diff --git a/config.jsonc b/config.jsonc index 67a3ebf4..36c3d577 100644 --- a/config.jsonc +++ b/config.jsonc @@ -103,6 +103,11 @@ "aliases": [], "categories": [] }, + "Basket Random": { + "path": "basket-random", + "aliases": [], + "categories": [] + }, "Basketball Stars": { "path": "basketball-stars", "aliases": [], diff --git a/games/basket-random/appmanifest.json b/games/basket-random/appmanifest.json new file mode 100644 index 00000000..bc6a9ef4 --- /dev/null +++ b/games/basket-random/appmanifest.json @@ -0,0 +1,10 @@ +{ + "name": "Basket Random", + "short_name": "Basket Random", + "description": "", + "start_url": "index.html", + "display": "fullscreen", + "orientation": "any", + "background_color": "#ffffff", + "icons": [] +} diff --git a/games/basket-random/box2d.wasm b/games/basket-random/box2d.wasm new file mode 100644 index 00000000..106566ad Binary files /dev/null and b/games/basket-random/box2d.wasm differ diff --git a/games/basket-random/box2d.wasm.js b/games/basket-random/box2d.wasm.js new file mode 100644 index 00000000..63e4298f --- /dev/null +++ b/games/basket-random/box2d.wasm.js @@ -0,0 +1,9925 @@ +self.Box2DWasmModule = function (Box2D) { + Box2D = Box2D || {}; + var Module = Box2D; + + var b; + b || (b = eval('(function() { try { return Box2D || {} } catch(e) { return {} } })()')); + var aa = {}, + ba; + for (ba in b) b.hasOwnProperty(ba) && (aa[ba] = b[ba]); + var ca = !1, + da = !1, + ea = !1, + fa = !1; + if (b.ENVIRONMENT) + if ('WEB' === b.ENVIRONMENT) ca = !0; + else if ('WORKER' === b.ENVIRONMENT) da = !0; + else if ('NODE' === b.ENVIRONMENT) ea = !0; + else if ('SHELL' === b.ENVIRONMENT) fa = !0; + else + throw Error( + "The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL." + ); + else + (ca = 'object' === typeof window), + (da = 'function' === typeof importScripts), + (ea = 'object' === typeof process && 'function' === typeof require && !ca && !da), + (fa = !ca && !ea && !da); + if (ea) { + b.print || (b.print = console.log); + b.printErr || (b.printErr = console.warn); + var ga, ha; + b.read = function (a, c) { + ga || (ga = require('fs')); + ha || (ha = require('path')); + a = ha.normalize(a); + var d = ga.readFileSync(a); + return c ? d : d.toString(); + }; + b.readBinary = function (a) { + a = b.read(a, !0); + a.buffer || (a = new Uint8Array(a)); + assert(a.buffer); + return a; + }; + b.load = function (a) { + ia(read(a)); + }; + b.thisProgram || + (b.thisProgram = + 1 < process.argv.length ? process.argv[1].replace(/\\/g, '/') : 'unknown-program'); + b.arguments = process.argv.slice(2); + 'undefined' !== typeof module && (module.exports = b); + process.on('uncaughtException', function (a) { + if (!(a instanceof ja)) throw a; + }); + b.inspect = function () { + return '[Emscripten Module object]'; + }; + } else if (fa) + b.print || (b.print = print), + 'undefined' != typeof printErr && (b.printErr = printErr), + (b.read = + 'undefined' != typeof read + ? read + : function () { + throw 'no read() available'; + }), + (b.readBinary = function (a) { + if ('function' === typeof readbuffer) return new Uint8Array(readbuffer(a)); + a = read(a, 'binary'); + assert('object' === typeof a); + return a; + }), + 'undefined' != typeof scriptArgs + ? (b.arguments = scriptArgs) + : 'undefined' != typeof arguments && (b.arguments = arguments), + 'function' === typeof quit && + (b.quit = function (a) { + quit(a); + }), + eval( + "if (typeof gc === 'function' && gc.toString().indexOf('[native code]') > 0) var gc = undefined" + ); + else if (ca || da) + (b.read = function (a) { + var c = new XMLHttpRequest(); + c.open('GET', a, !1); + c.send(null); + return c.responseText; + }), + da && + (b.readBinary = function (a) { + var c = new XMLHttpRequest(); + c.open('GET', a, !1); + c.responseType = 'arraybuffer'; + c.send(null); + return new Uint8Array(c.response); + }), + (b.readAsync = function (a, c, d) { + var e = new XMLHttpRequest(); + e.open('GET', a, !0); + e.responseType = 'arraybuffer'; + e.onload = function () { + 200 == e.status || (0 == e.status && e.response) ? c(e.response) : d(); + }; + e.onerror = d; + e.send(null); + }), + 'undefined' != typeof arguments && (b.arguments = arguments), + 'undefined' !== typeof console + ? (b.print || + (b.print = function (a) { + console.log(a); + }), + b.printErr || + (b.printErr = function (a) { + console.warn(a); + })) + : b.print || (b.print = function () {}), + da && (b.load = importScripts), + 'undefined' === typeof b.setWindowTitle && + (b.setWindowTitle = function (a) { + document.title = a; + }); + else throw 'Unknown runtime environment. Where are we?'; + function ia(a) { + eval.call(null, a); + } + !b.load && + b.read && + (b.load = function (a) { + ia(b.read(a)); + }); + b.print || (b.print = function () {}); + b.printErr || (b.printErr = b.print); + b.arguments || (b.arguments = []); + b.thisProgram || (b.thisProgram = './this.program'); + b.quit || + (b.quit = function (a, c) { + throw c; + }); + b.print = b.print; + b.h = b.printErr; + b.preRun = []; + b.postRun = []; + for (ba in aa) aa.hasOwnProperty(ba) && (b[ba] = aa[ba]); + var aa = void 0, + f = { + f: function (a) { + return (tempRet0 = a); + }, + H: function () { + return tempRet0; + }, + L: function () { + return ka; + }, + K: function (a) { + ka = a; + }, + s: function (a) { + switch (a) { + case 'i1': + case 'i8': + return 1; + case 'i16': + return 2; + case 'i32': + return 4; + case 'i64': + return 8; + case 'float': + return 4; + case 'double': + return 8; + default: + return '*' === a[a.length - 1] + ? f.j + : 'i' === a[0] + ? ((a = parseInt(a.substr(1))), assert(0 === a % 8), a / 8) + : 0; + } + }, + F: function (a) { + return Math.max(f.s(a), f.j); + }, + M: 16, + aa: function (a, c) { + 'double' === c || 'i64' === c + ? a & 7 && (assert(4 === (a & 7)), (a += 4)) + : assert(0 === (a & 3)); + return a; + }, + U: function (a, c, d) { + return d || ('i64' != a && 'double' != a) + ? a + ? Math.min(c || (a ? f.F(a) : 0), f.j) + : Math.min(c, 8) + : 8; + }, + l: function (a, c, d) { + return d && d.length + ? b['dynCall_' + a].apply(null, [c].concat(d)) + : b['dynCall_' + a].call(null, c); + }, + d: [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + v: function (a) { + for (var c = 0; c < f.d.length; c++) if (!f.d[c]) return (f.d[c] = a), 2 * (1 + c); + throw 'Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS.'; + }, + J: function (a) { + f.d[(a - 2) / 2] = null; + }, + g: function (a) { + f.g.n || (f.g.n = {}); + f.g.n[a] || ((f.g.n[a] = 1), b.h(a)); + }, + m: {}, + W: function (a, c) { + assert(c); + f.m[c] || (f.m[c] = {}); + var d = f.m[c]; + d[a] || + (d[a] = + 1 === c.length + ? function () { + return f.l(c, a); + } + : 2 === c.length + ? function (d) { + return f.l(c, a, [d]); + } + : function () { + return f.l(c, a, Array.prototype.slice.call(arguments)); + }); + return d[a]; + }, + V: function () { + throw 'You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work'; + }, + t: function (a) { + var c = ka; + ka = (ka + a) | 0; + ka = (ka + 15) & -16; + return c; + }, + u: function (a) { + var c = la; + la = (la + a) | 0; + la = (la + 15) & -16; + return c; + }, + D: function (a) { + var c = ma[oa >> 2]; + a = ((c + a + 15) | 0) & -16; + ma[oa >> 2] = a; + return a >= pa && !qa() ? ((ma[oa >> 2] = c), 0) : c; + }, + p: function (a, c) { + return Math.ceil(a / (c ? c : 16)) * (c ? c : 16); + }, + $: function (a, c, d) { + return d ? +(a >>> 0) + 4294967296 * +(c >>> 0) : +(a >>> 0) + 4294967296 * +(c | 0); + }, + i: 1024, + j: 4, + N: 0 + }; + f.addFunction = f.v; + f.removeFunction = f.J; + var ra = 0; + function assert(a, c) { + a || ta('Assertion failed: ' + c); + } + function ua(a) { + var c; + c = 'i32'; + '*' === c.charAt(c.length - 1) && (c = 'i32'); + switch (c) { + case 'i1': + return va[a >> 0]; + case 'i8': + return va[a >> 0]; + case 'i16': + return ya[a >> 1]; + case 'i32': + return ma[a >> 2]; + case 'i64': + return ma[a >> 2]; + case 'float': + return za[a >> 2]; + case 'double': + return Aa[a >> 3]; + default: + ta('invalid type for setValue: ' + c); + } + return null; + } + function Ba(a, c, d) { + var e, g, l; + 'number' === typeof a ? ((g = !0), (l = a)) : ((g = !1), (l = a.length)); + var m = 'string' === typeof c ? c : null, + D; + 4 == d + ? (D = e) + : (D = ['function' === typeof Ca ? Ca : f.u, f.t, f.u, f.D][void 0 === d ? 2 : d]( + Math.max(l, m ? 1 : c.length) + )); + if (g) { + e = D; + assert(0 == (D & 3)); + for (a = D + (l & -4); e < a; e += 4) ma[e >> 2] = 0; + for (a = D + l; e < a; ) va[e++ >> 0] = 0; + return D; + } + if ('i8' === m) return a.subarray || a.slice ? Da.set(a, D) : Da.set(new Uint8Array(a), D), D; + e = 0; + for (var na, wa; e < l; ) { + var G = a[e]; + 'function' === typeof G && (G = f.X(G)); + d = m || c[e]; + if (0 === d) e++; + else { + 'i64' == d && (d = 'i32'); + g = D + e; + var Ga = d, + Ga = Ga || 'i8'; + '*' === Ga.charAt(Ga.length - 1) && (Ga = 'i32'); + switch (Ga) { + case 'i1': + va[g >> 0] = G; + break; + case 'i8': + va[g >> 0] = G; + break; + case 'i16': + ya[g >> 1] = G; + break; + case 'i32': + ma[g >> 2] = G; + break; + case 'i64': + tempI64 = [ + G >>> 0, + ((tempDouble = G), + 1 <= +Ea(tempDouble) + ? 0 < tempDouble + ? (Fa(+Ha(tempDouble / 4294967296), 4294967295) | 0) >>> 0 + : ~~+Ia((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 + : 0) + ]; + ma[g >> 2] = tempI64[0]; + ma[(g + 4) >> 2] = tempI64[1]; + break; + case 'float': + za[g >> 2] = G; + break; + case 'double': + Aa[g >> 3] = G; + break; + default: + ta('invalid type for setValue: ' + Ga); + } + wa !== d && ((na = f.s(d)), (wa = d)); + e += na; + } + } + return D; + } + function Ja(a) { + var c; + if (0 === c || !a) return ''; + for (var d = 0, e, g = 0; ; ) { + e = Da[(a + g) >> 0]; + d |= e; + if (0 == e && !c) break; + g++; + if (c && g == c) break; + } + c || (c = g); + e = ''; + if (128 > d) { + for (; 0 < c; ) + (d = String.fromCharCode.apply(String, Da.subarray(a, a + Math.min(c, 1024)))), + (e = e ? e + d : d), + (a += 1024), + (c -= 1024); + return e; + } + return b.UTF8ToString(a); + } + var Ka = 'undefined' !== typeof TextDecoder ? new TextDecoder('utf8') : void 0; + function La(a, c, d, e) { + if (0 < e) { + e = d + e - 1; + for (var g = 0; g < a.length; ++g) { + var l = a.charCodeAt(g); + 55296 <= l && 57343 >= l && (l = (65536 + ((l & 1023) << 10)) | (a.charCodeAt(++g) & 1023)); + if (127 >= l) { + if (d >= e) break; + c[d++] = l; + } else { + if (2047 >= l) { + if (d + 1 >= e) break; + c[d++] = 192 | (l >> 6); + } else { + if (65535 >= l) { + if (d + 2 >= e) break; + c[d++] = 224 | (l >> 12); + } else { + if (2097151 >= l) { + if (d + 3 >= e) break; + c[d++] = 240 | (l >> 18); + } else { + if (67108863 >= l) { + if (d + 4 >= e) break; + c[d++] = 248 | (l >> 24); + } else { + if (d + 5 >= e) break; + c[d++] = 252 | (l >> 30); + c[d++] = 128 | ((l >> 24) & 63); + } + c[d++] = 128 | ((l >> 18) & 63); + } + c[d++] = 128 | ((l >> 12) & 63); + } + c[d++] = 128 | ((l >> 6) & 63); + } + c[d++] = 128 | (l & 63); + } + } + c[d] = 0; + } + } + function Oa(a) { + for (var c = 0, d = 0; d < a.length; ++d) { + var e = a.charCodeAt(d); + 55296 <= e && 57343 >= e && (e = (65536 + ((e & 1023) << 10)) | (a.charCodeAt(++d) & 1023)); + 127 >= e + ? ++c + : (c = + 2047 >= e + ? c + 2 + : 65535 >= e + ? c + 3 + : 2097151 >= e + ? c + 4 + : 67108863 >= e + ? c + 5 + : c + 6); + } + return c; + } + 'undefined' !== typeof TextDecoder && new TextDecoder('utf-16le'); + function Pa(a) { + return a.replace(/__Z[\w\d_]+/g, function (a) { + var d; + a: { + var e = b.___cxa_demangle || b.__cxa_demangle; + if (e) + try { + var g = a.substr(1), + l = Oa(g) + 1, + m = Ca(l); + La(g, Da, m, l); + var D = Ca(4), + na = e(m, 0, 0, D); + if (0 === ua(D) && na) { + d = Ja(na); + break a; + } + } catch (wa) { + } finally { + m && Qa(m), D && Qa(D), na && Qa(na); + } + else f.g('warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling'); + d = a; + } + return a === d ? a : a + ' [' + d + ']'; + }); + } + function Ra() { + var a; + a: { + a = Error(); + if (!a.stack) { + try { + throw Error(0); + } catch (c) { + a = c; + } + if (!a.stack) { + a = '(no stack trace available)'; + break a; + } + } + a = a.stack.toString(); + } + b.extraStackTrace && (a += '\n' + b.extraStackTrace()); + return Pa(a); + } + var Sa = 65536, + Ua = 16777216, + Va = 16777216; + function Wa(a, c) { + 0 < a % c && (a += c - (a % c)); + return a; + } + var buffer, va, Da, ya, Xa, ma, Ya, za, Aa; + function Za() { + b.HEAP8 = va = new Int8Array(buffer); + b.HEAP16 = ya = new Int16Array(buffer); + b.HEAP32 = ma = new Int32Array(buffer); + b.HEAPU8 = Da = new Uint8Array(buffer); + b.HEAPU16 = Xa = new Uint16Array(buffer); + b.HEAPU32 = Ya = new Uint32Array(buffer); + b.HEAPF32 = za = new Float32Array(buffer); + b.HEAPF64 = Aa = new Float64Array(buffer); + } + var $a, la, ab, ka, bb, cb, oa; + $a = la = ab = ka = bb = cb = oa = 0; + b.reallocBuffer || + (b.reallocBuffer = function (a) { + var c; + try { + if (ArrayBuffer.e) c = ArrayBuffer.e(buffer, a); + else { + var d = va; + c = new ArrayBuffer(a); + new Int8Array(c).set(d); + } + } catch (e) { + return !1; + } + return db(c) ? c : !1; + }); + function qa() { + var a = b.usingWasm ? Sa : Ua, + c = 2147483648 - a; + if (ma[oa >> 2] > c) return !1; + var d = pa; + for (pa = Math.max(pa, Va); pa < ma[oa >> 2]; ) + 536870912 >= pa ? (pa = Wa(2 * pa, a)) : (pa = Math.min(Wa((3 * pa + 2147483648) / 4, a), c)); + a = b.reallocBuffer(pa); + if (!a || a.byteLength != pa) return (pa = d), !1; + b.buffer = buffer = a; + Za(); + return !0; + } + var eb; + try { + (eb = Function.prototype.call.bind( + Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, 'byteLength').get + )), + eb(new ArrayBuffer(4)); + } catch (fb) { + eb = function (a) { + return a.byteLength; + }; + } + var gb = b.TOTAL_STACK || 5242880, + pa = b.TOTAL_MEMORY || 16777216; + pa < gb && + b.h('TOTAL_MEMORY should be larger than TOTAL_STACK, was ' + pa + '! (TOTAL_STACK=' + gb + ')'); + b.buffer + ? (buffer = b.buffer) + : 'object' === typeof WebAssembly && 'function' === typeof WebAssembly.Memory + ? ((b.wasmMemory = new WebAssembly.Memory({ initial: pa / Sa })), + (buffer = b.wasmMemory.buffer)) + : (buffer = new ArrayBuffer(pa)); + Za(); + ma[0] = 1668509029; + ya[1] = 25459; + if (115 !== Da[2] || 99 !== Da[3]) + throw 'Runtime error: expected the system to be little-endian!'; + b.HEAP = void 0; + b.buffer = buffer; + b.HEAP8 = va; + b.HEAP16 = ya; + b.HEAP32 = ma; + b.HEAPU8 = Da; + b.HEAPU16 = Xa; + b.HEAPU32 = Ya; + b.HEAPF32 = za; + b.HEAPF64 = Aa; + function hb(a) { + for (; 0 < a.length; ) { + var c = a.shift(); + if ('function' == typeof c) c(); + else { + var d = c.T; + 'number' === typeof d + ? void 0 === c.k + ? b.dynCall_v(d) + : b.dynCall_vi(d, c.k) + : d(void 0 === c.k ? null : c.k); + } + } + } + var ib = [], + jb = [], + kb = [], + nb = [], + ob = [], + pb = !1; + function qb() { + var a = b.preRun.shift(); + ib.unshift(a); + } + function rb(a) { + var c = Array(Oa(a) + 1); + La(a, c, 0, c.length); + return c; + } + (Math.imul && -5 === Math.imul(4294967295, 5)) || + (Math.imul = function (a, c) { + var d = a & 65535, + e = c & 65535; + return (d * e + (((a >>> 16) * e + d * (c >>> 16)) << 16)) | 0; + }); + Math.Y = Math.imul; + if (!Math.fround) { + var sb = new Float32Array(1); + Math.fround = function (a) { + sb[0] = a; + return sb[0]; + }; + } + Math.S = Math.fround; + Math.clz32 || + (Math.clz32 = function (a) { + a = a >>> 0; + for (var c = 0; 32 > c; c++) if (a & (1 << (31 - c))) return c; + return 32; + }); + Math.P = Math.clz32; + Math.trunc || + (Math.trunc = function (a) { + return 0 > a ? Math.ceil(a) : Math.floor(a); + }); + Math.trunc = Math.trunc; + var Ea = Math.abs, + Ia = Math.ceil, + Ha = Math.floor, + Fa = Math.min, + tb = 0, + vb = null, + wb = null; + function xb() { + tb++; + b.monitorRunDependencies && b.monitorRunDependencies(tb); + } + function yb() { + tb--; + b.monitorRunDependencies && b.monitorRunDependencies(tb); + if (0 == tb && (null !== vb && (clearInterval(vb), (vb = null)), wb)) { + var a = wb; + wb = null; + a(); + } + } + b.preloadedImages = {}; + b.preloadedAudios = {}; + var zb = null; + (function (a) { + function c(c) { + c = Wa(c, a.usingWasm ? Sa : Ua); + var d = a.buffer, + e = d.byteLength; + if (a.usingWasm) + try { + return -1 !== a.wasmMemory.grow((c - e) / 65536) + ? (a.buffer = a.wasmMemory.buffer) + : null; + } catch (g) { + return null; + } + else return lb.__growWasmMemory((c - e) / 65536), a.buffer !== d ? a.buffer : null; + } + function d(a, c) { + var d = Ta; + if (0 > a.indexOf('.')) d = (d || {})[a]; + else + var e = a.split('.'), + d = (d || {})[e[0]], + d = (d || {})[e[1]]; + c && (d = (d || {})[c]); + void 0 === d && ta('bad lookupImport to (' + a + ').' + c); + return d; + } + function e(c) { + var d = a.buffer; + c.byteLength < d.byteLength && + a.printErr( + 'the new buffer in mergeMemory is smaller than the previous one. in native wasm, we should grow memory here' + ); + var d = new Int8Array(d), + e = new Int8Array(c); + zb || d.set(e.subarray(a.STATIC_BASE, a.STATIC_BASE + a.STATIC_BUMP), a.STATIC_BASE); + e.set(d); + b.buffer = buffer = c; + Za(); + } + function g() { + try { + var c; + if (a.wasmBinary) (c = a.wasmBinary), (c = new Uint8Array(c)); + else if (a.readBinary) c = a.readBinary(G); + else + throw "on the web, we need the wasm binary to be preloaded and set on Module['wasmBinary']. emcc.py will do that for you when generating HTML (but not JS)"; + return c; + } catch (d) { + ta(d); + } + } + function l() { + return a.wasmBinary || 'function' !== typeof fetch + ? new Promise(function (a) { + a(g()); + }) + : fetch(G, { Q: 'same-origin' }).then(function (a) { + if (!a.ok) throw "failed to load wasm binary file at '" + G + "'"; + return a.arrayBuffer(); + }); + } + function m(c, d, e) { + if ('function' !== typeof a.asm || a.asm === Ma) + a.asmPreload ? (a.asm = a.asmPreload) : eval(a.read(Ga)); + return 'function' !== typeof a.asm + ? (a.printErr('asm evalling did not set the module properly'), !1) + : a.asm(c, d, e); + } + function D(c, d) { + function g(c) { + lb = c.exports; + lb.memory && e(lb.memory); + a.asm = lb; + a.usingWasm = !0; + yb(); + } + if ('object' !== typeof WebAssembly) return a.printErr('no native wasm support detected'), !1; + if (!(a.wasmMemory instanceof WebAssembly.Memory)) + return a.printErr('no native wasm Memory in use'), !1; + d.memory = a.wasmMemory; + Ta.global = { NaN: NaN, Infinity: Infinity }; + Ta['global.Math'] = c.Math; + Ta.env = d; + xb(); + if (a.instantiateWasm) + try { + return a.instantiateWasm(Ta, g); + } catch (m) { + return a.printErr('Module.instantiateWasm callback failed with error: ' + m), !1; + } + l() + .then(function (a) { + return WebAssembly.instantiate(a, Ta); + }) + .then(function (a) { + g(a.instance); + }) + .catch(function (c) { + a.printErr('failed to asynchronously prepare wasm: ' + c); + ta(c); + }); + return {}; + } + var na = a.wasmJSMethod || 'native-wasm'; + a.wasmJSMethod = na; + var wa = a.wasmTextFile || 'Box2D_v2.3.1_min.wasm.wast', + G = a.wasmBinaryFile || 'Box2D_v2.3.1_min.wasm.wasm', + Ga = a.asmjsCodeFile || 'Box2D_v2.3.1_min.wasm.temp.asm.js'; + 'function' === typeof a.locateFile && + ((wa = a.locateFile(wa)), (G = a.locateFile(G)), (Ga = a.locateFile(Ga))); + var Ta = { + global: null, + env: null, + asm2wasm: { + 'f64-rem': function (a, c) { + return a % c; + }, + 'f64-to-int': function (a) { + return a | 0; + }, + 'i32s-div': function (a, c) { + return ((a | 0) / (c | 0)) | 0; + }, + 'i32u-div': function (a, c) { + return ((a >>> 0) / (c >>> 0)) >>> 0; + }, + 'i32s-rem': function (a, c) { + return (a | 0) % (c | 0) | 0; + }, + 'i32u-rem': function (a, c) { + return (a >>> 0) % (c >>> 0) >>> 0; + }, + debugger: function () { + debugger; + } + }, + parent: a + }, + lb = null; + a.asmPreload = a.asm; + var ub = a.reallocBuffer; + a.reallocBuffer = function (a) { + return 'asmjs' === qc ? ub(a) : c(a); + }; + var qc = ''; + a.asm = function (c, l, G) { + if (!l.table) { + var Ma = a.wasmTableSize; + void 0 === Ma && (Ma = 1024); + var mb = a.wasmMaxTableSize; + l.table = + 'object' === typeof WebAssembly && 'function' === typeof WebAssembly.Table + ? void 0 !== mb + ? new WebAssembly.Table({ initial: Ma, maximum: mb, element: 'anyfunc' }) + : new WebAssembly.Table({ initial: Ma, element: 'anyfunc' }) + : Array(Ma); + a.wasmTable = l.table; + } + l.memoryBase || (l.memoryBase = a.STATIC_BASE); + l.tableBase || (l.tableBase = 0); + for (var V, Ma = na.split(','), mb = 0; mb < Ma.length; mb++) { + var sa = Ma[mb]; + qc = sa; + if ('native-wasm' === sa) { + if ((V = D(c, l))) break; + } else if ('asmjs' === sa) { + if ((V = m(c, l, G))) break; + } else if ( + 'interpret-asm2wasm' === sa || + 'interpret-s-expr' === sa || + 'interpret-binary' === sa + ) { + var Na = c, + xa = l, + ub = G; + if ('function' !== typeof WasmJS) + a.printErr('WasmJS not detected - polyfill not bundled?'), (sa = !1); + else { + V = WasmJS({}); + V.outside = a; + V.info = Ta; + V.lookupImport = d; + assert(ub === a.buffer); + Ta.global = Na; + Ta.env = xa; + assert(ub === a.buffer); + xa.memory = ub; + assert(xa.memory instanceof ArrayBuffer); + V.providedTotalMemory = a.buffer.byteLength; + Na = void 0; + Na = 'interpret-binary' === sa ? g() : a.read('interpret-asm2wasm' == sa ? Ga : wa); + xa = void 0; + if ('interpret-asm2wasm' == sa) + (xa = V._malloc(Na.length + 1)), V.writeAsciiToMemory(Na, xa), V._load_asm2wasm(xa); + else if ('interpret-s-expr' === sa) + (xa = V._malloc(Na.length + 1)), + V.writeAsciiToMemory(Na, xa), + V._load_s_expr2wasm(xa); + else if ('interpret-binary' === sa) + (xa = V._malloc(Na.length)), V.HEAPU8.set(Na, xa), V._load_binary2wasm(xa, Na.length); + else throw 'what? ' + sa; + V._free(xa); + V._instantiate(xa); + a.newBuffer && (e(a.newBuffer), (a.newBuffer = null)); + sa = lb = V.asmExports; + } + if ((V = sa)) break; + } else ta('bad method: ' + sa); + } + if (!V) + throw 'no binaryen method succeeded. consider enabling more options, like interpreting, if you want that: https://github.com/kripken/emscripten/wiki/WebAssembly#binaryen-methods'; + return V; + }; + var Ma = a.asm; + })(b); + var Ab = [ + function (a, c) { + var d = b.getCache(b.JSDestructionListener)[a]; + if (!d.hasOwnProperty('SayGoodbyeJoint')) + throw 'a JSImplementation must implement all functions, you forgot JSDestructionListener::SayGoodbyeJoint.'; + d.SayGoodbyeJoint(c); + }, + function (a, c) { + var d = b.getCache(b.JSDestructionListener)[a]; + if (!d.hasOwnProperty('SayGoodbyeFixture')) + throw 'a JSImplementation must implement all functions, you forgot JSDestructionListener::SayGoodbyeFixture.'; + d.SayGoodbyeFixture(c); + }, + function (a, c) { + var d = b.getCache(b.JSQueryCallback)[a]; + if (!d.hasOwnProperty('ReportFixture')) + throw 'a JSImplementation must implement all functions, you forgot JSQueryCallback::ReportFixture.'; + return d.ReportFixture(c); + }, + function (a, c, d, e, g) { + a = b.getCache(b.JSRayCastCallback)[a]; + if (!a.hasOwnProperty('ReportFixture')) + throw 'a JSImplementation must implement all functions, you forgot JSRayCastCallback::ReportFixture.'; + return a.ReportFixture(c, d, e, g); + }, + function (a, c) { + var d = b.getCache(b.JSContactListener)[a]; + if (!d.hasOwnProperty('BeginContact')) + throw 'a JSImplementation must implement all functions, you forgot JSContactListener::BeginContact.'; + d.BeginContact(c); + }, + function (a, c) { + var d = b.getCache(b.JSContactListener)[a]; + if (!d.hasOwnProperty('EndContact')) + throw 'a JSImplementation must implement all functions, you forgot JSContactListener::EndContact.'; + d.EndContact(c); + }, + function (a, c, d) { + a = b.getCache(b.JSContactListener)[a]; + if (!a.hasOwnProperty('PreSolve')) + throw 'a JSImplementation must implement all functions, you forgot JSContactListener::PreSolve.'; + a.PreSolve(c, d); + }, + function (a, c, d) { + a = b.getCache(b.JSContactListener)[a]; + if (!a.hasOwnProperty('PostSolve')) + throw 'a JSImplementation must implement all functions, you forgot JSContactListener::PostSolve.'; + a.PostSolve(c, d); + }, + function (a, c, d) { + a = b.getCache(b.JSContactFilter)[a]; + if (!a.hasOwnProperty('ShouldCollide')) + throw 'a JSImplementation must implement all functions, you forgot JSContactFilter::ShouldCollide.'; + return a.ShouldCollide(c, d); + }, + function (a, c, d, e) { + a = b.getCache(b.JSDraw)[a]; + if (!a.hasOwnProperty('DrawPolygon')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawPolygon.'; + a.DrawPolygon(c, d, e); + }, + function (a, c, d, e) { + a = b.getCache(b.JSDraw)[a]; + if (!a.hasOwnProperty('DrawSolidPolygon')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawSolidPolygon.'; + a.DrawSolidPolygon(c, d, e); + }, + function (a, c, d, e) { + a = b.getCache(b.JSDraw)[a]; + if (!a.hasOwnProperty('DrawCircle')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawCircle.'; + a.DrawCircle(c, d, e); + }, + function (a, c, d, e, g) { + a = b.getCache(b.JSDraw)[a]; + if (!a.hasOwnProperty('DrawSolidCircle')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawSolidCircle.'; + a.DrawSolidCircle(c, d, e, g); + }, + function (a, c, d, e) { + a = b.getCache(b.JSDraw)[a]; + if (!a.hasOwnProperty('DrawSegment')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawSegment.'; + a.DrawSegment(c, d, e); + }, + function (a, c) { + var d = b.getCache(b.JSDraw)[a]; + if (!d.hasOwnProperty('DrawTransform')) + throw 'a JSImplementation must implement all functions, you forgot JSDraw::DrawTransform.'; + d.DrawTransform(c); + } + ]; + $a = f.i; + la = $a + 23264; + jb.push(); + zb = + 0 <= b.wasmJSMethod.indexOf('asmjs') || 0 <= b.wasmJSMethod.indexOf('interpret-asm2wasm') + ? 'Box2D_v2.3.1_min.wasm.js.mem' + : null; + b.STATIC_BASE = $a; + b.STATIC_BUMP = 23264; + var Bb = la; + la += 16; + b._memset = Cb; + function Db() { + return !!Db.e; + } + var Eb = 0, + Fb = [], + Gb = {}; + function Hb(a, c) { + Hb.e || (Hb.e = {}); + a in Hb.e || (b.dynCall_v(c), (Hb.e[a] = 1)); + } + b._memcpy = Ib; + var Jb = 0; + function Kb() { + Jb += 4; + return ma[(Jb - 4) >> 2]; + } + var Lb = {}, + Mb = {}; + b._sbrk = Nb; + var Ob = 1; + function Pb() { + var a = Eb; + if (!a) return (f.f(0), 0) | 0; + var c = Gb[a], + d = c.type; + if (!d) return (f.f(0), a) | 0; + var e = Array.prototype.slice.call(arguments); + b.___cxa_is_pointer_type(d); + Pb.buffer || (Pb.buffer = Ca(4)); + ma[Pb.buffer >> 2] = a; + for (var a = Pb.buffer, g = 0; g < e.length; g++) + if (e[g] && b.___cxa_can_catch(e[g], d, a)) + return (a = ma[a >> 2]), (c.w = a), (f.f(e[g]), a) | 0; + a = ma[a >> 2]; + return (f.f(d), a) | 0; + } + b._llvm_bswap_i32 = Qb; + function Rb(a, c) { + Jb = c; + try { + var d = Kb(), + e = Kb(), + g = Kb(), + l = 0; + Rb.buffer || + ((Rb.e = [null, [], []]), + (Rb.q = function (a, c) { + var d = Rb.e[a]; + assert(d); + if (0 === c || 10 === c) { + var e = 1 === a ? b.print : b.printErr, + g; + a: { + for (var l = (g = 0); d[l]; ) ++l; + if (16 < l - g && d.subarray && Ka) g = Ka.decode(d.subarray(g, l)); + else + for (var m, D, G, na, wa, V, l = ''; ; ) { + m = d[g++]; + if (!m) { + g = l; + break a; + } + m & 128 + ? ((D = d[g++] & 63), + 192 == (m & 224) + ? (l += String.fromCharCode(((m & 31) << 6) | D)) + : ((G = d[g++] & 63), + 224 == (m & 240) + ? (m = ((m & 15) << 12) | (D << 6) | G) + : ((na = d[g++] & 63), + 240 == (m & 248) + ? (m = ((m & 7) << 18) | (D << 12) | (G << 6) | na) + : ((wa = d[g++] & 63), + 248 == (m & 252) + ? (m = ((m & 3) << 24) | (D << 18) | (G << 12) | (na << 6) | wa) + : ((V = d[g++] & 63), + (m = + ((m & 1) << 30) | + (D << 24) | + (G << 18) | + (na << 12) | + (wa << 6) | + V)))), + 65536 > m + ? (l += String.fromCharCode(m)) + : ((m -= 65536), + (l += String.fromCharCode(55296 | (m >> 10), 56320 | (m & 1023)))))) + : (l += String.fromCharCode(m)); + } + } + e(g); + d.length = 0; + } else d.push(c); + })); + for (var m = 0; m < g; m++) { + for (var D = ma[(e + 8 * m) >> 2], na = ma[(e + (8 * m + 4)) >> 2], wa = 0; wa < na; wa++) + Rb.q(d, Da[D + wa]); + l += na; + } + return l; + } catch (G) { + return ('undefined' !== typeof FS && G instanceof FS.o) || ta(G), -G.r; + } + } + nb.push(function () { + var a = b._fflush; + a && a(0); + if ((a = Rb.q)) { + var c = Rb.e; + c[1].length && a(1, 10); + c[2].length && a(2, 10); + } + }); + oa = Ba(1, 'i32', 2); + ab = ka = f.p(la); + bb = ab + gb; + cb = f.p(bb); + ma[oa >> 2] = cb; + b.wasmTableSize = 1152; + b.wasmMaxTableSize = 1152; + b.A = { + Math: Math, + Int8Array: Int8Array, + Int16Array: Int16Array, + Int32Array: Int32Array, + Uint8Array: Uint8Array, + Uint16Array: Uint16Array, + Uint32Array: Uint32Array, + Float32Array: Float32Array, + Float64Array: Float64Array, + NaN: NaN, + Infinity: Infinity, + byteLength: eb + }; + b.B = { + abort: ta, + assert: assert, + enlargeMemory: qa, + getTotalMemory: function () { + return pa; + }, + abortOnCannotGrowMemory: function () { + ta( + 'Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value ' + + pa + + ', (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ' + ); + }, + invoke_iiii: function (a, c, d, e) { + try { + return b.dynCall_iiii(a, c, d, e); + } catch (g) { + if ('number' !== typeof g && 'longjmp' !== g) throw g; + b.setThrew(1, 0); + } + }, + jsCall_iiii: function (a, c, d, e) { + return f.d[a](c, d, e); + }, + invoke_viifii: function (a, c, d, e, g, l) { + try { + b.dynCall_viifii(a, c, d, e, g, l); + } catch (m) { + if ('number' !== typeof m && 'longjmp' !== m) throw m; + b.setThrew(1, 0); + } + }, + jsCall_viifii: function (a, c, d, e, g, l) { + f.d[a](c, d, e, g, l); + }, + invoke_viiiii: function (a, c, d, e, g, l) { + try { + b.dynCall_viiiii(a, c, d, e, g, l); + } catch (m) { + if ('number' !== typeof m && 'longjmp' !== m) throw m; + b.setThrew(1, 0); + } + }, + jsCall_viiiii: function (a, c, d, e, g, l) { + f.d[a](c, d, e, g, l); + }, + invoke_vi: function (a, c) { + try { + b.dynCall_vi(a, c); + } catch (d) { + if ('number' !== typeof d && 'longjmp' !== d) throw d; + b.setThrew(1, 0); + } + }, + jsCall_vi: function (a, c) { + f.d[a](c); + }, + invoke_vii: function (a, c, d) { + try { + b.dynCall_vii(a, c, d); + } catch (e) { + if ('number' !== typeof e && 'longjmp' !== e) throw e; + b.setThrew(1, 0); + } + }, + jsCall_vii: function (a, c, d) { + f.d[a](c, d); + }, + invoke_ii: function (a, c) { + try { + return b.dynCall_ii(a, c); + } catch (d) { + if ('number' !== typeof d && 'longjmp' !== d) throw d; + b.setThrew(1, 0); + } + }, + jsCall_ii: function (a, c) { + return f.d[a](c); + }, + invoke_fif: function (a, c, d) { + try { + return b.dynCall_fif(a, c, d); + } catch (e) { + if ('number' !== typeof e && 'longjmp' !== e) throw e; + b.setThrew(1, 0); + } + }, + jsCall_fif: function (a, c, d) { + return f.d[a](c, d); + }, + invoke_viii: function (a, c, d, e) { + try { + b.dynCall_viii(a, c, d, e); + } catch (g) { + if ('number' !== typeof g && 'longjmp' !== g) throw g; + b.setThrew(1, 0); + } + }, + jsCall_viii: function (a, c, d, e) { + f.d[a](c, d, e); + }, + invoke_viifi: function (a, c, d, e, g) { + try { + b.dynCall_viifi(a, c, d, e, g); + } catch (l) { + if ('number' !== typeof l && 'longjmp' !== l) throw l; + b.setThrew(1, 0); + } + }, + jsCall_viifi: function (a, c, d, e, g) { + f.d[a](c, d, e, g); + }, + invoke_v: function (a) { + try { + b.dynCall_v(a); + } catch (c) { + if ('number' !== typeof c && 'longjmp' !== c) throw c; + b.setThrew(1, 0); + } + }, + jsCall_v: function (a) { + f.d[a](); + }, + invoke_viif: function (a, c, d, e) { + try { + b.dynCall_viif(a, c, d, e); + } catch (g) { + if ('number' !== typeof g && 'longjmp' !== g) throw g; + b.setThrew(1, 0); + } + }, + jsCall_viif: function (a, c, d, e) { + f.d[a](c, d, e); + }, + invoke_viiiiii: function (a, c, d, e, g, l, m) { + try { + b.dynCall_viiiiii(a, c, d, e, g, l, m); + } catch (D) { + if ('number' !== typeof D && 'longjmp' !== D) throw D; + b.setThrew(1, 0); + } + }, + jsCall_viiiiii: function (a, c, d, e, g, l, m) { + f.d[a](c, d, e, g, l, m); + }, + invoke_iii: function (a, c, d) { + try { + return b.dynCall_iii(a, c, d); + } catch (e) { + if ('number' !== typeof e && 'longjmp' !== e) throw e; + b.setThrew(1, 0); + } + }, + jsCall_iii: function (a, c, d) { + return f.d[a](c, d); + }, + invoke_iiiiii: function (a, c, d, e, g, l) { + try { + return b.dynCall_iiiiii(a, c, d, e, g, l); + } catch (m) { + if ('number' !== typeof m && 'longjmp' !== m) throw m; + b.setThrew(1, 0); + } + }, + jsCall_iiiiii: function (a, c, d, e, g, l) { + return f.d[a](c, d, e, g, l); + }, + invoke_fiiiif: function (a, c, d, e, g, l) { + try { + return b.dynCall_fiiiif(a, c, d, e, g, l); + } catch (m) { + if ('number' !== typeof m && 'longjmp' !== m) throw m; + b.setThrew(1, 0); + } + }, + jsCall_fiiiif: function (a, c, d, e, g, l) { + return f.d[a](c, d, e, g, l); + }, + invoke_viiii: function (a, c, d, e, g) { + try { + b.dynCall_viiii(a, c, d, e, g); + } catch (l) { + if ('number' !== typeof l && 'longjmp' !== l) throw l; + b.setThrew(1, 0); + } + }, + jsCall_viiii: function (a, c, d, e, g) { + f.d[a](c, d, e, g); + }, + _emscripten_asm_const_iiiii: function (a, c, d, e, g) { + return Ab[a](c, d, e, g); + }, + _emscripten_asm_const_diiiid: function (a, c, d, e, g, l) { + return Ab[a](c, d, e, g, l); + }, + _pthread_key_create: function (a) { + if (0 == a) return 22; + ma[a >> 2] = Ob; + Mb[Ob] = 0; + Ob++; + return 0; + }, + _abort: function () { + b.abort(); + }, + ___gxx_personality_v0: function () {}, + _emscripten_asm_const_iiidii: function (a, c, d, e, g, l) { + return Ab[a](c, d, e, g, l); + }, + ___assert_fail: function (a, c, d, e) { + ra = !0; + throw ( + 'Assertion failed: ' + + Ja(a) + + ', at: ' + + [c ? Ja(c) : 'unknown filename', d, e ? Ja(e) : 'unknown function'] + + ' at ' + + Ra() + ); + }, + __ZSt18uncaught_exceptionv: Db, + ___setErrNo: function (a) { + b.___errno_location && (ma[b.___errno_location() >> 2] = a); + return a; + }, + ___cxa_begin_catch: function (a) { + var c = Gb[a]; + c && !c.C && ((c.C = !0), Db.e--); + c && (c.da = !1); + Fb.push(a); + a: { + if (a && !Gb[a]) + for (var d in Gb) + if (Gb[d].w === a) { + c = d; + break a; + } + c = a; + } + c && Gb[c].ba++; + return a; + }, + _emscripten_memcpy_big: function (a, c, d) { + Da.set(Da.subarray(c, c + d), a); + return a; + }, + ___resumeException: function (a) { + Eb || (Eb = a); + throw ( + a + + ' - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.' + ); + }, + ___cxa_find_matching_catch: Pb, + _pthread_getspecific: function (a) { + return Mb[a] || 0; + }, + _pthread_once: Hb, + ___syscall54: function (a, c) { + Jb = c; + return 0; + }, + _emscripten_asm_const_iii: function (a, c, d) { + return Ab[a](c, d); + }, + _emscripten_asm_const_iiidi: function (a, c, d, e, g) { + return Ab[a](c, d, e, g); + }, + _pthread_setspecific: function (a, c) { + if (!(a in Mb)) return 22; + Mb[a] = c; + return 0; + }, + _emscripten_asm_const_iiii: function (a, c, d, e) { + return Ab[a](c, d, e); + }, + ___syscall6: function (a, c) { + Jb = c; + try { + var d = Lb.G(); + FS.close(d); + return 0; + } catch (e) { + return ('undefined' !== typeof FS && e instanceof FS.o) || ta(e), -e.r; + } + }, + ___syscall140: function (a, c) { + Jb = c; + try { + var d = Lb.G(); + Kb(); + var e = Kb(), + g = Kb(), + l = Kb(); + FS.Z(d, e, l); + ma[g >> 2] = d.position; + d.I && 0 === e && 0 === l && (d.I = null); + return 0; + } catch (m) { + return ('undefined' !== typeof FS && m instanceof FS.o) || ta(m), -m.r; + } + }, + ___cxa_pure_virtual: function () { + ra = !0; + throw 'Pure virtual function called!'; + }, + ___syscall146: Rb, + DYNAMICTOP_PTR: oa, + tempDoublePtr: Bb, + ABORT: ra, + STACKTOP: ka, + STACK_MAX: bb + }; + var Sb = b.asm(b.A, b.B, buffer); + b.asm = Sb; + var Tb = (b._emscripten_bind_b2WheelJoint_GetSpringDampingRatio_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetSpringDampingRatio_0.apply(null, arguments); + }), + Ub = (b._emscripten_bind_b2ContactEdge_set_next_1 = function () { + return b.asm._emscripten_bind_b2ContactEdge_set_next_1.apply(null, arguments); + }), + Vb = (b._emscripten_bind_b2ChainShape_get_m_count_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_count_0.apply(null, arguments); + }), + Wb = (b._emscripten_bind_b2PrismaticJointDef_get_motorSpeed_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_motorSpeed_0.apply(null, arguments); + }), + Xb = (b._emscripten_bind_b2PulleyJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_SetUserData_1.apply(null, arguments); + }), + Yb = (b._emscripten_bind_b2Shape_ComputeAABB_3 = function () { + return b.asm._emscripten_bind_b2Shape_ComputeAABB_3.apply(null, arguments); + }), + Zb = (b._emscripten_bind_b2FrictionJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_userData_1.apply(null, arguments); + }), + $b = (b._emscripten_bind_b2MouseJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_IsActive_0.apply(null, arguments); + }), + ac = (b._emscripten_bind_b2World_IsLocked_0 = function () { + return b.asm._emscripten_bind_b2World_IsLocked_0.apply(null, arguments); + }), + bc = (b._emscripten_bind_b2Draw_GetFlags_0 = function () { + return b.asm._emscripten_bind_b2Draw_GetFlags_0.apply(null, arguments); + }), + cc = (b._emscripten_bind_b2FrictionJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_IsActive_0.apply(null, arguments); + }), + dc = (b._emscripten_bind_b2Color_set_g_1 = function () { + return b.asm._emscripten_bind_b2Color_set_g_1.apply(null, arguments); + }), + ec = (b._emscripten_bind_b2PolygonShape_RayCast_4 = function () { + return b.asm._emscripten_bind_b2PolygonShape_RayCast_4.apply(null, arguments); + }), + fc = (b._emscripten_bind_b2World_GetTreeBalance_0 = function () { + return b.asm._emscripten_bind_b2World_GetTreeBalance_0.apply(null, arguments); + }), + gc = (b._emscripten_bind_b2ChainShape_get_m_vertices_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_vertices_0.apply(null, arguments); + }), + hc = (b._emscripten_bind_JSDraw_DrawSolidCircle_4 = function () { + return b.asm._emscripten_bind_JSDraw_DrawSolidCircle_4.apply(null, arguments); + }), + ic = (b._emscripten_bind_b2RevoluteJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + jc = (b._emscripten_bind_b2FixtureDef_get_filter_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_filter_0.apply(null, arguments); + }), + kc = (b._emscripten_bind_b2FrictionJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_type_0.apply(null, arguments); + }), + lc = (b._emscripten_bind_b2MotorJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_type_1.apply(null, arguments); + }), + mc = (b._emscripten_bind_b2FixtureDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_userData_1.apply(null, arguments); + }), + nc = (b._emscripten_bind_b2EdgeShape_set_m_hasVertex3_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_hasVertex3_1.apply(null, arguments); + }), + oc = (b._emscripten_bind_b2JointEdge_set_joint_1 = function () { + return b.asm._emscripten_bind_b2JointEdge_set_joint_1.apply(null, arguments); + }), + pc = (b._emscripten_bind_b2Fixture___destroy___0 = function () { + return b.asm._emscripten_bind_b2Fixture___destroy___0.apply(null, arguments); + }), + rc = (b._emscripten_bind_b2World_SetWarmStarting_1 = function () { + return b.asm._emscripten_bind_b2World_SetWarmStarting_1.apply(null, arguments); + }), + sc = (b._emscripten_bind_JSDraw_DrawCircle_3 = function () { + return b.asm._emscripten_bind_JSDraw_DrawCircle_3.apply(null, arguments); + }), + tc = (b._emscripten_bind_b2WeldJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_IsActive_0.apply(null, arguments); + }), + uc = (b._emscripten_bind_b2DestructionListener___destroy___0 = function () { + return b.asm._emscripten_bind_b2DestructionListener___destroy___0.apply(null, arguments); + }), + vc = (b._emscripten_bind_b2BodyDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_type_1.apply(null, arguments); + }), + wc = (b._emscripten_bind_b2ChainShape_ComputeAABB_3 = function () { + return b.asm._emscripten_bind_b2ChainShape_ComputeAABB_3.apply(null, arguments); + }), + xc = (b._emscripten_bind_b2PulleyJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetUserData_0.apply(null, arguments); + }), + yc = (b._emscripten_bind_b2WeldJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetReactionTorque_1.apply(null, arguments); + }), + zc = (b._emscripten_bind_b2MotorJointDef_get_maxForce_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_maxForce_0.apply(null, arguments); + }), + Ac = (b._emscripten_bind_b2DistanceJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_userData_0.apply(null, arguments); + }), + Bc = (b._emscripten_bind_b2BodyDef_get_position_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_position_0.apply(null, arguments); + }), + Cc = (b._emscripten_bind_b2RevoluteJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_userData_1.apply(null, arguments); + }), + Dc = (b._emscripten_bind_b2WorldManifold_b2WorldManifold_0 = function () { + return b.asm._emscripten_bind_b2WorldManifold_b2WorldManifold_0.apply(null, arguments); + }), + Ec = (b._emscripten_bind_b2WheelJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_collideConnected_0.apply(null, arguments); + }), + Fc = (b._emscripten_bind_b2MouseJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_userData_1.apply(null, arguments); + }); + b.stackSave = function () { + return b.asm.stackSave.apply(null, arguments); + }; + var Gc = (b._emscripten_bind_b2FixtureDef_set_restitution_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_restitution_1.apply(null, arguments); + }), + Hc = (b._emscripten_bind_b2RevoluteJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetUserData_0.apply(null, arguments); + }), + Ic = (b._emscripten_bind_b2Mat33_get_ey_0 = function () { + return b.asm._emscripten_bind_b2Mat33_get_ey_0.apply(null, arguments); + }), + Jc = (b._emscripten_bind_b2MouseJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetCollideConnected_0.apply(null, arguments); + }), + Kc = (b._emscripten_bind_b2World_GetGravity_0 = function () { + return b.asm._emscripten_bind_b2World_GetGravity_0.apply(null, arguments); + }), + Lc = (b._emscripten_bind_b2Mat33_set_ey_1 = function () { + return b.asm._emscripten_bind_b2Mat33_set_ey_1.apply(null, arguments); + }), + Mc = (b._emscripten_bind_b2Profile_get_broadphase_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_broadphase_0.apply(null, arguments); + }), + Nc = (b._emscripten_bind_b2PulleyJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_bodyA_0.apply(null, arguments); + }), + Oc = (b._emscripten_bind_b2PrismaticJoint_SetLimits_2 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_SetLimits_2.apply(null, arguments); + }), + Pc = (b._emscripten_bind_b2PulleyJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_localAnchorA_0.apply(null, arguments); + }), + Qc = (b._emscripten_bind_b2DistanceJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetAnchorA_0.apply(null, arguments); + }), + Rc = (b._emscripten_bind_b2DistanceJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_userData_1.apply(null, arguments); + }), + Sc = (b._emscripten_bind_b2DistanceJointDef_set_dampingRatio_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_dampingRatio_1.apply(null, arguments); + }), + Tc = (b._emscripten_bind_b2RopeJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_collideConnected_1.apply(null, arguments); + }), + Uc = (b._emscripten_bind_b2ChainShape_set_m_nextVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_nextVertex_1.apply(null, arguments); + }), + Vc = (b._emscripten_bind_JSContactListener_EndContact_1 = function () { + return b.asm._emscripten_bind_JSContactListener_EndContact_1.apply(null, arguments); + }), + Wc = (b._emscripten_bind_b2MassData_set_mass_1 = function () { + return b.asm._emscripten_bind_b2MassData_set_mass_1.apply(null, arguments); + }), + Xc = (b._emscripten_bind_b2Vec3_get_x_0 = function () { + return b.asm._emscripten_bind_b2Vec3_get_x_0.apply(null, arguments); + }), + Yc = (b._emscripten_bind_b2ChainShape_CreateChain_2 = function () { + return b.asm._emscripten_bind_b2ChainShape_CreateChain_2.apply(null, arguments); + }), + Zc = (b._emscripten_bind_b2RopeJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetUserData_0.apply(null, arguments); + }), + $c = (b._emscripten_bind_b2World_DestroyBody_1 = function () { + return b.asm._emscripten_bind_b2World_DestroyBody_1.apply(null, arguments); + }), + ad = (b._emscripten_bind_b2Profile_get_solvePosition_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_solvePosition_0.apply(null, arguments); + }), + bd = (b._emscripten_bind_b2Shape_RayCast_4 = function () { + return b.asm._emscripten_bind_b2Shape_RayCast_4.apply(null, arguments); + }), + cd = (b._emscripten_bind_b2PulleyJoint_GetGroundAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetGroundAnchorA_0.apply(null, arguments); + }), + dd = (b._emscripten_bind_b2Mat33___destroy___0 = function () { + return b.asm._emscripten_bind_b2Mat33___destroy___0.apply(null, arguments); + }), + ed = (b._emscripten_bind_b2GearJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetReactionTorque_1.apply(null, arguments); + }), + fd = (b._emscripten_bind_b2WeldJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_collideConnected_1.apply(null, arguments); + }), + gd = (b._emscripten_bind_b2JointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2JointDef_get_collideConnected_0.apply(null, arguments); + }); + b.getTempRet0 = function () { + return b.asm.getTempRet0.apply(null, arguments); + }; + var hd = (b._emscripten_bind_b2FrictionJointDef_get_maxTorque_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_maxTorque_0.apply(null, arguments); + }), + id = (b._emscripten_bind_JSQueryCallback_JSQueryCallback_0 = function () { + return b.asm._emscripten_bind_JSQueryCallback_JSQueryCallback_0.apply(null, arguments); + }), + jd = (b._emscripten_bind_b2World_SetAutoClearForces_1 = function () { + return b.asm._emscripten_bind_b2World_SetAutoClearForces_1.apply(null, arguments); + }), + kd = (b._emscripten_bind_b2PrismaticJointDef_set_lowerTranslation_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_lowerTranslation_1.apply( + null, + arguments + ); + }), + ld = (b._emscripten_bind_b2Contact_GetTangentSpeed_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetTangentSpeed_0.apply(null, arguments); + }), + md = (b._emscripten_bind_b2BodyDef_set_position_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_position_1.apply(null, arguments); + }), + nd = (b._emscripten_bind_b2Transform_get_q_0 = function () { + return b.asm._emscripten_bind_b2Transform_get_q_0.apply(null, arguments); + }), + od = (b._emscripten_bind_b2PolygonShape_set_m_count_1 = function () { + return b.asm._emscripten_bind_b2PolygonShape_set_m_count_1.apply(null, arguments); + }), + pd = (b._emscripten_bind_b2Contact_GetNext_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetNext_0.apply(null, arguments); + }), + qd = (b._emscripten_bind_b2MotorJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_userData_1.apply(null, arguments); + }), + rd = (b._emscripten_bind_b2GearJoint_GetJoint1_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetJoint1_0.apply(null, arguments); + }), + sd = (b._emscripten_bind_b2World_GetProxyCount_0 = function () { + return b.asm._emscripten_bind_b2World_GetProxyCount_0.apply(null, arguments); + }), + td = (b._emscripten_bind_b2MotorJoint_SetMaxTorque_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetMaxTorque_1.apply(null, arguments); + }), + ud = (b._emscripten_bind_b2GearJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetAnchorA_0.apply(null, arguments); + }), + vd = (b._emscripten_bind_b2MouseJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_bodyA_1.apply(null, arguments); + }), + wd = (b._emscripten_bind_b2World_SetContactListener_1 = function () { + return b.asm._emscripten_bind_b2World_SetContactListener_1.apply(null, arguments); + }), + xd = (b._emscripten_bind_b2Body_IsAwake_0 = function () { + return b.asm._emscripten_bind_b2Body_IsAwake_0.apply(null, arguments); + }), + yd = (b._emscripten_bind_b2JointEdge_set_other_1 = function () { + return b.asm._emscripten_bind_b2JointEdge_set_other_1.apply(null, arguments); + }), + zd = (b._emscripten_bind_b2MouseJointDef_set_target_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_target_1.apply(null, arguments); + }), + db = (b._emscripten_replace_memory = function () { + return b.asm._emscripten_replace_memory.apply(null, arguments); + }), + Ad = (b._emscripten_bind_b2MotorJoint_SetCorrectionFactor_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetCorrectionFactor_1.apply(null, arguments); + }), + Bd = (b._emscripten_bind_b2FixtureDef_get_density_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_density_0.apply(null, arguments); + }), + Cd = (b._emscripten_bind_b2GearJoint_GetRatio_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetRatio_0.apply(null, arguments); + }), + Dd = (b._emscripten_bind_b2PrismaticJointDef_get_upperTranslation_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_upperTranslation_0.apply( + null, + arguments + ); + }), + Ed = (b._emscripten_bind_b2RevoluteJoint_GetReferenceAngle_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetReferenceAngle_0.apply(null, arguments); + }), + Fd = (b._emscripten_bind_b2MotorJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_collideConnected_0.apply(null, arguments); + }), + Gd = (b._emscripten_enum_b2ManifoldType_e_circles = function () { + return b.asm._emscripten_enum_b2ManifoldType_e_circles.apply(null, arguments); + }), + Hd = (b._emscripten_bind_b2PulleyJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_localAnchorB_1.apply(null, arguments); + }), + Id = (b._emscripten_bind_b2RevoluteJointDef_Initialize_3 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_Initialize_3.apply(null, arguments); + }), + Jd = (b._emscripten_bind_b2FixtureDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_userData_0.apply(null, arguments); + }), + Kd = (b._emscripten_bind_b2DistanceJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetUserData_0.apply(null, arguments); + }), + Ld = (b._emscripten_bind_b2FrictionJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_collideConnected_1.apply( + null, + arguments + ); + }), + Md = (b._emscripten_bind_b2PrismaticJointDef_get_lowerTranslation_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_lowerTranslation_0.apply( + null, + arguments + ); + }), + Nd = (b._emscripten_bind_b2GearJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetCollideConnected_0.apply(null, arguments); + }), + Od = (b._emscripten_bind_b2Filter_b2Filter_0 = function () { + return b.asm._emscripten_bind_b2Filter_b2Filter_0.apply(null, arguments); + }), + Pd = (b._emscripten_bind_b2MouseJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_type_1.apply(null, arguments); + }), + Qd = (b._emscripten_bind_b2Body_ApplyAngularImpulse_2 = function () { + return b.asm._emscripten_bind_b2Body_ApplyAngularImpulse_2.apply(null, arguments); + }), + Rd = (b._emscripten_enum_b2JointType_e_frictionJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_frictionJoint.apply(null, arguments); + }), + Sd = (b._emscripten_bind_b2RayCastOutput_set_fraction_1 = function () { + return b.asm._emscripten_bind_b2RayCastOutput_set_fraction_1.apply(null, arguments); + }), + Td = (b._emscripten_bind_b2Color_set_r_1 = function () { + return b.asm._emscripten_bind_b2Color_set_r_1.apply(null, arguments); + }), + Ud = (b._emscripten_bind_b2DistanceJointDef_get_length_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_length_0.apply(null, arguments); + }), + Vd = (b._emscripten_bind_b2PulleyJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetBodyB_0.apply(null, arguments); + }), + Wd = (b._emscripten_bind_b2WheelJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_type_1.apply(null, arguments); + }), + Xd = (b._emscripten_bind_b2World_GetTreeQuality_0 = function () { + return b.asm._emscripten_bind_b2World_GetTreeQuality_0.apply(null, arguments); + }), + Yd = (b._emscripten_bind_b2BodyDef_set_gravityScale_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_gravityScale_1.apply(null, arguments); + }), + Zd = (b._emscripten_bind_b2RopeJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_bodyB_1.apply(null, arguments); + }), + $d = (b._emscripten_bind_b2PrismaticJoint_GetLowerLimit_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetLowerLimit_0.apply(null, arguments); + }), + ae = (b._emscripten_bind_b2AABB_get_lowerBound_0 = function () { + return b.asm._emscripten_bind_b2AABB_get_lowerBound_0.apply(null, arguments); + }), + be = (b._emscripten_bind_b2WheelJoint_SetMotorSpeed_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_SetMotorSpeed_1.apply(null, arguments); + }), + ce = (b._emscripten_bind_b2PrismaticJointDef_get_referenceAngle_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_referenceAngle_0.apply(null, arguments); + }), + de = (b._emscripten_bind_b2Body_SetMassData_1 = function () { + return b.asm._emscripten_bind_b2Body_SetMassData_1.apply(null, arguments); + }), + ee = (b._emscripten_bind_b2BodyDef_get_angularVelocity_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_angularVelocity_0.apply(null, arguments); + }), + fe = (b._emscripten_bind_b2WeldJoint_SetDampingRatio_1 = function () { + return b.asm._emscripten_bind_b2WeldJoint_SetDampingRatio_1.apply(null, arguments); + }), + ge = (b._emscripten_bind_b2PrismaticJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef___destroy___0.apply(null, arguments); + }), + he = (b._emscripten_bind_b2Contact_IsTouching_0 = function () { + return b.asm._emscripten_bind_b2Contact_IsTouching_0.apply(null, arguments); + }), + ie = (b._emscripten_bind_b2Draw_SetFlags_1 = function () { + return b.asm._emscripten_bind_b2Draw_SetFlags_1.apply(null, arguments); + }), + je = (b._emscripten_bind_b2AABB_Contains_1 = function () { + return b.asm._emscripten_bind_b2AABB_Contains_1.apply(null, arguments); + }), + ke = (b._emscripten_bind_b2DistanceJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetNext_0.apply(null, arguments); + }), + le = (b._emscripten_bind_b2EdgeShape_set_m_radius_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_radius_1.apply(null, arguments); + }), + me = (b._emscripten_bind_b2DistanceJointDef_get_dampingRatio_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_dampingRatio_0.apply(null, arguments); + }), + ne = (b._emscripten_bind_b2DistanceJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + oe = (b._emscripten_bind_b2PrismaticJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetType_0.apply(null, arguments); + }), + pe = (b._emscripten_bind_b2Fixture_GetRestitution_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetRestitution_0.apply(null, arguments); + }), + qe = (b._emscripten_bind_b2Transform_set_q_1 = function () { + return b.asm._emscripten_bind_b2Transform_set_q_1.apply(null, arguments); + }), + re = (b._emscripten_bind_b2PolygonShape___destroy___0 = function () { + return b.asm._emscripten_bind_b2PolygonShape___destroy___0.apply(null, arguments); + }), + se = (b._emscripten_bind_b2AABB_get_upperBound_0 = function () { + return b.asm._emscripten_bind_b2AABB_get_upperBound_0.apply(null, arguments); + }), + te = (b._emscripten_bind_b2Transform___destroy___0 = function () { + return b.asm._emscripten_bind_b2Transform___destroy___0.apply(null, arguments); + }), + ue = (b._emscripten_bind_b2Body_GetLinearVelocity_0 = function () { + return b.asm._emscripten_bind_b2Body_GetLinearVelocity_0.apply(null, arguments); + }), + ve = (b._emscripten_bind_b2CircleShape_set_m_radius_1 = function () { + return b.asm._emscripten_bind_b2CircleShape_set_m_radius_1.apply(null, arguments); + }), + we = (b._emscripten_bind_b2EdgeShape_set_m_hasVertex0_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_hasVertex0_1.apply(null, arguments); + }), + xe = (b._emscripten_bind_b2Contact_GetWorldManifold_1 = function () { + return b.asm._emscripten_bind_b2Contact_GetWorldManifold_1.apply(null, arguments); + }), + ye = (b._emscripten_bind_b2RopeJoint_GetMaxLength_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetMaxLength_0.apply(null, arguments); + }), + ze = (b._emscripten_bind_b2GearJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetUserData_0.apply(null, arguments); + }), + Ae = (b._emscripten_bind_b2MotorJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetCollideConnected_0.apply(null, arguments); + }), + Be = (b._emscripten_bind_b2GearJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_type_1.apply(null, arguments); + }), + Ce = (b._emscripten_bind_b2DistanceJoint_SetDampingRatio_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_SetDampingRatio_1.apply(null, arguments); + }), + De = (b._emscripten_bind_b2Contact_GetFixtureA_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetFixtureA_0.apply(null, arguments); + }), + Ee = (b._emscripten_bind_b2PulleyJointDef_get_ratio_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_ratio_0.apply(null, arguments); + }), + Fe = (b._emscripten_bind_b2PrismaticJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Ge = (b._emscripten_bind_b2CircleShape_set_m_type_1 = function () { + return b.asm._emscripten_bind_b2CircleShape_set_m_type_1.apply(null, arguments); + }), + He = (b._emscripten_bind_b2DistanceJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_localAnchorA_1.apply(null, arguments); + }), + Ie = (b._emscripten_bind_b2RopeJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetAnchorB_0.apply(null, arguments); + }), + Je = (b._emscripten_bind_b2AABB_set_upperBound_1 = function () { + return b.asm._emscripten_bind_b2AABB_set_upperBound_1.apply(null, arguments); + }), + Ke = (b._emscripten_bind_JSRayCastCallback_ReportFixture_4 = function () { + return b.asm._emscripten_bind_JSRayCastCallback_ReportFixture_4.apply(null, arguments); + }), + Le = (b._emscripten_bind_b2ContactImpulse___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactImpulse___destroy___0.apply(null, arguments); + }), + Me = (b._emscripten_bind_b2FrictionJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Ne = (b._emscripten_bind_b2PulleyJointDef_set_lengthB_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_lengthB_1.apply(null, arguments); + }), + Oe = (b._emscripten_bind_b2RayCastInput___destroy___0 = function () { + return b.asm._emscripten_bind_b2RayCastInput___destroy___0.apply(null, arguments); + }), + Pe = (b._emscripten_bind_b2Body_ApplyForceToCenter_2 = function () { + return b.asm._emscripten_bind_b2Body_ApplyForceToCenter_2.apply(null, arguments); + }), + Qe = (b._emscripten_bind_JSDestructionListener_JSDestructionListener_0 = function () { + return b.asm._emscripten_bind_JSDestructionListener_JSDestructionListener_0.apply( + null, + arguments + ); + }), + Re = (b._emscripten_bind_b2WheelJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_localAnchorA_1.apply(null, arguments); + }), + Se = (b._emscripten_bind_b2FrictionJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetBodyB_0.apply(null, arguments); + }), + Te = (b._emscripten_bind_b2WeldJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_bodyA_1.apply(null, arguments); + }), + Ue = (b._emscripten_bind_b2DistanceJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetBodyB_0.apply(null, arguments); + }), + Ve = (b._emscripten_enum_b2JointType_e_wheelJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_wheelJoint.apply(null, arguments); + }), + We = (b._emscripten_bind_b2JointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2JointDef___destroy___0.apply(null, arguments); + }), + Xe = (b._emscripten_bind_b2ContactEdge___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactEdge___destroy___0.apply(null, arguments); + }), + Ye = (b._emscripten_bind_b2Filter_get_groupIndex_0 = function () { + return b.asm._emscripten_bind_b2Filter_get_groupIndex_0.apply(null, arguments); + }), + Ze = (b._emscripten_bind_b2FrictionJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_localAnchorA_0.apply(null, arguments); + }), + $e = (b._emscripten_bind_b2CircleShape_GetChildCount_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_GetChildCount_0.apply(null, arguments); + }), + af = (b._emscripten_bind_b2BodyDef_get_bullet_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_bullet_0.apply(null, arguments); + }), + bf = (b._emscripten_bind_b2Color_set_b_1 = function () { + return b.asm._emscripten_bind_b2Color_set_b_1.apply(null, arguments); + }), + cf = (b._emscripten_bind_b2Mat33_get_ez_0 = function () { + return b.asm._emscripten_bind_b2Mat33_get_ez_0.apply(null, arguments); + }), + df = (b._emscripten_bind_b2MassData_get_center_0 = function () { + return b.asm._emscripten_bind_b2MassData_get_center_0.apply(null, arguments); + }), + ef = (b._emscripten_bind_b2WeldJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetBodyB_0.apply(null, arguments); + }), + ff = (b._emscripten_bind_b2WheelJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetReactionForce_1.apply(null, arguments); + }), + gf = (b._emscripten_bind_b2World_SetSubStepping_1 = function () { + return b.asm._emscripten_bind_b2World_SetSubStepping_1.apply(null, arguments); + }), + hf = (b._emscripten_bind_b2Vec2_op_add_1 = function () { + return b.asm._emscripten_bind_b2Vec2_op_add_1.apply(null, arguments); + }), + jf = (b._emscripten_bind_JSDraw_DrawSegment_3 = function () { + return b.asm._emscripten_bind_JSDraw_DrawSegment_3.apply(null, arguments); + }), + kf = (b._emscripten_bind_b2Joint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetCollideConnected_0.apply(null, arguments); + }), + lf = (b._emscripten_bind_b2MotorJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetReactionTorque_1.apply(null, arguments); + }), + mf = (b._emscripten_bind_b2FrictionJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_bodyB_0.apply(null, arguments); + }), + nf = (b._emscripten_bind_b2WheelJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef___destroy___0.apply(null, arguments); + }), + of = (b._emscripten_bind_b2BodyDef_get_gravityScale_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_gravityScale_0.apply(null, arguments); + }), + pf = (b._emscripten_bind_b2Vec3_SetZero_0 = function () { + return b.asm._emscripten_bind_b2Vec3_SetZero_0.apply(null, arguments); + }), + qf = (b._emscripten_enum_b2JointType_e_pulleyJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_pulleyJoint.apply(null, arguments); + }), + rf = (b._emscripten_bind_b2ChainShape_get_m_nextVertex_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_nextVertex_0.apply(null, arguments); + }), + sf = (b._emscripten_bind_b2Contact_SetEnabled_1 = function () { + return b.asm._emscripten_bind_b2Contact_SetEnabled_1.apply(null, arguments); + }), + tf = (b._emscripten_bind_b2Shape_set_m_radius_1 = function () { + return b.asm._emscripten_bind_b2Shape_set_m_radius_1.apply(null, arguments); + }), + uf = (b._emscripten_bind_b2World_SetDebugDraw_1 = function () { + return b.asm._emscripten_bind_b2World_SetDebugDraw_1.apply(null, arguments); + }), + vf = (b._emscripten_bind_b2ContactID_set_key_1 = function () { + return b.asm._emscripten_bind_b2ContactID_set_key_1.apply(null, arguments); + }), + Ca = (b._malloc = function () { + return b.asm._malloc.apply(null, arguments); + }), + wf = (b._emscripten_bind_b2WheelJoint_GetMaxMotorTorque_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetMaxMotorTorque_0.apply(null, arguments); + }), + xf = (b._emscripten_bind_b2Vec2_Normalize_0 = function () { + return b.asm._emscripten_bind_b2Vec2_Normalize_0.apply(null, arguments); + }), + yf = (b._emscripten_bind_b2WheelJoint_GetJointSpeed_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetJointSpeed_0.apply(null, arguments); + }), + zf = (b._emscripten_bind_b2FrictionJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_localAnchorA_1.apply(null, arguments); + }), + Af = (b._emscripten_bind_b2ChainShape_set_m_vertices_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_vertices_1.apply(null, arguments); + }), + Bf = (b._emscripten_bind_JSRayCastCallback_JSRayCastCallback_0 = function () { + return b.asm._emscripten_bind_JSRayCastCallback_JSRayCastCallback_0.apply(null, arguments); + }), + Cf = (b._emscripten_bind_b2RayCastInput_set_p2_1 = function () { + return b.asm._emscripten_bind_b2RayCastInput_set_p2_1.apply(null, arguments); + }), + Df = (b._emscripten_bind_b2RevoluteJointDef_get_motorSpeed_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_motorSpeed_0.apply(null, arguments); + }), + Ef = (b._emscripten_bind_b2Manifold_get_pointCount_0 = function () { + return b.asm._emscripten_bind_b2Manifold_get_pointCount_0.apply(null, arguments); + }), + Ff = (b._emscripten_bind_b2RayCastOutput_get_normal_0 = function () { + return b.asm._emscripten_bind_b2RayCastOutput_get_normal_0.apply(null, arguments); + }), + Gf = (b._emscripten_bind_b2WeldJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetBodyA_0.apply(null, arguments); + }), + Hf = (b._emscripten_enum_b2DrawFlag_e_jointBit = function () { + return b.asm._emscripten_enum_b2DrawFlag_e_jointBit.apply(null, arguments); + }), + If = (b._emscripten_bind_b2FixtureDef_get_isSensor_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_isSensor_0.apply(null, arguments); + }), + Jf = (b._emscripten_bind_b2PrismaticJointDef_Initialize_4 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_Initialize_4.apply(null, arguments); + }), + Kf = (b._emscripten_bind_b2PulleyJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_bodyB_1.apply(null, arguments); + }), + Lf = (b._emscripten_bind_b2WheelJoint_EnableMotor_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_EnableMotor_1.apply(null, arguments); + }), + Mf = (b._emscripten_bind_b2RevoluteJoint_GetJointSpeed_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetJointSpeed_0.apply(null, arguments); + }), + Nf = (b._emscripten_bind_JSDraw_DrawSolidPolygon_3 = function () { + return b.asm._emscripten_bind_JSDraw_DrawSolidPolygon_3.apply(null, arguments); + }), + Of = (b._emscripten_bind_b2Rot_Set_1 = function () { + return b.asm._emscripten_bind_b2Rot_Set_1.apply(null, arguments); + }), + Pf = (b._emscripten_bind_b2RevoluteJoint_GetJointAngle_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetJointAngle_0.apply(null, arguments); + }), + Qf = (b._emscripten_bind_JSDraw___destroy___0 = function () { + return b.asm._emscripten_bind_JSDraw___destroy___0.apply(null, arguments); + }), + Rf = (b._emscripten_bind_b2MouseJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef___destroy___0.apply(null, arguments); + }), + Sf = (b._emscripten_bind_b2Mat33_Solve22_1 = function () { + return b.asm._emscripten_bind_b2Mat33_Solve22_1.apply(null, arguments); + }), + Tf = (b._emscripten_bind_b2Profile_set_solvePosition_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_solvePosition_1.apply(null, arguments); + }), + Uf = (b._emscripten_bind_b2ContactFilter___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactFilter___destroy___0.apply(null, arguments); + }), + Vf = (b._emscripten_bind_b2WheelJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + Wf = (b._emscripten_bind_b2ChainShape_set_m_hasPrevVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_hasPrevVertex_1.apply(null, arguments); + }), + Xf = (b._emscripten_bind_b2Joint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2Joint_SetUserData_1.apply(null, arguments); + }), + Yf = (b._emscripten_bind_b2DistanceJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_SetUserData_1.apply(null, arguments); + }), + Zf = (b._emscripten_bind_b2PrismaticJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint___destroy___0.apply(null, arguments); + }), + $f = (b._emscripten_bind_b2RopeJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_bodyA_1.apply(null, arguments); + }), + ag = (b._emscripten_bind_b2GearJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2GearJoint___destroy___0.apply(null, arguments); + }), + bg = (b._emscripten_bind_b2PrismaticJoint_GetJointTranslation_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetJointTranslation_0.apply(null, arguments); + }), + cg = (b._emscripten_bind_b2ManifoldPoint_get_id_0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_get_id_0.apply(null, arguments); + }), + dg = (b._emscripten_bind_b2CircleShape_get_m_radius_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_get_m_radius_0.apply(null, arguments); + }), + eg = (b._emscripten_bind_b2PrismaticJoint_GetMotorSpeed_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetMotorSpeed_0.apply(null, arguments); + }), + fg = (b._emscripten_bind_b2PulleyJoint_GetGroundAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetGroundAnchorB_0.apply(null, arguments); + }), + gg = (b._emscripten_bind_b2Vec3_op_add_1 = function () { + return b.asm._emscripten_bind_b2Vec3_op_add_1.apply(null, arguments); + }), + hg = (b._emscripten_bind_b2FrictionJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetType_0.apply(null, arguments); + }), + ig = (b._emscripten_bind_b2MouseJoint_GetMaxForce_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetMaxForce_0.apply(null, arguments); + }), + jg = (b._emscripten_bind_b2MouseJoint_SetTarget_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_SetTarget_1.apply(null, arguments); + }), + kg = (b._emscripten_bind_b2MouseJointDef_get_dampingRatio_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_dampingRatio_0.apply(null, arguments); + }), + lg = (b._emscripten_bind_b2RevoluteJoint_GetMotorSpeed_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetMotorSpeed_0.apply(null, arguments); + }), + mg = (b._emscripten_bind_b2ChainShape_set_m_type_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_type_1.apply(null, arguments); + }), + ng = (b._emscripten_bind_b2RevoluteJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_bodyB_1.apply(null, arguments); + }), + og = (b._emscripten_bind_b2Rot_GetXAxis_0 = function () { + return b.asm._emscripten_bind_b2Rot_GetXAxis_0.apply(null, arguments); + }), + pg = (b._emscripten_bind_b2Mat33_b2Mat33_0 = function () { + return b.asm._emscripten_bind_b2Mat33_b2Mat33_0.apply(null, arguments); + }), + qg = (b._emscripten_bind_b2MouseJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_bodyB_0.apply(null, arguments); + }), + rg = (b._emscripten_bind_b2Body_GetWorldVector_1 = function () { + return b.asm._emscripten_bind_b2Body_GetWorldVector_1.apply(null, arguments); + }), + sg = (b._emscripten_bind_b2WeldJointDef_get_frequencyHz_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_frequencyHz_0.apply(null, arguments); + }), + tg = (b._emscripten_bind_b2GearJointDef_set_ratio_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_ratio_1.apply(null, arguments); + }), + ug = (b._emscripten_bind_b2Manifold___destroy___0 = function () { + return b.asm._emscripten_bind_b2Manifold___destroy___0.apply(null, arguments); + }), + vg = (b._emscripten_bind_b2PulleyJointDef_set_lengthA_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_lengthA_1.apply(null, arguments); + }), + wg = (b._emscripten_bind_b2Contact_IsEnabled_0 = function () { + return b.asm._emscripten_bind_b2Contact_IsEnabled_0.apply(null, arguments); + }); + b.stackRestore = function () { + return b.asm.stackRestore.apply(null, arguments); + }; + var xg = (b._emscripten_bind_b2World_CreateJoint_1 = function () { + return b.asm._emscripten_bind_b2World_CreateJoint_1.apply(null, arguments); + }), + yg = (b._emscripten_bind_b2PulleyJointDef_set_ratio_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_ratio_1.apply(null, arguments); + }), + zg = (b._emscripten_bind_b2JointEdge_set_prev_1 = function () { + return b.asm._emscripten_bind_b2JointEdge_set_prev_1.apply(null, arguments); + }), + Ag = (b._emscripten_bind_b2PrismaticJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetReactionTorque_1.apply(null, arguments); + }), + Bg = (b._emscripten_bind_b2Body_GetLocalPoint_1 = function () { + return b.asm._emscripten_bind_b2Body_GetLocalPoint_1.apply(null, arguments); + }), + Cg = (b._emscripten_bind_b2PrismaticJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetCollideConnected_0.apply(null, arguments); + }), + Dg = (b._emscripten_bind_b2DistanceJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_IsActive_0.apply(null, arguments); + }), + Eg = (b._emscripten_bind_b2RopeJoint_GetLimitState_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetLimitState_0.apply(null, arguments); + }), + Fg = (b._emscripten_bind_b2Profile_get_solveTOI_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_solveTOI_0.apply(null, arguments); + }), + Gg = (b._emscripten_bind_b2Vec2_b2Vec2_0 = function () { + return b.asm._emscripten_bind_b2Vec2_b2Vec2_0.apply(null, arguments); + }), + Hg = (b._emscripten_bind_b2DistanceJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetAnchorB_0.apply(null, arguments); + }), + Ig = (b._emscripten_bind_b2WheelJointDef_get_maxMotorTorque_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_maxMotorTorque_0.apply(null, arguments); + }), + Jg = (b._emscripten_bind_b2Vec2_op_sub_1 = function () { + return b.asm._emscripten_bind_b2Vec2_op_sub_1.apply(null, arguments); + }), + Kg = (b._emscripten_bind_b2CircleShape_get_m_p_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_get_m_p_0.apply(null, arguments); + }), + Lg = (b._emscripten_bind_b2ContactFeature_get_indexA_0 = function () { + return b.asm._emscripten_bind_b2ContactFeature_get_indexA_0.apply(null, arguments); + }), + Mg = (b._emscripten_bind_b2MotorJointDef_b2MotorJointDef_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_b2MotorJointDef_0.apply(null, arguments); + }), + Ng = (b._emscripten_bind_b2RevoluteJoint_EnableLimit_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_EnableLimit_1.apply(null, arguments); + }), + Og = (b._emscripten_bind_b2ContactEdge_get_next_0 = function () { + return b.asm._emscripten_bind_b2ContactEdge_get_next_0.apply(null, arguments); + }), + Pg = (b._emscripten_bind_b2AABB_GetPerimeter_0 = function () { + return b.asm._emscripten_bind_b2AABB_GetPerimeter_0.apply(null, arguments); + }), + Qg = (b._emscripten_bind_b2RevoluteJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetCollideConnected_0.apply(null, arguments); + }), + Rg = (b._emscripten_bind_b2Mat33_get_ex_0 = function () { + return b.asm._emscripten_bind_b2Mat33_get_ex_0.apply(null, arguments); + }), + Sg = (b._emscripten_bind_b2Body_GetPosition_0 = function () { + return b.asm._emscripten_bind_b2Body_GetPosition_0.apply(null, arguments); + }), + Tg = (b._emscripten_bind_b2Profile___destroy___0 = function () { + return b.asm._emscripten_bind_b2Profile___destroy___0.apply(null, arguments); + }), + Ug = (b._emscripten_bind_b2ContactEdge_get_prev_0 = function () { + return b.asm._emscripten_bind_b2ContactEdge_get_prev_0.apply(null, arguments); + }), + Vg = (b._emscripten_bind_b2DistanceJoint_SetFrequency_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_SetFrequency_1.apply(null, arguments); + }), + Wg = (b._emscripten_bind_b2Fixture_GetBody_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetBody_0.apply(null, arguments); + }), + Xg = (b._emscripten_bind_b2ContactImpulse_set_count_1 = function () { + return b.asm._emscripten_bind_b2ContactImpulse_set_count_1.apply(null, arguments); + }), + Yg = (b._emscripten_bind_b2FixtureDef_set_shape_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_shape_1.apply(null, arguments); + }), + Zg = (b._emscripten_bind_b2PulleyJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_bodyB_0.apply(null, arguments); + }), + $g = (b._emscripten_bind_b2ChainShape_GetChildCount_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_GetChildCount_0.apply(null, arguments); + }), + ah = (b._emscripten_bind_b2CircleShape_b2CircleShape_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_b2CircleShape_0.apply(null, arguments); + }), + bh = (b._emscripten_bind_b2RevoluteJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetReactionTorque_1.apply(null, arguments); + }), + ch = (b._emscripten_bind_b2Fixture_SetDensity_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetDensity_1.apply(null, arguments); + }), + dh = (b._emscripten_bind_b2ChainShape_get_m_prevVertex_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_prevVertex_0.apply(null, arguments); + }), + eh = (b._emscripten_bind_b2AABB_GetExtents_0 = function () { + return b.asm._emscripten_bind_b2AABB_GetExtents_0.apply(null, arguments); + }), + fh = (b._emscripten_bind_b2World_ClearForces_0 = function () { + return b.asm._emscripten_bind_b2World_ClearForces_0.apply(null, arguments); + }), + gh = (b._emscripten_bind_b2Vec3___destroy___0 = function () { + return b.asm._emscripten_bind_b2Vec3___destroy___0.apply(null, arguments); + }), + hh = (b._emscripten_bind_b2WheelJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_userData_1.apply(null, arguments); + }), + ih = (b._emscripten_bind_b2WeldJoint_SetFrequency_1 = function () { + return b.asm._emscripten_bind_b2WeldJoint_SetFrequency_1.apply(null, arguments); + }), + jh = (b._emscripten_bind_JSContactListener_PreSolve_2 = function () { + return b.asm._emscripten_bind_JSContactListener_PreSolve_2.apply(null, arguments); + }), + kh = (b._emscripten_bind_b2Body_SetFixedRotation_1 = function () { + return b.asm._emscripten_bind_b2Body_SetFixedRotation_1.apply(null, arguments); + }), + lh = (b._emscripten_bind_b2RayCastOutput_set_normal_1 = function () { + return b.asm._emscripten_bind_b2RayCastOutput_set_normal_1.apply(null, arguments); + }), + mh = (b._emscripten_bind_b2DistanceJoint_GetDampingRatio_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetDampingRatio_0.apply(null, arguments); + }), + nh = (b._emscripten_bind_b2RevoluteJoint_SetMaxMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_SetMaxMotorTorque_1.apply(null, arguments); + }), + oh = (b._emscripten_bind_b2RevoluteJoint_EnableMotor_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_EnableMotor_1.apply(null, arguments); + }), + ph = (b._emscripten_bind_b2Contact_GetChildIndexB_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetChildIndexB_0.apply(null, arguments); + }), + qh = (b._emscripten_bind_b2MouseJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_bodyB_1.apply(null, arguments); + }), + rh = (b._emscripten_bind_b2CircleShape_GetType_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_GetType_0.apply(null, arguments); + }), + sh = (b._emscripten_bind_b2PolygonShape_GetType_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_GetType_0.apply(null, arguments); + }), + th = (b._emscripten_bind_b2PrismaticJointDef_set_referenceAngle_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_referenceAngle_1.apply(null, arguments); + }), + uh = (b._emscripten_bind_b2RopeJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_collideConnected_0.apply(null, arguments); + }), + vh = (b._emscripten_bind_b2FixtureDef_set_filter_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_filter_1.apply(null, arguments); + }), + wh = (b._emscripten_bind_b2Body_ApplyTorque_2 = function () { + return b.asm._emscripten_bind_b2Body_ApplyTorque_2.apply(null, arguments); + }), + xh = (b._emscripten_bind_b2RevoluteJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint___destroy___0.apply(null, arguments); + }), + yh = (b._emscripten_bind_b2FrictionJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_userData_0.apply(null, arguments); + }), + zh = (b._emscripten_bind_b2RayCastCallback___destroy___0 = function () { + return b.asm._emscripten_bind_b2RayCastCallback___destroy___0.apply(null, arguments); + }), + Ah = (b._emscripten_bind_b2RevoluteJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_bodyA_1.apply(null, arguments); + }), + Bh = (b._emscripten_bind_b2MotorJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetUserData_1.apply(null, arguments); + }), + Ch = (b._emscripten_bind_b2PrismaticJoint_GetLocalAxisA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetLocalAxisA_0.apply(null, arguments); + }), + Dh = (b._emscripten_bind_b2MotorJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetBodyB_0.apply(null, arguments); + }), + Eh = (b._emscripten_bind_b2Transform_Set_2 = function () { + return b.asm._emscripten_bind_b2Transform_Set_2.apply(null, arguments); + }), + Fh = (b._emscripten_bind_b2MotorJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetBodyA_0.apply(null, arguments); + }); + b.stackAlloc = function () { + return b.asm.stackAlloc.apply(null, arguments); + }; + var Gh = (b._emscripten_bind_b2Draw_AppendFlags_1 = function () { + return b.asm._emscripten_bind_b2Draw_AppendFlags_1.apply(null, arguments); + }), + Hh = (b._emscripten_bind_b2EdgeShape_GetChildCount_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_GetChildCount_0.apply(null, arguments); + }), + Ih = (b._emscripten_bind_b2Contact_ResetFriction_0 = function () { + return b.asm._emscripten_bind_b2Contact_ResetFriction_0.apply(null, arguments); + }), + Jh = (b._emscripten_bind_b2Profile_set_solveTOI_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_solveTOI_1.apply(null, arguments); + }), + Kh = (b._emscripten_bind_b2PrismaticJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_type_1.apply(null, arguments); + }), + Lh = (b._emscripten_bind_b2AABB_GetCenter_0 = function () { + return b.asm._emscripten_bind_b2AABB_GetCenter_0.apply(null, arguments); + }), + Mh = (b._emscripten_bind_b2WheelJoint_SetSpringFrequencyHz_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_SetSpringFrequencyHz_1.apply(null, arguments); + }), + Nh = (b._emscripten_bind_b2FrictionJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef___destroy___0.apply(null, arguments); + }), + Oh = (b._emscripten_bind_b2PrismaticJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetReactionForce_1.apply(null, arguments); + }), + Ph = (b._emscripten_bind_b2Transform_b2Transform_0 = function () { + return b.asm._emscripten_bind_b2Transform_b2Transform_0.apply(null, arguments); + }), + Qh = (b._emscripten_enum_b2LimitState_e_equalLimits = function () { + return b.asm._emscripten_enum_b2LimitState_e_equalLimits.apply(null, arguments); + }), + Rh = (b._emscripten_bind_b2ManifoldPoint_set_normalImpulse_1 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_set_normalImpulse_1.apply(null, arguments); + }), + Sh = (b._emscripten_bind_b2Body_IsFixedRotation_0 = function () { + return b.asm._emscripten_bind_b2Body_IsFixedRotation_0.apply(null, arguments); + }), + Th = (b._emscripten_enum_b2DrawFlag_e_shapeBit = function () { + return b.asm._emscripten_enum_b2DrawFlag_e_shapeBit.apply(null, arguments); + }), + Uh = (b._emscripten_bind_b2Contact_GetFriction_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetFriction_0.apply(null, arguments); + }), + Vh = (b._emscripten_bind_b2Body_GetContactList_0 = function () { + return b.asm._emscripten_bind_b2Body_GetContactList_0.apply(null, arguments); + }), + Wh = (b._emscripten_bind_b2DistanceJointDef_set_length_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_length_1.apply(null, arguments); + }), + Xh = (b._emscripten_bind_b2DistanceJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + Yh = (b._emscripten_bind_b2FrictionJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + Zh = (b._emscripten_bind_b2World_b2World_1 = function () { + return b.asm._emscripten_bind_b2World_b2World_1.apply(null, arguments); + }), + $h = (b._emscripten_bind_b2PrismaticJoint_IsLimitEnabled_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_IsLimitEnabled_0.apply(null, arguments); + }), + ai = (b._emscripten_bind_b2DistanceJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_type_0.apply(null, arguments); + }), + bi = (b._emscripten_bind_b2Draw_ClearFlags_1 = function () { + return b.asm._emscripten_bind_b2Draw_ClearFlags_1.apply(null, arguments); + }), + ci = (b._emscripten_bind_b2Body_SetAngularDamping_1 = function () { + return b.asm._emscripten_bind_b2Body_SetAngularDamping_1.apply(null, arguments); + }), + di = (b._emscripten_bind_b2Body_IsActive_0 = function () { + return b.asm._emscripten_bind_b2Body_IsActive_0.apply(null, arguments); + }), + ei = (b._emscripten_bind_b2Contact_ResetRestitution_0 = function () { + return b.asm._emscripten_bind_b2Contact_ResetRestitution_0.apply(null, arguments); + }), + fi = (b._emscripten_bind_b2World_GetAllowSleeping_0 = function () { + return b.asm._emscripten_bind_b2World_GetAllowSleeping_0.apply(null, arguments); + }), + gi = (b._emscripten_bind_b2ManifoldPoint_b2ManifoldPoint_0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_b2ManifoldPoint_0.apply(null, arguments); + }), + hi = (b._emscripten_bind_b2EdgeShape_set_m_type_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_type_1.apply(null, arguments); + }), + ii = (b._emscripten_enum_b2JointType_e_unknownJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_unknownJoint.apply(null, arguments); + }), + ji = (b._emscripten_bind_b2RevoluteJointDef_set_enableMotor_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_enableMotor_1.apply(null, arguments); + }), + ki = (b._emscripten_bind_b2PulleyJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_IsActive_0.apply(null, arguments); + }), + li = (b._emscripten_bind_b2MouseJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetNext_0.apply(null, arguments); + }), + mi = (b._emscripten_bind_b2RevoluteJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_SetUserData_1.apply(null, arguments); + }), + ni = (b._emscripten_bind_b2Manifold_get_localPoint_0 = function () { + return b.asm._emscripten_bind_b2Manifold_get_localPoint_0.apply(null, arguments); + }), + oi = (b._emscripten_bind_b2PulleyJointDef_get_lengthB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_lengthB_0.apply(null, arguments); + }), + pi = (b._emscripten_bind_b2WeldJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2WeldJoint_SetUserData_1.apply(null, arguments); + }), + qi = (b._emscripten_bind_b2ChainShape_CreateLoop_2 = function () { + return b.asm._emscripten_bind_b2ChainShape_CreateLoop_2.apply(null, arguments); + }), + ri = (b._emscripten_bind_b2GearJointDef_get_joint1_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_joint1_0.apply(null, arguments); + }), + si = (b._emscripten_bind_b2PrismaticJoint_GetMotorForce_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetMotorForce_1.apply(null, arguments); + }), + ti = (b._emscripten_bind_b2Body_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2Body_SetUserData_1.apply(null, arguments); + }), + ui = (b._emscripten_bind_b2GearJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_IsActive_0.apply(null, arguments); + }), + vi = (b._emscripten_bind_b2EdgeShape_get_m_vertex0_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_vertex0_0.apply(null, arguments); + }), + wi = (b._emscripten_enum_b2JointType_e_revoluteJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_revoluteJoint.apply(null, arguments); + }), + xi = (b._emscripten_bind_b2Vec2_get_x_0 = function () { + return b.asm._emscripten_bind_b2Vec2_get_x_0.apply(null, arguments); + }), + yi = (b._emscripten_bind_b2WeldJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_collideConnected_0.apply(null, arguments); + }), + zi = (b._emscripten_bind_b2FrictionJoint_GetMaxTorque_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetMaxTorque_0.apply(null, arguments); + }), + Ai = (b._emscripten_bind_b2EdgeShape_RayCast_4 = function () { + return b.asm._emscripten_bind_b2EdgeShape_RayCast_4.apply(null, arguments); + }), + Bi = (b._emscripten_bind_b2BodyDef_set_allowSleep_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_allowSleep_1.apply(null, arguments); + }), + Ci = (b._emscripten_bind_b2PulleyJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetType_0.apply(null, arguments); + }), + Di = (b._emscripten_bind_b2WeldJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_localAnchorA_1.apply(null, arguments); + }), + Ei = (b._emscripten_bind_b2Profile_set_step_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_step_1.apply(null, arguments); + }), + Fi = (b._emscripten_bind_b2ContactEdge_set_other_1 = function () { + return b.asm._emscripten_bind_b2ContactEdge_set_other_1.apply(null, arguments); + }), + Gi = (b._emscripten_bind_b2PulleyJoint_GetCurrentLengthB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetCurrentLengthB_0.apply(null, arguments); + }), + Hi = (b._emscripten_bind_b2Vec2_op_mul_1 = function () { + return b.asm._emscripten_bind_b2Vec2_op_mul_1.apply(null, arguments); + }), + Ii = (b._emscripten_bind_b2PrismaticJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_localAnchorA_0.apply(null, arguments); + }), + Ji = (b._emscripten_bind_b2EdgeShape___destroy___0 = function () { + return b.asm._emscripten_bind_b2EdgeShape___destroy___0.apply(null, arguments); + }), + Ki = (b._emscripten_bind_b2PolygonShape_get_m_count_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_get_m_count_0.apply(null, arguments); + }), + Li = (b._emscripten_bind_b2RopeJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetAnchorA_0.apply(null, arguments); + }), + Mi = (b._emscripten_bind_b2DistanceJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_bodyA_0.apply(null, arguments); + }), + Ni = (b._emscripten_bind_b2AABB_Combine_2 = function () { + return b.asm._emscripten_bind_b2AABB_Combine_2.apply(null, arguments); + }), + Oi = (b._emscripten_bind_b2ManifoldPoint_set_tangentImpulse_1 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_set_tangentImpulse_1.apply(null, arguments); + }), + Pi = (b._emscripten_bind_b2BodyDef_get_allowSleep_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_allowSleep_0.apply(null, arguments); + }), + Qi = (b._emscripten_bind_b2ContactEdge_get_other_0 = function () { + return b.asm._emscripten_bind_b2ContactEdge_get_other_0.apply(null, arguments); + }), + Ri = (b._emscripten_bind_b2RopeJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + Si = (b._emscripten_bind_b2PulleyJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef___destroy___0.apply(null, arguments); + }), + Ti = (b._emscripten_bind_b2MouseJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetBodyB_0.apply(null, arguments); + }), + Ui = (b._emscripten_bind_b2PolygonShape_TestPoint_2 = function () { + return b.asm._emscripten_bind_b2PolygonShape_TestPoint_2.apply(null, arguments); + }), + Vi = (b._emscripten_bind_b2JointEdge_get_other_0 = function () { + return b.asm._emscripten_bind_b2JointEdge_get_other_0.apply(null, arguments); + }), + Wi = (b._emscripten_bind_b2PolygonShape_b2PolygonShape_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_b2PolygonShape_0.apply(null, arguments); + }), + Xi = (b._emscripten_bind_b2PolygonShape_Set_2 = function () { + return b.asm._emscripten_bind_b2PolygonShape_Set_2.apply(null, arguments); + }), + Yi = (b._emscripten_bind_b2GearJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetReactionForce_1.apply(null, arguments); + }), + Zi = (b._emscripten_bind_b2DistanceJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_localAnchorA_0.apply(null, arguments); + }), + $i = (b._emscripten_bind_b2Fixture_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetUserData_1.apply(null, arguments); + }), + aj = (b._emscripten_bind_b2Contact_SetTangentSpeed_1 = function () { + return b.asm._emscripten_bind_b2Contact_SetTangentSpeed_1.apply(null, arguments); + }), + bj = (b._emscripten_bind_b2PrismaticJointDef_b2PrismaticJointDef_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_b2PrismaticJointDef_0.apply( + null, + arguments + ); + }), + cj = (b._emscripten_bind_b2BodyDef_get_active_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_active_0.apply(null, arguments); + }), + dj = (b._emscripten_bind_b2Body_GetAngularVelocity_0 = function () { + return b.asm._emscripten_bind_b2Body_GetAngularVelocity_0.apply(null, arguments); + }), + ej = (b._emscripten_bind_b2CircleShape_set_m_p_1 = function () { + return b.asm._emscripten_bind_b2CircleShape_set_m_p_1.apply(null, arguments); + }), + fj = (b._emscripten_bind_b2Draw___destroy___0 = function () { + return b.asm._emscripten_bind_b2Draw___destroy___0.apply(null, arguments); + }), + gj = (b._emscripten_bind_b2WheelJointDef_Initialize_4 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_Initialize_4.apply(null, arguments); + }), + hj = (b._emscripten_bind_b2WeldJointDef_set_dampingRatio_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_dampingRatio_1.apply(null, arguments); + }), + ij = (b._emscripten_bind_b2ChainShape_b2ChainShape_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_b2ChainShape_0.apply(null, arguments); + }), + jj = (b._emscripten_bind_b2Joint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetAnchorB_0.apply(null, arguments); + }), + kj = (b._emscripten_bind_b2PrismaticJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_userData_0.apply(null, arguments); + }), + lj = (b._emscripten_bind_b2MotorJoint_GetMaxForce_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetMaxForce_0.apply(null, arguments); + }), + mj = (b._emscripten_bind_b2RevoluteJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetBodyA_0.apply(null, arguments); + }), + nj = (b._emscripten_bind_b2ContactID_set_cf_1 = function () { + return b.asm._emscripten_bind_b2ContactID_set_cf_1.apply(null, arguments); + }), + oj = (b._emscripten_bind_b2Body_GetGravityScale_0 = function () { + return b.asm._emscripten_bind_b2Body_GetGravityScale_0.apply(null, arguments); + }), + pj = (b._emscripten_bind_b2Vec3_Set_3 = function () { + return b.asm._emscripten_bind_b2Vec3_Set_3.apply(null, arguments); + }), + qj = (b._emscripten_bind_b2RevoluteJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_localAnchorA_1.apply(null, arguments); + }), + rj = (b._emscripten_bind_b2FrictionJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_localAnchorB_1.apply(null, arguments); + }), + sj = (b._emscripten_bind_b2PulleyJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetNext_0.apply(null, arguments); + }), + tj = (b._emscripten_bind_b2ChainShape_get_m_type_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_type_0.apply(null, arguments); + }), + uj = (b._emscripten_bind_b2PulleyJointDef_get_groundAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_groundAnchorB_0.apply(null, arguments); + }), + vj = (b._emscripten_bind_JSDraw_DrawTransform_1 = function () { + return b.asm._emscripten_bind_JSDraw_DrawTransform_1.apply(null, arguments); + }), + wj = (b._emscripten_bind_b2GearJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_bodyA_0.apply(null, arguments); + }), + xj = (b._emscripten_bind_b2DistanceJointDef_set_frequencyHz_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_frequencyHz_1.apply(null, arguments); + }), + yj = (b._emscripten_bind_b2RevoluteJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_localAnchorB_0.apply(null, arguments); + }), + zj = (b._emscripten_bind_b2RevoluteJointDef_get_referenceAngle_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_referenceAngle_0.apply(null, arguments); + }), + Aj = (b._emscripten_bind_JSContactFilter___destroy___0 = function () { + return b.asm._emscripten_bind_JSContactFilter___destroy___0.apply(null, arguments); + }), + Bj = (b._emscripten_bind_b2RevoluteJointDef_get_enableMotor_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_enableMotor_0.apply(null, arguments); + }), + Cb = (b._memset = function () { + return b.asm._memset.apply(null, arguments); + }), + Cj = (b._emscripten_bind_b2PolygonShape_get_m_radius_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_get_m_radius_0.apply(null, arguments); + }), + Dj = (b._emscripten_enum_b2BodyType_b2_kinematicBody = function () { + return b.asm._emscripten_enum_b2BodyType_b2_kinematicBody.apply(null, arguments); + }), + Ej = (b._emscripten_bind_b2Rot_set_s_1 = function () { + return b.asm._emscripten_bind_b2Rot_set_s_1.apply(null, arguments); + }), + Fj = (b._emscripten_enum_b2ManifoldType_e_faceA = function () { + return b.asm._emscripten_enum_b2ManifoldType_e_faceA.apply(null, arguments); + }), + Gj = (b._emscripten_enum_b2ManifoldType_e_faceB = function () { + return b.asm._emscripten_enum_b2ManifoldType_e_faceB.apply(null, arguments); + }), + Hj = (b._emscripten_bind_b2RevoluteJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_bodyB_0.apply(null, arguments); + }), + Ij = (b._emscripten_bind_b2FixtureDef_b2FixtureDef_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_b2FixtureDef_0.apply(null, arguments); + }), + Jj = (b._emscripten_bind_b2PrismaticJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_SetUserData_1.apply(null, arguments); + }), + Kj = (b._emscripten_bind_b2WorldManifold_set_points_2 = function () { + return b.asm._emscripten_bind_b2WorldManifold_set_points_2.apply(null, arguments); + }), + Lj = (b._emscripten_bind_b2EdgeShape_get_m_hasVertex3_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_hasVertex3_0.apply(null, arguments); + }), + Mj = (b._emscripten_enum_b2ShapeType_e_edge = function () { + return b.asm._emscripten_enum_b2ShapeType_e_edge.apply(null, arguments); + }), + Nj = (b._emscripten_bind_b2RevoluteJoint_GetMaxMotorTorque_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetMaxMotorTorque_0.apply(null, arguments); + }), + Oj = (b._emscripten_bind_b2BodyDef_set_active_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_active_1.apply(null, arguments); + }), + Pj = (b._emscripten_bind_b2EdgeShape_Set_2 = function () { + return b.asm._emscripten_bind_b2EdgeShape_Set_2.apply(null, arguments); + }), + Qj = (b._emscripten_bind_b2FixtureDef_set_isSensor_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_isSensor_1.apply(null, arguments); + }), + Rj = (b._emscripten_bind_b2Body_GetWorldPoint_1 = function () { + return b.asm._emscripten_bind_b2Body_GetWorldPoint_1.apply(null, arguments); + }), + Sj = (b._emscripten_bind_b2ManifoldPoint_get_normalImpulse_0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_get_normalImpulse_0.apply(null, arguments); + }), + Tj = (b._emscripten_bind_JSContactFilter_ShouldCollide_2 = function () { + return b.asm._emscripten_bind_JSContactFilter_ShouldCollide_2.apply(null, arguments); + }), + Uj = (b._emscripten_bind_b2Joint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2Joint_GetReactionTorque_1.apply(null, arguments); + }), + Vj = (b._emscripten_bind_b2RevoluteJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_type_1.apply(null, arguments); + }), + Wj = (b._emscripten_bind_b2RayCastInput_set_p1_1 = function () { + return b.asm._emscripten_bind_b2RayCastInput_set_p1_1.apply(null, arguments); + }), + Xj = (b._emscripten_bind_b2RopeJointDef_b2RopeJointDef_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_b2RopeJointDef_0.apply(null, arguments); + }), + Yj = (b._emscripten_bind_b2BodyDef_get_linearDamping_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_linearDamping_0.apply(null, arguments); + }), + Zj = (b._emscripten_bind_b2World_Step_3 = function () { + return b.asm._emscripten_bind_b2World_Step_3.apply(null, arguments); + }), + ak = (b._emscripten_bind_b2CircleShape_RayCast_4 = function () { + return b.asm._emscripten_bind_b2CircleShape_RayCast_4.apply(null, arguments); + }), + bk = (b._emscripten_bind_b2Profile_get_step_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_step_0.apply(null, arguments); + }), + ck = (b._emscripten_bind_b2AABB_RayCast_2 = function () { + return b.asm._emscripten_bind_b2AABB_RayCast_2.apply(null, arguments); + }), + dk = (b._emscripten_bind_b2Mat22_SetZero_0 = function () { + return b.asm._emscripten_bind_b2Mat22_SetZero_0.apply(null, arguments); + }); + b.setTempRet0 = function () { + return b.asm.setTempRet0.apply(null, arguments); + }; + var ek = (b._emscripten_bind_b2DistanceJoint_GetLength_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetLength_0.apply(null, arguments); + }), + fk = (b._emscripten_bind_b2PulleyJoint_GetLengthB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetLengthB_0.apply(null, arguments); + }), + gk = (b._emscripten_bind_b2PrismaticJoint_GetUpperLimit_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetUpperLimit_0.apply(null, arguments); + }), + hk = (b._emscripten_bind_b2WorldManifold_set_separations_2 = function () { + return b.asm._emscripten_bind_b2WorldManifold_set_separations_2.apply(null, arguments); + }), + ik = (b._emscripten_bind_b2WheelJoint_SetMaxMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_SetMaxMotorTorque_1.apply(null, arguments); + }), + jk = (b._emscripten_bind_b2MotorJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetUserData_0.apply(null, arguments); + }), + kk = (b._emscripten_bind_b2FrictionJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetReactionTorque_1.apply(null, arguments); + }), + lk = (b._emscripten_bind_b2Shape_get_m_type_0 = function () { + return b.asm._emscripten_bind_b2Shape_get_m_type_0.apply(null, arguments); + }), + mk = (b._emscripten_bind_b2MouseJoint_SetDampingRatio_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_SetDampingRatio_1.apply(null, arguments); + }), + nk = (b._emscripten_bind_b2World_GetAutoClearForces_0 = function () { + return b.asm._emscripten_bind_b2World_GetAutoClearForces_0.apply(null, arguments); + }), + ok = (b._emscripten_bind_b2WorldManifold_set_normal_1 = function () { + return b.asm._emscripten_bind_b2WorldManifold_set_normal_1.apply(null, arguments); + }), + pk = (b._emscripten_enum_b2ShapeType_e_circle = function () { + return b.asm._emscripten_enum_b2ShapeType_e_circle.apply(null, arguments); + }), + qk = (b._emscripten_bind_b2BodyDef_set_fixedRotation_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_fixedRotation_1.apply(null, arguments); + }), + rk = (b._emscripten_bind_b2Vec2_b2Vec2_2 = function () { + return b.asm._emscripten_bind_b2Vec2_b2Vec2_2.apply(null, arguments); + }), + sk = (b._emscripten_bind_b2Manifold_get_type_0 = function () { + return b.asm._emscripten_bind_b2Manifold_get_type_0.apply(null, arguments); + }), + tk = (b._emscripten_bind_b2Body_Dump_0 = function () { + return b.asm._emscripten_bind_b2Body_Dump_0.apply(null, arguments); + }), + uk = (b._emscripten_bind_b2RevoluteJoint_GetLowerLimit_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetLowerLimit_0.apply(null, arguments); + }), + vk = (b._emscripten_bind_b2Body_GetWorldCenter_0 = function () { + return b.asm._emscripten_bind_b2Body_GetWorldCenter_0.apply(null, arguments); + }), + wk = (b._emscripten_bind_b2WheelJointDef_set_maxMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_maxMotorTorque_1.apply(null, arguments); + }), + xk = (b._emscripten_bind_b2BodyDef_set_linearVelocity_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_linearVelocity_1.apply(null, arguments); + }), + yk = (b._emscripten_bind_b2JointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2JointDef_set_collideConnected_1.apply(null, arguments); + }), + zk = (b._emscripten_bind_b2MotorJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2MotorJoint___destroy___0.apply(null, arguments); + }), + Ak = (b._emscripten_bind_b2Body_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2Body_GetUserData_0.apply(null, arguments); + }), + Bk = (b._emscripten_bind_b2Body_GetAngularDamping_0 = function () { + return b.asm._emscripten_bind_b2Body_GetAngularDamping_0.apply(null, arguments); + }), + Ck = (b._emscripten_bind_b2Fixture_RayCast_3 = function () { + return b.asm._emscripten_bind_b2Fixture_RayCast_3.apply(null, arguments); + }), + Dk = (b._emscripten_bind_b2JointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2JointDef_set_bodyA_1.apply(null, arguments); + }), + Ek = (b._emscripten_bind_b2GearJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_collideConnected_0.apply(null, arguments); + }), + Fk = (b._emscripten_bind_b2RopeJointDef_get_maxLength_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_maxLength_0.apply(null, arguments); + }), + Gk = (b._emscripten_bind_b2MouseJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_bodyA_0.apply(null, arguments); + }), + Hk = (b._emscripten_bind_b2Body_SetBullet_1 = function () { + return b.asm._emscripten_bind_b2Body_SetBullet_1.apply(null, arguments); + }), + Ik = (b._emscripten_bind_b2DistanceJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetType_0.apply(null, arguments); + }), + Jk = (b._emscripten_bind_b2FixtureDef_get_restitution_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_restitution_0.apply(null, arguments); + }), + Kk = (b._emscripten_bind_b2Fixture_GetType_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetType_0.apply(null, arguments); + }), + Lk = (b._emscripten_bind_b2WheelJointDef_set_enableMotor_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_enableMotor_1.apply(null, arguments); + }), + Mk = (b._emscripten_bind_b2RevoluteJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetBodyB_0.apply(null, arguments); + }), + Nk = (b._emscripten_bind_b2Profile_set_solveInit_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_solveInit_1.apply(null, arguments); + }), + Ok = (b._emscripten_bind_b2RopeJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_type_1.apply(null, arguments); + }), + Pk = (b._emscripten_bind_b2PrismaticJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_bodyB_0.apply(null, arguments); + }), + Qk = (b._emscripten_bind_b2GearJoint_GetJoint2_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetJoint2_0.apply(null, arguments); + }), + Rk = (b._emscripten_bind_b2PulleyJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_userData_0.apply(null, arguments); + }), + Sk = (b._emscripten_bind_b2PrismaticJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_bodyB_1.apply(null, arguments); + }), + Tk = (b._emscripten_bind_b2FrictionJointDef_b2FrictionJointDef_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_b2FrictionJointDef_0.apply(null, arguments); + }), + Uk = (b._emscripten_bind_b2PulleyJoint_GetCurrentLengthA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetCurrentLengthA_0.apply(null, arguments); + }), + Vk = (b._emscripten_bind_b2Manifold_get_localNormal_0 = function () { + return b.asm._emscripten_bind_b2Manifold_get_localNormal_0.apply(null, arguments); + }), + Wk = (b._emscripten_bind_b2Vec3_b2Vec3_0 = function () { + return b.asm._emscripten_bind_b2Vec3_b2Vec3_0.apply(null, arguments); + }), + Xk = (b._emscripten_bind_b2Body_SetSleepingAllowed_1 = function () { + return b.asm._emscripten_bind_b2Body_SetSleepingAllowed_1.apply(null, arguments); + }), + Yk = (b._emscripten_bind_b2DistanceJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint___destroy___0.apply(null, arguments); + }), + Zk = (b._emscripten_bind_b2PrismaticJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetAnchorA_0.apply(null, arguments); + }), + $k = (b._emscripten_bind_b2Manifold_set_pointCount_1 = function () { + return b.asm._emscripten_bind_b2Manifold_set_pointCount_1.apply(null, arguments); + }), + al = (b._emscripten_bind_b2PrismaticJoint_IsMotorEnabled_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_IsMotorEnabled_0.apply(null, arguments); + }), + bl = (b._emscripten_bind_b2WeldJoint_GetFrequency_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetFrequency_0.apply(null, arguments); + }), + cl = (b._emscripten_bind_b2Joint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetUserData_0.apply(null, arguments); + }), + dl = (b._emscripten_bind_b2WorldManifold_get_points_1 = function () { + return b.asm._emscripten_bind_b2WorldManifold_get_points_1.apply(null, arguments); + }), + el = (b._emscripten_bind_b2RevoluteJointDef_get_lowerAngle_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_lowerAngle_0.apply(null, arguments); + }), + fl = (b._emscripten_bind_b2Manifold_set_type_1 = function () { + return b.asm._emscripten_bind_b2Manifold_set_type_1.apply(null, arguments); + }), + gl = (b._emscripten_bind_b2Vec3_b2Vec3_3 = function () { + return b.asm._emscripten_bind_b2Vec3_b2Vec3_3.apply(null, arguments); + }), + hl = (b._emscripten_bind_b2RopeJointDef_set_maxLength_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_maxLength_1.apply(null, arguments); + }), + il = (b._emscripten_bind_b2ChainShape_TestPoint_2 = function () { + return b.asm._emscripten_bind_b2ChainShape_TestPoint_2.apply(null, arguments); + }), + jl = (b._emscripten_bind_b2PrismaticJoint_GetReferenceAngle_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetReferenceAngle_0.apply(null, arguments); + }), + kl = (b._emscripten_bind_b2RayCastInput_get_p2_0 = function () { + return b.asm._emscripten_bind_b2RayCastInput_get_p2_0.apply(null, arguments); + }), + ll = (b._emscripten_bind_b2BodyDef_set_angle_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_angle_1.apply(null, arguments); + }), + ml = (b._emscripten_bind_b2WeldJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetUserData_0.apply(null, arguments); + }), + nl = (b._emscripten_bind_b2WheelJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_localAnchorA_0.apply(null, arguments); + }), + ol = (b._emscripten_bind_b2PulleyJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_type_1.apply(null, arguments); + }), + pl = (b._emscripten_bind_b2Body_IsBullet_0 = function () { + return b.asm._emscripten_bind_b2Body_IsBullet_0.apply(null, arguments); + }), + ql = (b._emscripten_bind_b2MotorJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_bodyA_1.apply(null, arguments); + }), + rl = (b._emscripten_bind_b2Fixture_TestPoint_1 = function () { + return b.asm._emscripten_bind_b2Fixture_TestPoint_1.apply(null, arguments); + }), + sl = (b._emscripten_bind_b2Mat33_GetSymInverse33_1 = function () { + return b.asm._emscripten_bind_b2Mat33_GetSymInverse33_1.apply(null, arguments); + }), + tl = (b._emscripten_bind_JSDraw_DrawPolygon_3 = function () { + return b.asm._emscripten_bind_JSDraw_DrawPolygon_3.apply(null, arguments); + }), + ul = (b._emscripten_bind_b2PolygonShape_ComputeMass_2 = function () { + return b.asm._emscripten_bind_b2PolygonShape_ComputeMass_2.apply(null, arguments); + }), + vl = (b._emscripten_bind_b2PrismaticJoint_EnableMotor_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_EnableMotor_1.apply(null, arguments); + }), + wl = (b._emscripten_bind_b2PrismaticJointDef_set_upperTranslation_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_upperTranslation_1.apply( + null, + arguments + ); + }), + xl = (b._emscripten_bind_b2MouseJoint_SetFrequency_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_SetFrequency_1.apply(null, arguments); + }), + yl = (b._emscripten_bind_b2EdgeShape_get_m_vertex1_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_vertex1_0.apply(null, arguments); + }), + zl = (b._emscripten_bind_b2BodyDef_set_awake_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_awake_1.apply(null, arguments); + }), + Al = (b._emscripten_bind_b2Vec2_get_y_0 = function () { + return b.asm._emscripten_bind_b2Vec2_get_y_0.apply(null, arguments); + }), + Bl = (b._emscripten_bind_b2Filter_set_categoryBits_1 = function () { + return b.asm._emscripten_bind_b2Filter_set_categoryBits_1.apply(null, arguments); + }), + Cl = (b._emscripten_bind_b2Body_CreateFixture_2 = function () { + return b.asm._emscripten_bind_b2Body_CreateFixture_2.apply(null, arguments); + }), + Dl = (b._emscripten_bind_b2Body_SetActive_1 = function () { + return b.asm._emscripten_bind_b2Body_SetActive_1.apply(null, arguments); + }), + El = (b._emscripten_bind_b2ContactFeature_get_indexB_0 = function () { + return b.asm._emscripten_bind_b2ContactFeature_get_indexB_0.apply(null, arguments); + }), + Fl = (b._emscripten_bind_b2Fixture_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetUserData_0.apply(null, arguments); + }), + Gl = (b._emscripten_bind_b2PolygonShape_ComputeAABB_3 = function () { + return b.asm._emscripten_bind_b2PolygonShape_ComputeAABB_3.apply(null, arguments); + }), + Hl = (b._emscripten_bind_b2ContactFeature_get_typeA_0 = function () { + return b.asm._emscripten_bind_b2ContactFeature_get_typeA_0.apply(null, arguments); + }), + Il = (b._emscripten_bind_b2MouseJointDef_set_maxForce_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_maxForce_1.apply(null, arguments); + }), + Jl = (b._emscripten_bind_b2PrismaticJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + Kl = (b._emscripten_bind_b2EdgeShape_TestPoint_2 = function () { + return b.asm._emscripten_bind_b2EdgeShape_TestPoint_2.apply(null, arguments); + }), + Ll = (b._emscripten_bind_b2WorldManifold_Initialize_5 = function () { + return b.asm._emscripten_bind_b2WorldManifold_Initialize_5.apply(null, arguments); + }), + Ml = (b._emscripten_bind_b2PolygonShape_get_m_centroid_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_get_m_centroid_0.apply(null, arguments); + }), + Nl = (b._emscripten_bind_b2ChainShape___destroy___0 = function () { + return b.asm._emscripten_bind_b2ChainShape___destroy___0.apply(null, arguments); + }), + Ol = (b._emscripten_bind_b2GearJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2GearJoint_SetUserData_1.apply(null, arguments); + }), + Pl = (b._emscripten_bind_b2Vec3_set_z_1 = function () { + return b.asm._emscripten_bind_b2Vec3_set_z_1.apply(null, arguments); + }), + Ql = (b._emscripten_bind_b2PrismaticJointDef_set_enableLimit_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_enableLimit_1.apply(null, arguments); + }), + Rl = (b._emscripten_bind_b2DistanceJoint_GetFrequency_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetFrequency_0.apply(null, arguments); + }), + Sl = (b._emscripten_bind_b2PrismaticJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_collideConnected_0.apply( + null, + arguments + ); + }), + Tl = (b._emscripten_bind_b2Body_SetGravityScale_1 = function () { + return b.asm._emscripten_bind_b2Body_SetGravityScale_1.apply(null, arguments); + }), + Ul = (b._emscripten_enum_b2ContactFeatureType_e_face = function () { + return b.asm._emscripten_enum_b2ContactFeatureType_e_face.apply(null, arguments); + }), + Vl = (b._emscripten_bind_b2RevoluteJoint_GetUpperLimit_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetUpperLimit_0.apply(null, arguments); + }), + Wl = (b._emscripten_bind_b2PulleyJointDef_get_lengthA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_lengthA_0.apply(null, arguments); + }), + Xl = (b._emscripten_bind_b2Vec3_set_x_1 = function () { + return b.asm._emscripten_bind_b2Vec3_set_x_1.apply(null, arguments); + }), + Yl = (b._emscripten_bind_b2PulleyJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_type_0.apply(null, arguments); + }), + Zl = (b._emscripten_bind_JSDestructionListener_SayGoodbyeJoint_1 = function () { + return b.asm._emscripten_bind_JSDestructionListener_SayGoodbyeJoint_1.apply(null, arguments); + }), + $l = (b._emscripten_bind_b2Shape___destroy___0 = function () { + return b.asm._emscripten_bind_b2Shape___destroy___0.apply(null, arguments); + }), + am = (b._emscripten_bind_b2Joint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2Joint_GetReactionForce_1.apply(null, arguments); + }), + bm = (b._emscripten_bind_b2FixtureDef_set_friction_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_friction_1.apply(null, arguments); + }), + cm = (b._emscripten_bind_b2ContactID___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactID___destroy___0.apply(null, arguments); + }), + dm = (b._emscripten_bind_b2EdgeShape_get_m_hasVertex0_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_hasVertex0_0.apply(null, arguments); + }), + em = (b._emscripten_bind_b2World_GetBodyCount_0 = function () { + return b.asm._emscripten_bind_b2World_GetBodyCount_0.apply(null, arguments); + }), + fm = (b._emscripten_bind_b2JointEdge_get_prev_0 = function () { + return b.asm._emscripten_bind_b2JointEdge_get_prev_0.apply(null, arguments); + }), + gm = (b._emscripten_bind_b2MotorJointDef_get_linearOffset_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_linearOffset_0.apply(null, arguments); + }), + hm = (b._emscripten_bind_b2MotorJointDef_Initialize_2 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_Initialize_2.apply(null, arguments); + }), + im = (b._emscripten_bind_b2PrismaticJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetAnchorB_0.apply(null, arguments); + }), + jm = (b._emscripten_bind_b2Body_SetLinearVelocity_1 = function () { + return b.asm._emscripten_bind_b2Body_SetLinearVelocity_1.apply(null, arguments); + }), + km = (b._emscripten_enum_b2BodyType_b2_staticBody = function () { + return b.asm._emscripten_enum_b2BodyType_b2_staticBody.apply(null, arguments); + }), + lm = (b._emscripten_bind_b2RevoluteJointDef_set_upperAngle_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_upperAngle_1.apply(null, arguments); + }), + mm = (b._emscripten_bind_b2RevoluteJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_type_0.apply(null, arguments); + }), + nm = (b._emscripten_bind_b2GearJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_type_0.apply(null, arguments); + }), + om = (b._emscripten_bind_b2ChainShape_GetType_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_GetType_0.apply(null, arguments); + }), + pm = (b._emscripten_bind_b2RayCastInput_get_maxFraction_0 = function () { + return b.asm._emscripten_bind_b2RayCastInput_get_maxFraction_0.apply(null, arguments); + }), + qm = (b._emscripten_bind_b2GearJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetBodyA_0.apply(null, arguments); + }), + rm = (b._emscripten_bind_b2Body_GetLocalVector_1 = function () { + return b.asm._emscripten_bind_b2Body_GetLocalVector_1.apply(null, arguments); + }), + sm = (b._emscripten_bind_b2PrismaticJoint_EnableLimit_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_EnableLimit_1.apply(null, arguments); + }), + tm = (b._emscripten_bind_b2FrictionJointDef_get_maxForce_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_maxForce_0.apply(null, arguments); + }), + um = (b._emscripten_bind_b2BodyDef_set_angularVelocity_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_angularVelocity_1.apply(null, arguments); + }), + wm = (b._emscripten_bind_b2Body_SetLinearDamping_1 = function () { + return b.asm._emscripten_bind_b2Body_SetLinearDamping_1.apply(null, arguments); + }), + xm = (b._emscripten_bind_b2WheelJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetBodyB_0.apply(null, arguments); + }), + ym = (b._emscripten_bind_b2GearJointDef_get_joint2_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_joint2_0.apply(null, arguments); + }), + zm = (b._emscripten_bind_b2PrismaticJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_IsActive_0.apply(null, arguments); + }), + Am = (b._emscripten_bind_b2Vec3_get_z_0 = function () { + return b.asm._emscripten_bind_b2Vec3_get_z_0.apply(null, arguments); + }), + Bm = (b._emscripten_bind_b2Filter_get_categoryBits_0 = function () { + return b.asm._emscripten_bind_b2Filter_get_categoryBits_0.apply(null, arguments); + }), + Cm = (b._emscripten_bind_b2Color_get_r_0 = function () { + return b.asm._emscripten_bind_b2Color_get_r_0.apply(null, arguments); + }), + Dm = (b._emscripten_enum_b2JointType_e_weldJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_weldJoint.apply(null, arguments); + }), + Em = (b._emscripten_bind_b2World_SetContinuousPhysics_1 = function () { + return b.asm._emscripten_bind_b2World_SetContinuousPhysics_1.apply(null, arguments); + }), + Fm = (b._emscripten_bind_b2MouseJointDef_get_target_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_target_0.apply(null, arguments); + }), + Gm = (b._emscripten_bind_b2Body_SetTransform_2 = function () { + return b.asm._emscripten_bind_b2Body_SetTransform_2.apply(null, arguments); + }), + Hm = (b._emscripten_bind_b2PulleyJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_userData_1.apply(null, arguments); + }), + Im = (b._emscripten_bind_b2FrictionJointDef_set_maxForce_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_maxForce_1.apply(null, arguments); + }), + Jm = (b._emscripten_bind_b2DistanceJointDef_b2DistanceJointDef_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_b2DistanceJointDef_0.apply(null, arguments); + }), + Km = (b._emscripten_bind_b2BodyDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_type_0.apply(null, arguments); + }), + Lm = (b._emscripten_bind_b2Mat33_GetInverse22_1 = function () { + return b.asm._emscripten_bind_b2Mat33_GetInverse22_1.apply(null, arguments); + }), + Mm = (b._emscripten_bind_b2PulleyJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetAnchorB_0.apply(null, arguments); + }), + Nm = (b._emscripten_bind_b2WheelJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetReactionTorque_1.apply(null, arguments); + }), + Om = (b._emscripten_bind_b2RevoluteJointDef_b2RevoluteJointDef_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_b2RevoluteJointDef_0.apply(null, arguments); + }), + Pm = (b._emscripten_bind_b2ContactFeature_set_typeA_1 = function () { + return b.asm._emscripten_bind_b2ContactFeature_set_typeA_1.apply(null, arguments); + }), + Qm = (b._emscripten_bind_b2Fixture_Dump_1 = function () { + return b.asm._emscripten_bind_b2Fixture_Dump_1.apply(null, arguments); + }), + Rm = (b._emscripten_bind_b2RevoluteJointDef_get_enableLimit_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_enableLimit_0.apply(null, arguments); + }), + Sm = (b._emscripten_bind_b2Manifold_set_localPoint_1 = function () { + return b.asm._emscripten_bind_b2Manifold_set_localPoint_1.apply(null, arguments); + }), + Tm = (b._emscripten_bind_b2JointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2JointDef_get_userData_0.apply(null, arguments); + }), + Um = (b._emscripten_bind_b2BodyDef_set_bullet_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_bullet_1.apply(null, arguments); + }), + Vm = (b._emscripten_bind_b2WorldManifold___destroy___0 = function () { + return b.asm._emscripten_bind_b2WorldManifold___destroy___0.apply(null, arguments); + }), + Wm = (b._emscripten_bind_b2RayCastOutput___destroy___0 = function () { + return b.asm._emscripten_bind_b2RayCastOutput___destroy___0.apply(null, arguments); + }), + Xm = (b._emscripten_bind_JSContactListener___destroy___0 = function () { + return b.asm._emscripten_bind_JSContactListener___destroy___0.apply(null, arguments); + }), + Ym = (b._emscripten_bind_b2World_DrawDebugData_0 = function () { + return b.asm._emscripten_bind_b2World_DrawDebugData_0.apply(null, arguments); + }); + b.___cxa_can_catch = function () { + return b.asm.___cxa_can_catch.apply(null, arguments); + }; + var Zm = (b._emscripten_bind_b2RopeJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_localAnchorA_0.apply(null, arguments); + }), + $m = (b._emscripten_bind_b2Profile_set_solveVelocity_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_solveVelocity_1.apply(null, arguments); + }), + an = (b._emscripten_bind_b2GearJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_userData_0.apply(null, arguments); + }), + bn = (b._emscripten_bind_b2Filter_set_groupIndex_1 = function () { + return b.asm._emscripten_bind_b2Filter_set_groupIndex_1.apply(null, arguments); + }), + cn = (b._emscripten_bind_b2JointDef_b2JointDef_0 = function () { + return b.asm._emscripten_bind_b2JointDef_b2JointDef_0.apply(null, arguments); + }), + dn = (b._emscripten_bind_b2Rot_set_c_1 = function () { + return b.asm._emscripten_bind_b2Rot_set_c_1.apply(null, arguments); + }), + en = (b._emscripten_bind_b2GearJointDef_b2GearJointDef_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_b2GearJointDef_0.apply(null, arguments); + }), + fn = (b._emscripten_bind_b2JointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2JointDef_get_bodyB_0.apply(null, arguments); + }), + gn = (b._emscripten_bind_b2DistanceJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetReactionForce_1.apply(null, arguments); + }), + hn = (b._emscripten_bind_b2PrismaticJoint_GetJointSpeed_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetJointSpeed_0.apply(null, arguments); + }), + jn = (b._emscripten_bind_b2MouseJointDef_set_frequencyHz_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_frequencyHz_1.apply(null, arguments); + }), + kn = (b._emscripten_bind_b2PulleyJointDef_get_groundAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_groundAnchorA_0.apply(null, arguments); + }), + ln = (b._emscripten_bind_b2Joint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetAnchorA_0.apply(null, arguments); + }), + mn = (b._emscripten_bind_b2Contact_GetRestitution_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetRestitution_0.apply(null, arguments); + }), + nn = (b._emscripten_bind_b2ContactEdge_get_contact_0 = function () { + return b.asm._emscripten_bind_b2ContactEdge_get_contact_0.apply(null, arguments); + }), + on = (b._emscripten_bind_b2RevoluteJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_userData_0.apply(null, arguments); + }), + pn = (b._emscripten_bind_b2Body_ResetMassData_0 = function () { + return b.asm._emscripten_bind_b2Body_ResetMassData_0.apply(null, arguments); + }), + qn = (b._emscripten_bind_b2Fixture_GetAABB_1 = function () { + return b.asm._emscripten_bind_b2Fixture_GetAABB_1.apply(null, arguments); + }), + rn = (b._emscripten_bind_b2PrismaticJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_collideConnected_1.apply( + null, + arguments + ); + }), + sn = (b._emscripten_bind_b2Body_GetMassData_1 = function () { + return b.asm._emscripten_bind_b2Body_GetMassData_1.apply(null, arguments); + }), + tn = (b._emscripten_bind_b2RevoluteJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_localAnchorA_0.apply(null, arguments); + }), + un = (b._emscripten_bind_b2EdgeShape_ComputeMass_2 = function () { + return b.asm._emscripten_bind_b2EdgeShape_ComputeMass_2.apply(null, arguments); + }), + vn = (b._emscripten_bind_b2GearJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_bodyB_0.apply(null, arguments); + }), + wn = (b._emscripten_enum_b2LimitState_e_atLowerLimit = function () { + return b.asm._emscripten_enum_b2LimitState_e_atLowerLimit.apply(null, arguments); + }), + xn = (b._emscripten_bind_b2ManifoldPoint_set_id_1 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_set_id_1.apply(null, arguments); + }), + yn = (b._emscripten_bind_b2WheelJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_bodyB_0.apply(null, arguments); + }), + zn = (b._emscripten_bind_b2WeldJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + An = (b._emscripten_bind_b2RevoluteJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_localAnchorB_1.apply(null, arguments); + }), + Bn = (b._emscripten_bind_b2Body_DestroyFixture_1 = function () { + return b.asm._emscripten_bind_b2Body_DestroyFixture_1.apply(null, arguments); + }), + Cn = (b._emscripten_bind_b2Profile_set_broadphase_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_broadphase_1.apply(null, arguments); + }), + Dn = (b._emscripten_bind_b2WheelJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_localAnchorB_0.apply(null, arguments); + }), + En = (b._emscripten_bind_b2ContactImpulse_get_count_0 = function () { + return b.asm._emscripten_bind_b2ContactImpulse_get_count_0.apply(null, arguments); + }), + Fn = (b._emscripten_bind_b2World_GetJointCount_0 = function () { + return b.asm._emscripten_bind_b2World_GetJointCount_0.apply(null, arguments); + }), + Gn = (b._emscripten_bind_b2WheelJoint_GetMotorSpeed_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetMotorSpeed_0.apply(null, arguments); + }), + Hn = (b._emscripten_bind_b2WheelJointDef_get_dampingRatio_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_dampingRatio_0.apply(null, arguments); + }), + In = (b._emscripten_bind_b2RayCastOutput_get_fraction_0 = function () { + return b.asm._emscripten_bind_b2RayCastOutput_get_fraction_0.apply(null, arguments); + }), + Jn = (b._emscripten_bind_b2AABB___destroy___0 = function () { + return b.asm._emscripten_bind_b2AABB___destroy___0.apply(null, arguments); + }), + Kn = (b._emscripten_bind_b2GearJoint_SetRatio_1 = function () { + return b.asm._emscripten_bind_b2GearJoint_SetRatio_1.apply(null, arguments); + }), + Ln = (b._emscripten_bind_b2Body_ApplyLinearImpulse_3 = function () { + return b.asm._emscripten_bind_b2Body_ApplyLinearImpulse_3.apply(null, arguments); + }), + Mn = (b._emscripten_bind_b2Filter___destroy___0 = function () { + return b.asm._emscripten_bind_b2Filter___destroy___0.apply(null, arguments); + }), + Nn = (b._emscripten_bind_b2RopeJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_userData_0.apply(null, arguments); + }); + b.___cxa_is_pointer_type = function () { + return b.asm.___cxa_is_pointer_type.apply(null, arguments); + }; + var On = (b._emscripten_bind_b2BodyDef_get_fixedRotation_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_fixedRotation_0.apply(null, arguments); + }), + Pn = (b._emscripten_bind_b2PrismaticJointDef_set_motorSpeed_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_motorSpeed_1.apply(null, arguments); + }), + Qn = (b._emscripten_bind_b2ChainShape_SetPrevVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_SetPrevVertex_1.apply(null, arguments); + }), + Rn = (b._emscripten_bind_b2MotorJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_IsActive_0.apply(null, arguments); + }), + Sn = (b._emscripten_bind_b2MouseJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetReactionTorque_1.apply(null, arguments); + }), + Tn = (b._emscripten_bind_b2DistanceJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_collideConnected_1.apply( + null, + arguments + ); + }), + Un = (b._emscripten_bind_b2WheelJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetUserData_0.apply(null, arguments); + }), + Vn = (b._emscripten_bind_b2Vec3_op_sub_1 = function () { + return b.asm._emscripten_bind_b2Vec3_op_sub_1.apply(null, arguments); + }), + Wn = (b._emscripten_bind_b2WheelJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetNext_0.apply(null, arguments); + }), + Xn = (b._emscripten_bind_b2Shape_GetType_0 = function () { + return b.asm._emscripten_bind_b2Shape_GetType_0.apply(null, arguments); + }), + Yn = (b._emscripten_bind_b2AABB_IsValid_0 = function () { + return b.asm._emscripten_bind_b2AABB_IsValid_0.apply(null, arguments); + }), + Zn = (b._emscripten_bind_b2WheelJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetBodyA_0.apply(null, arguments); + }), + $n = (b._emscripten_enum_b2ShapeType_e_chain = function () { + return b.asm._emscripten_enum_b2ShapeType_e_chain.apply(null, arguments); + }), + ao = (b._emscripten_bind_b2PulleyJoint_GetLengthA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetLengthA_0.apply(null, arguments); + }), + bo = (b._emscripten_bind_b2DistanceJointDef_get_frequencyHz_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_frequencyHz_0.apply(null, arguments); + }), + co = (b._emscripten_bind_b2RevoluteJoint_SetMotorSpeed_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_SetMotorSpeed_1.apply(null, arguments); + }), + eo = (b._emscripten_bind_b2World___destroy___0 = function () { + return b.asm._emscripten_bind_b2World___destroy___0.apply(null, arguments); + }), + fo = (b._emscripten_bind_b2ChainShape_set_m_prevVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_prevVertex_1.apply(null, arguments); + }), + go = (b._emscripten_bind_b2ChainShape_get_m_hasNextVertex_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_hasNextVertex_0.apply(null, arguments); + }), + ho = (b._emscripten_bind_b2ChainShape_SetNextVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_SetNextVertex_1.apply(null, arguments); + }), + io = (b._emscripten_bind_b2Body_SetType_1 = function () { + return b.asm._emscripten_bind_b2Body_SetType_1.apply(null, arguments); + }), + jo = (b._emscripten_bind_b2Body_GetMass_0 = function () { + return b.asm._emscripten_bind_b2Body_GetMass_0.apply(null, arguments); + }), + ko = (b._emscripten_bind_b2Rot_b2Rot_0 = function () { + return b.asm._emscripten_bind_b2Rot_b2Rot_0.apply(null, arguments); + }), + lo = (b._emscripten_bind_b2Rot_b2Rot_1 = function () { + return b.asm._emscripten_bind_b2Rot_b2Rot_1.apply(null, arguments); + }), + mo = (b._emscripten_enum_b2JointType_e_distanceJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_distanceJoint.apply(null, arguments); + }), + no = (b._emscripten_bind_b2WheelJoint_SetSpringDampingRatio_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_SetSpringDampingRatio_1.apply(null, arguments); + }), + oo = (b._emscripten_bind_b2MouseJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetType_0.apply(null, arguments); + }), + po = (b._emscripten_bind_b2MouseJoint_GetTarget_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetTarget_0.apply(null, arguments); + }), + qo = (b._emscripten_bind_JSQueryCallback___destroy___0 = function () { + return b.asm._emscripten_bind_JSQueryCallback___destroy___0.apply(null, arguments); + }), + ro = (b._emscripten_bind_b2Fixture_Refilter_0 = function () { + return b.asm._emscripten_bind_b2Fixture_Refilter_0.apply(null, arguments); + }), + so = (b._emscripten_bind_b2RevoluteJointDef_set_lowerAngle_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_lowerAngle_1.apply(null, arguments); + }), + to = (b._emscripten_bind_b2JointEdge___destroy___0 = function () { + return b.asm._emscripten_bind_b2JointEdge___destroy___0.apply(null, arguments); + }), + uo = (b._emscripten_bind_b2PulleyJoint_GetRatio_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetRatio_0.apply(null, arguments); + }), + vo = (b._emscripten_bind_JSContactListener_BeginContact_1 = function () { + return b.asm._emscripten_bind_JSContactListener_BeginContact_1.apply(null, arguments); + }), + wo = (b._emscripten_bind_b2MotorJointDef_set_linearOffset_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_linearOffset_1.apply(null, arguments); + }), + xo = (b._emscripten_enum_b2JointType_e_motorJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_motorJoint.apply(null, arguments); + }), + yo = (b._emscripten_bind_b2EdgeShape_get_m_vertex2_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_vertex2_0.apply(null, arguments); + }), + zo = (b._emscripten_bind_b2JointEdge_get_next_0 = function () { + return b.asm._emscripten_bind_b2JointEdge_get_next_0.apply(null, arguments); + }), + Ao = (b._emscripten_bind_b2RayCastInput_set_maxFraction_1 = function () { + return b.asm._emscripten_bind_b2RayCastInput_set_maxFraction_1.apply(null, arguments); + }), + Bo = (b._emscripten_bind_b2MouseJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetBodyA_0.apply(null, arguments); + }), + Co = (b._emscripten_bind_b2BodyDef_get_awake_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_awake_0.apply(null, arguments); + }), + Do = (b._emscripten_bind_b2AABB_b2AABB_0 = function () { + return b.asm._emscripten_bind_b2AABB_b2AABB_0.apply(null, arguments); + }), + Eo = (b._emscripten_bind_b2Fixture_SetFriction_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetFriction_1.apply(null, arguments); + }), + Fo = (b._emscripten_enum_b2DrawFlag_e_centerOfMassBit = function () { + return b.asm._emscripten_enum_b2DrawFlag_e_centerOfMassBit.apply(null, arguments); + }), + Go = (b._emscripten_bind_b2World_CreateBody_1 = function () { + return b.asm._emscripten_bind_b2World_CreateBody_1.apply(null, arguments); + }), + Ho = (b._emscripten_bind_b2RopeJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_userData_1.apply(null, arguments); + }), + Io = (b._emscripten_bind_b2WeldJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetNext_0.apply(null, arguments); + }), + Jo = (b._emscripten_bind_b2WeldJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetType_0.apply(null, arguments); + }), + Ko = (b._emscripten_enum_b2ContactFeatureType_e_vertex = function () { + return b.asm._emscripten_enum_b2ContactFeatureType_e_vertex.apply(null, arguments); + }), + Lo = (b._emscripten_bind_b2Rot___destroy___0 = function () { + return b.asm._emscripten_bind_b2Rot___destroy___0.apply(null, arguments); + }), + Mo = (b._emscripten_bind_b2Filter_get_maskBits_0 = function () { + return b.asm._emscripten_bind_b2Filter_get_maskBits_0.apply(null, arguments); + }), + No = (b._emscripten_bind_b2Mat22_get_ex_0 = function () { + return b.asm._emscripten_bind_b2Mat22_get_ex_0.apply(null, arguments); + }), + Oo = (b._emscripten_bind_b2Body_GetFixtureList_0 = function () { + return b.asm._emscripten_bind_b2Body_GetFixtureList_0.apply(null, arguments); + }), + Po = (b._emscripten_bind_b2PulleyJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint___destroy___0.apply(null, arguments); + }), + Qo = (b._emscripten_bind_b2MouseJointDef_set_dampingRatio_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_dampingRatio_1.apply(null, arguments); + }), + Ro = (b._emscripten_bind_JSRayCastCallback___destroy___0 = function () { + return b.asm._emscripten_bind_JSRayCastCallback___destroy___0.apply(null, arguments); + }), + So = (b._emscripten_bind_b2ContactListener___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactListener___destroy___0.apply(null, arguments); + }), + To = (b._emscripten_bind_b2PrismaticJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_localAnchorB_1.apply(null, arguments); + }); + b.establishStackSpace = function () { + return b.asm.establishStackSpace.apply(null, arguments); + }; + var Uo = (b._emscripten_bind_b2FrictionJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint___destroy___0.apply(null, arguments); + }), + Vo = (b._emscripten_bind_b2WeldJoint_Dump_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_Dump_0.apply(null, arguments); + }), + Wo = (b._emscripten_bind_b2MotorJoint_SetMaxForce_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetMaxForce_1.apply(null, arguments); + }), + Xo = (b._emscripten_bind_b2MouseJoint_GetFrequency_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetFrequency_0.apply(null, arguments); + }), + Yo = (b._emscripten_bind_b2FrictionJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + Zo = (b._emscripten_bind_b2RevoluteJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_collideConnected_1.apply( + null, + arguments + ); + }), + $o = (b._emscripten_bind_b2GearJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_collideConnected_1.apply(null, arguments); + }), + ap = (b._emscripten_bind_b2Vec2_IsValid_0 = function () { + return b.asm._emscripten_bind_b2Vec2_IsValid_0.apply(null, arguments); + }), + bp = (b._emscripten_bind_b2PrismaticJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_bodyA_1.apply(null, arguments); + }), + cp = (b._emscripten_bind_b2World_GetWarmStarting_0 = function () { + return b.asm._emscripten_bind_b2World_GetWarmStarting_0.apply(null, arguments); + }), + dp = (b._emscripten_bind_b2RevoluteJointDef_set_enableLimit_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_enableLimit_1.apply(null, arguments); + }), + ep = (b._emscripten_bind_b2WeldJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef___destroy___0.apply(null, arguments); + }), + fp = (b._emscripten_bind_b2Mat22_Solve_1 = function () { + return b.asm._emscripten_bind_b2Mat22_Solve_1.apply(null, arguments); + }), + gp = (b._emscripten_bind_b2Color_get_g_0 = function () { + return b.asm._emscripten_bind_b2Color_get_g_0.apply(null, arguments); + }), + hp = (b._emscripten_bind_VoidPtr___destroy___0 = function () { + return b.asm._emscripten_bind_VoidPtr___destroy___0.apply(null, arguments); + }), + ip = (b._emscripten_bind_b2RopeJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetNext_0.apply(null, arguments); + }), + jp = (b._emscripten_bind_b2EdgeShape_get_m_type_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_type_0.apply(null, arguments); + }), + kp = (b._emscripten_bind_b2PolygonShape_GetChildCount_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_GetChildCount_0.apply(null, arguments); + }), + lp = (b._emscripten_bind_b2GearJointDef_get_ratio_0 = function () { + return b.asm._emscripten_bind_b2GearJointDef_get_ratio_0.apply(null, arguments); + }), + mp = (b._emscripten_bind_b2Mat33_Solve33_1 = function () { + return b.asm._emscripten_bind_b2Mat33_Solve33_1.apply(null, arguments); + }), + np = (b._emscripten_bind_b2WeldJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_userData_1.apply(null, arguments); + }), + op = (b._emscripten_bind_b2PrismaticJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + pp = (b._emscripten_bind_b2RevoluteJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef___destroy___0.apply(null, arguments); + }), + qp = (b._emscripten_bind_b2MotorJointDef_get_correctionFactor_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_correctionFactor_0.apply(null, arguments); + }), + rp = (b._emscripten_bind_b2ContactFeature_get_typeB_0 = function () { + return b.asm._emscripten_bind_b2ContactFeature_get_typeB_0.apply(null, arguments); + }), + sp = (b._emscripten_bind_b2ContactID_get_key_0 = function () { + return b.asm._emscripten_bind_b2ContactID_get_key_0.apply(null, arguments); + }), + tp = (b._emscripten_bind_b2MotorJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetReactionForce_1.apply(null, arguments); + }), + up = (b._emscripten_bind_b2Rot_GetAngle_0 = function () { + return b.asm._emscripten_bind_b2Rot_GetAngle_0.apply(null, arguments); + }), + vp = (b._emscripten_bind_b2World_SetAllowSleeping_1 = function () { + return b.asm._emscripten_bind_b2World_SetAllowSleeping_1.apply(null, arguments); + }), + wp = (b._emscripten_bind_b2RopeJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetType_0.apply(null, arguments); + }), + xp = (b._emscripten_bind_b2MotorJoint_SetAngularOffset_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetAngularOffset_1.apply(null, arguments); + }), + yp = (b._emscripten_bind_b2MotorJoint_GetLinearOffset_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetLinearOffset_0.apply(null, arguments); + }), + zp = (b._emscripten_bind_b2FrictionJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetCollideConnected_0.apply(null, arguments); + }), + Ap = (b._emscripten_bind_b2WheelJointDef_set_motorSpeed_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_motorSpeed_1.apply(null, arguments); + }), + Bp = (b._emscripten_bind_b2MotorJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetAnchorA_0.apply(null, arguments); + }), + Cp = (b._emscripten_bind_b2Fixture_GetDensity_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetDensity_0.apply(null, arguments); + }), + Dp = (b._emscripten_bind_b2MouseJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_type_0.apply(null, arguments); + }), + Ep = (b._emscripten_bind_b2Vec2_Set_2 = function () { + return b.asm._emscripten_bind_b2Vec2_Set_2.apply(null, arguments); + }), + Fp = (b._emscripten_bind_b2WeldJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_type_0.apply(null, arguments); + }), + Gp = (b._emscripten_bind_b2MouseJointDef_b2MouseJointDef_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_b2MouseJointDef_0.apply(null, arguments); + }), + Hp = (b._emscripten_bind_b2Rot_get_s_0 = function () { + return b.asm._emscripten_bind_b2Rot_get_s_0.apply(null, arguments); + }), + Ip = (b._emscripten_bind_b2FrictionJoint_SetMaxTorque_1 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_SetMaxTorque_1.apply(null, arguments); + }), + Jp = (b._emscripten_bind_b2MouseJointDef_get_frequencyHz_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_frequencyHz_0.apply(null, arguments); + }), + Kp = (b._emscripten_bind_b2FrictionJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_SetUserData_1.apply(null, arguments); + }), + Lp = (b._emscripten_bind_b2RayCastInput_get_p1_0 = function () { + return b.asm._emscripten_bind_b2RayCastInput_get_p1_0.apply(null, arguments); + }), + Mp = (b._emscripten_bind_b2DistanceJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_collideConnected_0.apply( + null, + arguments + ); + }), + Np = (b._emscripten_bind_b2RevoluteJointDef_set_referenceAngle_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_referenceAngle_1.apply(null, arguments); + }), + Op = (b._emscripten_bind_b2ContactFeature___destroy___0 = function () { + return b.asm._emscripten_bind_b2ContactFeature___destroy___0.apply(null, arguments); + }), + Pp = (b._emscripten_bind_b2Color___destroy___0 = function () { + return b.asm._emscripten_bind_b2Color___destroy___0.apply(null, arguments); + }), + Qp = (b._emscripten_bind_b2DistanceJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_bodyB_1.apply(null, arguments); + }), + Rp = (b._emscripten_bind_b2ChainShape_get_m_hasPrevVertex_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_hasPrevVertex_0.apply(null, arguments); + }), + Sp = (b._emscripten_bind_b2PulleyJointDef_b2PulleyJointDef_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_b2PulleyJointDef_0.apply(null, arguments); + }), + Tp = (b._emscripten_bind_b2RevoluteJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetType_0.apply(null, arguments); + }), + Up = (b._emscripten_bind_b2MassData_b2MassData_0 = function () { + return b.asm._emscripten_bind_b2MassData_b2MassData_0.apply(null, arguments); + }), + Vp = (b._emscripten_bind_b2Vec3_set_y_1 = function () { + return b.asm._emscripten_bind_b2Vec3_set_y_1.apply(null, arguments); + }), + Wp = (b._emscripten_bind_b2BodyDef_set_angularDamping_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_angularDamping_1.apply(null, arguments); + }), + Xp = (b._emscripten_bind_b2AABB_Combine_1 = function () { + return b.asm._emscripten_bind_b2AABB_Combine_1.apply(null, arguments); + }), + Yp = (b._emscripten_bind_b2WheelJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_bodyB_1.apply(null, arguments); + }), + Zp = (b._emscripten_bind_b2PrismaticJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetBodyA_0.apply(null, arguments); + }), + $p = (b._emscripten_bind_b2PrismaticJoint_GetMaxMotorForce_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetMaxMotorForce_0.apply(null, arguments); + }), + aq = (b._emscripten_bind_b2RevoluteJointDef_get_upperAngle_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_upperAngle_0.apply(null, arguments); + }), + bq = (b._emscripten_bind_b2Body_IsSleepingAllowed_0 = function () { + return b.asm._emscripten_bind_b2Body_IsSleepingAllowed_0.apply(null, arguments); + }), + cq = (b._emscripten_bind_b2MotorJoint_GetCorrectionFactor_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetCorrectionFactor_0.apply(null, arguments); + }), + dq = (b._emscripten_bind_b2Profile_get_solve_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_solve_0.apply(null, arguments); + }), + eq = (b._emscripten_bind_JSDestructionListener_SayGoodbyeFixture_1 = function () { + return b.asm._emscripten_bind_JSDestructionListener_SayGoodbyeFixture_1.apply( + null, + arguments + ); + }), + fq = (b._emscripten_bind_b2PolygonShape_GetVertexCount_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_GetVertexCount_0.apply(null, arguments); + }), + gq = (b._emscripten_bind_b2Rot_get_c_0 = function () { + return b.asm._emscripten_bind_b2Rot_get_c_0.apply(null, arguments); + }), + hq = (b._emscripten_bind_b2AABB_set_lowerBound_1 = function () { + return b.asm._emscripten_bind_b2AABB_set_lowerBound_1.apply(null, arguments); + }), + iq = (b._emscripten_bind_b2Fixture_SetFilterData_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetFilterData_1.apply(null, arguments); + }), + jq = (b._emscripten_bind_b2MouseJoint_SetMaxForce_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_SetMaxForce_1.apply(null, arguments); + }), + kq = (b._emscripten_bind_b2WheelJoint_IsMotorEnabled_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_IsMotorEnabled_0.apply(null, arguments); + }), + lq = (b._emscripten_bind_b2JointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2JointDef_set_userData_1.apply(null, arguments); + }), + mq = (b._emscripten_bind_b2ManifoldPoint_get_tangentImpulse_0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_get_tangentImpulse_0.apply(null, arguments); + }), + nq = (b._emscripten_bind_b2RevoluteJointDef_get_maxMotorTorque_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_maxMotorTorque_0.apply(null, arguments); + }), + oq = (b._emscripten_bind_b2WeldJointDef_get_dampingRatio_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_dampingRatio_0.apply(null, arguments); + }), + pq = (b._emscripten_bind_b2Rot_SetIdentity_0 = function () { + return b.asm._emscripten_bind_b2Rot_SetIdentity_0.apply(null, arguments); + }), + qq = (b._emscripten_bind_b2EdgeShape_b2EdgeShape_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_b2EdgeShape_0.apply(null, arguments); + }), + rq = (b._emscripten_bind_b2FrictionJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetReactionForce_1.apply(null, arguments); + }), + sq = (b._emscripten_bind_b2MouseJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetUserData_0.apply(null, arguments); + }), + tq = (b._emscripten_bind_b2DistanceJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_type_1.apply(null, arguments); + }), + uq = (b._emscripten_bind_b2WeldJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetAnchorA_0.apply(null, arguments); + }), + vq = (b._emscripten_bind_b2WeldJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2WeldJoint___destroy___0.apply(null, arguments); + }), + wq = (b._emscripten_bind_b2Manifold_b2Manifold_0 = function () { + return b.asm._emscripten_bind_b2Manifold_b2Manifold_0.apply(null, arguments); + }), + xq = (b._emscripten_bind_JSContactListener_PostSolve_2 = function () { + return b.asm._emscripten_bind_JSContactListener_PostSolve_2.apply(null, arguments); + }), + yq = (b._emscripten_bind_b2PulleyJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetBodyA_0.apply(null, arguments); + }), + zq = (b._emscripten_bind_b2RopeJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_type_0.apply(null, arguments); + }), + Aq = (b._emscripten_bind_b2CircleShape_ComputeMass_2 = function () { + return b.asm._emscripten_bind_b2CircleShape_ComputeMass_2.apply(null, arguments); + }), + Bq = (b._emscripten_bind_b2DistanceJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Cq = (b._emscripten_bind_b2GearJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2GearJointDef___destroy___0.apply(null, arguments); + }), + Dq = (b._emscripten_bind_b2PulleyJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_localAnchorA_1.apply(null, arguments); + }), + Eq = (b._emscripten_enum_b2BodyType_b2_dynamicBody = function () { + return b.asm._emscripten_enum_b2BodyType_b2_dynamicBody.apply(null, arguments); + }), + Fq = (b._emscripten_bind_b2CircleShape_TestPoint_2 = function () { + return b.asm._emscripten_bind_b2CircleShape_TestPoint_2.apply(null, arguments); + }), + Gq = (b._emscripten_bind_b2MotorJointDef_get_maxTorque_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_maxTorque_0.apply(null, arguments); + }), + Hq = (b._emscripten_bind_b2Body_GetLinearVelocityFromLocalPoint_1 = function () { + return b.asm._emscripten_bind_b2Body_GetLinearVelocityFromLocalPoint_1.apply(null, arguments); + }), + Iq = (b._emscripten_bind_b2FrictionJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_bodyB_1.apply(null, arguments); + }), + Jq = (b._emscripten_bind_b2MouseJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetAnchorB_0.apply(null, arguments); + }), + Kq = (b._emscripten_bind_b2RopeJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Lq = (b._emscripten_bind_b2GearJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetBodyB_0.apply(null, arguments); + }), + Mq = (b._emscripten_bind_b2ChainShape_Clear_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_Clear_0.apply(null, arguments); + }), + Nq = (b._emscripten_bind_b2CircleShape___destroy___0 = function () { + return b.asm._emscripten_bind_b2CircleShape___destroy___0.apply(null, arguments); + }), + Oq = (b._emscripten_bind_b2MotorJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetType_0.apply(null, arguments); + }), + Pq = (b._emscripten_bind_b2World_GetContactCount_0 = function () { + return b.asm._emscripten_bind_b2World_GetContactCount_0.apply(null, arguments); + }), + Qq = (b._emscripten_bind_b2Contact_SetRestitution_1 = function () { + return b.asm._emscripten_bind_b2Contact_SetRestitution_1.apply(null, arguments); + }), + Rq = (b._emscripten_bind_b2BodyDef_get_angularDamping_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_angularDamping_0.apply(null, arguments); + }), + Sq = (b._emscripten_bind_b2EdgeShape_get_m_vertex3_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_vertex3_0.apply(null, arguments); + }), + Tq = (b._emscripten_bind_b2MassData_set_center_1 = function () { + return b.asm._emscripten_bind_b2MassData_set_center_1.apply(null, arguments); + }), + Uq = (b._emscripten_bind_b2Transform_SetIdentity_0 = function () { + return b.asm._emscripten_bind_b2Transform_SetIdentity_0.apply(null, arguments); + }), + Vq = (b._emscripten_bind_b2GearJointDef_set_joint1_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_joint1_1.apply(null, arguments); + }), + Wq = (b._emscripten_bind_b2EdgeShape_set_m_vertex2_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_vertex2_1.apply(null, arguments); + }), + Xq = (b._emscripten_bind_b2Contact_SetFriction_1 = function () { + return b.asm._emscripten_bind_b2Contact_SetFriction_1.apply(null, arguments); + }), + Yq = (b._emscripten_bind_b2MouseJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_set_collideConnected_1.apply(null, arguments); + }), + Zq = (b._emscripten_bind_b2ContactFeature_set_indexB_1 = function () { + return b.asm._emscripten_bind_b2ContactFeature_set_indexB_1.apply(null, arguments); + }), + $q = (b._emscripten_bind_b2Body_GetLinearVelocityFromWorldPoint_1 = function () { + return b.asm._emscripten_bind_b2Body_GetLinearVelocityFromWorldPoint_1.apply(null, arguments); + }), + ar = (b._emscripten_bind_b2WeldJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetCollideConnected_0.apply(null, arguments); + }), + br = (b._emscripten_bind_b2Mat22_GetInverse_0 = function () { + return b.asm._emscripten_bind_b2Mat22_GetInverse_0.apply(null, arguments); + }), + cr = (b._emscripten_bind_b2WheelJointDef_set_frequencyHz_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_frequencyHz_1.apply(null, arguments); + }), + dr = (b._emscripten_bind_b2World_GetSubStepping_0 = function () { + return b.asm._emscripten_bind_b2World_GetSubStepping_0.apply(null, arguments); + }), + er = (b._emscripten_bind_b2Rot_GetYAxis_0 = function () { + return b.asm._emscripten_bind_b2Rot_GetYAxis_0.apply(null, arguments); + }); + b._emscripten_get_global_libc = function () { + return b.asm._emscripten_get_global_libc.apply(null, arguments); + }; + var fr = (b._emscripten_bind_b2WheelJointDef_get_localAxisA_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_localAxisA_0.apply(null, arguments); + }), + gr = (b._emscripten_bind_b2RopeJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetBodyB_0.apply(null, arguments); + }), + hr = (b._emscripten_bind_b2EdgeShape_GetType_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_GetType_0.apply(null, arguments); + }), + ir = (b._emscripten_bind_b2Mat22_set_ex_1 = function () { + return b.asm._emscripten_bind_b2Mat22_set_ex_1.apply(null, arguments); + }), + jr = (b._emscripten_bind_b2ManifoldPoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint___destroy___0.apply(null, arguments); + }), + kr = (b._emscripten_enum_b2JointType_e_prismaticJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_prismaticJoint.apply(null, arguments); + }), + lr = (b._emscripten_bind_b2WeldJointDef_get_referenceAngle_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_referenceAngle_0.apply(null, arguments); + }), + mr = (b._emscripten_bind_b2Vec2_Length_0 = function () { + return b.asm._emscripten_bind_b2Vec2_Length_0.apply(null, arguments); + }), + nr = (b._emscripten_bind_b2Vec2_SetZero_0 = function () { + return b.asm._emscripten_bind_b2Vec2_SetZero_0.apply(null, arguments); + }), + or = (b._emscripten_bind_b2RopeJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2RopeJoint___destroy___0.apply(null, arguments); + }), + pr = (b._emscripten_bind_b2World_DestroyJoint_1 = function () { + return b.asm._emscripten_bind_b2World_DestroyJoint_1.apply(null, arguments); + }), + qr = (b._emscripten_bind_b2JointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2JointDef_set_bodyB_1.apply(null, arguments); + }), + rr = (b._emscripten_bind_b2Mat22_Set_2 = function () { + return b.asm._emscripten_bind_b2Mat22_Set_2.apply(null, arguments); + }), + sr = (b._emscripten_bind_b2JointEdge_set_next_1 = function () { + return b.asm._emscripten_bind_b2JointEdge_set_next_1.apply(null, arguments); + }), + tr = (b._emscripten_bind_b2WeldJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetAnchorB_0.apply(null, arguments); + }), + ur = (b._emscripten_enum_b2DrawFlag_e_aabbBit = function () { + return b.asm._emscripten_enum_b2DrawFlag_e_aabbBit.apply(null, arguments); + }), + vr = (b._emscripten_bind_b2EdgeShape_ComputeAABB_3 = function () { + return b.asm._emscripten_bind_b2EdgeShape_ComputeAABB_3.apply(null, arguments); + }), + wr = (b._emscripten_bind_b2PolygonShape_set_m_centroid_1 = function () { + return b.asm._emscripten_bind_b2PolygonShape_set_m_centroid_1.apply(null, arguments); + }), + xr = (b._emscripten_bind_b2WheelJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_collideConnected_1.apply(null, arguments); + }), + yr = (b._emscripten_bind_b2World_GetJointList_0 = function () { + return b.asm._emscripten_bind_b2World_GetJointList_0.apply(null, arguments); + }), + zr = (b._emscripten_bind_b2MotorJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_type_0.apply(null, arguments); + }), + Ar = (b._emscripten_bind_b2RopeJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + Br = (b._emscripten_bind_b2BodyDef_set_linearDamping_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_linearDamping_1.apply(null, arguments); + }), + Cr = (b._emscripten_bind_b2FrictionJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetUserData_0.apply(null, arguments); + }), + Dr = (b._emscripten_bind_b2Shape_TestPoint_2 = function () { + return b.asm._emscripten_bind_b2Shape_TestPoint_2.apply(null, arguments); + }), + Er = (b._emscripten_bind_b2Manifold_set_localNormal_1 = function () { + return b.asm._emscripten_bind_b2Manifold_set_localNormal_1.apply(null, arguments); + }), + Fr = (b._emscripten_bind_b2JointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2JointDef_get_bodyA_0.apply(null, arguments); + }), + Gr = (b._emscripten_bind_b2Body_GetLinearDamping_0 = function () { + return b.asm._emscripten_bind_b2Body_GetLinearDamping_0.apply(null, arguments); + }), + Hr = (b._emscripten_bind_b2WeldJointDef_set_frequencyHz_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_frequencyHz_1.apply(null, arguments); + }), + Ir = (b._emscripten_bind_b2BodyDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2BodyDef_set_userData_1.apply(null, arguments); + }), + Jr = (b._emscripten_bind_b2PrismaticJointDef_set_enableMotor_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_enableMotor_1.apply(null, arguments); + }), + Kr = (b._emscripten_bind_b2Vec2_Skew_0 = function () { + return b.asm._emscripten_bind_b2Vec2_Skew_0.apply(null, arguments); + }), + Lr = (b._emscripten_bind_b2MouseJoint_GetDampingRatio_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetDampingRatio_0.apply(null, arguments); + }), + Mr = (b._emscripten_bind_b2RevoluteJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetAnchorA_0.apply(null, arguments); + }), + Nr = (b._emscripten_bind_b2ContactFeature_set_typeB_1 = function () { + return b.asm._emscripten_bind_b2ContactFeature_set_typeB_1.apply(null, arguments); + }), + Or = (b._emscripten_bind_b2WheelJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetAnchorA_0.apply(null, arguments); + }), + Pr = (b._emscripten_bind_b2MotorJoint_GetMaxTorque_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetMaxTorque_0.apply(null, arguments); + }); + b.setThrew = function () { + return b.asm.setThrew.apply(null, arguments); + }; + var Qr = (b._emscripten_bind_b2PrismaticJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_userData_1.apply(null, arguments); + }), + Rr = (b._emscripten_bind_b2FrictionJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_type_1.apply(null, arguments); + }), + Sr = (b._emscripten_bind_b2FrictionJointDef_Initialize_3 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_Initialize_3.apply(null, arguments); + }), + Nb = (b._sbrk = function () { + return b.asm._sbrk.apply(null, arguments); + }), + Tr = (b._emscripten_bind_b2FrictionJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_collideConnected_0.apply( + null, + arguments + ); + }), + Ib = (b._memcpy = function () { + return b.asm._memcpy.apply(null, arguments); + }), + Ur = (b._emscripten_bind_b2FrictionJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetAnchorA_0.apply(null, arguments); + }), + Vr = (b._emscripten_enum_b2DrawFlag_e_pairBit = function () { + return b.asm._emscripten_enum_b2DrawFlag_e_pairBit.apply(null, arguments); + }), + Wr = (b._emscripten_bind_b2MassData_get_I_0 = function () { + return b.asm._emscripten_bind_b2MassData_get_I_0.apply(null, arguments); + }), + Xr = (b._emscripten_bind_b2WheelJointDef_get_motorSpeed_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_motorSpeed_0.apply(null, arguments); + }), + Yr = (b._emscripten_bind_b2Filter_set_maskBits_1 = function () { + return b.asm._emscripten_bind_b2Filter_set_maskBits_1.apply(null, arguments); + }), + Zr = (b._emscripten_bind_b2WheelJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetCollideConnected_0.apply(null, arguments); + }), + $r = (b._emscripten_bind_b2EdgeShape_get_m_radius_0 = function () { + return b.asm._emscripten_bind_b2EdgeShape_get_m_radius_0.apply(null, arguments); + }), + as = (b._emscripten_bind_b2World_GetTreeHeight_0 = function () { + return b.asm._emscripten_bind_b2World_GetTreeHeight_0.apply(null, arguments); + }), + bs = (b._emscripten_bind_b2Mat22_b2Mat22_2 = function () { + return b.asm._emscripten_bind_b2Mat22_b2Mat22_2.apply(null, arguments); + }), + cs = (b._emscripten_bind_b2PrismaticJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetNext_0.apply(null, arguments); + }), + ds = (b._emscripten_bind_b2Mat22_b2Mat22_0 = function () { + return b.asm._emscripten_bind_b2Mat22_b2Mat22_0.apply(null, arguments); + }), + es = (b._emscripten_bind_b2PrismaticJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_bodyA_0.apply(null, arguments); + }), + gs = (b._emscripten_bind_b2RopeJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_localAnchorA_1.apply(null, arguments); + }), + hs = (b._emscripten_bind_b2ChainShape_set_m_hasNextVertex_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_hasNextVertex_1.apply(null, arguments); + }), + is = (b._emscripten_bind_b2Mat22_set_ey_1 = function () { + return b.asm._emscripten_bind_b2Mat22_set_ey_1.apply(null, arguments); + }), + js = (b._emscripten_bind_b2MotorJointDef_set_angularOffset_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_angularOffset_1.apply(null, arguments); + }), + ks = (b._emscripten_bind_b2CircleShape_get_m_type_0 = function () { + return b.asm._emscripten_bind_b2CircleShape_get_m_type_0.apply(null, arguments); + }), + ls = (b._emscripten_bind_b2Body_GetType_0 = function () { + return b.asm._emscripten_bind_b2Body_GetType_0.apply(null, arguments); + }), + ms = (b._emscripten_bind_b2ContactEdge_b2ContactEdge_0 = function () { + return b.asm._emscripten_bind_b2ContactEdge_b2ContactEdge_0.apply(null, arguments); + }), + ns = (b._emscripten_bind_b2BodyDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2BodyDef___destroy___0.apply(null, arguments); + }), + ps = (b._emscripten_bind_b2FrictionJointDef_set_maxTorque_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_maxTorque_1.apply(null, arguments); + }), + Qa = (b._free = function () { + return b.asm._free.apply(null, arguments); + }), + qs = (b._emscripten_bind_b2PulleyJointDef_set_groundAnchorB_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_groundAnchorB_1.apply(null, arguments); + }), + rs = (b._emscripten_bind_b2RevoluteJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_collideConnected_0.apply( + null, + arguments + ); + }), + ss = (b._emscripten_bind_b2DistanceJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_bodyA_1.apply(null, arguments); + }); + b.runPostSets = function () { + return b.asm.runPostSets.apply(null, arguments); + }; + var ts = (b._emscripten_bind_b2RevoluteJoint_SetLimits_2 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_SetLimits_2.apply(null, arguments); + }), + us = (b._emscripten_bind_b2WeldJointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_type_1.apply(null, arguments); + }), + vs = (b._emscripten_bind_b2MotorJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef___destroy___0.apply(null, arguments); + }), + xs = (b._emscripten_bind_b2FrictionJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetNext_0.apply(null, arguments); + }), + ys = (b._emscripten_bind_b2Shape_set_m_type_1 = function () { + return b.asm._emscripten_bind_b2Shape_set_m_type_1.apply(null, arguments); + }), + zs = (b._emscripten_bind_b2WheelJoint_GetJointTranslation_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetJointTranslation_0.apply(null, arguments); + }), + As = (b._emscripten_bind_b2WheelJoint_GetMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetMotorTorque_1.apply(null, arguments); + }), + Bs = (b._emscripten_bind_b2RopeJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2RopeJoint_SetUserData_1.apply(null, arguments); + }), + Cs = (b._emscripten_bind_b2RopeJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef___destroy___0.apply(null, arguments); + }), + Ds = (b._emscripten_bind_b2WheelJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_IsActive_0.apply(null, arguments); + }), + Es = (b._emscripten_bind_b2PrismaticJointDef_get_enableMotor_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_enableMotor_0.apply(null, arguments); + }), + Fs = (b._emscripten_bind_b2MotorJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_bodyB_1.apply(null, arguments); + }), + Gs = (b._emscripten_bind_JSDestructionListener___destroy___0 = function () { + return b.asm._emscripten_bind_JSDestructionListener___destroy___0.apply(null, arguments); + }), + Hs = (b._emscripten_bind_b2Transform_b2Transform_2 = function () { + return b.asm._emscripten_bind_b2Transform_b2Transform_2.apply(null, arguments); + }), + Is = (b._emscripten_bind_b2WeldJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetReactionForce_1.apply(null, arguments); + }), + Js = (b._emscripten_bind_b2ChainShape_RayCast_4 = function () { + return b.asm._emscripten_bind_b2ChainShape_RayCast_4.apply(null, arguments); + }), + Ks = (b._emscripten_bind_b2Vec2_set_y_1 = function () { + return b.asm._emscripten_bind_b2Vec2_set_y_1.apply(null, arguments); + }), + Ls = (b._emscripten_bind_b2PrismaticJoint_SetMotorSpeed_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_SetMotorSpeed_1.apply(null, arguments); + }), + Ms = (b._emscripten_bind_b2ContactID_get_cf_0 = function () { + return b.asm._emscripten_bind_b2ContactID_get_cf_0.apply(null, arguments); + }), + Ns = (b._emscripten_bind_b2DistanceJointDef_Initialize_4 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_Initialize_4.apply(null, arguments); + }), + Os = (b._emscripten_bind_b2ChainShape_get_m_radius_0 = function () { + return b.asm._emscripten_bind_b2ChainShape_get_m_radius_0.apply(null, arguments); + }), + Ps = (b._emscripten_bind_b2WeldJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_localAnchorB_1.apply(null, arguments); + }), + Qs = (b._emscripten_bind_b2ChainShape_set_m_radius_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_radius_1.apply(null, arguments); + }), + Rs = (b._emscripten_bind_b2DistanceJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetReactionTorque_1.apply(null, arguments); + }), + Ss = (b._emscripten_bind_b2World_Dump_0 = function () { + return b.asm._emscripten_bind_b2World_Dump_0.apply(null, arguments); + }), + Ts = (b._emscripten_bind_b2RevoluteJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + Us = (b._emscripten_bind_JSContactFilter_JSContactFilter_0 = function () { + return b.asm._emscripten_bind_JSContactFilter_JSContactFilter_0.apply(null, arguments); + }), + Vs = (b._emscripten_bind_b2Profile_set_solve_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_solve_1.apply(null, arguments); + }), + Ws = (b._emscripten_bind_b2FixtureDef_set_density_1 = function () { + return b.asm._emscripten_bind_b2FixtureDef_set_density_1.apply(null, arguments); + }), + Xs = (b._emscripten_bind_b2WeldJoint_GetDampingRatio_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetDampingRatio_0.apply(null, arguments); + }), + Ys = (b._emscripten_bind_b2Color_get_b_0 = function () { + return b.asm._emscripten_bind_b2Color_get_b_0.apply(null, arguments); + }), + Zs = (b._emscripten_bind_b2MouseJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_userData_0.apply(null, arguments); + }), + $s = (b._emscripten_bind_b2CircleShape_ComputeAABB_3 = function () { + return b.asm._emscripten_bind_b2CircleShape_ComputeAABB_3.apply(null, arguments); + }), + at = (b._emscripten_bind_b2RopeJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetReactionForce_1.apply(null, arguments); + }), + bt = (b._emscripten_bind_b2PrismaticJointDef_get_enableLimit_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_enableLimit_0.apply(null, arguments); + }), + ct = (b._emscripten_bind_b2ManifoldPoint_set_localPoint_1 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_set_localPoint_1.apply(null, arguments); + }), + dt = (b._emscripten_bind_b2Fixture_GetFilterData_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetFilterData_0.apply(null, arguments); + }), + et = (b._emscripten_bind_b2World_GetBodyList_0 = function () { + return b.asm._emscripten_bind_b2World_GetBodyList_0.apply(null, arguments); + }), + ft = (b._emscripten_bind_b2Body_GetJointList_0 = function () { + return b.asm._emscripten_bind_b2Body_GetJointList_0.apply(null, arguments); + }), + gt = (b._emscripten_bind_b2Joint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetNext_0.apply(null, arguments); + }), + ht = (b._emscripten_bind_b2Joint_GetType_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetType_0.apply(null, arguments); + }), + it = (b._emscripten_bind_b2World_RayCast_3 = function () { + return b.asm._emscripten_bind_b2World_RayCast_3.apply(null, arguments); + }), + jt = (b._emscripten_bind_b2MassData_set_I_1 = function () { + return b.asm._emscripten_bind_b2MassData_set_I_1.apply(null, arguments); + }), + kt = (b._emscripten_bind_b2MassData___destroy___0 = function () { + return b.asm._emscripten_bind_b2MassData___destroy___0.apply(null, arguments); + }), + lt = (b._emscripten_bind_b2Profile_get_collide_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_collide_0.apply(null, arguments); + }), + mt = (b._emscripten_bind_b2Color_b2Color_3 = function () { + return b.asm._emscripten_bind_b2Color_b2Color_3.apply(null, arguments); + }), + nt = (b._emscripten_bind_b2Color_b2Color_0 = function () { + return b.asm._emscripten_bind_b2Color_b2Color_0.apply(null, arguments); + }), + ot = (b._emscripten_bind_b2WheelJointDef_get_frequencyHz_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_frequencyHz_0.apply(null, arguments); + }), + pt = (b._emscripten_bind_b2WeldJointDef_Initialize_3 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_Initialize_3.apply(null, arguments); + }), + qt = (b._emscripten_bind_b2RevoluteJoint_GetMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetMotorTorque_1.apply(null, arguments); + }), + rt = (b._emscripten_enum_b2JointType_e_gearJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_gearJoint.apply(null, arguments); + }), + st = (b._emscripten_bind_b2FixtureDef_get_friction_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_friction_0.apply(null, arguments); + }), + tt = (b._emscripten_bind_b2PrismaticJointDef_set_localAnchorA_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_localAnchorA_1.apply(null, arguments); + }), + ut = (b._emscripten_bind_b2Contact_GetManifold_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetManifold_0.apply(null, arguments); + }), + vt = (b._emscripten_bind_b2QueryCallback___destroy___0 = function () { + return b.asm._emscripten_bind_b2QueryCallback___destroy___0.apply(null, arguments); + }), + wt = (b._emscripten_bind_b2WeldJointDef_get_localAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_localAnchorA_0.apply(null, arguments); + }), + xt = (b._emscripten_bind_b2MouseJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_SetUserData_1.apply(null, arguments); + }), + yt = (b._emscripten_bind_b2MotorJointDef_set_correctionFactor_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_correctionFactor_1.apply(null, arguments); + }), + zt = (b._emscripten_bind_b2ChainShape_GetChildEdge_2 = function () { + return b.asm._emscripten_bind_b2ChainShape_GetChildEdge_2.apply(null, arguments); + }), + At = (b._emscripten_enum_b2JointType_e_mouseJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_mouseJoint.apply(null, arguments); + }), + Bt = (b._emscripten_bind_b2MotorJointDef_get_angularOffset_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_angularOffset_0.apply(null, arguments); + }), + Ct = (b._emscripten_bind_b2WheelJoint_SetUserData_1 = function () { + return b.asm._emscripten_bind_b2WheelJoint_SetUserData_1.apply(null, arguments); + }), + Dt = (b._emscripten_bind_b2Body_ApplyForce_3 = function () { + return b.asm._emscripten_bind_b2Body_ApplyForce_3.apply(null, arguments); + }), + Et = (b._emscripten_bind_b2ChainShape_set_m_count_1 = function () { + return b.asm._emscripten_bind_b2ChainShape_set_m_count_1.apply(null, arguments); + }), + Ft = (b._emscripten_bind_b2DistanceJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetCollideConnected_0.apply(null, arguments); + }), + Gt = (b._emscripten_bind_b2RevoluteJoint_IsMotorEnabled_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_IsMotorEnabled_0.apply(null, arguments); + }), + Ht = (b._emscripten_bind_b2PolygonShape_GetVertex_1 = function () { + return b.asm._emscripten_bind_b2PolygonShape_GetVertex_1.apply(null, arguments); + }), + It = (b._emscripten_bind_b2World_SetGravity_1 = function () { + return b.asm._emscripten_bind_b2World_SetGravity_1.apply(null, arguments); + }), + Jt = (b._emscripten_bind_b2MouseJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_collideConnected_0.apply(null, arguments); + }), + Qb = (b._llvm_bswap_i32 = function () { + return b.asm._llvm_bswap_i32.apply(null, arguments); + }), + Kt = (b._emscripten_bind_b2Fixture_SetRestitution_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetRestitution_1.apply(null, arguments); + }), + Lt = (b._emscripten_bind_b2Body_GetTransform_0 = function () { + return b.asm._emscripten_bind_b2Body_GetTransform_0.apply(null, arguments); + }), + Mt = (b._emscripten_enum_b2ShapeType_e_typeCount = function () { + return b.asm._emscripten_enum_b2ShapeType_e_typeCount.apply(null, arguments); + }), + Nt = (b._emscripten_bind_b2Mat33_set_ex_1 = function () { + return b.asm._emscripten_bind_b2Mat33_set_ex_1.apply(null, arguments); + }), + Ot = (b._emscripten_bind_b2PulleyJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Pt = (b._emscripten_bind_b2RevoluteJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_get_bodyA_0.apply(null, arguments); + }), + Qt = (b._emscripten_bind_b2PrismaticJoint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetBodyB_0.apply(null, arguments); + }), + Rt = (b._emscripten_bind_b2WheelJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_bodyA_1.apply(null, arguments); + }), + St = (b._emscripten_bind_b2MotorJointDef_set_maxForce_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_maxForce_1.apply(null, arguments); + }), + Tt = (b._emscripten_bind_b2BodyDef_get_angle_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_angle_0.apply(null, arguments); + }), + Ut = (b._emscripten_bind_b2FixtureDef_get_shape_0 = function () { + return b.asm._emscripten_bind_b2FixtureDef_get_shape_0.apply(null, arguments); + }), + Vt = (b._emscripten_bind_b2Body_SetAngularVelocity_1 = function () { + return b.asm._emscripten_bind_b2Body_SetAngularVelocity_1.apply(null, arguments); + }), + Wt = (b._emscripten_bind_b2WeldJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_userData_0.apply(null, arguments); + }), + Xt = (b._emscripten_bind_b2FrictionJoint_SetMaxForce_1 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_SetMaxForce_1.apply(null, arguments); + }), + Yt = (b._emscripten_bind_b2Mat33_b2Mat33_3 = function () { + return b.asm._emscripten_bind_b2Mat33_b2Mat33_3.apply(null, arguments); + }), + Zt = (b._emscripten_bind_b2Vec3_get_y_0 = function () { + return b.asm._emscripten_bind_b2Vec3_get_y_0.apply(null, arguments); + }), + $t = (b._emscripten_bind_b2JointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2JointDef_get_type_0.apply(null, arguments); + }), + au = (b._emscripten_bind_JSQueryCallback_ReportFixture_1 = function () { + return b.asm._emscripten_bind_JSQueryCallback_ReportFixture_1.apply(null, arguments); + }), + bu = (b._emscripten_bind_b2PulleyJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetCollideConnected_0.apply(null, arguments); + }), + cu = (b._emscripten_bind_b2Body_CreateFixture_1 = function () { + return b.asm._emscripten_bind_b2Body_CreateFixture_1.apply(null, arguments); + }), + du = (b._emscripten_bind_JSDraw_JSDraw_0 = function () { + return b.asm._emscripten_bind_JSDraw_JSDraw_0.apply(null, arguments); + }), + eu = (b._emscripten_bind_b2MouseJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetAnchorA_0.apply(null, arguments); + }), + fu = (b._emscripten_bind_b2Transform_get_p_0 = function () { + return b.asm._emscripten_bind_b2Transform_get_p_0.apply(null, arguments); + }), + gu = (b._emscripten_bind_b2WorldManifold_get_normal_0 = function () { + return b.asm._emscripten_bind_b2WorldManifold_get_normal_0.apply(null, arguments); + }), + hu = (b._emscripten_bind_b2World_GetProfile_0 = function () { + return b.asm._emscripten_bind_b2World_GetProfile_0.apply(null, arguments); + }), + iu = (b._emscripten_bind_b2DistanceJointDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef___destroy___0.apply(null, arguments); + }), + ju = (b._emscripten_bind_b2GearJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_bodyA_1.apply(null, arguments); + }), + ku = (b._emscripten_bind_b2JointDef_set_type_1 = function () { + return b.asm._emscripten_bind_b2JointDef_set_type_1.apply(null, arguments); + }), + lu = (b._emscripten_bind_b2ContactEdge_set_contact_1 = function () { + return b.asm._emscripten_bind_b2ContactEdge_set_contact_1.apply(null, arguments); + }), + mu = (b._emscripten_bind_b2MotorJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_userData_0.apply(null, arguments); + }), + nu = (b._emscripten_bind_b2World_GetContactList_0 = function () { + return b.asm._emscripten_bind_b2World_GetContactList_0.apply(null, arguments); + }), + ou = (b._emscripten_bind_b2Mat33_set_ez_1 = function () { + return b.asm._emscripten_bind_b2Mat33_set_ez_1.apply(null, arguments); + }), + pu = (b._emscripten_bind_b2JointEdge_b2JointEdge_0 = function () { + return b.asm._emscripten_bind_b2JointEdge_b2JointEdge_0.apply(null, arguments); + }), + qu = (b._emscripten_bind_b2FrictionJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_get_bodyA_0.apply(null, arguments); + }), + ru = (b._emscripten_bind_b2WheelJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_type_0.apply(null, arguments); + }), + su = (b._emscripten_bind_b2RevoluteJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetReactionForce_1.apply(null, arguments); + }), + tu = (b._emscripten_bind_b2PulleyJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_collideConnected_1.apply(null, arguments); + }), + uu = (b._emscripten_bind_b2RopeJoint_GetCollideConnected_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetCollideConnected_0.apply(null, arguments); + }), + vu = (b._emscripten_bind_b2GearJointDef_set_joint2_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_joint2_1.apply(null, arguments); + }), + wu = (b._emscripten_bind_b2EdgeShape_set_m_vertex3_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_vertex3_1.apply(null, arguments); + }), + xu = (b._emscripten_bind_b2GearJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetAnchorB_0.apply(null, arguments); + }), + yu = (b._emscripten_bind_b2RopeJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_IsActive_0.apply(null, arguments); + }), + zu = (b._emscripten_bind_b2Fixture_GetFriction_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetFriction_0.apply(null, arguments); + }), + Au = (b._emscripten_bind_b2Fixture_GetNext_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetNext_0.apply(null, arguments); + }), + Bu = (b._emscripten_bind_b2RopeJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_bodyA_0.apply(null, arguments); + }), + Cu = (b._emscripten_bind_b2WeldJointDef_get_localAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_localAnchorB_0.apply(null, arguments); + }), + Du = (b._emscripten_bind_b2WeldJointDef_set_referenceAngle_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_referenceAngle_1.apply(null, arguments); + }), + Eu = (b._emscripten_bind_b2DistanceJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_set_localAnchorB_1.apply(null, arguments); + }), + Fu = (b._emscripten_bind_b2Mat33_SetZero_0 = function () { + return b.asm._emscripten_bind_b2Mat33_SetZero_0.apply(null, arguments); + }), + Gu = (b._emscripten_bind_b2MotorJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_bodyB_0.apply(null, arguments); + }), + Hu = (b._emscripten_bind_b2WheelJointDef_b2WheelJointDef_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_b2WheelJointDef_0.apply(null, arguments); + }), + Iu = (b._emscripten_bind_b2PrismaticJointDef_get_localAxisA_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_localAxisA_0.apply(null, arguments); + }), + Ju = (b._emscripten_bind_b2Mat22_get_ey_0 = function () { + return b.asm._emscripten_bind_b2Mat22_get_ey_0.apply(null, arguments); + }), + Ku = (b._emscripten_bind_b2Mat22_SetIdentity_0 = function () { + return b.asm._emscripten_bind_b2Mat22_SetIdentity_0.apply(null, arguments); + }), + Lu = (b._emscripten_bind_b2Joint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2Joint_IsActive_0.apply(null, arguments); + }), + Mu = (b._emscripten_bind_b2PulleyJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetReactionForce_1.apply(null, arguments); + }), + Nu = (b._emscripten_bind_b2Shape_get_m_radius_0 = function () { + return b.asm._emscripten_bind_b2Shape_get_m_radius_0.apply(null, arguments); + }), + Ou = (b._emscripten_bind_b2Mat22_b2Mat22_4 = function () { + return b.asm._emscripten_bind_b2Mat22_b2Mat22_4.apply(null, arguments); + }), + Pu = (b._emscripten_bind_b2PrismaticJointDef_set_localAxisA_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_localAxisA_1.apply(null, arguments); + }), + Qu = (b._emscripten_bind_b2PolygonShape_SetAsBox_4 = function () { + return b.asm._emscripten_bind_b2PolygonShape_SetAsBox_4.apply(null, arguments); + }), + Ru = (b._emscripten_bind_b2EdgeShape_set_m_vertex1_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_vertex1_1.apply(null, arguments); + }), + Su = (b._emscripten_bind_b2Body_GetWorld_0 = function () { + return b.asm._emscripten_bind_b2Body_GetWorld_0.apply(null, arguments); + }), + Tu = (b._emscripten_enum_b2LimitState_e_inactiveLimit = function () { + return b.asm._emscripten_enum_b2LimitState_e_inactiveLimit.apply(null, arguments); + }), + Uu = (b._emscripten_bind_b2Vec2_set_x_1 = function () { + return b.asm._emscripten_bind_b2Vec2_set_x_1.apply(null, arguments); + }), + Vu = (b._emscripten_bind_b2Body_SetAwake_1 = function () { + return b.asm._emscripten_bind_b2Body_SetAwake_1.apply(null, arguments); + }), + Wu = (b._emscripten_bind_b2WeldJoint_GetLocalAnchorA_0 = function () { + return b.asm._emscripten_bind_b2WeldJoint_GetLocalAnchorA_0.apply(null, arguments); + }), + Xu = (b._emscripten_bind_b2Vec2___destroy___0 = function () { + return b.asm._emscripten_bind_b2Vec2___destroy___0.apply(null, arguments); + }), + Yu = (b._emscripten_enum_b2ShapeType_e_polygon = function () { + return b.asm._emscripten_enum_b2ShapeType_e_polygon.apply(null, arguments); + }), + Zu = (b._emscripten_bind_b2Body_GetInertia_0 = function () { + return b.asm._emscripten_bind_b2Body_GetInertia_0.apply(null, arguments); + }), + $u = (b._emscripten_bind_b2PulleyJoint_GetAnchorA_0 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetAnchorA_0.apply(null, arguments); + }), + av = (b._emscripten_bind_b2BodyDef_get_linearVelocity_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_linearVelocity_0.apply(null, arguments); + }), + bv = (b._emscripten_bind_b2DistanceJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2DistanceJointDef_get_bodyB_0.apply(null, arguments); + }), + cv = (b._emscripten_bind_b2Mat22___destroy___0 = function () { + return b.asm._emscripten_bind_b2Mat22___destroy___0.apply(null, arguments); + }), + dv = (b._emscripten_bind_b2RevoluteJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetNext_0.apply(null, arguments); + }), + ev = (b._emscripten_bind_b2WeldJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_bodyA_0.apply(null, arguments); + }), + fv = (b._emscripten_bind_b2MotorJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetAnchorB_0.apply(null, arguments); + }), + gv = (b._emscripten_bind_b2Fixture_GetShape_0 = function () { + return b.asm._emscripten_bind_b2Fixture_GetShape_0.apply(null, arguments); + }), + hv = (b._emscripten_bind_b2PulleyJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2PulleyJoint_GetReactionTorque_1.apply(null, arguments); + }), + iv = (b._emscripten_bind_b2Vec3_op_mul_1 = function () { + return b.asm._emscripten_bind_b2Vec3_op_mul_1.apply(null, arguments); + }), + jv = (b._emscripten_bind_b2PolygonShape_set_m_type_1 = function () { + return b.asm._emscripten_bind_b2PolygonShape_set_m_type_1.apply(null, arguments); + }), + kv = (b._emscripten_bind_b2WheelJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetType_0.apply(null, arguments); + }), + lv = (b._emscripten_bind_b2MotorJoint_GetAngularOffset_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetAngularOffset_0.apply(null, arguments); + }), + mv = (b._emscripten_bind_b2RevoluteJoint_IsActive_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_IsActive_0.apply(null, arguments); + }), + nv = (b._emscripten_bind_b2GearJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetNext_0.apply(null, arguments); + }), + ov = (b._emscripten_bind_b2MouseJointDef_get_maxForce_0 = function () { + return b.asm._emscripten_bind_b2MouseJointDef_get_maxForce_0.apply(null, arguments); + }), + pv = (b._emscripten_bind_b2DestructionListenerWrapper___destroy___0 = function () { + return b.asm._emscripten_bind_b2DestructionListenerWrapper___destroy___0.apply( + null, + arguments + ); + }), + qv = (b._emscripten_bind_b2PrismaticJointDef_set_maxMotorForce_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_set_maxMotorForce_1.apply(null, arguments); + }), + rv = (b._emscripten_bind_b2WheelJoint_GetLocalAxisA_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetLocalAxisA_0.apply(null, arguments); + }), + sv = (b._emscripten_bind_b2Body_GetNext_0 = function () { + return b.asm._emscripten_bind_b2Body_GetNext_0.apply(null, arguments); + }), + tv = (b._emscripten_bind_b2MouseJoint_GetReactionForce_1 = function () { + return b.asm._emscripten_bind_b2MouseJoint_GetReactionForce_1.apply(null, arguments); + }), + uv = (b._emscripten_bind_b2RopeJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetBodyA_0.apply(null, arguments); + }), + vv = (b._emscripten_bind_b2ContactFeature_set_indexA_1 = function () { + return b.asm._emscripten_bind_b2ContactFeature_set_indexA_1.apply(null, arguments); + }), + wv = (b._emscripten_bind_b2Profile_get_solveInit_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_solveInit_0.apply(null, arguments); + }), + xv = (b._emscripten_bind_b2Fixture_IsSensor_0 = function () { + return b.asm._emscripten_bind_b2Fixture_IsSensor_0.apply(null, arguments); + }), + yv = (b._emscripten_bind_b2FrictionJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetAnchorB_0.apply(null, arguments); + }), + zv = (b._emscripten_bind_b2World_QueryAABB_2 = function () { + return b.asm._emscripten_bind_b2World_QueryAABB_2.apply(null, arguments); + }), + Av = (b._emscripten_bind_b2Profile_set_collide_1 = function () { + return b.asm._emscripten_bind_b2Profile_set_collide_1.apply(null, arguments); + }), + Bv = (b._emscripten_bind_b2BodyDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_get_userData_0.apply(null, arguments); + }), + Cv = (b._emscripten_bind_b2MotorJoint_SetLinearOffset_1 = function () { + return b.asm._emscripten_bind_b2MotorJoint_SetLinearOffset_1.apply(null, arguments); + }), + Dv = (b._emscripten_bind_b2FrictionJoint_GetMaxForce_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetMaxForce_0.apply(null, arguments); + }), + Ev = (b._emscripten_bind_b2WheelJointDef_get_userData_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_userData_0.apply(null, arguments); + }), + Fv = (b._emscripten_bind_b2RevoluteJoint_IsLimitEnabled_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_IsLimitEnabled_0.apply(null, arguments); + }), + Gv = (b._emscripten_bind_b2World_SetDestructionListener_1 = function () { + return b.asm._emscripten_bind_b2World_SetDestructionListener_1.apply(null, arguments); + }), + Hv = (b._emscripten_bind_b2RevoluteJointDef_set_maxMotorTorque_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_maxMotorTorque_1.apply(null, arguments); + }), + Iv = (b._emscripten_bind_b2WeldJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_set_bodyB_1.apply(null, arguments); + }), + Jv = (b._emscripten_bind_b2Transform_set_p_1 = function () { + return b.asm._emscripten_bind_b2Transform_set_p_1.apply(null, arguments); + }), + Kv = (b._emscripten_bind_b2DistanceJoint_SetLength_1 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_SetLength_1.apply(null, arguments); + }), + Lv = (b._emscripten_bind_b2ManifoldPoint_get_localPoint_0 = function () { + return b.asm._emscripten_bind_b2ManifoldPoint_get_localPoint_0.apply(null, arguments); + }), + Mv = (b._emscripten_bind_b2JointEdge_get_joint_0 = function () { + return b.asm._emscripten_bind_b2JointEdge_get_joint_0.apply(null, arguments); + }), + Nv = (b._emscripten_bind_b2Body_GetLocalCenter_0 = function () { + return b.asm._emscripten_bind_b2Body_GetLocalCenter_0.apply(null, arguments); + }), + Ov = (b._emscripten_bind_b2FixtureDef___destroy___0 = function () { + return b.asm._emscripten_bind_b2FixtureDef___destroy___0.apply(null, arguments); + }), + Pv = (b._emscripten_bind_b2MouseJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2MouseJoint___destroy___0.apply(null, arguments); + }), + Qv = (b._emscripten_enum_b2JointType_e_ropeJoint = function () { + return b.asm._emscripten_enum_b2JointType_e_ropeJoint.apply(null, arguments); + }), + Rv = (b._emscripten_bind_b2Profile_get_solveVelocity_0 = function () { + return b.asm._emscripten_bind_b2Profile_get_solveVelocity_0.apply(null, arguments); + }), + Sv = (b._emscripten_bind_b2WeldJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_get_bodyB_0.apply(null, arguments); + }), + Tv = (b._emscripten_bind_b2World_GetContinuousPhysics_0 = function () { + return b.asm._emscripten_bind_b2World_GetContinuousPhysics_0.apply(null, arguments); + }), + Uv = (b._emscripten_bind_b2Joint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetBodyA_0.apply(null, arguments); + }), + Vv = (b._emscripten_bind_b2MotorJointDef_set_maxTorque_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_maxTorque_1.apply(null, arguments); + }), + Wv = (b._emscripten_bind_b2PulleyJointDef_Initialize_7 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_Initialize_7.apply(null, arguments); + }), + Xv = (b._emscripten_bind_b2GearJointDef_set_bodyB_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_bodyB_1.apply(null, arguments); + }), + Yv = (b._emscripten_bind_b2RopeJoint_GetReactionTorque_1 = function () { + return b.asm._emscripten_bind_b2RopeJoint_GetReactionTorque_1.apply(null, arguments); + }), + Zv = (b._emscripten_bind_b2WheelJointDef_set_dampingRatio_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_dampingRatio_1.apply(null, arguments); + }), + $v = (b._emscripten_bind_b2GearJoint_GetType_0 = function () { + return b.asm._emscripten_bind_b2GearJoint_GetType_0.apply(null, arguments); + }), + aw = (b._emscripten_bind_b2MotorJoint_GetNext_0 = function () { + return b.asm._emscripten_bind_b2MotorJoint_GetNext_0.apply(null, arguments); + }), + bw = (b._emscripten_bind_b2EdgeShape_set_m_vertex0_1 = function () { + return b.asm._emscripten_bind_b2EdgeShape_set_m_vertex0_1.apply(null, arguments); + }), + cw = (b._emscripten_bind_b2RevoluteJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2RevoluteJoint_GetAnchorB_0.apply(null, arguments); + }), + dw = (b._emscripten_bind_b2RopeJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_set_localAnchorB_1.apply(null, arguments); + }), + ew = (b._emscripten_bind_b2PrismaticJoint_GetUserData_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_GetUserData_0.apply(null, arguments); + }), + fw = (b._emscripten_bind_b2GearJointDef_set_userData_1 = function () { + return b.asm._emscripten_bind_b2GearJointDef_set_userData_1.apply(null, arguments); + }), + gw = (b._emscripten_bind_b2Fixture_SetSensor_1 = function () { + return b.asm._emscripten_bind_b2Fixture_SetSensor_1.apply(null, arguments); + }), + hw = (b._emscripten_bind_b2MotorJointDef_set_collideConnected_1 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_set_collideConnected_1.apply(null, arguments); + }), + iw = (b._emscripten_bind_b2Contact_GetFixtureB_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetFixtureB_0.apply(null, arguments); + }), + jw = (b._emscripten_bind_b2ChainShape_ComputeMass_2 = function () { + return b.asm._emscripten_bind_b2ChainShape_ComputeMass_2.apply(null, arguments); + }), + kw = (b._emscripten_bind_b2WeldJointDef_b2WeldJointDef_0 = function () { + return b.asm._emscripten_bind_b2WeldJointDef_b2WeldJointDef_0.apply(null, arguments); + }), + lw = (b._emscripten_bind_b2Contact_GetChildIndexA_0 = function () { + return b.asm._emscripten_bind_b2Contact_GetChildIndexA_0.apply(null, arguments); + }), + mw = (b._emscripten_bind_b2RopeJointDef_get_bodyB_0 = function () { + return b.asm._emscripten_bind_b2RopeJointDef_get_bodyB_0.apply(null, arguments); + }), + nw = (b._emscripten_bind_b2BodyDef_b2BodyDef_0 = function () { + return b.asm._emscripten_bind_b2BodyDef_b2BodyDef_0.apply(null, arguments); + }), + ow = (b._emscripten_bind_b2MassData_get_mass_0 = function () { + return b.asm._emscripten_bind_b2MassData_get_mass_0.apply(null, arguments); + }), + pw = (b._emscripten_bind_b2WorldManifold_get_separations_1 = function () { + return b.asm._emscripten_bind_b2WorldManifold_get_separations_1.apply(null, arguments); + }), + qw = (b._emscripten_bind_b2Joint_GetBodyB_0 = function () { + return b.asm._emscripten_bind_b2Joint_GetBodyB_0.apply(null, arguments); + }), + rw = (b._emscripten_bind_b2Shape_GetChildCount_0 = function () { + return b.asm._emscripten_bind_b2Shape_GetChildCount_0.apply(null, arguments); + }), + sw = (b._emscripten_bind_b2WheelJointDef_set_localAxisA_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_localAxisA_1.apply(null, arguments); + }), + tw = (b._emscripten_bind_b2Joint_Dump_0 = function () { + return b.asm._emscripten_bind_b2Joint_Dump_0.apply(null, arguments); + }), + uw = (b._emscripten_bind_b2World_SetContactFilter_1 = function () { + return b.asm._emscripten_bind_b2World_SetContactFilter_1.apply(null, arguments); + }), + vw = (b._emscripten_bind_b2RevoluteJointDef_set_motorSpeed_1 = function () { + return b.asm._emscripten_bind_b2RevoluteJointDef_set_motorSpeed_1.apply(null, arguments); + }), + ww = (b._emscripten_bind_b2MotorJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2MotorJointDef_get_bodyA_0.apply(null, arguments); + }), + xw = (b._emscripten_bind_b2WheelJointDef_get_enableMotor_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_enableMotor_0.apply(null, arguments); + }), + yw = (b._emscripten_bind_b2Vec2_LengthSquared_0 = function () { + return b.asm._emscripten_bind_b2Vec2_LengthSquared_0.apply(null, arguments); + }), + zw = (b._emscripten_bind_b2FrictionJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2FrictionJointDef_set_bodyA_1.apply(null, arguments); + }), + Aw = (b._emscripten_bind_b2WheelJoint_GetSpringFrequencyHz_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetSpringFrequencyHz_0.apply(null, arguments); + }), + Bw = (b._emscripten_bind_b2ContactEdge_set_prev_1 = function () { + return b.asm._emscripten_bind_b2ContactEdge_set_prev_1.apply(null, arguments); + }), + Cw = (b._emscripten_bind_b2Shape_ComputeMass_2 = function () { + return b.asm._emscripten_bind_b2Shape_ComputeMass_2.apply(null, arguments); + }), + Dw = (b._emscripten_bind_b2FrictionJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2FrictionJoint_GetBodyA_0.apply(null, arguments); + }), + Ew = (b._emscripten_bind_b2WheelJointDef_set_localAnchorB_1 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_set_localAnchorB_1.apply(null, arguments); + }), + Fw = (b._emscripten_bind_b2Body_GetAngle_0 = function () { + return b.asm._emscripten_bind_b2Body_GetAngle_0.apply(null, arguments); + }), + Gw = (b._emscripten_bind_b2PrismaticJointDef_get_maxMotorForce_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_maxMotorForce_0.apply(null, arguments); + }), + Hw = (b._emscripten_bind_b2DistanceJoint_GetBodyA_0 = function () { + return b.asm._emscripten_bind_b2DistanceJoint_GetBodyA_0.apply(null, arguments); + }), + Iw = (b._emscripten_bind_b2WheelJoint_GetLocalAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetLocalAnchorB_0.apply(null, arguments); + }), + Jw = (b._emscripten_bind_b2PulleyJointDef_set_bodyA_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_bodyA_1.apply(null, arguments); + }), + Kw = (b._emscripten_bind_b2WheelJoint_GetAnchorB_0 = function () { + return b.asm._emscripten_bind_b2WheelJoint_GetAnchorB_0.apply(null, arguments); + }), + Lw = (b._emscripten_bind_b2PolygonShape_SetAsBox_2 = function () { + return b.asm._emscripten_bind_b2PolygonShape_SetAsBox_2.apply(null, arguments); + }), + Mw = (b._emscripten_bind_b2PrismaticJointDef_get_type_0 = function () { + return b.asm._emscripten_bind_b2PrismaticJointDef_get_type_0.apply(null, arguments); + }), + Nw = (b._emscripten_bind_b2Color_Set_3 = function () { + return b.asm._emscripten_bind_b2Color_Set_3.apply(null, arguments); + }), + Ow = (b._emscripten_bind_b2WheelJointDef_get_bodyA_0 = function () { + return b.asm._emscripten_bind_b2WheelJointDef_get_bodyA_0.apply(null, arguments); + }), + Pw = (b._emscripten_enum_b2LimitState_e_atUpperLimit = function () { + return b.asm._emscripten_enum_b2LimitState_e_atUpperLimit.apply(null, arguments); + }), + Qw = (b._emscripten_bind_b2PulleyJointDef_set_groundAnchorA_1 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_set_groundAnchorA_1.apply(null, arguments); + }), + Rw = (b._emscripten_bind_b2PolygonShape_get_m_type_0 = function () { + return b.asm._emscripten_bind_b2PolygonShape_get_m_type_0.apply(null, arguments); + }), + Sw = (b._emscripten_bind_b2PrismaticJoint_SetMaxMotorForce_1 = function () { + return b.asm._emscripten_bind_b2PrismaticJoint_SetMaxMotorForce_1.apply(null, arguments); + }), + Tw = (b._emscripten_bind_b2PulleyJointDef_get_collideConnected_0 = function () { + return b.asm._emscripten_bind_b2PulleyJointDef_get_collideConnected_0.apply(null, arguments); + }), + Uw = (b._emscripten_bind_JSContactListener_JSContactListener_0 = function () { + return b.asm._emscripten_bind_JSContactListener_JSContactListener_0.apply(null, arguments); + }), + Vw = (b._emscripten_bind_b2WheelJoint___destroy___0 = function () { + return b.asm._emscripten_bind_b2WheelJoint___destroy___0.apply(null, arguments); + }), + Ww = (b._emscripten_bind_b2PolygonShape_set_m_radius_1 = function () { + return b.asm._emscripten_bind_b2PolygonShape_set_m_radius_1.apply(null, arguments); + }), + Xw = (b._emscripten_bind_b2Fixture_GetMassData_1 = function () { + return b.asm._emscripten_bind_b2Fixture_GetMassData_1.apply(null, arguments); + }), + Yw = (b._emscripten_bind_b2RopeJoint_SetMaxLength_1 = function () { + return b.asm._emscripten_bind_b2RopeJoint_SetMaxLength_1.apply(null, arguments); + }); + b.dynCall_iiii = function () { + return b.asm.dynCall_iiii.apply(null, arguments); + }; + b.dynCall_viifii = function () { + return b.asm.dynCall_viifii.apply(null, arguments); + }; + b.dynCall_viiiii = function () { + return b.asm.dynCall_viiiii.apply(null, arguments); + }; + b.dynCall_vi = function () { + return b.asm.dynCall_vi.apply(null, arguments); + }; + b.dynCall_vii = function () { + return b.asm.dynCall_vii.apply(null, arguments); + }; + b.dynCall_ii = function () { + return b.asm.dynCall_ii.apply(null, arguments); + }; + b.dynCall_fif = function () { + return b.asm.dynCall_fif.apply(null, arguments); + }; + b.dynCall_viii = function () { + return b.asm.dynCall_viii.apply(null, arguments); + }; + b.dynCall_viifi = function () { + return b.asm.dynCall_viifi.apply(null, arguments); + }; + b.dynCall_v = function () { + return b.asm.dynCall_v.apply(null, arguments); + }; + b.dynCall_viif = function () { + return b.asm.dynCall_viif.apply(null, arguments); + }; + b.dynCall_viiiiii = function () { + return b.asm.dynCall_viiiiii.apply(null, arguments); + }; + b.dynCall_iii = function () { + return b.asm.dynCall_iii.apply(null, arguments); + }; + b.dynCall_iiiiii = function () { + return b.asm.dynCall_iiiiii.apply(null, arguments); + }; + b.dynCall_fiiiif = function () { + return b.asm.dynCall_fiiiif.apply(null, arguments); + }; + b.dynCall_viiii = function () { + return b.asm.dynCall_viiii.apply(null, arguments); + }; + f.t = b.stackAlloc; + f.L = b.stackSave; + f.K = b.stackRestore; + f.R = b.establishStackSpace; + f.f = b.setTempRet0; + f.H = b.getTempRet0; + b.asm = Sb; + if (zb) + if ( + ('function' === typeof b.locateFile + ? (zb = b.locateFile(zb)) + : b.memoryInitializerPrefixURL && (zb = b.memoryInitializerPrefixURL + zb), + ea || fa) + ) { + var Zw = b.readBinary(zb); + Da.set(Zw, f.i); + } else { + var ax = function () { + b.readAsync(zb, $w, function () { + throw 'could not load memory initializer ' + zb; + }); + }; + xb(); + var $w = function (a) { + a.byteLength && (a = new Uint8Array(a)); + Da.set(a, f.i); + b.memoryInitializerRequest && delete b.memoryInitializerRequest.response; + yb(); + }; + if (b.memoryInitializerRequest) { + var bx = function () { + var a = b.memoryInitializerRequest; + 200 !== a.status && 0 !== a.status + ? (console.warn( + 'a problem seems to have happened with Module.memoryInitializerRequest, status: ' + + a.status + + ', retrying ' + + zb + ), + ax()) + : $w(a.response); + }; + b.memoryInitializerRequest.response + ? setTimeout(bx, 0) + : b.memoryInitializerRequest.addEventListener('load', bx); + } else ax(); + } + b.then = function (a) { + if (b.calledRun) a(b); + else { + var c = b.onRuntimeInitialized; + b.onRuntimeInitialized = function () { + c && c(); + a(b); + }; + } + return b; + }; + function ja(a) { + this.name = 'ExitStatus'; + this.message = 'Program terminated with exit(' + a + ')'; + this.status = a; + } + ja.prototype = Error(); + ja.prototype.constructor = ja; + var cx = null, + wb = function dx() { + b.calledRun || ex(); + b.calledRun || (wb = dx); + }; + b.callMain = b.O = function (a) { + function c() { + for (var a = 0; 3 > a; a++) e.push(0); + } + a = a || []; + pb || ((pb = !0), hb(jb)); + var d = a.length + 1, + e = [Ba(rb(b.thisProgram), 'i8', 0)]; + c(); + for (var g = 0; g < d - 1; g += 1) e.push(Ba(rb(a[g]), 'i8', 0)), c(); + e.push(0); + e = Ba(e, 'i32', 0); + try { + var l = b._main(d, e, 0); + fx(l, !0); + } catch (m) { + m instanceof ja || + ('SimulateInfiniteLoop' == m + ? (b.noExitRuntime = !0) + : ((a = m) && 'object' === typeof m && m.stack && (a = [m, m.stack]), + b.h('exception thrown: ' + a), + b.quit(1, m))); + } finally { + } + }; + function ex(a) { + function c() { + if (!b.calledRun && ((b.calledRun = !0), !ra)) { + pb || ((pb = !0), hb(jb)); + hb(kb); + if (b.onRuntimeInitialized) b.onRuntimeInitialized(); + b._main && gx && b.callMain(a); + if (b.postRun) + for ('function' == typeof b.postRun && (b.postRun = [b.postRun]); b.postRun.length; ) { + var c = b.postRun.shift(); + ob.unshift(c); + } + hb(ob); + } + } + a = a || b.arguments; + null === cx && (cx = Date.now()); + if (!(0 < tb)) { + if (b.preRun) + for ('function' == typeof b.preRun && (b.preRun = [b.preRun]); b.preRun.length; ) qb(); + hb(ib); + 0 < tb || + b.calledRun || + (b.setStatus + ? (b.setStatus('Running...'), + setTimeout(function () { + setTimeout(function () { + b.setStatus(''); + }, 1); + c(); + }, 1)) + : c()); + } + } + b.run = b.run = ex; + function fx(a, c) { + if (!c || !b.noExitRuntime) { + if (!b.noExitRuntime && ((ra = !0), (ka = void 0), hb(nb), b.onExit)) b.onExit(a); + ea && process.exit(a); + b.quit(a, new ja(a)); + } + } + b.exit = b.exit = fx; + var hx = []; + function ta(a) { + if (b.onAbort) b.onAbort(a); + void 0 !== a ? (b.print(a), b.h(a), (a = JSON.stringify(a))) : (a = ''); + ra = !0; + var c = + 'abort(' + + a + + ') at ' + + Ra() + + '\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.'; + hx && + hx.forEach(function (d) { + c = d(c, a); + }); + throw c; + } + b.abort = b.abort = ta; + if (b.preInit) + for ('function' == typeof b.preInit && (b.preInit = [b.preInit]); 0 < b.preInit.length; ) + b.preInit.pop()(); + var gx = !0; + b.noInitialRun && (gx = !1); + b.noExitRuntime = !0; + ex(); + function h() {} + h.prototype = Object.create(h.prototype); + h.prototype.constructor = h; + h.prototype.b = h; + h.c = {}; + b.WrapperObject = h; + function k(a) { + return (a || h).c; + } + b.getCache = k; + function n(a, c) { + var d = k(c), + e = d[a]; + if (e) return e; + e = Object.create((c || h).prototype); + e.a = a; + return (d[a] = e); + } + b.wrapPointer = n; + b.castObject = function (a, c) { + return n(a.a, c); + }; + b.NULL = n(0); + b.destroy = function (a) { + if (!a.__destroy__) throw 'Error: Cannot destroy object. (Did you create it yourself?)'; + a.__destroy__(); + delete k(a.b)[a.a]; + }; + b.compare = function (a, c) { + return a.a === c.a; + }; + b.getPointer = function (a) { + return a.a; + }; + b.getClass = function (a) { + return a.b; + }; + var ix = 0, + jx = 0, + kx = [], + lx = 0; + function mx() { + if (lx) { + for (var a = 0; a < kx.length; a++) b._free(kx[a]); + kx.length = 0; + b._free(ix); + ix = 0; + jx += lx; + lx = 0; + } + ix || ((jx += 128), (ix = b._malloc(jx)), assert(ix)); + } + function nx() { + throw 'cannot construct a b2DestructionListenerWrapper, no constructor in IDL'; + } + nx.prototype = Object.create(h.prototype); + nx.prototype.constructor = nx; + nx.prototype.b = nx; + nx.c = {}; + b.b2DestructionListenerWrapper = nx; + nx.prototype.__destroy__ = function () { + pv(this.a); + }; + function ox() { + throw 'cannot construct a b2Draw, no constructor in IDL'; + } + ox.prototype = Object.create(h.prototype); + ox.prototype.constructor = ox; + ox.prototype.b = ox; + ox.c = {}; + b.b2Draw = ox; + ox.prototype.SetFlags = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ie(c, a); + }; + ox.prototype.GetFlags = function () { + return bc(this.a); + }; + ox.prototype.AppendFlags = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Gh(c, a); + }; + ox.prototype.ClearFlags = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bi(c, a); + }; + ox.prototype.__destroy__ = function () { + fj(this.a); + }; + function p() { + throw 'cannot construct a b2Joint, no constructor in IDL'; + } + p.prototype = Object.create(h.prototype); + p.prototype.constructor = p; + p.prototype.b = p; + p.c = {}; + b.b2Joint = p; + p.prototype.GetType = function () { + return ht(this.a); + }; + p.prototype.GetBodyA = function () { + return n(Uv(this.a), q); + }; + p.prototype.GetBodyB = function () { + return n(qw(this.a), q); + }; + p.prototype.GetAnchorA = function () { + return n(ln(this.a), r); + }; + p.prototype.GetAnchorB = function () { + return n(jj(this.a), r); + }; + p.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(am(c, a), r); + }; + p.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Uj(c, a); + }; + p.prototype.GetNext = function () { + return n(gt(this.a), p); + }; + p.prototype.GetUserData = function () { + return cl(this.a); + }; + p.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xf(c, a); + }; + p.prototype.IsActive = function () { + return !!Lu(this.a); + }; + p.prototype.GetCollideConnected = function () { + return !!kf(this.a); + }; + p.prototype.Dump = function () { + tw(this.a); + }; + function px() { + throw 'cannot construct a b2RayCastCallback, no constructor in IDL'; + } + px.prototype = Object.create(h.prototype); + px.prototype.constructor = px; + px.prototype.b = px; + px.c = {}; + b.b2RayCastCallback = px; + px.prototype.__destroy__ = function () { + zh(this.a); + }; + function qx() { + throw 'cannot construct a b2ContactListener, no constructor in IDL'; + } + qx.prototype = Object.create(h.prototype); + qx.prototype.constructor = qx; + qx.prototype.b = qx; + qx.c = {}; + b.b2ContactListener = qx; + qx.prototype.__destroy__ = function () { + So(this.a); + }; + function rx() { + throw 'cannot construct a b2QueryCallback, no constructor in IDL'; + } + rx.prototype = Object.create(h.prototype); + rx.prototype.constructor = rx; + rx.prototype.b = rx; + rx.c = {}; + b.b2QueryCallback = rx; + rx.prototype.__destroy__ = function () { + vt(this.a); + }; + function t() { + this.a = cn(); + k(t)[this.a] = this; + } + t.prototype = Object.create(h.prototype); + t.prototype.constructor = t; + t.prototype.b = t; + t.c = {}; + b.b2JointDef = t; + t.prototype.get_type = function () { + return $t(this.a); + }; + t.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ku(c, a); + }; + t.prototype.get_userData = function () { + return Tm(this.a); + }; + t.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + lq(c, a); + }; + t.prototype.get_bodyA = function () { + return n(Fr(this.a), q); + }; + t.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Dk(c, a); + }; + t.prototype.get_bodyB = function () { + return n(fn(this.a), q); + }; + t.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qr(c, a); + }; + t.prototype.get_collideConnected = function () { + return !!gd(this.a); + }; + t.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + yk(c, a); + }; + t.prototype.__destroy__ = function () { + We(this.a); + }; + function sx() { + throw 'cannot construct a b2Shape, no constructor in IDL'; + } + sx.prototype = Object.create(h.prototype); + sx.prototype.constructor = sx; + sx.prototype.b = sx; + sx.c = {}; + b.b2Shape = sx; + sx.prototype.GetType = function () { + return Xn(this.a); + }; + sx.prototype.GetChildCount = function () { + return rw(this.a); + }; + sx.prototype.TestPoint = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!Dr(d, a, c); + }; + sx.prototype.RayCast = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return !!bd(g, a, c, d, e); + }; + sx.prototype.ComputeAABB = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Yb(e, a, c, d); + }; + sx.prototype.ComputeMass = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Cw(d, a, c); + }; + sx.prototype.get_m_type = function () { + return lk(this.a); + }; + sx.prototype.set_m_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ys(c, a); + }; + sx.prototype.get_m_radius = function () { + return Nu(this.a); + }; + sx.prototype.set_m_radius = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + tf(c, a); + }; + sx.prototype.__destroy__ = function () { + $l(this.a); + }; + function tx() { + throw 'cannot construct a b2ContactFilter, no constructor in IDL'; + } + tx.prototype = Object.create(h.prototype); + tx.prototype.constructor = tx; + tx.prototype.b = tx; + tx.c = {}; + b.b2ContactFilter = tx; + tx.prototype.__destroy__ = function () { + Uf(this.a); + }; + function ux() { + this.a = Qe(); + k(ux)[this.a] = this; + } + ux.prototype = Object.create(nx.prototype); + ux.prototype.constructor = ux; + ux.prototype.b = ux; + ux.c = {}; + b.JSDestructionListener = ux; + ux.prototype.SayGoodbyeJoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zl(c, a); + }; + ux.prototype.SayGoodbyeFixture = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + eq(c, a); + }; + ux.prototype.__destroy__ = function () { + Gs(this.a); + }; + function vx() { + throw 'cannot construct a b2ContactImpulse, no constructor in IDL'; + } + vx.prototype = Object.create(h.prototype); + vx.prototype.constructor = vx; + vx.prototype.b = vx; + vx.c = {}; + b.b2ContactImpulse = vx; + vx.prototype.get_count = function () { + return En(this.a); + }; + vx.prototype.set_count = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xg(c, a); + }; + vx.prototype.__destroy__ = function () { + Le(this.a); + }; + function u() { + throw 'cannot construct a b2DistanceJoint, no constructor in IDL'; + } + u.prototype = Object.create(p.prototype); + u.prototype.constructor = u; + u.prototype.b = u; + u.c = {}; + b.b2DistanceJoint = u; + u.prototype.GetLocalAnchorA = function () { + return n(ne(this.a), r); + }; + u.prototype.GetLocalAnchorB = function () { + return n(Xh(this.a), r); + }; + u.prototype.SetLength = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kv(c, a); + }; + u.prototype.GetLength = function () { + return ek(this.a); + }; + u.prototype.SetFrequency = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vg(c, a); + }; + u.prototype.GetFrequency = function () { + return Rl(this.a); + }; + u.prototype.SetDampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ce(c, a); + }; + u.prototype.GetDampingRatio = function () { + return mh(this.a); + }; + u.prototype.GetType = function () { + return Ik(this.a); + }; + u.prototype.GetBodyA = function () { + return n(Hw(this.a), q); + }; + u.prototype.GetBodyB = function () { + return n(Ue(this.a), q); + }; + u.prototype.GetAnchorA = function () { + return n(Qc(this.a), r); + }; + u.prototype.GetAnchorB = function () { + return n(Hg(this.a), r); + }; + u.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(gn(c, a), r); + }; + u.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Rs(c, a); + }; + u.prototype.GetNext = function () { + return n(ke(this.a), p); + }; + u.prototype.GetUserData = function () { + return Kd(this.a); + }; + u.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yf(c, a); + }; + u.prototype.IsActive = function () { + return !!Dg(this.a); + }; + u.prototype.GetCollideConnected = function () { + return !!Ft(this.a); + }; + u.prototype.__destroy__ = function () { + Yk(this.a); + }; + function wx(a, c, d) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + this.a = + void 0 === a + ? pg() + : void 0 === c + ? _emscripten_bind_b2Mat33_b2Mat33_1(a) + : void 0 === d + ? _emscripten_bind_b2Mat33_b2Mat33_2(a, c) + : Yt(a, c, d); + k(wx)[this.a] = this; + } + wx.prototype = Object.create(h.prototype); + wx.prototype.constructor = wx; + wx.prototype.b = wx; + wx.c = {}; + b.b2Mat33 = wx; + wx.prototype.SetZero = function () { + Fu(this.a); + }; + wx.prototype.Solve33 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(mp(c, a), xx); + }; + wx.prototype.Solve22 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Sf(c, a), r); + }; + wx.prototype.GetInverse22 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Lm(c, a); + }; + wx.prototype.GetSymInverse33 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sl(c, a); + }; + wx.prototype.get_ex = function () { + return n(Rg(this.a), xx); + }; + wx.prototype.set_ex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Nt(c, a); + }; + wx.prototype.get_ey = function () { + return n(Ic(this.a), xx); + }; + wx.prototype.set_ey = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Lc(c, a); + }; + wx.prototype.get_ez = function () { + return n(cf(this.a), xx); + }; + wx.prototype.set_ez = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ou(c, a); + }; + wx.prototype.__destroy__ = function () { + dd(this.a); + }; + function v() { + throw 'cannot construct a b2Fixture, no constructor in IDL'; + } + v.prototype = Object.create(h.prototype); + v.prototype.constructor = v; + v.prototype.b = v; + v.c = {}; + b.b2Fixture = v; + v.prototype.GetType = function () { + return Kk(this.a); + }; + v.prototype.GetShape = function () { + return n(gv(this.a), sx); + }; + v.prototype.SetSensor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + gw(c, a); + }; + v.prototype.IsSensor = function () { + return !!xv(this.a); + }; + v.prototype.SetFilterData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + iq(c, a); + }; + v.prototype.GetFilterData = function () { + return n(dt(this.a), yx); + }; + v.prototype.Refilter = function () { + ro(this.a); + }; + v.prototype.GetBody = function () { + return n(Wg(this.a), q); + }; + v.prototype.GetNext = function () { + return n(Au(this.a), v); + }; + v.prototype.GetUserData = function () { + return Fl(this.a); + }; + v.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $i(c, a); + }; + v.prototype.TestPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return !!rl(c, a); + }; + v.prototype.RayCast = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + return !!Ck(e, a, c, d); + }; + v.prototype.GetMassData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xw(c, a); + }; + v.prototype.SetDensity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ch(c, a); + }; + v.prototype.GetDensity = function () { + return Cp(this.a); + }; + v.prototype.GetFriction = function () { + return zu(this.a); + }; + v.prototype.SetFriction = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Eo(c, a); + }; + v.prototype.GetRestitution = function () { + return pe(this.a); + }; + v.prototype.SetRestitution = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kt(c, a); + }; + v.prototype.GetAABB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(qn(c, a), zx); + }; + v.prototype.Dump = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qm(c, a); + }; + v.prototype.__destroy__ = function () { + pc(this.a); + }; + function yx() { + this.a = Od(); + k(yx)[this.a] = this; + } + yx.prototype = Object.create(h.prototype); + yx.prototype.constructor = yx; + yx.prototype.b = yx; + yx.c = {}; + b.b2Filter = yx; + yx.prototype.get_categoryBits = function () { + return Bm(this.a); + }; + yx.prototype.set_categoryBits = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bl(c, a); + }; + yx.prototype.get_maskBits = function () { + return Mo(this.a); + }; + yx.prototype.set_maskBits = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yr(c, a); + }; + yx.prototype.get_groupIndex = function () { + return Ye(this.a); + }; + yx.prototype.set_groupIndex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bn(c, a); + }; + yx.prototype.__destroy__ = function () { + Mn(this.a); + }; + function Ax() { + this.a = id(); + k(Ax)[this.a] = this; + } + Ax.prototype = Object.create(rx.prototype); + Ax.prototype.constructor = Ax; + Ax.prototype.b = Ax; + Ax.c = {}; + b.JSQueryCallback = Ax; + Ax.prototype.ReportFixture = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return !!au(c, a); + }; + Ax.prototype.__destroy__ = function () { + qo(this.a); + }; + function w() { + throw 'cannot construct a b2MouseJoint, no constructor in IDL'; + } + w.prototype = Object.create(p.prototype); + w.prototype.constructor = w; + w.prototype.b = w; + w.c = {}; + b.b2MouseJoint = w; + w.prototype.SetTarget = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jg(c, a); + }; + w.prototype.GetTarget = function () { + return n(po(this.a), r); + }; + w.prototype.SetMaxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jq(c, a); + }; + w.prototype.GetMaxForce = function () { + return ig(this.a); + }; + w.prototype.SetFrequency = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xl(c, a); + }; + w.prototype.GetFrequency = function () { + return Xo(this.a); + }; + w.prototype.SetDampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + mk(c, a); + }; + w.prototype.GetDampingRatio = function () { + return Lr(this.a); + }; + w.prototype.GetType = function () { + return oo(this.a); + }; + w.prototype.GetBodyA = function () { + return n(Bo(this.a), q); + }; + w.prototype.GetBodyB = function () { + return n(Ti(this.a), q); + }; + w.prototype.GetAnchorA = function () { + return n(eu(this.a), r); + }; + w.prototype.GetAnchorB = function () { + return n(Jq(this.a), r); + }; + w.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(tv(c, a), r); + }; + w.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Sn(c, a); + }; + w.prototype.GetNext = function () { + return n(li(this.a), p); + }; + w.prototype.GetUserData = function () { + return sq(this.a); + }; + w.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xt(c, a); + }; + w.prototype.IsActive = function () { + return !!$b(this.a); + }; + w.prototype.GetCollideConnected = function () { + return !!Jc(this.a); + }; + w.prototype.__destroy__ = function () { + Pv(this.a); + }; + function Bx(a) { + a && 'object' === typeof a && (a = a.a); + this.a = void 0 === a ? ko() : lo(a); + k(Bx)[this.a] = this; + } + Bx.prototype = Object.create(h.prototype); + Bx.prototype.constructor = Bx; + Bx.prototype.b = Bx; + Bx.c = {}; + b.b2Rot = Bx; + Bx.prototype.Set = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Of(c, a); + }; + Bx.prototype.SetIdentity = function () { + pq(this.a); + }; + Bx.prototype.GetAngle = function () { + return up(this.a); + }; + Bx.prototype.GetXAxis = function () { + return n(og(this.a), r); + }; + Bx.prototype.GetYAxis = function () { + return n(er(this.a), r); + }; + Bx.prototype.get_s = function () { + return Hp(this.a); + }; + Bx.prototype.set_s = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ej(c, a); + }; + Bx.prototype.get_c = function () { + return gq(this.a); + }; + Bx.prototype.set_c = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + dn(c, a); + }; + Bx.prototype.__destroy__ = function () { + Lo(this.a); + }; + function x() { + throw 'cannot construct a b2MotorJoint, no constructor in IDL'; + } + x.prototype = Object.create(p.prototype); + x.prototype.constructor = x; + x.prototype.b = x; + x.c = {}; + b.b2MotorJoint = x; + x.prototype.SetLinearOffset = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Cv(c, a); + }; + x.prototype.GetLinearOffset = function () { + return n(yp(this.a), r); + }; + x.prototype.SetAngularOffset = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xp(c, a); + }; + x.prototype.GetAngularOffset = function () { + return lv(this.a); + }; + x.prototype.SetMaxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wo(c, a); + }; + x.prototype.GetMaxForce = function () { + return lj(this.a); + }; + x.prototype.SetMaxTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + td(c, a); + }; + x.prototype.GetMaxTorque = function () { + return Pr(this.a); + }; + x.prototype.SetCorrectionFactor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ad(c, a); + }; + x.prototype.GetCorrectionFactor = function () { + return cq(this.a); + }; + x.prototype.GetType = function () { + return Oq(this.a); + }; + x.prototype.GetBodyA = function () { + return n(Fh(this.a), q); + }; + x.prototype.GetBodyB = function () { + return n(Dh(this.a), q); + }; + x.prototype.GetAnchorA = function () { + return n(Bp(this.a), r); + }; + x.prototype.GetAnchorB = function () { + return n(fv(this.a), r); + }; + x.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(tp(c, a), r); + }; + x.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return lf(c, a); + }; + x.prototype.GetNext = function () { + return n(aw(this.a), p); + }; + x.prototype.GetUserData = function () { + return jk(this.a); + }; + x.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bh(c, a); + }; + x.prototype.IsActive = function () { + return !!Rn(this.a); + }; + x.prototype.GetCollideConnected = function () { + return !!Ae(this.a); + }; + x.prototype.__destroy__ = function () { + zk(this.a); + }; + function y() { + throw 'cannot construct a b2Profile, no constructor in IDL'; + } + y.prototype = Object.create(h.prototype); + y.prototype.constructor = y; + y.prototype.b = y; + y.c = {}; + b.b2Profile = y; + y.prototype.get_step = function () { + return bk(this.a); + }; + y.prototype.set_step = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ei(c, a); + }; + y.prototype.get_collide = function () { + return lt(this.a); + }; + y.prototype.set_collide = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Av(c, a); + }; + y.prototype.get_solve = function () { + return dq(this.a); + }; + y.prototype.set_solve = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vs(c, a); + }; + y.prototype.get_solveInit = function () { + return wv(this.a); + }; + y.prototype.set_solveInit = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Nk(c, a); + }; + y.prototype.get_solveVelocity = function () { + return Rv(this.a); + }; + y.prototype.set_solveVelocity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $m(c, a); + }; + y.prototype.get_solvePosition = function () { + return ad(this.a); + }; + y.prototype.set_solvePosition = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Tf(c, a); + }; + y.prototype.get_broadphase = function () { + return Mc(this.a); + }; + y.prototype.set_broadphase = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Cn(c, a); + }; + y.prototype.get_solveTOI = function () { + return Fg(this.a); + }; + y.prototype.set_solveTOI = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jh(c, a); + }; + y.prototype.__destroy__ = function () { + Tg(this.a); + }; + function Cx() { + throw 'cannot construct a VoidPtr, no constructor in IDL'; + } + Cx.prototype = Object.create(h.prototype); + Cx.prototype.constructor = Cx; + Cx.prototype.b = Cx; + Cx.c = {}; + b.VoidPtr = Cx; + Cx.prototype.__destroy__ = function () { + hp(this.a); + }; + function z() { + this.a = nw(); + k(z)[this.a] = this; + } + z.prototype = Object.create(h.prototype); + z.prototype.constructor = z; + z.prototype.b = z; + z.c = {}; + b.b2BodyDef = z; + z.prototype.get_type = function () { + return Km(this.a); + }; + z.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vc(c, a); + }; + z.prototype.get_position = function () { + return n(Bc(this.a), r); + }; + z.prototype.set_position = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + md(c, a); + }; + z.prototype.get_angle = function () { + return Tt(this.a); + }; + z.prototype.set_angle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ll(c, a); + }; + z.prototype.get_linearVelocity = function () { + return n(av(this.a), r); + }; + z.prototype.set_linearVelocity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xk(c, a); + }; + z.prototype.get_angularVelocity = function () { + return ee(this.a); + }; + z.prototype.set_angularVelocity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + um(c, a); + }; + z.prototype.get_linearDamping = function () { + return Yj(this.a); + }; + z.prototype.set_linearDamping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Br(c, a); + }; + z.prototype.get_angularDamping = function () { + return Rq(this.a); + }; + z.prototype.set_angularDamping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wp(c, a); + }; + z.prototype.get_allowSleep = function () { + return !!Pi(this.a); + }; + z.prototype.set_allowSleep = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bi(c, a); + }; + z.prototype.get_awake = function () { + return !!Co(this.a); + }; + z.prototype.set_awake = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + zl(c, a); + }; + z.prototype.get_fixedRotation = function () { + return !!On(this.a); + }; + z.prototype.set_fixedRotation = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qk(c, a); + }; + z.prototype.get_bullet = function () { + return !!af(this.a); + }; + z.prototype.set_bullet = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Um(c, a); + }; + z.prototype.get_active = function () { + return !!cj(this.a); + }; + z.prototype.set_active = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Oj(c, a); + }; + z.prototype.get_userData = function () { + return Bv(this.a); + }; + z.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ir(c, a); + }; + z.prototype.get_gravityScale = function () { + return of(this.a); + }; + z.prototype.set_gravityScale = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yd(c, a); + }; + z.prototype.__destroy__ = function () { + ns(this.a); + }; + function Dx() { + this.a = Bf(); + k(Dx)[this.a] = this; + } + Dx.prototype = Object.create(px.prototype); + Dx.prototype.constructor = Dx; + Dx.prototype.b = Dx; + Dx.c = {}; + b.JSRayCastCallback = Dx; + Dx.prototype.ReportFixture = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return Ke(g, a, c, d, e); + }; + Dx.prototype.__destroy__ = function () { + Ro(this.a); + }; + function Ex() { + throw 'cannot construct a b2ContactFeature, no constructor in IDL'; + } + Ex.prototype = Object.create(h.prototype); + Ex.prototype.constructor = Ex; + Ex.prototype.b = Ex; + Ex.c = {}; + b.b2ContactFeature = Ex; + Ex.prototype.get_indexA = function () { + return Lg(this.a); + }; + Ex.prototype.set_indexA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vv(c, a); + }; + Ex.prototype.get_indexB = function () { + return El(this.a); + }; + Ex.prototype.set_indexB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zq(c, a); + }; + Ex.prototype.get_typeA = function () { + return Hl(this.a); + }; + Ex.prototype.set_typeA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Pm(c, a); + }; + Ex.prototype.get_typeB = function () { + return rp(this.a); + }; + Ex.prototype.set_typeB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Nr(c, a); + }; + Ex.prototype.__destroy__ = function () { + Op(this.a); + }; + function r(a, c) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + this.a = void 0 === a ? Gg() : void 0 === c ? _emscripten_bind_b2Vec2_b2Vec2_1(a) : rk(a, c); + k(r)[this.a] = this; + } + r.prototype = Object.create(h.prototype); + r.prototype.constructor = r; + r.prototype.b = r; + r.c = {}; + b.b2Vec2 = r; + r.prototype.SetZero = function () { + nr(this.a); + }; + r.prototype.Set = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Ep(d, a, c); + }; + r.prototype.op_add = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hf(c, a); + }; + r.prototype.op_sub = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jg(c, a); + }; + r.prototype.op_mul = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hi(c, a); + }; + r.prototype.Length = function () { + return mr(this.a); + }; + r.prototype.LengthSquared = function () { + return yw(this.a); + }; + r.prototype.Normalize = function () { + return xf(this.a); + }; + r.prototype.IsValid = function () { + return !!ap(this.a); + }; + r.prototype.Skew = function () { + return n(Kr(this.a), r); + }; + r.prototype.get_x = function () { + return xi(this.a); + }; + r.prototype.set_x = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Uu(c, a); + }; + r.prototype.get_y = function () { + return Al(this.a); + }; + r.prototype.set_y = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ks(c, a); + }; + r.prototype.__destroy__ = function () { + Xu(this.a); + }; + function xx(a, c, d) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + this.a = + void 0 === a + ? Wk() + : void 0 === c + ? _emscripten_bind_b2Vec3_b2Vec3_1(a) + : void 0 === d + ? _emscripten_bind_b2Vec3_b2Vec3_2(a, c) + : gl(a, c, d); + k(xx)[this.a] = this; + } + xx.prototype = Object.create(h.prototype); + xx.prototype.constructor = xx; + xx.prototype.b = xx; + xx.c = {}; + b.b2Vec3 = xx; + xx.prototype.SetZero = function () { + pf(this.a); + }; + xx.prototype.Set = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + pj(e, a, c, d); + }; + xx.prototype.op_add = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + gg(c, a); + }; + xx.prototype.op_sub = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vn(c, a); + }; + xx.prototype.op_mul = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + iv(c, a); + }; + xx.prototype.get_x = function () { + return Xc(this.a); + }; + xx.prototype.set_x = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xl(c, a); + }; + xx.prototype.get_y = function () { + return Zt(this.a); + }; + xx.prototype.set_y = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vp(c, a); + }; + xx.prototype.get_z = function () { + return Am(this.a); + }; + xx.prototype.set_z = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Pl(c, a); + }; + xx.prototype.__destroy__ = function () { + gh(this.a); + }; + function zx() { + this.a = Do(); + k(zx)[this.a] = this; + } + zx.prototype = Object.create(h.prototype); + zx.prototype.constructor = zx; + zx.prototype.b = zx; + zx.c = {}; + b.b2AABB = zx; + zx.prototype.IsValid = function () { + return !!Yn(this.a); + }; + zx.prototype.GetCenter = function () { + return n(Lh(this.a), r); + }; + zx.prototype.GetExtents = function () { + return n(eh(this.a), r); + }; + zx.prototype.GetPerimeter = function () { + return Pg(this.a); + }; + zx.prototype.Combine = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + void 0 === c ? Xp(d, a) : Ni(d, a, c); + }; + zx.prototype.Contains = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return !!je(c, a); + }; + zx.prototype.RayCast = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!ck(d, a, c); + }; + zx.prototype.get_lowerBound = function () { + return n(ae(this.a), r); + }; + zx.prototype.set_lowerBound = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hq(c, a); + }; + zx.prototype.get_upperBound = function () { + return n(se(this.a), r); + }; + zx.prototype.set_upperBound = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Je(c, a); + }; + zx.prototype.__destroy__ = function () { + Jn(this.a); + }; + function Fx() { + this.a = Ij(); + k(Fx)[this.a] = this; + } + Fx.prototype = Object.create(h.prototype); + Fx.prototype.constructor = Fx; + Fx.prototype.b = Fx; + Fx.c = {}; + b.b2FixtureDef = Fx; + Fx.prototype.get_shape = function () { + return n(Ut(this.a), sx); + }; + Fx.prototype.set_shape = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yg(c, a); + }; + Fx.prototype.get_userData = function () { + return Jd(this.a); + }; + Fx.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + mc(c, a); + }; + Fx.prototype.get_friction = function () { + return st(this.a); + }; + Fx.prototype.set_friction = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bm(c, a); + }; + Fx.prototype.get_restitution = function () { + return Jk(this.a); + }; + Fx.prototype.set_restitution = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Gc(c, a); + }; + Fx.prototype.get_density = function () { + return Bd(this.a); + }; + Fx.prototype.set_density = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ws(c, a); + }; + Fx.prototype.get_isSensor = function () { + return !!If(this.a); + }; + Fx.prototype.set_isSensor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qj(c, a); + }; + Fx.prototype.get_filter = function () { + return n(jc(this.a), yx); + }; + Fx.prototype.set_filter = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vh(c, a); + }; + Fx.prototype.__destroy__ = function () { + Ov(this.a); + }; + function A() { + this.a = Tk(); + k(A)[this.a] = this; + } + A.prototype = Object.create(t.prototype); + A.prototype.constructor = A; + A.prototype.b = A; + A.c = {}; + b.b2FrictionJointDef = A; + A.prototype.Initialize = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Sr(e, a, c, d); + }; + A.prototype.get_localAnchorA = function () { + return n(Ze(this.a), r); + }; + A.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + zf(c, a); + }; + A.prototype.get_localAnchorB = function () { + return n(Me(this.a), r); + }; + A.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + rj(c, a); + }; + A.prototype.get_maxForce = function () { + return tm(this.a); + }; + A.prototype.set_maxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Im(c, a); + }; + A.prototype.get_maxTorque = function () { + return hd(this.a); + }; + A.prototype.set_maxTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ps(c, a); + }; + A.prototype.get_type = function () { + return kc(this.a); + }; + A.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Rr(c, a); + }; + A.prototype.get_userData = function () { + return yh(this.a); + }; + A.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zb(c, a); + }; + A.prototype.get_bodyA = function () { + return n(qu(this.a), q); + }; + A.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + zw(c, a); + }; + A.prototype.get_bodyB = function () { + return n(mf(this.a), q); + }; + A.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Iq(c, a); + }; + A.prototype.get_collideConnected = function () { + return !!Tr(this.a); + }; + A.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ld(c, a); + }; + A.prototype.__destroy__ = function () { + Nh(this.a); + }; + function Gx() { + this.a = wq(); + k(Gx)[this.a] = this; + } + Gx.prototype = Object.create(h.prototype); + Gx.prototype.constructor = Gx; + Gx.prototype.b = Gx; + Gx.c = {}; + b.b2Manifold = Gx; + Gx.prototype.get_localNormal = function () { + return n(Vk(this.a), r); + }; + Gx.prototype.set_localNormal = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Er(c, a); + }; + Gx.prototype.get_localPoint = function () { + return n(ni(this.a), r); + }; + Gx.prototype.set_localPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Sm(c, a); + }; + Gx.prototype.get_type = function () { + return sk(this.a); + }; + Gx.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + fl(c, a); + }; + Gx.prototype.get_pointCount = function () { + return Ef(this.a); + }; + Gx.prototype.set_pointCount = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $k(c, a); + }; + Gx.prototype.__destroy__ = function () { + ug(this.a); + }; + function Hx() { + this.a = Dc(); + k(Hx)[this.a] = this; + } + Hx.prototype = Object.create(h.prototype); + Hx.prototype.constructor = Hx; + Hx.prototype.b = Hx; + Hx.c = {}; + b.b2WorldManifold = Hx; + Hx.prototype.Initialize = function (a, c, d, e, g) { + var l = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + g && 'object' === typeof g && (g = g.a); + Ll(l, a, c, d, e, g); + }; + Hx.prototype.get_normal = function () { + return n(gu(this.a), r); + }; + Hx.prototype.set_normal = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ok(c, a); + }; + Hx.prototype.get_points = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(dl(c, a), r); + }; + Hx.prototype.set_points = function (a, c) { + var d = this.a; + mx(); + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Kj(d, a, c); + }; + Hx.prototype.get_separations = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return pw(c, a); + }; + Hx.prototype.set_separations = function (a, c) { + var d = this.a; + mx(); + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + hk(d, a, c); + }; + Hx.prototype.__destroy__ = function () { + Vm(this.a); + }; + function B() { + this.a = bj(); + k(B)[this.a] = this; + } + B.prototype = Object.create(t.prototype); + B.prototype.constructor = B; + B.prototype.b = B; + B.c = {}; + b.b2PrismaticJointDef = B; + B.prototype.Initialize = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + Jf(g, a, c, d, e); + }; + B.prototype.get_localAnchorA = function () { + return n(Ii(this.a), r); + }; + B.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + tt(c, a); + }; + B.prototype.get_localAnchorB = function () { + return n(Fe(this.a), r); + }; + B.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + To(c, a); + }; + B.prototype.get_localAxisA = function () { + return n(Iu(this.a), r); + }; + B.prototype.set_localAxisA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Pu(c, a); + }; + B.prototype.get_referenceAngle = function () { + return ce(this.a); + }; + B.prototype.set_referenceAngle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + th(c, a); + }; + B.prototype.get_enableLimit = function () { + return !!bt(this.a); + }; + B.prototype.set_enableLimit = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ql(c, a); + }; + B.prototype.get_lowerTranslation = function () { + return Md(this.a); + }; + B.prototype.set_lowerTranslation = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + kd(c, a); + }; + B.prototype.get_upperTranslation = function () { + return Dd(this.a); + }; + B.prototype.set_upperTranslation = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wl(c, a); + }; + B.prototype.get_enableMotor = function () { + return !!Es(this.a); + }; + B.prototype.set_enableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jr(c, a); + }; + B.prototype.get_maxMotorForce = function () { + return Gw(this.a); + }; + B.prototype.set_maxMotorForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qv(c, a); + }; + B.prototype.get_motorSpeed = function () { + return Wb(this.a); + }; + B.prototype.set_motorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Pn(c, a); + }; + B.prototype.get_type = function () { + return Mw(this.a); + }; + B.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kh(c, a); + }; + B.prototype.get_userData = function () { + return kj(this.a); + }; + B.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qr(c, a); + }; + B.prototype.get_bodyA = function () { + return n(es(this.a), q); + }; + B.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bp(c, a); + }; + B.prototype.get_bodyB = function () { + return n(Pk(this.a), q); + }; + B.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Sk(c, a); + }; + B.prototype.get_collideConnected = function () { + return !!Sl(this.a); + }; + B.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + rn(c, a); + }; + B.prototype.__destroy__ = function () { + ge(this.a); + }; + function C(a) { + a && 'object' === typeof a && (a = a.a); + this.a = Zh(a); + k(C)[this.a] = this; + } + C.prototype = Object.create(h.prototype); + C.prototype.constructor = C; + C.prototype.b = C; + C.c = {}; + b.b2World = C; + C.prototype.SetDestructionListener = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Gv(c, a); + }; + C.prototype.SetContactFilter = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + uw(c, a); + }; + C.prototype.SetContactListener = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wd(c, a); + }; + C.prototype.SetDebugDraw = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + uf(c, a); + }; + C.prototype.CreateBody = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Go(c, a), q); + }; + C.prototype.DestroyBody = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $c(c, a); + }; + C.prototype.CreateJoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(xg(c, a), p); + }; + C.prototype.DestroyJoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + pr(c, a); + }; + C.prototype.Step = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Zj(e, a, c, d); + }; + C.prototype.ClearForces = function () { + fh(this.a); + }; + C.prototype.DrawDebugData = function () { + Ym(this.a); + }; + C.prototype.QueryAABB = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + zv(d, a, c); + }; + C.prototype.RayCast = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + it(e, a, c, d); + }; + C.prototype.GetBodyList = function () { + return n(et(this.a), q); + }; + C.prototype.GetJointList = function () { + return n(yr(this.a), p); + }; + C.prototype.GetContactList = function () { + return n(nu(this.a), E); + }; + C.prototype.SetAllowSleeping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vp(c, a); + }; + C.prototype.GetAllowSleeping = function () { + return !!fi(this.a); + }; + C.prototype.SetWarmStarting = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + rc(c, a); + }; + C.prototype.GetWarmStarting = function () { + return !!cp(this.a); + }; + C.prototype.SetContinuousPhysics = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Em(c, a); + }; + C.prototype.GetContinuousPhysics = function () { + return !!Tv(this.a); + }; + C.prototype.SetSubStepping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + gf(c, a); + }; + C.prototype.GetSubStepping = function () { + return !!dr(this.a); + }; + C.prototype.GetProxyCount = function () { + return sd(this.a); + }; + C.prototype.GetBodyCount = function () { + return em(this.a); + }; + C.prototype.GetJointCount = function () { + return Fn(this.a); + }; + C.prototype.GetContactCount = function () { + return Pq(this.a); + }; + C.prototype.GetTreeHeight = function () { + return as(this.a); + }; + C.prototype.GetTreeBalance = function () { + return fc(this.a); + }; + C.prototype.GetTreeQuality = function () { + return Xd(this.a); + }; + C.prototype.SetGravity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + It(c, a); + }; + C.prototype.GetGravity = function () { + return n(Kc(this.a), r); + }; + C.prototype.IsLocked = function () { + return !!ac(this.a); + }; + C.prototype.SetAutoClearForces = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jd(c, a); + }; + C.prototype.GetAutoClearForces = function () { + return !!nk(this.a); + }; + C.prototype.GetProfile = function () { + return n(hu(this.a), y); + }; + C.prototype.Dump = function () { + Ss(this.a); + }; + C.prototype.__destroy__ = function () { + eo(this.a); + }; + function F() { + throw 'cannot construct a b2PrismaticJoint, no constructor in IDL'; + } + F.prototype = Object.create(p.prototype); + F.prototype.constructor = F; + F.prototype.b = F; + F.c = {}; + b.b2PrismaticJoint = F; + F.prototype.GetLocalAnchorA = function () { + return n(Jl(this.a), r); + }; + F.prototype.GetLocalAnchorB = function () { + return n(op(this.a), r); + }; + F.prototype.GetLocalAxisA = function () { + return n(Ch(this.a), r); + }; + F.prototype.GetReferenceAngle = function () { + return jl(this.a); + }; + F.prototype.GetJointTranslation = function () { + return bg(this.a); + }; + F.prototype.GetJointSpeed = function () { + return hn(this.a); + }; + F.prototype.IsLimitEnabled = function () { + return !!$h(this.a); + }; + F.prototype.EnableLimit = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sm(c, a); + }; + F.prototype.GetLowerLimit = function () { + return $d(this.a); + }; + F.prototype.GetUpperLimit = function () { + return gk(this.a); + }; + F.prototype.SetLimits = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Oc(d, a, c); + }; + F.prototype.IsMotorEnabled = function () { + return !!al(this.a); + }; + F.prototype.EnableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vl(c, a); + }; + F.prototype.SetMotorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ls(c, a); + }; + F.prototype.GetMotorSpeed = function () { + return eg(this.a); + }; + F.prototype.SetMaxMotorForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Sw(c, a); + }; + F.prototype.GetMaxMotorForce = function () { + return $p(this.a); + }; + F.prototype.GetMotorForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return si(c, a); + }; + F.prototype.GetType = function () { + return oe(this.a); + }; + F.prototype.GetBodyA = function () { + return n(Zp(this.a), q); + }; + F.prototype.GetBodyB = function () { + return n(Qt(this.a), q); + }; + F.prototype.GetAnchorA = function () { + return n(Zk(this.a), r); + }; + F.prototype.GetAnchorB = function () { + return n(im(this.a), r); + }; + F.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Oh(c, a), r); + }; + F.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Ag(c, a); + }; + F.prototype.GetNext = function () { + return n(cs(this.a), p); + }; + F.prototype.GetUserData = function () { + return ew(this.a); + }; + F.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jj(c, a); + }; + F.prototype.IsActive = function () { + return !!zm(this.a); + }; + F.prototype.GetCollideConnected = function () { + return !!Cg(this.a); + }; + F.prototype.__destroy__ = function () { + Zf(this.a); + }; + function Ix() { + throw 'cannot construct a b2RayCastOutput, no constructor in IDL'; + } + Ix.prototype = Object.create(h.prototype); + Ix.prototype.constructor = Ix; + Ix.prototype.b = Ix; + Ix.c = {}; + b.b2RayCastOutput = Ix; + Ix.prototype.get_normal = function () { + return n(Ff(this.a), r); + }; + Ix.prototype.set_normal = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + lh(c, a); + }; + Ix.prototype.get_fraction = function () { + return In(this.a); + }; + Ix.prototype.set_fraction = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Sd(c, a); + }; + Ix.prototype.__destroy__ = function () { + Wm(this.a); + }; + function Jx() { + throw 'cannot construct a b2ContactID, no constructor in IDL'; + } + Jx.prototype = Object.create(h.prototype); + Jx.prototype.constructor = Jx; + Jx.prototype.b = Jx; + Jx.c = {}; + b.b2ContactID = Jx; + Jx.prototype.get_cf = function () { + return n(Ms(this.a), Ex); + }; + Jx.prototype.set_cf = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + nj(c, a); + }; + Jx.prototype.get_key = function () { + return sp(this.a); + }; + Jx.prototype.set_key = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vf(c, a); + }; + Jx.prototype.__destroy__ = function () { + cm(this.a); + }; + function Kx() { + this.a = Uw(); + k(Kx)[this.a] = this; + } + Kx.prototype = Object.create(qx.prototype); + Kx.prototype.constructor = Kx; + Kx.prototype.b = Kx; + Kx.c = {}; + b.JSContactListener = Kx; + Kx.prototype.BeginContact = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vo(c, a); + }; + Kx.prototype.EndContact = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vc(c, a); + }; + Kx.prototype.PreSolve = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + jh(d, a, c); + }; + Kx.prototype.PostSolve = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + xq(d, a, c); + }; + Kx.prototype.__destroy__ = function () { + Xm(this.a); + }; + function Lx(a, c, d, e) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + this.a = + void 0 === a + ? ds() + : void 0 === c + ? _emscripten_bind_b2Mat22_b2Mat22_1(a) + : void 0 === d + ? bs(a, c) + : void 0 === e + ? _emscripten_bind_b2Mat22_b2Mat22_3(a, c, d) + : Ou(a, c, d, e); + k(Lx)[this.a] = this; + } + Lx.prototype = Object.create(h.prototype); + Lx.prototype.constructor = Lx; + Lx.prototype.b = Lx; + Lx.c = {}; + b.b2Mat22 = Lx; + Lx.prototype.Set = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + rr(d, a, c); + }; + Lx.prototype.SetIdentity = function () { + Ku(this.a); + }; + Lx.prototype.SetZero = function () { + dk(this.a); + }; + Lx.prototype.GetInverse = function () { + return n(br(this.a), Lx); + }; + Lx.prototype.Solve = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(fp(c, a), r); + }; + Lx.prototype.get_ex = function () { + return n(No(this.a), r); + }; + Lx.prototype.set_ex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ir(c, a); + }; + Lx.prototype.get_ey = function () { + return n(Ju(this.a), r); + }; + Lx.prototype.set_ey = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + is(c, a); + }; + Lx.prototype.__destroy__ = function () { + cv(this.a); + }; + function H() { + this.a = Hu(); + k(H)[this.a] = this; + } + H.prototype = Object.create(t.prototype); + H.prototype.constructor = H; + H.prototype.b = H; + H.c = {}; + b.b2WheelJointDef = H; + H.prototype.Initialize = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + gj(g, a, c, d, e); + }; + H.prototype.get_localAnchorA = function () { + return n(nl(this.a), r); + }; + H.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Re(c, a); + }; + H.prototype.get_localAnchorB = function () { + return n(Dn(this.a), r); + }; + H.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ew(c, a); + }; + H.prototype.get_localAxisA = function () { + return n(fr(this.a), r); + }; + H.prototype.set_localAxisA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sw(c, a); + }; + H.prototype.get_enableMotor = function () { + return !!xw(this.a); + }; + H.prototype.set_enableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Lk(c, a); + }; + H.prototype.get_maxMotorTorque = function () { + return Ig(this.a); + }; + H.prototype.set_maxMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wk(c, a); + }; + H.prototype.get_motorSpeed = function () { + return Xr(this.a); + }; + H.prototype.set_motorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ap(c, a); + }; + H.prototype.get_frequencyHz = function () { + return ot(this.a); + }; + H.prototype.set_frequencyHz = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + cr(c, a); + }; + H.prototype.get_dampingRatio = function () { + return Hn(this.a); + }; + H.prototype.set_dampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zv(c, a); + }; + H.prototype.get_type = function () { + return ru(this.a); + }; + H.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wd(c, a); + }; + H.prototype.get_userData = function () { + return Ev(this.a); + }; + H.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hh(c, a); + }; + H.prototype.get_bodyA = function () { + return n(Ow(this.a), q); + }; + H.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Rt(c, a); + }; + H.prototype.get_bodyB = function () { + return n(yn(this.a), q); + }; + H.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yp(c, a); + }; + H.prototype.get_collideConnected = function () { + return !!Ec(this.a); + }; + H.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xr(c, a); + }; + H.prototype.__destroy__ = function () { + nf(this.a); + }; + function Mx() { + this.a = ah(); + k(Mx)[this.a] = this; + } + Mx.prototype = Object.create(sx.prototype); + Mx.prototype.constructor = Mx; + Mx.prototype.b = Mx; + Mx.c = {}; + b.b2CircleShape = Mx; + Mx.prototype.GetType = function () { + return rh(this.a); + }; + Mx.prototype.GetChildCount = function () { + return $e(this.a); + }; + Mx.prototype.TestPoint = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!Fq(d, a, c); + }; + Mx.prototype.RayCast = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return !!ak(g, a, c, d, e); + }; + Mx.prototype.ComputeAABB = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + $s(e, a, c, d); + }; + Mx.prototype.ComputeMass = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Aq(d, a, c); + }; + Mx.prototype.get_m_p = function () { + return n(Kg(this.a), r); + }; + Mx.prototype.set_m_p = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ej(c, a); + }; + Mx.prototype.get_m_type = function () { + return ks(this.a); + }; + Mx.prototype.set_m_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ge(c, a); + }; + Mx.prototype.get_m_radius = function () { + return dg(this.a); + }; + Mx.prototype.set_m_radius = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ve(c, a); + }; + Mx.prototype.__destroy__ = function () { + Nq(this.a); + }; + function I() { + this.a = kw(); + k(I)[this.a] = this; + } + I.prototype = Object.create(t.prototype); + I.prototype.constructor = I; + I.prototype.b = I; + I.c = {}; + b.b2WeldJointDef = I; + I.prototype.Initialize = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + pt(e, a, c, d); + }; + I.prototype.get_localAnchorA = function () { + return n(wt(this.a), r); + }; + I.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Di(c, a); + }; + I.prototype.get_localAnchorB = function () { + return n(Cu(this.a), r); + }; + I.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ps(c, a); + }; + I.prototype.get_referenceAngle = function () { + return lr(this.a); + }; + I.prototype.set_referenceAngle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Du(c, a); + }; + I.prototype.get_frequencyHz = function () { + return sg(this.a); + }; + I.prototype.set_frequencyHz = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hr(c, a); + }; + I.prototype.get_dampingRatio = function () { + return oq(this.a); + }; + I.prototype.set_dampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hj(c, a); + }; + I.prototype.get_type = function () { + return Fp(this.a); + }; + I.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + us(c, a); + }; + I.prototype.get_userData = function () { + return Wt(this.a); + }; + I.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + np(c, a); + }; + I.prototype.get_bodyA = function () { + return n(ev(this.a), q); + }; + I.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Te(c, a); + }; + I.prototype.get_bodyB = function () { + return n(Sv(this.a), q); + }; + I.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Iv(c, a); + }; + I.prototype.get_collideConnected = function () { + return !!yi(this.a); + }; + I.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + fd(c, a); + }; + I.prototype.__destroy__ = function () { + ep(this.a); + }; + function Nx() { + this.a = Up(); + k(Nx)[this.a] = this; + } + Nx.prototype = Object.create(h.prototype); + Nx.prototype.constructor = Nx; + Nx.prototype.b = Nx; + Nx.c = {}; + b.b2MassData = Nx; + Nx.prototype.get_mass = function () { + return ow(this.a); + }; + Nx.prototype.set_mass = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wc(c, a); + }; + Nx.prototype.get_center = function () { + return n(df(this.a), r); + }; + Nx.prototype.set_center = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Tq(c, a); + }; + Nx.prototype.get_I = function () { + return Wr(this.a); + }; + Nx.prototype.set_I = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jt(c, a); + }; + Nx.prototype.__destroy__ = function () { + kt(this.a); + }; + function Ox() { + throw 'cannot construct a b2GearJoint, no constructor in IDL'; + } + Ox.prototype = Object.create(p.prototype); + Ox.prototype.constructor = Ox; + Ox.prototype.b = Ox; + Ox.c = {}; + b.b2GearJoint = Ox; + Ox.prototype.GetJoint1 = function () { + return n(rd(this.a), p); + }; + Ox.prototype.GetJoint2 = function () { + return n(Qk(this.a), p); + }; + Ox.prototype.SetRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kn(c, a); + }; + Ox.prototype.GetRatio = function () { + return Cd(this.a); + }; + Ox.prototype.GetType = function () { + return $v(this.a); + }; + Ox.prototype.GetBodyA = function () { + return n(qm(this.a), q); + }; + Ox.prototype.GetBodyB = function () { + return n(Lq(this.a), q); + }; + Ox.prototype.GetAnchorA = function () { + return n(ud(this.a), r); + }; + Ox.prototype.GetAnchorB = function () { + return n(xu(this.a), r); + }; + Ox.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Yi(c, a), r); + }; + Ox.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return ed(c, a); + }; + Ox.prototype.GetNext = function () { + return n(nv(this.a), p); + }; + Ox.prototype.GetUserData = function () { + return ze(this.a); + }; + Ox.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ol(c, a); + }; + Ox.prototype.IsActive = function () { + return !!ui(this.a); + }; + Ox.prototype.GetCollideConnected = function () { + return !!Nd(this.a); + }; + Ox.prototype.__destroy__ = function () { + ag(this.a); + }; + function J() { + throw 'cannot construct a b2WeldJoint, no constructor in IDL'; + } + J.prototype = Object.create(p.prototype); + J.prototype.constructor = J; + J.prototype.b = J; + J.c = {}; + b.b2WeldJoint = J; + J.prototype.GetLocalAnchorA = function () { + return n(Wu(this.a), r); + }; + J.prototype.GetLocalAnchorB = function () { + return n(zn(this.a), r); + }; + J.prototype.SetFrequency = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ih(c, a); + }; + J.prototype.GetFrequency = function () { + return bl(this.a); + }; + J.prototype.SetDampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + fe(c, a); + }; + J.prototype.GetDampingRatio = function () { + return Xs(this.a); + }; + J.prototype.Dump = function () { + Vo(this.a); + }; + J.prototype.GetType = function () { + return Jo(this.a); + }; + J.prototype.GetBodyA = function () { + return n(Gf(this.a), q); + }; + J.prototype.GetBodyB = function () { + return n(ef(this.a), q); + }; + J.prototype.GetAnchorA = function () { + return n(uq(this.a), r); + }; + J.prototype.GetAnchorB = function () { + return n(tr(this.a), r); + }; + J.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Is(c, a), r); + }; + J.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return yc(c, a); + }; + J.prototype.GetNext = function () { + return n(Io(this.a), p); + }; + J.prototype.GetUserData = function () { + return ml(this.a); + }; + J.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + pi(c, a); + }; + J.prototype.IsActive = function () { + return !!tc(this.a); + }; + J.prototype.GetCollideConnected = function () { + return !!ar(this.a); + }; + J.prototype.__destroy__ = function () { + vq(this.a); + }; + function Px() { + this.a = pu(); + k(Px)[this.a] = this; + } + Px.prototype = Object.create(h.prototype); + Px.prototype.constructor = Px; + Px.prototype.b = Px; + Px.c = {}; + b.b2JointEdge = Px; + Px.prototype.get_other = function () { + return n(Vi(this.a), q); + }; + Px.prototype.set_other = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + yd(c, a); + }; + Px.prototype.get_joint = function () { + return n(Mv(this.a), p); + }; + Px.prototype.set_joint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + oc(c, a); + }; + Px.prototype.get_prev = function () { + return n(fm(this.a), Px); + }; + Px.prototype.set_prev = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + zg(c, a); + }; + Px.prototype.get_next = function () { + return n(zo(this.a), Px); + }; + Px.prototype.set_next = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sr(c, a); + }; + Px.prototype.__destroy__ = function () { + to(this.a); + }; + function K() { + this.a = Sp(); + k(K)[this.a] = this; + } + K.prototype = Object.create(t.prototype); + K.prototype.constructor = K; + K.prototype.b = K; + K.c = {}; + b.b2PulleyJointDef = K; + K.prototype.Initialize = function (a, c, d, e, g, l, m) { + var D = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + g && 'object' === typeof g && (g = g.a); + l && 'object' === typeof l && (l = l.a); + m && 'object' === typeof m && (m = m.a); + Wv(D, a, c, d, e, g, l, m); + }; + K.prototype.get_groundAnchorA = function () { + return n(kn(this.a), r); + }; + K.prototype.set_groundAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qw(c, a); + }; + K.prototype.get_groundAnchorB = function () { + return n(uj(this.a), r); + }; + K.prototype.set_groundAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qs(c, a); + }; + K.prototype.get_localAnchorA = function () { + return n(Pc(this.a), r); + }; + K.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Dq(c, a); + }; + K.prototype.get_localAnchorB = function () { + return n(Ot(this.a), r); + }; + K.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hd(c, a); + }; + K.prototype.get_lengthA = function () { + return Wl(this.a); + }; + K.prototype.set_lengthA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vg(c, a); + }; + K.prototype.get_lengthB = function () { + return oi(this.a); + }; + K.prototype.set_lengthB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ne(c, a); + }; + K.prototype.get_ratio = function () { + return Ee(this.a); + }; + K.prototype.set_ratio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + yg(c, a); + }; + K.prototype.get_type = function () { + return Yl(this.a); + }; + K.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ol(c, a); + }; + K.prototype.get_userData = function () { + return Rk(this.a); + }; + K.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hm(c, a); + }; + K.prototype.get_bodyA = function () { + return n(Nc(this.a), q); + }; + K.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jw(c, a); + }; + K.prototype.get_bodyB = function () { + return n(Zg(this.a), q); + }; + K.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kf(c, a); + }; + K.prototype.get_collideConnected = function () { + return !!Tw(this.a); + }; + K.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + tu(c, a); + }; + K.prototype.__destroy__ = function () { + Si(this.a); + }; + function Qx() { + this.a = gi(); + k(Qx)[this.a] = this; + } + Qx.prototype = Object.create(h.prototype); + Qx.prototype.constructor = Qx; + Qx.prototype.b = Qx; + Qx.c = {}; + b.b2ManifoldPoint = Qx; + Qx.prototype.get_localPoint = function () { + return n(Lv(this.a), r); + }; + Qx.prototype.set_localPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ct(c, a); + }; + Qx.prototype.get_normalImpulse = function () { + return Sj(this.a); + }; + Qx.prototype.set_normalImpulse = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Rh(c, a); + }; + Qx.prototype.get_tangentImpulse = function () { + return mq(this.a); + }; + Qx.prototype.set_tangentImpulse = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Oi(c, a); + }; + Qx.prototype.get_id = function () { + return n(cg(this.a), Jx); + }; + Qx.prototype.set_id = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xn(c, a); + }; + Qx.prototype.__destroy__ = function () { + jr(this.a); + }; + function Rx(a, c) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + this.a = + void 0 === a ? Ph() : void 0 === c ? _emscripten_bind_b2Transform_b2Transform_1(a) : Hs(a, c); + k(Rx)[this.a] = this; + } + Rx.prototype = Object.create(h.prototype); + Rx.prototype.constructor = Rx; + Rx.prototype.b = Rx; + Rx.c = {}; + b.b2Transform = Rx; + Rx.prototype.SetIdentity = function () { + Uq(this.a); + }; + Rx.prototype.Set = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Eh(d, a, c); + }; + Rx.prototype.get_p = function () { + return n(fu(this.a), r); + }; + Rx.prototype.set_p = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Jv(c, a); + }; + Rx.prototype.get_q = function () { + return n(nd(this.a), Bx); + }; + Rx.prototype.set_q = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qe(c, a); + }; + Rx.prototype.__destroy__ = function () { + te(this.a); + }; + function L() { + this.a = ij(); + k(L)[this.a] = this; + } + L.prototype = Object.create(sx.prototype); + L.prototype.constructor = L; + L.prototype.b = L; + L.c = {}; + b.b2ChainShape = L; + L.prototype.Clear = function () { + Mq(this.a); + }; + L.prototype.CreateLoop = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + qi(d, a, c); + }; + L.prototype.CreateChain = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Yc(d, a, c); + }; + L.prototype.SetPrevVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qn(c, a); + }; + L.prototype.SetNextVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ho(c, a); + }; + L.prototype.GetChildEdge = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + zt(d, a, c); + }; + L.prototype.GetType = function () { + return om(this.a); + }; + L.prototype.GetChildCount = function () { + return $g(this.a); + }; + L.prototype.TestPoint = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!il(d, a, c); + }; + L.prototype.RayCast = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return !!Js(g, a, c, d, e); + }; + L.prototype.ComputeAABB = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + wc(e, a, c, d); + }; + L.prototype.ComputeMass = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + jw(d, a, c); + }; + L.prototype.get_m_vertices = function () { + return n(gc(this.a), r); + }; + L.prototype.set_m_vertices = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Af(c, a); + }; + L.prototype.get_m_count = function () { + return Vb(this.a); + }; + L.prototype.set_m_count = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Et(c, a); + }; + L.prototype.get_m_prevVertex = function () { + return n(dh(this.a), r); + }; + L.prototype.set_m_prevVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + fo(c, a); + }; + L.prototype.get_m_nextVertex = function () { + return n(rf(this.a), r); + }; + L.prototype.set_m_nextVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Uc(c, a); + }; + L.prototype.get_m_hasPrevVertex = function () { + return !!Rp(this.a); + }; + L.prototype.set_m_hasPrevVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wf(c, a); + }; + L.prototype.get_m_hasNextVertex = function () { + return !!go(this.a); + }; + L.prototype.set_m_hasNextVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hs(c, a); + }; + L.prototype.get_m_type = function () { + return tj(this.a); + }; + L.prototype.set_m_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + mg(c, a); + }; + L.prototype.get_m_radius = function () { + return Os(this.a); + }; + L.prototype.set_m_radius = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qs(c, a); + }; + L.prototype.__destroy__ = function () { + Nl(this.a); + }; + function Sx(a, c, d) { + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + this.a = + void 0 === a + ? nt() + : void 0 === c + ? _emscripten_bind_b2Color_b2Color_1(a) + : void 0 === d + ? _emscripten_bind_b2Color_b2Color_2(a, c) + : mt(a, c, d); + k(Sx)[this.a] = this; + } + Sx.prototype = Object.create(h.prototype); + Sx.prototype.constructor = Sx; + Sx.prototype.b = Sx; + Sx.c = {}; + b.b2Color = Sx; + Sx.prototype.Set = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Nw(e, a, c, d); + }; + Sx.prototype.get_r = function () { + return Cm(this.a); + }; + Sx.prototype.set_r = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Td(c, a); + }; + Sx.prototype.get_g = function () { + return gp(this.a); + }; + Sx.prototype.set_g = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + dc(c, a); + }; + Sx.prototype.get_b = function () { + return Ys(this.a); + }; + Sx.prototype.set_b = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bf(c, a); + }; + Sx.prototype.__destroy__ = function () { + Pp(this.a); + }; + function M() { + throw 'cannot construct a b2RopeJoint, no constructor in IDL'; + } + M.prototype = Object.create(p.prototype); + M.prototype.constructor = M; + M.prototype.b = M; + M.c = {}; + b.b2RopeJoint = M; + M.prototype.GetLocalAnchorA = function () { + return n(Ar(this.a), r); + }; + M.prototype.GetLocalAnchorB = function () { + return n(Ri(this.a), r); + }; + M.prototype.SetMaxLength = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yw(c, a); + }; + M.prototype.GetMaxLength = function () { + return ye(this.a); + }; + M.prototype.GetLimitState = function () { + return Eg(this.a); + }; + M.prototype.GetType = function () { + return wp(this.a); + }; + M.prototype.GetBodyA = function () { + return n(uv(this.a), q); + }; + M.prototype.GetBodyB = function () { + return n(gr(this.a), q); + }; + M.prototype.GetAnchorA = function () { + return n(Li(this.a), r); + }; + M.prototype.GetAnchorB = function () { + return n(Ie(this.a), r); + }; + M.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(at(c, a), r); + }; + M.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Yv(c, a); + }; + M.prototype.GetNext = function () { + return n(ip(this.a), p); + }; + M.prototype.GetUserData = function () { + return Zc(this.a); + }; + M.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bs(c, a); + }; + M.prototype.IsActive = function () { + return !!yu(this.a); + }; + M.prototype.GetCollideConnected = function () { + return !!uu(this.a); + }; + M.prototype.__destroy__ = function () { + or(this.a); + }; + function Tx() { + throw 'cannot construct a b2RayCastInput, no constructor in IDL'; + } + Tx.prototype = Object.create(h.prototype); + Tx.prototype.constructor = Tx; + Tx.prototype.b = Tx; + Tx.c = {}; + b.b2RayCastInput = Tx; + Tx.prototype.get_p1 = function () { + return n(Lp(this.a), r); + }; + Tx.prototype.set_p1 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wj(c, a); + }; + Tx.prototype.get_p2 = function () { + return n(kl(this.a), r); + }; + Tx.prototype.set_p2 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Cf(c, a); + }; + Tx.prototype.get_maxFraction = function () { + return pm(this.a); + }; + Tx.prototype.set_maxFraction = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ao(c, a); + }; + Tx.prototype.__destroy__ = function () { + Oe(this.a); + }; + function N() { + this.a = Wi(); + k(N)[this.a] = this; + } + N.prototype = Object.create(sx.prototype); + N.prototype.constructor = N; + N.prototype.b = N; + N.c = {}; + b.b2PolygonShape = N; + N.prototype.Set = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Xi(d, a, c); + }; + N.prototype.SetAsBox = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + void 0 === d + ? Lw(g, a, c) + : void 0 === e + ? _emscripten_bind_b2PolygonShape_SetAsBox_3(g, a, c, d) + : Qu(g, a, c, d, e); + }; + N.prototype.GetVertexCount = function () { + return fq(this.a); + }; + N.prototype.GetVertex = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Ht(c, a), r); + }; + N.prototype.GetType = function () { + return sh(this.a); + }; + N.prototype.GetChildCount = function () { + return kp(this.a); + }; + N.prototype.TestPoint = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!Ui(d, a, c); + }; + N.prototype.RayCast = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return !!ec(g, a, c, d, e); + }; + N.prototype.ComputeAABB = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Gl(e, a, c, d); + }; + N.prototype.ComputeMass = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + ul(d, a, c); + }; + N.prototype.get_m_centroid = function () { + return n(Ml(this.a), r); + }; + N.prototype.set_m_centroid = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wr(c, a); + }; + N.prototype.get_m_count = function () { + return Ki(this.a); + }; + N.prototype.set_m_count = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + od(c, a); + }; + N.prototype.get_m_type = function () { + return Rw(this.a); + }; + N.prototype.set_m_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jv(c, a); + }; + N.prototype.get_m_radius = function () { + return Cj(this.a); + }; + N.prototype.set_m_radius = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ww(c, a); + }; + N.prototype.__destroy__ = function () { + re(this.a); + }; + function O() { + this.a = qq(); + k(O)[this.a] = this; + } + O.prototype = Object.create(sx.prototype); + O.prototype.constructor = O; + O.prototype.b = O; + O.c = {}; + b.b2EdgeShape = O; + O.prototype.Set = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Pj(d, a, c); + }; + O.prototype.GetType = function () { + return hr(this.a); + }; + O.prototype.GetChildCount = function () { + return Hh(this.a); + }; + O.prototype.TestPoint = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!Kl(d, a, c); + }; + O.prototype.RayCast = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + return !!Ai(g, a, c, d, e); + }; + O.prototype.ComputeAABB = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + vr(e, a, c, d); + }; + O.prototype.ComputeMass = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + un(d, a, c); + }; + O.prototype.get_m_vertex1 = function () { + return n(yl(this.a), r); + }; + O.prototype.set_m_vertex1 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ru(c, a); + }; + O.prototype.get_m_vertex2 = function () { + return n(yo(this.a), r); + }; + O.prototype.set_m_vertex2 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wq(c, a); + }; + O.prototype.get_m_vertex0 = function () { + return n(vi(this.a), r); + }; + O.prototype.set_m_vertex0 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + bw(c, a); + }; + O.prototype.get_m_vertex3 = function () { + return n(Sq(this.a), r); + }; + O.prototype.set_m_vertex3 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wu(c, a); + }; + O.prototype.get_m_hasVertex0 = function () { + return !!dm(this.a); + }; + O.prototype.set_m_hasVertex0 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + we(c, a); + }; + O.prototype.get_m_hasVertex3 = function () { + return !!Lj(this.a); + }; + O.prototype.set_m_hasVertex3 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + nc(c, a); + }; + O.prototype.get_m_type = function () { + return jp(this.a); + }; + O.prototype.set_m_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hi(c, a); + }; + O.prototype.get_m_radius = function () { + return $r(this.a); + }; + O.prototype.set_m_radius = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + le(c, a); + }; + O.prototype.__destroy__ = function () { + Ji(this.a); + }; + function Ux() { + this.a = Us(); + k(Ux)[this.a] = this; + } + Ux.prototype = Object.create(tx.prototype); + Ux.prototype.constructor = Ux; + Ux.prototype.b = Ux; + Ux.c = {}; + b.JSContactFilter = Ux; + Ux.prototype.ShouldCollide = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return !!Tj(d, a, c); + }; + Ux.prototype.__destroy__ = function () { + Aj(this.a); + }; + function P() { + this.a = Om(); + k(P)[this.a] = this; + } + P.prototype = Object.create(t.prototype); + P.prototype.constructor = P; + P.prototype.b = P; + P.c = {}; + b.b2RevoluteJointDef = P; + P.prototype.Initialize = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Id(e, a, c, d); + }; + P.prototype.get_localAnchorA = function () { + return n(tn(this.a), r); + }; + P.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qj(c, a); + }; + P.prototype.get_localAnchorB = function () { + return n(yj(this.a), r); + }; + P.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + An(c, a); + }; + P.prototype.get_referenceAngle = function () { + return zj(this.a); + }; + P.prototype.set_referenceAngle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Np(c, a); + }; + P.prototype.get_enableLimit = function () { + return !!Rm(this.a); + }; + P.prototype.set_enableLimit = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + dp(c, a); + }; + P.prototype.get_lowerAngle = function () { + return el(this.a); + }; + P.prototype.set_lowerAngle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + so(c, a); + }; + P.prototype.get_upperAngle = function () { + return aq(this.a); + }; + P.prototype.set_upperAngle = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + lm(c, a); + }; + P.prototype.get_enableMotor = function () { + return !!Bj(this.a); + }; + P.prototype.set_enableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ji(c, a); + }; + P.prototype.get_motorSpeed = function () { + return Df(this.a); + }; + P.prototype.set_motorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vw(c, a); + }; + P.prototype.get_maxMotorTorque = function () { + return nq(this.a); + }; + P.prototype.set_maxMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hv(c, a); + }; + P.prototype.get_type = function () { + return mm(this.a); + }; + P.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vj(c, a); + }; + P.prototype.get_userData = function () { + return on(this.a); + }; + P.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Cc(c, a); + }; + P.prototype.get_bodyA = function () { + return n(Pt(this.a), q); + }; + P.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ah(c, a); + }; + P.prototype.get_bodyB = function () { + return n(Hj(this.a), q); + }; + P.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ng(c, a); + }; + P.prototype.get_collideConnected = function () { + return !!rs(this.a); + }; + P.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zo(c, a); + }; + P.prototype.__destroy__ = function () { + pp(this.a); + }; + function Vx() { + this.a = du(); + k(Vx)[this.a] = this; + } + Vx.prototype = Object.create(ox.prototype); + Vx.prototype.constructor = Vx; + Vx.prototype.b = Vx; + Vx.c = {}; + b.JSDraw = Vx; + Vx.prototype.DrawPolygon = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + tl(e, a, c, d); + }; + Vx.prototype.DrawSolidPolygon = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Nf(e, a, c, d); + }; + Vx.prototype.DrawCircle = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + sc(e, a, c, d); + }; + Vx.prototype.DrawSolidCircle = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + hc(g, a, c, d, e); + }; + Vx.prototype.DrawSegment = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + jf(e, a, c, d); + }; + Vx.prototype.DrawTransform = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vj(c, a); + }; + Vx.prototype.__destroy__ = function () { + Qf(this.a); + }; + function Q() { + throw 'cannot construct a b2WheelJoint, no constructor in IDL'; + } + Q.prototype = Object.create(p.prototype); + Q.prototype.constructor = Q; + Q.prototype.b = Q; + Q.c = {}; + b.b2WheelJoint = Q; + Q.prototype.GetLocalAnchorA = function () { + return n(Vf(this.a), r); + }; + Q.prototype.GetLocalAnchorB = function () { + return n(Iw(this.a), r); + }; + Q.prototype.GetLocalAxisA = function () { + return n(rv(this.a), r); + }; + Q.prototype.GetJointTranslation = function () { + return zs(this.a); + }; + Q.prototype.GetJointSpeed = function () { + return yf(this.a); + }; + Q.prototype.IsMotorEnabled = function () { + return !!kq(this.a); + }; + Q.prototype.EnableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Lf(c, a); + }; + Q.prototype.SetMotorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + be(c, a); + }; + Q.prototype.GetMotorSpeed = function () { + return Gn(this.a); + }; + Q.prototype.SetMaxMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ik(c, a); + }; + Q.prototype.GetMaxMotorTorque = function () { + return wf(this.a); + }; + Q.prototype.GetMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return As(c, a); + }; + Q.prototype.SetSpringFrequencyHz = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Mh(c, a); + }; + Q.prototype.GetSpringFrequencyHz = function () { + return Aw(this.a); + }; + Q.prototype.SetSpringDampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + no(c, a); + }; + Q.prototype.GetSpringDampingRatio = function () { + return Tb(this.a); + }; + Q.prototype.GetType = function () { + return kv(this.a); + }; + Q.prototype.GetBodyA = function () { + return n(Zn(this.a), q); + }; + Q.prototype.GetBodyB = function () { + return n(xm(this.a), q); + }; + Q.prototype.GetAnchorA = function () { + return n(Or(this.a), r); + }; + Q.prototype.GetAnchorB = function () { + return n(Kw(this.a), r); + }; + Q.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(ff(c, a), r); + }; + Q.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return Nm(c, a); + }; + Q.prototype.GetNext = function () { + return n(Wn(this.a), p); + }; + Q.prototype.GetUserData = function () { + return Un(this.a); + }; + Q.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ct(c, a); + }; + Q.prototype.IsActive = function () { + return !!Ds(this.a); + }; + Q.prototype.GetCollideConnected = function () { + return !!Zr(this.a); + }; + Q.prototype.__destroy__ = function () { + Vw(this.a); + }; + function R() { + throw 'cannot construct a b2PulleyJoint, no constructor in IDL'; + } + R.prototype = Object.create(p.prototype); + R.prototype.constructor = R; + R.prototype.b = R; + R.c = {}; + b.b2PulleyJoint = R; + R.prototype.GetGroundAnchorA = function () { + return n(cd(this.a), r); + }; + R.prototype.GetGroundAnchorB = function () { + return n(fg(this.a), r); + }; + R.prototype.GetLengthA = function () { + return ao(this.a); + }; + R.prototype.GetLengthB = function () { + return fk(this.a); + }; + R.prototype.GetRatio = function () { + return uo(this.a); + }; + R.prototype.GetCurrentLengthA = function () { + return Uk(this.a); + }; + R.prototype.GetCurrentLengthB = function () { + return Gi(this.a); + }; + R.prototype.GetType = function () { + return Ci(this.a); + }; + R.prototype.GetBodyA = function () { + return n(yq(this.a), q); + }; + R.prototype.GetBodyB = function () { + return n(Vd(this.a), q); + }; + R.prototype.GetAnchorA = function () { + return n($u(this.a), r); + }; + R.prototype.GetAnchorB = function () { + return n(Mm(this.a), r); + }; + R.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Mu(c, a), r); + }; + R.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return hv(c, a); + }; + R.prototype.GetNext = function () { + return n(sj(this.a), p); + }; + R.prototype.GetUserData = function () { + return xc(this.a); + }; + R.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xb(c, a); + }; + R.prototype.IsActive = function () { + return !!ki(this.a); + }; + R.prototype.GetCollideConnected = function () { + return !!bu(this.a); + }; + R.prototype.__destroy__ = function () { + Po(this.a); + }; + function S() { + this.a = Gp(); + k(S)[this.a] = this; + } + S.prototype = Object.create(t.prototype); + S.prototype.constructor = S; + S.prototype.b = S; + S.c = {}; + b.b2MouseJointDef = S; + S.prototype.get_target = function () { + return n(Fm(this.a), r); + }; + S.prototype.set_target = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + zd(c, a); + }; + S.prototype.get_maxForce = function () { + return ov(this.a); + }; + S.prototype.set_maxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Il(c, a); + }; + S.prototype.get_frequencyHz = function () { + return Jp(this.a); + }; + S.prototype.set_frequencyHz = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jn(c, a); + }; + S.prototype.get_dampingRatio = function () { + return kg(this.a); + }; + S.prototype.set_dampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qo(c, a); + }; + S.prototype.get_type = function () { + return Dp(this.a); + }; + S.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Pd(c, a); + }; + S.prototype.get_userData = function () { + return Zs(this.a); + }; + S.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Fc(c, a); + }; + S.prototype.get_bodyA = function () { + return n(Gk(this.a), q); + }; + S.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vd(c, a); + }; + S.prototype.get_bodyB = function () { + return n(qg(this.a), q); + }; + S.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qh(c, a); + }; + S.prototype.get_collideConnected = function () { + return !!Jt(this.a); + }; + S.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Yq(c, a); + }; + S.prototype.__destroy__ = function () { + Rf(this.a); + }; + function E() { + throw 'cannot construct a b2Contact, no constructor in IDL'; + } + E.prototype = Object.create(h.prototype); + E.prototype.constructor = E; + E.prototype.b = E; + E.c = {}; + b.b2Contact = E; + E.prototype.GetManifold = function () { + return n(ut(this.a), Gx); + }; + E.prototype.GetWorldManifold = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xe(c, a); + }; + E.prototype.IsTouching = function () { + return !!he(this.a); + }; + E.prototype.SetEnabled = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sf(c, a); + }; + E.prototype.IsEnabled = function () { + return !!wg(this.a); + }; + E.prototype.GetNext = function () { + return n(pd(this.a), E); + }; + E.prototype.GetFixtureA = function () { + return n(De(this.a), v); + }; + E.prototype.GetChildIndexA = function () { + return lw(this.a); + }; + E.prototype.GetFixtureB = function () { + return n(iw(this.a), v); + }; + E.prototype.GetChildIndexB = function () { + return ph(this.a); + }; + E.prototype.SetFriction = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xq(c, a); + }; + E.prototype.GetFriction = function () { + return Uh(this.a); + }; + E.prototype.ResetFriction = function () { + Ih(this.a); + }; + E.prototype.SetRestitution = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qq(c, a); + }; + E.prototype.GetRestitution = function () { + return mn(this.a); + }; + E.prototype.ResetRestitution = function () { + ei(this.a); + }; + E.prototype.SetTangentSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + aj(c, a); + }; + E.prototype.GetTangentSpeed = function () { + return ld(this.a); + }; + function T() { + this.a = Jm(); + k(T)[this.a] = this; + } + T.prototype = Object.create(t.prototype); + T.prototype.constructor = T; + T.prototype.b = T; + T.c = {}; + b.b2DistanceJointDef = T; + T.prototype.Initialize = function (a, c, d, e) { + var g = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + e && 'object' === typeof e && (e = e.a); + Ns(g, a, c, d, e); + }; + T.prototype.get_localAnchorA = function () { + return n(Zi(this.a), r); + }; + T.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + He(c, a); + }; + T.prototype.get_localAnchorB = function () { + return n(Bq(this.a), r); + }; + T.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Eu(c, a); + }; + T.prototype.get_length = function () { + return Ud(this.a); + }; + T.prototype.set_length = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Wh(c, a); + }; + T.prototype.get_frequencyHz = function () { + return bo(this.a); + }; + T.prototype.set_frequencyHz = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + xj(c, a); + }; + T.prototype.get_dampingRatio = function () { + return me(this.a); + }; + T.prototype.set_dampingRatio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Sc(c, a); + }; + T.prototype.get_type = function () { + return ai(this.a); + }; + T.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + tq(c, a); + }; + T.prototype.get_userData = function () { + return Ac(this.a); + }; + T.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Rc(c, a); + }; + T.prototype.get_bodyA = function () { + return n(Mi(this.a), q); + }; + T.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ss(c, a); + }; + T.prototype.get_bodyB = function () { + return n(bv(this.a), q); + }; + T.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Qp(c, a); + }; + T.prototype.get_collideConnected = function () { + return !!Mp(this.a); + }; + T.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Tn(c, a); + }; + T.prototype.__destroy__ = function () { + iu(this.a); + }; + function q() { + throw 'cannot construct a b2Body, no constructor in IDL'; + } + q.prototype = Object.create(h.prototype); + q.prototype.constructor = q; + q.prototype.b = q; + q.c = {}; + b.b2Body = q; + q.prototype.CreateFixture = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + return void 0 === c ? n(cu(d, a), v) : n(Cl(d, a, c), v); + }; + q.prototype.DestroyFixture = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bn(c, a); + }; + q.prototype.SetTransform = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Gm(d, a, c); + }; + q.prototype.GetTransform = function () { + return n(Lt(this.a), Rx); + }; + q.prototype.GetPosition = function () { + return n(Sg(this.a), r); + }; + q.prototype.GetAngle = function () { + return Fw(this.a); + }; + q.prototype.GetWorldCenter = function () { + return n(vk(this.a), r); + }; + q.prototype.GetLocalCenter = function () { + return n(Nv(this.a), r); + }; + q.prototype.SetLinearVelocity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + jm(c, a); + }; + q.prototype.GetLinearVelocity = function () { + return n(ue(this.a), r); + }; + q.prototype.SetAngularVelocity = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vt(c, a); + }; + q.prototype.GetAngularVelocity = function () { + return dj(this.a); + }; + q.prototype.ApplyForce = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Dt(e, a, c, d); + }; + q.prototype.ApplyForceToCenter = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Pe(d, a, c); + }; + q.prototype.ApplyTorque = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + wh(d, a, c); + }; + q.prototype.ApplyLinearImpulse = function (a, c, d) { + var e = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + d && 'object' === typeof d && (d = d.a); + Ln(e, a, c, d); + }; + q.prototype.ApplyAngularImpulse = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + Qd(d, a, c); + }; + q.prototype.GetMass = function () { + return jo(this.a); + }; + q.prototype.GetInertia = function () { + return Zu(this.a); + }; + q.prototype.GetMassData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + sn(c, a); + }; + q.prototype.SetMassData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + de(c, a); + }; + q.prototype.ResetMassData = function () { + pn(this.a); + }; + q.prototype.GetWorldPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Rj(c, a), r); + }; + q.prototype.GetWorldVector = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(rg(c, a), r); + }; + q.prototype.GetLocalPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Bg(c, a), r); + }; + q.prototype.GetLocalVector = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(rm(c, a), r); + }; + q.prototype.GetLinearVelocityFromWorldPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n($q(c, a), r); + }; + q.prototype.GetLinearVelocityFromLocalPoint = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(Hq(c, a), r); + }; + q.prototype.GetLinearDamping = function () { + return Gr(this.a); + }; + q.prototype.SetLinearDamping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wm(c, a); + }; + q.prototype.GetAngularDamping = function () { + return Bk(this.a); + }; + q.prototype.SetAngularDamping = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ci(c, a); + }; + q.prototype.GetGravityScale = function () { + return oj(this.a); + }; + q.prototype.SetGravityScale = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Tl(c, a); + }; + q.prototype.SetType = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + io(c, a); + }; + q.prototype.GetType = function () { + return ls(this.a); + }; + q.prototype.SetBullet = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Hk(c, a); + }; + q.prototype.IsBullet = function () { + return !!pl(this.a); + }; + q.prototype.SetSleepingAllowed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xk(c, a); + }; + q.prototype.IsSleepingAllowed = function () { + return !!bq(this.a); + }; + q.prototype.SetAwake = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vu(c, a); + }; + q.prototype.IsAwake = function () { + return !!xd(this.a); + }; + q.prototype.SetActive = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Dl(c, a); + }; + q.prototype.IsActive = function () { + return !!di(this.a); + }; + q.prototype.SetFixedRotation = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + kh(c, a); + }; + q.prototype.IsFixedRotation = function () { + return !!Sh(this.a); + }; + q.prototype.GetFixtureList = function () { + return n(Oo(this.a), v); + }; + q.prototype.GetJointList = function () { + return n(ft(this.a), Px); + }; + q.prototype.GetContactList = function () { + return n(Vh(this.a), Wx); + }; + q.prototype.GetNext = function () { + return n(sv(this.a), q); + }; + q.prototype.GetUserData = function () { + return Ak(this.a); + }; + q.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ti(c, a); + }; + q.prototype.GetWorld = function () { + return n(Su(this.a), C); + }; + q.prototype.Dump = function () { + tk(this.a); + }; + function U() { + throw 'cannot construct a b2FrictionJoint, no constructor in IDL'; + } + U.prototype = Object.create(p.prototype); + U.prototype.constructor = U; + U.prototype.b = U; + U.c = {}; + b.b2FrictionJoint = U; + U.prototype.GetLocalAnchorA = function () { + return n(Yo(this.a), r); + }; + U.prototype.GetLocalAnchorB = function () { + return n(Yh(this.a), r); + }; + U.prototype.SetMaxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xt(c, a); + }; + U.prototype.GetMaxForce = function () { + return Dv(this.a); + }; + U.prototype.SetMaxTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ip(c, a); + }; + U.prototype.GetMaxTorque = function () { + return zi(this.a); + }; + U.prototype.GetType = function () { + return hg(this.a); + }; + U.prototype.GetBodyA = function () { + return n(Dw(this.a), q); + }; + U.prototype.GetBodyB = function () { + return n(Se(this.a), q); + }; + U.prototype.GetAnchorA = function () { + return n(Ur(this.a), r); + }; + U.prototype.GetAnchorB = function () { + return n(yv(this.a), r); + }; + U.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(rq(c, a), r); + }; + U.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return kk(c, a); + }; + U.prototype.GetNext = function () { + return n(xs(this.a), p); + }; + U.prototype.GetUserData = function () { + return Cr(this.a); + }; + U.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Kp(c, a); + }; + U.prototype.IsActive = function () { + return !!cc(this.a); + }; + U.prototype.GetCollideConnected = function () { + return !!zp(this.a); + }; + U.prototype.__destroy__ = function () { + Uo(this.a); + }; + function Xx() { + throw 'cannot construct a b2DestructionListener, no constructor in IDL'; + } + Xx.prototype = Object.create(h.prototype); + Xx.prototype.constructor = Xx; + Xx.prototype.b = Xx; + Xx.c = {}; + b.b2DestructionListener = Xx; + Xx.prototype.__destroy__ = function () { + uc(this.a); + }; + function W() { + this.a = en(); + k(W)[this.a] = this; + } + W.prototype = Object.create(t.prototype); + W.prototype.constructor = W; + W.prototype.b = W; + W.c = {}; + b.b2GearJointDef = W; + W.prototype.get_joint1 = function () { + return n(ri(this.a), p); + }; + W.prototype.set_joint1 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vq(c, a); + }; + W.prototype.get_joint2 = function () { + return n(ym(this.a), p); + }; + W.prototype.set_joint2 = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + vu(c, a); + }; + W.prototype.get_ratio = function () { + return lp(this.a); + }; + W.prototype.set_ratio = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + tg(c, a); + }; + W.prototype.get_type = function () { + return nm(this.a); + }; + W.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Be(c, a); + }; + W.prototype.get_userData = function () { + return an(this.a); + }; + W.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + fw(c, a); + }; + W.prototype.get_bodyA = function () { + return n(wj(this.a), q); + }; + W.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ju(c, a); + }; + W.prototype.get_bodyB = function () { + return n(vn(this.a), q); + }; + W.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Xv(c, a); + }; + W.prototype.get_collideConnected = function () { + return !!Ek(this.a); + }; + W.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $o(c, a); + }; + W.prototype.__destroy__ = function () { + Cq(this.a); + }; + function X() { + throw 'cannot construct a b2RevoluteJoint, no constructor in IDL'; + } + X.prototype = Object.create(p.prototype); + X.prototype.constructor = X; + X.prototype.b = X; + X.c = {}; + b.b2RevoluteJoint = X; + X.prototype.GetLocalAnchorA = function () { + return n(ic(this.a), r); + }; + X.prototype.GetLocalAnchorB = function () { + return n(Ts(this.a), r); + }; + X.prototype.GetReferenceAngle = function () { + return Ed(this.a); + }; + X.prototype.GetJointAngle = function () { + return Pf(this.a); + }; + X.prototype.GetJointSpeed = function () { + return Mf(this.a); + }; + X.prototype.IsLimitEnabled = function () { + return !!Fv(this.a); + }; + X.prototype.EnableLimit = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ng(c, a); + }; + X.prototype.GetLowerLimit = function () { + return uk(this.a); + }; + X.prototype.GetUpperLimit = function () { + return Vl(this.a); + }; + X.prototype.SetLimits = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + ts(d, a, c); + }; + X.prototype.IsMotorEnabled = function () { + return !!Gt(this.a); + }; + X.prototype.EnableMotor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + oh(c, a); + }; + X.prototype.SetMotorSpeed = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + co(c, a); + }; + X.prototype.GetMotorSpeed = function () { + return lg(this.a); + }; + X.prototype.SetMaxMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + nh(c, a); + }; + X.prototype.GetMaxMotorTorque = function () { + return Nj(this.a); + }; + X.prototype.GetMotorTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return qt(c, a); + }; + X.prototype.GetType = function () { + return Tp(this.a); + }; + X.prototype.GetBodyA = function () { + return n(mj(this.a), q); + }; + X.prototype.GetBodyB = function () { + return n(Mk(this.a), q); + }; + X.prototype.GetAnchorA = function () { + return n(Mr(this.a), r); + }; + X.prototype.GetAnchorB = function () { + return n(cw(this.a), r); + }; + X.prototype.GetReactionForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return n(su(c, a), r); + }; + X.prototype.GetReactionTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + return bh(c, a); + }; + X.prototype.GetNext = function () { + return n(dv(this.a), p); + }; + X.prototype.GetUserData = function () { + return Hc(this.a); + }; + X.prototype.SetUserData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + mi(c, a); + }; + X.prototype.IsActive = function () { + return !!mv(this.a); + }; + X.prototype.GetCollideConnected = function () { + return !!Qg(this.a); + }; + X.prototype.__destroy__ = function () { + xh(this.a); + }; + function Wx() { + this.a = ms(); + k(Wx)[this.a] = this; + } + Wx.prototype = Object.create(h.prototype); + Wx.prototype.constructor = Wx; + Wx.prototype.b = Wx; + Wx.c = {}; + b.b2ContactEdge = Wx; + Wx.prototype.get_other = function () { + return n(Qi(this.a), q); + }; + Wx.prototype.set_other = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Fi(c, a); + }; + Wx.prototype.get_contact = function () { + return n(nn(this.a), E); + }; + Wx.prototype.set_contact = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + lu(c, a); + }; + Wx.prototype.get_prev = function () { + return n(Ug(this.a), Wx); + }; + Wx.prototype.set_prev = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Bw(c, a); + }; + Wx.prototype.get_next = function () { + return n(Og(this.a), Wx); + }; + Wx.prototype.set_next = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ub(c, a); + }; + Wx.prototype.__destroy__ = function () { + Xe(this.a); + }; + function Y() { + this.a = Xj(); + k(Y)[this.a] = this; + } + Y.prototype = Object.create(t.prototype); + Y.prototype.constructor = Y; + Y.prototype.b = Y; + Y.c = {}; + b.b2RopeJointDef = Y; + Y.prototype.get_localAnchorA = function () { + return n(Zm(this.a), r); + }; + Y.prototype.set_localAnchorA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + gs(c, a); + }; + Y.prototype.get_localAnchorB = function () { + return n(Kq(this.a), r); + }; + Y.prototype.set_localAnchorB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + dw(c, a); + }; + Y.prototype.get_maxLength = function () { + return Fk(this.a); + }; + Y.prototype.set_maxLength = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hl(c, a); + }; + Y.prototype.get_type = function () { + return zq(this.a); + }; + Y.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ok(c, a); + }; + Y.prototype.get_userData = function () { + return Nn(this.a); + }; + Y.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Ho(c, a); + }; + Y.prototype.get_bodyA = function () { + return n(Bu(this.a), q); + }; + Y.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + $f(c, a); + }; + Y.prototype.get_bodyB = function () { + return n(mw(this.a), q); + }; + Y.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Zd(c, a); + }; + Y.prototype.get_collideConnected = function () { + return !!uh(this.a); + }; + Y.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Tc(c, a); + }; + Y.prototype.__destroy__ = function () { + Cs(this.a); + }; + function Z() { + this.a = Mg(); + k(Z)[this.a] = this; + } + Z.prototype = Object.create(t.prototype); + Z.prototype.constructor = Z; + Z.prototype.b = Z; + Z.c = {}; + b.b2MotorJointDef = Z; + Z.prototype.Initialize = function (a, c) { + var d = this.a; + a && 'object' === typeof a && (a = a.a); + c && 'object' === typeof c && (c = c.a); + hm(d, a, c); + }; + Z.prototype.get_linearOffset = function () { + return n(gm(this.a), r); + }; + Z.prototype.set_linearOffset = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + wo(c, a); + }; + Z.prototype.get_angularOffset = function () { + return Bt(this.a); + }; + Z.prototype.set_angularOffset = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + js(c, a); + }; + Z.prototype.get_maxForce = function () { + return zc(this.a); + }; + Z.prototype.set_maxForce = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + St(c, a); + }; + Z.prototype.get_maxTorque = function () { + return Gq(this.a); + }; + Z.prototype.set_maxTorque = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Vv(c, a); + }; + Z.prototype.get_correctionFactor = function () { + return qp(this.a); + }; + Z.prototype.set_correctionFactor = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + yt(c, a); + }; + Z.prototype.get_type = function () { + return zr(this.a); + }; + Z.prototype.set_type = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + lc(c, a); + }; + Z.prototype.get_userData = function () { + return mu(this.a); + }; + Z.prototype.set_userData = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + qd(c, a); + }; + Z.prototype.get_bodyA = function () { + return n(ww(this.a), q); + }; + Z.prototype.set_bodyA = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + ql(c, a); + }; + Z.prototype.get_bodyB = function () { + return n(Gu(this.a), q); + }; + Z.prototype.set_bodyB = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + Fs(c, a); + }; + Z.prototype.get_collideConnected = function () { + return !!Fd(this.a); + }; + Z.prototype.set_collideConnected = function (a) { + var c = this.a; + a && 'object' === typeof a && (a = a.a); + hw(c, a); + }; + Z.prototype.__destroy__ = function () { + vs(this.a); + }; + (function () { + function a() { + b.b2Shape.e_circle = pk(); + b.b2Shape.e_edge = Mj(); + b.b2Shape.e_polygon = Yu(); + b.b2Shape.e_chain = $n(); + b.b2Shape.e_typeCount = Mt(); + b.e_unknownJoint = ii(); + b.e_revoluteJoint = wi(); + b.e_prismaticJoint = kr(); + b.e_distanceJoint = mo(); + b.e_pulleyJoint = qf(); + b.e_mouseJoint = At(); + b.e_gearJoint = rt(); + b.e_wheelJoint = Ve(); + b.e_weldJoint = Dm(); + b.e_frictionJoint = Rd(); + b.e_ropeJoint = Qv(); + b.e_motorJoint = xo(); + b.e_inactiveLimit = Tu(); + b.e_atLowerLimit = wn(); + b.e_atUpperLimit = Pw(); + b.e_equalLimits = Qh(); + b.b2Manifold.e_circles = Gd(); + b.b2Manifold.e_faceA = Fj(); + b.b2Manifold.e_faceB = Gj(); + b.b2_staticBody = km(); + b.b2_kinematicBody = Dj(); + b.b2_dynamicBody = Eq(); + b.b2Draw.e_shapeBit = Th(); + b.b2Draw.e_jointBit = Hf(); + b.b2Draw.e_aabbBit = ur(); + b.b2Draw.e_pairBit = Vr(); + b.b2Draw.e_centerOfMassBit = Fo(); + b.b2ContactFeature.e_vertex = Ko(); + b.b2ContactFeature.e_face = Ul(); + } + b.calledRun ? a() : kb.unshift(a); + })(); + + return Box2D; +}; diff --git a/games/basket-random/data.json b/games/basket-random/data.json new file mode 100644 index 00000000..238f6f6b --- /dev/null +++ b/games/basket-random/data.json @@ -0,0 +1,26722 @@ +{ + "project": [ + "Basket Random", + "intro", + [ + [0, false, true, true, true, true, true, true, true, false], + [4, true, false, false, false, false, false, false, false, false], + [5, true, false, false, false, false, false, false, false, false], + [8, false, true, true, true, true, true, true, true, true], + [9, false, true, true, true, true, true, true, true, true], + [11, false, true, true, true, false, true, true, true, true], + [12, false, false, false, false, false, false, false, false, false], + [13, true, false, false, false, false, false, false, false, false], + [14, false, true, true, false, true, true, true, true, true], + [15, true, false, false, false, false, false, false, false, false], + [16, true, false, false, false, false, false, false, false, false] + ], + [ + [ + "landPhysics", + 0, + false, + [ + [743747809798882, 1, "var", 0], + [809078945651990, 1, "adjust", 1] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 181722346420503, + [["images/shared-0-sheet3.png", 390, 21, 1, 8, 8, 1, 0, 0, [], [], 0]] + ] + ], + [ + ["Physics", 1, 142273057852306, 2], + ["Pin", 2, 401962789916350, 3] + ], + false, + false, + 772042534706571, + [], + null, + 4 + ], + [ + "body", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6], + [828006718432439, 1, "angular", 7], + [241350340598193, 1, "jump", 8], + [575695388637414, 1, "moreJump", 9] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 674607841931791, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 1, + 12, + 14, + 33, + 1, + 0.5, + 1, + [ + ["Image Point 1", 0.5, 0.06060606060606061], + ["leg", 0.42857142857142855, 0.48484848484848486], + ["arm1", 0.7142857142857143, 0.15151515151515152], + ["arm2", 0.35714285714285715, 0.15151515151515152], + ["head", 0.5, 0.09090909090909091], + ["Image Point 6", 0.42857142857142855, 1] + ], + [ + -0.2142857142857143, -0.9090909090909091, 0.2142857142857143, -0.9090909090909091, + 0.2142857142857143, 0, -0.2142857142857143, 0 + ], + 0 + ] + ] + ] + ], + [ + ["Physics", 1, 515968540163293, 2], + ["Timer", 3, 445562764837033, 10] + ], + false, + false, + 161021157590190, + [], + null, + 11 + ], + [ + "Keyboard", + 4, + false, + [], + 0, + 0, + null, + null, + [], + false, + false, + 747694427977182, + [], + null, + 12, + [] + ], + [ + "playerLine", + 0, + false, + [[355992968993067, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 145151915307127, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 17, + 23, + 12, + 33, + 1, + 0.5833333333333334, + 0.48484848484848486, + [], + [ + -0.41666666666666674, -0.48484848484848486, 0.41666666666666663, + -0.48484848484848486, 0.41666666666666663, 0.5151515151515151, + -0.41666666666666674, 0.5151515151515151 + ], + 0 + ] + ] + ] + ], + [["Pin", 2, 500194307327190, 3]], + false, + false, + 625837994283183, + [], + null, + 13 + ], + [ + "head", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 463167676001022, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 21, + 113, + 9, + 12, + 1, + 0.6666666666666666, + 0.8333333333333334, + [], + [ + -0.2222222222222222, 0.08333333333333326, -0.38194444444444464, + -0.5000000000000002, 0.1111111111111115, -0.6145833333333334, 0.2222222222222222, + 0.08333333333333326 + ], + 0 + ] + ] + ] + ], + [["Physics", 1, 688065710709717, 2]], + false, + false, + 155178247625662, + [], + null, + 14 + ], + [ + "headLine", + 0, + false, + [[355992968993067, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 411447992207710, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 32, + 113, + 9, + 12, + 1, + 0.6666666666666666, + 0.8333333333333334, + [], + [ + -0.5555555555555556, 0.08333333333333326, -0.5555555555555556, -0.75, + 0.2222222222222222, -0.75, 0.2222222222222222, 0.08333333333333326 + ], + 0 + ] + ] + ] + ], + [["Pin", 2, 144904455577802, 3]], + false, + false, + 320679496266431, + [], + null, + 15 + ], + [ + "Audio", + 5, + false, + [], + 0, + 0, + null, + null, + [], + false, + false, + 767505538384609, + [], + null, + 16, + [0, 0, false, 0, 1, 1, 600, 600, 10000, 1] + ], + [ + "heavyBall", + 0, + false, + [ + [563276566294665, 1, "which", 5], + [582356141952511, 1, "tail", 17], + [530807734112401, 1, "hold", 18], + [594419271663252, 1, "handCollision", 19], + [704996939890392, 1, "who", 20], + [637853595682252, 1, "tin", 21] + ], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 665629018710775, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 55, + 113, + 10, + 10, + 1, + 0.5, + 0.5, + [], + [ + -0.3953125, -0.27890625, -0.014062499999999922, -0.4, 0.39687499999999964, + -0.273046875, 0.5, 0.14492187499999998, 0.39531249999999996, 0.476953125, + -0.06562499999999982, 0.5, -0.4015625, 0.480859375, -0.5, 0.10390624999999998 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 579895500341781, + [], + null, + 22 + ], + [ + "groundCollision", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 822169908345708, + [["images/shared-0-sheet3.png", 390, 21, 31, 8, 8, 1, 0, 0, [], [], 0]] + ] + ], + [], + false, + false, + 327647056558432, + [], + null, + 23 + ], + [ + "ballLine", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "ball", + 0, + true, + 1, + 0, + false, + 809221979124264, + [ + ["images/ballline-sheet0.png", 2056, 29, 113, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 15, 97, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 97, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 81, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 29, 97, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 17, 81, 12, 12, 1, 0.5, 0.5, [], [], 0] + ] + ], + [ + "kames", + 0, + true, + 1, + 0, + false, + 472835241667223, + [ + ["images/ballline-sheet0.png", 2056, 1, 81, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 65, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 33, 81, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 17, 65, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 65, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 49, 12, 12, 1, 0.5, 0.5, [], [], 0] + ] + ], + [ + "smallball", + 0, + true, + 1, + 0, + false, + 279602879169699, + [ + ["images/ballline-sheet0.png", 2056, 17, 113, 9, 9, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 113, 9, 9, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 54, 113, 9, 9, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 43, 113, 9, 9, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 54, 97, 9, 9, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 43, 97, 9, 9, 1, 0.5, 0.5, [], [], 0] + ] + ], + [ + "heavy", + 0, + true, + 1, + 0, + false, + 726046922604982, + [["images/ballline-sheet0.png", 2056, 33, 65, 12, 12, 0.5, 0.5, 0.5, [], [], 0]] + ], + [ + "rainBow", + 0, + true, + 1, + 0, + false, + 815160247849569, + [ + ["images/ballline-sheet0.png", 2056, 17, 49, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 49, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 33, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 33, 49, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 17, 33, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 33, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 17, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 33, 33, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 17, 17, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 1, 17, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 49, 1, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 33, 17, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 33, 1, 12, 12, 1, 0.5, 0.5, [], [], 0], + ["images/ballline-sheet0.png", 2056, 17, 1, 12, 12, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [["Pin", 2, 213156414731802, 3]], + false, + false, + 491497825051844, + [], + null, + 24 + ], + [ + "rightShoe", + 0, + false, + [[133526370598289, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 152797464087863, + [ + [ + "images/rightshoe-sheet0.png", + 828, + 49, + 17, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ] + ] + ], + [ + "Animation 2", + 0, + false, + 1, + 0, + false, + 513425222299893, + [ + [ + "images/rightshoe-sheet0.png", + 828, + 13, + 33, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 25, + 33, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ] + ] + ], + [ + "other", + 0, + false, + 1, + 0, + false, + 580560448525969, + [ + [ + "images/rightshoe-sheet0.png", + 828, + 37, + 33, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 49, + 33, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 1, + 33, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 13, + 49, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 25, + 49, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 37, + 49, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 49, + 49, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ], + [ + "images/rightshoe-sheet0.png", + 828, + 1, + 49, + 10, + 10, + 1, + 0.7, + 0.5, + [], + [ + -0.29999999999999993, -0.35, 0.30000000000000004, -0.35, 0.30000000000000004, 0.5, + -0.29999999999999993, 0.5 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 566992231219463, + [], + null, + 25 + ], + [ + "hair", + 0, + false, + [[133526370598289, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 858351597901741, + [ + ["images/hair-sheet0.png", 505, 1, 33, 11, 10, 1, 0.5, 0.5, [], [], 0], + [ + "images/hair-sheet0.png", + 505, + 1, + 49, + 11, + 9, + 1, + 0.7272727272727273, + 0.6666666666666666, + [], + [ + -0.6363636363636364, -0.6666666666666666, 0.2727272727272727, -0.6666666666666666, + 0.2727272727272727, 0.33333333333333337, -0.6363636363636364, 0.33333333333333337 + ], + 0 + ], + ["images/hair-sheet0.png", 505, 17, 1, 12, 10, 1, 0.75, 0.7, [], [], 0], + [ + "images/hair-sheet0.png", + 505, + 17, + 36, + 12, + 9, + 1, + 0.75, + 0.6666666666666666, + [], + [], + 0 + ], + [ + "images/hair-sheet0.png", + 505, + 17, + 49, + 11, + 9, + 1, + 0.7272727272727273, + 0.6666666666666666, + [], + [], + 0 + ], + [ + "images/hair-sheet0.png", + 505, + 17, + 13, + 11, + 10, + 1, + 0.7272727272727273, + 0.7, + [], + [], + 0 + ], + [ + "images/hair-sheet0.png", + 505, + 17, + 25, + 12, + 9, + 1, + 0.75, + 0.6666666666666666, + [], + [-0.75, -0.6666666666666666, 0.25, -0.6666666666666666, 0.25, 0, -0.75, 0], + 0 + ], + ["images/hair-sheet0.png", 505, 1, 1, 13, 10, 1, 0.6923076923076923, 0.7, [], [], 0], + [ + "images/hair-sheet0.png", + 505, + 1, + 17, + 13, + 9, + 1, + 0.6153846153846154, + 0.6666666666666666, + [], + [], + 0 + ] + ] + ] + ], + [], + false, + false, + 420579621027744, + [], + null, + 26 + ], + [ + "rightShort", + 0, + false, + [[133526370598289, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 813710882591198, + [ + [ + "images/rightshort-sheet0.png", + 677, + 1, + 49, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 21, + 49, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 11, + 49, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 1, + 33, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 21, + 33, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 11, + 33, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 1, + 18, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 21, + 17, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 21, + 1, + 8, + 9, + 1, + 0.625, + 0.4444444444444444, + [], + [ + -0.375, -0.4444444444444444, 0.375, -0.4444444444444444, 0.375, + 0.4444444444444444, -0.375, 0.4444444444444444 + ], + 0 + ] + ] + ], + [ + "Animation 2", + 0, + false, + 1, + 0, + false, + 212569297768840, + [ + [ + "images/rightshort-sheet0.png", + 677, + 11, + 1, + 8, + 15, + 1, + 0.625, + 0.26666666666666666, + [], + [ + -0.4375, -0.26666666666666666, 0.375, -0.26666666666666666, 0.375, + 0.7333333333333334, -0.4375, 0.7333333333333334 + ], + 0 + ], + [ + "images/rightshort-sheet0.png", + 677, + 1, + 1, + 8, + 15, + 1, + 0.625, + 0.26666666666666666, + [], + [ + -0.4375, -0.26666666666666666, 0.375, -0.26666666666666666, 0.375, + 0.7333333333333334, -0.4375, 0.7333333333333334 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 212616808526271, + [], + null, + 27 + ], + [ + "tshirt", + 0, + false, + [[133526370598289, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 703575085930973, + [ + [ + "images/tshirt-sheet0.png", + 714, + 1, + 49, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [ + -0.5, -0.46153846153846156, 0.375, -0.46153846153846156, 0.375, + 0.5384615384615384, -0.5, 0.5384615384615384 + ], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 21, + 49, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 11, + 49, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 1, + 33, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 21, + 33, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 11, + 33, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 1, + 17, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 21, + 17, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [], + 0 + ] + ] + ], + [ + "Animation 2", + 0, + false, + 1, + 0, + false, + 544601630445666, + [ + [ + "images/tshirt-sheet0.png", + 714, + 11, + 17, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [ + -0.5, -0.46153846153846156, 0.375, -0.46153846153846156, 0.375, + 0.5384615384615384, -0.5, 0.5384615384615384 + ], + 0 + ], + [ + "images/tshirt-sheet0.png", + 714, + 17, + 1, + 8, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [ + -0.5, -0.46153846153846156, 0.375, -0.46153846153846156, 0.375, + 0.5384615384615384, -0.5, 0.5384615384615384 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 930411780114126, + [], + null, + 28 + ], + [ + "ballShadow", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 109230932988846, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 1, + 65, + 16, + 10, + 1, + 0.5, + 0.5, + [], + [-0.4114583333333333, -0.5, 0.4375, -0.5, 0.4375, 0.4, -0.4114583333333333, 0.4], + 0 + ] + ] + ] + ], + [], + false, + false, + 573254356314428, + [], + null, + 29 + ], + [ + "playerShadow", + 0, + false, + [[853227184942689, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 239631406196181, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 95, + 64, + 16, + 10, + 1, + 0.5, + 0.5, + [], + [-0.4114583333333333, -0.5, 0.4375, -0.5, 0.4375, 0.4, -0.4114583333333333, 0.4], + 0 + ] + ] + ] + ], + [], + false, + false, + 682071006160450, + [], + null, + 30 + ], + [ + "pause", + 0, + false, + [[889785663316962, 1, "snow", 31]], + 3, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 734990184239287, + [["images/shared-0-sheet1.png", 14293, 1, 321, 50, 50, 1, 0.51, 0.51, [], [], 0]] + ] + ], + [ + ["Anchor", 6, 115405189188417, 32], + ["Tween", 7, 709726737150219, 33], + ["Timer", 3, 434660484905371, 10] + ], + false, + false, + 216698447209985, + [], + null, + 34 + ], + [ + "groundTile", + 8, + false, + [], + 0, + 0, + ["images/groundtile-sheet0.png", 236, 0, 0, 0, 32, 32], + null, + [], + false, + false, + 632529145556756, + [], + null, + 35 + ], + [ + "groundLine", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 850696985252652, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 129, + 321, + 48, + 50, + 1, + 0.4166666666666667, + 0.5, + [], + [ + -0.4166666666666667, -0.5, 0.4166666666666667, -0.5, 0.4166666666666667, 0.5, + -0.4166666666666667, 0.5 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 623165063501388, + [], + null, + 36 + ], + [ + "whiteLine", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 382633633820351, + [["images/shared-0-sheet3.png", 390, 29, 61, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 591839704412348, + [], + null, + 37 + ], + [ + "TPG", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 137419123480384, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 129, + 385, + 91, + 20, + 1, + 0.5054945054945055, + 0.5, + [], + [], + 0 + ] + ] + ] + ], + [["Anchor", 6, 153706135291846, 32]], + false, + false, + 295803543930175, + [], + null, + 38 + ], + [ + "scoreBG", + 0, + false, + [[356905319047954, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 793611218222937, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 193, + 449, + 51, + 24, + 1, + 0.49019607843137253, + 0.5, + [], + [ + -0.24509803921568626, -0.4583333333333333, 0.24509803921568635, + -0.4583333333333333, 0.24509803921568635, 0.45833333333333337, + -0.24509803921568626, 0.45833333333333337 + ], + 0 + ], + [ + "images/shared-0-sheet1.png", + 14293, + 129, + 449, + 51, + 24, + 1, + 0.49019607843137253, + 0.5, + [], + [ + -0.24509803921568626, -0.4583333333333333, 0.24509803921568635, + -0.4583333333333333, 0.24509803921568635, 0.45833333333333337, + -0.24509803921568626, 0.45833333333333337 + ], + 0 + ] + ] + ] + ], + [["Anchor", 6, 871553613807051, 32]], + false, + false, + 476518777678733, + [], + null, + 39 + ], + [ + "fontWonder", + 9, + false, + [[307208886896509, 1, "which", 5]], + 2, + 0, + ["images/shared-0-sheet1.png", 14293, 0, 194, 417, 60, 24], + null, + [ + ["Anchor", 6, 443242423934597, 32], + ["Timer", 3, 899694622243975, 10] + ], + false, + false, + 150534456565547, + [], + null, + 40 + ], + [ + "fenceTile", + 8, + false, + [], + 0, + 0, + ["images/fencetile-sheet0.png", 212, 0, 0, 0, 35, 31], + null, + [], + false, + false, + 541442893133813, + [], + null, + 41 + ], + [ + "grassTile", + 8, + false, + [], + 0, + 0, + ["images/grasstile-sheet0.png", 512, 0, 0, 0, 192, 18], + null, + [], + false, + false, + 452923378552142, + [], + null, + 42 + ], + [ + "cloudTile", + 8, + false, + [], + 1, + 0, + ["images/cloudtile-sheet0.png", 775, 0, 0, 0, 141, 90], + null, + [["Sine", 10, 398840339926155, 43]], + false, + false, + 361642855934481, + [], + null, + 44 + ], + [ + "buildingTile", + 8, + false, + [], + 0, + 0, + ["images/buildingtile-sheet0.png", 1952, 0, 0, 0, 290, 60], + null, + [], + false, + false, + 512018015912123, + [], + null, + 45 + ], + [ + "DrawingCanvas", + 11, + false, + [], + 1, + 0, + null, + null, + [["Tween", 7, 274833170473905, 33]], + false, + false, + 334640009219788, + [], + null, + 46 + ], + ["Array", 12, false, [], 0, 0, null, null, [], true, false, 890603096716262, [], null, 47], + [ + "head3", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 592966909225254, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 10, + 113, + 9, + 12, + 1, + 0.33333333333333337, + 0.8333333333333334, + [], + [ + -0.2222222222222222, 0.08333333333333326, -0.2222222222222222, -0.75, + 0.5555555555555555, -0.75, 0.5555555555555555, -0.16666666666666674, + 0.2222222222222222, 0.08333333333333326 + ], + 0 + ] + ] + ] + ], + [["Physics", 1, 224311211196386, 2]], + false, + false, + 109997122299210, + [], + null, + 48 + ], + [ + "body3", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6], + [188649169891822, 1, "angular", 7], + [825227049637333, 1, "jump", 8], + [347423190914517, 1, "moreJump", 9] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 212285019926451, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 81, + 1, + 14, + 33, + 1, + 0.5, + 1, + [ + ["Image Point 1", 0.5, 0.06060606060606061], + ["leg", 0.5714285714285714, 0.48484848484848486], + ["arm1", 0.2857142857142857, 0.15151515151515152], + ["arm2", 0.6428571428571429, 0.15151515151515152], + ["head", 0.5, 0.09090909090909091], + ["Image Point 6", 0.5714285714285714, 1] + ], + [ + 0.2142857142857143, 0, -0.2142857142857143, 0, -0.2142857142857143, + -0.9090909090909091, 0.2142857142857143, -0.9090909090909091 + ], + 0 + ] + ] + ] + ], + [ + ["Physics", 1, 325752701927470, 2], + ["Timer", 3, 850808611577930, 10] + ], + false, + false, + 122938021214616, + [], + null, + 49 + ], + [ + "Mouse", + 13, + false, + [], + 0, + 0, + null, + null, + [], + false, + false, + 492299477198254, + [], + null, + 50, + [] + ], + [ + "p3Collision", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 940929575642943, + [["images/shared-0-sheet3.png", 390, 11, 31, 8, 8, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Pin", 2, 596282671078749, 3]], + false, + false, + 882743727735267, + [], + null, + 51 + ], + [ + "p1Collision", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 384340213832393, + [["images/shared-0-sheet3.png", 390, 11, 1, 8, 8, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Pin", 2, 395593136906256, 3]], + false, + false, + 623591523863309, + [], + null, + 52 + ], + [ + "head2", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 617476018257868, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 75, + 113, + 9, + 12, + 1, + 0.6666666666666666, + 0.8333333333333334, + [], + [ + -0.2222222222222222, 0.08333333333333326, -0.5555555555555556, + -0.16666666666666674, -0.5555555555555556, -0.75, 0.2222222222222222, -0.75, + 0.2222222222222222, 0.08333333333333326 + ], + 0 + ] + ] + ] + ], + [["Physics", 1, 516866805047333, 2]], + false, + false, + 568910350257925, + [], + null, + 53 + ], + [ + "body2", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6], + [780304088130296, 1, "angular", 7], + [343234777109625, 1, "jump", 8], + [945388003454660, 1, "moreJump", 9] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 989912392401904, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 97, + 1, + 14, + 33, + 1, + 0.5, + 1, + [ + ["Image Point 1", 0.5, 0.06060606060606061], + ["leg", 0.42857142857142855, 0.48484848484848486], + ["arm1", 0.7142857142857143, 0.15151515151515152], + ["arm2", 0.35714285714285715, 0.09090909090909091], + ["head", 0.5, 0.09090909090909091], + ["Image Point 6", 0.42857142857142855, 1] + ], + [ + -0.2142857142857143, -0.9090909090909091, 0.2142857142857143, -0.9090909090909091, + 0.2142857142857143, 0, -0.2142857142857143, 0 + ], + 0 + ] + ] + ] + ], + [ + ["Physics", 1, 938350194238343, 2], + ["Timer", 3, 987938083516366, 10] + ], + false, + false, + 591656382024194, + [], + null, + 54 + ], + [ + "p2Collision", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 246701792603345, + [["images/shared-0-sheet3.png", 390, 1, 31, 8, 8, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Pin", 2, 633683347898741, 3]], + false, + false, + 750987036082744, + [], + null, + 55 + ], + [ + "head4", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 746362869394538, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 113, + 113, + 9, + 12, + 1, + 0.6666666666666666, + 0.8333333333333334, + [], + [ + -0.2222222222222222, 0.08333333333333326, -0.5555555555555556, + -0.16666666666666674, -0.5555555555555556, -0.75, 0.2222222222222222, -0.75, + 0.2222222222222222, 0.08333333333333326 + ], + 0 + ] + ] + ] + ], + [["Physics", 1, 252389514897403, 2]], + false, + false, + 170395625538887, + [], + null, + 56 + ], + [ + "body4", + 0, + false, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6], + [220934166747697, 1, "angular", 7], + [825892345975981, 1, "jump", 8], + [419687358918312, 1, "moreJump", 9] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 491360914768010, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 113, + 1, + 14, + 33, + 1, + 0.5, + 1, + [ + ["Image Point 1", 0.5, 0.06060606060606061], + ["leg", 0.42857142857142855, 0.48484848484848486], + ["arm1", 0.7142857142857143, 0.15151515151515152], + ["arm2", 0.35714285714285715, 0.09090909090909091], + ["head", 0.5, 0.09090909090909091], + ["Image Point 6", 0.42857142857142855, 1] + ], + [ + -0.2142857142857143, -0.9090909090909091, 0.2142857142857143, -0.9090909090909091, + 0.2142857142857143, 0, -0.2142857142857143, 0 + ], + 0 + ] + ] + ] + ], + [ + ["Physics", 1, 433799102623114, 2], + ["Timer", 3, 316099911769790, 10] + ], + false, + false, + 141925170087339, + [], + null, + 57 + ], + [ + "p4Collision", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 512886478794167, + [["images/shared-0-sheet3.png", 390, 21, 21, 8, 8, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Pin", 2, 777362162478536, 3]], + false, + false, + 112231645791099, + [], + null, + 58 + ], + [ + "starTile", + 8, + false, + [[138919028684019, 1, "night", 59]], + 0, + 0, + ["images/startile-sheet0.png", 267, 0, 0, 0, 64, 48], + null, + [], + false, + false, + 151996837947433, + [], + null, + 60 + ], + [ + "normalBall", + 0, + false, + [ + [563276566294665, 1, "which", 5], + [582356141952511, 1, "tail", 17], + [530807734112401, 1, "hold", 18], + [594419271663252, 1, "handCollision", 19], + [704996939890392, 1, "who", 20] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 138495901938491, + [["images/shared-0-sheet2.png", 2419, 43, 113, 10, 10, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [ + ["Pin", 2, 185492576742323, 3], + ["Tween", 7, 285642661484021, 33] + ], + false, + false, + 969768552102301, + [], + null, + 61 + ], + [ + "kamesBall", + 0, + false, + [ + [563276566294665, 1, "which", 5], + [582356141952511, 1, "tail", 17], + [530807734112401, 1, "hold", 18], + [594419271663252, 1, "handCollision", 19], + [704996939890392, 1, "who", 20] + ], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 562855581441309, + [["images/shared-0-sheet2.png", 2419, 86, 113, 10, 10, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 366364851753538, + [], + null, + 62 + ], + [ + "snowParticle", + 14, + false, + [], + 1, + 0, + ["images/shared-0-sheet4.png", 70, 0, 0, 0, 1, 1], + null, + [["Anchor", 6, 571991358401741, 32]], + false, + false, + 183526732712084, + [], + null, + 63 + ], + [ + "Touch", + 15, + false, + [], + 0, + 0, + null, + null, + [], + false, + false, + 762554121428643, + [], + null, + 64, + [true] + ], + [ + "buttonRight", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 115762943799385, + [["images/shared-0-sheet3.png", 390, 11, 21, 8, 8, 1, 0, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 741403566573407, + [], + null, + 65 + ], + [ + "buttonLeft", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 117737138842102, + [["images/shared-0-sheet3.png", 390, 1, 21, 8, 8, 1, 1, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 499303918285009, + [], + null, + 66 + ], + [ + "tutorial", + 0, + false, + [[778195126962055, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Default", + 4, + true, + 1, + 0, + false, + 472226514952409, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 69, + 497, + 66, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [ + -0.5, -0.46153846153846156, 0.5, -0.46153846153846156, 0.5, 0.46153846153846156, + -0.5, 0.46153846153846156 + ], + 0 + ], + ["images/shared-0-sheet1.png", 14293, 1, 497, 66, 12, 1, 0.5, 0.5, [], [], 0] + ] + ], + [ + "Animation 1", + 4, + true, + 1, + 0, + false, + 247540886553671, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 129, + 481, + 66, + 13, + 1, + 0.5, + 0.46153846153846156, + [], + [ + -0.5, -0.46153846153846156, 0.5, -0.46153846153846156, 0.5, 0.46153846153846156, + -0.5, 0.46153846153846156 + ], + 0 + ], + ["images/shared-0-sheet1.png", 14293, 137, 497, 66, 12, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [["Anchor", 6, 174329036834707, 32]], + false, + false, + 478208825725579, + [], + null, + 67 + ], + [ + "pauseButtons", + 0, + false, + [[465909110082134, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Default", + 0, + false, + 1, + 0, + false, + 383322336291081, + [ + ["images/shared-0-sheet1.png", 14293, 193, 257, 50, 50, 1, 0.5, 0.52, [], [], 0], + ["images/shared-0-sheet1.png", 14293, 129, 132, 50, 50, 1, 0.52, 0.52, [], [], 0], + ["images/shared-0-sheet1.png", 14293, 65, 132, 50, 50, 1, 0.52, 0.48, [], [], 0], + ["images/shared-0-sheet1.png", 14293, 1, 132, 50, 50, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [["Tween", 7, 108083777981277, 33]], + false, + false, + 770571817352074, + [], + null, + 68 + ], + [ + "Browser", + 16, + false, + [], + 0, + 0, + null, + null, + [], + false, + false, + 610327147309948, + [], + null, + 69, + [] + ], + [ + "fadeOut", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 483240234570232, + [["images/shared-0-sheet3.png", 390, 25, 61, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Fade", 17, 551536203073943, 70]], + false, + false, + 269482681316401, + [], + null, + 71 + ], + [ + "titleBG", + 8, + false, + [], + 2, + 0, + ["images/titlebg-sheet0.png", 76, 0, 0, 0, 4, 4], + null, + [ + ["Anchor", 6, 572378944103846, 32], + ["Fade", 17, 946864465481147, 70] + ], + false, + false, + 305358759425148, + [], + null, + 72 + ], + [ + "title", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Default", + 0, + false, + 1, + 0, + false, + 797884228126642, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 225, + 198, + 17, + 1, + 0.5, + 0.5294117647058824, + [], + [ + -0.5, -0.5294117647058824, -0.012626262626262652, -0.5294117647058824, 0.5, + -0.5294117647058824, 0.5, -0.3235294117647059, 0.5, 0.26989619377162655, + -0.012626262626262652, 0.47058823529411764, -0.5, 0.47058823529411764, -0.5, + -0.3235294117647059 + ], + 0 + ], + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 417, + 98, + 17, + 1, + 0.5, + 0.5294117647058824, + [], + [], + 0 + ], + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 449, + 91, + 17, + 1, + 0.5054945054945055, + 0.5294117647058824, + [], + [], + 0 + ], + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 385, + 114, + 17, + 1, + 0.5, + 0.5294117647058824, + [], + [], + 0 + ] + ] + ] + ], + [["Tween", 7, 780673869583957, 33]], + false, + false, + 911921550822852, + [], + null, + 73 + ], + [ + "startButton", + 0, + false, + [ + [980103273760725, 1, "which", 5], + [862471787230702, 1, "cpu", 74], + [460219372512219, 1, "hover", 75] + ], + 1, + 0, + null, + [ + [ + "Default", + 5, + false, + 1, + 0, + false, + 175567957114006, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 193, + 129, + 60, + 60, + 1, + 0.516667, + 0.516667, + [], + [], + 0 + ] + ] + ] + ], + [["Tween", 7, 658560248614399, 33]], + false, + false, + 376169550615792, + [], + null, + 76 + ], + [ + "moreButton", + 0, + false, + [[589370216162201, 1, "hover", 75]], + 1, + 0, + null, + [ + [ + "Default", + 5, + false, + 1, + 0, + false, + 186808116249153, + [["images/shared-0-sheet1.png", 14293, 193, 65, 60, 60, 1, 0.5, 0.516667, [], [], 0]] + ] + ], + [["Tween", 7, 349911079106008, 33]], + false, + false, + 488155086715988, + [], + null, + 77 + ], + [ + "startButton2", + 0, + false, + [ + [980103273760725, 1, "which", 5], + [862471787230702, 1, "cpu", 74], + [491976972261055, 1, "hover", 75] + ], + 1, + 0, + null, + [ + [ + "Default", + 5, + false, + 1, + 0, + false, + 734894648559967, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 193, + 1, + 60, + 60, + 1, + 0.516667, + 0.516667, + [], + [], + 0 + ] + ] + ] + ], + [["Tween", 7, 415952552740229, 33]], + false, + false, + 165345851815377, + [], + null, + 78 + ], + [ + "hitfx", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Default", + 20, + false, + 1, + 0, + false, + 387141152296627, + [["images/shared-0-sheet2.png", 2419, 31, 23, 16, 16, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Tween", 7, 438802848299506, 33]], + false, + false, + 419378320825846, + [], + null, + 79 + ], + [ + "basketText", + 0, + false, + [], + 2, + 0, + null, + [ + [ + "Default", + 0, + false, + 1, + 0, + false, + 645689176241891, + [ + ["images/shared-0-sheet1.png", 14293, 1, 78, 158, 30, 1, 0.5, 0.5, [], [], 0], + ["images/shared-0-sheet1.png", 14293, 1, 46, 158, 30, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [ + ["Tween", 7, 621504971628796, 33], + ["Sine", 10, 255855218467525, 43] + ], + false, + false, + 915001726938730, + [], + null, + 80 + ], + [ + "game_bg", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Default", + 0, + false, + 1, + 0, + false, + 571825611838526, + [ + ["images/game_bg-sheet0.png", 282, 11, 49, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 1, 49, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 21, 49, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 11, 33, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 1, 33, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 21, 33, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 11, 17, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 1, 17, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 21, 17, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 17, 1, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/game_bg-sheet0.png", 282, 1, 1, 8, 8, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [], + false, + false, + 226855013675314, + [], + null, + 81 + ], + [ + "introtwporg", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Default", + 5, + false, + 1, + 0, + false, + 832234568490437, + [ + ["images/shared-0-sheet3.png", 390, 1, 1, 8, 8, 1, 0.5, 0.5, [], [], 0], + ["images/shared-0-sheet2.png", 2419, 57, 56, 18, 9, 1, 0.5, 0.5, [], [], 0], + ["images/shared-0-sheet2.png", 2419, 17, 12, 48, 9, 1, 0.5, 0.5, [], [], 0], + ["images/shared-0-sheet2.png", 2419, 1, 1, 74, 9, 1, 0.5, 0.5, [], [], 0], + ["images/shared-0-sheet1.png", 14293, 1, 481, 91, 9, 1, 0.5, 0.5, [], [], 0] + ] + ] + ], + [], + false, + false, + 358279861645374, + [], + null, + 82 + ], + [ + "play_intro_btn", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Default", + 5, + false, + 1, + 0, + false, + 634302951015529, + [["images/shared-1-sheet0.png", 1843, 0, 0, 250, 82, 1, 0.504, 0.512195, [], [], 0]] + ] + ], + [["Sine", 10, 856757237179004, 43]], + false, + false, + 239892668757453, + [], + null, + 83 + ], + [ + "groundTileSnow", + 8, + false, + [], + 0, + 0, + ["images/groundtilesnow-sheet0.png", 79, 0, 0, 0, 1, 82], + null, + [], + false, + false, + 127903465964283, + [], + null, + 84 + ], + [ + "buildingTile2", + 8, + false, + [], + 0, + 0, + ["images/buildingtile2-sheet0.png", 2012, 0, 0, 0, 290, 60], + null, + [], + false, + false, + 873220186766453, + [], + null, + 85 + ], + [ + "buildingTile3", + 8, + false, + [], + 0, + 0, + ["images/buildingtile3-sheet0.png", 1953, 0, 0, 0, 290, 60], + null, + [], + false, + false, + 699611175514380, + [], + null, + 86 + ], + [ + "smallBall", + 0, + false, + [ + [563276566294665, 1, "which", 5], + [582356141952511, 1, "tail", 17], + [530807734112401, 1, "hold", 18], + [594419271663252, 1, "handCollision", 19], + [704996939890392, 1, "who", 20] + ], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 105532018259790, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 1, + 49, + 9, + 9, + 1, + 0.5, + 0.5, + [], + [ + -0.5, -0.5, -0.01953124999999989, -0.5, 0.5, -0.5, 0.5, 0.00434027777777779, 0.5, + 0.44704861111111116, -0.09114583333333304, 0.5, -0.5, 0.4522569444444444, -0.5, + -0.05034722222222221 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 123073707338433, + [], + null, + 87 + ], + [ + "titleChars", + 0, + false, + [[626664459915564, 1, "startX", 88]], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 409153271607150, + [ + ["images/titlechars-sheet0.png", 1204, 35, 97, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 18, 97, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 1, 97, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 26, 1, 16, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 35, 65, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 18, 65, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 1, 65, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 35, 33, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 18, 33, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 1, 33, 15, 15, 1, 0, 1, [], [], 0], + ["images/titlechars-sheet0.png", 1204, 44, 1, 15, 15, 1, 0, 1, [], [], 0], + [ + "images/titlechars-sheet0.png", + 1204, + 1, + 1, + 23, + 15, + 1, + 0, + 1, + [], + [ + 0.043478260869565216, -0.9333333333333333, 0.9565217391304348, + -0.9333333333333333, 0.9565217391304348, 0, 0.043478260869565216, 0 + ], + 0 + ] + ] + ] + ], + [["Sine", 10, 705999045748291, 43]], + false, + false, + 143301877409954, + [], + null, + 89 + ], + [ + "groundTilePlaj", + 8, + false, + [], + 0, + 0, + ["images/groundtileplaj-sheet0.png", 253, 0, 0, 0, 32, 32], + null, + [], + false, + false, + 289665957755872, + [], + null, + 90 + ], + [ + "seaTile", + 8, + false, + [], + 0, + 0, + ["images/seatile-sheet0.png", 141, 0, 0, 0, 1, 37], + null, + [], + false, + false, + 920686675110875, + [], + null, + 91 + ], + [ + "mountain", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 611576636846016, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 1, + 152, + 43, + 1, + 0.5, + 0.5116279069767442, + [], + [], + 0 + ] + ] + ] + ], + [], + false, + false, + 596739333260280, + [], + null, + 92 + ], + [ + "seaWhite", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 386880025163363, + [ + ["images/shared-0-sheet3.png", 390, 1, 57, 6, 3, 1, 1, 1, [], [], 0], + ["images/shared-0-sheet3.png", 390, 17, 41, 10, 3, 1, 1, 1, [], [], 0], + ["images/shared-0-sheet3.png", 390, 22, 49, 8, 3, 1, 1, 1, [], [], 0], + ["images/shared-0-sheet3.png", 390, 1, 49, 9, 3, 1, 1, 1, [], [], 0], + ["images/shared-0-sheet3.png", 390, 1, 41, 11, 3, 1, 1, 1, [], [], 0], + ["images/shared-0-sheet3.png", 390, 12, 49, 8, 3, 1, 1, 1, [], [], 0] + ] + ] + ], + [["Sine", 10, 903443595755173, 43]], + false, + false, + 640240327085560, + [], + null, + 93 + ], + [ + "arm", + 0, + false, + [ + [712283363070756, 1, "have", 94], + [518245236963284, 1, "ready", 95] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 367397206026181, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 113, + 65, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + -0.35714285714285715, 0.461214711214711, 0.3571428571428571, 0.4628334628334628, + 0.3571428571428571, 0.8181818181818182, -0.35714285714285715, 0.8181818181818182 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 97, + 76, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 105, + 36, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [], + 0 + ] + ] + ] + ], + [["Tween", 7, 902220166036463, 33]], + false, + false, + 551675629522835, + [], + null, + 96 + ], + [ + "potaP", + 0, + false, + [ + [792926084902031, 1, "var", 0], + [735559823559840, 1, "adjust", 1], + [911105425695413, 1, "which", 5] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 244377409286114, + [["images/shared-0-sheet3.png", 390, 21, 11, 8, 8, 1, 0, 0, [], [], 0]] + ] + ], + [ + ["Physics", 1, 923195708700933, 2], + ["Pin", 2, 601968969661384, 3] + ], + false, + false, + 629025303895210, + [], + null, + 97 + ], + [ + "handCollision", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 503709571399578, + [["images/shared-0-sheet3.png", 390, 21, 61, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 787975999726677, + [], + null, + 19 + ], + [ + "potaP2", + 0, + false, + [ + [250249392921199, 1, "var", 0], + [696003897038967, 1, "adjust", 1], + [909418188924941, 1, "which", 5], + [486816571485656, 1, "cpu", 74] + ], + 2, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 342025060121983, + [["images/shared-0-sheet3.png", 390, 11, 11, 8, 8, 1, 0, 0, [], [], 0]] + ] + ], + [ + ["Physics", 1, 317921757479197, 2], + ["Pin", 2, 513836119247231, 3] + ], + false, + false, + 879546430092124, + [], + null, + 98 + ], + [ + "potaSprite", + 0, + false, + [[617318120693945, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 700904630990854, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 193, + 321, + 49, + 44, + 1, + 0.061224489795918366, + 0.8181818181818182, + [], + [ + -0.061224489795918366, -0.7954545454545455, 0.9387755102040817, + -0.7954545454545455, 0.9387755102040817, 0.15909090909090906, + -0.061224489795918366, 0.15909090909090906 + ], + 0 + ], + [ + "images/shared-0-sheet1.png", + 14293, + 65, + 321, + 55, + 44, + 1, + 0.05454545454545454, + 0.8181818181818182, + [], + [ + -0.05454545454545454, -0.7954545454545455, 0.8363636363636363, + -0.7954545454545455, 0.8363636363636363, 0.15909090909090906, + -0.05454545454545454, 0.15909090909090906 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 966267859290575, + [], + null, + 99 + ], + [ + "potaTiled", + 8, + false, + [], + 0, + 0, + ["images/potatiled-sheet0.png", 89, 0, 0, 0, 1, 7], + null, + [], + false, + false, + 911655726912085, + [], + null, + 100 + ], + [ + "scoreCollision", + 0, + false, + [[576524235530933, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 994192848563340, + [["images/shared-0-sheet3.png", 390, 15, 57, 4, 4, 1, 0.5, 1, [], [], 0]] + ] + ], + [], + false, + false, + 278867099159431, + [], + null, + 101 + ], + [ + "arm2", + 0, + false, + [ + [459284940488244, 1, "have", 94], + [207017868471893, 1, "ready", 95] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 369713821406918, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 19, + 65, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + -0.35714285714285715, 0.461214711214711, 0.3571428571428571, 0.4628334628334628, + 0.3571428571428571, 0.8181818181818182, -0.35714285714285715, 0.8181818181818182 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 28, + 69, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 78, + 36, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [], + 0 + ] + ] + ] + ], + [["Tween", 7, 863289738703439, 33]], + false, + false, + 440743858443420, + [], + null, + 102 + ], + [ + "arm3", + 0, + false, + [ + [994899285623298, 1, "have", 94], + [367012223661162, 1, "ready", 95] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 760537124405218, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 77, + 65, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + 0.3571428571428572, 0.8181818181818182, -0.3571428571428571, 0.8181818181818182, + -0.3571428571428571, 0.4628334628334628, 0.3571428571428572, 0.461214711214711 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 37, + 69, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [ + 0.3571428571428572, 0.8333333333333334, -0.3571428571428571, 0.8333333333333334, + -0.3571428571428571, 0.5656853434631213, 0.3571428571428572, 0.5637068692624246 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 87, + 36, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [ + 0.3571428571428572, 0.6923076923076923, -0.3571428571428571, 0.6923076923076923, + -0.3571428571428571, 0.39162831470523773, 0.3571428571428572, 0.3902586017970632 + ], + 0 + ] + ] + ] + ], + [["Tween", 7, 482389615409759, 33]], + false, + false, + 339586311387964, + [], + null, + 103 + ], + [ + "arm4", + 0, + false, + [ + [157242777984481, 1, "have", 94], + [995292887655867, 1, "ready", 95] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 884646538666731, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 86, + 65, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + 0.3571428571428572, 0.8181818181818182, -0.3571428571428571, 0.8181818181818182, + -0.3571428571428571, 0.4628334628334628, 0.3571428571428572, 0.461214711214711 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 46, + 69, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [ + 0.5, 0.8333333333333334, -0.5, 0.8333333333333334, -0.5, -0.16666666666666666, + 0.5, -0.16666666666666666 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 96, + 36, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [ + 0.5, 0.8846153846153846, -0.5, 0.8846153846153846, -0.5, -0.11538461538461539, + 0.5, -0.11538461538461539 + ], + 0 + ] + ] + ] + ], + [["Tween", 7, 805847041525983, 33]], + false, + false, + 526531338304814, + [], + null, + 104 + ], + [ + "handCollision2", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 459148394148618, + [["images/shared-0-sheet3.png", 390, 29, 57, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 656697108860845, + [], + null, + 105 + ], + [ + "handCollision3", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 304748388897790, + [["images/shared-0-sheet3.png", 390, 25, 57, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 610380462503464, + [], + null, + 106 + ], + [ + "handCollision4", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 377793005339126, + [["images/shared-0-sheet3.png", 390, 21, 57, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 793820695942504, + [], + null, + 107 + ], + [ + "potaCollision", + 0, + false, + [[542447182487532, 1, "which", 5]], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 989188591179889, + [["images/shared-0-sheet3.png", 390, 9, 57, 4, 4, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [], + false, + false, + 734164028403028, + [], + null, + 108 + ], + [ + "potaBack", + 0, + false, + [[504483073119362, 1, "which", 5]], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 672306022622604, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 40, + 46, + 21, + 8, + 1, + 0.047619047619047616, + 0.5, + [], + [ + -0.047619047619047616, -0.5, 0.9523809523809523, -0.5, 0.9523809523809523, 0.375, + -0.047619047619047616, 0.375 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 49, + 36, + 27, + 8, + 1, + 0.037037037037037035, + 0.5, + [], + [ + -0.037037037037037035, -0.5, 0.7407407407407407, -0.5, 0.7407407407407407, 0.375, + -0.037037037037037035, 0.375 + ], + 0 + ] + ] + ] + ], + [["Pin", 2, 984553805176842, 3]], + false, + false, + 400452889100371, + [], + null, + 109 + ], + [ + "potaShadow", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 270207687324605, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 1, + 81, + 13, + 10, + 1, + 0.46153846153846156, + 0.5, + [], + [ + -0.46153846153846156, -0.5, 0.46153846153846156, -0.5, 0.46153846153846156, 0.4, + -0.46153846153846156, 0.4 + ], + 0 + ] + ] + ] + ], + [], + false, + false, + 466870140526810, + [], + null, + 110 + ], + [ + "potaFile", + 0, + false, + [[574424373400670, 1, "which", 5]], + 3, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 747546572255121, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 40, + 56, + 15, + 11, + 1, + 0.4666666666666667, + -0.2727272727272727, + [], + [ + 0.33333333333333337, 1, -0.2, 1, -0.2, 0.2727272727272727, 0.33333333333333337, + 0.2727272727272727 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 49, + 23, + 21, + 11, + 1, + 0.5, + -0.2727272727272727, + [], + [ + 0.0714285714285714, 1, -0.30952380952380953, 1, -0.30952380952380953, + 0.2727272727272727, 0.0714285714285714, 0.2727272727272727 + ], + 0 + ] + ] + ] + ], + [ + ["Sine", 10, 717179945131840, 43], + ["Pin", 2, 734679648959998, 3], + ["Timer", 3, 635418011798423, 10] + ], + false, + false, + 401074239907215, + [], + null, + 111 + ], + [ + "ballCol", + 0, + false, + [], + 1, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 821372626085530, + [["images/shared-0-sheet3.png", 390, 29, 45, 2, 2, 1, 0.5, 0.5, [], [], 0]] + ] + ], + [["Pin", 2, 486598742321639, 3]], + false, + false, + 905401324386915, + [], + null, + 112 + ], + [ + "grassLineTile", + 8, + false, + [], + 0, + 0, + ["images/grasslinetile-sheet0.png", 1604, 0, 0, 0, 250, 250], + null, + [], + false, + false, + 109627558190740, + [], + null, + 113 + ], + [ + "groundTileIndoor", + 8, + false, + [], + 0, + 0, + ["images/groundtileindoor-sheet0.png", 135, 0, 0, 0, 16, 16], + null, + [], + false, + false, + 271765278342587, + [], + null, + 114 + ], + [ + "indoorBGTile", + 8, + false, + [], + 0, + 0, + ["images/indoorbgtile-sheet0.png", 472, 0, 0, 0, 100, 43], + null, + [], + false, + false, + 295889892767603, + [], + null, + 115 + ], + [ + "indoorBGTile2", + 8, + false, + [], + 0, + 0, + ["images/indoorbgtile2-sheet0.png", 239, 0, 0, 0, 48, 40], + null, + [], + false, + false, + 132691878102787, + [], + null, + 116 + ], + [ + "font", + 9, + false, + [], + 1, + 0, + ["images/shared-0-sheet0.png", 6836, 0, 0, 0, 256, 256], + null, + [["Tween", 7, 222643575157718, 33]], + false, + false, + 661856340545719, + [], + null, + 117 + ], + [ + "indoorBGTile3", + 8, + false, + [], + 0, + 0, + ["images/indoorbgtile3-sheet0.png", 139, 0, 0, 0, 24, 14], + null, + [], + false, + false, + 969121057445632, + [], + null, + 118 + ], + [ + "landPhysics2", + 0, + false, + [], + 2, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 707204510274560, + [["images/shared-0-sheet3.png", 390, 1, 11, 8, 8, 1, 0.5, 1, [], [], 0]] + ] + ], + [ + ["Physics", 1, 107068613690942, 2], + ["Pin", 2, 982447844752610, 3] + ], + false, + false, + 384988875496125, + [], + null, + 119 + ], + [ + "armBiz", + 0, + false, + [ + [508905437559223, 1, "have", 94], + [853074888250322, 1, "ready", 95] + ], + 1, + 0, + null, + [ + [ + "Animation 1", + 0, + false, + 1, + 0, + false, + 936767091041474, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 57, + 67, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + -0.35714285714285715, 0.461214711214711, 0.3571428571428571, 0.4628334628334628, + 0.3571428571428571, 0.8181818181818182, -0.35714285714285715, 0.8181818181818182 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 104, + 97, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 114, + 36, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [], + 0 + ] + ] + ], + [ + "Animation 2", + 0, + false, + 1, + 0, + false, + 314070669887281, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 66, + 67, + 7, + 22, + 1, + 0.5, + 0.13636363636363635, + [["Image Point 1", 0.5, 0.8636363636363636]], + [ + -0.35714285714285715, 0.461214711214711, 0.3571428571428571, 0.4628334628334628, + 0.3571428571428571, 0.8181818181818182, -0.35714285714285715, 0.8181818181818182 + ], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 1, + 97, + 7, + 18, + 1, + 0.5, + 0.16666666666666666, + [["Image Point 1", 0.5, 0.8333333333333334]], + [], + 0 + ], + [ + "images/shared-0-sheet2.png", + 2419, + 31, + 41, + 7, + 26, + 1, + 0.5, + 0.11538461538461539, + [["Image Point 1", 0.5, 0.8846153846153846]], + [], + 0 + ] + ] + ] + ], + [["Pin", 2, 943013584083899, 3]], + false, + false, + 326016029870408, + [], + null, + 120 + ], + [ + "indoorTitle", + 0, + false, + [], + 0, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 830728838940487, + [ + [ + "images/shared-0-sheet1.png", + 14293, + 1, + 110, + 186, + 20, + 1, + 0.5, + 0.5, + [], + [-0.5, -0.45, 0.5, -0.45, 0.5, 0.44999999999999996, -0.5, 0.44999999999999996], + 0 + ] + ] + ] + ], + [], + false, + false, + 341121300620687, + [], + null, + 121 + ], + [ + "snowTile", + 8, + false, + [], + 0, + 0, + ["images/snowtile-sheet0.png", 1656, 0, 0, 0, 121, 78], + null, + [], + false, + false, + 428541252133396, + [], + null, + 122 + ], + [ + "shark", + 0, + false, + [[456064923523364, 1, "which", 5]], + 2, + 0, + null, + [ + [ + "Animation 1", + 5, + false, + 1, + 0, + false, + 221245187439791, + [ + [ + "images/shared-0-sheet2.png", + 2419, + 65, + 46, + 11, + 8, + 1, + 0.5454545454545454, + 0.75, + [], + [], + 0 + ] + ] + ] + ], + [ + ["Bullet", 18, 669618605626704, 123], + ["Wrap", 19, 842923771528414, 124] + ], + false, + false, + 564853266582477, + [], + null, + 125 + ], + [ + "player", + 0, + true, + [ + [948130737057144, 1, "which", 5], + [167129767304689, 1, "first", 6] + ], + 0, + 0, + null, + null, + [], + false, + false, + 661987379736500, + [], + null, + 126 + ], + [ + "skin", + 0, + true, + [[133526370598289, 1, "which", 5]], + 1, + 0, + null, + null, + [["Pin", 2, 607519535701682, 3]], + false, + false, + 811093076945295, + [], + null, + 127 + ], + ["tiles", 8, true, [], 0, 0, null, null, [], false, false, 980826140383301, [], null, 128], + [ + "line", + 0, + true, + [[355992968993067, 1, "which", 5]], + 0, + 0, + null, + null, + [], + false, + false, + 950842151788613, + [], + null, + 129 + ], + [ + "balls", + 0, + true, + [ + [563276566294665, 1, "which", 5], + [582356141952511, 1, "tail", 17], + [530807734112401, 1, "hold", 18], + [594419271663252, 1, "handCollision", 19], + [704996939890392, 1, "who", 20] + ], + 2, + 0, + null, + null, + [ + ["Physics", 1, 769312609858469, 2], + ["Timer", 3, 801435010542266, 10] + ], + false, + false, + 808384195622623, + [], + null, + 130 + ], + [ + "startButtons", + 0, + true, + [ + [980103273760725, 1, "which", 5], + [862471787230702, 1, "cpu", 74] + ], + 0, + 0, + null, + null, + [], + false, + false, + 793855693243642, + [], + null, + 131 + ], + [ + "groundPortrait", + 8, + true, + [], + 0, + 0, + null, + null, + [], + false, + false, + 487408058323321, + [], + null, + 132 + ], + ["cpu", 0, true, [], 0, 0, null, null, [], false, false, 463455934599491, [], null, 74] + ], + [ + [99, 4, 1, 29, 30, 34, 35, 37, 38], + [100, 10, 12, 13, 11], + [101, 23, 26, 24, 25, 17, 40, 61, 62, 63, 66, 67, 88, 89, 90, 91, 93, 97], + [102, 5, 3], + [103, 41, 7, 42, 64], + [104, 55, 53], + [105, 61, 17, 89, 66], + [106, 38, 30] + ], + [ + [ + "game", + 290, + 190, + true, + "gameEvent", + 545442038015373, + [ + [ + "BG", + 0, + 604017585979365, + true, + [149, 237, 244], + false, + 1, + 1, + 1, + false, + false, + 1, + 0, + 0, + [ + [ + [ + 0, + 8, + 0, + 378, + 86, + 0, + 0, + [0.7725490196078432, 0.984313725490196, 0.9921568627450981, 1], + 0, + 0, + 0, + 0, + [] + ], + 25, + 58, + [], + [[1, 0, 6, 0, 0, 0, 2, 0, true]], + [true, 0, -16, 0, 1, 1, 0] + ], + [ + [0, 71, 0, 418, 36, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 67, + 370, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 5, 0, 655, 78, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 97, + 130, + [], + [], + [true, 0, 12, 0, 1, 1, 0] + ], + [ + [1, -630, 0, 622, 740, 0, 0, [1, 1, 1, 0.1], 0, 0, 0, 0, []], + 91, + 107, + [], + [], + [true, 0, 0, 25, 1, 1, 0] + ], + [ + [ + 0, + 0, + 0, + 623, + 14, + 0, + 0, + [0.6078431372549019, 0.6078431372549019, 0.6078431372549019, 1], + 0, + 0, + 0, + 0, + [] + ], + 93, + 108, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 67, 0, 620, 43, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 90, + 106, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 110, 0, 358, 81, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 89, + 105, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [145, 75, 0, 145, 150, 0, 0, [1, 1, 1, 0.2], 1, 0.5, 0, 0, []], + 46, + 327, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [145, 75, 0, 145, 150, 0, 0, [1, 1, 1, 0.2], 0, 0.5, 0, 0, []], + 45, + 328, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [-395, 142, 0, 1106, 43, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 2, + [0, 0], + [[true, 1, false, 1, 1, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [0, -631, 0, 378, 738, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 40, + 5, + [0], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [-394, 136, 0, 1104, 60, 0, 0, [1, 1, 1, 0.55], 0, 0, 0, 0, []], + 8, + 27, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [202, 93, 0, 6, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 372, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 0, true] + ], + [ + [174, 76, 0, 9, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 380, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 3, true] + ], + [ + [132, 89, 0, 11, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 381, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 4, true] + ], + [ + [104, 100, 0, 8, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 382, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 5, true] + ], + [ + [12, 90, 0, 8, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 383, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 5, true] + ], + [ + [287, 100, 0, 8, 3, 0, 0, [1, 1, 1, 0.5], 1, 1, 0, 0, []], + 69, + 384, + [], + [[7, 0, 4, 0, 0, 4, 50, 0, true]], + [true, "Animation 1", 2, true] + ], + [ + [0, 22, 0, 373, 59, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 63, + 354, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 22, 0, 373, 59, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 62, + 353, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 22, 0, 373, 59, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 26, + 59, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 77, 0, 358, 30, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 23, + 56, + [], + [], + [true, 0, -1, 0, 1, 1, 0] + ], + [ + [0, 107, 0, 358, 83, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 61, + 352, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 107, 0, 358, 83, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 66, + 369, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 109, 0, 358, 81, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 17, + 46, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [173, 139, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 43, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 43, + 140, + 0, + 48, + 50, + 0, + 0, + [0.5882352941176471, 0.5882352941176471, 0.5882352941176471, 1], + 0.4166666666666667, + 0.5, + 0, + 0, + [] + ], + 18, + 47, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 247, + 140, + 0, + -48, + 50, + 0, + 0, + [0.5882352941176471, 0.5882352941176471, 0.5882352941176471, 1], + 0.4166666666666667, + 0.5, + 0, + 0, + [] + ], + 18, + 48, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 146, + 117, + 0, + 172, + 2, + 0, + 0, + [0.5882352941176471, 0.5882352941176471, 0.5882352941176471, 1], + 0.5, + 0.5, + 0, + 0, + [] + ], + 19, + 49, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 146, + 163, + 0, + 209, + 2, + 0, + 0, + [0.5882352941176471, 0.5882352941176471, 0.5882352941176471, 1], + 0.5, + 0.5, + 0, + 0, + [] + ], + 19, + 50, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [76, 139, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 124, + [4], + [], + [true, "Animation 1", 0, true] + ], + [ + [117, 139, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 101, + [3], + [], + [true, "Animation 1", 0, true] + ], + [ + [214, 139, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 77, + [2], + [], + [true, "Animation 1", 0, true] + ], + [ + [143, 139, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 14, + 42, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 0, + 109, + 0, + 358, + 1, + 0, + 0, + [0.17647058823529413, 0.17647058823529413, 0.17647058823529413, 1], + 0, + 0, + 0, + 0, + [] + ], + 88, + 104, + [], + [], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [ + 0, + 92, + 0, + 368, + 18, + 0, + 0, + [0.6470588235294118, 0.796078431372549, 0.30196078431372547, 1], + 0, + 0, + 0, + 0, + [] + ], + 24, + 57, + [], + [], + [true, 0, -17, 0, 1, 1, 0] + ], + [ + [19, 142, 0, 74, 5, 0, 4.71238898038469, [1, 1, 1, 0.55], 0, 0, 0, 0, []], + 0, + 92, + [1, 1], + [[true, 1, false, 1, 0, 1, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [266, 142, 0, 73, 5, 0, 4.71238898038469, [1, 1, 1, 0.55], 0, 0, 0, 0, []], + 0, + 100, + [1, 1], + [[true, 1, false, 1, 0, 1, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [145, 65, 0, 152, 43, 0, 0, [1, 1, 1, 1], 0.5, 0.5116279069767442, 0, 0, []], + 68, + 371, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [284, 97, 0, -11, 8, 0, 0, [1, 1, 1, 1], 0.5454545454545454, 0.75, 0, 0, []], + 98, + 134, + [-1], + [[10, 0, 0, false, false, false, true], [1]], + [true, "Animation 1", 0, true] + ], + [ + [6, 90, 0, 11, 8, 0, 0, [1, 1, 1, 1], 0.5454545454545454, 0.75, 0, 0, []], + 98, + 131, + [1], + [[10, 0, 0, false, false, false, true], [1]], + [true, "Animation 1", 0, true] + ], + [ + [145, 42, 0, 186, 20, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 96, + 128, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [265, 141, 0, 64, 7, 0, 1.5707963267948966, [1, 1, 1, 1], 1, 1, 0, 0, []], + 75, + 97, + [], + [], + [true, 8, 0, 0, 1, 1, 0] + ], + [ + [18, 141, 0, 64, 7, 0, 1.5707963267948966, [1, 1, 1, 1], 1, 1, 0, 0, []], + 75, + 25, + [], + [], + [true, 8, 0, 0, 1, 1, 0] + ], + [ + [268, 141, 0, 13, 10, 0, 0, [1, 1, 1, 1], 0.46153846153846156, 0.5, 0, 0, []], + 85, + 99, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [21, 141, 0, 13, 10, 0, 0, [1, 1, 1, 1], 0.46153846153846156, 0.5, 0, 0, []], + 85, + 93, + [], + [], + [true, "Animation 1", 0, true] + ], + [ + [-85, 0, 0, 478, 150, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 27, + 62, + [], + [[true]], + [true, 0, 0] + ] + ], + [], + 0 + ], + [ + "Game", + 1, + 515757170473582, + true, + [94, 94, 94], + true, + 1, + 1, + 1, + false, + false, + 1, + 0, + 0, + [ + [ + [234, 74, 0, 20, 12, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 83, + 95, + [1], + [], + [false, "Animation 1", 0, true] + ], + [ + [243, 75, 0, -21, 8, 0, 0, [1, 1, 1, 1], 0.047619047619047616, 0.5, 0, 0, []], + 84, + 96, + [1], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [47, 75, 0, 21, 8, 0, 0, [1, 1, 1, 1], 0.047619047619047616, 0.5, 0, 0, []], + 84, + 90, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 233, + 77, + 0, + 15, + 11, + 0, + 0, + [1, 1, 1, 1], + 0.4666666666666667, + -0.2727272727272727, + 0, + 0, + [] + ], + 86, + 103, + [1], + [[6, 0, 1, 0, 0, 0, 4, 0, false], [false], []], + [true, "Animation 1", 0, true] + ], + [ + [ + 56, + 77, + 0, + 15, + 11, + 0, + 0, + [1, 1, 1, 1], + 0.4666666666666667, + -0.2727272727272727, + 0, + 0, + [] + ], + 86, + 89, + [0], + [[6, 0, 1, 0, 0, 0, 4, 0, false], [false], []], + [true, "Animation 1", 0, true] + ], + [ + [ + 21, + 78, + 0, + 49, + 44, + 0, + 0, + [1, 1, 1, 1], + 0.061224489795918366, + 0.8181818181818182, + 0, + 0, + [] + ], + 74, + 23, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [56.5, 75, 0, 19, 10, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 83, + 94, + [0], + [], + [false, "Animation 1", 0, true] + ], + [ + [ + 269, + 78, + 0, + -49, + 44, + 0, + 0, + [1, 1, 1, 1], + 0.061224489795918366, + 0.8181818181818182, + 0, + 0, + [] + ], + 74, + 84, + [1], + [], + [true, "Animation 1", 0, true] + ], + [ + [145, 58, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 41, + 291, + [0.7, 0.3, 0, 0, -1], + [[true, 2, false, 0.1, 1, 0.7, 0.3, 0.5, false, true], [], [false], [true]], + [false, "Animation 1", 0, true] + ], + [ + [145, 58, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 300, + [], + [[false]], + [true, "ball", 0, true] + ], + [ + [ + 145, + 1, + 0, + 10.583004951, + 10.583004951, + 0, + 1.5707963267948966, + [1, 1, 1, 1], + 0, + 0.5, + 0, + 0, + [] + ], + 43, + 332, + [], + [[2, 0, 0, 0, true]], + [10, 0, 0, -1, 30, 2, 100, 0, 400, 0, 10, 1, 0, 0, 0, 5, 0, 0, 0, 3] + ], + [ + [41, 44, 0, 3, 40, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 71, + 21, + [1, 1, 1], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [43, 76, 0, 6, 4, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 71, + 20, + [1, 1, 1], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [63, 76, 0, 3, 4, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 71, + 18, + [1, 1, 0], + [[true, 2, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [56, 80, 0, 12, 3, 0, 0, [1, 1, 1, 1], 0.5, 1, 0, 0, []], + 76, + 19, + [0], + [], + [false, "Animation 1", 0, true] + ], + [ + [115, 120, 0, 8, 41, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 32, + 9, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [ + 115, + 125, + 0, + -12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 12, + [3], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 115, + 111, + 0, + -9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 22, + [3], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 115, + 111, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.33333333333333337, + 0.8333333333333334, + 0, + 0, + [] + ], + 29, + 41, + [0, -1], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 115, + 141, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 30, + 60, + [0, -1, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [ + 114, + 106, + 0, + -11, + 10, + 0, + 0, + [1, 1, 1, 1], + 0.7272727272727273, + 0.6666666666666666, + 0, + 0, + [] + ], + 11, + 64, + [3], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [115, 116, 0, -8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 65, + [3], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [114, 125, 0, -8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 66, + [3], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [114, 136, 0, -10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 67, + [3], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [112, 114, 0, 7, 22, 0, 0, [1, 1, 1, 1], 0.5, 0.13636363636363635, 0, 0, []], + 78, + 78, + [0, 0], + [[true]], + [true, "Animation 1", 0, true] + ], + [ + [112, 130, 0, 20, 20, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 81, + 82, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [246, 44, 0, 3, 40, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 73, + 24, + [1, 1, 1, 3], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [74, 120, 0, 8, 41, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 39, + 7, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [ + 74, + 125, + 0, + -12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 11, + [4], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 74, + 111, + 0, + -9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 13, + [4], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 74, + 111, + 0, + -9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 37, + 29, + [0, -1], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 74, + 141, + 0, + -14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 38, + 34, + [3, -1, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [73, 125, 0, -8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 35, + [4], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [73, 136, 0, -10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 36, + [4], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 73, + 106, + 0, + -11, + 10, + 0, + 0, + [1, 1, 1, 1], + 0.7272727272727273, + 0.6666666666666666, + 0, + 0, + [] + ], + 11, + 39, + [4], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [74, 116, 0, -8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 40, + [4], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [71, 114, 0, 7, 22, 0, 0, [1, 1, 1, 1], 0.5, 0.13636363636363635, 0, 0, []], + 79, + 79, + [0, 0], + [[true]], + [true, "Animation 1", 0, true] + ], + [ + [71, 129, 0, 20, 20, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 82, + 83, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [217, 120, 0, 8, 41, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 36, + 10, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [ + 217, + 125, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 68, + [2], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 217, + 111, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 69, + [2], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 217, + 111, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 34, + 70, + [0, -1], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 217, + 141, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 35, + 71, + [3, -1, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [218, 125, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 72, + [2], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [218, 136, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 73, + [2], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [218, 106, 0, 12, 9, 0, 0, [1, 1, 1, 1], 0.75, 0.6666666666666666, 0, 0, []], + 11, + 74, + [2], + [[false]], + [true, "Animation 1", 6, true] + ], + [ + [217, 116, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 75, + [2], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [220, 114, 0, 7, 22, 0, 0, [1, 1, 1, 1], 0.5, 0.13636363636363635, 0, 0, []], + 77, + 76, + [0, 0], + [[true]], + [true, "Animation 1", 0, true] + ], + [ + [220, 130, 0, 20, 20, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 80, + 81, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [176, 120.5, 0, 8, 41, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 33, + 63, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [ + 176, + 125, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 8, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 176, + 111, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 15, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 176, + 111, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 14, + [0, -1], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 176, + 141, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 3, + [0, -1, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [177, 125, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 33, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [176, 116, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 31, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [177, 136, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 30, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 177, + 106, + 0, + 11, + 9, + 0, + 0, + [1, 1, 1, 1], + 0.7272727272727273, + 0.6666666666666666, + 0, + 0, + [] + ], + 11, + 32, + [0], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [179, 129, 0, 20, 20, 0, 0, [1, 1, 1, 0.5], 0.5, 0.5, 0, 0, []], + 72, + 6, + [], + [], + [false, "Animation 1", 0, true] + ], + [ + [ + 179, + 113.85714285714286, + 0, + 7, + 22, + 0, + 0, + [1, 1, 1, 1], + 0.5, + 0.13636363636363635, + 0, + 0, + [] + ], + 70, + 37, + [0, 0], + [[true]], + [true, "Animation 1", 0, true] + ], + [ + [224, 76, 0, 3, 4, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 73, + 87, + [1, 1, 0, 1], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [241, 76, 0, 5, 4, 0, 0, [1, 1, 1, 0.77], 0, 0, 0, 0, []], + 73, + 86, + [1, 1, 1, 2], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [234, 80, 0, 12, 3, 0, 0, [1, 1, 1, 1], 0.5, 1, 0, 0, []], + 76, + 85, + [1], + [], + [false, "Animation 1", 0, true] + ], + [ + [145, 58, 0, 21, 23, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 87, + 88, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [36, 142, 0, 3, 29, 0, 5.759586531581287, [1, 1, 1, 0.55], 0.5, 1, 0, 0, []], + 94, + 125, + [], + [[true, 1, false, 1, 0, 1, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [254, 142, 0, 3, 29, 0, 0.5235987755982988, [1, 1, 1, 0.55], 0.5, 1, 0, 0, []], + 94, + 126, + [], + [[true, 1, false, 1, 0, 1, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ] + ], + [], + 0 + ], + [ + "UI", + 2, + 381565850992086, + true, + [94, 94, 94], + true, + 0, + 0, + 1, + false, + false, + 0, + 0, + 0, + [ + [ + [10, 176, 0, 51, 24, 0, 0, [1, 1, 1, 1], 0.49019607843137253, 0.5, 0, 0, []], + 21, + 52, + [0], + [[0, 1, 0, 0, true]], + [false, "Animation 1", 0, true] + ], + [ + [280, 176, 0, -51, 24, 0, 0, [1, 1, 1, 1], 0.49019607843137253, 0.5, 0, 0, []], + 21, + 53, + [1], + [[1, 1, 0, 0, true]], + [false, "Animation 1", 1, true] + ], + [ + [2, 167, 0, 28, 16, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 22, + 54, + [0], + [[0, 1, 0, 0, true], []], + [ + "0", + true, + 12, + 12, + "0123456789", + "[[5,\"1\"],[10,\"023456789\"]]", + 1, + 1, + 0, + 1, + 1, + 0, + false, + 0 + ] + ], + [ + [258, 167, 0, 28, 16, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 22, + 55, + [1], + [[1, 1, 0, 0, true], []], + [ + "0", + true, + 12, + 12, + "0123456789", + "[[5,\"1\"],[10,\"023456789\"]]", + 1, + 1, + 0, + 1, + 1, + 0, + false, + 0 + ] + ], + [ + [40, 176, 0, 66, 13, 0, 0, [0, 0, 0, 1], 0.5, 0.46153846153846156, 0, 0, []], + 47, + 334, + [0], + [[2, 1, 0, 0, true]], + [false, "Default", 0, true] + ], + [ + [250, 176, 0, 66, 13, 0, 0, [0, 0, 0, 1], 0.5, 0.46153846153846156, 0, 0, []], + 47, + 335, + [1], + [[2, 1, 0, 0, true]], + [false, "Animation 1", 0, true] + ], + [ + [277, 14, 0, 50, 50, 0, 0, [1, 1, 1, 1], 0.51, 0.51, 0, 0, []], + 16, + 45, + [0], + [[1, 0, 0, 0, true], [true], []], + [false, "Animation 1", 0, true] + ] + ], + [], + 0 + ], + [ + "OP", + 3, + 990164181417183, + true, + [0, 0, 0], + false, + 1, + 1, + 0.7, + false, + false, + 1, + 0, + 0, + [], + [], + 0 + ], + [ + "Top", + 4, + 202103680628671, + true, + [94, 94, 94], + true, + 0, + 0, + 1, + false, + false, + 0, + 0, + 0, + [ + [ + [0, 26, 0, 290, 27, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 51, + 340, + [], + [ + [0, 2, 1, 0, true], + [0, 0, 0.3, true, false] + ], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 21, 0, 290, 3, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 51, + 341, + [], + [ + [0, 2, 1, 0, true], + [0, 0, 0.3, true, false] + ], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [0, 55, 0, 290, 3, 0, 0, [1, 1, 1, 1], 0, 0, 0, 0, []], + 51, + 342, + [], + [ + [0, 2, 1, 0, true], + [0, 0, 0.3, true, false] + ], + [true, 0, 0, 0, 1, 1, 0] + ], + [ + [-160, 39, 0, 198, 17, 0, 0, [1, 1, 1, 1], 0.5, 0.5294117647058824, 0, 0, []], + 52, + 343, + [], + [[true]], + [true, "Default", 0, true] + ], + [ + [85, 113, 0, 0, 0, 0, 0, [1, 1, 1, 1], 0.516667, 0.516667, 0, 0, []], + 53, + 344, + [0, 1, 0], + [[true]], + [true, "Default", 0, true] + ], + [ + [204, 113, 0, 0, 0, 0, 0, [1, 1, 1, 1], 0.5, 0.516667, 0, 0, []], + 54, + 345, + [0], + [[true]], + [true, "Default", 0, true] + ], + [ + [145, 113, 0, 0, 0, 0, 0, [1, 1, 1, 1], 0.516667, 0.516667, 0, 0, []], + 55, + 346, + [0, 0, 0], + [[true]], + [true, "Default", 0, true] + ], + [ + [145, 177, 0, 91, 20, 0, 0, [1, 1, 1, 1], 0.5054945054945055, 0.5, 0, 0, []], + 20, + 51, + [], + [[2, 1, 0, 0, true]], + [true, "Animation 1", 0, true] + ], + [ + [146, -22, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 50, + 339, + [], + [[0, 0.1, 0.3, true, true]], + [true, "Animation 1", 0, true] + ], + [ + [-259, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 357, + [0], + [[1, 0, 1, 0, 0, 0, 1, 0, true]], + [true, "Animation 1", 0, true] + ], + [ + [-244, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 358, + [0], + [[1, 0, 1, 0, 0.1, 0, 1, 0, true]], + [true, "Animation 1", 1, true] + ], + [ + [-229, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 359, + [0], + [[1, 0, 1, 0, 0.2, 0, 1, 0, true]], + [true, "Animation 1", 2, true] + ], + [ + [-214, 44, 0, 16, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 360, + [0], + [[1, 0, 1, 0, 0.3, 0, 1, 0, true]], + [true, "Animation 1", 3, true] + ], + [ + [-199, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 361, + [0], + [[1, 0, 1, 0, 0.5, 0, 1, 0, true]], + [true, "Animation 1", 4, true] + ], + [ + [-184, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 362, + [0], + [[1, 0, 1, 0, 0.6, 0, 1, 0, true]], + [true, "Animation 1", 5, true] + ], + [ + [-159, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 363, + [0], + [[1, 0, 1, 0, 0.7, 0, 1, 0, true]], + [true, "Animation 1", 6, true] + ], + [ + [-144, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 364, + [0], + [[1, 0, 1, 0, 0.8, 0, 1, 0, true]], + [true, "Animation 1", 7, true] + ], + [ + [-129, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 365, + [0], + [[1, 0, 1, 0, 0.9, 0, 1, 0, true]], + [true, "Animation 1", 8, true] + ], + [ + [-114, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 366, + [0], + [[1, 0, 1, 0, 1, 0, 1, 0, true]], + [true, "Animation 1", 9, true] + ], + [ + [-99, 44, 0, 15, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 367, + [0], + [[1, 0, 1, 0, 1.1, 0, 1, 0, true]], + [true, "Animation 1", 10, true] + ], + [ + [-84, 44, 0, 23, 15, 0, 0, [1, 1, 1, 1], 0, 1, 0, 0, []], + 65, + 368, + [0], + [[1, 0, 1, 0, 1.2, 0, 1, 0, true]], + [true, "Animation 1", 11, true] + ] + ], + [], + 0 + ] + ], + [[null, 28, 61, [], [], [0, 3, 1]]], + [] + ], + [ + "rip", + 290, + 190, + false, + null, + 920516926963411, + [ + [ + "Layer 0", + 0, + 358714896820022, + true, + [94, 94, 94], + false, + 1, + 1, + 1, + false, + false, + 1, + 0, + 0, + [ + [ + [44, 52, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 38, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 45, + 24, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 44, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 45, + 38, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 91, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 45, + 24, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 98, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 45, + 54, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 119, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [45, 29, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 121, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [46, 49, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 123, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 46, + 19, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 129, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [62, 52, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 132, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 63, + 24, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 133, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 63, + 38, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 144, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 63, + 24, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 151, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 63, + 54, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 153, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [63, 29, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 155, + [0], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [64, 49, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 157, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 64, + 19, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 158, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [81, 52, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 160, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 82, + 24, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 161, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 82, + 38, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 163, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 82, + 24, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 170, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 82, + 54, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 172, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [82, 29, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 174, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [83, 49, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 176, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 83, + 19, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 177, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [102, 52, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 180, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 103, + 24, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 181, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 103, + 38, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 183, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 103, + 24, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 190, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 103, + 54, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 192, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [103, 29, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 194, + [0], + [[false]], + [true, "Animation 1", 3, true] + ], + [ + [104, 49, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 196, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 104, + 19, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 197, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [125, 51, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 199, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 126, + 23, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 200, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 126, + 37, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 202, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 126, + 23, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 209, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 126, + 53, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 211, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [126, 28, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 213, + [0], + [[false]], + [true, "Animation 1", 4, true] + ], + [ + [127, 48, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 215, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 127, + 18, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 216, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [147, 51, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 218, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 148, + 23, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 219, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 148, + 37, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 221, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 148, + 23, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 228, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 148, + 53, + 0, + 14, + 33, + 0, + 0, + [0.8392156862745098, 0.6627450980392157, 0.48627450980392156, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 230, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [148, 28, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 232, + [0], + [[false]], + [true, "Animation 1", 5, true] + ], + [ + [149, 48, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 234, + [0], + [[false]], + [true, "Animation 1", 0, false] + ], + [ + [ + 149, + 18, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 235, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [170, 51, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 237, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 171, + 23, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 238, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 171, + 37, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 240, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 171, + 23, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 247, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 171, + 53, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 249, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [171, 28, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 251, + [0], + [[false]], + [true, "Animation 1", 6, true] + ], + [ + [172, 48, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 253, + [0], + [[false]], + [true, "Animation 1", 0, false] + ], + [ + [ + 172, + 18, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 254, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [191, 51, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 256, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 192, + 23, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 257, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 192, + 37, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 259, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 192, + 23, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 266, + [0, 0], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + 192, + 53, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 268, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [192, 28, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 270, + [0], + [[false]], + [true, "Animation 1", 7, true] + ], + [ + [193, 48, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 272, + [0], + [[false]], + [true, "Animation 1", 0, false] + ], + [ + [ + 193, + 18, + 0, + 12, + 10, + 0, + 0, + [0.5411764705882353, 0.2823529411764706, 0.21176470588235294, 1], + 0.75, + 0.7, + 0, + 0, + [] + ], + 11, + 273, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [46, 38, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 179, + [0], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [64, 38, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 277, + [0], + [[false]], + [true, "Animation 1", 2, true] + ], + [ + [83, 38, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 279, + [0], + [[false]], + [true, "Animation 1", 4, true] + ], + [ + [104, 38, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 281, + [0], + [[false]], + [true, "Animation 1", 5, true] + ], + [ + [127, 37, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 283, + [0], + [[false]], + [true, "Animation 1", 6, true] + ], + [ + [149, 37, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 285, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [172, 37, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 287, + [0], + [[false]], + [true, "Animation 1", 7, true] + ], + [ + [193, 37, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 289, + [0], + [[false]], + [true, "Animation 1", 8, true] + ], + [ + [379, 88, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 290, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [ + 380, + 74, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 293, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + 380, + 90, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 302, + [0, 0, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [381, 74, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 303, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [380, 65, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 304, + [0], + [[false]], + [true, "Animation 1", 7, true] + ], + [ + [381, 85, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 306, + [0], + [[false]], + [true, "Animation 1", 0, false] + ], + [ + [333, -12, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 28, + [], + [[false]], + [true, "heavy", 0, true] + ], + [ + [357, -23, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 42, + 307, + [0.7, 0.3, 0, 0, 0], + [[false, 2, false, 0.1, 0, 1, 0.2, 0.2, false, true], []], + [false, "Animation 1", 0, true] + ], + [ + [333, -24, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 7, + 26, + [0.7, 0.3, 0, 0, 0, 0], + [[false, 0, false, 0.1, 1, 0, 0.5, 0.5, false, true], []], + [false, "Animation 1", 0, true] + ], + [ + [299, -2, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 310, + [], + [[false]], + [true, "kames", 0, true] + ], + [ + [296, -13, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 309, + [], + [[false]], + [true, "ball", 0, true] + ], + [ + [428, 48, 0, 88, 5, 0, 5.032591091026542, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 321, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [456, -36, 0, 22, 4, 0, 6.1907441670920065, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 322, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [476, -37, 0, 4, 4, 0, 5.533765473196213, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 325, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [ + 567.8162814759902, + 50.67846735759289, + 0, + 114, + 5, + 0, + 5.032591091026542, + [1, 1, 1, 1], + 0, + 0, + 0, + 0, + [] + ], + 0, + 329, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [604, -58, 0, 22, 4, 0, 6.1907441670920065, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 330, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [624, -59, 0, 4, 4, 0, 5.533765473196213, [1, 1, 1, 1], 0, 0, 0, 0, []], + 0, + 331, + [0, 0], + [[true, 1, false, 1, 0, 0, 0, 0.01, false, true], [false]], + [false, "Animation 1", 0, true] + ], + [ + [56, -84, 0, 50, 50, 0, 0, [1, 1, 1, 1], 0.5, 0.52, 0, 0, []], + 48, + 336, + [0], + [[true]], + [true, "Default", 0, true] + ], + [ + [121, -85, 0, 50, 50, 0, 0, [1, 1, 1, 1], 0.5, 0.52, 0, 0, []], + 48, + 337, + [0], + [[true]], + [true, "Default", 0, true] + ], + [ + [236, -33, 0, 16, 16, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 56, + 347, + [], + [[true]], + [true, "Default", 0, true] + ], + [ + [-103, -22, 0, 158, 30, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 57, + 348, + [], + [[true], [6, 0, 0.5, 0, 0, 0, 15, 0, false]], + [true, "Default", 0, true] + ], + [ + [313, -24, 0, 9, 9, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 64, + 355, + [0.7, 0.25, 0, 0, 0], + [[false, 2, false, 0.1, 1, 1, 0.3, 0.3, false, true], []], + [false, "Animation 1", 0, true] + ], + [ + [314, -12, 0, 9, 9, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 356, + [], + [[false]], + [true, "smallball", 0, true] + ], + [ + [296, -24, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 41, + 17, + [0.7, 0.3, 0, 0, -1], + [[false, 2, false, 0.1, 1, 0.7, 0.3, 0.5, false, true], [], [false], [true]], + [false, "Animation 1", 0, true] + ], + [ + [283, -13, 0, 12, 12, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 9, + 102, + [], + [[false]], + [true, "rainBow", 0, true] + ], + [ + [145, -129, 0, 290, 125, 0, 0, [1, 1, 1, 1], 0.5, 0, 0, 0, []], + 92, + 109, + [], + [[true]], + [ + "LONG ARM +\nBIG POTA", + true, + 16, + 26, + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@°+=*$£€<>%", + "[[6,\" \"],[4,\"il.;:!'|\"],[6,\"j1,()[]`\"],[8,\"CEFILTZcfrtx-\\\"°+=*<>\"],[10,\"ABDGHJKNOPQRSUVXYabdeghknopqsuvyz023456789?_~£€\"],[12,\"MWmw#&\\/@%$\"]]", + 0.8, + 0, + -5, + 1, + 0, + 0, + true, + 1 + ] + ], + [ + [-128, 130, 0, 16, 10, 0, 0, [1, 1, 1, 0.1], 0.5, 0.5, 0, 0, []], + 15, + 110, + [0], + [], + [true, "Animation 1", 0, true] + ], + [ + [-85, 132, 0, 8, 41, 0, 0, [1, 1, 1, 0.55], 0.5, 0.5, 0, 0, []], + 33, + 111, + [], + [[false]], + [false, "Animation 1", 0, true] + ], + [ + [ + -106, + 145, + 0, + 12, + 33, + 0, + 0, + [1, 1, 1, 1], + 0.5833333333333334, + 0.48484848484848486, + 0, + 0, + [] + ], + 3, + 112, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + -59, + 121, + 0, + 9, + 12, + 0, + 0, + [1, 1, 1, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 5, + 113, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + -74, + 121, + 0, + 9, + 12, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.6666666666666666, + 0.8333333333333334, + 0, + 0, + [] + ], + 4, + 114, + [0, -1], + [[false, 2, false, 1, 0, 0, 0, 0.01, false, true]], + [true, "Animation 1", 0, true] + ], + [ + [ + -72, + 164, + 0, + 14, + 33, + 0, + 0, + [0.9647058823529412, 0.792156862745098, 0.6235294117647059, 1], + 0.5, + 1, + 0, + 0, + [] + ], + 1, + 115, + [0, -1, 0, 1, 0], + [[false, 0, true, 0, 1, 0, 0, 0, false, true], []], + [true, "Animation 1", 0, true] + ], + [ + [-107, 124, 0, 8, 9, 0, 0, [1, 1, 1, 1], 0.625, 0.4444444444444444, 0, 0, []], + 12, + 116, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [-96, 109, 0, 8, 13, 0, 0, [1, 1, 1, 1], 0.5, 0.46153846153846156, 0, 0, []], + 13, + 117, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [-108, 108, 0, 10, 10, 0, 0, [1, 1, 1, 1], 0.7, 0.5, 0, 0, []], + 10, + 118, + [0], + [[false]], + [true, "Animation 1", 0, true] + ], + [ + [ + -67, + 106, + 0, + 11, + 9, + 0, + 0, + [1, 1, 1, 1], + 0.7272727272727273, + 0.6666666666666666, + 0, + 0, + [] + ], + 11, + 120, + [0], + [[false]], + [true, "Animation 1", 1, true] + ], + [ + [28, 31, 0, 7, 22, 0, 0, [1, 1, 1, 1], 0.5, 0.13636363636363635, 0, 0, []], + 70, + 122, + [0, 0], + [[true]], + [true, "Animation 1", 0, true] + ], + [ + [-27, 107, 0, 7, 22, 0, 0, [1, 1, 1, 1], 0.5, 0.13636363636363635, 0, 0, []], + 95, + 127, + [0, 0], + [[false]], + [true, "Animation 1", 0, true] + ] + ], + [], + 0 + ] + ], + [], + [] + ], + [ + "intro", + 290, + 190, + true, + "introEvent", + 368582379828410, + [ + [ + "Layer 0", + 0, + 537390446862752, + true, + [94, 94, 94], + false, + 1, + 1, + 1, + false, + false, + 1, + 0, + 0, + [], + [], + 0 + ], + [ + "Top", + 1, + 407097048176507, + true, + [94, 94, 94], + true, + 1, + 1, + 1, + false, + false, + 1, + 0, + 0, + [ + [ + [145, 95, 0, 429, 265, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 58, + 349, + [], + [], + [true, "Default", 0, true] + ], + [ + [145, 95, 0, 16, 16, 0, 0, [1, 1, 1, 1], 0.5, 0.5, 0, 0, []], + 59, + 350, + [], + [], + [true, "Default", 0, true] + ], + [ + [145, 95, 0, 63, 21, 0, 0, [1, 1, 1, 1], 0.504, 0.512195, 0, 0, []], + 60, + 351, + [], + [[5, 0, 1, 0, 0, 0, 1, 0, true]], + [true, "Default", 0, true] + ] + ], + [], + 0 + ] + ], + [], + [] + ] + ], + [ + [ + "player1Event", + [ + [ + 3, + [true, "P1"], + false, + null, + 358572348294868, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [0]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 593242181083741, + 2, + [[-1, 21, null, 1, false, false, false, 876331500105820, null]], + [ + [ + 1, + 22, + "Physics", + 409178209044823, + 0, + null, + [ + [7, [1]], + [4, 4], + [0, [2]], + [0, [3]] + ] + ], + [ + 33, + 23, + "Pin", + 198612293472283, + 0, + null, + [ + [4, 1], + [3, 0] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 934715757434220, + 3, + [ + [ + 3, + 24, + null, + 0, + false, + false, + false, + 568852100026373, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 3, + 23, + "Pin", + 674756769711161, + 0, + null, + [ + [4, 1], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 413422421011319, + 4, + [ + [ + 5, + 24, + null, + 0, + false, + false, + false, + 715155388126363, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 5, + 23, + "Pin", + 458879077254011, + 0, + null, + [ + [4, 4], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 310986542063623, + 5, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 535869808332924, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 942268121220674, + 6, + [[1, 26, null, 0, false, false, false, 359129687405720, null, [[4, 8]]]], + [], + [ + [ + 0, + 0, + false, + null, + 305147711732010, + 7, + [[-1, 27, null, 0, false, false, false, 586190033743681, null]], + [], + [ + [ + 0, + 0, + false, + null, + 206375801539629, + 8, + [ + [ + 16, + 24, + null, + 0, + false, + false, + false, + 166025710802051, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 1, + 28, + "Physics", + 441575487316895, + 0, + null, + [ + [0, [6, [0, 1, "Physics", 29, false]]], + [0, [4]], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 151171419681710, + 9, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 450700339422295, + null, + [ + [8, 5], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 223432172925536, + 0, + null, + [ + [10, 2], + [7, [8, [4, 33], [3, "angularMinRND"], [3, "angularMaxRND"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 178109828076252, + 10, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 103331473935911, + null, + [ + [8, 2], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 758239535707998, + 0, + null, + [ + [10, 2], + [7, [9, [4, 33], [3, "angularMinRND"], [3, "angularMaxRND"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 165254138397271, + 11, + [ + [ + 1, + 24, + null, + 0, + false, + false, + false, + 649011108133010, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 254087149024058, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 1, + 32, + null, + 158780388755314, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + true, + null, + 590053134686673, + 12, + [ + [ + 1, + 34, + null, + 0, + false, + false, + false, + 792593073511633, + null, + [ + [8, 2], + [0, [7, [1, 1, 35, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 188956435583799, + 13, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 849793453035647, + null, + [ + [8, 4], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 924795088830873, + 0, + null, + [ + [10, 2], + [7, [10, [3, "wooble"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 911891623733351, + 14, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 883364628927467, + null, + [ + [8, 2], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 231415435354566, + 0, + null, + [ + [10, 2], + [7, [11, [3, "wooble"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 923406388592222, + 15, + [], + [ + [ + 1, + 36, + "Physics", + 284537715889920, + 0, + null, + [[0, [12, [2, 1, false, 2]]]] + ], + [ + 1, + 32, + null, + 187902777293220, + 0, + null, + [ + [10, 2], + [7, [13, [2, 1, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 785167247567145, + 16, + [ + [ + 1, + 38, + null, + 0, + false, + false, + false, + 671774110301813, + null, + [ + [0, [2]], + [0, [3]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 776200154825816, + 0, + null, + [ + [10, 2], + [7, [14, [2, 1, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 211203400027743, + 17, + [[-1, 39, null, 0, false, false, false, 978191480065098, null]], + [], + [ + [ + 0, + 0, + false, + null, + 992431531742961, + 18, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 382560494008840, + null, + [ + [8, 4], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 40, + null, + 579299796188734, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 184912169702021, + 19, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 376803049627626, + null, + [ + [8, 2], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 41, + null, + 213355593192181, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Control P1"], + false, + null, + 773979917705646, + 20, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [15]]]]], + [], + [ + [1, "upArrow", 0, 0, true, false, 711563083397915, false, 133], + [1, "speed", 0, 10, false, false, 257659733919073, false, 134], + [ + 0, + 0, + false, + null, + 552828642316883, + 21, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 625222148475293, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 993112425181474, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 588005299947371, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 416910238897218, + 22, + [ + [ + 70, + 24, + null, + 0, + false, + false, + false, + 938623608840545, + null, + [ + [10, 1], + [8, 0], + [7, [4]] + ] + ], + [ + 70, + 24, + null, + 0, + false, + false, + false, + 456398126002521, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 70, + 32, + null, + 343986069156247, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 725864200615173, + 23, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 566727334670668, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 946030165402141, + 24, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 820066421753963, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 899981654250281, + 25, + [ + [ + 103, + 24, + null, + 0, + false, + true, + false, + 497326274285660, + null, + [ + [10, 4], + [8, 0], + [7, [16]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 699546004154399, + 26, + [ + [ + 1, + 24, + null, + 0, + false, + false, + false, + 964421288177689, + null, + [ + [10, 4], + [8, 2], + [7, [17]] + ] + ] + ], + [ + [ + 1, + 42, + "Physics", + 803390203493892, + 0, + null, + [ + [0, [3]], + [0, [7, [1, 1, 31, false]]], + [0, [7, [1, 1, 35, false]]], + [7, [4]] + ] + ], + [ + 1, + 40, + null, + 847499969105707, + 0, + null, + [ + [10, 4], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 476016184282325, + 27, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 801612159035751, + null, + [ + [7, [18, [1, 70, 44, false]]], + [8, 2], + [7, [19]] + ] + ] + ], + [ + [ + 70, + 45, + null, + 364160292840915, + 0, + null, + [[0, [20, [1, 70, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 366724600043126, + 28, + [[-1, 39, null, 0, false, false, false, 434132272047745, null]], + [[70, 45, null, 718902415243162, 0, null, [[0, [19]]]]] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 244741237681839, + 29, + [[-1, 39, null, 0, false, false, false, 110959927832715, null]], + [ + [ + -1, + 46, + null, + 358265183925160, + 0, + null, + [ + [11, "upArrow"], + [7, [4]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 222212373381606, + 30, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 186819858179724, + null, + [ + [7, [18, [1, 70, 44, false]]], + [8, 4], + [7, [5]] + ] + ] + ], + [ + [ + 70, + 45, + null, + 424118570161266, + 0, + null, + [[0, [21, [1, 70, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 637981023839651, + 31, + [[-1, 39, null, 0, false, false, false, 259449078817219, null]], + [[70, 45, null, 733015764552323, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 698375956293112, + 32, + [[-1, 27, null, 0, false, false, false, 790461122024784, null]], + [], + [ + [ + 0, + 0, + false, + null, + 126757185240966, + 33, + [ + [ + 70, + 24, + null, + 0, + false, + false, + false, + 988026308086131, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 540052809311281, + 34, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 350783469060061, + null, + [ + [10, 4], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 770129760769719, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 103, + 32, + null, + 424474178445018, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 103, + 32, + null, + 579320114076581, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 103, + 32, + null, + 268370789274682, + 0, + null, + [ + [10, 4], + [7, [22]] + ] + ], + [ + 70, + 32, + null, + 304840646695695, + 0, + null, + [ + [10, 1], + [7, [4]] + ] + ], + [ + 70, + 32, + null, + 737954840892961, + 0, + null, + [ + [10, 0], + [7, [4]] + ] + ], + [103, 47, "Physics", 860647131988832, 0, null, [[3, 1]]], + [ + 103, + 48, + "Physics", + 748969112445451, + 0, + null, + [ + [0, [22]], + [0, [4]] + ] + ], + [ + 73, + 49, + "Physics", + 162684030326862, + 0, + null, + [ + [4, 103], + [3, 0] + ] + ], + [ + 103, + 50, + "Timer", + 455545033234776, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [24]] + ] + ], + [ + 103, + 51, + "Physics", + 189578024262261, + 0, + null, + [ + [0, [25, [1, 103, 52, false], [1, 70, 44, false], [4, 33]]], + [0, [26, [1, 103, 53, false], [1, 70, 44, false], [4, 33]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 702678280556386, + 35, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 687349995019924, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 173279213606157, + null, + [ + [11, "upArrow"], + [8, 0], + [7, [4]] + ] + ], + [1, 54, "Timer", 0, false, true, false, 781695763663376, null, [[1, [27]]]], + [ + 1, + 24, + null, + 0, + false, + false, + false, + 342407757546356, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + true, + false, + 153392122801074, + null, + [ + [10, 4], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 818248304575681, + 0, + null, + [ + [11, "upArrow"], + [7, [5]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 959178106646176, + 36, + [[-1, 27, null, 0, false, false, false, 564470550971583, null]], + [ + [ + 1, + 32, + null, + 271900900734864, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 1, + 32, + null, + 649749676458283, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ], + [ + 1, + 50, + "Timer", + 225983661996222, + 0, + null, + [ + [0, [28]], + [3, 0], + [1, [27]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 157299684838858, + 37, + [ + [1, 26, null, 0, false, false, false, 345424722146389, null, [[4, 8]]] + ], + [ + [ + 1, + 42, + "Physics", + 655330686867590, + 0, + null, + [ + [0, [29]], + [0, [7, [1, 1, 31, false]]], + [0, [7, [1, 1, 35, false]]], + [7, [4]] + ] + ], + [ + 1, + 51, + "Physics", + 310998775689231, + 0, + null, + [ + [0, [4]], + [0, [4]] + ] + ], + [1, 36, "Physics", 387692832752883, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 181977044853871, + 38, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 103803022414921, + null, + [ + [8, 5], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 108129704733831, + 0, + null, + [ + [10, 2], + [7, [30, [1, 1, 52, false], [1, 1, 31, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 849925058426814, + 39, + [ + [ + 1, + 30, + null, + 0, + false, + false, + false, + 726362170667594, + null, + [ + [8, 2], + [0, [7, [1, 1, 31, false]]] + ] + ] + ], + [ + [ + 1, + 32, + null, + 256485207683431, + 0, + null, + [ + [10, 2], + [7, [30, [1, 1, 52, false], [1, 1, 31, false]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Skin P1"], + false, + null, + 151747921381704, + 40, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [31]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 127523010153940, + 41, + [[-1, 21, null, 1, false, false, false, 667353918404782, null]], + [], + [ + [ + 0, + 0, + false, + null, + 771370272525417, + 42, + [ + [ + 11, + 24, + null, + 0, + false, + false, + false, + 362793171225709, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 11, + 23, + "Pin", + 310106108068067, + 0, + null, + [ + [4, 4], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 157410180999361, + 43, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 569695464761998, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 10, + 23, + "Pin", + 631853399834632, + 0, + null, + [ + [4, 1], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 449022685470371, + 44, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 253848280777568, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 12, + 23, + "Pin", + 603104718238034, + 0, + null, + [ + [4, 1], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 314429908935790, + 45, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 492487144313120, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 13, + 23, + "Pin", + 687142109383193, + 0, + null, + [ + [4, 1], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 827856178654243, + 46, + [ + [ + 15, + 24, + null, + 0, + false, + false, + false, + 767973367645181, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [15, 55, null, 818111186263286, 0, null, [[0, [32, [1, 1, 31, false]]]]], + [ + 15, + 56, + null, + 139248267781031, + 0, + null, + [[0, [33, [4, 57], [4, 58], [1, 15, 53, false], [1, 1, 53, false]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "Arm P1"], + false, + null, + 331386137542249, + 47, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [34]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 244364735059107, + 48, + [], + [ + [ + 70, + 59, + null, + 859827393848003, + 0, + null, + [ + [0, [35, [1, 1, 31, false]]], + [0, [35, [1, 1, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 824947074579142, + 49, + [], + [ + [ + 72, + 59, + null, + 979014102818189, + 0, + null, + [ + [0, [7, [1, 70, 31, false]]], + [0, [7, [1, 70, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 566945510704311, + 50, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 216936724142084, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 608609434004608, + 51, + [ + [103, 60, null, 0, false, false, true, 445444768562506, null, [[4, 72]]], + [ + 103, + 34, + null, + 0, + false, + false, + false, + 558487793936839, + null, + [ + [8, 5], + [0, [36]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 383299320133560, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 61, + null, + 824871863120842, + 0, + null, + [ + [3, 1], + [4, 70] + ] + ], + [103, 47, "Physics", 506458898654824, 0, null, [[3, 0]]], + [ + 103, + 32, + null, + 718870571754616, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ], + [ + 103, + 32, + null, + 669807522279261, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 885981560619190, + 52, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 694392440941609, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 591152669184461, + null, + [ + [10, 4], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 528000253512320, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 419027740670923, + 0, + null, + [ + [0, [37, [1, 103, 52, false], [1, 70, 31, false], [4, 37]]], + [0, [37, [1, 103, 53, false], [1, 70, 35, false], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 606516460338740, + 53, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 640301020375675, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 614188342817215, + null, + [ + [10, 4], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 299151434114822, + 0, + null, + [ + [0, [7, [1, 70, 31, false]]], + [0, [7, [1, 70, 35, false]]] + ] + ], + [ + 9, + 59, + null, + 288647770106390, + 0, + null, + [ + [0, [7, [1, 70, 31, false]]], + [0, [7, [1, 70, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 527325493904652, + 54, + [ + [70, 60, null, 0, false, false, true, 338945328294829, null, [[4, 103]]], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 636998986120047, + null, + [ + [10, 4], + [8, 1], + [7, [16]] + ] + ] + ], + [ + [-2, "createBallFX2", null, 996395151710084, 0, null], + [ + 103, + 32, + null, + 808024084369922, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ], + [ + 103, + 32, + null, + 136090403883421, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ], + [ + 9, + 61, + null, + 756101454638470, + 0, + null, + [ + [3, 1], + [4, 70] + ] + ], + [103, 47, "Physics", 216582909048591, 0, null, [[3, 0]]], + [ + 70, + 32, + null, + 856285406077911, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "player2Event", + [ + [ + 3, + [true, "P2"], + false, + null, + 896634254671890, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [38]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 512811263754309, + 2, + [[-1, 21, null, 1, false, false, false, 411972389090384, null]], + [ + [ + 35, + 22, + "Physics", + 357766487986785, + 0, + null, + [ + [7, [1]], + [4, 34], + [0, [2]], + [0, [3]] + ] + ], + [ + 36, + 23, + "Pin", + 319792672615968, + 0, + null, + [ + [4, 35], + [3, 0] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 239200076620084, + 3, + [ + [ + 3, + 24, + null, + 0, + false, + false, + false, + 877339222966090, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 3, + 23, + "Pin", + 400101417523117, + 0, + null, + [ + [4, 35], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 537953268985936, + 4, + [ + [ + 5, + 24, + null, + 0, + false, + false, + false, + 590821952865849, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 5, + 23, + "Pin", + 681424255194672, + 0, + null, + [ + [4, 34], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 238783277314030, + 5, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 544855072116241, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 534354160535886, + 6, + [[35, 26, null, 0, false, false, false, 311518982445855, null, [[4, 8]]]], + [], + [ + [ + 0, + 0, + false, + null, + 342994014825293, + 7, + [[-1, 27, null, 0, false, false, false, 294199675710454, null]], + [], + [ + [ + 0, + 0, + false, + null, + 112629231020164, + 8, + [ + [ + 16, + 24, + null, + 0, + false, + false, + false, + 189819815374955, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 35, + 28, + "Physics", + 320702731480206, + 0, + null, + [ + [0, [6, [0, 35, "Physics", 29, false]]], + [0, [4]], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 660019001959412, + 9, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 797407699357552, + null, + [ + [8, 5], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 781603939088672, + 0, + null, + [ + [10, 2], + [7, [8, [4, 33], [3, "angularMinRND"], [3, "angularMaxRND"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 528600789421696, + 10, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 576279211560421, + null, + [ + [8, 2], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 301059651802142, + 0, + null, + [ + [10, 2], + [7, [9, [4, 33], [3, "angularMinRND"], [3, "angularMaxRND"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 705825555079318, + 11, + [ + [ + 35, + 24, + null, + 0, + false, + false, + false, + 311665551288700, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 241118272886853, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 35, + 32, + null, + 951228062678946, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + true, + null, + 390225270213239, + 12, + [ + [ + 35, + 34, + null, + 0, + false, + false, + false, + 855129736926910, + null, + [ + [8, 2], + [0, [7, [1, 35, 35, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 365334633207281, + 13, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 128873044694607, + null, + [ + [8, 4], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 602011095200415, + 0, + null, + [ + [10, 2], + [7, [10, [3, "wooble"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 334044447391593, + 14, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 248604885335862, + null, + [ + [8, 2], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 206408304263411, + 0, + null, + [ + [10, 2], + [7, [11, [3, "wooble"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 573553129778265, + 15, + [], + [ + [ + 35, + 36, + "Physics", + 818278922332092, + 0, + null, + [[0, [12, [2, 35, false, 2]]]] + ], + [ + 35, + 32, + null, + 776370781535488, + 0, + null, + [ + [10, 2], + [7, [13, [2, 35, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 876543525777075, + 16, + [ + [ + 35, + 38, + null, + 0, + false, + false, + false, + 278266618906932, + null, + [ + [0, [2]], + [0, [3]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 718146093550400, + 0, + null, + [ + [10, 2], + [7, [14, [2, 35, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 251447515767127, + 17, + [[-1, 39, null, 0, false, false, false, 502090644484524, null]], + [], + [ + [ + 0, + 0, + false, + null, + 321348445265055, + 18, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 609994326198657, + null, + [ + [8, 4], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 40, + null, + 614973282116001, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 389244103180077, + 19, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 854482220419897, + null, + [ + [8, 2], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 41, + null, + 599599901369964, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Control P2"], + false, + null, + 245733731544468, + 20, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [39]]]]], + [], + [ + [1, "upArrow", 0, 0, true, false, 590489090194202, false, 133], + [1, "speed", 0, 10, false, false, 927675595273087, false, 134], + [ + 0, + 0, + false, + null, + 814806773700711, + 21, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 316888844087322, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 400203032188409, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 827745828226835, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 402189739575292, + 22, + [ + [ + 77, + 24, + null, + 0, + false, + false, + false, + 859447110050121, + null, + [ + [10, 1], + [8, 0], + [7, [4]] + ] + ], + [ + 77, + 24, + null, + 0, + false, + false, + false, + 990691255126142, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 77, + 32, + null, + 721818407966026, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 505156824463730, + 23, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 446095170211297, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 215370243112877, + 24, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 248625076631821, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 726520838634829, + 25, + [ + [ + 103, + 24, + null, + 0, + false, + true, + false, + 965319924352234, + null, + [ + [10, 4], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 407389824715472, + 26, + [ + [ + 35, + 24, + null, + 0, + false, + false, + false, + 890602085666595, + null, + [ + [10, 4], + [8, 2], + [7, [17]] + ] + ] + ], + [ + [ + 35, + 42, + "Physics", + 133223615908546, + 0, + null, + [ + [0, [3]], + [0, [7, [1, 35, 31, false]]], + [0, [7, [1, 35, 35, false]]], + [7, [4]] + ] + ], + [ + 35, + 40, + null, + 370496424755052, + 0, + null, + [ + [10, 4], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 432236192874141, + 27, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 250573861537864, + null, + [ + [7, [18, [1, 77, 44, false]]], + [8, 2], + [7, [19]] + ] + ] + ], + [ + [ + 77, + 45, + null, + 914962511448187, + 0, + null, + [[0, [20, [1, 77, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 635377763487932, + 28, + [[-1, 39, null, 0, false, false, false, 264613839996183, null]], + [[77, 45, null, 377804293567135, 0, null, [[0, [19]]]]] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 684950945399562, + 29, + [[-1, 39, null, 0, false, false, false, 956737540586373, null]], + [ + [ + -1, + 46, + null, + 352895211063821, + 0, + null, + [ + [11, "upArrow"], + [7, [4]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 556037113895032, + 30, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 740386884752570, + null, + [ + [7, [18, [1, 77, 44, false]]], + [8, 4], + [7, [5]] + ] + ] + ], + [ + [ + 77, + 45, + null, + 160128354118889, + 0, + null, + [[0, [21, [1, 77, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 518640631432555, + 31, + [[-1, 39, null, 0, false, false, false, 640153404631440, null]], + [[77, 45, null, 666612892071790, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 648261011665779, + 32, + [[-1, 27, null, 0, false, false, false, 954782657597247, null]], + [], + [ + [ + 0, + 0, + false, + null, + 939299236634509, + 33, + [ + [ + 77, + 24, + null, + 0, + false, + false, + false, + 339454981468828, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 557125470496345, + 34, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 632981993276414, + null, + [ + [10, 4], + [8, 0], + [7, [16]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 581987610468529, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 103, + 32, + null, + 628040187892727, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 77, + 32, + null, + 702914687832068, + 0, + null, + [ + [10, 1], + [7, [4]] + ] + ], + [ + 77, + 32, + null, + 175527426595799, + 0, + null, + [ + [10, 0], + [7, [4]] + ] + ], + [ + 103, + 32, + null, + 572137664247287, + 0, + null, + [ + [10, 4], + [7, [22]] + ] + ], + [103, 47, "Physics", 966338701045987, 0, null, [[3, 1]]], + [ + 103, + 32, + null, + 632287520117741, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 103, + 48, + "Physics", + 991775107574732, + 0, + null, + [ + [0, [22]], + [0, [4]] + ] + ], + [ + 73, + 49, + "Physics", + 738653719466911, + 0, + null, + [ + [4, 103], + [3, 0] + ] + ], + [ + 103, + 50, + "Timer", + 926862856101145, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [24]] + ] + ], + [ + 103, + 51, + "Physics", + 337627941203402, + 0, + null, + [ + [0, [25, [1, 103, 52, false], [1, 77, 44, false], [4, 33]]], + [0, [26, [1, 103, 53, false], [1, 77, 44, false], [4, 33]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 616908348390767, + 35, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 669724380988829, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 382381163460512, + null, + [ + [11, "upArrow"], + [8, 0], + [7, [4]] + ] + ], + [35, 54, "Timer", 0, false, true, false, 648985787960226, null, [[1, [27]]]], + [ + 35, + 24, + null, + 0, + false, + false, + false, + 109890889448089, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + true, + false, + 791472912811160, + null, + [ + [10, 4], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 697267730353986, + 0, + null, + [ + [11, "upArrow"], + [7, [5]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 613432754696780, + 36, + [[-1, 27, null, 0, false, false, false, 438405668872728, null]], + [ + [ + 35, + 32, + null, + 665807643862225, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 35, + 32, + null, + 957153843481735, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ], + [ + 35, + 50, + "Timer", + 664868530532041, + 0, + null, + [ + [0, [28]], + [3, 0], + [1, [27]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 874208867659848, + 37, + [ + [ + 35, + 26, + null, + 0, + false, + false, + false, + 738853261323931, + null, + [[4, 8]] + ] + ], + [ + [ + 35, + 42, + "Physics", + 506139320970948, + 0, + null, + [ + [0, [29]], + [0, [7, [1, 35, 31, false]]], + [0, [7, [1, 35, 35, false]]], + [7, [4]] + ] + ], + [ + 35, + 51, + "Physics", + 287494865638416, + 0, + null, + [ + [0, [4]], + [0, [4]] + ] + ], + [35, 36, "Physics", 973233553548550, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 751560040463591, + 38, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 112671360590332, + null, + [ + [8, 5], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 600049787022092, + 0, + null, + [ + [10, 2], + [7, [30, [1, 35, 52, false], [1, 35, 31, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 259167491917570, + 39, + [ + [ + 35, + 30, + null, + 0, + false, + false, + false, + 765466087036517, + null, + [ + [8, 2], + [0, [7, [1, 35, 31, false]]] + ] + ] + ], + [ + [ + 35, + 32, + null, + 148768171420280, + 0, + null, + [ + [10, 2], + [7, [30, [1, 35, 52, false], [1, 35, 31, false]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Skin P2"], + false, + null, + 128404258333510, + 40, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [40]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 591837796125362, + 41, + [[-1, 21, null, 1, false, false, false, 238877609676214, null]], + [], + [ + [ + 0, + 0, + false, + null, + 614540511751931, + 42, + [ + [ + 11, + 24, + null, + 0, + false, + false, + false, + 519348469460962, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 11, + 23, + "Pin", + 303926236419256, + 0, + null, + [ + [4, 34], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 141536081437670, + 43, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 394426183762051, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 10, + 23, + "Pin", + 986254334827111, + 0, + null, + [ + [4, 35], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 676055081340688, + 44, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 701233058489297, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 12, + 23, + "Pin", + 243632957322074, + 0, + null, + [ + [4, 35], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 895485936138289, + 45, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 764875140561735, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 13, + 23, + "Pin", + 817650586474518, + 0, + null, + [ + [4, 35], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 487002227161357, + 46, + [ + [ + 15, + 24, + null, + 0, + false, + false, + false, + 908849471205933, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [15, 55, null, 227090868381008, 0, null, [[0, [32, [1, 35, 31, false]]]]], + [ + 15, + 56, + null, + 822302980882280, + 0, + null, + [[0, [33, [4, 57], [4, 58], [1, 15, 53, false], [1, 35, 53, false]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "Arm P2"], + false, + null, + 762782988296775, + 47, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [41]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 386629780104495, + 48, + [], + [ + [ + 77, + 59, + null, + 781819198793230, + 0, + null, + [ + [0, [35, [1, 35, 31, false]]], + [0, [35, [1, 35, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 938857600938378, + 49, + [], + [ + [ + 80, + 59, + null, + 379906525226908, + 0, + null, + [ + [0, [7, [1, 77, 31, false]]], + [0, [7, [1, 77, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 367868440528332, + 50, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 422140019735445, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 938299090838197, + 51, + [ + [103, 60, null, 0, false, false, true, 488739205264261, null, [[4, 80]]], + [ + 103, + 34, + null, + 0, + false, + false, + false, + 203076552141335, + null, + [ + [8, 5], + [0, [36]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 643335018981502, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 61, + null, + 233546873141707, + 0, + null, + [ + [3, 1], + [4, 77] + ] + ], + [ + 103, + 32, + null, + 654007456270349, + 0, + null, + [ + [10, 4], + [7, [16]] + ] + ], + [103, 47, "Physics", 822221422169706, 0, null, [[3, 0]]], + [ + 103, + 32, + null, + 408705758478378, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 199974876125198, + 52, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 698785503610947, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 103585912514824, + null, + [ + [10, 4], + [8, 0], + [7, [16]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 278823729298252, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 863119186323297, + 0, + null, + [ + [0, [37, [1, 103, 52, false], [1, 77, 31, false], [4, 37]]], + [0, [37, [1, 103, 53, false], [1, 77, 35, false], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 603210034122569, + 53, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 948575964015892, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 919663696784687, + null, + [ + [10, 4], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 412038971427577, + 0, + null, + [ + [0, [7, [1, 77, 31, false]]], + [0, [7, [1, 77, 35, false]]] + ] + ], + [ + 9, + 59, + null, + 504613425875611, + 0, + null, + [ + [0, [7, [1, 77, 31, false]]], + [0, [7, [1, 77, 35, false]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 235388138741847, + 54, + [[-1, 27, null, 0, false, false, false, 243762513011615, null]], + [[-2, "createBallFX", null, 954421111616884, 0, null]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 562275679529556, + 55, + [ + [77, 60, null, 0, false, false, true, 913286584477878, null, [[4, 103]]], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 406826044130612, + null, + [ + [10, 4], + [8, 1], + [7, [4]] + ] + ] + ], + [ + [-2, "createBallFX2", null, 417837845777917, 0, null], + [ + 103, + 32, + null, + 285492343280015, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ], + [ + 9, + 61, + null, + 886783872712883, + 0, + null, + [ + [3, 1], + [4, 77] + ] + ], + [ + 103, + 32, + null, + 547959236494778, + 0, + null, + [ + [10, 4], + [7, [16]] + ] + ], + [103, 47, "Physics", 772749574680982, 0, null, [[3, 0]]], + [ + 77, + 32, + null, + 280210565162702, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "player3Event", + [ + [ + 3, + [true, "P3"], + false, + null, + 382494310240054, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [42]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 750940904585247, + 2, + [[-1, 21, null, 1, false, false, false, 960198116291388, null]], + [ + [ + 30, + 22, + "Physics", + 915576772409089, + 0, + null, + [ + [7, [1]], + [4, 29], + [0, [2]], + [0, [3]] + ] + ], + [ + 32, + 23, + "Pin", + 596237907613739, + 0, + null, + [ + [4, 30], + [3, 0] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 406554981337087, + 3, + [ + [ + 3, + 24, + null, + 0, + false, + false, + false, + 953351399566515, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 3, + 23, + "Pin", + 875322160757097, + 0, + null, + [ + [4, 30], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 230304047653791, + 4, + [ + [ + 5, + 24, + null, + 0, + false, + false, + false, + 721497225146556, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 5, + 23, + "Pin", + 206261383806501, + 0, + null, + [ + [4, 29], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 495465135205289, + 5, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 436570882246859, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 162831961513535, + 6, + [[30, 26, null, 0, false, false, false, 688914432562100, null, [[4, 8]]]], + [], + [ + [ + 0, + 0, + false, + null, + 391179812726916, + 7, + [[-1, 27, null, 0, false, false, false, 286870797895315, null]], + [], + [ + [ + 0, + 0, + false, + null, + 642074166115191, + 8, + [ + [ + 16, + 24, + null, + 0, + false, + false, + false, + 612913020114458, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 30, + 28, + "Physics", + 974052011620780, + 0, + null, + [ + [0, [6, [0, 30, "Physics", 29, false]]], + [0, [4]], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 452498062896228, + 9, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 359754945225867, + null, + [ + [8, 5], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 669819915661034, + 0, + null, + [ + [10, 2], + [ + 7, + [ + 44, + [4, 33], + [3, "angularMinRND"], + [3, "angularMaxRND"], + [2, 30, false, 1] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 624334190989661, + 10, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 398042214327226, + null, + [ + [8, 2], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 284855281285836, + 0, + null, + [ + [10, 2], + [ + 7, + [ + 45, + [4, 33], + [3, "angularMinRND"], + [3, "angularMaxRND"], + [2, 30, false, 1] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 726912204335243, + 11, + [], + [ + [ + 30, + 32, + null, + 171015972048121, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 660856117128697, + 12, + [ + [ + 30, + 24, + null, + 0, + false, + false, + false, + 669915714811043, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 230532593851399, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 30, + 32, + null, + 474116906570215, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + true, + null, + 775070453295281, + 13, + [ + [ + 30, + 34, + null, + 0, + false, + false, + false, + 990666682436560, + null, + [ + [8, 2], + [0, [7, [1, 30, 35, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 469878728707629, + 14, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 902604571855623, + null, + [ + [8, 4], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 204810005300736, + 0, + null, + [ + [10, 2], + [7, [10, [3, "wooble"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 527961531609936, + 15, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 843435028112462, + null, + [ + [8, 2], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 233146996535263, + 0, + null, + [ + [10, 2], + [7, [11, [3, "wooble"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 355005122068944, + 16, + [], + [ + [ + 30, + 36, + "Physics", + 472016454659848, + 0, + null, + [[0, [12, [2, 30, false, 2]]]] + ], + [ + 30, + 32, + null, + 569998492901421, + 0, + null, + [ + [10, 2], + [7, [13, [2, 30, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 413112317691649, + 17, + [ + [ + 30, + 38, + null, + 0, + false, + false, + false, + 415986577895094, + null, + [ + [0, [2]], + [0, [3]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 337386629368027, + 0, + null, + [ + [10, 2], + [7, [14, [2, 30, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 168904531703449, + 18, + [[-1, 39, null, 0, false, false, false, 946799459563348, null]], + [], + [ + [ + 0, + 0, + false, + null, + 539764860680307, + 19, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 444250712297719, + null, + [ + [8, 4], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 40, + null, + 864135090015810, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 338316626035163, + 20, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 893459074143325, + null, + [ + [8, 2], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 41, + null, + 839223722596045, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Control P3"], + false, + null, + 965517901142642, + 21, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [46]]]]], + [], + [ + [1, "upArrow", 0, 0, true, false, 267837901477967, false, 133], + [1, "speed", 0, -10, false, false, 681621315302548, false, 134], + [ + 0, + 0, + false, + null, + 959982859373032, + 22, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 355341747701641, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 588645784775553, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 440308707093738, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 776863589070610, + 23, + [ + [ + 78, + 24, + null, + 0, + false, + false, + false, + 420594838579290, + null, + [ + [10, 1], + [8, 0], + [7, [4]] + ] + ], + [ + 78, + 24, + null, + 0, + false, + false, + false, + 773277187268136, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 78, + 32, + null, + 113382576599862, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 614108099515919, + 24, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 121901276770429, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 708787583945531, + 25, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 944623729759648, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 938692439628333, + 26, + [ + [ + 103, + 24, + null, + 0, + false, + true, + false, + 585533481272226, + null, + [ + [10, 4], + [8, 0], + [7, [47]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 686639762964698, + 27, + [ + [ + 30, + 24, + null, + 0, + false, + false, + false, + 874769129709949, + null, + [ + [10, 4], + [8, 2], + [7, [17]] + ] + ] + ], + [ + [ + 30, + 42, + "Physics", + 196364127719535, + 0, + null, + [ + [0, [3]], + [0, [7, [1, 30, 31, false]]], + [0, [7, [1, 30, 35, false]]], + [7, [4]] + ] + ], + [ + 30, + 40, + null, + 585884931085237, + 0, + null, + [ + [10, 4], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 845085860845074, + 28, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 666441162784853, + null, + [ + [7, [48, [4, 62], [1, 78, 44, false]]], + [8, 4], + [7, [4]] + ] + ] + ], + [ + [ + 78, + 45, + null, + 837908092068164, + 0, + null, + [[0, [20, [1, 78, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 347270919383244, + 29, + [[-1, 39, null, 0, false, false, false, 230449727598999, null]], + [[78, 45, null, 529009324150274, 0, null, [[0, [19]]]]] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 444358040598881, + 30, + [[-1, 39, null, 0, false, false, false, 190745137620572, null]], + [ + [ + -1, + 46, + null, + 280986605905812, + 0, + null, + [ + [11, "upArrow"], + [7, [4]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 901743096349906, + 31, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 972440935541931, + null, + [ + [7, [18, [1, 78, 44, false]]], + [8, 4], + [7, [5]] + ] + ] + ], + [ + [ + 78, + 45, + null, + 109921897093305, + 0, + null, + [[0, [21, [1, 78, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 874298186925040, + 32, + [[-1, 39, null, 0, false, false, false, 756981585212016, null]], + [[78, 45, null, 506663439531300, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 955404500653853, + 33, + [[-1, 27, null, 0, false, false, false, 903790730841603, null]], + [], + [ + [ + 0, + 0, + false, + null, + 607054488240373, + 34, + [ + [ + 78, + 24, + null, + 0, + false, + false, + false, + 441599822056034, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 606011255588960, + 35, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 316845845258517, + null, + [ + [10, 4], + [8, 0], + [7, [43]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 316250698295896, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 103, + 32, + null, + 148066819742764, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 78, + 32, + null, + 974367702035979, + 0, + null, + [ + [10, 1], + [7, [4]] + ] + ], + [ + 78, + 32, + null, + 120198909751088, + 0, + null, + [ + [10, 0], + [7, [4]] + ] + ], + [ + 103, + 32, + null, + 627040990025436, + 0, + null, + [ + [10, 4], + [7, [22]] + ] + ], + [103, 47, "Physics", 148795715372760, 0, null, [[3, 1]]], + [ + 103, + 32, + null, + 327774446121542, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 103, + 48, + "Physics", + 183301059335320, + 0, + null, + [ + [0, [22]], + [0, [4]] + ] + ], + [ + 71, + 49, + "Physics", + 285226175639733, + 0, + null, + [ + [4, 103], + [3, 0] + ] + ], + [ + 103, + 50, + "Timer", + 811041189041269, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [24]] + ] + ], + [ + 103, + 51, + "Physics", + 112830425970485, + 0, + null, + [ + [ + 0, + [ + 49, + [1, 103, 52, false], + [4, 62], + [1, 78, 44, false], + [4, 33] + ] + ], + [ + 0, + [ + 50, + [1, 103, 53, false], + [4, 62], + [1, 78, 44, false], + [4, 33] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 711176531458092, + 36, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 878585482645329, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 159256985765861, + null, + [ + [11, "upArrow"], + [8, 0], + [7, [4]] + ] + ], + [30, 54, "Timer", 0, false, true, false, 633393014221717, null, [[1, [27]]]], + [ + 30, + 24, + null, + 0, + false, + false, + false, + 183872880779724, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + true, + false, + 767332008668482, + null, + [ + [10, 4], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 337681442884394, + 0, + null, + [ + [11, "upArrow"], + [7, [5]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 261883133179083, + 37, + [[-1, 27, null, 0, false, false, false, 283076242058296, null]], + [ + [ + 30, + 32, + null, + 545069087730385, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 30, + 32, + null, + 432362978513289, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ], + [ + 30, + 50, + "Timer", + 583332434199312, + 0, + null, + [ + [0, [28]], + [3, 0], + [1, [27]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 957415264246228, + 38, + [ + [ + 30, + 26, + null, + 0, + false, + false, + false, + 803886958644461, + null, + [[4, 8]] + ] + ], + [ + [ + 30, + 42, + "Physics", + 235745116468038, + 0, + null, + [ + [0, [29]], + [0, [7, [1, 30, 31, false]]], + [0, [7, [1, 30, 35, false]]], + [7, [4]] + ] + ], + [ + 30, + 51, + "Physics", + 567435188932319, + 0, + null, + [ + [0, [4]], + [0, [4]] + ] + ], + [30, 36, "Physics", 872530368881234, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 976573415600737, + 39, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 717989386211116, + null, + [ + [8, 5], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 382906512822869, + 0, + null, + [ + [10, 2], + [7, [30, [1, 30, 52, false], [1, 30, 31, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 552479425602948, + 40, + [ + [ + 30, + 30, + null, + 0, + false, + false, + false, + 525172195341378, + null, + [ + [8, 2], + [0, [7, [1, 30, 31, false]]] + ] + ] + ], + [ + [ + 30, + 32, + null, + 296328330506953, + 0, + null, + [ + [10, 2], + [7, [30, [1, 30, 52, false], [1, 30, 31, false]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Skin P3"], + false, + null, + 168717394599589, + 41, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [51]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 292576625897886, + 42, + [[-1, 21, null, 1, false, false, false, 339028710976708, null]], + [], + [ + [ + 0, + 0, + false, + null, + 843181496733442, + 43, + [ + [ + 11, + 24, + null, + 0, + false, + false, + false, + 895817254682155, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 11, + 23, + "Pin", + 918071152875969, + 0, + null, + [ + [4, 29], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 152800731014898, + 44, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 561775432605314, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 10, + 23, + "Pin", + 441309693245052, + 0, + null, + [ + [4, 30], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 324650356231595, + 45, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 415673189605104, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 12, + 23, + "Pin", + 841002527945159, + 0, + null, + [ + [4, 30], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 372794028518337, + 46, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 166078580131082, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 13, + 23, + "Pin", + 587423019540421, + 0, + null, + [ + [4, 30], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 249597469668388, + 47, + [ + [ + 15, + 24, + null, + 0, + false, + false, + false, + 914181172660330, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [15, 55, null, 104320334916004, 0, null, [[0, [32, [1, 30, 31, false]]]]], + [ + 15, + 56, + null, + 233830842879330, + 0, + null, + [[0, [33, [4, 57], [4, 58], [1, 15, 53, false], [1, 30, 53, false]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "Arm P3"], + false, + null, + 161671481474845, + 48, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [52]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 281081181704851, + 49, + [], + [ + [ + 78, + 59, + null, + 674254543802347, + 0, + null, + [ + [0, [35, [1, 30, 31, false]]], + [0, [35, [1, 30, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 878395293571307, + 50, + [], + [ + [ + 81, + 59, + null, + 293995943155926, + 0, + null, + [ + [0, [7, [1, 78, 31, false]]], + [0, [7, [1, 78, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 421934924615076, + 51, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 279466280364396, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 331829015607001, + 52, + [ + [103, 60, null, 0, false, false, true, 186312653464189, null, [[4, 81]]], + [ + 103, + 34, + null, + 0, + false, + false, + false, + 607891218751380, + null, + [ + [8, 5], + [0, [36]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 157763983825333, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 61, + null, + 728431331339843, + 0, + null, + [ + [3, 1], + [4, 78] + ] + ], + [ + 103, + 32, + null, + 771810212373293, + 0, + null, + [ + [10, 4], + [7, [43]] + ] + ], + [103, 47, "Physics", 525565664840656, 0, null, [[3, 0]]], + [ + 103, + 32, + null, + 381563481664290, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 195488097128689, + 53, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 770243744968052, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 609051724160881, + null, + [ + [10, 4], + [8, 0], + [7, [43]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 914571054591676, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 143764749590261, + 0, + null, + [ + [0, [37, [1, 103, 52, false], [1, 78, 31, false], [4, 37]]], + [0, [37, [1, 103, 53, false], [1, 78, 35, false], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 516970325463967, + 54, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 593506551203960, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 829623238208075, + null, + [ + [10, 4], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 119626934885700, + 0, + null, + [ + [0, [7, [1, 78, 31, false]]], + [0, [7, [1, 78, 35, false]]] + ] + ], + [ + 9, + 59, + null, + 348693988501994, + 0, + null, + [ + [0, [7, [1, 78, 31, false]]], + [0, [7, [1, 78, 35, false]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 491747086550335, + 55, + [[-1, 27, null, 0, false, false, false, 588903185419725, null]], + [[-2, "createBallFX", null, 900491484654707, 0, null]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 297649759483332, + 56, + [ + [78, 60, null, 0, false, false, true, 787984796704368, null, [[4, 103]]], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 357482818502548, + null, + [ + [10, 4], + [8, 1], + [7, [47]] + ] + ] + ], + [ + [-2, "createBallFX2", null, 559317400784783, 0, null], + [ + 103, + 32, + null, + 900802734673389, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ], + [ + 9, + 61, + null, + 662750955682754, + 0, + null, + [ + [3, 1], + [4, 78] + ] + ], + [ + 103, + 32, + null, + 254612438082581, + 0, + null, + [ + [10, 4], + [7, [43]] + ] + ], + [103, 47, "Physics", 127368410224155, 0, null, [[3, 0]]], + [ + 78, + 32, + null, + 171338426099320, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "player4Event", + [ + [ + 3, + [true, "P4"], + false, + null, + 239777695973482, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [53]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 879559369591710, + 2, + [[-1, 21, null, 1, false, false, false, 101859967894693, null]], + [ + [ + 38, + 22, + "Physics", + 709089572764602, + 0, + null, + [ + [7, [1]], + [4, 37], + [0, [2]], + [0, [3]] + ] + ], + [ + 39, + 23, + "Pin", + 260866249492630, + 0, + null, + [ + [4, 38], + [3, 0] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 799694803628145, + 3, + [ + [ + 3, + 24, + null, + 0, + false, + false, + false, + 186836710195965, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 3, + 23, + "Pin", + 225521508513722, + 0, + null, + [ + [4, 38], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 741884321547409, + 4, + [ + [ + 5, + 24, + null, + 0, + false, + false, + false, + 427644447047929, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 5, + 23, + "Pin", + 561791388047577, + 0, + null, + [ + [4, 37], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 906844690462855, + 5, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 283907284543056, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 150630219451562, + 6, + [[38, 26, null, 0, false, false, false, 177320621937602, null, [[4, 8]]]], + [], + [ + [ + 0, + 0, + false, + null, + 976630736613048, + 7, + [[-1, 27, null, 0, false, false, false, 238599270962967, null]], + [], + [ + [ + 0, + 0, + false, + null, + 913040240772507, + 8, + [ + [ + 16, + 24, + null, + 0, + false, + false, + false, + 146958891991263, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 38, + 28, + "Physics", + 672687322431948, + 0, + null, + [ + [0, [6, [0, 38, "Physics", 29, false]]], + [0, [4]], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 417276569859176, + 9, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 850589808583195, + null, + [ + [8, 5], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 835107657904450, + 0, + null, + [ + [10, 2], + [ + 7, + [ + 44, + [4, 33], + [3, "angularMinRND"], + [3, "angularMaxRND"], + [2, 38, false, 1] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 347072213290423, + 10, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 397125928039462, + null, + [ + [8, 2], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 478632986676811, + 0, + null, + [ + [10, 2], + [ + 7, + [ + 45, + [4, 33], + [3, "angularMinRND"], + [3, "angularMaxRND"], + [2, 38, false, 1] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 648129386987789, + 11, + [], + [ + [ + 38, + 32, + null, + 212996325180503, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 773796023167544, + 12, + [ + [ + 38, + 24, + null, + 0, + false, + false, + false, + 546832178992482, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 487610729100705, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 38, + 32, + null, + 358415700372591, + 0, + null, + [ + [10, 4], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + true, + null, + 515912915733720, + 13, + [ + [ + 38, + 34, + null, + 0, + false, + false, + false, + 601676452844063, + null, + [ + [8, 2], + [0, [7, [1, 38, 35, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 508861859708014, + 14, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 238434715945509, + null, + [ + [8, 4], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 121857332304986, + 0, + null, + [ + [10, 2], + [7, [10, [3, "wooble"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 878806325642029, + 15, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 839161038808354, + null, + [ + [8, 2], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 735297011388906, + 0, + null, + [ + [10, 2], + [7, [11, [3, "wooble"]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 643441596738263, + 16, + [], + [ + [ + 38, + 36, + "Physics", + 660318923846065, + 0, + null, + [[0, [12, [2, 38, false, 2]]]] + ], + [ + 38, + 32, + null, + 643964863830340, + 0, + null, + [ + [10, 2], + [7, [13, [2, 38, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 189516664794677, + 17, + [ + [ + 38, + 38, + null, + 0, + false, + false, + false, + 466117413246713, + null, + [ + [0, [2]], + [0, [3]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 193263967168185, + 0, + null, + [ + [10, 2], + [7, [14, [2, 38, false, 2], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 548899500801930, + 18, + [[-1, 39, null, 0, false, false, false, 115796838551491, null]], + [], + [ + [ + 0, + 0, + false, + null, + 948440167087030, + 19, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 250822933362035, + null, + [ + [8, 4], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 40, + null, + 938352858683532, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 478169044845165, + 20, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 374715790541493, + null, + [ + [8, 2], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 41, + null, + 423718377554129, + 0, + null, + [ + [10, 2], + [7, [10, [3, "angularSub"]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Control P4"], + false, + null, + 328088111874852, + 21, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [54]]]]], + [], + [ + [1, "upArrow", 0, 0, true, false, 258897098053194, false, 133], + [1, "speed", 0, -10, false, false, 169106176535049, false, 134], + [ + 0, + 0, + false, + null, + 250080673082900, + 22, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 695323223995465, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 188094360638018, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 137866235502188, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 995465907177837, + 23, + [ + [ + 79, + 24, + null, + 0, + false, + false, + false, + 264098500573844, + null, + [ + [10, 1], + [8, 0], + [7, [4]] + ] + ], + [ + 79, + 24, + null, + 0, + false, + false, + false, + 182298204320926, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 79, + 32, + null, + 284626668038055, + 0, + null, + [ + [10, 1], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 808409224722684, + 24, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 155632119156977, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 587646821595645, + 25, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 483917021481334, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 163969178336164, + 26, + [ + [ + 103, + 24, + null, + 0, + false, + true, + false, + 268484034340549, + null, + [ + [10, 4], + [8, 0], + [7, [43]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 925439094113492, + 27, + [ + [ + 38, + 24, + null, + 0, + false, + false, + false, + 228827596455487, + null, + [ + [10, 4], + [8, 2], + [7, [17]] + ] + ] + ], + [ + [ + 38, + 42, + "Physics", + 744089997877353, + 0, + null, + [ + [0, [3]], + [0, [7, [1, 38, 31, false]]], + [0, [7, [1, 38, 35, false]]], + [7, [4]] + ] + ], + [ + 38, + 40, + null, + 511673646787318, + 0, + null, + [ + [10, 4], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 836218211623437, + 28, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 666305713279154, + null, + [ + [7, [48, [4, 62], [1, 79, 44, false]]], + [8, 4], + [7, [4]] + ] + ] + ], + [ + [ + 79, + 45, + null, + 410987859426992, + 0, + null, + [[0, [20, [1, 79, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 644514711852543, + 29, + [[-1, 39, null, 0, false, false, false, 401359909829253, null]], + [[79, 45, null, 869730102293730, 0, null, [[0, [19]]]]] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 168263169358592, + 30, + [[-1, 39, null, 0, false, false, false, 147641127091934, null]], + [ + [ + -1, + 46, + null, + 844721372806337, + 0, + null, + [ + [11, "upArrow"], + [7, [4]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 677554092047226, + 31, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 664426319526063, + null, + [ + [7, [18, [1, 79, 44, false]]], + [8, 4], + [7, [5]] + ] + ] + ], + [ + [ + 79, + 45, + null, + 683232948477178, + 0, + null, + [[0, [21, [1, 79, 44, false], [3, "speed"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 874131077407717, + 32, + [[-1, 39, null, 0, false, false, false, 647189675264743, null]], + [[79, 45, null, 644514201596914, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 723290187441472, + 33, + [[-1, 27, null, 0, false, false, false, 587557524643422, null]], + [], + [ + [ + 0, + 0, + false, + null, + 749220383786875, + 34, + [ + [ + 79, + 24, + null, + 0, + false, + false, + false, + 733806245329139, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 165302202249581, + 35, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 261741633434578, + null, + [ + [10, 4], + [8, 0], + [7, [47]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 657158803807354, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + 103, + 32, + null, + 513710268825085, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 79, + 32, + null, + 431171233604446, + 0, + null, + [ + [10, 1], + [7, [4]] + ] + ], + [ + 79, + 32, + null, + 314863842592923, + 0, + null, + [ + [10, 0], + [7, [4]] + ] + ], + [ + 103, + 32, + null, + 288058630485889, + 0, + null, + [ + [10, 4], + [7, [22]] + ] + ], + [103, 47, "Physics", 412223636349202, 0, null, [[3, 1]]], + [ + 103, + 32, + null, + 785549596471069, + 0, + null, + [ + [10, 3], + [7, [4]] + ] + ], + [ + 103, + 48, + "Physics", + 571894877470736, + 0, + null, + [ + [0, [22]], + [0, [4]] + ] + ], + [ + 71, + 49, + "Physics", + 785707783074877, + 0, + null, + [ + [4, 103], + [3, 0] + ] + ], + [ + 103, + 50, + "Timer", + 895139487371066, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [24]] + ] + ], + [ + 103, + 51, + "Physics", + 485824506502020, + 0, + null, + [ + [ + 0, + [ + 49, + [1, 103, 52, false], + [4, 62], + [1, 79, 44, false], + [4, 33] + ] + ], + [ + 0, + [ + 50, + [1, 103, 53, false], + [4, 62], + [1, 79, 44, false], + [4, 33] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 136111146499575, + 36, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 502637240139132, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 168593485998426, + null, + [ + [11, "upArrow"], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + true, + false, + 122503884817482, + null, + [ + [10, 4], + [8, 0], + [7, [43]] + ] + ], + [38, 54, "Timer", 0, false, true, false, 267476610283787, null, [[1, [27]]]], + [ + 38, + 24, + null, + 0, + false, + false, + false, + 153107668432680, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 266289409562875, + 0, + null, + [ + [11, "upArrow"], + [7, [5]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 815483346185756, + 37, + [[-1, 27, null, 0, false, false, false, 371606452883782, null]], + [ + [ + 38, + 32, + null, + 849033673828187, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 38, + 32, + null, + 271504965740080, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ], + [ + 38, + 50, + "Timer", + 946844064214185, + 0, + null, + [ + [0, [28]], + [3, 0], + [1, [27]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 821112444575981, + 38, + [ + [ + 38, + 26, + null, + 0, + false, + false, + false, + 456500779545655, + null, + [[4, 8]] + ] + ], + [ + [ + 38, + 42, + "Physics", + 428493617417385, + 0, + null, + [ + [0, [29]], + [0, [7, [1, 38, 31, false]]], + [0, [7, [1, 38, 35, false]]], + [7, [4]] + ] + ], + [ + 38, + 51, + "Physics", + 859656404092811, + 0, + null, + [ + [0, [4]], + [0, [4]] + ] + ], + [38, 36, "Physics", 766593886683293, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 673186932767106, + 39, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 542492939839200, + null, + [ + [8, 5], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 950014336119947, + 0, + null, + [ + [10, 2], + [7, [30, [1, 38, 52, false], [1, 38, 31, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 609833291200174, + 40, + [ + [ + 38, + 30, + null, + 0, + false, + false, + false, + 136608254466957, + null, + [ + [8, 2], + [0, [7, [1, 38, 31, false]]] + ] + ] + ], + [ + [ + 38, + 32, + null, + 955629970133300, + 0, + null, + [ + [10, 2], + [7, [30, [1, 38, 52, false], [1, 38, 31, false]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Skin P4"], + false, + null, + 106983606142062, + 41, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [55]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 546688611264073, + 42, + [[-1, 21, null, 1, false, false, false, 512926383441161, null]], + [], + [ + [ + 0, + 0, + false, + null, + 504912679665596, + 43, + [ + [ + 11, + 24, + null, + 0, + false, + false, + false, + 504820798335188, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 11, + 23, + "Pin", + 343540302384529, + 0, + null, + [ + [4, 37], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 378592349055349, + 44, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 656390461676614, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 10, + 23, + "Pin", + 670363323558435, + 0, + null, + [ + [4, 38], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 406616723193121, + 45, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 458496925526637, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 12, + 23, + "Pin", + 748427813934983, + 0, + null, + [ + [4, 38], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 196099769209473, + 46, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 922370432959467, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 13, + 23, + "Pin", + 207846058647956, + 0, + null, + [ + [4, 38], + [3, 0] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 796610601175795, + 47, + [ + [ + 15, + 24, + null, + 0, + false, + false, + false, + 597255414032559, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [15, 55, null, 560776763280978, 0, null, [[0, [32, [1, 38, 31, false]]]]], + [ + 15, + 56, + null, + 368465241902002, + 0, + null, + [[0, [33, [4, 57], [4, 58], [1, 15, 53, false], [1, 38, 53, false]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "Arm P4"], + false, + null, + 952809326130602, + 48, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [56]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 556492734561968, + 49, + [], + [ + [ + 79, + 59, + null, + 675360705782224, + 0, + null, + [ + [0, [35, [1, 38, 31, false]]], + [0, [35, [1, 38, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 733456178878363, + 50, + [], + [ + [ + 82, + 59, + null, + 353959590790470, + 0, + null, + [ + [0, [7, [1, 79, 31, false]]], + [0, [7, [1, 79, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 790239307998432, + 51, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 979760722590088, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 896176965076810, + 52, + [ + [103, 60, null, 0, false, false, true, 202857020708835, null, [[4, 82]]], + [ + 103, + 34, + null, + 0, + false, + false, + false, + 792930355030916, + null, + [ + [8, 5], + [0, [36]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 207174833468275, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 61, + null, + 918286108949089, + 0, + null, + [ + [3, 1], + [4, 79] + ] + ], + [ + 103, + 32, + null, + 660143972673708, + 0, + null, + [ + [10, 4], + [7, [47]] + ] + ], + [103, 47, "Physics", 437923124741685, 0, null, [[3, 0]]], + [ + 103, + 32, + null, + 626931742778200, + 0, + null, + [ + [10, 3], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 646285874160606, + 53, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 443437205469246, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 460938032470003, + null, + [ + [10, 4], + [8, 0], + [7, [47]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 898424965811047, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 134748000147460, + 0, + null, + [ + [0, [37, [1, 103, 52, false], [1, 79, 31, false], [4, 37]]], + [0, [37, [1, 103, 53, false], [1, 79, 35, false], [4, 37]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 118153654464955, + 54, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 379667643660713, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 491993518180629, + null, + [ + [10, 4], + [8, 0], + [7, [47]] + ] + ] + ], + [ + [ + 103, + 59, + null, + 663680320095574, + 0, + null, + [ + [0, [7, [1, 79, 31, false]]], + [0, [7, [1, 79, 35, false]]] + ] + ], + [ + 9, + 59, + null, + 728678530164018, + 0, + null, + [ + [0, [7, [1, 79, 31, false]]], + [0, [7, [1, 79, 35, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 535928598088695, + 55, + [ + [79, 60, null, 0, false, false, true, 589756773796649, null, [[4, 103]]], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 606675499182120, + null, + [ + [10, 4], + [8, 1], + [7, [43]] + ] + ] + ], + [ + [-2, "createBallFX2", null, 883827029562694, 0, null], + [ + 103, + 32, + null, + 549675350823332, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ], + [ + 9, + 61, + null, + 661580449450826, + 0, + null, + [ + [3, 1], + [4, 79] + ] + ], + [ + 103, + 32, + null, + 382519514038516, + 0, + null, + [ + [10, 4], + [7, [47]] + ] + ], + [103, 47, "Physics", 762986344062711, 0, null, [[3, 0]]], + [ + 79, + 32, + null, + 744141565659570, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "gameEvent", + [ + [1, "angularMaxRND", 0, 150, false, false, 262420649510634, false, 135], + [1, "angularMinRND", 0, 100, false, false, 455877582027442, false, 136], + [1, "wooble", 0, 200, false, false, 412696536558178, false, 137], + [1, "angularSub", 0, 8, false, false, 730424728310926, false, 138], + [1, "snowSlip", 0, 2, false, true, 385934528122174, false, 139], + [1, "P1Control", 0, 0, false, false, 308680730337585, false, 140], + [1, "P2Control", 0, 0, false, false, 284675396607854, false, 141], + [1, "p1Score", 0, 0, false, false, 870248114194364, false, 142], + [1, "p2Score", 0, 0, false, false, 336820796057693, false, 143], + [1, "goal", 0, 0, true, false, 727009003176844, false, 144], + [1, "CPU", 0, 0, false, false, 174118167449135, false, 145], + [1, "biz", 0, 0, false, false, 462466925293457, false, 146], + [2, "menuEvent", false], + [2, "bonusEvent", false], + [2, "tailEvent", false], + [2, "player1Event", false], + [2, "pauseEvent", false], + [2, "player2Event", false], + [2, "player3Event", false], + [2, "player4Event", false], + [ + 3, + [true, "Ball"], + false, + null, + 454542165934448, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [57]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 748965599500532, + 2, + [[103, 63, null, 1, false, false, false, 358638147359249, null]], + [ + [ + 103, + 32, + null, + 804969139367524, + 0, + null, + [ + [10, 4], + [7, [22]] + ] + ], + [103, 64, "Physics", 819823983412470, 0, null, [[3, 1]]] + ] + ], + [ + 0, + 0, + false, + null, + 769237520676871, + 3, + [[-1, 21, null, 1, false, false, false, 988077025203488, null]], + [ + [ + 71, + 49, + "Physics", + 879836956180413, + 0, + null, + [ + [4, 99], + [3, 0] + ] + ], + [ + 73, + 49, + "Physics", + 170308509430797, + 0, + null, + [ + [4, 99], + [3, 0] + ] + ], + [ + 28, + 65, + null, + 123662435707766, + 0, + null, + [ + [0, [4]], + [0, [43]], + [0, [5]] + ] + ], + [28, 66, null, 604025613043937, 0, null, [[0, [4]]]], + [ + 94, + 49, + "Physics", + 920607546042681, + 0, + null, + [ + [4, 99], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 927581621229089, + 4, + [], + [ + [ + 103, + 36, + "Physics", + 445610481055705, + 0, + null, + [[0, [58, [0, 103, "Physics", 29, false]]]] + ], + [ + 103, + 51, + "Physics", + 274663613483719, + 0, + null, + [ + [0, [59, [0, 103, "Physics", 29, false]]], + [0, [59, [0, 103, "Physics", 67, false]]] + ] + ], + [14, 55, null, 596792705290264, 0, null, [[0, [18, [1, 103, 52, false]]]]], + [ + 14, + 56, + null, + 356070430853228, + 0, + null, + [ + [ + 0, + [60, [4, 58], [2, 103, false, 0], [1, 14, 53, false], [1, 103, 53, false]] + ] + ] + ], + [ + 9, + 68, + null, + 359572097829569, + 0, + null, + [[0, [61, [4, 57], [0, 103, "Physics", 29, false], [1, 9, 69, false]]]] + ] + ] + ], + [ + 0, + 0, + true, + null, + 243584165705535, + 5, + [ + [ + 9, + 30, + null, + 0, + false, + false, + false, + 117985175102009, + null, + [ + [8, 3], + [0, [62]] + ] + ], + [ + 9, + 30, + null, + 0, + false, + false, + false, + 958475869700102, + null, + [ + [8, 5], + [0, [63]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 891457319550746, + 6, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 130359234477555, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 316749480334906, null] + ], + [ + [ + -1, + 46, + null, + 326073771972682, + 0, + null, + [ + [11, "P1Control"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 346581081803920, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ], + [16, 70, null, 872302010874392, 0, null, [[3, 0]]], + [ + -1, + 46, + null, + 145188303819663, + 0, + null, + [ + [11, "goal"], + [7, [5]] + ] + ], + [-1, 71, null, 612588819927489, 0, null, [[0, [23]]]], + [ + 6, + 72, + null, + 481608076868751, + 0, + null, + [ + [2, ["wrong", false]], + [3, 0], + [0, [64]], + [1, [65]] + ] + ], + [-1, 73, null, 971518732912488, 2, null, [[0, [23]]]], + [-1, 74, null, 316532482990155, 0, null] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 638899801020166, + 7, + [], + [ + [ + 9, + 59, + null, + 270838109396173, + 0, + null, + [ + [0, [18, [1, 103, 52, false]]], + [0, [18, [1, 103, 53, false]]] + ] + ], + [9, 45, null, 953535482032517, 0, null, [[0, [18, [1, 103, 44, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 620143578555223, + 8, + [[103, 75, "Timer", 0, false, false, false, 387593505891564, null, [[1, [24]]]]], + [ + [ + 71, + 49, + "Physics", + 823327589754912, + 0, + null, + [ + [4, 103], + [3, 1] + ] + ], + [ + 73, + 49, + "Physics", + 469453256163084, + 0, + null, + [ + [4, 103], + [3, 1] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 147235815529802, + 9, + [ + [103, 60, null, 0, false, false, true, 192604190711435, null, [[4, 83]]], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 923312611904160, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 61, + null, + 485826222007993, + 0, + null, + [ + [3, 1], + [4, 86] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 442781429105129, + 10, + [[103, 63, null, 1, false, false, false, 965218194654100, null]], + [ + [ + 87, + 59, + null, + 666593784352349, + 0, + null, + [ + [0, [18, [1, 103, 52, false]]], + [0, [18, [1, 103, 53, false]]] + ] + ], + [ + 87, + 76, + "Pin", + 283289265884823, + 0, + null, + [ + [4, 103], + [16, true], + [16, true], + [16, false], + [3, 0], + [3, 0], + [16, false] + ] + ], + [ + 87, + 77, + null, + 111084661962837, + 0, + null, + [ + [0, [66, [1, 103, 78, false]]], + [0, [66, [1, 103, 79, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 767087364179981, + 11, + [ + [7, 60, null, 0, false, false, true, 938156651784956, null, [[4, 8]]], + [ + 7, + 30, + null, + 0, + false, + false, + false, + 818551495792368, + null, + [ + [8, 4], + [0, [67]] + ] + ], + [ + 7, + 30, + null, + 0, + false, + false, + false, + 214833666395041, + null, + [ + [8, 2], + [0, [68]] + ] + ], + [ + 7, + 24, + null, + 0, + false, + false, + false, + 286183233879412, + null, + [ + [10, 5], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 7, + 32, + null, + 982507160401818, + 0, + null, + [ + [10, 5], + [7, [5]] + ] + ], + [ + 6, + 72, + null, + 563551713421482, + 0, + null, + [ + [2, ["metal", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 159822232518893, + 12, + [[98, 63, null, 1, false, false, false, 221252932351162, null]], + [ + [ + 98, + 80, + "Bullet", + 828646149482646, + 0, + null, + [[0, [70, [2, 98, false, 0], [0, 98, "Bullet", 81, false]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "Players"], + false, + null, + 139851924359325, + 13, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [71]]]]], + [], + [ + [1, "velX", 0, 50, false, false, 489145114841833, false, 147], + [1, "velAng", 0, 150, false, false, 589534603444800, false, 148], + [ + 0, + 0, + false, + null, + 546341842361063, + 14, + [], + [ + [ + 1, + 51, + "Physics", + 749691576179614, + 0, + null, + [ + [0, [72, [0, 1, "Physics", 29, false], [3, "velX"], [3, "velX"]]], + [0, [73, [0, 1, "Physics", 67, false]]] + ] + ], + [ + 1, + 36, + "Physics", + 757988408341402, + 0, + null, + [[0, [72, [0, 1, "Physics", 82, false], [3, "velAng"], [3, "velAng"]]]] + ], + [ + 30, + 51, + "Physics", + 588006708744000, + 0, + null, + [ + [0, [72, [0, 30, "Physics", 29, false], [3, "velX"], [3, "velX"]]], + [0, [73, [0, 30, "Physics", 67, false]]] + ] + ], + [ + 30, + 36, + "Physics", + 361498413256843, + 0, + null, + [[0, [72, [0, 30, "Physics", 82, false], [3, "velAng"], [3, "velAng"]]]] + ], + [ + 35, + 51, + "Physics", + 788065960933346, + 0, + null, + [ + [0, [72, [0, 35, "Physics", 29, false], [3, "velX"], [3, "velX"]]], + [0, [73, [0, 35, "Physics", 67, false]]] + ] + ], + [ + 35, + 36, + "Physics", + 227618663280438, + 0, + null, + [[0, [72, [0, 35, "Physics", 82, false], [3, "velAng"], [3, "velAng"]]]] + ], + [ + 38, + 51, + "Physics", + 621443015591542, + 0, + null, + [ + [0, [72, [0, 38, "Physics", 29, false], [3, "velX"], [3, "velX"]]], + [0, [73, [0, 38, "Physics", 67, false]]] + ] + ], + [ + 38, + 36, + "Physics", + 566129870658906, + 0, + null, + [[0, [72, [0, 38, "Physics", 82, false], [3, "velAng"], [3, "velAng"]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 764559672536153, + 15, + [], + [], + [ + [ + 0, + 0, + false, + null, + 649165148488414, + 16, + [[33, 60, null, 0, false, false, true, 669378000286177, null, [[4, 32]]]], + [], + [ + [1, "ang", 0, 0, false, false, 290626903247623, false, 149], + [ + 0, + 0, + false, + null, + 792380901369929, + 17, + [], + [ + [ + -1, + 46, + null, + 477444876768768, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 1, "Physics", 82, false]]] + ] + ], + [ + 1, + 40, + null, + 521894922733557, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 30, "Physics", 29, false], [0, 30, "Physics", 82, false]] + ] + ] + ], + [ + 30, + 40, + null, + 494000365314138, + 0, + null, + [ + [10, 2], + [7, [76, [0, 1, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 1, + 51, + "Physics", + 708586049088608, + 0, + null, + [ + [0, [77, [0, 1, "Physics", 29, false]]], + [0, [77, [0, 1, "Physics", 67, false]]] + ] + ], + [ + 30, + 51, + "Physics", + 228023395905618, + 0, + null, + [ + [0, [77, [0, 30, "Physics", 29, false]]], + [0, [77, [0, 30, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 359736984035386, + 18, + [[33, 60, null, 0, false, false, true, 544008618561654, null, [[4, 36]]]], + [], + [ + [1, "ang", 0, 0, false, false, 193875416518660, false, 149], + [ + 0, + 0, + false, + null, + 896025223566591, + 19, + [], + [ + [ + -1, + 46, + null, + 691864268654356, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 1, "Physics", 82, false]]] + ] + ], + [ + 1, + 40, + null, + 471855662647100, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 35, "Physics", 29, false], [0, 35, "Physics", 82, false]] + ] + ] + ], + [ + 35, + 40, + null, + 147075110454356, + 0, + null, + [ + [10, 2], + [7, [76, [0, 1, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 1, + 51, + "Physics", + 251375527364492, + 0, + null, + [ + [0, [77, [0, 1, "Physics", 29, false]]], + [0, [77, [0, 1, "Physics", 67, false]]] + ] + ], + [ + 35, + 51, + "Physics", + 117116141210400, + 0, + null, + [ + [0, [77, [0, 35, "Physics", 29, false]]], + [0, [77, [0, 35, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 118008491218958, + 20, + [[33, 60, null, 0, false, false, true, 463255797017807, null, [[4, 39]]]], + [], + [ + [1, "ang", 0, 0, false, false, 231170202127439, false, 149], + [ + 0, + 0, + false, + null, + 230766485872433, + 21, + [], + [ + [ + -1, + 46, + null, + 323138329905948, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 1, "Physics", 82, false]]] + ] + ], + [ + 1, + 40, + null, + 807758633062506, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 38, "Physics", 29, false], [0, 38, "Physics", 82, false]] + ] + ] + ], + [ + 38, + 40, + null, + 604970296252191, + 0, + null, + [ + [10, 2], + [7, [76, [0, 1, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 1, + 51, + "Physics", + 724982096277108, + 0, + null, + [ + [0, [77, [0, 1, "Physics", 29, false]]], + [0, [77, [0, 1, "Physics", 67, false]]] + ] + ], + [ + 38, + 51, + "Physics", + 769547343347752, + 0, + null, + [ + [0, [77, [0, 38, "Physics", 29, false]]], + [0, [77, [0, 38, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 593021529484234, + 22, + [], + [], + [ + [ + 0, + 0, + false, + null, + 784980221885662, + 23, + [[36, 60, null, 0, false, false, true, 352941293931319, null, [[4, 32]]]], + [], + [ + [1, "ang", 0, 0, false, false, 913875994158992, false, 149], + [ + 0, + 0, + false, + null, + 724464603753115, + 24, + [], + [ + [ + -1, + 46, + null, + 849987530717353, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 35, "Physics", 82, false]]] + ] + ], + [ + 35, + 40, + null, + 195032420197021, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 30, "Physics", 29, false], [0, 30, "Physics", 82, false]] + ] + ] + ], + [ + 30, + 40, + null, + 306840286070956, + 0, + null, + [ + [10, 2], + [7, [76, [0, 35, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 30, + 51, + "Physics", + 360984386558787, + 0, + null, + [ + [0, [77, [0, 30, "Physics", 29, false]]], + [0, [77, [0, 30, "Physics", 67, false]]] + ] + ], + [ + 35, + 51, + "Physics", + 102180975409218, + 0, + null, + [ + [0, [77, [0, 35, "Physics", 29, false]]], + [0, [77, [0, 35, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 250125150285679, + 25, + [[36, 60, null, 0, false, false, true, 101688001442265, null, [[4, 39]]]], + [], + [ + [1, "ang", 0, 0, false, false, 604495911950215, false, 149], + [ + 0, + 0, + false, + null, + 322567800238941, + 26, + [], + [ + [ + -1, + 46, + null, + 741959291459376, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 35, "Physics", 82, false]]] + ] + ], + [ + 35, + 40, + null, + 159100724914609, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 38, "Physics", 29, false], [0, 38, "Physics", 82, false]] + ] + ] + ], + [ + 38, + 40, + null, + 414363731738686, + 0, + null, + [ + [10, 2], + [7, [76, [0, 35, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 38, + 51, + "Physics", + 453572884687045, + 0, + null, + [ + [0, [77, [0, 38, "Physics", 29, false]]], + [0, [77, [0, 38, "Physics", 67, false]]] + ] + ], + [ + 35, + 51, + "Physics", + 589389602696581, + 0, + null, + [ + [0, [77, [0, 35, "Physics", 29, false]]], + [0, [77, [0, 35, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 367826469323220, + 27, + [], + [], + [ + [ + 0, + 0, + false, + null, + 481706574538012, + 28, + [[39, 60, null, 0, false, false, true, 670287400420005, null, [[4, 32]]]], + [], + [ + [1, "ang", 0, 0, false, false, 238298718108021, false, 149], + [ + 0, + 0, + false, + null, + 318038229537712, + 29, + [], + [ + [ + -1, + 46, + null, + 170133198177953, + 0, + null, + [ + [11, "ang"], + [7, [74, [0, 38, "Physics", 82, false]]] + ] + ], + [ + 38, + 40, + null, + 350545842241996, + 0, + null, + [ + [10, 2], + [ + 7, + [75, [0, 30, "Physics", 29, false], [0, 30, "Physics", 82, false]] + ] + ] + ], + [ + 30, + 40, + null, + 660312882184017, + 0, + null, + [ + [10, 2], + [7, [76, [0, 38, "Physics", 29, false], [3, "ang"]]] + ] + ], + [ + 30, + 51, + "Physics", + 621455381407302, + 0, + null, + [ + [0, [77, [0, 30, "Physics", 29, false]]], + [0, [77, [0, 30, "Physics", 67, false]]] + ] + ], + [ + 38, + 51, + "Physics", + 926942943544434, + 0, + null, + [ + [0, [77, [0, 38, "Physics", 29, false]]], + [0, [77, [0, 38, "Physics", 67, false]]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "General"], + false, + null, + 210125335228410, + 30, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [78]]]]], + [], + [ + [1, "team1", 0, 0, false, false, 516198035145613, false, 150], + [1, "team2", 0, 0, false, false, 542089088464799, false, 151], + [1, "screenWidth", 0, 0, false, false, 711866737370731, false, 152], + [1, "screenHeight", 0, 0, false, false, 909866977618611, false, 153], + [ + 0, + 0, + true, + null, + 788476075180245, + 31, + [ + [49, 83, null, 1, false, false, false, 201631641605024, null], + [-1, 21, null, 1, false, false, false, 341041810547514, null] + ], + [ + [-1, 73, null, 600034509341516, 2, null, [[0, [4]]]], + [93, 84, null, 978753164665906, 0, null, [[0, [79, [4, 85]]]]], + [101, 86, null, 341162035703439, 0, null, [[0, [80, [4, 87], [4, 88]]]]], + [ + 105, + 89, + null, + 158912024253947, + 0, + null, + [[0, [81, [4, 90], [1, 105, 91, false]]]] + ], + [101, 92, null, 440498146771015, 0, null, [[0, [82, [4, 88]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 529420948329690, + 32, + [[-1, 21, null, 1, false, false, false, 403875869662032, null]], + [ + [ + -1, + 46, + null, + 267504263994473, + 0, + null, + [ + [11, "team1"], + [7, [83, [4, 93], [4, 33]]] + ] + ], + [ + -1, + 46, + null, + 882751390000455, + 0, + null, + [ + [11, "team2"], + [7, [83, [4, 93], [4, 33]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 912962769871285, + 33, + [ + [-1, 94, null, 0, true, false, false, 722582042205454, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 682045028167169, + null, + [ + [11, "team1"], + [8, 0], + [7, [10, [3, "team2"]]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 316879927256889, + 0, + null, + [ + [11, "team2"], + [7, [83, [4, 93], [4, 33]]] + ] + ] + ] + ], + [1, "rnd", 0, 0, false, false, 464435176656702, false, 154], + [ + 0, + 0, + false, + null, + 231112843273018, + 34, + [], + [ + [ + -1, + 46, + null, + 635377093209032, + 0, + null, + [ + [11, "rnd"], + [7, [84, [4, 95]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 580513779308491, + 35, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 980301614345268, + null, + [ + [11, "rnd"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [40, 96, null, 296410794503021, 0, null], + [ + -1, + 97, + null, + 878344867521203, + 0, + null, + [ + [5, [4]], + [0, [85, [4, 98]]] + ] + ], + [63, 96, null, 848364740443481, 0, null], + [62, 96, null, 731622032677704, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 955047513643834, + 36, + [ + [-1, 39, null, 0, false, false, false, 946699177740951, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 786365889268630, + null, + [ + [11, "rnd"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [40, 96, null, 223470663864745, 0, null], + [ + -1, + 97, + null, + 952520272830999, + 0, + null, + [ + [5, [4]], + [0, [86, [4, 98]]] + ] + ], + [25, 99, null, 104209187906026, 0, null, [[0, [87, [4, 98]]]]], + [26, 96, null, 163639990473802, 0, null], + [63, 96, null, 830885932810320, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 709771032190233, + 37, + [ + [-1, 39, null, 0, false, false, false, 541475382571466, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 445975665466062, + null, + [ + [11, "rnd"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 97, + null, + 186740683282781, + 0, + null, + [ + [5, [4]], + [0, [88, [4, 98]]] + ] + ], + [25, 99, null, 872252338845771, 0, null, [[0, [89, [4, 98]]]]], + [ + 26, + 100, + null, + 287947906305330, + 0, + null, + [ + [1, [90]], + [0, [5]], + [0, [91, [4, 98]]] + ] + ], + [ + 26, + 100, + null, + 695535065081101, + 0, + null, + [ + [1, [92]], + [0, [5]], + [0, [93, [4, 98]]] + ] + ], + [ + 26, + 100, + null, + 602067886442732, + 0, + null, + [ + [1, [94]], + [0, [5]], + [0, [95, [4, 98]]] + ] + ], + [26, 96, null, 381499398049750, 0, null], + [62, 96, null, 545890487636486, 0, null] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 553110365429368, + 38, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 825712127505369, + null, + [ + [11, "biz"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 831763469712396, + 39, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 594368707533559, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ], + [ + 10, + 24, + null, + 0, + false, + false, + false, + 845085794513843, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [[10, 101, null, 470517965035684, 0, null, [[0, [10, [3, "team1"]]]]]] + ], + [ + 0, + 0, + true, + null, + 428784197359940, + 40, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 890906130239663, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ], + [ + 13, + 24, + null, + 0, + false, + false, + false, + 553756553051616, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [[13, 101, null, 882430712531337, 0, null, [[0, [10, [3, "team1"]]]]]] + ], + [ + 0, + 0, + true, + null, + 319592273196655, + 50, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 541283289782525, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ], + [ + 12, + 24, + null, + 0, + false, + false, + false, + 356620232717748, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 411866599301605, + 51, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 318190652528500, + null, + [ + [11, "team1"], + [8, 0], + [7, [4]] + ] + ] + ], + [[12, 101, null, 405915686295805, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + false, + null, + 136210122486850, + 52, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 583838662683149, + null, + [ + [11, "team1"], + [8, 0], + [7, [5]] + ] + ] + ], + [[12, 101, null, 557132665909974, 0, null, [[0, [16]]]]] + ], + [ + 0, + 0, + false, + null, + 930969624091244, + 53, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 795271708866108, + null, + [ + [11, "team1"], + [8, 0], + [7, [16]] + ] + ] + ], + [[12, 101, null, 497727545727952, 0, null, [[0, [47]]]]] + ], + [ + 0, + 0, + false, + null, + 463160854633191, + 54, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 606283628764114, + null, + [ + [11, "team1"], + [8, 0], + [7, [43]] + ] + ] + ], + [[12, 101, null, 988935502490885, 0, null, [[0, [96]]]]] + ], + [ + 0, + 0, + false, + null, + 780308030114040, + 55, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 130314812740311, + null, + [ + [11, "team1"], + [8, 0], + [7, [47]] + ] + ] + ], + [[12, 101, null, 196737590706503, 0, null, [[0, [97]]]]] + ], + [ + 0, + 0, + false, + null, + 223317386223650, + 56, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 128147358063216, + null, + [ + [11, "team1"], + [8, 0], + [7, [96]] + ] + ] + ], + [[12, 101, null, 734681433567317, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 626929282785905, + 57, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 990940044678117, + null, + [ + [11, "team1"], + [8, 0], + [7, [97]] + ] + ] + ], + [[12, 101, null, 791496183115894, 0, null, [[0, [98]]]]] + ], + [ + 0, + 0, + false, + null, + 589375847487807, + 58, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 133420620370960, + null, + [ + [11, "team1"], + [8, 0], + [7, [98]] + ] + ] + ], + [[12, 101, null, 586752907365270, 0, null, [[0, [3]]]]] + ] + ] + ], + [ + 0, + 0, + true, + null, + 609033571170522, + 59, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 331357695739915, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ], + [ + 10, + 24, + null, + 0, + false, + false, + false, + 477891128296360, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [[10, 101, null, 151614678700374, 0, null, [[0, [10, [3, "team2"]]]]]] + ], + [ + 0, + 0, + true, + null, + 103668502655185, + 60, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 998315102756329, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ], + [ + 13, + 24, + null, + 0, + false, + false, + false, + 374654730362780, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ] + ], + [[13, 101, null, 231442507441300, 0, null, [[0, [10, [3, "team2"]]]]]] + ], + [ + 0, + 0, + true, + null, + 315386225390318, + 70, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 136349145897731, + null, + [ + [10, 0], + [8, 0], + [7, [47]] + ] + ], + [ + 12, + 24, + null, + 0, + false, + false, + false, + 683439599317584, + null, + [ + [10, 0], + [8, 0], + [7, [43]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 265590880696004, + 71, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 235650796444891, + null, + [ + [11, "team2"], + [8, 0], + [7, [4]] + ] + ] + ], + [[12, 101, null, 359571094953382, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + false, + null, + 497797290260455, + 72, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 284078544198891, + null, + [ + [11, "team2"], + [8, 0], + [7, [5]] + ] + ] + ], + [[12, 101, null, 281196644505626, 0, null, [[0, [16]]]]] + ], + [ + 0, + 0, + false, + null, + 233994169512650, + 73, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 474576499324391, + null, + [ + [11, "team2"], + [8, 0], + [7, [16]] + ] + ] + ], + [[12, 101, null, 103843241090972, 0, null, [[0, [47]]]]] + ], + [ + 0, + 0, + false, + null, + 240655387705465, + 74, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 334158112272847, + null, + [ + [11, "team2"], + [8, 0], + [7, [43]] + ] + ] + ], + [[12, 101, null, 247297442893385, 0, null, [[0, [96]]]]] + ], + [ + 0, + 0, + false, + null, + 345407887041898, + 75, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 991403454523110, + null, + [ + [11, "team2"], + [8, 0], + [7, [47]] + ] + ] + ], + [[12, 101, null, 579462398236929, 0, null, [[0, [97]]]]] + ], + [ + 0, + 0, + false, + null, + 603000538697228, + 76, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 136446205126130, + null, + [ + [11, "team2"], + [8, 0], + [7, [96]] + ] + ] + ], + [[12, 101, null, 218045237422645, 0, null, [[0, [4]]]]] + ], + [ + 0, + 0, + false, + null, + 645461628703794, + 77, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 587197792116126, + null, + [ + [11, "team2"], + [8, 0], + [7, [97]] + ] + ] + ], + [[12, 101, null, 518184156623672, 0, null, [[0, [98]]]]] + ], + [ + 0, + 0, + false, + null, + 843603241640463, + 78, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 649680741713618, + null, + [ + [11, "team2"], + [8, 0], + [7, [98]] + ] + ] + ], + [[12, 101, null, 168269997046333, 0, null, [[0, [3]]]]] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 673026883730784, + 79, + [[11, 63, null, 1, false, false, false, 271018021458428, null]], + [ + [ + 11, + 101, + null, + 940515544392752, + 0, + null, + [[0, [99, [4, 93], [4, 33], [1, 11, 69, false]]]] + ], + [ + 11, + 102, + null, + 825642864295838, + 0, + null, + [[0, [100, [4, 95], [4, 98], [4, 98], [4, 98]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 893807174520322, + 80, + [[1, 63, null, 1, false, false, false, 490548617627951, null]], + [ + [ + 1, + 102, + null, + 534713819651313, + 0, + null, + [[0, [101, [4, 95], [4, 98], [4, 98], [4, 98], [4, 98]]]] + ], + [4, 102, null, 872224941930741, 0, null, [[0, [18, [1, 1, 103, false]]]]], + [70, 102, null, 122733912583099, 0, null, [[0, [18, [1, 1, 103, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 771922096649551, + 81, + [[30, 63, null, 1, false, false, false, 743944978823483, null]], + [ + [ + 30, + 102, + null, + 694380901779266, + 0, + null, + [[0, [101, [4, 95], [4, 98], [4, 98], [4, 98], [4, 98]]]] + ], + [29, 102, null, 880332889090414, 0, null, [[0, [18, [1, 30, 103, false]]]]], + [78, 102, null, 757518503223850, 0, null, [[0, [18, [1, 30, 103, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 554145190363898, + 82, + [[35, 63, null, 1, false, false, false, 181918131789725, null]], + [ + [ + 35, + 102, + null, + 872767412878718, + 0, + null, + [[0, [101, [4, 95], [4, 98], [4, 98], [4, 98], [4, 98]]]] + ], + [34, 102, null, 475316077150158, 0, null, [[0, [18, [1, 35, 103, false]]]]], + [77, 102, null, 593278400422935, 0, null, [[0, [18, [1, 35, 103, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 929222060760567, + 83, + [[38, 63, null, 1, false, false, false, 504400372619915, null]], + [ + [ + 38, + 102, + null, + 926820011093388, + 0, + null, + [[0, [101, [4, 95], [4, 98], [4, 98], [4, 98], [4, 98]]]] + ], + [37, 102, null, 982184268834595, 0, null, [[0, [18, [1, 38, 103, false]]]]], + [79, 102, null, 746168399500014, 0, null, [[0, [18, [1, 38, 103, false]]]]] + ] + ] + ] + ], + [ + 3, + [true, "Control"], + false, + null, + 842099959132424, + 84, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [102]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 173335466987062, + 85, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 948330382363446, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 694601271738028, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [44, 104, null, 0, false, true, false, 756383039129751, null, [[4, 16]]], + [44, 104, null, 0, false, true, false, 823964315381556, null, [[4, 20]]], + [44, 104, null, 0, false, true, false, 241374763717448, null, [[4, 48]]] + ], + [], + [ + [ + 0, + 0, + true, + null, + 470532884080689, + 86, + [ + [2, 105, null, 0, false, false, false, 256508001095888, null, [[9, 38]]], + [44, 104, null, 0, false, false, false, 634962282654510, null, [[4, 45]]] + ], + [ + [ + -1, + 46, + null, + 913472897786272, + 0, + null, + [ + [11, "P1Control"], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 120299978614252, + 87, + [[-1, 39, null, 0, false, false, false, 684989146382366, null]], + [ + [ + -1, + 46, + null, + 704790289254199, + 0, + null, + [ + [11, "P1Control"], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 285707079002661, + 88, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 837990715631497, + null, + [ + [11, "CPU"], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + true, + null, + 836703864715875, + 89, + [ + [2, 105, null, 0, false, false, false, 189990841296349, null, [[9, 87]]], + [44, 104, null, 0, false, false, false, 449068964632145, null, [[4, 46]]] + ], + [ + [ + -1, + 46, + null, + 764763383810956, + 0, + null, + [ + [11, "P2Control"], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 958335728983498, + 90, + [[-1, 39, null, 0, false, false, false, 496523005061858, null]], + [ + [ + -1, + 46, + null, + 280719676992593, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 320181907294440, + 91, + [], + [ + [ + 46, + 77, + null, + 270141325135944, + 0, + null, + [ + [0, [103, [1, 46, 52, false], [4, 88]]], + [0, [104, [4, 90], [4, 85]]] + ] + ], + [ + 45, + 77, + null, + 351562602720816, + 0, + null, + [ + [0, [103, [1, 45, 52, false], [4, 88]]], + [0, [104, [4, 90], [4, 85]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 727638185708018, + 92, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 969992042893753, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 640929714478855, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 698968423416552, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 756444767045056, null] + ], + [ + [ + 6, + 72, + null, + 359438467533594, + 0, + null, + [ + [2, ["press", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 355266461111034, + 93, + [ + [ + 47, + 24, + null, + 0, + false, + false, + false, + 466598772165391, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [[47, 106, null, 268242998096516, 0, null]] + ], + [ + 0, + 0, + false, + null, + 469342562241231, + 94, + [ + [ + 21, + 24, + null, + 0, + false, + false, + false, + 637354301953421, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [[21, 70, null, 716857375065431, 0, null, [[3, 1]]]] + ], + [ + 0, + 0, + false, + null, + 784813909379771, + 95, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 666606572681135, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [[22, 108, null, 859741060853535, 0, null, [[3, 1]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 262390943356076, + 96, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 362899568316528, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 287295772809048, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 312772188623943, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 775274980620365, null] + ], + [ + [ + 6, + 72, + null, + 903752619056962, + 0, + null, + [ + [2, ["press", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 427259355230543, + 97, + [ + [ + 47, + 24, + null, + 0, + false, + false, + false, + 970395837571696, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[47, 106, null, 268643362545007, 0, null]] + ], + [ + 0, + 0, + false, + null, + 440773771277828, + 98, + [ + [ + 21, + 24, + null, + 0, + false, + false, + false, + 376566196762638, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[21, 70, null, 750145750729070, 0, null, [[3, 1]]]] + ], + [ + 0, + 0, + false, + null, + 927346900137432, + 99, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 872330308511307, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[22, 108, null, 136747046534893, 0, null, [[3, 1]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 248678847168057, + 100, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 731857797570818, + null, + [ + [11, "P1Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 601984124282181, + 101, + [[-1, 27, null, 0, false, false, false, 396948737248683, null]], + [], + [ + [ + 0, + 0, + true, + null, + 453978799111102, + 102, + [ + [1, 26, null, 0, false, false, false, 209484578529087, null, [[4, 8]]], + [35, 26, null, 0, false, false, false, 425475079753371, null, [[4, 8]]] + ], + [], + [ + [ + 0, + 0, + false, + null, + 138297631160512, + 103, + [ + [ + 6, + 109, + null, + 0, + false, + true, + false, + 297876525178751, + null, + [[1, [105]]] + ] + ], + [ + [ + 6, + 72, + null, + 888139742535966, + 0, + null, + [ + [2, ["jump", false]], + [3, 0], + [0, [64]], + [1, [105]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 428784621584431, + 104, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 471557605524524, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 665713215263798, + 105, + [[-1, 27, null, 0, false, false, false, 341820529213512, null]], + [], + [ + [ + 0, + 0, + true, + null, + 949407305767272, + 106, + [ + [30, 26, null, 0, false, false, false, 856231849171180, null, [[4, 8]]], + [38, 26, null, 0, false, false, false, 255855317748182, null, [[4, 8]]] + ], + [], + [ + [ + 0, + 0, + false, + null, + 757919200008736, + 107, + [ + [ + 6, + 109, + null, + 0, + false, + true, + false, + 892473005880953, + null, + [[1, [106]]] + ] + ], + [ + [ + 6, + 72, + null, + 876499794431660, + 0, + null, + [ + [2, ["jump", false]], + [3, 0], + [0, [64]], + [1, [106]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "Goal"], + false, + null, + 566459596397978, + 108, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [107]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 958755318800767, + 109, + [[-1, 21, null, 1, false, false, false, 872999501671074, null]], + [], + [ + [ + 0, + 0, + false, + null, + 852520426676739, + 110, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 618436788182471, + null, + [ + [7, [108, [3, "p1Score"], [3, "p2Score"]]], + [8, 4], + [7, [4]] + ] + ] + ], + [ + [22, 108, null, 107176796908878, 0, null, [[3, 1]]], + [47, 106, null, 208898183166590, 0, null], + [21, 70, null, 424250939340329, 0, null, [[3, 1]]] + ] + ], + [ + 0, + 0, + false, + null, + 543602788605946, + 111, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 128491634168916, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [[22, 110, null, 991939536362283, 0, null, [[7, [10, [3, "p1Score"]]]]]] + ], + [ + 0, + 0, + false, + null, + 670566705464451, + 112, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 309309498517815, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[22, 110, null, 924972354332958, 0, null, [[7, [10, [3, "p2Score"]]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 219804282033176, + 113, + [ + [ + -1, + 111, + null, + 0, + false, + false, + false, + 256053330610273, + null, + [ + [4, 76], + [0, [18, [1, 9, 52, false]]], + [0, [18, [1, 9, 53, false]]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 426167876308401, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 728779415677016, + null, + [ + [10, 3], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 112, + "Physics", + 0, + false, + false, + false, + 953980091112315, + null, + [ + [3, 1], + [8, 4], + [0, [4]] + ] + ], + [ + 9, + 34, + null, + 0, + false, + false, + false, + 652915467228624, + null, + [ + [8, 2], + [0, [18, [1, 76, 53, false]]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 319330374242915, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 334019588002211, null] + ], + [ + [ + 6, + 72, + null, + 950474614759985, + 0, + null, + [ + [2, ["file", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ], + [ + -1, + 46, + null, + 326123253763972, + 0, + null, + [ + [11, "P1Control"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 894405781359528, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ], + [16, 70, null, 538291056928430, 0, null, [[3, 0]]], + [ + -1, + 46, + null, + 103086064408705, + 0, + null, + [ + [11, "goal"], + [7, [5]] + ] + ], + [-1, 71, null, 302005576689619, 0, null, [[0, [23]]]], + [ + -1, + 113, + null, + 460034554735321, + 0, + null, + [ + [4, 22], + [0, [5]] + ] + ], + [47, 106, null, 912610414169033, 0, null], + [22, 108, null, 343536408347481, 0, null, [[3, 1]]], + [21, 70, null, 121195959202032, 0, null, [[3, 1]]] + ], + [ + [ + 0, + 0, + false, + null, + 890382735953284, + 114, + [ + [-1, 114, null, 0, true, false, false, 130478807741774, null, [[4, 86]]], + [ + 76, + 24, + null, + 0, + false, + false, + false, + 270917782816362, + null, + [ + [10, 0], + [8, 0], + [7, [12, [2, 86, false, 0]]] + ] + ] + ], + [ + [86, 115, null, 594607410044362, 0, null, [[0, [109, [1, 86, 78, false]]]]], + [86, 116, null, 106466198300445, 0, null, [[0, [110, [1, 86, 79, false]]]]], + [-1, 73, null, 968127763414420, 2, null, [[0, [111]]]], + [86, 56, null, 201054996667476, 0, null, [[0, [5]]]] + ] + ], + [ + 0, + 0, + false, + null, + 232067892445288, + 115, + [ + [ + 76, + 24, + null, + 0, + false, + false, + false, + 339740788244506, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 117, + null, + 224030693364873, + 0, + null, + [ + [11, "p1Score"], + [7, [112, [1, 9, 118, true]]] + ] + ], + [-2, "goalText", null, 357374918851866, 0, null, [[0, [5]]]] + ], + [ + [ + 0, + 0, + false, + null, + 302934131099967, + 116, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 969620497348809, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [22, 110, null, 432529751690371, 0, null, [[7, [10, [3, "p1Score"]]]]], + [ + 22, + 50, + "Timer", + 925413833204297, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [113]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 110355254108765, + 117, + [ + [ + 76, + 24, + null, + 0, + false, + false, + false, + 466956516950250, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [-2, "goalText", null, 383638392481407, 0, null, [[0, [4]]]], + [ + -1, + 117, + null, + 277293249300798, + 0, + null, + [ + [11, "p2Score"], + [7, [112, [1, 9, 118, true]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 713517519493058, + 118, + [ + [ + 22, + 107, + null, + 0, + false, + false, + false, + 808815588316343, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [22, 110, null, 975493128028125, 0, null, [[7, [10, [3, "p2Score"]]]]], + [ + 22, + 50, + "Timer", + 809665852926848, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [113]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 708963458766174, + 119, + [], + [ + [-1, 73, null, 469748725232927, 2, null, [[0, [114]]]], + [-1, 71, null, 427700892329082, 0, null, [[0, [5]]]], + [-1, 73, null, 190644658472580, 2, null, [[0, [115]]]], + [ + -1, + 46, + null, + 366026089897477, + 0, + null, + [ + [11, "goal"], + [7, [16]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 523916697039557, + 120, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 774217858575220, + null, + [ + [11, "p1Score"], + [8, 2], + [7, [96]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 936881399069341, + null, + [ + [11, "p2Score"], + [8, 2], + [7, [96]] + ] + ] + ], + [ + [-1, 119, null, 885017546761039, 0, null], + [-1, 74, null, 885684961338667, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 385326869674219, + 121, + [[-1, 39, null, 0, false, false, false, 373053060333779, null]], + [], + [ + [ + 0, + 0, + false, + null, + 605550283910238, + 122, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 318517585337147, + null, + [ + [11, "p1Score"], + [8, 5], + [7, [96]] + ] + ] + ], + [[-2, "gameOver", null, 999942894942948, 0, null, [[1, [116]]]]] + ], + [ + 0, + 0, + false, + null, + 470832160460214, + 123, + [[-1, 39, null, 0, false, false, false, 953461121725139, null]], + [[-2, "gameOver", null, 205103088191470, 0, null, [[1, [117]]]]] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 820567048447002, + 124, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 183099311061566, + null, + [ + [11, "goal"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 120, + null, + 152700717861418, + 0, + null, + [ + [0, [118, [4, 121], [1, 9, 52, false], [4, 37]]], + [0, [119, [4, 122]]] + ] + ], + [-1, 123, null, 533963281087562, 0, null, [[0, [120, [4, 124], [4, 37]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 211333034083388, + 125, + [[22, 75, "Timer", 0, false, false, false, 246281522109945, null, [[1, [113]]]]], + [ + [22, 125, null, 223083540402947, 0, null, [[0, [121]]]], + [22, 126, null, 490727383165699, 0, null, [[0, [122, [4, 98]]]]], + [ + 22, + 50, + "Timer", + 541675785350289, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [123]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 231011438389849, + 126, + [[22, 75, "Timer", 0, false, false, false, 134636312957892, null, [[1, [123]]]]], + [ + [22, 125, null, 550870160672192, 0, null, [[0, [5]]]], + [22, 126, null, 702910927209570, 0, null, [[0, [124, [4, 98]]]]], + [ + 22, + 50, + "Timer", + 292397011245738, + 0, + null, + [ + [0, [23]], + [3, 0], + [1, [113]] + ] + ] + ] + ] + ] + ], + [ + 3, + [true, "End"], + false, + null, + 739620096340547, + 127, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [125]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 164370333053836, + 128, + [[16, 127, "Tween", 0, false, false, false, 873375018224241, null, [[1, [126]]]]], + [ + [ + -1, + 128, + null, + 784965340374361, + 0, + null, + [ + [5, [127]], + [0, [128, [0, 16, "Tween", 129, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 966802454675834, + 129, + [[16, 130, "Tween", 1, false, false, false, 640512727380186, null, [[1, [126]]]]], + [ + [ + -1, + 128, + null, + 456882907562642, + 0, + null, + [ + [5, [127]], + [0, [129]] + ] + ] + ] + ], + [ + 4, + [ + "gameOver", + 0, + [[1, "who", 1, "", false, false, 585962555298105, false, 20]], + true, + false + ], + false, + null, + 565963435492618, + 130, + [], + [ + [ + 6, + 72, + null, + 596082241022385, + 0, + null, + [ + [2, ["menu", false]], + [3, 1], + [0, [64]], + [1, [130]] + ] + ], + [6, 131, null, 905581813377383, 0, null, [[1, [131]]]], + [ + 6, + 72, + null, + 840898379653452, + 0, + null, + [ + [2, ["win", false]], + [3, 0], + [0, [69]], + [1, [132]] + ] + ], + [47, 106, null, 370256423758114, 0, null], + [ + 16, + 132, + "Tween", + 497724149145609, + 1, + null, + [ + [1, [126]], + [0, [4]], + [0, [129]], + [0, [28]], + [18, 1], + [3, 0] + ] + ], + [ + -1, + 128, + null, + 977968489710498, + 0, + null, + [ + [5, [127]], + [0, [4]] + ] + ], + [ + -1, + 133, + null, + 683360837405343, + 0, + null, + [ + [5, [133]], + [3, 1] + ] + ], + [21, 134, null, 542958537233625, 0, null, [[5, [134]]]], + [22, 135, null, 673080752122027, 0, null, [[5, [134]]]], + [-1, 73, null, 421677819623936, 2, null, [[0, [114]]]], + [ + -1, + 136, + null, + 999981598537614, + 0, + null, + [ + [4, 51], + [5, [134]], + [0, [4]], + [0, [135]] + ] + ], + [ + 51, + 137, + null, + 723069309609422, + 0, + null, + [ + [0, [136]], + [0, [137]] + ] + ], + [ + -1, + 136, + null, + 868484130857558, + 0, + null, + [ + [4, 51], + [5, [134]], + [0, [4]], + [0, [138]] + ] + ], + [ + 51, + 137, + null, + 414999656874426, + 0, + null, + [ + [0, [136]], + [0, [43]] + ] + ], + [ + -1, + 136, + null, + 329503698124844, + 0, + null, + [ + [4, 51], + [5, [134]], + [0, [4]], + [0, [139]] + ] + ], + [ + 51, + 137, + null, + 942429315045689, + 0, + null, + [ + [0, [136]], + [0, [43]] + ] + ], + [ + -1, + 136, + null, + 300544945198360, + 0, + null, + [ + [4, 52], + [5, [134]], + [0, [140]], + [0, [141]] + ] + ], + [ + 52, + 138, + "Tween", + 856127507174776, + 1, + null, + [ + [1, [142]], + [3, 0], + [0, [143]], + [0, [28]], + [18, 9], + [3, 0] + ] + ], + [ + -1, + 136, + null, + 768272981595778, + 0, + null, + [ + [4, 53], + [5, [134]], + [0, [144]], + [0, [145]] + ] + ], + [ + 53, + 32, + null, + 470195214178491, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ], + [ + -1, + 136, + null, + 440050873527110, + 0, + null, + [ + [4, 55], + [5, [134]], + [0, [143]], + [0, [145]] + ] + ], + [ + 55, + 32, + null, + 257211661486965, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ], + [ + -1, + 136, + null, + 950570781698858, + 0, + null, + [ + [4, 54], + [5, [134]], + [0, [146]], + [0, [145]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 833797330398783, + 131, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 481539189826273, + null, + [ + [11, "who"], + [8, 0], + [7, [117]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 963453263147041, + 132, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 108885782533715, + null, + [ + [11, "CPU"], + [8, 0], + [7, [4]] + ] + ] + ], + [[52, 101, null, 679349033173424, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + false, + null, + 390730169655330, + 133, + [[-1, 39, null, 0, false, false, false, 142155781110973, null]], + [[52, 101, null, 556803202447673, 0, null, [[0, [43]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 243855942448118, + 134, + [ + [-1, 39, null, 0, false, false, false, 704202642432436, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 859368397804082, + null, + [ + [11, "who"], + [8, 0], + [7, [116]] + ] + ] + ], + [[52, 101, null, 228472030731829, 0, null, [[0, [16]]]]] + ] + ] + ] + ] + ], + [ + 3, + [true, "CPU"], + false, + null, + 530508175565659, + 135, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [147]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 449721042005000, + 136, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 711638242528235, + null, + [ + [11, "CPU"], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 154525866267729, + 137, + [ + [ + 47, + 24, + null, + 0, + false, + false, + false, + 716054302400291, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 201796063458814, null] + ], + [[47, 106, null, 267349564349857, 0, null]] + ], + [ + 0, + 0, + false, + null, + 367414079887502, + 138, + [ + [16, 75, "Timer", 0, false, false, false, 535330297641889, null, [[1, [148]]]] + ], + [ + [16, 139, "Timer", 654366704049888, 0, null, [[1, [148]]]], + [ + -1, + 46, + null, + 341718967251151, + 0, + null, + [ + [11, "P2Control"], + [7, [5]] + ] + ], + [ + 16, + 50, + "Timer", + 722486978134726, + 0, + null, + [ + [0, [149, [4, 33]]], + [3, 0], + [1, [150]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 895848273891725, + 139, + [ + [16, 75, "Timer", 0, false, false, false, 359018830192252, null, [[1, [150]]]] + ], + [ + [ + -1, + 46, + null, + 442597276338997, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 326362097079423, + 140, + [ + [16, 75, "Timer", 0, false, false, false, 928993279469071, null, [[1, [151]]]] + ], + [ + [ + 16, + 50, + "Timer", + 978068940237260, + 0, + null, + [ + [0, [152]], + [3, 0], + [1, [27]] + ] + ], + [ + -1, + 46, + null, + 289509259559742, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 207272745776170, + 141, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 227659939737215, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 377857528428878, + null, + [ + [11, "CPU"], + [8, 0], + [7, [5]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 765283862365355, + null, + [ + [11, "P2Control"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 712092961118039, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 196710956661398, + null, + [ + [10, 4], + [8, 2], + [7, [43]] + ] + ], + [106, 26, null, 0, false, false, false, 192160123008542, null, [[4, 8]]] + ], + [], + [ + [ + 0, + 0, + false, + null, + 264325632962497, + 142, + [ + [16, 54, "Timer", 0, false, true, false, 638075469472172, null, [[1, [150]]]], + [-1, 27, null, 0, false, false, false, 646881915916072, null] + ], + [ + [ + 16, + 50, + "Timer", + 881477378718413, + 0, + null, + [ + [0, [16]], + [3, 0], + [1, [148]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 347904729817310, + 143, + [ + [ + 106, + 140, + null, + 0, + false, + false, + true, + 501059744888775, + null, + [ + [3, 0], + [0, [18, [1, 103, 52, false]]], + [0, [18, [1, 103, 53, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 716854368222074, + 144, + [ + [ + 106, + 30, + null, + 0, + false, + false, + false, + 836334173933546, + null, + [ + [8, 3], + [0, [18, [1, 103, 52, false]]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 426456459692535, + 145, + [ + [ + 106, + 38, + null, + 0, + false, + false, + false, + 166743882126628, + null, + [ + [0, [17]], + [0, [153]] + ] + ], + [-1, 27, null, 0, false, false, false, 852005330621429, null] + ], + [ + [ + -1, + 46, + null, + 465431476670359, + 0, + null, + [ + [11, "P2Control"], + [7, [5]] + ] + ], + [16, 139, "Timer", 132774992350628, 0, null, [[1, [148]]]], + [ + 16, + 50, + "Timer", + 557079237573016, + 0, + null, + [ + [0, [149, [4, 33]]], + [3, 0], + [1, [150]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 646781596647051, + 146, + [[-1, 39, null, 0, false, false, false, 837102068090336, null]], + [], + [ + [ + 0, + 0, + false, + null, + 761243727335206, + 147, + [ + [ + 106, + 38, + null, + 0, + false, + false, + false, + 595443249778423, + null, + [ + [0, [154]], + [0, [155]] + ] + ], + [-1, 27, null, 0, false, false, false, 230467821244152, null] + ], + [ + [ + -1, + 46, + null, + 454519077247621, + 0, + null, + [ + [11, "P2Control"], + [7, [5]] + ] + ], + [16, 139, "Timer", 439226663640009, 0, null, [[1, [148]]]], + [ + 16, + 50, + "Timer", + 563918878632062, + 0, + null, + [ + [0, [149, [4, 33]]], + [3, 0], + [1, [150]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 480065350305972, + 148, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 507810086253604, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 339588076034927, + null, + [ + [11, "CPU"], + [8, 0], + [7, [5]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 995871559365545, + null, + [ + [10, 4], + [8, 5], + [7, [43]] + ] + ], + [106, 26, null, 0, false, false, false, 311430060076251, null, [[4, 8]]], + [16, 54, "Timer", 0, false, true, false, 974700185191781, null, [[1, [151]]]], + [16, 54, "Timer", 0, false, true, false, 235349111413232, null, [[1, [27]]]], + [-1, 27, null, 0, false, false, false, 260720100234376, null] + ], + [ + [16, 139, "Timer", 810834220139816, 0, null, [[1, [150]]]], + [16, 139, "Timer", 511296602576466, 0, null, [[1, [148]]]], + [ + -1, + 46, + null, + 730756356680788, + 0, + null, + [ + [11, "P2Control"], + [7, [5]] + ] + ], + [ + 16, + 50, + "Timer", + 293160911737292, + 0, + null, + [ + [0, [156]], + [3, 0], + [1, [151]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 315262562975878, + 149, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 742093152555848, + null, + [ + [11, "CPU"], + [8, 0], + [7, [5]] + ] + ], + [-1, 27, null, 0, false, false, false, 869852554292600, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 234440580382484, + 150, + [ + [ + 73, + 24, + null, + 0, + false, + false, + false, + 141372714351589, + null, + [ + [10, 3], + [8, 0], + [7, [5]] + ] + ] + ], + [[73, 115, null, 441868666778520, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + false, + null, + 565870197847310, + 151, + [ + [ + 73, + 24, + null, + 0, + false, + false, + false, + 100580809255464, + null, + [ + [10, 3], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [73, 115, null, 338336340730867, 0, null, [[0, [16]]]], + [73, 55, null, 409819828193519, 0, null, [[0, [157, [1, 73, 52, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 374465267481306, + 152, + [ + [ + 73, + 24, + null, + 0, + false, + false, + false, + 316513408643783, + null, + [ + [10, 3], + [8, 0], + [7, [43]] + ] + ] + ], + [[73, 45, null, 887577173785396, 0, null, [[0, [158]]]]] + ] + ] + ] + ] + ] + ] + ], + [ + "tailEvent", + [ + [ + 3, + [true, "Trail"], + false, + null, + 257286037967047, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [159]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 114652227592561, + 2, + [[-1, 141, null, 0, false, false, false, 395316124724531, null, [[0, [115]]]]], + [ + [ + 28, + 142, + null, + 546610506957521, + 0, + null, + [ + [3, 0], + [7, [160, [1, 103, 52, false]]], + [3, 0] + ] + ], + [ + 28, + 143, + null, + 295624453473955, + 0, + null, + [ + [0, [161, [1, 28, 144, false]]], + [0, [5]], + [7, [18, [1, 103, 53, false]]] + ] + ], + [27, 145, null, 158456162916997, 0, null, [[0, [162, [4, 146]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 763934725885159, + 3, + [ + [ + 28, + 147, + null, + 0, + false, + false, + false, + 880291736088064, + null, + [ + [3, 0], + [8, 4], + [0, [62]] + ] + ] + ], + [ + [ + 28, + 148, + null, + 231005797831656, + 0, + null, + [ + [3, 1], + [3, 0] + ] + ] + ] + ], + [1, "op", 0, 30, false, false, 843020092725876, false, 155], + [1, "i", 0, 0, false, false, 174319663190866, false, 156], + [1, "x0", 0, 0, false, false, 715445963225628, false, 157], + [1, "y0", 0, 0, false, false, 302578370038738, false, 158], + [1, "a0", 0, 0, false, false, 427487805537182, false, 159], + [1, "x1", 0, 0, false, false, 182216236209474, false, 160], + [1, "y1", 0, 0, false, false, 507124621418132, false, 161], + [1, "a1", 0, 0, false, false, 263265423652571, false, 162], + [ + 0, + 0, + false, + null, + 911257026357328, + 4, + [ + [ + -1, + 149, + null, + 0, + true, + false, + false, + 546848836570800, + null, + [[0, [163, [1, 28, 144, false]]]] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 461721981279997, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 204685133855541, + 0, + null, + [ + [11, "i"], + [7, [164, [4, 150]]] + ] + ], + [ + -1, + 46, + null, + 910424285571717, + 0, + null, + [ + [11, "x0"], + [7, [165, [1, 28, 151, false], [3, "i"]]] + ] + ], + [ + -1, + 46, + null, + 963006473893448, + 0, + null, + [ + [11, "y0"], + [7, [166, [1, 28, 151, false], [3, "i"]]] + ] + ], + [ + -1, + 46, + null, + 882220856902344, + 0, + null, + [ + [11, "a0"], + [ + 7, + [ + 167, + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"] + ] + ] + ] + ], + [ + -1, + 46, + null, + 320473395944015, + 0, + null, + [ + [11, "x1"], + [7, [168, [1, 28, 151, false], [3, "i"]]] + ] + ], + [ + -1, + 46, + null, + 417211034263251, + 0, + null, + [ + [11, "y1"], + [7, [169, [1, 28, 151, false], [3, "i"]]] + ] + ], + [ + -1, + 46, + null, + 431114005130968, + 0, + null, + [ + [11, "a1"], + [ + 7, + [ + 170, + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"], + [1, 28, 151, false], + [3, "i"] + ] + ] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 637263225269377, + 5, + [], + [ + [27, 152, null, 494574799019905, 0, null], + [ + 27, + 153, + null, + 729436824539902, + 0, + null, + [ + [0, [171, [3, "x0"], [2, 103, false, 1], [3, "a0"], [3, "i"]]], + [0, [172, [3, "y0"], [2, 103, false, 1], [3, "a0"], [3, "i"]]] + ] + ], + [ + 27, + 153, + null, + 754384758143555, + 0, + null, + [ + [0, [171, [3, "x1"], [2, 103, false, 1], [3, "a1"], [3, "i"]]], + [0, [172, [3, "y1"], [2, 103, false, 1], [3, "a1"], [3, "i"]]] + ] + ], + [ + 27, + 153, + null, + 262332115378593, + 0, + null, + [ + [0, [173, [3, "x1"], [2, 103, false, 1], [3, "a1"], [3, "i"]]], + [0, [174, [3, "y1"], [2, 103, false, 1], [3, "a1"], [3, "i"]]] + ] + ], + [ + 27, + 153, + null, + 806475285182729, + 0, + null, + [ + [0, [173, [3, "x0"], [2, 103, false, 1], [3, "a0"], [3, "i"]]], + [0, [174, [3, "y0"], [2, 103, false, 1], [3, "a0"], [3, "i"]]] + ] + ], + [ + 27, + 154, + null, + 199183519851327, + 0, + null, + [[0, [175, [4, 146], [2, 103, false, 1], [3, "i"], [3, "op"]]]] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 688674112379168, + 6, + [[9, 155, null, 0, false, false, false, 416822722074651, null, [[1, [176]]]]], + [], + [ + [1, "speed", 0, 0.1, false, false, 395604681028587, false, 134], + [ + 0, + 0, + false, + null, + 206947808690108, + 7, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 746878450388408, + null, + [[1, [177]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 152040760617761, + 1, + null, + [ + [1, [178]], + [3, 6], + [0, [179, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 359827542629079, + 8, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 874231135491614, + null, + [[1, [178]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 685929146886561, + 1, + null, + [ + [1, [180]], + [3, 6], + [0, [181, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 852893446494524, + 9, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 568714194249812, + null, + [[1, [180]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 353235814367062, + 1, + null, + [ + [1, [182]], + [3, 6], + [0, [183, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 485824114198035, + 10, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 352615990571451, + null, + [[1, [182]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 221127984922617, + 1, + null, + [ + [1, [184]], + [3, 6], + [0, [185, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 397224435442816, + 11, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 922232060102947, + null, + [[1, [184]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 835780872394795, + 1, + null, + [ + [1, [186]], + [3, 6], + [0, [187, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 130464026679155, + 12, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 420593664922555, + null, + [[1, [186]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 818281186329480, + 1, + null, + [ + [1, [188]], + [3, 6], + [0, [189, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 469891185657079, + 13, + [ + [ + 27, + 130, + "Tween", + 1, + false, + false, + false, + 182478997297001, + null, + [[1, [188]]] + ] + ], + [ + [ + 27, + 138, + "Tween", + 193857561814062, + 1, + null, + [ + [1, [177]], + [3, 6], + [0, [190, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 874537592541057, + 14, + [[-1, 27, null, 0, false, false, false, 618752200904904, null]], + [ + [ + 27, + 138, + "Tween", + 576555390058148, + 1, + null, + [ + [1, [178]], + [3, 6], + [0, [179, [4, 98]]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "bonusEvent", + [ + [ + 3, + [true, "Bonus"], + false, + null, + 956453493758386, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [191]]]]], + [], + [ + [1, "rndChar", 0, -1, false, false, 742416866043478, false, 163], + [1, "rndBall", 0, -1, false, false, 849531964858953, false, 164], + [1, "rndGoal", 0, -1, false, false, 347139371839372, false, 165], + [1, "rndPlace", 0, 0, false, false, 274951061636774, false, 166], + [1, "rndArm", 0, 0, false, false, 174776722011300, false, 167], + [1, "startText", 1, "", true, false, 622506128811027, false, 168], + [1, "waitText", 0, 0, true, false, 565732277731813, false, 169], + [ + 0, + 0, + false, + null, + 540770498405480, + 2, + [[-1, 21, null, 1, false, false, false, 359764889336009, null]], + [ + [ + -1, + 46, + null, + 276926334299341, + 0, + null, + [ + [11, "biz"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 199175216613942, + 0, + null, + [ + [11, "waitText"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 632663787920614, + 0, + null, + [ + [11, "startText"], + [7, [65]] + ] + ], + [ + -1, + 46, + null, + 769877089534004, + 0, + null, + [ + [11, "P1Control"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 714826707419554, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 162994352768924, + 0, + null, + [ + [11, "goal"], + [7, [16]] + ] + ], + [-1, 71, null, 511969153524805, 0, null, [[0, [5]]]], + [-1, 123, null, 406341147910603, 0, null, [[0, [5]]]], + [ + -1, + 120, + null, + 857274338095309, + 0, + null, + [ + [0, [143]], + [0, [192]] + ] + ], + [ + 50, + 77, + null, + 705290066214414, + 0, + null, + [ + [0, [193, [4, 87], [4, 88]]], + [0, [193, [4, 90], [4, 85]]] + ] + ], + [ + 50, + 59, + null, + 794744499737912, + 0, + null, + [ + [0, [143]], + [0, [192]] + ] + ], + [50, 156, null, 539260649965305, 0, null] + ], + [ + [ + 0, + 0, + false, + null, + 433098845719659, + 3, + [ + [ + -1, + 43, + null, + 0, + false, + false, + false, + 319494658650602, + null, + [ + [7, [108, [3, "p1Score"], [3, "p2Score"]]], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 338612316711468, + 0, + null, + [ + [11, "rndChar"], + [7, [22]] + ] + ], + [ + -1, + 46, + null, + 519926140008140, + 0, + null, + [ + [11, "rndBall"], + [7, [22]] + ] + ], + [ + -1, + 46, + null, + 348584287341001, + 0, + null, + [ + [11, "rndGoal"], + [7, [22]] + ] + ], + [ + -1, + 46, + null, + 898201030504401, + 0, + null, + [ + [11, "rndPlace"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 447866254839180, + 0, + null, + [ + [11, "rndArm"], + [7, [4]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 550218774964454, + 4, + [[-1, 39, null, 0, false, false, false, 581786005262591, null]], + [ + [ + -1, + 46, + null, + 756403539399700, + 0, + null, + [ + [11, "rndChar"], + [7, [194, [4, 95], [4, 93], [4, 95]]] + ] + ], + [ + -1, + 46, + null, + 324180225076448, + 0, + null, + [ + [11, "rndBall"], + [7, [195, [4, 95], [4, 93], [4, 33]]] + ] + ], + [ + -1, + 46, + null, + 301739695132046, + 0, + null, + [ + [11, "rndGoal"], + [7, [196, [3, "rndBall"], [4, 95], [4, 95], [4, 95], [4, 93], [4, 33]]] + ] + ], + [ + -1, + 46, + null, + 323324992585309, + 0, + null, + [ + [11, "rndArm"], + [7, [197, [4, 95], [4, 93], [4, 33]]] + ] + ], + [ + -1, + 46, + null, + 137159986773889, + 0, + null, + [ + [11, "rndPlace"], + [7, [198, [4, 95]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 730592326514494, + 5, + [[-1, 114, null, 0, true, false, false, 804397799785687, null, [[4, 84]]]], + [], + [ + [ + 0, + 0, + false, + null, + 580261258922446, + 6, + [ + [ + 74, + 24, + null, + 0, + false, + false, + false, + 179665556052633, + null, + [ + [10, 0], + [8, 0], + [7, [12, [2, 84, false, 0]]] + ] + ] + ], + [ + [ + 84, + 76, + "Pin", + 878562757243756, + 0, + null, + [ + [4, 74], + [16, true], + [16, true], + [16, true], + [3, 0], + [3, 0], + [16, false] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 885981868895236, + 7, + [[-1, 114, null, 0, true, false, false, 843046400515064, null, [[4, 86]]]], + [], + [ + [ + 0, + 0, + false, + null, + 240478161813757, + 8, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 131075951075554, + null, + [ + [11, "rndGoal"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 86, + 55, + null, + 135989481866635, + 0, + null, + [[0, [199, [1, 86, 52, false], [2, 86, false, 0]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 304752559086373, + 9, + [ + [ + 74, + 24, + null, + 0, + false, + false, + false, + 769128056032344, + null, + [ + [10, 0], + [8, 0], + [7, [12, [2, 86, false, 0]]] + ] + ] + ], + [ + [ + 86, + 76, + "Pin", + 951941254419502, + 0, + null, + [ + [4, 74], + [16, true], + [16, true], + [16, false], + [3, 0], + [3, 0], + [16, false] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 165890832831200, + 10, + [], + [ + [70, 101, null, 204966429813468, 0, null, [[0, [10, [3, "rndArm"]]]]], + [77, 101, null, 254066171379944, 0, null, [[0, [10, [3, "rndArm"]]]]], + [78, 101, null, 980036158208258, 0, null, [[0, [10, [3, "rndArm"]]]]], + [79, 101, null, 905165777345535, 0, null, [[0, [10, [3, "rndArm"]]]]] + ], + [ + [ + 0, + 0, + false, + null, + 105199123200601, + 11, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 928763252126508, + null, + [ + [11, "rndArm"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 620185249622621, + 0, + null, + [ + [11, "startText"], + [7, [200, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 881289202374713, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 547318712222429, + 12, + [ + [-1, 39, null, 0, false, false, false, 510723082983548, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 117392659516172, + null, + [ + [11, "rndArm"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 775911987662707, + 0, + null, + [ + [11, "startText"], + [7, [201, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 176118281034990, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 610278463514342, + 13, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 113997363114174, + null, + [ + [11, "rndPlace"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [43, 158, null, 869311593017902, 0, null], + [61, 96, null, 465237530561644, 0, null], + [ + -1, + 46, + null, + 973899054070621, + 0, + null, + [ + [11, "wooble"], + [7, [202]] + ] + ], + [ + -1, + 46, + null, + 842424014611554, + 0, + null, + [ + [11, "angularMaxRND"], + [7, [203]] + ] + ], + [ + -1, + 46, + null, + 781580439597365, + 0, + null, + [ + [11, "angularSub"], + [7, [3]] + ] + ], + [66, 96, null, 463017219273664, 0, null], + [93, 96, null, 687357006462483, 0, null], + [69, 106, null, 459327855434658, 0, null], + [67, 96, null, 220960315743669, 0, null], + [68, 106, null, 473087239237610, 0, null], + [89, 96, null, 128956447273169, 0, null], + [96, 106, null, 734588097097763, 0, null], + [90, 96, null, 510785169293731, 0, null], + [91, 96, null, 399057068531659, 0, null], + [97, 96, null, 547588567723071, 0, null], + [98, 106, null, 467845328041054, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 801187896773351, + 14, + [ + [-1, 39, null, 0, false, false, false, 626959118332555, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 490417162986825, + null, + [ + [11, "rndPlace"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 235752225689298, + 0, + null, + [ + [11, "startText"], + [7, [204, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 701463472694720, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [88, 99, null, 748249925031414, 0, null, [[0, [205, [4, 98]]]]], + [ + -1, + 46, + null, + 153164966450044, + 0, + null, + [ + [11, "rndBall"], + [7, [22]] + ] + ], + [66, 96, null, 625582797570642, 0, null], + [93, 96, null, 748492446383842, 0, null], + [17, 96, null, 498795795627104, 0, null], + [24, 99, null, 559135859190582, 0, null, [[0, [206]]]], + [18, 102, null, 201145002037929, 0, null, [[0, [207, [4, 98]]]]], + [ + 16, + 32, + null, + 203609212277004, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ], + [19, 102, null, 329396605550907, 0, null, [[0, [207, [4, 98]]]]], + [ + -1, + 46, + null, + 255290451261448, + 0, + null, + [ + [11, "wooble"], + [7, [208]] + ] + ], + [ + -1, + 46, + null, + 400960807838100, + 0, + null, + [ + [11, "angularMaxRND"], + [7, [209]] + ] + ], + [ + -1, + 46, + null, + 788340281206741, + 0, + null, + [ + [11, "angularMinRND"], + [7, [203]] + ] + ], + [ + -1, + 46, + null, + 836097743210310, + 0, + null, + [ + [11, "angularSub"], + [7, [47]] + ] + ], + [89, 96, null, 921079151438397, 0, null], + [96, 106, null, 755954602790306, 0, null], + [ + -1, + 46, + null, + 719771706136832, + 0, + null, + [ + [11, "rndPlace"], + [7, [4]] + ] + ], + [90, 96, null, 520635472650029, 0, null], + [91, 96, null, 579881668432349, 0, null], + [69, 106, null, 499474153395507, 0, null], + [67, 96, null, 432912405143221, 0, null], + [68, 106, null, 675357664437065, 0, null], + [26, 96, null, 324833817869931, 0, null], + [62, 96, null, 737672411149966, 0, null], + [63, 96, null, 234232817494037, 0, null], + [98, 106, null, 272241853851582, 0, null], + [40, 96, null, 993356859531007, 0, null], + [25, 96, null, 690727501517834, 0, null], + [-1, 73, null, 394063510943361, 2, null, [[0, [4]]]], + [ + -1, + 97, + null, + 614997342162917, + 0, + null, + [ + [5, [4]], + [0, [210, [4, 98]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 580168408267646, + 15, + [ + [ + 0, + 24, + null, + 0, + false, + false, + false, + 999939404143822, + null, + [ + [10, 1], + [8, 0], + [7, [4]] + ] + ], + [ + 0, + 24, + null, + 0, + false, + false, + false, + 746321653657940, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[0, 159, "Physics", 976133194744146, 0, null, [[0, [4]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 820179838908346, + 16, + [ + [-1, 39, null, 0, false, false, false, 819440457440282, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 516175671610466, + null, + [ + [11, "rndPlace"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [97, 96, null, 421842013598440, 0, null], + [ + -1, + 117, + null, + 430804160990001, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [88, 96, null, 910468859047740, 0, null], + [90, 96, null, 821534519893009, 0, null], + [91, 96, null, 369048765465504, 0, null], + [93, 96, null, 821182906598460, 0, null], + [43, 158, null, 257559951875506, 0, null], + [61, 96, null, 944910735962622, 0, null], + [17, 96, null, 779152263258759, 0, null], + [ + -1, + 46, + null, + 491020490145121, + 0, + null, + [ + [11, "wooble"], + [7, [202]] + ] + ], + [ + -1, + 46, + null, + 405889529842202, + 0, + null, + [ + [11, "angularMaxRND"], + [7, [203]] + ] + ], + [ + -1, + 46, + null, + 770668402894029, + 0, + null, + [ + [11, "angularSub"], + [7, [3]] + ] + ], + [18, 102, null, 274538101787611, 0, null, [[0, [124, [4, 98]]]]], + [19, 102, null, 239550021095243, 0, null, [[0, [124, [4, 98]]]]], + [23, 96, null, 486798682792909, 0, null], + [24, 96, null, 328731027567305, 0, null], + [26, 96, null, 234188068107298, 0, null], + [62, 96, null, 133316122787588, 0, null], + [63, 96, null, 605946069994689, 0, null], + [40, 96, null, 817830493547274, 0, null], + [89, 96, null, 775844640952882, 0, null], + [96, 106, null, 869450888315389, 0, null], + [ + -1, + 46, + null, + 630627717822145, + 0, + null, + [ + [11, "rndPlace"], + [7, [4]] + ] + ], + [-1, 73, null, 116977229920918, 2, null, [[0, [4]]]], + [ + -1, + 97, + null, + 736391687143603, + 0, + null, + [ + [5, [4]], + [0, [211, [4, 98]]] + ] + ], + [25, 99, null, 600043185088949, 0, null, [[0, [212, [4, 98]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 401917153264415, + 17, + [ + [-1, 39, null, 0, false, false, false, 694237648029613, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 287467878081469, + null, + [ + [11, "rndPlace"], + [8, 0], + [7, [43]] + ] + ] + ], + [ + [97, 96, null, 202649800334005, 0, null], + [ + -1, + 117, + null, + 992755025052616, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [88, 99, null, 504033199309204, 0, null, [[0, [213, [4, 98]]]]], + [ + -1, + 46, + null, + 612362874436062, + 0, + null, + [ + [11, "wooble"], + [7, [202]] + ] + ], + [ + -1, + 46, + null, + 121037438137912, + 0, + null, + [ + [11, "angularMaxRND"], + [7, [203]] + ] + ], + [ + -1, + 46, + null, + 106940773073673, + 0, + null, + [ + [11, "angularSub"], + [7, [3]] + ] + ], + [18, 102, null, 145268499697248, 0, null, [[0, [214, [4, 98]]]]], + [19, 102, null, 779870569501190, 0, null, [[0, [214, [4, 98]]]]], + [43, 158, null, 835796121592613, 0, null], + [61, 96, null, 651246211761111, 0, null], + [66, 96, null, 885659242589557, 0, null], + [69, 106, null, 725464659479107, 0, null], + [67, 96, null, 746568674398138, 0, null], + [68, 106, null, 170830588738578, 0, null], + [25, 96, null, 702512170664544, 0, null], + [23, 96, null, 841066071318437, 0, null], + [24, 96, null, 569894797761798, 0, null], + [98, 106, null, 139227200556767, 0, null], + [26, 96, null, 794326757731007, 0, null], + [62, 96, null, 194997545509963, 0, null], + [63, 96, null, 349642237169909, 0, null], + [40, 96, null, 586017990825770, 0, null], + [17, 96, null, 724358229291689, 0, null], + [-1, 73, null, 735851544950046, 2, null, [[0, [4]]]], + [ + -1, + 97, + null, + 818238932388417, + 0, + null, + [ + [5, [4]], + [0, [215, [4, 98]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 676048785017342, + 18, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 925036354271151, + null, + [ + [11, "rndChar"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 524525645176153, + 0, + null, + [ + [11, "startText"], + [7, [216, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 503844909213121, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [4, 56, null, 625702497044122, 0, null, [[0, [217]]]], + [29, 56, null, 119003149932102, 0, null, [[0, [217]]]], + [34, 56, null, 464484053459446, 0, null, [[0, [217]]]], + [37, 56, null, 894596713742362, 0, null, [[0, [217]]]], + [5, 56, null, 712217590415207, 0, null, [[0, [217]]]], + [11, 56, null, 711749850779713, 0, null, [[0, [217]]]], + [11, 160, null, 941127370919313, 0, null, [[0, [163, [1, 11, 53, false]]]]], + [4, 160, null, 992899747798489, 0, null, [[0, [218, [1, 4, 53, false]]]]], + [29, 160, null, 308375387031561, 0, null, [[0, [218, [1, 29, 53, false]]]]], + [34, 160, null, 556658908925162, 0, null, [[0, [218, [1, 34, 53, false]]]]], + [37, 160, null, 823449525989656, 0, null, [[0, [218, [1, 37, 53, false]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 753052014454803, + 19, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 275166225044997, + null, + [ + [11, "rndChar"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 347987035010631, + 0, + null, + [ + [11, "startText"], + [7, [219, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 146695307033164, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [4, 56, null, 727947295824800, 0, null, [[0, [220]]]], + [29, 56, null, 301157664277063, 0, null, [[0, [220]]]], + [34, 56, null, 921253750723455, 0, null, [[0, [220]]]], + [37, 56, null, 712266402568996, 0, null, [[0, [220]]]], + [5, 56, null, 112759451561093, 0, null, [[0, [220]]]], + [4, 160, null, 585212491631444, 0, null, [[0, [218, [1, 4, 53, false]]]]], + [29, 160, null, 648925716202209, 0, null, [[0, [218, [1, 29, 53, false]]]]], + [34, 160, null, 889234924061189, 0, null, [[0, [218, [1, 34, 53, false]]]]], + [37, 160, null, 269180280787142, 0, null, [[0, [218, [1, 37, 53, false]]]]], + [11, 106, null, 394700474775040, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 277447076693249, + 20, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 977030542399950, + null, + [ + [11, "rndChar"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 208671509893440, + 0, + null, + [ + [11, "biz"], + [7, [5]] + ] + ], + [ + -1, + 46, + null, + 264790651365950, + 0, + null, + [ + [11, "startText"], + [7, [221, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 834965001910235, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [ + 10, + 161, + null, + 664271703404648, + 0, + null, + [ + [1, [222]], + [3, 1] + ] + ], + [ + 13, + 161, + null, + 862107633385672, + 0, + null, + [ + [1, [222]], + [3, 1] + ] + ], + [-1, 73, null, 883728421200957, 2, null, [[0, [4]]]], + [ + 12, + 161, + null, + 378686042214339, + 0, + null, + [ + [1, [222]], + [3, 1] + ] + ], + [ + 70, + 162, + null, + 947595778221297, + 0, + null, + [ + [4, 95], + [5, [18, [1, 70, 163, true]]], + [7, [4]] + ] + ], + [ + 95, + 161, + null, + 300791806494612, + 0, + null, + [ + [1, [222]], + [3, 0] + ] + ], + [ + 95, + 61, + null, + 808754593881174, + 0, + null, + [ + [3, 0], + [4, 70] + ] + ], + [ + 95, + 164, + "Pin", + 975883694598828, + 0, + null, + [ + [4, 70], + [7, [4]], + [16, true], + [3, 0], + [3, 0], + [16, false] + ] + ], + [ + 77, + 162, + null, + 686848263291856, + 0, + null, + [ + [4, 95], + [5, [18, [1, 77, 163, true]]], + [7, [4]] + ] + ], + [ + 95, + 161, + null, + 171119481023345, + 0, + null, + [ + [1, [222]], + [3, 0] + ] + ], + [ + 95, + 61, + null, + 485346984677417, + 0, + null, + [ + [3, 0], + [4, 77] + ] + ], + [ + 95, + 164, + "Pin", + 275548074510873, + 0, + null, + [ + [4, 77], + [7, [4]], + [16, true], + [3, 0], + [3, 0], + [16, false] + ] + ], + [ + 78, + 162, + null, + 690901481093239, + 0, + null, + [ + [4, 95], + [5, [18, [1, 78, 163, true]]], + [7, [4]] + ] + ], + [ + 95, + 61, + null, + 296031300747462, + 0, + null, + [ + [3, 0], + [4, 78] + ] + ], + [ + 95, + 164, + "Pin", + 948849651020216, + 0, + null, + [ + [4, 78], + [7, [4]], + [16, true], + [3, 0], + [3, 0], + [16, false] + ] + ], + [ + 79, + 162, + null, + 170176746291188, + 0, + null, + [ + [4, 95], + [5, [18, [1, 79, 163, true]]], + [7, [4]] + ] + ], + [ + 95, + 61, + null, + 729508387103569, + 0, + null, + [ + [3, 0], + [4, 79] + ] + ], + [ + 95, + 164, + "Pin", + 564871297892573, + 0, + null, + [ + [4, 79], + [7, [4]], + [16, true], + [3, 0], + [3, 0], + [16, false] + ] + ] + ], + [ + [ + 0, + 0, + true, + null, + 466866317677561, + 21, + [ + [ + 10, + 24, + null, + 0, + false, + false, + false, + 180153307361798, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ], + [ + 10, + 24, + null, + 0, + false, + false, + false, + 996134523192531, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [[10, 101, null, 377916354296207, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + true, + null, + 406309735939516, + 22, + [ + [ + 13, + 24, + null, + 0, + false, + false, + false, + 595314326984963, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ], + [ + 13, + 24, + null, + 0, + false, + false, + false, + 489446837100036, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ] + ], + [[13, 101, null, 940695329394003, 0, null, [[0, [5]]]]] + ], + [ + 0, + 0, + true, + null, + 691865629383638, + 23, + [ + [ + 12, + 24, + null, + 0, + false, + false, + false, + 855082950130788, + null, + [ + [10, 0], + [8, 0], + [7, [16]] + ] + ], + [ + 12, + 24, + null, + 0, + false, + false, + false, + 440555310472783, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [[12, 101, null, 871550118455714, 0, null, [[0, [5]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 111255187952742, + 24, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 762104550422903, + null, + [ + [11, "rndBall"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 628968896388976, + 0, + null, + [ + [11, "startText"], + [7, [223, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 711598098531202, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [41, 106, null, 784920317365595, 0, null], + [ + -1, + 136, + null, + 405854021041303, + 0, + null, + [ + [4, 7], + [5, [224]], + [0, [18, [1, 9, 52, false]]], + [0, [18, [1, 9, 53, false]]] + ] + ], + [ + 9, + 161, + null, + 896137997982239, + 0, + null, + [ + [1, [225]], + [3, 1] + ] + ], + [ + 7, + 32, + null, + 656121864857855, + 0, + null, + [ + [10, 0], + [7, [156]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 227474149604159, + 25, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 467125086104365, + null, + [ + [11, "rndBall"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 864179958651255, + 0, + null, + [ + [11, "startText"], + [7, [226, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 344353408458647, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [41, 106, null, 742578190935405, 0, null], + [ + 9, + 161, + null, + 688144202161213, + 0, + null, + [ + [1, [227]], + [3, 1] + ] + ], + [ + -1, + 136, + null, + 965175176707421, + 0, + null, + [ + [4, 42], + [5, [224]], + [0, [18, [1, 9, 52, false]]], + [0, [18, [1, 9, 53, false]]] + ] + ], + [ + 42, + 32, + null, + 152513216566318, + 0, + null, + [ + [10, 0], + [7, [156]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 220010309108852, + 27, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 338925348409582, + null, + [ + [11, "rndBall"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 801364855315298, + 0, + null, + [ + [11, "startText"], + [7, [228, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 111170159082196, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [ + 9, + 161, + null, + 111429410350803, + 0, + null, + [ + [1, [176]], + [3, 1] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 410523815627138, + 28, + [], + [ + [103, 165, "Physics", 733649625930674, 0, null, [[0, [47]]]], + [-1, 73, null, 397615449069035, 2, null, [[0, [4]]]] + ] + ], + [1, "meter", 0, 15, false, true, 255200327312553, false, 170], + [ + 0, + 0, + false, + null, + 691735268532665, + 29, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 887178699993683, + null, + [ + [11, "rndGoal"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 798972382778254, + 0, + null, + [ + [11, "startText"], + [7, [229, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 868009508535434, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [74, 160, null, 627466278779278, 0, null, [[0, [230, [1, 74, 53, false]]]]], + [71, 160, null, 247015777401306, 0, null, [[0, [230, [1, 71, 53, false]]]]], + [73, 160, null, 614463234246323, 0, null, [[0, [230, [1, 73, 53, false]]]]], + [83, 160, null, 765343119894067, 0, null, [[0, [230, [1, 83, 53, false]]]]], + [76, 160, null, 240978623655886, 0, null, [[0, [230, [1, 76, 53, false]]]]], + [75, 86, null, 208100737623040, 0, null, [[0, [231, [1, 75, 166, false]]]]] + ], + [ + [ + 0, + 0, + false, + null, + 469033997734397, + 30, + [ + [ + 0, + 24, + null, + 0, + false, + false, + false, + 974090695793787, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [0, 115, null, 288973104491660, 0, null, [[0, [231, [1, 0, 78, false]]]]], + [0, 160, null, 208629192748105, 0, null, [[0, [232]]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 330211381761711, + 31, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 994465731403768, + null, + [ + [11, "rndGoal"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 475206035772677, + 0, + null, + [ + [11, "startText"], + [7, [233, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 492858672534089, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [74, 160, null, 475275884506071, 0, null, [[0, [231, [1, 74, 53, false]]]]], + [71, 160, null, 816813646542402, 0, null, [[0, [231, [1, 71, 53, false]]]]], + [73, 160, null, 138964788281964, 0, null, [[0, [231, [1, 73, 53, false]]]]], + [76, 160, null, 872337489277065, 0, null, [[0, [231, [1, 76, 53, false]]]]], + [83, 160, null, 918876177398062, 0, null, [[0, [231, [1, 83, 53, false]]]]], + [75, 86, null, 483578087975844, 0, null, [[0, [230, [1, 75, 166, false]]]]] + ], + [ + [ + 0, + 0, + false, + null, + 108621759237385, + 32, + [ + [ + 0, + 24, + null, + 0, + false, + false, + false, + 273465843615562, + null, + [ + [10, 1], + [8, 0], + [7, [5]] + ] + ] + ], + [] + ] + ] + ], + [ + 0, + 0, + false, + null, + 426549301453789, + 33, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 663387583052302, + null, + [ + [11, "rndGoal"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 448498822996657, + 0, + null, + [ + [11, "startText"], + [7, [234, [3, "startText"], [4, 157], [3, "startText"]]] + ] + ], + [ + -1, + 117, + null, + 384198501348003, + 0, + null, + [ + [11, "waitText"], + [7, [5]] + ] + ], + [74, 101, null, 394314636748335, 0, null, [[0, [5]]]], + [84, 101, null, 171721355600662, 0, null, [[0, [5]]]], + [86, 101, null, 203439012382970, 0, null, [[0, [5]]]], + [83, 115, null, 708896950812174, 0, null, [[0, [235, [1, 83, 78, false]]]]], + [76, 115, null, 925647844923284, 0, null, [[0, [235, [1, 76, 78, false]]]]], + [ + 83, + 55, + null, + 602545242075102, + 0, + null, + [[0, [236, [1, 83, 52, false], [2, 83, false, 0]]]] + ], + [ + 76, + 55, + null, + 414671078691120, + 0, + null, + [[0, [236, [1, 76, 52, false], [2, 76, false, 0]]]] + ] + ], + [ + [ + 0, + 0, + false, + null, + 829187604828566, + 34, + [ + [ + 71, + 24, + null, + 0, + false, + false, + false, + 355905412696272, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [[71, 55, null, 225398354656105, 0, null, [[0, [235, [1, 71, 52, false]]]]]] + ], + [ + 0, + 0, + false, + null, + 816916539585986, + 35, + [ + [ + 73, + 24, + null, + 0, + false, + false, + false, + 195276882644114, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [[73, 55, null, 935060445095423, 0, null, [[0, [237, [1, 73, 52, false]]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 152153459918955, + 36, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 551914789168748, + null, + [ + [11, "startText"], + [8, 1], + [7, [65]] + ] + ] + ], + [ + [ + -1, + 136, + null, + 977385319945597, + 0, + null, + [ + [4, 92], + [5, [238]], + [0, [143]], + [0, [96]] + ] + ], + [92, 110, null, 600554436128466, 0, null, [[7, [10, [3, "startText"]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 551544465649956, + 37, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 324356660714727, + null, + [ + [11, "menu"], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [-1, 73, null, 724746800937903, 2, null, [[0, [239, [3, "waitText"]]]]], + [ + 6, + 72, + null, + 128438944562315, + 0, + null, + [ + [2, ["refsoc", false]], + [3, 0], + [0, [240]], + [1, [241]] + ] + ], + [ + 6, + 167, + null, + 914240102930417, + 0, + null, + [ + [1, [241]], + [0, [121]] + ] + ], + [8, 168, null, 105263869679804, 0, null, [[3, 1]]], + [103, 64, "Physics", 134375473853963, 0, null, [[3, 0]]], + [ + -1, + 46, + null, + 364741305349859, + 0, + null, + [ + [11, "goal"], + [7, [4]] + ] + ], + [16, 70, null, 837868947476110, 0, null, [[3, 1]]], + [ + 92, + 138, + "Tween", + 293579834375961, + 1, + null, + [ + [1, [242]], + [3, 1], + [0, [243]], + [0, [28]], + [18, 8], + [3, 1] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 241282302068457, + 38, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 938341336240258, + null, + [ + [11, "rndBall"], + [8, 0], + [7, [16]] + ] + ] + ], + [ + [ + 6, + 167, + null, + 733366355021478, + 0, + null, + [ + [1, [131]], + [0, [121]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 528456956032953, + 39, + [[-1, 39, null, 0, false, false, false, 744454137683367, null]], + [ + [ + 6, + 167, + null, + 388186154840179, + 0, + null, + [ + [1, [131]], + [0, [5]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 219441910842912, + 40, + [[95, 63, null, 1, false, false, false, 316929297670279, null]], + [[95, 101, null, 367963848985724, 0, null, [[0, [18, [1, 70, 169, false]]]]]] + ] + ] + ], + [ + 3, + [true, "Effect"], + false, + null, + 688861007028982, + 41, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [244]]]]], + [], + [ + [1, "speed", 0, 0.3, false, false, 259611595560641, false, 134], + [ + 4, + [ + "goalText", + 0, + [[1, "who", 0, 0, false, false, 594720735489185, false, 20]], + true, + false + ], + false, + null, + 845855455676986, + 42, + [], + [ + [ + 6, + 72, + null, + 686136460054945, + 0, + null, + [ + [2, ["goasoc", false]], + [3, 0], + [0, [69]], + [1, [245]] + ] + ], + [ + -1, + 136, + null, + 298619922161464, + 0, + null, + [ + [4, 57], + [5, [134]], + [0, [140]], + [0, [141]] + ] + ], + [57, 101, null, 740270993497229, 0, null, [[0, [10, [3, "who"]]]]], + [ + -1, + 113, + null, + 712961830861123, + 0, + null, + [ + [4, 57], + [0, [5]] + ] + ], + [ + 57, + 77, + null, + 541993555348503, + 0, + null, + [ + [0, [4]], + [0, [4]] + ] + ], + [ + 57, + 170, + "Tween", + 430167112413146, + 1, + null, + [ + [1, [65]], + [3, 1], + [0, [246]], + [0, [247]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ], + [ + 57, + 138, + "Tween", + 935141459233500, + 1, + null, + [ + [1, [248]], + [3, 0], + [0, [143]], + [0, [10, [3, "speed"]]], + [18, 3], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 187614231745097, + 43, + [[57, 130, "Tween", 1, false, false, false, 396853894477169, null, [[1, [248]]]]], + [ + [57, 171, "Sine", 725440088800119, 0, null, [[3, 1]]], + [-1, 73, null, 137148110381740, 2, null, [[0, [23]]]], + [57, 171, "Sine", 181702715984786, 0, null, [[3, 0]]], + [57, 45, null, 331676496334688, 0, null, [[0, [4]]]], + [ + 57, + 138, + "Tween", + 234445692007799, + 1, + null, + [ + [1, [249]], + [3, 0], + [0, [250]], + [0, [10, [3, "speed"]]], + [18, 2], + [3, 1] + ] + ], + [ + 57, + 170, + "Tween", + 282909168492014, + 1, + null, + [ + [1, [65]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [10, [3, "speed"]]], + [18, 0], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 514268410054362, + 44, + [[9, 60, null, 0, false, false, true, 698679129175387, null, [[4, 99]]]], + [[-2, "createBallFX", null, 595057604903871, 0, null]] + ], + [ + 0, + 0, + false, + null, + 966440633984446, + 45, + [ + [9, 60, null, 0, false, false, true, 365630041672096, null, [[4, 0]]], + [ + 0, + 24, + null, + 0, + false, + false, + false, + 618240542488949, + null, + [ + [10, 0], + [8, 1], + [7, [4]] + ] + ] + ], + [[-2, "createBallFX", null, 615629378505574, 0, null]] + ], + [ + 0, + 0, + true, + null, + 879010276950115, + 46, + [ + [87, 60, null, 0, false, false, true, 990294621276013, null, [[4, 71]]], + [87, 60, null, 0, false, false, true, 666219640099099, null, [[4, 73]]] + ], + [], + [ + [ + 0, + 0, + false, + null, + 635000742528837, + 47, + [[103, 54, "Timer", 0, false, true, false, 745925838450169, null, [[1, [24]]]]], + [[-2, "createBallFX", null, 752468407816151, 0, null]] + ] + ] + ], + [ + 4, + ["createBallFX", 0, [], true, false], + false, + null, + 112949983451340, + 48, + [], + [], + [ + [ + 0, + 0, + true, + null, + 159134165807914, + 49, + [ + [ + 103, + 24, + null, + 0, + false, + false, + false, + 808980549935449, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 9, + 162, + null, + 684622738080150, + 0, + null, + [ + [4, 56], + [5, [224]], + [7, [4]] + ] + ], + [56, 45, null, 760445920708961, 0, null, [[0, [4]]]], + [ + 56, + 170, + "Tween", + 461511688568950, + 1, + null, + [ + [1, [251]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [28]], + [18, 3], + [3, 1] + ] + ], + [ + 56, + 61, + null, + 646581273676987, + 0, + null, + [ + [3, 1], + [4, 9] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 126920213807355, + 50, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 241628024925266, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + 16, + 54, + "Timer", + 0, + false, + true, + false, + 978238846308932, + null, + [[1, [252]]] + ] + ], + [ + [ + 6, + 72, + null, + 321083613663726, + 0, + null, + [ + [2, ["bup", false]], + [3, 0], + [0, [253]], + [1, [252]] + ] + ], + [ + 16, + 50, + "Timer", + 116958714438109, + 0, + null, + [ + [0, [111]], + [3, 0], + [1, [252]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 4, + ["createBallFX2", 0, [], true, false], + false, + null, + 512039896767293, + 51, + [], + [], + [ + [ + 0, + 0, + true, + null, + 127066374242057, + 52, + [], + [ + [ + 9, + 162, + null, + 588875882893243, + 0, + null, + [ + [4, 56], + [5, [224]], + [7, [4]] + ] + ], + [56, 45, null, 944826087584122, 0, null, [[0, [4]]]], + [ + 56, + 170, + "Tween", + 733244549267496, + 1, + null, + [ + [1, [251]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [28]], + [18, 3], + [3, 1] + ] + ], + [ + 56, + 61, + null, + 306027333159187, + 0, + null, + [ + [3, 1], + [4, 9] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 993603675431242, + 53, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 978250809018426, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + 16, + 54, + "Timer", + 0, + false, + true, + false, + 294365323106198, + null, + [[1, [252]]] + ] + ], + [ + [ + 6, + 72, + null, + 428288332826457, + 0, + null, + [ + [2, ["bup", false]], + [3, 0], + [0, [253]], + [1, [252]] + ] + ], + [ + 16, + 50, + "Timer", + 810982819084219, + 0, + null, + [ + [0, [111]], + [3, 0], + [1, [252]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 963184685794547, + 54, + [[86, 75, "Timer", 0, false, false, false, 925967068817368, null, [[1, [254]]]]], + [[86, 171, "Sine", 857600996135653, 0, null, [[3, 0]]]] + ], + [ + 0, + 0, + false, + null, + 901720087330142, + 55, + [ + [86, 172, "Sine", 0, false, true, false, 274543033215317, null], + [ + 86, + 38, + null, + 0, + false, + true, + false, + 401976057630655, + null, + [ + [0, [4]], + [0, [5]] + ] + ] + ], + [ + [ + 86, + 45, + null, + 972879642002590, + 0, + null, + [[0, [255, [4, 173], [1, 86, 44, false], [4, 37]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 282547623789874, + 56, + [ + [87, 26, null, 0, false, false, false, 306500663920672, null, [[4, 71]]], + [103, 54, "Timer", 0, false, true, false, 380997929828173, null, [[1, [24]]]], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 517910138444068, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 730424041065727, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 188278287195816, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 197655769158254, + 57, + [[9, 155, null, 0, false, false, false, 368474998942922, null, [[1, [225]]]]], + [ + [ + 6, + 72, + null, + 464724296578389, + 0, + null, + [ + [2, ["metal", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 949392864404886, + 58, + [[-1, 39, null, 0, false, false, false, 713825269748526, null]], + [ + [ + 6, + 72, + null, + 534742661822076, + 0, + null, + [ + [2, ["bellsoc", false]], + [3, 0], + [0, [64]], + [1, [65]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 920524990606353, + 59, + [ + [ + 74, + 24, + null, + 0, + false, + false, + false, + 878512038146260, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [74, 45, null, 116674834158755, 0, null, [[0, [43]]]], + [-1, 73, null, 933147252112693, 2, null, [[0, [23]]]], + [74, 45, null, 692891803217193, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 317471614492092, + 60, + [ + [ + 86, + 24, + null, + 0, + false, + false, + false, + 278167953271126, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [86, 171, "Sine", 798902718509979, 0, null, [[3, 1]]], + [ + 86, + 50, + "Timer", + 589848492575796, + 0, + null, + [ + [0, [43]], + [3, 0], + [1, [254]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 659019359090277, + 61, + [ + [87, 26, null, 0, false, false, false, 927550335789027, null, [[4, 73]]], + [103, 54, "Timer", 0, false, true, false, 945386994317747, null, [[1, [24]]]], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 365617313405153, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ], + [ + 103, + 24, + null, + 0, + false, + false, + false, + 131782662840566, + null, + [ + [10, 2], + [8, 0], + [7, [4]] + ] + ], + [-1, 27, null, 0, false, false, false, 401971581257106, null] + ], + [], + [ + [ + 0, + 0, + false, + null, + 151751982724731, + 62, + [[9, 155, null, 0, false, false, false, 213600802232338, null, [[1, [225]]]]], + [ + [ + 6, + 72, + null, + 935438893041667, + 0, + null, + [ + [2, ["metal", false]], + [3, 0], + [0, [69]], + [1, [65]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 366508876755095, + 63, + [[-1, 39, null, 0, false, false, false, 923118057769389, null]], + [ + [ + 6, + 72, + null, + 526858020577375, + 0, + null, + [ + [2, ["bellsoc", false]], + [3, 0], + [0, [64]], + [1, [65]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 267063248768907, + 64, + [ + [ + 74, + 24, + null, + 0, + false, + false, + false, + 469826953060564, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [74, 45, null, 222686498429610, 0, null, [[0, [256]]]], + [-1, 73, null, 639464377075377, 2, null, [[0, [23]]]], + [74, 45, null, 199707033550828, 0, null, [[0, [4]]]] + ] + ], + [ + 0, + 0, + false, + null, + 407901664088255, + 65, + [ + [ + 86, + 24, + null, + 0, + false, + false, + false, + 550189907167358, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [ + [86, 171, "Sine", 174652883950452, 0, null, [[3, 1]]], + [ + 86, + 50, + "Timer", + 150728390622076, + 0, + null, + [ + [0, [43]], + [3, 0], + [1, [254]] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "pauseEvent", + [ + [1, "pause", 0, 0, false, false, 895506763348983, false, 34], + [ + 0, + 0, + false, + null, + 825090527993167, + 1, + [[44, 174, null, 1, false, false, false, 659059519260433, null, [[4, 20]]]], + [ + [ + 6, + 72, + null, + 173731787408582, + 0, + null, + [ + [2, ["buttonx", false]], + [3, 0], + [0, [69]], + [1, [132]] + ] + ], + [ + 49, + 175, + null, + 589893877690458, + 0, + null, + [ + [1, [257]], + [1, [258]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 104936265089412, + 2, + [ + [44, 174, null, 1, false, false, false, 850778254561887, null, [[4, 16]]], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 340355566469653, + null, + [ + [11, "pause"], + [8, 0], + [7, [4]] + ] + ], + [16, 176, null, 0, false, false, false, 701580087498232, null], + [ + -1, + 25, + null, + 0, + false, + false, + false, + 412923529791305, + null, + [ + [11, "goal"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + -1, + 46, + null, + 636030774850120, + 0, + null, + [ + [11, "pause"], + [7, [5]] + ] + ], + [ + -1, + 133, + null, + 966652434682216, + 0, + null, + [ + [5, [133]], + [3, 1] + ] + ], + [ + -1, + 128, + null, + 314835388166640, + 0, + null, + [ + [5, [127]], + [0, [259]] + ] + ], + [-1, 71, null, 372408713399458, 0, null, [[0, [4]]]], + [ + -1, + 136, + null, + 254619703127637, + 0, + null, + [ + [4, 48], + [5, [134]], + [0, [144]], + [0, [192]] + ] + ], + [ + -1, + 136, + null, + 505512727394381, + 0, + null, + [ + [4, 48], + [5, [134]], + [0, [260]], + [0, [192]] + ] + ], + [48, 101, null, 311082476139821, 0, null, [[0, [16]]]], + [ + -1, + 136, + null, + 456113876811105, + 0, + null, + [ + [4, 48], + [5, [134]], + [0, [143]], + [0, [192]] + ] + ], + [48, 101, null, 299379731995145, 0, null, [[0, [5]]]], + [6, 177, null, 786508752233035, 0, null, [[3, 0]]] + ] + ], + [ + 0, + 0, + false, + null, + 380752203964988, + 3, + [ + [44, 178, null, 1, false, false, false, 143057716904910, null], + [44, 104, null, 0, false, false, false, 928877045704012, null, [[4, 48]]], + [ + 48, + 24, + null, + 0, + false, + false, + false, + 200808475829643, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 421532680566161, + 4, + [ + [ + 48, + 179, + null, + 0, + false, + false, + false, + 352683704942487, + null, + [ + [8, 0], + [0, [4]] + ] + ] + ], + [ + [6, 177, null, 456781807972748, 0, null, [[3, 1]]], + [ + -1, + 133, + null, + 809652937660021, + 0, + null, + [ + [5, [133]], + [3, 0] + ] + ], + [ + -1, + 46, + null, + 854057059129383, + 0, + null, + [ + [11, "pause"], + [7, [4]] + ] + ], + [20, 70, null, 130804770750645, 0, null, [[3, 1]]] + ], + [ + [ + 0, + 0, + false, + null, + 907273234062272, + 5, + [[-1, 180, null, 0, false, false, false, 158445655676582, null, [[4, 48]]]], + [ + [48, 106, null, 363259760452518, 0, null], + [-1, 71, null, 167992988193975, 0, null, [[0, [5]]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 512289786308736, + 6, + [ + [-1, 39, null, 0, false, false, false, 108412349524451, null], + [ + 48, + 179, + null, + 0, + false, + false, + false, + 895628152841931, + null, + [ + [8, 0], + [0, [5]] + ] + ] + ], + [ + [6, 177, null, 217297452779535, 0, null, [[3, 1]]], + [6, 181, null, 774846416127975, 0, null], + [-1, 182, null, 845125447194050, 0, null], + [-1, 74, null, 987914159531714, 0, null] + ] + ], + [ + 0, + 0, + false, + null, + 207121579631934, + 7, + [ + [-1, 39, null, 0, false, false, false, 759691866309721, null], + [ + 48, + 179, + null, + 0, + false, + false, + false, + 545179275048067, + null, + [ + [8, 0], + [0, [16]] + ] + ] + ], + [ + [ + 49, + 175, + null, + 256821211327176, + 0, + null, + [ + [1, [257]], + [1, [258]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 883798968650037, + 8, + [], + [ + [ + 6, + 72, + null, + 977759798927656, + 0, + null, + [ + [2, ["buttonx", false]], + [3, 0], + [0, [69]], + [1, [132]] + ] + ] + ] + ] + ] + ] + ] + ], + [ + "menuEvent", + [ + [1, "menu", 0, 0, false, false, 552810473595513, false, 171], + [ + 3, + [true, "Menu"], + false, + null, + 250689675360837, + 1, + [[-1, 20, null, 0, false, false, false, 0, false, [[1, [261]]]]], + [], + [ + [ + 0, + 0, + false, + null, + 385574708920391, + 2, + [[-1, 21, null, 1, false, false, false, 505578862372840, null]], + [[8, 168, null, 350655939620105, 0, null, [[3, 0]]]], + [ + [ + 0, + 0, + false, + null, + 328425080771235, + 3, + [], + [ + [ + 65, + 32, + null, + 385950107749256, + 0, + null, + [ + [10, 0], + [7, [262, [1, 65, 52, false], [1, 52, 52, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 241480286152321, + 4, + [ + [ + -1, + 25, + null, + 0, + false, + false, + false, + 652382698245950, + null, + [ + [11, "menu"], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [ + 6, + 72, + null, + 175027897965173, + 0, + null, + [ + [2, ["menu", false]], + [3, 1], + [0, [64]], + [1, [130]] + ] + ], + [6, 131, null, 499887973918403, 0, null, [[1, [131]]]], + [-1, 73, null, 322215829073993, 2, null, [[0, [114]]]], + [ + 52, + 138, + "Tween", + 382456410818317, + 1, + null, + [ + [1, [142]], + [3, 0], + [0, [143]], + [0, [28]], + [18, 9], + [3, 0] + ] + ], + [ + 6, + 72, + null, + 991045166414713, + 0, + null, + [ + [2, ["start", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 810102759188452, + 5, + [[-1, 39, null, 0, false, false, false, 852419433470608, null]], + [ + [ + -1, + 133, + null, + 208060148991117, + 0, + null, + [ + [5, [127]], + [3, 0] + ] + ], + [52, 106, null, 793534791641230, 0, null], + [51, 96, null, 502896963729282, 0, null], + [53, 106, null, 925845965113145, 0, null], + [55, 106, null, 172430297314068, 0, null], + [54, 106, null, 421120934833515, 0, null], + [47, 70, null, 985845086157123, 0, null, [[3, 1]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 518625068017289, + 6, + [[52, 130, "Tween", 1, false, false, false, 190305828392346, null, [[1, [142]]]]], + [ + [ + 53, + 170, + "Tween", + 995268526522716, + 1, + null, + [ + [1, [263]], + [3, 1], + [0, [129]], + [0, [129]], + [0, [28]], + [18, 9], + [3, 0] + ] + ], + [-1, 73, null, 658485621008789, 2, null, [[0, [23]]]], + [ + 55, + 170, + "Tween", + 114560151193827, + 1, + null, + [ + [1, [263]], + [3, 1], + [0, [129]], + [0, [129]], + [0, [28]], + [18, 9], + [3, 0] + ] + ], + [-1, 73, null, 274938776112968, 2, null, [[0, [23]]]], + [ + 54, + 170, + "Tween", + 340655216554254, + 1, + null, + [ + [1, [263]], + [3, 1], + [0, [129]], + [0, [129]], + [0, [28]], + [18, 9], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 472965571049301, + 7, + [[44, 174, null, 1, false, false, false, 723109858170073, null, [[4, 54]]]], + [ + [ + 6, + 72, + null, + 666872093993787, + 0, + null, + [ + [2, ["buttonx", false]], + [3, 0], + [0, [69]], + [1, [132]] + ] + ], + [ + 49, + 175, + null, + 638665889915007, + 0, + null, + [ + [1, [257]], + [1, [258]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 220509110097831, + 8, + [ + [44, 174, null, 1, false, false, false, 645740547566525, null, [[4, 104]]], + [53, 183, "Tween", 0, false, true, false, 301030362709757, null] + ], + [ + [ + 53, + 32, + null, + 397347164498523, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [ + 54, + 32, + null, + 553226961212552, + 0, + null, + [ + [10, 0], + [7, [4]] + ] + ], + [ + 55, + 32, + null, + 608552645968727, + 0, + null, + [ + [10, 2], + [7, [4]] + ] + ], + [6, 131, null, 569406237054321, 0, null, [[1, [130]]]], + [ + 6, + 72, + null, + 801321072643581, + 0, + null, + [ + [2, ["music", false]], + [3, 1], + [0, [264]], + [1, [131]] + ] + ], + [ + 6, + 184, + null, + 177400152091586, + 0, + null, + [ + [1, [131]], + [0, [265, [4, 33]]] + ] + ], + [ + 6, + 72, + null, + 804549528257727, + 0, + null, + [ + [2, ["buttonx", false]], + [3, 0], + [0, [69]], + [1, [132]] + ] + ], + [ + 53, + 170, + "Tween", + 747554248458229, + 1, + null, + [ + [1, [251]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [28]], + [18, 8], + [3, 1] + ] + ], + [ + 55, + 170, + "Tween", + 805881890677231, + 1, + null, + [ + [1, [251]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [28]], + [18, 8], + [3, 1] + ] + ], + [ + 54, + 170, + "Tween", + 893160896554593, + 1, + null, + [ + [1, [251]], + [3, 1], + [0, [4]], + [0, [4]], + [0, [28]], + [18, 8], + [3, 1] + ] + ], + [ + 52, + 138, + "Tween", + 317052082426668, + 1, + null, + [ + [1, [266]], + [3, 0], + [0, [140]], + [0, [28]], + [18, 8], + [3, 1] + ] + ], + [51, 185, "Fade", 623528240146081, 0, null], + [ + -1, + 46, + null, + 701690715891419, + 0, + null, + [ + [11, "menu"], + [7, [5]] + ] + ], + [ + 16, + 132, + "Tween", + 481708193505084, + 1, + null, + [ + [1, [267]], + [0, [129]], + [0, [4]], + [0, [28]], + [18, 1], + [3, 0] + ] + ], + [ + -1, + 46, + null, + 455514286987757, + 0, + null, + [ + [11, "CPU"], + [7, [268, [2, 104, false, 1]]] + ] + ] + ], + [ + [ + 0, + 0, + false, + null, + 416813908708458, + 9, + [ + [ + 104, + 24, + null, + 0, + false, + false, + false, + 517173878703751, + null, + [ + [10, 0], + [8, 0], + [7, [4]] + ] + ] + ], + [ + [-1, 73, null, 620913483551537, 2, null, [[0, [152]]]], + [ + 6, + 72, + null, + 971517192627160, + 0, + null, + [ + [2, ["refsoc", false]], + [3, 0], + [0, [240]], + [1, [241]] + ] + ], + [ + 6, + 167, + null, + 737179471870983, + 0, + null, + [ + [1, [241]], + [0, [121]] + ] + ], + [16, 70, null, 667980947733684, 0, null, [[3, 1]]], + [8, 168, null, 181626304721179, 0, null, [[3, 1]]], + [103, 64, "Physics", 271320600831843, 0, null, [[3, 0]]], + [ + -1, + 46, + null, + 243692792625215, + 0, + null, + [ + [11, "goal"], + [7, [4]] + ] + ], + [47, 70, null, 200482707283861, 0, null, [[3, 1]]] + ] + ], + [ + 0, + 0, + false, + null, + 628620436164260, + 10, + [[-1, 39, null, 0, false, false, false, 578384599124295, null]], + [ + [-1, 73, null, 582045429916430, 2, null, [[0, [28]]]], + [-1, 74, null, 181035226174185, 0, null], + [ + -1, + 46, + null, + 596955461069876, + 0, + null, + [ + [11, "goal"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 316184816610911, + 0, + null, + [ + [11, "p1Score"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 245486689923637, + 0, + null, + [ + [11, "p2Score"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 122377043936756, + 0, + null, + [ + [11, "P1Control"], + [7, [4]] + ] + ], + [ + -1, + 46, + null, + 369294083768305, + 0, + null, + [ + [11, "P2Control"], + [7, [4]] + ] + ] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 850824268737758, + 11, + [[16, 127, "Tween", 0, false, false, false, 879645646628815, null, [[1, [267]]]]], + [ + [ + -1, + 128, + null, + 447663746736666, + 0, + null, + [ + [5, [127]], + [0, [269, [0, 16, "Tween", 129, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 577092143400223, + 12, + [[16, 130, "Tween", 1, false, false, false, 352101396796876, null, [[1, [267]]]]], + [ + [ + -1, + 128, + null, + 126445194739049, + 0, + null, + [ + [5, [127]], + [0, [4]] + ] + ], + [ + -1, + 133, + null, + 407975923533417, + 0, + null, + [ + [5, [127]], + [3, 0] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 709866254290034, + 13, + [[53, 186, "Tween", 1, false, false, false, 260246317247305, null]], + [ + [ + 53, + 32, + null, + 342819126594452, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 441376995004059, + 14, + [ + [ + 53, + 24, + null, + 0, + false, + false, + false, + 453613041886680, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 421012283256538, + 15, + [[31, 187, null, 0, false, false, false, 235656255141556, null, [[4, 53]]]], + [[53, 56, null, 859239617718351, 0, null, [[0, [270]]]]] + ], + [ + 0, + 0, + false, + null, + 157663606018438, + 16, + [[-1, 39, null, 0, false, false, false, 119648225565424, null]], + [[53, 56, null, 554118252606210, 0, null, [[0, [5]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 814934606788951, + 17, + [[55, 186, "Tween", 1, false, false, false, 891488023581390, null]], + [ + [ + 55, + 32, + null, + 993643474234676, + 0, + null, + [ + [10, 2], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 235656310340649, + 18, + [ + [ + 55, + 24, + null, + 0, + false, + false, + false, + 404348056595807, + null, + [ + [10, 2], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 726911164845993, + 19, + [[31, 187, null, 0, false, false, false, 551329344948066, null, [[4, 55]]]], + [[55, 56, null, 468729716795801, 0, null, [[0, [270]]]]] + ], + [ + 0, + 0, + false, + null, + 515422872420718, + 20, + [[-1, 39, null, 0, false, false, false, 174893846482520, null]], + [[55, 56, null, 530428509176708, 0, null, [[0, [5]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 474393175838554, + 21, + [[54, 186, "Tween", 1, false, false, false, 779238575630928, null]], + [ + [ + 54, + 32, + null, + 757770830222606, + 0, + null, + [ + [10, 0], + [7, [5]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 486345870663350, + 22, + [ + [ + 54, + 24, + null, + 0, + false, + false, + false, + 665235926087549, + null, + [ + [10, 0], + [8, 0], + [7, [5]] + ] + ] + ], + [], + [ + [ + 0, + 0, + false, + null, + 477463783581383, + 23, + [[31, 187, null, 0, false, false, false, 134952775826759, null, [[4, 54]]]], + [[54, 56, null, 596603935640830, 0, null, [[0, [270]]]]] + ], + [ + 0, + 0, + false, + null, + 754677656171732, + 24, + [[-1, 39, null, 0, false, false, false, 550245179264101, null]], + [[54, 56, null, 815481943588434, 0, null, [[0, [5]]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 322874037935790, + 25, + [], + [ + [ + 65, + 55, + null, + 297839950539074, + 0, + null, + [[0, [271, [1, 52, 52, false], [2, 65, false, 0]]]] + ] + ] + ], + [ + 0, + 0, + false, + null, + 322760807047531, + 26, + [[52, 188, null, 1, false, false, false, 168856014680437, null]], + [[65, 106, null, 308115303477679, 0, null]] + ] + ] + ] + ] + ], + [ + "introEvent", + [ + [ + 0, + 0, + false, + null, + 681901161449260, + 1, + [[-1, 189, null, 0, false, false, false, 229845352838503, null]], + [ + [ + 58, + 77, + null, + 329109012726913, + 0, + null, + [ + [0, [272, [4, 87], [4, 88]]], + [0, [272, [4, 90], [4, 85]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 480687243566136, + 2, + [[-1, 21, null, 1, false, false, false, 699080750419268, null]], + [ + [58, 190, null, 316411442771980, 0, null], + [59, 190, null, 352202166348136, 0, null], + [58, 101, null, 191329346818353, 0, null, [[0, [273, [4, 33]]]]] + ] + ], + [ + 0, + 0, + false, + null, + 309390352101713, + 3, + [[31, 187, null, 0, false, false, false, 717278334829358, null, [[4, 60]]]], + [ + [ + 60, + 77, + null, + 370002709338337, + 0, + null, + [ + [0, [274, [1, 60, 78, false]]], + [0, [274, [1, 60, 79, false]]] + ] + ], + [31, 191, null, 171388744098824, 0, null, [[3, 1]]], + [-1, 73, null, 934214259655863, 2, null, [[0, [23]]]], + [31, 191, null, 777223009083487, 0, null, [[3, 0]]], + [ + 60, + 77, + null, + 689618878772062, + 0, + null, + [ + [0, [18, [1, 60, 78, false]]], + [0, [18, [1, 60, 79, false]]] + ] + ] + ] + ], + [ + 0, + 0, + false, + null, + 968957417293005, + 4, + [[44, 174, null, 1, false, false, false, 147592349995746, null, [[4, 60]]]], + [ + [60, 106, null, 132310157385107, 0, null], + [-1, 73, null, 231697589900346, 2, null, [[0, [114]]]], + [59, 101, null, 181904084843864, 0, null, [[0, [5]]]], + [ + 6, + 72, + null, + 897397998728369, + 0, + null, + [ + [2, ["intro-button", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ], + [58, 101, null, 536993638502752, 0, null, [[0, [273, [4, 33]]]]], + [-1, 73, null, 449816202459747, 2, null, [[0, [275]]]], + [59, 101, null, 733297802334909, 0, null, [[0, [16]]]], + [ + 6, + 72, + null, + 940046026342190, + 0, + null, + [ + [2, ["intro-button", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ], + [58, 101, null, 840563158524728, 0, null, [[0, [273, [4, 33]]]]], + [-1, 73, null, 565832426677336, 2, null, [[0, [275]]]], + [59, 101, null, 924785499613085, 0, null, [[0, [43]]]], + [ + 6, + 72, + null, + 415834187444094, + 0, + null, + [ + [2, ["intro-button", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ], + [58, 101, null, 358338365083368, 0, null, [[0, [273, [4, 33]]]]], + [-1, 73, null, 609997169822952, 2, null, [[0, [275]]]], + [59, 101, null, 186994527415285, 0, null, [[0, [47]]]], + [ + 6, + 72, + null, + 271582200218153, + 0, + null, + [ + [2, ["intro-button", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ], + [58, 101, null, 139967920539195, 0, null, [[0, [273, [4, 33]]]]], + [-1, 73, null, 786125679466317, 2, null, [[0, [275]]]], + [ + 6, + 72, + null, + 471732060320295, + 0, + null, + [ + [2, ["intro-sound", false]], + [3, 0], + [0, [4]], + [1, [132]] + ] + ], + [-1, 73, null, 209860270099605, 2, null, [[0, [43]]]], + [-1, 192, null, 180211804012098, 0, null, [[6, "game"]]] + ] + ] + ] + ] + ], + [ + ["buttonx", [["audio/webm; codecs=opus", ".webm", 1594]], false], + ["start", [["audio/webm; codecs=opus", ".webm", 21451]], false], + ["win", [["audio/webm; codecs=opus", ".webm", 29710]], false], + ["jump", [["audio/webm; codecs=opus", ".webm", 1873]], false], + ["intro-button", [["audio/webm; codecs=opus", ".webm", 12499]], false], + ["intro-sound", [["audio/webm; codecs=opus", ".webm", 38492]], false], + ["bup", [["audio/webm; codecs=opus", ".webm", 3362]], false], + ["bellsoc", [["audio/webm; codecs=opus", ".webm", 1875]], false], + ["goasoc", [["audio/webm; codecs=opus", ".webm", 22282]], false], + ["refsoc", [["audio/webm; codecs=opus", ".webm", 6254]], false], + ["file", [["audio/webm; codecs=opus", ".webm", 5268]], false], + ["wrong", [["audio/webm; codecs=opus", ".webm", 5314]], false], + ["menu", [["audio/webm; codecs=opus", ".webm", 41953]], false], + ["press", [["audio/webm; codecs=opus", ".webm", 3216]], false], + ["music", [["audio/webm; codecs=opus", ".webm", 290354]], false], + ["metal", [["audio/webm; codecs=opus", ".webm", 3958]], false] + ], + "media/", + false, + 290, + 190, + 3, + true, + "nearest", + true, + "1.0.0.0", + true, + false, + 2, + 0, + 385, + true, + true, + 1, + true, + false, + [], + "icons/", + [], + true, + "025bjaucvn0", + "fonts/", + [], + "high-performance", + [], + "standard", + "vsync", + "" + ] +} diff --git a/games/basket-random/images/ballline-sheet0.png b/games/basket-random/images/ballline-sheet0.png new file mode 100644 index 00000000..a326c204 Binary files /dev/null and b/games/basket-random/images/ballline-sheet0.png differ diff --git a/games/basket-random/images/buildingtile-sheet0.png b/games/basket-random/images/buildingtile-sheet0.png new file mode 100644 index 00000000..fa055c6e Binary files /dev/null and b/games/basket-random/images/buildingtile-sheet0.png differ diff --git a/games/basket-random/images/buildingtile2-sheet0.png b/games/basket-random/images/buildingtile2-sheet0.png new file mode 100644 index 00000000..e79cf245 Binary files /dev/null and b/games/basket-random/images/buildingtile2-sheet0.png differ diff --git a/games/basket-random/images/buildingtile3-sheet0.png b/games/basket-random/images/buildingtile3-sheet0.png new file mode 100644 index 00000000..67fb2a5a Binary files /dev/null and b/games/basket-random/images/buildingtile3-sheet0.png differ diff --git a/games/basket-random/images/cloudtile-sheet0.png b/games/basket-random/images/cloudtile-sheet0.png new file mode 100644 index 00000000..47a0625c Binary files /dev/null and b/games/basket-random/images/cloudtile-sheet0.png differ diff --git a/games/basket-random/images/fencetile-sheet0.png b/games/basket-random/images/fencetile-sheet0.png new file mode 100644 index 00000000..96e9f211 Binary files /dev/null and b/games/basket-random/images/fencetile-sheet0.png differ diff --git a/games/basket-random/images/game_bg-sheet0.png b/games/basket-random/images/game_bg-sheet0.png new file mode 100644 index 00000000..f60b5863 Binary files /dev/null and b/games/basket-random/images/game_bg-sheet0.png differ diff --git a/games/basket-random/images/grasslinetile-sheet0.png b/games/basket-random/images/grasslinetile-sheet0.png new file mode 100644 index 00000000..36f6eba2 Binary files /dev/null and b/games/basket-random/images/grasslinetile-sheet0.png differ diff --git a/games/basket-random/images/grasstile-sheet0.png b/games/basket-random/images/grasstile-sheet0.png new file mode 100644 index 00000000..8286d4ed Binary files /dev/null and b/games/basket-random/images/grasstile-sheet0.png differ diff --git a/games/basket-random/images/groundtile-sheet0.png b/games/basket-random/images/groundtile-sheet0.png new file mode 100644 index 00000000..8534ac1a Binary files /dev/null and b/games/basket-random/images/groundtile-sheet0.png differ diff --git a/games/basket-random/images/groundtileindoor-sheet0.png b/games/basket-random/images/groundtileindoor-sheet0.png new file mode 100644 index 00000000..53dae5f6 Binary files /dev/null and b/games/basket-random/images/groundtileindoor-sheet0.png differ diff --git a/games/basket-random/images/groundtileplaj-sheet0.png b/games/basket-random/images/groundtileplaj-sheet0.png new file mode 100644 index 00000000..3e8cf86d Binary files /dev/null and b/games/basket-random/images/groundtileplaj-sheet0.png differ diff --git a/games/basket-random/images/groundtilesnow-sheet0.png b/games/basket-random/images/groundtilesnow-sheet0.png new file mode 100644 index 00000000..685f40df Binary files /dev/null and b/games/basket-random/images/groundtilesnow-sheet0.png differ diff --git a/games/basket-random/images/hair-sheet0.png b/games/basket-random/images/hair-sheet0.png new file mode 100644 index 00000000..e85a50a9 Binary files /dev/null and b/games/basket-random/images/hair-sheet0.png differ diff --git a/games/basket-random/images/indoorbgtile-sheet0.png b/games/basket-random/images/indoorbgtile-sheet0.png new file mode 100644 index 00000000..084d285e Binary files /dev/null and b/games/basket-random/images/indoorbgtile-sheet0.png differ diff --git a/games/basket-random/images/indoorbgtile2-sheet0.png b/games/basket-random/images/indoorbgtile2-sheet0.png new file mode 100644 index 00000000..6b8ce704 Binary files /dev/null and b/games/basket-random/images/indoorbgtile2-sheet0.png differ diff --git a/games/basket-random/images/indoorbgtile3-sheet0.png b/games/basket-random/images/indoorbgtile3-sheet0.png new file mode 100644 index 00000000..69318849 Binary files /dev/null and b/games/basket-random/images/indoorbgtile3-sheet0.png differ diff --git a/games/basket-random/images/potatiled-sheet0.png b/games/basket-random/images/potatiled-sheet0.png new file mode 100644 index 00000000..60c080ad Binary files /dev/null and b/games/basket-random/images/potatiled-sheet0.png differ diff --git a/games/basket-random/images/rightshoe-sheet0.png b/games/basket-random/images/rightshoe-sheet0.png new file mode 100644 index 00000000..bd6542d9 Binary files /dev/null and b/games/basket-random/images/rightshoe-sheet0.png differ diff --git a/games/basket-random/images/rightshort-sheet0.png b/games/basket-random/images/rightshort-sheet0.png new file mode 100644 index 00000000..53daa19a Binary files /dev/null and b/games/basket-random/images/rightshort-sheet0.png differ diff --git a/games/basket-random/images/seatile-sheet0.png b/games/basket-random/images/seatile-sheet0.png new file mode 100644 index 00000000..114f8a10 Binary files /dev/null and b/games/basket-random/images/seatile-sheet0.png differ diff --git a/games/basket-random/images/shared-0-sheet0.png b/games/basket-random/images/shared-0-sheet0.png new file mode 100644 index 00000000..b91455dc Binary files /dev/null and b/games/basket-random/images/shared-0-sheet0.png differ diff --git a/games/basket-random/images/shared-0-sheet1.png b/games/basket-random/images/shared-0-sheet1.png new file mode 100644 index 00000000..fa0e36b5 Binary files /dev/null and b/games/basket-random/images/shared-0-sheet1.png differ diff --git a/games/basket-random/images/shared-0-sheet2.png b/games/basket-random/images/shared-0-sheet2.png new file mode 100644 index 00000000..97bb10fb Binary files /dev/null and b/games/basket-random/images/shared-0-sheet2.png differ diff --git a/games/basket-random/images/shared-0-sheet3.png b/games/basket-random/images/shared-0-sheet3.png new file mode 100644 index 00000000..6e97789c Binary files /dev/null and b/games/basket-random/images/shared-0-sheet3.png differ diff --git a/games/basket-random/images/shared-0-sheet4.png b/games/basket-random/images/shared-0-sheet4.png new file mode 100644 index 00000000..a3045e2a Binary files /dev/null and b/games/basket-random/images/shared-0-sheet4.png differ diff --git a/games/basket-random/images/shared-1-sheet0.png b/games/basket-random/images/shared-1-sheet0.png new file mode 100644 index 00000000..0de3e988 Binary files /dev/null and b/games/basket-random/images/shared-1-sheet0.png differ diff --git a/games/basket-random/images/snowtile-sheet0.png b/games/basket-random/images/snowtile-sheet0.png new file mode 100644 index 00000000..b979a333 Binary files /dev/null and b/games/basket-random/images/snowtile-sheet0.png differ diff --git a/games/basket-random/images/startile-sheet0.png b/games/basket-random/images/startile-sheet0.png new file mode 100644 index 00000000..b041e721 Binary files /dev/null and b/games/basket-random/images/startile-sheet0.png differ diff --git a/games/basket-random/images/titlebg-sheet0.png b/games/basket-random/images/titlebg-sheet0.png new file mode 100644 index 00000000..e8e4e0b7 Binary files /dev/null and b/games/basket-random/images/titlebg-sheet0.png differ diff --git a/games/basket-random/images/titlechars-sheet0.png b/games/basket-random/images/titlechars-sheet0.png new file mode 100644 index 00000000..bd20ea29 Binary files /dev/null and b/games/basket-random/images/titlechars-sheet0.png differ diff --git a/games/basket-random/images/tshirt-sheet0.png b/games/basket-random/images/tshirt-sheet0.png new file mode 100644 index 00000000..7d2425d6 Binary files /dev/null and b/games/basket-random/images/tshirt-sheet0.png differ diff --git a/games/basket-random/index.html b/games/basket-random/index.html new file mode 100644 index 00000000..8897397f --- /dev/null +++ b/games/basket-random/index.html @@ -0,0 +1,44 @@ + + + + + Basket Random + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/games/basket-random/media/bellsoc.webm b/games/basket-random/media/bellsoc.webm new file mode 100644 index 00000000..b34c70d5 Binary files /dev/null and b/games/basket-random/media/bellsoc.webm differ diff --git a/games/basket-random/media/bup.webm b/games/basket-random/media/bup.webm new file mode 100644 index 00000000..ffb6b2d5 Binary files /dev/null and b/games/basket-random/media/bup.webm differ diff --git a/games/basket-random/media/buttonx.webm b/games/basket-random/media/buttonx.webm new file mode 100644 index 00000000..7b08f377 Binary files /dev/null and b/games/basket-random/media/buttonx.webm differ diff --git a/games/basket-random/media/file.webm b/games/basket-random/media/file.webm new file mode 100644 index 00000000..ae6a1983 Binary files /dev/null and b/games/basket-random/media/file.webm differ diff --git a/games/basket-random/media/goasoc.webm b/games/basket-random/media/goasoc.webm new file mode 100644 index 00000000..260ed294 Binary files /dev/null and b/games/basket-random/media/goasoc.webm differ diff --git a/games/basket-random/media/intro-button.webm b/games/basket-random/media/intro-button.webm new file mode 100644 index 00000000..cb19fa83 Binary files /dev/null and b/games/basket-random/media/intro-button.webm differ diff --git a/games/basket-random/media/intro-sound.webm b/games/basket-random/media/intro-sound.webm new file mode 100644 index 00000000..deab50cb Binary files /dev/null and b/games/basket-random/media/intro-sound.webm differ diff --git a/games/basket-random/media/jump.webm b/games/basket-random/media/jump.webm new file mode 100644 index 00000000..4df5fee5 Binary files /dev/null and b/games/basket-random/media/jump.webm differ diff --git a/games/basket-random/media/menu.webm b/games/basket-random/media/menu.webm new file mode 100644 index 00000000..9a23c142 Binary files /dev/null and b/games/basket-random/media/menu.webm differ diff --git a/games/basket-random/media/metal.webm b/games/basket-random/media/metal.webm new file mode 100644 index 00000000..ed36c182 Binary files /dev/null and b/games/basket-random/media/metal.webm differ diff --git a/games/basket-random/media/music.webm b/games/basket-random/media/music.webm new file mode 100644 index 00000000..c4728916 Binary files /dev/null and b/games/basket-random/media/music.webm differ diff --git a/games/basket-random/media/press.webm b/games/basket-random/media/press.webm new file mode 100644 index 00000000..c15c9e30 Binary files /dev/null and b/games/basket-random/media/press.webm differ diff --git a/games/basket-random/media/refsoc.webm b/games/basket-random/media/refsoc.webm new file mode 100644 index 00000000..db1a9e10 Binary files /dev/null and b/games/basket-random/media/refsoc.webm differ diff --git a/games/basket-random/media/start.webm b/games/basket-random/media/start.webm new file mode 100644 index 00000000..e45b653c Binary files /dev/null and b/games/basket-random/media/start.webm differ diff --git a/games/basket-random/media/win.webm b/games/basket-random/media/win.webm new file mode 100644 index 00000000..a7bcf22a Binary files /dev/null and b/games/basket-random/media/win.webm differ diff --git a/games/basket-random/media/wrong.webm b/games/basket-random/media/wrong.webm new file mode 100644 index 00000000..b7c81bbd Binary files /dev/null and b/games/basket-random/media/wrong.webm differ diff --git a/games/basket-random/scripts/c3runtime.js b/games/basket-random/scripts/c3runtime.js new file mode 100644 index 00000000..80a6d40e --- /dev/null +++ b/games/basket-random/scripts/c3runtime.js @@ -0,0 +1,42303 @@ +// Generated by Construct 3, the game and app creator :: https://www.construct.net +'use strict'; +(function (g, _) { + if ('object' == typeof exports && 'object' == typeof module) module.exports = _(); + else if ('function' == typeof define && define.g_a) define([], _); + else { + var e = _(); + for (var t in e) ('object' == typeof exports ? exports : g)[t] = e[t]; + } +})(this, function () { + var g = Math.acos, + _ = Math.round, + p = Math.min, + a = Math.floor, + r = Math.ceil, + B = Math.sqrt, + t = Math.pow, + C = Math.cos, + H = Math.sin, + U = Math.max, + w = Math.abs, + h = Math.PI; + return (function (g) { + function _(a) { + if (e[a]) return e[a].exports; + var t = (e[a] = { g_b: a, g_c: !1, exports: {} }); + return g[a].call(t.exports, t, t.exports, _), (t.g_c = !0), t.exports; + } + var e = {}; + return ( + (_.g_d = g), + (_.c = e), + (_.d = function (g, e, a) { + _.g_e(g, e) || Object.defineProperty(g, e, { configurable: !1, enumerable: !0, get: a }); + }), + (_.n = function (g) { + var e = + g && g.g_f + ? function () { + return g['default']; + } + : function () { + return g; + }; + return _.d(e, 'a', e), e; + }), + (_.g_e = function (g, _) { + return Object.prototype.hasOwnProperty.call(g, _); + }), + (_.g_g = ''), + _((_.g_h = 4)) + ); + })([ + function (g, _) { + 'use strict'; + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.g_i = function (g) { + _.g_j = t = g; + }), + (_.g_k = function (g) { + return g * i; + }), + (_.g_l = function (g, _) { + return w(g - _) <= n * U(1, w(g), w(_)); + }); + var n = (_.EPSILON = 1e-6), + t = (_.g_j = 'undefined' == typeof Float32Array ? Array : Float32Array), + e = (_.g_m = Math.random), + i = h / 180; + }, + function (g, _, e) { + 'use strict'; + function a(g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = _[6], + o = _[7], + i = _[8], + u = e[0], + h = e[1], + c = e[2], + f = e[3], + p = e[4], + m = e[5], + E = e[6], + b = e[7], + y = e[8]; + return ( + (g[0] = u * a + h * l + c * d), + (g[1] = u * t + h * s + c * o), + (g[2] = u * r + h * n + c * i), + (g[3] = f * a + p * l + m * d), + (g[4] = f * t + p * s + m * o), + (g[5] = f * r + p * n + m * i), + (g[6] = E * a + b * l + y * d), + (g[7] = E * t + b * s + y * o), + (g[8] = E * r + b * n + y * i), + g + ); + } + function n(g, _, e) { + return ( + (g[0] = _[0] - e[0]), + (g[1] = _[1] - e[1]), + (g[2] = _[2] - e[2]), + (g[3] = _[3] - e[3]), + (g[4] = _[4] - e[4]), + (g[5] = _[5] - e[5]), + (g[6] = _[6] - e[6]), + (g[7] = _[7] - e[7]), + (g[8] = _[8] - e[8]), + g + ); + } + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.sub = _.g_n = void 0), + (_.create = function () { + var g = new h.g_j(9); + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 1), + (g[5] = 0), + (g[6] = 0), + (g[7] = 0), + (g[8] = 1), + g + ); + }), + (_.g_o = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = _[1]), + (g[2] = _[2]), + (g[3] = _[4]), + (g[4] = _[5]), + (g[5] = _[6]), + (g[6] = _[8]), + (g[7] = _[9]), + (g[8] = _[10]), + g + ); + }), + (_.clone = function (g) { + var _ = new h.g_j(9); + return ( + (_[0] = g[0]), + (_[1] = g[1]), + (_[2] = g[2]), + (_[3] = g[3]), + (_[4] = g[4]), + (_[5] = g[5]), + (_[6] = g[6]), + (_[7] = g[7]), + (_[8] = g[8]), + _ + ); + }), + (_.g_p = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = _[1]), + (g[2] = _[2]), + (g[3] = _[3]), + (g[4] = _[4]), + (g[5] = _[5]), + (g[6] = _[6]), + (g[7] = _[7]), + (g[8] = _[8]), + g + ); + }), + (_.g_q = function (g, _, e, a, t, i, r, s, n) { + var d = new h.g_j(9); + return ( + (d[0] = g), + (d[1] = _), + (d[2] = e), + (d[3] = a), + (d[4] = t), + (d[5] = i), + (d[6] = r), + (d[7] = s), + (d[8] = n), + d + ); + }), + (_.set = function (g, _, e, a, t, i, r, s, n, d) { + return ( + (g[0] = _), + (g[1] = e), + (g[2] = a), + (g[3] = t), + (g[4] = i), + (g[5] = r), + (g[6] = s), + (g[7] = n), + (g[8] = d), + g + ); + }), + (_.identity = function (g) { + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 1), + (g[5] = 0), + (g[6] = 0), + (g[7] = 0), + (g[8] = 1), + g + ); + }), + (_.g_r = function (g, _) { + if (g === _) { + var e = _[1], + a = _[2], + t = _[5]; + (g[1] = _[3]), (g[2] = _[6]), (g[3] = e), (g[5] = _[7]), (g[6] = a), (g[7] = t); + } else + (g[0] = _[0]), + (g[1] = _[3]), + (g[2] = _[6]), + (g[3] = _[1]), + (g[4] = _[4]), + (g[5] = _[7]), + (g[6] = _[2]), + (g[7] = _[5]), + (g[8] = _[8]); + return g; + }), + (_.g_s = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + r = _[3], + l = _[4], + s = _[5], + n = _[6], + d = _[7], + o = _[8], + i = o * l - s * d, + u = -o * r + s * n, + p = d * r - l * n, + h = e * i + a * u + t * p; + return h + ? ((h = 1 / h), + (g[0] = i * h), + (g[1] = (-o * a + t * d) * h), + (g[2] = (s * a - t * l) * h), + (g[3] = u * h), + (g[4] = (o * e - t * n) * h), + (g[5] = (-s * e + t * r) * h), + (g[6] = p * h), + (g[7] = (-d * e + a * n) * h), + (g[8] = (l * e - a * r) * h), + g) + : null; + }), + (_.g_t = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + r = _[3], + l = _[4], + s = _[5], + n = _[6], + d = _[7], + o = _[8]; + return ( + (g[0] = l * o - s * d), + (g[1] = t * d - a * o), + (g[2] = a * s - t * l), + (g[3] = s * n - r * o), + (g[4] = e * o - t * n), + (g[5] = t * r - e * s), + (g[6] = r * d - l * n), + (g[7] = a * n - e * d), + (g[8] = e * l - a * r), + g + ); + }), + (_.g_u = function (g) { + var _ = g[0], + e = g[1], + a = g[2], + t = g[3], + i = g[4], + r = g[5], + s = g[6], + n = g[7], + d = g[8]; + return _ * (d * i - r * n) + e * (-d * t + r * s) + a * (n * t - i * s); + }), + (_.multiply = a), + (_.translate = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = _[6], + o = _[7], + i = _[8], + u = e[0], + p = e[1]; + return ( + (g[0] = a), + (g[1] = t), + (g[2] = r), + (g[3] = l), + (g[4] = s), + (g[5] = n), + (g[6] = u * a + p * l + d), + (g[7] = u * t + p * s + o), + (g[8] = u * r + p * n + i), + g + ); + }), + (_.rotate = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + d = _[3], + n = _[4], + i = _[5], + l = _[6], + o = _[7], + u = _[8], + p = H(e), + h = C(e); + return ( + (g[0] = h * a + p * d), + (g[1] = h * t + p * n), + (g[2] = h * r + p * i), + (g[3] = h * d - p * a), + (g[4] = h * n - p * t), + (g[5] = h * i - p * r), + (g[6] = l), + (g[7] = o), + (g[8] = u), + g + ); + }), + (_.scale = function (g, _, e) { + var a = e[0], + t = e[1]; + return ( + (g[0] = a * _[0]), + (g[1] = a * _[1]), + (g[2] = a * _[2]), + (g[3] = t * _[3]), + (g[4] = t * _[4]), + (g[5] = t * _[5]), + (g[6] = _[6]), + (g[7] = _[7]), + (g[8] = _[8]), + g + ); + }), + (_.g_v = function (g, _) { + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 1), + (g[5] = 0), + (g[6] = _[0]), + (g[7] = _[1]), + (g[8] = 1), + g + ); + }), + (_.g_w = function (g, _) { + var e = H(_), + a = C(_); + return ( + (g[0] = a), + (g[1] = e), + (g[2] = 0), + (g[3] = -e), + (g[4] = a), + (g[5] = 0), + (g[6] = 0), + (g[7] = 0), + (g[8] = 1), + g + ); + }), + (_.g_x = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = _[1]), + (g[5] = 0), + (g[6] = 0), + (g[7] = 0), + (g[8] = 1), + g + ); + }), + (_.g_y = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = _[1]), + (g[2] = 0), + (g[3] = _[2]), + (g[4] = _[3]), + (g[5] = 0), + (g[6] = _[4]), + (g[7] = _[5]), + (g[8] = 1), + g + ); + }), + (_.g_z = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + r = _[3], + l = e + e, + s = a + a, + n = t + t, + d = e * l, + o = a * l, + i = a * s, + u = t * l, + h = t * s, + c = t * n, + f = r * l, + p = r * s, + m = r * n; + return ( + (g[0] = 1 - i - c), + (g[3] = o - m), + (g[6] = u + p), + (g[1] = o + m), + (g[4] = 1 - d - c), + (g[7] = h - f), + (g[2] = u - p), + (g[5] = h + f), + (g[8] = 1 - d - i), + g + ); + }), + (_.g_A = function (h, e) { + var t = e[0], + a = e[1], + r = e[2], + o = e[3], + l = e[4], + s = e[5], + n = e[6], + d = e[7], + u = e[8], + i = e[9], + c = e[10], + m = e[11], + f = e[12], + b = e[13], + p = e[14], + E = e[15], + y = t * s - a * l, + B = t * n - r * l, + C = t * d - o * l, + T = a * n - r * s, + H = a * d - o * s, + x = r * d - o * n, + _ = u * b - i * f, + N = u * p - c * f, + U = u * E - m * f, + w = i * p - c * b, + q = i * E - m * b, + g = c * E - m * p, + I = y * g - B * q + C * w + T * U - H * N + x * _; + return I + ? ((I = 1 / I), + (h[0] = (s * g - n * q + d * w) * I), + (h[1] = (n * U - l * g - d * N) * I), + (h[2] = (l * q - s * U + d * _) * I), + (h[3] = (r * q - a * g - o * w) * I), + (h[4] = (t * g - r * U + o * N) * I), + (h[5] = (a * U - t * q - o * _) * I), + (h[6] = (b * x - p * H + E * T) * I), + (h[7] = (p * C - f * x - E * B) * I), + (h[8] = (f * H - b * C + E * y) * I), + h) + : null; + }), + (_.g_B = function (g, _, e) { + return ( + (g[0] = 2 / _), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = -2 / e), + (g[5] = 0), + (g[6] = -1), + (g[7] = 1), + (g[8] = 1), + g + ); + }), + (_.g_C = function (g) { + return ( + 'mat3(' + + g[0] + + ', ' + + g[1] + + ', ' + + g[2] + + ', ' + + g[3] + + ', ' + + g[4] + + ', ' + + g[5] + + ', ' + + g[6] + + ', ' + + g[7] + + ', ' + + g[8] + + ')' + ); + }), + (_.g_D = function (g) { + return B( + t(g[0], 2) + + t(g[1], 2) + + t(g[2], 2) + + t(g[3], 2) + + t(g[4], 2) + + t(g[5], 2) + + t(g[6], 2) + + t(g[7], 2) + + t(g[8], 2) + ); + }), + (_.add = function (g, _, e) { + return ( + (g[0] = _[0] + e[0]), + (g[1] = _[1] + e[1]), + (g[2] = _[2] + e[2]), + (g[3] = _[3] + e[3]), + (g[4] = _[4] + e[4]), + (g[5] = _[5] + e[5]), + (g[6] = _[6] + e[6]), + (g[7] = _[7] + e[7]), + (g[8] = _[8] + e[8]), + g + ); + }), + (_.g_E = n), + (_.g_F = function (g, _, e) { + return ( + (g[0] = _[0] * e), + (g[1] = _[1] * e), + (g[2] = _[2] * e), + (g[3] = _[3] * e), + (g[4] = _[4] * e), + (g[5] = _[5] * e), + (g[6] = _[6] * e), + (g[7] = _[7] * e), + (g[8] = _[8] * e), + g + ); + }), + (_.g_G = function (g, _, e, a) { + return ( + (g[0] = _[0] + e[0] * a), + (g[1] = _[1] + e[1] * a), + (g[2] = _[2] + e[2] * a), + (g[3] = _[3] + e[3] * a), + (g[4] = _[4] + e[4] * a), + (g[5] = _[5] + e[5] * a), + (g[6] = _[6] + e[6] * a), + (g[7] = _[7] + e[7] * a), + (g[8] = _[8] + e[8] * a), + g + ); + }), + (_.g_H = function (g, _) { + return ( + g[0] === _[0] && + g[1] === _[1] && + g[2] === _[2] && + g[3] === _[3] && + g[4] === _[4] && + g[5] === _[5] && + g[6] === _[6] && + g[7] === _[7] && + g[8] === _[8] + ); + }), + (_.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = g[2], + i = g[3], + r = g[4], + s = g[5], + n = g[6], + d = g[7], + l = g[8], + o = _[0], + u = _[1], + p = _[2], + c = _[3], + f = _[4], + m = _[5], + E = _[6], + b = _[7], + y = _[8]; + return ( + w(e - o) <= h.EPSILON * U(1, w(e), w(o)) && + w(a - u) <= h.EPSILON * U(1, w(a), w(u)) && + w(t - p) <= h.EPSILON * U(1, w(t), w(p)) && + w(i - c) <= h.EPSILON * U(1, w(i), w(c)) && + w(r - f) <= h.EPSILON * U(1, w(r), w(f)) && + w(s - m) <= h.EPSILON * U(1, w(s), w(m)) && + w(n - E) <= h.EPSILON * U(1, w(n), w(E)) && + w(d - b) <= h.EPSILON * U(1, w(d), w(b)) && + w(l - y) <= h.EPSILON * U(1, w(l), w(y)) + ); + }); + var i = e(0), + h = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(i), + r = (_.g_n = a), + s = (_.sub = n); + }, + function (e, t, n) { + 'use strict'; + function i() { + var g = new I.g_j(3); + return (g[0] = 0), (g[1] = 0), (g[2] = 0), g; + } + function s(g) { + var _ = g[0], + e = g[1], + a = g[2]; + return B(_ * _ + e * e + a * a); + } + function d(g, _, e) { + var a = new I.g_j(3); + return (a[0] = g), (a[1] = _), (a[2] = e), a; + } + function l(g, _, e) { + return (g[0] = _[0] - e[0]), (g[1] = _[1] - e[1]), (g[2] = _[2] - e[2]), g; + } + function o(g, _, e) { + return (g[0] = _[0] * e[0]), (g[1] = _[1] * e[1]), (g[2] = _[2] * e[2]), g; + } + function u(g, _, e) { + return (g[0] = _[0] / e[0]), (g[1] = _[1] / e[1]), (g[2] = _[2] / e[2]), g; + } + function c(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1], + t = _[2] - g[2]; + return B(e * e + a * a + t * t); + } + function f(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1], + t = _[2] - g[2]; + return e * e + a * a + t * t; + } + function m(g) { + var _ = g[0], + e = g[1], + a = g[2]; + return _ * _ + e * e + a * a; + } + function E(g, _) { + var e = _[0], + a = _[1], + t = _[2], + n = e * e + a * a + t * t; + return ( + 0 < n && ((n = 1 / B(n)), (g[0] = _[0] * n), (g[1] = _[1] * n), (g[2] = _[2] * n)), g + ); + } + function y(g, _) { + return g[0] * _[0] + g[1] * _[1] + g[2] * _[2]; + } + Object.defineProperty(t, '__esModule', { value: !0 }), + (t.forEach = t.g_I = t.g_J = t.g_K = t.g_L = t.g_M = t.g_n = t.sub = void 0), + (t.create = i), + (t.clone = function (g) { + var _ = new I.g_j(3); + return (_[0] = g[0]), (_[1] = g[1]), (_[2] = g[2]), _; + }), + (t.length = s), + (t.g_q = d), + (t.g_p = function (g, _) { + return (g[0] = _[0]), (g[1] = _[1]), (g[2] = _[2]), g; + }), + (t.set = function (g, _, e, a) { + return (g[0] = _), (g[1] = e), (g[2] = a), g; + }), + (t.add = function (g, _, e) { + return (g[0] = _[0] + e[0]), (g[1] = _[1] + e[1]), (g[2] = _[2] + e[2]), g; + }), + (t.g_E = l), + (t.multiply = o), + (t.g_N = u), + (t.ceil = function (g, _) { + return (g[0] = r(_[0])), (g[1] = r(_[1])), (g[2] = r(_[2])), g; + }), + (t.floor = function (g, _) { + return (g[0] = a(_[0])), (g[1] = a(_[1])), (g[2] = a(_[2])), g; + }), + (t.min = function (g, _, e) { + return (g[0] = p(_[0], e[0])), (g[1] = p(_[1], e[1])), (g[2] = p(_[2], e[2])), g; + }), + (t.max = function (g, _, e) { + return (g[0] = U(_[0], e[0])), (g[1] = U(_[1], e[1])), (g[2] = U(_[2], e[2])), g; + }), + (t.round = function (g, e) { + return (g[0] = _(e[0])), (g[1] = _(e[1])), (g[2] = _(e[2])), g; + }), + (t.scale = function (g, _, e) { + return (g[0] = _[0] * e), (g[1] = _[1] * e), (g[2] = _[2] * e), g; + }), + (t.g_O = function (g, _, e, a) { + return (g[0] = _[0] + e[0] * a), (g[1] = _[1] + e[1] * a), (g[2] = _[2] + e[2] * a), g; + }), + (t.g_P = c), + (t.g_Q = f), + (t.g_R = m), + (t.g_S = function (g, _) { + return (g[0] = -_[0]), (g[1] = -_[1]), (g[2] = -_[2]), g; + }), + (t.inverse = function (g, _) { + return (g[0] = 1 / _[0]), (g[1] = 1 / _[1]), (g[2] = 1 / _[2]), g; + }), + (t.normalize = E), + (t.g_T = y), + (t.g_U = function (g, _, e) { + var a = _[0], + t = _[1], + i = _[2], + r = e[0], + s = e[1], + n = e[2]; + return (g[0] = t * n - i * s), (g[1] = i * r - a * n), (g[2] = a * s - t * r), g; + }), + (t.g_V = function (g, _, e, a) { + var n = _[0], + t = _[1], + i = _[2]; + return ( + (g[0] = n + a * (e[0] - n)), (g[1] = t + a * (e[1] - t)), (g[2] = i + a * (e[2] - i)), g + ); + }), + (t.g_W = function (g, _, e, a, r, l) { + var s = l * l, + t = s * (2 * l - 3) + 1, + n = s * (l - 2) + l, + d = s * (l - 1), + o = s * (3 - 2 * l); + return ( + (g[0] = _[0] * t + e[0] * n + a[0] * d + r[0] * o), + (g[1] = _[1] * t + e[1] * n + a[1] * d + r[1] * o), + (g[2] = _[2] * t + e[2] * n + a[2] * d + r[2] * o), + g + ); + }), + (t.g_X = function (g, _, e, a, r, l) { + var s = 1 - l, + t = s * s, + n = l * l, + d = t * s, + o = 3 * l * t, + i = 3 * n * s, + u = n * l; + return ( + (g[0] = _[0] * d + e[0] * o + a[0] * i + r[0] * u), + (g[1] = _[1] * d + e[1] * o + a[1] * i + r[1] * u), + (g[2] = _[2] * d + e[2] * o + a[2] * i + r[2] * u), + g + ); + }), + (t.random = function (g, _) { + _ = _ || 1; + var e = 2 * I.g_m() * h, + a = 2 * I.g_m() - 1, + n = B(1 - a * a) * _; + return (g[0] = C(e) * n), (g[1] = H(e) * n), (g[2] = a * _), g; + }), + (t.g_Y = function (g, _, e) { + var a = _[0], + t = _[1], + n = _[2], + i = e[3] * a + e[7] * t + e[11] * n + e[15]; + return ( + (i = i || 1), + (g[0] = (e[0] * a + e[4] * t + e[8] * n + e[12]) / i), + (g[1] = (e[1] * a + e[5] * t + e[9] * n + e[13]) / i), + (g[2] = (e[2] * a + e[6] * t + e[10] * n + e[14]) / i), + g + ); + }), + (t.g_Z = function (g, _, e) { + var a = _[0], + t = _[1], + n = _[2]; + return ( + (g[0] = a * e[0] + t * e[3] + n * e[6]), + (g[1] = a * e[1] + t * e[4] + n * e[7]), + (g[2] = a * e[2] + t * e[5] + n * e[8]), + g + ); + }), + (t.g__ = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = e[0], + s = e[1], + n = e[2], + d = e[3], + o = d * a + s * r - n * t, + i = d * t + n * a - l * r, + u = d * r + l * t - s * a, + p = -l * a - s * t - n * r; + return ( + (g[0] = o * d + p * -l + i * -n - u * -s), + (g[1] = i * d + p * -s + u * -l - o * -n), + (g[2] = u * d + p * -n + o * -s - i * -l), + g + ); + }), + (t.g_$ = function (g, _, e, a) { + var t = [], + n = []; + return ( + (t[0] = _[0] - e[0]), + (t[1] = _[1] - e[1]), + (t[2] = _[2] - e[2]), + (n[0] = t[0]), + (n[1] = t[1] * C(a) - t[2] * H(a)), + (n[2] = t[1] * H(a) + t[2] * C(a)), + (g[0] = n[0] + e[0]), + (g[1] = n[1] + e[1]), + (g[2] = n[2] + e[2]), + g + ); + }), + (t.g_aa = function (g, _, e, a) { + var t = [], + n = []; + return ( + (t[0] = _[0] - e[0]), + (t[1] = _[1] - e[1]), + (t[2] = _[2] - e[2]), + (n[0] = t[2] * H(a) + t[0] * C(a)), + (n[1] = t[1]), + (n[2] = t[2] * C(a) - t[0] * H(a)), + (g[0] = n[0] + e[0]), + (g[1] = n[1] + e[1]), + (g[2] = n[2] + e[2]), + g + ); + }), + (t.g_ab = function (g, _, e, a) { + var t = [], + n = []; + return ( + (t[0] = _[0] - e[0]), + (t[1] = _[1] - e[1]), + (t[2] = _[2] - e[2]), + (n[0] = t[0] * C(a) - t[1] * H(a)), + (n[1] = t[0] * H(a) + t[1] * C(a)), + (n[2] = t[2]), + (g[0] = n[0] + e[0]), + (g[1] = n[1] + e[1]), + (g[2] = n[2] + e[2]), + g + ); + }), + (t.angle = function (_, e) { + var a = d(_[0], _[1], _[2]), + t = d(e[0], e[1], e[2]); + E(a, a), E(t, t); + var n = y(a, t); + return 1 < n ? 0 : -1 > n ? h : g(n); + }), + (t.g_C = function (g) { + return 'vec3(' + g[0] + ', ' + g[1] + ', ' + g[2] + ')'; + }), + (t.g_H = function (g, _) { + return g[0] === _[0] && g[1] === _[1] && g[2] === _[2]; + }), + (t.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = g[2], + i = _[0], + r = _[1], + s = _[2]; + return ( + w(e - i) <= I.EPSILON * U(1, w(e), w(i)) && + w(a - r) <= I.EPSILON * U(1, w(a), w(r)) && + w(t - s) <= I.EPSILON * U(1, w(t), w(s)) + ); + }); + var N = n(0), + I = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(N), + D = (t.sub = l), + q = (t.g_n = o), + R = (t.g_M = u), + F = (t.g_L = c), + v = (t.g_K = f), + k = (t.g_J = s), + T = (t.g_I = m), + b = (t.forEach = (function () { + var g = i(); + return function (_, e, t, r, s, n) { + var d, l; + for ( + e || (e = 3), t || (t = 0), l = r ? p(r * e + t, _.length) : _.length, d = t; + d < l; + d += e + ) + (g[0] = _[d]), + (g[1] = _[d + 1]), + (g[2] = _[d + 2]), + s(g, g, n), + (_[d] = g[0]), + (_[d + 1] = g[1]), + (_[d + 2] = g[2]); + return _; + }; + })()); + }, + function (t, e, n) { + 'use strict'; + function i() { + var g = new b.g_j(4); + return (g[0] = 0), (g[1] = 0), (g[2] = 0), (g[3] = 0), g; + } + function s(g, _, e) { + return ( + (g[0] = _[0] - e[0]), (g[1] = _[1] - e[1]), (g[2] = _[2] - e[2]), (g[3] = _[3] - e[3]), g + ); + } + function d(g, _, e) { + return ( + (g[0] = _[0] * e[0]), (g[1] = _[1] * e[1]), (g[2] = _[2] * e[2]), (g[3] = _[3] * e[3]), g + ); + } + function l(g, _, e) { + return ( + (g[0] = _[0] / e[0]), (g[1] = _[1] / e[1]), (g[2] = _[2] / e[2]), (g[3] = _[3] / e[3]), g + ); + } + function o(g, _, e) { + return (g[0] = _[0] * e), (g[1] = _[1] * e), (g[2] = _[2] * e), (g[3] = _[3] * e), g; + } + function u(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1], + t = _[2] - g[2], + n = _[3] - g[3]; + return B(e * e + a * a + t * t + n * n); + } + function h(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1], + t = _[2] - g[2], + n = _[3] - g[3]; + return e * e + a * a + t * t + n * n; + } + function c(g) { + var _ = g[0], + e = g[1], + a = g[2], + t = g[3]; + return B(_ * _ + e * e + a * a + t * t); + } + function f(g) { + var _ = g[0], + e = g[1], + a = g[2], + t = g[3]; + return _ * _ + e * e + a * a + t * t; + } + function m(g, _) { + var e = _[0], + a = _[1], + t = _[2], + n = _[3], + i = e * e + a * a + t * t + n * n; + return ( + 0 < i && ((i = 1 / B(i)), (g[0] = e * i), (g[1] = a * i), (g[2] = t * i), (g[3] = n * i)), + g + ); + } + Object.defineProperty(e, '__esModule', { value: !0 }), + (e.forEach = e.g_I = e.g_J = e.g_K = e.g_L = e.g_M = e.g_n = e.sub = void 0), + (e.create = i), + (e.clone = function (g) { + var _ = new b.g_j(4); + return (_[0] = g[0]), (_[1] = g[1]), (_[2] = g[2]), (_[3] = g[3]), _; + }), + (e.g_q = function (g, _, e, a) { + var t = new b.g_j(4); + return (t[0] = g), (t[1] = _), (t[2] = e), (t[3] = a), t; + }), + (e.g_p = function (g, _) { + return (g[0] = _[0]), (g[1] = _[1]), (g[2] = _[2]), (g[3] = _[3]), g; + }), + (e.set = function (g, _, e, a, t) { + return (g[0] = _), (g[1] = e), (g[2] = a), (g[3] = t), g; + }), + (e.add = function (g, _, e) { + return ( + (g[0] = _[0] + e[0]), + (g[1] = _[1] + e[1]), + (g[2] = _[2] + e[2]), + (g[3] = _[3] + e[3]), + g + ); + }), + (e.g_E = s), + (e.multiply = d), + (e.g_N = l), + (e.ceil = function (g, _) { + return (g[0] = r(_[0])), (g[1] = r(_[1])), (g[2] = r(_[2])), (g[3] = r(_[3])), g; + }), + (e.floor = function (g, _) { + return (g[0] = a(_[0])), (g[1] = a(_[1])), (g[2] = a(_[2])), (g[3] = a(_[3])), g; + }), + (e.min = function (g, _, e) { + return ( + (g[0] = p(_[0], e[0])), + (g[1] = p(_[1], e[1])), + (g[2] = p(_[2], e[2])), + (g[3] = p(_[3], e[3])), + g + ); + }), + (e.max = function (g, _, e) { + return ( + (g[0] = U(_[0], e[0])), + (g[1] = U(_[1], e[1])), + (g[2] = U(_[2], e[2])), + (g[3] = U(_[3], e[3])), + g + ); + }), + (e.round = function (g, e) { + return (g[0] = _(e[0])), (g[1] = _(e[1])), (g[2] = _(e[2])), (g[3] = _(e[3])), g; + }), + (e.scale = o), + (e.g_O = function (g, _, e, a) { + return ( + (g[0] = _[0] + e[0] * a), + (g[1] = _[1] + e[1] * a), + (g[2] = _[2] + e[2] * a), + (g[3] = _[3] + e[3] * a), + g + ); + }), + (e.g_P = u), + (e.g_Q = h), + (e.length = c), + (e.g_R = f), + (e.g_S = function (g, _) { + return (g[0] = -_[0]), (g[1] = -_[1]), (g[2] = -_[2]), (g[3] = -_[3]), g; + }), + (e.inverse = function (g, _) { + return (g[0] = 1 / _[0]), (g[1] = 1 / _[1]), (g[2] = 1 / _[2]), (g[3] = 1 / _[3]), g; + }), + (e.normalize = m), + (e.g_T = function (g, _) { + return g[0] * _[0] + g[1] * _[1] + g[2] * _[2] + g[3] * _[3]; + }), + (e.g_V = function (g, _, e, a) { + var i = _[0], + t = _[1], + r = _[2], + s = _[3]; + return ( + (g[0] = i + a * (e[0] - i)), + (g[1] = t + a * (e[1] - t)), + (g[2] = r + a * (e[2] - r)), + (g[3] = s + a * (e[3] - s)), + g + ); + }), + (e.random = function (g, _) { + return ( + (_ = _ || 1), + (g[0] = b.g_m()), + (g[1] = b.g_m()), + (g[2] = b.g_m()), + (g[3] = b.g_m()), + m(g, g), + o(g, g, _), + g + ); + }), + (e.g_Y = function (g, _, e) { + var a = _[0], + t = _[1], + n = _[2], + i = _[3]; + return ( + (g[0] = e[0] * a + e[4] * t + e[8] * n + e[12] * i), + (g[1] = e[1] * a + e[5] * t + e[9] * n + e[13] * i), + (g[2] = e[2] * a + e[6] * t + e[10] * n + e[14] * i), + (g[3] = e[3] * a + e[7] * t + e[11] * n + e[15] * i), + g + ); + }), + (e.g__ = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = e[0], + s = e[1], + n = e[2], + d = e[3], + o = d * a + s * r - n * t, + i = d * t + n * a - l * r, + u = d * r + l * t - s * a, + p = -l * a - s * t - n * r; + return ( + (g[0] = o * d + p * -l + i * -n - u * -s), + (g[1] = i * d + p * -s + u * -l - o * -n), + (g[2] = u * d + p * -n + o * -s - i * -l), + (g[3] = _[3]), + g + ); + }), + (e.g_C = function (g) { + return 'vec4(' + g[0] + ', ' + g[1] + ', ' + g[2] + ', ' + g[3] + ')'; + }), + (e.g_H = function (g, _) { + return g[0] === _[0] && g[1] === _[1] && g[2] === _[2] && g[3] === _[3]; + }), + (e.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = g[2], + i = g[3], + r = _[0], + s = _[1], + n = _[2], + d = _[3]; + return ( + w(e - r) <= b.EPSILON * U(1, w(e), w(r)) && + w(a - s) <= b.EPSILON * U(1, w(a), w(s)) && + w(t - n) <= b.EPSILON * U(1, w(t), w(n)) && + w(i - d) <= b.EPSILON * U(1, w(i), w(d)) + ); + }); + var E = n(0), + b = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(E), + y = (e.sub = s), + v = (e.g_n = d), + C = (e.g_M = l), + T = (e.g_L = u), + H = (e.g_K = h), + N = (e.g_J = c), + x = (e.g_I = f), + g = (e.forEach = (function () { + var g = i(); + return function (_, e, t, r, s, n) { + var d, l; + for ( + e || (e = 4), t || (t = 0), l = r ? p(r * e + t, _.length) : _.length, d = t; + d < l; + d += e + ) + (g[0] = _[d]), + (g[1] = _[d + 1]), + (g[2] = _[d + 2]), + (g[3] = _[d + 3]), + s(g, g, n), + (_[d] = g[0]), + (_[d + 1] = g[1]), + (_[d + 2] = g[2]), + (_[d + 3] = g[3]); + return _; + }; + })()); + }, + function (g, _, e) { + 'use strict'; + function a(g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + } + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.vec4 = + _.vec3 = + _.vec2 = + _.quat = + _.mat4 = + _.mat3 = + _.mat2d = + _.mat2 = + _.glMatrix = + void 0); + var t = e(0), + r = a(t), + l = e(5), + s = a(l), + n = e(6), + d = a(n), + o = e(1), + i = a(o), + u = e(7), + h = a(u), + c = e(8), + f = a(c), + p = e(9), + m = a(p), + E = e(2), + b = a(E), + y = e(3), + B = a(y); + (_.glMatrix = r), + (_.mat2 = s), + (_.mat2d = d), + (_.mat3 = i), + (_.mat4 = h), + (_.quat = f), + (_.vec2 = m), + (_.vec3 = b), + (_.vec4 = B); + }, + function (g, _, e) { + 'use strict'; + function a(g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = e[0], + n = e[1], + d = e[2], + o = e[3]; + return ( + (g[0] = a * s + r * n), + (g[1] = t * s + l * n), + (g[2] = a * d + r * o), + (g[3] = t * d + l * o), + g + ); + } + function n(g, _, e) { + return ( + (g[0] = _[0] - e[0]), (g[1] = _[1] - e[1]), (g[2] = _[2] - e[2]), (g[3] = _[3] - e[3]), g + ); + } + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.sub = _.g_n = void 0), + (_.create = function () { + var g = new p.g_j(4); + return (g[0] = 1), (g[1] = 0), (g[2] = 0), (g[3] = 1), g; + }), + (_.clone = function (g) { + var _ = new p.g_j(4); + return (_[0] = g[0]), (_[1] = g[1]), (_[2] = g[2]), (_[3] = g[3]), _; + }), + (_.g_p = function (g, _) { + return (g[0] = _[0]), (g[1] = _[1]), (g[2] = _[2]), (g[3] = _[3]), g; + }), + (_.identity = function (g) { + return (g[0] = 1), (g[1] = 0), (g[2] = 0), (g[3] = 1), g; + }), + (_.g_q = function (g, _, e, a) { + var t = new p.g_j(4); + return (t[0] = g), (t[1] = _), (t[2] = e), (t[3] = a), t; + }), + (_.set = function (g, _, e, a, t) { + return (g[0] = _), (g[1] = e), (g[2] = a), (g[3] = t), g; + }), + (_.g_r = function (g, _) { + if (g === _) { + var e = _[1]; + (g[1] = _[2]), (g[2] = e); + } else (g[0] = _[0]), (g[1] = _[2]), (g[2] = _[1]), (g[3] = _[3]); + return g; + }), + (_.g_s = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + n = _[3], + i = e * n - t * a; + return i + ? ((i = 1 / i), (g[0] = n * i), (g[1] = -a * i), (g[2] = -t * i), (g[3] = e * i), g) + : null; + }), + (_.g_t = function (g, _) { + var e = _[0]; + return (g[0] = _[3]), (g[1] = -_[1]), (g[2] = -_[2]), (g[3] = e), g; + }), + (_.g_u = function (g) { + return g[0] * g[3] - g[2] * g[1]; + }), + (_.multiply = a), + (_.rotate = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + s = _[3], + n = H(e), + i = C(e); + return ( + (g[0] = a * i + r * n), + (g[1] = t * i + s * n), + (g[2] = a * -n + r * i), + (g[3] = t * -n + s * i), + g + ); + }), + (_.scale = function (g, _, e) { + var a = _[0], + t = _[1], + i = _[2], + r = _[3], + s = e[0], + n = e[1]; + return (g[0] = a * s), (g[1] = t * s), (g[2] = i * n), (g[3] = r * n), g; + }), + (_.g_w = function (g, _) { + var e = H(_), + a = C(_); + return (g[0] = a), (g[1] = e), (g[2] = -e), (g[3] = a), g; + }), + (_.g_x = function (g, _) { + return (g[0] = _[0]), (g[1] = 0), (g[2] = 0), (g[3] = _[1]), g; + }), + (_.g_C = function (g) { + return 'mat2(' + g[0] + ', ' + g[1] + ', ' + g[2] + ', ' + g[3] + ')'; + }), + (_.g_D = function (g) { + return B(t(g[0], 2) + t(g[1], 2) + t(g[2], 2) + t(g[3], 2)); + }), + (_.g_ac = function (g, _, e, a) { + return ( + (g[2] = a[2] / a[0]), + (e[0] = a[0]), + (e[1] = a[1]), + (e[3] = a[3] - g[2] * e[1]), + [g, _, e] + ); + }), + (_.add = function (g, _, e) { + return ( + (g[0] = _[0] + e[0]), + (g[1] = _[1] + e[1]), + (g[2] = _[2] + e[2]), + (g[3] = _[3] + e[3]), + g + ); + }), + (_.g_E = n), + (_.g_H = function (g, _) { + return g[0] === _[0] && g[1] === _[1] && g[2] === _[2] && g[3] === _[3]; + }), + (_.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = g[2], + i = g[3], + r = _[0], + s = _[1], + n = _[2], + d = _[3]; + return ( + w(e - r) <= p.EPSILON * U(1, w(e), w(r)) && + w(a - s) <= p.EPSILON * U(1, w(a), w(s)) && + w(t - n) <= p.EPSILON * U(1, w(t), w(n)) && + w(i - d) <= p.EPSILON * U(1, w(i), w(d)) + ); + }), + (_.g_F = function (g, _, e) { + return (g[0] = _[0] * e), (g[1] = _[1] * e), (g[2] = _[2] * e), (g[3] = _[3] * e), g; + }), + (_.g_G = function (g, _, e, a) { + return ( + (g[0] = _[0] + e[0] * a), + (g[1] = _[1] + e[1] * a), + (g[2] = _[2] + e[2] * a), + (g[3] = _[3] + e[3] * a), + g + ); + }); + var i = e(0), + p = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(i), + r = (_.g_n = a), + s = (_.sub = n); + }, + function (g, _, e) { + 'use strict'; + function a(g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = e[0], + o = e[1], + i = e[2], + u = e[3], + p = e[4], + h = e[5]; + return ( + (g[0] = a * d + r * o), + (g[1] = t * d + l * o), + (g[2] = a * i + r * u), + (g[3] = t * i + l * u), + (g[4] = a * p + r * h + s), + (g[5] = t * p + l * h + n), + g + ); + } + function n(g, _, e) { + return ( + (g[0] = _[0] - e[0]), + (g[1] = _[1] - e[1]), + (g[2] = _[2] - e[2]), + (g[3] = _[3] - e[3]), + (g[4] = _[4] - e[4]), + (g[5] = _[5] - e[5]), + g + ); + } + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.sub = _.g_n = void 0), + (_.create = function () { + var g = new h.g_j(6); + return (g[0] = 1), (g[1] = 0), (g[2] = 0), (g[3] = 1), (g[4] = 0), (g[5] = 0), g; + }), + (_.clone = function (g) { + var _ = new h.g_j(6); + return ( + (_[0] = g[0]), + (_[1] = g[1]), + (_[2] = g[2]), + (_[3] = g[3]), + (_[4] = g[4]), + (_[5] = g[5]), + _ + ); + }), + (_.g_p = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = _[1]), + (g[2] = _[2]), + (g[3] = _[3]), + (g[4] = _[4]), + (g[5] = _[5]), + g + ); + }), + (_.identity = function (g) { + return (g[0] = 1), (g[1] = 0), (g[2] = 0), (g[3] = 1), (g[4] = 0), (g[5] = 0), g; + }), + (_.g_q = function (g, _, e, a, t, n) { + var i = new h.g_j(6); + return (i[0] = g), (i[1] = _), (i[2] = e), (i[3] = a), (i[4] = t), (i[5] = n), i; + }), + (_.set = function (g, _, e, a, t, n, i) { + return (g[0] = _), (g[1] = e), (g[2] = a), (g[3] = t), (g[4] = n), (g[5] = i), g; + }), + (_.g_s = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + i = _[3], + r = _[4], + s = _[5], + n = e * i - a * t; + return n + ? ((n = 1 / n), + (g[0] = i * n), + (g[1] = -a * n), + (g[2] = -t * n), + (g[3] = e * n), + (g[4] = (t * s - i * r) * n), + (g[5] = (a * r - e * s) * n), + g) + : null; + }), + (_.g_u = function (g) { + return g[0] * g[3] - g[1] * g[2]; + }), + (_.multiply = a), + (_.rotate = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + s = _[3], + n = _[4], + i = _[5], + d = H(e), + l = C(e); + return ( + (g[0] = a * l + r * d), + (g[1] = t * l + s * d), + (g[2] = a * -d + r * l), + (g[3] = t * -d + s * l), + (g[4] = n), + (g[5] = i), + g + ); + }), + (_.scale = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = e[0], + o = e[1]; + return ( + (g[0] = a * d), + (g[1] = t * d), + (g[2] = r * o), + (g[3] = l * o), + (g[4] = s), + (g[5] = n), + g + ); + }), + (_.translate = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = e[0], + o = e[1]; + return ( + (g[0] = a), + (g[1] = t), + (g[2] = r), + (g[3] = l), + (g[4] = a * d + r * o + s), + (g[5] = t * d + l * o + n), + g + ); + }), + (_.g_w = function (g, _) { + var e = H(_), + a = C(_); + return (g[0] = a), (g[1] = e), (g[2] = -e), (g[3] = a), (g[4] = 0), (g[5] = 0), g; + }), + (_.g_x = function (g, _) { + return (g[0] = _[0]), (g[1] = 0), (g[2] = 0), (g[3] = _[1]), (g[4] = 0), (g[5] = 0), g; + }), + (_.g_v = function (g, _) { + return (g[0] = 1), (g[1] = 0), (g[2] = 0), (g[3] = 1), (g[4] = _[0]), (g[5] = _[1]), g; + }), + (_.g_C = function (g) { + return ( + 'mat2d(' + + g[0] + + ', ' + + g[1] + + ', ' + + g[2] + + ', ' + + g[3] + + ', ' + + g[4] + + ', ' + + g[5] + + ')' + ); + }), + (_.g_D = function (g) { + return B(t(g[0], 2) + t(g[1], 2) + t(g[2], 2) + t(g[3], 2) + t(g[4], 2) + t(g[5], 2) + 1); + }), + (_.add = function (g, _, e) { + return ( + (g[0] = _[0] + e[0]), + (g[1] = _[1] + e[1]), + (g[2] = _[2] + e[2]), + (g[3] = _[3] + e[3]), + (g[4] = _[4] + e[4]), + (g[5] = _[5] + e[5]), + g + ); + }), + (_.g_E = n), + (_.g_F = function (g, _, e) { + return ( + (g[0] = _[0] * e), + (g[1] = _[1] * e), + (g[2] = _[2] * e), + (g[3] = _[3] * e), + (g[4] = _[4] * e), + (g[5] = _[5] * e), + g + ); + }), + (_.g_G = function (g, _, e, a) { + return ( + (g[0] = _[0] + e[0] * a), + (g[1] = _[1] + e[1] * a), + (g[2] = _[2] + e[2] * a), + (g[3] = _[3] + e[3] * a), + (g[4] = _[4] + e[4] * a), + (g[5] = _[5] + e[5] * a), + g + ); + }), + (_.g_H = function (g, _) { + return ( + g[0] === _[0] && + g[1] === _[1] && + g[2] === _[2] && + g[3] === _[3] && + g[4] === _[4] && + g[5] === _[5] + ); + }), + (_.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = g[2], + i = g[3], + r = g[4], + s = g[5], + n = _[0], + d = _[1], + l = _[2], + o = _[3], + u = _[4], + p = _[5]; + return ( + w(e - n) <= h.EPSILON * U(1, w(e), w(n)) && + w(a - d) <= h.EPSILON * U(1, w(a), w(d)) && + w(t - l) <= h.EPSILON * U(1, w(t), w(l)) && + w(i - o) <= h.EPSILON * U(1, w(i), w(o)) && + w(r - u) <= h.EPSILON * U(1, w(r), w(u)) && + w(s - p) <= h.EPSILON * U(1, w(s), w(p)) + ); + }); + var i = e(0), + h = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(i), + r = (_.g_n = a), + s = (_.sub = n); + }, + function (g, _, e) { + 'use strict'; + function a(g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = _[4], + n = _[5], + d = _[6], + o = _[7], + i = _[8], + u = _[9], + h = _[10], + c = _[11], + f = _[12], + p = _[13], + m = _[14], + E = _[15], + b = e[0], + y = e[1], + B = e[2], + v = e[3]; + return ( + (g[0] = b * a + y * s + B * i + v * f), + (g[1] = b * t + y * n + B * u + v * p), + (g[2] = b * r + y * d + B * h + v * m), + (g[3] = b * l + y * o + B * c + v * E), + (b = e[4]), + (y = e[5]), + (B = e[6]), + (v = e[7]), + (g[4] = b * a + y * s + B * i + v * f), + (g[5] = b * t + y * n + B * u + v * p), + (g[6] = b * r + y * d + B * h + v * m), + (g[7] = b * l + y * o + B * c + v * E), + (b = e[8]), + (y = e[9]), + (B = e[10]), + (v = e[11]), + (g[8] = b * a + y * s + B * i + v * f), + (g[9] = b * t + y * n + B * u + v * p), + (g[10] = b * r + y * d + B * h + v * m), + (g[11] = b * l + y * o + B * c + v * E), + (b = e[12]), + (y = e[13]), + (B = e[14]), + (v = e[15]), + (g[12] = b * a + y * s + B * i + v * f), + (g[13] = b * t + y * n + B * u + v * p), + (g[14] = b * r + y * d + B * h + v * m), + (g[15] = b * l + y * o + B * c + v * E), + g + ); + } + function n(g, _, e) { + return ( + (g[0] = _[0] - e[0]), + (g[1] = _[1] - e[1]), + (g[2] = _[2] - e[2]), + (g[3] = _[3] - e[3]), + (g[4] = _[4] - e[4]), + (g[5] = _[5] - e[5]), + (g[6] = _[6] - e[6]), + (g[7] = _[7] - e[7]), + (g[8] = _[8] - e[8]), + (g[9] = _[9] - e[9]), + (g[10] = _[10] - e[10]), + (g[11] = _[11] - e[11]), + (g[12] = _[12] - e[12]), + (g[13] = _[13] - e[13]), + (g[14] = _[14] - e[14]), + (g[15] = _[15] - e[15]), + g + ); + } + var c = Math.tan; + Object.defineProperty(_, '__esModule', { value: !0 }), + (_.sub = _.g_n = void 0), + (_.create = function () { + var g = new F.g_j(16); + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = 1), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = 1), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.clone = function (g) { + var _ = new F.g_j(16); + return ( + (_[0] = g[0]), + (_[1] = g[1]), + (_[2] = g[2]), + (_[3] = g[3]), + (_[4] = g[4]), + (_[5] = g[5]), + (_[6] = g[6]), + (_[7] = g[7]), + (_[8] = g[8]), + (_[9] = g[9]), + (_[10] = g[10]), + (_[11] = g[11]), + (_[12] = g[12]), + (_[13] = g[13]), + (_[14] = g[14]), + (_[15] = g[15]), + _ + ); + }), + (_.g_p = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = _[1]), + (g[2] = _[2]), + (g[3] = _[3]), + (g[4] = _[4]), + (g[5] = _[5]), + (g[6] = _[6]), + (g[7] = _[7]), + (g[8] = _[8]), + (g[9] = _[9]), + (g[10] = _[10]), + (g[11] = _[11]), + (g[12] = _[12]), + (g[13] = _[13]), + (g[14] = _[14]), + (g[15] = _[15]), + g + ); + }), + (_.g_q = function (g, _, e, a, t, r, l, s, n, d, o, i, u, h, c, p) { + var f = new F.g_j(16); + return ( + (f[0] = g), + (f[1] = _), + (f[2] = e), + (f[3] = a), + (f[4] = t), + (f[5] = r), + (f[6] = l), + (f[7] = s), + (f[8] = n), + (f[9] = d), + (f[10] = o), + (f[11] = i), + (f[12] = u), + (f[13] = h), + (f[14] = c), + (f[15] = p), + f + ); + }), + (_.set = function (g, _, e, a, t, r, l, s, n, d, o, i, u, h, c, f, p) { + return ( + (g[0] = _), + (g[1] = e), + (g[2] = a), + (g[3] = t), + (g[4] = r), + (g[5] = l), + (g[6] = s), + (g[7] = n), + (g[8] = d), + (g[9] = o), + (g[10] = i), + (g[11] = u), + (g[12] = h), + (g[13] = c), + (g[14] = f), + (g[15] = p), + g + ); + }), + (_.identity = function (g) { + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = 1), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = 1), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_r = function (g, _) { + if (g === _) { + var e = _[1], + a = _[2], + t = _[3], + i = _[6], + r = _[7], + s = _[11]; + (g[1] = _[4]), + (g[2] = _[8]), + (g[3] = _[12]), + (g[4] = e), + (g[6] = _[9]), + (g[7] = _[13]), + (g[8] = a), + (g[9] = i), + (g[11] = _[14]), + (g[12] = t), + (g[13] = r), + (g[14] = s); + } else + (g[0] = _[0]), + (g[1] = _[4]), + (g[2] = _[8]), + (g[3] = _[12]), + (g[4] = _[1]), + (g[5] = _[5]), + (g[6] = _[9]), + (g[7] = _[13]), + (g[8] = _[2]), + (g[9] = _[6]), + (g[10] = _[10]), + (g[11] = _[14]), + (g[12] = _[3]), + (g[13] = _[7]), + (g[14] = _[11]), + (g[15] = _[15]); + return g; + }), + (_.g_s = function (h, e) { + var t = e[0], + a = e[1], + r = e[2], + o = e[3], + l = e[4], + s = e[5], + n = e[6], + d = e[7], + u = e[8], + i = e[9], + c = e[10], + m = e[11], + f = e[12], + b = e[13], + p = e[14], + E = e[15], + y = t * s - a * l, + B = t * n - r * l, + C = t * d - o * l, + T = a * n - r * s, + H = a * d - o * s, + x = r * d - o * n, + _ = u * b - i * f, + N = u * p - c * f, + U = u * E - m * f, + w = i * p - c * b, + q = i * E - m * b, + g = c * E - m * p, + I = y * g - B * q + C * w + T * U - H * N + x * _; + return I + ? ((I = 1 / I), + (h[0] = (s * g - n * q + d * w) * I), + (h[1] = (r * q - a * g - o * w) * I), + (h[2] = (b * x - p * H + E * T) * I), + (h[3] = (c * H - i * x - m * T) * I), + (h[4] = (n * U - l * g - d * N) * I), + (h[5] = (t * g - r * U + o * N) * I), + (h[6] = (p * C - f * x - E * B) * I), + (h[7] = (u * x - c * C + m * B) * I), + (h[8] = (l * q - s * U + d * _) * I), + (h[9] = (a * U - t * q - o * _) * I), + (h[10] = (f * H - b * C + E * y) * I), + (h[11] = (i * C - u * H - m * y) * I), + (h[12] = (s * N - l * w - n * _) * I), + (h[13] = (t * w - a * N + r * _) * I), + (h[14] = (b * B - f * T - p * y) * I), + (h[15] = (u * T - i * B + c * y) * I), + h) + : null; + }), + (_.g_t = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + r = _[3], + l = _[4], + s = _[5], + n = _[6], + d = _[7], + o = _[8], + i = _[9], + u = _[10], + h = _[11], + c = _[12], + f = _[13], + p = _[14], + m = _[15]; + return ( + (g[0] = s * (u * m - h * p) - i * (n * m - d * p) + f * (n * h - d * u)), + (g[1] = -(a * (u * m - h * p) - i * (t * m - r * p) + f * (t * h - r * u))), + (g[2] = a * (n * m - d * p) - s * (t * m - r * p) + f * (t * d - r * n)), + (g[3] = -(a * (n * h - d * u) - s * (t * h - r * u) + i * (t * d - r * n))), + (g[4] = -(l * (u * m - h * p) - o * (n * m - d * p) + c * (n * h - d * u))), + (g[5] = e * (u * m - h * p) - o * (t * m - r * p) + c * (t * h - r * u)), + (g[6] = -(e * (n * m - d * p) - l * (t * m - r * p) + c * (t * d - r * n))), + (g[7] = e * (n * h - d * u) - l * (t * h - r * u) + o * (t * d - r * n)), + (g[8] = l * (i * m - h * f) - o * (s * m - d * f) + c * (s * h - d * i)), + (g[9] = -(e * (i * m - h * f) - o * (a * m - r * f) + c * (a * h - r * i))), + (g[10] = e * (s * m - d * f) - l * (a * m - r * f) + c * (a * d - r * s)), + (g[11] = -(e * (s * h - d * i) - l * (a * h - r * i) + o * (a * d - r * s))), + (g[12] = -(l * (i * p - u * f) - o * (s * p - n * f) + c * (s * u - n * i))), + (g[13] = e * (i * p - u * f) - o * (a * p - t * f) + c * (a * u - t * i)), + (g[14] = -(e * (s * p - n * f) - l * (a * p - t * f) + c * (a * n - t * s))), + (g[15] = e * (s * u - n * i) - l * (a * u - t * i) + o * (a * n - t * s)), + g + ); + }), + (_.g_u = function (g) { + var _ = g[0], + e = g[1], + a = g[2], + t = g[3], + r = g[4], + l = g[5], + s = g[6], + n = g[7], + d = g[8], + o = g[9], + i = g[10], + u = g[11], + h = g[12], + c = g[13], + f = g[14], + p = g[15]; + return ( + (_ * l - e * r) * (i * p - u * f) - + (_ * s - a * r) * (o * p - u * c) + + (_ * n - t * r) * (o * f - i * c) + + (e * s - a * l) * (d * p - u * h) - + (e * n - t * l) * (d * f - i * h) + + (a * n - t * s) * (d * c - o * h) + ); + }), + (_.multiply = a), + (_.translate = function (g, _, e) { + var a = e[0], + t = e[1], + r = e[2], + l, + o, + h, + b, + B, + v, + C, + T, + H, + N, + x, + q; + return ( + _ === g + ? ((g[12] = _[0] * a + _[4] * t + _[8] * r + _[12]), + (g[13] = _[1] * a + _[5] * t + _[9] * r + _[13]), + (g[14] = _[2] * a + _[6] * t + _[10] * r + _[14]), + (g[15] = _[3] * a + _[7] * t + _[11] * r + _[15])) + : ((l = _[0]), + (o = _[1]), + (h = _[2]), + (b = _[3]), + (B = _[4]), + (v = _[5]), + (C = _[6]), + (T = _[7]), + (H = _[8]), + (N = _[9]), + (x = _[10]), + (q = _[11]), + (g[0] = l), + (g[1] = o), + (g[2] = h), + (g[3] = b), + (g[4] = B), + (g[5] = v), + (g[6] = C), + (g[7] = T), + (g[8] = H), + (g[9] = N), + (g[10] = x), + (g[11] = q), + (g[12] = l * a + B * t + H * r + _[12]), + (g[13] = o * a + v * t + N * r + _[13]), + (g[14] = h * a + C * t + x * r + _[14]), + (g[15] = b * a + T * t + q * r + _[15])), + g + ); + }), + (_.scale = function (g, _, e) { + var a = e[0], + t = e[1], + n = e[2]; + return ( + (g[0] = _[0] * a), + (g[1] = _[1] * a), + (g[2] = _[2] * a), + (g[3] = _[3] * a), + (g[4] = _[4] * t), + (g[5] = _[5] * t), + (g[6] = _[6] * t), + (g[7] = _[7] * t), + (g[8] = _[8] * n), + (g[9] = _[9] * n), + (g[10] = _[10] * n), + (g[11] = _[11] * n), + (g[12] = _[12]), + (g[13] = _[13]), + (g[14] = _[14]), + (g[15] = _[15]), + g + ); + }), + (_.rotate = function (n, e, r, a) { + var d = a[0], + o = a[1], + u = a[2], + m = B(d * d + o * o + u * u), + U, + j, + z, + $, + P, + G, + K, + J, + W, + Q, + X, + V, + Z, + gg, + _g, + eg, + ag, + tg, + ng, + ig, + rg, + sg, + dg, + lg; + return w(m) < F.EPSILON + ? null + : ((m = 1 / m), + (d *= m), + (o *= m), + (u *= m), + (U = H(r)), + (j = C(r)), + (z = 1 - j), + ($ = e[0]), + (P = e[1]), + (G = e[2]), + (K = e[3]), + (J = e[4]), + (W = e[5]), + (Q = e[6]), + (X = e[7]), + (V = e[8]), + (Z = e[9]), + (gg = e[10]), + (_g = e[11]), + (eg = d * d * z + j), + (ag = o * d * z + u * U), + (tg = u * d * z - o * U), + (ng = d * o * z - u * U), + (ig = o * o * z + j), + (rg = u * o * z + d * U), + (sg = d * u * z + o * U), + (dg = o * u * z - d * U), + (lg = u * u * z + j), + (n[0] = $ * eg + J * ag + V * tg), + (n[1] = P * eg + W * ag + Z * tg), + (n[2] = G * eg + Q * ag + gg * tg), + (n[3] = K * eg + X * ag + _g * tg), + (n[4] = $ * ng + J * ig + V * rg), + (n[5] = P * ng + W * ig + Z * rg), + (n[6] = G * ng + Q * ig + gg * rg), + (n[7] = K * ng + X * ig + _g * rg), + (n[8] = $ * sg + J * dg + V * lg), + (n[9] = P * sg + W * dg + Z * lg), + (n[10] = G * sg + Q * dg + gg * lg), + (n[11] = K * sg + X * dg + _g * lg), + e !== n && ((n[12] = e[12]), (n[13] = e[13]), (n[14] = e[14]), (n[15] = e[15])), + n); + }), + (_.g_$ = function (g, _, e) { + var a = H(e), + t = C(e), + r = _[4], + d = _[5], + s = _[6], + n = _[7], + i = _[8], + l = _[9], + o = _[10], + u = _[11]; + return ( + _ !== g && + ((g[0] = _[0]), + (g[1] = _[1]), + (g[2] = _[2]), + (g[3] = _[3]), + (g[12] = _[12]), + (g[13] = _[13]), + (g[14] = _[14]), + (g[15] = _[15])), + (g[4] = r * t + i * a), + (g[5] = d * t + l * a), + (g[6] = s * t + o * a), + (g[7] = n * t + u * a), + (g[8] = i * t - r * a), + (g[9] = l * t - d * a), + (g[10] = o * t - s * a), + (g[11] = u * t - n * a), + g + ); + }), + (_.g_aa = function (g, _, e) { + var a = H(e), + t = C(e), + r = _[0], + d = _[1], + s = _[2], + n = _[3], + i = _[8], + l = _[9], + o = _[10], + u = _[11]; + return ( + _ !== g && + ((g[4] = _[4]), + (g[5] = _[5]), + (g[6] = _[6]), + (g[7] = _[7]), + (g[12] = _[12]), + (g[13] = _[13]), + (g[14] = _[14]), + (g[15] = _[15])), + (g[0] = r * t - i * a), + (g[1] = d * t - l * a), + (g[2] = s * t - o * a), + (g[3] = n * t - u * a), + (g[8] = r * a + i * t), + (g[9] = d * a + l * t), + (g[10] = s * a + o * t), + (g[11] = n * a + u * t), + g + ); + }), + (_.g_ab = function (g, _, e) { + var a = H(e), + t = C(e), + r = _[0], + d = _[1], + s = _[2], + n = _[3], + i = _[4], + l = _[5], + o = _[6], + u = _[7]; + return ( + _ !== g && + ((g[8] = _[8]), + (g[9] = _[9]), + (g[10] = _[10]), + (g[11] = _[11]), + (g[12] = _[12]), + (g[13] = _[13]), + (g[14] = _[14]), + (g[15] = _[15])), + (g[0] = r * t + i * a), + (g[1] = d * t + l * a), + (g[2] = s * t + o * a), + (g[3] = n * t + u * a), + (g[4] = i * t - r * a), + (g[5] = l * t - d * a), + (g[6] = o * t - s * a), + (g[7] = u * t - n * a), + g + ); + }), + (_.g_v = function (g, _) { + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = 1), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = 1), + (g[11] = 0), + (g[12] = _[0]), + (g[13] = _[1]), + (g[14] = _[2]), + (g[15] = 1), + g + ); + }), + (_.g_x = function (g, _) { + return ( + (g[0] = _[0]), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = _[1]), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = _[2]), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_w = function (g, _, e) { + var a = e[0], + t = e[1], + n = e[2], + r = B(a * a + t * t + n * n), + d, + u, + h; + return w(r) < F.EPSILON + ? null + : ((r = 1 / r), + (a *= r), + (t *= r), + (n *= r), + (d = H(_)), + (u = C(_)), + (h = 1 - u), + (g[0] = a * a * h + u), + (g[1] = t * a * h + n * d), + (g[2] = n * a * h - t * d), + (g[3] = 0), + (g[4] = a * t * h - n * d), + (g[5] = t * t * h + u), + (g[6] = n * t * h + a * d), + (g[7] = 0), + (g[8] = a * n * h + t * d), + (g[9] = t * n * h - a * d), + (g[10] = n * n * h + u), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g); + }), + (_.g_ad = function (g, _) { + var e = H(_), + a = C(_); + return ( + (g[0] = 1), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = a), + (g[6] = e), + (g[7] = 0), + (g[8] = 0), + (g[9] = -e), + (g[10] = a), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_ae = function (g, _) { + var e = H(_), + a = C(_); + return ( + (g[0] = a), + (g[1] = 0), + (g[2] = -e), + (g[3] = 0), + (g[4] = 0), + (g[5] = 1), + (g[6] = 0), + (g[7] = 0), + (g[8] = e), + (g[9] = 0), + (g[10] = a), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_af = function (g, _) { + var e = H(_), + a = C(_); + return ( + (g[0] = a), + (g[1] = e), + (g[2] = 0), + (g[3] = 0), + (g[4] = -e), + (g[5] = a), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = 1), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_ag = function (g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = a + a, + n = t + t, + d = r + r, + o = a * s, + i = a * n, + u = a * d, + h = t * n, + c = t * d, + f = r * d, + p = l * s, + m = l * n, + E = l * d; + return ( + (g[0] = 1 - (h + f)), + (g[1] = i + E), + (g[2] = u - m), + (g[3] = 0), + (g[4] = i - E), + (g[5] = 1 - (o + f)), + (g[6] = c + p), + (g[7] = 0), + (g[8] = u + m), + (g[9] = c - p), + (g[10] = 1 - (o + h)), + (g[11] = 0), + (g[12] = e[0]), + (g[13] = e[1]), + (g[14] = e[2]), + (g[15] = 1), + g + ); + }), + (_.g_ah = function (g, _) { + return (g[0] = _[12]), (g[1] = _[13]), (g[2] = _[14]), g; + }), + (_.g_ai = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + n = _[4], + r = _[5], + s = _[6], + d = _[8], + l = _[9], + i = _[10]; + return ( + (g[0] = B(e * e + a * a + t * t)), + (g[1] = B(n * n + r * r + s * s)), + (g[2] = B(d * d + l * l + i * i)), + g + ); + }), + (_.g_aj = function (g, _) { + var e = _[0] + _[5] + _[10], + a = 0; + return ( + 0 < e + ? ((a = 2 * B(e + 1)), + (g[3] = 0.25 * a), + (g[0] = (_[6] - _[9]) / a), + (g[1] = (_[8] - _[2]) / a), + (g[2] = (_[1] - _[4]) / a)) + : (_[0] > _[5]) & (_[0] > _[10]) + ? ((a = 2 * B(1 + _[0] - _[5] - _[10])), + (g[3] = (_[6] - _[9]) / a), + (g[0] = 0.25 * a), + (g[1] = (_[1] + _[4]) / a), + (g[2] = (_[8] + _[2]) / a)) + : _[5] > _[10] + ? ((a = 2 * B(1 + _[5] - _[0] - _[10])), + (g[3] = (_[8] - _[2]) / a), + (g[0] = (_[1] + _[4]) / a), + (g[1] = 0.25 * a), + (g[2] = (_[6] + _[9]) / a)) + : ((a = 2 * B(1 + _[10] - _[0] - _[5])), + (g[3] = (_[1] - _[4]) / a), + (g[0] = (_[8] + _[2]) / a), + (g[1] = (_[6] + _[9]) / a), + (g[2] = 0.25 * a)), + g + ); + }), + (_.g_ak = function (g, _, e, a) { + var t = _[0], + r = _[1], + l = _[2], + s = _[3], + n = t + t, + d = r + r, + o = l + l, + i = t * n, + u = t * d, + h = t * o, + c = r * d, + f = r * o, + p = l * o, + m = s * n, + E = s * d, + b = s * o, + y = a[0], + B = a[1], + v = a[2]; + return ( + (g[0] = (1 - (c + p)) * y), + (g[1] = (u + b) * y), + (g[2] = (h - E) * y), + (g[3] = 0), + (g[4] = (u - b) * B), + (g[5] = (1 - (i + p)) * B), + (g[6] = (f + m) * B), + (g[7] = 0), + (g[8] = (h + E) * v), + (g[9] = (f - m) * v), + (g[10] = (1 - (i + c)) * v), + (g[11] = 0), + (g[12] = e[0]), + (g[13] = e[1]), + (g[14] = e[2]), + (g[15] = 1), + g + ); + }), + (_.g_al = function (g, e, t, a, r) { + var l = e[0], + o = e[1], + s = e[2], + n = e[3], + d = l + l, + u = o + o, + i = s + s, + h = l * d, + c = l * u, + f = l * i, + m = o * u, + p = o * i, + E = s * i, + b = n * d, + y = n * u, + B = n * i, + v = a[0], + C = a[1], + T = a[2], + _ = r[0], + H = r[1], + N = r[2]; + return ( + (g[0] = (1 - (m + E)) * v), + (g[1] = (c + B) * v), + (g[2] = (f - y) * v), + (g[3] = 0), + (g[4] = (c - B) * C), + (g[5] = (1 - (h + E)) * C), + (g[6] = (p + b) * C), + (g[7] = 0), + (g[8] = (f + y) * T), + (g[9] = (p - b) * T), + (g[10] = (1 - (h + m)) * T), + (g[11] = 0), + (g[12] = t[0] + _ - (g[0] * _ + g[4] * H + g[8] * N)), + (g[13] = t[1] + H - (g[1] * _ + g[5] * H + g[9] * N)), + (g[14] = t[2] + N - (g[2] * _ + g[6] * H + g[10] * N)), + (g[15] = 1), + g + ); + }), + (_.g_z = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + r = _[3], + l = e + e, + s = a + a, + n = t + t, + d = e * l, + o = a * l, + i = a * s, + u = t * l, + h = t * s, + c = t * n, + f = r * l, + p = r * s, + m = r * n; + return ( + (g[0] = 1 - i - c), + (g[1] = o + m), + (g[2] = u - p), + (g[3] = 0), + (g[4] = o - m), + (g[5] = 1 - d - c), + (g[6] = h + f), + (g[7] = 0), + (g[8] = u + p), + (g[9] = h - f), + (g[10] = 1 - d - i), + (g[11] = 0), + (g[12] = 0), + (g[13] = 0), + (g[14] = 0), + (g[15] = 1), + g + ); + }), + (_.g_am = function (g, _, e, a, t, i, r) { + var s = 1 / (e - _), + n = 1 / (t - a), + d = 1 / (i - r); + return ( + (g[0] = 2 * i * s), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = 2 * i * n), + (g[6] = 0), + (g[7] = 0), + (g[8] = (e + _) * s), + (g[9] = (t + a) * n), + (g[10] = (r + i) * d), + (g[11] = -1), + (g[12] = 0), + (g[13] = 0), + (g[14] = 2 * (r * i) * d), + (g[15] = 0), + g + ); + }), + (_.perspective = function (g, _, e, a, t) { + var i = 1 / c(_ / 2), + r = 1 / (a - t); + return ( + (g[0] = i / e), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = i), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = (t + a) * r), + (g[11] = -1), + (g[12] = 0), + (g[13] = 0), + (g[14] = 2 * t * a * r), + (g[15] = 0), + g + ); + }), + (_.g_an = function (g, _, e, a) { + var t = c((_.g_ao * h) / 180), + r = c((_.g_ap * h) / 180), + s = c((_.g_aq * h) / 180), + n = c((_.g_ar * h) / 180), + d = 2 / (s + n), + l = 2 / (t + r); + return ( + (g[0] = d), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = l), + (g[6] = 0), + (g[7] = 0), + (g[8] = -(0.5 * ((s - n) * d))), + (g[9] = 0.5 * ((t - r) * l)), + (g[10] = a / (e - a)), + (g[11] = -1), + (g[12] = 0), + (g[13] = 0), + (g[14] = (a * e) / (e - a)), + (g[15] = 0), + g + ); + }), + (_.g_as = function (g, _, e, a, t, i, r) { + var s = 1 / (_ - e), + n = 1 / (a - t), + d = 1 / (i - r); + return ( + (g[0] = -2 * s), + (g[1] = 0), + (g[2] = 0), + (g[3] = 0), + (g[4] = 0), + (g[5] = -2 * n), + (g[6] = 0), + (g[7] = 0), + (g[8] = 0), + (g[9] = 0), + (g[10] = 2 * d), + (g[11] = 0), + (g[12] = (_ + e) * s), + (g[13] = (t + a) * n), + (g[14] = (r + i) * d), + (g[15] = 1), + g + ); + }), + (_.g_at = function (g, e, t, a) { + var n = e[0], + r = e[1], + h = e[2], + m = a[0], + b = a[1], + y = a[2], + v = t[0], + _ = t[1], + C = t[2], + T, + H, + N, + x, + q, + U, + I, + D, + R, + k; + return w(n - v) < F.EPSILON && w(r - _) < F.EPSILON && w(h - C) < F.EPSILON + ? mat4.identity(g) + : ((I = n - v), + (D = r - _), + (R = h - C), + (k = 1 / B(I * I + D * D + R * R)), + (I *= k), + (D *= k), + (R *= k), + (T = b * R - y * D), + (H = y * I - m * R), + (N = m * D - b * I), + (k = B(T * T + H * H + N * N)), + k ? ((k = 1 / k), (T *= k), (H *= k), (N *= k)) : ((T = 0), (H = 0), (N = 0)), + (x = D * N - R * H), + (q = R * T - I * N), + (U = I * H - D * T), + (k = B(x * x + q * q + U * U)), + k ? ((k = 1 / k), (x *= k), (q *= k), (U *= k)) : ((x = 0), (q = 0), (U = 0)), + (g[0] = T), + (g[1] = x), + (g[2] = I), + (g[3] = 0), + (g[4] = H), + (g[5] = q), + (g[6] = D), + (g[7] = 0), + (g[8] = N), + (g[9] = U), + (g[10] = R), + (g[11] = 0), + (g[12] = -(T * n + H * r + N * h)), + (g[13] = -(x * n + q * r + U * h)), + (g[14] = -(I * n + D * r + R * h)), + (g[15] = 1), + g); + }), + (_.g_au = function (g, _, e, a) { + var t = _[0], + n = _[1], + r = _[2], + s = a[0], + d = a[1], + l = a[2], + i = t - e[0], + o = n - e[1], + u = r - e[2], + h = i * i + o * o + u * u; + 0 < h && ((h = 1 / B(h)), (i *= h), (o *= h), (u *= h)); + var b = d * u - l * o, + p = l * i - s * u, + E = s * o - d * i; + return ( + (g[0] = b), + (g[1] = p), + (g[2] = E), + (g[3] = 0), + (g[4] = o * E - u * p), + (g[5] = u * b - i * E), + (g[6] = i * p - o * b), + (g[7] = 0), + (g[8] = i), + (g[9] = o), + (g[10] = u), + (g[11] = 0), + (g[12] = t), + (g[13] = n), + (g[14] = r), + (g[15] = 1), + g + ); + }), + (_.g_C = function (g) { + return ( + 'mat4(' + + g[0] + + ', ' + + g[1] + + ', ' + + g[2] + + ', ' + + g[3] + + ', ' + + g[4] + + ', ' + + g[5] + + ', ' + + g[6] + + ', ' + + g[7] + + ', ' + + g[8] + + ', ' + + g[9] + + ', ' + + g[10] + + ', ' + + g[11] + + ', ' + + g[12] + + ', ' + + g[13] + + ', ' + + g[14] + + ', ' + + g[15] + + ')' + ); + }), + (_.g_D = function (g) { + return B( + t(g[0], 2) + + t(g[1], 2) + + t(g[2], 2) + + t(g[3], 2) + + t(g[4], 2) + + t(g[5], 2) + + t(g[6], 2) + + t(g[7], 2) + + t(g[8], 2) + + t(g[9], 2) + + t(g[10], 2) + + t(g[11], 2) + + t(g[12], 2) + + t(g[13], 2) + + t(g[14], 2) + + t(g[15], 2) + ); + }), + (_.add = function (g, _, e) { + return ( + (g[0] = _[0] + e[0]), + (g[1] = _[1] + e[1]), + (g[2] = _[2] + e[2]), + (g[3] = _[3] + e[3]), + (g[4] = _[4] + e[4]), + (g[5] = _[5] + e[5]), + (g[6] = _[6] + e[6]), + (g[7] = _[7] + e[7]), + (g[8] = _[8] + e[8]), + (g[9] = _[9] + e[9]), + (g[10] = _[10] + e[10]), + (g[11] = _[11] + e[11]), + (g[12] = _[12] + e[12]), + (g[13] = _[13] + e[13]), + (g[14] = _[14] + e[14]), + (g[15] = _[15] + e[15]), + g + ); + }), + (_.g_E = n), + (_.g_F = function (g, _, e) { + return ( + (g[0] = _[0] * e), + (g[1] = _[1] * e), + (g[2] = _[2] * e), + (g[3] = _[3] * e), + (g[4] = _[4] * e), + (g[5] = _[5] * e), + (g[6] = _[6] * e), + (g[7] = _[7] * e), + (g[8] = _[8] * e), + (g[9] = _[9] * e), + (g[10] = _[10] * e), + (g[11] = _[11] * e), + (g[12] = _[12] * e), + (g[13] = _[13] * e), + (g[14] = _[14] * e), + (g[15] = _[15] * e), + g + ); + }), + (_.g_G = function (g, _, e, a) { + return ( + (g[0] = _[0] + e[0] * a), + (g[1] = _[1] + e[1] * a), + (g[2] = _[2] + e[2] * a), + (g[3] = _[3] + e[3] * a), + (g[4] = _[4] + e[4] * a), + (g[5] = _[5] + e[5] * a), + (g[6] = _[6] + e[6] * a), + (g[7] = _[7] + e[7] * a), + (g[8] = _[8] + e[8] * a), + (g[9] = _[9] + e[9] * a), + (g[10] = _[10] + e[10] * a), + (g[11] = _[11] + e[11] * a), + (g[12] = _[12] + e[12] * a), + (g[13] = _[13] + e[13] * a), + (g[14] = _[14] + e[14] * a), + (g[15] = _[15] + e[15] * a), + g + ); + }), + (_.g_H = function (g, _) { + return ( + g[0] === _[0] && + g[1] === _[1] && + g[2] === _[2] && + g[3] === _[3] && + g[4] === _[4] && + g[5] === _[5] && + g[6] === _[6] && + g[7] === _[7] && + g[8] === _[8] && + g[9] === _[9] && + g[10] === _[10] && + g[11] === _[11] && + g[12] === _[12] && + g[13] === _[13] && + g[14] === _[14] && + g[15] === _[15] + ); + }), + (_.g_l = function (i, e) { + var t = i[0], + a = i[1], + r = i[2], + o = i[3], + l = i[4], + s = i[5], + n = i[6], + d = i[7], + u = i[8], + c = i[9], + f = i[10], + p = i[11], + m = i[12], + E = i[13], + y = i[14], + B = i[15], + C = e[0], + H = e[1], + R = e[2], + _ = e[3], + N = e[4], + I = e[5], + L = e[6], + q = e[7], + g = e[8], + O = e[9], + v = e[10], + h = e[11], + T = e[12], + b = e[13], + x = e[14], + D = e[15]; + return ( + w(t - C) <= F.EPSILON * U(1, w(t), w(C)) && + w(a - H) <= F.EPSILON * U(1, w(a), w(H)) && + w(r - R) <= F.EPSILON * U(1, w(r), w(R)) && + w(o - _) <= F.EPSILON * U(1, w(o), w(_)) && + w(l - N) <= F.EPSILON * U(1, w(l), w(N)) && + w(s - I) <= F.EPSILON * U(1, w(s), w(I)) && + w(n - L) <= F.EPSILON * U(1, w(n), w(L)) && + w(d - q) <= F.EPSILON * U(1, w(d), w(q)) && + w(u - g) <= F.EPSILON * U(1, w(u), w(g)) && + w(c - O) <= F.EPSILON * U(1, w(c), w(O)) && + w(f - v) <= F.EPSILON * U(1, w(f), w(v)) && + w(p - h) <= F.EPSILON * U(1, w(p), w(h)) && + w(m - T) <= F.EPSILON * U(1, w(m), w(T)) && + w(E - b) <= F.EPSILON * U(1, w(E), w(b)) && + w(y - x) <= F.EPSILON * U(1, w(y), w(x)) && + w(B - D) <= F.EPSILON * U(1, w(B), w(D)) + ); + }); + var i = e(0), + F = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(i), + r = (_.g_n = a), + s = (_.sub = n); + }, + function (e, t, a) { + 'use strict'; + function n(g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + } + function d() { + var g = new o.g_j(4); + return (g[0] = 0), (g[1] = 0), (g[2] = 0), (g[3] = 1), g; + } + function u(g, _, e) { + e *= 0.5; + var t = H(e); + return (g[0] = t * _[0]), (g[1] = t * _[1]), (g[2] = t * _[2]), (g[3] = C(e)), g; + } + function r(g, _, e) { + var a = _[0], + t = _[1], + r = _[2], + l = _[3], + s = e[0], + n = e[1], + d = e[2], + o = e[3]; + return ( + (g[0] = a * o + l * s + t * d - r * n), + (g[1] = t * o + l * n + r * s - a * d), + (g[2] = r * o + l * d + a * n - t * s), + (g[3] = l * o - a * s - t * n - r * d), + g + ); + } + function i(_, e, r, a) { + var l = e[0], + t = e[1], + s = e[2], + n = e[3], + d = r[0], + o = r[1], + u = r[2], + h = r[3], + b, + B, + v, + C, + T; + return ( + (B = l * d + t * o + s * u + n * h), + 0 > B && ((B = -B), (d = -d), (o = -o), (u = -u), (h = -h)), + 1e-6 < 1 - B + ? ((b = g(B)), (v = H(b)), (C = H((1 - a) * b) / v), (T = H(a * b) / v)) + : ((C = 1 - a), (T = a)), + (_[0] = C * l + T * d), + (_[1] = C * t + T * o), + (_[2] = C * s + T * u), + (_[3] = C * n + T * h), + _ + ); + } + function s(g, _) { + var e = _[0] + _[4] + _[8], + a; + if (0 < e) + (a = B(e + 1)), + (g[3] = 0.5 * a), + (a = 0.5 / a), + (g[0] = (_[5] - _[7]) * a), + (g[1] = (_[6] - _[2]) * a), + (g[2] = (_[1] - _[3]) * a); + else { + var t = 0; + _[4] > _[0] && (t = 1), _[8] > _[3 * t + t] && (t = 2); + var n = (t + 1) % 3, + i = (t + 2) % 3; + (a = B(_[3 * t + t] - _[3 * n + n] - _[3 * i + i] + 1)), + (g[t] = 0.5 * a), + (a = 0.5 / a), + (g[3] = (_[3 * n + i] - _[3 * i + n]) * a), + (g[n] = (_[3 * n + t] + _[3 * t + n]) * a), + (g[i] = (_[3 * i + t] + _[3 * t + i]) * a); + } + return g; + } + Object.defineProperty(t, '__esModule', { value: !0 }), + (t.g_av = + t.g_aw = + t.g_ax = + t.g_l = + t.g_H = + t.normalize = + t.g_I = + t.g_R = + t.g_J = + t.length = + t.g_V = + t.g_T = + t.scale = + t.g_n = + t.add = + t.set = + t.g_p = + t.g_q = + t.clone = + void 0), + (t.create = d), + (t.identity = function (g) { + return (g[0] = 0), (g[1] = 0), (g[2] = 0), (g[3] = 1), g; + }), + (t.g_ay = u), + (t.g_az = function (_, e) { + var a = 2 * g(e[3]), + t = H(a / 2); + return ( + 0 == t + ? ((_[0] = 1), (_[1] = 0), (_[2] = 0)) + : ((_[0] = e[0] / t), (_[1] = e[1] / t), (_[2] = e[2] / t)), + a + ); + }), + (t.multiply = r), + (t.g_$ = function (g, _, e) { + e *= 0.5; + var t = _[0], + r = _[1], + d = _[2], + l = _[3], + s = H(e), + n = C(e); + return ( + (g[0] = t * n + l * s), + (g[1] = r * n + d * s), + (g[2] = d * n - r * s), + (g[3] = l * n - t * s), + g + ); + }), + (t.g_aa = function (g, _, e) { + e *= 0.5; + var t = _[0], + r = _[1], + d = _[2], + l = _[3], + s = H(e), + n = C(e); + return ( + (g[0] = t * n - d * s), + (g[1] = r * n + l * s), + (g[2] = d * n + t * s), + (g[3] = l * n - r * s), + g + ); + }), + (t.g_ab = function (g, _, e) { + e *= 0.5; + var t = _[0], + r = _[1], + d = _[2], + l = _[3], + s = H(e), + n = C(e); + return ( + (g[0] = t * n + r * s), + (g[1] = r * n - t * s), + (g[2] = d * n + l * s), + (g[3] = l * n - d * s), + g + ); + }), + (t.g_aA = function (g, _) { + var e = _[0], + a = _[1], + t = _[2]; + return (g[0] = e), (g[1] = a), (g[2] = t), (g[3] = B(w(1 - e * e - a * a - t * t))), g; + }), + (t.g_aB = i), + (t.g_s = function (g, _) { + var e = _[0], + a = _[1], + t = _[2], + i = _[3], + r = e * e + a * a + t * t + i * i, + s = r ? 1 / r : 0; + return (g[0] = -e * s), (g[1] = -a * s), (g[2] = -t * s), (g[3] = i * s), g; + }), + (t.g_aC = function (g, _) { + return (g[0] = -_[0]), (g[1] = -_[1]), (g[2] = -_[2]), (g[3] = _[3]), g; + }), + (t.g_aD = s), + (t.g_aE = function (g, _, e, d) { + var u = (0.5 * h) / 180; + (_ *= u), (e *= u), (d *= u); + var o = H(_), + l = C(_), + s = H(e), + n = C(e), + i = H(d), + p = C(d); + return ( + (g[0] = o * n * p - l * s * i), + (g[1] = l * s * p + o * n * i), + (g[2] = l * n * i - o * s * p), + (g[3] = l * n * p + o * s * i), + g + ); + }), + (t.g_C = function (g) { + return 'quat(' + g[0] + ', ' + g[1] + ', ' + g[2] + ', ' + g[3] + ')'; + }); + var l = a(0), + o = n(l), + p = a(1), + c = n(p), + f = a(2), + m = n(f), + E = a(3), + y = n(E), + U = (t.clone = y.clone), + _ = (t.g_q = y.g_q), + N = (t.g_p = y.g_p), + I = (t.set = y.set), + R = (t.add = y.add), + q = (t.g_n = r), + F = (t.scale = y.scale), + L = (t.g_T = y.g_T), + v = (t.g_V = y.g_V), + O = (t.length = y.length), + T = (t.g_J = O), + b = (t.g_R = y.g_R), + x = (t.g_I = b), + D = (t.normalize = y.normalize), + k = (t.g_H = y.g_H), + S = (t.g_l = y.g_l), + A = (t.g_ax = (function () { + var g = m.create(), + _ = m.g_q(1, 0, 0), + e = m.g_q(0, 1, 0); + return function (t, i, r) { + var a = m.g_T(i, r); + return -0.999999 > a + ? (m.g_U(g, _, i), + 1e-6 > m.g_J(g) && m.g_U(g, e, i), + m.normalize(g, g), + u(t, g, Math.PI), + t) + : 0.999999 < a + ? ((t[0] = 0), (t[1] = 0), (t[2] = 0), (t[3] = 1), t) + : (m.g_U(g, i, r), + (t[0] = g[0]), + (t[1] = g[1]), + (t[2] = g[2]), + (t[3] = 1 + a), + D(t, t)); + }; + })()), + j = (t.g_aw = (function () { + var g = d(), + _ = d(); + return function (e, t, r, a, s, n) { + return i(g, t, s, n), i(_, r, a, n), i(e, g, _, 2 * n * (1 - n)), e; + }; + })()), + z = (t.g_av = (function () { + var g = c.create(); + return function (_, e, a, t) { + return ( + (g[0] = a[0]), + (g[3] = a[1]), + (g[6] = a[2]), + (g[1] = t[0]), + (g[4] = t[1]), + (g[7] = t[2]), + (g[2] = -e[0]), + (g[5] = -e[1]), + (g[8] = -e[2]), + D(_, s(_, g)) + ); + }; + })()); + }, + function (t, e, n) { + 'use strict'; + function i() { + var g = new E.g_j(2); + return (g[0] = 0), (g[1] = 0), g; + } + function s(g, _, e) { + return (g[0] = _[0] - e[0]), (g[1] = _[1] - e[1]), g; + } + function d(g, _, e) { + return (g[0] = _[0] * e[0]), (g[1] = _[1] * e[1]), g; + } + function l(g, _, e) { + return (g[0] = _[0] / e[0]), (g[1] = _[1] / e[1]), g; + } + function o(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1]; + return B(e * e + a * a); + } + function u(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1]; + return e * e + a * a; + } + function c(g) { + var _ = g[0], + e = g[1]; + return B(_ * _ + e * e); + } + function f(g) { + var _ = g[0], + e = g[1]; + return _ * _ + e * e; + } + Object.defineProperty(e, '__esModule', { value: !0 }), + (e.forEach = e.g_I = e.g_K = e.g_L = e.g_M = e.g_n = e.sub = e.g_J = void 0), + (e.create = i), + (e.clone = function (g) { + var _ = new E.g_j(2); + return (_[0] = g[0]), (_[1] = g[1]), _; + }), + (e.g_q = function (g, _) { + var e = new E.g_j(2); + return (e[0] = g), (e[1] = _), e; + }), + (e.g_p = function (g, _) { + return (g[0] = _[0]), (g[1] = _[1]), g; + }), + (e.set = function (g, _, e) { + return (g[0] = _), (g[1] = e), g; + }), + (e.add = function (g, _, e) { + return (g[0] = _[0] + e[0]), (g[1] = _[1] + e[1]), g; + }), + (e.g_E = s), + (e.multiply = d), + (e.g_N = l), + (e.ceil = function (g, _) { + return (g[0] = r(_[0])), (g[1] = r(_[1])), g; + }), + (e.floor = function (g, _) { + return (g[0] = a(_[0])), (g[1] = a(_[1])), g; + }), + (e.min = function (g, _, e) { + return (g[0] = p(_[0], e[0])), (g[1] = p(_[1], e[1])), g; + }), + (e.max = function (g, _, e) { + return (g[0] = U(_[0], e[0])), (g[1] = U(_[1], e[1])), g; + }), + (e.round = function (g, e) { + return (g[0] = _(e[0])), (g[1] = _(e[1])), g; + }), + (e.scale = function (g, _, e) { + return (g[0] = _[0] * e), (g[1] = _[1] * e), g; + }), + (e.g_O = function (g, _, e, a) { + return (g[0] = _[0] + e[0] * a), (g[1] = _[1] + e[1] * a), g; + }), + (e.g_P = o), + (e.g_Q = u), + (e.length = c), + (e.g_R = f), + (e.g_S = function (g, _) { + return (g[0] = -_[0]), (g[1] = -_[1]), g; + }), + (e.inverse = function (g, _) { + return (g[0] = 1 / _[0]), (g[1] = 1 / _[1]), g; + }), + (e.normalize = function (g, _) { + var e = _[0], + a = _[1], + t = e * e + a * a; + return 0 < t && ((t = 1 / B(t)), (g[0] = _[0] * t), (g[1] = _[1] * t)), g; + }), + (e.g_T = function (g, _) { + return g[0] * _[0] + g[1] * _[1]; + }), + (e.g_U = function (g, _, e) { + var a = _[0] * e[1] - _[1] * e[0]; + return (g[0] = g[1] = 0), (g[2] = a), g; + }), + (e.g_V = function (g, _, e, a) { + var n = _[0], + t = _[1]; + return (g[0] = n + a * (e[0] - n)), (g[1] = t + a * (e[1] - t)), g; + }), + (e.random = function (g, _) { + _ = _ || 1; + var e = 2 * E.g_m() * h; + return (g[0] = C(e) * _), (g[1] = H(e) * _), g; + }), + (e.g_aF = function (g, _, e) { + var a = _[0], + t = _[1]; + return (g[0] = e[0] * a + e[2] * t), (g[1] = e[1] * a + e[3] * t), g; + }), + (e.g_aG = function (g, _, e) { + var a = _[0], + t = _[1]; + return (g[0] = e[0] * a + e[2] * t + e[4]), (g[1] = e[1] * a + e[3] * t + e[5]), g; + }), + (e.g_Z = function (g, _, e) { + var a = _[0], + t = _[1]; + return (g[0] = e[0] * a + e[3] * t + e[6]), (g[1] = e[1] * a + e[4] * t + e[7]), g; + }), + (e.g_Y = function (g, _, e) { + var a = _[0], + t = _[1]; + return (g[0] = e[0] * a + e[4] * t + e[12]), (g[1] = e[1] * a + e[5] * t + e[13]), g; + }), + (e.g_C = function (g) { + return 'vec2(' + g[0] + ', ' + g[1] + ')'; + }), + (e.g_H = function (g, _) { + return g[0] === _[0] && g[1] === _[1]; + }), + (e.g_l = function (g, _) { + var e = g[0], + a = g[1], + t = _[0], + n = _[1]; + return ( + w(e - t) <= E.EPSILON * U(1, w(e), w(t)) && w(a - n) <= E.EPSILON * U(1, w(a), w(n)) + ); + }); + var m = n(0), + E = (function (g) { + if (g && g.g_f) return g; + var _ = {}; + if (null != g) + for (var e in g) Object.prototype.hasOwnProperty.call(g, e) && (_[e] = g[e]); + return (_.default = g), _; + })(m), + b = (e.g_J = c), + y = (e.sub = s), + T = (e.g_n = d), + N = (e.g_M = l), + x = (e.g_L = o), + q = (e.g_K = u), + g = (e.g_I = f), + I = (e.forEach = (function () { + var g = i(); + return function (_, e, t, r, s, n) { + var d, l; + for ( + e || (e = 2), t || (t = 0), l = r ? p(r * e + t, _.length) : _.length, d = t; + d < l; + d += e + ) + (g[0] = _[d]), (g[1] = _[d + 1]), s(g, g, n), (_[d] = g[0]), (_[d + 1] = g[1]); + return _; + }; + })()); + } + ]); +}), + 'use strict'; +{ + function _(_, a, t) { + t = t || 0; + var n = [0, 0], + i, + r, + s, + l, + o, + p, + m; + return ( + (i = _[1][1] - _[0][1]), + (r = _[0][0] - _[1][0]), + (s = i * _[0][0] + r * _[0][1]), + (l = a[1][1] - a[0][1]), + (o = a[0][0] - a[1][0]), + (p = l * a[0][0] + o * a[0][1]), + (m = i * o - l * r), + u(m, 0, t) || ((n[0] = (o * s - r * p) / m), (n[1] = (i * p - l * s) / m)), + n + ); + } + function E(_, a, t, n) { + var r = a[0] - _[0], + e = a[1] - _[1], + s = n[0] - t[0], + g = n[1] - t[1]; + if (0 == s * e - g * r) return !1; + var d = (r * (t[1] - _[1]) + e * (_[0] - t[0])) / (s * e - g * r), + i = (s * (_[1] - t[1]) + g * (t[0] - _[0])) / (g * r - s * e); + return 0 <= d && 1 >= d && 0 <= i && 1 >= i; + } + function y(g, _, e) { + return (_[0] - g[0]) * (e[1] - g[1]) - (e[0] - g[0]) * (_[1] - g[1]); + } + function T(g, _, e) { + return 0 < y(g, _, e); + } + function B(g, _, e) { + return 0 <= y(g, _, e); + } + function e(g, _, e) { + return 0 > y(g, _, e); + } + function f(g, _, e) { + return 0 >= y(g, _, e); + } + function g(_, e, a, t) { + var n = Math.sqrt; + if (!t) return 0 === y(_, e, a); + var r = tmpPoint1, + g = tmpPoint2; + (r[0] = e[0] - _[0]), (r[1] = e[1] - _[1]), (g[0] = a[0] - e[0]), (g[1] = a[1] - e[1]); + var s = r[0] * g[0] + r[1] * g[1], + i = n(r[0] * r[0] + r[1] * r[1]), + d = n(g[0] * g[0] + g[1] * g[1]), + o = Math.acos(s / (i * d)); + return o < t; + } + function H(g, _) { + var e = _[0] - g[0], + a = _[1] - g[1]; + return e * e + a * a; + } + function N(g, _) { + var e = g.length; + return g[0 > _ ? (_ % e) + e : _ % e]; + } + function l(g) { + g.length = 0; + } + function a(g, _, a, t) { + for (var n = a; n < t; n++) g.push(_[n]); + } + function n(g) { + for (var _ = [], e = g.length, a = 0; a !== e; a++) _.push(g.pop()); + for (var a = 0; a !== e; a++) g[a] = _[a]; + } + function U(g, _) { + return e(N(g, _ - 1), N(g, _), N(g, _ + 1)); + } + function o(g, t, e) { + var a = tmpLine1, + i = tmpLine2, + r, + s; + if (B(N(g, t + 1), N(g, t), N(g, e)) && f(N(g, t - 1), N(g, t), N(g, e))) return !1; + s = H(N(g, t), N(g, e)); + for (var d = 0; d !== g.length; ++d) + if ( + (d + 1) % g.length !== t && + d !== t && + B(N(g, t), N(g, e), N(g, d + 1)) && + f(N(g, t), N(g, e), N(g, d)) && + ((a[0] = N(g, t)), + (a[1] = N(g, e)), + (i[0] = N(g, d)), + (i[1] = N(g, d + 1)), + (r = _(a, i)), + H(N(g, t), r) < s) + ) + return !1; + return !0; + } + function p(g, _, e) { + for (var a = 0; a !== g.length; ++a) + if ( + a !== _ && + a !== e && + (a + 1) % g.length !== _ && + (a + 1) % g.length !== e && + E(N(g, _), N(g, e), N(g, a), N(g, a + 1)) + ) + return !1; + return !0; + } + function m(g, _, a, t) { + var n = t || []; + if ((l(n), _ < a)) for (var e = _; e <= a; e++) n.push(g[e]); + else { + for (var e = 0; e <= a; e++) n.push(g[e]); + for (var e = _; e < g.length; e++) n.push(g[e]); + } + return n; + } + function r(_) { + for (var a = [], t = [], n = [], s = [], e = Number.MAX_VALUE, l = 0; l < _.length; ++l) + if (U(_, l)) + for (var u = 0; u < _.length; ++u) + if (o(_, l, u)) { + (t = r(m(_, l, u, s))), (n = r(m(_, u, l, s))); + for (var p = 0; p < n.length; p++) t.push(n[p]); + t.length < e && ((a = t), (e = t.length), a.push([N(_, l), N(_, u)])); + } + return a; + } + function s(_, a) { + if (0 === a.length) return [_]; + if ( + a instanceof Array && + a.length && + a[0] instanceof Array && + 2 === a[0].length && + a[0][0] instanceof Array + ) { + for (var t = [_], n = 0, i; n < a.length; n++) { + i = a[n]; + for (var r = 0; r < t.length; r++) { + var d = t[r], + g = s(d, i); + if (g) { + t.splice(r, 1), t.push(g[0], g[1]); + break; + } + } + } + return t; + } + var i = a, + n = _.indexOf(i[0]), + r = _.indexOf(i[1]); + return -1 !== n && -1 !== r && [m(_, n, r), m(_, r, n)]; + } + function d(_, a, t, n, r) { + r = r || 0; + var s = a[1] - _[1], + d = _[0] - a[0], + g = s * _[0] + d * _[1], + o = n[1] - t[1], + i = t[0] - n[0], + p = o * t[0] + i * t[1], + h = s * i - o * d; + return u(h, 0, r) ? [0, 0] : [(i * g - d * p) / h, (s * p - o * g) / h]; + } + function t(g, _, n, l, o, u, c) { + var b = Number.MAX_VALUE; + (u = u || 100), + (c = c || 0), + (o = o || 25), + (_ = 'undefined' == typeof _ ? [] : _), + (n = n || []), + (l = l || []); + var x = [0, 0], + q = [0, 0], + R = [0, 0], + k = 0, + L = 0, + O = 0, + j = 0, + S = 0, + $ = 0, + Y = 0, + M = [], + P = [], + G = g, + I = g; + if (3 > I.length) return _; + if ((c++, c > u)) return console.warn('quickDecomp: max level (' + u + ') reached.'), _; + for (var K = 0; K < g.length; ++K) + if (U(G, K)) { + n.push(G[K]), (k = L = b); + for (var J = 0; J < g.length; ++J) + T(N(G, K - 1), N(G, K), N(G, J)) && + f(N(G, K - 1), N(G, K), N(G, J - 1)) && + ((R = d(N(G, K - 1), N(G, K), N(G, J), N(G, J - 1))), + e(N(G, K + 1), N(G, K), R) && ((O = H(G[K], R)), O < L && ((L = O), (q = R), ($ = J)))), + T(N(G, K + 1), N(G, K), N(G, J + 1)) && + f(N(G, K + 1), N(G, K), N(G, J)) && + ((R = d(N(G, K + 1), N(G, K), N(G, J), N(G, J + 1))), + T(N(G, K - 1), N(G, K), R) && + ((O = H(G[K], R)), O < k && ((k = O), (x = R), (S = J)))); + if ($ === (S + 1) % g.length) + (R[0] = (q[0] + x[0]) / 2), + (R[1] = (q[1] + x[1]) / 2), + l.push(R), + K < S + ? (a(M, G, K, S + 1), + M.push(R), + P.push(R), + 0 !== $ && a(P, G, $, G.length), + a(P, G, 0, K + 1)) + : (0 !== K && a(M, G, K, G.length), + a(M, G, 0, S + 1), + M.push(R), + P.push(R), + a(P, G, $, K + 1)); + else { + if (($ > S && (S += g.length), (j = b), S < $)) return _; + for (var J = $; J <= S; ++J) + B(N(G, K - 1), N(G, K), N(G, J)) && + f(N(G, K + 1), N(G, K), N(G, J)) && + ((O = H(N(G, K), N(G, J))), O < j && p(G, K, J) && ((j = O), (Y = J % g.length))); + K < Y + ? (a(M, G, K, Y + 1), 0 != Y && a(P, G, Y, I.length), a(P, G, 0, K + 1)) + : (0 !== K && a(M, G, K, I.length), a(M, G, 0, Y + 1), a(P, G, Y, K + 1)); + } + return ( + M.length < P.length + ? (t(M, _, n, l, o, u, c), t(P, _, n, l, o, u, c)) + : (t(P, _, n, l, o, u, c), t(M, _, n, l, o, u, c)), + _ + ); + } + return _.push(g), _; + } + function u(g, _, e) { + return (e = e || 0), Math.abs(g - _) <= e; + } + function i(g, _, e) { + return u(g[0], _[0], e) && u(g[1], _[1], e); + } + var tmpPoint1 = [], + tmpPoint2 = [], + tmpLine1 = [], + tmpLine2 = []; + self.g_aH = { + g_aI: function (g) { + var _ = r(g); + return 0 < _.length ? s(g, _) : [g]; + }, + g_aJ: t, + g_aK: function (g) { + var _ = g, + a; + for (a = 0; a < _.length - 1; a++) + for (var t = 0; t < a - 1; t++) if (E(_[a], _[a + 1], _[t], _[t + 1])) return !1; + for (a = 1; a < _.length - 2; a++) if (E(_[0], _[_.length - 1], _[a], _[a + 1])) return !1; + return !0; + }, + g_aL: function (_, e) { + for (var a = 0, t = _.length - 1; 3 < _.length && 0 <= t; --t) + g(N(_, t - 1), N(_, t), N(_, t + 1), e) && (_.splice(t % _.length, 1), a++); + return a; + }, + g_aM: function (g, _) { + for (var a = g.length - 1, t; 1 <= a; --a) { + t = g[a]; + for (var n = a - 1; 0 <= n; --n) + if (i(t, g[n], _)) { + g.splice(a, 1); + continue; + } + } + }, + g_aN: function (g) { + for (var _ = 0, a = g, t = 1; t < g.length; ++t) + (a[t][1] < a[_][1] || (a[t][1] === a[_][1] && a[t][0] > a[_][0])) && (_ = t); + return !T(N(g, _ - 1), N(g, _), N(g, _ + 1)) && (n(g), !0); + } + }; +} +{ + let g = !1, + _ = !1, + e = 'dev'; + (self.g_aO = class { + constructor() { + throw TypeError("static class can't be instantiated"); + } + static g_aP() { + g = !0; + } + static g_aQ() { + return g; + } + static g_aR() { + _ = !0; + } + static g_aS() { + return _; + } + static g_aT(g) { + e = g; + } + static g_aU() { + return e; + } + static g_aV() { + return 'final' === e; + } + }), + (g_aO.g_aW = !1), + (g_aO.g_aX = !1), + (g_aO.hardwareConcurrency = navigator.hardwareConcurrency || 2); +} +'use strict', + (g_aO.g_aY = class { + constructor(g) { + (this.g_aZ = g), (this.g_a_ = new Map()), this.g_a$(); + } + g_a$() { + let g = this.g_aZ; + (g.startsWith('?') || g.startsWith('#')) && (g = g.substr(1)); + const _ = g.split('&'); + for (const g of _) this.g_ba(g); + } + g_ba(g) { + if (g) { + if (!g.includes('=')) return void this.g_a_.set(g, null); + const _ = g.indexOf('='), + e = decodeURIComponent(g.substring(0, _)), + a = decodeURIComponent(g.substring(_ + 1)); + this.g_a_.set(e, a); + } + } + g_bb() { + for (const g of this.g_a_) + console.log( + "[QueryParser] Parameter '" + g[0] + "' = " + (null === g[1] ? 'null' : "'" + g[1] + "'") + ); + } + g_bc(g) { + return this.g_a_.has(g); + } + g_bd(g) { + const _ = this.g_a_.get(g); + return 'undefined' == typeof _ ? null : _; + } + g_be() { + history.replaceState('', document.title, location.pathname + location.search); + } + g_bf(g) { + (this.g_aZ = g), this.g_a_.clear(), this.g_a$(); + } + }), + (g_aO.g_bg = new g_aO.g_aY(location.search)), + (g_aO.g_bh = new g_aO.g_aY(location.hash)), + 'dev' !== g_aO.g_bg.g_bd('mode') && g_aO.g_aT('final'), + 'use strict'; +{ + function _(g, _, e) { + if (!0 === _) e(), n.set(g, !0); + else if (_ && _.length) e(_[0]), n.set(g, !0); + else; + } + const t = navigator.userAgent; + let a = { + g_bi: /linux|openbsd|freebsd|netbsd/i.test(t), + g_bj: /CrOS/.test(t), + g_bk: /trident|iemobile|msie|tizen/i.test(t), + g_bl: /trident|iemobile|msie|edge\//i.test(t), + opera: /OPR\//.test(t), + g_bm: /bb10/i.test(t), + g_bn: /edge\//i.test(t), + g_bo: /trident/i.test(t), + g_bp: /webkit/i.test(t), + safari: /safari\//i.test(t), + chrome: /chrome\//i.test(t), + g_bq: /chromium\//i.test(t), + g_br: /crosswalk|xwalk/i.test(t), + g_bs: /nwjs/i.test(t), + g_bt: /amazonwebappplatform/i.test(t), + g_bu: /wv\)/.test(t), + g_bv: /android/i.test(t), + g_bw: /nokiabrowser\/[0-9.]+/i.test(t) + }, + r = { + g_bx: /windows\s+nt\s+\d+\.\d+/i.exec(t), + g_by: /mac\s+os\s+x\s+[0-9_]+/i.exec(t), + g_bv: /android\s+[0-9.]+/i.exec(t), + opera: /OPR\/[0-9.]+/.exec(t), + g_bz: /tizen\s+[0-9.]+/i.exec(t), + g_bA: /iphone\s+os\s+[0-9_]+/i.exec(t), + g_bB: /ipad[^)]*os\s+[0-9_]+/i.exec(t), + g_bC: /windows\s+phone\s+[0-9.]+/i.exec(t), + g_bD: /windows\s+phone\s+os\s+[0-9.]+/i.exec(t), + chrome: /chrome\/[0-9.]+/i.exec(t), + g_bq: /chromium\/[0-9.]+/i.exec(t), + g_bs: /nwjs\/[0-9.]+/i.exec(t), + g_bE: /firefox\/[0-9.]+/i.exec(t), + g_bF: /msie\s+[0-9.]+/i.exec(t), + g_bn: /edge\/[0-9.]+/i.exec(t), + g_bG: /edg\/[0-9.]+/i.exec(t), + g_bH: /silk\/[0-9.]+/i.exec(t) + }, + s = '(unknown)', + e = '(unknown)', + d = '(unknown)', + g = '(unknown)', + u = '(unknown)', + i = '(unknown)', + h = '(unknown)', + c = 'browser', + l = !1, + f = !1, + n = new Map(); + _('isWindows', r.g_bx, (g) => { + s = 'Windows'; + const _ = g.split(' ')[2]; + _ && + ('5.0' === _ + ? (e = '2000') + : '5.1' === _ + ? (e = 'XP') + : '5.2' === _ + ? (e = 'XP') + : '6.0' === _ + ? (e = 'Vista') + : '6.1' === _ + ? (e = '7') + : '6.2' === _ + ? (e = '8') + : '6.3' === _ + ? (e = '8.1') + : '10.0' === _ + ? (e = '10') + : void 0); + }), + _('isOSX', r.g_by, (g) => { + s = 'Mac OS X'; + const _ = g.split(' ')[3]; + _ && (e = _.replace('_', '.')); + }), + _('isLinux', a.g_bi, () => { + s = 'Linux'; + }), + _('isChromeOS', a.g_bj, () => { + s = 'Chrome OS'; + }), + _('isAndroid', !a.g_bk && r.g_bv, (g) => { + s = 'Android'; + const _ = g.split(' ')[1]; + _ && (e = _); + }), + _('isTizen', r.g_bz, (g) => { + s = 'Tizen'; + const _ = g.split(' ')[1]; + _ && (e = _); + }), + _('isIPhone', !a.g_bk && r.g_bA, (g) => { + s = 'iOS'; + const _ = g.split(' ')[2]; + _ && (e = _.replace('_', '.')); + }), + _('isIPad', !a.g_bk && r.g_bB, (g) => { + s = 'iOS'; + const _ = g.split(' ')[3]; + _ && (e = _.replace('_', '.')); + }), + _('isWindowsPhone', r.g_bC, (g) => { + s = 'Windows Phone'; + const _ = g.split(' ')[2]; + _ && (e = _); + }), + _('isWindowsPhoneOS', r.g_bD, (g) => { + s = 'Windows Phone'; + const _ = g.split(' ')[3]; + _ && (e = _); + }), + _('isBlackberry', a.g_bm, () => { + (s = 'Blackberry'), (e = '10'), (g = 'stock'), (h = 'webkit'); + }), + _('isChrome', !a.g_bn && !a.opera && r.chrome, (_) => { + (g = 'Chrome'), (h = 'Chromium'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isOpera', r.opera, (_) => { + (g = 'Opera'), (h = 'Chromium'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isChromium', r.g_bq, (_) => { + (g = 'Chromium'), (h = 'Chromium'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isFirefox', r.g_bE, (_) => { + (g = 'Firefox'), (h = 'Gecko'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isInternetExplorer', r.g_bF, (_) => { + (g = 'Internet Explorer'), (h = 'Trident'); + const e = _.split(' ')[1]; + e && (u = e); + }), + _('isTrident', 'Internet Explorer' != g && a.g_bo, () => { + h = 'Trident'; + const _ = /rv:[0-9.]+/i.exec(t); + if (_ && _.length) { + g = 'Internet Explorer'; + const e = _[0].split(':')[1]; + e && (u = e); + } + }), + _('isEdge', r.g_bn, (_) => { + (g = 'Edge'), (h = 'Edge'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isEdgeChromium', r.g_bG, (_) => { + (g = 'Edge'), (h = 'Chromium'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isSafari', a.safari && !a.g_bw && !a.chrome && !a.g_bq && !a.g_bI && !a.g_bm, () => { + (g = 'Safari'), (h = 'WebKit'); + const _ = /version\/[0-9.]+/i.exec(t), + e = /crios\/[0-9.]+/i.exec(t), + n = /fxios\/[0-9.]+/i.exec(t); + if (_ && _.length) { + const g = _[0].split('/')[1]; + g && (u = g); + } + if (e && e.length) { + g = 'Chrome for iOS'; + const _ = e[0].split('/')[1]; + _ && (u = _); + } + if (n && n.length) { + g = 'Firefox for iOS'; + const _ = n[0].split('/')[1]; + _ && (u = _); + } + }), + _('isSilk', r.g_bH, (_) => { + g = 'Silk'; + const e = _.split('/')[1]; + e && (u = e); + }), + _('isCrosswalk', a.g_br, () => (c = 'crosswalk')), + _( + 'isCordova', + self.device && (self.device.cordova || self.device.phonegap), + () => (c = 'cordova') + ), + _('isNWJS', r.g_bs, (_) => { + (c = 'nwjs'), (g = 'NW.js'), (h = 'Chromium'); + const e = _.split('/')[1]; + e && (u = e); + }), + _('isAmazonWebApp', a.g_bt, () => (c = 'webapp')), + _( + 'isHomeScreenWebApp', + 'nwjs' != c && + 'undefined' != typeof window && + ((window.matchMedia && window.matchMedia('(display-mode: standalone)').matches) || + navigator.standalone), + () => (c = 'webapp') + ), + _( + 'isFalseSafari', + 'Safari' == g && ('Android' == s || 'Tizen' == s || 'Blackberry' == s), + () => (g = 'stock') + ), + _('isAndroidWebview', 'Chrome' == g && 'browser' == c && a.g_bu, () => (c = 'webview')), + _('isFirefoxOS', 'Firefox' == g && '(unknown)' == s, () => (s = 'Firefox OS')), + _('isAndroidFallback', '(unknown)' == s && !a.g_bk && a.g_bv, () => (s = 'Android')), + _('isTridentFallback', '(unknown)' == s && a.g_bo, () => (h = 'Trident')), + _('isWebkitFallback', '(unknown)' == s && a.g_bp, () => (h = 'WebKit')), + _( + 'is64Bit', + ((g) => g.test(t) || g.test(navigator.platform) || 'x64' === navigator.cpuClass)( + /x86_64|x86-64|win64|x64;|x64\)|x64_|amd64|wow64|ia64|arm64|arch64|sparc64|ppc64|irix64/i + ), + () => (d = '64-bit') + ), + _( + 'is32Bit', + ((g) => g.test(t) || g.test(navigator.platform) || 'x86' === navigator.cpuClass)( + /x86;|x86\)|i86|i386|i486|i586|i686|armv1|armv2|armv3|armv4|armv5|armv6|armv7/i + ), + () => (d = '32-bit') + ), + _( + 'is64BitFallback', + '(unknown)' == d && 'Mac OS X' == s && 10.7 <= parseFloat(e), + () => (d = '64-bit') + ), + _( + 'is32BitFallback', + ('(unknown)' == d && 'Windows' == s) || ('Android' == s && 5 > parseFloat(e)), + () => (d = '32-bit') + ), + _('is32BitBrowser', '32-bit' == d || /wow64/i.test(t), () => (i = '32-bit')), + _('is64BitBrowser', /win64/i.test(t), () => (i = '64-bit')), + _( + 'isDesktop', + (() => + 'Windows' == s || 'Mac OS X' == s || 'Linux' == s || 'Chrome OS' == s || 'nwjs' == c)(), + () => (l = !0) + ), + 'Edge' == h && + 'undefined' != typeof Windows && + 'undefined' != typeof Windows.System && + (c = 'windows-store'), + (f = 'nwjs' == c); + const o = 'Mac OS X' == s && navigator.maxTouchPoints && 2 < navigator.maxTouchPoints; + o && ((s = 'iOS'), (e = u), (l = !1), (f = !1)), + (g_aO.g_bJ = { + g_bK: s, + g_bL: e, + g_bM: d, + g_bN: g, + g_bO: u, + g_bP: parseFloat(u), + g_bQ: i, + g_bR: h, + g_bS: c, + g_bT: l, + g_bU: !l, + g_bV: f, + g_bW: !!(self.chrome && self.chrome.runtime && self.chrome.runtime.id), + g_bX: 'Mac OS X' == s || 'iOS' == s, + g_bY: o + }); +} +{ + function _(g) { + return new Promise((_, e) => { + (g.onsuccess = () => _(g.result)), (g.onerror = () => e(g.error)); + }); + } + function t(g) { + return new Promise((_, e) => { + (g.oncomplete = () => _()), (g.onerror = () => e(g.error)), (g.onabort = () => e(g.error)); + }); + } + function a(g, _) { + return s(g, _); + } + function r(g, _) { + return s(g, _, !0); + } + async function s(_, t, n = !1, a = !0) { + const i = await e(_); + try { + const g = i.transaction([u], n ? 'readwrite' : 'readonly'); + return t(g); + } catch (g) { + if (a && 'InvalidStateError' === g.name) return p.delete(_), s(_, t, n, !1); + throw g; + } + } + function e(_) { + g(_); + let e = p.get(_); + return e instanceof Promise || ((e = d(_)), p.set(_, e), e.catch(() => p.delete(_))), e; + } + async function d(e) { + g(e); + const a = indexedDB.open(e, i); + return ( + a.addEventListener('upgradeneeded', (g) => { + try { + const _ = g.target.result; + _.createObjectStore(u); + } catch (g) { + console.error(`Failed to create objectstore for database ${e}`, g); + } + }), + _(a) + ); + } + function g(g) { + if ('string' != typeof g) throw new TypeError('expected string'); + } + function o(g, _) { + const e = g.objectStore(u).openCursor(); + return new Promise((g) => { + const a = []; + e.onsuccess = (t) => { + const n = t.target.result; + n + ? ('entries' === _ + ? a.push([n.key, n.value]) + : 'keys' === _ + ? a.push(n.key) + : 'values' === _ + ? a.push(n.value) + : void 0, + n.continue()) + : g(a); + }; + }); + } + const i = 2, + u = 'keyvaluepairs', + p = new Map(), + l = + 'undefined' != typeof IDBObjectStore && 'function' == typeof IDBObjectStore.prototype.getAll, + h = + 'undefined' != typeof IDBObjectStore && + 'function' == typeof IDBObjectStore.prototype.getAllKeys; + self.g_bZ = class { + constructor(_) { + g(_), (this.name = _); + } + async ready() { + await e(this.name); + } + set(a, n) { + return ( + g(a), + r(this.name, async (e) => { + const i = e.objectStore('keyvaluepairs').put(n, a), + r = _(i), + g = t(e); + await Promise.all([g, r]); + }) + ); + } + get(n) { + return ( + g(n), + a(this.name, async (a) => { + const r = a.objectStore('keyvaluepairs').get(n), + e = _(r), + s = t(a), + [g, d] = await Promise.all([s, e]); + return d; + }) + ); + } + delete(a) { + return ( + g(a), + r(this.name, async (n) => { + const i = n.objectStore('keyvaluepairs').delete(a), + e = _(i), + r = t(n); + await Promise.all([r, e]); + }) + ); + } + clear() { + return r(this.name, async (g) => { + const a = g.objectStore('keyvaluepairs').clear(), + n = _(a), + e = t(g); + await Promise.all([e, n]); + }); + } + keys() { + return a(this.name, async (a) => { + let n; + if (h) { + const g = a.objectStore('keyvaluepairs').getAllKeys(); + n = _(g); + } else n = o(a, 'keys'); + const i = t(a), + [e, r] = await Promise.all([i, n]); + return r; + }); + } + values() { + return a(this.name, async (a) => { + let n; + if (l) { + const g = a.objectStore('keyvaluepairs').getAll(); + n = _(g); + } else n = o(a, 'values'); + const i = t(a), + [e, r] = await Promise.all([i, n]); + return r; + }); + } + entries() { + return a(this.name, async (g) => { + const _ = o(g, 'entries'), + a = t(g), + [n, e] = await Promise.all([a, _]); + return e; + }); + } + }; +} +{ + function _(g) { + throw new Error(`"${g}" is not implemented`); + } + function t(g) { + if ('function' == typeof g) + throw new Error( + `localforage callback API is not implemented; please use the promise API instead` + ); + } + function n(g) { + return 'object' == typeof g + ? new Promise((_) => { + const { port1: e, port2: a } = new MessageChannel(); + (a.onmessage = (g) => _(g.data)), e.postMessage(g); + }) + : Promise.resolve(g); + } + const i = [ + /no available storage method found/i, + /an attempt was made to break through the security policy of the user agent/i, + /the user denied permission to access the database/i, + /a mutation operation was attempted on a database that did not allow mutations/i, + /idbfactory\.open\(\) called in an invalid security context/i + ], + r = new WeakMap(); + let e = !1; + 'undefined' == typeof indexedDB && + ((e = !0), console.warn('Unable to use local storage because indexedDB is not defined')); + class s { + constructor(g) { + (this.g_b_ = g), r.set(this, new Map()); + } + g_b$(g) { + if (!e) + for (const _ of i) + if (g && _.test(g.message)) { + console.error( + 'Unable to use local storage, reverting to in-memory store: ', + g, + g.message + ), + (e = !0); + break; + } + } + async g_ca(g) { + const _ = r.get(this).get(g), + e = await n(_); + return 'undefined' == typeof e ? null : e; + } + async g_cb(g, _) { + (_ = await n(_)), r.get(this).set(g, _); + } + g_cc(g) { + r.get(this).delete(g); + } + g_cd() { + r.get(this).clear(); + } + g_ce() { + return Array.from(r.get(this).keys()); + } + g_cf() { + return e; + } + async getItem(g, _) { + if ((t(_), e)) return await this.g_ca(g); + let a; + try { + a = await this.g_b_.get(g); + } catch (_) { + return ( + this.g_b$(_), + e + ? await this.g_ca(g) + : (console.error(`Error reading '${g}' from storage, returning null: `, _), null) + ); + } + return 'undefined' == typeof a ? null : a; + } + async setItem(g, _, a) { + if ((t(a), 'undefined' == typeof _ && (_ = null), e)) return void (await this.g_cb(g, _)); + try { + await this.g_b_.set(g, _); + } catch (a) { + if ((this.g_b$(a), e)) await this.g_cb(g, _); + else throw a; + } + } + async removeItem(g, _) { + if ((t(_), e)) return void this.g_cc(g); + try { + await this.g_b_.delete(g); + } catch (_) { + this.g_b$(_), e ? this.g_cc(g) : console.error(`Error removing '${g}' from storage: `, _); + } + } + async clear(g) { + if ((t(g), e)) return void this.g_cd(); + try { + await this.g_b_.clear(); + } catch (g) { + this.g_b$(g), e ? this.g_cd() : console.error(`Error clearing storage: `, g); + } + } + async keys(g) { + if ((t(g), e)) return this.g_ce(); + let _ = []; + try { + _ = await this.g_b_.keys(); + } catch (g) { + if ((this.g_b$(g), e)) return this.g_ce(); + console.error(`Error getting storage keys: `, g); + } + return _; + } + ready(g) { + return t(g), e ? Promise.resolve(!0) : this.g_b_.ready(); + } + g_cg(g) { + if ('object' != typeof g) throw new TypeError('invalid options object'); + const _ = g.name; + if ('string' != typeof _) throw new TypeError('invalid store name'); + const e = new g_bZ(_); + return new s(e); + } + length() { + _('localforage.length()'); + } + key() { + _('localforage.key()'); + } + iterate() { + _('localforage.iterate()'); + } + g_ch() { + _('localforage.setDriver()'); + } + g_ci() { + _('localforage.config()'); + } + g_cj() { + _('localforage.defineDriver()'); + } + g_ck() { + _('localforage.driver()'); + } + supports() { + _('localforage.supports()'); + } + dropInstance() { + _('localforage.dropInstance()'); + } + g_cl() { + e = !1; + } + } + self.localforage = new s(new g_bZ('localforage')); +} +{ + if ( + ((g_aO.g_cm = {}), + (g_aO.g_cm.g_cn = (() => { + try { + if ('Safari' === g_aO.g_bJ.g_bN) return !1; + if ('undefined' == typeof document) return !1; + const g = document.createElement('div'); + if ('undefined' == typeof g.animate) return !1; + const _ = g.animate([{ opacity: '0' }, { opacity: '1' }], 1e3); + return 'undefined' != typeof _.reverse; + } catch (g) { + return !1; + } + })()), + (g_aO.g_cm.g_co = 'undefined' != typeof HTMLDialogElement), + (g_aO.g_cm.g_cp = !!self.requestIdleCallback), + (g_aO.g_cm.ImageBitmap = !!self.createImageBitmap), + (g_aO.g_cm.g_cq = !1), + g_aO.g_cm.ImageBitmap) + ) + try { + self + .createImageBitmap(new ImageData(32, 32), { g_cr: 'none' }) + .then(() => { + g_aO.g_cm.g_cq = !0; + }) + .catch(() => { + g_aO.g_cm.g_cq = !1; + }); + } catch (g) { + g_aO.g_cm.g_cq = !1; + } + (g_aO.g_cm.g_cs = !!( + navigator.clipboard && + navigator.clipboard.readText && + 'Firefox' !== g_aO.g_bJ.g_bN + )), + (g_aO.g_cm.g_ct = 'undefined' != typeof Proxy), + (g_aO.g_cm.g_cu = (() => { + if ('undefined' == typeof document) return !1; + const g = document.createElement('a'); + return 'undefined' != typeof g.download; + })()), + (g_aO.g_cm.g_cv = (() => + 'undefined' != typeof HTMLCanvasElement && HTMLCanvasElement.prototype.toBlob)()), + (g_aO.g_cm.g_cw = 'undefined' != typeof CSS && CSS.supports('background', 'element(#test)')), + (g_aO.g_cm.g_cx = 'function' == typeof fetch), + (g_aO.g_cm.g_cy = !!( + self.isSecureContext && + 'Opera' !== g_aO.g_bJ.g_bN && + navigator.storage && + navigator.storage.persist + )), + (g_aO.g_cm.g_cz = !!(self.isSecureContext && navigator.storage && navigator.storage.estimate)), + (g_aO.g_cm.g_cA = (() => { + if ('undefined' == typeof document) return !1; + if ('iOS' === g_aO.g_bJ.g_bK) return !1; + const g = document.documentElement; + return !!( + g.requestFullscreen || + g.msRequestFullscreen || + g.mozRequestFullScreen || + g.webkitRequestFullscreen + ); + })()); + const g = [ + { name: 'A', value: 12 }, + { name: 'B', value: 13 }, + { name: 'C', value: 13 }, + { name: 'D', value: 13 }, + { name: 'E', value: 13 }, + { name: 'F', value: 13 }, + { name: 'G', value: 14 }, + { name: 'H', value: 12 }, + { name: 'I', value: 12 }, + { name: 'J', value: 13 }, + { name: 'K', value: 14 } + ], + _ = Math.ceil(496 / g.length), + t = (_ + '').length, + n = []; + for (const i of g) + for (let g = 0; g <= _; g++) + n.push({ name: i.name + (g + '').padStart(t, '0'), value: i.value }); + n.sort((g, _) => _.value - g.value); + const a = n.reduce((g, _) => { + const e = _.name.slice(0, 1), + a = g.slice(-1); + return a === e ? g : g + e; + }, ''); + g_aO.g_cm.g_cB = 'GKBCDEFJAHI' === a; +} +{ + if (!String.prototype.trimStart) { + const g = + /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/; + String.prototype.trimStart = function () { + return this.replace(g, ''); + }; + } + if (!String.prototype.trimEnd) { + const g = + /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/; + String.prototype.trimEnd = function () { + return this.replace(g, ''); + }; + } + if ( + (Array.prototype.values || + (Array.prototype.values = function* () { + for (const g of this) yield g; + }), + !Array.prototype.flat) + ) { + function g(_, e) { + return _.reduce( + (_, a) => + 0 < e && Array.isArray(a) + ? (Array.prototype.push.apply(_, g(a, e - 1)), _) + : (_.push(a), _), + [] + ); + } + Array.prototype.flat = function (_ = 1) { + return g(this, _); + }; + } + if ( + (RegExp.escape || + (RegExp.escape = function (g) { + return (g + '').replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); + }), + navigator.storage && + !navigator.storage.estimate && + navigator.webkitTemporaryStorage && + navigator.webkitTemporaryStorage.queryUsageAndQuota && + (navigator.storage.estimate = function () { + return new Promise((g, _) => + navigator.webkitTemporaryStorage.queryUsageAndQuota( + (_, e) => g({ usage: _, quota: e }), + _ + ) + ); + }), + 'undefined' == typeof HTMLCollection || + HTMLCollection.prototype[Symbol.iterator] || + (HTMLCollection.prototype[Symbol.iterator] = function () { + let g = 0; + return { + next: () => (g >= this.length ? { done: !0 } : { value: this.item(g++), done: !1 }) + }; + }), + 'undefined' == typeof NodeList || + NodeList.prototype[Symbol.iterator] || + (NodeList.prototype[Symbol.iterator] = function () { + let g = 0; + return { + next: () => (g >= this.length ? { done: !0 } : { value: this.item(g++), done: !1 }) + }; + }), + 'undefined' == typeof DOMTokenList || + DOMTokenList.prototype[Symbol.iterator] || + (DOMTokenList.prototype[Symbol.iterator] = function () { + let g = 0; + return { + next: () => (g >= this.length ? { done: !0 } : { value: this.item(g++), done: !1 }) + }; + }), + ('undefined' == typeof FileList || + FileList.prototype[Symbol.iterator] || + (FileList.prototype[Symbol.iterator] = function () { + let g = 0; + return { + next: () => (g >= this.length ? { done: !0 } : { value: this.item(g++), done: !1 }) + }; + }), + 'undefined' == typeof TextEncoder && + ((self.TextEncoder = class { + constructor() { + Object.defineProperty(this, 'encoding', { value: 'utf-8', writable: !1 }); + } + encode(_) { + for ( + var a = _.length, t = -1, n = new Uint8Array(3 * a), i = 0, r = 0, s = 0; + s !== a; + + ) { + if (((i = _.charCodeAt(s)), (s += 1), 55296 <= i && 56319 >= i)) { + if (s === a) { + (n[(t += 1)] = 239), (n[(t += 1)] = 191), (n[(t += 1)] = 189); + break; + } + if (((r = _.charCodeAt(s)), !(56320 <= r && 57343 >= r))) { + (n[(t += 1)] = 239), (n[(t += 1)] = 191), (n[(t += 1)] = 189); + continue; + } else if (((i = 1024 * (i - 55296) + r - 56320 + 65536), (s += 1), 65535 < i)) { + (n[(t += 1)] = 240 | (i >>> 18)), + (n[(t += 1)] = 128 | (63 & (i >>> 12))), + (n[(t += 1)] = 128 | (63 & (i >>> 6))), + (n[(t += 1)] = 128 | (63 & i)); + continue; + } + } + 127 >= i + ? (n[(t += 1)] = 0 | i) + : 2047 >= i + ? ((n[(t += 1)] = 192 | (i >>> 6)), (n[(t += 1)] = 128 | (63 & i))) + : ((n[(t += 1)] = 224 | (i >>> 12)), + (n[(t += 1)] = 128 | (63 & (i >>> 6))), + (n[(t += 1)] = 128 | (63 & i))); + } + return new Uint8Array(n.buffer.slice(0, t + 1)); + } + toString() { + return '[object TextEncoder]'; + } + }), + (TextEncoder[Symbol.toStringTag] = 'TextEncoder')), + 'undefined' == typeof TextDecoder)) + ) { + function _(g) { + const _ = g[Symbol.iterator](); + return { + next: () => _.next(), + [Symbol.iterator]() { + return this; + } + }; + } + function e(g) { + const _ = g.next(); + if (_.done) throw new Error('unexpected end of input'); + if (0 != (128 ^ (192 & _.value))) throw new Error('invalid byte'); + return 63 & _.value; + } + const g = new Map(); + g.set('utf-8', (a, t) => { + let n; + if (a.buffer) n = new Uint8Array(a.buffer, a.byteOffset, a.byteLength); + else if (n instanceof ArrayBuffer) n = new Uint8Array(a); + else throw new Error('Invalid parameter'); + const i = _(n), + r = []; + try { + for (const g of i) { + let _; + if (127 > g) _ = 127 & g; + else if (223 > g) _ = ((31 & g) << 6) | e(i); + else if (239 > g) _ = ((15 & g) << 12) | (e(i) << 6) | e(i); + else if (247 > g) _ = ((7 & g) << 18) | (e(i) << 12) | (e(i) << 6) | e(i); + else throw new Error('Invalid character'); + r.push(String.fromCodePoint(_)); + } + } catch (g) { + if (t) throw g; + r.push('\uFFFD'); + } + return r.join(''); + }), + g.set('utf8', g.get('utf-8')), + g.set('utf-16le', () => { + throw new Error('utf-16le decoder not implemented'); + }), + (self.TextDecoder = class { + constructor(_ = 'utf-8', e = {}) { + const a = g.get(_); + if (!a) throw new Error(`TextDecoder polyfill does not support "${_}"`); + Object.defineProperty(this, 'fatal', { value: !0 === e.fatal, writable: !1 }), + Object.defineProperty(this, '_decoder', { value: a, writable: !1 }), + Object.defineProperty(this, 'encoding', { value: _, writable: !1 }); + } + decode(g) { + return this._decoder(g, this.fatal); + } + toString() { + return '[object TextDecoder]'; + } + }), + (TextDecoder[Symbol.toStringTag] = 'TextDecoder'); + } + 'undefined' == typeof self.isSecureContext && + (self.isSecureContext = 'https:' === location.protocol), + 'undefined' == typeof self.globalThis && (self.globalThis = self); +} +{ + function g(g) { + let _ = g_aO.g_cD(); + console.error('Assertion failure: ' + g + '\n\nStack trace:\n' + _); + } + self.assert = function (_, e) { + _ || g(e); + }; +} +{ + (g_aO.g_cE = function (g) { + return 'number' == typeof g; + }), + (g_aO.g_cF = function (g) { + return g_aO.g_cE(g) && isFinite(g); + }), + (g_aO.g_cG = function (g) { + if (!g_aO.g_cE(g)) throw new TypeError('expected number'); + }), + (g_aO.g_cH = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_cJ = function (g, _, e) { + if (!g_aO.g_cE(g) || isNaN(g) || _ > g || e < g) + throw new RangeError('number outside of range'); + }), + (g_aO.g_cK = function (...g) { + for (let _ of g); + }), + (g_aO.g_cL = function (g) { + if (!g_aO.g_cF(g)) throw new TypeError('expected finite number'); + }), + (g_aO.g_cM = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_cN = function (...g) { + for (let _ of g); + }), + (g_aO.g_cO = function (g) { + return 'string' == typeof g; + }), + (g_aO.g_cP = function (g) { + if (!g_aO.g_cO(g)) throw new TypeError('expected string'); + }), + (g_aO.g_cQ = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_cR = function (...g) { + for (let _ of g); + }), + (g_aO.g_cS = function (g) { + if ('object' != typeof g || null === g) return !1; + let _ = Object.getPrototypeOf(g); + return _ ? _.constructor === Object : null === _; + }), + (g_aO.g_cT = function (g) { + if (!g_aO.g_cS(g)) throw new TypeError('expected simple object'); + }), + (g_aO.g_cU = function (g) { + if (!g_aO.g_cI(g) && !g_aO.g_cS(g)) throw new TypeError('expected simple object'); + }), + (g_aO.g_cV = function (g) { + return 'object' == typeof g && null !== g && !Array.isArray(g); + }), + (g_aO.g_cW = function (g) { + if (!g_aO.g_cV(g)) throw new TypeError('expected object'); + }), + (g_aO.g_cX = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_cY = function (...g) { + for (let _ of g); + }), + (g_aO.g_cZ = function (g) { + return g_aO.g_c_(g, Blob) && 'string' == typeof g.name; + }), + (g_aO.g_c$ = function (g) { + if (!g_aO.g_cZ(g)) throw new TypeError('expected file'); + }), + (g_aO.g_da = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_db = function (g) { + return Array.isArray(g); + }), + (g_aO.g_dc = function (g) { + if (!g_aO.g_db(g)) throw new TypeError('expected array'); + }), + (g_aO.g_dd = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_de = function (...g) { + for (let _ of g); + }), + (g_aO.g_df = function (g) { + return !!g_aO.g_db(g) && (!g.length || !!g_aO.g_db(g[0])); + }), + (g_aO.g_dg = function (g) { + if (!g_aO.g_df(g)) throw new TypeError('expected 2d array'); + for (let _ of g) if (!g_aO.g_db(_)) throw new TypeError('expected 2d array'); + }), + (g_aO.g_dh = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_di = function (g) { + return 'function' == typeof g; + }), + (g_aO.g_dj = function (g, _) { + if (!g_aO.g_di(g)) throw new TypeError('expected function'); + if (!g_aO.g_cI(_) && g !== _) throw new TypeError('expected same function reference'); + }), + (g_aO.g_dk = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dl = function (...g) { + for (let _ of g); + }), + (g_aO.g_dm = function (g, ..._) { + if (!g_aO.g_di(g)) throw new TypeError('expected function'); + if (!_.length) throw new Error('missing comparison functions'); + for (let e of _) if (!g_aO.g_cI(e) && g === e) return; + throw new TypeError('expected same function reference'); + }), + (g_aO.g_dn = function (...g) { + if (!g_aO.g_cI(g)) for (let _ of g); + }), + (g_aO.g_c_ = function (g, _) { + return g instanceof _; + }), + (g_aO.g_do = function (g, ..._) { + for (let e of _) if (g_aO.g_c_(g, e)) return !0; + return !1; + }), + (g_aO.g_dp = function (g, _) { + if (!g_aO.g_c_(g, _)) throw new TypeError('unexpected type'); + }), + (g_aO.g_dq = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dr = function (g, ..._) { + for (let e of _); + }), + (g_aO.g_ds = function (g, ..._) { + if (!g_aO.g_do(g, ..._)) throw new TypeError('unexpected type'); + }), + (g_aO.g_dt = function (g, ..._) { + if (!g_aO.g_cI(g) && !g_aO.g_do(g, ..._)) throw new TypeError('unexpected type'); + }), + (g_aO.g_du = function (g, _) { + for (let e of g) if (!g_aO.g_c_(e, _)) return !1; + return !0; + }), + (g_aO.g_dv = function (g) { + for (let _ of g) if (!g_aO.g_cF(_)) return !1; + return !0; + }), + (g_aO.g_dw = function (g) { + for (let _ of g); + }), + (g_aO.g_dx = function (g) { + if (!g_aO.g_cI(g)) for (let _ of g); + }), + (g_aO.g_dy = function (g, ..._) { + for (let e of g); + }), + (g_aO.g_dz = function (g, ..._) { + if (!g_aO.g_cI(g)) for (let _ of g); + }), + (g_aO.g_dA = function (g, _) { + return !g_aO.g_cI(g) && g_aO.g_cO(g.nodeName) && (!_ || g_aO.g_dB(g.nodeName, _)); + }), + (g_aO.g_dC = function (g, _) { + if (g_aO.g_cI(g) || !g_aO.g_cO(g.nodeName)) throw new TypeError('expected DOM node'); + if (_ && !g_aO.g_dB(g.nodeName, _)) throw new TypeError(`expected DOM '${_}' node`); + }), + (g_aO.g_dD = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dE = function (g, _) { + return !g_aO.g_cI(g) && g_aO.g_cO(g.tagName) && (!_ || g_aO.g_dB(g.tagName, _)); + }), + (g_aO.g_dF = function (g, _) { + if (g_aO.g_cI(g) || !g_aO.g_cO(g.tagName)) throw new TypeError('expected HTML element'); + if (_ && !g_aO.g_dB(g.tagName, _)) throw new TypeError(`expected HTML '${_}' element`); + }), + (g_aO.g_dG = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dH = function (g) { + return ( + g_aO.g_dE(g, 'img') || + g_aO.g_dE(g, 'canvas') || + g_aO.g_dE(g, 'video') || + ('undefined' != typeof OffscreenCanvas && g instanceof OffscreenCanvas) || + ('undefined' != typeof ImageBitmap && g instanceof ImageBitmap) + ); + }), + (g_aO.g_dI = function (g) { + if (!g_aO.g_dH(g)) throw new TypeError('expected drawable'); + }), + (g_aO.g_dJ = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dK = function (g) { + return !!(g instanceof ImageData) || g_aO.g_dH(g); + }), + (g_aO.g_dL = function (g) { + if (!g_aO.g_dK(g)) throw new TypeError('expected drawable or image data'); + }), + (g_aO.g_dM = function (g) { + if (!g_aO.g_cI(g) && !g_aO.g_dK(g)) throw new TypeError('expected drawable or image data'); + }), + (g_aO.g_dN = function (g) { + return 'string' == typeof g || g instanceof g_aO.g_dO || g instanceof g_aO.g_dP; + }), + (g_aO.g_dQ = function (g) { + if (!g_aO.g_dN(g)) throw new TypeError('expected string-like'); + }), + (g_aO.g_dR = function (g) { + g_aO.g_cI(g); + }), + (g_aO.g_dS = function (...g) { + for (let _ of g); + }), + (g_aO.g_dT = function () { + throw new Error('must be overridden'); + }), + (g_aO.g_dU = function () { + throw new Error('not yet implemented'); + }), + (g_aO.g_dV = function (g, ..._) { + let e = g; + if ('undefined' == typeof e) return !1; + for (let a of _) { + if ('undefined' == typeof e[a]) return !1; + e = e[a]; + } + return !0; + }), + (g_aO.g_cI = function (g) { + return 'undefined' == typeof g || null === g; + }), + (g_aO.g_dW = function (g) { + let _ = g[0].constructor; + for (let e of g) if (e.constructor !== _) return !1; + return _; + }), + (g_aO.g_dX = function (g, _) { + for (let e of g) if (!(e instanceof _)) return !1; + return !0; + }); + const g = Object.getPrototypeOf(Uint8Array); + (g_aO.g_dY = function (_) { + return g_aO.g_c_(_, g); + }), + (g_aO.g_dZ = function () {}), + (g_aO.g_d_ = function (_) { + g_aO.g_d$(_, g); + }), + (g_aO.g_ea = function (g, ..._) { + if (!g_aO.g_eb(g, ..._)) throw new TypeError('unexpected type'); + }), + (g_aO.g_eb = function (g, ..._) { + for (const e of _) if (g_aO.g_ec(g, e)) return !0; + return !1; + }), + (g_aO.g_d$ = function (g, _) { + if (!g_aO.g_ec(g, _)) throw new TypeError('unexpected type'); + }), + (g_aO.g_ec = function (g, _) { + for (; (g = Object.getPrototypeOf(g)); ) if (g.constructor.name === _.name) return !0; + return !1; + }); +} +{ + function _(g, _) { + let e = g_aO.getType(g), + a = g_aO.getType(_); + return 'null' === e || 'null' === a || ('undefined' !== e && 'undefined' !== a && e === a); + } + function t(g) { + console.warn('[Defence] ' + g + ' @', g_aO.g_cD()); + } + function n() { + if (((p = -1), 0 < o.size || 0 < e.size)) { + let g = new Set([...o.keys()].map((g) => g_aO.g_ed(g))), + _ = [...g].join(','); + console.warn( + `An object derived from DefendedBase was not protected with debugDefend(). This will disable some checks. See the coding guidelines! Possible affected class names: ${_}` + ), + o.clear(), + e.clear(); + } + } + function r(g) { + let _ = new Set(); + for (let e in g) _.add(e); + return _; + } + function s(g, _) { + let t = r(_), + n = d.get(g); + if (n) { + let _ = []; + for (let g of n.values()) t.has(g) ? t.delete(g) : _.push(g); + g_aO.g_ee(_, [...t]), + _.length && + console.warn( + `[Defence] '${g_aO.g_ed(g)}' constructor creates inconsistent properties: ${_.join( + ', ' + )}` + ); + } else d.set(g, t); + } + (g_aO.g_cD = function () { + return new Error().stack; + }), + (g_aO.g_ef = function () { + debugger; + }), + (g_aO.cast = function (g, _) { + return g && g instanceof _ ? g : null; + }), + (g_aO.g_ed = function (g) { + return 'undefined' == typeof g + ? 'undefined' + : null === g + ? 'null' + : 'boolean' == typeof g + ? '' + : g_aO.g_cE(g) + ? '' + : g_aO.g_cO(g) + ? '' + : g_aO.g_db(g) + ? '' + : 'symbol' == typeof g + ? '<' + g.toString() + '>' + : g_aO.g_di(g) + ? g.name && 'Function' !== g.name + ? g.name + : '' + : 'object' == typeof g + ? g.constructor && g.constructor.name && 'Object' !== g.constructor.name + ? g.constructor.name + : '' + : ''; + }), + (g_aO.getType = function (g) { + return null === g ? 'null' : Array.isArray(g) ? 'array' : typeof g; + }), + (g_aO.range = function* (g, _) { + if (!isFinite(Math.abs(g - _))) throw new Error('Invalid parameters'); + if (g > _) for (let e = g - 1; e >= _; e--) yield e; + else for (let e = g; e < _; e++) yield e; + }); + let o = new Map(), + e = new Map(), + g = new WeakMap(), + u = new WeakMap(); + g_aO.g_eg = {}; + const i = new Set(['then', 'splice']); + (g_aO.g_eg.get = function (g, _) { + return ( + _ in g || + 'symbol' == typeof _ || + i.has(_) || + t( + `Accessed missing property '${_}' from defended object '${g_aO.g_ed( + g + )}', returning undefined` + ), + u.has(g) && + 'symbol' != typeof _ && + !i.has(_) && + t( + `Accessed property '${_}' on a released object '${g_aO.g_ed( + g + )}'\nObject was originally released at: ${u.get(g)})\nCall stack at access: ` + ), + g[_] + ); + }), + (g_aO.g_eg.set = function (g, a, n) { + return ( + a in g || + o.has(g) || + t(`Set non-existent property '${a}' to '${n}' on defended object '${g_aO.g_ed(g)}'`), + _(g[a], n) || + o.has(g) || + t( + `Set '${g_aO.getType(g[a])}' property '${a}' to type '${g_aO.getType( + n + )}' on defended object '${g_aO.g_ed(g)}'` + ), + u.has(g) && + t( + `Set property '${a}' on a released object '${g_aO.g_ed( + g + )}'\nObject was originally released at: ${u.get(g)})\nCall stack at access: ` + ), + (g[a] = n), + !0 + ); + }), + (g_aO.g_eg.deleteProperty = function (g, _) { + throw new ReferenceError( + `Cannot delete property '${_}' from defended object '${g_aO.g_ed(g)}'` + ); + }), + (g_aO.g_eg.defineProperty = function (g, _) { + throw new ReferenceError( + `Cannot define property '${_}' on defended object '${g_aO.g_ed(g)}'` + ); + }), + (g_aO.g_eg.enumerate = function (g) { + throw new ReferenceError(`Cannot enumerate defended object '${g_aO.g_ed(g)}'`); + }); + let p = -1; + (g_aO.g_eh = class { + constructor() { + if (g_aO.g_aX && g_aO.g_cm.g_ct) { + let _ = new.target, + a = Object.create(_.prototype), + t = new Proxy(a, g_aO.g_eg); + return o.set(a, t), e.set(t, a), g.set(t, a), -1 === p && (p = requestAnimationFrame(n)), t; + } + } + }), + (g_aO.g_ei = function (g) { + if (g_aO.g_aX && g_aO.g_cm.g_ct && g instanceof g_aO.g_eh) { + if (!e.has(g)) return g; + let _ = e.get(g); + return e.delete(g), o.delete(_), g; + } + return g_aO.g_aW ? Object.seal(g) : g; + }), + (g_aO.g_ej = function (g, ..._) { + let a; + try { + a = new g(..._); + } catch (g) { + throw (e.clear(), o.clear(), g); + } + return g_aO.g_aX && s(g, a), g_aO.g_ei(a); + }), + (g_aO.g_ek = function (_) { + let e = g.get(_); + e && u.set(e, g_aO.g_cD()); + }), + (g_aO.g_el = function (_) { + let e = g.get(_); + return !!e && !!u.get(e); + }); + let d = new Map(); + g_aO.g_em = class { + constructor(g) { + (this.g_en = ''), g && this.start(g); + } + start(g) { + (this.g_en = g), performance.mark(this.g_en + '-Start'); + } + end() { + performance.mark(this.g_en + '-End'), + performance.measure(this.g_en, this.g_en + '-Start', this.g_en + '-End'); + } + next(g) { + this.end(), (this.g_en = g), performance.mark(this.g_en + '-Start'); + } + }; +} +{ + function g(g) { + return 0 === g && 0 > 1 / g; + } + const _ = 2 * Math.PI, + t = Math.PI / 180, + n = 180 / Math.PI; + (g_aO.wrap = function (g, _, e) { + var t = Math.floor; + if (((g = t(g)), (_ = t(_)), (e = t(e)), g < _)) { + let a = e - ((_ - g) % (e - _)); + return a === e ? 0 : a; + } + return _ + ((g - _) % (e - _)); + }), + (g_aO.g_eo = function (g, _, a, t, n) { + return ((g - _) * (n - t)) / (a - _) + t; + }), + (g_aO.normalize = function (g, _, e) { + return (g - _) / (e - _); + }), + (g_aO.g_ep = function (g, _, e) { + return g < _ ? _ : g > e ? e : g; + }), + (g_aO.g_eq = function (g) { + return (g %= _), 0 > g && (g += _), g; + }), + (g_aO.g_er = function (g) { + return g * t; + }), + (g_aO.g_es = function (g) { + return g * n; + }), + (g_aO.g_et = function (g, _, e, a) { + return Math.hypot(e - g, a - _); + }), + (g_aO.g_eu = function (g, _, a, t) { + const n = a - g, + e = t - _; + return n * n + e * e; + }), + (g_aO.g_ev = function (g, _, e, a) { + return Math.atan2(a - _, e - g); + }), + (g_aO.g_ew = function (_, a) { + var t = Math.cos, + n = Math.sin; + if (_ === a) return 0; + let r = n(_), + e = t(_), + s = n(a), + g = t(a), + d = r * s + e * g; + return 1 <= d ? 0 : -1 >= d ? Math.PI : Math.acos(d); + }), + (g_aO.g_ex = function (_, a, t) { + var n = Math.cos, + r = Math.sin; + let e = r(_), + s = n(_), + g = r(a), + d = n(a); + return Math.acos(e * g + s * d) > t + ? 0 < s * g - e * d + ? g_aO.g_eq(_ + t) + : g_aO.g_eq(_ - t) + : g_aO.g_eq(a); + }), + (g_aO.g_ey = function (_, a) { + var t = Math.cos, + n = Math.sin; + let i = n(_), + e = t(_), + r = n(a), + g = t(a); + return 0 >= e * r - i * g; + }), + (g_aO.g_ez = function (g, _, e) { + let a = g_aO.g_ew(g, _); + return g_aO.g_ey(_, g) ? g_aO.g_eq(g + a * e) : g_aO.g_eq(g - a * e); + }), + (g_aO.g_V = function (g, _, e) { + return g + e * (_ - g); + }), + (g_aO.g_eA = function (g, _, e) { + return g === _ ? 0 : (e - g) / (_ - g); + }), + (g_aO.g_eB = function (g, _, e, a, t) { + return g_aO.g_V(a, t, g_aO.g_eA(g, _, e)); + }), + (g_aO.g_eC = function (g, _, e, a) { + return g_aO.g_V(g_aO.g_V(g, _, a), g_aO.g_V(_, e, a), a); + }), + (g_aO.g_eD = function (g, _, e, a, t) { + return g_aO.g_V(g_aO.g_eC(g, _, e, t), g_aO.g_eC(_, e, a, t), t); + }), + (g_aO.g_eE = function (g, _, e) { + return (g + _ + (g - _) * Math.cos(e * Math.PI)) / 2; + }), + (g_aO.g_eF = function (g) { + return 0 < g && 0 == ((g - 1) & g); + }), + (g_aO.g_eG = function (g) { + --g; + for (let _ = 1; 32 > _; _ <<= 1) g |= g >> _; + return g + 1; + }), + (g_aO.g_eH = function (g, _) { + return Math.round(g * _) / _; + }), + (g_aO.g_eI = function (g, _) { + return Math.floor(g * _) / _; + }), + (g_aO.g_eJ = function (g) { + return Math.round(1e6 * g) / 1e6; + }), + (g_aO.toFixed = function (g, _) { + let e = g.toFixed(_), + a = e.length - 1; + for (; 0 <= a && '0' === e.charAt(a); --a); + return 0 <= a && '.' === e.charAt(a) && --a, 0 > a ? e : e.substr(0, a + 1); + }), + (g_aO.g_eK = function (g, _, e) { + return g_aO.g_ep(g, 0, 255) | (g_aO.g_ep(_, 0, 255) << 8) | (g_aO.g_ep(e, 0, 255) << 16); + }); + const i = 1024; + (g_aO.g_eL = function (g, _, e, t) { + var n = Math.floor; + return ( + (g = g_aO.g_ep(n(1024 * g), -8192, 8191)), + (_ = g_aO.g_ep(n(1024 * _), -8192, 8191)), + (e = g_aO.g_ep(n(1024 * e), -8192, 8191)), + (t = g_aO.g_ep(n(1023 * t), 0, 1023)), + 0 > g && (g += 16384), + 0 > _ && (_ += 16384), + 0 > e && (e += 16384), + -(16384 * (16384 * g) * i + 16384 * _ * i + e * i + t) + ); + }), + (g_aO.g_eM = function (g, _, e) { + return g_aO.g_eL(g, _, e, 1); + }), + (g_aO.g_eN = function (g) { + if (0 <= g) return (255 & g) / 255; + else { + let _ = Math.floor(-g / 274877906944); + return 8191 < _ && (_ -= 16384), _ / 1024; + } + }), + (g_aO.g_eO = function (g) { + if (0 <= g) return ((65280 & g) >> 8) / 255; + else { + let _ = Math.floor((-g % 274877906944) / 16777216); + return 8191 < _ && (_ -= 16384), _ / 1024; + } + }), + (g_aO.g_eP = function (g) { + if (0 <= g) return ((16711680 & g) >> 16) / 255; + else { + let _ = Math.floor((-g % 16777216) / i); + return 8191 < _ && (_ -= 16384), _ / 1024; + } + }), + (g_aO.g_eQ = function (_) { + if (g(_)) return 0; + if (0 <= _) return 1; + else { + const g = Math.floor(-_ % i); + return g / 1023; + } + }), + (g_aO.g_eR = function (g, _) { + var e = Math.floor; + for (g = e(g), _ = e(_); 0 !== _; ) { + let e = _; + (_ = g % _), (g = e); + } + return g; + }); + const e = [ + [3, 2], + [4, 3], + [5, 4], + [5, 3], + [6, 5], + [14, 9], + [16, 9], + [16, 10], + [21, 9] + ]; + (g_aO.g_eS = function (g, _) { + var t = Math.abs, + n = Math.floor; + if (((g = n(g)), (_ = n(_)), g === _)) return [1, 1]; + for (let a of e) { + let n = (g / a[0]) * a[1]; + if (1 > t(_ - n)) return a.slice(0); + if (((n = (g / a[1]) * a[0]), 1 > t(_ - n))) return [a[1], a[0]]; + } + let i = g_aO.g_eR(g, _); + return [g / i, _ / i]; + }), + (g_aO.g_eT = function (_, a, d, c, e, f, g, h) { + var i = Math.abs; + let E = 0, + b = 0, + B = 0, + C = 0, + T = 0, + H = 0, + N = 0, + U = 0; + if ( + (_ < d ? ((b = _), (E = d)) : ((b = d), (E = _)), + e < g ? ((H = e), (T = g)) : ((H = g), (T = e)), + E < H || b > T) + ) + return !1; + if ( + (a < c ? ((C = a), (B = c)) : ((C = c), (B = a)), + f < h ? ((U = f), (N = h)) : ((U = h), (N = f)), + B < U || C > N) + ) + return !1; + let I = e - _ + g - d, + s = f - a + h - c, + t = d - _, + u = c - a, + v = g - e, + w = h - f, + x = i(u * v - w * t); + return !(i(v * s - w * I) > x) && i(t * s - u * I) <= x; + }), + (g_aO.g_eU = function (_, a, d, c, e, f, g, h, i, E, b, l) { + var m = Math.abs; + let n = 0, + B = 0, + C = 0, + T = 0; + if ((i < b ? ((B = i), (n = b)) : ((B = b), (n = i)), f < B || e > n)) return !1; + if ((E < l ? ((T = E), (C = l)) : ((T = l), (C = E)), h < T || g > C)) return !1; + let H = i - _ + b - d, + s = E - a + l - c, + t = d - _, + u = c - a, + v = b - i, + N = l - E, + x = m(u * v - N * t); + return !(m(v * s - N * H) > x) && m(t * s - u * H) <= x; + }), + (g_aO.g_eV = function (_, a, t, r, s) { + let e = 0, + d = 0, + u = 0, + c = 0; + _ < t ? ((e = _), (d = t)) : ((e = t), (d = _)), + a < r ? ((u = a), (c = r)) : ((u = r), (c = a)); + const E = s.g_eW(), + b = s.g_eX(), + y = s.g_eY(), + l = s.g_eZ(), + m = s.g_e_(), + n = s.g_e$(), + o = s.g_fa(), + p = s.g_fb(); + return ( + g_aO.g_eU(_, a, t, r, e, d, u, c, E, b, y, l) || + g_aO.g_eU(_, a, t, r, e, d, u, c, y, l, m, n) || + g_aO.g_eU(_, a, t, r, e, d, u, c, m, n, o, p) || + g_aO.g_eU(_, a, t, r, e, d, u, c, o, p, E, b) + ); + }), + (g_aO.g_fc = function (_, a, t, n, r) { + let e = 0, + s = 0, + d = 0, + l = 0; + _ < t ? ((e = _), (s = t)) : ((e = t), (s = _)), + a < n ? ((d = a), (l = n)) : ((d = n), (l = a)); + let o = 0; + for (let g = r.length - 4; o <= g; o += 2) + if (g_aO.g_eU(_, a, t, n, e, s, d, l, r[o], r[o + 1], r[o + 2], r[o + 3])) return !0; + return g_aO.g_eU(_, a, t, n, e, s, d, l, r[o], r[o + 1], r[0], r[1]); + }), + (g_aO.g_fd = function (_, a, t, n, r, e, s, g) { + const d = t - _, + i = g - e, + o = d * i - (n - a) * (s - r); + if (0 == o) return 2; + const u = ((a - n) * (s - _) + d * (g - a)) / o; + return 0 < u && u < 1 + 1e-6 ? (i * (s - _) + (r - s) * (g - a)) / o : 2; + }); +} +{ + let _ = null, + a = ''; + if ('undefined' != typeof document) { + _ = document; + const g = document.querySelector('base'); + (a = g && g.hasAttribute('href') ? g.getAttribute('href') : ''), + a && (a.startsWith('/') && (a = a.substr(1)), !a.endsWith('/') && (a += '/')); + } + (g_aO.g_fe = function () { + if (!_) return ''; + const g = _.location; + return g_aO.g_ff(g.origin + g.pathname) + a; + }), + (g_aO.g_ff = function (g) { + if (!g.length) return g; + if (g.endsWith('/') || g.endsWith('\\')) return g; + const _ = Math.max(g.lastIndexOf('/'), g.lastIndexOf('\\')); + return -1 === _ ? '' : g.substr(0, _ + 1); + }), + (g_aO.g_fg = function (g) { + if (!g.length) return g; + if (g.endsWith('/') || g.endsWith('\\')) return ''; + const _ = Math.max(g.lastIndexOf('/'), g.lastIndexOf('\\')); + return -1 === _ ? g : g.substr(_ + 1); + }), + (g_aO.g_fh = function (g) { + if (g.types) + for (let _ = 0; _ < g.types.length; _++) + if ('Files' === g.types[_] || 'application/x-c3-file' === g.types[_]) return !0; + return !1; + }), + (g_aO.g_fi = async function (g, _) { + const e = Array.from(g.files) + .filter((g) => 0 !== g.size) + .filter((g) => _(g)) + .map(async (g) => { + try { + return await g_aO.g_fj(g); + } catch (g) { + return null; + } + }), + a = await Promise.all(e); + return a.filter((g) => g); + }), + (g_aO.g_fk = function (g) { + return -1 !== g.type.search(/image\/.*/); + }), + (g_aO.g_fl = function (g) { + return 'image/svg+xml' === g.type; + }), + (g_aO.g_fm = function (g) { + let _ = g.lastIndexOf('.'); + return 1 > _ ? '' : g.substr(_); + }), + (g_aO.g_fn = function (g) { + let _ = g.lastIndexOf('.'); + return 1 > _ ? g : g.substr(0, _); + }), + (g_aO.g_fo = function (g) { + return g.replace(/\\/g, '/'); + }), + (g_aO.g_fp = function (_) { + _ = g_aO.g_fo(_); + let t = /^\w\:\//.exec(_); + t ? ((t = t[0]), (_ = _.slice(3)), '/' !== _[0] && (_ = '/' + _)) : (t = ''), + (_ = _.replace(/\/{2,}/g, '/')), + 1 < _.length && '/' === _.slice(-1) && (_ = _.slice(0, -1)); + const n = _.lastIndexOf('/') + 1; + let r = '', + s = _, + l = '', + o; + 0 < n && ((r = _.slice(0, n)), (s = _.slice(n))), (o = s); + const u = s.lastIndexOf('.'); + 0 < u && ((l = s.slice(u)), (o = s.slice(0, -l.length))); + const p = t + r + s; + return { dir: r, g_fq: s, name: o, root: t, g_fr: l, g_fs: p }; + }), + (g_aO.g_ft = function (g, _) { + return new Promise((e) => { + self.setTimeout(e, g, _); + }); + }), + (g_aO.g_fu = function (g) { + try { + g(); + } catch (g) { + g_aO.g_aW && console.warn('Swallowed exception: ', g); + } + }), + (g_aO.noop = function () {}), + (g_aO.g_dB = function (g, _) { + return ( + 'string' == typeof g && + 'string' == typeof _ && + (g === _ || + ((g = g.normalize()), + (_ = _.normalize()), + g.length === _.length && g.toLowerCase() === _.toLowerCase())) + ); + }), + (g_aO.g_fv = function (g, _) { + return ( + 'string' == typeof g && 'string' == typeof _ && (g === _ || g.normalize() === _.normalize()) + ); + }), + (g_aO.g_fw = function (g, _) { + if (g_aO.g_cm.g_cB) return void g.sort(_); + const a = g.map((g, _) => [g, _]); + a.sort((g, e) => { + const a = _(g[0], e[0]); + return 0 === a ? g[1] - e[1] : a; + }); + for (let t = 0, n = g.length; t < n; ++t) g[t] = a[t][0]; + }), + (g_aO.g_fx = function (g, _, e) { + (g[e++] = _[0]), + (g[e++] = _[1]), + (g[e++] = _[2]), + (g[e++] = _[3]), + (g[e++] = _[4]), + (g[e++] = _[5]), + (g[e++] = _[6]), + (g[e++] = _[7]), + (g[e++] = _[8]), + (g[e++] = _[9]), + (g[e++] = _[10]), + (g[e++] = _[11]), + (g[e++] = _[12]), + (g[e++] = _[13]), + (g[e++] = _[14]), + (g[e] = _[15]); + }), + (g_aO.g_fy = function (g, _) { + g.length = _; + }), + (g_aO.g_fz = function (g) { + g && 0 !== g.length && g_aO.g_fy(g, 0); + }), + (g_aO.g_fA = function (g) { + if (g) { + for (let _ = 0, e; _ < g.length; _++) (e = g[_]), g_aO.g_fy(e, 0); + g_aO.g_fy(g, 0); + } + }), + (g_aO.g_fB = function (g, _, a) { + _ |= 0; + const t = g.length; + if (!(_ <= t)) for (let n = t; n < _; ++n) g.push(a); + }), + (g_aO.g_fC = function (g, _, e) { + _ |= 0; + const a = g.length; + _ < a ? g_aO.g_fy(g, _) : _ > a && g_aO.g_fB(g, _, e); + }), + (g_aO.g_fD = function (g, _) { + g_aO.g_fz(g), g_aO.g_ee(g, _); + }), + (g_aO.g_ee = function (g, _) { + if (1e4 > _.length) g.push(..._); + else for (let e = 0, a = _.length; e < a; ++e) g.push(_[e]); + }), + (g_aO.g_fE = function (g, _) { + if (((_ = Math.floor(_)), !(0 > _ || _ >= g.length))) { + let e = g.length - 1; + for (let a = _; a < e; ++a) g[a] = g[a + 1]; + g_aO.g_fy(g, e); + } + }), + (g_aO.g_fF = function (g, _) { + let e = g.indexOf(_); + 0 <= e && g.splice(e, 1); + }), + (g_aO.g_fG = function (g, _) { + let e = g.length; + if (_.length !== e) return !1; + for (let a = 0; a < e; ++a) if (g[a] !== _[a]) return !1; + return !0; + }), + (g_aO.g_fH = function (_, a) { + let t = [], + n = 0; + for (let i = 0, r = _.length, g; i < r; ++i) (g = _[i]), a(g) ? t.push(g) : ((_[n] = g), ++n); + return g_aO.g_fy(_, n), t; + }), + (g_aO.g_fI = function (g, _) { + const e = g.length; + let a = 0; + for (let t = 0, e = g.length, n; t < e; ++t) (n = g[t]), _.has(n) || (g[a++] = n); + return g_aO.g_fy(g, a), e - a; + }), + (g_aO.g_fJ = function (g, _) { + return g === Math.floor(g) && 0 <= g && g < _.length; + }), + (g_aO.g_fK = function (g, _) { + if (!g_aO.g_fJ(g, _)) throw new RangeError('array index out of bounds'); + }), + (g_aO.g_fL = function (g) { + return g.slice(); + }), + (g_aO.g_fM = function (g, _) { + let e = []; + for (let t of g) + if (g_aO.g_cV(t)) { + let g = _(t); + if (!g) throw new Error('missing clone'); + if (g.constructor !== t.constructor) throw new Error('object is not a clone'); + e.push(g); + } else g_aO.g_db(t) ? e.push(g_aO.g_fM(t, _)) : e.push(t); + return e; + }), + (g_aO.g_fN = function (g) { + let _ = []; + for (let e of g) _.push(e.slice()); + return _; + }), + (g_aO.g_fO = function (g, _) { + return new Set([...g, ..._]); + }), + (g_aO.first = function (g) { + for (let _ of g) return _; + return null; + }), + (g_aO.xor = function (g, _) { + return !g != !_; + }), + (g_aO.compare = function (g, _, e) { + return 0 === _ + ? g === e + : 1 === _ + ? g !== e + : 2 === _ + ? g < e + : 3 === _ + ? g <= e + : 4 === _ + ? g > e + : 5 == _ && g >= e; + }), + (g_aO.g_fP = function (g) { + for (let _ in g) if (g.hasOwnProperty(_)) return !0; + return !1; + }), + (g_aO.g_fQ = function (_, a) { + return _.length + ? new Promise((t, n) => { + const r = []; + let e = 0, + i = !1; + for (let g = 0, s = _.length; g < s; ++g) + r.push(void 0), + _[g] + .then((n) => { + i || ((r[g] = n), ++e, e === _.length ? t(r) : a(e, _.length)); + }) + .catch((g) => { + (i = !0), n(g); + }); + }) + : Promise.resolve([]); + }); + let t = []; + (g_aO.g_fR = function (g) { + t.push(g); + }), + (g_aO.g_fS = function () { + let g = 0; + for (let _ of t) { + let e = _(); + g += e; + } + return Math.floor(g); + }); + const n = new MessageChannel(); + n.port2.onmessage = function (g) { + const _ = g.data, + a = e.get(_); + e.delete(_), a && a(g.timeStamp); + }; + let i = 1; + const e = new Map(); + (g_aO.g_fT = function (g) { + const _ = i++; + return e.set(_, g), n.port1.postMessage(_), _; + }), + (g_aO.g_fU = function (g) { + e.delete(g); + }), + (g_aO.g_fV = g_aO.g_fT), + (g_aO.g_fW = function () { + return new Promise((g) => g_aO.g_fV(g)); + }); + const r = new Set(); + (g_aO.g_fX = function (g) { + const _ = self.requestAnimationFrame(async (e) => { + await g_aO.g_fW(), r.has(_) && (r.delete(_), g(e)); + }); + return r.add(_), _; + }), + (g_aO.g_fY = function (g) { + r.has(g) && (self.cancelAnimationFrame(g), r.delete(g)); + }); +} +'use strict', + (g_aO.g_fZ = function (g) { + return /^(?:[a-z]+:)?\/\//.test(g) || 'data:' === g.substr(0, 5) || 'blob:' === g.substr(0, 5); + }), + (g_aO.g_f_ = function (g) { + return !g_aO.g_fZ(g); + }), + (g_aO.g_f$ = function (g) { + if (!g.ok) throw new Error(`fetch '${g.url}' response returned ${g.status} ${g.statusText}`); + }), + (g_aO.g_ga = function (g, _) { + return fetch(g, _).then((g) => (g_aO.g_f$(g), g)); + }), + (g_aO.g_gb = function (g) { + return g_aO.g_ga(g).then((g) => g.text()); + }), + (g_aO.g_gc = function (g) { + return g_aO.g_ga(g).then((g) => g.json()); + }), + (g_aO.g_gd = function (g) { + return g_aO.g_ga(g).then((g) => g.blob()); + }), + (g_aO.g_ge = function (g) { + return g_aO.g_ga(g).then((g) => g.arrayBuffer()); + }), + (g_aO.g_gf = function (g) { + return new Promise((_, e) => { + const a = new Image(); + (a.onload = () => _(a)), (a.onerror = (g) => e(g)), (a.src = g); + }); + }), + (g_aO.g_gg = function (g) { + return new Promise((_, e) => { + const a = new FileReader(); + (a.onload = () => _(a.result)), (a.onerror = () => e(a.error)), a.readAsArrayBuffer(g); + }); + }), + (g_aO.g_gh = function (g) { + return new Promise((_, e) => { + const a = new FileReader(); + (a.onload = () => _(a.result)), (a.onerror = () => e(a.error)), a.readAsText(g); + }); + }), + (g_aO.g_gi = function (g) { + return g_aO.g_gh(g).then((g) => JSON.parse(g)); + }), + (g_aO.g_gj = async function (g, _) { + let e = URL.createObjectURL(g); + try { + const g = await g_aO.g_gf(e); + return ( + URL.revokeObjectURL(e), + (e = ''), + _ && 'function' == typeof g.decode && (await g.decode()), + g + ); + } finally { + e && URL.revokeObjectURL(e); + } + }), + (g_aO.g_gk = function (g, _) { + if ('undefined' != typeof document && 'function' == typeof document.createElement) { + const e = document.createElement('canvas'); + return (e.width = g), (e.height = _), e; + } + return new OffscreenCanvas(g, _); + }), + (g_aO.g_cv = function (g, _, e) { + return ( + 'number' != typeof e && (e = 1), + (_ = _ || 'image/png'), + (e = g_aO.g_ep(e, 0, 1)), + g.toBlob + ? new Promise((a) => g.toBlob(a, _, e)) + : g.convertToBlob + ? g.convertToBlob({ type: _, quality: e }) + : g_aO.g_gl(() => g_aO.g_gm(g, _, e)) + ); + }), + (g_aO.g_gm = function (g, _, e) { + return ( + 'number' != typeof e && (e = 1), + (_ = _ || 'image/png'), + (e = g_aO.g_ep(e, 0, 1)), + g_aO.g_gn(g.toDataURL(_, e)) + ); + }), + (g_aO.g_gn = function (g) { + const _ = g_aO.g_go(g); + return g_aO.g_gp(_.data, _.g_gq); + }), + (g_aO.g_go = function (_) { + if ('data:' !== _.substr(0, 5)) throw new URIError('expected data: uri'); + let a = _.indexOf(','); + if (0 > a) throw new URIError('expected comma in data: uri'); + let t = _.substring(5, a), + n = _.substring(a + 1), + e = t.split(';'), + r = e[0] || '', + g = e[1], + s = e[2], + i; + return ( + (i = 'base64' === g || 'base64' === s ? atob(n) : decodeURIComponent(n)), { g_gq: r, data: i } + ); + }), + (g_aO.g_gp = function (_, a) { + let t = _.length, + e = t >> 2, + n = new Uint8Array(t), + g = new Uint32Array(n.buffer, 0, e), + i, + r; + for (i = 0, r = 0; i < e; ++i) + g[i] = + _.charCodeAt(r++) | + (_.charCodeAt(r++) << 8) | + (_.charCodeAt(r++) << 16) | + (_.charCodeAt(r++) << 24); + for (let g = 3 & t; g--; ) (n[r] = _.charCodeAt(r)), ++r; + return a ? new Blob([n], { type: a }) : new Blob([n]); + }), + (g_aO.g_gr = function (g, _, a) { + const t = g_aO.g_gk(g.width, g.height), + n = t.getContext('2d'); + return n.drawImage(g, 0, 0), g_aO.g_cv(t, _, a); + }), + (g_aO.g_gs = function (g, _, a) { + const t = g_aO.g_gk(g.width, g.height), + n = t.getContext('2d'); + return n.putImageData(g, 0, 0), g_aO.g_gm(t, _, a); + }), + (g_aO.g_gt = function (g, _, t) { + if (g_aO.g_cm.g_cq) + return createImageBitmap(g, { premultiplyAlpha: 'none' }).then((g) => g_aO.g_gr(g, _, t)); + if (g_aO.g_cm.ImageBitmap) return createImageBitmap(g).then((g) => g_aO.g_gr(g, _, t)); + else { + const a = g_aO.g_gk(g.width, g.height), + n = a.getContext('2d'); + return n.putImageData(g, 0, 0), g_aO.g_cv(a, _, t); + } + }), + (g_aO.g_gu = function (g, _) { + g.clear(); + for (const e of _) g.add(e); + }), + (g_aO.g_gv = function (g) { + const _ = Object.create(null); + for (const [e, a] of g.entries()) _[e] = a; + return _; + }), + (g_aO.g_gw = function (g, _) { + _.clear(); + for (const [e, a] of Object.entries(g)) _.set(e, a); + }), + (g_aO.g_gx = function g(_) { + if ('object' == typeof _ && null !== _) { + if (_ instanceof Set) return { _c3type_: 'set', data: [..._].map((_) => g(_)) }; + if (_ instanceof Map) return { _c3type_: 'map', data: [..._].map((_) => [_[0], g(_[1])]) }; + else { + const a = Object.create(null); + for (const [t, n] of Object.entries(_)) a[t] = g(n); + return a; + } + } + return _; + }), + (g_aO.g_gy = function g(_) { + if (('object' == typeof _) & (null !== _)) { + if ('set' === _._c3type_) return new Set(_.data.map((_) => g(_))); + if ('map' === _._c3type_) return new Map(_.data.map((_) => [_[0], g(_[1])])); + else { + const a = Object.create(null); + for (const [t, n] of Object.entries(_)) a[t] = g(n); + return a; + } + } + return _; + }), + (g_aO.g_gz = function (g) { + let _ = '', + e = !1; + for (const a of g) '-' === a ? (e = !0) : e ? ((_ += a.toUpperCase()), (e = !1)) : (_ += a); + return _; + }), + (g_aO.g_gA = function (g) { + return 'object' == typeof g && 'function' == typeof g.next; + }), + 'use strict'; +{ + function g(g) { + return 0 === g.length ? '00' : 1 === g.length ? '0' + g : g; + } + function _(g, _, e) { + return ( + 0 > e && (e += 1), + 1 < e && (e -= 1), + e < 1 / 6 + ? g + 6 * (_ - g) * e + : e < 1 / 2 + ? _ + : e < 2 / 3 + ? g + 6 * ((_ - g) * (2 / 3 - e)) + : g + ); + } + const t = /([0-9.]+),([0-9.]+)\%?,([0-9.]+)\%?/i, + n = /([0-9.]+),([0-9.]+)\%?,([0-9.]+)\%?,([0-9.])/i; + (g_aO.g_gB = class { + constructor(g, _, a, e) { + (this.g_gC = NaN), + (this.g_gD = NaN), + (this.g_gE = NaN), + (this.g_gF = NaN), + (this.g_gC = 0), + (this.g_gD = 0), + (this.g_gE = 0), + (this.g_gF = 0), + g instanceof g_aO.g_gB ? this.set(g) : this.g_gG(g || 0, _ || 0, a || 0, e || 0); + } + g_gH(g, _, e) { + return (this.g_gC = +g), (this.g_gD = +_), (this.g_gE = +e), this.g_ep(), this; + } + g_gG(g, _, a, e) { + return ( + (this.g_gC = +g), (this.g_gD = +_), (this.g_gE = +a), (this.g_gF = +e), this.g_ep(), this + ); + } + set(g) { + return ( + (this.g_gC = g.g_gC), (this.g_gD = g.g_gD), (this.g_gE = g.g_gE), (this.g_gF = g.g_gF), this + ); + } + g_p(g) { + return this.set(g); + } + add(g) { + (this.g_gC += g.g_gC), + (this.g_gD += g.g_gD), + (this.g_gE += g.g_gE), + (this.g_gF += g.g_gF), + this.g_ep(); + } + g_gI(g, _, a, e = 0) { + (this.g_gC += +g), (this.g_gD += +_), (this.g_gE += +a), (this.g_gF += +e), this.g_ep(); + } + g_gJ(g) { + var _ = Math.min, + e = Math.max; + this.g_gK(e(this.g_gC, g.g_gC) - _(this.g_gC, g.g_gC)), + this.g_gL(e(this.g_gD, g.g_gD) - _(this.g_gD, g.g_gD)), + this.g_gM(e(this.g_gE, g.g_gE) - _(this.g_gE, g.g_gE)), + this.g_gN(e(this.g_gF, g.g_gF) - _(this.g_gF, g.g_gF)), + this.g_ep(); + } + g_gO(g) { + (this.g_gC = g.g_gC), (this.g_gD = g.g_gD), (this.g_gE = g.g_gE); + } + g_gK(g) { + this.g_gC = g_aO.g_ep(+g, 0, 1); + } + g_gP() { + return this.g_gC; + } + g_gL(g) { + this.g_gD = g_aO.g_ep(+g, 0, 1); + } + g_gQ() { + return this.g_gD; + } + g_gM(g) { + this.g_gE = g_aO.g_ep(+g, 0, 1); + } + g_gR() { + return this.g_gE; + } + g_gN(g) { + this.g_gF = g_aO.g_ep(+g, 0, 1); + } + g_gS() { + return this.g_gF; + } + clone() { + return g_aO.g_ej(g_aO.g_gB, this.g_gC, this.g_gD, this.g_gE, this.g_gF); + } + toArray() { + return [this.g_gC, this.g_gD, this.g_gE, this.g_gF]; + } + g_gT() { + return new Float64Array(this.toArray()); + } + g_gU(g, _) { + (g[_++] = this.g_gC), (g[_++] = this.g_gD), (g[_++] = this.g_gE), (g[_] = this.g_gF); + } + g_l(g) { + return ( + this.g_gC === g.g_gC && this.g_gD === g.g_gD && this.g_gE === g.g_gE && this.g_gF === g.g_gF + ); + } + g_gV(g) { + return this.g_gC === g.g_gC && this.g_gD === g.g_gD && this.g_gE === g.g_gE; + } + g_gW(g, _, e) { + return this.g_gC === g && this.g_gD === _ && this.g_gE === e; + } + g_gX(g, _, a, e) { + return this.g_gC === g && this.g_gD === _ && this.g_gE === a && this.g_gF === e; + } + multiply(g) { + (this.g_gC *= g.g_gC), (this.g_gD *= g.g_gD), (this.g_gE *= g.g_gE), (this.g_gF *= g.g_gF); + } + g_gY(g) { + (this.g_gC *= g), (this.g_gD *= g), (this.g_gE *= g), (this.g_gF *= g); + } + g_gZ() { + return (this.g_gC *= this.g_gF), (this.g_gD *= this.g_gF), (this.g_gE *= this.g_gF), this; + } + g_g_() { + return (this.g_gC /= this.g_gF), (this.g_gD /= this.g_gF), (this.g_gE /= this.g_gF), this; + } + g_ep() { + return ( + (this.g_gC = g_aO.g_ep(this.g_gC, 0, 1)), + (this.g_gD = g_aO.g_ep(this.g_gD, 0, 1)), + (this.g_gE = g_aO.g_ep(this.g_gE, 0, 1)), + (this.g_gF = g_aO.g_ep(this.g_gF, 0, 1)), + this + ); + } + g_g$(g) { + (this.g_gC = g_aO.g_eN(g)), + (this.g_gD = g_aO.g_eO(g)), + (this.g_gE = g_aO.g_eP(g)), + (this.g_gF = g_aO.g_eQ(g)); + } + g_ha(_, a, t) { + const n = g_aO.g_cF(_) ? _ : this.g_gP(), + e = g_aO.g_cF(a) ? a : this.g_gQ(), + i = g_aO.g_cF(t) ? t : this.g_gR(); + return `rgb(${100 * n}%, ${100 * e}%, ${100 * i}%)`; + } + g_hb(_, a, t, e) { + const n = g_aO.g_cF(_) ? _ : this.g_gP(), + r = g_aO.g_cF(a) ? a : this.g_gQ(), + i = g_aO.g_cF(t) ? t : this.g_gR(), + g = g_aO.g_cF(e) ? e : this.g_gS(); + return `rgba(${100 * n}%, ${100 * r}%, ${100 * i}%, ${g})`; + } + g_hc() { + var _ = Math.round; + const a = _(255 * this.g_gP()), + t = _(255 * this.g_gQ()), + n = _(255 * this.g_gR()); + return '#' + g(a.toString(16)) + g(t.toString(16)) + g(n.toString(16)); + } + g_hd(g) { + if ('string' != typeof g) return !1; + (g = g.trim()), '#' === g.charAt(0) && (g = g.substr(1)); + let _, e, t; + if (3 === g.length) + (_ = parseInt(g[0], 16) / 15), (e = parseInt(g[1], 16) / 15), (t = parseInt(g[2], 16) / 15); + else if (6 === g.length) + (_ = parseInt(g.substr(0, 2), 16) / 255), + (e = parseInt(g.substr(2, 2), 16) / 255), + (t = parseInt(g.substr(4, 2), 16) / 255); + else return !1; + return ( + isFinite(_) && this.g_gK(_), + isFinite(e) && this.g_gL(e), + isFinite(t) && this.g_gM(t), + this.g_gN(1), + !0 + ); + } + g_he() { + var g = Math.round; + const _ = g(255 * this.g_gP()), + e = g(255 * this.g_gQ()), + a = g(255 * this.g_gR()); + return `${_}, ${e}, ${a}`; + } + g_hf() { + var g = Math.round; + const _ = g(255 * this.g_gP()), + e = g(255 * this.g_gQ()), + a = g(255 * this.g_gR()); + return [_, e, a]; + } + g_hg(g) { + if ('string' != typeof g) return !1; + g = g.replace(/^rgb\(|\)|%/, ''); + const _ = g.split(','); + if (3 > _.length) return !1; + const t = parseInt(_[0].trim(), 10) / 255, + n = parseInt(_[1].trim(), 10) / 255, + i = parseInt(_[2].trim(), 10) / 255; + return ( + isFinite(t) && this.g_gK(t), + isFinite(n) && this.g_gL(n), + isFinite(i) && this.g_gM(i), + this.g_gN(1), + !0 + ); + } + g_hh(g) { + if ('string' != typeof g) return !1; + g = g.replace(/^rgb\(|\)|%/, ''); + const _ = g.split(','); + if (3 > _.length) return !1; + const t = parseInt(_[0].trim(), 10) / 100, + n = parseInt(_[1].trim(), 10) / 100, + i = parseInt(_[2].trim(), 10) / 100; + return ( + isFinite(t) && this.g_gK(t), + isFinite(n) && this.g_gL(n), + isFinite(i) && this.g_gM(i), + this.g_gN(1), + !0 + ); + } + g_hi(g) { + if ('string' != typeof g) return !1; + g = g.replace(/^rgba\(|\)|%/, ''); + const _ = g.split(','); + if (4 > _.length) return !1; + const t = parseInt(_[0].trim(), 10) / 255, + n = parseInt(_[1].trim(), 10) / 255, + i = parseInt(_[2].trim(), 10) / 255, + e = parseFloat(_[3].trim()); + return ( + isFinite(t) && this.g_gK(t), + isFinite(n) && this.g_gL(n), + isFinite(i) && this.g_gM(i), + isFinite(e) && this.g_gN(e), + !0 + ); + } + g_hj(g) { + if ('string' != typeof g) return !1; + g = g.replace(/^rgba\(|\)|%/, ''); + const _ = g.split(','); + if (4 > _.length) return !1; + const t = parseInt(_[0].trim(), 10) / 100, + n = parseInt(_[1].trim(), 10) / 100, + i = parseInt(_[2].trim(), 10) / 100, + e = parseFloat(_[3].trim()); + return ( + isFinite(t) && this.g_gK(t), + isFinite(n) && this.g_gL(n), + isFinite(i) && this.g_gM(i), + isFinite(e) && this.g_gN(e), + !0 + ); + } + g_hk(g) { + if ('string' != typeof g) return !1; + if (((g = g.replace(/\s+/, '')), g.includes(','))) { + if (g.startsWith('rgb(')) return g.includes('%') ? this.g_hh(g) : this.g_hg(g); + if (g.startsWith('rgba(')) return g.includes('%') ? this.g_hj(g) : this.g_hi(g); + if (g.startsWith('hsl(') || g.startsWith('hsla(')) return this.g_hl(g); + else { + const _ = g.split(','); + return g.includes('%') + ? 3 === _.length + ? this.g_hh(g) + : 4 === _.length && this.g_hj(g) + : 3 === _.length + ? this.g_hg(g) + : 4 === _.length && this.g_hi(g); + } + } else return this.g_hd(g); + } + toJSON() { + return [this.g_gC, this.g_gD, this.g_gE, this.g_gF]; + } + g_hm(t, n, r, s) { + let l, o, u; + if ( + ((t %= 360), + (n = g_aO.g_ep(n, 0, 100)), + (r = g_aO.g_ep(r, 0, 100)), + (s = g_aO.g_ep(s, 0, 1)), + (t /= 360), + (n /= 100), + (r /= 100), + 0 === n) + ) + l = o = u = r; + else { + const g = 0.5 > r ? r * (1 + n) : r + n - r * n, + e = 2 * r - g; + (l = _(e, g, t + 1 / 3)), (o = _(e, g, t)), (u = _(e, g, t - 1 / 3)); + } + return this.g_gK(l), this.g_gL(o), this.g_gM(u), this.g_gN(s), this; + } + g_hl(g) { + const _ = g.replace(/ |hsl|hsla|\(|\)|;/gi, ''), + a = t.exec(_), + e = n.exec(_); + return a && 4 === a.length + ? (this.g_hm(+a[1], +a[2], +a[3], 1), !0) + : !!(e && 5 === e.length) && (this.g_hm(+a[1], +a[2], +a[3], +a[4]), !0); + } + g_hn() { + const _ = this.g_gC, + t = this.g_gD, + n = this.g_gE, + e = this.g_gF, + i = g_aO.g_gB.g_ho(_, t, n), + a = g_aO.g_gB.g_hp(_, t, n), + r = g_aO.g_gB.g_hq(_, t, n); + return `hsla(${i}, ${a}%, ${r}%, ${e})`; + } + g_hr() { + const g = this.g_gC, + _ = this.g_gD, + e = this.g_gE; + return [g_aO.g_gB.g_ho(g, _, e), g_aO.g_gB.g_hp(g, _, e), g_aO.g_gB.g_hq(g, _, e), this.g_gF]; + } + g_hs(g) { + !Array.isArray(g) || + 3 > g.length || + ((this.g_gC = g[0]), + (this.g_gD = g[1]), + (this.g_gE = g[2]), + (this.g_gF = 4 <= g.length ? g[3] : 1)); + } + set r(g) { + this.g_gK(g); + } + get r() { + return this.g_gP(); + } + set g_ht(g) { + this.g_gL(g); + } + get g_ht() { + return this.g_gQ(); + } + set b(g) { + this.g_gM(g); + } + get b() { + return this.g_gR(); + } + set a(g) { + this.g_gN(g); + } + get a() { + return this.g_gS(); + } + g_hu(g, _) { + switch (g) { + case 0: + this.g_gK(_); + break; + case 1: + this.g_gL(_); + break; + case 2: + this.g_gM(_); + break; + case 3: + this.g_gN(_); + break; + default: + throw new RangeError('invalid color index'); + } + } + g_hv(g) { + switch (g) { + case 0: + return this.g_gP(); + case 1: + return this.g_gQ(); + case 2: + return this.g_gR(); + case 3: + return this.g_gS(); + default: + throw new RangeError('invalid color index'); + } + } + static g_hw(g, _) { + var a = Math.min, + t = Math.max; + const n = new g_aO.g_gB(); + return ( + n.g_gK(t(g.g_gC, _.g_gC) - a(g.g_gC, _.g_gC)), + n.g_gL(t(g.g_gD, _.g_gD) - a(g.g_gD, _.g_gD)), + n.g_gM(t(g.g_gE, _.g_gE) - a(g.g_gE, _.g_gE)), + n.g_gN(t(g.g_gF, _.g_gF) - a(g.g_gF, _.g_gF)), + n + ); + } + static g_ho(g, _, a) { + const t = Math.max(g, _, a), + n = Math.min(g, _, a); + if (t === n) return 0; + let e = 0; + return ( + t === g + ? (e = (_ - a) / (t - n) + (_ < a ? 6 : 0)) + : t === _ + ? (e = (a - g) / (t - n) + 2) + : t === a + ? (e = (g - _) / (t - n) + 4) + : void 0, + Math.round(360 * (e / 6)) + ); + } + static g_hp(_, a, t) { + const e = Math.max(_, a, t), + n = Math.min(_, a, t); + if (e === n) return 0; + const i = e - n, + g = 0.5 < (e + n) / 2 ? i / (2 - e - n) : i / (e + n); + return Math.round(100 * g); + } + static g_hq(g, _, a) { + const t = Math.max(g, _, a), + n = Math.min(g, _, a); + return t ? Math.round(100 * ((t + n) / 2)) : 0; + } + }), + (g_aO.g_gB.g_hx = Object.freeze(g_aO.g_ej(g_aO.g_gB, 1, 1, 1, 1))), + (g_aO.g_gB.g_hy = Object.freeze(g_aO.g_ej(g_aO.g_gB, 0, 0, 0, 1))), + (g_aO.g_gB.g_hz = Object.freeze(g_aO.g_ej(g_aO.g_gB, 0, 0, 0, 0))); +} +'use strict', + (g_aO.g_hA = class { + constructor(g, _) { + (this.g_hB = 0), + (this.g_hC = 0), + g instanceof g_aO.g_hA ? this.g_p(g) : this.set(g || 0, _ || 0); + } + set(g, _) { + (this.g_hB = +g), (this.g_hC = +_); + } + g_p(g) { + (this.g_hB = g.g_hB), (this.g_hC = g.g_hC); + } + g_l(g) { + return this.g_hB === g.g_hB && this.g_hC === g.g_hC; + } + g_hD(g) { + this.g_hB = +g; + } + g_hE() { + return this.g_hB; + } + g_hF(g) { + this.g_hC = +g; + } + g_hG() { + return this.g_hC; + } + toArray() { + return [this.g_hB, this.g_hC]; + } + g_gT() { + return new Float64Array(this.toArray()); + } + g_gU(g, _) { + (g[_++] = this.g_hB), (g[_] = this.g_hC); + } + offset(g, _) { + (this.g_hB += +g), (this.g_hC += +_); + } + scale(g, _) { + (this.g_hB *= g), (this.g_hC *= _); + } + round() { + var g = Math.round; + (this.g_hB = g(this.g_hB)), (this.g_hC = g(this.g_hC)); + } + floor() { + var g = Math.floor; + (this.g_hB = g(this.g_hB)), (this.g_hC = g(this.g_hC)); + } + ceil() { + var g = Math.ceil; + (this.g_hB = g(this.g_hB)), (this.g_hC = g(this.g_hC)); + } + angle() { + return g_aO.g_ev(0, 0, this.g_hB, this.g_hC); + } + g_hH() { + return this.g_hB * this.g_hB + this.g_hC * this.g_hC; + } + length() { + return Math.sqrt(this.g_hH()); + } + g_hI(g, _) { + const e = this.g_hB * _ - this.g_hC * g; + (this.g_hC = this.g_hC * _ + this.g_hB * g), (this.g_hB = e); + } + rotate(g) { + 0 === g || this.g_hI(Math.sin(g), Math.cos(g)); + } + g_hJ(g, _, e) { + 0 === g || + (_ === this.g_hB && e === this.g_hC) || + ((this.g_hB -= _), + (this.g_hC -= e), + this.g_hI(Math.sin(g), Math.cos(g)), + (this.g_hB += +_), + (this.g_hC += +e)); + } + move(g, _) { + 0 === _ || ((this.g_hB += Math.cos(g) * _), (this.g_hC += Math.sin(g) * _)); + } + normalize() { + const g = this.length(); + 0 !== g && 1 !== g && ((this.g_hB /= g), (this.g_hC /= g)); + } + g_ep(g, _) { + (this.g_hB = g_aO.g_ep(this.g_hB, g, _)), (this.g_hC = g_aO.g_ep(this.g_hC, g, _)); + } + }), + 'use strict', + (g_aO.Rect = class { + constructor(g, _, e, a) { + (this.g_hK = NaN), + (this.g_hL = NaN), + (this.g_hM = NaN), + (this.g_hN = NaN), + (this.g_hK = 0), + (this.g_hL = 0), + (this.g_hM = 0), + (this.g_hN = 0), + g instanceof g_aO.Rect ? this.g_p(g) : this.set(g || 0, _ || 0, e || 0, a || 0); + } + set(g, _, e, a) { + (this.g_hK = +g), (this.g_hL = +_), (this.g_hM = +e), (this.g_hN = +a); + } + g_hO(g, _, e, t) { + (g = +g), + (_ = +_), + (this.g_hK = g), + (this.g_hL = _), + (this.g_hM = g + +e), + (this.g_hN = _ + +t); + } + g_p(g) { + (this.g_hK = +g.g_hK), (this.g_hL = +g.g_hL), (this.g_hM = +g.g_hM), (this.g_hN = +g.g_hN); + } + clone() { + return new g_aO.Rect(this.g_hK, this.g_hL, this.g_hM, this.g_hN); + } + static g_hP(g, _) { + var a = Math.max, + t = Math.min; + const n = new g_aO.Rect(); + return ( + n.g_hQ(t(g.g_hK, _.g_hK)), + n.g_hR(t(g.g_hL, _.g_hL)), + n.g_hS(a(g.g_hM, _.g_hM)), + n.g_hT(a(g.g_hN, _.g_hN)), + n + ); + } + static g_hU(g) { + return new g_aO.Rect(g.left, g.top, g.right, g.bottom); + } + g_l(g) { + return ( + this.g_hK === g.g_hK && this.g_hL === g.g_hL && this.g_hM === g.g_hM && this.g_hN === g.g_hN + ); + } + g_hQ(g) { + this.g_hK = +g; + } + g_hV() { + return this.g_hK; + } + g_hR(g) { + this.g_hL = +g; + } + g_hW() { + return this.g_hL; + } + g_hS(g) { + this.g_hM = +g; + } + g_hX() { + return this.g_hM; + } + g_hT(g) { + this.g_hN = +g; + } + g_hY() { + return this.g_hN; + } + toArray() { + return [this.g_hK, this.g_hL, this.g_hM, this.g_hN]; + } + g_gT() { + return new Float64Array(this.toArray()); + } + g_hZ() { + return new DOMRect(this.g_hK, this.g_hL, this.width(), this.height()); + } + g_gU(g, _) { + (g[_++] = this.g_hK), (g[_++] = this.g_hL), (g[_++] = this.g_hM), (g[_] = this.g_hN); + } + g_h_(g, _) { + (g[_++] = this.g_hK), + (g[_++] = this.g_hL), + (g[_++] = this.g_hM), + (g[_++] = this.g_hL), + (g[_++] = this.g_hM), + (g[_++] = this.g_hN), + (g[_++] = this.g_hK), + (g[_] = this.g_hN); + } + width() { + return this.g_hM - this.g_hK; + } + height() { + return this.g_hN - this.g_hL; + } + g_h$() { + return (this.g_hK + this.g_hM) / 2; + } + g_ia() { + return (this.g_hL + this.g_hN) / 2; + } + offset(g, _) { + (this.g_hK += +g), (this.g_hL += +_), (this.g_hM += +g), (this.g_hN += +_); + } + offsetLeft(g) { + this.g_hK += +g; + } + offsetTop(g) { + this.g_hL += +g; + } + g_ib(g) { + this.g_hM += +g; + } + g_ic(g) { + this.g_hN += +g; + } + g_id(g) { + if ('x' !== g) throw new Error("invalid axis, only 'x' supported"); + this.g_hN = + this.g_hL < this.g_hN + ? this.g_hK < this.g_hM + ? this.g_hL + this.width() + : this.g_hL - this.width() + : this.g_hK < this.g_hM + ? this.g_hL - this.width() + : this.g_hL + this.width(); + } + g_ie(g, _) { + (this.g_hK -= g), (this.g_hL -= _), (this.g_hM += +g), (this.g_hN += +_); + } + g_if(g, _) { + (this.g_hK += +g), (this.g_hL += +_), (this.g_hM -= g), (this.g_hN -= _); + } + multiply(g, _) { + (this.g_hK *= g), (this.g_hL *= _), (this.g_hM *= g), (this.g_hN *= _); + } + g_N(g, _) { + (this.g_hK /= g), (this.g_hL /= _), (this.g_hM /= g), (this.g_hN /= _); + } + g_ig(g) { + (this.g_hK = +g - this.g_hK), (this.g_hM = +g - this.g_hM); + } + g_ih(g) { + (this.g_hL = +g - this.g_hL), (this.g_hN = +g - this.g_hN); + } + g_ii() { + const g = this.g_hK; + (this.g_hK = this.g_hM), (this.g_hM = g); + } + g_ij() { + const g = this.g_hL; + (this.g_hL = this.g_hN), (this.g_hN = g); + } + g_ik(g) { + const _ = this.g_hL; + (this.g_hL = +g - this.g_hN), (this.g_hN = +g - _); + } + round() { + var g = Math.round; + (this.g_hK = g(this.g_hK)), + (this.g_hL = g(this.g_hL)), + (this.g_hM = g(this.g_hM)), + (this.g_hN = g(this.g_hN)); + } + g_il() { + var g = Math.floor, + _ = Math.ceil; + (this.g_hK = _(this.g_hK)), + (this.g_hL = _(this.g_hL)), + (this.g_hM = g(this.g_hM)), + (this.g_hN = g(this.g_hN)); + } + g_im() { + var g = Math.floor, + _ = Math.ceil; + (this.g_hK = g(this.g_hK)), + (this.g_hL = g(this.g_hL)), + (this.g_hM = _(this.g_hM)), + (this.g_hN = _(this.g_hN)); + } + floor() { + var g = Math.floor; + (this.g_hK = g(this.g_hK)), + (this.g_hL = g(this.g_hL)), + (this.g_hM = g(this.g_hM)), + (this.g_hN = g(this.g_hN)); + } + ceil() { + var g = Math.ceil; + (this.g_hK = g(this.g_hK)), + (this.g_hL = g(this.g_hL)), + (this.g_hM = g(this.g_hM)), + (this.g_hN = g(this.g_hN)); + } + g_ep(g, _, a, t) { + this.g_hK < g && (this.g_hK = +g), + this.g_hL < _ && (this.g_hL = +_), + this.g_hM > a && (this.g_hM = +a), + this.g_hN > t && (this.g_hN = +t); + } + g_in(g, _, a, t) { + this.g_hK < g && (this.g_hK = +g), + this.g_hL > _ && (this.g_hL = +_), + this.g_hM > a && (this.g_hM = +a), + this.g_hN < t && (this.g_hN = +t); + } + normalize() { + this.g_hK > this.g_hM && this.g_ii(), this.g_hL > this.g_hN && this.g_ij(); + } + g_io(g) { + return !( + g.g_hM < this.g_hK || + g.g_hN < this.g_hL || + g.g_hK > this.g_hM || + g.g_hL > this.g_hN + ); + } + g_ip(g, _, e) { + return !( + g.g_hM + _ < this.g_hK || + g.g_hN + e < this.g_hL || + g.g_hK + _ > this.g_hM || + g.g_hL + e > this.g_hN + ); + } + g_iq(g, _) { + return g >= this.g_hK && g <= this.g_hM && _ >= this.g_hL && _ <= this.g_hN; + } + g_ir(g) { + return ( + g.g_hK >= this.g_hK && g.g_hL >= this.g_hL && g.g_hM <= this.g_hM && g.g_hN <= this.g_hN + ); + } + g_is(g) { + g.g_hK < this.g_hK && (this.g_hK = +g.g_hK), + g.g_hL < this.g_hL && (this.g_hL = +g.g_hL), + g.g_hM > this.g_hM && (this.g_hM = +g.g_hM), + g.g_hN > this.g_hN && (this.g_hN = +g.g_hN); + } + g_it(g) { + (this.g_hK = g_aO.g_V(g.g_hK, g.g_hM, this.g_hK)), + (this.g_hL = g_aO.g_V(g.g_hL, g.g_hN, this.g_hL)), + (this.g_hM = g_aO.g_V(g.g_hK, g.g_hM, this.g_hM)), + (this.g_hN = g_aO.g_V(g.g_hL, g.g_hN, this.g_hN)); + } + }), + 'use strict'; +{ + function g(t, g, a, n) { + t < g + ? a < n + ? ((_ = t < a ? t : a), (e = g > n ? g : n)) + : ((_ = t < n ? t : n), (e = g > a ? g : a)) + : a < n + ? ((_ = g < a ? g : a), (e = t > n ? t : n)) + : ((_ = g < n ? g : n), (e = t > a ? t : a)); + } + let _ = 0, + e = 0; + g_aO.g_iu = class { + constructor(_, a, t, n, i, e, r, g) { + (this.g_iv = NaN), + (this.g_iw = NaN), + (this.g_ix = NaN), + (this.g_iy = NaN), + (this.g_iz = NaN), + (this.g_iA = NaN), + (this.g_iB = NaN), + (this.g_iC = NaN), + (this.g_iv = 0), + (this.g_iw = 0), + (this.g_ix = 0), + (this.g_iy = 0), + (this.g_iz = 0), + (this.g_iA = 0), + (this.g_iB = 0), + (this.g_iC = 0), + _ instanceof g_aO.g_iu + ? this.g_p(_) + : this.set(_ || 0, a || 0, t || 0, n || 0, i || 0, e || 0, r || 0, g || 0); + } + set(_, a, t, n, i, e, r, g) { + (this.g_iv = +_), + (this.g_iw = +a), + (this.g_ix = +t), + (this.g_iy = +n), + (this.g_iz = +i), + (this.g_iA = +e), + (this.g_iB = +r), + (this.g_iC = +g); + } + g_iD(g, _, e, a) { + this.set(g, _, e, _, e, a, g, a); + } + g_p(g) { + (this.g_iv = g.g_iv), + (this.g_iw = g.g_iw), + (this.g_ix = g.g_ix), + (this.g_iy = g.g_iy), + (this.g_iz = g.g_iz), + (this.g_iA = g.g_iA), + (this.g_iB = g.g_iB), + (this.g_iC = g.g_iC); + } + g_l(g) { + return ( + this.g_iv === g.g_iv && + this.g_iw === g.g_iw && + this.g_ix === g.g_ix && + this.g_iy === g.g_iy && + this.g_iz === g.g_iz && + this.g_iA === g.g_iA && + this.g_iB === g.g_iB && + this.g_iC === g.g_iC + ); + } + g_iE(g) { + this.g_iv = +g; + } + g_eW() { + return this.g_iv; + } + g_iF(g) { + this.g_iw = +g; + } + g_eX() { + return this.g_iw; + } + g_iG(g) { + this.g_ix = +g; + } + g_eY() { + return this.g_ix; + } + g_iH(g) { + this.g_iy = +g; + } + g_eZ() { + return this.g_iy; + } + g_iI(g) { + this.g_iz = +g; + } + g_e_() { + return this.g_iz; + } + g_iJ(g) { + this.g_iA = +g; + } + g_e$() { + return this.g_iA; + } + g_iK(g) { + this.g_iB = +g; + } + g_fa() { + return this.g_iB; + } + g_iL(g) { + this.g_iC = +g; + } + g_fb() { + return this.g_iC; + } + g_iM() { + return new DOMQuad( + new DOMPoint(this.g_iv, this.g_iw), + new DOMPoint(this.g_ix, this.g_iy), + new DOMPoint(this.g_iz, this.g_iA), + new DOMPoint(this.g_iB, this.g_iC) + ); + } + toArray() { + return [ + this.g_iv, + this.g_iw, + this.g_ix, + this.g_iy, + this.g_iz, + this.g_iA, + this.g_iB, + this.g_iC + ]; + } + g_gT() { + return new Float64Array(this.toArray()); + } + g_gU(g, _) { + (g[_++] = this.g_iv), + (g[_++] = this.g_iw), + (g[_++] = this.g_ix), + (g[_++] = this.g_iy), + (g[_++] = this.g_iz), + (g[_++] = this.g_iA), + (g[_++] = this.g_iB), + (g[_] = this.g_iC); + } + g_iN(g, _, e) { + (g[_++] = this.g_iv), + (g[_++] = this.g_iw), + (g[_++] = e), + (g[_++] = this.g_ix), + (g[_++] = this.g_iy), + (g[_++] = e), + (g[_++] = this.g_iz), + (g[_++] = this.g_iA), + (g[_++] = e), + (g[_++] = this.g_iB), + (g[_++] = this.g_iC), + (g[_] = e); + } + offset(g, _) { + (this.g_iv += +g), + (this.g_iw += +_), + (this.g_ix += +g), + (this.g_iy += +_), + (this.g_iz += +g), + (this.g_iA += +_), + (this.g_iB += +g), + (this.g_iC += +_); + } + round() { + var g = Math.round; + (this.g_iv = g(this.g_iv)), + (this.g_iw = g(this.g_iw)), + (this.g_ix = g(this.g_ix)), + (this.g_iy = g(this.g_iy)), + (this.g_iz = g(this.g_iz)), + (this.g_iA = g(this.g_iA)), + (this.g_iB = g(this.g_iB)), + (this.g_iC = g(this.g_iC)); + } + floor() { + var g = Math.floor; + (this.g_iv = g(this.g_iv)), + (this.g_iw = g(this.g_iw)), + (this.g_ix = g(this.g_ix)), + (this.g_iy = g(this.g_iy)), + (this.g_iz = g(this.g_iz)), + (this.g_iA = g(this.g_iA)), + (this.g_iB = g(this.g_iB)), + (this.g_iC = g(this.g_iC)); + } + ceil() { + var g = Math.ceil; + (this.g_iv = g(this.g_iv)), + (this.g_iw = g(this.g_iw)), + (this.g_ix = g(this.g_ix)), + (this.g_iy = g(this.g_iy)), + (this.g_iz = g(this.g_iz)), + (this.g_iA = g(this.g_iA)), + (this.g_iB = g(this.g_iB)), + (this.g_iC = g(this.g_iC)); + } + g_iO(g) { + (this.g_iv = g.g_hK), + (this.g_iw = g.g_hL), + (this.g_ix = g.g_hM), + (this.g_iy = g.g_hL), + (this.g_iz = g.g_hM), + (this.g_iA = g.g_hN), + (this.g_iB = g.g_hK), + (this.g_iC = g.g_hN); + } + g_iP(g, _) { + 0 === _ ? this.g_iO(g) : this.g_iQ(g, Math.sin(_), Math.cos(_)); + } + g_iQ(_, a, t) { + const n = _.g_hK * a, + r = _.g_hL * a, + e = _.g_hM * a, + s = _.g_hN * a, + g = _.g_hK * t, + d = _.g_hL * t, + i = _.g_hM * t, + l = _.g_hN * t; + (this.g_iv = g - r), + (this.g_iw = d + n), + (this.g_ix = i - r), + (this.g_iy = d + e), + (this.g_iz = i - s), + (this.g_iA = l + e), + (this.g_iB = g - s), + (this.g_iC = l + n); + } + g_iR(a) { + g(this.g_iv, this.g_ix, this.g_iz, this.g_iB), + (a.g_hK = _), + (a.g_hM = e), + g(this.g_iw, this.g_iy, this.g_iA, this.g_iC), + (a.g_hL = _), + (a.g_hN = e); + } + g_iq(_, a) { + let t = this.g_ix - this.g_iv, + r = this.g_iy - this.g_iw; + const s = this.g_iz - this.g_iv, + e = this.g_iA - this.g_iw, + u = _ - this.g_iv, + g = a - this.g_iw; + let h = t * t + r * r, + f = t * s + r * e, + E = t * u + r * g; + const b = s * s + e * e, + l = s * u + e * g; + let m = 1 / (h * b - f * f), + y = (b * E - f * l) * m, + B = (h * l - f * E) * m; + return ( + !!(0 <= y && 0 < B && 1 > y + B) || + ((t = this.g_iB - this.g_iv), + (r = this.g_iC - this.g_iw), + (h = t * t + r * r), + (f = t * s + r * e), + (E = t * u + r * g), + (m = 1 / (h * b - f * f)), + (y = (b * E - f * l) * m), + (B = (h * l - f * E) * m), + 0 <= y && 0 < B && 1 > y + B) + ); + } + g_h$() { + return (this.g_iv + this.g_ix + this.g_iz + this.g_iB) / 4; + } + g_ia() { + return (this.g_iw + this.g_iy + this.g_iA + this.g_iC) / 4; + } + g_iS(g, _, e, a) { + return !!(this.g_iq(g, _) || this.g_iq(e, a)) || g_aO.g_eV(g, _, e, a, this); + } + g_iT(_) { + let a = _.g_h$(), + t = _.g_ia(); + if (this.g_iq(a, t)) return !0; + if (((a = this.g_h$()), (t = this.g_ia()), _.g_iq(a, t))) return !0; + const n = this.g_iv, + r = this.g_iw, + e = this.g_ix, + s = this.g_iy, + g = this.g_iz, + d = this.g_iA, + i = this.g_iB, + l = this.g_iC; + return ( + g_aO.g_eV(n, r, e, s, _) || + g_aO.g_eV(e, s, g, d, _) || + g_aO.g_eV(g, d, i, l, _) || + g_aO.g_eV(i, l, n, r, _) + ); + } + g_iU() { + this.g_iV(0, 2), this.g_iV(1, 3), this.g_iV(6, 4), this.g_iV(7, 5); + } + g_iW() { + this.g_iV(0, 6), this.g_iV(1, 7), this.g_iV(2, 4), this.g_iV(3, 5); + } + g_iX() { + this.g_iV(2, 6), this.g_iV(3, 7); + } + g_iV(g, _) { + const e = this.g_iY(g); + this.g_iZ(g, this.g_iY(_)), this.g_iZ(_, e); + } + g_iY(g) { + switch (g) { + case 0: + return this.g_iv; + case 1: + return this.g_iw; + case 2: + return this.g_ix; + case 3: + return this.g_iy; + case 4: + return this.g_iz; + case 5: + return this.g_iA; + case 6: + return this.g_iB; + case 7: + return this.g_iC; + default: + throw new RangeError('invalid quad point index'); + } + } + g_iZ(g, _) { + switch (((_ = +_), g)) { + case 0: + this.g_iv = _; + break; + case 1: + this.g_iw = _; + break; + case 2: + this.g_ix = _; + break; + case 3: + this.g_iy = _; + break; + case 4: + this.g_iz = _; + break; + case 5: + this.g_iA = _; + break; + case 6: + this.g_iB = _; + break; + case 7: + this.g_iC = _; + break; + default: + throw new RangeError('invalid quad point index'); + } + } + }; +} +{ + const g = [0, 0, 1, 0, 1, 1, 0, 1], + _ = g_aO.g_ej(g_aO.g_iu); + g_aO.g_i_ = class extends g_aO.g_eh { + constructor(_, e = !0) { + super(), + _ || (_ = g), + (this.g_i$ = Float64Array.from(_)), + (this.g_ja = new g_aO.Rect()), + (this.g_jb = !0), + (this.g_jc = e); + } + g_ek() {} + g_jd() { + return this.g_i$; + } + g_je() { + return this.g_i$.length / 2; + } + g_jf(g) { + this.g_i$.length === g.length ? this.g_i$.set(g) : (this.g_i$ = Float64Array.from(g)), + (this.g_jb = !0); + } + g_p(g) { + this.g_jf(g.g_i$); + } + g_jg() { + this.g_jb = !0; + } + g_jh() { + if (!this.g_jb) return; + const _ = this.g_i$; + let a = _[0], + t = _[1], + n = a, + i = t; + for (let e = 0, r = _.length; e < r; e += 2) { + const r = _[e], + g = _[e + 1]; + r < a && (a = r), r > n && (n = r), g < t && (t = g), g > i && (i = g); + } + this.g_ja.set(a, t, n, i), (this.g_jb = !1); + } + g_iO(g, _, e) { + let a = this.g_i$; + 8 !== a.length && ((a = new Float64Array(8)), (this.g_i$ = a)), + (a[0] = g.g_hV() - _), + (a[1] = g.g_hW() - e), + (a[2] = g.g_hX() - _), + (a[3] = g.g_hW() - e), + (a[4] = g.g_hX() - _), + (a[5] = g.g_hY() - e), + (a[6] = g.g_hV() - _), + (a[7] = g.g_hY() - e), + this.g_ja.g_p(g), + (0 !== _ || 0 !== e) && this.g_ja.offset(-_, -e), + (this.g_jb = !1); + } + g_ji(g, e, a) { + _.g_p(g), _.offset(e, a), this.g_jf(_.toArray()), (this.g_jb = !0); + } + transform(g, _, t) { + let n = 0, + i = 1; + 0 !== t && ((n = Math.sin(t)), (i = Math.cos(t))), this.g_jj(g, _, n, i); + } + g_jj(_, a, t, n) { + const r = this.g_i$; + for (let e = 0, i = r.length; e < i; e += 2) { + const s = e + 1, + g = r[e] * _, + d = r[s] * a; + (r[e] = g * n - d * t), (r[s] = d * n + g * t); + } + this.g_jb = !0; + } + offset(g, _) { + const a = this.g_i$; + for (let t = 0, n = a.length; t < n; t += 2) (a[t] += g), (a[t + 1] += _); + } + g_iq(_, a) { + const E = this.g_i$; + if (_ === E[0] && a === E[1]) return !0; + this.g_jh(); + const i = this.g_ja, + c = i.g_hV() - 110, + e = i.g_hW() - 101, + f = i.g_hX() + 131, + g = i.g_hY() + 120; + let h = 0, + b = 0, + y = 0, + B = 0, + C = 0, + T = 0, + H = 0, + N = 0; + c < _ ? ((h = c), (y = _)) : ((h = _), (y = c)), + e < a ? ((b = e), (B = a)) : ((b = a), (B = e)), + f < _ ? ((C = f), (H = _)) : ((C = _), (H = f)), + g < a ? ((T = g), (N = a)) : ((T = a), (N = g)); + let U = 0, + I = 0; + for (let t = 0, n = E.length; t < n; t += 2) { + const i = (t + 2) % n, + r = E[t], + s = E[t + 1], + d = E[i], + l = E[i + 1]; + g_aO.g_eU(c, e, _, a, h, y, b, B, r, s, d, l) && ++U, + g_aO.g_eU(f, g, _, a, C, H, T, N, r, s, d, l) && ++I; + } + return 1 == U % 2 || 1 == I % 2; + } + g_jk(g, _, t) { + const s = g.g_i$, + r = this.g_i$; + if (this.g_iq(s[0] + _, s[1] + t)) return !0; + if (g.g_iq(r[0] - _, r[1] - t)) return !0; + for (let e = 0, d = r.length; e < d; e += 2) { + const g = (e + 2) % d, + u = r[e], + h = r[e + 1], + i = r[g], + c = r[g + 1]; + let m = 0, + n = 0, + o = 0, + p = 0; + u < i ? ((m = u), (o = i)) : ((m = i), (o = u)), + h < c ? ((n = h), (p = c)) : ((n = c), (p = h)); + for (let d = 0, a = s.length; d < a; d += 2) { + const e = (d + 2) % a, + f = s[d] + _, + g = s[d + 1] + t, + E = s[e] + _, + l = s[e + 1] + t; + if (g_aO.g_eU(u, h, i, c, m, o, n, p, f, g, E, l)) return !0; + } + } + return !1; + } + g_iS(_, a, t, s, d, e) { + if (this.g_iq(t - _, s - a)) return !0; + if (this.g_iq(d - _, e - a)) return !0; + let u = 0, + c = 0, + f = 0, + E = 0; + t < d ? ((u = t), (f = d)) : ((u = d), (f = t)), + s < e ? ((c = s), (E = e)) : ((c = e), (E = s)); + const b = this.g_i$; + for (let g = 0, n = b.length; g < n; g += 2) { + const i = (g + 2) % n, + l = b[g] + _, + o = b[g + 1] + a, + p = b[i] + _, + h = b[i + 1] + a; + if (g_aO.g_eU(t, s, d, e, u, f, c, E, l, o, p, h)) return !0; + } + return !1; + } + g_iU(g) { + const _ = this.g_i$; + for (let e = 0, a = _.length; e < a; e += 2) _[e] = 2 * g - _[e]; + this.g_jb = !0; + } + g_iW(g) { + const _ = this.g_i$; + for (let e = 0, a = _.length; e < a; e += 2) { + const a = e + 1; + _[a] = 2 * g - _[a]; + } + this.g_jb = !0; + } + g_iX() { + const g = this.g_i$; + for (let _ = 0, e = g.length; _ < e; _ += 2) { + const e = _ + 1, + a = g[_]; + (g[_] = g[e]), (g[e] = a); + } + this.g_jb = !0; + } + g_jl() { + const g = this.g_i$; + let _ = 0; + for (let e = 0, a = g.length; e < a; e += 2) _ += g[e]; + return _ / this.g_je(); + } + g_jm() { + const g = this.g_i$; + let _ = 0; + for (let e = 0, a = g.length; e < a; e += 2) _ += g[e + 1]; + return _ / this.g_je(); + } + g_jn() { + return this.g_i$; + } + g_jo() { + return this.g_je(); + } + g_jp() { + return this.g_jc; + } + }; +} +'use strict', + (g_aO.g_jq = class extends g_aO.g_eh { + constructor(g) { + if ((super(), (this.g_jr = new Map()), g)) for (const [_, e, a] of g) this.Set(_, e, a); + } + g_ek() { + this.g_js(), (this.g_jr = null); + } + g_js() { + const g = this.g_jr; + for (const _ of g.values()) _.clear(); + g.clear(); + } + Set(g, _, a) { + const t = this.g_jr; + let n = t.get(g); + n || ((n = new Map()), t.set(g, n)), n.set(_, a); + } + g_bd(g, _) { + const e = this.g_jr.get(g); + return e ? e.get(_) : e; + } + g_bc(g, _) { + const e = this.g_jr.get(g); + return !!e && e.has(_); + } + g_jt(g, _) { + const a = this.g_jr, + t = a.get(g); + if (!t) return !1; + const n = t.delete(_); + return n && 0 === t.size && a.delete(g), n; + } + g_ju(g) { + const _ = this.g_jr, + e = _.get(g); + e && (e.clear(), _.delete(g)); + for (const [e, a] of _.entries()) a.delete(g) && 0 === a.size && _.delete(e); + } + g_jv() { + let g = 0; + for (const _ of this.g_jr.values()) g += _.size; + return g; + } + *values() { + for (const g of this.g_jr.values()) yield* g.values(); + } + *g_jw() { + for (const [g, _] of this.g_jr.entries()) for (const e of _.keys()) yield [g, e]; + } + *entries() { + for (const [g, _] of this.g_jr.entries()) for (const [e, a] of _.entries()) yield [g, e, a]; + } + }), + 'use strict', + (g_aO.g_jx = class extends g_aO.g_eh { + constructor() { + super(), (this.g_jy = new Set()), (this.g_jz = []), (this.g_jA = !1); + } + g_ek() { + this.g_js(); + } + g_js() { + this.g_jy.clear(), g_aO.g_fz(this.g_jz), (this.g_jA = !1); + } + g_jB(g) { + this.g_jy.has(g) || (this.g_jy.add(g), !this.g_jA && this.g_jz.push(g)); + } + g_bc(g) { + return this.g_jy.has(g); + } + g_jt(g) { + this.g_jy.delete(g) && (this.g_jA = !0); + } + g_jv() { + return this.g_jy.size; + } + g_jC() { + return 0 === this.g_jy.size; + } + g_jD() { + return this.g_jA && (this.g_jE(), (this.g_jA = !1)), this.g_jz; + } + g_jE() { + const g = this.g_jz; + g_aO.g_fz(g); + for (const _ of this.g_jy) g.push(_); + } + }), + 'use strict', + (function () { + var _ = Math.asin, + E = Math.abs, + t = Math.sqrt, + f = Math.pow, + h = Math.sin, + g = Math.cos, + i = Math.PI; + const e = new Map(), + d = new Map(), + l = new Map(), + m = new Map(), + n = new Map(); + n.set('linear', 'noease'), + n.set('default', 'noease'), + (self.g_jF = class u { + constructor() {} + static g_jG() { + return 'default'; + } + static g_jH() { + return 'noease'; + } + static g_jI(...g) { + return this.g_jJ(), [...d.keys()].concat([...l.keys()]).filter((_) => !g.includes(_)); + } + static g_jK(g) { + return this.g_jJ(), [...d.keys()].includes(g); + } + static g_jL(g) { + this.g_jJ(); + const _ = n.get(g); + return _ ? e.get(_) : e.get(g); + } + static g_jM(g) { + this.g_jJ(); + const _ = this.g_jI(); + return _[g]; + } + static g_jN(g) { + this.g_jJ(); + const _ = this.g_jI(); + return _.indexOf(g); + } + static g_jJ() { + 0 !== e.size || + (this.g_jO('default', () => {}), + this.g_jO('noease', this.g_jP), + this.g_jO('easeinsine', this.g_jQ), + this.g_jO('easeoutsine', this.g_jR), + this.g_jO('easeinoutsine', this.g_jS), + this.g_jO('easeinelastic', this.g_jT), + this.g_jO('easeoutelastic', this.g_jU), + this.g_jO('easeinoutelastic', this.g_jV), + this.g_jO('easeinback', this.g_jW), + this.g_jO('easeoutback', this.g_jX), + this.g_jO('easeinoutback', this.g_jY), + this.g_jO('easeinbounce', this.g_jZ), + this.g_jO('easeoutbounce', this.g_j_), + this.g_jO('easeinoutbounce', this.g_j$), + this.g_jO('easeincubic', this.g_ka), + this.g_jO('easeoutcubic', this.g_kb), + this.g_jO('easeinoutcubic', this.g_kc), + this.g_jO('easeinquad', this.g_kd), + this.g_jO('easeoutquad', this.g_ke), + this.g_jO('easeinoutquad', this.g_kf), + this.g_jO('easeinquart', this.g_kg), + this.g_jO('easeoutquart', this.g_kh), + this.g_jO('easeinoutquart', this.g_ki), + this.g_jO('easeinquint', this.g_kj), + this.g_jO('easeoutquint', this.g_kk), + this.g_jO('easeinoutquint', this.g_kl), + this.g_jO('easeincirc', this.g_km), + this.g_jO('easeoutcirc', this.g_kn), + this.g_jO('easeinoutcirc', this.g_ko), + this.g_jO('easeinexpo', this.g_kp), + this.g_jO('easeoutexpo', this.g_kq), + this.g_jO('easeinoutexpo', this.g_kr), + this.g_ks('cubicbezier', this.g_kt), + this.g_ks('spline', this.g_ku)); + } + static g_jO(g, _) { + u.g_kv(g, _, 'predefined'); + } + static g_ks(g, _) { + u.g_kv(g, _, 'private'); + } + static g_kw(g, _) { + this.g_jJ(), u.g_kv(g, _, 'custom'); + } + static g_kx(g) { + this.g_jK(g) || [...m.keys()].includes(g) || (l.delete(g), e.delete(g)); + } + static g_kv(g, _, a) { + switch ((e.set(g, _), a)) { + case 'predefined': + d.set(g, _); + break; + case 'custom': + l.set(g, _); + break; + case 'private': + m.set(g, _); + break; + default: + throw new Error('unexpected ease mode'); + } + } + static g_jP(g, _, e, a) { + return (e * g) / a + _; + } + static g_kd(g, _, e, t) { + return e * (g /= t) * g + _; + } + static g_ke(g, _, e, t) { + return -e * (g /= t) * (g - 2) + _; + } + static g_kf(g, _, e, t) { + return 1 > (g /= t / 2) ? (e / 2) * g * g + _ : (-e / 2) * (--g * (g - 2) - 1) + _; + } + static g_ka(g, _, e, t) { + return e * (g /= t) * g * g + _; + } + static g_kb(g, _, e, t) { + return e * ((g = g / t - 1) * g * g + 1) + _; + } + static g_kc(g, _, e, t) { + return 1 > (g /= t / 2) ? (e / 2) * g * g * g + _ : (e / 2) * ((g -= 2) * g * g + 2) + _; + } + static g_kg(g, _, e, t) { + return e * (g /= t) * g * g * g + _; + } + static g_kh(g, _, e, t) { + return -e * ((g = g / t - 1) * g * g * g - 1) + _; + } + static g_ki(g, _, e, t) { + return 1 > (g /= t / 2) + ? (e / 2) * g * g * g * g + _ + : (-e / 2) * ((g -= 2) * g * g * g - 2) + _; + } + static g_kj(g, _, e, t) { + return e * (g /= t) * g * g * g * g + _; + } + static g_kk(g, _, e, t) { + return e * ((g = g / t - 1) * g * g * g * g + 1) + _; + } + static g_kl(g, _, e, t) { + return 1 > (g /= t / 2) + ? (e / 2) * g * g * g * g * g + _ + : (e / 2) * ((g -= 2) * g * g * g * g + 2) + _; + } + static g_jQ(_, a, e, t) { + return -e * g((_ / t) * (i / 2)) + e + a; + } + static g_jR(g, _, e, a) { + return e * h((g / a) * (i / 2)) + _; + } + static g_jS(_, a, e, t) { + return (-e / 2) * (g((i * _) / t) - 1) + a; + } + static g_kp(g, _, e, a) { + return 0 === g ? _ : e * f(2, 10 * (g / a - 1)) + _; + } + static g_kq(g, _, e, a) { + return g === a ? _ + e : e * (-f(2, (-10 * g) / a) + 1) + _; + } + static g_kr(g, _, e, t) { + return 0 === g + ? _ + : g === t + ? _ + e + : 1 > (g /= t / 2) + ? (e / 2) * f(2, 10 * (g - 1)) + _ + : (e / 2) * (-f(2, -10 * --g) + 2) + _; + } + static g_km(g, _, e, n) { + return -e * (t(1 - (g /= n) * g) - 1) + _; + } + static g_kn(g, _, e, n) { + return e * t(1 - (g = g / n - 1) * g) + _; + } + static g_ko(g, _, e, n) { + return 1 > (g /= n / 2) + ? (-e / 2) * (t(1 - g * g) - 1) + _ + : (e / 2) * (t(1 - (g -= 2) * g) + 1) + _; + } + static g_jT(e, a, t, n) { + let r = 1.70158, + s = 0, + o = t; + return 0 === e + ? a + : 1 === (e /= n) + ? a + t + : (s || (s = 0.3 * n), + o < E(t) ? ((o = t), (r = s / 4)) : (r = (s / (2 * i)) * _(t / o)), + -(o * f(2, 10 * (e -= 1)) * h(((e * n - r) * (2 * i)) / s)) + a); + } + static g_jU(e, a, t, n) { + let r = 1.70158, + s = 0, + o = t; + return 0 === e + ? a + : 1 === (e /= n) + ? a + t + : (s || (s = 0.3 * n), + o < E(t) ? ((o = t), (r = s / 4)) : (r = (s / (2 * i)) * _(t / o)), + o * f(2, -10 * e) * h(((e * n - r) * (2 * i)) / s) + t + a); + } + static g_jV(e, a, t, n) { + let r = 1.70158, + s = 0, + o = t; + return 0 === e + ? a + : 2 == (e /= n / 2) + ? a + t + : (s || (s = n * (0.3 * 1.5)), + o < E(t) ? ((o = t), (r = s / 4)) : (r = (s / (2 * i)) * _(t / o)), + 1 > e + ? -0.5 * (o * f(2, 10 * (e -= 1)) * h(((e * n - r) * (2 * i)) / s)) + a + : 0.5 * (o * f(2, -10 * (e -= 1)) * h(((e * n - r) * (2 * i)) / s)) + t + a); + } + static g_jW(g, _, e, t, n) { + return void 0 === n && (n = 1.70158), e * (g /= t) * g * ((n + 1) * g - n) + _; + } + static g_jX(g, _, e, t, n) { + return ( + void 0 === n && (n = 1.70158), e * ((g = g / t - 1) * g * ((n + 1) * g + n) + 1) + _ + ); + } + static g_jY(g, _, e, t, n) { + return ( + void 0 === n && (n = 1.70158), + 1 > (g /= t / 2) + ? (e / 2) * (g * g * (((n *= 1.525) + 1) * g - n)) + _ + : (e / 2) * ((g -= 2) * g * (((n *= 1.525) + 1) * g + n) + 2) + _ + ); + } + static g_jZ(g, _, e, a) { + return e - u.g_j_(a - g, 0, e, a) + _; + } + static g_j_(g, _, e, t) { + return (g /= t) < 1 / 2.75 + ? e * (7.5625 * g * g) + _ + : g < 2 / 2.75 + ? e * (7.5625 * (g -= 1.5 / 2.75) * g + 0.75) + _ + : g < 2.5 / 2.75 + ? e * (7.5625 * (g -= 2.25 / 2.75) * g + 0.9375) + _ + : e * (7.5625 * (g -= 2.625 / 2.75) * g + 0.984375) + _; + } + static g_j$(g, _, e, a) { + return g < a / 2 + ? 0.5 * u.g_jZ(2 * g, 0, e, a) + _ + : 0.5 * u.g_j_(2 * g - a, 0, e, a) + 0.5 * e + _; + } + static g_kt(g, _, a, t, n) { + return ( + _ + 3 * g * (a - _) + 3 * g ** 2 * (_ + t - 2 * a) + g ** 3 * (n - _ + 3 * a - 3 * t) + ); + } + static g_ku(_, t, e, d, g, u, i, h, c, l) { + const f = s(_, t, d, u, h, l), + n = B(e, g, i, c), + o = r(e, g, i, c), + p = a(e, g, i, c); + return C(f, n, o, p); + } + static g_ky(_, t, e, n) { + const g = [], + i = B(_, t, e, n), + s = r(_, t, e, n), + d = a(_, t, e, n); + for (let r = 0; r < o; ++r) { + const _ = C(r * y, i, s, d); + g.push(_); + } + return g; + } + }); + const o = 11, + y = 1 / 10, + B = (g, _, e, a) => a - 3 * e + 3 * _ - g, + r = (g, _, e) => 3 * e - 6 * _ + 3 * g, + a = (g, _) => 3 * (_ - g), + C = (g, _, e, a) => ((_ * g + e) * g + a) * g, + c = (g, _, e, a) => 3 * _ * g * g + 2 * e * g + a, + s = (_, s, e, g, d, i) => { + if (1 == _) return 1; + let f = 0, + h = 1, + b = i[h], + T = i[10]; + for (; 10 != h && b <= _; ) h++, (b = i[h]), (f += y); + h--, (b = i[h]); + const n = (_ - b) / (i[h + 1] - b); + let o = f + n * y; + const H = B(s, e, g, d), + t = r(s, e, g, d), + u = a(s, e, g, d), + v = c(o, H, t, u); + if (0 === v) return o; + if (0.02 <= v) { + for (let g = 0; 4 > g; ++g) { + const g = C(o, H, t, u) - _, + e = c(o, H, t, u); + o -= g / e; + } + return o; + } else { + let n = f, + e = f + y, + g = 0, + r, + a; + do { + o = n + (e - n) / 2; + let s = C(o, H, t, u) - _; + 0 < s ? (e = o) : (n = o), (r = 1e-7 < E(s)), (a = 10 > ++g); + } while (r && a); + return o; + } + }; + })(), + 'use strict'; +{ + function g(g) { + if (!g_aO.g_cO(g)); + } + g_aO.g_kz = class { + constructor() { + (this.g_kA = []), (this.g_kB = 0); + } + g_ek() { + this.g_js(), (this.g_kA = null); + } + g_js() { + g_aO.g_fA(this.g_kA), (this.g_kB = 0); + } + g_kC() { + return this.g_kB; + } + g_kD(g = Math.random() * this.g_kC()) { + let _ = 0; + for (const [e, a] of this.g_kA) if (((_ += e), g < _)) return a; + return 0; + } + g_kE(_, e) { + g(e), (this.g_kB += _), this.g_kA.push([_, e]); + } + g_kF(_, t) { + g(t); + for (let g = 0; g < this.g_kA.length; g++) { + const a = this.g_kA[g], + n = 0 === _ || a[0] === _, + e = a[1] === t; + if (n && e) { + this.g_kA.splice(g, 1), (this.g_kB -= a[0]); + break; + } + } + } + g_kG() { + return JSON.stringify(this.g_kA); + } + static g_kH(g) { + const _ = new g_aO.g_kz(), + e = JSON.parse(g); + for (const t of e) { + const g = t[0], + e = t[1]; + _.g_kE(g, e); + } + return _; + } + }; +} +'use strict', + (g_aO.Event = class { + constructor(g, _) { + (this.type = g), + (this.cancelable = !!_), + (this.defaultPrevented = !1), + (this.g_kI = !1), + (this.g_kJ = !1); + } + preventDefault() { + if (!this.cancelable) throw new Error(`event '${this.type}' is not cancelable`); + this.defaultPrevented = !0; + } + stopPropagation() { + if (!this.cancelable) throw new Error(`event '${this.type}' cannot be stopped`); + if (this.g_kJ) throw new Error(`cannot stop async event '${this.type}' propagation`); + this.g_kI = !0; + } + }), + 'use strict', + (g_aO.Event.g_kK = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_kL = g), + (this.g_kM = []), + (this.g_kN = new Set()), + (this.g_kO = []), + (this.g_kP = new Set()), + (this.g_kQ = 0), + (this.g_kR = []), + (this.g_kS = []), + (this.g_kT = []); + } + g_ek() { + 0 < this.g_kQ || + (g_aO.g_fz(this.g_kM), + this.g_kN.clear(), + g_aO.g_fz(this.g_kO), + this.g_kP.clear(), + g_aO.g_fz(this.g_kR), + g_aO.g_fz(this.g_kS), + g_aO.g_fz(this.g_kT), + g_aO.g_ek(this)); + } + g_kU(g, _) { + if (this.g_kV()) return void this.g_kR.push([g, _]); + if (_) { + if (this.g_kN.has(g)) return; + this.g_kM.push(g), this.g_kN.add(g); + } else { + if (this.g_kP.has(g)) return; + this.g_kO.push(g), this.g_kP.add(g); + } + } + g_kW(g, _) { + return this.g_kV() + ? void (_ ? this.g_kS.push(g) : this.g_kT.push(g)) + : void (_ + ? this.g_kN.has(g) && (this.g_kN.delete(g), g_aO.g_fF(this.g_kM, g)) + : this.g_kP.has(g) && (this.g_kP.delete(g), g_aO.g_fF(this.g_kO, g))); + } + g_kX() { + return !this.g_kM.length && !this.g_kO.length; + } + g_kV() { + return 0 < this.g_kQ; + } + g_kY() { + for (let g of this.g_kR) this.g_kU(...g); + g_aO.g_fz(this.g_kR); + for (const g of this.g_kT) this.g_kP.delete(g); + for (const g of this.g_kS) this.g_kN.delete(g); + const g = new Set(this.g_kT), + _ = new Set(this.g_kS); + g_aO.g_fI(this.g_kO, g), g_aO.g_fI(this.g_kM, _), g_aO.g_fz(this.g_kS), g_aO.g_fz(this.g_kT); + } + g_kZ(g) { + this.g_k_(); + let _ = !1; + for (let e = 0, a = this.g_kM.length; e < a; ++e) + if ((this.g_kM[e](g), g.g_kI)) { + _ = !0; + break; + } + if (!_) for (let _ = 0, e = this.g_kO.length; _ < e && (this.g_kO[_](g), !g.g_kI); ++_); + return this.g_k$(), !g.defaultPrevented; + } + g_la(g) { + this.g_k_(); + for (let _ = 0, e = this.g_kM.length; _ < e; ++_) this.g_kM[_](g); + for (let _ = 0, e = this.g_kO.length; _ < e; ++_) this.g_kO[_](g); + return this.g_k$(), !0; + } + g_k_() { + this.g_kQ++; + } + g_k$() { + this.g_kQ--, + 0 === this.g_kQ && + (this.g_kR.length || this.g_kS.length || this.g_kT.length) && + this.g_kY(); + } + g_lb(g) { + g ? this.g_k_() : this.g_k$(); + } + g_lc(g) { + let _ = []; + for (let a = 0, t = this.g_kM.length, e; a < t; ++a) + (e = this.g_kM[a]), _.push(g_aO.g_gl(() => e(g))); + for (let a = 0, t = this.g_kO.length, e; a < t; ++a) + (e = this.g_kO[a]), _.push(g_aO.g_gl(() => e(g))); + return Promise.all(_).then(() => !g.defaultPrevented); + } + g_ld(g) { + const _ = []; + this.g_k_(); + for (let e = 0, a = this.g_kM.length; e < a; ++e) { + const a = this.g_kM[e](g); + a instanceof Promise && _.push(a); + } + for (let e = 0, a = this.g_kO.length; e < a; ++e) { + const a = this.g_kO[e](g); + a instanceof Promise && _.push(a); + } + return ( + this.g_k$(), _.length ? Promise.all(_).then(() => !g.defaultPrevented) : !g.defaultPrevented + ); + } + async g_le(g) { + return await this.g_ld(g); + } + async g_lf(g) { + this.g_k_(); + for (let _ = 0, e = this.g_kM.length; _ < e; ++_) { + const e = this.g_kM[_](g); + e instanceof Promise && (await e); + } + for (let _ = 0, e = this.g_kO.length; _ < e; ++_) { + const e = this.g_kO[_](g); + e instanceof Promise && (await e); + } + return this.g_k$(), !g.defaultPrevented; + } + *g_lg(g) { + this.g_k_(); + for (let _ = 0, e = this.g_kM.length; _ < e; ++_) { + const e = this.g_kM[_](g); + g_aO.g_gA(e) && (yield* e); + } + for (let _ = 0, e = this.g_kO.length; _ < e; ++_) { + const e = this.g_kO[_](g); + g_aO.g_gA(e) && (yield* e); + } + this.g_k$(); + } + }), + 'use strict', + (g_aO.Event.g_lh = class extends g_aO.g_eh { + constructor() { + super(), (this.g_li = new Map()), (this.g_lj = !1); + } + g_ek() { + if (this.g_lj) throw new Error('already released'); + this.g_lk(), (this.g_lj = !0), g_aO.g_ek(this); + } + g_el() { + return this.g_lj; + } + g_lk() { + for (let g of this.g_li.values()) g.g_ek(); + this.g_li.clear(); + } + g_ll(g, _) { + let e = this.g_li.get(g); + return e ? e : _ ? ((e = g_aO.g_ej(g_aO.Event.g_kK, g)), this.g_li.set(g, e), e) : null; + } + addEventListener(g, _, e) { + let a = this.g_ll(g, !0); + a.g_kU(_, !!e); + } + removeEventListener(g, _, e) { + let a = this.g_ll(g, !1); + a && (a.g_kW(_, !!e), a.g_kX() && this.g_li.delete(g)); + } + dispatchEvent(g) { + const _ = this.g_ll(g.type, !1); + return !_ || (g.cancelable ? _.g_kZ(g) : _.g_la(g)); + } + g_lm(g) { + const _ = this.g_ll(g.type, !1); + return _ ? ((g.g_kJ = !0), _.g_lc(g)) : Promise.resolve(!0); + } + async g_ln(g) { + const _ = this.g_ll(g.type, !1); + if (!_) return !0; + this.g_li.delete(g.type), (g.g_kJ = !0); + const e = await _.g_lc(g); + return _.g_ek(), e; + } + async g_lo(g) { + const _ = this.g_ll(g.type, !1); + return !_ || (await _.g_le(g)); + } + g_lp(g) { + const _ = this.g_ll(g.type, !1); + return !_ || _.g_ld(g); + } + async g_lq(g) { + const _ = this.g_ll(g.type, !1); + return !_ || (await _.g_lf(g)); + } + g_lr(g) { + const _ = this.g_ll(g.type, !1); + if (!_) return null; + if (g.cancelable) throw new Error('not supported'); + else return _.g_lg(g); + } + g_lb(g) { + for (const _ of this.g_li.values()) _.g_lb(g); + } + }), + 'use strict'; +{ + function _(g) { + o = s && 0 === i ? requestIdleCallback(t, { timeout: e }) : setTimeout(t, 0 < i ? 1 : g); + } + function t(e) { + if (((o = -1), !g.length)) return; + let t = performance.now(), + d = t, + u = 0, + p = 0; + do a(g.shift()), (d = performance.now()), ++u, (p = 1.1 * ((d - t) / u)); + while ( + g.length && + (s && 0 === i && 'undefined' != typeof e ? p < e.timeRemaining() : d - t + p < n) + ); + if (-1 === o && g.length) { + let g = d - t, + e = Math.max(r - g, 4); + _(e); + } + } + function a(g) { + let _; + try { + _ = g.g_ls(); + } catch (_) { + return void g.reject(_); + } + g.resolve(_); + } + const n = 12, + r = 16, + e = 35, + s = 'undefined' != typeof requestIdleCallback; + let g = [], + o = -1, + i = 0, + l = g_aO.g_bg.g_bc('disable-asyncify'); + l && + console.warn( + '[Asyncify] Asyncify has been disabled due to disable-asyncify in the query string. Some work will now be done synchronously.' + ), + (g_aO.g_gl = function (t) { + let n = null; + return ( + g_aO.g_aW && (n = g_aO.g_cD()), + new Promise( + (i, e) => ( + g.push({ g_ls: t, resolve: i, reject: e, stack: n }), + l ? void a(g.pop()) : void (-1 === o && _(16)) + ) + ) + ); + }), + (g_aO.g_gl.g_lt = function (g) { + if (g) ++i; + else if ((--i, 0 > i)) throw new Error('already turned off high throughput mode'); + }); +} +{ + function _() { + a = -1; + } + function t() { + (r = -1), (s = -1); + let _ = Date.now(); + for (let e of g) + if (e.g_lu(_)) { + let g = e.g_lv(); + (-1 === s || g < s) && (s = g); + } else g.delete(e); + if (-1 !== s) { + let g = Math.max(s - _ + i, n); + r = self.setTimeout(t, g); + } + } + const n = 1e3, + i = 100; + let a = -1; + g_aO.g_lw = function () { + return -1 === a && ((a = Date.now()), self.setTimeout(_, 16)), a; + }; + let r = -1, + s = -1, + g = new Set(); + g_aO.g_lx = class { + constructor(g, _) { + (this.g_ly = g), (this.g_lz = 1e3 * _), (this.g_lA = 0), (this.g_lB = !1); + } + g_lC() { + let _ = g_aO.g_lw(); + (this.g_lA = _ + this.g_lz), + this.g_lB || (g.add(this), (this.g_lB = !0)), + -1 === r + ? ((s = this.g_lA), (r = self.setTimeout(t, this.g_lz + 100))) + : this.g_lA < s && + s > _ + n && + (self.clearTimeout(r), (s = this.g_lA), (r = self.setTimeout(t, this.g_lz + 100))); + } + g_lu(g) { + return ( + !(g >= this.g_lA) || + (this.g_ly() ? ((this.g_lA = g + this.g_lz), !0) : ((this.g_lB = !1), !1)) + ); + } + g_lv() { + return this.g_lA; + } + g_lD() { + this.g_lB && + (g.delete(this), + (this.g_lB = !1), + 0 === g.size && -1 !== r && (self.clearTimeout(r), (r = -1), (s = -1))); + } + g_ek() { + this.g_lD(), (this.g_ly = null); + } + }; +} +'use strict', + (g_aO.g_lE = class g { + constructor(g) { + (this.g_lF = !1), (this.g_lG = g); + } + g_lH() { + this.g_lF || ((this.g_lF = !0), this.g_lG && (this.g_lG(), (this.g_lG = null))); + } + g_lI() { + return this.g_lF; + } + g_ek() { + this.g_lH(); + } + static g_ek(_) { + return new g(() => _.g_ek()); + } + static g_lJ(g, _, a, t, n) { + if ('undefined' == typeof t || null === t) t = !1; + else if ('boolean' != typeof t && 'object' != typeof t) + throw new TypeError('invalid event listener options'); + if ((n && (a = a.bind(n)), _.includes(' '))) { + _ = _.split(' '); + const n = new g_aO.g_lK(); + for (let e of _) + g.addEventListener(e, a, t), + n.g_jB(g_aO.g_ej(g_aO.g_lE, () => g.removeEventListener(e, a, t))); + return n; + } + return ( + g.addEventListener(_, a, t), g_aO.g_ej(g_aO.g_lE, () => g.removeEventListener(_, a, t)) + ); + } + }), + (g_aO.g_lL = class extends g_aO.g_lE { + g_lM(g) { + this.g_lG = g; + } + }), + (g_aO.g_lK = class extends g_aO.g_lE { + constructor(...g) { + super(), (this.g_lN = new Set()); + for (let _ of g) this.g_jB(_); + } + g_jB(...g) { + if (this.g_lF) throw new Error('already disposed'); + for (let _ of g) this.g_lN.add(_); + } + g_lO(g) { + if (this.g_lF) throw new Error('already disposed'); + this.g_lN.delete(g); + } + g_lP() { + if (this.g_lF) throw new Error('already disposed'); + if (this.g_lN) { + for (let g of this.g_lN) g.g_lH(); + this.g_lN.clear(); + } + } + g_lI() { + return this.g_lF; + } + g_lH() { + if (this.g_lF) throw new Error('already disposed'); + this.g_lF = !0; + for (let g of this.g_lN) g.g_lH(); + this.g_lN.clear(), (this.g_lN = null); + } + g_ek() { + this.g_lH(); + } + }), + 'use strict', + (g_aO.g_lQ = class extends g_aO.g_eh { + constructor() { + super(), (this.g_lR = 0), (this.g_hC = 0), (this.g_lS = 0), (this.g_lT = 0); + } + g_jB(g) { + (g = +g), + (this.g_hC = g - this.g_lR), + (this.g_lS = this.g_lT + this.g_hC), + (this.g_lR = this.g_lS - this.g_lT - this.g_hC), + (this.g_lT = this.g_lS); + } + g_lU(g) { + this.g_lT -= +g; + } + g_bd() { + return this.g_lT; + } + g_lC() { + (this.g_lR = 0), (this.g_hC = 0), (this.g_lS = 0), (this.g_lT = 0); + } + Set(g) { + (this.g_lR = 0), (this.g_hC = 0), (this.g_lS = 0), (this.g_lT = +g); + } + g_ek() {} + }), + 'use strict'; +{ + const g = {}; + (g.g_lV = function (g) { + (this.g_lW = g), + (this.right = this.g_lW.g_lX), + (this.left = this.g_lW.g_lX), + (this.parent = null), + (this.color = !1), + (this.key = null); + }), + (g.g_lY = function (_) { + (this.size = 0), + (this.g_lX = new g.g_lV(this)), + (this.g_lX.color = !1), + (this.root = this.g_lX), + (this.root.parent = this.g_lX), + (this.compare = _ || this.g_lZ); + }), + (g.g_lY.prototype.g_lZ = function (g, _) { + return g < _ ? -1 : _ < g ? 1 : 0; + }), + (g.g_lY.prototype.clone = function () { + var _ = new g.g_lY(this.compare); + return _.g_l_(this), _; + }), + (g.g_lY.prototype.clear = function () { + (this.size = 0), + (this.g_lX = new g.g_lV(this)), + (this.g_lX.color = !1), + (this.root = this.g_lX), + (this.root.parent = this.g_lX); + }), + (g.g_lY.prototype.g_l$ = function (g) { + var _ = g.right; + (g.right = _.left), + _.left != this.g_lX && (_.left.parent = g), + (_.parent = g.parent), + g.parent == this.g_lX + ? (this.root = _) + : g == g.parent.left + ? (g.parent.left = _) + : (g.parent.right = _), + (_.left = g), + (g.parent = _); + }), + (g.g_lY.prototype.g_ma = function (g) { + var _ = g.left; + (g.left = _.right), + _.right != this.g_lX && (_.right.parent = g), + (_.parent = g.parent), + g.parent == this.g_lX + ? (this.root = _) + : g == g.parent.right + ? (g.parent.right = _) + : (g.parent.left = _), + (_.right = g), + (g.parent = _); + }), + (g.g_lY.prototype.g_mb = function (_) { + if (!this.contains(_)) { + var a = new g.g_lV(this); + a.key = _; + for (var t = this.g_lX, n = this.root; n != this.g_lX; ) + (t = n), (n = 0 > this.compare(a.key, n.key) ? n.left : n.right); + (a.parent = t), + t == this.g_lX + ? (this.root = a) + : 0 > this.compare(a.key, t.key) + ? (t.left = a) + : (t.right = a), + (a.left = this.g_lX), + (a.right = this.g_lX), + (a.color = !0), + this.g_mc(a), + this.size++; + } else { + var i = this.g_md(_); + i.key = _; + } + }), + (g.g_lY.prototype.g_mc = function (g) { + for (; g != this.g_lX && g != this.root && !0 == g.parent.color; ) + if (g.parent == g.parent.parent.left) { + var _ = g.parent.parent.right; + !0 == _.color + ? ((g.parent.color = !1), + (_.color = !1), + (g.parent.parent.color = !0), + (g = g.parent.parent)) + : (g == g.parent.right && ((g = g.parent), this.g_l$(g)), + (g.parent.color = !1), + (g.parent.parent.color = !0), + g.parent.parent != this.g_lX && this.g_ma(g.parent.parent)); + } else { + var _ = g.parent.parent.left; + !0 == _.color + ? ((g.parent.color = !1), + (_.color = !1), + (g.parent.parent.color = !0), + (g = g.parent.parent)) + : (g == g.parent.left && ((g = g.parent), this.g_ma(g)), + (g.parent.color = !1), + (g.parent.parent.color = !0), + g.parent.parent != this.g_lX && this.g_l$(g.parent.parent)); + } + this.root.color = !1; + }), + (g.g_lY.prototype.g_me = function (g) { + var _, e; + (_ = g.left == this.g_lX || g.right == this.g_lX ? g : this.g_mf(g)), + (e = _.left == this.g_lX ? _.right : _.left), + (e.parent = _.parent), + _.parent == this.g_lX + ? (this.root = e) + : _ == _.parent.left + ? (_.parent.left = e) + : (_.parent.right = e), + _ != g && (g.key = _.key), + !1 == _.color && this.g_mg(e), + this.size--; + }), + (g.g_lY.prototype.g_mg = function (g) { + for (; g != this.root && !1 == g.color; ) + if (g == g.parent.left) { + var _ = g.parent.right; + !0 == _.color && + ((_.color = !1), (g.parent.color = !0), this.g_l$(g.parent), (_ = g.parent.right)), + !1 == _.left.color && !1 == _.right.color + ? ((_.color = !0), (g = g.parent)) + : (!1 == _.right.color && + ((_.left.color = !1), (_.color = !0), this.g_ma(_), (_ = g.parent.right)), + (_.color = g.parent.color), + (g.parent.color = !1), + (_.right.color = !1), + this.g_l$(g.parent), + (g = this.root)); + } else { + var _ = g.parent.left; + !0 == _.color && + ((_.color = !1), (g.parent.color = !0), this.g_ma(g.parent), (_ = g.parent.left)), + !1 == _.right.color && !1 == _.left.color + ? ((_.color = !0), (g = g.parent)) + : (!1 == _.left.color && + ((_.right.color = !1), (_.color = !0), this.g_l$(_), (_ = g.parent.left)), + (_.color = g.parent.color), + (g.parent.color = !1), + (_.left.color = !1), + this.g_ma(g.parent), + (g = this.root)); + } + g.color = !1; + }), + (g.g_lY.prototype.remove = function (g) { + var _ = this.g_md(g); + if (_ != this.g_lX) { + var e = _.key; + return this.g_me(_), e; + } + return null; + }), + (g.g_lY.prototype.g_mh = function (g, _) { + this.remove(_); + }), + (g.g_lY.prototype.min = function (g) { + for (; g.left != this.g_lX; ) g = g.left; + return g; + }), + (g.g_lY.prototype.max = function (g) { + for (; g.right != this.g_lX; ) g = g.right; + return g; + }), + (g.g_lY.prototype.g_mf = function (g) { + if (g.right != this.g_lX) return this.min(g.right); + for (var _ = g.parent; _ != this.g_lX && g == _.right; ) (g = _), (_ = _.parent); + return _; + }), + (g.g_lY.prototype.g_mi = function (g) { + if (g.left != this.g_lX) return this.max(g.left); + for (var _ = g.parent; _ != this.g_lX && g == _.left; ) (g = _), (_ = _.parent); + return _; + }), + (g.g_lY.prototype.g_mj = function (g) { + if (0 < this.size) { + var _ = this.g_md(g); + if (_ == this.g_lX) return null; + if (_.right != this.g_lX) return this.min(_.right).key; + for (var e = _.parent; e != this.g_lX && _ == e.right; ) (_ = e), (e = e.parent); + return e == this.g_lX ? null : e.key; + } + return null; + }), + (g.g_lY.prototype.g_mk = function (g) { + if (0 < this.size) { + var _ = this.g_md(g); + if (_ == this.g_lX) return null; + if (_.left != this.g_lX) return this.max(_.left).key; + for (var e = _.parent; e != this.g_lX && _ == e.left; ) (_ = e), (e = e.parent); + return e == this.g_lX ? null : e.key; + } + return null; + }), + (g.g_lY.prototype.g_ml = function () { + return this.min(this.root).key; + }), + (g.g_lY.prototype.g_mm = function () { + return this.max(this.root).key; + }), + (g.g_lY.prototype.g_md = function (g) { + for (var _ = this.root; _ != this.g_lX && 0 != this.compare(_.key, g); ) + _ = 0 > this.compare(g, _.key) ? _.left : _.right; + return _; + }), + (g.g_lY.prototype.contains = function (g) { + return null != this.g_md(g).key; + }), + (g.g_lY.prototype.getValues = function () { + var g = []; + return ( + this.forEach(function (_) { + g.push(_); + }), + g + ); + }), + (g.g_lY.prototype.g_l_ = function (_) { + if ('array' == g.g_mn(_)) for (var a = 0; a < _.length; a++) this.g_mb(_[a]); + else if ('function' == g.g_mn(_.forEach)) _.forEach(this.g_mb, this); + else if ('function' == g.g_mn(_.getValues)) + for (var t = _.getValues(), a = 0; a < t.length; a++) this.g_mb(t[a]); + else if ('object' == g.g_mn(_)) for (var n in _) this.g_mb(_[n]); + }), + (g.g_lY.prototype.g_mo = function (_) { + if ('array' == g.g_mn(_)) for (var a = 0; a < _.length; a++) this.remove(_[a]); + else if ('function' == g.g_mn(_.forEach)) _.forEach(this.g_mh, this); + else if ('function' == g.g_mn(_.getValues)) + for (var t = _.getValues(), a = 0; a < t.length; a++) this.remove(t[a]); + else if ('object' == g.g_mn(_)) for (var n in _) this.remove(_[n]); + }), + (g.g_lY.prototype.g_mp = function (_) { + if ('array' == g.g_mn(_)) { + for (var a = 0; a < _.length; a++) if (!this.contains(_[a])) return !1; + return !0; + } + if ('function' == g.g_mn(_.forEach)) return _.every(this.contains, this); + if ('function' == g.g_mn(_.getValues)) { + for (var t = _.getValues(), a = 0; a < t.length; a++) if (!this.contains(t[a])) return !1; + return !0; + } + if ('object' == g.g_mn(_)) { + for (var n in _) if (!this.contains(_[n])) return !1; + return !0; + } + }), + (g.g_lY.prototype.range = function (g, _) { + var e = []; + return ( + this.g_mq( + function (g) { + e.push(g); + }, + g, + _ + ), + e + ); + }), + (g.g_lY.prototype.g_mr = function (g, _) { + if (!this.g_ms()) + for (var e = this.min(this.root); e != this.g_lX; ) { + if (g.call(_, e.key, this)) return; + e = this.g_mf(e); + } + }), + (g.g_lY.prototype.g_mt = function (g, _, e) { + if (!this.g_ms()) + for (var a = this.g_md(_); a != this.g_lX; ) { + if (g.call(e, a.key, this)) return; + a = this.g_mf(a); + } + }), + (g.g_lY.prototype.g_mu = function (g, _, a) { + if (!this.g_ms()) + for (var t = this.min(this.root), n = this.g_md(_); t != n; ) { + if (g.call(a, t.key, this)) return; + t = this.g_mf(t); + } + }), + (g.g_lY.prototype.g_mq = function (g, _, a, t) { + if (!this.g_ms()) + for (var n = this.g_md(_), i = this.g_md(a); n != i; ) { + if (g.call(t, n.key, this)) return; + n = this.g_mf(n); + } + }), + (g.g_lY.prototype.g_mv = function (g, _) { + if (!this.g_ms()) + for (var e = this.max(this.root); e != this.g_lX; ) { + if (g.call(_, e.key, this)) return; + e = this.g_mi(e); + } + }), + (g.g_lY.prototype.forEach = function (g, _) { + if (!this.g_ms()) + for (var e = this.min(this.root); e != this.g_lX; e = this.g_mf(e)) + g.call(_, e.key, e.key, this); + }), + (g.g_lY.prototype.some = function (g, _) { + if (this.g_ms()) return !1; + for (var e = this.min(this.root); e != this.g_lX; e = this.g_mf(e)) + if (g.call(_, e.key, e.key, this)) return !0; + return !1; + }), + (g.g_lY.prototype.every = function (g, _) { + if (this.g_ms()) return !1; + for (var e = this.min(this.root); e != this.g_lX; e = this.g_mf(e)) + if (!g.call(_, e.key, e.key, this)) return !1; + return !0; + }), + (g.g_lY.prototype.map = function (g, _) { + var e = []; + if (this.g_ms()) return e; + for (var a = this.min(this.root); a != this.g_lX; a = this.g_mf(a)) + e.push(g.call(_, a.key, a.key, this)); + return e; + }), + (g.g_lY.prototype.filter = function (g, _) { + var e = []; + if (this.g_ms()) return e; + for (var a = this.min(this.root); a != this.g_lX; a = this.g_mf(a)) + g.call(_, a.key, a.key, this) && e.push(a.key); + return e; + }), + (g.g_lY.prototype.g_mw = function () { + return this.size; + }), + (g.g_lY.prototype.g_ms = function () { + return 0 == this.size; + }), + (g.g_lY.prototype.g_mx = function (_) { + var a = g.g_mw(_); + if (this.g_mw() > a) return !1; + var t = 0; + if (this.g_ms()) return !0; + for (var n = this.min(this.root); n != this.g_lX; n = this.g_mf(n)) + g.contains.call(_, _, n.key) && t++; + return t == this.g_mw(); + }), + (g.g_lY.prototype.g_my = function (_) { + var e = new g.g_lY(this.compare); + if (this.g_ms()) return e; + for (var a = this.min(this.root); a != this.g_lX; a = this.g_mf(a)) + _.contains.call(_, a.key, a.key, this) && e.g_mb(a.key); + return e; + }), + (g_aO.g_lY = class extends g_aO.g_eh { + constructor(_) { + super(), + (this.g_mz = new g.g_lY(_)), + (this.g_mA = !1), + (this.g_mB = new Set()), + (this.g_mC = new Set()); + } + g_jB(g) { + this.g_mA + ? this.g_mz.contains(g) + ? this.g_mC.delete(g) + : this.g_mB.add(g) + : this.g_mz.g_mb(g); + } + g_lO(g) { + this.g_mA + ? this.g_mz.contains(g) + ? this.g_mC.add(g) + : this.g_mB.delete(g) + : this.g_mz.remove(g); + } + g_bc(g) { + return this.g_mA + ? !!this.g_mB.has(g) || (!this.g_mC.has(g) && this.g_mz.contains(g)) + : this.g_mz.contains(g); + } + g_js() { + this.g_mz.clear(), this.g_mB.clear(), this.g_mC.clear(); + } + toArray() { + if (this.g_mA) throw new Error('cannot be used in queueing mode'); + return this.g_mz.getValues(); + } + g_jv() { + return this.g_mz.g_mw() + this.g_mB.size - this.g_mC.size; + } + g_jC() { + return 0 === this.g_jv(); + } + g_mD() { + if (this.g_jC()) throw new Error('empty set'); + if (this.g_mA) throw new Error('cannot be used in queueing mode'); + const g = this.g_mz, + _ = g.min(g.root); + return _.key; + } + g_mE() { + if (this.g_jC()) throw new Error('empty set'); + if (this.g_mA) throw new Error('cannot be used in queueing mode'); + const g = this.g_mD(); + return this.g_lO(g), g; + } + g_mF(g) { + if (((g = !!g), this.g_mA !== g) && ((this.g_mA = g), !g)) { + for (const g of this.g_mC) this.g_mz.remove(g); + this.g_mC.clear(); + for (const g of this.g_mB) this.g_mz.g_mb(g); + this.g_mB.clear(); + } + } + g_mG(g) { + this.g_mz.forEach(g); + } + *values() { + if (!this.g_jC()) { + const g = this.g_mz; + for (let _ = g.min(g.root); _ != g.g_lX; _ = g.g_mf(_)) yield _.key; + } + } + [Symbol.iterator]() { + return this.values(); + } + }); +} +'use strict', + (g_aO.g_mH = class { + constructor(g = g_aO.hardwareConcurrency) { + (this.g_mI = g), (this.g_mJ = []), (this.g_mK = 0); + } + g_jB(g) { + return new Promise((_, e) => { + this.g_mJ.push({ g_ls: g, resolve: _, reject: e }), this.g_mL(); + }); + } + g_mM(g) { + for (let _ = 0, e = this.g_mJ.length; _ < e; ++_) if (this.g_mJ[_].g_ls === g) return _; + return -1; + } + g_mN(g, _) { + const e = this.g_mM(g); + if (-1 === e) throw new Error('cannot find promise to resolve'); + this.g_mJ[e].resolve(_), this.g_mJ.splice(e, 1); + } + g_mO(g, _) { + const e = this.g_mM(g); + if (-1 === e) throw new Error('cannot find promise to reject'); + this.g_mJ[e].reject(_), this.g_mJ.splice(e, 1); + } + async g_mL() { + if (this.g_mJ.length && !(this.g_mK >= this.g_mI)) { + this.g_mK++; + const g = this.g_mJ.shift(); + try { + const _ = await g.g_ls(); + g.resolve(_); + } catch (_) { + g.reject(_); + } + this.g_mK--, this.g_mL(); + } + } + static async g_mP(g, _) { + const t = []; + let n = !1; + const i = async () => { + for (let g; (g = _.pop()); ) { + if (n) return; + try { + t.push(await g()); + } catch (g) { + throw ((n = !0), g); + } + } + }, + e = []; + for (; g--; ) e.push(i()); + return await Promise.all(e), t; + } + }), + 'use strict', + (g_aO.g_mQ = class { + constructor(g, _, e) { + (this.g_ly = g), + (this.g_mR = _), + (this.g_mS = e || 2 * _), + (this.g_mT = -1), + (this.g_mU = -Infinity), + (this.g_mV = () => this.g_mW()), + (this.g_mX = !1), + (this.g_mY = !1), + (this.g_mZ = null); + } + g_m_(g) { + this.g_mY = !!g; + } + g_m$() { + return 'undefined' != typeof g_aO.g_na && g_aO.g_na.g_nb() ? this.g_mS : this.g_mR; + } + g_nc(...g) { + if (-1 === this.g_mT) { + this.g_mZ = g; + let _ = g_aO.g_lw(), + e = _ - this.g_mU, + a = this.g_m$(); + e >= a && this.g_mY + ? ((this.g_mU = _), this.g_nd()) + : (this.g_mT = self.setTimeout(this.g_mV, Math.max(a - e, 4))); + } + } + g_nd() { + this.g_mX = !0; + const g = this.g_mZ; + (this.g_mZ = null), g ? this.g_ly(...g) : this.g_ly(), (this.g_mX = !1); + } + g_lC() { + this.g_mX || (this.g_ne(), (this.g_mZ = null), (this.g_mU = g_aO.g_lw())); + } + g_mW() { + (this.g_mT = -1), (this.g_mU = g_aO.g_lw()), this.g_nd(); + } + g_ne() { + -1 !== this.g_mT && (self.clearTimeout(this.g_mT), (this.g_mT = -1)); + } + g_ek() { + this.g_ne(), (this.g_ly = null), (this.g_mZ = null), (this.g_mV = null); + } + }), + 'use strict', + (g_aO.g_nf = class { + constructor() { + (this.g_ng = new Map()), + (this.g_nh = !1), + (this.g_ni = null), + (this.g_nj = null), + (this.g_nk = null), + (this.g_nl = null); + } + g_nm(g) { + this.g_nh = !!g; + } + g_nn() { + return this.g_nh; + } + g_no(g) { + this.g_ni = g; + } + g_np(g) { + if (!this.g_ni) throw new Error('no get base size callback set'); + return this.g_ni(g); + } + g_nq(g) { + this.g_nj = g; + } + g_nr(g, _, a, t, n, e) { + if (!this.g_nj) throw new Error('no raster at size callback set'); + return this.g_nj(g, _, a, t, n, e); + } + g_ns(g) { + this.g_nk = g; + } + g_nt(g) { + if (!this.g_nk) throw new Error('no release result callback set'); + this.g_nk(g); + } + g_nu(g) { + this.g_nl = g; + } + g_nv() { + if (!this.g_nl) throw new Error('no redraw callback set'); + this.g_nl(); + } + g_nw(g) { + let _ = this.g_ng.get(g); + return _ || ((_ = g_aO.g_ej(g_aO.g_nx, this, g)), this.g_ng.set(g, _)), _.g_ny(), _; + } + g_nz(g) { + this.g_ng.delete(g.g_nA()); + } + }), + 'use strict'; +{ + const _ = 2048; + g_aO.g_nx = class { + constructor(g, _) { + (this.g_nB = g), + (this.g_nC = _), + (this.g_nD = 0), + (this.g_nE = 0), + (this.g_nF = 0), + (this.g_nG = this.g_nB + .g_np(_) + .then((g) => { + (this.g_nE = g[0]), (this.g_nF = g[1]), this.g_nB.g_nv(); + }) + .catch((g) => { + console.error('[SVG] Error loading SVG: ', g), (this.g_nH = !0), this.g_nB.g_nv(); + })), + (this.g_nI = 0), + (this.g_nJ = 0), + (this.g_nK = 0), + (this.g_nL = 0), + (this.g_nM = !1), + (this.g_nN = null), + (this.g_nO = !1), + (this.g_nH = !1); + } + g_ek() { + if (0 >= this.g_nD) throw new Error('already released'); + this.g_nD--, 0 === this.g_nD && this.g_nP(); + } + g_nP() { + this.g_nN && (this.g_nB.g_nt(this.g_nN), (this.g_nN = null)), + this.g_nB.g_nz(this), + (this.g_nB = null); + } + g_nA() { + return this.g_nC; + } + g_ny() { + this.g_nD++; + } + g_nQ() { + return 0 < this.g_nD; + } + g_nR() { + return this.g_nN; + } + g_nS() { + this.g_nO = !0; + } + async g_nT(t, n, r) { + var a = Math.min, + e = Math.ceil; + if (0 === n || 0 === r || this.g_nH) return; + if (this.g_nM) return; + let s = g_aO.g_eG(e(n)), + l = g_aO.g_eG(e(r)); + const o = Math.max(s, l); + if (o > _) { + const g = _ / o; + (n *= g), (r *= g), (s = a(e(s * g), _)), (l = a(e(l * g), _)); + } + if (n < s && r < l) { + const g = n / r, + _ = s / l; + _ > g ? ((n = l * g), (r = l)) : ((n = s), (r = s / g)); + } + if ( + (this.g_nB.g_nn() && ((s = e(n)), (l = e(r))), + !(s <= this.g_nI && l <= this.g_nJ && !this.g_nO)) + ) { + (this.g_nM = !0), (this.g_nI = s), (this.g_nJ = l); + const g = await this.g_nB.g_nr(this.g_nC, t, this.g_nI, this.g_nJ, n, r); + this.g_nN && this.g_nB.g_nt(this.g_nN), + (this.g_nN = g), + (this.g_nK = n), + (this.g_nL = r), + (this.g_nM = !1), + (this.g_nO = !1), + this.g_nB.g_nv(); + } + } + g_nU() { + return this.g_nG; + } + g_nV() { + return this.g_nE; + } + g_nW() { + return this.g_nF; + } + g_nX() { + return this.g_nK; + } + g_nY() { + return this.g_nL; + } + g_nZ() { + return this.g_nH; + } + }; +} +{ + function _(g) { + return s.get(g); + } + g_aO.g_n_ = '\uFEFF'; + const t = new Set([...'0123456789']); + g_aO.g_n$ = function (g) { + return t.has(g); + }; + const n = new Set([ + ...' \t\n\r\xA0\x85\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2028\u2029\u202F\u205F\u3000' + ]); + (g_aO.g_oa = function (g) { + return n.has(g); + }), + (g_aO.g_ob = function (g) { + return [...g].filter((g) => !g_aO.g_oa(g)).join(''); + }), + (g_aO.g_oc = function (g) { + for (const _ of g) if (!g_aO.g_oa(_)) return !1; + return !0; + }), + (g_aO.g_od = function (g) { + return 1 === g.length && 32 > g.charCodeAt(0); + }), + (g_aO.g_oe = function (g) { + return [...g].filter((g) => !g_aO.g_od(g)).join(''); + }); + const r = new Set([...'0123456789.+-e']); + (g_aO.g_of = function (g) { + if (((g = g.trim()), !g.length)) return !1; + let _ = g.charAt(0); + if ('-' !== _ && !t.has(_)) return !1; + for (let _ of g) if (!r.has(_)) return !1; + return !0; + }), + (g_aO.g_og = function (g) { + let _ = g.length; + for (; 0 < _; ) { + let e = g.charAt(_ - 1); + if (!g_aO.g_n$(e)) break; + --_; + } + return g.substr(0, _); + }), + (g_aO.g_oh = function (g) { + let _ = g_aO.g_og(g), + e = g.substr(_.length); + return (e = e ? (parseInt(e, 10) + 1).toString() : '2'), _ + e; + }); + const s = new Map([ + ['&', '&'], + ['<', '<'], + ['>', '>'], + ['"', '"'], + ["'", '''] + ]), + e = /[&<>"']/g; + (g_aO.g_oi = function (g) { + return g.replace(e, _); + }), + (g_aO.g_oj = function (g) { + let _ = g_aO.g_ok(g, '\\', '\\\\'); + return ( + (_ = g_aO.g_ok(_, '"', '\\"')), + (_ = g_aO.g_ok(_, '\t', '\\t')), + (_ = g_aO.g_ok(_, '\r', '')), + g_aO.g_ok(_, '\n', '\\n') + ); + }), + (g_aO.g_ol = function (g) { + let _ = g_aO.g_ok(g, '&', '&'); + return ( + (_ = g_aO.g_ok(_, '<', '<')), + (_ = g_aO.g_ok(_, '>', '>')), + g_aO.g_ok(_, '"', '"') + ); + }); + const d = /[-[\]{}()*+?.,\\^$|#\s]/g; + (g_aO.g_om = function (g) { + return g.replace(d, '\\$&'); + }), + (g_aO.g_on = function (_, t, n = !1) { + if (!t) return []; + n || ((_ = _.toLowerCase()), (t = t.toLowerCase())); + const i = t.length; + let r = 0, + s = 0, + d = []; + for (; -1 < (s = _.indexOf(t, r)); ) d.push(s), (r = s + i); + return d; + }), + (g_aO.g_ok = function (g, _, e) { + return g.replace(new RegExp(g_aO.g_om(_), 'g'), () => e); + }), + (g_aO.g_oo = function (g, _, e) { + return g.replace(new RegExp(g_aO.g_om(_), 'gi'), () => e); + }), + (g_aO.g_op = function (g, _) { + 'string' == typeof _ + ? (g.textContent = _) + : _.g_oq() + ? (g.textContent = _.toString()) + : ((g.innerHTML = _.g_or()), _ instanceof g_aO.g_dP && _.g_os(g)); + }), + (g_aO.g_ot = function (g, _) { + return g instanceof g_aO.g_dO || g instanceof g_aO.g_dP + ? g.g_l(_) + : _ instanceof g_aO.g_dO || _ instanceof g_aO.g_dP + ? _.g_l(g) + : g === _; + }), + (g_aO.g_ou = function (g, ..._) { + let a = g; + for (let t = 0, n = _.length; t < n; ++t) { + const n = `{${t}}`; + if (!g.includes(n)) throw new Error(`missing placeholder '${n}' in string substitution`); + a = a.replace(n, _[t].toString()); + } + return a; + }), + (g_aO.g_ov = function (_, ...a) { + let t = _, + n = -1, + i = -1; + for (let e = 0, r = a.length; e < r; ++e) { + const r = `{${e}}`; + _.includes(r) ? ((i = e), (t = t.replace(r, a[e].toString()))) : -1 === n && (n = e); + } + if (0 <= n && 0 <= i && n < i) + throw new Error(`missing placeholder '${n}' in string substitution`); + return t; + }), + (g_aO.g_ow = function (g, _) { + let a = g; + for (let [t, n] of Object.entries(_)) a = g_aO.g_ok(a, t, n.toString()); + return a; + }), + (g_aO.g_ox = function (g, _) { + let e = g.toLowerCase(), + a = _.toLowerCase(); + return e > a ? 1 : e < a ? -1 : 0; + }); + const g = 1024; + g_aO.g_oy = function (_, e) { + var a = Math.round; + let t = 'common.' + (e ? 'dataRates' : 'dataSizes') + '.'; + if (_ < g) return g_oz(t + 'bytes', _); + if (1048576 > _) { + let e = _ / g; + return (e = 10 > e ? a(10 * e) / 10 : a(e)), g_oz(t + 'kilobytes', e); + } + if (1073741824 > _) { + let g = _ / 1048576; + return (g = 10 > g ? a(10 * g) / 10 : a(g)), g_oz(t + 'megabytes', g); + } + if (1099511627776 > _) { + let g = _ / 1073741824; + return (g = 10 > g ? a(10 * g) / 10 : a(g)), g_oz(t + 'gigabytes', g); + } else { + let g = _ / 1099511627776; + return (g = 10 > g ? a(10 * g) / 10 : a(g)), g_oz(t + 'terabytes', g); + } + }; + const l = { g_oA: !1, g_oB: !0, g_oC: !0, g_oD: !0, g_oE: !0 }; + (g_aO.g_oF = function (g, _) { + var t = Math.floor; + (_ = Object.assign({}, l, _)), g_aO.g_oH.g_oG('common.time'); + const n = []; + if (_.g_oB) { + const _ = t(g / 86400); + 0 < _ && ((g -= 3600 * (24 * _)), n.push(g_oI('.days', null, _))); + } + if (_.g_oC) { + const _ = t(g / 3600); + (0 < _ || n.length) && ((g -= 3600 * _), n.push(g_oI('.hours', null, _))); + } + if (_.g_oD) { + const a = t(g / 60); + (0 < a || n.length || !_.g_oE) && ((g -= 60 * a), n.push(g_oI('.minutes', null, a))); + } + if (_.g_oE) { + const _ = t(g % 60); + n.push(g_oI('.seconds', null, _)); + } + const i = (_.g_oA ? lang('.approx-prefix') : '') + n.join(lang('.separator')); + return g_aO.g_oH.g_oJ(), i; + }), + (g_aO.g_oK = function (g, _) { + let t = 0 > g ? '-' : ''; + g = Math.abs(g); + let n = g.toString(), + i = _ - n.length; + for (let e = 0; e < i; ++e) t += '0'; + return t + n; + }), + (g_aO.g_oL = function (g) { + return g.toLowerCase().replace(/\b\w/g, (g) => g.toUpperCase()); + }), + (g_aO.g_oM = function (g, _) { + let t = g.split('.').map((g) => g.trim()), + n = _.split('.').map((g) => g.trim()); + g_aO.g_fC(t, 4, '0'), + g_aO.g_fC(n, 4, '0'), + (t = t.map((g) => parseInt(g, 10))), + (n = n.map((g) => parseInt(g, 10))); + for (let i = 0; 4 > i; ++i) { + const g = t[i] - n[i]; + if (0 != g) return 0 > g ? -1 : 1; + } + return 0; + }), + (g_aO.g_oN = function () { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (g) => { + const _ = Math.floor(16 * Math.random()), + e = 'x' === g ? _ : 8 | (3 & _); + return e.toString(16); + }); + }), + (g_aO.g_oO = function (g, _) { + if (g.length !== _.length) throw new Error('strings must be same length'); + let a = 0; + for (let t = 0, n = g.length; t < n; ++t) g.charAt(t) !== _.charAt(t) && ++a; + return a; + }), + (g_aO.g_oP = function (_, t) { + var n = Math.min; + if (0 === _.length) return t.length; + if (0 === t.length) return _.length; + let r, s, l, o, u, p; + for ( + _.length > t.length && ((r = _), (_ = t), (t = r)), p = Array(_.length + 1), s = 0; + s <= _.length; + s++ + ) + p[s] = s; + for (s = 1; s <= t.length; s++) { + for (o = s, l = 1; l <= _.length; l++) + (u = t[s - 1] === _[l - 1] ? p[l - 1] : n(p[l - 1] + 1, n(o + 1, p[l] + 1))), + (p[l - 1] = o), + (o = u); + p[_.length] = o; + } + return p[_.length]; + }); +} +{ + function _(_, n, r) { + const s = t.get(r); + if (!s) return 'class' === r ? (n ? '' : ``) : _; + if ('string' != typeof s) { + if (Array.isArray(s)) { + let g = s[0], + _ = s[1]; + return n ? '' : `<${g} class="${_}">`; + } + } else if ('a' === s && !n) { + const g = parseInt(r.substring(1), 10) - 1; + if (0 > g || g >= i.length) throw new Error('invalid bbcode link substitution'); + const _ = i[g]; + if ('string' == typeof _) return ``; + if ('function' == typeof _) return ``; + throw new TypeError('invalid bbcode link action'); + } else return '<' + n + s + '>'; + } + const t = new Map([ + ['b', 'strong'], + ['i', 'em'], + ['s', 's'], + ['u', 'u'], + ['sub', 'sub'], + ['sup', 'sup'], + ['small', 'small'], + ['mark', 'mark'], + ['a1', 'a'], + ['a2', 'a'], + ['a3', 'a'], + ['a4', 'a'], + ['a5', 'a'], + ['a6', 'a'], + ['a7', 'a'], + ['a8', 'a'], + ['a9', 'a'], + ['bad', ['span', 'bbCodeBad']], + ['good', ['span', 'bbCodeGood']], + ['info', ['span', 'bbCodeInfo']], + ['h1', ['span', 'bbCodeH1']], + ['h2', ['span', 'bbCodeH2']], + ['h3', ['span', 'bbCodeH3']], + ['h4', ['span', 'bbCodeH4']], + ['item', ['span', 'bbCodeItem']] + ]), + a = /\[(\/?)([a-zA-Z0-9]+)\]/g, + n = /\[(\/?)(.*?)\]/g; + let i = null, + e = 0; + const r = /\n/g; + g_aO.g_dP = class { + constructor(g, _) { + if ( + ((this.g_oQ = _ && _.g_oR ? g : g_aO.g_oi(g)), + (this.g_oS = ''), + (this.g_oT = !1), + (this.g_oU = []), + _ && ((this.g_oT = !!_.g_oV), _.links)) + ) { + if (9 < _.links.length) throw new Error('too many links'); + this.g_oU = _.links; + } + (this.g_oW = this.g_oQ.includes('[')), + (this.g_oX = this.g_oT && this.g_oQ.includes('\n')), + (this.g_oY = !this.g_oW && !this.g_oX && !this.g_oQ.includes('&')), + (this.g_oZ = !1), + (this.g_o_ = []); + } + toString() { + return this.g_oQ; + } + valueOf() { + return this.g_oQ; + } + g_oq() { + return this.g_oY; + } + g_o$() { + return this.g_oW ? this.g_oQ.replace(a, '') : this.g_oQ; + } + g_or() { + if (this.g_oY) return this.g_oQ; + if (!this.g_oS && this.g_oQ) { + let g = this.g_oQ; + this.g_oW && ((e = 0), (i = this.g_oU), (g = g.replace(a, _)), (i = null)), + this.g_oX && (g = g.replace(r, '
')), + (this.g_oS = g); + } + return this.g_oS; + } + g_os(g) { + if (this.g_oU.length) + for (let _ = 0, e = this.g_oU.length; _ < e; ++_) { + const e = this.g_oU[_]; + if ('function' != typeof e) continue; + const a = g.querySelector('.bblink' + _); + if (!a) throw new Error('unable to attach BBString link handler'); + a.onclick = e; + } + } + g_l(g) { + return g instanceof g_aO.g_dO + ? this.g_or() === g.g_or() + : g instanceof g_aO.g_dP + ? this.g_oQ === g.g_oQ + : this.g_oQ === g; + } + g_pa() { + if (this.g_oZ) return this.g_o_; + const _ = this.g_oQ, + t = []; + n.lastIndex = 0; + let a = 0, + r = null; + for (; null !== (r = n.exec(_)); ) { + const e = r.index; + if (0 < e && '\\' === _.charAt(e - 1)) continue; + const n = r[0], + s = r[1], + g = r[2], + d = _.substring(a, e); + if (((a = e + n.length), d && this.g_o_.push({ text: d, g_pb: t.slice(0) }), g)) + if (s) { + const _ = g.toLowerCase(); + for (let g = t.length - 1; 0 <= g; --g) + if (t[g].tag === _) { + t.splice(g, 1); + break; + } + } else { + let _ = g, + e = null; + const a = g.indexOf('='); + -1 === a + ? (_ = _.toLowerCase()) + : ((_ = g.substring(0, a).toLowerCase()), (e = g.substring(a + 1))), + t.push({ tag: _, param: e }); + } + } + a < _.length && this.g_o_.push({ text: _.substring(a), g_pb: t.slice(0) }); + for (const g of this.g_o_) g.text = this.g_pc(g.text); + return (this.g_oZ = !0), this.g_o_; + } + g_pc(g) { + return (g = g_aO.g_ok(g, '\\[', '[')), g_aO.g_ok(g, '\\\\', '\\'); + } + static g_pd(g) { + return g_aO.g_ej(g_aO.g_dP, g, { g_oR: !0 }).g_o$(); + } + static g_pe(g) { + return g.replace(n, ''); + } + }; +} +'use strict', + (g_aO.g_pf = class { + constructor() { + this.g_pg = []; + } + g_ph() { + return this.g_pg; + } + g_pi() { + return this.g_pg.length; + } + g_pj(g, _) { + let a = 0, + t = 0; + for (const n of g) { + if (-1 === n.width) { + const g = _(n.text, n.g_pb); + (n.width = g.width), (n.height = g.height); + } + (a += n.width), (t = Math.max(t, n.height)); + } + return { width: a, height: t }; + } + g_pk(g, _, e) { + this.g_pg.push({ g_pl: g, width: _, height: e }); + } + g_pf(_, t, n, g, i) { + if ( + ('string' == typeof _ && (_ = [{ text: _, g_pb: [] }]), + g_aO.g_fz(this.g_pg), + !_.length || (1 === _.length && !_[0].text.length) || 2 > n) + ) + return; + if (1 === _.length) { + const e = _[0], + r = e.text, + s = e.g_pb; + if (100 >= r.length && !r.includes('\n')) { + let { width: g, height: _ } = t(r, s); + if (((g += i), g <= n)) + return void this.g_pk([{ text: r, g_pb: s, width: g, height: _ }], g, _); + } + } + let e; + if ('word' === g) e = this.g_pm(_); + else { + e = []; + for (const g of _) + g_aO.g_ee( + e, + [...g.text].map((_) => [{ text: _, g_pb: g.g_pb }]) + ); + } + this.g_pn(e, t, n, i); + } + g_pm(g) { + const _ = []; + let t = [], + n = !1; + for (const i of g) { + const g = i.text, + r = i.g_pb; + for (const i of g) + if ('\n' === i) 0 < t.length && _.push(t), _.push([{ text: '\n', g_pb: r }]), (t = []); + else if (0 === t.length) t.push({ text: i, g_pb: r }), (n = g_aO.g_oa(i)); + else { + const g = g_aO.g_oa(i); + if (g === n) { + const g = t[t.length - 1]; + g.g_pb === r ? (g.text += i) : t.push({ text: i, g_pb: r }); + } else _.push(t), (t = []), t.push({ text: i, g_pb: r }), (n = g); + } + } + return 0 < t.length && _.push(t), _; + } + g_po(g) { + return g.map((g) => ({ text: g.text, g_pb: g.g_pb, width: g.width, height: g.height })); + } + g_pp(g, _) { + const e = g.length ? g[g.length - 1] : null; + let a = 0; + e && + _[0].g_pb === e.g_pb && + ((e.text += _[0].text), (e.width = -1), (e.height = -1), (a = 1)); + for (let e = _.length; a < e; ++a) { + const e = _[a]; + g.push({ text: e.text, g_pb: e.g_pb, width: -1, height: -1 }); + } + } + g_pn(_, t, n, a) { + let r = [], + s = 0, + l = 0; + for (const g of _) { + if (1 === g.length && '\n' === g[0].text) { + 0 === l && (l = t(' ', g[0].g_pb).height), this.g_pk(r, s, l), (r = []), (s = 0), (l = 0); + continue; + } + const _ = this.g_po(r); + this.g_pp(_, g); + const e = this.g_pj(_, t), + a = e.width, + i = e.height; + if (!(a >= n)) (r = _), (s = a), (l = i); + else if ((0 < r.length && this.g_pk(r, s, l), (r = []), g_aO.g_oc(g[0].text))) + (s = 0), (l = 0); + else { + this.g_pp(r, g); + const _ = this.g_pj(r, t); + (s = _.width), (l = _.height); + } + } + 0 < r.length && this.g_pk(r, s, l), this.g_pq(t, a); + } + g_pq(_, a) { + for (const t of this.g_pg) { + const n = t.g_pl; + if (!n.length) continue; + let i = n[n.length - 1]; + const e = i.text, + r = e.trimEnd(); + if (!r) (t.width -= i.width), n.pop(); + else if (r.length < e.length) { + const g = _(r, i.g_pb).width, + e = i.width - g; + (i.width = g), (i.text = r), (t.width -= e); + } + 0 !== a && 0 < n.length && ((i = n[n.length - 1]), (i.width += a), (t.width += a)); + } + } + g_js() { + g_aO.g_fz(this.g_pg); + } + g_pr() { + let g = 0; + for (const _ of this.g_pg) { + const e = _.width; + g < e && (g = e); + } + return g; + } + }), + 'use strict', + (g_aO.g_ps = {}), + 'use strict'; +{ + const _ = [0, 0, 0, 0, 0, 0, 0, 0], + g = vec3.g_q(0, 0, 0); + g_aO.g_ps.g_pt = class { + constructor() { + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_pw = vec3.g_q(0, 0, 100)), + (this.g_px = vec3.g_q(0, 0, 0)), + (this.g_py = vec3.g_q(0, 1, 0)), + (this.g_pz = vec3.g_q(1, 1, 1)), + (this.g_pA = mat4.create()), + (this.g_pB = mat4.create()), + (this.g_pC = mat4.create()), + (this.g_pD = []), + (this.g_pE = new Map()), + (this.g_pF = null), + (this.g_pG = new Map()), + (this.g_pH = null), + (this.g_pI = []), + (this.g_pJ = new Map()), + (this.g_pK = 0); + } + g_pL(g) { + for (let _ = 0, e = g.length, a = 0; _ < e; ) + (g[_++] = a), + (g[_++] = a + 1), + (g[_++] = a + 2), + (g[_++] = a), + (g[_++] = a + 2), + (g[_++] = a + 3), + (a += 4); + } + g_pM(a, t, n, i, e) { + const r = this.g_pB, + g = this.g_pA; + for (let r = 0, g = _.length; r < g; ++r) _[r] = 0; + (_[0] = r[0] * a + r[4] * t + r[12]), + (_[1] = r[1] * a + r[5] * t + r[13]), + (_[2] = r[2] * a + r[6] * t + r[14]), + (_[3] = r[3] * a + r[7] * t + r[15]), + (_[4] = g[0] * _[0] + g[4] * _[1] + g[8] * _[2] + g[12] * _[3]), + (_[5] = g[1] * _[0] + g[5] * _[1] + g[9] * _[2] + g[13] * _[3]), + (_[6] = g[2] * _[0] + g[6] * _[1] + g[10] * _[2] + g[14] * _[3]), + (_[7] = -_[2]), + 0 === _[7] || + ((_[7] = 1 / _[7]), + (_[4] *= _[7]), + (_[5] *= _[7]), + (_[6] *= _[7]), + (e[0] = (0.5 * _[4] + 0.5) * n), + (e[1] = (0.5 * _[5] + 0.5) * i)); + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_pP() { + return 1; + } + g_pQ() { + return 1e4; + } + g_pR(g, _, e) { + (this.g_pw[0] = g * this.g_pz[0]), (this.g_pw[1] = _ * this.g_pz[1]), (this.g_pw[2] = e); + } + g_pS(g, _, e) { + (this.g_px[0] = g * this.g_pz[0]), (this.g_px[1] = _ * this.g_pz[1]), (this.g_px[2] = e); + } + g_pT(g) { + mat4.g_at(this.g_pB, this.g_pw, this.g_px, g || this.g_py), + mat4.scale(this.g_pB, this.g_pB, this.g_pz); + } + g_pU(_, e) { + (0 === _ && 0 === e) || + ((g[0] = _), (g[1] = e), (g[2] = 0), mat4.translate(this.g_pB, this.g_pB, g)); + } + g_pV(_, e) { + (1 === _ && 1 === e) || + ((g[0] = _), (g[1] = e), (g[2] = 1), mat4.scale(this.g_pB, this.g_pB, g)); + } + g_pW(g) { + 0 === g || mat4.g_ab(this.g_pB, this.g_pB, g); + } + g_pX(g) { + this.g_pD.push(g), this.g_pE.set(g.g_pY(), g); + } + g_pZ(g) { + const _ = this.g_pD.indexOf(g); + -1 !== _ && this.g_pD.splice(_, 1), this.g_pE.delete(g.g_pY()); + } + g_p_() { + g_aO.g_fz(this.g_pD), this.g_pE.clear(); + } + g_p$(g) { + return this.g_pE.get(g) || null; + } + g_qa() { + return this.g_pF; + } + g_qb(g) { + this.g_pH = g; + } + g_qc() { + return this.g_pH; + } + g_qd(_, a, t, n, i) { + const e = g_aO.g_ps.g_qf.g_qe(_, a, t, n, i); + let r = this.g_pG.get(e); + return ( + r || ((r = g_aO.g_ej(g_aO.g_ps.g_qf, this, _, a, t, n, i)), this.g_pG.set(e, r)), + r.g_qg(), + r + ); + } + g_qh(g) { + g.g_qi(), + 0 === g.g_qj() && + (this.g_pH === g && (this.g_pH = null), this.g_pG.delete(g.g_qk()), g.g_ek()); + } + g_ql(g) { + g_aO.g_fz(this.g_pI), this.g_pJ.clear(); + for (const _ of g) { + const g = _[0], + e = _[1], + a = _[2]; + this.g_pI.push([e, a]), this.g_pJ.set(g, { g_qm: e, g_qn: a }); + } + } + g_qo(g) { + const _ = this.g_pI; + if (0 > g || g >= _.length) throw new RangeError('invalid blend index'); + return _[g]; + } + g_qp(g) { + return this.g_qo(g)[0]; + } + g_qq(g) { + return this.g_qo(g)[1]; + } + g_qr(g) { + const _ = this.g_pJ.get(g); + if ('undefined' == typeof _) throw new Error('invalid blend name'); + return _; + } + g_qs() { + this.g_qt(), this.g_pK++; + } + g_qu() { + return this.g_pK; + } + g_qv() { + this.g_pK++; + } + }; +} +'use strict', + (g_aO.g_ps.g_qf = class { + constructor(g, _, a, t, n, e) { + (this.g_qw = g), + (this.g_nD = 0), + (this.g_qx = null), + (this.g_qy = ''), + (this.g_qz = a), + (this.g_qA = t), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.set(n), + (this.g_qC = e), + 'string' == typeof _ ? (this.g_qy = _) : ((this.g_qx = _), (this.g_qy = this.g_qx.g_pY())); + } + g_ek() { + if (0 < this.g_nD) throw new Error('releasing state group still in use'); + (this.g_qw = null), (this.g_qx = null), (this.g_qy = ''); + } + g_qD() { + const g = this.g_qw; + g.g_qE(this.g_qx), + g.g_qF(this.g_qz, this.g_qA), + g.g_qG(this.g_qB), + g.g_qH(this.g_qC), + g.g_qb(this); + } + g_qk() { + return g_aO.g_ps.g_qf.g_qe(this.g_qy, this.g_qz, this.g_qA, this.g_qB, this.g_qC); + } + g_qg() { + ++this.g_nD; + } + g_qi() { + --this.g_nD; + } + g_qj() { + return this.g_nD; + } + g_qI() { + this.g_qx = null; + } + g_qJ(g) { + if (((this.g_qx = g.g_p$(this.g_qy)), !this.g_qx)) + throw new Error('failed to restore shader program'); + } + static g_qe(g, _, a, t, e) { + const n = 'string' == typeof g ? g : g.g_pY(); + return ( + n + + ',' + + _ + + ',' + + a + + ',' + + t.g_gP() + + ',' + + t.g_gQ() + + ',' + + t.g_gR() + + ',' + + t.g_gS() + + ',' + + e + ); + } + }), + 'use strict'; +{ + function _(g, _) { + let a, t, n, i; + switch (g) { + case 'rgba8': + (a = _.RGBA8), (t = _.RGBA), (n = _.RGBA), (i = _.UNSIGNED_BYTE); + break; + case 'rgb8': + (a = _.RGB8), (t = _.RGB), (n = _.RGB), (i = _.UNSIGNED_BYTE); + break; + case 'rgba4': + (a = _.RGBA4), (t = _.RGBA), (n = _.RGBA), (i = _.UNSIGNED_SHORT_4_4_4_4); + break; + case 'rgb5_a1': + (a = _.RGB5_A1), (t = _.RGBA), (n = _.RGBA), (i = _.UNSIGNED_SHORT_5_5_5_1); + break; + case 'rgb565': + (a = _.RGB565), (t = _.RGB), (n = _.RGB), (i = _.UNSIGNED_SHORT_5_6_5); + break; + default: + throw new Error('invalid pixel format'); + } + return { g_qK: a, g_qL: t, format: n, type: i }; + } + const a = new Set(['rgba8', 'rgb8', 'rgba4', 'rgb5_a1', 'rgb565']), + t = new Set(['nearest', 'bilinear', 'trilinear']), + r = new Set(['default', 'low', 'high']), + s = { + g_qM: !1, + g_qN: 'repeat', + g_qO: 'trilinear', + g_qP: 'rgba8', + g_qQ: !0, + g_qR: 'default', + g_cr: !0, + g_qS: !1, + width: -1, + height: -1 + }, + n = { g_cr: !0 }, + e = new Set(); + g_aO.g_ps.g_qT = class { + constructor(g) { + (this.g_qw = g), + (this.g_qU = null), + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_qV = !0), + (this.g_qW = !1), + (this.g_qX = 'repeat'), + (this.g_qY = 'trilinear'), + (this.g_qZ = 'rgba8'), + (this.g_q_ = !1), + (this.g_q$ = 'default'), + (this.g_nD = 0); + } + g_ra(g, n) { + if ( + ('undefined' == typeof HTMLImageElement || !(g instanceof HTMLImageElement)) && + ('undefined' == typeof HTMLCanvasElement || !(g instanceof HTMLCanvasElement)) && + ('undefined' == typeof ImageBitmap || !(g instanceof ImageBitmap)) && + ('undefined' == typeof OffscreenCanvas || !(g instanceof OffscreenCanvas)) && + !(g instanceof ImageData) && + !(g instanceof ArrayBuffer) && + null !== g + ) + throw new Error('invalid texture source'); + if (((n = Object.assign({}, s, n)), this.g_qU)) throw new Error('already created texture'); + if ( + ((this.g_qW = !!n.g_qM), + (this.g_qX = n.g_qN), + (this.g_qY = n.g_qO), + (this.g_qZ = n.g_qP), + (this.g_q_ = !!n.g_qQ), + (this.g_q$ = n.g_qR), + !t.has(this.g_qY)) + ) + throw new Error('invalid sampling'); + if (!a.has(this.g_qZ)) throw new Error('invalid pixel format'); + if (!r.has(this.g_q$)) throw new Error('invalid mipmap quality'); + if (((this.g_qV = !0), !(g instanceof ArrayBuffer || null === g || n.g_qS))) + (this.g_pu = g.width), (this.g_pv = g.height); + else if ( + ((this.g_pu = n.width), + (this.g_pv = n.height), + g instanceof ArrayBuffer && g.byteLength !== 4 * (this.g_pu * this.g_pv)) + ) + throw new Error('ArrayBuffer wrong size'); + if (0 >= this.g_pu || 0 >= this.g_pv) throw new Error('invalid texture data size'); + if (n.g_qS) { + const _ = g_aO.g_gk(this.g_pu, this.g_pv), + e = _.getContext('2d'); + e.drawImage(g, 0, 0, this.g_pu, this.g_pv), (g = _); + } + const d = g_aO.g_eF(this.g_pu) && g_aO.g_eF(this.g_pv), + i = this.g_qw.g_rb(); + if (this.g_pu > i || this.g_pv > i) + throw new Error('texture data exceeds maximum texture size'); + const o = this.g_qw.g_rc(), + u = this.g_qw.g_rd(); + (this.g_qU = o.createTexture()), + o.bindTexture(o.TEXTURE_2D, this.g_qU), + o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL, n.g_cr); + const l = _(this.g_qZ, o); + if (!this.g_qw.g_re() && !d && this.g_qW) { + if (null === g) + throw new Error( + 'cannot pass null data when creating a NPOT tiled texture without NPOT support' + ); + if ( + (g instanceof ArrayBuffer && + (g = new ImageData(new Uint8ClampedArray(g), this.g_pu, this.g_pv)), + g instanceof ImageData) + ) { + const _ = g_aO.g_gk(this.g_pu, this.g_pv), + e = _.getContext('2d'); + e.putImageData(g, 0, 0), (g = _); + } + const _ = g_aO.g_gk(g_aO.g_eG(this.g_pu), g_aO.g_eG(this.g_pv)), + e = _.getContext('2d'); + (e.g_rf = 'nearest' !== this.g_qY), + e.drawImage(g, 0, 0, this.g_pu, this.g_pv, 0, 0, _.width, _.height), + o.texImage2D(o.TEXTURE_2D, 0, l.g_qL, l.format, l.type, _); + } else if (2 <= u) { + let _; + (_ = this.g_q_ ? Math.floor(Math.log2(Math.max(this.g_pu, this.g_pv)) + 1) : 1), + o.texStorage2D(o.TEXTURE_2D, _, l.g_qK, this.g_pu, this.g_pv), + g instanceof ArrayBuffer + ? o.texSubImage2D( + o.TEXTURE_2D, + 0, + 0, + 0, + this.g_pu, + this.g_pv, + l.format, + l.type, + new Uint8Array(g) + ) + : null !== g && o.texSubImage2D(o.TEXTURE_2D, 0, 0, 0, l.format, l.type, g); + } else + g instanceof ArrayBuffer + ? o.texImage2D( + o.TEXTURE_2D, + 0, + l.g_qL, + this.g_pu, + this.g_pv, + 0, + l.format, + l.type, + new Uint8Array(g) + ) + : null === g + ? o.texImage2D(o.TEXTURE_2D, 0, l.g_qL, this.g_pu, this.g_pv, 0, l.format, l.type, null) + : o.texImage2D(o.TEXTURE_2D, 0, l.g_qL, l.format, l.type, g); + null !== g && this.g_rg(o), + o.bindTexture(o.TEXTURE_2D, null), + this.g_qw.g_rh(), + (this.g_nD = 1), + e.add(this); + } + g_ri(g, d, u) { + var h = Math.floor; + if (((u = Object.assign({}, s, u)), this.g_qU)) throw new Error('already created texture'); + if ( + ((this.g_qW = !!u.g_qM), + (this.g_qX = u.g_qN), + (this.g_qY = u.g_qO), + (this.g_qZ = u.g_qP), + (this.g_q_ = !!u.g_qQ), + (this.g_q$ = u.g_qR), + !t.has(this.g_qY)) + ) + throw new Error('invalid sampling'); + if (!a.has(this.g_qZ)) throw new Error('invalid pixel format'); + if (!r.has(this.g_q$)) throw new Error('invalid mipmap quality'); + (this.g_qV = !1), (this.g_pu = h(g)), (this.g_pv = h(d)); + const c = g_aO.g_eF(this.g_pu) && g_aO.g_eF(this.g_pv), + f = this.g_qw.g_rb(); + if (0 >= this.g_pu || 0 >= this.g_pv) throw new Error('invalid texture size'); + if (this.g_pu > f || this.g_pv > f) throw new Error('texture exceeds maximum texture size'); + if (!this.g_qw.g_re() && this.g_qW && !c) + throw new Error('non-power-of-two tiled textures not supported'); + const l = this.g_qw.g_rc(), + m = this.g_qw.g_rd(); + (this.g_qU = l.createTexture()), + l.bindTexture(l.TEXTURE_2D, this.g_qU), + l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL, u.g_cr); + const n = _(this.g_qZ, l), + o = 2 <= m ? n.g_qK : n.g_qL; + l.texImage2D(l.TEXTURE_2D, 0, o, this.g_pu, this.g_pv, 0, n.format, n.type, null), + this.g_rg(l), + l.bindTexture(l.TEXTURE_2D, null), + this.g_qw.g_rh(), + (this.g_nD = 1), + e.add(this); + } + g_rj(g) { + if ('default' === this.g_q$) return this.g_qV ? g.NICEST : g.FASTEST; + if ('low' === this.g_q$) return g.FASTEST; + if ('high' === this.g_q$) return g.NICEST; + throw new Error('invalid mipmap quality'); + } + g_rg(g) { + const _ = g_aO.g_eF(this.g_pu) && g_aO.g_eF(this.g_pv); + if (!this.g_qW) + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_S, g.CLAMP_TO_EDGE), + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_T, g.CLAMP_TO_EDGE); + else if ('repeat-x' === this.g_qX) + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_S, g.REPEAT), + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_T, g.CLAMP_TO_EDGE); + else if ('repeat-y' === this.g_qX) + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_S, g.CLAMP_TO_EDGE), + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_T, g.REPEAT); + else if ('repeat' === this.g_qX) + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_S, g.REPEAT), + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_WRAP_T, g.REPEAT); + else throw new Error('invalid tile type'); + if ('nearest' === this.g_qY) + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_MAG_FILTER, g.NEAREST), + g.texParameteri(g.TEXTURE_2D, g.TEXTURE_MIN_FILTER, g.NEAREST), + (this.g_q_ = !1); + else if ( + (g.texParameteri(g.TEXTURE_2D, g.TEXTURE_MAG_FILTER, g.LINEAR), + (_ || this.g_qw.g_re()) && this.g_q_) + ) { + g.hint(g.GENERATE_MIPMAP_HINT, this.g_rj(g)), g.generateMipmap(g.TEXTURE_2D); + const _ = 'trilinear' === this.g_qY && !this.g_qw.g_rk(); + g.texParameteri( + g.TEXTURE_2D, + g.TEXTURE_MIN_FILTER, + _ ? g.LINEAR_MIPMAP_LINEAR : g.LINEAR_MIPMAP_NEAREST + ); + } else g.texParameteri(g.TEXTURE_2D, g.TEXTURE_MIN_FILTER, g.LINEAR), (this.g_q_ = !1); + } + g_rl(t, a) { + if ( + ('undefined' == typeof HTMLImageElement || !(t instanceof HTMLImageElement)) && + ('undefined' == typeof HTMLVideoElement || !(t instanceof HTMLVideoElement)) && + ('undefined' == typeof HTMLCanvasElement || !(t instanceof HTMLCanvasElement)) && + ('undefined' == typeof ImageBitmap || !(t instanceof ImageBitmap)) && + ('undefined' == typeof OffscreenCanvas || !(t instanceof OffscreenCanvas)) && + !(t instanceof ImageData) + ) + throw new Error('invalid texture source'); + if (!this.g_qU || 0 >= this.g_nD) throw new Error('texture not created'); + if (this.g_qV) throw new Error('cannot update static texture'); + a = Object.assign({}, n, a); + const r = t.width || t.videoWidth, + s = t.height || t.videoHeight, + e = this.g_qw.g_rd(), + g = this.g_qw.g_rc(); + g.bindTexture(g.TEXTURE_2D, this.g_qU), + g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL, a.g_cr); + const d = _(this.g_qZ, g), + i = 2 <= e ? d.g_qK : d.g_qL; + try { + if (this.g_pu === r && this.g_pv === s) { + const _ = g_aO.g_eF(this.g_pu) && g_aO.g_eF(this.g_pv); + g.texSubImage2D(g.TEXTURE_2D, 0, 0, 0, d.format, d.type, t), + (_ || this.g_qw.g_re()) && + this.g_q_ && + (g.hint(g.GENERATE_MIPMAP_HINT, this.g_rj(g)), g.generateMipmap(g.TEXTURE_2D)); + } else { + (this.g_pu = r), (this.g_pv = s); + const _ = g_aO.g_eF(this.g_pu) && g_aO.g_eF(this.g_pv); + if (!this.g_qw.g_re() && this.g_qW && !_) + throw new Error('non-power-of-two tiled textures not supported'); + g.texImage2D(g.TEXTURE_2D, 0, i, d.format, d.type, t), + (_ || this.g_qw.g_re()) && + this.g_q_ && + (g.hint(g.GENERATE_MIPMAP_HINT, this.g_rj(g)), g.generateMipmap(g.TEXTURE_2D)); + } + } catch (g) { + console.error('Error updating WebGL texture: ', g); + } + g.bindTexture(g.TEXTURE_2D, null), this.g_qw.g_rh(); + } + g_rm() { + if (0 < this.g_nD) throw new Error('texture still has references'); + if (!this.g_qU) throw new Error('already deleted texture'); + e.delete(this); + const g = this.g_qw.g_rc(); + g.deleteTexture(this.g_qU), (this.g_qU = null); + } + g_rn() { + return !!this.g_qU; + } + g_ro() { + return this.g_qU; + } + g_rp() { + return this.g_qw; + } + g_rq() { + this.g_nD++; + } + g_rr() { + if (0 >= this.g_nD) throw new Error('no more references'); + this.g_nD--; + } + g_rs() { + return this.g_nD; + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_rt() { + return this.g_qV; + } + g_ru() { + let g = this.g_pu * this.g_pv; + switch (this.g_qZ) { + case 'rgba8': + g *= 4; + break; + case 'rgb8': + g *= 3; + break; + case 'rgba4': + case 'rgb5_a1': + case 'rgb565': + g *= 2; + } + return this.g_q_ && (g += Math.floor(g / 3)), g; + } + static g_qI() { + e.clear(); + } + static g_rv() { + return e.values(); + } + }; +} +{ + const _ = new Set(['nearest', 'bilinear', 'trilinear']), + t = { g_qO: 'trilinear', alpha: !0, g_rw: !0, g_rx: !0, g_ry: 0 }, + n = new Set(); + g_aO.g_ps.g_rz = class { + constructor(g) { + (this.g_qw = g), + (this.g_rA = null), + (this.g_qU = null), + (this.g_rB = null), + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_rC = !0), + (this.g_qY = 'trilinear'), + (this.g_rD = !0), + (this.g_rE = !0), + (this.g_rF = 0); + } + g_rG(a, i, e) { + e = Object.assign({}, t, e); + const r = this.g_qw.g_rd(); + if (this.g_qU || this.g_rB) throw new Error('already created render target'); + if ( + ((this.g_qY = e.g_qO), + (this.g_rD = !!e.alpha), + (this.g_rE = !!e.g_rw), + (this.g_rC = !!e.g_rx), + (this.g_rF = e.g_ry), + !_.has(this.g_qY)) + ) + throw new Error('invalid sampling'); + if (0 < this.g_rF && (2 > r || this.g_rE)) throw new Error('invalid use of multisampling'); + if ( + (2 > r && (this.g_rE = !0), + (this.g_pu = a), + (this.g_pv = i), + 0 >= this.g_pu || 0 >= this.g_pv) + ) + throw new Error('invalid render target size'); + const g = this.g_qw.g_rc(); + if ( + ((this.g_rA = g.createFramebuffer()), + g.bindFramebuffer(g.FRAMEBUFFER, this.g_rA), + this.g_rE) + ) { + this.g_qU = this.g_qw.g_rH(this.g_pu, this.g_pv, { + g_qO: this.g_qY, + g_qP: this.g_rD ? 'rgba8' : 'rgb8', + g_qQ: !1 + }); + const _ = this.g_qU.g_ro(); + g.framebufferTexture2D(g.FRAMEBUFFER, g.COLOR_ATTACHMENT0, g.TEXTURE_2D, _, 0); + } else { + (this.g_rB = g.createRenderbuffer()), g.bindRenderbuffer(g.RENDERBUFFER, this.g_rB); + const _ = this.g_rD ? g.RGBA8 : g.RGB8; + if (0 < this.g_rF) { + const e = g.g_rI(g.RENDERBUFFER, _, g.SAMPLES); + if (e && e[0]) { + const g = e[0]; + this.g_rF > g && (this.g_rF = g); + } else this.g_rF = 0; + } + 0 === this.g_rF + ? g.renderbufferStorage(g.RENDERBUFFER, _, this.g_pu, this.g_pv) + : g.g_rJ(g.RENDERBUFFER, this.g_rF, _, this.g_pu, this.g_pv), + g.framebufferRenderbuffer(g.FRAMEBUFFER, g.COLOR_ATTACHMENT0, g.RENDERBUFFER, this.g_rB), + g.bindRenderbuffer(g.RENDERBUFFER, null); + } + g.bindFramebuffer(g.FRAMEBUFFER, null), n.add(this); + } + g_rK(g, _) { + if (this.g_pu !== g || this.g_pv !== _) { + (this.g_pu = g), (this.g_pv = _); + const e = this.g_qw.g_rc(); + e.bindFramebuffer(e.FRAMEBUFFER, this.g_rA), + this.g_qU + ? this.g_qU.g_rl(new ImageData(this.g_pu, this.g_pv)) + : (e.bindRenderbuffer(e.RENDERBUFFER, this.g_rB), + e.renderbufferStorage( + e.RENDERBUFFER, + this.g_rD ? e.RGBA8 : e.RGB8, + this.g_pu, + this.g_pv + ), + e.bindRenderbuffer(e.RENDERBUFFER, null)), + e.bindFramebuffer(e.FRAMEBUFFER, null); + } + } + g_rm() { + if (!this.g_qU && !this.g_rB) throw new Error('already deleted render target'); + n.delete(this); + const g = this.g_qw.g_rc(); + g.bindFramebuffer(g.FRAMEBUFFER, this.g_rA), + this.g_qU + ? (g.framebufferTexture2D(g.FRAMEBUFFER, g.COLOR_ATTACHMENT0, g.TEXTURE_2D, null, 0), + this.g_qw.g_rL(this.g_qU), + (this.g_qU = null)) + : this.g_rB && + (g.framebufferRenderbuffer(g.FRAMEBUFFER, g.COLOR_ATTACHMENT0, g.RENDERBUFFER, null), + g.deleteRenderbuffer(this.g_rB), + (this.g_rB = null)), + g.bindFramebuffer(g.FRAMEBUFFER, null), + 2 <= this.g_qw.g_rd() && + (g.bindFramebuffer(g.READ_FRAMEBUFFER, null), + g.bindFramebuffer(g.DRAW_FRAMEBUFFER, null)), + g.deleteFramebuffer(this.g_rA), + (this.g_qw.g_rN().g_rM = null), + (this.g_rA = null); + } + g_rO() { + return this.g_rA; + } + g_rP() { + return this.g_qw; + } + g_rQ() { + return this.g_qU; + } + g_rR() { + return 'nearest' !== this.g_qY; + } + g_rS() { + return this.g_rD; + } + g_rT() { + return this.g_rE; + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_rU() { + return this.g_rC; + } + g_rV() { + return this.g_rF; + } + g_rW() { + const g = { g_qO: this.g_qY, alpha: this.g_rD, g_rw: this.g_rE }; + return this.g_rC || ((g.width = this.g_pu), (g.height = this.g_pv)), g; + } + g_rX(g) { + return ( + (g = Object.assign({}, t, g)), + ('nearest' !== g.g_qO) === this.g_rR() && + !!g.alpha === this.g_rS() && + !(2 <= this.g_qw.g_rd() && !!g.g_rw !== this.g_rT()) && + ('number' == typeof g.width || 'number' == typeof g.height + ? !this.g_rU() && this.g_pN() === g.width && this.g_pO() === g.height + : this.g_rU()) + ); + } + g_rY() { + return this.g_qU ? this.g_qU.g_ro() : null; + } + g_ru() { + return this.g_qU ? this.g_qU.g_ru() : this.g_pu * this.g_pv * (this.g_rD ? 4 : 3); + } + static async g_rZ(g, _) { + const e = await g.g_r_(_, !0); + return await g_aO.g_gt(e); + } + static g_qI() { + n.clear(); + } + static g_r$() { + return n.values(); + } + static g_sa(g, _) { + for (const e of n) e.g_rU() && e.g_rK(g, _); + } + }; +} +{ + const g = new Set([ + 'aPos', + 'aTex', + 'aPoints', + 'matP', + 'matMV', + 'samplerFront', + 'samplerBack', + 'destStart', + 'destEnd', + 'srcStart', + 'srcEnd', + 'srcOriginStart', + 'srcOriginEnd', + 'pixelSize', + 'seconds', + 'layerScale', + 'layerAngle', + 'layoutStart', + 'layoutEnd', + 'color', + 'color2_', + 'pointTexStart', + 'pointTexEnd', + 'zElevation', + 'tileSize', + 'tileSpacing', + 'outlineThickness' + ]); + g_aO.g_ps.g_sb = class { + static async g_sc(_, a, t, n) { + const r = _.g_rc(), + e = r.createShader(r.FRAGMENT_SHADER); + r.shaderSource(e, a), r.compileShader(e); + const s = r.createShader(r.VERTEX_SHADER); + r.shaderSource(s, t), r.compileShader(s); + const g = r.createProgram(); + r.attachShader(g, e), + r.attachShader(g, s), + r.bindAttribLocation(g, 0, 'aPos'), + r.bindAttribLocation(g, 1, 'aTex'), + r.bindAttribLocation(g, 2, 'aPoints'), + r.linkProgram(g); + const d = _.g_sd(); + if ( + (d + ? await _.g_se(() => r.getProgramParameter(g, d.COMPLETION_STATUS_KHR)) + : await g_aO.g_ft(5), + !r.getShaderParameter(e, r.COMPILE_STATUS)) + ) { + const _ = r.getShaderInfoLog(e); + throw ( + (r.deleteShader(e), + r.deleteShader(s), + r.deleteProgram(g), + new Error('Error compiling fragment shader: ' + _)) + ); + } + if (!r.getShaderParameter(s, r.COMPILE_STATUS)) { + const _ = r.getShaderInfoLog(s); + throw ( + (r.deleteShader(e), + r.deleteShader(s), + r.deleteProgram(g), + new Error('Error compiling vertex shader: ' + _)) + ); + } + if (!r.getProgramParameter(g, r.LINK_STATUS)) { + const _ = r.getProgramInfoLog(g); + throw ( + (r.deleteShader(e), + r.deleteShader(s), + r.deleteProgram(g), + new Error('Error linking shader program: ' + _)) + ); + } + const i = g_aO.g_oe(r.getProgramInfoLog(g) || '').trim(); + return ( + i && !g_aO.g_oc(i) && console.info(`[WebGL] Shader program '${n}' compilation log: `, i), + r.deleteShader(e), + r.deleteShader(s), + g + ); + } + static async g_sf(g, _, a, t) { + const n = await g_aO.g_ps.g_sb.g_sc(g, _.src, a, t); + return new g_aO.g_ps.g_sb(g, n, _, t); + } + constructor(_, a, t, n) { + const r = _.g_rc(), + e = _.g_rN(); + _.g_qt(), + r.useProgram(a), + (this.g_sg = r), + (this.g_qw = _), + (this.g_en = n), + (this.g_qx = a), + (this.g_sh = '' === n); + const s = r.getAttribLocation(a, 'aPos'), + g = r.getAttribLocation(a, 'aTex'), + d = r.getAttribLocation(a, 'aPoints'); + -1 !== s && + (r.bindBuffer(r.ARRAY_BUFFER, _.g_si), + r.vertexAttribPointer(s, _.g_sj(), r.FLOAT, !1, 0, 0), + r.enableVertexAttribArray(s)), + -1 !== g && + (r.bindBuffer(r.ARRAY_BUFFER, _.g_sk), + r.vertexAttribPointer(g, 2, r.FLOAT, !1, 0, 0), + r.enableVertexAttribArray(g)), + -1 !== d && + (r.bindBuffer(r.ARRAY_BUFFER, _.g_sl), + r.vertexAttribPointer(d, 4, r.FLOAT, !1, 0, 0), + r.enableVertexAttribArray(d)), + r.bindBuffer(r.ARRAY_BUFFER, null), + (this.g_sm = new g_aO.g_ps.g_sn(this, 'matP', 'mat4')), + (this.g_so = new g_aO.g_ps.g_sn(this, 'matMV', 'mat4')), + (this.g_sp = new g_aO.g_ps.g_sn(this, 'color', 'vec4')), + (this.g_sq = new g_aO.g_ps.g_sn(this, 'samplerFront', 'sampler')), + (this.g_sr = new g_aO.g_ps.g_sn(this, 'pointTexStart', 'vec2')), + (this.g_ss = new g_aO.g_ps.g_sn(this, 'pointTexEnd', 'vec2')), + (this.g_st = new g_aO.g_ps.g_sn(this, 'zElevation', 'float')), + (this.g_su = new g_aO.g_ps.g_sn(this, 'tileSize', 'vec2')), + (this.g_sv = new g_aO.g_ps.g_sn(this, 'tileSpacing', 'vec2')), + (this.g_sw = new g_aO.g_ps.g_sn(this, 'color2_', 'vec4')), + (this.g_sx = new g_aO.g_ps.g_sn(this, 'outlineThickness', 'float')), + (this.g_sy = new g_aO.g_ps.g_sn(this, 'samplerBack', 'sampler')), + (this.g_sz = new g_aO.g_ps.g_sn(this, 'destStart', 'vec2')), + (this.g_sA = new g_aO.g_ps.g_sn(this, 'destEnd', 'vec2')), + (this.g_sB = new g_aO.g_ps.g_sn(this, 'srcStart', 'vec2')), + (this.g_sC = new g_aO.g_ps.g_sn(this, 'srcEnd', 'vec2')), + (this.g_sD = new g_aO.g_ps.g_sn(this, 'srcOriginStart', 'vec2')), + (this.g_sE = new g_aO.g_ps.g_sn(this, 'srcOriginEnd', 'vec2')), + (this.g_sF = new g_aO.g_ps.g_sn(this, 'pixelSize', 'vec2')), + (this.g_sG = new g_aO.g_ps.g_sn(this, 'seconds', 'float')), + (this.g_sH = new g_aO.g_ps.g_sn(this, 'layerScale', 'float')), + (this.g_sI = new g_aO.g_ps.g_sn(this, 'layerAngle', 'float')), + (this.g_sJ = new g_aO.g_ps.g_sn(this, 'layoutStart', 'vec2')), + (this.g_sK = new g_aO.g_ps.g_sn(this, 'layoutEnd', 'vec2')), + (this.g_sL = !!( + this.g_sF.g_sM() || + this.g_sG.g_sM() || + this.g_sy.g_sM() || + this.g_sz.g_sM() || + this.g_sA.g_sM() || + this.g_sB.g_sM() || + this.g_sC.g_sM() || + this.g_sD.g_sM() || + this.g_sE.g_sM() || + this.g_sH.g_sM() || + this.g_sI.g_sM() || + this.g_sJ.g_sM() || + this.g_sK.g_sM() + )), + (this.g_sN = t.g_sO || 0), + (this.g_sP = t.g_sQ || 0), + (this.g_sR = !!t.g_sS), + (this.g_sT = !!t.g_sU), + (this.g_sV = !!t.g_sW), + (this.g_sX = !!t.g_sY); + const i = t.g_sZ || []; + (this.g_s_ = []), + (this.g_s$ = this.g_sz.g_sM() || this.g_sA.g_sM()), + (this.g_ta = + this.g_sF.g_sM() || + this.g_sB.g_sM() || + this.g_sC.g_sM() || + this.g_sD.g_sM() || + this.g_sE.g_sM()), + (this.g_tb = this.g_sR || this.g_s$ || 0 !== this.g_sN || 0 !== this.g_sP), + (this.g_tc = !1), + (this.g_td = !1), + this.g_sp.g_te(1, 1, 1, 1), + this.g_sw.g_te(1, 1, 1, 1), + this.g_sq.g_tf(0), + this.g_sy.g_tf(1), + this.g_sr.g_tg(0, 0), + this.g_ss.g_tg(1, 1), + this.g_st.g_th(0), + this.g_su.g_tg(0, 0), + this.g_sv.g_tg(0, 0), + this.g_sz.g_tg(0, 0), + this.g_sA.g_tg(1, 1), + this.g_sB.g_tg(0, 0), + this.g_sC.g_tg(0, 0), + this.g_sD.g_tg(0, 0), + this.g_sE.g_tg(0, 0), + this.g_sF.g_tg(0, 0), + this.g_sH.g_th(1), + this.g_sI.g_th(0), + this.g_sG.g_th(0), + this.g_sJ.g_tg(0, 0), + this.g_sK.g_tg(0, 0), + this.g_sx.g_th(1); + for (const g of i) { + const _ = g[0], + e = g[2], + a = new g_aO.g_ps.g_sn(this, _, e); + 'color' === e ? a.g_ti(0, 0, 0) : a.g_th(0), this.g_s_.push(a); + } + this.g_sh ? this.g_tj(e.g_tk) : (this.g_tl(e.g_tk, !0), this.g_tm(e.g_tn, !0)); + const l = e.g_to; + r.useProgram(l ? l.g_qx : null); + } + g_ek() { + this.g_sg.deleteProgram(this.g_qx), + (this.g_qx = null), + this.g_qw.g_pZ(this), + (this.g_sg = null), + (this.g_qw = null); + } + g_pY() { + return this.g_en; + } + g_tp() { + return this.g_sg; + } + g_tq() { + return this.g_qx; + } + g_tr() { + return this.g_s$; + } + g_ts() { + return this.g_sR; + } + g_tt() { + return this.g_sT; + } + g_tu() { + return this.g_sV; + } + g_tv() { + return 0 !== this.g_sN || 0 !== this.g_sP; + } + g_tw() { + return this.g_sN; + } + g_tx() { + return this.g_sP; + } + g_ty() { + return this.g_ta; + } + g_tz() { + return this.g_tb; + } + g_tA() { + return this.g_s_.length; + } + g_tB(g) { + return this.g_s_[g].g_tC(); + } + g_tD(g) { + for (let _ = 0, e = g.length; _ < e; ++_) if (!this.g_s_[_].g_tE(g[_])) return !1; + return !0; + } + g_tF(g) { + for (let _ = 0, e = g.length; _ < e; ++_) this.g_s_[_].g_tG(g[_]); + } + g_tH(_, a, t, n, r, e, s, g, d) { + return ( + !this.g_sy.g_sM() && + (!this.g_sF.g_sM() || this.g_sF.g_tI(r, e)) && + (!this.g_sz.g_sM() || this.g_sz.g_tI(_.g_hV(), _.g_hW())) && + (!this.g_sA.g_sM() || this.g_sA.g_tI(_.g_hX(), _.g_hY())) && + (!this.g_sH.g_sM() || this.g_sH.g_tJ(s)) && + (!this.g_sI.g_sM() || this.g_sI.g_tJ(g)) && + (!this.g_sB.g_sM() || this.g_sB.g_tI(a.g_hV(), a.g_hW())) && + (!this.g_sC.g_sM() || this.g_sC.g_tI(a.g_hX(), a.g_hY())) && + (!this.g_sD.g_sM() || this.g_sD.g_tI(t.g_hV(), t.g_hW())) && + (!this.g_sE.g_sM() || this.g_sE.g_tI(t.g_hX(), t.g_hY())) && + (!this.g_sJ.g_sM() || this.g_sJ.g_tI(n.g_hV(), n.g_hW())) && + (!this.g_sK.g_sM() || this.g_sK.g_tI(n.g_hW(), n.g_hY())) && + (!this.g_sG.g_sM() || this.g_sG.g_tJ(d)) + ); + } + g_tK(_, a, t, n, r, e, s, g, d) { + this.g_sy.g_sM() || + (this.g_sF.g_sM() && this.g_sF.g_tL(r, e), + this.g_sz.g_sM() && this.g_sz.g_tL(_.g_hV(), _.g_hW()), + this.g_sA.g_sM() && this.g_sA.g_tL(_.g_hX(), _.g_hY()), + this.g_sH.g_sM() && this.g_sH.g_tM(s), + this.g_sI.g_sM() && this.g_sI.g_tM(g), + this.g_sB.g_sM() && this.g_sB.g_tL(a.g_hV(), a.g_hW()), + this.g_sC.g_sM() && this.g_sC.g_tL(a.g_hX(), a.g_hY()), + this.g_sD.g_sM() && this.g_sD.g_tL(t.g_hV(), t.g_hW()), + this.g_sE.g_sM() && this.g_sE.g_tL(t.g_hX(), t.g_hY()), + this.g_sJ.g_sM() && this.g_sJ.g_tL(n.g_hV(), n.g_hW()), + this.g_sK.g_sM() && this.g_sK.g_tL(n.g_hW(), n.g_hY()), + this.g_sG.g_sM() && this.g_sG.g_tM(d)); + } + g_tN() { + return this.g_sX; + } + g_tl(g, _) { + (this.g_tc && !_) || this.g_sh || (this.g_sm.g_sM() && this.g_sm.g_tO(g), (this.g_tc = !0)); + } + g_tP() { + this.g_tc = !1; + } + g_tm(g, _) { + (this.g_td && !_) || this.g_sh || (this.g_so.g_sM() && this.g_so.g_tO(g), (this.g_td = !0)); + } + g_tQ() { + this.g_td = !1; + } + g_tj(_) { + if (!this.g_sh) throw new Error('not device transform shader'); + this.g_sm.g_tO(_); + const a = this.g_qw, + t = a.g_pN() / 2, + n = a.g_pO() / 2, + i = a.g_pz, + e = vec3.g_q(t * i[0], n * i[1], 100 * self.devicePixelRatio), + r = vec3.g_q(t * i[0], n * i[1], 0), + g = mat4.create(); + mat4.g_at(g, e, r, a.g_py), mat4.scale(g, g, i), this.g_so.g_tO(g); + } + g_tR(g) { + this.g_sp.g_sM() && this.g_sp.g_tS(g[0], g[1], g[2], g[3]); + } + static g_tT() { + return g; + } + static g_tU(g, _) { + const e = _ ? 'highmedp' : 'mediump'; + return [ + `#ifdef GL_FRAGMENT_PRECISION_HIGH`, + `#define highmedp highp`, + `#else`, + `#define highmedp mediump`, + `#endif`, + `attribute highp ${g ? 'vec3' : 'vec2'} aPos;`, + `attribute ${e} vec2 aTex;`, + `varying ${e} vec2 vTex;`, + `uniform highp mat4 matP;`, + `uniform highp mat4 matMV;`, + `void main(void) {`, + ` gl_Position = matP * matMV * vec4(aPos, ${g ? '' : '0.0,'} 1.0);`, + ` vTex = aTex;`, + `}` + ].join('\n'); + } + static g_tV() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex) * color;\n}'; + } + static g_tW() { + return '#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nvarying highmedp vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nuniform highmedp vec2 srcStart;\nuniform highmedp vec2 pixelSize;\nuniform highmedp vec2 tileSize;\nuniform highmedp vec2 tileSpacing;\nvoid main(void) {\n\thighmedp vec2 tile = floor(vTex);\n\thighmedp vec2 tex = fract(vTex);\n\thighmedp vec2 tileOrigin = srcStart + tile * (tileSize + tileSpacing);\n\thighmedp vec2 lowerBound = tileOrigin + pixelSize / 2.0;\n\thighmedp vec2 upperBound = tileOrigin + tileSize - pixelSize / 2.0;\n\tgl_FragColor = texture2D(samplerFront, clamp(tex, lowerBound, upperBound), -16.0) * color;\n}'; + } + static g_tX() { + return 'attribute vec4 aPoints;\nvarying float pointOpacity;\nuniform float zElevation;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPoints.xy, zElevation, 1.0);\n\tgl_PointSize = aPoints.z;\n\tpointOpacity = aPoints.w;\n}'; + } + static g_tY() { + return 'uniform lowp sampler2D samplerFront;\nvarying lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, mix(pointTexStart, pointTexEnd, gl_PointCoord)) * color * pointOpacity;\n}'; + } + static g_tZ() { + return 'uniform lowp vec4 color;\nvoid main(void) {\n\tgl_FragColor = color;\n}'; + } + static g_t_() { + return 'precision lowp float;\nvarying mediump vec2 vTex;\nuniform vec4 color;\nuniform vec4 color2_;\nvec3 fromLinear(vec3 linearRGB)\n{\n\tbvec3 cutoff = lessThan(linearRGB, vec3(0.0031308));\n\tvec3 higher = vec3(1.055) * pow(abs(linearRGB), vec3(1.0/2.4)) - vec3(0.055);\n\tvec3 lower = linearRGB * vec3(12.92);\n\treturn mix(higher, lower, vec3(cutoff));\n}\nvec3 toLinear(vec3 sRGB)\n{\n\tbvec3 cutoff = lessThan(sRGB, vec3(0.04045));\n\tvec3 higher = pow(abs((sRGB + vec3(0.055))/vec3(1.055)), vec3(2.4));\n\tvec3 lower = sRGB/vec3(12.92);\n\treturn mix(higher, lower, vec3(cutoff));\n}\nvoid main(void) {\n\tvec3 linearGrad = mix(toLinear(color.rgb), toLinear(color2_.rgb), vTex.x);\n\tfloat a = mix(color.a, color2_.a, vTex.x);\n\tgl_FragColor = vec4(fromLinear(linearGrad) * a, a);\n}'; + } + static g_t$() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nvoid main(void) {\n\tlowp float f = 1.0 - abs(vTex.y - 0.5) * 2.0;\n\tgl_FragColor = color * f;\n}'; + } + static g_ua() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump float f = step(diffSq.x + diffSq.y, 0.25);\n\tgl_FragColor = color * f;\n}'; + } + static g_ub() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nuniform mediump float outlineThickness;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump float distSq = diffSq.x + diffSq.y;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump float innerF = step(distSq, 0.25);\n\tmediump vec2 innerEdge = halfNorm - pixelSize * norm * outlineThickness;\n\tmediump vec2 innerEdgeSq = innerEdge * innerEdge;\n\tmediump float outerF = step(innerEdgeSq.x + innerEdgeSq.y, distSq);\n\tgl_FragColor = color * innerF * outerF;\n}'; + } + static g_uc() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump vec2 halfNormSq = halfNorm * halfNorm;\n\tmediump vec2 innerEdge = halfNorm - pixelSize * norm;\n\tmediump vec2 innerEdgeSq = innerEdge * innerEdge;\n\tmediump float f = smoothstep(halfNormSq.x + halfNormSq.y, innerEdgeSq.x + innerEdgeSq.y, diffSq.x + diffSq.y);\n\tgl_FragColor = color * f;\n}'; + } + static g_ud() { + return 'varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nuniform mediump float outlineThickness;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump float distSq = diffSq.x + diffSq.y;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump vec2 halfNormSq = halfNorm * halfNorm;\n\tmediump vec2 pxNorm = pixelSize * norm;\n\tmediump vec2 innerEdge1 = halfNorm - pxNorm;\n\tmediump vec2 innerEdge1Sq = innerEdge1 * innerEdge1;\n\tmediump float innerF = smoothstep(halfNormSq.x + halfNormSq.y, innerEdge1Sq.x + innerEdge1Sq.y, distSq);\n\tmediump vec2 innerEdge2 = halfNorm - pxNorm * outlineThickness;\n\tmediump vec2 innerEdge2Sq = innerEdge2 * innerEdge2;\n\tmediump vec2 innerEdge3 = halfNorm - pxNorm * (outlineThickness + 1.0);\n\tmediump vec2 innerEdge3Sq = innerEdge3 * innerEdge3;\n\tmediump float outerF = smoothstep(innerEdge3Sq.x + innerEdge3Sq.y, innerEdge2Sq.x + innerEdge2Sq.y, distSq);\n\tgl_FragColor = color * innerF * outerF;\n}'; + } + }; +} +{ + function g(g, _) { + return ( + g[0] === _[0] && + g[1] === _[1] && + g[2] === _[2] && + g[3] === _[3] && + g[4] === _[4] && + g[5] === _[5] && + g[6] === _[6] && + g[7] === _[7] && + g[8] === _[8] && + g[9] === _[9] && + g[10] === _[10] && + g[11] === _[11] && + g[12] === _[12] && + g[13] === _[13] && + g[14] === _[14] && + g[15] === _[15] + ); + } + const _ = new Map([ + ['float', 1], + ['percent', 1], + ['sampler', 1], + ['vec2', 2], + ['vec3', 3], + ['color', 3], + ['vec4', 4], + ['mat4', 16] + ]); + g_aO.g_ps.g_sn = class { + constructor(g, a, t) { + if (!_.has(t)) throw new Error('invalid uniform type'); + (this.g_ue = g), + (this.g_sg = this.g_ue.g_tp()), + (this.g_en = a), + (this.g_kL = t), + (this.g_uf = 'color' === this.g_kL), + (this.g_ug = this.g_sg.getUniformLocation(this.g_ue.g_tq(), a)), + (this.g_uh = !!this.g_ug); + const n = _.get(t); + (this.g_ui = new Float32Array(n)), (this.g_uj = new Float32Array(n)); + } + g_ek() { + (this.g_ue = null), (this.g_sg = null), (this.g_ug = null); + } + g_sM() { + return this.g_uh; + } + g_tC() { + return this.g_kL; + } + g_uk() { + return this.g_uf; + } + g_th(g) { + this.g_sM() && + ((this.g_ui[0] = g), this.g_uj.set(this.g_ui), this.g_sg.uniform1f(this.g_ug, g)); + } + g_tf(g) { + this.g_sM() && + ((this.g_ui[0] = g), this.g_uj.set(this.g_ui), this.g_sg.uniform1i(this.g_ug, g)); + } + g_tg(g, _) { + this.g_sM() && + ((this.g_ui[0] = g), + (this.g_ui[1] = _), + this.g_uj.set(this.g_ui), + this.g_sg.uniform2f(this.g_ug, g, _)); + } + g_ti(g, _, e) { + this.g_sM() && + ((this.g_ui[0] = g), + (this.g_ui[1] = _), + (this.g_ui[2] = e), + this.g_uj.set(this.g_ui), + this.g_sg.uniform3f(this.g_ug, g, _, e)); + } + g_te(g, _, e, a) { + this.g_sM() && + ((this.g_ui[0] = g), + (this.g_ui[1] = _), + (this.g_ui[2] = e), + (this.g_ui[3] = a), + this.g_uj.set(this.g_ui), + this.g_sg.uniform4f(this.g_ug, g, _, e, a)); + } + g_ul(g) { + g = Math.fround(g); + const _ = this.g_ui; + _[0] === g || ((_[0] = g), this.g_sg.uniform1f(this.g_ug, g)); + } + g_um(g) { + const _ = this.g_ui; + _[0] === g || ((_[0] = g), this.g_sg.uniform1i(this.g_ug, g)); + } + g_un(g, _) { + var e = Math.fround; + (g = e(g)), (_ = e(_)); + const t = this.g_ui; + (t[0] === g && t[1] === _) || ((t[0] = g), (t[1] = _), this.g_sg.uniform2f(this.g_ug, g, _)); + } + g_uo(g, _, t) { + var n = Math.fround; + (g = n(g)), (_ = n(_)), (t = n(t)); + const i = this.g_ui; + (i[0] === g && i[1] === _ && i[2] === t) || + ((i[0] = g), (i[1] = _), (i[2] = t), this.g_sg.uniform3f(this.g_ug, g, _, t)); + } + g_tS(g, _, t, n) { + var i = Math.fround; + (g = i(g)), (_ = i(_)), (t = i(t)), (n = i(n)); + const e = this.g_ui; + (e[0] === g && e[1] === _ && e[2] === t && e[3] === n) || + ((e[0] = g), + (e[1] = _), + (e[2] = t), + (e[3] = n), + this.g_sg.uniform4f(this.g_ug, g, _, t, n)); + } + g_tO(_) { + const e = this.g_ui; + g(e, _) || (g_aO.g_fx(e, _, 0), this.g_sg.uniformMatrix4fv(this.g_ug, !1, _)); + } + g_tE(g) { + var _ = Math.fround; + const e = this.g_uj; + return this.g_uk() + ? e[0] === _(g.g_gP()) && e[1] === _(g.g_gQ()) && e[2] === _(g.g_gR()) + : e[0] === _(g); + } + g_tG(g) { + const _ = this.g_uj; + this.g_uk() ? ((_[0] = g.g_gP()), (_[1] = g.g_gQ()), (_[2] = g.g_gR())) : (_[0] = g); + } + g_tJ(g) { + return this.g_uj[0] === Math.fround(g); + } + g_tI(g, _) { + var e = Math.fround; + const a = this.g_uj; + return a[0] === e(g) && a[1] === e(_); + } + g_tM(g) { + this.g_uj[0] = g; + } + g_tL(g, _) { + const e = this.g_uj; + (e[0] = g), (e[1] = _); + } + }; +} +'use strict', + (g_aO.g_ps.g_up = class { + constructor(g) { + (this.g_uq = g), + (this.g_tn = mat4.create()), + (this.g_tk = mat4.create()), + (this.g_rM = null), + (this.g_ur = vec4.g_q(1, 1, 1, 1)), + (this.g_to = null), + (this.g_us = new g_aO.Rect()), + (this.clearColor = g_aO.g_ej(g_aO.g_gB, 0, 0, 0, 0)); + } + }), + (g_aO.g_ps.g_ut = class { + constructor(g) { + const _ = new ArrayBuffer(96); + (this.g_kL = 0), + (this.g_uu = g), + (this.g_sg = g.g_uq.g_rc()), + (this.g_uv = 0), + (this.g_uw = 0), + (this.g_ux = null), + (this.g_uy = new Float32Array(_, 0, 16)), + (this.g_uz = new Float32Array(_, 64, 4)), + (this.g_uA = new Float32Array(_, 80, 4)), + (this.g_uB = []); + } + g_uC(g, _) { + (this.g_kL = 1), (this.g_uv = g), (this.g_uw = _); + } + g_uD() { + const g = this.g_sg; + g.drawElements(g.TRIANGLES, this.g_uw, g.UNSIGNED_SHORT, this.g_uv); + } + g_uE(g) { + (this.g_kL = 2), (this.g_ux = g); + } + g_uF() { + const g = this.g_sg, + _ = this.g_ux; + g.bindTexture(g.TEXTURE_2D, _ ? _.g_ro() : null); + } + g_uG(g) { + (this.g_kL = 3), g.g_gU(this.g_uz, 0); + } + g_uH() { + const g = this.g_uz, + _ = this.g_uu; + vec4.g_p(_.g_ur, g), _.g_to.g_tR(g); + } + g_uI(g) { + (this.g_kL = 19), g.g_gU(this.g_uz, 0); + } + g_uJ() { + const g = this.g_uz, + _ = this.g_uu.g_to; + _.g_sw.g_sM() && _.g_sw.g_tS(g[0], g[1], g[2], g[3]); + } + g_uK(g, _) { + (this.g_kL = 4), (this.g_uv = g), (this.g_uw = _); + } + g_uL() { + this.g_sg.blendFunc(this.g_uv, this.g_uw); + } + g_uM(g) { + (this.g_kL = 5), mat4.g_p(this.g_uy, g); + } + g_uN() { + const g = this.g_uu, + _ = g.g_uq.g_pD, + t = g.g_to, + n = this.g_uy; + for (let g = 0, a = _.length; g < a; ++g) { + const a = _[g]; + a === t ? a.g_tm(n, !0) : a.g_tQ(); + } + mat4.g_p(g.g_tn, n); + } + g_uO(g, _, e) { + (this.g_kL = 6), (this.g_ux = g), (this.g_uv = _ ? 1 : 0), _ && mat4.g_p(this.g_uy, e); + } + g_uP() { + const _ = this.g_sg, + a = this.g_ux, + t = 0 !== this.g_uv, + n = this.g_uy, + i = this.g_uu, + e = i.g_uq; + let r, s; + if (a) { + const g = a.g_rO(); + (i.g_rM = g), _.bindFramebuffer(_.FRAMEBUFFER, g), (r = a.g_pN()), (s = a.g_pO()); + } else + (i.g_rM = null), _.bindFramebuffer(_.FRAMEBUFFER, null), (r = e.g_uQ()), (s = e.g_uR()); + t && e.g_uS(r, s, n); + } + g_uT(g) { + (this.g_kL = 7), g.g_gU(this.g_uy, 0); + } + g_uU(g, _, e, t) { + this.g_kL = 7; + const n = this.g_uy; + (n[0] = g), (n[1] = _), (n[2] = e), (n[3] = t); + } + g_uV() { + const _ = this.g_sg, + a = this.g_uy, + t = this.g_uu, + e = t.g_uq, + n = t.clearColor, + r = e.g_uW && g_aO.g_aW; + r && _.disable(_.SCISSOR_TEST); + const i = a[0], + s = a[1], + d = a[2], + g = a[3]; + n.g_gX(i, s, d, g) || (_.clearColor(i, s, d, g), n.g_gG(i, s, d, g)), + _.clear(_.COLOR_BUFFER_BIT), + r && _.enable(_.SCISSOR_TEST); + } + g_uX(_, t, n, e, r, s, i, g) { + this.g_kL = 8; + const d = this.g_uy; + (d[0] = _), + (d[1] = t), + (d[2] = n), + (d[3] = e), + (d[4] = r), + (d[5] = s), + (d[6] = i), + (d[7] = g); + } + g_uY() { + const _ = this.g_sg, + a = this.g_uy, + t = this.g_uu, + e = t.g_uq, + n = t.clearColor; + e.g_uW || _.enable(_.SCISSOR_TEST), _.scissor(a[0], a[1], a[2], a[3]); + const r = a[4], + i = a[5], + s = a[6], + g = a[7]; + n.g_gX(r, i, s, g) || (_.clearColor(r, i, s, g), n.g_gG(r, i, s, g)), + _.clear(_.COLOR_BUFFER_BIT), + e.g_uW ? _.scissor(0, 0, e.g_uZ, e.g_u_) : _.disable(_.SCISSOR_TEST); + } + g_u$(g) { + (this.g_kL = 13), g.g_gU(this.g_uy, 0); + } + g_va() { + const g = this.g_uy; + this.g_uu.g_us.set(g[0], g[1], g[2], g[3]); + } + g_vb(g, _) { + (this.g_kL = 9), (this.g_uv = g), (this.g_uw = 1), (this.g_uy[0] = _); + } + g_vc() { + const g = this.g_sg, + _ = this.g_uu, + a = _.g_uq, + t = a.g_vd; + g.useProgram(t.g_qx), t.g_tl(_.g_tk, !1), t.g_tm(_.g_tn, !1); + const n = _.g_us; + t.g_sr.g_sM() && t.g_sr.g_un(n.g_hV(), n.g_hW()), + t.g_ss.g_sM() && t.g_ss.g_un(n.g_hX(), n.g_hY()); + const e = this.g_uy[0]; + if ((t.g_st.g_sM() && t.g_st.g_ul(e), t.g_sp.g_sM())) { + const g = _.g_ur; + t.g_sp.g_tS(g[0], g[1], g[2], g[3]); + } + g.drawArrays(g.POINTS, this.g_uv / 4, this.g_uw), g.useProgram(_.g_to.g_qx); + } + g_ve(g) { + (this.g_kL = 10), (this.g_ux = g); + } + g_vf() { + const g = this.g_sg, + _ = this.g_uu, + e = this.g_ux; + if ( + ((_.g_to = e), g.useProgram(e.g_qx), e.g_tl(_.g_tk, !1), e.g_tm(_.g_tn, !1), e.g_sp.g_sM()) + ) { + const g = _.g_ur; + e.g_sp.g_tS(g[0], g[1], g[2], g[3]); + } + } + g_vg() { + this.g_kL = 11; + } + g_vh() { + const g = this.g_uu.g_to; + g.g_sL && this.g_vi(g), g.g_s_.length && this.g_vj(g); + } + g_vi(g) { + const _ = this.g_sg, + a = this.g_uy, + t = this.g_uz, + n = this.g_uA; + if (g.g_sy.g_sM()) { + const g = this.g_uu.g_uq, + e = this.g_ux; + g.g_vk !== e && + (_.activeTexture(_.TEXTURE1), + _.bindTexture(_.TEXTURE_2D, e ? e.g_ro() : null), + (g.g_vk = e), + _.activeTexture(_.TEXTURE0)); + } + g.g_sF.g_sM() && g.g_sF.g_un(a[0], a[1]), + g.g_sz.g_sM() && g.g_sz.g_un(a[2], a[3]), + g.g_sA.g_sM() && g.g_sA.g_un(a[4], a[5]), + g.g_sH.g_sM() && g.g_sH.g_ul(a[6]), + g.g_sI.g_sM() && g.g_sI.g_ul(a[7]), + g.g_sB.g_sM() && g.g_sB.g_un(a[12], a[13]), + g.g_sC.g_sM() && g.g_sC.g_un(a[14], a[15]), + g.g_sD.g_sM() && g.g_sD.g_un(n[0], n[1]), + g.g_sE.g_sM() && g.g_sE.g_un(n[2], n[3]), + g.g_sJ.g_sM() && g.g_sJ.g_un(t[0], t[1]), + g.g_sK.g_sM() && g.g_sK.g_un(t[2], t[3]), + g.g_sG.g_sM() && g.g_sG.g_ul(this.g_uv); + } + g_vj(g) { + const _ = g.g_s_, + t = this.g_uB; + for (let n = 0, a = _.length; n < a; ++n) { + const g = _[n], + a = t[n]; + g.g_uk() ? g.g_uo(a.g_gP(), a.g_gQ(), a.g_gR()) : g.g_ul(a); + } + } + g_vl(g) { + (this.g_kL = 12), (this.g_ux = g); + } + g_vm() { + const g = this.g_sg, + _ = this.g_ux, + e = this.g_uu.g_rM; + _ !== e && g.bindFramebuffer(g.FRAMEBUFFER, _), + g.invalidateFramebuffer(g.FRAMEBUFFER, [g.COLOR_ATTACHMENT0]), + _ !== e && g.bindFramebuffer(g.FRAMEBUFFER, e); + } + g_vn(g, _, a) { + this.g_kL = 15; + const t = this.g_uy, + n = this.g_uu.g_uq; + (t[0] = g.g_pN()), + (t[1] = g.g_pO()), + (t[2] = _ ? _.g_pN() : n.g_pN()), + (t[3] = _ ? _.g_pO() : n.g_pO()), + (t[4] = g.g_rR() ? 1 : 0), + (t[5] = 'stretch' === a); + const e = this.g_uB; + g_aO.g_fz(e), e.push(g.g_rO()), e.push(_ ? _.g_rO() : null); + } + g_vo() { + var _ = Math.max, + a = Math.min; + const t = this.g_uy, + n = this.g_uB, + r = this.g_sg, + e = t[0], + s = t[1], + g = t[2], + i = t[3], + d = 0 !== t[4], + o = 0 !== t[5], + u = n[0], + l = n[1]; + if ((r.bindFramebuffer(r.READ_FRAMEBUFFER, u), r.bindFramebuffer(r.DRAW_FRAMEBUFFER, l), o)) + r.blitFramebuffer(0, 0, e, s, 0, 0, g, i, r.COLOR_BUFFER_BIT, d ? r.LINEAR : r.NEAREST); + else { + const t = a(e, g), + n = a(s, i), + d = _(s - i, 0), + l = _(i - s, 0); + r.blitFramebuffer(0, d, t, n + d, 0, l, t, n + l, r.COLOR_BUFFER_BIT, r.NEAREST); + } + } + g_vp(g) { + (this.g_kL = 16), (this.g_ux = g); + } + g_vq() { + this.g_ux.g_vr(), (this.g_ux = null); + } + g_vs(g) { + (this.g_kL = 17), (this.g_ux = g); + } + g_vt() { + this.g_ux.g_vu(), (this.g_ux = null); + } + g_vv(g, _, e) { + this.g_kL = 18; + const a = this.g_uy; + (a[0] = g), (a[1] = _), (a[2] = e); + } + g_vw() { + const g = this.g_uu.g_to, + _ = this.g_uy; + g.g_sF.g_sM() && g.g_sF.g_un(_[0], _[1]), g.g_sx.g_sM() && g.g_sx.g_ul(_[2]); + } + g_vx(_, a, t, n, i, e, r) { + this.g_kL = 14; + const g = this.g_uy; + _.g_gU(g, 0), + (g[4] = 1 / a), + (g[5] = 1 / t), + (g[6] = n / a), + (g[7] = i / t), + (g[8] = e / a), + (g[9] = r / t); + } + g_vy() { + const g = this.g_uu.g_to, + _ = this.g_uy; + g.g_sB.g_sM() && g.g_sB.g_un(_[0], _[1]), + g.g_sF.g_sM() && g.g_sF.g_un(_[4], _[5]), + g.g_su.g_sM() && g.g_su.g_un(_[6], _[7]), + g.g_sv.g_sM() && g.g_sv.g_un(_[8], _[9]); + } + g_vz() { + switch (this.g_kL) { + case 1: + return void this.g_uD(); + case 2: + return void this.g_uF(); + case 3: + return void this.g_uH(); + case 4: + return void this.g_uL(); + case 5: + return void this.g_uN(); + case 6: + return void this.g_uP(); + case 7: + return void this.g_uV(); + case 8: + return void this.g_uY(); + case 9: + return void this.g_vc(); + case 10: + return void this.g_vf(); + case 11: + return void this.g_vh(); + case 12: + return void this.g_vm(); + case 13: + return void this.g_va(); + case 14: + return void this.g_vy(); + case 15: + return void this.g_vo(); + case 16: + return void this.g_vq(); + case 17: + return void this.g_vt(); + case 18: + return void this.g_vw(); + case 19: + return void this.g_uJ(); + } + } + }), + 'use strict'; +{ + function _(g, _, a, t, n, e) { + _ + ? 'Gecko' === g_aO.g_bJ.g_bR + ? g.strokeText(a, t, n, e) + : g.strokeText(a, t, n) + : 'Gecko' === g_aO.g_bJ.g_bR + ? g.fillText(a, t, n, e) + : g.fillText(a, t, n); + } + function a(g, _, a, t, n, e) { + _ ? g.strokeRect(a, t, n, e) : g.fillRect(a, t, n, e); + } + function t(g) { + return g * (4 / 3); + } + const n = { timeout: 60 }, + r = new g_aO.g_gB(0, 0, 0, 1), + e = new Set(['left', 'center', 'right']), + s = new Set(['top', 'center', 'bottom']), + g = new Set(['word', 'character']), + d = new Set(); + g_aO.g_vA && + g_aO.g_vA.addEventListener('fontload', (g) => { + const _ = g.font.g_pY(); + for (const e of d) (e.g_vB() || g_aO.g_dB(e.g_vC(), _)) && e.g_vD(); + }), + (g_aO.g_ps.g_vE = class { + constructor(g, _) { + (_ = Object.assign({}, n, _)), + (this.g_qw = g), + (this.g_vF = 'Arial'), + (this.g_vG = 16), + (this.g_vH = 0), + (this.g_vI = !1), + (this.g_vJ = !1), + (this.g_vK = 'black'), + (this.g_vL = !1), + (this.g_vM = null), + (this.g_vN = new Set()), + (this.g_vO = 'left'), + (this.g_vP = 'top'), + (this.g_vQ = ''), + (this.g_vR = null), + (this.g_vS = g_aO.g_ej(g_aO.g_pf)), + (this.g_vT = 'word'), + (this.g_vU = !1), + (this.g_vV = !1), + (this.g_vW = !0), + (this.g_vX = -1), + (this.g_vY = 0), + (this.g_vZ = 0), + (this.g_v_ = 0), + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_v$ = 1), + (this.g_wa = !1), + (this.g_wb = null), + (this.g_wc = null), + (this.g_wd = null), + (this.g_we = -1), + (this.g_wf = -1), + (this.g_wg = ''), + (this.g_wh = ''), + (this.g_wi = ''), + (this.g_wj = 1), + (this.g_wk = 1), + (this.g_wl = (g, _) => this.g_wm(g, _)), + (this.g_qU = null), + (this.g_wn = 0), + (this.g_wo = 0), + (this.g_wp = new g_aO.Rect()), + (this.g_wq = 1), + (this.g_wr = !1), + (this.g_ws = new g_aO.g_lx(() => { + this.g_wt(), this.g_wu(8, 8); + }, _.timeout)), + (this.g_wv = null), + (this.g_ww = !1), + d.add(this); + } + g_ek() { + (this.g_vM = null), + this.g_vN.clear(), + (this.g_vR = null), + (this.g_wb = null), + (this.g_wc = null), + (this.g_wd = null), + (this.g_wl = null), + this.g_ws.g_ek(), + (this.g_wv = null), + this.g_wt(), + this.g_vS.g_js(), + (this.g_vS = null), + (this.g_qw = null), + (this.g_ww = !0), + d.delete(this); + } + g_wx() { + this.g_wa = !0; + } + g_vD() { + this.g_wx(), this.g_vS.g_js(), (this.g_vU = !0); + } + g_wy(g) { + this.g_vW = !!g; + } + g_wz() { + return this.g_vW; + } + g_wA(g) { + (g = !!g), + this.g_vL === g || + ((this.g_vL = g), + this.g_wc && (this.g_wc.textBaseline = this.g_vL ? 'alphabetic' : 'top'), + this.g_vD()); + } + g_vB() { + return this.g_vL; + } + g_wB(g) { + g || (g = 'serif'), this.g_vF === g || ((this.g_vF = g), this.g_vD()); + } + g_vC() { + return this.g_vF; + } + g_wC(g) { + 0.1 > g && (g = 0.1), this.g_vG === g || ((this.g_vG = g), this.g_vD()); + } + g_wD(g) { + this.g_vH === g || ((this.g_vH = g), this.g_wx()); + } + g_wE(g) { + (g = !!g), this.g_vI === g || ((this.g_vI = g), this.g_vD()); + } + g_wF(g) { + (g = !!g), this.g_vJ === g || ((this.g_vJ = g), this.g_vD()); + } + g_wG(g) { + (g = Math.floor(g)), this.g_vX === g || ((this.g_vX = g), this.g_wx()); + } + g_wH() { + return this.g_vX; + } + g_wI(g, _) { + for (let e = g.length - 1; 0 <= e; --e) { + const a = g[e]; + if (a.tag === _) return a; + } + return null; + } + g_wJ(g, _) { + return !!this.g_wI(g, _); + } + g_wK(_, a) { + let t = ''; + (this.g_vI || this.g_wJ(a, 'b')) && (t += 'bold'), + (this.g_vJ || this.g_wJ(a, 'i')) && (t += ' italic'); + const n = this.g_wI(a, 'size'), + i = n ? parseFloat(n.param) : this.g_vG; + t += _ ? ' ' + i + 'pt' : ' ' + i * this.g_wq * this.g_v$ * self.devicePixelRatio + 'pt'; + let e = this.g_vF; + const r = this.g_wI(a, 'font'); + return ( + r && + r.param && + ((e = r.param), this.g_vM && !this.g_vN.has(e) && (this.g_vM(e), this.g_vN.add(e))), + e && (t += ' "' + e + '"'), + t + ); + } + g_qG(g) { + g instanceof g_aO.g_gB && (g = g.g_ha()), this.g_vK === g || ((this.g_vK = g), this.g_wx()); + } + g_wL(g, _, e) { + r.g_gH(g, _, e), this.g_qG(r); + } + g_wM(g) { + if (!e.has(g)) throw new Error('invalid horizontal alignment'); + this.g_vO === g || ((this.g_vO = g), this.g_wx()); + } + g_wN(g) { + if (!s.has(g)) throw new Error('invalid vertical alignment'); + this.g_vP === g || ((this.g_vP = g), this.g_wx()); + } + g_wO(_) { + if (!g.has(_)) throw new Error('invalid word wrap mode'); + this.g_vT === _ || ((this.g_vT = _), this.g_vD()); + } + g_wP(g) { + this.g_vQ === g || ((this.g_vQ = g), this.g_vD()); + } + g_wQ(_, a, t) { + var n = Math.min; + if (('undefined' == typeof t && (t = 1), 0 >= _ || 0 >= _)) return; + if (this.g_vZ === _ && this.g_v_ === a && this.g_v$ === t) return; + (1 === this.g_v$) != (1 === t) && (this.g_wr = !0); + const r = this.g_vZ, + e = this.g_v$; + (this.g_vZ = _), (this.g_v_ = a), (this.g_v$ = t); + const s = self.devicePixelRatio; + (this.g_pu = this.g_vZ * this.g_v$ * s), (this.g_pv = this.g_v_ * this.g_v$ * s); + const g = Math.max(this.g_pu, this.g_pv), + d = n(this.g_qw.g_rb(), 2048); + let i = 1; + g > d && + ((i = d / g), (this.g_pu = n(this.g_pu * i, d)), (this.g_pv = n(this.g_pv * i, d))), + (this.g_wq = i), + 0 < this.g_wn && + 0 < this.g_wo && + this.g_v$ === e && + this.g_wp.set(0, 0, this.g_pu / this.g_wn, this.g_pv / this.g_wo), + this.g_vZ === r ? this.g_wx() : this.g_vD(); + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_wR() { + return this.g_wS(), this.g_vS.g_pr(); + } + g_wT() { + this.g_wS(); + const g = t(this.g_vG) + 4; + return this.g_vS.g_pi() * (g + this.g_vH) - this.g_vH; + } + g_rQ() { + return this.g_ws.g_lC(), this.g_wU(), this.g_qU; + } + g_wU() { + (this.g_qU && !this.g_wa && !this.g_vU) || + this.g_vV || + 0 >= this.g_pu || + 0 >= this.g_pv || + ((this.g_wa = !1), + (this.g_vV = !0), + this.g_vW ? g_aO.g_gl(() => this.g_wV()) : this.g_wV()); + } + g_wV() { + var g = Math.ceil; + this.g_ww || + (this.g_wu(g(this.g_pu), g(this.g_pv)), + this.g_wS(), + this.g_wW(), + this.g_wX(), + this.g_ws.g_lC(), + (this.g_vV = !1)); + } + g_wu(g, _) { + this.g_wb || (this.g_wb = g_aO.g_gk(16, 16)); + let e = !1; + (this.g_we !== g || this.g_wf !== _) && + ((this.g_we = g), + (this.g_wf = _), + (this.g_wb.width = g), + (this.g_wb.height = _), + (e = !0)), + this.g_wc || ((this.g_wc = this.g_wb.getContext('2d')), (e = !0)), + e + ? ((this.g_wc.textBaseline = this.g_vL ? 'alphabetic' : 'top'), + (this.g_wc.font = this.g_wg), + (this.g_wc.fillStyle = this.g_wi), + (this.g_wc.strokeStyle = this.g_wi), + (this.g_wc.globalAlpha = this.g_wj), + (this.g_wc.lineWidth = this.g_wk)) + : this.g_wc.clearRect(0, 0, g, _); + } + g_wY() { + this.g_wd || (this.g_wd = g_aO.g_gk(16, 16).getContext('2d')); + } + g_wZ(g) { + this.g_wh === g || ((this.g_wh = g), (this.g_wd.font = g)); + } + g_wS() { + this.g_vU && + (this.g_wY(), + this.g_vL && + (!this.g_vR || this.g_vR.toString() !== this.g_vQ) && + (this.g_vR = new g_aO.g_dP(this.g_vQ, { g_oR: !0 })), + this.g_vS.g_pf( + this.g_vL ? this.g_vR.g_pa() : this.g_vQ, + this.g_wl, + this.g_vZ, + this.g_vT, + 0 + ), + (this.g_vU = !1)); + } + g_wm(g, _) { + this.g_wZ(this.g_wK(!0, _)); + const a = this.g_wI(_, 'size'), + n = a ? parseFloat(a.param) : this.g_vG; + return { width: this.g_wd.measureText(g).width, height: t(n) }; + } + g_w_(g) { + this.g_wg === g || ((this.g_wg = g), (this.g_wc.font = g)); + } + g_w$(g) { + this.g_wi === g || + ((this.g_wi = g), (this.g_wc.fillStyle = g), (this.g_wc.strokeStyle = g)); + } + g_xa(g) { + this.g_wj === g || ((this.g_wj = g), (this.g_wc.globalAlpha = g)); + } + g_xb(g) { + this.g_wk === g || ((this.g_wk = g), (this.g_wc.lineWidth = g)); + } + g_wW() { + this.g_vY = 0; + const _ = this.g_wq * this.g_v$ * self.devicePixelRatio, + t = (4 + this.g_vH) * _; + let n = 0; + const i = this.g_vS.g_ph(), + g = i.reduce((g, e) => g + e.height * _ + t, 0) - this.g_vH * _; + 'center' === this.g_vP + ? (n = Math.max(this.g_pv / 2 - g / 2, 0)) + : 'bottom' === this.g_vP && (n = this.g_pv - g - 2); + for (let a = 0, g = i.length; a < g; ++a) { + const e = i[a], + r = e.height * _, + g = n; + if (this.g_vL) { + if (((n += r), 0 < a && n > this.g_pv - 4 * _)) break; + } else if (0 < a && n >= this.g_pv - r) break; + 0 <= g && this.g_xc(e, n, _), this.g_vL || (n += r), (n += t); + } + } + g_xc(g, _, a) { + let t = 0; + 'center' === this.g_vO + ? (t = (this.g_pu - g.width * a) / 2) + : 'right' === this.g_vO && (t = this.g_pu - g.width * a); + for (const n of g.g_pl) this.g_xd(n, t, _, a, g.height), (t += n.width * a); + } + g_xd(t, E, y, b, s) { + const f = this.g_wc, + h = s / 16; + let i = t.width * b; + const B = t.height * b, + v = t.height / 16, + l = (4 + this.g_vH) * b, + m = t.g_pb; + let n = t.text; + if (-1 !== this.g_vX) { + if (this.g_vY >= this.g_vX) return; + this.g_vY + n.length > this.g_vX && + ((n = n.substr(0, this.g_vX - this.g_vY)), (i = this.g_wm(n, m).width * b)), + (this.g_vY += n.length); + } + const C = this.g_wI(m, 'background'), + p = this.g_wJ(m, 'u'), + T = this.g_wJ(m, 's'); + if ((!g_aO.g_oc(n) || C || p || T) && !this.g_wJ(m, 'hide')) { + const e = this.g_wI(m, 'offsetx'); + E += e ? parseFloat(e.param) * b : 0; + const r = this.g_wI(m, 'offsety'); + (y += r ? parseFloat(r.param) * b : 0), + C && (this.g_w$(C.param), f.fillRect(E, y - B, i, B + l)); + const g = this.g_wI(m, 'color'); + this.g_w$(g ? g.param : this.g_vK); + const s = this.g_wI(m, 'opacity'); + this.g_xa(s ? parseFloat(s.param) / 100 : 1); + const t = this.g_wJ(m, 'stroke'); + if ( + (t && this.g_xb(v * this.g_wq * this.g_v$), + p && a(f, t, E, y + b * h, i, b * h), + T && a(f, t, E, y - B / 4, i, b * v), + this.g_w_(this.g_wK(!1, m)), + _(f, t, n, E, y, i), + !t) + ) { + this.g_xb(v * this.g_wq * this.g_v$); + const g = this.g_wI(m, 'outline'); + g && (this.g_w$(g.param), _(f, !0, n, E, y, i)); + } + } + } + g_wX() { + var g = Math.ceil; + this.g_qw.g_xe() || + ((this.g_wn = g(this.g_pu)), + (this.g_wo = g(this.g_pv)), + this.g_wp.set(0, 0, this.g_pu / this.g_wn, this.g_pv / this.g_wo), + this.g_wr && (this.g_wt(), (this.g_wr = !1)), + !this.g_qU && + (this.g_qU = this.g_qw.g_rH(this.g_wn, this.g_wo, { + g_qQ: 1 === this.g_v$, + g_qR: 'high' + })), + this.g_qw.g_xf(this.g_wb, this.g_qU), + this.g_wv && this.g_wv()); + } + g_xg() { + return this.g_wp; + } + g_wt() { + this.g_qU && (!this.g_qw.g_xe() && this.g_qw.g_rL(this.g_qU), (this.g_qU = null)); + } + static g_qI() { + for (const g of d) g.g_wt(); + } + static g_xh() { + return d.values(); + } + }); +} +{ + class g { + constructor(g) { + (this.g_sg = g.g_rc()), + (this.g_xi = g.g_rd()), + (this.g_xj = g.g_xk()), + (this.g_xl = null), + (this.g_lB = !1), + (this.g_xm = !1), + (this.g_xn = 0), + (this.g_xl = 1 === this.g_xi ? this.g_xj.createQueryEXT() : this.g_sg.createQuery()); + } + g_ek() { + this.g_xo(), (this.g_sg = null), (this.g_xj = null), (this.g_xm = !1); + } + g_xo() { + this.g_xl && + (1 === this.g_xi ? this.g_xj.deleteQueryEXT(this.g_xl) : this.g_sg.deleteQuery(this.g_xl), + (this.g_xl = null)); + } + g_vr() { + if (this.g_lB) throw new Error('query already active'); + 1 === this.g_xi + ? this.g_xj.beginQueryEXT(this.g_xj.TIME_ELAPSED_EXT, this.g_xl) + : this.g_sg.beginQuery(this.g_xj.TIME_ELAPSED_EXT, this.g_xl), + (this.g_lB = !0); + } + g_vu() { + if (!this.g_lB) throw new Error('query not active'); + 1 === this.g_xi + ? this.g_xj.endQueryEXT(this.g_xj.TIME_ELAPSED_EXT) + : this.g_sg.endQuery(this.g_xj.TIME_ELAPSED_EXT), + (this.g_lB = !1); + } + g_xp() { + if (!this.g_xl || this.g_xm || this.g_lB) return; + let g = !1; + g = + 1 === this.g_xi + ? this.g_xj.getQueryObjectEXT(this.g_xl, this.g_xj.QUERY_RESULT_AVAILABLE_EXT) + : this.g_sg.getQueryParameter(this.g_xl, this.g_sg.QUERY_RESULT_AVAILABLE); + const _ = this.g_sg.getParameter(this.g_xj.GPU_DISJOINT_EXT); + g && + !_ && + ((this.g_xn = + 1 === this.g_xi + ? this.g_xj.getQueryObjectEXT(this.g_xl, this.g_xj.QUERY_RESULT_EXT) + : this.g_sg.getQueryParameter(this.g_xl, this.g_sg.QUERY_RESULT)), + (this.g_xn /= 1e9), + (this.g_xm = !0)), + (g || _) && this.g_xo(); + } + g_xq() { + return this.g_xm; + } + g_xr() { + if (!this.g_xm) throw new Error('no result available'); + return this.g_xn; + } + } + g_aO.g_ps.g_xs = class { + constructor(g) { + (this.g_qw = g), + (this.g_pK = g.g_qu()), + (this.g_lB = !1), + (this.g_xt = null), + (this.g_xu = !1), + (this.g_xv = null), + (this.g_xw = []); + } + g_ek() { + for (const _ of this.g_xw) _ instanceof g && _.g_ek(); + g_aO.g_fz(this.g_xw), (this.g_xt = null), (this.g_xv = null), (this.g_qw = null); + } + g_vr() { + if (this.g_lB) throw new Error('query already active'); + const g = this.g_qw.g_xx(); + 0 < g.length + ? ((this.g_xu = !0), + (this.g_xt = g[g.length - 1]), + this.g_xt.g_xy(), + this.g_xt.g_xw.push(this)) + : ((this.g_xu = !1), (this.g_xt = null)), + (this.g_lB = !0), + g.push(this), + this.g_xz(); + } + g_vu() { + if (!this.g_lB) throw new Error('query not active'); + const g = this.g_qw.g_xx().pop(); + if (g !== this) throw new Error('can only end most nested query'); + (this.g_lB = !1), this.g_xy(), this.g_xt && (this.g_xt.g_xz(), (this.g_xt = null)); + } + g_xz() { + (this.g_xv = g_aO.g_ej(g, this.g_qw)), this.g_xw.push(this.g_xv), this.g_xv.g_vr(); + } + g_xy() { + this.g_xv.g_vu(), (this.g_xv = null); + } + g_xp() { + for (const g of this.g_xw) g.g_xp(); + } + g_xA() { + return this.g_xu; + } + g_xq() { + return this.g_xw.every((g) => g.g_xq()); + } + g_xr() { + return this.g_xw.reduce((g, _) => g + _.g_xr(), 0); + } + g_qu() { + return this.g_pK; + } + }; +} +'use strict', + (g_aO.g_ps.g_xB = class { + constructor(g, _ = 1e3) { + (this.g_qw = g), (this.g_xC = _), (this.g_xD = []), this.g_qw.g_xE(this); + } + g_ek() { + this.g_js(), this.g_qw.g_xF(this), (this.g_qw = null); + } + g_js() { + for (const g of this.g_xD) g.g_ek(); + g_aO.g_fz(this.g_xD); + } + g_xG() { + const g = new g_aO.g_ps.g_xs(this.g_qw); + if ((this.g_xD.push(g), this.g_xD.length > this.g_xC)) { + const g = this.g_xD.shift(); + g.g_ek(); + } + return g; + } + g_xH(g) { + for (const _ of this.g_xD) { + if (_.g_qu() >= g) return; + if (_.g_xA()) return; + _.g_xp(); + } + } + g_xI(g, _) { + if (_ <= g) return NaN; + let e = 0; + for (const a of this.g_xD) { + if (a.g_qu() >= _) break; + if (!(a.g_qu() < g)) + if (a.g_xq()) e += a.g_xr(); + else return NaN; + } + return e; + } + g_xJ(g) { + for (let _ = 0, e = this.g_xD.length; _ < e; ++_) { + const e = this.g_xD[_]; + if (e.g_qu() < g) e.g_ek(); + else return void (0 < _ && this.g_xD.splice(0, _)); + } + } + }), + 'use strict'; +{ + function g(g, _) { + return ( + g[0] === _[0] && + g[1] === _[1] && + g[2] === _[2] && + g[3] === _[3] && + g[4] === _[4] && + g[5] === _[5] && + g[6] === _[6] && + g[7] === _[7] && + g[8] === _[8] && + g[9] === _[9] && + g[10] === _[10] && + g[11] === _[11] && + g[12] === _[12] && + g[13] === _[13] && + g[14] === _[14] && + g[15] === _[15] + ); + } + function h() { + t = -1; + for (const g of d) g.g_xK() && (g.resolve(), d.delete(g)); + 0 < d.size && (t = self.requestAnimationFrame(h)); + } + function f(g, _, e) { + let t = null; + if (2.1 <= e && ((t = g.getContext('webgl2-compute', _)), t)) return { g_xL: t, version: 2.1 }; + if (2 <= e && ((t = g.getContext('webgl2', _)), t)) return { g_xL: t, version: 2 }; + if (((t = g.getContext('webgl', _)), !t)) + try { + t = g.getContext('experimental-webgl', _); + } catch (g) { + console.warn("Error requesting 'experimental-webgl' context: ", g); + } + return { g_xL: t, version: 1 }; + } + const r = { g_xM: 'default', g_xN: !0, alpha: !1, g_xO: !1, g_xP: 2 }, + a = new Set(['default', 'low-power', 'high-performance']), + m = new g_aO.g_iu(0, 0, 1, 0, 1, 1, 0, 1), + n = vec3.g_q(0, 0, 0), + _ = vec3.g_q(0, 0, 0), + i = mat4.create(), + E = new g_aO.g_iu(), + s = new g_aO.Rect(); + let b = null; + g_aO.g_aW && + ((self.g_xQ = function () { + return b ? void b.g_xR() : void console.warn('WEBGL_lose_context not supported'); + }), + (self.g_xS = function () { + return b ? void b.g_xT() : void console.warn('WEBGL_lose_context not supported'); + })); + const d = new Set(); + let t = -1; + g_aO.g_ps.g_xU = class extends g_aO.g_ps.g_pt { + constructor(g, e) { + if ((super(), (e = Object.assign({}, r, e)), !a.has(e.g_xM))) + throw new Error('invalid power preference'); + let i = !1; + const s = { + alpha: !!e.alpha, + depth: !1, + antialias: !1, + powerPreference: e.g_xM, + failIfMajorPerformanceCaveat: !0 + }; + e.g_xO && ((s.desynchronized = !0), (s.preserveDrawingBuffer = !0)); + let _ = f(g, s, e.g_xP); + if ( + (_.g_xL || ((i = !0), (s.failIfMajorPerformanceCaveat = !1), (_ = f(g, s, e.g_xP))), + !_.g_xL) + ) + throw new Error('failed to initialise WebGL context'); + const d = _.g_xL; + (this.g_sg = d), + (this.g_xV = d.getContextAttributes()), + e.g_xO && + !this.g_xV.desynchronized && + console.info('[WebGLRenderer] Low-latency mode specified but is not supported here'), + (this.g_xW = d.getParameter(d.VERSION)), + (this.g_xi = _.version), + (this.g_xX = !0), + (this.g_xY = 0), + (this.g_xZ = 0), + (this.g_si = null), + (this.g_sk = null), + (this.g_x_ = null), + (this.g_sl = null), + (this.g_x$ = new Float32Array(8e3 * this.g_sj())), + (this.g_ya = new Uint16Array(12e3)), + (this.g_yb = new Float32Array(16e3)), + (this.g_yc = new Float32Array(32e3)), + (this.g_yd = 0), + (this.g_ye = 0), + (this.g_yf = 0), + (this.g_yg = 0), + (this.g_yh = null), + (this.g_yi = null), + (this.g_yj = null), + (this.g_yk = null), + (this.g_yl = null), + (this.g_ym = null), + (this.g_yn = null), + (this.g_yo = null), + (this.g_yp = null), + (this.g_vd = null), + (this.g_yq = null), + (this.g_yr = []), + (this.g_ys = 0), + (this.g_yt = 0), + (this.g_yu = null), + (this.g_yv = 0), + (this.g_yw = 0), + (this.g_yx = 0), + (this.g_uu = g_aO.g_ej(g_aO.g_ps.g_up, this)), + (this.g_yy = g_aO.g_ej(g_aO.g_gB, 1, 1, 1, 1)), + (this.g_yz = null), + (this.g_vk = null), + (this.g_yA = 0), + (this.g_yB = 0), + (this.g_yC = 1), + (this.g_yD = [this.g_yC]), + (this.g_yE = 1), + (this.g_yF = [this.g_yE]), + (this.g_yG = 0.5), + (this.g_yH = [this.g_yG]), + (this.g_uW = !1), + (this.g_uZ = -1), + (this.g_u_ = -1), + (this.g_yI = new g_aO.Rect()), + (this.g_yJ = -1), + (this.g_yK = 0), + (this.g_yL = 0), + (this.g_yM = 0), + (this.g_yN = '(unavailable)'), + (this.g_yO = '(unavailable)'), + (this.g_yP = []), + (this.g_yQ = i), + (this.g_yR = !1), + (this.g_yS = null), + (this.g_yT = !!e.g_xN), + (this.g_xj = null), + (this.g_yU = new Set()), + (this.g_yV = []), + this.g_pL(this.g_ya); + } + async g_yW() { + const g = this.g_sg, + e = this.g_sj(); + this.g_yy.g_gG(1, 1, 1, 1), + (this.g_yz = null), + (this.g_vk = null), + (this.g_yd = 0), + (this.g_yf = 0), + (this.g_yg = 8e3 * e - 4 * e), + g_aO.g_fz(this.g_yr), + (this.g_ys = 0), + (this.g_yt = 0), + (this.g_yh = null), + (this.g_yu = null), + this.g_yI.set(0, 0, 1, 1), + (this.g_yv = 0), + (this.g_yw = 0), + (this.g_yx = 0); + const t = this.g_uu; + (t.g_to = null), + (t.g_rM = null), + vec4.set(t.g_ur, 1, 1, 1, 1), + t.clearColor.g_gG(0, 0, 0, 0), + t.g_us.set(0, 0, 1, 1), + g.clearColor(0, 0, 0, 0), + g.clear(g.COLOR_BUFFER_BIT), + g.enable(g.BLEND), + g.blendFunc(g.ONE, g.ONE_MINUS_SRC_ALPHA), + (this.g_yA = g.ONE), + (this.g_yB = g.ONE_MINUS_SRC_ALPHA), + this.g_yX(g), + g.disable(g.CULL_FACE), + g.disable(g.STENCIL_TEST), + g.disable(g.DITHER), + g.disable(g.DEPTH_TEST), + (this.g_sl = g.createBuffer()), + g.bindBuffer(g.ARRAY_BUFFER, this.g_sl), + g.bufferData(g.ARRAY_BUFFER, this.g_yc.byteLength, g.DYNAMIC_DRAW), + (this.g_si = g.createBuffer()), + g.bindBuffer(g.ARRAY_BUFFER, this.g_si), + g.bufferData(g.ARRAY_BUFFER, this.g_x$.byteLength, g.DYNAMIC_DRAW), + (this.g_sk = g.createBuffer()), + g.bindBuffer(g.ARRAY_BUFFER, this.g_sk), + g.bufferData(g.ARRAY_BUFFER, this.g_yb.byteLength, g.DYNAMIC_DRAW), + (this.g_x_ = g.createBuffer()), + g.bindBuffer(g.ELEMENT_ARRAY_BUFFER, this.g_x_), + g.bufferData(g.ELEMENT_ARRAY_BUFFER, this.g_ya, g.STATIC_DRAW), + g.activeTexture(g.TEXTURE0), + g.bindTexture(g.TEXTURE_2D, null), + (this.g_yJ = g.getParameter(g.MAX_TEXTURE_SIZE)); + const r = g.getParameter(g.ALIASED_POINT_SIZE_RANGE); + (this.g_yK = r[0]), (this.g_yL = r[1]); + const a = g.getShaderPrecisionFormat(g.VERTEX_SHADER, g.HIGH_FLOAT), + i = g.getShaderPrecisionFormat(g.FRAGMENT_SHADER, g.HIGH_FLOAT); + (this.g_yM = a && i ? Math.min(a.precision, i.precision) : 0), + 2048 < this.g_yL && (this.g_yL = 2048), + (this.g_yP = g.getSupportedExtensions()); + const n = g.getExtension('WEBGL_debug_renderer_info'); + n && + ((this.g_yN = g.getParameter(n.UNMASKED_VENDOR_WEBGL)), + (this.g_yO = g.getParameter(n.UNMASKED_RENDERER_WEBGL))), + (this.g_yS = g.getExtension('KHR_parallel_shader_compile')), + g_aO.g_aW && (b = g.getExtension('WEBGL_lose_context')), + this.g_yT && + (1 === this.g_rd() + ? ('Chromium' !== g_aO.g_bJ.g_bR || + 81 <= g_aO.g_bJ.g_bP || + 'undefined' != typeof document) && + (this.g_xj = g.getExtension('EXT_disjoint_timer_query')) + : (this.g_xj = + g.getExtension('EXT_disjoint_timer_query_webgl2') || + g.getExtension('EXT_disjoint_timer_query'))), + this.g_p_(); + const _ = g_aO.g_ps.g_sb, + l = _.g_tU(this.g_xX, !1), + o = [ + [_.g_tV(), l, ''], + [_.g_tV(), l, ''], + [_.g_tY(), _.g_tX(), ''], + [_.g_tZ(), l, ''], + [_.g_t_(), l, ''], + [_.g_ua(), l, ''], + [_.g_ub(), l, ''], + [_.g_uc(), l, ''], + [_.g_ud(), l, ''], + [_.g_t$(), l, ''], + [_.g_tW(), _.g_tU(this.g_xX, !0), ''] + ], + s = await Promise.all(o.map((g) => this.g_yY({ src: g[0] }, g[1], g[2]))); + (this.g_pF = s[0]), + (this.g_yi = s[1]), + (this.g_vd = s[2]), + (this.g_yj = s[3]), + (this.g_yk = s[4]), + (this.g_yl = s[5]), + (this.g_ym = s[6]), + (this.g_yn = s[7]), + (this.g_yo = s[8]), + (this.g_yp = s[9]), + (this.g_yq = s[10]), + (this.g_pH = null), + this.g_yZ(); + } + g_y_() { + return this.g_xX; + } + g_sj() { + return this.g_xX ? 3 : 2; + } + g_y$(g) { + this.g_yv = g; + } + g_za() { + return this.g_yv; + } + g_qH(g) { + (this.g_yw = g), (this.g_pH = null); + } + g_zb() { + return this.g_yw; + } + async g_yY(g, _, e) { + const t = await g_aO.g_ps.g_sb.g_sf(this, g, _, e); + return this.g_pX(t), t; + } + g_zc() { + this.g_yh = null; + } + g_wQ(g, _, e) { + if (this.g_pu !== g || this.g_pv !== _ || e) { + this.g_qt(); + const e = this.g_sg, + t = this.g_uu; + (this.g_pu = g), (this.g_pv = _); + const a = this.g_uQ(), + i = this.g_uR(); + this.g_zd(a, i, this.g_pu, this.g_pv), + this.g_uS(a, i, this.g_pA), + this.g_yi && + (e.useProgram(this.g_yi.g_tq()), + this.g_yi.g_tj(this.g_pA), + (this.g_yh = this.g_yi), + (this.g_uu.g_to = this.g_yi)), + e.bindTexture(e.TEXTURE_2D, null), + e.activeTexture(e.TEXTURE1), + e.bindTexture(e.TEXTURE_2D, null), + e.activeTexture(e.TEXTURE0), + (this.g_yz = null), + (this.g_vk = null), + this.g_yu && this.g_yu.g_rK(this.g_pu, this.g_pv), + e.bindFramebuffer(e.FRAMEBUFFER, null), + (this.g_yu = null), + (t.g_rM = null); + } + } + g_zd(g, e, t, r) { + (this.g_pw[2] = 100), + mat4.g_at(this.g_pB, this.g_pw, this.g_px, this.g_py), + mat4.perspective(this.g_pA, 45, g / e, this.g_pP(), this.g_pQ()); + const a = [0, 0], + i = [0, 0], + n = self.devicePixelRatio; + this.g_pM(0, 0, g, e, a), + this.g_pM(1, 1, g, e, i), + (this.g_pz[0] = n / (i[0] - a[0])), + (this.g_pz[1] = -n / (i[1] - a[1])), + (this.g_xY = t), + (this.g_xZ = r); + } + g_uS(g, e, t) { + const r = this.g_sg, + a = this.g_uu; + r.viewport(0, 0, g, e); + const s = this.g_pD, + n = a.g_to; + for (let _ = 0, a = s.length; _ < a; ++_) { + const g = s[_]; + g === n ? g.g_tl(t, !0) : g.g_tP(); + } + mat4.g_p(a.g_tk, t); + } + g_ze(g, _) { + const e = this.g_sg; + return this.g_pu === g && this.g_pv === _ + ? void ( + this.g_uW && + (this.g_qt(), + e.disable(e.SCISSOR_TEST), + (this.g_uW = !1), + (this.g_uZ = -1), + (this.g_u_ = -1), + this.g_wQ(this.g_pu, this.g_pv, !0)) + ) + : void (!this.g_uW && (this.g_qt(), e.enable(e.SCISSOR_TEST), (this.g_uW = !0)), + (this.g_uZ !== g || this.g_u_ !== _) && + (this.g_qt(), + e.scissor(0, 0, g, _), + (this.g_uZ = g), + (this.g_u_ = _), + this.g_wQ(this.g_pu, this.g_pv, !0))); + } + g_zf() { + const g = this.g_sg; + this.g_uW && (this.g_qt(), g.disable(g.SCISSOR_TEST), (this.g_uW = !1)), + (this.g_uZ = -1), + (this.g_u_ = -1); + } + g_uQ() { + return this.g_uW ? this.g_uZ : this.g_pN(); + } + g_uR() { + return this.g_uW ? this.g_u_ : this.g_pO(); + } + g_zg() { + if (!g(this.g_pC, this.g_pB)) { + const g = this.g_zh(); + g.g_uM(this.g_pB), mat4.g_p(this.g_pC, this.g_pB), (this.g_yt = 0); + } + } + g_rN() { + return this.g_uu; + } + g_zh() { + const g = this.g_yr; + return this.g_ys === g.length && g.push(new g_aO.g_ps.g_ut(this.g_uu)), g[this.g_ys++]; + } + g_qt() { + 0 === this.g_ys || + this.g_xe() || + (this.g_zi(), + this.g_zj(), + (this.g_ys = 0), + (this.g_yd = 0), + (this.g_ye = 0), + (this.g_yf = 0), + (this.g_yt = 0)); + } + g_zi() { + const g = this.g_sg; + 0 < this.g_yf && + (g.bindBuffer(g.ARRAY_BUFFER, this.g_sl), + g.bufferSubData(g.ARRAY_BUFFER, 0, this.g_yc.subarray(0, this.g_yf))), + 0 < this.g_yd && + (g.bindBuffer(g.ARRAY_BUFFER, this.g_si), + g.bufferSubData(g.ARRAY_BUFFER, 0, this.g_x$.subarray(0, this.g_yd)), + g.bindBuffer(g.ARRAY_BUFFER, this.g_sk), + g.bufferSubData(g.ARRAY_BUFFER, 0, this.g_yb.subarray(0, this.g_ye))); + } + g_zj() { + const g = this.g_yr; + for (let _ = 0, e = this.g_ys; _ < e; ++_) g[_].g_vz(); + } + g_zk() { + return this.g_yy.g_gS(); + } + g_zl(g, _, e, t) { + const i = this.g_yy; + if (!i.g_gX(g, _, e, t)) { + i.g_gG(g, _, e, t); + const a = this.g_zh(); + a.g_uG(i), (this.g_yt = 0), (this.g_pH = null); + } + } + g_zm(g) { + const _ = this.g_yy; + if (_.g_gS() !== g) { + _.g_gN(g); + const e = this.g_zh(); + e.g_uG(_), (this.g_yt = 0), (this.g_pH = null); + } + } + g_qG(g) { + const _ = this.g_yy; + if (!_.g_l(g)) { + _.set(g); + const e = this.g_zh(); + e.g_uG(_), (this.g_yt = 0), (this.g_pH = null); + } + } + g_zn() { + this.g_zl(1, 1, 1, 1); + } + g_zo() { + return this.g_yy; + } + g_zp(g) { + if (g !== this.g_yz) { + const _ = this.g_zh(); + _.g_uE(g), (this.g_yz = g), (this.g_yt = 0); + } + } + g_rh() { + this.g_yz = null; + } + g_qF(g, _) { + if (g !== this.g_yA || _ !== this.g_yB) { + const e = this.g_zh(); + e.g_uK(g, _), (this.g_yA = g), (this.g_yB = _), (this.g_yt = 0), (this.g_pH = null); + } + } + g_zq() { + return this.g_yA === this.g_sg.ONE && this.g_yB === this.g_sg.ONE_MINUS_SRC_ALPHA; + } + g_zr() { + this.g_qF(this.g_sg.ONE, this.g_sg.ONE_MINUS_SRC_ALPHA); + } + g_zs() { + this.g_qF(this.g_sg.SRC_ALPHA, this.g_sg.ONE_MINUS_SRC_ALPHA); + } + g_zt() { + this.g_qF(this.g_sg.ONE, this.g_sg.ZERO); + } + Rect(g) { + this.g_zu(g.g_hV(), g.g_hW(), g.g_hX(), g.g_hY()); + } + g_zu(g, _, e, t) { + this.g_zv(g, _, e, _, e, t, g, t); + } + g_zw() { + let g = this.g_yd; + if ((g >= this.g_yg && (this.g_qt(), (g = 0)), 1 === this.g_yt)) + this.g_yr[this.g_ys - 1].g_uw += 6; + else { + const _ = this.g_zh(); + _.g_uC(this.g_xX ? g : 3 * (g / 2), 6), (this.g_yt = 1); + } + } + g_zx(g) { + g.g_iN(this.g_x$, this.g_yd, this.g_yv + this.g_yw), (this.g_yd += 12); + } + g_iu(g) { + this.g_zw(), this.g_zx(g), m.g_gU(this.g_yb, this.g_ye), (this.g_ye += 8); + } + g_zv(g, e, t, n, a, i, _, r) { + this.g_zw(); + const l = this.g_x$; + let s = this.g_yd; + const o = this.g_yv + this.g_yw; + this.g_xX + ? ((l[s++] = g), + (l[s++] = e), + (l[s++] = o), + (l[s++] = t), + (l[s++] = n), + (l[s++] = o), + (l[s++] = a), + (l[s++] = i), + (l[s++] = o), + (l[s++] = _), + (l[s++] = r), + (l[s++] = o)) + : ((l[s++] = g), + (l[s++] = e), + (l[s++] = t), + (l[s++] = n), + (l[s++] = a), + (l[s++] = i), + (l[s++] = _), + (l[s++] = r)), + (this.g_yd = s), + m.g_gU(this.g_yb, this.g_ye), + (this.g_ye += 8); + } + g_zy(g, _) { + this.g_zw(), this.g_zx(g), _.g_h_(this.g_yb, this.g_ye), (this.g_ye += 8); + } + g_zz(g, _) { + this.g_zw(), this.g_zx(g), _.g_gU(this.g_yb, this.g_ye), (this.g_ye += 8); + } + g_zA(g, d) { + var t = Math.max, + r = Math.min; + if ( + (mat4.g_p(i, this.g_pC), + vec3.g_p(n, this.g_pw), + vec3.g_p(_, this.g_px), + (this.g_pw[0] = 0), + (this.g_pw[1] = 0), + (this.g_pw[2] = 100 * self.devicePixelRatio), + (this.g_px[0] = 0), + (this.g_px[1] = 0), + (this.g_px[2] = 0), + this.g_pT(), + this.g_zg(), + this.g_uW) + ) { + const g = this.g_uZ / 2, + _ = this.g_u_ / 2; + s.set(-g, _, -g + this.g_uZ, _ - this.g_u_), + E.g_iO(s), + s.set(0, 0, this.g_uZ / this.g_pu, this.g_u_ / this.g_pv), + this.g_zy(E, s); + } else if ('crop' === g && this.g_yu && d) { + const g = this.g_pu / 2, + e = this.g_pv / 2, + a = d.g_pN(), + n = d.g_pO(), + _ = this.g_yu.g_pN(), + i = this.g_yu.g_pO(), + l = r(_, a), + o = r(i, n), + u = t(n - i, 0), + p = t(i - n, 0); + s.set(-g, e - p, -g + l, e - o - p), + E.g_iO(s), + s.set(0, u, l, o + u), + s.g_N(a, n), + this.g_zy(E, s); + } else { + let [g, _] = this.g_zB(this.g_yu); + const e = g / 2, + t = _ / 2; + this.g_zu(-e, t, e, -t); + } + mat4.g_p(this.g_pB, i), vec3.g_p(this.g_pw, n), vec3.g_p(this.g_px, _), this.g_zg(); + } + g_zC(g) { + const _ = g.length / 2; + if (3 > _) throw new Error('need at least 3 points'); + const e = _ - 2, + d = g[0], + a = g[1]; + for (let n = 0; n < e; n += 2) { + const u = 2 * n, + i = g[u + 2], + _ = g[u + 3], + l = g[u + 4], + o = g[u + 5]; + if (n == e - 1) this.g_zv(d, a, i, _, l, o, l, o); + else { + const e = g[u + 6], + t = g[u + 7]; + this.g_zv(d, a, i, _, l, o, e, t); + } + } + } + g_zD(g, e, t, r) { + const i = g_aO.g_ev(g, e, t, r), + n = Math.sin(i), + a = Math.cos(i), + _ = 0.5 * this.g_yC, + l = n * _, + o = a * _, + s = this.g_yE; + 2 === s + ? this.g_zE(g, e, t, r, l, o) + : 1 === s + ? this.g_zF(g, e, t, r, l, o) + : this.g_zG(g, e, t, r, l, o); + } + g_zE(g, e, t, r, a, i) { + const n = this.g_yG, + _ = g + n - i, + l = e + n - a, + o = t + n + i, + s = r + n + a, + d = 2 * i, + u = 2 * a; + this.g_zv(_ + a, l - i, o + a, s - i, o - a - d, s + i - u, _ - a + d, l + i + u); + } + g_zF(g, e, t, r, a, i) { + const n = this.g_yG, + _ = g + n - i, + l = e + n - a, + o = t + n + i, + s = r + n + a; + this.g_zv(_ + a, l - i, o + a, s - i, o - a, s + i, _ - a, l + i); + } + g_zG(g, e, t, r, a, i) { + const n = this.g_yG, + _ = g + n, + l = e + n, + o = t + n, + s = r + n; + this.g_zv(_ + a, l - i, o + a, s - i, o - a, s + i, _ - a, l + i); + } + g_zH(g, e, t, r, i, n) { + const _ = g_aO.g_ev(g, e, t, r), + l = Math.sin(_), + a = Math.cos(_), + o = 0.5 * this.g_yC, + s = l * o, + d = a * o, + u = this.g_yE; + 2 === u + ? this.g_zI(g, e, t, r, s, d, i, n) + : 1 === u + ? this.g_zJ(g, e, t, r, s, d, i, n) + : this.g_zK(g, e, t, r, s, d, i, n); + } + g_zI(d, e, t, r, a, i, n, _) { + const l = this.g_yG, + o = d + l - i, + u = e + l - a, + c = t + l + i, + p = r + l + a, + f = 2 * i, + h = 2 * a; + E.set(o + a, u - i, c + a, p - i, c - a - f, p + i - h, o - a + f, u + i + h), + s.set(n, 0, _, 0), + this.g_zy(E, s); + } + g_zJ(g, e, t, r, a, i, n, _) { + const d = this.g_yG, + l = g + d - i, + o = e + d - a, + u = t + d + i, + p = r + d + a; + E.set(l + a, o - i, u + a, p - i, u - a, p + i, l - a, o + i), + s.set(n, 0, _, 0), + this.g_zy(E, s); + } + g_zK(g, e, t, r, a, i, n, _) { + const d = this.g_yG, + l = g + d, + o = e + d, + u = t + d, + p = r + d; + E.set(l + a, o - i, u + a, p - i, u - a, p + i, l - a, o + i), + s.set(n, 0, _, 0), + this.g_zy(E, s); + } + g_zL(g, _, e, t) { + const a = 0.5 * this.g_yC, + i = this.g_yE; + 2 === i + ? this.g_zM(g, _, e, t, a) + : 1 === i + ? this.g_zN(g, _, e, t, a) + : this.g_zO(g, _, e, t, a); + } + g_zM(g, _, e, t, a) { + this.g_zE(g, _, e, _, 0, a), + this.g_zE(e, _, e, t, a, 0), + this.g_zE(e, t, g, t, 0, -a), + this.g_zE(g, t, g, _, -a, 0); + } + g_zN(g, _, e, t, a) { + this.g_zF(g, _, e, _, 0, a), + this.g_zF(e, _, e, t, a, 0), + this.g_zF(e, t, g, t, 0, -a), + this.g_zF(g, t, g, _, -a, 0); + } + g_zO(g, _, e, t, a) { + this.g_zG(g, _, e, _, 0, a), + this.g_zG(e, _, e, t, a, 0), + this.g_zG(e, t, g, t, 0, -a), + this.g_zG(g, t, g, _, -a, 0); + } + g_zP(g) { + this.g_zL(g.g_hV(), g.g_hW(), g.g_hX(), g.g_hY()); + } + g_zQ(g) { + const e = g_aO.g_ev(g.g_eW(), g.g_eX(), g.g_eY(), g.g_eZ()), + t = Math.sin(e), + r = Math.cos(e), + a = 0.5 * this.g_yC, + i = t * a, + n = r * a, + _ = this.g_yE; + 2 === _ ? this.g_zR(g, i, n) : 1 === _ ? this.g_zS(g, i, n) : this.g_zT(g, i, n); + } + g_zR(g, _, e) { + this.g_zE(g.g_eW(), g.g_eX(), g.g_eY(), g.g_eZ(), _, e), + this.g_zE(g.g_eY(), g.g_eZ(), g.g_e_(), g.g_e$(), e, -_), + this.g_zE(g.g_e_(), g.g_e$(), g.g_fa(), g.g_fb(), -_, -e), + this.g_zE(g.g_fa(), g.g_fb(), g.g_eW(), g.g_eX(), -e, _); + } + g_zS(g, _, e) { + this.g_zF(g.g_eW(), g.g_eX(), g.g_eY(), g.g_eZ(), _, e), + this.g_zF(g.g_eY(), g.g_eZ(), g.g_e_(), g.g_e$(), e, -_), + this.g_zF(g.g_e_(), g.g_e$(), g.g_fa(), g.g_fb(), -_, -e), + this.g_zF(g.g_fa(), g.g_fb(), g.g_eW(), g.g_eX(), -e, _); + } + g_zT(g, _, e) { + this.g_zG(g.g_eW(), g.g_eX(), g.g_eY(), g.g_eZ(), _, e), + this.g_zG(g.g_eY(), g.g_eZ(), g.g_e_(), g.g_e$(), e, -_), + this.g_zG(g.g_e_(), g.g_e$(), g.g_fa(), g.g_fb(), -_, -e), + this.g_zG(g.g_fa(), g.g_fb(), g.g_eW(), g.g_eX(), -e, _); + } + g_zU(g) { + (this.g_yC = g), (this.g_yD[this.g_yD.length - 1] = g); + } + g_zV() { + return this.g_yC; + } + g_zW(g) { + if (100 <= this.g_yD.length) + throw new Error('pushed too many line widths - check push/pop pairs'); + this.g_yD.push(g), (this.g_yC = g); + } + g_zX() { + if (1 >= this.g_yD.length) + throw new Error('cannot pop last line width - check push/pop pairs'); + this.g_yD.pop(), (this.g_yC = this.g_yD[this.g_yD.length - 1]); + } + g_zY() { + (this.g_yE = 0), (this.g_yF[this.g_yF.length - 1] = 0); + } + g_zZ() { + (this.g_yE = 1), (this.g_yF[this.g_yF.length - 1] = 0); + } + g_z_() { + (this.g_yE = 2), (this.g_yF[this.g_yF.length - 1] = 0); + } + g_z$(g) { + if ('butt' === g) this.g_Aa(); + else if ('square' === g) this.g_Ab(); + else if ('zag' === g) this.g_Ac(); + else throw new Error('invalid line cap'); + } + g_Aa() { + if (100 <= this.g_yF.length) + throw new Error('pushed too many line caps - check push/pop pairs'); + this.g_yF.push(0), (this.g_yE = 0); + } + g_Ab() { + if (100 <= this.g_yF.length) + throw new Error('pushed too many line caps - check push/pop pairs'); + this.g_yF.push(1), (this.g_yE = 1); + } + g_Ac() { + if (100 <= this.g_yF.length) + throw new Error('pushed too many line caps - check push/pop pairs'); + this.g_yF.push(2), (this.g_yE = 2); + } + g_Ad() { + if (1 >= this.g_yF.length) throw new Error('cannot pop last line cap - check push/pop pairs'); + this.g_yF.pop(), (this.g_yE = this.g_yF[this.g_yF.length - 1]); + } + g_Ae(g) { + (this.g_yG = g), (this.g_yH[this.g_yH.length - 1] = g); + } + g_Af() { + return this.g_yG; + } + g_Ag(g) { + if (100 <= this.g_yH.length) + throw new Error('pushed too many line offsets - check push/pop pairs'); + this.g_yH.push(g), (this.g_yG = g); + } + g_Ah() { + if (1 >= this.g_yH.length) + throw new Error('cannot pop last line offset - check push/pop pairs'); + this.g_yH.pop(), (this.g_yG = this.g_yH[this.g_yH.length - 1]); + } + g_Ai(g) { + if (!this.g_yI.g_l(g)) { + this.g_yI.g_p(g); + const _ = this.g_zh(); + _.g_u$(g), (this.g_yt = 0); + } + } + g_Aj(g, e, t, r) { + 7996 <= this.g_yf && this.g_qt(); + let a = this.g_yf; + const s = this.g_yv + this.g_yw; + if (2 === this.g_yt && this.g_yx === s) this.g_yr[this.g_ys - 1].g_uw++; + else { + const g = this.g_zh(); + g.g_vb(a, s), (this.g_yt = 2), (this.g_yx = s); + } + const n = this.g_yc; + (n[a++] = g), (n[a++] = e), (n[a++] = t), (n[a++] = r), (this.g_yf = a); + } + g_qE(g) { + if (this.g_yh !== g) { + const _ = this.g_zh(); + _.g_ve(g), (this.g_yh = g), (this.g_yt = 0), (this.g_pH = null); + } + } + g_yZ() { + this.g_qE(this.g_pF); + } + g_Ak() { + this.g_qE(this.g_yi); + } + g_Al() { + this.g_qE(this.g_yj); + } + g_Am() { + this.g_qE(this.g_yk); + } + g_An(g) { + const _ = this.g_zh(); + _.g_uI(g), (this.g_yt = 0); + } + g_Ao() { + this.g_qE(this.g_yl); + } + g_Ap() { + this.g_qE(this.g_ym); + } + g_Aq() { + this.g_qE(this.g_yn); + } + g_Ar() { + this.g_qE(this.g_yo); + } + g_As(g, _, e = 1) { + const t = this.g_zh(); + t.g_vv(g, _, e), (this.g_yt = 0); + } + g_At() { + this.g_qE(this.g_yp); + } + g_Au() { + this.g_qE(this.g_yq); + } + g_Av(g, e, t, r, a, i, n) { + if (this.g_yh !== this.g_yq) throw new Error('must set tilemap fill mode first'); + const _ = this.g_zh(); + _.g_vx(g, e, t, r, a, i, n), (this.g_yt = 0); + } + g_Aw(g, e, t, r, a, i, n, _, l, o, d) { + const h = this.g_yh, + u = h.g_sL, + s = !!d.length; + if ((u && !h.g_tH(e, t, r, a, i, n, _, l, o)) || (s && !h.g_tD(d))) { + const c = this.g_zh(); + if ((c.g_vg(), u)) { + h.g_tK(e, t, r, a, i, n, _, l, o); + const d = c.g_uy; + (d[0] = i), (d[1] = n), e.g_gU(d, 2), (d[6] = _), (d[7] = l), t.g_gU(d, 12); + const s = c.g_uz; + a.g_gU(s, 0); + const u = s[1]; + (s[1] = s[3]), + (s[3] = u), + r.g_gU(c.g_uA, 0), + (c.g_uv = o), + (c.g_ux = h.g_sy.g_sM() ? (g ? g.g_rQ() : null) : null); + } + s && (h.g_tF(d), g_aO.g_fD(c.g_uB, d)), (this.g_yt = 0); + } + } + g_Ax(g, _, e, t) { + const n = this.g_zh(); + n.g_uU(g, _, e, t), (this.g_yt = 0); + } + g_js(g) { + const _ = this.g_zh(); + _.g_uT(g), (this.g_yt = 0); + } + g_Ay(g, _, e, t) { + this.g_Az(g, _, e, t, 0, 0, 0, 0); + } + g_AA(g) { + this.g_Az(g.g_hV(), g.g_hW(), g.width(), g.height(), 0, 0, 0, 0); + } + g_AB(g, _) { + this.g_Az(g.g_hV(), g.g_hW(), g.width(), g.height(), _.g_gP(), _.g_gQ(), _.g_gR(), _.g_gS()); + } + g_Az(g, e, t, i, n, _, r, s) { + if (!(0 > t || 0 > i)) { + const d = this.g_zh(); + d.g_uX(g, e, t, i, n, _, r, s), (this.g_yt = 0); + } + } + g_AC() {} + g_qs() { + super.g_qs(), this.g_sg.flush(); + } + g_AD() { + for (const g of this.g_yU) g.g_xH(this.g_pK); + } + g_xe() { + return !this.g_sg || this.g_sg.isContextLost() || this.g_yR; + } + g_qI() { + g_aO.g_ps.g_qT.g_qI(), g_aO.g_ps.g_rz.g_qI(), g_aO.g_ps.g_vE.g_qI(); + for (const g of this.g_yU) g.g_js(); + (this.g_yP = []), + (this.g_xj = null), + (this.g_yS = null), + (this.g_yN = '(unavailable)'), + (this.g_yO = '(unavailable)'), + (this.g_yh = null), + (this.g_pF = null), + (this.g_yi = null), + (this.g_yj = null), + (this.g_yk = null), + (this.g_yl = null), + (this.g_ym = null), + (this.g_yn = null), + (this.g_yo = null), + (this.g_yp = null), + (this.g_vd = null), + (this.g_yq = null); + for (const g of this.g_pG.values()) g.g_qI(); + for (const g of this.g_pD) g.g_ek(); + this.g_p_(); + } + async g_qJ() { + (this.g_yR = !0), await this.g_yW(), (this.g_yR = !1); + for (const g of this.g_pG.values()) g.g_qJ(this); + this.g_wQ(this.g_pu, this.g_pv, !0); + } + g_AE(g, _) { + if (this.g_xe()) throw new Error('context lost'); + this.g_qt(); + const e = g_aO.g_ej(g_aO.g_ps.g_qT, this); + return e.g_ra(g, _), e; + } + g_AF(g, _) { + return this.g_xe() + ? Promise.reject('context lost') + : ((_ = Object.assign({}, _)), + g_aO.g_cm.g_cq && (this.g_re() || !_.g_qM) + ? ((_.g_cr = !1), + createImageBitmap(g, { premultiplyAlpha: 'premultiply' }).then((g) => + g_aO.g_gl(() => this.g_AE(g, _)) + )) + : g_aO.g_cm.ImageBitmap + ? createImageBitmap(g).then((g) => g_aO.g_gl(() => this.g_AE(g, _))) + : g instanceof Blob + ? g_aO.g_gj(g, !0).then((g) => this.g_AF(g, _)) + : 'undefined' != typeof HTMLImageElement && + g instanceof HTMLImageElement && + 'function' == typeof g.decode + ? g.decode().then(() => g_aO.g_gl(() => this.g_AE(g, _))) + : g_aO.g_gl(() => this.g_AE(g, _))); + } + g_rH(g, _, e) { + this.g_qt(); + const t = g_aO.g_ej(g_aO.g_ps.g_qT, this); + return t.g_ri(g, _, e), t; + } + g_xf(g, _, e) { + this.g_qt(), _.g_rl(g, e); + } + g_rL(g) { + g && + (g.g_rr(), + 0 < g.g_rs() || + (this.g_qt(), + g === this.g_yz && + (this.g_sg.bindTexture(this.g_sg.TEXTURE_2D, null), (this.g_yz = null)), + g === this.g_vk && + (this.g_sg.activeTexture(this.g_sg.TEXTURE1), + this.g_sg.bindTexture(this.g_sg.TEXTURE_2D, null), + this.g_sg.activeTexture(this.g_sg.TEXTURE0), + (this.g_vk = null)), + g.g_rm())); + } + g_AG(g) { + let _ = this.g_pu, + e = this.g_pv, + n = !0; + if ( + (g && + ('number' == typeof g.width && ((_ = g.width), (n = !1)), + 'number' == typeof g.height && ((e = g.height), (n = !1))), + 0 >= _ || 0 >= e) + ) + throw new Error('invalid size'); + this.g_qt(); + const s = g_aO.g_ej(g_aO.g_ps.g_rz, this); + return ( + s.g_rG(_, e, Object.assign({ g_rx: n }, g)), (this.g_yu = null), (this.g_uu.g_rM = null), s + ); + } + g_AH(g) { + if (g === this.g_yu) return; + let e, s, d, l; + g + ? (g.g_rU() && g.g_rK(this.g_pu, this.g_pv), + (d = g.g_pN()), + (l = g.g_pO()), + (e = d), + (s = l)) + : ((d = this.g_pu), (l = this.g_pv), (e = this.g_uQ()), (s = this.g_uR())); + const o = this.g_xY !== d || this.g_xZ !== l; + o && this.g_zd(e, s, d, l); + const n = this.g_zh(); + n.g_uO(g, o, this.g_pA), (this.g_yu = g), (this.g_yt = 0); + } + g_AI() { + return this.g_yu; + } + g_zB(g) { + return g ? [g.g_pN(), g.g_pO()] : [this.g_pu, this.g_pv]; + } + g_AJ(g, _ = 'stretch') { + if (2 > this.g_xi || (this.g_yu && 0 < this.g_yu.g_rV())) + this.g_zt(), this.g_zn(), this.g_AK(g, _); + else { + const e = this.g_zh(); + e.g_vn(g, this.g_yu, _), (this.g_yt = 0); + } + } + g_AK(g, _ = 'stretch') { + const e = g.g_rQ(); + if (!e) throw new Error('not a texture-backed render target'); + this.g_zp(e), this.g_zA(_, e); + } + g_AL(g) { + if (!(2 > this.g_xi)) { + const _ = this.g_zh(); + _.g_vl(g.g_rO()), (this.g_yt = 0); + } + } + g_AM(g) { + this.g_AH(null), this.g_qt(); + const _ = g.g_rQ(); + _ === this.g_yz && (this.g_sg.bindTexture(this.g_sg.TEXTURE_2D, null), (this.g_yz = null)), + _ === this.g_vk && + (this.g_sg.activeTexture(this.g_sg.TEXTURE1), + this.g_sg.bindTexture(this.g_sg.TEXTURE_2D, null), + this.g_sg.activeTexture(this.g_sg.TEXTURE0), + (this.g_vk = null)), + g.g_rm(); + } + async g_r_(g, e) { + this.g_qt(); + const t = this.g_yu; + let d, u, p; + g + ? ((d = g.g_pN()), (u = g.g_pO()), (p = g.g_rO())) + : ((d = this.g_pN()), (u = this.g_pO()), (p = null)); + const h = this.g_sg; + h.bindFramebuffer(h.FRAMEBUFFER, p); + const _ = () => { + h.bindFramebuffer(h.FRAMEBUFFER, null), + (this.g_yu = null), + (this.g_uu.g_rM = null), + this.g_AH(t); + }; + let l; + if (!e && 2 <= this.g_rd()) { + h.bindFramebuffer(h.READ_FRAMEBUFFER, p); + const g = h.createBuffer(), + e = 4 * (d * u), + a = h.PIXEL_PACK_BUFFER; + h.bindBuffer(a, g), + h.bufferData(a, e, h.STREAM_READ), + h.readPixels(0, 0, d, u, h.RGBA, h.UNSIGNED_BYTE, 0), + h.bindFramebuffer(h.READ_FRAMEBUFFER, null), + h.bindBuffer(a, null), + _(); + const t = h.fenceSync(h.SYNC_GPU_COMMANDS_COMPLETE, 0); + await this.g_se(() => h.getSyncParameter(t, h.SYNC_STATUS) === h.SIGNALED), + h.deleteSync(t), + (l = new ImageData(d, u)), + h.bindBuffer(a, g), + h.getBufferSubData(a, 0, new Uint8Array(l.data.buffer), 0, e), + h.bindBuffer(a, null), + h.deleteBuffer(g); + } else + (l = new ImageData(d, u)), + h.readPixels(0, 0, d, u, h.RGBA, h.UNSIGNED_BYTE, new Uint8Array(l.data.buffer)), + _(); + return l; + } + g_AN(g) { + if (this.g_AO()) { + const _ = this.g_zh(); + _.g_vp(g), (this.g_yt = 0); + } + } + g_AP(g) { + if (this.g_AO()) { + const _ = this.g_zh(); + _.g_vs(g), (this.g_yt = 0); + } + } + g_se(g) { + const _ = new Promise((_) => d.add({ resolve: _, g_xK: g })); + return -1 === t && (t = self.requestAnimationFrame(h)), _; + } + g_AQ() { + return !!this.g_xV.desynchronized; + } + g_AR() { + return this.g_pu * this.g_pv * (this.g_xV.alpha ? 4 : 3); + } + g_AS() { + let g = 0; + for (const _ of g_aO.g_ps.g_rz.g_r$()) _.g_rQ() || (g += _.g_ru()); + return g; + } + g_AT() { + let g = 0; + for (const _ of g_aO.g_ps.g_qT.g_rv()) g += _.g_ru(); + return g; + } + g_AU() { + return this.g_AR() + this.g_AS() + this.g_AT(); + } + g_AV() { + return this.g_xW; + } + g_rd() { + return this.g_xi; + } + g_re() { + return 2 <= this.g_rd(); + } + g_rb() { + return this.g_yJ; + } + g_AW() { + return this.g_yK; + } + g_AX() { + return this.g_yL; + } + g_AY() { + return 0 !== this.g_yM; + } + g_AZ() { + return this.g_yM; + } + g_A_() { + return this.g_yN; + } + g_A$() { + return this.g_yO; + } + g_Ba() { + return this.g_yP; + } + g_rk() { + return this.g_yQ; + } + g_AO() { + return !!this.g_xj; + } + g_xk() { + return this.g_xj; + } + g_sd() { + return this.g_yS; + } + g_xE(g) { + this.g_yU.add(g); + } + g_xF(g) { + this.g_yU.delete(g); + } + g_xx() { + return this.g_yV; + } + g_rc() { + return this.g_sg; + } + g_yX(g) { + this.g_ql([ + ['normal', g.ONE, g.ONE_MINUS_SRC_ALPHA], + ['additive', g.ONE, g.ONE], + ['xor', g.ONE, g.ONE_MINUS_SRC_ALPHA], + ['copy', g.ONE, g.ZERO], + ['destination-over', g.ONE_MINUS_DST_ALPHA, g.ONE], + ['source-in', g.DST_ALPHA, g.ZERO], + ['destination-in', g.ZERO, g.SRC_ALPHA], + ['source-out', g.ONE_MINUS_DST_ALPHA, g.ZERO], + ['destination-out', g.ZERO, g.ONE_MINUS_SRC_ALPHA], + ['source-atop', g.DST_ALPHA, g.ONE_MINUS_SRC_ALPHA], + ['destination-atop', g.ONE_MINUS_DST_ALPHA, g.SRC_ALPHA] + ]); + } + g_Bb() { + return g_aO.g_ej(g_aO.g_ps.g_vE, this); + } + }; +} +{ + function g(g) { + if (!g) return ''; + const _ = g.split('.'); + if (2 > _.length) return ''; + const e = _[_.length - 1].toLowerCase(); + return t.get(e) || ''; + } + function _(g) { + return new Promise((_, e) => { + const a = document.createElement('script'); + (a.onload = _), (a.onerror = e), (a.async = !1), (a.src = g), document.head.appendChild(a); + }); + } + const e = new Set(['local', 'remote']), + t = new Map([ + ['mp4', 'video/mp4'], + ['webm', 'video/webm'], + ['m4a', 'audio/mp4'], + ['mp3', 'audio/mpeg'], + ['js', 'application/javascript'], + ['wasm', 'application/wasm'], + ['svg', 'image/svg+xml'] + ]); + g_aO.g_Bc = class extends g_aO.g_eh { + constructor(g, _) { + if ((super(), !e.has(_.g_Bd))) throw new Error('invalid load policy'); + if ( + ((this.g_Be = g), + (this.g_Bf = new Map()), + (this.g_Bg = new Map()), + (this.g_Bh = !!_.g_Bi), + (this.g_Bj = !!_.g_Bk), + (this.g_Bl = _.g_Bm || {}), + (this.g_Bn = new Map()), + (this.g_Bo = !1), + (this.g_Bp = ''), + (this.g_Bq = ''), + (this.g_Br = ''), + (this.g_Bs = _.g_Bd), + (this.g_Bt = []), + (this.g_Bu = new Map()), + (this.g_Bv = []), + (this.g_Bw = []), + (this.g_Bx = !1), + (this.g_By = 0), + (this.g_Bz = 0), + (this.g_BA = 0), + (this.g_BB = !1), + (this.g_BC = g_aO.g_ej(g_aO.g_mQ, () => this.g_BD(), 50)), + (this.g_BE = new g_aO.g_mH(Math.max(g_aO.hardwareConcurrency, 8))), + _.g_BF) + ) + for (const [g, e] of Object.entries(_.g_BF)) this.g_Bf.set(g.toLowerCase(), e); + this.g_BG = new g_BH(this); + } + g_ek() { + this.g_Bf.clear(); + for (const g of this.g_Bg.values()) URL.revokeObjectURL(g); + this.g_Bg.clear(); + for (const g of this.g_Bt) g.g_ek(); + g_aO.g_fz(this.g_Bt), this.g_Bu.clear(), g_aO.g_fz(this.g_Bw), (this.g_Be = null); + } + g_BI() { + return this.g_Be; + } + g_BJ(g) { + this.g_Bp = g; + } + g_BK() { + return this.g_Bp; + } + g_BL(g) { + this.g_Bq = g; + } + g_BM() { + return this.g_Bq; + } + g_BN(g) { + this.g_Br = g; + } + g_BO() { + return this.g_Br; + } + g_BP(g) { + return this.g_Bf.has(g.toLowerCase()); + } + g_BQ(g) { + return this.g_Bf.get(g.toLowerCase()) || null; + } + g_BR(g) { + const _ = this.g_BQ(g); + if (!_) return g; + let e = this.g_Bg.get(_); + return e || ((e = URL.createObjectURL(_)), this.g_Bg.set(_, e)), e; + } + g_gd(g, _) { + _ = _ || this.g_Bs; + const e = this.g_BQ(g); + if (e) return Promise.resolve(e); + if (g_aO.g_f_(g)) { + const e = g.toLowerCase(); + return this.g_Bh + ? this.g_BS(e) + : 'local' === _ + ? this.g_BE.g_jB(() => g_aO.g_gd(e)) + : g_aO.g_gd(e); + } + return g_aO.g_gd(g); + } + g_ge(g) { + const _ = this.g_BQ(g); + if (_) return g_aO.g_gg(_); + if (g_aO.g_f_(g)) { + const _ = g.toLowerCase(); + return this.g_Bh + ? this.g_BT(_) + : 'local' === this.g_Bs + ? this.g_BE.g_jB(() => g_aO.g_ge(_)) + : g_aO.g_ge(_); + } + return g_aO.g_ge(g); + } + g_gb(g) { + const _ = this.g_BQ(g); + if (_) return g_aO.g_gh(_); + if (g_aO.g_f_(g)) { + const _ = g.toLowerCase(); + return this.g_Bh + ? this.g_BU(_) + : 'local' === this.g_Bs + ? this.g_BE.g_jB(() => g_aO.g_gb(_)) + : g_aO.g_gb(_); + } + return g_aO.g_gb(g); + } + async g_gc(g) { + const _ = await this.g_gb(g); + return JSON.parse(_); + } + g_BV(g, _) { + return this.g_Be.g_BW('runtime', 'cordova-fetch-local-file', { filename: g, as: _ }); + } + g_BU(g) { + return this.g_BV(g, 'text'); + } + async g_BS(_) { + const e = await this.g_BV(_, 'buffer'), + a = g(_); + return new Blob([e], { type: a }); + } + async g_BX(g) { + g = g.toLowerCase(); + let _ = this.g_Bg.get(g); + if (_) return _; + const e = await this.g_BS(g); + return (_ = URL.createObjectURL(e)), this.g_Bg.set(g, _), _; + } + g_BT(g) { + return this.g_BV(g, 'buffer'); + } + g_BY(g) { + return this.g_BP(g) ? this.g_BR(g) : this.g_Bp + g.toLowerCase(); + } + g_BZ(g, _ = '') { + if (g_aO.g_fZ(g)) { + if (_) throw new Error('cannot specify subfolder with remote URL'); + return Promise.resolve(g); + } + return this.g_BP(g) + ? Promise.resolve(this.g_BR(g)) + : this.g_Bh + ? this.g_BX(_ + g) + : Promise.resolve(_ + g.toLowerCase()); + } + g_B_(g) { + return this.g_BZ(g); + } + g_B$(g) { + if (g.g_Ca && !e.has(g.g_Ca)) throw new Error('invalid load policy'); + let _ = this.g_Bu.get(g.url); + return _ + ? _ + : ((_ = g_aO.g_ej(g_aO.g_Cb, this, { + url: g.url, + size: g.size || 0, + g_Ca: g.g_Ca || this.g_Bs + })), + this.g_Bt.push(_), + this.g_Bu.set(_.g_Cc(), _), + this.g_Bx || + ((this.g_By += _.g_jv()), this.g_Bw.push(_.g_Cd().then(() => this.g_Ce(_.g_jv())))), + _); + } + async g_Cf() { + try { + await Promise.all(this.g_Bw), (this.g_BA = 1); + } catch (g) { + console.error('Error loading: ', g), (this.g_BB = !0), this.g_BD(); + } + } + g_Cg() { + this.g_Bx = !0; + } + g_Ch() { + return this.g_BB; + } + g_Ce(g) { + (this.g_Bz += g), this.g_BC.g_nc(); + } + g_BD() { + const g = g_aO.g_ej(g_aO.Event, 'loadingprogress'); + (this.g_BA = g_aO.g_ep(this.g_Bz / this.g_By, 0, 1)), + (g.g_Ci = this.g_BA), + this.g_Be.g_lh().dispatchEvent(g); + } + g_Cj() { + return this.g_BA; + } + g_Ck(g) { + g_aO.g_fD(this.g_Bv, g), this.g_Bv.length && this.g_Bw.push(this.g_Cl()); + } + g_Cl() { + if ('undefined' == typeof FontFace) return Promise.resolve(); + const g = []; + for (const [_, e, a] of this.g_Bv) + (this.g_By += a), g.push(this.g_Cm(_, e).then(() => this.g_Ce(a))); + return Promise.all(g); + } + async g_Cm(g, _) { + try { + const e = await this.g_BZ(_, this.g_Bq), + a = new FontFace(g, `url('${e}')`); + this.g_Be.g_Cn() ? self.fonts.add(a) : document.fonts.add(a), await a.load(); + } catch (_) { + console.warn(`[C3 runtime] Failed to load web font '${g}': `, _); + } + } + g_Co(g) { + return !!this.g_Bl[g]; + } + g_Cp(g, _) { + this.g_Bo = !!_; + for (const [t, a, n] of g) + this.g_Bn.set(t, { + fileName: t, + g_Cq: a.map((g) => ({ type: g[0], g_Cr: g[1], g_Cs: t + g[1], fileSize: g[2] })), + g_Ct: n + }); + } + g_Cu(g) { + const _ = this.g_Bn.get(g.toLowerCase()); + if (!_) return null; + let e = null; + for (const a of _.g_Cq) + if ((e || 'audio/webm; codecs=opus' !== a.type || (e = a), this.g_Co(a.type))) return a; + return e; + } + g_Cv(g) { + const _ = this.g_Cu(g); + return _ ? { url: this.g_BY(_.g_Cs), type: _.type } : null; + } + g_Cw() { + if (this.g_Bo) { + const g = []; + for (const _ of this.g_Bn.values()) { + if (_.g_Ct) continue; + const e = this.g_Cu(_.fileName); + e && + g.push({ + g_Cx: _.fileName, + url: this.g_BY(e.g_Cs), + type: e.type, + fileSize: e.fileSize + }); + } + return g; + } + return []; + } + g_Cy() { + return this.g_BG; + } + async g_Cz(...g) { + const e = await Promise.all(g.map((g) => this.g_BZ(g))); + this.g_Be.g_Cn() ? importScripts(...e) : await Promise.all(e.map((g) => _(g))); + } + async g_CA(g) { + if (WebAssembly.compileStreaming) { + const _ = await this.g_BZ(g); + return await WebAssembly.compileStreaming(fetch(_)); + } else { + const _ = await g_aO.g_ge(g); + return await WebAssembly.compile(_); + } + } + async g_CB(g) { + const _ = await this.g_BZ(g); + return await this.g_Be.g_BW('runtime', 'add-stylesheet', { url: _ }); + } + }; +} +'use strict', + (g_aO.g_CC = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_CD = g), + (this.g_Be = g.g_BI()), + (this.g_CE = _.url), + (this.g_CF = _.size), + (this.g_CG = _.g_Ca), + (this.g_CH = null), + (this.g_CI = !1), + (this.g_CJ = null); + } + g_ek() { + (this.g_CJ = null), (this.g_CD = null), (this.g_Be = null), (this.g_CH = null); + } + g_Cc() { + return this.g_CE; + } + g_jv() { + return this.g_CF; + } + g_Cd() { + return 'local' === this.g_CG || this.g_CH + ? ((this.g_CI = !0), Promise.resolve()) + : this.g_CJ + ? this.g_CJ + : ((this.g_CJ = this.g_CD + .g_gd(this.g_CE, this.g_CG) + .then((g) => { + (this.g_CI = !0), (this.g_CJ = null), (this.g_CH = g); + }) + .catch((g) => console.error('Error loading resource: ', g))), + this.g_CJ); + } + g_CK() { + return this.g_CI; + } + g_CL() { + return this.g_CH ? Promise.resolve(this.g_CH) : this.g_CD.g_gd(this.g_CE, this.g_CG); + } + }), + 'use strict'; +{ + const g = new g_aO.g_mH(), + _ = new Set(); + g_aO.g_Cb = class extends g_aO.g_CC { + constructor(g, e) { + super(g, e), + (this.g_CM = null), + (this.g_CN = null), + (this.g_nD = 0), + (this.g_CO = -1), + (this.g_CP = -1), + _.add(this); + } + g_ek() { + if ((this.g_wt(), 0 !== this.g_nD)) + throw new Error('released image asset which still has texture references'); + (this.g_CM = null), _.delete(this), super.g_ek(); + } + static g_CQ() { + for (const g of _) (g.g_CM = null), (g.g_CN = null), (g.g_nD = 0); + } + g_CR(_, e) { + return (this.g_nD++, this.g_CN) + ? Promise.resolve(this.g_CN) + : this.g_CM + ? this.g_CM + : ((this.g_CM = this.g_CL() + .then((a) => + g.g_jB(() => + _.g_AF(a, e).then((g) => + ((this.g_CM = null), 0 === this.g_nD) + ? (_.g_rL(g), null) + : ((this.g_CN = g), (this.g_CO = g.g_pN()), (this.g_CP = g.g_pO()), this.g_CN) + ) + ) + ) + .catch((g) => { + throw (console.error('Failed to load texture: ', g), g); + })), + this.g_CM); + } + g_wt() { + if (0 >= this.g_nD) throw new Error('texture released too many times'); + if ((this.g_nD--, 0 === this.g_nD && this.g_CN)) { + const g = this.g_CN.g_rp(); + g.g_rL(this.g_CN), (this.g_CN = null); + } + } + g_rQ() { + return this.g_CN; + } + g_pN() { + return this.g_CO; + } + g_pO() { + return this.g_CP; + } + async g_CS() { + const g = await this.g_CL(); + return g_aO.g_cm.g_cq + ? await createImageBitmap(g, { premultiplyAlpha: 'none' }) + : g_aO.g_cm.ImageBitmap + ? await createImageBitmap(g) + : await g_aO.g_gj(g); + } + }; +} +{ + function g(g, _) { + return g.g_CU().g_CT() - _.g_CU().g_CT(); + } + g_aO.g_CV = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_CW = g), + (this.g_hB = _), + (this.g_hC = e), + (this.g_CX = []), + (this.g_CY = !0), + (this.g_CZ = new Set()), + (this.g_C_ = !1); + } + g_ek() { + g_aO.g_fz(this.g_CX), this.g_CZ.clear(), (this.g_CW = null); + } + g_lC() { + g_aO.g_fz(this.g_CX), (this.g_CY = !0), this.g_CZ.clear(), (this.g_C_ = !1); + } + g_C$() { + this.g_CY = !1; + } + g_jC() { + return !this.g_CX.length || (!(this.g_CX.length > this.g_CZ.size) && (this.g_Da(), !0)); + } + g_Db(g) { + return this.g_CZ.has(g) + ? (this.g_CZ.delete(g), void (0 === this.g_CZ.size && (this.g_C_ = !1))) + : void (this.g_CX.push(g), (this.g_CY = 1 === this.g_CX.length)); + } + g_lO(g) { + this.g_CZ.add(g), (this.g_C_ = !0), 50 <= this.g_CZ.size && this.g_Da(); + } + g_Da() { + return this.g_C_ + ? this.g_CX.length === this.g_CZ.size + ? void this.g_lC() + : void (g_aO.g_fI(this.g_CX, this.g_CZ), this.g_CZ.clear(), (this.g_C_ = !1)) + : void 0; + } + g_Dc() { + this.g_CY || (this.g_CX.sort(g), (this.g_CY = !0)); + } + g_Dd(g) { + this.g_Da(), this.g_Dc(), this.g_CX.length && g.push(this.g_CX); + } + }; +} +'use strict', + (g_aO.g_De = class extends g_aO.g_eh { + constructor(g, _) { + super(), (this.g_Df = g), (this.g_Dg = _), (this.g_Dh = g_aO.g_ej(g_aO.g_jq)); + } + g_ek() { + this.g_Dh.g_ek(), (this.g_Dh = null); + } + g_Di(g, _, e) { + let a = this.g_Dh.g_bd(g, _); + return a ? a : e ? ((a = g_aO.g_ej(g_aO.g_CV, this, g, _)), this.g_Dh.Set(g, _, a), a) : null; + } + g_Dj(g) { + return Math.floor(g / this.g_Df); + } + g_Dk(g) { + return Math.floor(g / this.g_Dg); + } + g_Dl(g, _, a) { + if (_) + for (let t = _.g_hV(), n = _.g_hX(); t <= n; ++t) + for (let n = _.g_hW(), e = _.g_hY(); n <= e; ++n) { + if (a && a.g_iq(t, n)) continue; + const _ = this.g_Di(t, n, !1); + _ && (_.g_lO(g), _.g_jC() && this.g_Dh.g_jt(t, n)); + } + if (a) + for (let t = a.g_hV(), n = a.g_hX(); t <= n; ++t) + for (let n = a.g_hW(), e = a.g_hY(); n <= e; ++n) + (_ && _.g_iq(t, n)) || this.g_Di(t, n, !0).g_Db(g); + } + g_Dm(g, _) { + let t = this.g_Dj(g.g_hV()); + for ( + const n = this.g_Dk(g.g_hW()), a = this.g_Dj(g.g_hX()), e = this.g_Dk(g.g_hY()); + t <= a; + ++t + ) + for (let g = n; g <= e; ++g) { + const e = this.g_Di(t, g, !1); + e && e.g_Dd(_); + } + } + g_Dn(g) { + let _ = g.g_hV(); + for (const t = g.g_hW(), a = g.g_hX(), n = g.g_hY(); _ <= a; ++_) + for (let g = t; g <= n; ++g) { + const e = this.g_Di(_, g, !1); + e && e.g_C$(); + } + } + }), + 'use strict'; +{ + function _(g, _) { + return g.g_CU().g_CT() - _.g_CU().g_CT(); + } + function a(g, _) { + return g.g_CU().g_Do() - _.g_CU().g_Do(); + } + const t = new g_aO.Rect(), + n = new g_aO.g_iu(), + i = [], + r = new g_aO.Rect(), + s = new g_aO.Rect(), + l = vec3.g_q(0, 1, 0); + g_aO.g_Dp = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_Dq = g), + (this.g_Be = g.g_BI()), + (this.g_en = e[0]), + (this.g_Dr = _), + (this.g_Ds = e[2]), + (this.g_Dt = !!e[3]), + (this.g_Du = g_aO.g_ej(g_aO.g_gB)), + this.g_Du.g_hs(e[4].map((g) => g / 255)), + (this.g_Dv = !!e[5]), + (this.g_Dw = e[6]), + (this.g_Dx = e[7]), + (this.g_qB = g_aO.g_ej(g_aO.g_gB, 1, 1, 1, e[8])), + (this.g_Dy = g_aO.g_ej(g_aO.g_gB)), + (this.g_Dz = e[9]), + (this.g_DA = e[10]), + (this.g_DB = e[11]), + (this.g_DC = e[12]), + (this.g_qz = 0), + (this.g_qA = 0), + (this.g_DD = null), + (this.g_DE = 1), + (this.g_qC = e[16]), + (this.g_DF = 0), + (this.g_DG = !0), + (this.g_DH = g_aO.g_ej(g_aO.Rect)), + (this.g_DI = g_aO.g_ej(g_aO.Rect)), + (this.g_DJ = []), + (this.g_DK = []), + (this.g_DL = []), + (this.g_CX = []), + (this.g_DM = !1), + (this.g_DN = !1), + (this.g_DO = g_aO.g_ej(g_aO.g_DP, this, e[15])), + (this.g_DQ = null), + (this.g_DR = []), + (this.g_DS = !1), + (this.g_DT = g_aO.g_ej(g_aO.Rect, 0, 0, -1, -1)), + (this.g_DU = g_aO.g_ej(g_aO.Rect, 0, 0, -1, -1)), + (this.g_DV = new g_DW(this)), + this.g_DX(), + this.g_DA && (this.g_DQ = g_aO.g_ej(g_aO.g_De, this.g_Be.g_DY(), this.g_Be.g_DZ())); + for (const t of e[14]) { + const g = this.g_Be.g_D_(t[1]); + this.g_Dq.g_D$(g), g.g_Ea() || (g.g_Eb(t), g.g_Ec(this.g_Dr)), this.g_DK.push(t); + } + g_aO.g_fD(this.g_DJ, this.g_DK); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_Dp, g, _, e); + } + g_ek() { + (this.g_Dq = null), (this.g_Be = null); + } + g_Ed(_) { + const a = this.g_Dq.g_Ee(); + let t = 0; + const n = this.g_DK; + for (let i = 0, g = n.length; i < g; ++i) { + const e = n[i], + r = this.g_Be.g_D_(e[1]); + let g = !0; + if (!r.g_Ef() || a) { + const a = this.g_Be.g_Eg(e, this, !0); + _.push(a), r.g_Eh() && ((g = !1), this.g_DL.push(a.g_Ei())); + } + g && ((n[t] = n[i]), ++t); + } + g_aO.g_fy(n, t), this.g_Be.g_Ej(), this.g_Ek(); + } + g_El(g, _) { + const e = g.g_CU(); + if (e.g_Em() !== this) throw new Error('instance added to wrong layer'); + this.g_CX.push(g), + 0 !== e.g_Do() && (this.g_DN = !0), + _ && this.g_DA && g.g_CU().g_En(), + this.g_Ek(); + } + g_Eo(g) { + this.g_CX.includes(g) || + (this.g_CX.push(g), 0 !== g.g_CU().g_Do() && (this.g_DN = !0), this.g_Ek()); + } + g_Ep(g, _) { + const e = g.g_CU(); + if (e.g_Em() !== this) throw new Error('instance added to wrong layer'); + this.g_CX.unshift(g), + 0 !== e.g_Do() && (this.g_DN = !0), + this.g_Ek(), + _ && this.g_DA && g.g_CU().g_En(); + } + g_Eq(g, _) { + const e = this.g_CX.indexOf(g); + 0 > e || + (_ && this.g_DA && g.g_CU().g_Er(), this.g_CX.splice(e, 1), this.g_Ek(), this.g_Es()); + } + g_Et() { + this.g_DN = !0; + } + g_Es() { + 0 === this.g_CX.length && (this.g_DN = !1); + } + g_Eu(g) { + if (g) { + const g = new Set(); + for (const _ of this.g_CX) { + const e = _.g_CU().g_CT(); + 0 <= e && g.add(e); + } + let _ = -1; + for (const e of this.g_CX) { + const a = e.g_CU(); + if (!(0 <= a.g_CT())) { + for (++_; g.has(_); ) ++_; + a.g_Ev(_); + } + } + } + this.g_CX.sort(_); + } + g_Ew() { + this.g_Ex(this.g_Ey(), !0); + } + g_Ez() { + for (const g of this.g_CX) g.g_EA().g_Eh() || this.g_Be.g_EB(g); + this.g_Be.g_Ej(), g_aO.g_fz(this.g_CX), (this.g_DN = !1), this.g_Ek(); + } + g_EC(_, a) { + const t = this.g_Be.g_ED(), + n = this.g_Be.g_EE(), + r = _.g_EF(); + for (const e of this.g_DK) { + const s = e[0], + g = s[0], + d = s[1]; + if (!a.g_iq(g, d)) continue; + const i = n[e[1]]; + if (i !== _) + if (!r) continue; + else if (!_.g_EG(i)) continue; + const l = this.g_Be.g_Eg(e, this, !1); + if ((t.g_EH(!0), l.g_EI(), l.g_EJ())) for (const g of l.siblings()) g.g_EI(); + t.g_EH(!1); + } + } + g_EK() { + return this.g_CX.length; + } + g_EL() { + return this.g_Dq; + } + g_pY() { + return this.g_en; + } + g_EM() { + return this.g_Dr; + } + g_EN() { + return this.g_Ds; + } + g_BI() { + return this.g_Be; + } + g_EO() { + return this.g_Be.g_EO(); + } + g_EP() { + return this.g_DO; + } + g_EQ() { + return this.g_DA; + } + g_ER() { + return this.g_DQ; + } + g_ES() { + this.g_DS = !1; + } + g_ET() { + return this.g_Dt; + } + g_EU(g) { + (g = !!g), this.g_Dt === g || ((this.g_Dt = g), this.g_Be.g_EV()); + } + g_EW() { + return this.g_DH; + } + g_EX(_, a) { + const t = this.g_DI; + if (0 === _) a.g_p(t); + else { + const n = this.g_EY(_), + i = t.g_h$(), + e = t.g_ia(), + r = (0.5 * t.width()) / n, + g = (0.5 * t.height()) / n; + a.set(i - r, e - g, i + r, e + g); + } + } + g_zk() { + return this.g_qB.g_gS(); + } + g_zm(g) { + (g = g_aO.g_ep(g, 0, 1)), + this.g_qB.g_gS() === g || (this.g_qB.g_gN(g), this.g_DX(), this.g_Be.g_EV()); + } + g_DX() { + this.g_Dy.g_p(this.g_qB), this.g_Dy.g_gZ(); + } + g_EZ() { + return this.g_Dy; + } + g_E_() { + return this.g_qB.g_gX(1, 1, 1, 1); + } + g_E$() { + return this.g_DB; + } + g_Fa(g) { + this.g_DB === g || ((this.g_DB = g), this.g_Be.g_EV()); + } + g_Fb() { + return this.g_Dw; + } + g_Fc() { + return this.g_Dx; + } + g_Fd(g, _) { + if ( + (this.g_Dw !== g || this.g_Dx !== _) && + ((this.g_Dw = g), (this.g_Dx = _), this.g_Be.g_EV(), 1 !== this.g_Dw || 1 !== this.g_Dx) + ) + for (const g of this.g_CX) g.g_EA().g_Fe(!0); + } + g_Ff(g) { + this.g_Fd(g, this.g_Fc()); + } + g_Fg(g) { + this.g_Fd(this.g_Fb(), g); + } + g_Fh(g) { + this.g_qC = +g; + } + g_Do() { + return this.g_qC; + } + g_Fi(g) { + this.g_DF = g_aO.g_eq(g); + } + g_Fj() { + return this.g_DG ? g_aO.g_eq(this.g_Dq.g_Fj() + this.g_DF) : 0; + } + g_Fk() { + return this.g_DF; + } + g_Fl() { + return 0 < this.g_CX.length; + } + g_Fm() { + return this.g_CX; + } + g_Fn() { + return this.g_Du; + } + g_Fo() { + return this.g_Dv; + } + g_Fp(g) { + this.g_Dv = !!g; + } + g_Fq() { + return this.g_Dz; + } + g_Fr(g) { + this.g_Dz = !!g; + } + g_Ex(g, _) { + if (this.g_DC !== g || _) { + this.g_DC = g; + const _ = this.g_Be.g_rP(); + _ && ((this.g_qz = _.g_qp(g)), (this.g_qA = _.g_qq(g))), this.g_Be.g_EV(); + } + } + g_Ey() { + return this.g_DC; + } + g_Fs() { + return this.g_qz; + } + g_Ft() { + return this.g_qA; + } + g_Fu(g) { + return ( + this.g_Dw === g.g_Dw && + this.g_Dx === g.g_Dx && + this.g_DE === g.g_DE && + this.g_DB === g.g_DB && + this.g_DF === g.g_DF + ); + } + g_Fv(g) { + if (0 !== g.size) { + const _ = g_aO.g_fI(this.g_CX, g); + 0 < _ && (this.g_Es(), this.g_Ek()); + } + } + g_Ek() { + (this.g_DM = !1), (this.g_DS = !1); + } + g_Fw() { + if (!this.g_DM) { + if ((g_aO.g_fw(this.g_CX, a), this.g_DA)) + for (let g = 0, _ = this.g_CX.length; g < _; ++g) { + const _ = this.g_CX[g].g_CU(); + _.g_Ev(g), this.g_DQ.g_Dn(_.g_Fx()); + } + else for (let g = 0, _ = this.g_CX.length; g < _; ++g) this.g_CX[g].g_CU().g_Ev(g); + this.g_DM = !0; + } + } + g_Fy(_, a, t) { + const n = _.g_CU(), + i = a.g_CU(); + if (n.g_Em() !== this || i.g_Em() !== this) + throw new Error("can't arrange Z order unless both objects on this layer"); + const e = n.g_Fz(); + let r = i.g_Fz(); + g_aO.g_fE(this.g_CX, e), + e < r && r--, + t && r++, + r === this.g_CX.length ? this.g_CX.push(_) : this.g_CX.splice(r, 0, _), + this.g_Ek(); + } + g_FA(_, t) { + const a = []; + let n = 0, + i = 0, + r = _.length, + s = t.length; + for (; n < r && i < s; ) { + const e = _[n], + r = t[i]; + e.g_CU().g_CT() < r.g_CU().g_CT() ? (a.push(e), ++n) : (a.push(r), ++i); + } + for (; n < r; ++n) a.push(_[n]); + for (; i < s; ++i) a.push(t[i]); + return a; + } + g_FB(g) { + const _ = [], + e = g.length; + for (let a = 0; a < e - 1; a += 2) { + const t = g[a], + n = g[a + 1]; + _.push(this.g_FA(t, n)); + } + return 1 == e % 2 && _.push(g[e - 1]), _; + } + g_FC(g) { + for (; 1 < g.length; ) g = this.g_FB(g); + return g[0]; + } + g_FD() { + return ( + this.g_Fw(), + g_aO.g_fz(i), + this.g_DQ.g_Dm(this.g_DH, i), + i.length ? (1 === i.length ? i[0] : this.g_FC(i)) : [] + ); + } + g_FE() { + return !this.g_FF() && !this.g_Fo(); + } + g_FG() { + return this.g_ET() && 0 < this.g_zk() && (this.g_Fl() || !this.g_Fo()); + } + g_FF() { + return this.g_Fq() || !this.g_E_() || 0 !== this.g_Ey() || this.g_DO.g_FH(); + } + g_AI() { + return this.g_DD; + } + g_FI(g) { + if (0 === g.length) return !0; + if (2 <= g.length) return !1; + const _ = g[0], + e = _.g_tq(); + return !e.g_tt() && !e.g_tr() && !e.g_ts() && this.g_E_(); + } + g_EY(g) { + const _ = this.g_FJ(); + return _ / (_ - g); + } + g_FJ() { + return 100 / this.g_FK(); + } + g_FL(_, t = 0, n = 0) { + const r = this.g_Be.g_FM(), + e = (this.g_DH.g_h$() + t) * r, + s = (this.g_DH.g_ia() + n) * r, + g = this.g_FJ(); + _.g_pR(e, s, g), _.g_pS(e, s, g - 100); + const i = this.g_Fj(), + d = l; + 0 === i ? vec3.set(d, 0, 1, 0) : vec3.set(d, Math.sin(i), Math.cos(i), 0), + _.g_pT(d), + _.g_pV(r, r), + _.g_zg(); + } + g_FN(_, a, t) { + const n = this.g_Be.g_FO(), + i = this.g_FF(); + let e = null, + r = null; + if (this.g_Be.g_FP() && _.g_AO()) { + const g = n.g_FQ(this); + g && ((r = g.g_xG()), _.g_AN(r)); + } + if (i) { + const g = { g_qO: this.g_Be.g_FR() }; + 'low' === n.g_FS() && ((g.width = n.g_FT()), (g.height = n.g_FU())), + (e = this.g_Be.g_FV(g)), + _.g_AH(e), + this.g_Fo() && _.g_Ax(0, 0, 0, 0); + } else _.g_AH(a); + if ( + (this.g_Fo() || _.g_js(this.g_Du), + (this.g_DD = e || a), + this.g_FL(_), + _.g_y$(this.g_Do()), + this.g_FK() > Number.EPSILON) + ) { + this.g_Fw(); + const g = this.g_DA && 0 === this.g_Do() && !this.g_DN; + g ? this.g_FW(_) : this.g_FX(_, this.g_CX); + } + _.g_y$(0), + _.g_qH(0), + _.g_pR(0, 0, 100), + _.g_pS(0, 0, 0), + i && this.g_FY(_, e, a, t), + r && _.g_AP(r), + (this.g_DD = null); + } + g_FX(_, a) { + const t = this.g_DH, + n = this.g_DD; + let i = null; + for (let e = 0, r = a.length; e < r; ++e) { + const r = a[e]; + if (r === i) continue; + i = r; + const g = r.g_CU(); + g.g_ET() && g.g_FZ(t) && (g.g_FH() ? this.g_F_(r, g, _, n) : this.g_F$(r, g, _)); + } + } + g_FW(g) { + const _ = this.g_DQ, + a = this.g_DU, + t = this.g_DT, + n = this.g_DH; + let e; + a.set(_.g_Dj(n.g_hV()), _.g_Dk(n.g_hW()), _.g_Dj(n.g_hX()), _.g_Dk(n.g_hY())), + this.g_DS && a.g_l(t) ? (e = this.g_DR) : ((e = this.g_FD()), (this.g_DS = !0), t.g_p(a)), + this.g_FX(g, e), + e !== this.g_DR && g_aO.g_fD(this.g_DR, e); + } + g_F$(g, _, e) { + const a = _.g_Ga(); + e.g_qc() !== a && a.g_qD(), g.g_FN(e); + } + g_F_(g, _, e, a) { + this.g_Gb(g, _, e, a, null) && this.g_FL(e); + } + g_Gb(_, a, t, n, i) { + const r = a.g_Gd().g_Gc(); + if (1 === r.length) { + const g = r[0], + n = g.g_tq(); + if (!n.g_tz() && a.g_E_() && !_.g_tt()) return this.g_Ge(_, a, g, n, t), !1; + } + const e = g_aO.g_Gf(t, this.g_Be, _, n, r, i); + return t.g_y$(this.g_Do()), e; + } + g_Ge(g, _, a, t, n) { + n.g_qE(t), n.g_qF(_.g_Fs(), _.g_Ft()), t.g_tN() && this.g_Be.g_EV(); + let e = 0, + d = 0; + if (t.g_ty()) { + const _ = g.g_Gg(); + if (_) { + s.g_p(_.g_xg()); + const g = _.g_rQ(); + g && ((e = 1 / g.g_pN()), (d = 1 / g.g_pO())); + } else s.set(0, 0, 0, 0); + } + const l = _.g_Gd().g_Gh(a.g_EM()); + n.g_qH(_.g_Do()), + n.g_Aw(null, r, s, s, _.g_Gi(), e, d, this.g_Gj(), this.g_Fj(), this.g_Be.g_Gk(), l), + g.g_FN(n); + } + g_FY(g, _, a, t) { + const n = this.g_DO.g_Gc(), + e = this.g_Be; + if (this.g_FI(n)) { + if ((g.g_AH(a), 1 === n.length)) { + const _ = n[0], + a = _.g_tq(); + g.g_qE(a), s.set(0, 0, 1, 1); + const t = this.g_DO.g_Gh(_.g_EM()); + g.g_Aw( + null, + r, + s, + s, + this.g_DH, + 1 / e.g_FT(), + 1 / e.g_FU(), + this.g_FK(), + this.g_Fj(), + e.g_Gk(), + t + ), + a.g_tN() && e.g_EV(); + } else g.g_yZ(); + t && 0 === this.g_DC && this.g_E_() && 0 === n.length + ? g.g_AJ(_) + : (g.g_qF(this.g_qz, this.g_qA), g.g_qG(this.g_Dy), g.g_AK(_)), + g.g_AL(_), + e.g_Gl(_); + } else g_aO.g_Gf(g, e, this, a, n); + } + g_Gj() { + return this.g_DE; + } + g_Gm(g) { + this.g_DE === g || ((this.g_DE = g), this.g_Dq.g_Gn(), this.g_Be.g_EV()); + } + g_FM() { + return this.g_FK() * this.g_Be.g_FM(); + } + g_Go() { + return this.g_FK() * this.g_Be.g_Go(); + } + g_FK() { + return (this.g_DE * this.g_Dq.g_Gp() - 1) * this.g_DB + 1; + } + g_Gq() { + var _ = Math.round; + this.g_DG = !1; + let [a, i] = this.g_Gr(0, 0); + (this.g_DG = !0), this.g_Be.g_Gs() && ((a = _(a)), (i = _(i))); + const r = 1 / this.g_FK(), + s = this.g_DI; + s.set(a, i, a + this.g_Be.g_Gt() * r, i + this.g_Be.g_Gu() * r); + const g = this.g_Fj(); + 0 !== g && + (t.g_p(s), + t.offset(-s.g_h$(), -s.g_ia()), + n.g_iP(t, g), + n.g_iR(t), + t.offset(s.g_h$(), s.g_ia()), + s.g_p(t)), + this.g_EX(this.g_qC, this.g_DH); + } + g_Gr(g, _, e = 0) { + return this.g_Gv(g, _, e, this.g_Go()); + } + g_Gw(g, _, e = 0) { + return this.g_Gv(g, _, e, this.g_FM() * this.g_EO()); + } + g_Gv(_, a, t, r) { + const e = this.g_Be.g_Gx(), + s = this.g_Be.g_Gy(), + g = (this.g_Dq.g_Gz() - e) * this.g_Dw + e, + d = (this.g_Dq.g_GA() - s) * this.g_Dx + s, + i = this.g_FK(), + u = this.g_Be.g_Gt() / i, + p = this.g_Be.g_Gu() / i; + let l = g - u / 2 + _ / r, + h = d - p / 2 + a / r; + const f = this.g_Fj(); + if (0 !== f) { + (l -= g), (h -= d); + const _ = Math.cos(f), + e = Math.sin(f), + a = l * _ - h * e; + (h = h * _ + l * e), (l = a), (l += g), (h += d); + } + if (0 !== t) { + const g = this.g_DI.g_h$(), + _ = this.g_DI.g_ia(), + e = this.g_EY(t); + (l = (l - g) / e + g), (h = (h - _) / e + _); + } + return [l, h]; + } + g_GB(_, a) { + const t = this.g_DE, + n = this.g_DB, + i = this.g_Dw, + e = this.g_Dx, + r = this.g_DF; + (this.g_DE = 1), (this.g_DB = 1), (this.g_Dw = 1), (this.g_Dx = 1), (this.g_DF = 0); + const g = this.g_Gr(_, a); + return (this.g_DE = t), (this.g_DB = n), (this.g_Dw = i), (this.g_Dx = e), (this.g_DF = r), g; + } + g_GC(g, _, e = 0) { + return this.g_GD(g, _, e, this.g_Go()); + } + g_GE(g, _, e = 0) { + return this.g_GD(g, _, e, this.g_FM() * this.g_EO()); + } + g_GD(_, t, r, a) { + const e = this.g_Be, + s = this.g_Dq; + if (0 !== r) { + const g = this.g_DI.g_h$(), + a = this.g_DI.g_ia(), + e = this.g_EY(r); + (_ = (_ - g) * e + g), (t = (t - a) * e + a); + } + const g = e.g_Gx(), + d = e.g_Gy(), + i = (s.g_Gz() - g) * this.g_Dw + g, + u = (s.g_GA() - d) * this.g_Dx + d, + h = this.g_Fj(); + if (0 !== h) { + (_ -= i), (t -= u); + const g = Math.cos(-h), + a = Math.sin(-h), + e = _ * g - t * a; + (t = t * g + _ * a), (_ = e), (_ += i), (t += u); + } + const l = this.g_FK(), + f = e.g_Gt() / l, + n = e.g_Gu() / l, + o = _ - (i - f / 2), + p = t - (u - n / 2); + return [o * a, p * a]; + } + g_GF(g, _) { + return (g *= this.g_FM() * this.g_EO()), 0 !== _ && (g *= this.g_EY(_)), g; + } + g_GG() { + const g = { + s: this.g_Gj(), + a: this.g_Fk(), + vl: this.g_DH.g_hV(), + vt: this.g_DH.g_hW(), + vr: this.g_DH.g_hX(), + vb: this.g_DH.g_hY(), + v: this.g_ET(), + bc: this.g_Du.toJSON(), + t: this.g_Fo(), + px: this.g_Fb(), + py: this.g_Fc(), + c: this.g_qB.toJSON(), + sr: this.g_E$(), + fx: this.g_DO.g_GH(), + cg: this.g_DL + }; + return g; + } + g_GI(g) { + (this.g_DE = g.s), + (this.g_DF = g.a), + this.g_DH.set(g.vl, g.vt, g.vr, g.vb), + (this.g_Dt = !!g.v), + this.g_Du.g_hs(g.bc), + (this.g_Dv = !!g.t), + (this.g_Dw = g.px), + (this.g_Dx = g.py), + this.g_qB.g_hs(g.c), + (this.g_DB = g.sr), + g_aO.g_fD(this.g_DL, g.cg), + g_aO.g_fD(this.g_DK, this.g_DJ); + const _ = new Set(this.g_DL); + let a = 0; + for (let t = 0, n = this.g_DK.length; t < n; ++t) + _.has(this.g_DK[t][2]) || ((this.g_DK[a] = this.g_DK[t]), ++a); + g_aO.g_fy(this.g_DK, a), this.g_DO.g_GJ(g.fx), this.g_Eu(!1), this.g_Ek(); + } + g_GK() { + return this.g_DV; + } + }; +} +{ + const _ = g_aO.g_ej(g_aO.Rect), + t = g_aO.g_ej(g_aO.Rect), + n = g_aO.g_ej(g_aO.Rect), + r = g_aO.g_ej(g_aO.Rect); + g_aO.g_GL = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_GM = g), + (this.g_Be = g.g_BI()), + (this.g_en = e[0]), + (this.g_GN = e[1]), + (this.g_GO = e[2]), + (this.g_pu = e[1]), + (this.g_pv = e[2]), + (this.g_GP = !!e[3]), + (this.g_GQ = e[4]), + (this.g_GR = null), + (this.g_Ds = e[5]), + (this.g_Dr = _), + (this.g_GS = 0), + (this.g_GT = 0), + (this.g_DE = 1), + (this.g_DF = 0), + (this.g_GU = new Set()), + (this.g_GV = new Set()), + (this.g_GW = new Set()), + (this.g_GX = []), + (this.g_GY = []), + (this.g_GZ = []), + (this.g_G_ = new Map()), + (this.g_G$ = new Map()), + (this.g_DO = g_aO.g_ej(g_aO.g_DP, this, e[8])), + (this.g_DD = null), + (this.g_Ha = {}), + (this.g_Hb = !0), + (this.g_Hc = new g_Hd(this)), + (this.g_He = g_aO.g_ej(g_aO.Event.g_lh)); + for (const t of e[6]) { + const g = g_aO.g_Dp.g_sf(this, this.g_GZ.length, t); + this.g_GZ.push(g), this.g_G_.set(g.g_pY().toLowerCase(), g), this.g_G$.set(g.g_EN(), g); + } + for (const t of e[7]) { + const g = this.g_Be.g_D_(t[1]); + if (!g) throw new Error('missing nonworld object class'); + g.g_Ea() || g.g_Eb(t), this.g_GY.push(t), this.g_D$(g); + } + } + g_ek() { + for (const g of this.g_GZ) g.g_ek(); + g_aO.g_fz(this.g_GZ), + this.g_GW.clear(), + (this.g_GR = null), + (this.g_GM = null), + (this.g_Be = null); + } + g_BI() { + return this.g_Be; + } + g_pY() { + return this.g_en; + } + g_EN() { + return this.g_Ds; + } + g_EM() { + return this.g_Dr; + } + g_EP() { + return this.g_DO; + } + g_Hf() { + let g = this.g_GZ[0].g_FK(); + for (let _ = 1, e = this.g_GZ.length; _ < e; ++_) { + const e = this.g_GZ[_]; + (0 === e.g_Fb() && 0 === e.g_Fc()) || (g = Math.min(g, e.g_FK())); + } + return g; + } + g_Hg(g) { + if (!this.g_GP) { + const _ = (this.g_Be.g_Gt() * (1 / this.g_Hf())) / 2; + g > this.g_pu - _ && (g = this.g_pu - _), g < _ && (g = _); + } + this.g_GS !== g && ((this.g_GS = g), this.g_Be.g_EV()); + } + g_Gz() { + return this.g_GS; + } + g_Hh(g) { + if (!this.g_GP) { + const _ = (this.g_Be.g_Gu() * (1 / this.g_Hf())) / 2; + g > this.g_pv - _ && (g = this.g_pv - _), g < _ && (g = _); + } + this.g_GT !== g && ((this.g_GT = g), this.g_Be.g_EV()); + } + g_GA() { + return this.g_GT; + } + g_Gn() { + this.g_Hg(this.g_Gz()), this.g_Hh(this.g_GA()); + } + g_Gp() { + return this.g_DE; + } + g_Hi(g) { + (g = +g), this.g_DE === g || ((this.g_DE = g), this.g_Gn()); + } + g_Fi(g) { + this.g_DF = g_aO.g_eq(g); + } + g_Fj() { + return this.g_DF; + } + g_pN() { + return this.g_pu; + } + g_Hj(g) { + !isFinite(g) || 1 > g || (this.g_pu = g); + } + g_pO() { + return this.g_pv; + } + g_Hk(g) { + !isFinite(g) || 1 > g || (this.g_pv = g); + } + g_Hl() { + return this.g_GR; + } + g_Hm() { + return this.g_GZ; + } + g_Hn() { + return this.g_GZ.length; + } + g_Em(g) { + return 'number' == typeof g ? this.g_Ho(g) : this.g_Hp(g.toString()); + } + g_Ho(g) { + return (g = g_aO.g_ep(Math.floor(g), 0, this.g_GZ.length - 1)), this.g_GZ[g]; + } + g_Hp(g) { + return this.g_G_.get(g.toLowerCase()) || null; + } + g_Hq(g) { + return this.g_G$.get(g) || null; + } + g_Hr() { + for (const g of this.g_GZ) if (g.g_FG()) return g.g_FE(); + return !1; + } + g_Ee() { + return this.g_Hb; + } + g_Hs() { + return [...this.g_GU]; + } + g_D$(g) { + if (g.g_EJ()) for (const _ of g.g_Hu().g_Ht()) this.g_GU.add(_); + else this.g_GU.add(g); + } + g_Hv() { + return [...this.g_GV]; + } + g_Hw(g, _) { + if (g === this || !_) return Promise.resolve(); + g && (g_aO.g_gu(this.g_GV, g.g_GV), g.g_GV.clear()); + const e = []; + for (const a of this.g_GU) this.g_GV.has(a) || (e.push(a.g_Hx(_)), this.g_GV.add(a)); + return Promise.all(e); + } + async g_Hy(g) { + if (g.g_EF()) throw new Error('cannot load textures for family'); + const _ = this.g_Be.g_rP(); + if (!(!_ || _.g_xe() || this.g_GV.has(g))) { + this.g_GV.add(g); + const e = g.g_Hx(_); + this.g_Hz(e), await e, g.g_HA(), this.g_Be.g_EV(); + } + } + g_Hz(g) { + this.g_GW.add(g), g.then(() => this.g_GW.delete(g)).catch(() => this.g_GW.delete(g)); + } + g_HB() { + return Promise.all([...this.g_GW]); + } + g_HC(g) { + if (g.g_EF() || 0 < g.g_EK()) throw new Error('cannot unload textures'); + const _ = this.g_Be.g_rP(); + _ && this.g_GV.has(g) && (this.g_GV.delete(g), g.g_HD(_)); + } + g_HE(g, _) { + if (g !== this && _) + for (const _ of this.g_GV) _.g_Eh() || g.g_GU.has(_) || (_.g_HD(), this.g_GV.delete(_)); + } + g_HF() { + this.g_GV.clear(); + } + async g_HG(g) { + const _ = this.g_Be, + e = this.g_GM, + a = _.g_ED(); + if ( + (this.g_GQ && ((this.g_GR = a.g_HH(this.g_GQ)), this.g_GR.g_HI()), + e.g_HJ(this), + (this.g_pu = this.g_GN), + (this.g_pv = this.g_GO), + (this.g_GS = _.g_DY() / 2), + (this.g_GT = _.g_DZ() / 2), + this.g_Gn(), + this.g_HK(g), + this.g_HL(), + this.g_Hb || this.g_HM(), + this.g_HN(this.g_GX), + this.g_HO(), + e.g_HP(), + _.g_Ej(), + _.g_HQ()) + ) + _.g_HR(this.g_GX); + else for (const g of this.g_GX) g.g_EI(); + g_aO.g_fz(this.g_GX), + await Promise.all([...this.g_GU].map((g) => g.g_HS(this.g_Be.g_rP()))), + g && + (_.g_lh().dispatchEvent(new g_aO.Event('beforefirstlayoutstart')), + await _.g_HT(new g_aO.Event('beforeprojectstart'))), + await this.g_HT(new g_aO.Event('beforelayoutstart')), + _.g_HQ() || (await _.g_HU(g_aO.g_HY.g_HX.g_HW.g_HV, null, null)), + await this.g_HT(new g_aO.Event('afterlayoutstart')), + g && + (_.g_lh().dispatchEvent(new g_aO.Event('afterfirstlayoutstart')), + await _.g_HT(new g_aO.Event('afterprojectstart'))), + a.g_HZ(e), + await this.g_HB(), + (this.g_Hb = !1); + } + g_HK(g) { + for (const _ of this.g_Be.g_EE()) + if (!_.g_EF() && _.g_H_()) + for (const g of _.g_H$()) { + const _ = g.g_CU(), + a = _.g_Em(), + t = g_aO.g_ep(a.g_EM(), 0, this.g_GZ.length - 1), + n = this.g_GZ[t]; + _.g_Ia(n), n.g_Eo(g); + } + if (!g) for (const g of this.g_GZ) g.g_Eu(!1); + } + g_HL() { + for (const g of this.g_GZ) g.g_Ed(this.g_GX), g.g_Gq(), g.g_Ew(); + } + g_HM() { + let g = !1; + for (const [_, e] of Object.entries(this.g_Ha)) { + const a = this.g_Be.g_Ib(parseInt(_, 10)); + if (a && !a.g_EF() && a.g_Ef()) { + for (const _ of e) { + let t = null; + if (a.g_H_() && ((t = this.g_Hq(_.w.l)), !t)) continue; + const n = this.g_Be.g_Eg(a, t, !1, 0, 0, !0); + n.g_GJ(_), (g = !0), this.g_GX.push(n); + } + g_aO.g_fz(e); + } + } + for (const g of this.g_GZ) g.g_Eu(!0), g.g_Ek(); + g && (this.g_Be.g_Ej(), this.g_Be.g_Ic()); + } + g_HN(g) { + for (const _ of g) { + if (!_.g_EJ()) continue; + const a = _.g_CU(), + t = _.g_Id(); + for (const n of _.g_EA().g_Hu().g_Ie()) { + if (n === _.g_EA()) continue; + const e = n.g_H$(); + if (e.length > t) _.g_If(e[t]); + else { + let e; + (e = a + ? this.g_Be.g_Eg(n, a.g_Em(), !0, a.g_Ig(), a.g_Ih(), !0) + : this.g_Be.g_Eg(n, null, !0, 0, 0, !0)), + this.g_Be.g_Ej(), + n.g_Ii(), + _.g_If(e), + g.push(e); + } + } + } + } + g_HO() { + for (const g of this.g_GY) { + const _ = this.g_Be.g_D_(g[1]); + _.g_EJ() || this.g_Be.g_Eg(g, null, !0); + } + } + g_Ij() { + const g = [], + _ = this.g_GY; + let a = 0; + for (let t = 0, n = _.length; t < n; ++t) { + const n = _[t], + e = this.g_Be.g_D_(n[1]); + e.g_Eh() + ? (!e.g_EJ() || !e.g_Hu().g_Ik()) && g.push(this.g_Be.g_Eg(n, null, !0)) + : ((_[a] = n), ++a); + } + g_aO.g_fy(_, a), this.g_Be.g_Ej(), this.g_HN(g); + } + g_EC(a, g, t, n, e) { + _.set(g, t, n, e); + for (const i of this.g_GZ) i.g_EC(a, _); + } + async g_Il() { + const g = this.g_GM; + this.g_Be.g_HQ() || (await this.g_Be.g_HU(g_aO.g_HY.g_HX.g_HW.g_Im, null, null)), + g.g_In(!0), + this.g_Be.g_ED().g_Io(), + this.g_Hb || this.g_Ip(); + for (const g of this.g_GZ) g.g_Ez(); + for (const g of this.g_Be.g_EE()) + if (!(g.g_Eh() || g.g_H_() || g.g_Ir().g_Iq() || g.g_EF())) { + for (const _ of g.g_H$()) this.g_Be.g_EB(_); + this.g_Be.g_Ej(); + } + g.g_In(!1), g.g_Is() === this && g.g_HJ(null); + } + g_It(g) { + const _ = g.g_EA().g_EN().toString(); + this.g_Ha.hasOwnProperty(_) || (this.g_Ha[_] = []); + const e = this.g_Ha[_]; + e.push(g.g_GH()); + } + g_Ip() { + for (const g of this.g_GZ) { + g.g_Fw(); + for (const _ of g.g_Fm()) { + const g = _.g_EA(); + !g.g_Eh() && g.g_Ef() && this.g_It(_); + } + } + } + g_Iu() { + (this.g_Ha = {}), (this.g_Hb = !0); + } + g_AI() { + return this.g_DD; + } + g_FF() { + return ( + 'low' === this.g_Be.g_FO().g_FS() || + this.g_Be.g_Iv() || + 'low-latency' === this.g_Be.g_Iw() || + this.g_DO.g_FH() + ); + } + g_Ix(g) { + if (0 === g.length) return !0; + if (2 <= g.length) return !1; + const _ = g[0], + e = _.g_tq(); + return !e.g_tt(); + } + g_FN(g) { + const _ = this.g_Be.g_FO(), + a = this.g_FF(); + let t = null; + if (a) { + 'low-latency' !== this.g_Be.g_Iw() && (g.g_AH(null), g.g_Ax(0, 0, 0, 0)); + const e = { g_qO: this.g_Be.g_FR(), g_rw: this.g_Be.g_Iv() || this.g_DO.g_FH() }; + 'low' === _.g_FS() && ((e.width = _.g_FT()), (e.height = _.g_FU())), + (t = this.g_Be.g_FV(e)), + g.g_AH(t); + } else g.g_AH(null); + this.g_Hr() || g.g_Ax(0, 0, 0, 0), (this.g_DD = t); + let n = !0; + for (const _ of this.g_GZ) _.g_Gq(), _.g_FG() && (_.g_FN(g, t, n), (n = !1)); + a && this.g_Iy(g, t), (this.g_DD = null); + } + g_Iy(_, a) { + const s = this.g_DO.g_Gc(), + d = this.g_Be; + if (this.g_Ix(s)) { + if ((_.g_AH(null), 1 === s.length)) { + const g = s[0], + e = g.g_tq(); + _.g_qE(e), n.set(0, 0, 1, 1), r.set(0, 0, d.g_Gt(), d.g_Gu()); + const a = this.g_DO.g_Gh(g.g_EM()); + _.g_Aw( + null, + t, + n, + n, + r, + 1 / d.g_FT(), + 1 / d.g_FU(), + this.g_Gp(), + this.g_Fj(), + d.g_Gk(), + a + ), + e.g_tN() && d.g_EV(); + } else _.g_yZ(); + 0 === s.length ? _.g_AJ(a) : (_.g_zr(), _.g_zn(), _.g_AK(a)), _.g_AL(a), d.g_Gl(a); + } else g_aO.g_Gf(_, d, this, null, s); + } + g_GG() { + const g = { + sx: this.g_Gz(), + sy: this.g_GA(), + s: this.g_Gp(), + a: this.g_Fj(), + w: this.g_pN(), + h: this.g_pO(), + fv: this.g_Hb, + persist: this.g_Ha, + fx: this.g_DO.g_GH(), + layers: {} + }; + for (const _ of this.g_GZ) g.layers[_.g_EN().toString()] = _.g_GG(); + return g; + } + g_GI(g) { + (this.g_GS = g.sx), + (this.g_GT = g.sy), + (this.g_DE = g.s), + (this.g_DF = g.a), + (this.g_pu = g.w), + (this.g_pv = g.h), + (this.g_Hb = !!g.fv), + (this.g_Ha = g.persist), + this.g_DO.g_GJ(g.fx); + for (const [_, e] of Object.entries(g.layers)) { + const g = parseInt(_, 10), + a = this.g_Hq(g); + a && a.g_GI(e); + } + } + g_Iz() { + return this.g_Hc; + } + g_IA() { + return this.g_He; + } + g_IB(g) { + const _ = this.g_Be, + e = _.g_IC() && !_.g_ED().g_ID(); + e && g_IF.g_IE(), this.g_He.dispatchEvent(g), e && g_IF.g_IG(); + } + g_HT(g) { + return this.g_He.g_lo(g); + } + }; +} +'use strict', + (g_aO.g_IH = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_II = []), + (this.g_IJ = new Map()), + (this.g_IK = new Map()), + (this.g_IL = null), + (this.g_IM = []), + (this.g_IN = null), + (this.g_IO = 0), + (this.g_IP = null); + } + g_ek() { + (this.g_Be = null), + (this.g_IL = null), + (this.g_IN = null), + (this.g_IP = null), + g_aO.g_fz(this.g_II), + this.g_IJ.clear(), + this.g_IK.clear(), + g_aO.g_fz(this.g_IM); + } + g_sf(g) { + const _ = g_aO.g_ej(g_aO.g_GL, this, this.g_II.length, g); + this.g_II.push(_), this.g_IJ.set(_.g_pY().toLowerCase(), _), this.g_IK.set(_.g_EN(), _); + } + g_BI() { + return this.g_Be; + } + g_IQ(g) { + this.g_IN = g; + } + g_IR() { + if (this.g_IN) return this.g_IN; + if (this.g_II.length) return this.g_II[0]; + throw new Error('no first layout'); + } + g_IS(g) { + return this.g_IJ.get(g.toLowerCase()) || null; + } + g_IT(g) { + return this.g_IK.get(g) || null; + } + g_IU(g) { + return (g = g_aO.g_ep(Math.floor(g), 0, this.g_II.length - 1)), this.g_II[g]; + } + g_EL(g) { + return 'number' == typeof g ? this.g_IU(g) : this.g_IS(g.toString()); + } + g_IV() { + return this.g_II; + } + g_HJ(g) { + this.g_IL = g; + } + g_Is() { + return this.g_IL; + } + g_IW(g) { + if (this.g_IM.includes(g)) throw new Error('layout already running'); + this.g_IM.push(g); + } + g_IX(g) { + const _ = this.g_IM.indexOf(g); + if (-1 === _) throw new Error('layout not running'); + this.g_IM.splice(_, 1); + } + *g_IY() { + this.g_IL && (yield this.g_IL), this.g_IM.length && (yield* this.g_IM); + } + g_IZ(g) { + return this.g_IL === g || this.g_IM.includes(g); + } + g_In(g) { + if (g) this.g_IO++; + else { + if (0 >= this.g_IO) throw new Error('already unset'); + this.g_IO--; + } + } + g_I_() { + return 0 < this.g_IO; + } + g_I$(g) { + this.g_IP = g; + } + g_HP() { + this.g_IP = null; + } + g_Ja() { + return !!this.g_IP; + } + g_Jb() { + return this.g_IP; + } + }), + 'use strict'; +{ + function _() { + return o === i.length && i.push(new r()), i[o++]; + } + function a(g) { + g.g_Jc(), g.g_js(), o--; + } + async function t(g, _, a) { + const t = await g_aO.g_ps.g_rz.g_rZ(_, a), + n = URL.createObjectURL(t); + console.log('[FX] ' + g + ' ' + (a ? '' : ' [to display]') + ': ', n); + } + function s(_, a) { + var t = Math.max, + s = Math.min; + for (let g = 0, e = a.length; g < e; ++g) { + const e = a[g].g_tq(); + (_.g_Jd += e.g_tw()), (_.g_Je += e.g_tx()); + } + const d = _.g_Jf, + u = d.g_Em(), + e = u.g_Fj(), + c = d.g_Gi(), + h = d.g_Jg(); + let [i, f] = u.g_GE(c.g_hV(), c.g_hW(), h), + [E, y] = u.g_GE(c.g_hX(), c.g_hY(), h); + if (0 !== e) { + const [_, a] = u.g_GE(c.g_hX(), c.g_hW(), h), + [r, e] = u.g_GE(c.g_hV(), c.g_hY(), h); + let g = s(i, E, _, r); + (E = t(i, E, _, r)), (i = g), (g = s(f, y, a, e)), (y = t(f, y, a, e)), (f = g); + } + const g = _.g_Jh, + n = _.g_Ji, + o = _.g_Jj, + p = _.clearRect, + b = _.g_Jk; + g.set(i, f, E, y), + g.g_ik(_.g_Jl), + n.g_p(g), + n.g_N(_.g_Jm, _.g_Jn), + n.g_ij(), + g.g_ie(_.g_Jd, _.g_Je), + o.g_p(g), + o.g_N(_.g_Jm, _.g_Jn), + o.g_ij(), + p.g_p(g), + p.g_im(), + p.g_ie(_.g_Jd + 1, _.g_Je + 1), + g.g_ep(0, 0, _.g_Jo, _.g_Jl), + p.g_ep(0, 0, _.g_Jo, _.g_Jl), + b.g_p(g), + b.g_N(_.g_Jm, _.g_Jn), + b.g_ij(); + } + function d(g) { + const _ = g.g_uq; + _.g_yZ(); + const a = g.g_Jp(g.g_Jq); + _.g_AH(a); + const n = g.g_Jr; + if ((n && n.g_Js && n.g_Js(), !1, _.g_AA(g.clearRect), g.g_Jt)) + _.g_qG(g.g_Jf.g_EZ()), _.g_qH(g.g_Jf.g_Jg()), g.g_Jt.g_FN(_), _.g_qH(0); + else { + const e = (g.g_Ju || g.g_Jv).g_AI(); + g.g_Ju ? _.g_qG(g.g_Ju.g_EZ()) : _.g_zn(), _.g_AK(e), _.g_AL(e), g.runtime.g_FO().g_Gl(e); + } + g.g_Jj.g_in(0, 1, 1, 0), (g.g_Jq = 1), (g.g_Jw = 0), E && t('Pre-draw', _, a); + } + function e(_, a) { + const n = _.g_uq, + r = _.runtime, + e = _.g_Jp(_.g_Jq); + n.g_AH(e); + const i = _.g_Jr; + if ((i && i.g_Js && i.g_Js(), !1, n.g_AA(_.clearRect), _.g_Jt)) { + let s = 100, + g = 100; + const d = _.g_Jt.g_Gg(); + if (d) { + _.g_Jx.g_p(d.g_xg()); + const e = d.g_rQ(); + e && ((s = e.g_pN()), (g = e.g_pO())); + } else _.g_Jx.set(0, 0, 0, 0); + const i = _.g_Jf.g_Gd().g_Gh(a.g_EM()); + n.g_Aw(_.g_Jy, _.g_Jj, _.g_Jx, _.g_Jx, _.g_Jz, 1 / s, 1 / g, _.g_JA, _.g_JB, r.g_Gk(), i), + n.g_qH(_.g_Jf.g_Jg()), + _.g_Jt.g_FN(n), + n.g_qH(0), + _.g_Jj.g_in(0, 1, 1, 0), + _.g_Jh.g_ik(_.g_Jl), + E && t('First bounce', n, e); + } else { + const i = (_.g_Ju || _.g_Jv).g_EP().g_Gh(a.g_EM()); + n.g_Aw( + _.g_Jy, + _.g_Jj, + _.g_Jk, + _.g_Ji, + _.g_Jz, + 1 / _.g_Jo, + 1 / _.g_Jl, + _.g_JA, + _.g_JB, + r.g_Gk(), + i + ); + const g = (_.g_Ju || _.g_Jv).g_AI(); + E && t('Layer target', n, g), + n.g_AK(g), + n.g_AL(g), + r.g_FO().g_Gl(g), + E && t('First bounce', n, e); + } + } + function n(_, a, n, r) { + const e = _.g_uq, + s = _.runtime; + let g, d; + 0 === r && _.g_JC && _.g_Jt && _.g_Jh.g_ik(_.g_Jl), + n + ? (_.g_Jt + ? e.g_qF(_.g_Jf.g_Fs(), _.g_Jf.g_Ft()) + : _.g_Ju && e.g_qF(_.g_Ju.g_Fs(), _.g_Ju.g_Ft()), + (g = _.g_Jy), + e.g_AH(g)) + : ((g = _.g_Jp(_.g_Jq)), e.g_AH(g), !1, e.g_AA(_.clearRect)), + (d = _.g_Jt ? _.g_Jf.g_Gd().g_Gh(a.g_EM()) : (_.g_Ju || _.g_Jv).g_EP().g_Gh(a.g_EM())), + e.g_Aw( + _.g_Jy, + _.g_Jj, + _.g_Jk, + _.g_Ji, + _.g_Jz, + 1 / _.g_Jm, + 1 / _.g_Jn, + _.g_JA, + _.g_JB, + s.g_Gk(), + d + ); + const l = _.g_Jp(_.g_Jw); + e.g_zp(l.g_rQ()), + s.g_FO().g_JD(e), + (_.g_JE = !0), + u.g_iO(_.g_Jh), + e.g_zy(u, _.g_Jk), + _.g_Jt || e.g_AL(l), + E && t('Bounce ' + r, e, g); + } + function g(g) { + const _ = g.g_uq; + if (g.g_Jv) { + _.g_yZ(), _.g_AH(g.g_Jy); + const e = g.g_Jp(g.g_Jw); + return _.g_AJ(e), void _.g_AL(e); + } + const a = g.runtime.g_FO(); + 'low' === a.g_FS() ? (_.g_yZ(), a.g_JD(_, a.g_FT(), a.g_FU()), (g.g_JE = !0)) : _.g_Ak(), + g.g_Jt + ? _.g_qF(g.g_Jf.g_Fs(), g.g_Jf.g_Ft()) + : g.g_Ju && _.g_qF(g.g_Ju.g_Fs(), g.g_Ju.g_Ft()), + _.g_AH(g.g_Jy); + const n = g.g_Jp(g.g_Jw); + _.g_zp(n.g_rQ()), + u.g_iO(g.g_Jh), + _.g_zy(u, g.g_Jk), + g.g_Jt || _.g_AL(n), + E && t('Post-draw', _, g.g_Jy); + } + class r { + constructor() { + (this.g_uq = null), + (this.runtime = null), + (this.g_Jo = 0), + (this.g_Jl = 0), + (this.g_Jm = 0), + (this.g_Jn = 0), + (this.g_Jz = new g_aO.Rect()), + (this.g_Jk = new g_aO.Rect()), + (this.g_Jj = new g_aO.Rect()), + (this.g_Ji = new g_aO.Rect()), + (this.g_Jh = new g_aO.Rect()), + (this.clearRect = new g_aO.Rect()), + (this.g_Jx = new g_aO.Rect()), + (this.g_JF = [null, null]), + (this.g_Jq = 0), + (this.g_Jw = 1), + (this.g_Jd = 0), + (this.g_Je = 0), + (this.g_JA = 0), + (this.g_JB = 0), + (this.g_Jv = null), + (this.g_Ju = null), + (this.g_Jt = null), + (this.g_Jf = null), + (this.g_Jy = null), + (this.g_JC = !1), + (this.g_JG = !1), + (this.g_JE = !1), + (this.g_Jr = null); + } + g_js() { + (this.g_uq = null), + (this.runtime = null), + (this.g_Jv = null), + (this.g_Ju = null), + (this.g_Jt = null), + (this.g_Jf = null), + (this.g_Jy = null), + (this.g_Jr = null); + } + g_JH(g) { + const _ = g.g_tq(); + return ( + !!_.g_tt() || + (this.g_Jt + ? (_.g_tr() && 0 !== this.g_Jf.g_Fj()) || + 0 !== this.g_Jd || + 0 !== this.g_Je || + !this.g_Jf.g_E_() || + this.g_Jt.g_tt() + : this.g_Ju + ? !this.g_Ju.g_E_() + : void 0) + ); + } + g_JI(g) { + const _ = g.g_tq(); + return _.g_tr() || _.g_ts() || (this.g_Jv && 'low' === this.runtime.g_FO().g_FS()); + } + g_Jp(g) { + if (0 !== g && 1 !== g) throw new Error('invalid effect target'); + const _ = this.g_JF; + if (!_[g]) { + const a = this.runtime, + t = a.g_FO(), + n = { g_qO: a.g_FR() }; + 'low' === t.g_FS() && ((n.width = t.g_FT()), (n.height = t.g_FU())), (_[g] = t.g_FV(n)); + } + return _[g]; + } + g_Jc() { + const g = this.g_JF, + _ = this.runtime.g_FO(); + g[0] && (_.g_Gl(g[0]), (g[0] = null)), g[1] && (_.g_Gl(g[1]), (g[1] = null)); + } + } + const i = []; + let o = 0; + const u = new g_aO.g_iu(); + let E = !1; + g_aO.g_Gf = function (t, u, h, i, c, l) { + const f = _(); + if (((f.g_uq = t), (f.runtime = u), h instanceof g_aO.Instance)) + (f.g_Jt = h), (f.g_Jf = f.g_Jt.g_CU()); + else if (h instanceof g_aO.g_Dp) f.g_Ju = h; + else if (h instanceof g_aO.g_GL) f.g_Jv = h; + else throw new Error('invalid effects object'); + const o = u.g_FO(); + if ( + ((f.g_Jy = i), + (f.g_Jo = o.g_FT()), + (f.g_Jl = o.g_FU()), + (f.g_Jm = f.g_Jo), + (f.g_Jn = f.g_Jl), + (f.g_Jq = 0), + (f.g_Jw = 1), + (f.g_Jd = 0), + (f.g_Je = 0), + f.g_Jh.set(0, 0, f.g_Jo, f.g_Jl), + f.clearRect.set(0, 0, f.g_Jo, f.g_Jl), + (f.g_JE = !1), + (f.g_Jr = l), + f.g_Jt) + ) { + const g = f.g_Jf; + (f.g_JA = g.g_Em().g_FM()), (f.g_JB = g.g_Em().g_Fj()), f.g_Jz.g_p(g.g_Gi()); + } else if (f.g_Ju) { + const g = f.g_Ju; + (f.g_JA = g.g_FM()), (f.g_JB = g.g_Fj()), f.g_Jz.g_p(g.g_EW()); + } else { + const g = f.g_Jv; + (f.g_JA = g.g_Gp()), (f.g_JB = g.g_Fj()), f.g_Jz.set(0, 0, f.g_Jo, f.g_Jl); + } + f.g_Jt + ? s(f, c) + : (f.g_Jk.set(0, 0, f.g_Jo / f.g_Jm, f.g_Jl / f.g_Jn), + f.g_Jj.g_p(f.g_Jk), + f.g_Ji.g_p(f.g_Jk), + f.g_Jk.g_ij(), + f.g_Jj.g_ij(), + f.g_Ji.g_ij()), + t.g_zr(), + t.g_zn(), + t.g_y$(0), + t.g_qH(0), + (f.g_JC = f.g_JH(c[0])), + f.g_JC && d(f), + t.g_zn(); + const p = c.length - 1; + f.g_JG = f.g_JI(c[p]); + for (let g = 0, _ = c.length; g < _; ++g) { + const _ = c[g], + a = _.g_tq(); + if ((t.g_qE(a), a.g_tN() && u.g_EV(), 0 === g && !f.g_JC)) e(f, _); + else { + t.g_zt(); + const e = g === p && !f.g_JG; + n(f, _, e, g); + } + 0 === f.g_Jq ? ((f.g_Jq = 1), (f.g_Jw = 0)) : ((f.g_Jq = 0), (f.g_Jw = 1)); + } + f.g_JG && g(f, c); + const m = f.g_JE; + return a(f), (E = !1), m; + }; +} +{ + const g = /<(.+?)>/g; + g_aO.g_JJ = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_JK = g_aO.g_ej(g_aO.g_JL)), + (this.g_JM = null), + (this.g_JN = []), + (this.g_JO = new Map()), + (this.g_JP = new Map()), + (this.g_JQ = new Map()), + (this.g_JR = []), + (this.g_JS = []), + (this.g_JT = !1), + (this.g_JU = !1), + (this.g_JV = !1), + (this.g_JW = () => this.g_JX()), + (this.g_JY = () => this.g_JZ()), + (this.g_J_ = () => this.g_J$()), + (this.g_Ka = () => this.g_Kb()), + (this.g_Kc = (g) => this.g_Kd(g.g_Ke)); + } + g_ek() { + this.g_Kf(), + (this.g_JW = null), + (this.g_JY = null), + (this.g_J_ = null), + (this.g_Ka = null), + (this.g_Kc = null); + for (const g of this.g_JN) g.g_Kg(), g.g_ek(); + g_aO.g_fz(this.g_JN), + (this.g_JN = null), + this.g_JK.g_ek(), + (this.g_JK = null), + g_aO.g_fz(this.g_JR), + (this.g_JR = null), + g_aO.g_fz(this.g_JS), + (this.g_JS = null), + this.g_JO.clear(), + (this.g_JO = null), + this.g_JP.clear(), + (this.g_JP = null), + this.g_JQ.clear(), + (this.g_JQ = null), + (this.g_Be = null); + } + g_Kh() { + const g = this.g_Be.g_lh(); + g.addEventListener('pretick', this.g_JW), + g.addEventListener('tick2', this.g_JY), + g.addEventListener('beforelayoutchange', this.g_J_), + g.addEventListener('layoutchange', this.g_Ka), + g.addEventListener('instancedestroy', this.g_Kc); + } + g_Kf() { + const g = this.g_Be.g_lh(); + g.removeEventListener('pretick', this.g_JW), + g.removeEventListener('tick2', this.g_JY), + g.removeEventListener('beforelayoutchange', this.g_J_), + g.removeEventListener('layoutchange', this.g_Ka), + g.removeEventListener('instancedestroy', this.g_Kc); + } + g_sf(g) { + this.g_JK.g_jB(g); + const _ = g_aO.g_Kj.g_Ki(g, this); + this.g_jB(_), this.g_Kk(_), this.g_JQ.set(_.g_pY(), 0); + } + g_Kl(g) { + const _ = this.g_Km(), + a = g.g_Kn(), + t = _.g_bd(a), + n = g_aO.g_Kj.g_Kl(`${a}:${this.g_JQ.get(a)}`, t, this); + return this.g_Ko(a), this.g_jB(n), n; + } + g_Ko(g) { + this.g_JQ.set(g, this.g_JQ.get(g) + 1); + } + g_Kp() { + for (const g of this.g_JN) { + if (g.g_Kq()) continue; + const _ = g.g_Kn(); + this.g_Ko(_); + } + } + g_Kr() { + for (const g of this.g_JQ.keys()) this.g_JQ.set(g, 0); + } + g_jB(g) { + this.g_JN.push(g), this.g_JO.set(g.g_pY().toLowerCase(), g); + } + g_lO(g) { + g.g_Kq() || + (this.g_Ks(this.g_JN, g), + this.g_Ks(this.g_JR, g), + this.g_Ks(this.g_JS, g), + this.g_JO.delete(g.g_pY().toLowerCase()), + this.g_Kt(g), + g.g_ek()); + } + g_Ks(g, _) { + const e = g.indexOf(_); + -1 !== e && g.splice(e, 1); + } + g_Ku(g) { + this.g_Be.g_Ku(g, this.g_JM, null); + } + g_BI() { + return this.g_Be; + } + g_Km() { + return this.g_JK; + } + g_Kv(g) { + this.g_JM = g; + } + g_Kw() { + return this.g_JM; + } + *g_Kx() { + for (const g of this.g_JN) yield g; + } + g_Ky(g, _) { + this.g_JP.has(g) || this.g_JP.set(g, new Set()), this.g_JP.get(g).add(_); + } + g_Kk(g) { + for (const _ of g.g_Kz()) this.g_Ky(_, g); + } + g_Kt(g) { + for (const [_, e] of this.g_JP.entries()) + e.has(g) && (e.delete(g), 0 === e.size && this.g_JP.delete(_)); + } + g_KA(g) { + return this.g_JP.has(g) ? this.g_JP.get(g) : void 0; + } + g_KB(g, _) { + if (_) + for (const e of this.g_JN) { + const a = _.every((g) => e.g_KC(g.g_Ke, g.g_KD)); + if (a && e.g_pY().includes(g.g_pY())) return e; + } + } + g_KE(g) { + return this.g_JO.get(g.toLowerCase()) || null; + } + g_KF(g) { + for (const _ of this.g_JR) if (_.g_pY() === g) return _; + for (const _ of this.g_JS) if (_.g_pY() === g) return _; + return null; + } + *g_KG(_) { + if (g.test(_)) { + g.lastIndex = 0; + let e; + const t = new Set(); + do + if (((e = g.exec(_)), e)) { + const g = e[1].split(','); + for (const _ of g) t.add(_); + } + while (e); + for (const g of t.values()) { + const _ = this.g_KE(g); + _ && (yield _); + } + t.clear(); + } else { + const g = this.g_KE(_); + g && (yield g); + } + } + *g_KH(g) { + for (const _ of this.g_JN) _.g_KI(g) && (yield _); + } + g_KJ(g) { + this.g_JR.includes(g) || this.g_JR.push(g), this.g_KK(); + } + g_KL(g) { + this.g_Ks(this.g_JS, g), this.g_KM(); + } + g_KN(g) { + g.g_KO(!1), g.g_KP(!0), g.g_KQ(!1), this.g_JR.includes(g) || this.g_JR.push(g), this.g_KK(); + } + g_KR(g) { + g.g_KO(!1), g.g_KP(!1), g.g_KS(), this.g_Ks(this.g_JR, g), this.g_KM(); + } + g_KT(g) { + g.g_KO(!1), g.g_KP(!1), g.g_KQ(!0); + } + g_KU(g) { + this.g_KT(g), g.g_KS(); + } + g_JX() { + if (!this.g_JT) return; + if (this.g_JU) return; + let g = !1; + for (this.g_JV = !0; this.g_JR.length; ) { + const g = this.g_JR.pop(); + g.g_KV(), this.g_JS.push(g); + } + const _ = this.g_Be.g_KW(), + t = this.g_Be.g_KX(); + for (const a of this.g_JS) { + if (a.g_KY()) continue; + const n = a.g_KZ(_, t); + !g && n && (g = !0); + } + (this.g_JV = !1), g && this.g_BI().g_EV(); + } + g_JZ() { + if (this.g_JT) { + for (const g of this.g_JS) g.g_KY() && (this.g_K_(g), this.g_Ks(this.g_JS, g)); + this.g_KM(); + } + } + g_K_(g) { + g.g_K$() || !g.g_La() || (g.g_Lb() && g.g_Lc() && g.g_Ld()); + } + g_KK() { + this.g_JT || (this.g_JT = !0); + } + g_KM() { + this.g_JS.length || this.g_JR.length || this.g_JV || (this.g_JT = !1); + } + g_J$() { + for (this.g_JU = !0; this.g_JR.length; ) this.g_KR(this.g_JR.pop()); + for (; this.g_JS.length; ) { + const g = this.g_JS.pop(); + g.g_K$() || (this.g_KT(g), g.g_lC(!1)); + } + this.g_KM(); + for (const g of this.g_JN) g.g_Le(); + } + g_Kb() { + this.g_JU = !1; + } + g_Kd(g) { + const _ = g.g_EA(), + e = this.g_KA(_); + if (e) for (const g of e) g.g_Kq() || g.g_La() || (this.g_K_(g), this.g_lO(g)); + } + g_GG() { + return { + timelinesJson: this.g_Lf(), + scheduledTimelinesJson: this.g_Lg(), + playingTimelinesJson: this.g_Lh(), + hasRuntimeListeners: this.g_JT, + changingLayout: this.g_JU, + isTickingTimelines: this.g_JV + }; + } + g_GI(g) { + g && + (this.g_Kr(), + this.g_Li(g.timelinesJson), + this.g_Lj(g.scheduledTimelinesJson), + this.g_Lk(g.playingTimelinesJson), + (this.g_JT = !g.hasRuntimeListeners), + (this.g_JU = !!g.changingLayout), + (this.g_JV = !!g.isTickingTimelines), + this.g_Kp(), + this.g_KK(), + this.g_KM()); + } + g_Lf() { + return this.g_JN.map((g) => g.g_GG()); + } + g_Li(g) { + for (const _ of g) { + let g = this.g_KE(_.name); + if (g) g.g_GI(_); + else { + const e = this.g_Ll(_); + if (!e) continue; + const a = this.g_KE(e); + (g = this.g_Kl(a)), g.g_GI(_); + } + g.g_Lm() || this.g_lO(g); + } + } + g_Ll(g) { + const _ = g.name, + e = _.split(':'); + return e && 2 === e.length ? e[0] : null; + } + g_Lg() { + return this.g_Ln(this.g_JR); + } + g_Lj(g) { + this.g_Lo(g, this.g_JR); + } + g_Lh() { + return this.g_Ln(this.g_JS); + } + g_Lk(g) { + this.g_Lo(g, this.g_JS); + } + g_Lp(g, _) { + for (const e of _) if (e === g.g_pY()) return !0; + return !1; + } + g_Ln(g) { + return g.map((g) => g.g_pY()); + } + g_Lo(g, _) { + const t = (g) => (_) => _.g_pY() === g; + for (const e of _) this.g_Lp(e, g) || this.g_Ks(_, e); + for (const n of g) { + const g = this.g_KE(n); + if (g) { + const a = _.find(t(n)); + a || _.push(g); + } + } + } + }; +} +{ + const g = 0; + g_aO.g_Kj = class extends g_aO.g_eh { + constructor(_, e, a) { + super(), + (this.g_Be = a.g_BI()), + (this.g_Lq = a), + (this.g_Lr = e), + (this.g_en = _), + (this.g_Ls = []); + for (const g of this.g_Lr.g_Lu().g_Lt()) this.g_Ls.push(g_aO.g_Lv.g_sf(this, g)); + (this.g_Lw = null), + (this.g_Lx = null), + (this.g_Ly = g_aO.g_ej(g_aO.g_lQ)), + this.g_Ly.Set(0), + (this.g_Lz = 1), + (this.g_LA = g), + (this.g_LB = 1), + (this.g_LC = !1), + (this.g_LD = !1), + (this.g_LE = !1), + (this.g_LF = !0), + (this.g_LG = !1), + (this.g_LH = !1), + (this.g_LI = -1), + (this.g_LJ = !1), + (this.g_LK = !1), + (this.g_LL = !1), + (this.g_LM = ['']), + (this.g_LN = ''), + (this.g_LO = !1); + } + static g_Ki(g, _) { + const a = _.g_Km(), + t = a.g_LP(), + n = a.g_bd(g[t]), + e = g_aO.g_ej(g_aO.g_Kj, g[t], n, _); + return e.g_LQ(!0), e; + } + static g_Kl(g, _, e) { + return g_aO.g_ej(g_aO.g_Kj, g, _, e); + } + static get g_LR() { + return 1; + } + static get g_LS() { + return g_aO.g_eG(1); + } + g_ek() { + if (!this.g_K$()) { + this.g_Lq.g_KR(this), this.g_Lq.g_KU(this); + for (const g of this.g_Ls) g.g_ek(); + g_aO.g_fz(this.g_Ls), + (this.g_Ls = null), + this.g_Ly.g_ek(), + (this.g_Ly = null), + (this.g_Be = null), + (this.g_Lq = null), + (this.g_Lr = null), + (this.g_LG = !0), + (this.g_Lw = null), + (this.g_Lx = null); + } + } + g_LT() { + return this.g_Lq; + } + g_BI() { + return this.g_Be; + } + g_LU() { + return this.g_Ls; + } + g_Lm() { + return !!this.g_Ls.length; + } + g_LV(g) { + for (const _ of this.g_Ls) if (g_aO.g_dB(_.g_LW(), g)) return _; + return null; + } + g_LX(g) { + this.g_en = g; + } + g_pY() { + return this.g_en; + } + g_LY() { + return this.g_Lr; + } + g_Kn() { + return this.g_Lr.g_pY(); + } + g_LZ() { + return this.g_Lr.g_LZ(); + } + g_L_(g) { + this.g_Lr.g_L_(g); + } + g_L$() { + return this.g_Lr.g_L$(); + } + g_Ma(g) { + this.g_Lr.g_Ma(g); + } + g_Mb() { + return this.g_Lr.g_Mb(); + } + g_Mc(g) { + this.g_Lr.g_Mc(g); + } + g_Md() { + return this.g_Lr.g_Md(); + } + g_Me(g) { + this.g_Lr.g_Md(g); + } + g_Mf(g) { + for (const _ of this.g_LU()) _.g_Mf(g); + } + g_Mg() { + return this.g_Lr.g_Mg(); + } + g_Mh() { + return this.g_Lr.g_Mh(); + } + g_Mi() { + return this.g_Lr.g_Mi(); + } + g_Mj(g) { + return (this.g_Lz = g); + } + g_Mk() { + return this.g_Lz; + } + g_Ml() { + return !this.g_Mm() || 0 < this.g_Lz; + } + g_Mn() { + return this.g_Lw + ? this.g_Lw + : ((this.g_Lw = new Promise((g) => { + this.g_Lx = g; + })), + this.g_Lw); + } + g_KS() { + this.g_Lw && (this.g_Lx(), (this.g_Lw = null), (this.g_Lx = null)); + } + g_Mo(g) { + (this.g_LM = g_aO.g_Kj.g_Mp(g)), (this.g_LO = !0); + } + g_Mq() { + return this.g_LM; + } + g_Mr() { + return this.g_LO && (this.g_LN = this.g_LM.join(' ')), (this.g_LO = !1), this.g_LN; + } + g_KI(g) { + if (!this.g_LM) return !1; + if (!this.g_LM.length) return !1; + const _ = g_aO.g_Kj.g_Mp(g); + return !!_ && !!_.length && _.every(g_aO.g_Kj.g_Ms, this); + } + g_Mt() { + g_aO.g_HY.g_Mv.g_HW.g_Mu(this), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_Mw), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_Mx), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_My), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_Mz), + g_aO.g_HY.g_Mv.g_HW.g_Mu(null); + } + g_MA() { + this.g_LI = this.g_Be.g_MB(); + } + g_Ld() { + this.g_LL || + ((this.g_LL = !0), + g_aO.g_HY.g_Mv.g_HW.g_Mu(this), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MC), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MD), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_ME), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MF), + g_aO.g_HY.g_Mv.g_HW.g_Mu(null)); + } + g_KO(g) { + this.g_LC = g; + } + g_MG() { + return this.g_LI === this.g_Be.g_MB(); + } + g_Mm() { + return !!this.g_MG() || this.g_LC; + } + g_KP(g) { + this.g_LD = g; + } + g_MH() { + return this.g_LD; + } + g_MI(g) { + this.g_LF = g; + const _ = this.g_MJ(); + (0 >= _ || _ >= this.g_LZ()) && (this.g_LF = !0); + } + g_Lb() { + return this.g_LF; + } + g_K$() { + return this.g_LG; + } + g_KQ(g) { + this.g_LH = g; + } + g_KY() { + return this.g_LH; + } + g_MK(g) { + this.g_LJ = g; + } + g_ML() { + return this.g_LJ; + } + g_LQ(g) { + this.g_LK = !!g; + } + g_Kq() { + return this.g_LK; + } + g_Lc() { + return this.g_LE; + } + g_MJ() { + return this.g_Ly.g_bd(); + } + g_MM(g) { + this.g_MN(g), + this.g_MI(!1), + this.g_Lb() || this.g_MK(!0), + (this.g_Mm() || this.g_MH() || !this.g_LE) && + (this.g_Mm() || this.g_MH() || this.g_LE + ? this.g_Mm() + ? this.g_Kg() + : this.g_MH() && (this.g_Lq.g_KR(this), this.g_MO()) + : this.g_MO()); + let _ = !1; + for (const e of this.g_Ls) { + e.g_MP(); + const g = e.g_MQ(this.g_Ly.g_bd(), !1, !0); + !_ && g && (_ = !0); + } + _ && this.g_BI().g_EV(), this.g_MR(); + } + g_MN(g) { + 0 > g ? this.g_Ly.Set(0) : g >= this.g_LZ() ? this.g_Ly.Set(this.g_LZ()) : this.g_Ly.Set(g); + } + g_MR() { + g_aO.g_HY.g_Mv && + this.constructor === g_aO.g_Kj && + (g_aO.g_HY.g_Mv.g_HW.g_Mu(this), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MS), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MT), + this.g_Lq.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_MU), + g_aO.g_HY.g_Mv.g_HW.g_Mu(null)); + } + g_MV() { + if (!this.g_K$()) { + if (this.g_Ml()) { + if (this.g_Ly.g_bd() >= this.g_LZ()) return; + } else if (0 >= this.g_Ly.g_bd()) return; + this.g_MW(!0); + } + } + g_MW(g = !1) { + return ( + !this.g_K$() && + !this.g_MH() && + (this.g_Mm() && this.g_MG() + ? this.g_MX() + : !this.g_Mm() && !!(this.g_Lb() || g || this.g_ML()) && this.g_MY()) + ); + } + g_MX() { + return this.g_MK(!1), this.g_Lq.g_KL(this), this.g_Lq.g_KN(this), this.g_Mn(), !0; + } + g_MY() { + return this.g_MK(!1), this.g_Lq.g_KN(this), this.g_Mn(), !0; + } + g_Kg(g = !1) { + this.g_K$() || (this.g_MI(g), this.g_Lq.g_KT(this), this.g_Lb() && this.g_KS()); + } + g_lC(g = !0) { + if (this.g_K$()) return; + if (!this.g_Mm() && this.g_MH()) return this.g_Lq.g_KR(this); + if (this.g_Lb()) return; + this.g_Kg(!0), this.g_Ml() ? this.g_MN(0) : this.g_MN(this.g_LZ()); + let _ = !1; + for (const e of this.g_Ls) { + const g = e.g_MQ(this.g_Ly.g_bd()); + !_ && g && (_ = !0); + } + g && this.g_MR(), _ && g && this.g_BI().g_EV(); + } + g_MO() { + this.g_KV(!0); + } + g_KV(_) { + if (!this.g_KY()) + if (_) { + this.g_LE = !0; + for (const g of this.g_Ls) g.g_KV(); + } else if ((this.g_KO(!0), this.g_KP(!1), this.g_Mt(), this.g_Lb())) { + (this.g_LI = -1), + (this.g_LA = g), + (this.g_LB = 1), + (this.g_LF = !1), + (this.g_LL = !1), + (this.g_LE = !0), + this.g_Ml() ? this.g_MN(0) : this.g_MN(this.g_LZ()); + for (const g of this.g_Ls) g.g_KV(); + } else for (const g of this.g_Ls) g.g_MP(); + } + g_KZ(g, _) { + this.g_Ly.g_jB(g * _ * this.g_Lz); + let e; + if ( + (this.g_Mg() || this.g_Mh() + ? this.g_Mg() && !this.g_Mh() + ? (e = this.g_MZ()) + : !this.g_Mg() && this.g_Mh() + ? (e = this.g_M_()) + : this.g_Mg() && this.g_Mh() && (e = this.g_M$()) + : (e = this.g_Na()), + e) + ) { + for (const g of this.g_Ls) g.g_Nb(); + return this.g_Kg(!0), this.g_MA(), !0; + } else { + let g = !1; + for (const _ of this.g_Ls) { + const e = _.g_MQ(this.g_Ly.g_bd(), !0); + !g && e && (g = !0); + } + return g; + } + } + g_Na() { + if (this.g_Ml()) { + if (this.g_Ly.g_bd() >= this.g_LZ()) + if (this.g_LB < this.g_Mi()) this.g_LB++, this.g_MN(0); + else return this.g_MN(this.g_LZ()), !0; + } else if (0 >= this.g_Ly.g_bd()) + if (this.g_LB < this.g_Mi()) this.g_LB++, this.g_MN(this.g_LZ()); + else return this.g_MN(0), !0; + return !1; + } + g_MZ() { + return ( + this.g_Ml() + ? this.g_Ly.g_bd() >= this.g_LZ() && this.g_MN(0) + : 0 >= this.g_Ly.g_bd() && this.g_MN(this.g_LZ()), + !1 + ); + } + g_M_() { + if (this.g_Ml()) { + if (this.g_Ly.g_bd() >= this.g_LZ()) + if ((this.g_MN(this.g_LZ()), this.g_Mj(-1 * this.g_Mk()), 1 !== this.g_LA)) + this.g_LA === g && (this.g_LA = 1); + else if (this.g_LB < this.g_Mi()) this.g_LB++, (this.g_LA = g); + else return !0; + } else if (0 >= this.g_Ly.g_bd()) + if ((this.g_MN(0), this.g_Mj(-1 * this.g_Mk()), 1 !== this.g_LA)) + this.g_LA === g && (this.g_LA = 1); + else if (this.g_LB < this.g_Mi()) this.g_LB++, (this.g_LA = g); + else return !0; + return !1; + } + g_M$() { + return ( + this.g_Ml() + ? this.g_Ly.g_bd() >= this.g_LZ() && (this.g_MN(this.g_LZ()), this.g_Mj(-1 * this.g_Mk())) + : 0 >= this.g_Ly.g_bd() && (this.g_MN(0), this.g_Mj(-1 * this.g_Mk())), + !1 + ); + } + g_Nc() { + const g = this.g_Lr.g_Lu().g_Nd(), + _ = g_aO.g_Lv.g_sf(this, g); + return this.g_Ls.push(_), _; + } + g_Le() { + for (const g of this.g_Ls) g.g_Le(); + } + g_Ne() { + for (const g of this.g_Ls) g.g_Nf(); + } + g_Ng(g, _) { + if (_) + for (const e of this.g_Ls) + if (g) { + if (e.g_LW() !== g) continue; + e.g_Nh(_), this.g_Lq.g_Ky(_.g_EA(), this); + break; + } else { + if (e.g_Ni()) continue; + e.g_Nh(_), this.g_Lq.g_Ky(_.g_EA(), this); + break; + } + } + g_KC(g, _) { + for (const e of this.g_Ls) + if (_) { + if (_ === e.g_LW() && g === e.g_Nj()) return !0; + } else if (g === e.g_Nj()) return !0; + return !1; + } + g_La() { + return this.g_Ls.some((g) => g.g_Nk()); + } + g_Nl(g) { + for (const _ of this.g_LU()) for (const e of _.g_Nm()) if (e.g_Nn() === g) return e; + } + g_No(g) { + let _ = g ? g.split(' ') : []; + const e = new Set(_.map((g) => g.toLowerCase().trim())); + _ = [...e.values()]; + for (const e of this.g_LU()) + for (const g of e.g_Np()) { + const e = _.every((_) => g.g_Nq(_)); + if (e) return g; + } + } + g_Kz() { + const g = []; + for (const _ of this.g_LU()) g.push(_.g_EA()); + return g.filter((g) => g); + } + g_GG() { + return { + tracksJson: this.g_Nr(), + name: this.g_en, + playheadTime: this.g_Ly.g_bd(), + playbackRate: this.g_Lz, + pingPongState: this.g_LA, + currentRepeatCount: this.g_LB, + isPlaying: this.g_LC, + isScheduled: this.g_LD, + initialStateSet: this.g_LE, + finishedTriggers: this.g_LL, + complete: this.g_LF, + released: this.g_LG, + markedForRemoval: this.g_LH, + completedTick: this.g_LI, + implicitPause: this.g_LJ, + isTemplate: this.g_LK, + tags: this.g_LM.join(' '), + stringTags: this.g_LN, + tagsChanged: this.g_LO + }; + } + g_GI(g) { + g && + (this.g_Ns(g.tracksJson), + (this.g_en = g.name), + this.g_Ly.Set(g.playheadTime), + (this.g_Lz = g.playbackRate), + (this.g_LA = g.pingPongState), + (this.g_LB = g.currentRepeatCount), + (this.g_LC = !!g.isPlaying), + (this.g_LD = !!g.isScheduled), + (this.g_LE = !!g.initialStateSet), + (this.g_LL = !!g.hasOwnProperty('finishedTriggers') && !!g.finishedTriggers), + (this.g_LF = !!g.complete), + (this.g_LG = !!g.released), + (this.g_LH = !!g.markedForRemoval), + (this.g_LI = g.completedTick), + (this.g_LJ = !!g.implicitPause), + (this.g_LK = !!g.isTemplate), + (this.g_LM = g.tags.split(' ')), + (this.g_LN = g.stringTags), + (this.g_LO = !!g.tagsChanged)); + } + g_Nr() { + return this.g_Ls.map((g) => g.g_GG()); + } + g_Ns(g) { + g.forEach((g, _) => { + const e = this.g_Ls[_]; + e.g_GI(g); + }), + this.g_Ls.filter((g) => g.g_Nk()); + } + static g_Ms(g) { + const _ = this.g_Mq(); + return '' === g ? 1 === _.length && '' === _[0] : _.includes(g); + } + static g_Mp(g) { + return g_aO.g_db(g) ? g.slice(0) : g_aO.g_cO(g) ? g.split(' ') : void 0; + } + }; +} +'use strict', + (g_aO.g_Lv = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_Nt = g), + (this.g_Nu = _), + (this.g_Nv = _.g_Lu()), + (this.g_Nw = NaN), + (this.g_Nx = NaN), + (this.g_Ny = null), + (this.g_Nz = null), + (this.g_NA = null), + (this.g_NB = this.g_Nu.g_ND().g_NC()), + (this.g_NE = []); + for (const e of this.g_Nu.g_NG().g_NF()) this.g_NE.push(g_aO.g_NH.g_sf(this, e)); + } + static g_sf(g, _) { + return g_aO.g_ej(g_aO.g_Lv, g, _); + } + g_ek() { + this.g_NB = null; + for (const g of this.g_NE) g.g_ek(); + g_aO.g_fz(this.g_NE), + (this.g_NE = null), + (this.g_Nt = null), + (this.g_Ny = null), + (this.g_Nz = null), + (this.g_Nu = null), + (this.g_NA = null); + } + g_Le() { + for (const g of this.g_NE) g.g_Le(); + (this.g_Ny = null), (this.g_Nz = null); + } + g_NI() { + return this.g_Nt; + } + g_BI() { + return this.g_Nt.g_BI(); + } + g_Np() { + return this.g_NB ? this.g_NB : ((this.g_NB = this.g_Nu.g_ND().g_NC()), this.g_NB); + } + g_Nm() { + return this.g_NE; + } + g_Nl(g) { + for (const _ of this.g_NE) if (_.g_Nn() === g) return _; + } + g_NJ() { + this.g_Ny || this.g_Nj(); + } + g_NK() { + return !!this.g_Ny && !this.g_Ny.g_NL(); + } + g_Nk() { + const g = this.g_NM(), + _ = this.g_BI().g_NN(g); + return !!_ && !_.g_NL(); + } + g_EA() { + const g = this.g_NO(); + return -1 === g ? void 0 : this.g_BI().g_D_(g); + } + g_Nf() { + (this.g_Ny = null), (this.g_Nw = -1), (this.g_Nz = null), (this.g_Nx = -1); + } + g_Ni() { + return !!this.g_Ny; + } + g_Nj() { + if (this.g_Ny && this.g_NK()) return this.g_Ny; + const g = this.g_NM(); + return (this.g_Ny = this.g_BI().g_NN(g)), this.g_Ny; + } + g_Nh(g) { + if (this.g_Ny !== g) { + this.g_Le(), + (this.g_Ny = g), + (this.g_Nx = g.g_EA().g_EM()), + (this.g_Nw = g.g_Ei()), + (this.g_Nz = g.g_CU()); + for (const _ of this.g_NP()) { + const g = _.g_NQ, + t = _.g_NR, + e = g.g_NS(); + switch (e) { + case 'instance-variable': { + const a = t.g_NT(), + n = g_Jt.g_EA(), + i = n.g_NU(_.name), + e = n.g_NV(i), + r = n.g_NW(i); + e === _.name && r === _.type && t.g_NX(i); + break; + } + case 'behavior': { + const n = _.g_NY, + r = this.g_EA(), + s = g_Jt.g_EA(), + e = t.g_NZ(s); + if (n && e) { + const _ = n.g_pY(), + a = r.g_N_(_), + g = s.g_N_(_), + d = t.g_NT(); + t.g_N$(e.g_EN()); + } + break; + } + } + } + } + } + *g_NP() { + for (const g of this.g_NE) { + const _ = g.g_Oa(), + t = this.g_EA(), + n = { g_NQ: g, g_NR: _ }; + switch (g.g_NS()) { + case 'world-instance': { + n.g_Ob = g.g_Nn(); + break; + } + case 'instance-variable': { + const g = _.g_NT(); + (n.name = t.g_NV(g)), (n.type = t.g_NW(g)); + break; + } + case 'effect': { + const g = t.g_EP(), + a = _.g_Oc(g); + n.g_Od = a; + break; + } + case 'behavior': { + const g = _.g_NZ(t); + n.g_NY = g; + break; + } + case 'plugin': { + n.g_Oe = t.g_Ir(); + break; + } + } + yield n; + } + } + g_CU() { + if (this.g_Nz && this.g_NK()) return this.g_Nz; + const g = this.g_Nj(); + return g && (this.g_Nz = g.g_CU()), this.g_Nz; + } + g_Of() { + return this.g_Nu; + } + g_NM() { + return this.g_Nw ? this.g_Nw : this.g_Nu.g_NM(); + } + g_Og(g) { + this.g_Nu.g_Og(g); + } + g_Mb() { + return this.g_Nu.g_Mb(); + } + g_Mc(g) { + this.g_Nu.g_Mc(g); + } + g_Md() { + return this.g_Nu.g_Md(); + } + g_LW() { + return this.g_Nu.g_LW(); + } + g_Me(g) { + this.g_Nu.g_Me(g); + } + g_Mf(g) { + for (const _ of this.g_Np()) _.g_Mf(g); + for (const _ of this.g_Nm()) _.g_Mf(g); + } + g_Oh() { + return this.g_Nu.g_Oh(); + } + g_Oi(g) { + this.g_Nu.g_Oi(g); + } + g_NO() { + return isNaN(this.g_Nx) ? this.g_Nu.g_NO() : this.g_Nx; + } + g_Oj(g) { + this.g_Nu.g_Oj(g); + } + g_KV() { + if ((this.g_NJ(), !!this.g_NK())) { + for (const g of this.g_NE) g.g_KV(); + const g = this.g_NI(), + _ = g.g_Ml(), + e = g.g_LZ(), + a = _ ? 0 : e; + (this.g_NA = this.g_Nv.g_Ok(a, this.g_Nu)), this.g_MQ(a); + } + } + g_MP() { + if ((this.g_NJ(), !!this.g_NK())) { + const g = this.g_Nt.g_Ml(), + _ = this.g_Nt.g_MJ(); + this.g_Nt.g_Ml() + ? (this.g_NA = this.g_Nv.g_Ol(_, this.g_Nu)) + : ((this.g_NA = this.g_Nv.g_Om(_, this.g_Nu)), + !this.g_NA && (this.g_NA = this.g_Nv.g_On(this.g_Nu))); + for (const g of this.g_NE) g.g_MP(); + } + } + g_Nb() { + if (!this.g_NI().g_Lb() && (this.g_NJ(), !!this.g_NK())) { + const g = this.g_Nt.g_MJ(), + _ = this.g_Nt.g_LZ(); + g >= _ ? this.g_MQ(_, !0) : 0 >= g && this.g_MQ(0, !0); + } + } + g_MQ(g, _ = !1, a = !1) { + if ((this.g_NJ(), !this.g_NK())) return !1; + this.g_NA = this.g_Oo(g, _); + let t = !1, + n = !1; + for (const e of this.g_NE) { + const _ = e.g_MQ(g, a); + t || 0 == (_ & g_aO.g_Kj.g_LR) || (t = !0), n || 0 == (_ & g_aO.g_Kj.g_LS) || (n = !0); + } + if (t) { + const g = this.g_CU(); + g && g.g_En(); + } + return n; + } + g_Oo(g, _) { + if (!_) return; + const e = this.g_NI(); + let a = this.g_Nv.g_Ok(g, this.g_Nu); + return ( + a + ? this.g_Op(a) + : ((a = e.g_Ml() ? this.g_Nv.g_Ol(g, this.g_Nu) : this.g_Nv.g_Om(g, this.g_Nu)), + a !== this.g_NA && this.g_Op(a)), + a + ); + } + g_Op(g) { + if (g_aO.g_HY.g_Mv && this.g_NI().constructor === g_aO.g_Kj) { + const _ = this.g_NI(); + g_aO.g_HY.g_Mv.g_HW.g_Mu(_), g_aO.g_HY.g_Mv.g_HW.g_Oq(g); + const e = _.g_LT(); + e.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_Or), + e.g_Ku(g_aO.g_HY.g_Mv.g_HW.g_Op), + g_aO.g_HY.g_Mv.g_HW.g_Mu(null), + g_aO.g_HY.g_Mv.g_HW.g_Oq(null); + } + } + g_Os() { + const g = this.g_Nu.g_ND(), + _ = g.g_Ot(); + return _; + } + g_Ou() { + const g = this.g_Nu.g_NG(), + _ = g.g_Ov(), + e = g_aO.g_NH.g_sf(this, _); + return this.g_NE.push(e), e; + } + g_Ow(g) { + const _ = this.g_Nu.g_ND(); + _.g_Ox(g); + } + g_Oy(g) { + for (const _ of this.g_NE) _.g_Oy(g); + } + g_Oz() { + for (const g of this.g_NE) g.g_Oz(); + } + g_OA() { + if ((this.g_NJ(), !!this.g_NK())) for (const g of this.g_NE) g.g_OA(); + } + g_OB() { + if ((this.g_NJ(), !this.g_NK())) return; + let g = !1; + for (const _ of this.g_NE) { + const e = _.g_OB(); + !g && e && (g = !0); + } + if (g) { + const g = this.g_Os(); + g.g_MM(this.g_NI().g_MJ()), g.g_Mf('noease'), g.g_Oi(!0), g.g_Mo(''); + } + } + g_GG() { + return { + propertyTracksJson: this.g_OC(), + lastKeyframeDataItemJson: this.g_OD(), + instanceUid: this.g_Nw + }; + } + g_GI(g) { + g && + (this.g_OE(g.propertyTracksJson), + this.g_OF(g.lastKeyframeDataItemJson), + this.g_OG(g.instanceUid)); + } + g_OD() { + const g = this.g_Nu.g_ND(); + return g.g_OH(this.g_NA); + } + g_OC() { + return this.g_NE.map((g) => g.g_GG()); + } + g_OE(g) { + g.forEach((g, _) => { + const e = this.g_NE[_]; + e.g_GI(g); + }); + } + g_OG(g) { + if (g_aO.g_cF(g)) { + const _ = this.g_BI().g_NN(g); + if (_) { + const g = this.g_NI(); + g.g_Ne(), g.g_Ng(this.g_Nu.g_LW(), _); + } + } + } + g_OF(g) { + const _ = this.g_Nu.g_ND(); + this.g_NA = _.g_OI(g); + } + }), + 'use strict', + (g_aO.g_NH = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_OJ = g), + (this.g_OK = _), + (this.g_OL = _.g_NG()), + (this.g_OM = this.g_Oa()), + (this.g_ON = this.g_OK.g_OP().g_OO()); + } + static g_sf(g, _) { + return g_aO.g_ej(g_aO.g_NH, g, _); + } + g_ek() { + (this.g_OJ = null), + this.g_OM && (this.g_OM.g_ek(), (this.g_OM = null)), + (this.g_ON = null), + (this.g_OK = null), + (this.g_OL = null); + } + g_OQ() { + return this.g_OJ; + } + g_OR() { + return this.g_OK; + } + g_NG() { + return this.g_OL; + } + g_NI() { + return this.g_OJ.g_NI(); + } + g_BI() { + return this.g_OJ.g_BI(); + } + g_Oa() { + if (this.g_OM) return this.g_OM; + const g = this.g_OK.g_NS(); + let _; + return ( + 'behavior' === g + ? (_ = new g_aO.g_NH.g_OS(this)) + : 'effect' === g + ? (_ = new g_aO.g_NH.g_OT(this)) + : 'instance-variable' === g + ? (_ = new g_aO.g_NH.g_OU(this)) + : 'plugin' === g + ? (_ = new g_aO.g_NH.g_OV(this)) + : 'world-instance' === g + ? (_ = new g_aO.g_NH.g_OW(this)) + : 'value' === g + ? (_ = new g_aO.g_NH.g_OX(this)) + : void 0, + (this.g_OM = _), + this.g_OM + ); + } + g_NS() { + return this.g_OK.g_NS(); + } + g_OY(g) { + this.g_OK.g_OY(g); + } + g_OZ() { + return this.g_OK.g_O_(); + } + g_O$(g) { + this.g_OK.g_Pa(g); + } + g_Pb() { + return this.g_Oa().g_Pc(); + } + g_Nn() { + return this.g_OK.g_Pd(); + } + g_Pe(g) { + this.g_OK.g_Pf(g); + } + g_Pg() { + return this.g_OK.g_tC(); + } + g_Ph(g) { + this.g_OK.g_Pi(g); + } + g_Pj() { + return this.g_NG().g_Pk(this.g_OK).g_tC(); + } + g_Pl() { + return this.g_OK.g_Pl(); + } + g_Pm(g) { + this.g_OK.g_Pm(g); + } + g_Pn() { + return this.g_OK.g_Pn(); + } + g_Po(g) { + this.g_OK.g_Po(g); + } + g_Oh() { + return this.g_OK.g_Oh(); + } + g_Oi(g) { + this.g_OK.g_Oi(g); + } + g_Mb() { + return this.g_OK.g_Mb(); + } + g_Mc(g) { + this.g_OK.g_Mc(g); + } + g_Md() { + return this.g_OK.g_Md(); + } + g_Me(g) { + this.g_OK.g_Me(g); + } + g_Mf(g) { + for (const _ of this.g_Pp()) _.g_Mf(g); + } + g_Pp() { + return this.g_ON ? this.g_ON : ((this.g_ON = this.g_OK.g_OP().g_OO()), this.g_ON); + } + *g_Pq() { + for (const g of this.g_Pp()) yield g.g_Pr(); + } + g_Le() { + this.g_Oa().g_Le(); + } + g_Ps() { + return this.g_Oa().g_Ps(); + } + g_KV() { + this.g_Oa().g_KV(); + } + g_MP() { + this.g_Oa().g_MP(); + } + g_MQ(g, _ = !1) { + const a = this.g_OK; + let t = this.g_OL.g_Pt(g, a), + n; + return ( + t ? (n = this.g_OL.g_Pu(g, a)) : ((t = this.g_OL.g_Pv(g, a)), (n = this.g_OL.g_Pw(g, a))), + this.g_Oa().g_MQ(g, t, n, _) + ); + } + static g_Px(g, _) { + const a = _.g_OR(), + t = _.g_OL; + let n = t.g_Pt(g, a); + return n || (n = t.g_Pv(g, a)), n; + } + static g_Py(g, _) { + const a = _.g_OR(), + t = _.g_OL; + let n = t.g_Pt(g, a); + return n ? t.g_Pu(g, a) : t.g_Pw(g, a); + } + g_Pz() { + const g = this.g_OK.g_OP(), + _ = g.g_PA(); + return _; + } + g_Oy(g) { + const _ = this.g_OK.g_OP(); + _.g_PB(g); + } + g_Oz() { + this.g_Oa().g_Oz(); + } + g_OA() { + const g = this.g_Oa().g_OA(); + if (g) { + const g = this.g_OL.g_Pk(this.g_OK), + _ = this.g_Oa().g_Ps(); + g.g_PC(_); + } + } + g_OB() { + const g = this.g_Oa().g_OB(); + return g && this.g_PD(), this.g_Oa().g_PE(), g; + } + g_PD() { + const g = this.g_NI().g_MJ(), + _ = this.g_Oa(), + e = g_aO.g_NH.g_Px(g, this), + a = this.g_Pz(); + a.g_Pi(e.g_tC()), a.g_MM(g), a.g_Mf(e.g_jL()), a.g_Oi(!0), a.g_PF(_.g_PG()), a.g_PC(_.g_Ps()); + } + g_GG() { + return { sourceAdapterJson: this.g_Oa().g_GG() }; + } + g_GI(g) { + g && this.g_Oa().g_GI(g.sourceAdapterJson); + } + }), + 'use strict'; +{ + const _ = g_aO.g_NH; + _.g_PH = class { + constructor(g) { + (this.g_PI = g), (this.g_PJ = null); + } + g_ek() { + this.g_PJ && (this.g_PJ.g_ek(), (this.g_PJ = null)), (this.g_PI = null); + } + g_Nl() { + return this.g_PI; + } + g_Le() { + this.g_PJ && this.g_PJ.g_Le(); + } + g_PK() { + return this.g_PJ ? this.g_PJ : ((this.g_PJ = this.g_PL()), this.g_PJ); + } + g_NT() {} + g_EM() { + return this.g_NT(); + } + g_PM() {} + g_KV() { + this.g_PK().g_KV(); + } + g_MP() { + this.g_PK().g_MP(); + } + g_MQ(a, t, n, i) { + const e = _.g_PH.g_PN(this.g_PI), + r = e(a, t, n, this.g_PI); + return this.g_PK().g_PO(a, r, t, n, i); + } + g_Oz() { + this.g_PK().g_PP(); + } + g_PE() { + this.g_PK().g_PE(); + } + g_Ps() { + return this.g_PK().g_Ps(); + } + g_OA() { + return this.g_PK().g_OA(); + } + g_OB() { + return this.g_PK().g_OB(); + } + g_PG() { + return _.g_PH.g_PG(this.g_PI); + } + g_PL() { + const g = this.g_PI.g_Pg(), + e = this.g_PI.g_Pj(); + return 'combo' === e || 'boolean' === e || 'text' === e || 'string' === e + ? new _.g_PR.g_PQ(this) + : 'numeric' === e || 'number' === e || 'angle' === e + ? 'combo' === g + ? new _.g_PR.g_PQ(this) + : new _.g_PR.g_PS(this) + : 'color' === e || 'offsetColor' === e + ? new _.g_PR.g_PT(this) + : void 0; + } + g_GG() { + return { propertyAdapterJson: this.g_PK().g_GG() }; + } + g_GI(g) { + g && this.g_PK().g_GI(g.propertyAdapterJson); + } + static g_PG(a) { + const t = a.g_OQ(), + n = t.g_NI().g_MJ(), + i = _.g_Px(n, a), + e = _.g_Py(n, a), + r = _.g_PH.g_PN(a); + return r(n, i, e, a); + } + static g_Pc(g, _, e) { + let a = g.g_Md(); + return ( + 'combo' === g.g_Pg() && (a = 'absolute'), + 'relative' === a ? _ + e : 'absolute' === a ? e : void 0 + ); + } + static g_PN(g) { + const e = g.g_Pj(); + return 'numeric' === e + ? _.g_PU.g_MQ + : 'angle' === e + ? _.g_PV.g_MQ + : 'boolean' === e + ? _.g_PW.g_MQ + : 'color' === e + ? _.g_PX.g_MQ + : 'text' === e + ? _.g_PY.g_MQ + : void 0; + } + static g_PZ(g) { + const e = g.g_Pj(); + return 'numeric' === e + ? _.g_PU.g_P_ + : 'angle' === e + ? _.g_PV.g_P_ + : 'boolean' === e + ? _.g_PW.g_P_ + : 'color' === e + ? _.g_PX.g_P_ + : 'text' === e + ? _.g_PY.g_P_ + : void 0; + } + }; +} +{ + class g extends g_aO.g_NH.g_PH { + constructor(g) { + super(g); + } + } + g_aO.g_NH.g_OW = g; +} +{ + const g = 0; + class _ extends g_aO.g_NH.g_PH { + constructor(g) { + super(g), (this.g_P$ = NaN); + } + g_NT() { + return this.g_PI.g_OR().g_O_()[g]; + } + g_EM() { + return this.g_P$ ? this.g_P$ : super.g_EM(); + } + g_PM() { + return this.g_PI.g_OQ().g_Nj(); + } + g_NX(_) { + const e = this.g_PI.g_OR().g_O_()[g]; + e === _ || (this.g_P$ = _); + } + g_MQ(g, _, e, a) { + this.g_PK().g_Qa(_.g_Pc()) && super.g_MQ(g, _, e, a); + } + g_GG() { + return Object.assign(super.g_GG(), { index: this.g_P$ }); + } + g_GI(g) { + g && (super.g_GI(g), (this.g_P$ = g.index)); + } + } + g_aO.g_NH.g_OU = _; +} +{ + const _ = 0; + class g extends g_aO.g_NH.g_PH { + constructor(g) { + super(g), (this.g_Ds = NaN); + } + g_NT() { + const g = this.g_PI.g_OR(); + return g.g_O_()[1]; + } + g_PM() { + const a = this.g_PI.g_OR(), + t = this.g_PI.g_OQ(), + n = this.g_Ds ? this.g_Ds : a.g_O_()[_], + i = t.g_Nj(), + e = i.g_Qb(n), + r = i.g_Qc()[e]; + return r.g_Qd(); + } + g_NZ(g) { + const _ = this.g_PI.g_OR(), + e = _.g_O_()[2]; + return g.g_Qe(e); + } + g_N$(g) { + const e = this.g_PI.g_OR(); + e.g_O_()[_] === g || (this.g_Ds = g); + } + g_MQ(g, _, a, t) { + const n = this.g_PI.g_OQ(), + e = n.g_Nj(); + this.g_NZ(e.g_EA()) && super.g_MQ(g, _, a, t); + } + g_GG() { + return Object.assign(super.g_GG(), { sid: this.g_Ds }); + } + g_GI(g) { + g && (super.g_GI(g), (this.g_Ds = g.sid)); + } + } + g_aO.g_NH.g_OS = g; +} +{ + class g extends g_aO.g_NH.g_PH { + constructor(g) { + super(g); + } + g_NT() { + return this.g_PI.g_OR().g_O_()[1]; + } + g_PM() { + const _ = this.g_PI, + a = _.g_OQ(), + t = a.g_CU(), + n = t.g_Gd(), + i = n.g_EP(), + e = this.g_Oc(i), + r = e.g_EM(); + return n.g_Qf(r) ? n.g_Gh(r) : null; + } + g_Oc(g) { + const _ = this.g_PI, + e = _.g_OR().g_O_()[0]; + return g.g_Qg(e); + } + g_MQ(g, _, e, a) { + this.g_Qh() && super.g_MQ(g, _, e, a); + } + g_Qh() { + const g = this.g_PI, + _ = g.g_OQ(), + a = _.g_CU(), + t = a.g_Gd(), + n = t.g_EP(), + e = this.g_Oc(n); + if (e) { + const g = e.g_EM(); + return t.g_Qf(g); + } + } + } + g_aO.g_NH.g_OT = g; +} +{ + class g extends g_aO.g_NH.g_PH { + constructor(g) { + super(g); + } + g_NT() { + return this.g_PI.g_OR().g_O_()[0]; + } + g_PM() { + return this.g_PI.g_OQ().g_Nj().g_Qd(); + } + g_MQ(_, a, t, n) { + const i = this.g_PI.g_OQ(), + e = i.g_EA().g_Ir(), + r = i.g_Nj().g_EA().g_Ir(); + e !== r || super.g_MQ(_, a, t, n); + } + } + g_aO.g_NH.g_OV = g; +} +{ + class g extends g_aO.g_NH.g_PH { + constructor(g) { + super(g), (this.g_Qi = 0); + } + g_KV() { + const g = this.g_PI.g_NG(); + let _ = this.g_PI.g_OR(); + (_ = g.g_Pk(_)), (this.g_Qi = _.g_Pr()); + } + g_MP() {} + g_Pc() { + return this.g_Qi; + } + g_MQ(g, _, e) { + const a = g_aO.g_NH.g_PU.g_MQ; + this.g_Qi = a(g, _, e, this.g_PI); + } + g_Oz() {} + g_PE() {} + g_Ps() { + return this.g_Qi; + } + g_OA() { + return !1; + } + g_OB() { + return !1; + } + g_GG() { + return { value: this.g_Qi }; + } + g_GI(g) { + g && (this.g_Qi = g.value); + } + } + g_aO.g_NH.g_OX = g; +} +'use strict', + (g_aO.g_NH.g_PR = class { + constructor(g) { + (this.g_OM = g), + (this.g_PI = g.g_Nl()), + (this.g_Nz = this.g_PI.g_OQ().g_CU()), + (this.g_Qj = this.g_PI.g_Nn()), + (this.g_Qk = !1), + (this.g_Ql = null), + (this.g_Qm = null); + } + g_ek() { + (this.g_OM = null), + (this.g_PI = null), + (this.g_Nz = null), + (this.g_Ql = null), + (this.g_Qm = null); + } + g_Le() { + (this.g_Nz = null), (this.g_Ql = null), (this.g_Qm = null); + } + g_CU() { + return this.g_Nz ? this.g_Nz : ((this.g_Nz = this.g_PI.g_OQ().g_CU()), this.g_Nz); + } + g_Qn(g) { + this.g_Qk = !!g; + } + g_Qo() { + return this.g_Qk; + } + g_KV() {} + g_MP() {} + g_PP() { + this.g_Ql = this.g_Ps(); + } + g_PE() { + this.g_Ql = null; + } + g_Ps() {} + g_OA() {} + g_OB() {} + g_Qa(g) { + const _ = typeof this.g_Qp(); + return _ == typeof g; + } + g_PO() {} + g_Qq() { + const g = this.g_Qr( + () => { + const g = this.g_PI.g_OR(), + _ = this.g_PI.g_NG(); + return _.g_Pk(g); + }, + () => { + const g = this.g_PI.g_OR(), + _ = this.g_PI.g_NG(); + return _.g_Qs(g); + } + ); + return g.g_Qt(); + } + g_Qu() { + const g = this.g_PI.g_NI(), + _ = g.g_MJ(), + e = this.g_Qr( + () => { + const g = this.g_PI.g_OR(), + e = this.g_PI.g_NG(); + return e.g_Pv(_, g); + }, + () => { + const g = this.g_PI.g_OR(), + e = this.g_PI.g_NG(), + a = e.g_Pw(_, g); + return a ? a : e.g_Qs(g); + } + ); + return e.g_Qt(); + } + g_Qr(g, _) { + const e = this.g_PI.g_NI(); + return e.g_Ml() ? g() : _(); + } + g_Qv(g, _) { + const e = this.g_PI.g_Md(); + return 'relative' === e ? g() : _(); + } + g_Qw(g, _) { + return this.g_Qo() ? (this.g_Qn(!1), g()) : _(); + } + g_Qx() {} + g_Qy() { + return this.g_OM.g_EM(); + } + g_Qz() { + return this.g_Qm ? this.g_Qm : ((this.g_Qm = this.g_OM.g_PM()), this.g_Qm); + } + g_QA(g, _, a, t, n) { + const e = this.g_PI.g_NS(); + return 'behavior' === e + ? g() + : 'effect' === e + ? _() + : 'instance-variable' === e + ? a() + : 'plugin' === e + ? t() + : 'world-instance' === e + ? n() + : void 0; + } + g_GG() { + return { firstAbsoluteUpdate: this.g_Qk, saveState: this.g_Ql }; + } + g_GI(g) { + g && ((this.g_Qk = g.firstAbsoluteUpdate), (this.g_Ql = g.saveState)); + } + }), + 'use strict'; +{ + class g extends g_aO.g_NH.g_PR { + constructor(g) { + super(g), (this.g_QB = 0), (this.g_QC = 0), (this.g_QD = 0); + } + g_KV() { + this.g_Qn(!0); + const g = this.g_Qx(this.g_Qq()); + (this.g_QB = g.g_gP()), (this.g_QC = g.g_gQ()), (this.g_QD = g.g_gR()); + } + g_MP() { + if (!this.g_QE(this.g_Qq(), this.g_Qu())) { + this.g_Qn(!0); + const g = this.g_Qx(this.g_Qu()); + (this.g_QB = g.g_gP()), (this.g_QC = g.g_gQ()), (this.g_QD = g.g_gR()); + } + } + g_Ps() { + const g = this.g_PI.g_NS(), + _ = this.g_Qz(), + e = this.g_Qy(); + switch (g) { + case 'behavior': + _.g_QF(e); + break; + case 'effect': + return _[e].toArray().slice(0, 3); + case 'plugin': + return _.g_QF(e); + case 'world-instance': + return this.g_Qp().toArray().slice(0, 3); + } + } + g_OA() { + const g = this.g_Qq(); + return !this.g_QE(g, this.g_Qp()); + } + g_OB() { + return !g_aO.g_cI(this.g_Ql) && !this.g_QE(this.g_Ql, this.g_Qp()); + } + g_QE(g, _) { + return g.g_gV(_); + } + g_Qq() { + const g = super.g_Qq(); + return this.g_QG(g); + } + g_Qu() { + const g = super.g_Qu(); + return this.g_QG(g); + } + g_Qx(g) { + const _ = this.g_QG(g); + return g_aO.g_gB.g_hw(_, this.g_Qp()); + } + g_QG(g) { + return g_aO.g_c_(g, g_aO.g_gB) ? g : new g_aO.g_gB(g[0], g[1], g[2]); + } + g_Qa() { + return !0; + } + g_PO(_, a) { + const t = a[0], + n = a[1], + e = a[2], + i = this.g_QB, + r = this.g_QC, + g = this.g_QD; + return ( + this.g_Qw( + () => { + this.g_QH(-i, -r, -g); + }, + () => { + this.g_QH(-i + t, -r + n, -g + e); + } + ), + (this.g_QB = t), + (this.g_QC = n), + (this.g_QD = e), + g_aO.g_Kj.g_LS + ); + } + g_Qp() { + const g = this.g_PI.g_NS(), + _ = this.g_Qz(), + e = this.g_Qy(); + return 'behavior' === g + ? this.g_QG(_.g_QF(e)) + : 'effect' === g + ? _[e].clone() + : 'plugin' === g + ? this.g_QG(_.g_QF(e)) + : 'world-instance' === g + ? this.g_CU().g_QI().clone() + : void 0; + } + g_QH(g, _, a) { + const t = this.g_PI.g_NS(), + n = this.g_Qz(), + e = this.g_Qy(); + 'behavior' === t + ? n.g_QJ(e, g, _, a) + : 'effect' === t + ? n[e].g_gI(g, _, a) + : 'plugin' === t + ? n.g_QJ(e, g, _, a) + : 'world-instance' === t + ? this.g_CU().g_QK(g, _, a) + : void 0; + } + g_GG() { + return Object.assign(super.g_GG(), { r: this.g_QB, g: this.g_QC, b: this.g_QD }); + } + g_GI(g) { + g && (super.g_GI(g), (this.g_QB = g.r), (this.g_QC = g.g), (this.g_QD = g.b)); + } + } + g_aO.g_NH.g_PR.g_PT = g; +} +{ + class g extends g_aO.g_NH.g_PR { + constructor(g) { + super(g); + } + g_KV() {} + g_MP() {} + g_Ps() { + return this.g_Qp(); + } + g_OA() { + const g = this.g_Qq(); + return g !== this.g_Ps(); + } + g_OB() { + return !g_aO.g_cI(this.g_Ql) && this.g_Ql !== this.g_Ps(); + } + g_PO(g, _) { + const a = g_aO.g_NH.g_PH.g_PZ(this.g_PI), + t = this.g_PI.g_NS(), + n = a(this.g_Qy(), this.g_Qz(), _, t); + if (n) + return ( + this.g_QH(_), + 'behavior' === t || 'effect' === t || 'instance-variable' === t + ? void 0 + : 'plugin' === t + ? g_aO.g_Kj.g_LS + : void 0 + ); + } + g_Qp() { + const g = this.g_PI.g_NS(), + _ = this.g_Qz(), + e = this.g_Qy(); + switch (g) { + case 'behavior': + return _.g_QF(e); + case 'effect': + return _[e]; + case 'instance-variable': + return _.g_QL(e); + case 'plugin': + return _.g_QF(e); + } + } + g_QH(g) { + const _ = this.g_PI.g_NS(), + e = this.g_Qz(), + a = this.g_Qy(); + 'behavior' === _ + ? e.g_QM(a, g) + : 'effect' === _ + ? (e[a] = g) + : 'instance-variable' === _ + ? e.g_QN(a, g) + : 'plugin' === _ + ? e.g_QM(a, g) + : void 0; + } + } + g_aO.g_NH.g_PR.g_PQ = g; +} +{ + const g = new Map(), + _ = (_, a, t, n) => g.set(_, { g_QO: a, g_QP: t, round: n }); + _( + 'offsetX', + (g, _) => g.g_QQ(_), + (g) => g.g_Ig(), + !0 + ), + _( + 'offsetY', + (g, _) => g.g_QR(_), + (g) => g.g_Ih(), + !0 + ), + _( + 'offsetWidth', + (g, _) => g.g_QS(_), + (g) => g.g_pN(), + !0 + ), + _( + 'offsetHeight', + (g, _) => g.g_QT(_), + (g) => g.g_pO(), + !0 + ), + _( + 'offsetAngle', + (g, _) => g.g_QU(_), + (g) => g.g_Fj(), + !1 + ), + _( + 'offsetOpacity', + (g, _) => g.g_QV(_), + (g) => g.g_zk(), + !1 + ), + _( + 'offsetOriginX', + (g, _) => g.g_QW(_), + (g) => g.g_QX(), + !1 + ), + _( + 'offsetOriginY', + (g, _) => g.g_QY(_), + (g) => g.g_QZ(), + !1 + ), + _( + 'offsetZElevation', + (g, _) => g.g_Q_(_), + (g) => g.g_Do(), + !0 + ); + class e extends g_aO.g_NH.g_PR { + constructor(_) { + super(_), (this.g_ui = 0), (this.g_Q$ = null), (this.g_Ra = null), (this.g_Rb = !1); + const e = this.g_PI.g_Nn(); + if ('world-instance' === this.g_PI.g_NS()) { + const _ = g.get(e); + (this.g_Q$ = _.g_QP), (this.g_Ra = _.g_QO), (this.g_Rb = _.round); + } + } + g_ek() { + (this.g_Q$ = null), (this.g_Ra = null), super.g_ek(); + } + g_KV() { + this.g_ui = this.g_Qv( + () => + this.g_Qr( + () => 0, + () => g_aO.g_NH.g_PH.g_PG(this.g_PI) + ), + () => (this.g_Qn(!0), this.g_Qx(this.g_Qq())) + ); + } + g_MP() { + this.g_Qq() === this.g_Qu() || + this.g_Qv( + () => {}, + () => { + this.g_Qn(!0), (this.g_ui = this.g_Qx(this.g_Qu())); + } + ); + } + g_Ps() { + return this.g_Qp(); + } + g_OA() { + const g = this.g_Qq(); + return g !== this.g_Ps(); + } + g_OB() { + return !g_aO.g_cI(this.g_Ql) && this.g_Ql !== this.g_Ps(); + } + g_Qx(g) { + return g - this.g_Ps(); + } + g_PO(g, _, a, t, n) { + return ( + this.g_Qv( + () => { + this.g_QH(_ - this.g_ui, a, t), (this.g_ui = _), this.g_Rc(g, a, t, n, this.g_ui, _); + }, + () => { + this.g_Qw( + () => { + this.g_QH(this.g_ui, a, t), (this.g_ui = _); + }, + () => { + this.g_QH(_ - this.g_ui, a, t), + (this.g_ui = _), + this.g_Rc(g, a, t, n, this.g_ui, _); + } + ); + } + ), + this.g_QA( + () => {}, + () => g_aO.g_Kj.g_LS, + () => {}, + () => g_aO.g_Kj.g_LS, + () => g_aO.g_Kj.g_LS + ) + ); + } + g_Qp() { + const g = this.g_Qz(), + _ = this.g_Qy(); + return this.g_QA( + () => g.g_QF(_), + () => g[_], + () => g.g_QL(_), + () => g.g_QF(_), + () => this.g_Q$(this.g_CU()) + ); + } + g_QH(g) { + const _ = this.g_Qz(), + e = this.g_Qy(); + this.g_QA( + () => _.g_Rd(e, g), + () => (_[e] += g), + () => _.g_Re(e, g), + () => _.g_Rd(e, g), + () => this.g_Ra(this.g_CU(), g) + ); + } + g_Rc(g, _, a, t, n, e) { + t + ? _ && g === _.g_MJ() + ? this.g_Rf(_.g_Pr(), _, a) + : a && g === a.g_MJ() + ? this.g_Rf(a.g_Pr(), _, a) + : !a && this.g_Rf(_.g_Pr(), _, a) + : _ && g === _.g_MJ() + ? this.g_Rf(_.g_Pr(), _, a) + : a && g === a.g_MJ() + ? this.g_Rf(a.g_Pr(), _, a) + : 0 == e - n && this.g_Rf(_.g_Pr(), _, a); + } + g_Rf(_, a, t) { + const n = _.toString(), + i = n.split('.')[1] || '', + e = i.length, + r = this.g_Qp(); + let g; + (g = 0 === e ? (this.g_Rb ? Math.round(r) : r) : g_aO.toFixed(r, e)), + this.g_QH(g - r, a, t), + (this.g_ui += g - r); + } + g_GG() { + return Object.assign(super.g_GG(), { v: this.g_ui }); + } + g_GI(g) { + g && (super.g_GI(g), (this.g_ui = g.v)); + } + } + g_aO.g_NH.g_PR.g_PS = e; +} +'use strict', + (g_aO.g_NH.g_PU = class { + constructor() {} + static g_P_(g, _, a, t) { + let n; + return ( + 'behavior' === t + ? (n = _.g_QF(g)) + : 'effect' === t + ? (n = _[g]) + : 'instance-variable' === t + ? (n = _.g_QL(g)) + : 'plugin' === t + ? (n = _.g_QF(g)) + : void 0, + n !== a + ); + } + static g_MQ(_, t, r, s) { + var d = Math.floor; + if (!r) { + let g = s.g_OR(); + const _ = s.g_NG(); + return (g = _.g_Qs(g)), g.g_Pr(); + } + let u = s.g_Mb(); + if ( + ('default' === u && (u = 'continuous'), + 'combo' === s.g_Pg() && (u = 'discrete'), + 'discrete' === u) + ) + return t.g_Pr(); + if ('continuous' === u || 'step' === u) { + if ('step' === u) { + const g = s.g_NI().g_L$(); + if (0 !== g) { + const e = 1 / g; + _ = d(_ * e) / e; + } + } + const g = t.g_MJ(), + p = r.g_MJ(), + i = t.g_Pr(), + h = r.g_Pr(); + if (i === h) return i; + const c = g_aO.normalize(_, g, p), + l = t.g_jL(); + let f; + const e = t.g_Rg('cubic-bezier'), + n = r.g_Rg('cubic-bezier'); + if (e && e.g_Rh() && n && n.g_Ri()) { + const _ = p - g; + (f = g_jF.g_jL(l)(_ * c, 0, 1, _)), + (f = g_jF.g_jL('cubicbezier')(f, i, i + e.g_Rj(), h + n.g_Rk(), h)); + } else f = g_jF.g_jL(l)((p - g) * c, i, h - i, p - g); + return 'integer' === s.g_Pg() ? d(f) : f; + } + } + }), + 'use strict', + (g_aO.g_NH.g_PV = class { + constructor() {} + static g_P_(g, _, a, t) { + let n; + return ( + 'behavior' === t + ? (n = _.g_QF(g)) + : 'effect' === t + ? (n = _[g]) + : 'instance-variable' === t + ? (n = _.g_QL(g)) + : 'plugin' === t + ? (n = _.g_QF(g)) + : void 0, + n !== a + ); + } + static g_MQ(_, t, n, g) { + if (!n) { + let _ = g.g_OR(); + const e = g.g_NG(); + return (_ = e.g_Qs(_)), _.g_Pr(); + } + let r = g.g_Mb(); + if ( + ('default' === r && (r = 'continuous'), + 'combo' === g.g_Pg() && (r = 'discrete'), + 'discrete' === r) + ) + return t.g_Pr(); + if ('continuous' === r || 'step' === r) { + if ('step' === r) { + const e = g.g_NI().g_L$(); + if (0 !== e) { + const g = 1 / e; + _ = Math.floor(_ * g) / g; + } + } + const e = t.g_MJ(), + a = n.g_MJ(), + s = t.g_Pr(), + d = n.g_Pr(); + if (s === d) return s; + let i = g_aO.normalize(_, e, a); + const l = g_jF.g_jL(t.g_jL()); + return g_aO.g_ez(s, d, l(i, 0, 1, 1)); + } + } + }), + 'use strict', + (g_aO.g_NH.g_PW = class { + constructor() {} + static g_P_(g, _, a, t) { + let n; + return ( + 'behavior' === t + ? (n = _.g_QF(g)) + : 'effect' === t + ? (n = _[g]) + : 'instance-variable' === t + ? (n = _.g_QL(g)) + : 'plugin' === t + ? (n = _.g_QF(g)) + : void 0, + !!n != !!a + ); + } + static g_MQ(g, _, e, t) { + if (!e) { + let g = t.g_OR(); + const _ = t.g_NG(); + return (g = _.g_Qs(g)), g.g_Pr() ? 1 : 0; + } + return _.g_Pr() ? 1 : 0; + } + }), + 'use strict'; +{ + const _ = [0, 0, 0], + a = [0, 0, 0]; + g_aO.g_NH.g_PX = class { + constructor() {} + static g_P_(t, n, i, e) { + var r = Math.floor; + let g; + return ( + 'behavior' === e + ? (g = n.g_QF(t)) + : 'effect' === e + ? (g = n[t]) + : 'instance-variable' === e + ? (g = n.g_QL(t)) + : 'plugin' === e + ? (g = n.g_QF(t)) + : void 0, + Array.isArray(i) + ? ((_[0] = i[0]), (_[1] = i[1]), (_[2] = i[2])) + : (g_Rl.g_hg(i), + (_[0] = r(255 * g_Rl.g_gP())), + (_[1] = r(255 * g_Rl.g_gQ())), + (_[2] = r(255 * g_Rl.g_gR()))), + Array.isArray(g) + ? ((a[0] = g[0]), (a[1] = g[1]), (a[2] = g[2])) + : (g_Rl.g_hg(g), + (a[0] = r(255 * g_Rl.g_gP())), + (a[1] = r(255 * g_Rl.g_gQ())), + (a[2] = r(255 * g_Rl.g_gR()))), + _[0] !== a[0] || _[1] !== a[1] || _[2] !== a[2] + ); + } + static g_MQ(E, a, c, t) { + if (!c) { + let g = t.g_OR(); + const a = t.g_NG(); + g = a.g_Qs(g); + const n = g.g_Pr(); + return (_[0] = n[0]), (_[1] = n[1]), (_[2] = n[2]), _; + } + let d = t.g_Mb(); + if (('default' === d && (d = 'continuous'), 'discrete' === d)) { + const g = a.g_Pr(); + return (_[0] = g[0]), (_[1] = g[1]), (_[2] = g[2]), _; + } + if ('continuous' === d || 'step' === d) { + if ('step' === d) { + const g = t.g_NI().g_L$(); + if (0 !== g) { + const _ = 1 / g; + E = Math.floor(E * _) / _; + } + } + const g = a.g_MJ(), + h = c.g_MJ(), + i = a.g_Pr(), + f = c.g_Pr(), + b = g_aO.normalize(E, g, h), + l = a.g_jL(), + m = i[0], + e = i[1], + n = i[2], + o = f[0], + p = f[1], + y = f[2], + r = g_jF.g_jL(l), + s = h - g, + B = s * b; + return ( + (_[0] = m === o ? m : r(B, m, o - m, s)), + (_[1] = e === p ? e : r(B, e, p - e, s)), + (_[2] = n === y ? n : r(B, n, y - n, s)), + _ + ); + } + } + }; +} +'use strict', + (g_aO.g_NH.g_PY = class { + constructor() {} + static g_P_(g, _, a, t) { + let n; + return ( + 'behavior' === t + ? (n = _.g_QF(g)) + : 'effect' === t + ? (n = _[g]) + : 'instance-variable' === t + ? (n = _.g_QL(g)) + : 'plugin' === t + ? (n = _.g_QF(g)) + : void 0, + n !== a + ); + } + static g_MQ(g, _, e, t) { + if (!e) { + let g = t.g_OR(); + const _ = t.g_NG(); + return (g = _.g_Qs(g)), g.g_Pr(); + } + return _.g_Pr(); + } + }), + 'use strict', + (g_aO.g_JL = class { + constructor() { + this.g_Rm = new Map(); + } + g_ek() { + for (const g of this.g_Rm.values()) g.g_ek(); + this.g_Rm.clear(), (this.g_Rm = null); + } + g_jB(g) { + const _ = new g_aO.g_Rn(g), + e = _.g_pY(); + this.g_Rm.set(e, _); + } + g_bd(g) { + return this.g_Rm.get(g); + } + g_LP() { + return 0; + } + static g_Ro(g, _, a, t) { + if (_) for (const n of _) g_aO.g_JL.g_Rp('create', n, g, a, t); + } + static g_Rq(g, _, e, a) { + g.length + ? _.forEach((_, e) => { + g[e].g_GI(_); + }) + : _.forEach((_) => { + g_aO.g_JL.g_Rp('load', _, g, e, a); + }); + } + static g_Rp(_, a, g, t, n) { + let e; + if ('function' == typeof t) + 'load' === _ ? (e = new t(null, n)) : 'create' === _ ? (e = new t(a, n)) : void 0; + else if ('object' == typeof t) { + const i = t.prop, + r = a[i], + g = t.map.get(r); + 'load' === _ ? (e = new g(null, n)) : 'create' === _ ? (e = new g(a, n)) : void 0; + } + switch (_) { + case 'load': + e.g_GI(a), g.push(e); + break; + case 'create': + if ('function' == typeof e.g_Oh && !e.g_Oh()) return e.g_ek(); + g.push(e); + } + } + }), + 'use strict', + (g_aO.g_Rn = class { + constructor(g) { + (this.g_en = ''), + (this.g_Rr = NaN), + (this.g_Rs = 0), + (this.g_Rt = 'default'), + (this.g_Ru = 'default'), + (this.g_Rv = !1), + (this.g_Rw = !1), + (this.g_Rx = 1), + (this.g_Nv = null), + g && + ((this.g_en = g[0]), + (this.g_Rr = g[1]), + (this.g_Rs = g[2]), + (this.g_Rt = g[3]), + (this.g_Ru = g[4]), + (this.g_Rv = !!g[6]), + (this.g_Rw = !!g[7]), + (this.g_Rx = g[8]), + (this.g_Nv = new g_aO.g_Ry(g[5], this))); + } + g_ek() { + this.g_Nv.g_ek(), (this.g_Nv = null); + } + g_Lu() { + return this.g_Nv || (this.g_Nv = new g_aO.g_Ry(null, this)), this.g_Nv; + } + g_pY() { + return this.g_en; + } + g_LX(g) { + this.g_en = g; + } + g_LZ() { + return this.g_Rr; + } + g_L_(g) { + this.g_Rr = g; + } + g_L$() { + return this.g_Rs; + } + g_Ma(g) { + this.g_Rs = g; + } + g_Mb() { + return this.g_Rt; + } + g_Mc(g) { + this.g_Rt = g; + } + g_Md() { + return this.g_Ru; + } + g_Me(g) { + this.g_Ru = g; + } + g_Mg() { + return this.g_Rv; + } + g_Mh() { + return this.g_Rw; + } + g_Mi() { + return this.g_Rx; + } + g_GG() { + return { + trackDataJson: this.g_Nv.g_GG(), + name: this.g_en, + totalTime: this.g_Rr, + step: this.g_Rs, + interpolationMode: this.g_Rt, + resultMode: this.g_Ru, + loop: this.g_Rv, + pingPong: this.g_Rw, + repeatCount: this.g_Rx + }; + } + g_GI(g) { + g && + (this.g_Lu().g_GI(g.trackDataJson), + (this.g_en = g.name), + (this.g_Rr = g.totalTime), + (this.g_Rs = g.step), + (this.g_Rt = g.interpolationMode), + (this.g_Ru = g.resultMode), + (this.g_Rv = g.loop), + (this.g_Rw = g.pingPong), + (this.g_Rx = g.repeatCount)); + } + }), + 'use strict'; +{ + const g = 0; + class _ { + constructor(_, e) { + (this.g_Nv = e), + (this.g_Rz = null), + (this.g_Nw = NaN), + (this.g_Nx = NaN), + (this.g_Rt = 'default'), + (this.g_Ru = 'default'), + (this.g_jc = !1), + (this.g_RA = null), + (this.g_OL = null), + (this.g_RB = ''), + _ && + ((this.g_Rz = _[g]), + (this.g_Nw = _[g][2]), + (this.g_Nx = _[g][1]), + (this.g_Rt = _[1]), + (this.g_Ru = _[2]), + (this.g_jc = !!_[3]), + _[6] && (this.g_RB = _[6]), + (this.g_RA = new g_aO.g_RC(_[4], this)), + (this.g_OL = new g_aO.g_RD(_[5], this))); + } + g_ek() { + (this.g_Nv = null), + this.g_RA && (this.g_RA.g_ek(), (this.g_RA = null)), + this.g_OL && (this.g_OL.g_ek(), (this.g_OL = null)); + } + g_Lu() { + return this.g_Nv; + } + g_ND() { + return this.g_RA || (this.g_RA = new g_aO.g_RC(null, this)), this.g_RA; + } + g_NG() { + return this.g_OL || (this.g_OL = new g_aO.g_RD(null, this)), this.g_OL; + } + g_RE() { + return this.g_Rz; + } + g_NO() { + return this.g_Nx; + } + g_Oj(g) { + this.g_Nx = g; + } + g_NM() { + return this.g_Nw; + } + g_Og(g) { + this.g_Nw = g; + } + g_Mb() { + return this.g_Rt; + } + g_Mc(g) { + this.g_Rt = g; + } + g_Md() { + return this.g_Ru; + } + g_Me(g) { + this.g_Ru = g; + } + g_Oh() { + return this.g_jc; + } + g_Oi(g) { + this.g_jc = !!g; + } + g_LW() { + return this.g_RB; + } + g_GG() { + return { + keyframeDataJson: this.g_RA.g_GG(), + propertyTrackDataJson: this.g_OL.g_GG(), + instanceData: this.g_Rz, + instanceUid: this.g_Nw, + objectClassIndex: this.g_Nx, + interpolationMode: this.g_Rt, + resultMode: this.g_Ru, + enabled: this.g_jc, + id: this.g_RB + }; + } + g_GI(g) { + g && + ((this.g_Rz = g.instanceData), + (this.g_Nw = g.instanceUid), + (this.g_Nx = g.objectClassIndex), + (this.g_Rt = g.interpolationMode), + (this.g_Ru = g.resultMode), + (this.g_jc = g.enabled), + (this.g_RB = g.id), + this.g_ND().g_GI(g.keyframeDataJson), + this.g_NG().g_GI(g.propertyTrackDataJson)); + } + } + g_aO.g_Ry = class { + constructor(g, e) { + (this.g_RF = e), + (this.g_RG = []), + (this.g_RH = new Map()), + g_aO.g_JL.g_Ro(this.g_RG, g, _, this); + } + g_ek() { + this.g_RF = null; + for (const g of this.g_RG) g.g_ek(); + g_aO.g_fz(this.g_RG), (this.g_RG = null), this.g_RH.clear(), (this.g_RH = null); + } + g_Nd() { + const g = new _(null, this); + return this.g_RG.push(g), g; + } + g_RI(g) { + return g.g_ND().g_NC()[0]; + } + g_On(g) { + const _ = g.g_ND().g_NC(); + return _[_.length - 1]; + } + g_Ok(g, _) { + const e = this.g_RH.get(_); + if (!!e && e.has(g)) return e.get(g); + for (const a of _.g_ND().g_RJ()) + if (a.g_MJ() === g) return e || this.g_RH.set(_, new Map()), this.g_RH.get(_).set(g, a), a; + } + g_RK(g, _) { + for (const e of _.g_ND().g_RJ()) if (e.g_MJ() > g) return e; + } + g_Om(g, _) { + for (const e of _.g_ND().g_RJ()) if (e.g_MJ() >= g) return e; + } + g_Ol(g, _) { + for (const e of _.g_ND().g_RL()) if (e.g_MJ() <= g) return e; + } + *g_Lt() { + for (const g of this.g_RG) yield g; + } + g_GG() { + return { trackDataItemsJson: this.g_RG.map((g) => g.g_GG()) }; + } + g_GI(g) { + g && g_aO.g_JL.g_Rq(this.g_RG, g.trackDataItemsJson, _, this); + } + }; +} +{ + const g = 0; + class _ { + constructor(_, e) { + (this.g_OL = e), + (this.g_RM = ''), + (this.g_RN = null), + (this.g_Qj = null), + (this.g_kL = null), + (this.g_RO = NaN), + (this.g_RP = NaN), + (this.g_Rt = 'default'), + (this.g_Ru = 'default'), + (this.g_jc = !1), + (this.g_RQ = null), + _ && + ((this.g_RM = _[g][0]), + (this.g_RN = _[g].slice(1)), + (this.g_Qj = _[1]), + (this.g_kL = _[2]), + (this.g_RO = _[3]), + (this.g_RP = _[4]), + (this.g_Rt = _[5]), + (this.g_Ru = _[6]), + (this.g_jc = !!_[7]), + (this.g_RQ = new g_aO.g_RR(_[8], this))); + } + g_ek() { + this.g_RQ.g_ek(), (this.g_RQ = null), (this.g_OL = null), (this.g_RN = null); + } + g_NG() { + return this.g_OL; + } + g_OP() { + return this.g_RQ || (this.g_RQ = new g_aO.g_RR(null, this)), this.g_RQ; + } + g_NS() { + return this.g_RM; + } + g_OY(g) { + this.g_RM = g; + } + g_O_() { + return this.g_RN; + } + g_Pa(g) { + this.g_RN = g; + } + g_Pd() { + return this.g_Qj; + } + g_Pf(g) { + this.g_Qj = g; + } + g_tC() { + return this.g_kL; + } + g_Pi(g) { + this.g_kL = g; + } + g_Pl() { + return this.g_RO; + } + g_Pm(g) { + this.g_RO = g; + } + g_Pn() { + return this.g_RP; + } + g_Po(g) { + this.g_RP = g; + } + g_Mb() { + return this.g_Rt; + } + g_Mc(g) { + this.g_Rt = g; + } + g_Md() { + return this.g_Ru; + } + g_Me(g) { + this.g_Ru = g; + } + g_Oh() { + return this.g_jc; + } + g_Oi(g) { + this.g_jc = !!g; + } + g_GG() { + return { + propertyKeyframeDataJson: this.g_RQ.g_GG(), + sourceAdapterId: this.g_RM, + sourceAdapterArguments: this.g_RN, + property: this.g_Qj, + type: this.g_kL, + min: this.g_RO, + max: this.g_RP, + interpolationMode: this.g_Rt, + resultMode: this.g_Ru, + enabled: this.g_jc + }; + } + g_GI(g) { + g && + ((this.g_RM = g.sourceAdapterId), + (this.g_RN = g.sourceAdapterArguments), + (this.g_Qj = g.property), + (this.g_kL = g.type), + (this.g_RO = g.min), + (this.g_RP = g.max), + (this.g_Rt = g.interpolationMode), + (this.g_Ru = g.resultMode), + (this.g_jc = g.enabled), + this.g_OP().g_GI(g.propertyKeyframeDataJson)); + } + } + g_aO.g_RD = class { + constructor(g, e) { + (this.g_Nu = e), + (this.g_RS = []), + (this.g_RT = new Map()), + g_aO.g_JL.g_Ro(this.g_RS, g, _, this); + } + g_ek() { + this.g_Nu = null; + for (const g of this.g_RS) g.g_ek(); + g_aO.g_fz(this.g_RS), (this.g_RS = null), this.g_RT.clear(), (this.g_RT = null); + } + g_Of() { + return this.g_Nu; + } + g_Ov() { + const g = new _(null, this); + return this.g_RS.push(g), g; + } + g_Pk(g) { + const _ = g.g_OP(); + return _.g_OO()[0]; + } + g_Qs(g) { + const _ = g.g_OP(), + e = _.g_OO(); + return e[e.length - 1]; + } + g_Pt(g, _) { + const a = this.g_RT.get(_); + if (!!a && a.has(g)) return a.get(g); + const t = _.g_OP(); + for (const n of t.g_RU()) + if (n.g_MJ() === g) return a || this.g_RT.set(_, new Map()), this.g_RT.get(_).set(g, n), n; + } + g_Pu(g, _) { + const e = _.g_OP(); + for (const a of e.g_RU()) if (a.g_MJ() > g) return a; + } + g_Pw(g, _) { + const e = _.g_OP(); + for (const a of e.g_RU()) if (a.g_MJ() >= g) return a; + } + g_Pv(g, _) { + const e = _.g_OP(); + for (const a of e.g_RV()) if (a.g_MJ() <= g) return a; + } + *g_NF() { + for (const g of this.g_RS) yield g; + } + g_GG() { + return { propertyTrackDataItemsJson: this.g_RS.map((g) => g.g_GG()) }; + } + g_GI(g) { + g && g_aO.g_JL.g_Rq(this.g_RS, g.propertyTrackDataItemsJson, _, this); + } + }; +} +{ + class g { + constructor(g, _) { + if ( + ((this.g_RA = _), + (this.g_RW = -1), + (this.g_RX = 'noease'), + (this.g_RY = !1), + (this.g_LM = null), + (this.g_RZ = null), + !!g) + ) { + (this.g_RW = g[0]), (this.g_RX = g[1]), (this.g_RY = !!g[2]); + const _ = g[3]; + (this.g_LM = _ ? _.split(' ') : []), + (this.g_RZ = new Set(this.g_LM.map((g) => g.toLowerCase()))); + } + } + g_ek() { + (this.g_RA = null), + g_aO.g_fz(this.g_LM), + (this.g_LM = null), + this.g_RZ.clear(), + (this.g_RZ = null); + } + g_ND() { + return this.g_RA; + } + g_MJ() { + return this.g_RW; + } + g_MM(g) { + this.g_RW = g; + } + g_jL() { + return this.g_RX; + } + g_Mf(g) { + this.g_RX = g; + } + g_Oh() { + return this.g_RY; + } + g_Oi(g) { + this.g_RY = !!g; + } + g_Mq() { + return this.g_LM; + } + g_Mo(g) { + (this.g_LM = g ? g.split(' ') : []), + (this.g_RZ = new Set(this.g_LM.map((g) => g.toLowerCase()))); + } + g_R_() { + return this.g_RZ; + } + g_Nq(g) { + return this.g_RZ.has(g.toLowerCase()); + } + g_GG() { + return { time: this.g_RW, ease: this.g_RX, enable: this.g_RY, tags: this.g_LM }; + } + g_GI(g) { + g && + ((this.g_RW = g.time), + (this.g_RX = g.ease), + (this.g_RY = g.enable), + (this.g_LM = g.tags), + (this.g_RZ = new Set(this.g_LM.map((g) => g.toLowerCase())))); + } + } + g_aO.g_RC = class { + constructor(_, e) { + (this.g_Nu = e), (this.g_NB = []), g_aO.g_JL.g_Ro(this.g_NB, _, g, this); + } + g_ek() { + this.g_Nu = null; + for (const g of this.g_NB) g.g_ek(); + g_aO.g_fz(this.g_NB), (this.g_NB = null); + } + g_Of() { + return this.g_Nu; + } + g_R$() { + return this.g_NB.length; + } + g_NC() { + return this.g_NB; + } + g_Ot() { + const _ = new g(null, this); + return this.g_NB.push(_), _; + } + g_Ox(g) { + for (const _ of this.g_NB) { + if (!g(_)) continue; + const e = this.g_NB.indexOf(_); + -1 === e || (_.g_ek(), this.g_NB.splice(e, 1)); + } + this.g_Sa(); + } + g_Sa() { + this.g_NB.sort((g, _) => g.g_MJ() - _.g_MJ()); + } + g_OH(g) { + return this.g_NB.indexOf(g); + } + g_OI(g) { + return this.g_NB[g]; + } + *g_RJ() { + for (const g of this.g_NB) yield g; + } + *g_RL() { + for (let g = this.g_NB.length - 1; 0 <= g; g--) yield this.g_NB[g]; + } + g_GG() { + return { keyframeDataItemsJson: this.g_NB.map((g) => g.g_GG()) }; + } + g_GI(_) { + _ && g_aO.g_JL.g_Rq(this.g_NB, _.keyframeDataItemsJson, g, this); + } + }; +} +{ + const g = 0; + class _ { + constructor(_, e) { + (this.g_RQ = e), + (this.g_Qi = null), + (this.g_Sb = null), + (this.g_kL = ''), + (this.g_RW = NaN), + (this.g_RX = 'noease'), + (this.g_RY = !1), + (this.g_Sc = null), + _ && + ((this.g_Qi = _[g][0]), + (this.g_Sb = _[g][1]), + (this.g_kL = _[g][2]), + (this.g_RW = _[1]), + (this.g_RX = _[2]), + (this.g_RY = !!_[3]), + (this.g_Sc = null), + !!_[4] && (this.g_Sc = new g_aO.g_Sd(_[4], this))); + } + g_ek() { + (this.g_RQ = null), this.g_Sc && (this.g_Sc.g_ek(), (this.g_Sc = null)); + } + g_Se() { + return this.g_Sc; + } + g_Pc() { + return this.g_Qi; + } + g_PF(g) { + 'color' === this.g_kL && g_aO.g_cF(g) + ? ((this.g_Qi[0] = g_aO.g_eN(g)), + (this.g_Qi[1] = g_aO.g_eO(g)), + (this.g_Qi[2] = g_aO.g_eP(g))) + : (this.g_Qi = g); + } + g_Qt() { + return this.g_Sb; + } + g_PC(g) { + 'color' === this.g_kL && g_aO.g_cF(g) + ? ((this.g_Sb[0] = g_aO.g_eN(g)), + (this.g_Sb[1] = g_aO.g_eO(g)), + (this.g_Sb[2] = g_aO.g_eP(g))) + : (this.g_Sb = g); + } + g_Pr() { + const g = this.g_RQ.g_OR().g_Md(); + return 'relative' === g ? this.g_Pc() : 'absolute' === g ? this.g_Qt() : void 0; + } + g_tC() { + return this.g_kL; + } + g_Pi(g) { + this.g_kL = g; + } + g_MJ() { + return this.g_RW; + } + g_MM(g) { + this.g_RW = g; + } + g_jL() { + return this.g_RX; + } + g_Mf(g) { + this.g_RX = g; + } + g_Oh() { + return this.g_RY; + } + g_Oi(g) { + this.g_RY = !!g; + } + g_Rg(g) { + if (this.g_Se()) for (const _ of this.g_Se().g_Sf()) if (_.g_LW() === g) return _; + } + g_GG() { + const g = this.g_Sc; + return { + addonDataJson: g ? g.g_GG() : g, + value: this.g_Qi, + aValue: this.g_Sb, + type: this.g_kL, + time: this.g_RW, + ease: this.g_RX, + enable: this.g_RY + }; + } + g_GI(g) { + g && + (g.addonDataJson && this.g_Sc.g_Sg(g.addonDataJson), + (this.g_Qi = g.value), + (this.g_Sb = g.aValue), + (this.g_kL = g.type), + (this.g_RW = g.time), + (this.g_RX = g.ease), + (this.g_RY = g.enable)); + } + } + g_aO.g_RR = class { + constructor(g, e) { + (this.g_OK = e), (this.g_ON = []), g_aO.g_JL.g_Ro(this.g_ON, g, _, this); + } + g_ek() { + this.g_OK = null; + for (const g of this.g_ON) g.g_ek(); + g_aO.g_fz(this.g_ON), (this.g_ON = null); + } + g_PA() { + const g = new _(null, this); + return this.g_ON.push(g), g; + } + g_PB(g) { + for (const _ of this.g_ON) { + if (!g(_)) continue; + const e = this.g_ON.indexOf(_); + -1 === e || (_.g_ek(), this.g_ON.splice(e, 1)); + } + this.g_Sh(); + } + g_Sh() { + this.g_ON.sort((g, _) => g.g_MJ() - _.g_MJ()); + } + g_OR() { + return this.g_OK; + } + g_Si() { + this.g_ON.length; + } + g_OO() { + return this.g_ON; + } + *g_RU() { + for (const g of this.g_ON) yield g; + } + *g_RV() { + for (let g = this.g_ON.length - 1; 0 <= g; g--) yield this.g_ON[g]; + } + g_GG() { + return { propertyKeyframeDataItemsJson: this.g_ON.map((g) => g.g_GG()) }; + } + g_GI(g) { + g && g_aO.g_JL.g_Rq(this.g_ON, g.propertyKeyframeDataItemsJson, _, this); + } + }; +} +{ + class g { + constructor(g, _) { + (this.g_Sc = _), (this.g_RB = g[0]), (this._data = g[1]); + } + g_ek() { + (this.g_Sc = null), (this._data = null); + } + g_Se() { + return this.g_Sc; + } + g_LW() { + return this.g_RB; + } + g_GG() { + return { id: this.g_RB, data: this._data }; + } + g_GI(g) { + g && ((this.g_RB = g.id), (this._data = g.data)); + } + } + class _ extends g { + constructor(g, _) { + super(g, _), + (this.g_Sj = this._data[0]), + (this.g_Sk = !!this._data[1]), + (this.g_Sl = this._data[2]), + (this.g_Sm = !!this._data[3]); + } + g_ek() { + super.g_ek(); + } + g_Rj() { + return this.g_Sj; + } + g_Rh() { + return this.g_Sk; + } + g_Rk() { + return this.g_Sl; + } + g_Ri() { + return this.g_Sm; + } + g_GG() { + return Object.assign(super.g_GG(), { + startAnchor: this.g_Sj, + startEnable: !!this.g_Sk, + endAnchor: this.g_Sl, + endEnable: !!this.g_Sm + }); + } + g_GI(g) { + g && + (super.g_GI(g), + (this.g_Sj = g.startAnchor), + (this.g_Sk = !!g.startEnable), + (this.g_Sl = g.endAnchor), + (this.g_Sm = !!g.endEnable)); + } + } + g_aO.g_Sd = class { + constructor(g, e) { + (this.g_Sn = e), + (this.g_So = []), + g_aO.g_JL.g_Ro(this.g_So, g, { prop: 0, map: new Map([['cubic-bezier', _]]) }, this); + } + g_ek() { + this.g_Sn = null; + for (const g of this.g_So) g.g_ek(); + g_aO.g_fz(this.g_So), (this.g_So = null); + } + g_Sp() { + return this.g_Sn; + } + *g_Sf() { + for (const g of this.g_So) yield g; + } + g_GG() { + return { addonDataItemsJson: this.g_So.map((g) => g.g_GG()) }; + } + g_GI(g) { + g && + g_aO.g_JL.g_Rq( + this.g_So, + g.addonDataItemsJson, + { prop: 'id', map: new Map([['cubic-bezier', _]]) }, + this + ); + } + }; +} +{ + let g = 0; + g_aO.Tween = class extends g_aO.g_Kj { + constructor(_, e) { + super(`tween-${g++}`, _, e), + (this.g_RB = ''), + (this.g_Sq = !1), + (this.g_Sr = 'start-value'), + (this.g_Ss = null), + (this.g_St = null); + } + g_Nj() { + const g = this.g_LU(); + if (g && g.length) { + const _ = g[0]; + if (_) { + const g = _.g_Nj(); + return _.g_NK() ? g : null; + } + } + } + g_Su(g) { + this.g_St || (this.g_St = []), this.g_St.push(g); + } + g_Sv(g) { + this.g_Ss || (this.g_Ss = []), this.g_Ss.push(g); + } + g_Sw(g) { + if (this.g_St) { + const _ = this.g_St.indexOf(g); + -1 !== _ && this.g_St.splice(_, 1); + } + } + g_Sx(g) { + if (this.g_Ss) { + const _ = this.g_Ss.indexOf(g); + -1 !== _ && this.g_Ss.splice(_, 1); + } + } + g_Sy(g, _) { + for (const e of this.g_Ls) + for (const a of e.g_NE) { + if (a.g_Nn() !== _) continue; + const t = a.g_NG(), + n = a.g_OR(), + e = t.g_Pk(n); + e.g_PF(g), e.g_PC(g); + } + } + g_Sz(g) { + for (const _ of this.g_Ls) for (const e of _.g_NE) if (e.g_Nn() === g) return e; + } + g_SA(g, _) { + for (const e of _) { + const g = this.g_Sz(e); + this.g_Sy(g.g_Ps(), e); + } + this.g_Ml() + ? (this.g_L_(this.g_LZ() - this.g_MJ()), this.g_MN(0)) + : (this.g_L_(this.g_MJ()), this.g_MN(this.g_LZ())), + this.g_MO(); + } + g_SB(g, _) { + const a = this.g_Sz(_), + t = a.g_NG(), + n = a.g_OR(), + e = t.g_Qs(n); + e.g_MM(this.g_LZ()), e.g_PF(g), e.g_PC(g); + } + g_SC(g) { + this.g_RB = g; + } + g_LW() { + return this.g_RB; + } + g_SD(g) { + this.g_Sr = g; + } + g_SE() { + return this.g_Sr; + } + g_SF(g) { + this.g_Sq = g; + } + g_SG() { + return this.g_Sq; + } + g_Mt() { + if (this.g_St) for (const g of this.g_St) g(this); + if (!this.g_Lb()) for (const g of this.g_Ls) g.g_OB(); + } + g_MA() { + this.g_LI = this.g_Be.g_MB(); + } + g_Ld() { + if (!this.g_LL && ((this.g_LL = !0), this.g_Ss)) for (const g of this.g_Ss) g(this); + } + g_MM(g) { + this.g_SH(), super.g_MM(g); + } + g_KV(g) { + if (!this.g_Lc() && 'current-state' === this.g_SE()) for (const g of this.g_Ls) g.g_OA(); + super.g_KV(g); + } + g_Kg(g = !1) { + if ((super.g_Kg(g), !this.g_Lb())) for (const g of this.g_Ls) g.g_Oz(); + } + g_lC() { + this.g_SH(), super.g_lC(); + } + g_SH() { + for (const g of this.g_Ls) { + const _ = (g) => { + const _ = g.g_MJ(), + e = this.g_LZ(); + return 0 !== _ && _ !== e; + }; + g.g_Ow(_), g.g_Oy(_); + } + } + g_Oo() {} + g_KZ() { + const g = this.g_Nj(), + _ = this.g_BI().g_KW(g); + super.g_KZ(_, 1); + } + g_GG() { + const g = super.g_GG(), + _ = this.g_LY(); + return Object.assign(g, { + tweenDataItemJson: _.g_GG(), + id: this.g_RB, + destroyInstanceOnComplete: this.g_Sq, + initialValueMode: this.g_Sr + }); + } + g_GI(g) { + if (g) { + const _ = this.g_LY(); + _.g_GI(g.tweenDataItemJson), + super.g_GI(g), + (this.g_RB = g.id), + (this.g_Sq = g.destroyInstanceOnComplete), + (this.g_Sr = g.initialValueMode); + } + } + static g_Mm(g) { + return g.g_Mm(); + } + static g_SI(_) { + const a = _.runtime.g_LT(), + t = new g_aO.g_Rn(); + if (_.json) { + t.g_GI(_.json.tweenDataItemJson); + const g = new g_aO.Tween(t, a); + return g.g_GI(_.json), g; + } else { + const n = new g_aO.Tween(t, a); + g_aO.g_db(_.g_SJ) || (_.g_SJ = [_.g_SJ]), + n.g_SC(_.id), + n.g_Mo(_.tags), + n.g_SD(_.g_SK), + n.g_SF(_.g_SL), + n.g_L_(_.time), + n.g_Ma(0), + n.g_Mc('default'), + n.g_Me(_.g_SJ[0].g_SM); + const i = n.g_Nc(); + i.g_Og(_.g_Ke.g_Ei()), + i.g_Mc('default'), + i.g_Me(_.g_SJ[0].g_SM), + i.g_Oi(!0), + i.g_Oj(_.g_Ke.g_EA().g_EM()); + const e = i.g_Os(); + e.g_MM(0), e.g_Mf('noease'), e.g_Oi(!0), e.g_Mo(''); + const r = i.g_Os(); + r.g_MM(_.time), r.g_Mf('noease'), r.g_Oi(!0), r.g_Mo(''); + for (const g of _.g_SJ) { + const e = i.g_Ou(); + e.g_OY(g.g_SN), + e.g_O$(g.g_SO), + e.g_Pe(g.g_Ob), + e.g_Ph(g.type), + e.g_Pm(NaN), + e.g_Po(NaN), + e.g_Mc('default'), + e.g_Me(g.g_SM), + e.g_Oi(!0); + const a = e.g_Pz(); + a.g_Pi(g.valueType), + a.g_MM(0), + a.g_Mf(g.g_SP), + a.g_Oi(!0), + a.g_PF(g.g_SQ), + a.g_PC(g.g_SQ); + const t = e.g_Pz(); + t.g_Pi(g.valueType), + t.g_MM(_.time), + t.g_Mf(g.g_SP), + t.g_Oi(!0), + t.g_PF(g.g_SR), + t.g_PC(g.g_SR); + } + return n; + } + } + }; +} +'use strict', + (g_aO.g_SS = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_en = g[0]), (this.g_ST = []); + for (const _ of g[1]) { + const g = g_aO.g_SU.g_sf(this, _); + this.g_ST.push(g); + } + (this.g_SV = new Map()), + (this.g_SW = new Map()), + this.g_SX(), + g_jF.g_kw(this.g_en, (g, _, e, a) => this.g_MQ(g, _, e, a)); + } + static g_sf(g) { + return g_aO.g_ej(g_aO.g_SS, g); + } + g_ek() { + for (const g of this.g_ST) g.g_ek(); + g_aO.g_fz(this.g_ST), + (this.g_ST = null), + this.g_SV.clear(), + (this.g_SV = null), + this.g_SW.clear(), + (this.g_SW = null); + } + g_SY(g) { + const _ = this.g_SW.get(g); + if (_) return _; + for (const _ of this.g_ST) if (_.g_SZ() === g) return this.g_SW.set(g, _), _; + } + g_S_(g) { + for (const _ of this.g_ST) if (_.g_SZ() > g) return _; + } + g_S$(g) { + for (const _ of this.g_ST) if (_.g_SZ() >= g) return _; + } + g_Ta(g) { + for (let _ = this.g_ST.length - 1; 0 <= _; _--) { + const e = this.g_ST[_]; + if (e.g_SZ() <= g) return e; + } + } + g_MQ(_, a, t, s) { + const d = _ / s; + let e = this.g_SY(d), + u = null; + e ? (u = this.g_S_(d)) : ((e = this.g_Ta(d)), (u = this.g_S$(d))); + const c = u.g_SZ() - e.g_SZ(), + h = g_aO.g_eo(d, e.g_SZ(), u.g_SZ(), 0, c), + i = e.g_SZ(), + E = e.g_Tb(), + b = e.g_SZ() + e.g_Tc(), + l = e.g_Tb() + e.g_Td(), + m = u.g_SZ() + u.g_Te(), + n = u.g_Tb() + u.g_Tf(), + o = u.g_SZ(), + p = u.g_Tb(); + let y = g_jF.g_jL('spline')(h, i, E, b, l, m, n, o, p, this.g_SV.get(e)); + return (y += e.g_Tb()), (1 - y) * a + y * (a + t); + } + g_SX() { + this.g_SV.clear(); + for (let _ = 0; _ < this.g_ST.length - 1; _++) { + const a = this.g_ST[_]; + if (!a.g_Rh()) continue; + const t = a, + n = this.g_ST[_ + 1], + i = t.g_SZ(), + e = t.g_SZ() + t.g_Tc(), + r = n.g_SZ() + n.g_Te(), + g = n.g_SZ(); + this.g_SV.set(t, g_jF.g_ky(i, e, r, g)); + } + } + }), + 'use strict', + (g_aO.g_SU = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_Tg = g), + (this.g_Th = _[0]), + (this.g_Ti = _[1]), + (this.g_Tj = _[2]), + (this.g_Tk = _[3]), + (this.g_Tl = _[4]), + (this.g_Tm = _[5]), + (this.g_Sk = _[6]), + (this.g_Sm = _[7]); + } + g_ek() { + this.g_Tg = null; + } + static g_sf(g, _) { + return g_aO.g_ej(g_aO.g_SU, g, _); + } + g_SZ() { + return this.g_Th; + } + g_Tb() { + return this.g_Ti; + } + g_Tc() { + return this.g_Tj; + } + g_Td() { + return this.g_Tk; + } + g_Te() { + return this.g_Tl; + } + g_Tf() { + return this.g_Tm; + } + g_Rh() { + return this.g_Sk; + } + g_Ri() { + return this.g_Sm; + } + }), + 'use strict', + (g_aO.g_Tn = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_Be = g), (this.g_To = []); + } + g_ek() { + for (const g of this.g_To) g.g_ek(); + g_aO.g_fz(this.g_To), (this.g_To = null); + } + g_sf(g) { + this.g_To.push(g_aO.g_SS.g_sf(g)); + } + }), + 'use strict', + (g_aO.g_Tp = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Tq = g), + (this.g_Tr = []), + this.g_Tr.push(g_aO.g_ej(g_aO.g_Ts, this)), + (this.g_Dr = 0), + (this.g_Tt = this.g_Tr[0]); + } + g_ek() { + for (const g of this.g_Tr) g.g_ek(); + g_aO.g_fz(this.g_Tr), (this.g_Tt = null), (this.g_Tq = null); + } + g_EA() { + return this.g_Tq; + } + g_Tu() { + return this.g_Tt; + } + g_js() { + this.g_Tu().g_js(); + } + g_Tv() { + const g = this.g_Tr, + _ = ++this.g_Dr; + if (_ === g.length) { + const _ = g_aO.g_ej(g_aO.g_Ts, this); + g.push(_), (this.g_Tt = _); + } else { + const e = g[_]; + e.g_lC(), (this.g_Tt = e); + } + } + g_Tw() { + const g = this.g_Tr, + _ = ++this.g_Dr; + _ === g.length && g.push(g_aO.g_ej(g_aO.g_Ts, this)); + const e = g[_]; + e.g_Tx(g[_ - 1]), (this.g_Tt = e); + } + g_Ty() { + this.g_Tt = this.g_Tr[--this.g_Dr]; + } + g_Tz(g) { + const _ = this.g_Tr; + for (let e = 0, a = _.length; e < a; ++e) _[e].g_Tz(g); + } + }), + 'use strict', + (g_aO.g_Ts = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Tr = g), + (this.g_Tq = this.g_Tr.g_EA()), + (this.g_TA = this.g_Tq.g_BI().g_TB()), + (this.g_TC = !0), + (this.g_CX = []), + (this.g_TD = []); + } + g_ek() { + this.g_TE(), (this.g_Tr = null), (this.g_Tq = null), (this.g_TA = null); + } + g_TE() { + g_aO.g_fz(this.g_CX), g_aO.g_fz(this.g_TD); + } + g_EA() { + return this.g_Tq; + } + g_TF() { + return this.g_TC; + } + g_TG() { + return this.g_TC ? !!this.g_Tq.g_EK() : !!this.g_CX.length; + } + g_H$() { + return this.g_TC ? this.g_Tq.g_H$() : this.g_CX; + } + g_TH() { + return !!this.g_TD.length; + } + g_TI() { + return this.g_TD; + } + g_TJ() { + const g = this.g_H$(); + return g.length ? g : this.g_TD; + } + g_lC() { + (this.g_TC = !0), g_aO.g_fz(this.g_TD); + } + g_js() { + this.g_TC = !0; + } + g_Tx(g) { + g.g_TF() + ? this.g_lC() + : ((this.g_TC = !1), g_aO.g_fD(this.g_CX, g.g_CX), g_aO.g_fz(this.g_TD)); + } + g_TK(g) { + this.g_CX.push(g); + } + g_TL(g) { + this.g_TD.push(g); + } + g_TM(g) { + this.g_TC = !!g; + } + g_TN() { + return this.g_CX; + } + g_TO() { + return this.g_TD; + } + g_TP(g) { + (this.g_TC = !1), g_aO.g_fz(this.g_CX), this.g_CX.push(g); + } + g_TQ(g) { + (this.g_TC = !1), g_aO.g_fD(this.g_CX, g); + } + g_TR(g) { + if (g) + if (this.g_TA.g_TU().g_TT().g_TS()) { + this.g_TF() && + (g_aO.g_fz(this.g_CX), g_aO.g_fD(this.g_TD, g.g_EA().g_H$()), (this.g_TC = !1)); + const _ = this.g_TD.indexOf(g); + -1 !== _ && (this.g_CX.push(this.g_TD[_]), this.g_TD.splice(_, 1)); + } else this.g_TP(g); + } + g_Tz(g) { + g_aO.g_fI(this.g_CX, g), g_aO.g_fI(this.g_TD, g); + } + }), + 'use strict', + (g_aO.g_TV = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_TW = g), + (this.g_Be = this.g_TW.g_BI()), + (this.g_Tr = []), + this.g_Tr.push(g_aO.g_ej(g_aO.g_TX, this, null)), + (this.g_Dr = 0), + (this.g_TY = []); + } + g_ek() { + for (const g of this.g_Tr) g.g_ek(); + g_aO.g_fz(this.g_Tr), g_aO.g_fz(this.g_TY), (this.g_TW = null), (this.g_Be = null); + } + g_ED() { + return this.g_TW; + } + g_BI() { + return this.g_Be; + } + g_TU() { + return this.g_Tr[this.g_Dr]; + } + g_TZ(g) { + const _ = this.g_Tr, + e = ++this.g_Dr; + if (e === _.length) { + const e = g_aO.g_ej(g_aO.g_TX, this, g); + return _.push(e), e; + } else { + const a = _[e]; + return a.g_lC(g), a; + } + } + g_Ty() { + --this.g_Dr; + } + g_T_(g) { + this.g_TY.push(g); + } + g_T$() { + this.g_TY.pop(); + } + g_Ua() { + const g = this.g_TY; + return 0 === g.length ? null : g[g.length - 1]; + } + }), + 'use strict', + (g_aO.g_TX = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_Tr = g), + (this.g_Be = this.g_Tr.g_BI()), + (this.g_Ub = _), + (this.g_Uc = 0), + (this.g_Ud = 0), + (this.g_Ue = !1), + (this.g_Uf = !1), + (this.g_Ug = null), + (this.g_Uh = 0), + (this.g_Ui = 0); + } + g_ek() { + this.g_lC(null), (this.g_Tr = null), (this.g_Be = null); + } + g_lC(g) { + (this.g_Ub = g), (this.g_Uc = 0), (this.g_Ud = 0), (this.g_Ue = !1), (this.g_Uf = !1); + } + g_Uj(g, _) { + (this.g_Ub = g), (this.g_Uc = 0), (this.g_Ud = _); + } + g_Uk() { + (this.g_Uc = 0), (this.g_Ud = 0); + } + g_TT() { + return this.g_Ub; + } + g_Ul(g) { + this.g_Ub = g; + } + g_Um() { + return this.g_Uc; + } + g_Un(g) { + this.g_Uc = g; + } + g_Uo() { + return this.g_Ud; + } + g_Up(g) { + this.g_Ud = g; + } + g_Uq(g) { + this.g_Ue = !!g; + } + g_Ur() { + return this.g_Ue; + } + g_Us(g) { + this.g_Uf = !!g; + } + g_Ut() { + return this.g_Uf; + } + g_Uu(g) { + this.g_Ug = g; + } + g_Uv() { + return this.g_Ug; + } + g_Uw(g, _) { + (this.g_Uh = g), (this.g_Ui = _); + } + g_Ux() { + return this.g_Uh; + } + g_Uy(g) { + this.g_Ui = g; + } + g_Uz() { + return this.g_Ui; + } + g_UA() { + const g = this.g_Ub; + return !!g.g_UB() || (!!(this.g_Uc < g.g_UC() - 1) && !!g.g_UD().length); + } + }), + 'use strict', + (g_aO.g_UE = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_TW = g), + (this.g_Be = this.g_TW.g_BI()), + (this.g_Tr = []), + (this.g_Dr = -1), + (this.g_Tt = null), + (this.g_UF = []); + } + g_ek() { + g_aO.g_fz(this.g_Tr), (this.g_TW = null), (this.g_Be = null); + } + g_UG(g) { + this.g_UF = g; + const _ = this.g_UF.slice(0); + this.g_Tr.push(_), (this.g_Dr = 0), (this.g_Tt = _); + } + g_ED() { + return this.g_TW; + } + g_BI() { + return this.g_Be; + } + g_UH() { + return this.g_Tt; + } + g_TZ() { + const g = ++this.g_Dr, + _ = this.g_Tr; + g === _.length ? _.push(this.g_UF.slice(0)) : g_aO.g_fD(_[g], this.g_UF), (this.g_Tt = _[g]); + } + g_Ty() { + this.g_Tt = this.g_Tr[--this.g_Dr]; + } + }), + 'use strict', + (g_aO.g_UI = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_TW = g), (this.g_Be = this.g_TW.g_BI()), (this.g_Tr = []), (this.g_Dr = -1); + } + g_ek() { + g_aO.g_fz(this.g_Tr), (this.g_TW = null), (this.g_Be = null); + } + g_ED() { + return this.g_TW; + } + g_BI() { + return this.g_Be; + } + g_UJ() { + return 0 <= this.g_Dr; + } + g_UH() { + return this.g_Tr[this.g_Dr]; + } + g_TZ() { + if ((++this.g_Dr, this.g_Dr === this.g_Tr.length)) { + const g = g_aO.g_ej(g_aO.g_UK, this); + return this.g_Tr.push(g), g; + } else { + const g = this.g_Tr[this.g_Dr]; + return g.g_lC(), g; + } + } + g_Ty() { + --this.g_Dr; + } + g_UL(g) { + const _ = this.g_Tr; + for (let e = this.g_Dr; 0 <= e; --e) { + const a = _[e]; + if (a.g_pY() === g) return a; + } + return null; + } + g_UM() { + return this.g_Tr.slice(0, this.g_Dr + 1); + } + }), + 'use strict', + (g_aO.g_UK = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_UN = g), + (this.g_en = ''), + (this.g_Dr = 0), + (this.g_UO = !1), + (this.g_UP = NaN); + } + g_lC() { + (this.g_en = ''), (this.g_Dr = 0), (this.g_UO = !1), (this.g_UP = NaN); + } + g_LX(g) { + this.g_en = g; + } + g_pY() { + return this.g_en; + } + g_UQ(g) { + this.g_Dr = g; + } + g_EM() { + return this.g_Dr; + } + g_Kg() { + this.g_UO = !0; + } + g_UR() { + return this.g_UO; + } + g_US(g) { + this.g_UP = g; + } + g_UT() { + return this.g_UP; + } + }), + 'use strict', + (g_aO.g_UU = class extends g_aO.g_eh { + constructor() { + super(), (this.g_Tr = []), (this.g_Dr = -1); + } + g_ek() { + g_aO.g_fz(this.g_Tr); + } + g_UH() { + return this.g_Tr[this.g_Dr]; + } + g_TZ() { + if ((++this.g_Dr, this.g_Dr === this.g_Tr.length)) { + const g = []; + return this.g_Tr.push(g), g; + } + return this.g_Tr[this.g_Dr]; + } + g_Ty() { + --this.g_Dr; + } + }), + 'use strict'; +{ + function g(g, _) { + return g.g_EM() - _.g_EM(); + } + function _(g, _) { + for (let e = 0, a = g.length; e < a; ++e) if (g[e] !== _[e]) return !1; + return !0; + } + g_aO.g_UV = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_UW = []), + (this.g_UX = new Map()), + (this.g_UY = []), + (this.g_UZ = new Map()), + (this.g_U_ = new Map()), + (this.g_U$ = new Map()), + (this.g_Va = new Map()), + (this.g_Vb = new Map()), + (this.g_Vc = new Map()), + (this.g_Vd = 0), + (this.g_Ve = []), + (this.g_Vf = []), + (this.g_Vg = []), + (this.g_Vh = new Map()), + (this.g_TA = g_aO.g_ej(g_aO.g_TV, this)), + (this.g_Vi = g_aO.g_ej(g_aO.g_UE, this)), + (this.g_UN = g_aO.g_ej(g_aO.g_UI, this)), + (this.g_Vj = []), + (this.g_Vk = []), + (this.g_Vl = []), + (this.g_Vm = 0), + (this.g_Vn = 0), + (this.g_Vo = 0), + (this.g_Vp = []), + (this.g_Vq = []), + (self.c3_callFunction = (g, _) => this.g_Vr(g, _)); + } + g_ek() { + this.g_Io(), + this.g_TA.g_ek(), + (this.g_TA = null), + this.g_Vi.g_ek(), + (this.g_Vi = null), + g_aO.g_fz(this.g_Vk), + g_aO.g_fz(this.g_Vl), + (this.g_Be = null), + g_aO.g_fz(this.g_UW), + this.g_UX.clear(); + } + g_sf(g) { + const _ = g_aO.g_ej(g_aO.g_Vs, this, g); + this.g_UW.push(_), this.g_UX.set(_.g_pY().toLowerCase(), _); + } + g_Vt(g) { + this.g_Vj.push(g); + } + g_Vu() { + for (const g of this.g_Vh.values()) g.g_Vu(!1); + for (const g of this.g_UW) g.g_Vu(); + for (const g of this.g_UW) g.g_HI(); + for (const g of this.g_Vj) g.g_Vu(!1); + g_aO.g_fz(this.g_Vj), this.g_Vi.g_UG(this.g_Vg); + } + g_BI() { + return this.g_Be; + } + g_HH(g) { + return this.g_UX.get(g.toLowerCase()) || null; + } + g_Vv(g) { + this.g_UY.push(g), this.g_UZ.set(g.g_Vw(), g); + } + g_Vx(g) { + this.g_U_.set(g.g_EN(), g); + } + g_Vy(g) { + this.g_U$.set(g.g_EN(), g); + } + g_Vz(g) { + this.g_Va.set(g.g_EN(), g); + } + g_VA(g) { + this.g_Vh.set(g.g_VB().toLowerCase(), g); + } + g_VC(g) { + this.g_Vc.set(g.g_EN(), g), g.g_Eh() ? this.g_Ve.push(g) : this.g_Vf.push(g); + } + g_VD(t) { + 2 <= t.length && t.sort(g); + let n = this.g_Vb.get(t.length); + n || ((n = []), this.g_Vb.set(t.length, n)); + for (let g = 0, a = n.length; g < a; ++g) { + const a = n[g]; + if (_(t, a)) return a; + } + return n.push(t), t; + } + g_VE(g) { + return this.g_Vg.push(g.g_VF()), this.g_Vd++; + } + g_TB() { + return this.g_TA; + } + g_VG() { + return this.g_TB().g_TU(); + } + g_TT() { + return this.g_VG().g_TT(); + } + g_VH() { + const g = this.g_VG(), + _ = g.g_TT(); + return _.g_VI(g.g_Um()); + } + g_VJ() { + const g = this.g_VG(), + _ = g.g_TT(); + return _.g_VK(g.g_Uo()); + } + g_VL() { + return this.g_Vi; + } + g_VM() { + return this.g_UN; + } + g_VN(g, _) { + for (_ = _.g_VO(); _; ) { + const e = _.g_VP(g); + if (e) return e; + _ = _.g_VO(); + } + for (const e of this.g_Ve) if (g_aO.g_dB(g, e.g_pY())) return e; + return null; + } + g_VQ(g) { + const _ = []; + for (g = g.g_VO(); g; ) g_aO.g_ee(_, g.g_VR()), (g = g.g_VO()); + return _; + } + g_VS(g) { + const _ = {}; + for (const e of this.g_VQ(g)) _[e.g_VT()] = e.g_VU(); + return Object.create(Object.prototype, _); + } + g_VV(g) { + return this.g_Vc.get(g) || null; + } + g_VW(g) { + return this.g_U_.get(g) || null; + } + g_VX(g) { + return this.g_U$.get(g) || null; + } + g_VY(g) { + return this.g_Va.get(g) || null; + } + g_VZ(g) { + return this.g_Vh.get(g.toLowerCase()) || null; + } + g_V_() { + return this.g_Ve; + } + g_V$() { + return this.g_Vf; + } + g_Wa() { + for (const g of this.g_Ve) g.g_Wb(); + } + g_Wc(g) { + return this.g_UZ.get(g.toLowerCase()) || null; + } + g_Wd(g) { + const _ = this.g_U_.get(g); + return _ && _.g_We() ? _ : null; + } + g_Wf() { + return this.g_UY; + } + g_Wg() { + for (const g of this.g_UY) g.g_Wh(); + } + g_Wi() { + for (const g of this.g_UW) g.g_Wj(); + } + g_Wk(g) { + this.g_Wi(), this.g_Vm++; + for (const _ of g.g_IY()) { + const g = _.g_Hl(); + g && (this.g_Be.g_Wl(_), g.g_vz(), this.g_Be.g_Wm()); + } + this.g_Vm--; + } + async g_Wn(g) { + this.g_Wi(), this.g_Vm++; + for (const _ of this.g_Wo(g)) await this.g_Be.g_Wp(_); + this.g_Vm--; + } + *g_Wo(g) { + for (const _ of g.g_IY()) { + const g = _.g_Hl(); + g && (this.g_Be.g_Wl(_), yield* g.g_Wq(), this.g_Be.g_Wm()); + } + } + g_Wr(g, _, t, n) { + let i = !1; + if (!g.g_Is()) return this.g_Ws(_, t, n); + this.g_Vn++; + for (const e of g.g_IY()) { + const r = e.g_Hl(); + if (!r) continue; + this.g_Be.g_Wl(e); + for (const g of r.g_Wt()) { + const e = g.g_Wr(_, t, n); + i = i || e; + } + const a = r.g_Wr(_, t, n); + (i = i || a), this.g_Be.g_Wm(); + } + return this.g_Vn--, i; + } + *g_Wu(g, _, t, n) { + let i = !1; + if (!g.g_Is()) return this.g_Ws(_, t, n); + this.g_Vn++; + for (const e of g.g_IY()) { + const r = e.g_Hl(); + if (!r) continue; + this.g_Be.g_Wl(e); + for (const g of r.g_Wt()) { + const e = yield* g.g_Wu(_, t, n); + i = i || e; + } + const a = yield* r.g_Wu(_, t, n); + (i = i || a), this.g_Be.g_Wm(); + } + return this.g_Vn--, i; + } + g_Ws(g, _, e) { + return this.g_Vk.push([g, _, e]), !1; + } + g_Wv(g, _, a) { + let t = null; + const n = new Promise((g) => (t = g)); + return this.g_Vl.push([g, _, a, t]), n; + } + *g_Ww() { + if (this.g_Be.g_Wx()) throw new Error('should not be in breakpoint'); + for (const g = this.g_Be.g_Wy(); this.g_Vl.length; ) { + const [_, a, t, n] = this.g_Vl.shift(), + e = yield* this.g_Wu(g, _, a, t); + n(e); + } + } + async g_Wz() { + for (const g of this.g_Ww()) await this.g_Be.g_Wp(g); + } + g_WA(_, t, n, i) { + let r = !1; + const s = _.g_Is(), + d = s.g_Hl(); + if (d) { + this.g_Vn++, this.g_Be.g_Wl(s); + const _ = d.g_Wt(); + for (let e = 0, a = _.length; e < a; ++e) { + const a = _[e].g_WA(t, n, i); + r = r || a; + } + const g = d.g_WA(t, n, i); + return (r = r || g), this.g_Be.g_Wm(), this.g_Vn--, r; + } + } + *g_WB(_, t, n, i) { + let r = !1; + const s = _.g_Is(), + d = s.g_Hl(); + if (d) { + this.g_Vn++, this.g_Be.g_Wl(s); + const _ = d.g_Wt(); + for (let e = 0, a = _.length; e < a; ++e) { + const a = yield* _[e].g_WB(t, n, i); + r = r || a; + } + const g = yield* d.g_WB(t, n, i); + return (r = r || g), this.g_Be.g_Wm(), this.g_Vn--, r; + } + } + g_WC() { + return this.g_Vn; + } + g_WD() { + return 0 < this.g_WC(); + } + g_WE() { + return ++this.g_Vn; + } + g_WF() { + --this.g_Vn; + } + g_WG() { + return 0 < this.g_Vm; + } + g_ID() { + return this.g_WG() || this.g_WD(); + } + g_HZ(g) { + for (const [_, e, a] of this.g_Vk) this.g_Wr(g, _, e, a); + g_aO.g_fz(this.g_Vk); + } + g_EH(g) { + g ? this.g_Vo++ : this.g_Vo--; + } + g_WH() { + return 0 < this.g_Vo; + } + g_WI(g) { + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_WJ().g_js(); + } + g_WK(g) { + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_WJ().g_Tv(); + } + g_WL(g) { + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_WJ().g_Tw(); + } + g_WM(g) { + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_WJ().g_Ty(); + } + g_WN() { + const g = g_aO.g_ej(g_aO.g_WO, this); + return this.g_Vp.push(g), g; + } + g_WP() { + return this.g_Vp; + } + g_WQ() { + if (!this.g_Vp.length) return; + const g = this.g_VG(); + let _ = !1; + this.g_Vm++; + for (let e = 0, a = this.g_Vp.length; e < a; ++e) { + const a = this.g_Vp[e]; + a.g_WR() && a.g_WS(g), a.g_WT() && (_ = !0); + } + _ && this.g_WU(), this.g_Vm--; + } + async g_WV() { + if (!this.g_Vp.length) return; + const g = this.g_VG(); + let _ = !1; + this.g_Vm++; + for (let e = 0, a = this.g_Vp.length; e < a; ++e) { + const a = this.g_Vp[e]; + a.g_WR() && (await a.g_WW(g)), a.g_WT() && (_ = !0); + } + _ && this.g_WU(), this.g_Vm--; + } + g_WU() { + const g = g_aO.g_fH(this.g_Vp, (g) => g.g_WT()); + for (const _ of g) _.g_ek(); + } + g_Io() { + for (const g of this.g_Vp) g.g_ek(); + g_aO.g_fz(this.g_Vp); + } + g_WX(g) { + for (const _ of this.g_Vp) _.g_Tz(g); + } + g_WY(g) { + this.g_Vq.push(g); + } + g_WZ() { + g_aO.g_fz(this.g_Vq); + } + g_W_() { + const g = Promise.all(this.g_Vq); + return (this.g_Vq = []), g; + } + g_GG() { + return { + groups: this.g_W$(), + cnds: this.g_Xa(), + acts: this.g_Xb(), + vars: this.g_Xc(), + waits: this.g_Xd() + }; + } + g_GI(g) { + this.g_Xe(g.groups), + this.g_Xf(g.cnds), + this.g_Xg(g.acts), + this.g_Xh(g.vars), + this.g_Xi(g.waits); + } + g_W$() { + const g = {}; + for (const _ of this.g_Wf()) g[_.g_EN().toString()] = _.g_Xj(); + return g; + } + g_Xe(g) { + for (const [_, e] of Object.entries(g)) { + const g = parseInt(_, 10), + a = this.g_Wd(g); + a && a.g_Xk(e); + } + } + g_Xa() { + const g = {}; + for (const [_, e] of this.g_U$) { + const a = e.g_GG(); + a && (g[_.toString()] = a); + } + return g; + } + g_Xf(g) { + for (const [_, e] of Object.entries(g)) { + const g = parseInt(_, 10), + a = this.g_VX(g); + a && a.g_GI(e); + } + } + g_Xb() { + const g = {}; + for (const [_, e] of this.g_Va) { + const a = e.g_GG(); + a && (g[_.toString()] = a); + } + return g; + } + g_Xg(g) { + for (const [_, e] of Object.entries(g)) { + const g = parseInt(_, 10), + a = this.g_VY(g); + a && a.g_GI(e); + } + } + g_Xc() { + const g = {}; + for (const [_, e] of this.g_Vc) + !e.g_Xl() && (e.g_Eh() || e.g_rt()) && (g[_.toString()] = e.g_Pc()); + return g; + } + g_Xh(g) { + for (const [_, e] of Object.entries(g)) { + const g = parseInt(_, 10), + a = this.g_VV(g); + a && a.g_PF(e); + } + } + g_Xd() { + return this.g_Vp.filter((g) => !g.g_Xm()).map((g) => g.g_GG()); + } + g_Xi(g) { + this.g_Io(); + for (const _ of g) { + const g = g_aO.g_WO.g_Xn(this, _); + g && this.g_Vp.push(g); + } + } + g_Xo() { + return [...this.g_Be.g_Wy().g_IY()] + .map((g) => g.g_Hl()) + .filter((g) => g) + .map((g) => g.g_Xp()); + } + g_Xq(g) { + for (; g; ) { + const _ = g.g_VO(); + if (_ instanceof g_aO.g_Xr) return _; + g = g.g_Xs(); + } + return null; + } + g_Vr(g, _) { + Array.isArray(_) || (_ = []); + const a = this.g_VZ(g.toLowerCase()); + if (!a) return null; + if (!a.g_jp()) return a.g_Xt(); + const t = a.g_Xu(); + if (_.length < t.length) { + _ = _.slice(0); + do _.push(t[_.length].g_VF()); + while (_.length < t.length); + } + const n = a.g_Xv(); + return n.g_Xw(n.g_Xx(), a.g_Xy(), a.g_Xt(), ..._); + } + }; +} +'use strict', + (g_aO.g_Vs = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_TW = g), + (this.g_Be = g.g_BI()), + (this.g_en = _[0]), + (this.g_Xz = []), + (this.g_XA = new Map()), + (this.g_XB = new Map()), + (this.g_XC = new Map()), + (this.g_XD = !1), + (this.g_XE = []), + (this.g_XF = []), + (this.g_XG = new Set()); + for (const e of _[1]) this.g_XH(e, null, this.g_Xz); + this.g_XI = this.g_Be.g_IC() + ? { type: 'sheet', name: this.g_en, g_XJ: 0, children: [] } + : null; + } + g_ek() { + (this.g_TW = null), (this.g_Be = null); + } + g_XH(g, _, e) { + switch (g[0]) { + case 0: + case 3: + this.g_XK(g, _, e); + break; + case 1: + this.g_XL(g, _, e); + break; + case 2: + this.g_XM(g, _, e); + break; + case 4: + this.g_XN(g, _); + break; + case 5: + this.g_XO(g, _, e); + break; + default: + throw new Error('invalid event type'); + } + } + g_XK(g, _, e) { + const t = g_aO.g_XP.g_sf(this, _, g); + if (t.g_TS()) { + e.push(t); + const g = t.g_XQ(); + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_XR() && this.g_XS(t, _); + } else t.g_XR() ? this.g_XS(t, 0) : e.push(t); + } + g_XN(g, _) { + const e = g_aO.g_Xr.g_sf(this, _, g); + this.g_TW.g_VA(e); + } + g_XL(g, _, e) { + const a = g_aO.g_XT.g_sf(this, _, g); + e.push(a); + } + g_XM(g, _, e) { + const a = g_aO.g_XU.g_sf(this, _, g); + e.push(a); + } + g_XO(g, _, e) { + const a = g_aO.g_XV.g_sf(this, _, g); + e.push(a); + } + g_XS(_, a) { + _.g_TS() || this.g_TW.g_Vt(_); + const t = _.g_VI(a), + n = t.g_XW(), + r = t.g_EA(); + if (t.g_XX()) { + let e = this.g_XB.get(r); + e || ((e = new Map()), this.g_XB.set(r, e)); + const s = t.g_XY().toLowerCase(); + let g = e.get(n); + g || ((g = new Map()), e.set(n, g)); + let d = g.get(s); + d || ((d = []), g.set(s, d)), d.push([_, a]); + } else { + let e = this.g_XA.get(r); + e || ((e = { g_XZ: new Map(), g_X_: new Map() }), this.g_XA.set(r, e)); + const s = t.g_NZ(); + let g; + s ? ((g = e.g_X_.get(s)), !g && ((g = new Map()), e.g_X_.set(s, g))) : (g = e.g_XZ); + let d = g.get(n); + d || ((d = []), g.set(n, d)), d.push([_, a]); + } + } + g_Vu() { + const g = this.g_Xz; + for (let _ = 0, e = g.length; _ < e; ++_) { + const a = _ < e - 1 && g[_ + 1] instanceof g_aO.g_XP && g[_ + 1].g_X$(); + g[_].g_Vu(a); + } + } + g_Ya(g) { + this.g_XE.push(g); + } + g_HI() { + g_aO.g_fz(this.g_XF), this.g_Yb(this), this.g_XG.clear(); + } + g_Yb(g) { + const _ = g.g_XF, + a = g.g_XG; + for (const t of this.g_XE) { + const n = t.g_Yc(); + !t.g_Yd() || g === n || a.has(n) || (a.add(n), n.g_Yb(g), _.push(n)); + } + } + g_Wt() { + return this.g_XF; + } + g_ED() { + return this.g_TW; + } + g_BI() { + return this.g_Be; + } + g_pY() { + return this.g_en; + } + g_Ye(g, _) { + this.g_XC.set(_, g); + } + g_Yf(g) { + return this.g_XC.get(g) || null; + } + g_Wj() { + this.g_XD = !1; + } + g_vz() { + if (!this.g_XD) { + const g = this.g_Be, + _ = g.g_Yg(), + e = _ ? performance.now() : 0; + this.g_XD = !0; + const a = this.g_ED(), + t = a.g_VG(); + for (const _ of this.g_Xz) _.g_vz(t), a.g_WI(_.g_UD()), a.g_WZ(), g.g_Ej(); + t.g_lC(null), _ && (this.g_XI.g_XJ += performance.now() - e); + } + } + *g_Wq() { + if (!this.g_XD) { + this.g_XD = !0; + const g = this.g_Be, + _ = this.g_ED(), + e = _.g_VG(); + for (const a of this.g_Xz) yield* a.g_Wq(e), _.g_WI(a.g_UD()), _.g_WZ(), g.g_Ej(); + e.g_lC(null); + } + } + g_Wr(_, a, t) { + if (a) { + const n = a.g_EA(); + let i = !1, + e = this.g_Yh(_, a, n, t); + i = i || e; + for (const r of n.g_Yi()) (e = this.g_Yh(_, a, r, t)), (i = i || e); + } else return this.g_Yh(_, a, null, null); + } + g_Yh(_, t, a, n) { + const i = this.g_XA.get(a); + if (!i) return !1; + const e = n ? i.g_X_.get(n) : i.g_XZ; + if (!e) return !1; + const r = e.get(_); + if (!r) return !1; + let g = !1; + for (const [i, e] of r) { + const _ = this.g_Yj(t, i, e); + g = g || _; + } + return g; + } + *g_Wu(_, a, t) { + if (a) { + const n = a.g_EA(); + let i = !1, + e = yield* this.g_Yk(_, a, n, t); + i = i || e; + for (const r of n.g_Yi()) (e = yield* this.g_Yk(_, a, r, t)), (i = i || e); + } else return yield* this.g_Yk(_, a, null, null); + } + *g_Yk(_, t, a, n) { + const i = this.g_XA.get(a); + if (!i) return !1; + const e = n ? i.g_X_.get(n) : i.g_XZ; + if (!e) return !1; + const r = e.get(_); + if (!r) return !1; + let g = !1; + for (const [i, e] of r) { + let _; + (_ = i.g_Yl() ? this.g_Yj(t, i, e) : yield* this.g_Ym(t, i, e)), (g = g || _); + } + return g; + } + g_WA(_, a, t) { + const n = a.g_EA(), + i = this.g_XB.get(n); + if (!i) return !1; + const e = i.get(_); + if (!e) return !1; + const r = e.get(t); + if (!r) return !1; + let g = !1; + for (let n = 0, i = r.length; n < i; ++n) { + const _ = r[n], + e = this.g_Yj(null, _[0], _[1]); + g = g || e; + } + return g; + } + *g_WB(_, a, t) { + const n = a.g_EA(), + i = this.g_XB.get(n); + if (!i) return !1; + const e = i.get(_); + if (!e) return !1; + const r = e.get(t); + if (!r) return !1; + let g = !1; + for (let n = 0, i = r.length; n < i; ++n) { + const _ = r[n], + a = _[0], + t = _[1]; + let i; + (i = a.g_Yl() ? this.g_Yj(null, a, t) : yield* this.g_Ym(null, a, t)), (g = g || i); + } + return g; + } + g_Yj(_, t, a) { + const n = this.g_Be, + r = this.g_TW, + e = r.g_TT(), + s = r.g_TB(), + g = r.g_WC(); + let d = !1; + e && r.g_WK(e.g_Xx()), r.g_WK(t.g_Xx()); + const o = 1 < g; + o && r.g_VL().g_TZ(); + const u = s.g_TZ(t); + if (_) { + const g = t.g_XQ()[a].g_EA(), + n = g.g_Tu(); + n.g_TP(_), _.g_EJ() && _.g_Yn(); + } + let p = !0; + if (t.g_Xs()) { + const g = t.g_Yo(); + for (let _ = 0, e = g.length; _ < e; ++_) + if (!g[_].g_Yp(u)) { + p = !1; + break; + } + } + return ( + p && (n.g_Yq(), t.g_TS() ? t.g_Yr(u, a) : t.g_vz(u), (d = u.g_Ur())), + s.g_Ty(), + o && r.g_VL().g_Ty(), + r.g_WM(t.g_Xx()), + e && r.g_WM(e.g_Xx()), + e || 1 !== g || r.g_WH() || n.g_Ej(), + d + ); + } + *g_Ym(_, t, a) { + const n = this.g_Be, + r = this.g_TW, + e = r.g_TT(), + s = r.g_TB(), + g = r.g_WC(); + let d = !1; + e && r.g_WK(e.g_Xx()), r.g_WK(t.g_Xx()); + const o = 1 < g; + o && r.g_VL().g_TZ(); + const u = s.g_TZ(t); + if (_) { + const g = t.g_XQ()[a].g_EA(), + n = g.g_Tu(); + n.g_TP(_), _.g_EJ() && _.g_Yn(); + } + let p = !0; + if (t.g_Xs()) { + const g = t.g_Yo(); + for (let _ = 0, e = g.length; _ < e; ++_) + if (!(yield* g[_].g_Ys(u))) { + p = !1; + break; + } + } + return ( + p && (n.g_Yq(), t.g_TS() ? yield* t.g_Yt(u, a) : yield* t.g_Wq(u), (d = u.g_Ur())), + s.g_Ty(), + o && r.g_VL().g_Ty(), + r.g_WM(t.g_Xx()), + e && r.g_WM(e.g_Xx()), + e || 1 !== g || r.g_WH() || n.g_Ej(), + d + ); + } + g_Xp() { + return this.g_XI; + } + }), + 'use strict'; +{ + function _() { + return !0; + } + function* a() { + return !0; + } + const t = []; + g_aO.g_XP = class extends g_aO.g_eh { + constructor(n, i, e) { + super(), + (this.g_GR = n), + (this.g_Be = n.g_BI()), + (this.g_Yu = i), + (this.g_Yv = null), + (this.g_TA = this.g_Be.g_ED().g_TB()), + (this.g_Yw = []), + (this.g_Yx = []), + (this.g_Yy = !1), + (this.g_Yz = !1), + (this.g_YA = !1), + (this.g_YB = !1), + (this.g_YC = !!e[2]), + (this.g_YD = !1), + (this.g_YE = null), + (this.g_YF = []), + (this.g_YG = []), + (this.g_YH = []), + (this.g_YI = _), + (this.g_YJ = a), + (this.g_YK = !1), + (this.g_YL = !1), + (this.g_YM = ''), + (this.g_YN = !1), + (this.g_YO = null), + (this.g_XI = null), + (this.g_Ds = e[4]), + (this.g_YP = e[5]), + this.g_GR.g_Ye(this, this.g_YP), + (this.g_YQ = this.g_Be.g_IC() + ? { g_YR: e[3][0], g_YS: e[3][1], g_YT: !1, g_YU: !1, g_YV: !1, g_YW: !1 } + : null), + this.g_ED().g_Vx(this), + 3 === e[0] && this.g_YX(e[1]); + let r = 0; + for (const g of e[6]) { + const _ = g_aO.g_YY.g_sf(this, g, r++); + this.g_YF.push(_), this.g_YZ(_.g_EA()); + } + r = 0; + for (const g of e[7]) { + const _ = g_aO.g_Y_.g_sf(this, g, r++); + this.g_YG.push(_); + } + if (9 === e.length) { + const g = e[8]; + for (const _ of g) this.g_GR.g_XH(_, this, this.g_YH); + } + this.g_YF.length && + (this.g_YD = + null === this.g_YF[0].g_EA() && this.g_YF[0].g_XW() === g_aO.g_HY.g_HX.g_HW.g_Y$), + 0 === this.g_YF.length && (this.g_YF = t), + 0 === this.g_YG.length && (this.g_YG = t), + 0 === this.g_YH.length && (this.g_YH = t); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_XP, g, _, e); + } + g_YX(g) { + (this.g_YK = !0), + (this.g_YL = !!g[0]), + (this.g_YN = this.g_YL), + (this.g_YM = g[1].toLowerCase()), + (this.g_YO = []), + this.g_ED().g_Vv(this), + this.g_Be.g_IC() && (this.g_XI = { type: 'group', name: g[1], g_XJ: 0, children: [] }); + } + g_Za(g) { + this.g_YO.push(g); + } + g_Zb(g, _) { + for (const e of g.g_Hu().g_Ie()) _.includes(e) || _.push(e); + } + g_Zc(g, _) { + if (g) + if ((_.includes(g) || _.push(g), g.g_EF())) + for (const e of g.g_Zd()) e.g_EJ() && this.g_Zb(e, _); + else g.g_EJ() && this.g_Zb(g, _); + } + g_YZ(g) { + this.g_Zc(g, this.g_Yw); + } + g_Ze(g) { + this.g_Zc(g, this.g_Yx); + } + g_Zf() { + this.g_Yw = this.g_Be.g_EE(); + } + g_Vu(g) { + (this.g_YB = !!g), this.g_Zg(), this.g_Zh(); + for (const _ of this.g_YF) _.g_Vu(); + if (0 < this.g_YG.length) { + let g = !1; + for (const _ of this.g_YG) _.g_Vu(), _.g_Zi() && (g = !0); + g + ? ((this.g_YI = this.g_Zj), (this.g_YJ = this.g_Zk)) + : ((this.g_YI = this.g_Zl), (this.g_YJ = this.g_Zm)); + } + const _ = this.g_YH; + for (let e = 0, t = _.length; e < t; ++e) { + const g = e < t - 1 && _[e + 1] instanceof g_aO.g_XP && _[e + 1].g_X$(); + _[e].g_Vu(g); + } + this.g_YQ && this.g_Zn(), this.g_XI && this.g_Zo().g_Xp().children.push(this.g_XI); + } + g_Xp() { + return this.g_XI; + } + g_Zo() { + for (let g = this.g_Xs(); g; ) { + if (g.g_We()) return g; + g = g.g_Xs(); + } + return this.g_GR; + } + g_Zn() { + const g = this.g_YQ; + (g.g_YT = this.g_YF.every((g) => g.g_Yl())), + (g.g_YU = this.g_YG.every((g) => g.g_Yl())), + (g.g_YV = this.g_YH.every((g) => g.g_Yl())), + (g.g_YW = g.g_YT && g.g_YU && g.g_YV); + } + g_Zp() { + let g = this; + do g.g_Zn(), (g = g.g_Xs()); + while (g); + } + g_Zg() { + if (!this.g_We()) return; + let g = this.g_Xs(); + for (this.g_YA = !0; g; ) { + if (!g.g_We()) { + this.g_YA = !1; + break; + } + g = g.g_Xs(); + } + } + g_Zq() { + const g = this.g_Be.g_EE(); + if (this.g_Yw === g) this.g_Yx = g; + else { + this.g_Yx = g_aO.g_fL(this.g_Yw); + for (let g = this.g_Xs(); g; ) { + for (const _ of g.g_Yw) this.g_Ze(_); + g = g.g_Xs(); + } + const g = this.g_ED(); + (this.g_Yw = g.g_VD(this.g_Yw)), (this.g_Yx = g.g_VD(this.g_Yx)); + } + } + g_Zh() { + if (this.g_Zr()) { + this.g_YE = []; + for (let g = this.g_Xs(); g; ) this.g_YE.push(g), (g = g.g_Xs()); + this.g_YE.reverse(); + } + } + g_Zs() { + (this.g_Yz = !0), this.g_Yu && this.g_Yu.g_Zs(); + } + g_UB() { + return this.g_Yz; + } + g_UD() { + return this.g_Yw; + } + g_Xx() { + return this.g_Yy || ((this.g_Yy = !0), this.g_Zq()), this.g_Yx; + } + g_Zt(g) { + return this.g_Yw.includes(g); + } + g_Yo() { + return this.g_YE; + } + g_Hl() { + return this.g_GR; + } + g_ED() { + return this.g_GR.g_ED(); + } + g_BI() { + return this.g_Be; + } + g_Xs() { + return this.g_Yu; + } + g_Zu(g) { + this.g_Yv = g; + } + g_VO() { + return this.g_Yv || this.g_Yu; + } + g_Zv() { + return this.g_YP; + } + g_Zw() { + return this.g_YQ && this.g_YQ.g_YS; + } + g_Zx() { + return this.g_Zw() && this.g_YQ.g_YR; + } + g_Zy(g) { + (this.g_YQ.g_YR = !!g), this.g_Zp(); + } + g_We() { + return this.g_YK; + } + g_Zz() { + return this.g_YA; + } + g_X$() { + return this.g_YD; + } + g_ZA() { + return this.g_YB; + } + g_Vw() { + return this.g_YM; + } + g_Xj() { + return this.g_YN; + } + g_Wh() { + this.g_Xk(this.g_YL); + } + g_Xk(g) { + if (((g = !!g), !this.g_YK)) throw new Error('not a group'); + if (this.g_YN !== g) { + this.g_YN = g; + for (const g of this.g_YO) g.g_ZB(); + if (this.g_YO.length) { + const g = this.g_Be.g_ZC(), + _ = g.g_Hl(); + _ && _.g_HI(); + } + } + } + g_EN() { + return this.g_Ds; + } + g_TS() { + return this.g_YC; + } + g_XR() { + return this.g_YF.length && this.g_YF[0].g_XR(); + } + g_ZD() { + return this.g_Yv && this.g_Yv instanceof g_aO.g_Xr; + } + g_Zr() { + return this.g_ZD() || this.g_YF.some((g) => g.g_XR()); + } + g_XQ() { + return this.g_YF; + } + g_UC() { + return this.g_YF.length; + } + g_VI(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_YF.length)) + throw new RangeError('invalid condition index'); + return this.g_YF[g]; + } + g_ZE(g) { + return this.g_VI(g); + } + g_ZF(g) { + let _ = g.g_EM(); + if (0 === _) return !0; + for (--_; 0 <= _; --_) if (this.g_YF[_].g_EA() === g.g_EA()) return !1; + return !0; + } + g_ZG() { + return this.g_YG; + } + g_ZH() { + return this.g_YG.length; + } + g_VK(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_YG.length)) + throw new RangeError('invalid action index'); + return this.g_YG[g]; + } + g_ZI(g) { + g = Math.floor(g); + const _ = this.g_YG.find((_) => _.g_ZJ() === g); + if (!_) throw new RangeError('invalid action debug index'); + return _; + } + g_ZK(g) { + return (g = Math.floor(g)), 0 <= g && g < this.g_YG.length; + } + g_ZL() { + return this.g_YH; + } + g_VP(g) { + for (const _ of this.g_YH) if (_ instanceof g_aO.g_XT && g_aO.g_dB(g, _.g_pY())) return _; + return null; + } + g_VR() { + return this.g_YH.filter((g) => g instanceof g_aO.g_XT); + } + g_Yp(g) { + g.g_Ul(this); + let _ = !1; + const a = this.g_YF; + for (let t = 0, e = a.length; t < e; ++t) { + const e = a[t]; + if ((g.g_Un(t), e.g_ZM())) throw new Error('trigger cannot be used as sub-event to a loop'); + if (e.g_vz()) _ = !0; + else if (!this.g_YC) return !1; + } + return !this.g_YC || _; + } + g_Yr(g, _) { + g.g_Ul(this), this.g_YF[_].g_vz() && (this.g_YI(g, 0) && this.g_ZN(g), g.g_Uq(!0)); + } + *g_Ys(g) { + g.g_Ul(this); + let _ = !1; + const a = this.g_YF; + for (let t = 0, e = a.length; t < e; ++t) { + const e = a[t]; + if ((g.g_Un(t), e.g_ZM())) throw new Error('trigger cannot be used as sub-event to a loop'); + let n; + if (((n = e.g_Yl() ? e.g_vz() : yield* e.g_Wq()), n)) _ = !0; + else if (!this.g_YC) return !1; + } + return !this.g_YC || _; + } + *g_Yt(g, _) { + g.g_Ul(this); + const e = this.g_YF[_]; + let a; + if (((a = e.g_Yl() ? e.g_vz() : yield* e.g_Wq()), a)) { + let _; + (_ = this.g_ZO() ? this.g_YI(g, 0) : yield* this.g_YJ(g, 0)), + _ && (this.g_ZP() ? this.g_ZN() : yield* this.g_ZQ()), + g.g_Uq(!0); + } + } + g_vz(g) { + g.g_Ul(this), this.g_YD || g.g_Us(!1), this.g_YC ? this.g_ZR(g) : this.g_ZS(g); + } + *g_Wq(g) { + (this.g_Zx() || this.g_Be.g_ZT()) && (yield this), + g.g_Ul(this), + this.g_YD || g.g_Us(!1), + this.g_YC ? yield* this.g_ZU(g) : yield* this.g_ZV(g); + } + g_ZR(g) { + const _ = this.g_YF; + let a = 0 === _.length; + for (let t = 0, e = _.length; t < e; ++t) { + const e = _[t]; + if (e.g_XR()) continue; + g.g_Un(t); + const n = e.g_vz(); + a = a || n; + } + g.g_Uq(a), a && (this.g_YI(g, 0) && this.g_ZN(g), this.g_YB && g.g_Us(!0)); + } + *g_ZU(g) { + const _ = this.g_YF; + let a = 0 === _.length; + for (let t = 0, e = _.length; t < e; ++t) { + const e = _[t]; + if (e.g_XR()) continue; + g.g_Un(t); + let n; + (n = e.g_Yl() ? e.g_vz() : yield* e.g_Wq()), (a = a || n); + } + if ((g.g_Uq(a), a)) { + let _; + (_ = this.g_ZO() ? this.g_YI(g, 0) : yield* this.g_YJ(g, 0)), + _ && (this.g_ZP() ? this.g_ZN() : yield* this.g_ZQ()), + this.g_YB && g.g_Us(!0); + } + } + g_ZS(g) { + const _ = this.g_YF; + for (let a = 0, e = _.length; a < e; ++a) { + const t = _[a]; + g.g_Un(a); + const e = t.g_vz(); + if (!e) return void g.g_Uq(!1); + } + g.g_Uq(!0), this.g_YI(g, 0) && this.g_ZN(g), g.g_Ur() && this.g_YB && g.g_Us(!0); + } + *g_ZV(g) { + const _ = this.g_YF; + for (let a = 0, e = _.length; a < e; ++a) { + const t = _[a]; + g.g_Un(a); + let e; + if (((e = t.g_Yl() ? t.g_vz() : yield* t.g_Wq()), !e)) return void g.g_Uq(!1); + } + g.g_Uq(!0); + let e; + (e = this.g_ZO() ? this.g_YI(g, 0) : yield* this.g_YJ(g, 0)), + e && (this.g_ZP() ? this.g_ZN() : yield* this.g_ZQ()), + g.g_Ur() && this.g_YB && g.g_Us(!0); + } + g_Zl(g, _) { + const a = this.g_YG; + for (let t = _, n = a.length; t < n; ++t) { + const _ = a[t]; + g.g_Up(t), _.g_vz(); + } + return !0; + } + *g_Zm(g, _) { + const a = this.g_YG; + for (let t = _, n = a.length; t < n; ++t) { + const _ = a[t]; + g.g_Up(t), _.g_Yl() ? _.g_vz() : yield* _.g_Wq(); + } + return !0; + } + g_Zj(g, _) { + const t = this.g_ED(), + n = this.g_YG; + for (let i = _, e = n.length; i < e; ++i) { + const _ = n[i]; + g.g_Up(i); + const e = _.g_vz(); + if (_.g_ZW() && !0 === e) return !1; + _.g_wz() && e instanceof Promise && t.g_WY(e); + } + return !0; + } + *g_Zk(g, _) { + const t = this.g_ED(), + n = this.g_YG; + for (let i = _, e = n.length; i < e; ++i) { + const _ = n[i]; + g.g_Up(i); + let e; + if (((e = _.g_Yl() ? _.g_vz() : yield* _.g_Wq()), _.g_ZW() && !0 === e)) return !1; + _.g_wz() && e instanceof Promise && t.g_WY(e); + } + return !0; + } + g_ZX(g) { + this.g_YI(g, g.g_Uo()) && this.g_ZN(); + } + *g_ZY(g) { + (yield* this.g_YJ(g, g.g_Uo())) && (yield* this.g_ZQ()); + } + g_ZN() { + if (this.g_YH.length) { + const g = this.g_We() && this.g_Be.g_Yg(), + _ = g ? performance.now() : 0, + e = this.g_TA, + a = e.g_TZ(this); + this.g_Yz ? this.g_ZZ(a) : this.g_Z_(a), + e.g_Ty(), + g && (this.g_XI.g_XJ += performance.now() - _); + } + } + g_ZZ(_) { + const a = this.g_YK, + t = this.g_YA, + n = this.g_ED(), + r = this.g_YH; + for (let s = 0, g = r.length; s < g; ++s) { + const d = r[s], + i = d.g_UD(), + e = !t || (!a && s < g - 1); + e && n.g_WL(i), d.g_vz(_), e ? n.g_WM(i) : n.g_WI(i); + } + } + g_Z_(g) { + const _ = this.g_YH; + for (let e = 0, a = _.length; e < a; ++e) _[e].g_vz(g); + } + *g_ZQ() { + if (this.g_YH.length) { + const g = this.g_TA, + _ = g.g_TZ(this); + this.g_Yz ? yield* this.g_Z$(_) : yield* this.g__a(_), g.g_Ty(); + } + } + *g_Z$(_) { + const a = this.g_YK, + t = this.g_YA, + n = this.g_ED(), + r = this.g_YH; + for (let s = 0, g = r.length; s < g; ++s) { + const d = r[s], + i = d.g_UD(), + e = !t || (!a && s < g - 1); + e && n.g_WL(i), yield* d.g_Wq(_), e ? n.g_WM(i) : n.g_WI(i); + } + } + *g__a(g) { + const _ = this.g_YH; + for (let e = 0, a = _.length; e < a; ++e) yield* _[e].g_Wq(g); + } + g__b(g, _) { + this.g_Be.g_Yq(), _.g_Uk(); + const t = this.g_YF; + if (!this.g_TS()) + for (let n = g.g_Um() + 1, e = t.length; n < e; ++n) { + const g = t[n]; + _.g_Un(n); + const e = g.g_vz(); + if (!e) return !1; + } + return this.g_YI(_, 0) && this.g_ZN(_), !0; + } + *g__c(g, _) { + this.g_Be.g_Yq(), _.g_Uk(); + const t = this.g_YF; + if (!this.g_TS()) + for (let n = g.g_Um() + 1, e = t.length; n < e; ++n) { + const g = t[n]; + _.g_Un(n); + let e; + if (((e = g.g_Yl() ? g.g_vz() : yield* g.g_Wq()), !e)) return !1; + } + let e; + return ( + (e = this.g_ZO() ? this.g_YI(_, 0) : yield* this.g_YJ(_, 0)), + e && (this.g_ZP() ? this.g_ZN() : yield* this.g_ZQ()), + !0 + ); + } + g_Yl() { + return !this.g_Zx() && !this.g_Be.g_ZT() && this.g_YQ.g_YW; + } + g_ZO() { + return !this.g_Be.g_ZT() && this.g_YQ.g_YU; + } + g_ZP() { + return !this.g_Be.g_ZT() && this.g_YQ.g_YV; + } + g__d(g) { + if (this.g_Xs()) { + const _ = this.g_Yo(); + for (let e = 0, a = _.length; e < a; ++e) if (!_[e].g_Yp(g)) return !1; + } + return !0; + } + *g__e(g) { + if (this.g_Xs()) { + const _ = this.g_Yo(); + for (let e = 0, a = _.length; e < a; ++e) if (!(yield* _[e].g_Ys(g))) return !1; + } + return !0; + } + g__f(g, _, e) { + if (!(0 < _.length)) e && g.g_VL().g_TZ(); + else if (e) { + const e = _.map((g) => g.g_bd(0)); + g.g_VL().g_TZ(), this.g_Yv.g__g(e); + } else this.g_Yv.g__h(_); + } + g__i(_, a) { + let t, n; + const r = 0 < _.length, + e = this.g_Be, + s = this.g_TA, + g = e.g_ED(), + l = g.g_WE(), + i = 1 < l; + this.g__f(g, a, i), r && g.g_WK(_); + const o = s.g_TZ(this); + if (this.g__d(o)) { + e.g_Yq(), o.g_Ul(this); + const g = this.g_Yv.g_wz(); + g && ([n, t] = this.g_Yv.g__j()), this.g_ZS(o), g && this.g_Yv.g__k(n); + } + return s.g_Ty(), i && g.g_VL().g_Ty(), r && g.g_WM(_), g.g_WF(), t; + } + *g__l(_, a) { + let t, n; + (this.g_Zx() || this.g_Be.g_ZT()) && (yield this); + const r = 0 < _.length, + e = this.g_Be, + s = this.g_TA, + g = e.g_ED(), + l = g.g_WE(), + i = 1 < l; + this.g__f(g, a, i), r && g.g_WK(_); + const o = s.g_TZ(this); + if (yield* this.g__e(o)) { + e.g_Yq(), o.g_Ul(this); + const g = this.g_Yv.g_wz(); + g && ([n, t] = this.g_Yv.g__j()), yield* this.g_ZV(o), g && this.g_Yv.g__k(n); + } + return s.g_Ty(), i && g.g_VL().g_Ty(), r && g.g_WM(_), g.g_WF(), t; + } + g__m(_) { + const a = this.g_Xx(), + t = 0 < a.length, + n = this.g_Be, + r = this.g_TA, + e = n.g_ED(), + s = e.g_WE(), + g = 1 < s; + g && e.g_VL().g_TZ(), this.g_Yv.g__g(_), t && e.g_WK(a); + const d = r.g_TZ(this); + this.g__d(d) && (n.g_Yq(), d.g_Ul(this), this.g_ZS(d)), + r.g_Ty(), + g && e.g_VL().g_Ty(), + t && e.g_WM(a), + e.g_WF(); + } + *g__n(_) { + (this.g_Zx() || this.g_Be.g_ZT()) && (yield this); + const a = this.g_Xx(), + t = 0 < a.length, + n = this.g_Be, + r = this.g_TA, + e = n.g_ED(), + s = e.g_WE(), + g = 1 < s; + g && e.g_VL().g_TZ(), this.g_Yv.g__g(_), t && e.g_WK(a); + const d = r.g_TZ(this); + (yield* this.g__e(d)) && (n.g_Yq(), d.g_Ul(this), yield* this.g_ZV(d)), + r.g_Ty(), + g && e.g_VL().g_Ty(), + t && e.g_WM(a), + e.g_WF(); + } + g_Xw(_, a, t, ...n) { + let r, s; + const d = 0 < _.length, + g = this.g_Be, + o = this.g_TA, + i = g.g_ED(), + u = i.g_WE(), + p = 1 < u; + p && i.g_VL().g_TZ(), 0 < n.length && this.g_Yv.g__g(n), d && i.g_WK(_); + const l = o.g_TZ(this); + if ((l.g_Uw(a, t), o.g_T_(l), g.g__o(!1), this.g__d(l))) { + g.g_Yq(), l.g_Ul(this); + const _ = this.g_Yv.g_wz(); + _ && ([s, r] = this.g_Yv.g__j()), this.g_ZS(l), _ && this.g_Yv.g__k(s); + } + return ( + g.g__o(!0), + o.g_Ty(), + o.g_T$(), + p && i.g_VL().g_Ty(), + d && i.g_WM(_), + i.g_WF(), + r || l.g_Uz() + ); + } + }; +} +{ + const g = []; + let _ = !1; + g_aO.g_XV = class extends g_aO.g_eh { + constructor(g, _, a) { + super(); + const t = g.g_BI(), + n = g.g_ED(); + (this.g_GR = g), (this.g_TW = n), (this.g_Be = g.g_BI()), (this.g_Yu = _); + const e = t.g__p(a[1]); + (this.g__q = e), + (this.g_YP = a[2]), + this.g_GR.g_Ye(this, this.g_YP), + (this.g_YQ = t.g_IC() ? { g_YR: a[3][0], g_YS: a[3][1] } : null); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_XV, g, _, e); + } + g_Vu() { + const g = this.g__q, + _ = this.g_Be.g_ED().g_VS(this); + this.g__q = g.bind(null, this.g_Be.g__r(), _); + } + g_Xs() { + return this.g_Yu; + } + g_VO() { + return this.g_Yu; + } + g_Hl() { + return this.g_GR; + } + g_Zv() { + return this.g_YP; + } + g_Zw() { + return this.g_YQ && this.g_YQ.g_YS; + } + g_Zx() { + return this.g_Zw() && this.g_YQ.g_YR; + } + g_Zy(g) { + this.g_YQ.g_YR = !!g; + } + g_X$() { + return !1; + } + g_UD() { + return g; + } + g_Xx() { + return this.g_Yu ? this.g_Yu.g_Xx() : g; + } + g_vz(g) { + g.g_Ul(this), this.g_TW.g_WY(this.g__s()); + } + async g__s() { + try { + await this.g__q(); + } catch (g) { + console.error( + `Unhandled exception running script %c${this.g_Hl().g_pY()}, event ${this.g_Zv()}:`, + 'font-size: 1.2em; font-weight: bold;', + g + ), + self.g_IF && self.g_IF.g__t(this), + _ || + (console.info( + `%cTip:%c run this to highlight in Construct the last script that had an error: %cgoToLastErrorScript()`, + 'font-weight: bold; text-decoration: underline', + '', + 'font-weight: bold' + ), + (_ = !0)); + } + } + *g_Wq(g) { + g.g_Ul(this), (this.g_Zx() || this.g_Be.g_ZT()) && (yield this), this.g_vz(g); + } + g_Yl() { + return !this.g_Zx() && !this.g_Be.g_ZT(); + } + static g__u() { + return _; + } + static g__v() { + _ = !0; + } + }; +} +'use strict', + (g_aO.g_Xr = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), (this.g_GR = g), (this.g_Be = g.g_BI()), (this.g_Yu = _); + const a = e[1]; + (this.g__w = a[0]), + (this.g__x = a[1]), + (this.g__y = a[2].map((_) => g_aO.g_XT.g_sf(g, this, _))), + (this.g__z = a[3]), + (this.g_vW = a[4]), + (this.g__A = 0), + (this.g__B = -1), + (this.g__C = new Map()), + (this.g__D = g_aO.g_XP.g_sf(g, _, e)), + this.g__D.g_Zu(this); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_Xr, g, _, e); + } + g_Vu() { + for (const g of this.g__y) g.g_Vu(); + this.g__D.g_Vu(!1); + } + g_VP(g) { + for (const _ of this.g__y) if (g_aO.g_dB(g, _.g_pY())) return _; + return null; + } + g_VR() { + return this.g__y; + } + g_Xu() { + return this.g__y; + } + g__E() { + return this.g__y.length; + } + g__h(g) { + const _ = this.g__y; + for (let e = 0, a = _.length; e < a; ++e) _[e].g_PF(g[e].g_bd(0)); + } + g__g(g) { + const _ = this.g__y; + for (let e = 0, a = _.length; e < a; ++e) _[e].g_PF(g[e]); + } + g__F() { + return this.g__y.map((g) => g.g_Pc()); + } + g_Xs() { + return this.g_Yu; + } + g_VO() { + return this.g_Yu; + } + g_VB() { + return this.g__w; + } + g_Xy() { + return this.g__x; + } + g_jp() { + return this.g__z; + } + g_Xt() { + switch (this.g__x) { + case 0: + return null; + case 2: + return ''; + default: + return 0; + } + } + g_Xv() { + return this.g__D; + } + g_wz() { + return this.g_vW; + } + g__j() { + const g = this.g__A++; + this.g__B = g; + let _; + const e = new Promise((g) => (_ = g)); + return this.g__C.set(g, { resolve: _, g__G: 0 }), [g, e]; + } + g__k(g) { + const _ = this.g__C.get(g); + 0 === _.g__G && (_.resolve(), this.g__C.delete(g)), (this.g__B = -1); + } + g__H() { + const g = this.g__C.get(this.g__B); + return g.g__G++, this.g__B; + } + g__I(g) { + this.g__B = g; + const _ = this.g__C.get(g); + _.g__G--; + } + }), + 'use strict'; +{ + const g = []; + g_aO.g_XT = class extends g_aO.g_eh { + constructor(g, _, e) { + super(); + const a = g.g_ED(); + (this.g_GR = g), + (this.g_TW = a), + (this.g_Be = g.g_BI()), + (this.g_Yu = _), + (this.g_Vi = a.g_VL()), + (this.g_en = e[1]), + (this.g_kL = e[2]), + (this.g__J = e[3]), + (this.g_qV = !!e[4]), + (this.g__K = !!e[5]), + (this.g__L = _ instanceof g_aO.g_Xr), + (this.g_Ds = e[6]), + (this.g__M = this.g_Be.g_VT(e[8])), + (this.g__N = (g) => this.g_PF(g)), + (this.g__O = () => this.g_Pc()), + (this.g__P = !this.g_Yu || this.g_qV || this.g__K), + (this.g_Qi = this.g__J), + (this.g__Q = -1), + this.g__R() && (this.g_Qi = this.g_Qi ? 1 : 0), + !this.g__S() || this.g_rt() || this.g_Xl() || (this.g__Q = a.g_VE(this)), + a.g_VC(this); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_XT, g, _, e); + } + g_Vu() {} + g_pY() { + return this.g_en; + } + g_VT() { + return this.g__M; + } + g_Xs() { + return this.g_Yu; + } + g_Eh() { + return !this.g_Xs(); + } + g__S() { + return !this.g_Eh(); + } + g__T() { + return this.g__L; + } + g_rt() { + return this.g_qV; + } + g_Xl() { + return this.g__K; + } + g_cE() { + return 0 === this.g_kL; + } + g_cO() { + return 1 === this.g_kL; + } + g__R() { + return 2 === this.g_kL; + } + g_X$() { + return !1; + } + g_EN() { + return this.g_Ds; + } + g_VF() { + return this.g__J; + } + g_UD() { + return g; + } + g_vz() { + !this.g__S() || this.g_rt() || this.g_Xl() || this.g_PF(this.g_VF()); + } + g_Yl() { + return !0; + } + *g_Wq(g) { + this.g_vz(g); + } + g_PF(g) { + this.g_cE() + ? 'number' != typeof g && (g = parseFloat(g)) + : this.g_cO() + ? 'string' != typeof g && (g = g.toString()) + : this.g__R() && (g = g ? 1 : 0), + this.g__P ? (this.g_Qi = g) : (this.g_Vi.g_UH()[this.g__Q] = g); + } + g_Pc() { + return this.g__P ? this.g_Qi : this.g_Vi.g_UH()[this.g__Q]; + } + g__U() { + let g = this.g_Pc(); + return this.g__R() && (g = !!g), g; + } + g_Wb() { + this.g_Qi = this.g__J; + } + g_VU() { + return { configurable: !1, enumerable: !0, get: this.g__O, set: this.g__N }; + } + }; +} +{ + const g = []; + g_aO.g_XU = class extends g_aO.g_eh { + constructor(g, _, e) { + super(); + const a = g.g_ED(); + (this.g_GR = g), + (this.g_TW = a), + (this.g_Be = g.g_BI()), + (this.g_Yu = _), + (this.g__V = null), + (this.g__W = e[1]), + (this.g_lB = !0); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_XU, g, _, e); + } + g_Vu() { + (this.g__V = this.g_TW.g_HH(this.g__W)), this.g_GR.g_Ya(this); + for (let g = this.g_Xs(); g; ) + g instanceof g_aO.g_XP && g.g_We() && g.g_Za(this), (g = g.g_Xs()); + this.g_ZB(), this.g_Be.g_IC() && this.g_GR.g_Xp().children.push(this.g__V.g_Xp()); + } + g_Xs() { + return this.g_Yu; + } + g_UD() { + return g; + } + g_Yc() { + return this.g__V; + } + g_vz() { + const g = !!this.g_Xs(), + _ = this.g_Be.g_EE(); + g && this.g_TW.g_WK(_), this.g__V.g_vz(), g && this.g_TW.g_WM(_); + } + *g_Wq() { + const g = !!this.g_Xs(), + _ = this.g_Be.g_EE(); + g && this.g_TW.g_WK(_), yield* this.g__V.g_Wq(), g && this.g_TW.g_WM(_); + } + g_Yl() { + return !1; + } + g_Yd() { + return this.g_lB; + } + g_ZB() { + for (let g = this.g_Xs(); g; ) { + if (g instanceof g_aO.g_XP && g.g_We() && !g.g_Xj()) return void (this.g_lB = !1); + g = g.g_Xs(); + } + this.g_lB = !0; + } + }; +} +{ + function _(g, _) { + return g >= _ ? g % _ : 0 > g ? (g <= -_ && (g %= _), 0 > g && (g += _), g) : g; + } + g_aO.g__X = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_ue = g), (this.g_Be = g.g_BI()); + } + g_Vu() {} + static g__Y(g, _) { + const a = _[0]; + return g_aO.g_ej([e, r, s, d, t, n][a], g, _); + } + }; + class t extends g_aO.g__X { + constructor(g, _) { + super(g), + (this.g__Z = this.g_Be.g___()), + (this.g__q = this.g_Be.g__p(_[1])), + (this.g__q === g_aO.g_HY.g_HX.g__$.random || this.g__q === g_aO.g_HY.g_HX.g__$.g_$a) && + this.g_ue.g_$b(); + } + g_$c() { + return this.g__Z.g_$d(this.g__q, this.g__Z); + } + } + class n extends g_aO.g__X { + constructor(g, _) { + super(g), (this.g_$e = null), (this.g__w = _[1]), this.g_ue.g_$b(); + } + g_Vu() { + const g = this.g_Be.g_ED(); + (this.g_$e = g.g_VZ(this.g__w)), (this.g__w = null); + const _ = this.g_ue.g_Xv(), + e = this.g_$e.g_Xv(); + (this.g_$f = [...new Set([..._.g_Xx(), ...e.g_Xx()])]), (this.g_$f = g.g_VD(this.g_$f)); + } + g_$c() { + const g = this.g_$e; + if (g.g_jp()) { + const _ = g.g_Xv(); + return g_aO.g_XP.prototype.g_Xw.bind(_, this.g_$f, g.g_Xy(), g.g_Xt()); + } else { + const _ = g.g_Xt(); + return () => _; + } + } + } + class r extends g_aO.g__X { + constructor(g, _) { + super(g), + (this.g_Tq = this.g_Be.g_D_(_[1])), + (this.g__q = this.g_Be.g__p(_[2])), + (this.g_$g = !!_[3]), + (this.g_TA = this.g_Be.g_ED().g_TB()), + this.g_ue.g_$h(this.g_Tq); + } + g_$c() { + return this.g_Tq.g_Ir().g_$d(this.g__q, this.g_Tq.g_$i().g_Qd()); + } + g_$j(...g) { + const a = this.g_Tq, + t = a.g_Tu().g_TJ(), + n = t.length; + if (0 === n) return this.g_$g ? '' : 0; + const e = _(this.g_ue.g_$k(), n); + return this.g_TA.g_TU().g_Uu(a), this.g__q.apply(t[e].g_Qd(), g); + } + g_$l(a, ...t) { + const n = this.g_Tq, + i = n.g_H$(), + e = i.length; + if (0 === e) return this.g_$g ? '' : 0; + const r = _(a, e); + return this.g_TA.g_TU().g_Uu(n), this.g__q.apply(i[r].g_Qd(), t); + } + } + class s extends g_aO.g__X { + constructor(g, _) { + super(g), + (this.g_Tq = this.g_Be.g_D_(_[1])), + (this.g_$m = _[3]), + (this.g_$g = !!_[2]), + this.g_ue.g_$h(this.g_Tq); + } + g_$n() { + const g = this.g_Tq.g_Tu().g_TJ(), + e = g.length; + if (0 === e) return this.g_$g ? '' : 0; + const a = _(this.g_ue.g_$k(), e); + return g[a].g_$o(this.g_$m); + } + g_$p() { + const a = this.g_Tq, + t = a.g_Tu().g_TJ(), + n = t.length; + if (0 === n) return this.g_$g ? '' : 0; + const i = _(this.g_ue.g_$k(), n), + e = t[i], + r = e.g_EA().g_$q(a.g_$r()); + return e.g_$o(this.g_$m + r); + } + g_$s(a) { + const t = this.g_Tq, + n = t.g_H$(), + i = n.length; + if (0 === i) return this.g_$g ? '' : 0; + const e = _(a, i), + r = n[e]; + let g = 0; + return t.g_EF() && (g = r.g_EA().g_$q(t.g_$r())), r.g_$o(this.g_$m + g); + } + } + class e extends g_aO.g__X { + constructor(g, _) { + super(g), + (this.g_Tq = this.g_Be.g_D_(_[1])), + (this.g_$t = this.g_Tq.g_Qe(_[2])), + (this.g_$u = this.g_Tq.g_N_(_[2])), + (this.g__q = this.g_Be.g__p(_[3])), + (this.g_$g = !!_[4]), + (this.g_TA = this.g_Be.g_ED().g_TB()), + this.g_ue.g_$h(this.g_Tq); + } + g_$v(...a) { + const t = this.g_Tq, + n = t.g_Tu().g_TJ(), + i = n.length; + if (0 === i) return this.g_$g ? '' : 0; + const e = _(this.g_ue.g_$k(), i); + this.g_TA.g_TU().g_Uu(t); + const r = n[e]; + let g = 0; + return ( + t.g_EF() && (g = r.g_EA().g_$w(t.g_$r())), + this.g__q.apply(r.g_Qc()[this.g_$u + g].g_Qd(), a) + ); + } + g_$x(a, ...t) { + const n = this.g_Tq, + r = n.g_H$(), + e = r.length; + if (0 === e) return this.g_$g ? '' : 0; + const s = _(a, e); + this.g_TA.g_TU().g_Uu(n); + const g = r[s]; + let d = 0; + return ( + n.g_EF() && (d = g.g_EA().g_$w(n.g_$r())), + this.g__q.apply(g.g_Qc()[this.g_$u + d].g_Qd(), t) + ); + } + } + class d extends g_aO.g__X { + constructor(g, _) { + super(g), (this.g_$y = null), (this.g_$z = _[1]); + } + g_Vu() { + (this.g_$y = this.g_Be.g_ED().g_VN(this.g_$z, this.g_ue.g_Xv())), (this.g_$z = null); + } + g_$A() { + return this.g_$y; + } + } +} +{ + function _(g) { + const _ = self.g_$B[g]; + if (!_) throw new Error('invalid expression number'); + return _; + } + g_aO.g_$C = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_ue = g), + (this.g_Dr = e), + (this.g_kL = _), + (this.g_bd = null), + (this.g_$D = !1), + (this.g__K = !1); + } + static g_sf(_, a, o) { + const p = a[0]; + return g_aO.g_ej([t, s, i, d, c, u, g, t, d, d, f, E, i, m, s, h, e, l, n][p], _, p, o, a); + } + g_Vu() {} + g_$b() { + this.g_$D = !0; + } + g_$h(g) { + !this.g_$D && g && (g.g_Ir().g_Iq() || (this.g_$D = !0)); + } + g_$E() { + return this.g_$D; + } + g_EM() { + return this.g_Dr; + } + g_BI() { + return this.g_ue.g_BI(); + } + g_Xv() { + return this.g_ue.g_Xv(); + } + g_Xl() { + return this.g__K; + } + }; + class t extends g_aO.g_$C { + constructor(g, a, t, n) { + super(g, a, t), (this.g_$F = 0); + const e = n[1]; + (this.g_$G = e[0]), (this.g_$H = []), (this.g_$I = null); + for (let _ = 1, i = e.length; _ < i; ++_) this.g_$H.push(g_aO.g__X.g__Y(this, e[_])); + this.g_$H.length ? (this.g_bd = this.g_$J) : ((this.g_bd = _(this.g_$G)), (this.g__K = !0)); + } + g_$K(g) { + if (0 > g || g >= this.g_$H.length) throw new RangeError('invalid numbered node'); + return this.g_$H[g]; + } + g_Vu() { + for (const g of this.g_$H) g.g_Vu(); + const g = _(this.g_$G); + this.g_$I = this.g_$H.length ? g(this) : g; + } + g_$k() { + return this.g_$F; + } + g_$J(g) { + return (this.g_$F = g), this.g_$I(); + } + } + class s extends t { + constructor(g, _, e, a) { + super(g, _, e, a), + (this.g_bd = this.g_$L), + 14 === _ && (this.g_Xv().g_Zf(), this.g_ue instanceof g_aO.g_Y_ && this.g_Xv().g_Zs()); + } + g_$L(g) { + this.g_$F = g; + const _ = this.g_$I(); + return 'string' == typeof _ ? _ : ''; + } + g_$M() { + return _(this.g_$G)(); + } + } + class u extends t { + constructor(g, _, e, a) { + super(g, _, e, a), (this.g_bd = this.g_Em), (this.g__K = !1); + } + g_Em(g) { + this.g_$F = g; + const _ = this.g_$I(), + e = this.g_BI().g_ZC(); + return e.g_Em(_); + } + } + class d extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), (this.g_$N = a[1]), (this.g_bd = this.g_$O), (this.g__K = !0); + } + g_$O() { + return this.g_$N; + } + } + class e extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), (this.g_$P = a[1]), (this.g_bd = this.g_$Q), (this.g__K = !0); + } + g_$Q() { + return this.g_$P; + } + } + class c extends g_aO.g_$C { + constructor(g, _, a, t) { + super(g, _, a), (this.g_Tq = this.g_BI().g_D_(t[1])), (this.g_bd = this.g_EA); + const n = this.g_Xv(); + n.g_YZ(this.g_Tq), + this.g_ue instanceof g_aO.g_Y_ ? n.g_Zs() : n.g_Xs() && n.g_Xs().g_Zs(), + (this.g__K = !0); + } + g_EA() { + return this.g_Tq; + } + } + class g extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), + (this.g_Dq = this.g_BI().g_Wy().g_IS(a[1])), + (this.g_bd = this.g_EL), + (this.g__K = !0); + } + g_EL() { + return this.g_Dq; + } + } + class h extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), + (this.g_Nt = this.g_BI().g_LT().g_KE(a[1])), + (this.g_bd = this.g_NI), + (this.g__K = !0); + } + g_NI() { + return this.g_Nt; + } + } + class i extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), (this.g_$R = a[1]), (this.g_bd = this.g_$S), (this.g__K = !0); + } + g_$S() { + return this.g_$R; + } + } + class f extends g_aO.g_$C { + constructor(g, _, a, t) { + super(g, _, a), (this.g_$T = t[1]); + const n = this.g_ue.g_EA(); + n && n.g_EF() + ? ((this.g_bd = this.g_$U), this.g_$b()) + : ((this.g_bd = this.g_$V), (this.g__K = !0)); + } + g_$V() { + return this.g_$T; + } + g_$U(g) { + g = g || 0; + const _ = this.g_ue.g_EA(), + t = _.g_Tu(), + n = t.g_H$(); + let i = null; + if (n.length) i = n[g % n.length].g_EA(); + else if (t.g_TH()) { + const _ = t.g_TI(); + i = _[g % _.length].g_EA(); + } else if (0 < _.g_EK()) { + const e = _.g_H$(); + i = e[g % e.length].g_EA(); + } else return 0; + return this.g_$T + i.g_$q(_.g_$r()); + } + } + class E extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), + (this.g_$z = a[1]), + (this.g_$y = null), + (this.g_bd = this.g_$W), + (this.g__K = !0); + } + g_Vu() { + (this.g_$y = this.g_BI().g_ED().g_VN(this.g_$z, this.g_Xv())), (this.g_$z = null); + } + g_$W() { + return this.g_$y; + } + } + class l extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), + (this.g_$X = a[1]), + (this.g_$e = null), + (this.g_bd = this.g_$Y), + (this.g__K = !0); + } + g_Vu() { + (this.g_$e = this.g_BI().g_ED().g_VZ(this.g_$X)), (this.g_$X = null); + } + g_$Y() { + return this.g_$e; + } + } + class m extends g_aO.g_$C { + constructor(g, _, e, t) { + super(g, _, e), (this.g_$Z = []), (this.g_$_ = []), (this.g__K = !0); + for (let n = 1, a = t.length; n < a; ++n) { + const g = g_aO.g_$C.g_sf(this.g_ue, t[n], 0); + this.g_$Z.push(g), this.g_$_.push(0), g.g_Xl() || (this.g__K = !1); + } + this.g_bd = this.g_$$; + } + g_Vu() { + for (const g of this.g_$Z) g.g_Vu(); + } + g_$$() { + const g = this.g_$Z, + _ = this.g_$_; + for (let e = 0, a = g.length; e < a; ++e) _[e] = g[e].g_bd(0); + return _; + } + } + class n extends g_aO.g_$C { + constructor(g, _, e, a) { + super(g, _, e), (this.g_aaa = a[1]), (this.g_bd = this.g_jL), (this.g__K = !0); + } + g_jL() { + return this.g_aaa; + } + } +} +{ + function g(g, _) { + for (let e = 0, a = g.length; e < a; ++e) _[e] = g[e].g_bd(0); + } + const _ = [], + t = function () {}; + g_aO.g_YY = class extends g_aO.g_eh { + constructor(g, n, a) { + if ( + (super(), + (this.g__D = g), + (this.g_Be = g.g_BI()), + (this.g_Dr = a), + (this.g__q = this.g_Be.g__p(n[1])), + (this.g_aab = 0 < n[3]), + (this.g_aac = 2 === n[3]), + (this.g_aad = !!n[4]), + (this.g_aae = !!n[5]), + (this.g_qV = !!n[6]), + (this.g_Ds = n[7]), + (this.g_aaf = this.g__D.g_TS()), + (this.g_Tq = null), + (this.g_$t = null), + (this.g_$u = -1), + (this.g__Z = null), + (this.g_vz = t), + (this.g_Wq = t), + (this.g_a_ = []), + (this.g_aag = []), + (this.g_aah = !1), + (this.g_aai = null), + (this.g_aaj = null), + (this.g_YQ = this.g_Be.g_IC() ? { g_YR: n[8][0], g_aak: n[8][1] } : null), + -1 === n[0] + ? (this.g__Z = this.g_Be.g___()) + : ((this.g_Tq = this.g_Be.g_D_(n[0])), + n[2] && ((this.g_$t = this.g_Tq.g_Qe(n[2])), (this.g_$u = this.g_Tq.g_N_(n[2]))), + this.g__D.g_Xs() && this.g__D.g_Xs().g_Zs()), + 10 === n.length) + ) { + let g = n[9]; + for (let _ of g) + this.g_a_.push(g_aO.g_$C.g_sf(this, _, this.g_a_.length)), this.g_aag.push(0); + } + 0 === this.g_a_.length && ((this.g_a_ = _), (this.g_aag = _)), this.g__D.g_ED().g_Vy(this); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_YY, g, _, e); + } + g_Vu() { + for (const g of this.g_a_) g.g_Vu(), g.g_$E() && (this.g_aah = !0); + this.g_aac + ? ((this.g_vz = this.g_aal), (this.g_Wq = this.g_aam)) + : this.g__Z + ? (this.g_aan(), (this.g_Wq = this.g_aao)) + : this.g_Tq.g_Ir().g_Iq() + ? (this.g_aap(), (this.g_Wq = this.g_aaq)) + : this.g_qV + ? ((this.g_vz = this.g_aar), (this.g_Wq = this.g_aas)) + : ((this.g_vz = this.g_aat), (this.g_Wq = this.g_aau)); + } + g_aan() { + const g = this.g__Z, + _ = this.g__Z; + this.g_aav(g, _, this.g_aaw); + } + g_aap() { + const g = this.g_Tq.g_Ir(), + _ = this.g_Tq.g_$i().g_Qd(); + this.g_aav(g, _, this.g_aax); + } + g_aav(_, a, g) { + const t = this.g__q, + n = this.g_aae, + e = this.g_a_; + if (0 === e.length) { + const g = _.g_$d(t, a); + this.g_vz = n + ? function () { + return g_aO.xor(g(), n); + } + : g; + } else if (1 === e.length) { + const g = e[0]; + if (!n && g.g_Xl()) this.g_vz = _.g_aay(t, a, g.g_bd(0)); + else { + const e = _.g_$d(t, a); + this.g_vz = function () { + return g_aO.xor(e(g.g_bd(0)), n); + }; + } + } else if (2 === e.length) { + const i = e[0], + r = e[1]; + if (!n && i.g_Xl() && r.g_Xl()) this.g_vz = _.g_aaz(t, a, i.g_bd(0), r.g_bd(0)); + else { + const g = _.g_$d(t, a); + this.g_vz = function () { + return g_aO.xor(g(i.g_bd(0), r.g_bd(0)), n); + }; + } + } else if (3 === e.length) { + const i = e[0], + r = e[1], + g = e[2]; + if (!n && i.g_Xl() && r.g_Xl() && g.g_Xl()) + this.g_vz = _.g_aaA(t, a, i.g_bd(0), r.g_bd(0), g.g_bd(0)); + else { + const e = _.g_$d(t, a); + this.g_vz = function () { + return g_aO.xor(e(i.g_bd(0), r.g_bd(0), g.g_bd(0)), n); + }; + } + } else this.g_vz = g; + } + g_EN() { + return this.g_Ds; + } + g_XW() { + return this.g__q; + } + g_EA() { + return this.g_Tq; + } + g_NZ() { + return this.g_$t; + } + g_Xv() { + return this.g__D; + } + g_BI() { + return this.g_Be; + } + g_EM() { + return this.g_Dr; + } + g_ZJ() { + return this.g_EM(); + } + g_XR() { + return this.g_aab; + } + g_XX() { + return this.g_aac; + } + g_aaB() { + return this.g_aae; + } + g_ZM() { + return this.g_aad; + } + g_aaC() { + return this.g_YQ.g_YR; + } + g_aaD(g) { + (this.g_YQ.g_YR = !!g), this.g__D.g_Zp(); + } + g_aaE() { + return this.g_YQ.g_aak; + } + g_Yl() { + return !this.g_aaC() && !this.g_Be.g_ZT() && !this.g_aaE(); + } + g_aaF() { + return this.g_aai || (this.g_aai = new Map()), this.g_aai; + } + g_aaG() { + return this.g_aaj || (this.g_aaj = new Map()), this.g_aaj; + } + g_aaw() { + const _ = this.g_aag; + return g(this.g_a_, _), g_aO.xor(this.g__q.apply(this.g__Z, _), this.g_aae); + } + *g_aao() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + let e = this.g__q.apply(this.g__Z, _); + return g_aO.g_gA(e) && (e = yield* e), g_aO.xor(e, this.g_aae); + } + return this.g_vz(); + } + g_aax() { + const _ = this.g_aag; + g(this.g_a_, _); + const e = this.g_Tq.g_$i().g_Qd(); + return g_aO.xor(this.g__q.apply(e, _), this.g_aae); + } + *g_aaq() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + const e = this.g_Tq.g_$i().g_Qd(); + let a = this.g__q.apply(e, _); + return g_aO.g_gA(a) && (a = yield* a), g_aO.xor(a, this.g_aae); + } + return this.g_vz(); + } + g_aal() { + return !0; + } + *g_aam() { + return (this.g_aaC() || this.g_Be.g_ZT()) && (yield this), !0; + } + g_aar() { + const _ = this.g_aag; + g(this.g_a_, _); + const e = this.g__q.apply(this.g_$t || this.g_Tq, _); + return this.g_Tq.g_aaH(), e; + } + *g_aas() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + let e = this.g__q.apply(this.g_$t || this.g_Tq, _); + return g_aO.g_gA(e) && (e = yield* e), this.g_Tq.g_aaH(), e; + } + return this.g_vz(); + } + g_aat() { + const g = this.g_a_, + _ = this.g_aag, + e = this.g_Tq.g_Tu(); + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e]; + a.g_$E() || (_[e] = a.g_bd(0)); + } + return e.g_TF() ? this.g_aaI(e) : this.g_aaJ(e); + } + *g_aau() { + return (this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aat(); + } + g_aaK(g) { + const _ = this.g_a_, + a = this.g_aag; + for (let t = 0, n = _.length; t < n; ++t) { + const n = _[t]; + n.g_$E() && (a[t] = n.g_bd(g)); + } + } + g_aaI(_) { + const a = this.g_Tq, + t = a.g_EF(), + n = a.g_$r(), + r = this.g_$u, + e = a.g_H$(), + s = this.g_aah, + g = this.g_aag, + d = this.g__q, + o = this.g_aae, + u = this.g_aaf && !this.g_aab; + _.g_TE(); + for (let a = 0, l = e.length; a < l; ++a) { + const l = e[a]; + s && this.g_aaK(a); + let i; + if (0 <= r) { + const _ = t ? l.g_EA().g_$w(n) : 0; + i = d.apply(l.g_Qc()[r + _].g_Qd(), g); + } else i = d.apply(l.g_Qd(), g); + g_aO.xor(i, o) ? _.g_TK(l) : u && _.g_TL(l); + } + return a.g_aaL(!0), _.g_TM(!1), a.g_aaH(), _.g_TG(); + } + g_aaJ(_) { + const a = this.g_Tq, + t = a.g_EF(), + s = a.g_$r(), + d = a.g_EJ(), + e = this.g_$u, + u = this.g_aah, + g = this.g_aag, + h = this.g__q, + c = this.g_aae, + l = this.g_aaf && !this.g_aab, + f = _.g_TN(), + n = _.g_TO(), + o = l && !this.g__D.g_ZF(this), + p = o ? n : f; + let m = 0, + E = !1; + for (let r = 0, a = p.length; r < a; ++r) { + const _ = p[r]; + u && this.g_aaK(r); + let a; + if (0 <= e) { + const n = t ? _.g_EA().g_$w(s) : 0; + a = h.apply(_.g_Qc()[e + n].g_Qd(), g); + } else a = h.apply(_.g_Qd(), g); + g_aO.xor(a, c) + ? ((E = !0), o ? (f.push(_), d && _.g_aaM()) : ((p[m] = _), d && _.g_aaN(m), ++m)) + : o + ? ((p[m] = _), d && _.g_aaO(m), ++m) + : l && (n.push(_), d && _.g_aaP()); + } + g_aO.g_fy(p, m), d && a.g_aaQ(o, m); + const b = E; + return o && !E && (E = this.g_aaR(f)), a.g_aaL(b || l), l ? E : _.g_TG(); + } + g_aaR(_) { + const a = this.g_Tq, + t = a.g_EF(), + n = a.g_$r(), + r = this.g_aah, + e = this.g_$u, + s = this.g_aag, + g = this.g__q, + d = this.g_aae; + for (let a = 0, l = _.length; a < l; ++a) { + const l = _[a]; + r && this.g_aaK(a); + let i; + if (0 <= e) { + const _ = t ? l.g_EA().g_$w(n) : 0; + i = g.apply(l.g_Qc()[e + _].g_Qd(), s); + } else i = g.apply(l.g_Qd(), s); + if (g_aO.xor(i, d)) return !0; + } + return !1; + } + g_aaS(g, _) { + return this.g_a_[g].g_bd(_); + } + g_XY() { + const g = this.g_a_; + if (!g.length) throw new Error('no parameters'); + return g[0].g_$M(); + } + g_GG() { + if (!this.g_aai || !this.g_aai.size) return null; + const g = {}; + for (const [_, e] of this.g_aai.entries()) { + let a = e; + 'collmemory' === _ && (a = [...e.entries()].map((g) => [g[0].g_Ei(), g[1].g_Ei(), g[2]])), + (g[_] = a); + } + return { ex: g }; + } + g_GI(g) { + const _ = this.g_Be, + t = g.ex; + if (t) { + const g = this.g_aaF(); + g.clear(); + for (const [a, n] of Object.entries(t)) { + let e = n; + 'collmemory' === a && + (e = g_aO.g_ej( + g_aO.g_jq, + n.map((g) => [_.g_NN(g[0]), _.g_NN(g[1]), g[2]]).filter((g) => g[0] && g[1]) + )), + g.set(a, e); + } + } else this.g_aai && (this.g_aai.clear(), (this.g_aai = null)); + } + }; +} +{ + function g(g, _) { + for (let e = 0, a = g.length; e < a; ++e) _[e] = g[e].g_bd(0); + } + const _ = [], + t = function () {}, + e = function* () {}; + g_aO.g_Y_ = class extends g_aO.g_eh { + constructor(n, i, a) { + super(), (this.g__D = n); + const e = n.g_BI(); + (this.g_Be = e), + (this.g_Dr = a), + (this.g_Ds = 4 <= i.length ? i[3] : -1), + (this.g_aaT = 5 <= i.length ? i[4] : 0), + (this.g__q = null), + (this.g_Tq = null), + (this.g_$t = null), + (this.g_$u = -1), + (this.g__Z = null), + (this.g_aaU = ''), + (this.g_aaV = null), + (this.g_$f = null), + (this.g_vz = t), + (this.g_Wq = t), + (this.g_a_ = []), + (this.g_aag = []), + (this.g_aah = !1), + (this.g_aai = null), + (this.g_aaj = null); + const r = -3 === i[0], + g = r ? i[2] : i[5]; + if ( + ((this.g_YQ = e.g_IC() || r ? { g_YR: g[0], g_aak: g[1], index: g[2] } : null), -1 === i[0]) + ) + (this.g__Z = e.g___()), (this.g__q = e.g__p(i[1])); + else if (-2 === i[0]) this.g_aaU = i[1]; + else if (r) { + const g = e.g__p(i[1]); + (this.g__q = g), (this.g_vz = this.g_aaW), (this.g_Wq = this.g_aaX), (this.g_aaT = 1); + } else + (this.g__q = e.g__p(i[1])), + (this.g_Tq = e.g_D_(i[0])), + i[2] && ((this.g_$t = this.g_Tq.g_Qe(i[2])), (this.g_$u = this.g_Tq.g_N_(i[2]))); + if (7 === i.length) { + const g = i[6]; + for (const _ of g) + this.g_a_.push(g_aO.g_$C.g_sf(this, _, this.g_a_.length)), this.g_aag.push(0); + } + 0 === this.g_a_.length && ((this.g_a_ = _), (this.g_aag = _)), this.g__D.g_ED().g_Vz(this); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_Y_, g, _, e); + } + g_Vu() { + for (const g of this.g_a_) g.g_Vu(), g.g_$E() && (this.g_aah = !0); + if (this.g__Z) this.g_aan(), (this.g_Wq = this.g_aao); + else if (this.g_aaU) this.g_aaY(), (this.g_aaU = ''); + else if (this.g_vz === this.g_aaW) { + const g = this.g__q, + _ = this.g_Be.g_ED().g_VS(this.g__D); + this.g__q = g.bind(null, this.g_Be.g__r(), _); + } else + this.g_$t + ? this.g_wz() + ? ((this.g_vz = this.g_aaZ), (this.g_Wq = this.g_aa_)) + : ((this.g_vz = this.g_aa$), (this.g_Wq = this.g_aba)) + : this.g_Tq.g_Ir().g_Iq() + ? (this.g_aap(), (this.g_Wq = this.g_aaq)) + : this.g_wz() + ? ((this.g_vz = this.g_abb), (this.g_Wq = this.g_abc)) + : this.g_a_.length + ? this.g_a_.every((g) => g.g_$E()) + ? ((this.g_vz = this.g_abd), (this.g_Wq = this.g_abe)) + : this.g_aah + ? ((this.g_vz = this.g_abf), (this.g_Wq = this.g_abg)) + : this.g_a_.every((g) => g.g_Xl()) + ? (g(this.g_a_, this.g_aag), (this.g_vz = this.g_abh), (this.g_Wq = this.g_abi)) + : ((this.g_vz = this.g_abj), (this.g_Wq = this.g_abk)) + : ((this.g_vz = this.g_abh), (this.g_Wq = this.g_abi)); + } + g_aan() { + const g = this.g__Z, + _ = this.g__Z; + this.g_aav(g, _, this.g_aaw); + } + g_aap() { + const g = this.g_Tq.g_Ir(), + _ = this.g_Tq.g_$i().g_Qd(); + this.g_aav(g, _, this.g_aax); + } + g_aaY() { + const g = this.g__D.g_ED(), + _ = g.g_VZ(this.g_aaU); + _.g_jp() + ? ((this.g_aaV = _.g_Xv()), + (this.g_$f = [...new Set([...this.g__D.g_Xx(), ...this.g_aaV.g_Xx()])]), + (this.g_$f = g.g_VD(this.g_$f)), + (this.g_vz = g_aO.g_XP.prototype.g__i.bind(this.g_aaV, this.g_$f, this.g_a_)), + (this.g_Wq = this.g_abl)) + : ((this.g_vz = t), (this.g_Wq = e)); + } + g_aav(_, a, g) { + const t = this.g__q, + n = this.g_a_; + if (0 === n.length) this.g_vz = _.g_$d(t, a); + else if (1 === n.length) { + const g = n[0]; + if (g.g_Xl()) this.g_vz = _.g_aay(t, a, g.g_bd(0)); + else { + const n = _.g_$d(t, a); + this.g_vz = function () { + return n(g.g_bd(0)); + }; + } + } else if (2 === n.length) { + const g = n[0], + i = n[1]; + if (g.g_Xl() && i.g_Xl()) this.g_vz = _.g_aaz(t, a, g.g_bd(0), i.g_bd(0)); + else { + const n = _.g_$d(t, a); + this.g_vz = function () { + return n(g.g_bd(0), i.g_bd(0)); + }; + } + } else if (3 === n.length) { + const i = n[0], + r = n[1], + s = n[2]; + if (i.g_Xl() && r.g_Xl() && s.g_Xl()) + this.g_vz = _.g_aaA(t, a, i.g_bd(0), r.g_bd(0), s.g_bd(0)); + else { + const g = _.g_$d(t, a); + this.g_vz = function () { + return g(i.g_bd(0), r.g_bd(0), s.g_bd(0)); + }; + } + } else this.g_vz = g; + } + g_EN() { + return this.g_Ds; + } + g_wz() { + return 1 === this.g_aaT; + } + g_ZW() { + return 2 === this.g_aaT; + } + g_Zi() { + return 0 !== this.g_aaT; + } + g_EA() { + return this.g_Tq; + } + g_Xv() { + return this.g__D; + } + g_BI() { + return this.g_Be; + } + g_EM() { + return this.g_Dr; + } + g_ZJ() { + return this.g_YQ.index; + } + g_abm() { + return this.g_$f; + } + g_aaC() { + return this.g_YQ.g_YR; + } + g_aaD(g) { + (this.g_YQ.g_YR = !!g), this.g__D.g_Zp(); + } + g_aaE() { + return this.g_YQ.g_aak; + } + g_Yl() { + return !this.g_aaC() && !this.g_Be.g_ZT() && !this.g_aaE(); + } + g_aaF() { + return this.g_aai || (this.g_aai = new Map()), this.g_aai; + } + g_aaG() { + return this.g_aaj || (this.g_aaj = new Map()), this.g_aaj; + } + g_aaw() { + const _ = this.g_aag; + return g(this.g_a_, _), this.g__q.apply(this.g__Z, _); + } + *g_aao() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + const e = yield* this.g__q.apply(this.g__Z, _); + return e; + } + return this.g_vz(); + } + *g_abl() { + (this.g_aaC() || this.g_Be.g_ZT()) && (yield this); + const g = yield* this.g_aaV.g__l(this.g_$f, this.g_a_); + return g; + } + g_aax() { + const _ = this.g_aag; + return g(this.g_a_, _), this.g__q.apply(this.g_Tq.g_$i().g_Qd(), _); + } + *g_aaq() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + const e = yield* this.g__q.apply(this.g_Tq.g_$i().g_Qd(), _); + return e; + } + return this.g_vz(); + } + g_abh() { + const g = this.g_aag, + _ = this.g_Tq.g_Tu().g_H$(); + for (let e = 0, a = _.length; e < a; ++e) this.g__q.apply(_[e].g_Qd(), g); + } + *g_abi() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const g = this.g_aag, + _ = this.g_Tq.g_Tu().g_H$(); + for (let e = 0, a = _.length; e < a; ++e) yield* this.g__q.apply(_[e].g_Qd(), g); + } else this.g_abh(); + } + g_abj() { + const _ = this.g_aag; + g(this.g_a_, _); + const e = this.g_Tq.g_Tu().g_H$(); + for (let g = 0, a = e.length; g < a; ++g) this.g__q.apply(e[g].g_Qd(), _); + } + *g_abk() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_aag; + g(this.g_a_, _); + const e = this.g_Tq.g_Tu().g_H$(); + for (let g = 0, a = e.length; g < a; ++g) yield* this.g__q.apply(e[g].g_Qd(), _); + } else this.g_abj(); + } + g_abd() { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(); + for (let n = 0, e = t.length; n < e; ++n) { + const e = t[n]; + for (let e = 0, a = g.length; e < a; ++e) _[e] = g[e].g_bd(n); + a.apply(e.g_Qd(), _); + } + } + *g_abe() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(); + for (let n = 0, e = t.length; n < e; ++n) { + const e = t[n]; + for (let e = 0, a = g.length; e < a; ++e) _[e] = g[e].g_bd(n); + yield* a.apply(e.g_Qd(), _); + } + } else this.g_abd(); + } + g_abf() { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(); + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e]; + a.g_$E() || (_[e] = a.g_bd(0)); + } + for (let n = 0, e = t.length; n < e; ++n) { + const e = t[n]; + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e]; + a.g_$E() && (_[e] = a.g_bd(n)); + } + a.apply(e.g_Qd(), _); + } + } + *g_abg() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(); + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e]; + a.g_$E() || (_[e] = a.g_bd(0)); + } + for (let n = 0, e = t.length; n < e; ++n) { + const e = t[n]; + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e]; + a.g_$E() && (_[e] = a.g_bd(n)); + } + yield* a.apply(e.g_Qd(), _); + } + } else this.g_abf(); + } + g_aa$() { + const _ = this.g_Tq, + t = _.g_EF(), + n = _.g_$r(), + i = this.g_a_, + r = this.g_aah, + e = this.g_aag, + s = this.g__q, + g = this.g_$u, + d = _.g_Tu().g_H$(); + for (let g = 0, _ = i.length; g < _; ++g) { + const _ = i[g]; + _.g_$E() || (e[g] = _.g_bd(0)); + } + for (let _ = 0, a = d.length; _ < a; ++_) { + const a = d[_]; + if (r) + for (let g = 0, a = i.length; g < a; ++g) { + const a = i[g]; + a.g_$E() && (e[g] = a.g_bd(_)); + } + const l = t ? a.g_EA().g_$w(n) : 0; + s.apply(a.g_Qc()[g + l].g_Qd(), e); + } + } + *g_aba() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_Tq, + t = _.g_EF(), + n = _.g_$r(), + i = this.g_a_, + r = this.g_aah, + e = this.g_aag, + s = this.g__q, + g = this.g_$u, + d = _.g_Tu().g_H$(); + for (let g = 0, _ = i.length; g < _; ++g) { + const _ = i[g]; + _.g_$E() || (e[g] = _.g_bd(0)); + } + for (let _ = 0, a = d.length; _ < a; ++_) { + const a = d[_]; + if (r) + for (let g = 0, a = i.length; g < a; ++g) { + const a = i[g]; + a.g_$E() && (e[g] = a.g_bd(_)); + } + const l = t ? a.g_EA().g_$w(n) : 0; + yield* s.apply(a.g_Qc()[g + l].g_Qd(), e); + } + } else this.g_aa$(); + } + g_abb() { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(), + n = []; + for (let e = 0, i = t.length; e < i; ++e) { + const i = t[e]; + for (let a = 0, t = g.length; a < t; ++a) _[a] = g[a].g_bd(e); + n.push(a.apply(i.g_Qd(), _)); + } + return Promise.all(n); + } + *g_abc() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const g = this.g_a_, + _ = this.g_aag, + a = this.g__q, + t = this.g_Tq.g_Tu().g_H$(), + n = []; + for (let e = 0, i = t.length; e < i; ++e) { + const i = t[e]; + for (let a = 0, t = g.length; a < t; ++a) _[a] = g[a].g_bd(e); + n.push(yield* a.apply(i.g_Qd(), _)); + } + return Promise.all(n); + } + return this.g_abb(); + } + g_aaZ() { + const _ = this.g_Tq, + t = _.g_EF(), + n = _.g_$r(), + i = this.g_a_, + r = this.g_aag, + e = this.g__q, + s = this.g_$u, + g = _.g_Tu().g_H$(), + d = []; + for (let _ = 0, a = g.length; _ < a; ++_) { + const a = g[_]; + for (let g = 0, e = i.length; g < e; ++g) r[g] = i[g].g_bd(_); + const l = t ? a.g_EA().g_$w(n) : 0; + d.push(e.apply(a.g_Qc()[s + l].g_Qd(), r)); + } + return Promise.all(d); + } + *g_aa_() { + if (((this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaE())) { + const _ = this.g_Tq, + t = _.g_EF(), + n = _.g_$r(), + i = this.g_a_, + r = this.g_aag, + e = this.g__q, + s = this.g_$u, + g = _.g_Tu().g_H$(), + d = []; + for (let _ = 0, a = g.length; _ < a; ++_) { + const a = g[_]; + for (let g = 0, e = i.length; g < e; ++g) r[g] = i[g].g_bd(_); + const l = t ? a.g_EA().g_$w(n) : 0; + d.push(yield* e.apply(a.g_Qc()[s + l].g_Qd(), r)); + } + return Promise.all(d); + } + return this.g_aaZ(); + } + async g_aaW() { + try { + await this.g__q(); + } catch (g) { + console.error( + `Unhandled exception running script %c${this.g__D + .g_Hl() + .g_pY()}, event ${this.g__D.g_Zv()}, action ${this.g_ZJ() + 1}:`, + 'font-size: 1.2em; font-weight: bold;', + g + ), + self.g_IF && self.g_IF.g__t(this), + g_aO.g_XV.g__u() || + (console.info( + `%cTip:%c run this to highlight in Construct the last script that had an error: %cgoToLastErrorScript()`, + 'font-weight: bold; text-decoration: underline', + '', + 'font-weight: bold' + ), + g_aO.g_XV.g__v()); + } + } + *g_aaX() { + return (this.g_aaC() || this.g_Be.g_ZT()) && (yield this), this.g_aaW(); + } + g_GG() { + return this.g_aai && this.g_aai.size ? { ex: g_aO.g_gx(this.g_aai) } : null; + } + g_GI(g) { + this.g_aai && (this.g_aai.clear(), (this.g_aai = null)); + const _ = g.ex; + _ && (this.g_aai = g_aO.g_gy(_)); + } + }; +} +{ + function gg(g, _) { + return g_aO.compare(this.g_CU().g_Ig(), g, _); + } + function a(g, _) { + return g_aO.compare(this.g_CU().g_Ih(), g, _); + } + function b() { + const g = this.g_CU(); + return g.g_FZ(g.g_Em().g_EW()); + } + function c() { + const g = this.g_CU(), + _ = g.g_EL(), + e = g.g_Gi(); + return 0 > e.g_hX() || 0 > e.g_hY() || e.g_hV() > _.g_pN() || e.g_hW() > _.g_pO(); + } + function d(_, a, t) { + const n = this.g_Tu(), + r = n.g_H$(); + if (!r.length) return !1; + let e = r[0], + s = e.g_CU(), + l = e, + o = g_aO.g_eu(s.g_Ig(), s.g_Ih(), a, t); + for (let g = 1, n = r.length; g < n; ++g) { + (e = r[g]), (s = e.g_CU()); + const n = g_aO.g_eu(s.g_Ig(), s.g_Ih(), a, t); + ((0 === _ && n < o) || (1 === _ && n > o)) && ((o = n), (l = e)); + } + return n.g_TR(l), !0; + } + function e(g) { + const _ = this.g_CU(); + _.g_Ig() === g || (_.g_abn(g), _.g_En()); + } + function f(g) { + const _ = this.g_CU(); + _.g_Ih() === g || (_.g_abo(g), _.g_En()); + } + function g(g, _) { + const e = this.g_CU(); + e.g_abp(g, _) || (e.g_abq(g, _), e.g_En()); + } + function h(g, _) { + if (g) { + const t = g.g_abr(this.g_b_); + if (t) { + const [g, a] = t.g_abs(_), + n = this.g_CU(); + (n.g_Ig() === g && n.g_Ih() === a) || (n.g_abq(g, a), n.g_En()); + } + } + } + function i(g) { + if (0 !== g) { + const _ = this.g_CU(); + _.g_abt(_.g_abu() * g, _.g_abv() * g), _.g_En(); + } + } + function j(g, _) { + if (0 !== _) { + const e = this.g_CU(); + (g = g_aO.g_er(g)), e.g_abt(Math.cos(g) * _, Math.sin(g) * _), e.g_En(); + } + } + function k() { + return this.g_CU().g_Ig(); + } + function l() { + return this.g_CU().g_Ih(); + } + function m() { + return this.g_Be.g_KW(this.g_b_); + } + function n(g, _) { + return g_aO.compare(this.g_CU().g_pN(), g, _); + } + function o(g, _) { + return g_aO.compare(this.g_CU().g_pO(), g, _); + } + function p(g) { + const _ = this.g_CU(); + _.g_pN() === g || (_.g_Hj(g), _.g_En()); + } + function q(g) { + const _ = this.g_CU(); + _.g_pO() === g || (_.g_Hk(g), _.g_En()); + } + function r(g, _) { + const e = this.g_CU(); + (e.g_pN() === g && e.g_pO() === _) || (e.g_wQ(g, _), e.g_En()); + } + function s() { + return this.g_CU().g_pN(); + } + function t() { + return this.g_CU().g_pO(); + } + function u() { + return this.g_CU().g_Gi().g_hV(); + } + function v() { + return this.g_CU().g_Gi().g_hW(); + } + function w() { + return this.g_CU().g_Gi().g_hX(); + } + function x() { + return this.g_CU().g_Gi().g_hY(); + } + function y(g, _) { + return g_aO.g_ew(this.g_CU().g_Fj(), g_aO.g_er(_)) <= g_aO.g_er(g); + } + function z(g) { + return g_aO.g_ey(this.g_CU().g_Fj(), g_aO.g_er(g)); + } + function A(g, _) { + const a = g_aO.g_er(g), + t = g_aO.g_er(_), + n = this.g_CU().g_Fj(), + e = !g_aO.g_ey(t, a); + return e ? g_aO.g_ey(n, a) || !g_aO.g_ey(n, t) : g_aO.g_ey(n, a) && !g_aO.g_ey(n, t); + } + function B(g) { + const _ = this.g_CU(), + e = g_aO.g_eq(g_aO.g_er(g)); + isNaN(e) || _.g_Fj() === e || (_.g_Fi(e), _.g_En()); + } + function C(g) { + if (!(isNaN(g) || 0 === g)) { + const _ = this.g_CU(); + _.g_Fi(_.g_Fj() + g_aO.g_er(g)), _.g_En(); + } + } + function D(g) { + if (!(isNaN(g) || 0 === g)) { + const _ = this.g_CU(); + _.g_Fi(_.g_Fj() - g_aO.g_er(g)), _.g_En(); + } + } + function E(g, _) { + const t = this.g_CU(), + n = t.g_Fj(), + e = g_aO.g_ex(n, g_aO.g_er(_), g_aO.g_er(g)); + isNaN(e) || n === e || (t.g_Fi(e), t.g_En()); + } + function F(_, t, n) { + const r = this.g_CU(), + e = r.g_Fj(), + s = t - r.g_Ig(), + a = n - r.g_Ih(), + g = Math.atan2(a, s), + d = g_aO.g_ex(e, g, g_aO.g_er(_)); + isNaN(d) || e === d || (r.g_Fi(d), r.g_En()); + } + function G(_, t) { + const n = this.g_CU(), + i = n.g_Fj(), + e = _ - n.g_Ig(), + a = t - n.g_Ih(), + r = Math.atan2(a, e); + isNaN(r) || i === r || (n.g_Fi(r), n.g_En()); + } + function H() { + return g_aO.g_es(this.g_CU().g_Fj()); + } + function I(g, _) { + return g_aO.compare(g_aO.g_eJ(100 * this.g_CU().g_zk()), g, _); + } + function J() { + return this.g_CU().g_ET(); + } + function K(g) { + const _ = this.g_CU(); + (g = 2 === g ? !_.g_ET() : 0 != g), _.g_ET() === g || (_.g_EU(g), this.g_Be.g_EV()); + } + function L(g) { + const _ = g_aO.g_ep(g / 100, 0, 1), + e = this.g_CU(); + e.g_zk() === _ || (e.g_zm(_), this.g_Be.g_EV()); + } + function M(g) { + Tg.g_g$(g); + const _ = this.g_CU(); + _.g_QI().g_gV(Tg) || (_.g_abw(Tg), this.g_Be.g_EV()); + } + function N() { + const g = this.g_CU().g_QI(); + return g_aO.g_eL(g.g_gP(), g.g_gQ(), g.g_gR(), g.g_gS()); + } + function O() { + return g_aO.g_eJ(100 * this.g_CU().g_zk()); + } + function P(g) { + return !!g && this.g_CU().g_Em() === g; + } + function Q(_) { + const g = this.g_Tu(), + a = g.g_H$(); + if (!a.length) return !1; + let t = a[0], + n = t; + for (let e = 1, g = a.length; e < g; ++e) { + const t = a[e], + r = t.g_CU(), + s = n.g_CU(), + g = r.g_Em().g_EM(), + d = s.g_Em().g_EM(); + 0 === _ + ? (g > d || (g === d && r.g_Fz() > s.g_Fz())) && (n = t) + : (g < d || (g === d && r.g_Fz() < s.g_Fz())) && (n = t); + } + return g.g_TR(n), !0; + } + function R(g, _, a) { + const t = this.g_CU(), + n = 0 === g ? t.g_Do() : t.g_Jg(); + return g_aO.compare(n, _, a); + } + function S() { + this.g_CU().g_abx(); + } + function T() { + this.g_CU().g_aby(); + } + function U(g) { + g && this.g_CU().g_abz(g); + } + function V(g, _) { + if (_) { + const e = _.g_abA(this.g_Nj()); + e && this.g_CU().g_abB(e, 0 === g); + } + } + function W(g) { + const _ = this.g_CU(); + _.g_Do() === g || (_.g_Fh(g), this.g_Be.g_EV()); + } + function X() { + return this.g_CU().g_Em().g_EM(); + } + function Y() { + return this.g_CU().g_Em().g_pY(); + } + function Z() { + return this.g_CU().g_Fz(); + } + function $() { + return this.g_CU().g_Do(); + } + function _() { + return this.g_CU().g_Jg(); + } + function _g(g, _) { + const a = this.g_EA().g_EP().g_Qg(_); + if (a) { + const _ = a.g_EM(), + t = 1 === g, + n = this.g_CU().g_Gd(); + n.g_Qf(_) === t || (n.g_abC(_, t), n.g_abD(), this.g_Be.g_EV()); + } + } + function eg(g, _, e) { + const t = this.g_EA().g_EP().g_Qg(g); + if (t) { + const n = t.g_EM(), + a = this.g_CU().g_Gd(), + i = a.g_Gh(n); + if (((_ = Math.floor(_)), !(0 > _ || _ >= i.length))) { + const r = t.g_tq().g_tB(_); + if ('color' === r) { + Tg.g_g$(e); + const g = i[_]; + if (Tg.g_gV(g)) return; + g.g_gO(Tg); + } else { + if (('percent' === r && (e /= 100), i[_] === e)) return; + i[_] = e; + } + a.g_Qf(n) && this.g_Be.g_EV(); + } + } + } + function ag(g, _, e) { + return g_aO.compare(this.g_Nj().g_QL(g), _, e); + } + function tg(g) { + return !!this.g_Nj().g_QL(g); + } + function ng(_, a) { + const t = this.g_Tu(), + n = t.g_H$(); + if (!n.length) return !1; + let i = n[0], + r = i, + s = i.g_QL(a); + for (let g = 1, e = n.length; g < e; ++g) { + i = n[g]; + const e = i.g_QL(a); + ((0 === _ && e < s) || (1 === _ && e > s)) && ((s = e), (r = i)); + } + return t.g_TR(r), !0; + } + function ig(g) { + return this.g_Be.g_VH().g_aaB() ? sg(this, g) : rg(this, g); + } + function rg(g, _) { + const e = g.g_BI().g_NN(_); + if (!e) return !1; + const a = g.g_Tu(); + if (!a.g_TF() && !a.g_TN().includes(e)) return !1; + if (g.g_EF()) { + if (e.g_EA().g_abE(g)) return a.g_TR(e), g.g_aaH(), !0; + } else if (e.g_EA() === g) return a.g_TR(e), g.g_aaH(), !0; + return !1; + } + function sg(g, _) { + const t = g.g_Tu(); + if (t.g_TF()) { + t.g_TM(!1), t.g_TE(); + const n = g.g_H$(); + for (let g = 0, a = n.length; g < a; ++g) { + const a = n[g]; + a.g_Ei() === _ ? t.g_TL(a) : t.g_TK(a); + } + return g.g_aaH(), !!t.g_TN().length; + } else { + const n = t.g_TN(); + let i = 0; + for (let g = 0, e = n.length; g < e; ++g) { + const e = n[g]; + (n[i] = e), e.g_Ei() === _ ? t.g_TL(e) : ++i; + } + return g_aO.g_fy(n, i), g.g_aaH(), !!n.length; + } + } + function dg() { + this.g_Be.g_EB(this.g_b_); + } + function lg() { + return !0; + } + function og() { + return !0; + } + function ug(g, _) { + this.g_Nj().g_QN(g, _); + } + function pg(g, _) { + const e = this.g_Nj(), + a = e.g_QL(g); + 'number' == typeof a && 'number' != typeof _ + ? (_ = parseFloat(_)) + : 'string' == typeof a && 'string' != typeof _ && (_ = _.toString()), + e.g_QN(g, a + _); + } + function hg(g, _) { + const e = this.g_Nj(), + a = e.g_QL(g); + 'number' != typeof a || ('number' != typeof _ && (_ = parseFloat(_)), e.g_QN(g, a - _)); + } + function cg(g, _) { + this.g_Nj().g_QN(g, _ ? 1 : 0); + } + function fg(g) { + const _ = this.g_Nj(); + _.g_QN(g, 0 === _.g_QL(g) ? 1 : 0); + } + function mg(g) { + let _; + try { + _ = JSON.parse(g); + } catch (g) { + return void console.error('Failed to load from JSON string: ', g); + } + this.g_Nj().g_GJ(_, 'state'); + } + function Eg() { + return JSON.stringify(this.g_Nj().g_GH('state')); + } + function bg() { + return this.g_Nj().g_EA().g_pY(); + } + function yg() { + const g = this.g_Be.g_VG().g_Uv(); + let _ = g.g_EK(); + const e = this.g_Be.g_abF(); + for (const a of e) g.g_EF() ? a.g_EA().g_abE(g) && ++_ : a.g_EA() === g && ++_; + return _; + } + function Bg() { + return this.g_Be.g_VG().g_Uv().g_Tu().g_H$().length; + } + function vg() { + return this.g_b_.g_Id(); + } + function Cg() { + return this.g_b_.g_Ei(); + } + const Tg = new g_aO.g_gB(); + g_aO.g_abG = function (rg, sg) { + const Tg = rg[1], + Hg = rg[3], + Ng = rg[4], + xg = rg[5], + qg = rg[6], + Ug = rg[7], + wg = rg[8], + Ig = sg.g_HW, + Dg = sg.g_abH, + Rg = sg.g__$; + Hg && + ((Ig.g_abI = gg), + (Ig.g_abJ = a), + (Ig.g_abK = b), + (Ig.g_abL = c), + (Ig.g_abM = d), + (Dg.g_abn = e), + (Dg.g_abo = f), + (Dg.g_abN = g), + (Dg.g_abO = h), + (Dg.g_abP = i), + (Dg.g_abQ = j), + (Rg.g_abR = k), + (Rg.g_abS = l), + (Rg.g_abT = m)), + Ng && + ((Ig.g_abU = n), + (Ig.g_abV = o), + (Dg.g_Hj = p), + (Dg.g_Hk = q), + (Dg.g_wQ = r), + (Rg.g_abW = s), + (Rg.g_abX = t), + (Rg.g_abY = u), + (Rg.g_abZ = v), + (Rg.g_ab_ = w), + (Rg.g_ab$ = x)), + xg && + ((Ig.g_aca = y), + (Ig.g_acb = z), + (Ig.g_acc = A), + (Dg.g_Fi = B), + (Dg.g_acd = C), + (Dg.g_ace = D), + (Dg.g_acf = E), + (Dg.g_acg = F), + (Dg.g_ach = G), + (Rg.g_aci = H)), + qg && + ((Ig.g_ET = J), + (Ig.g_acj = I), + (Dg.g_EU = K), + (Dg.g_zm = L), + (Dg.g_ack = M), + (Rg.g_acl = O), + (Rg.g_acm = N)), + Ug && + ((Ig.g_acn = P), + (Ig.g_aco = Q), + (Ig.g_acp = R), + (Dg.g_acq = S), + (Dg.g_acr = T), + (Dg.g_acs = U), + (Dg.g_act = V), + (Dg.g_Fh = W), + (Rg.g_acu = X), + (Rg.g_acv = Y), + (Rg.g_acw = Z), + (Rg.g_acx = $), + (Rg.g_acy = _)), + wg && ((Dg.g_acz = _g), (Dg.g_acA = eg)), + Tg || + ((Ig.g_acB = ag), + (Ig.g_acC = tg), + (Ig.g_acD = ng), + (Ig.g_acE = ig), + (Dg.g_acF = ug), + (Dg.g_acG = pg), + (Dg.g_acH = hg), + (Dg.g_acI = cg), + (Dg.g_acJ = fg), + (Ig.g_acK = lg), + (Ig.g_acL = og), + (Dg.g_acM = dg), + !Dg.g_acN && (Dg.g_acN = mg), + !Rg.g_acO && (Rg.g_acO = Eg), + (Rg.g_acP = yg), + (Rg.g_acQ = Bg), + (Rg.g_acR = vg), + (Rg.g_acS = Cg), + (Rg.g_acT = bg)); + }; +} +'use strict', + (g_aO.g_WO = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_TW = g), + (this.g_kL = ''), + (this.g_RW = -1), + (this.g_acU = ''), + (this.g_acV = !1), + (this.g_acW = null), + (this.g_Ud = 0), + (this.g_Yw = []), + (this.g_acX = new Map()), + (this.g_acY = null), + (this.g_acZ = -1), + (this.g__y = null), + (this.g_ac_ = !1); + } + g_ek() { + (this.g_kL = ''), + (this.g_RW = -1), + (this.g_acU = ''), + (this.g_acW = null), + (this.g_acY = null), + (this.g__y = null), + (this.g_acZ = -1), + g_aO.g_fz(this.g_Yw); + for (const g of this.g_acX.values()) g.g_ek(); + this.g_acX.clear(); + } + g_ac$() { + const g = this.g_TW, + _ = g.g_BI().g_EE(), + e = g.g_VG(); + (this.g_acW = e.g_TT()), (this.g_Ud = e.g_Uo() + 1); + const a = g.g_Xq(this.g_acW); + a && ((this.g_acY = a), (this.g__y = a.g__F()), a.g_wz() && (this.g_acZ = a.g__H())); + for (const g of _) { + const _ = g.g_Tu(); + (_.g_TF() && !this.g_acW.g_Zt(g)) || + (this.g_Yw.push(g), this.g_acX.set(g, g_aO.g_ej(g_aO.g_ada, _))); + } + } + g_adb(g) { + (this.g_kL = 'timer'), this.g_ac$(), (this.g_RW = this.g_TW.g_BI().g_Gk() + g); + } + g_adc(g) { + (this.g_kL = 'signal'), this.g_ac$(), (this.g_acU = g.toLowerCase()); + } + g_add(g) { + (this.g_kL = 'promise'), + this.g_ac$(), + g + .then(() => this.g_ade()) + .catch((g) => { + console.warn( + "[C3 runtime] Promise rejected in 'Wait for previous actions to complete': ", + g + ), + this.g_ade(); + }); + } + g_adf() { + return 'timer' === this.g_kL; + } + g_adg() { + return 'signal' === this.g_kL; + } + g_Xm() { + return 'promise' === this.g_kL; + } + g_adh() { + return this.g_acU; + } + g_adi() { + return this.g_acV; + } + g_ade() { + this.g_acV = !0; + } + g_WR() { + return this.g_adf() ? this.g_RW <= this.g_TW.g_BI().g_Gk() : this.g_adi(); + } + g_adj(g) { + g.g_Uj(this.g_acW, this.g_Ud); + for (const [_, e] of this.g_acX.entries()) { + const g = _.g_Tu(); + e.g_Uj(g); + } + const _ = this.g_acY; + _ && (_.g__g(this.g__y), _.g_wz() && _.g__I(this.g_acZ)); + } + g_WS(g) { + this.g_adj(g), + this.g_acW.g_ZX(g), + this.g_acY && this.g_acY.g_wz() && this.g_acY.g__k(this.g_acZ), + this.g_TW.g_WI(this.g_Yw), + (this.g_ac_ = !0); + } + async g_WW(g) { + this.g_adj(g); + for (const _ of this.g_acW.g_ZY(g)) await this.g_TW.g_BI().g_Wp(_); + this.g_acY && this.g_acY.g_wz() && this.g_acY.g__k(this.g_acZ), + this.g_TW.g_WI(this.g_Yw), + (this.g_ac_ = !0); + } + g_WT() { + return this.g_ac_; + } + g_Tz(g) { + for (const _ of this.g_acX.values()) _.g_Tz(g); + } + g_GG() { + const g = {}, + _ = { + t: this.g_RW, + st: this.g_acU, + s: this.g_acV, + ev: this.g_acW.g_EN(), + sm: this.g_Yw.map((g) => g.g_EN()), + sols: g + }; + this.g_acW.g_ZK(this.g_Ud) && (_.act = this.g_acW.g_VK(this.g_Ud).g_EN()); + for (const [_, e] of this.g_acX) g[_.g_EN().toString()] = e.g_GG(); + return _; + } + static g_Xn(_, g) { + const t = _.g_BI(), + a = _.g_VW(g.ev); + if (!a) return null; + let n = 0; + if (g.hasOwnProperty('act')) { + const e = _.g_VY(g.act); + if (!e) return null; + n = e.g_EM(); + } + const i = g_aO.g_ej(g_aO.g_WO, _); + (i.g_RW = g.t), + (i.g_kL = -1 === i.g_RW ? 'signal' : 'timer'), + (i.g_acU = g.st), + (i.g_acV = g.s), + (i.g_acW = a), + (i.g_Ud = n); + for (const e of g.sm) { + const g = t.g_Ib(e); + g && i.g_Yw.push(g); + } + for (const [a, n] of Object.entries(g.sols)) { + const e = parseInt(a, 10), + r = t.g_Ib(e); + if (!r) continue; + const g = g_aO.g_ej(g_aO.g_ada, null); + g.g_GI(_, n), i.g_acX.set(r, g); + } + return i; + } + }), + 'use strict', + (g_aO.g_ada = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Tq = null), + (this.g_adk = !0), + (this.g_CX = []), + g && ((this.g_Tq = g.g_EA()), (this.g_adk = g.g_TF()), g_aO.g_fD(this.g_CX, g.g_TN())); + } + g_ek() { + (this.g_Tq = null), g_aO.g_fz(this.g_CX); + } + g_Uj(g) { + g.g_TM(this.g_adk), g_aO.g_fD(g.g_TN(), this.g_CX); + } + g_Tz(g) { + g_aO.g_fI(this.g_CX, g); + } + g_GG() { + return { sa: this.g_adk, insts: this.g_CX.map((g) => g.g_Ei()) }; + } + g_GI(g, _) { + const e = g.g_BI(); + (this.g_adk = !!_.sa), g_aO.g_fz(this.g_CX); + for (const t of _.insts) { + const g = e.g_NN(t); + g && this.g_CX.push(g); + } + } + }), + 'use strict'; +{ + function _(g, _) { + let e = g.get(_); + return e || ((e = new Map()), g.set(_, e)), e; + } + g_aO.g_adl = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g.runtime), + (this.g_adm = !!g.g_adn), + (this.g_ado = !!g.g_adp), + (this.g_adq = !!g.g_adr), + (this.g_ads = !!g.g_adt), + (this.g_adu = !!g.g_adv), + (this.g_adw = null), + (this.g_adx = new Map()), + (this.g_ady = new Map()), + (this.g_adz = new Map()), + (this.g_adA = new Map()); + } + g_ek() { + this.g_Be = null; + } + g_BI() { + return this.g_Be; + } + g_adB() {} + g_Iq() { + return this.g_adm; + } + g_H_() { + return this.g_ado; + } + g_adC() { + return this.g_adq; + } + g_tt() { + return this.g_ads; + } + g_adD() { + return this.g_adu; + } + g_$d(g, _) { + if (!_) throw new Error("missing 'this' binding"); + let e = this.g_adx.get(g); + return e ? e : ((e = g.bind(_)), this.g_adx.set(g, e), e); + } + g_aay(g, a, t) { + if (!a) throw new Error("missing 'this' binding"); + const n = _(this.g_ady, g); + let e = n.get(t); + return e ? e : ((e = g.bind(a, t)), n.set(t, e), e); + } + g_aaz(a, t, n, i) { + if (!t) throw new Error("missing 'this' binding"); + const e = _(this.g_adz, a), + r = _(e, n); + let g = r.get(i); + return g ? g : ((g = a.bind(t, n, i)), r.set(i, g), g); + } + g_aaA(a, t, n, r, e) { + if (!t) throw new Error("missing 'this' binding"); + const s = _(this.g_adA, a), + g = _(s, n), + d = _(g, r); + let i = d.get(e); + return i ? i : ((i = a.bind(t, n, r, e)), d.set(e, i), i); + } + g_adE(g) { + if (!this.g_Iq()) throw new Error('must be single-global plugin'); + this.g_adw = g; + } + g_adF() { + if (!this.g_Iq()) throw new Error('must be single-global plugin'); + return this.g_adw; + } + g_$i() { + if (!this.g_Iq()) throw new Error('must be single-global plugin'); + return this.g_adw.g_$i(); + } + }; +} +'use strict', + (g_aO.g_adG = class extends g_aO.g_adl { + constructor(g, _) { + super(g), (this.g_adH = _), (this.g_adI = 0), (this.g_adJ = new Map()); + } + g_ek() { + super.g_ek(); + } + g_adK(g) { + const _ = this.g_adI++; + return this.g_adJ.set(_, g), _; + } + g_adL(g) { + this.g_adJ.delete(g); + } + g_adM(g, _) { + this.g_Be.g_adN(this.g_adH, g, (g) => { + const e = this.g_adJ.get(g.elementId); + _(e, g); + }); + } + }), + 'use strict', + (g_aO.g_adO = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_Tq = g), (this.g_Be = g.g_BI()), (this.g_adP = g.g_Ir()); + } + g_ek() { + (this.g_Tq = null), (this.g_Be = null), (this.g_adP = null); + } + g_EA() { + return this.g_Tq; + } + g_BI() { + return this.g_Be; + } + g_Ir() { + return this.g_adP; + } + g_adQ() { + return this.g_Tq.g_adQ(); + } + g_aaL() {} + g_Hx() {} + g_HD() {} + g_HA() {} + g_HS() {} + g_adR() {} + g_adS() { + return null; + } + }), + 'use strict', + (g_aO.g_adT = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_b_ = g), + (this.g_adH = _), + (this.g_Be = g.g_BI()), + (this.g_Tq = this.g_b_.g_EA()), + (this.g_adU = this.g_Tq.g_adV()), + (this.g_JW = null), + (this.g_JY = null), + (this.g_adW = !1), + (this.g_adX = !1), + (this.g_lN = null), + (this.g_ww = !1); + } + g_ek() { + (this.g_ww = !0), + this.g_adY(), + this.g_adZ(), + (this.g_JW = null), + (this.g_JY = null), + this.g_lN && (this.g_lN.g_ek(), (this.g_lN = null)), + (this.g_b_ = null), + (this.g_Be = null), + (this.g_Tq = null), + (this.g_adU = null); + } + g_el() { + return this.g_ww; + } + g_Nj() { + return this.g_b_; + } + g_BI() { + return this.g_Be; + } + g_EA() { + return this.g_Tq; + } + g_Ir() { + return this.g_adU.g_Ir(); + } + g_adV() { + return this.g_adU; + } + g_ad_() { + return this.g_b_.g_ad$(); + } + g_Ku(g) { + return this.g_Be.g_Ku(g, this.g_b_, null); + } + g_aea(g) { + return this.g_Be.g_aea(g, this.g_b_, null); + } + g_HU(g) { + return this.g_Be.g_HU(g, this.g_b_, null); + } + g_aeb(g, _) { + return this.g_Be.g_aeb(g, this.g_b_, _); + } + g_aec(g, _) { + return this.g_Be.g_aec(g, this.g_b_, _); + } + g_aed(g) { + return this.g_Be.g_aed(g); + } + g_aee(g, _) { + this.g_Be.g_adN(this.g_adH, g, _); + } + g_aef(g) { + for (const [_, e] of g) this.g_aee(_, e); + } + g_aeg(g, _) { + this.g_Be.g_aeh(this.g_adH, g, _); + } + g_aei(g, _) { + return this.g_Be.g_BW(this.g_adH, g, _); + } + g_aej(g, _) { + this.g_Be.g_Cn() + ? this.g_aeg(g, _) + : window.c3_runtimeInterface._OnMessageFromRuntime({ + type: 'event', + component: this.g_adH, + handler: g, + data: _, + responseId: null + }); + } + g_Gg() { + return null; + } + g_abs() { + const g = this.g_b_.g_CU(); + return [g.g_Ig(), g.g_Ih()]; + } + g_KZ() {} + g_aek() {} + g_ael() { + this.g_adW || + (!this.g_JW && (this.g_JW = () => this.g_KZ()), + this.g_Be.g_lh().addEventListener('tick', this.g_JW), + (this.g_adW = !0)); + } + g_adY() { + this.g_adW && (this.g_Be.g_lh().removeEventListener('tick', this.g_JW), (this.g_adW = !1)); + } + g_aem() { + return this.g_adW; + } + g_aen() { + this.g_adX || + (!this.g_JY && (this.g_JY = () => this.g_aek()), + this.g_Be.g_lh().addEventListener('tick2', this.g_JY), + (this.g_adX = !0)); + } + g_adZ() { + this.g_adX && (this.g_Be.g_lh().removeEventListener('tick2', this.g_JY), (this.g_adX = !1)); + } + g_aeo() { + return this.g_adX; + } + g_aep() { + return []; + } + g_GH() { + return null; + } + g_GJ() {} + g_aeq() {} + g_aer() {} + g_QF() {} + g_QM() {} + g_Rd(g, _) { + if (0 !== _) { + const e = this.g_QF(g); + if ('number' != typeof e) throw new Error('expected number'); + this.g_QM(g, e + _); + } + } + g_QJ() {} + g_aes(g, ..._) { + g.call(this, ..._); + } + g_aet(g, ..._) { + return g.call(this, ..._); + } + g_adS() { + return null; + } + }), + 'use strict', + (g_aO.g_aeu = class extends g_aO.g_adT { + constructor(g, _) { + super(g, _), (this.g_Nz = g.g_CU()), (this.g_aev = null), (this.g_aew = null); + } + g_ek() { + if (this.g_aev) { + const g = this.g_Be.g_lh(); + g.removeEventListener('webglcontextlost', this.g_aev), + g.removeEventListener('webglcontextrestored', this.g_aew), + (this.g_aev = null), + (this.g_aew = null); + } + (this.g_Nz = null), super.g_ek(); + } + g_aex() { + if (!this.g_aev) { + (this.g_aev = () => this.g_CQ()), (this.g_aew = () => this.g_aey()); + const g = this.g_Be.g_lh(); + g.addEventListener('webglcontextlost', this.g_aev), + g.addEventListener('webglcontextrestored', this.g_aew); + } + } + g_CQ() {} + g_aey() {} + g_CU() { + return this.g_Nz; + } + }), + 'use strict'; +{ + const _ = g_aO.g_ej(g_aO.Rect); + g_aO.g_aez = class extends g_aO.g_aeu { + constructor(g, _) { + super(g, _), + (this.g_aeA = this.g_Ir().g_adK(this)), + (this.g_aeB = !0), + (this.g_aeC = !1), + (this.g_aeD = g_aO.g_ej(g_aO.Rect, 0, 0, -1, -1)); + const e = this.g_Be.g_FO(); + (this.g_aeE = e.g_aeF()), (this.g_aeG = e.g_aeH()), (this.g_aeI = !1), this.g_ael(); + } + g_ek() { + this.g_Ir().g_adL(this.g_aeA), this.g_aeJ('destroy'), (this.g_aeA = -1), super.g_ek(); + } + g_aeJ(g, _) { + _ || (_ = {}), (_.elementId = this.g_aeA), this.g_aeg(g, _); + } + g_aeK(g, _) { + _ || (_ = {}), (_.elementId = this.g_aeA), this.g_aej(g, _); + } + g_aeL(g, _) { + return _ || (_ = {}), (_.elementId = this.g_aeA), this.g_aei(g, _); + } + g_aeM(g) { + g || (g = {}); + const _ = this.g_CU().g_ET(); + (g.elementId = this.g_aeA), + (g.isVisible = _), + Object.assign(g, this.g_aeN()), + (this.g_aeB = !!g.isVisible), + this.g_aeg('create', g), + this.g_aeO(!0); + } + g_aeP(g) { + (g = !!g), + this.g_aeB === g || ((this.g_aeB = g), this.g_aeJ('set-visible', { isVisible: g })); + } + g_KZ() { + this.g_aeO(!1); + } + g_aeQ() { + const g = this.g_Be.g_FO().g_aeR(); + return ( + 'Android' === g_aO.g_bJ.g_bK && ('scale-inner' === g || 'scale-outer' === g || 'crop' === g) + ); + } + g_aeO(a) { + var t = Math.round; + const r = this.g_CU(), + s = r.g_Em(), + e = r.g_Ig(), + d = r.g_Ih(); + let [g, u] = s.g_GC(e, d), + [c, f] = s.g_GC(e + r.g_pN(), d + r.g_pO()); + const E = this.g_Be.g_FO(), + l = E.g_aeS(), + m = E.g_aeT(); + if (!r.g_ET() || !s.g_ET()) return void this.g_aeP(!1); + if (!this.g_aeQ()) { + if (0 >= c || 0 >= f || g >= l || u >= m) return void this.g_aeP(!1); + 1 > g && (g = 1), 1 > u && (u = 1), c >= l && (c = l - 1), f >= m && (f = m - 1); + } + _.set(g, u, c, f); + const n = E.g_aeF(), + o = E.g_aeH(); + if (!a && _.g_l(this.g_aeD) && this.g_aeE === n && this.g_aeG === o) + return void this.g_aeP(!0); + this.g_aeD.g_p(_), (this.g_aeE = n), (this.g_aeG = o), this.g_aeP(!0); + let p = null; + this.g_aeC && (p = s.g_Go() - 0.2), + this.g_aeJ('update-position', { + left: t(this.g_aeD.g_hV()) + E.g_aeU(), + top: t(this.g_aeD.g_hW()) + E.g_aeV(), + width: t(this.g_aeD.width()), + height: t(this.g_aeD.height()), + fontSize: p + }); + } + g_aeW() { + this.g_aeJ('focus', { focus: !0 }); + } + g_aeX() { + this.g_aeJ('focus', { focus: !1 }); + } + g_aeY(g, _) { + this.g_aeJ('set-css-style', { prop: g_aO.g_gz(g), val: _ }); + } + g_aeZ() { + this.g_aeI || + ((this.g_aeI = !0), + Promise.resolve().then(() => { + (this.g_aeI = !1), this.g_aeJ('update-state', this.g_aeN()); + })); + } + g_aeN() {} + g_ae_() { + return this.g_aeA; + } + }; +} +'use strict', + (g_aO.g_ae$ = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g.runtime), + (this.g_afa = g_aO.g_ej(g_aO.g_jx)), + (this.g_afb = g_aO.g_ej(g_aO.g_jx)), + (this.g_afc = null); + const _ = g.g_afd; + if (!_) this.g_afc = new g_afe(this); + else if (((this.g_afc = new _(this)), !(this.g_afc instanceof g_afe))) + throw new TypeError('script interface class must derive from IBehavior'); + } + g_ek() { + this.g_afb.g_ek(), this.g_afa.g_ek(), (this.g_Be = null); + } + g_BI() { + return this.g_Be; + } + g_adB() {} + g_aff(g) { + this.g_afa.g_jB(g); + } + g_Kz() { + return this.g_afa.g_jD(); + } + g_El(g) { + this.g_afb.g_jB(g); + } + g_Eq(g) { + this.g_afb.g_jt(g); + } + g_H$() { + return this.g_afb.g_jD(); + } + g_afg() { + return this.g_afc; + } + }), + 'use strict', + (g_aO.g_afh = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g.g_BI()), + (this.g_$t = g), + (this.g_Tq = g.g_EA()), + (this.g_afi = g.g_afj()), + this.g_afi.g_aff(this.g_Tq); + } + g_ek() { + (this.g_Be = null), (this.g_$t = null), (this.g_Tq = null), (this.g_afi = null); + } + g_NZ() { + return this.g_$t; + } + g_EA() { + return this.g_Tq; + } + g_BI() { + return this.g_Be; + } + g_afj() { + return this.g_afi; + } + }), + 'use strict', + (g_aO.g_afk = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_afl = g), + (this.g_adH = _), + (this.g_b_ = g.g_afm()), + (this.g_Be = g.g_BI()), + (this.g_$t = g.g_NZ()), + (this.g_adU = this.g_$t.g_adV()), + (this.g_adW = !1), + (this.g_adX = !1), + (this.g_afn = !1), + (this.g_lN = null); + } + g_ek() { + this.g_adY(), + this.g_adZ(), + this.g_afo(), + this.g_lN && (this.g_lN.g_ek(), (this.g_lN = null)), + (this.g_afl = null), + (this.g_b_ = null), + (this.g_Be = null), + (this.g_$t = null), + (this.g_adU = null); + } + g_afj() { + return this.g_$t.g_afj(); + } + g_afp() { + return this.g_afl; + } + g_afm() { + return this.g_b_; + } + g_EA() { + return this.g_b_.g_EA(); + } + g_CU() { + return this.g_b_.g_CU(); + } + g_BI() { + return this.g_Be; + } + g_NZ() { + return this.g_$t; + } + g_adV() { + return this.g_adU; + } + g_Ku(g) { + return this.g_Be.g_Ku(g, this.g_b_, this.g_$t); + } + g_aea(g) { + return this.g_Be.g_aea(g, this.g_b_, this.g_$t); + } + g_HU(g) { + return this.g_Be.g_HU(g, this.g_b_, this.g_$t); + } + g_afq() {} + g_KZ() {} + g_aek() {} + g_afr() {} + g_ael() { + this.g_adW || (this.g_Be.g_afs(this), (this.g_adW = !0)); + } + g_adY() { + this.g_adW && (this.g_Be.g_aft(this), (this.g_adW = !1)); + } + g_aem() { + return this.g_adW; + } + g_aen() { + this.g_adX || (this.g_Be.g_afu(this), (this.g_adX = !0)); + } + g_adZ() { + this.g_adX && (this.g_Be.g_afv(this), (this.g_adX = !1)); + } + g_aeo() { + return this.g_adX; + } + g_afw() { + this.g_afn || (this.g_Be.g_afx(this), (this.g_afn = !0)); + } + g_afo() { + this.g_afn && (this.g_Be.g_afy(this), (this.g_afn = !1)); + } + g_afz() { + return this.g_afn; + } + g_aep() { + return []; + } + g_aee(g, _) { + this.g_Be.g_adN(this.g_adH, g, _); + } + g_afA() {} + g_GH() { + return null; + } + g_GJ() {} + g_QF() {} + g_QM() {} + g_Rd(g, _) { + if (0 !== _) { + const e = this.g_QF(g); + if ('number' != typeof e) throw new Error('expected number'); + this.g_QM(g, e + _); + } + } + g_QJ() {} + g_aes(g, ..._) { + g.call(this, ..._); + } + g_aet(g, ..._) { + return g.call(this, ..._); + } + g_adS() { + return null; + } + }), + 'use strict'; +{ + function _(_, t) { + const a = _[0], + n = t[0], + i = a - n; + if (0 != i) return i; + const e = _[1], + r = t[1]; + return e - r; + } + let t = null; + const g = new Set(), + n = [], + r = []; + let e = !1; + self.g_afB = class { + constructor(_, a) { + (t = _), + Object.defineProperties(this, { + g_afC: { value: t.g_afD().g_Cy(), writable: !1 }, + g_afE: { value: a, writable: !1 }, + g_afF: { value: {}, writable: !1 }, + g_afG: { value: t.g_afH(), writable: !1 }, + g_afI: { value: t.g_afJ(), writable: !1 }, + storage: { value: new g_afK(t), writable: !1 }, + g_afL: { value: t.g_Cn(), writable: !1 } + }), + t + .g_IA() + .addEventListener('keydown', (_) => + g.has(_.key) ? void _.stopPropagation() : void g.add(_.key) + ), + t.g_IA().addEventListener('keyup', (_) => g.delete(_.key)), + t.g_lh().addEventListener('window-blur', () => g.clear()), + t.g_Cn() && + (self.alert = (g) => ( + e || + ((e = !0), + console.warn( + "[Construct 3] alert() was called from a Web Worker, because the project 'Use worker' setting is enabled. This method is not normally available in a Web Worker. Construct has implemented the alert for you, but note that other features may be missing in worker mode. You may wish to disable 'Use worker', or use a more convenient function like console.log(). For more information please refer to the scripting section of the manual." + )), + this.alert(g) + )); + } + g_afM(g) { + Object.defineProperties(this.g_afF, g); + } + addEventListener(g, _) { + t.g_IA().addEventListener(g, _); + } + removeEventListener(g, _) { + t.g_IA().removeEventListener(g, _); + } + g_afN(_, ...a) { + const n = t.g_ED(), + r = n.g_VZ(_); + if (!r) throw new Error(`cannot find function name '${_}'`); + if (!r.g_jp()) return r.g_Xt(); + if (a.length < r.g__E()) + throw new Error( + `not enough function parameters passed for '${_}' (${ + a.length + } passed, ${r.g__E()} expected)` + ); + const e = r.g_Xv(); + let s = null; + const d = n.g_TT(); + if (d) { + const g = d.g_Xx(); + 0 < g.length && ((s = g), n.g_WK(g)); + } + const l = e.g_Xw(e.g_Xx(), r.g_Xy(), r.g_Xt(), ...a); + return s && n.g_WM(s), l; + } + g_afO(g) { + const _ = t.g_TB().g_Ua(); + if (!_) throw new Error('not in a function which returns a value'); + switch (_.g_Ux()) { + case 1: + 'number' == typeof g && _.g_Uy(g); + break; + case 2: + 'string' == typeof g && _.g_Uy(g); + break; + case 3: + ('number' == typeof g || 'string' == typeof g) && _.g_Uy(g); + } + } + get g_abT() { + return t.g_KW(); + } + get g_afP() { + return t.g_Gk(); + } + get g_afQ() { + return t.g_afR(); + } + random() { + return t.g_afS(); + } + get g_Jv() { + return t.g_Is().g_Iz(); + } + g_afT(g) { + const _ = t.g_Wy(); + let e = null; + if ('number' == typeof g || 'string' == typeof g) e = _.g_EL(g); + else throw new TypeError('expected string or number'); + if (!e) throw new Error('invalid layout'); + return e.g_Iz(); + } + g_afU() { + return t + .g_Wy() + .g_IV() + .map((g) => g.g_Iz()); + } + g_afV(g) { + const _ = t.g_Wy(); + let e = null; + if ('number' == typeof g || 'string' == typeof g) e = _.g_EL(g); + else throw new TypeError('expected string or number'); + if (!e) throw new Error('invalid layout'); + _.g_Ja() || _.g_I$(e); + } + get keyboard() { + const g = t.g_afW().keyboard; + if (!g) + throw new Error( + 'runtime.keyboard used but Keyboard object missing - add it to your project first' + ); + return g; + } + get g_afX() { + const g = t.g_afW().g_afX; + if (!g) + throw new Error( + 'runtime.mouse used but Mouse object missing - add it to your project first' + ); + return g; + } + get g_afY() { + const g = t.g_afW().g_afY; + if (!g) + throw new Error( + 'runtime.touch used but Touch object missing - add it to your project first' + ); + return g; + } + g_afZ(g, _) { + t.g_af_(g, _); + } + g_af$(g) { + const _ = t.g_NN(g); + return _ ? _.g_ad$() : null; + } + g_aga(e, i) { + const s = t.g_ZC(); + for (const g of e) { + const _ = t.g_agb(g); + if (!_ || !_.g_CU()) throw new Error('invalid instance'); + const e = _.g_CU(); + n.push([e.g_Em().g_EM(), e.g_Fz()]), r.push(_); + } + if (0 === n.length) return; + n.sort(_), r.sort((g, _) => i(g.g_ad$(), _.g_ad$())); + let g = !1; + for (let _ = 0, a = n.length; _ < a; ++_) { + const e = r[_], + a = s.g_Ho(n[_][0]), + t = n[_][1], + d = a.g_Fm(); + d[t] !== e && ((d[t] = e), e.g_CU().g_Ia(a), a.g_Ek(), (g = !0)); + } + g && t.g_EV(), g_aO.g_fz(n), g_aO.g_fz(r); + } + alert(g) { + return t.g_BW('runtime', 'alert', { message: g }); + } + }; +} +{ + let _ = null; + self.g_BH = class { + constructor(g) { + (_ = g), + Object.defineProperties(this, { + g_agc: { value: _.g_Co('audio/webm; codecs=opus'), writable: !1 } + }); + } + g_agd(g) { + return _.g_gb(g); + } + g_age(g) { + return _.g_gc(g); + } + g_agf(g) { + return _.g_gd(g); + } + g_agg(g) { + return _.g_ge(g); + } + g_agh(g) { + return _.g_BZ(g); + } + g_agi(g) { + return g_aO.g_f_(g) && (g = g.toLowerCase()), _.g_BY(g, _.g_BK()); + } + get g_agj() { + return _.g_BK(); + } + async g_agk(a, t) { + if (this.g_agc) + throw new Error( + 'decodeWebMOpus(): not supported because WebM Opus is supported by the platform' + ); + const n = await _.g_BI().g_agl(t), + i = new Float32Array(n), + e = a.createBuffer(1, i.length, 48e3), + r = e.getChannelData(0); + return r.set(i), e; + } + g_agm(...g) { + return _.g_Cz(...g); + } + g_agn(g) { + return _.g_CA(g); + } + g_ago(g) { + return _.g_CB(g); + } + }; +} +'use strict', + (self.g_afK = class { + constructor(g) { + this.g_agp = g.g_agq(); + } + getItem(g) { + return this.g_agp.getItem(g); + } + setItem(g, _) { + return this.g_agp.setItem(g, _); + } + removeItem(g) { + return this.g_agp.removeItem(g); + } + clear() { + return this.g_agp.clear(); + } + keys() { + return this.g_agp.keys(); + } + }), + 'use strict'; +{ + const _ = new WeakMap(); + self.g_agr = class { + constructor(g) { + _.set(this, g), + Object.defineProperties(this, { name: { value: g.g_pY(), writable: !1 } }), + g.g_BI().g_ags(this, g); + } + g_agt() { + return _.get(this) + .g_H$() + .map((g) => g.g_ad$()); + } + g_agu() { + const g = _.get(this).g_H$(); + return 0 < g.length ? g[0].g_ad$() : null; + } + g_agv() { + return _.get(this) + .g_Tu() + .g_H$() + .map((g) => g.g_ad$()); + } + g_agw() { + const g = _.get(this).g_Tu().g_H$(); + return 0 < g.length ? g[0].g_ad$() : null; + } + *g_agx() { + for (const g of _.get(this).g_H$()) yield g.g_ad$(); + } + *g_agy() { + for (const g of _.get(this).g_Tu().g_H$()) yield g.g_ad$(); + } + g_agz(g) { + const e = _.get(this); + if (0 < e.g_EK()) + throw new Error( + 'setInstanceClass() called too late, because instances have already been created - call in runOnStartup' + ); + _.get(this).g_agA(g); + } + g_cg(a, t, n) { + if ('number' != typeof a && 'string' != typeof a) + throw new TypeError('invalid layer parameter'); + const r = _.get(this), + e = r.g_BI(), + s = e.g_Is().g_Em(a); + if (!s) throw new Error('invalid layer'); + const g = e.g_agB(r, s, t, n), + d = e.g_ED(); + if ((d.g_EH(!0), g.g_EI(), g.g_EJ())) for (const _ of g.siblings()) _.g_EI(); + return d.g_EH(!1), g.g_ad$(); + } + }; +} +{ + const g = new WeakMap(); + self.g_Hd = class { + constructor(_) { + g.set(this, _), + Object.defineProperties(this, { + name: { value: _.g_pY(), writable: !1 }, + index: { value: _.g_EM(), writable: !1 } + }); + } + addEventListener(_, e) { + g.get(this).g_IA().addEventListener(_, e); + } + removeEventListener(_, e) { + g.get(this).g_IA().removeEventListener(_, e); + } + get width() { + return g.get(this).g_pN(); + } + set width(_) { + g.get(this).g_Hj(_); + } + get height() { + return g.get(this).g_pO(); + } + set height(_) { + g.get(this).g_Hk(_); + } + scrollTo(_, e) { + const a = g.get(this); + a.g_Hg(_), a.g_Hh(e); + } + g_agC(_) { + const e = g.get(this); + let a = null; + if ('number' == typeof _ || 'string' == typeof _) a = e.g_Em(_); + else throw new TypeError('expected string or number'); + if (!a) throw new Error('invalid layer'); + return a.g_GK(); + } + g_agD() { + return g + .get(this) + .g_Hm() + .map((g) => g.g_GK()); + } + }; +} +{ + const g = new WeakMap(); + self.g_DW = class { + constructor(_) { + g.set(this, _), + Object.defineProperties(this, { + name: { value: _.g_pY(), writable: !1 }, + index: { value: _.g_EM(), writable: !1 }, + g_Jv: { value: _.g_EL().g_Iz(), writable: !1 } + }); + } + static g_agE(_) { + return g.get(_); + } + get g_agF() { + return g.get(this).g_ET(); + } + set g_agF(_) { + g.get(this).g_EU(_); + } + get opacity() { + return g.get(this).g_zk(); + } + set opacity(_) { + (_ = g_aO.g_ep(+_, 0, 1)), isNaN(_) || g.get(this).g_zm(_); + } + g_agG() { + return g.get(this).g_EW().g_hZ(); + } + }; +} +{ + function g(g) { + let _ = e.get(g); + return _ ? _ : ((_ = g_aO.g_ej(g_aO.Event.g_lh)), e.set(g, _), _); + } + const _ = new WeakMap(), + e = new WeakMap(); + let t = null; + self.g_agH = class { + constructor() { + _.set(this, t); + const g = { + runtime: { value: t.g_BI().g__r(), writable: !1 }, + g_agI: { value: t.g_EA().g_agJ(), writable: !1 }, + g_agK: { value: t.g_Ei(), writable: !1 } + }; + t.g_agL(g), t.g_agM(g), Object.defineProperties(this, g), t.g_BI().g_ags(this, t); + } + static g_ac$(g) { + t = g; + } + static g_agN() { + return t; + } + g_nP() { + const g = e.get(this); + g && (g.g_ek(), e.delete(this)), _.delete(this); + } + addEventListener(_, e, a) { + g(this).addEventListener(_, e, a); + } + removeEventListener(_, e, a) { + g(this).removeEventListener(_, e, a); + } + dispatchEvent(_) { + g(this).dispatchEvent(_); + } + g_agO() { + const g = _.get(this); + g.g_BI().g_EB(g); + } + }; +} +{ + const g = new WeakMap(), + _ = new Map([ + ['normal', 0], + ['additive', 1], + ['copy', 3], + ['destination-over', 4], + ['source-in', 5], + ['destination-in', 6], + ['source-out', 7], + ['destination-out', 8], + ['source-atop', 9], + ['destination-atop', 10] + ]), + e = new Map([..._.entries()].map((g) => [g[1], g[0]])), + t = g_aO.g_ej(g_aO.g_gB); + self.g_agP = class extends g_agH { + constructor() { + super(); + const _ = g_agH.g_agN(); + g.set(this, _); + const t = [], + n = _.g_CU(), + a = n.g_Gd(); + if (a) { + const g = n.g_EA().g_EP().g_agQ().length; + for (let _ = 0; _ < g; ++_) t.push(new g_agR(n, _)); + } + Object.defineProperties(this, { g_agS: { value: t, writable: !1 } }); + } + get g_Jv() { + return g.get(this).g_CU().g_EL().g_Iz(); + } + get g_Ju() { + return g.get(this).g_CU().g_Em().g_GK(); + } + get x() { + return g.get(this).g_CU().g_Ig(); + } + set x(_) { + _ = +_; + const e = g.get(this).g_CU(); + isNaN(_) || e.g_Ig() === _ || (e.g_abn(_), e.g_En()); + } + get y() { + return g.get(this).g_CU().g_Ih(); + } + set y(_) { + _ = +_; + const e = g.get(this).g_CU(); + isNaN(_) || e.g_Ih() === _ || (e.g_abo(_), e.g_En()); + } + get g_agT() { + return g.get(this).g_CU().g_Do(); + } + set g_agT(_) { + _ = +_; + const e = g.get(this), + t = e.g_CU(); + t.g_Do() === _ || (t.g_Fh(_), e.g_BI().g_EV()); + } + get g_agU() { + return g.get(this).g_CU().g_Jg(); + } + get width() { + return g.get(this).g_CU().g_pN(); + } + set width(_) { + _ = +_; + const e = g.get(this).g_CU(); + isNaN(_) || e.g_pN() === _ || (e.g_Hj(_), e.g_En()); + } + get height() { + return g.get(this).g_CU().g_pO(); + } + set height(_) { + _ = +_; + const e = g.get(this).g_CU(); + isNaN(_) || e.g_pO() === _ || (e.g_Hk(_), e.g_En()); + } + get angle() { + return g.get(this).g_CU().g_Fj(); + } + set angle(_) { + _ = g_aO.g_eq(+_); + const e = g.get(this).g_CU(); + isNaN(_) || e.g_Fj() === _ || (e.g_Fi(_), e.g_En()); + } + get g_agV() { + return g_aO.g_es(this.angle); + } + set g_agV(g) { + this.angle = g_aO.g_er(g); + } + g_iR() { + return g.get(this).g_CU().g_Gi().g_hZ(); + } + g_agW() { + return g.get(this).g_CU().g_agX().g_iM(); + } + get g_agF() { + return g.get(this).g_CU().g_ET(); + } + set g_agF(_) { + _ = !!_; + const e = g.get(this), + t = e.g_CU(); + t.g_ET() === _ || (t.g_EU(_), e.g_BI().g_EV()); + } + get opacity() { + return g.get(this).g_CU().g_zk(); + } + set opacity(_) { + _ = g_aO.g_ep(+_, 0, 1); + const e = g.get(this), + t = e.g_CU(); + isNaN(_) || t.g_zk() === _ || (t.g_zm(_), e.g_BI().g_EV()); + } + set g_agY(_) { + if (3 > _.length) throw new Error('expected 3 elements'); + t.g_gH(_[0], _[1], _[2]); + const a = g.get(this), + n = a.g_CU(); + n.g_QI().g_gV(t) || (n.g_abw(t), a.g_BI().g_EV()); + } + get g_agY() { + const _ = g.get(this).g_CU().g_QI(); + return [_.g_gP(), _.g_gQ(), _.g_gR()]; + } + set g_agZ(a) { + const t = _.get(a); + if ('number' != typeof t) throw new Error('invalid blend mode'); + const n = g.get(this), + e = n.g_CU(); + e.g_Ex(t), n.g_BI().g_EV(); + } + get g_agZ() { + return e.get(g.get(this).g_CU().g_Ey()); + } + g_ag_() { + g.get(this).g_CU().g_abx(); + } + g_ag$() { + g.get(this).g_CU().g_aby(); + } + g_aha(_) { + const e = g_DW.g_agE(_); + if (!e) throw new Error('invalid layer'); + g.get(this).g_CU().g_abz(e); + } + g_ahb(_, e) { + g.get(this).g_CU().g_abB(g.get(_), e); + } + g_iq(_, e) { + return g.get(this).g_CU().g_ahc(+_, +e); + } + g_ahd(_) { + const t = g.get(this), + e = g.get(_); + return t.g_BI().g_ahf().g_ahe(t, e); + } + g_ahg() { + const _ = g.get(this), + e = _.g_BI().g_ahf().g_ahh(_); + return e ? e.g_ad$() : null; + } + }; +} +{ + const g = new WeakMap(); + self.g_ahi = class extends g_agP { + constructor() { + super(), g.set(this, g_agH.g_agN()); + } + focus() { + g.get(this).g_Qd().g_aeW(); + } + blur() { + g.get(this).g_Qd().g_aeX(); + } + g_ahj(_, e) { + g.get(this).g_Qd().g_aeY(_, e); + } + }; +} +{ + const g = new WeakMap(); + let _ = null; + self.g_ahk = class { + constructor() { + g.set(this, _); + const e = { + runtime: { value: _.g_BI().g__r(), writable: !1 }, + behavior: { value: _.g_afj().g_afg(), writable: !1 } + }; + Object.defineProperties(this, e); + } + static g_ac$(g) { + _ = g; + } + static g_agN() { + return _; + } + get g_Ke() { + return g.get(this).g_afm().g_ad$(); + } + }; +} +{ + const g = new WeakMap(); + self.g_afe = class { + constructor(_) { + g.set(this, _); + const e = { runtime: { value: _.g_BI().g__r(), writable: !1 } }; + Object.defineProperties(this, e); + } + g_agt() { + return g + .get(this) + .g_H$() + .map((g) => g.g_ad$()); + } + }; +} +{ + const g = new WeakMap(); + self.g_agR = class { + constructor(_, e) { + g.set(this, _), Object.defineProperties(this, { index: { value: e, writable: !1 } }); + } + get name() { + const _ = g.get(this), + e = _.g_EA().g_EP().g_agQ(); + return e[this.index].g_pY(); + } + get isActive() { + const _ = g.get(this), + e = _.g_Gd(); + return e.g_Qf(this.index); + } + set isActive(_) { + _ = !!_; + const a = g.get(this), + t = a.g_Gd(); + t.g_Qf(this.index) === _ || (t.g_abC(this.index, _), t.g_abD(), a.g_BI().g_EV()); + } + setParameter(_, t) { + _ = Math.floor(+_); + const n = g.get(this), + i = n.g_Gd(), + e = i.g_Gh(this.index); + if (0 > _ || _ >= e.length) throw new RangeError('invalid effect parameter index'); + const r = e[_]; + if (r instanceof g_aO.g_gB) { + if (!Array.isArray(t) || 3 > t.length) + throw new TypeError('expected array with 3 elements'); + const g = t[0], + _ = t[1], + a = t[2]; + if (r.g_gW(g, _, a)) return; + r.g_gH(g, _, a); + } else { + if ('number' != typeof t) throw new TypeError('expected number'); + if (r === t) return; + e[_] = t; + } + i.g_Qf(this.index) && n.g_BI().g_EV(); + } + getParameter(_) { + _ = Math.floor(+_); + const t = g.get(this), + n = t.g_Gd(), + i = n.g_Gh(this.index); + if (0 > _ || _ >= i.length) throw new RangeError('invalid effect parameter index'); + const e = i[_]; + return e instanceof g_aO.g_gB ? [e.g_gP(), e.g_gQ(), e.g_gR()] : e; + } + }; +} +'use strict', + (g_aO.g_HY = {}), + (g_aO.g_ahl = {}), + (g_aO.g_ahm = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_ahn = []), + (this.g_aho = new Map()), + (this.g__Z = null), + (this.g_ahp = []), + (this.g_ahq = new Map()), + (this.g_ahr = null), + (this.g_ahs = null); + } + g_aht(g) { + const _ = this.g_Be.g__p(g[0]); + if (!_) throw new Error('missing plugin'); + g_aO.g_abG(g, _); + const e = g_aO.g_ej(_, { + runtime: this.g_Be, + g_adn: g[1], + g_adp: g[2], + g_adr: g[5], + g_adv: g[8], + g_adt: g[9] + }); + e.g_adB(), this.g_ahn.push(e), this.g_aho.set(_, e); + } + g_ahu() { + (this.g__Z = g_aO.g_ej(g_aO.g_HY.g_HX, { runtime: this.g_Be, g_adn: !0 })), this.g__Z.g_adB(); + } + g_ahv(g) { + const _ = this.g_Be.g__p(g[1]); + if (!_) throw new Error('missing behavior'); + const e = g_aO.g_ej(_, { runtime: this.g_Be }); + e.g_adB(), + this.g_ahp.push(e), + this.g_ahq.set(_, e), + !this.g_ahr && g_aO.g_ahl.g_ahw && e instanceof g_aO.g_ahl.g_ahw + ? (this.g_ahr = e) + : !this.g_ahs && g_aO.g_ahl.g_ahx && e instanceof g_aO.g_ahl.g_ahx && (this.g_ahs = e); + } + g_ahy(g) { + return this.g_aho.get(g) || null; + } + g_ahz(g) { + return this.g_ahq.has(g); + } + g_ahA(g) { + return this.g_ahq.get(g) || null; + } + g___() { + return this.g__Z; + } + g_ahB() { + return this.g_ahr; + } + g_ahC() { + return this.g_ahs; + } + }), + 'use strict'; +{ + const g = new Set(); + g_aO.g_ahD = class extends g_aO.g_eh { + constructor() { + super(), + (this.g_CE = ''), + (this.g_CF = 0), + (this.g_qZ = 0), + (this.g_ahE = 0), + (this.g_ahF = 0), + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_ahG = !1), + (this.g_ahH = null), + (this.g_ahI = ''), + (this.g_wp = g_aO.g_ej(g_aO.Rect)), + g.add(this); + } + g_ek() { + this.g_wt(), (this.g_ahH = null), g.delete(this); + } + static g_CQ() { + for (const _ of g) (_.g_ahI = ''), _.g_wp.set(0, 0, 0, 0); + } + g_ahJ(g) { + (this.g_CE = g[0]), + (this.g_CF = g[1]), + (this.g_qZ = g[2]), + (this.g_ahE = g[3]), + (this.g_ahF = g[4]), + (this.g_pu = g[5]), + (this.g_pv = g[6]), + (this.g_ahG = !0); + } + g_ahK(g) { + (this.g_CE = g[0]), + (this.g_CF = g[1]), + (this.g_ahE = g[2]), + (this.g_ahF = g[3]), + (this.g_pu = g[4]), + (this.g_pv = g[5]), + (this.g_qZ = g[11]), + (this.g_ahG = !0); + } + g_ahL(g, _) { + if (this.g_ahH) throw new Error('already loaded asset'); + this.g_CE = _; + const e = {}; + return g_aO.g_fZ(_) && (e.g_Ca = 'remote'), this.g_ahM(g, e), this.g_ahH.g_Cd(); + } + g_ahN(g) { + if (g === this) throw new Error('cannot replace with self'); + this.g_wt(), + (this.g_CE = g.g_CE), + (this.g_CF = g.g_CF), + (this.g_qZ = g.g_qZ), + (this.g_ahE = g.g_ahE), + (this.g_ahF = g.g_ahF), + (this.g_pu = g.g_pu), + (this.g_pv = g.g_pv), + (this.g_ahG = g.g_ahG), + (this.g_ahH = g.g_ahH), + (this.g_ahI = g.g_ahI), + (this.g_wp = g.g_wp); + } + g_Cc() { + return this.g_CE; + } + g_jv() { + return this.g_CF; + } + g_ahO() { + return this.g_qZ; + } + g_ahP() { + return this.g_ahE; + } + g_ahQ() { + return this.g_ahF; + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_ahR() { + return this.g_ahH.g_pN(); + } + g_ahS() { + return this.g_ahH.g_pO(); + } + g_ahM(g, _) { + if (this.g_ahH) throw new Error('already got asset'); + (_ = Object.assign({}, _, { url: this.g_Cc(), size: this.g_jv() })), (this.g_ahH = g.g_B$(_)); + } + g_CK() { + return this.g_ahH && this.g_ahH.g_CK(); + } + async g_CR(g, _) { + if (!this.g_ahH) throw new Error('no asset'); + if (this.g_ahI) throw new Error('already loaded texture'); + this.g_ahI = 'loading'; + const e = await this.g_ahH.g_CR(g, _); + return e + ? ((this.g_ahI = 'loaded'), + this.g_ahG || ((this.g_pu = e.g_pN()), (this.g_pv = e.g_pO()), (this.g_ahG = !0)), + this.g_wp.set(this.g_ahE, this.g_ahF, this.g_ahE + this.g_pu, this.g_ahF + this.g_pv), + this.g_wp.g_N(e.g_pN(), e.g_pO()), + e) + : ((this.g_ahI = ''), null); + } + g_wt() { + this.g_ahI && (this.g_ahH && this.g_ahH.g_wt(), (this.g_ahI = ''), this.g_wp.set(0, 0, 0, 0)); + } + g_rQ() { + return this.g_ahH ? this.g_ahH.g_rQ() : null; + } + g_xg() { + return this.g_wp; + } + async g_ahT() { + const g = await this.g_ahH.g_CS(), + _ = g_aO.g_gk(this.g_pu, this.g_pv), + e = _.getContext('2d'); + return ( + e.drawImage(g, this.g_ahE, this.g_ahF, this.g_pu, this.g_pv, 0, 0, this.g_pu, this.g_pv), _ + ); + } + }; +} +'use strict', + (g_aO.g_ahU = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_en = g[0]), + (this.g_ahV = g[1]), + (this.g_aad = !!g[2]), + (this.g_Rx = g[3]), + (this.g_ahW = g[4]), + (this.g_ahX = !!g[5]), + (this.g_Ds = g[6]), + (this.g_ahY = g[7].map((g) => g_aO.g_ej(g_aO.g_ahZ, g))); + } + g_ek() { + for (const g of this.g_ahY) g.g_ek(); + g_aO.g_fz(this.g_ahY); + } + g_ah_(g) { + for (const _ of this.g_ahY) _.g_adQ().g_ahM(g); + } + g_ah$(g, _) { + return Promise.all(this.g_ahY.map((e) => e.g_adQ().g_CR(g, _))); + } + g_aia() { + for (const g of this.g_ahY) g.g_adQ().g_wt(); + } + g_pY() { + return this.g_en; + } + g_EN() { + return this.g_Ds; + } + g_aib() { + return this.g_ahY.length; + } + g_aic() { + return this.g_ahY; + } + g_aid(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_ahY.length)) + throw new RangeError('invalid frame'); + return this.g_ahY[g]; + } + g_aie() { + return this.g_ahV; + } + g_ZM() { + return this.g_aad; + } + g_Mi() { + return this.g_Rx; + } + g_aif() { + return this.g_ahW; + } + g_aig() { + return this.g_ahX; + } + }), + 'use strict', + (g_aO.g_ahZ = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_aih = g_aO.g_ej(g_aO.g_ahD)), + this.g_aih.g_ahK(g), + (this.g_aii = g[6]), + (this.g_aij = g_aO.g_ej(g_aO.g_hA, g[7], g[8])), + (this.g_aik = g[9].map((g) => g_aO.g_ej(g_aO.g_ail, this, g))), + (this.g_aim = new Map()); + for (const _ of this.g_aik) this.g_aim.set(_.g_pY().toLowerCase(), _); + this.g_ain = null; + const _ = g[10]; + 6 <= _.length && (this.g_ain = g_aO.g_ej(g_aO.g_i_, _)); + } + g_ek() { + this.g_ain && (this.g_ain.g_ek(), (this.g_ain = null)), + this.g_aih.g_ek(), + (this.g_aih = null); + } + g_adQ() { + return this.g_aih; + } + g_aio() { + return this.g_aii; + } + g_QX() { + return this.g_aij.g_hE(); + } + g_QZ() { + return this.g_aij.g_hG(); + } + g_aip() { + return this.g_ain; + } + g_aiq(g) { + return this.g_aim.get(g.toLowerCase()) || null; + } + g_air(g) { + return (g = Math.floor(g)), 0 > g || g >= this.g_aik.length ? null : this.g_aik[g]; + } + g_ais() { + return this.g_aik.length; + } + }), + 'use strict', + (g_aO.g_ail = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_ait = g), + (this.g_en = _[0]), + (this.g_aiu = g_aO.g_ej(g_aO.g_hA, _[1], _[2])); + } + g_ek() {} + g_pY() { + return this.g_en; + } + g_Ig() { + return this.g_aiu.g_hE(); + } + g_Ih() { + return this.g_aiu.g_hG(); + } + g_aiv() { + return this.g_aiu; + } + }), + 'use strict', + (g_aO.g_aiw = class extends g_aO.g_eh { + constructor(g, _, a) { + super(); + const t = g.g__p(a[1]); + if ( + ((this.g_Be = g), + (this.g_adP = g.g_aix().g_ahy(t)), + (this.g_adU = null), + (this.g_aiy = t.Instance), + (this.g_Dr = _), + (this.g_Ds = a[11]), + (this.g_en = a[0]), + (this.g__M = this.g_Be.g_VT(a[14])), + (this.g_aiz = !!a[9]), + (this.g_aiA = !!a[2]), + (this.g_aiB = !!a[10]), + (this.g_aiC = a[3].map((_) => ({ + g_aiD: _[0], + type: _[1], + name: _[2], + g_aiE: g.g_VT(_[3]) + }))), + (this.g_aiF = a[4]), + (this.g_aiG = a[5]), + (this.g_ado = this.g_adP.g_H_()), + (this.g_DO = null), + (this.g_aiH = g_aO.g_ej(g_aO.g_aiI, g.g_DY(), g.g_DZ())), + (this.g_aiJ = !0), + (this.g_aiK = !1), + (this.g_aiL = null), + (this.g_aiM = null), + (this.g_aiN = -1), + (this.g_aiO = null), + (this.g_aiP = null), + (this.g_aiQ = null), + (this.g_aiR = null), + (this.g_aiS = null), + (this.g_aiT = !1), + (this.g_aiU = null), + (this.g_aiV = a[8].map((g) => g_aO.g_aiW.g_sf(this, g))), + (this.g_aiX = []), + (this.g_aiY = new Map()), + (this.g_aiZ = new Map()), + (this.g_ai_ = new Set()), + (this.g_ai$ = g_aO.g_ej(g_aO.g_Tp, this)), + (this.g_aja = null), + (this.g_ajb = 0), + (this.g_ajc = !1), + (this.g_aiU = null), + (this.g_aih = null), + (this.g_ajd = null), + (this.g_aje = null), + (this.g_ajf = null), + (this.g_ajg = 0), + (this.g_aai = new Map()), + (this.g_aaj = new Map()), + (this.g_CX = []), + (this.g_ajh = !0), + this.g_adP.g_adD() && (this.g_DO = g_aO.g_ej(g_aO.g_DP, this, a[12])), + a[6] && ((this.g_aih = g_aO.g_ej(g_aO.g_ahD)), this.g_aih.g_ahJ(a[6])), + a[7]) + ) { + (this.g_ajd = a[7].map((g) => g_aO.g_ej(g_aO.g_ahU, g))), + (this.g_aje = new Map()), + (this.g_ajf = new Map()); + for (const g of this.g_ajd) + this.g_aje.set(g.g_pY().toLowerCase(), g), this.g_ajf.set(g.g_EN(), g); + } + this.g_aiA + ? ((this.g_aiL = []), (this.g_aiM = new Set()), (this.g_aiN = this.g_Be.g_aji())) + : ((this.g_aiO = []), + (this.g_aiP = new Set()), + (this.g_aiQ = []), + (this.g_aiR = []), + (this.g_aiS = [])), + (this.g_adU = g_aO.g_ej(t.g_ajj, this)), + (this.g_ajk = null), + (this.g_ajl = null); + const n = this.g_adU.g_adS(); + if (!n) this.g_ajk = new g_agr(this); + else if (((this.g_ajk = new n(this)), !(this.g_ajk instanceof g_agr))) + throw new TypeError('script interface class must derive from IObjectClass'); + a[13] && a[13].length && this.g_adU.g_adR(a[13]), + (!this.g_Be.g_ajm() || this.g_aiA || this.g_aiB || !this.g_ado) && this.g_adB(), + this.g_adP.g_Iq() && (this.g_adP.g_adE(this), this.g_ajn(a)); + } + static g_sf(g, _, e) { + return g_aO.g_ej(g_aO.g_aiw, g, _, e); + } + g_ek() { + if ((this.g_aih && (this.g_aih.g_ek(), (this.g_aih = null)), this.g_ajd)) { + for (const g of this.g_ajd) g.g_ek(); + g_aO.g_fz(this.g_ajd), this.g_aje.clear(), this.g_ajf.clear(); + } + this.g_ai$.g_ek(), + (this.g_ai$ = null), + this.g_aai.clear(), + this.g_aaj.clear(), + (this.g_aiU = null), + (this.g_Be = null); + } + g_ajo(g) { + for (let _ = 1, e = g.length; _ < e; ++_) { + const e = this.g_Be.g_D_(g[_]); + this.g_aiL.push(e), this.g_aiM.add(e), e.g_aiO.push(this), e.g_aiP.add(this); + } + } + g_ajp(g) { + (this.g_aiT = !0), (this.g_aiU = g); + } + g_EJ() { + return this.g_aiT; + } + g_Hu() { + return this.g_aiU; + } + g_ajq() { + let g = 0; + if (!this.g_aiA) + for (const _ of this.g_aiO) + for (const e of _.g_ajr()) { + const _ = e.g_pY().toLowerCase(); + this.g_aiY.set(_, e), this.g_aiZ.set(_, g), this.g_aiX.push(e), ++g; + } + for (const _ of this.g_ajr()) { + const e = _.g_pY().toLowerCase(); + this.g_aiY.set(e, _), this.g_aiZ.set(e, g), this.g_aiX.push(_), ++g; + } + for (const g of this.g_aiX) this.g_ai_.add(g.g_afj().constructor); + if (!this.g_aiA && this.g_aiO.length) { + const g = this.g_Be.g_ajs(); + g_aO.g_fB(this.g_aiQ, g, 0), g_aO.g_fB(this.g_aiR, g, 0), g_aO.g_fB(this.g_aiS, g, 0); + const _ = []; + let t = 0, + n = 0, + i = 0; + for (const e of this.g_aiO) { + const a = e.g_$r(); + (this.g_aiQ[a] = t), + (t += e.g_ajt()), + (this.g_aiR[a] = n), + (n += e.g_aju()), + (this.g_aiS[a] = i), + (i += e.g_ajv()); + const r = e.g_EP(); + if (r && this.g_DO) for (const g of r.g_agQ()) _.push(g.g_ajw(this.g_DO)); + } + this.g_DO && this.g_DO.g_ajx(_); + } + } + g_ajn(g) { + const _ = this.g_Be.g_ajy(), + e = g_aO.g_ej(g_aO.Instance, { runtime: this.g_Be, g_agI: this, g_agK: _ }); + e.g_ajz(g[15], []), this.g_Be.g_ajA(_, e), this.g_CX.push(e); + } + g_adV() { + return this.g_adU; + } + g_ajB() { + return this.g_aiB; + } + g_adB() { + this.g_aiA || this.g_adU.g_adB(); + } + g_ajC() { + return 0 < this.g_ajg; + } + g_Hx(g) { + return this.g_aiA + ? Promise.resolve() + : (this.g_ajg++, 1 === this.g_ajg ? this.g_adU.g_Hx(g) : Promise.resolve()); + } + g_HD() { + if (!this.g_aiA) { + if ((this.g_ajg--, 0 > this.g_ajg)) throw new Error('released textures too many times'); + 0 === this.g_ajg && this.g_adU.g_HD(); + } + } + g_HA() { + if (this.g_aiA) throw new Error('not applicable to family'); + this.g_adU.g_HA(); + } + g_HS(g) { + return this.g_aiA ? Promise.resolve() : this.g_adU.g_HS(g); + } + g_BI() { + return this.g_Be; + } + g_Ir() { + return this.g_adP; + } + g_ajD() { + return this.g_aiy; + } + g_pY() { + return this.g_en; + } + g_VT() { + return this.g__M; + } + g_EM() { + return this.g_Dr; + } + g_EN() { + return this.g_Ds; + } + g_EF() { + return this.g_aiA; + } + g_Eh() { + return this.g_aiz; + } + g_H_() { + return this.g_ado; + } + g_$r() { + return this.g_aiN; + } + g_ajr() { + return this.g_aiV; + } + g_aju() { + return this.g_aiF; + } + g_ajE(g) { + return g && this.g_ai_.has(g); + } + g_ajt() { + return this.g_aiC.length; + } + g_ajF() { + return this.g_aiC.map((g) => g.g_aiD); + } + g_ajG(g) { + return this.g_aiC.findIndex((_) => _.g_aiD === g); + } + g_NU(g) { + return this.g_aiC.findIndex((_) => _.name === g); + } + g_ajH() { + return this.g_aiC.map((g) => g.name); + } + g_ajI() { + return this.g_aiC.map((g) => g.g_aiE); + } + g_NW(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_aiC.length)) + throw new RangeError('invalid instance variable index'); + return this.g_aiC[g].type; + } + g_NV(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_aiC.length)) + throw new RangeError('invalid instance variable index'); + return this.g_aiC[g].name; + } + g_ajv() { + return this.g_aiG; + } + g_ajJ() { + return this.g_aiX; + } + g_Qe(g) { + return this.g_aiY.get(g.toLowerCase()) || null; + } + g_N_(g) { + const _ = this.g_aiZ.get(g.toLowerCase()); + return 'undefined' == typeof _ ? -1 : _; + } + g_EP() { + return this.g_DO; + } + g_adD() { + return this.g_adP.g_adD(); + } + g_ajK() { + return this.g_DO && this.g_DO.g_ajL(); + } + g_WJ() { + return this.g_ai$; + } + g_Tu() { + return this.g_ai$.g_Tu(); + } + g_adQ() { + return this.g_aih; + } + g_Eb(g) { + this.g_aja = g; + } + g_Ea() { + return this.g_aja; + } + g_Ec(g) { + this.g_ajb = g; + } + g_ajM() { + return this.g_ajb; + } + g_ajN() { + return this.g_ajd; + } + g_ajO() { + return this.g_ajd.length; + } + g_Yi() { + return this.g_aiO; + } + g_abE(g) { + return this.g_aiP.has(g); + } + g_Zd() { + return this.g_aiL; + } + g_EG(g) { + return this.g_aiM.has(g); + } + g_$w(g) { + return this.g_aiR[g]; + } + g_$q(g) { + return this.g_aiQ[g]; + } + g_ajP(g) { + if (!this.g_ajd) throw new Error('no animations'); + return this.g_aje.get(g.toLowerCase()) || null; + } + g_ajQ(g) { + if (!this.g_ajd) throw new Error('no animations'); + return this.g_ajf.get(g) || null; + } + g_ajR() { + if (!this.g_ajd) throw new Error('no animations'); + return this.g_ajd[0].g_aid(0); + } + g_ajS() { + if (this.g_ajd) { + const g = this.g_ajR().g_adQ(); + return [g.g_pN(), g.g_pO()]; + } + return this.g_aih ? [this.g_aih.g_pN(), this.g_aih.g_pO()] : [100, 100]; + } + g_$i() { + if (!this.g_adP.g_Iq()) throw new Error('not a single-global plugin'); + return this.g_CX[0]; + } + g_H$() { + return this.g_CX; + } + *g_agx() { + yield* this.g_CX; + } + *g_ajT() { + yield* this.g_CX; + for (const g of this.g_Be.g_abF()) g.g_EA() === this && (yield g); + } + g_EK() { + return this.g_CX.length; + } + g_El(g) { + this.g_CX.push(g); + } + g_ajU() { + this.g_ajh = !0; + } + g_Ii() { + if (this.g_ajh && !this.g_aiA) { + const g = this.g_CX; + let _ = 0; + for (let e = g.length; _ < e; ++_) g[_].g_ajV(_); + const e = this.g_Be.g_abF(); + for (const g of e) g.g_EA() === this && g.g_ajV(_++); + this.g_ajh = !1; + } + } + g_ajW(g) { + const _ = this.g_CX; + if (g < _.length) return _[g]; + g -= _.length; + const e = this.g_Be.g_abF(); + for (const _ of e) + if (_.g_EA() === this) { + if (0 === g) return _; + --g; + } + return null; + } + g_abA(g) { + if (g && g.g_EJ() && g.g_EA() !== this) + for (const _ of g.siblings()) if (_.g_EA() === this) return _; + const _ = this.g_Tu().g_H$(); + return _.length ? _[0] : null; + } + g_abr(g) { + const _ = this.g_Tu().g_H$(); + return _.length ? _[g.g_Id() % _.length] : null; + } + g_aaL(g) { + this.g_adU.g_aaL(g); + } + g_aaH() { + if (this.g_aiT && !this.g_aiA) { + this.g_Ii(); + const g = this.g_Tu(), + _ = g.g_TN(), + a = g.g_TF(), + t = this.g_Be.g_VG(), + n = t && t.g_TT() && t.g_TT().g_TS(); + for (const e of this.g_aiU.g_Ie()) { + if (e === this) continue; + e.g_Ii(); + const t = e.g_Tu(); + if ((t.g_TM(a), !a)) { + const i = t.g_TN(); + g_aO.g_fz(i); + for (const g of _) i.push(e.g_ajW(g.g_Id())); + if (n) { + const _ = g.g_TO(), + n = t.g_TO(); + g_aO.g_fz(n); + for (const g of _) n.push(e.g_ajW(g.g_Id())); + } + } + } + } + } + g_aaQ(g, _) { + for (const e of this.g_Hu().g_Ie()) { + const a = e.g_Tu(); + g ? g_aO.g_fy(a.g_TO(), _) : g_aO.g_fy(a.g_TN(), _); + } + } + g_ajX() { + return this.g_aiH; + } + g_ajY(g) { + this.g_aiJ = !!g; + } + g_Fe(g) { + this.g_aiK = !!g; + } + g_ajZ() { + return this.g_aiK; + } + g_aj_() { + if (this.g_aiJ && this.g_ado) { + for (const g of this.g_CX) g.g_CU().g_aj$(); + for (const g of this.g_Be.g_abF()) g.g_EA() === this && g.g_CU().g_aj$(); + this.g_aiJ = !1; + } + } + g_aaF() { + return this.g_aai || (this.g_aai = new Map()), this.g_aai; + } + g_aaG() { + return this.g_aaj || (this.g_aaj = new Map()), this.g_aaj; + } + g_aka() { + return this.g_ajE(g_aO.g_ahl.g_ahw); + } + g_akb() { + return this.g_ajE(g_aO.g_ahl.g_akc); + } + g_Ef() { + return this.g_ajE(g_aO.g_ahl.g_akd); + } + g_GG() { + const g = { instances: this.g_CX.map((g) => g.g_GH()) }; + return this.g_aai && this.g_aai.size && (g.ex = g_aO.g_gx(this.g_aai)), g; + } + g_GI(g) { + this.g_aai && (this.g_aai.clear(), (this.g_aai = null)); + const _ = g.ex; + _ && (this.g_aai = g_aO.g_gy(_)); + const a = this.g_CX, + t = g.instances; + for (let _ = 0, n = Math.min(a.length, t.length); _ < n; ++_) a[_].g_GJ(t[_]); + for (let _ = t.length, n = a.length; _ < n; ++_) this.g_Be.g_EB(a[_]); + for (let _ = a.length, n = t.length; _ < n; ++_) { + const g = t[_]; + let a = null; + if (this.g_H_() && ((a = this.g_Be.g_Is().g_Hq(g.w.l)), !a)) continue; + const n = this.g_Be.g_Eg(this.g_aja || this, a, !1, 0, 0, !0); + n.g_GJ(g); + } + this.g_ajU(); + } + g_agJ() { + return this.g_ajk; + } + g_ake() { + return this.g_ajl; + } + g_agA(g) { + this.g_ajl = g; + } + }), + 'use strict', + (g_aO.g_akf = class extends g_aO.g_eh { + constructor(g, _) { + super(), (this.g_Be = g), (this.g_akg = _); + for (const e of this.g_akg) e.g_ajp(this); + } + g_ek() { + this.g_Be = null; + } + g_BI() { + return this.g_Be; + } + g_Ht() { + return this.g_akg; + } + g_Ie() { + return this.g_akg; + } + g_Ik() { + return this.g_akg.some((g) => g.g_H_()); + } + }), + 'use strict'; +{ + const g = []; + let _ = 0; + const t = new WeakMap(), + e = new WeakMap(); + g_aO.Instance = class extends g_aO.g_eh { + constructor(a) { + super(), + (this.g_Be = a.runtime), + (this.g_akh = a.g_agI), + (this.g_Nz = null), + (this.g_aki = null), + (this.g_akj = null), + (this.g_akk = 0), + (this.g_akl = a.g_agK), + (this.g_akm = _++), + (this.g_akn = 0), + (this.g_ako = g), + (this.g_akp = g); + const t = this.g_akh.g_ajJ(); + 0 < t.length && + (this.g_akp = t.map((g, _) => + g_aO.g_ej(g_aO.g_akq, { runtime: this.g_Be, g_NY: g, g_Ke: this, index: _ }) + )), + (this.g_akr = this.g_akh.g_EJ() ? [] : null), + (this.g_aks = -1), + (this.g_akt = null); + const n = this.g_Ir(); + if ((n.g_tt() && (this.g_akn |= 4), n.g_H_())) + if (((this.g_Nz = g_aO.g_ej(g_aO.g_aku, this, a.g_Ju)), a.g_akv)) this.g_Nz.g_akw(a.g_akv); + else { + this.g_Nz.g_akx(); + const [g, _] = this.g_akh.g_ajS(); + this.g_Nz.g_wQ(g, _), this.g_EA().g_ajK() && this.g_Nz.g_Gd().g_aky(); + } + a.g_akz ? this.g_akA(a.g_akz) : this.g_akB(); + } + g_ek() { + if ((this.g_akj && (this.g_akj.g_nP(), (this.g_akj = null)), 0 < this.g_akp.length)) { + for (const g of this.g_akp) g.g_ek(); + g_aO.g_fz(this.g_akp); + } + this.g_aki.g_ek(), (this.g_aki = null); + const g = t.get(this); + g && (g.clear(), t.delete(this)); + const _ = e.get(this); + _ && (_.clear(), e.delete(this)), + this.g_akr && g_aO.g_fz(this.g_akr), + this.g_akt && (this.g_akt.g_ek(), (this.g_akt = null)), + (this.g_Be = null), + (this.g_akh = null), + 0 < this.g_ako.length && g_aO.g_fz(this.g_ako), + this.g_Nz && (this.g_Nz.g_ek(), (this.g_Nz = null)); + } + g_akA(g) { + 0 < g.length && ((this.g_ako = []), g_aO.g_fD(this.g_ako, g)); + } + g_akB() { + const g = this.g_akh.g_ajt(); + if (0 !== g) { + this.g_ako = []; + const _ = [0, 0, '']; + for (let e = 0; e < g; ++e) this.g_ako.push(_[this.g_akh.g_NW(e)]); + } + } + g_ajz(g, _) { + if (this.g_aki) throw new Error('already got sdk instance'); + for (let e = 0, a = this.g_akp.length; e < a; ++e) { + const g = this.g_akp[e]; + g.g_ajz(_ ? _[e] : null); + } + if ( + ((this.g_aki = g_aO.g_ej(this.g_akh.g_ajD(), this, g)), !(this.g_aki instanceof g_aO.g_adT)) + ) + throw new Error('sdk type must derive from SDKInstanceBase'); + for (let e = 0, a = this.g_akp.length; e < a; ++e) this.g_akp[e].g_afq(); + this.g_akh.g_ake() && this.g_akC(); + } + g_Qd() { + return this.g_aki; + } + g_CU() { + return this.g_Nz; + } + g_BI() { + return this.g_Be; + } + g_KX() { + return this.g_aks; + } + g_akD(g) { + (g = +g), (0 > g || !isFinite(g)) && (g = 0), (this.g_aks = g); + } + g_akE() { + this.g_aks = -1; + } + g_lh() { + return this.g_akt || (this.g_akt = g_aO.g_ej(g_aO.Event.g_lh)), this.g_akt; + } + g_FN(g) { + this.g_aki.g_FN(g); + } + g_adB(g) { + this.g_aki.g_adB(g); + } + g_akF() { + this.g_akn |= 2; + } + g_akG() { + return 0 != (2 & this.g_akn); + } + g_akH() { + this.g_akn |= 1; + } + g_NL() { + return 0 != (1 & this.g_akn); + } + g_tt() { + return 0 != (4 & this.g_akn); + } + g_akI() { + return 0 != (8 & this.g_akn); + } + g_akJ(g) { + g ? (this.g_akn |= 8) : (this.g_akn &= -9); + } + g_akK() { + return 0 != (16 & this.g_akn); + } + g_akL(g) { + g ? (this.g_akn |= 16) : (this.g_akn &= -17); + } + g_akM(g, _) { + (g <<= 16), _ ? (this.g_akn |= g) : (this.g_akn &= ~g); + } + g_akN(g) { + return 0 != (this.g_akn & (g << 16)); + } + g_Gg() { + return this.g_aki.g_Gg(); + } + g_abs(g) { + return this.g_aki.g_abs(g); + } + g_EA() { + return this.g_akh; + } + g_akO(g) { + return g.g_EF() ? g.g_EG(this.g_EA()) : this.g_EA() === g; + } + g_EJ() { + return null !== this.g_akr; + } + g_If(g) { + this.g_akr.push(g); + } + g_akP() { + return this.g_akr; + } + siblings() { + return this.g_akr; + } + g_Yn() { + for (const g of this.siblings()) g.g_EA().g_Tu().g_TP(g); + } + g_aaM() { + for (const g of this.siblings()) g.g_EA().g_Tu().g_TK(g); + } + g_aaN(g) { + for (const _ of this.siblings()) _.g_EA().g_Tu().g_TN()[g] = _; + } + g_aaP() { + for (const g of this.siblings()) g.g_EA().g_Tu().g_TL(g); + } + g_aaO(g) { + for (const _ of this.siblings()) _.g_EA().g_Tu().g_TO()[g] = _; + } + g_Ir() { + return this.g_akh.g_Ir(); + } + g_ajV(g) { + this.g_akk = g; + } + g_Id() { + return this.g_akh.g_Ii(), this.g_akk; + } + g_Ei() { + return this.g_akl; + } + g_akQ() { + return this.g_akm; + } + g_Qc() { + return this.g_akp; + } + g_akR(g) { + if (!g) return null; + for (const _ of this.g_akp) if (_.g_afj() instanceof g) return _; + return null; + } + g_akS(g) { + if (!g) return null; + const _ = this.g_akR(g); + return _ ? _.g_Qd() : null; + } + g_Qb(g) { + const _ = this.g_akp; + for (let e = 0, a = _.length; e < a; ++e) if (_[e].g_NZ().g_EN() === g) return e; + return -1; + } + g_akT() { + return this.g_ako; + } + g_ajH() { + return this.g_akh.g_ajH(); + } + g_akU() { + return this.g_ako.length; + } + g_QL(g) { + g |= 0; + const _ = this.g_ako; + if (0 > g || g >= _.length) throw new RangeError('invalid instance variable'); + return _[g]; + } + g_$o(g) { + return this.g_ako[g]; + } + g_QN(g, _) { + g |= 0; + const e = this.g_ako; + if (0 > g || g >= e.length) throw new RangeError('invalid instance variable'); + const t = e[g]; + if ('number' == typeof t) e[g] = 'number' == typeof _ ? _ : parseFloat(_); + else if ('boolean' == typeof t) e[g] = 'boolean' == typeof _ ? _ : !!_; + else if ('string' == typeof t) e[g] = 'string' == typeof _ ? _ : _.toString(); + else throw new Error('unknown instance variable type'); + } + g_Re(g, _) { + if (0 !== _) { + g |= 0; + const e = this.g_ako; + if (0 > g || g >= e.length) throw new RangeError('invalid instance variable'); + const a = e[g]; + if ('number' == typeof a) e[g] += 'number' == typeof _ ? _ : parseFloat(_); + else if ('boolean' == typeof a) throw new Error('can not set offset of boolean variable'); + else if ('string' == typeof a) throw new Error('can not set offset of string variable'); + else throw new Error('unknown instance variable type'); + } + } + g_aaF() { + let g = t.get(this); + return g ? g : ((g = new Map()), t.set(this, g), g); + } + g_aaG() { + let g = e.get(this); + return g ? g : ((g = new Map()), e.set(this, g), g); + } + g_EI() { + this.g_Be.g_Ku(this.g_Ir().constructor.g_HW.g_acK, this, null); + } + g_akV() { + this.g_Be.g_Ku(this.g_Ir().constructor.g_HW.g_acL, this, null); + } + g_akW() { + return this.g_aki.g_aep(); + } + g_GH(g = 'full') { + const _ = {}; + if (('full' === g ? (_.uid = this.g_Ei()) : (_.c3 = !0), 'visual-state' !== g)) { + const g = t.get(this); + if ( + (g && g.size && (_.ex = g_aO.g_gx(g)), + -1 !== this.g_KX() && (_.mts = this.g_KX()), + 0 < this.g_akh.g_ajt()) + ) { + const g = {}, + e = this.g_akh.g_ajF(); + for (let _ = 0, a = this.g_ako.length; _ < a; ++_) g[e[_].toString()] = this.g_ako[_]; + _.ivs = g; + } + if (this.g_akp.length) { + const g = {}; + for (const _ of this.g_akp) { + const e = _.g_GH(); + e && (g[_.g_NZ().g_EN().toString()] = e); + } + _.behs = g; + } + } + this.g_Nz && (_.w = this.g_Nz.g_GG()); + const e = this.g_aki.g_GH(); + return e && (_.data = e), _; + } + g_GJ(g, _ = 'full') { + if ('full' === _) this.g_akl = g.uid; + else if (!g.c3) return; + if ('visual-state' !== _) { + let _ = t.get(this); + _ && (_.clear(), t.delete(this)); + const a = g.ex; + a && ((_ = g_aO.g_gy(a)), t.set(this, _)), + (this.g_aks = g.hasOwnProperty('mts') ? g.mts : -1); + const n = g.ivs; + if (n) + for (const [g, _] of Object.entries(n)) { + const a = parseInt(g, 10), + t = this.g_akh.g_ajG(a); + if (0 > t || t >= this.g_ako.length) continue; + let n = _; + null === n && (n = NaN), (this.g_ako[t] = n); + } + } + if (this.g_Ir().g_H_()) { + const e = g.w, + t = e.l; + if (this.g_Nz.g_Em().g_EN() !== t) { + const g = this.g_Nz.g_Em(), + e = g.g_EL().g_Hq(t); + e + ? (this.g_Nz.g_Ia(e), g.g_Eq(this, !0), e.g_El(this, !0), e.g_Ek(), this.g_Nz.g_En()) + : 'full' === _ && this.g_Be.g_EB(this); + } + this.g_Nz.g_GI(e); + } + if ('visual-state' !== _) { + const _ = g.behs; + if (_) + for (const [g, e] of Object.entries(_)) { + const _ = parseInt(g, 10), + a = this.g_Qb(_); + 0 > a || a >= this.g_akp.length || this.g_akp[a].g_GJ(e); + } + } + const e = g.data; + e && this.g_aki.g_GJ(e); + } + g_ad$() { + return this.g_akj || this.g_akC(); + } + g_akC() { + const g = this.g_Nz ? g_agP : g_agH, + _ = this.g_aki.g_adS(), + e = this.g_akh.g_ake(); + if ( + (g_agH.g_ac$(this), + (this.g_akj = new (e || _ || g)()), + g_agH.g_ac$(null), + _ && !(this.g_akj instanceof g)) + ) + throw new TypeError( + `script interface class '${_.name}' does not extend the right base class '${g.name}'` + ); + if (e) { + const a = _ || g; + if (!(this.g_akj instanceof a)) + throw new TypeError( + `setInstanceClass(): class '${e.name}' does not extend the right base class '${a.name}'` + ); + } + return this.g_akj; + } + g_agL(g) { + if (0 !== this.g_ako.length) { + const _ = {}, + e = this.g_akh.g_ajI(); + for (let g = 0, a = e.length; g < a; ++g) + _[e[g]] = { + configurable: !1, + enumerable: !0, + get: g_aO.Instance.prototype.g_$o.bind(this, g), + set: g_aO.Instance.prototype.g_QN.bind(this, g) + }; + const a = Object.create(Object.prototype, _); + g.g_akX = { value: a, writable: !1 }; + } + } + g_agM(g) { + const _ = this.g_akp; + if (0 !== _.length) { + const e = {}; + for (const g of _) e[g.g_NZ().g_VT()] = { value: g.g_ad_(), writable: !1 }; + const a = Object.create(Object.prototype, e); + g.g_X_ = { value: a, writable: !1 }; + } + } + }; +} +{ + const _ = g_aO.g_ej(g_aO.Rect), + t = g_aO.g_ej(g_aO.Rect), + a = g_aO.g_ej(g_aO.Event, 'bboxchange', !1), + n = g_aO.g_ej(g_aO.g_gB, 0, 0, 0, 0), + r = g_aO.g_ej(g_aO.g_gB, 1, 1, 1, 1), + s = g_aO.g_ej(g_aO.Rect, 0, 0, -1, -1), + e = g_aO.g_ej(g_aO.Rect, 0, 0, -1, -1); + let g = !0; + const d = 1; + g_aO.g_aku = class extends g_aO.g_eh { + constructor(_, a) { + super(), + (this.g_b_ = _), + (this.g_Tq = _.g_EA()), + (this.g_Be = _.g_BI()), + (this.g_akY = a), + (this.g_akZ = -1), + (this.g_akn = 27), + (this.g_hB = NaN), + (this.g_hC = NaN), + (this.g_qC = NaN), + (this.g_ak_ = NaN), + (this.g_ak$ = NaN), + (this.g_gF = NaN), + (this.g_ala = NaN), + (this.g_alb = NaN), + (this.g_alc = NaN), + (this.g_ald = NaN), + (this.g_ale = g_aO.g_ej(g_aO.Rect)), + (this.g_alf = g_aO.g_ej(g_aO.g_iu)), + (this.g_alg = e), + (this.g_alh = s), + (this.g_ali = null), + (this.g_alj = null), + (this.g_alk = null), + (this.g_qB = r), + (this.g_all = r), + (this.g_DC = -1), + (this.g_alm = null), + (this.g_aln = null), + this.g_b_.g_EA().g_ajK() && (this.g_aln = g_aO.g_ej(g_aO.g_alo, this.g_b_, this)), + (g = !1), + this.g_Ex(0), + (g = !0); + } + g_ek() { + this.g_alm && (this.g_Be.g_rP().g_qh(this.g_alm), (this.g_alm = null)), + (this.g_ali = null), + this.g_alj && (this.g_alj.g_alp.g_ek(), (this.g_alj = null)), + this.g_alk && (this.g_alk.clear(), (this.g_alk = null)), + (this.g_b_ = null), + (this.g_Tq = null), + (this.g_Be = null), + (this.g_akY = null); + } + g_akw(_) { + (g = !1), + this.g_abq(_[0], _[1]), + this.g_Fh(_[2]), + this.g_wQ(_[3], _[4]), + this.g_Fi(_[6]), + n.g_hs(_[7]), + this.g_alq(n), + this.g_alr(_[8]), + this.g_als(_[9]), + this.g_Ex(_[10]), + this.g_aln && this.g_aln.g_alt(_[12]), + (g = !0), + this.g_alu(); + } + g_akx() { + (this.g_hB = 0), + (this.g_hC = 0), + (this.g_qC = 0), + (this.g_ak_ = 0), + (this.g_ak$ = 0), + (this.g_gF = 0), + (this.g_ala = 0), + (this.g_alb = 1), + (this.g_alc = 0), + (this.g_ald = 0), + this.g_alu(); + } + g_BI() { + return this.g_Be; + } + g_EA() { + return this.g_Tq; + } + g_Nj() { + return this.g_b_; + } + g_abn(g) { + this.g_hB = +g; + } + g_QQ(g) { + this.g_hB += +g; + } + g_Ig() { + return this.g_hB; + } + g_abo(g) { + this.g_hC = +g; + } + g_QR(g) { + this.g_hC += +g; + } + g_Ih() { + return this.g_hC; + } + g_abq(g, _) { + (this.g_hB = +g), (this.g_hC = +_); + } + g_abt(g, _) { + (this.g_hB += +g), (this.g_hC += +_); + } + g_abp(g, _) { + return this.g_hB === g && this.g_hC === _; + } + g_Fh(g) { + if (((g = +g), this.g_qC !== g)) { + (this.g_qC = g), this.g_alu(); + const _ = this.g_Em(); + 0 !== this.g_qC && _.g_Et(), _.g_Ek(); + } + } + g_Q_(g) { + this.g_Fh(this.g_Do() + g); + } + g_Do() { + return this.g_qC; + } + g_Jg() { + return this.g_Em().g_Do() + this.g_Do(); + } + g_Hj(g) { + this.g_ak_ = +g; + } + g_QS(g) { + this.g_ak_ += +g; + } + g_pN() { + return this.g_ak_; + } + g_Hk(g) { + this.g_ak$ = +g; + } + g_QT(g) { + this.g_ak$ += +g; + } + g_pO() { + return this.g_ak$; + } + g_wQ(g, _) { + (this.g_ak_ = +g), (this.g_ak$ = +_); + } + g_Fi(g) { + (g = g_aO.g_eq(+g)), + this.g_gF === g || + ((this.g_gF = g), (this.g_ala = Math.sin(g)), (this.g_alb = Math.cos(g))); + } + g_QU(g) { + (g = +g), + 0 === g || + ((this.g_gF = g_aO.g_eq(this.g_gF + g)), + (this.g_ala = Math.sin(this.g_gF)), + (this.g_alb = Math.cos(this.g_gF))); + } + g_Fj() { + return this.g_gF; + } + g_abv() { + return this.g_ala; + } + g_abu() { + return this.g_alb; + } + g_alr(g) { + this.g_alc = +g; + } + g_QW(g) { + this.g_alc += +g; + } + g_QX() { + return this.g_alc; + } + g_als(g) { + this.g_ald = +g; + } + g_QY(g) { + this.g_ald += +g; + } + g_QZ() { + return this.g_ald; + } + g_alq(g) { + this.g_qB.g_l(g) || + (this.g_qB === r + ? ((this.g_qB = g_aO.g_ej(g_aO.g_gB, g)), + (this.g_all = g_aO.g_ej(g_aO.g_gB, g)), + this.g_all.g_gZ()) + : g.g_gX(1, 1, 1, 1) + ? ((this.g_qB = r), (this.g_all = r)) + : (this.g_qB.set(g), this.g_all.set(g), this.g_all.g_gZ()), + this.g_alu()); + } + g_zm(g) { + (g = g_aO.g_ep(+g, 0, 1)), this.g_qB.a === g || (n.g_gO(this.g_qB), (n.a = g), this.g_alq(n)); + } + g_QV(g) { + this.g_zm(this.g_zk() + g); + } + g_zk() { + return this.g_qB.a; + } + g_abw(g) { + this.g_qB.g_gV(g) || (n.g_gO(g), (n.a = this.g_qB.a), this.g_alq(n)); + } + g_alv(g, _, a) { + n.g_gH(g, _, a), this.g_abw(n); + } + g_QK(g, _, a) { + (0 === g && 0 === _ && 0 === a) || + (n.g_gO(this.g_qB), (n.r += g), (n.g_ht += _), (n.b += a), this.g_abw(n)); + } + g_QI() { + return this.g_qB; + } + g_EZ() { + return this.g_all; + } + g_alu() { + if (g) { + const g = this.g_Be.g_rP(); + this.g_alm && g.g_qh(this.g_alm), + (this.g_alm = g.g_qd( + g.g_qa() || '', + this.g_Fs(), + this.g_Ft(), + this.g_all, + this.g_qC + )); + } + } + g_Ga() { + return this.g_alm; + } + g_E_() { + return this.g_qB === r; + } + g_Ex(g) { + this.g_DC === g || ((this.g_DC = g), this.g_alu()); + } + g_Ey() { + return this.g_DC; + } + g_Fs() { + return this.g_Be.g_rP().g_qp(this.g_DC); + } + g_Ft() { + return this.g_Be.g_rP().g_qq(this.g_DC); + } + g_Ia(g) { + (this.g_akY = g), 0 !== this.g_Do() && this.g_akY.g_Et(); + } + g_Em() { + return this.g_akY; + } + g_EL() { + return this.g_Em().g_EL(); + } + g_Ev(g) { + this.g_akZ = 0 | g; + } + g_Fz() { + return this.g_akY.g_Fw(), this.g_akZ; + } + g_CT() { + return this.g_akZ; + } + g_alw(g, _) { + _ ? (this.g_akn |= g) : (this.g_akn &= ~g); + } + g_ET() { + return 0 != (this.g_akn & d); + } + g_EU(g) { + this.g_alw(d, g); + } + g_alx() { + return 0 != (8 & this.g_akn); + } + g_aly(g) { + (g = !!g), this.g_alx() === g || (this.g_alw(8, g), g ? this.g_En() : this.g_alz()); + } + g_alA(g, _) { + if ((this.g_alw(32, g), this.g_alk && this.g_alk.clear(), !_.trim())) + return void (this.g_alk = null); + this.g_alk || (this.g_alk = new Set()); + for (const e of _.split(' ')) e && this.g_alk.add(e.toLowerCase()); + } + g_alB(g) { + const _ = 0 != (32 & this.g_akn), + e = this.g_alk; + if (!g || !e) return !_; + for (const a of e) if (g.has(a)) return _; + return !_; + } + g_En() { + (this.g_akn |= 18), + this.g_Tq.g_ajY(!0), + this.g_Be.g_EV(), + this.g_akY.g_EQ() && (this.g_alC(), this.g_alD()), + 0 != (4 & this.g_akn) && this.g_b_.g_lh().dispatchEvent(a); + } + g_alC() { + const g = this.g_ale, + _ = this.g_alf, + a = this.g_hB, + t = this.g_hC, + n = this.g_ak_, + e = this.g_ak$; + g.g_hO(a - this.g_alc * n, t - this.g_ald * e, n, e), + 0 === this.g_gF + ? _.g_iO(g) + : (g.offset(-a, -t), _.g_iQ(g, this.g_ala, this.g_alb), _.offset(a, t), _.g_iR(g)), + g.normalize(), + (this.g_akn &= -3); + } + g_alE() { + 0 != (2 & this.g_akn) && this.g_alC(); + } + g_Gi() { + return this.g_alE(), this.g_ale; + } + g_agX() { + return this.g_alE(), this.g_alf; + } + g_alF(g) { + this.g_ale.g_p(g), + this.g_alf.g_iO(this.g_ale), + (this.g_akn &= -3), + this.g_aj$(), + this.g_alD(); + } + g_alG(g) { + this.g_alw(4, g); + } + g_alH() { + return 0 != (4 & this.g_akn); + } + g_FZ(g) { + return 0 === this.g_qC ? g.g_io(this.g_Gi()) : this.g_alI(); + } + g_alI() { + const g = this.g_Em(), + _ = this.g_Jg(); + return !(_ >= g.g_FJ()) && (g.g_EX(_, t), t.g_io(this.g_Gi())); + } + g_alJ(g) { + this.g_ali = g; + const _ = this.g_alj; + _ && ((_.width = -1), (_.height = -1), (_.angle = 0)); + } + g_alK() { + return this.g_ali; + } + g_alL() { + return !!this.g_ali; + } + g_alM() { + return this.g_alN(this.g_pN(), this.g_pO(), this.g_Fj(), this.g_abv(), this.g_abu()); + } + g_alO(g, _, t) { + let n = 0, + i = 1; + return 0 !== t && ((n = Math.sin(t)), (i = Math.cos(t))), this.g_alN(g, _, t, n, i); + } + g_alN(g, _, t, n, a) { + let e = this.g_alj; + return (null === e && + ((e = { g_alp: g_aO.g_ej(g_aO.g_i_), width: -1, height: -1, angle: 0 }), (this.g_alj = e)), + e.width === g && e.height === _ && e.angle === t) + ? e.g_alp + : (this.g_ali + ? (e.g_alp.g_p(this.g_ali), e.g_alp.g_jj(g, _, n, a)) + : e.g_alp.g_ji(this.g_agX(), -this.g_Ig(), -this.g_Ih()), + (e.width = g), + (e.height = _), + (e.angle = t), + e.g_alp); + } + g_akG() { + return this.g_b_.g_akG(); + } + g_ahc(g, _) { + return ( + !!this.g_Gi().g_iq(g, _) && + !!this.g_agX().g_iq(g, _) && + (this.g_akG() + ? this.g_b_.g_Qd().g_aer(g, _) + : !this.g_alL() || this.g_alM().g_iq(g - this.g_Ig(), _ - this.g_Ih())) + ); + } + g_alP() { + return 0 != (16 & this.g_akn); + } + g_aj$() { + if (this.g_alP() && this.g_alx()) { + const g = this.g_Gi(), + a = this.g_Tq.g_ajX(), + t = this.g_alg; + if ( + (_.set(a.g_Dj(g.g_hV()), a.g_Dk(g.g_hW()), a.g_Dj(g.g_hX()), a.g_Dk(g.g_hY())), !t.g_l(_)) + ) { + const g = this.g_b_; + t === e + ? (a.g_Dl(g, null, _), (this.g_alg = g_aO.g_ej(g_aO.Rect, _))) + : (a.g_Dl(g, t, _), t.g_p(_)), + (this.g_akn &= -17); + } + } + } + g_alz() { + const g = this.g_alg; + g === e || (this.g_Tq.g_ajX().g_Dl(this.g_b_, g, null), (this.g_alg = e)); + } + g_alD() { + const g = this.g_Em(); + if (g.g_EQ()) { + const a = g.g_ER(), + t = this.g_Gi(), + n = this.g_alh; + if ( + (_.set(a.g_Dj(t.g_hV()), a.g_Dk(t.g_hW()), a.g_Dj(t.g_hX()), a.g_Dk(t.g_hY())), !n.g_l(_)) + ) { + const e = this.g_b_; + n === s + ? (a.g_Dl(e, null, _), (this.g_alh = g_aO.g_ej(g_aO.Rect, _))) + : (a.g_Dl(e, n, _), n.g_p(_)), + g.g_ES(); + } + } + } + g_Er() { + const g = this.g_alh; + g === s || (this.g_Em().g_ER().g_Dl(this.g_b_, g, null), (this.g_alh = s)); + } + g_Fx() { + return this.g_alh; + } + g_abx() { + const g = this.g_b_, + _ = this.g_akY, + e = _.g_Fm(); + (e.length && e[e.length - 1] === g) || (_.g_Eq(g, !1), _.g_El(g, !1), this.g_Be.g_EV()); + } + g_aby() { + const g = this.g_b_, + _ = this.g_akY, + e = _.g_Fm(); + (e.length && e[0] === g) || (_.g_Eq(g, !1), _.g_Ep(g, !1), this.g_Be.g_EV()); + } + g_abz(g) { + const _ = this.g_b_, + e = this.g_akY; + if (e.g_EL() !== g.g_EL()) throw new Error('layer from different layout'); + g === e || (e.g_Eq(_, !0), this.g_Ia(g), g.g_El(_, !0), this.g_Be.g_EV()); + } + g_abB(g, _) { + const a = this.g_b_, + t = this.g_akY; + if (g.g_Ei() !== a.g_Ei()) { + const n = g.g_CU(); + if (!n) throw new Error('expected world instance'); + const e = n.g_Em(); + t.g_EM() !== e.g_EM() && (t.g_Eq(a, !0), this.g_Ia(e), e.g_El(a, !0)), + e.g_Fy(a, g, !!_), + this.g_Be.g_EV(); + } + } + g_Gd() { + return this.g_aln; + } + g_alQ(g) { + this.g_alw(64, g); + } + g_FH() { + return 0 != (64 & this.g_akn); + } + g_GG() { + const g = { + x: this.g_Ig(), + y: this.g_Ih(), + w: this.g_pN(), + h: this.g_pO(), + l: this.g_Em().g_EN(), + zi: this.g_Fz() + }; + 0 !== this.g_Do() && (g.ze = this.g_Do()), + 0 !== this.g_Fj() && (g.a = this.g_Fj()), + this.g_E_() || (g.c = this.g_qB.toJSON()), + 0.5 !== this.g_QX() && (g.oX = this.g_QX()), + 0.5 !== this.g_QZ() && (g.oY = this.g_QZ()), + 0 !== this.g_Ey() && (g.bm = this.g_Ey()), + this.g_ET() || (g.v = this.g_ET()), + this.g_alx() || (g.ce = this.g_alx()), + this.g_alH() && (g.be = this.g_alH()), + this.g_aln && (g.fx = this.g_aln.g_GG()); + const _ = 0 != (32 & this.g_akn); + return _ && (g.sfi = _), this.g_alk && (g.sft = [...this.g_alk].join(' ')), g; + } + g_GI(_) { + (g = !1), + this.g_abn(_.x), + this.g_abo(_.y), + this.g_Hj(_.w), + this.g_Hk(_.h), + this.g_Ev(_.zi), + this.g_Fh(_.hasOwnProperty('ze') ? _.ze : 0), + this.g_Fi(_.hasOwnProperty('a') ? _.a : 0), + _.hasOwnProperty('c') + ? n.g_hs(_.c) + : _.hasOwnProperty('o') + ? (n.g_gO(this.g_qB), (n.a = _.o)) + : n.g_gG(1, 1, 1, 1), + this.g_alq(n), + this.g_alr(_.hasOwnProperty('oX') ? _.oX : 0.5), + this.g_als(_.hasOwnProperty('oY') ? _.oY : 0.5), + this.g_Ex(_.hasOwnProperty('bm') ? _.bm : 0), + this.g_EU(!_.hasOwnProperty('v') || _.v), + this.g_aly(!_.hasOwnProperty('ce') || _.ce), + this.g_alG(!!_.hasOwnProperty('be') && _.be), + this.g_alA(!!_.hasOwnProperty('sfi') && _.sfi, _.hasOwnProperty('sft') ? _.sft : ''), + this.g_aln && _.hasOwnProperty('fx') && this.g_aln.g_GI(_.fx), + this.g_En(), + (g = !0), + this.g_alu(); + } + }; +} +'use strict', + (g_aO.g_aiW = class extends g_aO.g_eh { + constructor(g, _) { + super(); + const a = g.g_BI(), + t = a.g_aix(), + n = a.g__p(_[1]); + t.g_ahz(n) || t.g_ahv(_), + (this.g_Be = a), + (this.g_Tq = g), + (this.g_afi = t.g_ahA(n)), + (this.g_adU = null), + (this.g_aiy = n.Instance), + (this.g_Ds = _[2]), + (this.g_en = _[0]), + (this.g__M = this.g_Be.g_VT(_[3])), + (this.g_adU = g_aO.g_ej(n.g_ajj, this)), + this.g_adB(); + } + static g_sf(g, _) { + return g_aO.g_ej(g_aO.g_aiW, g, _); + } + g_ek() { + (this.g_Be = null), + (this.g_afi = null), + this.g_adU.g_ek(), + (this.g_adU = null), + (this.g_aiy = null); + } + g_adV() { + return this.g_adU; + } + g_adB() { + this.g_adU.g_adB(); + } + g_BI() { + return this.g_Be; + } + g_EA() { + return this.g_Tq; + } + g_afj() { + return this.g_afi; + } + g_ajD() { + return this.g_aiy; + } + g_pY() { + return this.g_en; + } + g_EN() { + return this.g_Ds; + } + g_VT() { + return this.g__M; + } + }), + 'use strict', + (g_aO.g_akq = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g.runtime), + (this.g_$t = g.g_NY), + (this.g_afi = this.g_$t.g_afj()), + (this.g_b_ = g.g_Ke), + (this.g_Dr = g.index), + (this.g_aki = null), + (this.g_akj = null), + this.g_afi.g_El(this.g_b_); + } + g_ek() { + this.g_afi.g_Eq(this.g_b_), + this.g_aki.g_ek(), + (this.g_aki = null), + (this.g_akj = null), + (this.g_Be = null), + (this.g_$t = null), + (this.g_afi = null), + (this.g_b_ = null); + } + g_ajz(g) { + if (this.g_aki) throw new Error('already got sdk instance'); + (this.g_aki = g_aO.g_ej(this.g_$t.g_ajD(), this, g)), this.g_alR(); + } + g_Qd() { + return this.g_aki; + } + g_afm() { + return this.g_b_; + } + g_BI() { + return this.g_Be; + } + g_NZ() { + return this.g_$t; + } + g_afj() { + return this.g_afi; + } + g_Qy() { + return this.g_Dr; + } + g_afq() { + this.g_aki.g_afq(); + } + g_afA(g, _) { + this.g_aki.g_afA(g, _); + } + g_akW() { + return this.g_aki.g_aep(); + } + g_GH() { + return this.g_aki.g_GH(); + } + g_GJ(g) { + return this.g_aki.g_GJ(g); + } + static g_alS(_, t) { + const a = _.g_afm(), + n = t.g_afm(), + i = a.g_EA().g_EM(), + e = n.g_EA().g_EM(); + if (i !== e) return i - e; + const r = a.g_akQ(), + g = n.g_akQ(); + return r === g ? _.g_afp().g_Qy() - t.g_afp().g_Qy() : r - g; + } + g_alR() { + const g = g_ahk, + _ = this.g_aki.g_adS(); + if ( + (g_ahk.g_ac$(this), + (this.g_akj = new (_ || g)()), + g_ahk.g_ac$(null), + _ && !(this.g_akj instanceof g)) + ) + throw new TypeError( + `script interface class '${_.name}' does not extend the right base class '${g.name}'` + ); + } + g_ad_() { + return this.g_akj; + } + }), + 'use strict', + (g_aO.g_DP = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_ue = g), + (this.g_alT = []), + (this.g_alU = []), + (this.g_alV = new Map()), + (this.g_alW = []), + (this.g_sV = !0); + for (const e of _) { + const g = g_aO.g_ej(g_aO.g_alX, this, e, this.g_alT.length); + this.g_alT.push(g), + this.g_alV.set(g.g_pY().toLowerCase(), g), + 3 <= e.length && this.g_alW.push(this.g_alY(e[2])); + } + this.g_BI().g_alZ(this); + } + g_ek() { + g_aO.g_fz(this.g_alT), + g_aO.g_fz(this.g_alU), + this.g_alV.clear(), + g_aO.g_fz(this.g_alW), + (this.g_ue = null); + } + g_ajx(g) { + if (g.length) { + this.g_alT = g.concat(this.g_alT); + for (const _ of g) this.g_alV.set(_.g_pY().toLowerCase(), _); + for (let g = 0, _ = this.g_alT.length; g < _; ++g) this.g_alT[g].g_al_(g); + } + } + g_alY(g) { + const _ = g.slice(0); + for (let t = 0, e = _.length; t < e; ++t) { + const g = _[t]; + if (Array.isArray(g)) { + const a = g_aO.g_ej(g_aO.g_gB); + a.g_hs(g), (_[t] = a); + } + } + return _; + } + g_al$() { + return this.g_ue; + } + g_BI() { + return this.g_ue.g_BI(); + } + g_abD() { + g_aO.g_fz(this.g_alU); + let g = !0; + for (const _ of this.g_alT) _.g_Yd() && (this.g_alU.push(_), _.g_tq().g_tu() || (g = !1)); + this.g_sV = g; + } + g_agQ() { + return this.g_alT; + } + g_ajL() { + return 0 < this.g_alT.length; + } + g_Qg(g) { + return this.g_alV.get(g.toLowerCase()) || null; + } + g_Gc() { + return this.g_alU; + } + g_FH() { + return 0 < this.g_alU.length; + } + g_tu() { + return this.g_sV; + } + g_Gh(g) { + return this.g_alW[g]; + } + static g_ama(g) { + return g && g instanceof g_aO.g_gB ? { t: 'color', v: g.toJSON() } : g; + } + static g_amb(g) { + if ('object' == typeof g) { + const _ = g.t; + if ('color' === _) { + const _ = g_aO.g_ej(g_aO.g_gB); + return _.g_hs(g.v), _; + } + throw new Error('invalid effect parameter type'); + } else return g; + } + static g_amc(g) { + return g.map(g_aO.g_DP.g_ama); + } + static g_amd(g) { + return g.map(g_aO.g_DP.g_amb); + } + g_GH() { + return this.g_alT.map((g) => ({ + name: g.g_pY(), + active: g.g_Yd(), + params: g_aO.g_DP.g_amc(this.g_alW[g.g_EM()]) + })); + } + g_GJ(g) { + for (const _ of g) { + const g = this.g_Qg(_.name); + g && (g.g_ame(_.active), (this.g_alW[g.g_EM()] = g_aO.g_DP.g_amd(_.params))); + } + this.g_abD(); + } + }), + 'use strict', + (g_aO.g_alX = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_DO = g), + (this.g_RB = _[0]), + (this.g_en = _[1]), + (this.g_Dr = e), + (this.g_qx = null), + (this.g_lB = !0); + } + g_ek() { + (this.g_DO = null), (this.g_qx = null); + } + g_ajw(g) { + const _ = g_aO.g_ej(g_aO.g_alX, g, [this.g_RB, this.g_en], -1); + return (_.g_qx = this.g_qx), (_.g_lB = this.g_lB), _; + } + g_amf(g) { + const _ = g.g_p$(this.g_RB); + if (!_) throw new Error("failed to find shader program '" + this.g_RB + "'"); + this.g_qx = _; + } + g_EP() { + return this.g_DO; + } + g_pY() { + return this.g_en; + } + g_al_(g) { + this.g_Dr = g; + } + g_EM() { + return this.g_Dr; + } + g_al$() { + return this.g_DO.g_al$(); + } + g_BI() { + return this.g_DO.g_BI(); + } + g_ame(g) { + this.g_lB = !!g; + } + g_Yd() { + return this.g_lB; + } + g_tq() { + return this.g_qx; + } + g_amg() { + const g = []; + for (let _ = 0, e = this.g_qx.g_tA(); _ < e; ++_) { + const e = this.g_qx.g_tB(_); + if ('float' === e || 'percent' === e) g.push(0); + else if ('color' === e) g.push(g_aO.g_ej(g_aO.g_gB, 1, 1, 1, 1)); + else throw new TypeError('unknown effect parameter type'); + } + return g; + } + }), + 'use strict', + (g_aO.g_alo = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_b_ = g), + (this.g_amh = _), + (this.g_DO = g.g_EA().g_EP()), + (this.g_ami = []), + (this.g_alU = []), + (this.g_sV = !0), + (this.g_alW = []); + for (const e of this.g_DO.g_agQ()) this.g_ami.push(!0); + this.g_abD(); + } + g_ek() { + g_aO.g_fz(this.g_ami), + g_aO.g_fz(this.g_alU), + g_aO.g_fz(this.g_alW), + (this.g_b_ = null), + (this.g_DO = null); + } + g_alt(g) { + for (const _ of g) this.g_alW.push(this.g_alY(_)); + } + g_alY(g) { + const _ = g.slice(0); + for (let t = 0, e = _.length; t < e; ++t) { + const g = _[t]; + if (Array.isArray(g)) { + const a = g_aO.g_ej(g_aO.g_gB); + a.g_hs(g), (_[t] = a); + } + } + return _; + } + g_aky() { + for (const g of this.g_DO.g_agQ()) this.g_alW.push(g.g_amg()); + } + g_al$() { + return this.g_ue; + } + g_EP() { + return this.g_DO; + } + g_abD() { + g_aO.g_fz(this.g_alU); + const g = this.g_DO.g_agQ(), + _ = this.g_alU, + a = this.g_ami; + let t = !0; + for (let n = 0, e = g.length; n < e; ++n) + if (a[n]) { + const e = g[n]; + _.push(e), e.g_tq().g_tu() || (t = !1); + } + (this.g_sV = t), this.g_amh.g_alQ(!!_.length); + } + g_Gc() { + return this.g_alU; + } + g_Gh(g) { + return this.g_alW[g]; + } + g_tu() { + return this.g_sV; + } + g_amj() { + return this.g_alU.some((g) => g.g_tq().g_tr()); + } + g_Qf(g) { + return this.g_ami[g]; + } + g_abC(g, _) { + this.g_ami[g] = !!_; + } + g_GG() { + return this.g_DO + .g_agQ() + .map((g) => ({ + name: g.g_pY(), + active: this.g_ami[g.g_EM()], + params: g_aO.g_DP.g_amc(this.g_alW[g.g_EM()]) + })); + } + g_GI(g) { + for (const _ of g) { + const g = this.g_DO.g_Qg(_.name); + g && + ((this.g_ami[g.g_EM()] = _.active), (this.g_alW[g.g_EM()] = g_aO.g_DP.g_amd(_.params))); + } + this.g_abD(); + } + }), + 'use strict'; +{ + const _ = [], + t = [], + a = [], + r = g_aO.g_ej(g_aO.g_i_), + n = g_aO.g_ej(g_aO.g_i_), + s = g_aO.g_ej(g_aO.g_iu), + o = g_aO.g_ej(g_aO.Rect), + g = g_aO.g_ej(g_aO.Rect); + g_aO.g_amk = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_aml = []), + (this.g_amm = 0), + (this.g_amn = 0), + (this.g_amo = 0), + (this.g_amp = 0); + } + g_ek() { + this.g_Be = null; + } + g_amq() { + (this.g_amn = this.g_amm), (this.g_amm = 0), (this.g_amp = this.g_amo), (this.g_amo = 0); + } + g_amr() { + return this.g_amn; + } + g_ams() { + return this.g_amp; + } + g_amt(g, _) { + const e = g.g_CU(), + a = _.g_CU(); + e && a && e.g_alx() && a.g_alx() && this.g_aml.push([g, _]); + } + g_amu(g, _, t) { + for (const [e, n] of this.g_aml) { + let a = null; + if (g === e) a = n; + else if (g === n) a = e; + else continue; + a.g_akO(_) && !t.includes(a) && t.push(a); + } + } + g_amv(g, _) { + if (!this.g_aml.length) return !1; + for (const [e, a] of this.g_aml) if ((g === e && _ === a) || (g === a && _ === e)) return !0; + return !1; + } + g_amw() { + g_aO.g_fz(this.g_aml); + } + g_ahe(_, a) { + if (!_ || !a || _ === a) return !1; + const t = _.g_CU(), + e = a.g_CU(); + if (!t.g_alx() || !e.g_alx()) return !1; + this.g_amm++; + const n = t.g_Em(), + g = e.g_Em(), + r = n !== g && !n.g_Fu(g); + return r ? this.g_amx(t, e) : this.g_amy(t, e); + } + g_amy(g, _) { + if (!g.g_Gi().g_io(_.g_Gi())) return !1; + if ((this.g_amo++, !g.g_agX().g_iT(_.g_agX()))) return !1; + if (g.g_akG() && _.g_akG()) return !1; + if (g.g_akG()) return this.g_amz(g, _); + if (_.g_akG()) return this.g_amz(_, g); + if (!g.g_alL() && !_.g_alL()) return !0; + const e = g.g_alM(), + a = _.g_alM(); + return e.g_jk(a, _.g_Ig() - g.g_Ig(), _.g_Ih() - g.g_Ih()); + } + g_amx(_, t) { + const a = _.g_Em(), + s = t.g_Em(); + r.g_p(_.g_alM()), n.g_p(t.g_alM()); + const l = r.g_jd(); + for (let g = 0, n = l.length; g < n; g += 2) { + const t = g + 1, + n = l[g], + e = l[t], + [r, s] = a.g_GC(n + _.g_Ig(), e + _.g_Ih()); + (l[g] = r), (l[t] = s); + } + const o = n.g_jd(); + for (let n = 0, g = o.length; n < g; n += 2) { + const _ = n + 1, + a = o[n], + r = o[_], + [e, g] = s.g_GC(a + t.g_Ig(), r + t.g_Ih()); + (o[n] = e), (o[_] = g); + } + return r.g_jg(), n.g_jg(), this.g_amo++, r.g_jk(n, 0, 0); + } + g_amz(_, d) { + const e = d.g_Gi(), + o = _.g_Ig(), + u = _.g_Ih(), + g = _.g_Nj().g_Qd(), + p = d.g_Ig(), + i = d.g_Ih(), + h = d.g_alL(), + l = d.g_agX(), + f = t; + g.g_amA(e, f); + for (let g = 0, a = f.length; g < a; ++g) { + const _ = f[g], + a = _.g_amB(); + if ((this.g_amm++, e.g_ip(a, o, u) && (s.g_iO(a), s.offset(o, u), s.g_iT(l)))) + if (h) { + const e = d.g_alM(), + t = _.g_amC(); + if (t) { + if ((this.g_amo++, t.g_jk(e, p - (o + a.g_hV()), i - (u + a.g_hW())))) + return g_aO.g_fz(f), !0; + } else if ((r.g_ji(s, 0, 0), r.g_jk(e, p, i))) return g_aO.g_fz(f), !0; + } else { + const g = _.g_amC(); + if (!g) return g_aO.g_fz(f), !0; + if ((r.g_ji(l, 0, 0), g.g_jk(r, -(o + a.g_hV()), -(u + a.g_hW())))) + return g_aO.g_fz(f), !0; + } + } + return g_aO.g_fz(f), !1; + } + g_amD(_, t, n, r) { + const s = _.g_Tu(), + e = this.g_Be.g_TT(); + if (!e) throw new Error('cannot call outside event'); + const d = e.g_TS(); + if (s.g_TF()) { + r || (s.g_TM(!1), g_aO.g_fz(s.g_TN())); + for (const g of _.g_H$()) { + const _ = g.g_CU(), + e = _.g_Em(), + [a, i] = e.g_Gr(t, n, _.g_Jg()); + if (_.g_ahc(a, i)) { + if (r) return !1; + s.g_TK(g); + } else d && s.g_TL(g); + } + } else { + const g = d ? s.g_TO() : s.g_TN(); + let _ = 0; + for (let e = 0, a = g.length; e < a; ++e) { + const a = g[e], + i = a.g_CU(), + o = i.g_Em(), + [u, l] = o.g_Gr(t, n, i.g_Jg()); + if (i.g_ahc(u, l)) { + if (r) return !1; + d ? s.g_TK(a) : (g[_++] = a); + } else d && (g[_++] = a); + } + r || (g.length = _); + } + return _.g_aaH(), !!r || s.g_TG(); + } + g_amE(g, _, t, n) { + const i = !!g && (1 !== g.g_Fb() || 1 !== g.g_Fc()); + if (_.g_EF()) + for (const g of _.g_Zd()) + i || g.g_ajZ() ? g_aO.g_ee(n, g.g_H$()) : (g.g_aj_(), g.g_ajX().g_Dm(t, n)); + else i || _.g_ajZ() ? g_aO.g_ee(n, _.g_H$()) : (_.g_aj_(), _.g_ajX().g_Dm(t, n)); + } + g_amF(g, _, a, t) { + for (const n of _) this.g_amE(g, n, a, t); + } + g_amG(g, _, e) { + const a = this.g_Be.g_ahB(); + a && this.g_amF(g, a.g_Kz(), _, e); + } + g_amH(g, _, e) { + const a = this.g_Be.g_ahC(); + a && this.g_amF(g, a.g_Kz(), _, e); + } + g_alB(g, _) { + return g.g_akI() && (!_ || _.g_CU().g_alB(g.g_aaF().get('solidTags'))); + } + g_ahh(g) { + const e = g.g_CU(); + this.g_amG(e.g_Em(), e.g_Gi(), _); + for (const e of _) if (this.g_alB(e, g) && this.g_ahe(g, e)) return g_aO.g_fz(_), e; + return g_aO.g_fz(_), null; + } + g_amI(g, e) { + this.g_amG(null, g, _); + for (const a of _) if (this.g_alB(a, e) && this.g_amJ(g, a)) return g_aO.g_fz(_), a; + return g_aO.g_fz(_), null; + } + g_amK(g, t) { + let n = null; + t && ((n = a), g_aO.g_fz(n)); + const i = g.g_CU(); + this.g_amH(i.g_Em(), i.g_Gi(), _); + for (const e of _) + if (e.g_akK() && this.g_ahe(g, e)) + if (t) n.push(e); + else return g_aO.g_fz(_), e; + return g_aO.g_fz(_), n; + } + g_amL(_, a, t, n, i) { + n = n || 50; + const e = _.g_CU(), + r = e.g_Ig(), + g = e.g_Ih(); + for (let s = 0; s < n; ++s) + if ((e.g_abq(r + a * s, g + t * s), e.g_En(), !this.g_ahe(_, i))) return !0; + return e.g_abq(r, g), e.g_En(), !1; + } + g_amM(_, a, t, n, i, e) { + n = n || 50; + const r = _.g_CU(), + g = r.g_Ig(), + s = r.g_Ih(); + let o = null, + u = null; + for (let d = 0; d < n; ++d) + if ((r.g_abq(g + a * d, s + t * d), r.g_En(), !this.g_ahe(_, o))) + if (((o = this.g_ahh(_)), o)) u = o; + else if ( + (i && ((o = e ? (this.g_ahe(_, e) ? e : null) : this.g_amK(_)), o && (u = o)), !o) + ) + return u && this.g_amN(_, a, t, u, 16, !0), !0; + return r.g_abq(g, s), r.g_En(), !1; + } + g_amO(_, a, t, n) { + n = n || 50; + const r = _.g_CU(), + e = r.g_Ig(), + s = r.g_Ih(); + let g = null, + l = null; + for (let o = 0; o < n; ++o) + for (let n = 0; 2 > n; ++n) { + const d = 2 * n - 1; + if ((r.g_abq(e + a * o * d, s + t * o * d), r.g_En(), !this.g_ahe(_, g))) + if (((g = this.g_ahh(_)), g)) l = g; + else return l && this.g_amN(_, a * d, t * d, l, 16, !0), !0; + } + return r.g_abq(e, s), r.g_En(), !1; + } + g_amN(_, a, t, n, r, s) { + let d = 2, + o = !1, + u = !1; + const p = _.g_CU(); + let c = p.g_Ig(), + f = p.g_Ih(); + for (; d <= r; ) { + const g = 1 / d; + (d *= 2), + p.g_abt(a * g * (o ? 1 : -1), t * g * (o ? 1 : -1)), + p.g_En(), + this.g_ahe(_, n) || (s && this.g_ahh(_)) + ? ((o = !0), (u = !0)) + : ((o = !1), (u = !1), (c = p.g_Ig()), (f = p.g_Ih())); + } + u && (p.g_abq(c, f), p.g_En()); + } + g_amP(_, a = 100) { + var t = Math.floor; + let n = 0; + const r = _.g_CU(), + e = r.g_Ig(), + s = r.g_Ih(); + let g = 0, + l = this.g_ahh(_); + if (!l) return !0; + for (; n <= a; ) { + let a = 0, + i = 0; + if ( + (0 == g + ? ((a = 0), (i = -1), n++) + : 1 == g + ? ((a = 1), (i = -1)) + : 2 == g + ? ((a = 1), (i = 0)) + : 3 == g + ? ((a = 1), (i = 1)) + : 4 == g + ? ((a = 0), (i = 1)) + : 5 == g + ? ((a = -1), (i = 1)) + : 6 == g + ? ((a = -1), (i = 0)) + : 7 == g + ? ((a = -1), (i = -1)) + : void 0, + (g = (g + 1) % 8), + r.g_abq(t(e + a * n), t(s + i * n)), + r.g_En(), + !this.g_ahe(_, l) && ((l = this.g_ahh(_)), !l)) + ) + return !0; + } + return r.g_abq(e, s), r.g_En(), !1; + } + g_amQ(_, a, E, c) { + var d = Math.sin, + e = Math.cos, + f = Math.PI; + const b = _.g_CU(), + g = b.g_Ig(), + h = b.g_Ih(), + B = Math.max(10, g_aO.g_et(a, E, g, h)), + l = g_aO.g_ev(a, E, g, h), + m = c || this.g_ahh(_); + if (!m) return g_aO.g_eq(l + f); + let n = m, + C = 0, + T = 0; + const H = g_aO.g_er(5); + let r; + for (r = 1; 36 > r; ++r) { + const t = l - r * H; + if ( + (b.g_abq(a + e(t) * B, E + d(t) * B), + b.g_En(), + !this.g_ahe(_, n) && ((n = c ? null : this.g_ahh(_)), !n)) + ) { + C = t; + break; + } + } + for (36 === r && (C = g_aO.g_eq(l + f)), n = m, r = 1; 36 > r; ++r) { + const t = l + r * H; + if ( + (b.g_abq(a + e(t) * B, E + d(t) * B), + b.g_En(), + !this.g_ahe(_, n) && ((n = c ? null : this.g_ahh(_)), !n)) + ) { + T = t; + break; + } + } + if ((36 === r && (T = g_aO.g_eq(l + f)), b.g_abq(g, h), b.g_En(), T === C)) return T; + const N = g_aO.g_ew(T, C) / 2; + let i = g_aO.g_ey(T, C) ? g_aO.g_eq(C + N + f) : g_aO.g_eq(T + N); + const t = e(l), + u = d(l), + v = e(i), + U = d(i), + x = t * v + u * U; + return g_aO.g_ev(0, 0, t - 2 * x * v, u - 2 * x * U); + } + g_amR(g, _, a, t, n) { + var e = Math.min, + r = Math.max; + if (!n) return !1; + const s = n.g_CU(); + if (!s.g_alx()) return !1; + if ((this.g_amm++, o.set(e(g, a), e(_, t), r(g, a), r(_, t)), !s.g_Gi().g_io(o))) return !1; + if (n.g_akG()) return this.g_amS(g, _, a, t, n, s); + if ((this.g_amo++, !s.g_agX().g_iS(g, _, a, t))) return !1; + if (!s.g_alL()) return !0; + const i = s.g_alM(); + return i.g_iS(s.g_Ig(), s.g_Ih(), g, _, a, t); + } + g_amS(_, a, r, e, d, u) { + const i = u.g_Ig(), + p = u.g_Ih(), + l = d.g_Qd(), + f = t; + g.set(_, a, r, e), g.normalize(), l.g_amA(g, f); + for (let g = 0, t = f.length; g < t; ++g) { + const t = f[g], + n = t.g_amB(); + if ((this.g_amm++, o.g_ip(n, i, p) && (s.g_iO(n), s.offset(i, p), s.g_iS(_, a, r, e)))) { + const g = t.g_amC(); + if (!g) return g_aO.g_fz(f), !0; + if ((this.g_amo++, g.g_iS(i + n.g_hV(), p + n.g_hW(), _, a, r, e))) + return g_aO.g_fz(f), !0; + } + } + return g_aO.g_fz(f), !1; + } + g_amJ(_, a) { + if (!a) return !1; + const t = a.g_CU(); + if (!t.g_alx()) return !1; + if ((this.g_amm++, !t.g_Gi().g_io(_))) return !1; + if (a.g_akG()) return this.g_amT(_, a, t); + if ((this.g_amo++, s.g_iO(_), !t.g_agX().g_iT(s))) return !1; + if (!t.g_alL()) return !0; + const n = r; + n.g_iO(_, t.g_Ig(), t.g_Ih()); + const e = t.g_alM(); + return n.g_jk(e, 0, 0); + } + g_amT(_, a, n) { + const i = n.g_Ig(), + s = n.g_Ih(), + g = a.g_Qd(), + d = t; + g.g_amA(_, d); + for (let g = 0, e = d.length; g < e; ++g) { + const a = d[g], + e = a.g_amB(); + if ((this.g_amm++, _.g_ip(e, i, s))) { + const g = a.g_amC(); + if (!g) return g_aO.g_fz(d), !0; + if ((this.g_amo++, r.g_iO(_, 0, 0), g.g_jk(r, -(i + e.g_hV()), -(s + e.g_hW())))) + return g_aO.g_fz(d), !0; + } + } + return g_aO.g_fz(d), !1; + } + g_amU(g, _) { + if (g) { + const e = g.g_CU(); + if (e.g_alx()) + return ( + this.g_amm++, + e.g_Gi().g_io(_.rect) + ? g.g_akG() + ? void this.g_amV(g, e, _) + : void (this.g_amo++, + e.g_alL() ? _.g_amW(g, e.g_Ig(), e.g_Ih(), e.g_alM()) : _.g_amX(g, e.g_agX())) + : void 0 + ); + } + } + g_amV(_, a, n) { + const e = a.g_Ig(), + r = a.g_Ih(), + g = t; + _.g_Qd().g_amA(n.rect, g); + for (let t = 0, i = g.length; t < i; t++) { + const s = g[t], + i = s.g_amB(); + if ((this.g_amm++, n.rect.g_ip(i, e, r))) { + const g = s.g_amC(); + this.g_amo++, + g ? n.g_amW(_, e + i.g_hV(), r + i.g_hW(), g) : n.g_amY(_, a.g_Ig(), a.g_Ih(), i); + } + } + g_aO.g_fz(g); + } + }; +} +'use strict', + (g_aO.g_aiI = class extends g_aO.g_eh { + constructor(g, _) { + super(), (this.g_Df = g), (this.g_Dg = _), (this.g_Dh = g_aO.g_ej(g_aO.g_jq)); + } + g_ek() { + this.g_Dh.g_ek(), (this.g_Dh = null); + } + g_Di(g, _, e) { + let a = this.g_Dh.g_bd(g, _); + return a + ? a + : e + ? ((a = g_aO.g_ej(g_aO.g_amZ, this, g, _)), this.g_Dh.Set(g, _, a), a) + : null; + } + g_Dj(g) { + const _ = Math.floor(g / this.g_Df); + return isFinite(_) ? _ : 0; + } + g_Dk(g) { + const _ = Math.floor(g / this.g_Dg); + return isFinite(_) ? _ : 0; + } + g_Dl(g, _, a) { + if (_) + for (let t = _.g_hV(), n = _.g_hX(); t <= n; ++t) + for (let n = _.g_hW(), e = _.g_hY(); n <= e; ++n) { + if (a && a.g_iq(t, n)) continue; + const _ = this.g_Di(t, n, !1); + _ && (_.g_lO(g), _.g_jC() && this.g_Dh.g_jt(t, n)); + } + if (a) + for (let t = a.g_hV(), n = a.g_hX(); t <= n; ++t) + for (let n = a.g_hW(), e = a.g_hY(); n <= e; ++n) + (_ && _.g_iq(t, n)) || this.g_Di(t, n, !0).g_Db(g); + } + g_Dm(g, _) { + let t = this.g_Dj(g.g_hV()); + const n = this.g_Dk(g.g_hW()), + a = this.g_Dj(g.g_hX()), + e = this.g_Dk(g.g_hY()); + if (isFinite(a) && isFinite(e)) + for (; t <= a; ++t) + for (let g = n; g <= e; ++g) { + const e = this.g_Di(t, g, !1); + e && e.g_Dd(_); + } + } + }), + 'use strict', + (g_aO.g_amZ = class extends g_aO.g_eh { + constructor(g, _, e) { + super(), + (this.g_CW = g), + (this.g_hB = _), + (this.g_hC = e), + (this.g_CX = g_aO.g_ej(g_aO.g_jx)); + } + g_ek() { + this.g_CX.g_ek(), (this.g_CX = null), (this.g_CW = null); + } + g_jC() { + return this.g_CX.g_jC(); + } + g_Db(g) { + this.g_CX.g_jB(g); + } + g_lO(g) { + this.g_CX.g_jt(g); + } + g_Dd(g) { + g_aO.g_ee(g, this.g_CX.g_jD()); + } + }), + 'use strict'; +{ + const _ = 1e-6; + g_aO.g_am_ = class { + constructor() { + (this.x1 = 0), + (this.y1 = 0), + (this.x2 = 0), + (this.y2 = 0), + (this.dx = 0), + (this.dy = 0), + (this.rect = new g_aO.Rect()), + (this.g_am$ = 2), + (this.g_ana = null), + (this.g_anb = 0), + (this.g_anc = 0), + (this.g_and = 0), + (this.g_ane = 0), + (this.g_anf = 0), + (this.g_P = 0), + (this.g_ang = 1), + (this.g_anh = 0), + (this.g_ani = 1), + (this.g_anj = 0); + } + g_ank() { + return this.g_am$ < 1 + _; + } + Set(g, _, e, a) { + return ( + (this.x1 = g), + (this.y1 = _), + (this.x2 = e), + (this.y2 = a), + (this.dx = e - g), + (this.dy = a - _), + this.rect.set(g, _, e, a), + this.rect.normalize(), + (this.g_am$ = 2), + (this.g_ana = null), + (this.g_anb = 0), + (this.g_anc = 0), + (this.g_and = 0), + (this.g_ane = 0), + (this.g_anf = 0), + (this.g_P = 0), + (this.g_ang = 1), + (this.g_anh = 0), + (this.g_ani = 1), + (this.g_anj = 0), + this + ); + } + g_anl() { + var a = Math.PI; + if (!1 !== this.g_ank()) { + const t = this.dx * this.g_am$, + n = this.dy * this.g_am$, + i = Math.sqrt(t * t + n * n), + e = t / i, + r = n / i; + (this.g_P = i - _), + (this.g_ane = this.x1 + e * this.g_P), + (this.g_anf = this.y1 + r * this.g_P), + (this.g_anb = Math.atan2(this.g_and, this.g_anc) + a / 2), + (this.g_ang = Math.cos(this.g_anb)), + (this.g_anh = Math.sin(this.g_anb)); + const g = e * this.g_ang + r * this.g_anh; + ((this.g_ani = e - 2 * this.g_ang * g), (this.g_anj = r - 2 * this.g_anh * g), 0 < g) && + ((this.g_anb = g_aO.g_eq(this.g_anb + a)), + (this.g_ang = -this.g_ang), + (this.g_anh = -this.g_anh)); + } + } + g_anm(g, _, a, t, n) { + const e = g_aO.g_fd(this.x1, this.y1, this.x2, this.y2, _, a, t, n); + 0 <= e && + e < this.g_am$ && + ((this.g_am$ = e), (this.g_ana = g.g_Ei()), (this.g_anc = _ - t), (this.g_and = a - n)); + } + g_amY(_, a, t, n) { + const i = a + n.g_hV(), + e = a + n.g_hX(), + r = t + n.g_hW(), + g = t + n.g_hY(); + this.g_anm(_, i, r, e, r), + this.g_anm(_, e, r, e, g), + this.g_anm(_, e, g, i, g), + this.g_anm(_, i, g, i, r); + } + g_amX(_, a) { + const t = a.g_eW(), + n = a.g_eX(), + r = a.g_eY(), + e = a.g_eZ(), + s = a.g_e_(), + g = a.g_e$(), + d = a.g_fa(), + i = a.g_fb(); + this.g_anm(_, t, n, r, e), + this.g_anm(_, r, e, s, g), + this.g_anm(_, s, g, d, i), + this.g_anm(_, d, i, t, n); + } + g_amW(_, a, t, g) { + const n = g.g_jd(); + for (let e = 0, r = n.length; e < r; e += 2) { + const g = (e + 2) % r, + s = n[e] + a, + d = n[e + 1] + t, + i = n[g] + a, + l = n[g + 1] + t; + this.g_anm(_, s, d, i, l); + } + } + }; +} +{ + const g = new Set([ + 'off', + 'crop', + 'scale-inner', + 'scale-outer', + 'letterbox-scale', + 'letterbox-integer-scale' + ]), + _ = new Set(['high', 'low']), + t = g_aO.g_ej(g_aO.g_iu), + s = g_aO.g_ej(g_aO.Rect); + g_aO.g_ann = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_Be = g), + (this.g_ano = null), + (this.g_anp = null), + (this.g_anq = 'high-performance'), + (this.g_anr = 0), + (this.g_ans = 0), + (this.g_ant = 0), + (this.g_anu = 0), + (this.g_anv = 0), + (this.g_anw = 0), + (this.g_anx = 0), + (this.g_any = 0), + (this.g_anz = 0), + (this.g_anA = 0), + (this.g_anB = 'letterbox-scale'), + (this.g_anC = 'letterbox-scale'), + (this.g_anD = 0), + (this.g_anE = 0), + (this.g_anF = 'high'), + (this.g_anG = this.g_anF), + (this.g_anH = !1), + (this.g_anI = []), + (this.g_anJ = new Set()), + (this.g_anK = null), + (this.g_anL = null), + (this.g_anM = 0), + (this.g_anN = 0), + (this.g_anO = NaN), + (this.g_anP = 0), + (this.g_anQ = new Map()), + (this.g_anR = ''), + (this.g_anS = 1), + (this.g_anT = ''), + (this.g_anU = null), + (this.g_anV = null), + (this.g_anW = 0), + (this.g_anX = -1), + (this.g_anY = 0), + (this.g_anZ = (g) => (this.g_anY = g.g_Ci)), + (this.g_an_ = null), + (this.g_an$ = null), + (this.g_aoa = { g_aob: null, g_aoc: null, g_aod: null }), + (this.g_aoe = 0), + (this.g_aof = 0), + (this.g_aog = 0), + (this.g_aoh = 'fade-in'), + (this.g_aoi = null), + (this.g_aoj = new Promise((g) => (this.g_aoi = g))); + } + g_aok(g) { + this.g_anq = g; + } + async g_gk(g) { + (this.g_ano = g.canvas), + this.g_ano.addEventListener('webglcontextlost', (g) => this.g_HF(g)), + this.g_ano.addEventListener('webglcontextrestored', (g) => this.g_aol(g)); + const _ = { g_xM: this.g_anq, g_xN: !0 }; + 'Android' === g_aO.g_bJ.g_bK && + 'Chromium' === g_aO.g_bJ.g_bR && + 75 > g_aO.g_bJ.g_bP && + (console.warn( + '[Construct 3] Disabling WebGL 2 because this device appears to be affected by crbug.com/934823. Install software updates to avoid this.' + ), + (_.g_xP = 1)), + 'standard' === this.g_Be.g_Iw() ? (_.alpha = !0) : ((_.alpha = !1), (_.g_xO = !0)), + (this.g_anp = g_aO.g_ej(g_aO.g_ps.g_xU, this.g_ano, _)), + await this.g_anp.g_yW(), + this.g_anp.g_AO() || (this.g_anP = NaN), + this.g_Be.g_adN('runtime', 'window-resize', (g) => this.g_aom(g)), + this.g_Be.g_adN('runtime', 'fullscreenchange', (g) => this.g_aon(g)), + this.g_Be.g_adN('runtime', 'fullscreenerror', (g) => this.g_aoo(g)), + (this.g_anH = !!g.isFullscreen), + this.g_wQ(g.windowInnerWidth, g.windowInnerHeight, !0), + (this.g_anK = self.C3_Shaders), + await this.g_aop(); + let e = !1; + for (const _ of this.g_Be.g_aoq()) { + for (const g of _.g_agQ()) g.g_amf(this.g_anp), g.g_tq().g_tr() && (e = !0); + _.g_abD(); + } + this.g_Be.g_aor(e), this.g_anp.g_AO() && (this.g_anL = g_aO.g_ej(g_aO.g_ps.g_xB, this.g_anp)); + } + async g_aop() { + if (this.g_anK) { + const g = []; + for (const [_, e] of Object.entries(this.g_anK)) { + const a = g_aO.g_ps.g_sb.g_tU(this.g_anp.g_y_()); + g.push(this.g_anp.g_yY(e, a, _)); + } + await Promise.all(g), this.g_anp.g_zc(), this.g_anp.g_yZ(); + } + } + g_ek() { + (this.g_Be = null), (this.g_anp = null), (this.g_ano = null); + } + g_aom(g) { + const _ = g.devicePixelRatio; + this.g_Be.g_Cn() && (self.devicePixelRatio = _), + this.g_Be.g_aos(_), + this.g_wQ(g.innerWidth, g.innerHeight), + this.g_Be.g_EV(); + } + g_aon(g) { + (this.g_anH = !!g.isFullscreen), this.g_wQ(g.innerWidth, g.innerHeight, !0), this.g_Be.g_EV(); + } + g_aoo(g) { + (this.g_anH = !!g.isFullscreen), this.g_wQ(g.innerWidth, g.innerHeight, !0), this.g_Be.g_EV(); + } + g_wQ(g, _, e = !1) { + var t = Math.floor; + if (((g = t(g)), (_ = t(_)), 0 >= g || 0 >= _)) throw new Error('invalid size'); + if (this.g_anr !== g || this.g_ans !== _ || e) { + (this.g_anr = g), (this.g_ans = _); + const e = this.g_aot(); + 'letterbox-scale' === e + ? this.g_aou(g, _) + : 'letterbox-integer-scale' === e + ? this.g_aov(g, _) + : 'off' === e + ? this.g_aow(g, _) + : this.g_aox(g, _), + this.g_aoy(e), + (this.g_ano.width = this.g_anv), + (this.g_ano.height = this.g_anw), + this.g_Be.g_aeh('canvas', 'update-size', { + marginLeft: this.g_anx, + marginTop: this.g_any, + styleWidth: this.g_ant, + styleHeight: this.g_anu + }), + this.g_anp.g_wQ(this.g_anv, this.g_anw, !0); + } + } + g_aou(_, a) { + var t = Math.round, + n = Math.floor; + const i = this.g_Be.g_EO(), + e = this.g_Be.g_DY(), + r = this.g_Be.g_DZ(), + g = e / r; + _ / a > g + ? ((this.g_ant = t(a * g)), + (this.g_anu = a), + (this.g_anx = n((_ - this.g_ant) / 2)), + (this.g_any = 0)) + : ((this.g_ant = _), + (this.g_anu = t(_ / g)), + (this.g_anx = 0), + (this.g_any = n((a - this.g_anu) / 2))), + (this.g_anv = t(this.g_ant * i)), + (this.g_anw = t(this.g_anu * i)), + this.g_Be.g_aoz(e, r); + } + g_aov(_, t) { + var n = Math.max, + r = Math.round, + s = Math.floor; + const e = this.g_Be.g_EO(); + 1 !== e && ((_ += 1), (t += 1)); + const d = this.g_Be.g_DY(), + g = this.g_Be.g_DZ(), + l = d / g, + i = _ / t; + let o; + if (i > l) { + const g = t * l; + o = (g * e) / d; + } else { + const a = _ / l; + o = (a * e) / g; + } + 1 < o ? (o = s(o)) : 1 > o && (o = 1 / Math.ceil(1 / o)), + (this.g_anv = r(d * o)), + (this.g_anw = r(g * o)), + (this.g_ant = this.g_anv / e), + (this.g_anu = this.g_anw / e), + (this.g_anx = n(s((_ - this.g_ant) / 2), 0)), + (this.g_any = n(s((t - this.g_anu) / 2), 0)), + this.g_Be.g_aoz(d, g); + } + g_aox(g, _) { + var a = Math.round; + const t = this.g_Be.g_EO(); + (this.g_ant = g), + (this.g_anu = _), + (this.g_anv = a(this.g_ant * t)), + (this.g_anw = a(this.g_anu * t)), + (this.g_anx = 0), + (this.g_any = 0); + const n = this.g_Go(); + this.g_Be.g_aoz(this.g_ant / n, this.g_anu / n); + } + g_aow(g, _) { + var a = Math.round, + t = Math.floor; + const n = this.g_Be.g_EO(); + (this.g_ant = this.g_Be.g_Gt()), + (this.g_anu = this.g_Be.g_Gu()), + (this.g_anv = a(this.g_ant * n)), + (this.g_anw = a(this.g_anu * n)), + this.g_aoA() + ? ((this.g_anx = t((g - this.g_ant) / 2)), (this.g_any = t((_ - this.g_anu) / 2))) + : ((this.g_anx = 0), (this.g_any = 0)), + this.g_Be.g_aoz(this.g_Be.g_Gt(), this.g_Be.g_Gu()); + } + g_aoy(g) { + if ('high' === this.g_anF) + (this.g_anz = this.g_anv), (this.g_anA = this.g_anw), (this.g_anG = 'high'); + else { + let _, e; + if ( + ('off' === this.g_aot() + ? ((_ = this.g_Be.g_Gt()), (e = this.g_Be.g_Gu())) + : ((_ = this.g_Be.g_DY()), (e = this.g_Be.g_DZ())), + this.g_anv < _ && this.g_anw < e) + ) + (this.g_anz = this.g_anv), (this.g_anA = this.g_anw), (this.g_anG = 'high'); + else if (((this.g_anz = _), (this.g_anA = e), (this.g_anG = 'low'), 'scale-inner' === g)) { + const g = _ / e, + a = this.g_anr / this.g_ans; + a < g ? (this.g_anz = this.g_anA * a) : a > g && (this.g_anA = this.g_anz / a); + } else if ('scale-outer' === g) { + const g = _ / e, + a = this.g_anr / this.g_ans; + a > g ? (this.g_anz = this.g_anA * a) : a < g && (this.g_anA = this.g_anz / a); + } + } + } + g_aoA() { + return this.g_anH; + } + g_aoB(_) { + if (!g.has(_)) throw new Error('invalid fullscreen mode'); + this.g_anB = _; + } + g_aeR() { + return this.g_anB; + } + g_aoC(_) { + if (!g.has(_)) throw new Error('invalid fullscreen mode'); + this.g_anC = _; + } + g_aoD() { + return this.g_anC; + } + g_aot() { + return this.g_aoA() ? this.g_aoD() : this.g_aeR(); + } + g_aoE(g) { + if (!_.has(g)) throw new Error('invalid fullscreen scaling quality'); + this.g_anF = g; + } + g_aoF() { + return this.g_anF; + } + g_FS() { + return this.g_anG; + } + static g_aoG(g) { + switch (g) { + case 0: + return 'off'; + case 1: + return 'crop'; + case 2: + return 'scale-inner'; + case 3: + return 'scale-outer'; + case 4: + return 'letterbox-scale'; + case 5: + return 'letterbox-integer-scale'; + default: + throw new Error('invalid fullscreen mode'); + } + } + g_aeF() { + return this.g_anr; + } + g_aeH() { + return this.g_ans; + } + g_FT() { + return this.g_anz; + } + g_FU() { + return this.g_anA; + } + g_aoH() { + return this.g_anp.g_xe(); + } + g_HF(g) { + console.log('[Construct 3] WebGL context lost'), + g.preventDefault(), + (this.g_anI = []), + this.g_anJ.clear(), + this.g_anp.g_qI(), + this.g_Be.g_HF(); + } + async g_aol() { + await this.g_anp.g_qJ(), await this.g_aop(); + for (const g of this.g_Be.g_aoq()) for (const _ of g.g_agQ()) _.g_amf(this.g_anp); + await this.g_Be.g_aol(), console.log('[Construct 3] WebGL context restored'); + } + g_rP() { + return this.g_anp; + } + g_FM() { + return 'low' === this.g_anG ? 1 / this.g_Be.g_EO() : this.g_Go(); + } + g_Go() { + const g = this.g_aot(); + if ('off' === g || 'crop' === g) return 1; + const _ = this.g_Be.g_DY(), + a = this.g_Be.g_DZ(), + t = _ / a, + n = this.g_anv / this.g_anw; + return ('scale-inner' !== g && n > t) || ('scale-inner' === g && n < t) + ? this.g_anu / a + : this.g_ant / _; + } + g_aoI(g, _) { + (this.g_anD = g), (this.g_anE = _); + } + g_JD(g, _, a) { + const t = (_ || this.g_anz) / 2 + this.g_anD, + n = (a || this.g_anA) / 2 + this.g_anE; + g.g_pR(t, n, 100 * this.g_Be.g_EO()), g.g_pS(t, n, 0), g.g_pT(), g.g_zg(); + } + g_aoJ(g) { + const _ = this.g_ant / 2, + e = this.g_anu / 2; + g.g_pR(_, e, 100), g.g_pS(_, e, 0), g.g_pT(), g.g_zg(); + } + g_aoK() { + return this.g_anv; + } + g_aoL() { + return this.g_anw; + } + g_aeS() { + return this.g_ant; + } + g_aeT() { + return this.g_anu; + } + g_aeU() { + return this.g_anx; + } + g_aeV() { + return this.g_any; + } + g_FV(g) { + const _ = this.g_anI, + e = _.findIndex((_) => _.g_rX(g)); + let a; + return ( + -1 === e ? (a = this.g_anp.g_AG(g)) : ((a = _[e]), _.splice(e, 1)), this.g_anJ.add(a), a + ); + } + g_Gl(g) { + if (!this.g_anJ.has(g)) throw new Error('render target not in use'); + this.g_anJ.delete(g), this.g_anI.push(g); + } + *g_aoM() { + for (const g of this.g_Be.g_Wy().g_IY()) + for (const _ of g.g_Hm()) { + const g = this.g_anQ.get(_); + g && (yield g); + } + } + g_FQ(g) { + if (!this.g_anp.g_AO()) return null; + let _ = this.g_anQ.get(g); + return ( + _ || + ((_ = { + name: g.g_pY(), + g_aoN: g_aO.g_ej(g_aO.g_ps.g_xB, this.g_anp), + g_aoO: 0, + g_aoP: 0 + }), + this.g_anQ.set(g, _)), + _.g_aoN + ); + } + g_aoQ() { + if (this.g_anp.g_AO() && 0 === this.g_anN) { + (this.g_anN = this.g_anp.g_qu()), (this.g_anO = NaN); + for (const g of this.g_aoM()) g.g_aoO = NaN; + } + } + g_aoR() { + var g = Math.min; + if ( + this.g_anp.g_AO() && + isNaN(this.g_anO) && + ((this.g_anO = this.g_anL.g_xI(this.g_anM, this.g_anN)), !isNaN(this.g_anO)) + ) { + if (this.g_Be.g_IC()) + for (const g of this.g_aoM()) + if (((g.g_aoO = g.g_aoN.g_xI(this.g_anM, this.g_anN)), isNaN(g.g_aoO))) return; + if ((this.g_anL.g_xJ(this.g_anN), (this.g_anP = g(this.g_anO, 1)), this.g_Be.g_IC())) { + for (const _ of this.g_aoM()) _.g_aoN.g_xJ(this.g_anN), (_.g_aoP = g(_.g_aoO, 1)); + g_IF.g_aoS(this.g_anP, [...this.g_aoM()]); + } + (this.g_anM = this.g_anN), (this.g_anN = 0); + } + } + g_aoT() { + return this.g_anL; + } + g_aoU() { + return this.g_anP; + } + g_aoV(g, _) { + return ((this.g_anR = g), (this.g_anS = _), this.g_anU) + ? this.g_anU + : ((this.g_anU = new Promise((g) => { + this.g_anV = g; + })), + this.g_anU); + } + g_aoW() { + this.g_anR && + (g_aO.g_cv(this.g_ano, this.g_anR, this.g_anS).then((g) => { + (this.g_anT = URL.createObjectURL(g)), (this.g_anU = null), this.g_anV(this.g_anT); + }), + (this.g_anR = ''), + (this.g_anS = 1)); + } + g_aoX() { + return this.g_anT; + } + g_aoY(g) { + if (2 === g) + (this.g_an_ = g_aO.g_ej(g_aO.g_ps.g_vE, this.g_anp)), + this.g_an_.g_wy(!1), + this.g_an_.g_wB('Arial'), + this.g_an_.g_wC(16), + this.g_an_.g_wM('center'), + this.g_an_.g_wN('center'), + this.g_an_.g_wQ(300, 200); + else if (0 === g) { + const g = this.g_Be.g_afD(); + let _; + if (this.g_Be.g_aoZ()) { + if (!g.g_BP('loading-logo.png')) return; + _ = g.g_BR('loading-logo.png'); + } else _ = g.g_BO() + 'loading-logo.png'; + (this.g_an$ = g.g_B$({ url: _ })), + this.g_an$ + .g_CR(this.g_anp) + .catch(() => + console.warn( + `[C3 runtime] Failed to load 'loading-logo.png' for loading screen. Check the project has an icon with that name.` + ) + ); + } else + 4 == g && + (this.g_ao_('splash-images/splash-logo.svg') + .then((g) => { + 'done' === this.g_aoh ? this.g_anp.g_rL(g) : (this.g_aoa.g_aob = g); + }) + .catch((g) => console.warn('Failed to load splash image: ', g)), + this.g_ao$('splash-images/splash-poweredby-512.png') + .then((g) => { + 'done' === this.g_aoh ? this.g_anp.g_rL(g) : (this.g_aoa.g_aoc = g); + }) + .catch((g) => console.warn('Failed to load splash image: ', g)), + this.g_ao$('splash-images/splash-website-512.png') + .then((g) => { + 'done' === this.g_aoh ? this.g_anp.g_rL(g) : (this.g_aoa.g_aod = g); + }) + .catch((g) => console.warn('Failed to load splash image: ', g))); + } + async g_ao_(g) { + g = new URL(g, this.g_Be.g_fe()).toString(); + const _ = await g_aO.g_gd(g), + e = await this.g_Be.g_apa(_, 2048, 2048); + return await this.g_anp.g_AF(e, { g_qR: 'high' }); + } + async g_ao$(g) { + g = new URL(g, this.g_Be.g_fe()).toString(); + const _ = await g_aO.g_gd(g); + return await this.g_anp.g_AF(_, { g_qR: 'high' }); + } + g_apb() { + (this.g_anW = Date.now()), + this.g_Be.g_lh().addEventListener('loadingprogress', this.g_anZ), + (this.g_anX = requestAnimationFrame(() => this.g_apc())); + } + async g_apd() { + (this.g_anY = 1), + 4 === this.g_Be.g_ape() && (await this.g_aoj), + (this.g_aoi = null), + (this.g_aoj = null), + -1 !== this.g_anX && (cancelAnimationFrame(this.g_anX), (this.g_anX = -1)), + this.g_Be.g_lh().removeEventListener('loadingprogress', this.g_anZ), + (this.g_anZ = null), + this.g_an_ && (this.g_an_.g_ek(), (this.g_an_ = null)), + this.g_an$ && (this.g_an$.g_ek(), (this.g_an$ = null)), + this.g_anp.g_AC(), + this.g_aoa.g_aob && (this.g_anp.g_rL(this.g_aoa.g_aob), (this.g_aoa.g_aob = null)), + this.g_aoa.g_aoc && (this.g_anp.g_rL(this.g_aoa.g_aoc), (this.g_aoa.g_aoc = null)), + this.g_aoa.g_aod && (this.g_anp.g_rL(this.g_aoa.g_aod), (this.g_aoa.g_aod = null)), + this.g_anp.g_Ax(0, 0, 0, 0), + this.g_anp.g_qs(), + (this.g_aoh = 'done'), + (this.g_anM = this.g_anp.g_qu()); + } + g_apc() { + if (-1 !== this.g_anX) { + const g = this.g_anp; + g.g_AC(), (this.g_anX = -1); + const _ = this.g_Be.g_afD().g_Ch(), + e = this.g_Be.g_ape(); + if ( + (3 !== e && (this.g_aoJ(g), g.g_Ax(0, 0, 0, 0), g.g_zn(), g.g_yZ(), g.g_zp(null)), + 0 === e) + ) + this.g_apf(_); + else if (1 === e) this.g_apg(_, 120, 0); + else if (2 === e) this.g_aph(_); + else if (3 === e) g_aO.noop(); + else if (4 === e) this.g_api(_); + else throw new Error('invalid loader style'); + g.g_qs(), (this.g_anX = requestAnimationFrame(() => this.g_apc())); + } + } + g_aph(g) { + g ? this.g_an_.g_wL(1, 0, 0) : this.g_an_.g_wL(0.6, 0.6, 0.6), + this.g_an_.g_wP(Math.round(100 * this.g_anY) + '%'); + const _ = this.g_ant / 2, + e = this.g_anu / 2; + t.g_iD(_ - 150, e - 100, _ + 150, e + 100), + this.g_anp.g_zp(this.g_an_.g_rQ()), + this.g_anp.g_zy(t, this.g_an_.g_xg()); + } + g_apg(_, a, t) { + const n = this.g_anp; + n.g_Al(), _ ? n.g_zl(1, 0, 0, 1) : n.g_zl(0.118, 0.565, 1, 1); + const e = this.g_ant / 2, + i = this.g_anu / 2, + g = a / 2; + s.g_hO(e - g, i - 4 + t, Math.floor(a * this.g_anY), 8), + n.Rect(s), + s.g_hO(e - g, i - 4 + t, a, 8), + s.offset(-0.5, -0.5), + s.g_ie(0.5, 0.5), + n.g_zl(0, 0, 0, 1), + n.g_zP(s), + s.g_ie(1, 1), + n.g_zl(1, 1, 1, 1), + n.g_zP(s); + } + g_apf(_) { + if (!this.g_an$) return void this.g_apg(_, 120, 0); + const a = this.g_an$.g_rQ(); + if (!a) return void this.g_apg(_, 120, 0); + const n = a.g_pN(), + r = a.g_pO(), + e = this.g_ant / 2, + s = this.g_anu / 2, + g = n / 2, + d = r / 2; + t.g_iD(e - g, s - d, e + g, s + d), + this.g_anp.g_zp(a), + this.g_anp.g_iu(t), + this.g_apg(_, n, d + 16); + } + g_api(_) { + var t = Math.min, + d = Math.max, + e = Math.ceil; + const u = this.g_anp, + g = this.g_aoa.g_aob, + i = this.g_aoa.g_aoc, + c = this.g_aoa.g_aod, + f = Date.now(); + 0 === this.g_aoe && (this.g_anW = f); + const l = this.g_Be.g_aoZ() || (this.g_Be.g_apj() && !this.g_Be.g_apk()), + m = l ? 0 : 200, + n = l ? 0 : 3e3; + let o = 1; + 'fade-in' === this.g_aoh + ? (o = t((f - this.g_anW) / 300, 1)) + : 'fade-out' === this.g_aoh && (o = d(1 - (f - this.g_aog) / 300, 0)), + u.g_Al(), + u.g_zl(0.231 * o, 0.251 * o, 0.271 * o, o), + s.set(0, 0, this.g_ant, this.g_anu), + u.Rect(s); + const E = e(this.g_ant), + a = e(this.g_anu); + let b, y; + 256 < this.g_anu + ? (u.g_zl(0.302 * o, 0.334 * o, 0.365 * o, o), + (b = E), + (y = d(0.005 * a, 2)), + s.g_hO(0, 0.8 * a - y / 2, b, y), + u.Rect(s), + _ ? u.g_zl(o, 0, 0, o) : u.g_zl(0.161 * o, 0.953 * o, 0.816 * o, o), + (b = E * this.g_anY), + s.g_hO(0.5 * E - b / 2, 0.8 * a - y / 2, b, y), + u.Rect(s), + u.g_zl(o, o, o, o), + u.g_yZ(), + i && + ((b = 1.5 * g_aO.g_ep(0.22 * a, 105, 0.6 * E)), + (y = b / 8), + s.g_hO(0.5 * E - b / 2, 0.2 * a - y / 2, b, y), + u.g_zp(i), + u.Rect(s)), + g && + ((b = t(0.395 * a, 0.95 * E)), + (y = b), + s.g_hO(0.5 * E - b / 2, 0.485 * a - y / 2, b, y), + u.g_zp(g), + u.Rect(s)), + c && + ((b = 1.5 * g_aO.g_ep(0.22 * a, 105, 0.6 * E)), + (y = b / 8), + s.g_hO(0.5 * E - b / 2, 0.868 * a - y / 2, b, y), + u.g_zp(c), + u.Rect(s))) + : (u.g_zl(0.302 * o, 0.334 * o, 0.365 * o, o), + (b = E), + (y = d(0.005 * a, 2)), + s.g_hO(0, 0.85 * a - y / 2, b, y), + u.Rect(s), + _ ? u.g_zl(o, 0, 0, o) : u.g_zl(0.161 * o, 0.953 * o, 0.816 * o, o), + (b = E * this.g_anY), + s.g_hO(0.5 * E - b / 2, 0.85 * a - y / 2, b, y), + u.Rect(s), + u.g_zl(o, o, o, o), + u.g_yZ(), + g && + ((b = 0.55 * a), + (y = b), + s.g_hO(0.5 * E - b / 2, 0.45 * a - y / 2, b, y), + u.g_zp(g), + u.Rect(s))), + this.g_aoe++, + 'fade-in' === this.g_aoh && + 300 <= f - this.g_anW && + 2 <= this.g_aoe && + ((this.g_aoh = 'wait'), (this.g_aof = f)), + 'wait' === this.g_aoh && + f - this.g_aof >= n && + 1 <= this.g_anY && + ((this.g_aoh = 'fade-out'), (this.g_aog = f)), + (('fade-out' === this.g_aoh && f - this.g_aog >= 300 + m) || + (l && 1 <= this.g_anY && 500 > f - this.g_anW)) && + this.g_aoi(); + } + }; +} +{ + const g = { + messagePort: null, + baseUrl: '', + headless: !1, + hasDom: !0, + isInWorker: !1, + useAudio: !0, + projectData: '', + exportType: '' + }; + let _ = !0; + (g_aO.g_apl = class extends g_aO.g_eh { + constructor(e) { + (e = Object.assign({}, g, e)), + super(), + (this.g_apm = e.messagePort), + (this.g_apn = e.baseUrl), + (this.g_apo = !!e.headless), + (this.g_app = !!e.hasDom), + (this.g_apq = !!e.isInWorker), + (_ = e.ife), + (this.g_apr = !!e.useAudio), + (this.g_aps = e.exportType), + (this.g_Bj = !!e.isiOSCordova), + (this.g_apt = !!e.isiOSWebView), + (this.g_apu = !!e.isFBInstantAvailable), + (this.g_apv = e.opusWasmScriptUrl), + (this.g_apw = e.opusWasmBinaryUrl), + (this.g_apx = 'data.json'), + (this.g_apy = !!('preview' === this.g_aps && e.isDebug)), + (this.g_apz = this.g_apy), + (this.g_apA = this.g_apy), + (this.g_apB = 0); + const a = e.previewImageBlobs, + t = e.previewProjectFileBlobs; + t && Object.assign(a, t); + const s = e.projectData; + s && (a[this.g_apx] = s), + (this.g_apC = []), + (this.g_apD = ''), + (this.g_apE = ''), + (this.g_apF = ''), + (this.g_apG = ''), + (this.g_apH = 0), + (this.g_apI = 0), + (this.g_apJ = self.devicePixelRatio), + (this.g_apK = 0), + (this.g_apL = 0), + (this.g_apM = 0), + (this.g_apN = 0), + (this.g_apO = 0), + (this.g_apP = !1), + (this.g_apQ = !0), + (this.g_apR = !1); + const i = + 'html5' === this.g_aps || 'scirra-arcade' === this.g_aps || 'instant-games' === this.g_aps; + (this.g_CD = g_aO.g_ej(g_aO.g_Bc, this, { + g_Bd: i ? 'remote' : 'local', + g_BF: a, + g_Bi: 'cordova' === this.g_aps, + g_Bk: this.g_Bj, + g_Bm: e.supportedAudioFormats + })), + (this.g_GM = g_aO.g_ej(g_aO.g_IH, this)), + (this.g_TW = g_aO.g_ej(g_aO.g_UV, this)), + (this.g_apS = g_aO.g_ej(g_aO.g_ahm, this)), + (this.g_apT = g_aO.g_ej(g_aO.g_amk, this)), + (this.g_Lq = g_aO.g_ej(g_aO.g_JJ, this)), + (this.g_apU = g_aO.g_ej(g_aO.g_Tn, this)), + (this.g_apV = []), + (this.g_apW = new Map()), + (this.g_apX = new Map()), + (this.g_apY = 0), + (this.g_apZ = []), + (this.g_ap_ = []), + (this.g_ap$ = []), + (this.g_aqa = []), + (this.g_aqb = new Map()), + (this.g_aqc = !1), + (this.g_aqd = !1), + (this.g_aqe = 0), + (this.g_aqf = 0), + (this.g_aqg = new Map()), + (this.g_aqh = new Set()), + (this.g_aqi = new Set()), + (this.g_aqj = []), + (this.g_aqk = []), + (this.g_aql = null), + (this.g_aqm = 'vsync'), + (this.g_aqn = 'standard'), + (this.g_qY = 'trilinear'), + (this.g_aqo = !1), + (this.g_aqp = !0), + (this.g_aqq = !1), + (this.g_aqr = !1), + (this.g_aqs = { + g_aqt: (g) => { + (this.g_anX = -1), (this.g_aqu = -1), this.g_KZ(g); + }, + g_aqv: (g) => { + (this.g_aqu = -1), this.g_KZ(g, !1, 'skip-render'); + }, + g_aqw: () => { + (this.g_anX = -1), this.g_aqx(); + } + }), + (this.g_anX = -1), + (this.g_aqu = -1), + (this.g_aqy = 0), + (this.g_aqz = 0), + (this.g_aqA = 0), + (this.g_aqB = !1), + (this.g_aqC = !1), + (this.g_aqD = !1), + (this.g_aqE = !0), + (this.g_aqF = 0), + (this.g_aqG = new g_aO.g_mH(1)), + (this.g_aqH = () => Math.random()), + (this.g_aqI = 0), + (this.g_aqJ = 0), + (this.g_aqK = 0), + (this.g_aqL = 0), + (this.g_aks = 1), + (this.g_aqM = 30), + (this.g_aqN = g_aO.g_ej(g_aO.g_lQ)), + (this.g_aqO = g_aO.g_ej(g_aO.g_lQ)), + (this.g_aqP = -1), + (this.g_aqQ = 0), + (this.g_aqR = 0), + (this.g_aqS = 0), + (this.g_aqT = 0), + (this.g_aqU = !1), + (this.g_aqV = ''), + (this.g_aqW = ''), + (this.g_aqX = null), + (this.g_aqY = ''), + (this.g_aqZ = []), + (this.g_aq_ = null), + (this.g_aq$ = null), + (this.g_akt = g_aO.g_ej(g_aO.Event.g_lh)), + (this.g_ara = new Map()), + (this.g_arb = new Map()), + (this.g_arc = 0), + (this.g_ard = !1), + (this.g_are = !1), + (this.g_arf = !1), + (this.g_arg = []), + (this.g_arh = { + pretick: g_aO.g_ej(g_aO.Event, 'pretick', !1), + tick: g_aO.g_ej(g_aO.Event, 'tick', !1), + tick2: g_aO.g_ej(g_aO.Event, 'tick2', !1), + instancedestroy: g_aO.g_ej(g_aO.Event, 'instancedestroy', !1), + beforelayoutchange: g_aO.g_ej(g_aO.Event, 'beforelayoutchange', !1), + layoutchange: g_aO.g_ej(g_aO.Event, 'layoutchange', !1) + }), + (this.g_arh.instancedestroy.g_Ke = null), + (this.g_He = g_aO.g_ej(g_aO.Event.g_lh)), + (this.g_ari = null), + (this.g_arj = g_aO.g_ej(g_aO.g_lY, g_aO.g_akq.g_alS)), + (this.g_ark = g_aO.g_ej(g_aO.g_lY, g_aO.g_akq.g_alS)), + (this.g_arl = g_aO.g_ej(g_aO.g_lY, g_aO.g_akq.g_alS)), + (this.g_arm = g_aO.g_ej(g_aO.g_arn, this, e.jobScheduler)), + e.canvas && (this.g_aql = g_aO.g_ej(g_aO.g_ann, this)), + (this.g_apm.onmessage = (g) => this._OnMessageFromDOM(g.data)), + this.g_adN('runtime', 'visibilitychange', (g) => this.g_aro(g)), + this.g_adN('runtime', 'opus-decode', (g) => this.g_agl(g.arrayBuffer)), + this.g_adN('runtime', 'get-remote-preview-status-info', () => this.g_arp()), + this.g_adN('runtime', 'js-invoke-function', (g) => this.g_Vr(g)), + this.g_adN('runtime', 'go-to-last-error-script', self.goToLastErrorScript), + this.g_akt.addEventListener('window-blur', (g) => this.g_arq(g)), + this.g_akt.addEventListener('window-focus', () => this.g_arr()), + this.g_Lq.g_Kh(), + (this.g_ars = null), + (this.g_art = new WeakMap()), + (this.g_aru = { keyboard: null, g_afX: null, g_afY: null }); + } + static g_sf(g) { + return g_aO.g_ej(g_aO.g_apl, g); + } + g_ek() { + g_aO.g_fz(this.g_apV), + this.g_apW.clear(), + this.g_apX.clear(), + this.g_GM.g_ek(), + (this.g_GM = null), + this.g_TW.g_ek(), + (this.g_TW = null), + this.g_apS.g_ek(), + (this.g_apS = null), + this.g_CD.g_ek(), + (this.g_CD = null), + this.g_apT.g_ek(), + (this.g_apT = null), + this.g_Lq.g_ek(), + (this.g_Lq = null), + this.g_apU.g_ek(), + (this.g_apU = null), + this.g_aql && (this.g_aql.g_ek(), (this.g_aql = null)), + this.g_akt.g_ek(), + (this.g_akt = null), + (this.g_arv = null); + } + ['_OnMessageFromDOM'](g) { + const _ = g.type; + if ('event' === _) this.g_arw(g); + else if ('result' === _) this.g_arx(g); + else throw new Error(`unknown message '${_}'`); + } + g_arw(g) { + if (!this.g_arf) return void this.g_arg.push(g); + const u = g.component, + p = g.handler, + h = g.data, + e = g.dispatchOpts, + a = !!(e && e.dispatchRuntimeEvent), + t = !!(e && e.dispatchUserScriptEvent), + n = g.responseId; + if ('runtime' === u) { + if (a) { + const g = new g_aO.Event(p); + (g.data = h), this.g_akt.g_lq(g); + } + if (t) { + const g = new g_aO.Event(p, !0); + for (const [_, e] of Object.entries(h)) g[_] = e; + this.g_IB(g); + } + } + const i = this.g_ara.get(u); + if (!i) + return void ( + a || + t || + console.warn(`[Runtime] No DOM event handlers for component '${u}'`) + ); + const r = i.get(p); + if (!r) + return void ( + a || + t || + console.warn(`[Runtime] No DOM handler '${p}' for component '${u}'`) + ); + let _ = null; + try { + _ = r(h); + } catch (g) { + return ( + console.error(`Exception in '${u}' handler '${p}':`, g), + void (null !== n && this.g_ary(n, !1, '' + g)) + ); + } + null !== n && + (_ && _.then + ? _.then((g) => this.g_ary(n, !0, g)).catch((g) => { + console.error(`Rejection from '${u}' handler '${p}':`, g), this.g_ary(n, !1, '' + g); + }) + : this.g_ary(n, !0, _)); + } + g_ary(g, _, e) { + this.g_apm.postMessage({ type: 'result', responseId: g, isOk: _, result: e }); + } + g_arx(g) { + const _ = g.responseId, + e = g.isOk, + a = g.result, + t = this.g_arb.get(_); + e ? t.resolve(a) : t.reject(a), this.g_arb.delete(_); + } + g_adN(g, _, e) { + let a = this.g_ara.get(g); + if ((a || ((a = new Map()), this.g_ara.set(g, a)), a.has(_))) + throw new Error(`[Runtime] Component '${g}' already has handler '${_}'`); + a.set(_, e); + } + g_aeh(g, _, e) { + this.g_apm.postMessage({ + type: 'event', + component: g, + handler: _, + data: e, + responseId: null + }); + } + g_BW(g, _, e) { + const n = this.g_arc++, + a = new Promise((g, _) => { + this.g_arb.set(n, { resolve: g, reject: _ }); + }); + return ( + this.g_apm.postMessage({ type: 'event', component: g, handler: _, data: e, responseId: n }), + a + ); + } + g_arz(g) { + if (!this.g_IC()) throw new Error('not in debug mode'); + this.g_aeh('runtime', 'post-to-debugger', g); + } + async g_akw(g) { + this.g_IC() ? await g_IF.g_akw(this) : self.g_IF && self.g_IF.g_arA(this); + const [_] = await Promise.all([this.g_CD.g_gc(this.g_apx), this.g_arB(), this.g_arm.g_akw()]); + this.g_arC(_), + await this.g_arD(g), + this.g_aoZ() || + console.info( + 'Made with Construct 3, the game and app creator :: https://www.construct.net' + ); + const e = this.g_rP(); + e + ? (console.info( + `[C3 runtime] Hosted in ${ + this.g_Cn() ? 'worker' : 'DOM' + }, rendering with WebGL ${e.g_rd()} [${e.g_A$()}] (${ + e.g_AQ() ? 'desynchronized' : 'standard' + } compositing)` + ), + e.g_rk() && + console.warn( + '[C3 runtime] WebGL indicates a major performance caveat. Software rendering may be in use. This can result in significantly degraded performance.' + )) + : console.info(`[C3 runtime] Hosted in ${this.g_Cn() ? 'worker' : 'DOM'}, headless`), + (this.g_arf = !0); + for (const _ of this.g_arg) this.g_arw(_); + g_aO.g_fz(this.g_arg), this.g_aql && this.g_aql.g_apb(); + for (const _ of g.runOnStartupFunctions) this.g_apC.push(this.g_arE(_)); + if ( + (await Promise.all([this.g_CD.g_Cf(), ...this.g_apC]), + g_aO.g_fz(this.g_apC), + !this.g_CD.g_Ch()) + ) + return ( + this.g_aql && (await this.g_aql.g_apd()), + await this.g_akt.g_lo(new g_aO.Event('beforeruntimestart')), + await this.g_AC(), + this.g_apm.postMessage({ type: 'runtime-ready' }), + this + ); + } + async g_arE(g) { + try { + await g(this.g_ars); + } catch (g) { + console.error('[C3 runtime] Error in runOnStartup function: ', g); + } + } + g_arC(g) { + const _ = g.project; + (this.g_apD = _[0]), + (this.g_apE = _[16]), + (this.g_apF = _[31]), + (this.g_apG = _[38]), + (this.g_aqo = !!_[9]), + (this.g_apH = this.g_apM = _[10]), + (this.g_apI = this.g_apN = _[11]), + (this.g_apK = this.g_apH / 2), + (this.g_apL = this.g_apI / 2), + (this.g_aqn = _[36]), + (this.g_aqm = _[37]), + 'low-latency' === this.g_aqn && + this.g_arF() && + 77 >= g_aO.g_bJ.g_bP && + (console.warn( + '[C3 runtime] Desynchronized (low-latency) compositing is enabled, but is disabled in the Android WebView <=77 due to crbug.com/1008842. Reverting to synchronized (standard) compositing.' + ), + (this.g_aqn = 'standard')), + (this.g_qY = _[14]), + (this.g_apP = !!_[18]), + (this.g_apO = _[19]), + (this.g_aqf = _[21]), + (this.g_aqq = _[22]), + this.g_CD.g_Cp(_[7], _[25]), + this.g_CD.g_BJ(_[8]), + this.g_CD.g_BL(_[32]), + this.g_CD.g_BN(_[28]), + this.g_CD.g_Ck(_[29]), + this.g_aql && + (this.g_aql.g_aoB(g_aO.g_ann.g_aoG(_[12])), + this.g_aql.g_aoE(_[23] ? 'high' : 'low'), + this.g_aql.g_aok(_[34])), + this.g_apS.g_ahu(), + (this.g_aqj = self.g_arG()); + for (const e of _[2]) this.g_apS.g_aht(e); + (this.g_aqj = self.g_arG()), this.g_arH(); + for (const a of _[3]) { + const g = g_aO.g_aiw.g_sf(this, this.g_apV.length, a); + this.g_apV.push(g), this.g_apW.set(g.g_pY().toLowerCase(), g), this.g_apX.set(g.g_EN(), g); + } + for (const a of _[4]) { + const g = this.g_apV[a[0]]; + g.g_ajo(a); + } + for (const a of _[27]) { + const g = a.map((g) => this.g_apV[g]); + this.g_apZ.push(g_aO.g_ej(g_aO.g_akf, this, g)); + } + for (const _ of this.g_apV) _.g_ajq(); + for (const e of _[5]) this.g_GM.g_sf(e); + const a = _[1]; + if (a) { + const g = this.g_GM.g_IS(a); + g && this.g_GM.g_IQ(g); + } + for (const e of _[33]) this.g_Lq.g_sf(e); + for (const e of _[35]) this.g_apU.g_sf(e); + this.g_arI(); + for (const e of _[6]) this.g_TW.g_sf(e); + this.g_TW.g_Vu(), this.g_arJ(), g_aO.g_fz(this.g_aqj), this.g_Ej(); + let e = 'any'; + const n = _[20]; + 1 === n ? (e = 'portrait') : 2 === n && (e = 'landscape'), + this.g_aeh('runtime', 'set-target-orientation', { targetOrientation: e }); + } + g_ape() { + return this.g_apO; + } + g_apj() { + return this.g_apu; + } + g_arK() { + return this.g_apQ; + } + g_arL(g) { + this.g_apC.push(g); + } + g_aji() { + return this.g_apY++; + } + g_ajs() { + return this.g_apY; + } + g_alZ(g) { + this.g_ap_.push(g); + } + g_aoq() { + return this.g_ap_; + } + async g_arD(g) { + this.g_aql && (await this.g_aql.g_gk(g), this.g_aql.g_aoY(this.g_apO)); + } + async g_arB() { + if (this.g_CD.g_Co('audio/webm; codecs=opus')) return; + let g = null, + _ = null; + try { + this.g_arM() + ? (_ = await this.g_CD.g_BT(this.g_apw)) + : (g = await this.g_CD.g_gd(this.g_apw)); + } catch (g) { + return void console.info( + 'Failed to fetch Opus decoder WASM; assuming project has no Opus audio.', + g + ); + } + _ ? this.g_arN(_, 'opus-decoder-wasm') : this.g_arO(g, 'opus-decoder-wasm'), + await this.g_arP([this.g_apv]); + } + async g_agl(g) { + const _ = await this.g_arQ('OpusDecode', { arrayBuffer: g }, [g]); + return _; + } + async g_AC() { + if (((this.g_aqB = !0), (this.g_aqI = Date.now()), this.g_apP)) { + for (const g of this.g_apV) g.g_EF() || g.g_ajB() || !g.g_H_() || g.g_adB(); + this.g_CD.g_Cf().then(() => { + (this.g_apQ = !1), this.g_arR(); + }); + } else this.g_apQ = !1; + this.g_CD.g_Cg(), this.g_IC() && g_IF.g_arS(_); + for (const g of this.g_GM.g_IV()) g.g_Ij(); + const g = this.g_GM.g_IR(); + await g.g_Hw(null, this.g_rP()), + await g.g_HG(!0), + (this.g_aqQ = performance.now()), + this.g_apP || this.g_arR(); + const e = await this.g_BW('runtime', 'before-start-ticking'); + e.isSuspended ? this.g_aqF++ : this.g_KZ(); + } + g_arR() { + this.g_Ku(g_aO.g_HY.g_HX.g_HW.g_arT, null, null), this.g_aeh('runtime', 'register-sw'); + } + g__p(g) { + g = Math.floor(g); + const _ = this.g_aqj; + if (0 > g || g >= _.length) throw new Error('invalid object reference'); + return _[g]; + } + g_arH() { + for (const g of self.g_arU) { + const _ = g_aO.first(Object.keys(g)); + this.g_aqk.push(_); + } + } + g_VT(g) { + g = Math.floor(g); + const _ = this.g_aqk; + if (0 > g || g >= _.length) throw new Error('invalid prop reference'); + return _[g]; + } + g_arV() { + return this.g_app; + } + g_arW() { + return this.g_apo; + } + g_Cn() { + return this.g_apq; + } + g_fe() { + return this.g_apn; + } + g_ED() { + return this.g_TW; + } + g_TB() { + return this.g_TW.g_TB(); + } + g_VG() { + return this.g_TW.g_VG(); + } + g_TT() { + return this.g_TW.g_TT(); + } + g_VH() { + return this.g_TW.g_VH(); + } + g_arX() { + return 0 === this.g_VG().g_Um(); + } + g_VJ() { + return this.g_TW.g_VJ(); + } + g_aix() { + return this.g_apS; + } + g___() { + return this.g_apS.g___(); + } + g_D_(g) { + if (((g = Math.floor(g)), 0 > g || g >= this.g_apV.length)) + throw new RangeError('invalid index'); + return this.g_apV[g]; + } + g_arY(g) { + return this.g_apW.get(g.toLowerCase()) || null; + } + g_Ib(g) { + return this.g_apX.get(g) || null; + } + g_arZ(g) { + const _ = this.g_apS.g_ahy(g); + return _ ? _.g_adF() : null; + } + g_EE() { + return this.g_apV; + } + g_lh() { + return this.g_akt; + } + g_IA() { + return this.g_He; + } + g_IB(g) { + const _ = this.g_IC() && !this.g_TW.g_ID(); + _ && g_IF.g_IE(), this.g_He.dispatchEvent(g), _ && g_IF.g_IG(); + } + g_HT(g) { + return this.g_He.g_lo(g); + } + g_DY() { + return this.g_apH; + } + g_DZ() { + return this.g_apI; + } + g_ar_(g, _) { + (this.g_apH = g), (this.g_apI = _); + } + g_Gt() { + return this.g_apM; + } + g_Gu() { + return this.g_apN; + } + g_aoz(g, _) { + (this.g_apM = g), (this.g_apN = _); + } + g_aos(g) { + this.g_apJ = g; + } + g_EO() { + return this.g_apJ; + } + g_Gx() { + return this.g_apK; + } + g_Gy() { + return this.g_apL; + } + g_FO() { + return this.g_aql; + } + g_FT() { + return this.g_aql ? this.g_aql.g_FT() : this.g_apM; + } + g_FU() { + return this.g_aql ? this.g_aql.g_FU() : this.g_apN; + } + g_FM() { + return this.g_aql ? this.g_aql.g_FM() : 1; + } + g_Go() { + return this.g_aql ? this.g_aql.g_Go() : 1; + } + g_aeU() { + return this.g_aql ? this.g_aql.g_aeU() : 0; + } + g_aeV() { + return this.g_aql ? this.g_aql.g_aeV() : 0; + } + g_ar$() { + return this.g_aql ? this.g_aql.g_aeS() : 0; + } + g_asa() { + return this.g_aql ? this.g_aql.g_aeT() : 0; + } + g_aeR() { + return this.g_aql ? this.g_aql.g_aeR() : 'off'; + } + g_FV(g) { + return this.g_aql ? this.g_aql.g_FV(g) : null; + } + g_Gl(g) { + this.g_aql && this.g_aql.g_Gl(g); + } + g_aor(g) { + this.g_apR = !!g; + } + g_Iv() { + return this.g_apR; + } + g_aoU() { + return this.g_aql ? this.g_aql.g_aoU() : NaN; + } + g_rR() { + return 'nearest' !== this.g_FR(); + } + g_asb() { + return this.g_aqm; + } + g_Iw() { + return this.g_aqn; + } + g_FR() { + return this.g_qY; + } + g_ajm() { + return this.g_apP; + } + g_Wy() { + return this.g_GM; + } + g_Is() { + return this.g_GM.g_Is(); + } + g_LT() { + return this.g_Lq; + } + g_asc() { + return this.g_apU; + } + g_afD() { + return this.g_CD; + } + g_B$(g) { + return this.g_CD.g_B$(g); + } + g_agB(g, _, e, a) { + return this.g_Eg(g, _, !1, e, a); + } + g_Eg(h, e, f, n, t, s) { + let i = null, + E = null; + if (h instanceof g_aO.g_aiw) { + if (((E = h), E.g_EF())) { + const g = E.g_Zd(), + _ = Math.floor(this.g_afS() * g.length); + E = g[_]; + } + i = E.g_Ea(); + } else (i = h), (E = this.g_D_(i[1])); + const b = E.g_Ir().g_H_(); + if (this.g_apQ && b && !E.g_ajB()) return null; + const d = e; + b || (e = null); + let _ = f && !s && i && !this.g_aqg.has(i[2]) ? i[2] : this.g_aqf++; + const l = i ? i[0] : null, + g = g_aO.g_ej(g_aO.Instance, { + runtime: this, + g_agI: E, + g_Ju: e, + g_akv: l, + g_akz: i ? i[3] : null, + g_agK: _ + }); + this.g_aqg.set(_, g); + let c = null; + if ( + (b && + ((c = g.g_CU()), + 'undefined' != typeof n && 'undefined' != typeof t && (c.g_abn(n), c.g_abo(t)), + E.g_ajY(!0)), + e && (e.g_El(g, !0), (1 !== e.g_Fb() || 1 !== e.g_Fc()) && E.g_Fe(!0), e.g_EL().g_Hy(E)), + this.g_aqe++, + E.g_EJ() && !f && !s) + ) { + for (const _ of E.g_Hu().g_Ie()) { + if (_ === E) continue; + const e = this.g_Eg(_, d, !1, c ? c.g_Ig() : n, c ? c.g_Ih() : t, !0); + g.g_If(e); + } + for (const _ of g.siblings()) { + _.g_If(g); + for (const e of g.siblings()) _ !== e && _.g_If(e); + } + } + E.g_ajU(); + const y = i ? g_aO.g_fL(i[5]) : null, + m = i ? i[4].map((g) => g_aO.g_fL(g)) : null; + if ((g.g_ajz(y, m), b && l && 14 === l.length)) { + const _ = l[13]; + g.g_akF(), g.g_Qd().g_aeq(_[2], _[0], _[1]); + } + return this.g_aqa.push(g), (this.g_aqc = !0), this.g_IC() && g_IF.g_asd(g), g; + } + g_EB(g) { + if (this.g_aqh.has(g)) return; + const _ = g.g_EA(); + let e = this.g_aqb.get(_); + if (e) { + if (e.has(g)) return; + e.add(g); + } else (e = new Set()), e.add(g), this.g_aqb.set(_, e); + if ((this.g_IC() && g_IF.g_ase(g), g.g_akH(), (this.g_aqc = !0), g.g_EJ())) + for (const _ of g.siblings()) this.g_EB(_); + if ((this.g_aqd && g_aO.g_dU(), !this.g_GM.g_I_())) { + const _ = this.g_ED(); + _.g_EH(!0), g.g_akV(), _.g_EH(!1); + } + } + g_Ej() { + this.g_aqc && + ((this.g_aqd = !0), + this.g_asf(), + this.g_asg(), + (this.g_aqd = !1), + (this.g_aqc = !1), + this.g_EV()); + } + g_asf() { + for (const g of this.g_aqa) { + const _ = g.g_EA(); + _.g_El(g); + for (const e of _.g_Yi()) e.g_El(g), e.g_ajU(); + } + g_aO.g_fz(this.g_aqa); + } + g_asg() { + this.g_akt.g_lb(!0); + for (const [g, _] of this.g_aqb.entries()) this.g_ash(g, _), _.clear(); + this.g_aqb.clear(), this.g_akt.g_lb(!1); + } + g_ash(g, _) { + g_aO.g_fI(g.g_H$(), _), g.g_ajU(), this.g_aqi.add(g), 0 === g.g_H$().length && g.g_Fe(!1); + for (const e of g.g_Yi()) g_aO.g_fI(e.g_H$(), _), e.g_ajU(), this.g_aqi.add(e); + if (g.g_Ir().g_H_()) { + const g = new Set([..._].map((g) => g.g_CU().g_Em())); + for (const e of g) e.g_Fv(_); + } + for (const t of _) { + const g = this.g_arh.instancedestroy; + (g.g_Ke = t), this.g_akt.dispatchEvent(g), this.g_aqg.delete(t.g_Ei()); + const _ = t.g_CU(); + _ && (_.g_alz(), _.g_Er()), this.g_aqh.add(t), this.g_aqe--; + } + } + g_abF() { + return this.g_aqa; + } + g_ajy() { + return this.g_aqf++; + } + g_ajA(g, _) { + this.g_aqg.set(g, _); + } + g_HF() { + this.g_akt.dispatchEvent(g_aO.g_ej(g_aO.Event, 'webglcontextlost')), this.g_asi(!0); + for (const g of this.g_apV) !g.g_EF() && g.g_ajC() && g.g_HD(); + this.g_Is().g_HF(), g_aO.g_ahD.g_CQ(), g_aO.g_Cb.g_CQ(); + } + async g_aol() { + await this.g_Is().g_Hw(null, this.g_rP()), + this.g_akt.dispatchEvent(g_aO.g_ej(g_aO.Event, 'webglcontextrestored')), + this.g_asi(!1), + this.g_EV(); + } + g_aro(g) { + this.g_asi(g.hidden); + } + g_arq(g) { + this.g_aoZ() && + this.g_aqq && + !g_aO.g_bJ.g_bU && + (g.data.parentHasFocus || (this.g_asi(!0), (this.g_aqr = !0))); + } + g_arr() { + this.g_aqr && (this.g_asi(!1), (this.g_aqr = !1)); + } + g_asj() { + const g = this.g_aqs; + 'vsync' === this.g_aqm + ? -1 === this.g_anX && (this.g_anX = self.requestAnimationFrame(g.g_aqt)) + : 'unlimited-tick' === this.g_aqm + ? (-1 === this.g_aqu && (this.g_aqu = g_aO.g_fT(g.g_aqv)), + -1 === this.g_anX && (this.g_anX = self.requestAnimationFrame(g.g_aqw))) + : -1 === this.g_aqu && (this.g_aqu = g_aO.g_fT(g.g_aqt)); + } + g_ask() { + -1 !== this.g_anX && (self.cancelAnimationFrame(this.g_anX), (this.g_anX = -1)), + -1 !== this.g_aqu && (g_aO.g_fU(this.g_aqu), (this.g_aqu = -1)); + } + g_asl() { + return 0 < this.g_aqF; + } + g_asi(g) { + const _ = this.g_asl(); + (this.g_aqF += g ? 1 : -1), 0 > this.g_aqF && (this.g_aqF = 0); + const e = this.g_asl(); + if (!_ && e) + console.log('[Construct 3] Suspending'), + this.g_ask(), + this.g_akt.dispatchEvent(g_aO.g_ej(g_aO.Event, 'suspend')), + this.g_Ku(g_aO.g_HY.g_HX.g_HW.g_asm, null, null); + else if (_ && !e) { + console.log('[Construct 3] Resuming'); + const g = performance.now(); + (this.g_aqJ = g), + (this.g_aqQ = g), + (this.g_aqP = 0), + (this.g_aqR = 0), + (this.g_aqT = 0), + (this.g_aqS = 0), + this.g_akt.dispatchEvent(g_aO.g_ej(g_aO.Event, 'resume')), + this.g_Ku(g_aO.g_HY.g_HX.g_HW.g_asn, null, null), + this.g_Wx() || this.g_KZ(g); + } + } + g_afs(g) { + this.g_arj.g_jB(g); + } + g_afx(g) { + this.g_ark.g_jB(g); + } + g_afu(g) { + this.g_arl.g_jB(g); + } + g_aft(g) { + this.g_arj.g_lO(g); + } + g_afy(g) { + this.g_ark.g_lO(g); + } + g_afv(g) { + this.g_arl.g_lO(g); + } + g_aso() { + this.g_arj.g_mF(!0); + for (const g of this.g_arj) g.g_KZ(); + this.g_arj.g_mF(!1); + } + g_asp() { + this.g_ark.g_mF(!0); + for (const g of this.g_ark) g.g_afr(); + this.g_ark.g_mF(!1); + } + g_asq() { + this.g_arl.g_mF(!0); + for (const g of this.g_arl) g.g_aek(); + this.g_arl.g_mF(!1); + } + *g_asr() { + this.g_arj.g_mF(!0); + for (const g of this.g_arj) { + const _ = g.g_KZ(); + g_aO.g_gA(_) && (yield* _); + } + this.g_arj.g_mF(!1); + } + *g_ass() { + this.g_ark.g_mF(!0); + for (const g of this.g_ark) { + const _ = g.g_afr(); + g_aO.g_gA(_) && (yield* _); + } + this.g_ark.g_mF(!1); + } + *g_ast() { + this.g_arl.g_mF(!0); + for (const g of this.g_arl) { + const _ = g.g_aek(); + g_aO.g_gA(_) && (yield* _); + } + this.g_arl.g_mF(!1); + } + async g_KZ(g, _, d) { + this.g_aqD = !0; + const n = 'background-wake' === d; + if (this.g_aqB && (!this.g_asl() || _ || n)) { + const _ = performance.now(); + (this.g_aqC = !0), g || (g = _), this.g_asu(g); + const e = this.g_asv(); + this.g_asw() && (await e); + const a = this.g_akt.g_lp(this.g_arh.pretick); + a instanceof Promise && (await a); + const t = this.g_asx(); + this.g_asw() && (await t), + this.g_asy() && (await this.g_asz()), + this.g_Wy().g_Ja() && (await this.g_asA()); + const i = this.g_asB(); + this.g_asw() && (await i), + 'background-wake' != d && 'skip-render' != d && this.g_aqx(), + this.g_asl() || n || this.g_asj(), + this.g_aqy++, + this.g_aqz++, + this.g_aqA++, + (this.g_aqC = !1), + (this.g_aqS += performance.now() - _); + } + } + async g_asv() { + const g = this.g_TW, + _ = this.g_IC(); + this.g_Ej(), + g.g_EH(!0), + this.g_Wl(this.g_Is()), + _ && g_IF.g_asC(), + this.g_asw() ? await g.g_WV() : g.g_WQ(), + _ && g_IF.g_asD(), + this.g_Wm(), + g.g_EH(!1), + this.g_Ej(), + g.g_EH(!0); + } + async g_asx() { + const g = this.g_IC(), + _ = this.g_asw(), + e = this.g_akt, + a = this.g_arh, + t = this.g_ari; + g && g_IF.g_asC(), + _ ? await this.g_asE(this.g_asr()) : this.g_aso(), + _ ? await this.g_asE(this.g_ass()) : this.g_asp(), + g && g_IF.g_asF(), + g && g_IF.g_asC(), + _ ? await this.g_asG(a.tick) : e.dispatchEvent(a.tick), + g && g_IF.g_asH(), + this.g_TW.g_EH(!1), + this.g_IB(t.tick); + } + async g_asB() { + const g = this.g_TW, + _ = this.g_akt, + e = this.g_arh, + a = this.g_IC(), + t = this.g_asw(); + if ( + (a && g_IF.g_asC(), + t ? await g.g_Wn(this.g_GM) : g.g_Wk(this.g_GM), + a && g_IF.g_asD(), + this.g_apT.g_amw(), + 0 < this.g_aqh.size) + ) { + _.g_lb(!0); + for (const g of this.g_aqi) g.g_WJ().g_Tz(this.g_aqh); + this.g_aqi.clear(), this.g_TW.g_WX(this.g_aqh); + for (const g of this.g_aqh) g.g_ek(); + this.g_aqh.clear(), _.g_lb(!1); + } + (this.g_aqE = !1), + g.g_EH(!0), + a && g_IF.g_asC(), + t ? await this.g_asE(this.g_ast()) : this.g_asq(), + a && g_IF.g_asF(), + a && g_IF.g_asC(), + t ? await this.g_asG(e.tick2) : _.dispatchEvent(e.tick2), + a && g_IF.g_asH(), + g.g_EH(!1), + t && (await g.g_Wz()); + } + async g_asA() { + const g = this.g_Wy(); + for (let _ = 0; g.g_Ja() && 10 > _++; ) await this.g_asI(g.g_Jb()); + } + g_asu(g) { + if (0 !== this.g_aqJ) { + const _ = Math.max(g - this.g_aqJ, 0); + this.g_aqK = _ / 1e3; + const e = 1 / this.g_aqM; + 0.5 < this.g_aqK ? (this.g_aqK = 0) : this.g_aqK > e && (this.g_aqK = e); + } + (this.g_aqJ = g), + (this.g_aqL = this.g_aqK * this.g_aks), + this.g_aqN.g_jB(this.g_aqL), + this.g_aqO.g_jB(this.g_aqK), + this.g_aql && this.g_aql.g_aoR(), + 1e3 <= g - this.g_aqQ && + ((this.g_aqQ += 1e3), + 1e3 <= g - this.g_aqQ && (this.g_aqQ = g), + (this.g_aqR = this.g_aqP), + (this.g_aqP = 0), + (this.g_aqT = Math.min(this.g_aqS / 1e3, 1)), + (this.g_aqS = 0), + this.g_aql && this.g_aql.g_aoQ(), + this.g_apT.g_amq(), + this.g_IC() && g_IF.g_asJ()), + this.g_aqP++; + } + async g_asI(g) { + const _ = this.g_akt, + e = this.g_Wy(), + a = e.g_Is(); + await a.g_Il(), + a.g_HE(g, this.g_rP()), + a === g && this.g_TW.g_Io(), + this.g_apT.g_amw(), + _.dispatchEvent(this.g_arh.beforelayoutchange), + g_aO.g_gl.g_lt(!0), + await g.g_Hw(a, this.g_rP()), + g_aO.g_gl.g_lt(!1), + await g.g_HG(!1), + _.dispatchEvent(this.g_arh.layoutchange), + this.g_EV(), + (this.g_aqE = !0), + this.g_Ej(); + } + g_EV() { + this.g_aqp = !0; + } + g_rP() { + return this.g_aql ? this.g_aql.g_rP() : null; + } + g_aqx() { + if (!this.g_aql || this.g_aql.g_aoH()) return; + const g = this.g_rP(); + if ((g.g_AC(), g.g_AD(), !this.g_aqp)) return void g.g_qv(); + const _ = this.g_IC(); + _ && g_IF.g_asC(), (this.g_aqp = !1); + let e = null; + g.g_AO() && ((e = this.g_aql.g_aoT().g_xG()), g.g_AN(e)), + g.g_yZ(), + g.g_zr(), + g.g_zl(1, 1, 1, 1), + g.g_AH(null), + g.g_zp(null); + const a = this.g_GM.g_Is(); + a.g_FN(g), + e && g.g_AP(e), + g.g_qs(), + _ && (g_IF.g_asK(), g_IF.g_asL()), + this.g_aql && this.g_aql.g_aoW(); + } + g_Ku(g, _, e) { + if (!this.g_aqB) return !1; + const a = !this.g_aqC && !this.g_TW.g_WD(); + let t = 0; + a && (t = performance.now()); + const n = this.g_IC(); + n && this.g__o(!1); + const i = this.g_TW.g_Wr(this.g_GM, g, _, e); + if (a) { + const g = performance.now() - t; + (this.g_aqS += g), n && g_IF.g_asM(g); + } + return n && this.g__o(!0), i; + } + g_aea(g, _, e) { + if (!this.g_IC()) return this.g_Ku(g, _, e); + if (this.g_Wx()) throw new Error('called DebugTrigger() while stopped on breakpoint'); + if (!this.g_aqC && !this.g_TW.g_WD()) + throw new Error('called DebugTrigger() outside of event code - use TriggerAsync() instead'); + return this.g_TW.g_Wu(this.g_GM, g, _, e); + } + async g_HU(g, _, e) { + if (!this.g_asw()) return this.g_Ku(g, _, e); + if (!this.g_aqB) return !1; + if (this.g_Wx()) return this.g_TW.g_Wv(g, _, e); + if (!this.g_Is()) return this.g_TW.g_Ws(g, _, e); + const a = performance.now(), + t = this.g_TW.g_Wu(this.g_GM, g, _, e); + let n = t.next(); + for (; !n.done; ) await this.g_Wp(n.value), (n = t.next()); + return ( + this.g_asl() || + this.g_TW.g_WD() || + (await this.g_TW.g_Wz(), this.g_aqD && !this.g_aqC && this.g_asj()), + (this.g_aqS += performance.now() - a), + n.value + ); + } + g_aeb(g, _, e) { + const a = this.g_IC(); + a && this.g__o(!1); + const t = this.g_TW.g_WA(this.g_GM, g, _, e); + return a && this.g__o(!0), t; + } + g_aec(g, _, e) { + return this.g_TW.g_WB(this.g_GM, g, _, e); + } + g_aed(g) { + return this.g_aqG.g_jB(g); + } + g_Wl(g) { + this.g_ap$.push(g); + } + g_Wm() { + if (!this.g_ap$.length) throw new Error('layout stack empty'); + this.g_ap$.pop(); + } + g_ZC() { + return this.g_ap$.length ? this.g_ap$[this.g_ap$.length - 1] : this.g_Is(); + } + g_KW(g) { + return g && -1 !== g.g_KX() ? this.g_aqK * g.g_KX() : this.g_aqL; + } + g_asN() { + return this.g_aqL; + } + g_asO() { + return this.g_aqK; + } + g_KX() { + return this.g_aks; + } + g_akD(g) { + (isNaN(g) || 0 > g) && (g = 0), (this.g_aks = g); + } + g_asP(g) { + this.g_aqM = g_aO.g_ep(g, 1, 120); + } + g_asQ() { + return this.g_aqM; + } + g_asR() { + return this.g_aqR; + } + g_asS() { + return this.g_aqT; + } + g_asT() { + return this.g_aqI; + } + g_Gk() { + return this.g_aqN.g_bd(); + } + g_afR() { + return this.g_aqO.g_bd(); + } + g_MB() { + return this.g_aqy; + } + g_asU() { + return this.g_aqz; + } + g_Yq() { + ++this.g_aqA; + } + g_asV() { + return this.g_aqA; + } + g_asW() { + return this.g_aqe; + } + g_afH() { + return this.g_apD; + } + g_afJ() { + return this.g_apE; + } + g_asX() { + return this.g_apF; + } + g_asY() { + return this.g_apG; + } + g_NN(g) { + if (this.g_aqU) + throw new Error('cannot call while loading state - wait until afterload event'); + return this.g_aqg.get(g) || null; + } + g_Ic() { + this.g_aqg.clear(); + for (const g of this.g_apV) + if (!g.g_EF()) for (const _ of g.g_H$()) this.g_aqg.set(_.g_Ei(), _); + } + g_aoZ() { + return 'preview' === this.g_aps; + } + g_IC() { + return this.g_apy; + } + g_asZ() { + return this.g_aps; + } + g_apk() { + return 'cordova' === this.g_aps; + } + g_arF() { + return ( + 'Android' === g_aO.g_bJ.g_bK && + ('cordova' === this.g_aps || 'playable-ad' === this.g_aps || 'instant-games' === this.g_aps) + ); + } + g_arM() { + return this.g_Bj; + } + g_as_() { + return this.g_apt; + } + g_ahf() { + return this.g_apT; + } + g_ahB() { + return this.g_apS.g_ahB(); + } + g_ahC() { + return this.g_apS.g_ahC(); + } + g_as$() { + return this.g_aqE; + } + g_ata(g) { + (g = !!g), this.g_aqo === g || ((this.g_aqo = g), this.g_EV()); + } + g_Gs() { + return this.g_aqo; + } + g_atb(g) { + this.g_aqV = g; + } + g_atc(g) { + this.g_aqW = g; + } + g_acN(g) { + this.g_aqX = g; + } + g_atd() { + return this.g_aqY; + } + g_asy() { + return !!(this.g_aqV || this.g_aqW || null !== this.g_aqX); + } + async g_asz() { + if ( + (this.g_aqV && (this.g_Ej(), await this.g_ate(this.g_aqV), this.g_atf()), + this.g_aqW && (await this.g_atg(this.g_aqW), this.g_atf(), this.g_IC() && g_IF.g_ath()), + null !== this.g_aqX) + ) { + this.g_Ej(); + try { + await this.g_ati(this.g_aqX), + (this.g_aqY = this.g_aqX), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_atj, null), + (this.g_aqY = ''); + } catch (g) { + console.error('[Construct 3] Failed to load state from JSON string: ', g), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_atk, null); + } + this.g_atf(); + } + } + g_atf() { + (this.g_aqV = ''), (this.g_aqW = ''), (this.g_aqX = null); + } + g_agq() { + return ( + this.g_aq_ || + (this.g_aq_ = localforage.g_cg({ + name: 'c3-localstorage-' + this.g_asX(), + description: this.g_afH() + })), + this.g_aq_ + ); + } + g_atl() { + return ( + this.g_aq$ || + (this.g_aq$ = localforage.g_cg({ + name: 'c3-savegames-' + this.g_asX(), + description: this.g_afH() + })), + this.g_aq$ + ); + } + async g_ate(g) { + const _ = await this.g_atm(); + try { + await this.g_atl().setItem(g, _), + console.log('[Construct 3] Saved state to storage (' + _.length + ' chars)'), + (this.g_aqY = _), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_atn, null), + (this.g_aqY = ''); + } catch (g) { + console.error('[Construct 3] Failed to save state to storage: ', g), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_ato, null); + } + } + async g_atg(g) { + try { + const _ = await this.g_atl().getItem(g); + if (!_) throw new Error('empty slot'); + console.log('[Construct 3] Loaded state from storage (' + _.length + ' chars)'), + await this.g_ati(_), + (this.g_aqY = _), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_atj, null), + (this.g_aqY = ''); + } catch (g) { + console.error('[Construct 3] Failed to load state from storage: ', g), + await this.g_HU(g_aO.g_HY.g_HX.g_HW.g_atk, null); + } + } + async g_atm() { + const g = { + c3save: !0, + version: 1, + rt: { + time: this.g_Gk(), + walltime: this.g_afR(), + timescale: this.g_KX(), + tickcount: this.g_MB(), + execcount: this.g_asV(), + next_uid: this.g_aqf, + running_layout: this.g_Is().g_EN(), + start_time_offset: Date.now() - this.g_aqI + }, + types: {}, + layouts: {}, + events: this.g_TW.g_GG(), + timelines: this.g_Lq.g_GG(), + user_script_data: null + }; + for (const _ of this.g_apV) + _.g_EF() || _.g_akb() || (g.types[_.g_EN().toString()] = _.g_GG()); + for (const _ of this.g_GM.g_IV()) g.layouts[_.g_EN().toString()] = _.g_GG(); + const _ = this.g_atp('save'); + return ( + (_.saveData = null), + await this.g_HT(_), + (g.user_script_data = _.saveData), + JSON.stringify(g) + ); + } + g_HQ() { + return this.g_aqU; + } + g_HR(g) { + g_aO.g_fD(this.g_aqZ, g); + } + async g_ati(g) { + const _ = JSON.parse(g); + if (_.c2save) throw new Error('C2 saves are incompatible with C3 runtime'); + if (!_.c3save) throw new Error('not valid C3 save data'); + if (1 < _.version) throw new Error('C3 save data from future version'); + this.g_aqU = !0; + const e = _.rt; + this.g_aqN.Set(e.time), + this.g_aqO.Set(e.walltime), + (this.g_aks = e.timescale), + (this.g_aqy = e.tickcount), + (this.g_aqA = e.execcount), + (this.g_aqI = Date.now() - e.start_time_offset); + const a = e.running_layout; + if (a !== this.g_Is().g_EN()) { + const g = this.g_GM.g_IT(a); + if (g) await this.g_asI(g); + else return; + } + for (const [i, n] of Object.entries(_.types)) { + const g = parseInt(i, 10), + _ = this.g_Ib(g); + !_ || _.g_EF() || _.g_akb() || _.g_GI(n); + } + this.g_Ej(), this.g_Ic(), (this.g_aqU = !1), (this.g_aqf = e.next_uid); + for (const [i, n] of Object.entries(_.layouts)) { + const g = parseInt(i, 10), + _ = this.g_GM.g_IT(g); + _ && _.g_GI(n); + } + this.g_TW.g_GI(_.events); + for (const _ of this.g_aqZ) _.g_EI(); + g_aO.g_fz(this.g_aqZ); + for (const _ of this.g_apV) + if (!_.g_EF() && _.g_EJ()) + for (const g of _.g_H$()) { + const e = g.g_Id(); + for (const a of _.g_Hu().g_Ie()) { + if (a === _) continue; + const t = a.g_H$(); + if (0 > e || e >= t.length) throw new Error('missing sibling instance'); + g.g_If(t[e]); + } + } + this.g_Lq.g_GI(_.timelines), this.g_akt.dispatchEvent(g_aO.g_ej(g_aO.Event, 'afterload')); + const t = this.g_atp('load'); + (t.saveData = _.user_script_data), await this.g_HT(t), this.g_EV(); + } + async g_arP(g) { + const _ = await Promise.all(g.map((g) => this.g_CD.g_gd(g))), + e = _.map((g) => URL.createObjectURL(g)); + this.g_arm.g_atq(e); + } + g_arO(g, _) { + this.g_arm.g_atr(g, _); + } + g_arN(g, _) { + this.g_arm.g_ats(g, _); + } + g_arQ(g, _, e) { + return this.g_arm.g_arQ(g, _, e); + } + g_att(g, _, e) { + return this.g_arm.g_att(g, _, e); + } + g_af_(g, _) { + this.g_aeh('runtime', 'invoke-download', { url: g, filename: _ }); + } + async g_apa(g, _, e, a, n, d) { + if (((a = a || _), (n = n || e), this.g_Cn())) { + const t = await this.g_BW('runtime', 'raster-svg-image', { + blob: g, + imageWidth: _, + imageHeight: e, + surfaceWidth: a, + surfaceHeight: n, + imageBitmapOpts: d + }); + return t.imageBitmap; + } else { + const t = await self.C3_RasterSvgImageBlob(g, _, e, a, n); + return d ? await self.createImageBitmap(t, d) : t; + } + } + async g_atu(g) { + return this.g_Cn() + ? await this.g_BW('runtime', 'get-svg-image-size', { blob: g }) + : await self.C3_GetSvgImageSize(g); + } + g_atv() { + this.g_ard || ((this.g_ard = !0), this.g_aeh('runtime', 'enable-device-orientation')); + } + g_atw() { + this.g_are || ((this.g_are = !0), this.g_aeh('runtime', 'enable-device-motion')); + } + g_afS() { + return this.g_aqH(); + } + g_atx(g) { + this.g_aqH = g; + } + g_arp() { + return { + fps: this.g_asR(), + cpu: this.g_asS(), + gpu: this.g_aoU(), + layout: this.g_Is() ? this.g_Is().g_pY() : '', + renderer: this.g_rP().g_A$() + }; + } + g_Wx() { + return !!this.g_IC() && g_IF.g_Wx(); + } + g_Wp(g) { + return this.g_asw() ? g_IF.g_Wp(g) : Promise.resolve(); + } + g_ZT() { + return !!this.g_asw() && g_IF.g_aty(); + } + g_atz(g) { + (this.g_apz = !!g), this.g_atA(); + } + g_atB() { + return this.g_apz; + } + g_asw() { + return this.g_apA; + } + g__o(g) { + g ? this.g_apB-- : this.g_apB++, this.g_atA(); + } + g_atA() { + this.g_apA = this.g_IC() && this.g_apz && 0 === this.g_apB; + } + g_Yg() { + return this.g_IC() && g_IF.g_Yg(); + } + g_FP() { + return this.g_IC() && this.g_rP().g_AO() && g_IF.g_FP(); + } + async g_asE(g) { + if (g) for (const _ of g) await this.g_Wp(_); + } + g_asG(g) { + return this.g_asE(this.g_akt.g_lr(g)); + } + g_Vr(g) { + return this.g_TW.g_Vr(g.name, g.params); + } + g__r() { + return this.g_ars; + } + g_atp(g) { + const _ = g_aO.g_ej(g_aO.Event, g, !1); + return (_.runtime = this.g_ars), _; + } + g_arI() { + const g = {}; + for (const _ of this.g_apV) g[_.g_VT()] = { value: _.g_agJ(), enumerable: !0, writable: !1 }; + const _ = Object.create(Object.prototype, g); + (this.g_ars = new g_afB(this, _)), (this.g_ari = { tick: this.g_atp('tick') }); + } + g_arJ() { + const g = {}; + for (const _ of this.g_ED().g_V_()) g[_.g_VT()] = _.g_VU(); + this.g_ars.g_afM(g); + } + g_afW() { + return this.g_aru; + } + g_ags(g, _) { + this.g_art.set(g, _); + } + g_agb(g) { + return this.g_art.get(g); + } + }), + (self.C3_CreateRuntime = g_aO.g_apl.g_sf), + (self.C3_InitRuntime = (g, _) => g.g_akw(_)); +} +'use strict', + (g_aO.g_arn = class extends g_aO.g_eh { + constructor(g, _) { + super(), + (this.g_Be = g), + (this.g_atC = new Map()), + (this.g_atD = 0), + (this.g_atE = _.inputPort), + (_.outputPort.onmessage = (g) => this.g_atF(g)), + (this.g_atG = _.maxNumWorkers), + (this.g_atH = 1), + (this.g_atI = !1), + (this.g_atJ = !1), + (this.g_atK = !1), + (this.g_atL = null); + } + async g_akw() { + await this.g_atM(); + } + g_atq(g) { + this.g_atK || this.g_atE.postMessage({ type: '_import_scripts', scripts: g }); + } + g_atr(g, _) { + this.g_atK || this.g_atE.postMessage({ type: '_send_blob', blob: g, id: _ }); + } + g_ats(g, _) { + this.g_atK || this.g_atE.postMessage({ type: '_send_buffer', buffer: g, id: _ }, [g]); + } + g_arQ(_, a, t, n, i) { + if (this.g_atK) return Promise.reject('messagechannels broken'); + t || (t = []); + const e = this.g_atD++, + r = { type: _, isBroadcast: !1, jobId: e, params: a, transferables: t }, + g = new Promise((g, _) => { + this.g_atC.set(e, { resolve: g, g_Ci: n, reject: _, g_atN: !1 }); + }); + return i && i.g_lM(() => this.g_atO(e)), this.g_atE.postMessage(r, t), this.g_atP(), g; + } + g_att(g, _, a) { + if (!this.g_atK) { + a || (a = []); + const t = this.g_atD++, + n = { type: g, isBroadcast: !0, jobId: t, params: _, transferables: a }; + this.g_atE.postMessage(n, a); + } + } + g_atO(g) { + const _ = this.g_atC.get(g); + _ && + ((_.g_atN = !0), + (_.resolve = null), + (_.g_Ci = null), + (_.reject = null), + this.g_atE.postMessage({ type: '_cancel', jobId: g })); + } + g_atF(g) { + const _ = g.data, + e = _.type, + a = _.jobId; + switch (e) { + case 'result': + this.g_atQ(a, _.result); + break; + case 'progress': + this.g_atR(a, _.progress); + break; + case 'error': + this.g_atS(a, _.error); + break; + case 'ready': + this.g_atT(); + break; + case '_testMessageChannelOk': + this.g_atU(); + break; + default: + throw new Error(`unknown message from worker '${e}'`); + } + } + g_atQ(g, _) { + const e = this.g_atC.get(g); + if (!e) throw new Error('invalid job ID'); + e.g_atN || e.resolve(_), this.g_atC.delete(g); + } + g_atR(g, _) { + const e = this.g_atC.get(g); + if (!e) throw new Error('invalid job ID'); + !e.g_atN && e.g_Ci && e.g_Ci(_); + } + g_atS(g, _) { + const e = this.g_atC.get(g); + if (!e) throw new Error('invalid job ID'); + e.g_atN || e.reject(_), this.g_atC.delete(g); + } + g_atT() { + this.g_atI && + ((this.g_atI = !1), + this.g_atH++, + this.g_atH < this.g_atG + ? this.g_atP() + : this.g_atE.postMessage({ type: '_no_more_workers' })); + } + async g_atP() { + if (!(this.g_atH >= this.g_atG || this.g_atI || this.g_atJ || this.g_atC.size <= this.g_atH)) + try { + this.g_atI = !0; + const g = await this.g_Be.g_BW('runtime', 'create-job-worker'); + g.outputPort.onmessage = (g) => this.g_atF(g); + } catch (g) { + (this.g_atJ = !0), + (this.g_atI = !1), + console.error( + `[Construct 3] Failed to create job worker; stopping creating any more (created ${this.g_atH} so far)`, + g + ); + } + } + g_atM() { + return ( + this.g_atE.postMessage({ type: '_testMessageChannel' }), + self.setTimeout(() => this.g_atV(), 2e3), + new Promise((g) => (this.g_atL = g)) + ); + } + g_atU() { + this.g_atL(), (this.g_atL = null); + } + g_atV() { + this.g_atL && + (console.warn('MessageChannel determined to be broken. Job scheduler disabled.'), + (this.g_atK = !0), + this.g_atL(), + (this.g_atL = null)); + } + }), + (self.C3_Shaders = {}), + 'use strict'; +{ + function _(g, _) { + const e = g[1], + t = _[1]; + if ('number' == typeof e && 'number' == typeof t) return e - t; + else { + const g = '' + e, + _ = '' + t; + return g < _ ? -1 : g > _ ? 1 : 0; + } + } + let t = null, + n = '', + r = '', + s = [], + e = '', + l = '', + g = ''; + const u = g_aO.g_ej(g_aO.g_UU); + g_aO.g_HY.g_HX = class extends g_aO.g_adl { + constructor(g) { + super(g), + (this.g_UN = this.g_Be.g_ED().g_VM()), + (this.g_TA = this.g_Be.g_ED().g_TB()), + (this.g_atW = 0), + (this.g_atX = 0), + (this.g_atY = new Map()); + } + g_ek() { + super.g_ek(); + } + g_EV() { + this.g_Be.g_EV(); + } + g_Ku(g) { + this.g_Be.g_Ku(g, null, null); + } + g_atZ(g, _) { + return ( + (t && g === n && _ === r) || ((t = new RegExp(g, _)), (n = g), (r = _)), + (t.lastIndex = 0), + t + ); + } + g_at_(_, a, t) { + if (_ === e && a === l && t === g) return s; + const n = this.g_atZ(a, t); + return (s = _.match(n)), (e = _), (l = a), (g = t), s; + } + async g_at$(g, _) { + if (_.length) { + this.g_atW += _.length; + const e = []; + for (const a of _) e.push(g.g_Hy(a)); + await g_aO.g_fQ(e, () => { + this.g_atX++; + }), + this.g_atX++, + this.g_atX === this.g_atW && + (this.g_Be.g_Ku(g_aO.g_HY.g_HX.g_HW.g_aua, null, null), + (this.g_atX = 0), + (this.g_atW = 0)); + } + } + g_aub(g, _) { + for (const e of _) 0 === e.g_EK() && g.g_HC(e); + } + g_auc() { + return u; + } + g_aud(_) { + const a = this.g_Be.g_ED(), + t = a.g_TB(), + n = t.g_TU(), + r = n.g_TT(), + e = r.g_UD(), + s = n.g_UA(), + g = t.g_TZ(r), + d = a.g_VM(), + i = d.g_TZ(); + if ((i.g_US(_), s)) + for (let t = 0; t < _ && !i.g_UR(); ++t) a.g_WL(e), i.g_UQ(t), r.g__b(n, g), a.g_WM(e); + else for (let e = 0; e < _ && !i.g_UR(); ++e) i.g_UQ(e), r.g__b(n, g); + return t.g_Ty(), d.g_Ty(), !1; + } + *g_aue(_) { + const a = this.g_Be.g_ED(), + t = a.g_TB(), + n = t.g_TU(), + r = n.g_TT(), + e = r.g_UD(), + s = n.g_UA(), + g = t.g_TZ(r), + d = a.g_VM(), + i = d.g_TZ(); + if ((i.g_US(_), s)) + for (let t = 0; t < _ && !i.g_UR(); ++t) + a.g_WL(e), i.g_UQ(t), yield* r.g__c(n, g), a.g_WM(e); + else for (let e = 0; e < _ && !i.g_UR(); ++e) i.g_UQ(e), yield* r.g__c(n, g); + return t.g_Ty(), d.g_Ty(), !1; + } + g_auf() { + const _ = this.g_Be.g_ED(), + a = _.g_TB(), + t = a.g_TU(), + n = t.g_TT(), + i = n.g_UD(), + e = t.g_UA(), + r = a.g_TZ(n), + g = _.g_VM(), + s = g.g_TZ(); + if (e) + for (let g = 0; !s.g_UR(); ++g) _.g_WL(i), s.g_UQ(g), n.g__b(t, r) || s.g_Kg(), _.g_WM(i); + else for (let g = 0; !s.g_UR(); ++g) s.g_UQ(g), n.g__b(t, r) || s.g_Kg(); + return a.g_Ty(), g.g_Ty(), !1; + } + *g_aug() { + const _ = this.g_Be.g_ED(), + a = _.g_TB(), + t = a.g_TU(), + n = t.g_TT(), + i = n.g_UD(), + e = t.g_UA(), + r = a.g_TZ(n), + g = _.g_VM(), + s = g.g_TZ(); + if (e) + for (let g = 0; !s.g_UR(); ++g) { + _.g_WL(i), s.g_UQ(g); + const e = yield* n.g__c(t, r); + e || s.g_Kg(), _.g_WM(i); + } + else + for (let g = 0; !s.g_UR(); ++g) { + s.g_UQ(g); + const _ = yield* n.g__c(t, r); + _ || s.g_Kg(); + } + return a.g_Ty(), g.g_Ty(), !1; + } + g_auh(_, t, n) { + const r = this.g_Be.g_ED(), + a = r.g_TB(), + e = a.g_TU(), + s = e.g_TT(), + g = s.g_UD(), + d = e.g_UA(), + i = a.g_TZ(s), + o = r.g_VM(), + u = o.g_TZ(); + if ((u.g_LX(_), u.g_US(n), n < t)) { + if (d) + for (let _ = t; _ >= n && !u.g_UR(); --_) r.g_WL(g), u.g_UQ(_), s.g__b(e, i), r.g_WM(g); + else for (let g = t; g >= n && !u.g_UR(); --g) u.g_UQ(g), s.g__b(e, i); + } else if (d) + for (let _ = t; _ <= n && !u.g_UR(); ++_) r.g_WL(g), u.g_UQ(_), s.g__b(e, i), r.g_WM(g); + else for (let g = t; g <= n && !u.g_UR(); ++g) u.g_UQ(g), s.g__b(e, i); + return a.g_Ty(), o.g_Ty(), !1; + } + *g_aui(_, t, n) { + const r = this.g_Be.g_ED(), + a = r.g_TB(), + e = a.g_TU(), + s = e.g_TT(), + g = s.g_UD(), + d = e.g_UA(), + i = a.g_TZ(s), + o = r.g_VM(), + u = o.g_TZ(); + if ((u.g_LX(_), u.g_US(n), n < t)) { + if (d) + for (let _ = t; _ >= n && !u.g_UR(); --_) + r.g_WL(g), u.g_UQ(_), yield* s.g__c(e, i), r.g_WM(g); + else for (let g = t; g >= n && !u.g_UR(); --g) u.g_UQ(g), yield* s.g__c(e, i); + } else if (d) + for (let _ = t; _ <= n && !u.g_UR(); ++_) + r.g_WL(g), u.g_UQ(_), yield* s.g__c(e, i), r.g_WM(g); + else for (let g = t; g <= n && !u.g_UR(); ++g) u.g_UQ(g), yield* s.g__c(e, i); + return a.g_Ty(), o.g_Ty(), !1; + } + g_auj(_) { + const a = this.g_Be.g_ED(), + t = a.g_TB(), + i = t.g_TU(), + r = i.g_TT(), + e = r.g_UD(), + s = i.g_UA(), + d = t.g_TZ(r), + g = a.g_VM(), + o = g.g_TZ(), + p = _.g_EJ(), + l = _.g_Tu(), + h = u.g_TZ(); + if ((g_aO.g_fD(h, l.g_H$()), o.g_US(h.length), s)) + for (let t = 0, n = h.length; t < n && !o.g_UR(); ++t) { + a.g_WL(e); + const n = h[t]; + _.g_Tu().g_TP(n), p && n.g_Yn(), o.g_UQ(t), r.g__b(i, d), a.g_WM(e); + } + else { + l.g_TM(!1); + const g = l.g_TN(); + g_aO.g_fz(g), g.push(null); + for (let _ = 0, e = h.length; _ < e && !o.g_UR(); ++_) { + const e = h[_]; + (g[0] = e), p && e.g_Yn(), o.g_UQ(_), r.g__b(i, d); + } + } + return t.g_Ty(), g.g_Ty(), g_aO.g_fz(h), u.g_Ty(), !1; + } + *g_auk(_) { + const a = this.g_Be.g_ED(), + t = a.g_TB(), + i = t.g_TU(), + r = i.g_TT(), + e = r.g_UD(), + s = i.g_UA(), + d = t.g_TZ(r), + g = a.g_VM(), + o = g.g_TZ(), + p = _.g_EJ(), + l = _.g_Tu(), + h = u.g_TZ(); + if ((g_aO.g_fD(h, l.g_H$()), o.g_US(h.length), s)) + for (let t = 0, n = h.length; t < n && !o.g_UR(); ++t) { + a.g_WL(e); + const n = h[t]; + _.g_Tu().g_TP(n), p && n.g_Yn(), o.g_UQ(t), yield* r.g__c(i, d), a.g_WM(e); + } + else { + l.g_TM(!1); + const g = l.g_TN(); + g_aO.g_fz(g), g.push(null); + for (let _ = 0, e = h.length; _ < e && !o.g_UR(); ++_) { + const e = h[_]; + (g[0] = e), p && e.g_Yn(), o.g_UQ(_), yield* r.g__c(i, d); + } + } + return t.g_Ty(), g.g_Ty(), g_aO.g_fz(h), u.g_Ty(), !1; + } + g_aul(t, a) { + const i = this.g_Be.g_ED(), + s = i.g_TB(), + e = i.g_VH(), + d = s.g_TU(), + g = d.g_TT(), + h = g.g_UD(), + c = d.g_UA(), + f = s.g_TZ(g), + l = i.g_VM(), + m = l.g_TZ(), + n = t.g_EJ(), + o = t.g_Tu(), + p = u.g_TZ(); + g_aO.g_fz(p); + const E = o.g_H$(); + m.g_US(E.length); + for (let g = 0, _ = E.length; g < _; ++g) p.push([E[g], e.g_aaS(1, g)]); + if ((p.sort(_), 1 === a && p.reverse(), c)) + for (let _ = 0, e = p.length; _ < e && !m.g_UR(); ++_) { + i.g_WL(h); + const e = p[_][0]; + t.g_Tu().g_TP(e), n && e.g_Yn(), m.g_UQ(_), g.g__b(d, f), i.g_WM(h); + } + else { + o.g_TM(!1); + const _ = o.g_TN(); + g_aO.g_fz(_), _.push(null); + for (let e = 0, a = p.length; e < a && !m.g_UR(); ++e) { + const a = p[e][0]; + (_[0] = a), n && a.g_Yn(), m.g_UQ(e), g.g__b(d, f); + } + } + return s.g_Ty(), l.g_Ty(), g_aO.g_fz(p), u.g_Ty(), !1; + } + *g_aum(t, a) { + const i = this.g_Be.g_ED(), + s = i.g_TB(), + e = i.g_VH(), + d = s.g_TU(), + g = d.g_TT(), + h = g.g_UD(), + c = d.g_UA(), + f = s.g_TZ(g), + l = i.g_VM(), + m = l.g_TZ(), + n = t.g_EJ(), + o = t.g_Tu(), + p = u.g_TZ(); + g_aO.g_fz(p); + const E = o.g_H$(); + m.g_US(E.length); + for (let g = 0, _ = E.length; g < _; ++g) p.push([E[g], e.g_aaS(1, g)]); + if ((p.sort(_), 1 === a && p.reverse(), c)) + for (let _ = 0, e = p.length; _ < e && !m.g_UR(); ++_) { + i.g_WL(h); + const e = p[_][0]; + t.g_Tu().g_TP(e), n && e.g_Yn(), m.g_UQ(_), yield* g.g__c(d, f), i.g_WM(h); + } + else { + o.g_TM(!1); + const _ = o.g_TN(); + g_aO.g_fz(_), _.push(null); + for (let e = 0, a = p.length; e < a && !m.g_UR(); ++e) { + const a = p[e][0]; + (_[0] = a), n && a.g_Yn(), m.g_UQ(e), yield* g.g__c(d, f); + } + } + return s.g_Ty(), l.g_Ty(), g_aO.g_fz(p), u.g_Ty(), !1; + } + g_aun(g, _) { + let e = this.g_atY.get(g); + return e ? e : _ ? ((e = { g_auo: null, g_aup: new Map() }), this.g_atY.set(g, e), e) : null; + } + g_auq(g, _, a, t, n) { + _.g_Xv().g__m(a), t && g.g_WM(n); + } + *g_aur(g, _, a, t, n) { + yield* _.g_Xv().g__n(a), t && g.g_WM(n); + } + }; +} +'use strict', + (g_aO.g_HY.g_HX.g_ajj = class extends g_aO.g_eh { + constructor(g) { + super(), (this.g_Tq = g), (this.g_Be = g.g_BI()), (this.g_adP = g.g_Ir()); + } + g_adB() {} + g_ek() { + (this.g_Tq = null), (this.g_Be = null), (this.g_adP = null); + } + }), + 'use strict', + (g_aO.g_HY.g_HX.Instance = class extends g_aO.g_eh { + constructor(g) { + super(), + (this.g_b_ = g), + (this.g_Tq = this.g_b_.g_EA()), + (this.g_adU = this.g_Tq.g_adV()), + (this.g_Be = this.g_b_.g_BI()); + } + g_ek() { + (this.g_b_ = null), (this.g_Tq = null), (this.g_adU = null), (this.g_Be = null); + } + }), + 'use strict'; +{ + const _ = []; + g_aO.g_HY.g_HX.g_HW = { + g_aus() { + return !0; + }, + g_HV() { + return !0; + }, + g_Im() { + return !0; + }, + g_asm() { + return !0; + }, + g_asn() { + return !0; + }, + g_asl() { + return this.g_Be.g_asl(); + }, + g_Y$() { + const g = this.g_Be.g_VG(); + return !g.g_Ut() && !g.g_Ur(); + }, + g_aut() { + const g = this.g_Be.g_VH(), + _ = g.g_aaF(); + let e = _.get('TriggerOnce_lastTick'); + 'undefined' == typeof e && ((e = -1), _.set('TriggerOnce_lastTick', -1)); + const a = this.g_Be.g_MB(); + return _.set('TriggerOnce_lastTick', a), this.g_Be.g_as$() || e !== a - 1; + }, + g_auu(g) { + const _ = this.g_Be.g_VH(), + a = _.g_aaF(), + t = a.get('Every_lastTime') || 0, + n = this.g_Be.g_Gk(); + a.has('Every_seconds') || a.set('Every_seconds', g); + const e = a.get('Every_seconds'); + return n >= t + e + ? (a.set('Every_lastTime', t + e), + n >= a.get('Every_lastTime') + 0.04 && a.set('Every_lastTime', n), + a.set('Every_seconds', g), + !0) + : (n < t - 0.1 && a.set('Every_lastTime', n), !1); + }, + g_Xj(g) { + const _ = this.g_Be.g_ED().g_Wc(g); + return _ && _.g_Xj(); + }, + g_aoZ() { + return this.g_Be.g_aoZ(); + }, + g_bU() { + return g_aO.g_bJ.g_bU; + }, + g_arT() { + return !0; + }, + g_auv() { + return !0; + }, + g_auw() { + return !0; + }, + g_atn() { + return !0; + }, + g_ato() { + return !0; + }, + g_atj() { + return !0; + }, + g_atk() { + return !0; + }, + g_aux(g) { + return !!this.g_Be.g_NN(g); + }, + g_auy(g) { + return 0 === g + ? 'browser' === g_aO.g_bJ.g_bS + : 1 === g + ? 'iOS' === g_aO.g_bJ.g_bK + : 2 === g + ? 'Android' === g_aO.g_bJ.g_bK + : 8 === g + ? 'cordova' === g_aO.g_bJ.g_bS + : 9 === g + ? 'scirra-arcade' === this.g_Be.g_asZ() + : 10 === g + ? 'nwjs' === g_aO.g_bJ.g_bS + : 13 == g && 'windows-uwp' === this.g_Be.g_asZ(); + }, + g_auz(g, _, e) { + const a = this.g_atZ(_, e); + return a.test(g); + }, + g_auA(g, _, e) { + return g_aO.compare(g, _, e); + }, + g_auB(g, _, e) { + return g >= _ && g <= e; + }, + g_auC(g, _, e) { + return g_aO.compare(g.g_Pc(), _, e); + }, + g_auD(g) { + return !!g.g_Pc(); + }, + g_auE(g, _) { + const e = this.g_Be.g_Gk(); + if (0 === g) { + const g = this.g_Be.g_VH(), + a = g.g_aaF(); + return !a.get('CompareTime_executed') && e >= _ && (a.set('CompareTime_executed', !0), !0); + } + return g_aO.compare(e, g, _); + }, + g_auF(g) { + return isNaN(g); + }, + g_aca(g, _, e) { + return g_aO.g_ew(g_aO.g_er(g), g_aO.g_er(e)) <= g_aO.g_er(_); + }, + g_acb(g, _) { + return g_aO.g_ey(g_aO.g_er(g), g_aO.g_er(_)); + }, + g_acc(_, t, a) { + let n = g_aO.g_er(_), + i = g_aO.g_er(t), + e = g_aO.g_er(a), + r = !g_aO.g_ey(e, i); + return r ? g_aO.g_ey(n, i) || !g_aO.g_ey(n, e) : g_aO.g_ey(n, i) && !g_aO.g_ey(n, e); + }, + g_auG(g, _) { + return 'number' == typeof g ? 0 === _ : 1 === _; + }, + g_auH(_, t, n, r) { + if (!_) return !1; + const a = this.g_auc(), + s = a.g_TZ(), + l = _.g_Tu(); + g_aO.g_fD(s, l.g_H$()), l.g_TF() && g_aO.g_fz(l.g_TO()); + const g = this.g_Be.g_VH(); + let o = 0; + for (let d = 0, e = s.length; d < e; ++d) { + const _ = s[d]; + (s[o] = _), + (t = g.g_aaS(1, d)), + (r = g.g_aaS(3, d)), + g_aO.compare(t, n, r) ? ++o : l.g_TL(_); + } + g_aO.g_fy(s, o), l.g_TQ(s); + const e = !!s.length; + return g_aO.g_fz(s), a.g_Ty(), _.g_aaH(), e; + }, + g_auI(_, t) { + if (!_) return !1; + const a = this.g_auc(), + n = a.g_TZ(), + i = _.g_Tu(); + g_aO.g_fD(n, i.g_H$()), i.g_TF() && g_aO.g_fz(i.g_TO()); + const e = this.g_Be.g_VH(); + let r = 0; + for (let g = 0, a = n.length; g < a; ++g) { + const _ = n[g]; + (n[r] = _), (t = e.g_aaS(1, g)), t ? ++r : i.g_TL(_); + } + g_aO.g_fy(n, r), i.g_TQ(n); + const s = !!n.length; + return g_aO.g_fz(n), a.g_Ty(), _.g_aaH(), s; + }, + g_auJ(g, _) { + if (!g) return !1; + const a = g.g_Tu(), + t = a.g_H$(); + if (((_ = Math.floor(_)), _ >= t.length)) return !1; + const n = t[_]; + return a.g_TR(n), g.g_aaH(), !0; + }, + g_auK(g) { + if (!g) return !1; + const _ = g.g_Tu(), + a = _.g_H$(), + t = Math.floor(this.g_Be.g_afS() * a.length); + if (t >= a.length) return !1; + const n = a[t]; + return _.g_TR(n), g.g_aaH(), !0; + }, + g_auL(g) { + if (!g) return !1; + if (!g.g_EK()) return !1; + const _ = g.g_Tu(); + return _.g_TM(!0), g.g_aaH(), !0; + }, + g_auM(a, t, n) { + if (!a) return !1; + const i = a.g_Tu(), + e = i.g_H$(), + r = this.g_Be.g_TT(), + g = r.g_TS(), + s = this.g_Be.g_VH().g_aaB(); + i.g_TF() + ? (g_aO.g_fD(_, e), i.g_TE(), i.g_TM(!1)) + : g + ? (g_aO.g_fD(_, i.g_TO()), g_aO.g_fz(i.g_TO())) + : (g_aO.g_fD(_, i.g_TN()), g_aO.g_fz(i.g_TN())); + for (let e = 0, r = _.length; e < r; ++e) { + const g = _[e]; + g_aO.xor(g.g_CU().g_ahc(t, n), s) ? i.g_TK(g) : i.g_TL(g); + } + return a.g_aaH(), g_aO.xor(!!i.g_TN().length, s); + }, + g_auN(g) { + if (!g) return !1; + const _ = g.g_EF(); + let a = null; + const t = this.g_Be.g_abF(); + for (let n = t.length - 1; 0 <= n; --n) { + const e = t[n]; + if (_) { + if (e.g_EA().g_abE(g)) { + a = e; + break; + } + } else if (e.g_EA() === g) { + a = e; + break; + } + } + if (!a) { + const _ = g.g_H$(); + _.length && (a = _[_.length - 1]); + } + if (!a) return !1; + const n = g.g_Tu(); + return n.g_TR(a), g.g_aaH(), !0; + }, + g_auO(g) { + return this.g_Be.g_asw() ? this.g_aue(g) : this.g_aud(g); + }, + g_auP() { + return this.g_Be.g_asw() ? this.g_aug() : this.g_auf(); + }, + g_auQ(g, _, e) { + return this.g_Be.g_asw() ? this.g_aui(g, _, e) : this.g_auh(g, _, e); + }, + g_mG(g) { + return this.g_Be.g_asw() ? this.g_auk(g) : this.g_auj(g); + }, + g_auR(g, _, e) { + return this.g_Be.g_asw() ? this.g_aum(g, e) : this.g_aul(g, e); + }, + g_auS(g) { + return !!g && g.g_ET(); + }, + g_auT(g) { + return !!g && !g.g_EK(); + }, + g_auU(g, _, e) { + return !!g && g_aO.compare(100 * g.g_zk(), _, e); + }, + g_aua() { + return !0; + }, + g_auV() { + return 0 < this.g_atW; + } + }; +} +{ + function _(_, t) { + const a = _[0], + n = t[0], + i = a - n; + if (0 != i) return i; + const e = _[1], + r = t[1]; + return e - r; + } + function a(g, _) { + return g[1] - _[1]; + } + const t = [], + i = [], + g = g_aO.g_ej(g_aO.g_gB); + g_aO.g_HY.g_HX.g_abH = { + g_auW(g, _) { + g.g_PF(_); + }, + g_auX(g, _) { + g.g_cE() && 'number' != typeof _ && (_ = parseFloat(_)), g.g_PF(g.g_Pc() + _); + }, + g_auY(g, _) { + g.g_cE() && g.g_PF(g.g_Pc() - _); + }, + g_auZ(g, _) { + g.g_PF(!!_); + }, + g_au_(g) { + g.g_PF(!g.g_Pc()); + }, + g_au$() { + this.g_Be.g_ED().g_Wa(); + }, + g_ava(g, _, a, t) { + if (g && _) { + const n = this.g_Be.g_agB(g, _, a, t); + if (n) { + const _ = this.g_Be.g_ED(); + if ((_.g_EH(!0), n.g_EI(), n.g_EJ())) for (const g of n.siblings()) g.g_EI(); + _.g_EH(!1), g.g_Tu().g_TP(n), n.g_EJ() && n.g_Yn(); + } + } + }, + g_avb(g, _, a, t) { + if (g && _) { + const n = this.g_Be.g_arY(g); + n && g_aO.g_HY.g_HX.g_abH.g_ava.call(this, n, _, a, t); + } + }, + g_EC(g, _, a, t, n) { + g && this.g_Be.g_ZC().g_EC(g, _, a, t, n); + }, + g_avc() { + const g = this.g_UN; + g.g_UJ() && g.g_UH().g_Kg(); + }, + g_Xk(g, _) { + const e = this.g_Be.g_ED().g_Wc(g); + e && (0 === _ ? e.g_Xk(!1) : 1 === _ ? e.g_Xk(!0) : e.g_Xk(!e.g_Xj())); + }, + g_avd(g) { + this.g_Be.g_akD(g); + }, + g_ave(g, _) { + if ((0 > _ && (_ = 0), !!g)) { + const e = g.g_Tu(), + t = e.g_H$(); + for (const g of t) g.g_akD(_); + } + }, + g_avf(g) { + if (g) { + const _ = g.g_Tu(), + e = _.g_H$(); + for (const g of e) g.g_akE(); + } + }, + g_ft(g) { + if (!(0 > g)) return this.g_Be.g_ED().g_WN().g_adb(g), !0; + }, + g_avg(g) { + return this.g_Be.g_ED().g_WN().g_adc(g), !0; + }, + g_avh() { + const g = this.g_Be.g_ED(); + return g.g_WN().g_add(g.g_W_()), !0; + }, + g_avi(g) { + const _ = g.toLowerCase(); + for (const e of this.g_Be.g_ED().g_WP()) e.g_adg() && e.g_adh() === _ && e.g_ade(); + }, + async g_aoV(g, _) { + const e = this.g_Be.g_FO(); + e && + (this.g_EV(), + await e.g_aoV(0 === g ? 'image/png' : 'image/jpeg', _ / 100), + await this.g_Be.g_HU(g_aO.g_HY.g_HX.g_HW.g_auv, null)); + }, + g_avj(g, _) { + if (!(0 >= g || 0 >= _)) { + this.g_Be.g_aoz(g, _); + const e = this.g_Be.g_ZC(); + e.g_Gn(); + for (const g of e.g_Hm()) g.g_Gq(); + const a = this.g_Be.g_FO(); + a && + ('off' === a.g_aot() + ? a.g_wQ(a.g_aeF(), a.g_aeH(), !0) + : (this.g_Be.g_ar_(g, _), a.g_wQ(a.g_aeF(), a.g_aeH(), !0)), + this.g_Be.g_EV()); + } + }, + g_avk(g) { + const _ = this.g_Be.g_FO(); + _ && + 'off' !== _.g_aot() && + (_.g_aoE(0 === g ? 'low' : 'high'), _.g_wQ(_.g_aeF(), _.g_aeH(), !0)); + }, + g_Oz(g) { + this.g_Be.g_atb(g); + }, + g_avl(g) { + this.g_Be.g_atc(g); + }, + g_avm(g) { + this.g_Be.g_acN(g); + }, + g_avn() {}, + g_avo() { + for (const g of this.g_Be.g_Wy().g_IV()) g.g_Iu(); + }, + g_avp(g) { + this.g_Be.g_ata(0 !== g); + }, + g_asP(g) { + this.g_Be.g_asP(g); + }, + g_avq(r, e) { + if (!r) return; + const s = r.g_Tu(), + g = s.g_H$(), + u = t, + p = i, + h = this.g_Be.g_ZC(), + l = r.g_EF(), + f = r.g_$r(); + for (let _ = 0, a = g.length; _ < a; ++_) { + const a = g[_], + t = a.g_CU(); + if (!t) continue; + let n; + (n = l ? a.g_QL(e + a.g_EA().g_$q(f)) : a.g_QL(e)), + u.push([t.g_Em().g_EM(), t.g_Fz()]), + p.push([a, n]); + } + if (!u.length) return; + u.sort(_), p.sort(a); + let n = !1; + for (let g = 0, _ = u.length; g < _; ++g) { + const _ = p[g][0], + a = h.g_Ho(u[g][0]), + t = u[g][1], + i = a.g_Fm(); + i[t] !== _ && ((i[t] = _), _.g_CU().g_Ia(a), a.g_Ek(), (n = !0)); + } + n && this.g_Be.g_EV(), g_aO.g_fz(t), g_aO.g_fz(i); + }, + g_avr(g) { + if (!this.g_Be.g_arK()) { + const _ = this.g_Be.g_Wy(); + _.g_Ja() || _.g_I$(g); + } + }, + g_avs(g) { + if (!this.g_Be.g_arK()) { + const _ = this.g_Be.g_Wy(); + if (!_.g_Ja()) { + const e = _.g_IS(g); + e && _.g_I$(e); + } + } + }, + g_avt(g) { + if (!this.g_Be.g_arK()) { + const _ = this.g_Be.g_Wy(); + if (!_.g_Ja()) { + const a = _.g_IV(), + t = a.indexOf(_.g_Is()); + if (!(g && 0 === t) && (g || t !== a.length - 1)) { + const n = a[t + (g ? -1 : 1)]; + _.g_I$(n); + } + } + } + }, + g_avu() { + if (!this.g_Be.g_arK()) { + const g = this.g_Be.g_Wy(); + g.g_Ja() || (g.g_I$(g.g_Is()), this.g_Be.g_ED().g_Wg()); + } + }, + g_avv(g, _) { + g && g.g_EU(_); + }, + g_avw(g, _) { + g && g.g_zm(_ / 100); + }, + g_avx(g, _) { + g && g.g_Gm(_); + }, + g_avy(g, _) { + g && g.g_Fa(_); + }, + g_avz(g, _) { + g && ((_ = g_aO.g_eq(g_aO.g_er(+_))), g.g_Fk() === _ || (g.g_Fi(_), this.g_EV())); + }, + g_avA(g, _, e) { + g && g.g_Fd(_ / 100, e / 100); + }, + g_avB(g, _) { + g && g.g_Fh(_); + }, + g_avC(_, e) { + if (_) { + g.g_g$(e), g.g_ep(); + const a = _.g_Fn(); + a.g_gV(g) || (a.g_gO(g), this.g_EV()); + } + }, + g_avD(g, _) { + g && ((_ = !!_), g.g_Fo() === _ || (g.g_Fp(_), this.g_EV())); + }, + g_avE(g, _) { + g && g.g_Ey() !== _ && (g.g_Ex(_), this.g_EV()); + }, + g_avF(g, _, e) { + if (g) { + const t = g.g_EP(), + n = t.g_Qg(e); + if (n) { + const g = 1 === _; + n.g_Yd() === g || (n.g_ame(g), t.g_abD(), this.g_Be.g_EV()); + } + } + }, + g_avG(_, e, t, n) { + if (_) { + const i = _.g_EP(), + r = i.g_Qg(e); + if (r) { + const _ = r.g_EM(), + e = i.g_Gh(_); + if (((t = Math.floor(t)), !(0 > t || t >= e.length))) { + const _ = r.g_tq().g_tB(t); + if ('color' === _) { + g.g_g$(n); + const _ = e[t]; + if (g.g_gV(_)) return; + _.g_gO(g); + } else { + if (('percent' === _ && (n /= 100), e[t] === n)) return; + e[t] = n; + } + r.g_Yd() && this.g_Be.g_EV(); + } + } + } + }, + g_avH(g, _) { + g && ((_ = !!_), g.g_Fq() === _ || (g.g_Fr(_), this.g_EV())); + }, + g_avI(g) { + const _ = this.g_Be.g_ZC(); + _.g_Gp() === g || (_.g_Hi(g), this.g_EV()); + }, + g_avJ(g) { + g = g_aO.g_eq(g_aO.g_er(+g)); + const _ = this.g_Be.g_ZC(); + _.g_Fj() === g || (_.g_Fi(g), this.g_EV()); + }, + g_avK(g, _) { + const e = this.g_Be.g_ZC(), + a = e.g_EP(), + t = a.g_Qg(_); + if (t) { + const _ = 1 === g; + t.g_Yd() === _ || (t.g_ame(_), a.g_abD(), this.g_Be.g_EV()); + } + }, + g_avL(_, e, t) { + const a = this.g_Be.g_ZC(), + n = a.g_EP(), + i = n.g_Qg(_); + if (i) { + const _ = i.g_EM(), + r = n.g_Gh(_); + if (((e = Math.floor(e)), !(0 > e || e >= r.length))) { + const _ = i.g_tq().g_tB(e); + if ('color' === _) { + g.g_g$(t); + const _ = r[e]; + if (g.g_gV(_)) return; + _.g_gO(g); + } else { + if (('percent' === _ && (t /= 100), r[e] === t)) return; + r[e] = t; + } + i.g_Yd() && this.g_Be.g_EV(); + } + } + }, + g_avM(g) { + const _ = this.g_Be.g_ZC(); + _.g_Hg(g); + }, + g_avN(g) { + const _ = this.g_Be.g_ZC(); + _.g_Hh(g); + }, + g_avO(g, _) { + const e = this.g_Be.g_ZC(); + e.g_Hg(g), e.g_Hh(_); + }, + g_avP(g) { + if (g) { + const _ = g.g_abA(); + if (_) { + const g = _.g_CU(); + if (g) { + const _ = this.g_Be.g_ZC(); + _.g_Hg(g.g_Ig()), _.g_Hh(g.g_Ih()); + } + } + } + }, + async g_avQ(g) { + const _ = this.g_Be.g_Is(); + if (_ && g && !this.g_Be.g_arK()) { + const e = g.g_EF() ? g.g_Zd() : [g]; + await this.g_at$(_, e); + } + }, + async g_avR(g) { + await g_aO.g_HY.g_HX.g_abH.g_avQ.call(this, this.g_Be.g_arY(g)); + }, + g_avS(g) { + const _ = this.g_Be.g_Is(); + if (_ && g) { + const e = g.g_EF() ? g.g_Zd() : [g]; + this.g_aub(_, e); + } + }, + g_avT(g) { + g_aO.g_HY.g_HX.g_abH.g_avT.call(this, this.g_Be.g_arY(g)); + }, + g_avU() { + const g = this.g_Be.g_Is(); + if (g) { + const _ = g.g_Hv(); + this.g_aub(g, _); + } + }, + async g_avV(g) { + const _ = this.g_Be.g_Is(); + g && _ && !this.g_Be.g_arK() && (await this.g_at$(_, g.g_Hs())); + }, + async g_avW(g) { + const _ = this.g_Be.g_Is(), + e = this.g_Be.g_Wy().g_IS(g); + e && _ && !this.g_Be.g_arK() && (await this.g_at$(_, e.g_Hs())); + }, + g_Uy(g) { + const _ = this.g_TA.g_Ua(); + if (_) + switch (_.g_Ux()) { + case 1: + 'number' == typeof g && _.g_Uy(g); + break; + case 2: + 'string' == typeof g && _.g_Uy(g); + break; + case 3: + _.g_Uy(g); + } + }, + g_avX(_, a, t) { + const n = this.g_aun(_.toLowerCase(), !0), + i = n.g_aup, + e = a.toLowerCase(); + i.has(e) && + console.warn( + `[Construct 3] Function map '${_}' string '${a}' already in map; overwriting entry` + ); + const r = g_aO.first(i.values()) || n.g_auo; + if (r) { + const g = 0 !== r.g_Xy(), + n = 0 !== t.g_Xy(); + if (g != n) + return void console.error( + `[Construct 3] Function map '${_}' string '${a}' function return type not compatible with other functions in the map; entry ignored` + ); + } + i.set(e, t); + }, + g_avY(g, _) { + const e = this.g_aun(g.toLowerCase(), !0); + e.g_auo && + console.warn(`[Construct 3] Function map '${g}' already has a default; overwriting entry`); + const a = g_aO.first(e.g_aup.values()) || e.g_auo; + if (a) { + const t = 0 !== a.g_Xy(), + n = 0 !== _.g_Xy(); + if (t != n) + return void console.error( + `[Construct 3] Function map '${g}' default: function return type not compatible with other functions in the map; entry ignored` + ); + } + e.g_auo = _; + }, + g_avZ(_, a, g) { + g = Math.floor(g); + const t = this.g_aun(_.toLowerCase(), !1); + if (!t) + return void console.warn( + `[Construct 3] Call mapped function: map name '${_}' not found; call ignored` + ); + let n = t.g_aup.get(a.toLowerCase()); + if (!n) + if (t.g_auo) (n = t.g_auo), (g = 0); + else + return void console.warn( + `[Construct 3] Call mapped function: no function associated with map '${_}' string '${a}'; call ignored (consider setting a default)` + ); + if (n.g_jp()) { + if (0 !== n.g_Xy()) + return void console.warn( + `[Construct 3] Call mapped function: map '${_}' string '${a}' has a return type so cannot be called` + ); + const e = this.g_Be, + t = e.g_ED(), + r = t.g_TT(), + s = r.g_Xx(), + d = 0 < s.length; + d && t.g_WK(s); + const i = [], + o = t.g_Xq(r); + if (o) { + const _ = o.g_Xu(); + for (let e = g, a = _.length; e < a; ++e) i.push(_[e].g_Pc()); + } + const u = n.g_Xu(); + for (let g = i.length, _ = u.length; g < _; ++g) i.push(u[g].g_VF()); + return e.g_asw() ? this.g_aur(t, n, i, d, s) : this.g_auq(t, n, i, d, s); + } + } + }; +} +'use strict', + (g_aO.g_HY.g_HX.g__$ = { + g_av_: function (g) { + return 'string' == typeof g && ((g = parseInt(g, 10)), isNaN(g) && (g = 0)), Math.floor(g); + }, + float: function (g) { + return 'string' == typeof g && ((g = parseFloat(g)), isNaN(g) && (g = 0)), g; + }, + g_C(g) { + return g.toString(); + }, + g_J(g) { + return 'string' == typeof g ? g.length : 0; + }, + random(g, _) { + return 'undefined' == typeof _ ? this.g_Be.g_afS() * g : this.g_Be.g_afS() * (_ - g) + g; + }, + g_$a(...g) { + const _ = Math.floor(this.g_Be.g_afS() * g.length); + return g[_]; + }, + g_av$() { + return Math.PI; + }, + g_awa() { + return 1 / 0; + }, + sqrt(g) { + return Math.sqrt(g); + }, + abs(g) { + return Math.abs(g); + }, + round(g) { + return Math.round(g); + }, + floor(g) { + return Math.floor(g); + }, + ceil(g) { + return Math.ceil(g); + }, + sign(g) { + return Math.sign(g); + }, + sin(g) { + return Math.sin(g_aO.g_er(g)); + }, + cos(g) { + return Math.cos(g_aO.g_er(g)); + }, + tan(g) { + return Math.tan(g_aO.g_er(g)); + }, + asin(g) { + return g_aO.g_es(Math.asin(g)); + }, + acos(g) { + return g_aO.g_es(Math.acos(g)); + }, + atan(g) { + return g_aO.g_es(Math.atan(g)); + }, + exp(g) { + return Math.exp(g); + }, + g_awb(g) { + return Math.log(g); + }, + log10(g) { + return Math.log(g) / Math.LN10; + }, + max(...g) { + let _ = g[0]; + 'number' != typeof _ && (_ = 0); + for (let a = 1, t = g.length, e; a < t; ++a) + (e = g[a]), 'number' == typeof e && _ < e && (_ = e); + return _; + }, + min(...g) { + let _ = g[0]; + 'number' != typeof _ && (_ = 0); + for (let a = 1, t = g.length, e; a < t; ++a) + (e = g[a]), 'number' == typeof e && _ > e && (_ = e); + return _; + }, + g_ep(g, _, e) { + return g_aO.g_ep(g, _, e); + }, + g_P(g, _, e, a) { + return g_aO.g_et(g, _, e, a); + }, + angle(g, _, e, a) { + return g_aO.g_es(g_aO.g_ev(g, _, e, a)); + }, + g_V(g, _, e) { + return g_aO.g_V(g, _, e); + }, + g_eA(g, _, e) { + return g_aO.g_eA(g, _, e); + }, + g_eC(g, _, e, a) { + return g_aO.g_eC(g, _, e, a); + }, + g_eD(g, _, e, a, t) { + return g_aO.g_eD(g, _, e, a, t); + }, + g_eE(g, _, e) { + return g_aO.g_eE(g, _, e); + }, + g_awc(g, _) { + return g_aO.g_es(g_aO.g_ew(g_aO.g_er(g), g_aO.g_er(_))); + }, + g_awd(g, _, e) { + return g_aO.g_es(g_aO.g_ez(g_aO.g_er(g), g_aO.g_er(_), e)); + }, + g_awe(g, _, e) { + return g_aO.g_es(g_aO.g_ex(g_aO.g_er(g), g_aO.g_er(_), g_aO.g_er(e))); + }, + g_awf(g, _, e) { + return (g |= 0), (_ |= 0), (e = 0 === e ? 0 : 1), (g & ~(1 << _)) | (e << _); + }, + g_awg(g, _) { + return (g |= 0), (_ |= 0), g ^ (1 << _); + }, + g_awh(g, _) { + return (g |= 0), (_ |= 0), g & (1 << _) ? 1 : 0; + }, + g_awi() { + return '\n'; + }, + g_awj(g) { + return 'string' == typeof g ? g.toUpperCase() : ''; + }, + g_awk(g) { + return 'string' == typeof g ? g.toLowerCase() : ''; + }, + left(g, _) { + return 'string' == typeof g ? g.substr(0, _) : ''; + }, + g_awl(g, _, e) { + return 'string' == typeof g ? (0 > e ? g.substr(_) : g.substr(_, e)) : ''; + }, + right(g, _) { + return 'string' == typeof g ? g.substr(g.length - _) : ''; + }, + trim(g) { + return 'string' == typeof g ? g.trim() : ''; + }, + g_awm(g, _, e) { + if ('string' != typeof g || 'string' != typeof e) return ''; + let a = g.split(e); + return (_ = Math.floor(_)), 0 > _ || _ >= a.length ? '' : a[_]; + }, + g_awn(g, _) { + return 'string' == typeof g && 'string' == typeof _ && g.length ? g.split(_).length : 0; + }, + find(g, _) { + return 'string' == typeof g && 'string' == typeof _ + ? g.search(new RegExp(g_aO.g_om(_), 'i')) + : -1; + }, + g_awo(g, _) { + return 'string' == typeof g && 'string' == typeof _ + ? g.search(new RegExp(g_aO.g_om(_), '')) + : -1; + }, + replace(g, _, e) { + return 'string' == typeof g && 'string' == typeof _ && 'string' == typeof e + ? g.replace(new RegExp(g_aO.g_om(_), 'gi'), e) + : 'string' == typeof g + ? g + : ''; + }, + g_awp(g, _, e) { + const a = this.g_atZ(_, e); + return g ? g.search(a) : -1; + }, + g_awq(g, _, a, t) { + const n = this.g_atZ(_, a); + return g ? g.replace(n, t) : ''; + }, + g_awr(g, _, e) { + const a = this.g_at_(g.toString(), _, e); + return a ? a.length : 0; + }, + g_aws(g, _, a, t) { + t = Math.floor(t); + const n = this.g_at_(g.toString(), _, a); + return !n || 0 > t || t >= n.length ? '' : n[t]; + }, + g_awt(g, _) { + let e = 0 > g ? '-' : ''; + 0 > g && (g = -g); + const t = _ - g.toString().length; + return (e += '0'.repeat(Math.max(t, 0))), e + g.toString(); + }, + g_awu(g) { + return encodeURIComponent(g); + }, + g_awv(g) { + return decodeURIComponent(g); + }, + g_abT() { + return this.g_Be.g_asN(); + }, + g_aww() { + return this.g_Be.g_KX(); + }, + g_awx() { + return (Date.now() - this.g_Be.g_asT()) / 1e3; + }, + g_awy() { + return Date.now(); + }, + time() { + return this.g_Be.g_Gk(); + }, + g_awz() { + return this.g_Be.g_MB(); + }, + g_awA() { + return this.g_Be.g_asW(); + }, + g_awB() { + return this.g_Be.g_asR(); + }, + g_awC() { + return this.g_Be.g_asS(); + }, + g_awD() { + return this.g_Be.g_aoU(); + }, + g_awE() { + return this.g_Be.g_FO().g_aoK(); + }, + g_awF() { + return this.g_Be.g_FO().g_aoL(); + }, + g_awG() { + return this.g_Be.g_DY(); + }, + g_awH() { + return this.g_Be.g_DZ(); + }, + g_awI() { + return this.g_Be.g_DY(); + }, + g_awJ() { + return this.g_Be.g_DZ(); + }, + g_awK() { + return this.g_Be.g_ZC().g_Gz(); + }, + g_awL() { + return this.g_Be.g_ZC().g_GA(); + }, + g_awM() { + return this.g_Be.g_ZC().g_pY(); + }, + g_awN() { + return this.g_Be.g_ZC().g_Gp(); + }, + g_awO() { + return g_aO.g_es(this.g_Be.g_ZC().g_Fj()); + }, + g_awP() { + return this.g_Be.g_ZC().g_pN(); + }, + g_awQ() { + return this.g_Be.g_ZC().g_pO(); + }, + g_awR(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().g_hV() : 0; + }, + g_awS(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().g_hW() : 0; + }, + g_awT(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().g_hX() : 0; + }, + g_awU(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().g_hY() : 0; + }, + g_awV(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().width() : 0; + }, + g_awW(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EW().height() : 0; + }, + g_awX(g, _, e) { + const a = this.g_Be.g_ZC().g_Em(g); + return a ? a.g_Gr(_, e)[0] : 0; + }, + g_awY(g, _, e) { + const a = this.g_Be.g_ZC().g_Em(g); + return a ? a.g_Gr(_, e)[1] : 0; + }, + g_awZ(g, _, e) { + const a = this.g_Be.g_ZC().g_Em(g); + return a ? a.g_GC(_, e)[0] : 0; + }, + g_aw_(g, _, e) { + const a = this.g_Be.g_ZC().g_Em(g); + return a ? a.g_GC(_, e)[1] : 0; + }, + g_aw$(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_Gj() : 0; + }, + g_axa(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? g_aO.g_es(_.g_Fk()) : 0; + }, + g_axb(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? 100 * _.g_zk() : 0; + }, + g_axc(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_E$() : 0; + }, + g_axd(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? 100 * _.g_Fb() : 0; + }, + g_axe(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? 100 * _.g_Fc() : 0; + }, + g_axf(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_Do() : 0; + }, + g_axg(g) { + const _ = this.g_Be.g_ZC().g_Em(g); + return _ ? _.g_EM() : -1; + }, + g_axh() { + const g = this.g_Be.g_FO(); + return g ? g.g_aoX() : ''; + }, + g_axi(g) { + const _ = this.g_UN; + if (!_.g_UJ()) return 0; + if (g) { + const e = _.g_UL(g); + return e ? e.g_EM() : 0; + } + return _.g_UH().g_EM(); + }, + g_axj() { + return this.g_Be.g_atd(); + }, + g_axk(_, a, ...t) { + const r = this.g_aun(_.toLowerCase(), !1); + if (!r) + return ( + console.warn( + `[Construct 3] Call mapped function: map name '${_}' not found; returning 0` + ), + 0 + ); + let s = r.g_aup.get(a.toLowerCase()); + if (!s) + if (r.g_auo) s = r.g_auo; + else + return ( + console.warn( + `[Construct 3] Call mapped function: no function associated with map '${_}' string '${a}'; returning 0 (consider setting a default)` + ), + 0 + ); + const d = s.g_Xy(), + u = s.g_Xt(); + if (0 === d) + return ( + console.warn( + `[Construct 3] Call mapped function: map '${_}' string '${a}' has no return type so cannot be called from an expression; returning 0` + ), + 0 + ); + if (!s.g_jp()) return u; + const g = this.g_Be, + p = g.g_ED(), + i = p.g_TT(), + h = i.g_Xx(), + c = 0 < h.length; + c && p.g_WK(h); + const l = s.g_Xu(); + for (let g = t.length, n = l.length; g < n; ++g) t.push(l[g].g_VF()); + const f = s.g_Xv(), + n = f.g_Xw(f.g_Xx(), d, u, ...t); + return c && p.g_WM(h), n; + }, + g_axl() { + return this.g_Be.g_afD().g_Cj(); + }, + g_axm() { + return 0 === this.g_atW ? 1 : this.g_atX / this.g_atW; + }, + g_uq() { + return 'webgl'; + }, + g_axn() { + return this.g_Be.g_rP().g_A$(); + }, + g_axo() { + let g = this.g_Be.g_rP().g_AT(); + return Math.round((100 * g) / 1048576) / 100; + }, + g_axp(g, _, e) { + return g_aO.g_eK(g, _, e); + }, + g_axq(g, _, e) { + return g_aO.g_eM(g / 100, _ / 100, e / 100); + }, + g_axr(g, _, a, e) { + return g_aO.g_eL(g / 100, _ / 100, a / 100, e / 100); + }, + g_axs(g, _, e) { + return g_aO.g_eM(g / 255, _ / 255, e / 255); + }, + g_axt(g, _, a, e) { + return g_aO.g_eL(g / 255, _ / 255, a / 255, e / 255); + }, + g_axu() { + return this.g_Be.g_afH(); + }, + g_axv() { + return this.g_Be.g_afJ(); + }, + g_axw() { + return this.g_Be.g_TT().g_Hl().g_pY(); + }, + g_axx() { + return this.g_Be.g_TT().g_Zv(); + } + }), + 'use strict', + (g_aO.g_HY.g_axy = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_axy.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g), (this.g_ajd = g.g_ajN()); + } + g_ek() { + g_aO.g_fz(this.g_ajd), super.g_ek(); + } + g_adB() { + for (const g of this.g_ajd) g.g_ah_(this.g_Be); + } + g_Hx(g) { + const _ = { g_qO: this.g_Be.g_FR() }; + return Promise.all(this.g_ajd.map((e) => e.g_ah$(g, _))); + } + g_HD() { + for (const g of this.g_ajd) g.g_aia(); + } + g_HA() { + this.g_axz(); + } + g_axz() { + for (const g of this.g_Tq.g_ajT()) g.g_Qd().g_axA(); + } + g_aaL(g) { + g_aO.g_HY.g_axy.g_axB(this, g); + } + }), + 'use strict'; +{ + const _ = g_aO.g_ej(g_aO.g_iu), + g = g_aO.g_ej(g_aO.g_hA); + g_aO.g_HY.g_axy.Instance = class extends g_aO.g_aeu { + constructor(_, a) { + super(_); + let t = !0, + n = '', + i = 0, + r = !0; + a && ((t = !!a[0]), (n = a[1]), (i = a[2]), (r = a[3])), + (this.g_axC = this.g_Tq.g_ajP(n) || this.g_Tq.g_ajN()[0]), + (this.g_axD = g_aO.g_ep(i, 0, this.g_axC.g_aib() - 1)), + (this.g_axE = this.g_axC.g_aid(this.g_axD)); + const s = this.g_axE.g_adQ(); + (this.g_axF = s.g_rQ()), + (this.g_axG = s.g_xg()), + this.g_aex(), + _.g_akM(2, !0), + _.g_akM(1, 0 <= this.g_axC.g_aie()), + (this.g_axH = Math.abs(this.g_axC.g_aie())), + (this.g_axI = this.g_axC.g_aif()), + (this.g_axJ = g_aO.g_ej(g_aO.g_lQ)), + (this.g_axK = 0), + (this.g_axL = 0), + (this.g_axM = ''), + (this.g_axN = -1), + (this.g_axO = ''), + (this.g_axP = 0); + const g = this.g_CU(); + (this.g_axQ = g.g_agX()), + g.g_EU(t), + g.g_aly(r), + g.g_alr(this.g_axE.g_QX()), + g.g_als(this.g_axE.g_QZ()), + g.g_alJ(this.g_axE.g_aip()), + g.g_En(), + (1 !== this.g_Tq.g_ajO() || 1 !== this.g_Tq.g_ajN()[0].g_aib()) && + 0 !== this.g_axH && + this.g_ael(); + } + g_ek() { + (this.g_axC = null), + (this.g_axE = null), + (this.g_axF = null), + (this.g_axJ = null), + super.g_ek(); + } + g_Gg() { + return this.g_axE.g_adQ(); + } + g_CQ() { + this.g_axF = null; + } + g_aey() { + this.g_axA(); + } + g_FN(a) { + var t = Math.round; + const g = this.g_axF; + if (null !== g) { + const n = this.g_axQ, + e = this.g_axG; + if ((a.g_zp(g), this.g_Be.g_Gs())) { + const i = this.g_CU(), + r = t(i.g_Ig()) - i.g_Ig(), + g = t(i.g_Ih()) - i.g_Ih(); + _.g_p(n), _.offset(r, g), a.g_zy(_, e); + } else a.g_zy(n, e); + } + } + g_axR(_) { + const g = this.g_CU(), + a = g.g_alM(); + _.g_Al(), _.g_zl(1, 0, 0, 1); + const t = a.g_jd(), + n = g.g_Ig(), + e = g.g_Ih(); + for (let a = 0, r = t.length; a < r; a += 2) { + const s = (a + 2) % r, + g = t[a] + n, + d = t[a + 1] + e, + i = t[s] + n, + l = t[s + 1] + e; + _.g_zD(g, d, i, l); + } + _.g_yZ(), _.g_zl(1, 1, 1, 1); + } + g_axS() { + return this.g_axJ.g_bd(); + } + g_axT() { + return this.g_b_.g_akN(2); + } + g_axU(g) { + this.g_b_.g_akM(2, g); + } + g_axV() { + return this.g_b_.g_akN(1); + } + g_axW(g) { + this.g_b_.g_akM(1, g); + } + g_axX() { + return this.g_b_.g_akN(4); + } + g_axY(g) { + this.g_b_.g_akM(4, g); + } + g_KZ() { + this.g_axO && this.g_axZ(), 0 <= this.g_axN && this.g_ax_(); + const _ = this.g_axH; + if (!this.g_axT() || 0 === _) return void this.g_adY(); + const g = this.g_Be.g_KW(this.g_b_); + this.g_axJ.g_jB(g); + const a = this.g_axS(), + t = this.g_axE, + n = t.g_aio() / _; + if (!(a < this.g_axK + n)) { + const e = this.g_axC, + r = this.g_axI, + s = e.g_aib(), + g = e.g_Mi(), + d = e.g_ZM(), + i = e.g_aig(); + this.g_axV() ? this.g_axD++ : this.g_axD--, + (this.g_axK += n), + this.g_axD >= s && + (i + ? (this.g_axW(!1), (this.g_axD = s - 2)) + : d + ? (this.g_axD = r) + : (this.g_axL++, this.g_axL >= g ? this.g_ax$(!1) : (this.g_axD = r))), + 0 > this.g_axD && + (i + ? ((this.g_axD = 1), + this.g_axW(!0), + !d && (this.g_axL++, this.g_axL >= g && this.g_ax$(!0))) + : d + ? (this.g_axD = r) + : (this.g_axL++, this.g_axL >= g ? this.g_ax$(!0) : (this.g_axD = r))), + (this.g_axD = g_aO.g_ep(this.g_axD, 0, s - 1)); + const l = e.g_aid(this.g_axD); + a > this.g_axK + l.g_aio() / _ && (this.g_axK = a), this.g_aya(t, l); + } + } + g_ax$(g) { + (this.g_axD = g ? 0 : this.g_axC.g_aib() - 1), + this.g_axU(!1), + (this.g_axM = this.g_axC.g_pY()), + this.g_axY(!0), + this.g_Ku(g_aO.g_HY.g_axy.g_HW.g_ayb), + this.g_Ku(g_aO.g_HY.g_axy.g_HW.g_ayc), + this.g_axY(!1), + (this.g_axL = 0); + } + g_aya(_, a) { + const t = this.g_CU(), + n = _.g_adQ(), + r = a.g_adQ(), + e = n.g_pN(), + s = n.g_pO(), + g = r.g_pN(), + d = r.g_pO(); + e !== g && t.g_Hj(t.g_pN() * (g / e)), + s !== d && t.g_Hk(t.g_pO() * (d / s)), + t.g_alr(a.g_QX()), + t.g_als(a.g_QZ()), + t.g_alJ(a.g_aip()), + t.g_En(), + (this.g_axE = a), + (this.g_axF = r.g_rQ()), + (this.g_axG = r.g_xg()); + const i = this.g_Nj().g_Qc(); + for (let g = 0, e = i.length; g < e; ++g) i[g].g_afA(_, a); + this.g_Ku(g_aO.g_HY.g_axy.g_HW.g_ayd), this.g_Be.g_EV(); + } + g_aye(g) { + this.g_axU(!0), + (this.g_axK = this.g_axS()), + 1 === g && 0 !== this.g_axD && ((this.g_axN = 0), !this.g_axX() && this.g_ax_()), + this.g_ael(); + } + g_ayf(g, _) { + (this.g_axO = g), (this.g_axP = _), this.g_ael(), this.g_axX() || this.g_axZ(); + } + g_ayg() { + return this.g_axO ? this.g_axO : this.g_axC.g_pY(); + } + g_ayh(g) { + isFinite(g) && ((this.g_axN = g), !this.g_axX() && this.g_ax_()); + } + g_ayi() { + return this.g_axD; + } + g_ayj(g) { + (this.g_axH = Math.abs(g)), this.g_axW(0 <= g), 0 < this.g_axH && this.g_ael(); + } + g_ayk() { + return this.g_axV() ? this.g_axH : -this.g_axH; + } + g_ayl(g) { + (g = g_aO.g_ep(Math.floor(g), 0, this.g_axC.g_aib() - 1)), (this.g_axI = g); + } + g_aym() { + return this.g_axI; + } + g_axZ() { + const g = this.g_axE, + _ = this.g_Tq.g_ajP(this.g_axO); + if (((this.g_axO = ''), !!_) && !(_ === this.g_axC && this.g_axT())) { + (this.g_axC = _), + this.g_axW(0 <= _.g_aie()), + (this.g_axH = Math.abs(_.g_aie())), + (this.g_axI = _.g_aif()), + (this.g_axD = g_aO.g_ep(this.g_axD, 0, this.g_axC.g_aib() - 1)), + 1 === this.g_axP && (this.g_axD = 0), + this.g_axU(!0), + (this.g_axK = this.g_axS()); + const e = this.g_axC.g_aid(this.g_axD); + this.g_aya(g, e); + } + } + g_ax_() { + const g = this.g_axE, + _ = this.g_axD; + if ( + ((this.g_axD = g_aO.g_ep(Math.floor(this.g_axN), 0, this.g_axC.g_aib() - 1)), + (this.g_axN = -1), + _ !== this.g_axD) + ) { + const _ = this.g_axC.g_aid(this.g_axD); + this.g_aya(g, _), (this.g_axK = this.g_axS()); + } + } + g_axA() { + const g = this.g_axE.g_adQ(); + (this.g_axF = g.g_rQ()), (this.g_axG = g.g_xg()); + } + g_abs(_) { + const a = this.g_axE, + t = this.g_CU(); + let n = null; + if ('string' == typeof _) n = a.g_aiq(_); + else if ('number' == typeof _) n = a.g_air(_ - 1); + else throw new TypeError('expected string or number'); + return n + ? (g.g_p(n.g_aiv()), + g.offset(-a.g_QX(), -a.g_QZ()), + g.scale(t.g_pN(), t.g_pO()), + g.rotate(t.g_Fj()), + g.offset(t.g_Ig(), t.g_Ih()), + [g.g_hE(), g.g_hG()]) + : [t.g_Ig(), t.g_Ih()]; + } + g_aep() { + const g = g_aO.g_HY.g_axy.g_abH; + return [ + { + title: 'plugins.sprite.debugger.animation-properties.title', + properties: [ + { + name: 'plugins.sprite.debugger.animation-properties.current-animation', + value: this.g_axC.g_pY(), + g_ayn: (_) => this.g_aes(g.g_ayo, _, 0) + }, + { + name: 'plugins.sprite.debugger.animation-properties.current-frame', + value: this.g_axD, + g_ayn: (_) => this.g_aes(g.g_ayp, _) + }, + { + name: 'plugins.sprite.debugger.animation-properties.is-playing', + value: this.g_axT(), + g_ayn: (_) => (_ ? this.g_aes(g.g_ayq, 0) : this.g_aes(g.g_ayr)) + }, + { + name: 'plugins.sprite.debugger.animation-properties.speed', + value: this.g_axH, + g_ayn: (_) => this.g_aes(g.g_ays, _) + }, + { + name: 'plugins.sprite.debugger.animation-properties.repeats', + value: this.g_axL, + g_ayn: (g) => (this.g_axL = g) + } + ] + } + ]; + } + g_GH() { + const g = { a: this.g_axC.g_EN() }; + 0 !== this.g_axK && (g.fs = this.g_axK); + const _ = this.g_axS(); + 0 !== _ && (g.at = _), + 0 !== this.g_axD && (g.f = this.g_axD), + 0 !== this.g_axH && (g.cas = this.g_axH), + 1 !== this.g_axL && (g.ar = this.g_axL), + 0 !== this.g_axI && (g.rt = this.g_axI), + this.g_axT() || (g.ap = this.g_axT()), + this.g_axV() || (g.af = this.g_axV()); + const e = this.g_CU(); + return e.g_alx() && (g.ce = e.g_alx()), g; + } + g_GJ(_) { + const a = this.g_EA().g_ajQ(_.a); + a && (this.g_axC = a), + (this.g_axK = _.hasOwnProperty('fs') ? _.fs : 0), + this.g_axJ.Set(_.hasOwnProperty('at') ? _.at : 0); + const t = _.hasOwnProperty('f') ? _.f : 0; + (this.g_axD = g_aO.g_ep(t, 0, this.g_axC.g_aib() - 1)), + (this.g_axH = _.hasOwnProperty('cas') ? _.cas : 0), + (this.g_axL = _.hasOwnProperty('ar') ? _.ar : 1); + const n = _.hasOwnProperty('rt') ? _.rt : 0; + (this.g_axI = g_aO.g_ep(n, 0, this.g_axC.g_aib() - 1)), + this.g_axU(!_.hasOwnProperty('ap') || !!_.ap), + this.g_axW(!_.hasOwnProperty('af') || !!_.af); + const i = this.g_axC.g_aid(this.g_axD), + e = i.g_adQ(); + (this.g_axE = i), (this.g_axF = e.g_rQ()), (this.g_axG = e.g_xg()); + const r = this.g_CU(); + r.g_alr(i.g_QX()), r.g_als(i.g_QZ()), r.g_alJ(i.g_aip()), r.g_aly(!!_.ce); + } + g_QF(g) { + const _ = this.g_CU(); + return 3 === g ? _.g_alx() : void 0; + } + g_QM(g, _) { + const e = this.g_CU(); + 3 === g ? e.g_aly(!!_) : void 0; + } + g_adS() { + return g_ayt; + } + }; + const t = new WeakMap(), + n = new Map([ + ['current-frame', 0], + ['beginning', 1] + ]); + self.g_ayt = class extends g_agP { + constructor() { + super(), t.set(this, g_agH.g_agN().g_Qd()); + } + g_ayu(g) { + if ('string' != typeof g && 'number' != typeof g) + throw new TypeError('expected string or number'); + return t.get(this).g_abs(g)[0]; + } + g_ayv(g) { + if ('string' != typeof g && 'number' != typeof g) + throw new TypeError('expected string or number'); + return t.get(this).g_abs(g)[1]; + } + g_ayw() { + t.get(this).g_axU(!1); + } + g_ayx(g = 'current-frame') { + const _ = n.get(g); + if ('undefined' == typeof _) throw new Error('invalid mode'); + t.get(this).g_aye(_); + } + g_ayy(g, _ = 'beginning') { + const a = n.get(_); + if ('undefined' == typeof a) throw new Error('invalid mode'); + t.get(this).g_ayf(g, a); + } + get animationName() { + return t.get(this).g_ayg(); + } + set g_ayz(g) { + t.get(this).g_ayh(g); + } + get g_ayz() { + return t.get(this).g_ayi(); + } + set g_ayA(g) { + t.get(this).g_ayj(g); + } + get g_ayA() { + return t.get(this).g_ayk(); + } + set g_ayB(g) { + t.get(this).g_ayl(g); + } + get g_ayB() { + return t.get(this).g_aym(); + } + get g_ayC() { + return t.get(this).g_Gg().g_pN(); + } + get g_ayD() { + return t.get(this).g_Gg().g_pO(); + } + }; +} +{ + function _(g, _, t, a) { + const n = _.g_Ei(), + e = t.g_Ei(); + n < e ? g.Set(_, t, a) : g.Set(t, _, a); + } + function a(g, _, t) { + const a = _.g_Ei(), + n = t.g_Ei(); + a < n ? g.g_jt(_, t) : g.g_jt(t, _); + } + function t(g, _) { + g.g_ju(_); + } + function u(g, _, t) { + const a = _.g_Ei(), + n = t.g_Ei(); + return a < n ? g.g_bd(_, t) : g.g_bd(t, _); + } + function n(_, a, l, c) { + if (!a) return !1; + const d = _.g_Nj(), + e = 0 !== l || 0 !== c, + f = d.g_CU(), + h = d.g_BI(), + m = h.g_ahf(), + n = h.g_VH(), + o = n.g_Xv().g_TS(), + p = n.g_EA(), + b = n.g_aaB(), + r = a.g_Tu(), + B = p !== a; + (y = a), (i = B && !b); + let t = 0, + C = 0, + T = !1, + H; + r.g_TF() + ? (E.g_p(f.g_Gi()), E.offset(l, c), m.g_amE(f.g_Em(), a, E, g), (H = g)) + : o + ? h.g_arX() && !r.g_TO().length && r.g_TN().length + ? (H = r.g_TN()) + : (H = r.g_TO()) + : (H = r.g_TN()), + e && ((t = f.g_Ig()), (C = f.g_Ih()), f.g_abt(l, c), f.g_En()); + for (const g of H) + if (m.g_ahe(d, g)) { + if (((T = !0), b)) break; + B && s.add(g); + } + return e && (f.g_abq(t, C), f.g_En()), g_aO.g_fz(g), T; + } + function e(g) { + const _ = g.g_BI().g_TT().g_TS(), + t = y.g_Tu(), + n = t.g_TN(), + i = t.g_TO(); + if (t.g_TF()) { + if ((t.g_TM(!1), g_aO.g_fD(n, [...s]), _)) { + g_aO.g_fz(i); + for (const g of y.g_H$()) s.has(g) || t.g_TL(g); + } + } else if (_) for (const g of s) n.push(g), g_aO.g_fF(i, g); + else g_aO.g_fD(n, [...s]); + y.g_aaH(); + } + const E = g_aO.g_ej(g_aO.Rect), + d = [], + g = []; + let i = !1, + y = null; + const s = new Set(); + (g_aO.g_HY.g_axy.g_axB = function (g, _) { + i && (_ && e(g), s.clear(), (y = null), (i = !1)); + }), + (g_aO.g_HY.g_axy.g_HW = { + g_ayE(E) { + if (this.g_Be.g_asw()) return g_aO.g_HY.g_axy.g_HW.g_ayF.call(this, E); + if (!E) return !1; + const e = this.g_Be, + b = e.g_ahf(), + g = e.g_ED(), + i = g.g_TB(), + h = g.g_VH(), + y = h.g_EA(), + l = h.g_aaF(), + c = h.g_aaG(), + n = i.g_TU(), + o = e.g_MB(), + p = n.g_TT(), + m = i.g_TZ(p); + let r = l.get('collmemory'); + r || ((r = g_aO.g_ej(g_aO.g_jq)), l.set('collmemory', r)), + c.get('spriteCreatedDestroyCallback') || + (c.set('spriteCreatedDestroyCallback', !0), + e.g_lh().addEventListener('instancedestroy', (g) => t(r, g.g_Ke))); + const f = y.g_Tu(), + B = E.g_Tu(), + C = f.g_H$(); + let v = null; + for (let e = 0; e < C.length; ++e) { + const t = C[e]; + B.g_TF() + ? (b.g_amE(t.g_CU().g_Em(), E, t.g_CU().g_Gi(), d), (v = d), b.g_amu(t, E, v)) + : (v = B.g_H$()); + for (let e = 0; e < v.length; ++e) { + const i = v[e]; + if (b.g_ahe(t, i) || b.g_amv(t, i)) { + const e = u(r, t, i); + let a = !1, + s = -2; + 'number' == typeof e && ((a = !0), (s = e)); + const d = !a || s < o - 1; + if ((_(r, t, i, o), d)) { + const _ = p.g_UD(); + g.g_WL(_); + const e = y.g_Tu(), + r = E.g_Tu(); + if ((e.g_TM(!1), r.g_TM(!1), y === E)) { + const g = e.g_TN(); + g_aO.g_fz(g), g.push(t), g.push(i), y.g_aaH(); + } else { + const g = e.g_TN(), + _ = r.g_TN(); + g_aO.g_fz(g), g_aO.g_fz(_), g.push(t), _.push(i), y.g_aaH(), E.g_aaH(); + } + p.g__b(n, m), g.g_WM(_); + } + } else a(r, t, i); + } + g_aO.g_fz(d); + } + return i.g_Ty(), !1; + }, + *g_ayF(E) { + if (!E) return !1; + const e = this.g_Be, + b = e.g_ahf(), + g = e.g_ED(), + i = g.g_TB(), + y = i.g_TU(), + B = e.g_MB(), + l = y.g_TT(), + m = i.g_TZ(l), + n = g.g_VH(), + o = n.g_EA(), + p = n.g_aaF(), + h = n.g_aaG(); + let r = p.get('collmemory'); + r || ((r = g_aO.g_ej(g_aO.g_jq)), p.set('collmemory', r)), + h.get('spriteCreatedDestroyCallback') || + (h.set('spriteCreatedDestroyCallback', !0), + e.g_lh().addEventListener('instancedestroy', (g) => t(r, g.g_Ke))); + const c = o.g_Tu(), + C = E.g_Tu(), + T = c.g_H$(); + let v = null; + for (let e = 0; e < T.length; ++e) { + const t = T[e]; + C.g_TF() + ? (b.g_amE(t.g_CU().g_Em(), E, t.g_CU().g_Gi(), d), (v = d), b.g_amu(t, E, v)) + : (v = C.g_H$()); + for (let e = 0; e < v.length; ++e) { + const n = v[e]; + if (b.g_ahe(t, n) || b.g_amv(t, n)) { + const e = u(r, t, n); + let a = !1, + i = -2; + 'number' == typeof e && ((a = !0), (i = e)); + const s = !a || i < B - 1; + if ((_(r, t, n, B), s)) { + const _ = l.g_UD(); + g.g_WL(_); + const e = o.g_Tu(), + i = E.g_Tu(); + if ((e.g_TM(!1), i.g_TM(!1), o === E)) { + const g = e.g_TN(); + g_aO.g_fz(g), g.push(t), g.push(n), o.g_aaH(); + } else { + const g = e.g_TN(), + _ = i.g_TN(); + g_aO.g_fz(g), g_aO.g_fz(_), g.push(t), _.push(n), o.g_aaH(), E.g_aaH(); + } + yield* l.g__c(y, m), g.g_WM(_); + } + } else a(r, t, n); + } + g_aO.g_fz(d); + } + return i.g_Ty(), !1; + }, + g_ayG(g) { + return n(this, g, 0, 0); + }, + g_ayH(g, _, e) { + return n(this, g, _, e); + }, + g_ayI(g) { + return g_aO.g_dB(this.g_ayg(), g); + }, + g_ayJ(g, _) { + return g_aO.compare(this.g_axD, g, _); + }, + g_ayK(g, _) { + return g_aO.compare(this.g_ayk(), g, _); + }, + g_ayc(g) { + return g_aO.g_dB(this.g_axM, g); + }, + g_ayb() { + return !0; + }, + g_ayd() { + return !0; + }, + g_ayL() { + return 0 > this.g_CU().g_pN(); + }, + g_ayM() { + return 0 > this.g_CU().g_pO(); + }, + g_ayN() { + return !0; + }, + g_ayO() { + return !0; + }, + g_alx() { + return this.g_CU().g_alx(); + } + }); +} +'use strict', + (g_aO.g_HY.g_axy.g_abH = { + g_ayP(_, a, t) { + if (!_ || !a) return; + const [n, r] = this.g_abs(t), + e = this.g_Be.g_agB(_, a, n, r); + if (!e) return; + if (_.g_Ir().g_adC()) { + const g = e.g_CU(); + g.g_Fi(this.g_CU().g_Fj()), g.g_En(); + } + const s = this.g_Be.g_ED(); + if ((s.g_EH(!0), e.g_EI(), e.g_EJ())) for (const g of e.siblings()) g.g_EI(); + s.g_EH(!1); + const g = this.g_Be.g_VJ(), + d = g.g_aaF(); + let i = !1; + if ( + ((!d.has('Spawn_LastExec') || d.get('Spawn_LastExec') < this.g_Be.g_asV()) && + ((i = !0), d.set('Spawn_LastExec', this.g_Be.g_asV())), + _ !== this.g_EA()) + ) { + const g = _.g_Tu(); + g.g_TM(!1); + const a = g.g_TN(); + if ((i ? (g_aO.g_fz(a), a.push(e)) : a.push(e), e.g_EJ())) + for (const g of e.siblings()) { + const _ = g.g_EA().g_Tu(); + i ? _.g_TP(g) : (_.g_TM(!1), _.g_TK(g)); + } + } + }, + g_ayr() { + this.g_axU(!1); + }, + g_ayq(g) { + this.g_aye(g); + }, + g_ayo(g, _) { + this.g_ayf(g, _); + }, + g_ayp(g) { + this.g_ayh(g); + }, + g_ays(g) { + this.g_ayj(g); + }, + g_ayQ(g) { + this.g_ayl(g); + }, + g_ayR(g) { + const _ = this.g_CU(), + e = _.g_pN(), + a = Math.abs(e) * (0 === g ? -1 : 1); + e === a || (_.g_Hj(a), _.g_En()); + }, + g_ayS(g) { + const _ = this.g_CU(), + e = _.g_pO(), + a = Math.abs(e) * (0 === g ? -1 : 1); + e === a || (_.g_Hk(a), _.g_En()); + }, + g_Hi(_) { + const a = this.g_axE, + t = a.g_adQ(), + n = this.g_CU(), + i = 0 > n.g_pN() ? -1 : 1, + e = 0 > n.g_pO() ? -1 : 1, + r = t.g_pN() * _ * i, + g = t.g_pO() * _ * e; + (n.g_pN() !== r || n.g_pO() !== g) && (n.g_wQ(r, g), n.g_En()); + }, + async g_ayT(_, a) { + const t = this.g_axE, + n = t.g_adQ(), + i = this.g_CU(), + e = this.g_Be; + if (n.g_Cc() === _) + return ( + 0 === a && (i.g_wQ(n.g_pN(), n.g_pO()), i.g_En()), + void this.g_Ku(g_aO.g_HY.g_axy.g_HW.g_ayN) + ); + const r = g_aO.g_ej(g_aO.g_ahD); + return ( + await r.g_ahL(e, _), + r.g_CK() + ? void (await r.g_CR(e.g_rP(), { g_qO: this.g_Be.g_FR() }), + n.g_ahN(r), + this.g_adU.g_axz(), + !this.g_el() && 0 === a && (i.g_wQ(n.g_pN(), n.g_pO()), i.g_En()), + e.g_EV(), + !this.g_el() && (await this.g_HU(g_aO.g_HY.g_axy.g_HW.g_ayN))) + : void this.g_Ku(g_aO.g_HY.g_axy.g_HW.g_ayO) + ); + }, + g_ayU(g) { + this.g_CU().g_aly(g); + }, + g_alA(g, _) { + this.g_CU().g_alA(0 === g, _); + }, + g_ayV(g) { + this.g_CU().g_Ex(g), this.g_Be.g_EV(); + } + }), + 'use strict', + (g_aO.g_HY.g_axy.g__$ = { + g_ayW() { + return this.g_axD; + }, + g_ayX() { + return this.g_axC.g_aib(); + }, + g_ayY() { + return this.g_axC.g_pY(); + }, + g_ayZ() { + return this.g_ayk(); + }, + g_ay_() { + return this.g_axC.g_aie(); + }, + g_ay$(g) { + return this.g_abs(g)[0]; + }, + g_aza(g) { + return this.g_abs(g)[1]; + }, + g_azb() { + return this.g_axE.g_ais(); + }, + g_azc() { + return this.g_Gg().g_pN(); + }, + g_azd() { + return this.g_Gg().g_pO(); + } + }), + 'use strict', + (g_aO.g_HY.Keyboard = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict'; +{ + function g() { + return _.g_$i().g_Qd(); + } + g_aO.g_HY.Keyboard.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + g_adS() { + return g_aze; + } + }; + let _ = null; + self.g_aze = class extends g_agr { + constructor(g) { + super(g), (_ = g), (g.g_BI().g_afW().keyboard = this); + } + g_azf(_) { + const e = g(); + if ('string' == typeof _) return e.g_azg(_); + if ('number' == typeof _) return e.g_azh(_); + throw new TypeError('expected string or number'); + } + }; +} +'use strict', + (g_aO.g_HY.Keyboard.Instance = class extends g_aO.g_adT { + constructor(g) { + super(g), + (this.g_azi = new Set()), + (this.g_azj = new Set()), + (this.g_azk = 0), + (this.g_azl = ''), + (this.g_azm = ''); + const _ = this.g_BI().g_lh(); + this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(_, 'keydown', (g) => this.g_azn(g.data)), + g_aO.g_lE.g_lJ(_, 'keyup', (g) => this.g_azo(g.data)), + g_aO.g_lE.g_lJ(_, 'window-blur', () => this.g_arq()) + ); + } + g_ek() { + super.g_ek(); + } + g_azn(g) { + const _ = g.which, + e = g.code || _.toString(), + a = g.key; + this.g_azi.has(e) || + (this.g_azi.add(e), + this.g_azj.add(_), + (this.g_azl = e), + (this.g_azk = _), + (this.g_azm = a), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azp), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azq), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azr), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azs)); + } + g_azo(g) { + const _ = g.which, + e = g.code || _.toString(), + a = g.key; + this.g_azi.delete(e), + this.g_azj.delete(_), + (this.g_azl = e), + (this.g_azk = _), + (this.g_azm = a), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azt), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azu), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azv), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azw); + } + g_arq() { + for (const g of this.g_azj) + this.g_azj.delete(g), + (this.g_azk = g), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azt), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azu), + this.g_Ku(g_aO.g_HY.Keyboard.g_HW.g_azw); + this.g_azi.clear(); + } + g_azg(g) { + return this.g_azi.has(g); + } + g_azh(g) { + return this.g_azj.has(g); + } + g_GH() { + return { tk: this.g_azk, tkk: this.g_azm }; + } + g_GJ(g) { + (this.g_azk = g.tk), g.hasOwnProperty('tkk') && (this.g_azm = g.tkk); + } + g_aep() { + return [ + { + title: 'plugins.keyboard.name', + properties: [ + { name: 'plugins.keyboard.debugger.last-key-code', value: this.g_azk }, + { + name: 'plugins.keyboard.debugger.last-key-string', + value: g_aO.g_HY.Keyboard.g__$.g_azx(this.g_azk) + }, + { name: 'plugins.keyboard.debugger.last-typed-key', value: this.g_azm } + ] + } + ]; + } + }), + 'use strict'; +{ + const g = [ + 'ShiftLeft', + 'ShiftRight', + 'ControlLeft', + 'ControlRight', + 'AltLeft', + 'AltRight', + 'MetaLeft', + 'MetaRight' + ]; + g_aO.g_HY.Keyboard.g_HW = { + g_azg(g) { + return this.g_azj.has(g); + }, + g_azq(g) { + return this.g_azk === g; + }, + g_azp() { + return !0; + }, + g_azt() { + return !0; + }, + g_azu(g) { + return this.g_azk === g; + }, + g_azh(g) { + return (g = Math.floor(g)), this.g_azj.has(g); + }, + g_azs(g) { + return this.g_azk === g; + }, + g_azw(g) { + return this.g_azk === g; + }, + g_azr(_) { + const e = g[_]; + return this.g_azl === e; + }, + g_azv(_) { + const e = g[_]; + return this.g_azl === e; + }, + g_azy(_) { + const e = g[_]; + return this.g_azi.has(e); + } + }; +} +'use strict', (g_aO.g_HY.Keyboard.g_abH = {}), 'use strict'; +{ + function g(g) { + return ( + (g = Math.floor(g)), + 8 === g + ? 'backspace' + : 9 === g + ? 'tab' + : 13 === g + ? 'enter' + : 16 === g + ? 'shift' + : 17 === g + ? 'control' + : 18 === g + ? 'alt' + : 19 === g + ? 'pause' + : 20 === g + ? 'capslock' + : 27 === g + ? 'esc' + : 33 === g + ? 'pageup' + : 34 === g + ? 'pagedown' + : 35 === g + ? 'end' + : 36 === g + ? 'home' + : 37 === g + ? '\u2190' + : 38 === g + ? '\u2191' + : 39 === g + ? '\u2192' + : 40 === g + ? '\u2193' + : 45 === g + ? 'insert' + : 46 === g + ? 'del' + : 91 === g + ? 'left window key' + : 92 === g + ? 'right window key' + : 93 === g + ? 'select' + : 96 === g + ? 'numpad 0' + : 97 === g + ? 'numpad 1' + : 98 === g + ? 'numpad 2' + : 99 === g + ? 'numpad 3' + : 100 === g + ? 'numpad 4' + : 101 === g + ? 'numpad 5' + : 102 === g + ? 'numpad 6' + : 103 === g + ? 'numpad 7' + : 104 === g + ? 'numpad 8' + : 105 === g + ? 'numpad 9' + : 106 === g + ? 'numpad *' + : 107 === g + ? 'numpad +' + : 109 === g + ? 'numpad -' + : 110 === g + ? 'numpad .' + : 111 === g + ? 'numpad /' + : 112 === g + ? 'F1' + : 113 === g + ? 'F2' + : 114 === g + ? 'F3' + : 115 === g + ? 'F4' + : 116 === g + ? 'F5' + : 117 === g + ? 'F6' + : 118 === g + ? 'F7' + : 119 === g + ? 'F8' + : 120 === g + ? 'F9' + : 121 === g + ? 'F10' + : 122 === g + ? 'F11' + : 123 === g + ? 'F12' + : 144 === g + ? 'numlock' + : 145 === g + ? 'scroll lock' + : 186 === g + ? ';' + : 187 === g + ? '=' + : 188 === g + ? ',' + : 189 === g + ? '-' + : 190 === g + ? '.' + : 191 === g + ? '/' + : 192 === g + ? "'" + : 219 === g + ? '[' + : 220 === g + ? '\\' + : 221 === g + ? ']' + : 222 === g + ? '#' + : 223 === g + ? '`' + : String.fromCharCode(g) + ); + } + g_aO.g_HY.Keyboard.g__$ = { + g_azz() { + return this.g_azk; + }, + g_azx(_) { + return g(_); + }, + g_azA() { + return this.g_azm; + } + }; +} +'use strict', + (g_aO.g_HY.Audio = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict'; +{ + function g() { + if (self.C3Audio_DOMInterface) return self.C3Audio_DOMInterface; + throw new Error( + 'audio scripting API cannot be used here - make sure the project is using DOM mode, not worker mode' + ); + } + (g_aO.g_HY.Audio.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + g_adS() { + return g_azB; + } + }), + (self.g_azB = class extends g_agr { + constructor(g) { + super(g); + } + get g_azC() { + return g().g_azD(); + } + get g_azE() { + return g().g_azF(); + } + }); +} +{ + const g = ['interactive', 'balanced', 'playback']; + g_aO.g_HY.Audio.Instance = class extends g_aO.g_adT { + constructor(_, a) { + super(_, 'audio'), + (this.g_azG = 0), + (this.g_azH = ''), + (this.g_azI = 0), + (this.g_azJ = 0), + (this.g_azK = !1), + (this.g_azL = 1), + (this.g_azM = 1), + (this.g_azN = this.g_Be.g_Gt() / 2), + (this.g_azO = this.g_Be.g_Gu() / 2), + (this.g_azP = -600), + (this.g_azQ = 600), + (this.g_azR = 1e4), + (this.g_azS = 1), + (this.g_azT = null), + (this.g_azU = -1), + (this.g_azV = 1), + (this.g_azW = !1), + (this.g_azX = 0), + (this.g_azY = new Map()), + (this.g_azZ = 0), + (this.g_az_ = 0); + let t = 'interactive'; + a && + ((this.g_azI = a[0]), + (this.g_azJ = a[1]), + (this.g_azK = a[2]), + (t = g[a[3]]), + (this.g_azL = a[4]), + (this.g_azM = a[5]), + (this.g_azP = -a[6]), + (this.g_azQ = a[7]), + (this.g_azR = a[8]), + (this.g_azS = a[9])), + (this.g_az$ = []), + (this.g_aAa = []), + (this.g_aAb = []), + this.g_aef([ + ['state', (g) => this.g_aAc(g)], + ['fxstate', (g) => this.g_aAd(g)], + ['trigger', (g) => this.g_aAe(g)] + ]); + const n = this.g_BI().g_lh(); + (this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(n, 'instancedestroy', (g) => this.g_aAf(g.g_Ke)), + g_aO.g_lE.g_lJ(n, 'afterload', () => this.g_aAg()), + g_aO.g_lE.g_lJ(n, 'suspend', () => this.g_aAh()), + g_aO.g_lE.g_lJ(n, 'resume', () => this.g_aAi()) + )), + this.g_Be.g_arL( + this.g_aei('create-audio-context', { + preloadList: this.g_Be + .g_afD() + .g_Cw() + .map((g) => ({ + originalUrl: g.g_Cx, + url: g.url, + type: g.type, + fileSize: g.fileSize + })), + isiOSCordova: this.g_Be.g_arM(), + timeScaleMode: this.g_azI, + latencyHint: t, + panningModel: this.g_azL, + distanceModel: this.g_azM, + refDistance: this.g_azQ, + maxDistance: this.g_azR, + rolloffFactor: this.g_azS, + listenerPos: [this.g_azN, this.g_azO, this.g_azP] + }).then((g) => { + this.g_azX = g.sampleRate; + }) + ), + this.g_ael(); + } + g_ek() { + (this.g_azT = null), super.g_ek(); + } + g_aAf(g) { + this.g_azT === g && (this.g_azT = null); + } + g_aAj(g) { + return Math.pow(10, g / 20); + } + g_aAk(g) { + const _ = this.g_aAj(g); + return isFinite(_) ? Math.max(Math.min(_, 1), 0) : 0; + } + g_aAl(g) { + return 20 * (Math.log(g) / 2.302585092994046); + } + g_aAm(g) { + return this.g_aAl(Math.max(Math.min(g, 1), 0)); + } + g_aAh() { + this.g_azK || this.g_aeg('set-suspended', { isSuspended: !0 }); + } + g_aAi() { + this.g_azK || this.g_aeg('set-suspended', { isSuspended: !1 }); + } + g_aAc(g) { + const _ = g.tickCount, + e = this.g_az$.filter( + (g) => g.hasOwnProperty('placeholder') && (g.placeholder > _ || -1 === g.placeholder) + ); + (this.g_az$ = g.audioInstances), + (this.g_aAb = g.analysers), + 0 < e.length && g_aO.g_ee(this.g_az$, e); + } + g_aAd(g) { + this.g_aAa = g.fxstate; + } + g_aAn(g) { + for (const _ of this.g_az$) if (g_aO.g_dB(_.tag, g)) return _; + return null; + } + g_aAo(g) { + return this.g_az$.some((_) => g_aO.g_dB(g, _.tag) && _.isPlaying); + } + g_aAp(g, _, a, t) { + if (this.g_aAo(g)) return null; + const n = { + tag: g, + duration: 0, + volume: t, + isPlaying: !0, + playbackTime: 0, + playbackRate: 1, + uid: -1, + bufferOriginalUrl: '', + bufferUrl: '', + bufferType: '', + isMusic: _, + isLooping: a, + isMuted: !1, + resumePosition: 0, + pan: null, + placeholder: -1 + }; + return this.g_az$.push(n), n; + } + async g_aAe(g) { + const _ = g.type; + this.g_azH = g.tag; + const e = g.aiid; + if ('ended' === _) { + for (const g of this.g_az$) + if (g.aiid === e) { + g.isPlaying = !1; + break; + } + await this.g_HU(g_aO.g_HY.Audio.g_HW.g_aAq); + } else 'fade-ended' === _ && (await this.g_HU(g_aO.g_HY.Audio.g_HW.g_aAr)); + } + g_KZ() { + const g = { + timeScale: this.g_Be.g_KX(), + gameTime: this.g_Be.g_Gk(), + instPans: this.g_aAs(), + tickCount: this.g_Be.g_asU() + }; + if (this.g_azT) { + const _ = this.g_azT.g_CU(); + (this.g_azN = _.g_Ig()), + (this.g_azO = _.g_Ih()), + (g.listenerPos = [this.g_azN, this.g_azO, this.g_azP]); + } + this.g_aeg('tick', g); + } + g_aAt(_, t, n, r, a) { + if (0 === n) return [_, t]; + const e = Math.sin(n), + s = Math.cos(n); + (_ -= r), (t -= a); + const g = _ * e, + d = t * e, + i = _ * s, + l = t * s; + return (_ = i - d), (t = l + g), (_ += r), (t += a), [_, t]; + } + g_aAs() { + return this.g_az$ + .filter((g) => -1 !== g.uid) + .map((g) => this.g_Be.g_NN(g.uid)) + .filter((g) => g) + .map((g) => { + const _ = g.g_CU(), + a = _.g_Em().g_Fj(), + [t, n] = this.g_aAt(_.g_Ig(), _.g_Ih(), -a, this.g_azN, this.g_azO); + return { uid: g.g_Ei(), x: t, y: n, angle: _.g_Fj() - a }; + }); + } + g_aAu(g, _) { + for (const e of this.g_aAb) if (e.index === _ && g_aO.g_dB(e.tag, g)) return e; + return null; + } + g_aAv(g) { + this.g_azY.set(g, (this.g_azY.get(g) || 0) + 1); + } + g_aAw(g) { + return ( + !g.hasOwnProperty('placeholder') && + 3 !== this.g_azJ && + !(g.isMusic && 1 === this.g_azJ) && + !!(g.isMusic || 2 !== this.g_azJ) + ); + } + g_GH() { + return { + isSilent: this.g_azW, + masterVolume: this.g_azV, + listenerZ: this.g_azP, + listenerUid: this.g_azT ? this.g_azT.g_Ei() : -1, + playing: this.g_az$.filter((g) => this.g_aAw(g)), + effects: this.g_aAa, + analysers: this.g_aAb + }; + } + g_GJ(g) { + (this.g_azW = g.isSilent), + (this.g_azV = g.masterVolume), + (this.g_azP = g.listenerZ), + (this.g_azT = null), + (this.g_azU = g.listenerUid), + (this.g_az$ = g.playing), + (this.g_aAa = g.effects), + (this.g_aAb = g.analysers); + } + g_aAg() { + if ( + -1 !== this.g_azU && + ((this.g_azT = this.g_Be.g_NN(this.g_azU)), (this.g_azU = -1), this.g_azT) + ) { + const g = this.g_azT.g_CU(); + (this.g_azN = g.g_Ig()), (this.g_azO = g.g_Ih()); + } + for (const g of this.g_az$) { + const _ = this.g_Be.g_afD().g_Cv(g.bufferOriginalUrl); + _ ? ((g.bufferUrl = _.url), (g.bufferType = _.type)) : (g.bufferUrl = null); + } + for (const g of Object.values(this.g_aAa)) + for (const _ of g) + if (_.hasOwnProperty('bufferOriginalUrl')) { + const g = this.g_Be.g_afD().g_Cv(_.bufferOriginalUrl); + g && ((_.bufferUrl = g.url), (_.bufferType = g.type)); + } + this.g_aeg('load-state', { + saveLoadMode: this.g_azJ, + timeScale: this.g_Be.g_KX(), + gameTime: this.g_Be.g_Gk(), + listenerPos: [this.g_azN, this.g_azO, this.g_azP], + isSilent: this.g_azW, + masterVolume: this.g_azV, + playing: this.g_az$.filter((g) => null !== g.bufferUrl), + effects: this.g_aAa + }); + } + g_aep() { + var g = Math.round; + const _ = []; + for (const [g, e] of Object.entries(this.g_aAa)) + _.push({ name: '$' + g, value: e.map((g) => g.type).join(', ') }); + return [ + { title: 'plugins.audio.debugger.tag-effects', properties: _ }, + { + title: 'plugins.audio.debugger.currently-playing', + properties: [ + { name: 'plugins.audio.debugger.currently-playing-count', value: this.g_az$.length }, + ...this.g_az$.map((_, e) => ({ + name: '$#' + e, + value: `${_.bufferOriginalUrl} ("${_.tag}") ${g(10 * _.playbackTime) / 10} / ${ + g(10 * _.duration) / 10 + }` + })) + ] + } + ]; + } + }; +} +'use strict', + (g_aO.g_HY.Audio.g_HW = { + g_aAq(g) { + return g_aO.g_dB(this.g_azH, g); + }, + g_aAr(g) { + return g_aO.g_dB(this.g_azH, g); + }, + g_aAx() { + return this.g_az_ === this.g_azZ; + }, + g_aAy() { + return !0; + }, + g_aAz() { + return this.g_azW; + }, + g_aAA() { + for (const g of this.g_az$) if (g.isPlaying) return !0; + return !1; + }, + g_aAB(g) { + return this.g_aAo(g); + } + }), + 'use strict'; +{ + const _ = [ + 'lowpass', + 'highpass', + 'bandpass', + 'lowshelf', + 'highshelf', + 'peaking', + 'notch', + 'allpass' + ]; + g_aO.g_HY.Audio.g_abH = { + async g_MW(_, a, t, n) { + if (!this.g_azW) { + const i = _[1], + e = this.g_Be.g_afD().g_Cv(_[0]); + if (e) { + const r = this.g_azG; + this.g_azG = 0; + const g = this.g_aAp(n.toLowerCase(), i, 0 !== a, this.g_aAk(t)); + try { + await this.g_aei('play', { + originalUrl: _[0], + url: e.url, + type: e.type, + isMusic: i, + tag: n.toLowerCase(), + isLooping: 0 !== a, + vol: this.g_aAk(t), + pos: 0, + off: r, + trueClock: !!self.C3_GetAudioContextCurrentTime + }); + } finally { + g && (g.placeholder = this.g_Be.g_asU()); + } + } + } + }, + async g_aAC(_, a, t, n, r, e, s, g, d, i) { + if (!this.g_azW) { + const o = _[1], + u = this.g_Be.g_afD().g_Cv(_[0]); + if (u) { + const l = this.g_azG; + this.g_azG = 0; + const p = this.g_aAp(i.toLowerCase(), o, 0 !== a, this.g_aAk(t)); + try { + await this.g_aei('play', { + originalUrl: _[0], + url: u.url, + type: u.type, + isMusic: o, + tag: i.toLowerCase(), + isLooping: 0 !== a, + vol: this.g_aAk(t), + pos: 0, + off: l, + trueClock: !!self.C3_GetAudioContextCurrentTime, + panning: { + x: n, + y: r, + angle: g_aO.g_er(e), + innerAngle: g_aO.g_er(s), + outerAngle: g_aO.g_er(g), + outerGain: this.g_aAk(d) + } + }); + } finally { + p && (p.placeholder = this.g_Be.g_asU()); + } + } + } + }, + async g_aAD(_, a, t, n, r, e, s, g) { + if (!this.g_azW && n) { + const u = n.g_abA(); + if (u && u.g_CU()) { + const i = u.g_CU(), + d = i.g_Em().g_Fj(), + [p, h] = this.g_aAt(i.g_Ig(), i.g_Ih(), -d, this.g_azN, this.g_azO), + l = _[1], + c = this.g_Be.g_afD().g_Cv(_[0]); + if (c) { + const n = this.g_azG; + this.g_azG = 0; + const o = this.g_aAp(g.toLowerCase(), l, 0 !== a, this.g_aAk(t)); + try { + await this.g_aei('play', { + originalUrl: _[0], + url: c.url, + type: c.type, + isMusic: l, + tag: g.toLowerCase(), + isLooping: 0 !== a, + vol: this.g_aAk(t), + pos: 0, + off: n, + trueClock: !!self.C3_GetAudioContextCurrentTime, + panning: { + x: p, + y: h, + angle: i.g_Fj() - d, + innerAngle: g_aO.g_er(r), + outerAngle: g_aO.g_er(e), + outerGain: this.g_aAk(s), + uid: u.g_Ei() + } + }); + } finally { + o && (o.placeholder = this.g_Be.g_asU()); + } + } + } + } + }, + async g_aAE(_, t, n, i, r) { + if (!this.g_azW) { + const e = 1 === _, + s = this.g_Be.g_afD().g_Cv(t); + if (s) { + const g = this.g_azG; + this.g_azG = 0; + const _ = this.g_aAp(r.toLowerCase(), e, 0 !== n, this.g_aAk(i)); + try { + await this.g_aei('play', { + originalUrl: t, + url: s.url, + type: s.type, + isMusic: e, + tag: r.toLowerCase(), + isLooping: 0 !== n, + vol: this.g_aAk(i), + pos: 0, + off: g, + trueClock: !!self.C3_GetAudioContextCurrentTime + }); + } finally { + _ && (_.placeholder = this.g_Be.g_asU()); + } + } + } + }, + async g_aAF(_, t, r, s, n, e, d, g, o, i, u) { + if (!this.g_azW) { + const p = 1 === _, + l = this.g_Be.g_afD().g_Cv(t); + if (l) { + const _ = this.g_azG; + this.g_azG = 0; + const a = this.g_aAp(u.toLowerCase(), p, 0 !== r, this.g_aAk(s)); + try { + await this.g_aei('play', { + originalUrl: t, + url: l.url, + type: l.type, + isMusic: p, + tag: u.toLowerCase(), + isLooping: 0 !== r, + vol: this.g_aAk(s), + pos: 0, + off: _, + trueClock: !!self.C3_GetAudioContextCurrentTime, + panning: { + x: n, + y: e, + angle: g_aO.g_er(d), + innerAngle: g_aO.g_er(g), + outerAngle: g_aO.g_er(o), + outerGain: this.g_aAk(i) + } + }); + } finally { + a && (a.placeholder = this.g_Be.g_asU()); + } + } + } + }, + async g_aAG(_, t, r, s, a, d, u, g, h) { + if (!this.g_azW && !this.g_azW && a) { + const i = a.g_abA(); + if (i && i.g_CU()) { + const p = i.g_CU(), + e = p.g_Em().g_Fj(), + [c, l] = this.g_aAt(p.g_Ig(), p.g_Ih(), -e, this.g_azN, this.g_azO), + f = 1 === _, + n = this.g_Be.g_afD().g_Cv(t); + if (n) { + const _ = this.g_azG; + this.g_azG = 0; + const a = this.g_aAp(h.toLowerCase(), f, 0 !== r, this.g_aAk(s)); + try { + await this.g_aei('play', { + originalUrl: t, + url: n.url, + type: n.type, + isMusic: f, + tag: h.toLowerCase(), + isLooping: 0 !== r, + vol: this.g_aAk(s), + pos: 0, + off: _, + trueClock: !!self.C3_GetAudioContextCurrentTime, + panning: { + x: c, + y: l, + angle: p.g_Fj() - e, + innerAngle: g_aO.g_er(d), + outerAngle: g_aO.g_er(u), + outerGain: this.g_aAk(g), + uid: i.g_Ei() + } + }); + } finally { + a && (a.placeholder = this.g_Be.g_asU()); + } + } + } + } + }, + g_aAH(g, _) { + this.g_aeg('set-looping', { tag: g.toLowerCase(), isLooping: 0 === _ }); + }, + g_aAI(g, _) { + this.g_aeg('set-muted', { tag: g.toLowerCase(), isMuted: 0 === _ }); + }, + g_aAJ(g, _) { + this.g_aeg('set-volume', { tag: g.toLowerCase(), vol: this.g_aAk(_) }); + }, + g_aAK(g, _, e, a) { + this.g_aeg('fade-volume', { + tag: g.toLowerCase(), + vol: this.g_aAk(_), + duration: e, + stopOnEnd: 0 === a + }); + }, + async g_aAL(g) { + const _ = g[1], + e = this.g_Be.g_afD().g_Cv(g[0]); + e && + (this.g_azZ++, + await this.g_aei('preload', { originalUrl: g[0], url: e.url, type: e.type, isMusic: _ }), + this.g_az_++); + }, + async g_aAM(g, _) { + const e = this.g_Be.g_afD().g_Cv(_); + e && + (this.g_azZ++, + await this.g_aei('preload', { originalUrl: _, url: e.url, type: e.type, isMusic: 1 === g }), + this.g_az_++); + }, + g_Mj(g, _) { + this.g_aeg('set-playback-rate', { tag: g.toLowerCase(), rate: Math.max(_, 0) }); + }, + g_Kg(g) { + this.g_aeg('stop', { tag: g.toLowerCase() }); + }, + g_aAN() { + this.g_aeg('stop-all'); + }, + g_aAO(g, _) { + this.g_aeg('set-paused', { tag: g.toLowerCase(), paused: 0 === _ }); + }, + g_aAP(g, _) { + this.g_aeg('seek', { tag: g.toLowerCase(), pos: _ }); + }, + g_aAQ(g) { + 2 === g && (g = this.g_azW ? 1 : 0), + (g = 0 === g), + this.g_azW === g || ((this.g_azW = g), this.g_aeg('set-silent', { isSilent: g })); + }, + g_aAR(g) { + const _ = this.g_aAk(g); + this.g_azV === _ || ((this.g_azV = _), this.g_aeg('set-master-volume', { vol: _ })); + }, + g_aAS(a, t, n, r, e, s, g) { + a = a.toLowerCase(); + const d = _[t]; + this.g_aAv(a), + this.g_aeg('add-effect', { + type: 'filter', + tag: a, + params: [d, n, r, e, s, g_aO.g_ep(g / 100, 0, 1)] + }); + }, + g_aAT(g, _, e, t) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'delay', + tag: g, + params: [_, this.g_aAk(e), g_aO.g_ep(t / 100, 0, 1)] + }); + }, + g_aAU(g, _, t, n, i, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'flanger', + tag: g, + params: [_ / 1e3, t / 1e3, n, i / 100, g_aO.g_ep(e / 100, 0, 1)] + }); + }, + g_aAV(_, t, n, i, r, e, s) { + (_ = _.toLowerCase()), + this.g_aAv(_), + this.g_aeg('add-effect', { + type: 'phaser', + tag: _, + params: [t, n, i, r, e, g_aO.g_ep(s / 100, 0, 1)] + }); + }, + g_aAW(g, _, t, n) { + g = g.toLowerCase(); + const i = this.g_Be.g_afD().g_Cv(_[0]); + i && + (this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'convolution', + tag: g, + bufferOriginalUrl: _[0], + bufferUrl: i.url, + bufferType: i.type, + params: [0 === t, g_aO.g_ep(n / 100, 0, 1)] + })); + }, + g_aAX(g, _) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { type: 'gain', tag: g, params: [this.g_aAk(_)] }); + }, + g_aAY(g) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { type: 'gain', tag: g, params: [0] }); + }, + g_aAZ(g, _, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'tremolo', + tag: g, + params: [_, g_aO.g_ep(e / 100, 0, 1)] + }); + }, + g_aA_(g, _, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'ringmod', + tag: g, + params: [_, g_aO.g_ep(e / 100, 0, 1)] + }); + }, + g_aA$(g, _, t, n, i, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'distortion', + tag: g, + params: [this.g_aAj(_), this.g_aAj(t), n, this.g_aAj(i), g_aO.g_ep(e / 100, 0, 1)] + }); + }, + g_aBa(g, _, t, n, i, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { + type: 'compressor', + tag: g, + params: [_, t, n, i / 1e3, e / 1e3] + }); + }, + g_aBb(g, _, e) { + (g = g.toLowerCase()), + this.g_aAv(g), + this.g_aeg('add-effect', { type: 'analyser', tag: g, params: [_, e] }); + }, + g_aBc(g) { + (g = g.toLowerCase()), + this.g_azY.set(g, 0), + this.g_aeg('remove-effects', { tag: g }), + (this.g_aAa = {}); + }, + g_aBd(g, _, a, t, n, e) { + this.g_aeg('set-effect-param', { + tag: g.toLowerCase(), + index: Math.floor(_), + param: a, + value: t, + ramp: n, + time: e + }); + }, + g_aBe(g) { + if (g) { + const _ = g.g_abA(); + _ && _.g_CU() && (this.g_azT = _); + } + }, + g_aBf(g) { + this.g_azP = g; + }, + g_aBg(g) { + this.g_azG = Math.max(g, 0); + }, + g_aBh(g) { + const _ = g[1], + e = this.g_Be.g_afD().g_Cv(g[0]); + e && this.g_aeg('unload', { url: e.url, type: e.type, isMusic: _ }); + }, + g_aBi(g, _) { + const e = this.g_Be.g_afD().g_Cv(_); + e && this.g_aeg('unload', { url: e.url, type: e.type, isMusic: 1 === g }); + }, + g_aBj() { + this.g_aeg('unload-all'); + } + }; +} +'use strict', + (g_aO.g_HY.Audio.g__$ = { + g_aBk(g) { + const _ = this.g_aAn(g); + return _ ? _.duration : 0; + }, + g_aBl(g) { + const _ = this.g_aAn(g); + return _ ? _.playbackTime : 0; + }, + g_aBm(g) { + const _ = this.g_aAn(g); + return _ ? _.playbackRate : 0; + }, + g_aBn(g) { + const _ = this.g_aAn(g); + return _ ? this.g_aAm(_.volume) : 0; + }, + g_aBo() { + return this.g_aAm(this.g_azV); + }, + g_aBp(g) { + return this.g_azY.get(g.toLowerCase()) || 0; + }, + g_aBq(g, _) { + const e = this.g_aAu(g, Math.floor(_)); + return e ? e.binCount : 0; + }, + g_aBr(g, _, a) { + var t = Math.floor; + const n = this.g_aAu(g, t(_)); + return n ? ((a = t(a)), 0 > a || a >= n.binCount ? 0 : n.freqBins[a]) : 0; + }, + g_aBs(g, _) { + const e = this.g_aAu(g, Math.floor(_)); + return e ? e.peak : 0; + }, + g_aBt(g, _) { + const e = this.g_aAu(g, Math.floor(_)); + return e ? e.rms : 0; + }, + g_aBu() { + return this.g_azX; + }, + g_aBv() { + return self.C3_GetAudioContextCurrentTime + ? self.C3_GetAudioContextCurrentTime() + : performance.now() / 1e3; + } + }), + 'use strict', + (g_aO.g_HY.g_aBw = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_aBw.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() { + this.g_adQ().g_ahM(this.g_Be); + } + g_Hx(g) { + return this.g_adQ().g_CR(g, { g_qO: this.g_Be.g_FR(), g_qM: !0 }); + } + g_HD() { + this.g_adQ().g_wt(); + } + }), + 'use strict'; +{ + const g = g_aO.g_ej(g_aO.g_iu), + _ = g_aO.g_ej(g_aO.Rect), + a = g_aO.g_ej(g_aO.g_iu); + g_aO.g_HY.g_aBw.Instance = class extends g_aO.g_aeu { + constructor(g, _) { + super(g), + (this.g_aBx = 0), + (this.g_aBy = 0), + (this.g_aBz = 1), + (this.g_aBA = 1), + (this.g_aBB = 0), + (this.g_aBC = null), + _ && + (this.g_CU().g_EU(!!_[0]), + (this.g_aBx = _[2]), + (this.g_aBy = _[3]), + (this.g_aBz = _[4]), + (this.g_aBA = _[5]), + (this.g_aBB = g_aO.g_er(_[6]))); + } + g_ek() { + this.g_aBD(), super.g_ek(); + } + g_aBD() { + this.g_aBC && (this.g_aBC.g_ek(), (this.g_aBC = null)); + } + g_FN(t) { + var n = Math.round; + const e = this.g_Gg(), + r = e.g_rQ(); + if (!r) return; + const s = this.g_CU(); + let d = s.g_agX(); + t.g_zp(r); + const o = e.g_pN(), + u = e.g_pO(), + p = this.g_aBx / o, + l = this.g_aBy / u; + if ( + (_.set(0, 0, s.g_pN() / (o * this.g_aBz), s.g_pO() / (u * this.g_aBA)), + _.offset(-p, -l), + this.g_Be.g_Gs()) + ) { + const _ = n(s.g_Ig()) - s.g_Ig(), + e = n(s.g_Ih()) - s.g_Ih(); + g.g_p(d), g.offset(_, e), (d = g); + } + 0 === this.g_aBB ? t.g_zy(d, _) : (a.g_iP(_, -this.g_aBB), t.g_zz(d, a)); + } + g_Gg() { + return this.g_aBC || this.g_Tq.g_adQ(); + } + g_aBE(g) { + this.g_aBx === g || ((this.g_aBx = g), this.g_Be.g_EV()); + } + g_aBF() { + return this.g_aBx; + } + g_aBG(g) { + this.g_aBy === g || ((this.g_aBy = g), this.g_Be.g_EV()); + } + g_aBH() { + return this.g_aBy; + } + g_aBI(g) { + this.g_aBz === g || ((this.g_aBz = g), this.g_Be.g_EV()); + } + g_aBJ() { + return this.g_aBz; + } + g_aBK(g) { + this.g_aBA === g || ((this.g_aBA = g), this.g_Be.g_EV()); + } + g_aBL() { + return this.g_aBA; + } + g_aBM(g) { + this.g_aBB === g || ((this.g_aBB = g), this.g_Be.g_EV()); + } + g_aBN() { + return this.g_aBB; + } + g_QF(g) { + return 2 === g + ? this.g_aBF() + : 3 === g + ? this.g_aBH() + : 4 === g + ? this.g_aBJ() + : 5 === g + ? this.g_aBL() + : 6 === g + ? this.g_aBN() + : void 0; + } + g_QM(g, _) { + 2 === g + ? this.g_aBE(_) + : 3 === g + ? this.g_aBG(_) + : 4 === g + ? this.g_aBI(_) + : 5 === g + ? this.g_aBK(_) + : 6 === g + ? this.g_aBM(_) + : void 0; + } + g_adS() { + return g_aBO; + } + }; + const e = new WeakMap(); + self.g_aBO = class extends g_agP { + constructor() { + super(), e.set(this, g_agH.g_agN().g_Qd()); + } + set g_aBP(g) { + e.get(this).g_aBE(g); + } + get g_aBP() { + return e.get(this).g_aBF(); + } + set g_aBQ(g) { + e.get(this).g_aBG(g); + } + get g_aBQ() { + return e.get(this).g_aBH(); + } + set g_aBR(g) { + e.get(this).g_aBI(g); + } + get g_aBR() { + return e.get(this).g_aBJ(); + } + set g_aBS(g) { + e.get(this).g_aBK(g); + } + get g_aBS() { + return e.get(this).g_aBL(); + } + set g_aBT(g) { + e.get(this).g_aBM(g); + } + get g_aBT() { + return e.get(this).g_aBN(); + } + set g_aBU(g) { + e.get(this).g_aBM(g_aO.g_er(g)); + } + get g_aBU() { + return g_aO.g_es(e.get(this).g_aBN()); + } + }; +} +'use strict', + (g_aO.g_HY.g_aBw.g_HW = { + g_ayN() { + return !0; + }, + g_ayO() { + return !0; + } + }), + 'use strict', + (g_aO.g_HY.g_aBw.g_abH = { + g_aBV(g) { + this.g_aBE(g); + }, + g_aBW(g) { + this.g_aBG(g); + }, + g_aBX(g) { + this.g_aBI(g / 100); + }, + g_aBY(g) { + this.g_aBK(g / 100); + }, + g_aBZ(g) { + this.g_aBM(g_aO.g_er(g)); + }, + g_ayV(g) { + this.g_CU().g_Ex(g), this.g_Be.g_EV(); + }, + async g_ayT(g) { + if (!(this.g_aBC && this.g_aBC.g_Cc() === g)) { + const _ = this.g_Be, + e = g_aO.g_ej(g_aO.g_ahD); + if ((await e.g_ahL(_, g), !e.g_CK())) return void this.g_Ku(g_aO.g_HY.g_aBw.g_HW.g_ayO); + if (this.g_el()) return e.g_ek(), null; + const a = await e.g_CR(_.g_rP(), { g_qO: this.g_Be.g_FR(), g_qM: !0 }); + return a + ? this.g_el() + ? void e.g_ek() + : void (this.g_aBD(), + (this.g_aBC = e), + _.g_EV(), + await this.g_HU(g_aO.g_HY.g_aBw.g_HW.g_ayN)) + : void 0; + } + } + }), + 'use strict', + (g_aO.g_HY.g_aBw.g__$ = { + g_azc() { + return this.g_Gg().g_pN(); + }, + g_azd() { + return this.g_Gg().g_pO(); + }, + g_aB_() { + return this.g_aBx; + }, + g_aB$() { + return this.g_aBy; + }, + g_aCa() { + return 100 * this.g_aBz; + }, + g_aCb() { + return 100 * this.g_aBA; + }, + g_aCc() { + return g_aO.g_es(this.g_aBB); + } + }), + 'use strict', + (g_aO.g_HY.g_aCd = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_aCd.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g), (this.g_aCe = g_aO.g_ej(g_aCf)); + } + g_ek() { + super.g_ek(); + } + g_adB() { + this.g_adQ().g_ahM(this.g_Be); + } + g_Hx(g) { + return this.g_adQ().g_CR(g, { g_qO: this.g_Be.g_FR(), g_qM: !0 }); + } + g_HD() { + this.g_adQ().g_wt(); + } + g_aCg() { + return this.g_aCe; + } + g_aCh(g, _, a, t) { + const n = this.g_adQ(), + e = this.g_aCe; + e.g_Hj(n.g_pN()), e.g_Hk(n.g_pO()), e.g_aCi(g), e.g_aCj(_), e.g_aCk(a), e.g_aCl(t), e.g_aCm(); + } + }), + 'use strict'; +{ + const _ = ['left', 'center', 'right'], + a = ['top', 'center', 'bottom'], + t = g_aO.g_ej(g_aO.g_iu); + g_aO.g_HY.g_aCd.Instance = class extends g_aO.g_aeu { + constructor(g, _) { + super(g), + (this.g_vQ = ''), + (this.g_aCn = !0), + (this.g_aCo = 16), + (this.g_aCp = 16), + (this.g_aCq = ''); + let e = []; + if ( + ((this.g_aCr = 1), + (this.g_aCs = 0), + (this.g_vH = 0), + (this.g_vO = 0), + (this.g_vP = 0), + (this.g_aCt = !0), + (this.g_aCu = null), + (this.g_aCv = -1), + (this.g_aCw = -1), + (this.g_aCx = 0), + _) + ) { + (this.g_vQ = _[0]), + (this.g_aCn = _[1]), + (this.g_aCo = _[2]), + (this.g_aCp = _[3]), + (this.g_aCq = _[4]), + (e = _[5]), + (this.g_aCr = _[6]), + (this.g_aCs = _[7]), + (this.g_vH = _[8]), + (this.g_vO = _[9]), + (this.g_vP = _[10]), + (this.g_aCt = 0 === _[11]); + const g = this.g_CU(); + g.g_EU(_[12]); + } + this.g_adU.g_aCh(this.g_aCo, this.g_aCp, this.g_aCq, e), + (this.g_aCu = g_aO.g_ej(g_aCy, this.g_adU.g_aCg())); + const a = this.g_CU(); + this.g_aCu.g_wQ(a.g_pN(), a.g_pO()), this.g_aCz(); + } + g_ek() { + this.g_aCA(), this.g_aCu.g_ek(), (this.g_aCu = null), super.g_ek(); + } + g_aCz() { + const g = this.g_aCu; + g && + (g.g_wA(this.g_aCn), + g.g_wP(this.g_vQ), + g.g_wO(this.g_aCt ? 'word' : 'character'), + g.g_aCB(_[this.g_vO]), + g.g_aCC(a[this.g_vP]), + g.g_Hi(this.g_aCr), + g.g_aCD(this.g_aCs), + g.g_wD(this.g_vH)); + } + g_FN(_) { + var n = Math.round; + const a = this.g_Tq.g_adQ(), + i = a.g_rQ(); + if (!i) return; + _.g_zp(i); + const e = this.g_CU(); + let r = e.g_agX(); + const s = this.g_aCu; + if (this.g_Be.g_Gs()) { + const g = n(e.g_Ig()) - e.g_Ig(), + _ = n(e.g_Ih()) - e.g_Ih(); + t.g_p(r), t.offset(g, _), (r = t); + } + s.g_wQ(e.g_pN(), e.g_pO()), + s.g_aCg().g_aCE(a.g_xg()), + s.g_qG(e.g_QI()), + s.g_FN(_, r.g_eW(), r.g_eX(), e.g_Fj()); + } + g_GH() { + const g = { + t: this.g_vQ, + ebbc: this.g_aCn, + csc: this.g_aCr, + csp: this.g_aCs, + lh: this.g_vH, + ha: this.g_vO, + va: this.g_vP, + w: this.g_aCt, + cw: this.g_adU.g_aCg().g_aCF(), + ch: this.g_adU.g_aCg().g_aCG(), + cs: this.g_adU.g_aCg().g_aCH(), + sd: this.g_adU.g_aCg().g_aCI() + }; + return -1 !== this.g_aCw && (g_e.tw = { st: this.g_aCv, en: this.g_aCw, l: this.g_aCx }), g; + } + g_GJ(g) { + if ( + (this.g_aCA(), + (this.g_vQ = g.t), + (this.g_aCn = g.ebbc), + (this.g_aCr = g.csc), + (this.g_aCs = g.csp), + (this.g_vH = g.lh), + (this.g_vO = g.ha), + (this.g_vP = g.va), + (this.g_aCt = g.w), + g.hasOwnProperty('tw')) + ) { + const _ = g.tw; + (this.g_aCv = _.st), (this.g_aCw = _.en), (this.g_aCx = g.l); + } + const _ = this.g_adU.g_aCg(); + _.g_aCi(g.cw), + _.g_aCj(g.ch), + _.g_aCk(g.cs), + _.g_aCl(g.sd), + this.g_aCz(), + -1 !== this.g_aCw && this.g_ael(); + } + g_QF(g) { + return 0 === g + ? this.g_vQ + : 1 === g + ? this.g_aCn + : 2 === g + ? this.g_adU.g_aCg().g_aCF() + : 3 === g + ? this.g_adU.g_aCg().g_aCG() + : 4 === g + ? this.g_adU.g_aCg().g_aCH() + : 5 === g + ? this.g_adU.g_aCg().g_aCI() + : 6 === g + ? this.g_aCr + : 7 === g + ? this.g_aCs + : 8 === g + ? this.g_vH + : 9 === g + ? this.g_vO + : 10 === g + ? this.g_vP + : 11 === g + ? this.g_aCt + ? 1 + : 0 + : void 0; + } + g_QM(g, _) { + switch (g) { + case 0: + if (this.g_vQ === _) return; + (this.g_vQ = _), this.g_aCz(); + break; + case 1: + if (this.g_aCn === !!_) return; + (this.g_aCn = !!_), this.g_aCz(); + break; + case 2: + this.g_adU.g_aCg().g_aCi(_); + break; + case 3: + this.g_adU.g_aCg().g_aCj(_); + break; + case 4: + this.g_adU.g_aCg().g_aCk(_); + break; + case 5: + this.g_adU.g_aCg().g_aCl(_); + break; + case 6: + if (this.g_aCr === _) return; + (this.g_aCr = _), this.g_aCz(); + break; + case 7: + if (this.g_aCs === _) return; + (this.g_aCs = _), this.g_aCz(); + break; + case 8: + if (this.g_vH === _) return; + (this.g_vH = _), this.g_aCz(); + break; + case 9: + if (this.g_vO === _) return; + (this.g_vO = _), this.g_aCz(); + break; + case 10: + if (this.g_vP === _) return; + (this.g_vP = _), this.g_aCz(); + break; + case 11: + if (this.g_aCt === (0 === _)) return; + (this.g_aCt = 0 === _), this.g_aCz(); + } + } + g_aCJ(g) { + this.g_vQ === g || ((this.g_vQ = g), this.g_aCu.g_wP(g), this.g_Be.g_EV()); + } + g_aCK() { + return this.g_vQ; + } + g_aCL(g, _) { + this.g_aCJ(g), + (this.g_aCv = this.g_Be.g_Gk()), + (this.g_aCw = this.g_aCv + _), + (this.g_aCx = g_aO.g_dP.g_pe(g).length), + this.g_aCu.g_wG(0), + this.g_ael(); + } + g_aCA() { + (this.g_aCv = -1), (this.g_aCw = -1), (this.g_aCx = 0), this.g_aCu.g_wG(-1), this.g_adY(); + } + g_aCM() { + -1 === this.g_aCw || (this.g_aCA(), this.g_Ku(g_aO.g_HY.g_aCd.g_HW.g_aCN), this.g_Be.g_EV()); + } + g_aCO(g) { + this.g_aCr === g || ((this.g_aCr = g), this.g_aCu.g_Hi(this.g_aCr), this.g_Be.g_EV()); + } + g_aCP() { + return this.g_aCr; + } + g_aCQ(g) { + this.g_aCs === g || ((this.g_aCs = g), this.g_aCu.g_aCD(this.g_aCs), this.g_Be.g_EV()); + } + g_aCR() { + return this.g_aCs; + } + g_aCS(g) { + this.g_vH === g || ((this.g_vH = g), this.g_aCu.g_wD(this.g_vH), this.g_Be.g_EV()); + } + g_aCT() { + return this.g_vH; + } + g_aCU(g) { + this.g_vO === g || ((this.g_vO = g), this.g_aCz(), this.g_Be.g_EV()); + } + g_aCV() { + return this.g_vO; + } + g_aCW(g) { + this.g_vP === g || ((this.g_vP = g), this.g_aCz(), this.g_Be.g_EV()); + } + g_aCX() { + return this.g_vP; + } + g_aCY(g) { + (g = !!g), this.g_aCt === g || ((this.g_aCt = g), this.g_aCz(), this.g_Be.g_EV()); + } + g_aCZ() { + return this.g_aCt; + } + g_KZ() { + const g = this.g_Be.g_Gk(); + if (g >= this.g_aCw) this.g_aCA(), this.g_Ku(g_aO.g_HY.g_aCd.g_HW.g_aCN), this.g_Be.g_EV(); + else { + let _ = g_aO.g_eB(this.g_aCv, this.g_aCw, g, 0, this.g_aCx); + (_ = Math.floor(_)), _ !== this.g_aCu.g_wH() && (this.g_aCu.g_wG(_), this.g_Be.g_EV()); + } + } + g_aep() { + return [ + { + title: 'plugins.spritefont2.name', + properties: [ + { + name: 'plugins.spritefont2.properties.text.name', + value: this.g_vQ, + g_ayn: (g) => this.g_aCJ(g) + } + ] + } + ]; + } + g_adS() { + return g_aC_; + } + }; + const n = new WeakMap(), + i = new Map([ + ['left', 0], + ['center', 1], + ['right', 2] + ]), + e = new Map([ + ['top', 0], + ['center', 1], + ['bottom', 2] + ]), + r = new Map([ + ['word', !0], + ['character', !1] + ]); + self.g_aC_ = class extends g_agP { + constructor() { + super(), n.set(this, g_agH.g_agN().g_Qd()); + } + get text() { + return n.get(this).g_aCK(); + } + set text(g) { + const _ = n.get(this); + _.g_aCA(), _.g_aCJ(g); + } + g_aC$(g, _) { + const e = n.get(this); + e.g_aCA(), e.g_aCL(g, _); + } + g_aDa() { + n.get(this).g_aCM(); + } + set g_aDb(g) { + n.get(this).g_aCO(g); + } + get g_aDb() { + return n.get(this).g_aCP(); + } + set g_aDc(g) { + n.get(this).g_aCQ(g); + } + get g_aDc() { + return n.get(this).g_aCR(); + } + set lineHeight(g) { + n.get(this).g_aCS(g); + } + get lineHeight() { + return n.get(this).g_aCT(); + } + set g_aDd(g) { + const _ = i.get(g); + if ('undefined' == typeof _) throw new Error('invalid mode'); + n.get(this).g_aCU(_); + } + get g_aDd() { + return _[n.get(this).g_aCV()]; + } + set verticalAlign(g) { + const _ = e.get(g); + if ('undefined' == typeof _) throw new Error('invalid mode'); + n.get(this).g_aCW(_); + } + get verticalAlign() { + return a[n.get(this).g_aCX()]; + } + set g_aDe(g) { + const _ = r.get(g); + if ('undefined' == typeof _) throw new Error('invalid mode'); + n.get(this).g_aCY(_); + } + get g_aDe() { + return n.get(this).g_aCZ() ? 'word' : 'character'; + } + }; +} +'use strict', + (g_aO.g_HY.g_aCd.g_HW = { + g_aDf(g, _) { + return _ ? this.g_vQ === g : g_aO.g_dB(this.g_vQ, g); + }, + g_aDg() { + return -1 !== this.g_aCw; + }, + g_aCN() { + return !0; + } + }), + 'use strict', + (g_aO.g_HY.g_aCd.g_abH = { + g_wP(g) { + this.g_aCA(), + 'number' == typeof g && 1e9 > g && (g = Math.round(1e10 * g) / 1e10), + this.g_aCJ(g.toString()); + }, + g_aDh(g) { + this.g_aCA(), + 'number' == typeof g && 1e9 > g && (g = Math.round(1e10 * g) / 1e10), + (g = g.toString()), + g && this.g_aCJ(this.g_vQ + g); + }, + g_aDi(g, _) { + this.g_aCA(), + 'number' == typeof g && 1e9 > g && (g = Math.round(1e10 * g) / 1e10), + this.g_aCL(g.toString(), _); + }, + g_aDj() { + this.g_aCM(); + }, + g_Hi(g) { + this.g_aCO(g); + }, + g_aDk(g) { + this.g_aCQ(g); + }, + g_wD(g) { + this.g_aCS(g); + }, + g_aCi(g, _) { + let t = !1; + const n = this.g_adU.g_aCg(); + for (const i of g) + if (' ' === i) n.g_aDl(_), (t = !0); + else { + const g = n.g_aDm(i); + g && (g.g_aDn(_), (t = !0)); + } + t && n.g_aDo(), this.g_Be.g_EV(); + }, + g_ayV(g) { + this.g_CU().g_Ex(g), this.g_Be.g_EV(); + }, + g_aDp(g) { + this.g_aCU(g); + }, + g_aDq(g) { + this.g_aCW(g); + }, + g_aDr(g) { + this.g_aCY(0 === g); + } + }), + 'use strict', + (g_aO.g_HY.g_aCd.g__$ = { + g_aDs(g) { + const _ = this.g_adU.g_aCg().g_aDm(g); + return _ ? _.g_aDt() : this.g_adU.g_aCg().g_aCF(); + }, + g_aDu() { + return this.g_aCp; + }, + g_aDv() { + return this.g_aCr; + }, + g_aDw() { + return this.g_aCs; + }, + g_aDx() { + return this.g_vH; + }, + Text() { + return this.g_vQ; + }, + g_aDy() { + return this.g_aCn ? g_aO.g_dP.g_pe(this.g_vQ) : this.g_vQ; + }, + g_aDz() { + const g = this.g_CU(); + return this.g_aCu.g_wQ(g.g_pN(), g.g_pO()), this.g_aCu.g_wR(); + }, + g_aDA() { + const g = this.g_CU(); + return this.g_aCu.g_wQ(g.g_pN(), g.g_pO()), this.g_aCu.g_wT(); + } + }), + 'use strict'; +{ + const g = { width: 256, height: 256, g_aDB: 16, g_aDC: 16, characterSet: '' }; + self.g_aCf = class { + constructor(_) { + if ( + ((_ = Object.assign({}, g, _)), + 0 >= _.width || 0 >= _.height || 0 >= _.g_aDB || 0 >= _.g_aDC) + ) + throw new Error('invalid size'); + (this.g_pu = _.width), + (this.g_pv = _.height), + (this.g_aCo = _.g_aDB), + (this.g_aCp = _.g_aDC), + (this.g_aCq = _.characterSet), + (this.g_aDD = ''), + (this.g_aDE = null), + (this.g_aDF = !1), + (this.g_aDG = -1), + (this.g_aDH = new g_aO.Rect(0, 0, 1, 1)), + (this.g_aDI = new Map()), + (this.g_aDJ = !0), + (this.g_aDK = new Set()); + } + g_ek() { + (this.g_aDH = null), + this.g_aDL(), + (this.g_aDI = null), + this.g_aDK && this.g_aDK.clear(), + (this.g_aDK = null); + } + g_aDL() { + for (let g of this.g_aDI.values()) g.g_ek(); + this.g_aDI.clear(); + } + g_aDM(g) { + this.g_aDK.add(g); + } + g_aDN(g) { + this.g_aDK.delete(g); + } + g_aCm() { + var _ = Math.floor; + if (this.g_aDJ) { + this.g_aDL(); + let a = [...this.g_aCq], + t = _(this.g_pu / this.g_aCo), + g = _(this.g_pv / this.g_aCp); + for (let n = 0, e = a.length; n < e && !(n >= t * g); ++n) { + let e = n % t, + i = _(n / t), + r = a[n]; + this.g_aDI.set(r, g_aO.g_ej(g_aDO, this, r, e * this.g_aCo, i * this.g_aCp)); + } + if (((this.g_aDF = !1), (this.g_aDG = -1), Array.isArray(this.g_aDE))) + for (let g of this.g_aDE) { + if (!Array.isArray(g)) continue; + if (2 !== g.length) continue; + let _ = g[0], + e = g[1]; + if ('number' == typeof _ && isFinite(_) && 'string' == typeof e && _ !== this.g_aCo) + for (let g of e) { + let e = this.g_aDI.get(g); + e + ? (e.g_aDn(_), (this.g_aDF = !0)) + : ' ' === g && ((this.g_aDG = _), (this.g_aDF = !0)); + } + } + this.g_aDJ = !1; + for (let g of this.g_aDK) g.g_aDP(); + } + } + g_aDo() { + this.g_aDF = !0; + for (const g of this.g_aDK) g.g_aDP(); + } + g_aDm(g) { + return this.g_aCm(), this.g_aDI.get(g) || null; + } + g_aDQ() { + return this.g_aDF; + } + g_Hj(g) { + if (((g = Math.floor(g)), 0 >= g)) throw new Error('invalid size'); + this.g_pu === g || ((this.g_pu = g), (this.g_aDJ = !0)); + } + g_pN() { + return this.g_pu; + } + g_Hk(g) { + if (((g = Math.floor(g)), 0 >= g)) throw new Error('invalid size'); + this.g_pv === g || ((this.g_pv = g), (this.g_aDJ = !0)); + } + g_pO() { + return this.g_pv; + } + g_aCE(g) { + if (!this.g_aDH.g_l(g)) { + this.g_aDH.g_p(g); + for (const g of this.g_aDI.values()) g.g_aDR(); + } + } + g_xg() { + return this.g_aDH; + } + g_aCi(g) { + if (((g = Math.floor(g)), 0 >= g)) throw new Error('invalid size'); + this.g_aCo === g || ((this.g_aCo = g), (this.g_aDJ = !0)); + } + g_aCF() { + return this.g_aCo; + } + g_aCj(g) { + if (((g = Math.floor(g)), 0 >= g)) throw new Error('invalid size'); + this.g_aCp === g || ((this.g_aCp = g), (this.g_aDJ = !0)); + } + g_aCG() { + return this.g_aCp; + } + g_aCk(g) { + this.g_aCq === g || ((this.g_aCq = g), (this.g_aDJ = !0)); + } + g_aCH() { + return this.g_aCq; + } + g_aCl(g) { + if ( + this.g_aDD !== g && + ((this.g_aDD = g), (this.g_aDJ = !0), (this.g_aDE = null), this.g_aDD.length) + ) + try { + this.g_aDE = JSON.parse(this.g_aDD); + } catch (g) { + this.g_aDE = null; + } + } + g_aCI() { + return this.g_aDD; + } + g_aDl(g) { + 0 > g && (g = -1), + this.g_aDG === g || ((this.g_aDG = g), 0 <= this.g_aDG && (this.g_aDF = !0)); + } + g_aDS() { + return 0 > this.g_aDG ? this.g_aCo : this.g_aDG; + } + }; +} +'use strict', + (self.g_aDO = class { + constructor(g, _, a, t) { + let n = g.g_aCF(), + e = g.g_aCG(); + (this.g_aCe = g), + (this.g_aDT = _), + (this.g_aDU = new g_aO.Rect(a, t, a + n, t + e)), + (this.g_aDH = new g_aO.Rect()), + (this.g_aDV = -1), + this.g_aDR(); + } + g_ek() { + (this.g_aCe = null), (this.g_aDU = null), (this.g_aDH = null); + } + g_aDR() { + let g = this.g_aCe.g_pN(), + _ = this.g_aCe.g_pO(); + this.g_aDH.g_p(this.g_aDU), this.g_aDH.g_N(g, _), this.g_aDH.g_it(this.g_aCe.g_xg()); + } + g_aCg() { + return this.g_aCe; + } + g_aDW() { + return this.g_aDT; + } + g_xg() { + return this.g_aDH; + } + g_aDn(g) { + this.g_aDV = g; + } + g_aDt() { + return 0 > this.g_aDV ? this.g_aCe.g_aCF() : this.g_aDV; + } + }), + 'use strict'; +{ + const _ = new g_aO.Rect(), + a = new g_aO.g_iu(), + E = new g_aO.g_gB(), + g = new Set(['left', 'center', 'right']), + t = new Set(['top', 'center', 'bottom']), + e = new Set(['word', 'character']); + self.g_aCy = class { + constructor(g) { + (this.g_aCe = g), + (this.g_vZ = 0), + (this.g_v_ = 0), + (this.g_vQ = ''), + (this.g_vL = !1), + (this.g_vR = null), + (this.g_vS = g_aO.g_ej(g_aO.g_pf)), + (this.g_vT = 'word'), + (this.g_aDX = !1), + (this.g_vO = 'left'), + (this.g_vP = 'top'), + (this.g_DE = 1), + (this.g_aDY = 0), + (this.g_vH = 0), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + (this.g_vX = -1), + (this.g_vY = 0), + (this.g_wl = (g, _) => this.g_wm(g, _)), + this.g_aCe.g_aDM(this); + } + g_ek() { + this.g_aCe.g_aDN(this), + (this.g_qB = null), + (this.g_wl = null), + this.g_vS.g_js(), + (this.g_vS = null), + (this.g_aCe = null), + (this.g_vR = null); + } + g_wm(_, a) { + const t = this.g_wI(a, 'scale'), + n = t ? parseFloat(t.param) : this.g_DE, + r = this.g_wI(a, 'scalex'), + s = (r ? parseFloat(r.param) : 1) * n, + e = this.g_wI(a, 'scaley'), + g = (e ? parseFloat(e.param) : 1) * n, + d = this.g_aCe.g_aCG() * g + this.g_vH, + i = this.g_aCg(), + o = i.g_aCF() * s, + u = this.g_aDZ(); + if (i.g_aDQ()) { + let g = 0, + t = 0; + for (const n of _) { + let _ = o; + const a = i.g_aDm(n); + a ? (_ = a.g_aDt() * s) : ' ' === n && (_ = i.g_aDS() * s), (t += _), ++g; + } + return { width: t + g * u, height: d }; + } else { + const g = [..._].length, + e = Math.max(g, 0); + return { width: o * g + e * u, height: d }; + } + } + g_aDP() { + (this.g_aDX = !0), this.g_vS.g_js(); + } + g_wQ(g, _) { + 0 >= g || + 0 >= _ || + (this.g_vZ === g && this.g_v_ === _) || + (this.g_vZ !== g && this.g_aDP(), (this.g_vZ = g), (this.g_v_ = _)); + } + g_wG(g) { + this.g_vX = Math.floor(g); + } + g_wH() { + return this.g_vX; + } + g_wI(g, _) { + for (let e = g.length - 1; 0 <= e; --e) { + const a = g[e]; + if (a.tag === _) return a; + } + return null; + } + g_wJ(g, _) { + return !!this.g_wI(g, _); + } + g_wS() { + if (this.g_aDX) { + this.g_vL && + (!this.g_vR || this.g_vR.toString() !== this.g_vQ) && + (this.g_vR = new g_aO.g_dP(this.g_vQ, { g_oR: !0 })); + const g = -this.g_aDZ(); + this.g_vS.g_pf( + this.g_vL ? this.g_vR.g_pa() : this.g_vQ, + this.g_wl, + this.g_vZ, + this.g_vT, + g + ), + (this.g_aDX = !1); + } + } + g_FN(_, a, t, n) { + var r = Math.floor; + this.g_wS(), (this.g_vY = 0); + let s = 0; + const l = this.g_vH, + g = g_aO.g_fL(this.g_vS.g_ph()), + o = Math.sin(n), + u = Math.cos(n), + e = g.reduce((g, _) => g + _.height, 0) - l; + 'center' === this.g_vP + ? (s = Math.max(r(this.g_v_ / 2 - e / 2), 0)) + : 'bottom' === this.g_vP && (s = r(this.g_v_ - e)); + for (let r = 0, e = g.length; r < e; ++r) { + const e = g[r], + n = e.height; + if (0 < r && s > this.g_v_ - (n - l)) break; + 0 <= s && this.g_aD_(_, e, a, t, s, o, u), (s += n); + } + } + g_aD_(_, a, t, n, r, e, s) { + var g = Math.floor, + d = Math.max; + const i = a.height; + let l = 0; + 'center' === this.g_vO + ? (l = d(g((this.g_vZ - a.width) / 2), 0)) + : 'right' === this.g_vO && (l = d(g(this.g_vZ - a.width), 0)); + for (const g of a.g_pl) this.g_aD$(_, g, t, n, l, r, e, s, i), (l += g.width); + } + g_aD$(b, t, d, f, g, T, H, N, c) { + let e = t.text, + l = t.width; + const U = t.g_pb; + if (-1 !== this.g_vX) { + if (this.g_vY >= this.g_vX) return; + this.g_vY + e.length > this.g_vX && + ((e = e.substr(0, this.g_vX - this.g_vY)), (l = this.g_wm(e, U).width)), + (this.g_vY += e.length); + } + const o = this.g_wI(U, 'background'); + if (!((g_aO.g_oc(e) && !o) || this.g_wJ(U, 'hide'))) { + const n = this.g_wI(U, 'scale'), + i = n ? parseFloat(n.param) : this.g_DE, + p = this.g_wI(U, 'scalex'), + r = (p ? parseFloat(p.param) : 1) * i, + s = this.g_wI(U, 'scaley'), + t = (s ? parseFloat(s.param) : 1) * i, + u = this.g_aCe.g_aCG() * t, + h = this.g_vH; + T += c - h - u; + const m = this.g_wI(U, 'offsetx'); + g += m ? parseFloat(m.param) : 0; + const v = this.g_wI(U, 'offsety'); + (T += v ? parseFloat(v.param) : 0), + o && + (b.g_Al(), + E.g_hk(o.param), + E.g_gN(1), + b.g_qG(E), + _.set(g, T, g + l, T + u), + _.g_hX() > this.g_vZ && _.g_hS(this.g_vZ), + a.g_iQ(_, H, N), + a.offset(d, f), + b.g_iu(a), + b.g_yZ()); + const y = this.g_wI(U, 'color'); + y ? (E.g_hk(y.param), E.g_gN(this.g_qB.g_gS())) : E.g_p(this.g_qB); + const x = this.g_wI(U, 'opacity'); + x && E.g_gN((E.g_gS() * parseFloat(x.param)) / 100), E.g_gZ(), b.g_qG(E); + const q = this.g_aCe.g_aCF() * r, + B = Math.abs(this.g_aDZ()); + for (const t of e) { + const n = this.g_aCe.g_aDm(t); + if (n) { + const e = n.g_aDt() * r; + if (g + e > this.g_vZ + B + 1e-5) return; + _.set(g, T, g + q, T + u), + a.g_iQ(_, H, N), + a.offset(d, f), + b.g_zy(a, n.g_xg()), + (g += e + this.g_aDY); + } else g += this.g_aCe.g_aDS() * r + this.g_aDY; + } + } + } + g_aCg() { + return this.g_aCe; + } + g_wA(g) { + (g = !!g), this.g_vL === g || ((this.g_vL = g), this.g_aDP()); + } + g_vB() { + return this.g_vL; + } + g_wP(g) { + this.g_vQ === g || ((this.g_vQ = g), this.g_aDP()); + } + g_wO(g) { + if (!e.has(g)) throw new Error('invalid word wrap mode'); + this.g_vT === g || ((this.g_vT = g), this.g_aDP()); + } + g_aCB(_) { + if (!g.has(_)) throw new Error('invalid alignment'); + this.g_vO = _; + } + g_aCC(g) { + if (!t.has(g)) throw new Error('invalid alignment'); + this.g_vP = g; + } + g_Hi(g) { + this.g_DE === g || ((this.g_DE = g), this.g_aDP()); + } + g_Gp() { + return this.g_DE; + } + g_aCD(g) { + this.g_aDY === g || ((this.g_aDY = g), this.g_aDP()); + } + g_aDZ() { + return this.g_aDY; + } + g_wD(g) { + (this.g_vH = g), this.g_aDP(); + } + g_aEa() { + return this.g_vH; + } + g_zm(g) { + (g = g_aO.g_ep(g, 0, 1)), (this.g_qB.a = g); + } + g_qG(g) { + this.g_qB.g_l(g) || this.g_qB.g_p(g); + } + g_zo() { + return this.g_qB; + } + g_wR() { + return this.g_wS(), this.g_vS.g_pr(); + } + g_wT() { + this.g_wS(); + const g = this.g_aCe.g_aCG() * this.g_DE, + _ = this.g_vH; + return this.g_vS.g_pi() * (g + _) - _; + } + }; +} +'use strict', + (g_aO.g_HY.g_aEb = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_aEb.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + const _ = g_aO.g_ej(g_aO.g_gB); + let E = 0; + g_aO.g_HY.g_aEb.Instance = class extends g_aO.g_aeu { + constructor(g, _) { + super(g), + (this.g_aEc = null), + (this.g_wp = g_aO.g_ej(g_aO.Rect)), + (this.g_rF = 0), + (this.g_aEd = null), + (this.g_aEe = []), + (this.g_aEf = []), + (this.g_aEg = 0), + (this.g_aEh = 0), + (this.g_aEi = 1), + (this.g_aEj = 1), + (this.g_aEk = null), + (this.g_aEl = ''), + (this.g_aEm = null), + (this.g_aEn = g_aO.g_ej(g_aO.Rect)), + (this.g_aEo = g_aO.g_ej(g_aO.g_iu)), + _ && (this.g_CU().g_EU(!!_[0]), (this.g_rF = [0, 2, 4, 8][_[2]])); + const e = this.g_Be.g_rP(); + this.g_aEp(0, e), 2 > e.g_rd() && (this.g_rF = 0), this.g_aen(); + } + g_ek() { + this.g_aEc && (this.g_aEc.g_rP().g_AM(this.g_aEc), (this.g_aEc = null)), + this.g_aEd && (this.g_aEd.g_rP().g_AM(this.g_aEd), (this.g_aEd = null)), + g_aO.g_fz(this.g_aEe), + super.g_ek(); + } + g_aEq() { + return this.g_aEf.map((g) => g.slice(0)); + } + g_aEr() { + return this.g_aEs(), this.g_aEk; + } + g_aEs() { + if (!this.g_aEk) { + const g = g_aO.g_gk(512, 8), + _ = g.getContext('2d'); + _.clearRect(0, 0, 512, 8), + (_.fillStyle = 'white'), + _.fillRect(0, 0, 256, 8), + (this.g_aEk = this.g_Be.g_rP().g_AE(g, { g_qM: !0, g_qO: this.g_Be.g_FR() })); + } + } + g_aEp(g, _) { + (this.g_aEg = _.g_qp(g)), (this.g_aEh = _.g_qq(g)); + } + g_aEt(g) { + g.g_qF(this.g_aEg, this.g_aEh); + } + g_aEu(g) { + this.g_aEe.push(g), this.g_Be.g_EV(); + } + g_aEv(g, _, e) { + this.g_aEc && g.g_AM(this.g_aEc), + (this.g_aEc = g.g_AG({ + width: _, + height: e, + g_qO: this.g_Be.g_FR(), + g_rw: 0 === this.g_rF, + g_ry: this.g_rF + })), + 0 < this.g_rF && + (this.g_aEd && g.g_AM(this.g_aEd), + (this.g_aEd = g.g_AG({ width: _, height: e, g_qO: this.g_Be.g_FR(), g_rw: !0 }))), + g.g_zp(null); + } + g_aEw() { + return this.g_aEc; + } + g_aEx() { + return this.g_aEd; + } + g_rV() { + return this.g_rF; + } + g_aEy(g) { + this.g_Be.g_FO().g_JD(g, this.g_aEc.g_pN(), this.g_aEc.g_pO()); + } + g_aEz() { + return this.g_aEe.some((g) => !(g instanceof g_aO.g_HY.g_aEb.g_aEB.g_aEA)); + } + g_aek() { + var _ = Math.ceil, + a = Math.round; + const c = this.g_Be.g_rP(), + d = this.g_CU(), + e = d.g_Em(), + f = this.g_aEo, + g = this.g_aEn; + ++E; + const h = d.g_agX(), + [i, b] = e.g_GE(h.g_eW(), h.g_eX()), + [y, l] = e.g_GE(h.g_e_(), h.g_e$()), + m = i - a(i), + n = b - a(b); + g.set(i, b, y, l), g.offset(-m, -n), g.normalize(), f.g_iO(g); + let o = _(g.width()), + B = _(g.height()); + this.g_wp.set(0, 1, g.width() / o, 1 - g.height() / B); + const v = c.g_rb(), + r = Math.max(o, B); + if ( + (r > v + ? ((this.g_aEj = v / r), (o = a(o * this.g_aEj)), (B = a(B * this.g_aEj))) + : (this.g_aEj = 1), + 0 >= o || 0 >= B) + ) + return void --E; + this.g_aEi = g.width() / d.g_pN(); + const s = this.g_aEi * this.g_aEj, + t = !this.g_aEc || this.g_aEc.g_pN() !== o || this.g_aEc.g_pO() !== B; + if ((t && this.g_Ku(g_aO.g_HY.g_aEb.g_HW.g_aEC), 0 < this.g_aEe.length || !this.g_aEc)) { + (!this.g_aEc || (t && this.g_aEz())) && this.g_aEv(c, o, B), + c.g_AH(this.g_aEc), + this.g_aEy(c), + this.g_aEt(c); + for (const g of this.g_aEe) g.g_aED(c, s, this); + g_aO.g_fz(this.g_aEe), + c.g_zr(), + 0 < this.g_rF && (c.g_AH(this.g_aEd), c.g_AJ(this.g_aEc, 'crop')); + } + --E; + } + g_FN(_) { + const a = this.g_CU(), + t = a.g_Em(), + n = this.g_Be.g_FO(), + e = _.g_AI(), + i = this.g_aEo; + _.g_yZ(), + _.g_qF(a.g_Fs(), a.g_Ft()), + _.g_qG(a.g_EZ()), + 0 === this.g_rF ? _.g_zp(this.g_aEc.g_rQ()) : _.g_zp(this.g_aEd.g_rQ()), + 0 < E ? n.g_JD(_, e.g_pN(), e.g_pO()) : n.g_JD(_), + _.g_zy(i, this.g_wp), + t.g_FL(_); + } + g_aEE(_, a) { + var t = Math.floor; + if (!this.g_aEm) return [0, 0, 0, 0]; + const e = this.g_aEm.width, + n = this.g_aEm.height; + if (((_ = t(_)), (a = n - 1 - t(a)), 0 > _ || 0 > a || _ >= e || a >= n)) return [0, 0, 0, 0]; + const r = this.g_aEm.data, + i = 4 * (a * e) + 4 * _; + let s = r[i] / 255, + o = r[i + 1] / 255, + u = r[i + 2] / 255, + p = r[i + 3] / 255; + return 0 != p && ((s /= p), (o /= p), (u /= p)), [100 * s, 100 * o, 100 * u, 100 * p]; + } + g_aEF(a, t, n) { + var i = Math.floor; + if (!this.g_aEm) return [0, 0, 0, 0]; + _.g_g$(n), _.g_gZ(); + const e = this.g_aEm.width, + r = this.g_aEm.height; + if (((a = i(a)), (t = r - 1 - i(t)), !(0 > a || 0 > t || a >= e || t >= r))) { + const n = this.g_aEm.data, + r = 4 * (t * e) + 4 * a; + (n[r] = i(255 * _.g_gP())), + (n[r + 1] = i(255 * _.g_gQ())), + (n[r + 2] = i(255 * _.g_gR())), + (n[r + 3] = i(255 * _.g_gS())); + } + } + g_aEG() { + return new Promise((g) => { + this.g_aEu( + new g_aO.g_HY.g_aEb.g_aEB.g_aEA(async (_) => { + const a = _.data.buffer, + t = _.width, + n = _.height, + e = await this.g_Be.g_arQ( + 'ProcessImageData', + { buffer: a, width: t, height: n, unpremultiply: !0, flipY: !0 }, + [a] + ); + g(new ImageData(new Uint8ClampedArray(e), t, n)); + }) + ); + }); + } + g_aEH(g, _) { + if (!this.g_aEc) throw new Error('canvas not yet ready'); + if (g.width !== this.g_aEc.g_pN() || g.height !== this.g_aEc.g_pO()) + throw new Error( + `wrong size ImageData: expected ${this.g_aEc.g_pN()} x ${this.g_aEc.g_pO()}, got ${ + g.width + } x ${g.height}` + ); + g_aO.g_fz(this.g_aEe); + const a = this.g_Be.g_rP(); + if (this.g_aEd) { + const t = a.g_AI(), + n = this.g_aEd.g_rQ(); + a.g_xf(g, n, { g_cr: !!_ }), a.g_AH(this.g_aEc), a.g_AJ(this.g_aEd, 'crop'), a.g_AH(t); + } else { + const e = this.g_aEc.g_rQ(); + a.g_xf(g, e, { g_cr: !!_ }); + } + this.g_Be.g_EV(); + } + g_adS() { + return g_aEI; + } + }; + const g = new WeakMap(); + self.g_aEI = class extends g_agP { + constructor() { + super(), g.set(this, g_agH.g_agN().g_Qd()); + } + g_aEJ() { + return g.get(this).g_aEG(); + } + g_aEK(_, e = !1) { + g.get(this).g_aEH(_, e); + } + get g_aEL() { + const _ = g.get(this).g_aEw(); + if (!_) throw new Error('canvas not yet ready'); + return _.g_pN(); + } + get g_aEM() { + const _ = g.get(this).g_aEw(); + if (!_) throw new Error('canvas not yet ready'); + return _.g_pO(); + } + }; +} +'use strict', + (g_aO.g_HY.g_aEb.g_HW = { + g_aEN() { + return !0; + }, + g_aEO() { + return !0; + }, + g_aEC() { + return !0; + } + }), + 'use strict'; +{ + function g(g, _) { + return g.g_CU().g_Fz() - _.g_CU().g_Fz(); + } + g_aO.g_HY.g_aEb.g_abH = { + g_ayV(g) { + this.g_CU().g_Ex(g), this.g_Be.g_EV(); + }, + g_aEP(g) { + g_aO.g_fz(this.g_aEe), this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEP(g)); + }, + g_Ay(g, _, a, t, n) { + g === a || _ === t || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_Ay(g, _, a, t, n)); + }, + g_aEQ(g, _, a, t, n) { + g === a || _ === t || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEQ(g, _, a, t, n)); + }, + g_aER(_, a, t, n, i, e, r) { + _ === t || a === n || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aER(_, a, t, n, i, e, r)); + }, + g_aES(g, _, a, t, n, e) { + 0 >= a || 0 >= t || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aES(g, _, a, t, n, 0 !== e)); + }, + g_aET(_, a, t, n, i, e, r) { + 0 >= t || + 0 >= n || + 0 >= e || + this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aET(_, a, t, n, i, e, 0 !== r)); + }, + g_aEU(g, _, a, t, n, e) { + g === a || _ === t || 0 >= e || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEU(g, _, a, t, n, e)); + }, + g_zD(_, a, t, n, i, e, r) { + if (!((_ === t && a === n) || 0 >= e)) { + const g = 0 === r ? 'butt' : 'square'; + this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_zD(_, a, t, n, i, e, g)); + } + }, + g_aEV(_, a, t, n, r, e, s, g) { + if (!((_ === t && a === n) || 0 >= e || 0 >= s)) { + const d = 0 === g ? 'butt' : 'square', + i = this.g_aEr(); + this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEV(_, a, t, n, r, e, s, i, d)); + } + }, + g_aEW(g, _) { + this.g_aEf.push([g, _]); + }, + g_aEX() { + g_aO.g_fz(this.g_aEf); + }, + g_aEY(g, _, e) { + if (!(2 > this.g_aEf.length || 0 >= _)) { + const a = 0 === e ? 'butt' : 'square'; + this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEY(this.g_aEq(), g, _, a)); + } + }, + g_aEZ(g, _, a, t) { + if (!(2 > this.g_aEf.length || 0 >= _ || 0 >= a)) { + const n = 0 === t ? 'butt' : 'square', + e = this.g_aEr(); + this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aEZ(this.g_aEq(), g, _, a, e, n)); + } + }, + g_aE_(g) { + 3 > this.g_aEf.length || this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aE_(this.g_aEq(), g)); + }, + g_aE$(g) { + 2 <= g && g++, this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aE$(g)); + }, + g_aFa(_, a) { + if (!_) return; + const t = this.g_CU().g_Gi(), + n = _.g_Tu() + .g_H$() + .filter((g) => g.g_CU() && t.g_io(g.g_CU().g_Gi())); + 0 === n.length || (n.sort(g), this.g_aEu(new g_aO.g_HY.g_aEb.g_aEB.g_aFb(n, 0 !== a))); + }, + g_aEA(g, _) { + const t = 0 === g ? 'image/png' : 'image/jpeg'; + return ( + (_ /= 100), + new Promise((n) => { + this.g_aEu( + new g_aO.g_HY.g_aEb.g_aEB.g_aEA(async (r) => { + const a = r.data.buffer, + e = r.width, + s = r.height, + g = await this.g_Be.g_arQ( + 'ProcessImageData', + { buffer: a, width: e, height: s, unpremultiply: !0, flipY: !g_aO.g_cm.g_cq }, + [a] + ); + r = new ImageData(new Uint8ClampedArray(g), e, s); + let l; + if (g_aO.g_cm.g_cq) { + const g = await createImageBitmap(r, { + premultiplyAlpha: 'none', + imageOrientation: 'flipY' + }); + l = await g_aO.g_gr(g, t, _); + } else l = await g_aO.g_gt(r, t, _); + this.g_aEl && URL.revokeObjectURL(this.g_aEl), + (this.g_aEl = URL.createObjectURL(l)), + this.g_Ku(g_aO.g_HY.g_aEb.g_HW.g_aEN), + n(); + }) + ); + }) + ); + }, + g_aFc() { + return new Promise((g) => { + this.g_aEu( + new g_aO.g_HY.g_aEb.g_aEB.g_aEA((_) => { + (this.g_aEm = _), this.g_Ku(g_aO.g_HY.g_aEb.g_HW.g_aEO), g(); + }) + ); + }); + }, + g_aFd() { + this.g_aEm = null; + }, + g_aFe(g, _, e) { + this.g_aEF(g, _, e); + }, + g_aFf() { + this.g_aEm && + this.g_aEc && + this.g_aEm.width === this.g_aEc.g_pN() && + this.g_aEm.height === this.g_aEc.g_pO() && + this.g_aEH(this.g_aEm, !1); + } + }; +} +'use strict', + (g_aO.g_HY.g_aEb.g__$ = { + g_aFg() { + return this.g_aEl; + }, + g_aFh(g, _) { + return this.g_aEE(g, _)[0]; + }, + g_aFi(g, _) { + return this.g_aEE(g, _)[1]; + }, + g_aFj(g, _) { + return this.g_aEE(g, _)[2]; + }, + g_aFk(g, _) { + return this.g_aEE(g, _)[3]; + }, + g_aFl() { + return this.g_aEm ? this.g_aEm.width : 0; + }, + g_aFm() { + return this.g_aEm ? this.g_aEm.height : 0; + }, + g_aFn() { + return 1 / (this.g_aEi * this.g_aEj); + } + }), + 'use strict'; +{ + const g = g_aO.g_ej(g_aO.g_iu), + _ = g_aO.g_ej(g_aO.g_iu); + g_aO.g_HY.g_aEb.g_aEB = class { + constructor() {} + g_aED() { + throw new Error('required override'); + } + }; + const e = g_aO.g_HY.g_aEb.g_aEB; + (e.g_aEA = class extends e { + constructor(g) { + super(), (this.g_ly = g); + } + g_aED(g, _, e) { + let a = g.g_AI(); + if (0 < a.g_rV()) { + const _ = e.g_aEx(); + g.g_AH(_), g.g_AJ(a, 'crop'), g.g_AH(a), (a = _); + } + g.g_r_(a).then(this.g_ly); + } + }), + (e.g_aEP = class extends e { + constructor(g) { + super(), (this.g_qB = g_aO.g_ej(g_aO.g_gB)), this.g_qB.g_g$(g), this.g_qB.g_gZ(); + } + g_aED(g) { + g.g_js(this.g_qB); + } + }), + (e.g_Ay = class extends e { + constructor(g, _, a, t, n) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(g, _, a, t), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(n), + this.g_qB.g_gZ(); + } + g_aED(g, _, e) { + const a = e.g_aEw().g_pO(); + this.g_aFo.multiply(_, _), this.g_aFo.g_ik(a), g.g_AB(this.g_aFo, this.g_qB); + } + }), + (e.g_aEQ = class extends e { + constructor(g, _, a, t, n) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(g, _, a, t), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(n), + this.g_qB.g_gZ(); + } + g_aED(g, _) { + g.g_Al(), g.g_qG(this.g_qB), this.g_aFo.multiply(_, _), g.Rect(this.g_aFo); + } + }), + (e.g_aER = class extends e { + constructor(_, a, t, n, i, e, r) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(_, a, t, n), + (this.g_aFp = g_aO.g_ej(g_aO.g_gB)), + this.g_aFp.g_g$(i), + (this.g_aFq = g_aO.g_ej(g_aO.g_gB)), + this.g_aFq.g_g$(e), + (this.g_aFr = r); + } + g_aED(e, a) { + e.g_Am(), + e.g_qG(this.g_aFp), + e.g_An(this.g_aFq), + this.g_aFo.multiply(a, a), + g.g_iO(this.g_aFo), + 0 === this.g_aFr ? _.set(0, 0, 1, 0, 1, 1, 0, 1) : _.set(0, 1, 0, 0, 1, 0, 1, 1), + e.g_zz(g, _); + } + }), + (e.g_aES = class extends e { + constructor(g, _, a, t, n, e) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(g - a, _ - t, g + a, _ + t), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(n), + this.g_qB.g_gZ(), + (this.g_aFs = e); + } + g_aED(g, _) { + this.g_aFo.multiply(_, _), + this.g_aFs + ? (g.g_Aq(), + g.g_qG(this.g_qB), + this.g_aFo.g_ie(0.5, 0.5), + g.g_As(1 / this.g_aFo.width(), 1 / this.g_aFo.height()), + g.Rect(this.g_aFo)) + : (g.g_Ao(), g.g_qG(this.g_qB), g.Rect(this.g_aFo)); + } + }), + (e.g_aET = class extends e { + constructor(_, a, t, n, i, e, r) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(_ - t, a - n, _ + t, a + n), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(i), + this.g_qB.g_gZ(), + (this.g_aFt = e), + (this.g_aFs = r); + } + g_aED(g, _) { + this.g_aFo.multiply(_, _), + this.g_aFs + ? (g.g_Ar(), + g.g_qG(this.g_qB), + this.g_aFo.g_ie(0.5, 0.5), + g.g_As(1 / this.g_aFo.width(), 1 / this.g_aFo.height(), this.g_aFt * _), + g.Rect(this.g_aFo)) + : (g.g_Ap(), + g.g_As(1 / this.g_aFo.width(), 1 / this.g_aFo.height(), this.g_aFt * _), + g.g_qG(this.g_qB), + g.Rect(this.g_aFo)); + } + }), + (e.g_aEU = class extends e { + constructor(g, _, a, t, n, e) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(g, _, a, t), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(n), + this.g_qB.g_gZ(), + (this.g_aFt = e); + } + g_aED(g, _) { + g.g_Al(), + g.g_qG(this.g_qB), + g.g_Ac(), + g.g_zW(this.g_aFt * _), + this.g_aFo.multiply(_, _), + g.g_zP(this.g_aFo), + g.g_Ad(), + g.g_zX(); + } + }), + (e.g_zD = class extends e { + constructor(_, a, t, n, i, e, r) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(_, a, t, n), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(i), + this.g_qB.g_gZ(), + (this.g_aFt = e), + (this.g_aFu = r); + } + g_aED(g, _) { + g.g_Al(), g.g_qG(this.g_qB), g.g_z$(this.g_aFu), g.g_zW(this.g_aFt * _); + const e = this.g_aFo; + e.multiply(_, _), g.g_zD(e.g_hV(), e.g_hW(), e.g_hX(), e.g_hY()), g.g_Ad(), g.g_zX(); + } + }), + (e.g_aEY = class extends e { + constructor(g, _, e, a) { + super(), + (this.g_aFv = g), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(_), + this.g_qB.g_gZ(), + (this.g_aFt = e), + (this.g_aFu = a); + } + g_aED(_, a) { + _.g_Al(), _.g_qG(this.g_qB), _.g_z$(this.g_aFu), _.g_zW(this.g_aFt * a); + const t = this.g_aFv; + for (let n = 0, r = t.length; n < r; ++n) { + const e = (n + 1) % r, + s = t[n][0] * a, + g = t[n][1] * a, + d = t[e][0] * a, + i = t[e][1] * a; + _.g_zD(s, g, d, i); + } + _.g_Ad(), _.g_zX(); + } + }), + (e.g_aEV = class extends e { + constructor(_, a, t, n, r, e, s, g, d) { + super(), + (this.g_aFo = g_aO.g_ej(g_aO.Rect)), + this.g_aFo.set(_, a, t, n), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(r), + this.g_qB.g_gZ(), + (this.g_aFt = e), + (this.g_aFw = s), + (this.g_aFx = g), + (this.g_aFu = d); + } + g_aED(g, _) { + g.g_yZ(), g.g_zp(this.g_aFx), g.g_qG(this.g_qB), g.g_z$(this.g_aFu), g.g_zW(this.g_aFt * _); + const e = this.g_aFo, + a = g_aO.g_et(e.g_hV(), e.g_hW(), e.g_hX(), e.g_hY()) / (2 * this.g_aFw); + e.multiply(_, _), g.g_zH(e.g_hV(), e.g_hW(), e.g_hX(), e.g_hY(), 0, a), g.g_Ad(), g.g_zX(); + } + }), + (e.g_aEZ = class extends e { + constructor(g, _, a, t, n, e) { + super(), + (this.g_aFv = g), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(_), + this.g_qB.g_gZ(), + (this.g_aFt = a), + (this.g_aFw = t), + (this.g_aFx = n), + (this.g_aFu = e); + } + g_aED(_, a) { + _.g_yZ(), _.g_zp(this.g_aFx), _.g_qG(this.g_qB), _.g_z$(this.g_aFu), _.g_zW(this.g_aFt * a); + let t = 0; + const n = this.g_aFv; + for (let r = 0, e = n.length; r < e; ++r) { + const s = (r + 1) % e, + g = n[r][0], + d = n[r][1], + i = n[s][0], + o = n[s][1], + u = t + g_aO.g_et(g, d, i, o) / (2 * this.g_aFw); + _.g_zH(g * a, d * a, i * a, o * a, t, u), (t = u - Math.floor(u)); + } + _.g_Ad(), _.g_zX(); + } + }), + (e.g_aE_ = class extends e { + constructor(g, _) { + super(), + (this.g_aFv = g), + (this.g_qB = g_aO.g_ej(g_aO.g_gB)), + this.g_qB.g_g$(_), + this.g_qB.g_gZ(); + } + g_aED(g, _) { + g.g_Al(), g.g_qG(this.g_qB); + const t = this.g_aFv; + for (let n = 0, a = t.length; n < a; ++n) { + const g = t[n]; + (g[0] *= _), (g[1] *= _); + } + const e = self.g_aH; + if (e.g_aK(t)) { + e.g_aN(t), e.g_aL(t, g_aO.g_er(0.1)); + const _ = e.g_aJ(t); + for (const e of _) g.g_zC(e.flat()); + } + } + }), + (e.g_aE$ = class extends e { + constructor(g) { + super(), (this.g_aFy = g); + } + g_aED(g, _, e) { + e.g_aEp(this.g_aFy, g), e.g_aEt(g); + } + }), + (e.g_aFb = class extends e { + constructor(g, _) { + super(), (this.g_CX = g.map((g) => [g, g.g_GH('visual-state')])), (this.g_aFz = _); + } + g_aED(_, a, t) { + const s = t.g_BI().g_FO(), + u = t.g_CU().g_Em(), + e = u.g_EW(), + d = t.g_CU().g_Gi(), + E = t.g_aEw(), + h = 0 < t.g_rV(), + y = this.g_aFz, + g = (e.width() - d.width()) / -2, + i = (e.height() - d.height()) / -2, + [l, c] = u.g_GE(d.g_hV(), d.g_hW()); + s.g_aoI(l, c); + const n = d.g_hV() - e.g_hV(), + o = d.g_hW() - e.g_hW(), + p = g + n, + m = i + o; + u.g_FL(_, p, m); + for (let e = 0, g = this.g_CX.length; e < g; ++e) { + const a = this.g_CX[e], + t = a[0], + n = a[1]; + if (t.g_NL()) continue; + const r = t.g_CU(), + g = r.g_Gi(), + i = t.g_GH('visual-state'); + (t.g_GJ(n, 'visual-state'), r.g_Gi(), y && r.g_FH() && (!h || !r.g_Gd().g_amj())) + ? (g.offset(-p, -m), + u.g_Gb(t, r, _, E, { g_Js: () => u.g_FL(_, p, m) }) && u.g_FL(_, p, m), + r.g_En(), + r.g_Gi()) + : u.g_F$(t, r, _), + t.g_GJ(i, 'visual-state'); + } + s.g_aoI(0, 0), t.g_aEy(_), t.g_aEt(_); + } + }); +} +'use strict', + (g_aO.g_HY.g_aFA = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_aFA.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + function g(g, _) { + const e = []; + if ('function' == typeof _) for (let a = 0; a < g; ++a) e.push(_()); + else for (let a = 0; a < g; ++a) e.push(_); + return e; + } + function _(g, _, e) { + if (_ < g.length) g_aO.g_fy(g, _); + else if (_ > g.length) + if ('function' == typeof e) for (let a = g.length; a < _; ++a) g.push(e()); + else for (let a = g.length; a < _; ++a) g.push(e); + } + g_aO.g_HY.g_aFA.Instance = class extends g_aO.g_adT { + constructor(_, e) { + super(_), + (this.g_aFB = 10), + (this.g_aFC = 1), + (this.g_aFD = 1), + (this.g_jz = null), + (this.g_aFE = []), + (this.g_aFF = []), + (this.g_aFG = []), + (this.g_aFH = -1), + e && ((this.g_aFB = e[0]), (this.g_aFC = e[1]), (this.g_aFD = e[2])), + (this.g_jz = g(this.g_aFB, () => g(this.g_aFC, () => g(this.g_aFD, 0)))); + } + g_ek() { + (this.g_jz = null), super.g_ek(); + } + g_aFI(g, _, e) { + var t = Math.floor; + return ( + (g = t(g)), + (_ = t(_)), + (e = t(e)), + 0 <= g && g < this.g_aFB && 0 <= _ && _ < this.g_aFC && 0 <= e && e < this.g_aFD + ? this.g_jz[g][_][e] + : 0 + ); + } + Set(g, _, t, n) { + var i = Math.floor; + (g = i(g)), + (_ = i(_)), + (t = i(t)), + 0 <= g && + g < this.g_aFB && + 0 <= _ && + _ < this.g_aFC && + 0 <= t && + t < this.g_aFD && + (this.g_jz[g][_][t] = n); + } + g_wQ(a, t, n) { + var i = Math.floor; + if ( + ((a = i(a)), + (t = i(t)), + (n = i(n)), + 0 > a && (a = 0), + 0 > t && (t = 0), + 0 > n && (n = 0), + this.g_aFB !== a || this.g_aFC !== t || this.g_aFD !== n) + ) { + (this.g_aFB = a), (this.g_aFC = t), (this.g_aFD = n); + const e = this.g_jz; + _(e, a, () => g(t, () => g(n, 0))); + for (let i = 0; i < a; ++i) { + _(e[i], t, () => g(n, 0)); + for (let g = 0; g < t; ++g) _(e[i][g], n, 0); + } + } + } + g_pN() { + return this.g_aFB; + } + g_pO() { + return this.g_aFC; + } + g_aFJ() { + return this.g_aFD; + } + g_aep() { + const g = [ + { + title: 'plugins.arr.debugger.array-properties.title', + properties: [ + { + name: 'plugins.arr.properties.width.name', + value: this.g_aFB, + g_ayn: (g) => this.g_wQ(g, this.g_aFC, this.g_aFD) + }, + { + name: 'plugins.arr.properties.height.name', + value: this.g_aFC, + g_ayn: (g) => this.g_wQ(this.g_aFB, g, this.g_aFD) + }, + { + name: 'plugins.arr.properties.depth.name', + value: this.g_aFD, + g_ayn: (g) => this.g_wQ(this.g_aFB, this.g_aFC, g) + }, + { + name: 'plugins.arr.properties.elements.name', + value: this.g_aFB * this.g_aFC * this.g_aFD + } + ] + } + ], + _ = []; + if (1 === this.g_aFC && 1 === this.g_aFD) + for (let g = 0; g < this.g_aFB; ++g) + _.push({ + name: '$' + g, + value: this.g_jz[g][0][0], + g_ayn: (_) => (this.g_jz[g][0][0] = _) + }); + else + for (let g = 0; g < this.g_aFB; ++g) + _.push({ name: '$' + g, value: this.g_jz[g].toString() }); + return ( + _.length && g.push({ title: 'plugins.arr.debugger.array-data.title', properties: _ }), g + ); + } + g_aFK() { + return JSON.stringify({ + c2array: !0, + size: [this.g_aFB, this.g_aFC, this.g_aFD], + data: this.g_jz + }); + } + g_GH() { + return { size: [this.g_aFB, this.g_aFC, this.g_aFD], data: this.g_jz }; + } + g_GJ(g) { + const _ = g.size; + (this.g_aFB = _[0]), (this.g_aFC = _[1]), (this.g_aFD = _[2]), (this.g_jz = g.data); + } + g_aFL() { + return 0 <= this.g_aFH && this.g_aFH < this.g_aFE.length ? this.g_aFE[this.g_aFH] : 0; + } + g_aFM() { + return 0 <= this.g_aFH && this.g_aFH < this.g_aFF.length ? this.g_aFF[this.g_aFH] : 0; + } + g_aFN() { + return 0 <= this.g_aFH && this.g_aFH < this.g_aFG.length ? this.g_aFG[this.g_aFH] : 0; + } + g_adS() { + return g_aFO; + } + }; + const t = new WeakMap(); + self.g_aFO = class extends g_agH { + constructor() { + super(), t.set(this, g_agH.g_agN().g_Qd()); + } + get width() { + return t.get(this).g_pN(); + } + get height() { + return t.get(this).g_pO(); + } + get g_aFP() { + return t.get(this).g_aFJ(); + } + g_aFQ(g, _ = 1, a = 1) { + t.get(this).g_wQ(g, _, a); + } + g_aFR(g, _ = 0, e = 0) { + return t.get(this).g_aFI(g, _, e); + } + g_aFS(g, _, a = 0, n = 0) { + if ('number' != typeof g && 'string' != typeof g) throw new TypeError('invalid type'); + t.get(this).Set(_, a, n, g); + } + }; +} +{ + function _(g, _, a, t, n) { + g.g_WL(a), _.g__b(t, n), g.g_WM(a); + } + g_aO.g_HY.g_aFA.g_HW = { + g_abI(g, _, e) { + return g_aO.compare(this.g_aFI(g, 0, 0), _, e); + }, + g_aFT(g, _, e, a) { + return g_aO.compare(this.g_aFI(g, _, 0), e, a); + }, + g_aFU(g, _, a, t, n) { + return g_aO.compare(this.g_aFI(g, _, a), t, n); + }, + g_aFV(a) { + const t = this.g_Be, + r = t.g_ED(), + s = t.g_TT(), + e = s.g_UD(), + d = t.g_TB(), + u = d.g_TU(), + h = d.g_TZ(s), + i = ++this.g_aFH, + f = this.g_aFE, + E = this.g_aFF, + l = this.g_aFG, + g = this.g_aFB, + n = this.g_aFC, + o = this.g_aFD; + if ( + (i === this.g_aFE.length + ? (f.push(0), E.push(0), l.push(0)) + : ((f[i] = 0), (E[i] = 0), (l[i] = 0)), + t.g__o(!1), + 0 === a) + ) + for (let a = 0; a < g; ++a) + for (let t = 0; t < n; ++t) + for (let n = 0; n < o; ++n) (f[i] = a), (E[i] = t), (l[i] = n), _(r, s, e, u, h); + else if (1 === a) + for (let a = 0; a < g; ++a) + for (let g = 0; g < n; ++g) (f[i] = a), (E[i] = g), _(r, s, e, u, h); + else for (let a = 0; a < g; ++a) (f[i] = a), _(r, s, e, u, h); + return t.g__o(!0), this.g_aFH--, d.g_Ty(), !1; + }, + g_aFW(g, _) { + return g_aO.compare(this.g_aFI(this.g_aFL(), this.g_aFM(), this.g_aFN()), g, _); + }, + g_aFX(g) { + const _ = this.g_aFB, + a = this.g_aFC, + t = this.g_aFD, + n = this.g_jz; + for (let e = 0; e < _; ++e) + for (let _ = 0; _ < a; ++_) for (let a = 0; a < t; ++a) if (n[e][_][a] === g) return !0; + return !1; + }, + g_jC() { + return 0 === this.g_aFB || 0 === this.g_aFC || 0 === this.g_aFD; + }, + g_aFY(g, _, e) { + let a = 0; + return ( + 0 === g + ? (a = this.g_aFB) + : 1 === g + ? (a = this.g_aFC) + : 2 === g + ? (a = this.g_aFD) + : void 0, + g_aO.compare(a, _, e) + ); + } + }; +} +{ + function _(g, _) { + const e = []; + if ('function' == typeof _) for (let a = 0; a < g; ++a) e.push(_()); + else for (let a = 0; a < g; ++a) e.push(_); + return e; + } + function g(g, _) { + if ('number' == typeof g && 'number' == typeof _) return g - _; + else { + const e = g.toString(), + a = _.toString(); + return e < a ? -1 : e > a ? 1 : 0; + } + } + g_aO.g_HY.g_aFA.g_abH = { + g_js(g) { + const _ = this.g_aFB, + a = this.g_aFC, + t = this.g_aFD, + n = this.g_jz; + for (let e = 0; e < _; ++e) + for (let _ = 0; _ < a; ++_) for (let a = 0; a < t; ++a) n[e][_][a] = g; + }, + g_wQ(g, _, e) { + this.g_wQ(g, _, e); + }, + g_abn(g, _) { + this.Set(g, 0, 0, _); + }, + g_abq(g, _, e) { + this.Set(g, _, 0, e); + }, + g_aFZ(g, _, e, a) { + this.Set(g, _, e, a); + }, + g_TZ(t, n, a) { + const i = this.g_aFB, + e = this.g_aFC, + r = this.g_aFD, + g = this.g_jz; + if (0 === a) { + const a = _(e, () => _(r, n)); + 0 === t ? g.push(a) : g.unshift(a), this.g_aFB++; + } else if (1 === a) { + for (let a = 0; a < i; ++a) { + const i = _(r, n); + 0 === t ? g[a].push(i) : g[a].unshift(i); + } + this.g_aFC++; + } else { + for (let _ = 0; _ < i; ++_) + for (let a = 0; a < e; ++a) 0 === t ? g[_][a].push(n) : g[_][a].unshift(n); + this.g_aFD++; + } + }, + g_Ty(g, _) { + const a = this.g_aFB, + t = this.g_aFC, + n = this.g_aFD, + e = this.g_jz; + if (0 === _) { + if (0 === a) return; + 0 === g ? e.pop() : e.shift(), this.g_aFB--; + } else if (1 === _) { + if (0 === t) return; + for (let _ = 0; _ < a; ++_) 0 === g ? e[_].pop() : e[_].shift(); + this.g_aFC--; + } else { + if (0 === n) return; + for (let _ = 0; _ < a; ++_) + for (let a = 0; a < t; ++a) 0 === g ? e[_][a].pop() : e[_][a].shift(); + this.g_aFD--; + } + }, + g_aF_(g) { + const _ = this.g_aFB, + t = this.g_aFC, + a = this.g_aFD, + n = this.g_jz; + if (0 !== _ && 0 !== t && 0 !== a) + if (0 === g) n.reverse(); + else if (1 === g) for (let g = 0; g < _; ++g) n[g].reverse(); + else for (let g = 0; g < _; ++g) for (let _ = 0; _ < t; ++_) n[g][_].reverse(); + }, + g_aF$(_) { + const t = this.g_aFB, + n = this.g_aFC, + a = this.g_aFD, + e = this.g_jz; + if (0 !== t && 0 !== n && 0 !== a) + if (0 === _) e.sort((_, e) => g(_[0][0], e[0][0])); + else if (1 === _) for (let _ = 0; _ < t; ++_) e[_].sort((_, e) => g(_[0], e[0])); + else for (let _ = 0; _ < t; ++_) for (let a = 0; a < n; ++a) e[_][a].sort(g); + }, + g_jt(g, _) { + if (((g = Math.floor(g)), !(0 > g))) { + const a = this.g_aFB, + t = this.g_aFC, + n = this.g_aFD, + e = this.g_jz; + if (0 === _) { + if (g >= a) return; + e.splice(g, 1), this.g_aFB--; + } else if (1 === _) { + if (g >= t) return; + for (let _ = 0; _ < a; ++_) e[_].splice(g, 1); + this.g_aFC--; + } else { + if (g >= n) return; + for (let _ = 0; _ < a; ++_) for (let a = 0; a < t; ++a) e[_][a].splice(g, 1); + this.g_aFD--; + } + } + }, + g_Db(t, n, a) { + if (((n = Math.floor(n)), 0 > n)) return; + const i = this.g_aFB, + e = this.g_aFC, + r = this.g_aFD, + g = this.g_jz; + if (0 === a) { + if (n > i) return; + g.splice( + n, + 0, + _(e, () => _(r, t)) + ), + this.g_aFB++; + } else if (1 === a) { + if (n > e) return; + for (let e = 0; e < i; ++e) g[e].splice(n, 0, _(r, t)); + this.g_aFC++; + } else { + if (n > r) return; + for (let _ = 0; _ < i; ++_) for (let a = 0; a < e; ++a) g[_][a].splice(n, 0, t); + this.g_aFD++; + } + }, + g_aGa(g) { + let _ = null; + try { + _ = JSON.parse(g); + } catch (g) { + return void console.error('[Construct 3] Failed to parse JSON: ', g); + } + if (_.c2array) { + const g = _.size; + (this.g_aFB = g[0]), (this.g_aFC = g[1]), (this.g_aFD = g[2]), (this.g_jz = _.data); + } + }, + g_aGb(g) { + const _ = URL.createObjectURL(new Blob([this.g_aFK()], { type: 'application/json' })); + this.g_Be.g_af_(_, g); + } + }; +} +'use strict', + (g_aO.g_HY.g_aFA.g__$ = { + g_aFI(g, _, e) { + return this.g_aFI(g, _ || 0, e || 0); + }, + g_abW() { + return this.g_aFB; + }, + g_abX() { + return this.g_aFC; + }, + g_aGc() { + return this.g_aFD; + }, + g_aGd() { + return this.g_aFL(); + }, + g_aGe() { + return this.g_aFM(); + }, + g_aGf() { + return this.g_aFN(); + }, + g_aGg() { + return this.g_aFI(this.g_aFL(), this.g_aFM(), this.g_aFN()); + }, + g_mD() { + return this.g_aFI(0, 0, 0); + }, + g_aGh() { + return this.g_aFI(this.g_aFB - 1, 0, 0); + }, + g_aGi(g) { + const _ = this.g_jz; + for (let e = 0, a = this.g_aFB; e < a; ++e) if (_[e][0][0] === g) return e; + return -1; + }, + g_aGj(g) { + const _ = this.g_jz; + for (let e = this.g_aFB - 1; 0 <= e; --e) if (_[e][0][0] === g) return e; + return -1; + }, + g_acO() { + return this.g_aFK(); + } + }), + 'use strict', + (g_aO.g_HY.g_aGk = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict'; +{ + function g() { + return _.g_$i().g_Qd(); + } + g_aO.g_HY.g_aGk.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + g_adS() { + return g_aGl; + } + }; + let _ = null; + self.g_aGl = class extends g_agr { + constructor(g) { + super(g), (_ = g), (g.g_BI().g_afW().g_afX = this); + } + g_aGm(_) { + return g().g_aGn(_)[0]; + } + g_aGo(_) { + return g().g_aGn(_)[1]; + } + g_aGp(_) { + return g().g_aGn(_); + } + g_aGq(_) { + return g().g_aGr(_); + } + }; +} +'use strict', + (g_aO.g_HY.g_aGk.Instance = class extends g_aO.g_adT { + constructor(g) { + super(g, 'mouse'), + (this.g_aGs = [!1, !1, !1]), + (this.g_aGt = 0), + (this.g_aGu = 0), + (this.g_aGv = 0), + (this.g_aGw = 0), + (this.g_aGx = 0); + const _ = this.g_BI().g_lh(); + this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(_, 'pointermove', (g) => this.g_aGy(g.data)), + g_aO.g_lE.g_lJ(_, 'pointerdown', (g) => this.g_aGz(g.data)), + g_aO.g_lE.g_lJ(_, 'pointerup', (g) => this.g_aGA(g.data)), + g_aO.g_lE.g_lJ(_, 'dblclick', (g) => this.g_aGB(g.data)), + g_aO.g_lE.g_lJ(_, 'wheel', (g) => this.g_aGC(g.data)), + g_aO.g_lE.g_lJ(_, 'window-blur', () => this.g_arq()) + ); + } + g_ek() { + super.g_ek(); + } + g_aGz(g) { + 'mouse' !== g.pointerType || + ((this.g_aGt = g.clientX - this.g_Be.g_aeU()), + (this.g_aGu = g.clientY - this.g_Be.g_aeV()), + this.g_aGD(g.lastButtons, g.buttons)); + } + g_aGy(g) { + 'mouse' !== g.pointerType || + ((this.g_aGt = g.clientX - this.g_Be.g_aeU()), + (this.g_aGu = g.clientY - this.g_Be.g_aeV()), + this.g_aGD(g.lastButtons, g.buttons)); + } + g_aGA(g) { + 'mouse' !== g.pointerType || this.g_aGD(g.lastButtons, g.buttons); + } + g_aGD(g, _) { + this.g_aGE(g, _, 1, 0), this.g_aGE(g, _, 4, 1), this.g_aGE(g, _, 2, 2); + } + g_aGE(g, _, e, a) { + !(g & e) && _ & e ? this.g_aGF(a) : g & e && !(_ & e) && this.g_aGG(a); + } + g_aGF(g) { + (this.g_aGs[g] = !0), + this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGH), + (this.g_aGv = g), + (this.g_aGw = 0), + this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGI), + this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGJ); + } + g_aGG(g) { + this.g_aGs[g] && + ((this.g_aGs[g] = !1), (this.g_aGv = g), this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGK)); + } + g_aGB(g) { + (this.g_aGv = g.button), + (this.g_aGw = 1), + this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGI), + this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGJ); + } + g_aGC(g) { + (this.g_aGx = 0 > g.deltaY ? 1 : 0), this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGL); + } + g_arq() { + for (let g = 0, _ = this.g_aGs.length; g < _; ++g) { + if (!this.g_aGs[g]) return; + (this.g_aGs[g] = !1), (this.g_aGv = g), this.g_Ku(g_aO.g_HY.g_aGk.g_HW.g_aGK); + } + } + g_aGn(g) { + const _ = this.g_Be.g_Is(), + t = this.g_aGt, + n = this.g_aGu; + if ('undefined' == typeof g) { + const g = _.g_Ho(0); + return g.g_GB(t, n); + } else { + const a = _.g_Em(g); + return a ? a.g_Gr(t, n) : [0, 0]; + } + } + g_aGr(g) { + return (g = Math.floor(g)), !!this.g_aGs[g]; + } + g_aGM() { + return ( + 0 <= this.g_aGt && + 0 <= this.g_aGu && + this.g_aGt < this.g_Be.g_ar$() && + this.g_aGu < this.g_Be.g_asa() + ); + } + g_aep() { + return [ + { + title: 'plugins.mouse.name', + properties: [ + { + name: 'plugins.mouse.debugger.absolute-position', + value: this.g_aGt + ',' + this.g_aGu + }, + { name: 'plugins.mouse.debugger.left-button', value: this.g_aGs[0] }, + { name: 'plugins.mouse.debugger.middle-button', value: this.g_aGs[1] }, + { name: 'plugins.mouse.debugger.right-button', value: this.g_aGs[2] } + ] + }, + { + title: 'plugins.mouse.debugger.position-on-each-layer', + properties: this.g_Be + .g_Is() + .g_Hm() + .map((g) => ({ + name: '$' + g.g_pY(), + value: g.g_Gr(this.g_aGt, this.g_aGu).join(', ') + })) + } + ]; + } + }), + 'use strict', + (g_aO.g_HY.g_aGk.g_HW = { + g_aGI(g, _) { + return this.g_aGv === g && this.g_aGw === _; + }, + g_aGH() { + return !0; + }, + g_aGN(g) { + return this.g_aGs[g]; + }, + g_aGK(g) { + return this.g_aGv === g; + }, + g_aGO(g) { + if (!this.g_aGM()) return !1; + const _ = this.g_Be.g_VH(), + a = _.g_aaB(), + t = this.g_aGt, + n = this.g_aGu; + return g_aO.xor(this.g_Be.g_ahf().g_amD(g, t, n, a), a); + }, + g_aGJ(g, _, a) { + if (g !== this.g_aGv || _ !== this.g_aGw) return !1; + if (!this.g_aGM()) return !1; + const t = this.g_aGt, + n = this.g_aGu; + return this.g_Be.g_ahf().g_amD(a, t, n, !1); + }, + g_aGL(g) { + return this.g_aGx === g; + } + }), + 'use strict'; +{ + let g = null; + const _ = ['auto', 'pointer', 'text', 'crosshair', 'move', 'help', 'wait', 'none']; + g_aO.g_HY.g_aGk.g_abH = { + g_aGP(e) { + const a = _[e]; + g === a || ((g = a), this.g_aeg('cursor', a)); + }, + g_aGQ(_) { + if (g_aO.g_bJ.g_bU || !_) return; + const a = _.g_abA(); + if (!a) return; + const t = a.g_CU(), + n = a.g_Gg(); + t && + n && + g !== n && + ((g = n), + n + .g_ahT() + .then((g) => g_aO.g_cv(g)) + .then((g) => { + var _ = Math.round; + const e = URL.createObjectURL(g), + a = `url(${e}) ${_(t.g_QX() * n.g_pN())} ${_(t.g_QZ() * n.g_pO())}, auto`; + this.g_aeg('cursor', ''), this.g_aeg('cursor', a); + })); + } + }; +} +'use strict', + (g_aO.g_HY.g_aGk.g__$ = { + g_abR(g) { + return this.g_aGn(g)[0]; + }, + g_abS(g) { + return this.g_aGn(g)[1]; + }, + g_aGR() { + return this.g_aGt; + }, + g_aGS() { + return this.g_aGu; + } + }), + 'use strict', + (g_aO.g_HY.g_aGT = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_aGT.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() { + this.g_adQ().g_ahM(this.g_Be); + } + g_Hx(g) { + return this.g_adQ().g_CR(g, { g_qO: this.g_Be.g_FR(), g_qM: !0 }); + } + g_HD() { + this.g_adQ().g_wt(); + } + }), + 'use strict'; +{ + const _ = g_aO.g_ej(g_aO.Rect); + g_aO.g_HY.g_aGT.Instance = class extends g_aO.g_aeu { + constructor(g, _) { + super(g), (this.g_aGU = !0); + const e = g_aO.g_ej(g_aGV); + (this.g_aGW = e), + (e.g_aGX = () => this.g_aGY()), + (this.g_aGZ = null), + (this.g_aG_ = (g, _, a, t, n, e) => this.g_aG$(g, _, a, t, n, e)), + (this.g_aHa = (g) => this.g_aHb(g)), + (this.g_aHc = !0), + _ && + (e.g_aHd(_[0]), + e.g_aHe(g_aO.g_er(_[1])), + e.g_aHf(_[2] ? 'one-shot' : 'continuous-spray'), + this.g_aHg(this.g_Be.g_Ib(_[3])), + e.g_aHh(_[4]), + e.g_aHi(_[5]), + e.g_aHj(_[6] / 100), + e.g_aHk(_[7]), + e.g_aHl(_[8]), + e.g_aHm(_[9]), + e.g_aHn(_[10]), + e.g_aHo(_[11]), + e.g_aHp(_[12]), + e.g_aHq(_[13]), + e.g_aHr(_[14]), + e.g_aHs(_[15]), + e.g_aHt(_[16]), + e.g_aHu(_[17]), + e.g_aHv(_[18]), + e.g_aHw(_[19])), + this.g_aHx(), + this.g_aGZ && (this.g_aHc = !1), + 'one-shot' === e.g_aHy() ? e.g_aHz() : e.g_aHA(!0); + const a = this.g_CU(); + a.g_alG(!0), + this.g_b_.g_lh().addEventListener('bboxchange', () => { + a.g_alF(this.g_aGW.g_Gi()); + }), + this.g_ael(); + } + g_ek() { + this.g_aGW.g_ek(), + (this.g_aGW = null), + (this.g_aG_ = null), + (this.g_aHa = null), + super.g_ek(); + } + g_aHg(g) { + g === this.g_EA() && (g = null), + (this.g_aGZ = g), + (this.g_aGW.g_aHB = g ? (g) => this.g_aHC(g) : null), + this.g_aGZ || (this.g_aHc = !0); + } + g_aHx() { + const g = this.g_aGW, + _ = this.g_CU(); + g.g_aHD(_.g_zk()), + g.g_avp(this.g_Be.g_Gs()), + g.g_aHE(_.g_Ig()), + g.g_aHF(_.g_Ih()), + g.g_aHG(_.g_Fj()); + } + g_aGY() { + this.g_Be.g_EB(this.g_b_); + } + g_FN(a) { + if (this.g_aHc) { + const t = this.g_Tq.g_adQ(), + n = t.g_rQ(); + if (n) { + const i = this.g_CU(), + e = i.g_Em(), + r = _; + e.g_EX(i.g_Jg(), r), a.g_zp(n); + const g = e.g_EY(i.g_Jg()); + this.g_aGW.g_aHH(e.g_FM() * g), this.g_aGW.g_FN(a, t.g_xg(), r); + } + } + } + g_GH() { + const g = this.g_aGW; + return { + r: g.g_aHI(), + sc: g.g_aHJ(), + st: g.g_aHy(), + isp: g.g_aHK(), + isz: g.g_aHL(), + io: g.g_aHM(), + gr: g.g_aHN(), + xr: g.g_aHO(), + yr: g.g_aHP(), + spr: g.g_aHQ(), + szr: g.g_aHR(), + grnd: g.g_aHS(), + acc: g.g_aHT(), + g: g.g_aHU(), + lar: g.g_aHV(), + lsr: g.g_aHW(), + lor: g.g_aHX(), + dm: g.g_aHY(), + to: g.g_aHZ(), + s: g.g_aH_(), + pcc: g.g_aH$(), + ft: this.g_aGU, + p: g.g_aIa().map((g) => g.toJSON()) + }; + } + g_GJ(g) { + const _ = this.g_aGW; + _.g_aHd(g.r), + _.g_aHe(g.sc), + _.g_aHf(g.st), + _.g_aHh(g.isp), + _.g_aHi(g.isz), + _.g_aHj(g.io), + _.g_aHk(g.gr), + _.g_aHl(g.xr), + _.g_aHm(g.yr), + _.g_aHn(g.spr), + _.g_aHo(g.szr), + _.g_aHp(g.grnd), + _.g_aHq(g.acc), + _.g_aHr(g.g), + _.g_aHs(g.lar), + _.g_aHt(g.lsr), + _.g_aHu(g.lor), + _.g_aHv(g.dm), + _.g_aHw(g.to), + _.g_aHA(g.s), + _.g_aIb(g.pcc), + (this.g_aGU = g.ft); + const a = g.p; + _.g_aIc(a.length); + const t = _.g_aIa(); + for (let _ = 0, n = t.length; _ < n; ++_) t[_].g_hs(a[_]); + } + g_KZ() { + const g = this.g_Be.g_KW(this.g_b_); + this.g_aHx(), + this.g_aGU && 'one-shot' === this.g_aGW.g_aHy() && this.g_aGW.g_aId(), + this.g_aGW.g_KZ(g), + this.g_aGW.g_aH_() && this.g_Be.g_EV(), + this.g_CU().g_En(), + (this.g_aGU = !1); + } + g_aHC(g) { + const _ = this.g_Be.g_agB(this.g_aGZ, this.g_CU().g_Em(), g.g_Ig(), g.g_Ih()), + e = _.g_CU(); + return ( + e.g_wQ(g.g_jv(), g.g_jv()), + e.g_Fi(g.g_Fj()), + e.g_zm(g.g_zk()), + e.g_En(), + e.g_abB(this.g_Nj(), !0), + _.g_EI(), + g.g_aIe(this.g_aG_), + g.g_aIf(this.g_aHa), + _ + ); + } + g_aG$(_, a, t, n, i, e) { + if (!_.g_NL()) { + const r = _.g_CU(); + r.g_abt(a, t), + r.g_wQ(r.g_pN() + n, r.g_pO() + n), + r.g_Fi(r.g_Fj() + i), + r.g_zm(r.g_zk() + e), + r.g_En(); + } + } + g_aHb(g) { + g.g_NL() || this.g_Be.g_EB(g); + } + g_QF(g) { + const _ = this.g_aGW; + return 0 === g + ? _.g_aHI() + : 1 === g + ? g_aO.g_es(_.g_aHJ()) + : 2 === g + ? 'one-shot' === _.g_aHy() + ? 1 + : 0 + : 4 === g + ? _.g_aHK() + : 5 === g + ? _.g_aHL() + : 6 === g + ? 100 * _.g_aHM() + : 7 === g + ? _.g_aHN() + : 8 === g + ? _.g_aHO() + : 9 === g + ? _.g_aHP() + : 10 === g + ? _.g_aHQ() + : 11 === g + ? _.g_aHR() + : 12 === g + ? _.g_aHS() + : 13 === g + ? _.g_aHT() + : 14 === g + ? _.g_aHU() + : 15 === g + ? _.g_aHV() + : 16 === g + ? _.g_aHW() + : 17 === g + ? _.g_aHX() + : 18 === g + ? _.g_aHY() + : 19 === g + ? _.g_aHZ() + : void 0; + } + g_QM(g, _) { + const e = this.g_aGW; + 0 === g + ? e.g_aHd(_) + : 1 === g + ? e.g_aHe(g_aO.g_er(_)) + : 2 === g + ? e.g_aHf(_ ? 'one-shot' : 'continuous-spray') + : 4 === g + ? e.g_aHh(_) + : 5 === g + ? e.g_aHi(_) + : 6 === g + ? e.g_aHj(_ / 100) + : 7 === g + ? e.g_aHk(_) + : 8 === g + ? e.g_aHl(_) + : 9 === g + ? e.g_aHm(_) + : 10 === g + ? e.g_aHn(_) + : 11 === g + ? e.g_aHo(_) + : 12 === g + ? e.g_aHp(_) + : 13 === g + ? e.g_aHq(_) + : 14 === g + ? e.g_aHr(_) + : 15 === g + ? e.g_aHs(_) + : 16 === g + ? e.g_aHt(_) + : 17 === g + ? e.g_aHu(_) + : 18 === g + ? e.g_aHv(_) + : 19 === g + ? e.g_aHw(_) + : void 0; + } + g_aep() { + const g = this.g_aGW; + return [ + { + title: 'plugins.particles.name', + properties: [ + { name: 'plugins.particles.debugger.particle-count', value: g.g_aIg() }, + { + name: 'plugins.particles.properties.type.name', + value: ['plugins.particles.properties.type.items.' + g.g_aHy()] + }, + { + name: 'plugins.particles.debugger.is-spraying', + value: g.g_aH_(), + g_ayn: (_) => g.g_aHA(_) + }, + { + name: 'plugins.particles.properties.rate.name', + value: g.g_aHI(), + g_ayn: (_) => g.g_aHd(_) + }, + { + name: 'plugins.particles.properties.spray-cone.name', + value: g_aO.g_es(g.g_aHJ()), + g_ayn: (_) => g.g_aHe(g_aO.g_er(_)) + }, + { + name: 'plugins.particles.properties.speed.name', + value: g.g_aHK(), + g_ayn: (_) => g.g_aHh(_) + }, + { + name: 'plugins.particles.properties.size.name', + value: g.g_aHL(), + g_ayn: (_) => g.g_aHi(_) + }, + { + name: 'plugins.particles.properties.opacity.name', + value: g.g_aHM(), + g_ayn: (_) => g.g_aHj(_) + }, + { + name: 'plugins.particles.properties.grow-rate.name', + value: g.g_aHN(), + g_ayn: (_) => g.g_aHk(_) + }, + { + name: 'plugins.particles.properties.x-randomiser.name', + value: g.g_aHO(), + g_ayn: (_) => g.g_aHl(_) + }, + { + name: 'plugins.particles.properties.y-randomiser.name', + value: g.g_aHP(), + g_ayn: (_) => g.g_aHm(_) + }, + { + name: 'plugins.particles.properties.initial-speed-randomiser.name', + value: g.g_aHQ(), + g_ayn: (_) => g.g_aHn(_) + }, + { + name: 'plugins.particles.properties.size-randomiser.name', + value: g.g_aHR(), + g_ayn: (_) => g.g_aHo(_) + }, + { + name: 'plugins.particles.properties.grow-rate-randomiser.name', + value: g.g_aHS(), + g_ayn: (_) => g.g_aHp(_) + }, + { + name: 'plugins.particles.properties.acceleration.name', + value: g.g_aHT(), + g_ayn: (_) => g.g_aHq(_) + }, + { + name: 'plugins.particles.properties.gravity.name', + value: g.g_aHU(), + g_ayn: (_) => g.g_aHr(_) + }, + { + name: 'plugins.particles.properties.angle-randomiser.name', + value: g.g_aHV(), + g_ayn: (_) => g.g_aHs(_) + }, + { + name: 'plugins.particles.properties.life-speed-randomiser.name', + value: g.g_aHW(), + g_ayn: (_) => g.g_aHt(_) + }, + { + name: 'plugins.particles.properties.opacity-randomiser.name', + value: g.g_aHX(), + g_ayn: (_) => g.g_aHu(_) + }, + { + name: 'plugins.particles.properties.timeout.name', + value: g.g_aHZ(), + g_ayn: (_) => g.g_aHw(_) + } + ] + } + ]; + } + }; +} +'use strict', + (g_aO.g_HY.g_aGT.g_HW = { + g_aH_() { + return this.g_aGW.g_aH_(); + } + }), + 'use strict', + (g_aO.g_HY.g_aGT.g_abH = { + g_aHA(g) { + this.g_aGW.g_aHA(0 !== g); + }, + g_aHd(g) { + this.g_aGW.g_aHd(g), 'one-shot' === this.g_aGW.g_aHy() && this.g_aGU && this.g_aGW.g_aIc(g); + }, + g_aIh(g) { + this.g_aHg(g); + }, + g_aIi() { + this.g_aHg(null); + }, + g_aHe(g) { + this.g_aGW.g_aHe(g_aO.g_er(g)); + }, + g_aHh(g) { + this.g_aGW.g_aHh(g); + }, + g_aHi(g) { + this.g_aGW.g_aHi(g); + }, + g_aHj(g) { + this.g_aGW.g_aHj(g / 100); + }, + g_aHk(g) { + this.g_aGW.g_aHk(g); + }, + g_aIj(g) { + this.g_aGW.g_aHl(g); + }, + g_aIk(g) { + this.g_aGW.g_aHm(g); + }, + g_aIl(g) { + this.g_aGW.g_aHn(g); + }, + g_aIm(g) { + this.g_aGW.g_aHo(g); + }, + g_aIn(g) { + this.g_aGW.g_aHp(g); + }, + g_aIo(g) { + this.g_aGW.g_aHq(g); + }, + g_aHr(g) { + this.g_aGW.g_aHr(g); + }, + g_aIp(g) { + this.g_aGW.g_aHs(g); + }, + g_aIq(g) { + this.g_aGW.g_aHt(g); + }, + g_aIr(g) { + this.g_aGW.g_aHu(g); + }, + g_aHw(g) { + this.g_aGW.g_aHw(g); + }, + g_ayV(g) { + this.g_CU().g_Ex(g), this.g_Be.g_EV(); + } + }), + 'use strict', + (g_aO.g_HY.g_aGT.g__$ = { + g_aIs() { + return this.g_aGW.g_aIg(); + }, + g_aIt() { + return this.g_aGW.g_aHI(); + }, + g_aIu() { + return g_aO.g_es(this.g_aGW.g_aHJ()); + }, + g_aIv() { + return this.g_aGW.g_aHK(); + }, + g_aIw() { + return this.g_aGW.g_aHL(); + }, + g_aIx() { + return 100 * this.g_aGW.g_aHM(); + }, + g_aIy() { + return this.g_aGW.g_aHN(); + }, + g_aIz() { + return this.g_aGW.g_aHO(); + }, + g_aIA() { + return this.g_aGW.g_aHP(); + }, + g_aIB() { + return this.g_aGW.g_aHQ(); + }, + g_aIC() { + return this.g_aGW.g_aHS(); + }, + g_aID() { + return this.g_aGW.g_aHT(); + }, + g_aIE() { + return this.g_aGW.g_aHU(); + }, + g_aIF() { + return this.g_aGW.g_aHV(); + }, + g_aIG() { + return this.g_aGW.g_aHW(); + }, + g_aIH() { + return this.g_aGW.g_aHX(); + }, + g_aII() { + return this.g_aGW.g_aHZ(); + } + }), + 'use strict'; +{ + function _(g) { + return Math.random() * g - g / 2; + } + const t = new g_aO.g_iu(), + a = new g_aO.g_gB(), + n = self.devicePixelRatio || 1; + let r = !1; + self.g_aIJ = class { + constructor(g) { + (this.g_aIK = g), + (this.g_lB = !1), + (this.g_hB = 0), + (this.g_hC = 0), + (this.g_ahV = 0), + (this.g_DF = 0), + (this.g_aIL = 1), + (this.g_aIM = 0), + (this.g_aIN = 0), + (this.g_CF = 0), + (this.g_aIO = 0), + (this.g_aIP = 0), + (this.g_aIQ = 0), + (this.g_ja = new g_aO.Rect()), + (this.g_aIR = null), + (this.g_aIS = null), + (this.g_aIT = null); + } + g_aIU(g) { + this.g_aIK = g; + } + g_akw(g) { + (this.g_lB = !0), + (this.g_hB = this.g_aIK.g_aIV() + _(this.g_aIK.g_aHO())), + (this.g_hC = this.g_aIK.g_aIW() + _(this.g_aIK.g_aHP())), + (this.g_ahV = this.g_aIK.g_aHK() + _(this.g_aIK.g_aHQ())), + (this.g_DF = this.g_aIK.g_aIX() + _(this.g_aIK.g_aHJ())), + (this.g_aIL = this.g_aIK.g_aHM()), + (this.g_aIM = this.g_aIL), + (this.g_CF = this.g_aIK.g_aHL() + _(this.g_aIK.g_aHR())), + (this.g_aIO = this.g_CF / 2), + (this.g_aIN = this.g_aIK.g_aHN() + _(this.g_aIK.g_aHS())), + (this.g_aIP = 0), + (this.g_aIQ = 0), + this.g_aIY(), + g + ? !this.g_aIR && (this.g_aIR = g(this)) + : ((this.g_aIR = null), (this.g_aIS = null), (this.g_aIT = null)); + } + g_aIe(g) { + this.g_aIS = g; + } + g_aIf(g) { + this.g_aIT = g; + } + g_acM() { + const g = this.g_aIT; + g && g(this.g_aIR), (this.g_aIR = null), (this.g_aIS = null), (this.g_aIT = null); + } + toJSON() { + return [ + this.g_hB, + this.g_hC, + this.g_ahV, + this.g_DF, + this.g_aIL, + this.g_aIN, + this.g_CF, + this.g_aIP, + this.g_aIQ + ]; + } + g_hs(g) { + (this.g_hB = g[0]), + (this.g_hC = g[1]), + (this.g_ahV = g[2]), + (this.g_DF = g[3]), + (this.g_aIL = g[4]), + (this.g_aIN = g[5]), + (this.g_CF = g[6]), + (this.g_aIP = g[7]), + (this.g_aIQ = g[8]), + (this.g_aIO = this.g_CF / 2), + this.g_aIY(); + } + g_KZ(t) { + const r = this.g_aIK, + s = this.g_ahV * t, + e = this.g_DF, + d = Math.cos(e) * s, + a = Math.sin(e) * s + this.g_aIP * t; + (this.g_hB += d), (this.g_hC += a); + const g = this.g_aIN * t; + (this.g_CF += g), + (this.g_aIO = this.g_CF / 2), + (this.g_ahV += r.g_aHT() * t), + (this.g_aIP += r.g_aHU() * t), + (this.g_aIQ += t), + this.g_aIY(); + const o = r.g_aHV(), + i = r.g_aHW(), + u = r.g_aHX(); + let p = 0; + 0 !== o && ((p = _(o * t)), (this.g_DF += p)), + 0 !== i && (this.g_ahV += _(i * t)), + 0 !== u && (this.g_aIL = g_aO.g_ep(this.g_aIL + _(u * t), 0, 1)); + const h = 1 <= this.g_CF && (2 === r.g_aHY() ? 0 < this.g_ahV : this.g_aIQ < r.g_aHZ()), + f = this.g_aIS; + if (f && h) { + let _ = r.g_aIZ() * this.g_aIL; + 0 === r.g_aHY() && (_ *= 1 - this.g_aIQ / r.g_aHZ()); + const e = _ - this.g_aIM; + (this.g_aIM = _), f(this.g_aIR, d, a, g, p, e); + } + this.g_lB = h; + } + g_Yd() { + return this.g_lB; + } + g_Gi() { + return this.g_ja; + } + g_aIY() { + const g = this.g_hB, + _ = this.g_hC, + e = this.g_aIO; + this.g_ja.set(g - e, _ - e, g + e, _ + e); + } + g_FN(_, e) { + if (this.g_aIR) return; + const s = this.g_aIK; + let g = s.g_aIZ() * this.g_aIL; + if ((0 === s.g_aHY() && (g *= 1 - this.g_aIQ / s.g_aHZ()), 0 >= g)) return; + const d = this.g_CF, + i = d * s.g_aI_() * n; + if (1 > i) return; + let o = this.g_hB, + u = this.g_hC; + s.g_aI$() && ((o = 0 | (o + 0.5)), (u = 0 | (u + 0.5))), + i > _.g_AX() || i < _.g_AW() + ? (a.g_p(s.g_zo()), a.g_gY(g), _.g_qG(a), (r = !0), t.g_iO(this.g_ja), _.g_zy(t, e)) + : (r && (_.g_qG(s.g_zo()), (r = !1)), _.g_Aj(o, u, i, g)); + } + g_aJa() { + return this.g_aIR; + } + g_Ig() { + return this.g_hB; + } + g_Ih() { + return this.g_hC; + } + g_jv() { + return this.g_CF; + } + g_Fj() { + return this.g_DF; + } + g_zk() { + return this.g_aIL; + } + }; +} +{ + const _ = [], + g = new Set(['continuous-spray', 'one-shot']), + e = ['fade-to-invisible', 'timeout-expired', 'particle-stopped']; + self.g_aGV = class { + constructor() { + (this.g_aJb = 0), + (this.g_aJc = 0), + (this.g_aJd = 'continuous-spray'), + (this.g_aJe = !1), + (this.g_aJf = 0), + (this.g_aJg = !1), + (this.g_aJh = 0), + (this.g_aJi = 0), + (this.g_aJj = 0), + (this.g_aJk = 0), + (this.g_aJl = 0), + (this.g_aJm = 0), + (this.g_aJn = 0), + (this.g_aJo = 0), + (this.g_aJp = 0), + (this.g_aJq = 0), + (this.g_aJr = 0), + (this.g_aJs = 0), + (this.g_aJt = 0), + (this.g_aJu = 0), + (this.g_aJv = 0), + (this.g_aJw = 0), + (this.g_aJx = 0), + (this.g_aJy = 0), + (this.g_lz = 0), + (this.g_aJz = 0), + (this.g_aJA = 1), + (this.g_aGX = null), + (this.g_aHB = null), + (this.g_aJB = []), + (this.g_ale = new g_aO.Rect()), + (this.g_qB = new g_aO.g_gB()); + } + g_ek() { + this.g_lD(), + g_aO.g_fz(this.g_aJB), + (this.g_aJB = null), + (this.g_aGX = null), + (this.g_aHB = null), + (this.g_ale = null), + (this.g_ale = null), + (this.g_qB = null); + } + g_lD() { + const g = this.g_aJB; + for (let _ = 0, e = g.length; _ < e; ++_) g[_].g_acM(); + g_aO.g_ee(_, g), g_aO.g_fz(g), 1e3 < _.length && g_aO.g_fy(_, 1e3), (this.g_aJe = !1); + } + g_aHz() { + for (let g = 0, _ = this.g_aJb; g < _; ++g) this.g_aJC(); + this.g_aJB.length && (this.g_aJe = !0); + } + g_aJC() { + let g = null; + return ( + _.length ? ((g = _.pop()), g.g_aIU(this)) : (g = g_aO.g_ej(g_aIJ, this)), + this.g_aJB.push(g), + g.g_akw(this.g_aHB), + g + ); + } + g_aId() { + const g = this.g_aJB, + _ = this.g_aHB; + for (let e = 0, a = g.length; e < a; ++e) g[e].g_akw(_); + } + g_aIc(g) { + const e = this.g_aJB; + if (g < e.length) { + const a = e.length - g; + for (let g = 0; g < a; ++g) { + const g = e.pop(); + g.g_acM(), _.push(g); + } + 1e3 < _.length && g_aO.g_fy(_, 1e3); + } else if (g > e.length) { + const _ = g - e.length; + for (let g = 0; g < _; ++g) this.g_aJC(); + } + } + g_aIa() { + return this.g_aJB; + } + g_aIg() { + return this.g_aJB.length; + } + g_KZ(g) { + this.g_aJD(g), this.g_aJE(g), this.g_aJF(); + } + g_aJD(g) { + if ('continuous-spray' === this.g_aJd && this.g_aJe) { + this.g_aJz += g * this.g_aJb; + const _ = Math.floor(this.g_aJz); + this.g_aJz -= _; + for (let g = 0; g < _; ++g) this.g_aJC(); + } + } + g_aIb(g) { + this.g_aJz = g; + } + g_aH$() { + return this.g_aJz; + } + g_aJE(a) { + const t = this.g_ale; + t.set(this.g_aJh, this.g_aJi, this.g_aJh, this.g_aJi); + const n = this.g_aJB; + let i = 0; + for (let e = 0, r = n.length; e < r; ++e) { + const r = n[e]; + (n[i] = r), r.g_KZ(a), r.g_Yd() ? (++i, t.g_is(r.g_Gi())) : (r.g_acM(), _.push(r)); + } + g_aO.g_fy(n, i), 1e3 < _.length && g_aO.g_fy(_, 1e3); + } + g_aJF() { + 'one-shot' === this.g_aJd && + 0 === this.g_aJB.length && + this.g_aJe && + (this.g_aGX && this.g_aGX(), (this.g_aJe = !1)); + } + g_FN(g, _, a) { + g.g_Ai(_), this.g_qB.g_p(g.g_zo()); + const t = this.g_aJB; + for (let n = 0, e = t.length; n < e; ++n) { + const e = t[n]; + a.g_io(e.g_Gi()) && e.g_FN(g, _); + } + } + g_zo() { + return this.g_qB; + } + g_aHd(g) { + this.g_aJb = +g; + } + g_aHI() { + return this.g_aJb; + } + g_aHe(g) { + this.g_aJc = +g; + } + g_aHJ() { + return this.g_aJc; + } + g_aHf(_) { + if (!g.has(_)) throw new Error('invalid spray type'); + this.g_aJd = _; + } + g_aHy() { + return this.g_aJd; + } + g_aHA(g) { + this.g_aJe = !!g; + } + g_aH_() { + return this.g_aJe; + } + g_aHD(g) { + this.g_aJf = +g; + } + g_aIZ() { + return this.g_aJf; + } + g_avp(g) { + this.g_aJg = !!g; + } + g_aI$() { + return this.g_aJg; + } + g_aHE(g) { + this.g_aJh = +g; + } + g_aIV() { + return this.g_aJh; + } + g_aHF(g) { + this.g_aJi = +g; + } + g_aIW() { + return this.g_aJi; + } + g_aHG(g) { + this.g_aJj = +g; + } + g_aIX() { + return this.g_aJj; + } + g_aHh(g) { + this.g_aJk = +g; + } + g_aHK() { + return this.g_aJk; + } + g_aHi(g) { + this.g_aJl = +g; + } + g_aHL() { + return this.g_aJl; + } + g_aHj(g) { + this.g_aJm = +g; + } + g_aHM() { + return this.g_aJm; + } + g_aHk(g) { + this.g_aJn = +g; + } + g_aHN() { + return this.g_aJn; + } + g_aHl(g) { + this.g_aJo = +g; + } + g_aHO() { + return this.g_aJo; + } + g_aHm(g) { + this.g_aJp = +g; + } + g_aHP() { + return this.g_aJp; + } + g_aHn(g) { + this.g_aJq = +g; + } + g_aHQ() { + return this.g_aJq; + } + g_aHo(g) { + this.g_aJr = +g; + } + g_aHR() { + return this.g_aJr; + } + g_aHp(g) { + this.g_aJs = +g; + } + g_aHS() { + return this.g_aJs; + } + g_aHq(g) { + this.g_aJt = +g; + } + g_aHT() { + return this.g_aJt; + } + g_aHr(g) { + this.g_aJu = +g; + } + g_aHU() { + return this.g_aJu; + } + g_aHs(g) { + this.g_aJv = +g; + } + g_aHV() { + return this.g_aJv; + } + g_aHt(g) { + this.g_aJw = +g; + } + g_aHW() { + return this.g_aJw; + } + g_aHu(g) { + this.g_aJx = +g; + } + g_aHX() { + return this.g_aJx; + } + g_aJG(g) { + let _ = e.indexOf(g); + if (-1 === _) throw new Error('invalid destroy mode'); + this.g_aJy = _; + } + g_aHv(g) { + this.g_aJG(e[g]); + } + g_aJH() { + return e[this.g_aJy]; + } + g_aHY() { + return this.g_aJy; + } + g_aHw(g) { + this.g_lz = +g; + } + g_aHZ() { + return this.g_lz; + } + g_aHH(g) { + this.g_aJA = +g; + } + g_aI_() { + return this.g_aJA; + } + g_Gi() { + return this.g_ale; + } + }; +} +'use strict', + (g_aO.g_HY.Touch = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict'; +{ + function g() { + return _.g_$i().g_Qd(); + } + g_aO.g_HY.Touch.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + g_adS() { + return g_aJI; + } + }; + let _ = null; + self.g_aJI = class extends g_agr { + constructor(g) { + super(g), (_ = g), (g.g_BI().g_afW().g_afY = this); + } + requestPermission(_) { + const e = g(); + if ('orientation' === _) return e.g_aJJ(0); + if ('motion' === _) return e.g_aJJ(1); + throw new Error('invalid type'); + } + }; +} +'use strict', + (g_aO.g_HY.Touch.Instance = class extends g_aO.g_adT { + constructor(g, _) { + super(g, 'touch'), + (this.g_aJK = new Map()), + (this.g_aJL = !1), + (this.g_aJM = !1), + (this.g_aJN = 0), + (this.g_aJO = 0), + (this.g_aJP = 0), + (this.g_aJQ = 0), + (this.g_aJR = 0), + (this.g_aJS = 0), + (this.g_aJT = 0), + (this.g_aJU = 0), + (this.g_aJV = 0), + (this.g_aJW = 0), + (this.g_aJX = 0), + (this.g_aJY = 0), + (this.g_aJZ = 0), + (this.g_aJ_ = 0), + (this.g_aJ$ = 0), + (this.g_aKa = []), + _ && (this.g_aJL = _[0]), + this.g_aee('permission-result', (g) => this.g_aKb(g)); + const e = this.g_BI().g_lh(); + this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(e, 'pointerdown', (g) => this.g_aGz(g.data)), + g_aO.g_lE.g_lJ(e, 'pointermove', (g) => this.g_aGy(g.data)), + g_aO.g_lE.g_lJ(e, 'pointerup', (g) => this.g_aGA(g.data, !1)), + g_aO.g_lE.g_lJ(e, 'pointercancel', (g) => this.g_aGA(g.data, !0)), + g_aO.g_lE.g_lJ(e, 'deviceorientation', (g) => this.g_aKc(g.data)), + g_aO.g_lE.g_lJ(e, 'devicemotion', (g) => this.g_aKd(g.data)), + g_aO.g_lE.g_lJ(e, 'tick2', () => this.g_JZ()) + ); + } + g_ek() { + this.g_aJK.clear(), super.g_ek(); + } + g_aGz(_) { + if ('mouse' === _.pointerType) + if (this.g_aJL) this.g_aJM = !0; + else return; + const a = _.pointerId; + if (!this.g_aJK.has(a)) { + const t = _.clientX - this.g_Be.g_aeU(), + n = _.clientY - this.g_Be.g_aeV(), + i = _.timeStamp, + e = this.g_aJK.size; + (this.g_aJW = e), (this.g_aJX = a); + const r = g_aO.g_ej(g_aO.g_HY.Touch.g_aKe); + r.g_akw(i, t, n, a, e), + this.g_aJK.set(a, r), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKf), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKg), + (this.g_aJZ = t), + (this.g_aJ_ = n), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKh); + } + } + g_aGy(g) { + if ('mouse' !== g.pointerType || this.g_aJM) { + const _ = this.g_aJK.get(g.pointerId); + if (_) { + const a = g.timeStamp; + if (!(2 > a - _.g_MJ())) { + const t = g.clientX - this.g_Be.g_aeU(), + n = g.clientY - this.g_Be.g_aeV(); + _.g_Dl(a, t, n, g.width, g.height, g.pressure); + } + } + } + } + g_aGA(g, _) { + if ('mouse' === g.pointerType) + if (this.g_aJM) this.g_aJM = !1; + else return; + const t = g.timeStamp, + a = g.pointerId, + n = this.g_aJK.get(a); + if (n) { + if ( + ((this.g_aJW = n.g_aKi()), + (this.g_aJX = n.g_LW()), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKj), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKk), + !_) + ) { + const g = n.g_aKl(t); + 'single-tap' === g + ? (this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKm), + (this.g_aJZ = n.g_Ig()), + (this.g_aJ_ = n.g_Ih()), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKn)) + : 'double-tap' === g && + (this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKo), + (this.g_aJZ = n.g_Ig()), + (this.g_aJ_ = n.g_Ih()), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKp)); + } + n.g_ek(), this.g_aJK.delete(a); + } + } + g_aJJ(g) { + return ( + this.g_aej('request-permission', { type: g }), + new Promise((_, e) => { + this.g_aKa.push({ type: g, resolve: _, reject: e }); + }) + ); + } + g_aKb(g) { + const _ = g.result, + e = g.type; + this.g_aJY = e; + const a = this.g_aKa.filter((g) => g.type === e); + for (const e of a) e.resolve(_ ? 'granted' : 'denied'); + (this.g_aKa = this.g_aKa.filter((g) => g.type !== e)), + _ + ? (this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKq), 0 === e ? this.g_Be.g_atv() : this.g_Be.g_atw()) + : this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKr); + } + g_aKc(g) { + (this.g_aJN = g.alpha), (this.g_aJO = g.beta), (this.g_aJP = g.gamma); + } + g_aKd(g) { + const _ = g.acceleration; + _ && ((this.g_aJQ = _.x), (this.g_aJR = _.y), (this.g_aJS = _.z)); + const e = g.accelerationIncludingGravity; + e && ((this.g_aJT = e.x), (this.g_aJU = e.y), (this.g_aJV = e.z)); + } + g_JZ() { + const g = performance.now(); + let _ = 0; + for (const e of this.g_aJK.values()) + e.g_MJ() <= g - 50 && e.g_aKs(g), + e.g_aKt(g) && + ((this.g_aJW = e.g_aKi()), + (this.g_aJX = e.g_LW()), + (this.g_aJ$ = _), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKu), + (this.g_aJZ = e.g_Ig()), + (this.g_aJ_ = e.g_Ih()), + this.g_Ku(g_aO.g_HY.Touch.g_HW.g_aKv), + (this.g_aJ$ = 0)), + ++_; + } + g_aKw(g) { + g = Math.floor(g); + for (const _ of this.g_aJK.values()) { + if (0 === g) return _; + --g; + } + return null; + } + g_aKx(g, _) { + return 0 <= g && 0 <= _ && g < this.g_Be.g_ar$() && _ < this.g_Be.g_asa(); + } + g_aep() { + return [ + { + title: 'plugins.touch.debugger.touches', + properties: [...this.g_aJK.values()].map((g) => ({ + name: '$' + g.g_LW(), + value: g.g_Ig() + ', ' + g.g_Ih() + })) + } + ]; + } + }), + 'use strict'; +{ + const g = []; + g_aO.g_HY.Touch.g_HW = { + g_aKg() { + return !0; + }, + g_aKk() { + return !0; + }, + g_aKy() { + return 0 < this.g_aJK.size; + }, + g_aKh(g) { + return ( + !!g && + !!this.g_aKx(this.g_aJZ, this.g_aJ_) && + this.g_Be.g_ahf().g_amD(g, this.g_aJZ, this.g_aJ_, !1) + ); + }, + g_aKz(_) { + if (!_) return !1; + const e = _.g_Tu(), + a = e.g_H$(); + for (const e of a) { + const _ = e.g_CU(), + a = _.g_Em(); + for (const t of this.g_aJK.values()) { + if (!this.g_aKx(t.g_Ig(), t.g_Ih())) continue; + const [n, i] = a.g_Gr(t.g_Ig(), t.g_Ih(), _.g_Jg()); + if (_.g_ahc(n, i)) { + g.push(e); + break; + } + } + } + return !!g.length && (e.g_TQ(g), _.g_aaH(), g_aO.g_fz(g), !0); + }, + g_aKA(g, _, e) { + const a = this.g_aKw(g); + return !!a && g_aO.compare(a.g_aie(), _, e); + }, + g_aKB() { + return !0; + }, + g_aKC() { + return !0; + }, + g_aKD(g, _, e) { + this.g_Be.g_atv(); + let t = 0; + return (t = 0 === g ? this.g_aJN : 1 === g ? this.g_aJO : this.g_aJP), g_aO.compare(t, _, e); + }, + g_aKE(g, _, e) { + this.g_Be.g_atw(); + let a = 0; + return ( + (a = + 0 === g + ? this.g_aJT + : 1 === g + ? this.g_aJU + : 2 === g + ? this.g_aJV + : 3 === g + ? this.g_aJQ + : 4 === g + ? this.g_aJR + : this.g_aJS), + g_aO.compare(a, _, e) + ); + }, + g_aKf(g) { + return (g = Math.floor(g)), g === this.g_aJW; + }, + g_aKj(g) { + return (g = Math.floor(g)), g === this.g_aJW; + }, + g_aKF(g) { + return (g = Math.floor(g)), this.g_aJK.size >= g + 1; + }, + g_aKu() { + return !0; + }, + g_aKm() { + return !0; + }, + g_aKo() { + return !0; + }, + g_aKv(g) { + return ( + !!g && + !!this.g_aKx(this.g_aJZ, this.g_aJ_) && + this.g_Be.g_ahf().g_amD(g, this.g_aJZ, this.g_aJ_, !1) + ); + }, + g_aKn(g) { + return ( + !!g && + !!this.g_aKx(this.g_aJZ, this.g_aJ_) && + this.g_Be.g_ahf().g_amD(g, this.g_aJZ, this.g_aJ_, !1) + ); + }, + g_aKp(g) { + return ( + !!g && + !!this.g_aKx(this.g_aJZ, this.g_aJ_) && + this.g_Be.g_ahf().g_amD(g, this.g_aJZ, this.g_aJ_, !1) + ); + }, + g_aKq(g) { + return this.g_aJY === g; + }, + g_aKr(g) { + return this.g_aJY === g; + } + }; +} +'use strict', + (g_aO.g_HY.Touch.g_abH = { + g_aKG(g) { + this.g_aJJ(g); + } + }), + 'use strict', + (g_aO.g_HY.Touch.g__$ = { + g_aKH() { + return this.g_aJK.size; + }, + g_abR(g) { + const _ = this.g_aKw(this.g_aJ$); + return _ ? _.g_aKI(this.g_Be.g_ZC(), g, !0) : 0; + }, + g_abS(g) { + const _ = this.g_aKw(this.g_aJ$); + return _ ? _.g_aKI(this.g_Be.g_ZC(), g, !1) : 0; + }, + g_aKJ(g, _) { + const e = this.g_aKw(g); + return e ? e.g_aKI(this.g_Be.g_ZC(), _, !0) : 0; + }, + g_aKK(g, _) { + const e = this.g_aKw(g); + return e ? e.g_aKI(this.g_Be.g_ZC(), _, !1) : 0; + }, + g_aKL(g, _) { + const e = this.g_aJK.get(g); + return e ? e.g_aKI(this.g_Be.g_ZC(), _, !0) : 0; + }, + g_aKM(g, _) { + const e = this.g_aJK.get(g); + return e ? e.g_aKI(this.g_Be.g_ZC(), _, !1) : 0; + }, + g_aGR() { + const g = this.g_aKw(0); + return g ? g.g_Ig() : 0; + }, + g_aGS() { + const g = this.g_aKw(0); + return g ? g.g_Ih() : 0; + }, + g_aKN(g) { + const _ = this.g_aKw(g); + return _ ? _.g_Ig() : 0; + }, + g_aKO(g) { + const _ = this.g_aKw(g); + return _ ? _.g_Ih() : 0; + }, + g_aKP(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_Ig() : 0; + }, + g_aKQ(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_Ih() : 0; + }, + g_aKR(g) { + const _ = this.g_aKw(g); + return _ ? _.g_aie() : 0; + }, + g_aKS(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_aie() : 0; + }, + g_aKT(g) { + const _ = this.g_aKw(g); + return _ ? g_aO.g_es(_.g_Fj()) : 0; + }, + g_aKU(g) { + const _ = this.g_aJK.get(g); + return _ ? g_aO.g_es(_.g_Fj()) : 0; + }, + g_aKV() { + return this.g_Be.g_atv(), this.g_aJN; + }, + g_aKW() { + return this.g_Be.g_atv(), this.g_aJO; + }, + g_aKX() { + return this.g_Be.g_atv(), this.g_aJP; + }, + g_aKY() { + return this.g_Be.g_atw(), this.g_aJT; + }, + g_aKZ() { + return this.g_Be.g_atw(), this.g_aJU; + }, + g_aK_() { + return this.g_Be.g_atw(), this.g_aJV; + }, + g_aK$() { + return this.g_Be.g_atw(), this.g_aJQ; + }, + g_aLa() { + return this.g_Be.g_atw(), this.g_aJR; + }, + g_aLb() { + return this.g_Be.g_atw(), this.g_aJS; + }, + g_aLc() { + return this.g_aJW; + }, + g_aLd() { + return this.g_aJX; + }, + g_aLe(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_pN() : 0; + }, + g_aLf(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_pO() : 0; + }, + g_aLg(g) { + const _ = this.g_aJK.get(g); + return _ ? _.g_aLh() : 0; + } + }), + 'use strict'; +{ + const _ = 15; + let g = -1e3, + a = -1e3, + t = -1e4; + g_aO.g_HY.Touch.g_aKe = class extends g_aO.g_eh { + constructor() { + super(), + (this.g_aLi = 0), + (this.g_uv = 0), + (this.g_aqI = 0), + (this.g_RW = 0), + (this.g_aLj = 0), + (this.g_aLk = 0), + (this.g_aLl = 0), + (this.g_hB = 0), + (this.g_hC = 0), + (this.g_aLm = 0), + (this.g_aLn = 0), + (this.g_pu = 0), + (this.g_pv = 0), + (this.g_aLo = 0), + (this.g_aLp = !1), + (this.g_aLq = !1); + } + g_ek() {} + g_akw(g, _, a, t, n) { + (this.g_aLi = t), + (this.g_uv = n), + (this.g_RW = g), + (this.g_aLj = g), + (this.g_aqI = g), + (this.g_aLk = _), + (this.g_aLl = a), + (this.g_hB = _), + (this.g_hC = a), + (this.g_aLm = _), + (this.g_aLn = a); + } + g_Dl(a, t, n, i, e, r) { + (this.g_aLj = this.g_RW), + (this.g_RW = a), + (this.g_aLm = this.g_hB), + (this.g_aLn = this.g_hC), + (this.g_hB = t), + (this.g_hC = n), + (this.g_pu = i), + (this.g_pv = e), + (this.g_aLo = r), + !this.g_aLq && + g_aO.g_et(this.g_aLk, this.g_aLl, this.g_hB, this.g_hC) >= _ && + (this.g_aLq = !0); + } + g_LW() { + return this.g_aLi; + } + g_aKi() { + return this.g_uv; + } + g_MJ() { + return this.g_RW; + } + g_aKs(g) { + this.g_aLj = g; + } + g_Ig() { + return this.g_hB; + } + g_Ih() { + return this.g_hC; + } + g_aie() { + const g = g_aO.g_et(this.g_hB, this.g_hC, this.g_aLm, this.g_aLn), + _ = (this.g_RW - this.g_aLj) / 1e3; + return 0 < _ ? g / _ : 0; + } + g_Fj() { + return g_aO.g_ev(this.g_aLm, this.g_aLn, this.g_hB, this.g_hC); + } + g_pN() { + return this.g_pu; + } + g_pO() { + return this.g_pv; + } + g_aLh() { + return this.g_aLo; + } + g_aKt(g) { + return ( + !this.g_aLp && + !!( + 500 <= g - this.g_aqI && + !this.g_aLq && + g_aO.g_et(this.g_aLk, this.g_aLl, this.g_hB, this.g_hC) < _ + ) && + ((this.g_aLp = !0), !0) + ); + } + g_aKl(n) { + return this.g_aLp + ? '' + : 333 >= n - this.g_aqI && + !this.g_aLq && + g_aO.g_et(this.g_aLk, this.g_aLl, this.g_hB, this.g_hC) < _ + ? 666 >= n - t && 25 > g_aO.g_et(g, a, this.g_hB, this.g_hC) + ? ((g = -1e3), (a = -1e3), (t = -1e4), 'double-tap') + : ((g = this.g_hB), (a = this.g_hC), (t = n), 'single-tap') + : ''; + } + g_aKI(g, _, e) { + if ('undefined' == typeof _) { + const _ = g.g_Ho(0); + return _.g_GB(this.g_hB, this.g_hC)[e ? 0 : 1]; + } else { + const a = g.g_Em(_); + return a ? a.g_Gr(this.g_hB, this.g_hC)[e ? 0 : 1] : 0; + } + } + }; +} +'use strict', + (g_aO.g_HY.g_bN = class extends g_aO.g_adl { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_HY.g_bN.g_ajj = class extends g_aO.g_adO { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict', + (g_aO.g_HY.g_bN.Instance = class extends g_aO.g_adT { + constructor(g) { + super(g, 'browser'), + (this.g_aLr = ''), + (this.g_aLs = !1), + (this.g_aLt = ''), + (this.g_aLu = ''), + (this.g_aLv = !1), + (this.g_aLw = 0), + (this.g_aLx = 0), + (this.g_aLy = 0), + (this.g_aLz = 0), + (this.g_aLA = !1), + this.g_aee('online-state', (g) => this.g_aLB(g)), + this.g_aee('backbutton', () => this.g_aLC()), + this.g_aee('sw-message', (g) => this.g_aLD(g)); + const _ = this.g_BI().g_lh(); + (this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(_, 'afterfirstlayoutstart', () => this.g_aLE()), + g_aO.g_lE.g_lJ(_, 'window-resize', () => this.g_aom()), + g_aO.g_lE.g_lJ(_, 'suspend', () => this.g_aAh()), + g_aO.g_lE.g_lJ(_, 'resume', () => this.g_aAi()) + )), + this.g_Be.g_arL( + this.g_aei('get-initial-state', { exportType: this.g_Be.g_asZ() }).then((g) => { + (this.g_aLr = g.location), + (this.g_aLs = g.isOnline), + (this.g_aLt = g.referrer), + (this.g_aLu = g.title), + (this.g_aLv = g.isCookieEnabled), + (this.g_aLw = g.screenWidth), + (this.g_aLx = g.screenHeight), + (this.g_aLy = g.windowOuterWidth), + (this.g_aLz = g.windowOuterHeight), + (this.g_aLA = g.isScirraArcade); + }) + ); + } + g_ek() { + super.g_ek(); + } + g_aLE() { + this.g_aeg('ready-for-sw-messages'); + } + async g_aLB(g) { + const _ = !!g.isOnline; + this.g_aLs === _ || + ((this.g_aLs = _), + this.g_aLs + ? await this.g_HU(g_aO.g_HY.g_bN.g_HW.g_aLF) + : await this.g_HU(g_aO.g_HY.g_bN.g_HW.g_aLG)); + } + async g_aom() { + await this.g_HU(g_aO.g_HY.g_bN.g_HW.g_aLH); + } + g_aAh() { + this.g_Ku(g_aO.g_HY.g_bN.g_HW.g_aLI); + } + g_aAi() { + this.g_Ku(g_aO.g_HY.g_bN.g_HW.g_aLJ); + } + async g_aLC() { + await this.g_HU(g_aO.g_HY.g_bN.g_HW.g_aLK); + } + g_aLD(g) { + const _ = g.type; + 'downloading-update' === _ + ? this.g_Ku(g_aO.g_HY.g_bN.g_HW.g_aLL) + : 'update-ready' === _ || 'update-pending' === _ + ? this.g_Ku(g_aO.g_HY.g_bN.g_HW.g_aLM) + : 'offline-ready' === _ && this.g_Ku(g_aO.g_HY.g_bN.g_HW.g_aLN); + } + g_aep() { + return [ + { + title: 'plugins.browser.name', + properties: [ + { name: 'plugins.browser.debugger.user-agent', value: navigator.userAgent }, + { name: 'plugins.browser.debugger.is-online', value: this.g_aLs }, + { name: 'plugins.browser.debugger.is-fullscreen', value: this.g_Be.g_FO().g_aoA() } + ] + } + ]; + } + }), + 'use strict', + (g_aO.g_HY.g_bN.g_HW = { + g_aLO() { + return this.g_aLs; + }, + g_aLF() { + return !0; + }, + g_aLG() { + return !0; + }, + g_aLH() { + return !0; + }, + g_aLP() { + return this.g_aLv; + }, + g_aLQ() { + return this.g_Be.g_FO().g_aoA(); + }, + g_aLK() { + return !0; + }, + g_aLR(g) { + const _ = this.g_Be.g_FO().g_aeF(), + e = this.g_Be.g_FO().g_aeH(), + a = _ <= e ? 0 : 1; + return a === g; + }, + g_aLL() { + return !0; + }, + g_aLM() { + return !0; + }, + g_aLN() { + return !0; + }, + g_aLS() { + return !this.g_Be.g_asl(); + }, + g_aLI() { + return !0; + }, + g_aLJ() { + return !0; + }, + g_aLT() { + return !1; + }, + g_aLU() { + return !1; + }, + g_aLV() { + return !1; + }, + g_aLW() { + return !1; + }, + g_aLX() { + return !1; + }, + g_aLY() { + return !0; + }, + g_aLZ() { + return !0; + } + }), + 'use strict'; +{ + const ORIENTATIONS = [ + 'portrait', + 'landscape', + 'portrait-primary', + 'portrait-secondary', + 'landscape-primary', + 'landscape-secondary' + ]; + g_aO.g_HY.g_bN.g_abH = { + g_aL_(g) { + this.g_aeg('alert', { message: g.toString() }); + }, + g_aL$() { + this.g_aLA || (this.g_Be.g_IC() ? g_IF.g_aMa() : this.g_aeg('close')); + }, + g_aMb() { + this.g_aeg('set-focus', { isFocus: !0 }); + }, + g_aMc() { + this.g_aeg('set-focus', { isFocus: !1 }); + }, + g_aMd() { + this.g_aLA || this.g_aeg('navigate', { type: 'back' }); + }, + g_aMe() { + this.g_aLA || this.g_aeg('navigate', { type: 'forward' }); + }, + g_aMf() { + this.g_aLA || this.g_aeg('navigate', { type: 'home' }); + }, + g_aMg() { + this.g_aLA || this.g_aeg('navigate', { type: 'reload' }); + }, + g_aMh(g, _) { + this.g_aej('navigate', { type: 'url', url: g, target: _, exportType: this.g_Be.g_asZ() }); + }, + g_aMi(g, _) { + this.g_aej('navigate', { type: 'new-window', url: g, tag: _, exportType: this.g_Be.g_asZ() }); + }, + g_aMj(g, _) { + 2 <= g && (g += 1), 6 === g && (g = 2), 1 === g && (g = 0); + const e = g_aO.g_ann.g_aoG(g); + this.g_Be.g_FO().g_aoC(e), this.g_aej('request-fullscreen', { navUI: _ }); + }, + g_aMk() { + this.g_aej('exit-fullscreen'); + }, + g_aMl(g) { + const _ = g.split(','); + for (let e = 0, a = _.length; e < a; ++e) _[e] = parseInt(_[e], 10); + this.g_aej('vibrate', { pattern: _ }); + }, + async g_af_(g, _) { + if (_) { + const e = await this.g_Be.g_afD().g_BZ(g); + this.g_Be.g_af_(e, _); + } + }, + g_aMm(g, _, e) { + if (e) { + const a = `data:${_},${encodeURIComponent(g)}`; + this.g_Be.g_af_(a, e); + } + }, + g_aMn(g, _) { + (_ = _.toString()), + 0 === g ? console.log(_) : 1 === g ? console.warn(_) : 2 == g && console.error(_); + }, + g_aMo(g) { + console.group(g); + }, + g_aMp() { + console.groupEnd(); + }, + g_aMq(jsStr) { + try { + eval(jsStr); + } catch (g) { + console.error('Error executing JavaScript: ', g); + } + }, + g_aMr(g) { + if (((g = Math.floor(g)), !(0 > g || g >= ORIENTATIONS.length))) { + const _ = ORIENTATIONS[g]; + this.g_aej('lock-orientation', { orientation: _ }); + } + }, + g_aMs() { + this.g_aej('unlock-orientation'); + }, + g_CB(g) { + this.g_Be.g_afD().g_CB(g); + } + }; +} +'use strict', + (g_aO.g_HY.g_bN.g__$ = { + URL() { + return this.g_Be.g_Cn() ? this.g_aLr : location.toString(); + }, + g_aMt() { + return this.g_Be.g_Cn() ? new URL(this.g_aLr).protocol : location.protocol; + }, + g_aMu() { + return this.g_Be.g_Cn() ? new URL(this.g_aLr).hostname : location.hostname; + }, + g_aMv() { + return this.g_Be.g_Cn() ? new URL(this.g_aLr).pathname : location.pathname; + }, + g_aMw() { + return this.g_Be.g_Cn() ? new URL(this.g_aLr).hash : location.hash; + }, + g_bg() { + return this.g_Be.g_Cn() ? new URL(this.g_aLr).search : location.search; + }, + g_aMx(g) { + const _ = this.g_Be.g_Cn() ? new URL(this.g_aLr).search : location.search, + e = RegExp('[?&]' + g + '=([^&]*)').exec(_); + return e ? decodeURIComponent(e[1].replace(/\+/g, ' ')) : ''; + }, + g_aMy() { + return this.g_aLt; + }, + g_aMz() { + return this.g_aLu; + }, + g_aMA() { + return navigator.language; + }, + g_bJ() { + return navigator.platform; + }, + g_aMB() { + return navigator.userAgent; + }, + g_aMC(jsStr) { + let result = 0; + try { + result = eval(jsStr); + } catch (g) { + console.error('Error executing JavaScript: ', g); + } + return 'number' == typeof result || 'string' == typeof result + ? result + : 'boolean' == typeof result + ? result + ? 1 + : 0 + : 0; + }, + g_aMD() { + return navigator.appName; + }, + g_aME() { + return navigator.appVersion; + }, + g_aMF() { + return navigator.product; + }, + g_aMG() { + return navigator.vendor; + }, + g_aMH() { + return 1; + }, + g_aMI() { + return 1 / 0; + }, + g_aMJ() { + const g = navigator.connection; + return g ? g.downlink || g.downlinkMax || g.bandwidth || 1 / 0 : 1 / 0; + }, + g_aMK() { + const g = navigator.connection; + return g ? g.type || 'unknown' : 'unknown'; + }, + g_aML() { + return self.devicePixelRatio; + }, + g_aMM() { + return this.g_aLw; + }, + g_aMN() { + return this.g_aLx; + }, + g_aMO() { + return this.g_Be.g_FO().g_aeF(); + }, + g_aMP() { + return this.g_Be.g_FO().g_aeH(); + }, + g_aMQ() { + return this.g_aLy; + }, + g_aMR() { + return this.g_aLy; + } + }), + 'use strict'; +{ + function _(g, _, a) { + const t = g.g_aaF(), + n = _.g_aaF(); + if (a) { + const e = t.get(o); + e && e.delete(_.g_EN()); + const a = n.get(o); + a && a.delete(g.g_EN()); + } else { + let e = t.get(o); + e || ((e = new Set()), t.set(o, e)); + let a = n.get(o); + a || ((a = new Set()), n.set(o, a)), e.add(_.g_EN()), a.add(g.g_EN()); + } + } + function t(g) { + if (!(g instanceof g_agr)) throw new TypeError('expected IObjectClass'); + const _ = l.g_BI().g_agb(g); + if (!_ || !(_ instanceof g_aO.g_aiw)) throw new Error('invalid IObjectClass'); + return _; + } + let n = null, + i = null, + r = [], + s = null, + l = null; + const o = 'Physics_DisabledCollisions'; + g_aO.g_ahl.g_aMS = class extends g_aO.g_ae$ { + constructor(g) { + (g.g_afd = g_aMT), + super(g), + (this.g_aMU = null), + (this.g_aMV = 10), + (this.g_pz = 0.02), + (this.g_aMW = -1), + (this.g_aMX = 0), + (this.g_aMY = 8), + (this.g_aMZ = 3), + (this.g_aM_ = !0), + this.g_Be.g_arL(this.g_aM$()); + } + async g_aM$() { + const g = await this.g_Be.g_afD().g_BZ('box2d.wasm'); + await new Promise((_) => { + self.Box2DWasmModule({ wasmBinaryFile: g }).then((g) => { + (s = g), this.g_aNa(), _(); + }); + }); + } + g_aNa() { + const g = this.g_Be.g_ahf(); + (n = g_aO.g_ahl.g_aMS.g_aiv(0, 0)), + (i = g_aO.g_ahl.g_aMS.g_aiv(0, 0)), + (this.g_aMU = new s.b2World(g_aO.g_ahl.g_aMS.g_aNb(0, this.g_aMV), !0)); + const _ = new s.JSContactListener(); + (_.BeginContact = (_) => { + const a = s.wrapPointer(_, s.b2Contact), + t = g_aO.g_ahl.g_aMS.Instance.g_aNc(a.GetFixtureA().GetBody()), + n = g_aO.g_ahl.g_aMS.Instance.g_aNc(a.GetFixtureB().GetBody()); + g.g_amt(t.g_afm(), n.g_afm()); + }), + (_.EndContact = () => {}), + (_.PreSolve = () => {}), + (_.PostSolve = () => {}), + this.g_aMU.SetContactListener(_); + const a = new s.JSContactFilter(); + (a.ShouldCollide = (g, _) => { + if (this.g_aM_) return !0; + const a = s.wrapPointer(g, s.b2Fixture), + t = s.wrapPointer(_, s.b2Fixture), + r = g_aO.g_ahl.g_aMS.Instance.g_aNc(a.GetBody()), + e = g_aO.g_ahl.g_aMS.Instance.g_aNc(t.GetBody()), + d = r.g_afm().g_EA(), + i = e.g_afm().g_EA(), + u = d.g_EN(), + p = i.g_EN(), + l = d.g_aaF().get(o); + if (l && l.has(p)) return !1; + const h = i.g_aaF().get(o); + return !(h && h.has(u)); + }), + this.g_aMU.SetContactFilter(a); + } + g_ek() { + super.g_ek(); + } + g_aNd() { + return s; + } + g_aNe() { + return this.g_aMU; + } + g_aNf() { + return this.g_pz; + } + g_aNg() { + return this.g_aMX; + } + g_aNh(g) { + this.g_aMX = g; + } + g_aNi(g) { + this.g_aMW = g; + } + g_aNj() { + return this.g_aMW; + } + g_aNk(g) { + this.g_aMY = Math.max(g, 1); + } + g_aNl() { + return this.g_aMY; + } + g_aNm(g) { + this.g_aMZ = Math.max(g, 1); + } + g_aNn() { + return this.g_aMZ; + } + g_aNo(g, _) { + this.g_aNk(g), this.g_aNm(_); + } + g_aHU() { + return this.g_aMV; + } + g_aHr(g) { + g === this.g_aMV || + (this.g_aMU.SetGravity(g_aO.g_ahl.g_aMS.g_aNb(0, g)), (this.g_aMV = g), this.g_aNp()); + } + g_aNp() { + for (const g of this.g_H$()) { + const _ = g_aO.g_ahl.g_aMS.Instance.g_aNq(g); + if (!_) continue; + const e = _.g_aNr(); + e && e.SetAwake(!0); + } + } + g_aNs() { + this.g_aM_ = !1; + } + g_aNt(g, a, t) { + if (((t = !!t), g && a)) { + if (a.g_EF()) for (const n of a.g_Zd()) _(g, n, t); + else _(g, a, t); + this.g_aNs(); + } + } + static g_aNu() { + return o; + } + static g_aiv(g, _) { + if (r.length) { + const e = r.pop(); + return e.set_x(g), e.set_y(_), e; + } else { + const e = s.b2Vec2; + return new e(g, _); + } + } + static g_aNv(g) { + r.push(g); + } + static g_aNb(g, _) { + return n.set_x(g), n.set_y(_), n; + } + static g_aNw(g, _) { + return i.set_x(g), i.set_y(_), i; + } + static g_aNx(_) { + const a = s.b2PolygonShape, + t = new a(), + n = s._malloc(8 * _.length); + let i = 0; + for (let g = 0; g < _.length; ++g) + (s.HEAPF32[(n + i) >> 2] = _[g].get_x()), + (s.HEAPF32[(n + (i + 4)) >> 2] = _[g].get_y()), + (i += 8); + const r = s.wrapPointer(n, s.b2Vec2); + return t.Set(r, _.length), s._free(n), t; + } + }; + const g = ['fixed', 'variable']; + self.g_aMT = class extends g_afe { + constructor(g) { + super(g), (l = g); + } + set g_aNy(g) { + l.g_aHr(g); + } + get g_aNy() { + return l.g_aHU(); + } + set g_aNz(_) { + const e = g.indexOf(_); + if (0 > e) throw new Error('invalid stepping mode'); + l.g_aNh(g[e]); + } + get g_aNz() { + return g[l.g_aNg()]; + } + set g_aNA(g) { + l.g_aNk(g); + } + get g_aNA() { + return l.g_aNl(); + } + set g_aNB(g) { + l.g_aNm(g); + } + get g_aNB() { + return l.g_aNn(); + } + g_aNC(g, _, a) { + const n = t(g), + e = t(_); + (a = !!a), l.g_aNt(n, e, a); + } + }; +} +'use strict', + (g_aO.g_ahl.g_aMS.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + function _(g, _) { + if (!(_ instanceof g_agP)) throw new TypeError('expected IWorldInstance'); + const e = n.get(g), + a = e.g_BI().g_agb(_); + if (!a || !(a instanceof g_aO.Instance)) throw new Error('invalid IInstance'); + return a; + } + const t = new WeakMap(), + i = new WeakMap(), + r = new WeakMap(), + u = g_aO.g_ahl.g_aMS.g_aNb, + E = g_aO.g_ahl.g_aMS.g_aNw; + g_aO.g_ahl.g_aMS.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g); + const a = this.g_afj(), + t = this.g_CU(); + (this.g_aND = a.g_aNd()), + (this.g_aMU = a.g_aNe()), + (this.g_pz = a.g_aNf()), + (this.g_aNE = !1), + (this.g_aNF = 0), + (this.g_aNG = !1), + (this.g_aNH = 1), + (this.g_aNI = 0.5), + (this.g_aNJ = 0.2), + (this.g_aNK = 0), + (this.g_aNL = 0.01), + (this.g_aNM = !1), + (this.g__z = !0), + (this.g_aNN = null), + (this.g_aNO = []), + (this.g_aNP = []), + (this.g_aNQ = []), + (this.g_aNR = new Set()), + (this.g_aNS = t.g_Ig()), + (this.g_aNT = t.g_Ih()), + (this.g_aNU = t.g_Fj()), + (this.g_aNV = 0), + (this.g_aNW = 0), + (this.g_aNX = !1), + (this.g_aNY = !1), + (this.g_aNZ = null), + _ && + ((this.g_aNE = !!_[0]), + (this.g_aNF = _[1]), + (this.g_aNG = !!_[2]), + (this.g_aNH = _[3]), + (this.g_aNI = _[4]), + (this.g_aNJ = _[5]), + (this.g_aNK = _[6]), + (this.g_aNL = _[7]), + (this.g_aNM = !!_[8]), + (this.g__z = !!_[9])); + const e = this.g_Be.g_lh(); + (this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(e, 'instancedestroy', (g) => this.g_aAf(g.g_Ke)), + g_aO.g_lE.g_lJ(e, 'afterload', () => this.g_aAg()) + )), + i.set(this.g_b_, this), + this.g__z && this.g_ael(); + } + g_afq() { + this.g_aN_(), (this.g_aNZ = this.g_b_.g_Gg()); + } + g_ek() { + this.g_aN$(), + g_aO.g_fz(this.g_aNQ), + this.g_aNR.clear(), + this.g_aNN && (this.g_aOa(), this.g_aMU.DestroyBody(this.g_aNN), (this.g_aNN = null)), + super.g_ek(); + } + g_aOb(g) { + if (this.g_aNN) { + const _ = this.g_aNN.CreateFixture(g); + return this.g_aNO.push(_), _; + } + } + g_aOa() { + if (this.g_aNN) { + for (const g of this.g_aNO) this.g_aNN.DestroyFixture(g); + g_aO.g_fz(this.g_aNO); + } + } + g_aOc(g) { + this.g_aND.destroy(g); + } + g_aN_() { + var _ = Math.max, + a = Math.abs; + if (!this.g__z) return; + const n = this.g_aND.b2FixtureDef, + i = this.g_aND.b2BodyDef, + e = this.g_CU(); + if (!this.g_aNN) { + const g = new i(); + g.set_type(this.g_aNE ? 0 : 2); + const _ = e.g_agX(); + g.set_position(E(_.g_h$() * this.g_pz, _.g_ia() * this.g_pz)), + g.set_angle(e.g_Fj()), + g.set_fixedRotation(this.g_aNG), + g.set_linearDamping(this.g_aNK), + g.set_angularDamping(this.g_aNL), + g.set_bullet(this.g_aNM), + (this.g_aNN = this.g_aMU.CreateBody(g)), + this.g_aOc(g), + t.set(this.g_aNN, this); + } + this.g_aOa(); + const g = new n(); + g.set_density(this.g_aNH), g.set_friction(this.g_aNI), g.set_restitution(this.g_aNJ); + const r = e.g_alL(); + let s = this.g_aNF; + r || this.g_b_.g_akG() || 0 !== s || (s = 1); + const d = _(a(e.g_pN()), 1), + l = _(a(e.g_pO()), 1); + 0 === s + ? this.g_b_.g_akG() + ? this.g_aOd(g) + : this.g_aOe(g, d, l) + : 1 === s + ? this.g_aOf(g, d, l) + : this.g_aOg(g, d, l), + (this.g_aNV = e.g_pN()), + (this.g_aNW = e.g_pO()), + this.g_aOc(g); + } + g_aOf(g, _, a) { + const t = this.g_aND.b2PolygonShape, + n = new t(); + n.SetAsBox(0.5 * (_ * this.g_pz), 0.5 * (a * this.g_pz)), + g.set_shape(n), + this.g_aOb(g), + this.g_aOc(n); + } + g_aOg(g, _, a) { + const t = this.g_aND.b2CircleShape, + n = new t(); + n.set_m_radius(0.5 * (Math.min(_, a) * this.g_pz)), + g.set_shape(n), + this.g_aOb(g), + this.g_aOc(n); + } + g_aOe(_, a, t) { + const i = this.g_CU(), + r = 0 > i.g_pN(), + e = 0 > i.g_pO(), + s = this.g_pz, + g = i.g_Fj(); + 0 !== g && (i.g_Fi(0), i.g_En()); + const d = i.g_agX(), + u = d.g_h$() - i.g_Ig(), + h = d.g_ia() - i.g_Ih(); + 0 !== g && (i.g_Fi(g), i.g_En()); + const l = i.g_alO(r ? -a : a, e ? -t : t, 0), + c = l.g_jd(), + n = c.length / 2, + o = []; + for (let g = 0; g < n; ++g) o.push(g_aO.g_ahl.g_aMS.g_aiv(c[2 * g] - u, c[2 * g + 1] - h)); + r != e && o.reverse(); + const p = g_aO.g_ahl.g_aMS.g_aOi.g_aOh(o, a * t); + for (const g of o) g_aO.g_ahl.g_aMS.g_aNv(g); + if (p.length) + for (const g of p) { + for (const _ of g) _.set_x(_.get_x() * s), _.set_y(_.get_y() * s); + const e = g_aO.g_ahl.g_aMS.g_aNx(g); + _.set_shape(e), this.g_aOb(_), this.g_aOc(e); + for (const _ of g) g_aO.g_ahl.g_aMS.g_aNv(_); + } + else this.g_aOf(_, a, t); + } + g_aOd(_) { + const a = this.g_CU(), + t = a.g_agX(), + n = t.g_h$() - a.g_Ig(), + e = t.g_ia() - a.g_Ih(), + i = this.g_pz, + g = g_aO.g_ahl.g_aMS.g_aiv, + s = g_aO.g_ahl.g_aMS.g_aNv, + d = []; + this.g_b_.g_Qd().g_aOj(d); + const o = []; + for (let a = 0, t = d.length; a < t; ++a) { + const t = d[a], + l = t.g_amB(), + u = t.g_amC(); + if (u) { + let p = r.get(u); + if (!p) { + const _ = u.g_jd(), + a = u.g_je(); + for (let e = 0; e < a; ++e) o.push(g(_[2 * e], _[2 * e + 1])); + const e = 3758096384 & t.g_aOk(); + (-2147483648 == e || + 1073741824 == e || + 536870912 == e || + (-2147483648 & e && 1073741824 & e && 536870912 & e)) && + o.reverse(), + (p = g_aO.g_ahl.g_aMS.g_aOi.g_aOh(o, l.width() * l.height())), + r.set(u, p); + for (const g of o) s(g); + g_aO.g_fz(o); + } + for (let a = 0, t = p.length; a < t; ++a) { + const t = p[a]; + for (let _ = 0, a = t.length; _ < a; ++_) + o.push(g((l.g_hV() + t[_].get_x() - n) * i, (l.g_hW() + t[_].get_y() - e) * i)); + const r = g_aO.g_ahl.g_aMS.g_aNx(o); + _.set_shape(r), this.g_aOb(_), this.g_aOc(r); + for (const g of o) s(g); + g_aO.g_fz(o); + } + } else { + o.push(g((l.g_hV() - n) * i, (l.g_hW() - e) * i)), + o.push(g((l.g_hX() - n) * i, (l.g_hW() - e) * i)), + o.push(g((l.g_hX() - n) * i, (l.g_hY() - e) * i)), + o.push(g((l.g_hV() - n) * i, (l.g_hY() - e) * i)); + const a = g_aO.g_ahl.g_aMS.g_aNx(o); + _.set_shape(a), this.g_aOb(_), this.g_aOc(a); + } + for (const g of o) s(g); + g_aO.g_fz(o); + } + } + g_aOl() { + this.g_aNN && + (this.g_aN$(), + t.delete(this.g_aNN), + this.g_aOa(), + this.g_aMU.DestroyBody(this.g_aNN), + (this.g_aNN = null)); + } + g_aN$() { + for (const g of this.g_aNP) this.g_aMU.DestroyJoint(g); + g_aO.g_fz(this.g_aNP); + } + g_aOm() { + for (const g of this.g_aNQ) + switch (g.type) { + case 0: + this.g_aOn(...g.g_aOo); + break; + case 1: + this.g_aOp(...g.g_aOo); + break; + case 2: + this.g_aOq(...g.g_aOo); + break; + case 3: + this.g_aOr(...g.g_aOo); + break; + default: + } + } + g_aOs(g) { + const _ = this.g_CU(); + if (-1 === g) return [_.g_Ig(), _.g_Ih()]; + if (0 === g && this.g_aNN) { + const g = this.g_aNN.GetPosition(), + _ = this.g_aNN.GetLocalCenter(); + return [(g.get_x() + _.get_x()) / this.g_pz, (g.get_y() + _.get_y()) / this.g_pz]; + } + return this.g_b_.g_abs(g); + } + g_aOt(g, _, a, t, n) { + this.g__z && + _ && + _ !== this.g_b_ && + g_aO.g_ahl.g_aMS.Instance.g_aNq(_) && + (this.g_aNQ.push({ type: 0, g_aOo: [g, _.g_Ei(), a, t, n] }), + this.g_aOn(g, _.g_Ei(), a, t, n)); + } + g_aOn(_, e, a, t, g) { + if (this.g__z) { + const r = this.g_Be.g_NN(e); + if (r && r !== this.g_b_ && i.has(r)) { + const e = g_aO.g_ahl.g_aMS.Instance.g_aNq(r); + e.g_aNR.add(this.g_b_), this.g_aOu(!1), e.g_aOu(!1); + const [i, s] = this.g_aOs(_), + [d, l] = r.g_abs(a), + h = this.g_aND.b2DistanceJointDef, + n = this.g_pz, + o = new h(); + o.Initialize(this.g_aNN, e.g_aNr(), u(i * n, s * n), E(d * n, l * n)), + o.set_length(Math.hypot(i - d, s - l) * n), + o.set_dampingRatio(t), + o.set_frequencyHz(g), + this.g_aNP.push(this.g_aMU.CreateJoint(o)), + this.g_aOc(o); + } + } + } + g_aOv(g, _) { + this.g__z && + _ && + _ !== this.g_b_ && + g_aO.g_ahl.g_aMS.Instance.g_aNq(_) && + (this.g_aNQ.push({ type: 1, g_aOo: [g, _.g_Ei()] }), this.g_aOp(g, _.g_Ei())); + } + g_aOp(_, g) { + if (this.g__z) { + const e = this.g_Be.g_NN(g); + if (e && e !== this.g_b_ && i.has(e)) { + const a = g_aO.g_ahl.g_aMS.Instance.g_aNq(e); + a.g_aNR.add(this.g_b_), this.g_aOu(!1), a.g_aOu(!1); + const [t, n] = this.g_aOs(_), + i = this.g_aND.b2RevoluteJointDef, + g = this.g_pz, + r = new i(); + r.Initialize(this.g_aNN, a.g_aNr(), u(t * g, n * g)), + this.g_aNP.push(this.g_aMU.CreateJoint(r)), + this.g_aOc(r); + } + } + } + g_aOw(g, _, e, a) { + this.g__z && + _ && + _ !== this.g_b_ && + g_aO.g_ahl.g_aMS.Instance.g_aNq(_) && + ((e = g_aO.g_es(e)), + (a = g_aO.g_es(a)), + this.g_aNQ.push({ type: 2, g_aOo: [g, _.g_Ei(), e, a] }), + this.g_aOq(g, _.g_Ei(), e, a)); + } + g_aOq(_, e, a, t) { + if (this.g__z) { + const n = this.g_Be.g_NN(e); + if (n && n !== this.g_b_ && i.has(n)) { + const g = g_aO.g_ahl.g_aMS.Instance.g_aNq(n); + g.g_aNR.add(this.g_b_), this.g_aOu(!1), g.g_aOu(!1); + const [e, i] = this.g_aOs(_), + r = this.g_aND.b2RevoluteJointDef, + s = this.g_pz, + d = new r(); + d.Initialize(this.g_aNN, g.g_aNr(), u(e * s, i * s)), + d.set_enableLimit(!0), + d.set_lowerAngle(g_aO.g_er(a)), + d.set_upperAngle(g_aO.g_er(t)), + this.g_aNP.push(this.g_aMU.CreateJoint(d)), + this.g_aOc(d); + } + } + } + g_aOx(_, a, t, n, i, e, r, g, s) { + this.g__z && + a && + a !== this.g_b_ && + g_aO.g_ahl.g_aMS.Instance.g_aNq(a) && + ((t = g_aO.g_es(t)), + (g = g_aO.g_es(g)), + this.g_aNQ.push({ type: 3, g_aOo: [_, a.g_Ei(), t, n, i, e, r, g, s] }), + this.g_aOr(_, a.g_Ei(), t, n, i, e, r, g, s)); + } + g_aOr(_, e, a, f, g, h, y, B, l) { + if (this.g__z) { + const d = this.g_Be.g_NN(e); + if (d && d !== this.g_b_ && i.has(d)) { + const e = g_aO.g_ahl.g_aMS.Instance.g_aNq(d); + e.g_aNR.add(this.g_b_), this.g_aOu(!1), e.g_aOu(!1); + const [n, i] = this.g_aOs(_); + a = g_aO.g_er(a); + const o = Math.cos(a), + p = Math.sin(a), + c = this.g_aND.b2PrismaticJointDef, + r = this.g_pz, + s = new c(); + s.Initialize(this.g_aNN, e.g_aNr(), u(n * r, i * r), E(o, p)), + s.set_enableLimit(!!f), + s.set_lowerTranslation(g * r), + s.set_upperTranslation(h * r), + s.set_enableMotor(!!y), + s.set_motorSpeed(g_aO.g_er(B)), + s.set_maxMotorForce(l), + this.g_aNP.push(this.g_aMU.CreateJoint(s)), + this.g_aOc(s); + } + } + } + g_aOy() { + this.g__z && (this.g_aN$(), g_aO.g_fz(this.g_aNQ), this.g_aNR.clear()); + } + g_aAf(g) { + const _ = g.g_Ei(); + let a = 0; + for (let t = 0, n = this.g_aNQ.length; t < n; ++t) + (this.g_aNQ[a] = this.g_aNQ[t]), + a < this.g_aNP.length && (this.g_aNP[a] = this.g_aNP[t]), + this.g_aNQ[t].g_aOo[1] === _ + ? t < this.g_aNP.length && this.g_aMU.DestroyJoint(this.g_aNP[t]) + : ++a; + g_aO.g_fy(this.g_aNQ, a), + a < this.g_aNP.length && g_aO.g_fy(this.g_aNP, a), + this.g_aNR.delete(g); + } + g_aNr() { + return this.g_aNN; + } + static g_aNc(g) { + return t.get(g) || null; + } + static g_aNq(g) { + return i.get(g) || null; + } + g_GH() { + const g = { + e: this.g__z, + pr: this.g_aNG, + d: this.g_aNH, + fr: this.g_aNI, + re: this.g_aNJ, + ld: this.g_aNK, + ad: this.g_aNL, + b: this.g_aNM, + mcj: this.g_aNQ + }; + if (this.g__z) { + const _ = this.g_aNN.GetLinearVelocity(); + (g.vx = _.get_x()), (g.vy = _.get_y()), (g.om = this.g_aNN.GetAngularVelocity()); + } + return g; + } + g_GJ(g) { + this.g_aN$(), + g_aO.g_fz(this.g_aNQ), + this.g_aNR.clear(), + this.g_aOl(), + (this.g__z = g.e), + (this.g_aNG = g.pr), + (this.g_aNH = g.d), + (this.g_aNI = g.fr), + (this.g_aNJ = g.re), + (this.g_aNK = g.ld), + (this.g_aNL = g.ad), + (this.g_aNM = g.b), + (this.g_aNQ = g.mcj); + const _ = this.g_CU(); + (this.g_aNS = _.g_Ig()), + (this.g_aNT = _.g_Ih()), + (this.g_aNU = _.g_Fj()), + (this.g_aNV = _.g_pN()), + (this.g_aNW = _.g_pO()), + this.g__z && + (this.g_aN_(), + this.g_aNN.SetLinearVelocity(u(g.vx, g.vy)), + this.g_aNN.SetAngularVelocity(g.om), + (0 !== g.vx || 0 !== g.vy || 0 !== g.om) && this.g_aNN.SetAwake(!0), + (this.g_aNQ = g.mcj)), + this.g__z ? this.g_ael() : this.g_adY(); + } + g_aAg() { + this.g__z && this.g_aOm(); + } + g_KZ() { + if (!this.g__z) return; + const g = this.g_Be, + _ = this.g_afj(); + let t = 0; + 0 === _.g_aNg() ? (t = g.g_KX() / 60) : ((t = g.g_KW(this.g_b_)), t > 1 / 30 && (t = 1 / 30)); + const n = g.g_asU(); + if (n > _.g_aNj() && 0 < g.g_KX()) { + const g = this.g_Be.g_IC(); + let a = 0; + g && (a = performance.now()), + 0 !== t && this.g_aMU.Step(t, _.g_aNl(), _.g_aNn()), + this.g_aMU.ClearForces(), + g && g_IF.g_aOz(performance.now() - a), + _.g_aNi(n); + } + this.g_aOu(!0); + } + g_aOu(_) { + const e = this.g_b_, + t = e.g_CU(), + n = this.g_pz; + (this.g_aNY || + t.g_pN() !== this.g_aNV || + t.g_pO() !== this.g_aNW || + e.g_Gg() !== this.g_aNZ || + (e.g_akG() && e.g_aaG().get('PhysicsChanged'))) && + (this.g_aN_(), + (this.g_aNY = !1), + (this.g_aNZ = e.g_Gg()), + e.g_akG() && e.g_aaG().set('PhysicsChanged', !1)); + const i = this.g_aNN, + a = t.g_Ig() !== this.g_aNS || t.g_Ih() !== this.g_aNT, + r = t.g_Fj() !== this.g_aNU; + if (a) { + const e = t.g_agX(), + a = e.g_h$(), + g = e.g_ia(), + s = a - this.g_aNS, + d = g - this.g_aNT; + r + ? i.SetTransform(u(a * n, g * n), t.g_Fj()) + : i.SetTransform(u(a * n, g * n), i.GetAngle()), + _ && (i.SetLinearVelocity(u(s, d)), (this.g_aNX = !0)), + i.SetAwake(!0); + } else if (_ && this.g_aNX) { + const g = t.g_agX(); + (this.g_aNX = !1), + i.SetLinearVelocity(u(0, 0)), + i.SetTransform(u(g.g_h$() * n, g.g_ia() * n), i.GetAngle()); + } + !a && r && (i.SetTransform(i.GetPosition(), t.g_Fj()), i.SetAwake(!0)); + const g = i.GetPosition(), + s = g.get_x() / n, + o = g.get_y() / n, + l = i.GetAngle(); + if (s !== t.g_Ig() || o !== t.g_Ih() || l !== t.g_Fj()) { + t.g_abq(s, o), t.g_Fi(l), t.g_En(); + const g = t.g_agX(), + _ = g.g_h$() - t.g_Ig(), + e = g.g_ia() - t.g_Ih(); + (0 != _ || 0 != e) && (t.g_abt(-_, -e), t.g_En()); + } + (this.g_aNS = t.g_Ig()), (this.g_aNT = t.g_Ih()), (this.g_aNU = t.g_Fj()); + } + g_QF(g) { + return 2 === g + ? this.g_aOA() + : 3 === g + ? this.g_aOB() + : 4 === g + ? this.g_aOC() + : 5 === g + ? this.g_aOD() + : 6 === g + ? this.g_aOE() + : 7 === g + ? this.g_aOF() + : 8 === g + ? this.g_aOG() + : 9 === g + ? this.g_aOH() + : void 0; + } + g_QM(g, _) { + 2 === g + ? this.g_aOI(_) + : 3 === g + ? this.g_aOJ(_) + : 4 === g + ? this.g_aOK(_) + : 5 === g + ? this.g_aOL(_) + : 6 === g + ? this.g_aOM(_) + : 7 === g + ? this.g_aON(_) + : 8 === g + ? this.g_aOO(_) + : 9 === g + ? this.g_aOP(_) + : void 0; + } + g_aOP(g) { + (g = !!g), + this.g__z && !g + ? (this.g_aOl(), (this.g__z = !1), this.g_adY()) + : !this.g__z && g && ((this.g__z = !0), this.g_aN_(), this.g_ael()); + } + g_aOH() { + return this.g__z; + } + g_aep() { + const g = [ + { + name: 'behaviors.physics.properties.enabled.name', + value: this.g_aOH(), + g_ayn: (g) => this.g_aOP(g) + }, + { + name: 'behaviors.physics.properties.immovable.name', + value: this.g_aOQ(), + g_ayn: (g) => this.g_aOR(g) + }, + { + name: 'behaviors.physics.properties.density.name', + value: this.g_aOB(), + g_ayn: (g) => this.g_aOJ(g) + }, + { + name: 'behaviors.physics.properties.friction.name', + value: this.g_aOC(), + g_ayn: (g) => this.g_aOK(g) + }, + { + name: 'behaviors.physics.properties.elasticity.name', + value: this.g_aOD(), + g_ayn: (g) => this.g_aOL(g) + }, + { + name: 'behaviors.physics.properties.linear-damping.name', + value: this.g_aOE(), + g_ayn: (g) => this.g_aOM(g) + }, + { + name: 'behaviors.physics.properties.angular-damping.name', + value: this.g_aOF(), + g_ayn: (g) => this.g_aON(g) + } + ]; + return ( + this.g__z && + (g.push({ name: 'behaviors.physics.debugger.is-sleeping', value: this.g_aOS() }), + g.push({ + name: 'behaviors.physics.debugger.velocity-x', + value: this.g_aOT(), + g_ayn: (g) => this.g_aOU(g, this.g_aOV()) + }), + g.push({ + name: 'behaviors.physics.debugger.velocity-y', + value: this.g_aOV(), + g_ayn: (g) => this.g_aOU(this.g_aOT(), g) + }), + g.push({ + name: 'behaviors.physics.debugger.angular-velocity', + value: g_aO.g_es(this.g_aOW()), + g_ayn: (g) => this.g_aOX(g_aO.g_er(g)) + }), + g.push({ name: 'behaviors.physics.debugger.mass', value: this.g_aOY() })), + [{ title: '$' + this.g_NZ().g_pY(), properties: g }] + ); + } + g_aOZ(g, _, a) { + const [t, n] = this.g_aOs(a); + this.g_aO_(g, _, t, n); + } + g_aO$(_, a, t, n) { + const [e, i] = this.g_aOs(n), + g = g_aO.g_ev(e, i, a, t); + this.g_aO_(Math.cos(g) * _, Math.sin(g) * _, e, i); + } + g_aPa(g, _, t) { + const [a, n] = this.g_aOs(t); + this.g_aO_(Math.cos(_) * g, Math.sin(_) * g, a, n); + } + g_aO_(_, e, a, t) { + if (this.g__z) { + const n = this.g_pz; + this.g_aNN.ApplyForce(u(_, e), E(a * n, t * n), !0); + } + } + g_aPb(g, _, a) { + const [t, n] = this.g_aOs(a); + this.g_aPc(g, _, t, n); + } + g_aPd(_, a, t, n) { + const [e, i] = this.g_aOs(n), + g = g_aO.g_ev(e, i, a, t); + this.g_aPc(Math.cos(g) * _, Math.sin(g) * _, e, i); + } + g_aPe(g, _, t) { + const [a, n] = this.g_aOs(t); + this.g_aPc(Math.cos(_) * g, Math.sin(_) * g, a, n); + } + g_aPc(_, e, a, t) { + if (this.g__z) { + const n = this.g_pz; + this.g_aNN.ApplyLinearImpulse(u(_, e), E(a * n, t * n), !0); + const g = this.g_CU(); + (this.g_aNS = g.g_Ig()), (this.g_aNT = g.g_Ih()), (this.g_aNX = !1); + } + } + g_aPf(g) { + this.g__z && this.g_aNN.ApplyTorque(g, !0); + } + g_aPg(g, _) { + const e = g_aO.g_ey(this.g_CU().g_Fj(), _) ? -1 : 1; + this.g_aPf(g * e); + } + g_aPh(_, t, n) { + const i = this.g_CU(), + e = g_aO.g_ev(i.g_Ig(), i.g_Ih(), t, n), + g = g_aO.g_ey(i.g_Fj(), e) ? -1 : 1; + this.g_aOZ(_ * g); + } + g_aOX(g) { + this.g__z && (this.g_aNN.SetAngularVelocity(g), this.g_aNN.SetAwake(!0)); + } + g_aOW() { + return this.g__z ? this.g_aNN.GetAngularVelocity() : 0; + } + g_aOU(g, _) { + if (this.g__z) { + const e = this.g_pz; + this.g_aNN.SetLinearVelocity(u(g * e, _ * e)), this.g_aNN.SetAwake(!0); + const a = this.g_CU(); + (this.g_aNS = a.g_Ig()), (this.g_aNT = a.g_Ih()), (this.g_aNX = !1); + } + } + g_aPi() { + if (!this.g__z) return [0, 0]; + const g = this.g_pz, + _ = this.g_aNN.GetLinearVelocity(); + return [_.get_x() / g, _.get_y() / g]; + } + g_aOT() { + return this.g__z ? this.g_aNN.GetLinearVelocity().get_x() / this.g_pz : 0; + } + g_aOV() { + return this.g__z ? this.g_aNN.GetLinearVelocity().get_y() / this.g_pz : 0; + } + g_aOJ(g) { + if (this.g__z && this.g_aNH !== g) { + this.g_aNH = g; + for (const _ of this.g_aNO) _.SetDensity(g); + this.g_aNN.ResetMassData(); + } + } + g_aOB() { + return this.g__z ? this.g_aNH : 0; + } + g_aOK(g) { + if (this.g__z && this.g_aNI !== g) { + this.g_aNI = g; + for (const _ of this.g_aNO) _.SetFriction(g); + for (let g = this.g_aNN.GetContactList(); this.g_aND.getPointer(g); g = g.get_next()) { + const _ = g.get_contact(); + _ && _.ResetFriction(); + } + } + } + g_aOC() { + return this.g__z ? this.g_aNI : 0; + } + g_aOL(g) { + if (this.g__z && this.g_aNJ !== g) { + this.g_aNJ = g; + for (const _ of this.g_aNO) _.SetRestitution(g); + } + } + g_aOD() { + return this.g__z ? this.g_aNJ : 0; + } + g_aOM(g) { + this.g__z && this.g_aNK !== g && ((this.g_aNK = g), this.g_aNN.SetLinearDamping(g)); + } + g_aOE() { + return this.g__z ? this.g_aNK : 0; + } + g_aON(g) { + this.g__z && this.g_aNL !== g && ((this.g_aNL = g), this.g_aNN.SetAngularDamping(g)); + } + g_aOF() { + return this.g__z ? this.g_aNL : 0; + } + g_aOR(g) { + this.g__z && + ((g = !!g), + this.g_aNE === g || + ((this.g_aNE = g), this.g_aNN.SetType(this.g_aNE ? 0 : 2), this.g_aNN.SetAwake(!0))); + } + g_aOQ() { + return this.g_aNE; + } + g_aOI(g) { + this.g__z && + ((g = !!g), + this.g_aNG === g || + ((this.g_aNG = g), + this.g_aNN.SetFixedRotation(this.g_aNG), + this.g_aNN.SetAngularVelocity(0), + this.g_aNN.SetAwake(!0))); + } + g_aOA() { + return this.g_aNG; + } + g_aOO(g) { + this.g__z && + ((g = !!g), + this.g_aNM === g || + ((this.g_aNM = g), this.g_aNN.SetBullet(this.g_aNM), this.g_aNN.SetAwake(!0))); + } + g_aOG() { + return this.g_aNM; + } + g_aOY() { + return this.g__z ? this.g_aNN.GetMass() / this.g_pz : 0; + } + g_aPj() { + return this.g__z + ? (this.g_aNN.GetPosition().get_x() + this.g_aNN.GetLocalCenter().get_x()) / this.g_pz + : 0; + } + g_aPk() { + return this.g__z + ? (this.g_aNN.GetPosition().get_y() + this.g_aNN.GetLocalCenter().get_y()) / this.g_pz + : 0; + } + g_aPl() { + if (!this.g__z) return [0, 0]; + const g = this.g_aNN.GetPosition(), + _ = this.g_aNN.GetLocalCenter(), + e = this.g_pz; + return [(g.get_x() + _.get_x()) / e, (g.get_y() + _.get_y()) / e]; + } + g_aOS() { + return !!this.g__z && !this.g_aNN.IsAwake(); + } + g_adS() { + return g_aPm; + } + }; + const n = new WeakMap(); + self.g_aPm = class extends g_ahk { + constructor() { + super(), n.set(this, g_ahk.g_agN().g_Qd()); + } + get isEnabled() { + return n.get(this).g_aOH(); + } + set isEnabled(g) { + n.get(this).g_aOP(g); + } + g_aPn(g, _, e = 0) { + n.get(this).g_aOZ(g, _, e); + } + g_aPo(g, _, e, a = 0) { + n.get(this).g_aO$(g, _, e, a); + } + g_aPp(g, _, e = 0) { + n.get(this).g_aPa(g, _, e); + } + g_aPq(g, _, e = 0) { + n.get(this).g_aPb(g, _, e); + } + g_aPr(g, _, e, a = 0) { + n.get(this).g_aPd(g, _, e, a); + } + g_aPs(g, _, e = 0) { + n.get(this).g_aPe(g, _, e); + } + g_aPt(g) { + n.get(this).g_aPf(g); + } + g_aPu(g, _) { + n.get(this).g_aPg(g, _); + } + g_aPv(g, _, e) { + n.get(this).g_aPh(g, _, e); + } + set g_aPw(g) { + n.get(this).g_aOX(g); + } + get g_aPw() { + return n.get(this).g_aOW(); + } + setVelocity(g, _) { + n.get(this).g_aOU(g, _); + } + g_aPx() { + return n.get(this).g_aOT(); + } + g_aPy() { + return n.get(this).g_aOV(); + } + g_aPz() { + return n.get(this).g_aPi(); + } + set g_aPA(g) { + n.get(this).g_aOJ(g); + } + get g_aPA() { + return n.get(this).g_aOB(); + } + set g_aPB(g) { + n.get(this).g_aOK(g); + } + get g_aPB() { + return n.get(this).g_aOC(); + } + set g_aPC(g) { + n.get(this).g_aOL(g); + } + get g_aPC() { + return n.get(this).g_aOD(); + } + set g_aPD(g) { + n.get(this).g_aOM(g); + } + get g_aPD() { + return n.get(this).g_aOE(); + } + set g_aPE(g) { + n.get(this).g_aON(g); + } + get g_aPE() { + return n.get(this).g_aOF(); + } + set g_aPF(g) { + n.get(this).g_aOR(g); + } + get g_aPF() { + return n.get(this).g_aOQ(); + } + set g_aPG(g) { + n.get(this).g_aOI(g); + } + get g_aPG() { + return n.get(this).g_aOA(); + } + set g_aPH(g) { + n.get(this).g_aOO(g_b); + } + get g_aPH() { + return n.get(this).g_aOG(); + } + get g_aPI() { + return n.get(this).g_aOY(); + } + g_aPJ() { + return n.get(this).g_aPj(); + } + g_aPK() { + return n.get(this).g_aPk(); + } + g_aPL() { + return n.get(this).g_aPl(); + } + get g_aPM() { + return n.get(this).g_aOS(); + } + g_aPN(g, a, t, i, e) { + const r = _(this, a); + n.get(this).g_aOt(g, r, t, i, e); + } + g_aPO(g, e) { + const a = _(this, e); + n.get(this).g_aOv(g, a); + } + g_aPP(g, a, t, i) { + const e = _(this, a); + n.get(this).g_aOw(g, e, t, i); + } + g_aPQ(g, a, t, i, e, r, s, d, o) { + const l = _(this, a); + n.get(this).g_aOx(g, l, t, i, e, r, s, d, o); + } + g_aPR() { + n.get(this).g_aOy(); + } + }; +} +'use strict', + (g_aO.g_ahl.g_aMS.g_HW = { + g_aPS() { + return this.g_aOS(); + }, + g_aPT(g, _, e) { + if (!this.g__z) return !1; + let t = 0; + if (0 === g) t = this.g_aOT(); + else if (1 === g) t = this.g_aOV(); + else { + const [g, _] = this.g_aPi(); + t = Math.hypot(g, _); + } + return g_aO.compare(t, _, e); + }, + g_aPU(g, _) { + if (!this.g__z) return !1; + const e = g_aO.g_es(this.g_aOW()); + return g_aO.compare(e, g, _); + }, + g_aPV(g, _) { + if (!this.g__z) return !1; + const e = this.g_aOY(); + return g_aO.compare(e, g, _); + }, + g_jp() { + return this.g_aOH(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aMS.g_abH = { + g_aPW(g, _, e) { + this.g_aOZ(g, _, e); + }, + g_aPX(g, _, e, a) { + this.g_aO$(g, _, e, a); + }, + g_aPY(g, _, e) { + this.g_aPa(g, g_aO.g_er(_), e); + }, + g_aPZ(g, _, e) { + this.g_aPb(g, _, e); + }, + g_aP_(g, _, e, a) { + this.g_aPd(g, _, e, a); + }, + g_aP$(g, _, e) { + this.g_aPe(g, g_aO.g_er(_), e); + }, + g_aQa(g) { + this.g_aPf(g_aO.g_er(g)); + }, + g_aQb(g, _) { + this.g_aPg(g_aO.g_er(g), g_aO.g_er(_)); + }, + g_aQc(g, _, e) { + this.g_aPh(g_aO.g_er(g), _, e); + }, + g_aQd(g) { + this.g_aOX(g_aO.g_er(g)); + }, + g_aQe(g, _, a, t, n) { + if (_) { + const e = _.g_abA(this.g_b_); + this.g_aOt(g, e, a, t, n); + } + }, + g_aQf(g, _) { + if (_) { + const e = _.g_abA(this.g_b_); + this.g_aOv(g, e); + } + }, + g_aQg(g, _, a, t) { + if (_) { + const n = _.g_abA(this.g_b_); + this.g_aOw(g, n, g_aO.g_er(a), g_aO.g_er(t)); + } + }, + g_aQh(_, a, t, n, r, e, s, g, d) { + if (a) { + const i = a.g_abA(this.g_b_); + this.g_aOx(_, i, g_aO.g_er(t), n, r, e, s, g_aO.g_er(g), d); + } + }, + g_aQi() { + this.g_aOy(); + }, + g_aQj(g) { + this.g_afj().g_aHr(g); + }, + g_aNh(g) { + this.g_afj().g_aNh(g); + }, + g_aNo(g, _) { + this.g_afj().g_aNo(g, _); + }, + g_aQk(g, _) { + this.g_aOU(g, _); + }, + g_aQl(g) { + this.g_aOJ(g); + }, + g_aQm(g) { + this.g_aOK(g); + }, + g_aQn(g) { + this.g_aOL(g); + }, + g_aQo(g) { + this.g_aOM(g); + }, + g_aQp(g) { + this.g_aON(g); + }, + g_aQq(g) { + this.g_aOR(g); + }, + g_aQr(g, _) { + this.g_afj().g_aNt(this.g_EA(), g, 0 !== _); + }, + g_aQs(g) { + this.g_aOI(0 !== g); + }, + g_aQt(g) { + this.g_aOO(0 !== g); + }, + g_aQu(g) { + this.g_aOP(0 !== g); + } + }), + 'use strict', + (g_aO.g_ahl.g_aMS.g__$ = { + g_aQv() { + return this.g_aOT(); + }, + g_aQw() { + return this.g_aOV(); + }, + g_aQx() { + return g_aO.g_es(this.g_aOW()); + }, + g_aQy() { + return this.g_aOY(); + }, + g_aQz() { + return this.g_aPj(); + }, + g_aQA() { + return this.g_aPk(); + }, + g_aQB() { + return this.g_aOB(); + }, + g_aQC() { + return this.g_aOC(); + }, + g_aQD() { + return this.g_aOD(); + }, + g_aQE() { + return this.g_aOE(); + }, + g_aQF() { + return this.g_aOF(); + } + }), + 'use strict'; +{ + function _(g) { + return u(g.get_x(), g.get_y()); + } + function t(_) { + const e = []; + for (const a of _) 8 >= a.length ? e.push(a) : e.push.apply(e, g(a)); + return e; + } + function g(a) { + const t = [a.splice(0, 8)], + n = t[0][0]; + for (let i = t[0][7]; a.length; ) { + const e = a.splice(0, Math.min(a.length, 6)); + let r = e[e.length - 1]; + e.push(_(n)), e.push(_(i)), t.push(e), (i = r); + } + return t; + } + const C = {}; + g_aO.g_ahl.g_aMS.g_aOi = C; + const u = g_aO.g_ahl.g_aMS.g_aiv, + e = g_aO.g_ahl.g_aMS.g_aNv; + (C.g_aQG = function (g, _, a, t, n, e) { + return g * t + a * e + n * _ - _ * a - t * n - e * g; + }), + (C.g_aQH = function (_, e, t, d, g, h, i, c) { + const f = t - _, + l = d - e, + m = i - g, + n = c - h, + o = (m * (h - e) - n * (g - _)) / (l * m - f * n), + p = _ + o * f, + a = e + o * l, + E = C.g_aQI(t, d, _, e, p, a), + r = C.g_aQI(p, a, g, h, i, c); + return E && r ? u(p, a) : null; + }), + (C.g_aQI = function (_, e, a, t, n, i) { + return ( + ((a + 0.1 >= _ && _ >= n - 0.1) || (a - 0.1 <= _ && _ <= n + 0.1)) && + ((t + 0.1 >= e && e >= i - 0.1) || (t - 0.1 <= e && e <= i + 0.1)) && + C.g_aQJ(_, e, a, t, n, i) + ); + }), + (C.g_aQJ = function (_, a, t, n, i, e) { + var r = Math.abs; + if (0.1 < r(i - t)) { + const g = r(((e - n) / (i - t)) * (_ - t) + n - a); + return 0.1 > g; + } + return 0.1 > r(_ - t); + }), + (C.g_aQK = function (g, _, a, t) { + var n = Math.abs; + return 0.1 > n(a - g) && 0.1 > n(t - _); + }), + (C.g_aOh = function (_, n) { + const r = C.g_aQL(_); + let g = []; + for (let t = 0, a = r.length; t < a; ++t) { + const _ = r[t], + s = []; + let a = 0; + for (let e = 0, t = _.length; e < t; ++e) { + const g = _[e], + n = _[(e + 1) % t]; + (a += g.get_x() * n.get_y() - g.get_y() * n.get_x()), s.push(u(g.get_x(), g.get_y())); + } + if (((a = Math.abs(a / 2)), a >= 0.001 * n)) g.push(s); + else for (let g = 0, _ = s.length; g < _; g++) e(s[g]); + } + return (g = t(g)), g; + }), + (C.g_aQL = function (_) { + let a = [], + f = 0, + T = 0, + H = 0, + N = 0, + U = 0, + I = 0, + R = 0, + L = 0, + O = 0, + S = 0, + $ = 0, + Y = 0, + M = 0, + P = 0, + G = 0, + K = [], + J = [], + W = !1, + Q = [], + D = [], + E = !1, + X, + V, + Z, + gg, + _g, + eg, + ag; + for (D.push(_); D.length; ) { + for (a = D[0], T = a.length, W = !0, f = 0; f < T; f++) + if ( + ((O = f), + (S = f < T - 1 ? f + 1 : f + 1 - T), + ($ = f < T - 2 ? f + 2 : f + 2 - T), + (X = a[O]), + (V = a[S]), + (Z = a[$]), + (N = C.g_aQG(X.get_x(), X.get_y(), V.get_x(), V.get_y(), Z.get_x(), Z.get_y())), + 0 > N) + ) { + for (W = !1, L = 1e9, H = 0; H < T; H++) + H != O && + H != S && + ((Y = H), + (M = H < T - 1 ? H + 1 : 0), + (gg = a[Y]), + (_g = a[M]), + (eg = C.g_aQH( + X.get_x(), + X.get_y(), + V.get_x(), + V.get_y(), + gg.get_x(), + gg.get_y(), + _g.get_x(), + _g.get_y() + )), + eg && + ((I = V.get_x() - eg.get_x()), + (R = V.get_y() - eg.get_y()), + (U = I * I + R * R), + U < L ? ((G = Y), (P = M), (ag = eg), (L = U)) : e(eg))); + if (1e9 == L) return []; + for ( + K = [], + J = [], + Y = G, + M = P, + gg = a[Y], + _g = a[M], + E = !1, + C.g_aQK(ag.get_x(), ag.get_y(), _g.get_x(), _g.get_y()) || (K.push(ag), (E = !0)), + C.g_aQK(ag.get_x(), ag.get_y(), gg.get_x(), gg.get_y()) || (J.push(ag), (E = !0)), + E || e(ag), + G = -1, + P = O; + ; + + ) { + if (P != M) K.push(a[P]); + else { + if (0 > G || G >= T) return []; + C.g_aQI(_g.get_x(), _g.get_y(), a[G].get_x(), a[G].get_y(), X.get_x(), X.get_y()) || + K.push(a[P]); + break; + } + (G = P), 0 > P - 1 ? (P = T - 1) : P--; + } + for (K.reverse(), G = -1, P = S; ; ) { + if (P != Y) J.push(a[P]); + else { + if (0 > G || G >= T) return []; + P != Y || + C.g_aQI( + gg.get_x(), + gg.get_y(), + a[G].get_x(), + a[G].get_y(), + V.get_x(), + V.get_y() + ) || + J.push(a[P]); + break; + } + (G = P), P + 1 > T - 1 ? (P = 0) : P++; + } + D.push(K, J), D.shift(); + break; + } + W && Q.push(D.shift()); + } + return Q; + }); +} +'use strict', + (g_aO.g_ahl.g_aQM = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aQM.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict', + (g_aO.g_ahl.g_aQM.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g), + (this.g_aQN = null), + (this.g_aQO = -1), + (this.g_aQP = ''), + (this.g_aQQ = new Set()), + (this.g_aQR = 0), + (this.g_aQS = 0), + (this.g_aQT = 0), + (this.g_aQU = 0), + (this.g_aQV = 0), + (this.g_aQW = 0), + (this.g_aQX = 0), + (this.g_aQY = 0), + (this.g_aQZ = 0), + (this.g_aNU = 0), + (this.g_aQ_ = !1), + _ && (this.g_aQ_ = _[0]); + const e = this.g_Be.g_lh(); + this.g_lN = new g_aO.g_lK( + g_aO.g_lE.g_lJ(e, 'instancedestroy', (g) => this.g_aAf(g.g_Ke)), + g_aO.g_lE.g_lJ(e, 'afterload', () => this.g_aAg()) + ); + } + g_ek() { + (this.g_aQN = null), super.g_ek(); + } + g_aQ$(g) { + g ? ((this.g_aQN = g), this.g_aen()) : ((this.g_aQN = null), this.g_adZ()); + } + g_aRa(g, _, e) { + if (g) { + const t = g.g_abA(this.g_b_); + if (t) { + (this.g_aQP = _), this.g_aQ$(t); + const g = this.g_b_.g_CU(), + a = t.g_CU(); + if ('properties' === this.g_aQP) { + const _ = this.g_aQQ; + _.clear(); + for (const g of e) _.add(g); + (this.g_aQU = g.g_Ig() - a.g_Ig()), + (this.g_aQV = g.g_Ih() - a.g_Ih()), + (this.g_aQY = g.g_Fj() - a.g_Fj()), + (this.g_aNU = g.g_Fj()), + (this.g_aQZ = g.g_Do() - a.g_Do()), + _.has('x') && + _.has('y') && + ((this.g_aQS = g_aO.g_ev(a.g_Ig(), a.g_Ih(), g.g_Ig(), g.g_Ih()) - a.g_Fj()), + (this.g_aQR = g_aO.g_et(a.g_Ig(), a.g_Ih(), g.g_Ig(), g.g_Ih()))), + _.has('width-abs') + ? (this.g_aQW = g.g_pN() - a.g_pN()) + : _.has('width-scale') && (this.g_aQW = g.g_pN() / a.g_pN()), + _.has('height-abs') + ? (this.g_aQX = g.g_pO() - a.g_pO()) + : _.has('height-scale') && (this.g_aQX = g.g_pO() / a.g_pO()); + } else this.g_aQR = g_aO.g_et(a.g_Ig(), a.g_Ih(), g.g_Ig(), g.g_Ih()); + } + } + } + g_GH() { + const g = this.g_aQQ, + _ = this.g_aQP, + e = { uid: this.g_aQN ? this.g_aQN.g_Ei() : -1, m: _ }; + return ( + 'rope' === _ || 'bar' === _ + ? (e.pd = this.g_aQR) + : 'properties' === _ && + ((e.ps = [...this.g_aQQ]), + g.has('imagepoint') + ? (e.ip = this.g_aQT) + : g.has('x') && g.has('y') + ? ((e.pa = this.g_aQS), (e.pd = this.g_aQR)) + : (g.has('x') && (e.dx = this.g_aQU), g.has('y') && (e.dy = this.g_aQV)), + g.has('angle') && ((e.da = this.g_aQY), (e.lka = this.g_aNU)), + (g.has('width-abs') || g.has('width-scale')) && (e.dw = this.g_aQW), + (g.has('height-abs') || g.has('height-scale')) && (e.dh = this.g_aQX), + g.has('z') && (e.dz = this.g_aQZ)), + e + ); + } + g_GJ(g) { + const _ = g.m, + e = this.g_aQQ; + if ((e.clear(), (this.g_aQO = g.uid), 'number' == typeof _)) return void this.g_aRb(g); + if (((this.g_aQP = _), 'rope' === _ || 'bar' === _)) this.g_aQR = g.pd; + else if ('properties' === _) { + for (const _ of g.ps) e.add(_); + e.has('imagepoint') + ? (this.g_aQT = g.ip) + : e.has('x') && e.has('y') + ? ((this.g_aQS = g.pa), (this.g_aQR = g.pd)) + : (e.has('x') && (this.g_aQU = g.dx), e.has('y') && (this.g_aQV = g.dy)), + e.has('angle') && ((this.g_aQY = g.da), (this.g_aNU = g.lka || 0)), + (e.has('width-abs') || e.has('width-scale')) && (this.g_aQW = g.dw), + (e.has('height-abs') || e.has('height-scale')) && (this.g_aQX = g.dh), + e.has('z') && (this.g_aQZ = g.dz); + } + } + g_aRb(_) { + const a = this.g_aQQ, + t = _.msa, + n = _.tsa, + i = _.pa, + e = _.pd, + r = _.m; + 0 === r + ? ((this.g_aQP = 'properties'), + a.add('x').add('y').add('angle'), + (this.g_aQS = i), + (this.g_aQR = e), + (this.g_aQY = t - n), + (this.g_aNU = _.lka)) + : 1 === r + ? ((this.g_aQP = 'properties'), a.add('x').add('y'), (this.g_aQS = i), (this.g_aQR = e)) + : 2 === r + ? ((this.g_aQP = 'properties'), a.add('angle'), (this.g_aQY = t - n), (this.g_aNU = _.lka)) + : 3 === r + ? ((this.g_aQP = 'rope'), (this.g_aQR = _.pd)) + : 4 === r + ? ((this.g_aQP = 'bar'), (this.g_aQR = _.pd)) + : void 0; + } + g_aAg() { + -1 === this.g_aQO + ? this.g_aQ$(null) + : (this.g_aQ$(this.g_Be.g_NN(this.g_aQO)), (this.g_aQO = -1)); + } + g_aAf(g) { + this.g_aQN === g && (this.g_aQ$(null), this.g_aQ_ && this.g_Be.g_EB(this.g_b_)); + } + g_aek() { + var _ = Math.sin, + t = Math.cos; + const n = this.g_aQN; + if (!n) return; + const i = n.g_CU(), + a = this.g_b_, + r = a.g_CU(), + e = this.g_aQP; + let s = !1; + if ('rope' === e || 'bar' === e) { + const g = g_aO.g_et(r.g_Ig(), r.g_Ih(), i.g_Ig(), i.g_Ih()); + if (g > this.g_aQR || ('bar' === e && g < this.g_aQR)) { + const g = g_aO.g_ev(i.g_Ig(), i.g_Ih(), r.g_Ig(), r.g_Ih()); + r.g_abq(i.g_Ig() + t(g) * this.g_aQR, i.g_Ih() + _(g) * this.g_aQR), (s = !0); + } + } else { + const a = this.g_aQQ; + let e = 0; + if (a.has('imagepoint')) { + const [g, _] = n.g_abs(this.g_aQT); + r.g_abp(g, _) || (r.g_abq(g, _), (s = !0)); + } else if (a.has('x') && a.has('y')) { + const g = i.g_Ig() + t(i.g_Fj() + this.g_aQS) * this.g_aQR, + a = i.g_Ih() + _(i.g_Fj() + this.g_aQS) * this.g_aQR; + r.g_abp(g, a) || (r.g_abq(g, a), (s = !0)); + } else + (e = i.g_Ig() + this.g_aQU), + a.has('x') && e !== r.g_Ig() && (r.g_abn(e), (s = !0)), + (e = i.g_Ih() + this.g_aQV), + a.has('y') && e !== r.g_Ih() && (r.g_abo(e), (s = !0)); + a.has('angle') && + (this.g_aNU !== r.g_Fj() && + (this.g_aQY = g_aO.g_eq(this.g_aQY + (r.g_Fj() - this.g_aNU))), + (e = g_aO.g_eq(i.g_Fj() + this.g_aQY)), + e !== r.g_Fj() && (r.g_Fi(e), (s = !0)), + (this.g_aNU = r.g_Fj())), + a.has('width-abs') && + ((e = i.g_pN() + this.g_aQW), e !== r.g_pN() && (r.g_Hj(e), (s = !0))), + a.has('width-scale') && + ((e = i.g_pN() * this.g_aQW), e !== r.g_pN() && (r.g_Hj(e), (s = !0))), + a.has('height-abs') && + ((e = i.g_pO() + this.g_aQX), e !== r.g_pO() && (r.g_Hk(e), (s = !0))), + a.has('height-scale') && + ((e = i.g_pO() * this.g_aQX), e !== r.g_pO() && (r.g_Hk(e), (s = !0))), + a.has('z') && + ((e = i.g_Do() + this.g_aQZ), e !== r.g_Do() && (r.g_Fh(e), this.g_Be.g_EV())); + } + s && r.g_En(); + } + g_aep() { + return [ + { + title: '$' + this.g_NZ().g_pY(), + properties: [ + { name: 'behaviors.pin.debugger.is-pinned', value: !!this.g_aQN }, + { name: 'behaviors.pin.debugger.pinned-uid', value: this.g_aQN ? this.g_aQN.g_Ei() : 0 } + ] + } + ]; + } + }), + 'use strict', + (g_aO.g_ahl.g_aQM.g_HW = { + g_aRc() { + return !!this.g_aQN; + }, + g_aRd() { + return this.g_aQ_; + } + }), + 'use strict', + (g_aO.g_ahl.g_aQM.g_abH = { + g_aRe(g, _) { + this.g_aRa(g, 0 === _ ? 'rope' : 'bar'); + }, + g_aRf(_, a, t, n, i, e, r) { + const g = []; + a && g.push('x'), + t && g.push('y'), + n && g.push('angle'), + r && g.push('z'), + 1 === i ? g.push('width-abs') : 2 == i && g.push('width-scale'), + 1 === e ? g.push('height-abs') : 2 == e && g.push('height-scale'), + 0 === g.length || this.g_aRa(_, 'properties', g); + }, + g_aRg(_, a, t, n, i, e) { + const r = ['imagepoint']; + t && r.push('angle'), + e && r.push('z'), + 1 === n ? r.push('width-abs') : 2 == n && r.push('width-scale'), + 1 === i ? r.push('height-abs') : 2 == i && r.push('height-scale'), + (this.g_aQT = a), + this.g_aRa(_, 'properties', r); + }, + g_aRh(g) { + ('rope' === this.g_aQP || 'bar' === this.g_aQP) && (this.g_aQR = Math.max(g, 0)); + }, + g_aRi(g) { + this.g_aQ_ = g; + }, + g_aRj() { + this.g_aQ$(null), (this.g_aQP = ''), this.g_aQQ.clear(), (this.g_aQT = ''); + }, + g_aQM(g, _) { + 0 === _ + ? this.g_aRa(g, 'properties', ['x', 'y', 'angle']) + : 1 === _ + ? this.g_aRa(g, 'properties', ['x', 'y']) + : 2 === _ + ? this.g_aRa(g, 'properties', ['angle']) + : 3 === _ + ? this.g_aRa(g, 'rope') + : 4 === _ + ? this.g_aRa(g, 'bar') + : void 0; + } + }), + 'use strict', + (g_aO.g_ahl.g_aQM.g__$ = { + g_aRk() { + return this.g_aQN ? this.g_aQN.g_Ei() : -1; + } + }), + 'use strict', + (g_aO.g_ahl.g_aRl = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aRl.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict', + (g_aO.g_ahl.g_aRl.g_aRm = class { + constructor(g, _, e, a) { + (this.g_Tt = g_aO.g_ej(g_aO.g_lQ)), + this.g_Tt.Set(g || 0), + (this.g_aRn = g_aO.g_ej(g_aO.g_lQ)), + this.g_aRn.Set(_ || 0), + (this.g_aii = e || 0), + (this.g_aRo = !!a), + (this.g_aRp = !1); + } + g_aRq() { + return this.g_Tt.g_bd(); + } + g_LZ() { + return this.g_aRn.g_bd(); + } + g_aio() { + return this.g_aii; + } + g_aAO(g) { + this.g_aRp = !!g; + } + g_aRr() { + return this.g_aRp; + } + g_jB(g) { + this.g_Tt.g_jB(g), this.g_aRn.g_jB(g); + } + g_aRs() { + return this.g_Tt.g_bd() >= this.g_aii; + } + g_Dl() { + if (this.g_aRs()) + if (this.g_aRo) this.g_Tt.g_lU(this.g_aii); + else return !0; + return !1; + } + g_GH() { + return { + c: this.g_Tt.g_bd(), + t: this.g_aRn.g_bd(), + d: this.g_aii, + r: this.g_aRo, + p: this.g_aRp + }; + } + g_GJ(g) { + this.g_Tt.Set(g.c), + this.g_aRn.Set(g.t), + (this.g_aii = g.d), + (this.g_aRo = !!g.r), + (this.g_aRp = !!g.p); + } + }), + (g_aO.g_ahl.g_aRl.Instance = class extends g_aO.g_afk { + constructor(g) { + super(g), (this.g_aRt = new Map()); + } + g_ek() { + this.g_aRt.clear(), super.g_ek(); + } + g_aRu() { + 0 < this.g_aRt.size ? (this.g_ael(), this.g_aen()) : (this.g_adY(), this.g_adZ()); + } + g_GH() { + const g = {}; + for (const [_, e] of this.g_aRt.entries()) g[_] = e.g_GH(); + return g; + } + g_GJ(g) { + this.g_aRt.clear(); + for (const [_, e] of Object.entries(g)) { + const g = new g_aO.g_ahl.g_aRl.g_aRm(); + g.g_GJ(e), this.g_aRt.set(_, g); + } + this.g_aRu(); + } + g_KZ() { + const g = this.g_Be.g_KW(this.g_b_); + for (const _ of this.g_aRt.values()) _.g_aRr() || _.g_jB(g); + } + g_aek() { + for (const [g, _] of this.g_aRt.entries()) { + const e = _.g_Dl(); + e && this.g_aRt.delete(g); + } + } + g_aep() { + var g = Math.round; + return [ + { + title: 'behaviors.timer.debugger.timers', + properties: [...this.g_aRt.entries()].map((_) => ({ + name: '$' + _[0], + value: `${g(10 * _[1].g_aRq()) / 10} / ${g(10 * _[1].g_aio()) / 10}` + })) + } + ]; + } + }), + 'use strict', + (g_aO.g_ahl.g_aRl.g_HW = { + g_aRv(g) { + const _ = this.g_aRt.get(g.toLowerCase()); + return !!_ && _.g_aRs(); + }, + g_aRw(g) { + return this.g_aRt.has(g.toLowerCase()); + }, + g_aRx(g) { + const _ = this.g_aRt.get(g.toLowerCase()); + return _ && _.g_aRr(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aRl.g_abH = { + g_aRy(g, _, e) { + const a = new g_aO.g_ahl.g_aRl.g_aRm(0, 0, g, 1 === _); + this.g_aRt.set(e.toLowerCase(), a), this.g_aRu(); + }, + g_aRz(g) { + this.g_aRt.delete(g.toLowerCase()), this.g_aRu(); + }, + g_aRA(g, _) { + const e = this.g_aRt.get(g.toLowerCase()); + e && e.g_aAO(0 === _); + } + }), + 'use strict', + (g_aO.g_ahl.g_aRl.g__$ = { + g_aBv(g) { + const _ = this.g_aRt.get(g.toLowerCase()); + return _ ? _.g_aRq() : 0; + }, + g_aRB(g) { + const _ = this.g_aRt.get(g.toLowerCase()); + return _ ? _.g_LZ() : 0; + }, + g_aBk(g) { + const _ = this.g_aRt.get(g.toLowerCase()); + return _ ? _.g_aio() : 0; + } + }), + 'use strict', + (g_aO.g_ahl.g_aRC = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aRC.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict', + (g_aO.g_ahl.g_aRC.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g), + (this.g_aRD = 2), + (this.g_aRE = 2), + (this.g_aRF = 0), + (this.g_aRG = 0), + (this.g__z = !0); + const e = this.g_b_.g_CU().g_Gi(); + (this.g_aRH = e.g_hV()), + (this.g_aRI = e.g_hW()), + (this.g_aRJ = this.g_Be.g_DY() - e.g_hV()), + (this.g_aRK = this.g_Be.g_DZ() - e.g_hW()), + (this.g_aRL = this.g_Be.g_DY() - e.g_hX()), + (this.g_aRM = this.g_Be.g_DZ() - e.g_hY()), + _ && + ((this.g_aRD = _[0]), + (this.g_aRE = _[1]), + (this.g_aRF = _[2]), + (this.g_aRG = _[3]), + (this.g__z = !!_[4])), + this.g__z && this.g_ael(); + } + g_ek() { + super.g_ek(); + } + g_GH() { + return { + xl: this.g_aRH, + yt: this.g_aRI, + xr: this.g_aRJ, + yb: this.g_aRK, + rd: this.g_aRL, + bd: this.g_aRM, + al: this.g_aRD, + at: this.g_aRE, + ar: this.g_aRF, + ab: this.g_aRG, + e: this.g__z + }; + } + g_GJ(g) { + (this.g_aRH = g.xl), + (this.g_aRI = g.yt), + (this.g_aRJ = g.xr), + (this.g_aRK = g.yb), + (this.g_aRL = g.rd), + (this.g_aRM = g.bd), + (this.g_aRD = g.al), + (this.g_aRE = g.at), + (this.g_aRF = g.ar), + (this.g_aRG = g.ab), + (this.g__z = g.e), + this.g__z ? this.g_ael() : this.g_adY(); + } + g_KZ() { + var g = Math.max; + if (this.g__z) { + const _ = this.g_b_.g_CU(), + e = _.g_Em().g_EW(); + if (0 === this.g_aRD) { + const g = e.g_hV() + this.g_aRH - _.g_Gi().g_hV(); + 0 != g && (_.g_QQ(g), _.g_En()); + } else if (1 === this.g_aRD) { + const g = e.g_hX() - this.g_aRJ - _.g_Gi().g_hV(); + 0 != g && (_.g_QQ(g), _.g_En()); + } + if (0 === this.g_aRE) { + const g = e.g_hW() + this.g_aRI - _.g_Gi().g_hW(); + 0 != g && (_.g_QR(g), _.g_En()); + } else if (1 === this.g_aRE) { + const g = e.g_hY() - this.g_aRK - _.g_Gi().g_hW(); + 0 != g && (_.g_QR(g), _.g_En()); + } + if (1 === this.g_aRF) { + const a = e.g_hX() - this.g_aRL - _.g_Gi().g_hX(); + 0 != a && + (_.g_QQ(_.g_QX() * a), + _.g_Hj(g(_.g_pN() + a), 0), + _.g_En(), + (this.g_aRL = e.g_hX() - _.g_Gi().g_hX())); + } + if (1 === this.g_aRG) { + const a = e.g_hY() - this.g_aRM - _.g_Gi().g_hY(); + 0 != a && + (_.g_QR(_.g_QZ() * a), + _.g_Hk(g(_.g_pO() + a, 0)), + _.g_En(), + (this.g_aRM = e.g_hY() - _.g_Gi().g_hY())); + } + } + } + g_QF(g) { + return 0 === g + ? this.g_aRD + : 1 === g + ? this.g_aRE + : 2 === g + ? this.g_aRF + : 3 === g + ? this.g_aRG + : 4 === g + ? this.g__z + : void 0; + } + g_QM(g, _) { + 0 === g + ? (this.g_aRD = _) + : 1 === g + ? (this.g_aRE = _) + : 2 === g + ? (this.g_aRF = _) + : 3 === g + ? (this.g_aRG = _) + : 4 === g + ? ((this.g__z = !!_), this.g__z ? this.g_ael() : this.g_adY()) + : void 0; + } + }), + 'use strict', + (g_aO.g_ahl.g_aRC.g_HW = { + g_jp() { + return this.g__z; + } + }), + 'use strict', + (g_aO.g_ahl.g_aRC.g_abH = { + g_aQu(g) { + if (this.g__z && 0 === g) (this.g__z = !1), this.g_adY(); + else if (!this.g__z && 0 !== g) { + const g = this.g_b_.g_CU().g_Gi(); + (this.g_aRH = g.g_hV()), + (this.g_aRI = g.g_hW()), + (this.g_aRJ = this.g_Be.g_DY() - g.g_hV()), + (this.g_aRK = this.g_Be.g_DZ() - g.g_hW()), + (this.g_aRL = this.g_Be.g_DY() - g.g_hX()), + (this.g_aRM = this.g_Be.g_DZ() - g.g_hY()), + (this.g__z = !0), + this.g_ael(); + } + } + }), + 'use strict', + (g_aO.g_ahl.g_aRC.g__$ = {}), + 'use strict', + (g_aO.g_ahl.Tween = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.Tween.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + const g = g_aO.g_ahl.Tween; + g.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g), + (this.g_aRN = !1), + (this.g_jc = !0), + _ && ((this.g_aRN = !1), (this.g_jc = !!_[0])), + (this.g_aRO = new Map()), + (this.g_aRP = []), + (this.g_aRQ = new Map()), + (this.g_aRR = null), + (this.g_aRS = null), + (this.g_aRT = null), + (this.g_aRU = null), + (this.g_aRV = ''), + this.g_jc && this.g_aen(), + (this.g_aRW = (g) => this.g_aAg(g)), + this.g_BI().g_lh().addEventListener('afterload', this.g_aRW); + } + g_ek() { + this.g_BI().g_lh().removeEventListener('afterload', this.g_aRW), + (this.g_aRW = null), + this.g_aRR && (this.g_aRX(this.g_aRR), (this.g_aRR = null)), + this.g_aRY(), + (this.g_aRZ = null), + this.g_aR_(), + (this.g_aRP = null), + this.g_aR$(), + (this.g_aRQ = null), + super.g_ek(); + } + g_aQu(g) { + (this.g_jc = g), this.g_jc ? this.g_aen() : this.g_adZ(); + } + g_aSa() { + return this.g_jc; + } + g_aSb(g) { + this.g_aRP.push(g); + } + g_aSc(g) { + return this.g_aRP.includes(g); + } + g_aR_() { + g_aO.g_fz(this.g_aRP); + } + g_aSd() { + return this.g_aRR; + } + g_NK() { + const g = this.g_afm(); + return !!g && !g.g_NL(); + } + g_aSe(g, _, e = !1) { + const a = _ ? this.g_aSf(_, e) : this.g_aSg(e); + if (a && a.length) for (const _ of a) if (_.g_KI(g)) return _; + } + g_aSh(g, _) { + return this.g_aSe(g, _, !0); + } + *g_aSi(g, _, e = !1) { + const a = _ ? this.g_aSf(_, e) : this.g_aSg(e); + if (a && a.length) for (const _ of a) _.g_KI(g) && (yield _); + } + *g_aSj(g, _) { + yield* this.g_aSi(g, _, !0); + } + g_aSf(g, _) { + if (_) { + let _ = this.g_aRO.get(g), + e = this.g_aRQ.get(g); + return _ || (_ = []), e || (e = []), _.concat(e).filter((g) => g); + } else { + let _ = this.g_aRO.get(g); + return _ || (_ = []), _.filter((g) => g); + } + } + g_aSg(g) { + if (g) { + const g = [...this.g_aRO.values()].flat(), + _ = [...this.g_aRQ.values()].flat(); + return g.concat(_).filter((g) => g); + } else { + const g = [...this.g_aRO.values()].flat(); + return g.filter((g) => g); + } + } + g_aSk() { + return this.g_aSg(!0); + } + g_GH() { + return { + s: !1, + e: !!this.g_jc, + at: this.g_aSl(), + dt: this.g_aSm(), + wt: this.g_aSn(), + ft: this.g_aSo() + }; + } + g_GJ(g) { + g && + ((this.g_aRS = g.at), + (this.g_aRT = g.dt), + (this.g_aRU = g.wt), + (this.g_aRV = g.ft), + (this.g_aRN = !1), + (this.g_jc = !!g.e)); + } + g_aAg() { + const g = this.g_BI().g_LT(); + if ((this.g_aSp(this.g_aRS, this.g_aRO, g), this.g_aRT)) { + g_aO.g_fz(this.g_aRP); + for (const _ of this.g_aRT) this.g_aSq(this.g_aRP, _, g); + } + this.g_aSp(this.g_aRU, this.g_aRQ, g), + (this.g_aRR = this.g_aSr(this.g_aRV, g)), + this.g_jc ? this.g_aen() : this.g_adZ(); + } + g_aSp(g, _, t) { + if (g) + for (const a in g) { + let n = _.get(a); + n ? g_aO.g_fz(n) : (n = []); + const e = g[a]; + for (const g of e) { + const _ = this.g_aSq(n, g.name, t); + if (!_) { + const _ = g_aO.Tween.g_SI({ runtime: this.g_BI(), json: g }); + _.g_Sv((g) => this.g_aSs(g)), t.g_KJ(_), this.g_aSq(n, _, t); + } else this.g_aSt(g.name, g, t); + } + _.set(a, n); + } + } + g_aSr(g, _) { + return _.g_KF(g); + } + g_aSq(g, _, e) { + if ('string' == typeof _) { + const a = this.g_aSr(_, e); + if (a) return !!g.push(a); + } else return !!g.push(_); + return !1; + } + g_aSt(g, _, e) { + if ('string' == typeof g) { + const a = this.g_aSr(g, e); + a && a.g_GI(_); + } else g.g_GI(_); + } + g_aSl() { + const g = {}; + for (const [_, e] of this.g_aRO) g[_] = e.map((g) => g.g_GG()); + return g; + } + g_aSm() { + return this.g_aRP.map((g) => g.g_pY()); + } + g_aSn() { + const g = {}; + for (const [_, e] of this.g_aRQ) g[_] = e.map((g) => g.g_GG()); + return g; + } + g_aSo() { + return this.g_aRR ? this.g_aRR.g_pY() : ''; + } + g_aek() { + this.g_aR$(); + } + g_aSu(_) { + const a = g.g_aSw.g_aSv(_.g_Ob, _.g_SQ, _.g_SR, _.g_SP, _.g_SM, this.g_afm()), + t = g.g_aSy.g_aSx(_.g_Ob); + g.g_aSy.g_aSz(t) || this.g_aSA(_.g_Ob); + const n = g_aO.Tween.g_SI({ + runtime: this.g_BI(), + id: t, + tags: _.tags, + time: _.time, + g_Ke: this.g_afm(), + g_SL: !!_.g_SL, + g_SK: _.g_SK, + g_SJ: a + }); + return n.g_Sv((g) => this.g_aSs(g)), this.g_aSB(n, _.g_Ob), n; + } + g_aSC(g, _ = !1) { + const e = g.g_LW(); + if (this.g_aRO.has(e)) { + const _ = this.g_aRO.get(e); + if (_) { + const e = _.indexOf(g); + -1 !== e && _.splice(e, 1); + } + } + g.g_K$() || this.g_aSD(g) || (g.g_Kg(_), this.g_aSE(g)); + } + g_aSA(_, t = !1) { + if (g_aO.g_cF(_)) { + const a = g.g_aSy.g_aSx(_); + if (!this.g_aRO.has(a)) return; + const n = this.g_aRO.get(a), + e = this.g_aSd(); + for (const g of n) g !== e && (g.g_K$() || this.g_aSD(g) || (g.g_Kg(t), g.g_ek())); + g_aO.g_fz(n); + } else { + const g = this.g_aSd(); + for (const _ of this.g_aSg()) + _ !== g && (_.g_K$() || this.g_aSD(_) || (_.g_Kg(t), _.g_ek())); + for (const g of this.g_aRO.keys()) g_aO.g_fz(this.g_aRO.get(g)), this.g_aRO.delete(g); + this.g_aRO.clear(); + } + } + g_aRX(g) { + this.g_aSC(g, !0); + } + g_aRY() { + this.g_aSA(NaN, !0); + } + g_QF(g) { + return 0 === g ? this.g_jc : void 0; + } + g_QM(g, _) { + 0 === g ? (this.g_jc = !!_) : void 0; + } + g_aSs(_) { + this.g_BI() && + ((this.g_aRR = _), + g.g_HW.g_aSF(_), + this.g_Ku(g.g_HW.g_aSG), + this.g_Ku(g.g_HW.g_aSH), + g.g_HW.g_aSF(null), + (this.g_aRR = null), + this.g_aSC(_), + _.g_SG() && this.g_BI().g_EB(this.g_afm())); + } + g_aSB(_, a) { + const t = g.g_aSy.g_aSx(a); + this.g_aRO.has(t) || this.g_aRO.set(t, []); + const n = this.g_aRO.get(t); + n.push(_); + } + g_aSE(g) { + const _ = g.g_LW(); + this.g_aRQ.has(_) || this.g_aRQ.set(_, []), this.g_aRQ.get(_).push(g); + } + g_aSD(g) { + const _ = g.g_LW(); + return !!this.g_aRQ.has(_) && this.g_aRQ.get(_).includes(g); + } + g_aR$() { + if (this.g_aRQ.size) { + for (const g of this.g_aRQ.values()) { + for (const _ of g) _.g_K$() || _.g_ek(); + g_aO.g_fz(g); + } + this.g_aRQ.clear(); + } + } + }; +} +{ + let g = null; + g_aO.g_ahl.Tween.g_HW = { + g_aSF(_) { + g = _; + }, + g_aSG(_) { + return g.g_KI(_); + }, + g_aSH() { + return !0; + }, + g_Mm(g) { + const _ = [...this.g_aSj(g)]; + return !!_ && !!_.length && _.some(g_aO.Tween.g_Mm); + }, + g_aAA() { + const g = [...this.g_aSk()]; + return !!g && !!g.length && g.some(g_aO.Tween.g_Mm); + } + }; +} +{ + const g = g_aO.g_ahl.Tween; + g.g_abH = { + g_aQu(g) { + this.g_aQu(!!g); + for (const _ of this.g_aSg()) + g ? this.g_aSc(_) && _.g_MV() : ((_.g_Mm() || _.g_MH()) && this.g_aSb(_), _.g_Kg()); + g && this.g_aR_(); + }, + async g_aSI(..._) { + if (this.g_aSa() && this.g_NK()) { + const e = this.g_aSu(g.g_aSK.g_aSJ(this, ..._)); + e.g_MW() && (await e.g_Mn()); + } + }, + async g_aSL(..._) { + if (this.g_aSa() && this.g_NK()) { + const e = this.g_aSu(g.g_aSK.g_aSM(this, ..._)); + e.g_MW() && (await e.g_Mn()); + } + }, + async g_aSN(..._) { + if (this.g_aSa() && this.g_NK()) { + const e = this.g_aSu(g.g_aSK.g_aSO(this, ..._)); + e.g_MW() && (await e.g_Mn()); + } + }, + g_aSP(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSi(g)) _.g_Kg(); + }, + g_aSQ() { + if (this.g_aSa() && this.g_NK()) for (const g of this.g_aSg()) g.g_Kg(); + }, + g_aSR(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSi(g)) _.g_MV(); + }, + g_aSS() { + if (this.g_aSa() && this.g_NK()) for (const g of this.g_aSg()) g.g_MV(); + }, + g_aST(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSi(g)) this.g_aSC(_); + }, + g_aSU() { + if (this.g_aSa() && this.g_NK()) for (const g of this.g_aSg()) this.g_aSC(g); + }, + g_aSV(g, _, e) { + if (this.g_aSa() && this.g_NK()) + for (const a of this.g_aSi(g)) a.g_SA([_], [e]), a.g_SB(_, e); + }, + g_aSW(g, _, a, t) { + if (this.g_aSa() && this.g_NK()) { + const n = g_aO.g_ahl.Tween.g_aSy.g_aSX(_); + for (const _ of this.g_aSi(g)) _.g_SA([a, t], n), _.g_SB(a, n[0]), _.g_SB(t, n[1]); + } + }, + g_aSY(g, _) { + if (this.g_aSa() && this.g_NK()) for (const e of this.g_aSi(g, 'value')) e.g_Sy(_, 'value'); + }, + g_aSZ(g, _) { + if (this.g_aSa() && this.g_NK()) + for (const e of this.g_aSi(g, 'value')) e.g_aS_([_], [value]), e.g_SB(_, 'value'); + }, + g_aS$(g, _) { + if (this.g_aSa() && this.g_NK()) { + const e = g_jF.g_jM(_); + for (const _ of this.g_aSi(g)) _.g_Mf(e); + } + }, + g_aTa(g) { + if (this.g_aSa() && this.g_NK()) { + const _ = g_jF.g_jM(g); + for (const g of this.g_aSg()) g.g_Mf(_); + } + }, + g_aTb(g, _) { + if (this.g_aSa() && this.g_NK()) for (const e of this.g_aSi(g)) e.g_MM(_); + }, + g_aTc(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSg()) _.g_MM(g); + }, + g_aTd(g, _) { + if (this.g_aSa() && this.g_NK()) for (const e of this.g_aSi(g)) e.g_Mj(_); + }, + g_aTe(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSg()) _.g_Mj(g); + }, + g_aTf(g, _) { + if (this.g_aSa() && this.g_NK()) for (const e of this.g_aSi(g)) e.g_SF(!!_); + }, + g_aTg(g) { + if (this.g_aSa() && this.g_NK()) for (const _ of this.g_aSg()) _.g_SF(!!g); + } + }; +} +'use strict', + (g_aO.g_ahl.Tween.g__$ = { + g_aTh(g) { + const _ = this.g_aSh(g); + return _ ? _.g_MJ() : 0; + }, + g_aTi(g) { + const _ = this.g_aSh(g); + return _ ? _.g_MJ() / _.g_LZ() : 0; + }, + g_aTj(g) { + const _ = this.g_aSh(g, 'value'); + return _ ? _.g_Nl('value').g_Pb() : 0; + }, + g_aTk() { + return this.g_aSd() ? this.g_aSd().g_Mr() : ''; + } + }), + 'use strict'; +{ + const g = ['position', 'size'], + _ = [ + 'offsetX', + 'offsetY', + 'offsetWidth', + 'offsetHeight', + 'offsetAngle', + 'offsetOpacity', + 'offsetColor', + 'offsetZElevation' + ], + t = ['value'], + n = [].concat(g).concat(_).concat(t), + i = { position: ['offsetX', 'offsetY'], size: ['offsetWidth', 'offsetHeight'] }, + e = Object.assign( + {}, + n.reduce((g, _) => Object.assign({}, g, { [_]: [_] }), {}), + i + ); + g_aO.g_ahl.Tween.g_aSy = class { + constructor() {} + static g_aTl() { + return [...g_jF.g_jI()]; + } + static g_jM(g) { + return [...g_jF.g_jI()][g]; + } + static g_aSx(g) { + return n[g]; + } + static g_aTm(g) { + return n.indexOf(g); + } + static g_aTn(_) { + return g[_]; + } + static g_aTo(g) { + return _[g]; + } + static g_aTp(g) { + return t[g]; + } + static g_aTq(g) { + return i[g]; + } + static g_aSX(g) { + return g_aO.g_cO(g) ? e[g] : e[n[g]]; + } + static g_aTr(g) { + return !!i[g]; + } + static g_aTs(g) { + return 'offsetColor' === g; + } + static g_aTt(g) { + return 'offsetAngle' === g; + } + static g_aTu(g) { + return 'offsetOpacity' === g; + } + static g_aSz(g) { + return 'value' === g; + } + }; +} +{ + const _ = g_aO.g_ahl.Tween, + t = new Map(); + _.g_aSw = class { + constructor() {} + static g_aSv(a, n, r, e, s, g) { + 0 === t.size && this.g_aTv(); + const d = _.g_aTx.g_aTw(a); + let i = t.get(d); + return g_aO.g_cF(a) && (a = _.g_aSy.g_aSx(a)), this.g_aTy(i, a, n, r, e, s, g); + } + static g_aTz(g, _) { + const e = g_aO.g_ahl.Tween.g_aSv(g); + return e.g_aTA(_); + } + static g_aTv() { + const g = _.g_aTx, + e = _.g_aTB; + this.g_aTC(g.g_aTD, this.g_aTE, e.g_aTF), + this.g_aTC(g.g_aTG, this.g_aTH, e.g_aTI), + this.g_aTC(g.g_aTJ, this.g_aTK, e.g_aTL), + this.g_aTC(g.g_aTM, this.g_aTN, e.g_aTF), + this.g_aTC(g.g_aTO, this.g_aTP, e.g_aTF); + } + static g_aTC(g, _, e) { + t.set(g, this.g_aTQ(g, _, e)); + } + static g_aTQ(g, _, e) { + return { name: g, g_aTR: _, g_aTA: e }; + } + static g_aTy(_, a, t, n, i, e, r) { + return _.g_aTR(a, _.g_aTA(t), _.g_aTA(n), i, e, r); + } + static g_aTE(a, t, n, i, e) { + const r = _.g_aSy.g_aTq(a); + return r.map((a, r) => ({ + g_SN: 'world-instance', + g_Ob: a, + type: 'float', + valueType: 'numeric', + g_SQ: t[r], + g_SR: n[r], + g_SP: _.g_aSy.g_jM(i), + g_SM: e + })); + } + static g_aTH(a, t, n, i, e, r) { + return g_aO.g_HY.Text && r.g_Ir() instanceof g_aO.g_HY.Text + ? { + g_SN: 'plugin', + g_SO: [7], + g_Ob: 'color', + type: 'color', + valueType: 'color', + g_SQ: t, + g_SR: n, + g_SP: _.g_aSy.g_jM(i), + g_SM: e + } + : { + g_SN: 'world-instance', + g_Ob: a, + type: 'color', + valueType: 'color', + g_SQ: t, + g_SR: n, + g_SP: _.g_aSy.g_jM(i), + g_SM: e + }; + } + static g_aTK(g, a, t, n, e) { + return { + g_SN: 'world-instance', + g_Ob: g, + type: 'angle', + valueType: 'angle', + g_SQ: a, + g_SR: t, + g_SP: _.g_aSy.g_jM(n), + g_SM: e + }; + } + static g_aTP(g, a, t, n, e) { + return { + g_SN: 'world-instance', + g_Ob: g, + type: 'float', + valueType: 'numeric', + g_SQ: a, + g_SR: t, + g_SP: _.g_aSy.g_jM(n), + g_SM: e + }; + } + static g_aTN(g, a, t, n, e) { + return { + g_SN: 'value', + g_Ob: g, + type: 'float', + valueType: 'numeric', + g_SQ: a, + g_SR: t, + g_SP: _.g_aSy.g_jM(n), + g_SM: e + }; + } + }; +} +{ + const _ = g_aO.g_ahl.Tween, + g = Object.assign({}, { g_SM: 'absolute' }, { tags: '', g_Ob: '', time: 0, g_SP: 0, g_SL: 0 }), + a = Object.assign({}, g, { g_SK: 'current-state', g_SQ: 0, g_SR: 0 }), + t = Object.assign({}, g, { g_SK: 'current-state', g_SQ: [0, 0], g_SR: [0, 0] }), + n = Object.assign({}, g, { g_SK: 'current-state', g_SQ: [0, 0, 0], g_SR: [0, 0, 0] }), + r = Object.assign({}, a, { g_SK: 'start-value' }); + _.g_aSK = class { + constructor() {} + static g_aTS(g, _, a, t, n) { + (g.tags = _), (g.time = a), (g.g_SP = t), (g.g_SL = n); + } + static g_aSJ(e, t, r, s, g, d, i) { + const o = _.g_aSy.g_aTo(r), + u = _.g_aSy.g_aTs(o) ? n : a; + return ( + this.g_aTS(u, t, g, d, i), + _.g_aSy.g_aTs(o) + ? ((n.g_SR[0] = g_aO.g_eN(s)), + (n.g_SR[1] = g_aO.g_eO(s)), + (n.g_SR[2] = g_aO.g_eP(s)), + (n.g_Ob = _.g_aSy.g_aTm(o))) + : _.g_aSy.g_aTu(o) + ? (a.g_SR = s / 100) + : (a.g_SR = s), + (u.g_Ob = _.g_aSy.g_aTm(o)), + u + ); + } + static g_aSM(a, n, r, e, s, g, d, i) { + this.g_aTS(t, n, g, d, i); + const l = _.g_aSy.g_aTn(r); + return (t.g_SR[0] = e), (t.g_SR[1] = s), (t.g_Ob = _.g_aSy.g_aTm(l)), t; + } + static g_aSO(a, t, n, s, e, g, d) { + return ( + this.g_aTS(r, t, e, g, d), (r.g_SQ = n), (r.g_SR = s), (r.g_Ob = _.g_aSy.g_aTm('value')), r + ); + } + }; +} +{ + const g = g_aO.g_ahl.Tween, + _ = []; + g.g_aTx = class { + constructor() {} + static g_aTw(e) { + if (0 === _.length) { + const e = _; + e.push({ g_xK: g.g_aSy.g_aTr, result: this.g_aTD }), + e.push({ g_xK: g.g_aSy.g_aTs, result: this.g_aTG }), + e.push({ g_xK: g.g_aSy.g_aTt, result: this.g_aTJ }), + e.push({ g_xK: g.g_aSy.g_aSz, result: this.g_aTM }), + e.push({ g_xK: () => !0, result: this.g_aTO }); + } + g_aO.g_cF(e) && (e = g_aO.g_ahl.Tween.g_aSy.g_aSx(e)); + for (const g of _) if (g.g_xK(e)) return g.result; + } + static get g_aTD() { + return 'pair'; + } + static get g_aTG() { + return 'color'; + } + static get g_aTJ() { + return 'angle'; + } + static get g_aTM() { + return 'value'; + } + static get g_aTO() { + return 'other'; + } + }; +} +{ + const g = g_aO.g_ahl.Tween; + g.g_aTB = class { + constructor() {} + static g_aTL(g) { + const _ = g_aO.g_er(parseFloat(g)); + return g_aO.g_eq(_); + } + static g_aTI(g) { + return g.slice(0); + } + static g_aTF(g) { + return g; + } + }; +} +'use strict', + (g_aO.g_ahl.g_aTT = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aTT.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + const g = 2 * Math.PI, + _ = Math.PI / 2, + a = (3 * Math.PI) / 2, + e = [0, 1, 8, 3, 4, 2, 5, 6, 9, 7]; + g_aO.g_ahl.g_aTT.Instance = class extends g_aO.g_afk { + constructor(_, a) { + super(_), + (this.g_aTU = 0), + (this.g_aTV = 0), + (this.g_aTW = 0), + (this.g_aTX = 0), + (this.g_aTY = 0), + (this.g__z = !0), + (this.g_aTZ = 0), + (this.g_aT_ = 0), + (this.g_aT$ = 0), + (this.g_aUa = 0), + (this.g_aUb = 0), + (this.g_aUc = 0), + (this.g__J = 0), + (this.g_aUd = 0), + (this.g_aUe = 0), + (this.g_aUf = 0), + (this.g_aUg = 0), + a && + ((this.g_aTV = e[a[0]]), + (this.g_aTW = a[1]), + (this.g_aUa = this.g_Be.g_afS() * a[3]), + (this.g_aTZ = a[2]), + (this.g_aTX = a[2]), + (this.g_aTX += this.g_aUa), + (this.g_aT_ = a[4]), + 0 !== this.g_aTX && + ((this.g_aUb = this.g_Be.g_afS() * a[5]), + (this.g_aTU = (a[4] / this.g_aTX) * g), + (this.g_aTU += (this.g_aUb / this.g_aTX) * g)), + (this.g_aUc = this.g_Be.g_afS() * a[7]), + (this.g_aT$ = a[6]), + (this.g_aTY = a[6]), + (this.g_aTY += this.g_aUc), + (this.g__z = !!a[8])), + 5 === this.g_aTV && (this.g_aTY = g_aO.g_er(this.g_aTY)), + this.g_akw(), + this.g__z && this.g_ael(); + } + g_ek() { + super.g_ek(); + } + g_GH() { + return { + i: this.g_aTU, + e: this.g__z, + mv: this.g_aTV, + w: this.g_aTW, + p: this.g_aTX, + mag: this.g_aTY, + iv: this.g__J, + iv2: this.g_aUd, + r: this.g_aUg, + lkv: this.g_aUe, + lkv2: this.g_aUf + }; + } + g_GJ(g) { + (this.g_aTU = g.i), + this.g_aOP(g.e), + (this.g_aTV = g.mv), + (this.g_aTW = g.w), + (this.g_aTX = g.p), + (this.g_aTY = g.mag), + (this.g__J = g.iv), + (this.g_aUd = g.iv2), + (this.g_aUg = g.r), + (this.g_aUe = g.lkv), + (this.g_aUf = g.lkv2); + } + g_akw() { + const g = this.g_b_.g_CU(); + switch (this.g_aTV) { + case 0: + this.g__J = g.g_Ig(); + break; + case 1: + this.g__J = g.g_Ih(); + break; + case 2: + (this.g__J = g.g_pN()), (this.g_aUg = g.g_pO() / g.g_pN()); + break; + case 3: + this.g__J = g.g_pN(); + break; + case 4: + this.g__J = g.g_pO(); + break; + case 5: + this.g__J = g.g_Fj(); + break; + case 6: + this.g__J = g.g_zk(); + break; + case 7: + this.g__J = 0; + break; + case 8: + (this.g__J = g.g_Ig()), (this.g_aUd = g.g_Ih()); + break; + case 9: + this.g__J = g.g_Do(); + break; + default: + } + (this.g_aUe = this.g__J), (this.g_aUf = this.g_aUd); + } + g_aUh(t) { + var n = Math.PI; + switch (((t %= g), this.g_aTW)) { + case 0: + return Math.sin(t); + case 1: + return t <= _ ? t / _ : t <= a ? 1 - (2 * (t - _)) / n : (t - a) / _ - 1; + case 2: + return (2 * t) / g - 1; + case 3: + return (-2 * t) / g + 1; + case 4: + return t < n ? -1 : 1; + } + return 0; + } + g_KZ() { + const _ = this.g_Be.g_KW(this.g_b_); + this.g__z && + 0 !== _ && + ((this.g_aTU = 0 === this.g_aTX ? 0 : (this.g_aTU + (_ / this.g_aTX) * g) % g), + this.g_aUi()); + } + g_aUi() { + const g = this.g_b_.g_CU(); + switch (this.g_aTV) { + case 0: + g.g_Ig() !== this.g_aUe && (this.g__J += g.g_Ig() - this.g_aUe), + g.g_abn(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY), + (this.g_aUe = g.g_Ig()); + break; + case 1: + g.g_Ih() !== this.g_aUe && (this.g__J += g.g_Ih() - this.g_aUe), + g.g_abo(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY), + (this.g_aUe = g.g_Ih()); + break; + case 2: + g.g_Hj(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY), g.g_Hk(g.g_pN() * this.g_aUg); + break; + case 3: + g.g_Hj(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY); + break; + case 4: + g.g_Hk(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY); + break; + case 5: + g.g_Fj() !== this.g_aUe && (this.g__J = g_aO.g_eq(this.g__J + (g.g_Fj() - this.g_aUe))), + g.g_Fi(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY), + (this.g_aUe = g.g_Fj()); + break; + case 6: + g.g_zm(this.g__J + (this.g_aUh(this.g_aTU) * this.g_aTY) / 100); + break; + case 8: + g.g_Ig() !== this.g_aUe && (this.g__J += g.g_Ig() - this.g_aUe), + g.g_Ih() !== this.g_aUf && (this.g_aUd += g.g_Ih() - this.g_aUf), + g.g_abn(this.g__J + Math.cos(g.g_Fj()) * this.g_aUh(this.g_aTU) * this.g_aTY), + g.g_abo(this.g_aUd + Math.sin(g.g_Fj()) * this.g_aUh(this.g_aTU) * this.g_aTY), + (this.g_aUe = g.g_Ig()), + (this.g_aUf = g.g_Ih()); + break; + case 9: + g.g_Fh(this.g__J + this.g_aUh(this.g_aTU) * this.g_aTY); + } + g.g_En(); + } + g_aUj() {} + g_aOP(g) { + (this.g__z = !!g), this.g__z ? this.g_ael() : this.g_adY(); + } + g_QF(g) { + return 0 === g + ? this.g_aTV + : 1 === g + ? this.g_aTW + : 2 === g + ? this.g_aTZ + : 6 === g + ? this.g_aT$ + : 8 === g + ? this.g__z + : void 0; + } + g_QM(_, a) { + 0 === _ + ? ((this.g_aTV = e[a]), this.g_akw()) + : 1 === _ + ? (this.g_aTW = a) + : 2 === _ + ? ((this.g_aTZ = a), + (this.g_aTX = this.g_aTZ + this.g_aUa), + this.g__z || + (0 === this.g_aTX + ? (this.g_aTU = 0) + : ((this.g_aTU = (this.g_aT_ / this.g_aTX) * g), + (this.g_aTU += (this.g_aUb / this.g_aTX) * g)))) + : 6 === _ + ? ((this.g_aT$ = a), + (this.g_aTY = this.g_aT$ + this.g_aUc), + 5 === this.g_aTV && (this.g_aTY = g_aO.g_er(this.g_aTY))) + : 8 === _ + ? (this.g__z = !!a) + : void 0; + } + g_aep() { + return [ + { + title: '$' + this.g_NZ().g_pY(), + properties: [ + { + name: 'behaviors.sin.properties.enabled.name', + value: this.g__z, + g_ayn: (g) => this.g_aOP(g) + }, + { + name: 'behaviors.sin.properties.period.name', + value: this.g_aTX, + g_ayn: (g) => (this.g_aTX = g) + }, + { + name: 'behaviors.sin.properties.magnitude.name', + value: this.g_aTY, + g_ayn: (g) => (this.g_aTY = g) + }, + { name: 'behaviors.sin.debugger.value', value: this.g_aUh(this.g_aTU) * this.g_aTY } + ] + } + ]; + } + }; +} +'use strict', + (g_aO.g_ahl.g_aTT.g_HW = { + g_jp() { + return this.g__z; + }, + g_aUk(g) { + return this.g_aTV === g; + }, + g_aUl(g, _) { + return g_aO.compare(this.g_aTX, g, _); + }, + g_aUm(g, _) { + return 5 === this.g_aTV + ? g_aO.compare(this.g_aTY, g, g_aO.g_er(_)) + : g_aO.compare(this.g_aTY, g, _); + }, + g_aUn(g) { + return this.g_aTW === g; + } + }), + 'use strict', + (g_aO.g_ahl.g_aTT.g_abH = { + g_aQu(g) { + this.g_aOP(0 !== g); + }, + g_aUo(g) { + this.g_aTX = g; + }, + g_aUp(g) { + (this.g_aTY = g), 5 === this.g_aTV && (this.g_aTY = g_aO.g_er(this.g_aTY)); + }, + g_aUq(g) { + 5 === this.g_aTV && 5 !== g && (this.g_aTY = g_aO.g_es(this.g_aTY)), + (this.g_aTV = g), + this.g_akw(); + }, + g_aUr(g) { + this.g_aTW = g; + }, + g_aUs(g) { + const _ = 2 * Math.PI; + (this.g_aTU = (g * _) % _), this.g_aUi(); + }, + g_aUt() { + this.g_akw(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aTT.g__$ = { + g_aUu() { + return this.g_aTU / (2 * Math.PI); + }, + g_aUv() { + return this.g_aTX; + }, + g_aUw() { + return 5 === this.g_aTV ? g_aO.g_es(this.g_aTY) : this.g_aTY; + }, + g_aTj() { + return this.g_aUh(this.g_aTU) * this.g_aTY; + } + }), + 'use strict', + (g_aO.g_ahl.g_aUx = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aUx.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict', + (g_aO.g_ahl.g_aUx.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g), + (this.g_aUy = 0), + (this.g_aUz = 0), + (this.g_aUA = 0), + (this.g_aQ_ = !0), + (this.g_aUB = !0), + (this.g_aUC = !1), + (this.g_aUD = 0), + (this.g_aUE = g_aO.g_ej(g_aO.g_lQ)), + (this.g_aUF = this.g_b_.g_CU().g_zk() || 1), + _ && + ((this.g_aUy = _[0]), + (this.g_aUz = _[1]), + (this.g_aUA = _[2]), + (this.g_aQ_ = !!_[3]), + (this.g_aUB = !!_[4]), + (this.g_aUD = this.g_aUB ? 0 : 3)), + this.g_aUB && + (0 === this.g_aUy + ? ((this.g_aUD = 1), 0 === this.g_aUz && (this.g_aUD = 2)) + : (this.g_b_.g_CU().g_zm(0), this.g_Be.g_EV())), + this.g_ael(); + } + g_ek() { + super.g_ek(); + } + g_GH() { + return { + fit: this.g_aUy, + wt: this.g_aUz, + fot: this.g_aUA, + d: this.g_aQ_, + s: this.g_aUD, + st: this.g_aUE.g_bd(), + mo: this.g_aUF + }; + } + g_GJ(g) { + (this.g_aUy = g.fit), + (this.g_aUz = g.wt), + (this.g_aUA = g.fot), + (this.g_aQ_ = g.d), + (this.g_aUD = g.s), + this.g_aUE.Set(g.st), + (this.g_aUF = g.mo); + } + g_KZ() { + const g = this.g_Be.g_KW(this.g_b_); + this.g_aUE.g_jB(g); + const _ = this.g_b_.g_CU(); + 0 === this.g_aUD && + (_.g_zm(this.g_aUE.g_bd() / this.g_aUy) * this.g_aUF, + this.g_Be.g_EV(), + _.g_zk() >= this.g_aUF && + (_.g_zm(this.g_aUF), + (this.g_aUD = 1), + this.g_aUE.g_lC(), + this.g_Ku(g_aO.g_ahl.g_aUx.g_HW.g_aUG))), + 1 === this.g_aUD && + this.g_aUE.g_bd() >= this.g_aUz && + ((this.g_aUD = 2), this.g_aUE.g_lC(), this.g_Ku(g_aO.g_ahl.g_aUx.g_HW.g_aUH)), + 2 === this.g_aUD && + 0 !== this.g_aUA && + (_.g_zm(this.g_aUF - (this.g_aUE.g_bd() / this.g_aUA) * this.g_aUF), + this.g_Be.g_EV(), + 0 >= _.g_zk() && + ((this.g_aUD = 3), + this.g_aUE.g_lC(), + this.g_Ku(g_aO.g_ahl.g_aUx.g_HW.g_aUI), + this.g_aQ_ && this.g_Be.g_EB(this.g_b_))); + } + g_AC() { + (this.g_aUD = 0), + this.g_aUE.g_lC(), + 0 === this.g_aUy + ? ((this.g_aUD = 1), 0 === this.g_aUz && (this.g_aUD = 2)) + : (this.g_b_.g_CU().g_zm(0), this.g_Be.g_EV()); + } + g_QF(g) { + return 0 === g + ? this.g_aUy + : 1 === g + ? this.g_aUz + : 2 === g + ? this.g_aUA + : 3 === g + ? this.g_aQ_ + : void 0; + } + g_QM(g, _) { + 0 === g + ? (this.g_aUy = _) + : 1 === g + ? (this.g_aUz = _) + : 2 === g + ? (this.g_aUA = _) + : 3 === g + ? (this.g_aQ_ = !!_) + : void 0; + } + g_aep() { + return [ + { + title: '$' + this.g_NZ().g_pY(), + properties: [ + { + name: 'behaviors.fade.properties.fade-in-time.name', + value: this.g_aUy, + g_ayn: (g) => (this.g_aUy = g) + }, + { + name: 'behaviors.fade.properties.wait-time.name', + value: this.g_aUz, + g_ayn: (g) => (this.g_aUz = g) + }, + { + name: 'behaviors.fade.properties.fade-out-time.name', + value: this.g_aUA, + g_ayn: (g) => (this.g_aUA = g) + }, + { + name: 'behaviors.fade.debugger.stage', + value: [ + 'behaviors.fade.debugger.' + ['fade-in', 'wait', 'fade-out', 'done'][this.g_aUD] + ] + } + ] + } + ]; + } + }), + 'use strict', + (g_aO.g_ahl.g_aUx.g_HW = { + g_aUI() { + return !0; + }, + g_aUG() { + return !0; + }, + g_aUH() { + return !0; + } + }), + 'use strict', + (g_aO.g_ahl.g_aUx.g_abH = { + g_aUJ() { + this.g_aUB || this.g_aUC || ((this.g_aUF = this.g_b_.g_CU().g_zk() || 1), (this.g_aUC = !0)), + 3 === this.g_aUD && this.g_AC(); + }, + g_aUK() { + this.g_AC(); + }, + g_aUL(g) { + 0 > g && (g = 0), (this.g_aUy = g); + }, + g_aUM(g) { + 0 > g && (g = 0), (this.g_aUz = g); + }, + g_aUN(g) { + 0 > g && (g = 0), (this.g_aUA = g); + } + }), + 'use strict', + (g_aO.g_ahl.g_aUx.g__$ = { + g_aUO() { + return this.g_aUy; + }, + g_aUP() { + return this.g_aUz; + }, + g_aUQ() { + return this.g_aUA; + } + }), + 'use strict', + (g_aO.g_ahl.g_aUR = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aUR.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + g_aO.g_ahl.g_aUR.Instance = class extends g_aO.g_afk { + constructor(g, _) { + var a = Math.abs; + super(g); + const t = this.g_CU(); + (this.g_ahV = 0), + (this.g_aUS = 0), + (this.g_gD = 0), + (this.g_aUT = !1), + (this.g_aUU = !1), + (this.g_aUV = !1), + (this.g__z = !0), + (this.g_aQU = 0), + (this.g_aQV = 0), + (this.g_aLm = t.g_Ig()), + (this.g_aLn = t.g_Ih()), + (this.g_aNU = t.g_Fj()), + (this.g_aUW = 0), + (this.g_aUX = Math.min(a(t.g_pN()), a(t.g_pO()) / 2)), + (this.g_aUY = !1), + _ && + ((this.g_ahV = _[0]), + (this.g_aUS = _[1]), + (this.g_gD = _[2]), + (this.g_aUT = !!_[3]), + (this.g_aUU = !!_[4]), + (this.g_aUV = !!_[5]), + (this.g__z = !!_[6])); + const e = t.g_Fj(); + (this.g_aQU = Math.cos(e) * this.g_ahV), + (this.g_aQV = Math.sin(e) * this.g_ahV), + this.g__z && (this.g_ael(), this.g_aUT && this.g_afw()); + } + g_ek() { + super.g_ek(); + } + g_GH() { + const g = { + dx: this.g_aQU, + dy: this.g_aQV, + lx: this.g_aLm, + ly: this.g_aLn, + lka: this.g_aNU, + t: this.g_aUW + }; + return ( + 0 !== this.g_aUS && (g.acc = this.g_aUS), + 0 !== this.g_gD && (g.g = this.g_gD), + this.g_aUV && (g.st = this.g_aUV), + this.g__z || (g.e = this.g__z), + this.g_aUT && (g.bos = this.g_aUT), + this.g_aUU && (g.sa = this.g_aUU), + g + ); + } + g_GJ(g) { + (this.g_aQU = g.dx), + (this.g_aQV = g.dy), + (this.g_aLm = g.lx), + (this.g_aLn = g.ly), + (this.g_aNU = g.lka), + (this.g_aUW = g.t), + (this.g_aUS = g.hasOwnProperty('acc') ? g.acc : 0), + (this.g_gD = g.hasOwnProperty('g') ? g.g : 0), + (this.g_aUV = !!g.hasOwnProperty('st') && g.st), + (this.g_aUT = !!g.hasOwnProperty('bos') && g.bos), + (this.g_aUU = !!g.hasOwnProperty('sa') && g.sa), + this.g_aOP(!g.hasOwnProperty('e') || g.e); + } + g_KZ() { + var _ = Math.sin, + t = Math.cos; + if (!this.g__z) return; + const n = this.g_Be.g_KW(this.g_b_), + r = this.g_b_.g_CU(); + if (r.g_Fj() !== this.g_aNU) { + const g = r.g_Fj(); + if (this.g_aUU) { + const e = g_aO.g_et(0, 0, this.g_aQU, this.g_aQV); + (this.g_aQU = t(g) * e), (this.g_aQV = _(g) * e); + } + this.g_aNU = g; + } + let e = 0, + s = 0; + if (0 !== this.g_aUS) { + let g = g_aO.g_et(0, 0, this.g_aQU, this.g_aQV), + a = 0; + (a = + 0 === this.g_aQU && 0 === this.g_aQV + ? r.g_Fj() + : g_aO.g_ev(0, 0, this.g_aQU, this.g_aQV)), + (g += this.g_aUS * n), + (e = t(a) * this.g_aUS), + (s = _(a) * this.g_aUS), + 0 > g && ((g = 0), (e = 0), (s = 0)), + (this.g_aQU = t(a) * g), + (this.g_aQV = _(a) * g); + } + if ( + (0 !== this.g_gD && ((this.g_aQV += this.g_gD * n), (s += this.g_gD)), + (this.g_aLm = r.g_Ig()), + (this.g_aLn = r.g_Ih()), + 0 !== this.g_aQU || 0 !== this.g_aQV) + ) { + const g = this.g_aQU * n + 0.5 * e * n * n, + _ = this.g_aQV * n + 0.5 * s * n * n, + t = g_aO.g_et(0, 0, g, _); + if ((this.g_aUZ(g, _, t), (this.g_aUW += t), this.g_aUU && (0 != g || 0 != _))) { + const e = g_aO.g_ev(0, 0, g, _); + r.g_Fi(e), (this.g_aNU = r.g_Fj()); + } + r.g_En(); + } + } + g_aUZ(_, t, n) { + const i = this.g_CU(); + if (!this.g_aUV || n <= this.g_aUX) + return i.g_abt(_, t), i.g_En(), void (this.g_aUV && this.g_Ku(g_aO.g_ahl.g_aUR.g_HW.g_aU_)); + this.g_aUY = !1; + const e = i.g_Ig(), + r = i.g_Ih(), + g = g_aO.g_ev(0, 0, _, t), + s = Math.cos(g) * this.g_aUX, + a = Math.sin(g) * this.g_aUX, + d = Math.floor(n / this.g_aUX); + for (let g = 1; g <= d; ++g) + if ( + (i.g_abq(e + s * g, r + a * g), + i.g_En(), + this.g_Ku(g_aO.g_ahl.g_aUR.g_HW.g_aU_), + this.g_b_.g_NL() || this.g_aUY) + ) + return; + i.g_abq(e + _, r + t), i.g_En(), this.g_Ku(g_aO.g_ahl.g_aUR.g_HW.g_aU_); + } + g_afr() { + if (this.g__z && this.g_aUT && (0 !== this.g_aQU || 0 !== this.g_aQV)) { + const g = this.g_Be.g_KW(this.g_b_), + _ = this.g_b_.g_CU(), + a = this.g_Be.g_ahf(), + t = a.g_ahh(this.g_b_); + if (t) { + a.g_amt(this.g_b_, t); + const n = g_aO.g_et(0, 0, this.g_aQU, this.g_aQV), + e = a.g_amQ(this.g_b_, this.g_aLm, this.g_aLn); + (this.g_aQU = Math.cos(e) * n), + (this.g_aQV = Math.sin(e) * n), + _.g_abt(this.g_aQU * g, this.g_aQV * g), + _.g_En(), + this.g_aUU && (_.g_Fi(e), (this.g_aNU = _.g_Fj()), _.g_En()), + a.g_amM(this.g_b_, this.g_aQU / n, this.g_aQV / n, Math.max(2.5 * n * g, 30)) || + a.g_amP(this.g_b_, 100); + } + } + } + g_QF(g) { + return 0 === g + ? this.g_aU$() + : 1 === g + ? this.g_aVa() + : 2 === g + ? this.g_aVb() + : 4 === g + ? this.g_aUU + : 5 === g + ? this.g_aUV + : 6 === g + ? this.g_aOH() + : void 0; + } + g_QM(g, _) { + 0 === g + ? this.g_aVc(_) + : 1 === g + ? (this.g_aUS = _) + : 2 === g + ? (this.g_gD = _) + : 4 === g + ? (this.g_aUU = !!_) + : 5 === g + ? (this.g_aUV = !!_) + : 6 === g + ? this.g_aOP(!!_) + : void 0; + } + g_aVc(g) { + const _ = g_aO.g_ev(0, 0, this.g_aQU, this.g_aQV); + (this.g_aQU = Math.cos(_) * g), (this.g_aQV = Math.sin(_) * g); + } + g_aU$() { + return g_aO.g_eJ(g_aO.g_et(0, 0, this.g_aQU, this.g_aQV)); + } + g_aVd(g) { + this.g_aUS = g; + } + g_aVa() { + return this.g_aUS; + } + g_aVe(g) { + this.g_gD = g; + } + g_aVb() { + return this.g_gD; + } + g_aVf(g) { + const _ = g_aO.g_et(0, 0, this.g_aQU, this.g_aQV); + (this.g_aQU = Math.cos(g) * _), (this.g_aQV = Math.sin(g) * _); + } + g_aVg() { + return g_aO.g_ev(0, 0, this.g_aQU, this.g_aQV); + } + g_aVh(g) { + (g = !!g), + this.g_aUT === g || + ((this.g_aUT = g), this.g__z && (this.g_aUT ? this.g_afw() : this.g_afo())); + } + g_aVi() { + return this.g_aUT; + } + g_aVj(g) { + this.g_aUW = g; + } + g_aVk() { + return this.g_aUW; + } + g_aOP(g) { + (this.g__z = !!g), + this.g__z ? (this.g_ael(), this.g_aUT && this.g_afw()) : (this.g_adY(), this.g_afo()); + } + g_aOH() { + return this.g__z; + } + g_aep() { + return [ + { + title: '$' + this.g_NZ().g_pY(), + properties: [ + { + name: 'behaviors.bullet.debugger.vector-x', + value: this.g_aQU, + g_ayn: (g) => (this.g_aQU = g) + }, + { + name: 'behaviors.bullet.debugger.vector-y', + value: this.g_aQV, + g_ayn: (g) => (this.g_aQV = g) + }, + { + name: 'behaviors.bullet.properties.speed.name', + value: this.g_aU$(), + g_ayn: (g) => this.g_aVc(g) + }, + { name: 'behaviors.bullet.debugger.angle-of-motion', value: g_aO.g_es(this.g_aVg()) }, + { + name: 'behaviors.bullet.properties.gravity.name', + value: this.g_aVb(), + g_ayn: (g) => this.g_aVe(g) + }, + { + name: 'behaviors.bullet.properties.acceleration.name', + value: this.g_aVa(), + g_ayn: (g) => this.g_aVd(g) + }, + { name: 'behaviors.bullet.debugger.distance-travelled', value: this.g_aVk() }, + { + name: 'behaviors.bullet.properties.enabled.name', + value: this.g_aOH(), + g_ayn: (g) => this.g_aOP(g) + } + ] + } + ]; + } + g_adS() { + return g_aVl; + } + }; + const g = new WeakMap(); + self.g_aVl = class extends g_ahk { + constructor() { + super(), g.set(this, g_ahk.g_agN().g_Qd()); + } + get speed() { + return g.get(this).g_aU$(); + } + set speed(_) { + g.get(this).g_aVc(_); + } + get acceleration() { + return g.get(this).g_aVa(); + } + set acceleration(_) { + g.get(this).g_aVd(_); + } + get g_aVm() { + return g.get(this).g_aVb(); + } + set g_aVm(_) { + g.get(this).g_aVe(_); + } + get g_aVn() { + return g.get(this).g_aVg(); + } + set g_aVn(_) { + g.get(this).g_aVf(_); + } + get g_aVo() { + return g.get(this).g_aVi(); + } + set g_aVo(_) { + g.get(this).g_aVh(!!_); + } + get g_aVp() { + return g.get(this).g_aVk(); + } + set g_aVp(_) { + g.get(this).g_aVj(_); + } + get isEnabled() { + return g.get(this).g_aOH(); + } + set isEnabled(_) { + g.get(this).g_aOP(_); + } + }; +} +'use strict', + (g_aO.g_ahl.g_aUR.g_HW = { + g_aVq(g, _) { + const e = Math.sqrt(this.g_aQU * this.g_aQU + this.g_aQV * this.g_aQV); + return g_aO.compare(e, g, _); + }, + g_aVr(g, _) { + return g_aO.compare(this.g_aVk(), g, _); + }, + g_aU_() { + return !0; + }, + g_jp() { + return this.g_aOH(); + } + }), + 'use strict', + (g_aO.g_ahl.g_aUR.g_abH = { + g_aVs(g) { + this.g_aVc(g); + }, + g_aHq(g) { + this.g_aVd(g); + }, + g_aHr(g) { + this.g_aVe(g); + }, + g_aVt(g) { + this.g_aVf(g_aO.g_er(g)); + }, + g_aVu(g) { + var _ = Math.max; + if (g) { + const t = g.g_abA(this.g_b_); + if (t) { + const n = this.g_b_.g_CU(), + a = this.g_Be.g_ahf(), + i = this.g_Be.g_KW(this.g_b_), + e = g_aO.g_et(0, 0, this.g_aQU, this.g_aQV), + r = a.g_amQ(this.g_b_, this.g_aLm, this.g_aLn, t); + (this.g_aQU = Math.cos(r) * e), + (this.g_aQV = Math.sin(r) * e), + n.g_abt(this.g_aQU * i, this.g_aQV * i), + n.g_En(), + this.g_aUU && (n.g_Fi(r), (this.g_aNU = n.g_Fj()), n.g_En()), + 0 !== e && + (this.g_aUT + ? !a.g_amM(this.g_b_, this.g_aQU / e, this.g_aQV / e, _(2.5 * e * i, 30)) && + a.g_amP(this.g_b_, 100) + : a.g_amL(this.g_b_, this.g_aQU / e, this.g_aQV / e, _(2.5 * e * i, 30), t)); + } + } + }, + g_aVv(g) { + this.g_aVh(g); + }, + g_aVw(g) { + this.g_aVj(g); + }, + g_aQu(g) { + this.g_aOP(g); + }, + g_aVx() { + this.g_aUY = !0; + } + }), + 'use strict', + (g_aO.g_ahl.g_aUR.g__$ = { + g_aVy() { + return this.g_aU$(); + }, + g_aVz() { + return this.g_aVa(); + }, + g_aVA() { + return g_aO.g_es(this.g_aVg()); + }, + g_aVB() { + return this.g_aVk(); + }, + g_aIE() { + return this.g_aVb(); + } + }), + 'use strict', + (g_aO.g_ahl.wrap = class extends g_aO.g_ae$ { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + }), + 'use strict', + (g_aO.g_ahl.wrap.g_ajj = class extends g_aO.g_afh { + constructor(g) { + super(g); + } + g_ek() { + super.g_ek(); + } + g_adB() {} + }), + 'use strict'; +{ + const g = new g_aO.Rect(); + g_aO.g_ahl.wrap.Instance = class extends g_aO.g_afk { + constructor(g, _) { + super(g), (this.g_aQP = 0), _ && (this.g_aQP = _[0]), this.g_ael(); + } + g_ek() { + super.g_ek(); + } + g_GH() { + return { m: this.g_aQP }; + } + g_GJ(g) { + this.g_aQP = g.m; + } + g_KZ() { + const _ = this.g_b_.g_CU(), + a = _.g_Em(), + t = a.g_EL(), + n = _.g_Gi(); + 0 === this.g_aQP ? g.set(0, 0, t.g_pN(), t.g_pO()) : g.g_p(a.g_EW()), + n.g_hX() < g.g_hV() + ? (_.g_abn(g.g_hX() - 1 + (_.g_Ig() - n.g_hV())), _.g_En()) + : n.g_hV() > g.g_hX() + ? (_.g_abn(g.g_hV() + 1 - (n.g_hX() - _.g_Ig())), _.g_En()) + : n.g_hY() < g.g_hW() + ? (_.g_abo(g.g_hY() - 1 + (_.g_Ih() - n.g_hW())), _.g_En()) + : n.g_hW() > g.g_hY() && (_.g_abo(g.g_hW() + 1 - (n.g_hY() - _.g_Ih())), _.g_En()); + } + g_QF(g) { + return 0 === g ? this.g_aQP : void 0; + } + g_QM(g, _) { + 0 === g ? (this.g_aQP = _) : void 0; + } + }; +} +'use strict', + (g_aO.g_ahl.wrap.g_HW = {}), + 'use strict', + (g_aO.g_ahl.wrap.g_abH = {}), + 'use strict', + (g_aO.g_ahl.wrap.g__$ = {}), + 'use strict', + (self.g_arG = function () { + return [ + g_aO.g_HY.g_axy, + g_aO.g_ahl.g_aMS, + g_aO.g_ahl.g_aQM, + g_aO.g_ahl.g_aRl, + g_aO.g_HY.Keyboard, + g_aO.g_HY.Audio, + g_aO.g_ahl.g_aRC, + g_aO.g_ahl.Tween, + g_aO.g_HY.g_aBw, + g_aO.g_HY.g_aCd, + g_aO.g_ahl.g_aTT, + g_aO.g_HY.g_aEb, + g_aO.g_HY.g_aFA, + g_aO.g_HY.g_aGk, + g_aO.g_HY.g_aGT, + g_aO.g_HY.Touch, + g_aO.g_HY.g_bN, + g_aO.g_ahl.g_aUx, + g_aO.g_ahl.g_aUR, + g_aO.g_ahl.wrap, + g_aO.g_HY.g_HX.g_HW.g_Xj, + g_aO.g_HY.g_HX.g_HW.g_HV, + g_aO.g_ahl.g_aMS.g_abH.g_aQg, + g_aO.g_ahl.g_aQM.g_abH.g_aQM, + g_aO.g_HY.g_axy.g_HW.g_acB, + g_aO.g_HY.g_HX.g_HW.g_auC, + g_aO.g_HY.g_axy.g_HW.g_ayG, + g_aO.g_HY.g_HX.g_HW.g_aut, + g_aO.g_ahl.g_aMS.g_abH.g_aPW, + g_aO.g_ahl.g_aMS.g__$.g_aQv, + g_aO.g_HY.g_axy.g_HW.g_abI, + g_aO.g_HY.g_axy.g__$.g_ay$, + g_aO.g_HY.g_axy.g_abH.g_acF, + g_aO.g_HY.g_HX.g__$.random, + g_aO.g_HY.g_axy.g_HW.g_abJ, + g_aO.g_HY.g_axy.g__$.g_aza, + g_aO.g_ahl.g_aMS.g_abH.g_aQd, + g_aO.g_HY.g_HX.g__$.g_abT, + g_aO.g_HY.g_axy.g_HW.g_acc, + g_aO.g_HY.g_HX.g_HW.g_Y$, + g_aO.g_HY.g_axy.g_abH.g_acG, + g_aO.g_HY.g_axy.g_abH.g_acH, + g_aO.g_ahl.g_aMS.g_abH.g_aPX, + g_aO.g_HY.g_HX.g_HW.g_auA, + g_aO.g_HY.g_axy.g__$.g_aci, + g_aO.g_HY.g_axy.g_abH.g_Fi, + g_aO.g_HY.g_HX.g_abH.g_auW, + g_aO.g_ahl.g_aMS.g_abH.g_aQu, + g_aO.g_ahl.g_aMS.g_abH.g_aQb, + g_aO.g_ahl.g_aMS.g_abH.g_aQr, + g_aO.g_ahl.g_aRl.g_abH.g_aRy, + g_aO.g_ahl.g_aMS.g_abH.g_aQk, + g_aO.g_HY.g_axy.g__$.g_abR, + g_aO.g_HY.g_axy.g__$.g_abS, + g_aO.g_ahl.g_aRl.g_HW.g_aRw, + g_aO.g_HY.g_axy.g_abH.g_abn, + g_aO.g_HY.g_axy.g_abH.g_Hi, + g_aO.g_HY.g_HX.g__$.min, + g_aO.g_HY.g_HX.g__$.max, + g_aO.g_HY.g_axy.g_abH.g_abN, + g_aO.g_HY.g_axy.g_HW.g_ayE, + g_aO.g_HY.g_axy.g_abH.g_act, + g_aO.g_HY.g_HX.g__$.g_awc, + g_aO.g_HY.g_axy.g_HW.g_acK, + g_aO.g_ahl.g_aMS.g_abH.g_aQq, + g_aO.g_HY.g_aFA.g_abH.g_wQ, + g_aO.g_HY.g_aFA.g_abH.g_js, + g_aO.g_ahl.g_aMS.g__$.g_aQw, + g_aO.g_HY.g_axy.g_abH.g_ays, + g_aO.g_HY.g_axy.g__$.g_ayX, + g_aO.g_HY.g_axy.g_abH.g_EU, + g_aO.g_HY.g_HX.g_abH.g_avd, + g_aO.g_HY.Audio.g_abH.g_MW, + g_aO.g_HY.g_HX.g_abH.g_ft, + g_aO.g_HY.g_HX.g_abH.g_avu, + g_aO.g_ahl.g_aRl.g_HW.g_aRv, + g_aO.g_ahl.g_aQM.g_abH.g_aRf, + g_aO.g_HY.g_axy.g_abH.g_wQ, + g_aO.g_HY.g_axy.g__$.g_abW, + g_aO.g_HY.g_axy.g__$.g_abX, + g_aO.g_ahl.g_aUR.g_abH.g_aVs, + g_aO.g_ahl.g_aUR.g__$.g_aVy, + g_aO.g_ahl.g_aMS.g__$.g_aQx, + g_aO.g_HY.g_bN.g_HW.g_aLH, + g_aO.g_HY.g_aBw.g_abH.g_abo, + g_aO.g_HY.g_HX.g__$.g_awS, + g_aO.g_HY.g_aBw.g_abH.g_Hj, + g_aO.g_HY.g_HX.g__$.g_awT, + g_aO.g_HY.g_HX.g__$.g_awR, + g_aO.g_HY.g_aBw.g_abH.g_Hk, + g_aO.g_HY.g_HX.g__$.g_awU, + g_aO.g_HY.g_aBw.g__$.g_abS, + g_aO.g_HY.g_aBw.g_abH.g_abn, + g_aO.g_HY.g_HX.g__$.g_av_, + g_aO.g_HY.g_HX.g_HW.g_auP, + g_aO.g_HY.g_HX.g__$.g_$a, + g_aO.g_HY.g_aBw.g_abH.g_acM, + g_aO.g_HY.g_HX.g_abH.g_avC, + g_aO.g_HY.g_HX.g__$.g_axs, + g_aO.g_HY.g_aBw.g_abH.g_ack, + g_aO.g_HY.g_aBw.g_abH.g_acA, + g_aO.g_HY.g_axy.g_abH.g_ayp, + g_aO.g_HY.g_axy.g_abH.g_ack, + g_aO.g_HY.g_axy.g__$.g_acm, + g_aO.g_HY.Touch.g_HW.g_aKz, + g_aO.g_HY.Keyboard.g_HW.g_azg, + g_aO.g_HY.g_axy.g_abH.g_acM, + g_aO.g_HY.g_aCd.g_HW.g_acB, + g_aO.g_HY.g_aCd.g_abH.g_EU, + g_aO.g_HY.Audio.g_HW.g_aAB, + g_aO.g_HY.g_aCd.g_abH.g_wP, + g_aO.g_HY.g_HX.g_HW.g_auM, + g_aO.g_ahl.g_aMS.g_HW.g_aPT, + g_aO.g_HY.g_HX.g_abH.g_ave, + g_aO.g_HY.g_HX.g_HW.g_mG, + g_aO.g_HY.g_axy.g_abH.g_Hj, + g_aO.g_HY.g_axy.g_abH.g_Hk, + g_aO.g_HY.g_HX.g_abH.g_auX, + g_aO.g_HY.g_axy.g__$.g_ayY, + g_aO.g_HY.g_HX.g_abH.g_avo, + g_aO.g_HY.g_HX.g_abH.g_avO, + g_aO.g_HY.g_HX.g__$.g_awK, + g_aO.g_HY.g_HX.g__$.g_awL, + g_aO.g_HY.g_HX.g_abH.g_avI, + g_aO.g_HY.g_HX.g__$.g_awN, + g_aO.g_HY.g_aCd.g_abH.g_Hi, + g_aO.g_HY.g_aCd.g_abH.g_ack, + g_aO.g_ahl.Tween.g_HW.g_Mm, + g_aO.g_HY.g_HX.g_abH.g_avw, + g_aO.g_ahl.Tween.g__$.g_aTj, + g_aO.g_ahl.Tween.g_HW.g_aSG, + g_aO.g_HY.Audio.g_abH.g_Kg, + g_aO.g_ahl.Tween.g_abH.g_aSN, + g_aO.g_HY.g_HX.g_abH.g_avv, + g_aO.g_HY.g_axy.g_abH.g_acs, + g_aO.g_HY.g_aCd.g_abH.g_acs, + g_aO.g_HY.g_HX.g_abH.g_ava, + g_aO.g_HY.g_aBw.g_abH.g_wQ, + g_aO.g_ahl.Tween.g_abH.g_aSI, + g_aO.g_ahl.g_aRl.g_abH.g_aRz, + g_aO.g_HY.g_axy.g_HW.g_abM, + g_aO.g_HY.g_HX.g_HW.g_auu, + g_aO.g_HY.g_aFA.g_abH.g_TZ, + g_aO.g_HY.g_aFA.g_abH.g_abq, + g_aO.g_HY.g_aFA.g__$.g_abW, + g_aO.g_HY.g_aEb.g_abH.g_aEP, + g_aO.g_HY.g_HX.g__$.g_axr, + g_aO.g_HY.g_aFA.g_HW.g_aFY, + g_aO.g_HY.g_aFA.g_abH.g_Ty, + g_aO.g_HY.g_HX.g_HW.g_auO, + g_aO.g_HY.g_HX.g__$.g_axi, + g_aO.g_HY.g_aFA.g__$.g_aFI, + g_aO.g_HY.g_aEb.g_abH.g_aEX, + g_aO.g_HY.g_aEb.g_abH.g_aEW, + g_aO.g_HY.g_aEb.g_abH.g_aE_, + g_aO.g_HY.g_axy.g_HW.g_ayI, + g_aO.g_HY.g_axy.g_abH.g_acq, + g_aO.g_HY.g_HX.g__$.g_J, + g_aO.g_HY.g_aGT.g_abH.g_acM, + g_aO.g_ahl.g_aMS.g_abH.g_aQm, + g_aO.g_HY.g_axy.g_abH.g_abo, + g_aO.g_HY.g_axy.g_abH.g_ayo, + g_aO.g_HY.g_axy.g_abH.g_ayP, + g_aO.g_HY.g_axy.g__$.g_acv, + g_aO.g_ahl.g_aQM.g_abH.g_aRg, + g_aO.g_ahl.g_aMS.g_abH.g_aQj, + g_aO.g_HY.g_aBw.g__$.g_abW, + g_aO.g_HY.Audio.g_abH.g_Mj, + g_aO.g_HY.g_axy.g_abH.g_ayU, + g_aO.g_HY.g_axy.g__$.g_ayW, + g_aO.g_ahl.Tween.g_abH.g_aSL, + g_aO.g_ahl.g_aTT.g_abH.g_aQu, + g_aO.g_ahl.g_aTT.g_HW.g_jp, + g_aO.g_HY.g_HX.g__$.g_awd, + g_aO.g_HY.Touch.g_HW.g_aKh, + g_aO.g_HY.g_bN.g_abH.g_aMi, + g_aO.g_HY.g_axy.g_HW.g_ET, + g_aO.g_HY.Audio.g_abH.g_aAQ, + g_aO.g_HY.Touch.g_HW.g_aKk, + g_aO.g_HY.g_axy.g_HW.g_ayJ, + g_aO.g_HY.g_HX.g_HW.g_auL, + g_aO.g_HY.Audio.g_abH.g_aAN, + g_aO.g_HY.g_HX.g_abH.g_au$, + g_aO.g_ahl.Tween.g_HW.g_aAA, + g_aO.g_HY.Audio.g_abH.g_aAP, + g_aO.g_ahl.g_aUx.g_abH.g_aUJ, + g_aO.g_ahl.Tween.g_HW.g_aSH, + g_aO.g_HY.g_aGk.g_HW.g_aGO, + g_aO.g_HY.g_axy.g_HW.g_acL, + g_aO.g_HY.g_HX.g_HW.g_aus, + g_aO.g_HY.g_axy.g_abH.g_ayr, + g_aO.g_HY.g_aGk.g_abH.g_aGP, + g_aO.g_HY.g_HX.g_abH.g_avr + ]; + }), + (self.g_arU = [ + { g_aVC: 0 }, + { g_aVD: 0 }, + { g_aMS: 0 }, + { g_aQM: 0 }, + { g_aVE: 0 }, + { which: 0 }, + { first: 0 }, + { g_aVF: 0 }, + { g_aVG: 0 }, + { g_aVH: 0 }, + { g_aRl: 0 }, + { body: 0 }, + { Keyboard: 0 }, + { g_aVI: 0 }, + { head: 0 }, + { g_aVJ: 0 }, + { Audio: 0 }, + { g_aVK: 0 }, + { g_aVL: 0 }, + { g_aVM: 0 }, + { g_aVN: 0 }, + { g_aVO: 0 }, + { g_aVP: 0 }, + { g_aVQ: 0 }, + { g_aVR: 0 }, + { g_aVS: 0 }, + { g_aVT: 0 }, + { g_aVU: 0 }, + { g_aVV: 0 }, + { g_aVW: 0 }, + { g_aVX: 0 }, + { g_aVY: 0 }, + { g_aRC: 0 }, + { Tween: 0 }, + { pause: 0 }, + { g_aVZ: 0 }, + { g_aV_: 0 }, + { g_aV$: 0 }, + { g_aWa: 0 }, + { g_aWb: 0 }, + { g_aWc: 0 }, + { g_aWd: 0 }, + { g_aWe: 0 }, + { g_aWf: 0 }, + { g_aWg: 0 }, + { g_aWh: 0 }, + { g_aEb: 0 }, + { Array: 0 }, + { g_aWi: 0 }, + { g_aWj: 0 }, + { g_aGk: 0 }, + { g_aWk: 0 }, + { g_aWl: 0 }, + { g_aWm: 0 }, + { g_aWn: 0 }, + { g_aWo: 0 }, + { g_aWp: 0 }, + { g_aWq: 0 }, + { g_aWr: 0 }, + { g_aWs: 0 }, + { g_aWt: 0 }, + { g_aWu: 0 }, + { g_aWv: 0 }, + { g_aWw: 0 }, + { Touch: 0 }, + { g_aWx: 0 }, + { g_aWy: 0 }, + { g_aWz: 0 }, + { g_aWA: 0 }, + { g_bN: 0 }, + { g_aUx: 0 }, + { fadeOut: 0 }, + { g_aWB: 0 }, + { title: 0 }, + { g_aWC: 0 }, + { hover: 0 }, + { g_aWD: 0 }, + { g_aWE: 0 }, + { g_aWF: 0 }, + { g_aWG: 0 }, + { g_aWH: 0 }, + { g_aWI: 0 }, + { g_aWJ: 0 }, + { g_aWK: 0 }, + { g_aWL: 0 }, + { g_aWM: 0 }, + { g_aWN: 0 }, + { g_aWO: 0 }, + { g_aWP: 0 }, + { g_aWQ: 0 }, + { g_aWR: 0 }, + { g_aWS: 0 }, + { g_aWT: 0 }, + { g_aWU: 0 }, + { g_aWV: 0 }, + { ready: 0 }, + { g_aWW: 0 }, + { g_aWX: 0 }, + { g_aWY: 0 }, + { g_aWZ: 0 }, + { g_aW_: 0 }, + { g_aW$: 0 }, + { g_aXa: 0 }, + { g_aXb: 0 }, + { g_aXc: 0 }, + { g_aXd: 0 }, + { g_aXe: 0 }, + { g_aXf: 0 }, + { g_aXg: 0 }, + { g_aXh: 0 }, + { g_aXi: 0 }, + { g_aXj: 0 }, + { g_aXk: 0 }, + { g_aXl: 0 }, + { g_aXm: 0 }, + { g_aXn: 0 }, + { g_aXo: 0 }, + { font: 0 }, + { g_aXp: 0 }, + { g_aXq: 0 }, + { g_aXr: 0 }, + { g_aXs: 0 }, + { g_aXt: 0 }, + { g_aUR: 0 }, + { g_aXu: 0 }, + { g_aXv: 0 }, + { g_aXw: 0 }, + { g_aXx: 0 }, + { g_aXy: 0 }, + { line: 0 }, + { g_aXz: 0 }, + { g_aXA: 0 }, + { g_aXB: 0 }, + { g_aXC: 0 }, + { speed: 0 }, + { g_aXD: 0 }, + { g_aXE: 0 }, + { g_aXF: 0 }, + { g_aXG: 0 }, + { g_aXH: 0 }, + { g_aXI: 0 }, + { g_aXJ: 0 }, + { g_aXK: 0 }, + { g_aXL: 0 }, + { g_aXM: 0 }, + { g_aXN: 0 }, + { g_aXO: 0 }, + { g_aXP: 0 }, + { g_aXQ: 0 }, + { g_aXR: 0 }, + { g_aXS: 0 }, + { g_aXT: 0 }, + { g_aXU: 0 }, + { g_aXV: 0 }, + { g_aXW: 0 }, + { g_aXX: 0 }, + { g_b: 0 }, + { g_aXY: 0 }, + { g_aXZ: 0 }, + { g_aX_: 0 }, + { x1: 0 }, + { y1: 0 }, + { g_aX$: 0 }, + { g_aYa: 0 }, + { g_aYb: 0 }, + { g_aYc: 0 }, + { g_aYd: 0 }, + { g_aYe: 0 }, + { g_aYf: 0 }, + { g_aYg: 0 }, + { g_aYh: 0 }, + { g_aYi: 0 } + ]), + 'use strict'; +{ + self.g_$B = [ + () => 'P1', + () => 'head', + () => -8, + () => 8, + () => 0, + () => 1, + (g) => { + const _ = g.g_$K(0); + return () => 2 * _.g_$v(); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j(1); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2).g_$A(); + return () => _(e.g_Pc(), a.g_Pc()); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2).g_$A(); + return () => -1 * _(e.g_Pc(), a.g_Pc()); + }, + (g) => { + const _ = g.g_$K(0).g_$A(); + return () => _.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0).g_$A(); + return () => -1 * _.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$n(); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$c(); + return () => g_aO.g_V(_.g_$n(), 0, e()); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$c(); + return () => g_aO.g_V(_.g_$n(), 0, 2 * e()); + }, + () => 'Control P1', + () => 2, + () => 10, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j(); + }, + () => 180, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j() + e.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j() - e.g_Pc(); + }, + () => -1, + () => 0.1, + () => 'enablePota', + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1), + a = g.g_$K(2).g_$c(); + return () => (60 - _.g_$j()) * (e.g_$j() / 160) * a(0.9, 1.1); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1), + a = g.g_$K(2).g_$c(); + return () => (-_.g_$j() - 50) * (e.g_$j() / 160) * a(0.9, 1.1); + }, + () => 'wait', + () => 0.3, + () => 100, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => -5 * (_.g_$j() - e.g_$j(1)); + }, + () => 'Skin P1', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j(6); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2), + t = g.g_$K(3); + return () => _(e(0.2, 1 - (a.g_$j() - t.g_$j()) / 150), 1); + }, + () => 'Arm P1', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j('arm1'); + }, + () => 125, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1), + a = g.g_$K(2).g_$c(); + return () => g_aO.g_V(_.g_$j(), e.g_$j(1), 10 * a()); + }, + () => 'P2', + () => 'Control P2', + () => 'Skin P2', + () => 'Arm P2', + () => 'P3', + () => 3, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3); + return () => _(e.g_Pc(), a.g_Pc()) * t.g_$n(); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3); + return () => -1 * _(e.g_Pc(), a.g_Pc()) * t.g_$n(); + }, + () => 'Control P3', + () => 4, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1); + return () => _(e.g_$j(), 180); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2), + t = g.g_$K(3).g_$c(); + return () => (225 - _.g_$j()) * (e(a.g_$j(), 0) / 160) * t(0.9, 1.1); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2), + t = g.g_$K(3).g_$c(); + return () => (-_.g_$j() - 50) * (e(a.g_$j(), 0) / 160) * t(0.9, 1.1); + }, + () => 'Skin P3', + () => 'Arm P3', + () => 'P4', + () => 'Control P4', + () => 'Skin P4', + () => 'Arm P4', + () => 'Ball', + (g) => { + const _ = g.g_$K(0); + return () => 5 * _.g_$v(); + }, + (g) => { + const _ = g.g_$K(0); + return () => g_aO.g_ep(_.g_$v(), -200, 200); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1), + a = g.g_$K(2), + t = g.g_$K(3); + return () => _(0.2, e.g_$p() - (a.g_$j() - t.g_$j()) / 150); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1), + a = g.g_$K(2); + return () => _(Math.abs(e.g_$v()), 20) * (a.g_$j() / 8); + }, + () => 15, + () => 275, + () => -10, + () => '', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 5; + }, + () => 144, + () => 146, + () => -5, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => _.g_$n() * e.g_$v(); + }, + () => 'Players', + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2).g_$A(); + return () => g_aO.g_ep(_.g_$v(), -1 * e.g_Pc(), a.g_Pc()); + }, + (g) => { + const _ = g.g_$K(0); + return () => g_aO.g_ep(_.g_$v(), -100, 100); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$v(); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => 3 * _.g_$v() + e.g_$v(); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => 3 * _.g_$v() + e.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$v() / 2; + }, + () => 'General', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _('BG'); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => _('BG') - e('BG') + 100; + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1); + return () => _('BG') - e.g_$j() + 100; + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _('BG') - 50; + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => _(e(8)); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(0, 1, 2); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(149, 237, 244); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(255, 214, 159); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(254, 240, 220); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(89, 89, 198); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(119, 120, 210); + }, + () => 'back', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(82, 82, 186); + }, + () => 'middle', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(72, 68, 159); + }, + () => 'front', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(63, 52, 145); + }, + () => 5, + () => 6, + () => 7, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2); + return () => _(e(a.g_$j())); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(), + t = g.g_$K(3).g_$c(); + return () => _(e(138, 72, 54), a(255, 216, 60), t(39, 39, 39)); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(), + t = g.g_$K(3).g_$c(), + n = g.g_$K(4).g_$c(); + return () => _(e(255, 225, 188), a(143, 98, 87), t(246, 202, 159), n(214, 169, 124)); + }, + () => 'Control', + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$c(); + return () => _.g_$j() - e('UI'); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => _('UI') - e('UI'); + }, + () => 'jump1', + () => 'jump2', + () => 'Goal', + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$A(); + return () => _.g_Pc() + e.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0); + return () => 1.2 * _.g_$j(); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() / 1.2; + }, + () => 0.05, + (g) => { + const _ = g.g_$K(0); + return () => (('rainBow' === _.g_$j() ? 1 : 0) ? 2 : 1); + }, + () => 'blink1', + () => 0.2, + () => 0.01, + () => 'blue', + () => 'red', + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1), + a = g.g_$K(2).g_$c(); + return () => g_aO.g_V(_(), e.g_$j(), a()); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => g_aO.g_V(_(), 1.5, e()); + }, + () => 1.2, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(255, 200, 37); + }, + () => 'blink2', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(255, 255, 255); + }, + () => 'End', + () => 'OPOutOver', + () => 'OP', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$v('OPOutOver'); + }, + () => 60, + () => 'menu', + () => 'music', + () => 'sound', + () => 'Op', + () => 'Top', + () => 26, + () => 290, + () => 27, + () => 21, + () => 55, + () => -160, + () => 39, + () => 'appear', + () => 145, + () => 85, + () => 113, + () => 204, + () => 'CPU', + () => 'nojump', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => 0.5 + _(-2, 2) / 10; + }, + () => 'jump', + () => 'attack', + () => 0.5, + () => 90, + () => 280, + () => 360, + () => 0.7, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 2; + }, + () => 355, + () => 'Trail', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 85; + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() - 1; + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(0, 0, 0, 0); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() - 3; + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _() + 1; + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j(e.g_Pc(), 0); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j(e.g_Pc(), 1); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2), + t = g.g_$K(3).g_$A(), + n = g.g_$K(4), + i = g.g_$K(5).g_$A(), + r = g.g_$K(6), + s = g.g_$K(7).g_$A(); + return () => + g_aO.g_es( + g_aO.g_ev( + _.g_$j(e.g_Pc() - 1, 0), + a.g_$j(t.g_Pc() - 1, 1), + n.g_$j(i.g_Pc(), 0), + r.g_$j(s.g_Pc(), 1) + ) + ) + 90; + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j(e.g_Pc() + 1, 0); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(); + return () => _.g_$j(e.g_Pc() + 1, 1); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1).g_$A(), + a = g.g_$K(2), + t = g.g_$K(3).g_$A(), + n = g.g_$K(4), + i = g.g_$K(5).g_$A(), + r = g.g_$K(6), + s = g.g_$K(7).g_$A(); + return () => + g_aO.g_es( + g_aO.g_ev( + _.g_$j(e.g_Pc(), 0), + a.g_$j(t.g_Pc(), 1), + n.g_$j(i.g_Pc() + 1, 0), + r.g_$j(s.g_Pc() + 1, 1) + ) + ) + 90; + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3).g_$A(); + return () => _.g_Pc() - e.g_$p() * Math.cos(g_aO.g_er(a.g_Pc())) * t.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3).g_$A(); + return () => _.g_Pc() - e.g_$p() * Math.sin(g_aO.g_er(a.g_Pc())) * t.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3).g_$A(); + return () => _.g_Pc() + e.g_$p() * Math.cos(g_aO.g_er(a.g_Pc())) * t.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3).g_$A(); + return () => _.g_Pc() + e.g_$p() * Math.sin(g_aO.g_er(a.g_Pc())) * t.g_Pc(); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1), + a = g.g_$K(2).g_$A(), + t = g.g_$K(3).g_$A(); + return () => _(100, 100, 100, e.g_$p() * a.g_Pc() * t.g_Pc()); + }, + () => 'rainBow', + () => '7', + () => '1', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(247, 237, 0); + }, + () => '2', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(237, 174, 1); + }, + () => '3', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(230, 0, 0); + }, + () => '4', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(133, 31, 228); + }, + () => '5', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(34, 207, 250); + }, + () => '6', + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(17, 138, 217); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(126, 224, 1); + }, + () => 'Bonus', + () => 95, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => 2 * (_('Top') - e('Top')); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(); + return () => _(-1, -1, -1, e(a(2, 2, 1, 0))); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(); + return () => _(-1, e(a(3))); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(), + t = g.g_$K(3).g_$c(), + n = g.g_$K(4).g_$c(), + i = g.g_$K(5).g_$c(); + return () => ((0 === _.g_Pc() ? 1 : 0) ? e(-1, -1, a(1, 2)) : t(-1, -1, n(i(3)))); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$c(); + return () => _(0, e(a(3))); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(0, 0, 1, 2, 3); + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => _.g_$j() + (e.g_$n() + 0 ? -3 : 3); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'SHORT ARM'; + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'LONG ARM'; + }, + () => 200, + () => 150, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'SNOW'; + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(230, 230, 230); + }, + () => -281492157629439, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(255, 228, 228); + }, + () => 400, + () => 250, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(229, 229, 229); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(162, 226, 253); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(246, 252, 254); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(195, 148, 89); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(255, 229, 196); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(100, 100, 100); + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'BIG HEAD'; + }, + () => 1.5, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() - 0.001; + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'SMALL HEAD'; + }, + () => 0.6, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'BUSINESS'; + }, + () => 'Animation 2', + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'HEAVY BALL'; + }, + () => 'Game', + () => 'heavy', + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'LIGHT BALL'; + }, + () => 'kames', + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'DOUBLE POINT'; + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'LONG HOOP'; + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() - 15; + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 15; + }, + () => 141, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'SHORT HOOP'; + }, + (g) => { + const _ = g.g_$K(0).g_$A(), + e = g.g_$K(1).g_$c(), + a = g.g_$K(2).g_$A(); + return () => _.g_Pc() + ((0 < e(a.g_Pc()) ? 1 : 0) ? ' + ' : '') + 'LARGE HOOP'; + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 6; + }, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => _.g_$j() + ((0 === e.g_$n() ? 1 : 0) ? 3 : -3); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() - 6; + }, + () => 'UI', + (g) => { + const _ = g.g_$K(0).g_$A(); + return () => 0.5 + 0.3 * _.g_Pc(); + }, + () => -15, + () => 'refsoc', + () => 'show', + () => -200, + () => 'Effect', + () => 'goal', + () => 158, + () => 30, + () => 'move', + () => 'move2', + () => 450, + () => 'shrink', + () => 'bup', + () => -6, + () => 'stopSine', + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1), + a = g.g_$K(2).g_$c(); + return () => _(e.g_$j(), 0, 10 * a()); + }, + () => -3, + () => 'http://www.twoplayergames.org/?utm_source=Html5Game&utm_medium=BasketRandom', + () => 'NewWindow', + () => 70, + () => 205, + () => 'Menu', + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => _.g_$j() - e.g_$j(); + }, + () => 'size', + () => -25, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(60); + }, + () => 'disappear', + () => 'OPOutMenu', + (g) => { + const _ = g.g_$K(0); + return () => _.g_$p(); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$v('OPOutMenu'); + }, + () => 1.15, + (g) => { + const _ = g.g_$K(0), + e = g.g_$K(1); + return () => _.g_$j() + e.g_$n(); + }, + (g) => { + const _ = g.g_$K(0).g_$c(), + e = g.g_$K(1).g_$c(); + return () => _('Top') - e('Top'); + }, + (g) => { + const _ = g.g_$K(0).g_$c(); + return () => _(0, 10); + }, + (g) => { + const _ = g.g_$K(0); + return () => _.g_$j() + 4; + }, + () => 0.4 + ]; +} +{ + self.g_aO.g_aYj = {}; +} diff --git a/games/basket-random/scripts/dispatchworker.js b/games/basket-random/scripts/dispatchworker.js new file mode 100644 index 00000000..7ca5c86f --- /dev/null +++ b/games/basket-random/scripts/dispatchworker.js @@ -0,0 +1,144 @@ +'use strict'; +(self.inputPort = null), + (self.jobQueue = []), + (self.jobWorkers = []), + (self.sentBlobs = []), + (self.sentBuffers = []), + (self.importedScripts = []), + (self.lastBroadcasts = new Map()); +class JobWorker { + constructor(a, b) { + (this._port = a), + (this._number = b), + (this._isReady = !1), + (this._isBusy = !1), + (this._port.onmessage = (a) => this._OnMessage(a.data)); + } + ImportScripts(a) { + this._port.postMessage({ type: '_import_scripts', scripts: a }); + } + SendBlob(a, b) { + this._port.postMessage({ type: '_send_blob', blob: a, id: b }); + } + SendBuffer(a, b) { + this._port.postMessage({ type: '_send_buffer', buffer: a, id: b }); + } + SendJob(a) { + if (this._isBusy || !this._isReady) throw new Error('cannot take job'); + (this._isBusy = !0), this._port.postMessage(a, a['transferables']); + } + _InitBroadcast(a) { + this._port.postMessage(a, a['transferables']); + } + SendReady() { + this._port.postMessage({ type: '_ready' }); + } + IsReady() { + return this._isReady; + } + _OnReady() { + (this._isReady = !0), this.MaybeStartNextJob(); + } + IsBusy() { + return this._isBusy; + } + GetNumber() { + return this._number; + } + _OnMessage(a) { + const b = a['type']; + return 'ready' === b + ? void this._OnReady() + : 'done' === b + ? void this._OnJobDone() + : void console.error("unknown message from worker '" + b + "'"); + } + _OnJobDone() { + (this._isBusy = !1), this.MaybeStartNextJob(); + } + MaybeStartNextJob() { + if (!this._isBusy && this._isReady) { + const a = this._FindAvailableJob(); + if (-1 !== a) { + const b = self.jobQueue[a], + c = b['isBroadcast']; + c + ? ((b['doneFlags'][this._number] = !0), + b['doneFlags'].every((a) => a) && self.jobQueue.splice(a, 1)) + : self.jobQueue.splice(a, 1), + this.SendJob(b); + } + } + } + _FindAvailableJob() { + for (let a = 0, b = self.jobQueue.length; a < b; ++a) { + const b = self.jobQueue[a]; + if ( + !b['isBroadcast'] || + (this._number < b['doneFlags'].length && !b['doneFlags'][this._number]) + ) + return a; + } + return -1; + } + TestMessageChannel() { + this._port.postMessage({ type: '_testMessageChannel' }); + } +} +let number = 0; +function AddJobWorker(a) { + const b = new JobWorker(a, number++); + self.jobWorkers.push(b); + for (const [c, d] of self.sentBlobs) b.SendBlob(c, d); + for (const [c, d] of self.sentBuffers) b.SendBuffer(c, d); + for (const c of self.importedScripts) b.ImportScripts(c); + for (const c of self.lastBroadcasts.values()) b._InitBroadcast(c); + b.SendReady(); +} +function CancelJob(a) { + for (let b = 0, c = self.jobQueue.length; b < c; ++b) + if (self.jobQueue[b].jobId === a) return void self.jobQueue.splice(b, 1); +} +self.addEventListener('message', (a) => { + const b = a.data, + c = b['type']; + '_init' === c + ? ((self.inputPort = b['in-port']), (self.inputPort.onmessage = OnInputPortMessage)) + : '_addJobWorker' === c && AddJobWorker(b['port']); +}); +function OnInputPortMessage(a) { + const b = a.data, + c = b['type']; + if ('_cancel' === c) return void CancelJob(b.jobId); + if ('_import_scripts' === c) { + const a = b['scripts']; + for (const b of self.jobWorkers) b.ImportScripts(a); + return void self.importedScripts.push(a); + } + if ('_send_blob' === c) { + const a = b['blob'], + c = b['id']; + for (const b of self.jobWorkers) b.SendBlob(a, c); + return void self.sentBlobs.push([a, c]); + } + if ('_send_buffer' === c) { + const a = b['buffer'], + c = b['id']; + for (const b of self.jobWorkers) b.SendBuffer(a, c); + return void self.sentBuffers.push([a, c]); + } + if ('_no_more_workers' === c) + return ( + (self.sentBlobs.length = 0), + (self.sentBuffers.length = 0), + (self.importedScripts.length = 0), + void self.lastBroadcasts.clear() + ); + if ('_testMessageChannel' === c) return void self.jobWorkers[0].TestMessageChannel(); + self.jobQueue.push(b), + b['isBroadcast'] && + ((b['doneFlags'] = Array(self.jobWorkers.length).fill(!1)), + (b['transferables'] = []), + self.lastBroadcasts.set(b['type'], b)); + for (const b of self.jobWorkers) b.MaybeStartNextJob(); +} diff --git a/games/basket-random/scripts/jobworker.js b/games/basket-random/scripts/jobworker.js new file mode 100644 index 00000000..caeada37 --- /dev/null +++ b/games/basket-random/scripts/jobworker.js @@ -0,0 +1,94 @@ +'use strict'; +(self.dispatchPort = null), + (self.outputPort = null), + (self.workerNumber = -1), + (self.activeJobId = null), + (self.sentBlobs = new Map()), + (self.sentBuffers = new Map()), + (self.JobHandlers = {}); +function FlipImageData(a, b, c) { + const d = 4 * b, + e = new Uint8Array(d), + f = a.buffer; + for (let g = 0, h = Math.floor(c / 2); g < h; ++g) { + const a = c - g - 1, + b = new Uint8Array(f, g * d, d), + h = new Uint8Array(f, a * d, d); + e.set(b), b.set(h), h.set(e); + } +} +function UnpremultiplyImageData(b) { + for (let c = 0, a = b.length; c < a; c += 4) { + const d = b[c + 3]; + if (255 === d) continue; + const a = 255 / d; + (b[c] *= a), (b[c + 1] *= a), (b[c + 2] *= a); + } +} +(self.JobHandlers['ProcessImageData'] = function (a) { + const b = a['buffer'], + c = new Uint8Array(b), + d = a['width'], + e = a['height']; + return ( + a['flipY'] && FlipImageData(c, d, e), + a['unpremultiply'] && UnpremultiplyImageData(c), + { result: b, transferables: [b] } + ); +}), + self.addEventListener('message', (a) => { + const b = a.data, + c = b['type']; + return 'init' === c + ? ((self.workerNumber = b['number']), + (self.dispatchPort = b['dispatch-port']), + (self.dispatchPort.onmessage = OnDispatchWorkerMessage), + void (self.outputPort = b['output-port'])) + : 'terminate' === c + ? void self.close() + : void console.error("unknown message '" + c + "'"); + }); +function SendReady() { + self.dispatchPort.postMessage({ type: 'ready' }), self.outputPort.postMessage({ type: 'ready' }); +} +function SendError(a, b) { + a || self.outputPort.postMessage({ type: 'error', jobId: self.activeJobId, error: b.toString() }), + SendDone(); +} +function SendResult(a, b) { + if (!a) { + const a = b.transferables || []; + self.outputPort.postMessage({ type: 'result', jobId: self.activeJobId, result: b.result }, a); + } + SendDone(); +} +function SendDone() { + (self.activeJobId = null), self.dispatchPort.postMessage({ type: 'done' }); +} +function SendProgress(a) { + self.outputPort.postMessage({ type: 'progress', jobId: self.activeJobId, progress: a }); +} +function OnDispatchWorkerMessage(a) { + const b = a.data, + c = b['type']; + if ('_import_scripts' === c) return void importScripts(...b['scripts']); + if ('_send_blob' === c) return void self.sentBlobs.set(b['id'], b['blob']); + if ('_send_buffer' === c) return void self.sentBuffers.set(b['id'], b['buffer']); + if ('_testMessageChannel' === c) + return void self.outputPort.postMessage({ type: '_testMessageChannelOk' }); + if ('_ready' === c) return void SendReady(); + const d = b['jobId'], + f = b['isBroadcast'], + e = b['params']; + let g; + if (((self.activeJobId = d), !self.JobHandlers.hasOwnProperty(c))) + return void console.error(`no handler for message type '${c}'`); + try { + g = self.JobHandlers[c](e); + } catch (a) { + return void SendError(f, 'Exception in job handler: ' + a); + } + g && g.then + ? g.then((a) => SendResult(f, a)).catch((a) => SendError(f, 'Rejection in job handler: ' + a)) + : SendResult(f, g); +} diff --git a/games/basket-random/scripts/main.js b/games/basket-random/scripts/main.js new file mode 100644 index 00000000..abd31704 --- /dev/null +++ b/games/basket-random/scripts/main.js @@ -0,0 +1,3407 @@ +'use strict'; +(window.g_aYk = class { + constructor(e, g) { + (this.g_ars = e), (this.g_aYl = g), (this.g_aYm = !1), (this.g_aYn = () => this.g_KZ()); + } + g_aYo() {} + g_aYp(e, g, a, _) { + this.g_ars.g_aYq(this.g_aYl, e, g, a, _); + } + g_aYr(e, g, a, _) { + return this.g_ars.g_aYs(this.g_aYl, e, g, a, _); + } + g_aYt(e, g, a) { + this.g_ars.g_aYu() + ? this.g_aYp(e, g, a) + : this.g_ars + .g_aYv() + ._OnMessageFromDOM({ + type: 'event', + component: this.g_aYl, + handler: e, + dispatchOpts: a || null, + data: g, + responseId: null + }); + } + g_aYw(e, g) { + this.g_ars.g_aYx(this.g_aYl, e, g); + } + g_aYy(e) { + for (const [g, a] of e) this.g_aYw(g, a); + } + g_aYz() { + return this.g_ars; + } + g_aYA() { + return this.g_aYl; + } + g_ael() { + this.g_aYm || (this.g_ars.g_aYB(this.g_aYn), (this.g_aYm = !0)); + } + g_adY() { + this.g_aYm && (this.g_ars.g_aYC(this.g_aYn), (this.g_aYm = !1)); + } + g_KZ() {} +}), + (window.g_mQ = class { + constructor(e, g) { + (this.g_ly = e), + (this.g_mR = g), + (this.g_mT = -1), + (this.g_mU = -Infinity), + (this.g_mV = () => this.g_mW()), + (this.g_mX = !1), + (this.g_mY = !1); + } + g_m_(e) { + this.g_mY = !!e; + } + g_nc() { + if (-1 === this.g_mT) { + const e = Date.now(), + g = e - this.g_mU, + a = this.g_mR; + g >= a && this.g_mY + ? ((this.g_mU = e), this.g_nd()) + : (this.g_mT = self.setTimeout(this.g_mV, Math.max(a - g, 4))); + } + } + g_nd() { + (this.g_mX = !0), this.g_ly(), (this.g_mX = !1); + } + g_lC() { + this.g_mX || (this.g_ne(), (this.g_mU = Date.now())); + } + g_mW() { + (this.g_mT = -1), (this.g_mU = Date.now()), this.g_nd(); + } + g_ne() { + -1 !== this.g_mT && (self.clearTimeout(this.g_mT), (this.g_mT = -1)); + } + g_ek() { + this.g_ne(), (this.g_ly = null), (this.g_mV = null); + } + }), + 'use strict', + (window.g_aYD = class extends g_aYk { + constructor(e, g) { + super(e, g), + (this.g_aYE = new Map()), + (this.g_aYF = !0), + this.g_aYw('create', (e) => this.g_aYG(e)), + this.g_aYw('destroy', (e) => this.g_aYH(e)), + this.g_aYw('set-visible', (e) => this.g_aYI(e)), + this.g_aYw('update-position', (e) => this.g_aYJ(e)), + this.g_aYw('update-state', (e) => this.g_aAc(e)), + this.g_aYw('focus', (e) => this.g_aYK(e)), + this.g_aYw('set-css-style', (e) => this.g_aYL(e)); + } + g_aYM(e) { + this.g_aYF = !!e; + } + g_aYN(e, g) { + this.g_aYw(e, (e) => { + const a = e.elementId, + _ = this.g_aYE.get(a); + return g(_, e); + }); + } + g_aYG(e) { + const g = e.elementId, + a = this.g_aeM(g, e); + this.g_aYE.set(g, a), + e.isVisible || (a.style.display = 'none'), + this.g_aYF && document.body.appendChild(a); + } + g_aeM() { + throw new Error('required override'); + } + g_aYO() {} + g_aYH(e) { + const g = e.elementId, + a = this.g_aYE.get(g); + this.g_aYO(a), this.g_aYF && a.parentElement.removeChild(a), this.g_aYE.delete(g); + } + g_aYP(e, g, a) { + a || (a = {}), (a.elementId = g), this.g_aYp(e, a); + } + g_aYQ(e, g, a) { + a || (a = {}), (a.elementId = g), this.g_aYt(e, a); + } + g_aYI(e) { + if (this.g_aYF) { + const g = this.g_aYE.get(e.elementId); + g.style.display = e.isVisible ? '' : 'none'; + } + } + g_aYJ(e) { + if (this.g_aYF) { + const g = this.g_aYE.get(e.elementId); + (g.style.left = e.left + 'px'), + (g.style.top = e.top + 'px'), + (g.style.width = e.width + 'px'), + (g.style.height = e.height + 'px'); + const a = e.fontSize; + null !== a && (g.style.fontSize = a + 'em'); + } + } + g_aAc(e) { + const g = this.g_aYE.get(e.elementId); + this.g_aYR(g, e); + } + g_aYR() { + throw new Error('required override'); + } + g_aYK(e) { + const g = this.g_aYE.get(e.elementId); + e.focus ? g.focus() : g.blur(); + } + g_aYL(e) { + const g = this.g_aYE.get(e.elementId); + g.style[e.prop] = e.val; + } + g_aYS(e) { + return this.g_aYE.get(e); + } + }), + 'use strict'; +{ + function _(e) { + if (e.g_aYT) { + const g = document.createElement('script'); + (g.async = !1), (g.textContent = e.g_C), document.head.appendChild(g); + } else + return new Promise((g, a) => { + const _ = document.createElement('script'); + (_.onload = g), (_.onerror = a), (_.async = !1), (_.src = e), document.head.appendChild(_); + }); + } + async function t(e) { + const g = await r(e), + a = new TextDecoder('utf-8'); + return a.decode(g); + } + function r(e) { + return new Promise((g, _) => { + const a = new FileReader(); + (a.onload = (e) => g(e.target.result)), (a.onerror = (e) => _(e)), a.readAsArrayBuffer(e); + }); + } + function b(e) { + return n.has(e); + } + const a = /(iphone|ipod|ipad)/i.test(navigator.userAgent); + let e = new Audio(); + const c = { + 'audio/webm; codecs=opus': !!e.canPlayType('audio/webm; codecs=opus'), + 'audio/ogg; codecs=opus': !!e.canPlayType('audio/ogg; codecs=opus'), + 'audio/webm; codecs=vorbis': !!e.canPlayType('audio/webm; codecs=vorbis'), + 'audio/ogg; codecs=vorbis': !!e.canPlayType('audio/ogg; codecs=vorbis'), + 'audio/mp4': !!e.canPlayType('audio/mp4'), + 'audio/mpeg': !!e.canPlayType('audio/mpeg') + }; + e = null; + const g = []; + let s = 0; + window.RealFile = window.File; + const i = [], + u = new Map(), + p = new Map(); + let l = 0; + const m = []; + self.g_aYU = function (e) { + if ('function' != typeof e) throw new Error('runOnStartup called without a function'); + m.push(e); + }; + const n = new Set(['cordova', 'playable-ad', 'instant-games']); + window.g_aYV = class e { + constructor(e) { + (this.g_aYW = e.g_aYX), + (this.g_aYY = null), + (this.g_apn = ''), + (this.g_aYZ = e.g_aY_), + (this.g_aY$ = {}), + (this.g_aZa = null), + (this.g_aZb = null), + (this.g_aZc = []), + (this.g_aZd = null), + (this.g_ano = null), + (this.g_arm = null), + (this.g_anX = -1), + (this.g_aZe = () => this.g_aZf()), + (this.g_aZg = []), + (this.g_aps = e.g_aZh), + b(this.g_aps) && + this.g_aYW && + (console.warn( + '[C3 runtime] Worker mode is enabled and supported, but is disabled in WebViews due to crbug.com/923007. Reverting to DOM mode.' + ), + (this.g_aYW = !1)), + (this.g_aZi = !1), + (this.g_aZj = null), + (this.g_aZk = null), + ('html5' === this.g_aps || 'playable-ad' === this.g_aps) && + 'file' === location.protocol.substr(0, 4) && + alert( + "Exported games won't work until you upload them. (When running on the file: protocol, browsers block many features from working for security reasons.)" + ), + this.g_aYx('runtime', 'cordova-fetch-local-file', (e) => this.g_aZl(e)), + this.g_aYx('runtime', 'create-job-worker', (e) => this.g_aZm(e)), + 'cordova' === this.g_aps + ? document.addEventListener('deviceready', () => this.g_ac$(e)) + : this.g_ac$(e); + } + g_ek() { + this.g_ask(), + this.g_aYY && ((this.g_aYY.onmessage = null), (this.g_aYY = null)), + this.g_aZa && (this.g_aZa.terminate(), (this.g_aZa = null)), + this.g_aZb && (this.g_aZb.g_ek(), (this.g_aZb = null)), + this.g_ano && (this.g_ano.parentElement.removeChild(this.g_ano), (this.g_ano = null)); + } + g_aZn() { + return this.g_ano; + } + g_fe() { + return this.g_apn; + } + g_aYu() { + return this.g_aYW; + } + g_asZ() { + return this.g_aps; + } + g_arM() { + return a && 'cordova' === this.g_aps; + } + g_as_() { + return a && b(this.g_aps); + } + async g_ac$(e) { + if ('playable-ad' === this.g_aps) { + (this.g_aZj = self.c3_base64files), (this.g_aZk = {}), await this.g_aZo(); + for (let g = 0, a = e.g_aZp.length; g < a; ++g) { + const a = e.g_aZp[g].toLowerCase(); + this.g_aZk.hasOwnProperty(a) + ? (e.g_aZp[g] = { g_aYT: !0, g_C: this.g_aZk[a] }) + : this.g_aZj.hasOwnProperty(a) && (e.g_aZp[g] = URL.createObjectURL(this.g_aZj[a])); + } + } + if (e.g_aZq) this.g_apn = e.g_aZq; + else { + const e = location.origin; + this.g_apn = ('null' === e ? 'file:///' : e) + location.pathname; + const g = this.g_apn.lastIndexOf('/'); + -1 !== g && (this.g_apn = this.g_apn.substr(0, g + 1)); + } + if (e.g_aZr) + for (const [g, a] of Object.entries(e.g_aZr)) this.g_aY$[g] = URL.createObjectURL(a); + const g = new MessageChannel(); + (this.g_aYY = g.port1), + (this.g_aYY.onmessage = (e) => this._OnMessageFromRuntime(e.data)), + window.c3_addPortMessageHandler && window.c3_addPortMessageHandler((e) => this.g_aZs(e)), + (this.g_arm = new self.g_aZt(this)), + await this.g_arm.g_akw(), + this.g_aZu(), + 'object' == typeof window.StatusBar && window.StatusBar.hide(), + 'object' == typeof window.AndroidFullScreen && window.AndroidFullScreen.immersiveMode(), + await this.g_aZv(), + this.g_aYW ? await this.g_aZw(e, g.port2) : await this.g_aZx(e, g.port2); + } + g_aZy(e) { + return this.g_aY$.hasOwnProperty(e) + ? this.g_aY$[e] + : e.endsWith('/workermain.js') && this.g_aY$.hasOwnProperty('workermain.js') + ? this.g_aY$['workermain.js'] + : 'playable-ad' === this.g_aps && this.g_aZj.hasOwnProperty(e.toLowerCase()) + ? URL.createObjectURL(this.g_aZj[e.toLowerCase()]) + : e; + } + async g_aZz(g, a, _) { + if (g.startsWith('blob:')) return new Worker(g, _); + if (this.g_arM()) { + const e = await this.g_BT(this.g_aYZ + g), + a = new Blob([e], { type: 'application/javascript' }); + return new Worker(URL.createObjectURL(a), _); + } + const t = new URL(g, a), + n = location.origin !== t.origin; + if (n) { + const e = await fetch(t); + if (!e.ok) throw new Error('failed to fetch worker script'); + const g = await e.blob(); + return new Worker(URL.createObjectURL(g), _); + } + return new Worker(t, _); + } + g_aZu() { + if (this.g_as_()) { + const g = document.documentElement.style, + a = document.body.style, + _ = window.innerWidth < window.innerHeight, + t = _ ? window.screen.width : window.screen.height, + n = _ ? window.screen.height : window.screen.width; + (a.height = g.height = n + 'px'), (a.width = g.width = t + 'px'); + } + } + g_aZA(g) { + return { + baseUrl: this.g_apn, + windowInnerWidth: window.innerWidth, + windowInnerHeight: window.innerHeight, + devicePixelRatio: window.devicePixelRatio, + isFullscreen: e.g_aoA(), + projectData: g.g_aZB, + previewImageBlobs: window.cr_previewImageBlobs || this.g_aZj, + previewProjectFileBlobs: window.cr_previewProjectFileBlobs, + exportType: g.g_aZh, + isDebug: -1 < self.location.search.indexOf('debug'), + ife: !!self.g_aZC, + jobScheduler: this.g_arm.g_aZD(), + supportedAudioFormats: c, + opusWasmScriptUrl: window.cr_opusWasmScriptUrl || this.g_aYZ + 'opus.wasm.js', + opusWasmBinaryUrl: window.cr_opusWasmBinaryUrl || this.g_aYZ + 'opus.wasm.wasm', + isiOSCordova: this.g_arM(), + isiOSWebView: this.g_as_(), + isFBInstantAvailable: 'undefined' != typeof self.FBInstant + }; + } + async g_aZw(e, g) { + const a = this.g_aZy(e.g_aZE); + (this.g_aZa = await this.g_aZz(a, this.g_apn, { name: 'Runtime' })), + (this.g_ano = document.createElement('canvas')), + (this.g_ano.style.display = 'none'); + const _ = this.g_ano.transferControlToOffscreen(); + document.body.appendChild(this.g_ano), + (window.c3canvas = this.g_ano), + this.g_aZa.postMessage( + Object.assign(this.g_aZA(e), { + type: 'init-runtime', + isInWorker: !0, + messagePort: g, + canvas: _, + workerDependencyScripts: e.g_aZF || [], + engineScripts: e.g_aZp, + projectScripts: window.g_aZG, + projectScriptsStatus: self.C3_ProjectScriptsStatus + }), + [g, _, ...this.g_arm.g_aZH()] + ), + (this.g_aZc = i.map((e) => new e(this))), + this.g_aZI(), + (self.c3_callFunction = (e, g) => this.g_aZd.g_Vr(e, g)), + 'preview' === this.g_aps && + (self.goToLastErrorScript = () => this.g_aYq('runtime', 'go-to-last-error-script')); + } + async g_aZx(g, a) { + (this.g_ano = document.createElement('canvas')), + (this.g_ano.style.display = 'none'), + document.body.appendChild(this.g_ano), + (window.c3canvas = this.g_ano), + (this.g_aZc = i.map((e) => new e(this))), + this.g_aZI(); + const t = g.g_aZp.map((e) => ('string' == typeof e ? new URL(e, this.g_apn).toString() : e)); + if ( + (Array.isArray(g.g_aZF) && t.unshift(...g.g_aZF), + await Promise.all(t.map((e) => _(e))), + g.g_aZJ && 0 < g.g_aZJ.length) + ) { + const e = self.C3_ProjectScriptsStatus; + try { + if ((await Promise.all(g.g_aZJ.map((e) => _(e[1]))), Object.values(e).some((e) => !e))) + return void self.setTimeout(() => this.g_aZK(e), 100); + } catch (g) { + return ( + console.error('[Preview] Error loading project scripts: ', g), + void self.setTimeout(() => this.g_aZK(e), 100) + ); + } + } + if ('preview' === this.g_aps && 'object' != typeof self.g_aO.g_aYj) + return ( + console.error( + '[C3 runtime] Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax.' + ), + void alert( + 'Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax.' + ) + ); + const n = Object.assign(this.g_aZA(g), { + isInWorker: !1, + messagePort: a, + canvas: this.g_ano, + runOnStartupFunctions: m + }); + (this.g_aZb = self.C3_CreateRuntime(n)), await self.C3_InitRuntime(this.g_aZb, n); + } + g_aZK(e) { + const g = Object.entries(e) + .filter((e) => !e[1]) + .map((e) => e[0]), + a = `Failed to load project script '${g[0]}'. Check all your JavaScript code has valid syntax.`; + console.error('[Preview] ' + a), alert(a); + } + async g_aZm() { + const e = await this.g_arm.g_aZL(); + return { outputPort: e, transferables: [e] }; + } + g_aYv() { + if (this.g_aYW) throw new Error('not available in worker mode'); + return this.g_aZb; + } + g_aYq(g, a, _, t, n) { + this.g_aYY.postMessage( + { + type: 'event', + component: g, + handler: a, + dispatchOpts: t || null, + data: _, + responseId: null + }, + this.g_aZi ? void 0 : n + ); + } + g_aYs(_, a, t, n, b) { + const e = l++, + i = new Promise((g, a) => { + p.set(e, { resolve: g, reject: a }); + }); + return ( + this.g_aYY.postMessage( + { + type: 'event', + component: _, + handler: a, + dispatchOpts: n || null, + data: t, + responseId: e + }, + this.g_aZi ? void 0 : b + ), + i + ); + } + ['_OnMessageFromRuntime'](e) { + const g = e.type; + if ('event' === g) this.g_aZM(e); + else if ('result' === g) this.g_aZN(e); + else if ('runtime-ready' === g) this.g_aZO(); + else if ('alert' === g) alert(e.message); + else throw new Error(`unknown message '${g}'`); + } + g_aZM(_) { + const t = _.component, + n = _.handler, + a = _.data, + b = _.responseId, + e = u.get(t); + if (!e) return void console.warn(`[DOM] No event handlers for component '${t}'`); + const i = e.get(n); + if (!i) return void console.warn(`[DOM] No handler '${n}' for component '${t}'`); + let g = null; + try { + g = i(a); + } catch (e) { + return ( + console.error(`Exception in '${t}' handler '${n}':`, e), + void (null !== b && this.g_aZP(b, !1, '' + e)) + ); + } + null !== b && + (g && g.then + ? g + .then((e) => this.g_aZP(b, !0, e)) + .catch((e) => { + console.error(`Rejection from '${t}' handler '${n}':`, e), + this.g_aZP(b, !1, '' + e); + }) + : this.g_aZP(b, !0, g)); + } + g_aZP(e, g, a) { + let _; + a && a.transferables && (_ = a.transferables), + this.g_aYY.postMessage({ type: 'result', responseId: e, isOk: g, result: a }, _); + } + g_aZN(g) { + const a = g.responseId, + _ = g.isOk, + t = g.result, + n = p.get(a); + _ ? n.resolve(t) : n.reject(t), p.delete(a); + } + g_aYx(e, g, a) { + let _ = u.get(e); + if ((_ || ((_ = new Map()), u.set(e, _)), _.has(g))) + throw new Error(`[DOM] Component '${e}' already has handler '${g}'`); + _.set(g, a); + } + static g_aZQ(e) { + if (i.includes(e)) throw new Error('DOM handler already added'); + i.push(e); + } + g_aZI() { + for (const e of this.g_aZc) if ('runtime' === e.g_aYA()) return void (this.g_aZd = e); + throw new Error('cannot find runtime DOM handler'); + } + g_aZs(e) { + this.g_aYq('debugger', 'message', e); + } + g_aZO() { + for (const e of this.g_aZc) e.g_aYo(); + } + static g_aoA() { + return !!( + document.fullscreenElement || + document.webkitFullscreenElement || + document.mozFullScreenElement + ); + } + async g_aZR() { + return await this.g_aYs('runtime', 'get-remote-preview-status-info'); + } + g_aYB(e) { + this.g_aZg.push(e), this.g_asj(); + } + g_aYC(e) { + const g = this.g_aZg.indexOf(e); + if (-1 === g) throw new Error('invalid callback'); + this.g_aZg.splice(g, 1), this.g_aZg.length || this.g_ask(); + } + g_asj() { + -1 === this.g_anX && this.g_aZg.length && (this.g_anX = requestAnimationFrame(this.g_aZe)); + } + g_ask() { + -1 !== this.g_anX && (cancelAnimationFrame(this.g_anX), (this.g_anX = -1)); + } + g_aZf() { + this.g_anX = -1; + for (const e of this.g_aZg) e(); + this.g_asj(); + } + g_aZS(e) { + this.g_aZd.g_aZS(e); + } + g_aZT(e) { + this.g_aZd.g_aZT(e); + } + g_aZU() { + this.g_aZd.g_aZU(); + } + g_aAQ(e) { + this.g_aZd.g_aAQ(e); + } + g_Co(e) { + return !!c[e]; + } + async g_agl(e) { + const g = await this.g_aYs('runtime', 'opus-decode', { arrayBuffer: e }, null, [e]); + return new Float32Array(g); + } + g_fZ(e) { + return ( + /^(?:[a-z]+:)?\/\//.test(e) || 'data:' === e.substr(0, 5) || 'blob:' === e.substr(0, 5) + ); + } + g_f_(e) { + return !this.g_fZ(e); + } + async g_aZl(e) { + const g = e.filename; + switch (e.as) { + case 'text': + return await this.g_BU(g); + case 'buffer': + return await this.g_BT(g); + default: + throw new Error('unsupported type'); + } + } + g_aZV() { + const e = window.cordova && window.cordova.plugins && window.cordova.plugins.permissions; + if ('object' != typeof e) throw new Error('Permission API is not loaded'); + return e; + } + g_aZW(e, g) { + const a = e[g]; + if ('string' != typeof a) throw new Error('Invalid permission name'); + return a; + } + g_aZX(e) { + const g = this.g_aZV(); + return new Promise((_, a) => + g.checkPermission(this.g_aZW(g, e), (e) => _(!!e.hasPermission), a) + ); + } + g_aJJ(e) { + const g = this.g_aZV(); + return new Promise((_, a) => + g.requestPermission(this.g_aZW(g, e), (e) => _(!!e.hasPermission), a) + ); + } + async g_aZY(e) { + if ('cordova' !== this.g_asZ()) return !0; + if (this.g_arM()) return !0; + for (const g of e) { + const e = await this.g_aZX(g); + if (e) continue; + const a = await this.g_aJJ(g); + if (!1 === a) return !1; + } + return !0; + } + async g_aZZ(...e) { + if (!1 === (await this.g_aZY(e))) throw new Error('Permission not granted'); + } + g_aZ_(e) { + const g = window.cordova.file.applicationDirectory + 'www/' + e.toLowerCase(); + return new Promise((e, a) => { + window.resolveLocalFileSystemURL( + g, + (g) => { + g.file(e, a); + }, + a + ); + }); + } + async g_BU(e) { + const g = await this.g_aZ_(e); + return await t(g); + } + g_aZ$() { + if (g.length && !(8 <= s)) { + s++; + const e = g.shift(); + this.g_a_a(e.filename, e.g_a_b, e.g_a_c); + } + } + g_BT(e) { + return new Promise((_, t) => { + g.push({ + filename: e, + g_a_b: (e) => { + s--, this.g_aZ$(), _(e); + }, + g_a_c: (e) => { + s--, this.g_aZ$(), t(e); + } + }), + this.g_aZ$(); + }); + } + async g_a_a(g, a, e) { + try { + const _ = await this.g_aZ_(g), + t = await r(_); + a(t); + } catch (g) { + e(g); + } + } + async g_aZo() { + const e = []; + for (const [g, a] of Object.entries(this.g_aZj)) e.push(this.g_a_d(g, a)); + await Promise.all(e); + } + async g_a_d(e, g) { + if ('object' == typeof g) + (this.g_aZj[e] = new Blob([g.str], { type: g.type })), (this.g_aZk[e] = g.str); + else { + let a = await this.g_a_e(g); + a || (a = this.g_a_f(g)), (this.g_aZj[e] = a); + } + } + async g_a_e(e) { + try { + const g = await fetch(e); + return await g.blob(); + } catch (e) { + return ( + console.warn( + 'Failed to fetch a data: URI. Falling back to a slower workaround. This is probably because the Content Security Policy unnecessarily blocked it. Allow data: URIs in your CSP to avoid this.', + e + ), + null + ); + } + } + g_a_f(e) { + const g = this.g_a_g(e); + return this.g_a_h(g.data, g.g_gq); + } + g_a_g(_) { + const a = _.indexOf(','); + if (0 > a) throw new URIError('expected comma in data: uri'); + const t = _.substring(5, a), + n = _.substring(a + 1), + b = t.split(';'), + e = b[0] || '', + c = b[1], + g = b[2]; + let o; + return ( + (o = 'base64' === c || 'base64' === g ? atob(n) : decodeURIComponent(n)), + { g_gq: e, data: o } + ); + } + g_a_h(_, a) { + let t, + n, + b = _.length, + e = b >> 2, + i = new Uint8Array(b), + g = new Uint32Array(i.buffer, 0, e); + for (t = 0, n = 0; t < e; ++t) + g[t] = + _.charCodeAt(n++) | + (_.charCodeAt(n++) << 8) | + (_.charCodeAt(n++) << 16) | + (_.charCodeAt(n++) << 24); + for (let e = 3 & b; e--; ) (i[n] = _.charCodeAt(n)), ++n; + return new Blob([i], { type: a }); + } + g_aZv() { + let e = null; + const g = new Promise((g) => (e = g)), + _ = new ArrayBuffer(1), + t = new MessageChannel(); + return ( + (t.port2.onmessage = (g) => { + (g.data && g.data.arrayBuffer) || + ((this.g_aZi = !0), + console.warn( + 'MessageChannel transfers determined to be broken. Disabling transferables.' + )), + e(); + }), + t.port1.postMessage({ arrayBuffer: _ }, [_]), + g + ); + } + }; +} +{ + function _(e) { + return ( + (e.sourceCapabilities && e.sourceCapabilities.firesTouchEvents) || + (e.originalEvent && + e.originalEvent.sourceCapabilities && + e.originalEvent.sourceCapabilities.firesTouchEvents) + ); + } + function t(e) { + return new Promise((g, _) => { + const a = document.createElement('link'); + (a.onload = () => g(a)), + (a.onerror = (e) => _(e)), + (a.rel = 'stylesheet'), + (a.href = e), + document.head.appendChild(a); + }); + } + function a(e) { + return new Promise((g, _) => { + const a = new Image(); + (a.onload = () => g(a)), (a.onerror = (e) => _(e)), (a.src = e); + }); + } + async function s(e) { + const g = URL.createObjectURL(e); + try { + return await a(g); + } finally { + URL.revokeObjectURL(g); + } + } + function d(e) { + return new Promise((g, _) => { + let a = new FileReader(); + (a.onload = (e) => g(e.target.result)), (a.onerror = (e) => _(e)), a.readAsText(e); + }); + } + async function u(e, _, t) { + if (!/firefox/i.test(navigator.userAgent)) return await s(e); + let n = await d(e); + const b = new DOMParser(), + g = b.parseFromString(n, 'image/svg+xml'), + o = g.documentElement; + if (o.hasAttribute('width') && o.hasAttribute('height')) { + const g = o.getAttribute('width'), + a = o.getAttribute('height'); + if (!g.includes('%') && !a.includes('%')) return await s(e); + } + o.setAttribute('width', _ + 'px'), o.setAttribute('height', t + 'px'); + const i = new XMLSerializer(); + return (n = i.serializeToString(g)), (e = new Blob([n], { type: 'image/svg+xml' })), await s(e); + } + function e(e) { + do { + if (e.parentNode && e.hasAttribute('contenteditable')) return !0; + e = e.parentNode; + } while (e); + return !1; + } + function g(e) { + const g = e.target.tagName.toLowerCase(); + c.has(g) && e.preventDefault(); + } + function f(e) { + (e.metaKey || e.ctrlKey) && e.preventDefault(); + } + function b() { + try { + return window.parent && window.parent.document.hasFocus(); + } catch (e) { + return !1; + } + } + function i() { + const g = document.activeElement; + if (!g) return !1; + const a = g.tagName.toLowerCase(), + _ = new Set(['email', 'number', 'password', 'search', 'tel', 'text', 'url']); + return 'textarea' === a || ('input' === a ? _.has(g.type.toLowerCase() || 'text') : e(g)); + } + const h = new Map([ + ['OSLeft', 'MetaLeft'], + ['OSRight', 'MetaRight'] + ]), + l = { dispatchRuntimeEvent: !0, dispatchUserScriptEvent: !0 }, + m = { dispatchUserScriptEvent: !0 }, + n = { dispatchRuntimeEvent: !0 }, + c = new Set(['canvas', 'body', 'html']); + (self.C3_GetSvgImageSize = async function (e) { + const g = await s(e); + if (0 < g.width && 0 < g.height) return [g.width, g.height]; + else { + (g.style.position = 'absolute'), + (g.style.left = '0px'), + (g.style.top = '0px'), + (g.style.visibility = 'hidden'), + document.body.appendChild(g); + const e = g.getBoundingClientRect(); + return document.body.removeChild(g), [e.width, e.height]; + } + }), + (self.C3_RasterSvgImageBlob = async function (_, a, t, n, b) { + const e = await u(_, a, t), + g = document.createElement('canvas'); + (g.width = n), (g.height = b); + const c = g.getContext('2d'); + return c.drawImage(e, 0, 0, a, t), g; + }); + let o = !1; + document.addEventListener('pause', () => (o = !0)), + document.addEventListener('resume', () => (o = !1)); + const p = class extends g_aYk { + constructor(_) { + super(_, 'runtime'), + (this.g_a_i = !0), + (this.g_a_j = -1), + (this.g_a_k = 'any'), + (this.g_a_l = !1), + (this.g_a_m = !1), + (this.g_a_n = null), + (this.g_a_o = null), + (this.g_a_p = null), + _.g_aYx('canvas', 'update-size', (e) => this.g_a_q(e)), + _.g_aYx('runtime', 'invoke-download', (e) => this.g_a_r(e)), + _.g_aYx('runtime', 'raster-svg-image', (e) => this.g_a_s(e)), + _.g_aYx('runtime', 'get-svg-image-size', (e) => this.g_a_t(e)), + _.g_aYx('runtime', 'set-target-orientation', (e) => this.g_a_u(e)), + _.g_aYx('runtime', 'register-sw', () => this.g_a_v()), + _.g_aYx('runtime', 'post-to-debugger', (e) => this.g_a_w(e)), + _.g_aYx('runtime', 'go-to-script', (e) => this.g_a_w(e)), + _.g_aYx('runtime', 'before-start-ticking', () => this.g_a_x()), + _.g_aYx('runtime', 'debug-highlight', (e) => this.g_a_y(e)), + _.g_aYx('runtime', 'enable-device-orientation', () => this.g_a_z()), + _.g_aYx('runtime', 'enable-device-motion', () => this.g_a_A()), + _.g_aYx('runtime', 'add-stylesheet', (e) => this.g_a_B(e)), + _.g_aYx('runtime', 'alert', (e) => this.g_a_C(e)); + const t = new Set(['input', 'textarea', 'datalist']); + window.addEventListener('contextmenu', (g) => { + const a = g.target, + _ = a.tagName.toLowerCase(); + t.has(_) || e(a) || g.preventDefault(); + }); + const a = _.g_aZn(); + window.addEventListener('selectstart', g), + window.addEventListener('gesturehold', g), + a.addEventListener('selectstart', g), + a.addEventListener('gesturehold', g), + window.addEventListener('touchstart', g, { passive: !1 }), + 'undefined' == typeof PointerEvent + ? a.addEventListener('touchstart', g) + : (window.addEventListener('pointerdown', g, { passive: !1 }), + a.addEventListener('pointerdown', g)), + (this.g_a_D = 0), + window.addEventListener('mousedown', (e) => { + 1 === e.button && e.preventDefault(); + }), + window.addEventListener('mousewheel', f, { passive: !1 }), + window.addEventListener('wheel', f, { passive: !1 }), + window.addEventListener('resize', () => this.g_aom()), + _.g_as_() && + window.addEventListener('focusout', () => { + i() || (document.scrollingElement.scrollTop = 0); + }), + (this.g_a_E = new Set()), + (this.g_a_F = new WeakSet()), + (this.g_azW = !1); + } + g_a_x() { + return ( + 'cordova' === this.g_ars.g_asZ() + ? (document.addEventListener('pause', () => this.g_aro(!0)), + document.addEventListener('resume', () => this.g_aro(!1))) + : document.addEventListener('visibilitychange', () => this.g_aro(document.hidden)), + { isSuspended: !!(document.hidden || o) } + ); + } + g_aYo() { + window.addEventListener('focus', () => this.g_a_G('window-focus')), + window.addEventListener('blur', () => { + this.g_a_G('window-blur', { parentHasFocus: b() }), (this.g_a_D = 0); + }), + window.addEventListener('fullscreenchange', () => this.g_aon()), + window.addEventListener('webkitfullscreenchange', () => this.g_aon()), + window.addEventListener('mozfullscreenchange', () => this.g_aon()), + window.addEventListener('fullscreenerror', (e) => this.g_aoo(e)), + window.addEventListener('webkitfullscreenerror', (e) => this.g_aoo(e)), + window.addEventListener('mozfullscreenerror', (e) => this.g_aoo(e)), + window.addEventListener('keydown', (e) => this.g_a_H('keydown', e)), + window.addEventListener('keyup', (e) => this.g_a_H('keyup', e)), + window.addEventListener('dblclick', (e) => this.g_a_I('dblclick', e, l)), + window.addEventListener('wheel', (e) => this.g_a_J('wheel', e)), + 'undefined' == typeof PointerEvent + ? (window.addEventListener('mousedown', (e) => this.g_a_K('pointerdown', e)), + window.addEventListener('mousemove', (e) => this.g_a_K('pointermove', e)), + window.addEventListener('mouseup', (e) => this.g_a_K('pointerup', e)), + window.addEventListener('touchstart', (e) => this.g_a_L('pointerdown', e)), + window.addEventListener('touchmove', (e) => this.g_a_L('pointermove', e)), + window.addEventListener('touchend', (e) => this.g_a_L('pointerup', e)), + window.addEventListener('touchcancel', (e) => this.g_a_L('pointercancel', e))) + : (window.addEventListener('pointerdown', (e) => this.g_a_M('pointerdown', e)), + this.g_ars.g_aYu() && + 'undefined' != typeof window.onpointerrawupdate && + self === self.top + ? ((this.g_a_o = new g_mQ(() => this.g_a_N(), 5)), + this.g_a_o.g_m_(!0), + window.addEventListener('pointerrawupdate', (e) => this.g_a_O(e))) + : window.addEventListener('pointermove', (e) => this.g_a_M('pointermove', e)), + window.addEventListener('pointerup', (e) => this.g_a_M('pointerup', e)), + window.addEventListener('pointercancel', (e) => this.g_a_M('pointercancel', e))); + const e = () => this.g_aZU(); + window.addEventListener('pointerup', e, !0), + window.addEventListener('touchend', e, !0), + window.addEventListener('click', e, !0), + window.addEventListener('keydown', e, !0), + window.addEventListener('gamepadconnected', e, !0); + } + g_a_G(e, g) { + this.g_aYp(e, g || null, n); + } + g_a_P() { + return Math.max(window.innerWidth, 1); + } + g_a_Q() { + return Math.max(window.innerHeight, 1); + } + g_aom() { + const e = this.g_a_P(), + g = this.g_a_Q(); + this.g_a_G('window-resize', { + innerWidth: e, + innerHeight: g, + devicePixelRatio: window.devicePixelRatio + }), + this.g_ars.g_as_() && (-1 !== this.g_a_j && clearTimeout(this.g_a_j), this.g_a_R(e, g, 0)); + } + g_a_S(e, g, a) { + -1 !== this.g_a_j && clearTimeout(this.g_a_j), + (this.g_a_j = setTimeout(() => this.g_a_R(e, g, a), 48)); + } + g_a_R(g, a, _) { + const t = this.g_a_P(), + n = this.g_a_Q(); + (this.g_a_j = -1), + t != g || n != a + ? this.g_a_G('window-resize', { + innerWidth: t, + innerHeight: n, + devicePixelRatio: window.devicePixelRatio + }) + : 10 > _ && this.g_a_S(t, n, _ + 1); + } + g_a_u(e) { + this.g_a_k = e.targetOrientation; + } + g_a_T() { + const e = this.g_a_k; + if (screen.orientation && screen.orientation.lock) + screen.orientation + .lock(e) + .catch((e) => console.warn('[Construct 3] Failed to lock orientation: ', e)); + else + try { + let g = !1; + screen.lockOrientation + ? (g = screen.lockOrientation(e)) + : screen.webkitLockOrientation + ? (g = screen.webkitLockOrientation(e)) + : screen.mozLockOrientation + ? (g = screen.mozLockOrientation(e)) + : screen.msLockOrientation && (g = screen.msLockOrientation(e)), + g || console.warn('[Construct 3] Failed to lock orientation'); + } catch (e) { + console.warn('[Construct 3] Failed to lock orientation: ', e); + } + } + g_aon() { + const e = g_aYV.g_aoA(); + e && 'any' !== this.g_a_k && this.g_a_T(), + this.g_aYp('fullscreenchange', { + isFullscreen: e, + innerWidth: this.g_a_P(), + innerHeight: this.g_a_Q() + }); + } + g_aoo(e) { + console.warn('[Construct 3] Fullscreen request failed: ', e), + this.g_aYp('fullscreenerror', { + isFullscreen: g_aYV.g_aoA(), + innerWidth: this.g_a_P(), + innerHeight: this.g_a_Q() + }); + } + g_aro(e) { + e ? this.g_ars.g_ask() : this.g_ars.g_asj(), this.g_aYp('visibilitychange', { hidden: e }); + } + g_a_H(e, a) { + 'Backspace' === a.key && g(a); + const _ = h.get(a.code) || a.code; + this.g_aYt( + e, + { + code: _, + key: a.key, + which: a.which, + repeat: a.repeat, + altKey: a.altKey, + ctrlKey: a.ctrlKey, + metaKey: a.metaKey, + shiftKey: a.shiftKey, + timeStamp: a.timeStamp + }, + l + ); + } + g_a_J(e, g) { + this.g_aYp( + e, + { + clientX: g.clientX, + clientY: g.clientY, + deltaX: g.deltaX, + deltaY: g.deltaY, + deltaZ: g.deltaZ, + deltaMode: g.deltaMode, + timeStamp: g.timeStamp + }, + l + ); + } + g_a_I(e, g, a) { + _(g) || + ('mousedown' === e && window !== window.top && window.focus(), + this.g_aYt( + e, + { + button: g.button, + buttons: g.buttons, + clientX: g.clientX, + clientY: g.clientY, + timeStamp: g.timeStamp + }, + a + )); + } + g_a_K(e, g) { + if (!_(g)) { + 'pointerdown' === e && window !== window.top && window.focus(); + const a = this.g_a_D; + 'pointerdown' === e && 0 !== a + ? (e = 'pointermove') + : 'pointerup' == e && 0 !== g.buttons && (e = 'pointermove'), + this.g_aYt( + e, + { + pointerId: 1, + pointerType: 'mouse', + button: g.button, + buttons: g.buttons, + lastButtons: a, + clientX: g.clientX, + clientY: g.clientY, + width: 0, + height: 0, + pressure: 0, + tangentialPressure: 0, + tiltX: 0, + tiltY: 0, + twist: 0, + timeStamp: g.timeStamp + }, + l + ), + (this.g_a_D = g.buttons), + this.g_a_I(g.type, g, m); + } + } + g_a_M(e, g) { + 'pointerdown' === e && window !== window.top && window.focus(), + this.g_a_o && 'pointermove' !== e && this.g_a_o.g_lC(); + let a = 0; + if ( + ('mouse' === g.pointerType && (a = this.g_a_D), + this.g_aYt( + e, + { + pointerId: g.pointerId, + pointerType: g.pointerType, + button: g.button, + buttons: g.buttons, + lastButtons: a, + clientX: g.clientX, + clientY: g.clientY, + width: g.width || 0, + height: g.height || 0, + pressure: g.pressure || 0, + tangentialPressure: g.tangentialPressure || 0, + tiltX: g.tiltX || 0, + tiltY: g.tiltY || 0, + twist: g.twist || 0, + timeStamp: g.timeStamp + }, + l + ), + 'mouse' === g.pointerType) + ) { + let a = 'mousemove'; + 'pointerdown' === e ? (a = 'mousedown') : 'pointerup' == e && (a = 'pointerup'), + this.g_a_I(a, g, m), + (this.g_a_D = g.buttons); + } + } + g_a_O(e) { + (this.g_a_p = e), this.g_a_o.g_nc(); + } + g_a_N() { + this.g_a_M('pointermove', this.g_a_p), (this.g_a_p = null); + } + g_a_L(e, g) { + 'pointerdown' === e && window !== window.top && window.focus(); + for (let a = 0, _ = g.changedTouches.length; a < _; ++a) { + const _ = g.changedTouches[a]; + this.g_aYt( + e, + { + pointerId: _.identifier, + pointerType: 'touch', + button: 0, + buttons: 0, + lastButtons: 0, + clientX: _.clientX, + clientY: _.clientY, + width: 2 * (_.radiusX || _.webkitRadiusX || 0), + height: 2 * (_.radiusY || _.webkitRadiusY || 0), + pressure: _.force || _.webkitForce || 0, + tangentialPressure: 0, + tiltX: 0, + tiltY: 0, + twist: _.rotationAngle || 0, + timeStamp: g.timeStamp + }, + l + ); + } + } + g_a_z() { + this.g_a_l || + ((this.g_a_l = !0), window.addEventListener('deviceorientation', (e) => this.g_aKc(e))); + } + g_a_A() { + this.g_a_m || + ((this.g_a_m = !0), window.addEventListener('devicemotion', (e) => this.g_aKd(e))); + } + g_aKc(e) { + this.g_aYp( + 'deviceorientation', + { alpha: e.alpha || 0, beta: e.beta || 0, gamma: e.gamma || 0, timeStamp: e.timeStamp }, + l + ); + } + g_aKd(_) { + let a = null; + const t = _.acceleration; + t && (a = { x: t.x || 0, y: t.y || 0, z: t.z || 0 }); + let n = null; + const i = _.accelerationIncludingGravity; + i && (n = { x: i.x || 0, y: i.y || 0, z: i.z || 0 }); + let e = null; + const c = _.rotationRate; + c && (e = { alpha: c.alpha || 0, beta: c.beta || 0, gamma: c.gamma || 0 }), + this.g_aYp( + 'devicemotion', + { + acceleration: a, + accelerationIncludingGravity: n, + rotationRate: e, + interval: _.interval, + timeStamp: _.timeStamp + }, + l + ); + } + g_a_q(e) { + const g = this.g_aYz(), + a = g.g_aZn(); + (a.style.width = e.styleWidth + 'px'), + (a.style.height = e.styleHeight + 'px'), + (a.style.marginLeft = e.marginLeft + 'px'), + (a.style.marginTop = e.marginTop + 'px'), + g.g_aZu(), + this.g_a_i && ((a.style.display = ''), (this.g_a_i = !1)); + } + g_a_r(g) { + const _ = g.url, + t = g.filename, + n = document.createElement('a'), + e = document.body; + (n.textContent = t), + (n.href = _), + (n.download = t), + e.appendChild(n), + n.click(), + e.removeChild(n); + } + async g_a_s(_) { + const a = _.blob, + t = _.imageWidth, + n = _.imageHeight, + b = _.surfaceWidth, + e = _.surfaceHeight, + c = _.imageBitmapOpts, + g = await self.C3_RasterSvgImageBlob(a, t, n, b, e); + let o; + return ( + (o = c ? await createImageBitmap(g, c) : await createImageBitmap(g)), + { imageBitmap: o, transferables: [o] } + ); + } + async g_a_t(e) { + return await self.C3_GetSvgImageSize(e.blob); + } + async g_a_B(e) { + await t(e.url); + } + g_aZU() { + const e = [...this.g_a_E]; + if ((this.g_a_E.clear(), !this.g_azW)) + for (const g of e) { + const e = g.play(); + e && + e.catch(() => { + this.g_a_F.has(g) || this.g_a_E.add(g); + }); + } + } + g_aZS(e) { + if ('function' != typeof e.play) throw new Error('missing play function'); + this.g_a_F.delete(e); + let g; + try { + g = e.play(); + } catch (g) { + return void this.g_a_E.add(e); + } + g && + g.catch(() => { + this.g_a_F.has(e) || this.g_a_E.add(e); + }); + } + g_aZT(e) { + this.g_a_E.delete(e), this.g_a_F.add(e); + } + g_aAQ(e) { + this.g_azW = !!e; + } + g_a_y(e) { + const g = e.show; + if (!g) return void (this.g_a_n && (this.g_a_n.style.display = 'none')); + this.g_a_n || + ((this.g_a_n = document.createElement('div')), + (this.g_a_n.id = 'inspectOutline'), + document.body.appendChild(this.g_a_n)); + const a = this.g_a_n; + (a.style.display = ''), + (a.style.left = e.left - 1 + 'px'), + (a.style.top = e.top - 1 + 'px'), + (a.style.width = e.width + 2 + 'px'), + (a.style.height = e.height + 2 + 'px'), + (a.textContent = e.name); + } + g_a_v() { + window.C3_RegisterSW && window.C3_RegisterSW(); + } + g_a_w(e) { + window.c3_postToMessagePort && ((e.from = 'runtime'), window.c3_postToMessagePort(e)); + } + g_Vr(e, g) { + return this.g_aYr('js-invoke-function', { name: e, params: g }); + } + g_a_C(e) { + alert(e.message + ' [via Web Worker]'); + } + }; + g_aYV.g_aZQ(p); +} +{ + const e = document.currentScript.src; + self.g_aZt = class { + constructor(g) { + (this.g_a_U = g), + (this.g_apn = e ? e.substr(0, e.lastIndexOf('/') + 1) : g.g_fe()), + (this.g_atG = Math.min(navigator.hardwareConcurrency || 2, 16)), + (this.g_a_V = null), + (this.g_a_W = []), + (this.g_atE = null), + (this.g_a_X = null); + } + async g_akw() { + if (this.g_a_Y) throw new Error('already initialised'); + this.g_a_Y = !0; + const e = this.g_a_U.g_aZy('dispatchworker.js'); + this.g_a_V = await this.g_a_U.g_aZz(e, this.g_apn, { name: 'DispatchWorker' }); + const g = new MessageChannel(); + (this.g_atE = g.port1), + this.g_a_V.postMessage({ type: '_init', 'in-port': g.port2 }, [g.port2]), + (this.g_a_X = await this.g_aZL()); + } + async g_aZL() { + const g = this.g_a_W.length, + a = this.g_a_U.g_aZy('jobworker.js'), + _ = await this.g_a_U.g_aZz(a, this.g_apn, { name: 'JobWorker' + g }), + t = new MessageChannel(), + n = new MessageChannel(); + return ( + this.g_a_V.postMessage({ type: '_addJobWorker', port: t.port1 }, [t.port1]), + _.postMessage( + { type: 'init', number: g, 'dispatch-port': t.port2, 'output-port': n.port2 }, + [t.port2, n.port2] + ), + this.g_a_W.push(_), + n.port1 + ); + } + g_aZD() { + return { inputPort: this.g_atE, outputPort: this.g_a_X, maxNumWorkers: this.g_atG }; + } + g_aZH() { + return [this.g_atE, this.g_a_X]; + } + }; +} +if (('use strict', window.C3_IsSupported)) { + 'undefined' != typeof OffscreenCanvas; + window.c3_runtimeInterface = new g_aYV({ + g_aYX: !1, + g_aZE: 'workermain.js', + g_aZp: ['scripts/c3runtime.js'], + g_aY_: 'scripts/', + g_aZF: [], + g_aZh: 'html5' + }); +} +{ + function e(e, g) { + return e.length === g.length && (e === g || e.toLowerCase() === g.toLowerCase()); + } + const g = class extends g_aYk { + constructor(e) { + super(e, 'audio'), + (this.g_a_Z = null), + (this.g_a__ = null), + (this.g_a_$ = !1), + (this.g_a$a = () => this.g_a$b()), + (this.g_a$c = []), + (this.g_a$d = []), + (this.g_a$e = null), + (this.g_a$f = ''), + (this.g_a$g = -1), + (this.g_a$h = new Map()), + (this.g_azV = 1), + (this.g_azW = !1), + (this.g_azI = 0), + (this.g_aks = 1), + (this.g_aqN = 0), + (this.g_azL = 'HRTF'), + (this.g_azM = 'inverse'), + (this.g_a$i = 600), + (this.g_azR = 1e4), + (this.g_azS = 1), + (this.g_a$j = !1), + (this.g_a$k = !1), + (this.g_a$l = this.g_ars.g_Co('audio/webm; codecs=opus')), + (this.g_a$m = new Map()), + (this.g_a$n = new Set()), + (this.g_a$o = !1), + (this.g_a$p = ''), + (this.g_a$q = null), + (self.C3Audio_OnMicrophoneStream = (e, g) => this.g_a$r(e, g)), + (this.g_a$s = null), + (self.C3Audio_GetOutputStream = () => this.g_a$t()), + (self.C3Audio_DOMInterface = this), + this.g_aYy([ + ['create-audio-context', (e) => this.g_a$u(e)], + ['play', (e) => this.g_a$v(e)], + ['stop', (e) => this.g_a$w(e)], + ['stop-all', () => this.g_a$x()], + ['set-paused', (e) => this.g_a$y(e)], + ['set-volume', (e) => this.g_a$z(e)], + ['fade-volume', (e) => this.g_a$A(e)], + ['set-master-volume', (e) => this.g_a$B(e)], + ['set-muted', (e) => this.g_a$C(e)], + ['set-silent', (e) => this.g_a$D(e)], + ['set-looping', (e) => this.g_a$E(e)], + ['set-playback-rate', (e) => this.g_a$F(e)], + ['seek', (e) => this.g_a$G(e)], + ['preload', (e) => this.g_a$H(e)], + ['unload', (e) => this.g_HE(e)], + ['unload-all', () => this.g_a$I()], + ['set-suspended', (e) => this.g_a$J(e)], + ['add-effect', (e) => this.g_a$K(e)], + ['set-effect-param', (e) => this.g_a$L(e)], + ['remove-effects', (e) => this.g_a$M(e)], + ['tick', (e) => this.g_JX(e)], + ['load-state', (e) => this.g_a$N(e)] + ]); + } + async g_a$u(e) { + e.isiOSCordova && (this.g_a$j = !0), + (this.g_azI = e.timeScaleMode), + (this.g_azL = ['equalpower', 'HRTF', 'soundfield'][e.panningModel]), + (this.g_azM = ['linear', 'inverse', 'exponential'][e.distanceModel]), + (this.g_a$i = e.refDistance), + (this.g_azR = e.maxDistance), + (this.g_azS = e.rolloffFactor); + const g = { latencyHint: e.latencyHint }; + if ('undefined' != typeof AudioContext) this.g_a_Z = new AudioContext(g); + else if ('undefined' != typeof webkitAudioContext) this.g_a_Z = new webkitAudioContext(g); + else throw new Error('Web Audio API not supported'); + (this.g_a__ = this.g_a_Z.createGain()), this.g_a__.connect(this.g_a_Z.destination); + const a = e.listenerPos; + this.g_a_Z.listener.setPosition(a[0], a[1], a[2]), + this.g_a_Z.listener.setOrientation(0, 0, 1, 0, -1, 0), + window.addEventListener('pointerup', this.g_a$a, !0), + window.addEventListener('touchend', this.g_a$a, !0), + window.addEventListener('click', this.g_a$a, !0), + window.addEventListener('keydown', this.g_a$a, !0), + (self.C3_GetAudioContextCurrentTime = () => this.g_a$O()); + try { + await Promise.all(e.preloadList.map((e) => this.g_a$P(e.originalUrl, e.url, e.type, !1))); + } catch (e) { + console.error('[Construct 3] Preloading sounds failed: ', e); + } + return { sampleRate: this.g_a_Z.sampleRate }; + } + g_a$b() { + if (!this.g_a_$) { + const e = this.g_a_Z; + 'suspended' === e.state && e.resume && e.resume(); + const g = e.createBuffer(1, 220, 22050), + a = e.createBufferSource(); + (a.buffer = g), + a.connect(e.destination), + a.start(0), + 'running' === e.state && + ((this.g_a_$ = !0), + window.removeEventListener('pointerup', this.g_a$a, !0), + window.removeEventListener('touchend', this.g_a$a, !0), + window.removeEventListener('click', this.g_a$a, !0), + window.removeEventListener('keydown', this.g_a$a, !0), + (this.g_a$a = null)); + } + } + g_azD() { + return this.g_a_Z; + } + g_a$O() { + return this.g_a_Z.currentTime; + } + g_azF() { + return this.g_a__; + } + g_a$Q(e) { + const g = this.g_a$m.get(e.toLowerCase()); + return g ? g[0].g_a$R() : this.g_azF(); + } + g_a$S(e, g) { + e = e.toLowerCase(); + let _ = this.g_a$m.get(e); + _ || ((_ = []), this.g_a$m.set(e, _)), + g.g_al_(_.length), + g.g_a$T(e), + _.push(g), + this.g_a$U(e); + } + g_a$U(e) { + let g = this.g_azF(); + const _ = this.g_a$m.get(e); + if (_ && _.length) { + g = _[0].g_a$R(); + for (let e = 0, g = _.length; e < g; ++e) { + const a = _[e]; + e + 1 === g ? a.g_a$V(this.g_azF()) : a.g_a$V(_[e + 1].g_a$R()); + } + } + for (const a of this.g_a$W(e)) a.g_a$X(g); + this.g_a$q && this.g_a$p === e && (this.g_a$q.disconnect(), this.g_a$q.connect(g)); + } + g_a$Y() { + return this.g_azV; + } + g_aAz() { + return this.g_azW; + } + g_a$Z() { + return this.g_azI; + } + g_KX() { + return this.g_aks; + } + g_Gk() { + return this.g_aqN; + } + g_a$_() { + return this.g_a$j; + } + g_a$$() { + return this.g_a$l; + } + g_baa() { + this.g_a$k = !0; + } + g_bab() { + return this.g_azL; + } + g_bac() { + return this.g_azM; + } + g_bad() { + return this.g_a$i; + } + g_bae() { + return this.g_azR; + } + g_baf() { + return this.g_azS; + } + g_bag(e, g) { + return g + ? this.g_ars.g_agl(e).then((e) => { + const g = this.g_a_Z.createBuffer(1, e.length, 48e3), + a = g.getChannelData(0); + return a.set(e), g; + }) + : new Promise((g, a) => { + this.g_a_Z.decodeAudioData(e, g, a); + }); + } + g_aZS(e) { + this.g_ars.g_aZS(e); + } + g_aZT(e) { + this.g_ars.g_aZT(e); + } + g_bah(g) { + let a = 0; + for (let _ = 0, e = this.g_a$d.length; _ < e; ++_) { + const t = this.g_a$d[_]; + (this.g_a$d[a] = t), t.g_bai() === g ? t.g_ek() : ++a; + } + this.g_a$d.length = a; + } + g_baj() { + let e = 0; + for (let g = 0, a = this.g_a$c.length; g < a; ++g) { + const a = this.g_a$c[g]; + (this.g_a$c[e] = a), a.g_bak() ? a.g_ek() : ++e; + } + this.g_a$c.length = e; + } + *g_a$W(g) { + if (g) for (const a of this.g_a$d) e(a.g_bal(), g) && (yield a); + else this.g_a$e && !this.g_a$e.g_bam() && (yield this.g_a$e); + } + async g_a$P(g, a, _, t, n) { + for (const e of this.g_a$c) if (e.g_ban() === a) return await e.g_Cd(), e; + if (n) return null; + t && (this.g_a$j || this.g_a$k) && this.g_baj(); + const e = g_bao.g_sf(this, g, a, _, t); + return this.g_a$c.push(e), await e.g_Cd(), e; + } + async g_bap(_, a, t, n, b) { + for (const e of this.g_a$d) if (e.g_ban() === a && (e.g_baq() || b)) return e.g_bar(n), e; + const e = await this.g_a$P(_, a, t, b), + i = e.g_agB(n); + return this.g_a$d.push(i), i; + } + g_bas(e) { + let g = this.g_a$h.get(e); + if (!g) { + let _ = null; + const a = new Promise((e) => (_ = e)); + (g = { g_bat: 0, promise: a, resolve: _ }), this.g_a$h.set(e, g); + } + g.g_bat++; + } + g_bau(e) { + const g = this.g_a$h.get(e); + if (!g) throw new Error('expected pending tag'); + g.g_bat--, 0 === g.g_bat && (g.resolve(), this.g_a$h.delete(e)); + } + g_bav(e) { + e || (e = this.g_a$f); + const g = this.g_a$h.get(e); + return g ? g.promise : Promise.resolve(); + } + g_baw() { + if (0 < this.g_a$n.size) return void this.g_ael(); + for (const e of this.g_a$d) if (e.g_Yd()) return void this.g_ael(); + } + g_KZ() { + for (const e of this.g_a$n) e.g_KZ(); + const e = this.g_a$O(); + for (const g of this.g_a$d) g.g_KZ(e); + const g = this.g_a$d.filter((e) => e.g_Yd()).map((e) => e.g_bax()); + this.g_aYp('state', { + tickCount: this.g_a$g, + audioInstances: g, + analysers: [...this.g_a$n].map((e) => e.g_bay()) + }), + 0 === g.length && 0 === this.g_a$n.size && this.g_adY(); + } + g_baz(e, g, a) { + this.g_aYp('trigger', { type: e, tag: g, aiid: a }); + } + async g_a$v(_) { + const a = _.originalUrl, + t = _.url, + n = _.type, + b = _.isMusic, + e = _.tag, + c = _.isLooping, + g = _.vol, + o = _.pos, + i = _.panning; + let r = _.off; + if (0 < r && !_.trueClock) + if (this.g_a_Z.getOutputTimestamp) { + const e = this.g_a_Z.getOutputTimestamp(); + r = r - e.performanceTime / 1e3 + e.contextTime; + } else r = r - performance.now() / 1e3 + this.g_a_Z.currentTime; + (this.g_a$f = e), this.g_bas(e); + try { + (this.g_a$e = await this.g_bap(a, t, n, e, b)), + i + ? (this.g_a$e.g_baA(!0), + this.g_a$e.g_baB(i.x, i.y, i.angle, i.innerAngle, i.outerAngle, i.outerGain), + i.hasOwnProperty('uid') && this.g_a$e.g_baC(i.uid)) + : this.g_a$e.g_baA(!1), + this.g_a$e.g_MW(c, g, o, r); + } catch (e) { + return void console.error('[Construct 3] Audio: error starting playback: ', e); + } finally { + this.g_bau(e); + } + this.g_ael(); + } + g_a$w(e) { + const g = e.tag; + for (const a of this.g_a$W(g)) a.g_Kg(); + } + g_a$x() { + for (const e of this.g_a$d) e.g_Kg(); + } + g_a$y(e) { + const g = e.tag, + a = e.paused; + for (const _ of this.g_a$W(g)) a ? _.g_baD() : _.g_MV(); + this.g_baw(); + } + g_a$z(e) { + const g = e.tag, + a = e.vol; + for (const _ of this.g_a$W(g)) _.g_aAJ(a); + } + async g_a$A(g) { + const a = g.tag, + _ = g.vol, + t = g.duration, + n = g.stopOnEnd; + await this.g_bav(a); + for (const e of this.g_a$W(a)) e.g_aAK(_, t, n); + this.g_baw(); + } + g_a$B(e) { + this.g_azV = e.vol; + for (const g of this.g_a$d) g.g_baE(); + } + g_a$C(e) { + const g = e.tag, + a = e.isMuted; + for (const _ of this.g_a$W(g)) _.g_aAI(a); + } + g_a$D(e) { + (this.g_azW = e.isSilent), this.g_ars.g_aAQ(this.g_azW); + for (const g of this.g_a$d) g.g_baF(); + } + g_a$E(e) { + const g = e.tag, + a = e.isLooping; + for (const _ of this.g_a$W(g)) _.g_aAH(a); + } + async g_a$F(e) { + const g = e.tag, + a = e.rate; + await this.g_bav(g); + for (const _ of this.g_a$W(g)) _.g_Mj(a); + } + async g_a$G(e) { + const g = e.tag, + a = e.pos; + await this.g_bav(g); + for (const _ of this.g_a$W(g)) _.g_aAP(a); + } + async g_a$H(g) { + const a = g.originalUrl, + _ = g.url, + t = g.type, + n = g.isMusic; + try { + await this.g_bap(a, _, t, '', n); + } catch (e) { + console.error('[Construct 3] Audio: error preloading: ', e); + } + } + async g_HE(g) { + const a = g.url, + _ = g.type, + t = g.isMusic, + n = await this.g_a$P('', a, _, t, !0); + if (n) { + n.g_ek(); + const e = this.g_a$c.indexOf(n); + -1 !== e && this.g_a$c.splice(e, 1); + } + } + g_a$I() { + for (const e of this.g_a$c) e.g_ek(); + this.g_a$c.length = 0; + } + g_a$J(e) { + const g = e.isSuspended; + !g && this.g_a_Z.resume && this.g_a_Z.resume(); + for (const a of this.g_a$d) a.g_asi(g); + g && this.g_a_Z.suspend && this.g_a_Z.suspend(); + } + g_JX(e) { + if ( + ((this.g_aks = e.timeScale), + (this.g_aqN = e.gameTime), + (this.g_a$g = e.tickCount), + 0 !== this.g_azI) + ) + for (const e of this.g_a$d) e.g_baG(); + const g = e.listenerPos; + g && this.g_a_Z.listener.setPosition(g[0], g[1], g[2]); + for (const g of e.instPans) { + const e = g.uid; + for (const a of this.g_a$d) a.g_Ei() === e && a.g_baH(g.x, g.y, g.angle); + } + } + async g_a$K(g) { + const a = g.type, + _ = g.tag, + t = g.params; + let n; + if ('filter' === a) n = new g_baI(this, ...t); + else if ('delay' === a) n = new g_baJ(this, ...t); + else if ('convolution' === a) { + let e = null; + try { + e = await this.g_a$P(g.bufferOriginalUrl, g.bufferUrl, g.bufferType, !1); + } catch (e) { + return void console.log('[Construct 3] Audio: error loading convolution: ', e); + } + (n = new g_baK(this, e.g_baL(), ...t)), + n.g_baM(g.bufferOriginalUrl, g.bufferUrl, g.bufferType); + } else if ('flanger' === a) n = new g_baN(this, ...t); + else if ('phaser' === a) n = new g_baO(this, ...t); + else if ('gain' === a) n = new g_baP(this, ...t); + else if ('tremolo' === a) n = new g_baQ(this, ...t); + else if ('ringmod' === a) n = new g_baR(this, ...t); + else if ('distortion' === a) n = new g_baS(this, ...t); + else if ('compressor' === a) n = new g_baT(this, ...t); + else if ('analyser' === a) n = new g_baU(this, ...t); + else throw new Error('invalid effect type'); + this.g_a$S(_, n), this.g_baV(); + } + g_a$L(_) { + const a = _.tag, + t = _.index, + n = _.param, + b = _.value, + e = _.ramp, + i = _.time, + g = this.g_a$m.get(a); + !g || 0 > t || t >= g.length || (g[t].g_baW(n, b, e, i), this.g_baV()); + } + g_a$M(e) { + const g = e.tag.toLowerCase(), + _ = this.g_a$m.get(g); + if (_ && _.length) { + for (const e of _) e.g_ek(); + this.g_a$m.delete(g), this.g_a$U(g); + } + } + g_baX(e) { + this.g_a$n.add(e), this.g_baw(); + } + g_baY(e) { + this.g_a$n.delete(e); + } + g_baV() { + this.g_a$o || ((this.g_a$o = !0), Promise.resolve().then(() => this.g_baZ())); + } + g_baZ() { + const e = {}; + for (const [g, a] of this.g_a$m) e[g] = a.map((e) => e.g_bax()); + this.g_aYp('fxstate', { fxstate: e }), (this.g_a$o = !1); + } + async g_a$N(e) { + const g = e.saveLoadMode; + if (3 !== g) + for (const e of this.g_a$d) (e.g_bak() && 1 === g) || (!e.g_bak() && 2 === g) || e.g_Kg(); + for (const g of this.g_a$m.values()) for (const e of g) e.g_ek(); + this.g_a$m.clear(), (this.g_aks = e.timeScale), (this.g_aqN = e.gameTime); + const a = e.listenerPos; + this.g_a_Z.listener.setPosition(a[0], a[1], a[2]), + (this.g_azW = e.isSilent), + this.g_ars.g_aAQ(this.g_azW), + (this.g_azV = e.masterVolume); + const _ = []; + for (const g of Object.values(e.effects)) _.push(Promise.all(g.map((e) => this.g_a$K(e)))); + await Promise.all(_), await Promise.all(e.playing.map((e) => this.g_ba_(e, g))), this.g_baw(); + } + async g_ba_(_, a) { + if (3 === a) return; + const t = _.bufferOriginalUrl, + n = _.bufferUrl, + b = _.bufferType, + e = _.isMusic, + c = _.tag, + g = _.isLooping, + o = _.volume, + i = _.playbackTime; + if (e && 1 === a) return; + if (!e && 2 === a) return; + let r = null; + try { + r = await this.g_bap(t, n, b, c, e); + } catch (e) { + return void console.error('[Construct 3] Audio: error loading audio state: ', e); + } + r.g_ba$(_.pan), r.g_MW(g, o, i, 0), _.isPlaying || r.g_baD(), r.g_bba(_); + } + g_a$r(e, g) { + this.g_a$q && this.g_a$q.disconnect(), + (this.g_a$p = g.toLowerCase()), + (this.g_a$q = this.g_a_Z.createMediaStreamSource(e)), + this.g_a$q.connect(this.g_a$Q(this.g_a$p)); + } + g_a$t() { + return ( + this.g_a$s || + ((this.g_a$s = this.g_a_Z.createMediaStreamDestination()), + this.g_a__.connect(this.g_a$s)), + this.g_a$s.stream + ); + } + }; + g_aYV.g_aZQ(g); +} +'use strict', + (self.g_bao = class { + constructor(g, a, _, t, n) { + (this.g_bbb = g), + (this.g_bbc = a), + (this.g_CE = _), + (this.g_kL = t), + (this.g_bbd = n), + (this.g_bbe = ''), + (this.g_bbf = 'not-loaded'), + (this.g_CJ = null); + } + g_ek() { + (this.g_bbf = 'not-loaded'), (this.g_bbb = null), (this.g_CJ = null); + } + static g_sf(g, a, _, t, n) { + const e = 'audio/webm; codecs=opus' === t && !g.g_a$$(); + return ( + n && e && g.g_baa(), + !n || g.g_a$_() || e ? new g_bbg(g, a, _, t, n, e) : new g_bbh(g, a, _, t, n) + ); + } + g_agB(e) { + return 'html5' === this.g_bbe + ? new g_bbi(this.g_bbb, this, e) + : new g_bbj(this.g_bbb, this, e); + } + g_Hw() {} + g_Cd() { + return this.g_CJ || (this.g_CJ = this.g_Hw()), this.g_CJ; + } + g_CK() {} + g_bbk() {} + g_bbl() { + return 'failed' === this.g_bbf; + } + g_azD() { + return this.g_bbb.g_azD(); + } + g_bbm() { + return this.g_bbe; + } + g_bbn() { + return this.g_bbc; + } + g_ban() { + return this.g_CE; + } + g_bbo() { + return this.g_kL; + } + g_bak() { + return this.g_bbd; + } + g_aio() {} + }), + 'use strict', + (self.g_bbh = class extends g_bao { + constructor(g, a, _, t, n) { + super(g, a, _, t, n), + (this.g_bbe = 'html5'), + (this.g_bbp = new Audio()), + (this.g_bbp.crossOrigin = 'anonymous'), + (this.g_bbp.autoplay = !1), + (this.g_bbp.preload = 'auto'), + (this.g_bbq = null), + (this.g_bbr = null), + (this.g_bbs = !1), + this.g_bbp.addEventListener('canplaythrough', () => (this.g_bbs = !0)), + (this.g_bbt = this.g_azD().createGain()), + (this.g_bbu = null), + this.g_bbp.addEventListener('canplay', () => { + this.g_bbq && + ((this.g_bbf = 'loaded'), this.g_bbq(), (this.g_bbq = null), (this.g_bbr = null)), + this.g_bbu || + !this.g_bbp || + ((this.g_bbu = this.g_azD().createMediaElementSource(this.g_bbp)), + this.g_bbu.connect(this.g_bbt)); + }), + (this.onended = null), + this.g_bbp.addEventListener('ended', () => { + this.onended && this.onended(); + }), + this.g_bbp.addEventListener('error', (e) => this.g_bbv(e)); + } + g_ek() { + this.g_bbb.g_bah(this), + this.g_bbt.disconnect(), + (this.g_bbt = null), + this.g_bbu.disconnect(), + (this.g_bbu = null), + this.g_bbp && !this.g_bbp.paused && this.g_bbp.pause(), + (this.onended = null), + (this.g_bbp = null), + super.g_ek(); + } + g_Hw() { + return ( + (this.g_bbf = 'loading'), + new Promise((e, g) => { + (this.g_bbq = e), (this.g_bbr = g), (this.g_bbp.src = this.g_CE); + }) + ); + } + g_bbv(e) { + console.error(`[Construct 3] Audio '${this.g_CE}' error: `, e), + this.g_bbr && + ((this.g_bbf = 'failed'), this.g_bbr(e), (this.g_bbq = null), (this.g_bbr = null)); + } + g_CK() { + const e = 4 <= this.g_bbp.readyState; + return e && (this.g_bbs = !0), e || this.g_bbs; + } + g_bbk() { + return this.g_CK(); + } + g_bbw() { + return this.g_bbp; + } + g_bbx() { + return this.g_bbt; + } + g_aio() { + return this.g_bbp.duration; + } + }), + 'use strict', + (self.g_bbg = class extends g_bao { + constructor(g, a, _, t, n, e) { + super(g, a, _, t, n), + (this.g_bbe = 'webaudio'), + (this.g_bby = null), + (this.g_bbz = null), + (this.g_bbA = !!e); + } + g_ek() { + this.g_bbb.g_bah(this), (this.g_bby = null), (this.g_bbz = null), super.g_ek(); + } + async g_bbB() { + if (this.g_bby) return this.g_bby; + const e = this.g_bbb.g_aYz(); + if ('cordova' === e.g_asZ() && e.g_f_(this.g_CE)) this.g_bby = await e.g_BT(this.g_CE); + else { + const e = await fetch(this.g_CE); + if (!e.ok) throw new Error(`error fetching audio data: ${e.status} ${e.statusText}`); + this.g_bby = await e.arrayBuffer(); + } + } + async g_bbC() { + return this.g_bbz + ? this.g_bbz + : void ((this.g_bbz = await this.g_bbb.g_bag(this.g_bby, this.g_bbA)), (this.g_bby = null)); + } + async g_Hw() { + try { + (this.g_bbf = 'loading'), await this.g_bbB(), await this.g_bbC(), (this.g_bbf = 'loaded'); + } catch (e) { + (this.g_bbf = 'failed'), + console.error(`[Construct 3] Failed to load audio '${this.g_CE}': `, e); + } + } + g_CK() { + return !!(this.g_bby || this.g_bbz); + } + g_bbk() { + return !!this.g_bbz; + } + g_baL() { + return this.g_bbz; + } + g_aio() { + return this.g_bbz ? this.g_bbz.duration : 0; + } + }), + 'use strict'; +{ + function _(g) { + return g * e; + } + const e = 180 / Math.PI; + let g = 0; + self.g_bbD = class { + constructor(_, a, t) { + (this.g_bbb = _), + (this.g_xD = a), + (this.g_bbE = t), + (this.g_bbF = g++), + (this.g_bbG = this.g_azD().createGain()), + this.g_bbG.connect(this.g_azF()), + (this.g_bbH = null), + (this.g_bbI = !1), + (this.g_UO = !0), + (this.g_aRp = !1), + (this.g_bbJ = !1), + (this.g_aad = !1), + (this.g_bbK = 1), + (this.g_bbL = !1), + (this.g_Lz = 1); + const n = this.g_bbb.g_a$Z(); + (this.g_bbM = (1 === n && !this.g_bak()) || 2 === n), + (this.g_bbN = -1), + (this.g_bbO = -1), + (this.g_bbP = !1); + } + g_ek() { + (this.g_bbb = null), + (this.g_xD = null), + this.g_bbH && (this.g_bbH.disconnect(), (this.g_bbH = null)), + this.g_bbG.disconnect(), + (this.g_bbG = null); + } + g_azD() { + return this.g_bbb.g_azD(); + } + g_azF() { + return this.g_bbb.g_a$Q(this.g_bbE); + } + g_a$Y() { + return this.g_bbb.g_a$Y(); + } + g_aRq() { + return this.g_bbM ? this.g_bbb.g_Gk() : performance.now() / 1e3; + } + g_bbn() { + return this.g_xD.g_bbn(); + } + g_ban() { + return this.g_xD.g_ban(); + } + g_bbo() { + return this.g_xD.g_bbo(); + } + g_bai() { + return this.g_xD; + } + g_bak() { + return this.g_xD.g_bak(); + } + g_bar(e) { + this.g_bbE = e; + } + g_bal() { + return this.g_bbE; + } + g_bbQ() { + return this.g_bbF; + } + g_bam() {} + g_baq() {} + g_Mm() { + return !this.g_UO && !this.g_aRp && !this.g_bam(); + } + g_Yd() { + return !this.g_UO && !this.g_bam(); + } + g_bbR() {} + g_aio(e) { + let g = this.g_xD.g_aio(); + return e && (g /= this.g_Lz || 0.001), g; + } + g_MW() {} + g_Kg() {} + g_baD() {} + g_aRr() { + return this.g_aRp; + } + g_MV() {} + g_aAJ(e) { + (this.g_bbK = e), + this.g_bbG.gain.cancelScheduledValues(0), + (this.g_bbO = -1), + (this.g_bbG.gain.value = this.g_bbS()); + } + g_aAK(g, _, t) { + if (!this.g_bbT()) { + g *= this.g_a$Y(); + const a = this.g_bbG.gain; + a.cancelScheduledValues(0); + const n = this.g_bbb.g_a$O(), + e = n + _; + a.setValueAtTime(a.value, n), + a.linearRampToValueAtTime(g, e), + (this.g_bbK = g), + (this.g_bbO = e), + (this.g_bbP = t); + } + } + g_baE() { + this.g_aAJ(this.g_bbK); + } + g_KZ(e) { + -1 !== this.g_bbO && + e >= this.g_bbO && + ((this.g_bbO = -1), + this.g_bbP && this.g_Kg(), + this.g_bbb.g_baz('fade-ended', this.g_bbE, this.g_bbF)); + } + g_bbS() { + const e = this.g_bbK * this.g_a$Y(); + return isFinite(e) ? e : 0; + } + g_aAI(e) { + (e = !!e), this.g_bbL === e || ((this.g_bbL = e), this.g_baF()); + } + g_bbT() { + return this.g_bbL; + } + g_aAz() { + return this.g_bbb.g_aAz(); + } + g_baF() {} + g_aAH() {} + g_ZM() { + return this.g_aad; + } + g_Mj(e) { + this.g_Lz === e || ((this.g_Lz = e), this.g_baG()); + } + g_baG() {} + g_Mk() { + return this.g_Lz; + } + g_aAP() {} + g_asi() {} + g_baA(e) { + (e = !!e), + this.g_bbI === e || + ((this.g_bbI = e), + this.g_bbI + ? (!this.g_bbH && + ((this.g_bbH = this.g_azD().createPanner()), + (this.g_bbH.panningModel = this.g_bbb.g_bab()), + (this.g_bbH.distanceModel = this.g_bbb.g_bac()), + (this.g_bbH.refDistance = this.g_bbb.g_bad()), + (this.g_bbH.maxDistance = this.g_bbb.g_bae()), + (this.g_bbH.rolloffFactor = this.g_bbb.g_baf())), + this.g_bbG.disconnect(), + this.g_bbG.connect(this.g_bbH), + this.g_bbH.connect(this.g_azF())) + : (this.g_bbH.disconnect(), this.g_bbG.disconnect(), this.g_bbG.connect(this.g_azF()))); + } + g_baB(a, t, n, b, e, i) { + this.g_bbI && + (this.g_baH(a, t, n), + (this.g_bbH.coneInnerAngle = _(b)), + (this.g_bbH.coneOuterAngle = _(e)), + (this.g_bbH.coneOuterGain = i)); + } + g_baH(e, g, a) { + this.g_bbI && + (this.g_bbH.setPosition(e, g, 0), this.g_bbH.setOrientation(Math.cos(a), Math.sin(a), 0)); + } + g_baC(e) { + this.g_bbN = e; + } + g_Ei() { + return this.g_bbN; + } + g_bbU() {} + g_a$X(e) { + const g = this.g_bbH || this.g_bbG; + g.disconnect(), g.connect(e); + } + g_bax() { + return { + aiid: this.g_bbQ(), + tag: this.g_bbE, + duration: this.g_aio(), + volume: this.g_bbK, + isPlaying: this.g_Mm(), + playbackTime: this.g_bbR(), + playbackRate: this.g_Mk(), + uid: this.g_bbN, + bufferOriginalUrl: this.g_bbn(), + bufferUrl: '', + bufferType: this.g_bbo(), + isMusic: this.g_bak(), + isLooping: this.g_ZM(), + isMuted: this.g_bbT(), + resumePosition: this.g_bbU(), + pan: this.g_bbV() + }; + } + g_bba(e) { + this.g_Mj(e.playbackRate), this.g_aAI(e.isMuted); + } + g_bbV() { + if (!this.g_bbH) return null; + const e = this.g_bbH; + return { + pos: [e.positionX.value, e.positionY.value, e.positionZ.value], + orient: [e.orientationX.value, e.orientationY.value, e.orientationZ.value], + cia: e.coneInnerAngle, + coa: e.coneOuterAngle, + cog: e.coneOuterGain, + uid: this.g_bbN + }; + } + g_ba$(e) { + if (!e) return void this.g_baA(!1); + this.g_baA(!0); + const g = this.g_bbH; + g.setPosition(...g.pos), + g.setOrientation(...g.orient), + (g.coneInnerAngle = g.cia), + (g.coneOuterAngle = g.coa), + (g.coneOuterGain = g.cog), + (this.g_bbN = g.uid); + } + }; +} +'use strict', + (self.g_bbi = class extends g_bbD { + constructor(e, g, a) { + super(e, g, a), + this.g_xD.g_bbx().connect(this.g_bbG), + (this.g_xD.onended = () => this.g_bbW()); + } + g_ek() { + this.g_Kg(), this.g_xD.g_bbx().disconnect(), super.g_ek(); + } + g_bbw() { + return this.g_xD.g_bbw(); + } + g_bbW() { + (this.g_UO = !0), (this.g_bbN = -1), this.g_bbb.g_baz('ended', this.g_bbE, this.g_bbF); + } + g_bam() { + return this.g_bbw().ended; + } + g_baq() { + return !!this.g_UO || this.g_bam(); + } + g_bbR(e) { + let g = this.g_bbw().currentTime; + return e && (g *= this.g_Lz), this.g_aad || (g = Math.min(g, this.g_aio())), g; + } + g_MW(e, g, _) { + const a = this.g_bbw(); + if ( + (1 !== a.playbackRate && (a.playbackRate = 1), + a.loop !== e && (a.loop = e), + this.g_aAJ(g), + a.muted && (a.muted = !1), + a.currentTime !== _) + ) + try { + a.currentTime = _; + } catch (e) { + console.warn( + `[Construct 3] Exception seeking audio '${this.g_xD.g_ban()}' to position '${_}': `, + e + ); + } + this.g_bbb.g_aZS(a), (this.g_UO = !1), (this.g_aRp = !1), (this.g_aad = e), (this.g_Lz = 1); + } + g_Kg() { + const e = this.g_bbw(); + e.paused || e.pause(), + this.g_bbb.g_aZT(e), + (this.g_UO = !0), + (this.g_aRp = !1), + (this.g_bbN = -1); + } + g_baD() { + if (!(this.g_aRp || this.g_UO || this.g_bam())) { + const e = this.g_bbw(); + e.paused || e.pause(), this.g_bbb.g_aZT(e), (this.g_aRp = !0); + } + } + g_MV() { + !this.g_aRp || + this.g_UO || + this.g_bam() || + (this.g_bbb.g_aZS(this.g_bbw()), (this.g_aRp = !1)); + } + g_baF() { + this.g_bbw().muted = this.g_bbL || this.g_aAz(); + } + g_aAH(e) { + (e = !!e), this.g_aad === e || ((this.g_aad = e), (this.g_bbw().loop = e)); + } + g_baG() { + let e = this.g_Lz; + this.g_bbM && (e *= this.g_bbb.g_KX()); + try { + this.g_bbw().playbackRate = e; + } catch (g) { + console.warn(`[Construct 3] Unable to set playback rate '${e}':`, g); + } + } + g_aAP(e) { + if (!(this.g_UO || this.g_bam())) + try { + this.g_bbw().currentTime = e; + } catch (g) { + console.warn(`[Construct 3] Error seeking audio to '${e}': `, g); + } + } + g_bbU() { + return this.g_bbR(); + } + g_asi(e) { + e + ? this.g_Mm() + ? (this.g_bbw().pause(), (this.g_bbJ = !0)) + : (this.g_bbJ = !1) + : this.g_bbJ && (this.g_bbb.g_aZS(this.g_bbw()), (this.g_bbJ = !1)); + } + }), + 'use strict', + (self.g_bbj = class extends g_bbD { + constructor(e, g, a) { + super(e, g, a), + (this.g_bbX = null), + (this.g_bbY = (e) => this.g_bbW(e)), + (this.g_bbZ = !0), + (this.g_bb_ = null), + (this.g_aqI = 0), + (this.g_bb$ = 0), + (this.g_bca = 1); + } + g_ek() { + this.g_Kg(), this.g_bcb(), (this.g_bbY = null), super.g_ek(); + } + g_bcb() { + this.g_bbX && this.g_bbX.disconnect(), (this.g_bbX = null), (this.g_bb_ = null); + } + g_bbW(e) { + this.g_aRp || + this.g_bbJ || + e.target !== this.g_bb_ || + ((this.g_bbZ = !0), + (this.g_UO = !0), + (this.g_bbN = -1), + this.g_bcb(), + this.g_bbb.g_baz('ended', this.g_bbE, this.g_bbF)); + } + g_bam() { + return !(!this.g_UO && this.g_bbX && this.g_bbX.loop) && !this.g_aRp && this.g_bbZ; + } + g_baq() { + return !this.g_bbX || this.g_UO || this.g_bam(); + } + g_bbR(e) { + let g = 0; + return ( + (g = this.g_aRp ? this.g_bb$ : this.g_aRq() - this.g_aqI), + e && (g *= this.g_Lz), + this.g_aad || (g = Math.min(g, this.g_aio())), + g + ); + } + g_MW(e, g, a, _) { + (this.g_bca = 1), + this.g_aAJ(g), + this.g_bcb(), + (this.g_bbX = this.g_azD().createBufferSource()), + (this.g_bbX.buffer = this.g_xD.g_baL()), + this.g_bbX.connect(this.g_bbG), + (this.g_bb_ = this.g_bbX), + (this.g_bbX.onended = this.g_bbY), + (this.g_bbX.loop = e), + this.g_bbX.start(_, a), + (this.g_bbZ = !1), + (this.g_UO = !1), + (this.g_aRp = !1), + (this.g_aad = e), + (this.g_Lz = 1), + (this.g_aqI = this.g_aRq() - a); + } + g_Kg() { + this.g_bbX && this.g_bbX.stop(0), (this.g_UO = !0), (this.g_aRp = !1), (this.g_bbN = -1); + } + g_baD() { + this.g_aRp || + this.g_UO || + this.g_bam() || + ((this.g_bb$ = this.g_bbR(!0)), + this.g_aad && (this.g_bb$ %= this.g_aio()), + (this.g_aRp = !0), + this.g_bbX.stop(0)); + } + g_MV() { + !this.g_aRp || + this.g_UO || + this.g_bam() || + (this.g_bcb(), + (this.g_bbX = this.g_azD().createBufferSource()), + (this.g_bbX.buffer = this.g_xD.g_baL()), + this.g_bbX.connect(this.g_bbG), + (this.g_bb_ = this.g_bbX), + (this.g_bbX.onended = this.g_bbY), + (this.g_bbX.loop = this.g_aad), + this.g_baE(), + this.g_baG(), + (this.g_aqI = this.g_aRq() - this.g_bb$ / (this.g_Lz || 0.001)), + this.g_bbX.start(0, this.g_bb$), + (this.g_aRp = !1)); + } + g_bbS() { + return super.g_bbS() * this.g_bca; + } + g_baF() { + (this.g_bca = this.g_bbL || this.g_aAz() ? 0 : 1), this.g_baE(); + } + g_aAH(e) { + (e = !!e), this.g_aad === e || ((this.g_aad = e), this.g_bbX && (this.g_bbX.loop = e)); + } + g_baG() { + let e = this.g_Lz; + this.g_bbM && (e *= this.g_bbb.g_KX()), this.g_bbX && (this.g_bbX.playbackRate.value = e); + } + g_aAP(e) { + this.g_UO || + this.g_bam() || + (this.g_aRp ? (this.g_bb$ = e) : (this.g_baD(), (this.g_bb$ = e), this.g_MV())); + } + g_bbU() { + return this.g_bb$; + } + g_asi(e) { + e + ? this.g_Mm() + ? ((this.g_bbJ = !0), + (this.g_bb$ = this.g_bbR(!0)), + this.g_aad && (this.g_bb$ %= this.g_aio()), + this.g_bbX.stop(0)) + : (this.g_bbJ = !1) + : this.g_bbJ && + (this.g_bcb(), + (this.g_bbX = this.g_azD().createBufferSource()), + (this.g_bbX.buffer = this.g_xD.g_baL()), + this.g_bbX.connect(this.g_bbG), + (this.g_bb_ = this.g_bbX), + (this.g_bbX.onended = this.g_bbY), + (this.g_bbX.loop = this.g_aad), + this.g_baE(), + this.g_baG(), + (this.g_aqI = this.g_aRq() - this.g_bb$ / (this.g_Lz || 0.001)), + this.g_bbX.start(0, this.g_bb$), + (this.g_bbJ = !1)); + } + g_bba(e) { + super.g_bba(e), (this.g_bb$ = e.resumePosition); + } + }), + 'use strict'; +{ + function g(e) { + return Math.pow(10, e / 20); + } + function _(e) { + return Math.max(Math.min(g(e), 1), 0); + } + function t(e) { + return 20 * (Math.log(e) / 2.302585092994046); + } + function n(e) { + return t(Math.max(Math.min(e, 1), 0)); + } + function i(e, g) { + return 1 - Math.exp(-g * e); + } + class e { + constructor(e) { + (this.g_bbb = e), + (this.g_a_Z = e.g_azD()), + (this.g_Dr = -1), + (this.g_bbE = ''), + (this.g_kL = ''), + (this.g_bcc = null); + } + g_ek() { + this.g_a_Z = null; + } + g_al_(e) { + this.g_Dr = e; + } + g_EM() { + return this.g_Dr; + } + g_a$T(e) { + this.g_bbE = e; + } + g_bal() { + return this.g_bbE; + } + g_bcd() { + return this.g_a_Z.createGain(); + } + g_a$R() {} + g_a$V() {} + g_bce(g, a, _, t) { + if ((g.cancelScheduledValues(0), 0 === t)) return void (g.value = a); + const n = this.g_a_Z.currentTime; + (t += n), + 0 === _ + ? g.setValueAtTime(a, t) + : 1 === _ + ? (g.setValueAtTime(g.value, n), g.linearRampToValueAtTime(a, t)) + : 2 === _ + ? (g.setValueAtTime(g.value, n), g.exponentialRampToValueAtTime(a, t)) + : void 0; + } + g_bax() { + return { type: this.g_kL, tag: this.g_bbE, params: this.g_bcc }; + } + } + (self.g_baI = class extends e { + constructor(_, a, t, n, b, e, i) { + super(_), + (this.g_kL = 'filter'), + (this.g_bcc = [a, t, n, b, e, i]), + (this.g_bcf = this.g_bcd()), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = i), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - i), + (this.g_bci = this.g_a_Z.createBiquadFilter()), + (this.g_bci.type = a), + (this.g_bci.frequency.value = t), + (this.g_bci.detune.value = n), + (this.g_bci.Q.value = b), + (this.g_bci.gain.vlaue = e), + this.g_bcf.connect(this.g_bci), + this.g_bcf.connect(this.g_bch), + this.g_bci.connect(this.g_bcg); + } + g_ek() { + this.g_bcf.disconnect(), + this.g_bci.disconnect(), + this.g_bcg.disconnect(), + this.g_bch.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[5] = g), + this.g_bce(this.g_bcg.gain, g, a, _), + this.g_bce(this.g_bch.gain, 1 - g, a, _)) + : 1 === e + ? ((this.g_bcc[1] = g), this.g_bce(this.g_bci.frequency, g, a, _)) + : 2 === e + ? ((this.g_bcc[2] = g), this.g_bce(this.g_bci.detune, g, a, _)) + : 3 === e + ? ((this.g_bcc[3] = g), this.g_bce(this.g_bci.Q, g, a, _)) + : 4 === e + ? ((this.g_bcc[4] = g), this.g_bce(this.g_bci.gain, g, a, _)) + : void 0; + } + }), + (self.g_baJ = class extends e { + constructor(e, g, a, _) { + super(e), + (this.g_kL = 'delay'), + (this.g_bcc = [g, a, _]), + (this.g_bcf = this.g_bcd()), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = _), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - _), + (this.g_bcj = this.g_bcd()), + (this.g_bck = this.g_a_Z.createDelay(g)), + (this.g_bck.delayTime.value = g), + (this.g_bcl = this.g_bcd()), + (this.g_bcl.gain.value = a), + this.g_bcf.connect(this.g_bcj), + this.g_bcf.connect(this.g_bch), + this.g_bcj.connect(this.g_bcg), + this.g_bcj.connect(this.g_bck), + this.g_bck.connect(this.g_bcl), + this.g_bcl.connect(this.g_bcj); + } + g_ek() { + this.g_bcf.disconnect(), + this.g_bcg.disconnect(), + this.g_bch.disconnect(), + this.g_bcj.disconnect(), + this.g_bck.disconnect(), + this.g_bcl.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(g, a, t, n) { + 0 === g + ? ((a = Math.max(Math.min(a / 100, 1), 0)), + (this.g_bcc[2] = a), + this.g_bce(this.g_bcg.gain, a, t, n), + this.g_bce(this.g_bch.gain, 1 - a, t, n)) + : 4 === g + ? ((this.g_bcc[1] = _(a)), this.g_bce(this.g_bcl.gain, _(a), t, n)) + : 5 === g + ? ((this.g_bcc[0] = a), this.g_bce(this.g_bck.delayTime, a, t, n)) + : void 0; + } + }), + (self.g_baK = class extends e { + constructor(e, g, a, _) { + super(e), + (this.g_kL = 'convolution'), + (this.g_bcc = [a, _]), + (this.g_bcm = ''), + (this.g_bcn = ''), + (this.g_bco = ''), + (this.g_bcf = this.g_bcd()), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = _), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - _), + (this.g_bcp = this.g_a_Z.createConvolver()), + (this.g_bcp.normalize = a), + (this.g_bcp.buffer = g), + this.g_bcf.connect(this.g_bcp), + this.g_bcf.connect(this.g_bch), + this.g_bcp.connect(this.g_bcg); + } + g_ek() { + this.g_bcf.disconnect(), + this.g_bcp.disconnect(), + this.g_bcg.disconnect(), + this.g_bch.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[1] = g), + this.g_bce(this.g_bcg.gain, g, a, _), + this.g_bce(this.g_bch.gain, 1 - g, a, _)) + : void 0; + } + g_baM(e, g, a) { + (this.g_bcm = e), (this.g_bcn = g), (this.g_bco = a); + } + g_bax() { + const e = super.g_bax(); + return ( + (e.bufferOriginalUrl = this.g_bcm), (e.bufferUrl = ''), (e.bufferType = this.g_bco), e + ); + } + }), + (self.g_baN = class extends e { + constructor(g, a, _, t, n, e) { + super(g), + (this.g_kL = 'flanger'), + (this.g_bcc = [a, _, t, n, e]), + (this.g_bcf = this.g_bcd()), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - e / 2), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = e / 2), + (this.g_bcq = this.g_bcd()), + (this.g_bcq.gain.value = n), + (this.g_bck = this.g_a_Z.createDelay(a + _)), + (this.g_bck.delayTime.value = a), + (this.g_bcr = this.g_a_Z.createOscillator()), + (this.g_bcr.frequency.value = t), + (this.g_bcs = this.g_bcd()), + (this.g_bcs.gain.value = _), + this.g_bcf.connect(this.g_bck), + this.g_bcf.connect(this.g_bch), + this.g_bck.connect(this.g_bcg), + this.g_bck.connect(this.g_bcq), + this.g_bcq.connect(this.g_bck), + this.g_bcr.connect(this.g_bcs), + this.g_bcs.connect(this.g_bck.delayTime), + this.g_bcr.start(0); + } + g_ek() { + this.g_bcr.stop(0), + this.g_bcf.disconnect(), + this.g_bck.disconnect(), + this.g_bcr.disconnect(), + this.g_bcs.disconnect(), + this.g_bch.disconnect(), + this.g_bcg.disconnect(), + this.g_bcq.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[4] = g), + this.g_bce(this.g_bcg.gain, g / 2, a, _), + this.g_bce(this.g_bch.gain, 1 - g / 2, a, _)) + : 6 === e + ? ((this.g_bcc[1] = g / 1e3), this.g_bce(this.g_bcs.gain, g / 1e3, a, _)) + : 7 === e + ? ((this.g_bcc[2] = g), this.g_bce(this.g_bcr.frequency, g, a, _)) + : 8 === e + ? ((this.g_bcc[3] = g / 100), this.g_bce(this.g_bcq.gain, g / 100, a, _)) + : void 0; + } + }), + (self.g_baO = class extends e { + constructor(_, a, t, n, b, e, i) { + super(_), + (this.g_kL = 'phaser'), + (this.g_bcc = [a, t, n, b, e, i]), + (this.g_bcf = this.g_bcd()), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - i / 2), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = i / 2), + (this.g_bci = this.g_a_Z.createBiquadFilter()), + (this.g_bci.type = 'allpass'), + (this.g_bci.frequency.value = a), + (this.g_bci.detune.value = t), + (this.g_bci.Q.value = n), + (this.g_bcr = this.g_a_Z.createOscillator()), + (this.g_bcr.frequency.value = e), + (this.g_bcs = this.g_bcd()), + (this.g_bcs.gain.value = b), + this.g_bcf.connect(this.g_bci), + this.g_bcf.connect(this.g_bch), + this.g_bci.connect(this.g_bcg), + this.g_bcr.connect(this.g_bcs), + this.g_bcs.connect(this.g_bci.frequency), + this.g_bcr.start(0); + } + g_ek() { + this.g_bcr.stop(0), + this.g_bcf.disconnect(), + this.g_bci.disconnect(), + this.g_bcr.disconnect(), + this.g_bcs.disconnect(), + this.g_bch.disconnect(), + this.g_bcg.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[5] = g), + this.g_bce(this.g_bcg.gain, g / 2, a, _), + this.g_bce(this.g_bch.gain, 1 - g / 2, a, _)) + : 1 === e + ? ((this.g_bcc[0] = g), this.g_bce(this.g_bci.frequency, g, a, _)) + : 2 === e + ? ((this.g_bcc[1] = g), this.g_bce(this.g_bci.detune, g, a, _)) + : 3 === e + ? ((this.g_bcc[2] = g), this.g_bce(this.g_bci.Q, g, a, _)) + : 6 === e + ? ((this.g_bcc[3] = g), this.g_bce(this.g_bcs.gain, g, a, _)) + : 7 === e + ? ((this.g_bcc[4] = g), this.g_bce(this.g_bcr.frequency, g, a, _)) + : void 0; + } + }), + (self.g_baP = class extends e { + constructor(e, g) { + super(e), + (this.g_kL = 'gain'), + (this.g_bcc = [g]), + (this.g_bct = this.g_bcd()), + (this.g_bct.gain.value = g); + } + g_ek() { + this.g_bct.disconnect(), super.g_ek(); + } + g_a$V(e) { + this.g_bct.disconnect(), this.g_bct.connect(e); + } + g_a$R() { + return this.g_bct; + } + g_baW(g, a, t, n) { + 4 === g ? ((this.g_bcc[0] = _(a)), this.g_bce(this.g_bct.gain, _(a), t, n)) : void 0; + } + }), + (self.g_baQ = class extends e { + constructor(e, g, a) { + super(e), + (this.g_kL = 'tremolo'), + (this.g_bcc = [g, a]), + (this.g_bct = this.g_bcd()), + (this.g_bct.gain.value = 1 - a / 2), + (this.g_bcr = this.g_a_Z.createOscillator()), + (this.g_bcr.frequency.value = g), + (this.g_bcs = this.g_bcd()), + (this.g_bcs.gain.value = a / 2), + this.g_bcr.connect(this.g_bcs), + this.g_bcs.connect(this.g_bct.gain), + this.g_bcr.start(0); + } + g_ek() { + this.g_bcr.stop(0), + this.g_bcr.disconnect(), + this.g_bcs.disconnect(), + this.g_bct.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bct.disconnect(), this.g_bct.connect(e); + } + g_a$R() { + return this.g_bct; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[1] = g), + this.g_bce(this.g_bct.gain.value, 1 - g / 2, a, _), + this.g_bce(this.g_bcs.gain.value, g / 2, a, _)) + : 7 === e + ? ((this.g_bcc[0] = g), this.g_bce(this.g_bcr.frequency, g, a, _)) + : void 0; + } + }), + (self.g_baR = class extends e { + constructor(e, g, a) { + super(e), + (this.g_kL = 'ringmod'), + (this.g_bcc = [g, a]), + (this.g_bcf = this.g_bcd()), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = a), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - a), + (this.g_bcu = this.g_bcd()), + (this.g_bcu.gain.value = 0), + (this.g_bcr = this.g_a_Z.createOscillator()), + (this.g_bcr.frequency.value = g), + this.g_bcr.connect(this.g_bcu.gain), + this.g_bcr.start(0), + this.g_bcf.connect(this.g_bcu), + this.g_bcf.connect(this.g_bch), + this.g_bcu.connect(this.g_bcg); + } + g_ek() { + this.g_bcr.stop(0), + this.g_bcr.disconnect(), + this.g_bcu.disconnect(), + this.g_bcf.disconnect(), + this.g_bcg.disconnect(), + this.g_bch.disconnect(), + super.g_ek(); + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[1] = g), + this.g_bce(this.g_bcg.gain, g, a, _), + this.g_bce(this.g_bch.gain, 1 - g, a, _)) + : 7 === e + ? ((this.g_bcc[0] = g), this.g_bce(this.g_bcr.frequency, g, a, _)) + : void 0; + } + }), + (self.g_baS = class extends e { + constructor(g, a, _, t, n, e) { + super(g), + (this.g_kL = 'distortion'), + (this.g_bcc = [a, _, t, n, e]), + (this.g_bcf = this.g_bcd()), + (this.g_bcv = this.g_bcd()), + (this.g_bcw = this.g_bcd()), + this.g_bcx(t, n), + (this.g_bcg = this.g_bcd()), + (this.g_bcg.gain.value = e), + (this.g_bch = this.g_bcd()), + (this.g_bch.gain.value = 1 - e), + (this.g_bcy = this.g_a_Z.createWaveShaper()), + (this.g_bcz = new Float32Array(65536)), + this.g_bcA(a, _), + (this.g_bcy.curve = this.g_bcz), + this.g_bcf.connect(this.g_bcv), + this.g_bcf.connect(this.g_bch), + this.g_bcv.connect(this.g_bcy), + this.g_bcy.connect(this.g_bcw), + this.g_bcw.connect(this.g_bcg); + } + g_ek() { + this.g_bcf.disconnect(), + this.g_bcv.disconnect(), + this.g_bcy.disconnect(), + this.g_bcw.disconnect(), + this.g_bcg.disconnect(), + this.g_bch.disconnect(), + super.g_ek(); + } + g_bcx(e, g) { + 0.01 > e && (e = 0.01), + (this.g_bcv.gain.value = e), + (this.g_bcw.gain.value = Math.pow(1 / e, 0.6) * g); + } + g_bcA(e, g) { + for (let a, _ = 0; 32768 > _; ++_) + (a = _ / 32768), + (a = this.g_bcB(a, e, g)), + (this.g_bcz[32768 + _] = a), + (this.g_bcz[32768 - _ - 1] = -a); + } + g_bcB(e, a, _) { + const t = 1.05 * _ * a - a, + n = 0 > e ? -1 : 1, + b = 0 > e ? -e : e; + let g = b < a ? b : a + t * i(b - a, 1 / t); + return (g *= n), g; + } + g_a$V(e) { + this.g_bcg.disconnect(), + this.g_bcg.connect(e), + this.g_bch.disconnect(), + this.g_bch.connect(e); + } + g_a$R() { + return this.g_bcf; + } + g_baW(e, g, a, _) { + 0 === e + ? ((g = Math.max(Math.min(g / 100, 1), 0)), + (this.g_bcc[4] = g), + this.g_bce(this.g_bcg.gain, g, a, _), + this.g_bce(this.g_bch.gain, 1 - g, a, _)) + : void 0; + } + }), + (self.g_baT = class extends e { + constructor(g, a, _, t, n, e) { + super(g), + (this.g_kL = 'compressor'), + (this.g_bcc = [a, _, t, n, e]), + (this.g_bct = this.g_a_Z.createDynamicsCompressor()), + (this.g_bct.threshold.value = a), + (this.g_bct.knee.value = _), + (this.g_bct.ratio.value = t), + (this.g_bct.attack.value = n), + (this.g_bct.release.value = e); + } + g_ek() { + this.g_bct.disconnect(), super.g_ek(); + } + g_a$V(e) { + this.g_bct.disconnect(), this.g_bct.connect(e); + } + g_a$R() { + return this.g_bct; + } + g_baW() {} + }), + (self.g_baU = class extends e { + constructor(e, g, a) { + super(e), + (this.g_kL = 'analyser'), + (this.g_bcc = [g, a]), + (this.g_bct = this.g_a_Z.createAnalyser()), + (this.g_bct.fftSize = g), + (this.g_bct.smoothingTimeConstant = a), + (this.g_bcC = new Float32Array(this.g_bct.frequencyBinCount)), + (this.g_bcD = new Uint8Array(g)), + (this.g_bcE = 0), + (this.g_bcF = 0), + this.g_bbb.g_baX(this); + } + g_ek() { + this.g_bbb.g_baY(this), this.g_bct.disconnect(), super.g_ek(); + } + g_KZ() { + this.g_bct.getFloatFrequencyData(this.g_bcC), this.g_bct.getByteTimeDomainData(this.g_bcD); + const e = this.g_bct.fftSize; + this.g_bcE = 0; + let g = 0; + for (let a, _ = 0; _ < e; ++_) + (a = (this.g_bcD[_] - 128) / 128), + 0 > a && (a = -a), + this.g_bcE < a && (this.g_bcE = a), + (g += a * a); + (this.g_bcE = n(this.g_bcE)), (this.g_bcF = n(Math.sqrt(g / e))); + } + g_a$V(e) { + this.g_bct.disconnect(), this.g_bct.connect(e); + } + g_a$R() { + return this.g_bct; + } + g_baW() {} + g_bay() { + return { + tag: this.g_bal(), + index: this.g_EM(), + peak: this.g_bcE, + rms: this.g_bcF, + binCount: this.g_bct.frequencyBinCount, + freqBins: this.g_bcC + }; + } + }); +} +{ + const e = class extends g_aYk { + constructor(e) { + super(e, 'mouse'), this.g_aYw('cursor', (e) => this.g_bcG(e)); + } + g_bcG(e) { + document.documentElement.style.cursor = e; + } + }; + g_aYV.g_aZQ(e); +} +{ + const e = class extends g_aYk { + constructor(e) { + super(e, 'touch'), this.g_aYw('request-permission', (e) => this.g_bcH(e)); + } + async g_bcH(e) { + const g = e.type; + let a = !0; + 0 === g ? (a = await this.g_bcI()) : 1 === g && (a = await this.g_bcJ()), + this.g_aYp('permission-result', { type: g, result: a }); + } + async g_bcI() { + if (!self.DeviceOrientationEvent || !self.DeviceOrientationEvent.requestPermission) return !0; + try { + const e = await self.DeviceOrientationEvent.requestPermission(); + return 'granted' === e; + } catch (e) { + return console.warn('[Touch] Failed to request orientation permission: ', e), !1; + } + } + async g_bcJ() { + if (!self.DeviceMotionEvent || !self.DeviceMotionEvent.requestPermission) return !0; + try { + const e = await self.DeviceMotionEvent.requestPermission(); + return 'granted' === e; + } catch (e) { + return console.warn('[Touch] Failed to request motion permission: ', e), !1; + } + } + }; + g_aYV.g_aZQ(e); +} +{ + const e = class extends g_aYk { + constructor(e) { + super(e, 'browser'), + (this.g_aps = ''), + this.g_aYw('get-initial-state', (e) => this.g_bcK(e)), + this.g_aYw('ready-for-sw-messages', () => this.g_bcL()), + this.g_aYw('alert', (e) => this.g_a_C(e)), + this.g_aYw('close', () => this.g_bcM()), + this.g_aYw('set-focus', (e) => this.g_aYK(e)), + this.g_aYw('vibrate', (e) => this.g_bcN(e)), + this.g_aYw('lock-orientation', (e) => this.g_bcO(e)), + this.g_aYw('unlock-orientation', () => this.g_bcP()), + this.g_aYw('navigate', (e) => this.g_bcQ(e)), + this.g_aYw('request-fullscreen', (e) => this.g_bcR(e)), + this.g_aYw('exit-fullscreen', () => this.g_bcS()), + window.addEventListener('online', () => this.g_aLB(!0)), + window.addEventListener('offline', () => this.g_aLB(!1)), + document.addEventListener('backbutton', () => this.g_bcT()), + 'undefined' != typeof Windows && + Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener( + 'backrequested', + (e) => this.g_bcU(e) + ); + } + g_bcK(e) { + return ( + (this.g_aps = e.exportType), + { + location: location.toString(), + isOnline: !!navigator.onLine, + referrer: document.referrer, + title: document.title, + isCookieEnabled: !!navigator.cookieEnabled, + screenWidth: screen.width, + screenHeight: screen.height, + windowOuterWidth: window.outerWidth, + windowOuterHeight: window.outerHeight, + isScirraArcade: 'undefined' != typeof window.is_scirra_arcade + } + ); + } + g_bcL() { + window.C3_RegisterSW && + window.OfflineClientInfo && + window.OfflineClientInfo.SetMessageCallback((e) => this.g_aYp('sw-message', e.data)); + } + g_aLB(e) { + this.g_aYp('online-state', { isOnline: e }); + } + g_bcT() { + this.g_aYp('backbutton'); + } + g_bcU(e) { + (e.handled = !0), this.g_aYp('backbutton'); + } + g_bcV() { + return 'nwjs' === this.g_aps ? nw.Window.get() : null; + } + g_a_C(e) { + alert(e.message); + } + g_bcM() { + navigator.app && navigator.app.exitApp + ? navigator.app.exitApp() + : navigator.device && navigator.device.exitApp + ? navigator.device.exitApp() + : window.close(); + } + g_aYK(e) { + const g = e.isFocus; + if ('nwjs' === this.g_aps) { + const e = this.g_bcV(); + g ? e.focus() : e.blur(); + } else g ? window.focus() : window.blur(); + } + g_bcN(e) { + navigator.vibrate && navigator.vibrate(e.pattern); + } + g_bcO(e) { + const g = e.orientation; + if (screen.orientation && screen.orientation.lock) + screen.orientation + .lock(g) + .catch((e) => console.warn('[Construct 3] Failed to lock orientation: ', e)); + else + try { + let e = !1; + screen.lockOrientation + ? (e = screen.lockOrientation(g)) + : screen.webkitLockOrientation + ? (e = screen.webkitLockOrientation(g)) + : screen.mozLockOrientation + ? (e = screen.mozLockOrientation(g)) + : screen.msLockOrientation && (e = screen.msLockOrientation(g)), + e || console.warn('[Construct 3] Failed to lock orientation'); + } catch (e) { + console.warn('[Construct 3] Failed to lock orientation: ', e); + } + } + g_bcP() { + try { + screen.orientation && screen.orientation.unlock + ? screen.orientation.unlock() + : screen.unlockOrientation + ? screen.unlockOrientation() + : screen.webkitUnlockOrientation + ? screen.webkitUnlockOrientation() + : screen.mozUnlockOrientation + ? screen.mozUnlockOrientation() + : screen.msUnlockOrientation && screen.msUnlockOrientation(); + } catch (e) {} + } + g_bcQ(e) { + const g = e.type; + if ('back' === g) + navigator.app && navigator.app.backHistory ? navigator.app.backHistory() : window.back(); + else if ('forward' === g) window.forward(); + else if ('home' === g) window.g_bcW(); + else if ('reload' === g) location.reload(); + else if ('url' === g) { + const g = e.url, + a = e.target, + _ = e.exportType; + 'windows-uwp' === _ && 'undefined' != typeof Windows + ? Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(g)) + : 'cordova' === _ + ? window.open(g, '_system') + : 'preview' === _ + ? window.open(g, '_blank') + : !this.g_aLA && + (2 === a + ? (window.top.location = g) + : 1 === a + ? (window.parent.location = g) + : (window.location = g)); + } else if ('new-window' === g) { + const g = e.url, + a = e.tag, + _ = e.exportType; + 'windows-uwp' === _ && 'undefined' != typeof Windows + ? Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(g)) + : 'cordova' === _ + ? window.open(g, '_system') + : window.open(g, a); + } + } + g_bcR(e) { + const g = { navigationUI: 'auto' }, + a = e.navUI; + 1 === a ? (g.navigationUI = 'hide') : 2 === a && (g.navigationUI = 'show'); + const _ = document.documentElement; + _.requestFullscreen + ? _.requestFullscreen(g) + : _.mozRequestFullScreen + ? _.mozRequestFullScreen(g) + : _.msRequestFullscreen + ? _.msRequestFullscreen(g) + : _.webkitRequestFullScreen && + ('undefined' == typeof Element.ALLOW_KEYBOARD_INPUT + ? _.webkitRequestFullScreen() + : _.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)); + } + g_bcS() { + document.exitFullscreen + ? document.exitFullscreen() + : document.mozCancelFullScreen + ? document.mozCancelFullScreen() + : document.msExitFullscreen + ? document.msExitFullscreen() + : document.webkitCancelFullScreen && document.webkitCancelFullScreen(); + } + }; + g_aYV.g_aZQ(e); +} diff --git a/games/basket-random/scripts/offlineclient.js b/games/basket-random/scripts/offlineclient.js new file mode 100644 index 00000000..61781073 --- /dev/null +++ b/games/basket-random/scripts/offlineclient.js @@ -0,0 +1,29 @@ +'use strict'; +{ + window.OfflineClientInfo = new (class { + constructor() { + if ( + ((this._broadcastChannel = + 'undefined' == typeof BroadcastChannel ? null : new BroadcastChannel('offline')), + (this._queuedMessages = []), + (this._onMessageCallback = null), + this._broadcastChannel) + ) { + var a = this; + this._broadcastChannel.onmessage = function (b) { + a._OnBroadcastChannelMessage(b); + }; + } + } + _OnBroadcastChannelMessage(a) { + return this._onMessageCallback + ? void this._onMessageCallback(a) + : void this._queuedMessages.push(a); + } + SetMessageCallback(a) { + this._onMessageCallback = a; + for (let b of this._queuedMessages) this._onMessageCallback(b); + this._queuedMessages.length = 0; + } + })(); +} diff --git a/games/basket-random/scripts/register-sw.js b/games/basket-random/scripts/register-sw.js new file mode 100644 index 00000000..50c9de89 --- /dev/null +++ b/games/basket-random/scripts/register-sw.js @@ -0,0 +1,10 @@ +'use strict'; +window.C3_RegisterSW = async function () { + if (navigator.serviceWorker) + try { + const a = await navigator.serviceWorker.register('sw.js', { scope: './' }); + console.info('Registered service worker on ' + a.scope); + } catch (a) { + console.warn('Failed to register service worker: ', a); + } +}; diff --git a/games/basket-random/scripts/supportcheck.js b/games/basket-random/scripts/supportcheck.js new file mode 100644 index 00000000..5179ac14 --- /dev/null +++ b/games/basket-random/scripts/supportcheck.js @@ -0,0 +1,49 @@ +'use strict'; +(function () { + var a = !!document.querySelector('script[src*="kaspersky"]'), + b = document.createElement('canvas'), + c = !!(b.getContext('webgl') || b.getContext('experimental-webgl')), + d = []; + if ( + (c || d.push('WebGL'), + 'undefined' == typeof WebAssembly && d.push('WebAssembly'), + 0 === d.length && !a) + ) + window['C3_IsSupported'] = !0; + else { + var e = document.createElement('div'); + (e.id = 'notSupportedWrap'), document.body.appendChild(e); + var f = document.createElement('h2'); + (f.id = 'notSupportedTitle'), + (f.textContent = a + ? 'Kaspersky Internet Security broke this export' + : 'Software update needed'), + e.appendChild(f); + var g = document.createElement('p'); + g.className = 'notSupportedMessage'; + var h = "This content is not supported because your device's software is out-of-date. ", + i = navigator.userAgent; + /android/i.test(i) + ? (h += + '

On Android, fix this by making sure the
Android System Webview app has updates enabled and is up-to-date.') + : /iphone|ipad|ipod/i.test(i) + ? (h += + "

Note: the iOS simulator is not currently supported due to an Apple bug. If you are using the simulator, try testing on a real device instead.") + : (/msie/i.test(i) || /trident/i.test(i)) && !/edge\//i.test(i) + ? (h += + "

Note: Internet Explorer is not supported. Try using Chrome or Firefox instead.") + : a + ? (h = + 'It appears a script was added to this export by Kaspersky software. This prevents the exported project from working. Try disabling Kaspersky and exporting again.') + : (h += + 'Try installing any available software updates. Alternatively try on a different device.'), + (h += + '

Missing features: ' + + d.join(', ') + + '
User agent: ' + + navigator.userAgent + + '
'), + (g.innerHTML = h), + e.appendChild(g); + } +})(); diff --git a/games/basket-random/splash.jpeg b/games/basket-random/splash.jpeg new file mode 100644 index 00000000..8ff4d754 Binary files /dev/null and b/games/basket-random/splash.jpeg differ diff --git a/games/basket-random/style.css b/games/basket-random/style.css new file mode 100644 index 00000000..5fdce265 --- /dev/null +++ b/games/basket-random/style.css @@ -0,0 +1,41 @@ +html, +body { + padding: 0; + margin: 0; + overflow: hidden; + + background: #000000; + color: white; +} + +html, +body, +canvas { + touch-action: none; + touch-action-delay: none; +} + +#notSupportedWrap { + margin: 2em auto 1em auto; + width: 75%; + max-width: 45em; + border: 2px solid #aaa; + border-radius: 1em; + padding: 2em; + background-color: #f0f0f0; + font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, + sans-serif; + color: black; +} + +#notSupportedTitle { + font-size: 1.8em; +} + +.notSupportedMessage { + font-size: 1.2em; +} + +.notSupportedMessage em { + color: #888; +} diff --git a/games/basket-random/sw.js b/games/basket-random/sw.js new file mode 100644 index 00000000..99e604bb --- /dev/null +++ b/games/basket-random/sw.js @@ -0,0 +1,166 @@ +'use strict'; +const OFFLINE_DATA_FILE = 'offline.json', + CACHE_NAME_PREFIX = 'c3offline', + BROADCASTCHANNEL_NAME = 'offline', + CONSOLE_PREFIX = '[SW] ', + LAZYLOAD_KEYNAME = '', + broadcastChannel = + 'undefined' == typeof BroadcastChannel ? null : new BroadcastChannel('offline'); +function PostBroadcastMessage(a) { + broadcastChannel && setTimeout(() => broadcastChannel.postMessage(a), 3e3); +} +function Broadcast(a) { + PostBroadcastMessage({ type: a }); +} +function BroadcastDownloadingUpdate(a) { + PostBroadcastMessage({ type: 'downloading-update', version: a }); +} +function BroadcastUpdateReady(a) { + PostBroadcastMessage({ type: 'update-ready', version: a }); +} +function IsUrlInLazyLoadList(a, b) { + if (!b) return !1; + try { + for (const c of b) if (new RegExp(c).test(a)) return !0; + } catch (a) { + console.error('[SW] Error matching in lazy-load list: ', a); + } + return !1; +} +function WriteLazyLoadListToStorage(a) { + return 'undefined' == typeof localforage + ? Promise.resolve() + : localforage.setItem(LAZYLOAD_KEYNAME, a); +} +function ReadLazyLoadListFromStorage() { + return 'undefined' == typeof localforage + ? Promise.resolve([]) + : localforage.getItem(LAZYLOAD_KEYNAME); +} +function GetCacheBaseName() { + return 'c3offline-' + self.registration.scope; +} +function GetCacheVersionName(a) { + return GetCacheBaseName() + '-v' + a; +} +async function GetAvailableCacheNames() { + const a = await caches.keys(), + b = GetCacheBaseName(); + return a.filter((a) => a.startsWith(b)); +} +async function IsUpdatePending() { + const a = await GetAvailableCacheNames(); + return 2 <= a.length; +} +async function GetMainPageUrl() { + const a = await clients.matchAll({ includeUncontrolled: !0, type: 'window' }); + for (const b of a) { + let a = b.url; + if ( + (a.startsWith(self.registration.scope) && (a = a.substring(self.registration.scope.length)), + a && '/' !== a) + ) + return a.startsWith('?') && (a = '/' + a), a; + } + return ''; +} +function fetchWithBypass(a, b) { + return ( + 'string' == typeof a && (a = new Request(a)), + b + ? fetch(a.url, { + headers: a.headers, + mode: a.mode, + credentials: a.credentials, + redirect: a.redirect, + cache: 'no-store' + }) + : fetch(a) + ); +} +async function CreateCacheFromFileList(a, b, c) { + const d = await Promise.all(b.map((a) => fetchWithBypass(a, c))); + let e = !0; + for (const f of d) + f.ok || + ((e = !1), + console.error("[SW] Error fetching '" + f.url + "' (" + f.status + ' ' + f.statusText + ')')); + if (!e) throw new Error('not all resources were fetched successfully'); + const f = await caches.open(a); + try { + return await Promise.all(d.map((a, c) => f.put(b[c], a))); + } catch (b) { + throw (console.error('[SW] Error writing cache entries: ', b), caches.delete(a), b); + } +} +async function UpdateCheck(a) { + try { + const b = await fetchWithBypass(OFFLINE_DATA_FILE, !0); + if (!b.ok) throw new Error('offline.json responded with ' + b.status + ' ' + b.statusText); + const c = await b.json(), + d = c.version, + e = c.fileList, + f = c.lazyLoad, + g = GetCacheVersionName(d), + h = await caches.has(g); + if (h) { + const a = await IsUpdatePending(); + return void (a + ? (console.log('[SW] Update pending'), Broadcast('update-pending')) + : (console.log('[SW] Up to date'), Broadcast('up-to-date'))); + } + const i = await GetMainPageUrl(); + e.unshift('./'), + i && -1 === e.indexOf(i) && e.unshift(i), + console.log('[SW] Caching ' + e.length + ' files for offline use'), + a ? Broadcast('downloading') : BroadcastDownloadingUpdate(d), + f && (await WriteLazyLoadListToStorage(f)), + await CreateCacheFromFileList(g, e, !a); + const j = await IsUpdatePending(); + j + ? (console.log('[SW] All resources saved, update ready'), BroadcastUpdateReady(d)) + : (console.log('[SW] All resources saved, offline support ready'), + Broadcast('offline-ready')); + } catch (a) { + console.warn('[SW] Update check failed: ', a); + } +} +self.addEventListener('install', (a) => { + a.waitUntil(UpdateCheck(!0).catch(() => null)); +}); +async function GetCacheNameToUse(a, b) { + if (1 === a.length || !b) return a[0]; + const c = await clients.matchAll(); + if (1 < c.length) return a[0]; + const d = a[a.length - 1]; + return ( + console.log('[SW] Updating to new version'), + await Promise.all(a.slice(0, -1).map((a) => caches.delete(a))), + d + ); +} +async function HandleFetch(a, b) { + const c = await GetAvailableCacheNames(); + if (!c.length) return fetch(a.request); + const d = await GetCacheNameToUse(c, b), + e = await caches.open(d), + f = await e.match(a.request); + if (f) return f; + const g = await Promise.all([fetch(a.request), ReadLazyLoadListFromStorage()]), + h = g[0], + i = g[1]; + if (IsUrlInLazyLoadList(a.request.url, i)) + try { + await e.put(a.request, h.clone()); + } catch (b) { + console.warn("[SW] Error caching '" + a.request.url + "': ", b); + } + return h; +} +self.addEventListener('fetch', (a) => { + if (new URL(a.request.url).origin === location.origin) { + const b = 'navigate' === a.request.mode, + c = HandleFetch(a, b); + b && a.waitUntil(c.then(() => UpdateCheck(!1))), a.respondWith(c); + } +});