From 697ef457e1b0eabd3aa9fb2332a5d04478b39603 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Tue, 9 May 2017 11:36:14 +0200 Subject: Webpack (single bundle for now) --- dist/fengari.html | 9 + dist/fengari.js | 6 + package.json | 5 +- src/defs.js | 2 +- src/fengari.js | 7 + src/lauxlib.js | 257 ++++--- src/lbaselib.js | 59 +- src/ldblib.js | 57 +- src/linit.js | 4 +- src/loadlib.js | 29 +- src/loslib.js | 153 ++-- src/lualib.js | 8 +- webpack.config.js | 20 + yarn.lock | 2170 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 14 files changed, 2468 insertions(+), 318 deletions(-) create mode 100644 dist/fengari.html create mode 100644 dist/fengari.js create mode 100644 src/fengari.js create mode 100644 webpack.config.js diff --git a/dist/fengari.html b/dist/fengari.html new file mode 100644 index 0000000..5e92713 --- /dev/null +++ b/dist/fengari.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/dist/fengari.js b/dist/fengari.js new file mode 100644 index 0000000..45a79af --- /dev/null +++ b/dist/fengari.js @@ -0,0 +1,6 @@ +var _NumberparseInt=Number.parseInt,_Mathmax=Math.max,_MathPI=Math.PI,_Mathlog=Math.log,_Mathceil=Math.ceil,_NumberisNaN=Number.isNaN,_Mathabs=Math.abs,_Mathpow=Math.pow,_Mathfloor=Math.floor,_StringfromCharCode=String.fromCharCode,_Mathmin=Math.min,fengari=function(T){function O(E){if(U[E])return U[E].exports;var N=U[E]={i:E,l:!1,exports:{}};return T[E].call(N.exports,N,N.exports,O),N.l=!0,N.exports}var U={};return O.m=T,O.c=U,O.i=function(E){return E},O.d=function(E,N,I){O.o(E,N)||Object.defineProperty(E,N,{configurable:!1,enumerable:!0,get:I})},O.n=function(E){var N=E&&E.__esModule?function(){return E['default']}:function(){return E};return O.d(N,'a',N),N},O.o=function(E,N){return Object.prototype.hasOwnProperty.call(E,N)},O.p='',O(O.s=47)}([function(T,O,U){'use strict';(function(E){/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */function N(pe,ce){if(pe===ce)return 0;for(var de=pe.length,Le=ce.length,ge=0,Ae=_Mathmin(de,Le);geut;ut++)M[_StringfromCharCode(ut)]=ut;T.exports.char=M;const K='5',V='3',F='4',H='Lua '+K+'.'+V,Y=H+'.'+F,J=Y+' Copyright (C) 1994-2017 Lua.org, PUC-Rio',W='0',Z='0',$='1',ee='Fengari '+W+'.'+Z,te=ee+'.'+$,se='_'+K+'_'+V,ne='LUA_INIT',pe={LUA_TNONE:-1,LUA_TNIL:0,LUA_TBOOLEAN:1,LUA_TLIGHTUSERDATA:2,LUA_TNUMBER:3,LUA_TSTRING:4,LUA_TTABLE:5,LUA_TFUNCTION:6,LUA_TUSERDATA:7,LUA_TTHREAD:8,LUA_NUMTAGS:9};pe.LUA_TSHRSTR=0|pe.LUA_TSTRING,pe.LUA_TLNGSTR=16|pe.LUA_TSTRING,pe.LUA_TNUMFLT=0|pe.LUA_TNUMBER,pe.LUA_TNUMINT=16|pe.LUA_TNUMBER,pe.LUA_TLCL=0|pe.LUA_TFUNCTION,pe.LUA_TLCF=16|pe.LUA_TFUNCTION,pe.LUA_TCCL=32|pe.LUA_TFUNCTION;const Pe=-N.LUAI_MAXSTACK-1e3,Ke=2,we={},Xe=0,He=1,je=2,ze=3;T.exports.LUA_PATH_SEP=';',T.exports.LUA_PATH_MARK='?',T.exports.LUA_EXEC_DIR='!';const at=K+'.'+V;T.exports.LUA_VDIR=at;{T.exports.LUA_DIRSEP='/';const rt='/usr/local/';T.exports.LUA_ROOT=rt;const st=rt+'share/lua/'+at+'/';T.exports.LUA_LDIR=st;const nt=rt+'lib/lua/'+at+'/';T.exports.LUA_CDIR=nt,T.exports.LUA_PATH_DEFAULT=st+'?.lua;'+st+'?/init.lua;'+nt+'?.lua;'+nt+'?/init.lua;./?.lua;./?/init.lua',T.exports.LUA_CPATH_DEFAULT=nt+'?.so;'+nt+'loadall.so;./?.so'}T.exports.CT=pe,T.exports.FENGARI_AUTHORS='B. Giannangeli',T.exports.FENGARI_COPYRIGHT=te+' Copyright (C) 2017 Beno\xEEt Giannangeli\nBased on: '+J,T.exports.FENGARI_RELEASE=te,T.exports.FENGARI_VERSION=ee,T.exports.FENGARI_VERSION_MAJOR=W,T.exports.FENGARI_VERSION_MINOR=Z,T.exports.FENGARI_VERSION_NUM=1,T.exports.FENGARI_VERSION_RELEASE=$,T.exports.LUA_AUTHORS='R. Ierusalimschy, L. H. de Figueiredo, W. Celes',T.exports.LUA_COPYRIGHT=J,T.exports.LUA_HOOKCALL=Xe,T.exports.LUA_HOOKCOUNT=ze,T.exports.LUA_HOOKLINE=je,T.exports.LUA_HOOKRET=He,T.exports.LUA_HOOKTAILCALL=4,T.exports.LUA_INITVARVERSION=ne+se,T.exports.LUA_INIT_VAR=ne,T.exports.LUA_MASKCALL=1<nt)Lt+=_StringfromCharCode(nt);else{var ft=nt-65536;Lt+=_StringfromCharCode(55296|ft>>10,56320|1023&ft)}}return Lt},T.exports.to_luastring=function(ut,rt,st){if(E('string'==typeof ut,'to_luastring expect a js string'),rt){let pt=we[ut];if(Array.isArray(pt))return pt}st=void 0===st?I.MAX_INT:st;let nt=[];if(!(0=ct&&(ct=65536+((1023&ct)<<10)|1023&ut.charCodeAt(++pt)),127>=ct){if(ot>=it)break;nt[ot++]=ct}else if(2047>=ct){if(ot+1>=it)break;nt[ot++]=192|ct>>6,nt[ot++]=128|63&ct}else if(65535>=ct){if(ot+2>=it)break;nt[ot++]=224|ct>>12,nt[ot++]=128|63&ct>>6,nt[ot++]=128|63&ct}else if(2097151>=ct){if(ot+3>=it)break;nt[ot++]=240|ct>>18,nt[ot++]=128|63&ct>>12,nt[ot++]=128|63&ct>>6,nt[ot++]=128|63&ct}else if(67108863>=ct){if(ot+4>=it)break;nt[ot++]=248|ct>>24,nt[ot++]=128|63&ct>>18,nt[ot++]=128|63&ct>>12,nt[ot++]=128|63&ct>>6,nt[ot++]=128|63&ct}else{if(ot+5>=it)break;nt[ot++]=252|ct>>30,nt[ot++]=128|63&ct>>24,nt[ot++]=128|63&ct>>18,nt[ot++]=128|63&ct>>12,nt[ot++]=128|63&ct>>6,nt[ot++]=128|63&ct}return rt&&(we[ut]=nt),nt}},function(T,O,U){'use strict';const E=U(1),N=U(21),I=U(8),M=U(9),P=U(15);T.exports.FENGARI_AUTHORS=E.FENGARI_AUTHORS,T.exports.FENGARI_COPYRIGHT=E.FENGARI_COPYRIGHT,T.exports.FENGARI_RELEASE=E.FENGARI_RELEASE,T.exports.FENGARI_VERSION=E.FENGARI_VERSION,T.exports.FENGARI_VERSION_MAJOR=E.FENGARI_VERSION_MAJOR,T.exports.FENGARI_VERSION_MINOR=E.FENGARI_VERSION_MINOR,T.exports.FENGARI_VERSION_NUM=E.FENGARI_VERSION_NUM,T.exports.FENGARI_VERSION_RELEASE=E.FENGARI_VERSION_RELEASE,T.exports.LUA_AUTHORS=E.LUA_AUTHORS,T.exports.LUA_COPYRIGHT=E.LUA_COPYRIGHT,T.exports.LUA_ERRERR=E.thread_status.LUA_ERRERR,T.exports.LUA_ERRGCMM=E.thread_status.LUA_ERRGCMM,T.exports.LUA_ERRMEM=E.thread_status.LUA_ERRMEM,T.exports.LUA_ERRRUN=E.thread_status.LUA_ERRRUN,T.exports.LUA_ERRSYNTAX=E.thread_status.LUA_ERRSYNTAX,T.exports.LUA_HOOKCALL=E.LUA_HOOKCALL,T.exports.LUA_HOOKCOUNT=E.LUA_HOOKCOUNT,T.exports.LUA_HOOKLINE=E.LUA_HOOKLINE,T.exports.LUA_HOOKRET=E.LUA_HOOKRET,T.exports.LUA_HOOKTAILCALL=E.LUA_HOOKTAILCALL,T.exports.LUA_INITVARVERSION=E.LUA_INITVARVERSION,T.exports.LUA_INIT_VAR=E.LUA_INIT_VAR,T.exports.LUA_MASKCALL=E.LUA_MASKCALL,T.exports.LUA_MASKCOUNT=E.LUA_MASKCOUNT,T.exports.LUA_MASKLINE=E.LUA_MASKLINE,T.exports.LUA_MASKRET=E.LUA_MASKRET,T.exports.LUA_MINSTACK=E.LUA_MINSTACK,T.exports.LUA_MULTRET=E.LUA_MULTRET,T.exports.LUA_NUMTAGS=E.LUA_NUMTAGS,T.exports.LUA_OK=E.thread_status.LUA_OK,T.exports.LUA_OPADD=E.LUA_OPADD,T.exports.LUA_OPBAND=E.LUA_OPBAND,T.exports.LUA_OPBNOT=E.LUA_OPBNOT,T.exports.LUA_OPBOR=E.LUA_OPBOR,T.exports.LUA_OPBXOR=E.LUA_OPBXOR,T.exports.LUA_OPDIV=E.LUA_OPDIV,T.exports.LUA_OPEQ=E.LUA_OPEQ,T.exports.LUA_OPIDIV=E.LUA_OPIDIV,T.exports.LUA_OPLE=E.LUA_OPLE,T.exports.LUA_OPLT=E.LUA_OPLT,T.exports.LUA_OPMOD=E.LUA_OPMOD,T.exports.LUA_OPMUL=E.LUA_OPMUL,T.exports.LUA_OPPOW=E.LUA_OPPOW,T.exports.LUA_OPSHL=E.LUA_OPSHL,T.exports.LUA_OPSHR=E.LUA_OPSHR,T.exports.LUA_OPSUB=E.LUA_OPSUB,T.exports.LUA_OPUNM=E.LUA_OPUNM,T.exports.LUA_REGISTRYINDEX=E.LUA_REGISTRYINDEX,T.exports.LUA_RELEASE=E.LUA_RELEASE,T.exports.LUA_RIDX_GLOBALS=E.LUA_RIDX_GLOBALS,T.exports.LUA_RIDX_LAST=E.LUA_RIDX_LAST,T.exports.LUA_RIDX_MAINTHREAD=E.LUA_RIDX_MAINTHREAD,T.exports.LUA_SIGNATURE=E.LUA_SIGNATURE,T.exports.LUA_TNONE=E.CT.LUA_TNONE,T.exports.LUA_TNIL=E.CT.LUA_TNIL,T.exports.LUA_TBOOLEAN=E.CT.LUA_TBOOLEAN,T.exports.LUA_TLIGHTUSERDATA=E.CT.LUA_TLIGHTUSERDATA,T.exports.LUA_TNUMBER=E.CT.LUA_TNUMBER,T.exports.LUA_TSTRING=E.CT.LUA_TSTRING,T.exports.LUA_TTABLE=E.CT.LUA_TTABLE,T.exports.LUA_TFUNCTION=E.CT.LUA_TFUNCTION,T.exports.LUA_TUSERDATA=E.CT.LUA_TUSERDATA,T.exports.LUA_TTHREAD=E.CT.LUA_TTHREAD,T.exports.LUA_VERSION=E.LUA_VERSION,T.exports.LUA_VERSION_MAJOR=E.LUA_VERSION_MAJOR,T.exports.LUA_VERSION_MINOR=E.LUA_VERSION_MINOR,T.exports.LUA_VERSION_NUM=E.LUA_VERSION_NUM,T.exports.LUA_VERSION_RELEASE=E.LUA_VERSION_RELEASE,T.exports.LUA_VERSUFFIX=E.LUA_VERSUFFIX,T.exports.LUA_YIELD=E.thread_status.LUA_YIELD,T.exports.lua_Debug=E.lua_Debug,T.exports.lua_upvalueindex=E.lua_upvalueindex,T.exports.to_jsstring=E.to_jsstring,T.exports.to_luastring=E.to_luastring,T.exports.LUA_CDIR=E.LUA_CDIR,T.exports.LUA_CPATH_DEFAULT=E.LUA_CPATH_DEFAULT,T.exports.LUA_EXEC_DIR=E.LUA_EXEC_DIR,T.exports.LUA_LDIR=E.LUA_LDIR,T.exports.LUA_PATH_DEFAULT=E.LUA_PATH_DEFAULT,T.exports.LUA_PATH_MARK=E.LUA_PATH_MARK,T.exports.LUA_PATH_SEP=E.LUA_PATH_SEP,T.exports.LUA_ROOT=E.LUA_ROOT,T.exports.LUA_SHRDIR=E.LUA_SHRDIR,T.exports.LUA_VDIR=E.LUA_VDIR,T.exports.LUA_DIRSEP=E.LUA_DIRSEP,T.exports.lua_absindex=N.lua_absindex,T.exports.lua_atpanic=N.lua_atpanic,T.exports.lua_call=N.lua_call,T.exports.lua_callk=N.lua_callk,T.exports.lua_checkstack=N.lua_checkstack,T.exports.lua_close=P.lua_close,T.exports.lua_compare=N.lua_compare,T.exports.lua_concat=N.lua_concat,T.exports.lua_copy=N.lua_copy,T.exports.lua_createtable=N.lua_createtable,T.exports.lua_dump=N.lua_dump,T.exports.lua_error=N.lua_error,T.exports.lua_gc=N.lua_gc,T.exports.lua_getallocf=N.lua_getallocf,T.exports.lua_getextraspace=N.lua_getextraspace,T.exports.lua_getfield=N.lua_getfield,T.exports.lua_getglobal=N.lua_getglobal,T.exports.lua_gethook=I.lua_gethook,T.exports.lua_gethookcount=I.lua_gethookcount,T.exports.lua_gethookmask=I.lua_gethookmask,T.exports.lua_geti=N.lua_geti,T.exports.lua_getinfo=I.lua_getinfo,T.exports.lua_getlocal=I.lua_getlocal,T.exports.lua_getmetatable=N.lua_getmetatable,T.exports.lua_getstack=I.lua_getstack,T.exports.lua_gettable=N.lua_gettable,T.exports.lua_gettop=N.lua_gettop,T.exports.lua_getupvalue=N.lua_getupvalue,T.exports.lua_getuservalue=N.lua_getuservalue,T.exports.lua_insert=N.lua_insert,T.exports.lua_isboolean=N.lua_isboolean,T.exports.lua_iscfunction=N.lua_iscfunction,T.exports.lua_isfunction=N.lua_isfunction,T.exports.lua_isinteger=N.lua_isinteger,T.exports.lua_isnil=N.lua_isnil,T.exports.lua_isnone=N.lua_isnone,T.exports.lua_isnoneornil=N.lua_isnoneornil,T.exports.lua_isnumber=N.lua_isnumber,T.exports.lua_isstring=N.lua_isstring,T.exports.lua_istable=N.lua_istable,T.exports.lua_isthread=N.lua_isthread,T.exports.lua_isuserdata=N.lua_isuserdata,T.exports.lua_isyieldable=M.lua_isyieldable,T.exports.lua_len=N.lua_len,T.exports.lua_load=N.lua_load,T.exports.lua_newstate=P.lua_newstate,T.exports.lua_newtable=N.lua_newtable,T.exports.lua_newthread=P.lua_newthread,T.exports.lua_newuserdata=N.lua_newuserdata,T.exports.lua_next=N.lua_next,T.exports.lua_pcall=N.lua_pcall,T.exports.lua_pcallk=N.lua_pcallk,T.exports.lua_pop=N.lua_pop,T.exports.lua_pushboolean=N.lua_pushboolean,T.exports.lua_pushcclosure=N.lua_pushcclosure,T.exports.lua_pushcfunction=N.lua_pushcfunction,T.exports.lua_pushglobaltable=N.lua_pushglobaltable,T.exports.lua_pushinteger=N.lua_pushinteger,T.exports.lua_pushjsclosure=N.lua_pushjsclosure,T.exports.lua_pushjsfunction=N.lua_pushjsfunction,T.exports.lua_pushlightuserdata=N.lua_pushlightuserdata,T.exports.lua_pushliteral=N.lua_pushliteral,T.exports.lua_pushlstring=N.lua_pushlstring,T.exports.lua_pushnil=N.lua_pushnil,T.exports.lua_pushnumber=N.lua_pushnumber,T.exports.lua_pushstring=N.lua_pushstring,T.exports.lua_pushfstring=N.lua_pushfstring,T.exports.lua_pushvfstring=N.lua_pushvfstring,T.exports.lua_pushthread=N.lua_pushthread,T.exports.lua_pushvalue=N.lua_pushvalue,T.exports.lua_rawequal=N.lua_rawequal,T.exports.lua_rawget=N.lua_rawget,T.exports.lua_rawgeti=N.lua_rawgeti,T.exports.lua_rawgetp=N.lua_rawgetp,T.exports.lua_rawlen=N.lua_rawlen,T.exports.lua_rawseti=N.lua_rawseti,T.exports.lua_rawset=N.lua_rawset,T.exports.lua_rawsetp=N.lua_rawsetp,T.exports.lua_remove=N.lua_remove,T.exports.lua_replace=N.lua_replace,T.exports.lua_resume=M.lua_resume,T.exports.lua_rotate=N.lua_rotate,T.exports.lua_setfield=N.lua_setfield,T.exports.lua_setglobal=N.lua_setglobal,T.exports.lua_sethook=I.lua_sethook,T.exports.lua_seti=N.lua_seti,T.exports.lua_setlocal=I.lua_setlocal,T.exports.lua_setmetatable=N.lua_setmetatable,T.exports.lua_settable=N.lua_settable,T.exports.lua_settop=N.lua_settop,T.exports.lua_setupvalue=N.lua_setupvalue,T.exports.lua_setuservalue=N.lua_setuservalue,T.exports.lua_status=N.lua_status,T.exports.lua_stringtonumber=N.lua_stringtonumber,T.exports.lua_toboolean=N.lua_toboolean,T.exports.lua_todataview=N.lua_todataview,T.exports.lua_tointeger=N.lua_tointeger,T.exports.lua_tointegerx=N.lua_tointegerx,T.exports.lua_tojsstring=N.lua_tojsstring,T.exports.lua_toljsstring=N.lua_toljsstring,T.exports.lua_tolstring=N.lua_tolstring,T.exports.lua_tonumber=N.lua_tonumber,T.exports.lua_topointer=N.lua_topointer,T.exports.lua_tostring=N.lua_tostring,T.exports.lua_tothread=N.lua_tothread,T.exports.lua_touserdata=N.lua_touserdata,T.exports.lua_type=N.lua_type,T.exports.lua_typename=N.lua_typename,T.exports.lua_upvalueid=N.lua_upvalueid,T.exports.lua_upvaluejoin=N.lua_upvaluejoin,T.exports.lua_version=N.lua_version,T.exports.lua_xmove=N.lua_xmove,T.exports.lua_yield=M.lua_yield,T.exports.lua_yieldk=M.lua_yieldk},function(T){T.exports=function(){throw new Error('define cannot be used indirect')}},function(T){'use strict';T.exports.LUAI_MAXCCALLS=200,T.exports.LUA_MAXINTEGER=2147483647,T.exports.LUA_MININTEGER=-2147483648,T.exports.MAX_INT=2147483647,T.exports.MIN_INT=-2147483648},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(25),M=U(8),P=U(7),K=U(12),V=U(17),G=U(4),F=N.constant_types,H=N.char;class Y{constructor(ke,ve){this.type=ke,this.value=ve}ttype(){return 63&this.type}ttnov(){return 15&this.type}checktag(ke){return this.type===ke}checktype(ke){return this.ttnov()===ke}ttisnumber(){return this.checktype(F.LUA_TNUMBER)}ttisfloat(){return this.checktag(F.LUA_TNUMFLT)}ttisinteger(){return this.checktag(F.LUA_TNUMINT)}ttisnil(){return this.checktag(F.LUA_TNIL)}ttisboolean(){return this.checktag(F.LUA_TBOOLEAN)}ttislightuserdata(){return this.checktag(F.LUA_TLIGHTUSERDATA)}ttisstring(){return this.checktype(F.LUA_TSTRING)}ttisshrstring(){return this.checktag(F.LUA_TSHRSTR)}ttislngstring(){return this.checktag(F.LUA_TLNGSTR)}ttistable(){return this.checktag(F.LUA_TTABLE)}ttisfunction(){return this.checktype(F.LUA_TFUNCTION)}ttisclosure(){return(31&this.type)===F.LUA_TFUNCTION}ttisCclosure(){return this.checktag(F.LUA_TCCL)}ttisLclosure(){return this.checktag(F.LUA_TLCL)}ttislcf(){return this.checktag(F.LUA_TLCF)}ttisfulluserdata(){return this.checktag(F.LUA_TUSERDATA)}ttisthread(){return this.checktag(F.LUA_TTHREAD)}ttisdeadkey(){return this.checktag(F.LUA_TDEADKEY)}l_isfalse(){return this.ttisnil()||this.ttisboolean()&&!1===this.value}setfltvalue(ke){this.type=F.LUA_TNUMFLT,this.value=ke}setivalue(ke){this.type=F.LUA_TNUMINT,this.value=ke}setnilvalue(){this.type=F.LUA_TNIL,this.value=void 0}setfvalue(ke){this.type=F.LUA_TLCF,this.value=ke}setpvalue(ke){this.type=F.LUA_TLIGHTUSERDATA,this.value=ke}setbvalue(ke){this.type=F.LUA_TBOOLEAN,this.value=ke}sethvalue(ke){this.type=F.LUA_TTABLE,this.value=ke}setfrom(ke){this.type=ke.type,this.value=ke.value}tsvalue(){return E(this.ttisstring()),this.value}svalue(){return this.tsvalue().getstr()}vslen(){return this.tsvalue().tsslen()}jsstring(ke,ve){return N.to_jsstring(this.svalue(),ke,ve)}}const J=new Y(F.LUA_TNIL,null);T.exports.luaO_nilobject=J;const Q=N.to_luastring('...',!0),$=N.to_luastring('[string "'),ee=N.to_luastring('"]'),ae=function(ke){return I.lisdigit(ke)?ke-H[0]:_StringfromCharCode(ke).toLowerCase().charCodeAt(0)-H.a+10},ue=8,oe=function(ke){let ve=H[K.lua_getlocaledecpoint()],Re=0,be=0,Se=0,Ne=0,Ce=!1,Ie;for(;I.lisspace(ke[0]);)ke=ke.slice(1);if(Ie=ke[0]===H['-'],ke=Ie||ke[0]===H['+']?ke.slice(1):ke,ke[0]!==H[0]||ke[1]!==H.x&&ke[1]!==H.X)return 0;for(ke=ke.slice(2);;ke=ke.slice(1))if(ke[0]===ve){if(Ce)break;else Ce=!0;}else if(I.lisxdigit(ke[0]))0==be&&ke[0]===H[0]?Se++:30>=++be?Re=16*Re+ae(ke[0]):Ne++,Ce&&Ne--;else break;if(0==Se+be)return 0;if(Ne*=4,ke[0]===H.p||ke[0]===H.P){let Me=0,Pe;if(ke=ke.slice(1),Pe=ke[0]===H['-'],ke=Pe||ke[0]===H['+']?ke.slice(1):ke,!I.lisdigit(ke[0]))return 0;for(;I.lisdigit(ke[0]);)Me=10*Me+ke[0]-H[0],ke=ke.slice(1);Pe&&(Me=-Me),Ne+=Me}return Ie&&(Re=-Re),0>N.to_jsstring(ke).trim().search(/s/)?K.ldexp(Re,Ne):null},_e=function(ke,ve){let Re='x'===ve?oe(ke):parseFloat(N.to_jsstring(ke));return isNaN(Re)?null:Re},pe=function(ke){let ve=/[.xXnN]/g.exec(_StringfromCharCode(...ke));ve=ve?ve.index:null;let Re=ve?ke[ve]:null,be=Re?_StringfromCharCode(Re).toLowerCase():0;if('n'===be)return null;let Se=_e(ke,be);return null===Se,Se},ce=G.MAX_INT/10,de=G.MAX_INT%10,Le=function(ke){let ve=0,Re=!0,be;for(;I.lisspace(ke[0]);)ke=ke.slice(1);if(be=ke[0]===H['-'],(be||ke[0]===H['+'])&&(ke=ke.slice(1)),ke[0]===H[0]&&(ke[1]===H.x||ke[1]===H.X))for(ke=ke.slice(2);I.lisxdigit(ke[0]);ke=ke.slice(1))ve=16*ve+ae(ke[0]),Re=!1;else for(;I.lisdigit(ke[0]);ke=ke.slice(1)){let Se=ke[0]-H[0];if(ve>=ce&&(ve>ce||Se>de+be))return null;ve=10*ve+Se,Re=!1}for(;I.lisspace(ke[0]);)ke=ke.slice(1);return Re||0',!0),Me);break;case H.d:case H.I:case H.f:Te(ke,N.to_luastring(''+Re[Ne++]));break;case H.U:Te(ke,N.to_luastring(String.fromCodePoint(Re[Ne++])));break;case H['%']:Te(ke,[H['%']]);break;default:M.luaG_runerror(ke,N.to_luastring('invalid option \'%%%c\' to \'lua_pushfstring\''),ve[Ie+1]);}be+=2,Se=Ie+2}return Te(ke,ve.slice(Se)),0>be:ve===N.LUA_OPUNM?0|0-Re:ve===N.LUA_OPBNOT?-1^Re:void 0},T.exports.luaO_chunkid=function(ke,ve){ke=ke instanceof Y?ke.value:ke,ve=ve instanceof Y?ve.value:ve;let Re=ke.length,be=[];if(ke[0]===H['='])be=Reve&&(Re=ve),be=be.concat(ke).concat(Q)),be=be.concat(ee)}return be},T.exports.luaO_hexavalue=ae,T.exports.luaO_int2fb=function(ke){let ve=0;if(8>ke)return ke;for(;128<=ke;)ke=ke+15>>4,ve+=4;for(;16<=ke;)ke=ke+1>>1,ve++;return ve+1<<3|ke-8},T.exports.luaO_pushfstring=Oe,T.exports.luaO_pushvfstring=he,T.exports.luaO_str2num=function(ke){let ve=Le(ke);return null===ve?(ve=pe(ke),null!=ve&&new Y(F.LUA_TNUMFLT,ve)):new Y(F.LUA_TNUMINT,ve)},T.exports.luaO_utf8desc=function(ke,ve){let Re=1;if(E(1114111>=ve),128>ve)ke[ue-1]=ve;else{let be=63;do ke[ue-Re++]=128|63&ve,ve>>=6,be>>=1;while(ve>be);ke[ue-Re]=~be<<1|ve}return Re},T.exports.luaO_utf8esc=function(ke){let ve=[],Re=1;if(E(1114111>=ke),128>ke)ve[ue-1]=ke;else{let be=63;do ve[ue-Re++]=128|63&ke,ke>>=6,be>>=1;while(ke>be);ve[ue-Re]=~be<<1|ke}return{buff:ve,n:Re}},T.exports.numarith=function(ke,ve,Re,be){return ve===N.LUA_OPADD?Re+be:ve===N.LUA_OPSUB?Re-be:ve===N.LUA_OPMUL?Re*be:ve===N.LUA_OPDIV?Re/be:ve===N.LUA_OPPOW?_Mathpow(Re,be):ve===N.LUA_OPIDIV?Re/be:ve===N.LUA_OPUNM?-Re:ve===N.LUA_OPMOD?Re%be:void 0}},function(T,O,U){'use strict';(function(E){const N=U(2),I=U(51),M='_LOADED',K=N.to_luastring('FILE*',!0),G=10,F=11,H=function(et,at,lt){if(0===lt||!N.lua_istable(et,-1))return 0;for(N.lua_pushnil(et);N.lua_next(et,-2);){if(N.lua_type(et,-2)===N.LUA_TSTRING){if(N.lua_rawequal(et,at,-1))return N.lua_pop(et,1),1;if(H(et,at,lt-1))return N.lua_remove(et,-2),N.lua_pushliteral(et,'.'),N.lua_insert(et,-2),N.lua_concat(et,3),1}N.lua_pop(et,1)}return 0},Y=function(et,at){let lt=N.lua_gettop(et);if(N.lua_getinfo(et,['f'.charCodeAt(0)],at),N.lua_getfield(et,N.LUA_REGISTRYINDEX,N.to_luastring(M,!0)),H(et,lt+1,2)){let ut=N.lua_tostring(et,-1);return N.to_jsstring(ut).startsWith('_G.')&&(N.lua_pushstring(et,ut.slice(3)),N.lua_remove(et,-2)),N.lua_copy(et,-1,lt+1),N.lua_pop(et,2),1}return N.lua_settop(et,lt),0},J=function(et,at){Y(et,at)?(N.lua_pushfstring(et,N.to_luastring('function \'%s\''),N.lua_tostring(et,-1)),N.lua_remove(et,-2)):at.namewhat?N.lua_pushfstring(et,N.to_luastring('%s \'%s\''),at.namewhat,at.name):at.what&&at.what[0]==='m'.charCodeAt(0)?N.lua_pushliteral(et,'main chunk'):at.what&&at.what[0]!='C'.charCodeAt(0)?N.lua_pushfstring(et,N.to_luastring('function <%s:%d>'),at.short_src,at.linedefined):N.lua_pushliteral(et,'?')},q=function(et){let at=new N.lua_Debug,lt=1,ut=1;for(;N.lua_getstack(et,ut,at);)lt=ut,ut*=2;for(;lt=N.lua_type(et,at)?lt:Oe(et,at)},Ee=function(et,at){N.lua_isnumber(et,at)?Q(et,at,N.to_luastring('number has no integer representation',!0)):ce(et,at,N.LUA_TNUMBER)},ve=function(et,at){let lt=N.lua_tointeger(et,at);return!1===lt&&Ee(et,at),lt},Se=function(et,at){at.L=et,at.b=[]},Ie=function(et,at,lt){et.b=et.b.concat(at.slice(0,lt))},Ce=Ie,De=function(et,at,lt,ut){return 0>=N.lua_type(et,lt)?ut:at(et,lt)},Ke=function(et,at){let lt=at.string;return at.string=null,lt},Be=function(et,at,lt,ut,rt){return N.lua_load(et,Ke,{string:at},ut,rt)},Ve=function(et,at,lt,ut){return Be(et,at,lt,ut,null)},Ge=function(et,at){return Ve(et,at,at.length,at)},Fe=function(et,at,lt){if(!N.lua_getmetatable(et,at))return N.LUA_TNIL;N.lua_pushstring(et,lt);let ut=N.lua_rawget(et,-2);return ut===N.LUA_TNIL&&N.lua_pop(et,2),ut},Xe=function(et,at,lt){return(at=N.lua_absindex(et,at),Fe(et,at,lt)!==N.LUA_TNIL)&&(N.lua_pushvalue(et,at),N.lua_call(et,1,1),!0)},Ye=function(et,at,lt){var ut=lt>>>0,rt=at.length,st=et.length+1-rt;loop:for(;ut_t?ot.toExponential():ot.toPrecision(16).replace(/(\.[0-9][1-9]*)0+$/,'$1'),N.lua_pushstring(et,N.to_luastring(it))}break}case N.LUA_TSTRING:N.lua_pushvalue(et,at);break;case N.LUA_TBOOLEAN:N.lua_pushliteral(et,N.lua_toboolean(et,at)?'true':'false');break;case N.LUA_TNIL:N.lua_pushliteral(et,'nil');break;default:let ut=Fe(et,at,N.to_luastring('__name',!0)),rt=ut===N.LUA_TSTRING?N.lua_tostring(et,-1):Le(et,at),st=N.lua_topointer(et,at),nt;switch(lt){case N.LUA_TLIGHTUSERDATA:nt='';break;case N.LUA_TFUNCTION:if('function'==typeof st){nt='';break}case N.LUA_TTABLE:case N.LUA_TTHREAD:case N.LUA_TUSERDATA:nt=`0x${st.id.toString(16)}`;break;default:throw Error('unhandled type: '+lt);}N.lua_pushstring(et,N.to_luastring(`${N.to_jsstring(rt)}: ${nt}`)),ut!==N.LUA_TNIL&&N.lua_remove(et,-2);}}return N.lua_tolstring(et,-1)},T.exports.luaL_traceback=function(et,at,lt,ut){let rt=new N.lua_Debug,st=N.lua_gettop(et),nt=q(at),ot=nt-ut>G+F?G:-1;for(lt&&N.lua_pushstring(et,lt.concat('\n'.charCodeAt(0))),Ze(et,10,null),N.lua_pushliteral(et,'stack traceback:');N.lua_getstack(at,ut++,rt);)0==ot--?(N.lua_pushliteral(et,'\n\t...'),ut=nt-F+1):(N.lua_getinfo(at,N.to_luastring('Slnt',!0),rt),N.lua_pushstring(et,['\n'.charCodeAt(0),'\t'.charCodeAt(0)].concat(rt.short_src).concat([':'.charCodeAt(0)])),0`${Y}|`).join('')},V=function(H,Y){return new I(H,Y)};T.exports.luaS_eqlngstr=function(H,Y){return E(H instanceof I),E(Y instanceof I),H==Y||H.realstring.length==Y.realstring.length&&H.realstring.join()==Y.realstring.join()},T.exports.luaS_hash=P,T.exports.luaS_hashlongstr=function(H){return E(H instanceof I),null===H.hash&&(H.hash=P(H.getstr())),H.hash},T.exports.luaS_bless=V,T.exports.luaS_new=function(H,Y){return V(H,Y.slice(0))},T.exports.luaS_newliteral=function(H,Y){return V(H,N.to_luastring(Y))},T.exports.TString=I},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(9),M=U(11),P=U(5),K=U(20),V=U(15),G=U(10),F=U(16),H=U(12),Y=U(17),J=P.TValue,q=N.constant_types,W=N.thread_status,Z=function(De){return De.func.value.p.lineinfo?De.func.value.p.lineinfo[De.pcOff-1]:-1},Q=function(De){if(De.status===W.LUA_YIELD){let Ke=De.ci,Be=Ke.funcOff;Ke.func=De.stack[Ke.extra],Ke.funcOff=Ke.extra,Ke.extra=Be}},se=function(De,Ke){E(Ke=De.l_base-De.funcOff-Be?null:{pos:De.funcOff+Be+Ke,name:N.to_luastring('(*vararg)',!0)}},oe=function(De,Ke,Be){let Ge=null,Ve;if(Ke.callstatus&V.CIST_LUA){if(0>Be)return ne(Ke,-Be);Ve=Ke.l_base,Ge=M.luaF_getlocalname(Ke.func.value.p,Be,Ke.pcOff)}else Ve=Ke.funcOff+1;if(null===Ge){let we=Ke===De.ci?De.top:Ke.next.func;if(we-Ve>=Be&&0=He+2&&(Ve=he(we,Ge));break}case'OP_CALL':case'OP_TAILCALL':{Be>=He&&(Ve=he(we,Ge));break}case'OP_JMP':{let je=Fe.sBx,ze=we+1+je;weGe&&(Ge=ze);break}default:K.testAMode(Fe.opcode)&&Be===He&&(Ve=he(we,Ge));}}return Ve},xe=function(De,Ke,Be){let Ve={name:M.luaF_getlocalname(De,Be+1,Ke),funcname:null};if(Ve.name)return Ve.funcname=N.to_luastring('local',!0),Ve;let Ge=Oe(De,Ke,Be);if(-1!==Ge){let we=De.code[Ge],Fe=K.OpCodes[we.opcode];switch(Fe){case'OP_MOVE':{let Xe=we.B;if(Xe'.charCodeAt(0)?(we=null,Xe=De.top-1,Fe=De.stack[Xe],E(De,Fe.ttisfunction(),'function expected'),Ke=Ke.slice(1),De.top--):(we=Be.i_ci,Fe=we.func,Xe=we.funcOff,E(we.func.ttisfunction())),Ge=Fe.ttisclosure()?Fe.value:null,Ve=ge(De,Ke,Be,Ge,we),0<=Ke.indexOf('f'.charCodeAt(0))&&(De.stack[De.top++]=Fe,E(De.top<=De.ci.top,'stack overflow')),Q(De),0<=Ke.indexOf('L'.charCodeAt(0))&&de(De,Ge),Ve},T.exports.lua_getlocal=function(De,Ke,Be){let Ve;if(Q(De),null===Ke)Ve=De.stack[De.top-1].ttisLclosure()?M.luaF_getlocalname(De.stack[De.top-1].value.p,Be,0):null;else{let Ge=oe(De,Ke.i_ci,Be);if(Ge){Ve=Ge.name;let we=De.stack[Ge.pos];De.stack[De.top++]=new J(we.type,we.value)}else Ve=null}return Q(De),Ve},T.exports.lua_getstack=function(De,Ke,Be){let Ve,Ge;if(0>Ke)return 0;for(Ve=De.ci;0Ce;ye--)Ie.stack[ye]=Ie.stack[ye-1];Ie.top++,Ie.stack[Ce]=new G.TValue(Pe.type,Pe.value)},oe=function(Ie){Ie.nCcalls===V.LUAI_MAXCCALLS?M.luaG_runerror(Ie,'JS stack overflow'):Ie.nCcalls>=V.LUAI_MAXCCALLS+(V.LUAI_MAXCCALLS>>3)&&pe(Ie,Q.LUA_ERRERR)},_e=function(Ie,Ce,Me){++Ie.nCcalls>=V.LUAI_MAXCCALLS&&oe(Ie),ee(Ie,Ce,Me)||W.luaV_execute(Ie),Ie.nCcalls--},pe=function(Ie,Ce){if(Ie.errorJmp)throw Ie.errorJmp.status=Ce,Ie.errorJmp;else{let Me=Ie.l_G;if(Ie.status=Ce,Me.mainthread.errorJmp)Me.mainthread.stack[Me.mainthread.top++]=Ie.stack[Ie.top-1],pe(Me.mainthread,Ce);else throw Me.panic&&($(Ie,Ce,Ie.top),Ie.ci.top=V.LUAI_MAXCCALLS)return Te(Ie,'JS stack overflow',Me);Ie.nny=0,E((Ie.status===Q.LUA_OK?Me+1:Me)Q.LUA_YIELD&&Ae(Ie,ye);)ye=ce(Ie,Le,ye);ye>Q.LUA_YIELD?(Ie.status=ye,$(Ie,ye,Ie.top),Ie.ci.top=Ie.top):E(ye===Ie.status)}return Ie.nny=Pe,Ie.nCcalls--,E(Ie.nCcalls===(Ce?Ce.nCcalls:0)),ye},T.exports.lua_yield=function(Ie,Ce){Ue(Ie,Ce,0,null)},T.exports.lua_yieldk=Ue,T.exports.moveresults=ae,T.exports.stackerror=oe,T.exports.tryfuncTM=ne},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(8),M=U(5),P=U(7),K=N.constant_types,V=function(ae){switch(ae.type){case K.LUA_TBOOLEAN:case K.LUA_TLIGHTUSERDATA:case K.LUA_TNUMFLT:case K.LUA_TNUMINT:case K.LUA_TTABLE:case K.LUA_TLCL:case K.LUA_TLCF:case K.LUA_TCCL:case K.LUA_TUSERDATA:case K.LUA_TTHREAD:return ae.value;case K.LUA_TSHRSTR:case K.LUA_TLNGSTR:return P.luaS_hashlongstr(ae.tsvalue());default:throw new Error('unknown key type: '+ae.type);}};class G{constructor(ae){this.id=ae.l_G.id_counter++,this.strong=new Map,this.metatable=null}}const H=function(ae,ue){let se=ae.strong.get(ue);return se?se.value:M.luaO_nilobject},Y=function(ae,ue){return E('number'==typeof ue&&(0|ue)===ue),H(ae,ue)},W=function(ae,ue,se){let ne=ae.strong.get(ue);if(ne)return ne.value;let oe=new M.TValue(K.LUA_TNIL,null);return ae.strong.set(ue,{key:se,value:oe}),oe};T.exports.luaH_delete=function(ae,ue){E(ue instanceof M.TValue);let se=V(ue);ae.strong.delete(se)},T.exports.luaH_get=function(ae,ue){return E(ue instanceof M.TValue),ue.ttisnil()?M.luaO_nilobject:H(ae,V(ue))},T.exports.luaH_getint=Y,T.exports.luaH_getn=function(ae){let ue=0,se=ae.strong.size+1;for(;1=q;){if(Z=W,E(Z.isopen()),Z.v===q)return Z;W=Z.open_next}let Q=new K;return Z&&(Q.open_next=Z),J.openupval=Q,Q.L=J,Q.v=q,Q},T.exports.luaF_close=function(J,q){for(;null!==J.openupval&&J.openupval.v>=q;){let W=J.openupval;if(E(W.isopen()),J.openupval=W.open_next,0>>20;0==W&&(q.setFloat64(0,18446744073709552000*J),W=(2047&q.getUint32(0)>>>20)-64);var Z=W-1022,Q=Y(J,-Z);return[Q,Z]},T.exports.ldexp=Y,T.exports.LUAI_MAXSTACK=1e6,T.exports.LUA_IDSIZE=60,T.exports.LUA_INTEGER_FMT=V,T.exports.LUA_INTEGER_FRMLEN=P,T.exports.LUA_NUMBER_FMT='%.14g',T.exports.LUA_NUMBER_FRMLEN='',T.exports.lua_getlocaledecpoint=function(){return 1.1.toLocaleString().substring(1,2)},T.exports.lua_numbertointeger=function(J){return J>=E.MIN_INT&&J<-E.MIN_INT?J:0}},function(T,O){(function(U){T.exports=U}).call(O,{})},function(T){T.exports=function(U){return U.webpackPolyfill||(U.deprecate=function(){},U.paths=[],!U.children&&(U.children=[]),Object.defineProperty(U,'loaded',{enumerable:!0,get:function(){return U.l}}),Object.defineProperty(U,'id',{enumerable:!0,get:function(){return U.i}}),U.webpackPolyfill=1),U}},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(5),M=U(9),P=U(21),K=U(10),V=U(11),G=U(16),F=N.constant_types,H=N.thread_status,Y=N.LUA_NUMTAGS,J=2*N.LUA_MINSTACK;class q{constructor(oe,_e,pe,ce,de,Le){this.func=_e,this.funcOff=oe,this.top=pe,this.previous=de,this.next=Le,this.pcOff=0,this.l_base=ce,this.l_savedpc=[],this.c_k=null,this.c_old_errfunc=null,this.c_ctx=null,this.nresults=0,this.callstatus=0}}class W{constructor(){this.id=null,this.base_ci=new q,this.top=0,this.ci=null,this.ciOff=null,this.stack=[],this.openupval=null,this.status=H.LUA_OK,this.next=null,this.errorJmp=null,this.nny=1,this.errfunc=0}}class Z{constructor(oe){this.id_counter=0,this.mainthread=oe,this.l_registry=new I.TValue(F.LUA_TNIL,null),this.panic=null,this.version=null,this.tmname=Array(G.TMS.TM_N),this.mt=Array(Y)}}const Q=function(oe){oe.stack=Array(J),oe.top=0;let pe=oe.base_ci;pe.next=pe.previous=null,pe.callstatus=0,pe.func=oe.stack[oe.top],pe.funcOff=oe.top,oe.stack[oe.top++]=new I.TValue(F.LUA_TNIL,null),pe.top=oe.top+N.LUA_MINSTACK,oe.ci=pe},$=function(oe,_e){let pe=K.luaH_new(oe);_e.l_registry.sethvalue(pe),K.luaH_setint(pe,N.LUA_RIDX_MAINTHREAD,new I.TValue(F.LUA_TTHREAD,oe)),K.luaH_setint(pe,N.LUA_RIDX_GLOBALS,new I.TValue(F.LUA_TTABLE,K.luaH_new(oe)))},ee=function(oe){let _e=oe.l_G;Q(oe,oe),$(oe,_e),G.luaT_init(oe),_e.version=P.lua_version(null)},te=function(oe,_e){oe.id=_e.id_counter++,oe.l_G=_e,oe.stack=[],oe.ci=null,oe.nci=0,oe.errorJmp=null,oe.nCcalls=0,oe.hook=null,oe.hookmask=0,oe.basehookcount=0,oe.allowhook=1,oe.hookcount=oe.basehookcount,oe.openupval=null,oe.nny=1,oe.status=H.LUA_OK,oe.errfunc=0},se=function(oe){V.luaF_close(oe,oe.stack)};T.exports.lua_State=W,T.exports.CallInfo=q,T.exports.CIST_OAH=1,T.exports.CIST_LUA=2,T.exports.CIST_HOOKED=4,T.exports.CIST_FRESH=8,T.exports.CIST_YPCALL=16,T.exports.CIST_TAIL=32,T.exports.CIST_HOOKYIELD=64,T.exports.CIST_LEQ=128,T.exports.CIST_FIN=256,T.exports.lua_close=function(oe){oe=oe.l_G.mainthread,se(oe)},T.exports.lua_newstate=function(){let oe=new W,_e=new Z(oe);return te(oe,_e),M.luaD_rawrunprotected(oe,ee,null)!==H.LUA_OK&&(oe=null),oe},T.exports.lua_newthread=function(oe){let _e=oe.l_G,pe=new W;return oe.stack[oe.top++]=new I.TValue(F.LUA_TTHREAD,pe),E(oe.top<=oe.ci.top,'stack overflow'),te(pe,_e),pe.hookmask=oe.hookmask,pe.basehookcount=oe.basehookcount,pe.hook=oe.hook,pe.hookcount=pe.basehookcount,Q(pe,oe),pe}},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(5),M=U(9),P=U(15),K=U(7),V=U(10),G=U(8),F=U(17),H=N.constant_types,Y=['no value','nil','boolean','userdata','number','string','table','function','userdata','thread','proto'].map((ue)=>N.to_luastring(ue)),J=function(ue){return Y[ue+1]},q={TM_INDEX:0,TM_NEWINDEX:1,TM_GC:2,TM_MODE:3,TM_LEN:4,TM_EQ:5,TM_ADD:6,TM_SUB:7,TM_MUL:8,TM_MOD:9,TM_POW:10,TM_DIV:11,TM_IDIV:12,TM_BAND:13,TM_BOR:14,TM_BXOR:15,TM_SHL:16,TM_SHR:17,TM_UNM:18,TM_BNOT:19,TM_LT:20,TM_LE:21,TM_CONCAT:22,TM_CALL:23,TM_N:24},Q=function(ue,se,ne,oe,_e,pe){let ce=_e,de=ue.top;ue.stack[ue.top]=new I.TValue(se.type,se.value),ue.stack[ue.top+1]=new I.TValue(ne.type,ne.value),ue.stack[ue.top+2]=new I.TValue(oe.type,oe.value),ue.top+=3,pe||(ue.stack[ue.top++]=new I.TValue(_e.type,_e.value)),ue.ci.callstatus&P.CIST_LUA?M.luaD_call(ue,de,pe):M.luaD_callnoyield(ue,de,pe),pe&&(E('number'==typeof ce),ue.stack[ce]=ue.stack[--ue.top])},$=function(ue,se,ne,oe,_e){let pe=ae(ue,se,_e);return(pe.ttisnil()&&(pe=ae(ue,ne,_e)),!pe.ttisnil())&&(Q(ue,pe,se,ne,oe,1),!0)},ae=function(ue,se,ne){let oe;switch(se.ttnov()){case H.LUA_TTABLE:case H.LUA_TUSERDATA:oe=se.value.metatable;break;default:oe=ue.l_G.mt[se.ttnov()];}return oe?V.luaH_getstr(oe,ue.l_G.tmname[ne]):I.luaO_nilobject};T.exports.TMS=q,T.exports.luaT_callTM=Q,T.exports.luaT_callbinTM=$,T.exports.luaT_trybinTM=function(ue,se,ne,oe,_e){if(!$(ue,se,ne,oe,_e))switch(_e){case q.TM_CONCAT:G.luaG_concaterror(ue,se,ne);case q.TM_BAND:case q.TM_BOR:case q.TM_BXOR:case q.TM_SHL:case q.TM_SHR:case q.TM_BNOT:{let pe=F.tonumber(se),ce=F.tonumber(ne);!1!==pe&&!1!==ce?G.luaG_tointerror(ue,se,ne):G.luaG_opinterror(ue,se,ne,N.to_luastring('perform bitwise operation on',!0))}default:G.luaG_opinterror(ue,se,ne,N.to_luastring('perform arithmetic on',!0));}},T.exports.luaT_callorderTM=function(ue,se,ne,oe){return $(ue,se,ne,ue.top,oe)?ue.stack[ue.top].l_isfalse()?0:1:-1},T.exports.luaT_gettmbyobj=ae,T.exports.luaT_init=function(ue){ue.l_G.tmname[q.TM_INDEX]=new K.luaS_new(ue,N.to_luastring('__index',!0)),ue.l_G.tmname[q.TM_NEWINDEX]=new K.luaS_new(ue,N.to_luastring('__newindex',!0)),ue.l_G.tmname[q.TM_GC]=new K.luaS_new(ue,N.to_luastring('__gc',!0)),ue.l_G.tmname[q.TM_MODE]=new K.luaS_new(ue,N.to_luastring('__mode',!0)),ue.l_G.tmname[q.TM_LEN]=new K.luaS_new(ue,N.to_luastring('__len',!0)),ue.l_G.tmname[q.TM_EQ]=new K.luaS_new(ue,N.to_luastring('__eq',!0)),ue.l_G.tmname[q.TM_ADD]=new K.luaS_new(ue,N.to_luastring('__add',!0)),ue.l_G.tmname[q.TM_SUB]=new K.luaS_new(ue,N.to_luastring('__sub',!0)),ue.l_G.tmname[q.TM_MUL]=new K.luaS_new(ue,N.to_luastring('__mul',!0)),ue.l_G.tmname[q.TM_MOD]=new K.luaS_new(ue,N.to_luastring('__mod',!0)),ue.l_G.tmname[q.TM_POW]=new K.luaS_new(ue,N.to_luastring('__pow',!0)),ue.l_G.tmname[q.TM_DIV]=new K.luaS_new(ue,N.to_luastring('__div',!0)),ue.l_G.tmname[q.TM_IDIV]=new K.luaS_new(ue,N.to_luastring('__idiv',!0)),ue.l_G.tmname[q.TM_BAND]=new K.luaS_new(ue,N.to_luastring('__band',!0)),ue.l_G.tmname[q.TM_BOR]=new K.luaS_new(ue,N.to_luastring('__bor',!0)),ue.l_G.tmname[q.TM_BXOR]=new K.luaS_new(ue,N.to_luastring('__bxor',!0)),ue.l_G.tmname[q.TM_SHL]=new K.luaS_new(ue,N.to_luastring('__shl',!0)),ue.l_G.tmname[q.TM_SHR]=new K.luaS_new(ue,N.to_luastring('__shr',!0)),ue.l_G.tmname[q.TM_UNM]=new K.luaS_new(ue,N.to_luastring('__unm',!0)),ue.l_G.tmname[q.TM_BNOT]=new K.luaS_new(ue,N.to_luastring('__bnot',!0)),ue.l_G.tmname[q.TM_LT]=new K.luaS_new(ue,N.to_luastring('__lt',!0)),ue.l_G.tmname[q.TM_LE]=new K.luaS_new(ue,N.to_luastring('__le',!0)),ue.l_G.tmname[q.TM_CONCAT]=new K.luaS_new(ue,N.to_luastring('__concat',!0)),ue.l_G.tmname[q.TM_CALL]=new K.luaS_new(ue,N.to_luastring('__call',!0))},T.exports.luaT_objtypename=function(ue,se){let ne;if(se.ttistable()&&null!==(ne=se.value.metatable)||se.ttisfulluserdata()&&null!==(ne=se.value.metatable)){let oe=V.luaH_getstr(ne,N.to_luastring('__name',!0));if(oe.ttisstring())return oe.svalue()}return J(se.ttnov())},T.exports.ttypename=J},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(20),M=U(12),P=U(5),K=U(11),V=U(15),G=U(7),F=U(4),H=U(9),Y=U(16),J=U(10),q=U(8),W=N.constant_types,Z=N.LUA_MULTRET,$=function(Pe,ye,De){return ye+De.A},ee=function(Pe,ye,De){return ye+De.B},ae=function(Pe,ye,De,Ke){return I.ISK(Ke.B)?De[I.INDEXK(Ke.B)]:Pe.stack[ye+Ke.B]},ue=function(Pe,ye,De,Ke){return I.ISK(Ke.C)?De[I.INDEXK(Ke.C)]:Pe.stack[ye+Ke.C]},ne=function(Pe,ye,De,Ke){let Be=De.A;0!==Be&&K.luaF_close(Pe,ye.l_base+Be-1),ye.pcOff+=De.sBx+Ke},oe=function(Pe,ye){ne(Pe,ye,ye.l_savedpc[ye.pcOff],1)},_e=function(Pe,ye,De){if(ye.ttisnumber()&&De.ttisnumber())return he(ye,De)?1:0;if(ye.ttisstring()&&De.ttisstring())return 0>Ee(ye.tsvalue(),De.tsvalue())?1:0;let Ke=Y.luaT_callorderTM(Pe,ye,De,Y.TMS.TM_LT);return 0>Ke&&q.luaG_ordererror(Pe,ye,De),Ke?1:0},pe=function(Pe,ye,De){let Ke;return ye.ttisnumber()&&De.ttisnumber()?Oe(ye,De)?1:0:ye.ttisstring()&&De.ttisstring()?0>=Ee(ye.tsvalue(),De.tsvalue())?1:0:(Ke=Y.luaT_callorderTM(Pe,ye,De,Y.TMS.TM_LE),0<=Ke)?Ke?1:0:(Pe.ci.callstatus|=V.CIST_LEQ,Ke=Y.luaT_callorderTM(Pe,ye,De,Y.TMS.TM_LT),Pe.ci.callstatus^=V.CIST_LEQ,0>Ke&&q.luaG_ordererror(Pe,ye,De),1===Ke?0:1)},ce=function(Pe,ye,De){if(ye.ttype()!==De.ttype())return ye.ttnov()!==De.ttnov()||ye.ttnov()!==W.LUA_TNUMBER?0:_Mathfloor(ye.value)===_Mathfloor(De.value)?1:0;let Ke;switch(ye.ttype()){case W.LUA_TNIL:return 1;case W.LUA_TBOOLEAN:return ye.value==De.value?1:0;case W.LUA_TNUMINT:case W.LUA_TNUMFLT:case W.LUA_TLCF:return ye.value===De.value?1:0;case W.LUA_TSHRSTR:case W.LUA_TLNGSTR:return G.luaS_eqlngstr(ye.tsvalue(),De.tsvalue())?1:0;case W.LUA_TLIGHTUSERDATA:case W.LUA_TUSERDATA:case W.LUA_TTABLE:if(ye.value===De.value)return 1;if(null===Pe)return 0;Ke=Y.luaT_gettmbyobj(Pe,ye,Y.TMS.TM_EQ),Ke.ttisnil()&&(Ke=Y.luaT_gettmbyobj(Pe,De,Y.TMS.TM_EQ));break;default:return ye.value===De.value?1:0;}return!Ke||Ke.ttisnil()?0:(Y.luaT_callTM(Pe,Ke,ye,De,Pe.top,1),Pe.stack[Pe.top].l_isfalse()?0:1)},Le=function(Pe,ye){let De=!1,Ke=ge(Pe,0>ye?2:1);if(!1===Ke){let Be=Te(Pe);if(!1===Be)return!1;0ye&&(De=!0)):(Ke=F.LUA_MININTEGER,0<=ye&&(De=!0))}return{casted:!0,stopnow:De,ilimit:Ke}},ge=function(Pe,ye){if(Pe.ttisfloat()){let De=Pe.value,Ke=_Mathfloor(De);if(De!==Ke){if(0===ye)return!1;1=Se&&q.luaG_runerror(Pe,N.to_luastring('\'__index\' chain too long; possible loop',!0)),ye.ttistable()){let Ve=J.luaH_get(ye.value,De);Ve.ttisnil()?Ie(Pe,ye,De,Ke,Ve,Be):Pe.stack[Ke]=new P.TValue(Ve.type,Ve.value)}else Ie(Pe,ye,De,Ke,null,Be)},Ie=function(Pe,ye,De,Ke,Be,Ve){let Ge;if(null===Be)E(!ye.ttistable()),Ge=Y.luaT_gettmbyobj(Pe,ye,Y.TMS.TM_INDEX),Ge.ttisnil()&&q.luaG_typeerror(Pe,ye,N.to_luastring('index',!0));else if(E(Be.ttisnil()),Ge=Y.luaT_gettmbyobj(Pe,ye,Y.TMS.TM_INDEX),Ge.ttisnil())return void(Pe.stack[Ke]=new P.TValue(W.LUA_TNIL,null));return Ge.ttisfunction()?void Y.luaT_callTM(Pe,Ge,ye,De,Ke,1):void Ne(Pe,Ge,De,Ke,Ve+1)},Ce=function(Pe,ye,De,Ke,Be){if(Be=Be?Be:0,Be>=Se&&q.luaG_runerror(Pe,N.to_luastring('\'__newindex\' chain too long; possible loop',!0)),ye.ttistable()){let Ve=J.luaH_set(ye.value,De);Ve.ttisnil()?Me(Pe,ye,De,Ke,Ve,Be):Ve.setfrom(Ke)}else Me(Pe,ye,De,Ke,null,Be)},Me=function(Pe,ye,De,Ke,Be,Ve){let Ge;if(null===Be)Ge=Y.luaT_gettmbyobj(Pe,ye,Y.TMS.TM_NEWINDEX),Ge.ttisnil()&&q.luaG_typeerror(Pe,ye,N.to_luastring('index',!0));else if(E(Be.ttisnil()),Ge=Y.luaT_gettmbyobj(Pe,ye,Y.TMS.TM_NEWINDEX),Ge.ttisnil())return void Be.setfrom(Ke);return Ge.ttisfunction()?void Y.luaT_callTM(Pe,Ge,ye,De,Ke,0):void Ce(Pe,Ge,De,Ke,Ve+1)};T.exports.LEintfloat=xe,T.exports.LEnum=Oe,T.exports.LTintfloat=Ue,T.exports.LTnum=he,T.exports.RA=$,T.exports.RB=ee,T.exports.RC=function(Pe,ye,De){return ye+De.C},T.exports.RKB=ae,T.exports.RKC=ue,T.exports.dojump=ne,T.exports.donextjump=oe,T.exports.forlimit=Le,T.exports.gettable=Ne,T.exports.l_strcmp=Ee,T.exports.luaV_concat=be,T.exports.luaV_equalobj=ce,T.exports.luaV_execute=function(Pe){const ye=I.OpCodesI;let De=Pe.ci;De.callstatus|=V.CIST_FRESH;newframe:for(;;){E(De===Pe.ci);let Ke=De.func.value,Be=Ke.p.k,Ve=De.l_base,Ge=De.l_savedpc[De.pcOff++];Pe.hookmask&(N.LUA_MASKLINE|N.LUA_MASKCOUNT)&&(q.luaG_traceexec(Pe),Ve=De.l_base);let we=$(Pe,Ve,Ge),Fe=Ge.opcode;switch(Fe){case ye.OP_MOVE:{Pe.stack[we]=Pe.stack[ee(Pe,Ve,Ge)];break}case ye.OP_LOADK:{let Xe=Be[Ge.Bx];Pe.stack[we]=new P.TValue(Xe.type,Xe.value);break}case ye.OP_LOADKX:{E(De.l_savedpc[De.pcOff].opcode===ye.OP_EXTRAARG);let Xe=Be[De.l_savedpc[De.pcOff++].Ax];Pe.stack[we]=new P.TValue(Xe.type,Xe.value);break}case ye.OP_LOADBOOL:{Pe.stack[we]=new P.TValue(W.LUA_TBOOLEAN,0!==Ge.B),0!==Ge.C&&De.pcOff++;break}case ye.OP_LOADNIL:{for(let Xe=0;Xe<=Ge.B;Xe++)Pe.stack[we+Xe]=new P.TValue(W.LUA_TNIL,null);break}case ye.OP_GETUPVAL:{let Xe=Ke.upvals[Ge.B].val();Pe.stack[we]=new P.TValue(Xe.type,Xe.value);break}case ye.OP_SETUPVAL:{let Xe=Ke.upvals[Ge.B];null===Xe.v?Xe.value.setfrom(Pe.stack[we]):Xe.L.stack[Xe.v]=Pe.stack[we];break}case ye.OP_GETTABUP:{let Xe=Ke.upvals[Ge.B].val(),He=ue(Pe,Ve,Be,Ge);Ne(Pe,Xe,He,we),Ve=De.l_base;break}case ye.OP_SETTABUP:{let Xe=Ke.upvals[Ge.A].val(),He=ae(Pe,Ve,Be,Ge),je=ue(Pe,Ve,Be,Ge);Ce(Pe,Xe,He,je),Ve=De.l_base;break}case ye.OP_GETTABLE:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge);Ne(Pe,Xe,He,we),Ve=De.l_base;break}case ye.OP_SETTABLE:{let Xe=Pe.stack[we],He=ae(Pe,Ve,Be,Ge),je=ue(Pe,Ve,Be,Ge);Ce(Pe,Xe,He,je),Ve=De.l_base;break}case ye.OP_NEWTABLE:{Pe.stack[we]=new P.TValue(W.LUA_TTABLE,J.luaH_new(Pe));break}case ye.OP_SELF:{let Xe=Pe.stack[ee(Pe,Ve,Ge)],He=ue(Pe,Ve,Be,Ge);Pe.stack[we+1]=Xe,Ne(Pe,Xe,He,we),Ve=De.l_base;break}case ye.OP_ADD:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);Xe.ttisinteger()&&He.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,0|Xe.value+He.value):!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,je+ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_ADD),Ve=De.l_base);break}case ye.OP_SUB:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);Xe.ttisinteger()&&He.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,0|Xe.value-He.value):!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,je-ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_SUB),Ve=De.l_base);break}case ye.OP_MUL:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);Xe.ttisinteger()&&He.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,0|Xe.value*He.value):!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,je*ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_MUL),Ve=De.l_base);break}case ye.OP_MOD:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);Xe.ttisinteger()&&He.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,0|Xe.value-_Mathfloor(Xe.value/He.value)*He.value):!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,je-_Mathfloor(je/ze)*ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_MOD),Ve=De.l_base);break}case ye.OP_POW:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,_Mathpow(je,ze)):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_POW),Ve=De.l_base);break}case ye.OP_DIV:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,je/ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_DIV),Ve=De.l_base);break}case ye.OP_IDIV:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Te(Xe),ze=Te(He);Xe.ttisinteger()&&He.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,0|_Mathfloor(Xe.value/He.value)):!1!==je&&!1!==ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,_Mathfloor(je/ze)):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_IDIV),Ve=De.l_base);break}case ye.OP_BAND:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Ae(Xe),ze=Ae(He);!1!==je&&ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,je&ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_BAND),Ve=De.l_base);break}case ye.OP_BOR:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Ae(Xe),ze=Ae(He);!1!==je&&ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,je|ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_BOR),Ve=De.l_base);break}case ye.OP_BXOR:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Ae(Xe),ze=Ae(He);!1!==je&&ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,je^ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_BXOR),Ve=De.l_base);break}case ye.OP_SHL:{let Xe=ae(Pe,Ve,Be,Ge),He=ue(Pe,Ve,Be,Ge),je=Ae(Xe),ze=Ae(He);!1!==je&&ze?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,je<>ze):(Y.luaT_trybinTM(Pe,Xe,He,we,Y.TMS.TM_SHR),Ve=De.l_base);break}case ye.OP_UNM:{let Xe=Pe.stack[ee(Pe,Ve,Ge)],He=Te(Xe);Xe.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,-Xe.value):!1===He?(Y.luaT_trybinTM(Pe,Xe,Xe,we,Y.TMS.TM_UNM),Ve=De.l_base):Pe.stack[we]=new P.TValue(W.LUA_TNUMFLT,-He);break}case ye.OP_BNOT:{let Xe=Pe.stack[ee(Pe,Ve,Ge)],He=Te(Xe);Xe.ttisinteger()?Pe.stack[we]=new P.TValue(W.LUA_TNUMINT,~Xe.value):(Y.luaT_trybinTM(Pe,Xe,Xe,we,Y.TMS.TM_BNOT),Ve=De.l_base);break}case ye.OP_NOT:{let Xe=Pe.stack[ee(Pe,Ve,Ge)];Pe.stack[we]=new P.TValue(W.LUA_TBOOLEAN,Xe.l_isfalse());break}case ye.OP_LEN:{ke(Pe,we,Pe.stack[ee(Pe,Ve,Ge)]),Ve=De.l_base;break}case ye.OP_CONCAT:{let Xe=Ge.B,He=Ge.C,je;Pe.top=Ve+He+1,be(Pe,He-Xe+1),Ve=De.l_base,we=$(Pe,Ve,Ge),je=Ve+Xe,Pe.stack[we]=Pe.stack[je],Pe.top=De.top;break}case ye.OP_JMP:{ne(Pe,De,Ge,0);break}case ye.OP_EQ:{ce(Pe,ae(Pe,Ve,Be,Ge),ue(Pe,Ve,Be,Ge))===Ge.A?oe(Pe,De):De.pcOff++,Ve=De.l_base;break}case ye.OP_LT:{_e(Pe,ae(Pe,Ve,Be,Ge),ue(Pe,Ve,Be,Ge))===Ge.A?oe(Pe,De):De.pcOff++,Ve=De.l_base;break}case ye.OP_LE:{pe(Pe,ae(Pe,Ve,Be,Ge),ue(Pe,Ve,Be,Ge))===Ge.A?oe(Pe,De):De.pcOff++,Ve=De.l_base;break}case ye.OP_TEST:{(Ge.C?Pe.stack[we].l_isfalse():!Pe.stack[we].l_isfalse())?De.pcOff++:oe(Pe,De);break}case ye.OP_TESTSET:{let Xe=Pe.stack[ee(Pe,Ve,Ge)];(Ge.C?Xe.l_isfalse():!Xe.l_isfalse())?De.pcOff++:(Pe.stack[we]=Xe,oe(Pe,De));break}case ye.OP_CALL:{let Xe=Ge.B,He=Ge.C-1;if(0!==Xe&&(Pe.top=we+Xe),H.luaD_precall(Pe,we,He))0<=He&&(Pe.top=De.top),Ve=De.l_base;else{De=Pe.ci;continue newframe}break}case ye.OP_TAILCALL:{if(0!==Ge.B&&(Pe.top=we+Ge.B),H.luaD_precall(Pe,we,Z))Ve=De.l_base;else{let Xe=Pe.ci,He=Xe.previous,je=Xe.func,ze=Xe.funcOff,Ye=He.funcOff,Je=Xe.l_base+je.value.p.numparams;0He&&(He=0),0>Xe&&(Xe=He,Ve=De.l_base,we=$(Pe,Ve,Ge),Pe.top=we+He),je=0;je=','<=','~=','<<','>>','::','','','','',''];class Q{constructor(Pe,ye,De){this.L=Pe,this.data=ye,this.n=0,this.buffer=null,this.off=0,this.reader=De?De:null,this.reader||(E('string'!=typeof ye,'Should only load binary of array of bytes'),this.buffer=ye?ye:[],this.n=this.buffer instanceof DataView?this.buffer.byteLength:this.buffer.length,this.off=0)}getc(){if(0>=this.n&&this.fill(),0>=this.n)return-1;let Pe;return Pe=this.buffer instanceof DataView?this.buffer.getUint8(this.off++,!0):this.buffer[this.off++],0==this.n--&&(this.buffer=null),Pe}read(Pe){let ye=[];for(;0De.buffer.length&&De.buffer.length>=F.MAX_INT/2&&Te(Pe,N.to_luastring('lexical element too long',!0),0),De.buffer[De.n++]=0>ye?255+ye+1:ye},ue=function(Pe,ye){if(ye=F.MAX_INT&&Te(Pe,N.to_luastring('chunk has too many lines',!0),0)},de=function(Pe,ye){return Pe.current===ye.charCodeAt(0)&&(ne(Pe),!0)},Le=function(Pe,ye){return(Pe.current===ye[0].charCodeAt(0)||Pe.current===ye[1].charCodeAt(0))&&(oe(Pe),!0)},ge=function(Pe,ye){let De='Ee',Ke=Pe.current;for(E(P.lisdigit(Pe.current)),oe(Pe),Ke===Y[0]&&Le(Pe,'xX')&&(De='Pp');;)if(Le(Pe,De)&&Le(Pe,'-+'),P.lisxdigit(Pe.current))oe(Pe);else if(Pe.current===Y['.'])oe(Pe);else break;ae(Pe,0);let Be=K.luaO_str2num(Pe.buff.buffer);return!1===Be&&Te(Pe,N.to_luastring('malformed number',!0),W.TK_FLT),Be.ttisinteger()?(ye.i=Be.value,W.TK_INT):(E(Be.ttisfloat()),ye.r=Be.value,W.TK_FLT)},Ae=function(Pe,ye){return ye===W.TK_NAME||ye===W.TK_STRING||ye===W.TK_FLT||ye===W.TK_INT?(ae(Pe,0),N.to_luastring(`'${N.to_jsstring(Pe.buff.buffer)}'`)):ue(Pe,ye)},Te=function(Pe,ye,De){ye=I.luaG_addinfo(Pe.L,ye,Pe.source,Pe.linenumber),De&&K.luaO_pushfstring(Pe.L,N.to_luastring('%s near %s'),ye,Ae(Pe,De)),M.luaD_throw(Pe.L,H.LUA_ERRSYNTAX)},Oe=function(Pe){let ye=0,De=Pe.current;for(E(De===Y['[']||De===Y[']']),oe(Pe);Pe.current===Y['='];)oe(Pe),ye++;return Pe.current===De?ye:-ye-1},xe=function(Pe,ye,De){let Ke=Pe.linenumber;oe(Pe),se(Pe)&&pe(Pe);for(let Be=!1;!Be;)switch(Pe.current){case-1:{let Ve=ye?'string':'comment',Ge=`unfinished long ${Ve} (starting at line ${Ke})`;Te(Pe,N.to_luastring(Ge),W.TK_EOS);break}case Y[']']:{Oe(Pe)===De&&(oe(Pe),Be=!0);break}case Y['\n']:case Y['\r']:{ae(Pe,Y['\n']),pe(Pe),ye||(Pe.buff.n=0,Pe.buff.buffer=[]);break}default:ye?oe(Pe):ne(Pe);}ye&&(ye.ts=_e(Pe,Pe.buff.buffer.slice(2+De,2+De-2*(2+De))))},Ue=function(Pe,ye,De){ye||(-1!==Pe.current&&oe(Pe),Te(Pe,De,W.TK_STRING))},Ee=function(Pe){return oe(Pe),Ue(Pe,P.lisxdigit(Pe.current),N.to_luastring('hexadecimal digit expected',!0)),K.luaO_hexavalue(Pe.current)},ke=function(Pe){let ye=Ee(Pe);return ye=(ye<<4)+Ee(Pe),Pe.buff.n-=2,ye},ve=function(Pe){let ye=4;oe(Pe),Ue(Pe,Pe.current===Y['{'],N.to_luastring('missing \'{\'',!0));let De=Ee(Pe);for(oe(Pe);P.lisxdigit(Pe.current);)ye++,De=(De<<4)+K.luaO_hexavalue(Pe.current),Ue(Pe,1114111>=De,N.to_luastring('UTF-8 value too large',!0)),oe(Pe);return Ue(Pe,Pe.current===Y['}'],N.to_luastring('missing \'}\'',!0)),ne(Pe),Pe.buff.n-=ye,De},Re=function(Pe){let ye=K.luaO_utf8esc(ve(Pe)),De=ye.buff;for(let Ke=ye.n;0De&&P.lisdigit(Pe.current);De++)ye=10*ye+Pe.current-Y[0],oe(Pe);return Ue(Pe,255>=ye,N.to_luastring('decimal escape too large',!0)),Pe.buff.n-=De,ye},Se=function(Pe,ye,De){for(oe(Pe);Pe.current!==ye;)switch(Pe.current){case-1:Te(Pe,N.to_luastring('unfinished string',!0),W.TK_EOS);break;case Y['\n']:case Y['\r']:Te(Pe,N.to_luastring('unfinished string',!0),W.TK_STRING);break;case Y['\\']:{oe(Pe);let Ke,Be;switch(Pe.current){case Y.a:Be=Y.a,Ke='read_save';break;case Y.b:Be=Y['\b'],Ke='read_save';break;case Y.f:Be=Y['\f'],Ke='read_save';break;case Y.n:Be=Y['\n'],Ke='read_save';break;case Y.r:Be=Y['\r'],Ke='read_save';break;case Y.t:Be=Y['\t'],Ke='read_save';break;case Y.v:Be=Y['\x0B'],Ke='read_save';break;case Y.x:Be=ke(Pe),Ke='read_save';break;case Y.u:Re(Pe),Ke='no_save';break;case Y['\n']:case Y['\r']:pe(Pe),Be=Y['\n'],Ke='only_save';break;case Y['\\']:case Y['"']:case Y['\'']:Be=Pe.current,Ke='read_save';break;case-1:Ke='no_save';break;case Y.z:{for(Pe.buff.n-=1,ne(Pe);P.lisspace(Pe.current);)se(Pe)?pe(Pe):ne(Pe);Ke='no_save';break}default:{Ue(Pe,P.lisdigit(Pe.current),N.to_luastring('invalid escape sequence',!0)),Be=be(Pe),Ke='only_save';break}}'read_save'===Ke&&ne(Pe),('read_save'===Ke||'only_save'===Ke)&&(Pe.buff.n-=1,ae(Pe,Be));break}default:oe(Pe);}oe(Pe),De.ts=_e(Pe,Pe.buff.buffer.slice(1,Pe.buff.n-1))},Ie=function(Pe,ye){for(Pe.buff.n=0,Pe.buff.buffer=[];;)switch(E('number'==typeof Pe.current),Pe.current){case Y['\n']:case Y['\r']:{pe(Pe);break}case Y[' ']:case Y['\f']:case Y['\t']:case Y['\x0B']:{ne(Pe);break}case Y['-']:{if(ne(Pe),Pe.current!==Y['-'])return Y['-'];if(ne(Pe),Pe.current===Y['[']){let De=Oe(Pe);if(Pe.buff.n=0,Pe.buff.buffer=[],0<=De){xe(Pe,null,De),Pe.buff.n=0,Pe.buff.buffer=[];break}}for(;!se(Pe)&&-1!==Pe.current;)ne(Pe);break}case Y['[']:{let De=Oe(Pe);return 0<=De?(xe(Pe,ye,De),W.TK_STRING):(-1!==De&&Te(Pe,N.to_luastring('invalid long string delimiter',!0),W.TK_STRING),Y['['])}case Y['=']:return ne(Pe),de(Pe,'=')?W.TK_EQ:Y['='];case Y['<']:return ne(Pe),de(Pe,'=')?W.TK_LE:de(Pe,'<')?W.TK_SHL:Y['<'];case Y['>']:return ne(Pe),de(Pe,'=')?W.TK_GE:de(Pe,'>')?W.TK_SHR:Y['>'];case Y['/']:return ne(Pe),de(Pe,'/')?W.TK_IDIV:Y['/'];case Y['~']:return ne(Pe),de(Pe,'=')?W.TK_NE:Y['~'];case Y[':']:return ne(Pe),de(Pe,':')?W.TK_DBCOLON:Y[':'];case Y['"']:case Y['\'']:return Se(Pe,Pe.current,ye),W.TK_STRING;case Y['.']:return oe(Pe),de(Pe,'.')?de(Pe,'.')?W.TK_DOTS:W.TK_CONCAT:P.lisdigit(Pe.current)?ge(Pe,ye):Y['.'];case Y[0]:case Y[1]:case Y[2]:case Y[3]:case Y[4]:case Y[5]:case Y[6]:case Y[7]:case Y[8]:case Y[9]:return ge(Pe,ye);case-1:return W.TK_EOS;default:{if(P.lislalpha(Pe.current)){do oe(Pe);while(P.lislalnum(Pe.current));let De=_e(Pe,Pe.buff.buffer);ye.ts=De;let Ke=Z.slice(0,22).indexOf(N.to_jsstring(De.getstr()));return 0<=Ke?Ke+J:W.TK_NAME}let De=Pe.current;return ne(Pe),De}}};T.exports.FIRST_RESERVED=J,T.exports.LexState=class{constructor(){this.current=NaN,this.linenumber=NaN,this.lastline=NaN,this.t=new ee,this.lookahead=new ee,this.fs=null,this.L=null,this.z=new Q,this.buff=new Q,this.h=null,this.dyd=null,this.source=null,this.envn=null}},T.exports.MBuffer=Q,T.exports.RESERVED=q,T.exports.isreserved=function(Pe){return 0<=Z.slice(0,22).indexOf(Pe)},T.exports.luaX_lookahead=function(Pe){return E(Pe.lookahead.token===W.TK_EOS),Pe.lookahead.token=Ie(Pe,Pe.lookahead.seminfo),Pe.lookahead.token},T.exports.luaX_newstring=_e,T.exports.luaX_next=function(Pe){Pe.lastline=Pe.linenumber,Pe.lookahead.token===W.TK_EOS?Pe.t.token=Ie(Pe,Pe.t.seminfo):(Pe.t.token=Pe.lookahead.token,Pe.t.seminfo.i=Pe.lookahead.seminfo.i,Pe.t.seminfo.r=Pe.lookahead.seminfo.r,Pe.t.seminfo.ts=Pe.lookahead.seminfo.ts,Pe.lookahead.token=W.TK_EOS)},T.exports.luaX_setinput=function(Pe,ye,De,Ke,Be){ye.t={token:0,seminfo:{i:NaN,r:NaN,ts:null}},ye.L=Pe,ye.current=Be,ye.lookahead={token:W.TK_EOS,seminfo:{i:NaN,r:NaN,ts:null}},ye.z=De,ye.fs=null,ye.linenumber=1,ye.lastline=1,ye.source=Ke,ye.envn=V.luaS_newliteral(Pe,'_ENV')},T.exports.luaX_syntaxerror=function(Pe,ye){Te(Pe,ye,Pe.t.token)},T.exports.luaX_token2str=ue,T.exports.luaX_tokens=Z},function(T){'use strict';const I=0,M=1,P=2,K=3,V=0,G=1,F=2,H=3,Y=[64|P<<4|I<<2|V,64|K<<4|I<<2|G,64|I<<4|I<<2|G,64|M<<4|M<<2|V,64|M<<4|I<<2|V,64|M<<4|I<<2|V,64|M<<4|K<<2|V,64|P<<4|K<<2|V,0|K<<4|K<<2|V,0|M<<4|I<<2|V,0|K<<4|K<<2|V,64|M<<4|M<<2|V,64|P<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|K<<4|K<<2|V,64|P<<4|I<<2|V,64|P<<4|I<<2|V,64|P<<4|I<<2|V,64|P<<4|I<<2|V,64|P<<4|P<<2|V,0|P<<4|I<<2|F,128|K<<4|K<<2|V,128|K<<4|K<<2|V,128|K<<4|K<<2|V,128|I<<4|M<<2|V,192|P<<4|M<<2|V,64|M<<4|M<<2|V,64|M<<4|M<<2|V,0|M<<4|I<<2|V,64|P<<4|I<<2|F,64|P<<4|I<<2|F,0|I<<4|M<<2|V,64|P<<4|I<<2|F,0|M<<4|M<<2|V,64|M<<4|I<<2|G,64|M<<4|I<<2|V,0|M<<4|M<<2|H],$=9,ee=9,te=$+ee,ae=8,ue=$+ee+ae,se=6,ne=0,oe=ne+se,_e=oe+ae,pe=_e+$,ce=_e,de=oe,Le=(1<>1,Te=(1<>ne&be(se,0),A:We>>oe&be(ae,0),B:We>>pe&be(ee,0),C:We>>_e&be($,0),Bx:We>>ce&be(te,0),Ax:We>>de&be(ue,0),sBx:(We>>ce&be(te,0))-ge};let Ze=We.code;return We.opcode=Ze>>ne&be(se,0),We.A=Ze>>oe&be(ae,0),We.B=Ze>>pe&be(ee,0),We.C=Ze>>_e&be($,0),We.Bx=Ze>>ce&be(te,0),We.Ax=Ze>>de&be(ue,0),We.sBx=(Ze>>ce&be(te,0))-ge,We};T.exports.BITRK=xe,T.exports.CREATE_ABC=function(We,Ze,Qe,$e){return je(We<>4},T.exports.getCMode=function(We){return 3&Y[We]>>2},T.exports.getOpMode=function(We){return 3&Y[We]},T.exports.iABC=V,T.exports.iABx=G,T.exports.iAsBx=F,T.exports.iAx=H,T.exports.testAMode=function(We){return 64&Y[We]},T.exports.testTMode=function(We){return 128&Y[We]}},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(8),M=U(9),P=U(50),K=U(11),V=U(19),G=U(5),F=U(15),H=U(7),Y=U(16),J=U(12),q=U(17),W=U(10),Z=K.MAXUPVAL,Q=N.constant_types,$=N.thread_status,ee=G.TValue,te=G.CClosure,ae=function(ca){return ca!==G.luaO_nilobject},ne=function(ca,da){let La=ca.ci;if(0=ca.top?G.luaO_nilobject:ca.stack[fa]}return da>N.LUA_REGISTRYINDEX?(E(0!=da&&-da<=ca.top,'invalid index'),ca.stack[ca.top+da]):da===N.LUA_REGISTRYINDEX?ca.l_G.l_registry:(da=N.LUA_REGISTRYINDEX-da,E(da<=Z+1,'upvalue index too large'),La.func.ttislcf()?G.luaO_nilobject:da<=La.func.value.nupvalues?La.func.value.upvalue[da-1]:G.luaO_nilobject)},oe=function(ca,da){let La=ca.ci;if(0=ca.top?null:fa}return da>N.LUA_REGISTRYINDEX?(E(0!=da&&-da<=ca.top,'invalid index'),ca.top+da):da===N.LUA_REGISTRYINDEX?null:(da=N.LUA_REGISTRYINDEX-da,E(da<=Z+1,'upvalue index too large'),La.func.ttislcf()?null:da<=La.func.nupvalues?da-1:null)},ge=function(ca,da){let La=ca.ci.funcOff;if(0<=da){for(;ca.topfa;)delete ca.stack[--ca.top]}},Ae=function(ca,da){ge(ca,-da-1)},Te=function(ca,da,La){for(;daN.LUA_REGISTRYINDEX,'index not in the stack'),E((0<=La?La:-La)<=ca.top-da,'invalid \'n\'');let Ta=0<=La?ca.top-1-La:Aa-La-1;Te(ca,Aa,Ta),Te(ca,Ta+1,ca.top-1),Te(ca,Aa,ca.top-1)},Oe=function(ca,da,La){let fa=ne(ca,da);ca.stack[oe(ca,La)]=new ee(fa.type,fa.value)},Me=function(ca,da,La){if(E('function'==typeof da),E('number'==typeof La),0===La)ca.stack[ca.top]=new ee(Q.LUA_TLCF,da);else{E(La=da-La,'results from function overflow current stack size'));let Aa=ca.top-(da+1);null!==ga&&0===ca.nny?(ca.ci.c_k=ga,ca.ci.c_ctx=fa,M.luaD_call(ca,Aa,La)):M.luaD_callnoyield(ca,Aa,La),La===N.LUA_MULTRET&&ca.ci.top=da-La,'results from function overflow current stack size'));let Ta={func:null,funcOff:NaN,nresults:NaN},ha,Oa;if(Oa=0===fa?0:oe(ca,fa),Ta.funcOff=ca.top-(da+1),Ta.func=ca.stack[Ta.funcOff],null===Aa||0=Ct(ca,da)},T.exports.lua_isnumber=function(ca,da){return!1!==q.tonumber(ne(ca,da))},T.exports.lua_isstring=function(ca,da){let La=ne(ca,da);return La.ttisstring()||La.ttisnumber()},T.exports.lua_istable=function(ca,da){return ne(ca,da).ttistable()},T.exports.lua_isthread=function(ca,da){return Ct(ca,da)===Q.LUA_TTHREAD},T.exports.lua_isuserdata=function(ca,da){let La=ne(ca,da);return La.ttisfulluserdata(La)||La.ttislightuserdata()},T.exports.lua_len=function(ca,da){let La=ne(ca,da);q.luaV_objlen(ca,ca.top++,La),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_load=function(ca,da,La,fa,ga){E(Array.isArray(fa),'lua_load expect an array of byte as chunckname'),E(!ga||Array.isArray(ga),'lua_load expect an array of byte as mode');let Aa=new V.MBuffer(ca,La,da);fa||(fa=[N.char['?']]);let Ta=M.luaD_protectedparser(ca,Aa,fa,ga);if(Ta===$.LUA_OK){let ha=ca.stack[ca.top-1].value;if(1<=ha.nupvalues){let Oa=W.luaH_getint(ca.l_G.l_registry.value,N.LUA_RIDX_GLOBALS);ha.upvals[0].value.setfrom(Oa)}}return Ta},T.exports.lua_newtable=function(ca){et(ca,0,0)},T.exports.lua_newuserdata=function(ca,da){let La=at(ca,da);return ca.stack[ca.top++]=new G.TValue(Q.LUA_TUSERDATA,La),E(ca.top<=ca.ci.top,'stack overflow'),La.data},T.exports.lua_next=function(ca,da){let La=ne(ca,da);E(La.ttistable(),'table expected');let fa=W.luaH_next(ca,La.value,ca.top-1);return fa?(ca.top++,E(ca.top<=ca.ci.top,'stack overflow'),1):(ca.top--,0)},T.exports.lua_pcall=function(ca,da,La,fa){return $t(ca,da,La,fa,0,null)},T.exports.lua_pcallk=$t,T.exports.lua_pop=Ae,T.exports.lua_pushboolean=function(ca,da){ca.stack[ca.top++]=new ee(Q.LUA_TBOOLEAN,!!da),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_pushcclosure=Me,T.exports.lua_pushcfunction=ye,T.exports.lua_pushglobaltable=function(ca){Ze(ca,N.LUA_REGISTRYINDEX,N.LUA_RIDX_GLOBALS)},T.exports.lua_pushinteger=function(ca,da){E('number'==typeof da&&(0|da)===da),ca.stack[ca.top++]=new ee(Q.LUA_TNUMINT,da),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_pushjsclosure=Me,T.exports.lua_pushjsfunction=ye,T.exports.lua_pushlightuserdata=function(ca,da){ca.stack[ca.top++]=new ee(Q.LUA_TLIGHTUSERDATA,da),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_pushliteral=function(ca,da){if(E('string'==typeof da||void 0===da||null===da,'lua_pushliteral expects a JS string'),void 0===da||null===da)ca.stack[ca.top]=new ee(Q.LUA_TNIL,null);else{let La=new ee(Q.LUA_TLNGSTR,H.luaS_newliteral(ca,da));ca.stack[ca.top]=La}return ca.top++,E(ca.top<=ca.ci.top,'stack overflow'),da},T.exports.lua_pushlstring=function(ca,da,La){E(Array.isArray(da),'lua_pushlstring expects array of byte'),E('number'==typeof La);let fa=new ee(Q.LUA_TLNGSTR,H.luaS_bless(ca,da.slice(0,La)));return ca.stack[ca.top++]=fa,E(ca.top<=ca.ci.top,'stack overflow'),fa.value},T.exports.lua_pushnil=function(ca){ca.stack[ca.top++]=new ee(Q.LUA_TNIL,null),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_pushnumber=function(ca,da){E('number'==typeof da),ca.stack[ca.top++]=new ee(Q.LUA_TNUMFLT,da),E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_pushstring=function(ca,da){return E(Array.isArray(da)||void 0===da||null===da,'lua_pushstring expects array of byte'),ca.stack[ca.top]=void 0===da||null===da?new ee(Q.LUA_TNIL,null):new ee(Q.LUA_TLNGSTR,H.luaS_new(ca,da)),ca.top++,E(ca.top<=ca.ci.top,'stack overflow'),da},T.exports.lua_pushfstring=function(ca,da,...La){return E(Array.isArray(da)),G.luaO_pushvfstring(ca,da,La)},T.exports.lua_pushvfstring=function(ca,da,La){return E(Array.isArray(da)),G.luaO_pushvfstring(ca,da,La)},T.exports.lua_pushthread=function(ca){return ca.stack[ca.top++]=new ee(Q.LUA_TTHREAD,ca),E(ca.top<=ca.ci.top,'stack overflow'),ca.l_G.mainthread===ca},T.exports.lua_pushvalue=function(ca,da){ca.stack[ca.top]=ne(ca,da),ca.top++,E(ca.top<=ca.ci.top,'stack overflow')},T.exports.lua_rawequal=function(ca,da,La){let fa=ne(ca,da),ga=ne(ca,La);return ae(fa)&&ae(ga)?q.luaV_equalobj(null,fa,ga):0},T.exports.lua_rawget=function(ca,da){let La=ne(ca,da);return E(La.ttistable(La),'table expected'),ca.stack[ca.top-1]=W.luaH_get(La.value,ca.stack[ca.top-1]),ca.stack[ca.top-1].ttnov()},T.exports.lua_rawgeti=Ze,T.exports.lua_rawgetp=function(ca,da,La){let fa=ne(ca,da);E(fa.ttistable(),'table expected');let ga=new ee(Q.LUA_TLIGHTUSERDATA,La);return ca.stack[ca.top++]=W.luaH_get(fa.value,ga),E(ca.top<=ca.ci.top,'stack overflow'),ca.stack[ca.top-1].ttnov()},T.exports.lua_rawlen=function(ca,da){let La=ne(ca,da);switch(La.ttype()){case Q.LUA_TSHRSTR:case Q.LUA_TLNGSTR:return La.vslen();case Q.LUA_TUSERDATA:return La.len;case Q.LUA_TTABLE:return W.luaH_getn(La.value);default:return 0;}},T.exports.lua_rawset=function(ca,da){E(2fa.setUint8(Aa,ga,!0)),fa},T.exports.lua_tointeger=function(ca,da){return q.tointeger(ne(ca,da))},T.exports.lua_tointegerx=function(ca,da){return q.tointeger(ne(ca,da))},T.exports.lua_tojsstring=Tt,T.exports.lua_toljsstring=Tt,T.exports.lua_tolstring=ft,T.exports.lua_tonumber=function(ca,da){return q.tonumber(ne(ca,da))},T.exports.lua_topointer=function(ca,da){let La=ne(ca,da);switch(La.ttype()){case Q.LUA_TTABLE:case Q.LUA_TLCL:case Q.LUA_TCCL:case Q.LUA_TLCF:case Q.LUA_TTHREAD:case Q.LUA_TUSERDATA:case Q.LUA_TLIGHTUSERDATA:return La.value;default:return null;}},T.exports.lua_tostring=ft,T.exports.lua_tothread=function(ca,da){let La=ne(ca,da);return La.ttisthread()?La.value:null},T.exports.lua_touserdata=function(ca,da){let La=ne(ca,da);switch(La.ttnov()){case Q.LUA_TUSERDATA:return La.value.data;case Q.LUA_TLIGHTUSERDATA:return La.value;default:return null;}},T.exports.lua_type=Ct,T.exports.lua_typename=function(ca,da){return E(Q.LUA_TNONE<=da&&da=La,'stack overflow'),ca.top-=La;for(let fa=0;fa$?(E.lua_type(Z,-1)===E.LUA_TSTRING&&(N.luaL_where(Z,1),E.lua_insert(Z,-2),E.lua_concat(Z,2)),E.lua_error(Z)):$},V=function(Z){N.luaL_checktype(Z,1,E.LUA_TFUNCTION);let Q=E.lua_newthread(Z);return E.lua_pushvalue(Z,1),E.lua_xmove(Z,Q,1),1},q={create:V,isyieldable:function(Z){return E.lua_pushboolean(Z,E.lua_isyieldable(Z)),1},resume:function(Z){let Q=I(Z),$=M(Z,Q,E.lua_gettop(Z)-1);return 0>$?(E.lua_pushboolean(Z,0),E.lua_insert(Z,-2),2):(E.lua_pushboolean(Z,1),E.lua_insert(Z,-($+1)),$+1)},running:function(Z){return E.lua_pushboolean(Z,E.lua_pushthread(Z)),2},status:function(Z){let Q=I(Z);if(Z===Q)E.lua_pushliteral(Z,'running');else switch(E.lua_status(Q)){case E.LUA_YIELD:E.lua_pushliteral(Z,'suspended');break;case E.LUA_OK:{let $=new E.lua_Debug;0N.to_luastring(Oe)),pe=function(Oe,xe){N.lua_rawgetp(Oe,N.LUA_REGISTRYINDEX,oe),N.lua_pushthread(Oe),N.lua_rawget(Oe,-2)===N.LUA_TFUNCTION&&(N.lua_pushstring(Oe,_e[xe.event]),0<=xe.currentline?N.lua_pushinteger(Oe,xe.currentline):N.lua_pushnil(Oe),E(N.lua_getinfo(Oe,['l'.charCodeAt(0),'S'.charCodeAt(0)],xe)),N.lua_call(Oe,2,0))},ce=function(Oe,xe){let Ue=0;return-1'.charCodeAt(0)].concat(ve),N.lua_pushvalue(Oe,Ee+1),N.lua_xmove(Oe,ke,1);else if(!N.lua_getstack(ke,I.luaL_checkinteger(Oe,Ee+1),xe))return N.lua_pushnil(Oe),1;return N.lua_getinfo(ke,ve,xe)||I.luaL_argerror(Oe,Ee+2,N.to_luastring('invalid option',!0)),N.lua_newtable(Oe),-1=_Mathabs(Oe)+1?(I.luaL_argcheck(he,0!==Oe,2,N.to_luastring('zero',!0)),N.lua_pushinteger(he,0)):N.lua_pushinteger(he,N.lua_tointeger(he,1)%Oe)}else{let Oe=I.luaL_checknumber(he,1),xe=I.luaL_checknumber(he,2);N.lua_pushnumber(he,+(Oe-_Mathfloor(Oe/xe)*xe).toPrecision(8))}return 1},log:function(he){let Oe=I.luaL_checknumber(he,1),xe;if(N.lua_isnoneornil(he,2))xe=_Mathlog(Oe);else{let Ue=I.luaL_checknumber(he,2);xe=2===Ue?Math.log2(Oe):10===Ue?Math.log10(Oe):_Mathlog(Oe)/_Mathlog(Ue)}return N.lua_pushnumber(he,xe),1},max:function(he){let Oe=N.lua_gettop(he),xe=1;I.luaL_argcheck(he,1<=Oe,1,N.to_luastring('value expected',!0));for(let Ue=2;Ue<=Oe;Ue++)N.lua_compare(he,xe,Ue,N.LUA_OPLT)&&(xe=Ue);return N.lua_pushvalue(he,xe),1},min:function(he){let Oe=N.lua_gettop(he),xe=1;I.luaL_argcheck(he,1<=Oe,1,N.to_luastring('value expected',!0));for(let Ue=2;Ue<=Oe;Ue++)N.lua_compare(he,Ue,xe,N.LUA_OPLT)&&(xe=Ue);return N.lua_pushvalue(he,xe),1},modf:function(he){if(N.lua_isinteger(he,1))N.lua_settop(he,1),N.lua_pushnumber(he,0);else{let Oe=I.luaL_checknumber(he,1),xe=0>Oe?_Mathceil(Oe):_Mathfloor(Oe);$(he,xe),N.lua_pushnumber(he,Oe===xe?0:Oe-xe)}return 2},rad:function(he){return N.lua_pushnumber(he,I.luaL_checknumber(he,1)*(_MathPI/180)),1},random:function(he){let Ue=K(),Oe,xe;switch(N.lua_gettop(he)){case 0:return N.lua_pushnumber(he,Ue),1;case 1:{Oe=1,xe=I.luaL_checkinteger(he,1);break}case 2:{Oe=I.luaL_checkinteger(he,1),xe=I.luaL_checkinteger(he,2);break}default:return I.luaL_error(he,N.to_luastring('wrong number of arguments',!0));}return I.luaL_argcheck(he,Oe<=xe,1,N.to_luastring('interval is empty',!0)),I.luaL_argcheck(he,0<=Oe||xe<=M.MAX_INT+Oe,1,N.to_luastring('interval too large',!0)),Ue*=xe-Oe+1,N.lua_pushinteger(he,_Mathfloor(Ue)+Oe),1},randomseed:function(he){K=E(_Mathabs(I.luaL_checknumber(he,1)))},sin:function(he){return N.lua_pushnumber(he,Math.sin(I.luaL_checknumber(he,1))),1},sqrt:function(he){return N.lua_pushnumber(he,Math.sqrt(I.luaL_checknumber(he,1))),1},tan:function(he){return N.lua_pushnumber(he,Math.tan(I.luaL_checknumber(he,1))),1},tointeger:function(he){let Oe=N.lua_tointegerx(he,1);return!1===Oe?(I.luaL_checkany(he,1),N.lua_pushnil(he)):N.lua_pushinteger(he,Oe),1},type:function(he){return N.lua_type(he,1)===N.LUA_TNUMBER?N.lua_isinteger(he,1)?N.lua_pushliteral(he,'integer'):N.lua_pushliteral(he,'float'):(I.luaL_checkany(he,1),N.lua_pushnil(he)),1},ult:function(he){let Oe=I.luaL_checkinteger(he,1),xe=I.luaL_checkinteger(he,2);return N.lua_pushboolean(he,_Mathabs(Oe)<_Mathabs(xe)),1}};T.exports.luaopen_math=function(he){return I.luaL_newlib(he,Ae),N.lua_pushnumber(he,Math.PI),N.lua_setfield(he,-2,N.to_luastring('pi',!0)),N.lua_pushnumber(he,Infinity),N.lua_setfield(he,-2,N.to_luastring('huge',!0)),N.lua_pushinteger(he,M.MAX_INT),N.lua_setfield(he,-2,N.to_luastring('maxinteger',!0)),N.lua_pushinteger(he,M.MIN_INT),N.lua_setfield(he,-2,N.to_luastring('mininteger',!0)),1}},function(T,O,U){'use strict';(function(E){const N=U(2),I=U(6),M=['-'.charCodeAt(0)],P=N.to_luastring('__CLIBS__',!0),G=N.LUA_DIRSEP,F=N.LUA_DIRSEP,H='luaopen_',J=[1],Z=function(Ne,Ie){try{return Ie=N.to_jsstring(Ie),Ie.startsWith('.')&&(Ie=`${E.env.PWD}/${Ie}`),!function(){var Me=new Error('Cannot find module "."');throw Me.code='MODULE_NOT_FOUND',Me}()}catch(Ce){N.lua_pushjsstring(Ne,Ce.message)}},Q=function(Ne,Ie,Ce){let Me=Ie[N.to_jsstring(Ce)];return Me&&'function'==typeof Me?Me:void N.lua_pushliteral(Ne,`'${N.to_jsstring(Ce)}'`)},$=function(Ne){N.lua_getfield(Ne,N.LUA_REGISTRYINDEX,N.to_luastring('LUA_NOENV'));let Ie=N.lua_toboolean(Ne,-1);return N.lua_pop(Ne,1),Ie};let ee=function(){return!1};const te=1,ae=2,ue=function(Ne,Ie,Ce){let Me=oe(Ne,Ie);if(null===Me){if(Me=Z(Ne,Ie,Ce[0]==='*'.charCodeAt(0)),null===Me)return te;_e(Ne,Ie,Me)}if(Ce[0]==='*'.charCodeAt(0))return N.lua_pushboolean(Ne,1),0;let Pe=Q(Ne,Me,Ce);return null===Pe?ae:(N.lua_pushcfunction(Ne,Pe),0)},ne=function(Ne,Ie,Ce,Me){let Pe=N.lua_pushstring(Ne,N.to_luastring(`${Ce}${N.LUA_VERSUFFIX}`,!0)),ye=E.env[Pe];void 0===ye&&(ye=E.env[Ce]),void 0===ye||$(Ne)?N.lua_pushstring(Ne,N.to_luastring(Me,!0)):(ye=I.luaL_gsub(Ne,N.to_luastring(ye),N.to_luastring(N.LUA_PATH_SEP+N.LUA_PATH_SEP,!0),N.to_luastring(N.LUA_PATH_SEP,!0).concat(J).concat(N.to_luastring(N.LUA_PATH_SEP,!0))),I.luaL_gsub(Ne,ye,J,N.to_luastring(Me)),N.lua_remove(Ne,-2)),N.lua_setfield(Ne,-3,Ie),N.lua_pop(Ne,1)},oe=function(Ne,Ie){N.lua_rawgetp(Ne,N.LUA_REGISTRYINDEX,P),N.lua_getfield(Ne,-1,Ie);let Ce=N.lua_touserdata(Ne,-1);return N.lua_pop(Ne,2),Ce},_e=function(Ne,Ie,Ce){N.lua_rawgetp(Ne,N.LUA_REGISTRYINDEX,P),N.lua_pushlightuserdata(Ne,Ce),N.lua_pushvalue(Ne,-1),N.lua_setfield(Ne,-3,Ie),N.lua_rawseti(Ne,-2,I.luaL_len(Ne,-2)+1),N.lua_pop(Ne,1)},pe=function(Ne,Ie){for(;Ie[0]===N.LUA_PATH_SEP.charCodeAt(0);)Ie=Ie.slice(1);if(0===Ie.length)return null;let Ce=Ie.indexOf(N.LUA_PATH_SEP.charCodeAt(0));return 0>Ce&&(Ce=Ie.length),N.lua_pushlstring(Ne,Ie,Ce),Ie.slice(Ce)},ce=function(Ne,Ie,Ce,Me,Pe){let ye=[];for(0!==Me[0]&&(Ie=I.luaL_gsub(Ne,Ie,Me,Pe));null!==(Ce=pe(Ne,Ce));){let De=I.luaL_gsub(Ne,N.lua_tostring(Ne,-1),N.to_luastring(N.LUA_PATH_MARK,!0),Ie);if(N.lua_remove(Ne,-2),ee(De))return De;N.lua_remove(Ne,-1),ye.push(...N.to_luastring(`\n\tno file '${N.to_jsstring(De)}'`))}return N.lua_pushstring(Ne,ye),null},Le=function(Ne,Ie,Ce,Me){N.lua_getfield(Ne,N.lua_upvalueindex(1),Ce);let Pe=N.lua_tostring(Ne,-1);return null===Pe&&I.luaL_error(Ne,N.to_luastring('\'package.%s\' must be a string'),Ce),ce(Ne,Ie,Pe,['.'.charCodeAt(0)],Me)},ge=function(Ne,Ie,Ce){return Ie?(N.lua_pushstring(Ne,Ce),2):I.luaL_error(Ne,N.to_luastring('error loading module \'%s\' from file \'%s\':\n\t%s'),N.lua_tostring(Ne,1),Ce,N.lua_tostring(Ne,1))},Ae=function(Ne){let Ie=I.luaL_checkstring(Ne,1),Ce=Le(Ne,Ie,N.to_luastring('path',!0),N.to_luastring(F,!0));return null===Ce?1:ge(Ne,I.luaL_loadfile(Ne,Ce)===N.LUA_OK,Ce)},Te=function(Ne,Ie,Ce){let Me;Ce=I.luaL_gsub(Ne,Ce,['.'.charCodeAt(0)],'_');let Pe=Ce.indexOf(M[0]);if(0<=Pe){Me=N.lua_pushlstring(Ne,Ce,Pe),Me=N.lua_pushstring(Ne,N.to_luastring(`${H}${Me}`));let ye=ue(Ne,Ie,Me);if(ye!==ae)return ye;Ce=Pe+1}return Me=N.lua_pushstring(Ne,N.to_luastring(`${H}${Ce}`)),ue(Ne,Ie,Me)},he=function(Ne){let Ie=I.luaL_checkstring(Ne,1),Ce=Le(Ne,Ie,N.to_luastring('cpath',!0),N.to_luastring(G,!0));return null===Ce?1:ge(Ne,0===Te(Ne,Ce,Ie),Ce)},Oe=function(Ne){let Ie=I.luaL_checkstring(Ne,1),Ce=Ie.indexOf('.'.charCodeAt(0)),Me;if(0>Ce)return 0;N.lua_pushlstring(Ne,Ie,Ce);let Pe=Le(Ne,N.lua_tostring(Ne,-1),N.to_luastring('cpath',!0),N.to_luastring(G,!0));return null===Pe?1:0===(Me=Te(Ne,Pe,Ie))?(N.lua_pushstring(Ne,Pe),2):Me==ae?(N.lua_pushstring(Ne,N.to_luastring(`\n\tno module '${N.to_jsstring(Ie)}' in file '${N.to_jsstring(Pe)}'`)),1):ge(Ne,0,Pe)},xe=function(Ne){let Ie=I.luaL_checkstring(Ne,1);return N.lua_getfield(Ne,N.LUA_REGISTRYINDEX,N.to_luastring(I.LUA_PRELOAD_TABLE,!0)),N.lua_getfield(Ne,-1,Ie)===N.LUA_TNIL&&N.lua_pushliteral(Ne,`\n\tno field package.preload['${N.to_jsstring(Ie)}']`),1},Ue=function(Ne,Ie){let Ce=[];N.lua_getfield(Ne,N.lua_upvalueindex(1),N.to_luastring('searchers',!0))!==N.LUA_TTABLE&&I.luaL_error(Ne,N.to_luastring('\'package.searchers\' must be a table'));for(let Me=1;;Me++){if(N.lua_rawgeti(Ne,3,Me)===N.LUA_TNIL&&(N.lua_pop(Ne,1),N.lua_pushstring(Ne,Ce),I.luaL_error(Ne,N.to_luastring('module \'%s\' not found:%s'),Ie,N.lua_tostring(Ne,-1))),N.lua_pushstring(Ne,Ie),N.lua_call(Ne,1,2),N.lua_isfunction(Ne,-2))return;N.lua_isstring(Ne,-2)?(N.lua_pop(Ne,1),Ce.push(...N.lua_tostring(Ne,-1)),N.lua_remove(Ne,-1)):N.lua_pop(Ne,2)}},ke={loadlib:function(Ne){let Ie=I.luaL_checkstring(Ne,1),Ce=I.luaL_checkstring(Ne,2),Me=ue(Ne,Ie,Ce);return 0===Me?1:(N.lua_pushnil(Ne),N.lua_insert(Ne,-2),N.lua_pushjsstring(Ne,Me===te?'absent':'init'),3)},searchpath:function(Ne){let Ie=ce(Ne,I.luaL_checkstring(Ne,1),I.luaL_checkstring(Ne,2),I.luaL_optstring(Ne,3,['.'.charCodeAt(0)]),I.luaL_optstring(Ne,4,[N.LUA_DIRSEP.charCodeAt(0)]));return null===Ie?(N.lua_pushnil(Ne),N.lua_insert(Ne,-2),2):1}},ve={require:function(Ne){let Ie=I.luaL_checkstring(Ne,1);return(N.lua_settop(Ne,1),N.lua_getfield(Ne,N.LUA_REGISTRYINDEX,N.to_luastring(I.LUA_LOADED_TABLE,!0)),N.lua_getfield(Ne,2,Ie),N.lua_toboolean(Ne,-1))?1:(N.lua_pop(Ne,1),Ue(Ne,Ie),N.lua_pushstring(Ne,Ie),N.lua_insert(Ne,-2),N.lua_call(Ne,2,1),N.lua_isnil(Ne,-1)||N.lua_setfield(Ne,2,Ie),N.lua_getfield(Ne,2,Ie)==N.LUA_TNIL&&(N.lua_pushboolean(Ne,1),N.lua_pushvalue(Ne,-1),N.lua_setfield(Ne,2,Ie)),1)}},Re=function(Ne){let Ie=[xe,Ae,he,Oe,null];N.lua_createtable(Ne);for(let Ce=0;Ie[Ce];Ce++)N.lua_pushvalue(Ne,-2),N.lua_pushcclosure(Ne,Ie[Ce],1),N.lua_rawseti(Ne,-2,Ce+1);N.lua_setfield(Ne,-2,N.to_luastring('searchers',!0))},be=function(Ne){N.lua_newtable(Ne),N.lua_createtable(Ne,0,1),N.lua_setmetatable(Ne,-2),N.lua_rawsetp(Ne,N.LUA_REGISTRYINDEX,P)};T.exports.luaopen_package=function(Ne){return be(Ne),I.luaL_newlib(Ne,ke),Re(Ne),ne(Ne,N.to_luastring('path',!0),'LUA_PATH',N.LUA_PATH_DEFAULT),ne(Ne,N.to_luastring('cpath',!0),'LUA_CPATH',N.LUA_CPATH_DEFAULT),N.lua_pushliteral(Ne,N.LUA_DIRSEP+'\n'+N.LUA_PATH_SEP+'\n'+N.LUA_PATH_MARK+'\n'+N.LUA_EXEC_DIR+'\n'+M+'\n'),N.lua_setfield(Ne,-2,N.to_luastring('config',!0)),I.luaL_getsubtable(Ne,N.LUA_REGISTRYINDEX,N.to_luastring(I.LUA_LOADED_TABLE,!0)),N.lua_setfield(Ne,-2,N.to_luastring('loaded',!0)),I.luaL_getsubtable(Ne,N.LUA_REGISTRYINDEX,N.to_luastring(I.LUA_PRELOAD_TABLE,!0)),N.lua_setfield(Ne,-2,N.to_luastring('preload',!0)),N.lua_pushglobaltable(Ne),N.lua_pushvalue(Ne,-2),I.luaL_setfuncs(Ne,ve,1),N.lua_pop(Ne,1),1}}).call(O,U(18))},function(T,O,U){'use strict';(function(E){const N=U(2),I=U(6),M=U(4),P=U(42),K=N.to_luastring('aAbBcdHIjmMpSUwWxXyYZ%',!0),V=N.to_luastring('aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%||EcECExEXEyEYOdOeOHOIOmOMOSOuOUOVOwOWOy',!0),G=N.to_luastring('aAbBcdHIjmMpSUwWxXyYzZ%||#c#x#d#H#I#j#m#M#S#U#w#W#y#Y',!0),H=function(se,ne,oe){N.lua_pushinteger(se,oe),N.lua_setfield(se,-2,N.to_luastring(ne,!0))},Y=function(se,ne,oe){H(se,'sec',oe?ne.getUTCSeconds():ne.getSeconds()),H(se,'min',oe?ne.getUTCMinutes():ne.getMinutes()),H(se,'hour',oe?ne.getUTCHours():ne.getHours()),H(se,'day',oe?ne.getUTCDate():ne.getDate()),H(se,'month',oe?ne.getUTCMonth():ne.getMonth()),H(se,'year',oe?ne.getUTCFullYear():ne.getFullYear()),H(se,'wday',oe?ne.getUTCDay():ne.getDay());let _e=new Date;H(se,'yday',_Mathfloor((_e-new Date(_e.getFullYear(),0,0))/86400000))},J=M.MAX_INT/2,q=function(se,ne,oe,_e){let pe=N.lua_getfield(se,-1,N.to_luastring(ne,!0)),ce=N.lua_tointegerx(se,-1);if(!1===ce){if(pe!==N.LUA_TNIL)return I.luaL_error(se,N.to_luastring(`field '${ne}' is not an integer`),!0);if(0>oe)return I.luaL_error(se,N.to_luastring(`field '${ne}' missing in date table`),!0);ce=oe}else{if(!(-J<=ce&&ce<=J))return I.luaL_error(se,N.to_luastring(`field '${ne}' is out-of-bound`),!0);ce-=_e}return N.lua_pop(se,1),ce},W=function(se,ne,oe){for(let _e=K,pe=1;0<_e.length&&pe<=ne.length;_e=_e.slice(pe))if(_e[0]==='|'.charCodeAt(0))pe++;else if(N.to_jsstring(ne.slice(0,pe))===N.to_jsstring(_e.slice(0,pe)))return oe.push(...ne.slice(0,pe)),ne.slice(pe);I.luaL_argerror(se,1,N.lua_pushliteral(se,`invalid conversion specifier '%${ne}'`,ne))},ee=function(se,ne){let oe=I.luaL_checkinteger(se,ne);return oe},ae={date:function(se){let ne=I.luaL_optlstring(se,1,'%c'),oe=1e3*I.luaL_opt(se,ee,2,new Date().getTime()/1e3),_e=new Date(oe),pe=!1;if(ne[0]==='!'.charCodeAt(0)&&(pe=!0,ne=ne.slice(1)),null===_e&&I.luaL_error(se,N.to_luastring('time result cannot be represented in this installation',!0)),'*t'===N.to_jsstring(ne))N.lua_createtable(se,0,9),Y(se,_e,pe);else{let de=[],ce;for(;0oa&&he(sa,oa,_a)},xe=function(sa,na){return sa.t.token===na&&(P.luaX_next(sa),!0)},Ue=function(sa,na){sa.t.token!==na&&Te(sa,na)},Ee=function(sa,na){Ue(sa,na),P.luaX_next(sa)},ke=function(sa,na,oa){na||P.luaX_syntaxerror(sa,oa)},ve=function(sa,na,oa,_a){xe(sa,na)||(_a===sa.linenumber?Te(sa,na):P.luaX_syntaxerror(sa,V.luaO_pushfstring(sa.L,N.to_luastring('%s expected (to close %s at line %d)'),P.luaX_token2str(sa,na),P.luaX_token2str(sa,oa),_a)))},Re=function(sa){Ue(sa,W.TK_NAME);let na=sa.t.seminfo.ts;return P.luaX_next(sa),na},be=function(sa,na,oa){sa.f=sa.t=I.NO_JUMP,sa.k=na,sa.u.info=oa},Se=function(sa,na,oa){be(na,se.VK,I.luaK_stringK(sa.fs,oa))},Ne=function(sa,na){Se(sa,na,Re(sa))},Ie=function(sa,na){let oa=sa.fs,_a=oa.f;return _a.locvars[oa.nlocvars]=new V.LocVar,_a.locvars[oa.nlocvars].varname=na,oa.nlocvars++},Ce=function(sa,na){let oa=sa.fs,_a=sa.dyd,ia=Ie(sa,na);Oe(oa,_a.actvar.n+1-oa.firstlocal,200,N.to_luastring('local variables',!0)),_a.actvar.arr[_a.actvar.n]=new ce,_a.actvar.arr[_a.actvar.n].idx=ia,_a.actvar.n++},Me=function(sa,na){Ce(sa,P.luaX_newstring(sa,N.to_luastring(na,!0)))},Pe=function(sa,na){let oa=sa.ls.dyd.actvar.arr[sa.firstlocal+na].idx;return E(oana;)Pe(sa,--sa.nactvar).endpc=sa.pc},Ke=function(sa,na){let oa=sa.f.upvalues;for(let _a=0;_ana;)oa=oa.previous;oa.upval=1},we=function(sa,na,oa,_a){if(null===sa)be(oa,se.VVOID,0);else{let ia=Ve(sa,na);if(0<=ia)be(oa,se.VLOCAL,ia),_a||Ge(sa,ia);else{let pa=Ke(sa,na);if(0>pa){if(we(sa.prev,na,oa,0),oa.k===se.VVOID)return;pa=Be(sa,na,oa)}be(oa,se.VUPVAL,pa)}}},Fe=function(sa,na){let oa=Re(sa),_a=sa.fs;if(we(_a,oa,na,1),na.k===se.VVOID){let ia=new _e;we(_a,sa.envn,na,1),E(na.k!==se.VVOID),Se(sa,ia,oa),I.luaK_indexed(_a,na,ia)}},Xe=function(sa,na,oa,_a){let ia=sa.fs,pa=na-oa;if(te(_a.k))pa++,0>pa&&(pa=0),I.luaK_setreturns(ia,_a,pa),1na&&(sa.fs.freereg-=oa-na)},He=function(sa){let na=sa.L;++na.nCcalls,Oe(sa.fs,na.nCcalls,K.LUAI_MAXCCALLS,N.to_luastring('JS levels',!0))},je=function(sa){return sa.L.nCcalls--},ze=function(sa,na,oa){let _a=sa.fs,ia=sa.dyd.gt,pa=ia.arr[na];if(E(ae(pa.name,oa.name)),pa.nactvar at line %d jumps into the scope of local \'%s\''),pa.name,pa.line,ca);Ae(sa,da)}I.luaK_patchlist(_a,pa.pc,oa.pc);for(let ca=na;caca.nactvar&&(oa.upval||_a.label.n>oa.firstlabel)&&I.luaK_patchclose(sa.fs,ia.pc,ca.nactvar),ze(sa,na,ca),!0;return!1},Je=function(sa,na,oa,_a,ia){let pa=na.n;return na.arr[pa]=new de,na.arr[pa].name=oa,na.arr[pa].line=_a,na.arr[pa].nactvar=sa.fs.nactvar,na.arr[pa].pc=ia,na.n=pa+1,pa},qe=function(sa,na){for(let oa=sa.dyd.gt,_a=sa.fs.bl.firstgoto;_ana.nactvar&&(na.upval&&I.luaK_patchclose(sa,ia.pc,na.nactvar),ia.nactvar=na.nactvar),Ye(sa.ls,oa)||oa++},Ze=function(sa,na,oa){na.isloop=oa,na.nactvar=sa.nactvar,na.firstlabel=sa.ls.dyd.label.n,na.firstgoto=sa.ls.dyd.gt.n,na.upval=0,na.previous=sa.bl,sa.bl=na,E(sa.freereg===sa.nactvar)},Qe=function(sa){let na=F.luaS_newliteral(sa.L,'break'),oa=Je(sa,sa.dyd.label,na,0,sa.fs.pc);qe(sa,sa.dyd.label.arr[oa])},$e=function(sa,na){let oa=P.isreserved(na.name)?'<%s> at line %d not inside a loop':'no visible label \'%s\' for at line %d';oa=V.luaO_pushfstring(sa.L,N.to_luastring(oa),na.name,na.line),Ae(sa,oa)},et=function(sa){let na=sa.L,oa=new q(na),_a=sa.fs,ia=_a.f;return ia.p[_a.np++]=oa,oa},at=function(sa,na){let oa=sa.fs.prev;be(na,se.VRELOCABLE,I.luaK_codeABx(oa,J.OP_CLOSURE,0,oa.np-1)),I.luaK_exp2nextreg(oa,na)},lt=function(sa,na,oa){na.prev=sa.fs,na.ls=sa,sa.fs=na,na.pc=0,na.lasttarget=0,na.jpc=I.NO_JUMP,na.freereg=0,na.nk=0,na.np=0,na.nups=0,na.nlocvars=0,na.nactvar=0,na.firstlocal=sa.dyd.actvar.n,na.bl=null;let _a=new q(sa.L);_a=na.f,_a.source=sa.source,_a.maxstacksize=2,Ze(na,oa,!1)},ut=function(sa){let na=sa.bl,oa=sa.ls;if(na.previous&&na.upval){let _a=I.luaK_jump(sa);I.luaK_patchclose(sa,_a,na.nactvar),I.luaK_patchtohere(sa,_a)}na.isloop&&Qe(oa),sa.bl=na.previous,De(sa,na.nactvar),E(na.nactvar===sa.nactvar),sa.freereg=sa.nactvar,oa.dyd.label.n=na.firstlabel,na.previous?We(sa,na):na.firstgoto or \'...\' expected',!0));}while(!oa.is_vararg&&xe(sa,$[',']));ye(sa,_a),oa.numparams=na.nactvar,I.luaK_reserveregs(na,na.nactvar)},ht=function(sa,na,oa,_a){let ia=new pe,pa=new ue;ia.f=et(sa),ia.f.linedefined=_a,lt(sa,ia,pa),Ee(sa,$['(']),oa&&(Me(sa,'self'),ye(sa,1)),Tt(sa),Ee(sa,$[')']),nt(sa),ia.f.lastlinedefined=sa.linenumber,ve(sa,W.TK_END,W.TK_FUNCTION,_a),at(sa,na),rt(sa)},Ot=function(sa,na){let oa=1;for(It(sa,na);xe(sa,$[',']);)I.luaK_exp2nextreg(sa.fs,na),It(sa,na),oa++;return oa},xt=function(sa,na,oa){let _a=sa.fs,ia=new _e;switch(sa.t.token){case $['(']:{P.luaX_next(sa),sa.t.token===$[')']?ia.k=se.VVOID:(Ot(sa,ia),I.luaK_setmultret(_a,ia)),ve(sa,$[')'],$['('],oa);break}case $['{']:{At(sa,ia);break}case W.TK_STRING:{Se(sa,ia,sa.t.seminfo.ts),P.luaX_next(sa);break}default:P.luaX_syntaxerror(sa,N.to_luastring('function arguments expected',!0));}E(na.k===se.VNONRELOC);let ca=na.u.info,pa;te(ia.k)?pa=N.LUA_MULTRET:(ia.k!==se.VVOID&&I.luaK_exp2nextreg(_a,ia),pa=_a.freereg-(ca+1)),be(na,se.VCALL,I.luaK_codeABC(_a,J.OP_CALL,ca,pa+1,2)),I.luaK_fixline(_a,oa),_a.freereg=ca+1},Ut=function(sa,na){switch(sa.t.token){case $['(']:{let oa=sa.linenumber;return P.luaX_next(sa),It(sa,na),ve(sa,$[')'],$['('],oa),void I.luaK_dischargevars(sa.fs,na)}case W.TK_NAME:return void Fe(sa,na);default:P.luaX_syntaxerror(sa,N.to_luastring('unexpected symbol',!0));}},Et=function(sa,na){let oa=sa.fs,_a=sa.linenumber;for(Ut(sa,na);;)switch(sa.t.token){case $['.']:{ot(sa,na);break}case $['[']:{let ia=new _e;I.luaK_exp2anyregup(oa,na),_t(sa,ia),I.luaK_indexed(oa,na,ia);break}case $[':']:{let ia=new _e;P.luaX_next(sa),Ne(sa,ia),I.luaK_self(oa,na,ia),xt(sa,na,_a);break}case $['(']:case W.TK_STRING:case $['{']:{I.luaK_exp2nextreg(oa,na),xt(sa,na,_a);break}default:return;}},kt=function(sa,na){switch(sa.t.token){case W.TK_FLT:{be(na,se.VKFLT,0),na.u.nval=sa.t.seminfo.r;break}case W.TK_INT:{be(na,se.VKINT,0),na.u.ival=sa.t.seminfo.i;break}case W.TK_STRING:{Se(sa,na,sa.t.seminfo.ts);break}case W.TK_NIL:{be(na,se.VNIL,0);break}case W.TK_TRUE:{be(na,se.VTRUE,0);break}case W.TK_FALSE:{be(na,se.VFALSE,0);break}case W.TK_DOTS:{let oa=sa.fs;ke(sa,oa.f.is_vararg,N.to_luastring('cannot use \'...\' outside a vararg function',!0)),be(na,se.VVARARG,I.luaK_codeABC(oa,J.OP_VARARG,0,1,0));break}case $['{']:return void At(sa,na);case W.TK_FUNCTION:return P.luaX_next(sa),void ht(sa,na,0,sa.linenumber);default:return void Et(sa,na);}P.luaX_next(sa)},vt=function(sa){return sa===W.TK_NOT?Q.OPR_NOT:sa===$['-']?Q.OPR_MINUS:sa===$['~']?Q.OPR_BNOT:sa===$['#']?Q.OPR_LEN:Q.OPR_NOUNOPR},Rt=function(sa){return sa===$['+']?Y.OPR_ADD:sa===$['-']?Y.OPR_SUB:sa===$['*']?Y.OPR_MUL:sa===$['%']?Y.OPR_MOD:sa===$['^']?Y.OPR_POW:sa===$['/']?Y.OPR_DIV:sa===W.TK_IDIV?Y.OPR_IDIV:sa===$['&']?Y.OPR_BAND:sa===$['|']?Y.OPR_BOR:sa===$['~']?Y.OPR_BXOR:sa===W.TK_SHL?Y.OPR_SHL:sa===W.TK_SHR?Y.OPR_SHR:sa===W.TK_CONCAT?Y.OPR_CONCAT:sa===W.TK_NE?Y.OPR_NE:sa===W.TK_EQ?Y.OPR_EQ:sa===$['<']?Y.OPR_LT:sa===W.TK_LE?Y.OPR_LE:sa===$['>']?Y.OPR_GT:sa===W.TK_GE?Y.OPR_GE:sa===W.TK_AND?Y.OPR_AND:sa===W.TK_OR?Y.OPR_OR:Y.OPR_NOBINOPR},bt=[{left:10,right:10},{left:10,right:10},{left:11,right:11},{left:11,right:11},{left:14,right:13},{left:11,right:11},{left:11,right:11},{left:6,right:6},{left:4,right:4},{left:5,right:5},{left:7,right:7},{left:7,right:7},{left:9,right:8},{left:3,right:3},{left:3,right:3},{left:3,right:3},{left:3,right:3},{left:3,right:3},{left:3,right:3},{left:2,right:2},{left:1,right:1}],Nt=function(sa,na,oa){He(sa);let _a=vt(sa.t.token);if(_a!==Q.OPR_NOUNOPR){let pa=sa.linenumber;P.luaX_next(sa),Nt(sa,na,12),I.luaK_prefix(sa.fs,_a,na,pa)}else kt(sa,na);let ia=Rt(sa.t.token);for(;ia!==Y.OPR_NOBINOPR&&bt[ia].left>oa;){let pa=new _e,ca=sa.linenumber;P.luaX_next(sa),I.luaK_infix(sa.fs,ia,na);let da=Nt(sa,pa,bt[ia].right);I.luaK_posfix(sa.fs,ia,na,pa,ca),ia=da}return je(sa),ia},It=function(sa,na){Nt(sa,na,0)},Ct=function(sa){let na=sa.fs,oa=new ue;Ze(na,oa,0),nt(sa),ut(na)};class Mt{constructor(){this.prev=null,this.v=new _e}}const Pt=function(sa,na,oa){let _a=sa.fs,ia=_a.freereg,pa=!1;for(;na;na=na.prev)na.v.k===se.VINDEXED&&(na.v.u.ind.vt===oa.k&&na.v.u.ind.t===oa.u.info&&(pa=!0,na.v.u.ind.vt=se.VLOCAL,na.v.u.ind.t=ia),oa.k===se.VLOCAL&&na.v.u.ind.idx===oa.u.info&&(pa=!0,na.v.u.ind.idx=ia));if(pa){let ca=oa.k===se.VLOCAL?J.OP_MOVE:J.OP_GETUPVAL;I.luaK_codeABC(_a,ca,ia,oa.u.info,0),I.luaK_reserveregs(_a,1)}},yt=function(sa,na,oa){let _a=new _e;if(ke(sa,ne(na.v.k),N.to_luastring('syntax error',!0)),xe(sa,$[','])){let ia=new Mt;ia.prev=na,Et(sa,ia.v),ia.v.k!==se.VINDEXED&&Pt(sa,na,ia.v),Oe(sa.fs,oa+sa.L.nCcalls,K.LUAI_MAXCCALLS,N.to_luastring('JS levels',!0)),yt(sa,ia,oa+1)}else{Ee(sa,$['=']);let ia=Ot(sa,_a);if(ia!==oa)Xe(sa,oa,ia,_a);else return I.luaK_setoneret(sa.fs,_a),void I.luaK_storevar(sa.fs,na.v,_a)}be(_a,se.VNONRELOC,sa.fs.freereg-1),I.luaK_storevar(sa.fs,na.v,_a)},Dt=function(sa){let na=new _e;return It(sa,na),na.k===se.VNIL&&(na.k=se.VFALSE),I.luaK_goiftrue(sa.fs,na),na.f},Kt=function(sa,na){let oa=sa.linenumber,_a;xe(sa,W.TK_GOTO)?_a=Re(sa):(P.luaX_next(sa),_a=F.luaS_newliteral(sa.L,'break'));let ia=Je(sa,sa.dyd.gt,_a,oa,na);Ye(sa,ia)},Bt=function(sa,na,oa){for(let _a=sa.bl.firstlabel;_a=sa.fs.freereg&&sa.fs.freereg>=sa.fs.nactvar),sa.fs.freereg=sa.fs.nactvar,je(sa)},la=function(sa,na){let oa=new ue,_a=new _e;lt(sa,na,oa),na.f.is_vararg=!0,be(_a,se.VLOCAL,0),Be(na,sa.envn,_a),P.luaX_next(sa),nt(sa),Ue(sa,W.TK_EOS),rt(sa)};T.exports.Dyndata=class{constructor(){this.actvar={arr:[],n:NaN,size:NaN},this.gt=new Le,this.label=new Le}},T.exports.expkind=se,T.exports.expdesc=_e,T.exports.luaY_parser=function(sa,na,oa,_a,ia,pa){let ca=new P.LexState,da=new pe,La=M.luaF_newLclosure(sa,1);return sa.stack[sa.top++]=new Z(N.CT.LUA_TLCL,La),ca.h=H.luaH_new(sa),sa.stack[sa.top++]=ca.h,da.f=La.p=new q(sa),da.f.source=F.luaS_new(sa,ia),ca.buff=oa,ca.dyd=_a,_a.actvar.n=_a.gt.n=_a.label.n=0,P.luaX_setinput(sa,ca,na,da.f.source,pa),la(ca,da),E(!da.prev&&1===da.nups&&!ca.fs),E(0===_a.actvar.n&&0===_a.gt.n&&0===_a.label.n),sa.top--,La},T.exports.vkisinreg=function(sa){return sa===se.VNONRELOC||sa===se.VLOCAL}},function(T,O,U){'use strict';const E=U(0),N=U(41).sprintf,I=U(6),M=U(2),P=U(12),K=U(4),V='%',G=V.charCodeAt(0),H=2147483647,Y=function(Gt){let wt=Gt.indexOf(0);return-1wt?0:wt+Gt+1},Q=function(Gt,wt,Ft,Xt){return E(Array.isArray(wt)),Xt.push(...wt.slice(0,Ft)),0},ee=P.LUA_NUMBER_FRMLEN.length+1,te=1,ae=function(Gt,wt,Ft){let Xt=_Mathfloor(Ft);return Gt[wt]=10>Xt?Xt+'0'.charCodeAt(0):Xt-10+'a'.charCodeAt(0),Ft-Xt},ue=function(Gt){let wt=[];if(Object.is(Gt,Infinity))return M.to_luastring('inf',!0);if(Object.is(Gt,-Infinity))return M.to_luastring('-inf',!0);if(_NumberisNaN(Gt))return M.to_luastring('nan',!0);if(0===Gt){let Ft=N(P.LUA_NUMBER_FMT+'x0p+0',Gt).split('').map((Xt)=>Xt.charCodeAt(0));return Object.is(Gt,-0)?['-'.charCodeAt(0)].concat(Ft):Ft}let Ft=P.frexp(Gt),Xt=Ft[0],Ht=Ft[1],jt=0;if(0>Xt&&(wt[jt++]='-'.charCodeAt(0),Xt=-Xt),wt[jt++]='0'.charCodeAt(0),wt[jt++]='x'.charCodeAt(0),Xt=ae(wt,jt++,Xt*(1<Yt.charCodeAt(0));return wt.slice(0,jt+1).concat(zt).concat(wt.slice(jt))},se=function(Gt,wt,Ft){let Xt=ue(Ft);if(wt[ee]==='A'.charCodeAt(0))for(let Ht=0;Ht'a'.charCodeAt(0)<=Gt&&Gt<='z'.charCodeAt(0)||Gt>='A'.charCodeAt(0)&&Gt<='Z'.charCodeAt(0),ce=(Gt)=>'0'.charCodeAt(0)<=Gt&&Gt<='9'.charCodeAt(0),de=(Gt)=>0<=Gt&&31>=Gt||127===Gt,Le=(Gt)=>32Gt,ge=(Gt)=>/^(?![A-Z]).*$/.test(_StringfromCharCode(Gt)),Ae=(Gt)=>/^(?![a-z]).*$/.test(_StringfromCharCode(Gt)),Te=(Gt)=>/^[a-zA-Z0-9]$/.test(_StringfromCharCode(Gt)),he=(Gt)=>Le(Gt)&&!Te(Gt),Oe=(Gt)=>/^\s$/.test(_StringfromCharCode(Gt)),xe=(Gt)=>/^[0-9A-Fa-f]$/.test(_StringfromCharCode(Gt)),Ue=function(Gt,wt){for(let Ft=0;FtGt.indexOf('.'.charCodeAt(0))){let wt=P.lua_getlocaledecpoint().charCodeAt(0),Ft=Gt.indexOf(wt);Ft&&(Gt[Ft]='.')}},ve=function(Gt,wt,Ft){switch(M.lua_type(Gt,Ft)){case M.LUA_TSTRING:{let Xt=M.lua_tostring(Gt,Ft);Ee(wt,Xt,Xt.length);break}case M.LUA_TNUMBER:{if(!M.lua_isinteger(Gt,Ft)){let Xt=M.lua_tonumber(Gt,Ft);Ue(wt,se(Gt,M.to_luastring(`%${P.LUA_INTEGER_FRMLEN}a`),Xt)),ke(wt)}else{let Xt=M.lua_tointeger(Gt,Ft);Ue(wt,M.to_luastring(N('%d',Xt)))}break}case M.LUA_TNIL:case M.LUA_TBOOLEAN:{Ue(wt,I.luaL_tolstring(Gt,Ft));break}default:I.luaL_argerror(Gt,Ft,M.to_luastring('value has no literal form',!0));}},Re=function(Gt,wt,Ft){let Xt=wt;for(;0!==Xt[0]&&0<=oe.indexOf(Xt[0]);)Xt=Xt.slice(1);wt.length-Xt.length>=oe.length&&I.luaL_error(Gt,M.to_luastring('invalid format (repeated flags)',!0)),ce(Xt[0])&&(Xt=Xt.slice(1)),ce(Xt[0])&&(Xt=Xt.slice(1)),Xt[0]==='.'.charCodeAt(0)&&(Xt=Xt.slice(1),ce(Xt[0])&&(Xt=Xt.slice(1)),ce(Xt[0])&&(Xt=Xt.slice(1))),ce(Xt[0])&&I.luaL_error(Gt,M.to_luastring('invalid format (width or precision too long)',!0)),Ft[0]='%'.charCodeAt(0);for(let Ht=0;Ht=Gt.s.length||!Be(Gt.s[Gt.off]))return wt;let Ft=0;do Ft=10*Ft+(Gt.s[Gt.off++]-'0'.charCodeAt(0));while(Gt.offIe||0>=Xt)&&I.luaL_error(Gt.L,M.to_luastring('integral size (%d) out of limits [1,%d]'),Xt,Ie),Xt},we=function(Gt,wt){let Ft={opt:NaN,size:NaN,opt:wt.s[wt.off++],size:0};switch(Ft.opt){case'b'.charCodeAt(0):return Ft.size=1,Ft.opt=Ke.Kint,Ft;case'B'.charCodeAt(0):return Ft.size=1,Ft.opt=Ke.Kuint,Ft;case'h'.charCodeAt(0):return Ft.size=2,Ft.opt=Ke.Kint,Ft;case'H'.charCodeAt(0):return Ft.size=2,Ft.opt=Ke.Kuint,Ft;case'l'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kint,Ft;case'L'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kuint,Ft;case'j'.charCodeAt(0):return Ft.size=4,Ft.opt=Ke.Kint,Ft;case'J'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kuint,Ft;case'T'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kuint,Ft;case'f'.charCodeAt(0):return Ft.size=4,Ft.opt=Ke.Kfloat,Ft;case'd'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kfloat,Ft;case'n'.charCodeAt(0):return Ft.size=8,Ft.opt=Ke.Kfloat,Ft;case'i'.charCodeAt(0):return Ft.size=Ge(Gt,wt,4),Ft.opt=Ke.Kint,Ft;case'I'.charCodeAt(0):return Ft.size=Ge(Gt,wt,4),Ft.opt=Ke.Kuint,Ft;case's'.charCodeAt(0):return Ft.size=Ge(Gt,wt,8),Ft.opt=Ke.Kstring,Ft;case'c'.charCodeAt(0):return Ft.size=Ve(wt,-1),-1===Ft.size&&I.luaL_error(Gt.L,M.to_luastring('missing size for format option \'c\'')),Ft.opt=Ke.Kchar,Ft;case'z'.charCodeAt(0):return Ft.opt=Ke.Kzstr,Ft;case'x'.charCodeAt(0):return Ft.size=1,Ft.opt=Ke.Kpadding,Ft;case'X'.charCodeAt(0):return Ft.opt=Ke.Kpaddalign,Ft;case' '.charCodeAt(0):break;case'<'.charCodeAt(0):Gt.islittle=!0;break;case'>'.charCodeAt(0):Gt.islittle=!1;break;case'='.charCodeAt(0):Gt.islittle=!0;break;case'!'.charCodeAt(0):Gt.maxalign=Ge(Gt,wt,8);break;default:I.luaL_error(Gt.L,M.to_luastring('invalid format option \'%c\''),Ft.opt);}return Ft.opt=Ke.Knop,Ft},Fe=function(Gt,wt,Ft){let Xt={opt:NaN,size:NaN,ntoalign:NaN},Ht=we(Gt,Ft);Xt.size=Ht.size,Xt.opt=Ht.opt;let jt=Xt.size;if(Xt.opt===Ke.Kpaddalign)if(Ft.off>=Ft.s.length||0===Ft.s[Ft.off])I.luaL_argerror(Gt.L,1,M.to_luastring('invalid next option for option \'X\'',!0));else{let zt=we(Gt,Ft);jt=zt.size,zt=zt.opt,(zt===Ke.Kchar||0===jt)&&I.luaL_argerror(Gt.L,1,M.to_luastring('invalid next option for option \'X\'',!0))}return 1>=jt||Xt.opt===Ke.Kchar?Xt.ntoalign=0:(jt>Gt.maxalign&&(jt=Gt.maxalign),0!=(jt&jt-1)&&I.luaL_argerror(Gt.L,1,M.to_luastring('format asks for alignment not power of 2',!0)),Xt.ntoalign=jt-(wt&jt-1)&jt-1),Xt},Xe=function(Gt,wt,Ft,Xt,Ht){let jt=Array(Xt);jt[Ft?0:Xt-1]=wt&Pe;for(let zt=1;zt>=Me,jt[Ft?zt:Xt-1-zt]=wt&Pe;if(Ht&&Xt>Ce)for(let zt=Ce;ztjt;jt++)Gt.push(Ht.getUint8(jt,Ft))},Qe=function(Gt,wt,Ft,Xt,Ht){let jt=0,zt=Xt<=Ce?Xt:Ce;for(let Yt=zt-1;0<=Yt;Yt--)jt<<=Me,jt|=wt[Ft?Yt:Xt-1-Yt];if(XtCe){let Yt=Ht||0<=jt?0:Pe;for(let Jt=zt;Jt=Xt);let Ht=new DataView(new ArrayBuffer(Xt));return wt.forEach((jt,zt)=>Ht.setUint8(zt,jt,Ft)),Ht.getFloat64(0,Ft)},at=-1,lt=-2,ut=200,rt=['^'.charCodeAt(0),'$'.charCodeAt(0),'*'.charCodeAt(0),'+'.charCodeAt(0),'?'.charCodeAt(0),'.'.charCodeAt(0),'('.charCodeAt(0),'['.charCodeAt(0),'%'.charCodeAt(0),'-'.charCodeAt(0)];class st{constructor(Gt){this.src=null,this.src_init=null,this.src_end=null,this.p=null,this.p_end=null,this.L=Gt,this.matchdepth=NaN,this.level=NaN,this.capture=[]}}const nt=function(Gt,wt){return wt-='1'.charCodeAt(0),0>wt||wt>=Gt.level||Gt.capture[wt].len===at?I.luaL_error(Gt.L,M.to_luastring('invalid capture index %%%d'),wt+1):wt},ot=function(Gt){let wt=Gt.level;for(wt--;0<=wt;wt--)if(Gt.capture[wt].len===at)return wt;return I.luaL_error(Gt.L,M.to_luastring('invalid pattern capture'))},_t=function(Gt,wt){switch(Gt.p[wt++]){case G:return wt===Gt.p_end&&I.luaL_error(Gt.L,M.to_luastring('malformed pattern (ends with \'%%\')')),wt+1;case'['.charCodeAt(0):{Gt.p[wt]==='^'.charCodeAt(0)&&wt++;do wt===Gt.p_end&&I.luaL_error(Gt.L,M.to_luastring('malformed pattern (missing \']\')')),Gt.p[wt++]===G&&wt=Gt.src_end)return!1;let Ht=Gt.src[wt];switch(Gt.p[Ft]){case'.'.charCodeAt(0):return!0;case G:return it(Ht,Gt.p[Ft+1]);case'['.charCodeAt(0):return pt(Gt,Ht,Ft,Xt-1);default:return Gt.p[Ft]===Ht;}},dt=function(Gt,wt,Ft){if(Ft>=Gt.p_end-1&&I.luaL_error(Gt.L,M.to_luastring('malformed pattern (missing arguments to \'%%b\'')),Gt.src[wt]!==Gt.p[Ft])return null;for(let Xt=Gt.p[Ft],Ht=Gt.p[Ft+1],jt=1;++wt=Xt&&Gt.src.slice(Gt.capture[Ft].init,Gt.capture[Ft].init+Xt)===Gt.src.slice(wt,wt+Xt)?wt+Xt:null},Ot=function(Gt,wt,Ft){let Xt=!1,Ht=!0;for(0==Gt.matchdepth--&&I.luaL_error(Gt.L,M.to_luastring('pattern too complex',!0));Ht||Xt;)if(Ht=!1,Ft!==Gt.p_end)switch(Xt?'x'.charCodeAt(0):Gt.p[Ft]){case'('.charCodeAt(0):{wt=Gt.p[Ft+1]===')'.charCodeAt(0)?At(Gt,wt,Ft+2,lt):At(Gt,wt,Ft+1,at);break}case')'.charCodeAt(0):{wt=Tt(Gt,wt,Ft+1);break}case'$'.charCodeAt(0):{if(Ft+1!==Gt.p_end){Xt=!0;break}wt=0===Gt.src.slice(wt).length?wt:null;break}case G:{switch(Gt.p[Ft+1]){case'b'.charCodeAt(0):{wt=dt(Gt,wt,Ft+2),null!==wt&&(Ft=Ft.slice(4),Ht=!0);break}case'f'.charCodeAt(0):{Ft+=2,'['!==Gt.p[Ft]&&I.luaL_error(Gt.L,M.to_luastring('missing \'[\' after \'%%f\' in pattern'));let jt=_t(Gt,Ft),zt=wt===Gt.src_init?0:Gt.s[wt-1];if(!pt(Gt,zt,Ft,jt-1)&&pt(Gt,Gt.src[wt],Ft,jt-1)){Ft=jt,Ht=!0;break}wt=null;break}case'0'.charCodeAt(0):case'1'.charCodeAt(0):case'2'.charCodeAt(0):case'3'.charCodeAt(0):case'4'.charCodeAt(0):case'5'.charCodeAt(0):case'6'.charCodeAt(0):case'7'.charCodeAt(0):case'8'.charCodeAt(0):case'9'.charCodeAt(0):{wt=ht(Gt,wt,Gt.p[Ft+1]),null!==wt&&(Ft+=2,Ht=!0);break}default:Xt=!0;}break}default:{Xt=!1;let jt=_t(Gt,Ft);if(!!ct(Gt,wt,Ft,jt))switch(Gt.p[jt]){case'?'.charCodeAt(0):{let zt;null===(zt=Ot(Gt,wt+1,jt+1))?(Ft=jt+1,Ht=!0):wt=zt;break}case'+'.charCodeAt(0):wt++;case'*'.charCodeAt(0):wt=Lt(Gt,wt,Ft,jt);break;case'-'.charCodeAt(0):wt=ft(Gt,wt,Ft,jt);break;default:wt++,Ft=jt,Ht=!0;}else if(Gt.p[jt]==='*'.charCodeAt(0)||Gt.p[jt]==='?'.charCodeAt(0)||Gt.p[jt]==='-'.charCodeAt(0)){Ft=jt+1,Ht=!0;break}else wt=null;break}}return Gt.matchdepth++,wt},xt=function(Gt,wt,Ft,Xt){if(wt>=Gt.level)0===wt?M.lua_pushlstring(Gt.L,Gt.src.slice(Ft),Xt-Ft):I.luaL_error(Gt.L,M.to_luastring(`invalid capture index %${wt+1}`));else{let Ht=Gt.capture[wt].len;Ht===at&&I.luaL_error(Gt.L,M.to_luastring('unfinished capture',!0)),Ht===lt?M.lua_pushinteger(Gt.L,Gt.src_init+1):M.lua_pushlstring(Gt.L,Gt.src.slice(Gt.capture[wt].init),Ht)}},Ut=function(Gt,wt,Ft){let Xt=0===Gt.level&&Gt.src.slice(wt)?1:Gt.level;I.luaL_checkstack(Gt.L,Xt,M.to_luastring('too many catpures',!0));for(let Ht=0;Ht>>0,Ht=wt.length,jt=Gt.length+1-Ht;loop:for(;Xtzt)zt=1;else if(zt>Ht+1)return M.lua_pushnil(Gt),1;if(wt&&(M.lua_toboolean(Gt,4)||Et(Xt,jt))){let Yt=Rt(Ft.slice(zt-1),Xt,0);if(-1Xt&&(Xt=1),Ht>Ft&&(Ht=Ft),Xt>Ht)return 0;if(Ht-Xt>=K.MAX_INT)return I.luaL_error(Gt,M.to_luastring('string slice too long',!0));let jt=Ht-Xt+1;I.luaL_checkstack(Gt,jt,M.to_luastring('string slice too long',!0));for(let zt=0;zt=Ht,'value out of range'),Ft.push(Ht);return M.lua_pushstring(Gt,Ft),1},dump:function(Gt){let wt=[],Ft=M.lua_toboolean(Gt,2);return(I.luaL_checktype(Gt,1,M.LUA_TFUNCTION),M.lua_settop(Gt,1),0!==M.lua_dump(Gt,Q,wt,Ft))?I.luaL_error(Gt,M.to_luastring('unable to dump given function')):(M.lua_pushstring(Gt,wt),1)},find:function(Gt){return bt(Gt,1)},format:function(Gt){let wt=M.lua_gettop(Gt),Ft=1,Xt=I.luaL_checkstring(Gt,Ft),Ht=[];for(;0wt&&I.luaL_argerror(Gt,Ft,M.to_luastring('no value',!0));let zt=Re(Gt,Xt,jt);switch(Xt=zt.p,jt=zt.form,_StringfromCharCode(Xt[0])){case'c':{Xt=Xt.slice(1),Ht.push(I.luaL_checkinteger(Gt,Ft));break}case'd':case'i':case'o':case'u':case'x':case'X':{Xt=Xt.slice(1);let Yt=I.luaL_checkinteger(Gt,Ft);jt=be(jt,P.LUA_INTEGER_FRMLEN.split('').map((Jt)=>Jt.charCodeAt(0))),Ue(Ht,M.to_luastring(N(_StringfromCharCode(...jt),Yt)));break}case'a':case'A':{Xt=Xt.slice(1),jt=be(jt,P.LUA_INTEGER_FRMLEN.split('').map((Yt)=>Yt.charCodeAt(0))),Ue(Ht,se(Gt,jt,I.luaL_checknumber(Gt,Ft)));break}case'e':case'E':case'f':case'g':case'G':{Xt=Xt.slice(1);let Yt=I.luaL_checknumber(Gt,Ft);jt=be(jt,P.LUA_INTEGER_FRMLEN.split('').map((Jt)=>Jt.charCodeAt(0))),Ue(Ht,M.to_luastring(N(_StringfromCharCode(...jt),Yt)));break}case'q':{Xt=Xt.slice(1),ve(Gt,Ht,Ft);break}case's':{Xt=Xt.slice(1);let Yt=I.luaL_tolstring(Gt,Ft);2>=jt.length||0===jt[2]?(Ue(Ht,Yt),M.lua_pop(Gt,1)):(I.luaL_argcheck(Gt,Yt.length===Y(Yt),Ft,M.to_luastring('string contains zeros',!0)),0>jt.indexOf('.'.charCodeAt(0))&&100<=Yt.length?(Ue(Ht,Yt),M.lua_pop(Gt,1)):(Ue(Ht,M.to_luastring(N(_StringfromCharCode(...jt),M.to_jsstring(Yt)))),M.lua_pop(Gt,1)));break}default:return I.luaL_error(Gt,M.to_luastring('invalid option \'%%%c\' to \'format\''),Xt[0]);}}return M.lua_pushstring(Gt,Ht),1},gmatch:function(Gt){let wt=I.luaL_checkstring(Gt,1),Ft=I.luaL_checkstring(Gt,2),Xt=wt.length,Ht=Ft.length;M.lua_settop(Gt,2);let jt=new It;return M.lua_pushlightuserdata(Gt,jt),kt(jt.ms,Gt,wt,Xt,Ft,Ht),jt.src=0,jt.p=0,jt.lastmatch=null,M.lua_pushcclosure(Gt,Ct,3),1},gsub:function(Gt){let wt=I.luaL_checkstring(Gt,1),Ft=wt.length,Xt=I.luaL_checkstring(Gt,2),Ht=Xt.length,jt=null,zt=M.lua_type(Gt,3),Yt=I.luaL_optinteger(Gt,4,Ft+1),Jt=Xt[0]==='^'.charCodeAt(0),qt=0,Wt=new st(Gt),Zt=new I.luaL_Buffer;for(I.luaL_argcheck(Gt,zt===M.LUA_TNUMBER||zt===M.LUA_TSTRING||zt===M.LUA_TFUNCTION||zt===M.LUA_TTABLE,3,M.to_luastring('string/function/table expected',!0)),I.luaL_buffinit(Gt,Zt),Jt&&(Xt=Xt.slice(1),Ht--),kt(Wt,Gt,wt,Ft,Xt,Ht),wt=0,Xt=0;qtWt);break}case Ke.Kuint:{let Wt=I.luaL_checkinteger(Gt,Ht);Jt=Me||Zt<1<H/Ft)return I.luaL_error(Gt,M.to_luastring('resulting string too large',!0));let Ht=[];for(let jt=0;jtXt&&(Xt=1),Ht>Ft&&(Ht=Ft),Xt<=Ht?M.lua_pushstring(Gt,wt.slice(Xt-1,Xt-1+(Ht-Xt+1))):M.lua_pushliteral(Gt,''),1},unpack:function(Gt){let wt=new De(Gt),Ft={s:I.luaL_checkstring(Gt,1),off:0},Xt=I.luaL_checkstring(Gt,2),Ht=Xt.length,jt=J(I.luaL_optinteger(Gt,3,1),Ht)-1,zt=0;for(I.luaL_argcheck(Gt,jt<=Ht,3,M.to_luastring('initial position out of string',!0));Ft.offHt&&I.luaL_argerror(Gt,2,M.to_luastring('data string too short',!0)),jt+=Wt,I.luaL_checkstack(Gt,2,M.to_luastring('too many results',!0)),zt++,Jt){case Ke.Kint:case Ke.Kuint:{let Zt=Qe(Gt,Xt.slice(jt),wt.islittle,qt,Jt===Ke.Kint);M.lua_pushinteger(Gt,Zt);break}case Ke.Kfloat:{let Zt=$e(Gt,Xt.slice(jt),wt.islittle,qt);M.lua_pushnumber(Gt,Zt);break}case Ke.Kchar:{M.lua_pushstring(Gt,Xt.slice(jt,jt+qt));break}case Ke.Kstring:{let Zt=Qe(Gt,Xt.slice(jt),wt.islittle,qt,0);I.luaL_argcheck(Gt,jt+Zt+qt<=Ht,2,M.to_luastring('data string too short',!0)),M.lua_pushstring(Gt,Xt.slice(jt+qt,jt+qt+Zt)),jt+=Zt;break}case Ke.Kzstr:{let Zt=Xt.slice(jt).indexOf(0);M.lua_pushstring(Gt,Xt.slice(jt,jt+Zt)),jt+=Zt+1;break}case Ke.Kpaddalign:case Ke.Kpadding:case Ke.Knop:zt--;}jt+=qt}return M.lua_pushinteger(Gt,jt+1),zt+1},upper:function(Gt){return M.lua_pushstring(Gt,M.to_luastring(M.to_jsstring(I.luaL_checkstring(Gt,1)).toUpperCase())),1}},Bt=function(Gt){M.lua_createtable(Gt,0,1),M.lua_pushliteral(Gt,''),M.lua_pushvalue(Gt,-2),M.lua_setmetatable(Gt,-2),M.lua_pop(Gt,1),M.lua_pushvalue(Gt,-2),M.lua_setfield(Gt,-2,M.to_luastring('__index',!0)),M.lua_pop(Gt,1)};T.exports.luaopen_string=function(Gt){return I.luaL_newlib(Gt,Kt),Bt(Gt),1}},function(T,O,U){'use strict';const E=U(0),N=U(2),I=U(6),M=U(4),P=1,K=2,V=4,G=P|K,F=function(Le,ge,Ae){return N.lua_pushstring(Le,ge),N.lua_rawget(Le,-Ae)!==N.LUA_TNIL},H=function(Le,ge,Ae){if(N.lua_type(Le,ge)!==N.LUA_TTABLE){let Te=1;N.lua_getmetatable(Le,ge)&&(!(Ae&P)||F(Le,N.to_luastring('__index',!0),++Te))&&(!(Ae&K)||F(Le,N.to_luastring('__newindex',!0),++Te))&&(!(Ae&V)||F(Le,N.to_luastring('__len',!0),++Te))?N.lua_pop(Le,Te):I.luaL_checktype(Le,ge,N.LUA_TTABLE)}},Y=function(Le,ge,Ae){return H(Le,ge,Ae|V),I.luaL_len(Le,ge)},J=function(Le,ge,Ae){N.lua_geti(Le,1,Ae),N.lua_isstring(Le,-1)||I.luaL_error(Le,N.to_luastring('invalid value (%s) at index %d in table for \'concat\''),I.luaL_typename(Le,-1),Ae),I.luaL_addvalue(ge)},te=function(){return _Mathfloor(1*Math.random()<<32)},ue=function(Le,ge,Ae){N.lua_seti(Le,1,ge),N.lua_seti(Le,1,Ae)},se=function(Le,ge,Ae){if(N.lua_isnil(Le,2))return N.lua_compare(Le,ge,Ae,N.LUA_OPLT);N.lua_pushvalue(Le,2),N.lua_pushvalue(Le,ge-1),N.lua_pushvalue(Le,Ae-2),N.lua_call(Le,2,1);let Te=N.lua_toboolean(Le,-1);return N.lua_pop(Le,1),Te},ne=function(Le,ge,Ae){for(let Te=ge,he=Ae-1;;){for(;N.lua_geti(Le,1,++Te),se(Le,-1,-2);)Te==Ae-1&&I.luaL_error(Le,N.to_luastring('invalid order function for sorting')),N.lua_pop(Le,1);for(;N.lua_geti(Le,1,--he),se(Le,-3,-1);)heAe-ge||0===Te?_Mathfloor((ge+Ae)/2):oe(ge,Ae,Te),N.lua_geti(Le,1,he),N.lua_geti(Le,1,ge),se(Le,-2,-1)?ue(Le,he,ge):(N.lua_pop(Le,1),N.lua_geti(Le,1,Ae),se(Le,-1,-2)?ue(Le,he,Ae):N.lua_pop(Le,2)),2==Ae-ge)return;N.lua_geti(Le,1,he),N.lua_pushvalue(Le,-1),N.lua_geti(Le,1,Ae-1),ue(Le,he,Ae-1),he=ne(Le,ge,Ae);let Oe;he-geOe&&(Te=te())}},ce={concat:function(Le){let ge=Y(Le,1,P),Ae=I.luaL_optlstring(Le,2,[]),Te=I.luaL_optinteger(Le,3,1);ge=I.luaL_optinteger(Le,4,ge);let he=new I.luaL_Buffer;for(I.luaL_buffinit(Le,he);TeAe;Te--)N.lua_geti(Le,1,Te-1),N.lua_seti(Le,1,Te);break}default:return I.luaL_error(Le,N.to_luastring('wrong number of arguments to \'insert\'',!0));}return N.lua_seti(Le,1,Ae),0},move:function(Le){let ge=I.luaL_checkinteger(Le,2),Ae=I.luaL_checkinteger(Le,3),Te=I.luaL_checkinteger(Le,4),he=N.lua_isnoneornil(Le,5)?1:5;if(H(Le,1,P),H(Le,he,K),Ae>=ge){I.luaL_argcheck(Le,0Ae||Te<=ge||1!=he&&1!==N.lua_compare(Le,1,he,N.LUA_OPEQ))for(let xe=0;xeAe)return 0;let Te=Ae-ge;if(Te>=M.MAX_INT||!N.lua_checkstack(Le,++Te))return I.luaL_error(Le,N.to_luastring('too many results to unpack',!0));for(;gete?0:te+ee+1},V=function(ee){let ue=ee[0],se=0,ne=0;if(128>ue)se=ue;else{let oe=0;for(;64&ue;){let _e=ee[++oe];if(128!=(192&_e))return null;se=se<<6|63&_e,ue<<=1}if(se|=(127&ue)<<5*oe,3M||se<=[255,127,2047,65535][oe])return null;ee=ee.slice(oe),ne+=oe}return{string:ee.slice(1),code:se,pos:ne+1}},F=function(ee,te){let ae=N.luaL_checkinteger(ee,te);N.luaL_argcheck(ee,0<=ae&&ae<=M,te,E.to_luastring('value out of range',!0)),E.lua_pushstring(ee,E.to_luastring(_StringfromCharCode(ae)))},q=function(ee){let te=N.luaL_checkstring(ee,1),ae=te.length,ue=E.lua_tointeger(ee,2)-1;if(0>ue)ue=0;else if(ue=ae)return 0;let se=V(te.slice(ue)),ne=se?se.code:null,oe=se?se.string:null;return null===oe||P(oe[0])?N.luaL_error(ee,E.to_luastring('invalid UTF-8 code',!0)):(E.lua_pushinteger(ee,ue+1),E.lua_pushinteger(ee,ne),2)},Z={char:function(ee){let te=E.lua_gettop(ee);if(1===te)F(ee,1);else{let ae=new N.luaL_Buffer;N.luaL_buffinit(ee,ae);for(let ue=1;ue<=te;ue++)F(ee,ue),N.luaL_addvalue(ae);N.luaL_pushresult(ae)}return 1},codepoint:function(ee){let te=N.luaL_checkstring(ee,1),ae=K(N.luaL_optinteger(ee,2,1),te.length),ue=K(N.luaL_optinteger(ee,3,ae),te.length);if(N.luaL_argcheck(ee,1<=ae,2,E.to_luastring('out of range',!0)),N.luaL_argcheck(ee,ue<=te.length,3,E.to_luastring('out of range',!0)),ae>ue)return 0;if(ue-ae>=I.MAX_INT)return N.luaL_error(ee,E.to_luastring('string slice too long',!0));let se=ue-ae+1;for(N.luaL_checkstack(ee,se,E.to_luastring('string slice too long',!0)),se=0,te=te.slice(ae-1);seae)for(;0>ae&&0Y.s0&&(Y.s0+=1),Y.s1-=J(H),0>Y.s1&&(Y.s1+=1),Y.s2-=J(H),0>Y.s2&&(Y.s2+=1),J=null}function V(H,Y){return Y.c=H.c,Y.s0=H.s0,Y.s1=H.s1,Y.s2=H.s2,Y}function G(H,Y){var J=new K(H),q=Y&&Y.state,W=J.next;return W.int32=function(){return 0|4294967296*J.next()},W.double=function(){return W()+1.1102230246251565e-16*(0|2097152*W())},W.quick=W,q&&('object'==typeof q&&V(q,J),W.state=function(){return V(J,{})}),W}function F(){var H=4022871197;return function(J){J=J.toString();for(var q=0;q>>0,W-=H,W*=H,H=W>>>0,W-=H,H+=4294967296*W}return 2.3283064365386963e-10*(H>>>0)}}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.alea=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){(function(E){var N;(function(I,M){function K(F){var H=this,Y='';H.next=function(){var q=H.b,W=H.c,Z=H.d,Q=H.a;return q=q<<25^q>>>7^W,W=0|W-Z,Z=Z<<24^Z>>>8^Q,Q=0|Q-q,H.b=q=q<<20^q>>>12^W,H.c=W=0|W-Z,H.d=Z<<16^W>>>16^Q,H.a=0|Q-q},H.a=0,H.b=0,H.c=-1640531527,H.d=1367130551,F===_Mathfloor(F)?(H.a=0|F/4294967296,H.b=0|F):Y+=F;for(var J=0;J>>0)/4294967296};return q.double=function(){do var W=Y.next()>>>11,Z=(Y.next()>>>0)/4294967296,Q=(W+Z)/2097152;while(0===Q);return Q},q.int32=Y.next,q.quick=q,J&&('object'==typeof J&&V(J,Y),q.state=function(){return V(Y,{})}),q}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.tychei=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){(function(E){var N;(function(I,M){function K(F){var H=this,Y='';H.x=0,H.y=0,H.z=0,H.w=0,H.next=function(){var q=H.x^H.x<<11;return H.x=H.y,H.y=H.z,H.z=H.w,H.w^=H.w>>>19^q^q>>>8},F===(0|F)?H.x=F:Y+=F;for(var J=0;J>>0)/4294967296};return q.double=function(){do var W=Y.next()>>>11,Z=(Y.next()>>>0)/4294967296,Q=(W+Z)/2097152;while(0===Q);return Q},q.int32=Y.next,q.quick=q,J&&('object'==typeof J&&V(J,Y),q.state=function(){return V(Y,{})}),q}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.xor128=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){(function(E){var N;(function(I,M){function K(F){var Y=this;Y.next=function(){var J=Y.w,q=Y.X,W=Y.i,Z,Q;return Y.w=J=0|J+1640531527,Q=q[127&W+34],Z=q[W=127&W+1],Q^=Q<<13,Z^=Z<<17,Q^=Q>>>15,Z^=Z>>>12,Q=q[W]=Q^Z,Y.i=W,0|Q+(J^J>>>16)},function(J,q){var te=[],ae=128,W,Z,Q,$,ee;for(q===(0|q)?(Z=q,q=null):(q+='\0',Z=0,ae=_Mathmax(ae,q.length)),Q=0,$=-32;$>>15,Z^=Z<<4,Z^=Z>>>13,0<=$&&(ee=0|ee+1640531527,W=te[127&$]^=Z+ee,Q=0==W?Q+1:0);for(128<=Q&&(te[127&(q&&q.length||0)]=-1),Q=127,$=512;0<$;--$)Z=te[127&Q+34],W=te[Q=127&Q+1],Z^=Z<<13,W^=W<<17,Z^=Z>>>15,W^=W>>>12,te[Q]=Z^W;J.w=ee,J.X=te,J.i=Q}(Y,F)}function V(F,H){return H.i=F.i,H.w=F.w,H.X=F.X.slice(),H}function G(F,H){null==F&&(F=+new Date);var Y=new K(F),J=H&&H.state,q=function(){return(Y.next()>>>0)/4294967296};return q.double=function(){do var W=Y.next()>>>11,Z=(Y.next()>>>0)/4294967296,Q=(W+Z)/2097152;while(0===Q);return Q},q.int32=Y.next,q.quick=q,J&&(J.X&&V(J,Y),q.state=function(){return V(Y,{})}),q}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.xor4096=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){(function(E){var N;(function(I,M){function K(F){var Y=this;Y.next=function(){var J=Y.x,q=Y.i,W,Z;return W=J[q],W^=W>>>7,Z=W^W<<24,W=J[7&q+1],Z^=W^W>>>10,W=J[7&q+3],Z^=W^W>>>3,W=J[7&q+4],Z^=W^W<<7,W=J[7&q+7],W^=W<<13,Z^=W^W<<9,J[q]=Z,Y.i=7&q+1,Z},function(J,q){var Q=[],W,Z;if(q===(0|q))Z=Q[0]=q;else for(q=''+q,W=0;WQ.length;)Q.push(0);for(W=0;8>W&&0===Q[W];++W);for(Z=8==W?Q[7]=-1:Q[W],J.x=Q,J.i=0,W=256;0>>0)/4294967296};return q.double=function(){do var W=Y.next()>>>11,Z=(Y.next()>>>0)/4294967296,Q=(W+Z)/2097152;while(0===Q);return Q},q.int32=Y.next,q.quick=q,J&&(J.x&&V(J,Y),q.state=function(){return V(Y,{})}),q}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.xorshift7=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){(function(E){var N;(function(I,M){function K(F){var H=this,Y='';H.next=function(){var q=H.x^H.x>>>2;return H.x=H.y,H.y=H.z,H.z=H.w,H.w=H.v,0|(H.d=0|H.d+362437)+(H.v=H.v^H.v<<4^(q^q<<1))},H.x=0,H.y=0,H.z=0,H.w=0,H.v=0,F===(0|F)?H.x=F:Y+=F;for(var J=0;J>>4),H.next()}function V(F,H){return H.x=F.x,H.y=F.y,H.z=F.z,H.w=F.w,H.v=F.v,H.d=F.d,H}function G(F,H){var Y=new K(F),J=H&&H.state,q=function(){return(Y.next()>>>0)/4294967296};return q.double=function(){do var W=Y.next()>>>11,Z=(Y.next()>>>0)/4294967296,Q=(W+Z)/2097152;while(0===Q);return Q},q.int32=Y.next,q.quick=q,J&&('object'==typeof J&&V(J,Y),q.state=function(){return V(Y,{})}),q}M&&M.exports?M.exports=G:U(3)&&U(13)?(N=function(){return G}.call(O,U,O,M),!(void 0!==N&&(M.exports=N))):this.xorwow=G})(this,'object'==typeof E&&E,U(3))}).call(O,U(14)(T))},function(T,O,U){var E;(function(N,I){function M(ue,se,ne){var oe=[];se=!0==se?{entropy:!0}:se||{};var _e=G(V(se.entropy?[ue,H(N)]:null==ue?F():ue,3),oe),pe=new P(oe),ce=function(){for(var de=pe.g(q),Le=Q,ge=0;de<$;)de=(de+ge)*J,Le*=J,ge=pe.g(1);for(;de>=ee;)de/=2,Le/=2,ge>>>=1;return(de+ge)/Le};return ce.int32=function(){return 0|pe.g(4)},ce.quick=function(){return pe.g(4)/4294967296},ce.double=ce,G(H(pe.S),N),(se.pass||ne||function(de,Le,ge,Ae){return Ae&&(Ae.S&&K(Ae,pe),de.state=function(){return K(pe,{})}),ge?(I[Z]=de,Le):de})(ce,_e,'global'in se?se.global:this==I,se.state)}function P(ue){var ne=ue.length,oe=this,_e=0,pe=oe.i=oe.j=0,ce=oe.S=[],se;for(ne||(ue=[ne++]);_e=H&&G[F]?G[F][H]:Array(H+1).join(F)}var K={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};I.format=function(F,H){var Y=1,J=F.length,q='',Z=[],se=!0,ne='',W,Q,$,ee,te,ae,ue;for(Q=0;Q>>0;break;case'v':W=W.valueOf(),W=ee[7]?W.substring(0,ee[7]):W;break;case'x':W=parseInt(W,10).toString(16);break;case'X':W=parseInt(W,10).toString(16).toUpperCase();}K.json.test(ee[8])?Z[Z.length]=W:(K.number.test(ee[8])&&(!se||ee[3])?(ne=se?'+':'-',W=W.toString().replace(K.sign,'')):ne='',ae=ee[4]?'0'===ee[4]?'0':ee[4].charAt(1):' ',ue=ee[6]-(ne+W).length,te=ee[6]?0_e.getHours()?pe.am:pe.pm;break;case 82:de+=$(pe.formats.R,_e,pe,ce);break;case 83:de+=E(_e.getSeconds(),Le);break;case 84:de+=$(pe.formats.T,_e,pe,ce);break;case 85:de+=E(M(_e,'sunday'),Le);break;case 87:de+=E(M(_e,'monday'),Le);break;case 88:de+=$(pe.formats.X,_e,pe,ce);break;case 89:de+=_e.getFullYear();break;case 90:if(ae&&0===te)de+='GMT';else{var xe=_e.toString().match(/\(([\w\s]+)\)/);de+=xe&&xe[1]||''}break;case 97:de+=pe.shortDays[_e.getDay()];break;case 98:de+=pe.shortMonths[_e.getMonth()];break;case 99:de+=$(pe.formats.c,_e,pe,ce);break;case 100:de+=E(_e.getDate(),Le);break;case 101:de+=E(_e.getDate(),null==Le?' ':Le);break;case 104:de+=pe.shortMonths[_e.getMonth()];break;case 106:var Ue=new Date(_e.getFullYear(),0,1),Ee=_Mathceil((_e.getTime()-Ue.getTime())/86400000);de+=N(Ee);break;case 107:de+=E(_e.getHours(),null==Le?' ':Le);break;case 108:de+=E(I(_e.getHours()),null==Le?' ':Le);break;case 109:de+=E(_e.getMonth()+1,Le);break;case 110:de+='\n';break;case 111:var Ee=_e.getDate();de+=pe.ordinalSuffixes?Ee+''+(pe.ordinalSuffixes[Ee-1]||P(Ee)):Ee+''+P(Ee);break;case 112:de+=12>_e.getHours()?pe.AM:pe.PM;break;case 114:de+=$(pe.formats.r,_e,pe,ce);break;case 115:de+=_Mathfloor(ce/1e3);break;case 116:de+='\t';break;case 117:var Ee=_e.getDay();de+=0===Ee?7:Ee;break;case 118:de+=$(pe.formats.v,_e,pe,ce);break;case 119:de+=_e.getDay();break;case 120:de+=$(pe.formats.x,_e,pe,ce);break;case 121:de+=(''+_e.getFullYear()).slice(2);break;case 122:if(ae&&0===te)de+=Te?'+00:00':'+0000';else{var ke=0===te?-_e.getTimezoneOffset():te/60000,ve=0>ke?'-':'+',Re=Te?':':'',be=_Mathfloor(_Mathabs(ke/60)),Se=_Mathabs(ke%60);de+=ve+E(be)+Re+E(Se)}break;default:ge&&(de+='%'),de+=oe[he];}Le=null,ge=!1;continue}if(37===Oe){ge=!0;continue}de+=oe[he]}return de}var ee=q||F,te=W||0,ae=Z||!1,ue=0,ne=function(oe,_e){var pe;if(!_e){var ce=Date.now();ce>ue?(ue=ce,se=new Date(ue),pe=ue,ae&&(se=new Date(ue+K(se)+te))):pe=ue,_e=se}else if(pe=_e.getTime(),ae){var de=K(_e);if(_e=new Date(pe+de+te),K(_e)!==de){var Le=K(_e);_e=new Date(pe+Le+te)}}return $(oe,_e,ee,pe)},se;return ne.localize=function(oe){return new U(oe||ee,te,ae)},ne.localizeByIdentifier=function(oe){var _e=G[oe];return _e?ne.localize(_e):(V('[WARNING] No locale found with identifier "'+oe+'".'),ne)},ne.timezone=function(oe){var _e=te,pe=ae,ce=typeof oe;if('number'==ce||'string'==ce)if(pe=!0,'string'==ce){var de='-'===oe[0]?-1:1,Le=parseInt(oe.slice(1,3),10),ge=parseInt(oe.slice(3,5),10);_e=1e3*(60*(de*(60*Le+ge)))}else'number'==ce&&(_e=1e3*(60*oe));return new U(ee,_e,pe)},ne.utc=function(){return new U(ee,te,!0)},ne}function E(q,W){return''===W||9=Z||0==W||4<=W?'th':1==W?'st':2==W?'nd':3==W?'rd':void 0}function K(q){return 6e4*(q.getTimezoneOffset()||0)}function V(q){'undefined'!=typeof console&&'function'==typeof console.warn&&console.warn(q)}var G={de_DE:{days:['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],shortDays:['So','Mo','Di','Mi','Do','Fr','Sa'],months:['Januar','Februar','M\xE4rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],shortMonths:['Jan','Feb','M\xE4r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d.%m.%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},en_CA:{days:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],shortDays:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],shortMonths:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],ordinalSuffixes:['st','nd','rd','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','st','nd','rd','th','th','th','th','th','th','th','st'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d/%m/%y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%r',x:'%D'}},en_US:{days:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],shortDays:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],shortMonths:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],ordinalSuffixes:['st','nd','rd','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','st','nd','rd','th','th','th','th','th','th','th','st'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%m/%d/%y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%r',x:'%D'}},es_MX:{days:['domingo','lunes','martes','mi\xE9rcoles','jueves','viernes','s\xE1bado'],shortDays:['dom','lun','mar','mi\xE9','jue','vie','s\xE1b'],months:['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre',' diciembre'],shortMonths:['ene','feb','mar','abr','may','jun','jul','ago','sep','oct','nov','dic'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d/%m/%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},fr_FR:{days:['dimanche','lundi','mardi','mercredi','jeudi','vendredi','samedi'],shortDays:['dim.','lun.','mar.','mer.','jeu.','ven.','sam.'],months:['janvier','f\xE9vrier','mars','avril','mai','juin','juillet','ao\xFBt','septembre','octobre','novembre','d\xE9cembre'],shortMonths:['janv.','f\xE9vr.','mars','avril','mai','juin','juil.','ao\xFBt','sept.','oct.','nov.','d\xE9c.'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d/%m/%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},it_IT:{days:['domenica','luned\xEC','marted\xEC','mercoled\xEC','gioved\xEC','venerd\xEC','sabato'],shortDays:['dom','lun','mar','mer','gio','ven','sab'],months:['gennaio','febbraio','marzo','aprile','maggio','giugno','luglio','agosto','settembre','ottobre','novembre','dicembre'],shortMonths:['pr','mag','giu','lug','ago','set','ott','nov','dic'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d/%m/%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},nl_NL:{days:['zondag','maandag','dinsdag','woensdag','donderdag','vrijdag','zaterdag'],shortDays:['zo','ma','di','wo','do','vr','za'],months:['januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'],shortMonths:['jan','feb','mrt','apr','mei','jun','jul','aug','sep','okt','nov','dec'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d-%m-%y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},pt_BR:{days:['domingo','segunda','ter\xE7a','quarta','quinta','sexta','s\xE1bado'],shortDays:['Dom','Seg','Ter','Qua','Qui','Sex','S\xE1b'],months:['janeiro','fevereiro','mar\xE7o','abril','maio','junho','julho','agosto','setembro','outubro','novembro','dezembro'],shortMonths:['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X %Z',D:'%d-%m-%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},ru_RU:{days:['\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435','\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A','\u0412\u0442\u043E\u0440\u043D\u0438\u043A','\u0421\u0440\u0435\u0434\u0430','\u0427\u0435\u0442\u0432\u0435\u0440\u0433','\u041F\u044F\u0442\u043D\u0438\u0446\u0430','\u0421\u0443\u0431\u0431\u043E\u0442\u0430'],shortDays:['\u0412\u0441','\u041F\u043D','\u0412\u0442','\u0421\u0440','\u0427\u0442','\u041F\u0442','\u0421\u0431'],months:['\u042F\u043D\u0432\u0430\u0440\u044C','\u0424\u0435\u0432\u0440\u0430\u043B\u044C','\u041C\u0430\u0440\u0442','\u0410\u043F\u0440\u0435\u043B\u044C','\u041C\u0430\u0439','\u0418\u044E\u043D\u044C','\u0418\u044E\u043B\u044C','\u0410\u0432\u0433\u0443\u0441\u0442','\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C','\u041E\u043A\u0442\u044F\u0431\u0440\u044C','\u041D\u043E\u044F\u0431\u0440\u044C','\u0414\u0435\u043A\u0430\u0431\u0440\u044C'],shortMonths:['\u044F\u043D\u0432','\u0444\u0435\u0432','\u043C\u0430\u0440','\u0430\u043F\u0440','\u043C\u0430\u0439','\u0438\u044E\u043D','\u0438\u044E\u043B','\u0430\u0432\u0433','\u0441\u0435\u043D','\u043E\u043A\u0442','\u043D\u043E\u044F','\u0434\u0435\u043A'],AM:'AM',PM:'PM',am:'am',pm:'pm',formats:{c:'%a %d %b %Y %X',D:'%d.%m.%y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},tr_TR:{days:['Pazar','Pazartesi','Sal\u0131','\xC7ar\u015Famba','Per\u015Fembe','Cuma','Cumartesi'],shortDays:['Paz','Pzt','Sal','\xC7r\u015F','Pr\u015F','Cum','Cts'],months:['Ocak','\u015Eubat','Mart','Nisan','May\u0131s','Haziran','Temmuz','A\u011Fustos','Eyl\xFCl','Ekim','Kas\u0131m','Aral\u0131k'],shortMonths:['Oca','\u015Eub','Mar','Nis','May','Haz','Tem','A\u011Fu','Eyl','Eki','Kas','Ara'],AM:'\xD6\xD6',PM:'\xD6S',am:'\xD6\xD6',pm:'\xD6S',formats:{c:'%a %d %b %Y %X %Z',D:'%d-%m-%Y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%T',x:'%D'}},zh_CN:{days:['\u661F\u671F\u65E5','\u661F\u671F\u4E00','\u661F\u671F\u4E8C','\u661F\u671F\u4E09','\u661F\u671F\u56DB','\u661F\u671F\u4E94','\u661F\u671F\u516D'],shortDays:['\u65E5','\u4E00','\u4E8C','\u4E09','\u56DB','\u4E94','\u516D'],months:['\u4E00\u6708\u4EFD','\u4E8C\u6708\u4EFD','\u4E09\u6708\u4EFD','\u56DB\u6708\u4EFD','\u4E94\u6708\u4EFD','\u516D\u6708\u4EFD','\u4E03\u6708\u4EFD','\u516B\u6708\u4EFD','\u4E5D\u6708\u4EFD','\u5341\u6708\u4EFD','\u5341\u4E00\u6708\u4EFD','\u5341\u4E8C\u6708\u4EFD'],shortMonths:['\u4E00\u6708','\u4E8C\u6708','\u4E09\u6708','\u56DB\u6708','\u4E94\u6708','\u516D\u6708','\u4E03\u6708','\u516B\u6708','\u4E5D\u6708','\u5341\u6708','\u5341\u4E00\u6708','\u5341\u4E8C\u6708'],AM:'\u4E0A\u5348',PM:'\u4E0B\u5348',am:'\u4E0A\u5348',pm:'\u4E0B\u5348',formats:{c:'%a %d %b %Y %X %Z',D:'%d/%m/%y',F:'%Y-%m-%d',R:'%H:%M',r:'%I:%M:%S %p',T:'%H:%M:%S',v:'%e-%b-%Y',X:'%r',x:'%D'}}},F=G.en_US,H=new U(F,0,!1),J;'undefined'==typeof T?(J=function(){return this||(1,eval)('this')}(),J.strftime=H):J=T.exports=H,'function'!=typeof Date.now&&(Date.now=function(){return+new Date})})()},function(T){T.exports='function'==typeof Object.create?function(E,N){E.super_=N,E.prototype=Object.create(N.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}})}:function(E,N){E.super_=N;var I=function(){};I.prototype=N.prototype,E.prototype=new I,E.prototype.constructor=E}},function(T){T.exports=function(E){return E&&'object'==typeof E&&'function'==typeof E.copy&&'function'==typeof E.fill&&'function'==typeof E.readUInt8}},function(T,O,U){(function(E,N){function I(xe,Ue){var Ee={seen:[],stylize:P};return 3<=arguments.length&&(Ee.depth=arguments[2]),4<=arguments.length&&(Ee.colors=arguments[3]),W(Ue)?Ee.showHidden=Ue:Ue&&O._extend(Ee,Ue),ae(Ee.showHidden)&&(Ee.showHidden=!1),ae(Ee.depth)&&(Ee.depth=2),ae(Ee.colors)&&(Ee.colors=!1),ae(Ee.customInspect)&&(Ee.customInspect=!0),Ee.colors&&(Ee.stylize=M),V(Ee,xe,Ee.depth)}function M(xe,Ue){var Ee=I.styles[Ue];return Ee?'\x1B['+I.colors[Ee][0]+'m'+xe+'\x1B['+I.colors[Ee][1]+'m':xe}function P(xe){return xe}function K(xe){var Ue={};return xe.forEach(function(Ee){Ue[Ee]=!0}),Ue}function V(xe,Ue,Ee){if(xe.customInspect&&Ue&&_e(Ue.inspect)&&Ue.inspect!==O.inspect&&!(Ue.constructor&&Ue.constructor.prototype===Ue)){var ke=Ue.inspect(Ee,xe);return ee(ke)||(ke=V(xe,ke,Ee)),ke}var ve=G(xe,Ue);if(ve)return ve;var Re=Object.keys(Ue),be=K(Re);if(xe.showHidden&&(Re=Object.getOwnPropertyNames(Ue)),oe(Ue)&&(0<=Re.indexOf('message')||0<=Re.indexOf('description')))return F(Ue);if(0===Re.length){if(_e(Ue)){var Se=Ue.name?': '+Ue.name:'';return xe.stylize('[Function'+Se+']','special')}if(ue(Ue))return xe.stylize(RegExp.prototype.toString.call(Ue),'regexp');if(ne(Ue))return xe.stylize(Date.prototype.toString.call(Ue),'date');if(oe(Ue))return F(Ue)}var Ne='',Ie=!1,Ce=['{','}'];if(q(Ue)&&(Ie=!0,Ce=['[',']']),_e(Ue)){var Me=Ue.name?': '+Ue.name:'';Ne=' [Function'+Me+']'}if(ue(Ue)&&(Ne=' '+RegExp.prototype.toString.call(Ue)),ne(Ue)&&(Ne=' '+Date.prototype.toUTCString.call(Ue)),oe(Ue)&&(Ne=' '+F(Ue)),0===Re.length&&(!Ie||0==Ue.length))return Ce[0]+Ne+Ce[1];if(0>Ee)return ue(Ue)?xe.stylize(RegExp.prototype.toString.call(Ue),'regexp'):xe.stylize('[Object]','special');xe.seen.push(Ue);var Pe;return Pe=Ie?H(xe,Ue,Ee,be,Re):Re.map(function(ye){return Y(xe,Ue,Ee,be,ye,Ie)}),xe.seen.pop(),J(Pe,Ne,Ce)}function G(xe,Ue){if(ae(Ue))return xe.stylize('undefined','undefined');if(ee(Ue)){var Ee='\''+JSON.stringify(Ue).replace(/^"|"$/g,'').replace(/'/g,'\\\'').replace(/\\"/g,'"')+'\'';return xe.stylize(Ee,'string')}return $(Ue)?xe.stylize(''+Ue,'number'):W(Ue)?xe.stylize(''+Ue,'boolean'):Z(Ue)?xe.stylize('null','null'):void 0}function F(xe){return'['+Error.prototype.toString.call(xe)+']'}function H(xe,Ue,Ee,ke,ve){for(var Re=[],be=0,Se=Ue.length;bexe.seen.indexOf(Ne.value)?(Se=Z(Ee)?V(xe,Ne.value,null):V(xe,Ne.value,Ee-1),-1xe?'0'+xe.toString(10):xe.toString(10)}function Le(){var xe=new Date,Ue=[de(xe.getHours()),de(xe.getMinutes()),de(xe.getSeconds())].join(':');return[xe.getDate(),Oe[xe.getMonth()],Ue].join(' ')}function ge(xe,Ue){return Object.prototype.hasOwnProperty.call(xe,Ue)}var Ae=/%[sdj%]/g;O.format=function(xe){if(!ee(xe)){for(var Ue=[],Ee=0;Ee=ve)return Se;switch(Se){case'%s':return ke[Ee++]+'';case'%d':return+ke[Ee++];case'%j':try{return JSON.stringify(ke[Ee++])}catch(Ne){return'[Circular]'}default:return Se;}}),be=ke[Ee];Eehe?he=Te+he:he>Te&&(he=Te),I.luaL_argcheck(Ae,1<=he,1,N.to_luastring('index out of range',!0)),Te-he},setmetatable:function(Ae){let Te=N.lua_type(Ae,2);return(I.luaL_checktype(Ae,1,N.LUA_TTABLE),I.luaL_argcheck(Ae,Te===N.LUA_TNIL||Te===N.LUA_TTABLE,2,N.to_luastring('nil or table expected',!0)),I.luaL_getmetafield(Ae,1,N.to_luastring('__metatable',!0))!==N.LUA_TNIL)?I.luaL_error(Ae,N.to_luastring('cannot change a protected metatable',!0)):(N.lua_settop(Ae,2),N.lua_setmetatable(Ae,1),1)},tonumber:function(Ae){if(0>=N.lua_type(Ae,2)){if(I.luaL_checkany(Ae,1),N.lua_type(Ae,1)===N.LUA_TNUMBER)return N.lua_settop(Ae,1),1;let Te=N.lua_tostring(Ae,1);if(null!==Te&&N.lua_stringtonumber(Ae,Te)===Te.length)return 1}else{let Te=I.luaL_checkinteger(Ae,2);I.luaL_checktype(Ae,1,N.LUA_TSTRING);let he=N.lua_tostring(Ae,1);I.luaL_argcheck(Ae,2<=Te&&36>=Te,2,N.to_luastring('base out of range',!0));let Oe=parseInt(N.to_jsstring(he),Te);if(!isNaN(Oe))return N.lua_pushinteger(Ae,Oe),1}return N.lua_pushnil(Ae),1},tostring:function(Ae){return I.luaL_checkany(Ae,1),I.luaL_tolstring(Ae,1),1},type:function(Ae){let Te=N.lua_type(Ae,1);return I.luaL_argcheck(Ae,Te!==N.LUA_TNONE,1,N.to_luastring('value expected',!0)),N.lua_pushstring(Ae,N.lua_typename(Ae,Te)),1},xpcall:function(Ae){let Te=N.lua_gettop(Ae);I.luaL_checktype(Ae,2,N.LUA_TFUNCTION),N.lua_pushboolean(Ae,1),N.lua_pushvalue(Ae,1),N.lua_rotate(Ae,3,2);let he=N.lua_pcallk(Ae,Te-2,N.LUA_MULTRET,2,2,se);return se(Ae,he,2)}};T.exports.luaopen_base=function(Ae){return N.lua_pushglobaltable(Ae),I.luaL_setfuncs(Ae,Le,0),N.lua_pushvalue(Ae,-1),N.lua_setfield(Ae,-2,N.to_luastring('_G',!0)),N.lua_pushliteral(Ae,N.LUA_VERSION),N.lua_setfield(Ae,-2,N.to_luastring('_VERSION',!0)),1}}).call(O,U(18))},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(19),M=U(5),P=U(20),K=U(29),V=U(7),G=U(10),F=U(16),H=U(17),Y=N.CT,J=P.OpCodesI,q=M.TValue,W=function(Et,kt,vt,Rt,bt){switch(kt){case N.LUA_OPBAND:case N.LUA_OPBOR:case N.LUA_OPBXOR:case N.LUA_OPSHL:case N.LUA_OPSHR:case N.LUA_OPBNOT:{let St=H.tointeger(vt),Nt=H.tointeger(Rt);if(!1!==St&&!1!==Nt)return bt.type=Y.LUA_TNUMINT,void(bt.value=M.intarith(Et,kt,St,Nt));break}case N.LUA_OPDIV:case N.LUA_OPPOW:{let St=H.tonumber(vt),Nt=H.tonumber(Rt);if(!1!==St&&!1!==Nt)return bt.type=Y.LUA_TNUMFLT,void(bt.value=M.numarith(Et,kt,St,Nt));break}default:{let St=H.tonumber(vt),Nt=H.tonumber(Rt);if(vt.ttisinteger()&&Rt.ttisinteger())return bt.type=Y.LUA_TNUMINT,void(bt.value=M.intarith(Et,kt,vt.value,Rt.value));if(!1!==St&&!1!==Nt)return bt.type=Y.LUA_TNUMFLT,void(bt.value=M.numarith(Et,kt,St,Nt));break}}E(null!==Et),F.luaT_trybinTM(Et,vt,Rt,bt,kt-N.LUA_OPADD+F.TMS.TM_ADD)},Q=-1,$={OPR_ADD:0,OPR_SUB:1,OPR_MUL:2,OPR_MOD:3,OPR_POW:4,OPR_DIV:5,OPR_IDIV:6,OPR_BAND:7,OPR_BOR:8,OPR_BXOR:9,OPR_SHL:10,OPR_SHR:11,OPR_CONCAT:12,OPR_EQ:13,OPR_LT:14,OPR_LE:15,OPR_NE:16,OPR_GT:17,OPR_GE:18,OPR_AND:19,OPR_OR:20,OPR_NOBINOPR:21},ee={OPR_MINUS:0,OPR_BNOT:1,OPR_NOT:2,OPR_LEN:3,OPR_NOUNOPR:4},te=function(Et){return Et.t!==Et.f},ae=function(Et,kt){let vt=K.expkind;if(te(Et))return!1;switch(Et.k){case vt.VKINT:return kt&&(kt.type=Y.LUA_TNUMINT,kt.value=Et.u.ival),!0;case vt.VKFLT:return kt&&(kt.type=Y.LUA_TNUMFLT,kt.value=Et.u.nval),!0;default:return!1;}},ue=function(Et,kt,vt){let bt=kt+vt-1,Rt;if(Et.pc>Et.lasttarget&&(Rt=Et.f.code[Et.pc-1],Rt.opcode===J.OP_LOADNIL)){let St=Rt.A,Nt=St+Rt.B;if(St<=kt&&kt<=Nt+1||kt<=St&&St<=bt+1)return Stbt&&(bt=Nt),P.SETARG_A(Rt,kt),void P.SETARG_B(Rt,bt-kt)}Re(Et,J.OP_LOADNIL,kt,vt-1,0)},se=function(Et,kt){return Et.f.code[kt.u.info]},ne=function(Et,kt){let vt=Et.f.code[kt].sBx;return vt===Q?Q:kt+1+vt},oe=function(Et,kt,vt){let Rt=Et.f.code[kt],bt=vt-(kt+1);E(vt!==Q),_Mathabs(bt)>P.MAXARG_sBx&&I.luaX_syntaxerror(Et.ls,N.to_luastring('control structure too long',!0)),P.SETARG_sBx(Rt,bt)},_e=function(Et,kt,vt){if(vt===Q)return kt;if(kt===Q)kt=vt;else{let Rt=kt,bt=ne(Et,Rt);for(;bt!==Q;)Rt=bt,bt=ne(Et,Rt);oe(Et,Rt,vt)}return kt},pe=function(Et){let kt=Et.jpc;Et.jpc=Q;let vt=Se(Et,J.OP_JMP,0,Q);return vt=_e(Et,vt,kt),vt},Le=function(Et,kt,vt,Rt,bt){return Re(Et,kt,vt,Rt,bt),pe(Et)},ge=function(Et){return Et.lasttarget=Et.pc,Et.pc},Ae=function(Et,kt){return 1<=kt&&P.testTMode(Et.f.code[kt-1].opcode)?Et.f.code[kt-1]:Et.f.code[kt]},Te=function(Et,kt,vt){let Rt=Ae(Et,kt);return Rt.opcode===J.OP_TESTSET&&(vt!==P.NO_REG&&vt!==Rt.B?P.SETARG_A(Rt,vt):Rt=P.CREATE_ABC(J.OP_TEST,Rt.B,0,Rt.C),!0)},he=function(Et,kt){for(;kt!==Q;kt=ne(Et,kt))Te(Et,kt,P.NO_REG)},Oe=function(Et,kt,vt,Rt,bt){for(;kt!==Q;){let St=ne(Et,kt);Te(Et,kt,Rt)?oe(Et,kt,vt):oe(Et,kt,bt),kt=St}},xe=function(Et){Oe(Et,Et.jpc,Et.pc,P.NO_REG,Et.pc),Et.jpc=Q},Ue=function(Et,kt){ge(Et),Et.jpc=_e(Et,Et.jpc,kt)},Ee=function(Et,kt,vt){vt===Et.pc?Ue(Et,kt):(E(vtEt.f.maxstacksize&&(255<=vt&&I.luaX_syntaxerror(Et.ls,N.to_luastring('function or expression needs to many registers',!0)),Et.f.maxstacksize=vt)},Me=function(Et,kt){Ce(Et,kt),Et.freereg+=kt},Pe=function(Et,kt){!P.ISK(kt)&&kt>=Et.nactvar&&(Et.freereg--,E(kt===Et.freereg))},ye=function(Et,kt){kt.k===K.expkind.VNONRELOC&&Pe(Et,kt.u.info)},De=function(Et,kt,vt){let Rt=kt.k===K.expkind.VNONRELOC?kt.u.info:-1,bt=vt.k===K.expkind.VNONRELOC?vt.u.info:-1;Rt>bt?(Pe(Et,Rt),Pe(Et,bt)):(Pe(Et,bt),Pe(Et,Rt))},Ke=function(Et,kt,vt){let Rt=Et.f,bt=G.luaH_set(Et.ls.h,kt);if(bt.ttisinteger()){let Nt=bt.value;if(Nt=Et.nactvar)return Ze(Et,kt,kt.u.info),kt.u.info}return Qe(Et,kt),kt.u.info},at=function(Et,kt){te(kt)?$e(Et,kt):ze(Et,kt)},lt=function(Et,kt){let vt=K.expkind,Rt=!1;switch(at(Et,kt),kt.k){case vt.VTRUE:kt.u.info=we(Et,1),Rt=!0;break;case vt.VFALSE:kt.u.info=we(Et,0),Rt=!0;break;case vt.VNIL:kt.u.info=Fe(Et),Rt=!0;break;case vt.VKINT:kt.u.info=Ve(Et,kt.u.ival),Rt=!0;break;case vt.VKFLT:kt.u.info=Ge(Et,kt.u.nval),Rt=!0;break;case vt.VK:Rt=!0;break;default:}return Rt&&(kt.k=vt.VK,kt.u.info<=P.MAXINDEXRK)?P.RKASK(kt.u.info):$e(Et,kt)},st=function(Et,kt){let vt=Ae(Et,kt.u.info);E(P.testTMode(vt.opcode)&&vt.opcode!==J.OP_TESTSET&&vt.opcode!==J.OP_TEST),P.SETARG_A(vt,!vt.A)},nt=function(Et,kt,vt){if(kt.k===K.expkind.VRELOCABLE){let Rt=se(Et,kt);if(Rt.opcode===J.OP_NOT)return Et.pc--,Le(Et,J.OP_TEST,Rt.B,0,!vt)}return qe(Et,kt),ye(Et,kt),Le(Et,J.OP_TESTSET,P.NO_REG,kt.u.info,vt)},ot=function(Et,kt){let vt=K.expkind,Rt;switch(ze(Et,kt),kt.k){case vt.VJMP:{st(Et,kt),Rt=kt.u.info;break}case vt.VK:case vt.VKFLT:case vt.VKINT:case vt.VTRUE:{Rt=Q;break}default:{Rt=nt(Et,kt,0);break}}kt.f=_e(Et,kt.f,Rt),Ue(Et,kt.t),kt.t=Q},_t=function(Et,kt){let vt=K.expkind,Rt;switch(ze(Et,kt),kt.k){case vt.VJMP:{Rt=kt.u.info;break}case vt.VNIL:case vt.VFALSE:{Rt=Q;break}default:{Rt=nt(Et,kt,1);break}}kt.t=_e(Et,kt.t,Rt),Ue(Et,kt.f),kt.f=Q},it=function(Et,kt){let vt=K.expkind;switch(ze(Et,kt),kt.k){case vt.VNIL:case vt.VFALSE:{kt.k=vt.VTRUE;break}case vt.VK:case vt.VKFLT:case vt.VKINT:case vt.VTRUE:{kt.k=vt.VFALSE;break}case vt.VJMP:{st(Et,kt);break}case vt.VRELOCABLE:case vt.VNONRELOC:{qe(Et,kt),ye(Et,kt),kt.u.info=Re(Et,J.OP_NOT,0,kt.u.info,0),kt.k=vt.VRELOCABLE;break}}{let Rt=kt.f;kt.f=kt.t,kt.t=Rt}he(Et,kt.f),he(Et,kt.t)},ct=function(Et,kt,vt){return Et===N.LUA_OPBAND||Et===N.LUA_OPBOR||Et===N.LUA_OPBXOR||Et===N.LUA_OPSHL||Et===N.LUA_OPSHR||Et===N.LUA_OPBNOT?H.tointeger(kt)&&H.tointeger(vt):Et===N.LUA_OPDIV||Et===N.LUA_OPIDIV||Et===N.LUA_OPMOD?0!==vt.value:1},dt=function(Et,kt,vt,Rt){let bt=K.expkind,St=new q,Nt=new q,It=new q;if(!ae(vt,St)||!ae(Rt,Nt)||!ct(kt,St,Nt))return 0;if(W(Et.ls.L,kt,St,Nt,It),It.ttisinteger())vt.k=bt.VKINT,vt.u.ival=It.value;else{let Ct=It.value;if(isNaN(Ct)||0===Ct)return!1;vt.k=bt.VKFLT,vt.u.nval=Ct}return!0},Lt=function(Et,kt,vt,Rt){let bt=$e(Et,vt);ye(Et,vt),vt.u.info=Re(Et,kt,0,bt,0),vt.k=K.expkind.VRELOCABLE,xt(Et,Rt)},ft=function(Et,kt,vt,Rt,bt){let St=lt(Et,Rt),Nt=lt(Et,vt);De(Et,vt,Rt),vt.u.info=Re(Et,kt,0,Nt,St),vt.k=K.expkind.VRELOCABLE,xt(Et,bt)},At=function(Et,kt,vt,Rt){let bt=K.expkind,St;vt.k===bt.VK?St=P.RKASK(vt.u.info):(E(vt.k===bt.VNONRELOC),St=vt.u.info);let Nt=lt(Et,Rt);switch(De(Et,vt,Rt),kt){case $.OPR_NE:{vt.u.info=Le(Et,J.OP_EQ,0,St,Nt);break}case $.OPR_GT:case $.OPR_GE:{let It=kt-$.OPR_NE+J.OP_EQ;vt.u.info=Le(Et,It,1,Nt,St);break}default:{let It=kt-$.OPR_EQ+J.OP_EQ;vt.u.info=Le(Et,It,1,St,Nt);break}}vt.k=bt.VJMP},xt=function(Et,kt){Et.f.lineinfo[Et.pc-1]=kt};T.exports.BinOpr=$,T.exports.NO_JUMP=Q,T.exports.UnOpr=ee,T.exports.getinstruction=se,T.exports.luaK_checkstack=Ce,T.exports.luaK_code=ve,T.exports.luaK_codeABC=Re,T.exports.luaK_codeABx=be,T.exports.luaK_codeAsBx=Se,T.exports.luaK_codek=Ie,T.exports.luaK_concat=_e,T.exports.luaK_dischargevars=ze,T.exports.luaK_exp2RK=lt,T.exports.luaK_exp2anyreg=$e,T.exports.luaK_exp2anyregup=function(Et,kt){(kt.k!==K.expkind.VUPVAL||te(kt))&&$e(Et,kt)},T.exports.luaK_exp2nextreg=Qe,T.exports.luaK_exp2val=at,T.exports.luaK_fixline=xt,T.exports.luaK_getlabel=ge,T.exports.luaK_goiffalse=_t,T.exports.luaK_goiftrue=ot,T.exports.luaK_indexed=function(Et,kt,vt){let Rt=K.expkind;E(!te(kt)&&(K.vkisinreg(kt.k)||kt.k===Rt.VUPVAL)),kt.u.ind.t=kt.u.info,kt.u.ind.idx=lt(Et,vt),kt.u.ind.vt=kt.k===Rt.VUPVAL?Rt.VUPVAL:Rt.VLOCAL,kt.k=Rt.VINDEXED},T.exports.luaK_infix=function(Et,kt,vt){switch(kt){case $.OPR_AND:{ot(Et,vt);break}case $.OPR_OR:{_t(Et,vt);break}case $.OPR_CONCAT:{Qe(Et,vt);break}case $.OPR_ADD:case $.OPR_SUB:case $.OPR_MUL:case $.OPR_DIV:case $.OPR_IDIV:case $.OPR_MOD:case $.OPR_POW:case $.OPR_BAND:case $.OPR_BOR:case $.OPR_BXOR:case $.OPR_SHL:case $.OPR_SHR:{ae(vt,null)||lt(Et,vt);break}default:{lt(Et,vt);break}}},T.exports.luaK_intK=Ve,T.exports.luaK_jump=pe,T.exports.luaK_jumpto=function(Et,kt){return Ee(Et,pe(Et),kt)},T.exports.luaK_nil=ue,T.exports.luaK_numberK=Ge,T.exports.luaK_patchclose=function(Et,kt,vt){for(vt++;kt!==Q;kt=ne(Et,kt)){let Rt=Et.f.code[kt];E(Rt.opcode===J.OP_JMP&&(0===Rt.A||Rt.A>=vt)),P.SETARG_A(Rt,vt)}},T.exports.luaK_patchlist=Ee,T.exports.luaK_patchtohere=Ue,T.exports.luaK_posfix=function(Et,kt,vt,Rt,bt){let St=K.expkind;switch(kt){case $.OPR_AND:{E(vt.t===Q),ze(Et,Rt),Rt.f=_e(Et,Rt.f,vt.f),vt.to(Rt);break}case $.OPR_OR:{E(vt.f===Q),ze(Et,Rt),Rt.t=_e(Et,Rt.t,vt.t),vt.to(Rt);break}case $.OPR_CONCAT:{let Nt=se(Et,Rt);at(Et,Rt),Rt.k===St.VRELOCABLE&&Nt.opcode===J.OP_CONCAT?(E(vt.u.info===Nt.B-1),ye(Et,vt),P.SETARG_B(Nt,vt.u.info),vt.k=St.VRELOCABLE,vt.u.info=Rt.u.info):(Qe(Et,Rt),ft(Et,J.OP_CONCAT,vt,Rt,bt));break}case $.OPR_ADD:case $.OPR_SUB:case $.OPR_MUL:case $.OPR_DIV:case $.OPR_IDIV:case $.OPR_MOD:case $.OPR_POW:case $.OPR_BAND:case $.OPR_BOR:case $.OPR_BXOR:case $.OPR_SHL:case $.OPR_SHR:{dt(Et,kt+N.LUA_OPADD,vt,Rt)||ft(Et,kt+J.OP_ADD,vt,Rt,bt);break}case $.OPR_EQ:case $.OPR_LT:case $.OPR_LE:case $.OPR_NE:case $.OPR_GT:case $.OPR_GE:{At(Et,kt,vt,Rt);break}}return vt},T.exports.luaK_prefix=function(Et,kt,vt,Rt){let bt=new K.expdesc;switch(bt.k=K.expkind.VKINT,bt.u.ival=bt.u.nval=bt.u.info=0,bt.t=Q,bt.f=Q,kt){case ee.OPR_MINUS:case ee.OPR_BNOT:if(dt(Et,kt+N.LUA_OPUNM,vt,bt))break;case ee.OPR_LEN:Lt(Et,kt+J.OP_UNM,vt,Rt);break;case ee.OPR_NOT:it(Et,vt);}},T.exports.luaK_reserveregs=Me,T.exports.luaK_ret=function(Et,kt,vt){Re(Et,J.OP_RETURN,kt,vt+1,0)},T.exports.luaK_self=function(Et,kt,vt){$e(Et,kt);let Rt=kt.u.info;ye(Et,kt),kt.u.info=Et.freereg,kt.k=K.expkind.VNONRELOC,Me(Et,2),Re(Et,J.OP_SELF,kt.u.info,Rt,lt(Et,vt)),ye(Et,vt)},T.exports.luaK_setlist=function(Et,kt,vt,Rt){let bt=(vt-1)/P.LFIELDS_PER_FLUSH+1,St=Rt===N.LUA_MULTRET?0:Rt;E(0!==Rt&&Rt<=P.LFIELDS_PER_FLUSH),bt<=P.MAXARG_C?Re(Et,J.OP_SETLIST,kt,St,bt):bt<=P.MAXARG_Ax?(Re(Et,J.OP_SETLIST,kt,St,0),Ne(Et,bt)):I.luaX_syntaxerror(Et.ls,N.to_luastring('constructor too long',!0)),Et.freereg=kt+1},T.exports.luaK_setmultret=function(Et,kt){Xe(Et,kt,N.LUA_MULTRET)},T.exports.luaK_setoneret=je,T.exports.luaK_setreturns=Xe,T.exports.luaK_storevar=function(Et,kt,vt){let Rt=K.expkind;switch(kt.k){case Rt.VLOCAL:return ye(Et,vt),void Ze(Et,vt,kt.u.info);case Rt.VUPVAL:{let bt=$e(Et,vt);Re(Et,J.OP_SETUPVAL,bt,kt.u.info,0);break}case Rt.VINDEXED:{let bt=kt.u.ind.vt===Rt.VLOCAL?J.OP_SETTABLE:J.OP_SETTABUP,St=lt(Et,vt);Re(Et,bt,kt.u.ind.t,kt.u.ind.idx,St);break}}ye(Et,vt)},T.exports.luaK_stringK=function(Et,kt){let vt=new q(Y.LUA_TLNGSTR,kt);return Ke(Et,vt,vt)}},function(T,O,U){'use strict';const E=U(1),N=E.constant_types,K=16*_NumberparseInt(E.LUA_VERSION_MAJOR)+_NumberparseInt(E.LUA_VERSION_MINOR);class G{constructor(){this.L=null,this.write=null,this.data=null,this.strip=NaN,this.status=NaN}}const F=function(oe,_e,pe){0===pe.status&&0<_e&&(pe.status=pe.writer(pe.L,oe,_e,pe.data))},H=function(oe,_e){oe=E.to_luastring(oe),F(oe,oe.length,_e)},Y=function(oe,_e){F([oe],1,_e)},J=function(oe,_e){let pe=new DataView(new ArrayBuffer(4));pe.setInt32(0,oe,!0);let ce=[];for(let de=0;4>de;de++)ce.push(pe.getUint8(de,!0));F(ce,4,_e)},q=function(oe,_e){let pe=new DataView(new ArrayBuffer(4));pe.setInt32(0,oe,!0);let ce=[];for(let de=0;4>de;de++)ce.push(pe.getUint8(de,!0));F(ce,8,_e)},W=function(oe,_e){let pe=new DataView(new ArrayBuffer(8));pe.setFloat64(0,oe,!0);let ce=[];for(let de=0;8>de;de++)ce.push(pe.getUint8(de,!0));F(ce,8,_e)},Z=function(oe,_e){if(null===oe)Y(0,_e);else{let pe=oe.tsslen()+1,ce=oe.getstr();255>pe?Y(pe,_e):(Y(255,_e),q(pe,_e)),F(ce,pe-1,_e)}},Q=function(oe,_e){let pe=oe.code.map((ce)=>ce.code);J(pe.length,_e);for(let ce=0;cepe.charCodeAt(0));F(_e,_e.length,oe),Y(4,oe),Y(8,oe),Y(4,oe),Y(4,oe),Y(8,oe),q(22136,oe),W(370.5,oe)};T.exports.luaU_dump=function(oe,_e,pe,ce,de){let Le=new G;return Le.L=oe,Le.writer=pe,Le.data=ce,Le.strip=de,Le.status=0,se(Le),Y(_e.upvalues.length,Le),ue(_e,null,Le),Le.status}},function(T,O,U){'use strict';const E=U(2),N=U(6),I=U(48),M=U(23),P=U(26),K=U(30),V=U(31),G=U(32),F=U(24),H=U(28),Y=U(27),J=U(52),q={[J.LUA_LOADLIBNAME]:Y.luaopen_package,[J.LUA_COLIBNAME]:M.luaopen_coroutine,[J.LUA_DBLIBNAME]:F.luaopen_debug,[J.LUA_MATHLIBNAME]:P.luaopen_math,[J.LUA_OSLIBNAME]:H.luaopen_os,[J.LUA_STRLIBNAME]:K.luaopen_string,[J.LUA_TABLIBNAME]:V.luaopen_table,[J.LUA_UTF8LIBNAME]:G.luaopen_utf8,_G:I.luaopen_base};T.exports.luaL_openlibs=function(Z){for(let Q in q)N.luaL_requiref(Z,E.to_luastring(Q),q[Q],1),E.lua_pop(Z,1)}},function(T,O,U){'use strict';const E=U(2),N='_'+E.LUA_VERSION_MAJOR+'_'+E.LUA_VERSION_MINOR;T.exports.LUA_VERSUFFIX=N;const I='coroutine';T.exports.LUA_COLIBNAME=I,T.exports[I]=U(23).luaopen_coroutine;const M='table';T.exports.LUA_TABLIBNAME=M,T.exports[M]=U(31).luaopen_table;const P='os';T.exports.LUA_OSLIBNAME=P,T.exports[P]=U(28).luaopen_os;const K='string';T.exports.LUA_STRLIBNAME=K,T.exports[K]=U(30).luaopen_string;const V='utf8';T.exports.LUA_UTF8LIBNAME=V,T.exports[V]=U(32).luaopen_utf8,T.exports.LUA_BITLIBNAME='bit32';const F='math';T.exports.LUA_MATHLIBNAME=F,T.exports[F]=U(26).luaopen_math;const H='debug';T.exports.LUA_DBLIBNAME=H,T.exports[H]=U(24).luaopen_debug;const Y='package';T.exports.LUA_LOADLIBNAME=Y,T.exports[Y]=U(27).luaopen_package},function(T,O,U){'use strict';const E=U(0),N=U(1),I=U(9),M=U(11),P=U(5),K=U(20),V=U(7),G=U(19);let F=[25,147,N.char['\r'],N.char['\n'],26,N.char['\n']];class H{constructor(J,q,W){this.intSize=4,this.size_tSize=8,this.instructionSize=4,this.integerSize=4,this.numberSize=8,E(q instanceof G.MBuffer,'BytecodeParser only operates on a MBuffer'),E(Array.isArray(W)),this.name=W[0]==N.char['@']||W[0]==N.char['=']?W.slice(1):W[0]==N.LUA_SIGNATURE.charCodeAt(0)?N.to_luastring('binary string',!0):W,this.L=J,this.buffer=q,this.dv=new DataView(new ArrayBuffer(_Mathmax(this.intSize,this.size_tSize,this.instructionSize,this.integerSize,this.numberSize)))}read(J){let q=this.buffer.read(J);return E(Array.isArray(q)),q.length>W.POS_OP&Z.MASK1(W.SIZE_OP,0),A:$>>W.POS_A&Z.MASK1(W.SIZE_A,0),B:$>>W.POS_B&Z.MASK1(W.SIZE_B,0),C:$>>W.POS_C&Z.MASK1(W.SIZE_C,0),Bx:$>>W.POS_Bx&Z.MASK1(W.SIZE_Bx,0),Ax:$>>W.POS_Ax&Z.MASK1(W.SIZE_Ax,0),sBx:($>>W.POS_Bx&Z.MASK1(W.SIZE_Bx,0))-W.MAXARG_sBx}}readUpvalues(J){let q=this.readInt();for(let W=0;W 0) { /* are there pre-read characters to be read? */ - lf.n = 0; /* no more pre-read characters */ - } else { /* read a block from file */ - lf.buff.fill(0); - bytes = fs.readSync(lf.f, lf.buff, 0, lf.buff.length, lf.pos); /* read block */ - lf.pos += bytes; - } - if (bytes > 0) - return lf.binary ? toDataView(lf.buff) : lf.buff.slice(0, bytes); - else return null; - }; - - const errfile = function(L, what, fnameindex, error) { - let serr = error.message; - let filename = lua.lua_tostring(L, fnameindex).slice(1); - lua.lua_pushstring(L, lua.to_luastring(`cannot ${what} ${lua.to_jsstring(filename)}: ${serr}`)); - lua.lua_remove(L, fnameindex); - return lua.LUA_ERRFILE; - }; - - const getc = function(lf) { - let b = new Buffer(1); - let bytes = fs.readSync(lf.f, b, 0, 1, lf.pos); + const toDataView = function(buffer) { + let ab = new ArrayBuffer(buffer.length); + let au = new Uint8Array(ab); + for (let i = 0; i < buffer.length; i++) + au[i] = buffer[i]; + return new DataView(ab); + }; + + const getF = function(L, ud) { + let lf = ud; + let bytes = 0; + if (lf.n > 0) { /* are there pre-read characters to be read? */ + lf.n = 0; /* no more pre-read characters */ + } else { /* read a block from file */ + lf.buff.fill(0); + bytes = fs.readSync(lf.f, lf.buff, 0, lf.buff.length, lf.pos); /* read block */ lf.pos += bytes; - return bytes > 0 ? b.readUInt8() : null; - }; - - const skipBOM = function(lf) { - let p = [0XEF, 0XBB, 0XBF]; /* UTF-8 BOM mark */ - lf.n = 0; - let c; - do { + } + if (bytes > 0) + return lf.binary ? toDataView(lf.buff) : lf.buff.slice(0, bytes); + else return null; + }; + + const errfile = function(L, what, fnameindex, error) { + let serr = error.message; + let filename = lua.lua_tostring(L, fnameindex).slice(1); + lua.lua_pushstring(L, lua.to_luastring(`cannot ${what} ${lua.to_jsstring(filename)}: ${serr}`)); + lua.lua_remove(L, fnameindex); + return lua.LUA_ERRFILE; + }; + + const getc = function(lf) { + let b = new Buffer(1); + let bytes = fs.readSync(lf.f, b, 0, 1, lf.pos); + lf.pos += bytes; + return bytes > 0 ? b.readUInt8() : null; + }; + + const skipBOM = function(lf) { + let p = [0XEF, 0XBB, 0XBF]; /* UTF-8 BOM mark */ + lf.n = 0; + let c; + do { + c = getc(lf); + if (c === null || c !== p[0]) return c; + p = p.slice(1); + lf.buff[lf.n++] = c; /* to be read by the parser */ + } while (p.length > 0); + lf.n = 0; /* prefix matched; discard it */ + return getc(lf); /* return next character */ + }; + + /* + ** reads the first character of file 'f' and skips an optional BOM mark + ** in its beginning plus its first line if it starts with '#'. Returns + ** true if it skipped the first line. In any case, '*cp' has the + ** first "valid" character of the file (after the optional BOM and + ** a first-line comment). + */ + const skipcomment = function(lf) { + let c = skipBOM(lf); + if (c === '#'.charCodeAt(0)) { /* first line is a comment (Unix exec. file)? */ + do { /* skip first line */ c = getc(lf); - if (c === null || c !== p[0]) return c; - p = p.slice(1); - lf.buff[lf.n++] = c; /* to be read by the parser */ - } while (p.length > 0); - lf.n = 0; /* prefix matched; discard it */ - return getc(lf); /* return next character */ - }; - - /* - ** reads the first character of file 'f' and skips an optional BOM mark - ** in its beginning plus its first line if it starts with '#'. Returns - ** true if it skipped the first line. In any case, '*cp' has the - ** first "valid" character of the file (after the optional BOM and - ** a first-line comment). - */ - const skipcomment = function(lf) { - let c = skipBOM(lf); - if (c === '#'.charCodeAt(0)) { /* first line is a comment (Unix exec. file)? */ - do { /* skip first line */ - c = getc(lf); - } while (c && c !== '\n'.charCodeAt(0)); - - return { - skipped: true, - c: getc(lf) /* skip end-of-line, if present */ - }; - } else { - lf.pos--; - return { - skipped: false, - c: c - }; - } - }; - - const luaL_loadfilex = function(L, filename, mode) { - let lf = new LoadF(); - let fnameindex = lua.lua_gettop(L) + 1; /* index of filename on the stack */ - if (filename === null) { - lua.lua_pushliteral(L, "=stdin"); - lf.f = process.stdin.fd; - } else { - let jsfilename = lua.to_jsstring(filename); - lua.lua_pushliteral(L, `@${jsfilename}`); - try { - lf.f = fs.openSync(jsfilename, "r"); - } catch (e) { - return errfile(L, "open", fnameindex, e); - } - } + } while (c && c !== '\n'.charCodeAt(0)); + return { + skipped: true, + c: getc(lf) /* skip end-of-line, if present */ + }; + } else { + lf.pos--; + return { + skipped: false, + c: c + }; + } + }; + + const luaL_loadfilex = function(L, filename, mode) { + let lf = new LoadF(); + let fnameindex = lua.lua_gettop(L) + 1; /* index of filename on the stack */ + if (filename === null) { + lua.lua_pushliteral(L, "=stdin"); + lf.f = process.stdin.fd; + } else { + let jsfilename = lua.to_jsstring(filename); + lua.lua_pushliteral(L, `@${jsfilename}`); try { - let com; - if ((com = skipcomment(lf)).skipped) /* read initial portion */ - lf.buff[lf.n++] = '\n'.charCodeAt(0); /* add line to correct line numbers */ + lf.f = fs.openSync(jsfilename, "r"); + } catch (e) { + return errfile(L, "open", fnameindex, e); + } + } - if (com.c === lua.LUA_SIGNATURE.charCodeAt(0) && filename) { /* binary file? */ - lf.binary = true; - } + try { + let com; + if ((com = skipcomment(lf)).skipped) /* read initial portion */ + lf.buff[lf.n++] = '\n'.charCodeAt(0); /* add line to correct line numbers */ - let status = lua.lua_load(L, getF, lf, lua.lua_tostring(L, -1), mode); - if (filename) fs.closeSync(lf.f); /* close file (even in case of errors) */ - lua.lua_remove(L, fnameindex); - return status; - } catch (err) { - lua.lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ - return errfile(L, "read", fnameindex, err); + if (com.c === lua.LUA_SIGNATURE.charCodeAt(0) && filename) { /* binary file? */ + lf.binary = true; } - }; - const luaL_loadfile = function(L, filename) { - return luaL_loadfilex(L, filename, null); - }; + let status = lua.lua_load(L, getF, lf, lua.lua_tostring(L, -1), mode); + if (filename) fs.closeSync(lf.f); /* close file (even in case of errors) */ + lua.lua_remove(L, fnameindex); + return status; + } catch (err) { + lua.lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ + return errfile(L, "read", fnameindex, err); + } + }; - const luaL_dofile = function(L, filename) { - return (luaL_loadfile(L, filename) || lua.lua_pcall(L, 0, lua.LUA_MULTRET, 0)); - }; + const luaL_loadfile = function(L, filename) { + return luaL_loadfilex(L, filename, null); + }; - module.exports.luaL_dofile = luaL_dofile; - module.exports.luaL_loadfilex = luaL_loadfilex; - module.exports.luaL_loadfile = luaL_loadfile; - } + const luaL_dofile = function(L, filename) { + return (luaL_loadfile(L, filename) || lua.lua_pcall(L, 0, lua.LUA_MULTRET, 0)); + }; + + module.exports.luaL_dofile = luaL_dofile; + module.exports.luaL_loadfilex = luaL_loadfilex; + module.exports.luaL_loadfile = luaL_loadfile; } const lua_writestringerror = function(s) { diff --git a/src/lbaselib.js b/src/lbaselib.js index d1d930a..8f0827e 100644 --- a/src/lbaselib.js +++ b/src/lbaselib.js @@ -331,38 +331,33 @@ const base_funcs = { }; // Only with Node -if (typeof require === "function") { - - let fs = false; - try { - fs = require('fs'); - } catch (e) {} - - if (fs) { - const luaB_loadfile = function(L) { - let fname = lauxlib.luaL_optstring(L, 1, null); - let mode = lauxlib.luaL_optstring(L, 2, null); - let env = !lua.lua_isnone(L, 3) ? 3 : 0; /* 'env' index or 0 if no 'env' */ - let status = lauxlib.luaL_loadfilex(L, fname, mode); - return load_aux(L, status, env); - }; - - const dofilecont = function(L, d1, d2) { - return lua.lua_gettop(L) - 1; - }; - - const luaB_dofile = function(L) { - let fname = lauxlib.luaL_optstring(L, 1, null); - lua.lua_settop(L, 1); - if (lauxlib.luaL_loadfile(L, fname) !== lua.LUA_OK) - return lua.lua_error(L); - lua.lua_callk(L, 0, lua.LUA_MULTRET, 0, dofilecont); - return dofilecont(L, 0, 0); - }; - - base_funcs.loadfile = luaB_loadfile; - base_funcs.dofile = luaB_dofile; - } +if (!WEB) { + + const fs = require('fs'); + + const luaB_loadfile = function(L) { + let fname = lauxlib.luaL_optstring(L, 1, null); + let mode = lauxlib.luaL_optstring(L, 2, null); + let env = !lua.lua_isnone(L, 3) ? 3 : 0; /* 'env' index or 0 if no 'env' */ + let status = lauxlib.luaL_loadfilex(L, fname, mode); + return load_aux(L, status, env); + }; + + const dofilecont = function(L, d1, d2) { + return lua.lua_gettop(L) - 1; + }; + + const luaB_dofile = function(L) { + let fname = lauxlib.luaL_optstring(L, 1, null); + lua.lua_settop(L, 1); + if (lauxlib.luaL_loadfile(L, fname) !== lua.LUA_OK) + return lua.lua_error(L); + lua.lua_callk(L, 0, lua.LUA_MULTRET, 0, dofilecont); + return dofilecont(L, 0, 0); + }; + + base_funcs.loadfile = luaB_loadfile; + base_funcs.dofile = luaB_dofile; } diff --git a/src/ldblib.js b/src/ldblib.js index fbf31e8..90f08cd 100644 --- a/src/ldblib.js +++ b/src/ldblib.js @@ -397,40 +397,33 @@ const dblib = { }; // Only with Node -if (typeof require === "function") { - let fs = false; - try { - fs = require('fs'); - } catch (e) {} - - if (fs) { - const readlineSync = require('readline-sync'); - readlineSync.setDefaultOptions({ - prompt: 'lua_debug> ' - }); - - // TODO: if in browser, use a designated input in the DOM ? - const db_debug = function(L) { - for (;;) { - let input = readlineSync.prompt(); - - if (input === "cont") - return 0; - - if (input.length === 0) - continue; - - let buffer = lua.to_luastring(input); - if (lauxlib.luaL_loadbuffer(L, buffer, buffer.length, lua.to_luastring("=(debug command)", true)) - || lua.lua_pcall(L, 0, 0, 0)) { - lauxlib.lua_writestringerror(`${lua.lua_tojsstring(L, -1)}\n`); - } - lua.lua_settop(L, 0); /* remove eventual returns */ +if (!WEB) { + const readlineSync = require('readline-sync'); + readlineSync.setDefaultOptions({ + prompt: 'lua_debug> ' + }); + + // TODO: if in browser, use a designated input in the DOM ? + const db_debug = function(L) { + for (;;) { + let input = readlineSync.prompt(); + + if (input === "cont") + return 0; + + if (input.length === 0) + continue; + + let buffer = lua.to_luastring(input); + if (lauxlib.luaL_loadbuffer(L, buffer, buffer.length, lua.to_luastring("=(debug command)", true)) + || lua.lua_pcall(L, 0, 0, 0)) { + lauxlib.lua_writestringerror(`${lua.lua_tojsstring(L, -1)}\n`); } - }; + lua.lua_settop(L, 0); /* remove eventual returns */ + } + }; - dblib.debug = db_debug; - } + dblib.debug = db_debug; } const luaopen_debug = function(L) { diff --git a/src/linit.js b/src/linit.js index 6cc48b1..4139f20 100644 --- a/src/linit.js +++ b/src/linit.js @@ -9,7 +9,6 @@ const lstrlib = require('./lstrlib.js'); const ltablib = require('./ltablib.js'); const lutf8lib = require('./lutf8lib.js'); const ldblib = require('./ldblib.js'); -const liolib = require('./liolib.js'); const loslib = require('./loslib.js'); const loadlib = require('./loadlib.js'); const lualib = require('./lualib.js'); @@ -19,7 +18,6 @@ const loadedlibs = { [lualib.LUA_COLIBNAME]: lcorolib.luaopen_coroutine, [lualib.LUA_DBLIBNAME]: ldblib.luaopen_debug, [lualib.LUA_MATHLIBNAME]: lmathlib.luaopen_math, - [lualib.LUA_IOLIBNAME]: liolib.luaopen_io, [lualib.LUA_OSLIBNAME]: loslib.luaopen_os, [lualib.LUA_STRLIBNAME]: lstrlib.luaopen_string, [lualib.LUA_TABLIBNAME]: ltablib.luaopen_table, @@ -27,6 +25,8 @@ const loadedlibs = { "_G": lbaselib.luaopen_base }; +if (!WEB) loadedlibs[lualib.LUA_IOLIBNAME] = require('./liolib.js').luaopen_io; + const luaL_openlibs = function(L) { /* "require" functions from 'loadedlibs' and set results to global table */ for (let lib in loadedlibs) { diff --git a/src/loadlib.js b/src/loadlib.js index e7b1680..c2e867a 100644 --- a/src/loadlib.js +++ b/src/loadlib.js @@ -79,28 +79,23 @@ let readable = function(filename) { return false; }; // Only with Node -if (typeof require === "function") { +if (!WEB) { - let fs = false; - try { - fs = require('fs'); - } catch (e) {} + const fs = require('fs'); - if (fs) { - readable = function(filename) { - let fd = false; + readable = function(filename) { + let fd = false; - try { - fd = fs.openSync(lua.to_jsstring(filename), 'r'); - } catch (e) { - return false; - } + try { + fd = fs.openSync(lua.to_jsstring(filename), 'r'); + } catch (e) { + return false; + } - fs.closeSync(fd); + fs.closeSync(fd); - return true; - }; - } + return true; + }; } diff --git a/src/loslib.js b/src/loslib.js index b93071b..976ab92 100644 --- a/src/loslib.js +++ b/src/loslib.js @@ -180,96 +180,87 @@ if (process && process.exit && process.env && process.uptime) { // Only with Node -if (typeof require === "function") { - - let fs = false; - let tmp = false; - let child_process = false; - try { - fs = require('fs'); - tmp = require('tmp'); - child_process = require('child_process'); - } catch (e) {} - - if (fs && tmp) { - // TODO: on POSIX system, should create the file - const lua_tmpname = function() { - return tmp.tmpNameSync(); - }; - - const os_remove = function(L) { - let filename = lauxlib.luaL_checkstring(L, 1); +if (!WEB) { + + const fs = require('fs'); + const tmp = require('tmp'); + const child_process = require('child_process'); + + // TODO: on POSIX system, should create the file + const lua_tmpname = function() { + return tmp.tmpNameSync(); + }; + + const os_remove = function(L) { + let filename = lauxlib.luaL_checkstring(L, 1); + try { + if (fs.lstatSync(lua.to_jsstring(filename)).isDirectory()) { + fs.rmdirSync(lua.to_jsstring(filename)); + } else { + fs.unlinkSync(lua.to_jsstring(filename)); + } + } catch (e) { + return lauxlib.luaL_fileresult(L, false, filename, e); + } + return lauxlib.luaL_fileresult(L, true); + }; + + const os_rename = function(L) { + let fromname = lua.to_jsstring(lauxlib.luaL_checkstring(L, 1)); + let toname = lua.to_jsstring(lauxlib.luaL_checkstring(L, 2)); + try { + fs.renameSync(fromname, toname); + } catch (e) { + return lauxlib.luaL_fileresult(L, false, false, e); + } + return lauxlib.luaL_fileresult(L, true); + }; + + const os_tmpname = function(L) { + let name = lua_tmpname(); + if (!name) + return lauxlib.luaL_error(L, lua.to_luastring("unable to generate a unique filename")); + lua.lua_pushstring(L, lua.to_luastring(name)); + return 1; + }; + + syslib.remove = os_remove; + syslib.rename = os_rename; + syslib.tmpname = os_tmpname; + + const os_execute = function(L) { + let cmd = lauxlib.luaL_optstring(L, 1, null); + if (cmd !== null) { try { - if (fs.lstatSync(lua.to_jsstring(filename)).isDirectory()) { - fs.rmdirSync(lua.to_jsstring(filename)); - } else { - fs.unlinkSync(lua.to_jsstring(filename)); - } + child_process.execSync( + lua.to_jsstring(cmd), + { + stdio: [process.stdin, process.stdout, process.stderr] + } + ); } catch (e) { - return lauxlib.luaL_fileresult(L, false, filename, e); + return lauxlib.luaL_execresult(L, e); } - return lauxlib.luaL_fileresult(L, true); - }; - const os_rename = function(L) { - let fromname = lua.to_jsstring(lauxlib.luaL_checkstring(L, 1)); - let toname = lua.to_jsstring(lauxlib.luaL_checkstring(L, 2)); + return lauxlib.luaL_execresult(L, null); + } else { try { - fs.renameSync(fromname, toname); + child_process.execSync( + lua.to_jsstring(cmd), + { + stdio: [process.stdin, process.stdout, process.stderr] + } + ); + lua.lua_pushboolean(L, 1); } catch (e) { - return lauxlib.luaL_fileresult(L, false, false, e); + lua.lua_pushboolean(L, 0); } - return lauxlib.luaL_fileresult(L, true); - }; - - const os_tmpname = function(L) { - let name = lua_tmpname(); - if (!name) - return lauxlib.luaL_error(L, lua.to_luastring("unable to generate a unique filename")); - lua.lua_pushstring(L, lua.to_luastring(name)); - return 1; - }; - - syslib.remove = os_remove; - syslib.rename = os_rename; - syslib.tmpname = os_tmpname; - } - if (child_process) { - const os_execute = function(L) { - let cmd = lauxlib.luaL_optstring(L, 1, null); - if (cmd !== null) { - try { - child_process.execSync( - lua.to_jsstring(cmd), - { - stdio: [process.stdin, process.stdout, process.stderr] - } - ); - } catch (e) { - return lauxlib.luaL_execresult(L, e); - } - - return lauxlib.luaL_execresult(L, null); - } else { - try { - child_process.execSync( - lua.to_jsstring(cmd), - { - stdio: [process.stdin, process.stdout, process.stderr] - } - ); - lua.lua_pushboolean(L, 1); - } catch (e) { - lua.lua_pushboolean(L, 0); - } - - return 1; - } - }; + return 1; + } + }; - syslib.execute = os_execute; - } + syslib.execute = os_execute; } diff --git a/src/lualib.js b/src/lualib.js index 549ab28..ed02273 100644 --- a/src/lualib.js +++ b/src/lualib.js @@ -14,9 +14,11 @@ const LUA_TABLIBNAME = "table"; module.exports.LUA_TABLIBNAME = LUA_TABLIBNAME; module.exports[LUA_TABLIBNAME] = require("./ltablib.js").luaopen_table; -const LUA_IOLIBNAME = "io"; -module.exports.LUA_IOLIBNAME = LUA_IOLIBNAME; -module.exports[LUA_IOLIBNAME] = require("./liolib.js").luaopen_io; +if (!WEB) { + const LUA_IOLIBNAME = "io"; + module.exports.LUA_IOLIBNAME = LUA_IOLIBNAME; + module.exports[LUA_IOLIBNAME] = require("./liolib.js").luaopen_io; +} const LUA_OSLIBNAME = "os"; module.exports.LUA_OSLIBNAME = LUA_OSLIBNAME; diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..7c8dad4 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,20 @@ +const webpack = require('webpack'); +const path = require('path'); +const BabiliPlugin = require("babili-webpack-plugin"); + +module.exports = [ + { + entry: './src/fengari.js', + output: { + path: path.resolve(__dirname, 'dist'), + filename: 'fengari.js', + library: 'fengari' + }, + plugins: [ + new BabiliPlugin(), + new webpack.DefinePlugin({ + WEB: JSON.stringify(true), + }) + ] + } +]; diff --git a/yarn.lock b/yarn.lock index b126289..7a5150e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,58 +2,1717 @@ # yarn lockfile v1 +abbrev@1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" + +acorn-dynamic-import@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" + dependencies: + acorn "^4.0.3" + +acorn@^4.0.3: + version "4.0.11" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0" + +acorn@^5.0.0: + version "5.0.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d" + +ajv-keywords@^1.1.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" + +ajv@^4.7.0, ajv@^4.9.1: + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" + dependencies: + co "^4.6.0" + json-stable-stringify "^1.0.1" + +align-text@^0.1.1, align-text@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" + dependencies: + kind-of "^3.0.2" + longest "^1.0.1" + repeat-string "^1.5.2" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + +anymatch@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" + dependencies: + arrify "^1.0.0" + micromatch "^2.1.5" + +aproba@^1.0.3: + version "1.1.1" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" + +are-we-there-yet@~1.1.2: + version "1.1.4" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" + dependencies: + delegates "^1.0.0" + readable-stream "^2.0.6" + +arr-diff@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" + dependencies: + arr-flatten "^1.0.1" + +arr-flatten@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.3.tgz#a274ed85ac08849b6bd7847c4580745dc51adfb1" + +array-unique@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" + +arrify@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" + +asn1.js@^4.0.0: + version "4.9.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" + dependencies: + bn.js "^4.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + +asn1@~0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + +assert-plus@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" + +assert@^1.1.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" + dependencies: + util "0.10.3" + +async-each@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" + +async@^2.1.2: + version "2.4.0" + resolved "https://registry.yarnpkg.com/async/-/async-2.4.0.tgz#4990200f18ea5b837c2cc4f8c031a6985c385611" + dependencies: + lodash "^4.14.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + +aws-sign2@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" + +aws4@^1.2.1: + version "1.6.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" + +babel-code-frame@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" + dependencies: + chalk "^1.1.0" + esutils "^2.0.2" + js-tokens "^3.0.0" + +babel-core@^6.23.1, babel-core@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.24.1.tgz#8c428564dce1e1f41fb337ec34f4c3b022b5ad83" + dependencies: + babel-code-frame "^6.22.0" + babel-generator "^6.24.1" + babel-helpers "^6.24.1" + babel-messages "^6.23.0" + babel-register "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + babylon "^6.11.0" + convert-source-map "^1.1.0" + debug "^2.1.1" + json5 "^0.5.0" + lodash "^4.2.0" + minimatch "^3.0.2" + path-is-absolute "^1.0.0" + private "^0.1.6" + slash "^1.0.0" + source-map "^0.5.0" + +babel-generator@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.1.tgz#e715f486c58ded25649d888944d52aa07c5d9497" + dependencies: + babel-messages "^6.23.0" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + detect-indent "^4.0.0" + jsesc "^1.3.0" + lodash "^4.2.0" + source-map "^0.5.0" + trim-right "^1.0.1" + +babel-helper-evaluate-path@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.0.3.tgz#1d103ac9d4a59e5d431842212f151785f7ac547b" + +babel-helper-flip-expressions@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.0.2.tgz#7bab2cf61162bc92703e9b298ef512bcf77d6787" + +babel-helper-is-nodes-equiv@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684" + +babel-helper-is-void-0@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.0.1.tgz#ed74553b883e68226ae45f989a99b02c190f105a" + +babel-helper-mark-eval-scopes@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.0.3.tgz#902f75aeb537336edc35eb9f52b6f09db7785328" + +babel-helper-remove-or-void@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.0.1.tgz#f602790e465acf2dfbe84fb3dd210c43a2dd7262" + +babel-helper-to-multiple-sequence-expressions@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.0.4.tgz#d94414b386b6286fbaad77f073dea9b34324b01c" + +babel-helpers@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" + dependencies: + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-messages@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-minify-builtins@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.0.2.tgz#f3be6121763c0c518d5ef82067cef4b615c9498c" + dependencies: + babel-helper-evaluate-path "^0.0.3" + +babel-plugin-minify-constant-folding@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.0.4.tgz#b6e231026a6035e88ceadd206128d7db2b5c15e6" + dependencies: + babel-helper-evaluate-path "^0.0.3" + jsesc "^2.4.0" + +babel-plugin-minify-dead-code-elimination@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.1.4.tgz#18b6ecfab77c29caca061d8210fa3495001e4fa1" + dependencies: + babel-helper-mark-eval-scopes "^0.0.3" + babel-helper-remove-or-void "^0.0.1" + lodash.some "^4.6.0" + +babel-plugin-minify-flip-comparisons@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.0.2.tgz#7d0953aa5876ede6118966bda9edecc63bf346ab" + dependencies: + babel-helper-is-void-0 "^0.0.1" + +babel-plugin-minify-guarded-expressions@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.0.4.tgz#957104a760e6a7ffd967005a7a11621bb42fd11c" + dependencies: + babel-helper-flip-expressions "^0.0.2" + +babel-plugin-minify-infinity@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.0.3.tgz#4cc99b61d12b434ce80ad675103335c589cba9a1" + +babel-plugin-minify-mangle-names@^0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.0.8.tgz#1e2fea856dd742d5697aa26b427e41258a8c5b79" + dependencies: + babel-helper-mark-eval-scopes "^0.0.3" + +babel-plugin-minify-numeric-literals@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.0.1.tgz#9597e6c31154d7daf3744d0bd417c144b275bd53" + +babel-plugin-minify-replace@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.0.1.tgz#5d5aea7cb9899245248d1ee9ce7a2fe556a8facc" + +babel-plugin-minify-simplify@^0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.0.8.tgz#597b23327bba4373fed1c51461a689bce9ff4979" + dependencies: + babel-helper-flip-expressions "^0.0.2" + babel-helper-is-nodes-equiv "^0.0.1" + babel-helper-to-multiple-sequence-expressions "^0.0.4" + +babel-plugin-minify-type-constructors@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.0.4.tgz#52d8b623775107523227719ade2d0b7458758b5f" + dependencies: + babel-helper-is-void-0 "^0.0.1" + +babel-plugin-transform-inline-consecutive-adds@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.0.2.tgz#a58fcecfc09c08fbf9373a5a3e70746c03d01fc1" + +babel-plugin-transform-member-expression-literals@^6.8.1: + version "6.8.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.8.1.tgz#60b78cb2b814ac71dd6104ef51c496c62e877337" + +babel-plugin-transform-merge-sibling-variables@^6.8.2: + version "6.8.2" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.8.2.tgz#498acd07481ab340c1bad8b726c2fad1b8f644e5" + +babel-plugin-transform-minify-booleans@^6.8.0: + version "6.8.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.8.0.tgz#b1a48864a727847696b84eae36fa4d085a54b42b" + dependencies: + babel-runtime "^6.0.0" + +babel-plugin-transform-property-literals@^6.8.1: + version "6.8.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.8.1.tgz#05ed01f6024820b18f1d0495c80fe287176bccd9" + +babel-plugin-transform-regexp-constructors@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.0.6.tgz#0d92607f0d26268296980cb7c1dea5f2dd3e1e20" + +babel-plugin-transform-remove-console@^6.8.1: + version "6.8.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.8.1.tgz#38f6a6ca1581e76b75fc2c6fdcf909deadee7d6a" + +babel-plugin-transform-remove-debugger@^6.8.1: + version "6.8.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.8.1.tgz#aabd0be107f8299094defe8e1ba8ccf4b114d07f" + +babel-plugin-transform-remove-undefined@^0.0.5: + version "0.0.5" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.0.5.tgz#12ef11805e06e861dd2eb0c7cc041d2184b8f410" + +babel-plugin-transform-simplify-comparison-operators@^6.8.1: + version "6.8.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.8.1.tgz#a307088e0d1c728081777fba568f4107396ab25c" + +babel-plugin-transform-undefined-to-void@^6.8.0: + version "6.8.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.8.0.tgz#bc5b6b4908d3b1262170e67cb3963903ddce167e" + dependencies: + babel-runtime "^6.0.0" + +babel-preset-babili@^0.0.12: + version "0.0.12" + resolved "https://registry.yarnpkg.com/babel-preset-babili/-/babel-preset-babili-0.0.12.tgz#74d79205d54feae6470bc84231da0b9ac9fc7de9" + dependencies: + babel-plugin-minify-builtins "^0.0.2" + babel-plugin-minify-constant-folding "^0.0.4" + babel-plugin-minify-dead-code-elimination "^0.1.4" + babel-plugin-minify-flip-comparisons "^0.0.2" + babel-plugin-minify-guarded-expressions "^0.0.4" + babel-plugin-minify-infinity "^0.0.3" + babel-plugin-minify-mangle-names "^0.0.8" + babel-plugin-minify-numeric-literals "^0.0.1" + babel-plugin-minify-replace "^0.0.1" + babel-plugin-minify-simplify "^0.0.8" + babel-plugin-minify-type-constructors "^0.0.4" + babel-plugin-transform-inline-consecutive-adds "^0.0.2" + babel-plugin-transform-member-expression-literals "^6.8.1" + babel-plugin-transform-merge-sibling-variables "^6.8.2" + babel-plugin-transform-minify-booleans "^6.8.0" + babel-plugin-transform-property-literals "^6.8.1" + babel-plugin-transform-regexp-constructors "^0.0.6" + babel-plugin-transform-remove-console "^6.8.1" + babel-plugin-transform-remove-debugger "^6.8.1" + babel-plugin-transform-remove-undefined "^0.0.5" + babel-plugin-transform-simplify-comparison-operators "^6.8.1" + babel-plugin-transform-undefined-to-void "^6.8.0" + lodash.isplainobject "^4.0.6" + +babel-register@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f" + dependencies: + babel-core "^6.24.1" + babel-runtime "^6.22.0" + core-js "^2.4.0" + home-or-tmp "^2.0.0" + lodash "^4.2.0" + mkdirp "^0.5.1" + source-map-support "^0.4.2" + +babel-runtime@^6.0.0, babel-runtime@^6.22.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.10.0" + +babel-template@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.24.1.tgz#04ae514f1f93b3a2537f2a0f60a5a45fb8308333" + dependencies: + babel-runtime "^6.22.0" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + babylon "^6.11.0" + lodash "^4.2.0" + +babel-traverse@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.24.1.tgz#ab36673fd356f9a0948659e7b338d5feadb31695" + dependencies: + babel-code-frame "^6.22.0" + babel-messages "^6.23.0" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + babylon "^6.15.0" + debug "^2.2.0" + globals "^9.0.0" + invariant "^2.2.0" + lodash "^4.2.0" + +babel-types@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.24.1.tgz#a136879dc15b3606bda0d90c1fc74304c2ff0975" + dependencies: + babel-runtime "^6.22.0" + esutils "^2.0.2" + lodash "^4.2.0" + to-fast-properties "^1.0.1" + +babili-webpack-plugin@^0.0.11: + version "0.0.11" + resolved "https://registry.yarnpkg.com/babili-webpack-plugin/-/babili-webpack-plugin-0.0.11.tgz#09571593b81bbcc3033e8570540b391e98801803" + dependencies: + babel-core "^6.23.1" + babel-preset-babili "^0.0.12" + webpack-sources "^0.1.4" + +babylon@^6.11.0, babylon@^6.15.0: + version "6.17.0" + resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.0.tgz#37da948878488b9c4e3c4038893fa3314b3fc932" + +balanced-match@^0.4.1: + version "0.4.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" + +base64-js@^1.0.2: + version "1.2.0" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" + +bcrypt-pbkdf@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" + dependencies: + tweetnacl "^0.14.3" + +big.js@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.1.3.tgz#4cada2193652eb3ca9ec8e55c9015669c9806978" + +binary-extensions@^1.0.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" + +block-stream@*: + version "0.0.9" + resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" + dependencies: + inherits "~2.0.0" + +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: + version "4.11.6" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" + +boom@2.x.x: + version "2.10.1" + resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" + dependencies: + hoek "2.x.x" + +brace-expansion@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59" + dependencies: + balanced-match "^0.4.1" + concat-map "0.0.1" + +braces@^1.8.2: + version "1.8.5" + resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" + dependencies: + expand-range "^1.8.1" + preserve "^0.2.0" + repeat-element "^1.1.2" + +brorand@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + +browserify-aes@^1.0.0, browserify-aes@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.6.tgz#5e7725dbdef1fd5930d4ebab48567ce451c48a0a" + dependencies: + buffer-xor "^1.0.2" + cipher-base "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.0" + inherits "^2.0.1" + +browserify-cipher@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.0.tgz#9988244874bf5ed4e28da95666dcd66ac8fc363a" + dependencies: + browserify-aes "^1.0.4" + browserify-des "^1.0.0" + evp_bytestokey "^1.0.0" + +browserify-des@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.0.tgz#daa277717470922ed2fe18594118a175439721dd" + dependencies: + cipher-base "^1.0.1" + des.js "^1.0.0" + inherits "^2.0.1" + +browserify-rsa@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" + dependencies: + bn.js "^4.1.0" + randombytes "^2.0.1" + +browserify-sign@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" + dependencies: + bn.js "^4.1.1" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.2" + elliptic "^6.0.0" + inherits "^2.0.1" + parse-asn1 "^5.0.0" + +browserify-zlib@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" + dependencies: + pako "~0.2.0" + +buffer-shims@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" + +buffer-xor@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" + +buffer@^4.3.0: + version "4.9.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + isarray "^1.0.0" + +builtin-modules@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" + +builtin-status-codes@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" + +camelcase@^1.0.2: + version "1.2.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" + +camelcase@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + +center-align@^0.1.1: + version "0.1.3" + resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" + dependencies: + align-text "^0.1.3" + lazy-cache "^1.0.3" + +chalk@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chokidar@^1.4.3: + version "1.7.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" + dependencies: + anymatch "^1.3.0" + async-each "^1.0.0" + glob-parent "^2.0.0" + inherits "^2.0.1" + is-binary-path "^1.0.0" + is-glob "^2.0.0" + path-is-absolute "^1.0.0" + readdirp "^2.0.0" + optionalDependencies: + fsevents "^1.0.0" + +cipher-base@^1.0.0, cipher-base@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.3.tgz#eeabf194419ce900da3018c207d212f2a6df0a07" + dependencies: + inherits "^2.0.1" + +cliui@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" + dependencies: + center-align "^0.1.1" + right-align "^0.1.1" + wordwrap "0.0.2" + +cliui@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + wrap-ansi "^2.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + +combined-stream@^1.0.5, combined-stream@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" + dependencies: + delayed-stream "~1.0.0" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + +console-browserify@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" + dependencies: + date-now "^0.1.4" + +console-control-strings@^1.0.0, console-control-strings@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + +constants-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" + +convert-source-map@^1.1.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" + +core-js@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" + core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" +create-ecdh@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" + dependencies: + bn.js "^4.1.0" + elliptic "^6.0.0" + +create-hash@^1.1.0, create-hash@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.2.tgz#51210062d7bb7479f6c65bb41a92208b1d61abad" + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + ripemd160 "^1.0.0" + sha.js "^2.3.6" + +create-hmac@^1.1.0, create-hmac@^1.1.2: + version "1.1.4" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.4.tgz#d3fb4ba253eb8b3f56e39ea2fbcb8af747bd3170" + dependencies: + create-hash "^1.1.0" + inherits "^2.0.1" + +cryptiles@2.x.x: + version "2.0.5" + resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" + dependencies: + boom "2.x.x" + +crypto-browserify@^3.11.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.0.tgz#3652a0906ab9b2a7e0c3ce66a408e957a2485522" + dependencies: + browserify-cipher "^1.0.0" + browserify-sign "^4.0.0" + create-ecdh "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.0" + diffie-hellman "^5.0.0" + inherits "^2.0.1" + pbkdf2 "^3.0.3" + public-encrypt "^4.0.0" + randombytes "^2.0.0" + +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + dependencies: + assert-plus "^1.0.0" + +date-now@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" + +debug@^2.1.1, debug@^2.2.0: + version "2.6.6" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.6.tgz#a9fa6fbe9ca43cf1e79f73b75c0189cbb7d6db5a" + dependencies: + ms "0.7.3" + +decamelize@^1.0.0, decamelize@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + deep-equal@~0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-0.1.2.tgz#b246c2b80a570a47c11be1d9bd1070ec878b87ce" +deep-extend@~0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" + defined@0.0.0, defined@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-0.0.0.tgz#f35eea7d705e933baf13b2f03b3f83d921403b3e" +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + +des.js@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" + dependencies: + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + +detect-indent@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" + dependencies: + repeating "^2.0.0" + +diffie-hellman@^5.0.0: + version "5.0.2" + resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" + dependencies: + bn.js "^4.1.0" + miller-rabin "^4.0.0" + randombytes "^2.0.0" + +domain-browser@^1.1.1: + version "1.1.7" + resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" + duplexer@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" -faucet@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/faucet/-/faucet-0.0.1.tgz#597dcf1d2189a2c062321b591e8f151ed2039d9c" +ecc-jsbn@~0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" + dependencies: + jsbn "~0.1.0" + +elliptic@^6.0.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" + dependencies: + bn.js "^4.4.0" + brorand "^1.0.1" + hash.js "^1.0.0" + hmac-drbg "^1.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.0" + +emojis-list@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" + +enhanced-resolve@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.1.0.tgz#9f4b626f577245edcf4b2ad83d86e17f4f421dec" + dependencies: + graceful-fs "^4.1.2" + memory-fs "^0.4.0" + object-assign "^4.0.1" + tapable "^0.2.5" + +errno@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" + dependencies: + prr "~0.0.0" + +error-ex@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.2: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + +esutils@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" + +events@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" + +evp_bytestokey@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz#497b66ad9fef65cd7c08a6180824ba1476b66e53" + dependencies: + create-hash "^1.1.1" + +expand-brackets@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" + dependencies: + is-posix-bracket "^0.1.0" + +expand-range@^1.8.1: + version "1.8.2" + resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" + dependencies: + fill-range "^2.1.0" + +extend@~3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" + +extglob@^0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" + dependencies: + is-extglob "^1.0.0" + +extsprintf@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" + +faucet@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/faucet/-/faucet-0.0.1.tgz#597dcf1d2189a2c062321b591e8f151ed2039d9c" + dependencies: + defined "0.0.0" + duplexer "~0.1.1" + minimist "0.0.5" + sprintf "~0.1.3" + tap-parser "~0.4.0" + tape "~2.3.2" + through2 "~0.2.3" + +filename-regex@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" + +fill-range@^2.1.0: + version "2.2.3" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" + dependencies: + is-number "^2.1.0" + isobject "^2.0.0" + randomatic "^1.1.3" + repeat-element "^1.1.2" + repeat-string "^1.5.2" + +find-up@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" + dependencies: + path-exists "^2.0.0" + pinkie-promise "^2.0.0" + +for-in@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" + +for-own@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" + dependencies: + for-in "^1.0.1" + +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + +form-data@~2.1.1: + version "2.1.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.5" + mime-types "^2.1.12" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + +fsevents@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.1.tgz#f19fd28f43eeaf761680e519a203c4d0b3d31aff" + dependencies: + nan "^2.3.0" + node-pre-gyp "^0.6.29" + +fstream-ignore@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" + dependencies: + fstream "^1.0.0" + inherits "2" + minimatch "^3.0.0" + +fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: + version "1.0.11" + resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" + dependencies: + graceful-fs "^4.1.2" + inherits "~2.0.0" + mkdirp ">=0.5 0" + rimraf "2" + +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" + dependencies: + aproba "^1.0.3" + console-control-strings "^1.0.0" + has-unicode "^2.0.0" + object-assign "^4.1.0" + signal-exit "^3.0.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" + wide-align "^1.1.0" + +get-caller-file@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" + +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + dependencies: + assert-plus "^1.0.0" + +glob-base@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" + dependencies: + glob-parent "^2.0.0" + is-glob "^2.0.0" + +glob-parent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" + dependencies: + is-glob "^2.0.0" + +glob@^7.0.5: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.2" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^9.0.0: + version "9.17.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" + +graceful-fs@^4.1.2: + version "4.1.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" + +har-schema@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" + +har-validator@~4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" + dependencies: + ajv "^4.9.1" + har-schema "^1.0.5" + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + dependencies: + ansi-regex "^2.0.0" + +has-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" + +has-unicode@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + +hash.js@^1.0.0, hash.js@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.0.3.tgz#1332ff00156c0a0ffdd8236013d07b77a0451573" + dependencies: + inherits "^2.0.1" + +hawk@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" + dependencies: + boom "2.x.x" + cryptiles "2.x.x" + hoek "2.x.x" + sntp "1.x.x" + +hmac-drbg@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoek@2.x.x: + version "2.16.3" + resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" + +home-or-tmp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" + dependencies: + os-homedir "^1.0.0" + os-tmpdir "^1.0.1" + +hosted-git-info@^2.1.4: + version "2.4.2" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.2.tgz#0076b9f46a270506ddbaaea56496897460612a67" + +http-signature@~1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" + dependencies: + assert-plus "^0.2.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +https-browserify@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" + +ieee754@^1.1.4: + version "1.1.8" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" + +indexof@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + +inherits@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" + +ini@~1.3.0: + version "1.3.4" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" + +interpret@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90" + +invariant@^2.2.0: + version "2.2.2" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" + dependencies: + loose-envify "^1.0.0" + +invert-kv@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + +is-binary-path@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" + dependencies: + binary-extensions "^1.0.0" + +is-buffer@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" + +is-builtin-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" + dependencies: + builtin-modules "^1.0.0" + +is-dotfile@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" + +is-equal-shallow@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" + dependencies: + is-primitive "^2.0.0" + +is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + +is-extglob@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" + +is-finite@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + dependencies: + number-is-nan "^1.0.0" + +is-glob@^2.0.0, is-glob@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" + dependencies: + is-extglob "^1.0.0" + +is-number@^2.0.2, is-number@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" + dependencies: + kind-of "^3.0.2" + +is-posix-bracket@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" + +is-primitive@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" + +is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + +is-utf8@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" + +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + +isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + +isobject@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" + dependencies: + isarray "1.0.0" + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + +jodid25519@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" + dependencies: + jsbn "~0.1.0" + +js-tokens@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + +jsesc@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" + +jsesc@^2.4.0: + version "2.5.1" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe" + +json-loader@^0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.4.tgz#8baa1365a632f58a3c46d20175fc6002c96e37de" + +json-schema@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" + +json-stable-stringify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" dependencies: - defined "0.0.0" - duplexer "~0.1.1" - minimist "0.0.5" - sprintf "~0.1.3" - tap-parser "~0.4.0" - tape "~2.3.2" - through2 "~0.2.3" + jsonify "~0.0.0" -inherits@~2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" +json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" +json5@^0.5.0, json5@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" jsonify@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" +jsprim@^1.2.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" + dependencies: + assert-plus "1.0.0" + extsprintf "1.0.2" + json-schema "0.2.3" + verror "1.3.6" + +kind-of@^3.0.2: + version "3.2.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.0.tgz#b58abe4d5c044ad33726a8c1525b48cf891bff07" + dependencies: + is-buffer "^1.1.5" + +lazy-cache@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" + +lcid@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" + dependencies: + invert-kv "^1.0.0" + +load-json-file@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + pinkie-promise "^2.0.0" + strip-bom "^2.0.0" + +loader-runner@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" + +loader-utils@^0.2.16: + version "0.2.17" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" + dependencies: + big.js "^3.1.3" + emojis-list "^2.0.0" + json5 "^0.5.0" + object-assign "^4.0.1" + +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" + +lodash.some@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" + +lodash@^4.14.0, lodash@^4.2.0: + version "4.17.4" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" + +longest@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" + +loose-envify@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" + dependencies: + js-tokens "^3.0.0" + +memory-fs@^0.4.0, memory-fs@~0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" + dependencies: + errno "^0.1.3" + readable-stream "^2.0.1" + +micromatch@^2.1.5: + version "2.3.11" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" + dependencies: + arr-diff "^2.0.0" + array-unique "^0.2.1" + braces "^1.8.2" + expand-brackets "^0.1.4" + extglob "^0.3.1" + filename-regex "^2.0.0" + is-extglob "^1.0.0" + is-glob "^2.0.1" + kind-of "^3.0.2" + normalize-path "^2.0.1" + object.omit "^2.0.0" + parse-glob "^3.0.4" + regex-cache "^0.4.2" + +miller-rabin@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.0.tgz#4a62fb1d42933c05583982f4c716f6fb9e6c6d3d" + dependencies: + bn.js "^4.0.0" + brorand "^1.0.1" + +mime-db@~1.27.0: + version "1.27.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" + +mime-types@^2.1.12, mime-types@~2.1.7: + version "2.1.15" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" + dependencies: + mime-db "~1.27.0" + +minimalistic-assert@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" + +minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + +minimatch@^3.0.0, minimatch@^3.0.2: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + minimist@0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.5.tgz#d7aa327bcecf518f9106ac6b8f003fa3bcea8566" +minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + +minimist@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + +"mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + dependencies: + minimist "0.0.8" + +ms@0.7.3: + version "0.7.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.3.tgz#708155a5e44e33f5fd0fc53e81d0d40a91be1fff" + +nan@^2.3.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" + +node-libs-browser@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" + dependencies: + assert "^1.1.1" + browserify-zlib "^0.1.4" + buffer "^4.3.0" + console-browserify "^1.1.0" + constants-browserify "^1.0.0" + crypto-browserify "^3.11.0" + domain-browser "^1.1.1" + events "^1.0.0" + https-browserify "0.0.1" + os-browserify "^0.2.0" + path-browserify "0.0.0" + process "^0.11.0" + punycode "^1.2.4" + querystring-es3 "^0.2.0" + readable-stream "^2.0.5" + stream-browserify "^2.0.1" + stream-http "^2.3.1" + string_decoder "^0.10.25" + timers-browserify "^2.0.2" + tty-browserify "0.0.0" + url "^0.11.0" + util "^0.10.3" + vm-browserify "0.0.4" + +node-pre-gyp@^0.6.29: + version "0.6.34" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.34.tgz#94ad1c798a11d7fc67381b50d47f8cc18d9799f7" + dependencies: + mkdirp "^0.5.1" + nopt "^4.0.1" + npmlog "^4.0.2" + rc "^1.1.7" + request "^2.81.0" + rimraf "^2.6.1" + semver "^5.3.0" + tar "^2.2.1" + tar-pack "^3.4.0" + +nopt@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" + dependencies: + abbrev "1" + osenv "^0.1.4" + +normalize-package-data@^2.3.2: + version "2.3.8" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.8.tgz#d819eda2a9dedbd1ffa563ea4071d936782295bb" + dependencies: + hosted-git-info "^2.1.4" + is-builtin-module "^1.0.0" + semver "2 || 3 || 4 || 5" + validate-npm-package-license "^3.0.1" + +normalize-path@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" + dependencies: + remove-trailing-separator "^1.0.1" + +npmlog@^4.0.2: + version "4.1.0" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.0.tgz#dc59bee85f64f00ed424efb2af0783df25d1c0b5" + dependencies: + are-we-there-yet "~1.1.2" + console-control-strings "~1.1.0" + gauge "~2.7.3" + set-blocking "~2.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + +oauth-sign@~0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" + +object-assign@^4.0.1, object-assign@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + object-keys@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-0.4.0.tgz#28a6aae7428dd2c3a92f3d95f21335dd204e0336" -os-tmpdir@~1.0.1: +object.omit@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" + dependencies: + for-own "^0.1.4" + is-extendable "^0.1.1" + +once@^1.3.0, once@^1.3.3: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + dependencies: + wrappy "1" + +os-browserify@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" + +os-homedir@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" + +os-locale@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" + dependencies: + lcid "^1.0.0" + +os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" +osenv@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" + dependencies: + os-homedir "^1.0.0" + os-tmpdir "^1.0.0" + +pako@~0.2.0: + version "0.2.9" + resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" + +parse-asn1@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.0.tgz#37c4f9b7ed3ab65c74817b5f2480937fbf97c712" + dependencies: + asn1.js "^4.0.0" + browserify-aes "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.0" + pbkdf2 "^3.0.3" + +parse-glob@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" + dependencies: + glob-base "^0.3.0" + is-dotfile "^1.0.0" + is-extglob "^1.0.0" + is-glob "^2.0.0" + +parse-json@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" + dependencies: + error-ex "^1.2.0" + +path-browserify@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" + +path-exists@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" + dependencies: + pinkie-promise "^2.0.0" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + +path-type@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" + dependencies: + graceful-fs "^4.1.2" + pify "^2.0.0" + pinkie-promise "^2.0.0" + +pbkdf2@^3.0.3: + version "3.0.9" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.9.tgz#f2c4b25a600058b3c3773c086c37dbbee1ffe693" + dependencies: + create-hmac "^1.1.2" + +performance-now@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" + +pify@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + +pinkie-promise@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" + dependencies: + pinkie "^2.0.0" + +pinkie@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" + +preserve@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" + +private@^0.1.6: + version "0.1.7" + resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" + +process-nextick-args@~1.0.6: + version "1.0.7" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" + +process@^0.11.0: + version "0.11.10" + resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" + +prr@~0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" + +public-encrypt@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6" + dependencies: + bn.js "^4.1.0" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + parse-asn1 "^5.0.0" + randombytes "^2.0.1" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + +punycode@^1.2.4, punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + +qs@~6.4.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" + +querystring-es3@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + +randomatic@^1.1.3: + version "1.1.6" + resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" + dependencies: + is-number "^2.0.2" + kind-of "^3.0.2" + +randombytes@^2.0.0, randombytes@^2.0.1: + version "2.0.3" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.3.tgz#674c99760901c3c4112771a31e521dc349cc09ec" + +rc@^1.1.7: + version "1.2.1" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" + dependencies: + deep-extend "~0.4.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +read-pkg-up@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" + dependencies: + find-up "^1.0.0" + read-pkg "^1.0.0" + +read-pkg@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" + dependencies: + load-json-file "^1.0.0" + normalize-package-data "^2.3.2" + path-type "^1.0.0" + +readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.6: + version "2.2.9" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8" + dependencies: + buffer-shims "~1.0.0" + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "~1.0.0" + process-nextick-args "~1.0.6" + string_decoder "~1.0.0" + util-deprecate "~1.0.1" + readable-stream@~1.1.11, readable-stream@~1.1.9: version "1.1.14" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" @@ -63,20 +1722,181 @@ readable-stream@~1.1.11, readable-stream@~1.1.9: isarray "0.0.1" string_decoder "~0.10.x" +readdirp@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" + dependencies: + graceful-fs "^4.1.2" + minimatch "^3.0.2" + readable-stream "^2.0.2" + set-immediate-shim "^1.0.1" + readline-sync@^1.4.7: version "1.4.7" resolved "https://registry.yarnpkg.com/readline-sync/-/readline-sync-1.4.7.tgz#001bfdd4c06110c3c084c63bf7c6a56022213f30" +regenerator-runtime@^0.10.0: + version "0.10.5" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" + +regex-cache@^0.4.2: + version "0.4.3" + resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" + dependencies: + is-equal-shallow "^0.1.3" + is-primitive "^2.0.0" + +remove-trailing-separator@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" + +repeat-element@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" + +repeat-string@^1.5.2: + version "1.6.1" + resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + +repeating@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" + dependencies: + is-finite "^1.0.0" + +request@^2.81.0: + version "2.81.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.12.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~4.2.1" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + oauth-sign "~0.8.1" + performance-now "^0.2.0" + qs "~6.4.0" + safe-buffer "^5.0.1" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "^0.6.0" + uuid "^3.0.0" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + resumer@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/resumer/-/resumer-0.0.0.tgz#f1e8f461e4064ba39e82af3cdc2a8c893d076759" dependencies: through "~2.3.4" +right-align@^0.1.1: + version "0.1.3" + resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" + dependencies: + align-text "^0.1.1" + +rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" + dependencies: + glob "^7.0.5" + +ripemd160@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-1.0.1.tgz#93a4bbd4942bc574b69a8fa57c71de10ecca7d6e" + +safe-buffer@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" + seedrandom@^2.4.2: version "2.4.3" resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-2.4.3.tgz#2438504dad33917314bff18ac4d794f16d6aaecc" +"semver@2 || 3 || 4 || 5", semver@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" + +set-blocking@^2.0.0, set-blocking@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + +set-immediate-shim@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" + +setimmediate@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + +sha.js@^2.3.6: + version "2.4.8" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" + dependencies: + inherits "^2.0.1" + +signal-exit@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" + +slash@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" + +sntp@1.x.x: + version "1.0.9" + resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" + dependencies: + hoek "2.x.x" + +source-list-map@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-1.1.2.tgz#9889019d1024cce55cdc069498337ef6186a11a1" + +source-list-map@~0.1.7: + version "0.1.8" + resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" + +source-map-support@^0.4.2: + version "0.4.15" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1" + dependencies: + source-map "^0.5.6" + +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3: + version "0.5.6" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" + +spdx-correct@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" + dependencies: + spdx-license-ids "^1.0.2" + +spdx-expression-parse@~1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" + +spdx-license-ids@^1.0.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" + sprintf-js@giann/sprintf.js: version "1.0.3" resolved "https://codeload.github.com/giann/sprintf.js/tar.gz/78f98d4f39ba27579992ea66cbf2b23265c796ba" @@ -85,14 +1905,90 @@ sprintf@~0.1.3: version "0.1.5" resolved "https://registry.yarnpkg.com/sprintf/-/sprintf-0.1.5.tgz#8f83e39a9317c1a502cb7db8050e51c679f6edcf" +sshpk@^1.7.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.0.tgz#ff2a3e4fd04497555fed97b39a0fd82fafb3a33c" + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + dashdash "^1.12.0" + getpass "^0.1.1" + optionalDependencies: + bcrypt-pbkdf "^1.0.0" + ecc-jsbn "~0.1.1" + jodid25519 "^1.0.0" + jsbn "~0.1.0" + tweetnacl "~0.14.0" + +stream-browserify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" + dependencies: + inherits "~2.0.1" + readable-stream "^2.0.2" + +stream-http@^2.3.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.1.tgz#546a51741ad5a6b07e9e31b0b10441a917df528a" + dependencies: + builtin-status-codes "^3.0.0" + inherits "^2.0.1" + readable-stream "^2.2.6" + to-arraybuffer "^1.0.0" + xtend "^4.0.0" + strftime@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/strftime/-/strftime-0.10.0.tgz#b3f0fa419295202a5a289f6d6be9f4909a617193" -string_decoder@~0.10.x: +string-width@^1.0.1, string-width@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +string_decoder@^0.10.25, string_decoder@~0.10.x: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" +string_decoder@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667" + dependencies: + buffer-shims "~1.0.0" + +stringstream@~0.0.4: + version "0.0.5" + resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + dependencies: + ansi-regex "^2.0.0" + +strip-bom@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" + dependencies: + is-utf8 "^0.2.0" + +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + +supports-color@^3.1.0: + version "3.2.3" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" + dependencies: + has-flag "^1.0.0" + tap-parser@~0.4.0: version "0.4.3" resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-0.4.3.tgz#a4eae190c10d76c7a111921ff38bbe4d58f09eea" @@ -100,6 +1996,10 @@ tap-parser@~0.4.0: inherits "~2.0.1" readable-stream "~1.1.11" +tapable@^0.2.5, tapable@~0.2.5: + version "0.2.6" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.6.tgz#206be8e188860b514425375e6f1ae89bfb01fd8d" + tape@^2.0.1, tape@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/tape/-/tape-2.3.3.tgz#2e7ce0a31df09f8d6851664a71842e0ca5057af7" @@ -111,6 +2011,27 @@ tape@^2.0.1, tape@~2.3.2: resumer "~0.0.0" through "~2.3.4" +tar-pack@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" + dependencies: + debug "^2.2.0" + fstream "^1.0.10" + fstream-ignore "^1.0.5" + once "^1.3.3" + readable-stream "^2.1.4" + rimraf "^2.5.1" + tar "^2.2.1" + uid-number "^0.0.6" + +tar@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" + dependencies: + block-stream "*" + fstream "^1.0.2" + inherits "2" + through2@~0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/through2/-/through2-0.2.3.tgz#eb3284da4ea311b6cc8ace3653748a52abf25a3f" @@ -122,14 +2043,227 @@ through@~2.3.4: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" +timers-browserify@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.2.tgz#ab4883cf597dcd50af211349a00fbca56ac86b86" + dependencies: + setimmediate "^1.0.4" + tmp@0.0.31: version "0.0.31" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" dependencies: os-tmpdir "~1.0.1" +to-arraybuffer@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" + +to-fast-properties@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" + +tough-cookie@~2.3.0: + version "2.3.2" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" + dependencies: + punycode "^1.4.1" + +trim-right@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" + +tty-browserify@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + +uglify-js@^2.8.5: + version "2.8.23" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.23.tgz#8230dd9783371232d62a7821e2cf9a817270a8a0" + dependencies: + source-map "~0.5.1" + yargs "~3.10.0" + optionalDependencies: + uglify-to-browserify "~1.0.0" + +uglify-to-browserify@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" + +uid-number@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" + +url@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + +util@0.10.3, util@^0.10.3: + version "0.10.3" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" + dependencies: + inherits "2.0.1" + +uuid@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" + +validate-npm-package-license@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" + dependencies: + spdx-correct "~1.0.0" + spdx-expression-parse "~1.0.0" + +verror@1.3.6: + version "1.3.6" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" + dependencies: + extsprintf "1.0.2" + +vm-browserify@0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" + dependencies: + indexof "0.0.1" + +watchpack@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.3.1.tgz#7d8693907b28ce6013e7f3610aa2a1acf07dad87" + dependencies: + async "^2.1.2" + chokidar "^1.4.3" + graceful-fs "^4.1.2" + +webpack-sources@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.1.5.tgz#aa1f3abf0f0d74db7111c40e500b84f966640750" + dependencies: + source-list-map "~0.1.7" + source-map "~0.5.3" + +webpack-sources@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.2.3.tgz#17c62bfaf13c707f9d02c479e0dcdde8380697fb" + dependencies: + source-list-map "^1.1.1" + source-map "~0.5.3" + +webpack@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.5.1.tgz#61742f0cf8af555b87460a9cd8bba2f1e3ee2fce" + dependencies: + acorn "^5.0.0" + acorn-dynamic-import "^2.0.0" + ajv "^4.7.0" + ajv-keywords "^1.1.1" + async "^2.1.2" + enhanced-resolve "^3.0.0" + interpret "^1.0.0" + json-loader "^0.5.4" + json5 "^0.5.1" + loader-runner "^2.3.0" + loader-utils "^0.2.16" + memory-fs "~0.4.1" + mkdirp "~0.5.0" + node-libs-browser "^2.0.0" + source-map "^0.5.3" + supports-color "^3.1.0" + tapable "~0.2.5" + uglify-js "^2.8.5" + watchpack "^1.3.1" + webpack-sources "^0.2.3" + yargs "^6.0.0" + +which-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" + +wide-align@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" + dependencies: + string-width "^1.0.1" + +window-size@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" + +wordwrap@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" + +wrap-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + +xtend@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" + xtend@~2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.1.2.tgz#6efecc2a4dad8e6962c4901b337ce7ba87b5d28b" dependencies: object-keys "~0.4.0" + +y18n@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" + +yargs-parser@^4.2.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" + dependencies: + camelcase "^3.0.0" + +yargs@^6.0.0: + version "6.6.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" + dependencies: + camelcase "^3.0.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^1.0.2" + which-module "^1.0.0" + y18n "^3.2.1" + yargs-parser "^4.2.0" + +yargs@~3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" + dependencies: + camelcase "^1.0.2" + cliui "^2.1.0" + decamelize "^1.0.0" + window-size "0.1.0" -- cgit v1.2.3-70-g09d2