dist.framework.js 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415
  1. function unityFramework(Module) {
  2. var Module = typeof Module !== "undefined" ? Module : {};
  3. ;
  4. var stackTraceReference = "(^|\\n)(\\s+at\\s+|)jsStackTrace(\\s+\\(|@)([^\\n]+):\\d+:\\d+(\\)|)(\\n|$)";
  5. var stackTraceReferenceMatch = jsStackTrace().match(new RegExp(stackTraceReference));
  6. if (stackTraceReferenceMatch) Module.stackTraceRegExp = new RegExp(stackTraceReference.replace("([^\\n]+)", stackTraceReferenceMatch[4].replace(/[\\^${}[\]().*+?|]/g, "\\$&")).replace("jsStackTrace", "[^\\n]+"));
  7. var abort = (function(what) {
  8. if (ABORT) return;
  9. ABORT = true;
  10. EXITSTATUS = 1;
  11. if (typeof ENVIRONMENT_IS_PTHREAD !== "undefined" && ENVIRONMENT_IS_PTHREAD) console.error("Pthread aborting at " + (new Error).stack);
  12. if (what !== undefined) {
  13. out(what);
  14. err(what);
  15. what = JSON.stringify(what);
  16. } else {
  17. what = "";
  18. }
  19. var message = "abort(" + what + ") at " + stackTrace();
  20. if (Module.abortHandler && Module.abortHandler(message)) return;
  21. throw message;
  22. });
  23. if (typeof ENVIRONMENT_IS_PTHREAD === "undefined" || !ENVIRONMENT_IS_PTHREAD) {
  24. Module["preRun"].push((function() {
  25. var unityFileSystemInit = Module["unityFileSystemInit"] || (function() {
  26. FS.mkdir("/idbfs");
  27. FS.mount(IDBFS, {}, "/idbfs");
  28. Module.addRunDependency("JS_FileSystem_Mount");
  29. FS.syncfs(true, (function(err) {
  30. if (err) console.log("IndexedDB is not available. Data will not persist in cache and PlayerPrefs will not be saved.");
  31. Module.removeRunDependency("JS_FileSystem_Mount");
  32. }));
  33. });
  34. unityFileSystemInit();
  35. }));
  36. }
  37. Module["SetFullscreen"] = (function(fullscreen) {
  38. if (typeof runtimeInitialized === "undefined" || !runtimeInitialized) {
  39. console.log("Runtime not initialized yet.");
  40. } else if (typeof JSEvents === "undefined") {
  41. console.log("Player not loaded yet.");
  42. } else {
  43. var tmp = JSEvents.canPerformEventHandlerRequests;
  44. JSEvents.canPerformEventHandlerRequests = (function() {
  45. return 1;
  46. });
  47. Module.ccall("SetFullscreen", null, [ "number" ], [ fullscreen ]);
  48. JSEvents.canPerformEventHandlerRequests = tmp;
  49. }
  50. });
  51. var MediaDevices = [];
  52. if (typeof ENVIRONMENT_IS_PTHREAD === "undefined" || !ENVIRONMENT_IS_PTHREAD) {
  53. Module["preRun"].push((function() {
  54. var enumerateMediaDevices = (function() {
  55. var getMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
  56. if (!getMedia) return;
  57. function addDevice(label) {
  58. label = label ? label : "device #" + MediaDevices.length;
  59. var device = {
  60. deviceName: label,
  61. refCount: 0,
  62. video: null
  63. };
  64. MediaDevices.push(device);
  65. }
  66. if (!navigator.mediaDevices || !navigator.mediaDevices.enumerateDevices) {
  67. if (typeof MediaStreamTrack == "undefined" || typeof MediaStreamTrack.getSources == "undefined") {
  68. console.log("Media Devices cannot be enumerated on this browser.");
  69. return;
  70. }
  71. function gotSources(sourceInfos) {
  72. for (var i = 0; i !== sourceInfos.length; ++i) {
  73. var sourceInfo = sourceInfos[i];
  74. if (sourceInfo.kind === "video") addDevice(sourceInfo.label);
  75. }
  76. }
  77. MediaStreamTrack.getSources(gotSources);
  78. }
  79. navigator.mediaDevices.enumerateDevices().then((function(devices) {
  80. devices.forEach((function(device) {
  81. if (device.kind == "videoinput") addDevice(device.label);
  82. }));
  83. })).catch((function(err) {
  84. console.log(err.name + ": " + error.message);
  85. }));
  86. });
  87. enumerateMediaDevices();
  88. }));
  89. }
  90. function SendMessage(gameObject, func, param) {
  91. if (param === undefined) Module.ccall("SendMessage", null, [ "string", "string" ], [ gameObject, func ]); else if (typeof param === "string") Module.ccall("SendMessageString", null, [ "string", "string", "string" ], [ gameObject, func, param ]); else if (typeof param === "number") Module.ccall("SendMessageFloat", null, [ "string", "string", "number" ], [ gameObject, func, param ]); else throw "" + param + " is does not have a type which is supported by SendMessage.";
  92. }
  93. Module["SendMessage"] = SendMessage;
  94. var moduleOverrides = {};
  95. var key;
  96. for (key in Module) {
  97. if (Module.hasOwnProperty(key)) {
  98. moduleOverrides[key] = Module[key];
  99. }
  100. }
  101. Module["arguments"] = [];
  102. Module["thisProgram"] = "./this.program";
  103. Module["quit"] = (function(status, toThrow) {
  104. throw toThrow;
  105. });
  106. Module["preRun"] = [];
  107. Module["postRun"] = [];
  108. var ENVIRONMENT_IS_WEB = false;
  109. var ENVIRONMENT_IS_WORKER = false;
  110. var ENVIRONMENT_IS_NODE = false;
  111. var ENVIRONMENT_IS_SHELL = false;
  112. ENVIRONMENT_IS_WEB = typeof window === "object";
  113. ENVIRONMENT_IS_WORKER = typeof importScripts === "function";
  114. ENVIRONMENT_IS_NODE = typeof process === "object" && typeof require === "function" && !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_WORKER;
  115. ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER;
  116. if (Module["ENVIRONMENT"]) {
  117. throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");
  118. }
  119. assert(typeof Module["memoryInitializerPrefixURL"] === "undefined", "Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");
  120. assert(typeof Module["pthreadMainPrefixURL"] === "undefined", "Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");
  121. assert(typeof Module["cdInitializerPrefixURL"] === "undefined", "Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead");
  122. assert(typeof Module["filePackagePrefixURL"] === "undefined", "Module.filePackagePrefixURL option was removed, use Module.locateFile instead");
  123. var scriptDirectory = "";
  124. function locateFile(path) {
  125. if (Module["locateFile"]) {
  126. return Module["locateFile"](path, scriptDirectory);
  127. } else {
  128. return scriptDirectory + path;
  129. }
  130. }
  131. if (ENVIRONMENT_IS_NODE) {
  132. scriptDirectory = __dirname + "/";
  133. var nodeFS;
  134. var nodePath;
  135. Module["read"] = function shell_read(filename, binary) {
  136. var ret;
  137. if (!nodeFS) nodeFS = require("fs");
  138. if (!nodePath) nodePath = require("path");
  139. filename = nodePath["normalize"](filename);
  140. ret = nodeFS["readFileSync"](filename);
  141. return binary ? ret : ret.toString();
  142. };
  143. Module["readBinary"] = function readBinary(filename) {
  144. var ret = Module["read"](filename, true);
  145. if (!ret.buffer) {
  146. ret = new Uint8Array(ret);
  147. }
  148. assert(ret.buffer);
  149. return ret;
  150. };
  151. if (process["argv"].length > 1) {
  152. Module["thisProgram"] = process["argv"][1].replace(/\\/g, "/");
  153. }
  154. Module["arguments"] = process["argv"].slice(2);
  155. if (typeof module !== "undefined") {
  156. module["exports"] = Module;
  157. }
  158. process["on"]("uncaughtException", (function(ex) {
  159. if (!(ex instanceof ExitStatus)) {
  160. throw ex;
  161. }
  162. }));
  163. process["on"]("unhandledRejection", (function(reason, p) {
  164. err("node.js exiting due to unhandled promise rejection");
  165. process["exit"](1);
  166. }));
  167. Module["quit"] = (function(status) {
  168. process["exit"](status);
  169. });
  170. Module["inspect"] = (function() {
  171. return "[Emscripten Module object]";
  172. });
  173. } else if (ENVIRONMENT_IS_SHELL) {
  174. if (typeof read != "undefined") {
  175. Module["read"] = function shell_read(f) {
  176. return read(f);
  177. };
  178. }
  179. Module["readBinary"] = function readBinary(f) {
  180. var data;
  181. if (typeof readbuffer === "function") {
  182. return new Uint8Array(readbuffer(f));
  183. }
  184. data = read(f, "binary");
  185. assert(typeof data === "object");
  186. return data;
  187. };
  188. if (typeof scriptArgs != "undefined") {
  189. Module["arguments"] = scriptArgs;
  190. } else if (typeof arguments != "undefined") {
  191. Module["arguments"] = arguments;
  192. }
  193. if (typeof quit === "function") {
  194. Module["quit"] = (function(status) {
  195. quit(status);
  196. });
  197. }
  198. } else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
  199. if (ENVIRONMENT_IS_WEB) {
  200. if (document.currentScript) {
  201. scriptDirectory = document.currentScript.src;
  202. }
  203. } else {
  204. scriptDirectory = self.location.href;
  205. }
  206. if (scriptDirectory.indexOf("blob:") !== 0) {
  207. scriptDirectory = scriptDirectory.split("/").slice(0, -1).join("/") + "/";
  208. } else {
  209. scriptDirectory = "";
  210. }
  211. Module["read"] = function shell_read(url) {
  212. var xhr = new XMLHttpRequest;
  213. xhr.open("GET", url, false);
  214. xhr.send(null);
  215. return xhr.responseText;
  216. };
  217. if (ENVIRONMENT_IS_WORKER) {
  218. Module["readBinary"] = function readBinary(url) {
  219. var xhr = new XMLHttpRequest;
  220. xhr.open("GET", url, false);
  221. xhr.responseType = "arraybuffer";
  222. xhr.send(null);
  223. return new Uint8Array(xhr.response);
  224. };
  225. }
  226. Module["readAsync"] = function readAsync(url, onload, onerror) {
  227. var xhr = new XMLHttpRequest;
  228. xhr.open("GET", url, true);
  229. xhr.responseType = "arraybuffer";
  230. xhr.onload = function xhr_onload() {
  231. if (xhr.status == 200 || xhr.status == 0 && xhr.response) {
  232. onload(xhr.response);
  233. return;
  234. }
  235. onerror();
  236. };
  237. xhr.onerror = onerror;
  238. xhr.send(null);
  239. };
  240. Module["setWindowTitle"] = (function(title) {
  241. document.title = title;
  242. });
  243. } else {
  244. throw new Error("environment detection error");
  245. }
  246. var out = Module["print"] || (typeof console !== "undefined" ? console.log.bind(console) : typeof print !== "undefined" ? print : null);
  247. var err = Module["printErr"] || (typeof printErr !== "undefined" ? printErr : typeof console !== "undefined" && console.warn.bind(console) || out);
  248. for (key in moduleOverrides) {
  249. if (moduleOverrides.hasOwnProperty(key)) {
  250. Module[key] = moduleOverrides[key];
  251. }
  252. }
  253. moduleOverrides = undefined;
  254. var STACK_ALIGN = 16;
  255. stackSave = stackRestore = stackAlloc = setTempRet0 = getTempRet0 = (function() {
  256. abort("cannot use the stack before compiled code is ready to run, and has provided stack access");
  257. });
  258. function staticAlloc(size) {
  259. assert(!staticSealed);
  260. var ret = STATICTOP;
  261. STATICTOP = STATICTOP + size + 15 & -16;
  262. assert(STATICTOP < TOTAL_MEMORY, "not enough memory for static allocation - increase TOTAL_MEMORY");
  263. return ret;
  264. }
  265. function dynamicAlloc(size) {
  266. assert(DYNAMICTOP_PTR);
  267. var ret = HEAP32[DYNAMICTOP_PTR >> 2];
  268. var end = ret + size + 15 & -16;
  269. HEAP32[DYNAMICTOP_PTR >> 2] = end;
  270. if (end >= TOTAL_MEMORY) {
  271. var success = enlargeMemory();
  272. if (!success) {
  273. HEAP32[DYNAMICTOP_PTR >> 2] = ret;
  274. return 0;
  275. }
  276. }
  277. return ret;
  278. }
  279. function alignMemory(size, factor) {
  280. if (!factor) factor = STACK_ALIGN;
  281. var ret = size = Math.ceil(size / factor) * factor;
  282. return ret;
  283. }
  284. function getNativeTypeSize(type) {
  285. switch (type) {
  286. case "i1":
  287. case "i8":
  288. return 1;
  289. case "i16":
  290. return 2;
  291. case "i32":
  292. return 4;
  293. case "i64":
  294. return 8;
  295. case "float":
  296. return 4;
  297. case "double":
  298. return 8;
  299. default:
  300. {
  301. if (type[type.length - 1] === "*") {
  302. return 4;
  303. } else if (type[0] === "i") {
  304. var bits = parseInt(type.substr(1));
  305. assert(bits % 8 === 0);
  306. return bits / 8;
  307. } else {
  308. return 0;
  309. }
  310. }
  311. }
  312. }
  313. function warnOnce(text) {
  314. if (!warnOnce.shown) warnOnce.shown = {};
  315. if (!warnOnce.shown[text]) {
  316. warnOnce.shown[text] = 1;
  317. err(text);
  318. }
  319. }
  320. var asm2wasmImports = {
  321. "f64-rem": (function(x, y) {
  322. return x % y;
  323. }),
  324. "debugger": (function() {
  325. debugger;
  326. })
  327. };
  328. var jsCallStartIndex = 1;
  329. var functionPointers = new Array(0);
  330. function addFunction(func, sig) {
  331. if (typeof sig === "undefined") {
  332. err("warning: addFunction(): You should provide a wasm function signature string as a second argument. This is not necessary for asm.js and asm2wasm, but is required for the LLVM wasm backend, so it is recommended for full portability.");
  333. }
  334. var base = 0;
  335. for (var i = base; i < base + 0; i++) {
  336. if (!functionPointers[i]) {
  337. functionPointers[i] = func;
  338. return jsCallStartIndex + i;
  339. }
  340. }
  341. throw "Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS.";
  342. }
  343. var funcWrappers = {};
  344. function getFuncWrapper(func, sig) {
  345. if (!func) return;
  346. assert(sig);
  347. if (!funcWrappers[sig]) {
  348. funcWrappers[sig] = {};
  349. }
  350. var sigCache = funcWrappers[sig];
  351. if (!sigCache[func]) {
  352. if (sig.length === 1) {
  353. sigCache[func] = function dynCall_wrapper() {
  354. return dynCall(sig, func);
  355. };
  356. } else if (sig.length === 2) {
  357. sigCache[func] = function dynCall_wrapper(arg) {
  358. return dynCall(sig, func, [ arg ]);
  359. };
  360. } else {
  361. sigCache[func] = function dynCall_wrapper() {
  362. return dynCall(sig, func, Array.prototype.slice.call(arguments));
  363. };
  364. }
  365. }
  366. return sigCache[func];
  367. }
  368. function makeBigInt(low, high, unsigned) {
  369. return unsigned ? +(low >>> 0) + +(high >>> 0) * 4294967296 : +(low >>> 0) + +(high | 0) * 4294967296;
  370. }
  371. function dynCall(sig, ptr, args) {
  372. if (args && args.length) {
  373. assert(args.length == sig.length - 1);
  374. assert("dynCall_" + sig in Module, "bad function pointer type - no table for sig '" + sig + "'");
  375. return Module["dynCall_" + sig].apply(null, [ ptr ].concat(args));
  376. } else {
  377. assert(sig.length == 1);
  378. assert("dynCall_" + sig in Module, "bad function pointer type - no table for sig '" + sig + "'");
  379. return Module["dynCall_" + sig].call(null, ptr);
  380. }
  381. }
  382. var GLOBAL_BASE = 1024;
  383. var ABORT = 0;
  384. var EXITSTATUS = 0;
  385. function assert(condition, text) {
  386. if (!condition) {
  387. abort("Assertion failed: " + text);
  388. }
  389. }
  390. function getCFunc(ident) {
  391. var func = Module["_" + ident];
  392. assert(func, "Cannot call unknown function " + ident + ", make sure it is exported");
  393. return func;
  394. }
  395. var JSfuncs = {
  396. "stackSave": (function() {
  397. stackSave();
  398. }),
  399. "stackRestore": (function() {
  400. stackRestore();
  401. }),
  402. "arrayToC": (function(arr) {
  403. var ret = stackAlloc(arr.length);
  404. writeArrayToMemory(arr, ret);
  405. return ret;
  406. }),
  407. "stringToC": (function(str) {
  408. var ret = 0;
  409. if (str !== null && str !== undefined && str !== 0) {
  410. var len = (str.length << 2) + 1;
  411. ret = stackAlloc(len);
  412. stringToUTF8(str, ret, len);
  413. }
  414. return ret;
  415. })
  416. };
  417. var toC = {
  418. "string": JSfuncs["stringToC"],
  419. "array": JSfuncs["arrayToC"]
  420. };
  421. function ccall(ident, returnType, argTypes, args, opts) {
  422. function convertReturnValue(ret) {
  423. if (returnType === "string") return Pointer_stringify(ret);
  424. if (returnType === "boolean") return Boolean(ret);
  425. return ret;
  426. }
  427. var func = getCFunc(ident);
  428. var cArgs = [];
  429. var stack = 0;
  430. assert(returnType !== "array", 'Return type should not be "array".');
  431. if (args) {
  432. for (var i = 0; i < args.length; i++) {
  433. var converter = toC[argTypes[i]];
  434. if (converter) {
  435. if (stack === 0) stack = stackSave();
  436. cArgs[i] = converter(args[i]);
  437. } else {
  438. cArgs[i] = args[i];
  439. }
  440. }
  441. }
  442. var ret = func.apply(null, cArgs);
  443. ret = convertReturnValue(ret);
  444. if (stack !== 0) stackRestore(stack);
  445. return ret;
  446. }
  447. function cwrap(ident, returnType, argTypes, opts) {
  448. return (function() {
  449. return ccall(ident, returnType, argTypes, arguments, opts);
  450. });
  451. }
  452. function setValue(ptr, value, type, noSafe) {
  453. type = type || "i8";
  454. if (type.charAt(type.length - 1) === "*") type = "i32";
  455. switch (type) {
  456. case "i1":
  457. HEAP8[ptr >> 0] = value;
  458. break;
  459. case "i8":
  460. HEAP8[ptr >> 0] = value;
  461. break;
  462. case "i16":
  463. HEAP16[ptr >> 1] = value;
  464. break;
  465. case "i32":
  466. HEAP32[ptr >> 2] = value;
  467. break;
  468. case "i64":
  469. tempI64 = [ value >>> 0, (tempDouble = value, +Math_abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math_min(+Math_floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], HEAP32[ptr >> 2] = tempI64[0], HEAP32[ptr + 4 >> 2] = tempI64[1];
  470. break;
  471. case "float":
  472. HEAPF32[ptr >> 2] = value;
  473. break;
  474. case "double":
  475. HEAPF64[ptr >> 3] = value;
  476. break;
  477. default:
  478. abort("invalid type for setValue: " + type);
  479. }
  480. }
  481. var ALLOC_NORMAL = 0;
  482. var ALLOC_STACK = 1;
  483. var ALLOC_STATIC = 2;
  484. var ALLOC_NONE = 4;
  485. function allocate(slab, types, allocator, ptr) {
  486. var zeroinit, size;
  487. if (typeof slab === "number") {
  488. zeroinit = true;
  489. size = slab;
  490. } else {
  491. zeroinit = false;
  492. size = slab.length;
  493. }
  494. var singleType = typeof types === "string" ? types : null;
  495. var ret;
  496. if (allocator == ALLOC_NONE) {
  497. ret = ptr;
  498. } else {
  499. ret = [ typeof _malloc === "function" ? _malloc : staticAlloc, stackAlloc, staticAlloc, dynamicAlloc ][allocator === undefined ? ALLOC_STATIC : allocator](Math.max(size, singleType ? 1 : types.length));
  500. }
  501. if (zeroinit) {
  502. var stop;
  503. ptr = ret;
  504. assert((ret & 3) == 0);
  505. stop = ret + (size & ~3);
  506. for (; ptr < stop; ptr += 4) {
  507. HEAP32[ptr >> 2] = 0;
  508. }
  509. stop = ret + size;
  510. while (ptr < stop) {
  511. HEAP8[ptr++ >> 0] = 0;
  512. }
  513. return ret;
  514. }
  515. if (singleType === "i8") {
  516. if (slab.subarray || slab.slice) {
  517. HEAPU8.set(slab, ret);
  518. } else {
  519. HEAPU8.set(new Uint8Array(slab), ret);
  520. }
  521. return ret;
  522. }
  523. var i = 0, type, typeSize, previousType;
  524. while (i < size) {
  525. var curr = slab[i];
  526. type = singleType || types[i];
  527. if (type === 0) {
  528. i++;
  529. continue;
  530. }
  531. assert(type, "Must know what type to store in allocate!");
  532. if (type == "i64") type = "i32";
  533. setValue(ret + i, curr, type);
  534. if (previousType !== type) {
  535. typeSize = getNativeTypeSize(type);
  536. previousType = type;
  537. }
  538. i += typeSize;
  539. }
  540. return ret;
  541. }
  542. function getMemory(size) {
  543. if (!staticSealed) return staticAlloc(size);
  544. if (!runtimeInitialized) return dynamicAlloc(size);
  545. return _malloc(size);
  546. }
  547. function Pointer_stringify(ptr, length) {
  548. if (length === 0 || !ptr) return "";
  549. var hasUtf = 0;
  550. var t;
  551. var i = 0;
  552. while (1) {
  553. assert(ptr + i < TOTAL_MEMORY);
  554. t = HEAPU8[ptr + i >> 0];
  555. hasUtf |= t;
  556. if (t == 0 && !length) break;
  557. i++;
  558. if (length && i == length) break;
  559. }
  560. if (!length) length = i;
  561. var ret = "";
  562. if (hasUtf < 128) {
  563. var MAX_CHUNK = 1024;
  564. var curr;
  565. while (length > 0) {
  566. curr = String.fromCharCode.apply(String, HEAPU8.subarray(ptr, ptr + Math.min(length, MAX_CHUNK)));
  567. ret = ret ? ret + curr : curr;
  568. ptr += MAX_CHUNK;
  569. length -= MAX_CHUNK;
  570. }
  571. return ret;
  572. }
  573. return UTF8ToString(ptr);
  574. }
  575. var UTF8Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf8") : undefined;
  576. function UTF8ArrayToString(u8Array, idx) {
  577. var endPtr = idx;
  578. while (u8Array[endPtr]) ++endPtr;
  579. if (endPtr - idx > 16 && u8Array.subarray && UTF8Decoder) {
  580. return UTF8Decoder.decode(u8Array.subarray(idx, endPtr));
  581. } else {
  582. var u0, u1, u2, u3, u4, u5;
  583. var str = "";
  584. while (1) {
  585. u0 = u8Array[idx++];
  586. if (!u0) return str;
  587. if (!(u0 & 128)) {
  588. str += String.fromCharCode(u0);
  589. continue;
  590. }
  591. u1 = u8Array[idx++] & 63;
  592. if ((u0 & 224) == 192) {
  593. str += String.fromCharCode((u0 & 31) << 6 | u1);
  594. continue;
  595. }
  596. u2 = u8Array[idx++] & 63;
  597. if ((u0 & 240) == 224) {
  598. u0 = (u0 & 15) << 12 | u1 << 6 | u2;
  599. } else {
  600. u3 = u8Array[idx++] & 63;
  601. if ((u0 & 248) == 240) {
  602. u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | u3;
  603. } else {
  604. u4 = u8Array[idx++] & 63;
  605. if ((u0 & 252) == 248) {
  606. u0 = (u0 & 3) << 24 | u1 << 18 | u2 << 12 | u3 << 6 | u4;
  607. } else {
  608. u5 = u8Array[idx++] & 63;
  609. u0 = (u0 & 1) << 30 | u1 << 24 | u2 << 18 | u3 << 12 | u4 << 6 | u5;
  610. }
  611. }
  612. }
  613. if (u0 < 65536) {
  614. str += String.fromCharCode(u0);
  615. } else {
  616. var ch = u0 - 65536;
  617. str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023);
  618. }
  619. }
  620. }
  621. }
  622. function UTF8ToString(ptr) {
  623. return UTF8ArrayToString(HEAPU8, ptr);
  624. }
  625. function stringToUTF8Array(str, outU8Array, outIdx, maxBytesToWrite) {
  626. if (!(maxBytesToWrite > 0)) return 0;
  627. var startIdx = outIdx;
  628. var endIdx = outIdx + maxBytesToWrite - 1;
  629. for (var i = 0; i < str.length; ++i) {
  630. var u = str.charCodeAt(i);
  631. if (u >= 55296 && u <= 57343) {
  632. var u1 = str.charCodeAt(++i);
  633. u = 65536 + ((u & 1023) << 10) | u1 & 1023;
  634. }
  635. if (u <= 127) {
  636. if (outIdx >= endIdx) break;
  637. outU8Array[outIdx++] = u;
  638. } else if (u <= 2047) {
  639. if (outIdx + 1 >= endIdx) break;
  640. outU8Array[outIdx++] = 192 | u >> 6;
  641. outU8Array[outIdx++] = 128 | u & 63;
  642. } else if (u <= 65535) {
  643. if (outIdx + 2 >= endIdx) break;
  644. outU8Array[outIdx++] = 224 | u >> 12;
  645. outU8Array[outIdx++] = 128 | u >> 6 & 63;
  646. outU8Array[outIdx++] = 128 | u & 63;
  647. } else if (u <= 2097151) {
  648. if (outIdx + 3 >= endIdx) break;
  649. outU8Array[outIdx++] = 240 | u >> 18;
  650. outU8Array[outIdx++] = 128 | u >> 12 & 63;
  651. outU8Array[outIdx++] = 128 | u >> 6 & 63;
  652. outU8Array[outIdx++] = 128 | u & 63;
  653. } else if (u <= 67108863) {
  654. if (outIdx + 4 >= endIdx) break;
  655. outU8Array[outIdx++] = 248 | u >> 24;
  656. outU8Array[outIdx++] = 128 | u >> 18 & 63;
  657. outU8Array[outIdx++] = 128 | u >> 12 & 63;
  658. outU8Array[outIdx++] = 128 | u >> 6 & 63;
  659. outU8Array[outIdx++] = 128 | u & 63;
  660. } else {
  661. if (outIdx + 5 >= endIdx) break;
  662. outU8Array[outIdx++] = 252 | u >> 30;
  663. outU8Array[outIdx++] = 128 | u >> 24 & 63;
  664. outU8Array[outIdx++] = 128 | u >> 18 & 63;
  665. outU8Array[outIdx++] = 128 | u >> 12 & 63;
  666. outU8Array[outIdx++] = 128 | u >> 6 & 63;
  667. outU8Array[outIdx++] = 128 | u & 63;
  668. }
  669. }
  670. outU8Array[outIdx] = 0;
  671. return outIdx - startIdx;
  672. }
  673. function stringToUTF8(str, outPtr, maxBytesToWrite) {
  674. assert(typeof maxBytesToWrite == "number", "stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");
  675. return stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite);
  676. }
  677. function lengthBytesUTF8(str) {
  678. var len = 0;
  679. for (var i = 0; i < str.length; ++i) {
  680. var u = str.charCodeAt(i);
  681. if (u >= 55296 && u <= 57343) u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023;
  682. if (u <= 127) {
  683. ++len;
  684. } else if (u <= 2047) {
  685. len += 2;
  686. } else if (u <= 65535) {
  687. len += 3;
  688. } else if (u <= 2097151) {
  689. len += 4;
  690. } else if (u <= 67108863) {
  691. len += 5;
  692. } else {
  693. len += 6;
  694. }
  695. }
  696. return len;
  697. }
  698. var UTF16Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-16le") : undefined;
  699. function allocateUTF8(str) {
  700. var size = lengthBytesUTF8(str) + 1;
  701. var ret = _malloc(size);
  702. if (ret) stringToUTF8Array(str, HEAP8, ret, size);
  703. return ret;
  704. }
  705. function allocateUTF8OnStack(str) {
  706. var size = lengthBytesUTF8(str) + 1;
  707. var ret = stackAlloc(size);
  708. stringToUTF8Array(str, HEAP8, ret, size);
  709. return ret;
  710. }
  711. function demangle(func) {
  712. var __cxa_demangle_func = Module["___cxa_demangle"] || Module["__cxa_demangle"];
  713. assert(__cxa_demangle_func);
  714. try {
  715. var s = func.substr(1);
  716. var len = lengthBytesUTF8(s) + 1;
  717. var buf = _malloc(len);
  718. stringToUTF8(s, buf, len);
  719. var status = _malloc(4);
  720. var ret = __cxa_demangle_func(buf, 0, 0, status);
  721. if (HEAP32[status >> 2] === 0 && ret) {
  722. return Pointer_stringify(ret);
  723. }
  724. } catch (e) {} finally {
  725. if (buf) _free(buf);
  726. if (status) _free(status);
  727. if (ret) _free(ret);
  728. }
  729. return func;
  730. }
  731. function demangleAll(text) {
  732. var regex = /__Z[\w\d_]+/g;
  733. return text.replace(regex, (function(x) {
  734. var y = demangle(x);
  735. return x === y ? x : x + " [" + y + "]";
  736. }));
  737. }
  738. function jsStackTrace() {
  739. var err = new Error;
  740. if (!err.stack) {
  741. try {
  742. throw new Error(0);
  743. } catch (e) {
  744. err = e;
  745. }
  746. if (!err.stack) {
  747. return "(no stack trace available)";
  748. }
  749. }
  750. return err.stack.toString();
  751. }
  752. function stackTrace() {
  753. var js = jsStackTrace();
  754. if (Module["extraStackTrace"]) js += "\n" + Module["extraStackTrace"]();
  755. return demangleAll(js);
  756. }
  757. var PAGE_SIZE = 16384;
  758. var WASM_PAGE_SIZE = 65536;
  759. var ASMJS_PAGE_SIZE = 16777216;
  760. var MIN_TOTAL_MEMORY = 16777216;
  761. function alignUp(x, multiple) {
  762. if (x % multiple > 0) {
  763. x += multiple - x % multiple;
  764. }
  765. return x;
  766. }
  767. var buffer, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
  768. function updateGlobalBuffer(buf) {
  769. Module["buffer"] = buffer = buf;
  770. }
  771. function updateGlobalBufferViews() {
  772. Module["HEAP8"] = HEAP8 = new Int8Array(buffer);
  773. Module["HEAP16"] = HEAP16 = new Int16Array(buffer);
  774. Module["HEAP32"] = HEAP32 = new Int32Array(buffer);
  775. Module["HEAPU8"] = HEAPU8 = new Uint8Array(buffer);
  776. Module["HEAPU16"] = HEAPU16 = new Uint16Array(buffer);
  777. Module["HEAPU32"] = HEAPU32 = new Uint32Array(buffer);
  778. Module["HEAPF32"] = HEAPF32 = new Float32Array(buffer);
  779. Module["HEAPF64"] = HEAPF64 = new Float64Array(buffer);
  780. }
  781. var STATIC_BASE, STATICTOP, staticSealed;
  782. var STACK_BASE, STACKTOP, STACK_MAX;
  783. var DYNAMIC_BASE, DYNAMICTOP_PTR;
  784. STATIC_BASE = STATICTOP = STACK_BASE = STACKTOP = STACK_MAX = DYNAMIC_BASE = DYNAMICTOP_PTR = 0;
  785. staticSealed = false;
  786. function writeStackCookie() {
  787. assert((STACK_MAX & 3) == 0);
  788. HEAPU32[(STACK_MAX >> 2) - 1] = 34821223;
  789. HEAPU32[(STACK_MAX >> 2) - 2] = 2310721022;
  790. }
  791. function checkStackCookie() {
  792. if (HEAPU32[(STACK_MAX >> 2) - 1] != 34821223 || HEAPU32[(STACK_MAX >> 2) - 2] != 2310721022) {
  793. abort("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x02135467, but received 0x" + HEAPU32[(STACK_MAX >> 2) - 2].toString(16) + " " + HEAPU32[(STACK_MAX >> 2) - 1].toString(16));
  794. }
  795. if (HEAP32[0] !== 1668509029) throw "Runtime error: The application has corrupted its heap memory area (address zero)!";
  796. }
  797. function abortStackOverflow(allocSize) {
  798. abort("Stack overflow! Attempted to allocate " + allocSize + " bytes on the stack, but stack has only " + (STACK_MAX - stackSave() + allocSize) + " bytes available!");
  799. }
  800. function abortOnCannotGrowMemory() {
  801. abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value " + TOTAL_MEMORY + ", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ");
  802. }
  803. if (!Module["reallocBuffer"]) Module["reallocBuffer"] = (function(size) {
  804. var ret;
  805. try {
  806. if (ArrayBuffer.transfer) {
  807. ret = ArrayBuffer.transfer(buffer, size);
  808. } else {
  809. var oldHEAP8 = HEAP8;
  810. ret = new ArrayBuffer(size);
  811. var temp = new Int8Array(ret);
  812. temp.set(oldHEAP8);
  813. }
  814. } catch (e) {
  815. return false;
  816. }
  817. var success = _emscripten_replace_memory(ret);
  818. if (!success) return false;
  819. return ret;
  820. });
  821. function enlargeMemory() {
  822. assert(HEAP32[DYNAMICTOP_PTR >> 2] > TOTAL_MEMORY);
  823. var PAGE_MULTIPLE = Module["usingWasm"] ? WASM_PAGE_SIZE : ASMJS_PAGE_SIZE;
  824. var LIMIT = 2147483648 - PAGE_MULTIPLE;
  825. if (HEAP32[DYNAMICTOP_PTR >> 2] > LIMIT) {
  826. err("Cannot enlarge memory, asked to go up to " + HEAP32[DYNAMICTOP_PTR >> 2] + " bytes, but the limit is " + LIMIT + " bytes!");
  827. return false;
  828. }
  829. var OLD_TOTAL_MEMORY = TOTAL_MEMORY;
  830. TOTAL_MEMORY = Math.max(TOTAL_MEMORY, MIN_TOTAL_MEMORY);
  831. while (TOTAL_MEMORY < HEAP32[DYNAMICTOP_PTR >> 2]) {
  832. if (TOTAL_MEMORY <= 536870912) {
  833. TOTAL_MEMORY = alignUp(2 * TOTAL_MEMORY, PAGE_MULTIPLE);
  834. } else {
  835. TOTAL_MEMORY = Math.min(alignUp((3 * TOTAL_MEMORY + 2147483648) / 4, PAGE_MULTIPLE), LIMIT);
  836. if (TOTAL_MEMORY === OLD_TOTAL_MEMORY) {
  837. warnOnce("Cannot ask for more memory since we reached the practical limit in browsers (which is just below 2GB), so the request would have failed. Requesting only " + TOTAL_MEMORY);
  838. }
  839. }
  840. }
  841. var start = Date.now();
  842. var replacement = Module["reallocBuffer"](TOTAL_MEMORY);
  843. if (!replacement || replacement.byteLength != TOTAL_MEMORY) {
  844. err("Failed to grow the heap from " + OLD_TOTAL_MEMORY + " bytes to " + TOTAL_MEMORY + " bytes, not enough memory!");
  845. if (replacement) {
  846. err("Expected to get back a buffer of size " + TOTAL_MEMORY + " bytes, but instead got back a buffer of size " + replacement.byteLength);
  847. }
  848. TOTAL_MEMORY = OLD_TOTAL_MEMORY;
  849. return false;
  850. }
  851. updateGlobalBuffer(replacement);
  852. updateGlobalBufferViews();
  853. if (!Module["usingWasm"]) {
  854. err("Warning: Enlarging memory arrays, this is not fast! " + [ OLD_TOTAL_MEMORY, TOTAL_MEMORY ]);
  855. }
  856. return true;
  857. }
  858. var byteLength;
  859. try {
  860. byteLength = Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get);
  861. byteLength(new ArrayBuffer(4));
  862. } catch (e) {
  863. byteLength = (function(buffer) {
  864. return buffer.byteLength;
  865. });
  866. }
  867. var TOTAL_STACK = Module["TOTAL_STACK"] || 5242880;
  868. var TOTAL_MEMORY = Module["TOTAL_MEMORY"] || 33554432;
  869. if (TOTAL_MEMORY < TOTAL_STACK) err("TOTAL_MEMORY should be larger than TOTAL_STACK, was " + TOTAL_MEMORY + "! (TOTAL_STACK=" + TOTAL_STACK + ")");
  870. assert(typeof Int32Array !== "undefined" && typeof Float64Array !== "undefined" && Int32Array.prototype.subarray !== undefined && Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support");
  871. if (Module["buffer"]) {
  872. buffer = Module["buffer"];
  873. assert(buffer.byteLength === TOTAL_MEMORY, "provided buffer should be " + TOTAL_MEMORY + " bytes, but it is " + buffer.byteLength);
  874. } else {
  875. if (typeof WebAssembly === "object" && typeof WebAssembly.Memory === "function") {
  876. assert(TOTAL_MEMORY % WASM_PAGE_SIZE === 0);
  877. Module["wasmMemory"] = new WebAssembly.Memory({
  878. "initial": TOTAL_MEMORY / WASM_PAGE_SIZE
  879. });
  880. buffer = Module["wasmMemory"].buffer;
  881. } else {
  882. buffer = new ArrayBuffer(TOTAL_MEMORY);
  883. }
  884. assert(buffer.byteLength === TOTAL_MEMORY);
  885. Module["buffer"] = buffer;
  886. }
  887. updateGlobalBufferViews();
  888. function getTotalMemory() {
  889. return TOTAL_MEMORY;
  890. }
  891. HEAP32[0] = 1668509029;
  892. HEAP16[1] = 25459;
  893. if (HEAPU8[2] !== 115 || HEAPU8[3] !== 99) throw "Runtime error: expected the system to be little-endian!";
  894. function callRuntimeCallbacks(callbacks) {
  895. while (callbacks.length > 0) {
  896. var callback = callbacks.shift();
  897. if (typeof callback == "function") {
  898. callback();
  899. continue;
  900. }
  901. var func = callback.func;
  902. if (typeof func === "number") {
  903. if (callback.arg === undefined) {
  904. Module["dynCall_v"](func);
  905. } else {
  906. Module["dynCall_vi"](func, callback.arg);
  907. }
  908. } else {
  909. func(callback.arg === undefined ? null : callback.arg);
  910. }
  911. }
  912. }
  913. var __ATPRERUN__ = [];
  914. var __ATINIT__ = [];
  915. var __ATMAIN__ = [];
  916. var __ATEXIT__ = [];
  917. var __ATPOSTRUN__ = [];
  918. var runtimeInitialized = false;
  919. var runtimeExited = false;
  920. function preRun() {
  921. if (Module["preRun"]) {
  922. if (typeof Module["preRun"] == "function") Module["preRun"] = [ Module["preRun"] ];
  923. while (Module["preRun"].length) {
  924. addOnPreRun(Module["preRun"].shift());
  925. }
  926. }
  927. callRuntimeCallbacks(__ATPRERUN__);
  928. }
  929. function ensureInitRuntime() {
  930. checkStackCookie();
  931. if (runtimeInitialized) return;
  932. runtimeInitialized = true;
  933. callRuntimeCallbacks(__ATINIT__);
  934. }
  935. function preMain() {
  936. checkStackCookie();
  937. callRuntimeCallbacks(__ATMAIN__);
  938. }
  939. function exitRuntime() {
  940. checkStackCookie();
  941. callRuntimeCallbacks(__ATEXIT__);
  942. runtimeExited = true;
  943. }
  944. function postRun() {
  945. checkStackCookie();
  946. if (Module["postRun"]) {
  947. if (typeof Module["postRun"] == "function") Module["postRun"] = [ Module["postRun"] ];
  948. while (Module["postRun"].length) {
  949. addOnPostRun(Module["postRun"].shift());
  950. }
  951. }
  952. callRuntimeCallbacks(__ATPOSTRUN__);
  953. }
  954. function addOnPreRun(cb) {
  955. __ATPRERUN__.unshift(cb);
  956. }
  957. function addOnPostRun(cb) {
  958. __ATPOSTRUN__.unshift(cb);
  959. }
  960. function writeArrayToMemory(array, buffer) {
  961. assert(array.length >= 0, "writeArrayToMemory array must have a length (should be an array or typed array)");
  962. HEAP8.set(array, buffer);
  963. }
  964. function writeAsciiToMemory(str, buffer, dontAddNull) {
  965. for (var i = 0; i < str.length; ++i) {
  966. assert(str.charCodeAt(i) === str.charCodeAt(i) & 255);
  967. HEAP8[buffer++ >> 0] = str.charCodeAt(i);
  968. }
  969. if (!dontAddNull) HEAP8[buffer >> 0] = 0;
  970. }
  971. function unSign(value, bits, ignore) {
  972. if (value >= 0) {
  973. return value;
  974. }
  975. return bits <= 32 ? 2 * Math.abs(1 << bits - 1) + value : Math.pow(2, bits) + value;
  976. }
  977. function reSign(value, bits, ignore) {
  978. if (value <= 0) {
  979. return value;
  980. }
  981. var half = bits <= 32 ? Math.abs(1 << bits - 1) : Math.pow(2, bits - 1);
  982. if (value >= half && (bits <= 32 || value > half)) {
  983. value = -2 * half + value;
  984. }
  985. return value;
  986. }
  987. assert(Math["imul"] && Math["fround"] && Math["clz32"] && Math["trunc"], "this is a legacy browser, build with LEGACY_VM_SUPPORT");
  988. var Math_abs = Math.abs;
  989. var Math_sqrt = Math.sqrt;
  990. var Math_ceil = Math.ceil;
  991. var Math_floor = Math.floor;
  992. var Math_pow = Math.pow;
  993. var Math_min = Math.min;
  994. var Math_clz32 = Math.clz32;
  995. var Math_trunc = Math.trunc;
  996. var runDependencies = 0;
  997. var runDependencyWatcher = null;
  998. var dependenciesFulfilled = null;
  999. var runDependencyTracking = {};
  1000. function getUniqueRunDependency(id) {
  1001. var orig = id;
  1002. while (1) {
  1003. if (!runDependencyTracking[id]) return id;
  1004. id = orig + Math.random();
  1005. }
  1006. return id;
  1007. }
  1008. function addRunDependency(id) {
  1009. runDependencies++;
  1010. if (Module["monitorRunDependencies"]) {
  1011. Module["monitorRunDependencies"](runDependencies);
  1012. }
  1013. if (id) {
  1014. assert(!runDependencyTracking[id]);
  1015. runDependencyTracking[id] = 1;
  1016. if (runDependencyWatcher === null && typeof setInterval !== "undefined") {
  1017. runDependencyWatcher = setInterval((function() {
  1018. if (ABORT) {
  1019. clearInterval(runDependencyWatcher);
  1020. runDependencyWatcher = null;
  1021. return;
  1022. }
  1023. var shown = false;
  1024. for (var dep in runDependencyTracking) {
  1025. if (!shown) {
  1026. shown = true;
  1027. err("still waiting on run dependencies:");
  1028. }
  1029. err("dependency: " + dep);
  1030. }
  1031. if (shown) {
  1032. err("(end of list)");
  1033. }
  1034. }), 1e4);
  1035. }
  1036. } else {
  1037. err("warning: run dependency added without ID");
  1038. }
  1039. }
  1040. function removeRunDependency(id) {
  1041. runDependencies--;
  1042. if (Module["monitorRunDependencies"]) {
  1043. Module["monitorRunDependencies"](runDependencies);
  1044. }
  1045. if (id) {
  1046. assert(runDependencyTracking[id]);
  1047. delete runDependencyTracking[id];
  1048. } else {
  1049. err("warning: run dependency removed without ID");
  1050. }
  1051. if (runDependencies == 0) {
  1052. if (runDependencyWatcher !== null) {
  1053. clearInterval(runDependencyWatcher);
  1054. runDependencyWatcher = null;
  1055. }
  1056. if (dependenciesFulfilled) {
  1057. var callback = dependenciesFulfilled;
  1058. dependenciesFulfilled = null;
  1059. callback();
  1060. }
  1061. }
  1062. }
  1063. Module["preloadedImages"] = {};
  1064. Module["preloadedAudios"] = {};
  1065. var dataURIPrefix = "data:application/octet-stream;base64,";
  1066. function isDataURI(filename) {
  1067. return String.prototype.startsWith ? filename.startsWith(dataURIPrefix) : filename.indexOf(dataURIPrefix) === 0;
  1068. }
  1069. function integrateWasmJS() {
  1070. var wasmTextFile = "build.wast";
  1071. var wasmBinaryFile = "build.wasm";
  1072. var asmjsCodeFile = "build.temp.asm.js";
  1073. if (!isDataURI(wasmTextFile)) {
  1074. wasmTextFile = locateFile(wasmTextFile);
  1075. }
  1076. if (!isDataURI(wasmBinaryFile)) {
  1077. wasmBinaryFile = locateFile(wasmBinaryFile);
  1078. }
  1079. if (!isDataURI(asmjsCodeFile)) {
  1080. asmjsCodeFile = locateFile(asmjsCodeFile);
  1081. }
  1082. var wasmPageSize = 64 * 1024;
  1083. var info = {
  1084. "global": null,
  1085. "env": null,
  1086. "asm2wasm": asm2wasmImports,
  1087. "parent": Module
  1088. };
  1089. var exports = null;
  1090. function mergeMemory(newBuffer) {
  1091. var oldBuffer = Module["buffer"];
  1092. if (newBuffer.byteLength < oldBuffer.byteLength) {
  1093. err("the new buffer in mergeMemory is smaller than the previous one. in native wasm, we should grow memory here");
  1094. }
  1095. var oldView = new Int8Array(oldBuffer);
  1096. var newView = new Int8Array(newBuffer);
  1097. newView.set(oldView);
  1098. updateGlobalBuffer(newBuffer);
  1099. updateGlobalBufferViews();
  1100. }
  1101. function fixImports(imports) {
  1102. return imports;
  1103. }
  1104. function getBinary() {
  1105. try {
  1106. if (Module["wasmBinary"]) {
  1107. return new Uint8Array(Module["wasmBinary"]);
  1108. }
  1109. if (Module["readBinary"]) {
  1110. return Module["readBinary"](wasmBinaryFile);
  1111. } else {
  1112. throw "both async and sync fetching of the wasm failed";
  1113. }
  1114. } catch (err) {
  1115. abort(err);
  1116. }
  1117. }
  1118. function getBinaryPromise() {
  1119. if (!Module["wasmBinary"] && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && typeof fetch === "function") {
  1120. return fetch(wasmBinaryFile, {
  1121. credentials: "same-origin"
  1122. }).then((function(response) {
  1123. if (!response["ok"]) {
  1124. throw "failed to load wasm binary file at '" + wasmBinaryFile + "'";
  1125. }
  1126. return response["arrayBuffer"]();
  1127. })).catch((function() {
  1128. return getBinary();
  1129. }));
  1130. }
  1131. return new Promise((function(resolve, reject) {
  1132. resolve(getBinary());
  1133. }));
  1134. }
  1135. function doNativeWasm(global, env, providedBuffer) {
  1136. if (typeof WebAssembly !== "object") {
  1137. abort("No WebAssembly support found. Build with -s WASM=0 to target JavaScript instead.");
  1138. err("no native wasm support detected");
  1139. return false;
  1140. }
  1141. if (!(Module["wasmMemory"] instanceof WebAssembly.Memory)) {
  1142. err("no native wasm Memory in use");
  1143. return false;
  1144. }
  1145. env["memory"] = Module["wasmMemory"];
  1146. info["global"] = {
  1147. "NaN": NaN,
  1148. "Infinity": Infinity
  1149. };
  1150. info["global.Math"] = Math;
  1151. info["env"] = env;
  1152. function receiveInstance(instance, module) {
  1153. exports = instance.exports;
  1154. if (exports.memory) mergeMemory(exports.memory);
  1155. Module["asm"] = exports;
  1156. Module["usingWasm"] = true;
  1157. removeRunDependency("wasm-instantiate");
  1158. }
  1159. addRunDependency("wasm-instantiate");
  1160. if (Module["instantiateWasm"]) {
  1161. try {
  1162. return Module["instantiateWasm"](info, receiveInstance);
  1163. } catch (e) {
  1164. err("Module.instantiateWasm callback failed with error: " + e);
  1165. return false;
  1166. }
  1167. }
  1168. var trueModule = Module;
  1169. function receiveInstantiatedSource(output) {
  1170. assert(Module === trueModule, "the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?");
  1171. trueModule = null;
  1172. receiveInstance(output["instance"], output["module"]);
  1173. }
  1174. function instantiateArrayBuffer(receiver) {
  1175. getBinaryPromise().then((function(binary) {
  1176. return WebAssembly.instantiate(binary, info);
  1177. })).then(receiver).catch((function(reason) {
  1178. err("failed to asynchronously prepare wasm: " + reason);
  1179. abort(reason);
  1180. }));
  1181. }
  1182. if (!Module["wasmBinary"] && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && typeof fetch === "function") {
  1183. WebAssembly.instantiateStreaming(fetch(wasmBinaryFile, {
  1184. credentials: "same-origin"
  1185. }), info).then(receiveInstantiatedSource).catch((function(reason) {
  1186. err("wasm streaming compile failed: " + reason);
  1187. err("falling back to ArrayBuffer instantiation");
  1188. instantiateArrayBuffer(receiveInstantiatedSource);
  1189. }));
  1190. } else {
  1191. instantiateArrayBuffer(receiveInstantiatedSource);
  1192. }
  1193. return {};
  1194. }
  1195. Module["asmPreload"] = Module["asm"];
  1196. var asmjsReallocBuffer = Module["reallocBuffer"];
  1197. var wasmReallocBuffer = (function(size) {
  1198. var PAGE_MULTIPLE = Module["usingWasm"] ? WASM_PAGE_SIZE : ASMJS_PAGE_SIZE;
  1199. size = alignUp(size, PAGE_MULTIPLE);
  1200. var old = Module["buffer"];
  1201. var oldSize = old.byteLength;
  1202. if (Module["usingWasm"]) {
  1203. try {
  1204. var result = Module["wasmMemory"].grow((size - oldSize) / wasmPageSize);
  1205. if (result !== (-1 | 0)) {
  1206. return Module["buffer"] = Module["wasmMemory"].buffer;
  1207. } else {
  1208. return null;
  1209. }
  1210. } catch (e) {
  1211. console.error("Module.reallocBuffer: Attempted to grow from " + oldSize + " bytes to " + size + " bytes, but got error: " + e);
  1212. return null;
  1213. }
  1214. }
  1215. });
  1216. Module["reallocBuffer"] = (function(size) {
  1217. if (finalMethod === "asmjs") {
  1218. return asmjsReallocBuffer(size);
  1219. } else {
  1220. return wasmReallocBuffer(size);
  1221. }
  1222. });
  1223. var finalMethod = "";
  1224. Module["asm"] = (function(global, env, providedBuffer) {
  1225. env = fixImports(env);
  1226. if (!env["table"]) {
  1227. var TABLE_SIZE = Module["wasmTableSize"];
  1228. if (TABLE_SIZE === undefined) TABLE_SIZE = 1024;
  1229. var MAX_TABLE_SIZE = Module["wasmMaxTableSize"];
  1230. if (typeof WebAssembly === "object" && typeof WebAssembly.Table === "function") {
  1231. if (MAX_TABLE_SIZE !== undefined) {
  1232. env["table"] = new WebAssembly.Table({
  1233. "initial": TABLE_SIZE,
  1234. "maximum": MAX_TABLE_SIZE,
  1235. "element": "anyfunc"
  1236. });
  1237. } else {
  1238. env["table"] = new WebAssembly.Table({
  1239. "initial": TABLE_SIZE,
  1240. element: "anyfunc"
  1241. });
  1242. }
  1243. } else {
  1244. env["table"] = new Array(TABLE_SIZE);
  1245. }
  1246. Module["wasmTable"] = env["table"];
  1247. }
  1248. if (!env["memoryBase"]) {
  1249. env["memoryBase"] = Module["STATIC_BASE"];
  1250. }
  1251. if (!env["tableBase"]) {
  1252. env["tableBase"] = 0;
  1253. }
  1254. var exports;
  1255. exports = doNativeWasm(global, env, providedBuffer);
  1256. assert(exports, "no binaryen method succeeded. consider enabling more options, like interpreting, if you want that: https://github.com/kripken/emscripten/wiki/WebAssembly#binaryen-methods");
  1257. return exports;
  1258. });
  1259. }
  1260. integrateWasmJS();
  1261. var ASM_CONSTS = [ (function() {
  1262. return Module.webglContextAttributes.premultipliedAlpha;
  1263. }), (function() {
  1264. return Module.webglContextAttributes.preserveDrawingBuffer;
  1265. }), (function() {
  1266. Module["emscripten_get_now_backup"] = performance.now;
  1267. }), (function($0) {
  1268. performance.now = (function() {
  1269. return $0;
  1270. });
  1271. }), (function() {
  1272. performance.now = Module["emscripten_get_now_backup"];
  1273. }), (function() {
  1274. return typeof Module.shouldQuit != "undefined";
  1275. }), (function() {
  1276. for (var id in Module.intervals) {
  1277. window.clearInterval(id);
  1278. }
  1279. Module.intervals = {};
  1280. for (var i = 0; i < Module.deinitializers.length; i++) {
  1281. Module.deinitializers[i]();
  1282. }
  1283. Module.deinitializers = [];
  1284. if (typeof Module.onQuit == "function") Module.onQuit();
  1285. }) ];
  1286. function _emscripten_asm_const_i(code) {
  1287. return ASM_CONSTS[code]();
  1288. }
  1289. function _emscripten_asm_const_sync_on_main_thread_i(code) {
  1290. return ASM_CONSTS[code]();
  1291. }
  1292. function _emscripten_asm_const_id(code, a0) {
  1293. return ASM_CONSTS[code](a0);
  1294. }
  1295. STATIC_BASE = GLOBAL_BASE;
  1296. STATICTOP = STATIC_BASE + 2430928;
  1297. __ATINIT__.push({
  1298. func: (function() {
  1299. __GLOBAL__sub_I_AccessibilityScriptingClasses_cpp();
  1300. })
  1301. }, {
  1302. func: (function() {
  1303. __GLOBAL__sub_I_AIScriptingClasses_cpp();
  1304. })
  1305. }, {
  1306. func: (function() {
  1307. ___cxx_global_var_init_47();
  1308. })
  1309. }, {
  1310. func: (function() {
  1311. ___cxx_global_var_init_48();
  1312. })
  1313. }, {
  1314. func: (function() {
  1315. __GLOBAL__sub_I_Modules_AI_1_cpp();
  1316. })
  1317. }, {
  1318. func: (function() {
  1319. __GLOBAL__sub_I_Modules_AI_Builder_0_cpp();
  1320. })
  1321. }, {
  1322. func: (function() {
  1323. __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp();
  1324. })
  1325. }, {
  1326. func: (function() {
  1327. __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp();
  1328. })
  1329. }, {
  1330. func: (function() {
  1331. __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp();
  1332. })
  1333. }, {
  1334. func: (function() {
  1335. ___cxx_global_var_init_199();
  1336. })
  1337. }, {
  1338. func: (function() {
  1339. __GLOBAL__sub_I_AIBindings_gen_cpp();
  1340. })
  1341. }, {
  1342. func: (function() {
  1343. __GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp();
  1344. })
  1345. }, {
  1346. func: (function() {
  1347. __GLOBAL__sub_I_AnimationScriptingClasses_cpp();
  1348. })
  1349. }, {
  1350. func: (function() {
  1351. __GLOBAL__sub_I_Modules_Animation_0_cpp();
  1352. })
  1353. }, {
  1354. func: (function() {
  1355. __GLOBAL__sub_I_Modules_Animation_2_cpp();
  1356. })
  1357. }, {
  1358. func: (function() {
  1359. __GLOBAL__sub_I_Modules_Animation_3_cpp();
  1360. })
  1361. }, {
  1362. func: (function() {
  1363. __GLOBAL__sub_I_Modules_Animation_4_cpp();
  1364. })
  1365. }, {
  1366. func: (function() {
  1367. __GLOBAL__sub_I_Modules_Animation_5_cpp();
  1368. })
  1369. }, {
  1370. func: (function() {
  1371. __GLOBAL__sub_I_Modules_Animation_6_cpp();
  1372. })
  1373. }, {
  1374. func: (function() {
  1375. ___cxx_global_var_init_20();
  1376. })
  1377. }, {
  1378. func: (function() {
  1379. ___cxx_global_var_init_21();
  1380. })
  1381. }, {
  1382. func: (function() {
  1383. __GLOBAL__sub_I_Modules_Animation_7_cpp();
  1384. })
  1385. }, {
  1386. func: (function() {
  1387. ___cxx_global_var_init_53();
  1388. })
  1389. }, {
  1390. func: (function() {
  1391. __GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp();
  1392. })
  1393. }, {
  1394. func: (function() {
  1395. __GLOBAL__sub_I_Modules_Animation_Director_0_cpp();
  1396. })
  1397. }, {
  1398. func: (function() {
  1399. __GLOBAL__sub_I_Modules_Animation_Director_1_cpp();
  1400. })
  1401. }, {
  1402. func: (function() {
  1403. __GLOBAL__sub_I_AnimationBindings_gen_cpp();
  1404. })
  1405. }, {
  1406. func: (function() {
  1407. __GLOBAL__sub_I_ConstraintJob_cpp();
  1408. })
  1409. }, {
  1410. func: (function() {
  1411. __GLOBAL__sub_I_clipmuscle_cpp();
  1412. })
  1413. }, {
  1414. func: (function() {
  1415. __GLOBAL__sub_I_AnimationClip_cpp();
  1416. })
  1417. }, {
  1418. func: (function() {
  1419. __GLOBAL__sub_I_AssetBundleScriptingClasses_cpp();
  1420. })
  1421. }, {
  1422. func: (function() {
  1423. __GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp();
  1424. })
  1425. }, {
  1426. func: (function() {
  1427. __GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp();
  1428. })
  1429. }, {
  1430. func: (function() {
  1431. __GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp();
  1432. })
  1433. }, {
  1434. func: (function() {
  1435. __GLOBAL__sub_I_AudioScriptingClasses_cpp();
  1436. })
  1437. }, {
  1438. func: (function() {
  1439. __GLOBAL__sub_I_Runtime_Video_0_cpp();
  1440. })
  1441. }, {
  1442. func: (function() {
  1443. ___cxx_global_var_init_5();
  1444. })
  1445. }, {
  1446. func: (function() {
  1447. ___cxx_global_var_init_6_748();
  1448. })
  1449. }, {
  1450. func: (function() {
  1451. ___cxx_global_var_init_7();
  1452. })
  1453. }, {
  1454. func: (function() {
  1455. __GLOBAL__sub_I_Modules_Audio_Public_0_cpp();
  1456. })
  1457. }, {
  1458. func: (function() {
  1459. ___cxx_global_var_init_146();
  1460. })
  1461. }, {
  1462. func: (function() {
  1463. __GLOBAL__sub_I_Modules_Audio_Public_1_cpp();
  1464. })
  1465. }, {
  1466. func: (function() {
  1467. __GLOBAL__sub_I_Modules_Audio_Public_3_cpp();
  1468. })
  1469. }, {
  1470. func: (function() {
  1471. __GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp();
  1472. })
  1473. }, {
  1474. func: (function() {
  1475. __GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp();
  1476. })
  1477. }, {
  1478. func: (function() {
  1479. __GLOBAL__sub_I_ClothScriptingClasses_cpp();
  1480. })
  1481. }, {
  1482. func: (function() {
  1483. ___cxx_global_var_init_25();
  1484. })
  1485. }, {
  1486. func: (function() {
  1487. ___cxx_global_var_init_26();
  1488. })
  1489. }, {
  1490. func: (function() {
  1491. ___cxx_global_var_init_27();
  1492. })
  1493. }, {
  1494. func: (function() {
  1495. __GLOBAL__sub_I_Modules_Cloth_0_cpp();
  1496. })
  1497. }, {
  1498. func: (function() {
  1499. ___cxx_global_var_init_18();
  1500. })
  1501. }, {
  1502. func: (function() {
  1503. __GLOBAL__sub_I_nvcloth_src_0_cpp();
  1504. })
  1505. }, {
  1506. func: (function() {
  1507. __GLOBAL__sub_I_nvcloth_src_1_cpp();
  1508. })
  1509. }, {
  1510. func: (function() {
  1511. __GLOBAL__sub_I_SwInterCollision_cpp();
  1512. })
  1513. }, {
  1514. func: (function() {
  1515. __GLOBAL__sub_I_SwSolverKernel_cpp();
  1516. })
  1517. }, {
  1518. func: (function() {
  1519. __GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp();
  1520. })
  1521. }, {
  1522. func: (function() {
  1523. __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp();
  1524. })
  1525. }, {
  1526. func: (function() {
  1527. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp();
  1528. })
  1529. }, {
  1530. func: (function() {
  1531. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp();
  1532. })
  1533. }, {
  1534. func: (function() {
  1535. __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp();
  1536. })
  1537. }, {
  1538. func: (function() {
  1539. __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp();
  1540. })
  1541. }, {
  1542. func: (function() {
  1543. __GLOBAL__sub_I_Runtime_Input_0_cpp();
  1544. })
  1545. }, {
  1546. func: (function() {
  1547. __GLOBAL__sub_I_GfxDeviceNull_cpp();
  1548. })
  1549. }, {
  1550. func: (function() {
  1551. __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp();
  1552. })
  1553. }, {
  1554. func: (function() {
  1555. __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp();
  1556. })
  1557. }, {
  1558. func: (function() {
  1559. ___cxx_global_var_init_19();
  1560. })
  1561. }, {
  1562. func: (function() {
  1563. __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp();
  1564. })
  1565. }, {
  1566. func: (function() {
  1567. ___cxx_global_var_init_17();
  1568. })
  1569. }, {
  1570. func: (function() {
  1571. __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp();
  1572. })
  1573. }, {
  1574. func: (function() {
  1575. __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp();
  1576. })
  1577. }, {
  1578. func: (function() {
  1579. __GLOBAL__sub_I_Runtime_Allocator_0_cpp();
  1580. })
  1581. }, {
  1582. func: (function() {
  1583. __GLOBAL__sub_I_Runtime_Allocator_2_cpp();
  1584. })
  1585. }, {
  1586. func: (function() {
  1587. __GLOBAL__sub_I_Runtime_Allocator_3_cpp();
  1588. })
  1589. }, {
  1590. func: (function() {
  1591. __GLOBAL__sub_I_Runtime_Application_0_cpp();
  1592. })
  1593. }, {
  1594. func: (function() {
  1595. __GLOBAL__sub_I_Runtime_BaseClasses_0_cpp();
  1596. })
  1597. }, {
  1598. func: (function() {
  1599. __GLOBAL__sub_I_Runtime_BaseClasses_1_cpp();
  1600. })
  1601. }, {
  1602. func: (function() {
  1603. __GLOBAL__sub_I_Runtime_BaseClasses_2_cpp();
  1604. })
  1605. }, {
  1606. func: (function() {
  1607. __GLOBAL__sub_I_Runtime_BaseClasses_3_cpp();
  1608. })
  1609. }, {
  1610. func: (function() {
  1611. __GLOBAL__sub_I_Runtime_Burst_0_cpp();
  1612. })
  1613. }, {
  1614. func: (function() {
  1615. __GLOBAL__sub_I_Runtime_Camera_0_cpp();
  1616. })
  1617. }, {
  1618. func: (function() {
  1619. __GLOBAL__sub_I_Runtime_Camera_1_cpp();
  1620. })
  1621. }, {
  1622. func: (function() {
  1623. __GLOBAL__sub_I_Runtime_Camera_2_cpp();
  1624. })
  1625. }, {
  1626. func: (function() {
  1627. ___cxx_global_var_init_10();
  1628. })
  1629. }, {
  1630. func: (function() {
  1631. __GLOBAL__sub_I_Runtime_Camera_3_cpp();
  1632. })
  1633. }, {
  1634. func: (function() {
  1635. __GLOBAL__sub_I_Runtime_Camera_4_cpp();
  1636. })
  1637. }, {
  1638. func: (function() {
  1639. __GLOBAL__sub_I_Runtime_Camera_5_cpp();
  1640. })
  1641. }, {
  1642. func: (function() {
  1643. ___cxx_global_var_init_210();
  1644. })
  1645. }, {
  1646. func: (function() {
  1647. ___cxx_global_var_init_211();
  1648. })
  1649. }, {
  1650. func: (function() {
  1651. __GLOBAL__sub_I_Runtime_Camera_6_cpp();
  1652. })
  1653. }, {
  1654. func: (function() {
  1655. ___cxx_global_var_init_104();
  1656. })
  1657. }, {
  1658. func: (function() {
  1659. ___cxx_global_var_init_105();
  1660. })
  1661. }, {
  1662. func: (function() {
  1663. __GLOBAL__sub_I_Runtime_Camera_7_cpp();
  1664. })
  1665. }, {
  1666. func: (function() {
  1667. __GLOBAL__sub_I_Runtime_Camera_8_cpp();
  1668. })
  1669. }, {
  1670. func: (function() {
  1671. __GLOBAL__sub_I_Shadows_cpp();
  1672. })
  1673. }, {
  1674. func: (function() {
  1675. __GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp();
  1676. })
  1677. }, {
  1678. func: (function() {
  1679. __GLOBAL__sub_I_GUITexture_cpp();
  1680. })
  1681. }, {
  1682. func: (function() {
  1683. __GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp();
  1684. })
  1685. }, {
  1686. func: (function() {
  1687. __GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp();
  1688. })
  1689. }, {
  1690. func: (function() {
  1691. __GLOBAL__sub_I_Runtime_Containers_0_cpp();
  1692. })
  1693. }, {
  1694. func: (function() {
  1695. __GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp();
  1696. })
  1697. }, {
  1698. func: (function() {
  1699. __GLOBAL__sub_I_Runtime_File_0_cpp();
  1700. })
  1701. }, {
  1702. func: (function() {
  1703. __GLOBAL__sub_I_Runtime_GameCode_0_cpp();
  1704. })
  1705. }, {
  1706. func: (function() {
  1707. __GLOBAL__sub_I_Runtime_Geometry_1_cpp();
  1708. })
  1709. }, {
  1710. func: (function() {
  1711. __GLOBAL__sub_I_Runtime_Geometry_2_cpp();
  1712. })
  1713. }, {
  1714. func: (function() {
  1715. __GLOBAL__sub_I_Runtime_Graphics_0_cpp();
  1716. })
  1717. }, {
  1718. func: (function() {
  1719. ___cxx_global_var_init_136();
  1720. })
  1721. }, {
  1722. func: (function() {
  1723. ___cxx_global_var_init_137();
  1724. })
  1725. }, {
  1726. func: (function() {
  1727. __GLOBAL__sub_I_Runtime_Graphics_1_cpp();
  1728. })
  1729. }, {
  1730. func: (function() {
  1731. __GLOBAL__sub_I_Runtime_Graphics_2_cpp();
  1732. })
  1733. }, {
  1734. func: (function() {
  1735. ___cxx_global_var_init_88();
  1736. })
  1737. }, {
  1738. func: (function() {
  1739. __GLOBAL__sub_I_Runtime_Graphics_4_cpp();
  1740. })
  1741. }, {
  1742. func: (function() {
  1743. __GLOBAL__sub_I_Runtime_Graphics_5_cpp();
  1744. })
  1745. }, {
  1746. func: (function() {
  1747. __GLOBAL__sub_I_Runtime_Graphics_6_cpp();
  1748. })
  1749. }, {
  1750. func: (function() {
  1751. __GLOBAL__sub_I_Runtime_Graphics_8_cpp();
  1752. })
  1753. }, {
  1754. func: (function() {
  1755. __GLOBAL__sub_I_Runtime_Graphics_10_cpp();
  1756. })
  1757. }, {
  1758. func: (function() {
  1759. __GLOBAL__sub_I_Runtime_Graphics_11_cpp();
  1760. })
  1761. }, {
  1762. func: (function() {
  1763. __GLOBAL__sub_I_Runtime_Graphics_12_cpp();
  1764. })
  1765. }, {
  1766. func: (function() {
  1767. __GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp();
  1768. })
  1769. }, {
  1770. func: (function() {
  1771. __GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp();
  1772. })
  1773. }, {
  1774. func: (function() {
  1775. __GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp();
  1776. })
  1777. }, {
  1778. func: (function() {
  1779. __GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp();
  1780. })
  1781. }, {
  1782. func: (function() {
  1783. __GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp();
  1784. })
  1785. }, {
  1786. func: (function() {
  1787. ___cxx_global_var_init_12();
  1788. })
  1789. }, {
  1790. func: (function() {
  1791. __GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp();
  1792. })
  1793. }, {
  1794. func: (function() {
  1795. __GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp();
  1796. })
  1797. }, {
  1798. func: (function() {
  1799. __GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp();
  1800. })
  1801. }, {
  1802. func: (function() {
  1803. ___cxx_global_var_init_55();
  1804. })
  1805. }, {
  1806. func: (function() {
  1807. __GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp();
  1808. })
  1809. }, {
  1810. func: (function() {
  1811. __GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp();
  1812. })
  1813. }, {
  1814. func: (function() {
  1815. __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp();
  1816. })
  1817. }, {
  1818. func: (function() {
  1819. __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp();
  1820. })
  1821. }, {
  1822. func: (function() {
  1823. __GLOBAL__sub_I_Runtime_Interfaces_0_cpp();
  1824. })
  1825. }, {
  1826. func: (function() {
  1827. __GLOBAL__sub_I_Runtime_Interfaces_1_cpp();
  1828. })
  1829. }, {
  1830. func: (function() {
  1831. __GLOBAL__sub_I_Runtime_Interfaces_3_cpp();
  1832. })
  1833. }, {
  1834. func: (function() {
  1835. __GLOBAL__sub_I_Runtime_Jobs_0_cpp();
  1836. })
  1837. }, {
  1838. func: (function() {
  1839. __GLOBAL__sub_I_Runtime_Jobs_1_cpp();
  1840. })
  1841. }, {
  1842. func: (function() {
  1843. __GLOBAL__sub_I_Runtime_Jobs_2_cpp();
  1844. })
  1845. }, {
  1846. func: (function() {
  1847. __GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp();
  1848. })
  1849. }, {
  1850. func: (function() {
  1851. __GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp();
  1852. })
  1853. }, {
  1854. func: (function() {
  1855. __GLOBAL__sub_I_Runtime_Math_2_cpp();
  1856. })
  1857. }, {
  1858. func: (function() {
  1859. __GLOBAL__sub_I_Runtime_Math_Random_0_cpp();
  1860. })
  1861. }, {
  1862. func: (function() {
  1863. __GLOBAL__sub_I_Runtime_Misc_0_cpp();
  1864. })
  1865. }, {
  1866. func: (function() {
  1867. ___cxx_global_var_init_71();
  1868. })
  1869. }, {
  1870. func: (function() {
  1871. __GLOBAL__sub_I_Runtime_Misc_1_cpp();
  1872. })
  1873. }, {
  1874. func: (function() {
  1875. ___cxx_global_var_init_192();
  1876. })
  1877. }, {
  1878. func: (function() {
  1879. ___cxx_global_var_init_193();
  1880. })
  1881. }, {
  1882. func: (function() {
  1883. ___cxx_global_var_init_194();
  1884. })
  1885. }, {
  1886. func: (function() {
  1887. ___cxx_global_var_init_195();
  1888. })
  1889. }, {
  1890. func: (function() {
  1891. ___cxx_global_var_init_196();
  1892. })
  1893. }, {
  1894. func: (function() {
  1895. ___cxx_global_var_init_197();
  1896. })
  1897. }, {
  1898. func: (function() {
  1899. ___cxx_global_var_init_198();
  1900. })
  1901. }, {
  1902. func: (function() {
  1903. __GLOBAL__sub_I_Runtime_Misc_2_cpp();
  1904. })
  1905. }, {
  1906. func: (function() {
  1907. ___cxx_global_var_init_164();
  1908. })
  1909. }, {
  1910. func: (function() {
  1911. __GLOBAL__sub_I_Runtime_Misc_3_cpp();
  1912. })
  1913. }, {
  1914. func: (function() {
  1915. ___cxx_global_var_init_15();
  1916. })
  1917. }, {
  1918. func: (function() {
  1919. __GLOBAL__sub_I_Runtime_Misc_4_cpp();
  1920. })
  1921. }, {
  1922. func: (function() {
  1923. ___cxx_global_var_init_171();
  1924. })
  1925. }, {
  1926. func: (function() {
  1927. ___cxx_global_var_init_172();
  1928. })
  1929. }, {
  1930. func: (function() {
  1931. ___cxx_global_var_init_173();
  1932. })
  1933. }, {
  1934. func: (function() {
  1935. ___cxx_global_var_init_174();
  1936. })
  1937. }, {
  1938. func: (function() {
  1939. ___cxx_global_var_init_175();
  1940. })
  1941. }, {
  1942. func: (function() {
  1943. ___cxx_global_var_init_176();
  1944. })
  1945. }, {
  1946. func: (function() {
  1947. ___cxx_global_var_init_177();
  1948. })
  1949. }, {
  1950. func: (function() {
  1951. ___cxx_global_var_init_178();
  1952. })
  1953. }, {
  1954. func: (function() {
  1955. ___cxx_global_var_init_179();
  1956. })
  1957. }, {
  1958. func: (function() {
  1959. ___cxx_global_var_init_180();
  1960. })
  1961. }, {
  1962. func: (function() {
  1963. ___cxx_global_var_init_181();
  1964. })
  1965. }, {
  1966. func: (function() {
  1967. ___cxx_global_var_init_182();
  1968. })
  1969. }, {
  1970. func: (function() {
  1971. ___cxx_global_var_init_183();
  1972. })
  1973. }, {
  1974. func: (function() {
  1975. ___cxx_global_var_init_184();
  1976. })
  1977. }, {
  1978. func: (function() {
  1979. ___cxx_global_var_init_185();
  1980. })
  1981. }, {
  1982. func: (function() {
  1983. ___cxx_global_var_init_186();
  1984. })
  1985. }, {
  1986. func: (function() {
  1987. ___cxx_global_var_init_187();
  1988. })
  1989. }, {
  1990. func: (function() {
  1991. ___cxx_global_var_init_188();
  1992. })
  1993. }, {
  1994. func: (function() {
  1995. ___cxx_global_var_init_189();
  1996. })
  1997. }, {
  1998. func: (function() {
  1999. ___cxx_global_var_init_190();
  2000. })
  2001. }, {
  2002. func: (function() {
  2003. ___cxx_global_var_init_191();
  2004. })
  2005. }, {
  2006. func: (function() {
  2007. ___cxx_global_var_init_192_8351();
  2008. })
  2009. }, {
  2010. func: (function() {
  2011. ___cxx_global_var_init_193_8352();
  2012. })
  2013. }, {
  2014. func: (function() {
  2015. ___cxx_global_var_init_194_8353();
  2016. })
  2017. }, {
  2018. func: (function() {
  2019. ___cxx_global_var_init_195_8354();
  2020. })
  2021. }, {
  2022. func: (function() {
  2023. ___cxx_global_var_init_196_8355();
  2024. })
  2025. }, {
  2026. func: (function() {
  2027. ___cxx_global_var_init_197_8356();
  2028. })
  2029. }, {
  2030. func: (function() {
  2031. ___cxx_global_var_init_198_8357();
  2032. })
  2033. }, {
  2034. func: (function() {
  2035. ___cxx_global_var_init_199_1314();
  2036. })
  2037. }, {
  2038. func: (function() {
  2039. ___cxx_global_var_init_200();
  2040. })
  2041. }, {
  2042. func: (function() {
  2043. ___cxx_global_var_init_201();
  2044. })
  2045. }, {
  2046. func: (function() {
  2047. ___cxx_global_var_init_202();
  2048. })
  2049. }, {
  2050. func: (function() {
  2051. ___cxx_global_var_init_203();
  2052. })
  2053. }, {
  2054. func: (function() {
  2055. ___cxx_global_var_init_204();
  2056. })
  2057. }, {
  2058. func: (function() {
  2059. ___cxx_global_var_init_205();
  2060. })
  2061. }, {
  2062. func: (function() {
  2063. ___cxx_global_var_init_206();
  2064. })
  2065. }, {
  2066. func: (function() {
  2067. ___cxx_global_var_init_207();
  2068. })
  2069. }, {
  2070. func: (function() {
  2071. ___cxx_global_var_init_208();
  2072. })
  2073. }, {
  2074. func: (function() {
  2075. ___cxx_global_var_init_209();
  2076. })
  2077. }, {
  2078. func: (function() {
  2079. ___cxx_global_var_init_210_8358();
  2080. })
  2081. }, {
  2082. func: (function() {
  2083. ___cxx_global_var_init_211_8359();
  2084. })
  2085. }, {
  2086. func: (function() {
  2087. ___cxx_global_var_init_212();
  2088. })
  2089. }, {
  2090. func: (function() {
  2091. ___cxx_global_var_init_213();
  2092. })
  2093. }, {
  2094. func: (function() {
  2095. ___cxx_global_var_init_214();
  2096. })
  2097. }, {
  2098. func: (function() {
  2099. ___cxx_global_var_init_215();
  2100. })
  2101. }, {
  2102. func: (function() {
  2103. ___cxx_global_var_init_216();
  2104. })
  2105. }, {
  2106. func: (function() {
  2107. ___cxx_global_var_init_217();
  2108. })
  2109. }, {
  2110. func: (function() {
  2111. ___cxx_global_var_init_218();
  2112. })
  2113. }, {
  2114. func: (function() {
  2115. ___cxx_global_var_init_219();
  2116. })
  2117. }, {
  2118. func: (function() {
  2119. ___cxx_global_var_init_220();
  2120. })
  2121. }, {
  2122. func: (function() {
  2123. ___cxx_global_var_init_221();
  2124. })
  2125. }, {
  2126. func: (function() {
  2127. ___cxx_global_var_init_222();
  2128. })
  2129. }, {
  2130. func: (function() {
  2131. ___cxx_global_var_init_223();
  2132. })
  2133. }, {
  2134. func: (function() {
  2135. __GLOBAL__sub_I_Runtime_Misc_5_cpp();
  2136. })
  2137. }, {
  2138. func: (function() {
  2139. ___cxx_global_var_init_34();
  2140. })
  2141. }, {
  2142. func: (function() {
  2143. __GLOBAL__sub_I_Runtime_Network_0_cpp();
  2144. })
  2145. }, {
  2146. func: (function() {
  2147. ___cxx_global_var_init_86();
  2148. })
  2149. }, {
  2150. func: (function() {
  2151. ___cxx_global_var_init_87();
  2152. })
  2153. }, {
  2154. func: (function() {
  2155. ___cxx_global_var_init_88_8642();
  2156. })
  2157. }, {
  2158. func: (function() {
  2159. __GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp();
  2160. })
  2161. }, {
  2162. func: (function() {
  2163. ___cxx_global_var_init_31_8755();
  2164. })
  2165. }, {
  2166. func: (function() {
  2167. ___cxx_global_var_init_32();
  2168. })
  2169. }, {
  2170. func: (function() {
  2171. ___cxx_global_var_init_33_8756();
  2172. })
  2173. }, {
  2174. func: (function() {
  2175. ___cxx_global_var_init_34_8757();
  2176. })
  2177. }, {
  2178. func: (function() {
  2179. ___cxx_global_var_init_35();
  2180. })
  2181. }, {
  2182. func: (function() {
  2183. __GLOBAL__sub_I_Runtime_PreloadManager_0_cpp();
  2184. })
  2185. }, {
  2186. func: (function() {
  2187. ___cxx_global_var_init_79();
  2188. })
  2189. }, {
  2190. func: (function() {
  2191. __GLOBAL__sub_I_Runtime_Profiler_0_cpp();
  2192. })
  2193. }, {
  2194. func: (function() {
  2195. __GLOBAL__sub_I_Runtime_Profiler_1_cpp();
  2196. })
  2197. }, {
  2198. func: (function() {
  2199. __GLOBAL__sub_I_Runtime_Profiler_2_cpp();
  2200. })
  2201. }, {
  2202. func: (function() {
  2203. __GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp();
  2204. })
  2205. }, {
  2206. func: (function() {
  2207. __GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp();
  2208. })
  2209. }, {
  2210. func: (function() {
  2211. ___cxx_global_var_init_27_9055();
  2212. })
  2213. }, {
  2214. func: (function() {
  2215. ___cxx_global_var_init_28();
  2216. })
  2217. }, {
  2218. func: (function() {
  2219. ___cxx_global_var_init_29_9056();
  2220. })
  2221. }, {
  2222. func: (function() {
  2223. ___cxx_global_var_init_30();
  2224. })
  2225. }, {
  2226. func: (function() {
  2227. ___cxx_global_var_init_31_9057();
  2228. })
  2229. }, {
  2230. func: (function() {
  2231. __GLOBAL__sub_I_Runtime_SceneManager_0_cpp();
  2232. })
  2233. }, {
  2234. func: (function() {
  2235. ___cxx_global_var_init_34_9169();
  2236. })
  2237. }, {
  2238. func: (function() {
  2239. __GLOBAL__sub_I_Runtime_Shaders_0_cpp();
  2240. })
  2241. }, {
  2242. func: (function() {
  2243. __GLOBAL__sub_I_Runtime_Shaders_1_cpp();
  2244. })
  2245. }, {
  2246. func: (function() {
  2247. ___cxx_global_var_init_61();
  2248. })
  2249. }, {
  2250. func: (function() {
  2251. __GLOBAL__sub_I_Runtime_Shaders_4_cpp();
  2252. })
  2253. }, {
  2254. func: (function() {
  2255. __GLOBAL__sub_I_Runtime_Shaders_5_cpp();
  2256. })
  2257. }, {
  2258. func: (function() {
  2259. __GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp();
  2260. })
  2261. }, {
  2262. func: (function() {
  2263. ___cxx_global_var_init_33_10192();
  2264. })
  2265. }, {
  2266. func: (function() {
  2267. __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp();
  2268. })
  2269. }, {
  2270. func: (function() {
  2271. __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp();
  2272. })
  2273. }, {
  2274. func: (function() {
  2275. __GLOBAL__sub_I_Runtime_Streaming_0_cpp();
  2276. })
  2277. }, {
  2278. func: (function() {
  2279. __GLOBAL__sub_I_Runtime_Streaming_1_cpp();
  2280. })
  2281. }, {
  2282. func: (function() {
  2283. ___cxx_global_var_init_47_1315();
  2284. })
  2285. }, {
  2286. func: (function() {
  2287. __GLOBAL__sub_I_Runtime_Transform_0_cpp();
  2288. })
  2289. }, {
  2290. func: (function() {
  2291. __GLOBAL__sub_I_Runtime_Transform_1_cpp();
  2292. })
  2293. }, {
  2294. func: (function() {
  2295. __GLOBAL__sub_I_Runtime_Utilities_2_cpp();
  2296. })
  2297. }, {
  2298. func: (function() {
  2299. ___cxx_global_var_init_10873();
  2300. })
  2301. }, {
  2302. func: (function() {
  2303. __GLOBAL__sub_I_Runtime_Utilities_5_cpp();
  2304. })
  2305. }, {
  2306. func: (function() {
  2307. __GLOBAL__sub_I_Runtime_Utilities_6_cpp();
  2308. })
  2309. }, {
  2310. func: (function() {
  2311. __GLOBAL__sub_I_Runtime_Utilities_7_cpp();
  2312. })
  2313. }, {
  2314. func: (function() {
  2315. __GLOBAL__sub_I_Runtime_Utilities_8_cpp();
  2316. })
  2317. }, {
  2318. func: (function() {
  2319. __GLOBAL__sub_I_Runtime_Utilities_9_cpp();
  2320. })
  2321. }, {
  2322. func: (function() {
  2323. __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp();
  2324. })
  2325. }, {
  2326. func: (function() {
  2327. __GLOBAL__sub_I_AssetBundleFileSystem_cpp();
  2328. })
  2329. }, {
  2330. func: (function() {
  2331. __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp();
  2332. })
  2333. }, {
  2334. func: (function() {
  2335. __GLOBAL__sub_I_Runtime_Modules_0_cpp();
  2336. })
  2337. }, {
  2338. func: (function() {
  2339. __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp();
  2340. })
  2341. }, {
  2342. func: (function() {
  2343. ___cxx_global_var_init_58();
  2344. })
  2345. }, {
  2346. func: (function() {
  2347. ___cxx_global_var_init_59();
  2348. })
  2349. }, {
  2350. func: (function() {
  2351. ___cxx_global_var_init_60();
  2352. })
  2353. }, {
  2354. func: (function() {
  2355. __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp();
  2356. })
  2357. }, {
  2358. func: (function() {
  2359. __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp();
  2360. })
  2361. }, {
  2362. func: (function() {
  2363. __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp();
  2364. })
  2365. }, {
  2366. func: (function() {
  2367. __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp();
  2368. })
  2369. }, {
  2370. func: (function() {
  2371. __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp();
  2372. })
  2373. }, {
  2374. func: (function() {
  2375. __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp();
  2376. })
  2377. }, {
  2378. func: (function() {
  2379. __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp();
  2380. })
  2381. }, {
  2382. func: (function() {
  2383. __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp();
  2384. })
  2385. }, {
  2386. func: (function() {
  2387. __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp();
  2388. })
  2389. }, {
  2390. func: (function() {
  2391. ___cxx_global_var_init_92();
  2392. })
  2393. }, {
  2394. func: (function() {
  2395. ___cxx_global_var_init_93();
  2396. })
  2397. }, {
  2398. func: (function() {
  2399. ___cxx_global_var_init_94();
  2400. })
  2401. }, {
  2402. func: (function() {
  2403. __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp();
  2404. })
  2405. }, {
  2406. func: (function() {
  2407. __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp();
  2408. })
  2409. }, {
  2410. func: (function() {
  2411. __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp();
  2412. })
  2413. }, {
  2414. func: (function() {
  2415. __GLOBAL__sub_I_Runtime_Director_Core_0_cpp();
  2416. })
  2417. }, {
  2418. func: (function() {
  2419. ___cxx_global_var_init_36();
  2420. })
  2421. }, {
  2422. func: (function() {
  2423. ___cxx_global_var_init_37();
  2424. })
  2425. }, {
  2426. func: (function() {
  2427. ___cxx_global_var_init_38();
  2428. })
  2429. }, {
  2430. func: (function() {
  2431. ___cxx_global_var_init_39();
  2432. })
  2433. }, {
  2434. func: (function() {
  2435. ___cxx_global_var_init_40();
  2436. })
  2437. }, {
  2438. func: (function() {
  2439. ___cxx_global_var_init_41();
  2440. })
  2441. }, {
  2442. func: (function() {
  2443. ___cxx_global_var_init_42();
  2444. })
  2445. }, {
  2446. func: (function() {
  2447. ___cxx_global_var_init_43();
  2448. })
  2449. }, {
  2450. func: (function() {
  2451. ___cxx_global_var_init_44();
  2452. })
  2453. }, {
  2454. func: (function() {
  2455. ___cxx_global_var_init_45();
  2456. })
  2457. }, {
  2458. func: (function() {
  2459. ___cxx_global_var_init_46();
  2460. })
  2461. }, {
  2462. func: (function() {
  2463. ___cxx_global_var_init_47_12741();
  2464. })
  2465. }, {
  2466. func: (function() {
  2467. ___cxx_global_var_init_48_1316();
  2468. })
  2469. }, {
  2470. func: (function() {
  2471. ___cxx_global_var_init_49();
  2472. })
  2473. }, {
  2474. func: (function() {
  2475. __GLOBAL__sub_I_Runtime_Director_Core_1_cpp();
  2476. })
  2477. }, {
  2478. func: (function() {
  2479. __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp();
  2480. })
  2481. }, {
  2482. func: (function() {
  2483. ___cxx_global_var_init_155();
  2484. })
  2485. }, {
  2486. func: (function() {
  2487. __GLOBAL__sub_I_Runtime_Scripting_0_cpp();
  2488. })
  2489. }, {
  2490. func: (function() {
  2491. __GLOBAL__sub_I_Runtime_Scripting_2_cpp();
  2492. })
  2493. }, {
  2494. func: (function() {
  2495. ___cxx_global_var_init_41_13424();
  2496. })
  2497. }, {
  2498. func: (function() {
  2499. __GLOBAL__sub_I_Runtime_Scripting_3_cpp();
  2500. })
  2501. }, {
  2502. func: (function() {
  2503. ___cxx_global_var_init_63();
  2504. })
  2505. }, {
  2506. func: (function() {
  2507. __GLOBAL__sub_I_Runtime_Mono_0_cpp();
  2508. })
  2509. }, {
  2510. func: (function() {
  2511. __GLOBAL__sub_I_Runtime_Mono_2_cpp();
  2512. })
  2513. }, {
  2514. func: (function() {
  2515. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp();
  2516. })
  2517. }, {
  2518. func: (function() {
  2519. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp();
  2520. })
  2521. }, {
  2522. func: (function() {
  2523. __GLOBAL__sub_I_TemplateInstantiations_cpp();
  2524. })
  2525. }, {
  2526. func: (function() {
  2527. __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp();
  2528. })
  2529. }, {
  2530. func: (function() {
  2531. __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp();
  2532. })
  2533. }, {
  2534. func: (function() {
  2535. __GLOBAL__sub_I_Runtime_Serialize_0_cpp();
  2536. })
  2537. }, {
  2538. func: (function() {
  2539. __GLOBAL__sub_I_Runtime_Serialize_1_cpp();
  2540. })
  2541. }, {
  2542. func: (function() {
  2543. __GLOBAL__sub_I_Runtime_Serialize_2_cpp();
  2544. })
  2545. }, {
  2546. func: (function() {
  2547. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp();
  2548. })
  2549. }, {
  2550. func: (function() {
  2551. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp();
  2552. })
  2553. }, {
  2554. func: (function() {
  2555. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp();
  2556. })
  2557. }, {
  2558. func: (function() {
  2559. ___cxx_global_var_init_145();
  2560. })
  2561. }, {
  2562. func: (function() {
  2563. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp();
  2564. })
  2565. }, {
  2566. func: (function() {
  2567. __GLOBAL__sub_I_CoreBindings_gen_cpp();
  2568. })
  2569. }, {
  2570. func: (function() {
  2571. __GLOBAL__sub_I_LineRenderer_cpp();
  2572. })
  2573. }, {
  2574. func: (function() {
  2575. __GLOBAL__sub_I_QualitySettings_cpp();
  2576. })
  2577. }, {
  2578. func: (function() {
  2579. __GLOBAL__sub_I_TrailRenderer_cpp();
  2580. })
  2581. }, {
  2582. func: (function() {
  2583. __GLOBAL__sub_I_Mesh_cpp();
  2584. })
  2585. }, {
  2586. func: (function() {
  2587. __GLOBAL__sub_I_LogAssert_cpp();
  2588. })
  2589. }, {
  2590. func: (function() {
  2591. ___cxx_global_var_init_17017();
  2592. })
  2593. }, {
  2594. func: (function() {
  2595. __GLOBAL__sub_I_Shader_cpp();
  2596. })
  2597. }, {
  2598. func: (function() {
  2599. __GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp();
  2600. })
  2601. }, {
  2602. func: (function() {
  2603. __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp();
  2604. })
  2605. }, {
  2606. func: (function() {
  2607. __GLOBAL__sub_I_DirectorScriptingClasses_cpp();
  2608. })
  2609. }, {
  2610. func: (function() {
  2611. __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp();
  2612. })
  2613. }, {
  2614. func: (function() {
  2615. __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp();
  2616. })
  2617. }, {
  2618. func: (function() {
  2619. __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp();
  2620. })
  2621. }, {
  2622. func: (function() {
  2623. __GLOBAL__sub_I_DSPGraphBindings_gen_cpp();
  2624. })
  2625. }, {
  2626. func: (function() {
  2627. __GLOBAL__sub_I_GridScriptingClasses_cpp();
  2628. })
  2629. }, {
  2630. func: (function() {
  2631. __GLOBAL__sub_I_Modules_Grid_Public_0_cpp();
  2632. })
  2633. }, {
  2634. func: (function() {
  2635. ___cxx_global_var_init_4110();
  2636. })
  2637. }, {
  2638. func: (function() {
  2639. __GLOBAL__sub_I_IMGUIScriptingClasses_cpp();
  2640. })
  2641. }, {
  2642. func: (function() {
  2643. __GLOBAL__sub_I_Modules_IMGUI_0_cpp();
  2644. })
  2645. }, {
  2646. func: (function() {
  2647. ___cxx_global_var_init_29_4251();
  2648. })
  2649. }, {
  2650. func: (function() {
  2651. ___cxx_global_var_init_30_4252();
  2652. })
  2653. }, {
  2654. func: (function() {
  2655. ___cxx_global_var_init_31_4253();
  2656. })
  2657. }, {
  2658. func: (function() {
  2659. __GLOBAL__sub_I_Modules_IMGUI_1_cpp();
  2660. })
  2661. }, {
  2662. func: (function() {
  2663. __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp();
  2664. })
  2665. }, {
  2666. func: (function() {
  2667. ___cxx_global_var_init_3_4485();
  2668. })
  2669. }, {
  2670. func: (function() {
  2671. __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp();
  2672. })
  2673. }, {
  2674. func: (function() {
  2675. __GLOBAL__sub_I_InputScriptingClasses_cpp();
  2676. })
  2677. }, {
  2678. func: (function() {
  2679. ___cxx_global_var_init_6_4572();
  2680. })
  2681. }, {
  2682. func: (function() {
  2683. ___cxx_global_var_init_7_4573();
  2684. })
  2685. }, {
  2686. func: (function() {
  2687. ___cxx_global_var_init_8_4574();
  2688. })
  2689. }, {
  2690. func: (function() {
  2691. ___cxx_global_var_init_9_4575();
  2692. })
  2693. }, {
  2694. func: (function() {
  2695. __GLOBAL__sub_I_Modules_Input_Private_0_cpp();
  2696. })
  2697. }, {
  2698. func: (function() {
  2699. __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp();
  2700. })
  2701. }, {
  2702. func: (function() {
  2703. ___cxx_global_var_init_40_4832();
  2704. })
  2705. }, {
  2706. func: (function() {
  2707. __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp();
  2708. })
  2709. }, {
  2710. func: (function() {
  2711. ___cxx_global_var_init_58_4833();
  2712. })
  2713. }, {
  2714. func: (function() {
  2715. ___cxx_global_var_init_59_4834();
  2716. })
  2717. }, {
  2718. func: (function() {
  2719. ___cxx_global_var_init_60_4835();
  2720. })
  2721. }, {
  2722. func: (function() {
  2723. __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp();
  2724. })
  2725. }, {
  2726. func: (function() {
  2727. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp();
  2728. })
  2729. }, {
  2730. func: (function() {
  2731. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp();
  2732. })
  2733. }, {
  2734. func: (function() {
  2735. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp();
  2736. })
  2737. }, {
  2738. func: (function() {
  2739. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp();
  2740. })
  2741. }, {
  2742. func: (function() {
  2743. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp();
  2744. })
  2745. }, {
  2746. func: (function() {
  2747. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp();
  2748. })
  2749. }, {
  2750. func: (function() {
  2751. __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp();
  2752. })
  2753. }, {
  2754. func: (function() {
  2755. __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp();
  2756. })
  2757. }, {
  2758. func: (function() {
  2759. __GLOBAL__sub_I_ExternalForcesModule_cpp();
  2760. })
  2761. }, {
  2762. func: (function() {
  2763. __GLOBAL__sub_I_NoiseModule_cpp();
  2764. })
  2765. }, {
  2766. func: (function() {
  2767. __GLOBAL__sub_I_ShapeModule_cpp();
  2768. })
  2769. }, {
  2770. func: (function() {
  2771. __GLOBAL__sub_I_UVModule_cpp();
  2772. })
  2773. }, {
  2774. func: (function() {
  2775. __GLOBAL__sub_I_VelocityModule_cpp();
  2776. })
  2777. }, {
  2778. func: (function() {
  2779. ___cxx_global_var_init_27_5710();
  2780. })
  2781. }, {
  2782. func: (function() {
  2783. __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp();
  2784. })
  2785. }, {
  2786. func: (function() {
  2787. __GLOBAL__sub_I_Physics2DScriptingClasses_cpp();
  2788. })
  2789. }, {
  2790. func: (function() {
  2791. __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp();
  2792. })
  2793. }, {
  2794. func: (function() {
  2795. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp();
  2796. })
  2797. }, {
  2798. func: (function() {
  2799. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp();
  2800. })
  2801. }, {
  2802. func: (function() {
  2803. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp();
  2804. })
  2805. }, {
  2806. func: (function() {
  2807. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp();
  2808. })
  2809. }, {
  2810. func: (function() {
  2811. ___cxx_global_var_init_112();
  2812. })
  2813. }, {
  2814. func: (function() {
  2815. ___cxx_global_var_init_113();
  2816. })
  2817. }, {
  2818. func: (function() {
  2819. ___cxx_global_var_init_114();
  2820. })
  2821. }, {
  2822. func: (function() {
  2823. __GLOBAL__sub_I_Modules_Physics2D_0_cpp();
  2824. })
  2825. }, {
  2826. func: (function() {
  2827. __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp();
  2828. })
  2829. }, {
  2830. func: (function() {
  2831. __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp();
  2832. })
  2833. }, {
  2834. func: (function() {
  2835. __GLOBAL__sub_I_PhysicsScriptingClasses_cpp();
  2836. })
  2837. }, {
  2838. func: (function() {
  2839. __GLOBAL__sub_I_Modules_Physics_0_cpp();
  2840. })
  2841. }, {
  2842. func: (function() {
  2843. ___cxx_global_var_init_91();
  2844. })
  2845. }, {
  2846. func: (function() {
  2847. ___cxx_global_var_init_92_6311();
  2848. })
  2849. }, {
  2850. func: (function() {
  2851. ___cxx_global_var_init_93_6312();
  2852. })
  2853. }, {
  2854. func: (function() {
  2855. ___cxx_global_var_init_94_6313();
  2856. })
  2857. }, {
  2858. func: (function() {
  2859. ___cxx_global_var_init_95();
  2860. })
  2861. }, {
  2862. func: (function() {
  2863. __GLOBAL__sub_I_Modules_Physics_2_cpp();
  2864. })
  2865. }, {
  2866. func: (function() {
  2867. __GLOBAL__sub_I_Modules_Physics_3_cpp();
  2868. })
  2869. }, {
  2870. func: (function() {
  2871. __GLOBAL__sub_I_Modules_Physics_4_cpp();
  2872. })
  2873. }, {
  2874. func: (function() {
  2875. __GLOBAL__sub_I_PhysicsQuery_cpp();
  2876. })
  2877. }, {
  2878. func: (function() {
  2879. __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp();
  2880. })
  2881. }, {
  2882. func: (function() {
  2883. __GLOBAL__sub_I_PhysicsScene_cpp();
  2884. })
  2885. }, {
  2886. func: (function() {
  2887. __GLOBAL__sub_I_PhysicsBindings_gen_cpp();
  2888. })
  2889. }, {
  2890. func: (function() {
  2891. ___cxx_global_var_init_8_7089();
  2892. })
  2893. }, {
  2894. func: (function() {
  2895. ___cxx_global_var_init_11();
  2896. })
  2897. }, {
  2898. func: (function() {
  2899. __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp();
  2900. })
  2901. }, {
  2902. func: (function() {
  2903. __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp();
  2904. })
  2905. }, {
  2906. func: (function() {
  2907. ___cxx_global_var_init_4_7154();
  2908. })
  2909. }, {
  2910. func: (function() {
  2911. __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp();
  2912. })
  2913. }, {
  2914. func: (function() {
  2915. ___cxx_global_var_init_1_7210();
  2916. })
  2917. }, {
  2918. func: (function() {
  2919. __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp();
  2920. })
  2921. }, {
  2922. func: (function() {
  2923. ___cxx_global_var_init_28_7249();
  2924. })
  2925. }, {
  2926. func: (function() {
  2927. ___cxx_global_var_init_29_7250();
  2928. })
  2929. }, {
  2930. func: (function() {
  2931. __GLOBAL__sub_I_Modules_Subsystems_0_cpp();
  2932. })
  2933. }, {
  2934. func: (function() {
  2935. __GLOBAL__sub_I_TerrainScriptingClasses_cpp();
  2936. })
  2937. }, {
  2938. func: (function() {
  2939. __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp();
  2940. })
  2941. }, {
  2942. func: (function() {
  2943. __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp();
  2944. })
  2945. }, {
  2946. func: (function() {
  2947. ___cxx_global_var_init_110();
  2948. })
  2949. }, {
  2950. func: (function() {
  2951. ___cxx_global_var_init_111();
  2952. })
  2953. }, {
  2954. func: (function() {
  2955. __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp();
  2956. })
  2957. }, {
  2958. func: (function() {
  2959. __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp();
  2960. })
  2961. }, {
  2962. func: (function() {
  2963. __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp();
  2964. })
  2965. }, {
  2966. func: (function() {
  2967. __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp();
  2968. })
  2969. }, {
  2970. func: (function() {
  2971. __GLOBAL__sub_I_TextCoreScriptingClasses_cpp();
  2972. })
  2973. }, {
  2974. func: (function() {
  2975. __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp();
  2976. })
  2977. }, {
  2978. func: (function() {
  2979. __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp();
  2980. })
  2981. }, {
  2982. func: (function() {
  2983. ___cxx_global_var_init_35_7741();
  2984. })
  2985. }, {
  2986. func: (function() {
  2987. ___cxx_global_var_init_36_7742();
  2988. })
  2989. }, {
  2990. func: (function() {
  2991. __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp();
  2992. })
  2993. }, {
  2994. func: (function() {
  2995. __GLOBAL__sub_I_TilemapScriptingClasses_cpp();
  2996. })
  2997. }, {
  2998. func: (function() {
  2999. __GLOBAL__sub_I_Modules_Tilemap_0_cpp();
  3000. })
  3001. }, {
  3002. func: (function() {
  3003. ___cxx_global_var_init_44_7960();
  3004. })
  3005. }, {
  3006. func: (function() {
  3007. __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp();
  3008. })
  3009. }, {
  3010. func: (function() {
  3011. __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp();
  3012. })
  3013. }, {
  3014. func: (function() {
  3015. __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp();
  3016. })
  3017. }, {
  3018. func: (function() {
  3019. ___cxx_global_var_init_10_8116();
  3020. })
  3021. }, {
  3022. func: (function() {
  3023. ___cxx_global_var_init_11_8117();
  3024. })
  3025. }, {
  3026. func: (function() {
  3027. ___cxx_global_var_init_12_8118();
  3028. })
  3029. }, {
  3030. func: (function() {
  3031. __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp();
  3032. })
  3033. }, {
  3034. func: (function() {
  3035. __GLOBAL__sub_I_UIScriptingClasses_cpp();
  3036. })
  3037. }, {
  3038. func: (function() {
  3039. ___cxx_global_var_init_46_8284();
  3040. })
  3041. }, {
  3042. func: (function() {
  3043. ___cxx_global_var_init_47_8285();
  3044. })
  3045. }, {
  3046. func: (function() {
  3047. ___cxx_global_var_init_48_8286();
  3048. })
  3049. }, {
  3050. func: (function() {
  3051. ___cxx_global_var_init_49_8287();
  3052. })
  3053. }, {
  3054. func: (function() {
  3055. ___cxx_global_var_init_50();
  3056. })
  3057. }, {
  3058. func: (function() {
  3059. ___cxx_global_var_init_51();
  3060. })
  3061. }, {
  3062. func: (function() {
  3063. ___cxx_global_var_init_52();
  3064. })
  3065. }, {
  3066. func: (function() {
  3067. ___cxx_global_var_init_53_8288();
  3068. })
  3069. }, {
  3070. func: (function() {
  3071. __GLOBAL__sub_I_Modules_UI_0_cpp();
  3072. })
  3073. }, {
  3074. func: (function() {
  3075. __GLOBAL__sub_I_Modules_UI_1_cpp();
  3076. })
  3077. }, {
  3078. func: (function() {
  3079. __GLOBAL__sub_I_Modules_UI_2_cpp();
  3080. })
  3081. }, {
  3082. func: (function() {
  3083. __GLOBAL__sub_I_umbra_cpp();
  3084. })
  3085. }, {
  3086. func: (function() {
  3087. __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp();
  3088. })
  3089. }, {
  3090. func: (function() {
  3091. ___cxx_global_var_init_67();
  3092. })
  3093. }, {
  3094. func: (function() {
  3095. __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp();
  3096. })
  3097. }, {
  3098. func: (function() {
  3099. ___cxx_global_var_init_8502();
  3100. })
  3101. }, {
  3102. func: (function() {
  3103. __GLOBAL__sub_I_UnityAdsSettings_cpp();
  3104. })
  3105. }, {
  3106. func: (function() {
  3107. __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp();
  3108. })
  3109. }, {
  3110. func: (function() {
  3111. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp();
  3112. })
  3113. }, {
  3114. func: (function() {
  3115. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp();
  3116. })
  3117. }, {
  3118. func: (function() {
  3119. __GLOBAL__sub_I_Modules_Vehicles_0_cpp();
  3120. })
  3121. }, {
  3122. func: (function() {
  3123. __GLOBAL__sub_I_VFXScriptingClasses_cpp();
  3124. })
  3125. }, {
  3126. func: (function() {
  3127. ___cxx_global_var_init_78();
  3128. })
  3129. }, {
  3130. func: (function() {
  3131. __GLOBAL__sub_I_Modules_VFX_Public_0_cpp();
  3132. })
  3133. }, {
  3134. func: (function() {
  3135. __GLOBAL__sub_I_Modules_VFX_Public_1_cpp();
  3136. })
  3137. }, {
  3138. func: (function() {
  3139. __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp();
  3140. })
  3141. }, {
  3142. func: (function() {
  3143. __GLOBAL__sub_I_VisualEffectAsset_cpp();
  3144. })
  3145. }, {
  3146. func: (function() {
  3147. __GLOBAL__sub_I_VideoScriptingClasses_cpp();
  3148. })
  3149. }, {
  3150. func: (function() {
  3151. __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp();
  3152. })
  3153. }, {
  3154. func: (function() {
  3155. ___cxx_global_var_init_1_9482();
  3156. })
  3157. }, {
  3158. func: (function() {
  3159. ___cxx_global_var_init_2_9483();
  3160. })
  3161. }, {
  3162. func: (function() {
  3163. __GLOBAL__sub_I_Modules_Video_Public_0_cpp();
  3164. })
  3165. }, {
  3166. func: (function() {
  3167. __GLOBAL__sub_I_VideoMediaOutput_cpp();
  3168. })
  3169. }, {
  3170. func: (function() {
  3171. __GLOBAL__sub_I_VideoYUV420Convert_cpp();
  3172. })
  3173. }, {
  3174. func: (function() {
  3175. __GLOBAL__sub_I_VRScriptingClasses_cpp();
  3176. })
  3177. }, {
  3178. func: (function() {
  3179. ___cxx_global_var_init_54();
  3180. })
  3181. }, {
  3182. func: (function() {
  3183. ___cxx_global_var_init_55_9674();
  3184. })
  3185. }, {
  3186. func: (function() {
  3187. ___cxx_global_var_init_56();
  3188. })
  3189. }, {
  3190. func: (function() {
  3191. ___cxx_global_var_init_57();
  3192. })
  3193. }, {
  3194. func: (function() {
  3195. ___cxx_global_var_init_58_9675();
  3196. })
  3197. }, {
  3198. func: (function() {
  3199. ___cxx_global_var_init_59_9676();
  3200. })
  3201. }, {
  3202. func: (function() {
  3203. ___cxx_global_var_init_60_9677();
  3204. })
  3205. }, {
  3206. func: (function() {
  3207. ___cxx_global_var_init_61_9678();
  3208. })
  3209. }, {
  3210. func: (function() {
  3211. __GLOBAL__sub_I_Modules_VR_0_cpp();
  3212. })
  3213. }, {
  3214. func: (function() {
  3215. __GLOBAL__sub_I_Modules_VR_1_cpp();
  3216. })
  3217. }, {
  3218. func: (function() {
  3219. __GLOBAL__sub_I_PluginInterfaceVR_cpp();
  3220. })
  3221. }, {
  3222. func: (function() {
  3223. __GLOBAL__sub_I_Wind_cpp();
  3224. })
  3225. }, {
  3226. func: (function() {
  3227. __GLOBAL__sub_I_XRScriptingClasses_cpp();
  3228. })
  3229. }, {
  3230. func: (function() {
  3231. __GLOBAL__sub_I_Modules_XR_0_cpp();
  3232. })
  3233. }, {
  3234. func: (function() {
  3235. ___cxx_global_var_init_2_9829();
  3236. })
  3237. }, {
  3238. func: (function() {
  3239. __GLOBAL__sub_I_XRAudio_cpp();
  3240. })
  3241. }, {
  3242. func: (function() {
  3243. ___cxx_global_var_init_3_9830();
  3244. })
  3245. }, {
  3246. func: (function() {
  3247. __GLOBAL__sub_I_XRPreInit_cpp();
  3248. })
  3249. }, {
  3250. func: (function() {
  3251. ___cxx_global_var_init_3_27();
  3252. })
  3253. }, {
  3254. func: (function() {
  3255. ___cxx_global_var_init_4_9831();
  3256. })
  3257. }, {
  3258. func: (function() {
  3259. ___cxx_global_var_init_5_9832();
  3260. })
  3261. }, {
  3262. func: (function() {
  3263. ___cxx_global_var_init_6_9833();
  3264. })
  3265. }, {
  3266. func: (function() {
  3267. ___cxx_global_var_init_7_9834();
  3268. })
  3269. }, {
  3270. func: (function() {
  3271. ___cxx_global_var_init_8_9835();
  3272. })
  3273. }, {
  3274. func: (function() {
  3275. ___cxx_global_var_init_9_9836();
  3276. })
  3277. }, {
  3278. func: (function() {
  3279. ___cxx_global_var_init_10_9837();
  3280. })
  3281. }, {
  3282. func: (function() {
  3283. __GLOBAL__sub_I_Modules_XR_Public_0_cpp();
  3284. })
  3285. }, {
  3286. func: (function() {
  3287. __GLOBAL__sub_I_Modules_XR_Stats_0_cpp();
  3288. })
  3289. }, {
  3290. func: (function() {
  3291. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp();
  3292. })
  3293. }, {
  3294. func: (function() {
  3295. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp();
  3296. })
  3297. }, {
  3298. func: (function() {
  3299. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp();
  3300. })
  3301. }, {
  3302. func: (function() {
  3303. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp();
  3304. })
  3305. }, {
  3306. func: (function() {
  3307. __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp();
  3308. })
  3309. }, {
  3310. func: (function() {
  3311. __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp();
  3312. })
  3313. }, {
  3314. func: (function() {
  3315. __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp();
  3316. })
  3317. }, {
  3318. func: (function() {
  3319. __GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp();
  3320. })
  3321. }, {
  3322. func: (function() {
  3323. __GLOBAL__sub_I_Lump_libil2cpp_os_cpp();
  3324. })
  3325. }, {
  3326. func: (function() {
  3327. __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp();
  3328. })
  3329. }, {
  3330. func: (function() {
  3331. __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp();
  3332. })
  3333. }, {
  3334. func: (function() {
  3335. __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp();
  3336. })
  3337. }, {
  3338. func: (function() {
  3339. __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp();
  3340. })
  3341. }, {
  3342. func: (function() {
  3343. __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp();
  3344. })
  3345. }, {
  3346. func: (function() {
  3347. __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp();
  3348. })
  3349. }, {
  3350. func: (function() {
  3351. __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp();
  3352. })
  3353. }, {
  3354. func: (function() {
  3355. ___emscripten_environ_constructor();
  3356. })
  3357. });
  3358. var STATIC_BUMP = 2430928;
  3359. Module["STATIC_BASE"] = STATIC_BASE;
  3360. Module["STATIC_BUMP"] = STATIC_BUMP;
  3361. var tempDoublePtr = STATICTOP;
  3362. STATICTOP += 16;
  3363. assert(tempDoublePtr % 8 == 0);
  3364. function _JS_Cursor_SetImage(ptr, length) {
  3365. var binary = "";
  3366. for (var i = 0; i < length; i++) binary += String.fromCharCode(HEAPU8[ptr + i]);
  3367. Module.canvas.style.cursor = "url(data:image/cur;base64," + btoa(binary) + "),default";
  3368. }
  3369. function _JS_Cursor_SetShow(show) {
  3370. Module.canvas.style.cursor = show ? "default" : "none";
  3371. }
  3372. function _JS_Eval_ClearInterval(id) {
  3373. window.clearInterval(id);
  3374. }
  3375. function _JS_Eval_OpenURL(ptr) {
  3376. var str = Pointer_stringify(ptr);
  3377. window.open(str, "_blank", "");
  3378. }
  3379. function _JS_Eval_SetInterval(func, arg, millis) {
  3380. Module["noExitRuntime"] = true;
  3381. function wrapper() {
  3382. getFuncWrapper(func, "vi")(arg);
  3383. }
  3384. return Browser.safeSetInterval(wrapper, millis);
  3385. }
  3386. var fs = {
  3387. numPendingSync: 0,
  3388. syncInternal: 1e3,
  3389. syncInProgress: false,
  3390. sync: (function(onlyPendingSync) {
  3391. if (onlyPendingSync) {
  3392. if (fs.numPendingSync == 0) return;
  3393. } else if (fs.syncInProgress) {
  3394. fs.numPendingSync++;
  3395. return;
  3396. }
  3397. fs.syncInProgress = true;
  3398. FS.syncfs(false, (function(err) {
  3399. fs.syncInProgress = false;
  3400. }));
  3401. fs.numPendingSync = 0;
  3402. })
  3403. };
  3404. function _JS_FileSystem_Initialize() {
  3405. Module.setInterval((function() {
  3406. fs.sync(true);
  3407. }), fs.syncInternal);
  3408. }
  3409. function _JS_FileSystem_Sync() {
  3410. fs.sync(false);
  3411. }
  3412. function _JS_Log_Dump(ptr, type) {
  3413. var str = Pointer_stringify(ptr);
  3414. if (typeof dump == "function") dump(str);
  3415. switch (type) {
  3416. case 0:
  3417. case 1:
  3418. case 4:
  3419. console.error(str);
  3420. return;
  3421. case 2:
  3422. console.warn(str);
  3423. return;
  3424. case 3:
  3425. case 5:
  3426. console.log(str);
  3427. return;
  3428. default:
  3429. console.error("Unknown console message type!");
  3430. console.error(str);
  3431. }
  3432. }
  3433. function _JS_Log_StackTrace(buffer, bufferSize) {
  3434. var trace = stackTrace();
  3435. if (buffer) stringToUTF8(trace, buffer, bufferSize);
  3436. return lengthBytesUTF8(trace);
  3437. }
  3438. function _JS_Profiler_InjectJobs() {
  3439. for (var jobname in Module["Jobs"]) {
  3440. var job = Module["Jobs"][jobname];
  3441. if (typeof job["endtime"] != "undefined") Module.ccall("InjectProfilerSample", null, [ "string", "number", "number" ], [ jobname, job.starttime, job.endtime ]);
  3442. }
  3443. }
  3444. var WEBAudio = {
  3445. audioInstances: [],
  3446. audioContext: {},
  3447. audioWebEnabled: 0
  3448. };
  3449. function _JS_Sound_Create_Channel(callback, userData) {
  3450. if (WEBAudio.audioWebEnabled == 0) return;
  3451. var channel = {
  3452. gain: WEBAudio.audioContext.createGain(),
  3453. panner: WEBAudio.audioContext.createPanner(),
  3454. threeD: false,
  3455. playBuffer: (function(delay, buffer, offset) {
  3456. this.source.buffer = buffer;
  3457. var chan = this;
  3458. this.source.onended = (function() {
  3459. if (callback) dynCall("vi", callback, [ userData ]);
  3460. chan.setup();
  3461. });
  3462. this.source.start(delay, offset);
  3463. }),
  3464. setup: (function() {
  3465. this.source = WEBAudio.audioContext.createBufferSource();
  3466. this.setupPanning();
  3467. }),
  3468. setupPanning: (function() {
  3469. if (this.threeD) {
  3470. this.source.disconnect();
  3471. this.source.connect(this.panner);
  3472. this.panner.connect(this.gain);
  3473. } else {
  3474. this.panner.disconnect();
  3475. this.source.connect(this.gain);
  3476. }
  3477. })
  3478. };
  3479. channel.panner.rolloffFactor = 0;
  3480. channel.gain.connect(WEBAudio.audioContext.destination);
  3481. channel.setup();
  3482. return WEBAudio.audioInstances.push(channel) - 1;
  3483. }
  3484. function _JS_Sound_GetLength(bufferInstance) {
  3485. if (WEBAudio.audioWebEnabled == 0) return 0;
  3486. var sound = WEBAudio.audioInstances[bufferInstance];
  3487. var sampleRateRatio = 44100 / sound.buffer.sampleRate;
  3488. return sound.buffer.length * sampleRateRatio;
  3489. }
  3490. function _JS_Sound_GetLoadState(bufferInstance) {
  3491. if (WEBAudio.audioWebEnabled == 0) return 2;
  3492. var sound = WEBAudio.audioInstances[bufferInstance];
  3493. if (sound.error) return 2;
  3494. if (sound.buffer) return 0;
  3495. return 1;
  3496. }
  3497. function _JS_Sound_Init() {
  3498. try {
  3499. window.AudioContext = window.AudioContext || window.webkitAudioContext;
  3500. WEBAudio.audioContext = new AudioContext;
  3501. var tryToResumeAudioContext = (function() {
  3502. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume(); else Module.clearInterval(resumeInterval);
  3503. });
  3504. var resumeInterval = Module.setInterval(tryToResumeAudioContext, 400);
  3505. WEBAudio.audioWebEnabled = 1;
  3506. } catch (e) {
  3507. alert("Web Audio API is not supported in this browser");
  3508. }
  3509. }
  3510. function _JS_Sound_Load(ptr, length) {
  3511. if (WEBAudio.audioWebEnabled == 0) return 0;
  3512. var sound = {
  3513. buffer: null,
  3514. error: false
  3515. };
  3516. var instance = WEBAudio.audioInstances.push(sound) - 1;
  3517. var audioData = HEAPU8.buffer.slice(ptr, ptr + length);
  3518. WEBAudio.audioContext.decodeAudioData(audioData, (function(buffer) {
  3519. sound.buffer = buffer;
  3520. }), (function() {
  3521. sound.error = true;
  3522. console.log("Decode error.");
  3523. }));
  3524. return instance;
  3525. }
  3526. function _JS_Sound_Load_PCM(channels, length, sampleRate, ptr) {
  3527. if (WEBAudio.audioWebEnabled == 0) return 0;
  3528. var sound = {
  3529. buffer: WEBAudio.audioContext.createBuffer(channels, length, sampleRate),
  3530. error: false
  3531. };
  3532. for (var i = 0; i < channels; i++) {
  3533. var offs = (ptr >> 2) + length * i;
  3534. var buffer = sound.buffer;
  3535. var copyToChannel = buffer["copyToChannel"] || (function(source, channelNumber, startInChannel) {
  3536. var clipped = source.subarray(0, Math.min(source.length, this.length - (startInChannel | 0)));
  3537. this.getChannelData(channelNumber | 0).set(clipped, startInChannel | 0);
  3538. });
  3539. copyToChannel.apply(buffer, [ HEAPF32.subarray(offs, offs + length), i, 0 ]);
  3540. }
  3541. var instance = WEBAudio.audioInstances.push(sound) - 1;
  3542. return instance;
  3543. }
  3544. function _JS_Sound_Play(bufferInstance, channelInstance, offset, delay) {
  3545. _JS_Sound_Stop(channelInstance, 0);
  3546. if (WEBAudio.audioWebEnabled == 0) return;
  3547. var sound = WEBAudio.audioInstances[bufferInstance];
  3548. var channel = WEBAudio.audioInstances[channelInstance];
  3549. if (sound.buffer) {
  3550. try {
  3551. channel.playBuffer(WEBAudio.audioContext.currentTime + delay, sound.buffer, offset);
  3552. } catch (e) {
  3553. console.error("playBuffer error. Exception: " + e);
  3554. }
  3555. } else console.log("Trying to play sound which is not loaded.");
  3556. }
  3557. function _JS_Sound_ReleaseInstance(instance) {
  3558. WEBAudio.audioInstances[instance] = null;
  3559. }
  3560. function _JS_Sound_ResumeIfNeeded() {
  3561. if (WEBAudio.audioWebEnabled == 0) return;
  3562. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume();
  3563. }
  3564. function _JS_Sound_Set3D(channelInstance, threeD) {
  3565. var channel = WEBAudio.audioInstances[channelInstance];
  3566. if (channel.threeD != threeD) {
  3567. channel.threeD = threeD;
  3568. channel.setupPanning();
  3569. }
  3570. }
  3571. function _JS_Sound_SetListenerOrientation(x, y, z, xUp, yUp, zUp) {
  3572. if (WEBAudio.audioWebEnabled == 0) return;
  3573. if (WEBAudio.audioContext.listener.forwardX) {
  3574. WEBAudio.audioContext.listener.forwardX.setValueAtTime(-x, WEBAudio.audioContext.currentTime);
  3575. WEBAudio.audioContext.listener.forwardY.setValueAtTime(-y, WEBAudio.audioContext.currentTime);
  3576. WEBAudio.audioContext.listener.forwardZ.setValueAtTime(-z, WEBAudio.audioContext.currentTime);
  3577. WEBAudio.audioContext.listener.upX.setValueAtTime(xUp, WEBAudio.audioContext.currentTime);
  3578. WEBAudio.audioContext.listener.upY.setValueAtTime(yUp, WEBAudio.audioContext.currentTime);
  3579. WEBAudio.audioContext.listener.upZ.setValueAtTime(zUp, WEBAudio.audioContext.currentTime);
  3580. } else {
  3581. WEBAudio.audioContext.listener.setOrientation(-x, -y, -z, xUp, yUp, zUp);
  3582. }
  3583. }
  3584. function _JS_Sound_SetListenerPosition(x, y, z) {
  3585. if (WEBAudio.audioWebEnabled == 0) return;
  3586. if (WEBAudio.audioContext.listener.positionX) {
  3587. WEBAudio.audioContext.listener.positionX.setValueAtTime(x, WEBAudio.audioContext.currentTime);
  3588. WEBAudio.audioContext.listener.positionY.setValueAtTime(y, WEBAudio.audioContext.currentTime);
  3589. WEBAudio.audioContext.listener.positionZ.setValueAtTime(z, WEBAudio.audioContext.currentTime);
  3590. } else {
  3591. WEBAudio.audioContext.listener.setPosition(x, y, z);
  3592. }
  3593. }
  3594. function _JS_Sound_SetLoop(channelInstance, loop) {
  3595. if (WEBAudio.audioWebEnabled == 0) return;
  3596. WEBAudio.audioInstances[channelInstance].source.loop = loop;
  3597. }
  3598. function _JS_Sound_SetLoopPoints(channelInstance, loopStart, loopEnd) {
  3599. if (WEBAudio.audioWebEnabled == 0) return;
  3600. var channel = WEBAudio.audioInstances[channelInstance];
  3601. channel.source.loopStart = loopStart;
  3602. channel.source.loopEnd = loopEnd;
  3603. }
  3604. function _JS_Sound_SetPitch(channelInstance, v) {
  3605. if (WEBAudio.audioWebEnabled == 0) return;
  3606. try {
  3607. WEBAudio.audioInstances[channelInstance].source.playbackRate.setValueAtTime(v, WEBAudio.audioContext.currentTime);
  3608. } catch (e) {
  3609. console.error("Invalid audio pitch " + v + " specified to WebAudio backend!");
  3610. }
  3611. }
  3612. function _JS_Sound_SetPosition(channelInstance, x, y, z) {
  3613. if (WEBAudio.audioWebEnabled == 0) return;
  3614. WEBAudio.audioInstances[channelInstance].panner.setPosition(x, y, z);
  3615. }
  3616. function _JS_Sound_SetVolume(channelInstance, v) {
  3617. if (WEBAudio.audioWebEnabled == 0) return;
  3618. try {
  3619. WEBAudio.audioInstances[channelInstance].gain.gain.setValueAtTime(v, WEBAudio.audioContext.currentTime);
  3620. } catch (e) {
  3621. console.error("Invalid audio volume " + v + " specified to WebAudio backend!");
  3622. }
  3623. }
  3624. function _JS_Sound_Stop(channelInstance, delay) {
  3625. if (WEBAudio.audioWebEnabled == 0) return;
  3626. var channel = WEBAudio.audioInstances[channelInstance];
  3627. if (channel.source.buffer) {
  3628. try {
  3629. channel.source.stop(WEBAudio.audioContext.currentTime + delay);
  3630. } catch (e) {
  3631. channel.source.disconnect();
  3632. }
  3633. if (delay == 0) {
  3634. channel.source.onended = (function() {});
  3635. channel.setup();
  3636. }
  3637. }
  3638. }
  3639. function _JS_SystemInfo_GetBrowserName(buffer, bufferSize) {
  3640. var browser = Module.SystemInfo.browser;
  3641. if (buffer) stringToUTF8(browser, buffer, bufferSize);
  3642. return lengthBytesUTF8(browser);
  3643. }
  3644. function _JS_SystemInfo_GetBrowserVersionString(buffer, bufferSize) {
  3645. var browserVer = Module.SystemInfo.browserVersion;
  3646. if (buffer) stringToUTF8(browserVer, buffer, bufferSize);
  3647. return lengthBytesUTF8(browserVer);
  3648. }
  3649. function _JS_SystemInfo_GetCanvasClientSize(domElementSelector, outWidth, outHeight) {
  3650. var selector = UTF8ToString(domElementSelector);
  3651. var canvas = selector == "#canvas" ? Module["canvas"] : document.querySelector(selector);
  3652. HEAPF64[outWidth >> 3] = canvas ? canvas.clientWidth : 0;
  3653. HEAPF64[outHeight >> 3] = canvas ? canvas.clientHeight : 0;
  3654. }
  3655. function _JS_SystemInfo_GetDocumentURL(buffer, bufferSize) {
  3656. if (buffer) stringToUTF8(document.URL, buffer, bufferSize);
  3657. return lengthBytesUTF8(document.URL);
  3658. }
  3659. function _JS_SystemInfo_GetGPUInfo(buffer, bufferSize) {
  3660. var gpuinfo = Module.SystemInfo.gpu;
  3661. if (buffer) stringToUTF8(gpuinfo, buffer, bufferSize);
  3662. return lengthBytesUTF8(gpuinfo);
  3663. }
  3664. function _JS_SystemInfo_GetLanguage(buffer, bufferSize) {
  3665. var language = Module.SystemInfo.language;
  3666. if (buffer) stringToUTF8(language, buffer, bufferSize);
  3667. return lengthBytesUTF8(language);
  3668. }
  3669. function _JS_SystemInfo_GetMatchWebGLToCanvasSize() {
  3670. return Module.matchWebGLToCanvasSize || Module.matchWebGLToCanvasSize === undefined;
  3671. }
  3672. function _JS_SystemInfo_GetMemory() {
  3673. return TOTAL_MEMORY / (1024 * 1024);
  3674. }
  3675. function _JS_SystemInfo_GetOS(buffer, bufferSize) {
  3676. var browser = Module.SystemInfo.os + " " + Module.SystemInfo.osVersion;
  3677. if (buffer) stringToUTF8(browser, buffer, bufferSize);
  3678. return lengthBytesUTF8(browser);
  3679. }
  3680. function _JS_SystemInfo_GetPreferredDevicePixelRatio() {
  3681. return Module.devicePixelRatio || window.devicePixelRatio || 1;
  3682. }
  3683. function _JS_SystemInfo_GetScreenSize(outWidth, outHeight) {
  3684. HEAPF64[outWidth >> 3] = Module.SystemInfo.width;
  3685. HEAPF64[outHeight >> 3] = Module.SystemInfo.height;
  3686. }
  3687. function _JS_SystemInfo_HasCursorLock() {
  3688. return Module.SystemInfo.hasCursorLock;
  3689. }
  3690. function _JS_SystemInfo_HasFullscreen() {
  3691. return Module.SystemInfo.hasFullscreen;
  3692. }
  3693. function _JS_SystemInfo_HasWebGL() {
  3694. return Module.SystemInfo.hasWebGL;
  3695. }
  3696. var wr = {
  3697. requestInstances: {},
  3698. nextRequestId: 1
  3699. };
  3700. function _JS_WebRequest_Abort(request) {
  3701. wr.requestInstances[request].abort();
  3702. }
  3703. function _JS_WebRequest_Create(url, method) {
  3704. var _url = Pointer_stringify(url);
  3705. var _method = Pointer_stringify(method);
  3706. var http = Module.companyName && Module.productName && Module.XMLHttpRequest ? new Module.XMLHttpRequest({
  3707. companyName: Module.companyName,
  3708. productName: Module.productName,
  3709. cacheControl: Module.cacheControl(_url)
  3710. }) : new XMLHttpRequest;
  3711. http.open(_method, _url, true);
  3712. http.responseType = "arraybuffer";
  3713. wr.requestInstances[wr.nextRequestId] = http;
  3714. return wr.nextRequestId++;
  3715. }
  3716. function _JS_WebRequest_GetResponseHeaders(request, buffer, bufferSize) {
  3717. var headers = wr.requestInstances[request].getAllResponseHeaders();
  3718. if (buffer) stringToUTF8(headers, buffer, bufferSize);
  3719. return lengthBytesUTF8(headers);
  3720. }
  3721. function _JS_WebRequest_Release(request) {
  3722. var http = wr.requestInstances[request];
  3723. http.onload = null;
  3724. http.onerror = null;
  3725. http.ontimeout = null;
  3726. http.onabort = null;
  3727. delete http;
  3728. wr.requestInstances[request] = null;
  3729. }
  3730. function _JS_WebRequest_Send(request, ptr, length) {
  3731. var http = wr.requestInstances[request];
  3732. try {
  3733. if (length > 0) {
  3734. var postData = HEAPU8.subarray(ptr, ptr + length);
  3735. http.send(postData);
  3736. } else http.send();
  3737. } catch (e) {
  3738. console.error(e.name + ": " + e.message);
  3739. }
  3740. }
  3741. function _JS_WebRequest_SetProgressHandler(request, arg, onprogress) {
  3742. var http = wr.requestInstances[request];
  3743. http.onprogress = function http_onprogress(e) {
  3744. if (onprogress) {
  3745. if (e.lengthComputable) dynCall("viii", onprogress, [ arg, e.loaded, e.total ]);
  3746. }
  3747. };
  3748. }
  3749. function _JS_WebRequest_SetRequestHeader(request, header, value) {
  3750. var _header = Pointer_stringify(header);
  3751. var _value = Pointer_stringify(value);
  3752. wr.requestInstances[request].setRequestHeader(_header, _value);
  3753. }
  3754. function _JS_WebRequest_SetResponseHandler(request, arg, onresponse) {
  3755. var http = wr.requestInstances[request];
  3756. http.onload = function http_onload(e) {
  3757. if (onresponse) {
  3758. var kWebRequestOK = 0;
  3759. var byteArray = new Uint8Array(http.response);
  3760. if (byteArray.length != 0) {
  3761. var buffer = _malloc(byteArray.length);
  3762. HEAPU8.set(byteArray, buffer);
  3763. dynCall("viiiiii", onresponse, [ arg, http.status, buffer, byteArray.length, 0, kWebRequestOK ]);
  3764. } else {
  3765. dynCall("viiiiii", onresponse, [ arg, http.status, 0, 0, 0, kWebRequestOK ]);
  3766. }
  3767. }
  3768. };
  3769. function HandleError(err, code) {
  3770. if (onresponse) {
  3771. var len = lengthBytesUTF8(err) + 1;
  3772. var buffer = _malloc(len);
  3773. stringToUTF8(err, buffer, len);
  3774. dynCall("viiiiii", onresponse, [ arg, http.status, 0, 0, buffer, code ]);
  3775. _free(buffer);
  3776. }
  3777. }
  3778. http.onerror = function http_onerror(e) {
  3779. var kWebErrorUnknown = 2;
  3780. HandleError("Unknown error.", kWebErrorUnknown);
  3781. };
  3782. http.ontimeout = function http_onerror(e) {
  3783. var kWebErrorTimeout = 14;
  3784. HandleError("Connection timed out.", kWebErrorTimeout);
  3785. };
  3786. http.onabort = function http_onerror(e) {
  3787. var kWebErrorAborted = 17;
  3788. HandleError("Aborted.", kWebErrorAborted);
  3789. };
  3790. }
  3791. function _JS_WebRequest_SetTimeout(request, timeout) {
  3792. wr.requestInstances[request].timeout = timeout;
  3793. }
  3794. function ___atomic_compare_exchange_8(ptr, expected, desiredl, desiredh, weak, success_memmodel, failure_memmodel) {
  3795. var pl = HEAP32[ptr >> 2];
  3796. var ph = HEAP32[ptr + 4 >> 2];
  3797. var el = HEAP32[expected >> 2];
  3798. var eh = HEAP32[expected + 4 >> 2];
  3799. if (pl === el && ph === eh) {
  3800. HEAP32[ptr >> 2] = desiredl;
  3801. HEAP32[ptr + 4 >> 2] = desiredh;
  3802. return 1;
  3803. } else {
  3804. HEAP32[expected >> 2] = pl;
  3805. HEAP32[expected + 4 >> 2] = ph;
  3806. return 0;
  3807. }
  3808. }
  3809. function ___atomic_fetch_add_8(ptr, vall, valh, memmodel) {
  3810. var l = HEAP32[ptr >> 2];
  3811. var h = HEAP32[ptr + 4 >> 2];
  3812. HEAP32[ptr >> 2] = _i64Add(l, h, vall, valh);
  3813. HEAP32[ptr + 4 >> 2] = getTempRet0();
  3814. return (setTempRet0(h), l) | 0;
  3815. }
  3816. var ENV = {};
  3817. function ___buildEnvironment(environ) {
  3818. var MAX_ENV_VALUES = 64;
  3819. var TOTAL_ENV_SIZE = 1024;
  3820. var poolPtr;
  3821. var envPtr;
  3822. if (!___buildEnvironment.called) {
  3823. ___buildEnvironment.called = true;
  3824. ENV["USER"] = ENV["LOGNAME"] = "web_user";
  3825. ENV["PATH"] = "/";
  3826. ENV["PWD"] = "/";
  3827. ENV["HOME"] = "/home/web_user";
  3828. ENV["LANG"] = "C.UTF-8";
  3829. ENV["_"] = Module["thisProgram"];
  3830. poolPtr = getMemory(TOTAL_ENV_SIZE);
  3831. envPtr = getMemory(MAX_ENV_VALUES * 4);
  3832. HEAP32[envPtr >> 2] = poolPtr;
  3833. HEAP32[environ >> 2] = envPtr;
  3834. } else {
  3835. envPtr = HEAP32[environ >> 2];
  3836. poolPtr = HEAP32[envPtr >> 2];
  3837. }
  3838. var strings = [];
  3839. var totalSize = 0;
  3840. for (var key in ENV) {
  3841. if (typeof ENV[key] === "string") {
  3842. var line = key + "=" + ENV[key];
  3843. strings.push(line);
  3844. totalSize += line.length;
  3845. }
  3846. }
  3847. if (totalSize > TOTAL_ENV_SIZE) {
  3848. throw new Error("Environment size exceeded TOTAL_ENV_SIZE!");
  3849. }
  3850. var ptrSize = 4;
  3851. for (var i = 0; i < strings.length; i++) {
  3852. var line = strings[i];
  3853. writeAsciiToMemory(line, poolPtr);
  3854. HEAP32[envPtr + i * ptrSize >> 2] = poolPtr;
  3855. poolPtr += line.length + 1;
  3856. }
  3857. HEAP32[envPtr + strings.length * ptrSize >> 2] = 0;
  3858. }
  3859. function ___cxa_allocate_exception(size) {
  3860. return _malloc(size);
  3861. }
  3862. function __ZSt18uncaught_exceptionv() {
  3863. return !!__ZSt18uncaught_exceptionv.uncaught_exception;
  3864. }
  3865. var EXCEPTIONS = {
  3866. last: 0,
  3867. caught: [],
  3868. infos: {},
  3869. deAdjust: (function(adjusted) {
  3870. if (!adjusted || EXCEPTIONS.infos[adjusted]) return adjusted;
  3871. for (var key in EXCEPTIONS.infos) {
  3872. var ptr = +key;
  3873. var info = EXCEPTIONS.infos[ptr];
  3874. if (info.adjusted === adjusted) {
  3875. return ptr;
  3876. }
  3877. }
  3878. return adjusted;
  3879. }),
  3880. addRef: (function(ptr) {
  3881. if (!ptr) return;
  3882. var info = EXCEPTIONS.infos[ptr];
  3883. info.refcount++;
  3884. }),
  3885. decRef: (function(ptr) {
  3886. if (!ptr) return;
  3887. var info = EXCEPTIONS.infos[ptr];
  3888. assert(info.refcount > 0);
  3889. info.refcount--;
  3890. if (info.refcount === 0 && !info.rethrown) {
  3891. if (info.destructor) {
  3892. Module["dynCall_vi"](info.destructor, ptr);
  3893. }
  3894. delete EXCEPTIONS.infos[ptr];
  3895. ___cxa_free_exception(ptr);
  3896. }
  3897. }),
  3898. clearRef: (function(ptr) {
  3899. if (!ptr) return;
  3900. var info = EXCEPTIONS.infos[ptr];
  3901. info.refcount = 0;
  3902. })
  3903. };
  3904. function ___cxa_begin_catch(ptr) {
  3905. var info = EXCEPTIONS.infos[ptr];
  3906. if (info && !info.caught) {
  3907. info.caught = true;
  3908. __ZSt18uncaught_exceptionv.uncaught_exception--;
  3909. }
  3910. if (info) info.rethrown = false;
  3911. EXCEPTIONS.caught.push(ptr);
  3912. EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));
  3913. return ptr;
  3914. }
  3915. function ___cxa_free_exception(ptr) {
  3916. try {
  3917. return _free(ptr);
  3918. } catch (e) {
  3919. err("exception during cxa_free_exception: " + e);
  3920. }
  3921. }
  3922. function ___cxa_end_catch() {
  3923. Module["setThrew"](0);
  3924. var ptr = EXCEPTIONS.caught.pop();
  3925. if (ptr) {
  3926. EXCEPTIONS.decRef(EXCEPTIONS.deAdjust(ptr));
  3927. EXCEPTIONS.last = 0;
  3928. }
  3929. }
  3930. function ___cxa_find_matching_catch_2() {
  3931. return ___cxa_find_matching_catch.apply(null, arguments);
  3932. }
  3933. function ___cxa_find_matching_catch_3() {
  3934. return ___cxa_find_matching_catch.apply(null, arguments);
  3935. }
  3936. function ___cxa_find_matching_catch_4() {
  3937. return ___cxa_find_matching_catch.apply(null, arguments);
  3938. }
  3939. function ___cxa_pure_virtual() {
  3940. ABORT = true;
  3941. throw "Pure virtual function called!";
  3942. }
  3943. function ___cxa_rethrow() {
  3944. var ptr = EXCEPTIONS.caught.pop();
  3945. ptr = EXCEPTIONS.deAdjust(ptr);
  3946. if (!EXCEPTIONS.infos[ptr].rethrown) {
  3947. EXCEPTIONS.caught.push(ptr);
  3948. EXCEPTIONS.infos[ptr].rethrown = true;
  3949. }
  3950. EXCEPTIONS.last = ptr;
  3951. throw ptr;
  3952. }
  3953. function ___resumeException(ptr) {
  3954. if (!EXCEPTIONS.last) {
  3955. EXCEPTIONS.last = ptr;
  3956. }
  3957. throw ptr;
  3958. }
  3959. function ___cxa_find_matching_catch() {
  3960. var thrown = EXCEPTIONS.last;
  3961. if (!thrown) {
  3962. return (setTempRet0(0), 0) | 0;
  3963. }
  3964. var info = EXCEPTIONS.infos[thrown];
  3965. var throwntype = info.type;
  3966. if (!throwntype) {
  3967. return (setTempRet0(0), thrown) | 0;
  3968. }
  3969. var typeArray = Array.prototype.slice.call(arguments);
  3970. var pointer = Module["___cxa_is_pointer_type"](throwntype);
  3971. if (!___cxa_find_matching_catch.buffer) ___cxa_find_matching_catch.buffer = _malloc(4);
  3972. HEAP32[___cxa_find_matching_catch.buffer >> 2] = thrown;
  3973. thrown = ___cxa_find_matching_catch.buffer;
  3974. for (var i = 0; i < typeArray.length; i++) {
  3975. if (typeArray[i] && Module["___cxa_can_catch"](typeArray[i], throwntype, thrown)) {
  3976. thrown = HEAP32[thrown >> 2];
  3977. info.adjusted = thrown;
  3978. return (setTempRet0(typeArray[i]), thrown) | 0;
  3979. }
  3980. }
  3981. thrown = HEAP32[thrown >> 2];
  3982. return (setTempRet0(throwntype), thrown) | 0;
  3983. }
  3984. function ___cxa_throw(ptr, type, destructor) {
  3985. EXCEPTIONS.infos[ptr] = {
  3986. ptr: ptr,
  3987. adjusted: ptr,
  3988. type: type,
  3989. destructor: destructor,
  3990. refcount: 0,
  3991. caught: false,
  3992. rethrown: false
  3993. };
  3994. EXCEPTIONS.last = ptr;
  3995. if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) {
  3996. __ZSt18uncaught_exceptionv.uncaught_exception = 1;
  3997. } else {
  3998. __ZSt18uncaught_exceptionv.uncaught_exception++;
  3999. }
  4000. throw ptr;
  4001. }
  4002. function ___gxx_personality_v0() {}
  4003. function ___lock() {}
  4004. var ERRNO_CODES = {
  4005. EPERM: 1,
  4006. ENOENT: 2,
  4007. ESRCH: 3,
  4008. EINTR: 4,
  4009. EIO: 5,
  4010. ENXIO: 6,
  4011. E2BIG: 7,
  4012. ENOEXEC: 8,
  4013. EBADF: 9,
  4014. ECHILD: 10,
  4015. EAGAIN: 11,
  4016. EWOULDBLOCK: 11,
  4017. ENOMEM: 12,
  4018. EACCES: 13,
  4019. EFAULT: 14,
  4020. ENOTBLK: 15,
  4021. EBUSY: 16,
  4022. EEXIST: 17,
  4023. EXDEV: 18,
  4024. ENODEV: 19,
  4025. ENOTDIR: 20,
  4026. EISDIR: 21,
  4027. EINVAL: 22,
  4028. ENFILE: 23,
  4029. EMFILE: 24,
  4030. ENOTTY: 25,
  4031. ETXTBSY: 26,
  4032. EFBIG: 27,
  4033. ENOSPC: 28,
  4034. ESPIPE: 29,
  4035. EROFS: 30,
  4036. EMLINK: 31,
  4037. EPIPE: 32,
  4038. EDOM: 33,
  4039. ERANGE: 34,
  4040. ENOMSG: 42,
  4041. EIDRM: 43,
  4042. ECHRNG: 44,
  4043. EL2NSYNC: 45,
  4044. EL3HLT: 46,
  4045. EL3RST: 47,
  4046. ELNRNG: 48,
  4047. EUNATCH: 49,
  4048. ENOCSI: 50,
  4049. EL2HLT: 51,
  4050. EDEADLK: 35,
  4051. ENOLCK: 37,
  4052. EBADE: 52,
  4053. EBADR: 53,
  4054. EXFULL: 54,
  4055. ENOANO: 55,
  4056. EBADRQC: 56,
  4057. EBADSLT: 57,
  4058. EDEADLOCK: 35,
  4059. EBFONT: 59,
  4060. ENOSTR: 60,
  4061. ENODATA: 61,
  4062. ETIME: 62,
  4063. ENOSR: 63,
  4064. ENONET: 64,
  4065. ENOPKG: 65,
  4066. EREMOTE: 66,
  4067. ENOLINK: 67,
  4068. EADV: 68,
  4069. ESRMNT: 69,
  4070. ECOMM: 70,
  4071. EPROTO: 71,
  4072. EMULTIHOP: 72,
  4073. EDOTDOT: 73,
  4074. EBADMSG: 74,
  4075. ENOTUNIQ: 76,
  4076. EBADFD: 77,
  4077. EREMCHG: 78,
  4078. ELIBACC: 79,
  4079. ELIBBAD: 80,
  4080. ELIBSCN: 81,
  4081. ELIBMAX: 82,
  4082. ELIBEXEC: 83,
  4083. ENOSYS: 38,
  4084. ENOTEMPTY: 39,
  4085. ENAMETOOLONG: 36,
  4086. ELOOP: 40,
  4087. EOPNOTSUPP: 95,
  4088. EPFNOSUPPORT: 96,
  4089. ECONNRESET: 104,
  4090. ENOBUFS: 105,
  4091. EAFNOSUPPORT: 97,
  4092. EPROTOTYPE: 91,
  4093. ENOTSOCK: 88,
  4094. ENOPROTOOPT: 92,
  4095. ESHUTDOWN: 108,
  4096. ECONNREFUSED: 111,
  4097. EADDRINUSE: 98,
  4098. ECONNABORTED: 103,
  4099. ENETUNREACH: 101,
  4100. ENETDOWN: 100,
  4101. ETIMEDOUT: 110,
  4102. EHOSTDOWN: 112,
  4103. EHOSTUNREACH: 113,
  4104. EINPROGRESS: 115,
  4105. EALREADY: 114,
  4106. EDESTADDRREQ: 89,
  4107. EMSGSIZE: 90,
  4108. EPROTONOSUPPORT: 93,
  4109. ESOCKTNOSUPPORT: 94,
  4110. EADDRNOTAVAIL: 99,
  4111. ENETRESET: 102,
  4112. EISCONN: 106,
  4113. ENOTCONN: 107,
  4114. ETOOMANYREFS: 109,
  4115. EUSERS: 87,
  4116. EDQUOT: 122,
  4117. ESTALE: 116,
  4118. ENOTSUP: 95,
  4119. ENOMEDIUM: 123,
  4120. EILSEQ: 84,
  4121. EOVERFLOW: 75,
  4122. ECANCELED: 125,
  4123. ENOTRECOVERABLE: 131,
  4124. EOWNERDEAD: 130,
  4125. ESTRPIPE: 86
  4126. };
  4127. function ___setErrNo(value) {
  4128. if (Module["___errno_location"]) HEAP32[Module["___errno_location"]() >> 2] = value; else err("failed to set errno from JS");
  4129. return value;
  4130. }
  4131. function ___map_file(pathname, size) {
  4132. ___setErrNo(ERRNO_CODES.EPERM);
  4133. return -1;
  4134. }
  4135. var ERRNO_MESSAGES = {
  4136. 0: "Success",
  4137. 1: "Not super-user",
  4138. 2: "No such file or directory",
  4139. 3: "No such process",
  4140. 4: "Interrupted system call",
  4141. 5: "I/O error",
  4142. 6: "No such device or address",
  4143. 7: "Arg list too long",
  4144. 8: "Exec format error",
  4145. 9: "Bad file number",
  4146. 10: "No children",
  4147. 11: "No more processes",
  4148. 12: "Not enough core",
  4149. 13: "Permission denied",
  4150. 14: "Bad address",
  4151. 15: "Block device required",
  4152. 16: "Mount device busy",
  4153. 17: "File exists",
  4154. 18: "Cross-device link",
  4155. 19: "No such device",
  4156. 20: "Not a directory",
  4157. 21: "Is a directory",
  4158. 22: "Invalid argument",
  4159. 23: "Too many open files in system",
  4160. 24: "Too many open files",
  4161. 25: "Not a typewriter",
  4162. 26: "Text file busy",
  4163. 27: "File too large",
  4164. 28: "No space left on device",
  4165. 29: "Illegal seek",
  4166. 30: "Read only file system",
  4167. 31: "Too many links",
  4168. 32: "Broken pipe",
  4169. 33: "Math arg out of domain of func",
  4170. 34: "Math result not representable",
  4171. 35: "File locking deadlock error",
  4172. 36: "File or path name too long",
  4173. 37: "No record locks available",
  4174. 38: "Function not implemented",
  4175. 39: "Directory not empty",
  4176. 40: "Too many symbolic links",
  4177. 42: "No message of desired type",
  4178. 43: "Identifier removed",
  4179. 44: "Channel number out of range",
  4180. 45: "Level 2 not synchronized",
  4181. 46: "Level 3 halted",
  4182. 47: "Level 3 reset",
  4183. 48: "Link number out of range",
  4184. 49: "Protocol driver not attached",
  4185. 50: "No CSI structure available",
  4186. 51: "Level 2 halted",
  4187. 52: "Invalid exchange",
  4188. 53: "Invalid request descriptor",
  4189. 54: "Exchange full",
  4190. 55: "No anode",
  4191. 56: "Invalid request code",
  4192. 57: "Invalid slot",
  4193. 59: "Bad font file fmt",
  4194. 60: "Device not a stream",
  4195. 61: "No data (for no delay io)",
  4196. 62: "Timer expired",
  4197. 63: "Out of streams resources",
  4198. 64: "Machine is not on the network",
  4199. 65: "Package not installed",
  4200. 66: "The object is remote",
  4201. 67: "The link has been severed",
  4202. 68: "Advertise error",
  4203. 69: "Srmount error",
  4204. 70: "Communication error on send",
  4205. 71: "Protocol error",
  4206. 72: "Multihop attempted",
  4207. 73: "Cross mount point (not really error)",
  4208. 74: "Trying to read unreadable message",
  4209. 75: "Value too large for defined data type",
  4210. 76: "Given log. name not unique",
  4211. 77: "f.d. invalid for this operation",
  4212. 78: "Remote address changed",
  4213. 79: "Can access a needed shared lib",
  4214. 80: "Accessing a corrupted shared lib",
  4215. 81: ".lib section in a.out corrupted",
  4216. 82: "Attempting to link in too many libs",
  4217. 83: "Attempting to exec a shared library",
  4218. 84: "Illegal byte sequence",
  4219. 86: "Streams pipe error",
  4220. 87: "Too many users",
  4221. 88: "Socket operation on non-socket",
  4222. 89: "Destination address required",
  4223. 90: "Message too long",
  4224. 91: "Protocol wrong type for socket",
  4225. 92: "Protocol not available",
  4226. 93: "Unknown protocol",
  4227. 94: "Socket type not supported",
  4228. 95: "Not supported",
  4229. 96: "Protocol family not supported",
  4230. 97: "Address family not supported by protocol family",
  4231. 98: "Address already in use",
  4232. 99: "Address not available",
  4233. 100: "Network interface is not configured",
  4234. 101: "Network is unreachable",
  4235. 102: "Connection reset by network",
  4236. 103: "Connection aborted",
  4237. 104: "Connection reset by peer",
  4238. 105: "No buffer space available",
  4239. 106: "Socket is already connected",
  4240. 107: "Socket is not connected",
  4241. 108: "Can't send after socket shutdown",
  4242. 109: "Too many references",
  4243. 110: "Connection timed out",
  4244. 111: "Connection refused",
  4245. 112: "Host is down",
  4246. 113: "Host is unreachable",
  4247. 114: "Socket already connected",
  4248. 115: "Connection already in progress",
  4249. 116: "Stale file handle",
  4250. 122: "Quota exceeded",
  4251. 123: "No medium (in tape drive)",
  4252. 125: "Operation canceled",
  4253. 130: "Previous owner died",
  4254. 131: "State not recoverable"
  4255. };
  4256. var PATH = {
  4257. splitPath: (function(filename) {
  4258. var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
  4259. return splitPathRe.exec(filename).slice(1);
  4260. }),
  4261. normalizeArray: (function(parts, allowAboveRoot) {
  4262. var up = 0;
  4263. for (var i = parts.length - 1; i >= 0; i--) {
  4264. var last = parts[i];
  4265. if (last === ".") {
  4266. parts.splice(i, 1);
  4267. } else if (last === "..") {
  4268. parts.splice(i, 1);
  4269. up++;
  4270. } else if (up) {
  4271. parts.splice(i, 1);
  4272. up--;
  4273. }
  4274. }
  4275. if (allowAboveRoot) {
  4276. for (; up; up--) {
  4277. parts.unshift("..");
  4278. }
  4279. }
  4280. return parts;
  4281. }),
  4282. normalize: (function(path) {
  4283. var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/";
  4284. path = PATH.normalizeArray(path.split("/").filter((function(p) {
  4285. return !!p;
  4286. })), !isAbsolute).join("/");
  4287. if (!path && !isAbsolute) {
  4288. path = ".";
  4289. }
  4290. if (path && trailingSlash) {
  4291. path += "/";
  4292. }
  4293. return (isAbsolute ? "/" : "") + path;
  4294. }),
  4295. dirname: (function(path) {
  4296. var result = PATH.splitPath(path), root = result[0], dir = result[1];
  4297. if (!root && !dir) {
  4298. return ".";
  4299. }
  4300. if (dir) {
  4301. dir = dir.substr(0, dir.length - 1);
  4302. }
  4303. return root + dir;
  4304. }),
  4305. basename: (function(path) {
  4306. if (path === "/") return "/";
  4307. var lastSlash = path.lastIndexOf("/");
  4308. if (lastSlash === -1) return path;
  4309. return path.substr(lastSlash + 1);
  4310. }),
  4311. extname: (function(path) {
  4312. return PATH.splitPath(path)[3];
  4313. }),
  4314. join: (function() {
  4315. var paths = Array.prototype.slice.call(arguments, 0);
  4316. return PATH.normalize(paths.join("/"));
  4317. }),
  4318. join2: (function(l, r) {
  4319. return PATH.normalize(l + "/" + r);
  4320. }),
  4321. resolve: (function() {
  4322. var resolvedPath = "", resolvedAbsolute = false;
  4323. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  4324. var path = i >= 0 ? arguments[i] : FS.cwd();
  4325. if (typeof path !== "string") {
  4326. throw new TypeError("Arguments to path.resolve must be strings");
  4327. } else if (!path) {
  4328. return "";
  4329. }
  4330. resolvedPath = path + "/" + resolvedPath;
  4331. resolvedAbsolute = path.charAt(0) === "/";
  4332. }
  4333. resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter((function(p) {
  4334. return !!p;
  4335. })), !resolvedAbsolute).join("/");
  4336. return (resolvedAbsolute ? "/" : "") + resolvedPath || ".";
  4337. }),
  4338. relative: (function(from, to) {
  4339. from = PATH.resolve(from).substr(1);
  4340. to = PATH.resolve(to).substr(1);
  4341. function trim(arr) {
  4342. var start = 0;
  4343. for (; start < arr.length; start++) {
  4344. if (arr[start] !== "") break;
  4345. }
  4346. var end = arr.length - 1;
  4347. for (; end >= 0; end--) {
  4348. if (arr[end] !== "") break;
  4349. }
  4350. if (start > end) return [];
  4351. return arr.slice(start, end - start + 1);
  4352. }
  4353. var fromParts = trim(from.split("/"));
  4354. var toParts = trim(to.split("/"));
  4355. var length = Math.min(fromParts.length, toParts.length);
  4356. var samePartsLength = length;
  4357. for (var i = 0; i < length; i++) {
  4358. if (fromParts[i] !== toParts[i]) {
  4359. samePartsLength = i;
  4360. break;
  4361. }
  4362. }
  4363. var outputParts = [];
  4364. for (var i = samePartsLength; i < fromParts.length; i++) {
  4365. outputParts.push("..");
  4366. }
  4367. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  4368. return outputParts.join("/");
  4369. })
  4370. };
  4371. var TTY = {
  4372. ttys: [],
  4373. init: (function() {}),
  4374. shutdown: (function() {}),
  4375. register: (function(dev, ops) {
  4376. TTY.ttys[dev] = {
  4377. input: [],
  4378. output: [],
  4379. ops: ops
  4380. };
  4381. FS.registerDevice(dev, TTY.stream_ops);
  4382. }),
  4383. stream_ops: {
  4384. open: (function(stream) {
  4385. var tty = TTY.ttys[stream.node.rdev];
  4386. if (!tty) {
  4387. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4388. }
  4389. stream.tty = tty;
  4390. stream.seekable = false;
  4391. }),
  4392. close: (function(stream) {
  4393. stream.tty.ops.flush(stream.tty);
  4394. }),
  4395. flush: (function(stream) {
  4396. stream.tty.ops.flush(stream.tty);
  4397. }),
  4398. read: (function(stream, buffer, offset, length, pos) {
  4399. if (!stream.tty || !stream.tty.ops.get_char) {
  4400. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4401. }
  4402. var bytesRead = 0;
  4403. for (var i = 0; i < length; i++) {
  4404. var result;
  4405. try {
  4406. result = stream.tty.ops.get_char(stream.tty);
  4407. } catch (e) {
  4408. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4409. }
  4410. if (result === undefined && bytesRead === 0) {
  4411. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  4412. }
  4413. if (result === null || result === undefined) break;
  4414. bytesRead++;
  4415. buffer[offset + i] = result;
  4416. }
  4417. if (bytesRead) {
  4418. stream.node.timestamp = Date.now();
  4419. }
  4420. return bytesRead;
  4421. }),
  4422. write: (function(stream, buffer, offset, length, pos) {
  4423. if (!stream.tty || !stream.tty.ops.put_char) {
  4424. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4425. }
  4426. for (var i = 0; i < length; i++) {
  4427. try {
  4428. stream.tty.ops.put_char(stream.tty, buffer[offset + i]);
  4429. } catch (e) {
  4430. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4431. }
  4432. }
  4433. if (length) {
  4434. stream.node.timestamp = Date.now();
  4435. }
  4436. return i;
  4437. })
  4438. },
  4439. default_tty_ops: {
  4440. get_char: (function(tty) {
  4441. if (!tty.input.length) {
  4442. var result = null;
  4443. if (ENVIRONMENT_IS_NODE) {
  4444. var BUFSIZE = 256;
  4445. var buf = new Buffer(BUFSIZE);
  4446. var bytesRead = 0;
  4447. var isPosixPlatform = process.platform != "win32";
  4448. var fd = process.stdin.fd;
  4449. if (isPosixPlatform) {
  4450. var usingDevice = false;
  4451. try {
  4452. fd = fs.openSync("/dev/stdin", "r");
  4453. usingDevice = true;
  4454. } catch (e) {}
  4455. }
  4456. try {
  4457. bytesRead = fs.readSync(fd, buf, 0, BUFSIZE, null);
  4458. } catch (e) {
  4459. if (e.toString().indexOf("EOF") != -1) bytesRead = 0; else throw e;
  4460. }
  4461. if (usingDevice) {
  4462. fs.closeSync(fd);
  4463. }
  4464. if (bytesRead > 0) {
  4465. result = buf.slice(0, bytesRead).toString("utf-8");
  4466. } else {
  4467. result = null;
  4468. }
  4469. } else if (typeof window != "undefined" && typeof window.prompt == "function") {
  4470. result = window.prompt("Input: ");
  4471. if (result !== null) {
  4472. result += "\n";
  4473. }
  4474. } else if (typeof readline == "function") {
  4475. result = readline();
  4476. if (result !== null) {
  4477. result += "\n";
  4478. }
  4479. }
  4480. if (!result) {
  4481. return null;
  4482. }
  4483. tty.input = intArrayFromString(result, true);
  4484. }
  4485. return tty.input.shift();
  4486. }),
  4487. put_char: (function(tty, val) {
  4488. if (val === null || val === 10) {
  4489. out(UTF8ArrayToString(tty.output, 0));
  4490. tty.output = [];
  4491. } else {
  4492. if (val != 0) tty.output.push(val);
  4493. }
  4494. }),
  4495. flush: (function(tty) {
  4496. if (tty.output && tty.output.length > 0) {
  4497. out(UTF8ArrayToString(tty.output, 0));
  4498. tty.output = [];
  4499. }
  4500. })
  4501. },
  4502. default_tty1_ops: {
  4503. put_char: (function(tty, val) {
  4504. if (val === null || val === 10) {
  4505. err(UTF8ArrayToString(tty.output, 0));
  4506. tty.output = [];
  4507. } else {
  4508. if (val != 0) tty.output.push(val);
  4509. }
  4510. }),
  4511. flush: (function(tty) {
  4512. if (tty.output && tty.output.length > 0) {
  4513. err(UTF8ArrayToString(tty.output, 0));
  4514. tty.output = [];
  4515. }
  4516. })
  4517. }
  4518. };
  4519. var MEMFS = {
  4520. ops_table: null,
  4521. mount: (function(mount) {
  4522. return MEMFS.createNode(null, "/", 16384 | 511, 0);
  4523. }),
  4524. createNode: (function(parent, name, mode, dev) {
  4525. if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
  4526. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  4527. }
  4528. if (!MEMFS.ops_table) {
  4529. MEMFS.ops_table = {
  4530. dir: {
  4531. node: {
  4532. getattr: MEMFS.node_ops.getattr,
  4533. setattr: MEMFS.node_ops.setattr,
  4534. lookup: MEMFS.node_ops.lookup,
  4535. mknod: MEMFS.node_ops.mknod,
  4536. rename: MEMFS.node_ops.rename,
  4537. unlink: MEMFS.node_ops.unlink,
  4538. rmdir: MEMFS.node_ops.rmdir,
  4539. readdir: MEMFS.node_ops.readdir,
  4540. symlink: MEMFS.node_ops.symlink
  4541. },
  4542. stream: {
  4543. llseek: MEMFS.stream_ops.llseek
  4544. }
  4545. },
  4546. file: {
  4547. node: {
  4548. getattr: MEMFS.node_ops.getattr,
  4549. setattr: MEMFS.node_ops.setattr
  4550. },
  4551. stream: {
  4552. llseek: MEMFS.stream_ops.llseek,
  4553. read: MEMFS.stream_ops.read,
  4554. write: MEMFS.stream_ops.write,
  4555. allocate: MEMFS.stream_ops.allocate,
  4556. mmap: MEMFS.stream_ops.mmap,
  4557. msync: MEMFS.stream_ops.msync
  4558. }
  4559. },
  4560. link: {
  4561. node: {
  4562. getattr: MEMFS.node_ops.getattr,
  4563. setattr: MEMFS.node_ops.setattr,
  4564. readlink: MEMFS.node_ops.readlink
  4565. },
  4566. stream: {}
  4567. },
  4568. chrdev: {
  4569. node: {
  4570. getattr: MEMFS.node_ops.getattr,
  4571. setattr: MEMFS.node_ops.setattr
  4572. },
  4573. stream: FS.chrdev_stream_ops
  4574. }
  4575. };
  4576. }
  4577. var node = FS.createNode(parent, name, mode, dev);
  4578. if (FS.isDir(node.mode)) {
  4579. node.node_ops = MEMFS.ops_table.dir.node;
  4580. node.stream_ops = MEMFS.ops_table.dir.stream;
  4581. node.contents = {};
  4582. } else if (FS.isFile(node.mode)) {
  4583. node.node_ops = MEMFS.ops_table.file.node;
  4584. node.stream_ops = MEMFS.ops_table.file.stream;
  4585. node.usedBytes = 0;
  4586. node.contents = null;
  4587. } else if (FS.isLink(node.mode)) {
  4588. node.node_ops = MEMFS.ops_table.link.node;
  4589. node.stream_ops = MEMFS.ops_table.link.stream;
  4590. } else if (FS.isChrdev(node.mode)) {
  4591. node.node_ops = MEMFS.ops_table.chrdev.node;
  4592. node.stream_ops = MEMFS.ops_table.chrdev.stream;
  4593. }
  4594. node.timestamp = Date.now();
  4595. if (parent) {
  4596. parent.contents[name] = node;
  4597. }
  4598. return node;
  4599. }),
  4600. getFileDataAsRegularArray: (function(node) {
  4601. if (node.contents && node.contents.subarray) {
  4602. var arr = [];
  4603. for (var i = 0; i < node.usedBytes; ++i) arr.push(node.contents[i]);
  4604. return arr;
  4605. }
  4606. return node.contents;
  4607. }),
  4608. getFileDataAsTypedArray: (function(node) {
  4609. if (!node.contents) return new Uint8Array;
  4610. if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
  4611. return new Uint8Array(node.contents);
  4612. }),
  4613. expandFileStorage: (function(node, newCapacity) {
  4614. if (node.contents && node.contents.subarray && newCapacity > node.contents.length) {
  4615. node.contents = MEMFS.getFileDataAsRegularArray(node);
  4616. node.usedBytes = node.contents.length;
  4617. }
  4618. if (!node.contents || node.contents.subarray) {
  4619. var prevCapacity = node.contents ? node.contents.length : 0;
  4620. if (prevCapacity >= newCapacity) return;
  4621. var CAPACITY_DOUBLING_MAX = 1024 * 1024;
  4622. newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) | 0);
  4623. if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
  4624. var oldContents = node.contents;
  4625. node.contents = new Uint8Array(newCapacity);
  4626. if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
  4627. return;
  4628. }
  4629. if (!node.contents && newCapacity > 0) node.contents = [];
  4630. while (node.contents.length < newCapacity) node.contents.push(0);
  4631. }),
  4632. resizeFileStorage: (function(node, newSize) {
  4633. if (node.usedBytes == newSize) return;
  4634. if (newSize == 0) {
  4635. node.contents = null;
  4636. node.usedBytes = 0;
  4637. return;
  4638. }
  4639. if (!node.contents || node.contents.subarray) {
  4640. var oldContents = node.contents;
  4641. node.contents = new Uint8Array(new ArrayBuffer(newSize));
  4642. if (oldContents) {
  4643. node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
  4644. }
  4645. node.usedBytes = newSize;
  4646. return;
  4647. }
  4648. if (!node.contents) node.contents = [];
  4649. if (node.contents.length > newSize) node.contents.length = newSize; else while (node.contents.length < newSize) node.contents.push(0);
  4650. node.usedBytes = newSize;
  4651. }),
  4652. node_ops: {
  4653. getattr: (function(node) {
  4654. var attr = {};
  4655. attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
  4656. attr.ino = node.id;
  4657. attr.mode = node.mode;
  4658. attr.nlink = 1;
  4659. attr.uid = 0;
  4660. attr.gid = 0;
  4661. attr.rdev = node.rdev;
  4662. if (FS.isDir(node.mode)) {
  4663. attr.size = 4096;
  4664. } else if (FS.isFile(node.mode)) {
  4665. attr.size = node.usedBytes;
  4666. } else if (FS.isLink(node.mode)) {
  4667. attr.size = node.link.length;
  4668. } else {
  4669. attr.size = 0;
  4670. }
  4671. attr.atime = new Date(node.timestamp);
  4672. attr.mtime = new Date(node.timestamp);
  4673. attr.ctime = new Date(node.timestamp);
  4674. attr.blksize = 4096;
  4675. attr.blocks = Math.ceil(attr.size / attr.blksize);
  4676. return attr;
  4677. }),
  4678. setattr: (function(node, attr) {
  4679. if (attr.mode !== undefined) {
  4680. node.mode = attr.mode;
  4681. }
  4682. if (attr.timestamp !== undefined) {
  4683. node.timestamp = attr.timestamp;
  4684. }
  4685. if (attr.size !== undefined) {
  4686. MEMFS.resizeFileStorage(node, attr.size);
  4687. }
  4688. }),
  4689. lookup: (function(parent, name) {
  4690. throw FS.genericErrors[ERRNO_CODES.ENOENT];
  4691. }),
  4692. mknod: (function(parent, name, mode, dev) {
  4693. return MEMFS.createNode(parent, name, mode, dev);
  4694. }),
  4695. rename: (function(old_node, new_dir, new_name) {
  4696. if (FS.isDir(old_node.mode)) {
  4697. var new_node;
  4698. try {
  4699. new_node = FS.lookupNode(new_dir, new_name);
  4700. } catch (e) {}
  4701. if (new_node) {
  4702. for (var i in new_node.contents) {
  4703. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4704. }
  4705. }
  4706. }
  4707. delete old_node.parent.contents[old_node.name];
  4708. old_node.name = new_name;
  4709. new_dir.contents[new_name] = old_node;
  4710. old_node.parent = new_dir;
  4711. }),
  4712. unlink: (function(parent, name) {
  4713. delete parent.contents[name];
  4714. }),
  4715. rmdir: (function(parent, name) {
  4716. var node = FS.lookupNode(parent, name);
  4717. for (var i in node.contents) {
  4718. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4719. }
  4720. delete parent.contents[name];
  4721. }),
  4722. readdir: (function(node) {
  4723. var entries = [ ".", ".." ];
  4724. for (var key in node.contents) {
  4725. if (!node.contents.hasOwnProperty(key)) {
  4726. continue;
  4727. }
  4728. entries.push(key);
  4729. }
  4730. return entries;
  4731. }),
  4732. symlink: (function(parent, newname, oldpath) {
  4733. var node = MEMFS.createNode(parent, newname, 511 | 40960, 0);
  4734. node.link = oldpath;
  4735. return node;
  4736. }),
  4737. readlink: (function(node) {
  4738. if (!FS.isLink(node.mode)) {
  4739. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4740. }
  4741. return node.link;
  4742. })
  4743. },
  4744. stream_ops: {
  4745. read: (function(stream, buffer, offset, length, position) {
  4746. var contents = stream.node.contents;
  4747. if (position >= stream.node.usedBytes) return 0;
  4748. var size = Math.min(stream.node.usedBytes - position, length);
  4749. assert(size >= 0);
  4750. if (size > 8 && contents.subarray) {
  4751. buffer.set(contents.subarray(position, position + size), offset);
  4752. } else {
  4753. for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
  4754. }
  4755. return size;
  4756. }),
  4757. write: (function(stream, buffer, offset, length, position, canOwn) {
  4758. if (!length) return 0;
  4759. var node = stream.node;
  4760. node.timestamp = Date.now();
  4761. if (buffer.subarray && (!node.contents || node.contents.subarray)) {
  4762. if (canOwn) {
  4763. assert(position === 0, "canOwn must imply no weird position inside the file");
  4764. node.contents = buffer.subarray(offset, offset + length);
  4765. node.usedBytes = length;
  4766. return length;
  4767. } else if (node.usedBytes === 0 && position === 0) {
  4768. node.contents = new Uint8Array(buffer.subarray(offset, offset + length));
  4769. node.usedBytes = length;
  4770. return length;
  4771. } else if (position + length <= node.usedBytes) {
  4772. node.contents.set(buffer.subarray(offset, offset + length), position);
  4773. return length;
  4774. }
  4775. }
  4776. MEMFS.expandFileStorage(node, position + length);
  4777. if (node.contents.subarray && buffer.subarray) node.contents.set(buffer.subarray(offset, offset + length), position); else {
  4778. for (var i = 0; i < length; i++) {
  4779. node.contents[position + i] = buffer[offset + i];
  4780. }
  4781. }
  4782. node.usedBytes = Math.max(node.usedBytes, position + length);
  4783. return length;
  4784. }),
  4785. llseek: (function(stream, offset, whence) {
  4786. var position = offset;
  4787. if (whence === 1) {
  4788. position += stream.position;
  4789. } else if (whence === 2) {
  4790. if (FS.isFile(stream.node.mode)) {
  4791. position += stream.node.usedBytes;
  4792. }
  4793. }
  4794. if (position < 0) {
  4795. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4796. }
  4797. return position;
  4798. }),
  4799. allocate: (function(stream, offset, length) {
  4800. MEMFS.expandFileStorage(stream.node, offset + length);
  4801. stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length);
  4802. }),
  4803. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  4804. if (!FS.isFile(stream.node.mode)) {
  4805. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4806. }
  4807. var ptr;
  4808. var allocated;
  4809. var contents = stream.node.contents;
  4810. if (!(flags & 2) && (contents.buffer === buffer || contents.buffer === buffer.buffer)) {
  4811. allocated = false;
  4812. ptr = contents.byteOffset;
  4813. } else {
  4814. if (position > 0 || position + length < stream.node.usedBytes) {
  4815. if (contents.subarray) {
  4816. contents = contents.subarray(position, position + length);
  4817. } else {
  4818. contents = Array.prototype.slice.call(contents, position, position + length);
  4819. }
  4820. }
  4821. allocated = true;
  4822. var fromHeap = buffer.buffer == HEAP8.buffer;
  4823. ptr = _malloc(length);
  4824. if (!ptr) {
  4825. throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);
  4826. }
  4827. (fromHeap ? HEAP8 : buffer).set(contents, ptr);
  4828. }
  4829. return {
  4830. ptr: ptr,
  4831. allocated: allocated
  4832. };
  4833. }),
  4834. msync: (function(stream, buffer, offset, length, mmapFlags) {
  4835. if (!FS.isFile(stream.node.mode)) {
  4836. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4837. }
  4838. if (mmapFlags & 2) {
  4839. return 0;
  4840. }
  4841. var bytesWritten = MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false);
  4842. return 0;
  4843. })
  4844. }
  4845. };
  4846. var IDBFS = {
  4847. dbs: {},
  4848. indexedDB: (function() {
  4849. if (typeof indexedDB !== "undefined") return indexedDB;
  4850. var ret = null;
  4851. if (typeof window === "object") ret = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  4852. assert(ret, "IDBFS used, but indexedDB not supported");
  4853. return ret;
  4854. }),
  4855. DB_VERSION: 21,
  4856. DB_STORE_NAME: "FILE_DATA",
  4857. mount: (function(mount) {
  4858. return MEMFS.mount.apply(null, arguments);
  4859. }),
  4860. syncfs: (function(mount, populate, callback) {
  4861. IDBFS.getLocalSet(mount, (function(err, local) {
  4862. if (err) return callback(err);
  4863. IDBFS.getRemoteSet(mount, (function(err, remote) {
  4864. if (err) return callback(err);
  4865. var src = populate ? remote : local;
  4866. var dst = populate ? local : remote;
  4867. IDBFS.reconcile(src, dst, callback);
  4868. }));
  4869. }));
  4870. }),
  4871. getDB: (function(name, callback) {
  4872. var db = IDBFS.dbs[name];
  4873. if (db) {
  4874. return callback(null, db);
  4875. }
  4876. var req;
  4877. try {
  4878. req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION);
  4879. } catch (e) {
  4880. return callback(e);
  4881. }
  4882. if (!req) {
  4883. return callback("Unable to connect to IndexedDB");
  4884. }
  4885. req.onupgradeneeded = (function(e) {
  4886. var db = e.target.result;
  4887. var transaction = e.target.transaction;
  4888. var fileStore;
  4889. if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
  4890. fileStore = transaction.objectStore(IDBFS.DB_STORE_NAME);
  4891. } else {
  4892. fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
  4893. }
  4894. if (!fileStore.indexNames.contains("timestamp")) {
  4895. fileStore.createIndex("timestamp", "timestamp", {
  4896. unique: false
  4897. });
  4898. }
  4899. });
  4900. req.onsuccess = (function() {
  4901. db = req.result;
  4902. IDBFS.dbs[name] = db;
  4903. callback(null, db);
  4904. });
  4905. req.onerror = (function(e) {
  4906. callback(this.error);
  4907. e.preventDefault();
  4908. });
  4909. }),
  4910. getLocalSet: (function(mount, callback) {
  4911. var entries = {};
  4912. function isRealDir(p) {
  4913. return p !== "." && p !== "..";
  4914. }
  4915. function toAbsolute(root) {
  4916. return (function(p) {
  4917. return PATH.join2(root, p);
  4918. });
  4919. }
  4920. var check = FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));
  4921. while (check.length) {
  4922. var path = check.pop();
  4923. var stat;
  4924. try {
  4925. stat = FS.stat(path);
  4926. } catch (e) {
  4927. return callback(e);
  4928. }
  4929. if (FS.isDir(stat.mode)) {
  4930. check.push.apply(check, FS.readdir(path).filter(isRealDir).map(toAbsolute(path)));
  4931. }
  4932. entries[path] = {
  4933. timestamp: stat.mtime
  4934. };
  4935. }
  4936. return callback(null, {
  4937. type: "local",
  4938. entries: entries
  4939. });
  4940. }),
  4941. getRemoteSet: (function(mount, callback) {
  4942. var entries = {};
  4943. IDBFS.getDB(mount.mountpoint, (function(err, db) {
  4944. if (err) return callback(err);
  4945. try {
  4946. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readonly");
  4947. transaction.onerror = (function(e) {
  4948. callback(this.error);
  4949. e.preventDefault();
  4950. });
  4951. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  4952. var index = store.index("timestamp");
  4953. index.openKeyCursor().onsuccess = (function(event) {
  4954. var cursor = event.target.result;
  4955. if (!cursor) {
  4956. return callback(null, {
  4957. type: "remote",
  4958. db: db,
  4959. entries: entries
  4960. });
  4961. }
  4962. entries[cursor.primaryKey] = {
  4963. timestamp: cursor.key
  4964. };
  4965. cursor.continue();
  4966. });
  4967. } catch (e) {
  4968. return callback(e);
  4969. }
  4970. }));
  4971. }),
  4972. loadLocalEntry: (function(path, callback) {
  4973. var stat, node;
  4974. try {
  4975. var lookup = FS.lookupPath(path);
  4976. node = lookup.node;
  4977. stat = FS.stat(path);
  4978. } catch (e) {
  4979. return callback(e);
  4980. }
  4981. if (FS.isDir(stat.mode)) {
  4982. return callback(null, {
  4983. timestamp: stat.mtime,
  4984. mode: stat.mode
  4985. });
  4986. } else if (FS.isFile(stat.mode)) {
  4987. node.contents = MEMFS.getFileDataAsTypedArray(node);
  4988. return callback(null, {
  4989. timestamp: stat.mtime,
  4990. mode: stat.mode,
  4991. contents: node.contents
  4992. });
  4993. } else {
  4994. return callback(new Error("node type not supported"));
  4995. }
  4996. }),
  4997. storeLocalEntry: (function(path, entry, callback) {
  4998. try {
  4999. if (FS.isDir(entry.mode)) {
  5000. FS.mkdir(path, entry.mode);
  5001. } else if (FS.isFile(entry.mode)) {
  5002. FS.writeFile(path, entry.contents, {
  5003. canOwn: true
  5004. });
  5005. } else {
  5006. return callback(new Error("node type not supported"));
  5007. }
  5008. FS.chmod(path, entry.mode);
  5009. FS.utime(path, entry.timestamp, entry.timestamp);
  5010. } catch (e) {
  5011. return callback(e);
  5012. }
  5013. callback(null);
  5014. }),
  5015. removeLocalEntry: (function(path, callback) {
  5016. try {
  5017. var lookup = FS.lookupPath(path);
  5018. var stat = FS.stat(path);
  5019. if (FS.isDir(stat.mode)) {
  5020. FS.rmdir(path);
  5021. } else if (FS.isFile(stat.mode)) {
  5022. FS.unlink(path);
  5023. }
  5024. } catch (e) {
  5025. return callback(e);
  5026. }
  5027. callback(null);
  5028. }),
  5029. loadRemoteEntry: (function(store, path, callback) {
  5030. var req = store.get(path);
  5031. req.onsuccess = (function(event) {
  5032. callback(null, event.target.result);
  5033. });
  5034. req.onerror = (function(e) {
  5035. callback(this.error);
  5036. e.preventDefault();
  5037. });
  5038. }),
  5039. storeRemoteEntry: (function(store, path, entry, callback) {
  5040. var req = store.put(entry, path);
  5041. req.onsuccess = (function() {
  5042. callback(null);
  5043. });
  5044. req.onerror = (function(e) {
  5045. callback(this.error);
  5046. e.preventDefault();
  5047. });
  5048. }),
  5049. removeRemoteEntry: (function(store, path, callback) {
  5050. var req = store.delete(path);
  5051. req.onsuccess = (function() {
  5052. callback(null);
  5053. });
  5054. req.onerror = (function(e) {
  5055. callback(this.error);
  5056. e.preventDefault();
  5057. });
  5058. }),
  5059. reconcile: (function(src, dst, callback) {
  5060. var total = 0;
  5061. var create = [];
  5062. Object.keys(src.entries).forEach((function(key) {
  5063. var e = src.entries[key];
  5064. var e2 = dst.entries[key];
  5065. if (!e2 || e.timestamp > e2.timestamp) {
  5066. create.push(key);
  5067. total++;
  5068. }
  5069. }));
  5070. var remove = [];
  5071. Object.keys(dst.entries).forEach((function(key) {
  5072. var e = dst.entries[key];
  5073. var e2 = src.entries[key];
  5074. if (!e2) {
  5075. remove.push(key);
  5076. total++;
  5077. }
  5078. }));
  5079. if (!total) {
  5080. return callback(null);
  5081. }
  5082. var completed = 0;
  5083. var db = src.type === "remote" ? src.db : dst.db;
  5084. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readwrite");
  5085. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  5086. function done(err) {
  5087. if (err) {
  5088. if (!done.errored) {
  5089. done.errored = true;
  5090. return callback(err);
  5091. }
  5092. return;
  5093. }
  5094. if (++completed >= total) {
  5095. return callback(null);
  5096. }
  5097. }
  5098. transaction.onerror = (function(e) {
  5099. done(this.error);
  5100. e.preventDefault();
  5101. });
  5102. create.sort().forEach((function(path) {
  5103. if (dst.type === "local") {
  5104. IDBFS.loadRemoteEntry(store, path, (function(err, entry) {
  5105. if (err) return done(err);
  5106. IDBFS.storeLocalEntry(path, entry, done);
  5107. }));
  5108. } else {
  5109. IDBFS.loadLocalEntry(path, (function(err, entry) {
  5110. if (err) return done(err);
  5111. IDBFS.storeRemoteEntry(store, path, entry, done);
  5112. }));
  5113. }
  5114. }));
  5115. remove.sort().reverse().forEach((function(path) {
  5116. if (dst.type === "local") {
  5117. IDBFS.removeLocalEntry(path, done);
  5118. } else {
  5119. IDBFS.removeRemoteEntry(store, path, done);
  5120. }
  5121. }));
  5122. })
  5123. };
  5124. var NODEFS = {
  5125. isWindows: false,
  5126. staticInit: (function() {
  5127. NODEFS.isWindows = !!process.platform.match(/^win/);
  5128. var flags = process["binding"]("constants");
  5129. if (flags["fs"]) {
  5130. flags = flags["fs"];
  5131. }
  5132. NODEFS.flagsForNodeMap = {
  5133. "1024": flags["O_APPEND"],
  5134. "64": flags["O_CREAT"],
  5135. "128": flags["O_EXCL"],
  5136. "0": flags["O_RDONLY"],
  5137. "2": flags["O_RDWR"],
  5138. "4096": flags["O_SYNC"],
  5139. "512": flags["O_TRUNC"],
  5140. "1": flags["O_WRONLY"]
  5141. };
  5142. }),
  5143. bufferFrom: (function(arrayBuffer) {
  5144. return Buffer.alloc ? Buffer.from(arrayBuffer) : new Buffer(arrayBuffer);
  5145. }),
  5146. mount: (function(mount) {
  5147. assert(ENVIRONMENT_IS_NODE);
  5148. return NODEFS.createNode(null, "/", NODEFS.getMode(mount.opts.root), 0);
  5149. }),
  5150. createNode: (function(parent, name, mode, dev) {
  5151. if (!FS.isDir(mode) && !FS.isFile(mode) && !FS.isLink(mode)) {
  5152. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5153. }
  5154. var node = FS.createNode(parent, name, mode);
  5155. node.node_ops = NODEFS.node_ops;
  5156. node.stream_ops = NODEFS.stream_ops;
  5157. return node;
  5158. }),
  5159. getMode: (function(path) {
  5160. var stat;
  5161. try {
  5162. stat = fs.lstatSync(path);
  5163. if (NODEFS.isWindows) {
  5164. stat.mode = stat.mode | (stat.mode & 292) >> 2;
  5165. }
  5166. } catch (e) {
  5167. if (!e.code) throw e;
  5168. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5169. }
  5170. return stat.mode;
  5171. }),
  5172. realPath: (function(node) {
  5173. var parts = [];
  5174. while (node.parent !== node) {
  5175. parts.push(node.name);
  5176. node = node.parent;
  5177. }
  5178. parts.push(node.mount.opts.root);
  5179. parts.reverse();
  5180. return PATH.join.apply(null, parts);
  5181. }),
  5182. flagsForNode: (function(flags) {
  5183. flags &= ~2097152;
  5184. flags &= ~2048;
  5185. flags &= ~32768;
  5186. flags &= ~524288;
  5187. var newFlags = 0;
  5188. for (var k in NODEFS.flagsForNodeMap) {
  5189. if (flags & k) {
  5190. newFlags |= NODEFS.flagsForNodeMap[k];
  5191. flags ^= k;
  5192. }
  5193. }
  5194. if (!flags) {
  5195. return newFlags;
  5196. } else {
  5197. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5198. }
  5199. }),
  5200. node_ops: {
  5201. getattr: (function(node) {
  5202. var path = NODEFS.realPath(node);
  5203. var stat;
  5204. try {
  5205. stat = fs.lstatSync(path);
  5206. } catch (e) {
  5207. if (!e.code) throw e;
  5208. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5209. }
  5210. if (NODEFS.isWindows && !stat.blksize) {
  5211. stat.blksize = 4096;
  5212. }
  5213. if (NODEFS.isWindows && !stat.blocks) {
  5214. stat.blocks = (stat.size + stat.blksize - 1) / stat.blksize | 0;
  5215. }
  5216. return {
  5217. dev: stat.dev,
  5218. ino: stat.ino,
  5219. mode: stat.mode,
  5220. nlink: stat.nlink,
  5221. uid: stat.uid,
  5222. gid: stat.gid,
  5223. rdev: stat.rdev,
  5224. size: stat.size,
  5225. atime: stat.atime,
  5226. mtime: stat.mtime,
  5227. ctime: stat.ctime,
  5228. blksize: stat.blksize,
  5229. blocks: stat.blocks
  5230. };
  5231. }),
  5232. setattr: (function(node, attr) {
  5233. var path = NODEFS.realPath(node);
  5234. try {
  5235. if (attr.mode !== undefined) {
  5236. fs.chmodSync(path, attr.mode);
  5237. node.mode = attr.mode;
  5238. }
  5239. if (attr.timestamp !== undefined) {
  5240. var date = new Date(attr.timestamp);
  5241. fs.utimesSync(path, date, date);
  5242. }
  5243. if (attr.size !== undefined) {
  5244. fs.truncateSync(path, attr.size);
  5245. }
  5246. } catch (e) {
  5247. if (!e.code) throw e;
  5248. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5249. }
  5250. }),
  5251. lookup: (function(parent, name) {
  5252. var path = PATH.join2(NODEFS.realPath(parent), name);
  5253. var mode = NODEFS.getMode(path);
  5254. return NODEFS.createNode(parent, name, mode);
  5255. }),
  5256. mknod: (function(parent, name, mode, dev) {
  5257. var node = NODEFS.createNode(parent, name, mode, dev);
  5258. var path = NODEFS.realPath(node);
  5259. try {
  5260. if (FS.isDir(node.mode)) {
  5261. fs.mkdirSync(path, node.mode);
  5262. } else {
  5263. fs.writeFileSync(path, "", {
  5264. mode: node.mode
  5265. });
  5266. }
  5267. } catch (e) {
  5268. if (!e.code) throw e;
  5269. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5270. }
  5271. return node;
  5272. }),
  5273. rename: (function(oldNode, newDir, newName) {
  5274. var oldPath = NODEFS.realPath(oldNode);
  5275. var newPath = PATH.join2(NODEFS.realPath(newDir), newName);
  5276. try {
  5277. fs.renameSync(oldPath, newPath);
  5278. } catch (e) {
  5279. if (!e.code) throw e;
  5280. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5281. }
  5282. }),
  5283. unlink: (function(parent, name) {
  5284. var path = PATH.join2(NODEFS.realPath(parent), name);
  5285. try {
  5286. fs.unlinkSync(path);
  5287. } catch (e) {
  5288. if (!e.code) throw e;
  5289. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5290. }
  5291. }),
  5292. rmdir: (function(parent, name) {
  5293. var path = PATH.join2(NODEFS.realPath(parent), name);
  5294. try {
  5295. fs.rmdirSync(path);
  5296. } catch (e) {
  5297. if (!e.code) throw e;
  5298. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5299. }
  5300. }),
  5301. readdir: (function(node) {
  5302. var path = NODEFS.realPath(node);
  5303. try {
  5304. return fs.readdirSync(path);
  5305. } catch (e) {
  5306. if (!e.code) throw e;
  5307. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5308. }
  5309. }),
  5310. symlink: (function(parent, newName, oldPath) {
  5311. var newPath = PATH.join2(NODEFS.realPath(parent), newName);
  5312. try {
  5313. fs.symlinkSync(oldPath, newPath);
  5314. } catch (e) {
  5315. if (!e.code) throw e;
  5316. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5317. }
  5318. }),
  5319. readlink: (function(node) {
  5320. var path = NODEFS.realPath(node);
  5321. try {
  5322. path = fs.readlinkSync(path);
  5323. path = NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root), path);
  5324. return path;
  5325. } catch (e) {
  5326. if (!e.code) throw e;
  5327. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5328. }
  5329. })
  5330. },
  5331. stream_ops: {
  5332. open: (function(stream) {
  5333. var path = NODEFS.realPath(stream.node);
  5334. try {
  5335. if (FS.isFile(stream.node.mode)) {
  5336. stream.nfd = fs.openSync(path, NODEFS.flagsForNode(stream.flags));
  5337. }
  5338. } catch (e) {
  5339. if (!e.code) throw e;
  5340. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5341. }
  5342. }),
  5343. close: (function(stream) {
  5344. try {
  5345. if (FS.isFile(stream.node.mode) && stream.nfd) {
  5346. fs.closeSync(stream.nfd);
  5347. }
  5348. } catch (e) {
  5349. if (!e.code) throw e;
  5350. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5351. }
  5352. }),
  5353. read: (function(stream, buffer, offset, length, position) {
  5354. if (length === 0) return 0;
  5355. try {
  5356. return fs.readSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5357. } catch (e) {
  5358. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5359. }
  5360. }),
  5361. write: (function(stream, buffer, offset, length, position) {
  5362. try {
  5363. return fs.writeSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5364. } catch (e) {
  5365. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5366. }
  5367. }),
  5368. llseek: (function(stream, offset, whence) {
  5369. var position = offset;
  5370. if (whence === 1) {
  5371. position += stream.position;
  5372. } else if (whence === 2) {
  5373. if (FS.isFile(stream.node.mode)) {
  5374. try {
  5375. var stat = fs.fstatSync(stream.nfd);
  5376. position += stat.size;
  5377. } catch (e) {
  5378. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5379. }
  5380. }
  5381. }
  5382. if (position < 0) {
  5383. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5384. }
  5385. return position;
  5386. })
  5387. }
  5388. };
  5389. var WORKERFS = {
  5390. DIR_MODE: 16895,
  5391. FILE_MODE: 33279,
  5392. reader: null,
  5393. mount: (function(mount) {
  5394. assert(ENVIRONMENT_IS_WORKER);
  5395. if (!WORKERFS.reader) WORKERFS.reader = new FileReaderSync;
  5396. var root = WORKERFS.createNode(null, "/", WORKERFS.DIR_MODE, 0);
  5397. var createdParents = {};
  5398. function ensureParent(path) {
  5399. var parts = path.split("/");
  5400. var parent = root;
  5401. for (var i = 0; i < parts.length - 1; i++) {
  5402. var curr = parts.slice(0, i + 1).join("/");
  5403. if (!createdParents[curr]) {
  5404. createdParents[curr] = WORKERFS.createNode(parent, parts[i], WORKERFS.DIR_MODE, 0);
  5405. }
  5406. parent = createdParents[curr];
  5407. }
  5408. return parent;
  5409. }
  5410. function base(path) {
  5411. var parts = path.split("/");
  5412. return parts[parts.length - 1];
  5413. }
  5414. Array.prototype.forEach.call(mount.opts["files"] || [], (function(file) {
  5415. WORKERFS.createNode(ensureParent(file.name), base(file.name), WORKERFS.FILE_MODE, 0, file, file.lastModifiedDate);
  5416. }));
  5417. (mount.opts["blobs"] || []).forEach((function(obj) {
  5418. WORKERFS.createNode(ensureParent(obj["name"]), base(obj["name"]), WORKERFS.FILE_MODE, 0, obj["data"]);
  5419. }));
  5420. (mount.opts["packages"] || []).forEach((function(pack) {
  5421. pack["metadata"].files.forEach((function(file) {
  5422. var name = file.filename.substr(1);
  5423. WORKERFS.createNode(ensureParent(name), base(name), WORKERFS.FILE_MODE, 0, pack["blob"].slice(file.start, file.end));
  5424. }));
  5425. }));
  5426. return root;
  5427. }),
  5428. createNode: (function(parent, name, mode, dev, contents, mtime) {
  5429. var node = FS.createNode(parent, name, mode);
  5430. node.mode = mode;
  5431. node.node_ops = WORKERFS.node_ops;
  5432. node.stream_ops = WORKERFS.stream_ops;
  5433. node.timestamp = (mtime || new Date).getTime();
  5434. assert(WORKERFS.FILE_MODE !== WORKERFS.DIR_MODE);
  5435. if (mode === WORKERFS.FILE_MODE) {
  5436. node.size = contents.size;
  5437. node.contents = contents;
  5438. } else {
  5439. node.size = 4096;
  5440. node.contents = {};
  5441. }
  5442. if (parent) {
  5443. parent.contents[name] = node;
  5444. }
  5445. return node;
  5446. }),
  5447. node_ops: {
  5448. getattr: (function(node) {
  5449. return {
  5450. dev: 1,
  5451. ino: undefined,
  5452. mode: node.mode,
  5453. nlink: 1,
  5454. uid: 0,
  5455. gid: 0,
  5456. rdev: undefined,
  5457. size: node.size,
  5458. atime: new Date(node.timestamp),
  5459. mtime: new Date(node.timestamp),
  5460. ctime: new Date(node.timestamp),
  5461. blksize: 4096,
  5462. blocks: Math.ceil(node.size / 4096)
  5463. };
  5464. }),
  5465. setattr: (function(node, attr) {
  5466. if (attr.mode !== undefined) {
  5467. node.mode = attr.mode;
  5468. }
  5469. if (attr.timestamp !== undefined) {
  5470. node.timestamp = attr.timestamp;
  5471. }
  5472. }),
  5473. lookup: (function(parent, name) {
  5474. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  5475. }),
  5476. mknod: (function(parent, name, mode, dev) {
  5477. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5478. }),
  5479. rename: (function(oldNode, newDir, newName) {
  5480. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5481. }),
  5482. unlink: (function(parent, name) {
  5483. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5484. }),
  5485. rmdir: (function(parent, name) {
  5486. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5487. }),
  5488. readdir: (function(node) {
  5489. var entries = [ ".", ".." ];
  5490. for (var key in node.contents) {
  5491. if (!node.contents.hasOwnProperty(key)) {
  5492. continue;
  5493. }
  5494. entries.push(key);
  5495. }
  5496. return entries;
  5497. }),
  5498. symlink: (function(parent, newName, oldPath) {
  5499. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5500. }),
  5501. readlink: (function(node) {
  5502. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5503. })
  5504. },
  5505. stream_ops: {
  5506. read: (function(stream, buffer, offset, length, position) {
  5507. if (position >= stream.node.size) return 0;
  5508. var chunk = stream.node.contents.slice(position, position + length);
  5509. var ab = WORKERFS.reader.readAsArrayBuffer(chunk);
  5510. buffer.set(new Uint8Array(ab), offset);
  5511. return chunk.size;
  5512. }),
  5513. write: (function(stream, buffer, offset, length, position) {
  5514. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  5515. }),
  5516. llseek: (function(stream, offset, whence) {
  5517. var position = offset;
  5518. if (whence === 1) {
  5519. position += stream.position;
  5520. } else if (whence === 2) {
  5521. if (FS.isFile(stream.node.mode)) {
  5522. position += stream.node.size;
  5523. }
  5524. }
  5525. if (position < 0) {
  5526. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5527. }
  5528. return position;
  5529. })
  5530. }
  5531. };
  5532. STATICTOP += 16;
  5533. STATICTOP += 16;
  5534. STATICTOP += 16;
  5535. var FS = {
  5536. root: null,
  5537. mounts: [],
  5538. devices: {},
  5539. streams: [],
  5540. nextInode: 1,
  5541. nameTable: null,
  5542. currentPath: "/",
  5543. initialized: false,
  5544. ignorePermissions: true,
  5545. trackingDelegate: {},
  5546. tracking: {
  5547. openFlags: {
  5548. READ: 1,
  5549. WRITE: 2
  5550. }
  5551. },
  5552. ErrnoError: null,
  5553. genericErrors: {},
  5554. filesystems: null,
  5555. syncFSRequests: 0,
  5556. handleFSError: (function(e) {
  5557. if (!(e instanceof FS.ErrnoError)) throw e + " : " + stackTrace();
  5558. return ___setErrNo(e.errno);
  5559. }),
  5560. lookupPath: (function(path, opts) {
  5561. path = PATH.resolve(FS.cwd(), path);
  5562. opts = opts || {};
  5563. if (!path) return {
  5564. path: "",
  5565. node: null
  5566. };
  5567. var defaults = {
  5568. follow_mount: true,
  5569. recurse_count: 0
  5570. };
  5571. for (var key in defaults) {
  5572. if (opts[key] === undefined) {
  5573. opts[key] = defaults[key];
  5574. }
  5575. }
  5576. if (opts.recurse_count > 8) {
  5577. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5578. }
  5579. var parts = PATH.normalizeArray(path.split("/").filter((function(p) {
  5580. return !!p;
  5581. })), false);
  5582. var current = FS.root;
  5583. var current_path = "/";
  5584. for (var i = 0; i < parts.length; i++) {
  5585. var islast = i === parts.length - 1;
  5586. if (islast && opts.parent) {
  5587. break;
  5588. }
  5589. current = FS.lookupNode(current, parts[i]);
  5590. current_path = PATH.join2(current_path, parts[i]);
  5591. if (FS.isMountpoint(current)) {
  5592. if (!islast || islast && opts.follow_mount) {
  5593. current = current.mounted.root;
  5594. }
  5595. }
  5596. if (!islast || opts.follow) {
  5597. var count = 0;
  5598. while (FS.isLink(current.mode)) {
  5599. var link = FS.readlink(current_path);
  5600. current_path = PATH.resolve(PATH.dirname(current_path), link);
  5601. var lookup = FS.lookupPath(current_path, {
  5602. recurse_count: opts.recurse_count
  5603. });
  5604. current = lookup.node;
  5605. if (count++ > 40) {
  5606. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5607. }
  5608. }
  5609. }
  5610. }
  5611. return {
  5612. path: current_path,
  5613. node: current
  5614. };
  5615. }),
  5616. getPath: (function(node) {
  5617. var path;
  5618. while (true) {
  5619. if (FS.isRoot(node)) {
  5620. var mount = node.mount.mountpoint;
  5621. if (!path) return mount;
  5622. return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path;
  5623. }
  5624. path = path ? node.name + "/" + path : node.name;
  5625. node = node.parent;
  5626. }
  5627. }),
  5628. hashName: (function(parentid, name) {
  5629. var hash = 0;
  5630. for (var i = 0; i < name.length; i++) {
  5631. hash = (hash << 5) - hash + name.charCodeAt(i) | 0;
  5632. }
  5633. return (parentid + hash >>> 0) % FS.nameTable.length;
  5634. }),
  5635. hashAddNode: (function(node) {
  5636. var hash = FS.hashName(node.parent.id, node.name);
  5637. node.name_next = FS.nameTable[hash];
  5638. FS.nameTable[hash] = node;
  5639. }),
  5640. hashRemoveNode: (function(node) {
  5641. var hash = FS.hashName(node.parent.id, node.name);
  5642. if (FS.nameTable[hash] === node) {
  5643. FS.nameTable[hash] = node.name_next;
  5644. } else {
  5645. var current = FS.nameTable[hash];
  5646. while (current) {
  5647. if (current.name_next === node) {
  5648. current.name_next = node.name_next;
  5649. break;
  5650. }
  5651. current = current.name_next;
  5652. }
  5653. }
  5654. }),
  5655. lookupNode: (function(parent, name) {
  5656. var err = FS.mayLookup(parent);
  5657. if (err) {
  5658. throw new FS.ErrnoError(err, parent);
  5659. }
  5660. var hash = FS.hashName(parent.id, name);
  5661. for (var node = FS.nameTable[hash]; node; node = node.name_next) {
  5662. var nodeName = node.name;
  5663. if (node.parent.id === parent.id && nodeName === name) {
  5664. return node;
  5665. }
  5666. }
  5667. return FS.lookup(parent, name);
  5668. }),
  5669. createNode: (function(parent, name, mode, rdev) {
  5670. if (!FS.FSNode) {
  5671. FS.FSNode = (function(parent, name, mode, rdev) {
  5672. if (!parent) {
  5673. parent = this;
  5674. }
  5675. this.parent = parent;
  5676. this.mount = parent.mount;
  5677. this.mounted = null;
  5678. this.id = FS.nextInode++;
  5679. this.name = name;
  5680. this.mode = mode;
  5681. this.node_ops = {};
  5682. this.stream_ops = {};
  5683. this.rdev = rdev;
  5684. });
  5685. FS.FSNode.prototype = {};
  5686. var readMode = 292 | 73;
  5687. var writeMode = 146;
  5688. Object.defineProperties(FS.FSNode.prototype, {
  5689. read: {
  5690. get: (function() {
  5691. return (this.mode & readMode) === readMode;
  5692. }),
  5693. set: (function(val) {
  5694. val ? this.mode |= readMode : this.mode &= ~readMode;
  5695. })
  5696. },
  5697. write: {
  5698. get: (function() {
  5699. return (this.mode & writeMode) === writeMode;
  5700. }),
  5701. set: (function(val) {
  5702. val ? this.mode |= writeMode : this.mode &= ~writeMode;
  5703. })
  5704. },
  5705. isFolder: {
  5706. get: (function() {
  5707. return FS.isDir(this.mode);
  5708. })
  5709. },
  5710. isDevice: {
  5711. get: (function() {
  5712. return FS.isChrdev(this.mode);
  5713. })
  5714. }
  5715. });
  5716. }
  5717. var node = new FS.FSNode(parent, name, mode, rdev);
  5718. FS.hashAddNode(node);
  5719. return node;
  5720. }),
  5721. destroyNode: (function(node) {
  5722. FS.hashRemoveNode(node);
  5723. }),
  5724. isRoot: (function(node) {
  5725. return node === node.parent;
  5726. }),
  5727. isMountpoint: (function(node) {
  5728. return !!node.mounted;
  5729. }),
  5730. isFile: (function(mode) {
  5731. return (mode & 61440) === 32768;
  5732. }),
  5733. isDir: (function(mode) {
  5734. return (mode & 61440) === 16384;
  5735. }),
  5736. isLink: (function(mode) {
  5737. return (mode & 61440) === 40960;
  5738. }),
  5739. isChrdev: (function(mode) {
  5740. return (mode & 61440) === 8192;
  5741. }),
  5742. isBlkdev: (function(mode) {
  5743. return (mode & 61440) === 24576;
  5744. }),
  5745. isFIFO: (function(mode) {
  5746. return (mode & 61440) === 4096;
  5747. }),
  5748. isSocket: (function(mode) {
  5749. return (mode & 49152) === 49152;
  5750. }),
  5751. flagModes: {
  5752. "r": 0,
  5753. "rs": 1052672,
  5754. "r+": 2,
  5755. "w": 577,
  5756. "wx": 705,
  5757. "xw": 705,
  5758. "w+": 578,
  5759. "wx+": 706,
  5760. "xw+": 706,
  5761. "a": 1089,
  5762. "ax": 1217,
  5763. "xa": 1217,
  5764. "a+": 1090,
  5765. "ax+": 1218,
  5766. "xa+": 1218
  5767. },
  5768. modeStringToFlags: (function(str) {
  5769. var flags = FS.flagModes[str];
  5770. if (typeof flags === "undefined") {
  5771. throw new Error("Unknown file open mode: " + str);
  5772. }
  5773. return flags;
  5774. }),
  5775. flagsToPermissionString: (function(flag) {
  5776. var perms = [ "r", "w", "rw" ][flag & 3];
  5777. if (flag & 512) {
  5778. perms += "w";
  5779. }
  5780. return perms;
  5781. }),
  5782. nodePermissions: (function(node, perms) {
  5783. if (FS.ignorePermissions) {
  5784. return 0;
  5785. }
  5786. if (perms.indexOf("r") !== -1 && !(node.mode & 292)) {
  5787. return ERRNO_CODES.EACCES;
  5788. } else if (perms.indexOf("w") !== -1 && !(node.mode & 146)) {
  5789. return ERRNO_CODES.EACCES;
  5790. } else if (perms.indexOf("x") !== -1 && !(node.mode & 73)) {
  5791. return ERRNO_CODES.EACCES;
  5792. }
  5793. return 0;
  5794. }),
  5795. mayLookup: (function(dir) {
  5796. var err = FS.nodePermissions(dir, "x");
  5797. if (err) return err;
  5798. if (!dir.node_ops.lookup) return ERRNO_CODES.EACCES;
  5799. return 0;
  5800. }),
  5801. mayCreate: (function(dir, name) {
  5802. try {
  5803. var node = FS.lookupNode(dir, name);
  5804. return ERRNO_CODES.EEXIST;
  5805. } catch (e) {}
  5806. return FS.nodePermissions(dir, "wx");
  5807. }),
  5808. mayDelete: (function(dir, name, isdir) {
  5809. var node;
  5810. try {
  5811. node = FS.lookupNode(dir, name);
  5812. } catch (e) {
  5813. return e.errno;
  5814. }
  5815. var err = FS.nodePermissions(dir, "wx");
  5816. if (err) {
  5817. return err;
  5818. }
  5819. if (isdir) {
  5820. if (!FS.isDir(node.mode)) {
  5821. return ERRNO_CODES.ENOTDIR;
  5822. }
  5823. if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
  5824. return ERRNO_CODES.EBUSY;
  5825. }
  5826. } else {
  5827. if (FS.isDir(node.mode)) {
  5828. return ERRNO_CODES.EISDIR;
  5829. }
  5830. }
  5831. return 0;
  5832. }),
  5833. mayOpen: (function(node, flags) {
  5834. if (!node) {
  5835. return ERRNO_CODES.ENOENT;
  5836. }
  5837. if (FS.isLink(node.mode)) {
  5838. return ERRNO_CODES.ELOOP;
  5839. } else if (FS.isDir(node.mode)) {
  5840. if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) {
  5841. return ERRNO_CODES.EISDIR;
  5842. }
  5843. }
  5844. return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
  5845. }),
  5846. MAX_OPEN_FDS: 4096,
  5847. nextfd: (function(fd_start, fd_end) {
  5848. fd_start = fd_start || 0;
  5849. fd_end = fd_end || FS.MAX_OPEN_FDS;
  5850. for (var fd = fd_start; fd <= fd_end; fd++) {
  5851. if (!FS.streams[fd]) {
  5852. return fd;
  5853. }
  5854. }
  5855. throw new FS.ErrnoError(ERRNO_CODES.EMFILE);
  5856. }),
  5857. getStream: (function(fd) {
  5858. return FS.streams[fd];
  5859. }),
  5860. createStream: (function(stream, fd_start, fd_end) {
  5861. if (!FS.FSStream) {
  5862. FS.FSStream = (function() {});
  5863. FS.FSStream.prototype = {};
  5864. Object.defineProperties(FS.FSStream.prototype, {
  5865. object: {
  5866. get: (function() {
  5867. return this.node;
  5868. }),
  5869. set: (function(val) {
  5870. this.node = val;
  5871. })
  5872. },
  5873. isRead: {
  5874. get: (function() {
  5875. return (this.flags & 2097155) !== 1;
  5876. })
  5877. },
  5878. isWrite: {
  5879. get: (function() {
  5880. return (this.flags & 2097155) !== 0;
  5881. })
  5882. },
  5883. isAppend: {
  5884. get: (function() {
  5885. return this.flags & 1024;
  5886. })
  5887. }
  5888. });
  5889. }
  5890. var newStream = new FS.FSStream;
  5891. for (var p in stream) {
  5892. newStream[p] = stream[p];
  5893. }
  5894. stream = newStream;
  5895. var fd = FS.nextfd(fd_start, fd_end);
  5896. stream.fd = fd;
  5897. FS.streams[fd] = stream;
  5898. return stream;
  5899. }),
  5900. closeStream: (function(fd) {
  5901. FS.streams[fd] = null;
  5902. }),
  5903. chrdev_stream_ops: {
  5904. open: (function(stream) {
  5905. var device = FS.getDevice(stream.node.rdev);
  5906. stream.stream_ops = device.stream_ops;
  5907. if (stream.stream_ops.open) {
  5908. stream.stream_ops.open(stream);
  5909. }
  5910. }),
  5911. llseek: (function() {
  5912. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  5913. })
  5914. },
  5915. major: (function(dev) {
  5916. return dev >> 8;
  5917. }),
  5918. minor: (function(dev) {
  5919. return dev & 255;
  5920. }),
  5921. makedev: (function(ma, mi) {
  5922. return ma << 8 | mi;
  5923. }),
  5924. registerDevice: (function(dev, ops) {
  5925. FS.devices[dev] = {
  5926. stream_ops: ops
  5927. };
  5928. }),
  5929. getDevice: (function(dev) {
  5930. return FS.devices[dev];
  5931. }),
  5932. getMounts: (function(mount) {
  5933. var mounts = [];
  5934. var check = [ mount ];
  5935. while (check.length) {
  5936. var m = check.pop();
  5937. mounts.push(m);
  5938. check.push.apply(check, m.mounts);
  5939. }
  5940. return mounts;
  5941. }),
  5942. syncfs: (function(populate, callback) {
  5943. if (typeof populate === "function") {
  5944. callback = populate;
  5945. populate = false;
  5946. }
  5947. FS.syncFSRequests++;
  5948. if (FS.syncFSRequests > 1) {
  5949. console.log("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work");
  5950. }
  5951. var mounts = FS.getMounts(FS.root.mount);
  5952. var completed = 0;
  5953. function doCallback(err) {
  5954. assert(FS.syncFSRequests > 0);
  5955. FS.syncFSRequests--;
  5956. return callback(err);
  5957. }
  5958. function done(err) {
  5959. if (err) {
  5960. if (!done.errored) {
  5961. done.errored = true;
  5962. return doCallback(err);
  5963. }
  5964. return;
  5965. }
  5966. if (++completed >= mounts.length) {
  5967. doCallback(null);
  5968. }
  5969. }
  5970. mounts.forEach((function(mount) {
  5971. if (!mount.type.syncfs) {
  5972. return done(null);
  5973. }
  5974. mount.type.syncfs(mount, populate, done);
  5975. }));
  5976. }),
  5977. mount: (function(type, opts, mountpoint) {
  5978. var root = mountpoint === "/";
  5979. var pseudo = !mountpoint;
  5980. var node;
  5981. if (root && FS.root) {
  5982. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  5983. } else if (!root && !pseudo) {
  5984. var lookup = FS.lookupPath(mountpoint, {
  5985. follow_mount: false
  5986. });
  5987. mountpoint = lookup.path;
  5988. node = lookup.node;
  5989. if (FS.isMountpoint(node)) {
  5990. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  5991. }
  5992. if (!FS.isDir(node.mode)) {
  5993. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  5994. }
  5995. }
  5996. var mount = {
  5997. type: type,
  5998. opts: opts,
  5999. mountpoint: mountpoint,
  6000. mounts: []
  6001. };
  6002. var mountRoot = type.mount(mount);
  6003. mountRoot.mount = mount;
  6004. mount.root = mountRoot;
  6005. if (root) {
  6006. FS.root = mountRoot;
  6007. } else if (node) {
  6008. node.mounted = mount;
  6009. if (node.mount) {
  6010. node.mount.mounts.push(mount);
  6011. }
  6012. }
  6013. return mountRoot;
  6014. }),
  6015. unmount: (function(mountpoint) {
  6016. var lookup = FS.lookupPath(mountpoint, {
  6017. follow_mount: false
  6018. });
  6019. if (!FS.isMountpoint(lookup.node)) {
  6020. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6021. }
  6022. var node = lookup.node;
  6023. var mount = node.mounted;
  6024. var mounts = FS.getMounts(mount);
  6025. Object.keys(FS.nameTable).forEach((function(hash) {
  6026. var current = FS.nameTable[hash];
  6027. while (current) {
  6028. var next = current.name_next;
  6029. if (mounts.indexOf(current.mount) !== -1) {
  6030. FS.destroyNode(current);
  6031. }
  6032. current = next;
  6033. }
  6034. }));
  6035. node.mounted = null;
  6036. var idx = node.mount.mounts.indexOf(mount);
  6037. assert(idx !== -1);
  6038. node.mount.mounts.splice(idx, 1);
  6039. }),
  6040. lookup: (function(parent, name) {
  6041. return parent.node_ops.lookup(parent, name);
  6042. }),
  6043. mknod: (function(path, mode, dev) {
  6044. var lookup = FS.lookupPath(path, {
  6045. parent: true
  6046. });
  6047. var parent = lookup.node;
  6048. var name = PATH.basename(path);
  6049. if (!name || name === "." || name === "..") {
  6050. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6051. }
  6052. var err = FS.mayCreate(parent, name);
  6053. if (err) {
  6054. throw new FS.ErrnoError(err);
  6055. }
  6056. if (!parent.node_ops.mknod) {
  6057. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6058. }
  6059. return parent.node_ops.mknod(parent, name, mode, dev);
  6060. }),
  6061. create: (function(path, mode) {
  6062. mode = mode !== undefined ? mode : 438;
  6063. mode &= 4095;
  6064. mode |= 32768;
  6065. return FS.mknod(path, mode, 0);
  6066. }),
  6067. mkdir: (function(path, mode) {
  6068. mode = mode !== undefined ? mode : 511;
  6069. mode &= 511 | 512;
  6070. mode |= 16384;
  6071. return FS.mknod(path, mode, 0);
  6072. }),
  6073. mkdirTree: (function(path, mode) {
  6074. var dirs = path.split("/");
  6075. var d = "";
  6076. for (var i = 0; i < dirs.length; ++i) {
  6077. if (!dirs[i]) continue;
  6078. d += "/" + dirs[i];
  6079. try {
  6080. FS.mkdir(d, mode);
  6081. } catch (e) {
  6082. if (e.errno != ERRNO_CODES.EEXIST) throw e;
  6083. }
  6084. }
  6085. }),
  6086. mkdev: (function(path, mode, dev) {
  6087. if (typeof dev === "undefined") {
  6088. dev = mode;
  6089. mode = 438;
  6090. }
  6091. mode |= 8192;
  6092. return FS.mknod(path, mode, dev);
  6093. }),
  6094. symlink: (function(oldpath, newpath) {
  6095. if (!PATH.resolve(oldpath)) {
  6096. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6097. }
  6098. var lookup = FS.lookupPath(newpath, {
  6099. parent: true
  6100. });
  6101. var parent = lookup.node;
  6102. if (!parent) {
  6103. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6104. }
  6105. var newname = PATH.basename(newpath);
  6106. var err = FS.mayCreate(parent, newname);
  6107. if (err) {
  6108. throw new FS.ErrnoError(err);
  6109. }
  6110. if (!parent.node_ops.symlink) {
  6111. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6112. }
  6113. return parent.node_ops.symlink(parent, newname, oldpath);
  6114. }),
  6115. rename: (function(old_path, new_path) {
  6116. var old_dirname = PATH.dirname(old_path);
  6117. var new_dirname = PATH.dirname(new_path);
  6118. var old_name = PATH.basename(old_path);
  6119. var new_name = PATH.basename(new_path);
  6120. var lookup, old_dir, new_dir;
  6121. try {
  6122. lookup = FS.lookupPath(old_path, {
  6123. parent: true
  6124. });
  6125. old_dir = lookup.node;
  6126. lookup = FS.lookupPath(new_path, {
  6127. parent: true
  6128. });
  6129. new_dir = lookup.node;
  6130. } catch (e) {
  6131. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6132. }
  6133. if (!old_dir || !new_dir) throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6134. if (old_dir.mount !== new_dir.mount) {
  6135. throw new FS.ErrnoError(ERRNO_CODES.EXDEV);
  6136. }
  6137. var old_node = FS.lookupNode(old_dir, old_name);
  6138. var relative = PATH.relative(old_path, new_dirname);
  6139. if (relative.charAt(0) !== ".") {
  6140. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6141. }
  6142. relative = PATH.relative(new_path, old_dirname);
  6143. if (relative.charAt(0) !== ".") {
  6144. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  6145. }
  6146. var new_node;
  6147. try {
  6148. new_node = FS.lookupNode(new_dir, new_name);
  6149. } catch (e) {}
  6150. if (old_node === new_node) {
  6151. return;
  6152. }
  6153. var isdir = FS.isDir(old_node.mode);
  6154. var err = FS.mayDelete(old_dir, old_name, isdir);
  6155. if (err) {
  6156. throw new FS.ErrnoError(err);
  6157. }
  6158. err = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name);
  6159. if (err) {
  6160. throw new FS.ErrnoError(err);
  6161. }
  6162. if (!old_dir.node_ops.rename) {
  6163. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6164. }
  6165. if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) {
  6166. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6167. }
  6168. if (new_dir !== old_dir) {
  6169. err = FS.nodePermissions(old_dir, "w");
  6170. if (err) {
  6171. throw new FS.ErrnoError(err);
  6172. }
  6173. }
  6174. try {
  6175. if (FS.trackingDelegate["willMovePath"]) {
  6176. FS.trackingDelegate["willMovePath"](old_path, new_path);
  6177. }
  6178. } catch (e) {
  6179. console.log("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6180. }
  6181. FS.hashRemoveNode(old_node);
  6182. try {
  6183. old_dir.node_ops.rename(old_node, new_dir, new_name);
  6184. } catch (e) {
  6185. throw e;
  6186. } finally {
  6187. FS.hashAddNode(old_node);
  6188. }
  6189. try {
  6190. if (FS.trackingDelegate["onMovePath"]) FS.trackingDelegate["onMovePath"](old_path, new_path);
  6191. } catch (e) {
  6192. console.log("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6193. }
  6194. }),
  6195. rmdir: (function(path) {
  6196. var lookup = FS.lookupPath(path, {
  6197. parent: true
  6198. });
  6199. var parent = lookup.node;
  6200. var name = PATH.basename(path);
  6201. var node = FS.lookupNode(parent, name);
  6202. var err = FS.mayDelete(parent, name, true);
  6203. if (err) {
  6204. throw new FS.ErrnoError(err);
  6205. }
  6206. if (!parent.node_ops.rmdir) {
  6207. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6208. }
  6209. if (FS.isMountpoint(node)) {
  6210. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6211. }
  6212. try {
  6213. if (FS.trackingDelegate["willDeletePath"]) {
  6214. FS.trackingDelegate["willDeletePath"](path);
  6215. }
  6216. } catch (e) {
  6217. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6218. }
  6219. parent.node_ops.rmdir(parent, name);
  6220. FS.destroyNode(node);
  6221. try {
  6222. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6223. } catch (e) {
  6224. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6225. }
  6226. }),
  6227. readdir: (function(path) {
  6228. var lookup = FS.lookupPath(path, {
  6229. follow: true
  6230. });
  6231. var node = lookup.node;
  6232. if (!node.node_ops.readdir) {
  6233. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6234. }
  6235. return node.node_ops.readdir(node);
  6236. }),
  6237. unlink: (function(path) {
  6238. var lookup = FS.lookupPath(path, {
  6239. parent: true
  6240. });
  6241. var parent = lookup.node;
  6242. var name = PATH.basename(path);
  6243. var node = FS.lookupNode(parent, name);
  6244. var err = FS.mayDelete(parent, name, false);
  6245. if (err) {
  6246. throw new FS.ErrnoError(err);
  6247. }
  6248. if (!parent.node_ops.unlink) {
  6249. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6250. }
  6251. if (FS.isMountpoint(node)) {
  6252. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6253. }
  6254. try {
  6255. if (FS.trackingDelegate["willDeletePath"]) {
  6256. FS.trackingDelegate["willDeletePath"](path);
  6257. }
  6258. } catch (e) {
  6259. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6260. }
  6261. parent.node_ops.unlink(parent, name);
  6262. FS.destroyNode(node);
  6263. try {
  6264. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6265. } catch (e) {
  6266. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6267. }
  6268. }),
  6269. readlink: (function(path) {
  6270. var lookup = FS.lookupPath(path);
  6271. var link = lookup.node;
  6272. if (!link) {
  6273. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6274. }
  6275. if (!link.node_ops.readlink) {
  6276. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6277. }
  6278. return PATH.resolve(FS.getPath(link.parent), link.node_ops.readlink(link));
  6279. }),
  6280. stat: (function(path, dontFollow) {
  6281. var lookup = FS.lookupPath(path, {
  6282. follow: !dontFollow
  6283. });
  6284. var node = lookup.node;
  6285. if (!node) {
  6286. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6287. }
  6288. if (!node.node_ops.getattr) {
  6289. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6290. }
  6291. return node.node_ops.getattr(node);
  6292. }),
  6293. lstat: (function(path) {
  6294. return FS.stat(path, true);
  6295. }),
  6296. chmod: (function(path, mode, dontFollow) {
  6297. var node;
  6298. if (typeof path === "string") {
  6299. var lookup = FS.lookupPath(path, {
  6300. follow: !dontFollow
  6301. });
  6302. node = lookup.node;
  6303. } else {
  6304. node = path;
  6305. }
  6306. if (!node.node_ops.setattr) {
  6307. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6308. }
  6309. node.node_ops.setattr(node, {
  6310. mode: mode & 4095 | node.mode & ~4095,
  6311. timestamp: Date.now()
  6312. });
  6313. }),
  6314. lchmod: (function(path, mode) {
  6315. FS.chmod(path, mode, true);
  6316. }),
  6317. fchmod: (function(fd, mode) {
  6318. var stream = FS.getStream(fd);
  6319. if (!stream) {
  6320. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6321. }
  6322. FS.chmod(stream.node, mode);
  6323. }),
  6324. chown: (function(path, uid, gid, dontFollow) {
  6325. var node;
  6326. if (typeof path === "string") {
  6327. var lookup = FS.lookupPath(path, {
  6328. follow: !dontFollow
  6329. });
  6330. node = lookup.node;
  6331. } else {
  6332. node = path;
  6333. }
  6334. if (!node.node_ops.setattr) {
  6335. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6336. }
  6337. node.node_ops.setattr(node, {
  6338. timestamp: Date.now()
  6339. });
  6340. }),
  6341. lchown: (function(path, uid, gid) {
  6342. FS.chown(path, uid, gid, true);
  6343. }),
  6344. fchown: (function(fd, uid, gid) {
  6345. var stream = FS.getStream(fd);
  6346. if (!stream) {
  6347. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6348. }
  6349. FS.chown(stream.node, uid, gid);
  6350. }),
  6351. truncate: (function(path, len) {
  6352. if (len < 0) {
  6353. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6354. }
  6355. var node;
  6356. if (typeof path === "string") {
  6357. var lookup = FS.lookupPath(path, {
  6358. follow: true
  6359. });
  6360. node = lookup.node;
  6361. } else {
  6362. node = path;
  6363. }
  6364. if (!node.node_ops.setattr) {
  6365. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6366. }
  6367. if (FS.isDir(node.mode)) {
  6368. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6369. }
  6370. if (!FS.isFile(node.mode)) {
  6371. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6372. }
  6373. var err = FS.nodePermissions(node, "w");
  6374. if (err) {
  6375. throw new FS.ErrnoError(err);
  6376. }
  6377. node.node_ops.setattr(node, {
  6378. size: len,
  6379. timestamp: Date.now()
  6380. });
  6381. }),
  6382. ftruncate: (function(fd, len) {
  6383. var stream = FS.getStream(fd);
  6384. if (!stream) {
  6385. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6386. }
  6387. if ((stream.flags & 2097155) === 0) {
  6388. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6389. }
  6390. FS.truncate(stream.node, len);
  6391. }),
  6392. utime: (function(path, atime, mtime) {
  6393. var lookup = FS.lookupPath(path, {
  6394. follow: true
  6395. });
  6396. var node = lookup.node;
  6397. node.node_ops.setattr(node, {
  6398. timestamp: Math.max(atime, mtime)
  6399. });
  6400. }),
  6401. open: (function(path, flags, mode, fd_start, fd_end) {
  6402. if (path === "") {
  6403. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6404. }
  6405. flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags;
  6406. mode = typeof mode === "undefined" ? 438 : mode;
  6407. if (flags & 64) {
  6408. mode = mode & 4095 | 32768;
  6409. } else {
  6410. mode = 0;
  6411. }
  6412. var node;
  6413. if (typeof path === "object") {
  6414. node = path;
  6415. } else {
  6416. path = PATH.normalize(path);
  6417. try {
  6418. var lookup = FS.lookupPath(path, {
  6419. follow: !(flags & 131072)
  6420. });
  6421. node = lookup.node;
  6422. } catch (e) {}
  6423. }
  6424. var created = false;
  6425. if (flags & 64) {
  6426. if (node) {
  6427. if (flags & 128) {
  6428. throw new FS.ErrnoError(ERRNO_CODES.EEXIST);
  6429. }
  6430. } else {
  6431. node = FS.mknod(path, mode, 0);
  6432. created = true;
  6433. }
  6434. }
  6435. if (!node) {
  6436. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6437. }
  6438. if (FS.isChrdev(node.mode)) {
  6439. flags &= ~512;
  6440. }
  6441. if (flags & 65536 && !FS.isDir(node.mode)) {
  6442. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6443. }
  6444. if (!created) {
  6445. var err = FS.mayOpen(node, flags);
  6446. if (err) {
  6447. throw new FS.ErrnoError(err);
  6448. }
  6449. }
  6450. if (flags & 512) {
  6451. FS.truncate(node, 0);
  6452. }
  6453. flags &= ~(128 | 512);
  6454. var stream = FS.createStream({
  6455. node: node,
  6456. path: FS.getPath(node),
  6457. flags: flags,
  6458. seekable: true,
  6459. position: 0,
  6460. stream_ops: node.stream_ops,
  6461. ungotten: [],
  6462. error: false
  6463. }, fd_start, fd_end);
  6464. if (stream.stream_ops.open) {
  6465. stream.stream_ops.open(stream);
  6466. }
  6467. if (Module["logReadFiles"] && !(flags & 1)) {
  6468. if (!FS.readFiles) FS.readFiles = {};
  6469. if (!(path in FS.readFiles)) {
  6470. FS.readFiles[path] = 1;
  6471. err("read file: " + path);
  6472. }
  6473. }
  6474. try {
  6475. if (FS.trackingDelegate["onOpenFile"]) {
  6476. var trackingFlags = 0;
  6477. if ((flags & 2097155) !== 1) {
  6478. trackingFlags |= FS.tracking.openFlags.READ;
  6479. }
  6480. if ((flags & 2097155) !== 0) {
  6481. trackingFlags |= FS.tracking.openFlags.WRITE;
  6482. }
  6483. FS.trackingDelegate["onOpenFile"](path, trackingFlags);
  6484. }
  6485. } catch (e) {
  6486. console.log("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message);
  6487. }
  6488. return stream;
  6489. }),
  6490. close: (function(stream) {
  6491. if (FS.isClosed(stream)) {
  6492. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6493. }
  6494. if (stream.getdents) stream.getdents = null;
  6495. try {
  6496. if (stream.stream_ops.close) {
  6497. stream.stream_ops.close(stream);
  6498. }
  6499. } catch (e) {
  6500. throw e;
  6501. } finally {
  6502. FS.closeStream(stream.fd);
  6503. }
  6504. stream.fd = null;
  6505. }),
  6506. isClosed: (function(stream) {
  6507. return stream.fd === null;
  6508. }),
  6509. llseek: (function(stream, offset, whence) {
  6510. if (FS.isClosed(stream)) {
  6511. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6512. }
  6513. if (!stream.seekable || !stream.stream_ops.llseek) {
  6514. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6515. }
  6516. stream.position = stream.stream_ops.llseek(stream, offset, whence);
  6517. stream.ungotten = [];
  6518. return stream.position;
  6519. }),
  6520. read: (function(stream, buffer, offset, length, position) {
  6521. if (length < 0 || position < 0) {
  6522. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6523. }
  6524. if (FS.isClosed(stream)) {
  6525. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6526. }
  6527. if ((stream.flags & 2097155) === 1) {
  6528. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6529. }
  6530. if (FS.isDir(stream.node.mode)) {
  6531. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6532. }
  6533. if (!stream.stream_ops.read) {
  6534. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6535. }
  6536. var seeking = typeof position !== "undefined";
  6537. if (!seeking) {
  6538. position = stream.position;
  6539. } else if (!stream.seekable) {
  6540. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6541. }
  6542. var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
  6543. if (!seeking) stream.position += bytesRead;
  6544. return bytesRead;
  6545. }),
  6546. write: (function(stream, buffer, offset, length, position, canOwn) {
  6547. if (length < 0 || position < 0) {
  6548. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6549. }
  6550. if (FS.isClosed(stream)) {
  6551. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6552. }
  6553. if ((stream.flags & 2097155) === 0) {
  6554. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6555. }
  6556. if (FS.isDir(stream.node.mode)) {
  6557. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6558. }
  6559. if (!stream.stream_ops.write) {
  6560. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6561. }
  6562. if (stream.flags & 1024) {
  6563. FS.llseek(stream, 0, 2);
  6564. }
  6565. var seeking = typeof position !== "undefined";
  6566. if (!seeking) {
  6567. position = stream.position;
  6568. } else if (!stream.seekable) {
  6569. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6570. }
  6571. var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
  6572. if (!seeking) stream.position += bytesWritten;
  6573. try {
  6574. if (stream.path && FS.trackingDelegate["onWriteToFile"]) FS.trackingDelegate["onWriteToFile"](stream.path);
  6575. } catch (e) {
  6576. console.log("FS.trackingDelegate['onWriteToFile']('" + path + "') threw an exception: " + e.message);
  6577. }
  6578. return bytesWritten;
  6579. }),
  6580. allocate: (function(stream, offset, length) {
  6581. if (FS.isClosed(stream)) {
  6582. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6583. }
  6584. if (offset < 0 || length <= 0) {
  6585. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6586. }
  6587. if ((stream.flags & 2097155) === 0) {
  6588. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6589. }
  6590. if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) {
  6591. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6592. }
  6593. if (!stream.stream_ops.allocate) {
  6594. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  6595. }
  6596. stream.stream_ops.allocate(stream, offset, length);
  6597. }),
  6598. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  6599. if ((stream.flags & 2097155) === 1) {
  6600. throw new FS.ErrnoError(ERRNO_CODES.EACCES);
  6601. }
  6602. if (!stream.stream_ops.mmap) {
  6603. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6604. }
  6605. return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
  6606. }),
  6607. msync: (function(stream, buffer, offset, length, mmapFlags) {
  6608. if (!stream || !stream.stream_ops.msync) {
  6609. return 0;
  6610. }
  6611. return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags);
  6612. }),
  6613. munmap: (function(stream) {
  6614. return 0;
  6615. }),
  6616. ioctl: (function(stream, cmd, arg) {
  6617. if (!stream.stream_ops.ioctl) {
  6618. throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);
  6619. }
  6620. return stream.stream_ops.ioctl(stream, cmd, arg);
  6621. }),
  6622. readFile: (function(path, opts) {
  6623. opts = opts || {};
  6624. opts.flags = opts.flags || "r";
  6625. opts.encoding = opts.encoding || "binary";
  6626. if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
  6627. throw new Error('Invalid encoding type "' + opts.encoding + '"');
  6628. }
  6629. var ret;
  6630. var stream = FS.open(path, opts.flags);
  6631. var stat = FS.stat(path);
  6632. var length = stat.size;
  6633. var buf = new Uint8Array(length);
  6634. FS.read(stream, buf, 0, length, 0);
  6635. if (opts.encoding === "utf8") {
  6636. ret = UTF8ArrayToString(buf, 0);
  6637. } else if (opts.encoding === "binary") {
  6638. ret = buf;
  6639. }
  6640. FS.close(stream);
  6641. return ret;
  6642. }),
  6643. writeFile: (function(path, data, opts) {
  6644. opts = opts || {};
  6645. opts.flags = opts.flags || "w";
  6646. var stream = FS.open(path, opts.flags, opts.mode);
  6647. if (typeof data === "string") {
  6648. var buf = new Uint8Array(lengthBytesUTF8(data) + 1);
  6649. var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length);
  6650. FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn);
  6651. } else if (ArrayBuffer.isView(data)) {
  6652. FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
  6653. } else {
  6654. throw new Error("Unsupported data type");
  6655. }
  6656. FS.close(stream);
  6657. }),
  6658. cwd: (function() {
  6659. return FS.currentPath;
  6660. }),
  6661. chdir: (function(path) {
  6662. var lookup = FS.lookupPath(path, {
  6663. follow: true
  6664. });
  6665. if (lookup.node === null) {
  6666. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6667. }
  6668. if (!FS.isDir(lookup.node.mode)) {
  6669. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6670. }
  6671. var err = FS.nodePermissions(lookup.node, "x");
  6672. if (err) {
  6673. throw new FS.ErrnoError(err);
  6674. }
  6675. FS.currentPath = lookup.path;
  6676. }),
  6677. createDefaultDirectories: (function() {
  6678. FS.mkdir("/tmp");
  6679. FS.mkdir("/home");
  6680. FS.mkdir("/home/web_user");
  6681. }),
  6682. createDefaultDevices: (function() {
  6683. FS.mkdir("/dev");
  6684. FS.registerDevice(FS.makedev(1, 3), {
  6685. read: (function() {
  6686. return 0;
  6687. }),
  6688. write: (function(stream, buffer, offset, length, pos) {
  6689. return length;
  6690. })
  6691. });
  6692. FS.mkdev("/dev/null", FS.makedev(1, 3));
  6693. TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
  6694. TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
  6695. FS.mkdev("/dev/tty", FS.makedev(5, 0));
  6696. FS.mkdev("/dev/tty1", FS.makedev(6, 0));
  6697. var random_device;
  6698. if (typeof crypto !== "undefined") {
  6699. var randomBuffer = new Uint8Array(1);
  6700. random_device = (function() {
  6701. crypto.getRandomValues(randomBuffer);
  6702. return randomBuffer[0];
  6703. });
  6704. } else if (ENVIRONMENT_IS_NODE) {
  6705. random_device = (function() {
  6706. return require("crypto")["randomBytes"](1)[0];
  6707. });
  6708. } else {
  6709. random_device = (function() {
  6710. return Math.random() * 256 | 0;
  6711. });
  6712. }
  6713. FS.createDevice("/dev", "random", random_device);
  6714. FS.createDevice("/dev", "urandom", random_device);
  6715. FS.mkdir("/dev/shm");
  6716. FS.mkdir("/dev/shm/tmp");
  6717. }),
  6718. createSpecialDirectories: (function() {
  6719. FS.mkdir("/proc");
  6720. FS.mkdir("/proc/self");
  6721. FS.mkdir("/proc/self/fd");
  6722. FS.mount({
  6723. mount: (function() {
  6724. var node = FS.createNode("/proc/self", "fd", 16384 | 511, 73);
  6725. node.node_ops = {
  6726. lookup: (function(parent, name) {
  6727. var fd = +name;
  6728. var stream = FS.getStream(fd);
  6729. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6730. var ret = {
  6731. parent: null,
  6732. mount: {
  6733. mountpoint: "fake"
  6734. },
  6735. node_ops: {
  6736. readlink: (function() {
  6737. return stream.path;
  6738. })
  6739. }
  6740. };
  6741. ret.parent = ret;
  6742. return ret;
  6743. })
  6744. };
  6745. return node;
  6746. })
  6747. }, {}, "/proc/self/fd");
  6748. }),
  6749. createStandardStreams: (function() {
  6750. if (Module["stdin"]) {
  6751. FS.createDevice("/dev", "stdin", Module["stdin"]);
  6752. } else {
  6753. FS.symlink("/dev/tty", "/dev/stdin");
  6754. }
  6755. if (Module["stdout"]) {
  6756. FS.createDevice("/dev", "stdout", null, Module["stdout"]);
  6757. } else {
  6758. FS.symlink("/dev/tty", "/dev/stdout");
  6759. }
  6760. if (Module["stderr"]) {
  6761. FS.createDevice("/dev", "stderr", null, Module["stderr"]);
  6762. } else {
  6763. FS.symlink("/dev/tty1", "/dev/stderr");
  6764. }
  6765. var stdin = FS.open("/dev/stdin", "r");
  6766. assert(stdin.fd === 0, "invalid handle for stdin (" + stdin.fd + ")");
  6767. var stdout = FS.open("/dev/stdout", "w");
  6768. assert(stdout.fd === 1, "invalid handle for stdout (" + stdout.fd + ")");
  6769. var stderr = FS.open("/dev/stderr", "w");
  6770. assert(stderr.fd === 2, "invalid handle for stderr (" + stderr.fd + ")");
  6771. }),
  6772. ensureErrnoError: (function() {
  6773. if (FS.ErrnoError) return;
  6774. FS.ErrnoError = function ErrnoError(errno, node) {
  6775. this.node = node;
  6776. this.setErrno = (function(errno) {
  6777. this.errno = errno;
  6778. for (var key in ERRNO_CODES) {
  6779. if (ERRNO_CODES[key] === errno) {
  6780. this.code = key;
  6781. break;
  6782. }
  6783. }
  6784. });
  6785. this.setErrno(errno);
  6786. this.message = ERRNO_MESSAGES[errno];
  6787. if (this.stack) Object.defineProperty(this, "stack", {
  6788. value: (new Error).stack,
  6789. writable: true
  6790. });
  6791. if (this.stack) this.stack = demangleAll(this.stack);
  6792. };
  6793. FS.ErrnoError.prototype = new Error;
  6794. FS.ErrnoError.prototype.constructor = FS.ErrnoError;
  6795. [ ERRNO_CODES.ENOENT ].forEach((function(code) {
  6796. FS.genericErrors[code] = new FS.ErrnoError(code);
  6797. FS.genericErrors[code].stack = "<generic error, no stack>";
  6798. }));
  6799. }),
  6800. staticInit: (function() {
  6801. FS.ensureErrnoError();
  6802. FS.nameTable = new Array(4096);
  6803. FS.mount(MEMFS, {}, "/");
  6804. FS.createDefaultDirectories();
  6805. FS.createDefaultDevices();
  6806. FS.createSpecialDirectories();
  6807. FS.filesystems = {
  6808. "MEMFS": MEMFS,
  6809. "IDBFS": IDBFS,
  6810. "NODEFS": NODEFS,
  6811. "WORKERFS": WORKERFS
  6812. };
  6813. }),
  6814. init: (function(input, output, error) {
  6815. assert(!FS.init.initialized, "FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");
  6816. FS.init.initialized = true;
  6817. FS.ensureErrnoError();
  6818. Module["stdin"] = input || Module["stdin"];
  6819. Module["stdout"] = output || Module["stdout"];
  6820. Module["stderr"] = error || Module["stderr"];
  6821. FS.createStandardStreams();
  6822. }),
  6823. quit: (function() {
  6824. FS.init.initialized = false;
  6825. var fflush = Module["_fflush"];
  6826. if (fflush) fflush(0);
  6827. for (var i = 0; i < FS.streams.length; i++) {
  6828. var stream = FS.streams[i];
  6829. if (!stream) {
  6830. continue;
  6831. }
  6832. FS.close(stream);
  6833. }
  6834. }),
  6835. getMode: (function(canRead, canWrite) {
  6836. var mode = 0;
  6837. if (canRead) mode |= 292 | 73;
  6838. if (canWrite) mode |= 146;
  6839. return mode;
  6840. }),
  6841. joinPath: (function(parts, forceRelative) {
  6842. var path = PATH.join.apply(null, parts);
  6843. if (forceRelative && path[0] == "/") path = path.substr(1);
  6844. return path;
  6845. }),
  6846. absolutePath: (function(relative, base) {
  6847. return PATH.resolve(base, relative);
  6848. }),
  6849. standardizePath: (function(path) {
  6850. return PATH.normalize(path);
  6851. }),
  6852. findObject: (function(path, dontResolveLastLink) {
  6853. var ret = FS.analyzePath(path, dontResolveLastLink);
  6854. if (ret.exists) {
  6855. return ret.object;
  6856. } else {
  6857. ___setErrNo(ret.error);
  6858. return null;
  6859. }
  6860. }),
  6861. analyzePath: (function(path, dontResolveLastLink) {
  6862. try {
  6863. var lookup = FS.lookupPath(path, {
  6864. follow: !dontResolveLastLink
  6865. });
  6866. path = lookup.path;
  6867. } catch (e) {}
  6868. var ret = {
  6869. isRoot: false,
  6870. exists: false,
  6871. error: 0,
  6872. name: null,
  6873. path: null,
  6874. object: null,
  6875. parentExists: false,
  6876. parentPath: null,
  6877. parentObject: null
  6878. };
  6879. try {
  6880. var lookup = FS.lookupPath(path, {
  6881. parent: true
  6882. });
  6883. ret.parentExists = true;
  6884. ret.parentPath = lookup.path;
  6885. ret.parentObject = lookup.node;
  6886. ret.name = PATH.basename(path);
  6887. lookup = FS.lookupPath(path, {
  6888. follow: !dontResolveLastLink
  6889. });
  6890. ret.exists = true;
  6891. ret.path = lookup.path;
  6892. ret.object = lookup.node;
  6893. ret.name = lookup.node.name;
  6894. ret.isRoot = lookup.path === "/";
  6895. } catch (e) {
  6896. ret.error = e.errno;
  6897. }
  6898. return ret;
  6899. }),
  6900. createFolder: (function(parent, name, canRead, canWrite) {
  6901. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6902. var mode = FS.getMode(canRead, canWrite);
  6903. return FS.mkdir(path, mode);
  6904. }),
  6905. createPath: (function(parent, path, canRead, canWrite) {
  6906. parent = typeof parent === "string" ? parent : FS.getPath(parent);
  6907. var parts = path.split("/").reverse();
  6908. while (parts.length) {
  6909. var part = parts.pop();
  6910. if (!part) continue;
  6911. var current = PATH.join2(parent, part);
  6912. try {
  6913. FS.mkdir(current);
  6914. } catch (e) {}
  6915. parent = current;
  6916. }
  6917. return current;
  6918. }),
  6919. createFile: (function(parent, name, properties, canRead, canWrite) {
  6920. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6921. var mode = FS.getMode(canRead, canWrite);
  6922. return FS.create(path, mode);
  6923. }),
  6924. createDataFile: (function(parent, name, data, canRead, canWrite, canOwn) {
  6925. var path = name ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name) : parent;
  6926. var mode = FS.getMode(canRead, canWrite);
  6927. var node = FS.create(path, mode);
  6928. if (data) {
  6929. if (typeof data === "string") {
  6930. var arr = new Array(data.length);
  6931. for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
  6932. data = arr;
  6933. }
  6934. FS.chmod(node, mode | 146);
  6935. var stream = FS.open(node, "w");
  6936. FS.write(stream, data, 0, data.length, 0, canOwn);
  6937. FS.close(stream);
  6938. FS.chmod(node, mode);
  6939. }
  6940. return node;
  6941. }),
  6942. createDevice: (function(parent, name, input, output) {
  6943. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6944. var mode = FS.getMode(!!input, !!output);
  6945. if (!FS.createDevice.major) FS.createDevice.major = 64;
  6946. var dev = FS.makedev(FS.createDevice.major++, 0);
  6947. FS.registerDevice(dev, {
  6948. open: (function(stream) {
  6949. stream.seekable = false;
  6950. }),
  6951. close: (function(stream) {
  6952. if (output && output.buffer && output.buffer.length) {
  6953. output(10);
  6954. }
  6955. }),
  6956. read: (function(stream, buffer, offset, length, pos) {
  6957. var bytesRead = 0;
  6958. for (var i = 0; i < length; i++) {
  6959. var result;
  6960. try {
  6961. result = input();
  6962. } catch (e) {
  6963. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  6964. }
  6965. if (result === undefined && bytesRead === 0) {
  6966. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  6967. }
  6968. if (result === null || result === undefined) break;
  6969. bytesRead++;
  6970. buffer[offset + i] = result;
  6971. }
  6972. if (bytesRead) {
  6973. stream.node.timestamp = Date.now();
  6974. }
  6975. return bytesRead;
  6976. }),
  6977. write: (function(stream, buffer, offset, length, pos) {
  6978. for (var i = 0; i < length; i++) {
  6979. try {
  6980. output(buffer[offset + i]);
  6981. } catch (e) {
  6982. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  6983. }
  6984. }
  6985. if (length) {
  6986. stream.node.timestamp = Date.now();
  6987. }
  6988. return i;
  6989. })
  6990. });
  6991. return FS.mkdev(path, mode, dev);
  6992. }),
  6993. createLink: (function(parent, name, target, canRead, canWrite) {
  6994. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6995. return FS.symlink(target, path);
  6996. }),
  6997. forceLoadFile: (function(obj) {
  6998. if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
  6999. var success = true;
  7000. if (typeof XMLHttpRequest !== "undefined") {
  7001. throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
  7002. } else if (Module["read"]) {
  7003. try {
  7004. obj.contents = intArrayFromString(Module["read"](obj.url), true);
  7005. obj.usedBytes = obj.contents.length;
  7006. } catch (e) {
  7007. success = false;
  7008. }
  7009. } else {
  7010. throw new Error("Cannot load without read() or XMLHttpRequest.");
  7011. }
  7012. if (!success) ___setErrNo(ERRNO_CODES.EIO);
  7013. return success;
  7014. }),
  7015. createLazyFile: (function(parent, name, url, canRead, canWrite) {
  7016. function LazyUint8Array() {
  7017. this.lengthKnown = false;
  7018. this.chunks = [];
  7019. }
  7020. LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
  7021. if (idx > this.length - 1 || idx < 0) {
  7022. return undefined;
  7023. }
  7024. var chunkOffset = idx % this.chunkSize;
  7025. var chunkNum = idx / this.chunkSize | 0;
  7026. return this.getter(chunkNum)[chunkOffset];
  7027. };
  7028. LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
  7029. this.getter = getter;
  7030. };
  7031. LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
  7032. var xhr = new XMLHttpRequest;
  7033. xhr.open("HEAD", url, false);
  7034. xhr.send(null);
  7035. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7036. var datalength = Number(xhr.getResponseHeader("Content-length"));
  7037. var header;
  7038. var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
  7039. var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
  7040. var chunkSize = 1024 * 1024;
  7041. if (!hasByteServing) chunkSize = datalength;
  7042. var doXHR = (function(from, to) {
  7043. if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
  7044. if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!");
  7045. var xhr = new XMLHttpRequest;
  7046. xhr.open("GET", url, false);
  7047. if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
  7048. if (typeof Uint8Array != "undefined") xhr.responseType = "arraybuffer";
  7049. if (xhr.overrideMimeType) {
  7050. xhr.overrideMimeType("text/plain; charset=x-user-defined");
  7051. }
  7052. xhr.send(null);
  7053. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7054. if (xhr.response !== undefined) {
  7055. return new Uint8Array(xhr.response || []);
  7056. } else {
  7057. return intArrayFromString(xhr.responseText || "", true);
  7058. }
  7059. });
  7060. var lazyArray = this;
  7061. lazyArray.setDataGetter((function(chunkNum) {
  7062. var start = chunkNum * chunkSize;
  7063. var end = (chunkNum + 1) * chunkSize - 1;
  7064. end = Math.min(end, datalength - 1);
  7065. if (typeof lazyArray.chunks[chunkNum] === "undefined") {
  7066. lazyArray.chunks[chunkNum] = doXHR(start, end);
  7067. }
  7068. if (typeof lazyArray.chunks[chunkNum] === "undefined") throw new Error("doXHR failed!");
  7069. return lazyArray.chunks[chunkNum];
  7070. }));
  7071. if (usesGzip || !datalength) {
  7072. chunkSize = datalength = 1;
  7073. datalength = this.getter(0).length;
  7074. chunkSize = datalength;
  7075. console.log("LazyFiles on gzip forces download of the whole file when length is accessed");
  7076. }
  7077. this._length = datalength;
  7078. this._chunkSize = chunkSize;
  7079. this.lengthKnown = true;
  7080. };
  7081. if (typeof XMLHttpRequest !== "undefined") {
  7082. if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
  7083. var lazyArray = new LazyUint8Array;
  7084. Object.defineProperties(lazyArray, {
  7085. length: {
  7086. get: (function() {
  7087. if (!this.lengthKnown) {
  7088. this.cacheLength();
  7089. }
  7090. return this._length;
  7091. })
  7092. },
  7093. chunkSize: {
  7094. get: (function() {
  7095. if (!this.lengthKnown) {
  7096. this.cacheLength();
  7097. }
  7098. return this._chunkSize;
  7099. })
  7100. }
  7101. });
  7102. var properties = {
  7103. isDevice: false,
  7104. contents: lazyArray
  7105. };
  7106. } else {
  7107. var properties = {
  7108. isDevice: false,
  7109. url: url
  7110. };
  7111. }
  7112. var node = FS.createFile(parent, name, properties, canRead, canWrite);
  7113. if (properties.contents) {
  7114. node.contents = properties.contents;
  7115. } else if (properties.url) {
  7116. node.contents = null;
  7117. node.url = properties.url;
  7118. }
  7119. Object.defineProperties(node, {
  7120. usedBytes: {
  7121. get: (function() {
  7122. return this.contents.length;
  7123. })
  7124. }
  7125. });
  7126. var stream_ops = {};
  7127. var keys = Object.keys(node.stream_ops);
  7128. keys.forEach((function(key) {
  7129. var fn = node.stream_ops[key];
  7130. stream_ops[key] = function forceLoadLazyFile() {
  7131. if (!FS.forceLoadFile(node)) {
  7132. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7133. }
  7134. return fn.apply(null, arguments);
  7135. };
  7136. }));
  7137. stream_ops.read = function stream_ops_read(stream, buffer, offset, length, position) {
  7138. if (!FS.forceLoadFile(node)) {
  7139. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7140. }
  7141. var contents = stream.node.contents;
  7142. if (position >= contents.length) return 0;
  7143. var size = Math.min(contents.length - position, length);
  7144. assert(size >= 0);
  7145. if (contents.slice) {
  7146. for (var i = 0; i < size; i++) {
  7147. buffer[offset + i] = contents[position + i];
  7148. }
  7149. } else {
  7150. for (var i = 0; i < size; i++) {
  7151. buffer[offset + i] = contents.get(position + i);
  7152. }
  7153. }
  7154. return size;
  7155. };
  7156. node.stream_ops = stream_ops;
  7157. return node;
  7158. }),
  7159. createPreloadedFile: (function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
  7160. Browser.init();
  7161. var fullname = name ? PATH.resolve(PATH.join2(parent, name)) : parent;
  7162. var dep = getUniqueRunDependency("cp " + fullname);
  7163. function processData(byteArray) {
  7164. function finish(byteArray) {
  7165. if (preFinish) preFinish();
  7166. if (!dontCreateFile) {
  7167. FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
  7168. }
  7169. if (onload) onload();
  7170. removeRunDependency(dep);
  7171. }
  7172. var handled = false;
  7173. Module["preloadPlugins"].forEach((function(plugin) {
  7174. if (handled) return;
  7175. if (plugin["canHandle"](fullname)) {
  7176. plugin["handle"](byteArray, fullname, finish, (function() {
  7177. if (onerror) onerror();
  7178. removeRunDependency(dep);
  7179. }));
  7180. handled = true;
  7181. }
  7182. }));
  7183. if (!handled) finish(byteArray);
  7184. }
  7185. addRunDependency(dep);
  7186. if (typeof url == "string") {
  7187. Browser.asyncLoad(url, (function(byteArray) {
  7188. processData(byteArray);
  7189. }), onerror);
  7190. } else {
  7191. processData(url);
  7192. }
  7193. }),
  7194. indexedDB: (function() {
  7195. return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  7196. }),
  7197. DB_NAME: (function() {
  7198. return "EM_FS_" + window.location.pathname;
  7199. }),
  7200. DB_VERSION: 20,
  7201. DB_STORE_NAME: "FILE_DATA",
  7202. saveFilesToDB: (function(paths, onload, onerror) {
  7203. onload = onload || (function() {});
  7204. onerror = onerror || (function() {});
  7205. var indexedDB = FS.indexedDB();
  7206. try {
  7207. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7208. } catch (e) {
  7209. return onerror(e);
  7210. }
  7211. openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
  7212. console.log("creating db");
  7213. var db = openRequest.result;
  7214. db.createObjectStore(FS.DB_STORE_NAME);
  7215. };
  7216. openRequest.onsuccess = function openRequest_onsuccess() {
  7217. var db = openRequest.result;
  7218. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readwrite");
  7219. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7220. var ok = 0, fail = 0, total = paths.length;
  7221. function finish() {
  7222. if (fail == 0) onload(); else onerror();
  7223. }
  7224. paths.forEach((function(path) {
  7225. var putRequest = files.put(FS.analyzePath(path).object.contents, path);
  7226. putRequest.onsuccess = function putRequest_onsuccess() {
  7227. ok++;
  7228. if (ok + fail == total) finish();
  7229. };
  7230. putRequest.onerror = function putRequest_onerror() {
  7231. fail++;
  7232. if (ok + fail == total) finish();
  7233. };
  7234. }));
  7235. transaction.onerror = onerror;
  7236. };
  7237. openRequest.onerror = onerror;
  7238. }),
  7239. loadFilesFromDB: (function(paths, onload, onerror) {
  7240. onload = onload || (function() {});
  7241. onerror = onerror || (function() {});
  7242. var indexedDB = FS.indexedDB();
  7243. try {
  7244. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7245. } catch (e) {
  7246. return onerror(e);
  7247. }
  7248. openRequest.onupgradeneeded = onerror;
  7249. openRequest.onsuccess = function openRequest_onsuccess() {
  7250. var db = openRequest.result;
  7251. try {
  7252. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readonly");
  7253. } catch (e) {
  7254. onerror(e);
  7255. return;
  7256. }
  7257. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7258. var ok = 0, fail = 0, total = paths.length;
  7259. function finish() {
  7260. if (fail == 0) onload(); else onerror();
  7261. }
  7262. paths.forEach((function(path) {
  7263. var getRequest = files.get(path);
  7264. getRequest.onsuccess = function getRequest_onsuccess() {
  7265. if (FS.analyzePath(path).exists) {
  7266. FS.unlink(path);
  7267. }
  7268. FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
  7269. ok++;
  7270. if (ok + fail == total) finish();
  7271. };
  7272. getRequest.onerror = function getRequest_onerror() {
  7273. fail++;
  7274. if (ok + fail == total) finish();
  7275. };
  7276. }));
  7277. transaction.onerror = onerror;
  7278. };
  7279. openRequest.onerror = onerror;
  7280. })
  7281. };
  7282. var SYSCALLS = {
  7283. DEFAULT_POLLMASK: 5,
  7284. mappings: {},
  7285. umask: 511,
  7286. calculateAt: (function(dirfd, path) {
  7287. if (path[0] !== "/") {
  7288. var dir;
  7289. if (dirfd === -100) {
  7290. dir = FS.cwd();
  7291. } else {
  7292. var dirstream = FS.getStream(dirfd);
  7293. if (!dirstream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7294. dir = dirstream.path;
  7295. }
  7296. path = PATH.join2(dir, path);
  7297. }
  7298. return path;
  7299. }),
  7300. doStat: (function(func, path, buf) {
  7301. try {
  7302. var stat = func(path);
  7303. } catch (e) {
  7304. if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) {
  7305. return -ERRNO_CODES.ENOTDIR;
  7306. }
  7307. throw e;
  7308. }
  7309. HEAP32[buf >> 2] = stat.dev;
  7310. HEAP32[buf + 4 >> 2] = 0;
  7311. HEAP32[buf + 8 >> 2] = stat.ino;
  7312. HEAP32[buf + 12 >> 2] = stat.mode;
  7313. HEAP32[buf + 16 >> 2] = stat.nlink;
  7314. HEAP32[buf + 20 >> 2] = stat.uid;
  7315. HEAP32[buf + 24 >> 2] = stat.gid;
  7316. HEAP32[buf + 28 >> 2] = stat.rdev;
  7317. HEAP32[buf + 32 >> 2] = 0;
  7318. HEAP32[buf + 36 >> 2] = stat.size;
  7319. HEAP32[buf + 40 >> 2] = 4096;
  7320. HEAP32[buf + 44 >> 2] = stat.blocks;
  7321. HEAP32[buf + 48 >> 2] = stat.atime.getTime() / 1e3 | 0;
  7322. HEAP32[buf + 52 >> 2] = 0;
  7323. HEAP32[buf + 56 >> 2] = stat.mtime.getTime() / 1e3 | 0;
  7324. HEAP32[buf + 60 >> 2] = 0;
  7325. HEAP32[buf + 64 >> 2] = stat.ctime.getTime() / 1e3 | 0;
  7326. HEAP32[buf + 68 >> 2] = 0;
  7327. HEAP32[buf + 72 >> 2] = stat.ino;
  7328. return 0;
  7329. }),
  7330. doMsync: (function(addr, stream, len, flags) {
  7331. var buffer = new Uint8Array(HEAPU8.subarray(addr, addr + len));
  7332. FS.msync(stream, buffer, 0, len, flags);
  7333. }),
  7334. doMkdir: (function(path, mode) {
  7335. path = PATH.normalize(path);
  7336. if (path[path.length - 1] === "/") path = path.substr(0, path.length - 1);
  7337. FS.mkdir(path, mode, 0);
  7338. return 0;
  7339. }),
  7340. doMknod: (function(path, mode, dev) {
  7341. switch (mode & 61440) {
  7342. case 32768:
  7343. case 8192:
  7344. case 24576:
  7345. case 4096:
  7346. case 49152:
  7347. break;
  7348. default:
  7349. return -ERRNO_CODES.EINVAL;
  7350. }
  7351. FS.mknod(path, mode, dev);
  7352. return 0;
  7353. }),
  7354. doReadlink: (function(path, buf, bufsize) {
  7355. if (bufsize <= 0) return -ERRNO_CODES.EINVAL;
  7356. var ret = FS.readlink(path);
  7357. var len = Math.min(bufsize, lengthBytesUTF8(ret));
  7358. var endChar = HEAP8[buf + len];
  7359. stringToUTF8(ret, buf, bufsize + 1);
  7360. HEAP8[buf + len] = endChar;
  7361. return len;
  7362. }),
  7363. doAccess: (function(path, amode) {
  7364. if (amode & ~7) {
  7365. return -ERRNO_CODES.EINVAL;
  7366. }
  7367. var node;
  7368. var lookup = FS.lookupPath(path, {
  7369. follow: true
  7370. });
  7371. node = lookup.node;
  7372. var perms = "";
  7373. if (amode & 4) perms += "r";
  7374. if (amode & 2) perms += "w";
  7375. if (amode & 1) perms += "x";
  7376. if (perms && FS.nodePermissions(node, perms)) {
  7377. return -ERRNO_CODES.EACCES;
  7378. }
  7379. return 0;
  7380. }),
  7381. doDup: (function(path, flags, suggestFD) {
  7382. var suggest = FS.getStream(suggestFD);
  7383. if (suggest) FS.close(suggest);
  7384. return FS.open(path, flags, 0, suggestFD, suggestFD).fd;
  7385. }),
  7386. doReadv: (function(stream, iov, iovcnt, offset) {
  7387. var ret = 0;
  7388. for (var i = 0; i < iovcnt; i++) {
  7389. var ptr = HEAP32[iov + i * 8 >> 2];
  7390. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7391. var curr = FS.read(stream, HEAP8, ptr, len, offset);
  7392. if (curr < 0) return -1;
  7393. ret += curr;
  7394. if (curr < len) break;
  7395. }
  7396. return ret;
  7397. }),
  7398. doWritev: (function(stream, iov, iovcnt, offset) {
  7399. var ret = 0;
  7400. for (var i = 0; i < iovcnt; i++) {
  7401. var ptr = HEAP32[iov + i * 8 >> 2];
  7402. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7403. var curr = FS.write(stream, HEAP8, ptr, len, offset);
  7404. if (curr < 0) return -1;
  7405. ret += curr;
  7406. }
  7407. return ret;
  7408. }),
  7409. varargs: 0,
  7410. get: (function(varargs) {
  7411. SYSCALLS.varargs += 4;
  7412. var ret = HEAP32[SYSCALLS.varargs - 4 >> 2];
  7413. return ret;
  7414. }),
  7415. getStr: (function() {
  7416. var ret = Pointer_stringify(SYSCALLS.get());
  7417. return ret;
  7418. }),
  7419. getStreamFromFD: (function() {
  7420. var stream = FS.getStream(SYSCALLS.get());
  7421. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7422. return stream;
  7423. }),
  7424. getSocketFromFD: (function() {
  7425. var socket = SOCKFS.getSocket(SYSCALLS.get());
  7426. if (!socket) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7427. return socket;
  7428. }),
  7429. getSocketAddress: (function(allowNull) {
  7430. var addrp = SYSCALLS.get(), addrlen = SYSCALLS.get();
  7431. if (allowNull && addrp === 0) return null;
  7432. var info = __read_sockaddr(addrp, addrlen);
  7433. if (info.errno) throw new FS.ErrnoError(info.errno);
  7434. info.addr = DNS.lookup_addr(info.addr) || info.addr;
  7435. return info;
  7436. }),
  7437. get64: (function() {
  7438. var low = SYSCALLS.get(), high = SYSCALLS.get();
  7439. if (low >= 0) assert(high === 0); else assert(high === -1);
  7440. return low;
  7441. }),
  7442. getZero: (function() {
  7443. assert(SYSCALLS.get() === 0);
  7444. })
  7445. };
  7446. function ___syscall10(which, varargs) {
  7447. SYSCALLS.varargs = varargs;
  7448. try {
  7449. var path = SYSCALLS.getStr();
  7450. FS.unlink(path);
  7451. return 0;
  7452. } catch (e) {
  7453. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  7454. return -e.errno;
  7455. }
  7456. }
  7457. var SOCKFS = {
  7458. mount: (function(mount) {
  7459. Module["websocket"] = Module["websocket"] && "object" === typeof Module["websocket"] ? Module["websocket"] : {};
  7460. Module["websocket"]._callbacks = {};
  7461. Module["websocket"]["on"] = (function(event, callback) {
  7462. if ("function" === typeof callback) {
  7463. this._callbacks[event] = callback;
  7464. }
  7465. return this;
  7466. });
  7467. Module["websocket"].emit = (function(event, param) {
  7468. if ("function" === typeof this._callbacks[event]) {
  7469. this._callbacks[event].call(this, param);
  7470. }
  7471. });
  7472. return FS.createNode(null, "/", 16384 | 511, 0);
  7473. }),
  7474. createSocket: (function(family, type, protocol) {
  7475. var streaming = type == 1;
  7476. if (protocol) {
  7477. assert(streaming == (protocol == 6));
  7478. }
  7479. var sock = {
  7480. family: family,
  7481. type: type,
  7482. protocol: protocol,
  7483. server: null,
  7484. error: null,
  7485. peers: {},
  7486. pending: [],
  7487. recv_queue: [],
  7488. sock_ops: SOCKFS.websocket_sock_ops
  7489. };
  7490. var name = SOCKFS.nextname();
  7491. var node = FS.createNode(SOCKFS.root, name, 49152, 0);
  7492. node.sock = sock;
  7493. var stream = FS.createStream({
  7494. path: name,
  7495. node: node,
  7496. flags: FS.modeStringToFlags("r+"),
  7497. seekable: false,
  7498. stream_ops: SOCKFS.stream_ops
  7499. });
  7500. sock.stream = stream;
  7501. return sock;
  7502. }),
  7503. getSocket: (function(fd) {
  7504. var stream = FS.getStream(fd);
  7505. if (!stream || !FS.isSocket(stream.node.mode)) {
  7506. return null;
  7507. }
  7508. return stream.node.sock;
  7509. }),
  7510. stream_ops: {
  7511. poll: (function(stream) {
  7512. var sock = stream.node.sock;
  7513. return sock.sock_ops.poll(sock);
  7514. }),
  7515. ioctl: (function(stream, request, varargs) {
  7516. var sock = stream.node.sock;
  7517. return sock.sock_ops.ioctl(sock, request, varargs);
  7518. }),
  7519. read: (function(stream, buffer, offset, length, position) {
  7520. var sock = stream.node.sock;
  7521. var msg = sock.sock_ops.recvmsg(sock, length);
  7522. if (!msg) {
  7523. return 0;
  7524. }
  7525. buffer.set(msg.buffer, offset);
  7526. return msg.buffer.length;
  7527. }),
  7528. write: (function(stream, buffer, offset, length, position) {
  7529. var sock = stream.node.sock;
  7530. return sock.sock_ops.sendmsg(sock, buffer, offset, length);
  7531. }),
  7532. close: (function(stream) {
  7533. var sock = stream.node.sock;
  7534. sock.sock_ops.close(sock);
  7535. })
  7536. },
  7537. nextname: (function() {
  7538. if (!SOCKFS.nextname.current) {
  7539. SOCKFS.nextname.current = 0;
  7540. }
  7541. return "socket[" + SOCKFS.nextname.current++ + "]";
  7542. }),
  7543. websocket_sock_ops: {
  7544. createPeer: (function(sock, addr, port) {
  7545. var ws;
  7546. if (typeof addr === "object") {
  7547. ws = addr;
  7548. addr = null;
  7549. port = null;
  7550. }
  7551. if (ws) {
  7552. if (ws._socket) {
  7553. addr = ws._socket.remoteAddress;
  7554. port = ws._socket.remotePort;
  7555. } else {
  7556. var result = /ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);
  7557. if (!result) {
  7558. throw new Error("WebSocket URL must be in the format ws(s)://address:port");
  7559. }
  7560. addr = result[1];
  7561. port = parseInt(result[2], 10);
  7562. }
  7563. } else {
  7564. try {
  7565. var runtimeConfig = Module["websocket"] && "object" === typeof Module["websocket"];
  7566. var url = "ws:#".replace("#", "//");
  7567. if (runtimeConfig) {
  7568. if ("string" === typeof Module["websocket"]["url"]) {
  7569. url = Module["websocket"]["url"];
  7570. }
  7571. }
  7572. if (url === "ws://" || url === "wss://") {
  7573. var parts = addr.split("/");
  7574. url = url + parts[0] + ":" + port + "/" + parts.slice(1).join("/");
  7575. }
  7576. var subProtocols = "binary";
  7577. if (runtimeConfig) {
  7578. if ("string" === typeof Module["websocket"]["subprotocol"]) {
  7579. subProtocols = Module["websocket"]["subprotocol"];
  7580. }
  7581. }
  7582. subProtocols = subProtocols.replace(/^ +| +$/g, "").split(/ *, */);
  7583. var opts = ENVIRONMENT_IS_NODE ? {
  7584. "protocol": subProtocols.toString()
  7585. } : subProtocols;
  7586. if (runtimeConfig && null === Module["websocket"]["subprotocol"]) {
  7587. subProtocols = "null";
  7588. opts = undefined;
  7589. }
  7590. var WebSocketConstructor;
  7591. if (ENVIRONMENT_IS_NODE) {
  7592. WebSocketConstructor = require("ws");
  7593. } else if (ENVIRONMENT_IS_WEB) {
  7594. WebSocketConstructor = window["WebSocket"];
  7595. } else {
  7596. WebSocketConstructor = WebSocket;
  7597. }
  7598. ws = new WebSocketConstructor(url, opts);
  7599. ws.binaryType = "arraybuffer";
  7600. } catch (e) {
  7601. throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH);
  7602. }
  7603. }
  7604. var peer = {
  7605. addr: addr,
  7606. port: port,
  7607. socket: ws,
  7608. dgram_send_queue: []
  7609. };
  7610. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7611. SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
  7612. if (sock.type === 2 && typeof sock.sport !== "undefined") {
  7613. peer.dgram_send_queue.push(new Uint8Array([ 255, 255, 255, 255, "p".charCodeAt(0), "o".charCodeAt(0), "r".charCodeAt(0), "t".charCodeAt(0), (sock.sport & 65280) >> 8, sock.sport & 255 ]));
  7614. }
  7615. return peer;
  7616. }),
  7617. getPeer: (function(sock, addr, port) {
  7618. return sock.peers[addr + ":" + port];
  7619. }),
  7620. addPeer: (function(sock, peer) {
  7621. sock.peers[peer.addr + ":" + peer.port] = peer;
  7622. }),
  7623. removePeer: (function(sock, peer) {
  7624. delete sock.peers[peer.addr + ":" + peer.port];
  7625. }),
  7626. handlePeerEvents: (function(sock, peer) {
  7627. var first = true;
  7628. var handleOpen = (function() {
  7629. Module["websocket"].emit("open", sock.stream.fd);
  7630. try {
  7631. var queued = peer.dgram_send_queue.shift();
  7632. while (queued) {
  7633. peer.socket.send(queued);
  7634. queued = peer.dgram_send_queue.shift();
  7635. }
  7636. } catch (e) {
  7637. peer.socket.close();
  7638. }
  7639. });
  7640. function handleMessage(data) {
  7641. assert(typeof data !== "string" && data.byteLength !== undefined);
  7642. if (data.byteLength == 0) {
  7643. return;
  7644. }
  7645. data = new Uint8Array(data);
  7646. var wasfirst = first;
  7647. first = false;
  7648. if (wasfirst && data.length === 10 && data[0] === 255 && data[1] === 255 && data[2] === 255 && data[3] === 255 && data[4] === "p".charCodeAt(0) && data[5] === "o".charCodeAt(0) && data[6] === "r".charCodeAt(0) && data[7] === "t".charCodeAt(0)) {
  7649. var newport = data[8] << 8 | data[9];
  7650. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7651. peer.port = newport;
  7652. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7653. return;
  7654. }
  7655. sock.recv_queue.push({
  7656. addr: peer.addr,
  7657. port: peer.port,
  7658. data: data
  7659. });
  7660. Module["websocket"].emit("message", sock.stream.fd);
  7661. }
  7662. if (ENVIRONMENT_IS_NODE) {
  7663. peer.socket.on("open", handleOpen);
  7664. peer.socket.on("message", (function(data, flags) {
  7665. if (!flags.binary) {
  7666. return;
  7667. }
  7668. handleMessage((new Uint8Array(data)).buffer);
  7669. }));
  7670. peer.socket.on("close", (function() {
  7671. Module["websocket"].emit("close", sock.stream.fd);
  7672. }));
  7673. peer.socket.on("error", (function(error) {
  7674. sock.error = ERRNO_CODES.ECONNREFUSED;
  7675. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7676. }));
  7677. } else {
  7678. peer.socket.onopen = handleOpen;
  7679. peer.socket.onclose = (function() {
  7680. Module["websocket"].emit("close", sock.stream.fd);
  7681. });
  7682. peer.socket.onmessage = function peer_socket_onmessage(event) {
  7683. handleMessage(event.data);
  7684. };
  7685. peer.socket.onerror = (function(error) {
  7686. sock.error = ERRNO_CODES.ECONNREFUSED;
  7687. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7688. });
  7689. }
  7690. }),
  7691. poll: (function(sock) {
  7692. if (sock.type === 1 && sock.server) {
  7693. return sock.pending.length ? 64 | 1 : 0;
  7694. }
  7695. var mask = 0;
  7696. var dest = sock.type === 1 ? SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) : null;
  7697. if (sock.recv_queue.length || !dest || dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7698. mask |= 64 | 1;
  7699. }
  7700. if (!dest || dest && dest.socket.readyState === dest.socket.OPEN) {
  7701. mask |= 4;
  7702. }
  7703. if (dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7704. mask |= 16;
  7705. }
  7706. return mask;
  7707. }),
  7708. ioctl: (function(sock, request, arg) {
  7709. switch (request) {
  7710. case 21531:
  7711. var bytes = 0;
  7712. if (sock.recv_queue.length) {
  7713. bytes = sock.recv_queue[0].data.length;
  7714. }
  7715. HEAP32[arg >> 2] = bytes;
  7716. return 0;
  7717. default:
  7718. return ERRNO_CODES.EINVAL;
  7719. }
  7720. }),
  7721. close: (function(sock) {
  7722. if (sock.server) {
  7723. try {
  7724. sock.server.close();
  7725. } catch (e) {}
  7726. sock.server = null;
  7727. }
  7728. var peers = Object.keys(sock.peers);
  7729. for (var i = 0; i < peers.length; i++) {
  7730. var peer = sock.peers[peers[i]];
  7731. try {
  7732. peer.socket.close();
  7733. } catch (e) {}
  7734. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7735. }
  7736. return 0;
  7737. }),
  7738. bind: (function(sock, addr, port) {
  7739. if (typeof sock.saddr !== "undefined" || typeof sock.sport !== "undefined") {
  7740. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7741. }
  7742. sock.saddr = addr;
  7743. sock.sport = port;
  7744. if (sock.type === 2) {
  7745. if (sock.server) {
  7746. sock.server.close();
  7747. sock.server = null;
  7748. }
  7749. try {
  7750. sock.sock_ops.listen(sock, 0);
  7751. } catch (e) {
  7752. if (!(e instanceof FS.ErrnoError)) throw e;
  7753. if (e.errno !== ERRNO_CODES.EOPNOTSUPP) throw e;
  7754. }
  7755. }
  7756. }),
  7757. connect: (function(sock, addr, port) {
  7758. if (sock.server) {
  7759. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7760. }
  7761. if (typeof sock.daddr !== "undefined" && typeof sock.dport !== "undefined") {
  7762. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7763. if (dest) {
  7764. if (dest.socket.readyState === dest.socket.CONNECTING) {
  7765. throw new FS.ErrnoError(ERRNO_CODES.EALREADY);
  7766. } else {
  7767. throw new FS.ErrnoError(ERRNO_CODES.EISCONN);
  7768. }
  7769. }
  7770. }
  7771. var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7772. sock.daddr = peer.addr;
  7773. sock.dport = peer.port;
  7774. throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS);
  7775. }),
  7776. listen: (function(sock, backlog) {
  7777. if (!ENVIRONMENT_IS_NODE) {
  7778. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7779. }
  7780. if (sock.server) {
  7781. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7782. }
  7783. var WebSocketServer = require("ws").Server;
  7784. var host = sock.saddr;
  7785. sock.server = new WebSocketServer({
  7786. host: host,
  7787. port: sock.sport
  7788. });
  7789. Module["websocket"].emit("listen", sock.stream.fd);
  7790. sock.server.on("connection", (function(ws) {
  7791. if (sock.type === 1) {
  7792. var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
  7793. var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
  7794. newsock.daddr = peer.addr;
  7795. newsock.dport = peer.port;
  7796. sock.pending.push(newsock);
  7797. Module["websocket"].emit("connection", newsock.stream.fd);
  7798. } else {
  7799. SOCKFS.websocket_sock_ops.createPeer(sock, ws);
  7800. Module["websocket"].emit("connection", sock.stream.fd);
  7801. }
  7802. }));
  7803. sock.server.on("closed", (function() {
  7804. Module["websocket"].emit("close", sock.stream.fd);
  7805. sock.server = null;
  7806. }));
  7807. sock.server.on("error", (function(error) {
  7808. sock.error = ERRNO_CODES.EHOSTUNREACH;
  7809. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "EHOSTUNREACH: Host is unreachable" ]);
  7810. }));
  7811. }),
  7812. accept: (function(listensock) {
  7813. if (!listensock.server) {
  7814. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7815. }
  7816. var newsock = listensock.pending.shift();
  7817. newsock.stream.flags = listensock.stream.flags;
  7818. return newsock;
  7819. }),
  7820. getname: (function(sock, peer) {
  7821. var addr, port;
  7822. if (peer) {
  7823. if (sock.daddr === undefined || sock.dport === undefined) {
  7824. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7825. }
  7826. addr = sock.daddr;
  7827. port = sock.dport;
  7828. } else {
  7829. addr = sock.saddr || 0;
  7830. port = sock.sport || 0;
  7831. }
  7832. return {
  7833. addr: addr,
  7834. port: port
  7835. };
  7836. }),
  7837. sendmsg: (function(sock, buffer, offset, length, addr, port) {
  7838. if (sock.type === 2) {
  7839. if (addr === undefined || port === undefined) {
  7840. addr = sock.daddr;
  7841. port = sock.dport;
  7842. }
  7843. if (addr === undefined || port === undefined) {
  7844. throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ);
  7845. }
  7846. } else {
  7847. addr = sock.daddr;
  7848. port = sock.dport;
  7849. }
  7850. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
  7851. if (sock.type === 1) {
  7852. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7853. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7854. } else if (dest.socket.readyState === dest.socket.CONNECTING) {
  7855. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7856. }
  7857. }
  7858. if (ArrayBuffer.isView(buffer)) {
  7859. offset += buffer.byteOffset;
  7860. buffer = buffer.buffer;
  7861. }
  7862. var data;
  7863. data = buffer.slice(offset, offset + length);
  7864. if (sock.type === 2) {
  7865. if (!dest || dest.socket.readyState !== dest.socket.OPEN) {
  7866. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7867. dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7868. }
  7869. dest.dgram_send_queue.push(data);
  7870. return length;
  7871. }
  7872. }
  7873. try {
  7874. dest.socket.send(data);
  7875. return length;
  7876. } catch (e) {
  7877. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7878. }
  7879. }),
  7880. recvmsg: (function(sock, length) {
  7881. if (sock.type === 1 && sock.server) {
  7882. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7883. }
  7884. var queued = sock.recv_queue.shift();
  7885. if (!queued) {
  7886. if (sock.type === 1) {
  7887. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7888. if (!dest) {
  7889. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7890. } else if (dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7891. return null;
  7892. } else {
  7893. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7894. }
  7895. } else {
  7896. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7897. }
  7898. }
  7899. var queuedLength = queued.data.byteLength || queued.data.length;
  7900. var queuedOffset = queued.data.byteOffset || 0;
  7901. var queuedBuffer = queued.data.buffer || queued.data;
  7902. var bytesRead = Math.min(length, queuedLength);
  7903. var res = {
  7904. buffer: new Uint8Array(queuedBuffer, queuedOffset, bytesRead),
  7905. addr: queued.addr,
  7906. port: queued.port
  7907. };
  7908. if (sock.type === 1 && bytesRead < queuedLength) {
  7909. var bytesRemaining = queuedLength - bytesRead;
  7910. queued.data = new Uint8Array(queuedBuffer, queuedOffset + bytesRead, bytesRemaining);
  7911. sock.recv_queue.unshift(queued);
  7912. }
  7913. return res;
  7914. })
  7915. }
  7916. };
  7917. function __inet_pton4_raw(str) {
  7918. var b = str.split(".");
  7919. for (var i = 0; i < 4; i++) {
  7920. var tmp = Number(b[i]);
  7921. if (isNaN(tmp)) return null;
  7922. b[i] = tmp;
  7923. }
  7924. return (b[0] | b[1] << 8 | b[2] << 16 | b[3] << 24) >>> 0;
  7925. }
  7926. function __inet_pton6_raw(str) {
  7927. var words;
  7928. var w, offset, z;
  7929. var valid6regx = /^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;
  7930. var parts = [];
  7931. if (!valid6regx.test(str)) {
  7932. return null;
  7933. }
  7934. if (str === "::") {
  7935. return [ 0, 0, 0, 0, 0, 0, 0, 0 ];
  7936. }
  7937. if (str.indexOf("::") === 0) {
  7938. str = str.replace("::", "Z:");
  7939. } else {
  7940. str = str.replace("::", ":Z:");
  7941. }
  7942. if (str.indexOf(".") > 0) {
  7943. str = str.replace(new RegExp("[.]", "g"), ":");
  7944. words = str.split(":");
  7945. words[words.length - 4] = parseInt(words[words.length - 4]) + parseInt(words[words.length - 3]) * 256;
  7946. words[words.length - 3] = parseInt(words[words.length - 2]) + parseInt(words[words.length - 1]) * 256;
  7947. words = words.slice(0, words.length - 2);
  7948. } else {
  7949. words = str.split(":");
  7950. }
  7951. offset = 0;
  7952. z = 0;
  7953. for (w = 0; w < words.length; w++) {
  7954. if (typeof words[w] === "string") {
  7955. if (words[w] === "Z") {
  7956. for (z = 0; z < 8 - words.length + 1; z++) {
  7957. parts[w + z] = 0;
  7958. }
  7959. offset = z - 1;
  7960. } else {
  7961. parts[w + offset] = _htons(parseInt(words[w], 16));
  7962. }
  7963. } else {
  7964. parts[w + offset] = words[w];
  7965. }
  7966. }
  7967. return [ parts[1] << 16 | parts[0], parts[3] << 16 | parts[2], parts[5] << 16 | parts[4], parts[7] << 16 | parts[6] ];
  7968. }
  7969. var DNS = {
  7970. address_map: {
  7971. id: 1,
  7972. addrs: {},
  7973. names: {}
  7974. },
  7975. lookup_name: (function(name) {
  7976. var res = __inet_pton4_raw(name);
  7977. if (res !== null) {
  7978. return name;
  7979. }
  7980. res = __inet_pton6_raw(name);
  7981. if (res !== null) {
  7982. return name;
  7983. }
  7984. var addr;
  7985. if (DNS.address_map.addrs[name]) {
  7986. addr = DNS.address_map.addrs[name];
  7987. } else {
  7988. var id = DNS.address_map.id++;
  7989. assert(id < 65535, "exceeded max address mappings of 65535");
  7990. addr = "172.29." + (id & 255) + "." + (id & 65280);
  7991. DNS.address_map.names[addr] = name;
  7992. DNS.address_map.addrs[name] = addr;
  7993. }
  7994. return addr;
  7995. }),
  7996. lookup_addr: (function(addr) {
  7997. if (DNS.address_map.names[addr]) {
  7998. return DNS.address_map.names[addr];
  7999. }
  8000. return null;
  8001. })
  8002. };
  8003. function __inet_ntop4_raw(addr) {
  8004. return (addr & 255) + "." + (addr >> 8 & 255) + "." + (addr >> 16 & 255) + "." + (addr >> 24 & 255);
  8005. }
  8006. function __inet_ntop6_raw(ints) {
  8007. var str = "";
  8008. var word = 0;
  8009. var longest = 0;
  8010. var lastzero = 0;
  8011. var zstart = 0;
  8012. var len = 0;
  8013. var i = 0;
  8014. var parts = [ ints[0] & 65535, ints[0] >> 16, ints[1] & 65535, ints[1] >> 16, ints[2] & 65535, ints[2] >> 16, ints[3] & 65535, ints[3] >> 16 ];
  8015. var hasipv4 = true;
  8016. var v4part = "";
  8017. for (i = 0; i < 5; i++) {
  8018. if (parts[i] !== 0) {
  8019. hasipv4 = false;
  8020. break;
  8021. }
  8022. }
  8023. if (hasipv4) {
  8024. v4part = __inet_ntop4_raw(parts[6] | parts[7] << 16);
  8025. if (parts[5] === -1) {
  8026. str = "::ffff:";
  8027. str += v4part;
  8028. return str;
  8029. }
  8030. if (parts[5] === 0) {
  8031. str = "::";
  8032. if (v4part === "0.0.0.0") v4part = "";
  8033. if (v4part === "0.0.0.1") v4part = "1";
  8034. str += v4part;
  8035. return str;
  8036. }
  8037. }
  8038. for (word = 0; word < 8; word++) {
  8039. if (parts[word] === 0) {
  8040. if (word - lastzero > 1) {
  8041. len = 0;
  8042. }
  8043. lastzero = word;
  8044. len++;
  8045. }
  8046. if (len > longest) {
  8047. longest = len;
  8048. zstart = word - longest + 1;
  8049. }
  8050. }
  8051. for (word = 0; word < 8; word++) {
  8052. if (longest > 1) {
  8053. if (parts[word] === 0 && word >= zstart && word < zstart + longest) {
  8054. if (word === zstart) {
  8055. str += ":";
  8056. if (zstart === 0) str += ":";
  8057. }
  8058. continue;
  8059. }
  8060. }
  8061. str += Number(_ntohs(parts[word] & 65535)).toString(16);
  8062. str += word < 7 ? ":" : "";
  8063. }
  8064. return str;
  8065. }
  8066. function __read_sockaddr(sa, salen) {
  8067. var family = HEAP16[sa >> 1];
  8068. var port = _ntohs(HEAP16[sa + 2 >> 1]);
  8069. var addr;
  8070. switch (family) {
  8071. case 2:
  8072. if (salen !== 16) {
  8073. return {
  8074. errno: ERRNO_CODES.EINVAL
  8075. };
  8076. }
  8077. addr = HEAP32[sa + 4 >> 2];
  8078. addr = __inet_ntop4_raw(addr);
  8079. break;
  8080. case 10:
  8081. if (salen !== 28) {
  8082. return {
  8083. errno: ERRNO_CODES.EINVAL
  8084. };
  8085. }
  8086. addr = [ HEAP32[sa + 8 >> 2], HEAP32[sa + 12 >> 2], HEAP32[sa + 16 >> 2], HEAP32[sa + 20 >> 2] ];
  8087. addr = __inet_ntop6_raw(addr);
  8088. break;
  8089. default:
  8090. return {
  8091. errno: ERRNO_CODES.EAFNOSUPPORT
  8092. };
  8093. }
  8094. return {
  8095. family: family,
  8096. addr: addr,
  8097. port: port
  8098. };
  8099. }
  8100. function __write_sockaddr(sa, family, addr, port) {
  8101. switch (family) {
  8102. case 2:
  8103. addr = __inet_pton4_raw(addr);
  8104. HEAP16[sa >> 1] = family;
  8105. HEAP32[sa + 4 >> 2] = addr;
  8106. HEAP16[sa + 2 >> 1] = _htons(port);
  8107. break;
  8108. case 10:
  8109. addr = __inet_pton6_raw(addr);
  8110. HEAP32[sa >> 2] = family;
  8111. HEAP32[sa + 8 >> 2] = addr[0];
  8112. HEAP32[sa + 12 >> 2] = addr[1];
  8113. HEAP32[sa + 16 >> 2] = addr[2];
  8114. HEAP32[sa + 20 >> 2] = addr[3];
  8115. HEAP16[sa + 2 >> 1] = _htons(port);
  8116. HEAP32[sa + 4 >> 2] = 0;
  8117. HEAP32[sa + 24 >> 2] = 0;
  8118. break;
  8119. default:
  8120. return {
  8121. errno: ERRNO_CODES.EAFNOSUPPORT
  8122. };
  8123. }
  8124. return {};
  8125. }
  8126. function ___syscall102(which, varargs) {
  8127. SYSCALLS.varargs = varargs;
  8128. try {
  8129. var call = SYSCALLS.get(), socketvararg = SYSCALLS.get();
  8130. SYSCALLS.varargs = socketvararg;
  8131. switch (call) {
  8132. case 1:
  8133. {
  8134. var domain = SYSCALLS.get(), type = SYSCALLS.get(), protocol = SYSCALLS.get();
  8135. var sock = SOCKFS.createSocket(domain, type, protocol);
  8136. assert(sock.stream.fd < 64);
  8137. return sock.stream.fd;
  8138. }
  8139. case 2:
  8140. {
  8141. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8142. sock.sock_ops.bind(sock, info.addr, info.port);
  8143. return 0;
  8144. }
  8145. case 3:
  8146. {
  8147. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8148. sock.sock_ops.connect(sock, info.addr, info.port);
  8149. return 0;
  8150. }
  8151. case 4:
  8152. {
  8153. var sock = SYSCALLS.getSocketFromFD(), backlog = SYSCALLS.get();
  8154. sock.sock_ops.listen(sock, backlog);
  8155. return 0;
  8156. }
  8157. case 5:
  8158. {
  8159. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8160. var newsock = sock.sock_ops.accept(sock);
  8161. if (addr) {
  8162. var res = __write_sockaddr(addr, newsock.family, DNS.lookup_name(newsock.daddr), newsock.dport);
  8163. assert(!res.errno);
  8164. }
  8165. return newsock.stream.fd;
  8166. }
  8167. case 6:
  8168. {
  8169. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8170. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.saddr || "0.0.0.0"), sock.sport);
  8171. assert(!res.errno);
  8172. return 0;
  8173. }
  8174. case 7:
  8175. {
  8176. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8177. if (!sock.daddr) {
  8178. return -ERRNO_CODES.ENOTCONN;
  8179. }
  8180. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.daddr), sock.dport);
  8181. assert(!res.errno);
  8182. return 0;
  8183. }
  8184. case 11:
  8185. {
  8186. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), length = SYSCALLS.get(), flags = SYSCALLS.get(), dest = SYSCALLS.getSocketAddress(true);
  8187. if (!dest) {
  8188. return FS.write(sock.stream, HEAP8, message, length);
  8189. } else {
  8190. return sock.sock_ops.sendmsg(sock, HEAP8, message, length, dest.addr, dest.port);
  8191. }
  8192. }
  8193. case 12:
  8194. {
  8195. var sock = SYSCALLS.getSocketFromFD(), buf = SYSCALLS.get(), len = SYSCALLS.get(), flags = SYSCALLS.get(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8196. var msg = sock.sock_ops.recvmsg(sock, len);
  8197. if (!msg) return 0;
  8198. if (addr) {
  8199. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8200. assert(!res.errno);
  8201. }
  8202. HEAPU8.set(msg.buffer, buf);
  8203. return msg.buffer.byteLength;
  8204. }
  8205. case 14:
  8206. {
  8207. return -ERRNO_CODES.ENOPROTOOPT;
  8208. }
  8209. case 15:
  8210. {
  8211. var sock = SYSCALLS.getSocketFromFD(), level = SYSCALLS.get(), optname = SYSCALLS.get(), optval = SYSCALLS.get(), optlen = SYSCALLS.get();
  8212. if (level === 1) {
  8213. if (optname === 4) {
  8214. HEAP32[optval >> 2] = sock.error;
  8215. HEAP32[optlen >> 2] = 4;
  8216. sock.error = null;
  8217. return 0;
  8218. }
  8219. }
  8220. return -ERRNO_CODES.ENOPROTOOPT;
  8221. }
  8222. case 16:
  8223. {
  8224. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8225. var iov = HEAP32[message + 8 >> 2];
  8226. var num = HEAP32[message + 12 >> 2];
  8227. var addr, port;
  8228. var name = HEAP32[message >> 2];
  8229. var namelen = HEAP32[message + 4 >> 2];
  8230. if (name) {
  8231. var info = __read_sockaddr(name, namelen);
  8232. if (info.errno) return -info.errno;
  8233. port = info.port;
  8234. addr = DNS.lookup_addr(info.addr) || info.addr;
  8235. }
  8236. var total = 0;
  8237. for (var i = 0; i < num; i++) {
  8238. total += HEAP32[iov + (8 * i + 4) >> 2];
  8239. }
  8240. var view = new Uint8Array(total);
  8241. var offset = 0;
  8242. for (var i = 0; i < num; i++) {
  8243. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8244. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8245. for (var j = 0; j < iovlen; j++) {
  8246. view[offset++] = HEAP8[iovbase + j >> 0];
  8247. }
  8248. }
  8249. return sock.sock_ops.sendmsg(sock, view, 0, total, addr, port);
  8250. }
  8251. case 17:
  8252. {
  8253. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8254. var iov = HEAP32[message + 8 >> 2];
  8255. var num = HEAP32[message + 12 >> 2];
  8256. var total = 0;
  8257. for (var i = 0; i < num; i++) {
  8258. total += HEAP32[iov + (8 * i + 4) >> 2];
  8259. }
  8260. var msg = sock.sock_ops.recvmsg(sock, total);
  8261. if (!msg) return 0;
  8262. var name = HEAP32[message >> 2];
  8263. if (name) {
  8264. var res = __write_sockaddr(name, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8265. assert(!res.errno);
  8266. }
  8267. var bytesRead = 0;
  8268. var bytesRemaining = msg.buffer.byteLength;
  8269. for (var i = 0; bytesRemaining > 0 && i < num; i++) {
  8270. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8271. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8272. if (!iovlen) {
  8273. continue;
  8274. }
  8275. var length = Math.min(iovlen, bytesRemaining);
  8276. var buf = msg.buffer.subarray(bytesRead, bytesRead + length);
  8277. HEAPU8.set(buf, iovbase + bytesRead);
  8278. bytesRead += length;
  8279. bytesRemaining -= length;
  8280. }
  8281. return bytesRead;
  8282. }
  8283. default:
  8284. abort("unsupported socketcall syscall " + call);
  8285. }
  8286. } catch (e) {
  8287. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8288. return -e.errno;
  8289. }
  8290. }
  8291. function ___syscall122(which, varargs) {
  8292. SYSCALLS.varargs = varargs;
  8293. try {
  8294. var buf = SYSCALLS.get();
  8295. if (!buf) return -ERRNO_CODES.EFAULT;
  8296. var layout = {
  8297. "sysname": 0,
  8298. "nodename": 65,
  8299. "domainname": 325,
  8300. "machine": 260,
  8301. "version": 195,
  8302. "release": 130,
  8303. "__size__": 390
  8304. };
  8305. function copyString(element, value) {
  8306. var offset = layout[element];
  8307. writeAsciiToMemory(value, buf + offset);
  8308. }
  8309. copyString("sysname", "Emscripten");
  8310. copyString("nodename", "emscripten");
  8311. copyString("release", "1.0");
  8312. copyString("version", "#1");
  8313. copyString("machine", "x86-JS");
  8314. return 0;
  8315. } catch (e) {
  8316. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8317. return -e.errno;
  8318. }
  8319. }
  8320. function ___syscall140(which, varargs) {
  8321. SYSCALLS.varargs = varargs;
  8322. try {
  8323. var stream = SYSCALLS.getStreamFromFD(), offset_high = SYSCALLS.get(), offset_low = SYSCALLS.get(), result = SYSCALLS.get(), whence = SYSCALLS.get();
  8324. var offset = offset_low;
  8325. FS.llseek(stream, offset, whence);
  8326. HEAP32[result >> 2] = stream.position;
  8327. if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null;
  8328. return 0;
  8329. } catch (e) {
  8330. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8331. return -e.errno;
  8332. }
  8333. }
  8334. function ___syscall142(which, varargs) {
  8335. SYSCALLS.varargs = varargs;
  8336. try {
  8337. var nfds = SYSCALLS.get(), readfds = SYSCALLS.get(), writefds = SYSCALLS.get(), exceptfds = SYSCALLS.get(), timeout = SYSCALLS.get();
  8338. assert(nfds <= 64, "nfds must be less than or equal to 64");
  8339. assert(!exceptfds, "exceptfds not supported");
  8340. var total = 0;
  8341. var srcReadLow = readfds ? HEAP32[readfds >> 2] : 0, srcReadHigh = readfds ? HEAP32[readfds + 4 >> 2] : 0;
  8342. var srcWriteLow = writefds ? HEAP32[writefds >> 2] : 0, srcWriteHigh = writefds ? HEAP32[writefds + 4 >> 2] : 0;
  8343. var srcExceptLow = exceptfds ? HEAP32[exceptfds >> 2] : 0, srcExceptHigh = exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0;
  8344. var dstReadLow = 0, dstReadHigh = 0;
  8345. var dstWriteLow = 0, dstWriteHigh = 0;
  8346. var dstExceptLow = 0, dstExceptHigh = 0;
  8347. var allLow = (readfds ? HEAP32[readfds >> 2] : 0) | (writefds ? HEAP32[writefds >> 2] : 0) | (exceptfds ? HEAP32[exceptfds >> 2] : 0);
  8348. var allHigh = (readfds ? HEAP32[readfds + 4 >> 2] : 0) | (writefds ? HEAP32[writefds + 4 >> 2] : 0) | (exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0);
  8349. function check(fd, low, high, val) {
  8350. return fd < 32 ? low & val : high & val;
  8351. }
  8352. for (var fd = 0; fd < nfds; fd++) {
  8353. var mask = 1 << fd % 32;
  8354. if (!check(fd, allLow, allHigh, mask)) {
  8355. continue;
  8356. }
  8357. var stream = FS.getStream(fd);
  8358. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  8359. var flags = SYSCALLS.DEFAULT_POLLMASK;
  8360. if (stream.stream_ops.poll) {
  8361. flags = stream.stream_ops.poll(stream);
  8362. }
  8363. if (flags & 1 && check(fd, srcReadLow, srcReadHigh, mask)) {
  8364. fd < 32 ? dstReadLow = dstReadLow | mask : dstReadHigh = dstReadHigh | mask;
  8365. total++;
  8366. }
  8367. if (flags & 4 && check(fd, srcWriteLow, srcWriteHigh, mask)) {
  8368. fd < 32 ? dstWriteLow = dstWriteLow | mask : dstWriteHigh = dstWriteHigh | mask;
  8369. total++;
  8370. }
  8371. if (flags & 2 && check(fd, srcExceptLow, srcExceptHigh, mask)) {
  8372. fd < 32 ? dstExceptLow = dstExceptLow | mask : dstExceptHigh = dstExceptHigh | mask;
  8373. total++;
  8374. }
  8375. }
  8376. if (readfds) {
  8377. HEAP32[readfds >> 2] = dstReadLow;
  8378. HEAP32[readfds + 4 >> 2] = dstReadHigh;
  8379. }
  8380. if (writefds) {
  8381. HEAP32[writefds >> 2] = dstWriteLow;
  8382. HEAP32[writefds + 4 >> 2] = dstWriteHigh;
  8383. }
  8384. if (exceptfds) {
  8385. HEAP32[exceptfds >> 2] = dstExceptLow;
  8386. HEAP32[exceptfds + 4 >> 2] = dstExceptHigh;
  8387. }
  8388. return total;
  8389. } catch (e) {
  8390. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8391. return -e.errno;
  8392. }
  8393. }
  8394. function ___syscall145(which, varargs) {
  8395. SYSCALLS.varargs = varargs;
  8396. try {
  8397. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8398. return SYSCALLS.doReadv(stream, iov, iovcnt);
  8399. } catch (e) {
  8400. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8401. return -e.errno;
  8402. }
  8403. }
  8404. function ___syscall146(which, varargs) {
  8405. SYSCALLS.varargs = varargs;
  8406. try {
  8407. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8408. return SYSCALLS.doWritev(stream, iov, iovcnt);
  8409. } catch (e) {
  8410. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8411. return -e.errno;
  8412. }
  8413. }
  8414. function ___syscall15(which, varargs) {
  8415. SYSCALLS.varargs = varargs;
  8416. try {
  8417. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8418. FS.chmod(path, mode);
  8419. return 0;
  8420. } catch (e) {
  8421. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8422. return -e.errno;
  8423. }
  8424. }
  8425. function ___syscall183(which, varargs) {
  8426. SYSCALLS.varargs = varargs;
  8427. try {
  8428. var buf = SYSCALLS.get(), size = SYSCALLS.get();
  8429. if (size === 0) return -ERRNO_CODES.EINVAL;
  8430. var cwd = FS.cwd();
  8431. var cwdLengthInBytes = lengthBytesUTF8(cwd);
  8432. if (size < cwdLengthInBytes + 1) return -ERRNO_CODES.ERANGE;
  8433. stringToUTF8(cwd, buf, size);
  8434. return buf;
  8435. } catch (e) {
  8436. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8437. return -e.errno;
  8438. }
  8439. }
  8440. function ___syscall192(which, varargs) {
  8441. SYSCALLS.varargs = varargs;
  8442. try {
  8443. var addr = SYSCALLS.get(), len = SYSCALLS.get(), prot = SYSCALLS.get(), flags = SYSCALLS.get(), fd = SYSCALLS.get(), off = SYSCALLS.get();
  8444. off <<= 12;
  8445. var ptr;
  8446. var allocated = false;
  8447. if (fd === -1) {
  8448. ptr = _memalign(PAGE_SIZE, len);
  8449. if (!ptr) return -ERRNO_CODES.ENOMEM;
  8450. _memset(ptr, 0, len);
  8451. allocated = true;
  8452. } else {
  8453. var info = FS.getStream(fd);
  8454. if (!info) return -ERRNO_CODES.EBADF;
  8455. var res = FS.mmap(info, HEAPU8, addr, len, off, prot, flags);
  8456. ptr = res.ptr;
  8457. allocated = res.allocated;
  8458. }
  8459. SYSCALLS.mappings[ptr] = {
  8460. malloc: ptr,
  8461. len: len,
  8462. allocated: allocated,
  8463. fd: fd,
  8464. flags: flags
  8465. };
  8466. return ptr;
  8467. } catch (e) {
  8468. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8469. return -e.errno;
  8470. }
  8471. }
  8472. function ___syscall193(which, varargs) {
  8473. SYSCALLS.varargs = varargs;
  8474. try {
  8475. var path = SYSCALLS.getStr(), zero = SYSCALLS.getZero(), length = SYSCALLS.get64();
  8476. FS.truncate(path, length);
  8477. return 0;
  8478. } catch (e) {
  8479. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8480. return -e.errno;
  8481. }
  8482. }
  8483. function ___syscall195(which, varargs) {
  8484. SYSCALLS.varargs = varargs;
  8485. try {
  8486. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8487. return SYSCALLS.doStat(FS.stat, path, buf);
  8488. } catch (e) {
  8489. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8490. return -e.errno;
  8491. }
  8492. }
  8493. function ___syscall196(which, varargs) {
  8494. SYSCALLS.varargs = varargs;
  8495. try {
  8496. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8497. return SYSCALLS.doStat(FS.lstat, path, buf);
  8498. } catch (e) {
  8499. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8500. return -e.errno;
  8501. }
  8502. }
  8503. function ___syscall197(which, varargs) {
  8504. SYSCALLS.varargs = varargs;
  8505. try {
  8506. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get();
  8507. return SYSCALLS.doStat(FS.stat, stream.path, buf);
  8508. } catch (e) {
  8509. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8510. return -e.errno;
  8511. }
  8512. }
  8513. function ___syscall202(which, varargs) {
  8514. SYSCALLS.varargs = varargs;
  8515. try {
  8516. return 0;
  8517. } catch (e) {
  8518. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8519. return -e.errno;
  8520. }
  8521. }
  8522. function ___syscall199() {
  8523. return ___syscall202.apply(null, arguments);
  8524. }
  8525. function ___syscall220(which, varargs) {
  8526. SYSCALLS.varargs = varargs;
  8527. try {
  8528. var stream = SYSCALLS.getStreamFromFD(), dirp = SYSCALLS.get(), count = SYSCALLS.get();
  8529. if (!stream.getdents) {
  8530. stream.getdents = FS.readdir(stream.path);
  8531. }
  8532. var pos = 0;
  8533. while (stream.getdents.length > 0 && pos + 268 <= count) {
  8534. var id;
  8535. var type;
  8536. var name = stream.getdents.pop();
  8537. if (name[0] === ".") {
  8538. id = 1;
  8539. type = 4;
  8540. } else {
  8541. var child = FS.lookupNode(stream.node, name);
  8542. id = child.id;
  8543. type = FS.isChrdev(child.mode) ? 2 : FS.isDir(child.mode) ? 4 : FS.isLink(child.mode) ? 10 : 8;
  8544. }
  8545. HEAP32[dirp + pos >> 2] = id;
  8546. HEAP32[dirp + pos + 4 >> 2] = stream.position;
  8547. HEAP16[dirp + pos + 8 >> 1] = 268;
  8548. HEAP8[dirp + pos + 10 >> 0] = type;
  8549. stringToUTF8(name, dirp + pos + 11, 256);
  8550. pos += 268;
  8551. }
  8552. return pos;
  8553. } catch (e) {
  8554. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8555. return -e.errno;
  8556. }
  8557. }
  8558. function ___syscall221(which, varargs) {
  8559. SYSCALLS.varargs = varargs;
  8560. try {
  8561. var stream = SYSCALLS.getStreamFromFD(), cmd = SYSCALLS.get();
  8562. switch (cmd) {
  8563. case 0:
  8564. {
  8565. var arg = SYSCALLS.get();
  8566. if (arg < 0) {
  8567. return -ERRNO_CODES.EINVAL;
  8568. }
  8569. var newStream;
  8570. newStream = FS.open(stream.path, stream.flags, 0, arg);
  8571. return newStream.fd;
  8572. }
  8573. case 1:
  8574. case 2:
  8575. return 0;
  8576. case 3:
  8577. return stream.flags;
  8578. case 4:
  8579. {
  8580. var arg = SYSCALLS.get();
  8581. stream.flags |= arg;
  8582. return 0;
  8583. }
  8584. case 12:
  8585. case 12:
  8586. {
  8587. var arg = SYSCALLS.get();
  8588. var offset = 0;
  8589. HEAP16[arg + offset >> 1] = 2;
  8590. return 0;
  8591. }
  8592. case 13:
  8593. case 14:
  8594. case 13:
  8595. case 14:
  8596. return 0;
  8597. case 16:
  8598. case 8:
  8599. return -ERRNO_CODES.EINVAL;
  8600. case 9:
  8601. ___setErrNo(ERRNO_CODES.EINVAL);
  8602. return -1;
  8603. default:
  8604. {
  8605. return -ERRNO_CODES.EINVAL;
  8606. }
  8607. }
  8608. } catch (e) {
  8609. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8610. return -e.errno;
  8611. }
  8612. }
  8613. function ___syscall268(which, varargs) {
  8614. SYSCALLS.varargs = varargs;
  8615. try {
  8616. var path = SYSCALLS.getStr(), size = SYSCALLS.get(), buf = SYSCALLS.get();
  8617. assert(size === 64);
  8618. HEAP32[buf + 4 >> 2] = 4096;
  8619. HEAP32[buf + 40 >> 2] = 4096;
  8620. HEAP32[buf + 8 >> 2] = 1e6;
  8621. HEAP32[buf + 12 >> 2] = 5e5;
  8622. HEAP32[buf + 16 >> 2] = 5e5;
  8623. HEAP32[buf + 20 >> 2] = FS.nextInode;
  8624. HEAP32[buf + 24 >> 2] = 1e6;
  8625. HEAP32[buf + 28 >> 2] = 42;
  8626. HEAP32[buf + 44 >> 2] = 2;
  8627. HEAP32[buf + 36 >> 2] = 255;
  8628. return 0;
  8629. } catch (e) {
  8630. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8631. return -e.errno;
  8632. }
  8633. }
  8634. function ___syscall3(which, varargs) {
  8635. SYSCALLS.varargs = varargs;
  8636. try {
  8637. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8638. return FS.read(stream, HEAP8, buf, count);
  8639. } catch (e) {
  8640. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8641. return -e.errno;
  8642. }
  8643. }
  8644. function ___syscall33(which, varargs) {
  8645. SYSCALLS.varargs = varargs;
  8646. try {
  8647. var path = SYSCALLS.getStr(), amode = SYSCALLS.get();
  8648. return SYSCALLS.doAccess(path, amode);
  8649. } catch (e) {
  8650. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8651. return -e.errno;
  8652. }
  8653. }
  8654. function ___syscall38(which, varargs) {
  8655. SYSCALLS.varargs = varargs;
  8656. try {
  8657. var old_path = SYSCALLS.getStr(), new_path = SYSCALLS.getStr();
  8658. FS.rename(old_path, new_path);
  8659. return 0;
  8660. } catch (e) {
  8661. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8662. return -e.errno;
  8663. }
  8664. }
  8665. function ___syscall39(which, varargs) {
  8666. SYSCALLS.varargs = varargs;
  8667. try {
  8668. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8669. return SYSCALLS.doMkdir(path, mode);
  8670. } catch (e) {
  8671. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8672. return -e.errno;
  8673. }
  8674. }
  8675. function ___syscall4(which, varargs) {
  8676. SYSCALLS.varargs = varargs;
  8677. try {
  8678. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8679. return FS.write(stream, HEAP8, buf, count);
  8680. } catch (e) {
  8681. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8682. return -e.errno;
  8683. }
  8684. }
  8685. function ___syscall40(which, varargs) {
  8686. SYSCALLS.varargs = varargs;
  8687. try {
  8688. var path = SYSCALLS.getStr();
  8689. FS.rmdir(path);
  8690. return 0;
  8691. } catch (e) {
  8692. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8693. return -e.errno;
  8694. }
  8695. }
  8696. function ___syscall5(which, varargs) {
  8697. SYSCALLS.varargs = varargs;
  8698. try {
  8699. var pathname = SYSCALLS.getStr(), flags = SYSCALLS.get(), mode = SYSCALLS.get();
  8700. var stream = FS.open(pathname, flags, mode);
  8701. return stream.fd;
  8702. } catch (e) {
  8703. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8704. return -e.errno;
  8705. }
  8706. }
  8707. function ___syscall54(which, varargs) {
  8708. SYSCALLS.varargs = varargs;
  8709. try {
  8710. var stream = SYSCALLS.getStreamFromFD(), op = SYSCALLS.get();
  8711. switch (op) {
  8712. case 21509:
  8713. case 21505:
  8714. {
  8715. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8716. return 0;
  8717. }
  8718. case 21510:
  8719. case 21511:
  8720. case 21512:
  8721. case 21506:
  8722. case 21507:
  8723. case 21508:
  8724. {
  8725. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8726. return 0;
  8727. }
  8728. case 21519:
  8729. {
  8730. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8731. var argp = SYSCALLS.get();
  8732. HEAP32[argp >> 2] = 0;
  8733. return 0;
  8734. }
  8735. case 21520:
  8736. {
  8737. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8738. return -ERRNO_CODES.EINVAL;
  8739. }
  8740. case 21531:
  8741. {
  8742. var argp = SYSCALLS.get();
  8743. return FS.ioctl(stream, op, argp);
  8744. }
  8745. case 21523:
  8746. {
  8747. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8748. return 0;
  8749. }
  8750. case 21524:
  8751. {
  8752. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8753. return 0;
  8754. }
  8755. default:
  8756. abort("bad ioctl syscall " + op);
  8757. }
  8758. } catch (e) {
  8759. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8760. return -e.errno;
  8761. }
  8762. }
  8763. function ___syscall6(which, varargs) {
  8764. SYSCALLS.varargs = varargs;
  8765. try {
  8766. var stream = SYSCALLS.getStreamFromFD();
  8767. FS.close(stream);
  8768. return 0;
  8769. } catch (e) {
  8770. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8771. return -e.errno;
  8772. }
  8773. }
  8774. function ___syscall77(which, varargs) {
  8775. SYSCALLS.varargs = varargs;
  8776. try {
  8777. var who = SYSCALLS.get(), usage = SYSCALLS.get();
  8778. _memset(usage, 0, 136);
  8779. HEAP32[usage >> 2] = 1;
  8780. HEAP32[usage + 4 >> 2] = 2;
  8781. HEAP32[usage + 8 >> 2] = 3;
  8782. HEAP32[usage + 12 >> 2] = 4;
  8783. return 0;
  8784. } catch (e) {
  8785. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8786. return -e.errno;
  8787. }
  8788. }
  8789. function ___syscall85(which, varargs) {
  8790. SYSCALLS.varargs = varargs;
  8791. try {
  8792. var path = SYSCALLS.getStr(), buf = SYSCALLS.get(), bufsize = SYSCALLS.get();
  8793. return SYSCALLS.doReadlink(path, buf, bufsize);
  8794. } catch (e) {
  8795. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8796. return -e.errno;
  8797. }
  8798. }
  8799. function ___syscall9(which, varargs) {
  8800. SYSCALLS.varargs = varargs;
  8801. try {
  8802. var oldpath = SYSCALLS.get(), newpath = SYSCALLS.get();
  8803. return -ERRNO_CODES.EMLINK;
  8804. } catch (e) {
  8805. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8806. return -e.errno;
  8807. }
  8808. }
  8809. function ___syscall91(which, varargs) {
  8810. SYSCALLS.varargs = varargs;
  8811. try {
  8812. var addr = SYSCALLS.get(), len = SYSCALLS.get();
  8813. var info = SYSCALLS.mappings[addr];
  8814. if (!info) return 0;
  8815. if (len === info.len) {
  8816. var stream = FS.getStream(info.fd);
  8817. SYSCALLS.doMsync(addr, stream, len, info.flags);
  8818. FS.munmap(stream);
  8819. SYSCALLS.mappings[addr] = null;
  8820. if (info.allocated) {
  8821. _free(info.malloc);
  8822. }
  8823. }
  8824. return 0;
  8825. } catch (e) {
  8826. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8827. return -e.errno;
  8828. }
  8829. }
  8830. function ___unlock() {}
  8831. function _abort() {
  8832. Module["abort"]();
  8833. }
  8834. function _atexit(func, arg) {
  8835. warnOnce("atexit() called, but NO_EXIT_RUNTIME is set, so atexits() will not be called. set NO_EXIT_RUNTIME to 0 (see the FAQ)");
  8836. __ATEXIT__.unshift({
  8837. func: func,
  8838. arg: arg
  8839. });
  8840. }
  8841. function _clock() {
  8842. if (_clock.start === undefined) _clock.start = Date.now();
  8843. return (Date.now() - _clock.start) * (1e6 / 1e3) | 0;
  8844. }
  8845. function _emscripten_get_now_res() {
  8846. if (ENVIRONMENT_IS_NODE) {
  8847. return 1;
  8848. } else if (typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  8849. return 1e3;
  8850. } else {
  8851. return 1e3 * 1e3;
  8852. }
  8853. }
  8854. function _emscripten_get_now() {
  8855. abort();
  8856. }
  8857. function _emscripten_get_now_is_monotonic() {
  8858. return ENVIRONMENT_IS_NODE || typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"];
  8859. }
  8860. function _clock_getres(clk_id, res) {
  8861. var nsec;
  8862. if (clk_id === 0) {
  8863. nsec = 1e3 * 1e3;
  8864. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8865. nsec = _emscripten_get_now_res();
  8866. } else {
  8867. ___setErrNo(ERRNO_CODES.EINVAL);
  8868. return -1;
  8869. }
  8870. HEAP32[res >> 2] = nsec / 1e9 | 0;
  8871. HEAP32[res + 4 >> 2] = nsec;
  8872. return 0;
  8873. }
  8874. function _clock_gettime(clk_id, tp) {
  8875. var now;
  8876. if (clk_id === 0) {
  8877. now = Date.now();
  8878. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8879. now = _emscripten_get_now();
  8880. } else {
  8881. ___setErrNo(ERRNO_CODES.EINVAL);
  8882. return -1;
  8883. }
  8884. HEAP32[tp >> 2] = now / 1e3 | 0;
  8885. HEAP32[tp + 4 >> 2] = now % 1e3 * 1e3 * 1e3 | 0;
  8886. return 0;
  8887. }
  8888. function _difftime(time1, time0) {
  8889. return time1 - time0;
  8890. }
  8891. var DLFCN = {
  8892. error: null,
  8893. errorMsg: null,
  8894. loadedLibs: {},
  8895. loadedLibNames: {}
  8896. };
  8897. function _dlclose(handle) {
  8898. if (!DLFCN.loadedLibs[handle]) {
  8899. DLFCN.errorMsg = "Tried to dlclose() unopened handle: " + handle;
  8900. return 1;
  8901. } else {
  8902. var lib_record = DLFCN.loadedLibs[handle];
  8903. if (--lib_record.refcount == 0) {
  8904. if (lib_record.module.cleanups) {
  8905. lib_record.module.cleanups.forEach((function(cleanup) {
  8906. cleanup();
  8907. }));
  8908. }
  8909. delete DLFCN.loadedLibNames[lib_record.name];
  8910. delete DLFCN.loadedLibs[handle];
  8911. }
  8912. return 0;
  8913. }
  8914. }
  8915. function _dlopen(filename, flag) {
  8916. abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking");
  8917. var searchpaths = [];
  8918. if (filename === 0) {
  8919. filename = "__self__";
  8920. } else {
  8921. var strfilename = Pointer_stringify(filename);
  8922. var isValidFile = (function(filename) {
  8923. var target = FS.findObject(filename);
  8924. return target && !target.isFolder && !target.isDevice;
  8925. });
  8926. if (isValidFile(strfilename)) {
  8927. filename = strfilename;
  8928. } else {
  8929. if (ENV["LD_LIBRARY_PATH"]) {
  8930. searchpaths = ENV["LD_LIBRARY_PATH"].split(":");
  8931. }
  8932. for (var ident in searchpaths) {
  8933. var searchfile = PATH.join2(searchpaths[ident], strfilename);
  8934. if (isValidFile(searchfile)) {
  8935. filename = searchfile;
  8936. break;
  8937. }
  8938. }
  8939. }
  8940. }
  8941. if (DLFCN.loadedLibNames[filename]) {
  8942. var handle = DLFCN.loadedLibNames[filename];
  8943. DLFCN.loadedLibs[handle].refcount++;
  8944. return handle;
  8945. }
  8946. var lib_module;
  8947. if (filename === "__self__") {
  8948. var handle = -1;
  8949. lib_module = Module;
  8950. } else {
  8951. if (Module["preloadedWasm"] !== undefined && Module["preloadedWasm"][filename] !== undefined) {
  8952. lib_module = Module["preloadedWasm"][filename];
  8953. } else {
  8954. var target = FS.findObject(filename);
  8955. if (!target || target.isFolder || target.isDevice) {
  8956. DLFCN.errorMsg = "Could not find dynamic lib: " + filename;
  8957. return 0;
  8958. }
  8959. FS.forceLoadFile(target);
  8960. try {
  8961. var lib_data = FS.readFile(filename, {
  8962. encoding: "binary"
  8963. });
  8964. if (!(lib_data instanceof Uint8Array)) lib_data = new Uint8Array(lib_data);
  8965. lib_module = loadWebAssemblyModule(lib_data);
  8966. } catch (e) {
  8967. err("Error in loading dynamic library: " + e);
  8968. DLFCN.errorMsg = "Could not evaluate dynamic lib: " + filename + "\n" + e;
  8969. return 0;
  8970. }
  8971. }
  8972. var handle = 1;
  8973. for (var key in DLFCN.loadedLibs) {
  8974. if (DLFCN.loadedLibs.hasOwnProperty(key)) handle++;
  8975. }
  8976. if (flag & 256) {
  8977. for (var ident in lib_module) {
  8978. if (lib_module.hasOwnProperty(ident)) {
  8979. if (ident[0] == "_") {
  8980. Module[ident] = lib_module[ident];
  8981. }
  8982. }
  8983. }
  8984. }
  8985. }
  8986. DLFCN.loadedLibs[handle] = {
  8987. refcount: 1,
  8988. name: filename,
  8989. module: lib_module
  8990. };
  8991. DLFCN.loadedLibNames[filename] = handle;
  8992. return handle;
  8993. }
  8994. function _dlsym(handle, symbol) {
  8995. symbol = Pointer_stringify(symbol);
  8996. if (!DLFCN.loadedLibs[handle]) {
  8997. DLFCN.errorMsg = "Tried to dlsym() from an unopened handle: " + handle;
  8998. return 0;
  8999. } else {
  9000. var lib = DLFCN.loadedLibs[handle];
  9001. symbol = "_" + symbol;
  9002. if (!lib.module.hasOwnProperty(symbol)) {
  9003. DLFCN.errorMsg = 'Tried to lookup unknown symbol "' + symbol + '" in dynamic lib: ' + lib.name;
  9004. return 0;
  9005. } else {
  9006. var result = lib.module[symbol];
  9007. if (typeof result === "function") {
  9008. return addFunction(result);
  9009. }
  9010. return result;
  9011. }
  9012. }
  9013. }
  9014. function _emscripten_set_main_loop_timing(mode, value) {
  9015. Browser.mainLoop.timingMode = mode;
  9016. Browser.mainLoop.timingValue = value;
  9017. if (!Browser.mainLoop.func) {
  9018. console.error("emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.");
  9019. return 1;
  9020. }
  9021. if (mode == 0) {
  9022. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setTimeout() {
  9023. var timeUntilNextTick = Math.max(0, Browser.mainLoop.tickStartTime + value - _emscripten_get_now()) | 0;
  9024. setTimeout(Browser.mainLoop.runner, timeUntilNextTick);
  9025. };
  9026. Browser.mainLoop.method = "timeout";
  9027. } else if (mode == 1) {
  9028. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_rAF() {
  9029. Browser.requestAnimationFrame(Browser.mainLoop.runner);
  9030. };
  9031. Browser.mainLoop.method = "rAF";
  9032. } else if (mode == 2) {
  9033. if (typeof setImmediate === "undefined") {
  9034. var setImmediates = [];
  9035. var emscriptenMainLoopMessageId = "setimmediate";
  9036. function Browser_setImmediate_messageHandler(event) {
  9037. if (event.data === emscriptenMainLoopMessageId || event.data.target === emscriptenMainLoopMessageId) {
  9038. event.stopPropagation();
  9039. setImmediates.shift()();
  9040. }
  9041. }
  9042. addEventListener("message", Browser_setImmediate_messageHandler, true);
  9043. setImmediate = function Browser_emulated_setImmediate(func) {
  9044. setImmediates.push(func);
  9045. if (ENVIRONMENT_IS_WORKER) {
  9046. if (Module["setImmediates"] === undefined) Module["setImmediates"] = [];
  9047. Module["setImmediates"].push(func);
  9048. postMessage({
  9049. target: emscriptenMainLoopMessageId
  9050. });
  9051. } else postMessage(emscriptenMainLoopMessageId, "*");
  9052. };
  9053. }
  9054. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setImmediate() {
  9055. setImmediate(Browser.mainLoop.runner);
  9056. };
  9057. Browser.mainLoop.method = "immediate";
  9058. }
  9059. return 0;
  9060. }
  9061. function _emscripten_set_main_loop(func, fps, simulateInfiniteLoop, arg, noSetTiming) {
  9062. Module["noExitRuntime"] = true;
  9063. assert(!Browser.mainLoop.func, "emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");
  9064. Browser.mainLoop.func = func;
  9065. Browser.mainLoop.arg = arg;
  9066. var browserIterationFunc;
  9067. if (typeof arg !== "undefined") {
  9068. browserIterationFunc = (function() {
  9069. Module["dynCall_vi"](func, arg);
  9070. });
  9071. } else {
  9072. browserIterationFunc = (function() {
  9073. Module["dynCall_v"](func);
  9074. });
  9075. }
  9076. var thisMainLoopId = Browser.mainLoop.currentlyRunningMainloop;
  9077. Browser.mainLoop.runner = function Browser_mainLoop_runner() {
  9078. if (ABORT) return;
  9079. if (Browser.mainLoop.queue.length > 0) {
  9080. var start = Date.now();
  9081. var blocker = Browser.mainLoop.queue.shift();
  9082. blocker.func(blocker.arg);
  9083. if (Browser.mainLoop.remainingBlockers) {
  9084. var remaining = Browser.mainLoop.remainingBlockers;
  9085. var next = remaining % 1 == 0 ? remaining - 1 : Math.floor(remaining);
  9086. if (blocker.counted) {
  9087. Browser.mainLoop.remainingBlockers = next;
  9088. } else {
  9089. next = next + .5;
  9090. Browser.mainLoop.remainingBlockers = (8 * remaining + next) / 9;
  9091. }
  9092. }
  9093. console.log('main loop blocker "' + blocker.name + '" took ' + (Date.now() - start) + " ms");
  9094. Browser.mainLoop.updateStatus();
  9095. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9096. setTimeout(Browser.mainLoop.runner, 0);
  9097. return;
  9098. }
  9099. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9100. Browser.mainLoop.currentFrameNumber = Browser.mainLoop.currentFrameNumber + 1 | 0;
  9101. if (Browser.mainLoop.timingMode == 1 && Browser.mainLoop.timingValue > 1 && Browser.mainLoop.currentFrameNumber % Browser.mainLoop.timingValue != 0) {
  9102. Browser.mainLoop.scheduler();
  9103. return;
  9104. } else if (Browser.mainLoop.timingMode == 0) {
  9105. Browser.mainLoop.tickStartTime = _emscripten_get_now();
  9106. }
  9107. if (Browser.mainLoop.method === "timeout" && Module.ctx) {
  9108. err("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");
  9109. Browser.mainLoop.method = "";
  9110. }
  9111. Browser.mainLoop.runIter(browserIterationFunc);
  9112. checkStackCookie();
  9113. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9114. if (typeof SDL === "object" && SDL.audio && SDL.audio.queueNewAudioData) SDL.audio.queueNewAudioData();
  9115. Browser.mainLoop.scheduler();
  9116. };
  9117. if (!noSetTiming) {
  9118. if (fps && fps > 0) _emscripten_set_main_loop_timing(0, 1e3 / fps); else _emscripten_set_main_loop_timing(1, 1);
  9119. Browser.mainLoop.scheduler();
  9120. }
  9121. if (simulateInfiniteLoop) {
  9122. throw "SimulateInfiniteLoop";
  9123. }
  9124. }
  9125. var Browser = {
  9126. mainLoop: {
  9127. scheduler: null,
  9128. method: "",
  9129. currentlyRunningMainloop: 0,
  9130. func: null,
  9131. arg: 0,
  9132. timingMode: 0,
  9133. timingValue: 0,
  9134. currentFrameNumber: 0,
  9135. queue: [],
  9136. pause: (function() {
  9137. Browser.mainLoop.scheduler = null;
  9138. Browser.mainLoop.currentlyRunningMainloop++;
  9139. }),
  9140. resume: (function() {
  9141. Browser.mainLoop.currentlyRunningMainloop++;
  9142. var timingMode = Browser.mainLoop.timingMode;
  9143. var timingValue = Browser.mainLoop.timingValue;
  9144. var func = Browser.mainLoop.func;
  9145. Browser.mainLoop.func = null;
  9146. _emscripten_set_main_loop(func, 0, false, Browser.mainLoop.arg, true);
  9147. _emscripten_set_main_loop_timing(timingMode, timingValue);
  9148. Browser.mainLoop.scheduler();
  9149. }),
  9150. updateStatus: (function() {
  9151. if (Module["setStatus"]) {
  9152. var message = Module["statusMessage"] || "Please wait...";
  9153. var remaining = Browser.mainLoop.remainingBlockers;
  9154. var expected = Browser.mainLoop.expectedBlockers;
  9155. if (remaining) {
  9156. if (remaining < expected) {
  9157. Module["setStatus"](message + " (" + (expected - remaining) + "/" + expected + ")");
  9158. } else {
  9159. Module["setStatus"](message);
  9160. }
  9161. } else {
  9162. Module["setStatus"]("");
  9163. }
  9164. }
  9165. }),
  9166. runIter: (function(func) {
  9167. if (ABORT) return;
  9168. if (Module["preMainLoop"]) {
  9169. var preRet = Module["preMainLoop"]();
  9170. if (preRet === false) {
  9171. return;
  9172. }
  9173. }
  9174. try {
  9175. func();
  9176. } catch (e) {
  9177. if (e instanceof ExitStatus) {
  9178. return;
  9179. } else {
  9180. if (e && typeof e === "object" && e.stack) err("exception thrown: " + [ e, e.stack ]);
  9181. throw e;
  9182. }
  9183. }
  9184. if (Module["postMainLoop"]) Module["postMainLoop"]();
  9185. })
  9186. },
  9187. isFullscreen: false,
  9188. pointerLock: false,
  9189. moduleContextCreatedCallbacks: [],
  9190. workers: [],
  9191. init: (function() {
  9192. if (!Module["preloadPlugins"]) Module["preloadPlugins"] = [];
  9193. if (Browser.initted) return;
  9194. Browser.initted = true;
  9195. try {
  9196. new Blob;
  9197. Browser.hasBlobConstructor = true;
  9198. } catch (e) {
  9199. Browser.hasBlobConstructor = false;
  9200. console.log("warning: no blob constructor, cannot create blobs with mimetypes");
  9201. }
  9202. Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : !Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null;
  9203. Browser.URLObject = typeof window != "undefined" ? window.URL ? window.URL : window.webkitURL : undefined;
  9204. if (!Module.noImageDecoding && typeof Browser.URLObject === "undefined") {
  9205. console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");
  9206. Module.noImageDecoding = true;
  9207. }
  9208. var imagePlugin = {};
  9209. imagePlugin["canHandle"] = function imagePlugin_canHandle(name) {
  9210. return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name);
  9211. };
  9212. imagePlugin["handle"] = function imagePlugin_handle(byteArray, name, onload, onerror) {
  9213. var b = null;
  9214. if (Browser.hasBlobConstructor) {
  9215. try {
  9216. b = new Blob([ byteArray ], {
  9217. type: Browser.getMimetype(name)
  9218. });
  9219. if (b.size !== byteArray.length) {
  9220. b = new Blob([ (new Uint8Array(byteArray)).buffer ], {
  9221. type: Browser.getMimetype(name)
  9222. });
  9223. }
  9224. } catch (e) {
  9225. warnOnce("Blob constructor present but fails: " + e + "; falling back to blob builder");
  9226. }
  9227. }
  9228. if (!b) {
  9229. var bb = new Browser.BlobBuilder;
  9230. bb.append((new Uint8Array(byteArray)).buffer);
  9231. b = bb.getBlob();
  9232. }
  9233. var url = Browser.URLObject.createObjectURL(b);
  9234. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9235. var img = new Image;
  9236. img.onload = function img_onload() {
  9237. assert(img.complete, "Image " + name + " could not be decoded");
  9238. var canvas = document.createElement("canvas");
  9239. canvas.width = img.width;
  9240. canvas.height = img.height;
  9241. var ctx = canvas.getContext("2d");
  9242. ctx.drawImage(img, 0, 0);
  9243. Module["preloadedImages"][name] = canvas;
  9244. Browser.URLObject.revokeObjectURL(url);
  9245. if (onload) onload(byteArray);
  9246. };
  9247. img.onerror = function img_onerror(event) {
  9248. console.log("Image " + url + " could not be decoded");
  9249. if (onerror) onerror();
  9250. };
  9251. img.src = url;
  9252. };
  9253. Module["preloadPlugins"].push(imagePlugin);
  9254. var audioPlugin = {};
  9255. audioPlugin["canHandle"] = function audioPlugin_canHandle(name) {
  9256. return !Module.noAudioDecoding && name.substr(-4) in {
  9257. ".ogg": 1,
  9258. ".wav": 1,
  9259. ".mp3": 1
  9260. };
  9261. };
  9262. audioPlugin["handle"] = function audioPlugin_handle(byteArray, name, onload, onerror) {
  9263. var done = false;
  9264. function finish(audio) {
  9265. if (done) return;
  9266. done = true;
  9267. Module["preloadedAudios"][name] = audio;
  9268. if (onload) onload(byteArray);
  9269. }
  9270. function fail() {
  9271. if (done) return;
  9272. done = true;
  9273. Module["preloadedAudios"][name] = new Audio;
  9274. if (onerror) onerror();
  9275. }
  9276. if (Browser.hasBlobConstructor) {
  9277. try {
  9278. var b = new Blob([ byteArray ], {
  9279. type: Browser.getMimetype(name)
  9280. });
  9281. } catch (e) {
  9282. return fail();
  9283. }
  9284. var url = Browser.URLObject.createObjectURL(b);
  9285. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9286. var audio = new Audio;
  9287. audio.addEventListener("canplaythrough", (function() {
  9288. finish(audio);
  9289. }), false);
  9290. audio.onerror = function audio_onerror(event) {
  9291. if (done) return;
  9292. console.log("warning: browser could not fully decode audio " + name + ", trying slower base64 approach");
  9293. function encode64(data) {
  9294. var BASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
  9295. var PAD = "=";
  9296. var ret = "";
  9297. var leftchar = 0;
  9298. var leftbits = 0;
  9299. for (var i = 0; i < data.length; i++) {
  9300. leftchar = leftchar << 8 | data[i];
  9301. leftbits += 8;
  9302. while (leftbits >= 6) {
  9303. var curr = leftchar >> leftbits - 6 & 63;
  9304. leftbits -= 6;
  9305. ret += BASE[curr];
  9306. }
  9307. }
  9308. if (leftbits == 2) {
  9309. ret += BASE[(leftchar & 3) << 4];
  9310. ret += PAD + PAD;
  9311. } else if (leftbits == 4) {
  9312. ret += BASE[(leftchar & 15) << 2];
  9313. ret += PAD;
  9314. }
  9315. return ret;
  9316. }
  9317. audio.src = "data:audio/x-" + name.substr(-3) + ";base64," + encode64(byteArray);
  9318. finish(audio);
  9319. };
  9320. audio.src = url;
  9321. Browser.safeSetTimeout((function() {
  9322. finish(audio);
  9323. }), 1e4);
  9324. } else {
  9325. return fail();
  9326. }
  9327. };
  9328. Module["preloadPlugins"].push(audioPlugin);
  9329. function pointerLockChange() {
  9330. Browser.pointerLock = document["pointerLockElement"] === Module["canvas"] || document["mozPointerLockElement"] === Module["canvas"] || document["webkitPointerLockElement"] === Module["canvas"] || document["msPointerLockElement"] === Module["canvas"];
  9331. }
  9332. var canvas = Module["canvas"];
  9333. if (canvas) {
  9334. canvas.requestPointerLock = canvas["requestPointerLock"] || canvas["mozRequestPointerLock"] || canvas["webkitRequestPointerLock"] || canvas["msRequestPointerLock"] || (function() {});
  9335. canvas.exitPointerLock = document["exitPointerLock"] || document["mozExitPointerLock"] || document["webkitExitPointerLock"] || document["msExitPointerLock"] || (function() {});
  9336. canvas.exitPointerLock = canvas.exitPointerLock.bind(document);
  9337. document.addEventListener("pointerlockchange", pointerLockChange, false);
  9338. document.addEventListener("mozpointerlockchange", pointerLockChange, false);
  9339. document.addEventListener("webkitpointerlockchange", pointerLockChange, false);
  9340. document.addEventListener("mspointerlockchange", pointerLockChange, false);
  9341. if (Module["elementPointerLock"]) {
  9342. canvas.addEventListener("click", (function(ev) {
  9343. if (!Browser.pointerLock && Module["canvas"].requestPointerLock) {
  9344. Module["canvas"].requestPointerLock();
  9345. ev.preventDefault();
  9346. }
  9347. }), false);
  9348. }
  9349. }
  9350. }),
  9351. createContext: (function(canvas, useWebGL, setInModule, webGLContextAttributes) {
  9352. if (useWebGL && Module.ctx && canvas == Module.canvas) return Module.ctx;
  9353. var ctx;
  9354. var contextHandle;
  9355. if (useWebGL) {
  9356. var contextAttributes = {
  9357. antialias: false,
  9358. alpha: false
  9359. };
  9360. if (webGLContextAttributes) {
  9361. for (var attribute in webGLContextAttributes) {
  9362. contextAttributes[attribute] = webGLContextAttributes[attribute];
  9363. }
  9364. }
  9365. contextHandle = GL.createContext(canvas, contextAttributes);
  9366. if (contextHandle) {
  9367. ctx = GL.getContext(contextHandle).GLctx;
  9368. }
  9369. } else {
  9370. ctx = canvas.getContext("2d");
  9371. }
  9372. if (!ctx) return null;
  9373. if (setInModule) {
  9374. if (!useWebGL) assert(typeof GLctx === "undefined", "cannot set in module if GLctx is used, but we are a non-GL context that would replace it");
  9375. Module.ctx = ctx;
  9376. if (useWebGL) GL.makeContextCurrent(contextHandle);
  9377. Module.useWebGL = useWebGL;
  9378. Browser.moduleContextCreatedCallbacks.forEach((function(callback) {
  9379. callback();
  9380. }));
  9381. Browser.init();
  9382. }
  9383. return ctx;
  9384. }),
  9385. destroyContext: (function(canvas, useWebGL, setInModule) {}),
  9386. fullscreenHandlersInstalled: false,
  9387. lockPointer: undefined,
  9388. resizeCanvas: undefined,
  9389. requestFullscreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9390. Browser.lockPointer = lockPointer;
  9391. Browser.resizeCanvas = resizeCanvas;
  9392. Browser.vrDevice = vrDevice;
  9393. if (typeof Browser.lockPointer === "undefined") Browser.lockPointer = true;
  9394. if (typeof Browser.resizeCanvas === "undefined") Browser.resizeCanvas = false;
  9395. if (typeof Browser.vrDevice === "undefined") Browser.vrDevice = null;
  9396. var canvas = Module["canvas"];
  9397. function fullscreenChange() {
  9398. Browser.isFullscreen = false;
  9399. var canvasContainer = canvas.parentNode;
  9400. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvasContainer) {
  9401. canvas.exitFullscreen = document["exitFullscreen"] || document["cancelFullScreen"] || document["mozCancelFullScreen"] || document["msExitFullscreen"] || document["webkitCancelFullScreen"] || (function() {});
  9402. canvas.exitFullscreen = canvas.exitFullscreen.bind(document);
  9403. if (Browser.lockPointer) canvas.requestPointerLock();
  9404. Browser.isFullscreen = true;
  9405. if (Browser.resizeCanvas) {
  9406. Browser.setFullscreenCanvasSize();
  9407. } else {
  9408. Browser.updateCanvasDimensions(canvas);
  9409. }
  9410. } else {
  9411. canvasContainer.parentNode.insertBefore(canvas, canvasContainer);
  9412. canvasContainer.parentNode.removeChild(canvasContainer);
  9413. if (Browser.resizeCanvas) {
  9414. Browser.setWindowedCanvasSize();
  9415. } else {
  9416. Browser.updateCanvasDimensions(canvas);
  9417. }
  9418. }
  9419. if (Module["onFullScreen"]) Module["onFullScreen"](Browser.isFullscreen);
  9420. if (Module["onFullscreen"]) Module["onFullscreen"](Browser.isFullscreen);
  9421. }
  9422. if (!Browser.fullscreenHandlersInstalled) {
  9423. Browser.fullscreenHandlersInstalled = true;
  9424. document.addEventListener("fullscreenchange", fullscreenChange, false);
  9425. document.addEventListener("mozfullscreenchange", fullscreenChange, false);
  9426. document.addEventListener("webkitfullscreenchange", fullscreenChange, false);
  9427. document.addEventListener("MSFullscreenChange", fullscreenChange, false);
  9428. }
  9429. var canvasContainer = document.createElement("div");
  9430. canvas.parentNode.insertBefore(canvasContainer, canvas);
  9431. canvasContainer.appendChild(canvas);
  9432. canvasContainer.requestFullscreen = canvasContainer["requestFullscreen"] || canvasContainer["mozRequestFullScreen"] || canvasContainer["msRequestFullscreen"] || (canvasContainer["webkitRequestFullscreen"] ? (function() {
  9433. canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9434. }) : null) || (canvasContainer["webkitRequestFullScreen"] ? (function() {
  9435. canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9436. }) : null);
  9437. if (vrDevice) {
  9438. canvasContainer.requestFullscreen({
  9439. vrDisplay: vrDevice
  9440. });
  9441. } else {
  9442. canvasContainer.requestFullscreen();
  9443. }
  9444. }),
  9445. requestFullScreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9446. err("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead.");
  9447. Browser.requestFullScreen = (function(lockPointer, resizeCanvas, vrDevice) {
  9448. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9449. });
  9450. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9451. }),
  9452. nextRAF: 0,
  9453. fakeRequestAnimationFrame: (function(func) {
  9454. var now = Date.now();
  9455. if (Browser.nextRAF === 0) {
  9456. Browser.nextRAF = now + 1e3 / 60;
  9457. } else {
  9458. while (now + 2 >= Browser.nextRAF) {
  9459. Browser.nextRAF += 1e3 / 60;
  9460. }
  9461. }
  9462. var delay = Math.max(Browser.nextRAF - now, 0);
  9463. setTimeout(func, delay);
  9464. }),
  9465. requestAnimationFrame: function requestAnimationFrame(func) {
  9466. if (typeof window === "undefined") {
  9467. Browser.fakeRequestAnimationFrame(func);
  9468. } else {
  9469. if (!window.requestAnimationFrame) {
  9470. window.requestAnimationFrame = window["requestAnimationFrame"] || window["mozRequestAnimationFrame"] || window["webkitRequestAnimationFrame"] || window["msRequestAnimationFrame"] || window["oRequestAnimationFrame"] || Browser.fakeRequestAnimationFrame;
  9471. }
  9472. window.requestAnimationFrame(func);
  9473. }
  9474. },
  9475. safeCallback: (function(func) {
  9476. return (function() {
  9477. if (!ABORT) return func.apply(null, arguments);
  9478. });
  9479. }),
  9480. allowAsyncCallbacks: true,
  9481. queuedAsyncCallbacks: [],
  9482. pauseAsyncCallbacks: (function() {
  9483. Browser.allowAsyncCallbacks = false;
  9484. }),
  9485. resumeAsyncCallbacks: (function() {
  9486. Browser.allowAsyncCallbacks = true;
  9487. if (Browser.queuedAsyncCallbacks.length > 0) {
  9488. var callbacks = Browser.queuedAsyncCallbacks;
  9489. Browser.queuedAsyncCallbacks = [];
  9490. callbacks.forEach((function(func) {
  9491. func();
  9492. }));
  9493. }
  9494. }),
  9495. safeRequestAnimationFrame: (function(func) {
  9496. return Browser.requestAnimationFrame((function() {
  9497. if (ABORT) return;
  9498. if (Browser.allowAsyncCallbacks) {
  9499. func();
  9500. } else {
  9501. Browser.queuedAsyncCallbacks.push(func);
  9502. }
  9503. }));
  9504. }),
  9505. safeSetTimeout: (function(func, timeout) {
  9506. Module["noExitRuntime"] = true;
  9507. return setTimeout((function() {
  9508. if (ABORT) return;
  9509. if (Browser.allowAsyncCallbacks) {
  9510. func();
  9511. } else {
  9512. Browser.queuedAsyncCallbacks.push(func);
  9513. }
  9514. }), timeout);
  9515. }),
  9516. safeSetInterval: (function(func, timeout) {
  9517. Module["noExitRuntime"] = true;
  9518. return setInterval((function() {
  9519. if (ABORT) return;
  9520. if (Browser.allowAsyncCallbacks) {
  9521. func();
  9522. }
  9523. }), timeout);
  9524. }),
  9525. getMimetype: (function(name) {
  9526. return {
  9527. "jpg": "image/jpeg",
  9528. "jpeg": "image/jpeg",
  9529. "png": "image/png",
  9530. "bmp": "image/bmp",
  9531. "ogg": "audio/ogg",
  9532. "wav": "audio/wav",
  9533. "mp3": "audio/mpeg"
  9534. }[name.substr(name.lastIndexOf(".") + 1)];
  9535. }),
  9536. getUserMedia: (function(func) {
  9537. if (!window.getUserMedia) {
  9538. window.getUserMedia = navigator["getUserMedia"] || navigator["mozGetUserMedia"];
  9539. }
  9540. window.getUserMedia(func);
  9541. }),
  9542. getMovementX: (function(event) {
  9543. return event["movementX"] || event["mozMovementX"] || event["webkitMovementX"] || 0;
  9544. }),
  9545. getMovementY: (function(event) {
  9546. return event["movementY"] || event["mozMovementY"] || event["webkitMovementY"] || 0;
  9547. }),
  9548. getMouseWheelDelta: (function(event) {
  9549. var delta = 0;
  9550. switch (event.type) {
  9551. case "DOMMouseScroll":
  9552. delta = event.detail;
  9553. break;
  9554. case "mousewheel":
  9555. delta = event.wheelDelta;
  9556. break;
  9557. case "wheel":
  9558. delta = event["deltaY"];
  9559. break;
  9560. default:
  9561. throw "unrecognized mouse wheel event: " + event.type;
  9562. }
  9563. return delta;
  9564. }),
  9565. mouseX: 0,
  9566. mouseY: 0,
  9567. mouseMovementX: 0,
  9568. mouseMovementY: 0,
  9569. touches: {},
  9570. lastTouches: {},
  9571. calculateMouseEvent: (function(event) {
  9572. if (Browser.pointerLock) {
  9573. if (event.type != "mousemove" && "mozMovementX" in event) {
  9574. Browser.mouseMovementX = Browser.mouseMovementY = 0;
  9575. } else {
  9576. Browser.mouseMovementX = Browser.getMovementX(event);
  9577. Browser.mouseMovementY = Browser.getMovementY(event);
  9578. }
  9579. if (typeof SDL != "undefined") {
  9580. Browser.mouseX = SDL.mouseX + Browser.mouseMovementX;
  9581. Browser.mouseY = SDL.mouseY + Browser.mouseMovementY;
  9582. } else {
  9583. Browser.mouseX += Browser.mouseMovementX;
  9584. Browser.mouseY += Browser.mouseMovementY;
  9585. }
  9586. } else {
  9587. var rect = Module["canvas"].getBoundingClientRect();
  9588. var cw = Module["canvas"].width;
  9589. var ch = Module["canvas"].height;
  9590. var scrollX = typeof window.scrollX !== "undefined" ? window.scrollX : window.pageXOffset;
  9591. var scrollY = typeof window.scrollY !== "undefined" ? window.scrollY : window.pageYOffset;
  9592. assert(typeof scrollX !== "undefined" && typeof scrollY !== "undefined", "Unable to retrieve scroll position, mouse positions likely broken.");
  9593. if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchmove") {
  9594. var touch = event.touch;
  9595. if (touch === undefined) {
  9596. return;
  9597. }
  9598. var adjustedX = touch.pageX - (scrollX + rect.left);
  9599. var adjustedY = touch.pageY - (scrollY + rect.top);
  9600. adjustedX = adjustedX * (cw / rect.width);
  9601. adjustedY = adjustedY * (ch / rect.height);
  9602. var coords = {
  9603. x: adjustedX,
  9604. y: adjustedY
  9605. };
  9606. if (event.type === "touchstart") {
  9607. Browser.lastTouches[touch.identifier] = coords;
  9608. Browser.touches[touch.identifier] = coords;
  9609. } else if (event.type === "touchend" || event.type === "touchmove") {
  9610. var last = Browser.touches[touch.identifier];
  9611. if (!last) last = coords;
  9612. Browser.lastTouches[touch.identifier] = last;
  9613. Browser.touches[touch.identifier] = coords;
  9614. }
  9615. return;
  9616. }
  9617. var x = event.pageX - (scrollX + rect.left);
  9618. var y = event.pageY - (scrollY + rect.top);
  9619. x = x * (cw / rect.width);
  9620. y = y * (ch / rect.height);
  9621. Browser.mouseMovementX = x - Browser.mouseX;
  9622. Browser.mouseMovementY = y - Browser.mouseY;
  9623. Browser.mouseX = x;
  9624. Browser.mouseY = y;
  9625. }
  9626. }),
  9627. asyncLoad: (function(url, onload, onerror, noRunDep) {
  9628. var dep = !noRunDep ? getUniqueRunDependency("al " + url) : "";
  9629. Module["readAsync"](url, (function(arrayBuffer) {
  9630. assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
  9631. onload(new Uint8Array(arrayBuffer));
  9632. if (dep) removeRunDependency(dep);
  9633. }), (function(event) {
  9634. if (onerror) {
  9635. onerror();
  9636. } else {
  9637. throw 'Loading data file "' + url + '" failed.';
  9638. }
  9639. }));
  9640. if (dep) addRunDependency(dep);
  9641. }),
  9642. resizeListeners: [],
  9643. updateResizeListeners: (function() {
  9644. var canvas = Module["canvas"];
  9645. Browser.resizeListeners.forEach((function(listener) {
  9646. listener(canvas.width, canvas.height);
  9647. }));
  9648. }),
  9649. setCanvasSize: (function(width, height, noUpdates) {
  9650. var canvas = Module["canvas"];
  9651. Browser.updateCanvasDimensions(canvas, width, height);
  9652. if (!noUpdates) Browser.updateResizeListeners();
  9653. }),
  9654. windowedWidth: 0,
  9655. windowedHeight: 0,
  9656. setFullscreenCanvasSize: (function() {
  9657. if (typeof SDL != "undefined") {
  9658. var flags = HEAPU32[SDL.screen >> 2];
  9659. flags = flags | 8388608;
  9660. HEAP32[SDL.screen >> 2] = flags;
  9661. }
  9662. Browser.updateCanvasDimensions(Module["canvas"]);
  9663. Browser.updateResizeListeners();
  9664. }),
  9665. setWindowedCanvasSize: (function() {
  9666. if (typeof SDL != "undefined") {
  9667. var flags = HEAPU32[SDL.screen >> 2];
  9668. flags = flags & ~8388608;
  9669. HEAP32[SDL.screen >> 2] = flags;
  9670. }
  9671. Browser.updateCanvasDimensions(Module["canvas"]);
  9672. Browser.updateResizeListeners();
  9673. }),
  9674. updateCanvasDimensions: (function(canvas, wNative, hNative) {
  9675. if (wNative && hNative) {
  9676. canvas.widthNative = wNative;
  9677. canvas.heightNative = hNative;
  9678. } else {
  9679. wNative = canvas.widthNative;
  9680. hNative = canvas.heightNative;
  9681. }
  9682. var w = wNative;
  9683. var h = hNative;
  9684. if (Module["forcedAspectRatio"] && Module["forcedAspectRatio"] > 0) {
  9685. if (w / h < Module["forcedAspectRatio"]) {
  9686. w = Math.round(h * Module["forcedAspectRatio"]);
  9687. } else {
  9688. h = Math.round(w / Module["forcedAspectRatio"]);
  9689. }
  9690. }
  9691. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvas.parentNode && typeof screen != "undefined") {
  9692. var factor = Math.min(screen.width / w, screen.height / h);
  9693. w = Math.round(w * factor);
  9694. h = Math.round(h * factor);
  9695. }
  9696. if (Browser.resizeCanvas) {
  9697. if (canvas.width != w) canvas.width = w;
  9698. if (canvas.height != h) canvas.height = h;
  9699. if (typeof canvas.style != "undefined") {
  9700. canvas.style.removeProperty("width");
  9701. canvas.style.removeProperty("height");
  9702. }
  9703. } else {
  9704. if (canvas.width != wNative) canvas.width = wNative;
  9705. if (canvas.height != hNative) canvas.height = hNative;
  9706. if (typeof canvas.style != "undefined") {
  9707. if (w != wNative || h != hNative) {
  9708. canvas.style.setProperty("width", w + "px", "important");
  9709. canvas.style.setProperty("height", h + "px", "important");
  9710. } else {
  9711. canvas.style.removeProperty("width");
  9712. canvas.style.removeProperty("height");
  9713. }
  9714. }
  9715. }
  9716. }),
  9717. wgetRequests: {},
  9718. nextWgetRequestHandle: 0,
  9719. getNextWgetRequestHandle: (function() {
  9720. var handle = Browser.nextWgetRequestHandle;
  9721. Browser.nextWgetRequestHandle++;
  9722. return handle;
  9723. })
  9724. };
  9725. function _emscripten_cancel_main_loop() {
  9726. Browser.mainLoop.pause();
  9727. Browser.mainLoop.func = null;
  9728. }
  9729. function _emscripten_set_canvas_element_size(target, width, height) {
  9730. var canvas = JSEvents.findCanvasEventTarget(target);
  9731. if (!canvas) return -4;
  9732. canvas.width = width;
  9733. canvas.height = height;
  9734. return 0;
  9735. }
  9736. function emscripten_set_canvas_element_size_js(target, width, height) {
  9737. if (typeof target === "string") {
  9738. var stackTop = stackSave();
  9739. var targetInt = stackAlloc(target.length + 1);
  9740. stringToUTF8(target, targetInt, target.length + 1);
  9741. var ret = _emscripten_set_canvas_element_size(targetInt, width, height);
  9742. stackRestore(stackTop);
  9743. return ret;
  9744. } else {
  9745. return _emscripten_set_canvas_element_size(target, width, height);
  9746. }
  9747. }
  9748. function _emscripten_get_canvas_element_size_calling_thread(target, width, height) {
  9749. var canvas = JSEvents.findCanvasEventTarget(target);
  9750. if (!canvas) return -4;
  9751. if (canvas.canvasSharedPtr) {
  9752. var w = HEAP32[canvas.canvasSharedPtr >> 2];
  9753. var h = HEAP32[canvas.canvasSharedPtr + 4 >> 2];
  9754. HEAP32[width >> 2] = w;
  9755. HEAP32[height >> 2] = h;
  9756. } else if (canvas.offscreenCanvas) {
  9757. HEAP32[width >> 2] = canvas.offscreenCanvas.width;
  9758. HEAP32[height >> 2] = canvas.offscreenCanvas.height;
  9759. } else if (!canvas.controlTransferredOffscreen) {
  9760. HEAP32[width >> 2] = canvas.width;
  9761. HEAP32[height >> 2] = canvas.height;
  9762. } else {
  9763. return -4;
  9764. }
  9765. return 0;
  9766. }
  9767. function _emscripten_get_canvas_element_size_main_thread(target, width, height) {
  9768. return _emscripten_get_canvas_element_size_calling_thread(target, width, height);
  9769. }
  9770. function _emscripten_get_canvas_element_size(target, width, height) {
  9771. var canvas = JSEvents.findCanvasEventTarget(target);
  9772. if (canvas) return _emscripten_get_canvas_element_size_calling_thread(target, width, height); else return _emscripten_get_canvas_element_size_main_thread(target, width, height);
  9773. }
  9774. function emscripten_get_canvas_element_size_js(target) {
  9775. var stackTop = stackSave();
  9776. var w = stackAlloc(8);
  9777. var h = w + 4;
  9778. if (typeof target === "string") {
  9779. var targetInt = stackAlloc(target.length + 1);
  9780. stringToUTF8(target, targetInt, target.length + 1);
  9781. target = targetInt;
  9782. }
  9783. var ret = _emscripten_get_canvas_element_size(target, w, h);
  9784. var size = [ HEAP32[w >> 2], HEAP32[h >> 2] ];
  9785. stackRestore(stackTop);
  9786. return size;
  9787. }
  9788. var JSEvents = {
  9789. keyEvent: 0,
  9790. mouseEvent: 0,
  9791. wheelEvent: 0,
  9792. uiEvent: 0,
  9793. focusEvent: 0,
  9794. deviceOrientationEvent: 0,
  9795. deviceMotionEvent: 0,
  9796. fullscreenChangeEvent: 0,
  9797. pointerlockChangeEvent: 0,
  9798. visibilityChangeEvent: 0,
  9799. touchEvent: 0,
  9800. lastGamepadState: null,
  9801. lastGamepadStateFrame: null,
  9802. numGamepadsConnected: 0,
  9803. previousFullscreenElement: null,
  9804. previousScreenX: null,
  9805. previousScreenY: null,
  9806. removeEventListenersRegistered: false,
  9807. _onGamepadConnected: (function() {
  9808. ++JSEvents.numGamepadsConnected;
  9809. }),
  9810. _onGamepadDisconnected: (function() {
  9811. --JSEvents.numGamepadsConnected;
  9812. }),
  9813. staticInit: (function() {
  9814. if (typeof window !== "undefined") {
  9815. window.addEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9816. window.addEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9817. var firstState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads() : null;
  9818. if (firstState) {
  9819. JSEvents.numGamepadsConnected = firstState.length;
  9820. }
  9821. }
  9822. }),
  9823. removeAllEventListeners: (function() {
  9824. for (var i = JSEvents.eventHandlers.length - 1; i >= 0; --i) {
  9825. JSEvents._removeHandler(i);
  9826. }
  9827. JSEvents.eventHandlers = [];
  9828. JSEvents.deferredCalls = [];
  9829. window.removeEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9830. window.removeEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9831. }),
  9832. registerRemoveEventListeners: (function() {
  9833. if (!JSEvents.removeEventListenersRegistered) {
  9834. __ATEXIT__.push(JSEvents.removeAllEventListeners);
  9835. JSEvents.removeEventListenersRegistered = true;
  9836. }
  9837. }),
  9838. findEventTarget: (function(target) {
  9839. try {
  9840. if (!target) return window;
  9841. if (typeof target === "number") target = Pointer_stringify(target);
  9842. if (target === "#window") return window; else if (target === "#document") return document; else if (target === "#screen") return window.screen; else if (target === "#canvas") return Module["canvas"];
  9843. return typeof target === "string" ? document.getElementById(target) : target;
  9844. } catch (e) {
  9845. return null;
  9846. }
  9847. }),
  9848. findCanvasEventTarget: (function(target) {
  9849. if (typeof target === "number") target = Pointer_stringify(target);
  9850. if (!target || target === "#canvas") {
  9851. if (typeof GL !== "undefined" && GL.offscreenCanvases["canvas"]) return GL.offscreenCanvases["canvas"];
  9852. return Module["canvas"];
  9853. }
  9854. if (typeof GL !== "undefined" && GL.offscreenCanvases[target]) return GL.offscreenCanvases[target];
  9855. return JSEvents.findEventTarget(target);
  9856. }),
  9857. deferredCalls: [],
  9858. deferCall: (function(targetFunction, precedence, argsList) {
  9859. function arraysHaveEqualContent(arrA, arrB) {
  9860. if (arrA.length != arrB.length) return false;
  9861. for (var i in arrA) {
  9862. if (arrA[i] != arrB[i]) return false;
  9863. }
  9864. return true;
  9865. }
  9866. for (var i in JSEvents.deferredCalls) {
  9867. var call = JSEvents.deferredCalls[i];
  9868. if (call.targetFunction == targetFunction && arraysHaveEqualContent(call.argsList, argsList)) {
  9869. return;
  9870. }
  9871. }
  9872. JSEvents.deferredCalls.push({
  9873. targetFunction: targetFunction,
  9874. precedence: precedence,
  9875. argsList: argsList
  9876. });
  9877. JSEvents.deferredCalls.sort((function(x, y) {
  9878. return x.precedence < y.precedence;
  9879. }));
  9880. }),
  9881. removeDeferredCalls: (function(targetFunction) {
  9882. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  9883. if (JSEvents.deferredCalls[i].targetFunction == targetFunction) {
  9884. JSEvents.deferredCalls.splice(i, 1);
  9885. --i;
  9886. }
  9887. }
  9888. }),
  9889. canPerformEventHandlerRequests: (function() {
  9890. return JSEvents.inEventHandler && JSEvents.currentEventHandler.allowsDeferredCalls;
  9891. }),
  9892. runDeferredCalls: (function() {
  9893. if (!JSEvents.canPerformEventHandlerRequests()) {
  9894. return;
  9895. }
  9896. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  9897. var call = JSEvents.deferredCalls[i];
  9898. JSEvents.deferredCalls.splice(i, 1);
  9899. --i;
  9900. call.targetFunction.apply(this, call.argsList);
  9901. }
  9902. }),
  9903. inEventHandler: 0,
  9904. currentEventHandler: null,
  9905. eventHandlers: [],
  9906. isInternetExplorer: (function() {
  9907. return navigator.userAgent.indexOf("MSIE") !== -1 || navigator.appVersion.indexOf("Trident/") > 0;
  9908. }),
  9909. removeAllHandlersOnTarget: (function(target, eventTypeString) {
  9910. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  9911. if (JSEvents.eventHandlers[i].target == target && (!eventTypeString || eventTypeString == JSEvents.eventHandlers[i].eventTypeString)) {
  9912. JSEvents._removeHandler(i--);
  9913. }
  9914. }
  9915. }),
  9916. _removeHandler: (function(i) {
  9917. var h = JSEvents.eventHandlers[i];
  9918. h.target.removeEventListener(h.eventTypeString, h.eventListenerFunc, h.useCapture);
  9919. JSEvents.eventHandlers.splice(i, 1);
  9920. }),
  9921. registerOrRemoveHandler: (function(eventHandler) {
  9922. var jsEventHandler = function jsEventHandler(event) {
  9923. ++JSEvents.inEventHandler;
  9924. JSEvents.currentEventHandler = eventHandler;
  9925. JSEvents.runDeferredCalls();
  9926. eventHandler.handlerFunc(event);
  9927. JSEvents.runDeferredCalls();
  9928. --JSEvents.inEventHandler;
  9929. };
  9930. if (eventHandler.callbackfunc) {
  9931. eventHandler.eventListenerFunc = jsEventHandler;
  9932. eventHandler.target.addEventListener(eventHandler.eventTypeString, jsEventHandler, eventHandler.useCapture);
  9933. JSEvents.eventHandlers.push(eventHandler);
  9934. JSEvents.registerRemoveEventListeners();
  9935. } else {
  9936. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  9937. if (JSEvents.eventHandlers[i].target == eventHandler.target && JSEvents.eventHandlers[i].eventTypeString == eventHandler.eventTypeString) {
  9938. JSEvents._removeHandler(i--);
  9939. }
  9940. }
  9941. }
  9942. }),
  9943. registerKeyEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  9944. if (!JSEvents.keyEvent) JSEvents.keyEvent = _malloc(164);
  9945. var keyEventHandlerFunc = (function(event) {
  9946. var e = event || window.event;
  9947. var keyEventData = JSEvents.keyEvent;
  9948. stringToUTF8(e.key ? e.key : "", keyEventData + 0, 32);
  9949. stringToUTF8(e.code ? e.code : "", keyEventData + 32, 32);
  9950. HEAP32[keyEventData + 64 >> 2] = e.location;
  9951. HEAP32[keyEventData + 68 >> 2] = e.ctrlKey;
  9952. HEAP32[keyEventData + 72 >> 2] = e.shiftKey;
  9953. HEAP32[keyEventData + 76 >> 2] = e.altKey;
  9954. HEAP32[keyEventData + 80 >> 2] = e.metaKey;
  9955. HEAP32[keyEventData + 84 >> 2] = e.repeat;
  9956. stringToUTF8(e.locale ? e.locale : "", keyEventData + 88, 32);
  9957. stringToUTF8(e.char ? e.char : "", keyEventData + 120, 32);
  9958. HEAP32[keyEventData + 152 >> 2] = e.charCode;
  9959. HEAP32[keyEventData + 156 >> 2] = e.keyCode;
  9960. HEAP32[keyEventData + 160 >> 2] = e.which;
  9961. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, keyEventData, userData)) e.preventDefault();
  9962. });
  9963. var eventHandler = {
  9964. target: JSEvents.findEventTarget(target),
  9965. allowsDeferredCalls: JSEvents.isInternetExplorer() ? false : true,
  9966. eventTypeString: eventTypeString,
  9967. callbackfunc: callbackfunc,
  9968. handlerFunc: keyEventHandlerFunc,
  9969. useCapture: useCapture
  9970. };
  9971. JSEvents.registerOrRemoveHandler(eventHandler);
  9972. }),
  9973. getBoundingClientRectOrZeros: (function(target) {
  9974. return target.getBoundingClientRect ? target.getBoundingClientRect() : {
  9975. left: 0,
  9976. top: 0
  9977. };
  9978. }),
  9979. fillMouseEventData: (function(eventStruct, e, target) {
  9980. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  9981. HEAP32[eventStruct + 8 >> 2] = e.screenX;
  9982. HEAP32[eventStruct + 12 >> 2] = e.screenY;
  9983. HEAP32[eventStruct + 16 >> 2] = e.clientX;
  9984. HEAP32[eventStruct + 20 >> 2] = e.clientY;
  9985. HEAP32[eventStruct + 24 >> 2] = e.ctrlKey;
  9986. HEAP32[eventStruct + 28 >> 2] = e.shiftKey;
  9987. HEAP32[eventStruct + 32 >> 2] = e.altKey;
  9988. HEAP32[eventStruct + 36 >> 2] = e.metaKey;
  9989. HEAP16[eventStruct + 40 >> 1] = e.button;
  9990. HEAP16[eventStruct + 42 >> 1] = e.buttons;
  9991. HEAP32[eventStruct + 44 >> 2] = e["movementX"];
  9992. HEAP32[eventStruct + 48 >> 2] = e["movementY"];
  9993. if (Module["canvas"]) {
  9994. var rect = Module["canvas"].getBoundingClientRect();
  9995. HEAP32[eventStruct + 60 >> 2] = e.clientX - rect.left;
  9996. HEAP32[eventStruct + 64 >> 2] = e.clientY - rect.top;
  9997. } else {
  9998. HEAP32[eventStruct + 60 >> 2] = 0;
  9999. HEAP32[eventStruct + 64 >> 2] = 0;
  10000. }
  10001. if (target) {
  10002. var rect = JSEvents.getBoundingClientRectOrZeros(target);
  10003. HEAP32[eventStruct + 52 >> 2] = e.clientX - rect.left;
  10004. HEAP32[eventStruct + 56 >> 2] = e.clientY - rect.top;
  10005. } else {
  10006. HEAP32[eventStruct + 52 >> 2] = 0;
  10007. HEAP32[eventStruct + 56 >> 2] = 0;
  10008. }
  10009. if (e.type !== "wheel" && e.type !== "mousewheel") {
  10010. JSEvents.previousScreenX = e.screenX;
  10011. JSEvents.previousScreenY = e.screenY;
  10012. }
  10013. }),
  10014. registerMouseEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10015. if (!JSEvents.mouseEvent) JSEvents.mouseEvent = _malloc(72);
  10016. target = JSEvents.findEventTarget(target);
  10017. var mouseEventHandlerFunc = (function(event) {
  10018. var e = event || window.event;
  10019. JSEvents.fillMouseEventData(JSEvents.mouseEvent, e, target);
  10020. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.mouseEvent, userData)) e.preventDefault();
  10021. });
  10022. var eventHandler = {
  10023. target: target,
  10024. allowsDeferredCalls: eventTypeString != "mousemove" && eventTypeString != "mouseenter" && eventTypeString != "mouseleave",
  10025. eventTypeString: eventTypeString,
  10026. callbackfunc: callbackfunc,
  10027. handlerFunc: mouseEventHandlerFunc,
  10028. useCapture: useCapture
  10029. };
  10030. if (JSEvents.isInternetExplorer() && eventTypeString == "mousedown") eventHandler.allowsDeferredCalls = false;
  10031. JSEvents.registerOrRemoveHandler(eventHandler);
  10032. }),
  10033. registerWheelEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10034. if (!JSEvents.wheelEvent) JSEvents.wheelEvent = _malloc(104);
  10035. target = JSEvents.findEventTarget(target);
  10036. var wheelHandlerFunc = (function(event) {
  10037. var e = event || window.event;
  10038. var wheelEvent = JSEvents.wheelEvent;
  10039. JSEvents.fillMouseEventData(wheelEvent, e, target);
  10040. HEAPF64[wheelEvent + 72 >> 3] = e["deltaX"];
  10041. HEAPF64[wheelEvent + 80 >> 3] = e["deltaY"];
  10042. HEAPF64[wheelEvent + 88 >> 3] = e["deltaZ"];
  10043. HEAP32[wheelEvent + 96 >> 2] = e["deltaMode"];
  10044. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, wheelEvent, userData)) e.preventDefault();
  10045. });
  10046. var mouseWheelHandlerFunc = (function(event) {
  10047. var e = event || window.event;
  10048. JSEvents.fillMouseEventData(JSEvents.wheelEvent, e, target);
  10049. HEAPF64[JSEvents.wheelEvent + 72 >> 3] = e["wheelDeltaX"] || 0;
  10050. HEAPF64[JSEvents.wheelEvent + 80 >> 3] = -(e["wheelDeltaY"] ? e["wheelDeltaY"] : e["wheelDelta"]);
  10051. HEAPF64[JSEvents.wheelEvent + 88 >> 3] = 0;
  10052. HEAP32[JSEvents.wheelEvent + 96 >> 2] = 0;
  10053. var shouldCancel = Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.wheelEvent, userData);
  10054. if (shouldCancel) {
  10055. e.preventDefault();
  10056. }
  10057. });
  10058. var eventHandler = {
  10059. target: target,
  10060. allowsDeferredCalls: true,
  10061. eventTypeString: eventTypeString,
  10062. callbackfunc: callbackfunc,
  10063. handlerFunc: eventTypeString == "wheel" ? wheelHandlerFunc : mouseWheelHandlerFunc,
  10064. useCapture: useCapture
  10065. };
  10066. JSEvents.registerOrRemoveHandler(eventHandler);
  10067. }),
  10068. pageScrollPos: (function() {
  10069. if (window.pageXOffset > 0 || window.pageYOffset > 0) {
  10070. return [ window.pageXOffset, window.pageYOffset ];
  10071. }
  10072. if (typeof document.documentElement.scrollLeft !== "undefined" || typeof document.documentElement.scrollTop !== "undefined") {
  10073. return [ document.documentElement.scrollLeft, document.documentElement.scrollTop ];
  10074. }
  10075. return [ document.body.scrollLeft | 0, document.body.scrollTop | 0 ];
  10076. }),
  10077. registerUiEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10078. if (!JSEvents.uiEvent) JSEvents.uiEvent = _malloc(36);
  10079. if (eventTypeString == "scroll" && !target) {
  10080. target = document;
  10081. } else {
  10082. target = JSEvents.findEventTarget(target);
  10083. }
  10084. var uiEventHandlerFunc = (function(event) {
  10085. var e = event || window.event;
  10086. if (e.target != target) {
  10087. return;
  10088. }
  10089. var scrollPos = JSEvents.pageScrollPos();
  10090. var uiEvent = JSEvents.uiEvent;
  10091. HEAP32[uiEvent >> 2] = e.detail;
  10092. HEAP32[uiEvent + 4 >> 2] = document.body.clientWidth;
  10093. HEAP32[uiEvent + 8 >> 2] = document.body.clientHeight;
  10094. HEAP32[uiEvent + 12 >> 2] = window.innerWidth;
  10095. HEAP32[uiEvent + 16 >> 2] = window.innerHeight;
  10096. HEAP32[uiEvent + 20 >> 2] = window.outerWidth;
  10097. HEAP32[uiEvent + 24 >> 2] = window.outerHeight;
  10098. HEAP32[uiEvent + 28 >> 2] = scrollPos[0];
  10099. HEAP32[uiEvent + 32 >> 2] = scrollPos[1];
  10100. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, uiEvent, userData)) e.preventDefault();
  10101. });
  10102. var eventHandler = {
  10103. target: target,
  10104. allowsDeferredCalls: false,
  10105. eventTypeString: eventTypeString,
  10106. callbackfunc: callbackfunc,
  10107. handlerFunc: uiEventHandlerFunc,
  10108. useCapture: useCapture
  10109. };
  10110. JSEvents.registerOrRemoveHandler(eventHandler);
  10111. }),
  10112. getNodeNameForTarget: (function(target) {
  10113. if (!target) return "";
  10114. if (target == window) return "#window";
  10115. if (target == window.screen) return "#screen";
  10116. return target && target.nodeName ? target.nodeName : "";
  10117. }),
  10118. registerFocusEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10119. if (!JSEvents.focusEvent) JSEvents.focusEvent = _malloc(256);
  10120. var focusEventHandlerFunc = (function(event) {
  10121. var e = event || window.event;
  10122. var nodeName = JSEvents.getNodeNameForTarget(e.target);
  10123. var id = e.target.id ? e.target.id : "";
  10124. var focusEvent = JSEvents.focusEvent;
  10125. stringToUTF8(nodeName, focusEvent + 0, 128);
  10126. stringToUTF8(id, focusEvent + 128, 128);
  10127. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, focusEvent, userData)) e.preventDefault();
  10128. });
  10129. var eventHandler = {
  10130. target: JSEvents.findEventTarget(target),
  10131. allowsDeferredCalls: false,
  10132. eventTypeString: eventTypeString,
  10133. callbackfunc: callbackfunc,
  10134. handlerFunc: focusEventHandlerFunc,
  10135. useCapture: useCapture
  10136. };
  10137. JSEvents.registerOrRemoveHandler(eventHandler);
  10138. }),
  10139. tick: (function() {
  10140. if (window["performance"] && window["performance"]["now"]) return window["performance"]["now"](); else return Date.now();
  10141. }),
  10142. fillDeviceOrientationEventData: (function(eventStruct, e, target) {
  10143. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10144. HEAPF64[eventStruct + 8 >> 3] = e.alpha;
  10145. HEAPF64[eventStruct + 16 >> 3] = e.beta;
  10146. HEAPF64[eventStruct + 24 >> 3] = e.gamma;
  10147. HEAP32[eventStruct + 32 >> 2] = e.absolute;
  10148. }),
  10149. registerDeviceOrientationEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10150. if (!JSEvents.deviceOrientationEvent) JSEvents.deviceOrientationEvent = _malloc(40);
  10151. var deviceOrientationEventHandlerFunc = (function(event) {
  10152. var e = event || window.event;
  10153. JSEvents.fillDeviceOrientationEventData(JSEvents.deviceOrientationEvent, e, target);
  10154. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceOrientationEvent, userData)) e.preventDefault();
  10155. });
  10156. var eventHandler = {
  10157. target: JSEvents.findEventTarget(target),
  10158. allowsDeferredCalls: false,
  10159. eventTypeString: eventTypeString,
  10160. callbackfunc: callbackfunc,
  10161. handlerFunc: deviceOrientationEventHandlerFunc,
  10162. useCapture: useCapture
  10163. };
  10164. JSEvents.registerOrRemoveHandler(eventHandler);
  10165. }),
  10166. fillDeviceMotionEventData: (function(eventStruct, e, target) {
  10167. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10168. HEAPF64[eventStruct + 8 >> 3] = e.acceleration.x;
  10169. HEAPF64[eventStruct + 16 >> 3] = e.acceleration.y;
  10170. HEAPF64[eventStruct + 24 >> 3] = e.acceleration.z;
  10171. HEAPF64[eventStruct + 32 >> 3] = e.accelerationIncludingGravity.x;
  10172. HEAPF64[eventStruct + 40 >> 3] = e.accelerationIncludingGravity.y;
  10173. HEAPF64[eventStruct + 48 >> 3] = e.accelerationIncludingGravity.z;
  10174. HEAPF64[eventStruct + 56 >> 3] = e.rotationRate.alpha;
  10175. HEAPF64[eventStruct + 64 >> 3] = e.rotationRate.beta;
  10176. HEAPF64[eventStruct + 72 >> 3] = e.rotationRate.gamma;
  10177. }),
  10178. registerDeviceMotionEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10179. if (!JSEvents.deviceMotionEvent) JSEvents.deviceMotionEvent = _malloc(80);
  10180. var deviceMotionEventHandlerFunc = (function(event) {
  10181. var e = event || window.event;
  10182. JSEvents.fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target);
  10183. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceMotionEvent, userData)) e.preventDefault();
  10184. });
  10185. var eventHandler = {
  10186. target: JSEvents.findEventTarget(target),
  10187. allowsDeferredCalls: false,
  10188. eventTypeString: eventTypeString,
  10189. callbackfunc: callbackfunc,
  10190. handlerFunc: deviceMotionEventHandlerFunc,
  10191. useCapture: useCapture
  10192. };
  10193. JSEvents.registerOrRemoveHandler(eventHandler);
  10194. }),
  10195. screenOrientation: (function() {
  10196. if (!window.screen) return undefined;
  10197. return window.screen.orientation || window.screen.mozOrientation || window.screen.webkitOrientation || window.screen.msOrientation;
  10198. }),
  10199. fillOrientationChangeEventData: (function(eventStruct, e) {
  10200. var orientations = [ "portrait-primary", "portrait-secondary", "landscape-primary", "landscape-secondary" ];
  10201. var orientations2 = [ "portrait", "portrait", "landscape", "landscape" ];
  10202. var orientationString = JSEvents.screenOrientation();
  10203. var orientation = orientations.indexOf(orientationString);
  10204. if (orientation == -1) {
  10205. orientation = orientations2.indexOf(orientationString);
  10206. }
  10207. HEAP32[eventStruct >> 2] = 1 << orientation;
  10208. HEAP32[eventStruct + 4 >> 2] = window.orientation;
  10209. }),
  10210. registerOrientationChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10211. if (!JSEvents.orientationChangeEvent) JSEvents.orientationChangeEvent = _malloc(8);
  10212. if (!target) {
  10213. target = window.screen;
  10214. } else {
  10215. target = JSEvents.findEventTarget(target);
  10216. }
  10217. var orientationChangeEventHandlerFunc = (function(event) {
  10218. var e = event || window.event;
  10219. var orientationChangeEvent = JSEvents.orientationChangeEvent;
  10220. JSEvents.fillOrientationChangeEventData(orientationChangeEvent, e);
  10221. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, orientationChangeEvent, userData)) e.preventDefault();
  10222. });
  10223. if (eventTypeString == "orientationchange" && window.screen.mozOrientation !== undefined) {
  10224. eventTypeString = "mozorientationchange";
  10225. }
  10226. var eventHandler = {
  10227. target: target,
  10228. allowsDeferredCalls: false,
  10229. eventTypeString: eventTypeString,
  10230. callbackfunc: callbackfunc,
  10231. handlerFunc: orientationChangeEventHandlerFunc,
  10232. useCapture: useCapture
  10233. };
  10234. JSEvents.registerOrRemoveHandler(eventHandler);
  10235. }),
  10236. fullscreenEnabled: (function() {
  10237. return document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled || document.msFullscreenEnabled;
  10238. }),
  10239. fillFullscreenChangeEventData: (function(eventStruct, e) {
  10240. var fullscreenElement = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement;
  10241. var isFullscreen = !!fullscreenElement;
  10242. HEAP32[eventStruct >> 2] = isFullscreen;
  10243. HEAP32[eventStruct + 4 >> 2] = JSEvents.fullscreenEnabled();
  10244. var reportedElement = isFullscreen ? fullscreenElement : JSEvents.previousFullscreenElement;
  10245. var nodeName = JSEvents.getNodeNameForTarget(reportedElement);
  10246. var id = reportedElement && reportedElement.id ? reportedElement.id : "";
  10247. stringToUTF8(nodeName, eventStruct + 8, 128);
  10248. stringToUTF8(id, eventStruct + 136, 128);
  10249. HEAP32[eventStruct + 264 >> 2] = reportedElement ? reportedElement.clientWidth : 0;
  10250. HEAP32[eventStruct + 268 >> 2] = reportedElement ? reportedElement.clientHeight : 0;
  10251. HEAP32[eventStruct + 272 >> 2] = screen.width;
  10252. HEAP32[eventStruct + 276 >> 2] = screen.height;
  10253. if (isFullscreen) {
  10254. JSEvents.previousFullscreenElement = fullscreenElement;
  10255. }
  10256. }),
  10257. registerFullscreenChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10258. if (!JSEvents.fullscreenChangeEvent) JSEvents.fullscreenChangeEvent = _malloc(280);
  10259. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10260. var fullscreenChangeEventhandlerFunc = (function(event) {
  10261. var e = event || window.event;
  10262. var fullscreenChangeEvent = JSEvents.fullscreenChangeEvent;
  10263. JSEvents.fillFullscreenChangeEventData(fullscreenChangeEvent, e);
  10264. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, fullscreenChangeEvent, userData)) e.preventDefault();
  10265. });
  10266. var eventHandler = {
  10267. target: target,
  10268. allowsDeferredCalls: false,
  10269. eventTypeString: eventTypeString,
  10270. callbackfunc: callbackfunc,
  10271. handlerFunc: fullscreenChangeEventhandlerFunc,
  10272. useCapture: useCapture
  10273. };
  10274. JSEvents.registerOrRemoveHandler(eventHandler);
  10275. }),
  10276. resizeCanvasForFullscreen: (function(target, strategy) {
  10277. var restoreOldStyle = __registerRestoreOldStyle(target);
  10278. var cssWidth = strategy.softFullscreen ? window.innerWidth : screen.width;
  10279. var cssHeight = strategy.softFullscreen ? window.innerHeight : screen.height;
  10280. var rect = target.getBoundingClientRect();
  10281. var windowedCssWidth = rect.right - rect.left;
  10282. var windowedCssHeight = rect.bottom - rect.top;
  10283. var canvasSize = emscripten_get_canvas_element_size_js(target.id);
  10284. var windowedRttWidth = canvasSize[0];
  10285. var windowedRttHeight = canvasSize[1];
  10286. if (strategy.scaleMode == 3) {
  10287. __setLetterbox(target, (cssHeight - windowedCssHeight) / 2, (cssWidth - windowedCssWidth) / 2);
  10288. cssWidth = windowedCssWidth;
  10289. cssHeight = windowedCssHeight;
  10290. } else if (strategy.scaleMode == 2) {
  10291. if (cssWidth * windowedRttHeight < windowedRttWidth * cssHeight) {
  10292. var desiredCssHeight = windowedRttHeight * cssWidth / windowedRttWidth;
  10293. __setLetterbox(target, (cssHeight - desiredCssHeight) / 2, 0);
  10294. cssHeight = desiredCssHeight;
  10295. } else {
  10296. var desiredCssWidth = windowedRttWidth * cssHeight / windowedRttHeight;
  10297. __setLetterbox(target, 0, (cssWidth - desiredCssWidth) / 2);
  10298. cssWidth = desiredCssWidth;
  10299. }
  10300. }
  10301. if (!target.style.backgroundColor) target.style.backgroundColor = "black";
  10302. if (!document.body.style.backgroundColor) document.body.style.backgroundColor = "black";
  10303. target.style.width = cssWidth + "px";
  10304. target.style.height = cssHeight + "px";
  10305. if (strategy.filteringMode == 1) {
  10306. target.style.imageRendering = "optimizeSpeed";
  10307. target.style.imageRendering = "-moz-crisp-edges";
  10308. target.style.imageRendering = "-o-crisp-edges";
  10309. target.style.imageRendering = "-webkit-optimize-contrast";
  10310. target.style.imageRendering = "optimize-contrast";
  10311. target.style.imageRendering = "crisp-edges";
  10312. target.style.imageRendering = "pixelated";
  10313. }
  10314. var dpiScale = strategy.canvasResolutionScaleMode == 2 ? window.devicePixelRatio : 1;
  10315. if (strategy.canvasResolutionScaleMode != 0) {
  10316. var newWidth = cssWidth * dpiScale | 0;
  10317. var newHeight = cssHeight * dpiScale | 0;
  10318. if (!target.controlTransferredOffscreen) {
  10319. target.width = newWidth;
  10320. target.height = newHeight;
  10321. } else {
  10322. emscripten_set_canvas_element_size_js(target.id, newWidth, newHeight);
  10323. }
  10324. if (target.GLctxObject) target.GLctxObject.GLctx.viewport(0, 0, newWidth, newHeight);
  10325. }
  10326. return restoreOldStyle;
  10327. }),
  10328. requestFullscreen: (function(target, strategy) {
  10329. if (strategy.scaleMode != 0 || strategy.canvasResolutionScaleMode != 0) {
  10330. JSEvents.resizeCanvasForFullscreen(target, strategy);
  10331. }
  10332. if (target.requestFullscreen) {
  10333. target.requestFullscreen();
  10334. } else if (target.msRequestFullscreen) {
  10335. target.msRequestFullscreen();
  10336. } else if (target.mozRequestFullScreen) {
  10337. target.mozRequestFullScreen();
  10338. } else if (target.mozRequestFullscreen) {
  10339. target.mozRequestFullscreen();
  10340. } else if (target.webkitRequestFullscreen) {
  10341. target.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
  10342. } else {
  10343. if (typeof JSEvents.fullscreenEnabled() === "undefined") {
  10344. return -1;
  10345. } else {
  10346. return -3;
  10347. }
  10348. }
  10349. if (strategy.canvasResizedCallback) {
  10350. Module["dynCall_iiii"](strategy.canvasResizedCallback, 37, 0, strategy.canvasResizedCallbackUserData);
  10351. }
  10352. return 0;
  10353. }),
  10354. fillPointerlockChangeEventData: (function(eventStruct, e) {
  10355. var pointerLockElement = document.pointerLockElement || document.mozPointerLockElement || document.webkitPointerLockElement || document.msPointerLockElement;
  10356. var isPointerlocked = !!pointerLockElement;
  10357. HEAP32[eventStruct >> 2] = isPointerlocked;
  10358. var nodeName = JSEvents.getNodeNameForTarget(pointerLockElement);
  10359. var id = pointerLockElement && pointerLockElement.id ? pointerLockElement.id : "";
  10360. stringToUTF8(nodeName, eventStruct + 4, 128);
  10361. stringToUTF8(id, eventStruct + 132, 128);
  10362. }),
  10363. registerPointerlockChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10364. if (!JSEvents.pointerlockChangeEvent) JSEvents.pointerlockChangeEvent = _malloc(260);
  10365. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10366. var pointerlockChangeEventHandlerFunc = (function(event) {
  10367. var e = event || window.event;
  10368. var pointerlockChangeEvent = JSEvents.pointerlockChangeEvent;
  10369. JSEvents.fillPointerlockChangeEventData(pointerlockChangeEvent, e);
  10370. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, pointerlockChangeEvent, userData)) e.preventDefault();
  10371. });
  10372. var eventHandler = {
  10373. target: target,
  10374. allowsDeferredCalls: false,
  10375. eventTypeString: eventTypeString,
  10376. callbackfunc: callbackfunc,
  10377. handlerFunc: pointerlockChangeEventHandlerFunc,
  10378. useCapture: useCapture
  10379. };
  10380. JSEvents.registerOrRemoveHandler(eventHandler);
  10381. }),
  10382. registerPointerlockErrorEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10383. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10384. var pointerlockErrorEventHandlerFunc = (function(event) {
  10385. var e = event || window.event;
  10386. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10387. });
  10388. var eventHandler = {
  10389. target: target,
  10390. allowsDeferredCalls: false,
  10391. eventTypeString: eventTypeString,
  10392. callbackfunc: callbackfunc,
  10393. handlerFunc: pointerlockErrorEventHandlerFunc,
  10394. useCapture: useCapture
  10395. };
  10396. JSEvents.registerOrRemoveHandler(eventHandler);
  10397. }),
  10398. requestPointerLock: (function(target) {
  10399. if (target.requestPointerLock) {
  10400. target.requestPointerLock();
  10401. } else if (target.mozRequestPointerLock) {
  10402. target.mozRequestPointerLock();
  10403. } else if (target.webkitRequestPointerLock) {
  10404. target.webkitRequestPointerLock();
  10405. } else if (target.msRequestPointerLock) {
  10406. target.msRequestPointerLock();
  10407. } else {
  10408. if (document.body.requestPointerLock || document.body.mozRequestPointerLock || document.body.webkitRequestPointerLock || document.body.msRequestPointerLock) {
  10409. return -3;
  10410. } else {
  10411. return -1;
  10412. }
  10413. }
  10414. return 0;
  10415. }),
  10416. fillVisibilityChangeEventData: (function(eventStruct, e) {
  10417. var visibilityStates = [ "hidden", "visible", "prerender", "unloaded" ];
  10418. var visibilityState = visibilityStates.indexOf(document.visibilityState);
  10419. HEAP32[eventStruct >> 2] = document.hidden;
  10420. HEAP32[eventStruct + 4 >> 2] = visibilityState;
  10421. }),
  10422. registerVisibilityChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10423. if (!JSEvents.visibilityChangeEvent) JSEvents.visibilityChangeEvent = _malloc(8);
  10424. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10425. var visibilityChangeEventHandlerFunc = (function(event) {
  10426. var e = event || window.event;
  10427. var visibilityChangeEvent = JSEvents.visibilityChangeEvent;
  10428. JSEvents.fillVisibilityChangeEventData(visibilityChangeEvent, e);
  10429. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, visibilityChangeEvent, userData)) e.preventDefault();
  10430. });
  10431. var eventHandler = {
  10432. target: target,
  10433. allowsDeferredCalls: false,
  10434. eventTypeString: eventTypeString,
  10435. callbackfunc: callbackfunc,
  10436. handlerFunc: visibilityChangeEventHandlerFunc,
  10437. useCapture: useCapture
  10438. };
  10439. JSEvents.registerOrRemoveHandler(eventHandler);
  10440. }),
  10441. registerTouchEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10442. if (!JSEvents.touchEvent) JSEvents.touchEvent = _malloc(1684);
  10443. target = JSEvents.findEventTarget(target);
  10444. var touchEventHandlerFunc = (function(event) {
  10445. var e = event || window.event;
  10446. var touches = {};
  10447. for (var i = 0; i < e.touches.length; ++i) {
  10448. var touch = e.touches[i];
  10449. touches[touch.identifier] = touch;
  10450. }
  10451. for (var i = 0; i < e.changedTouches.length; ++i) {
  10452. var touch = e.changedTouches[i];
  10453. touches[touch.identifier] = touch;
  10454. touch.changed = true;
  10455. }
  10456. for (var i = 0; i < e.targetTouches.length; ++i) {
  10457. var touch = e.targetTouches[i];
  10458. touches[touch.identifier].onTarget = true;
  10459. }
  10460. var touchEvent = JSEvents.touchEvent;
  10461. var ptr = touchEvent;
  10462. HEAP32[ptr + 4 >> 2] = e.ctrlKey;
  10463. HEAP32[ptr + 8 >> 2] = e.shiftKey;
  10464. HEAP32[ptr + 12 >> 2] = e.altKey;
  10465. HEAP32[ptr + 16 >> 2] = e.metaKey;
  10466. ptr += 20;
  10467. var canvasRect = Module["canvas"] ? Module["canvas"].getBoundingClientRect() : undefined;
  10468. var targetRect = JSEvents.getBoundingClientRectOrZeros(target);
  10469. var numTouches = 0;
  10470. for (var i in touches) {
  10471. var t = touches[i];
  10472. HEAP32[ptr >> 2] = t.identifier;
  10473. HEAP32[ptr + 4 >> 2] = t.screenX;
  10474. HEAP32[ptr + 8 >> 2] = t.screenY;
  10475. HEAP32[ptr + 12 >> 2] = t.clientX;
  10476. HEAP32[ptr + 16 >> 2] = t.clientY;
  10477. HEAP32[ptr + 20 >> 2] = t.pageX;
  10478. HEAP32[ptr + 24 >> 2] = t.pageY;
  10479. HEAP32[ptr + 28 >> 2] = t.changed;
  10480. HEAP32[ptr + 32 >> 2] = t.onTarget;
  10481. if (canvasRect) {
  10482. HEAP32[ptr + 44 >> 2] = t.clientX - canvasRect.left;
  10483. HEAP32[ptr + 48 >> 2] = t.clientY - canvasRect.top;
  10484. } else {
  10485. HEAP32[ptr + 44 >> 2] = 0;
  10486. HEAP32[ptr + 48 >> 2] = 0;
  10487. }
  10488. HEAP32[ptr + 36 >> 2] = t.clientX - targetRect.left;
  10489. HEAP32[ptr + 40 >> 2] = t.clientY - targetRect.top;
  10490. ptr += 52;
  10491. if (++numTouches >= 32) {
  10492. break;
  10493. }
  10494. }
  10495. HEAP32[touchEvent >> 2] = numTouches;
  10496. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, touchEvent, userData)) e.preventDefault();
  10497. });
  10498. var eventHandler = {
  10499. target: target,
  10500. allowsDeferredCalls: eventTypeString == "touchstart" || eventTypeString == "touchend",
  10501. eventTypeString: eventTypeString,
  10502. callbackfunc: callbackfunc,
  10503. handlerFunc: touchEventHandlerFunc,
  10504. useCapture: useCapture
  10505. };
  10506. JSEvents.registerOrRemoveHandler(eventHandler);
  10507. }),
  10508. fillGamepadEventData: (function(eventStruct, e) {
  10509. HEAPF64[eventStruct >> 3] = e.timestamp;
  10510. for (var i = 0; i < e.axes.length; ++i) {
  10511. HEAPF64[eventStruct + i * 8 + 16 >> 3] = e.axes[i];
  10512. }
  10513. for (var i = 0; i < e.buttons.length; ++i) {
  10514. if (typeof e.buttons[i] === "object") {
  10515. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i].value;
  10516. } else {
  10517. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i];
  10518. }
  10519. }
  10520. for (var i = 0; i < e.buttons.length; ++i) {
  10521. if (typeof e.buttons[i] === "object") {
  10522. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i].pressed;
  10523. } else {
  10524. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i] == 1;
  10525. }
  10526. }
  10527. HEAP32[eventStruct + 1296 >> 2] = e.connected;
  10528. HEAP32[eventStruct + 1300 >> 2] = e.index;
  10529. HEAP32[eventStruct + 8 >> 2] = e.axes.length;
  10530. HEAP32[eventStruct + 12 >> 2] = e.buttons.length;
  10531. stringToUTF8(e.id, eventStruct + 1304, 64);
  10532. stringToUTF8(e.mapping, eventStruct + 1368, 64);
  10533. }),
  10534. registerGamepadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10535. if (!JSEvents.gamepadEvent) JSEvents.gamepadEvent = _malloc(1432);
  10536. var gamepadEventHandlerFunc = (function(event) {
  10537. var e = event || window.event;
  10538. var gamepadEvent = JSEvents.gamepadEvent;
  10539. JSEvents.fillGamepadEventData(gamepadEvent, e.gamepad);
  10540. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, gamepadEvent, userData)) e.preventDefault();
  10541. });
  10542. var eventHandler = {
  10543. target: JSEvents.findEventTarget(target),
  10544. allowsDeferredCalls: true,
  10545. eventTypeString: eventTypeString,
  10546. callbackfunc: callbackfunc,
  10547. handlerFunc: gamepadEventHandlerFunc,
  10548. useCapture: useCapture
  10549. };
  10550. JSEvents.registerOrRemoveHandler(eventHandler);
  10551. }),
  10552. registerBeforeUnloadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10553. var beforeUnloadEventHandlerFunc = (function(event) {
  10554. var e = event || window.event;
  10555. var confirmationMessage = Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData);
  10556. if (confirmationMessage) {
  10557. confirmationMessage = Pointer_stringify(confirmationMessage);
  10558. }
  10559. if (confirmationMessage) {
  10560. e.preventDefault();
  10561. e.returnValue = confirmationMessage;
  10562. return confirmationMessage;
  10563. }
  10564. });
  10565. var eventHandler = {
  10566. target: JSEvents.findEventTarget(target),
  10567. allowsDeferredCalls: false,
  10568. eventTypeString: eventTypeString,
  10569. callbackfunc: callbackfunc,
  10570. handlerFunc: beforeUnloadEventHandlerFunc,
  10571. useCapture: useCapture
  10572. };
  10573. JSEvents.registerOrRemoveHandler(eventHandler);
  10574. }),
  10575. battery: (function() {
  10576. return navigator.battery || navigator.mozBattery || navigator.webkitBattery;
  10577. }),
  10578. fillBatteryEventData: (function(eventStruct, e) {
  10579. HEAPF64[eventStruct >> 3] = e.chargingTime;
  10580. HEAPF64[eventStruct + 8 >> 3] = e.dischargingTime;
  10581. HEAPF64[eventStruct + 16 >> 3] = e.level;
  10582. HEAP32[eventStruct + 24 >> 2] = e.charging;
  10583. }),
  10584. registerBatteryEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10585. if (!JSEvents.batteryEvent) JSEvents.batteryEvent = _malloc(32);
  10586. var batteryEventHandlerFunc = (function(event) {
  10587. var e = event || window.event;
  10588. var batteryEvent = JSEvents.batteryEvent;
  10589. JSEvents.fillBatteryEventData(batteryEvent, JSEvents.battery());
  10590. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, batteryEvent, userData)) e.preventDefault();
  10591. });
  10592. var eventHandler = {
  10593. target: JSEvents.findEventTarget(target),
  10594. allowsDeferredCalls: false,
  10595. eventTypeString: eventTypeString,
  10596. callbackfunc: callbackfunc,
  10597. handlerFunc: batteryEventHandlerFunc,
  10598. useCapture: useCapture
  10599. };
  10600. JSEvents.registerOrRemoveHandler(eventHandler);
  10601. }),
  10602. registerWebGlEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10603. if (!target) target = Module["canvas"];
  10604. var webGlEventHandlerFunc = (function(event) {
  10605. var e = event || window.event;
  10606. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10607. });
  10608. var eventHandler = {
  10609. target: JSEvents.findEventTarget(target),
  10610. allowsDeferredCalls: false,
  10611. eventTypeString: eventTypeString,
  10612. callbackfunc: callbackfunc,
  10613. handlerFunc: webGlEventHandlerFunc,
  10614. useCapture: useCapture
  10615. };
  10616. JSEvents.registerOrRemoveHandler(eventHandler);
  10617. })
  10618. };
  10619. var __currentFullscreenStrategy = {};
  10620. function _emscripten_exit_fullscreen() {
  10621. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10622. JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);
  10623. if (document.exitFullscreen) {
  10624. document.exitFullscreen();
  10625. } else if (document.msExitFullscreen) {
  10626. document.msExitFullscreen();
  10627. } else if (document.mozCancelFullScreen) {
  10628. document.mozCancelFullScreen();
  10629. } else if (document.webkitExitFullscreen) {
  10630. document.webkitExitFullscreen();
  10631. } else {
  10632. return -1;
  10633. }
  10634. if (__currentFullscreenStrategy.canvasResizedCallback) {
  10635. Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback, 37, 0, __currentFullscreenStrategy.canvasResizedCallbackUserData);
  10636. }
  10637. return 0;
  10638. }
  10639. function _emscripten_exit_pointerlock() {
  10640. JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);
  10641. if (document.exitPointerLock) {
  10642. document.exitPointerLock();
  10643. } else if (document.msExitPointerLock) {
  10644. document.msExitPointerLock();
  10645. } else if (document.mozExitPointerLock) {
  10646. document.mozExitPointerLock();
  10647. } else if (document.webkitExitPointerLock) {
  10648. document.webkitExitPointerLock();
  10649. } else {
  10650. return -1;
  10651. }
  10652. return 0;
  10653. }
  10654. function _emscripten_get_fullscreen_status(fullscreenStatus) {
  10655. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10656. JSEvents.fillFullscreenChangeEventData(fullscreenStatus);
  10657. return 0;
  10658. }
  10659. function __emscripten_sample_gamepad_data() {
  10660. if (!JSEvents.numGamepadsConnected) return;
  10661. if (Browser.mainLoop.currentFrameNumber !== JSEvents.lastGamepadStateFrame || !Browser.mainLoop.currentFrameNumber) {
  10662. JSEvents.lastGamepadState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads : null;
  10663. JSEvents.lastGamepadStateFrame = Browser.mainLoop.currentFrameNumber;
  10664. }
  10665. }
  10666. function _emscripten_get_gamepad_status(index, gamepadState) {
  10667. __emscripten_sample_gamepad_data();
  10668. if (!JSEvents.lastGamepadState) return -1;
  10669. if (index < 0 || index >= JSEvents.lastGamepadState.length) return -5;
  10670. if (!JSEvents.lastGamepadState[index]) return -7;
  10671. JSEvents.fillGamepadEventData(gamepadState, JSEvents.lastGamepadState[index]);
  10672. return 0;
  10673. }
  10674. function _emscripten_get_main_loop_timing(mode, value) {
  10675. if (mode) HEAP32[mode >> 2] = Browser.mainLoop.timingMode;
  10676. if (value) HEAP32[value >> 2] = Browser.mainLoop.timingValue;
  10677. }
  10678. function _emscripten_get_num_gamepads() {
  10679. if (!JSEvents.numGamepadsConnected) return 0;
  10680. __emscripten_sample_gamepad_data();
  10681. if (!JSEvents.lastGamepadState) return -1;
  10682. return JSEvents.lastGamepadState.length;
  10683. }
  10684. function _emscripten_has_threading_support() {
  10685. return 0;
  10686. }
  10687. function _emscripten_html5_remove_all_event_listeners() {
  10688. JSEvents.removeAllEventListeners();
  10689. }
  10690. function _emscripten_is_webgl_context_lost(target) {
  10691. if (!Module.ctx) return true;
  10692. return Module.ctx.isContextLost();
  10693. }
  10694. function __reallyNegative(x) {
  10695. return x < 0 || x === 0 && 1 / x === -Infinity;
  10696. }
  10697. function __formatString(format, varargs) {
  10698. assert((varargs & 3) === 0);
  10699. var textIndex = format;
  10700. var argIndex = varargs;
  10701. function prepVararg(ptr, type) {
  10702. if (type === "double" || type === "i64") {
  10703. if (ptr & 7) {
  10704. assert((ptr & 7) === 4);
  10705. ptr += 4;
  10706. }
  10707. } else {
  10708. assert((ptr & 3) === 0);
  10709. }
  10710. return ptr;
  10711. }
  10712. function getNextArg(type) {
  10713. var ret;
  10714. argIndex = prepVararg(argIndex, type);
  10715. if (type === "double") {
  10716. ret = HEAPF64[argIndex >> 3];
  10717. argIndex += 8;
  10718. } else if (type == "i64") {
  10719. ret = [ HEAP32[argIndex >> 2], HEAP32[argIndex + 4 >> 2] ];
  10720. argIndex += 8;
  10721. } else {
  10722. assert((argIndex & 3) === 0);
  10723. type = "i32";
  10724. ret = HEAP32[argIndex >> 2];
  10725. argIndex += 4;
  10726. }
  10727. return ret;
  10728. }
  10729. var ret = [];
  10730. var curr, next, currArg;
  10731. while (1) {
  10732. var startTextIndex = textIndex;
  10733. curr = HEAP8[textIndex >> 0];
  10734. if (curr === 0) break;
  10735. next = HEAP8[textIndex + 1 >> 0];
  10736. if (curr == 37) {
  10737. var flagAlwaysSigned = false;
  10738. var flagLeftAlign = false;
  10739. var flagAlternative = false;
  10740. var flagZeroPad = false;
  10741. var flagPadSign = false;
  10742. flagsLoop : while (1) {
  10743. switch (next) {
  10744. case 43:
  10745. flagAlwaysSigned = true;
  10746. break;
  10747. case 45:
  10748. flagLeftAlign = true;
  10749. break;
  10750. case 35:
  10751. flagAlternative = true;
  10752. break;
  10753. case 48:
  10754. if (flagZeroPad) {
  10755. break flagsLoop;
  10756. } else {
  10757. flagZeroPad = true;
  10758. break;
  10759. }
  10760. case 32:
  10761. flagPadSign = true;
  10762. break;
  10763. default:
  10764. break flagsLoop;
  10765. }
  10766. textIndex++;
  10767. next = HEAP8[textIndex + 1 >> 0];
  10768. }
  10769. var width = 0;
  10770. if (next == 42) {
  10771. width = getNextArg("i32");
  10772. textIndex++;
  10773. next = HEAP8[textIndex + 1 >> 0];
  10774. } else {
  10775. while (next >= 48 && next <= 57) {
  10776. width = width * 10 + (next - 48);
  10777. textIndex++;
  10778. next = HEAP8[textIndex + 1 >> 0];
  10779. }
  10780. }
  10781. var precisionSet = false, precision = -1;
  10782. if (next == 46) {
  10783. precision = 0;
  10784. precisionSet = true;
  10785. textIndex++;
  10786. next = HEAP8[textIndex + 1 >> 0];
  10787. if (next == 42) {
  10788. precision = getNextArg("i32");
  10789. textIndex++;
  10790. } else {
  10791. while (1) {
  10792. var precisionChr = HEAP8[textIndex + 1 >> 0];
  10793. if (precisionChr < 48 || precisionChr > 57) break;
  10794. precision = precision * 10 + (precisionChr - 48);
  10795. textIndex++;
  10796. }
  10797. }
  10798. next = HEAP8[textIndex + 1 >> 0];
  10799. }
  10800. if (precision < 0) {
  10801. precision = 6;
  10802. precisionSet = false;
  10803. }
  10804. var argSize;
  10805. switch (String.fromCharCode(next)) {
  10806. case "h":
  10807. var nextNext = HEAP8[textIndex + 2 >> 0];
  10808. if (nextNext == 104) {
  10809. textIndex++;
  10810. argSize = 1;
  10811. } else {
  10812. argSize = 2;
  10813. }
  10814. break;
  10815. case "l":
  10816. var nextNext = HEAP8[textIndex + 2 >> 0];
  10817. if (nextNext == 108) {
  10818. textIndex++;
  10819. argSize = 8;
  10820. } else {
  10821. argSize = 4;
  10822. }
  10823. break;
  10824. case "L":
  10825. case "q":
  10826. case "j":
  10827. argSize = 8;
  10828. break;
  10829. case "z":
  10830. case "t":
  10831. case "I":
  10832. argSize = 4;
  10833. break;
  10834. default:
  10835. argSize = null;
  10836. }
  10837. if (argSize) textIndex++;
  10838. next = HEAP8[textIndex + 1 >> 0];
  10839. switch (String.fromCharCode(next)) {
  10840. case "d":
  10841. case "i":
  10842. case "u":
  10843. case "o":
  10844. case "x":
  10845. case "X":
  10846. case "p":
  10847. {
  10848. var signed = next == 100 || next == 105;
  10849. argSize = argSize || 4;
  10850. currArg = getNextArg("i" + argSize * 8);
  10851. var origArg = currArg;
  10852. var argText;
  10853. if (argSize == 8) {
  10854. currArg = makeBigInt(currArg[0], currArg[1], next == 117);
  10855. }
  10856. if (argSize <= 4) {
  10857. var limit = Math.pow(256, argSize) - 1;
  10858. currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8);
  10859. }
  10860. var currAbsArg = Math.abs(currArg);
  10861. var prefix = "";
  10862. if (next == 100 || next == 105) {
  10863. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], null); else argText = reSign(currArg, 8 * argSize, 1).toString(10);
  10864. } else if (next == 117) {
  10865. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], true); else argText = unSign(currArg, 8 * argSize, 1).toString(10);
  10866. currArg = Math.abs(currArg);
  10867. } else if (next == 111) {
  10868. argText = (flagAlternative ? "0" : "") + currAbsArg.toString(8);
  10869. } else if (next == 120 || next == 88) {
  10870. prefix = flagAlternative && currArg != 0 ? "0x" : "";
  10871. if (argSize == 8 && typeof i64Math === "object") {
  10872. if (origArg[1]) {
  10873. argText = (origArg[1] >>> 0).toString(16);
  10874. var lower = (origArg[0] >>> 0).toString(16);
  10875. while (lower.length < 8) lower = "0" + lower;
  10876. argText += lower;
  10877. } else {
  10878. argText = (origArg[0] >>> 0).toString(16);
  10879. }
  10880. } else if (currArg < 0) {
  10881. currArg = -currArg;
  10882. argText = (currAbsArg - 1).toString(16);
  10883. var buffer = [];
  10884. for (var i = 0; i < argText.length; i++) {
  10885. buffer.push((15 - parseInt(argText[i], 16)).toString(16));
  10886. }
  10887. argText = buffer.join("");
  10888. while (argText.length < argSize * 2) argText = "f" + argText;
  10889. } else {
  10890. argText = currAbsArg.toString(16);
  10891. }
  10892. if (next == 88) {
  10893. prefix = prefix.toUpperCase();
  10894. argText = argText.toUpperCase();
  10895. }
  10896. } else if (next == 112) {
  10897. if (currAbsArg === 0) {
  10898. argText = "(nil)";
  10899. } else {
  10900. prefix = "0x";
  10901. argText = currAbsArg.toString(16);
  10902. }
  10903. }
  10904. if (precisionSet) {
  10905. while (argText.length < precision) {
  10906. argText = "0" + argText;
  10907. }
  10908. }
  10909. if (currArg >= 0) {
  10910. if (flagAlwaysSigned) {
  10911. prefix = "+" + prefix;
  10912. } else if (flagPadSign) {
  10913. prefix = " " + prefix;
  10914. }
  10915. }
  10916. if (argText.charAt(0) == "-") {
  10917. prefix = "-" + prefix;
  10918. argText = argText.substr(1);
  10919. }
  10920. while (prefix.length + argText.length < width) {
  10921. if (flagLeftAlign) {
  10922. argText += " ";
  10923. } else {
  10924. if (flagZeroPad) {
  10925. argText = "0" + argText;
  10926. } else {
  10927. prefix = " " + prefix;
  10928. }
  10929. }
  10930. }
  10931. argText = prefix + argText;
  10932. argText.split("").forEach((function(chr) {
  10933. ret.push(chr.charCodeAt(0));
  10934. }));
  10935. break;
  10936. }
  10937. case "f":
  10938. case "F":
  10939. case "e":
  10940. case "E":
  10941. case "g":
  10942. case "G":
  10943. {
  10944. currArg = getNextArg("double");
  10945. var argText;
  10946. if (isNaN(currArg)) {
  10947. argText = "nan";
  10948. flagZeroPad = false;
  10949. } else if (!isFinite(currArg)) {
  10950. argText = (currArg < 0 ? "-" : "") + "inf";
  10951. flagZeroPad = false;
  10952. } else {
  10953. var isGeneral = false;
  10954. var effectivePrecision = Math.min(precision, 20);
  10955. if (next == 103 || next == 71) {
  10956. isGeneral = true;
  10957. precision = precision || 1;
  10958. var exponent = parseInt(currArg.toExponential(effectivePrecision).split("e")[1], 10);
  10959. if (precision > exponent && exponent >= -4) {
  10960. next = (next == 103 ? "f" : "F").charCodeAt(0);
  10961. precision -= exponent + 1;
  10962. } else {
  10963. next = (next == 103 ? "e" : "E").charCodeAt(0);
  10964. precision--;
  10965. }
  10966. effectivePrecision = Math.min(precision, 20);
  10967. }
  10968. if (next == 101 || next == 69) {
  10969. argText = currArg.toExponential(effectivePrecision);
  10970. if (/[eE][-+]\d$/.test(argText)) {
  10971. argText = argText.slice(0, -1) + "0" + argText.slice(-1);
  10972. }
  10973. } else if (next == 102 || next == 70) {
  10974. argText = currArg.toFixed(effectivePrecision);
  10975. if (currArg === 0 && __reallyNegative(currArg)) {
  10976. argText = "-" + argText;
  10977. }
  10978. }
  10979. var parts = argText.split("e");
  10980. if (isGeneral && !flagAlternative) {
  10981. while (parts[0].length > 1 && parts[0].indexOf(".") != -1 && (parts[0].slice(-1) == "0" || parts[0].slice(-1) == ".")) {
  10982. parts[0] = parts[0].slice(0, -1);
  10983. }
  10984. } else {
  10985. if (flagAlternative && argText.indexOf(".") == -1) parts[0] += ".";
  10986. while (precision > effectivePrecision++) parts[0] += "0";
  10987. }
  10988. argText = parts[0] + (parts.length > 1 ? "e" + parts[1] : "");
  10989. if (next == 69) argText = argText.toUpperCase();
  10990. if (currArg >= 0) {
  10991. if (flagAlwaysSigned) {
  10992. argText = "+" + argText;
  10993. } else if (flagPadSign) {
  10994. argText = " " + argText;
  10995. }
  10996. }
  10997. }
  10998. while (argText.length < width) {
  10999. if (flagLeftAlign) {
  11000. argText += " ";
  11001. } else {
  11002. if (flagZeroPad && (argText[0] == "-" || argText[0] == "+")) {
  11003. argText = argText[0] + "0" + argText.slice(1);
  11004. } else {
  11005. argText = (flagZeroPad ? "0" : " ") + argText;
  11006. }
  11007. }
  11008. }
  11009. if (next < 97) argText = argText.toUpperCase();
  11010. argText.split("").forEach((function(chr) {
  11011. ret.push(chr.charCodeAt(0));
  11012. }));
  11013. break;
  11014. }
  11015. case "s":
  11016. {
  11017. var arg = getNextArg("i8*");
  11018. var argLength = arg ? _strlen(arg) : "(null)".length;
  11019. if (precisionSet) argLength = Math.min(argLength, precision);
  11020. if (!flagLeftAlign) {
  11021. while (argLength < width--) {
  11022. ret.push(32);
  11023. }
  11024. }
  11025. if (arg) {
  11026. for (var i = 0; i < argLength; i++) {
  11027. ret.push(HEAPU8[arg++ >> 0]);
  11028. }
  11029. } else {
  11030. ret = ret.concat(intArrayFromString("(null)".substr(0, argLength), true));
  11031. }
  11032. if (flagLeftAlign) {
  11033. while (argLength < width--) {
  11034. ret.push(32);
  11035. }
  11036. }
  11037. break;
  11038. }
  11039. case "c":
  11040. {
  11041. if (flagLeftAlign) ret.push(getNextArg("i8"));
  11042. while (--width > 0) {
  11043. ret.push(32);
  11044. }
  11045. if (!flagLeftAlign) ret.push(getNextArg("i8"));
  11046. break;
  11047. }
  11048. case "n":
  11049. {
  11050. var ptr = getNextArg("i32*");
  11051. HEAP32[ptr >> 2] = ret.length;
  11052. break;
  11053. }
  11054. case "%":
  11055. {
  11056. ret.push(curr);
  11057. break;
  11058. }
  11059. default:
  11060. {
  11061. for (var i = startTextIndex; i < textIndex + 2; i++) {
  11062. ret.push(HEAP8[i >> 0]);
  11063. }
  11064. }
  11065. }
  11066. textIndex += 2;
  11067. } else {
  11068. ret.push(curr);
  11069. textIndex += 1;
  11070. }
  11071. }
  11072. return ret;
  11073. }
  11074. function __emscripten_traverse_stack(args) {
  11075. if (!args || !args.callee || !args.callee.name) {
  11076. return [ null, "", "" ];
  11077. }
  11078. var funstr = args.callee.toString();
  11079. var funcname = args.callee.name;
  11080. var str = "(";
  11081. var first = true;
  11082. for (var i in args) {
  11083. var a = args[i];
  11084. if (!first) {
  11085. str += ", ";
  11086. }
  11087. first = false;
  11088. if (typeof a === "number" || typeof a === "string") {
  11089. str += a;
  11090. } else {
  11091. str += "(" + typeof a + ")";
  11092. }
  11093. }
  11094. str += ")";
  11095. var caller = args.callee.caller;
  11096. args = caller ? caller.arguments : [];
  11097. if (first) str = "";
  11098. return [ args, funcname, str ];
  11099. }
  11100. function _emscripten_get_callstack_js(flags) {
  11101. var callstack = jsStackTrace();
  11102. var iThisFunc = callstack.lastIndexOf("_emscripten_log");
  11103. var iThisFunc2 = callstack.lastIndexOf("_emscripten_get_callstack");
  11104. var iNextLine = callstack.indexOf("\n", Math.max(iThisFunc, iThisFunc2)) + 1;
  11105. callstack = callstack.slice(iNextLine);
  11106. if (flags & 8 && typeof emscripten_source_map === "undefined") {
  11107. warnOnce('Source map information is not available, emscripten_log with EM_LOG_C_STACK will be ignored. Build with "--pre-js $EMSCRIPTEN/src/emscripten-source-map.min.js" linker flag to add source map loading to code.');
  11108. flags ^= 8;
  11109. flags |= 16;
  11110. }
  11111. var stack_args = null;
  11112. if (flags & 128) {
  11113. stack_args = __emscripten_traverse_stack(arguments);
  11114. while (stack_args[1].indexOf("_emscripten_") >= 0) stack_args = __emscripten_traverse_stack(stack_args[0]);
  11115. }
  11116. var lines = callstack.split("\n");
  11117. callstack = "";
  11118. var newFirefoxRe = new RegExp("\\s*(.*?)@(.*?):([0-9]+):([0-9]+)");
  11119. var firefoxRe = new RegExp("\\s*(.*?)@(.*):(.*)(:(.*))?");
  11120. var chromeRe = new RegExp("\\s*at (.*?) \\((.*):(.*):(.*)\\)");
  11121. for (var l in lines) {
  11122. var line = lines[l];
  11123. var jsSymbolName = "";
  11124. var file = "";
  11125. var lineno = 0;
  11126. var column = 0;
  11127. var parts = chromeRe.exec(line);
  11128. if (parts && parts.length == 5) {
  11129. jsSymbolName = parts[1];
  11130. file = parts[2];
  11131. lineno = parts[3];
  11132. column = parts[4];
  11133. } else {
  11134. parts = newFirefoxRe.exec(line);
  11135. if (!parts) parts = firefoxRe.exec(line);
  11136. if (parts && parts.length >= 4) {
  11137. jsSymbolName = parts[1];
  11138. file = parts[2];
  11139. lineno = parts[3];
  11140. column = parts[4] | 0;
  11141. } else {
  11142. callstack += line + "\n";
  11143. continue;
  11144. }
  11145. }
  11146. var cSymbolName = flags & 32 ? demangle(jsSymbolName) : jsSymbolName;
  11147. if (!cSymbolName) {
  11148. cSymbolName = jsSymbolName;
  11149. }
  11150. var haveSourceMap = false;
  11151. if (flags & 8) {
  11152. var orig = emscripten_source_map.originalPositionFor({
  11153. line: lineno,
  11154. column: column
  11155. });
  11156. haveSourceMap = orig && orig.source;
  11157. if (haveSourceMap) {
  11158. if (flags & 64) {
  11159. orig.source = orig.source.substring(orig.source.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11160. }
  11161. callstack += " at " + cSymbolName + " (" + orig.source + ":" + orig.line + ":" + orig.column + ")\n";
  11162. }
  11163. }
  11164. if (flags & 16 || !haveSourceMap) {
  11165. if (flags & 64) {
  11166. file = file.substring(file.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11167. }
  11168. callstack += (haveSourceMap ? " = " + jsSymbolName : " at " + cSymbolName) + " (" + file + ":" + lineno + ":" + column + ")\n";
  11169. }
  11170. if (flags & 128 && stack_args[0]) {
  11171. if (stack_args[1] == jsSymbolName && stack_args[2].length > 0) {
  11172. callstack = callstack.replace(/\s+$/, "");
  11173. callstack += " with values: " + stack_args[1] + stack_args[2] + "\n";
  11174. }
  11175. stack_args = __emscripten_traverse_stack(stack_args[0]);
  11176. }
  11177. }
  11178. callstack = callstack.replace(/\s+$/, "");
  11179. return callstack;
  11180. }
  11181. function _emscripten_log_js(flags, str) {
  11182. if (flags & 24) {
  11183. str = str.replace(/\s+$/, "");
  11184. str += (str.length > 0 ? "\n" : "") + _emscripten_get_callstack_js(flags);
  11185. }
  11186. if (flags & 1) {
  11187. if (flags & 4) {
  11188. console.error(str);
  11189. } else if (flags & 2) {
  11190. console.warn(str);
  11191. } else {
  11192. console.log(str);
  11193. }
  11194. } else if (flags & 6) {
  11195. err(str);
  11196. } else {
  11197. out(str);
  11198. }
  11199. }
  11200. function _emscripten_log(flags, varargs) {
  11201. var format = HEAP32[varargs >> 2];
  11202. varargs += 4;
  11203. var str = "";
  11204. if (format) {
  11205. var result = __formatString(format, varargs);
  11206. for (var i = 0; i < result.length; ++i) {
  11207. str += String.fromCharCode(result[i]);
  11208. }
  11209. }
  11210. _emscripten_log_js(flags, str);
  11211. }
  11212. function _emscripten_num_logical_cores() {
  11213. return 1;
  11214. }
  11215. function __setLetterbox(element, topBottom, leftRight) {
  11216. if (JSEvents.isInternetExplorer()) {
  11217. element.style.marginLeft = element.style.marginRight = leftRight + "px";
  11218. element.style.marginTop = element.style.marginBottom = topBottom + "px";
  11219. } else {
  11220. element.style.paddingLeft = element.style.paddingRight = leftRight + "px";
  11221. element.style.paddingTop = element.style.paddingBottom = topBottom + "px";
  11222. }
  11223. }
  11224. function __emscripten_do_request_fullscreen(target, strategy) {
  11225. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11226. if (!JSEvents.fullscreenEnabled()) return -3;
  11227. if (!target) target = "#canvas";
  11228. target = JSEvents.findEventTarget(target);
  11229. if (!target) return -4;
  11230. if (!target.requestFullscreen && !target.msRequestFullscreen && !target.mozRequestFullScreen && !target.mozRequestFullscreen && !target.webkitRequestFullscreen) {
  11231. return -3;
  11232. }
  11233. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11234. if (!canPerformRequests) {
  11235. if (strategy.deferUntilInEventHandler) {
  11236. JSEvents.deferCall(JSEvents.requestFullscreen, 1, [ target, strategy ]);
  11237. return 1;
  11238. } else {
  11239. return -2;
  11240. }
  11241. }
  11242. return JSEvents.requestFullscreen(target, strategy);
  11243. }
  11244. function _emscripten_request_fullscreen(target, deferUntilInEventHandler) {
  11245. var strategy = {};
  11246. strategy.scaleMode = 0;
  11247. strategy.canvasResolutionScaleMode = 0;
  11248. strategy.filteringMode = 0;
  11249. strategy.deferUntilInEventHandler = deferUntilInEventHandler;
  11250. strategy.canvasResizedCallbackTargetThread = 2;
  11251. return __emscripten_do_request_fullscreen(target, strategy);
  11252. }
  11253. function _emscripten_request_pointerlock(target, deferUntilInEventHandler) {
  11254. if (!target) target = "#canvas";
  11255. target = JSEvents.findEventTarget(target);
  11256. if (!target) return -4;
  11257. if (!target.requestPointerLock && !target.mozRequestPointerLock && !target.webkitRequestPointerLock && !target.msRequestPointerLock) {
  11258. return -1;
  11259. }
  11260. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11261. if (!canPerformRequests) {
  11262. if (deferUntilInEventHandler) {
  11263. JSEvents.deferCall(JSEvents.requestPointerLock, 2, [ target ]);
  11264. return 1;
  11265. } else {
  11266. return -2;
  11267. }
  11268. }
  11269. return JSEvents.requestPointerLock(target);
  11270. }
  11271. function _emscripten_set_blur_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11272. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 12, "blur", targetThread);
  11273. return 0;
  11274. }
  11275. function _emscripten_set_dblclick_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11276. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 7, "dblclick", targetThread);
  11277. return 0;
  11278. }
  11279. function _emscripten_set_devicemotion_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11280. JSEvents.registerDeviceMotionEventCallback(window, userData, useCapture, callbackfunc, 17, "devicemotion", targetThread);
  11281. return 0;
  11282. }
  11283. function _emscripten_set_deviceorientation_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11284. JSEvents.registerDeviceOrientationEventCallback(window, userData, useCapture, callbackfunc, 16, "deviceorientation", targetThread);
  11285. return 0;
  11286. }
  11287. function _emscripten_set_focus_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11288. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 13, "focus", targetThread);
  11289. return 0;
  11290. }
  11291. function _emscripten_set_fullscreenchange_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11292. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11293. if (!target) target = document; else {
  11294. target = JSEvents.findEventTarget(target);
  11295. if (!target) return -4;
  11296. }
  11297. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "fullscreenchange", targetThread);
  11298. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "mozfullscreenchange", targetThread);
  11299. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "webkitfullscreenchange", targetThread);
  11300. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "msfullscreenchange", targetThread);
  11301. return 0;
  11302. }
  11303. function _emscripten_set_gamepadconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11304. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11305. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 26, "gamepadconnected", targetThread);
  11306. return 0;
  11307. }
  11308. function _emscripten_set_gamepaddisconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11309. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11310. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 27, "gamepaddisconnected", targetThread);
  11311. return 0;
  11312. }
  11313. function _emscripten_set_keydown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11314. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 2, "keydown", targetThread);
  11315. return 0;
  11316. }
  11317. function _emscripten_set_keypress_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11318. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 1, "keypress", targetThread);
  11319. return 0;
  11320. }
  11321. function _emscripten_set_keyup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11322. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 3, "keyup", targetThread);
  11323. return 0;
  11324. }
  11325. function _emscripten_set_mousedown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11326. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 5, "mousedown", targetThread);
  11327. return 0;
  11328. }
  11329. function _emscripten_set_mousemove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11330. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 8, "mousemove", targetThread);
  11331. return 0;
  11332. }
  11333. function _emscripten_set_mouseup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11334. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 6, "mouseup", targetThread);
  11335. return 0;
  11336. }
  11337. function _emscripten_set_touchcancel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11338. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 25, "touchcancel", targetThread);
  11339. return 0;
  11340. }
  11341. function _emscripten_set_touchend_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11342. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 23, "touchend", targetThread);
  11343. return 0;
  11344. }
  11345. function _emscripten_set_touchmove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11346. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 24, "touchmove", targetThread);
  11347. return 0;
  11348. }
  11349. function _emscripten_set_touchstart_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11350. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 22, "touchstart", targetThread);
  11351. return 0;
  11352. }
  11353. function _emscripten_set_wheel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11354. target = JSEvents.findEventTarget(target);
  11355. if (typeof target.onwheel !== "undefined") {
  11356. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "wheel", targetThread);
  11357. return 0;
  11358. } else if (typeof target.onmousewheel !== "undefined") {
  11359. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "mousewheel", targetThread);
  11360. return 0;
  11361. } else {
  11362. return -1;
  11363. }
  11364. }
  11365. var GL = {
  11366. counter: 1,
  11367. lastError: 0,
  11368. buffers: [],
  11369. mappedBuffers: {},
  11370. programs: [],
  11371. framebuffers: [],
  11372. renderbuffers: [],
  11373. textures: [],
  11374. uniforms: [],
  11375. shaders: [],
  11376. vaos: [],
  11377. contexts: [],
  11378. currentContext: null,
  11379. offscreenCanvases: {},
  11380. timerQueriesEXT: [],
  11381. queries: [],
  11382. samplers: [],
  11383. transformFeedbacks: [],
  11384. syncs: [],
  11385. byteSizeByTypeRoot: 5120,
  11386. byteSizeByType: [ 1, 1, 2, 2, 4, 4, 4, 2, 3, 4, 8 ],
  11387. programInfos: {},
  11388. stringCache: {},
  11389. stringiCache: {},
  11390. tempFixedLengthArray: [],
  11391. packAlignment: 4,
  11392. unpackAlignment: 4,
  11393. init: (function() {
  11394. GL.miniTempBuffer = new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);
  11395. for (var i = 0; i < GL.MINI_TEMP_BUFFER_SIZE; i++) {
  11396. GL.miniTempBufferViews[i] = GL.miniTempBuffer.subarray(0, i + 1);
  11397. }
  11398. for (var i = 0; i < 32; i++) {
  11399. GL.tempFixedLengthArray.push(new Array(i));
  11400. }
  11401. }),
  11402. recordError: function recordError(errorCode) {
  11403. if (!GL.lastError) {
  11404. GL.lastError = errorCode;
  11405. }
  11406. },
  11407. getNewId: (function(table) {
  11408. var ret = GL.counter++;
  11409. for (var i = table.length; i < ret; i++) {
  11410. table[i] = null;
  11411. }
  11412. return ret;
  11413. }),
  11414. MINI_TEMP_BUFFER_SIZE: 256,
  11415. miniTempBuffer: null,
  11416. miniTempBufferViews: [ 0 ],
  11417. getSource: (function(shader, count, string, length) {
  11418. var source = "";
  11419. for (var i = 0; i < count; ++i) {
  11420. var frag;
  11421. if (length) {
  11422. var len = HEAP32[length + i * 4 >> 2];
  11423. if (len < 0) {
  11424. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11425. } else {
  11426. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2], len);
  11427. }
  11428. } else {
  11429. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11430. }
  11431. source += frag;
  11432. }
  11433. return source;
  11434. }),
  11435. createContext: (function(canvas, webGLContextAttributes) {
  11436. if (typeof webGLContextAttributes["majorVersion"] === "undefined" && typeof webGLContextAttributes["minorVersion"] === "undefined") {
  11437. if (typeof WebGL2RenderingContext !== "undefined") webGLContextAttributes["majorVersion"] = 2; else webGLContextAttributes["majorVersion"] = 1;
  11438. webGLContextAttributes["minorVersion"] = 0;
  11439. }
  11440. var ctx;
  11441. var errorInfo = "?";
  11442. function onContextCreationError(event) {
  11443. errorInfo = event.statusMessage || errorInfo;
  11444. }
  11445. webGLContextAttributes["powerPreference"] = "high-performance";
  11446. try {
  11447. canvas.addEventListener("webglcontextcreationerror", onContextCreationError, false);
  11448. try {
  11449. if (webGLContextAttributes["majorVersion"] == 1 && webGLContextAttributes["minorVersion"] == 0) {
  11450. ctx = canvas.getContext("webgl", webGLContextAttributes) || canvas.getContext("experimental-webgl", webGLContextAttributes);
  11451. } else if (webGLContextAttributes["majorVersion"] == 2 && webGLContextAttributes["minorVersion"] == 0) {
  11452. ctx = canvas.getContext("webgl2", webGLContextAttributes);
  11453. } else {
  11454. throw "Unsupported WebGL context version " + majorVersion + "." + minorVersion + "!";
  11455. }
  11456. } finally {
  11457. canvas.removeEventListener("webglcontextcreationerror", onContextCreationError, false);
  11458. }
  11459. if (!ctx) throw ":(";
  11460. } catch (e) {
  11461. out("Could not create canvas: " + [ errorInfo, e, JSON.stringify(webGLContextAttributes) ]);
  11462. return 0;
  11463. }
  11464. if (!ctx) return 0;
  11465. var context = GL.registerContext(ctx, webGLContextAttributes);
  11466. return context;
  11467. }),
  11468. registerContext: (function(ctx, webGLContextAttributes) {
  11469. var handle = _malloc(8);
  11470. HEAP32[handle >> 2] = webGLContextAttributes["explicitSwapControl"];
  11471. var context = {
  11472. handle: handle,
  11473. attributes: webGLContextAttributes,
  11474. version: webGLContextAttributes["majorVersion"],
  11475. GLctx: ctx
  11476. };
  11477. function getChromeVersion() {
  11478. var raw = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
  11479. return raw ? parseInt(raw[2], 10) : false;
  11480. }
  11481. context.supportsWebGL2EntryPoints = context.version >= 2 && (getChromeVersion() === false || getChromeVersion() >= 58);
  11482. if (ctx.canvas) ctx.canvas.GLctxObject = context;
  11483. GL.contexts[handle] = context;
  11484. if (typeof webGLContextAttributes["enableExtensionsByDefault"] === "undefined" || webGLContextAttributes["enableExtensionsByDefault"]) {
  11485. GL.initExtensions(context);
  11486. }
  11487. if (webGLContextAttributes["renderViaOffscreenBackBuffer"]) {
  11488. return 0;
  11489. }
  11490. return handle;
  11491. }),
  11492. makeContextCurrent: (function(contextHandle) {
  11493. if (!contextHandle) {
  11494. GLctx = Module.ctx = GL.currentContext = null;
  11495. return true;
  11496. }
  11497. var context = GL.contexts[contextHandle];
  11498. if (!context) {
  11499. return false;
  11500. }
  11501. GLctx = Module.ctx = context.GLctx;
  11502. GL.currentContext = context;
  11503. return true;
  11504. }),
  11505. getContext: (function(contextHandle) {
  11506. return GL.contexts[contextHandle];
  11507. }),
  11508. deleteContext: (function(contextHandle) {
  11509. if (!contextHandle) return;
  11510. if (GL.currentContext === GL.contexts[contextHandle]) GL.currentContext = null;
  11511. if (typeof JSEvents === "object") JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);
  11512. if (GL.contexts[contextHandle] && GL.contexts[contextHandle].GLctx.canvas) GL.contexts[contextHandle].GLctx.canvas.GLctxObject = undefined;
  11513. _free(GL.contexts[contextHandle]);
  11514. GL.contexts[contextHandle] = null;
  11515. }),
  11516. initExtensions: (function(context) {
  11517. if (!context) context = GL.currentContext;
  11518. if (context.initExtensionsDone) return;
  11519. context.initExtensionsDone = true;
  11520. var GLctx = context.GLctx;
  11521. context.maxVertexAttribs = GLctx.getParameter(GLctx.MAX_VERTEX_ATTRIBS);
  11522. if (context.version < 2) {
  11523. var instancedArraysExt = GLctx.getExtension("ANGLE_instanced_arrays");
  11524. if (instancedArraysExt) {
  11525. GLctx["vertexAttribDivisor"] = (function(index, divisor) {
  11526. instancedArraysExt["vertexAttribDivisorANGLE"](index, divisor);
  11527. });
  11528. GLctx["drawArraysInstanced"] = (function(mode, first, count, primcount) {
  11529. instancedArraysExt["drawArraysInstancedANGLE"](mode, first, count, primcount);
  11530. });
  11531. GLctx["drawElementsInstanced"] = (function(mode, count, type, indices, primcount) {
  11532. instancedArraysExt["drawElementsInstancedANGLE"](mode, count, type, indices, primcount);
  11533. });
  11534. }
  11535. var vaoExt = GLctx.getExtension("OES_vertex_array_object");
  11536. if (vaoExt) {
  11537. GLctx["createVertexArray"] = (function() {
  11538. return vaoExt["createVertexArrayOES"]();
  11539. });
  11540. GLctx["deleteVertexArray"] = (function(vao) {
  11541. vaoExt["deleteVertexArrayOES"](vao);
  11542. });
  11543. GLctx["bindVertexArray"] = (function(vao) {
  11544. vaoExt["bindVertexArrayOES"](vao);
  11545. });
  11546. GLctx["isVertexArray"] = (function(vao) {
  11547. return vaoExt["isVertexArrayOES"](vao);
  11548. });
  11549. }
  11550. var drawBuffersExt = GLctx.getExtension("WEBGL_draw_buffers");
  11551. if (drawBuffersExt) {
  11552. GLctx["drawBuffers"] = (function(n, bufs) {
  11553. drawBuffersExt["drawBuffersWEBGL"](n, bufs);
  11554. });
  11555. }
  11556. }
  11557. GLctx.disjointTimerQueryExt = GLctx.getExtension("EXT_disjoint_timer_query");
  11558. var automaticallyEnabledExtensions = [ "OES_texture_float", "OES_texture_half_float", "OES_standard_derivatives", "OES_vertex_array_object", "WEBGL_compressed_texture_s3tc", "WEBGL_depth_texture", "OES_element_index_uint", "EXT_texture_filter_anisotropic", "EXT_frag_depth", "WEBGL_draw_buffers", "ANGLE_instanced_arrays", "OES_texture_float_linear", "OES_texture_half_float_linear", "EXT_blend_minmax", "EXT_shader_texture_lod", "EXT_texture_norm16", "WEBGL_compressed_texture_pvrtc", "EXT_color_buffer_half_float", "WEBGL_color_buffer_float", "EXT_sRGB", "WEBGL_compressed_texture_etc1", "EXT_disjoint_timer_query", "WEBGL_compressed_texture_etc", "WEBGL_compressed_texture_astc", "EXT_color_buffer_float", "WEBGL_compressed_texture_s3tc_srgb", "EXT_disjoint_timer_query_webgl2", "WEBKIT_WEBGL_compressed_texture_pvrtc" ];
  11559. var exts = GLctx.getSupportedExtensions();
  11560. if (exts && exts.length > 0) {
  11561. GLctx.getSupportedExtensions().forEach((function(ext) {
  11562. if (automaticallyEnabledExtensions.indexOf(ext) != -1) {
  11563. GLctx.getExtension(ext);
  11564. }
  11565. }));
  11566. }
  11567. }),
  11568. populateUniformTable: (function(program) {
  11569. var p = GL.programs[program];
  11570. GL.programInfos[program] = {
  11571. uniforms: {},
  11572. maxUniformLength: 0,
  11573. maxAttributeLength: -1,
  11574. maxUniformBlockNameLength: -1
  11575. };
  11576. var ptable = GL.programInfos[program];
  11577. var utable = ptable.uniforms;
  11578. var numUniforms = GLctx.getProgramParameter(p, GLctx.ACTIVE_UNIFORMS);
  11579. for (var i = 0; i < numUniforms; ++i) {
  11580. var u = GLctx.getActiveUniform(p, i);
  11581. var name = u.name;
  11582. ptable.maxUniformLength = Math.max(ptable.maxUniformLength, name.length + 1);
  11583. if (name.indexOf("]", name.length - 1) !== -1) {
  11584. var ls = name.lastIndexOf("[");
  11585. name = name.slice(0, ls);
  11586. }
  11587. var loc = GLctx.getUniformLocation(p, name);
  11588. if (loc != null) {
  11589. var id = GL.getNewId(GL.uniforms);
  11590. utable[name] = [ u.size, id ];
  11591. GL.uniforms[id] = loc;
  11592. for (var j = 1; j < u.size; ++j) {
  11593. var n = name + "[" + j + "]";
  11594. loc = GLctx.getUniformLocation(p, n);
  11595. id = GL.getNewId(GL.uniforms);
  11596. GL.uniforms[id] = loc;
  11597. }
  11598. }
  11599. }
  11600. })
  11601. };
  11602. function _emscripten_webgl_do_create_context(target, attributes) {
  11603. var contextAttributes = {};
  11604. contextAttributes["alpha"] = !!HEAP32[attributes >> 2];
  11605. contextAttributes["depth"] = !!HEAP32[attributes + 4 >> 2];
  11606. contextAttributes["stencil"] = !!HEAP32[attributes + 8 >> 2];
  11607. contextAttributes["antialias"] = !!HEAP32[attributes + 12 >> 2];
  11608. contextAttributes["premultipliedAlpha"] = !!HEAP32[attributes + 16 >> 2];
  11609. contextAttributes["preserveDrawingBuffer"] = !!HEAP32[attributes + 20 >> 2];
  11610. contextAttributes["preferLowPowerToHighPerformance"] = !!HEAP32[attributes + 24 >> 2];
  11611. contextAttributes["failIfMajorPerformanceCaveat"] = !!HEAP32[attributes + 28 >> 2];
  11612. contextAttributes["majorVersion"] = HEAP32[attributes + 32 >> 2];
  11613. contextAttributes["minorVersion"] = HEAP32[attributes + 36 >> 2];
  11614. contextAttributes["explicitSwapControl"] = HEAP32[attributes + 44 >> 2];
  11615. contextAttributes["proxyContextToMainThread"] = HEAP32[attributes + 48 >> 2];
  11616. contextAttributes["renderViaOffscreenBackBuffer"] = HEAP32[attributes + 52 >> 2];
  11617. target = Pointer_stringify(target);
  11618. var canvas;
  11619. if ((!target || target === "#canvas") && Module["canvas"]) {
  11620. canvas = Module["canvas"].id && GL.offscreenCanvases[Module["canvas"].id] ? GL.offscreenCanvases[Module["canvas"].id].offscreenCanvas || JSEvents.findEventTarget(Module["canvas"].id) : Module["canvas"];
  11621. } else {
  11622. canvas = GL.offscreenCanvases[target] ? GL.offscreenCanvases[target].offscreenCanvas : JSEvents.findEventTarget(target);
  11623. }
  11624. if (!canvas) {
  11625. return 0;
  11626. }
  11627. if (contextAttributes["explicitSwapControl"]) {
  11628. return 0;
  11629. }
  11630. var contextHandle = GL.createContext(canvas, contextAttributes);
  11631. return contextHandle;
  11632. }
  11633. function _emscripten_webgl_create_context() {
  11634. return _emscripten_webgl_do_create_context.apply(null, arguments);
  11635. }
  11636. function _emscripten_webgl_destroy_context_calling_thread(contextHandle) {
  11637. GL.deleteContext(contextHandle);
  11638. }
  11639. function _emscripten_webgl_destroy_context() {
  11640. return _emscripten_webgl_destroy_context_calling_thread.apply(null, arguments);
  11641. }
  11642. function _emscripten_webgl_enable_extension_calling_thread(contextHandle, extension) {
  11643. var context = GL.getContext(contextHandle);
  11644. var extString = Pointer_stringify(extension);
  11645. if (extString.indexOf("GL_") == 0) extString = extString.substr(3);
  11646. var ext = context.GLctx.getExtension(extString);
  11647. return ext ? 1 : 0;
  11648. }
  11649. function _emscripten_webgl_enable_extension() {
  11650. return _emscripten_webgl_enable_extension_calling_thread.apply(null, arguments);
  11651. }
  11652. function _emscripten_webgl_do_get_current_context() {
  11653. return GL.currentContext ? GL.currentContext.handle : 0;
  11654. }
  11655. function _emscripten_webgl_get_current_context() {
  11656. return _emscripten_webgl_do_get_current_context.apply(null, arguments);
  11657. }
  11658. function _emscripten_webgl_init_context_attributes(attributes) {
  11659. HEAP32[attributes >> 2] = 1;
  11660. HEAP32[attributes + 4 >> 2] = 1;
  11661. HEAP32[attributes + 8 >> 2] = 0;
  11662. HEAP32[attributes + 12 >> 2] = 1;
  11663. HEAP32[attributes + 16 >> 2] = 1;
  11664. HEAP32[attributes + 20 >> 2] = 0;
  11665. HEAP32[attributes + 24 >> 2] = 0;
  11666. HEAP32[attributes + 28 >> 2] = 0;
  11667. HEAP32[attributes + 32 >> 2] = 1;
  11668. HEAP32[attributes + 36 >> 2] = 0;
  11669. HEAP32[attributes + 40 >> 2] = 1;
  11670. HEAP32[attributes + 44 >> 2] = 0;
  11671. HEAP32[attributes + 48 >> 2] = 0;
  11672. HEAP32[attributes + 52 >> 2] = 0;
  11673. }
  11674. function _emscripten_webgl_make_context_current(contextHandle) {
  11675. var success = GL.makeContextCurrent(contextHandle);
  11676. return success ? 0 : -5;
  11677. }
  11678. function __exit(status) {
  11679. exit(status);
  11680. }
  11681. function _exit(status) {
  11682. __exit(status);
  11683. }
  11684. function _flock(fd, operation) {
  11685. return 0;
  11686. }
  11687. function _getenv(name) {
  11688. if (name === 0) return 0;
  11689. name = Pointer_stringify(name);
  11690. if (!ENV.hasOwnProperty(name)) return 0;
  11691. if (_getenv.ret) _free(_getenv.ret);
  11692. _getenv.ret = allocateUTF8(ENV[name]);
  11693. return _getenv.ret;
  11694. }
  11695. function _gethostbyname(name) {
  11696. name = Pointer_stringify(name);
  11697. var ret = _malloc(20);
  11698. var nameBuf = _malloc(name.length + 1);
  11699. stringToUTF8(name, nameBuf, name.length + 1);
  11700. HEAP32[ret >> 2] = nameBuf;
  11701. var aliasesBuf = _malloc(4);
  11702. HEAP32[aliasesBuf >> 2] = 0;
  11703. HEAP32[ret + 4 >> 2] = aliasesBuf;
  11704. var afinet = 2;
  11705. HEAP32[ret + 8 >> 2] = afinet;
  11706. HEAP32[ret + 12 >> 2] = 4;
  11707. var addrListBuf = _malloc(12);
  11708. HEAP32[addrListBuf >> 2] = addrListBuf + 8;
  11709. HEAP32[addrListBuf + 4 >> 2] = 0;
  11710. HEAP32[addrListBuf + 8 >> 2] = __inet_pton4_raw(DNS.lookup_name(name));
  11711. HEAP32[ret + 16 >> 2] = addrListBuf;
  11712. return ret;
  11713. }
  11714. function _gethostbyaddr(addr, addrlen, type) {
  11715. if (type !== 2) {
  11716. ___setErrNo(ERRNO_CODES.EAFNOSUPPORT);
  11717. return null;
  11718. }
  11719. addr = HEAP32[addr >> 2];
  11720. var host = __inet_ntop4_raw(addr);
  11721. var lookup = DNS.lookup_addr(host);
  11722. if (lookup) {
  11723. host = lookup;
  11724. }
  11725. var hostp = allocate(intArrayFromString(host), "i8", ALLOC_STACK);
  11726. return _gethostbyname(hostp);
  11727. }
  11728. function _getpagesize() {
  11729. return PAGE_SIZE;
  11730. }
  11731. function _getpwuid(uid) {
  11732. return 0;
  11733. }
  11734. function _gettimeofday(ptr) {
  11735. var now = Date.now();
  11736. HEAP32[ptr >> 2] = now / 1e3 | 0;
  11737. HEAP32[ptr + 4 >> 2] = now % 1e3 * 1e3 | 0;
  11738. return 0;
  11739. }
  11740. function _glActiveTexture(x0) {
  11741. GLctx["activeTexture"](x0);
  11742. }
  11743. function _glAttachShader(program, shader) {
  11744. GLctx.attachShader(GL.programs[program], GL.shaders[shader]);
  11745. }
  11746. function _glBeginQuery(target, id) {
  11747. GLctx["beginQuery"](target, id ? GL.queries[id] : null);
  11748. }
  11749. function _glBeginTransformFeedback(x0) {
  11750. GLctx["beginTransformFeedback"](x0);
  11751. }
  11752. function _glBindAttribLocation(program, index, name) {
  11753. name = Pointer_stringify(name);
  11754. GLctx.bindAttribLocation(GL.programs[program], index, name);
  11755. }
  11756. function _glBindBuffer(target, buffer) {
  11757. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11758. if (target == 35051) {
  11759. GLctx.currentPixelPackBufferBinding = buffer;
  11760. } else if (target == 35052) {
  11761. GLctx.currentPixelUnpackBufferBinding = buffer;
  11762. }
  11763. GLctx.bindBuffer(target, bufferObj);
  11764. }
  11765. function _glBindBufferBase(target, index, buffer) {
  11766. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11767. GLctx["bindBufferBase"](target, index, bufferObj);
  11768. }
  11769. function _glBindBufferRange(target, index, buffer, offset, ptrsize) {
  11770. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11771. GLctx["bindBufferRange"](target, index, bufferObj, offset, ptrsize);
  11772. }
  11773. function _glBindFramebuffer(target, framebuffer) {
  11774. GLctx.bindFramebuffer(target, framebuffer ? GL.framebuffers[framebuffer] : null);
  11775. }
  11776. function _glBindRenderbuffer(target, renderbuffer) {
  11777. GLctx.bindRenderbuffer(target, renderbuffer ? GL.renderbuffers[renderbuffer] : null);
  11778. }
  11779. function _glBindSampler(unit, sampler) {
  11780. GLctx["bindSampler"](unit, sampler ? GL.samplers[sampler] : null);
  11781. }
  11782. function _glBindTexture(target, texture) {
  11783. GLctx.bindTexture(target, texture ? GL.textures[texture] : null);
  11784. }
  11785. function _glBindTransformFeedback(target, id) {
  11786. var transformFeedback = id ? GL.transformFeedbacks[id] : null;
  11787. if (id && !transformFeedback) {
  11788. GL.recordError(1282);
  11789. return;
  11790. }
  11791. GLctx["bindTransformFeedback"](target, transformFeedback);
  11792. }
  11793. function _glBindVertexArray(vao) {
  11794. GLctx["bindVertexArray"](GL.vaos[vao]);
  11795. }
  11796. function _glBlendEquation(x0) {
  11797. GLctx["blendEquation"](x0);
  11798. }
  11799. function _glBlendEquationSeparate(x0, x1) {
  11800. GLctx["blendEquationSeparate"](x0, x1);
  11801. }
  11802. function _glBlendFuncSeparate(x0, x1, x2, x3) {
  11803. GLctx["blendFuncSeparate"](x0, x1, x2, x3);
  11804. }
  11805. function _glBlitFramebuffer(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) {
  11806. GLctx["blitFramebuffer"](x0, x1, x2, x3, x4, x5, x6, x7, x8, x9);
  11807. }
  11808. function _glBufferData(target, size, data, usage) {
  11809. if (!data) {
  11810. GLctx.bufferData(target, size, usage);
  11811. } else {
  11812. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11813. GLctx.bufferData(target, HEAPU8, usage, data, size);
  11814. return;
  11815. }
  11816. GLctx.bufferData(target, HEAPU8.subarray(data, data + size), usage);
  11817. }
  11818. }
  11819. function _glBufferSubData(target, offset, size, data) {
  11820. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11821. GLctx.bufferSubData(target, offset, HEAPU8, data, size);
  11822. return;
  11823. }
  11824. GLctx.bufferSubData(target, offset, HEAPU8.subarray(data, data + size));
  11825. }
  11826. function _glCheckFramebufferStatus(x0) {
  11827. return GLctx["checkFramebufferStatus"](x0);
  11828. }
  11829. function _glClear(x0) {
  11830. GLctx["clear"](x0);
  11831. }
  11832. function _glClearBufferfi(x0, x1, x2, x3) {
  11833. GLctx["clearBufferfi"](x0, x1, x2, x3);
  11834. }
  11835. function _glClearBufferfv(buffer, drawbuffer, value) {
  11836. GLctx["clearBufferfv"](buffer, drawbuffer, HEAPF32, value >> 2);
  11837. }
  11838. function _glClearBufferuiv(buffer, drawbuffer, value) {
  11839. GLctx["clearBufferuiv"](buffer, drawbuffer, HEAPU32, value >> 2);
  11840. }
  11841. function _glClearColor(x0, x1, x2, x3) {
  11842. GLctx["clearColor"](x0, x1, x2, x3);
  11843. }
  11844. function _glClearDepthf(x0) {
  11845. GLctx["clearDepth"](x0);
  11846. }
  11847. function _glClearStencil(x0) {
  11848. GLctx["clearStencil"](x0);
  11849. }
  11850. function _glClientWaitSync(sync, flags, timeoutLo, timeoutHi) {
  11851. timeoutLo = timeoutLo >>> 0;
  11852. timeoutHi = timeoutHi >>> 0;
  11853. var timeout = timeoutLo == 4294967295 && timeoutHi == 4294967295 ? -1 : makeBigInt(timeoutLo, timeoutHi, true);
  11854. return GLctx.clientWaitSync(GL.syncs[sync], flags, timeout);
  11855. }
  11856. function _glColorMask(red, green, blue, alpha) {
  11857. GLctx.colorMask(!!red, !!green, !!blue, !!alpha);
  11858. }
  11859. function _glCompileShader(shader) {
  11860. GLctx.compileShader(GL.shaders[shader]);
  11861. }
  11862. function _glCompressedTexImage2D(target, level, internalFormat, width, height, border, imageSize, data) {
  11863. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11864. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, HEAPU8, data, imageSize);
  11865. return;
  11866. }
  11867. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11868. }
  11869. function _glCompressedTexImage3D(target, level, internalFormat, width, height, depth, border, imageSize, data) {
  11870. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11871. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, HEAPU8, data, imageSize);
  11872. } else {
  11873. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11874. }
  11875. }
  11876. function _glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) {
  11877. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11878. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, HEAPU8, data, imageSize);
  11879. return;
  11880. }
  11881. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11882. }
  11883. function _glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) {
  11884. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11885. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, HEAPU8, data, imageSize);
  11886. } else {
  11887. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11888. }
  11889. }
  11890. function _glCopyBufferSubData(x0, x1, x2, x3, x4) {
  11891. GLctx["copyBufferSubData"](x0, x1, x2, x3, x4);
  11892. }
  11893. function _glCopyTexImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  11894. GLctx["copyTexImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  11895. }
  11896. function _glCopyTexSubImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  11897. GLctx["copyTexSubImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  11898. }
  11899. function _glCreateProgram() {
  11900. var id = GL.getNewId(GL.programs);
  11901. var program = GLctx.createProgram();
  11902. program.name = id;
  11903. GL.programs[id] = program;
  11904. return id;
  11905. }
  11906. function _glCreateShader(shaderType) {
  11907. var id = GL.getNewId(GL.shaders);
  11908. GL.shaders[id] = GLctx.createShader(shaderType);
  11909. return id;
  11910. }
  11911. function _glCullFace(x0) {
  11912. GLctx["cullFace"](x0);
  11913. }
  11914. function _glDeleteBuffers(n, buffers) {
  11915. for (var i = 0; i < n; i++) {
  11916. var id = HEAP32[buffers + i * 4 >> 2];
  11917. var buffer = GL.buffers[id];
  11918. if (!buffer) continue;
  11919. GLctx.deleteBuffer(buffer);
  11920. buffer.name = 0;
  11921. GL.buffers[id] = null;
  11922. if (id == GL.currArrayBuffer) GL.currArrayBuffer = 0;
  11923. if (id == GL.currElementArrayBuffer) GL.currElementArrayBuffer = 0;
  11924. }
  11925. }
  11926. function _glDeleteFramebuffers(n, framebuffers) {
  11927. for (var i = 0; i < n; ++i) {
  11928. var id = HEAP32[framebuffers + i * 4 >> 2];
  11929. var framebuffer = GL.framebuffers[id];
  11930. if (!framebuffer) continue;
  11931. GLctx.deleteFramebuffer(framebuffer);
  11932. framebuffer.name = 0;
  11933. GL.framebuffers[id] = null;
  11934. }
  11935. }
  11936. function _glDeleteProgram(id) {
  11937. if (!id) return;
  11938. var program = GL.programs[id];
  11939. if (!program) {
  11940. GL.recordError(1281);
  11941. return;
  11942. }
  11943. GLctx.deleteProgram(program);
  11944. program.name = 0;
  11945. GL.programs[id] = null;
  11946. GL.programInfos[id] = null;
  11947. }
  11948. function _glDeleteQueries(n, ids) {
  11949. for (var i = 0; i < n; i++) {
  11950. var id = HEAP32[ids + i * 4 >> 2];
  11951. var query = GL.queries[id];
  11952. if (!query) continue;
  11953. GLctx["deleteQuery"](query);
  11954. GL.queries[id] = null;
  11955. }
  11956. }
  11957. function _glDeleteRenderbuffers(n, renderbuffers) {
  11958. for (var i = 0; i < n; i++) {
  11959. var id = HEAP32[renderbuffers + i * 4 >> 2];
  11960. var renderbuffer = GL.renderbuffers[id];
  11961. if (!renderbuffer) continue;
  11962. GLctx.deleteRenderbuffer(renderbuffer);
  11963. renderbuffer.name = 0;
  11964. GL.renderbuffers[id] = null;
  11965. }
  11966. }
  11967. function _glDeleteSamplers(n, samplers) {
  11968. for (var i = 0; i < n; i++) {
  11969. var id = HEAP32[samplers + i * 4 >> 2];
  11970. var sampler = GL.samplers[id];
  11971. if (!sampler) continue;
  11972. GLctx["deleteSampler"](sampler);
  11973. sampler.name = 0;
  11974. GL.samplers[id] = null;
  11975. }
  11976. }
  11977. function _glDeleteShader(id) {
  11978. if (!id) return;
  11979. var shader = GL.shaders[id];
  11980. if (!shader) {
  11981. GL.recordError(1281);
  11982. return;
  11983. }
  11984. GLctx.deleteShader(shader);
  11985. GL.shaders[id] = null;
  11986. }
  11987. function _glDeleteSync(id) {
  11988. if (!id) return;
  11989. var sync = GL.syncs[id];
  11990. if (!sync) {
  11991. GL.recordError(1281);
  11992. return;
  11993. }
  11994. GLctx.deleteSync(sync);
  11995. sync.name = 0;
  11996. GL.syncs[id] = null;
  11997. }
  11998. function _glDeleteTextures(n, textures) {
  11999. for (var i = 0; i < n; i++) {
  12000. var id = HEAP32[textures + i * 4 >> 2];
  12001. var texture = GL.textures[id];
  12002. if (!texture) continue;
  12003. GLctx.deleteTexture(texture);
  12004. texture.name = 0;
  12005. GL.textures[id] = null;
  12006. }
  12007. }
  12008. function _glDeleteTransformFeedbacks(n, ids) {
  12009. for (var i = 0; i < n; i++) {
  12010. var id = HEAP32[ids + i * 4 >> 2];
  12011. var transformFeedback = GL.transformFeedbacks[id];
  12012. if (!transformFeedback) continue;
  12013. GLctx["deleteTransformFeedback"](transformFeedback);
  12014. transformFeedback.name = 0;
  12015. GL.transformFeedbacks[id] = null;
  12016. }
  12017. }
  12018. function _glDeleteVertexArrays(n, vaos) {
  12019. for (var i = 0; i < n; i++) {
  12020. var id = HEAP32[vaos + i * 4 >> 2];
  12021. GLctx["deleteVertexArray"](GL.vaos[id]);
  12022. GL.vaos[id] = null;
  12023. }
  12024. }
  12025. function _glDepthFunc(x0) {
  12026. GLctx["depthFunc"](x0);
  12027. }
  12028. function _glDepthMask(flag) {
  12029. GLctx.depthMask(!!flag);
  12030. }
  12031. function _glDetachShader(program, shader) {
  12032. GLctx.detachShader(GL.programs[program], GL.shaders[shader]);
  12033. }
  12034. function _glDisable(x0) {
  12035. GLctx["disable"](x0);
  12036. }
  12037. function _glDisableVertexAttribArray(index) {
  12038. GLctx.disableVertexAttribArray(index);
  12039. }
  12040. function _glDrawArrays(mode, first, count) {
  12041. GLctx.drawArrays(mode, first, count);
  12042. }
  12043. function _glDrawArraysInstanced(mode, first, count, primcount) {
  12044. GLctx["drawArraysInstanced"](mode, first, count, primcount);
  12045. }
  12046. function _glDrawBuffers(n, bufs) {
  12047. var bufArray = GL.tempFixedLengthArray[n];
  12048. for (var i = 0; i < n; i++) {
  12049. bufArray[i] = HEAP32[bufs + i * 4 >> 2];
  12050. }
  12051. GLctx["drawBuffers"](bufArray);
  12052. }
  12053. function _glDrawElements(mode, count, type, indices) {
  12054. GLctx.drawElements(mode, count, type, indices);
  12055. }
  12056. function _glDrawElementsInstanced(mode, count, type, indices, primcount) {
  12057. GLctx["drawElementsInstanced"](mode, count, type, indices, primcount);
  12058. }
  12059. function _glEnable(x0) {
  12060. GLctx["enable"](x0);
  12061. }
  12062. function _glEnableVertexAttribArray(index) {
  12063. GLctx.enableVertexAttribArray(index);
  12064. }
  12065. function _glEndQuery(x0) {
  12066. GLctx["endQuery"](x0);
  12067. }
  12068. function _glEndTransformFeedback() {
  12069. GLctx["endTransformFeedback"]();
  12070. }
  12071. function _glFenceSync(condition, flags) {
  12072. var sync = GLctx.fenceSync(condition, flags);
  12073. if (sync) {
  12074. var id = GL.getNewId(GL.syncs);
  12075. sync.name = id;
  12076. GL.syncs[id] = sync;
  12077. return id;
  12078. } else {
  12079. return 0;
  12080. }
  12081. }
  12082. function _glFinish() {
  12083. GLctx["finish"]();
  12084. }
  12085. function _glFlush() {
  12086. GLctx["flush"]();
  12087. }
  12088. function emscriptenWebGLGetBufferBinding(target) {
  12089. switch (target) {
  12090. case 34962:
  12091. target = 34964;
  12092. break;
  12093. case 34963:
  12094. target = 34965;
  12095. break;
  12096. case 35051:
  12097. target = 35053;
  12098. break;
  12099. case 35052:
  12100. target = 35055;
  12101. break;
  12102. case 35982:
  12103. target = 35983;
  12104. break;
  12105. case 36662:
  12106. target = 36662;
  12107. break;
  12108. case 36663:
  12109. target = 36663;
  12110. break;
  12111. case 35345:
  12112. target = 35368;
  12113. break;
  12114. }
  12115. var buffer = GLctx.getParameter(target);
  12116. if (buffer) return buffer.name | 0; else return 0;
  12117. }
  12118. function emscriptenWebGLValidateMapBufferTarget(target) {
  12119. switch (target) {
  12120. case 34962:
  12121. case 34963:
  12122. case 36662:
  12123. case 36663:
  12124. case 35051:
  12125. case 35052:
  12126. case 35882:
  12127. case 35982:
  12128. case 35345:
  12129. return true;
  12130. default:
  12131. return false;
  12132. }
  12133. }
  12134. function _glFlushMappedBufferRange(target, offset, length) {
  12135. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  12136. GL.recordError(1280);
  12137. err("GL_INVALID_ENUM in glFlushMappedBufferRange");
  12138. return;
  12139. }
  12140. var mapping = GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)];
  12141. if (!mapping) {
  12142. GL.recordError(1282);
  12143. Module.printError("buffer was never mapped in glFlushMappedBufferRange");
  12144. return;
  12145. }
  12146. if (!(mapping.access & 16)) {
  12147. GL.recordError(1282);
  12148. Module.printError("buffer was not mapped with GL_MAP_FLUSH_EXPLICIT_BIT in glFlushMappedBufferRange");
  12149. return;
  12150. }
  12151. if (offset < 0 || length < 0 || offset + length > mapping.length) {
  12152. GL.recordError(1281);
  12153. Module.printError("invalid range in glFlushMappedBufferRange");
  12154. return;
  12155. }
  12156. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem + offset, mapping.mem + offset + length));
  12157. }
  12158. function _glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) {
  12159. GLctx.framebufferRenderbuffer(target, attachment, renderbuffertarget, GL.renderbuffers[renderbuffer]);
  12160. }
  12161. function _glFramebufferTexture2D(target, attachment, textarget, texture, level) {
  12162. GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
  12163. }
  12164. function _glFramebufferTextureLayer(target, attachment, texture, level, layer) {
  12165. GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer);
  12166. }
  12167. function _glFrontFace(x0) {
  12168. GLctx["frontFace"](x0);
  12169. }
  12170. function _glGenBuffers(n, buffers) {
  12171. for (var i = 0; i < n; i++) {
  12172. var buffer = GLctx.createBuffer();
  12173. if (!buffer) {
  12174. GL.recordError(1282);
  12175. while (i < n) HEAP32[buffers + i++ * 4 >> 2] = 0;
  12176. return;
  12177. }
  12178. var id = GL.getNewId(GL.buffers);
  12179. buffer.name = id;
  12180. GL.buffers[id] = buffer;
  12181. HEAP32[buffers + i * 4 >> 2] = id;
  12182. }
  12183. }
  12184. function _glGenFramebuffers(n, ids) {
  12185. for (var i = 0; i < n; ++i) {
  12186. var framebuffer = GLctx.createFramebuffer();
  12187. if (!framebuffer) {
  12188. GL.recordError(1282);
  12189. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12190. return;
  12191. }
  12192. var id = GL.getNewId(GL.framebuffers);
  12193. framebuffer.name = id;
  12194. GL.framebuffers[id] = framebuffer;
  12195. HEAP32[ids + i * 4 >> 2] = id;
  12196. }
  12197. }
  12198. function _glGenQueries(n, ids) {
  12199. for (var i = 0; i < n; i++) {
  12200. var query = GLctx["createQuery"]();
  12201. if (!query) {
  12202. GL.recordError(1282);
  12203. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12204. return;
  12205. }
  12206. var id = GL.getNewId(GL.queries);
  12207. query.name = id;
  12208. GL.queries[id] = query;
  12209. HEAP32[ids + i * 4 >> 2] = id;
  12210. }
  12211. }
  12212. function _glGenRenderbuffers(n, renderbuffers) {
  12213. for (var i = 0; i < n; i++) {
  12214. var renderbuffer = GLctx.createRenderbuffer();
  12215. if (!renderbuffer) {
  12216. GL.recordError(1282);
  12217. while (i < n) HEAP32[renderbuffers + i++ * 4 >> 2] = 0;
  12218. return;
  12219. }
  12220. var id = GL.getNewId(GL.renderbuffers);
  12221. renderbuffer.name = id;
  12222. GL.renderbuffers[id] = renderbuffer;
  12223. HEAP32[renderbuffers + i * 4 >> 2] = id;
  12224. }
  12225. }
  12226. function _glGenSamplers(n, samplers) {
  12227. for (var i = 0; i < n; i++) {
  12228. var sampler = GLctx["createSampler"]();
  12229. if (!sampler) {
  12230. GL.recordError(1282);
  12231. while (i < n) HEAP32[samplers + i++ * 4 >> 2] = 0;
  12232. return;
  12233. }
  12234. var id = GL.getNewId(GL.samplers);
  12235. sampler.name = id;
  12236. GL.samplers[id] = sampler;
  12237. HEAP32[samplers + i * 4 >> 2] = id;
  12238. }
  12239. }
  12240. function _glGenTextures(n, textures) {
  12241. for (var i = 0; i < n; i++) {
  12242. var texture = GLctx.createTexture();
  12243. if (!texture) {
  12244. GL.recordError(1282);
  12245. while (i < n) HEAP32[textures + i++ * 4 >> 2] = 0;
  12246. return;
  12247. }
  12248. var id = GL.getNewId(GL.textures);
  12249. texture.name = id;
  12250. GL.textures[id] = texture;
  12251. HEAP32[textures + i * 4 >> 2] = id;
  12252. }
  12253. }
  12254. function _glGenTransformFeedbacks(n, ids) {
  12255. for (var i = 0; i < n; i++) {
  12256. var transformFeedback = GLctx["createTransformFeedback"]();
  12257. if (!transformFeedback) {
  12258. GL.recordError(1282);
  12259. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12260. return;
  12261. }
  12262. var id = GL.getNewId(GL.transformFeedbacks);
  12263. transformFeedback.name = id;
  12264. GL.transformFeedbacks[id] = transformFeedback;
  12265. HEAP32[ids + i * 4 >> 2] = id;
  12266. }
  12267. }
  12268. function _glGenVertexArrays(n, arrays) {
  12269. for (var i = 0; i < n; i++) {
  12270. var vao = GLctx["createVertexArray"]();
  12271. if (!vao) {
  12272. GL.recordError(1282);
  12273. while (i < n) HEAP32[arrays + i++ * 4 >> 2] = 0;
  12274. return;
  12275. }
  12276. var id = GL.getNewId(GL.vaos);
  12277. vao.name = id;
  12278. GL.vaos[id] = vao;
  12279. HEAP32[arrays + i * 4 >> 2] = id;
  12280. }
  12281. }
  12282. function _glGenerateMipmap(x0) {
  12283. GLctx["generateMipmap"](x0);
  12284. }
  12285. function _glGetActiveAttrib(program, index, bufSize, length, size, type, name) {
  12286. program = GL.programs[program];
  12287. var info = GLctx.getActiveAttrib(program, index);
  12288. if (!info) return;
  12289. if (bufSize > 0 && name) {
  12290. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12291. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12292. } else {
  12293. if (length) HEAP32[length >> 2] = 0;
  12294. }
  12295. if (size) HEAP32[size >> 2] = info.size;
  12296. if (type) HEAP32[type >> 2] = info.type;
  12297. }
  12298. function _glGetActiveUniform(program, index, bufSize, length, size, type, name) {
  12299. program = GL.programs[program];
  12300. var info = GLctx.getActiveUniform(program, index);
  12301. if (!info) return;
  12302. if (bufSize > 0 && name) {
  12303. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12304. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12305. } else {
  12306. if (length) HEAP32[length >> 2] = 0;
  12307. }
  12308. if (size) HEAP32[size >> 2] = info.size;
  12309. if (type) HEAP32[type >> 2] = info.type;
  12310. }
  12311. function _glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) {
  12312. program = GL.programs[program];
  12313. var result = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12314. if (!result) return;
  12315. if (uniformBlockName && bufSize > 0) {
  12316. var numBytesWrittenExclNull = stringToUTF8(result, uniformBlockName, bufSize);
  12317. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12318. } else {
  12319. if (length) HEAP32[length >> 2] = 0;
  12320. }
  12321. }
  12322. function _glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params) {
  12323. if (!params) {
  12324. GL.recordError(1281);
  12325. return;
  12326. }
  12327. program = GL.programs[program];
  12328. switch (pname) {
  12329. case 35393:
  12330. var name = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12331. HEAP32[params >> 2] = name.length + 1;
  12332. return;
  12333. default:
  12334. var result = GLctx["getActiveUniformBlockParameter"](program, uniformBlockIndex, pname);
  12335. if (!result) return;
  12336. if (typeof result == "number") {
  12337. HEAP32[params >> 2] = result;
  12338. } else {
  12339. for (var i = 0; i < result.length; i++) {
  12340. HEAP32[params + i * 4 >> 2] = result[i];
  12341. }
  12342. }
  12343. }
  12344. }
  12345. function _glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params) {
  12346. if (!params) {
  12347. GL.recordError(1281);
  12348. return;
  12349. }
  12350. if (uniformCount > 0 && uniformIndices == 0) {
  12351. GL.recordError(1281);
  12352. return;
  12353. }
  12354. program = GL.programs[program];
  12355. var ids = [];
  12356. for (var i = 0; i < uniformCount; i++) {
  12357. ids.push(HEAP32[uniformIndices + i * 4 >> 2]);
  12358. }
  12359. var result = GLctx["getActiveUniforms"](program, ids, pname);
  12360. if (!result) return;
  12361. var len = result.length;
  12362. for (var i = 0; i < len; i++) {
  12363. HEAP32[params + i * 4 >> 2] = result[i];
  12364. }
  12365. }
  12366. function _glGetAttribLocation(program, name) {
  12367. return GLctx.getAttribLocation(GL.programs[program], Pointer_stringify(name));
  12368. }
  12369. function _glGetError() {
  12370. if (GL.lastError) {
  12371. var error = GL.lastError;
  12372. GL.lastError = 0;
  12373. return error;
  12374. } else {
  12375. return GLctx.getError();
  12376. }
  12377. }
  12378. function _glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) {
  12379. var result = GLctx.getFramebufferAttachmentParameter(target, attachment, pname);
  12380. if (result instanceof WebGLRenderbuffer || result instanceof WebGLTexture) {
  12381. result = result.name | 0;
  12382. }
  12383. HEAP32[params >> 2] = result;
  12384. }
  12385. function emscriptenWebGLGetIndexed(target, index, data, type) {
  12386. if (!data) {
  12387. GL.recordError(1281);
  12388. return;
  12389. }
  12390. var result = GLctx["getIndexedParameter"](target, index);
  12391. var ret;
  12392. switch (typeof result) {
  12393. case "boolean":
  12394. ret = result ? 1 : 0;
  12395. break;
  12396. case "number":
  12397. ret = result;
  12398. break;
  12399. case "object":
  12400. if (result === null) {
  12401. switch (target) {
  12402. case 35983:
  12403. case 35368:
  12404. ret = 0;
  12405. break;
  12406. default:
  12407. {
  12408. GL.recordError(1280);
  12409. return;
  12410. }
  12411. }
  12412. } else if (result instanceof WebGLBuffer) {
  12413. ret = result.name | 0;
  12414. } else {
  12415. GL.recordError(1280);
  12416. return;
  12417. }
  12418. break;
  12419. default:
  12420. GL.recordError(1280);
  12421. return;
  12422. }
  12423. switch (type) {
  12424. case "Integer64":
  12425. tempI64 = [ ret >>> 0, (tempDouble = ret, +Math_abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math_min(+Math_floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], HEAP32[data >> 2] = tempI64[0], HEAP32[data + 4 >> 2] = tempI64[1];
  12426. break;
  12427. case "Integer":
  12428. HEAP32[data >> 2] = ret;
  12429. break;
  12430. case "Float":
  12431. HEAPF32[data >> 2] = ret;
  12432. break;
  12433. case "Boolean":
  12434. HEAP8[data >> 0] = ret ? 1 : 0;
  12435. break;
  12436. default:
  12437. throw "internal emscriptenWebGLGetIndexed() error, bad type: " + type;
  12438. }
  12439. }
  12440. function _glGetIntegeri_v(target, index, data) {
  12441. emscriptenWebGLGetIndexed(target, index, data, "Integer");
  12442. }
  12443. function emscriptenWebGLGet(name_, p, type) {
  12444. if (!p) {
  12445. GL.recordError(1281);
  12446. return;
  12447. }
  12448. var ret = undefined;
  12449. switch (name_) {
  12450. case 36346:
  12451. ret = 1;
  12452. break;
  12453. case 36344:
  12454. if (type !== "Integer" && type !== "Integer64") {
  12455. GL.recordError(1280);
  12456. }
  12457. return;
  12458. case 34814:
  12459. case 36345:
  12460. ret = 0;
  12461. break;
  12462. case 34466:
  12463. var formats = GLctx.getParameter(34467);
  12464. ret = formats.length;
  12465. break;
  12466. case 33309:
  12467. if (GLctx.canvas.GLctxObject.version < 2) {
  12468. GL.recordError(1282);
  12469. return;
  12470. }
  12471. var exts = GLctx.getSupportedExtensions();
  12472. ret = 2 * exts.length;
  12473. break;
  12474. case 33307:
  12475. case 33308:
  12476. if (GLctx.canvas.GLctxObject.version < 2) {
  12477. GL.recordError(1280);
  12478. return;
  12479. }
  12480. ret = name_ == 33307 ? 3 : 0;
  12481. break;
  12482. }
  12483. if (ret === undefined) {
  12484. var result = GLctx.getParameter(name_);
  12485. switch (typeof result) {
  12486. case "number":
  12487. ret = result;
  12488. break;
  12489. case "boolean":
  12490. ret = result ? 1 : 0;
  12491. break;
  12492. case "string":
  12493. GL.recordError(1280);
  12494. return;
  12495. case "object":
  12496. if (result === null) {
  12497. switch (name_) {
  12498. case 34964:
  12499. case 35725:
  12500. case 34965:
  12501. case 36006:
  12502. case 36007:
  12503. case 32873:
  12504. case 34229:
  12505. case 35097:
  12506. case 36389:
  12507. case 34068:
  12508. {
  12509. ret = 0;
  12510. break;
  12511. }
  12512. default:
  12513. {
  12514. GL.recordError(1280);
  12515. return;
  12516. }
  12517. }
  12518. } else if (result instanceof Float32Array || result instanceof Uint32Array || result instanceof Int32Array || result instanceof Array) {
  12519. for (var i = 0; i < result.length; ++i) {
  12520. switch (type) {
  12521. case "Integer":
  12522. HEAP32[p + i * 4 >> 2] = result[i];
  12523. break;
  12524. case "Float":
  12525. HEAPF32[p + i * 4 >> 2] = result[i];
  12526. break;
  12527. case "Boolean":
  12528. HEAP8[p + i >> 0] = result[i] ? 1 : 0;
  12529. break;
  12530. default:
  12531. throw "internal glGet error, bad type: " + type;
  12532. }
  12533. }
  12534. return;
  12535. } else if (result instanceof WebGLBuffer || result instanceof WebGLProgram || result instanceof WebGLFramebuffer || result instanceof WebGLRenderbuffer || result instanceof WebGLQuery || result instanceof WebGLSampler || result instanceof WebGLSync || result instanceof WebGLTransformFeedback || result instanceof WebGLVertexArrayObject || result instanceof WebGLTexture) {
  12536. ret = result.name | 0;
  12537. } else {
  12538. GL.recordError(1280);
  12539. return;
  12540. }
  12541. break;
  12542. default:
  12543. GL.recordError(1280);
  12544. return;
  12545. }
  12546. }
  12547. switch (type) {
  12548. case "Integer64":
  12549. tempI64 = [ ret >>> 0, (tempDouble = ret, +Math_abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math_min(+Math_floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], HEAP32[p >> 2] = tempI64[0], HEAP32[p + 4 >> 2] = tempI64[1];
  12550. break;
  12551. case "Integer":
  12552. HEAP32[p >> 2] = ret;
  12553. break;
  12554. case "Float":
  12555. HEAPF32[p >> 2] = ret;
  12556. break;
  12557. case "Boolean":
  12558. HEAP8[p >> 0] = ret ? 1 : 0;
  12559. break;
  12560. default:
  12561. throw "internal glGet error, bad type: " + type;
  12562. }
  12563. }
  12564. function _glGetIntegerv(name_, p) {
  12565. emscriptenWebGLGet(name_, p, "Integer");
  12566. }
  12567. function _glGetInternalformativ(target, internalformat, pname, bufSize, params) {
  12568. if (bufSize < 0) {
  12569. GL.recordError(1281);
  12570. return;
  12571. }
  12572. var samples = GLctx["getInternalformatParameter"](target, internalformat, 32937);
  12573. if (!samples) {
  12574. GL.recordError(1280);
  12575. return;
  12576. }
  12577. switch (pname) {
  12578. case 32937:
  12579. var n = Math.min(bufSize, samples.length);
  12580. for (var i = 0; i < n; i++) {
  12581. var v = samples[i];
  12582. HEAP32[params + i * 4 >> 2] = v;
  12583. }
  12584. break;
  12585. case 37760:
  12586. if (bufSize > 1) {
  12587. var v = samples.length;
  12588. HEAP32[params >> 2] = v;
  12589. }
  12590. break;
  12591. default:
  12592. GL.recordError(1280);
  12593. }
  12594. }
  12595. function _glGetProgramBinary(program, bufSize, length, binaryFormat, binary) {
  12596. GL.recordError(1282);
  12597. }
  12598. function _glGetProgramInfoLog(program, maxLength, length, infoLog) {
  12599. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12600. if (log === null) log = "(unknown error)";
  12601. if (maxLength > 0 && infoLog) {
  12602. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12603. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12604. } else {
  12605. if (length) HEAP32[length >> 2] = 0;
  12606. }
  12607. }
  12608. function _glGetProgramiv(program, pname, p) {
  12609. if (!p) {
  12610. GL.recordError(1281);
  12611. return;
  12612. }
  12613. if (program >= GL.counter) {
  12614. GL.recordError(1281);
  12615. return;
  12616. }
  12617. var ptable = GL.programInfos[program];
  12618. if (!ptable) {
  12619. GL.recordError(1282);
  12620. return;
  12621. }
  12622. if (pname == 35716) {
  12623. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12624. if (log === null) log = "(unknown error)";
  12625. HEAP32[p >> 2] = log.length + 1;
  12626. } else if (pname == 35719) {
  12627. HEAP32[p >> 2] = ptable.maxUniformLength;
  12628. } else if (pname == 35722) {
  12629. if (ptable.maxAttributeLength == -1) {
  12630. program = GL.programs[program];
  12631. var numAttribs = GLctx.getProgramParameter(program, GLctx.ACTIVE_ATTRIBUTES);
  12632. ptable.maxAttributeLength = 0;
  12633. for (var i = 0; i < numAttribs; ++i) {
  12634. var activeAttrib = GLctx.getActiveAttrib(program, i);
  12635. ptable.maxAttributeLength = Math.max(ptable.maxAttributeLength, activeAttrib.name.length + 1);
  12636. }
  12637. }
  12638. HEAP32[p >> 2] = ptable.maxAttributeLength;
  12639. } else if (pname == 35381) {
  12640. if (ptable.maxUniformBlockNameLength == -1) {
  12641. program = GL.programs[program];
  12642. var numBlocks = GLctx.getProgramParameter(program, GLctx.ACTIVE_UNIFORM_BLOCKS);
  12643. ptable.maxUniformBlockNameLength = 0;
  12644. for (var i = 0; i < numBlocks; ++i) {
  12645. var activeBlockName = GLctx.getActiveUniformBlockName(program, i);
  12646. ptable.maxUniformBlockNameLength = Math.max(ptable.maxUniformBlockNameLength, activeBlockName.length + 1);
  12647. }
  12648. }
  12649. HEAP32[p >> 2] = ptable.maxUniformBlockNameLength;
  12650. } else {
  12651. HEAP32[p >> 2] = GLctx.getProgramParameter(GL.programs[program], pname);
  12652. }
  12653. }
  12654. function _glGetQueryObjectuiv(id, pname, params) {
  12655. if (!params) {
  12656. GL.recordError(1281);
  12657. return;
  12658. }
  12659. var query = GL.queries[id];
  12660. var param = GLctx["getQueryParameter"](query, pname);
  12661. var ret;
  12662. if (typeof param == "boolean") {
  12663. ret = param ? 1 : 0;
  12664. } else {
  12665. ret = param;
  12666. }
  12667. HEAP32[params >> 2] = ret;
  12668. }
  12669. function _glGetQueryiv(target, pname, params) {
  12670. if (!params) {
  12671. GL.recordError(1281);
  12672. return;
  12673. }
  12674. HEAP32[params >> 2] = GLctx["getQuery"](target, pname);
  12675. }
  12676. function _glGetRenderbufferParameteriv(target, pname, params) {
  12677. if (!params) {
  12678. GL.recordError(1281);
  12679. return;
  12680. }
  12681. HEAP32[params >> 2] = GLctx.getRenderbufferParameter(target, pname);
  12682. }
  12683. function _glGetShaderInfoLog(shader, maxLength, length, infoLog) {
  12684. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12685. if (log === null) log = "(unknown error)";
  12686. if (maxLength > 0 && infoLog) {
  12687. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12688. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12689. } else {
  12690. if (length) HEAP32[length >> 2] = 0;
  12691. }
  12692. }
  12693. function _glGetShaderPrecisionFormat(shaderType, precisionType, range, precision) {
  12694. var result = GLctx.getShaderPrecisionFormat(shaderType, precisionType);
  12695. HEAP32[range >> 2] = result.rangeMin;
  12696. HEAP32[range + 4 >> 2] = result.rangeMax;
  12697. HEAP32[precision >> 2] = result.precision;
  12698. }
  12699. function _glGetShaderSource(shader, bufSize, length, source) {
  12700. var result = GLctx.getShaderSource(GL.shaders[shader]);
  12701. if (!result) return;
  12702. if (bufSize > 0 && source) {
  12703. var numBytesWrittenExclNull = stringToUTF8(result, source, bufSize);
  12704. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12705. } else {
  12706. if (length) HEAP32[length >> 2] = 0;
  12707. }
  12708. }
  12709. function _glGetShaderiv(shader, pname, p) {
  12710. if (!p) {
  12711. GL.recordError(1281);
  12712. return;
  12713. }
  12714. if (pname == 35716) {
  12715. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12716. if (log === null) log = "(unknown error)";
  12717. HEAP32[p >> 2] = log.length + 1;
  12718. } else if (pname == 35720) {
  12719. var source = GLctx.getShaderSource(GL.shaders[shader]);
  12720. var sourceLength = source === null || source.length == 0 ? 0 : source.length + 1;
  12721. HEAP32[p >> 2] = sourceLength;
  12722. } else {
  12723. HEAP32[p >> 2] = GLctx.getShaderParameter(GL.shaders[shader], pname);
  12724. }
  12725. }
  12726. function _glGetString(name_) {
  12727. if (GL.stringCache[name_]) return GL.stringCache[name_];
  12728. var ret;
  12729. switch (name_) {
  12730. case 7936:
  12731. case 7937:
  12732. case 37445:
  12733. case 37446:
  12734. ret = allocate(intArrayFromString(GLctx.getParameter(name_)), "i8", ALLOC_NORMAL);
  12735. break;
  12736. case 7938:
  12737. var glVersion = GLctx.getParameter(GLctx.VERSION);
  12738. if (GLctx.canvas.GLctxObject.version >= 2) glVersion = "OpenGL ES 3.0 (" + glVersion + ")"; else {
  12739. glVersion = "OpenGL ES 2.0 (" + glVersion + ")";
  12740. }
  12741. ret = allocate(intArrayFromString(glVersion), "i8", ALLOC_NORMAL);
  12742. break;
  12743. case 7939:
  12744. var exts = GLctx.getSupportedExtensions();
  12745. var gl_exts = [];
  12746. for (var i = 0; i < exts.length; ++i) {
  12747. gl_exts.push(exts[i]);
  12748. gl_exts.push("GL_" + exts[i]);
  12749. }
  12750. ret = allocate(intArrayFromString(gl_exts.join(" ")), "i8", ALLOC_NORMAL);
  12751. break;
  12752. case 35724:
  12753. var glslVersion = GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);
  12754. var ver_re = /^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;
  12755. var ver_num = glslVersion.match(ver_re);
  12756. if (ver_num !== null) {
  12757. if (ver_num[1].length == 3) ver_num[1] = ver_num[1] + "0";
  12758. glslVersion = "OpenGL ES GLSL ES " + ver_num[1] + " (" + glslVersion + ")";
  12759. }
  12760. ret = allocate(intArrayFromString(glslVersion), "i8", ALLOC_NORMAL);
  12761. break;
  12762. default:
  12763. GL.recordError(1280);
  12764. return 0;
  12765. }
  12766. GL.stringCache[name_] = ret;
  12767. return ret;
  12768. }
  12769. function _glGetStringi(name, index) {
  12770. if (GLctx.canvas.GLctxObject.version < 2) {
  12771. GL.recordError(1282);
  12772. return 0;
  12773. }
  12774. var stringiCache = GL.stringiCache[name];
  12775. if (stringiCache) {
  12776. if (index < 0 || index >= stringiCache.length) {
  12777. GL.recordError(1281);
  12778. return 0;
  12779. }
  12780. return stringiCache[index];
  12781. }
  12782. switch (name) {
  12783. case 7939:
  12784. var exts = GLctx.getSupportedExtensions();
  12785. var gl_exts = [];
  12786. for (var i = 0; i < exts.length; ++i) {
  12787. gl_exts.push(allocate(intArrayFromString(exts[i]), "i8", ALLOC_NORMAL));
  12788. gl_exts.push(allocate(intArrayFromString("GL_" + exts[i]), "i8", ALLOC_NORMAL));
  12789. }
  12790. stringiCache = GL.stringiCache[name] = gl_exts;
  12791. if (index < 0 || index >= stringiCache.length) {
  12792. GL.recordError(1281);
  12793. return 0;
  12794. }
  12795. return stringiCache[index];
  12796. default:
  12797. GL.recordError(1280);
  12798. return 0;
  12799. }
  12800. }
  12801. function _glGetTexParameteriv(target, pname, params) {
  12802. if (!params) {
  12803. GL.recordError(1281);
  12804. return;
  12805. }
  12806. HEAP32[params >> 2] = GLctx.getTexParameter(target, pname);
  12807. }
  12808. function _glGetUniformBlockIndex(program, uniformBlockName) {
  12809. program = GL.programs[program];
  12810. uniformBlockName = Pointer_stringify(uniformBlockName);
  12811. return GLctx["getUniformBlockIndex"](program, uniformBlockName);
  12812. }
  12813. function _glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices) {
  12814. if (!uniformIndices) {
  12815. GL.recordError(1281);
  12816. return;
  12817. }
  12818. if (uniformCount > 0 && (uniformNames == 0 || uniformIndices == 0)) {
  12819. GL.recordError(1281);
  12820. return;
  12821. }
  12822. program = GL.programs[program];
  12823. var names = [];
  12824. for (var i = 0; i < uniformCount; i++) names.push(Pointer_stringify(HEAP32[uniformNames + i * 4 >> 2]));
  12825. var result = GLctx["getUniformIndices"](program, names);
  12826. if (!result) return;
  12827. var len = result.length;
  12828. for (var i = 0; i < len; i++) {
  12829. HEAP32[uniformIndices + i * 4 >> 2] = result[i];
  12830. }
  12831. }
  12832. function _glGetUniformLocation(program, name) {
  12833. name = Pointer_stringify(name);
  12834. var arrayOffset = 0;
  12835. if (name.indexOf("]", name.length - 1) !== -1) {
  12836. var ls = name.lastIndexOf("[");
  12837. var arrayIndex = name.slice(ls + 1, -1);
  12838. if (arrayIndex.length > 0) {
  12839. arrayOffset = parseInt(arrayIndex);
  12840. if (arrayOffset < 0) {
  12841. return -1;
  12842. }
  12843. }
  12844. name = name.slice(0, ls);
  12845. }
  12846. var ptable = GL.programInfos[program];
  12847. if (!ptable) {
  12848. return -1;
  12849. }
  12850. var utable = ptable.uniforms;
  12851. var uniformInfo = utable[name];
  12852. if (uniformInfo && arrayOffset < uniformInfo[0]) {
  12853. return uniformInfo[1] + arrayOffset;
  12854. } else {
  12855. return -1;
  12856. }
  12857. }
  12858. function emscriptenWebGLGetUniform(program, location, params, type) {
  12859. if (!params) {
  12860. GL.recordError(1281);
  12861. return;
  12862. }
  12863. var data = GLctx.getUniform(GL.programs[program], GL.uniforms[location]);
  12864. if (typeof data == "number" || typeof data == "boolean") {
  12865. switch (type) {
  12866. case "Integer":
  12867. HEAP32[params >> 2] = data;
  12868. break;
  12869. case "Float":
  12870. HEAPF32[params >> 2] = data;
  12871. break;
  12872. default:
  12873. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12874. }
  12875. } else {
  12876. for (var i = 0; i < data.length; i++) {
  12877. switch (type) {
  12878. case "Integer":
  12879. HEAP32[params + i * 4 >> 2] = data[i];
  12880. break;
  12881. case "Float":
  12882. HEAPF32[params + i * 4 >> 2] = data[i];
  12883. break;
  12884. default:
  12885. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12886. }
  12887. }
  12888. }
  12889. }
  12890. function _glGetUniformiv(program, location, params) {
  12891. emscriptenWebGLGetUniform(program, location, params, "Integer");
  12892. }
  12893. function emscriptenWebGLGetVertexAttrib(index, pname, params, type) {
  12894. if (!params) {
  12895. GL.recordError(1281);
  12896. return;
  12897. }
  12898. var data = GLctx.getVertexAttrib(index, pname);
  12899. if (pname == 34975) {
  12900. HEAP32[params >> 2] = data["name"];
  12901. } else if (typeof data == "number" || typeof data == "boolean") {
  12902. switch (type) {
  12903. case "Integer":
  12904. HEAP32[params >> 2] = data;
  12905. break;
  12906. case "Float":
  12907. HEAPF32[params >> 2] = data;
  12908. break;
  12909. case "FloatToInteger":
  12910. HEAP32[params >> 2] = Math.fround(data);
  12911. break;
  12912. default:
  12913. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  12914. }
  12915. } else {
  12916. for (var i = 0; i < data.length; i++) {
  12917. switch (type) {
  12918. case "Integer":
  12919. HEAP32[params + i * 4 >> 2] = data[i];
  12920. break;
  12921. case "Float":
  12922. HEAPF32[params + i * 4 >> 2] = data[i];
  12923. break;
  12924. case "FloatToInteger":
  12925. HEAP32[params + i * 4 >> 2] = Math.fround(data[i]);
  12926. break;
  12927. default:
  12928. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  12929. }
  12930. }
  12931. }
  12932. }
  12933. function _glGetVertexAttribiv(index, pname, params) {
  12934. emscriptenWebGLGetVertexAttrib(index, pname, params, "FloatToInteger");
  12935. }
  12936. function _glInvalidateFramebuffer(target, numAttachments, attachments) {
  12937. var list = GL.tempFixedLengthArray[numAttachments];
  12938. for (var i = 0; i < numAttachments; i++) {
  12939. list[i] = HEAP32[attachments + i * 4 >> 2];
  12940. }
  12941. GLctx["invalidateFramebuffer"](target, list);
  12942. }
  12943. function _glIsEnabled(x0) {
  12944. return GLctx["isEnabled"](x0);
  12945. }
  12946. function _glIsVertexArray(array) {
  12947. var vao = GL.vaos[array];
  12948. if (!vao) return 0;
  12949. return GLctx["isVertexArray"](vao);
  12950. }
  12951. function _glLinkProgram(program) {
  12952. GLctx.linkProgram(GL.programs[program]);
  12953. GL.programInfos[program] = null;
  12954. GL.populateUniformTable(program);
  12955. }
  12956. function _glMapBufferRange(target, offset, length, access) {
  12957. if (access != 26 && access != 10) {
  12958. err("glMapBufferRange is only supported when access is MAP_WRITE|INVALIDATE_BUFFER");
  12959. return 0;
  12960. }
  12961. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  12962. GL.recordError(1280);
  12963. err("GL_INVALID_ENUM in glMapBufferRange");
  12964. return 0;
  12965. }
  12966. var mem = _malloc(length);
  12967. if (!mem) return 0;
  12968. GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)] = {
  12969. offset: offset,
  12970. length: length,
  12971. mem: mem,
  12972. access: access
  12973. };
  12974. return mem;
  12975. }
  12976. function _glPixelStorei(pname, param) {
  12977. if (pname == 3333) {
  12978. GL.packAlignment = param;
  12979. } else if (pname == 3317) {
  12980. GL.unpackAlignment = param;
  12981. }
  12982. GLctx.pixelStorei(pname, param);
  12983. }
  12984. function _glPolygonOffset(x0, x1) {
  12985. GLctx["polygonOffset"](x0, x1);
  12986. }
  12987. function _glProgramBinary(program, binaryFormat, binary, length) {
  12988. GL.recordError(1280);
  12989. }
  12990. function _glProgramParameteri(program, pname, value) {
  12991. GL.recordError(1280);
  12992. }
  12993. function _glReadBuffer(x0) {
  12994. GLctx["readBuffer"](x0);
  12995. }
  12996. function emscriptenWebGLComputeImageSize(width, height, sizePerPixel, alignment) {
  12997. function roundedToNextMultipleOf(x, y) {
  12998. return Math.floor((x + y - 1) / y) * y;
  12999. }
  13000. var plainRowSize = width * sizePerPixel;
  13001. var alignedRowSize = roundedToNextMultipleOf(plainRowSize, alignment);
  13002. return height <= 0 ? 0 : (height - 1) * alignedRowSize + plainRowSize;
  13003. }
  13004. function emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) {
  13005. var sizePerPixel;
  13006. var numChannels;
  13007. switch (format) {
  13008. case 6406:
  13009. case 6409:
  13010. case 6402:
  13011. case 6403:
  13012. case 36244:
  13013. numChannels = 1;
  13014. break;
  13015. case 6410:
  13016. case 33319:
  13017. case 33320:
  13018. numChannels = 2;
  13019. break;
  13020. case 6407:
  13021. case 35904:
  13022. case 36248:
  13023. numChannels = 3;
  13024. break;
  13025. case 6408:
  13026. case 35906:
  13027. case 36249:
  13028. numChannels = 4;
  13029. break;
  13030. default:
  13031. GL.recordError(1280);
  13032. return null;
  13033. }
  13034. switch (type) {
  13035. case 5121:
  13036. case 5120:
  13037. sizePerPixel = numChannels * 1;
  13038. break;
  13039. case 5123:
  13040. case 36193:
  13041. case 5131:
  13042. case 5122:
  13043. sizePerPixel = numChannels * 2;
  13044. break;
  13045. case 5125:
  13046. case 5126:
  13047. case 5124:
  13048. sizePerPixel = numChannels * 4;
  13049. break;
  13050. case 34042:
  13051. case 35902:
  13052. case 33640:
  13053. case 35899:
  13054. case 34042:
  13055. sizePerPixel = 4;
  13056. break;
  13057. case 33635:
  13058. case 32819:
  13059. case 32820:
  13060. sizePerPixel = 2;
  13061. break;
  13062. default:
  13063. GL.recordError(1280);
  13064. return null;
  13065. }
  13066. var bytes = emscriptenWebGLComputeImageSize(width, height, sizePerPixel, GL.unpackAlignment);
  13067. switch (type) {
  13068. case 5120:
  13069. return HEAP8.subarray(pixels, pixels + bytes);
  13070. case 5121:
  13071. return HEAPU8.subarray(pixels, pixels + bytes);
  13072. case 5122:
  13073. return HEAP16.subarray(pixels >> 1, pixels + bytes >> 1);
  13074. case 5124:
  13075. return HEAP32.subarray(pixels >> 2, pixels + bytes >> 2);
  13076. case 5126:
  13077. return HEAPF32.subarray(pixels >> 2, pixels + bytes >> 2);
  13078. case 5125:
  13079. case 34042:
  13080. case 35902:
  13081. case 33640:
  13082. case 35899:
  13083. case 34042:
  13084. return HEAPU32.subarray(pixels >> 2, pixels + bytes >> 2);
  13085. case 5123:
  13086. case 33635:
  13087. case 32819:
  13088. case 32820:
  13089. case 36193:
  13090. case 5131:
  13091. return HEAPU16.subarray(pixels >> 1, pixels + bytes >> 1);
  13092. default:
  13093. GL.recordError(1280);
  13094. return null;
  13095. }
  13096. }
  13097. function emscriptenWebGLGetHeapForType(type) {
  13098. switch (type) {
  13099. case 5120:
  13100. return HEAP8;
  13101. case 5121:
  13102. return HEAPU8;
  13103. case 5122:
  13104. return HEAP16;
  13105. case 5123:
  13106. case 33635:
  13107. case 32819:
  13108. case 32820:
  13109. case 36193:
  13110. case 5131:
  13111. return HEAPU16;
  13112. case 5124:
  13113. return HEAP32;
  13114. case 5125:
  13115. case 34042:
  13116. case 35902:
  13117. case 33640:
  13118. case 35899:
  13119. case 34042:
  13120. return HEAPU32;
  13121. case 5126:
  13122. return HEAPF32;
  13123. default:
  13124. return null;
  13125. }
  13126. }
  13127. function emscriptenWebGLGetShiftForType(type) {
  13128. switch (type) {
  13129. case 5120:
  13130. case 5121:
  13131. return 0;
  13132. case 5122:
  13133. case 5123:
  13134. case 33635:
  13135. case 32819:
  13136. case 32820:
  13137. case 36193:
  13138. case 5131:
  13139. return 1;
  13140. case 5124:
  13141. case 5126:
  13142. case 5125:
  13143. case 34042:
  13144. case 35902:
  13145. case 33640:
  13146. case 35899:
  13147. case 34042:
  13148. return 2;
  13149. default:
  13150. return 0;
  13151. }
  13152. }
  13153. function _glReadPixels(x, y, width, height, format, type, pixels) {
  13154. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13155. if (GLctx.currentPixelPackBufferBinding) {
  13156. GLctx.readPixels(x, y, width, height, format, type, pixels);
  13157. } else {
  13158. GLctx.readPixels(x, y, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13159. }
  13160. return;
  13161. }
  13162. var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, format);
  13163. if (!pixelData) {
  13164. GL.recordError(1280);
  13165. return;
  13166. }
  13167. GLctx.readPixels(x, y, width, height, format, type, pixelData);
  13168. }
  13169. function _glRenderbufferStorage(x0, x1, x2, x3) {
  13170. GLctx["renderbufferStorage"](x0, x1, x2, x3);
  13171. }
  13172. function _glRenderbufferStorageMultisample(x0, x1, x2, x3, x4) {
  13173. GLctx["renderbufferStorageMultisample"](x0, x1, x2, x3, x4);
  13174. }
  13175. function _glSamplerParameteri(sampler, pname, param) {
  13176. GLctx["samplerParameteri"](sampler ? GL.samplers[sampler] : null, pname, param);
  13177. }
  13178. function _glScissor(x0, x1, x2, x3) {
  13179. GLctx["scissor"](x0, x1, x2, x3);
  13180. }
  13181. function _glShaderSource(shader, count, string, length) {
  13182. var source = GL.getSource(shader, count, string, length);
  13183. GLctx.shaderSource(GL.shaders[shader], source);
  13184. }
  13185. function _glStencilFuncSeparate(x0, x1, x2, x3) {
  13186. GLctx["stencilFuncSeparate"](x0, x1, x2, x3);
  13187. }
  13188. function _glStencilMask(x0) {
  13189. GLctx["stencilMask"](x0);
  13190. }
  13191. function _glStencilOpSeparate(x0, x1, x2, x3) {
  13192. GLctx["stencilOpSeparate"](x0, x1, x2, x3);
  13193. }
  13194. function _glTexImage2D(target, level, internalFormat, width, height, border, format, type, pixels) {
  13195. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13196. if (GLctx.currentPixelUnpackBufferBinding) {
  13197. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels);
  13198. } else if (pixels != 0) {
  13199. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13200. } else {
  13201. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, null);
  13202. }
  13203. return;
  13204. }
  13205. var pixelData = null;
  13206. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat);
  13207. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixelData);
  13208. }
  13209. function _glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels) {
  13210. if (GLctx.currentPixelUnpackBufferBinding) {
  13211. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, pixels);
  13212. } else if (pixels != 0) {
  13213. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13214. } else {
  13215. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, null);
  13216. }
  13217. }
  13218. function _glTexParameterf(x0, x1, x2) {
  13219. GLctx["texParameterf"](x0, x1, x2);
  13220. }
  13221. function _glTexParameteri(x0, x1, x2) {
  13222. GLctx["texParameteri"](x0, x1, x2);
  13223. }
  13224. function _glTexParameteriv(target, pname, params) {
  13225. var param = HEAP32[params >> 2];
  13226. GLctx.texParameteri(target, pname, param);
  13227. }
  13228. function _glTexStorage2D(x0, x1, x2, x3, x4) {
  13229. GLctx["texStorage2D"](x0, x1, x2, x3, x4);
  13230. }
  13231. function _glTexStorage3D(x0, x1, x2, x3, x4, x5) {
  13232. GLctx["texStorage3D"](x0, x1, x2, x3, x4, x5);
  13233. }
  13234. function _glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) {
  13235. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13236. if (GLctx.currentPixelUnpackBufferBinding) {
  13237. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
  13238. } else if (pixels != 0) {
  13239. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13240. } else {
  13241. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, null);
  13242. }
  13243. return;
  13244. }
  13245. var pixelData = null;
  13246. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, 0);
  13247. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixelData);
  13248. }
  13249. function _glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) {
  13250. if (GLctx.currentPixelUnpackBufferBinding) {
  13251. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
  13252. } else if (pixels != 0) {
  13253. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13254. } else {
  13255. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, null);
  13256. }
  13257. }
  13258. function _glTransformFeedbackVaryings(program, count, varyings, bufferMode) {
  13259. program = GL.programs[program];
  13260. var vars = [];
  13261. for (var i = 0; i < count; i++) vars.push(Pointer_stringify(HEAP32[varyings + i * 4 >> 2]));
  13262. GLctx["transformFeedbackVaryings"](program, vars, bufferMode);
  13263. }
  13264. function _glUniform1fv(location, count, value) {
  13265. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13266. GLctx.uniform1fv(GL.uniforms[location], HEAPF32, value >> 2, count);
  13267. return;
  13268. }
  13269. var view;
  13270. if (count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13271. view = GL.miniTempBufferViews[count - 1];
  13272. for (var i = 0; i < count; ++i) {
  13273. view[i] = HEAPF32[value + 4 * i >> 2];
  13274. }
  13275. } else {
  13276. view = HEAPF32.subarray(value >> 2, value + count * 4 >> 2);
  13277. }
  13278. GLctx.uniform1fv(GL.uniforms[location], view);
  13279. }
  13280. function _glUniform1i(location, v0) {
  13281. GLctx.uniform1i(GL.uniforms[location], v0);
  13282. }
  13283. function _glUniform1iv(location, count, value) {
  13284. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13285. GLctx.uniform1iv(GL.uniforms[location], HEAP32, value >> 2, count);
  13286. return;
  13287. }
  13288. GLctx.uniform1iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 4 >> 2));
  13289. }
  13290. function _glUniform1uiv(location, count, value) {
  13291. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13292. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32, value >> 2, count);
  13293. } else {
  13294. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 4 >> 2));
  13295. }
  13296. }
  13297. function _glUniform2fv(location, count, value) {
  13298. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13299. GLctx.uniform2fv(GL.uniforms[location], HEAPF32, value >> 2, count * 2);
  13300. return;
  13301. }
  13302. var view;
  13303. if (2 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13304. view = GL.miniTempBufferViews[2 * count - 1];
  13305. for (var i = 0; i < 2 * count; i += 2) {
  13306. view[i] = HEAPF32[value + 4 * i >> 2];
  13307. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13308. }
  13309. } else {
  13310. view = HEAPF32.subarray(value >> 2, value + count * 8 >> 2);
  13311. }
  13312. GLctx.uniform2fv(GL.uniforms[location], view);
  13313. }
  13314. function _glUniform2iv(location, count, value) {
  13315. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13316. GLctx.uniform2iv(GL.uniforms[location], HEAP32, value >> 2, count * 2);
  13317. return;
  13318. }
  13319. GLctx.uniform2iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 8 >> 2));
  13320. }
  13321. function _glUniform2uiv(location, count, value) {
  13322. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13323. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 2);
  13324. } else {
  13325. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 8 >> 2));
  13326. }
  13327. }
  13328. function _glUniform3fv(location, count, value) {
  13329. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13330. GLctx.uniform3fv(GL.uniforms[location], HEAPF32, value >> 2, count * 3);
  13331. return;
  13332. }
  13333. var view;
  13334. if (3 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13335. view = GL.miniTempBufferViews[3 * count - 1];
  13336. for (var i = 0; i < 3 * count; i += 3) {
  13337. view[i] = HEAPF32[value + 4 * i >> 2];
  13338. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13339. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13340. }
  13341. } else {
  13342. view = HEAPF32.subarray(value >> 2, value + count * 12 >> 2);
  13343. }
  13344. GLctx.uniform3fv(GL.uniforms[location], view);
  13345. }
  13346. function _glUniform3iv(location, count, value) {
  13347. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13348. GLctx.uniform3iv(GL.uniforms[location], HEAP32, value >> 2, count * 3);
  13349. return;
  13350. }
  13351. GLctx.uniform3iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 12 >> 2));
  13352. }
  13353. function _glUniform3uiv(location, count, value) {
  13354. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13355. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 3);
  13356. } else {
  13357. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 12 >> 2));
  13358. }
  13359. }
  13360. function _glUniform4fv(location, count, value) {
  13361. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13362. GLctx.uniform4fv(GL.uniforms[location], HEAPF32, value >> 2, count * 4);
  13363. return;
  13364. }
  13365. var view;
  13366. if (4 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13367. view = GL.miniTempBufferViews[4 * count - 1];
  13368. for (var i = 0; i < 4 * count; i += 4) {
  13369. view[i] = HEAPF32[value + 4 * i >> 2];
  13370. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13371. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13372. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13373. }
  13374. } else {
  13375. view = HEAPF32.subarray(value >> 2, value + count * 16 >> 2);
  13376. }
  13377. GLctx.uniform4fv(GL.uniforms[location], view);
  13378. }
  13379. function _glUniform4iv(location, count, value) {
  13380. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13381. GLctx.uniform4iv(GL.uniforms[location], HEAP32, value >> 2, count * 4);
  13382. return;
  13383. }
  13384. GLctx.uniform4iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 16 >> 2));
  13385. }
  13386. function _glUniform4uiv(location, count, value) {
  13387. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13388. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 4);
  13389. } else {
  13390. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 16 >> 2));
  13391. }
  13392. }
  13393. function _glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) {
  13394. program = GL.programs[program];
  13395. GLctx["uniformBlockBinding"](program, uniformBlockIndex, uniformBlockBinding);
  13396. }
  13397. function _glUniformMatrix3fv(location, count, transpose, value) {
  13398. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13399. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 9);
  13400. return;
  13401. }
  13402. var view;
  13403. if (9 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13404. view = GL.miniTempBufferViews[9 * count - 1];
  13405. for (var i = 0; i < 9 * count; i += 9) {
  13406. view[i] = HEAPF32[value + 4 * i >> 2];
  13407. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13408. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13409. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13410. view[i + 4] = HEAPF32[value + (4 * i + 16) >> 2];
  13411. view[i + 5] = HEAPF32[value + (4 * i + 20) >> 2];
  13412. view[i + 6] = HEAPF32[value + (4 * i + 24) >> 2];
  13413. view[i + 7] = HEAPF32[value + (4 * i + 28) >> 2];
  13414. view[i + 8] = HEAPF32[value + (4 * i + 32) >> 2];
  13415. }
  13416. } else {
  13417. view = HEAPF32.subarray(value >> 2, value + count * 36 >> 2);
  13418. }
  13419. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, view);
  13420. }
  13421. function _glUniformMatrix4fv(location, count, transpose, value) {
  13422. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13423. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 16);
  13424. return;
  13425. }
  13426. var view;
  13427. if (16 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13428. view = GL.miniTempBufferViews[16 * count - 1];
  13429. for (var i = 0; i < 16 * count; i += 16) {
  13430. view[i] = HEAPF32[value + 4 * i >> 2];
  13431. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13432. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13433. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13434. view[i + 4] = HEAPF32[value + (4 * i + 16) >> 2];
  13435. view[i + 5] = HEAPF32[value + (4 * i + 20) >> 2];
  13436. view[i + 6] = HEAPF32[value + (4 * i + 24) >> 2];
  13437. view[i + 7] = HEAPF32[value + (4 * i + 28) >> 2];
  13438. view[i + 8] = HEAPF32[value + (4 * i + 32) >> 2];
  13439. view[i + 9] = HEAPF32[value + (4 * i + 36) >> 2];
  13440. view[i + 10] = HEAPF32[value + (4 * i + 40) >> 2];
  13441. view[i + 11] = HEAPF32[value + (4 * i + 44) >> 2];
  13442. view[i + 12] = HEAPF32[value + (4 * i + 48) >> 2];
  13443. view[i + 13] = HEAPF32[value + (4 * i + 52) >> 2];
  13444. view[i + 14] = HEAPF32[value + (4 * i + 56) >> 2];
  13445. view[i + 15] = HEAPF32[value + (4 * i + 60) >> 2];
  13446. }
  13447. } else {
  13448. view = HEAPF32.subarray(value >> 2, value + count * 64 >> 2);
  13449. }
  13450. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, view);
  13451. }
  13452. function _glUnmapBuffer(target) {
  13453. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  13454. GL.recordError(1280);
  13455. err("GL_INVALID_ENUM in glUnmapBuffer");
  13456. return 0;
  13457. }
  13458. var buffer = emscriptenWebGLGetBufferBinding(target);
  13459. var mapping = GL.mappedBuffers[buffer];
  13460. if (!mapping) {
  13461. GL.recordError(1282);
  13462. Module.printError("buffer was never mapped in glUnmapBuffer");
  13463. return 0;
  13464. }
  13465. GL.mappedBuffers[buffer] = null;
  13466. if (!(mapping.access & 16)) if (GL.currentContext.supportsWebGL2EntryPoints) {
  13467. GLctx.bufferSubData(target, mapping.offset, HEAPU8, mapping.mem, mapping.length);
  13468. } else {
  13469. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem, mapping.mem + mapping.length));
  13470. }
  13471. _free(mapping.mem);
  13472. return 1;
  13473. }
  13474. function _glUseProgram(program) {
  13475. GLctx.useProgram(program ? GL.programs[program] : null);
  13476. }
  13477. function _glValidateProgram(program) {
  13478. GLctx.validateProgram(GL.programs[program]);
  13479. }
  13480. function _glVertexAttrib4f(x0, x1, x2, x3, x4) {
  13481. GLctx["vertexAttrib4f"](x0, x1, x2, x3, x4);
  13482. }
  13483. function _glVertexAttrib4fv(index, v) {
  13484. GLctx.vertexAttrib4f(index, HEAPF32[v >> 2], HEAPF32[v + 4 >> 2], HEAPF32[v + 8 >> 2], HEAPF32[v + 12 >> 2]);
  13485. }
  13486. function _glVertexAttribIPointer(index, size, type, stride, ptr) {
  13487. var cb = GL.currentContext.clientBuffers[index];
  13488. assert(cb, index);
  13489. if (!GL.currArrayBuffer) {
  13490. cb.size = size;
  13491. cb.type = type;
  13492. cb.normalized = false;
  13493. cb.stride = stride;
  13494. cb.ptr = ptr;
  13495. cb.clientside = true;
  13496. return;
  13497. }
  13498. cb.clientside = false;
  13499. GLctx.vertexAttribIPointer(index, size, type, stride, ptr);
  13500. }
  13501. function _glVertexAttribPointer(index, size, type, normalized, stride, ptr) {
  13502. GLctx.vertexAttribPointer(index, size, type, !!normalized, stride, ptr);
  13503. }
  13504. function _glViewport(x0, x1, x2, x3) {
  13505. GLctx["viewport"](x0, x1, x2, x3);
  13506. }
  13507. var ___tm_current = STATICTOP;
  13508. STATICTOP += 48;
  13509. var ___tm_timezone = allocate(intArrayFromString("GMT"), "i8", ALLOC_STATIC);
  13510. function _gmtime_r(time, tmPtr) {
  13511. var date = new Date(HEAP32[time >> 2] * 1e3);
  13512. HEAP32[tmPtr >> 2] = date.getUTCSeconds();
  13513. HEAP32[tmPtr + 4 >> 2] = date.getUTCMinutes();
  13514. HEAP32[tmPtr + 8 >> 2] = date.getUTCHours();
  13515. HEAP32[tmPtr + 12 >> 2] = date.getUTCDate();
  13516. HEAP32[tmPtr + 16 >> 2] = date.getUTCMonth();
  13517. HEAP32[tmPtr + 20 >> 2] = date.getUTCFullYear() - 1900;
  13518. HEAP32[tmPtr + 24 >> 2] = date.getUTCDay();
  13519. HEAP32[tmPtr + 36 >> 2] = 0;
  13520. HEAP32[tmPtr + 32 >> 2] = 0;
  13521. var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0);
  13522. var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0;
  13523. HEAP32[tmPtr + 28 >> 2] = yday;
  13524. HEAP32[tmPtr + 40 >> 2] = ___tm_timezone;
  13525. return tmPtr;
  13526. }
  13527. function _gmtime(time) {
  13528. return _gmtime_r(time, ___tm_current);
  13529. }
  13530. function _inet_addr(ptr) {
  13531. var addr = __inet_pton4_raw(Pointer_stringify(ptr));
  13532. if (addr === null) {
  13533. return -1;
  13534. }
  13535. return addr;
  13536. }
  13537. var _llvm_ceil_f32 = Math_ceil;
  13538. var _llvm_ceil_f64 = Math_ceil;
  13539. function _llvm_copysign_f64(x, y) {
  13540. return y < 0 || y === 0 && 1 / y < 0 ? -Math_abs(x) : Math_abs(x);
  13541. }
  13542. function _llvm_cttz_i32(x) {
  13543. x = x | 0;
  13544. return (x ? 31 - (Math_clz32(x ^ x - 1) | 0) | 0 : 32) | 0;
  13545. }
  13546. function _llvm_eh_typeid_for(type) {
  13547. return type;
  13548. }
  13549. function _llvm_exp2_f32(x) {
  13550. return Math.pow(2, x);
  13551. }
  13552. var _llvm_fabs_f32 = Math_abs;
  13553. var _llvm_fabs_f64 = Math_abs;
  13554. var _llvm_floor_f32 = Math_floor;
  13555. var _llvm_floor_f64 = Math_floor;
  13556. function _llvm_log10_f32(x) {
  13557. return Math.log(x) / Math.LN10;
  13558. }
  13559. function _llvm_log2_f32(x) {
  13560. return Math.log(x) / Math.LN2;
  13561. }
  13562. var _llvm_pow_f64 = Math_pow;
  13563. var _llvm_sqrt_f32 = Math_sqrt;
  13564. function _llvm_trap() {
  13565. abort("trap!");
  13566. }
  13567. var _llvm_trunc_f32 = Math_trunc;
  13568. function _tzset() {
  13569. if (_tzset.called) return;
  13570. _tzset.called = true;
  13571. HEAP32[__get_timezone() >> 2] = (new Date).getTimezoneOffset() * 60;
  13572. var currentYear = (new Date).getFullYear();
  13573. var winter = new Date(currentYear, 0, 1);
  13574. var summer = new Date(currentYear, 6, 1);
  13575. HEAP32[__get_daylight() >> 2] = Number(winter.getTimezoneOffset() != summer.getTimezoneOffset());
  13576. function extractZone(date) {
  13577. var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
  13578. return match ? match[1] : "GMT";
  13579. }
  13580. var winterName = extractZone(winter);
  13581. var summerName = extractZone(summer);
  13582. var winterNamePtr = allocate(intArrayFromString(winterName), "i8", ALLOC_NORMAL);
  13583. var summerNamePtr = allocate(intArrayFromString(summerName), "i8", ALLOC_NORMAL);
  13584. if (summer.getTimezoneOffset() < winter.getTimezoneOffset()) {
  13585. HEAP32[__get_tzname() >> 2] = winterNamePtr;
  13586. HEAP32[__get_tzname() + 4 >> 2] = summerNamePtr;
  13587. } else {
  13588. HEAP32[__get_tzname() >> 2] = summerNamePtr;
  13589. HEAP32[__get_tzname() + 4 >> 2] = winterNamePtr;
  13590. }
  13591. }
  13592. function _localtime_r(time, tmPtr) {
  13593. _tzset();
  13594. var date = new Date(HEAP32[time >> 2] * 1e3);
  13595. HEAP32[tmPtr >> 2] = date.getSeconds();
  13596. HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
  13597. HEAP32[tmPtr + 8 >> 2] = date.getHours();
  13598. HEAP32[tmPtr + 12 >> 2] = date.getDate();
  13599. HEAP32[tmPtr + 16 >> 2] = date.getMonth();
  13600. HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
  13601. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13602. var start = new Date(date.getFullYear(), 0, 1);
  13603. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13604. HEAP32[tmPtr + 28 >> 2] = yday;
  13605. HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
  13606. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13607. var winterOffset = start.getTimezoneOffset();
  13608. var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
  13609. HEAP32[tmPtr + 32 >> 2] = dst;
  13610. var zonePtr = HEAP32[__get_tzname() + (dst ? 4 : 0) >> 2];
  13611. HEAP32[tmPtr + 40 >> 2] = zonePtr;
  13612. return tmPtr;
  13613. }
  13614. function _localtime(time) {
  13615. return _localtime_r(time, ___tm_current);
  13616. }
  13617. function _emscripten_memcpy_big(dest, src, num) {
  13618. HEAPU8.set(HEAPU8.subarray(src, src + num), dest);
  13619. return dest;
  13620. }
  13621. function _mktime(tmPtr) {
  13622. _tzset();
  13623. var date = new Date(HEAP32[tmPtr + 20 >> 2] + 1900, HEAP32[tmPtr + 16 >> 2], HEAP32[tmPtr + 12 >> 2], HEAP32[tmPtr + 8 >> 2], HEAP32[tmPtr + 4 >> 2], HEAP32[tmPtr >> 2], 0);
  13624. var dst = HEAP32[tmPtr + 32 >> 2];
  13625. var guessedOffset = date.getTimezoneOffset();
  13626. var start = new Date(date.getFullYear(), 0, 1);
  13627. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13628. var winterOffset = start.getTimezoneOffset();
  13629. var dstOffset = Math.min(winterOffset, summerOffset);
  13630. if (dst < 0) {
  13631. HEAP32[tmPtr + 32 >> 2] = Number(summerOffset != winterOffset && dstOffset == guessedOffset);
  13632. } else if (dst > 0 != (dstOffset == guessedOffset)) {
  13633. var nonDstOffset = Math.max(winterOffset, summerOffset);
  13634. var trueOffset = dst > 0 ? dstOffset : nonDstOffset;
  13635. date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
  13636. }
  13637. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13638. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13639. HEAP32[tmPtr + 28 >> 2] = yday;
  13640. return date.getTime() / 1e3 | 0;
  13641. }
  13642. function _usleep(useconds) {
  13643. var msec = useconds / 1e3;
  13644. if ((ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  13645. var start = self["performance"]["now"]();
  13646. while (self["performance"]["now"]() - start < msec) {}
  13647. } else {
  13648. var start = Date.now();
  13649. while (Date.now() - start < msec) {}
  13650. }
  13651. return 0;
  13652. }
  13653. function _nanosleep(rqtp, rmtp) {
  13654. var seconds = HEAP32[rqtp >> 2];
  13655. var nanoseconds = HEAP32[rqtp + 4 >> 2];
  13656. if (rmtp !== 0) {
  13657. HEAP32[rmtp >> 2] = 0;
  13658. HEAP32[rmtp + 4 >> 2] = 0;
  13659. }
  13660. return _usleep(seconds * 1e6 + nanoseconds / 1e3);
  13661. }
  13662. function _pthread_cond_destroy() {
  13663. return 0;
  13664. }
  13665. function _pthread_cond_init() {
  13666. return 0;
  13667. }
  13668. function _pthread_cond_timedwait() {
  13669. return 0;
  13670. }
  13671. function _pthread_cond_wait() {
  13672. return 0;
  13673. }
  13674. var PTHREAD_SPECIFIC = {};
  13675. function _pthread_getspecific(key) {
  13676. return PTHREAD_SPECIFIC[key] || 0;
  13677. }
  13678. var PTHREAD_SPECIFIC_NEXT_KEY = 1;
  13679. function _pthread_key_create(key, destructor) {
  13680. if (key == 0) {
  13681. return ERRNO_CODES.EINVAL;
  13682. }
  13683. HEAP32[key >> 2] = PTHREAD_SPECIFIC_NEXT_KEY;
  13684. PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY] = 0;
  13685. PTHREAD_SPECIFIC_NEXT_KEY++;
  13686. return 0;
  13687. }
  13688. function _pthread_key_delete(key) {
  13689. if (key in PTHREAD_SPECIFIC) {
  13690. delete PTHREAD_SPECIFIC[key];
  13691. return 0;
  13692. }
  13693. return ERRNO_CODES.EINVAL;
  13694. }
  13695. function _pthread_mutex_destroy() {}
  13696. function _pthread_mutex_init() {}
  13697. function _pthread_mutexattr_destroy() {}
  13698. function _pthread_mutexattr_init() {}
  13699. function _pthread_mutexattr_setprotocol() {}
  13700. function _pthread_mutexattr_settype() {}
  13701. function _pthread_once(ptr, func) {
  13702. if (!_pthread_once.seen) _pthread_once.seen = {};
  13703. if (ptr in _pthread_once.seen) return;
  13704. Module["dynCall_v"](func);
  13705. _pthread_once.seen[ptr] = 1;
  13706. }
  13707. function _pthread_setspecific(key, value) {
  13708. if (!(key in PTHREAD_SPECIFIC)) {
  13709. return ERRNO_CODES.EINVAL;
  13710. }
  13711. PTHREAD_SPECIFIC[key] = value;
  13712. return 0;
  13713. }
  13714. function _sched_yield() {
  13715. return 0;
  13716. }
  13717. function _setenv(envname, envval, overwrite) {
  13718. if (envname === 0) {
  13719. ___setErrNo(ERRNO_CODES.EINVAL);
  13720. return -1;
  13721. }
  13722. var name = Pointer_stringify(envname);
  13723. var val = Pointer_stringify(envval);
  13724. if (name === "" || name.indexOf("=") !== -1) {
  13725. ___setErrNo(ERRNO_CODES.EINVAL);
  13726. return -1;
  13727. }
  13728. if (ENV.hasOwnProperty(name) && !overwrite) return 0;
  13729. ENV[name] = val;
  13730. ___buildEnvironment(__get_environ());
  13731. return 0;
  13732. }
  13733. function _sigaction(signum, act, oldact) {
  13734. err("Calling stub instead of sigaction()");
  13735. return 0;
  13736. }
  13737. function _sigemptyset(set) {
  13738. HEAP32[set >> 2] = 0;
  13739. return 0;
  13740. }
  13741. function __isLeapYear(year) {
  13742. return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
  13743. }
  13744. function __arraySum(array, index) {
  13745. var sum = 0;
  13746. for (var i = 0; i <= index; sum += array[i++]) ;
  13747. return sum;
  13748. }
  13749. var __MONTH_DAYS_LEAP = [ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13750. var __MONTH_DAYS_REGULAR = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13751. function __addDays(date, days) {
  13752. var newDate = new Date(date.getTime());
  13753. while (days > 0) {
  13754. var leap = __isLeapYear(newDate.getFullYear());
  13755. var currentMonth = newDate.getMonth();
  13756. var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth];
  13757. if (days > daysInCurrentMonth - newDate.getDate()) {
  13758. days -= daysInCurrentMonth - newDate.getDate() + 1;
  13759. newDate.setDate(1);
  13760. if (currentMonth < 11) {
  13761. newDate.setMonth(currentMonth + 1);
  13762. } else {
  13763. newDate.setMonth(0);
  13764. newDate.setFullYear(newDate.getFullYear() + 1);
  13765. }
  13766. } else {
  13767. newDate.setDate(newDate.getDate() + days);
  13768. return newDate;
  13769. }
  13770. }
  13771. return newDate;
  13772. }
  13773. function _strftime(s, maxsize, format, tm) {
  13774. var tm_zone = HEAP32[tm + 40 >> 2];
  13775. var date = {
  13776. tm_sec: HEAP32[tm >> 2],
  13777. tm_min: HEAP32[tm + 4 >> 2],
  13778. tm_hour: HEAP32[tm + 8 >> 2],
  13779. tm_mday: HEAP32[tm + 12 >> 2],
  13780. tm_mon: HEAP32[tm + 16 >> 2],
  13781. tm_year: HEAP32[tm + 20 >> 2],
  13782. tm_wday: HEAP32[tm + 24 >> 2],
  13783. tm_yday: HEAP32[tm + 28 >> 2],
  13784. tm_isdst: HEAP32[tm + 32 >> 2],
  13785. tm_gmtoff: HEAP32[tm + 36 >> 2],
  13786. tm_zone: tm_zone ? Pointer_stringify(tm_zone) : ""
  13787. };
  13788. var pattern = Pointer_stringify(format);
  13789. var EXPANSION_RULES_1 = {
  13790. "%c": "%a %b %d %H:%M:%S %Y",
  13791. "%D": "%m/%d/%y",
  13792. "%F": "%Y-%m-%d",
  13793. "%h": "%b",
  13794. "%r": "%I:%M:%S %p",
  13795. "%R": "%H:%M",
  13796. "%T": "%H:%M:%S",
  13797. "%x": "%m/%d/%y",
  13798. "%X": "%H:%M:%S"
  13799. };
  13800. for (var rule in EXPANSION_RULES_1) {
  13801. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]);
  13802. }
  13803. var WEEKDAYS = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ];
  13804. var MONTHS = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
  13805. function leadingSomething(value, digits, character) {
  13806. var str = typeof value === "number" ? value.toString() : value || "";
  13807. while (str.length < digits) {
  13808. str = character[0] + str;
  13809. }
  13810. return str;
  13811. }
  13812. function leadingNulls(value, digits) {
  13813. return leadingSomething(value, digits, "0");
  13814. }
  13815. function compareByDay(date1, date2) {
  13816. function sgn(value) {
  13817. return value < 0 ? -1 : value > 0 ? 1 : 0;
  13818. }
  13819. var compare;
  13820. if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) {
  13821. if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) {
  13822. compare = sgn(date1.getDate() - date2.getDate());
  13823. }
  13824. }
  13825. return compare;
  13826. }
  13827. function getFirstWeekStartDate(janFourth) {
  13828. switch (janFourth.getDay()) {
  13829. case 0:
  13830. return new Date(janFourth.getFullYear() - 1, 11, 29);
  13831. case 1:
  13832. return janFourth;
  13833. case 2:
  13834. return new Date(janFourth.getFullYear(), 0, 3);
  13835. case 3:
  13836. return new Date(janFourth.getFullYear(), 0, 2);
  13837. case 4:
  13838. return new Date(janFourth.getFullYear(), 0, 1);
  13839. case 5:
  13840. return new Date(janFourth.getFullYear() - 1, 11, 31);
  13841. case 6:
  13842. return new Date(janFourth.getFullYear() - 1, 11, 30);
  13843. }
  13844. }
  13845. function getWeekBasedYear(date) {
  13846. var thisDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  13847. var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4);
  13848. var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4);
  13849. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  13850. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  13851. if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) {
  13852. if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) {
  13853. return thisDate.getFullYear() + 1;
  13854. } else {
  13855. return thisDate.getFullYear();
  13856. }
  13857. } else {
  13858. return thisDate.getFullYear() - 1;
  13859. }
  13860. }
  13861. var EXPANSION_RULES_2 = {
  13862. "%a": (function(date) {
  13863. return WEEKDAYS[date.tm_wday].substring(0, 3);
  13864. }),
  13865. "%A": (function(date) {
  13866. return WEEKDAYS[date.tm_wday];
  13867. }),
  13868. "%b": (function(date) {
  13869. return MONTHS[date.tm_mon].substring(0, 3);
  13870. }),
  13871. "%B": (function(date) {
  13872. return MONTHS[date.tm_mon];
  13873. }),
  13874. "%C": (function(date) {
  13875. var year = date.tm_year + 1900;
  13876. return leadingNulls(year / 100 | 0, 2);
  13877. }),
  13878. "%d": (function(date) {
  13879. return leadingNulls(date.tm_mday, 2);
  13880. }),
  13881. "%e": (function(date) {
  13882. return leadingSomething(date.tm_mday, 2, " ");
  13883. }),
  13884. "%g": (function(date) {
  13885. return getWeekBasedYear(date).toString().substring(2);
  13886. }),
  13887. "%G": (function(date) {
  13888. return getWeekBasedYear(date);
  13889. }),
  13890. "%H": (function(date) {
  13891. return leadingNulls(date.tm_hour, 2);
  13892. }),
  13893. "%I": (function(date) {
  13894. var twelveHour = date.tm_hour;
  13895. if (twelveHour == 0) twelveHour = 12; else if (twelveHour > 12) twelveHour -= 12;
  13896. return leadingNulls(twelveHour, 2);
  13897. }),
  13898. "%j": (function(date) {
  13899. return leadingNulls(date.tm_mday + __arraySum(__isLeapYear(date.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date.tm_mon - 1), 3);
  13900. }),
  13901. "%m": (function(date) {
  13902. return leadingNulls(date.tm_mon + 1, 2);
  13903. }),
  13904. "%M": (function(date) {
  13905. return leadingNulls(date.tm_min, 2);
  13906. }),
  13907. "%n": (function() {
  13908. return "\n";
  13909. }),
  13910. "%p": (function(date) {
  13911. if (date.tm_hour >= 0 && date.tm_hour < 12) {
  13912. return "AM";
  13913. } else {
  13914. return "PM";
  13915. }
  13916. }),
  13917. "%S": (function(date) {
  13918. return leadingNulls(date.tm_sec, 2);
  13919. }),
  13920. "%t": (function() {
  13921. return "\t";
  13922. }),
  13923. "%u": (function(date) {
  13924. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  13925. return day.getDay() || 7;
  13926. }),
  13927. "%U": (function(date) {
  13928. var janFirst = new Date(date.tm_year + 1900, 0, 1);
  13929. var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay());
  13930. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  13931. if (compareByDay(firstSunday, endDate) < 0) {
  13932. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  13933. var firstSundayUntilEndJanuary = 31 - firstSunday.getDate();
  13934. var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  13935. return leadingNulls(Math.ceil(days / 7), 2);
  13936. }
  13937. return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00";
  13938. }),
  13939. "%V": (function(date) {
  13940. var janFourthThisYear = new Date(date.tm_year + 1900, 0, 4);
  13941. var janFourthNextYear = new Date(date.tm_year + 1901, 0, 4);
  13942. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  13943. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  13944. var endDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  13945. if (compareByDay(endDate, firstWeekStartThisYear) < 0) {
  13946. return "53";
  13947. }
  13948. if (compareByDay(firstWeekStartNextYear, endDate) <= 0) {
  13949. return "01";
  13950. }
  13951. var daysDifference;
  13952. if (firstWeekStartThisYear.getFullYear() < date.tm_year + 1900) {
  13953. daysDifference = date.tm_yday + 32 - firstWeekStartThisYear.getDate();
  13954. } else {
  13955. daysDifference = date.tm_yday + 1 - firstWeekStartThisYear.getDate();
  13956. }
  13957. return leadingNulls(Math.ceil(daysDifference / 7), 2);
  13958. }),
  13959. "%w": (function(date) {
  13960. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  13961. return day.getDay();
  13962. }),
  13963. "%W": (function(date) {
  13964. var janFirst = new Date(date.tm_year, 0, 1);
  13965. var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1);
  13966. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  13967. if (compareByDay(firstMonday, endDate) < 0) {
  13968. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  13969. var firstMondayUntilEndJanuary = 31 - firstMonday.getDate();
  13970. var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  13971. return leadingNulls(Math.ceil(days / 7), 2);
  13972. }
  13973. return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00";
  13974. }),
  13975. "%y": (function(date) {
  13976. return (date.tm_year + 1900).toString().substring(2);
  13977. }),
  13978. "%Y": (function(date) {
  13979. return date.tm_year + 1900;
  13980. }),
  13981. "%z": (function(date) {
  13982. var off = date.tm_gmtoff;
  13983. var ahead = off >= 0;
  13984. off = Math.abs(off) / 60;
  13985. off = off / 60 * 100 + off % 60;
  13986. return (ahead ? "+" : "-") + String("0000" + off).slice(-4);
  13987. }),
  13988. "%Z": (function(date) {
  13989. return date.tm_zone;
  13990. }),
  13991. "%%": (function() {
  13992. return "%";
  13993. })
  13994. };
  13995. for (var rule in EXPANSION_RULES_2) {
  13996. if (pattern.indexOf(rule) >= 0) {
  13997. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date));
  13998. }
  13999. }
  14000. var bytes = intArrayFromString(pattern, false);
  14001. if (bytes.length > maxsize) {
  14002. return 0;
  14003. }
  14004. writeArrayToMemory(bytes, s);
  14005. return bytes.length - 1;
  14006. }
  14007. function _sysconf(name) {
  14008. switch (name) {
  14009. case 30:
  14010. return PAGE_SIZE;
  14011. case 85:
  14012. var maxHeapSize = 2 * 1024 * 1024 * 1024 - 65536;
  14013. return maxHeapSize / PAGE_SIZE;
  14014. case 132:
  14015. case 133:
  14016. case 12:
  14017. case 137:
  14018. case 138:
  14019. case 15:
  14020. case 235:
  14021. case 16:
  14022. case 17:
  14023. case 18:
  14024. case 19:
  14025. case 20:
  14026. case 149:
  14027. case 13:
  14028. case 10:
  14029. case 236:
  14030. case 153:
  14031. case 9:
  14032. case 21:
  14033. case 22:
  14034. case 159:
  14035. case 154:
  14036. case 14:
  14037. case 77:
  14038. case 78:
  14039. case 139:
  14040. case 80:
  14041. case 81:
  14042. case 82:
  14043. case 68:
  14044. case 67:
  14045. case 164:
  14046. case 11:
  14047. case 29:
  14048. case 47:
  14049. case 48:
  14050. case 95:
  14051. case 52:
  14052. case 51:
  14053. case 46:
  14054. return 200809;
  14055. case 79:
  14056. return 0;
  14057. case 27:
  14058. case 246:
  14059. case 127:
  14060. case 128:
  14061. case 23:
  14062. case 24:
  14063. case 160:
  14064. case 161:
  14065. case 181:
  14066. case 182:
  14067. case 242:
  14068. case 183:
  14069. case 184:
  14070. case 243:
  14071. case 244:
  14072. case 245:
  14073. case 165:
  14074. case 178:
  14075. case 179:
  14076. case 49:
  14077. case 50:
  14078. case 168:
  14079. case 169:
  14080. case 175:
  14081. case 170:
  14082. case 171:
  14083. case 172:
  14084. case 97:
  14085. case 76:
  14086. case 32:
  14087. case 173:
  14088. case 35:
  14089. return -1;
  14090. case 176:
  14091. case 177:
  14092. case 7:
  14093. case 155:
  14094. case 8:
  14095. case 157:
  14096. case 125:
  14097. case 126:
  14098. case 92:
  14099. case 93:
  14100. case 129:
  14101. case 130:
  14102. case 131:
  14103. case 94:
  14104. case 91:
  14105. return 1;
  14106. case 74:
  14107. case 60:
  14108. case 69:
  14109. case 70:
  14110. case 4:
  14111. return 1024;
  14112. case 31:
  14113. case 42:
  14114. case 72:
  14115. return 32;
  14116. case 87:
  14117. case 26:
  14118. case 33:
  14119. return 2147483647;
  14120. case 34:
  14121. case 1:
  14122. return 47839;
  14123. case 38:
  14124. case 36:
  14125. return 99;
  14126. case 43:
  14127. case 37:
  14128. return 2048;
  14129. case 0:
  14130. return 2097152;
  14131. case 3:
  14132. return 65536;
  14133. case 28:
  14134. return 32768;
  14135. case 44:
  14136. return 32767;
  14137. case 75:
  14138. return 16384;
  14139. case 39:
  14140. return 1e3;
  14141. case 89:
  14142. return 700;
  14143. case 71:
  14144. return 256;
  14145. case 40:
  14146. return 255;
  14147. case 2:
  14148. return 100;
  14149. case 180:
  14150. return 64;
  14151. case 25:
  14152. return 20;
  14153. case 5:
  14154. return 16;
  14155. case 6:
  14156. return 6;
  14157. case 73:
  14158. return 4;
  14159. case 84:
  14160. {
  14161. if (typeof navigator === "object") return navigator["hardwareConcurrency"] || 1;
  14162. return 1;
  14163. }
  14164. }
  14165. ___setErrNo(ERRNO_CODES.EINVAL);
  14166. return -1;
  14167. }
  14168. function _time(ptr) {
  14169. var ret = Date.now() / 1e3 | 0;
  14170. if (ptr) {
  14171. HEAP32[ptr >> 2] = ret;
  14172. }
  14173. return ret;
  14174. }
  14175. function _unsetenv(name) {
  14176. if (name === 0) {
  14177. ___setErrNo(ERRNO_CODES.EINVAL);
  14178. return -1;
  14179. }
  14180. name = Pointer_stringify(name);
  14181. if (name === "" || name.indexOf("=") !== -1) {
  14182. ___setErrNo(ERRNO_CODES.EINVAL);
  14183. return -1;
  14184. }
  14185. if (ENV.hasOwnProperty(name)) {
  14186. delete ENV[name];
  14187. ___buildEnvironment(__get_environ());
  14188. }
  14189. return 0;
  14190. }
  14191. function _utime(path, times) {
  14192. var time;
  14193. if (times) {
  14194. var offset = 4;
  14195. time = HEAP32[times + offset >> 2];
  14196. time *= 1e3;
  14197. } else {
  14198. time = Date.now();
  14199. }
  14200. path = Pointer_stringify(path);
  14201. try {
  14202. FS.utime(path, time, time);
  14203. return 0;
  14204. } catch (e) {
  14205. FS.handleFSError(e);
  14206. return -1;
  14207. }
  14208. }
  14209. FS.staticInit();
  14210. __ATINIT__.unshift((function() {
  14211. if (!Module["noFSInit"] && !FS.init.initialized) FS.init();
  14212. }));
  14213. __ATMAIN__.push((function() {
  14214. FS.ignorePermissions = false;
  14215. }));
  14216. __ATEXIT__.push((function() {
  14217. FS.quit();
  14218. }));
  14219. Module["FS_createPath"] = FS.createPath;
  14220. Module["FS_createDataFile"] = FS.createDataFile;
  14221. __ATINIT__.unshift((function() {
  14222. TTY.init();
  14223. }));
  14224. __ATEXIT__.push((function() {
  14225. TTY.shutdown();
  14226. }));
  14227. if (ENVIRONMENT_IS_NODE) {
  14228. var fs = require("fs");
  14229. var NODEJS_PATH = require("path");
  14230. NODEFS.staticInit();
  14231. }
  14232. __ATINIT__.push((function() {
  14233. SOCKFS.root = FS.mount(SOCKFS, {}, null);
  14234. }));
  14235. if (ENVIRONMENT_IS_NODE) {
  14236. _emscripten_get_now = function _emscripten_get_now_actual() {
  14237. var t = process["hrtime"]();
  14238. return t[0] * 1e3 + t[1] / 1e6;
  14239. };
  14240. } else if (typeof dateNow !== "undefined") {
  14241. _emscripten_get_now = dateNow;
  14242. } else if (typeof self === "object" && self["performance"] && typeof self["performance"]["now"] === "function") {
  14243. _emscripten_get_now = (function() {
  14244. return self["performance"]["now"]();
  14245. });
  14246. } else if (typeof performance === "object" && typeof performance["now"] === "function") {
  14247. _emscripten_get_now = (function() {
  14248. return performance["now"]();
  14249. });
  14250. } else {
  14251. _emscripten_get_now = Date.now;
  14252. }
  14253. Module["requestFullScreen"] = function Module_requestFullScreen(lockPointer, resizeCanvas, vrDevice) {
  14254. err("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead.");
  14255. Module["requestFullScreen"] = Module["requestFullscreen"];
  14256. Browser.requestFullScreen(lockPointer, resizeCanvas, vrDevice);
  14257. };
  14258. Module["requestFullscreen"] = function Module_requestFullscreen(lockPointer, resizeCanvas, vrDevice) {
  14259. Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  14260. };
  14261. Module["requestAnimationFrame"] = function Module_requestAnimationFrame(func) {
  14262. Browser.requestAnimationFrame(func);
  14263. };
  14264. Module["setCanvasSize"] = function Module_setCanvasSize(width, height, noUpdates) {
  14265. Browser.setCanvasSize(width, height, noUpdates);
  14266. };
  14267. Module["pauseMainLoop"] = function Module_pauseMainLoop() {
  14268. Browser.mainLoop.pause();
  14269. };
  14270. Module["resumeMainLoop"] = function Module_resumeMainLoop() {
  14271. Browser.mainLoop.resume();
  14272. };
  14273. Module["getUserMedia"] = function Module_getUserMedia() {
  14274. Browser.getUserMedia();
  14275. };
  14276. Module["createContext"] = function Module_createContext(canvas, useWebGL, setInModule, webGLContextAttributes) {
  14277. return Browser.createContext(canvas, useWebGL, setInModule, webGLContextAttributes);
  14278. };
  14279. JSEvents.staticInit();
  14280. var GLctx;
  14281. GL.init();
  14282. DYNAMICTOP_PTR = staticAlloc(4);
  14283. STACK_BASE = STACKTOP = alignMemory(STATICTOP);
  14284. STACK_MAX = STACK_BASE + TOTAL_STACK;
  14285. DYNAMIC_BASE = alignMemory(STACK_MAX);
  14286. HEAP32[DYNAMICTOP_PTR >> 2] = DYNAMIC_BASE;
  14287. staticSealed = true;
  14288. assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
  14289. function intArrayFromString(stringy, dontAddNull, length) {
  14290. var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1;
  14291. var u8array = new Array(len);
  14292. var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length);
  14293. if (dontAddNull) u8array.length = numBytesWritten;
  14294. return u8array;
  14295. }
  14296. function nullFunc_dddi(x) {
  14297. err("Invalid function pointer called with signature 'dddi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14298. err("Build with ASSERTIONS=2 for more info.");
  14299. abort(x);
  14300. }
  14301. function nullFunc_ddi(x) {
  14302. err("Invalid function pointer called with signature 'ddi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14303. err("Build with ASSERTIONS=2 for more info.");
  14304. abort(x);
  14305. }
  14306. function nullFunc_dfi(x) {
  14307. err("Invalid function pointer called with signature 'dfi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14308. err("Build with ASSERTIONS=2 for more info.");
  14309. abort(x);
  14310. }
  14311. function nullFunc_di(x) {
  14312. err("Invalid function pointer called with signature 'di'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14313. err("Build with ASSERTIONS=2 for more info.");
  14314. abort(x);
  14315. }
  14316. function nullFunc_diddi(x) {
  14317. err("Invalid function pointer called with signature 'diddi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14318. err("Build with ASSERTIONS=2 for more info.");
  14319. abort(x);
  14320. }
  14321. function nullFunc_didi(x) {
  14322. err("Invalid function pointer called with signature 'didi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14323. err("Build with ASSERTIONS=2 for more info.");
  14324. abort(x);
  14325. }
  14326. function nullFunc_dii(x) {
  14327. err("Invalid function pointer called with signature 'dii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14328. err("Build with ASSERTIONS=2 for more info.");
  14329. abort(x);
  14330. }
  14331. function nullFunc_diii(x) {
  14332. err("Invalid function pointer called with signature 'diii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14333. err("Build with ASSERTIONS=2 for more info.");
  14334. abort(x);
  14335. }
  14336. function nullFunc_diiii(x) {
  14337. err("Invalid function pointer called with signature 'diiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14338. err("Build with ASSERTIONS=2 for more info.");
  14339. abort(x);
  14340. }
  14341. function nullFunc_dji(x) {
  14342. err("Invalid function pointer called with signature 'dji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14343. err("Build with ASSERTIONS=2 for more info.");
  14344. abort(x);
  14345. }
  14346. function nullFunc_f(x) {
  14347. err("Invalid function pointer called with signature 'f'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14348. err("Build with ASSERTIONS=2 for more info.");
  14349. abort(x);
  14350. }
  14351. function nullFunc_fdi(x) {
  14352. err("Invalid function pointer called with signature 'fdi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14353. err("Build with ASSERTIONS=2 for more info.");
  14354. abort(x);
  14355. }
  14356. function nullFunc_ff(x) {
  14357. err("Invalid function pointer called with signature 'ff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14358. err("Build with ASSERTIONS=2 for more info.");
  14359. abort(x);
  14360. }
  14361. function nullFunc_fff(x) {
  14362. err("Invalid function pointer called with signature 'fff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14363. err("Build with ASSERTIONS=2 for more info.");
  14364. abort(x);
  14365. }
  14366. function nullFunc_ffffi(x) {
  14367. err("Invalid function pointer called with signature 'ffffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14368. err("Build with ASSERTIONS=2 for more info.");
  14369. abort(x);
  14370. }
  14371. function nullFunc_fffi(x) {
  14372. err("Invalid function pointer called with signature 'fffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14373. err("Build with ASSERTIONS=2 for more info.");
  14374. abort(x);
  14375. }
  14376. function nullFunc_fffifffi(x) {
  14377. err("Invalid function pointer called with signature 'fffifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14378. err("Build with ASSERTIONS=2 for more info.");
  14379. abort(x);
  14380. }
  14381. function nullFunc_ffi(x) {
  14382. err("Invalid function pointer called with signature 'ffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14383. err("Build with ASSERTIONS=2 for more info.");
  14384. abort(x);
  14385. }
  14386. function nullFunc_fi(x) {
  14387. err("Invalid function pointer called with signature 'fi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14388. err("Build with ASSERTIONS=2 for more info.");
  14389. abort(x);
  14390. }
  14391. function nullFunc_fif(x) {
  14392. err("Invalid function pointer called with signature 'fif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14393. err("Build with ASSERTIONS=2 for more info.");
  14394. abort(x);
  14395. }
  14396. function nullFunc_fiff(x) {
  14397. err("Invalid function pointer called with signature 'fiff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14398. err("Build with ASSERTIONS=2 for more info.");
  14399. abort(x);
  14400. }
  14401. function nullFunc_fifffi(x) {
  14402. err("Invalid function pointer called with signature 'fifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14403. err("Build with ASSERTIONS=2 for more info.");
  14404. abort(x);
  14405. }
  14406. function nullFunc_fiffi(x) {
  14407. err("Invalid function pointer called with signature 'fiffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14408. err("Build with ASSERTIONS=2 for more info.");
  14409. abort(x);
  14410. }
  14411. function nullFunc_fifi(x) {
  14412. err("Invalid function pointer called with signature 'fifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14413. err("Build with ASSERTIONS=2 for more info.");
  14414. abort(x);
  14415. }
  14416. function nullFunc_fifii(x) {
  14417. err("Invalid function pointer called with signature 'fifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14418. err("Build with ASSERTIONS=2 for more info.");
  14419. abort(x);
  14420. }
  14421. function nullFunc_fii(x) {
  14422. err("Invalid function pointer called with signature 'fii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14423. err("Build with ASSERTIONS=2 for more info.");
  14424. abort(x);
  14425. }
  14426. function nullFunc_fiif(x) {
  14427. err("Invalid function pointer called with signature 'fiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14428. err("Build with ASSERTIONS=2 for more info.");
  14429. abort(x);
  14430. }
  14431. function nullFunc_fiifi(x) {
  14432. err("Invalid function pointer called with signature 'fiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14433. err("Build with ASSERTIONS=2 for more info.");
  14434. abort(x);
  14435. }
  14436. function nullFunc_fiifii(x) {
  14437. err("Invalid function pointer called with signature 'fiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14438. err("Build with ASSERTIONS=2 for more info.");
  14439. abort(x);
  14440. }
  14441. function nullFunc_fiii(x) {
  14442. err("Invalid function pointer called with signature 'fiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14443. err("Build with ASSERTIONS=2 for more info.");
  14444. abort(x);
  14445. }
  14446. function nullFunc_fiiii(x) {
  14447. err("Invalid function pointer called with signature 'fiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14448. err("Build with ASSERTIONS=2 for more info.");
  14449. abort(x);
  14450. }
  14451. function nullFunc_fiiiiiifiifif(x) {
  14452. err("Invalid function pointer called with signature 'fiiiiiifiifif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14453. err("Build with ASSERTIONS=2 for more info.");
  14454. abort(x);
  14455. }
  14456. function nullFunc_fiiiiiifiiiif(x) {
  14457. err("Invalid function pointer called with signature 'fiiiiiifiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14458. err("Build with ASSERTIONS=2 for more info.");
  14459. abort(x);
  14460. }
  14461. function nullFunc_fji(x) {
  14462. err("Invalid function pointer called with signature 'fji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14463. err("Build with ASSERTIONS=2 for more info.");
  14464. abort(x);
  14465. }
  14466. function nullFunc_i(x) {
  14467. err("Invalid function pointer called with signature 'i'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14468. err("Build with ASSERTIONS=2 for more info.");
  14469. abort(x);
  14470. }
  14471. function nullFunc_idi(x) {
  14472. err("Invalid function pointer called with signature 'idi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14473. err("Build with ASSERTIONS=2 for more info.");
  14474. abort(x);
  14475. }
  14476. function nullFunc_idiii(x) {
  14477. err("Invalid function pointer called with signature 'idiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14478. err("Build with ASSERTIONS=2 for more info.");
  14479. abort(x);
  14480. }
  14481. function nullFunc_ifffi(x) {
  14482. err("Invalid function pointer called with signature 'ifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14483. err("Build with ASSERTIONS=2 for more info.");
  14484. abort(x);
  14485. }
  14486. function nullFunc_iffi(x) {
  14487. err("Invalid function pointer called with signature 'iffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14488. err("Build with ASSERTIONS=2 for more info.");
  14489. abort(x);
  14490. }
  14491. function nullFunc_ifi(x) {
  14492. err("Invalid function pointer called with signature 'ifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14493. err("Build with ASSERTIONS=2 for more info.");
  14494. abort(x);
  14495. }
  14496. function nullFunc_ifiii(x) {
  14497. err("Invalid function pointer called with signature 'ifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14498. err("Build with ASSERTIONS=2 for more info.");
  14499. abort(x);
  14500. }
  14501. function nullFunc_ii(x) {
  14502. err("Invalid function pointer called with signature 'ii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14503. err("Build with ASSERTIONS=2 for more info.");
  14504. abort(x);
  14505. }
  14506. function nullFunc_iidi(x) {
  14507. err("Invalid function pointer called with signature 'iidi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14508. err("Build with ASSERTIONS=2 for more info.");
  14509. abort(x);
  14510. }
  14511. function nullFunc_iidii(x) {
  14512. err("Invalid function pointer called with signature 'iidii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14513. err("Build with ASSERTIONS=2 for more info.");
  14514. abort(x);
  14515. }
  14516. function nullFunc_iif(x) {
  14517. err("Invalid function pointer called with signature 'iif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14518. err("Build with ASSERTIONS=2 for more info.");
  14519. abort(x);
  14520. }
  14521. function nullFunc_iifff(x) {
  14522. err("Invalid function pointer called with signature 'iifff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14523. err("Build with ASSERTIONS=2 for more info.");
  14524. abort(x);
  14525. }
  14526. function nullFunc_iifffi(x) {
  14527. err("Invalid function pointer called with signature 'iifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14528. err("Build with ASSERTIONS=2 for more info.");
  14529. abort(x);
  14530. }
  14531. function nullFunc_iiffi(x) {
  14532. err("Invalid function pointer called with signature 'iiffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14533. err("Build with ASSERTIONS=2 for more info.");
  14534. abort(x);
  14535. }
  14536. function nullFunc_iifi(x) {
  14537. err("Invalid function pointer called with signature 'iifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14538. err("Build with ASSERTIONS=2 for more info.");
  14539. abort(x);
  14540. }
  14541. function nullFunc_iifii(x) {
  14542. err("Invalid function pointer called with signature 'iifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14543. err("Build with ASSERTIONS=2 for more info.");
  14544. abort(x);
  14545. }
  14546. function nullFunc_iifiii(x) {
  14547. err("Invalid function pointer called with signature 'iifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14548. err("Build with ASSERTIONS=2 for more info.");
  14549. abort(x);
  14550. }
  14551. function nullFunc_iifiiiijii(x) {
  14552. err("Invalid function pointer called with signature 'iifiiiijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14553. err("Build with ASSERTIONS=2 for more info.");
  14554. abort(x);
  14555. }
  14556. function nullFunc_iii(x) {
  14557. err("Invalid function pointer called with signature 'iii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14558. err("Build with ASSERTIONS=2 for more info.");
  14559. abort(x);
  14560. }
  14561. function nullFunc_iiif(x) {
  14562. err("Invalid function pointer called with signature 'iiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14563. err("Build with ASSERTIONS=2 for more info.");
  14564. abort(x);
  14565. }
  14566. function nullFunc_iiiff(x) {
  14567. err("Invalid function pointer called with signature 'iiiff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14568. err("Build with ASSERTIONS=2 for more info.");
  14569. abort(x);
  14570. }
  14571. function nullFunc_iiifi(x) {
  14572. err("Invalid function pointer called with signature 'iiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14573. err("Build with ASSERTIONS=2 for more info.");
  14574. abort(x);
  14575. }
  14576. function nullFunc_iiifii(x) {
  14577. err("Invalid function pointer called with signature 'iiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14578. err("Build with ASSERTIONS=2 for more info.");
  14579. abort(x);
  14580. }
  14581. function nullFunc_iiifiii(x) {
  14582. err("Invalid function pointer called with signature 'iiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14583. err("Build with ASSERTIONS=2 for more info.");
  14584. abort(x);
  14585. }
  14586. function nullFunc_iiifiiii(x) {
  14587. err("Invalid function pointer called with signature 'iiifiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14588. err("Build with ASSERTIONS=2 for more info.");
  14589. abort(x);
  14590. }
  14591. function nullFunc_iiii(x) {
  14592. err("Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14593. err("Build with ASSERTIONS=2 for more info.");
  14594. abort(x);
  14595. }
  14596. function nullFunc_iiiifffffi(x) {
  14597. err("Invalid function pointer called with signature 'iiiifffffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14598. err("Build with ASSERTIONS=2 for more info.");
  14599. abort(x);
  14600. }
  14601. function nullFunc_iiiifffffii(x) {
  14602. err("Invalid function pointer called with signature 'iiiifffffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14603. err("Build with ASSERTIONS=2 for more info.");
  14604. abort(x);
  14605. }
  14606. function nullFunc_iiiifffiii(x) {
  14607. err("Invalid function pointer called with signature 'iiiifffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14608. err("Build with ASSERTIONS=2 for more info.");
  14609. abort(x);
  14610. }
  14611. function nullFunc_iiiifi(x) {
  14612. err("Invalid function pointer called with signature 'iiiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14613. err("Build with ASSERTIONS=2 for more info.");
  14614. abort(x);
  14615. }
  14616. function nullFunc_iiiifii(x) {
  14617. err("Invalid function pointer called with signature 'iiiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14618. err("Build with ASSERTIONS=2 for more info.");
  14619. abort(x);
  14620. }
  14621. function nullFunc_iiiifiii(x) {
  14622. err("Invalid function pointer called with signature 'iiiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14623. err("Build with ASSERTIONS=2 for more info.");
  14624. abort(x);
  14625. }
  14626. function nullFunc_iiiifiiii(x) {
  14627. err("Invalid function pointer called with signature 'iiiifiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14628. err("Build with ASSERTIONS=2 for more info.");
  14629. abort(x);
  14630. }
  14631. function nullFunc_iiiifiiiii(x) {
  14632. err("Invalid function pointer called with signature 'iiiifiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14633. err("Build with ASSERTIONS=2 for more info.");
  14634. abort(x);
  14635. }
  14636. function nullFunc_iiiii(x) {
  14637. err("Invalid function pointer called with signature 'iiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14638. err("Build with ASSERTIONS=2 for more info.");
  14639. abort(x);
  14640. }
  14641. function nullFunc_iiiiifiii(x) {
  14642. err("Invalid function pointer called with signature 'iiiiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14643. err("Build with ASSERTIONS=2 for more info.");
  14644. abort(x);
  14645. }
  14646. function nullFunc_iiiiifiiiiif(x) {
  14647. err("Invalid function pointer called with signature 'iiiiifiiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14648. err("Build with ASSERTIONS=2 for more info.");
  14649. abort(x);
  14650. }
  14651. function nullFunc_iiiiii(x) {
  14652. err("Invalid function pointer called with signature 'iiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14653. err("Build with ASSERTIONS=2 for more info.");
  14654. abort(x);
  14655. }
  14656. function nullFunc_iiiiiifff(x) {
  14657. err("Invalid function pointer called with signature 'iiiiiifff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14658. err("Build with ASSERTIONS=2 for more info.");
  14659. abort(x);
  14660. }
  14661. function nullFunc_iiiiiifffiiifiii(x) {
  14662. err("Invalid function pointer called with signature 'iiiiiifffiiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14663. err("Build with ASSERTIONS=2 for more info.");
  14664. abort(x);
  14665. }
  14666. function nullFunc_iiiiiiffiiiiiiiiiffffiii(x) {
  14667. err("Invalid function pointer called with signature 'iiiiiiffiiiiiiiiiffffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14668. err("Build with ASSERTIONS=2 for more info.");
  14669. abort(x);
  14670. }
  14671. function nullFunc_iiiiiiffiiiiiiiiiffffiiii(x) {
  14672. err("Invalid function pointer called with signature 'iiiiiiffiiiiiiiiiffffiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14673. err("Build with ASSERTIONS=2 for more info.");
  14674. abort(x);
  14675. }
  14676. function nullFunc_iiiiiiffiiiiiiiiiiiiiii(x) {
  14677. err("Invalid function pointer called with signature 'iiiiiiffiiiiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14678. err("Build with ASSERTIONS=2 for more info.");
  14679. abort(x);
  14680. }
  14681. function nullFunc_iiiiiifiif(x) {
  14682. err("Invalid function pointer called with signature 'iiiiiifiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14683. err("Build with ASSERTIONS=2 for more info.");
  14684. abort(x);
  14685. }
  14686. function nullFunc_iiiiiifiii(x) {
  14687. err("Invalid function pointer called with signature 'iiiiiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14688. err("Build with ASSERTIONS=2 for more info.");
  14689. abort(x);
  14690. }
  14691. function nullFunc_iiiiiii(x) {
  14692. err("Invalid function pointer called with signature 'iiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14693. err("Build with ASSERTIONS=2 for more info.");
  14694. abort(x);
  14695. }
  14696. function nullFunc_iiiiiiifiif(x) {
  14697. err("Invalid function pointer called with signature 'iiiiiiifiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14698. err("Build with ASSERTIONS=2 for more info.");
  14699. abort(x);
  14700. }
  14701. function nullFunc_iiiiiiii(x) {
  14702. err("Invalid function pointer called with signature 'iiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14703. err("Build with ASSERTIONS=2 for more info.");
  14704. abort(x);
  14705. }
  14706. function nullFunc_iiiiiiiii(x) {
  14707. err("Invalid function pointer called with signature 'iiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14708. err("Build with ASSERTIONS=2 for more info.");
  14709. abort(x);
  14710. }
  14711. function nullFunc_iiiiiiiiii(x) {
  14712. err("Invalid function pointer called with signature 'iiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14713. err("Build with ASSERTIONS=2 for more info.");
  14714. abort(x);
  14715. }
  14716. function nullFunc_iiiiiiiiiii(x) {
  14717. err("Invalid function pointer called with signature 'iiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14718. err("Build with ASSERTIONS=2 for more info.");
  14719. abort(x);
  14720. }
  14721. function nullFunc_iiiiiiiiiiii(x) {
  14722. err("Invalid function pointer called with signature 'iiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14723. err("Build with ASSERTIONS=2 for more info.");
  14724. abort(x);
  14725. }
  14726. function nullFunc_iiiiiiiiiiiii(x) {
  14727. err("Invalid function pointer called with signature 'iiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14728. err("Build with ASSERTIONS=2 for more info.");
  14729. abort(x);
  14730. }
  14731. function nullFunc_iiiiiiiiiiiiii(x) {
  14732. err("Invalid function pointer called with signature 'iiiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14733. err("Build with ASSERTIONS=2 for more info.");
  14734. abort(x);
  14735. }
  14736. function nullFunc_iiiiiji(x) {
  14737. err("Invalid function pointer called with signature 'iiiiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14738. err("Build with ASSERTIONS=2 for more info.");
  14739. abort(x);
  14740. }
  14741. function nullFunc_iiiij(x) {
  14742. err("Invalid function pointer called with signature 'iiiij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14743. err("Build with ASSERTIONS=2 for more info.");
  14744. abort(x);
  14745. }
  14746. function nullFunc_iiiiji(x) {
  14747. err("Invalid function pointer called with signature 'iiiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14748. err("Build with ASSERTIONS=2 for more info.");
  14749. abort(x);
  14750. }
  14751. function nullFunc_iiiijii(x) {
  14752. err("Invalid function pointer called with signature 'iiiijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14753. err("Build with ASSERTIONS=2 for more info.");
  14754. abort(x);
  14755. }
  14756. function nullFunc_iiiijiii(x) {
  14757. err("Invalid function pointer called with signature 'iiiijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14758. err("Build with ASSERTIONS=2 for more info.");
  14759. abort(x);
  14760. }
  14761. function nullFunc_iiij(x) {
  14762. err("Invalid function pointer called with signature 'iiij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14763. err("Build with ASSERTIONS=2 for more info.");
  14764. abort(x);
  14765. }
  14766. function nullFunc_iiiji(x) {
  14767. err("Invalid function pointer called with signature 'iiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14768. err("Build with ASSERTIONS=2 for more info.");
  14769. abort(x);
  14770. }
  14771. function nullFunc_iiijii(x) {
  14772. err("Invalid function pointer called with signature 'iiijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14773. err("Build with ASSERTIONS=2 for more info.");
  14774. abort(x);
  14775. }
  14776. function nullFunc_iiijiii(x) {
  14777. err("Invalid function pointer called with signature 'iiijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14778. err("Build with ASSERTIONS=2 for more info.");
  14779. abort(x);
  14780. }
  14781. function nullFunc_iiijji(x) {
  14782. err("Invalid function pointer called with signature 'iiijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14783. err("Build with ASSERTIONS=2 for more info.");
  14784. abort(x);
  14785. }
  14786. function nullFunc_iiijjiiii(x) {
  14787. err("Invalid function pointer called with signature 'iiijjiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14788. err("Build with ASSERTIONS=2 for more info.");
  14789. abort(x);
  14790. }
  14791. function nullFunc_iij(x) {
  14792. err("Invalid function pointer called with signature 'iij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14793. err("Build with ASSERTIONS=2 for more info.");
  14794. abort(x);
  14795. }
  14796. function nullFunc_iiji(x) {
  14797. err("Invalid function pointer called with signature 'iiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14798. err("Build with ASSERTIONS=2 for more info.");
  14799. abort(x);
  14800. }
  14801. function nullFunc_iijii(x) {
  14802. err("Invalid function pointer called with signature 'iijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14803. err("Build with ASSERTIONS=2 for more info.");
  14804. abort(x);
  14805. }
  14806. function nullFunc_iijiii(x) {
  14807. err("Invalid function pointer called with signature 'iijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14808. err("Build with ASSERTIONS=2 for more info.");
  14809. abort(x);
  14810. }
  14811. function nullFunc_iijji(x) {
  14812. err("Invalid function pointer called with signature 'iijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14813. err("Build with ASSERTIONS=2 for more info.");
  14814. abort(x);
  14815. }
  14816. function nullFunc_iijjii(x) {
  14817. err("Invalid function pointer called with signature 'iijjii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14818. err("Build with ASSERTIONS=2 for more info.");
  14819. abort(x);
  14820. }
  14821. function nullFunc_iijjiii(x) {
  14822. err("Invalid function pointer called with signature 'iijjiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14823. err("Build with ASSERTIONS=2 for more info.");
  14824. abort(x);
  14825. }
  14826. function nullFunc_iijjji(x) {
  14827. err("Invalid function pointer called with signature 'iijjji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14828. err("Build with ASSERTIONS=2 for more info.");
  14829. abort(x);
  14830. }
  14831. function nullFunc_ij(x) {
  14832. err("Invalid function pointer called with signature 'ij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14833. err("Build with ASSERTIONS=2 for more info.");
  14834. abort(x);
  14835. }
  14836. function nullFunc_iji(x) {
  14837. err("Invalid function pointer called with signature 'iji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14838. err("Build with ASSERTIONS=2 for more info.");
  14839. abort(x);
  14840. }
  14841. function nullFunc_ijiii(x) {
  14842. err("Invalid function pointer called with signature 'ijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14843. err("Build with ASSERTIONS=2 for more info.");
  14844. abort(x);
  14845. }
  14846. function nullFunc_ijj(x) {
  14847. err("Invalid function pointer called with signature 'ijj'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14848. err("Build with ASSERTIONS=2 for more info.");
  14849. abort(x);
  14850. }
  14851. function nullFunc_ijji(x) {
  14852. err("Invalid function pointer called with signature 'ijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14853. err("Build with ASSERTIONS=2 for more info.");
  14854. abort(x);
  14855. }
  14856. function nullFunc_j(x) {
  14857. err("Invalid function pointer called with signature 'j'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14858. err("Build with ASSERTIONS=2 for more info.");
  14859. abort(x);
  14860. }
  14861. function nullFunc_jdi(x) {
  14862. err("Invalid function pointer called with signature 'jdi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14863. err("Build with ASSERTIONS=2 for more info.");
  14864. abort(x);
  14865. }
  14866. function nullFunc_jdii(x) {
  14867. err("Invalid function pointer called with signature 'jdii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14868. err("Build with ASSERTIONS=2 for more info.");
  14869. abort(x);
  14870. }
  14871. function nullFunc_jfi(x) {
  14872. err("Invalid function pointer called with signature 'jfi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14873. err("Build with ASSERTIONS=2 for more info.");
  14874. abort(x);
  14875. }
  14876. function nullFunc_ji(x) {
  14877. err("Invalid function pointer called with signature 'ji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14878. err("Build with ASSERTIONS=2 for more info.");
  14879. abort(x);
  14880. }
  14881. function nullFunc_jidi(x) {
  14882. err("Invalid function pointer called with signature 'jidi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14883. err("Build with ASSERTIONS=2 for more info.");
  14884. abort(x);
  14885. }
  14886. function nullFunc_jidii(x) {
  14887. err("Invalid function pointer called with signature 'jidii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14888. err("Build with ASSERTIONS=2 for more info.");
  14889. abort(x);
  14890. }
  14891. function nullFunc_jii(x) {
  14892. err("Invalid function pointer called with signature 'jii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14893. err("Build with ASSERTIONS=2 for more info.");
  14894. abort(x);
  14895. }
  14896. function nullFunc_jiii(x) {
  14897. err("Invalid function pointer called with signature 'jiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14898. err("Build with ASSERTIONS=2 for more info.");
  14899. abort(x);
  14900. }
  14901. function nullFunc_jiiii(x) {
  14902. err("Invalid function pointer called with signature 'jiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14903. err("Build with ASSERTIONS=2 for more info.");
  14904. abort(x);
  14905. }
  14906. function nullFunc_jiiiii(x) {
  14907. err("Invalid function pointer called with signature 'jiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14908. err("Build with ASSERTIONS=2 for more info.");
  14909. abort(x);
  14910. }
  14911. function nullFunc_jiiiiii(x) {
  14912. err("Invalid function pointer called with signature 'jiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14913. err("Build with ASSERTIONS=2 for more info.");
  14914. abort(x);
  14915. }
  14916. function nullFunc_jiiiiiiiiii(x) {
  14917. err("Invalid function pointer called with signature 'jiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14918. err("Build with ASSERTIONS=2 for more info.");
  14919. abort(x);
  14920. }
  14921. function nullFunc_jiiji(x) {
  14922. err("Invalid function pointer called with signature 'jiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14923. err("Build with ASSERTIONS=2 for more info.");
  14924. abort(x);
  14925. }
  14926. function nullFunc_jiji(x) {
  14927. err("Invalid function pointer called with signature 'jiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14928. err("Build with ASSERTIONS=2 for more info.");
  14929. abort(x);
  14930. }
  14931. function nullFunc_jijii(x) {
  14932. err("Invalid function pointer called with signature 'jijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14933. err("Build with ASSERTIONS=2 for more info.");
  14934. abort(x);
  14935. }
  14936. function nullFunc_jijiii(x) {
  14937. err("Invalid function pointer called with signature 'jijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14938. err("Build with ASSERTIONS=2 for more info.");
  14939. abort(x);
  14940. }
  14941. function nullFunc_jijj(x) {
  14942. err("Invalid function pointer called with signature 'jijj'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14943. err("Build with ASSERTIONS=2 for more info.");
  14944. abort(x);
  14945. }
  14946. function nullFunc_jijji(x) {
  14947. err("Invalid function pointer called with signature 'jijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14948. err("Build with ASSERTIONS=2 for more info.");
  14949. abort(x);
  14950. }
  14951. function nullFunc_jji(x) {
  14952. err("Invalid function pointer called with signature 'jji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14953. err("Build with ASSERTIONS=2 for more info.");
  14954. abort(x);
  14955. }
  14956. function nullFunc_v(x) {
  14957. err("Invalid function pointer called with signature 'v'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14958. err("Build with ASSERTIONS=2 for more info.");
  14959. abort(x);
  14960. }
  14961. function nullFunc_vd(x) {
  14962. err("Invalid function pointer called with signature 'vd'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14963. err("Build with ASSERTIONS=2 for more info.");
  14964. abort(x);
  14965. }
  14966. function nullFunc_vf(x) {
  14967. err("Invalid function pointer called with signature 'vf'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14968. err("Build with ASSERTIONS=2 for more info.");
  14969. abort(x);
  14970. }
  14971. function nullFunc_vff(x) {
  14972. err("Invalid function pointer called with signature 'vff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14973. err("Build with ASSERTIONS=2 for more info.");
  14974. abort(x);
  14975. }
  14976. function nullFunc_vffff(x) {
  14977. err("Invalid function pointer called with signature 'vffff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14978. err("Build with ASSERTIONS=2 for more info.");
  14979. abort(x);
  14980. }
  14981. function nullFunc_vfi(x) {
  14982. err("Invalid function pointer called with signature 'vfi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14983. err("Build with ASSERTIONS=2 for more info.");
  14984. abort(x);
  14985. }
  14986. function nullFunc_vi(x) {
  14987. err("Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14988. err("Build with ASSERTIONS=2 for more info.");
  14989. abort(x);
  14990. }
  14991. function nullFunc_vid(x) {
  14992. err("Invalid function pointer called with signature 'vid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14993. err("Build with ASSERTIONS=2 for more info.");
  14994. abort(x);
  14995. }
  14996. function nullFunc_vidi(x) {
  14997. err("Invalid function pointer called with signature 'vidi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14998. err("Build with ASSERTIONS=2 for more info.");
  14999. abort(x);
  15000. }
  15001. function nullFunc_vif(x) {
  15002. err("Invalid function pointer called with signature 'vif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15003. err("Build with ASSERTIONS=2 for more info.");
  15004. abort(x);
  15005. }
  15006. function nullFunc_viff(x) {
  15007. err("Invalid function pointer called with signature 'viff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15008. err("Build with ASSERTIONS=2 for more info.");
  15009. abort(x);
  15010. }
  15011. function nullFunc_vifff(x) {
  15012. err("Invalid function pointer called with signature 'vifff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15013. err("Build with ASSERTIONS=2 for more info.");
  15014. abort(x);
  15015. }
  15016. function nullFunc_viffff(x) {
  15017. err("Invalid function pointer called with signature 'viffff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15018. err("Build with ASSERTIONS=2 for more info.");
  15019. abort(x);
  15020. }
  15021. function nullFunc_viffffi(x) {
  15022. err("Invalid function pointer called with signature 'viffffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15023. err("Build with ASSERTIONS=2 for more info.");
  15024. abort(x);
  15025. }
  15026. function nullFunc_viffffii(x) {
  15027. err("Invalid function pointer called with signature 'viffffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15028. err("Build with ASSERTIONS=2 for more info.");
  15029. abort(x);
  15030. }
  15031. function nullFunc_viffffiifffiiiiif(x) {
  15032. err("Invalid function pointer called with signature 'viffffiifffiiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15033. err("Build with ASSERTIONS=2 for more info.");
  15034. abort(x);
  15035. }
  15036. function nullFunc_viffffiii(x) {
  15037. err("Invalid function pointer called with signature 'viffffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15038. err("Build with ASSERTIONS=2 for more info.");
  15039. abort(x);
  15040. }
  15041. function nullFunc_vifffi(x) {
  15042. err("Invalid function pointer called with signature 'vifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15043. err("Build with ASSERTIONS=2 for more info.");
  15044. abort(x);
  15045. }
  15046. function nullFunc_vifffii(x) {
  15047. err("Invalid function pointer called with signature 'vifffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15048. err("Build with ASSERTIONS=2 for more info.");
  15049. abort(x);
  15050. }
  15051. function nullFunc_viffi(x) {
  15052. err("Invalid function pointer called with signature 'viffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15053. err("Build with ASSERTIONS=2 for more info.");
  15054. abort(x);
  15055. }
  15056. function nullFunc_viffii(x) {
  15057. err("Invalid function pointer called with signature 'viffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15058. err("Build with ASSERTIONS=2 for more info.");
  15059. abort(x);
  15060. }
  15061. function nullFunc_viffiifffffiii(x) {
  15062. err("Invalid function pointer called with signature 'viffiifffffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15063. err("Build with ASSERTIONS=2 for more info.");
  15064. abort(x);
  15065. }
  15066. function nullFunc_viffiii(x) {
  15067. err("Invalid function pointer called with signature 'viffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15068. err("Build with ASSERTIONS=2 for more info.");
  15069. abort(x);
  15070. }
  15071. function nullFunc_viffiiiif(x) {
  15072. err("Invalid function pointer called with signature 'viffiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15073. err("Build with ASSERTIONS=2 for more info.");
  15074. abort(x);
  15075. }
  15076. function nullFunc_vifi(x) {
  15077. err("Invalid function pointer called with signature 'vifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15078. err("Build with ASSERTIONS=2 for more info.");
  15079. abort(x);
  15080. }
  15081. function nullFunc_vifii(x) {
  15082. err("Invalid function pointer called with signature 'vifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15083. err("Build with ASSERTIONS=2 for more info.");
  15084. abort(x);
  15085. }
  15086. function nullFunc_vifiiii(x) {
  15087. err("Invalid function pointer called with signature 'vifiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15088. err("Build with ASSERTIONS=2 for more info.");
  15089. abort(x);
  15090. }
  15091. function nullFunc_vifijii(x) {
  15092. err("Invalid function pointer called with signature 'vifijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15093. err("Build with ASSERTIONS=2 for more info.");
  15094. abort(x);
  15095. }
  15096. function nullFunc_vii(x) {
  15097. err("Invalid function pointer called with signature 'vii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15098. err("Build with ASSERTIONS=2 for more info.");
  15099. abort(x);
  15100. }
  15101. function nullFunc_viid(x) {
  15102. err("Invalid function pointer called with signature 'viid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15103. err("Build with ASSERTIONS=2 for more info.");
  15104. abort(x);
  15105. }
  15106. function nullFunc_viidi(x) {
  15107. err("Invalid function pointer called with signature 'viidi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15108. err("Build with ASSERTIONS=2 for more info.");
  15109. abort(x);
  15110. }
  15111. function nullFunc_viidii(x) {
  15112. err("Invalid function pointer called with signature 'viidii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15113. err("Build with ASSERTIONS=2 for more info.");
  15114. abort(x);
  15115. }
  15116. function nullFunc_viif(x) {
  15117. err("Invalid function pointer called with signature 'viif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15118. err("Build with ASSERTIONS=2 for more info.");
  15119. abort(x);
  15120. }
  15121. function nullFunc_viiff(x) {
  15122. err("Invalid function pointer called with signature 'viiff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15123. err("Build with ASSERTIONS=2 for more info.");
  15124. abort(x);
  15125. }
  15126. function nullFunc_viifff(x) {
  15127. err("Invalid function pointer called with signature 'viifff'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15128. err("Build with ASSERTIONS=2 for more info.");
  15129. abort(x);
  15130. }
  15131. function nullFunc_viifffi(x) {
  15132. err("Invalid function pointer called with signature 'viifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15133. err("Build with ASSERTIONS=2 for more info.");
  15134. abort(x);
  15135. }
  15136. function nullFunc_viiffi(x) {
  15137. err("Invalid function pointer called with signature 'viiffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15138. err("Build with ASSERTIONS=2 for more info.");
  15139. abort(x);
  15140. }
  15141. function nullFunc_viiffii(x) {
  15142. err("Invalid function pointer called with signature 'viiffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15143. err("Build with ASSERTIONS=2 for more info.");
  15144. abort(x);
  15145. }
  15146. function nullFunc_viifi(x) {
  15147. err("Invalid function pointer called with signature 'viifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15148. err("Build with ASSERTIONS=2 for more info.");
  15149. abort(x);
  15150. }
  15151. function nullFunc_viifii(x) {
  15152. err("Invalid function pointer called with signature 'viifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15153. err("Build with ASSERTIONS=2 for more info.");
  15154. abort(x);
  15155. }
  15156. function nullFunc_viifiii(x) {
  15157. err("Invalid function pointer called with signature 'viifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15158. err("Build with ASSERTIONS=2 for more info.");
  15159. abort(x);
  15160. }
  15161. function nullFunc_viifiiii(x) {
  15162. err("Invalid function pointer called with signature 'viifiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15163. err("Build with ASSERTIONS=2 for more info.");
  15164. abort(x);
  15165. }
  15166. function nullFunc_viii(x) {
  15167. err("Invalid function pointer called with signature 'viii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15168. err("Build with ASSERTIONS=2 for more info.");
  15169. abort(x);
  15170. }
  15171. function nullFunc_viiidi(x) {
  15172. err("Invalid function pointer called with signature 'viiidi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15173. err("Build with ASSERTIONS=2 for more info.");
  15174. abort(x);
  15175. }
  15176. function nullFunc_viiifffi(x) {
  15177. err("Invalid function pointer called with signature 'viiifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15178. err("Build with ASSERTIONS=2 for more info.");
  15179. abort(x);
  15180. }
  15181. function nullFunc_viiiffi(x) {
  15182. err("Invalid function pointer called with signature 'viiiffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15183. err("Build with ASSERTIONS=2 for more info.");
  15184. abort(x);
  15185. }
  15186. function nullFunc_viiiffii(x) {
  15187. err("Invalid function pointer called with signature 'viiiffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15188. err("Build with ASSERTIONS=2 for more info.");
  15189. abort(x);
  15190. }
  15191. function nullFunc_viiifi(x) {
  15192. err("Invalid function pointer called with signature 'viiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15193. err("Build with ASSERTIONS=2 for more info.");
  15194. abort(x);
  15195. }
  15196. function nullFunc_viiifii(x) {
  15197. err("Invalid function pointer called with signature 'viiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15198. err("Build with ASSERTIONS=2 for more info.");
  15199. abort(x);
  15200. }
  15201. function nullFunc_viiifiii(x) {
  15202. err("Invalid function pointer called with signature 'viiifiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15203. err("Build with ASSERTIONS=2 for more info.");
  15204. abort(x);
  15205. }
  15206. function nullFunc_viiifiiiii(x) {
  15207. err("Invalid function pointer called with signature 'viiifiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15208. err("Build with ASSERTIONS=2 for more info.");
  15209. abort(x);
  15210. }
  15211. function nullFunc_viiii(x) {
  15212. err("Invalid function pointer called with signature 'viiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15213. err("Build with ASSERTIONS=2 for more info.");
  15214. abort(x);
  15215. }
  15216. function nullFunc_viiiif(x) {
  15217. err("Invalid function pointer called with signature 'viiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15218. err("Build with ASSERTIONS=2 for more info.");
  15219. abort(x);
  15220. }
  15221. function nullFunc_viiiifii(x) {
  15222. err("Invalid function pointer called with signature 'viiiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15223. err("Build with ASSERTIONS=2 for more info.");
  15224. abort(x);
  15225. }
  15226. function nullFunc_viiiifiiiiif(x) {
  15227. err("Invalid function pointer called with signature 'viiiifiiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15228. err("Build with ASSERTIONS=2 for more info.");
  15229. abort(x);
  15230. }
  15231. function nullFunc_viiiii(x) {
  15232. err("Invalid function pointer called with signature 'viiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15233. err("Build with ASSERTIONS=2 for more info.");
  15234. abort(x);
  15235. }
  15236. function nullFunc_viiiiif(x) {
  15237. err("Invalid function pointer called with signature 'viiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15238. err("Build with ASSERTIONS=2 for more info.");
  15239. abort(x);
  15240. }
  15241. function nullFunc_viiiiiffi(x) {
  15242. err("Invalid function pointer called with signature 'viiiiiffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15243. err("Build with ASSERTIONS=2 for more info.");
  15244. abort(x);
  15245. }
  15246. function nullFunc_viiiiiffii(x) {
  15247. err("Invalid function pointer called with signature 'viiiiiffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15248. err("Build with ASSERTIONS=2 for more info.");
  15249. abort(x);
  15250. }
  15251. function nullFunc_viiiiifi(x) {
  15252. err("Invalid function pointer called with signature 'viiiiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15253. err("Build with ASSERTIONS=2 for more info.");
  15254. abort(x);
  15255. }
  15256. function nullFunc_viiiiii(x) {
  15257. err("Invalid function pointer called with signature 'viiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15258. err("Build with ASSERTIONS=2 for more info.");
  15259. abort(x);
  15260. }
  15261. function nullFunc_viiiiiif(x) {
  15262. err("Invalid function pointer called with signature 'viiiiiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15263. err("Build with ASSERTIONS=2 for more info.");
  15264. abort(x);
  15265. }
  15266. function nullFunc_viiiiiii(x) {
  15267. err("Invalid function pointer called with signature 'viiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15268. err("Build with ASSERTIONS=2 for more info.");
  15269. abort(x);
  15270. }
  15271. function nullFunc_viiiiiiifi(x) {
  15272. err("Invalid function pointer called with signature 'viiiiiiifi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15273. err("Build with ASSERTIONS=2 for more info.");
  15274. abort(x);
  15275. }
  15276. function nullFunc_viiiiiiii(x) {
  15277. err("Invalid function pointer called with signature 'viiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15278. err("Build with ASSERTIONS=2 for more info.");
  15279. abort(x);
  15280. }
  15281. function nullFunc_viiiiiiiii(x) {
  15282. err("Invalid function pointer called with signature 'viiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15283. err("Build with ASSERTIONS=2 for more info.");
  15284. abort(x);
  15285. }
  15286. function nullFunc_viiiiiiiiii(x) {
  15287. err("Invalid function pointer called with signature 'viiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15288. err("Build with ASSERTIONS=2 for more info.");
  15289. abort(x);
  15290. }
  15291. function nullFunc_viiiiiiiiiii(x) {
  15292. err("Invalid function pointer called with signature 'viiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15293. err("Build with ASSERTIONS=2 for more info.");
  15294. abort(x);
  15295. }
  15296. function nullFunc_viiiiiiiiiiifii(x) {
  15297. err("Invalid function pointer called with signature 'viiiiiiiiiiifii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15298. err("Build with ASSERTIONS=2 for more info.");
  15299. abort(x);
  15300. }
  15301. function nullFunc_viiiiiiiiiiii(x) {
  15302. err("Invalid function pointer called with signature 'viiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15303. err("Build with ASSERTIONS=2 for more info.");
  15304. abort(x);
  15305. }
  15306. function nullFunc_viiiiiiiiiiiiii(x) {
  15307. err("Invalid function pointer called with signature 'viiiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15308. err("Build with ASSERTIONS=2 for more info.");
  15309. abort(x);
  15310. }
  15311. function nullFunc_viiiiiiiiiiiiiii(x) {
  15312. err("Invalid function pointer called with signature 'viiiiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15313. err("Build with ASSERTIONS=2 for more info.");
  15314. abort(x);
  15315. }
  15316. function nullFunc_viiiiiiiiiiiiiiiiii(x) {
  15317. err("Invalid function pointer called with signature 'viiiiiiiiiiiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15318. err("Build with ASSERTIONS=2 for more info.");
  15319. abort(x);
  15320. }
  15321. function nullFunc_viiiiiji(x) {
  15322. err("Invalid function pointer called with signature 'viiiiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15323. err("Build with ASSERTIONS=2 for more info.");
  15324. abort(x);
  15325. }
  15326. function nullFunc_viiiij(x) {
  15327. err("Invalid function pointer called with signature 'viiiij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15328. err("Build with ASSERTIONS=2 for more info.");
  15329. abort(x);
  15330. }
  15331. function nullFunc_viiiijiiii(x) {
  15332. err("Invalid function pointer called with signature 'viiiijiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15333. err("Build with ASSERTIONS=2 for more info.");
  15334. abort(x);
  15335. }
  15336. function nullFunc_viiiji(x) {
  15337. err("Invalid function pointer called with signature 'viiiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15338. err("Build with ASSERTIONS=2 for more info.");
  15339. abort(x);
  15340. }
  15341. function nullFunc_viiijji(x) {
  15342. err("Invalid function pointer called with signature 'viiijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15343. err("Build with ASSERTIONS=2 for more info.");
  15344. abort(x);
  15345. }
  15346. function nullFunc_viij(x) {
  15347. err("Invalid function pointer called with signature 'viij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15348. err("Build with ASSERTIONS=2 for more info.");
  15349. abort(x);
  15350. }
  15351. function nullFunc_viiji(x) {
  15352. err("Invalid function pointer called with signature 'viiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15353. err("Build with ASSERTIONS=2 for more info.");
  15354. abort(x);
  15355. }
  15356. function nullFunc_viijii(x) {
  15357. err("Invalid function pointer called with signature 'viijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15358. err("Build with ASSERTIONS=2 for more info.");
  15359. abort(x);
  15360. }
  15361. function nullFunc_viijiijiii(x) {
  15362. err("Invalid function pointer called with signature 'viijiijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15363. err("Build with ASSERTIONS=2 for more info.");
  15364. abort(x);
  15365. }
  15366. function nullFunc_viijijii(x) {
  15367. err("Invalid function pointer called with signature 'viijijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15368. err("Build with ASSERTIONS=2 for more info.");
  15369. abort(x);
  15370. }
  15371. function nullFunc_viijijiii(x) {
  15372. err("Invalid function pointer called with signature 'viijijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15373. err("Build with ASSERTIONS=2 for more info.");
  15374. abort(x);
  15375. }
  15376. function nullFunc_viijijj(x) {
  15377. err("Invalid function pointer called with signature 'viijijj'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15378. err("Build with ASSERTIONS=2 for more info.");
  15379. abort(x);
  15380. }
  15381. function nullFunc_viijj(x) {
  15382. err("Invalid function pointer called with signature 'viijj'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15383. err("Build with ASSERTIONS=2 for more info.");
  15384. abort(x);
  15385. }
  15386. function nullFunc_viijji(x) {
  15387. err("Invalid function pointer called with signature 'viijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15388. err("Build with ASSERTIONS=2 for more info.");
  15389. abort(x);
  15390. }
  15391. function nullFunc_viijjii(x) {
  15392. err("Invalid function pointer called with signature 'viijjii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15393. err("Build with ASSERTIONS=2 for more info.");
  15394. abort(x);
  15395. }
  15396. function nullFunc_viijjiii(x) {
  15397. err("Invalid function pointer called with signature 'viijjiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15398. err("Build with ASSERTIONS=2 for more info.");
  15399. abort(x);
  15400. }
  15401. function nullFunc_viijjji(x) {
  15402. err("Invalid function pointer called with signature 'viijjji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15403. err("Build with ASSERTIONS=2 for more info.");
  15404. abort(x);
  15405. }
  15406. function nullFunc_vij(x) {
  15407. err("Invalid function pointer called with signature 'vij'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15408. err("Build with ASSERTIONS=2 for more info.");
  15409. abort(x);
  15410. }
  15411. function nullFunc_viji(x) {
  15412. err("Invalid function pointer called with signature 'viji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15413. err("Build with ASSERTIONS=2 for more info.");
  15414. abort(x);
  15415. }
  15416. function nullFunc_vijii(x) {
  15417. err("Invalid function pointer called with signature 'vijii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15418. err("Build with ASSERTIONS=2 for more info.");
  15419. abort(x);
  15420. }
  15421. function nullFunc_vijiii(x) {
  15422. err("Invalid function pointer called with signature 'vijiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15423. err("Build with ASSERTIONS=2 for more info.");
  15424. abort(x);
  15425. }
  15426. function nullFunc_vijiji(x) {
  15427. err("Invalid function pointer called with signature 'vijiji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15428. err("Build with ASSERTIONS=2 for more info.");
  15429. abort(x);
  15430. }
  15431. function nullFunc_vijijji(x) {
  15432. err("Invalid function pointer called with signature 'vijijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15433. err("Build with ASSERTIONS=2 for more info.");
  15434. abort(x);
  15435. }
  15436. function nullFunc_vijji(x) {
  15437. err("Invalid function pointer called with signature 'vijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15438. err("Build with ASSERTIONS=2 for more info.");
  15439. abort(x);
  15440. }
  15441. function nullFunc_vijjii(x) {
  15442. err("Invalid function pointer called with signature 'vijjii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15443. err("Build with ASSERTIONS=2 for more info.");
  15444. abort(x);
  15445. }
  15446. function nullFunc_vijjji(x) {
  15447. err("Invalid function pointer called with signature 'vijjji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15448. err("Build with ASSERTIONS=2 for more info.");
  15449. abort(x);
  15450. }
  15451. function nullFunc_vjiiii(x) {
  15452. err("Invalid function pointer called with signature 'vjiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15453. err("Build with ASSERTIONS=2 for more info.");
  15454. abort(x);
  15455. }
  15456. function nullFunc_vjji(x) {
  15457. err("Invalid function pointer called with signature 'vjji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15458. err("Build with ASSERTIONS=2 for more info.");
  15459. abort(x);
  15460. }
  15461. Module["wasmTableSize"] = 49723;
  15462. Module["wasmMaxTableSize"] = 49723;
  15463. function invoke_dddi(index, a1, a2, a3) {
  15464. var sp = stackSave();
  15465. try {
  15466. return Module["dynCall_dddi"](index, a1, a2, a3);
  15467. } catch (e) {
  15468. stackRestore(sp);
  15469. if (typeof e !== "number" && e !== "longjmp") throw e;
  15470. Module["setThrew"](1, 0);
  15471. }
  15472. }
  15473. function invoke_ddi(index, a1, a2) {
  15474. var sp = stackSave();
  15475. try {
  15476. return Module["dynCall_ddi"](index, a1, a2);
  15477. } catch (e) {
  15478. stackRestore(sp);
  15479. if (typeof e !== "number" && e !== "longjmp") throw e;
  15480. Module["setThrew"](1, 0);
  15481. }
  15482. }
  15483. function invoke_dfi(index, a1, a2) {
  15484. var sp = stackSave();
  15485. try {
  15486. return Module["dynCall_dfi"](index, a1, a2);
  15487. } catch (e) {
  15488. stackRestore(sp);
  15489. if (typeof e !== "number" && e !== "longjmp") throw e;
  15490. Module["setThrew"](1, 0);
  15491. }
  15492. }
  15493. function invoke_di(index, a1) {
  15494. var sp = stackSave();
  15495. try {
  15496. return Module["dynCall_di"](index, a1);
  15497. } catch (e) {
  15498. stackRestore(sp);
  15499. if (typeof e !== "number" && e !== "longjmp") throw e;
  15500. Module["setThrew"](1, 0);
  15501. }
  15502. }
  15503. function invoke_diddi(index, a1, a2, a3, a4) {
  15504. var sp = stackSave();
  15505. try {
  15506. return Module["dynCall_diddi"](index, a1, a2, a3, a4);
  15507. } catch (e) {
  15508. stackRestore(sp);
  15509. if (typeof e !== "number" && e !== "longjmp") throw e;
  15510. Module["setThrew"](1, 0);
  15511. }
  15512. }
  15513. function invoke_didi(index, a1, a2, a3) {
  15514. var sp = stackSave();
  15515. try {
  15516. return Module["dynCall_didi"](index, a1, a2, a3);
  15517. } catch (e) {
  15518. stackRestore(sp);
  15519. if (typeof e !== "number" && e !== "longjmp") throw e;
  15520. Module["setThrew"](1, 0);
  15521. }
  15522. }
  15523. function invoke_dii(index, a1, a2) {
  15524. var sp = stackSave();
  15525. try {
  15526. return Module["dynCall_dii"](index, a1, a2);
  15527. } catch (e) {
  15528. stackRestore(sp);
  15529. if (typeof e !== "number" && e !== "longjmp") throw e;
  15530. Module["setThrew"](1, 0);
  15531. }
  15532. }
  15533. function invoke_diii(index, a1, a2, a3) {
  15534. var sp = stackSave();
  15535. try {
  15536. return Module["dynCall_diii"](index, a1, a2, a3);
  15537. } catch (e) {
  15538. stackRestore(sp);
  15539. if (typeof e !== "number" && e !== "longjmp") throw e;
  15540. Module["setThrew"](1, 0);
  15541. }
  15542. }
  15543. function invoke_diiii(index, a1, a2, a3, a4) {
  15544. var sp = stackSave();
  15545. try {
  15546. return Module["dynCall_diiii"](index, a1, a2, a3, a4);
  15547. } catch (e) {
  15548. stackRestore(sp);
  15549. if (typeof e !== "number" && e !== "longjmp") throw e;
  15550. Module["setThrew"](1, 0);
  15551. }
  15552. }
  15553. function invoke_dji(index, a1, a2, a3) {
  15554. var sp = stackSave();
  15555. try {
  15556. return Module["dynCall_dji"](index, a1, a2, a3);
  15557. } catch (e) {
  15558. stackRestore(sp);
  15559. if (typeof e !== "number" && e !== "longjmp") throw e;
  15560. Module["setThrew"](1, 0);
  15561. }
  15562. }
  15563. function invoke_f(index) {
  15564. var sp = stackSave();
  15565. try {
  15566. return Module["dynCall_f"](index);
  15567. } catch (e) {
  15568. stackRestore(sp);
  15569. if (typeof e !== "number" && e !== "longjmp") throw e;
  15570. Module["setThrew"](1, 0);
  15571. }
  15572. }
  15573. function invoke_fdi(index, a1, a2) {
  15574. var sp = stackSave();
  15575. try {
  15576. return Module["dynCall_fdi"](index, a1, a2);
  15577. } catch (e) {
  15578. stackRestore(sp);
  15579. if (typeof e !== "number" && e !== "longjmp") throw e;
  15580. Module["setThrew"](1, 0);
  15581. }
  15582. }
  15583. function invoke_ff(index, a1) {
  15584. var sp = stackSave();
  15585. try {
  15586. return Module["dynCall_ff"](index, a1);
  15587. } catch (e) {
  15588. stackRestore(sp);
  15589. if (typeof e !== "number" && e !== "longjmp") throw e;
  15590. Module["setThrew"](1, 0);
  15591. }
  15592. }
  15593. function invoke_fff(index, a1, a2) {
  15594. var sp = stackSave();
  15595. try {
  15596. return Module["dynCall_fff"](index, a1, a2);
  15597. } catch (e) {
  15598. stackRestore(sp);
  15599. if (typeof e !== "number" && e !== "longjmp") throw e;
  15600. Module["setThrew"](1, 0);
  15601. }
  15602. }
  15603. function invoke_ffffi(index, a1, a2, a3, a4) {
  15604. var sp = stackSave();
  15605. try {
  15606. return Module["dynCall_ffffi"](index, a1, a2, a3, a4);
  15607. } catch (e) {
  15608. stackRestore(sp);
  15609. if (typeof e !== "number" && e !== "longjmp") throw e;
  15610. Module["setThrew"](1, 0);
  15611. }
  15612. }
  15613. function invoke_fffi(index, a1, a2, a3) {
  15614. var sp = stackSave();
  15615. try {
  15616. return Module["dynCall_fffi"](index, a1, a2, a3);
  15617. } catch (e) {
  15618. stackRestore(sp);
  15619. if (typeof e !== "number" && e !== "longjmp") throw e;
  15620. Module["setThrew"](1, 0);
  15621. }
  15622. }
  15623. function invoke_fffifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  15624. var sp = stackSave();
  15625. try {
  15626. return Module["dynCall_fffifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  15627. } catch (e) {
  15628. stackRestore(sp);
  15629. if (typeof e !== "number" && e !== "longjmp") throw e;
  15630. Module["setThrew"](1, 0);
  15631. }
  15632. }
  15633. function invoke_ffi(index, a1, a2) {
  15634. var sp = stackSave();
  15635. try {
  15636. return Module["dynCall_ffi"](index, a1, a2);
  15637. } catch (e) {
  15638. stackRestore(sp);
  15639. if (typeof e !== "number" && e !== "longjmp") throw e;
  15640. Module["setThrew"](1, 0);
  15641. }
  15642. }
  15643. function invoke_fi(index, a1) {
  15644. var sp = stackSave();
  15645. try {
  15646. return Module["dynCall_fi"](index, a1);
  15647. } catch (e) {
  15648. stackRestore(sp);
  15649. if (typeof e !== "number" && e !== "longjmp") throw e;
  15650. Module["setThrew"](1, 0);
  15651. }
  15652. }
  15653. function invoke_fif(index, a1, a2) {
  15654. var sp = stackSave();
  15655. try {
  15656. return Module["dynCall_fif"](index, a1, a2);
  15657. } catch (e) {
  15658. stackRestore(sp);
  15659. if (typeof e !== "number" && e !== "longjmp") throw e;
  15660. Module["setThrew"](1, 0);
  15661. }
  15662. }
  15663. function invoke_fiff(index, a1, a2, a3) {
  15664. var sp = stackSave();
  15665. try {
  15666. return Module["dynCall_fiff"](index, a1, a2, a3);
  15667. } catch (e) {
  15668. stackRestore(sp);
  15669. if (typeof e !== "number" && e !== "longjmp") throw e;
  15670. Module["setThrew"](1, 0);
  15671. }
  15672. }
  15673. function invoke_fifffi(index, a1, a2, a3, a4, a5) {
  15674. var sp = stackSave();
  15675. try {
  15676. return Module["dynCall_fifffi"](index, a1, a2, a3, a4, a5);
  15677. } catch (e) {
  15678. stackRestore(sp);
  15679. if (typeof e !== "number" && e !== "longjmp") throw e;
  15680. Module["setThrew"](1, 0);
  15681. }
  15682. }
  15683. function invoke_fiffi(index, a1, a2, a3, a4) {
  15684. var sp = stackSave();
  15685. try {
  15686. return Module["dynCall_fiffi"](index, a1, a2, a3, a4);
  15687. } catch (e) {
  15688. stackRestore(sp);
  15689. if (typeof e !== "number" && e !== "longjmp") throw e;
  15690. Module["setThrew"](1, 0);
  15691. }
  15692. }
  15693. function invoke_fifi(index, a1, a2, a3) {
  15694. var sp = stackSave();
  15695. try {
  15696. return Module["dynCall_fifi"](index, a1, a2, a3);
  15697. } catch (e) {
  15698. stackRestore(sp);
  15699. if (typeof e !== "number" && e !== "longjmp") throw e;
  15700. Module["setThrew"](1, 0);
  15701. }
  15702. }
  15703. function invoke_fifii(index, a1, a2, a3, a4) {
  15704. var sp = stackSave();
  15705. try {
  15706. return Module["dynCall_fifii"](index, a1, a2, a3, a4);
  15707. } catch (e) {
  15708. stackRestore(sp);
  15709. if (typeof e !== "number" && e !== "longjmp") throw e;
  15710. Module["setThrew"](1, 0);
  15711. }
  15712. }
  15713. function invoke_fii(index, a1, a2) {
  15714. var sp = stackSave();
  15715. try {
  15716. return Module["dynCall_fii"](index, a1, a2);
  15717. } catch (e) {
  15718. stackRestore(sp);
  15719. if (typeof e !== "number" && e !== "longjmp") throw e;
  15720. Module["setThrew"](1, 0);
  15721. }
  15722. }
  15723. function invoke_fiif(index, a1, a2, a3) {
  15724. var sp = stackSave();
  15725. try {
  15726. return Module["dynCall_fiif"](index, a1, a2, a3);
  15727. } catch (e) {
  15728. stackRestore(sp);
  15729. if (typeof e !== "number" && e !== "longjmp") throw e;
  15730. Module["setThrew"](1, 0);
  15731. }
  15732. }
  15733. function invoke_fiifi(index, a1, a2, a3, a4) {
  15734. var sp = stackSave();
  15735. try {
  15736. return Module["dynCall_fiifi"](index, a1, a2, a3, a4);
  15737. } catch (e) {
  15738. stackRestore(sp);
  15739. if (typeof e !== "number" && e !== "longjmp") throw e;
  15740. Module["setThrew"](1, 0);
  15741. }
  15742. }
  15743. function invoke_fiifii(index, a1, a2, a3, a4, a5) {
  15744. var sp = stackSave();
  15745. try {
  15746. return Module["dynCall_fiifii"](index, a1, a2, a3, a4, a5);
  15747. } catch (e) {
  15748. stackRestore(sp);
  15749. if (typeof e !== "number" && e !== "longjmp") throw e;
  15750. Module["setThrew"](1, 0);
  15751. }
  15752. }
  15753. function invoke_fiii(index, a1, a2, a3) {
  15754. var sp = stackSave();
  15755. try {
  15756. return Module["dynCall_fiii"](index, a1, a2, a3);
  15757. } catch (e) {
  15758. stackRestore(sp);
  15759. if (typeof e !== "number" && e !== "longjmp") throw e;
  15760. Module["setThrew"](1, 0);
  15761. }
  15762. }
  15763. function invoke_fiiii(index, a1, a2, a3, a4) {
  15764. var sp = stackSave();
  15765. try {
  15766. return Module["dynCall_fiiii"](index, a1, a2, a3, a4);
  15767. } catch (e) {
  15768. stackRestore(sp);
  15769. if (typeof e !== "number" && e !== "longjmp") throw e;
  15770. Module["setThrew"](1, 0);
  15771. }
  15772. }
  15773. function invoke_fiiiiiifiifif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15774. var sp = stackSave();
  15775. try {
  15776. return Module["dynCall_fiiiiiifiifif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15777. } catch (e) {
  15778. stackRestore(sp);
  15779. if (typeof e !== "number" && e !== "longjmp") throw e;
  15780. Module["setThrew"](1, 0);
  15781. }
  15782. }
  15783. function invoke_fiiiiiifiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15784. var sp = stackSave();
  15785. try {
  15786. return Module["dynCall_fiiiiiifiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15787. } catch (e) {
  15788. stackRestore(sp);
  15789. if (typeof e !== "number" && e !== "longjmp") throw e;
  15790. Module["setThrew"](1, 0);
  15791. }
  15792. }
  15793. function invoke_fji(index, a1, a2, a3) {
  15794. var sp = stackSave();
  15795. try {
  15796. return Module["dynCall_fji"](index, a1, a2, a3);
  15797. } catch (e) {
  15798. stackRestore(sp);
  15799. if (typeof e !== "number" && e !== "longjmp") throw e;
  15800. Module["setThrew"](1, 0);
  15801. }
  15802. }
  15803. function invoke_i(index) {
  15804. var sp = stackSave();
  15805. try {
  15806. return Module["dynCall_i"](index);
  15807. } catch (e) {
  15808. stackRestore(sp);
  15809. if (typeof e !== "number" && e !== "longjmp") throw e;
  15810. Module["setThrew"](1, 0);
  15811. }
  15812. }
  15813. function invoke_idi(index, a1, a2) {
  15814. var sp = stackSave();
  15815. try {
  15816. return Module["dynCall_idi"](index, a1, a2);
  15817. } catch (e) {
  15818. stackRestore(sp);
  15819. if (typeof e !== "number" && e !== "longjmp") throw e;
  15820. Module["setThrew"](1, 0);
  15821. }
  15822. }
  15823. function invoke_idiii(index, a1, a2, a3, a4) {
  15824. var sp = stackSave();
  15825. try {
  15826. return Module["dynCall_idiii"](index, a1, a2, a3, a4);
  15827. } catch (e) {
  15828. stackRestore(sp);
  15829. if (typeof e !== "number" && e !== "longjmp") throw e;
  15830. Module["setThrew"](1, 0);
  15831. }
  15832. }
  15833. function invoke_ifffi(index, a1, a2, a3, a4) {
  15834. var sp = stackSave();
  15835. try {
  15836. return Module["dynCall_ifffi"](index, a1, a2, a3, a4);
  15837. } catch (e) {
  15838. stackRestore(sp);
  15839. if (typeof e !== "number" && e !== "longjmp") throw e;
  15840. Module["setThrew"](1, 0);
  15841. }
  15842. }
  15843. function invoke_iffi(index, a1, a2, a3) {
  15844. var sp = stackSave();
  15845. try {
  15846. return Module["dynCall_iffi"](index, a1, a2, a3);
  15847. } catch (e) {
  15848. stackRestore(sp);
  15849. if (typeof e !== "number" && e !== "longjmp") throw e;
  15850. Module["setThrew"](1, 0);
  15851. }
  15852. }
  15853. function invoke_ifi(index, a1, a2) {
  15854. var sp = stackSave();
  15855. try {
  15856. return Module["dynCall_ifi"](index, a1, a2);
  15857. } catch (e) {
  15858. stackRestore(sp);
  15859. if (typeof e !== "number" && e !== "longjmp") throw e;
  15860. Module["setThrew"](1, 0);
  15861. }
  15862. }
  15863. function invoke_ifiii(index, a1, a2, a3, a4) {
  15864. var sp = stackSave();
  15865. try {
  15866. return Module["dynCall_ifiii"](index, a1, a2, a3, a4);
  15867. } catch (e) {
  15868. stackRestore(sp);
  15869. if (typeof e !== "number" && e !== "longjmp") throw e;
  15870. Module["setThrew"](1, 0);
  15871. }
  15872. }
  15873. function invoke_ii(index, a1) {
  15874. var sp = stackSave();
  15875. try {
  15876. return Module["dynCall_ii"](index, a1);
  15877. } catch (e) {
  15878. stackRestore(sp);
  15879. if (typeof e !== "number" && e !== "longjmp") throw e;
  15880. Module["setThrew"](1, 0);
  15881. }
  15882. }
  15883. function invoke_iidi(index, a1, a2, a3) {
  15884. var sp = stackSave();
  15885. try {
  15886. return Module["dynCall_iidi"](index, a1, a2, a3);
  15887. } catch (e) {
  15888. stackRestore(sp);
  15889. if (typeof e !== "number" && e !== "longjmp") throw e;
  15890. Module["setThrew"](1, 0);
  15891. }
  15892. }
  15893. function invoke_iidii(index, a1, a2, a3, a4) {
  15894. var sp = stackSave();
  15895. try {
  15896. return Module["dynCall_iidii"](index, a1, a2, a3, a4);
  15897. } catch (e) {
  15898. stackRestore(sp);
  15899. if (typeof e !== "number" && e !== "longjmp") throw e;
  15900. Module["setThrew"](1, 0);
  15901. }
  15902. }
  15903. function invoke_iif(index, a1, a2) {
  15904. var sp = stackSave();
  15905. try {
  15906. return Module["dynCall_iif"](index, a1, a2);
  15907. } catch (e) {
  15908. stackRestore(sp);
  15909. if (typeof e !== "number" && e !== "longjmp") throw e;
  15910. Module["setThrew"](1, 0);
  15911. }
  15912. }
  15913. function invoke_iifff(index, a1, a2, a3, a4) {
  15914. var sp = stackSave();
  15915. try {
  15916. return Module["dynCall_iifff"](index, a1, a2, a3, a4);
  15917. } catch (e) {
  15918. stackRestore(sp);
  15919. if (typeof e !== "number" && e !== "longjmp") throw e;
  15920. Module["setThrew"](1, 0);
  15921. }
  15922. }
  15923. function invoke_iifffi(index, a1, a2, a3, a4, a5) {
  15924. var sp = stackSave();
  15925. try {
  15926. return Module["dynCall_iifffi"](index, a1, a2, a3, a4, a5);
  15927. } catch (e) {
  15928. stackRestore(sp);
  15929. if (typeof e !== "number" && e !== "longjmp") throw e;
  15930. Module["setThrew"](1, 0);
  15931. }
  15932. }
  15933. function invoke_iiffi(index, a1, a2, a3, a4) {
  15934. var sp = stackSave();
  15935. try {
  15936. return Module["dynCall_iiffi"](index, a1, a2, a3, a4);
  15937. } catch (e) {
  15938. stackRestore(sp);
  15939. if (typeof e !== "number" && e !== "longjmp") throw e;
  15940. Module["setThrew"](1, 0);
  15941. }
  15942. }
  15943. function invoke_iifi(index, a1, a2, a3) {
  15944. var sp = stackSave();
  15945. try {
  15946. return Module["dynCall_iifi"](index, a1, a2, a3);
  15947. } catch (e) {
  15948. stackRestore(sp);
  15949. if (typeof e !== "number" && e !== "longjmp") throw e;
  15950. Module["setThrew"](1, 0);
  15951. }
  15952. }
  15953. function invoke_iifii(index, a1, a2, a3, a4) {
  15954. var sp = stackSave();
  15955. try {
  15956. return Module["dynCall_iifii"](index, a1, a2, a3, a4);
  15957. } catch (e) {
  15958. stackRestore(sp);
  15959. if (typeof e !== "number" && e !== "longjmp") throw e;
  15960. Module["setThrew"](1, 0);
  15961. }
  15962. }
  15963. function invoke_iifiii(index, a1, a2, a3, a4, a5) {
  15964. var sp = stackSave();
  15965. try {
  15966. return Module["dynCall_iifiii"](index, a1, a2, a3, a4, a5);
  15967. } catch (e) {
  15968. stackRestore(sp);
  15969. if (typeof e !== "number" && e !== "longjmp") throw e;
  15970. Module["setThrew"](1, 0);
  15971. }
  15972. }
  15973. function invoke_iifiiiijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  15974. var sp = stackSave();
  15975. try {
  15976. return Module["dynCall_iifiiiijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  15977. } catch (e) {
  15978. stackRestore(sp);
  15979. if (typeof e !== "number" && e !== "longjmp") throw e;
  15980. Module["setThrew"](1, 0);
  15981. }
  15982. }
  15983. function invoke_iii(index, a1, a2) {
  15984. var sp = stackSave();
  15985. try {
  15986. return Module["dynCall_iii"](index, a1, a2);
  15987. } catch (e) {
  15988. stackRestore(sp);
  15989. if (typeof e !== "number" && e !== "longjmp") throw e;
  15990. Module["setThrew"](1, 0);
  15991. }
  15992. }
  15993. function invoke_iiif(index, a1, a2, a3) {
  15994. var sp = stackSave();
  15995. try {
  15996. return Module["dynCall_iiif"](index, a1, a2, a3);
  15997. } catch (e) {
  15998. stackRestore(sp);
  15999. if (typeof e !== "number" && e !== "longjmp") throw e;
  16000. Module["setThrew"](1, 0);
  16001. }
  16002. }
  16003. function invoke_iiiff(index, a1, a2, a3, a4) {
  16004. var sp = stackSave();
  16005. try {
  16006. return Module["dynCall_iiiff"](index, a1, a2, a3, a4);
  16007. } catch (e) {
  16008. stackRestore(sp);
  16009. if (typeof e !== "number" && e !== "longjmp") throw e;
  16010. Module["setThrew"](1, 0);
  16011. }
  16012. }
  16013. function invoke_iiifi(index, a1, a2, a3, a4) {
  16014. var sp = stackSave();
  16015. try {
  16016. return Module["dynCall_iiifi"](index, a1, a2, a3, a4);
  16017. } catch (e) {
  16018. stackRestore(sp);
  16019. if (typeof e !== "number" && e !== "longjmp") throw e;
  16020. Module["setThrew"](1, 0);
  16021. }
  16022. }
  16023. function invoke_iiifii(index, a1, a2, a3, a4, a5) {
  16024. var sp = stackSave();
  16025. try {
  16026. return Module["dynCall_iiifii"](index, a1, a2, a3, a4, a5);
  16027. } catch (e) {
  16028. stackRestore(sp);
  16029. if (typeof e !== "number" && e !== "longjmp") throw e;
  16030. Module["setThrew"](1, 0);
  16031. }
  16032. }
  16033. function invoke_iiifiii(index, a1, a2, a3, a4, a5, a6) {
  16034. var sp = stackSave();
  16035. try {
  16036. return Module["dynCall_iiifiii"](index, a1, a2, a3, a4, a5, a6);
  16037. } catch (e) {
  16038. stackRestore(sp);
  16039. if (typeof e !== "number" && e !== "longjmp") throw e;
  16040. Module["setThrew"](1, 0);
  16041. }
  16042. }
  16043. function invoke_iiifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16044. var sp = stackSave();
  16045. try {
  16046. return Module["dynCall_iiifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16047. } catch (e) {
  16048. stackRestore(sp);
  16049. if (typeof e !== "number" && e !== "longjmp") throw e;
  16050. Module["setThrew"](1, 0);
  16051. }
  16052. }
  16053. function invoke_iiii(index, a1, a2, a3) {
  16054. var sp = stackSave();
  16055. try {
  16056. return Module["dynCall_iiii"](index, a1, a2, a3);
  16057. } catch (e) {
  16058. stackRestore(sp);
  16059. if (typeof e !== "number" && e !== "longjmp") throw e;
  16060. Module["setThrew"](1, 0);
  16061. }
  16062. }
  16063. function invoke_iiiifffffi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16064. var sp = stackSave();
  16065. try {
  16066. return Module["dynCall_iiiifffffi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16067. } catch (e) {
  16068. stackRestore(sp);
  16069. if (typeof e !== "number" && e !== "longjmp") throw e;
  16070. Module["setThrew"](1, 0);
  16071. }
  16072. }
  16073. function invoke_iiiifffffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16074. var sp = stackSave();
  16075. try {
  16076. return Module["dynCall_iiiifffffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16077. } catch (e) {
  16078. stackRestore(sp);
  16079. if (typeof e !== "number" && e !== "longjmp") throw e;
  16080. Module["setThrew"](1, 0);
  16081. }
  16082. }
  16083. function invoke_iiiifffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16084. var sp = stackSave();
  16085. try {
  16086. return Module["dynCall_iiiifffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16087. } catch (e) {
  16088. stackRestore(sp);
  16089. if (typeof e !== "number" && e !== "longjmp") throw e;
  16090. Module["setThrew"](1, 0);
  16091. }
  16092. }
  16093. function invoke_iiiifi(index, a1, a2, a3, a4, a5) {
  16094. var sp = stackSave();
  16095. try {
  16096. return Module["dynCall_iiiifi"](index, a1, a2, a3, a4, a5);
  16097. } catch (e) {
  16098. stackRestore(sp);
  16099. if (typeof e !== "number" && e !== "longjmp") throw e;
  16100. Module["setThrew"](1, 0);
  16101. }
  16102. }
  16103. function invoke_iiiifii(index, a1, a2, a3, a4, a5, a6) {
  16104. var sp = stackSave();
  16105. try {
  16106. return Module["dynCall_iiiifii"](index, a1, a2, a3, a4, a5, a6);
  16107. } catch (e) {
  16108. stackRestore(sp);
  16109. if (typeof e !== "number" && e !== "longjmp") throw e;
  16110. Module["setThrew"](1, 0);
  16111. }
  16112. }
  16113. function invoke_iiiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16114. var sp = stackSave();
  16115. try {
  16116. return Module["dynCall_iiiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16117. } catch (e) {
  16118. stackRestore(sp);
  16119. if (typeof e !== "number" && e !== "longjmp") throw e;
  16120. Module["setThrew"](1, 0);
  16121. }
  16122. }
  16123. function invoke_iiiifiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16124. var sp = stackSave();
  16125. try {
  16126. return Module["dynCall_iiiifiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16127. } catch (e) {
  16128. stackRestore(sp);
  16129. if (typeof e !== "number" && e !== "longjmp") throw e;
  16130. Module["setThrew"](1, 0);
  16131. }
  16132. }
  16133. function invoke_iiiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16134. var sp = stackSave();
  16135. try {
  16136. return Module["dynCall_iiiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16137. } catch (e) {
  16138. stackRestore(sp);
  16139. if (typeof e !== "number" && e !== "longjmp") throw e;
  16140. Module["setThrew"](1, 0);
  16141. }
  16142. }
  16143. function invoke_iiiii(index, a1, a2, a3, a4) {
  16144. var sp = stackSave();
  16145. try {
  16146. return Module["dynCall_iiiii"](index, a1, a2, a3, a4);
  16147. } catch (e) {
  16148. stackRestore(sp);
  16149. if (typeof e !== "number" && e !== "longjmp") throw e;
  16150. Module["setThrew"](1, 0);
  16151. }
  16152. }
  16153. function invoke_iiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16154. var sp = stackSave();
  16155. try {
  16156. return Module["dynCall_iiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16157. } catch (e) {
  16158. stackRestore(sp);
  16159. if (typeof e !== "number" && e !== "longjmp") throw e;
  16160. Module["setThrew"](1, 0);
  16161. }
  16162. }
  16163. function invoke_iiiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16164. var sp = stackSave();
  16165. try {
  16166. return Module["dynCall_iiiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16167. } catch (e) {
  16168. stackRestore(sp);
  16169. if (typeof e !== "number" && e !== "longjmp") throw e;
  16170. Module["setThrew"](1, 0);
  16171. }
  16172. }
  16173. function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
  16174. var sp = stackSave();
  16175. try {
  16176. return Module["dynCall_iiiiii"](index, a1, a2, a3, a4, a5);
  16177. } catch (e) {
  16178. stackRestore(sp);
  16179. if (typeof e !== "number" && e !== "longjmp") throw e;
  16180. Module["setThrew"](1, 0);
  16181. }
  16182. }
  16183. function invoke_iiiiiifff(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16184. var sp = stackSave();
  16185. try {
  16186. return Module["dynCall_iiiiiifff"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16187. } catch (e) {
  16188. stackRestore(sp);
  16189. if (typeof e !== "number" && e !== "longjmp") throw e;
  16190. Module["setThrew"](1, 0);
  16191. }
  16192. }
  16193. function invoke_iiiiiifffiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  16194. var sp = stackSave();
  16195. try {
  16196. return Module["dynCall_iiiiiifffiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  16197. } catch (e) {
  16198. stackRestore(sp);
  16199. if (typeof e !== "number" && e !== "longjmp") throw e;
  16200. Module["setThrew"](1, 0);
  16201. }
  16202. }
  16203. function invoke_iiiiiiffiiiiiiiiiffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23) {
  16204. var sp = stackSave();
  16205. try {
  16206. return Module["dynCall_iiiiiiffiiiiiiiiiffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23);
  16207. } catch (e) {
  16208. stackRestore(sp);
  16209. if (typeof e !== "number" && e !== "longjmp") throw e;
  16210. Module["setThrew"](1, 0);
  16211. }
  16212. }
  16213. function invoke_iiiiiiffiiiiiiiiiffffiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24) {
  16214. var sp = stackSave();
  16215. try {
  16216. return Module["dynCall_iiiiiiffiiiiiiiiiffffiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24);
  16217. } catch (e) {
  16218. stackRestore(sp);
  16219. if (typeof e !== "number" && e !== "longjmp") throw e;
  16220. Module["setThrew"](1, 0);
  16221. }
  16222. }
  16223. function invoke_iiiiiiffiiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22) {
  16224. var sp = stackSave();
  16225. try {
  16226. return Module["dynCall_iiiiiiffiiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22);
  16227. } catch (e) {
  16228. stackRestore(sp);
  16229. if (typeof e !== "number" && e !== "longjmp") throw e;
  16230. Module["setThrew"](1, 0);
  16231. }
  16232. }
  16233. function invoke_iiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16234. var sp = stackSave();
  16235. try {
  16236. return Module["dynCall_iiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16237. } catch (e) {
  16238. stackRestore(sp);
  16239. if (typeof e !== "number" && e !== "longjmp") throw e;
  16240. Module["setThrew"](1, 0);
  16241. }
  16242. }
  16243. function invoke_iiiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16244. var sp = stackSave();
  16245. try {
  16246. return Module["dynCall_iiiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16247. } catch (e) {
  16248. stackRestore(sp);
  16249. if (typeof e !== "number" && e !== "longjmp") throw e;
  16250. Module["setThrew"](1, 0);
  16251. }
  16252. }
  16253. function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16254. var sp = stackSave();
  16255. try {
  16256. return Module["dynCall_iiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16257. } catch (e) {
  16258. stackRestore(sp);
  16259. if (typeof e !== "number" && e !== "longjmp") throw e;
  16260. Module["setThrew"](1, 0);
  16261. }
  16262. }
  16263. function invoke_iiiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16264. var sp = stackSave();
  16265. try {
  16266. return Module["dynCall_iiiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16267. } catch (e) {
  16268. stackRestore(sp);
  16269. if (typeof e !== "number" && e !== "longjmp") throw e;
  16270. Module["setThrew"](1, 0);
  16271. }
  16272. }
  16273. function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16274. var sp = stackSave();
  16275. try {
  16276. return Module["dynCall_iiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16277. } catch (e) {
  16278. stackRestore(sp);
  16279. if (typeof e !== "number" && e !== "longjmp") throw e;
  16280. Module["setThrew"](1, 0);
  16281. }
  16282. }
  16283. function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16284. var sp = stackSave();
  16285. try {
  16286. return Module["dynCall_iiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16287. } catch (e) {
  16288. stackRestore(sp);
  16289. if (typeof e !== "number" && e !== "longjmp") throw e;
  16290. Module["setThrew"](1, 0);
  16291. }
  16292. }
  16293. function invoke_iiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16294. var sp = stackSave();
  16295. try {
  16296. return Module["dynCall_iiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16297. } catch (e) {
  16298. stackRestore(sp);
  16299. if (typeof e !== "number" && e !== "longjmp") throw e;
  16300. Module["setThrew"](1, 0);
  16301. }
  16302. }
  16303. function invoke_iiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16304. var sp = stackSave();
  16305. try {
  16306. return Module["dynCall_iiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16307. } catch (e) {
  16308. stackRestore(sp);
  16309. if (typeof e !== "number" && e !== "longjmp") throw e;
  16310. Module["setThrew"](1, 0);
  16311. }
  16312. }
  16313. function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16314. var sp = stackSave();
  16315. try {
  16316. return Module["dynCall_iiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16317. } catch (e) {
  16318. stackRestore(sp);
  16319. if (typeof e !== "number" && e !== "longjmp") throw e;
  16320. Module["setThrew"](1, 0);
  16321. }
  16322. }
  16323. function invoke_iiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  16324. var sp = stackSave();
  16325. try {
  16326. return Module["dynCall_iiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  16327. } catch (e) {
  16328. stackRestore(sp);
  16329. if (typeof e !== "number" && e !== "longjmp") throw e;
  16330. Module["setThrew"](1, 0);
  16331. }
  16332. }
  16333. function invoke_iiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  16334. var sp = stackSave();
  16335. try {
  16336. return Module["dynCall_iiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  16337. } catch (e) {
  16338. stackRestore(sp);
  16339. if (typeof e !== "number" && e !== "longjmp") throw e;
  16340. Module["setThrew"](1, 0);
  16341. }
  16342. }
  16343. function invoke_iiiiiji(index, a1, a2, a3, a4, a5, a6, a7) {
  16344. var sp = stackSave();
  16345. try {
  16346. return Module["dynCall_iiiiiji"](index, a1, a2, a3, a4, a5, a6, a7);
  16347. } catch (e) {
  16348. stackRestore(sp);
  16349. if (typeof e !== "number" && e !== "longjmp") throw e;
  16350. Module["setThrew"](1, 0);
  16351. }
  16352. }
  16353. function invoke_iiiij(index, a1, a2, a3, a4, a5) {
  16354. var sp = stackSave();
  16355. try {
  16356. return Module["dynCall_iiiij"](index, a1, a2, a3, a4, a5);
  16357. } catch (e) {
  16358. stackRestore(sp);
  16359. if (typeof e !== "number" && e !== "longjmp") throw e;
  16360. Module["setThrew"](1, 0);
  16361. }
  16362. }
  16363. function invoke_iiiiji(index, a1, a2, a3, a4, a5, a6) {
  16364. var sp = stackSave();
  16365. try {
  16366. return Module["dynCall_iiiiji"](index, a1, a2, a3, a4, a5, a6);
  16367. } catch (e) {
  16368. stackRestore(sp);
  16369. if (typeof e !== "number" && e !== "longjmp") throw e;
  16370. Module["setThrew"](1, 0);
  16371. }
  16372. }
  16373. function invoke_iiiijii(index, a1, a2, a3, a4, a5, a6, a7) {
  16374. var sp = stackSave();
  16375. try {
  16376. return Module["dynCall_iiiijii"](index, a1, a2, a3, a4, a5, a6, a7);
  16377. } catch (e) {
  16378. stackRestore(sp);
  16379. if (typeof e !== "number" && e !== "longjmp") throw e;
  16380. Module["setThrew"](1, 0);
  16381. }
  16382. }
  16383. function invoke_iiiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16384. var sp = stackSave();
  16385. try {
  16386. return Module["dynCall_iiiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16387. } catch (e) {
  16388. stackRestore(sp);
  16389. if (typeof e !== "number" && e !== "longjmp") throw e;
  16390. Module["setThrew"](1, 0);
  16391. }
  16392. }
  16393. function invoke_iiij(index, a1, a2, a3, a4) {
  16394. var sp = stackSave();
  16395. try {
  16396. return Module["dynCall_iiij"](index, a1, a2, a3, a4);
  16397. } catch (e) {
  16398. stackRestore(sp);
  16399. if (typeof e !== "number" && e !== "longjmp") throw e;
  16400. Module["setThrew"](1, 0);
  16401. }
  16402. }
  16403. function invoke_iiiji(index, a1, a2, a3, a4, a5) {
  16404. var sp = stackSave();
  16405. try {
  16406. return Module["dynCall_iiiji"](index, a1, a2, a3, a4, a5);
  16407. } catch (e) {
  16408. stackRestore(sp);
  16409. if (typeof e !== "number" && e !== "longjmp") throw e;
  16410. Module["setThrew"](1, 0);
  16411. }
  16412. }
  16413. function invoke_iiijii(index, a1, a2, a3, a4, a5, a6) {
  16414. var sp = stackSave();
  16415. try {
  16416. return Module["dynCall_iiijii"](index, a1, a2, a3, a4, a5, a6);
  16417. } catch (e) {
  16418. stackRestore(sp);
  16419. if (typeof e !== "number" && e !== "longjmp") throw e;
  16420. Module["setThrew"](1, 0);
  16421. }
  16422. }
  16423. function invoke_iiijiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16424. var sp = stackSave();
  16425. try {
  16426. return Module["dynCall_iiijiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16427. } catch (e) {
  16428. stackRestore(sp);
  16429. if (typeof e !== "number" && e !== "longjmp") throw e;
  16430. Module["setThrew"](1, 0);
  16431. }
  16432. }
  16433. function invoke_iiijji(index, a1, a2, a3, a4, a5, a6, a7) {
  16434. var sp = stackSave();
  16435. try {
  16436. return Module["dynCall_iiijji"](index, a1, a2, a3, a4, a5, a6, a7);
  16437. } catch (e) {
  16438. stackRestore(sp);
  16439. if (typeof e !== "number" && e !== "longjmp") throw e;
  16440. Module["setThrew"](1, 0);
  16441. }
  16442. }
  16443. function invoke_iiijjiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16444. var sp = stackSave();
  16445. try {
  16446. return Module["dynCall_iiijjiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16447. } catch (e) {
  16448. stackRestore(sp);
  16449. if (typeof e !== "number" && e !== "longjmp") throw e;
  16450. Module["setThrew"](1, 0);
  16451. }
  16452. }
  16453. function invoke_iij(index, a1, a2, a3) {
  16454. var sp = stackSave();
  16455. try {
  16456. return Module["dynCall_iij"](index, a1, a2, a3);
  16457. } catch (e) {
  16458. stackRestore(sp);
  16459. if (typeof e !== "number" && e !== "longjmp") throw e;
  16460. Module["setThrew"](1, 0);
  16461. }
  16462. }
  16463. function invoke_iiji(index, a1, a2, a3, a4) {
  16464. var sp = stackSave();
  16465. try {
  16466. return Module["dynCall_iiji"](index, a1, a2, a3, a4);
  16467. } catch (e) {
  16468. stackRestore(sp);
  16469. if (typeof e !== "number" && e !== "longjmp") throw e;
  16470. Module["setThrew"](1, 0);
  16471. }
  16472. }
  16473. function invoke_iijii(index, a1, a2, a3, a4, a5) {
  16474. var sp = stackSave();
  16475. try {
  16476. return Module["dynCall_iijii"](index, a1, a2, a3, a4, a5);
  16477. } catch (e) {
  16478. stackRestore(sp);
  16479. if (typeof e !== "number" && e !== "longjmp") throw e;
  16480. Module["setThrew"](1, 0);
  16481. }
  16482. }
  16483. function invoke_iijiii(index, a1, a2, a3, a4, a5, a6) {
  16484. var sp = stackSave();
  16485. try {
  16486. return Module["dynCall_iijiii"](index, a1, a2, a3, a4, a5, a6);
  16487. } catch (e) {
  16488. stackRestore(sp);
  16489. if (typeof e !== "number" && e !== "longjmp") throw e;
  16490. Module["setThrew"](1, 0);
  16491. }
  16492. }
  16493. function invoke_iijji(index, a1, a2, a3, a4, a5, a6) {
  16494. var sp = stackSave();
  16495. try {
  16496. return Module["dynCall_iijji"](index, a1, a2, a3, a4, a5, a6);
  16497. } catch (e) {
  16498. stackRestore(sp);
  16499. if (typeof e !== "number" && e !== "longjmp") throw e;
  16500. Module["setThrew"](1, 0);
  16501. }
  16502. }
  16503. function invoke_iijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  16504. var sp = stackSave();
  16505. try {
  16506. return Module["dynCall_iijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  16507. } catch (e) {
  16508. stackRestore(sp);
  16509. if (typeof e !== "number" && e !== "longjmp") throw e;
  16510. Module["setThrew"](1, 0);
  16511. }
  16512. }
  16513. function invoke_iijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16514. var sp = stackSave();
  16515. try {
  16516. return Module["dynCall_iijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16517. } catch (e) {
  16518. stackRestore(sp);
  16519. if (typeof e !== "number" && e !== "longjmp") throw e;
  16520. Module["setThrew"](1, 0);
  16521. }
  16522. }
  16523. function invoke_iijjji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16524. var sp = stackSave();
  16525. try {
  16526. return Module["dynCall_iijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16527. } catch (e) {
  16528. stackRestore(sp);
  16529. if (typeof e !== "number" && e !== "longjmp") throw e;
  16530. Module["setThrew"](1, 0);
  16531. }
  16532. }
  16533. function invoke_ij(index, a1, a2) {
  16534. var sp = stackSave();
  16535. try {
  16536. return Module["dynCall_ij"](index, a1, a2);
  16537. } catch (e) {
  16538. stackRestore(sp);
  16539. if (typeof e !== "number" && e !== "longjmp") throw e;
  16540. Module["setThrew"](1, 0);
  16541. }
  16542. }
  16543. function invoke_iji(index, a1, a2, a3) {
  16544. var sp = stackSave();
  16545. try {
  16546. return Module["dynCall_iji"](index, a1, a2, a3);
  16547. } catch (e) {
  16548. stackRestore(sp);
  16549. if (typeof e !== "number" && e !== "longjmp") throw e;
  16550. Module["setThrew"](1, 0);
  16551. }
  16552. }
  16553. function invoke_ijiii(index, a1, a2, a3, a4, a5) {
  16554. var sp = stackSave();
  16555. try {
  16556. return Module["dynCall_ijiii"](index, a1, a2, a3, a4, a5);
  16557. } catch (e) {
  16558. stackRestore(sp);
  16559. if (typeof e !== "number" && e !== "longjmp") throw e;
  16560. Module["setThrew"](1, 0);
  16561. }
  16562. }
  16563. function invoke_ijj(index, a1, a2, a3, a4) {
  16564. var sp = stackSave();
  16565. try {
  16566. return Module["dynCall_ijj"](index, a1, a2, a3, a4);
  16567. } catch (e) {
  16568. stackRestore(sp);
  16569. if (typeof e !== "number" && e !== "longjmp") throw e;
  16570. Module["setThrew"](1, 0);
  16571. }
  16572. }
  16573. function invoke_ijji(index, a1, a2, a3, a4, a5) {
  16574. var sp = stackSave();
  16575. try {
  16576. return Module["dynCall_ijji"](index, a1, a2, a3, a4, a5);
  16577. } catch (e) {
  16578. stackRestore(sp);
  16579. if (typeof e !== "number" && e !== "longjmp") throw e;
  16580. Module["setThrew"](1, 0);
  16581. }
  16582. }
  16583. function invoke_j(index) {
  16584. var sp = stackSave();
  16585. try {
  16586. return Module["dynCall_j"](index);
  16587. } catch (e) {
  16588. stackRestore(sp);
  16589. if (typeof e !== "number" && e !== "longjmp") throw e;
  16590. Module["setThrew"](1, 0);
  16591. }
  16592. }
  16593. function invoke_jdi(index, a1, a2) {
  16594. var sp = stackSave();
  16595. try {
  16596. return Module["dynCall_jdi"](index, a1, a2);
  16597. } catch (e) {
  16598. stackRestore(sp);
  16599. if (typeof e !== "number" && e !== "longjmp") throw e;
  16600. Module["setThrew"](1, 0);
  16601. }
  16602. }
  16603. function invoke_jdii(index, a1, a2, a3) {
  16604. var sp = stackSave();
  16605. try {
  16606. return Module["dynCall_jdii"](index, a1, a2, a3);
  16607. } catch (e) {
  16608. stackRestore(sp);
  16609. if (typeof e !== "number" && e !== "longjmp") throw e;
  16610. Module["setThrew"](1, 0);
  16611. }
  16612. }
  16613. function invoke_jfi(index, a1, a2) {
  16614. var sp = stackSave();
  16615. try {
  16616. return Module["dynCall_jfi"](index, a1, a2);
  16617. } catch (e) {
  16618. stackRestore(sp);
  16619. if (typeof e !== "number" && e !== "longjmp") throw e;
  16620. Module["setThrew"](1, 0);
  16621. }
  16622. }
  16623. function invoke_ji(index, a1) {
  16624. var sp = stackSave();
  16625. try {
  16626. return Module["dynCall_ji"](index, a1);
  16627. } catch (e) {
  16628. stackRestore(sp);
  16629. if (typeof e !== "number" && e !== "longjmp") throw e;
  16630. Module["setThrew"](1, 0);
  16631. }
  16632. }
  16633. function invoke_jidi(index, a1, a2, a3) {
  16634. var sp = stackSave();
  16635. try {
  16636. return Module["dynCall_jidi"](index, a1, a2, a3);
  16637. } catch (e) {
  16638. stackRestore(sp);
  16639. if (typeof e !== "number" && e !== "longjmp") throw e;
  16640. Module["setThrew"](1, 0);
  16641. }
  16642. }
  16643. function invoke_jidii(index, a1, a2, a3, a4) {
  16644. var sp = stackSave();
  16645. try {
  16646. return Module["dynCall_jidii"](index, a1, a2, a3, a4);
  16647. } catch (e) {
  16648. stackRestore(sp);
  16649. if (typeof e !== "number" && e !== "longjmp") throw e;
  16650. Module["setThrew"](1, 0);
  16651. }
  16652. }
  16653. function invoke_jii(index, a1, a2) {
  16654. var sp = stackSave();
  16655. try {
  16656. return Module["dynCall_jii"](index, a1, a2);
  16657. } catch (e) {
  16658. stackRestore(sp);
  16659. if (typeof e !== "number" && e !== "longjmp") throw e;
  16660. Module["setThrew"](1, 0);
  16661. }
  16662. }
  16663. function invoke_jiii(index, a1, a2, a3) {
  16664. var sp = stackSave();
  16665. try {
  16666. return Module["dynCall_jiii"](index, a1, a2, a3);
  16667. } catch (e) {
  16668. stackRestore(sp);
  16669. if (typeof e !== "number" && e !== "longjmp") throw e;
  16670. Module["setThrew"](1, 0);
  16671. }
  16672. }
  16673. function invoke_jiiii(index, a1, a2, a3, a4) {
  16674. var sp = stackSave();
  16675. try {
  16676. return Module["dynCall_jiiii"](index, a1, a2, a3, a4);
  16677. } catch (e) {
  16678. stackRestore(sp);
  16679. if (typeof e !== "number" && e !== "longjmp") throw e;
  16680. Module["setThrew"](1, 0);
  16681. }
  16682. }
  16683. function invoke_jiiiii(index, a1, a2, a3, a4, a5) {
  16684. var sp = stackSave();
  16685. try {
  16686. return Module["dynCall_jiiiii"](index, a1, a2, a3, a4, a5);
  16687. } catch (e) {
  16688. stackRestore(sp);
  16689. if (typeof e !== "number" && e !== "longjmp") throw e;
  16690. Module["setThrew"](1, 0);
  16691. }
  16692. }
  16693. function invoke_jiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16694. var sp = stackSave();
  16695. try {
  16696. return Module["dynCall_jiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16697. } catch (e) {
  16698. stackRestore(sp);
  16699. if (typeof e !== "number" && e !== "longjmp") throw e;
  16700. Module["setThrew"](1, 0);
  16701. }
  16702. }
  16703. function invoke_jiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16704. var sp = stackSave();
  16705. try {
  16706. return Module["dynCall_jiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16707. } catch (e) {
  16708. stackRestore(sp);
  16709. if (typeof e !== "number" && e !== "longjmp") throw e;
  16710. Module["setThrew"](1, 0);
  16711. }
  16712. }
  16713. function invoke_jiiji(index, a1, a2, a3, a4, a5) {
  16714. var sp = stackSave();
  16715. try {
  16716. return Module["dynCall_jiiji"](index, a1, a2, a3, a4, a5);
  16717. } catch (e) {
  16718. stackRestore(sp);
  16719. if (typeof e !== "number" && e !== "longjmp") throw e;
  16720. Module["setThrew"](1, 0);
  16721. }
  16722. }
  16723. function invoke_jiji(index, a1, a2, a3, a4) {
  16724. var sp = stackSave();
  16725. try {
  16726. return Module["dynCall_jiji"](index, a1, a2, a3, a4);
  16727. } catch (e) {
  16728. stackRestore(sp);
  16729. if (typeof e !== "number" && e !== "longjmp") throw e;
  16730. Module["setThrew"](1, 0);
  16731. }
  16732. }
  16733. function invoke_jijii(index, a1, a2, a3, a4, a5) {
  16734. var sp = stackSave();
  16735. try {
  16736. return Module["dynCall_jijii"](index, a1, a2, a3, a4, a5);
  16737. } catch (e) {
  16738. stackRestore(sp);
  16739. if (typeof e !== "number" && e !== "longjmp") throw e;
  16740. Module["setThrew"](1, 0);
  16741. }
  16742. }
  16743. function invoke_jijiii(index, a1, a2, a3, a4, a5, a6) {
  16744. var sp = stackSave();
  16745. try {
  16746. return Module["dynCall_jijiii"](index, a1, a2, a3, a4, a5, a6);
  16747. } catch (e) {
  16748. stackRestore(sp);
  16749. if (typeof e !== "number" && e !== "longjmp") throw e;
  16750. Module["setThrew"](1, 0);
  16751. }
  16752. }
  16753. function invoke_jijj(index, a1, a2, a3, a4, a5) {
  16754. var sp = stackSave();
  16755. try {
  16756. return Module["dynCall_jijj"](index, a1, a2, a3, a4, a5);
  16757. } catch (e) {
  16758. stackRestore(sp);
  16759. if (typeof e !== "number" && e !== "longjmp") throw e;
  16760. Module["setThrew"](1, 0);
  16761. }
  16762. }
  16763. function invoke_jijji(index, a1, a2, a3, a4, a5, a6) {
  16764. var sp = stackSave();
  16765. try {
  16766. return Module["dynCall_jijji"](index, a1, a2, a3, a4, a5, a6);
  16767. } catch (e) {
  16768. stackRestore(sp);
  16769. if (typeof e !== "number" && e !== "longjmp") throw e;
  16770. Module["setThrew"](1, 0);
  16771. }
  16772. }
  16773. function invoke_jji(index, a1, a2, a3) {
  16774. var sp = stackSave();
  16775. try {
  16776. return Module["dynCall_jji"](index, a1, a2, a3);
  16777. } catch (e) {
  16778. stackRestore(sp);
  16779. if (typeof e !== "number" && e !== "longjmp") throw e;
  16780. Module["setThrew"](1, 0);
  16781. }
  16782. }
  16783. function invoke_v(index) {
  16784. var sp = stackSave();
  16785. try {
  16786. Module["dynCall_v"](index);
  16787. } catch (e) {
  16788. stackRestore(sp);
  16789. if (typeof e !== "number" && e !== "longjmp") throw e;
  16790. Module["setThrew"](1, 0);
  16791. }
  16792. }
  16793. function invoke_vd(index, a1) {
  16794. var sp = stackSave();
  16795. try {
  16796. Module["dynCall_vd"](index, a1);
  16797. } catch (e) {
  16798. stackRestore(sp);
  16799. if (typeof e !== "number" && e !== "longjmp") throw e;
  16800. Module["setThrew"](1, 0);
  16801. }
  16802. }
  16803. function invoke_vf(index, a1) {
  16804. var sp = stackSave();
  16805. try {
  16806. Module["dynCall_vf"](index, a1);
  16807. } catch (e) {
  16808. stackRestore(sp);
  16809. if (typeof e !== "number" && e !== "longjmp") throw e;
  16810. Module["setThrew"](1, 0);
  16811. }
  16812. }
  16813. function invoke_vff(index, a1, a2) {
  16814. var sp = stackSave();
  16815. try {
  16816. Module["dynCall_vff"](index, a1, a2);
  16817. } catch (e) {
  16818. stackRestore(sp);
  16819. if (typeof e !== "number" && e !== "longjmp") throw e;
  16820. Module["setThrew"](1, 0);
  16821. }
  16822. }
  16823. function invoke_vffff(index, a1, a2, a3, a4) {
  16824. var sp = stackSave();
  16825. try {
  16826. Module["dynCall_vffff"](index, a1, a2, a3, a4);
  16827. } catch (e) {
  16828. stackRestore(sp);
  16829. if (typeof e !== "number" && e !== "longjmp") throw e;
  16830. Module["setThrew"](1, 0);
  16831. }
  16832. }
  16833. function invoke_vfi(index, a1, a2) {
  16834. var sp = stackSave();
  16835. try {
  16836. Module["dynCall_vfi"](index, a1, a2);
  16837. } catch (e) {
  16838. stackRestore(sp);
  16839. if (typeof e !== "number" && e !== "longjmp") throw e;
  16840. Module["setThrew"](1, 0);
  16841. }
  16842. }
  16843. function invoke_vi(index, a1) {
  16844. var sp = stackSave();
  16845. try {
  16846. Module["dynCall_vi"](index, a1);
  16847. } catch (e) {
  16848. stackRestore(sp);
  16849. if (typeof e !== "number" && e !== "longjmp") throw e;
  16850. Module["setThrew"](1, 0);
  16851. }
  16852. }
  16853. function invoke_vid(index, a1, a2) {
  16854. var sp = stackSave();
  16855. try {
  16856. Module["dynCall_vid"](index, a1, a2);
  16857. } catch (e) {
  16858. stackRestore(sp);
  16859. if (typeof e !== "number" && e !== "longjmp") throw e;
  16860. Module["setThrew"](1, 0);
  16861. }
  16862. }
  16863. function invoke_vidi(index, a1, a2, a3) {
  16864. var sp = stackSave();
  16865. try {
  16866. Module["dynCall_vidi"](index, a1, a2, a3);
  16867. } catch (e) {
  16868. stackRestore(sp);
  16869. if (typeof e !== "number" && e !== "longjmp") throw e;
  16870. Module["setThrew"](1, 0);
  16871. }
  16872. }
  16873. function invoke_vif(index, a1, a2) {
  16874. var sp = stackSave();
  16875. try {
  16876. Module["dynCall_vif"](index, a1, a2);
  16877. } catch (e) {
  16878. stackRestore(sp);
  16879. if (typeof e !== "number" && e !== "longjmp") throw e;
  16880. Module["setThrew"](1, 0);
  16881. }
  16882. }
  16883. function invoke_viff(index, a1, a2, a3) {
  16884. var sp = stackSave();
  16885. try {
  16886. Module["dynCall_viff"](index, a1, a2, a3);
  16887. } catch (e) {
  16888. stackRestore(sp);
  16889. if (typeof e !== "number" && e !== "longjmp") throw e;
  16890. Module["setThrew"](1, 0);
  16891. }
  16892. }
  16893. function invoke_vifff(index, a1, a2, a3, a4) {
  16894. var sp = stackSave();
  16895. try {
  16896. Module["dynCall_vifff"](index, a1, a2, a3, a4);
  16897. } catch (e) {
  16898. stackRestore(sp);
  16899. if (typeof e !== "number" && e !== "longjmp") throw e;
  16900. Module["setThrew"](1, 0);
  16901. }
  16902. }
  16903. function invoke_viffff(index, a1, a2, a3, a4, a5) {
  16904. var sp = stackSave();
  16905. try {
  16906. Module["dynCall_viffff"](index, a1, a2, a3, a4, a5);
  16907. } catch (e) {
  16908. stackRestore(sp);
  16909. if (typeof e !== "number" && e !== "longjmp") throw e;
  16910. Module["setThrew"](1, 0);
  16911. }
  16912. }
  16913. function invoke_viffffi(index, a1, a2, a3, a4, a5, a6) {
  16914. var sp = stackSave();
  16915. try {
  16916. Module["dynCall_viffffi"](index, a1, a2, a3, a4, a5, a6);
  16917. } catch (e) {
  16918. stackRestore(sp);
  16919. if (typeof e !== "number" && e !== "longjmp") throw e;
  16920. Module["setThrew"](1, 0);
  16921. }
  16922. }
  16923. function invoke_viffffii(index, a1, a2, a3, a4, a5, a6, a7) {
  16924. var sp = stackSave();
  16925. try {
  16926. Module["dynCall_viffffii"](index, a1, a2, a3, a4, a5, a6, a7);
  16927. } catch (e) {
  16928. stackRestore(sp);
  16929. if (typeof e !== "number" && e !== "longjmp") throw e;
  16930. Module["setThrew"](1, 0);
  16931. }
  16932. }
  16933. function invoke_viffffiifffiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
  16934. var sp = stackSave();
  16935. try {
  16936. Module["dynCall_viffffiifffiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);
  16937. } catch (e) {
  16938. stackRestore(sp);
  16939. if (typeof e !== "number" && e !== "longjmp") throw e;
  16940. Module["setThrew"](1, 0);
  16941. }
  16942. }
  16943. function invoke_viffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16944. var sp = stackSave();
  16945. try {
  16946. Module["dynCall_viffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16947. } catch (e) {
  16948. stackRestore(sp);
  16949. if (typeof e !== "number" && e !== "longjmp") throw e;
  16950. Module["setThrew"](1, 0);
  16951. }
  16952. }
  16953. function invoke_vifffi(index, a1, a2, a3, a4, a5) {
  16954. var sp = stackSave();
  16955. try {
  16956. Module["dynCall_vifffi"](index, a1, a2, a3, a4, a5);
  16957. } catch (e) {
  16958. stackRestore(sp);
  16959. if (typeof e !== "number" && e !== "longjmp") throw e;
  16960. Module["setThrew"](1, 0);
  16961. }
  16962. }
  16963. function invoke_vifffii(index, a1, a2, a3, a4, a5, a6) {
  16964. var sp = stackSave();
  16965. try {
  16966. Module["dynCall_vifffii"](index, a1, a2, a3, a4, a5, a6);
  16967. } catch (e) {
  16968. stackRestore(sp);
  16969. if (typeof e !== "number" && e !== "longjmp") throw e;
  16970. Module["setThrew"](1, 0);
  16971. }
  16972. }
  16973. function invoke_viffi(index, a1, a2, a3, a4) {
  16974. var sp = stackSave();
  16975. try {
  16976. Module["dynCall_viffi"](index, a1, a2, a3, a4);
  16977. } catch (e) {
  16978. stackRestore(sp);
  16979. if (typeof e !== "number" && e !== "longjmp") throw e;
  16980. Module["setThrew"](1, 0);
  16981. }
  16982. }
  16983. function invoke_viffii(index, a1, a2, a3, a4, a5) {
  16984. var sp = stackSave();
  16985. try {
  16986. Module["dynCall_viffii"](index, a1, a2, a3, a4, a5);
  16987. } catch (e) {
  16988. stackRestore(sp);
  16989. if (typeof e !== "number" && e !== "longjmp") throw e;
  16990. Module["setThrew"](1, 0);
  16991. }
  16992. }
  16993. function invoke_viffiifffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  16994. var sp = stackSave();
  16995. try {
  16996. Module["dynCall_viffiifffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  16997. } catch (e) {
  16998. stackRestore(sp);
  16999. if (typeof e !== "number" && e !== "longjmp") throw e;
  17000. Module["setThrew"](1, 0);
  17001. }
  17002. }
  17003. function invoke_viffiii(index, a1, a2, a3, a4, a5, a6) {
  17004. var sp = stackSave();
  17005. try {
  17006. Module["dynCall_viffiii"](index, a1, a2, a3, a4, a5, a6);
  17007. } catch (e) {
  17008. stackRestore(sp);
  17009. if (typeof e !== "number" && e !== "longjmp") throw e;
  17010. Module["setThrew"](1, 0);
  17011. }
  17012. }
  17013. function invoke_viffiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17014. var sp = stackSave();
  17015. try {
  17016. Module["dynCall_viffiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17017. } catch (e) {
  17018. stackRestore(sp);
  17019. if (typeof e !== "number" && e !== "longjmp") throw e;
  17020. Module["setThrew"](1, 0);
  17021. }
  17022. }
  17023. function invoke_vifi(index, a1, a2, a3) {
  17024. var sp = stackSave();
  17025. try {
  17026. Module["dynCall_vifi"](index, a1, a2, a3);
  17027. } catch (e) {
  17028. stackRestore(sp);
  17029. if (typeof e !== "number" && e !== "longjmp") throw e;
  17030. Module["setThrew"](1, 0);
  17031. }
  17032. }
  17033. function invoke_vifii(index, a1, a2, a3, a4) {
  17034. var sp = stackSave();
  17035. try {
  17036. Module["dynCall_vifii"](index, a1, a2, a3, a4);
  17037. } catch (e) {
  17038. stackRestore(sp);
  17039. if (typeof e !== "number" && e !== "longjmp") throw e;
  17040. Module["setThrew"](1, 0);
  17041. }
  17042. }
  17043. function invoke_vifiiii(index, a1, a2, a3, a4, a5, a6) {
  17044. var sp = stackSave();
  17045. try {
  17046. Module["dynCall_vifiiii"](index, a1, a2, a3, a4, a5, a6);
  17047. } catch (e) {
  17048. stackRestore(sp);
  17049. if (typeof e !== "number" && e !== "longjmp") throw e;
  17050. Module["setThrew"](1, 0);
  17051. }
  17052. }
  17053. function invoke_vifijii(index, a1, a2, a3, a4, a5, a6, a7) {
  17054. var sp = stackSave();
  17055. try {
  17056. Module["dynCall_vifijii"](index, a1, a2, a3, a4, a5, a6, a7);
  17057. } catch (e) {
  17058. stackRestore(sp);
  17059. if (typeof e !== "number" && e !== "longjmp") throw e;
  17060. Module["setThrew"](1, 0);
  17061. }
  17062. }
  17063. function invoke_vii(index, a1, a2) {
  17064. var sp = stackSave();
  17065. try {
  17066. Module["dynCall_vii"](index, a1, a2);
  17067. } catch (e) {
  17068. stackRestore(sp);
  17069. if (typeof e !== "number" && e !== "longjmp") throw e;
  17070. Module["setThrew"](1, 0);
  17071. }
  17072. }
  17073. function invoke_viid(index, a1, a2, a3) {
  17074. var sp = stackSave();
  17075. try {
  17076. Module["dynCall_viid"](index, a1, a2, a3);
  17077. } catch (e) {
  17078. stackRestore(sp);
  17079. if (typeof e !== "number" && e !== "longjmp") throw e;
  17080. Module["setThrew"](1, 0);
  17081. }
  17082. }
  17083. function invoke_viidi(index, a1, a2, a3, a4) {
  17084. var sp = stackSave();
  17085. try {
  17086. Module["dynCall_viidi"](index, a1, a2, a3, a4);
  17087. } catch (e) {
  17088. stackRestore(sp);
  17089. if (typeof e !== "number" && e !== "longjmp") throw e;
  17090. Module["setThrew"](1, 0);
  17091. }
  17092. }
  17093. function invoke_viidii(index, a1, a2, a3, a4, a5) {
  17094. var sp = stackSave();
  17095. try {
  17096. Module["dynCall_viidii"](index, a1, a2, a3, a4, a5);
  17097. } catch (e) {
  17098. stackRestore(sp);
  17099. if (typeof e !== "number" && e !== "longjmp") throw e;
  17100. Module["setThrew"](1, 0);
  17101. }
  17102. }
  17103. function invoke_viif(index, a1, a2, a3) {
  17104. var sp = stackSave();
  17105. try {
  17106. Module["dynCall_viif"](index, a1, a2, a3);
  17107. } catch (e) {
  17108. stackRestore(sp);
  17109. if (typeof e !== "number" && e !== "longjmp") throw e;
  17110. Module["setThrew"](1, 0);
  17111. }
  17112. }
  17113. function invoke_viiff(index, a1, a2, a3, a4) {
  17114. var sp = stackSave();
  17115. try {
  17116. Module["dynCall_viiff"](index, a1, a2, a3, a4);
  17117. } catch (e) {
  17118. stackRestore(sp);
  17119. if (typeof e !== "number" && e !== "longjmp") throw e;
  17120. Module["setThrew"](1, 0);
  17121. }
  17122. }
  17123. function invoke_viifff(index, a1, a2, a3, a4, a5) {
  17124. var sp = stackSave();
  17125. try {
  17126. Module["dynCall_viifff"](index, a1, a2, a3, a4, a5);
  17127. } catch (e) {
  17128. stackRestore(sp);
  17129. if (typeof e !== "number" && e !== "longjmp") throw e;
  17130. Module["setThrew"](1, 0);
  17131. }
  17132. }
  17133. function invoke_viifffi(index, a1, a2, a3, a4, a5, a6) {
  17134. var sp = stackSave();
  17135. try {
  17136. Module["dynCall_viifffi"](index, a1, a2, a3, a4, a5, a6);
  17137. } catch (e) {
  17138. stackRestore(sp);
  17139. if (typeof e !== "number" && e !== "longjmp") throw e;
  17140. Module["setThrew"](1, 0);
  17141. }
  17142. }
  17143. function invoke_viiffi(index, a1, a2, a3, a4, a5) {
  17144. var sp = stackSave();
  17145. try {
  17146. Module["dynCall_viiffi"](index, a1, a2, a3, a4, a5);
  17147. } catch (e) {
  17148. stackRestore(sp);
  17149. if (typeof e !== "number" && e !== "longjmp") throw e;
  17150. Module["setThrew"](1, 0);
  17151. }
  17152. }
  17153. function invoke_viiffii(index, a1, a2, a3, a4, a5, a6) {
  17154. var sp = stackSave();
  17155. try {
  17156. Module["dynCall_viiffii"](index, a1, a2, a3, a4, a5, a6);
  17157. } catch (e) {
  17158. stackRestore(sp);
  17159. if (typeof e !== "number" && e !== "longjmp") throw e;
  17160. Module["setThrew"](1, 0);
  17161. }
  17162. }
  17163. function invoke_viifi(index, a1, a2, a3, a4) {
  17164. var sp = stackSave();
  17165. try {
  17166. Module["dynCall_viifi"](index, a1, a2, a3, a4);
  17167. } catch (e) {
  17168. stackRestore(sp);
  17169. if (typeof e !== "number" && e !== "longjmp") throw e;
  17170. Module["setThrew"](1, 0);
  17171. }
  17172. }
  17173. function invoke_viifii(index, a1, a2, a3, a4, a5) {
  17174. var sp = stackSave();
  17175. try {
  17176. Module["dynCall_viifii"](index, a1, a2, a3, a4, a5);
  17177. } catch (e) {
  17178. stackRestore(sp);
  17179. if (typeof e !== "number" && e !== "longjmp") throw e;
  17180. Module["setThrew"](1, 0);
  17181. }
  17182. }
  17183. function invoke_viifiii(index, a1, a2, a3, a4, a5, a6) {
  17184. var sp = stackSave();
  17185. try {
  17186. Module["dynCall_viifiii"](index, a1, a2, a3, a4, a5, a6);
  17187. } catch (e) {
  17188. stackRestore(sp);
  17189. if (typeof e !== "number" && e !== "longjmp") throw e;
  17190. Module["setThrew"](1, 0);
  17191. }
  17192. }
  17193. function invoke_viifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17194. var sp = stackSave();
  17195. try {
  17196. Module["dynCall_viifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17197. } catch (e) {
  17198. stackRestore(sp);
  17199. if (typeof e !== "number" && e !== "longjmp") throw e;
  17200. Module["setThrew"](1, 0);
  17201. }
  17202. }
  17203. function invoke_viii(index, a1, a2, a3) {
  17204. var sp = stackSave();
  17205. try {
  17206. Module["dynCall_viii"](index, a1, a2, a3);
  17207. } catch (e) {
  17208. stackRestore(sp);
  17209. if (typeof e !== "number" && e !== "longjmp") throw e;
  17210. Module["setThrew"](1, 0);
  17211. }
  17212. }
  17213. function invoke_viiidi(index, a1, a2, a3, a4, a5) {
  17214. var sp = stackSave();
  17215. try {
  17216. Module["dynCall_viiidi"](index, a1, a2, a3, a4, a5);
  17217. } catch (e) {
  17218. stackRestore(sp);
  17219. if (typeof e !== "number" && e !== "longjmp") throw e;
  17220. Module["setThrew"](1, 0);
  17221. }
  17222. }
  17223. function invoke_viiifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  17224. var sp = stackSave();
  17225. try {
  17226. Module["dynCall_viiifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  17227. } catch (e) {
  17228. stackRestore(sp);
  17229. if (typeof e !== "number" && e !== "longjmp") throw e;
  17230. Module["setThrew"](1, 0);
  17231. }
  17232. }
  17233. function invoke_viiiffi(index, a1, a2, a3, a4, a5, a6) {
  17234. var sp = stackSave();
  17235. try {
  17236. Module["dynCall_viiiffi"](index, a1, a2, a3, a4, a5, a6);
  17237. } catch (e) {
  17238. stackRestore(sp);
  17239. if (typeof e !== "number" && e !== "longjmp") throw e;
  17240. Module["setThrew"](1, 0);
  17241. }
  17242. }
  17243. function invoke_viiiffii(index, a1, a2, a3, a4, a5, a6, a7) {
  17244. var sp = stackSave();
  17245. try {
  17246. Module["dynCall_viiiffii"](index, a1, a2, a3, a4, a5, a6, a7);
  17247. } catch (e) {
  17248. stackRestore(sp);
  17249. if (typeof e !== "number" && e !== "longjmp") throw e;
  17250. Module["setThrew"](1, 0);
  17251. }
  17252. }
  17253. function invoke_viiifi(index, a1, a2, a3, a4, a5) {
  17254. var sp = stackSave();
  17255. try {
  17256. Module["dynCall_viiifi"](index, a1, a2, a3, a4, a5);
  17257. } catch (e) {
  17258. stackRestore(sp);
  17259. if (typeof e !== "number" && e !== "longjmp") throw e;
  17260. Module["setThrew"](1, 0);
  17261. }
  17262. }
  17263. function invoke_viiifii(index, a1, a2, a3, a4, a5, a6) {
  17264. var sp = stackSave();
  17265. try {
  17266. Module["dynCall_viiifii"](index, a1, a2, a3, a4, a5, a6);
  17267. } catch (e) {
  17268. stackRestore(sp);
  17269. if (typeof e !== "number" && e !== "longjmp") throw e;
  17270. Module["setThrew"](1, 0);
  17271. }
  17272. }
  17273. function invoke_viiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17274. var sp = stackSave();
  17275. try {
  17276. Module["dynCall_viiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17277. } catch (e) {
  17278. stackRestore(sp);
  17279. if (typeof e !== "number" && e !== "longjmp") throw e;
  17280. Module["setThrew"](1, 0);
  17281. }
  17282. }
  17283. function invoke_viiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17284. var sp = stackSave();
  17285. try {
  17286. Module["dynCall_viiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17287. } catch (e) {
  17288. stackRestore(sp);
  17289. if (typeof e !== "number" && e !== "longjmp") throw e;
  17290. Module["setThrew"](1, 0);
  17291. }
  17292. }
  17293. function invoke_viiii(index, a1, a2, a3, a4) {
  17294. var sp = stackSave();
  17295. try {
  17296. Module["dynCall_viiii"](index, a1, a2, a3, a4);
  17297. } catch (e) {
  17298. stackRestore(sp);
  17299. if (typeof e !== "number" && e !== "longjmp") throw e;
  17300. Module["setThrew"](1, 0);
  17301. }
  17302. }
  17303. function invoke_viiiif(index, a1, a2, a3, a4, a5) {
  17304. var sp = stackSave();
  17305. try {
  17306. Module["dynCall_viiiif"](index, a1, a2, a3, a4, a5);
  17307. } catch (e) {
  17308. stackRestore(sp);
  17309. if (typeof e !== "number" && e !== "longjmp") throw e;
  17310. Module["setThrew"](1, 0);
  17311. }
  17312. }
  17313. function invoke_viiiifii(index, a1, a2, a3, a4, a5, a6, a7) {
  17314. var sp = stackSave();
  17315. try {
  17316. Module["dynCall_viiiifii"](index, a1, a2, a3, a4, a5, a6, a7);
  17317. } catch (e) {
  17318. stackRestore(sp);
  17319. if (typeof e !== "number" && e !== "longjmp") throw e;
  17320. Module["setThrew"](1, 0);
  17321. }
  17322. }
  17323. function invoke_viiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17324. var sp = stackSave();
  17325. try {
  17326. Module["dynCall_viiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17327. } catch (e) {
  17328. stackRestore(sp);
  17329. if (typeof e !== "number" && e !== "longjmp") throw e;
  17330. Module["setThrew"](1, 0);
  17331. }
  17332. }
  17333. function invoke_viiiii(index, a1, a2, a3, a4, a5) {
  17334. var sp = stackSave();
  17335. try {
  17336. Module["dynCall_viiiii"](index, a1, a2, a3, a4, a5);
  17337. } catch (e) {
  17338. stackRestore(sp);
  17339. if (typeof e !== "number" && e !== "longjmp") throw e;
  17340. Module["setThrew"](1, 0);
  17341. }
  17342. }
  17343. function invoke_viiiiif(index, a1, a2, a3, a4, a5, a6) {
  17344. var sp = stackSave();
  17345. try {
  17346. Module["dynCall_viiiiif"](index, a1, a2, a3, a4, a5, a6);
  17347. } catch (e) {
  17348. stackRestore(sp);
  17349. if (typeof e !== "number" && e !== "longjmp") throw e;
  17350. Module["setThrew"](1, 0);
  17351. }
  17352. }
  17353. function invoke_viiiiiffi(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17354. var sp = stackSave();
  17355. try {
  17356. Module["dynCall_viiiiiffi"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17357. } catch (e) {
  17358. stackRestore(sp);
  17359. if (typeof e !== "number" && e !== "longjmp") throw e;
  17360. Module["setThrew"](1, 0);
  17361. }
  17362. }
  17363. function invoke_viiiiiffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17364. var sp = stackSave();
  17365. try {
  17366. Module["dynCall_viiiiiffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17367. } catch (e) {
  17368. stackRestore(sp);
  17369. if (typeof e !== "number" && e !== "longjmp") throw e;
  17370. Module["setThrew"](1, 0);
  17371. }
  17372. }
  17373. function invoke_viiiiifi(index, a1, a2, a3, a4, a5, a6, a7) {
  17374. var sp = stackSave();
  17375. try {
  17376. Module["dynCall_viiiiifi"](index, a1, a2, a3, a4, a5, a6, a7);
  17377. } catch (e) {
  17378. stackRestore(sp);
  17379. if (typeof e !== "number" && e !== "longjmp") throw e;
  17380. Module["setThrew"](1, 0);
  17381. }
  17382. }
  17383. function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
  17384. var sp = stackSave();
  17385. try {
  17386. Module["dynCall_viiiiii"](index, a1, a2, a3, a4, a5, a6);
  17387. } catch (e) {
  17388. stackRestore(sp);
  17389. if (typeof e !== "number" && e !== "longjmp") throw e;
  17390. Module["setThrew"](1, 0);
  17391. }
  17392. }
  17393. function invoke_viiiiiif(index, a1, a2, a3, a4, a5, a6, a7) {
  17394. var sp = stackSave();
  17395. try {
  17396. Module["dynCall_viiiiiif"](index, a1, a2, a3, a4, a5, a6, a7);
  17397. } catch (e) {
  17398. stackRestore(sp);
  17399. if (typeof e !== "number" && e !== "longjmp") throw e;
  17400. Module["setThrew"](1, 0);
  17401. }
  17402. }
  17403. function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17404. var sp = stackSave();
  17405. try {
  17406. Module["dynCall_viiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17407. } catch (e) {
  17408. stackRestore(sp);
  17409. if (typeof e !== "number" && e !== "longjmp") throw e;
  17410. Module["setThrew"](1, 0);
  17411. }
  17412. }
  17413. function invoke_viiiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17414. var sp = stackSave();
  17415. try {
  17416. Module["dynCall_viiiiiiifi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17417. } catch (e) {
  17418. stackRestore(sp);
  17419. if (typeof e !== "number" && e !== "longjmp") throw e;
  17420. Module["setThrew"](1, 0);
  17421. }
  17422. }
  17423. function invoke_viiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17424. var sp = stackSave();
  17425. try {
  17426. Module["dynCall_viiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17427. } catch (e) {
  17428. stackRestore(sp);
  17429. if (typeof e !== "number" && e !== "longjmp") throw e;
  17430. Module["setThrew"](1, 0);
  17431. }
  17432. }
  17433. function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17434. var sp = stackSave();
  17435. try {
  17436. Module["dynCall_viiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17437. } catch (e) {
  17438. stackRestore(sp);
  17439. if (typeof e !== "number" && e !== "longjmp") throw e;
  17440. Module["setThrew"](1, 0);
  17441. }
  17442. }
  17443. function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17444. var sp = stackSave();
  17445. try {
  17446. Module["dynCall_viiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17447. } catch (e) {
  17448. stackRestore(sp);
  17449. if (typeof e !== "number" && e !== "longjmp") throw e;
  17450. Module["setThrew"](1, 0);
  17451. }
  17452. }
  17453. function invoke_viiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17454. var sp = stackSave();
  17455. try {
  17456. Module["dynCall_viiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17457. } catch (e) {
  17458. stackRestore(sp);
  17459. if (typeof e !== "number" && e !== "longjmp") throw e;
  17460. Module["setThrew"](1, 0);
  17461. }
  17462. }
  17463. function invoke_viiiiiiiiiiifii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17464. var sp = stackSave();
  17465. try {
  17466. Module["dynCall_viiiiiiiiiiifii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17467. } catch (e) {
  17468. stackRestore(sp);
  17469. if (typeof e !== "number" && e !== "longjmp") throw e;
  17470. Module["setThrew"](1, 0);
  17471. }
  17472. }
  17473. function invoke_viiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  17474. var sp = stackSave();
  17475. try {
  17476. Module["dynCall_viiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  17477. } catch (e) {
  17478. stackRestore(sp);
  17479. if (typeof e !== "number" && e !== "longjmp") throw e;
  17480. Module["setThrew"](1, 0);
  17481. }
  17482. }
  17483. function invoke_viiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17484. var sp = stackSave();
  17485. try {
  17486. Module["dynCall_viiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17487. } catch (e) {
  17488. stackRestore(sp);
  17489. if (typeof e !== "number" && e !== "longjmp") throw e;
  17490. Module["setThrew"](1, 0);
  17491. }
  17492. }
  17493. function invoke_viiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  17494. var sp = stackSave();
  17495. try {
  17496. Module["dynCall_viiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  17497. } catch (e) {
  17498. stackRestore(sp);
  17499. if (typeof e !== "number" && e !== "longjmp") throw e;
  17500. Module["setThrew"](1, 0);
  17501. }
  17502. }
  17503. function invoke_viiiiiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) {
  17504. var sp = stackSave();
  17505. try {
  17506. Module["dynCall_viiiiiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18);
  17507. } catch (e) {
  17508. stackRestore(sp);
  17509. if (typeof e !== "number" && e !== "longjmp") throw e;
  17510. Module["setThrew"](1, 0);
  17511. }
  17512. }
  17513. function invoke_viiiiiji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17514. var sp = stackSave();
  17515. try {
  17516. Module["dynCall_viiiiiji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17517. } catch (e) {
  17518. stackRestore(sp);
  17519. if (typeof e !== "number" && e !== "longjmp") throw e;
  17520. Module["setThrew"](1, 0);
  17521. }
  17522. }
  17523. function invoke_viiiij(index, a1, a2, a3, a4, a5, a6) {
  17524. var sp = stackSave();
  17525. try {
  17526. Module["dynCall_viiiij"](index, a1, a2, a3, a4, a5, a6);
  17527. } catch (e) {
  17528. stackRestore(sp);
  17529. if (typeof e !== "number" && e !== "longjmp") throw e;
  17530. Module["setThrew"](1, 0);
  17531. }
  17532. }
  17533. function invoke_viiiijiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17534. var sp = stackSave();
  17535. try {
  17536. Module["dynCall_viiiijiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17537. } catch (e) {
  17538. stackRestore(sp);
  17539. if (typeof e !== "number" && e !== "longjmp") throw e;
  17540. Module["setThrew"](1, 0);
  17541. }
  17542. }
  17543. function invoke_viiiji(index, a1, a2, a3, a4, a5, a6) {
  17544. var sp = stackSave();
  17545. try {
  17546. Module["dynCall_viiiji"](index, a1, a2, a3, a4, a5, a6);
  17547. } catch (e) {
  17548. stackRestore(sp);
  17549. if (typeof e !== "number" && e !== "longjmp") throw e;
  17550. Module["setThrew"](1, 0);
  17551. }
  17552. }
  17553. function invoke_viiijji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17554. var sp = stackSave();
  17555. try {
  17556. Module["dynCall_viiijji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17557. } catch (e) {
  17558. stackRestore(sp);
  17559. if (typeof e !== "number" && e !== "longjmp") throw e;
  17560. Module["setThrew"](1, 0);
  17561. }
  17562. }
  17563. function invoke_viij(index, a1, a2, a3, a4) {
  17564. var sp = stackSave();
  17565. try {
  17566. Module["dynCall_viij"](index, a1, a2, a3, a4);
  17567. } catch (e) {
  17568. stackRestore(sp);
  17569. if (typeof e !== "number" && e !== "longjmp") throw e;
  17570. Module["setThrew"](1, 0);
  17571. }
  17572. }
  17573. function invoke_viiji(index, a1, a2, a3, a4, a5) {
  17574. var sp = stackSave();
  17575. try {
  17576. Module["dynCall_viiji"](index, a1, a2, a3, a4, a5);
  17577. } catch (e) {
  17578. stackRestore(sp);
  17579. if (typeof e !== "number" && e !== "longjmp") throw e;
  17580. Module["setThrew"](1, 0);
  17581. }
  17582. }
  17583. function invoke_viijii(index, a1, a2, a3, a4, a5, a6) {
  17584. var sp = stackSave();
  17585. try {
  17586. Module["dynCall_viijii"](index, a1, a2, a3, a4, a5, a6);
  17587. } catch (e) {
  17588. stackRestore(sp);
  17589. if (typeof e !== "number" && e !== "longjmp") throw e;
  17590. Module["setThrew"](1, 0);
  17591. }
  17592. }
  17593. function invoke_viijiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17594. var sp = stackSave();
  17595. try {
  17596. Module["dynCall_viijiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17597. } catch (e) {
  17598. stackRestore(sp);
  17599. if (typeof e !== "number" && e !== "longjmp") throw e;
  17600. Module["setThrew"](1, 0);
  17601. }
  17602. }
  17603. function invoke_viijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17604. var sp = stackSave();
  17605. try {
  17606. Module["dynCall_viijijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17607. } catch (e) {
  17608. stackRestore(sp);
  17609. if (typeof e !== "number" && e !== "longjmp") throw e;
  17610. Module["setThrew"](1, 0);
  17611. }
  17612. }
  17613. function invoke_viijijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17614. var sp = stackSave();
  17615. try {
  17616. Module["dynCall_viijijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17617. } catch (e) {
  17618. stackRestore(sp);
  17619. if (typeof e !== "number" && e !== "longjmp") throw e;
  17620. Module["setThrew"](1, 0);
  17621. }
  17622. }
  17623. function invoke_viijijj(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17624. var sp = stackSave();
  17625. try {
  17626. Module["dynCall_viijijj"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17627. } catch (e) {
  17628. stackRestore(sp);
  17629. if (typeof e !== "number" && e !== "longjmp") throw e;
  17630. Module["setThrew"](1, 0);
  17631. }
  17632. }
  17633. function invoke_viijj(index, a1, a2, a3, a4, a5, a6) {
  17634. var sp = stackSave();
  17635. try {
  17636. Module["dynCall_viijj"](index, a1, a2, a3, a4, a5, a6);
  17637. } catch (e) {
  17638. stackRestore(sp);
  17639. if (typeof e !== "number" && e !== "longjmp") throw e;
  17640. Module["setThrew"](1, 0);
  17641. }
  17642. }
  17643. function invoke_viijji(index, a1, a2, a3, a4, a5, a6, a7) {
  17644. var sp = stackSave();
  17645. try {
  17646. Module["dynCall_viijji"](index, a1, a2, a3, a4, a5, a6, a7);
  17647. } catch (e) {
  17648. stackRestore(sp);
  17649. if (typeof e !== "number" && e !== "longjmp") throw e;
  17650. Module["setThrew"](1, 0);
  17651. }
  17652. }
  17653. function invoke_viijjii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17654. var sp = stackSave();
  17655. try {
  17656. Module["dynCall_viijjii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17657. } catch (e) {
  17658. stackRestore(sp);
  17659. if (typeof e !== "number" && e !== "longjmp") throw e;
  17660. Module["setThrew"](1, 0);
  17661. }
  17662. }
  17663. function invoke_viijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17664. var sp = stackSave();
  17665. try {
  17666. Module["dynCall_viijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17667. } catch (e) {
  17668. stackRestore(sp);
  17669. if (typeof e !== "number" && e !== "longjmp") throw e;
  17670. Module["setThrew"](1, 0);
  17671. }
  17672. }
  17673. function invoke_viijjji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17674. var sp = stackSave();
  17675. try {
  17676. Module["dynCall_viijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17677. } catch (e) {
  17678. stackRestore(sp);
  17679. if (typeof e !== "number" && e !== "longjmp") throw e;
  17680. Module["setThrew"](1, 0);
  17681. }
  17682. }
  17683. function invoke_vij(index, a1, a2, a3) {
  17684. var sp = stackSave();
  17685. try {
  17686. Module["dynCall_vij"](index, a1, a2, a3);
  17687. } catch (e) {
  17688. stackRestore(sp);
  17689. if (typeof e !== "number" && e !== "longjmp") throw e;
  17690. Module["setThrew"](1, 0);
  17691. }
  17692. }
  17693. function invoke_viji(index, a1, a2, a3, a4) {
  17694. var sp = stackSave();
  17695. try {
  17696. Module["dynCall_viji"](index, a1, a2, a3, a4);
  17697. } catch (e) {
  17698. stackRestore(sp);
  17699. if (typeof e !== "number" && e !== "longjmp") throw e;
  17700. Module["setThrew"](1, 0);
  17701. }
  17702. }
  17703. function invoke_vijii(index, a1, a2, a3, a4, a5) {
  17704. var sp = stackSave();
  17705. try {
  17706. Module["dynCall_vijii"](index, a1, a2, a3, a4, a5);
  17707. } catch (e) {
  17708. stackRestore(sp);
  17709. if (typeof e !== "number" && e !== "longjmp") throw e;
  17710. Module["setThrew"](1, 0);
  17711. }
  17712. }
  17713. function invoke_vijiii(index, a1, a2, a3, a4, a5, a6) {
  17714. var sp = stackSave();
  17715. try {
  17716. Module["dynCall_vijiii"](index, a1, a2, a3, a4, a5, a6);
  17717. } catch (e) {
  17718. stackRestore(sp);
  17719. if (typeof e !== "number" && e !== "longjmp") throw e;
  17720. Module["setThrew"](1, 0);
  17721. }
  17722. }
  17723. function invoke_vijiji(index, a1, a2, a3, a4, a5, a6, a7) {
  17724. var sp = stackSave();
  17725. try {
  17726. Module["dynCall_vijiji"](index, a1, a2, a3, a4, a5, a6, a7);
  17727. } catch (e) {
  17728. stackRestore(sp);
  17729. if (typeof e !== "number" && e !== "longjmp") throw e;
  17730. Module["setThrew"](1, 0);
  17731. }
  17732. }
  17733. function invoke_vijijji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17734. var sp = stackSave();
  17735. try {
  17736. Module["dynCall_vijijji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17737. } catch (e) {
  17738. stackRestore(sp);
  17739. if (typeof e !== "number" && e !== "longjmp") throw e;
  17740. Module["setThrew"](1, 0);
  17741. }
  17742. }
  17743. function invoke_vijji(index, a1, a2, a3, a4, a5, a6) {
  17744. var sp = stackSave();
  17745. try {
  17746. Module["dynCall_vijji"](index, a1, a2, a3, a4, a5, a6);
  17747. } catch (e) {
  17748. stackRestore(sp);
  17749. if (typeof e !== "number" && e !== "longjmp") throw e;
  17750. Module["setThrew"](1, 0);
  17751. }
  17752. }
  17753. function invoke_vijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  17754. var sp = stackSave();
  17755. try {
  17756. Module["dynCall_vijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  17757. } catch (e) {
  17758. stackRestore(sp);
  17759. if (typeof e !== "number" && e !== "longjmp") throw e;
  17760. Module["setThrew"](1, 0);
  17761. }
  17762. }
  17763. function invoke_vijjji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17764. var sp = stackSave();
  17765. try {
  17766. Module["dynCall_vijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17767. } catch (e) {
  17768. stackRestore(sp);
  17769. if (typeof e !== "number" && e !== "longjmp") throw e;
  17770. Module["setThrew"](1, 0);
  17771. }
  17772. }
  17773. function invoke_vjiiii(index, a1, a2, a3, a4, a5, a6) {
  17774. var sp = stackSave();
  17775. try {
  17776. Module["dynCall_vjiiii"](index, a1, a2, a3, a4, a5, a6);
  17777. } catch (e) {
  17778. stackRestore(sp);
  17779. if (typeof e !== "number" && e !== "longjmp") throw e;
  17780. Module["setThrew"](1, 0);
  17781. }
  17782. }
  17783. function invoke_vjji(index, a1, a2, a3, a4, a5) {
  17784. var sp = stackSave();
  17785. try {
  17786. Module["dynCall_vjji"](index, a1, a2, a3, a4, a5);
  17787. } catch (e) {
  17788. stackRestore(sp);
  17789. if (typeof e !== "number" && e !== "longjmp") throw e;
  17790. Module["setThrew"](1, 0);
  17791. }
  17792. }
  17793. Module.asmGlobalArg = {};
  17794. Module.asmLibraryArg = {
  17795. "abort": abort,
  17796. "assert": assert,
  17797. "enlargeMemory": enlargeMemory,
  17798. "getTotalMemory": getTotalMemory,
  17799. "abortOnCannotGrowMemory": abortOnCannotGrowMemory,
  17800. "abortStackOverflow": abortStackOverflow,
  17801. "nullFunc_dddi": nullFunc_dddi,
  17802. "nullFunc_ddi": nullFunc_ddi,
  17803. "nullFunc_dfi": nullFunc_dfi,
  17804. "nullFunc_di": nullFunc_di,
  17805. "nullFunc_diddi": nullFunc_diddi,
  17806. "nullFunc_didi": nullFunc_didi,
  17807. "nullFunc_dii": nullFunc_dii,
  17808. "nullFunc_diii": nullFunc_diii,
  17809. "nullFunc_diiii": nullFunc_diiii,
  17810. "nullFunc_dji": nullFunc_dji,
  17811. "nullFunc_f": nullFunc_f,
  17812. "nullFunc_fdi": nullFunc_fdi,
  17813. "nullFunc_ff": nullFunc_ff,
  17814. "nullFunc_fff": nullFunc_fff,
  17815. "nullFunc_ffffi": nullFunc_ffffi,
  17816. "nullFunc_fffi": nullFunc_fffi,
  17817. "nullFunc_fffifffi": nullFunc_fffifffi,
  17818. "nullFunc_ffi": nullFunc_ffi,
  17819. "nullFunc_fi": nullFunc_fi,
  17820. "nullFunc_fif": nullFunc_fif,
  17821. "nullFunc_fiff": nullFunc_fiff,
  17822. "nullFunc_fifffi": nullFunc_fifffi,
  17823. "nullFunc_fiffi": nullFunc_fiffi,
  17824. "nullFunc_fifi": nullFunc_fifi,
  17825. "nullFunc_fifii": nullFunc_fifii,
  17826. "nullFunc_fii": nullFunc_fii,
  17827. "nullFunc_fiif": nullFunc_fiif,
  17828. "nullFunc_fiifi": nullFunc_fiifi,
  17829. "nullFunc_fiifii": nullFunc_fiifii,
  17830. "nullFunc_fiii": nullFunc_fiii,
  17831. "nullFunc_fiiii": nullFunc_fiiii,
  17832. "nullFunc_fiiiiiifiifif": nullFunc_fiiiiiifiifif,
  17833. "nullFunc_fiiiiiifiiiif": nullFunc_fiiiiiifiiiif,
  17834. "nullFunc_fji": nullFunc_fji,
  17835. "nullFunc_i": nullFunc_i,
  17836. "nullFunc_idi": nullFunc_idi,
  17837. "nullFunc_idiii": nullFunc_idiii,
  17838. "nullFunc_ifffi": nullFunc_ifffi,
  17839. "nullFunc_iffi": nullFunc_iffi,
  17840. "nullFunc_ifi": nullFunc_ifi,
  17841. "nullFunc_ifiii": nullFunc_ifiii,
  17842. "nullFunc_ii": nullFunc_ii,
  17843. "nullFunc_iidi": nullFunc_iidi,
  17844. "nullFunc_iidii": nullFunc_iidii,
  17845. "nullFunc_iif": nullFunc_iif,
  17846. "nullFunc_iifff": nullFunc_iifff,
  17847. "nullFunc_iifffi": nullFunc_iifffi,
  17848. "nullFunc_iiffi": nullFunc_iiffi,
  17849. "nullFunc_iifi": nullFunc_iifi,
  17850. "nullFunc_iifii": nullFunc_iifii,
  17851. "nullFunc_iifiii": nullFunc_iifiii,
  17852. "nullFunc_iifiiiijii": nullFunc_iifiiiijii,
  17853. "nullFunc_iii": nullFunc_iii,
  17854. "nullFunc_iiif": nullFunc_iiif,
  17855. "nullFunc_iiiff": nullFunc_iiiff,
  17856. "nullFunc_iiifi": nullFunc_iiifi,
  17857. "nullFunc_iiifii": nullFunc_iiifii,
  17858. "nullFunc_iiifiii": nullFunc_iiifiii,
  17859. "nullFunc_iiifiiii": nullFunc_iiifiiii,
  17860. "nullFunc_iiii": nullFunc_iiii,
  17861. "nullFunc_iiiifffffi": nullFunc_iiiifffffi,
  17862. "nullFunc_iiiifffffii": nullFunc_iiiifffffii,
  17863. "nullFunc_iiiifffiii": nullFunc_iiiifffiii,
  17864. "nullFunc_iiiifi": nullFunc_iiiifi,
  17865. "nullFunc_iiiifii": nullFunc_iiiifii,
  17866. "nullFunc_iiiifiii": nullFunc_iiiifiii,
  17867. "nullFunc_iiiifiiii": nullFunc_iiiifiiii,
  17868. "nullFunc_iiiifiiiii": nullFunc_iiiifiiiii,
  17869. "nullFunc_iiiii": nullFunc_iiiii,
  17870. "nullFunc_iiiiifiii": nullFunc_iiiiifiii,
  17871. "nullFunc_iiiiifiiiiif": nullFunc_iiiiifiiiiif,
  17872. "nullFunc_iiiiii": nullFunc_iiiiii,
  17873. "nullFunc_iiiiiifff": nullFunc_iiiiiifff,
  17874. "nullFunc_iiiiiifffiiifiii": nullFunc_iiiiiifffiiifiii,
  17875. "nullFunc_iiiiiiffiiiiiiiiiffffiii": nullFunc_iiiiiiffiiiiiiiiiffffiii,
  17876. "nullFunc_iiiiiiffiiiiiiiiiffffiiii": nullFunc_iiiiiiffiiiiiiiiiffffiiii,
  17877. "nullFunc_iiiiiiffiiiiiiiiiiiiiii": nullFunc_iiiiiiffiiiiiiiiiiiiiii,
  17878. "nullFunc_iiiiiifiif": nullFunc_iiiiiifiif,
  17879. "nullFunc_iiiiiifiii": nullFunc_iiiiiifiii,
  17880. "nullFunc_iiiiiii": nullFunc_iiiiiii,
  17881. "nullFunc_iiiiiiifiif": nullFunc_iiiiiiifiif,
  17882. "nullFunc_iiiiiiii": nullFunc_iiiiiiii,
  17883. "nullFunc_iiiiiiiii": nullFunc_iiiiiiiii,
  17884. "nullFunc_iiiiiiiiii": nullFunc_iiiiiiiiii,
  17885. "nullFunc_iiiiiiiiiii": nullFunc_iiiiiiiiiii,
  17886. "nullFunc_iiiiiiiiiiii": nullFunc_iiiiiiiiiiii,
  17887. "nullFunc_iiiiiiiiiiiii": nullFunc_iiiiiiiiiiiii,
  17888. "nullFunc_iiiiiiiiiiiiii": nullFunc_iiiiiiiiiiiiii,
  17889. "nullFunc_iiiiiji": nullFunc_iiiiiji,
  17890. "nullFunc_iiiij": nullFunc_iiiij,
  17891. "nullFunc_iiiiji": nullFunc_iiiiji,
  17892. "nullFunc_iiiijii": nullFunc_iiiijii,
  17893. "nullFunc_iiiijiii": nullFunc_iiiijiii,
  17894. "nullFunc_iiij": nullFunc_iiij,
  17895. "nullFunc_iiiji": nullFunc_iiiji,
  17896. "nullFunc_iiijii": nullFunc_iiijii,
  17897. "nullFunc_iiijiii": nullFunc_iiijiii,
  17898. "nullFunc_iiijji": nullFunc_iiijji,
  17899. "nullFunc_iiijjiiii": nullFunc_iiijjiiii,
  17900. "nullFunc_iij": nullFunc_iij,
  17901. "nullFunc_iiji": nullFunc_iiji,
  17902. "nullFunc_iijii": nullFunc_iijii,
  17903. "nullFunc_iijiii": nullFunc_iijiii,
  17904. "nullFunc_iijji": nullFunc_iijji,
  17905. "nullFunc_iijjii": nullFunc_iijjii,
  17906. "nullFunc_iijjiii": nullFunc_iijjiii,
  17907. "nullFunc_iijjji": nullFunc_iijjji,
  17908. "nullFunc_ij": nullFunc_ij,
  17909. "nullFunc_iji": nullFunc_iji,
  17910. "nullFunc_ijiii": nullFunc_ijiii,
  17911. "nullFunc_ijj": nullFunc_ijj,
  17912. "nullFunc_ijji": nullFunc_ijji,
  17913. "nullFunc_j": nullFunc_j,
  17914. "nullFunc_jdi": nullFunc_jdi,
  17915. "nullFunc_jdii": nullFunc_jdii,
  17916. "nullFunc_jfi": nullFunc_jfi,
  17917. "nullFunc_ji": nullFunc_ji,
  17918. "nullFunc_jidi": nullFunc_jidi,
  17919. "nullFunc_jidii": nullFunc_jidii,
  17920. "nullFunc_jii": nullFunc_jii,
  17921. "nullFunc_jiii": nullFunc_jiii,
  17922. "nullFunc_jiiii": nullFunc_jiiii,
  17923. "nullFunc_jiiiii": nullFunc_jiiiii,
  17924. "nullFunc_jiiiiii": nullFunc_jiiiiii,
  17925. "nullFunc_jiiiiiiiiii": nullFunc_jiiiiiiiiii,
  17926. "nullFunc_jiiji": nullFunc_jiiji,
  17927. "nullFunc_jiji": nullFunc_jiji,
  17928. "nullFunc_jijii": nullFunc_jijii,
  17929. "nullFunc_jijiii": nullFunc_jijiii,
  17930. "nullFunc_jijj": nullFunc_jijj,
  17931. "nullFunc_jijji": nullFunc_jijji,
  17932. "nullFunc_jji": nullFunc_jji,
  17933. "nullFunc_v": nullFunc_v,
  17934. "nullFunc_vd": nullFunc_vd,
  17935. "nullFunc_vf": nullFunc_vf,
  17936. "nullFunc_vff": nullFunc_vff,
  17937. "nullFunc_vffff": nullFunc_vffff,
  17938. "nullFunc_vfi": nullFunc_vfi,
  17939. "nullFunc_vi": nullFunc_vi,
  17940. "nullFunc_vid": nullFunc_vid,
  17941. "nullFunc_vidi": nullFunc_vidi,
  17942. "nullFunc_vif": nullFunc_vif,
  17943. "nullFunc_viff": nullFunc_viff,
  17944. "nullFunc_vifff": nullFunc_vifff,
  17945. "nullFunc_viffff": nullFunc_viffff,
  17946. "nullFunc_viffffi": nullFunc_viffffi,
  17947. "nullFunc_viffffii": nullFunc_viffffii,
  17948. "nullFunc_viffffiifffiiiiif": nullFunc_viffffiifffiiiiif,
  17949. "nullFunc_viffffiii": nullFunc_viffffiii,
  17950. "nullFunc_vifffi": nullFunc_vifffi,
  17951. "nullFunc_vifffii": nullFunc_vifffii,
  17952. "nullFunc_viffi": nullFunc_viffi,
  17953. "nullFunc_viffii": nullFunc_viffii,
  17954. "nullFunc_viffiifffffiii": nullFunc_viffiifffffiii,
  17955. "nullFunc_viffiii": nullFunc_viffiii,
  17956. "nullFunc_viffiiiif": nullFunc_viffiiiif,
  17957. "nullFunc_vifi": nullFunc_vifi,
  17958. "nullFunc_vifii": nullFunc_vifii,
  17959. "nullFunc_vifiiii": nullFunc_vifiiii,
  17960. "nullFunc_vifijii": nullFunc_vifijii,
  17961. "nullFunc_vii": nullFunc_vii,
  17962. "nullFunc_viid": nullFunc_viid,
  17963. "nullFunc_viidi": nullFunc_viidi,
  17964. "nullFunc_viidii": nullFunc_viidii,
  17965. "nullFunc_viif": nullFunc_viif,
  17966. "nullFunc_viiff": nullFunc_viiff,
  17967. "nullFunc_viifff": nullFunc_viifff,
  17968. "nullFunc_viifffi": nullFunc_viifffi,
  17969. "nullFunc_viiffi": nullFunc_viiffi,
  17970. "nullFunc_viiffii": nullFunc_viiffii,
  17971. "nullFunc_viifi": nullFunc_viifi,
  17972. "nullFunc_viifii": nullFunc_viifii,
  17973. "nullFunc_viifiii": nullFunc_viifiii,
  17974. "nullFunc_viifiiii": nullFunc_viifiiii,
  17975. "nullFunc_viii": nullFunc_viii,
  17976. "nullFunc_viiidi": nullFunc_viiidi,
  17977. "nullFunc_viiifffi": nullFunc_viiifffi,
  17978. "nullFunc_viiiffi": nullFunc_viiiffi,
  17979. "nullFunc_viiiffii": nullFunc_viiiffii,
  17980. "nullFunc_viiifi": nullFunc_viiifi,
  17981. "nullFunc_viiifii": nullFunc_viiifii,
  17982. "nullFunc_viiifiii": nullFunc_viiifiii,
  17983. "nullFunc_viiifiiiii": nullFunc_viiifiiiii,
  17984. "nullFunc_viiii": nullFunc_viiii,
  17985. "nullFunc_viiiif": nullFunc_viiiif,
  17986. "nullFunc_viiiifii": nullFunc_viiiifii,
  17987. "nullFunc_viiiifiiiiif": nullFunc_viiiifiiiiif,
  17988. "nullFunc_viiiii": nullFunc_viiiii,
  17989. "nullFunc_viiiiif": nullFunc_viiiiif,
  17990. "nullFunc_viiiiiffi": nullFunc_viiiiiffi,
  17991. "nullFunc_viiiiiffii": nullFunc_viiiiiffii,
  17992. "nullFunc_viiiiifi": nullFunc_viiiiifi,
  17993. "nullFunc_viiiiii": nullFunc_viiiiii,
  17994. "nullFunc_viiiiiif": nullFunc_viiiiiif,
  17995. "nullFunc_viiiiiii": nullFunc_viiiiiii,
  17996. "nullFunc_viiiiiiifi": nullFunc_viiiiiiifi,
  17997. "nullFunc_viiiiiiii": nullFunc_viiiiiiii,
  17998. "nullFunc_viiiiiiiii": nullFunc_viiiiiiiii,
  17999. "nullFunc_viiiiiiiiii": nullFunc_viiiiiiiiii,
  18000. "nullFunc_viiiiiiiiiii": nullFunc_viiiiiiiiiii,
  18001. "nullFunc_viiiiiiiiiiifii": nullFunc_viiiiiiiiiiifii,
  18002. "nullFunc_viiiiiiiiiiii": nullFunc_viiiiiiiiiiii,
  18003. "nullFunc_viiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiii,
  18004. "nullFunc_viiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiii,
  18005. "nullFunc_viiiiiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiiiiii,
  18006. "nullFunc_viiiiiji": nullFunc_viiiiiji,
  18007. "nullFunc_viiiij": nullFunc_viiiij,
  18008. "nullFunc_viiiijiiii": nullFunc_viiiijiiii,
  18009. "nullFunc_viiiji": nullFunc_viiiji,
  18010. "nullFunc_viiijji": nullFunc_viiijji,
  18011. "nullFunc_viij": nullFunc_viij,
  18012. "nullFunc_viiji": nullFunc_viiji,
  18013. "nullFunc_viijii": nullFunc_viijii,
  18014. "nullFunc_viijiijiii": nullFunc_viijiijiii,
  18015. "nullFunc_viijijii": nullFunc_viijijii,
  18016. "nullFunc_viijijiii": nullFunc_viijijiii,
  18017. "nullFunc_viijijj": nullFunc_viijijj,
  18018. "nullFunc_viijj": nullFunc_viijj,
  18019. "nullFunc_viijji": nullFunc_viijji,
  18020. "nullFunc_viijjii": nullFunc_viijjii,
  18021. "nullFunc_viijjiii": nullFunc_viijjiii,
  18022. "nullFunc_viijjji": nullFunc_viijjji,
  18023. "nullFunc_vij": nullFunc_vij,
  18024. "nullFunc_viji": nullFunc_viji,
  18025. "nullFunc_vijii": nullFunc_vijii,
  18026. "nullFunc_vijiii": nullFunc_vijiii,
  18027. "nullFunc_vijiji": nullFunc_vijiji,
  18028. "nullFunc_vijijji": nullFunc_vijijji,
  18029. "nullFunc_vijji": nullFunc_vijji,
  18030. "nullFunc_vijjii": nullFunc_vijjii,
  18031. "nullFunc_vijjji": nullFunc_vijjji,
  18032. "nullFunc_vjiiii": nullFunc_vjiiii,
  18033. "nullFunc_vjji": nullFunc_vjji,
  18034. "invoke_dddi": invoke_dddi,
  18035. "invoke_ddi": invoke_ddi,
  18036. "invoke_dfi": invoke_dfi,
  18037. "invoke_di": invoke_di,
  18038. "invoke_diddi": invoke_diddi,
  18039. "invoke_didi": invoke_didi,
  18040. "invoke_dii": invoke_dii,
  18041. "invoke_diii": invoke_diii,
  18042. "invoke_diiii": invoke_diiii,
  18043. "invoke_dji": invoke_dji,
  18044. "invoke_f": invoke_f,
  18045. "invoke_fdi": invoke_fdi,
  18046. "invoke_ff": invoke_ff,
  18047. "invoke_fff": invoke_fff,
  18048. "invoke_ffffi": invoke_ffffi,
  18049. "invoke_fffi": invoke_fffi,
  18050. "invoke_fffifffi": invoke_fffifffi,
  18051. "invoke_ffi": invoke_ffi,
  18052. "invoke_fi": invoke_fi,
  18053. "invoke_fif": invoke_fif,
  18054. "invoke_fiff": invoke_fiff,
  18055. "invoke_fifffi": invoke_fifffi,
  18056. "invoke_fiffi": invoke_fiffi,
  18057. "invoke_fifi": invoke_fifi,
  18058. "invoke_fifii": invoke_fifii,
  18059. "invoke_fii": invoke_fii,
  18060. "invoke_fiif": invoke_fiif,
  18061. "invoke_fiifi": invoke_fiifi,
  18062. "invoke_fiifii": invoke_fiifii,
  18063. "invoke_fiii": invoke_fiii,
  18064. "invoke_fiiii": invoke_fiiii,
  18065. "invoke_fiiiiiifiifif": invoke_fiiiiiifiifif,
  18066. "invoke_fiiiiiifiiiif": invoke_fiiiiiifiiiif,
  18067. "invoke_fji": invoke_fji,
  18068. "invoke_i": invoke_i,
  18069. "invoke_idi": invoke_idi,
  18070. "invoke_idiii": invoke_idiii,
  18071. "invoke_ifffi": invoke_ifffi,
  18072. "invoke_iffi": invoke_iffi,
  18073. "invoke_ifi": invoke_ifi,
  18074. "invoke_ifiii": invoke_ifiii,
  18075. "invoke_ii": invoke_ii,
  18076. "invoke_iidi": invoke_iidi,
  18077. "invoke_iidii": invoke_iidii,
  18078. "invoke_iif": invoke_iif,
  18079. "invoke_iifff": invoke_iifff,
  18080. "invoke_iifffi": invoke_iifffi,
  18081. "invoke_iiffi": invoke_iiffi,
  18082. "invoke_iifi": invoke_iifi,
  18083. "invoke_iifii": invoke_iifii,
  18084. "invoke_iifiii": invoke_iifiii,
  18085. "invoke_iifiiiijii": invoke_iifiiiijii,
  18086. "invoke_iii": invoke_iii,
  18087. "invoke_iiif": invoke_iiif,
  18088. "invoke_iiiff": invoke_iiiff,
  18089. "invoke_iiifi": invoke_iiifi,
  18090. "invoke_iiifii": invoke_iiifii,
  18091. "invoke_iiifiii": invoke_iiifiii,
  18092. "invoke_iiifiiii": invoke_iiifiiii,
  18093. "invoke_iiii": invoke_iiii,
  18094. "invoke_iiiifffffi": invoke_iiiifffffi,
  18095. "invoke_iiiifffffii": invoke_iiiifffffii,
  18096. "invoke_iiiifffiii": invoke_iiiifffiii,
  18097. "invoke_iiiifi": invoke_iiiifi,
  18098. "invoke_iiiifii": invoke_iiiifii,
  18099. "invoke_iiiifiii": invoke_iiiifiii,
  18100. "invoke_iiiifiiii": invoke_iiiifiiii,
  18101. "invoke_iiiifiiiii": invoke_iiiifiiiii,
  18102. "invoke_iiiii": invoke_iiiii,
  18103. "invoke_iiiiifiii": invoke_iiiiifiii,
  18104. "invoke_iiiiifiiiiif": invoke_iiiiifiiiiif,
  18105. "invoke_iiiiii": invoke_iiiiii,
  18106. "invoke_iiiiiifff": invoke_iiiiiifff,
  18107. "invoke_iiiiiifffiiifiii": invoke_iiiiiifffiiifiii,
  18108. "invoke_iiiiiiffiiiiiiiiiffffiii": invoke_iiiiiiffiiiiiiiiiffffiii,
  18109. "invoke_iiiiiiffiiiiiiiiiffffiiii": invoke_iiiiiiffiiiiiiiiiffffiiii,
  18110. "invoke_iiiiiiffiiiiiiiiiiiiiii": invoke_iiiiiiffiiiiiiiiiiiiiii,
  18111. "invoke_iiiiiifiif": invoke_iiiiiifiif,
  18112. "invoke_iiiiiifiii": invoke_iiiiiifiii,
  18113. "invoke_iiiiiii": invoke_iiiiiii,
  18114. "invoke_iiiiiiifiif": invoke_iiiiiiifiif,
  18115. "invoke_iiiiiiii": invoke_iiiiiiii,
  18116. "invoke_iiiiiiiii": invoke_iiiiiiiii,
  18117. "invoke_iiiiiiiiii": invoke_iiiiiiiiii,
  18118. "invoke_iiiiiiiiiii": invoke_iiiiiiiiiii,
  18119. "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii,
  18120. "invoke_iiiiiiiiiiiii": invoke_iiiiiiiiiiiii,
  18121. "invoke_iiiiiiiiiiiiii": invoke_iiiiiiiiiiiiii,
  18122. "invoke_iiiiiji": invoke_iiiiiji,
  18123. "invoke_iiiij": invoke_iiiij,
  18124. "invoke_iiiiji": invoke_iiiiji,
  18125. "invoke_iiiijii": invoke_iiiijii,
  18126. "invoke_iiiijiii": invoke_iiiijiii,
  18127. "invoke_iiij": invoke_iiij,
  18128. "invoke_iiiji": invoke_iiiji,
  18129. "invoke_iiijii": invoke_iiijii,
  18130. "invoke_iiijiii": invoke_iiijiii,
  18131. "invoke_iiijji": invoke_iiijji,
  18132. "invoke_iiijjiiii": invoke_iiijjiiii,
  18133. "invoke_iij": invoke_iij,
  18134. "invoke_iiji": invoke_iiji,
  18135. "invoke_iijii": invoke_iijii,
  18136. "invoke_iijiii": invoke_iijiii,
  18137. "invoke_iijji": invoke_iijji,
  18138. "invoke_iijjii": invoke_iijjii,
  18139. "invoke_iijjiii": invoke_iijjiii,
  18140. "invoke_iijjji": invoke_iijjji,
  18141. "invoke_ij": invoke_ij,
  18142. "invoke_iji": invoke_iji,
  18143. "invoke_ijiii": invoke_ijiii,
  18144. "invoke_ijj": invoke_ijj,
  18145. "invoke_ijji": invoke_ijji,
  18146. "invoke_j": invoke_j,
  18147. "invoke_jdi": invoke_jdi,
  18148. "invoke_jdii": invoke_jdii,
  18149. "invoke_jfi": invoke_jfi,
  18150. "invoke_ji": invoke_ji,
  18151. "invoke_jidi": invoke_jidi,
  18152. "invoke_jidii": invoke_jidii,
  18153. "invoke_jii": invoke_jii,
  18154. "invoke_jiii": invoke_jiii,
  18155. "invoke_jiiii": invoke_jiiii,
  18156. "invoke_jiiiii": invoke_jiiiii,
  18157. "invoke_jiiiiii": invoke_jiiiiii,
  18158. "invoke_jiiiiiiiiii": invoke_jiiiiiiiiii,
  18159. "invoke_jiiji": invoke_jiiji,
  18160. "invoke_jiji": invoke_jiji,
  18161. "invoke_jijii": invoke_jijii,
  18162. "invoke_jijiii": invoke_jijiii,
  18163. "invoke_jijj": invoke_jijj,
  18164. "invoke_jijji": invoke_jijji,
  18165. "invoke_jji": invoke_jji,
  18166. "invoke_v": invoke_v,
  18167. "invoke_vd": invoke_vd,
  18168. "invoke_vf": invoke_vf,
  18169. "invoke_vff": invoke_vff,
  18170. "invoke_vffff": invoke_vffff,
  18171. "invoke_vfi": invoke_vfi,
  18172. "invoke_vi": invoke_vi,
  18173. "invoke_vid": invoke_vid,
  18174. "invoke_vidi": invoke_vidi,
  18175. "invoke_vif": invoke_vif,
  18176. "invoke_viff": invoke_viff,
  18177. "invoke_vifff": invoke_vifff,
  18178. "invoke_viffff": invoke_viffff,
  18179. "invoke_viffffi": invoke_viffffi,
  18180. "invoke_viffffii": invoke_viffffii,
  18181. "invoke_viffffiifffiiiiif": invoke_viffffiifffiiiiif,
  18182. "invoke_viffffiii": invoke_viffffiii,
  18183. "invoke_vifffi": invoke_vifffi,
  18184. "invoke_vifffii": invoke_vifffii,
  18185. "invoke_viffi": invoke_viffi,
  18186. "invoke_viffii": invoke_viffii,
  18187. "invoke_viffiifffffiii": invoke_viffiifffffiii,
  18188. "invoke_viffiii": invoke_viffiii,
  18189. "invoke_viffiiiif": invoke_viffiiiif,
  18190. "invoke_vifi": invoke_vifi,
  18191. "invoke_vifii": invoke_vifii,
  18192. "invoke_vifiiii": invoke_vifiiii,
  18193. "invoke_vifijii": invoke_vifijii,
  18194. "invoke_vii": invoke_vii,
  18195. "invoke_viid": invoke_viid,
  18196. "invoke_viidi": invoke_viidi,
  18197. "invoke_viidii": invoke_viidii,
  18198. "invoke_viif": invoke_viif,
  18199. "invoke_viiff": invoke_viiff,
  18200. "invoke_viifff": invoke_viifff,
  18201. "invoke_viifffi": invoke_viifffi,
  18202. "invoke_viiffi": invoke_viiffi,
  18203. "invoke_viiffii": invoke_viiffii,
  18204. "invoke_viifi": invoke_viifi,
  18205. "invoke_viifii": invoke_viifii,
  18206. "invoke_viifiii": invoke_viifiii,
  18207. "invoke_viifiiii": invoke_viifiiii,
  18208. "invoke_viii": invoke_viii,
  18209. "invoke_viiidi": invoke_viiidi,
  18210. "invoke_viiifffi": invoke_viiifffi,
  18211. "invoke_viiiffi": invoke_viiiffi,
  18212. "invoke_viiiffii": invoke_viiiffii,
  18213. "invoke_viiifi": invoke_viiifi,
  18214. "invoke_viiifii": invoke_viiifii,
  18215. "invoke_viiifiii": invoke_viiifiii,
  18216. "invoke_viiifiiiii": invoke_viiifiiiii,
  18217. "invoke_viiii": invoke_viiii,
  18218. "invoke_viiiif": invoke_viiiif,
  18219. "invoke_viiiifii": invoke_viiiifii,
  18220. "invoke_viiiifiiiiif": invoke_viiiifiiiiif,
  18221. "invoke_viiiii": invoke_viiiii,
  18222. "invoke_viiiiif": invoke_viiiiif,
  18223. "invoke_viiiiiffi": invoke_viiiiiffi,
  18224. "invoke_viiiiiffii": invoke_viiiiiffii,
  18225. "invoke_viiiiifi": invoke_viiiiifi,
  18226. "invoke_viiiiii": invoke_viiiiii,
  18227. "invoke_viiiiiif": invoke_viiiiiif,
  18228. "invoke_viiiiiii": invoke_viiiiiii,
  18229. "invoke_viiiiiiifi": invoke_viiiiiiifi,
  18230. "invoke_viiiiiiii": invoke_viiiiiiii,
  18231. "invoke_viiiiiiiii": invoke_viiiiiiiii,
  18232. "invoke_viiiiiiiiii": invoke_viiiiiiiiii,
  18233. "invoke_viiiiiiiiiii": invoke_viiiiiiiiiii,
  18234. "invoke_viiiiiiiiiiifii": invoke_viiiiiiiiiiifii,
  18235. "invoke_viiiiiiiiiiii": invoke_viiiiiiiiiiii,
  18236. "invoke_viiiiiiiiiiiiii": invoke_viiiiiiiiiiiiii,
  18237. "invoke_viiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiii,
  18238. "invoke_viiiiiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiiiiii,
  18239. "invoke_viiiiiji": invoke_viiiiiji,
  18240. "invoke_viiiij": invoke_viiiij,
  18241. "invoke_viiiijiiii": invoke_viiiijiiii,
  18242. "invoke_viiiji": invoke_viiiji,
  18243. "invoke_viiijji": invoke_viiijji,
  18244. "invoke_viij": invoke_viij,
  18245. "invoke_viiji": invoke_viiji,
  18246. "invoke_viijii": invoke_viijii,
  18247. "invoke_viijiijiii": invoke_viijiijiii,
  18248. "invoke_viijijii": invoke_viijijii,
  18249. "invoke_viijijiii": invoke_viijijiii,
  18250. "invoke_viijijj": invoke_viijijj,
  18251. "invoke_viijj": invoke_viijj,
  18252. "invoke_viijji": invoke_viijji,
  18253. "invoke_viijjii": invoke_viijjii,
  18254. "invoke_viijjiii": invoke_viijjiii,
  18255. "invoke_viijjji": invoke_viijjji,
  18256. "invoke_vij": invoke_vij,
  18257. "invoke_viji": invoke_viji,
  18258. "invoke_vijii": invoke_vijii,
  18259. "invoke_vijiii": invoke_vijiii,
  18260. "invoke_vijiji": invoke_vijiji,
  18261. "invoke_vijijji": invoke_vijijji,
  18262. "invoke_vijji": invoke_vijji,
  18263. "invoke_vijjii": invoke_vijjii,
  18264. "invoke_vijjji": invoke_vijjji,
  18265. "invoke_vjiiii": invoke_vjiiii,
  18266. "invoke_vjji": invoke_vjji,
  18267. "_JS_Cursor_SetImage": _JS_Cursor_SetImage,
  18268. "_JS_Cursor_SetShow": _JS_Cursor_SetShow,
  18269. "_JS_Eval_ClearInterval": _JS_Eval_ClearInterval,
  18270. "_JS_Eval_OpenURL": _JS_Eval_OpenURL,
  18271. "_JS_Eval_SetInterval": _JS_Eval_SetInterval,
  18272. "_JS_FileSystem_Initialize": _JS_FileSystem_Initialize,
  18273. "_JS_FileSystem_Sync": _JS_FileSystem_Sync,
  18274. "_JS_Log_Dump": _JS_Log_Dump,
  18275. "_JS_Log_StackTrace": _JS_Log_StackTrace,
  18276. "_JS_Profiler_InjectJobs": _JS_Profiler_InjectJobs,
  18277. "_JS_Sound_Create_Channel": _JS_Sound_Create_Channel,
  18278. "_JS_Sound_GetLength": _JS_Sound_GetLength,
  18279. "_JS_Sound_GetLoadState": _JS_Sound_GetLoadState,
  18280. "_JS_Sound_Init": _JS_Sound_Init,
  18281. "_JS_Sound_Load": _JS_Sound_Load,
  18282. "_JS_Sound_Load_PCM": _JS_Sound_Load_PCM,
  18283. "_JS_Sound_Play": _JS_Sound_Play,
  18284. "_JS_Sound_ReleaseInstance": _JS_Sound_ReleaseInstance,
  18285. "_JS_Sound_ResumeIfNeeded": _JS_Sound_ResumeIfNeeded,
  18286. "_JS_Sound_Set3D": _JS_Sound_Set3D,
  18287. "_JS_Sound_SetListenerOrientation": _JS_Sound_SetListenerOrientation,
  18288. "_JS_Sound_SetListenerPosition": _JS_Sound_SetListenerPosition,
  18289. "_JS_Sound_SetLoop": _JS_Sound_SetLoop,
  18290. "_JS_Sound_SetLoopPoints": _JS_Sound_SetLoopPoints,
  18291. "_JS_Sound_SetPitch": _JS_Sound_SetPitch,
  18292. "_JS_Sound_SetPosition": _JS_Sound_SetPosition,
  18293. "_JS_Sound_SetVolume": _JS_Sound_SetVolume,
  18294. "_JS_Sound_Stop": _JS_Sound_Stop,
  18295. "_JS_SystemInfo_GetBrowserName": _JS_SystemInfo_GetBrowserName,
  18296. "_JS_SystemInfo_GetBrowserVersionString": _JS_SystemInfo_GetBrowserVersionString,
  18297. "_JS_SystemInfo_GetCanvasClientSize": _JS_SystemInfo_GetCanvasClientSize,
  18298. "_JS_SystemInfo_GetDocumentURL": _JS_SystemInfo_GetDocumentURL,
  18299. "_JS_SystemInfo_GetGPUInfo": _JS_SystemInfo_GetGPUInfo,
  18300. "_JS_SystemInfo_GetLanguage": _JS_SystemInfo_GetLanguage,
  18301. "_JS_SystemInfo_GetMatchWebGLToCanvasSize": _JS_SystemInfo_GetMatchWebGLToCanvasSize,
  18302. "_JS_SystemInfo_GetMemory": _JS_SystemInfo_GetMemory,
  18303. "_JS_SystemInfo_GetOS": _JS_SystemInfo_GetOS,
  18304. "_JS_SystemInfo_GetPreferredDevicePixelRatio": _JS_SystemInfo_GetPreferredDevicePixelRatio,
  18305. "_JS_SystemInfo_GetScreenSize": _JS_SystemInfo_GetScreenSize,
  18306. "_JS_SystemInfo_HasCursorLock": _JS_SystemInfo_HasCursorLock,
  18307. "_JS_SystemInfo_HasFullscreen": _JS_SystemInfo_HasFullscreen,
  18308. "_JS_SystemInfo_HasWebGL": _JS_SystemInfo_HasWebGL,
  18309. "_JS_WebRequest_Abort": _JS_WebRequest_Abort,
  18310. "_JS_WebRequest_Create": _JS_WebRequest_Create,
  18311. "_JS_WebRequest_GetResponseHeaders": _JS_WebRequest_GetResponseHeaders,
  18312. "_JS_WebRequest_Release": _JS_WebRequest_Release,
  18313. "_JS_WebRequest_Send": _JS_WebRequest_Send,
  18314. "_JS_WebRequest_SetProgressHandler": _JS_WebRequest_SetProgressHandler,
  18315. "_JS_WebRequest_SetRequestHeader": _JS_WebRequest_SetRequestHeader,
  18316. "_JS_WebRequest_SetResponseHandler": _JS_WebRequest_SetResponseHandler,
  18317. "_JS_WebRequest_SetTimeout": _JS_WebRequest_SetTimeout,
  18318. "__ZSt18uncaught_exceptionv": __ZSt18uncaught_exceptionv,
  18319. "___atomic_compare_exchange_8": ___atomic_compare_exchange_8,
  18320. "___atomic_fetch_add_8": ___atomic_fetch_add_8,
  18321. "___buildEnvironment": ___buildEnvironment,
  18322. "___cxa_allocate_exception": ___cxa_allocate_exception,
  18323. "___cxa_begin_catch": ___cxa_begin_catch,
  18324. "___cxa_end_catch": ___cxa_end_catch,
  18325. "___cxa_find_matching_catch": ___cxa_find_matching_catch,
  18326. "___cxa_find_matching_catch_2": ___cxa_find_matching_catch_2,
  18327. "___cxa_find_matching_catch_3": ___cxa_find_matching_catch_3,
  18328. "___cxa_find_matching_catch_4": ___cxa_find_matching_catch_4,
  18329. "___cxa_free_exception": ___cxa_free_exception,
  18330. "___cxa_pure_virtual": ___cxa_pure_virtual,
  18331. "___cxa_rethrow": ___cxa_rethrow,
  18332. "___cxa_throw": ___cxa_throw,
  18333. "___gxx_personality_v0": ___gxx_personality_v0,
  18334. "___lock": ___lock,
  18335. "___map_file": ___map_file,
  18336. "___resumeException": ___resumeException,
  18337. "___setErrNo": ___setErrNo,
  18338. "___syscall10": ___syscall10,
  18339. "___syscall102": ___syscall102,
  18340. "___syscall122": ___syscall122,
  18341. "___syscall140": ___syscall140,
  18342. "___syscall142": ___syscall142,
  18343. "___syscall145": ___syscall145,
  18344. "___syscall146": ___syscall146,
  18345. "___syscall15": ___syscall15,
  18346. "___syscall183": ___syscall183,
  18347. "___syscall192": ___syscall192,
  18348. "___syscall193": ___syscall193,
  18349. "___syscall195": ___syscall195,
  18350. "___syscall196": ___syscall196,
  18351. "___syscall197": ___syscall197,
  18352. "___syscall199": ___syscall199,
  18353. "___syscall202": ___syscall202,
  18354. "___syscall220": ___syscall220,
  18355. "___syscall221": ___syscall221,
  18356. "___syscall268": ___syscall268,
  18357. "___syscall3": ___syscall3,
  18358. "___syscall33": ___syscall33,
  18359. "___syscall38": ___syscall38,
  18360. "___syscall39": ___syscall39,
  18361. "___syscall4": ___syscall4,
  18362. "___syscall40": ___syscall40,
  18363. "___syscall5": ___syscall5,
  18364. "___syscall54": ___syscall54,
  18365. "___syscall6": ___syscall6,
  18366. "___syscall77": ___syscall77,
  18367. "___syscall85": ___syscall85,
  18368. "___syscall9": ___syscall9,
  18369. "___syscall91": ___syscall91,
  18370. "___unlock": ___unlock,
  18371. "__addDays": __addDays,
  18372. "__arraySum": __arraySum,
  18373. "__emscripten_do_request_fullscreen": __emscripten_do_request_fullscreen,
  18374. "__emscripten_sample_gamepad_data": __emscripten_sample_gamepad_data,
  18375. "__emscripten_traverse_stack": __emscripten_traverse_stack,
  18376. "__exit": __exit,
  18377. "__formatString": __formatString,
  18378. "__inet_ntop4_raw": __inet_ntop4_raw,
  18379. "__inet_ntop6_raw": __inet_ntop6_raw,
  18380. "__inet_pton4_raw": __inet_pton4_raw,
  18381. "__inet_pton6_raw": __inet_pton6_raw,
  18382. "__isLeapYear": __isLeapYear,
  18383. "__read_sockaddr": __read_sockaddr,
  18384. "__reallyNegative": __reallyNegative,
  18385. "__setLetterbox": __setLetterbox,
  18386. "__write_sockaddr": __write_sockaddr,
  18387. "_abort": _abort,
  18388. "_atexit": _atexit,
  18389. "_clock": _clock,
  18390. "_clock_getres": _clock_getres,
  18391. "_clock_gettime": _clock_gettime,
  18392. "_difftime": _difftime,
  18393. "_dlclose": _dlclose,
  18394. "_dlopen": _dlopen,
  18395. "_dlsym": _dlsym,
  18396. "_emscripten_asm_const_i": _emscripten_asm_const_i,
  18397. "_emscripten_asm_const_id": _emscripten_asm_const_id,
  18398. "_emscripten_asm_const_sync_on_main_thread_i": _emscripten_asm_const_sync_on_main_thread_i,
  18399. "_emscripten_cancel_main_loop": _emscripten_cancel_main_loop,
  18400. "_emscripten_exit_fullscreen": _emscripten_exit_fullscreen,
  18401. "_emscripten_exit_pointerlock": _emscripten_exit_pointerlock,
  18402. "_emscripten_get_callstack_js": _emscripten_get_callstack_js,
  18403. "_emscripten_get_canvas_element_size": _emscripten_get_canvas_element_size,
  18404. "_emscripten_get_canvas_element_size_calling_thread": _emscripten_get_canvas_element_size_calling_thread,
  18405. "_emscripten_get_canvas_element_size_main_thread": _emscripten_get_canvas_element_size_main_thread,
  18406. "_emscripten_get_fullscreen_status": _emscripten_get_fullscreen_status,
  18407. "_emscripten_get_gamepad_status": _emscripten_get_gamepad_status,
  18408. "_emscripten_get_main_loop_timing": _emscripten_get_main_loop_timing,
  18409. "_emscripten_get_now": _emscripten_get_now,
  18410. "_emscripten_get_now_is_monotonic": _emscripten_get_now_is_monotonic,
  18411. "_emscripten_get_now_res": _emscripten_get_now_res,
  18412. "_emscripten_get_num_gamepads": _emscripten_get_num_gamepads,
  18413. "_emscripten_has_threading_support": _emscripten_has_threading_support,
  18414. "_emscripten_html5_remove_all_event_listeners": _emscripten_html5_remove_all_event_listeners,
  18415. "_emscripten_is_webgl_context_lost": _emscripten_is_webgl_context_lost,
  18416. "_emscripten_log": _emscripten_log,
  18417. "_emscripten_log_js": _emscripten_log_js,
  18418. "_emscripten_memcpy_big": _emscripten_memcpy_big,
  18419. "_emscripten_num_logical_cores": _emscripten_num_logical_cores,
  18420. "_emscripten_request_fullscreen": _emscripten_request_fullscreen,
  18421. "_emscripten_request_pointerlock": _emscripten_request_pointerlock,
  18422. "_emscripten_set_blur_callback_on_thread": _emscripten_set_blur_callback_on_thread,
  18423. "_emscripten_set_canvas_element_size": _emscripten_set_canvas_element_size,
  18424. "_emscripten_set_dblclick_callback_on_thread": _emscripten_set_dblclick_callback_on_thread,
  18425. "_emscripten_set_devicemotion_callback_on_thread": _emscripten_set_devicemotion_callback_on_thread,
  18426. "_emscripten_set_deviceorientation_callback_on_thread": _emscripten_set_deviceorientation_callback_on_thread,
  18427. "_emscripten_set_focus_callback_on_thread": _emscripten_set_focus_callback_on_thread,
  18428. "_emscripten_set_fullscreenchange_callback_on_thread": _emscripten_set_fullscreenchange_callback_on_thread,
  18429. "_emscripten_set_gamepadconnected_callback_on_thread": _emscripten_set_gamepadconnected_callback_on_thread,
  18430. "_emscripten_set_gamepaddisconnected_callback_on_thread": _emscripten_set_gamepaddisconnected_callback_on_thread,
  18431. "_emscripten_set_keydown_callback_on_thread": _emscripten_set_keydown_callback_on_thread,
  18432. "_emscripten_set_keypress_callback_on_thread": _emscripten_set_keypress_callback_on_thread,
  18433. "_emscripten_set_keyup_callback_on_thread": _emscripten_set_keyup_callback_on_thread,
  18434. "_emscripten_set_main_loop": _emscripten_set_main_loop,
  18435. "_emscripten_set_main_loop_timing": _emscripten_set_main_loop_timing,
  18436. "_emscripten_set_mousedown_callback_on_thread": _emscripten_set_mousedown_callback_on_thread,
  18437. "_emscripten_set_mousemove_callback_on_thread": _emscripten_set_mousemove_callback_on_thread,
  18438. "_emscripten_set_mouseup_callback_on_thread": _emscripten_set_mouseup_callback_on_thread,
  18439. "_emscripten_set_touchcancel_callback_on_thread": _emscripten_set_touchcancel_callback_on_thread,
  18440. "_emscripten_set_touchend_callback_on_thread": _emscripten_set_touchend_callback_on_thread,
  18441. "_emscripten_set_touchmove_callback_on_thread": _emscripten_set_touchmove_callback_on_thread,
  18442. "_emscripten_set_touchstart_callback_on_thread": _emscripten_set_touchstart_callback_on_thread,
  18443. "_emscripten_set_wheel_callback_on_thread": _emscripten_set_wheel_callback_on_thread,
  18444. "_emscripten_webgl_create_context": _emscripten_webgl_create_context,
  18445. "_emscripten_webgl_destroy_context": _emscripten_webgl_destroy_context,
  18446. "_emscripten_webgl_destroy_context_calling_thread": _emscripten_webgl_destroy_context_calling_thread,
  18447. "_emscripten_webgl_do_create_context": _emscripten_webgl_do_create_context,
  18448. "_emscripten_webgl_do_get_current_context": _emscripten_webgl_do_get_current_context,
  18449. "_emscripten_webgl_enable_extension": _emscripten_webgl_enable_extension,
  18450. "_emscripten_webgl_enable_extension_calling_thread": _emscripten_webgl_enable_extension_calling_thread,
  18451. "_emscripten_webgl_get_current_context": _emscripten_webgl_get_current_context,
  18452. "_emscripten_webgl_init_context_attributes": _emscripten_webgl_init_context_attributes,
  18453. "_emscripten_webgl_make_context_current": _emscripten_webgl_make_context_current,
  18454. "_exit": _exit,
  18455. "_flock": _flock,
  18456. "_getenv": _getenv,
  18457. "_gethostbyaddr": _gethostbyaddr,
  18458. "_gethostbyname": _gethostbyname,
  18459. "_getpagesize": _getpagesize,
  18460. "_getpwuid": _getpwuid,
  18461. "_gettimeofday": _gettimeofday,
  18462. "_glActiveTexture": _glActiveTexture,
  18463. "_glAttachShader": _glAttachShader,
  18464. "_glBeginQuery": _glBeginQuery,
  18465. "_glBeginTransformFeedback": _glBeginTransformFeedback,
  18466. "_glBindAttribLocation": _glBindAttribLocation,
  18467. "_glBindBuffer": _glBindBuffer,
  18468. "_glBindBufferBase": _glBindBufferBase,
  18469. "_glBindBufferRange": _glBindBufferRange,
  18470. "_glBindFramebuffer": _glBindFramebuffer,
  18471. "_glBindRenderbuffer": _glBindRenderbuffer,
  18472. "_glBindSampler": _glBindSampler,
  18473. "_glBindTexture": _glBindTexture,
  18474. "_glBindTransformFeedback": _glBindTransformFeedback,
  18475. "_glBindVertexArray": _glBindVertexArray,
  18476. "_glBlendEquation": _glBlendEquation,
  18477. "_glBlendEquationSeparate": _glBlendEquationSeparate,
  18478. "_glBlendFuncSeparate": _glBlendFuncSeparate,
  18479. "_glBlitFramebuffer": _glBlitFramebuffer,
  18480. "_glBufferData": _glBufferData,
  18481. "_glBufferSubData": _glBufferSubData,
  18482. "_glCheckFramebufferStatus": _glCheckFramebufferStatus,
  18483. "_glClear": _glClear,
  18484. "_glClearBufferfi": _glClearBufferfi,
  18485. "_glClearBufferfv": _glClearBufferfv,
  18486. "_glClearBufferuiv": _glClearBufferuiv,
  18487. "_glClearColor": _glClearColor,
  18488. "_glClearDepthf": _glClearDepthf,
  18489. "_glClearStencil": _glClearStencil,
  18490. "_glClientWaitSync": _glClientWaitSync,
  18491. "_glColorMask": _glColorMask,
  18492. "_glCompileShader": _glCompileShader,
  18493. "_glCompressedTexImage2D": _glCompressedTexImage2D,
  18494. "_glCompressedTexImage3D": _glCompressedTexImage3D,
  18495. "_glCompressedTexSubImage2D": _glCompressedTexSubImage2D,
  18496. "_glCompressedTexSubImage3D": _glCompressedTexSubImage3D,
  18497. "_glCopyBufferSubData": _glCopyBufferSubData,
  18498. "_glCopyTexImage2D": _glCopyTexImage2D,
  18499. "_glCopyTexSubImage2D": _glCopyTexSubImage2D,
  18500. "_glCreateProgram": _glCreateProgram,
  18501. "_glCreateShader": _glCreateShader,
  18502. "_glCullFace": _glCullFace,
  18503. "_glDeleteBuffers": _glDeleteBuffers,
  18504. "_glDeleteFramebuffers": _glDeleteFramebuffers,
  18505. "_glDeleteProgram": _glDeleteProgram,
  18506. "_glDeleteQueries": _glDeleteQueries,
  18507. "_glDeleteRenderbuffers": _glDeleteRenderbuffers,
  18508. "_glDeleteSamplers": _glDeleteSamplers,
  18509. "_glDeleteShader": _glDeleteShader,
  18510. "_glDeleteSync": _glDeleteSync,
  18511. "_glDeleteTextures": _glDeleteTextures,
  18512. "_glDeleteTransformFeedbacks": _glDeleteTransformFeedbacks,
  18513. "_glDeleteVertexArrays": _glDeleteVertexArrays,
  18514. "_glDepthFunc": _glDepthFunc,
  18515. "_glDepthMask": _glDepthMask,
  18516. "_glDetachShader": _glDetachShader,
  18517. "_glDisable": _glDisable,
  18518. "_glDisableVertexAttribArray": _glDisableVertexAttribArray,
  18519. "_glDrawArrays": _glDrawArrays,
  18520. "_glDrawArraysInstanced": _glDrawArraysInstanced,
  18521. "_glDrawBuffers": _glDrawBuffers,
  18522. "_glDrawElements": _glDrawElements,
  18523. "_glDrawElementsInstanced": _glDrawElementsInstanced,
  18524. "_glEnable": _glEnable,
  18525. "_glEnableVertexAttribArray": _glEnableVertexAttribArray,
  18526. "_glEndQuery": _glEndQuery,
  18527. "_glEndTransformFeedback": _glEndTransformFeedback,
  18528. "_glFenceSync": _glFenceSync,
  18529. "_glFinish": _glFinish,
  18530. "_glFlush": _glFlush,
  18531. "_glFlushMappedBufferRange": _glFlushMappedBufferRange,
  18532. "_glFramebufferRenderbuffer": _glFramebufferRenderbuffer,
  18533. "_glFramebufferTexture2D": _glFramebufferTexture2D,
  18534. "_glFramebufferTextureLayer": _glFramebufferTextureLayer,
  18535. "_glFrontFace": _glFrontFace,
  18536. "_glGenBuffers": _glGenBuffers,
  18537. "_glGenFramebuffers": _glGenFramebuffers,
  18538. "_glGenQueries": _glGenQueries,
  18539. "_glGenRenderbuffers": _glGenRenderbuffers,
  18540. "_glGenSamplers": _glGenSamplers,
  18541. "_glGenTextures": _glGenTextures,
  18542. "_glGenTransformFeedbacks": _glGenTransformFeedbacks,
  18543. "_glGenVertexArrays": _glGenVertexArrays,
  18544. "_glGenerateMipmap": _glGenerateMipmap,
  18545. "_glGetActiveAttrib": _glGetActiveAttrib,
  18546. "_glGetActiveUniform": _glGetActiveUniform,
  18547. "_glGetActiveUniformBlockName": _glGetActiveUniformBlockName,
  18548. "_glGetActiveUniformBlockiv": _glGetActiveUniformBlockiv,
  18549. "_glGetActiveUniformsiv": _glGetActiveUniformsiv,
  18550. "_glGetAttribLocation": _glGetAttribLocation,
  18551. "_glGetError": _glGetError,
  18552. "_glGetFramebufferAttachmentParameteriv": _glGetFramebufferAttachmentParameteriv,
  18553. "_glGetIntegeri_v": _glGetIntegeri_v,
  18554. "_glGetIntegerv": _glGetIntegerv,
  18555. "_glGetInternalformativ": _glGetInternalformativ,
  18556. "_glGetProgramBinary": _glGetProgramBinary,
  18557. "_glGetProgramInfoLog": _glGetProgramInfoLog,
  18558. "_glGetProgramiv": _glGetProgramiv,
  18559. "_glGetQueryObjectuiv": _glGetQueryObjectuiv,
  18560. "_glGetQueryiv": _glGetQueryiv,
  18561. "_glGetRenderbufferParameteriv": _glGetRenderbufferParameteriv,
  18562. "_glGetShaderInfoLog": _glGetShaderInfoLog,
  18563. "_glGetShaderPrecisionFormat": _glGetShaderPrecisionFormat,
  18564. "_glGetShaderSource": _glGetShaderSource,
  18565. "_glGetShaderiv": _glGetShaderiv,
  18566. "_glGetString": _glGetString,
  18567. "_glGetStringi": _glGetStringi,
  18568. "_glGetTexParameteriv": _glGetTexParameteriv,
  18569. "_glGetUniformBlockIndex": _glGetUniformBlockIndex,
  18570. "_glGetUniformIndices": _glGetUniformIndices,
  18571. "_glGetUniformLocation": _glGetUniformLocation,
  18572. "_glGetUniformiv": _glGetUniformiv,
  18573. "_glGetVertexAttribiv": _glGetVertexAttribiv,
  18574. "_glInvalidateFramebuffer": _glInvalidateFramebuffer,
  18575. "_glIsEnabled": _glIsEnabled,
  18576. "_glIsVertexArray": _glIsVertexArray,
  18577. "_glLinkProgram": _glLinkProgram,
  18578. "_glMapBufferRange": _glMapBufferRange,
  18579. "_glPixelStorei": _glPixelStorei,
  18580. "_glPolygonOffset": _glPolygonOffset,
  18581. "_glProgramBinary": _glProgramBinary,
  18582. "_glProgramParameteri": _glProgramParameteri,
  18583. "_glReadBuffer": _glReadBuffer,
  18584. "_glReadPixels": _glReadPixels,
  18585. "_glRenderbufferStorage": _glRenderbufferStorage,
  18586. "_glRenderbufferStorageMultisample": _glRenderbufferStorageMultisample,
  18587. "_glSamplerParameteri": _glSamplerParameteri,
  18588. "_glScissor": _glScissor,
  18589. "_glShaderSource": _glShaderSource,
  18590. "_glStencilFuncSeparate": _glStencilFuncSeparate,
  18591. "_glStencilMask": _glStencilMask,
  18592. "_glStencilOpSeparate": _glStencilOpSeparate,
  18593. "_glTexImage2D": _glTexImage2D,
  18594. "_glTexImage3D": _glTexImage3D,
  18595. "_glTexParameterf": _glTexParameterf,
  18596. "_glTexParameteri": _glTexParameteri,
  18597. "_glTexParameteriv": _glTexParameteriv,
  18598. "_glTexStorage2D": _glTexStorage2D,
  18599. "_glTexStorage3D": _glTexStorage3D,
  18600. "_glTexSubImage2D": _glTexSubImage2D,
  18601. "_glTexSubImage3D": _glTexSubImage3D,
  18602. "_glTransformFeedbackVaryings": _glTransformFeedbackVaryings,
  18603. "_glUniform1fv": _glUniform1fv,
  18604. "_glUniform1i": _glUniform1i,
  18605. "_glUniform1iv": _glUniform1iv,
  18606. "_glUniform1uiv": _glUniform1uiv,
  18607. "_glUniform2fv": _glUniform2fv,
  18608. "_glUniform2iv": _glUniform2iv,
  18609. "_glUniform2uiv": _glUniform2uiv,
  18610. "_glUniform3fv": _glUniform3fv,
  18611. "_glUniform3iv": _glUniform3iv,
  18612. "_glUniform3uiv": _glUniform3uiv,
  18613. "_glUniform4fv": _glUniform4fv,
  18614. "_glUniform4iv": _glUniform4iv,
  18615. "_glUniform4uiv": _glUniform4uiv,
  18616. "_glUniformBlockBinding": _glUniformBlockBinding,
  18617. "_glUniformMatrix3fv": _glUniformMatrix3fv,
  18618. "_glUniformMatrix4fv": _glUniformMatrix4fv,
  18619. "_glUnmapBuffer": _glUnmapBuffer,
  18620. "_glUseProgram": _glUseProgram,
  18621. "_glValidateProgram": _glValidateProgram,
  18622. "_glVertexAttrib4f": _glVertexAttrib4f,
  18623. "_glVertexAttrib4fv": _glVertexAttrib4fv,
  18624. "_glVertexAttribIPointer": _glVertexAttribIPointer,
  18625. "_glVertexAttribPointer": _glVertexAttribPointer,
  18626. "_glViewport": _glViewport,
  18627. "_gmtime": _gmtime,
  18628. "_gmtime_r": _gmtime_r,
  18629. "_inet_addr": _inet_addr,
  18630. "_llvm_ceil_f32": _llvm_ceil_f32,
  18631. "_llvm_ceil_f64": _llvm_ceil_f64,
  18632. "_llvm_copysign_f64": _llvm_copysign_f64,
  18633. "_llvm_cttz_i32": _llvm_cttz_i32,
  18634. "_llvm_eh_typeid_for": _llvm_eh_typeid_for,
  18635. "_llvm_exp2_f32": _llvm_exp2_f32,
  18636. "_llvm_fabs_f32": _llvm_fabs_f32,
  18637. "_llvm_fabs_f64": _llvm_fabs_f64,
  18638. "_llvm_floor_f32": _llvm_floor_f32,
  18639. "_llvm_floor_f64": _llvm_floor_f64,
  18640. "_llvm_log10_f32": _llvm_log10_f32,
  18641. "_llvm_log2_f32": _llvm_log2_f32,
  18642. "_llvm_pow_f64": _llvm_pow_f64,
  18643. "_llvm_sqrt_f32": _llvm_sqrt_f32,
  18644. "_llvm_trap": _llvm_trap,
  18645. "_llvm_trunc_f32": _llvm_trunc_f32,
  18646. "_localtime": _localtime,
  18647. "_localtime_r": _localtime_r,
  18648. "_mktime": _mktime,
  18649. "_nanosleep": _nanosleep,
  18650. "_pthread_cond_destroy": _pthread_cond_destroy,
  18651. "_pthread_cond_init": _pthread_cond_init,
  18652. "_pthread_cond_timedwait": _pthread_cond_timedwait,
  18653. "_pthread_cond_wait": _pthread_cond_wait,
  18654. "_pthread_getspecific": _pthread_getspecific,
  18655. "_pthread_key_create": _pthread_key_create,
  18656. "_pthread_key_delete": _pthread_key_delete,
  18657. "_pthread_mutex_destroy": _pthread_mutex_destroy,
  18658. "_pthread_mutex_init": _pthread_mutex_init,
  18659. "_pthread_mutexattr_destroy": _pthread_mutexattr_destroy,
  18660. "_pthread_mutexattr_init": _pthread_mutexattr_init,
  18661. "_pthread_mutexattr_setprotocol": _pthread_mutexattr_setprotocol,
  18662. "_pthread_mutexattr_settype": _pthread_mutexattr_settype,
  18663. "_pthread_once": _pthread_once,
  18664. "_pthread_setspecific": _pthread_setspecific,
  18665. "_sched_yield": _sched_yield,
  18666. "_setenv": _setenv,
  18667. "_sigaction": _sigaction,
  18668. "_sigemptyset": _sigemptyset,
  18669. "_strftime": _strftime,
  18670. "_sysconf": _sysconf,
  18671. "_time": _time,
  18672. "_tzset": _tzset,
  18673. "_unsetenv": _unsetenv,
  18674. "_usleep": _usleep,
  18675. "_utime": _utime,
  18676. "emscriptenWebGLComputeImageSize": emscriptenWebGLComputeImageSize,
  18677. "emscriptenWebGLGet": emscriptenWebGLGet,
  18678. "emscriptenWebGLGetBufferBinding": emscriptenWebGLGetBufferBinding,
  18679. "emscriptenWebGLGetHeapForType": emscriptenWebGLGetHeapForType,
  18680. "emscriptenWebGLGetIndexed": emscriptenWebGLGetIndexed,
  18681. "emscriptenWebGLGetShiftForType": emscriptenWebGLGetShiftForType,
  18682. "emscriptenWebGLGetTexPixelData": emscriptenWebGLGetTexPixelData,
  18683. "emscriptenWebGLGetUniform": emscriptenWebGLGetUniform,
  18684. "emscriptenWebGLGetVertexAttrib": emscriptenWebGLGetVertexAttrib,
  18685. "emscriptenWebGLValidateMapBufferTarget": emscriptenWebGLValidateMapBufferTarget,
  18686. "emscripten_get_canvas_element_size_js": emscripten_get_canvas_element_size_js,
  18687. "emscripten_set_canvas_element_size_js": emscripten_set_canvas_element_size_js,
  18688. "DYNAMICTOP_PTR": DYNAMICTOP_PTR,
  18689. "tempDoublePtr": tempDoublePtr,
  18690. "ABORT": ABORT,
  18691. "STACKTOP": STACKTOP,
  18692. "STACK_MAX": STACK_MAX
  18693. };
  18694. var asm = Module["asm"](Module.asmGlobalArg, Module.asmLibraryArg, buffer);
  18695. var real__InjectProfilerSample = asm["_InjectProfilerSample"];
  18696. asm["_InjectProfilerSample"] = (function() {
  18697. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18698. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18699. return real__InjectProfilerSample.apply(null, arguments);
  18700. });
  18701. var real__SendMessage = asm["_SendMessage"];
  18702. asm["_SendMessage"] = (function() {
  18703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18705. return real__SendMessage.apply(null, arguments);
  18706. });
  18707. var real__SendMessageFloat = asm["_SendMessageFloat"];
  18708. asm["_SendMessageFloat"] = (function() {
  18709. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18710. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18711. return real__SendMessageFloat.apply(null, arguments);
  18712. });
  18713. var real__SendMessageString = asm["_SendMessageString"];
  18714. asm["_SendMessageString"] = (function() {
  18715. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18716. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18717. return real__SendMessageString.apply(null, arguments);
  18718. });
  18719. var real__SetFullscreen = asm["_SetFullscreen"];
  18720. asm["_SetFullscreen"] = (function() {
  18721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18723. return real__SetFullscreen.apply(null, arguments);
  18724. });
  18725. var real___GLOBAL__sub_I_AIBindings_gen_cpp = asm["__GLOBAL__sub_I_AIBindings_gen_cpp"];
  18726. asm["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  18727. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18728. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18729. return real___GLOBAL__sub_I_AIBindings_gen_cpp.apply(null, arguments);
  18730. });
  18731. var real___GLOBAL__sub_I_AIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"];
  18732. asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (function() {
  18733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18735. return real___GLOBAL__sub_I_AIScriptingClasses_cpp.apply(null, arguments);
  18736. });
  18737. var real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"];
  18738. asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (function() {
  18739. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18740. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18741. return real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp.apply(null, arguments);
  18742. });
  18743. var real___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"];
  18744. asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (function() {
  18745. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18746. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18747. return real___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp.apply(null, arguments);
  18748. });
  18749. var real___GLOBAL__sub_I_AnimationBindings_gen_cpp = asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"];
  18750. asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (function() {
  18751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18753. return real___GLOBAL__sub_I_AnimationBindings_gen_cpp.apply(null, arguments);
  18754. });
  18755. var real___GLOBAL__sub_I_AnimationClip_cpp = asm["__GLOBAL__sub_I_AnimationClip_cpp"];
  18756. asm["__GLOBAL__sub_I_AnimationClip_cpp"] = (function() {
  18757. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18758. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18759. return real___GLOBAL__sub_I_AnimationClip_cpp.apply(null, arguments);
  18760. });
  18761. var real___GLOBAL__sub_I_AnimationScriptingClasses_cpp = asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"];
  18762. asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"] = (function() {
  18763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18765. return real___GLOBAL__sub_I_AnimationScriptingClasses_cpp.apply(null, arguments);
  18766. });
  18767. var real___GLOBAL__sub_I_AssetBundleFileSystem_cpp = asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"];
  18768. asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"] = (function() {
  18769. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18770. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18771. return real___GLOBAL__sub_I_AssetBundleFileSystem_cpp.apply(null, arguments);
  18772. });
  18773. var real___GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"];
  18774. asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"] = (function() {
  18775. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18776. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18777. return real___GLOBAL__sub_I_AssetBundleScriptingClasses_cpp.apply(null, arguments);
  18778. });
  18779. var real___GLOBAL__sub_I_AudioScriptingClasses_cpp = asm["__GLOBAL__sub_I_AudioScriptingClasses_cpp"];
  18780. asm["__GLOBAL__sub_I_AudioScriptingClasses_cpp"] = (function() {
  18781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18783. return real___GLOBAL__sub_I_AudioScriptingClasses_cpp.apply(null, arguments);
  18784. });
  18785. var real___GLOBAL__sub_I_ClothScriptingClasses_cpp = asm["__GLOBAL__sub_I_ClothScriptingClasses_cpp"];
  18786. asm["__GLOBAL__sub_I_ClothScriptingClasses_cpp"] = (function() {
  18787. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18788. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18789. return real___GLOBAL__sub_I_ClothScriptingClasses_cpp.apply(null, arguments);
  18790. });
  18791. var real___GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp = asm["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"];
  18792. asm["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"] = (function() {
  18793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18795. return real___GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp.apply(null, arguments);
  18796. });
  18797. var real___GLOBAL__sub_I_ConstraintJob_cpp = asm["__GLOBAL__sub_I_ConstraintJob_cpp"];
  18798. asm["__GLOBAL__sub_I_ConstraintJob_cpp"] = (function() {
  18799. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18800. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18801. return real___GLOBAL__sub_I_ConstraintJob_cpp.apply(null, arguments);
  18802. });
  18803. var real___GLOBAL__sub_I_CoreBindings_gen_cpp = asm["__GLOBAL__sub_I_CoreBindings_gen_cpp"];
  18804. asm["__GLOBAL__sub_I_CoreBindings_gen_cpp"] = (function() {
  18805. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18806. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18807. return real___GLOBAL__sub_I_CoreBindings_gen_cpp.apply(null, arguments);
  18808. });
  18809. var real___GLOBAL__sub_I_DSPGraphBindings_gen_cpp = asm["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"];
  18810. asm["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"] = (function() {
  18811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18813. return real___GLOBAL__sub_I_DSPGraphBindings_gen_cpp.apply(null, arguments);
  18814. });
  18815. var real___GLOBAL__sub_I_DirectorScriptingClasses_cpp = asm["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"];
  18816. asm["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"] = (function() {
  18817. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18818. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18819. return real___GLOBAL__sub_I_DirectorScriptingClasses_cpp.apply(null, arguments);
  18820. });
  18821. var real___GLOBAL__sub_I_ExternalForcesModule_cpp = asm["__GLOBAL__sub_I_ExternalForcesModule_cpp"];
  18822. asm["__GLOBAL__sub_I_ExternalForcesModule_cpp"] = (function() {
  18823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18825. return real___GLOBAL__sub_I_ExternalForcesModule_cpp.apply(null, arguments);
  18826. });
  18827. var real___GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"];
  18828. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"] = (function() {
  18829. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18830. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18831. return real___GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp.apply(null, arguments);
  18832. });
  18833. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"];
  18834. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"] = (function() {
  18835. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18836. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18837. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp.apply(null, arguments);
  18838. });
  18839. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"];
  18840. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"] = (function() {
  18841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18843. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp.apply(null, arguments);
  18844. });
  18845. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"];
  18846. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"] = (function() {
  18847. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18848. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18849. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp.apply(null, arguments);
  18850. });
  18851. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"];
  18852. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"] = (function() {
  18853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18855. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp.apply(null, arguments);
  18856. });
  18857. var real___GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"];
  18858. asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"] = (function() {
  18859. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18860. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18861. return real___GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp.apply(null, arguments);
  18862. });
  18863. var real___GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"];
  18864. asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"] = (function() {
  18865. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18866. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18867. return real___GLOBAL__sub_I_External_Yoga_Yoga_0_cpp.apply(null, arguments);
  18868. });
  18869. var real___GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp = asm["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"];
  18870. asm["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"] = (function() {
  18871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18873. return real___GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp.apply(null, arguments);
  18874. });
  18875. var real___GLOBAL__sub_I_GUITexture_cpp = asm["__GLOBAL__sub_I_GUITexture_cpp"];
  18876. asm["__GLOBAL__sub_I_GUITexture_cpp"] = (function() {
  18877. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18878. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18879. return real___GLOBAL__sub_I_GUITexture_cpp.apply(null, arguments);
  18880. });
  18881. var real___GLOBAL__sub_I_GfxDeviceNull_cpp = asm["__GLOBAL__sub_I_GfxDeviceNull_cpp"];
  18882. asm["__GLOBAL__sub_I_GfxDeviceNull_cpp"] = (function() {
  18883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18885. return real___GLOBAL__sub_I_GfxDeviceNull_cpp.apply(null, arguments);
  18886. });
  18887. var real___GLOBAL__sub_I_GridScriptingClasses_cpp = asm["__GLOBAL__sub_I_GridScriptingClasses_cpp"];
  18888. asm["__GLOBAL__sub_I_GridScriptingClasses_cpp"] = (function() {
  18889. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18890. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18891. return real___GLOBAL__sub_I_GridScriptingClasses_cpp.apply(null, arguments);
  18892. });
  18893. var real___GLOBAL__sub_I_IMGUIScriptingClasses_cpp = asm["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"];
  18894. asm["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"] = (function() {
  18895. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18896. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18897. return real___GLOBAL__sub_I_IMGUIScriptingClasses_cpp.apply(null, arguments);
  18898. });
  18899. var real___GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"];
  18900. asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"] = (function() {
  18901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18903. return real___GLOBAL__sub_I_InputLegacyModuleRegistration_cpp.apply(null, arguments);
  18904. });
  18905. var real___GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"];
  18906. asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"] = (function() {
  18907. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18908. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18909. return real___GLOBAL__sub_I_InputLegacyScriptingClasses_cpp.apply(null, arguments);
  18910. });
  18911. var real___GLOBAL__sub_I_InputScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputScriptingClasses_cpp"];
  18912. asm["__GLOBAL__sub_I_InputScriptingClasses_cpp"] = (function() {
  18913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18915. return real___GLOBAL__sub_I_InputScriptingClasses_cpp.apply(null, arguments);
  18916. });
  18917. var real___GLOBAL__sub_I_LineRenderer_cpp = asm["__GLOBAL__sub_I_LineRenderer_cpp"];
  18918. asm["__GLOBAL__sub_I_LineRenderer_cpp"] = (function() {
  18919. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18920. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18921. return real___GLOBAL__sub_I_LineRenderer_cpp.apply(null, arguments);
  18922. });
  18923. var real___GLOBAL__sub_I_LogAssert_cpp = asm["__GLOBAL__sub_I_LogAssert_cpp"];
  18924. asm["__GLOBAL__sub_I_LogAssert_cpp"] = (function() {
  18925. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18926. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18927. return real___GLOBAL__sub_I_LogAssert_cpp.apply(null, arguments);
  18928. });
  18929. var real___GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"];
  18930. asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"] = (function() {
  18931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18933. return real___GLOBAL__sub_I_Lump_libil2cpp_gc_cpp.apply(null, arguments);
  18934. });
  18935. var real___GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"];
  18936. asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"] = (function() {
  18937. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18938. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18939. return real___GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp.apply(null, arguments);
  18940. });
  18941. var real___GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"];
  18942. asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"] = (function() {
  18943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18945. return real___GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp.apply(null, arguments);
  18946. });
  18947. var real___GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"];
  18948. asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"] = (function() {
  18949. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18950. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18951. return real___GLOBAL__sub_I_Lump_libil2cpp_mono_cpp.apply(null, arguments);
  18952. });
  18953. var real___GLOBAL__sub_I_Lump_libil2cpp_os_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"];
  18954. asm["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"] = (function() {
  18955. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18956. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18957. return real___GLOBAL__sub_I_Lump_libil2cpp_os_cpp.apply(null, arguments);
  18958. });
  18959. var real___GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"];
  18960. asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"] = (function() {
  18961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18963. return real___GLOBAL__sub_I_Lump_libil2cpp_utils_cpp.apply(null, arguments);
  18964. });
  18965. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"];
  18966. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"] = (function() {
  18967. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18968. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18969. return real___GLOBAL__sub_I_Lump_libil2cpp_vm_cpp.apply(null, arguments);
  18970. });
  18971. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"];
  18972. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"] = (function() {
  18973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18975. return real___GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp.apply(null, arguments);
  18976. });
  18977. var real___GLOBAL__sub_I_Mesh_cpp = asm["__GLOBAL__sub_I_Mesh_cpp"];
  18978. asm["__GLOBAL__sub_I_Mesh_cpp"] = (function() {
  18979. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18980. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18981. return real___GLOBAL__sub_I_Mesh_cpp.apply(null, arguments);
  18982. });
  18983. var real___GLOBAL__sub_I_Modules_AI_1_cpp = asm["__GLOBAL__sub_I_Modules_AI_1_cpp"];
  18984. asm["__GLOBAL__sub_I_Modules_AI_1_cpp"] = (function() {
  18985. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18986. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18987. return real___GLOBAL__sub_I_Modules_AI_1_cpp.apply(null, arguments);
  18988. });
  18989. var real___GLOBAL__sub_I_Modules_AI_Builder_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"];
  18990. asm["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"] = (function() {
  18991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18993. return real___GLOBAL__sub_I_Modules_AI_Builder_0_cpp.apply(null, arguments);
  18994. });
  18995. var real___GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"];
  18996. asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"] = (function() {
  18997. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18998. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18999. return real___GLOBAL__sub_I_Modules_AI_Crowd_0_cpp.apply(null, arguments);
  19000. });
  19001. var real___GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"];
  19002. asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"] = (function() {
  19003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19005. return real___GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp.apply(null, arguments);
  19006. });
  19007. var real___GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"];
  19008. asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"] = (function() {
  19009. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19010. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19011. return real___GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp.apply(null, arguments);
  19012. });
  19013. var real___GLOBAL__sub_I_Modules_Animation_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_0_cpp"];
  19014. asm["__GLOBAL__sub_I_Modules_Animation_0_cpp"] = (function() {
  19015. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19016. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19017. return real___GLOBAL__sub_I_Modules_Animation_0_cpp.apply(null, arguments);
  19018. });
  19019. var real___GLOBAL__sub_I_Modules_Animation_2_cpp = asm["__GLOBAL__sub_I_Modules_Animation_2_cpp"];
  19020. asm["__GLOBAL__sub_I_Modules_Animation_2_cpp"] = (function() {
  19021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19023. return real___GLOBAL__sub_I_Modules_Animation_2_cpp.apply(null, arguments);
  19024. });
  19025. var real___GLOBAL__sub_I_Modules_Animation_3_cpp = asm["__GLOBAL__sub_I_Modules_Animation_3_cpp"];
  19026. asm["__GLOBAL__sub_I_Modules_Animation_3_cpp"] = (function() {
  19027. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19028. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19029. return real___GLOBAL__sub_I_Modules_Animation_3_cpp.apply(null, arguments);
  19030. });
  19031. var real___GLOBAL__sub_I_Modules_Animation_4_cpp = asm["__GLOBAL__sub_I_Modules_Animation_4_cpp"];
  19032. asm["__GLOBAL__sub_I_Modules_Animation_4_cpp"] = (function() {
  19033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19035. return real___GLOBAL__sub_I_Modules_Animation_4_cpp.apply(null, arguments);
  19036. });
  19037. var real___GLOBAL__sub_I_Modules_Animation_5_cpp = asm["__GLOBAL__sub_I_Modules_Animation_5_cpp"];
  19038. asm["__GLOBAL__sub_I_Modules_Animation_5_cpp"] = (function() {
  19039. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19040. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19041. return real___GLOBAL__sub_I_Modules_Animation_5_cpp.apply(null, arguments);
  19042. });
  19043. var real___GLOBAL__sub_I_Modules_Animation_6_cpp = asm["__GLOBAL__sub_I_Modules_Animation_6_cpp"];
  19044. asm["__GLOBAL__sub_I_Modules_Animation_6_cpp"] = (function() {
  19045. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19046. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19047. return real___GLOBAL__sub_I_Modules_Animation_6_cpp.apply(null, arguments);
  19048. });
  19049. var real___GLOBAL__sub_I_Modules_Animation_7_cpp = asm["__GLOBAL__sub_I_Modules_Animation_7_cpp"];
  19050. asm["__GLOBAL__sub_I_Modules_Animation_7_cpp"] = (function() {
  19051. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19052. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19053. return real___GLOBAL__sub_I_Modules_Animation_7_cpp.apply(null, arguments);
  19054. });
  19055. var real___GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"];
  19056. asm["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"] = (function() {
  19057. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19058. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19059. return real___GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp.apply(null, arguments);
  19060. });
  19061. var real___GLOBAL__sub_I_Modules_Animation_Director_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"];
  19062. asm["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"] = (function() {
  19063. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19064. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19065. return real___GLOBAL__sub_I_Modules_Animation_Director_0_cpp.apply(null, arguments);
  19066. });
  19067. var real___GLOBAL__sub_I_Modules_Animation_Director_1_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"];
  19068. asm["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"] = (function() {
  19069. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19070. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19071. return real___GLOBAL__sub_I_Modules_Animation_Director_1_cpp.apply(null, arguments);
  19072. });
  19073. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"];
  19074. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"] = (function() {
  19075. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19076. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19077. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp.apply(null, arguments);
  19078. });
  19079. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"];
  19080. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"] = (function() {
  19081. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19082. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19083. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp.apply(null, arguments);
  19084. });
  19085. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"];
  19086. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"] = (function() {
  19087. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19088. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19089. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp.apply(null, arguments);
  19090. });
  19091. var real___GLOBAL__sub_I_Modules_Audio_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"];
  19092. asm["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"] = (function() {
  19093. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19094. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19095. return real___GLOBAL__sub_I_Modules_Audio_Public_0_cpp.apply(null, arguments);
  19096. });
  19097. var real___GLOBAL__sub_I_Modules_Audio_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"];
  19098. asm["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"] = (function() {
  19099. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19100. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19101. return real___GLOBAL__sub_I_Modules_Audio_Public_1_cpp.apply(null, arguments);
  19102. });
  19103. var real___GLOBAL__sub_I_Modules_Audio_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"];
  19104. asm["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"] = (function() {
  19105. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19106. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19107. return real___GLOBAL__sub_I_Modules_Audio_Public_3_cpp.apply(null, arguments);
  19108. });
  19109. var real___GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"];
  19110. asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"] = (function() {
  19111. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19112. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19113. return real___GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp.apply(null, arguments);
  19114. });
  19115. var real___GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"];
  19116. asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"] = (function() {
  19117. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19118. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19119. return real___GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp.apply(null, arguments);
  19120. });
  19121. var real___GLOBAL__sub_I_Modules_Cloth_0_cpp = asm["__GLOBAL__sub_I_Modules_Cloth_0_cpp"];
  19122. asm["__GLOBAL__sub_I_Modules_Cloth_0_cpp"] = (function() {
  19123. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19124. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19125. return real___GLOBAL__sub_I_Modules_Cloth_0_cpp.apply(null, arguments);
  19126. });
  19127. var real___GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"];
  19128. asm["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"] = (function() {
  19129. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19130. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19131. return real___GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp.apply(null, arguments);
  19132. });
  19133. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"];
  19134. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"] = (function() {
  19135. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19136. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19137. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp.apply(null, arguments);
  19138. });
  19139. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"];
  19140. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"] = (function() {
  19141. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19142. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19143. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp.apply(null, arguments);
  19144. });
  19145. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"];
  19146. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"] = (function() {
  19147. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19148. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19149. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp.apply(null, arguments);
  19150. });
  19151. var real___GLOBAL__sub_I_Modules_Grid_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"];
  19152. asm["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"] = (function() {
  19153. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19154. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19155. return real___GLOBAL__sub_I_Modules_Grid_Public_0_cpp.apply(null, arguments);
  19156. });
  19157. var real___GLOBAL__sub_I_Modules_IMGUI_0_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"];
  19158. asm["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"] = (function() {
  19159. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19160. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19161. return real___GLOBAL__sub_I_Modules_IMGUI_0_cpp.apply(null, arguments);
  19162. });
  19163. var real___GLOBAL__sub_I_Modules_IMGUI_1_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"];
  19164. asm["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"] = (function() {
  19165. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19166. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19167. return real___GLOBAL__sub_I_Modules_IMGUI_1_cpp.apply(null, arguments);
  19168. });
  19169. var real___GLOBAL__sub_I_Modules_Input_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"];
  19170. asm["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"] = (function() {
  19171. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19172. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19173. return real___GLOBAL__sub_I_Modules_Input_Private_0_cpp.apply(null, arguments);
  19174. });
  19175. var real___GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"];
  19176. asm["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"] = (function() {
  19177. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19178. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19179. return real___GLOBAL__sub_I_Modules_ParticleSystem_0_cpp.apply(null, arguments);
  19180. });
  19181. var real___GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"];
  19182. asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"] = (function() {
  19183. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19184. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19185. return real___GLOBAL__sub_I_Modules_ParticleSystem_1_cpp.apply(null, arguments);
  19186. });
  19187. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"];
  19188. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"] = (function() {
  19189. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19190. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19191. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp.apply(null, arguments);
  19192. });
  19193. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"];
  19194. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"] = (function() {
  19195. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19196. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19197. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp.apply(null, arguments);
  19198. });
  19199. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"];
  19200. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"] = (function() {
  19201. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19202. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19203. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp.apply(null, arguments);
  19204. });
  19205. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"];
  19206. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"] = (function() {
  19207. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19208. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19209. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp.apply(null, arguments);
  19210. });
  19211. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"];
  19212. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"] = (function() {
  19213. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19214. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19215. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp.apply(null, arguments);
  19216. });
  19217. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"];
  19218. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"] = (function() {
  19219. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19220. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19221. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp.apply(null, arguments);
  19222. });
  19223. var real___GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = asm["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"];
  19224. asm["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"] = (function() {
  19225. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19226. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19227. return real___GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp.apply(null, arguments);
  19228. });
  19229. var real___GLOBAL__sub_I_Modules_Physics2D_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"];
  19230. asm["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"] = (function() {
  19231. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19232. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19233. return real___GLOBAL__sub_I_Modules_Physics2D_0_cpp.apply(null, arguments);
  19234. });
  19235. var real___GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"];
  19236. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"] = (function() {
  19237. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19238. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19239. return real___GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp.apply(null, arguments);
  19240. });
  19241. var real___GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"];
  19242. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"] = (function() {
  19243. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19244. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19245. return real___GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp.apply(null, arguments);
  19246. });
  19247. var real___GLOBAL__sub_I_Modules_Physics_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_0_cpp"];
  19248. asm["__GLOBAL__sub_I_Modules_Physics_0_cpp"] = (function() {
  19249. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19250. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19251. return real___GLOBAL__sub_I_Modules_Physics_0_cpp.apply(null, arguments);
  19252. });
  19253. var real___GLOBAL__sub_I_Modules_Physics_2_cpp = asm["__GLOBAL__sub_I_Modules_Physics_2_cpp"];
  19254. asm["__GLOBAL__sub_I_Modules_Physics_2_cpp"] = (function() {
  19255. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19256. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19257. return real___GLOBAL__sub_I_Modules_Physics_2_cpp.apply(null, arguments);
  19258. });
  19259. var real___GLOBAL__sub_I_Modules_Physics_3_cpp = asm["__GLOBAL__sub_I_Modules_Physics_3_cpp"];
  19260. asm["__GLOBAL__sub_I_Modules_Physics_3_cpp"] = (function() {
  19261. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19262. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19263. return real___GLOBAL__sub_I_Modules_Physics_3_cpp.apply(null, arguments);
  19264. });
  19265. var real___GLOBAL__sub_I_Modules_Physics_4_cpp = asm["__GLOBAL__sub_I_Modules_Physics_4_cpp"];
  19266. asm["__GLOBAL__sub_I_Modules_Physics_4_cpp"] = (function() {
  19267. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19268. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19269. return real___GLOBAL__sub_I_Modules_Physics_4_cpp.apply(null, arguments);
  19270. });
  19271. var real___GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"];
  19272. asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"] = (function() {
  19273. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19274. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19275. return real___GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp.apply(null, arguments);
  19276. });
  19277. var real___GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"];
  19278. asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"] = (function() {
  19279. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19280. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19281. return real___GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp.apply(null, arguments);
  19282. });
  19283. var real___GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"];
  19284. asm["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"] = (function() {
  19285. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19286. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19287. return real___GLOBAL__sub_I_Modules_Profiler_Public_0_cpp.apply(null, arguments);
  19288. });
  19289. var real___GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"];
  19290. asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"] = (function() {
  19291. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19292. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19293. return real___GLOBAL__sub_I_Modules_Profiler_Public_1_cpp.apply(null, arguments);
  19294. });
  19295. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"];
  19296. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"] = (function() {
  19297. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19298. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19299. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp.apply(null, arguments);
  19300. });
  19301. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"];
  19302. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"] = (function() {
  19303. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19304. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19305. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp.apply(null, arguments);
  19306. });
  19307. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"];
  19308. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"] = (function() {
  19309. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19310. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19311. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp.apply(null, arguments);
  19312. });
  19313. var real___GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"];
  19314. asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"] = (function() {
  19315. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19316. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19317. return real___GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp.apply(null, arguments);
  19318. });
  19319. var real___GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"];
  19320. asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"] = (function() {
  19321. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19322. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19323. return real___GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp.apply(null, arguments);
  19324. });
  19325. var real___GLOBAL__sub_I_Modules_Subsystems_0_cpp = asm["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"];
  19326. asm["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"] = (function() {
  19327. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19328. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19329. return real___GLOBAL__sub_I_Modules_Subsystems_0_cpp.apply(null, arguments);
  19330. });
  19331. var real___GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = asm["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"];
  19332. asm["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"] = (function() {
  19333. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19334. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19335. return real___GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp.apply(null, arguments);
  19336. });
  19337. var real___GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"];
  19338. asm["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"] = (function() {
  19339. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19340. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19341. return real___GLOBAL__sub_I_Modules_Terrain_Public_0_cpp.apply(null, arguments);
  19342. });
  19343. var real___GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"];
  19344. asm["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"] = (function() {
  19345. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19346. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19347. return real___GLOBAL__sub_I_Modules_Terrain_Public_1_cpp.apply(null, arguments);
  19348. });
  19349. var real___GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"];
  19350. asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"] = (function() {
  19351. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19352. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19353. return real___GLOBAL__sub_I_Modules_Terrain_Public_2_cpp.apply(null, arguments);
  19354. });
  19355. var real___GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"];
  19356. asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"] = (function() {
  19357. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19358. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19359. return real___GLOBAL__sub_I_Modules_Terrain_Public_3_cpp.apply(null, arguments);
  19360. });
  19361. var real___GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"];
  19362. asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"] = (function() {
  19363. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19364. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19365. return real___GLOBAL__sub_I_Modules_Terrain_VR_0_cpp.apply(null, arguments);
  19366. });
  19367. var real___GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"];
  19368. asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"] = (function() {
  19369. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19370. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19371. return real___GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp.apply(null, arguments);
  19372. });
  19373. var real___GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"];
  19374. asm["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"] = (function() {
  19375. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19376. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19377. return real___GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp.apply(null, arguments);
  19378. });
  19379. var real___GLOBAL__sub_I_Modules_Tilemap_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"];
  19380. asm["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"] = (function() {
  19381. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19382. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19383. return real___GLOBAL__sub_I_Modules_Tilemap_0_cpp.apply(null, arguments);
  19384. });
  19385. var real___GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"];
  19386. asm["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"] = (function() {
  19387. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19388. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19389. return real___GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp.apply(null, arguments);
  19390. });
  19391. var real___GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = asm["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"];
  19392. asm["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"] = (function() {
  19393. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19394. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19395. return real___GLOBAL__sub_I_Modules_UIElementsNative_0_cpp.apply(null, arguments);
  19396. });
  19397. var real___GLOBAL__sub_I_Modules_UI_0_cpp = asm["__GLOBAL__sub_I_Modules_UI_0_cpp"];
  19398. asm["__GLOBAL__sub_I_Modules_UI_0_cpp"] = (function() {
  19399. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19400. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19401. return real___GLOBAL__sub_I_Modules_UI_0_cpp.apply(null, arguments);
  19402. });
  19403. var real___GLOBAL__sub_I_Modules_UI_1_cpp = asm["__GLOBAL__sub_I_Modules_UI_1_cpp"];
  19404. asm["__GLOBAL__sub_I_Modules_UI_1_cpp"] = (function() {
  19405. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19406. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19407. return real___GLOBAL__sub_I_Modules_UI_1_cpp.apply(null, arguments);
  19408. });
  19409. var real___GLOBAL__sub_I_Modules_UI_2_cpp = asm["__GLOBAL__sub_I_Modules_UI_2_cpp"];
  19410. asm["__GLOBAL__sub_I_Modules_UI_2_cpp"] = (function() {
  19411. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19412. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19413. return real___GLOBAL__sub_I_Modules_UI_2_cpp.apply(null, arguments);
  19414. });
  19415. var real___GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"];
  19416. asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"] = (function() {
  19417. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19418. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19419. return real___GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp.apply(null, arguments);
  19420. });
  19421. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"];
  19422. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"] = (function() {
  19423. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19424. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19425. return real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp.apply(null, arguments);
  19426. });
  19427. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"];
  19428. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"] = (function() {
  19429. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19430. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19431. return real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp.apply(null, arguments);
  19432. });
  19433. var real___GLOBAL__sub_I_Modules_VFX_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"];
  19434. asm["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"] = (function() {
  19435. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19436. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19437. return real___GLOBAL__sub_I_Modules_VFX_Public_0_cpp.apply(null, arguments);
  19438. });
  19439. var real___GLOBAL__sub_I_Modules_VFX_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"];
  19440. asm["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"] = (function() {
  19441. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19442. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19443. return real___GLOBAL__sub_I_Modules_VFX_Public_1_cpp.apply(null, arguments);
  19444. });
  19445. var real___GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"];
  19446. asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"] = (function() {
  19447. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19448. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19449. return real___GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp.apply(null, arguments);
  19450. });
  19451. var real___GLOBAL__sub_I_Modules_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_VR_0_cpp"];
  19452. asm["__GLOBAL__sub_I_Modules_VR_0_cpp"] = (function() {
  19453. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19454. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19455. return real___GLOBAL__sub_I_Modules_VR_0_cpp.apply(null, arguments);
  19456. });
  19457. var real___GLOBAL__sub_I_Modules_VR_1_cpp = asm["__GLOBAL__sub_I_Modules_VR_1_cpp"];
  19458. asm["__GLOBAL__sub_I_Modules_VR_1_cpp"] = (function() {
  19459. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19460. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19461. return real___GLOBAL__sub_I_Modules_VR_1_cpp.apply(null, arguments);
  19462. });
  19463. var real___GLOBAL__sub_I_Modules_Vehicles_0_cpp = asm["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"];
  19464. asm["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"] = (function() {
  19465. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19466. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19467. return real___GLOBAL__sub_I_Modules_Vehicles_0_cpp.apply(null, arguments);
  19468. });
  19469. var real___GLOBAL__sub_I_Modules_Video_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"];
  19470. asm["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"] = (function() {
  19471. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19472. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19473. return real___GLOBAL__sub_I_Modules_Video_Public_0_cpp.apply(null, arguments);
  19474. });
  19475. var real___GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"];
  19476. asm["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"] = (function() {
  19477. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19478. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19479. return real___GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp.apply(null, arguments);
  19480. });
  19481. var real___GLOBAL__sub_I_Modules_XR_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_0_cpp"];
  19482. asm["__GLOBAL__sub_I_Modules_XR_0_cpp"] = (function() {
  19483. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19484. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19485. return real___GLOBAL__sub_I_Modules_XR_0_cpp.apply(null, arguments);
  19486. });
  19487. var real___GLOBAL__sub_I_Modules_XR_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"];
  19488. asm["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"] = (function() {
  19489. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19490. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19491. return real___GLOBAL__sub_I_Modules_XR_Public_0_cpp.apply(null, arguments);
  19492. });
  19493. var real___GLOBAL__sub_I_Modules_XR_Stats_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"];
  19494. asm["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"] = (function() {
  19495. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19496. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19497. return real___GLOBAL__sub_I_Modules_XR_Stats_0_cpp.apply(null, arguments);
  19498. });
  19499. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"];
  19500. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"] = (function() {
  19501. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19502. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19503. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp.apply(null, arguments);
  19504. });
  19505. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"];
  19506. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"] = (function() {
  19507. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19508. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19509. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp.apply(null, arguments);
  19510. });
  19511. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"];
  19512. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"] = (function() {
  19513. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19514. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19515. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp.apply(null, arguments);
  19516. });
  19517. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"];
  19518. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"] = (function() {
  19519. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19520. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19521. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp.apply(null, arguments);
  19522. });
  19523. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"];
  19524. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"] = (function() {
  19525. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19526. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19527. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp.apply(null, arguments);
  19528. });
  19529. var real___GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"];
  19530. asm["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"] = (function() {
  19531. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19532. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19533. return real___GLOBAL__sub_I_Modules_XR_Tracing_0_cpp.apply(null, arguments);
  19534. });
  19535. var real___GLOBAL__sub_I_NoiseModule_cpp = asm["__GLOBAL__sub_I_NoiseModule_cpp"];
  19536. asm["__GLOBAL__sub_I_NoiseModule_cpp"] = (function() {
  19537. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19538. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19539. return real___GLOBAL__sub_I_NoiseModule_cpp.apply(null, arguments);
  19540. });
  19541. var real___GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"];
  19542. asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"] = (function() {
  19543. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19544. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19545. return real___GLOBAL__sub_I_ParticleSystemBindings_gen_cpp.apply(null, arguments);
  19546. });
  19547. var real___GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"];
  19548. asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"] = (function() {
  19549. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19550. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19551. return real___GLOBAL__sub_I_ParticleSystemGeometryJob_cpp.apply(null, arguments);
  19552. });
  19553. var real___GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"];
  19554. asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"] = (function() {
  19555. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19556. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19557. return real___GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp.apply(null, arguments);
  19558. });
  19559. var real___GLOBAL__sub_I_Physics2DScriptingClasses_cpp = asm["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"];
  19560. asm["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"] = (function() {
  19561. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19562. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19563. return real___GLOBAL__sub_I_Physics2DScriptingClasses_cpp.apply(null, arguments);
  19564. });
  19565. var real___GLOBAL__sub_I_PhysicsBindings_gen_cpp = asm["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"];
  19566. asm["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"] = (function() {
  19567. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19568. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19569. return real___GLOBAL__sub_I_PhysicsBindings_gen_cpp.apply(null, arguments);
  19570. });
  19571. var real___GLOBAL__sub_I_PhysicsQuery_cpp = asm["__GLOBAL__sub_I_PhysicsQuery_cpp"];
  19572. asm["__GLOBAL__sub_I_PhysicsQuery_cpp"] = (function() {
  19573. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19574. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19575. return real___GLOBAL__sub_I_PhysicsQuery_cpp.apply(null, arguments);
  19576. });
  19577. var real___GLOBAL__sub_I_PhysicsScene_cpp = asm["__GLOBAL__sub_I_PhysicsScene_cpp"];
  19578. asm["__GLOBAL__sub_I_PhysicsScene_cpp"] = (function() {
  19579. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19580. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19581. return real___GLOBAL__sub_I_PhysicsScene_cpp.apply(null, arguments);
  19582. });
  19583. var real___GLOBAL__sub_I_PhysicsScriptingClasses_cpp = asm["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"];
  19584. asm["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"] = (function() {
  19585. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19586. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19587. return real___GLOBAL__sub_I_PhysicsScriptingClasses_cpp.apply(null, arguments);
  19588. });
  19589. var real___GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"];
  19590. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"] = (function() {
  19591. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19592. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19593. return real___GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp.apply(null, arguments);
  19594. });
  19595. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"];
  19596. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"] = (function() {
  19597. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19598. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19599. return real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp.apply(null, arguments);
  19600. });
  19601. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"];
  19602. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"] = (function() {
  19603. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19604. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19605. return real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp.apply(null, arguments);
  19606. });
  19607. var real___GLOBAL__sub_I_PluginInterfaceVR_cpp = asm["__GLOBAL__sub_I_PluginInterfaceVR_cpp"];
  19608. asm["__GLOBAL__sub_I_PluginInterfaceVR_cpp"] = (function() {
  19609. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19610. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19611. return real___GLOBAL__sub_I_PluginInterfaceVR_cpp.apply(null, arguments);
  19612. });
  19613. var real___GLOBAL__sub_I_QualitySettings_cpp = asm["__GLOBAL__sub_I_QualitySettings_cpp"];
  19614. asm["__GLOBAL__sub_I_QualitySettings_cpp"] = (function() {
  19615. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19616. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19617. return real___GLOBAL__sub_I_QualitySettings_cpp.apply(null, arguments);
  19618. });
  19619. var real___GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"];
  19620. asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"] = (function() {
  19621. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19622. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19623. return real___GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp.apply(null, arguments);
  19624. });
  19625. var real___GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"];
  19626. asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"] = (function() {
  19627. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19628. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19629. return real___GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp.apply(null, arguments);
  19630. });
  19631. var real___GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"];
  19632. asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"] = (function() {
  19633. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19634. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19635. return real___GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp.apply(null, arguments);
  19636. });
  19637. var real___GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"];
  19638. asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"] = (function() {
  19639. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19640. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19641. return real___GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp.apply(null, arguments);
  19642. });
  19643. var real___GLOBAL__sub_I_Runtime_Allocator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"];
  19644. asm["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"] = (function() {
  19645. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19646. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19647. return real___GLOBAL__sub_I_Runtime_Allocator_0_cpp.apply(null, arguments);
  19648. });
  19649. var real___GLOBAL__sub_I_Runtime_Allocator_2_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"];
  19650. asm["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"] = (function() {
  19651. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19652. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19653. return real___GLOBAL__sub_I_Runtime_Allocator_2_cpp.apply(null, arguments);
  19654. });
  19655. var real___GLOBAL__sub_I_Runtime_Allocator_3_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"];
  19656. asm["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"] = (function() {
  19657. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19658. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19659. return real___GLOBAL__sub_I_Runtime_Allocator_3_cpp.apply(null, arguments);
  19660. });
  19661. var real___GLOBAL__sub_I_Runtime_Application_0_cpp = asm["__GLOBAL__sub_I_Runtime_Application_0_cpp"];
  19662. asm["__GLOBAL__sub_I_Runtime_Application_0_cpp"] = (function() {
  19663. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19664. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19665. return real___GLOBAL__sub_I_Runtime_Application_0_cpp.apply(null, arguments);
  19666. });
  19667. var real___GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"];
  19668. asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"] = (function() {
  19669. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19670. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19671. return real___GLOBAL__sub_I_Runtime_BaseClasses_0_cpp.apply(null, arguments);
  19672. });
  19673. var real___GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"];
  19674. asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"] = (function() {
  19675. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19676. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19677. return real___GLOBAL__sub_I_Runtime_BaseClasses_1_cpp.apply(null, arguments);
  19678. });
  19679. var real___GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"];
  19680. asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"] = (function() {
  19681. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19682. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19683. return real___GLOBAL__sub_I_Runtime_BaseClasses_2_cpp.apply(null, arguments);
  19684. });
  19685. var real___GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"];
  19686. asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"] = (function() {
  19687. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19688. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19689. return real___GLOBAL__sub_I_Runtime_BaseClasses_3_cpp.apply(null, arguments);
  19690. });
  19691. var real___GLOBAL__sub_I_Runtime_Burst_0_cpp = asm["__GLOBAL__sub_I_Runtime_Burst_0_cpp"];
  19692. asm["__GLOBAL__sub_I_Runtime_Burst_0_cpp"] = (function() {
  19693. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19694. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19695. return real___GLOBAL__sub_I_Runtime_Burst_0_cpp.apply(null, arguments);
  19696. });
  19697. var real___GLOBAL__sub_I_Runtime_Camera_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_0_cpp"];
  19698. asm["__GLOBAL__sub_I_Runtime_Camera_0_cpp"] = (function() {
  19699. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19700. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19701. return real___GLOBAL__sub_I_Runtime_Camera_0_cpp.apply(null, arguments);
  19702. });
  19703. var real___GLOBAL__sub_I_Runtime_Camera_1_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_1_cpp"];
  19704. asm["__GLOBAL__sub_I_Runtime_Camera_1_cpp"] = (function() {
  19705. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19706. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19707. return real___GLOBAL__sub_I_Runtime_Camera_1_cpp.apply(null, arguments);
  19708. });
  19709. var real___GLOBAL__sub_I_Runtime_Camera_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_2_cpp"];
  19710. asm["__GLOBAL__sub_I_Runtime_Camera_2_cpp"] = (function() {
  19711. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19712. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19713. return real___GLOBAL__sub_I_Runtime_Camera_2_cpp.apply(null, arguments);
  19714. });
  19715. var real___GLOBAL__sub_I_Runtime_Camera_3_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_3_cpp"];
  19716. asm["__GLOBAL__sub_I_Runtime_Camera_3_cpp"] = (function() {
  19717. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19718. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19719. return real___GLOBAL__sub_I_Runtime_Camera_3_cpp.apply(null, arguments);
  19720. });
  19721. var real___GLOBAL__sub_I_Runtime_Camera_4_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_4_cpp"];
  19722. asm["__GLOBAL__sub_I_Runtime_Camera_4_cpp"] = (function() {
  19723. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19724. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19725. return real___GLOBAL__sub_I_Runtime_Camera_4_cpp.apply(null, arguments);
  19726. });
  19727. var real___GLOBAL__sub_I_Runtime_Camera_5_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_5_cpp"];
  19728. asm["__GLOBAL__sub_I_Runtime_Camera_5_cpp"] = (function() {
  19729. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19730. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19731. return real___GLOBAL__sub_I_Runtime_Camera_5_cpp.apply(null, arguments);
  19732. });
  19733. var real___GLOBAL__sub_I_Runtime_Camera_6_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_6_cpp"];
  19734. asm["__GLOBAL__sub_I_Runtime_Camera_6_cpp"] = (function() {
  19735. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19736. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19737. return real___GLOBAL__sub_I_Runtime_Camera_6_cpp.apply(null, arguments);
  19738. });
  19739. var real___GLOBAL__sub_I_Runtime_Camera_7_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_7_cpp"];
  19740. asm["__GLOBAL__sub_I_Runtime_Camera_7_cpp"] = (function() {
  19741. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19742. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19743. return real___GLOBAL__sub_I_Runtime_Camera_7_cpp.apply(null, arguments);
  19744. });
  19745. var real___GLOBAL__sub_I_Runtime_Camera_8_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_8_cpp"];
  19746. asm["__GLOBAL__sub_I_Runtime_Camera_8_cpp"] = (function() {
  19747. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19748. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19749. return real___GLOBAL__sub_I_Runtime_Camera_8_cpp.apply(null, arguments);
  19750. });
  19751. var real___GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"];
  19752. asm["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"] = (function() {
  19753. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19754. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19755. return real___GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp.apply(null, arguments);
  19756. });
  19757. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"];
  19758. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"] = (function() {
  19759. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19760. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19761. return real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp.apply(null, arguments);
  19762. });
  19763. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"];
  19764. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"] = (function() {
  19765. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19766. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19767. return real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp.apply(null, arguments);
  19768. });
  19769. var real___GLOBAL__sub_I_Runtime_Containers_0_cpp = asm["__GLOBAL__sub_I_Runtime_Containers_0_cpp"];
  19770. asm["__GLOBAL__sub_I_Runtime_Containers_0_cpp"] = (function() {
  19771. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19772. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19773. return real___GLOBAL__sub_I_Runtime_Containers_0_cpp.apply(null, arguments);
  19774. });
  19775. var real___GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"];
  19776. asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"] = (function() {
  19777. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19778. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19779. return real___GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp.apply(null, arguments);
  19780. });
  19781. var real___GLOBAL__sub_I_Runtime_Director_Core_0_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"];
  19782. asm["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"] = (function() {
  19783. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19784. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19785. return real___GLOBAL__sub_I_Runtime_Director_Core_0_cpp.apply(null, arguments);
  19786. });
  19787. var real___GLOBAL__sub_I_Runtime_Director_Core_1_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"];
  19788. asm["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"] = (function() {
  19789. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19790. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19791. return real___GLOBAL__sub_I_Runtime_Director_Core_1_cpp.apply(null, arguments);
  19792. });
  19793. var real___GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"];
  19794. asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"] = (function() {
  19795. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19796. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19797. return real___GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp.apply(null, arguments);
  19798. });
  19799. var real___GLOBAL__sub_I_Runtime_File_0_cpp = asm["__GLOBAL__sub_I_Runtime_File_0_cpp"];
  19800. asm["__GLOBAL__sub_I_Runtime_File_0_cpp"] = (function() {
  19801. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19802. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19803. return real___GLOBAL__sub_I_Runtime_File_0_cpp.apply(null, arguments);
  19804. });
  19805. var real___GLOBAL__sub_I_Runtime_GameCode_0_cpp = asm["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"];
  19806. asm["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"] = (function() {
  19807. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19808. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19809. return real___GLOBAL__sub_I_Runtime_GameCode_0_cpp.apply(null, arguments);
  19810. });
  19811. var real___GLOBAL__sub_I_Runtime_Geometry_1_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"];
  19812. asm["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"] = (function() {
  19813. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19814. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19815. return real___GLOBAL__sub_I_Runtime_Geometry_1_cpp.apply(null, arguments);
  19816. });
  19817. var real___GLOBAL__sub_I_Runtime_Geometry_2_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"];
  19818. asm["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"] = (function() {
  19819. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19820. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19821. return real___GLOBAL__sub_I_Runtime_Geometry_2_cpp.apply(null, arguments);
  19822. });
  19823. var real___GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"];
  19824. asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"] = (function() {
  19825. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19826. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19827. return real___GLOBAL__sub_I_Runtime_GfxDevice_1_cpp.apply(null, arguments);
  19828. });
  19829. var real___GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"];
  19830. asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"] = (function() {
  19831. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19832. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19833. return real___GLOBAL__sub_I_Runtime_GfxDevice_2_cpp.apply(null, arguments);
  19834. });
  19835. var real___GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"];
  19836. asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"] = (function() {
  19837. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19838. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19839. return real___GLOBAL__sub_I_Runtime_GfxDevice_3_cpp.apply(null, arguments);
  19840. });
  19841. var real___GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"];
  19842. asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"] = (function() {
  19843. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19844. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19845. return real___GLOBAL__sub_I_Runtime_GfxDevice_4_cpp.apply(null, arguments);
  19846. });
  19847. var real___GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"];
  19848. asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"] = (function() {
  19849. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19850. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19851. return real___GLOBAL__sub_I_Runtime_GfxDevice_5_cpp.apply(null, arguments);
  19852. });
  19853. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"];
  19854. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"] = (function() {
  19855. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19856. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19857. return real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp.apply(null, arguments);
  19858. });
  19859. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"];
  19860. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"] = (function() {
  19861. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19862. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19863. return real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp.apply(null, arguments);
  19864. });
  19865. var real___GLOBAL__sub_I_Runtime_Graphics_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"];
  19866. asm["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"] = (function() {
  19867. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19868. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19869. return real___GLOBAL__sub_I_Runtime_Graphics_0_cpp.apply(null, arguments);
  19870. });
  19871. var real___GLOBAL__sub_I_Runtime_Graphics_10_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"];
  19872. asm["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"] = (function() {
  19873. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19874. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19875. return real___GLOBAL__sub_I_Runtime_Graphics_10_cpp.apply(null, arguments);
  19876. });
  19877. var real___GLOBAL__sub_I_Runtime_Graphics_11_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"];
  19878. asm["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"] = (function() {
  19879. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19880. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19881. return real___GLOBAL__sub_I_Runtime_Graphics_11_cpp.apply(null, arguments);
  19882. });
  19883. var real___GLOBAL__sub_I_Runtime_Graphics_12_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"];
  19884. asm["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"] = (function() {
  19885. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19886. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19887. return real___GLOBAL__sub_I_Runtime_Graphics_12_cpp.apply(null, arguments);
  19888. });
  19889. var real___GLOBAL__sub_I_Runtime_Graphics_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"];
  19890. asm["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"] = (function() {
  19891. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19892. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19893. return real___GLOBAL__sub_I_Runtime_Graphics_1_cpp.apply(null, arguments);
  19894. });
  19895. var real___GLOBAL__sub_I_Runtime_Graphics_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"];
  19896. asm["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"] = (function() {
  19897. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19898. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19899. return real___GLOBAL__sub_I_Runtime_Graphics_2_cpp.apply(null, arguments);
  19900. });
  19901. var real___GLOBAL__sub_I_Runtime_Graphics_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"];
  19902. asm["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"] = (function() {
  19903. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19904. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19905. return real___GLOBAL__sub_I_Runtime_Graphics_4_cpp.apply(null, arguments);
  19906. });
  19907. var real___GLOBAL__sub_I_Runtime_Graphics_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"];
  19908. asm["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"] = (function() {
  19909. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19910. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19911. return real___GLOBAL__sub_I_Runtime_Graphics_5_cpp.apply(null, arguments);
  19912. });
  19913. var real___GLOBAL__sub_I_Runtime_Graphics_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"];
  19914. asm["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"] = (function() {
  19915. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19916. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19917. return real___GLOBAL__sub_I_Runtime_Graphics_6_cpp.apply(null, arguments);
  19918. });
  19919. var real___GLOBAL__sub_I_Runtime_Graphics_8_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"];
  19920. asm["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"] = (function() {
  19921. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19922. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19923. return real___GLOBAL__sub_I_Runtime_Graphics_8_cpp.apply(null, arguments);
  19924. });
  19925. var real___GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"];
  19926. asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"] = (function() {
  19927. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19928. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19929. return real___GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp.apply(null, arguments);
  19930. });
  19931. var real___GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"];
  19932. asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"] = (function() {
  19933. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19934. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19935. return real___GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp.apply(null, arguments);
  19936. });
  19937. var real___GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"];
  19938. asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"] = (function() {
  19939. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19940. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19941. return real___GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp.apply(null, arguments);
  19942. });
  19943. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"];
  19944. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"] = (function() {
  19945. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19946. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19947. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp.apply(null, arguments);
  19948. });
  19949. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"];
  19950. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"] = (function() {
  19951. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19952. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19953. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp.apply(null, arguments);
  19954. });
  19955. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"];
  19956. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"] = (function() {
  19957. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19958. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19959. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp.apply(null, arguments);
  19960. });
  19961. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"];
  19962. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"] = (function() {
  19963. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19964. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19965. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp.apply(null, arguments);
  19966. });
  19967. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"];
  19968. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"] = (function() {
  19969. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19970. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19971. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp.apply(null, arguments);
  19972. });
  19973. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"];
  19974. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"] = (function() {
  19975. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19976. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19977. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp.apply(null, arguments);
  19978. });
  19979. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"];
  19980. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"] = (function() {
  19981. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19982. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19983. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp.apply(null, arguments);
  19984. });
  19985. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"];
  19986. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"] = (function() {
  19987. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19988. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19989. return real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp.apply(null, arguments);
  19990. });
  19991. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"];
  19992. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"] = (function() {
  19993. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19994. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19995. return real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp.apply(null, arguments);
  19996. });
  19997. var real___GLOBAL__sub_I_Runtime_Input_0_cpp = asm["__GLOBAL__sub_I_Runtime_Input_0_cpp"];
  19998. asm["__GLOBAL__sub_I_Runtime_Input_0_cpp"] = (function() {
  19999. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20000. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20001. return real___GLOBAL__sub_I_Runtime_Input_0_cpp.apply(null, arguments);
  20002. });
  20003. var real___GLOBAL__sub_I_Runtime_Interfaces_0_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"];
  20004. asm["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"] = (function() {
  20005. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20006. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20007. return real___GLOBAL__sub_I_Runtime_Interfaces_0_cpp.apply(null, arguments);
  20008. });
  20009. var real___GLOBAL__sub_I_Runtime_Interfaces_1_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"];
  20010. asm["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"] = (function() {
  20011. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20012. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20013. return real___GLOBAL__sub_I_Runtime_Interfaces_1_cpp.apply(null, arguments);
  20014. });
  20015. var real___GLOBAL__sub_I_Runtime_Interfaces_3_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"];
  20016. asm["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"] = (function() {
  20017. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20018. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20019. return real___GLOBAL__sub_I_Runtime_Interfaces_3_cpp.apply(null, arguments);
  20020. });
  20021. var real___GLOBAL__sub_I_Runtime_Jobs_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"];
  20022. asm["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"] = (function() {
  20023. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20024. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20025. return real___GLOBAL__sub_I_Runtime_Jobs_0_cpp.apply(null, arguments);
  20026. });
  20027. var real___GLOBAL__sub_I_Runtime_Jobs_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"];
  20028. asm["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"] = (function() {
  20029. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20030. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20031. return real___GLOBAL__sub_I_Runtime_Jobs_1_cpp.apply(null, arguments);
  20032. });
  20033. var real___GLOBAL__sub_I_Runtime_Jobs_2_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"];
  20034. asm["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"] = (function() {
  20035. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20036. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20037. return real___GLOBAL__sub_I_Runtime_Jobs_2_cpp.apply(null, arguments);
  20038. });
  20039. var real___GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"];
  20040. asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"] = (function() {
  20041. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20042. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20043. return real___GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp.apply(null, arguments);
  20044. });
  20045. var real___GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"];
  20046. asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"] = (function() {
  20047. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20048. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20049. return real___GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp.apply(null, arguments);
  20050. });
  20051. var real___GLOBAL__sub_I_Runtime_Math_2_cpp = asm["__GLOBAL__sub_I_Runtime_Math_2_cpp"];
  20052. asm["__GLOBAL__sub_I_Runtime_Math_2_cpp"] = (function() {
  20053. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20054. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20055. return real___GLOBAL__sub_I_Runtime_Math_2_cpp.apply(null, arguments);
  20056. });
  20057. var real___GLOBAL__sub_I_Runtime_Math_Random_0_cpp = asm["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"];
  20058. asm["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"] = (function() {
  20059. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20060. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20061. return real___GLOBAL__sub_I_Runtime_Math_Random_0_cpp.apply(null, arguments);
  20062. });
  20063. var real___GLOBAL__sub_I_Runtime_Misc_0_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_0_cpp"];
  20064. asm["__GLOBAL__sub_I_Runtime_Misc_0_cpp"] = (function() {
  20065. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20066. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20067. return real___GLOBAL__sub_I_Runtime_Misc_0_cpp.apply(null, arguments);
  20068. });
  20069. var real___GLOBAL__sub_I_Runtime_Misc_1_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_1_cpp"];
  20070. asm["__GLOBAL__sub_I_Runtime_Misc_1_cpp"] = (function() {
  20071. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20072. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20073. return real___GLOBAL__sub_I_Runtime_Misc_1_cpp.apply(null, arguments);
  20074. });
  20075. var real___GLOBAL__sub_I_Runtime_Misc_2_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_2_cpp"];
  20076. asm["__GLOBAL__sub_I_Runtime_Misc_2_cpp"] = (function() {
  20077. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20078. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20079. return real___GLOBAL__sub_I_Runtime_Misc_2_cpp.apply(null, arguments);
  20080. });
  20081. var real___GLOBAL__sub_I_Runtime_Misc_3_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_3_cpp"];
  20082. asm["__GLOBAL__sub_I_Runtime_Misc_3_cpp"] = (function() {
  20083. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20084. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20085. return real___GLOBAL__sub_I_Runtime_Misc_3_cpp.apply(null, arguments);
  20086. });
  20087. var real___GLOBAL__sub_I_Runtime_Misc_4_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_4_cpp"];
  20088. asm["__GLOBAL__sub_I_Runtime_Misc_4_cpp"] = (function() {
  20089. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20090. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20091. return real___GLOBAL__sub_I_Runtime_Misc_4_cpp.apply(null, arguments);
  20092. });
  20093. var real___GLOBAL__sub_I_Runtime_Misc_5_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_5_cpp"];
  20094. asm["__GLOBAL__sub_I_Runtime_Misc_5_cpp"] = (function() {
  20095. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20096. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20097. return real___GLOBAL__sub_I_Runtime_Misc_5_cpp.apply(null, arguments);
  20098. });
  20099. var real___GLOBAL__sub_I_Runtime_Modules_0_cpp = asm["__GLOBAL__sub_I_Runtime_Modules_0_cpp"];
  20100. asm["__GLOBAL__sub_I_Runtime_Modules_0_cpp"] = (function() {
  20101. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20102. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20103. return real___GLOBAL__sub_I_Runtime_Modules_0_cpp.apply(null, arguments);
  20104. });
  20105. var real___GLOBAL__sub_I_Runtime_Mono_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_0_cpp"];
  20106. asm["__GLOBAL__sub_I_Runtime_Mono_0_cpp"] = (function() {
  20107. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20108. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20109. return real___GLOBAL__sub_I_Runtime_Mono_0_cpp.apply(null, arguments);
  20110. });
  20111. var real___GLOBAL__sub_I_Runtime_Mono_2_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_2_cpp"];
  20112. asm["__GLOBAL__sub_I_Runtime_Mono_2_cpp"] = (function() {
  20113. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20114. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20115. return real___GLOBAL__sub_I_Runtime_Mono_2_cpp.apply(null, arguments);
  20116. });
  20117. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"];
  20118. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"] = (function() {
  20119. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20120. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20121. return real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp.apply(null, arguments);
  20122. });
  20123. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"];
  20124. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"] = (function() {
  20125. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20126. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20127. return real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp.apply(null, arguments);
  20128. });
  20129. var real___GLOBAL__sub_I_Runtime_Network_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_0_cpp"];
  20130. asm["__GLOBAL__sub_I_Runtime_Network_0_cpp"] = (function() {
  20131. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20132. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20133. return real___GLOBAL__sub_I_Runtime_Network_0_cpp.apply(null, arguments);
  20134. });
  20135. var real___GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"];
  20136. asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"] = (function() {
  20137. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20138. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20139. return real___GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp.apply(null, arguments);
  20140. });
  20141. var real___GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"];
  20142. asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"] = (function() {
  20143. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20144. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20145. return real___GLOBAL__sub_I_Runtime_PluginInterface_0_cpp.apply(null, arguments);
  20146. });
  20147. var real___GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"];
  20148. asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"] = (function() {
  20149. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20150. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20151. return real___GLOBAL__sub_I_Runtime_PreloadManager_0_cpp.apply(null, arguments);
  20152. });
  20153. var real___GLOBAL__sub_I_Runtime_Profiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"];
  20154. asm["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"] = (function() {
  20155. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20156. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20157. return real___GLOBAL__sub_I_Runtime_Profiler_0_cpp.apply(null, arguments);
  20158. });
  20159. var real___GLOBAL__sub_I_Runtime_Profiler_1_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"];
  20160. asm["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"] = (function() {
  20161. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20162. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20163. return real___GLOBAL__sub_I_Runtime_Profiler_1_cpp.apply(null, arguments);
  20164. });
  20165. var real___GLOBAL__sub_I_Runtime_Profiler_2_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"];
  20166. asm["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"] = (function() {
  20167. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20168. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20169. return real___GLOBAL__sub_I_Runtime_Profiler_2_cpp.apply(null, arguments);
  20170. });
  20171. var real___GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"];
  20172. asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"] = (function() {
  20173. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20174. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20175. return real___GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp.apply(null, arguments);
  20176. });
  20177. var real___GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"];
  20178. asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"] = (function() {
  20179. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20180. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20181. return real___GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp.apply(null, arguments);
  20182. });
  20183. var real___GLOBAL__sub_I_Runtime_SceneManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"];
  20184. asm["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"] = (function() {
  20185. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20186. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20187. return real___GLOBAL__sub_I_Runtime_SceneManager_0_cpp.apply(null, arguments);
  20188. });
  20189. var real___GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"];
  20190. asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"] = (function() {
  20191. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20192. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20193. return real___GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp.apply(null, arguments);
  20194. });
  20195. var real___GLOBAL__sub_I_Runtime_Scripting_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"];
  20196. asm["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"] = (function() {
  20197. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20198. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20199. return real___GLOBAL__sub_I_Runtime_Scripting_0_cpp.apply(null, arguments);
  20200. });
  20201. var real___GLOBAL__sub_I_Runtime_Scripting_2_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"];
  20202. asm["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"] = (function() {
  20203. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20204. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20205. return real___GLOBAL__sub_I_Runtime_Scripting_2_cpp.apply(null, arguments);
  20206. });
  20207. var real___GLOBAL__sub_I_Runtime_Scripting_3_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"];
  20208. asm["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"] = (function() {
  20209. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20210. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20211. return real___GLOBAL__sub_I_Runtime_Scripting_3_cpp.apply(null, arguments);
  20212. });
  20213. var real___GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"];
  20214. asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"] = (function() {
  20215. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20216. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20217. return real___GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp.apply(null, arguments);
  20218. });
  20219. var real___GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"];
  20220. asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"] = (function() {
  20221. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20222. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20223. return real___GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp.apply(null, arguments);
  20224. });
  20225. var real___GLOBAL__sub_I_Runtime_Serialize_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"];
  20226. asm["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"] = (function() {
  20227. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20228. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20229. return real___GLOBAL__sub_I_Runtime_Serialize_0_cpp.apply(null, arguments);
  20230. });
  20231. var real___GLOBAL__sub_I_Runtime_Serialize_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"];
  20232. asm["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"] = (function() {
  20233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20235. return real___GLOBAL__sub_I_Runtime_Serialize_1_cpp.apply(null, arguments);
  20236. });
  20237. var real___GLOBAL__sub_I_Runtime_Serialize_2_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"];
  20238. asm["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"] = (function() {
  20239. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20240. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20241. return real___GLOBAL__sub_I_Runtime_Serialize_2_cpp.apply(null, arguments);
  20242. });
  20243. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"];
  20244. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"] = (function() {
  20245. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20246. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20247. return real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp.apply(null, arguments);
  20248. });
  20249. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"];
  20250. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"] = (function() {
  20251. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20252. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20253. return real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp.apply(null, arguments);
  20254. });
  20255. var real___GLOBAL__sub_I_Runtime_Shaders_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"];
  20256. asm["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"] = (function() {
  20257. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20258. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20259. return real___GLOBAL__sub_I_Runtime_Shaders_0_cpp.apply(null, arguments);
  20260. });
  20261. var real___GLOBAL__sub_I_Runtime_Shaders_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"];
  20262. asm["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"] = (function() {
  20263. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20264. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20265. return real___GLOBAL__sub_I_Runtime_Shaders_1_cpp.apply(null, arguments);
  20266. });
  20267. var real___GLOBAL__sub_I_Runtime_Shaders_4_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"];
  20268. asm["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"] = (function() {
  20269. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20270. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20271. return real___GLOBAL__sub_I_Runtime_Shaders_4_cpp.apply(null, arguments);
  20272. });
  20273. var real___GLOBAL__sub_I_Runtime_Shaders_5_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"];
  20274. asm["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"] = (function() {
  20275. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20276. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20277. return real___GLOBAL__sub_I_Runtime_Shaders_5_cpp.apply(null, arguments);
  20278. });
  20279. var real___GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"];
  20280. asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"] = (function() {
  20281. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20282. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20283. return real___GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp.apply(null, arguments);
  20284. });
  20285. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"];
  20286. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"] = (function() {
  20287. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20288. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20289. return real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp.apply(null, arguments);
  20290. });
  20291. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"];
  20292. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"] = (function() {
  20293. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20294. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20295. return real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp.apply(null, arguments);
  20296. });
  20297. var real___GLOBAL__sub_I_Runtime_Streaming_0_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"];
  20298. asm["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"] = (function() {
  20299. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20300. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20301. return real___GLOBAL__sub_I_Runtime_Streaming_0_cpp.apply(null, arguments);
  20302. });
  20303. var real___GLOBAL__sub_I_Runtime_Streaming_1_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"];
  20304. asm["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"] = (function() {
  20305. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20306. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20307. return real___GLOBAL__sub_I_Runtime_Streaming_1_cpp.apply(null, arguments);
  20308. });
  20309. var real___GLOBAL__sub_I_Runtime_Transform_0_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_0_cpp"];
  20310. asm["__GLOBAL__sub_I_Runtime_Transform_0_cpp"] = (function() {
  20311. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20312. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20313. return real___GLOBAL__sub_I_Runtime_Transform_0_cpp.apply(null, arguments);
  20314. });
  20315. var real___GLOBAL__sub_I_Runtime_Transform_1_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_1_cpp"];
  20316. asm["__GLOBAL__sub_I_Runtime_Transform_1_cpp"] = (function() {
  20317. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20318. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20319. return real___GLOBAL__sub_I_Runtime_Transform_1_cpp.apply(null, arguments);
  20320. });
  20321. var real___GLOBAL__sub_I_Runtime_Utilities_2_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"];
  20322. asm["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"] = (function() {
  20323. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20324. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20325. return real___GLOBAL__sub_I_Runtime_Utilities_2_cpp.apply(null, arguments);
  20326. });
  20327. var real___GLOBAL__sub_I_Runtime_Utilities_5_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"];
  20328. asm["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"] = (function() {
  20329. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20330. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20331. return real___GLOBAL__sub_I_Runtime_Utilities_5_cpp.apply(null, arguments);
  20332. });
  20333. var real___GLOBAL__sub_I_Runtime_Utilities_6_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"];
  20334. asm["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"] = (function() {
  20335. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20336. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20337. return real___GLOBAL__sub_I_Runtime_Utilities_6_cpp.apply(null, arguments);
  20338. });
  20339. var real___GLOBAL__sub_I_Runtime_Utilities_7_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"];
  20340. asm["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"] = (function() {
  20341. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20342. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20343. return real___GLOBAL__sub_I_Runtime_Utilities_7_cpp.apply(null, arguments);
  20344. });
  20345. var real___GLOBAL__sub_I_Runtime_Utilities_8_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"];
  20346. asm["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"] = (function() {
  20347. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20348. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20349. return real___GLOBAL__sub_I_Runtime_Utilities_8_cpp.apply(null, arguments);
  20350. });
  20351. var real___GLOBAL__sub_I_Runtime_Utilities_9_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"];
  20352. asm["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"] = (function() {
  20353. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20354. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20355. return real___GLOBAL__sub_I_Runtime_Utilities_9_cpp.apply(null, arguments);
  20356. });
  20357. var real___GLOBAL__sub_I_Runtime_Video_0_cpp = asm["__GLOBAL__sub_I_Runtime_Video_0_cpp"];
  20358. asm["__GLOBAL__sub_I_Runtime_Video_0_cpp"] = (function() {
  20359. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20360. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20361. return real___GLOBAL__sub_I_Runtime_Video_0_cpp.apply(null, arguments);
  20362. });
  20363. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"];
  20364. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"] = (function() {
  20365. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20366. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20367. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp.apply(null, arguments);
  20368. });
  20369. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"];
  20370. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"] = (function() {
  20371. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20372. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20373. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp.apply(null, arguments);
  20374. });
  20375. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"];
  20376. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"] = (function() {
  20377. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20378. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20379. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp.apply(null, arguments);
  20380. });
  20381. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"];
  20382. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"] = (function() {
  20383. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20384. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20385. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp.apply(null, arguments);
  20386. });
  20387. var real___GLOBAL__sub_I_Shader_cpp = asm["__GLOBAL__sub_I_Shader_cpp"];
  20388. asm["__GLOBAL__sub_I_Shader_cpp"] = (function() {
  20389. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20390. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20391. return real___GLOBAL__sub_I_Shader_cpp.apply(null, arguments);
  20392. });
  20393. var real___GLOBAL__sub_I_Shadows_cpp = asm["__GLOBAL__sub_I_Shadows_cpp"];
  20394. asm["__GLOBAL__sub_I_Shadows_cpp"] = (function() {
  20395. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20396. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20397. return real___GLOBAL__sub_I_Shadows_cpp.apply(null, arguments);
  20398. });
  20399. var real___GLOBAL__sub_I_ShapeModule_cpp = asm["__GLOBAL__sub_I_ShapeModule_cpp"];
  20400. asm["__GLOBAL__sub_I_ShapeModule_cpp"] = (function() {
  20401. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20402. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20403. return real___GLOBAL__sub_I_ShapeModule_cpp.apply(null, arguments);
  20404. });
  20405. var real___GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"];
  20406. asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"] = (function() {
  20407. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20408. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20409. return real___GLOBAL__sub_I_SpriteShapeBindings_gen_cpp.apply(null, arguments);
  20410. });
  20411. var real___GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"];
  20412. asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"] = (function() {
  20413. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20414. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20415. return real___GLOBAL__sub_I_SubsystemsScriptingClasses_cpp.apply(null, arguments);
  20416. });
  20417. var real___GLOBAL__sub_I_SwInterCollision_cpp = asm["__GLOBAL__sub_I_SwInterCollision_cpp"];
  20418. asm["__GLOBAL__sub_I_SwInterCollision_cpp"] = (function() {
  20419. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20420. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20421. return real___GLOBAL__sub_I_SwInterCollision_cpp.apply(null, arguments);
  20422. });
  20423. var real___GLOBAL__sub_I_SwSolverKernel_cpp = asm["__GLOBAL__sub_I_SwSolverKernel_cpp"];
  20424. asm["__GLOBAL__sub_I_SwSolverKernel_cpp"] = (function() {
  20425. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20426. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20427. return real___GLOBAL__sub_I_SwSolverKernel_cpp.apply(null, arguments);
  20428. });
  20429. var real___GLOBAL__sub_I_TemplateInstantiations_cpp = asm["__GLOBAL__sub_I_TemplateInstantiations_cpp"];
  20430. asm["__GLOBAL__sub_I_TemplateInstantiations_cpp"] = (function() {
  20431. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20432. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20433. return real___GLOBAL__sub_I_TemplateInstantiations_cpp.apply(null, arguments);
  20434. });
  20435. var real___GLOBAL__sub_I_TerrainScriptingClasses_cpp = asm["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"];
  20436. asm["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"] = (function() {
  20437. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20438. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20439. return real___GLOBAL__sub_I_TerrainScriptingClasses_cpp.apply(null, arguments);
  20440. });
  20441. var real___GLOBAL__sub_I_TextCoreScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"];
  20442. asm["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"] = (function() {
  20443. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20444. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20445. return real___GLOBAL__sub_I_TextCoreScriptingClasses_cpp.apply(null, arguments);
  20446. });
  20447. var real___GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"];
  20448. asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"] = (function() {
  20449. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20450. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20451. return real___GLOBAL__sub_I_TextRenderingScriptingClasses_cpp.apply(null, arguments);
  20452. });
  20453. var real___GLOBAL__sub_I_TilemapScriptingClasses_cpp = asm["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"];
  20454. asm["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"] = (function() {
  20455. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20456. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20457. return real___GLOBAL__sub_I_TilemapScriptingClasses_cpp.apply(null, arguments);
  20458. });
  20459. var real___GLOBAL__sub_I_TrailRenderer_cpp = asm["__GLOBAL__sub_I_TrailRenderer_cpp"];
  20460. asm["__GLOBAL__sub_I_TrailRenderer_cpp"] = (function() {
  20461. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20462. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20463. return real___GLOBAL__sub_I_TrailRenderer_cpp.apply(null, arguments);
  20464. });
  20465. var real___GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"];
  20466. asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"] = (function() {
  20467. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20468. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20469. return real___GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp.apply(null, arguments);
  20470. });
  20471. var real___GLOBAL__sub_I_UIScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIScriptingClasses_cpp"];
  20472. asm["__GLOBAL__sub_I_UIScriptingClasses_cpp"] = (function() {
  20473. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20474. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20475. return real___GLOBAL__sub_I_UIScriptingClasses_cpp.apply(null, arguments);
  20476. });
  20477. var real___GLOBAL__sub_I_UVModule_cpp = asm["__GLOBAL__sub_I_UVModule_cpp"];
  20478. asm["__GLOBAL__sub_I_UVModule_cpp"] = (function() {
  20479. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20480. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20481. return real___GLOBAL__sub_I_UVModule_cpp.apply(null, arguments);
  20482. });
  20483. var real___GLOBAL__sub_I_UnityAdsSettings_cpp = asm["__GLOBAL__sub_I_UnityAdsSettings_cpp"];
  20484. asm["__GLOBAL__sub_I_UnityAdsSettings_cpp"] = (function() {
  20485. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20486. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20487. return real___GLOBAL__sub_I_UnityAdsSettings_cpp.apply(null, arguments);
  20488. });
  20489. var real___GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"];
  20490. asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"] = (function() {
  20491. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20492. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20493. return real___GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp.apply(null, arguments);
  20494. });
  20495. var real___GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"];
  20496. asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"] = (function() {
  20497. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20498. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20499. return real___GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp.apply(null, arguments);
  20500. });
  20501. var real___GLOBAL__sub_I_VFXScriptingClasses_cpp = asm["__GLOBAL__sub_I_VFXScriptingClasses_cpp"];
  20502. asm["__GLOBAL__sub_I_VFXScriptingClasses_cpp"] = (function() {
  20503. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20504. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20505. return real___GLOBAL__sub_I_VFXScriptingClasses_cpp.apply(null, arguments);
  20506. });
  20507. var real___GLOBAL__sub_I_VRScriptingClasses_cpp = asm["__GLOBAL__sub_I_VRScriptingClasses_cpp"];
  20508. asm["__GLOBAL__sub_I_VRScriptingClasses_cpp"] = (function() {
  20509. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20510. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20511. return real___GLOBAL__sub_I_VRScriptingClasses_cpp.apply(null, arguments);
  20512. });
  20513. var real___GLOBAL__sub_I_VelocityModule_cpp = asm["__GLOBAL__sub_I_VelocityModule_cpp"];
  20514. asm["__GLOBAL__sub_I_VelocityModule_cpp"] = (function() {
  20515. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20516. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20517. return real___GLOBAL__sub_I_VelocityModule_cpp.apply(null, arguments);
  20518. });
  20519. var real___GLOBAL__sub_I_VideoMediaOutput_cpp = asm["__GLOBAL__sub_I_VideoMediaOutput_cpp"];
  20520. asm["__GLOBAL__sub_I_VideoMediaOutput_cpp"] = (function() {
  20521. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20522. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20523. return real___GLOBAL__sub_I_VideoMediaOutput_cpp.apply(null, arguments);
  20524. });
  20525. var real___GLOBAL__sub_I_VideoScriptingClasses_cpp = asm["__GLOBAL__sub_I_VideoScriptingClasses_cpp"];
  20526. asm["__GLOBAL__sub_I_VideoScriptingClasses_cpp"] = (function() {
  20527. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20528. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20529. return real___GLOBAL__sub_I_VideoScriptingClasses_cpp.apply(null, arguments);
  20530. });
  20531. var real___GLOBAL__sub_I_VideoYUV420Convert_cpp = asm["__GLOBAL__sub_I_VideoYUV420Convert_cpp"];
  20532. asm["__GLOBAL__sub_I_VideoYUV420Convert_cpp"] = (function() {
  20533. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20534. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20535. return real___GLOBAL__sub_I_VideoYUV420Convert_cpp.apply(null, arguments);
  20536. });
  20537. var real___GLOBAL__sub_I_VisualEffectAsset_cpp = asm["__GLOBAL__sub_I_VisualEffectAsset_cpp"];
  20538. asm["__GLOBAL__sub_I_VisualEffectAsset_cpp"] = (function() {
  20539. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20540. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20541. return real___GLOBAL__sub_I_VisualEffectAsset_cpp.apply(null, arguments);
  20542. });
  20543. var real___GLOBAL__sub_I_Wind_cpp = asm["__GLOBAL__sub_I_Wind_cpp"];
  20544. asm["__GLOBAL__sub_I_Wind_cpp"] = (function() {
  20545. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20546. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20547. return real___GLOBAL__sub_I_Wind_cpp.apply(null, arguments);
  20548. });
  20549. var real___GLOBAL__sub_I_XRAudio_cpp = asm["__GLOBAL__sub_I_XRAudio_cpp"];
  20550. asm["__GLOBAL__sub_I_XRAudio_cpp"] = (function() {
  20551. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20552. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20553. return real___GLOBAL__sub_I_XRAudio_cpp.apply(null, arguments);
  20554. });
  20555. var real___GLOBAL__sub_I_XRPreInit_cpp = asm["__GLOBAL__sub_I_XRPreInit_cpp"];
  20556. asm["__GLOBAL__sub_I_XRPreInit_cpp"] = (function() {
  20557. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20558. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20559. return real___GLOBAL__sub_I_XRPreInit_cpp.apply(null, arguments);
  20560. });
  20561. var real___GLOBAL__sub_I_XRScriptingClasses_cpp = asm["__GLOBAL__sub_I_XRScriptingClasses_cpp"];
  20562. asm["__GLOBAL__sub_I_XRScriptingClasses_cpp"] = (function() {
  20563. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20564. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20565. return real___GLOBAL__sub_I_XRScriptingClasses_cpp.apply(null, arguments);
  20566. });
  20567. var real___GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"];
  20568. asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"] = (function() {
  20569. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20570. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20571. return real___GLOBAL__sub_I_XRWindowsLocatableCamera_cpp.apply(null, arguments);
  20572. });
  20573. var real___GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"];
  20574. asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"] = (function() {
  20575. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20576. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20577. return real___GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp.apply(null, arguments);
  20578. });
  20579. var real___GLOBAL__sub_I_clipmuscle_cpp = asm["__GLOBAL__sub_I_clipmuscle_cpp"];
  20580. asm["__GLOBAL__sub_I_clipmuscle_cpp"] = (function() {
  20581. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20582. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20583. return real___GLOBAL__sub_I_clipmuscle_cpp.apply(null, arguments);
  20584. });
  20585. var real___GLOBAL__sub_I_nvcloth_src_0_cpp = asm["__GLOBAL__sub_I_nvcloth_src_0_cpp"];
  20586. asm["__GLOBAL__sub_I_nvcloth_src_0_cpp"] = (function() {
  20587. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20588. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20589. return real___GLOBAL__sub_I_nvcloth_src_0_cpp.apply(null, arguments);
  20590. });
  20591. var real___GLOBAL__sub_I_nvcloth_src_1_cpp = asm["__GLOBAL__sub_I_nvcloth_src_1_cpp"];
  20592. asm["__GLOBAL__sub_I_nvcloth_src_1_cpp"] = (function() {
  20593. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20594. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20595. return real___GLOBAL__sub_I_nvcloth_src_1_cpp.apply(null, arguments);
  20596. });
  20597. var real___GLOBAL__sub_I_umbra_cpp = asm["__GLOBAL__sub_I_umbra_cpp"];
  20598. asm["__GLOBAL__sub_I_umbra_cpp"] = (function() {
  20599. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20600. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20601. return real___GLOBAL__sub_I_umbra_cpp.apply(null, arguments);
  20602. });
  20603. var real____cxa_can_catch = asm["___cxa_can_catch"];
  20604. asm["___cxa_can_catch"] = (function() {
  20605. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20606. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20607. return real____cxa_can_catch.apply(null, arguments);
  20608. });
  20609. var real____cxa_demangle = asm["___cxa_demangle"];
  20610. asm["___cxa_demangle"] = (function() {
  20611. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20612. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20613. return real____cxa_demangle.apply(null, arguments);
  20614. });
  20615. var real____cxa_is_pointer_type = asm["___cxa_is_pointer_type"];
  20616. asm["___cxa_is_pointer_type"] = (function() {
  20617. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20618. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20619. return real____cxa_is_pointer_type.apply(null, arguments);
  20620. });
  20621. var real____cxx_global_var_init_10 = asm["___cxx_global_var_init_10"];
  20622. asm["___cxx_global_var_init_10"] = (function() {
  20623. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20624. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20625. return real____cxx_global_var_init_10.apply(null, arguments);
  20626. });
  20627. var real____cxx_global_var_init_104 = asm["___cxx_global_var_init_104"];
  20628. asm["___cxx_global_var_init_104"] = (function() {
  20629. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20630. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20631. return real____cxx_global_var_init_104.apply(null, arguments);
  20632. });
  20633. var real____cxx_global_var_init_105 = asm["___cxx_global_var_init_105"];
  20634. asm["___cxx_global_var_init_105"] = (function() {
  20635. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20636. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20637. return real____cxx_global_var_init_105.apply(null, arguments);
  20638. });
  20639. var real____cxx_global_var_init_10873 = asm["___cxx_global_var_init_10873"];
  20640. asm["___cxx_global_var_init_10873"] = (function() {
  20641. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20642. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20643. return real____cxx_global_var_init_10873.apply(null, arguments);
  20644. });
  20645. var real____cxx_global_var_init_10_8116 = asm["___cxx_global_var_init_10_8116"];
  20646. asm["___cxx_global_var_init_10_8116"] = (function() {
  20647. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20648. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20649. return real____cxx_global_var_init_10_8116.apply(null, arguments);
  20650. });
  20651. var real____cxx_global_var_init_10_9837 = asm["___cxx_global_var_init_10_9837"];
  20652. asm["___cxx_global_var_init_10_9837"] = (function() {
  20653. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20654. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20655. return real____cxx_global_var_init_10_9837.apply(null, arguments);
  20656. });
  20657. var real____cxx_global_var_init_11 = asm["___cxx_global_var_init_11"];
  20658. asm["___cxx_global_var_init_11"] = (function() {
  20659. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20660. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20661. return real____cxx_global_var_init_11.apply(null, arguments);
  20662. });
  20663. var real____cxx_global_var_init_110 = asm["___cxx_global_var_init_110"];
  20664. asm["___cxx_global_var_init_110"] = (function() {
  20665. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20666. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20667. return real____cxx_global_var_init_110.apply(null, arguments);
  20668. });
  20669. var real____cxx_global_var_init_111 = asm["___cxx_global_var_init_111"];
  20670. asm["___cxx_global_var_init_111"] = (function() {
  20671. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20672. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20673. return real____cxx_global_var_init_111.apply(null, arguments);
  20674. });
  20675. var real____cxx_global_var_init_112 = asm["___cxx_global_var_init_112"];
  20676. asm["___cxx_global_var_init_112"] = (function() {
  20677. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20678. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20679. return real____cxx_global_var_init_112.apply(null, arguments);
  20680. });
  20681. var real____cxx_global_var_init_113 = asm["___cxx_global_var_init_113"];
  20682. asm["___cxx_global_var_init_113"] = (function() {
  20683. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20684. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20685. return real____cxx_global_var_init_113.apply(null, arguments);
  20686. });
  20687. var real____cxx_global_var_init_114 = asm["___cxx_global_var_init_114"];
  20688. asm["___cxx_global_var_init_114"] = (function() {
  20689. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20690. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20691. return real____cxx_global_var_init_114.apply(null, arguments);
  20692. });
  20693. var real____cxx_global_var_init_11_8117 = asm["___cxx_global_var_init_11_8117"];
  20694. asm["___cxx_global_var_init_11_8117"] = (function() {
  20695. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20696. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20697. return real____cxx_global_var_init_11_8117.apply(null, arguments);
  20698. });
  20699. var real____cxx_global_var_init_12 = asm["___cxx_global_var_init_12"];
  20700. asm["___cxx_global_var_init_12"] = (function() {
  20701. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20702. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20703. return real____cxx_global_var_init_12.apply(null, arguments);
  20704. });
  20705. var real____cxx_global_var_init_12_8118 = asm["___cxx_global_var_init_12_8118"];
  20706. asm["___cxx_global_var_init_12_8118"] = (function() {
  20707. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20708. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20709. return real____cxx_global_var_init_12_8118.apply(null, arguments);
  20710. });
  20711. var real____cxx_global_var_init_136 = asm["___cxx_global_var_init_136"];
  20712. asm["___cxx_global_var_init_136"] = (function() {
  20713. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20714. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20715. return real____cxx_global_var_init_136.apply(null, arguments);
  20716. });
  20717. var real____cxx_global_var_init_137 = asm["___cxx_global_var_init_137"];
  20718. asm["___cxx_global_var_init_137"] = (function() {
  20719. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20720. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20721. return real____cxx_global_var_init_137.apply(null, arguments);
  20722. });
  20723. var real____cxx_global_var_init_145 = asm["___cxx_global_var_init_145"];
  20724. asm["___cxx_global_var_init_145"] = (function() {
  20725. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20726. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20727. return real____cxx_global_var_init_145.apply(null, arguments);
  20728. });
  20729. var real____cxx_global_var_init_146 = asm["___cxx_global_var_init_146"];
  20730. asm["___cxx_global_var_init_146"] = (function() {
  20731. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20732. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20733. return real____cxx_global_var_init_146.apply(null, arguments);
  20734. });
  20735. var real____cxx_global_var_init_15 = asm["___cxx_global_var_init_15"];
  20736. asm["___cxx_global_var_init_15"] = (function() {
  20737. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20738. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20739. return real____cxx_global_var_init_15.apply(null, arguments);
  20740. });
  20741. var real____cxx_global_var_init_155 = asm["___cxx_global_var_init_155"];
  20742. asm["___cxx_global_var_init_155"] = (function() {
  20743. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20744. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20745. return real____cxx_global_var_init_155.apply(null, arguments);
  20746. });
  20747. var real____cxx_global_var_init_164 = asm["___cxx_global_var_init_164"];
  20748. asm["___cxx_global_var_init_164"] = (function() {
  20749. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20750. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20751. return real____cxx_global_var_init_164.apply(null, arguments);
  20752. });
  20753. var real____cxx_global_var_init_17 = asm["___cxx_global_var_init_17"];
  20754. asm["___cxx_global_var_init_17"] = (function() {
  20755. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20756. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20757. return real____cxx_global_var_init_17.apply(null, arguments);
  20758. });
  20759. var real____cxx_global_var_init_17017 = asm["___cxx_global_var_init_17017"];
  20760. asm["___cxx_global_var_init_17017"] = (function() {
  20761. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20762. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20763. return real____cxx_global_var_init_17017.apply(null, arguments);
  20764. });
  20765. var real____cxx_global_var_init_171 = asm["___cxx_global_var_init_171"];
  20766. asm["___cxx_global_var_init_171"] = (function() {
  20767. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20768. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20769. return real____cxx_global_var_init_171.apply(null, arguments);
  20770. });
  20771. var real____cxx_global_var_init_172 = asm["___cxx_global_var_init_172"];
  20772. asm["___cxx_global_var_init_172"] = (function() {
  20773. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20774. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20775. return real____cxx_global_var_init_172.apply(null, arguments);
  20776. });
  20777. var real____cxx_global_var_init_173 = asm["___cxx_global_var_init_173"];
  20778. asm["___cxx_global_var_init_173"] = (function() {
  20779. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20780. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20781. return real____cxx_global_var_init_173.apply(null, arguments);
  20782. });
  20783. var real____cxx_global_var_init_174 = asm["___cxx_global_var_init_174"];
  20784. asm["___cxx_global_var_init_174"] = (function() {
  20785. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20786. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20787. return real____cxx_global_var_init_174.apply(null, arguments);
  20788. });
  20789. var real____cxx_global_var_init_175 = asm["___cxx_global_var_init_175"];
  20790. asm["___cxx_global_var_init_175"] = (function() {
  20791. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20792. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20793. return real____cxx_global_var_init_175.apply(null, arguments);
  20794. });
  20795. var real____cxx_global_var_init_176 = asm["___cxx_global_var_init_176"];
  20796. asm["___cxx_global_var_init_176"] = (function() {
  20797. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20798. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20799. return real____cxx_global_var_init_176.apply(null, arguments);
  20800. });
  20801. var real____cxx_global_var_init_177 = asm["___cxx_global_var_init_177"];
  20802. asm["___cxx_global_var_init_177"] = (function() {
  20803. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20804. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20805. return real____cxx_global_var_init_177.apply(null, arguments);
  20806. });
  20807. var real____cxx_global_var_init_178 = asm["___cxx_global_var_init_178"];
  20808. asm["___cxx_global_var_init_178"] = (function() {
  20809. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20810. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20811. return real____cxx_global_var_init_178.apply(null, arguments);
  20812. });
  20813. var real____cxx_global_var_init_179 = asm["___cxx_global_var_init_179"];
  20814. asm["___cxx_global_var_init_179"] = (function() {
  20815. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20816. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20817. return real____cxx_global_var_init_179.apply(null, arguments);
  20818. });
  20819. var real____cxx_global_var_init_18 = asm["___cxx_global_var_init_18"];
  20820. asm["___cxx_global_var_init_18"] = (function() {
  20821. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20822. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20823. return real____cxx_global_var_init_18.apply(null, arguments);
  20824. });
  20825. var real____cxx_global_var_init_180 = asm["___cxx_global_var_init_180"];
  20826. asm["___cxx_global_var_init_180"] = (function() {
  20827. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20828. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20829. return real____cxx_global_var_init_180.apply(null, arguments);
  20830. });
  20831. var real____cxx_global_var_init_181 = asm["___cxx_global_var_init_181"];
  20832. asm["___cxx_global_var_init_181"] = (function() {
  20833. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20834. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20835. return real____cxx_global_var_init_181.apply(null, arguments);
  20836. });
  20837. var real____cxx_global_var_init_182 = asm["___cxx_global_var_init_182"];
  20838. asm["___cxx_global_var_init_182"] = (function() {
  20839. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20840. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20841. return real____cxx_global_var_init_182.apply(null, arguments);
  20842. });
  20843. var real____cxx_global_var_init_183 = asm["___cxx_global_var_init_183"];
  20844. asm["___cxx_global_var_init_183"] = (function() {
  20845. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20846. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20847. return real____cxx_global_var_init_183.apply(null, arguments);
  20848. });
  20849. var real____cxx_global_var_init_184 = asm["___cxx_global_var_init_184"];
  20850. asm["___cxx_global_var_init_184"] = (function() {
  20851. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20852. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20853. return real____cxx_global_var_init_184.apply(null, arguments);
  20854. });
  20855. var real____cxx_global_var_init_185 = asm["___cxx_global_var_init_185"];
  20856. asm["___cxx_global_var_init_185"] = (function() {
  20857. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20858. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20859. return real____cxx_global_var_init_185.apply(null, arguments);
  20860. });
  20861. var real____cxx_global_var_init_186 = asm["___cxx_global_var_init_186"];
  20862. asm["___cxx_global_var_init_186"] = (function() {
  20863. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20864. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20865. return real____cxx_global_var_init_186.apply(null, arguments);
  20866. });
  20867. var real____cxx_global_var_init_187 = asm["___cxx_global_var_init_187"];
  20868. asm["___cxx_global_var_init_187"] = (function() {
  20869. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20870. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20871. return real____cxx_global_var_init_187.apply(null, arguments);
  20872. });
  20873. var real____cxx_global_var_init_188 = asm["___cxx_global_var_init_188"];
  20874. asm["___cxx_global_var_init_188"] = (function() {
  20875. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20876. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20877. return real____cxx_global_var_init_188.apply(null, arguments);
  20878. });
  20879. var real____cxx_global_var_init_189 = asm["___cxx_global_var_init_189"];
  20880. asm["___cxx_global_var_init_189"] = (function() {
  20881. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20882. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20883. return real____cxx_global_var_init_189.apply(null, arguments);
  20884. });
  20885. var real____cxx_global_var_init_19 = asm["___cxx_global_var_init_19"];
  20886. asm["___cxx_global_var_init_19"] = (function() {
  20887. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20888. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20889. return real____cxx_global_var_init_19.apply(null, arguments);
  20890. });
  20891. var real____cxx_global_var_init_190 = asm["___cxx_global_var_init_190"];
  20892. asm["___cxx_global_var_init_190"] = (function() {
  20893. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20894. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20895. return real____cxx_global_var_init_190.apply(null, arguments);
  20896. });
  20897. var real____cxx_global_var_init_191 = asm["___cxx_global_var_init_191"];
  20898. asm["___cxx_global_var_init_191"] = (function() {
  20899. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20900. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20901. return real____cxx_global_var_init_191.apply(null, arguments);
  20902. });
  20903. var real____cxx_global_var_init_192 = asm["___cxx_global_var_init_192"];
  20904. asm["___cxx_global_var_init_192"] = (function() {
  20905. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20906. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20907. return real____cxx_global_var_init_192.apply(null, arguments);
  20908. });
  20909. var real____cxx_global_var_init_192_8351 = asm["___cxx_global_var_init_192_8351"];
  20910. asm["___cxx_global_var_init_192_8351"] = (function() {
  20911. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20912. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20913. return real____cxx_global_var_init_192_8351.apply(null, arguments);
  20914. });
  20915. var real____cxx_global_var_init_193 = asm["___cxx_global_var_init_193"];
  20916. asm["___cxx_global_var_init_193"] = (function() {
  20917. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20918. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20919. return real____cxx_global_var_init_193.apply(null, arguments);
  20920. });
  20921. var real____cxx_global_var_init_193_8352 = asm["___cxx_global_var_init_193_8352"];
  20922. asm["___cxx_global_var_init_193_8352"] = (function() {
  20923. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20924. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20925. return real____cxx_global_var_init_193_8352.apply(null, arguments);
  20926. });
  20927. var real____cxx_global_var_init_194 = asm["___cxx_global_var_init_194"];
  20928. asm["___cxx_global_var_init_194"] = (function() {
  20929. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20930. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20931. return real____cxx_global_var_init_194.apply(null, arguments);
  20932. });
  20933. var real____cxx_global_var_init_194_8353 = asm["___cxx_global_var_init_194_8353"];
  20934. asm["___cxx_global_var_init_194_8353"] = (function() {
  20935. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20936. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20937. return real____cxx_global_var_init_194_8353.apply(null, arguments);
  20938. });
  20939. var real____cxx_global_var_init_195 = asm["___cxx_global_var_init_195"];
  20940. asm["___cxx_global_var_init_195"] = (function() {
  20941. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20942. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20943. return real____cxx_global_var_init_195.apply(null, arguments);
  20944. });
  20945. var real____cxx_global_var_init_195_8354 = asm["___cxx_global_var_init_195_8354"];
  20946. asm["___cxx_global_var_init_195_8354"] = (function() {
  20947. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20948. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20949. return real____cxx_global_var_init_195_8354.apply(null, arguments);
  20950. });
  20951. var real____cxx_global_var_init_196 = asm["___cxx_global_var_init_196"];
  20952. asm["___cxx_global_var_init_196"] = (function() {
  20953. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20954. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20955. return real____cxx_global_var_init_196.apply(null, arguments);
  20956. });
  20957. var real____cxx_global_var_init_196_8355 = asm["___cxx_global_var_init_196_8355"];
  20958. asm["___cxx_global_var_init_196_8355"] = (function() {
  20959. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20960. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20961. return real____cxx_global_var_init_196_8355.apply(null, arguments);
  20962. });
  20963. var real____cxx_global_var_init_197 = asm["___cxx_global_var_init_197"];
  20964. asm["___cxx_global_var_init_197"] = (function() {
  20965. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20966. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20967. return real____cxx_global_var_init_197.apply(null, arguments);
  20968. });
  20969. var real____cxx_global_var_init_197_8356 = asm["___cxx_global_var_init_197_8356"];
  20970. asm["___cxx_global_var_init_197_8356"] = (function() {
  20971. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20972. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20973. return real____cxx_global_var_init_197_8356.apply(null, arguments);
  20974. });
  20975. var real____cxx_global_var_init_198 = asm["___cxx_global_var_init_198"];
  20976. asm["___cxx_global_var_init_198"] = (function() {
  20977. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20978. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20979. return real____cxx_global_var_init_198.apply(null, arguments);
  20980. });
  20981. var real____cxx_global_var_init_198_8357 = asm["___cxx_global_var_init_198_8357"];
  20982. asm["___cxx_global_var_init_198_8357"] = (function() {
  20983. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20984. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20985. return real____cxx_global_var_init_198_8357.apply(null, arguments);
  20986. });
  20987. var real____cxx_global_var_init_199 = asm["___cxx_global_var_init_199"];
  20988. asm["___cxx_global_var_init_199"] = (function() {
  20989. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20990. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20991. return real____cxx_global_var_init_199.apply(null, arguments);
  20992. });
  20993. var real____cxx_global_var_init_199_1314 = asm["___cxx_global_var_init_199_1314"];
  20994. asm["___cxx_global_var_init_199_1314"] = (function() {
  20995. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20996. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20997. return real____cxx_global_var_init_199_1314.apply(null, arguments);
  20998. });
  20999. var real____cxx_global_var_init_1_7210 = asm["___cxx_global_var_init_1_7210"];
  21000. asm["___cxx_global_var_init_1_7210"] = (function() {
  21001. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21002. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21003. return real____cxx_global_var_init_1_7210.apply(null, arguments);
  21004. });
  21005. var real____cxx_global_var_init_1_9482 = asm["___cxx_global_var_init_1_9482"];
  21006. asm["___cxx_global_var_init_1_9482"] = (function() {
  21007. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21008. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21009. return real____cxx_global_var_init_1_9482.apply(null, arguments);
  21010. });
  21011. var real____cxx_global_var_init_20 = asm["___cxx_global_var_init_20"];
  21012. asm["___cxx_global_var_init_20"] = (function() {
  21013. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21014. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21015. return real____cxx_global_var_init_20.apply(null, arguments);
  21016. });
  21017. var real____cxx_global_var_init_200 = asm["___cxx_global_var_init_200"];
  21018. asm["___cxx_global_var_init_200"] = (function() {
  21019. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21020. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21021. return real____cxx_global_var_init_200.apply(null, arguments);
  21022. });
  21023. var real____cxx_global_var_init_201 = asm["___cxx_global_var_init_201"];
  21024. asm["___cxx_global_var_init_201"] = (function() {
  21025. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21026. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21027. return real____cxx_global_var_init_201.apply(null, arguments);
  21028. });
  21029. var real____cxx_global_var_init_202 = asm["___cxx_global_var_init_202"];
  21030. asm["___cxx_global_var_init_202"] = (function() {
  21031. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21032. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21033. return real____cxx_global_var_init_202.apply(null, arguments);
  21034. });
  21035. var real____cxx_global_var_init_203 = asm["___cxx_global_var_init_203"];
  21036. asm["___cxx_global_var_init_203"] = (function() {
  21037. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21038. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21039. return real____cxx_global_var_init_203.apply(null, arguments);
  21040. });
  21041. var real____cxx_global_var_init_204 = asm["___cxx_global_var_init_204"];
  21042. asm["___cxx_global_var_init_204"] = (function() {
  21043. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21044. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21045. return real____cxx_global_var_init_204.apply(null, arguments);
  21046. });
  21047. var real____cxx_global_var_init_205 = asm["___cxx_global_var_init_205"];
  21048. asm["___cxx_global_var_init_205"] = (function() {
  21049. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21050. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21051. return real____cxx_global_var_init_205.apply(null, arguments);
  21052. });
  21053. var real____cxx_global_var_init_206 = asm["___cxx_global_var_init_206"];
  21054. asm["___cxx_global_var_init_206"] = (function() {
  21055. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21056. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21057. return real____cxx_global_var_init_206.apply(null, arguments);
  21058. });
  21059. var real____cxx_global_var_init_207 = asm["___cxx_global_var_init_207"];
  21060. asm["___cxx_global_var_init_207"] = (function() {
  21061. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21062. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21063. return real____cxx_global_var_init_207.apply(null, arguments);
  21064. });
  21065. var real____cxx_global_var_init_208 = asm["___cxx_global_var_init_208"];
  21066. asm["___cxx_global_var_init_208"] = (function() {
  21067. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21068. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21069. return real____cxx_global_var_init_208.apply(null, arguments);
  21070. });
  21071. var real____cxx_global_var_init_209 = asm["___cxx_global_var_init_209"];
  21072. asm["___cxx_global_var_init_209"] = (function() {
  21073. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21074. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21075. return real____cxx_global_var_init_209.apply(null, arguments);
  21076. });
  21077. var real____cxx_global_var_init_21 = asm["___cxx_global_var_init_21"];
  21078. asm["___cxx_global_var_init_21"] = (function() {
  21079. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21080. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21081. return real____cxx_global_var_init_21.apply(null, arguments);
  21082. });
  21083. var real____cxx_global_var_init_210 = asm["___cxx_global_var_init_210"];
  21084. asm["___cxx_global_var_init_210"] = (function() {
  21085. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21086. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21087. return real____cxx_global_var_init_210.apply(null, arguments);
  21088. });
  21089. var real____cxx_global_var_init_210_8358 = asm["___cxx_global_var_init_210_8358"];
  21090. asm["___cxx_global_var_init_210_8358"] = (function() {
  21091. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21092. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21093. return real____cxx_global_var_init_210_8358.apply(null, arguments);
  21094. });
  21095. var real____cxx_global_var_init_211 = asm["___cxx_global_var_init_211"];
  21096. asm["___cxx_global_var_init_211"] = (function() {
  21097. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21098. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21099. return real____cxx_global_var_init_211.apply(null, arguments);
  21100. });
  21101. var real____cxx_global_var_init_211_8359 = asm["___cxx_global_var_init_211_8359"];
  21102. asm["___cxx_global_var_init_211_8359"] = (function() {
  21103. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21104. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21105. return real____cxx_global_var_init_211_8359.apply(null, arguments);
  21106. });
  21107. var real____cxx_global_var_init_212 = asm["___cxx_global_var_init_212"];
  21108. asm["___cxx_global_var_init_212"] = (function() {
  21109. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21110. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21111. return real____cxx_global_var_init_212.apply(null, arguments);
  21112. });
  21113. var real____cxx_global_var_init_213 = asm["___cxx_global_var_init_213"];
  21114. asm["___cxx_global_var_init_213"] = (function() {
  21115. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21116. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21117. return real____cxx_global_var_init_213.apply(null, arguments);
  21118. });
  21119. var real____cxx_global_var_init_214 = asm["___cxx_global_var_init_214"];
  21120. asm["___cxx_global_var_init_214"] = (function() {
  21121. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21122. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21123. return real____cxx_global_var_init_214.apply(null, arguments);
  21124. });
  21125. var real____cxx_global_var_init_215 = asm["___cxx_global_var_init_215"];
  21126. asm["___cxx_global_var_init_215"] = (function() {
  21127. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21128. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21129. return real____cxx_global_var_init_215.apply(null, arguments);
  21130. });
  21131. var real____cxx_global_var_init_216 = asm["___cxx_global_var_init_216"];
  21132. asm["___cxx_global_var_init_216"] = (function() {
  21133. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21134. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21135. return real____cxx_global_var_init_216.apply(null, arguments);
  21136. });
  21137. var real____cxx_global_var_init_217 = asm["___cxx_global_var_init_217"];
  21138. asm["___cxx_global_var_init_217"] = (function() {
  21139. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21140. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21141. return real____cxx_global_var_init_217.apply(null, arguments);
  21142. });
  21143. var real____cxx_global_var_init_218 = asm["___cxx_global_var_init_218"];
  21144. asm["___cxx_global_var_init_218"] = (function() {
  21145. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21146. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21147. return real____cxx_global_var_init_218.apply(null, arguments);
  21148. });
  21149. var real____cxx_global_var_init_219 = asm["___cxx_global_var_init_219"];
  21150. asm["___cxx_global_var_init_219"] = (function() {
  21151. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21152. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21153. return real____cxx_global_var_init_219.apply(null, arguments);
  21154. });
  21155. var real____cxx_global_var_init_220 = asm["___cxx_global_var_init_220"];
  21156. asm["___cxx_global_var_init_220"] = (function() {
  21157. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21158. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21159. return real____cxx_global_var_init_220.apply(null, arguments);
  21160. });
  21161. var real____cxx_global_var_init_221 = asm["___cxx_global_var_init_221"];
  21162. asm["___cxx_global_var_init_221"] = (function() {
  21163. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21164. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21165. return real____cxx_global_var_init_221.apply(null, arguments);
  21166. });
  21167. var real____cxx_global_var_init_222 = asm["___cxx_global_var_init_222"];
  21168. asm["___cxx_global_var_init_222"] = (function() {
  21169. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21170. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21171. return real____cxx_global_var_init_222.apply(null, arguments);
  21172. });
  21173. var real____cxx_global_var_init_223 = asm["___cxx_global_var_init_223"];
  21174. asm["___cxx_global_var_init_223"] = (function() {
  21175. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21176. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21177. return real____cxx_global_var_init_223.apply(null, arguments);
  21178. });
  21179. var real____cxx_global_var_init_25 = asm["___cxx_global_var_init_25"];
  21180. asm["___cxx_global_var_init_25"] = (function() {
  21181. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21182. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21183. return real____cxx_global_var_init_25.apply(null, arguments);
  21184. });
  21185. var real____cxx_global_var_init_26 = asm["___cxx_global_var_init_26"];
  21186. asm["___cxx_global_var_init_26"] = (function() {
  21187. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21188. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21189. return real____cxx_global_var_init_26.apply(null, arguments);
  21190. });
  21191. var real____cxx_global_var_init_27 = asm["___cxx_global_var_init_27"];
  21192. asm["___cxx_global_var_init_27"] = (function() {
  21193. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21194. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21195. return real____cxx_global_var_init_27.apply(null, arguments);
  21196. });
  21197. var real____cxx_global_var_init_27_5710 = asm["___cxx_global_var_init_27_5710"];
  21198. asm["___cxx_global_var_init_27_5710"] = (function() {
  21199. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21200. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21201. return real____cxx_global_var_init_27_5710.apply(null, arguments);
  21202. });
  21203. var real____cxx_global_var_init_27_9055 = asm["___cxx_global_var_init_27_9055"];
  21204. asm["___cxx_global_var_init_27_9055"] = (function() {
  21205. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21206. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21207. return real____cxx_global_var_init_27_9055.apply(null, arguments);
  21208. });
  21209. var real____cxx_global_var_init_28 = asm["___cxx_global_var_init_28"];
  21210. asm["___cxx_global_var_init_28"] = (function() {
  21211. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21212. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21213. return real____cxx_global_var_init_28.apply(null, arguments);
  21214. });
  21215. var real____cxx_global_var_init_28_7249 = asm["___cxx_global_var_init_28_7249"];
  21216. asm["___cxx_global_var_init_28_7249"] = (function() {
  21217. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21218. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21219. return real____cxx_global_var_init_28_7249.apply(null, arguments);
  21220. });
  21221. var real____cxx_global_var_init_29_4251 = asm["___cxx_global_var_init_29_4251"];
  21222. asm["___cxx_global_var_init_29_4251"] = (function() {
  21223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21225. return real____cxx_global_var_init_29_4251.apply(null, arguments);
  21226. });
  21227. var real____cxx_global_var_init_29_7250 = asm["___cxx_global_var_init_29_7250"];
  21228. asm["___cxx_global_var_init_29_7250"] = (function() {
  21229. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21230. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21231. return real____cxx_global_var_init_29_7250.apply(null, arguments);
  21232. });
  21233. var real____cxx_global_var_init_29_9056 = asm["___cxx_global_var_init_29_9056"];
  21234. asm["___cxx_global_var_init_29_9056"] = (function() {
  21235. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21236. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21237. return real____cxx_global_var_init_29_9056.apply(null, arguments);
  21238. });
  21239. var real____cxx_global_var_init_2_9483 = asm["___cxx_global_var_init_2_9483"];
  21240. asm["___cxx_global_var_init_2_9483"] = (function() {
  21241. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21242. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21243. return real____cxx_global_var_init_2_9483.apply(null, arguments);
  21244. });
  21245. var real____cxx_global_var_init_2_9829 = asm["___cxx_global_var_init_2_9829"];
  21246. asm["___cxx_global_var_init_2_9829"] = (function() {
  21247. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21248. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21249. return real____cxx_global_var_init_2_9829.apply(null, arguments);
  21250. });
  21251. var real____cxx_global_var_init_30 = asm["___cxx_global_var_init_30"];
  21252. asm["___cxx_global_var_init_30"] = (function() {
  21253. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21254. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21255. return real____cxx_global_var_init_30.apply(null, arguments);
  21256. });
  21257. var real____cxx_global_var_init_30_4252 = asm["___cxx_global_var_init_30_4252"];
  21258. asm["___cxx_global_var_init_30_4252"] = (function() {
  21259. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21260. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21261. return real____cxx_global_var_init_30_4252.apply(null, arguments);
  21262. });
  21263. var real____cxx_global_var_init_31_4253 = asm["___cxx_global_var_init_31_4253"];
  21264. asm["___cxx_global_var_init_31_4253"] = (function() {
  21265. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21266. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21267. return real____cxx_global_var_init_31_4253.apply(null, arguments);
  21268. });
  21269. var real____cxx_global_var_init_31_8755 = asm["___cxx_global_var_init_31_8755"];
  21270. asm["___cxx_global_var_init_31_8755"] = (function() {
  21271. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21272. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21273. return real____cxx_global_var_init_31_8755.apply(null, arguments);
  21274. });
  21275. var real____cxx_global_var_init_31_9057 = asm["___cxx_global_var_init_31_9057"];
  21276. asm["___cxx_global_var_init_31_9057"] = (function() {
  21277. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21278. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21279. return real____cxx_global_var_init_31_9057.apply(null, arguments);
  21280. });
  21281. var real____cxx_global_var_init_32 = asm["___cxx_global_var_init_32"];
  21282. asm["___cxx_global_var_init_32"] = (function() {
  21283. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21284. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21285. return real____cxx_global_var_init_32.apply(null, arguments);
  21286. });
  21287. var real____cxx_global_var_init_33_10192 = asm["___cxx_global_var_init_33_10192"];
  21288. asm["___cxx_global_var_init_33_10192"] = (function() {
  21289. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21290. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21291. return real____cxx_global_var_init_33_10192.apply(null, arguments);
  21292. });
  21293. var real____cxx_global_var_init_33_8756 = asm["___cxx_global_var_init_33_8756"];
  21294. asm["___cxx_global_var_init_33_8756"] = (function() {
  21295. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21296. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21297. return real____cxx_global_var_init_33_8756.apply(null, arguments);
  21298. });
  21299. var real____cxx_global_var_init_34 = asm["___cxx_global_var_init_34"];
  21300. asm["___cxx_global_var_init_34"] = (function() {
  21301. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21302. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21303. return real____cxx_global_var_init_34.apply(null, arguments);
  21304. });
  21305. var real____cxx_global_var_init_34_8757 = asm["___cxx_global_var_init_34_8757"];
  21306. asm["___cxx_global_var_init_34_8757"] = (function() {
  21307. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21308. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21309. return real____cxx_global_var_init_34_8757.apply(null, arguments);
  21310. });
  21311. var real____cxx_global_var_init_34_9169 = asm["___cxx_global_var_init_34_9169"];
  21312. asm["___cxx_global_var_init_34_9169"] = (function() {
  21313. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21314. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21315. return real____cxx_global_var_init_34_9169.apply(null, arguments);
  21316. });
  21317. var real____cxx_global_var_init_35 = asm["___cxx_global_var_init_35"];
  21318. asm["___cxx_global_var_init_35"] = (function() {
  21319. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21320. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21321. return real____cxx_global_var_init_35.apply(null, arguments);
  21322. });
  21323. var real____cxx_global_var_init_35_7741 = asm["___cxx_global_var_init_35_7741"];
  21324. asm["___cxx_global_var_init_35_7741"] = (function() {
  21325. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21326. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21327. return real____cxx_global_var_init_35_7741.apply(null, arguments);
  21328. });
  21329. var real____cxx_global_var_init_36 = asm["___cxx_global_var_init_36"];
  21330. asm["___cxx_global_var_init_36"] = (function() {
  21331. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21332. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21333. return real____cxx_global_var_init_36.apply(null, arguments);
  21334. });
  21335. var real____cxx_global_var_init_36_7742 = asm["___cxx_global_var_init_36_7742"];
  21336. asm["___cxx_global_var_init_36_7742"] = (function() {
  21337. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21338. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21339. return real____cxx_global_var_init_36_7742.apply(null, arguments);
  21340. });
  21341. var real____cxx_global_var_init_37 = asm["___cxx_global_var_init_37"];
  21342. asm["___cxx_global_var_init_37"] = (function() {
  21343. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21344. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21345. return real____cxx_global_var_init_37.apply(null, arguments);
  21346. });
  21347. var real____cxx_global_var_init_38 = asm["___cxx_global_var_init_38"];
  21348. asm["___cxx_global_var_init_38"] = (function() {
  21349. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21350. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21351. return real____cxx_global_var_init_38.apply(null, arguments);
  21352. });
  21353. var real____cxx_global_var_init_39 = asm["___cxx_global_var_init_39"];
  21354. asm["___cxx_global_var_init_39"] = (function() {
  21355. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21356. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21357. return real____cxx_global_var_init_39.apply(null, arguments);
  21358. });
  21359. var real____cxx_global_var_init_3_27 = asm["___cxx_global_var_init_3_27"];
  21360. asm["___cxx_global_var_init_3_27"] = (function() {
  21361. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21362. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21363. return real____cxx_global_var_init_3_27.apply(null, arguments);
  21364. });
  21365. var real____cxx_global_var_init_3_4485 = asm["___cxx_global_var_init_3_4485"];
  21366. asm["___cxx_global_var_init_3_4485"] = (function() {
  21367. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21368. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21369. return real____cxx_global_var_init_3_4485.apply(null, arguments);
  21370. });
  21371. var real____cxx_global_var_init_3_9830 = asm["___cxx_global_var_init_3_9830"];
  21372. asm["___cxx_global_var_init_3_9830"] = (function() {
  21373. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21374. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21375. return real____cxx_global_var_init_3_9830.apply(null, arguments);
  21376. });
  21377. var real____cxx_global_var_init_40 = asm["___cxx_global_var_init_40"];
  21378. asm["___cxx_global_var_init_40"] = (function() {
  21379. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21380. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21381. return real____cxx_global_var_init_40.apply(null, arguments);
  21382. });
  21383. var real____cxx_global_var_init_40_4832 = asm["___cxx_global_var_init_40_4832"];
  21384. asm["___cxx_global_var_init_40_4832"] = (function() {
  21385. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21386. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21387. return real____cxx_global_var_init_40_4832.apply(null, arguments);
  21388. });
  21389. var real____cxx_global_var_init_41 = asm["___cxx_global_var_init_41"];
  21390. asm["___cxx_global_var_init_41"] = (function() {
  21391. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21392. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21393. return real____cxx_global_var_init_41.apply(null, arguments);
  21394. });
  21395. var real____cxx_global_var_init_4110 = asm["___cxx_global_var_init_4110"];
  21396. asm["___cxx_global_var_init_4110"] = (function() {
  21397. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21398. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21399. return real____cxx_global_var_init_4110.apply(null, arguments);
  21400. });
  21401. var real____cxx_global_var_init_41_13424 = asm["___cxx_global_var_init_41_13424"];
  21402. asm["___cxx_global_var_init_41_13424"] = (function() {
  21403. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21404. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21405. return real____cxx_global_var_init_41_13424.apply(null, arguments);
  21406. });
  21407. var real____cxx_global_var_init_42 = asm["___cxx_global_var_init_42"];
  21408. asm["___cxx_global_var_init_42"] = (function() {
  21409. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21410. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21411. return real____cxx_global_var_init_42.apply(null, arguments);
  21412. });
  21413. var real____cxx_global_var_init_43 = asm["___cxx_global_var_init_43"];
  21414. asm["___cxx_global_var_init_43"] = (function() {
  21415. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21416. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21417. return real____cxx_global_var_init_43.apply(null, arguments);
  21418. });
  21419. var real____cxx_global_var_init_44 = asm["___cxx_global_var_init_44"];
  21420. asm["___cxx_global_var_init_44"] = (function() {
  21421. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21422. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21423. return real____cxx_global_var_init_44.apply(null, arguments);
  21424. });
  21425. var real____cxx_global_var_init_44_7960 = asm["___cxx_global_var_init_44_7960"];
  21426. asm["___cxx_global_var_init_44_7960"] = (function() {
  21427. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21428. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21429. return real____cxx_global_var_init_44_7960.apply(null, arguments);
  21430. });
  21431. var real____cxx_global_var_init_45 = asm["___cxx_global_var_init_45"];
  21432. asm["___cxx_global_var_init_45"] = (function() {
  21433. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21434. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21435. return real____cxx_global_var_init_45.apply(null, arguments);
  21436. });
  21437. var real____cxx_global_var_init_46 = asm["___cxx_global_var_init_46"];
  21438. asm["___cxx_global_var_init_46"] = (function() {
  21439. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21440. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21441. return real____cxx_global_var_init_46.apply(null, arguments);
  21442. });
  21443. var real____cxx_global_var_init_46_8284 = asm["___cxx_global_var_init_46_8284"];
  21444. asm["___cxx_global_var_init_46_8284"] = (function() {
  21445. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21446. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21447. return real____cxx_global_var_init_46_8284.apply(null, arguments);
  21448. });
  21449. var real____cxx_global_var_init_47 = asm["___cxx_global_var_init_47"];
  21450. asm["___cxx_global_var_init_47"] = (function() {
  21451. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21452. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21453. return real____cxx_global_var_init_47.apply(null, arguments);
  21454. });
  21455. var real____cxx_global_var_init_47_12741 = asm["___cxx_global_var_init_47_12741"];
  21456. asm["___cxx_global_var_init_47_12741"] = (function() {
  21457. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21458. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21459. return real____cxx_global_var_init_47_12741.apply(null, arguments);
  21460. });
  21461. var real____cxx_global_var_init_47_1315 = asm["___cxx_global_var_init_47_1315"];
  21462. asm["___cxx_global_var_init_47_1315"] = (function() {
  21463. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21464. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21465. return real____cxx_global_var_init_47_1315.apply(null, arguments);
  21466. });
  21467. var real____cxx_global_var_init_47_8285 = asm["___cxx_global_var_init_47_8285"];
  21468. asm["___cxx_global_var_init_47_8285"] = (function() {
  21469. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21470. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21471. return real____cxx_global_var_init_47_8285.apply(null, arguments);
  21472. });
  21473. var real____cxx_global_var_init_48 = asm["___cxx_global_var_init_48"];
  21474. asm["___cxx_global_var_init_48"] = (function() {
  21475. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21476. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21477. return real____cxx_global_var_init_48.apply(null, arguments);
  21478. });
  21479. var real____cxx_global_var_init_48_1316 = asm["___cxx_global_var_init_48_1316"];
  21480. asm["___cxx_global_var_init_48_1316"] = (function() {
  21481. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21482. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21483. return real____cxx_global_var_init_48_1316.apply(null, arguments);
  21484. });
  21485. var real____cxx_global_var_init_48_8286 = asm["___cxx_global_var_init_48_8286"];
  21486. asm["___cxx_global_var_init_48_8286"] = (function() {
  21487. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21488. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21489. return real____cxx_global_var_init_48_8286.apply(null, arguments);
  21490. });
  21491. var real____cxx_global_var_init_49 = asm["___cxx_global_var_init_49"];
  21492. asm["___cxx_global_var_init_49"] = (function() {
  21493. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21494. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21495. return real____cxx_global_var_init_49.apply(null, arguments);
  21496. });
  21497. var real____cxx_global_var_init_49_8287 = asm["___cxx_global_var_init_49_8287"];
  21498. asm["___cxx_global_var_init_49_8287"] = (function() {
  21499. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21500. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21501. return real____cxx_global_var_init_49_8287.apply(null, arguments);
  21502. });
  21503. var real____cxx_global_var_init_4_7154 = asm["___cxx_global_var_init_4_7154"];
  21504. asm["___cxx_global_var_init_4_7154"] = (function() {
  21505. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21506. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21507. return real____cxx_global_var_init_4_7154.apply(null, arguments);
  21508. });
  21509. var real____cxx_global_var_init_4_9831 = asm["___cxx_global_var_init_4_9831"];
  21510. asm["___cxx_global_var_init_4_9831"] = (function() {
  21511. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21512. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21513. return real____cxx_global_var_init_4_9831.apply(null, arguments);
  21514. });
  21515. var real____cxx_global_var_init_5 = asm["___cxx_global_var_init_5"];
  21516. asm["___cxx_global_var_init_5"] = (function() {
  21517. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21518. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21519. return real____cxx_global_var_init_5.apply(null, arguments);
  21520. });
  21521. var real____cxx_global_var_init_50 = asm["___cxx_global_var_init_50"];
  21522. asm["___cxx_global_var_init_50"] = (function() {
  21523. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21524. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21525. return real____cxx_global_var_init_50.apply(null, arguments);
  21526. });
  21527. var real____cxx_global_var_init_51 = asm["___cxx_global_var_init_51"];
  21528. asm["___cxx_global_var_init_51"] = (function() {
  21529. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21530. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21531. return real____cxx_global_var_init_51.apply(null, arguments);
  21532. });
  21533. var real____cxx_global_var_init_52 = asm["___cxx_global_var_init_52"];
  21534. asm["___cxx_global_var_init_52"] = (function() {
  21535. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21536. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21537. return real____cxx_global_var_init_52.apply(null, arguments);
  21538. });
  21539. var real____cxx_global_var_init_53 = asm["___cxx_global_var_init_53"];
  21540. asm["___cxx_global_var_init_53"] = (function() {
  21541. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21542. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21543. return real____cxx_global_var_init_53.apply(null, arguments);
  21544. });
  21545. var real____cxx_global_var_init_53_8288 = asm["___cxx_global_var_init_53_8288"];
  21546. asm["___cxx_global_var_init_53_8288"] = (function() {
  21547. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21548. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21549. return real____cxx_global_var_init_53_8288.apply(null, arguments);
  21550. });
  21551. var real____cxx_global_var_init_54 = asm["___cxx_global_var_init_54"];
  21552. asm["___cxx_global_var_init_54"] = (function() {
  21553. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21554. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21555. return real____cxx_global_var_init_54.apply(null, arguments);
  21556. });
  21557. var real____cxx_global_var_init_55 = asm["___cxx_global_var_init_55"];
  21558. asm["___cxx_global_var_init_55"] = (function() {
  21559. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21560. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21561. return real____cxx_global_var_init_55.apply(null, arguments);
  21562. });
  21563. var real____cxx_global_var_init_55_9674 = asm["___cxx_global_var_init_55_9674"];
  21564. asm["___cxx_global_var_init_55_9674"] = (function() {
  21565. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21566. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21567. return real____cxx_global_var_init_55_9674.apply(null, arguments);
  21568. });
  21569. var real____cxx_global_var_init_56 = asm["___cxx_global_var_init_56"];
  21570. asm["___cxx_global_var_init_56"] = (function() {
  21571. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21572. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21573. return real____cxx_global_var_init_56.apply(null, arguments);
  21574. });
  21575. var real____cxx_global_var_init_57 = asm["___cxx_global_var_init_57"];
  21576. asm["___cxx_global_var_init_57"] = (function() {
  21577. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21578. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21579. return real____cxx_global_var_init_57.apply(null, arguments);
  21580. });
  21581. var real____cxx_global_var_init_58 = asm["___cxx_global_var_init_58"];
  21582. asm["___cxx_global_var_init_58"] = (function() {
  21583. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21584. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21585. return real____cxx_global_var_init_58.apply(null, arguments);
  21586. });
  21587. var real____cxx_global_var_init_58_4833 = asm["___cxx_global_var_init_58_4833"];
  21588. asm["___cxx_global_var_init_58_4833"] = (function() {
  21589. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21590. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21591. return real____cxx_global_var_init_58_4833.apply(null, arguments);
  21592. });
  21593. var real____cxx_global_var_init_58_9675 = asm["___cxx_global_var_init_58_9675"];
  21594. asm["___cxx_global_var_init_58_9675"] = (function() {
  21595. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21596. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21597. return real____cxx_global_var_init_58_9675.apply(null, arguments);
  21598. });
  21599. var real____cxx_global_var_init_59 = asm["___cxx_global_var_init_59"];
  21600. asm["___cxx_global_var_init_59"] = (function() {
  21601. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21602. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21603. return real____cxx_global_var_init_59.apply(null, arguments);
  21604. });
  21605. var real____cxx_global_var_init_59_4834 = asm["___cxx_global_var_init_59_4834"];
  21606. asm["___cxx_global_var_init_59_4834"] = (function() {
  21607. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21608. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21609. return real____cxx_global_var_init_59_4834.apply(null, arguments);
  21610. });
  21611. var real____cxx_global_var_init_59_9676 = asm["___cxx_global_var_init_59_9676"];
  21612. asm["___cxx_global_var_init_59_9676"] = (function() {
  21613. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21614. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21615. return real____cxx_global_var_init_59_9676.apply(null, arguments);
  21616. });
  21617. var real____cxx_global_var_init_5_9832 = asm["___cxx_global_var_init_5_9832"];
  21618. asm["___cxx_global_var_init_5_9832"] = (function() {
  21619. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21620. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21621. return real____cxx_global_var_init_5_9832.apply(null, arguments);
  21622. });
  21623. var real____cxx_global_var_init_60 = asm["___cxx_global_var_init_60"];
  21624. asm["___cxx_global_var_init_60"] = (function() {
  21625. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21626. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21627. return real____cxx_global_var_init_60.apply(null, arguments);
  21628. });
  21629. var real____cxx_global_var_init_60_4835 = asm["___cxx_global_var_init_60_4835"];
  21630. asm["___cxx_global_var_init_60_4835"] = (function() {
  21631. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21632. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21633. return real____cxx_global_var_init_60_4835.apply(null, arguments);
  21634. });
  21635. var real____cxx_global_var_init_60_9677 = asm["___cxx_global_var_init_60_9677"];
  21636. asm["___cxx_global_var_init_60_9677"] = (function() {
  21637. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21638. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21639. return real____cxx_global_var_init_60_9677.apply(null, arguments);
  21640. });
  21641. var real____cxx_global_var_init_61 = asm["___cxx_global_var_init_61"];
  21642. asm["___cxx_global_var_init_61"] = (function() {
  21643. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21644. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21645. return real____cxx_global_var_init_61.apply(null, arguments);
  21646. });
  21647. var real____cxx_global_var_init_61_9678 = asm["___cxx_global_var_init_61_9678"];
  21648. asm["___cxx_global_var_init_61_9678"] = (function() {
  21649. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21650. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21651. return real____cxx_global_var_init_61_9678.apply(null, arguments);
  21652. });
  21653. var real____cxx_global_var_init_63 = asm["___cxx_global_var_init_63"];
  21654. asm["___cxx_global_var_init_63"] = (function() {
  21655. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21656. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21657. return real____cxx_global_var_init_63.apply(null, arguments);
  21658. });
  21659. var real____cxx_global_var_init_67 = asm["___cxx_global_var_init_67"];
  21660. asm["___cxx_global_var_init_67"] = (function() {
  21661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21663. return real____cxx_global_var_init_67.apply(null, arguments);
  21664. });
  21665. var real____cxx_global_var_init_6_4572 = asm["___cxx_global_var_init_6_4572"];
  21666. asm["___cxx_global_var_init_6_4572"] = (function() {
  21667. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21668. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21669. return real____cxx_global_var_init_6_4572.apply(null, arguments);
  21670. });
  21671. var real____cxx_global_var_init_6_748 = asm["___cxx_global_var_init_6_748"];
  21672. asm["___cxx_global_var_init_6_748"] = (function() {
  21673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21675. return real____cxx_global_var_init_6_748.apply(null, arguments);
  21676. });
  21677. var real____cxx_global_var_init_6_9833 = asm["___cxx_global_var_init_6_9833"];
  21678. asm["___cxx_global_var_init_6_9833"] = (function() {
  21679. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21680. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21681. return real____cxx_global_var_init_6_9833.apply(null, arguments);
  21682. });
  21683. var real____cxx_global_var_init_7 = asm["___cxx_global_var_init_7"];
  21684. asm["___cxx_global_var_init_7"] = (function() {
  21685. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21686. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21687. return real____cxx_global_var_init_7.apply(null, arguments);
  21688. });
  21689. var real____cxx_global_var_init_71 = asm["___cxx_global_var_init_71"];
  21690. asm["___cxx_global_var_init_71"] = (function() {
  21691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21693. return real____cxx_global_var_init_71.apply(null, arguments);
  21694. });
  21695. var real____cxx_global_var_init_78 = asm["___cxx_global_var_init_78"];
  21696. asm["___cxx_global_var_init_78"] = (function() {
  21697. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21698. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21699. return real____cxx_global_var_init_78.apply(null, arguments);
  21700. });
  21701. var real____cxx_global_var_init_79 = asm["___cxx_global_var_init_79"];
  21702. asm["___cxx_global_var_init_79"] = (function() {
  21703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21705. return real____cxx_global_var_init_79.apply(null, arguments);
  21706. });
  21707. var real____cxx_global_var_init_7_4573 = asm["___cxx_global_var_init_7_4573"];
  21708. asm["___cxx_global_var_init_7_4573"] = (function() {
  21709. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21710. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21711. return real____cxx_global_var_init_7_4573.apply(null, arguments);
  21712. });
  21713. var real____cxx_global_var_init_7_9834 = asm["___cxx_global_var_init_7_9834"];
  21714. asm["___cxx_global_var_init_7_9834"] = (function() {
  21715. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21716. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21717. return real____cxx_global_var_init_7_9834.apply(null, arguments);
  21718. });
  21719. var real____cxx_global_var_init_8502 = asm["___cxx_global_var_init_8502"];
  21720. asm["___cxx_global_var_init_8502"] = (function() {
  21721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21723. return real____cxx_global_var_init_8502.apply(null, arguments);
  21724. });
  21725. var real____cxx_global_var_init_86 = asm["___cxx_global_var_init_86"];
  21726. asm["___cxx_global_var_init_86"] = (function() {
  21727. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21728. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21729. return real____cxx_global_var_init_86.apply(null, arguments);
  21730. });
  21731. var real____cxx_global_var_init_87 = asm["___cxx_global_var_init_87"];
  21732. asm["___cxx_global_var_init_87"] = (function() {
  21733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21735. return real____cxx_global_var_init_87.apply(null, arguments);
  21736. });
  21737. var real____cxx_global_var_init_88 = asm["___cxx_global_var_init_88"];
  21738. asm["___cxx_global_var_init_88"] = (function() {
  21739. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21740. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21741. return real____cxx_global_var_init_88.apply(null, arguments);
  21742. });
  21743. var real____cxx_global_var_init_88_8642 = asm["___cxx_global_var_init_88_8642"];
  21744. asm["___cxx_global_var_init_88_8642"] = (function() {
  21745. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21746. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21747. return real____cxx_global_var_init_88_8642.apply(null, arguments);
  21748. });
  21749. var real____cxx_global_var_init_8_4574 = asm["___cxx_global_var_init_8_4574"];
  21750. asm["___cxx_global_var_init_8_4574"] = (function() {
  21751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21753. return real____cxx_global_var_init_8_4574.apply(null, arguments);
  21754. });
  21755. var real____cxx_global_var_init_8_7089 = asm["___cxx_global_var_init_8_7089"];
  21756. asm["___cxx_global_var_init_8_7089"] = (function() {
  21757. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21758. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21759. return real____cxx_global_var_init_8_7089.apply(null, arguments);
  21760. });
  21761. var real____cxx_global_var_init_8_9835 = asm["___cxx_global_var_init_8_9835"];
  21762. asm["___cxx_global_var_init_8_9835"] = (function() {
  21763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21765. return real____cxx_global_var_init_8_9835.apply(null, arguments);
  21766. });
  21767. var real____cxx_global_var_init_91 = asm["___cxx_global_var_init_91"];
  21768. asm["___cxx_global_var_init_91"] = (function() {
  21769. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21770. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21771. return real____cxx_global_var_init_91.apply(null, arguments);
  21772. });
  21773. var real____cxx_global_var_init_92 = asm["___cxx_global_var_init_92"];
  21774. asm["___cxx_global_var_init_92"] = (function() {
  21775. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21776. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21777. return real____cxx_global_var_init_92.apply(null, arguments);
  21778. });
  21779. var real____cxx_global_var_init_92_6311 = asm["___cxx_global_var_init_92_6311"];
  21780. asm["___cxx_global_var_init_92_6311"] = (function() {
  21781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21783. return real____cxx_global_var_init_92_6311.apply(null, arguments);
  21784. });
  21785. var real____cxx_global_var_init_93 = asm["___cxx_global_var_init_93"];
  21786. asm["___cxx_global_var_init_93"] = (function() {
  21787. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21788. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21789. return real____cxx_global_var_init_93.apply(null, arguments);
  21790. });
  21791. var real____cxx_global_var_init_93_6312 = asm["___cxx_global_var_init_93_6312"];
  21792. asm["___cxx_global_var_init_93_6312"] = (function() {
  21793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21795. return real____cxx_global_var_init_93_6312.apply(null, arguments);
  21796. });
  21797. var real____cxx_global_var_init_94 = asm["___cxx_global_var_init_94"];
  21798. asm["___cxx_global_var_init_94"] = (function() {
  21799. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21800. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21801. return real____cxx_global_var_init_94.apply(null, arguments);
  21802. });
  21803. var real____cxx_global_var_init_94_6313 = asm["___cxx_global_var_init_94_6313"];
  21804. asm["___cxx_global_var_init_94_6313"] = (function() {
  21805. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21806. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21807. return real____cxx_global_var_init_94_6313.apply(null, arguments);
  21808. });
  21809. var real____cxx_global_var_init_95 = asm["___cxx_global_var_init_95"];
  21810. asm["___cxx_global_var_init_95"] = (function() {
  21811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21813. return real____cxx_global_var_init_95.apply(null, arguments);
  21814. });
  21815. var real____cxx_global_var_init_9_4575 = asm["___cxx_global_var_init_9_4575"];
  21816. asm["___cxx_global_var_init_9_4575"] = (function() {
  21817. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21818. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21819. return real____cxx_global_var_init_9_4575.apply(null, arguments);
  21820. });
  21821. var real____cxx_global_var_init_9_9836 = asm["___cxx_global_var_init_9_9836"];
  21822. asm["___cxx_global_var_init_9_9836"] = (function() {
  21823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21825. return real____cxx_global_var_init_9_9836.apply(null, arguments);
  21826. });
  21827. var real____emscripten_environ_constructor = asm["___emscripten_environ_constructor"];
  21828. asm["___emscripten_environ_constructor"] = (function() {
  21829. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21830. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21831. return real____emscripten_environ_constructor.apply(null, arguments);
  21832. });
  21833. var real____errno_location = asm["___errno_location"];
  21834. asm["___errno_location"] = (function() {
  21835. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21836. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21837. return real____errno_location.apply(null, arguments);
  21838. });
  21839. var real___get_daylight = asm["__get_daylight"];
  21840. asm["__get_daylight"] = (function() {
  21841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21843. return real___get_daylight.apply(null, arguments);
  21844. });
  21845. var real___get_environ = asm["__get_environ"];
  21846. asm["__get_environ"] = (function() {
  21847. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21848. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21849. return real___get_environ.apply(null, arguments);
  21850. });
  21851. var real___get_timezone = asm["__get_timezone"];
  21852. asm["__get_timezone"] = (function() {
  21853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21855. return real___get_timezone.apply(null, arguments);
  21856. });
  21857. var real___get_tzname = asm["__get_tzname"];
  21858. asm["__get_tzname"] = (function() {
  21859. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21860. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21861. return real___get_tzname.apply(null, arguments);
  21862. });
  21863. var real__fflush = asm["_fflush"];
  21864. asm["_fflush"] = (function() {
  21865. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21866. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21867. return real__fflush.apply(null, arguments);
  21868. });
  21869. var real__free = asm["_free"];
  21870. asm["_free"] = (function() {
  21871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21873. return real__free.apply(null, arguments);
  21874. });
  21875. var real__htonl = asm["_htonl"];
  21876. asm["_htonl"] = (function() {
  21877. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21878. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21879. return real__htonl.apply(null, arguments);
  21880. });
  21881. var real__htons = asm["_htons"];
  21882. asm["_htons"] = (function() {
  21883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21885. return real__htons.apply(null, arguments);
  21886. });
  21887. var real__i64Add = asm["_i64Add"];
  21888. asm["_i64Add"] = (function() {
  21889. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21890. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21891. return real__i64Add.apply(null, arguments);
  21892. });
  21893. var real__llvm_bswap_i16 = asm["_llvm_bswap_i16"];
  21894. asm["_llvm_bswap_i16"] = (function() {
  21895. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21896. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21897. return real__llvm_bswap_i16.apply(null, arguments);
  21898. });
  21899. var real__llvm_bswap_i32 = asm["_llvm_bswap_i32"];
  21900. asm["_llvm_bswap_i32"] = (function() {
  21901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21903. return real__llvm_bswap_i32.apply(null, arguments);
  21904. });
  21905. var real__llvm_ctlz_i64 = asm["_llvm_ctlz_i64"];
  21906. asm["_llvm_ctlz_i64"] = (function() {
  21907. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21908. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21909. return real__llvm_ctlz_i64.apply(null, arguments);
  21910. });
  21911. var real__llvm_ctpop_i32 = asm["_llvm_ctpop_i32"];
  21912. asm["_llvm_ctpop_i32"] = (function() {
  21913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21915. return real__llvm_ctpop_i32.apply(null, arguments);
  21916. });
  21917. var real__llvm_maxnum_f32 = asm["_llvm_maxnum_f32"];
  21918. asm["_llvm_maxnum_f32"] = (function() {
  21919. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21920. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21921. return real__llvm_maxnum_f32.apply(null, arguments);
  21922. });
  21923. var real__llvm_maxnum_f64 = asm["_llvm_maxnum_f64"];
  21924. asm["_llvm_maxnum_f64"] = (function() {
  21925. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21926. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21927. return real__llvm_maxnum_f64.apply(null, arguments);
  21928. });
  21929. var real__llvm_minnum_f32 = asm["_llvm_minnum_f32"];
  21930. asm["_llvm_minnum_f32"] = (function() {
  21931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21933. return real__llvm_minnum_f32.apply(null, arguments);
  21934. });
  21935. var real__llvm_round_f32 = asm["_llvm_round_f32"];
  21936. asm["_llvm_round_f32"] = (function() {
  21937. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21938. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21939. return real__llvm_round_f32.apply(null, arguments);
  21940. });
  21941. var real__main = asm["_main"];
  21942. asm["_main"] = (function() {
  21943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21945. return real__main.apply(null, arguments);
  21946. });
  21947. var real__malloc = asm["_malloc"];
  21948. asm["_malloc"] = (function() {
  21949. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21950. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21951. return real__malloc.apply(null, arguments);
  21952. });
  21953. var real__memalign = asm["_memalign"];
  21954. asm["_memalign"] = (function() {
  21955. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21956. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21957. return real__memalign.apply(null, arguments);
  21958. });
  21959. var real__memmove = asm["_memmove"];
  21960. asm["_memmove"] = (function() {
  21961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21963. return real__memmove.apply(null, arguments);
  21964. });
  21965. var real__ntohs = asm["_ntohs"];
  21966. asm["_ntohs"] = (function() {
  21967. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21968. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21969. return real__ntohs.apply(null, arguments);
  21970. });
  21971. var real__pthread_cond_broadcast = asm["_pthread_cond_broadcast"];
  21972. asm["_pthread_cond_broadcast"] = (function() {
  21973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21975. return real__pthread_cond_broadcast.apply(null, arguments);
  21976. });
  21977. var real__pthread_mutex_lock = asm["_pthread_mutex_lock"];
  21978. asm["_pthread_mutex_lock"] = (function() {
  21979. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21980. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21981. return real__pthread_mutex_lock.apply(null, arguments);
  21982. });
  21983. var real__pthread_mutex_unlock = asm["_pthread_mutex_unlock"];
  21984. asm["_pthread_mutex_unlock"] = (function() {
  21985. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21986. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21987. return real__pthread_mutex_unlock.apply(null, arguments);
  21988. });
  21989. var real__realloc = asm["_realloc"];
  21990. asm["_realloc"] = (function() {
  21991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21993. return real__realloc.apply(null, arguments);
  21994. });
  21995. var real__sbrk = asm["_sbrk"];
  21996. asm["_sbrk"] = (function() {
  21997. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21998. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21999. return real__sbrk.apply(null, arguments);
  22000. });
  22001. var real__strlen = asm["_strlen"];
  22002. asm["_strlen"] = (function() {
  22003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22005. return real__strlen.apply(null, arguments);
  22006. });
  22007. var real_establishStackSpace = asm["establishStackSpace"];
  22008. asm["establishStackSpace"] = (function() {
  22009. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22010. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22011. return real_establishStackSpace.apply(null, arguments);
  22012. });
  22013. var real_getTempRet0 = asm["getTempRet0"];
  22014. asm["getTempRet0"] = (function() {
  22015. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22016. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22017. return real_getTempRet0.apply(null, arguments);
  22018. });
  22019. var real_setTempRet0 = asm["setTempRet0"];
  22020. asm["setTempRet0"] = (function() {
  22021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22023. return real_setTempRet0.apply(null, arguments);
  22024. });
  22025. var real_setThrew = asm["setThrew"];
  22026. asm["setThrew"] = (function() {
  22027. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22028. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22029. return real_setThrew.apply(null, arguments);
  22030. });
  22031. var real_stackAlloc = asm["stackAlloc"];
  22032. asm["stackAlloc"] = (function() {
  22033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22035. return real_stackAlloc.apply(null, arguments);
  22036. });
  22037. var real_stackRestore = asm["stackRestore"];
  22038. asm["stackRestore"] = (function() {
  22039. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22040. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22041. return real_stackRestore.apply(null, arguments);
  22042. });
  22043. var real_stackSave = asm["stackSave"];
  22044. asm["stackSave"] = (function() {
  22045. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22046. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22047. return real_stackSave.apply(null, arguments);
  22048. });
  22049. Module["asm"] = asm;
  22050. var _InjectProfilerSample = Module["_InjectProfilerSample"] = (function() {
  22051. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22052. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22053. return Module["asm"]["_InjectProfilerSample"].apply(null, arguments);
  22054. });
  22055. var _SendMessage = Module["_SendMessage"] = (function() {
  22056. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22057. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22058. return Module["asm"]["_SendMessage"].apply(null, arguments);
  22059. });
  22060. var _SendMessageFloat = Module["_SendMessageFloat"] = (function() {
  22061. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22062. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22063. return Module["asm"]["_SendMessageFloat"].apply(null, arguments);
  22064. });
  22065. var _SendMessageString = Module["_SendMessageString"] = (function() {
  22066. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22067. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22068. return Module["asm"]["_SendMessageString"].apply(null, arguments);
  22069. });
  22070. var _SetFullscreen = Module["_SetFullscreen"] = (function() {
  22071. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22072. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22073. return Module["asm"]["_SetFullscreen"].apply(null, arguments);
  22074. });
  22075. var __GLOBAL__sub_I_AIBindings_gen_cpp = Module["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  22076. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22077. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22078. return Module["asm"]["__GLOBAL__sub_I_AIBindings_gen_cpp"].apply(null, arguments);
  22079. });
  22080. var __GLOBAL__sub_I_AIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (function() {
  22081. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22082. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22083. return Module["asm"]["__GLOBAL__sub_I_AIScriptingClasses_cpp"].apply(null, arguments);
  22084. });
  22085. var __GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = Module["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (function() {
  22086. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22087. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22088. return Module["asm"]["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"].apply(null, arguments);
  22089. });
  22090. var __GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (function() {
  22091. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22092. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22093. return Module["asm"]["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"].apply(null, arguments);
  22094. });
  22095. var __GLOBAL__sub_I_AnimationBindings_gen_cpp = Module["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (function() {
  22096. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22097. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22098. return Module["asm"]["__GLOBAL__sub_I_AnimationBindings_gen_cpp"].apply(null, arguments);
  22099. });
  22100. var __GLOBAL__sub_I_AnimationClip_cpp = Module["__GLOBAL__sub_I_AnimationClip_cpp"] = (function() {
  22101. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22102. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22103. return Module["asm"]["__GLOBAL__sub_I_AnimationClip_cpp"].apply(null, arguments);
  22104. });
  22105. var __GLOBAL__sub_I_AnimationScriptingClasses_cpp = Module["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"] = (function() {
  22106. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22107. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22108. return Module["asm"]["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"].apply(null, arguments);
  22109. });
  22110. var __GLOBAL__sub_I_AssetBundleFileSystem_cpp = Module["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"] = (function() {
  22111. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22112. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22113. return Module["asm"]["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"].apply(null, arguments);
  22114. });
  22115. var __GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = Module["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"] = (function() {
  22116. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22117. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22118. return Module["asm"]["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"].apply(null, arguments);
  22119. });
  22120. var __GLOBAL__sub_I_AudioScriptingClasses_cpp = Module["__GLOBAL__sub_I_AudioScriptingClasses_cpp"] = (function() {
  22121. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22122. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22123. return Module["asm"]["__GLOBAL__sub_I_AudioScriptingClasses_cpp"].apply(null, arguments);
  22124. });
  22125. var __GLOBAL__sub_I_ClothScriptingClasses_cpp = Module["__GLOBAL__sub_I_ClothScriptingClasses_cpp"] = (function() {
  22126. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22127. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22128. return Module["asm"]["__GLOBAL__sub_I_ClothScriptingClasses_cpp"].apply(null, arguments);
  22129. });
  22130. var __GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp = Module["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"] = (function() {
  22131. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22132. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22133. return Module["asm"]["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"].apply(null, arguments);
  22134. });
  22135. var __GLOBAL__sub_I_ConstraintJob_cpp = Module["__GLOBAL__sub_I_ConstraintJob_cpp"] = (function() {
  22136. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22137. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22138. return Module["asm"]["__GLOBAL__sub_I_ConstraintJob_cpp"].apply(null, arguments);
  22139. });
  22140. var __GLOBAL__sub_I_CoreBindings_gen_cpp = Module["__GLOBAL__sub_I_CoreBindings_gen_cpp"] = (function() {
  22141. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22142. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22143. return Module["asm"]["__GLOBAL__sub_I_CoreBindings_gen_cpp"].apply(null, arguments);
  22144. });
  22145. var __GLOBAL__sub_I_DSPGraphBindings_gen_cpp = Module["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"] = (function() {
  22146. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22147. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22148. return Module["asm"]["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"].apply(null, arguments);
  22149. });
  22150. var __GLOBAL__sub_I_DirectorScriptingClasses_cpp = Module["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"] = (function() {
  22151. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22152. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22153. return Module["asm"]["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"].apply(null, arguments);
  22154. });
  22155. var __GLOBAL__sub_I_ExternalForcesModule_cpp = Module["__GLOBAL__sub_I_ExternalForcesModule_cpp"] = (function() {
  22156. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22157. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22158. return Module["asm"]["__GLOBAL__sub_I_ExternalForcesModule_cpp"].apply(null, arguments);
  22159. });
  22160. var __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"] = (function() {
  22161. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22162. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22163. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"].apply(null, arguments);
  22164. });
  22165. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"] = (function() {
  22166. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22167. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22168. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"].apply(null, arguments);
  22169. });
  22170. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"] = (function() {
  22171. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22172. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22173. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"].apply(null, arguments);
  22174. });
  22175. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"] = (function() {
  22176. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22177. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22178. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"].apply(null, arguments);
  22179. });
  22180. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"] = (function() {
  22181. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22182. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22183. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"].apply(null, arguments);
  22184. });
  22185. var __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = Module["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"] = (function() {
  22186. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22187. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22188. return Module["asm"]["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"].apply(null, arguments);
  22189. });
  22190. var __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = Module["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"] = (function() {
  22191. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22192. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22193. return Module["asm"]["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"].apply(null, arguments);
  22194. });
  22195. var __GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp = Module["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"] = (function() {
  22196. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22197. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22198. return Module["asm"]["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"].apply(null, arguments);
  22199. });
  22200. var __GLOBAL__sub_I_GUITexture_cpp = Module["__GLOBAL__sub_I_GUITexture_cpp"] = (function() {
  22201. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22202. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22203. return Module["asm"]["__GLOBAL__sub_I_GUITexture_cpp"].apply(null, arguments);
  22204. });
  22205. var __GLOBAL__sub_I_GfxDeviceNull_cpp = Module["__GLOBAL__sub_I_GfxDeviceNull_cpp"] = (function() {
  22206. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22207. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22208. return Module["asm"]["__GLOBAL__sub_I_GfxDeviceNull_cpp"].apply(null, arguments);
  22209. });
  22210. var __GLOBAL__sub_I_GridScriptingClasses_cpp = Module["__GLOBAL__sub_I_GridScriptingClasses_cpp"] = (function() {
  22211. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22212. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22213. return Module["asm"]["__GLOBAL__sub_I_GridScriptingClasses_cpp"].apply(null, arguments);
  22214. });
  22215. var __GLOBAL__sub_I_IMGUIScriptingClasses_cpp = Module["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"] = (function() {
  22216. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22217. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22218. return Module["asm"]["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"].apply(null, arguments);
  22219. });
  22220. var __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = Module["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"] = (function() {
  22221. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22222. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22223. return Module["asm"]["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"].apply(null, arguments);
  22224. });
  22225. var __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"] = (function() {
  22226. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22227. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22228. return Module["asm"]["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"].apply(null, arguments);
  22229. });
  22230. var __GLOBAL__sub_I_InputScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputScriptingClasses_cpp"] = (function() {
  22231. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22232. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22233. return Module["asm"]["__GLOBAL__sub_I_InputScriptingClasses_cpp"].apply(null, arguments);
  22234. });
  22235. var __GLOBAL__sub_I_LineRenderer_cpp = Module["__GLOBAL__sub_I_LineRenderer_cpp"] = (function() {
  22236. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22237. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22238. return Module["asm"]["__GLOBAL__sub_I_LineRenderer_cpp"].apply(null, arguments);
  22239. });
  22240. var __GLOBAL__sub_I_LogAssert_cpp = Module["__GLOBAL__sub_I_LogAssert_cpp"] = (function() {
  22241. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22242. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22243. return Module["asm"]["__GLOBAL__sub_I_LogAssert_cpp"].apply(null, arguments);
  22244. });
  22245. var __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"] = (function() {
  22246. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22247. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22248. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"].apply(null, arguments);
  22249. });
  22250. var __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"] = (function() {
  22251. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22252. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22253. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"].apply(null, arguments);
  22254. });
  22255. var __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"] = (function() {
  22256. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22257. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22258. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"].apply(null, arguments);
  22259. });
  22260. var __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"] = (function() {
  22261. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22262. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22263. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"].apply(null, arguments);
  22264. });
  22265. var __GLOBAL__sub_I_Lump_libil2cpp_os_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"] = (function() {
  22266. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22267. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22268. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"].apply(null, arguments);
  22269. });
  22270. var __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"] = (function() {
  22271. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22272. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22273. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"].apply(null, arguments);
  22274. });
  22275. var __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"] = (function() {
  22276. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22277. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22278. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"].apply(null, arguments);
  22279. });
  22280. var __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"] = (function() {
  22281. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22282. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22283. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"].apply(null, arguments);
  22284. });
  22285. var __GLOBAL__sub_I_Mesh_cpp = Module["__GLOBAL__sub_I_Mesh_cpp"] = (function() {
  22286. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22287. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22288. return Module["asm"]["__GLOBAL__sub_I_Mesh_cpp"].apply(null, arguments);
  22289. });
  22290. var __GLOBAL__sub_I_Modules_AI_1_cpp = Module["__GLOBAL__sub_I_Modules_AI_1_cpp"] = (function() {
  22291. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22292. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22293. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_1_cpp"].apply(null, arguments);
  22294. });
  22295. var __GLOBAL__sub_I_Modules_AI_Builder_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"] = (function() {
  22296. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22297. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22298. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"].apply(null, arguments);
  22299. });
  22300. var __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"] = (function() {
  22301. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22302. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22303. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"].apply(null, arguments);
  22304. });
  22305. var __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"] = (function() {
  22306. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22307. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22308. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"].apply(null, arguments);
  22309. });
  22310. var __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"] = (function() {
  22311. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22312. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22313. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"].apply(null, arguments);
  22314. });
  22315. var __GLOBAL__sub_I_Modules_Animation_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_0_cpp"] = (function() {
  22316. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22317. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22318. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_0_cpp"].apply(null, arguments);
  22319. });
  22320. var __GLOBAL__sub_I_Modules_Animation_2_cpp = Module["__GLOBAL__sub_I_Modules_Animation_2_cpp"] = (function() {
  22321. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22322. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22323. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_2_cpp"].apply(null, arguments);
  22324. });
  22325. var __GLOBAL__sub_I_Modules_Animation_3_cpp = Module["__GLOBAL__sub_I_Modules_Animation_3_cpp"] = (function() {
  22326. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22327. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22328. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_3_cpp"].apply(null, arguments);
  22329. });
  22330. var __GLOBAL__sub_I_Modules_Animation_4_cpp = Module["__GLOBAL__sub_I_Modules_Animation_4_cpp"] = (function() {
  22331. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22332. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22333. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_4_cpp"].apply(null, arguments);
  22334. });
  22335. var __GLOBAL__sub_I_Modules_Animation_5_cpp = Module["__GLOBAL__sub_I_Modules_Animation_5_cpp"] = (function() {
  22336. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22337. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22338. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_5_cpp"].apply(null, arguments);
  22339. });
  22340. var __GLOBAL__sub_I_Modules_Animation_6_cpp = Module["__GLOBAL__sub_I_Modules_Animation_6_cpp"] = (function() {
  22341. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22342. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22343. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_6_cpp"].apply(null, arguments);
  22344. });
  22345. var __GLOBAL__sub_I_Modules_Animation_7_cpp = Module["__GLOBAL__sub_I_Modules_Animation_7_cpp"] = (function() {
  22346. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22347. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22348. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_7_cpp"].apply(null, arguments);
  22349. });
  22350. var __GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"] = (function() {
  22351. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22352. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22353. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"].apply(null, arguments);
  22354. });
  22355. var __GLOBAL__sub_I_Modules_Animation_Director_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"] = (function() {
  22356. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22357. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22358. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"].apply(null, arguments);
  22359. });
  22360. var __GLOBAL__sub_I_Modules_Animation_Director_1_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"] = (function() {
  22361. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22362. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22363. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"].apply(null, arguments);
  22364. });
  22365. var __GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"] = (function() {
  22366. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22367. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22368. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"].apply(null, arguments);
  22369. });
  22370. var __GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"] = (function() {
  22371. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22372. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22373. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"].apply(null, arguments);
  22374. });
  22375. var __GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"] = (function() {
  22376. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22377. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22378. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"].apply(null, arguments);
  22379. });
  22380. var __GLOBAL__sub_I_Modules_Audio_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"] = (function() {
  22381. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22382. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22383. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"].apply(null, arguments);
  22384. });
  22385. var __GLOBAL__sub_I_Modules_Audio_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"] = (function() {
  22386. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22387. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22388. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"].apply(null, arguments);
  22389. });
  22390. var __GLOBAL__sub_I_Modules_Audio_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"] = (function() {
  22391. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22392. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22393. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"].apply(null, arguments);
  22394. });
  22395. var __GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"] = (function() {
  22396. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22397. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22398. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"].apply(null, arguments);
  22399. });
  22400. var __GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"] = (function() {
  22401. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22402. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22403. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"].apply(null, arguments);
  22404. });
  22405. var __GLOBAL__sub_I_Modules_Cloth_0_cpp = Module["__GLOBAL__sub_I_Modules_Cloth_0_cpp"] = (function() {
  22406. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22407. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22408. return Module["asm"]["__GLOBAL__sub_I_Modules_Cloth_0_cpp"].apply(null, arguments);
  22409. });
  22410. var __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"] = (function() {
  22411. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22412. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22413. return Module["asm"]["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"].apply(null, arguments);
  22414. });
  22415. var __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"] = (function() {
  22416. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22417. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22418. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"].apply(null, arguments);
  22419. });
  22420. var __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"] = (function() {
  22421. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22422. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22423. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"].apply(null, arguments);
  22424. });
  22425. var __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"] = (function() {
  22426. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22427. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22428. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"].apply(null, arguments);
  22429. });
  22430. var __GLOBAL__sub_I_Modules_Grid_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"] = (function() {
  22431. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22432. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22433. return Module["asm"]["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"].apply(null, arguments);
  22434. });
  22435. var __GLOBAL__sub_I_Modules_IMGUI_0_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"] = (function() {
  22436. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22437. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22438. return Module["asm"]["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"].apply(null, arguments);
  22439. });
  22440. var __GLOBAL__sub_I_Modules_IMGUI_1_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"] = (function() {
  22441. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22442. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22443. return Module["asm"]["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"].apply(null, arguments);
  22444. });
  22445. var __GLOBAL__sub_I_Modules_Input_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"] = (function() {
  22446. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22447. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22448. return Module["asm"]["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"].apply(null, arguments);
  22449. });
  22450. var __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"] = (function() {
  22451. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22452. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22453. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"].apply(null, arguments);
  22454. });
  22455. var __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"] = (function() {
  22456. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22457. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22458. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"].apply(null, arguments);
  22459. });
  22460. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"] = (function() {
  22461. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22462. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22463. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"].apply(null, arguments);
  22464. });
  22465. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"] = (function() {
  22466. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22467. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22468. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"].apply(null, arguments);
  22469. });
  22470. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"] = (function() {
  22471. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22472. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22473. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"].apply(null, arguments);
  22474. });
  22475. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"] = (function() {
  22476. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22477. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22478. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"].apply(null, arguments);
  22479. });
  22480. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"] = (function() {
  22481. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22482. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22483. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"].apply(null, arguments);
  22484. });
  22485. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"] = (function() {
  22486. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22487. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22488. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"].apply(null, arguments);
  22489. });
  22490. var __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = Module["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"] = (function() {
  22491. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22492. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22493. return Module["asm"]["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"].apply(null, arguments);
  22494. });
  22495. var __GLOBAL__sub_I_Modules_Physics2D_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"] = (function() {
  22496. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22497. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22498. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"].apply(null, arguments);
  22499. });
  22500. var __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"] = (function() {
  22501. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22502. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22503. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"].apply(null, arguments);
  22504. });
  22505. var __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"] = (function() {
  22506. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22507. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22508. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"].apply(null, arguments);
  22509. });
  22510. var __GLOBAL__sub_I_Modules_Physics_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_0_cpp"] = (function() {
  22511. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22512. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22513. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_0_cpp"].apply(null, arguments);
  22514. });
  22515. var __GLOBAL__sub_I_Modules_Physics_2_cpp = Module["__GLOBAL__sub_I_Modules_Physics_2_cpp"] = (function() {
  22516. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22517. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22518. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_2_cpp"].apply(null, arguments);
  22519. });
  22520. var __GLOBAL__sub_I_Modules_Physics_3_cpp = Module["__GLOBAL__sub_I_Modules_Physics_3_cpp"] = (function() {
  22521. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22522. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22523. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_3_cpp"].apply(null, arguments);
  22524. });
  22525. var __GLOBAL__sub_I_Modules_Physics_4_cpp = Module["__GLOBAL__sub_I_Modules_Physics_4_cpp"] = (function() {
  22526. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22527. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22528. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_4_cpp"].apply(null, arguments);
  22529. });
  22530. var __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"] = (function() {
  22531. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22532. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22533. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"].apply(null, arguments);
  22534. });
  22535. var __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"] = (function() {
  22536. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22537. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22538. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"].apply(null, arguments);
  22539. });
  22540. var __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"] = (function() {
  22541. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22542. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22543. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"].apply(null, arguments);
  22544. });
  22545. var __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"] = (function() {
  22546. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22547. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22548. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"].apply(null, arguments);
  22549. });
  22550. var __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"] = (function() {
  22551. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22552. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22553. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"].apply(null, arguments);
  22554. });
  22555. var __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"] = (function() {
  22556. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22557. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22558. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"].apply(null, arguments);
  22559. });
  22560. var __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"] = (function() {
  22561. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22562. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22563. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"].apply(null, arguments);
  22564. });
  22565. var __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"] = (function() {
  22566. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22567. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22568. return Module["asm"]["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"].apply(null, arguments);
  22569. });
  22570. var __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"] = (function() {
  22571. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22572. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22573. return Module["asm"]["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"].apply(null, arguments);
  22574. });
  22575. var __GLOBAL__sub_I_Modules_Subsystems_0_cpp = Module["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"] = (function() {
  22576. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22577. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22578. return Module["asm"]["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"].apply(null, arguments);
  22579. });
  22580. var __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = Module["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"] = (function() {
  22581. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22582. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22583. return Module["asm"]["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"].apply(null, arguments);
  22584. });
  22585. var __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"] = (function() {
  22586. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22587. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22588. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"].apply(null, arguments);
  22589. });
  22590. var __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"] = (function() {
  22591. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22592. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22593. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"].apply(null, arguments);
  22594. });
  22595. var __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"] = (function() {
  22596. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22597. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22598. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"].apply(null, arguments);
  22599. });
  22600. var __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"] = (function() {
  22601. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22602. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22603. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"].apply(null, arguments);
  22604. });
  22605. var __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"] = (function() {
  22606. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22607. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22608. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"].apply(null, arguments);
  22609. });
  22610. var __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = Module["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"] = (function() {
  22611. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22612. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22613. return Module["asm"]["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"].apply(null, arguments);
  22614. });
  22615. var __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"] = (function() {
  22616. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22617. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22618. return Module["asm"]["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"].apply(null, arguments);
  22619. });
  22620. var __GLOBAL__sub_I_Modules_Tilemap_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"] = (function() {
  22621. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22622. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22623. return Module["asm"]["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"].apply(null, arguments);
  22624. });
  22625. var __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"] = (function() {
  22626. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22627. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22628. return Module["asm"]["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"].apply(null, arguments);
  22629. });
  22630. var __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = Module["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"] = (function() {
  22631. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22632. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22633. return Module["asm"]["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"].apply(null, arguments);
  22634. });
  22635. var __GLOBAL__sub_I_Modules_UI_0_cpp = Module["__GLOBAL__sub_I_Modules_UI_0_cpp"] = (function() {
  22636. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22637. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22638. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_0_cpp"].apply(null, arguments);
  22639. });
  22640. var __GLOBAL__sub_I_Modules_UI_1_cpp = Module["__GLOBAL__sub_I_Modules_UI_1_cpp"] = (function() {
  22641. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22642. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22643. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_1_cpp"].apply(null, arguments);
  22644. });
  22645. var __GLOBAL__sub_I_Modules_UI_2_cpp = Module["__GLOBAL__sub_I_Modules_UI_2_cpp"] = (function() {
  22646. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22647. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22648. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_2_cpp"].apply(null, arguments);
  22649. });
  22650. var __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"] = (function() {
  22651. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22652. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22653. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"].apply(null, arguments);
  22654. });
  22655. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"] = (function() {
  22656. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22657. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22658. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"].apply(null, arguments);
  22659. });
  22660. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"] = (function() {
  22661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22663. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"].apply(null, arguments);
  22664. });
  22665. var __GLOBAL__sub_I_Modules_VFX_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"] = (function() {
  22666. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22667. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22668. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"].apply(null, arguments);
  22669. });
  22670. var __GLOBAL__sub_I_Modules_VFX_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"] = (function() {
  22671. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22672. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22673. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"].apply(null, arguments);
  22674. });
  22675. var __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"] = (function() {
  22676. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22677. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22678. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"].apply(null, arguments);
  22679. });
  22680. var __GLOBAL__sub_I_Modules_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_VR_0_cpp"] = (function() {
  22681. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22682. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22683. return Module["asm"]["__GLOBAL__sub_I_Modules_VR_0_cpp"].apply(null, arguments);
  22684. });
  22685. var __GLOBAL__sub_I_Modules_VR_1_cpp = Module["__GLOBAL__sub_I_Modules_VR_1_cpp"] = (function() {
  22686. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22687. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22688. return Module["asm"]["__GLOBAL__sub_I_Modules_VR_1_cpp"].apply(null, arguments);
  22689. });
  22690. var __GLOBAL__sub_I_Modules_Vehicles_0_cpp = Module["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"] = (function() {
  22691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22693. return Module["asm"]["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"].apply(null, arguments);
  22694. });
  22695. var __GLOBAL__sub_I_Modules_Video_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"] = (function() {
  22696. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22697. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22698. return Module["asm"]["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"].apply(null, arguments);
  22699. });
  22700. var __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"] = (function() {
  22701. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22702. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22703. return Module["asm"]["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"].apply(null, arguments);
  22704. });
  22705. var __GLOBAL__sub_I_Modules_XR_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_0_cpp"] = (function() {
  22706. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22707. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22708. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_0_cpp"].apply(null, arguments);
  22709. });
  22710. var __GLOBAL__sub_I_Modules_XR_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"] = (function() {
  22711. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22712. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22713. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"].apply(null, arguments);
  22714. });
  22715. var __GLOBAL__sub_I_Modules_XR_Stats_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"] = (function() {
  22716. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22717. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22718. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"].apply(null, arguments);
  22719. });
  22720. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"] = (function() {
  22721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22723. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"].apply(null, arguments);
  22724. });
  22725. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"] = (function() {
  22726. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22727. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22728. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"].apply(null, arguments);
  22729. });
  22730. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"] = (function() {
  22731. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22732. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22733. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"].apply(null, arguments);
  22734. });
  22735. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"] = (function() {
  22736. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22737. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22738. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"].apply(null, arguments);
  22739. });
  22740. var __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"] = (function() {
  22741. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22742. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22743. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"].apply(null, arguments);
  22744. });
  22745. var __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"] = (function() {
  22746. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22747. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22748. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"].apply(null, arguments);
  22749. });
  22750. var __GLOBAL__sub_I_NoiseModule_cpp = Module["__GLOBAL__sub_I_NoiseModule_cpp"] = (function() {
  22751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22753. return Module["asm"]["__GLOBAL__sub_I_NoiseModule_cpp"].apply(null, arguments);
  22754. });
  22755. var __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = Module["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"] = (function() {
  22756. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22757. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22758. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"].apply(null, arguments);
  22759. });
  22760. var __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = Module["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"] = (function() {
  22761. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22762. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22763. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"].apply(null, arguments);
  22764. });
  22765. var __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = Module["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"] = (function() {
  22766. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22767. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22768. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"].apply(null, arguments);
  22769. });
  22770. var __GLOBAL__sub_I_Physics2DScriptingClasses_cpp = Module["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"] = (function() {
  22771. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22772. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22773. return Module["asm"]["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"].apply(null, arguments);
  22774. });
  22775. var __GLOBAL__sub_I_PhysicsBindings_gen_cpp = Module["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"] = (function() {
  22776. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22777. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22778. return Module["asm"]["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"].apply(null, arguments);
  22779. });
  22780. var __GLOBAL__sub_I_PhysicsQuery_cpp = Module["__GLOBAL__sub_I_PhysicsQuery_cpp"] = (function() {
  22781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22783. return Module["asm"]["__GLOBAL__sub_I_PhysicsQuery_cpp"].apply(null, arguments);
  22784. });
  22785. var __GLOBAL__sub_I_PhysicsScene_cpp = Module["__GLOBAL__sub_I_PhysicsScene_cpp"] = (function() {
  22786. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22787. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22788. return Module["asm"]["__GLOBAL__sub_I_PhysicsScene_cpp"].apply(null, arguments);
  22789. });
  22790. var __GLOBAL__sub_I_PhysicsScriptingClasses_cpp = Module["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"] = (function() {
  22791. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22792. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22793. return Module["asm"]["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"].apply(null, arguments);
  22794. });
  22795. var __GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"] = (function() {
  22796. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22797. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22798. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"].apply(null, arguments);
  22799. });
  22800. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"] = (function() {
  22801. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22802. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22803. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"].apply(null, arguments);
  22804. });
  22805. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"] = (function() {
  22806. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22807. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22808. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"].apply(null, arguments);
  22809. });
  22810. var __GLOBAL__sub_I_PluginInterfaceVR_cpp = Module["__GLOBAL__sub_I_PluginInterfaceVR_cpp"] = (function() {
  22811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22813. return Module["asm"]["__GLOBAL__sub_I_PluginInterfaceVR_cpp"].apply(null, arguments);
  22814. });
  22815. var __GLOBAL__sub_I_QualitySettings_cpp = Module["__GLOBAL__sub_I_QualitySettings_cpp"] = (function() {
  22816. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22817. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22818. return Module["asm"]["__GLOBAL__sub_I_QualitySettings_cpp"].apply(null, arguments);
  22819. });
  22820. var __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"] = (function() {
  22821. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22822. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22823. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"].apply(null, arguments);
  22824. });
  22825. var __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"] = (function() {
  22826. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22827. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22828. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"].apply(null, arguments);
  22829. });
  22830. var __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"] = (function() {
  22831. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22832. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22833. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"].apply(null, arguments);
  22834. });
  22835. var __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"] = (function() {
  22836. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22837. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22838. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"].apply(null, arguments);
  22839. });
  22840. var __GLOBAL__sub_I_Runtime_Allocator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"] = (function() {
  22841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22843. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"].apply(null, arguments);
  22844. });
  22845. var __GLOBAL__sub_I_Runtime_Allocator_2_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"] = (function() {
  22846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22848. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"].apply(null, arguments);
  22849. });
  22850. var __GLOBAL__sub_I_Runtime_Allocator_3_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"] = (function() {
  22851. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22852. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22853. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"].apply(null, arguments);
  22854. });
  22855. var __GLOBAL__sub_I_Runtime_Application_0_cpp = Module["__GLOBAL__sub_I_Runtime_Application_0_cpp"] = (function() {
  22856. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22857. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22858. return Module["asm"]["__GLOBAL__sub_I_Runtime_Application_0_cpp"].apply(null, arguments);
  22859. });
  22860. var __GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"] = (function() {
  22861. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22862. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22863. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"].apply(null, arguments);
  22864. });
  22865. var __GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"] = (function() {
  22866. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22867. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22868. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"].apply(null, arguments);
  22869. });
  22870. var __GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"] = (function() {
  22871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22873. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"].apply(null, arguments);
  22874. });
  22875. var __GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"] = (function() {
  22876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22878. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"].apply(null, arguments);
  22879. });
  22880. var __GLOBAL__sub_I_Runtime_Burst_0_cpp = Module["__GLOBAL__sub_I_Runtime_Burst_0_cpp"] = (function() {
  22881. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22882. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22883. return Module["asm"]["__GLOBAL__sub_I_Runtime_Burst_0_cpp"].apply(null, arguments);
  22884. });
  22885. var __GLOBAL__sub_I_Runtime_Camera_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_0_cpp"] = (function() {
  22886. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22887. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22888. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_0_cpp"].apply(null, arguments);
  22889. });
  22890. var __GLOBAL__sub_I_Runtime_Camera_1_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_1_cpp"] = (function() {
  22891. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22892. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22893. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_1_cpp"].apply(null, arguments);
  22894. });
  22895. var __GLOBAL__sub_I_Runtime_Camera_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_2_cpp"] = (function() {
  22896. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22897. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22898. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_2_cpp"].apply(null, arguments);
  22899. });
  22900. var __GLOBAL__sub_I_Runtime_Camera_3_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_3_cpp"] = (function() {
  22901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22903. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_3_cpp"].apply(null, arguments);
  22904. });
  22905. var __GLOBAL__sub_I_Runtime_Camera_4_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_4_cpp"] = (function() {
  22906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22908. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_4_cpp"].apply(null, arguments);
  22909. });
  22910. var __GLOBAL__sub_I_Runtime_Camera_5_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_5_cpp"] = (function() {
  22911. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22912. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22913. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_5_cpp"].apply(null, arguments);
  22914. });
  22915. var __GLOBAL__sub_I_Runtime_Camera_6_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_6_cpp"] = (function() {
  22916. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22917. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22918. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_6_cpp"].apply(null, arguments);
  22919. });
  22920. var __GLOBAL__sub_I_Runtime_Camera_7_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_7_cpp"] = (function() {
  22921. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22922. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22923. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_7_cpp"].apply(null, arguments);
  22924. });
  22925. var __GLOBAL__sub_I_Runtime_Camera_8_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_8_cpp"] = (function() {
  22926. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22927. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22928. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_8_cpp"].apply(null, arguments);
  22929. });
  22930. var __GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"] = (function() {
  22931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22933. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"].apply(null, arguments);
  22934. });
  22935. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"] = (function() {
  22936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22938. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"].apply(null, arguments);
  22939. });
  22940. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"] = (function() {
  22941. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22942. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22943. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"].apply(null, arguments);
  22944. });
  22945. var __GLOBAL__sub_I_Runtime_Containers_0_cpp = Module["__GLOBAL__sub_I_Runtime_Containers_0_cpp"] = (function() {
  22946. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22947. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22948. return Module["asm"]["__GLOBAL__sub_I_Runtime_Containers_0_cpp"].apply(null, arguments);
  22949. });
  22950. var __GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = Module["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"] = (function() {
  22951. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22952. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22953. return Module["asm"]["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"].apply(null, arguments);
  22954. });
  22955. var __GLOBAL__sub_I_Runtime_Director_Core_0_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"] = (function() {
  22956. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22957. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22958. return Module["asm"]["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"].apply(null, arguments);
  22959. });
  22960. var __GLOBAL__sub_I_Runtime_Director_Core_1_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"] = (function() {
  22961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22963. return Module["asm"]["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"].apply(null, arguments);
  22964. });
  22965. var __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = Module["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"] = (function() {
  22966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22968. return Module["asm"]["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"].apply(null, arguments);
  22969. });
  22970. var __GLOBAL__sub_I_Runtime_File_0_cpp = Module["__GLOBAL__sub_I_Runtime_File_0_cpp"] = (function() {
  22971. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22972. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22973. return Module["asm"]["__GLOBAL__sub_I_Runtime_File_0_cpp"].apply(null, arguments);
  22974. });
  22975. var __GLOBAL__sub_I_Runtime_GameCode_0_cpp = Module["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"] = (function() {
  22976. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22977. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22978. return Module["asm"]["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"].apply(null, arguments);
  22979. });
  22980. var __GLOBAL__sub_I_Runtime_Geometry_1_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"] = (function() {
  22981. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22982. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22983. return Module["asm"]["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"].apply(null, arguments);
  22984. });
  22985. var __GLOBAL__sub_I_Runtime_Geometry_2_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"] = (function() {
  22986. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22987. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22988. return Module["asm"]["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"].apply(null, arguments);
  22989. });
  22990. var __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"] = (function() {
  22991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22993. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"].apply(null, arguments);
  22994. });
  22995. var __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"] = (function() {
  22996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22998. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"].apply(null, arguments);
  22999. });
  23000. var __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"] = (function() {
  23001. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23002. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23003. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"].apply(null, arguments);
  23004. });
  23005. var __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"] = (function() {
  23006. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23007. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23008. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"].apply(null, arguments);
  23009. });
  23010. var __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"] = (function() {
  23011. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23012. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23013. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"].apply(null, arguments);
  23014. });
  23015. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"] = (function() {
  23016. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23017. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23018. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"].apply(null, arguments);
  23019. });
  23020. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"] = (function() {
  23021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23023. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"].apply(null, arguments);
  23024. });
  23025. var __GLOBAL__sub_I_Runtime_Graphics_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"] = (function() {
  23026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23028. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"].apply(null, arguments);
  23029. });
  23030. var __GLOBAL__sub_I_Runtime_Graphics_10_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"] = (function() {
  23031. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23032. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23033. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"].apply(null, arguments);
  23034. });
  23035. var __GLOBAL__sub_I_Runtime_Graphics_11_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"] = (function() {
  23036. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23037. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23038. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"].apply(null, arguments);
  23039. });
  23040. var __GLOBAL__sub_I_Runtime_Graphics_12_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"] = (function() {
  23041. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23042. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23043. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"].apply(null, arguments);
  23044. });
  23045. var __GLOBAL__sub_I_Runtime_Graphics_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"] = (function() {
  23046. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23047. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23048. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"].apply(null, arguments);
  23049. });
  23050. var __GLOBAL__sub_I_Runtime_Graphics_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"] = (function() {
  23051. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23052. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23053. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"].apply(null, arguments);
  23054. });
  23055. var __GLOBAL__sub_I_Runtime_Graphics_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"] = (function() {
  23056. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23057. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23058. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"].apply(null, arguments);
  23059. });
  23060. var __GLOBAL__sub_I_Runtime_Graphics_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"] = (function() {
  23061. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23062. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23063. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"].apply(null, arguments);
  23064. });
  23065. var __GLOBAL__sub_I_Runtime_Graphics_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"] = (function() {
  23066. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23067. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23068. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"].apply(null, arguments);
  23069. });
  23070. var __GLOBAL__sub_I_Runtime_Graphics_8_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"] = (function() {
  23071. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23072. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23073. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"].apply(null, arguments);
  23074. });
  23075. var __GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"] = (function() {
  23076. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23077. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23078. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"].apply(null, arguments);
  23079. });
  23080. var __GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"] = (function() {
  23081. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23082. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23083. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"].apply(null, arguments);
  23084. });
  23085. var __GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"] = (function() {
  23086. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23087. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23088. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"].apply(null, arguments);
  23089. });
  23090. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"] = (function() {
  23091. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23092. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23093. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"].apply(null, arguments);
  23094. });
  23095. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"] = (function() {
  23096. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23097. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23098. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"].apply(null, arguments);
  23099. });
  23100. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"] = (function() {
  23101. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23102. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23103. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"].apply(null, arguments);
  23104. });
  23105. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"] = (function() {
  23106. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23107. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23108. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"].apply(null, arguments);
  23109. });
  23110. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"] = (function() {
  23111. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23112. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23113. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"].apply(null, arguments);
  23114. });
  23115. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"] = (function() {
  23116. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23117. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23118. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"].apply(null, arguments);
  23119. });
  23120. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"] = (function() {
  23121. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23122. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23123. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"].apply(null, arguments);
  23124. });
  23125. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"] = (function() {
  23126. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23127. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23128. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"].apply(null, arguments);
  23129. });
  23130. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"] = (function() {
  23131. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23132. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23133. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"].apply(null, arguments);
  23134. });
  23135. var __GLOBAL__sub_I_Runtime_Input_0_cpp = Module["__GLOBAL__sub_I_Runtime_Input_0_cpp"] = (function() {
  23136. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23137. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23138. return Module["asm"]["__GLOBAL__sub_I_Runtime_Input_0_cpp"].apply(null, arguments);
  23139. });
  23140. var __GLOBAL__sub_I_Runtime_Interfaces_0_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"] = (function() {
  23141. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23142. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23143. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"].apply(null, arguments);
  23144. });
  23145. var __GLOBAL__sub_I_Runtime_Interfaces_1_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"] = (function() {
  23146. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23147. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23148. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"].apply(null, arguments);
  23149. });
  23150. var __GLOBAL__sub_I_Runtime_Interfaces_3_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"] = (function() {
  23151. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23152. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23153. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"].apply(null, arguments);
  23154. });
  23155. var __GLOBAL__sub_I_Runtime_Jobs_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"] = (function() {
  23156. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23157. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23158. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"].apply(null, arguments);
  23159. });
  23160. var __GLOBAL__sub_I_Runtime_Jobs_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"] = (function() {
  23161. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23162. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23163. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"].apply(null, arguments);
  23164. });
  23165. var __GLOBAL__sub_I_Runtime_Jobs_2_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"] = (function() {
  23166. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23167. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23168. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"].apply(null, arguments);
  23169. });
  23170. var __GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"] = (function() {
  23171. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23172. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23173. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"].apply(null, arguments);
  23174. });
  23175. var __GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"] = (function() {
  23176. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23177. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23178. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"].apply(null, arguments);
  23179. });
  23180. var __GLOBAL__sub_I_Runtime_Math_2_cpp = Module["__GLOBAL__sub_I_Runtime_Math_2_cpp"] = (function() {
  23181. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23182. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23183. return Module["asm"]["__GLOBAL__sub_I_Runtime_Math_2_cpp"].apply(null, arguments);
  23184. });
  23185. var __GLOBAL__sub_I_Runtime_Math_Random_0_cpp = Module["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"] = (function() {
  23186. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23187. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23188. return Module["asm"]["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"].apply(null, arguments);
  23189. });
  23190. var __GLOBAL__sub_I_Runtime_Misc_0_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_0_cpp"] = (function() {
  23191. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23192. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23193. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_0_cpp"].apply(null, arguments);
  23194. });
  23195. var __GLOBAL__sub_I_Runtime_Misc_1_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_1_cpp"] = (function() {
  23196. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23197. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23198. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_1_cpp"].apply(null, arguments);
  23199. });
  23200. var __GLOBAL__sub_I_Runtime_Misc_2_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_2_cpp"] = (function() {
  23201. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23202. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23203. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_2_cpp"].apply(null, arguments);
  23204. });
  23205. var __GLOBAL__sub_I_Runtime_Misc_3_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_3_cpp"] = (function() {
  23206. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23207. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23208. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_3_cpp"].apply(null, arguments);
  23209. });
  23210. var __GLOBAL__sub_I_Runtime_Misc_4_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_4_cpp"] = (function() {
  23211. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23212. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23213. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_4_cpp"].apply(null, arguments);
  23214. });
  23215. var __GLOBAL__sub_I_Runtime_Misc_5_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_5_cpp"] = (function() {
  23216. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23217. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23218. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_5_cpp"].apply(null, arguments);
  23219. });
  23220. var __GLOBAL__sub_I_Runtime_Modules_0_cpp = Module["__GLOBAL__sub_I_Runtime_Modules_0_cpp"] = (function() {
  23221. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23222. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23223. return Module["asm"]["__GLOBAL__sub_I_Runtime_Modules_0_cpp"].apply(null, arguments);
  23224. });
  23225. var __GLOBAL__sub_I_Runtime_Mono_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_0_cpp"] = (function() {
  23226. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23227. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23228. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_0_cpp"].apply(null, arguments);
  23229. });
  23230. var __GLOBAL__sub_I_Runtime_Mono_2_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_2_cpp"] = (function() {
  23231. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23232. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23233. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_2_cpp"].apply(null, arguments);
  23234. });
  23235. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"] = (function() {
  23236. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23237. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23238. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"].apply(null, arguments);
  23239. });
  23240. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"] = (function() {
  23241. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23242. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23243. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"].apply(null, arguments);
  23244. });
  23245. var __GLOBAL__sub_I_Runtime_Network_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_0_cpp"] = (function() {
  23246. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23247. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23248. return Module["asm"]["__GLOBAL__sub_I_Runtime_Network_0_cpp"].apply(null, arguments);
  23249. });
  23250. var __GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"] = (function() {
  23251. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23252. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23253. return Module["asm"]["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"].apply(null, arguments);
  23254. });
  23255. var __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = Module["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"] = (function() {
  23256. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23257. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23258. return Module["asm"]["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"].apply(null, arguments);
  23259. });
  23260. var __GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"] = (function() {
  23261. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23262. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23263. return Module["asm"]["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"].apply(null, arguments);
  23264. });
  23265. var __GLOBAL__sub_I_Runtime_Profiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"] = (function() {
  23266. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23267. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23268. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"].apply(null, arguments);
  23269. });
  23270. var __GLOBAL__sub_I_Runtime_Profiler_1_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"] = (function() {
  23271. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23272. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23273. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"].apply(null, arguments);
  23274. });
  23275. var __GLOBAL__sub_I_Runtime_Profiler_2_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"] = (function() {
  23276. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23277. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23278. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"].apply(null, arguments);
  23279. });
  23280. var __GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"] = (function() {
  23281. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23282. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23283. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"].apply(null, arguments);
  23284. });
  23285. var __GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"] = (function() {
  23286. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23287. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23288. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"].apply(null, arguments);
  23289. });
  23290. var __GLOBAL__sub_I_Runtime_SceneManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"] = (function() {
  23291. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23292. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23293. return Module["asm"]["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"].apply(null, arguments);
  23294. });
  23295. var __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = Module["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"] = (function() {
  23296. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23297. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23298. return Module["asm"]["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"].apply(null, arguments);
  23299. });
  23300. var __GLOBAL__sub_I_Runtime_Scripting_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"] = (function() {
  23301. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23302. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23303. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"].apply(null, arguments);
  23304. });
  23305. var __GLOBAL__sub_I_Runtime_Scripting_2_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"] = (function() {
  23306. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23307. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23308. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"].apply(null, arguments);
  23309. });
  23310. var __GLOBAL__sub_I_Runtime_Scripting_3_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"] = (function() {
  23311. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23312. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23313. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"].apply(null, arguments);
  23314. });
  23315. var __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"] = (function() {
  23316. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23317. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23318. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"].apply(null, arguments);
  23319. });
  23320. var __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"] = (function() {
  23321. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23322. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23323. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"].apply(null, arguments);
  23324. });
  23325. var __GLOBAL__sub_I_Runtime_Serialize_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"] = (function() {
  23326. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23327. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23328. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"].apply(null, arguments);
  23329. });
  23330. var __GLOBAL__sub_I_Runtime_Serialize_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"] = (function() {
  23331. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23332. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23333. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"].apply(null, arguments);
  23334. });
  23335. var __GLOBAL__sub_I_Runtime_Serialize_2_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"] = (function() {
  23336. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23337. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23338. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"].apply(null, arguments);
  23339. });
  23340. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"] = (function() {
  23341. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23342. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23343. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"].apply(null, arguments);
  23344. });
  23345. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"] = (function() {
  23346. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23347. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23348. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"].apply(null, arguments);
  23349. });
  23350. var __GLOBAL__sub_I_Runtime_Shaders_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"] = (function() {
  23351. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23352. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23353. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"].apply(null, arguments);
  23354. });
  23355. var __GLOBAL__sub_I_Runtime_Shaders_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"] = (function() {
  23356. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23357. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23358. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"].apply(null, arguments);
  23359. });
  23360. var __GLOBAL__sub_I_Runtime_Shaders_4_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"] = (function() {
  23361. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23362. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23363. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"].apply(null, arguments);
  23364. });
  23365. var __GLOBAL__sub_I_Runtime_Shaders_5_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"] = (function() {
  23366. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23367. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23368. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"].apply(null, arguments);
  23369. });
  23370. var __GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"] = (function() {
  23371. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23372. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23373. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"].apply(null, arguments);
  23374. });
  23375. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"] = (function() {
  23376. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23377. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23378. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"].apply(null, arguments);
  23379. });
  23380. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"] = (function() {
  23381. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23382. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23383. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"].apply(null, arguments);
  23384. });
  23385. var __GLOBAL__sub_I_Runtime_Streaming_0_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"] = (function() {
  23386. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23387. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23388. return Module["asm"]["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"].apply(null, arguments);
  23389. });
  23390. var __GLOBAL__sub_I_Runtime_Streaming_1_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"] = (function() {
  23391. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23392. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23393. return Module["asm"]["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"].apply(null, arguments);
  23394. });
  23395. var __GLOBAL__sub_I_Runtime_Transform_0_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_0_cpp"] = (function() {
  23396. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23397. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23398. return Module["asm"]["__GLOBAL__sub_I_Runtime_Transform_0_cpp"].apply(null, arguments);
  23399. });
  23400. var __GLOBAL__sub_I_Runtime_Transform_1_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_1_cpp"] = (function() {
  23401. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23402. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23403. return Module["asm"]["__GLOBAL__sub_I_Runtime_Transform_1_cpp"].apply(null, arguments);
  23404. });
  23405. var __GLOBAL__sub_I_Runtime_Utilities_2_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"] = (function() {
  23406. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23407. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23408. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"].apply(null, arguments);
  23409. });
  23410. var __GLOBAL__sub_I_Runtime_Utilities_5_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"] = (function() {
  23411. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23412. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23413. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"].apply(null, arguments);
  23414. });
  23415. var __GLOBAL__sub_I_Runtime_Utilities_6_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"] = (function() {
  23416. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23417. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23418. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"].apply(null, arguments);
  23419. });
  23420. var __GLOBAL__sub_I_Runtime_Utilities_7_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"] = (function() {
  23421. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23422. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23423. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"].apply(null, arguments);
  23424. });
  23425. var __GLOBAL__sub_I_Runtime_Utilities_8_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"] = (function() {
  23426. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23427. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23428. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"].apply(null, arguments);
  23429. });
  23430. var __GLOBAL__sub_I_Runtime_Utilities_9_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"] = (function() {
  23431. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23432. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23433. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"].apply(null, arguments);
  23434. });
  23435. var __GLOBAL__sub_I_Runtime_Video_0_cpp = Module["__GLOBAL__sub_I_Runtime_Video_0_cpp"] = (function() {
  23436. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23437. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23438. return Module["asm"]["__GLOBAL__sub_I_Runtime_Video_0_cpp"].apply(null, arguments);
  23439. });
  23440. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"] = (function() {
  23441. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23442. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23443. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"].apply(null, arguments);
  23444. });
  23445. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"] = (function() {
  23446. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23447. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23448. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"].apply(null, arguments);
  23449. });
  23450. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"] = (function() {
  23451. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23452. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23453. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"].apply(null, arguments);
  23454. });
  23455. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"] = (function() {
  23456. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23457. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23458. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"].apply(null, arguments);
  23459. });
  23460. var __GLOBAL__sub_I_Shader_cpp = Module["__GLOBAL__sub_I_Shader_cpp"] = (function() {
  23461. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23462. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23463. return Module["asm"]["__GLOBAL__sub_I_Shader_cpp"].apply(null, arguments);
  23464. });
  23465. var __GLOBAL__sub_I_Shadows_cpp = Module["__GLOBAL__sub_I_Shadows_cpp"] = (function() {
  23466. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23467. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23468. return Module["asm"]["__GLOBAL__sub_I_Shadows_cpp"].apply(null, arguments);
  23469. });
  23470. var __GLOBAL__sub_I_ShapeModule_cpp = Module["__GLOBAL__sub_I_ShapeModule_cpp"] = (function() {
  23471. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23472. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23473. return Module["asm"]["__GLOBAL__sub_I_ShapeModule_cpp"].apply(null, arguments);
  23474. });
  23475. var __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = Module["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"] = (function() {
  23476. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23477. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23478. return Module["asm"]["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"].apply(null, arguments);
  23479. });
  23480. var __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = Module["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"] = (function() {
  23481. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23482. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23483. return Module["asm"]["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"].apply(null, arguments);
  23484. });
  23485. var __GLOBAL__sub_I_SwInterCollision_cpp = Module["__GLOBAL__sub_I_SwInterCollision_cpp"] = (function() {
  23486. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23487. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23488. return Module["asm"]["__GLOBAL__sub_I_SwInterCollision_cpp"].apply(null, arguments);
  23489. });
  23490. var __GLOBAL__sub_I_SwSolverKernel_cpp = Module["__GLOBAL__sub_I_SwSolverKernel_cpp"] = (function() {
  23491. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23492. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23493. return Module["asm"]["__GLOBAL__sub_I_SwSolverKernel_cpp"].apply(null, arguments);
  23494. });
  23495. var __GLOBAL__sub_I_TemplateInstantiations_cpp = Module["__GLOBAL__sub_I_TemplateInstantiations_cpp"] = (function() {
  23496. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23497. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23498. return Module["asm"]["__GLOBAL__sub_I_TemplateInstantiations_cpp"].apply(null, arguments);
  23499. });
  23500. var __GLOBAL__sub_I_TerrainScriptingClasses_cpp = Module["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"] = (function() {
  23501. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23502. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23503. return Module["asm"]["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"].apply(null, arguments);
  23504. });
  23505. var __GLOBAL__sub_I_TextCoreScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"] = (function() {
  23506. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23507. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23508. return Module["asm"]["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"].apply(null, arguments);
  23509. });
  23510. var __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"] = (function() {
  23511. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23512. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23513. return Module["asm"]["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"].apply(null, arguments);
  23514. });
  23515. var __GLOBAL__sub_I_TilemapScriptingClasses_cpp = Module["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"] = (function() {
  23516. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23517. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23518. return Module["asm"]["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"].apply(null, arguments);
  23519. });
  23520. var __GLOBAL__sub_I_TrailRenderer_cpp = Module["__GLOBAL__sub_I_TrailRenderer_cpp"] = (function() {
  23521. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23522. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23523. return Module["asm"]["__GLOBAL__sub_I_TrailRenderer_cpp"].apply(null, arguments);
  23524. });
  23525. var __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"] = (function() {
  23526. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23527. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23528. return Module["asm"]["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"].apply(null, arguments);
  23529. });
  23530. var __GLOBAL__sub_I_UIScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIScriptingClasses_cpp"] = (function() {
  23531. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23532. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23533. return Module["asm"]["__GLOBAL__sub_I_UIScriptingClasses_cpp"].apply(null, arguments);
  23534. });
  23535. var __GLOBAL__sub_I_UVModule_cpp = Module["__GLOBAL__sub_I_UVModule_cpp"] = (function() {
  23536. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23537. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23538. return Module["asm"]["__GLOBAL__sub_I_UVModule_cpp"].apply(null, arguments);
  23539. });
  23540. var __GLOBAL__sub_I_UnityAdsSettings_cpp = Module["__GLOBAL__sub_I_UnityAdsSettings_cpp"] = (function() {
  23541. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23542. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23543. return Module["asm"]["__GLOBAL__sub_I_UnityAdsSettings_cpp"].apply(null, arguments);
  23544. });
  23545. var __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"] = (function() {
  23546. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23547. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23548. return Module["asm"]["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"].apply(null, arguments);
  23549. });
  23550. var __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"] = (function() {
  23551. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23552. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23553. return Module["asm"]["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"].apply(null, arguments);
  23554. });
  23555. var __GLOBAL__sub_I_VFXScriptingClasses_cpp = Module["__GLOBAL__sub_I_VFXScriptingClasses_cpp"] = (function() {
  23556. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23557. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23558. return Module["asm"]["__GLOBAL__sub_I_VFXScriptingClasses_cpp"].apply(null, arguments);
  23559. });
  23560. var __GLOBAL__sub_I_VRScriptingClasses_cpp = Module["__GLOBAL__sub_I_VRScriptingClasses_cpp"] = (function() {
  23561. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23562. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23563. return Module["asm"]["__GLOBAL__sub_I_VRScriptingClasses_cpp"].apply(null, arguments);
  23564. });
  23565. var __GLOBAL__sub_I_VelocityModule_cpp = Module["__GLOBAL__sub_I_VelocityModule_cpp"] = (function() {
  23566. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23567. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23568. return Module["asm"]["__GLOBAL__sub_I_VelocityModule_cpp"].apply(null, arguments);
  23569. });
  23570. var __GLOBAL__sub_I_VideoMediaOutput_cpp = Module["__GLOBAL__sub_I_VideoMediaOutput_cpp"] = (function() {
  23571. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23572. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23573. return Module["asm"]["__GLOBAL__sub_I_VideoMediaOutput_cpp"].apply(null, arguments);
  23574. });
  23575. var __GLOBAL__sub_I_VideoScriptingClasses_cpp = Module["__GLOBAL__sub_I_VideoScriptingClasses_cpp"] = (function() {
  23576. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23577. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23578. return Module["asm"]["__GLOBAL__sub_I_VideoScriptingClasses_cpp"].apply(null, arguments);
  23579. });
  23580. var __GLOBAL__sub_I_VideoYUV420Convert_cpp = Module["__GLOBAL__sub_I_VideoYUV420Convert_cpp"] = (function() {
  23581. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23582. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23583. return Module["asm"]["__GLOBAL__sub_I_VideoYUV420Convert_cpp"].apply(null, arguments);
  23584. });
  23585. var __GLOBAL__sub_I_VisualEffectAsset_cpp = Module["__GLOBAL__sub_I_VisualEffectAsset_cpp"] = (function() {
  23586. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23587. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23588. return Module["asm"]["__GLOBAL__sub_I_VisualEffectAsset_cpp"].apply(null, arguments);
  23589. });
  23590. var __GLOBAL__sub_I_Wind_cpp = Module["__GLOBAL__sub_I_Wind_cpp"] = (function() {
  23591. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23592. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23593. return Module["asm"]["__GLOBAL__sub_I_Wind_cpp"].apply(null, arguments);
  23594. });
  23595. var __GLOBAL__sub_I_XRAudio_cpp = Module["__GLOBAL__sub_I_XRAudio_cpp"] = (function() {
  23596. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23597. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23598. return Module["asm"]["__GLOBAL__sub_I_XRAudio_cpp"].apply(null, arguments);
  23599. });
  23600. var __GLOBAL__sub_I_XRPreInit_cpp = Module["__GLOBAL__sub_I_XRPreInit_cpp"] = (function() {
  23601. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23602. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23603. return Module["asm"]["__GLOBAL__sub_I_XRPreInit_cpp"].apply(null, arguments);
  23604. });
  23605. var __GLOBAL__sub_I_XRScriptingClasses_cpp = Module["__GLOBAL__sub_I_XRScriptingClasses_cpp"] = (function() {
  23606. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23607. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23608. return Module["asm"]["__GLOBAL__sub_I_XRScriptingClasses_cpp"].apply(null, arguments);
  23609. });
  23610. var __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = Module["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"] = (function() {
  23611. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23612. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23613. return Module["asm"]["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"].apply(null, arguments);
  23614. });
  23615. var __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = Module["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"] = (function() {
  23616. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23617. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23618. return Module["asm"]["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"].apply(null, arguments);
  23619. });
  23620. var __GLOBAL__sub_I_clipmuscle_cpp = Module["__GLOBAL__sub_I_clipmuscle_cpp"] = (function() {
  23621. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23622. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23623. return Module["asm"]["__GLOBAL__sub_I_clipmuscle_cpp"].apply(null, arguments);
  23624. });
  23625. var __GLOBAL__sub_I_nvcloth_src_0_cpp = Module["__GLOBAL__sub_I_nvcloth_src_0_cpp"] = (function() {
  23626. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23627. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23628. return Module["asm"]["__GLOBAL__sub_I_nvcloth_src_0_cpp"].apply(null, arguments);
  23629. });
  23630. var __GLOBAL__sub_I_nvcloth_src_1_cpp = Module["__GLOBAL__sub_I_nvcloth_src_1_cpp"] = (function() {
  23631. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23632. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23633. return Module["asm"]["__GLOBAL__sub_I_nvcloth_src_1_cpp"].apply(null, arguments);
  23634. });
  23635. var __GLOBAL__sub_I_umbra_cpp = Module["__GLOBAL__sub_I_umbra_cpp"] = (function() {
  23636. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23637. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23638. return Module["asm"]["__GLOBAL__sub_I_umbra_cpp"].apply(null, arguments);
  23639. });
  23640. var ___cxa_can_catch = Module["___cxa_can_catch"] = (function() {
  23641. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23642. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23643. return Module["asm"]["___cxa_can_catch"].apply(null, arguments);
  23644. });
  23645. var ___cxa_demangle = Module["___cxa_demangle"] = (function() {
  23646. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23647. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23648. return Module["asm"]["___cxa_demangle"].apply(null, arguments);
  23649. });
  23650. var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = (function() {
  23651. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23652. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23653. return Module["asm"]["___cxa_is_pointer_type"].apply(null, arguments);
  23654. });
  23655. var ___cxx_global_var_init_10 = Module["___cxx_global_var_init_10"] = (function() {
  23656. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23657. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23658. return Module["asm"]["___cxx_global_var_init_10"].apply(null, arguments);
  23659. });
  23660. var ___cxx_global_var_init_104 = Module["___cxx_global_var_init_104"] = (function() {
  23661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23663. return Module["asm"]["___cxx_global_var_init_104"].apply(null, arguments);
  23664. });
  23665. var ___cxx_global_var_init_105 = Module["___cxx_global_var_init_105"] = (function() {
  23666. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23667. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23668. return Module["asm"]["___cxx_global_var_init_105"].apply(null, arguments);
  23669. });
  23670. var ___cxx_global_var_init_10873 = Module["___cxx_global_var_init_10873"] = (function() {
  23671. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23672. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23673. return Module["asm"]["___cxx_global_var_init_10873"].apply(null, arguments);
  23674. });
  23675. var ___cxx_global_var_init_10_8116 = Module["___cxx_global_var_init_10_8116"] = (function() {
  23676. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23677. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23678. return Module["asm"]["___cxx_global_var_init_10_8116"].apply(null, arguments);
  23679. });
  23680. var ___cxx_global_var_init_10_9837 = Module["___cxx_global_var_init_10_9837"] = (function() {
  23681. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23682. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23683. return Module["asm"]["___cxx_global_var_init_10_9837"].apply(null, arguments);
  23684. });
  23685. var ___cxx_global_var_init_11 = Module["___cxx_global_var_init_11"] = (function() {
  23686. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23687. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23688. return Module["asm"]["___cxx_global_var_init_11"].apply(null, arguments);
  23689. });
  23690. var ___cxx_global_var_init_110 = Module["___cxx_global_var_init_110"] = (function() {
  23691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23693. return Module["asm"]["___cxx_global_var_init_110"].apply(null, arguments);
  23694. });
  23695. var ___cxx_global_var_init_111 = Module["___cxx_global_var_init_111"] = (function() {
  23696. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23697. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23698. return Module["asm"]["___cxx_global_var_init_111"].apply(null, arguments);
  23699. });
  23700. var ___cxx_global_var_init_112 = Module["___cxx_global_var_init_112"] = (function() {
  23701. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23702. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23703. return Module["asm"]["___cxx_global_var_init_112"].apply(null, arguments);
  23704. });
  23705. var ___cxx_global_var_init_113 = Module["___cxx_global_var_init_113"] = (function() {
  23706. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23707. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23708. return Module["asm"]["___cxx_global_var_init_113"].apply(null, arguments);
  23709. });
  23710. var ___cxx_global_var_init_114 = Module["___cxx_global_var_init_114"] = (function() {
  23711. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23712. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23713. return Module["asm"]["___cxx_global_var_init_114"].apply(null, arguments);
  23714. });
  23715. var ___cxx_global_var_init_11_8117 = Module["___cxx_global_var_init_11_8117"] = (function() {
  23716. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23717. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23718. return Module["asm"]["___cxx_global_var_init_11_8117"].apply(null, arguments);
  23719. });
  23720. var ___cxx_global_var_init_12 = Module["___cxx_global_var_init_12"] = (function() {
  23721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23723. return Module["asm"]["___cxx_global_var_init_12"].apply(null, arguments);
  23724. });
  23725. var ___cxx_global_var_init_12_8118 = Module["___cxx_global_var_init_12_8118"] = (function() {
  23726. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23727. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23728. return Module["asm"]["___cxx_global_var_init_12_8118"].apply(null, arguments);
  23729. });
  23730. var ___cxx_global_var_init_136 = Module["___cxx_global_var_init_136"] = (function() {
  23731. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23732. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23733. return Module["asm"]["___cxx_global_var_init_136"].apply(null, arguments);
  23734. });
  23735. var ___cxx_global_var_init_137 = Module["___cxx_global_var_init_137"] = (function() {
  23736. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23737. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23738. return Module["asm"]["___cxx_global_var_init_137"].apply(null, arguments);
  23739. });
  23740. var ___cxx_global_var_init_145 = Module["___cxx_global_var_init_145"] = (function() {
  23741. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23742. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23743. return Module["asm"]["___cxx_global_var_init_145"].apply(null, arguments);
  23744. });
  23745. var ___cxx_global_var_init_146 = Module["___cxx_global_var_init_146"] = (function() {
  23746. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23747. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23748. return Module["asm"]["___cxx_global_var_init_146"].apply(null, arguments);
  23749. });
  23750. var ___cxx_global_var_init_15 = Module["___cxx_global_var_init_15"] = (function() {
  23751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23753. return Module["asm"]["___cxx_global_var_init_15"].apply(null, arguments);
  23754. });
  23755. var ___cxx_global_var_init_155 = Module["___cxx_global_var_init_155"] = (function() {
  23756. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23757. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23758. return Module["asm"]["___cxx_global_var_init_155"].apply(null, arguments);
  23759. });
  23760. var ___cxx_global_var_init_164 = Module["___cxx_global_var_init_164"] = (function() {
  23761. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23762. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23763. return Module["asm"]["___cxx_global_var_init_164"].apply(null, arguments);
  23764. });
  23765. var ___cxx_global_var_init_17 = Module["___cxx_global_var_init_17"] = (function() {
  23766. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23767. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23768. return Module["asm"]["___cxx_global_var_init_17"].apply(null, arguments);
  23769. });
  23770. var ___cxx_global_var_init_17017 = Module["___cxx_global_var_init_17017"] = (function() {
  23771. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23772. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23773. return Module["asm"]["___cxx_global_var_init_17017"].apply(null, arguments);
  23774. });
  23775. var ___cxx_global_var_init_171 = Module["___cxx_global_var_init_171"] = (function() {
  23776. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23777. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23778. return Module["asm"]["___cxx_global_var_init_171"].apply(null, arguments);
  23779. });
  23780. var ___cxx_global_var_init_172 = Module["___cxx_global_var_init_172"] = (function() {
  23781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23783. return Module["asm"]["___cxx_global_var_init_172"].apply(null, arguments);
  23784. });
  23785. var ___cxx_global_var_init_173 = Module["___cxx_global_var_init_173"] = (function() {
  23786. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23787. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23788. return Module["asm"]["___cxx_global_var_init_173"].apply(null, arguments);
  23789. });
  23790. var ___cxx_global_var_init_174 = Module["___cxx_global_var_init_174"] = (function() {
  23791. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23792. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23793. return Module["asm"]["___cxx_global_var_init_174"].apply(null, arguments);
  23794. });
  23795. var ___cxx_global_var_init_175 = Module["___cxx_global_var_init_175"] = (function() {
  23796. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23797. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23798. return Module["asm"]["___cxx_global_var_init_175"].apply(null, arguments);
  23799. });
  23800. var ___cxx_global_var_init_176 = Module["___cxx_global_var_init_176"] = (function() {
  23801. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23802. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23803. return Module["asm"]["___cxx_global_var_init_176"].apply(null, arguments);
  23804. });
  23805. var ___cxx_global_var_init_177 = Module["___cxx_global_var_init_177"] = (function() {
  23806. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23807. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23808. return Module["asm"]["___cxx_global_var_init_177"].apply(null, arguments);
  23809. });
  23810. var ___cxx_global_var_init_178 = Module["___cxx_global_var_init_178"] = (function() {
  23811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23813. return Module["asm"]["___cxx_global_var_init_178"].apply(null, arguments);
  23814. });
  23815. var ___cxx_global_var_init_179 = Module["___cxx_global_var_init_179"] = (function() {
  23816. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23817. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23818. return Module["asm"]["___cxx_global_var_init_179"].apply(null, arguments);
  23819. });
  23820. var ___cxx_global_var_init_18 = Module["___cxx_global_var_init_18"] = (function() {
  23821. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23822. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23823. return Module["asm"]["___cxx_global_var_init_18"].apply(null, arguments);
  23824. });
  23825. var ___cxx_global_var_init_180 = Module["___cxx_global_var_init_180"] = (function() {
  23826. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23827. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23828. return Module["asm"]["___cxx_global_var_init_180"].apply(null, arguments);
  23829. });
  23830. var ___cxx_global_var_init_181 = Module["___cxx_global_var_init_181"] = (function() {
  23831. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23832. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23833. return Module["asm"]["___cxx_global_var_init_181"].apply(null, arguments);
  23834. });
  23835. var ___cxx_global_var_init_182 = Module["___cxx_global_var_init_182"] = (function() {
  23836. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23837. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23838. return Module["asm"]["___cxx_global_var_init_182"].apply(null, arguments);
  23839. });
  23840. var ___cxx_global_var_init_183 = Module["___cxx_global_var_init_183"] = (function() {
  23841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23843. return Module["asm"]["___cxx_global_var_init_183"].apply(null, arguments);
  23844. });
  23845. var ___cxx_global_var_init_184 = Module["___cxx_global_var_init_184"] = (function() {
  23846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23848. return Module["asm"]["___cxx_global_var_init_184"].apply(null, arguments);
  23849. });
  23850. var ___cxx_global_var_init_185 = Module["___cxx_global_var_init_185"] = (function() {
  23851. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23852. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23853. return Module["asm"]["___cxx_global_var_init_185"].apply(null, arguments);
  23854. });
  23855. var ___cxx_global_var_init_186 = Module["___cxx_global_var_init_186"] = (function() {
  23856. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23857. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23858. return Module["asm"]["___cxx_global_var_init_186"].apply(null, arguments);
  23859. });
  23860. var ___cxx_global_var_init_187 = Module["___cxx_global_var_init_187"] = (function() {
  23861. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23862. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23863. return Module["asm"]["___cxx_global_var_init_187"].apply(null, arguments);
  23864. });
  23865. var ___cxx_global_var_init_188 = Module["___cxx_global_var_init_188"] = (function() {
  23866. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23867. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23868. return Module["asm"]["___cxx_global_var_init_188"].apply(null, arguments);
  23869. });
  23870. var ___cxx_global_var_init_189 = Module["___cxx_global_var_init_189"] = (function() {
  23871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23873. return Module["asm"]["___cxx_global_var_init_189"].apply(null, arguments);
  23874. });
  23875. var ___cxx_global_var_init_19 = Module["___cxx_global_var_init_19"] = (function() {
  23876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23878. return Module["asm"]["___cxx_global_var_init_19"].apply(null, arguments);
  23879. });
  23880. var ___cxx_global_var_init_190 = Module["___cxx_global_var_init_190"] = (function() {
  23881. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23882. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23883. return Module["asm"]["___cxx_global_var_init_190"].apply(null, arguments);
  23884. });
  23885. var ___cxx_global_var_init_191 = Module["___cxx_global_var_init_191"] = (function() {
  23886. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23887. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23888. return Module["asm"]["___cxx_global_var_init_191"].apply(null, arguments);
  23889. });
  23890. var ___cxx_global_var_init_192 = Module["___cxx_global_var_init_192"] = (function() {
  23891. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23892. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23893. return Module["asm"]["___cxx_global_var_init_192"].apply(null, arguments);
  23894. });
  23895. var ___cxx_global_var_init_192_8351 = Module["___cxx_global_var_init_192_8351"] = (function() {
  23896. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23897. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23898. return Module["asm"]["___cxx_global_var_init_192_8351"].apply(null, arguments);
  23899. });
  23900. var ___cxx_global_var_init_193 = Module["___cxx_global_var_init_193"] = (function() {
  23901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23903. return Module["asm"]["___cxx_global_var_init_193"].apply(null, arguments);
  23904. });
  23905. var ___cxx_global_var_init_193_8352 = Module["___cxx_global_var_init_193_8352"] = (function() {
  23906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23908. return Module["asm"]["___cxx_global_var_init_193_8352"].apply(null, arguments);
  23909. });
  23910. var ___cxx_global_var_init_194 = Module["___cxx_global_var_init_194"] = (function() {
  23911. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23912. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23913. return Module["asm"]["___cxx_global_var_init_194"].apply(null, arguments);
  23914. });
  23915. var ___cxx_global_var_init_194_8353 = Module["___cxx_global_var_init_194_8353"] = (function() {
  23916. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23917. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23918. return Module["asm"]["___cxx_global_var_init_194_8353"].apply(null, arguments);
  23919. });
  23920. var ___cxx_global_var_init_195 = Module["___cxx_global_var_init_195"] = (function() {
  23921. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23922. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23923. return Module["asm"]["___cxx_global_var_init_195"].apply(null, arguments);
  23924. });
  23925. var ___cxx_global_var_init_195_8354 = Module["___cxx_global_var_init_195_8354"] = (function() {
  23926. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23927. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23928. return Module["asm"]["___cxx_global_var_init_195_8354"].apply(null, arguments);
  23929. });
  23930. var ___cxx_global_var_init_196 = Module["___cxx_global_var_init_196"] = (function() {
  23931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23933. return Module["asm"]["___cxx_global_var_init_196"].apply(null, arguments);
  23934. });
  23935. var ___cxx_global_var_init_196_8355 = Module["___cxx_global_var_init_196_8355"] = (function() {
  23936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23938. return Module["asm"]["___cxx_global_var_init_196_8355"].apply(null, arguments);
  23939. });
  23940. var ___cxx_global_var_init_197 = Module["___cxx_global_var_init_197"] = (function() {
  23941. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23942. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23943. return Module["asm"]["___cxx_global_var_init_197"].apply(null, arguments);
  23944. });
  23945. var ___cxx_global_var_init_197_8356 = Module["___cxx_global_var_init_197_8356"] = (function() {
  23946. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23947. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23948. return Module["asm"]["___cxx_global_var_init_197_8356"].apply(null, arguments);
  23949. });
  23950. var ___cxx_global_var_init_198 = Module["___cxx_global_var_init_198"] = (function() {
  23951. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23952. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23953. return Module["asm"]["___cxx_global_var_init_198"].apply(null, arguments);
  23954. });
  23955. var ___cxx_global_var_init_198_8357 = Module["___cxx_global_var_init_198_8357"] = (function() {
  23956. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23957. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23958. return Module["asm"]["___cxx_global_var_init_198_8357"].apply(null, arguments);
  23959. });
  23960. var ___cxx_global_var_init_199 = Module["___cxx_global_var_init_199"] = (function() {
  23961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23963. return Module["asm"]["___cxx_global_var_init_199"].apply(null, arguments);
  23964. });
  23965. var ___cxx_global_var_init_199_1314 = Module["___cxx_global_var_init_199_1314"] = (function() {
  23966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23968. return Module["asm"]["___cxx_global_var_init_199_1314"].apply(null, arguments);
  23969. });
  23970. var ___cxx_global_var_init_1_7210 = Module["___cxx_global_var_init_1_7210"] = (function() {
  23971. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23972. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23973. return Module["asm"]["___cxx_global_var_init_1_7210"].apply(null, arguments);
  23974. });
  23975. var ___cxx_global_var_init_1_9482 = Module["___cxx_global_var_init_1_9482"] = (function() {
  23976. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23977. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23978. return Module["asm"]["___cxx_global_var_init_1_9482"].apply(null, arguments);
  23979. });
  23980. var ___cxx_global_var_init_20 = Module["___cxx_global_var_init_20"] = (function() {
  23981. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23982. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23983. return Module["asm"]["___cxx_global_var_init_20"].apply(null, arguments);
  23984. });
  23985. var ___cxx_global_var_init_200 = Module["___cxx_global_var_init_200"] = (function() {
  23986. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23987. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23988. return Module["asm"]["___cxx_global_var_init_200"].apply(null, arguments);
  23989. });
  23990. var ___cxx_global_var_init_201 = Module["___cxx_global_var_init_201"] = (function() {
  23991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23993. return Module["asm"]["___cxx_global_var_init_201"].apply(null, arguments);
  23994. });
  23995. var ___cxx_global_var_init_202 = Module["___cxx_global_var_init_202"] = (function() {
  23996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23998. return Module["asm"]["___cxx_global_var_init_202"].apply(null, arguments);
  23999. });
  24000. var ___cxx_global_var_init_203 = Module["___cxx_global_var_init_203"] = (function() {
  24001. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24002. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24003. return Module["asm"]["___cxx_global_var_init_203"].apply(null, arguments);
  24004. });
  24005. var ___cxx_global_var_init_204 = Module["___cxx_global_var_init_204"] = (function() {
  24006. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24007. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24008. return Module["asm"]["___cxx_global_var_init_204"].apply(null, arguments);
  24009. });
  24010. var ___cxx_global_var_init_205 = Module["___cxx_global_var_init_205"] = (function() {
  24011. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24012. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24013. return Module["asm"]["___cxx_global_var_init_205"].apply(null, arguments);
  24014. });
  24015. var ___cxx_global_var_init_206 = Module["___cxx_global_var_init_206"] = (function() {
  24016. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24017. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24018. return Module["asm"]["___cxx_global_var_init_206"].apply(null, arguments);
  24019. });
  24020. var ___cxx_global_var_init_207 = Module["___cxx_global_var_init_207"] = (function() {
  24021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24023. return Module["asm"]["___cxx_global_var_init_207"].apply(null, arguments);
  24024. });
  24025. var ___cxx_global_var_init_208 = Module["___cxx_global_var_init_208"] = (function() {
  24026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24028. return Module["asm"]["___cxx_global_var_init_208"].apply(null, arguments);
  24029. });
  24030. var ___cxx_global_var_init_209 = Module["___cxx_global_var_init_209"] = (function() {
  24031. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24032. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24033. return Module["asm"]["___cxx_global_var_init_209"].apply(null, arguments);
  24034. });
  24035. var ___cxx_global_var_init_21 = Module["___cxx_global_var_init_21"] = (function() {
  24036. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24037. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24038. return Module["asm"]["___cxx_global_var_init_21"].apply(null, arguments);
  24039. });
  24040. var ___cxx_global_var_init_210 = Module["___cxx_global_var_init_210"] = (function() {
  24041. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24042. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24043. return Module["asm"]["___cxx_global_var_init_210"].apply(null, arguments);
  24044. });
  24045. var ___cxx_global_var_init_210_8358 = Module["___cxx_global_var_init_210_8358"] = (function() {
  24046. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24047. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24048. return Module["asm"]["___cxx_global_var_init_210_8358"].apply(null, arguments);
  24049. });
  24050. var ___cxx_global_var_init_211 = Module["___cxx_global_var_init_211"] = (function() {
  24051. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24052. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24053. return Module["asm"]["___cxx_global_var_init_211"].apply(null, arguments);
  24054. });
  24055. var ___cxx_global_var_init_211_8359 = Module["___cxx_global_var_init_211_8359"] = (function() {
  24056. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24057. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24058. return Module["asm"]["___cxx_global_var_init_211_8359"].apply(null, arguments);
  24059. });
  24060. var ___cxx_global_var_init_212 = Module["___cxx_global_var_init_212"] = (function() {
  24061. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24062. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24063. return Module["asm"]["___cxx_global_var_init_212"].apply(null, arguments);
  24064. });
  24065. var ___cxx_global_var_init_213 = Module["___cxx_global_var_init_213"] = (function() {
  24066. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24067. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24068. return Module["asm"]["___cxx_global_var_init_213"].apply(null, arguments);
  24069. });
  24070. var ___cxx_global_var_init_214 = Module["___cxx_global_var_init_214"] = (function() {
  24071. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24072. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24073. return Module["asm"]["___cxx_global_var_init_214"].apply(null, arguments);
  24074. });
  24075. var ___cxx_global_var_init_215 = Module["___cxx_global_var_init_215"] = (function() {
  24076. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24077. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24078. return Module["asm"]["___cxx_global_var_init_215"].apply(null, arguments);
  24079. });
  24080. var ___cxx_global_var_init_216 = Module["___cxx_global_var_init_216"] = (function() {
  24081. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24082. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24083. return Module["asm"]["___cxx_global_var_init_216"].apply(null, arguments);
  24084. });
  24085. var ___cxx_global_var_init_217 = Module["___cxx_global_var_init_217"] = (function() {
  24086. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24087. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24088. return Module["asm"]["___cxx_global_var_init_217"].apply(null, arguments);
  24089. });
  24090. var ___cxx_global_var_init_218 = Module["___cxx_global_var_init_218"] = (function() {
  24091. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24092. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24093. return Module["asm"]["___cxx_global_var_init_218"].apply(null, arguments);
  24094. });
  24095. var ___cxx_global_var_init_219 = Module["___cxx_global_var_init_219"] = (function() {
  24096. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24097. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24098. return Module["asm"]["___cxx_global_var_init_219"].apply(null, arguments);
  24099. });
  24100. var ___cxx_global_var_init_220 = Module["___cxx_global_var_init_220"] = (function() {
  24101. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24102. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24103. return Module["asm"]["___cxx_global_var_init_220"].apply(null, arguments);
  24104. });
  24105. var ___cxx_global_var_init_221 = Module["___cxx_global_var_init_221"] = (function() {
  24106. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24107. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24108. return Module["asm"]["___cxx_global_var_init_221"].apply(null, arguments);
  24109. });
  24110. var ___cxx_global_var_init_222 = Module["___cxx_global_var_init_222"] = (function() {
  24111. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24112. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24113. return Module["asm"]["___cxx_global_var_init_222"].apply(null, arguments);
  24114. });
  24115. var ___cxx_global_var_init_223 = Module["___cxx_global_var_init_223"] = (function() {
  24116. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24117. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24118. return Module["asm"]["___cxx_global_var_init_223"].apply(null, arguments);
  24119. });
  24120. var ___cxx_global_var_init_25 = Module["___cxx_global_var_init_25"] = (function() {
  24121. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24122. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24123. return Module["asm"]["___cxx_global_var_init_25"].apply(null, arguments);
  24124. });
  24125. var ___cxx_global_var_init_26 = Module["___cxx_global_var_init_26"] = (function() {
  24126. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24127. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24128. return Module["asm"]["___cxx_global_var_init_26"].apply(null, arguments);
  24129. });
  24130. var ___cxx_global_var_init_27 = Module["___cxx_global_var_init_27"] = (function() {
  24131. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24132. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24133. return Module["asm"]["___cxx_global_var_init_27"].apply(null, arguments);
  24134. });
  24135. var ___cxx_global_var_init_27_5710 = Module["___cxx_global_var_init_27_5710"] = (function() {
  24136. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24137. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24138. return Module["asm"]["___cxx_global_var_init_27_5710"].apply(null, arguments);
  24139. });
  24140. var ___cxx_global_var_init_27_9055 = Module["___cxx_global_var_init_27_9055"] = (function() {
  24141. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24142. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24143. return Module["asm"]["___cxx_global_var_init_27_9055"].apply(null, arguments);
  24144. });
  24145. var ___cxx_global_var_init_28 = Module["___cxx_global_var_init_28"] = (function() {
  24146. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24147. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24148. return Module["asm"]["___cxx_global_var_init_28"].apply(null, arguments);
  24149. });
  24150. var ___cxx_global_var_init_28_7249 = Module["___cxx_global_var_init_28_7249"] = (function() {
  24151. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24152. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24153. return Module["asm"]["___cxx_global_var_init_28_7249"].apply(null, arguments);
  24154. });
  24155. var ___cxx_global_var_init_29_4251 = Module["___cxx_global_var_init_29_4251"] = (function() {
  24156. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24157. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24158. return Module["asm"]["___cxx_global_var_init_29_4251"].apply(null, arguments);
  24159. });
  24160. var ___cxx_global_var_init_29_7250 = Module["___cxx_global_var_init_29_7250"] = (function() {
  24161. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24162. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24163. return Module["asm"]["___cxx_global_var_init_29_7250"].apply(null, arguments);
  24164. });
  24165. var ___cxx_global_var_init_29_9056 = Module["___cxx_global_var_init_29_9056"] = (function() {
  24166. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24167. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24168. return Module["asm"]["___cxx_global_var_init_29_9056"].apply(null, arguments);
  24169. });
  24170. var ___cxx_global_var_init_2_9483 = Module["___cxx_global_var_init_2_9483"] = (function() {
  24171. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24172. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24173. return Module["asm"]["___cxx_global_var_init_2_9483"].apply(null, arguments);
  24174. });
  24175. var ___cxx_global_var_init_2_9829 = Module["___cxx_global_var_init_2_9829"] = (function() {
  24176. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24177. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24178. return Module["asm"]["___cxx_global_var_init_2_9829"].apply(null, arguments);
  24179. });
  24180. var ___cxx_global_var_init_30 = Module["___cxx_global_var_init_30"] = (function() {
  24181. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24182. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24183. return Module["asm"]["___cxx_global_var_init_30"].apply(null, arguments);
  24184. });
  24185. var ___cxx_global_var_init_30_4252 = Module["___cxx_global_var_init_30_4252"] = (function() {
  24186. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24187. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24188. return Module["asm"]["___cxx_global_var_init_30_4252"].apply(null, arguments);
  24189. });
  24190. var ___cxx_global_var_init_31_4253 = Module["___cxx_global_var_init_31_4253"] = (function() {
  24191. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24192. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24193. return Module["asm"]["___cxx_global_var_init_31_4253"].apply(null, arguments);
  24194. });
  24195. var ___cxx_global_var_init_31_8755 = Module["___cxx_global_var_init_31_8755"] = (function() {
  24196. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24197. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24198. return Module["asm"]["___cxx_global_var_init_31_8755"].apply(null, arguments);
  24199. });
  24200. var ___cxx_global_var_init_31_9057 = Module["___cxx_global_var_init_31_9057"] = (function() {
  24201. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24202. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24203. return Module["asm"]["___cxx_global_var_init_31_9057"].apply(null, arguments);
  24204. });
  24205. var ___cxx_global_var_init_32 = Module["___cxx_global_var_init_32"] = (function() {
  24206. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24207. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24208. return Module["asm"]["___cxx_global_var_init_32"].apply(null, arguments);
  24209. });
  24210. var ___cxx_global_var_init_33_10192 = Module["___cxx_global_var_init_33_10192"] = (function() {
  24211. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24212. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24213. return Module["asm"]["___cxx_global_var_init_33_10192"].apply(null, arguments);
  24214. });
  24215. var ___cxx_global_var_init_33_8756 = Module["___cxx_global_var_init_33_8756"] = (function() {
  24216. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24217. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24218. return Module["asm"]["___cxx_global_var_init_33_8756"].apply(null, arguments);
  24219. });
  24220. var ___cxx_global_var_init_34 = Module["___cxx_global_var_init_34"] = (function() {
  24221. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24222. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24223. return Module["asm"]["___cxx_global_var_init_34"].apply(null, arguments);
  24224. });
  24225. var ___cxx_global_var_init_34_8757 = Module["___cxx_global_var_init_34_8757"] = (function() {
  24226. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24227. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24228. return Module["asm"]["___cxx_global_var_init_34_8757"].apply(null, arguments);
  24229. });
  24230. var ___cxx_global_var_init_34_9169 = Module["___cxx_global_var_init_34_9169"] = (function() {
  24231. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24232. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24233. return Module["asm"]["___cxx_global_var_init_34_9169"].apply(null, arguments);
  24234. });
  24235. var ___cxx_global_var_init_35 = Module["___cxx_global_var_init_35"] = (function() {
  24236. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24237. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24238. return Module["asm"]["___cxx_global_var_init_35"].apply(null, arguments);
  24239. });
  24240. var ___cxx_global_var_init_35_7741 = Module["___cxx_global_var_init_35_7741"] = (function() {
  24241. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24242. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24243. return Module["asm"]["___cxx_global_var_init_35_7741"].apply(null, arguments);
  24244. });
  24245. var ___cxx_global_var_init_36 = Module["___cxx_global_var_init_36"] = (function() {
  24246. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24247. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24248. return Module["asm"]["___cxx_global_var_init_36"].apply(null, arguments);
  24249. });
  24250. var ___cxx_global_var_init_36_7742 = Module["___cxx_global_var_init_36_7742"] = (function() {
  24251. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24252. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24253. return Module["asm"]["___cxx_global_var_init_36_7742"].apply(null, arguments);
  24254. });
  24255. var ___cxx_global_var_init_37 = Module["___cxx_global_var_init_37"] = (function() {
  24256. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24257. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24258. return Module["asm"]["___cxx_global_var_init_37"].apply(null, arguments);
  24259. });
  24260. var ___cxx_global_var_init_38 = Module["___cxx_global_var_init_38"] = (function() {
  24261. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24262. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24263. return Module["asm"]["___cxx_global_var_init_38"].apply(null, arguments);
  24264. });
  24265. var ___cxx_global_var_init_39 = Module["___cxx_global_var_init_39"] = (function() {
  24266. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24267. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24268. return Module["asm"]["___cxx_global_var_init_39"].apply(null, arguments);
  24269. });
  24270. var ___cxx_global_var_init_3_27 = Module["___cxx_global_var_init_3_27"] = (function() {
  24271. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24272. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24273. return Module["asm"]["___cxx_global_var_init_3_27"].apply(null, arguments);
  24274. });
  24275. var ___cxx_global_var_init_3_4485 = Module["___cxx_global_var_init_3_4485"] = (function() {
  24276. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24277. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24278. return Module["asm"]["___cxx_global_var_init_3_4485"].apply(null, arguments);
  24279. });
  24280. var ___cxx_global_var_init_3_9830 = Module["___cxx_global_var_init_3_9830"] = (function() {
  24281. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24282. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24283. return Module["asm"]["___cxx_global_var_init_3_9830"].apply(null, arguments);
  24284. });
  24285. var ___cxx_global_var_init_40 = Module["___cxx_global_var_init_40"] = (function() {
  24286. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24287. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24288. return Module["asm"]["___cxx_global_var_init_40"].apply(null, arguments);
  24289. });
  24290. var ___cxx_global_var_init_40_4832 = Module["___cxx_global_var_init_40_4832"] = (function() {
  24291. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24292. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24293. return Module["asm"]["___cxx_global_var_init_40_4832"].apply(null, arguments);
  24294. });
  24295. var ___cxx_global_var_init_41 = Module["___cxx_global_var_init_41"] = (function() {
  24296. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24297. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24298. return Module["asm"]["___cxx_global_var_init_41"].apply(null, arguments);
  24299. });
  24300. var ___cxx_global_var_init_4110 = Module["___cxx_global_var_init_4110"] = (function() {
  24301. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24302. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24303. return Module["asm"]["___cxx_global_var_init_4110"].apply(null, arguments);
  24304. });
  24305. var ___cxx_global_var_init_41_13424 = Module["___cxx_global_var_init_41_13424"] = (function() {
  24306. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24307. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24308. return Module["asm"]["___cxx_global_var_init_41_13424"].apply(null, arguments);
  24309. });
  24310. var ___cxx_global_var_init_42 = Module["___cxx_global_var_init_42"] = (function() {
  24311. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24312. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24313. return Module["asm"]["___cxx_global_var_init_42"].apply(null, arguments);
  24314. });
  24315. var ___cxx_global_var_init_43 = Module["___cxx_global_var_init_43"] = (function() {
  24316. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24317. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24318. return Module["asm"]["___cxx_global_var_init_43"].apply(null, arguments);
  24319. });
  24320. var ___cxx_global_var_init_44 = Module["___cxx_global_var_init_44"] = (function() {
  24321. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24322. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24323. return Module["asm"]["___cxx_global_var_init_44"].apply(null, arguments);
  24324. });
  24325. var ___cxx_global_var_init_44_7960 = Module["___cxx_global_var_init_44_7960"] = (function() {
  24326. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24327. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24328. return Module["asm"]["___cxx_global_var_init_44_7960"].apply(null, arguments);
  24329. });
  24330. var ___cxx_global_var_init_45 = Module["___cxx_global_var_init_45"] = (function() {
  24331. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24332. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24333. return Module["asm"]["___cxx_global_var_init_45"].apply(null, arguments);
  24334. });
  24335. var ___cxx_global_var_init_46 = Module["___cxx_global_var_init_46"] = (function() {
  24336. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24337. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24338. return Module["asm"]["___cxx_global_var_init_46"].apply(null, arguments);
  24339. });
  24340. var ___cxx_global_var_init_46_8284 = Module["___cxx_global_var_init_46_8284"] = (function() {
  24341. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24342. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24343. return Module["asm"]["___cxx_global_var_init_46_8284"].apply(null, arguments);
  24344. });
  24345. var ___cxx_global_var_init_47 = Module["___cxx_global_var_init_47"] = (function() {
  24346. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24347. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24348. return Module["asm"]["___cxx_global_var_init_47"].apply(null, arguments);
  24349. });
  24350. var ___cxx_global_var_init_47_12741 = Module["___cxx_global_var_init_47_12741"] = (function() {
  24351. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24352. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24353. return Module["asm"]["___cxx_global_var_init_47_12741"].apply(null, arguments);
  24354. });
  24355. var ___cxx_global_var_init_47_1315 = Module["___cxx_global_var_init_47_1315"] = (function() {
  24356. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24357. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24358. return Module["asm"]["___cxx_global_var_init_47_1315"].apply(null, arguments);
  24359. });
  24360. var ___cxx_global_var_init_47_8285 = Module["___cxx_global_var_init_47_8285"] = (function() {
  24361. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24362. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24363. return Module["asm"]["___cxx_global_var_init_47_8285"].apply(null, arguments);
  24364. });
  24365. var ___cxx_global_var_init_48 = Module["___cxx_global_var_init_48"] = (function() {
  24366. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24367. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24368. return Module["asm"]["___cxx_global_var_init_48"].apply(null, arguments);
  24369. });
  24370. var ___cxx_global_var_init_48_1316 = Module["___cxx_global_var_init_48_1316"] = (function() {
  24371. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24372. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24373. return Module["asm"]["___cxx_global_var_init_48_1316"].apply(null, arguments);
  24374. });
  24375. var ___cxx_global_var_init_48_8286 = Module["___cxx_global_var_init_48_8286"] = (function() {
  24376. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24377. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24378. return Module["asm"]["___cxx_global_var_init_48_8286"].apply(null, arguments);
  24379. });
  24380. var ___cxx_global_var_init_49 = Module["___cxx_global_var_init_49"] = (function() {
  24381. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24382. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24383. return Module["asm"]["___cxx_global_var_init_49"].apply(null, arguments);
  24384. });
  24385. var ___cxx_global_var_init_49_8287 = Module["___cxx_global_var_init_49_8287"] = (function() {
  24386. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24387. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24388. return Module["asm"]["___cxx_global_var_init_49_8287"].apply(null, arguments);
  24389. });
  24390. var ___cxx_global_var_init_4_7154 = Module["___cxx_global_var_init_4_7154"] = (function() {
  24391. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24392. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24393. return Module["asm"]["___cxx_global_var_init_4_7154"].apply(null, arguments);
  24394. });
  24395. var ___cxx_global_var_init_4_9831 = Module["___cxx_global_var_init_4_9831"] = (function() {
  24396. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24397. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24398. return Module["asm"]["___cxx_global_var_init_4_9831"].apply(null, arguments);
  24399. });
  24400. var ___cxx_global_var_init_5 = Module["___cxx_global_var_init_5"] = (function() {
  24401. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24402. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24403. return Module["asm"]["___cxx_global_var_init_5"].apply(null, arguments);
  24404. });
  24405. var ___cxx_global_var_init_50 = Module["___cxx_global_var_init_50"] = (function() {
  24406. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24407. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24408. return Module["asm"]["___cxx_global_var_init_50"].apply(null, arguments);
  24409. });
  24410. var ___cxx_global_var_init_51 = Module["___cxx_global_var_init_51"] = (function() {
  24411. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24412. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24413. return Module["asm"]["___cxx_global_var_init_51"].apply(null, arguments);
  24414. });
  24415. var ___cxx_global_var_init_52 = Module["___cxx_global_var_init_52"] = (function() {
  24416. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24417. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24418. return Module["asm"]["___cxx_global_var_init_52"].apply(null, arguments);
  24419. });
  24420. var ___cxx_global_var_init_53 = Module["___cxx_global_var_init_53"] = (function() {
  24421. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24422. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24423. return Module["asm"]["___cxx_global_var_init_53"].apply(null, arguments);
  24424. });
  24425. var ___cxx_global_var_init_53_8288 = Module["___cxx_global_var_init_53_8288"] = (function() {
  24426. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24427. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24428. return Module["asm"]["___cxx_global_var_init_53_8288"].apply(null, arguments);
  24429. });
  24430. var ___cxx_global_var_init_54 = Module["___cxx_global_var_init_54"] = (function() {
  24431. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24432. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24433. return Module["asm"]["___cxx_global_var_init_54"].apply(null, arguments);
  24434. });
  24435. var ___cxx_global_var_init_55 = Module["___cxx_global_var_init_55"] = (function() {
  24436. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24437. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24438. return Module["asm"]["___cxx_global_var_init_55"].apply(null, arguments);
  24439. });
  24440. var ___cxx_global_var_init_55_9674 = Module["___cxx_global_var_init_55_9674"] = (function() {
  24441. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24442. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24443. return Module["asm"]["___cxx_global_var_init_55_9674"].apply(null, arguments);
  24444. });
  24445. var ___cxx_global_var_init_56 = Module["___cxx_global_var_init_56"] = (function() {
  24446. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24447. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24448. return Module["asm"]["___cxx_global_var_init_56"].apply(null, arguments);
  24449. });
  24450. var ___cxx_global_var_init_57 = Module["___cxx_global_var_init_57"] = (function() {
  24451. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24452. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24453. return Module["asm"]["___cxx_global_var_init_57"].apply(null, arguments);
  24454. });
  24455. var ___cxx_global_var_init_58 = Module["___cxx_global_var_init_58"] = (function() {
  24456. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24457. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24458. return Module["asm"]["___cxx_global_var_init_58"].apply(null, arguments);
  24459. });
  24460. var ___cxx_global_var_init_58_4833 = Module["___cxx_global_var_init_58_4833"] = (function() {
  24461. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24462. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24463. return Module["asm"]["___cxx_global_var_init_58_4833"].apply(null, arguments);
  24464. });
  24465. var ___cxx_global_var_init_58_9675 = Module["___cxx_global_var_init_58_9675"] = (function() {
  24466. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24467. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24468. return Module["asm"]["___cxx_global_var_init_58_9675"].apply(null, arguments);
  24469. });
  24470. var ___cxx_global_var_init_59 = Module["___cxx_global_var_init_59"] = (function() {
  24471. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24472. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24473. return Module["asm"]["___cxx_global_var_init_59"].apply(null, arguments);
  24474. });
  24475. var ___cxx_global_var_init_59_4834 = Module["___cxx_global_var_init_59_4834"] = (function() {
  24476. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24477. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24478. return Module["asm"]["___cxx_global_var_init_59_4834"].apply(null, arguments);
  24479. });
  24480. var ___cxx_global_var_init_59_9676 = Module["___cxx_global_var_init_59_9676"] = (function() {
  24481. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24482. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24483. return Module["asm"]["___cxx_global_var_init_59_9676"].apply(null, arguments);
  24484. });
  24485. var ___cxx_global_var_init_5_9832 = Module["___cxx_global_var_init_5_9832"] = (function() {
  24486. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24487. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24488. return Module["asm"]["___cxx_global_var_init_5_9832"].apply(null, arguments);
  24489. });
  24490. var ___cxx_global_var_init_60 = Module["___cxx_global_var_init_60"] = (function() {
  24491. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24492. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24493. return Module["asm"]["___cxx_global_var_init_60"].apply(null, arguments);
  24494. });
  24495. var ___cxx_global_var_init_60_4835 = Module["___cxx_global_var_init_60_4835"] = (function() {
  24496. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24497. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24498. return Module["asm"]["___cxx_global_var_init_60_4835"].apply(null, arguments);
  24499. });
  24500. var ___cxx_global_var_init_60_9677 = Module["___cxx_global_var_init_60_9677"] = (function() {
  24501. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24502. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24503. return Module["asm"]["___cxx_global_var_init_60_9677"].apply(null, arguments);
  24504. });
  24505. var ___cxx_global_var_init_61 = Module["___cxx_global_var_init_61"] = (function() {
  24506. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24507. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24508. return Module["asm"]["___cxx_global_var_init_61"].apply(null, arguments);
  24509. });
  24510. var ___cxx_global_var_init_61_9678 = Module["___cxx_global_var_init_61_9678"] = (function() {
  24511. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24512. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24513. return Module["asm"]["___cxx_global_var_init_61_9678"].apply(null, arguments);
  24514. });
  24515. var ___cxx_global_var_init_63 = Module["___cxx_global_var_init_63"] = (function() {
  24516. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24517. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24518. return Module["asm"]["___cxx_global_var_init_63"].apply(null, arguments);
  24519. });
  24520. var ___cxx_global_var_init_67 = Module["___cxx_global_var_init_67"] = (function() {
  24521. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24522. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24523. return Module["asm"]["___cxx_global_var_init_67"].apply(null, arguments);
  24524. });
  24525. var ___cxx_global_var_init_6_4572 = Module["___cxx_global_var_init_6_4572"] = (function() {
  24526. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24527. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24528. return Module["asm"]["___cxx_global_var_init_6_4572"].apply(null, arguments);
  24529. });
  24530. var ___cxx_global_var_init_6_748 = Module["___cxx_global_var_init_6_748"] = (function() {
  24531. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24532. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24533. return Module["asm"]["___cxx_global_var_init_6_748"].apply(null, arguments);
  24534. });
  24535. var ___cxx_global_var_init_6_9833 = Module["___cxx_global_var_init_6_9833"] = (function() {
  24536. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24537. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24538. return Module["asm"]["___cxx_global_var_init_6_9833"].apply(null, arguments);
  24539. });
  24540. var ___cxx_global_var_init_7 = Module["___cxx_global_var_init_7"] = (function() {
  24541. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24542. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24543. return Module["asm"]["___cxx_global_var_init_7"].apply(null, arguments);
  24544. });
  24545. var ___cxx_global_var_init_71 = Module["___cxx_global_var_init_71"] = (function() {
  24546. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24547. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24548. return Module["asm"]["___cxx_global_var_init_71"].apply(null, arguments);
  24549. });
  24550. var ___cxx_global_var_init_78 = Module["___cxx_global_var_init_78"] = (function() {
  24551. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24552. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24553. return Module["asm"]["___cxx_global_var_init_78"].apply(null, arguments);
  24554. });
  24555. var ___cxx_global_var_init_79 = Module["___cxx_global_var_init_79"] = (function() {
  24556. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24557. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24558. return Module["asm"]["___cxx_global_var_init_79"].apply(null, arguments);
  24559. });
  24560. var ___cxx_global_var_init_7_4573 = Module["___cxx_global_var_init_7_4573"] = (function() {
  24561. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24562. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24563. return Module["asm"]["___cxx_global_var_init_7_4573"].apply(null, arguments);
  24564. });
  24565. var ___cxx_global_var_init_7_9834 = Module["___cxx_global_var_init_7_9834"] = (function() {
  24566. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24567. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24568. return Module["asm"]["___cxx_global_var_init_7_9834"].apply(null, arguments);
  24569. });
  24570. var ___cxx_global_var_init_8502 = Module["___cxx_global_var_init_8502"] = (function() {
  24571. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24572. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24573. return Module["asm"]["___cxx_global_var_init_8502"].apply(null, arguments);
  24574. });
  24575. var ___cxx_global_var_init_86 = Module["___cxx_global_var_init_86"] = (function() {
  24576. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24577. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24578. return Module["asm"]["___cxx_global_var_init_86"].apply(null, arguments);
  24579. });
  24580. var ___cxx_global_var_init_87 = Module["___cxx_global_var_init_87"] = (function() {
  24581. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24582. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24583. return Module["asm"]["___cxx_global_var_init_87"].apply(null, arguments);
  24584. });
  24585. var ___cxx_global_var_init_88 = Module["___cxx_global_var_init_88"] = (function() {
  24586. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24587. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24588. return Module["asm"]["___cxx_global_var_init_88"].apply(null, arguments);
  24589. });
  24590. var ___cxx_global_var_init_88_8642 = Module["___cxx_global_var_init_88_8642"] = (function() {
  24591. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24592. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24593. return Module["asm"]["___cxx_global_var_init_88_8642"].apply(null, arguments);
  24594. });
  24595. var ___cxx_global_var_init_8_4574 = Module["___cxx_global_var_init_8_4574"] = (function() {
  24596. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24597. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24598. return Module["asm"]["___cxx_global_var_init_8_4574"].apply(null, arguments);
  24599. });
  24600. var ___cxx_global_var_init_8_7089 = Module["___cxx_global_var_init_8_7089"] = (function() {
  24601. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24602. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24603. return Module["asm"]["___cxx_global_var_init_8_7089"].apply(null, arguments);
  24604. });
  24605. var ___cxx_global_var_init_8_9835 = Module["___cxx_global_var_init_8_9835"] = (function() {
  24606. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24607. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24608. return Module["asm"]["___cxx_global_var_init_8_9835"].apply(null, arguments);
  24609. });
  24610. var ___cxx_global_var_init_91 = Module["___cxx_global_var_init_91"] = (function() {
  24611. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24612. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24613. return Module["asm"]["___cxx_global_var_init_91"].apply(null, arguments);
  24614. });
  24615. var ___cxx_global_var_init_92 = Module["___cxx_global_var_init_92"] = (function() {
  24616. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24617. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24618. return Module["asm"]["___cxx_global_var_init_92"].apply(null, arguments);
  24619. });
  24620. var ___cxx_global_var_init_92_6311 = Module["___cxx_global_var_init_92_6311"] = (function() {
  24621. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24622. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24623. return Module["asm"]["___cxx_global_var_init_92_6311"].apply(null, arguments);
  24624. });
  24625. var ___cxx_global_var_init_93 = Module["___cxx_global_var_init_93"] = (function() {
  24626. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24627. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24628. return Module["asm"]["___cxx_global_var_init_93"].apply(null, arguments);
  24629. });
  24630. var ___cxx_global_var_init_93_6312 = Module["___cxx_global_var_init_93_6312"] = (function() {
  24631. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24632. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24633. return Module["asm"]["___cxx_global_var_init_93_6312"].apply(null, arguments);
  24634. });
  24635. var ___cxx_global_var_init_94 = Module["___cxx_global_var_init_94"] = (function() {
  24636. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24637. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24638. return Module["asm"]["___cxx_global_var_init_94"].apply(null, arguments);
  24639. });
  24640. var ___cxx_global_var_init_94_6313 = Module["___cxx_global_var_init_94_6313"] = (function() {
  24641. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24642. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24643. return Module["asm"]["___cxx_global_var_init_94_6313"].apply(null, arguments);
  24644. });
  24645. var ___cxx_global_var_init_95 = Module["___cxx_global_var_init_95"] = (function() {
  24646. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24647. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24648. return Module["asm"]["___cxx_global_var_init_95"].apply(null, arguments);
  24649. });
  24650. var ___cxx_global_var_init_9_4575 = Module["___cxx_global_var_init_9_4575"] = (function() {
  24651. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24652. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24653. return Module["asm"]["___cxx_global_var_init_9_4575"].apply(null, arguments);
  24654. });
  24655. var ___cxx_global_var_init_9_9836 = Module["___cxx_global_var_init_9_9836"] = (function() {
  24656. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24657. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24658. return Module["asm"]["___cxx_global_var_init_9_9836"].apply(null, arguments);
  24659. });
  24660. var ___emscripten_environ_constructor = Module["___emscripten_environ_constructor"] = (function() {
  24661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24663. return Module["asm"]["___emscripten_environ_constructor"].apply(null, arguments);
  24664. });
  24665. var ___errno_location = Module["___errno_location"] = (function() {
  24666. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24667. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24668. return Module["asm"]["___errno_location"].apply(null, arguments);
  24669. });
  24670. var __get_daylight = Module["__get_daylight"] = (function() {
  24671. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24672. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24673. return Module["asm"]["__get_daylight"].apply(null, arguments);
  24674. });
  24675. var __get_environ = Module["__get_environ"] = (function() {
  24676. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24677. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24678. return Module["asm"]["__get_environ"].apply(null, arguments);
  24679. });
  24680. var __get_timezone = Module["__get_timezone"] = (function() {
  24681. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24682. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24683. return Module["asm"]["__get_timezone"].apply(null, arguments);
  24684. });
  24685. var __get_tzname = Module["__get_tzname"] = (function() {
  24686. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24687. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24688. return Module["asm"]["__get_tzname"].apply(null, arguments);
  24689. });
  24690. var _emscripten_replace_memory = Module["_emscripten_replace_memory"] = (function() {
  24691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24693. return Module["asm"]["_emscripten_replace_memory"].apply(null, arguments);
  24694. });
  24695. var _fflush = Module["_fflush"] = (function() {
  24696. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24697. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24698. return Module["asm"]["_fflush"].apply(null, arguments);
  24699. });
  24700. var _free = Module["_free"] = (function() {
  24701. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24702. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24703. return Module["asm"]["_free"].apply(null, arguments);
  24704. });
  24705. var _htonl = Module["_htonl"] = (function() {
  24706. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24707. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24708. return Module["asm"]["_htonl"].apply(null, arguments);
  24709. });
  24710. var _htons = Module["_htons"] = (function() {
  24711. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24712. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24713. return Module["asm"]["_htons"].apply(null, arguments);
  24714. });
  24715. var _i64Add = Module["_i64Add"] = (function() {
  24716. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24717. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24718. return Module["asm"]["_i64Add"].apply(null, arguments);
  24719. });
  24720. var _llvm_bswap_i16 = Module["_llvm_bswap_i16"] = (function() {
  24721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24723. return Module["asm"]["_llvm_bswap_i16"].apply(null, arguments);
  24724. });
  24725. var _llvm_bswap_i32 = Module["_llvm_bswap_i32"] = (function() {
  24726. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24727. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24728. return Module["asm"]["_llvm_bswap_i32"].apply(null, arguments);
  24729. });
  24730. var _llvm_ctlz_i64 = Module["_llvm_ctlz_i64"] = (function() {
  24731. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24732. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24733. return Module["asm"]["_llvm_ctlz_i64"].apply(null, arguments);
  24734. });
  24735. var _llvm_ctpop_i32 = Module["_llvm_ctpop_i32"] = (function() {
  24736. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24737. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24738. return Module["asm"]["_llvm_ctpop_i32"].apply(null, arguments);
  24739. });
  24740. var _llvm_maxnum_f32 = Module["_llvm_maxnum_f32"] = (function() {
  24741. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24742. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24743. return Module["asm"]["_llvm_maxnum_f32"].apply(null, arguments);
  24744. });
  24745. var _llvm_maxnum_f64 = Module["_llvm_maxnum_f64"] = (function() {
  24746. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24747. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24748. return Module["asm"]["_llvm_maxnum_f64"].apply(null, arguments);
  24749. });
  24750. var _llvm_minnum_f32 = Module["_llvm_minnum_f32"] = (function() {
  24751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24753. return Module["asm"]["_llvm_minnum_f32"].apply(null, arguments);
  24754. });
  24755. var _llvm_round_f32 = Module["_llvm_round_f32"] = (function() {
  24756. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24757. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24758. return Module["asm"]["_llvm_round_f32"].apply(null, arguments);
  24759. });
  24760. var _main = Module["_main"] = (function() {
  24761. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24762. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24763. return Module["asm"]["_main"].apply(null, arguments);
  24764. });
  24765. var _malloc = Module["_malloc"] = (function() {
  24766. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24767. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24768. return Module["asm"]["_malloc"].apply(null, arguments);
  24769. });
  24770. var _memalign = Module["_memalign"] = (function() {
  24771. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24772. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24773. return Module["asm"]["_memalign"].apply(null, arguments);
  24774. });
  24775. var _memcpy = Module["_memcpy"] = (function() {
  24776. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24777. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24778. return Module["asm"]["_memcpy"].apply(null, arguments);
  24779. });
  24780. var _memmove = Module["_memmove"] = (function() {
  24781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24783. return Module["asm"]["_memmove"].apply(null, arguments);
  24784. });
  24785. var _memset = Module["_memset"] = (function() {
  24786. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24787. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24788. return Module["asm"]["_memset"].apply(null, arguments);
  24789. });
  24790. var _ntohs = Module["_ntohs"] = (function() {
  24791. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24792. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24793. return Module["asm"]["_ntohs"].apply(null, arguments);
  24794. });
  24795. var _pthread_cond_broadcast = Module["_pthread_cond_broadcast"] = (function() {
  24796. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24797. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24798. return Module["asm"]["_pthread_cond_broadcast"].apply(null, arguments);
  24799. });
  24800. var _pthread_mutex_lock = Module["_pthread_mutex_lock"] = (function() {
  24801. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24802. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24803. return Module["asm"]["_pthread_mutex_lock"].apply(null, arguments);
  24804. });
  24805. var _pthread_mutex_unlock = Module["_pthread_mutex_unlock"] = (function() {
  24806. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24807. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24808. return Module["asm"]["_pthread_mutex_unlock"].apply(null, arguments);
  24809. });
  24810. var _realloc = Module["_realloc"] = (function() {
  24811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24813. return Module["asm"]["_realloc"].apply(null, arguments);
  24814. });
  24815. var _sbrk = Module["_sbrk"] = (function() {
  24816. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24817. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24818. return Module["asm"]["_sbrk"].apply(null, arguments);
  24819. });
  24820. var _strlen = Module["_strlen"] = (function() {
  24821. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24822. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24823. return Module["asm"]["_strlen"].apply(null, arguments);
  24824. });
  24825. var establishStackSpace = Module["establishStackSpace"] = (function() {
  24826. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24827. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24828. return Module["asm"]["establishStackSpace"].apply(null, arguments);
  24829. });
  24830. var getTempRet0 = Module["getTempRet0"] = (function() {
  24831. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24832. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24833. return Module["asm"]["getTempRet0"].apply(null, arguments);
  24834. });
  24835. var runPostSets = Module["runPostSets"] = (function() {
  24836. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24837. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24838. return Module["asm"]["runPostSets"].apply(null, arguments);
  24839. });
  24840. var setTempRet0 = Module["setTempRet0"] = (function() {
  24841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24843. return Module["asm"]["setTempRet0"].apply(null, arguments);
  24844. });
  24845. var setThrew = Module["setThrew"] = (function() {
  24846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24848. return Module["asm"]["setThrew"].apply(null, arguments);
  24849. });
  24850. var stackAlloc = Module["stackAlloc"] = (function() {
  24851. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24852. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24853. return Module["asm"]["stackAlloc"].apply(null, arguments);
  24854. });
  24855. var stackRestore = Module["stackRestore"] = (function() {
  24856. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24857. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24858. return Module["asm"]["stackRestore"].apply(null, arguments);
  24859. });
  24860. var stackSave = Module["stackSave"] = (function() {
  24861. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24862. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24863. return Module["asm"]["stackSave"].apply(null, arguments);
  24864. });
  24865. var dynCall_dddi = Module["dynCall_dddi"] = (function() {
  24866. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24867. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24868. return Module["asm"]["dynCall_dddi"].apply(null, arguments);
  24869. });
  24870. var dynCall_ddi = Module["dynCall_ddi"] = (function() {
  24871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24873. return Module["asm"]["dynCall_ddi"].apply(null, arguments);
  24874. });
  24875. var dynCall_dfi = Module["dynCall_dfi"] = (function() {
  24876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24878. return Module["asm"]["dynCall_dfi"].apply(null, arguments);
  24879. });
  24880. var dynCall_di = Module["dynCall_di"] = (function() {
  24881. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24882. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24883. return Module["asm"]["dynCall_di"].apply(null, arguments);
  24884. });
  24885. var dynCall_diddi = Module["dynCall_diddi"] = (function() {
  24886. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24887. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24888. return Module["asm"]["dynCall_diddi"].apply(null, arguments);
  24889. });
  24890. var dynCall_didi = Module["dynCall_didi"] = (function() {
  24891. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24892. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24893. return Module["asm"]["dynCall_didi"].apply(null, arguments);
  24894. });
  24895. var dynCall_dii = Module["dynCall_dii"] = (function() {
  24896. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24897. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24898. return Module["asm"]["dynCall_dii"].apply(null, arguments);
  24899. });
  24900. var dynCall_diii = Module["dynCall_diii"] = (function() {
  24901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24903. return Module["asm"]["dynCall_diii"].apply(null, arguments);
  24904. });
  24905. var dynCall_diiii = Module["dynCall_diiii"] = (function() {
  24906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24908. return Module["asm"]["dynCall_diiii"].apply(null, arguments);
  24909. });
  24910. var dynCall_dji = Module["dynCall_dji"] = (function() {
  24911. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24912. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24913. return Module["asm"]["dynCall_dji"].apply(null, arguments);
  24914. });
  24915. var dynCall_f = Module["dynCall_f"] = (function() {
  24916. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24917. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24918. return Module["asm"]["dynCall_f"].apply(null, arguments);
  24919. });
  24920. var dynCall_fdi = Module["dynCall_fdi"] = (function() {
  24921. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24922. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24923. return Module["asm"]["dynCall_fdi"].apply(null, arguments);
  24924. });
  24925. var dynCall_ff = Module["dynCall_ff"] = (function() {
  24926. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24927. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24928. return Module["asm"]["dynCall_ff"].apply(null, arguments);
  24929. });
  24930. var dynCall_fff = Module["dynCall_fff"] = (function() {
  24931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24933. return Module["asm"]["dynCall_fff"].apply(null, arguments);
  24934. });
  24935. var dynCall_ffffi = Module["dynCall_ffffi"] = (function() {
  24936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24938. return Module["asm"]["dynCall_ffffi"].apply(null, arguments);
  24939. });
  24940. var dynCall_fffi = Module["dynCall_fffi"] = (function() {
  24941. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24942. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24943. return Module["asm"]["dynCall_fffi"].apply(null, arguments);
  24944. });
  24945. var dynCall_fffifffi = Module["dynCall_fffifffi"] = (function() {
  24946. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24947. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24948. return Module["asm"]["dynCall_fffifffi"].apply(null, arguments);
  24949. });
  24950. var dynCall_ffi = Module["dynCall_ffi"] = (function() {
  24951. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24952. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24953. return Module["asm"]["dynCall_ffi"].apply(null, arguments);
  24954. });
  24955. var dynCall_fi = Module["dynCall_fi"] = (function() {
  24956. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24957. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24958. return Module["asm"]["dynCall_fi"].apply(null, arguments);
  24959. });
  24960. var dynCall_fif = Module["dynCall_fif"] = (function() {
  24961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24963. return Module["asm"]["dynCall_fif"].apply(null, arguments);
  24964. });
  24965. var dynCall_fiff = Module["dynCall_fiff"] = (function() {
  24966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24968. return Module["asm"]["dynCall_fiff"].apply(null, arguments);
  24969. });
  24970. var dynCall_fifffi = Module["dynCall_fifffi"] = (function() {
  24971. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24972. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24973. return Module["asm"]["dynCall_fifffi"].apply(null, arguments);
  24974. });
  24975. var dynCall_fiffi = Module["dynCall_fiffi"] = (function() {
  24976. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24977. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24978. return Module["asm"]["dynCall_fiffi"].apply(null, arguments);
  24979. });
  24980. var dynCall_fifi = Module["dynCall_fifi"] = (function() {
  24981. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24982. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24983. return Module["asm"]["dynCall_fifi"].apply(null, arguments);
  24984. });
  24985. var dynCall_fifii = Module["dynCall_fifii"] = (function() {
  24986. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24987. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24988. return Module["asm"]["dynCall_fifii"].apply(null, arguments);
  24989. });
  24990. var dynCall_fii = Module["dynCall_fii"] = (function() {
  24991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24993. return Module["asm"]["dynCall_fii"].apply(null, arguments);
  24994. });
  24995. var dynCall_fiif = Module["dynCall_fiif"] = (function() {
  24996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24998. return Module["asm"]["dynCall_fiif"].apply(null, arguments);
  24999. });
  25000. var dynCall_fiifi = Module["dynCall_fiifi"] = (function() {
  25001. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25002. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25003. return Module["asm"]["dynCall_fiifi"].apply(null, arguments);
  25004. });
  25005. var dynCall_fiifii = Module["dynCall_fiifii"] = (function() {
  25006. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25007. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25008. return Module["asm"]["dynCall_fiifii"].apply(null, arguments);
  25009. });
  25010. var dynCall_fiii = Module["dynCall_fiii"] = (function() {
  25011. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25012. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25013. return Module["asm"]["dynCall_fiii"].apply(null, arguments);
  25014. });
  25015. var dynCall_fiiii = Module["dynCall_fiiii"] = (function() {
  25016. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25017. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25018. return Module["asm"]["dynCall_fiiii"].apply(null, arguments);
  25019. });
  25020. var dynCall_fiiiiiifiifif = Module["dynCall_fiiiiiifiifif"] = (function() {
  25021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25023. return Module["asm"]["dynCall_fiiiiiifiifif"].apply(null, arguments);
  25024. });
  25025. var dynCall_fiiiiiifiiiif = Module["dynCall_fiiiiiifiiiif"] = (function() {
  25026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25028. return Module["asm"]["dynCall_fiiiiiifiiiif"].apply(null, arguments);
  25029. });
  25030. var dynCall_fji = Module["dynCall_fji"] = (function() {
  25031. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25032. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25033. return Module["asm"]["dynCall_fji"].apply(null, arguments);
  25034. });
  25035. var dynCall_i = Module["dynCall_i"] = (function() {
  25036. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25037. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25038. return Module["asm"]["dynCall_i"].apply(null, arguments);
  25039. });
  25040. var dynCall_idi = Module["dynCall_idi"] = (function() {
  25041. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25042. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25043. return Module["asm"]["dynCall_idi"].apply(null, arguments);
  25044. });
  25045. var dynCall_idiii = Module["dynCall_idiii"] = (function() {
  25046. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25047. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25048. return Module["asm"]["dynCall_idiii"].apply(null, arguments);
  25049. });
  25050. var dynCall_ifffi = Module["dynCall_ifffi"] = (function() {
  25051. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25052. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25053. return Module["asm"]["dynCall_ifffi"].apply(null, arguments);
  25054. });
  25055. var dynCall_iffi = Module["dynCall_iffi"] = (function() {
  25056. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25057. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25058. return Module["asm"]["dynCall_iffi"].apply(null, arguments);
  25059. });
  25060. var dynCall_ifi = Module["dynCall_ifi"] = (function() {
  25061. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25062. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25063. return Module["asm"]["dynCall_ifi"].apply(null, arguments);
  25064. });
  25065. var dynCall_ifiii = Module["dynCall_ifiii"] = (function() {
  25066. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25067. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25068. return Module["asm"]["dynCall_ifiii"].apply(null, arguments);
  25069. });
  25070. var dynCall_ii = Module["dynCall_ii"] = (function() {
  25071. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25072. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25073. return Module["asm"]["dynCall_ii"].apply(null, arguments);
  25074. });
  25075. var dynCall_iidi = Module["dynCall_iidi"] = (function() {
  25076. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25077. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25078. return Module["asm"]["dynCall_iidi"].apply(null, arguments);
  25079. });
  25080. var dynCall_iidii = Module["dynCall_iidii"] = (function() {
  25081. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25082. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25083. return Module["asm"]["dynCall_iidii"].apply(null, arguments);
  25084. });
  25085. var dynCall_iif = Module["dynCall_iif"] = (function() {
  25086. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25087. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25088. return Module["asm"]["dynCall_iif"].apply(null, arguments);
  25089. });
  25090. var dynCall_iifff = Module["dynCall_iifff"] = (function() {
  25091. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25092. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25093. return Module["asm"]["dynCall_iifff"].apply(null, arguments);
  25094. });
  25095. var dynCall_iifffi = Module["dynCall_iifffi"] = (function() {
  25096. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25097. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25098. return Module["asm"]["dynCall_iifffi"].apply(null, arguments);
  25099. });
  25100. var dynCall_iiffi = Module["dynCall_iiffi"] = (function() {
  25101. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25102. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25103. return Module["asm"]["dynCall_iiffi"].apply(null, arguments);
  25104. });
  25105. var dynCall_iifi = Module["dynCall_iifi"] = (function() {
  25106. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25107. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25108. return Module["asm"]["dynCall_iifi"].apply(null, arguments);
  25109. });
  25110. var dynCall_iifii = Module["dynCall_iifii"] = (function() {
  25111. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25112. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25113. return Module["asm"]["dynCall_iifii"].apply(null, arguments);
  25114. });
  25115. var dynCall_iifiii = Module["dynCall_iifiii"] = (function() {
  25116. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25117. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25118. return Module["asm"]["dynCall_iifiii"].apply(null, arguments);
  25119. });
  25120. var dynCall_iifiiiijii = Module["dynCall_iifiiiijii"] = (function() {
  25121. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25122. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25123. return Module["asm"]["dynCall_iifiiiijii"].apply(null, arguments);
  25124. });
  25125. var dynCall_iii = Module["dynCall_iii"] = (function() {
  25126. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25127. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25128. return Module["asm"]["dynCall_iii"].apply(null, arguments);
  25129. });
  25130. var dynCall_iiif = Module["dynCall_iiif"] = (function() {
  25131. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25132. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25133. return Module["asm"]["dynCall_iiif"].apply(null, arguments);
  25134. });
  25135. var dynCall_iiiff = Module["dynCall_iiiff"] = (function() {
  25136. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25137. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25138. return Module["asm"]["dynCall_iiiff"].apply(null, arguments);
  25139. });
  25140. var dynCall_iiifi = Module["dynCall_iiifi"] = (function() {
  25141. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25142. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25143. return Module["asm"]["dynCall_iiifi"].apply(null, arguments);
  25144. });
  25145. var dynCall_iiifii = Module["dynCall_iiifii"] = (function() {
  25146. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25147. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25148. return Module["asm"]["dynCall_iiifii"].apply(null, arguments);
  25149. });
  25150. var dynCall_iiifiii = Module["dynCall_iiifiii"] = (function() {
  25151. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25152. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25153. return Module["asm"]["dynCall_iiifiii"].apply(null, arguments);
  25154. });
  25155. var dynCall_iiifiiii = Module["dynCall_iiifiiii"] = (function() {
  25156. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25157. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25158. return Module["asm"]["dynCall_iiifiiii"].apply(null, arguments);
  25159. });
  25160. var dynCall_iiii = Module["dynCall_iiii"] = (function() {
  25161. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25162. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25163. return Module["asm"]["dynCall_iiii"].apply(null, arguments);
  25164. });
  25165. var dynCall_iiiifffffi = Module["dynCall_iiiifffffi"] = (function() {
  25166. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25167. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25168. return Module["asm"]["dynCall_iiiifffffi"].apply(null, arguments);
  25169. });
  25170. var dynCall_iiiifffffii = Module["dynCall_iiiifffffii"] = (function() {
  25171. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25172. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25173. return Module["asm"]["dynCall_iiiifffffii"].apply(null, arguments);
  25174. });
  25175. var dynCall_iiiifffiii = Module["dynCall_iiiifffiii"] = (function() {
  25176. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25177. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25178. return Module["asm"]["dynCall_iiiifffiii"].apply(null, arguments);
  25179. });
  25180. var dynCall_iiiifi = Module["dynCall_iiiifi"] = (function() {
  25181. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25182. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25183. return Module["asm"]["dynCall_iiiifi"].apply(null, arguments);
  25184. });
  25185. var dynCall_iiiifii = Module["dynCall_iiiifii"] = (function() {
  25186. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25187. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25188. return Module["asm"]["dynCall_iiiifii"].apply(null, arguments);
  25189. });
  25190. var dynCall_iiiifiii = Module["dynCall_iiiifiii"] = (function() {
  25191. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25192. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25193. return Module["asm"]["dynCall_iiiifiii"].apply(null, arguments);
  25194. });
  25195. var dynCall_iiiifiiii = Module["dynCall_iiiifiiii"] = (function() {
  25196. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25197. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25198. return Module["asm"]["dynCall_iiiifiiii"].apply(null, arguments);
  25199. });
  25200. var dynCall_iiiifiiiii = Module["dynCall_iiiifiiiii"] = (function() {
  25201. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25202. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25203. return Module["asm"]["dynCall_iiiifiiiii"].apply(null, arguments);
  25204. });
  25205. var dynCall_iiiii = Module["dynCall_iiiii"] = (function() {
  25206. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25207. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25208. return Module["asm"]["dynCall_iiiii"].apply(null, arguments);
  25209. });
  25210. var dynCall_iiiiifiii = Module["dynCall_iiiiifiii"] = (function() {
  25211. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25212. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25213. return Module["asm"]["dynCall_iiiiifiii"].apply(null, arguments);
  25214. });
  25215. var dynCall_iiiiifiiiiif = Module["dynCall_iiiiifiiiiif"] = (function() {
  25216. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25217. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25218. return Module["asm"]["dynCall_iiiiifiiiiif"].apply(null, arguments);
  25219. });
  25220. var dynCall_iiiiii = Module["dynCall_iiiiii"] = (function() {
  25221. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25222. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25223. return Module["asm"]["dynCall_iiiiii"].apply(null, arguments);
  25224. });
  25225. var dynCall_iiiiiifff = Module["dynCall_iiiiiifff"] = (function() {
  25226. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25227. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25228. return Module["asm"]["dynCall_iiiiiifff"].apply(null, arguments);
  25229. });
  25230. var dynCall_iiiiiifffiiifiii = Module["dynCall_iiiiiifffiiifiii"] = (function() {
  25231. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25232. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25233. return Module["asm"]["dynCall_iiiiiifffiiifiii"].apply(null, arguments);
  25234. });
  25235. var dynCall_iiiiiiffiiiiiiiiiffffiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiii"] = (function() {
  25236. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25237. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25238. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiffffiii"].apply(null, arguments);
  25239. });
  25240. var dynCall_iiiiiiffiiiiiiiiiffffiiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiiii"] = (function() {
  25241. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25242. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25243. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiffffiiii"].apply(null, arguments);
  25244. });
  25245. var dynCall_iiiiiiffiiiiiiiiiiiiiii = Module["dynCall_iiiiiiffiiiiiiiiiiiiiii"] = (function() {
  25246. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25247. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25248. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiiiiiii"].apply(null, arguments);
  25249. });
  25250. var dynCall_iiiiiifiif = Module["dynCall_iiiiiifiif"] = (function() {
  25251. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25252. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25253. return Module["asm"]["dynCall_iiiiiifiif"].apply(null, arguments);
  25254. });
  25255. var dynCall_iiiiiifiii = Module["dynCall_iiiiiifiii"] = (function() {
  25256. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25257. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25258. return Module["asm"]["dynCall_iiiiiifiii"].apply(null, arguments);
  25259. });
  25260. var dynCall_iiiiiii = Module["dynCall_iiiiiii"] = (function() {
  25261. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25262. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25263. return Module["asm"]["dynCall_iiiiiii"].apply(null, arguments);
  25264. });
  25265. var dynCall_iiiiiiifiif = Module["dynCall_iiiiiiifiif"] = (function() {
  25266. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25267. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25268. return Module["asm"]["dynCall_iiiiiiifiif"].apply(null, arguments);
  25269. });
  25270. var dynCall_iiiiiiii = Module["dynCall_iiiiiiii"] = (function() {
  25271. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25272. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25273. return Module["asm"]["dynCall_iiiiiiii"].apply(null, arguments);
  25274. });
  25275. var dynCall_iiiiiiiii = Module["dynCall_iiiiiiiii"] = (function() {
  25276. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25277. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25278. return Module["asm"]["dynCall_iiiiiiiii"].apply(null, arguments);
  25279. });
  25280. var dynCall_iiiiiiiiii = Module["dynCall_iiiiiiiiii"] = (function() {
  25281. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25282. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25283. return Module["asm"]["dynCall_iiiiiiiiii"].apply(null, arguments);
  25284. });
  25285. var dynCall_iiiiiiiiiii = Module["dynCall_iiiiiiiiiii"] = (function() {
  25286. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25287. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25288. return Module["asm"]["dynCall_iiiiiiiiiii"].apply(null, arguments);
  25289. });
  25290. var dynCall_iiiiiiiiiiii = Module["dynCall_iiiiiiiiiiii"] = (function() {
  25291. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25292. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25293. return Module["asm"]["dynCall_iiiiiiiiiiii"].apply(null, arguments);
  25294. });
  25295. var dynCall_iiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiii"] = (function() {
  25296. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25297. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25298. return Module["asm"]["dynCall_iiiiiiiiiiiii"].apply(null, arguments);
  25299. });
  25300. var dynCall_iiiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiiii"] = (function() {
  25301. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25302. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25303. return Module["asm"]["dynCall_iiiiiiiiiiiiii"].apply(null, arguments);
  25304. });
  25305. var dynCall_iiiiiji = Module["dynCall_iiiiiji"] = (function() {
  25306. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25307. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25308. return Module["asm"]["dynCall_iiiiiji"].apply(null, arguments);
  25309. });
  25310. var dynCall_iiiij = Module["dynCall_iiiij"] = (function() {
  25311. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25312. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25313. return Module["asm"]["dynCall_iiiij"].apply(null, arguments);
  25314. });
  25315. var dynCall_iiiiji = Module["dynCall_iiiiji"] = (function() {
  25316. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25317. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25318. return Module["asm"]["dynCall_iiiiji"].apply(null, arguments);
  25319. });
  25320. var dynCall_iiiijii = Module["dynCall_iiiijii"] = (function() {
  25321. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25322. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25323. return Module["asm"]["dynCall_iiiijii"].apply(null, arguments);
  25324. });
  25325. var dynCall_iiiijiii = Module["dynCall_iiiijiii"] = (function() {
  25326. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25327. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25328. return Module["asm"]["dynCall_iiiijiii"].apply(null, arguments);
  25329. });
  25330. var dynCall_iiij = Module["dynCall_iiij"] = (function() {
  25331. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25332. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25333. return Module["asm"]["dynCall_iiij"].apply(null, arguments);
  25334. });
  25335. var dynCall_iiiji = Module["dynCall_iiiji"] = (function() {
  25336. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25337. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25338. return Module["asm"]["dynCall_iiiji"].apply(null, arguments);
  25339. });
  25340. var dynCall_iiijii = Module["dynCall_iiijii"] = (function() {
  25341. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25342. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25343. return Module["asm"]["dynCall_iiijii"].apply(null, arguments);
  25344. });
  25345. var dynCall_iiijiii = Module["dynCall_iiijiii"] = (function() {
  25346. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25347. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25348. return Module["asm"]["dynCall_iiijiii"].apply(null, arguments);
  25349. });
  25350. var dynCall_iiijji = Module["dynCall_iiijji"] = (function() {
  25351. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25352. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25353. return Module["asm"]["dynCall_iiijji"].apply(null, arguments);
  25354. });
  25355. var dynCall_iiijjiiii = Module["dynCall_iiijjiiii"] = (function() {
  25356. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25357. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25358. return Module["asm"]["dynCall_iiijjiiii"].apply(null, arguments);
  25359. });
  25360. var dynCall_iij = Module["dynCall_iij"] = (function() {
  25361. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25362. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25363. return Module["asm"]["dynCall_iij"].apply(null, arguments);
  25364. });
  25365. var dynCall_iiji = Module["dynCall_iiji"] = (function() {
  25366. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25367. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25368. return Module["asm"]["dynCall_iiji"].apply(null, arguments);
  25369. });
  25370. var dynCall_iijii = Module["dynCall_iijii"] = (function() {
  25371. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25372. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25373. return Module["asm"]["dynCall_iijii"].apply(null, arguments);
  25374. });
  25375. var dynCall_iijiii = Module["dynCall_iijiii"] = (function() {
  25376. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25377. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25378. return Module["asm"]["dynCall_iijiii"].apply(null, arguments);
  25379. });
  25380. var dynCall_iijji = Module["dynCall_iijji"] = (function() {
  25381. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25382. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25383. return Module["asm"]["dynCall_iijji"].apply(null, arguments);
  25384. });
  25385. var dynCall_iijjii = Module["dynCall_iijjii"] = (function() {
  25386. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25387. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25388. return Module["asm"]["dynCall_iijjii"].apply(null, arguments);
  25389. });
  25390. var dynCall_iijjiii = Module["dynCall_iijjiii"] = (function() {
  25391. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25392. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25393. return Module["asm"]["dynCall_iijjiii"].apply(null, arguments);
  25394. });
  25395. var dynCall_iijjji = Module["dynCall_iijjji"] = (function() {
  25396. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25397. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25398. return Module["asm"]["dynCall_iijjji"].apply(null, arguments);
  25399. });
  25400. var dynCall_ij = Module["dynCall_ij"] = (function() {
  25401. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25402. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25403. return Module["asm"]["dynCall_ij"].apply(null, arguments);
  25404. });
  25405. var dynCall_iji = Module["dynCall_iji"] = (function() {
  25406. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25407. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25408. return Module["asm"]["dynCall_iji"].apply(null, arguments);
  25409. });
  25410. var dynCall_ijiii = Module["dynCall_ijiii"] = (function() {
  25411. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25412. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25413. return Module["asm"]["dynCall_ijiii"].apply(null, arguments);
  25414. });
  25415. var dynCall_ijj = Module["dynCall_ijj"] = (function() {
  25416. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25417. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25418. return Module["asm"]["dynCall_ijj"].apply(null, arguments);
  25419. });
  25420. var dynCall_ijji = Module["dynCall_ijji"] = (function() {
  25421. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25422. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25423. return Module["asm"]["dynCall_ijji"].apply(null, arguments);
  25424. });
  25425. var dynCall_j = Module["dynCall_j"] = (function() {
  25426. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25427. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25428. return Module["asm"]["dynCall_j"].apply(null, arguments);
  25429. });
  25430. var dynCall_jdi = Module["dynCall_jdi"] = (function() {
  25431. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25432. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25433. return Module["asm"]["dynCall_jdi"].apply(null, arguments);
  25434. });
  25435. var dynCall_jdii = Module["dynCall_jdii"] = (function() {
  25436. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25437. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25438. return Module["asm"]["dynCall_jdii"].apply(null, arguments);
  25439. });
  25440. var dynCall_jfi = Module["dynCall_jfi"] = (function() {
  25441. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25442. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25443. return Module["asm"]["dynCall_jfi"].apply(null, arguments);
  25444. });
  25445. var dynCall_ji = Module["dynCall_ji"] = (function() {
  25446. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25447. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25448. return Module["asm"]["dynCall_ji"].apply(null, arguments);
  25449. });
  25450. var dynCall_jidi = Module["dynCall_jidi"] = (function() {
  25451. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25452. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25453. return Module["asm"]["dynCall_jidi"].apply(null, arguments);
  25454. });
  25455. var dynCall_jidii = Module["dynCall_jidii"] = (function() {
  25456. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25457. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25458. return Module["asm"]["dynCall_jidii"].apply(null, arguments);
  25459. });
  25460. var dynCall_jii = Module["dynCall_jii"] = (function() {
  25461. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25462. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25463. return Module["asm"]["dynCall_jii"].apply(null, arguments);
  25464. });
  25465. var dynCall_jiii = Module["dynCall_jiii"] = (function() {
  25466. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25467. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25468. return Module["asm"]["dynCall_jiii"].apply(null, arguments);
  25469. });
  25470. var dynCall_jiiii = Module["dynCall_jiiii"] = (function() {
  25471. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25472. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25473. return Module["asm"]["dynCall_jiiii"].apply(null, arguments);
  25474. });
  25475. var dynCall_jiiiii = Module["dynCall_jiiiii"] = (function() {
  25476. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25477. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25478. return Module["asm"]["dynCall_jiiiii"].apply(null, arguments);
  25479. });
  25480. var dynCall_jiiiiii = Module["dynCall_jiiiiii"] = (function() {
  25481. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25482. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25483. return Module["asm"]["dynCall_jiiiiii"].apply(null, arguments);
  25484. });
  25485. var dynCall_jiiiiiiiiii = Module["dynCall_jiiiiiiiiii"] = (function() {
  25486. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25487. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25488. return Module["asm"]["dynCall_jiiiiiiiiii"].apply(null, arguments);
  25489. });
  25490. var dynCall_jiiji = Module["dynCall_jiiji"] = (function() {
  25491. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25492. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25493. return Module["asm"]["dynCall_jiiji"].apply(null, arguments);
  25494. });
  25495. var dynCall_jiji = Module["dynCall_jiji"] = (function() {
  25496. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25497. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25498. return Module["asm"]["dynCall_jiji"].apply(null, arguments);
  25499. });
  25500. var dynCall_jijii = Module["dynCall_jijii"] = (function() {
  25501. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25502. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25503. return Module["asm"]["dynCall_jijii"].apply(null, arguments);
  25504. });
  25505. var dynCall_jijiii = Module["dynCall_jijiii"] = (function() {
  25506. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25507. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25508. return Module["asm"]["dynCall_jijiii"].apply(null, arguments);
  25509. });
  25510. var dynCall_jijj = Module["dynCall_jijj"] = (function() {
  25511. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25512. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25513. return Module["asm"]["dynCall_jijj"].apply(null, arguments);
  25514. });
  25515. var dynCall_jijji = Module["dynCall_jijji"] = (function() {
  25516. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25517. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25518. return Module["asm"]["dynCall_jijji"].apply(null, arguments);
  25519. });
  25520. var dynCall_jji = Module["dynCall_jji"] = (function() {
  25521. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25522. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25523. return Module["asm"]["dynCall_jji"].apply(null, arguments);
  25524. });
  25525. var dynCall_v = Module["dynCall_v"] = (function() {
  25526. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25527. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25528. return Module["asm"]["dynCall_v"].apply(null, arguments);
  25529. });
  25530. var dynCall_vd = Module["dynCall_vd"] = (function() {
  25531. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25532. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25533. return Module["asm"]["dynCall_vd"].apply(null, arguments);
  25534. });
  25535. var dynCall_vf = Module["dynCall_vf"] = (function() {
  25536. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25537. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25538. return Module["asm"]["dynCall_vf"].apply(null, arguments);
  25539. });
  25540. var dynCall_vff = Module["dynCall_vff"] = (function() {
  25541. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25542. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25543. return Module["asm"]["dynCall_vff"].apply(null, arguments);
  25544. });
  25545. var dynCall_vffff = Module["dynCall_vffff"] = (function() {
  25546. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25547. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25548. return Module["asm"]["dynCall_vffff"].apply(null, arguments);
  25549. });
  25550. var dynCall_vfi = Module["dynCall_vfi"] = (function() {
  25551. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25552. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25553. return Module["asm"]["dynCall_vfi"].apply(null, arguments);
  25554. });
  25555. var dynCall_vi = Module["dynCall_vi"] = (function() {
  25556. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25557. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25558. return Module["asm"]["dynCall_vi"].apply(null, arguments);
  25559. });
  25560. var dynCall_vid = Module["dynCall_vid"] = (function() {
  25561. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25562. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25563. return Module["asm"]["dynCall_vid"].apply(null, arguments);
  25564. });
  25565. var dynCall_vidi = Module["dynCall_vidi"] = (function() {
  25566. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25567. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25568. return Module["asm"]["dynCall_vidi"].apply(null, arguments);
  25569. });
  25570. var dynCall_vif = Module["dynCall_vif"] = (function() {
  25571. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25572. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25573. return Module["asm"]["dynCall_vif"].apply(null, arguments);
  25574. });
  25575. var dynCall_viff = Module["dynCall_viff"] = (function() {
  25576. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25577. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25578. return Module["asm"]["dynCall_viff"].apply(null, arguments);
  25579. });
  25580. var dynCall_vifff = Module["dynCall_vifff"] = (function() {
  25581. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25582. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25583. return Module["asm"]["dynCall_vifff"].apply(null, arguments);
  25584. });
  25585. var dynCall_viffff = Module["dynCall_viffff"] = (function() {
  25586. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25587. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25588. return Module["asm"]["dynCall_viffff"].apply(null, arguments);
  25589. });
  25590. var dynCall_viffffi = Module["dynCall_viffffi"] = (function() {
  25591. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25592. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25593. return Module["asm"]["dynCall_viffffi"].apply(null, arguments);
  25594. });
  25595. var dynCall_viffffii = Module["dynCall_viffffii"] = (function() {
  25596. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25597. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25598. return Module["asm"]["dynCall_viffffii"].apply(null, arguments);
  25599. });
  25600. var dynCall_viffffiifffiiiiif = Module["dynCall_viffffiifffiiiiif"] = (function() {
  25601. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25602. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25603. return Module["asm"]["dynCall_viffffiifffiiiiif"].apply(null, arguments);
  25604. });
  25605. var dynCall_viffffiii = Module["dynCall_viffffiii"] = (function() {
  25606. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25607. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25608. return Module["asm"]["dynCall_viffffiii"].apply(null, arguments);
  25609. });
  25610. var dynCall_vifffi = Module["dynCall_vifffi"] = (function() {
  25611. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25612. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25613. return Module["asm"]["dynCall_vifffi"].apply(null, arguments);
  25614. });
  25615. var dynCall_vifffii = Module["dynCall_vifffii"] = (function() {
  25616. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25617. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25618. return Module["asm"]["dynCall_vifffii"].apply(null, arguments);
  25619. });
  25620. var dynCall_viffi = Module["dynCall_viffi"] = (function() {
  25621. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25622. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25623. return Module["asm"]["dynCall_viffi"].apply(null, arguments);
  25624. });
  25625. var dynCall_viffii = Module["dynCall_viffii"] = (function() {
  25626. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25627. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25628. return Module["asm"]["dynCall_viffii"].apply(null, arguments);
  25629. });
  25630. var dynCall_viffiifffffiii = Module["dynCall_viffiifffffiii"] = (function() {
  25631. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25632. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25633. return Module["asm"]["dynCall_viffiifffffiii"].apply(null, arguments);
  25634. });
  25635. var dynCall_viffiii = Module["dynCall_viffiii"] = (function() {
  25636. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25637. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25638. return Module["asm"]["dynCall_viffiii"].apply(null, arguments);
  25639. });
  25640. var dynCall_viffiiiif = Module["dynCall_viffiiiif"] = (function() {
  25641. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25642. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25643. return Module["asm"]["dynCall_viffiiiif"].apply(null, arguments);
  25644. });
  25645. var dynCall_vifi = Module["dynCall_vifi"] = (function() {
  25646. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25647. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25648. return Module["asm"]["dynCall_vifi"].apply(null, arguments);
  25649. });
  25650. var dynCall_vifii = Module["dynCall_vifii"] = (function() {
  25651. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25652. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25653. return Module["asm"]["dynCall_vifii"].apply(null, arguments);
  25654. });
  25655. var dynCall_vifiiii = Module["dynCall_vifiiii"] = (function() {
  25656. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25657. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25658. return Module["asm"]["dynCall_vifiiii"].apply(null, arguments);
  25659. });
  25660. var dynCall_vifijii = Module["dynCall_vifijii"] = (function() {
  25661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25663. return Module["asm"]["dynCall_vifijii"].apply(null, arguments);
  25664. });
  25665. var dynCall_vii = Module["dynCall_vii"] = (function() {
  25666. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25667. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25668. return Module["asm"]["dynCall_vii"].apply(null, arguments);
  25669. });
  25670. var dynCall_viid = Module["dynCall_viid"] = (function() {
  25671. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25672. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25673. return Module["asm"]["dynCall_viid"].apply(null, arguments);
  25674. });
  25675. var dynCall_viidi = Module["dynCall_viidi"] = (function() {
  25676. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25677. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25678. return Module["asm"]["dynCall_viidi"].apply(null, arguments);
  25679. });
  25680. var dynCall_viidii = Module["dynCall_viidii"] = (function() {
  25681. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25682. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25683. return Module["asm"]["dynCall_viidii"].apply(null, arguments);
  25684. });
  25685. var dynCall_viif = Module["dynCall_viif"] = (function() {
  25686. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25687. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25688. return Module["asm"]["dynCall_viif"].apply(null, arguments);
  25689. });
  25690. var dynCall_viiff = Module["dynCall_viiff"] = (function() {
  25691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25693. return Module["asm"]["dynCall_viiff"].apply(null, arguments);
  25694. });
  25695. var dynCall_viifff = Module["dynCall_viifff"] = (function() {
  25696. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25697. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25698. return Module["asm"]["dynCall_viifff"].apply(null, arguments);
  25699. });
  25700. var dynCall_viifffi = Module["dynCall_viifffi"] = (function() {
  25701. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25702. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25703. return Module["asm"]["dynCall_viifffi"].apply(null, arguments);
  25704. });
  25705. var dynCall_viiffi = Module["dynCall_viiffi"] = (function() {
  25706. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25707. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25708. return Module["asm"]["dynCall_viiffi"].apply(null, arguments);
  25709. });
  25710. var dynCall_viiffii = Module["dynCall_viiffii"] = (function() {
  25711. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25712. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25713. return Module["asm"]["dynCall_viiffii"].apply(null, arguments);
  25714. });
  25715. var dynCall_viifi = Module["dynCall_viifi"] = (function() {
  25716. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25717. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25718. return Module["asm"]["dynCall_viifi"].apply(null, arguments);
  25719. });
  25720. var dynCall_viifii = Module["dynCall_viifii"] = (function() {
  25721. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25722. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25723. return Module["asm"]["dynCall_viifii"].apply(null, arguments);
  25724. });
  25725. var dynCall_viifiii = Module["dynCall_viifiii"] = (function() {
  25726. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25727. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25728. return Module["asm"]["dynCall_viifiii"].apply(null, arguments);
  25729. });
  25730. var dynCall_viifiiii = Module["dynCall_viifiiii"] = (function() {
  25731. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25732. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25733. return Module["asm"]["dynCall_viifiiii"].apply(null, arguments);
  25734. });
  25735. var dynCall_viii = Module["dynCall_viii"] = (function() {
  25736. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25737. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25738. return Module["asm"]["dynCall_viii"].apply(null, arguments);
  25739. });
  25740. var dynCall_viiidi = Module["dynCall_viiidi"] = (function() {
  25741. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25742. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25743. return Module["asm"]["dynCall_viiidi"].apply(null, arguments);
  25744. });
  25745. var dynCall_viiifffi = Module["dynCall_viiifffi"] = (function() {
  25746. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25747. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25748. return Module["asm"]["dynCall_viiifffi"].apply(null, arguments);
  25749. });
  25750. var dynCall_viiiffi = Module["dynCall_viiiffi"] = (function() {
  25751. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25752. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25753. return Module["asm"]["dynCall_viiiffi"].apply(null, arguments);
  25754. });
  25755. var dynCall_viiiffii = Module["dynCall_viiiffii"] = (function() {
  25756. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25757. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25758. return Module["asm"]["dynCall_viiiffii"].apply(null, arguments);
  25759. });
  25760. var dynCall_viiifi = Module["dynCall_viiifi"] = (function() {
  25761. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25762. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25763. return Module["asm"]["dynCall_viiifi"].apply(null, arguments);
  25764. });
  25765. var dynCall_viiifii = Module["dynCall_viiifii"] = (function() {
  25766. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25767. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25768. return Module["asm"]["dynCall_viiifii"].apply(null, arguments);
  25769. });
  25770. var dynCall_viiifiii = Module["dynCall_viiifiii"] = (function() {
  25771. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25772. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25773. return Module["asm"]["dynCall_viiifiii"].apply(null, arguments);
  25774. });
  25775. var dynCall_viiifiiiii = Module["dynCall_viiifiiiii"] = (function() {
  25776. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25777. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25778. return Module["asm"]["dynCall_viiifiiiii"].apply(null, arguments);
  25779. });
  25780. var dynCall_viiii = Module["dynCall_viiii"] = (function() {
  25781. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25782. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25783. return Module["asm"]["dynCall_viiii"].apply(null, arguments);
  25784. });
  25785. var dynCall_viiiif = Module["dynCall_viiiif"] = (function() {
  25786. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25787. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25788. return Module["asm"]["dynCall_viiiif"].apply(null, arguments);
  25789. });
  25790. var dynCall_viiiifii = Module["dynCall_viiiifii"] = (function() {
  25791. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25792. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25793. return Module["asm"]["dynCall_viiiifii"].apply(null, arguments);
  25794. });
  25795. var dynCall_viiiifiiiiif = Module["dynCall_viiiifiiiiif"] = (function() {
  25796. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25797. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25798. return Module["asm"]["dynCall_viiiifiiiiif"].apply(null, arguments);
  25799. });
  25800. var dynCall_viiiii = Module["dynCall_viiiii"] = (function() {
  25801. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25802. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25803. return Module["asm"]["dynCall_viiiii"].apply(null, arguments);
  25804. });
  25805. var dynCall_viiiiif = Module["dynCall_viiiiif"] = (function() {
  25806. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25807. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25808. return Module["asm"]["dynCall_viiiiif"].apply(null, arguments);
  25809. });
  25810. var dynCall_viiiiiffi = Module["dynCall_viiiiiffi"] = (function() {
  25811. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25812. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25813. return Module["asm"]["dynCall_viiiiiffi"].apply(null, arguments);
  25814. });
  25815. var dynCall_viiiiiffii = Module["dynCall_viiiiiffii"] = (function() {
  25816. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25817. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25818. return Module["asm"]["dynCall_viiiiiffii"].apply(null, arguments);
  25819. });
  25820. var dynCall_viiiiifi = Module["dynCall_viiiiifi"] = (function() {
  25821. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25822. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25823. return Module["asm"]["dynCall_viiiiifi"].apply(null, arguments);
  25824. });
  25825. var dynCall_viiiiii = Module["dynCall_viiiiii"] = (function() {
  25826. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25827. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25828. return Module["asm"]["dynCall_viiiiii"].apply(null, arguments);
  25829. });
  25830. var dynCall_viiiiiif = Module["dynCall_viiiiiif"] = (function() {
  25831. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25832. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25833. return Module["asm"]["dynCall_viiiiiif"].apply(null, arguments);
  25834. });
  25835. var dynCall_viiiiiii = Module["dynCall_viiiiiii"] = (function() {
  25836. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25837. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25838. return Module["asm"]["dynCall_viiiiiii"].apply(null, arguments);
  25839. });
  25840. var dynCall_viiiiiiifi = Module["dynCall_viiiiiiifi"] = (function() {
  25841. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25842. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25843. return Module["asm"]["dynCall_viiiiiiifi"].apply(null, arguments);
  25844. });
  25845. var dynCall_viiiiiiii = Module["dynCall_viiiiiiii"] = (function() {
  25846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25848. return Module["asm"]["dynCall_viiiiiiii"].apply(null, arguments);
  25849. });
  25850. var dynCall_viiiiiiiii = Module["dynCall_viiiiiiiii"] = (function() {
  25851. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25852. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25853. return Module["asm"]["dynCall_viiiiiiiii"].apply(null, arguments);
  25854. });
  25855. var dynCall_viiiiiiiiii = Module["dynCall_viiiiiiiiii"] = (function() {
  25856. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25857. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25858. return Module["asm"]["dynCall_viiiiiiiiii"].apply(null, arguments);
  25859. });
  25860. var dynCall_viiiiiiiiiii = Module["dynCall_viiiiiiiiiii"] = (function() {
  25861. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25862. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25863. return Module["asm"]["dynCall_viiiiiiiiiii"].apply(null, arguments);
  25864. });
  25865. var dynCall_viiiiiiiiiiifii = Module["dynCall_viiiiiiiiiiifii"] = (function() {
  25866. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25867. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25868. return Module["asm"]["dynCall_viiiiiiiiiiifii"].apply(null, arguments);
  25869. });
  25870. var dynCall_viiiiiiiiiiii = Module["dynCall_viiiiiiiiiiii"] = (function() {
  25871. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25872. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25873. return Module["asm"]["dynCall_viiiiiiiiiiii"].apply(null, arguments);
  25874. });
  25875. var dynCall_viiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiii"] = (function() {
  25876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25878. return Module["asm"]["dynCall_viiiiiiiiiiiiii"].apply(null, arguments);
  25879. });
  25880. var dynCall_viiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiii"] = (function() {
  25881. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25882. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25883. return Module["asm"]["dynCall_viiiiiiiiiiiiiii"].apply(null, arguments);
  25884. });
  25885. var dynCall_viiiiiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiiiiii"] = (function() {
  25886. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25887. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25888. return Module["asm"]["dynCall_viiiiiiiiiiiiiiiiii"].apply(null, arguments);
  25889. });
  25890. var dynCall_viiiiiji = Module["dynCall_viiiiiji"] = (function() {
  25891. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25892. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25893. return Module["asm"]["dynCall_viiiiiji"].apply(null, arguments);
  25894. });
  25895. var dynCall_viiiij = Module["dynCall_viiiij"] = (function() {
  25896. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25897. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25898. return Module["asm"]["dynCall_viiiij"].apply(null, arguments);
  25899. });
  25900. var dynCall_viiiijiiii = Module["dynCall_viiiijiiii"] = (function() {
  25901. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25902. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25903. return Module["asm"]["dynCall_viiiijiiii"].apply(null, arguments);
  25904. });
  25905. var dynCall_viiiji = Module["dynCall_viiiji"] = (function() {
  25906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25908. return Module["asm"]["dynCall_viiiji"].apply(null, arguments);
  25909. });
  25910. var dynCall_viiijji = Module["dynCall_viiijji"] = (function() {
  25911. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25912. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25913. return Module["asm"]["dynCall_viiijji"].apply(null, arguments);
  25914. });
  25915. var dynCall_viij = Module["dynCall_viij"] = (function() {
  25916. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25917. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25918. return Module["asm"]["dynCall_viij"].apply(null, arguments);
  25919. });
  25920. var dynCall_viiji = Module["dynCall_viiji"] = (function() {
  25921. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25922. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25923. return Module["asm"]["dynCall_viiji"].apply(null, arguments);
  25924. });
  25925. var dynCall_viijii = Module["dynCall_viijii"] = (function() {
  25926. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25927. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25928. return Module["asm"]["dynCall_viijii"].apply(null, arguments);
  25929. });
  25930. var dynCall_viijiijiii = Module["dynCall_viijiijiii"] = (function() {
  25931. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25932. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25933. return Module["asm"]["dynCall_viijiijiii"].apply(null, arguments);
  25934. });
  25935. var dynCall_viijijii = Module["dynCall_viijijii"] = (function() {
  25936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25938. return Module["asm"]["dynCall_viijijii"].apply(null, arguments);
  25939. });
  25940. var dynCall_viijijiii = Module["dynCall_viijijiii"] = (function() {
  25941. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25942. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25943. return Module["asm"]["dynCall_viijijiii"].apply(null, arguments);
  25944. });
  25945. var dynCall_viijijj = Module["dynCall_viijijj"] = (function() {
  25946. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25947. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25948. return Module["asm"]["dynCall_viijijj"].apply(null, arguments);
  25949. });
  25950. var dynCall_viijj = Module["dynCall_viijj"] = (function() {
  25951. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25952. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25953. return Module["asm"]["dynCall_viijj"].apply(null, arguments);
  25954. });
  25955. var dynCall_viijji = Module["dynCall_viijji"] = (function() {
  25956. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25957. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25958. return Module["asm"]["dynCall_viijji"].apply(null, arguments);
  25959. });
  25960. var dynCall_viijjii = Module["dynCall_viijjii"] = (function() {
  25961. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25962. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25963. return Module["asm"]["dynCall_viijjii"].apply(null, arguments);
  25964. });
  25965. var dynCall_viijjiii = Module["dynCall_viijjiii"] = (function() {
  25966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25968. return Module["asm"]["dynCall_viijjiii"].apply(null, arguments);
  25969. });
  25970. var dynCall_viijjji = Module["dynCall_viijjji"] = (function() {
  25971. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25972. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25973. return Module["asm"]["dynCall_viijjji"].apply(null, arguments);
  25974. });
  25975. var dynCall_vij = Module["dynCall_vij"] = (function() {
  25976. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25977. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25978. return Module["asm"]["dynCall_vij"].apply(null, arguments);
  25979. });
  25980. var dynCall_viji = Module["dynCall_viji"] = (function() {
  25981. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25982. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25983. return Module["asm"]["dynCall_viji"].apply(null, arguments);
  25984. });
  25985. var dynCall_vijii = Module["dynCall_vijii"] = (function() {
  25986. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25987. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25988. return Module["asm"]["dynCall_vijii"].apply(null, arguments);
  25989. });
  25990. var dynCall_vijiii = Module["dynCall_vijiii"] = (function() {
  25991. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25992. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25993. return Module["asm"]["dynCall_vijiii"].apply(null, arguments);
  25994. });
  25995. var dynCall_vijiji = Module["dynCall_vijiji"] = (function() {
  25996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25998. return Module["asm"]["dynCall_vijiji"].apply(null, arguments);
  25999. });
  26000. var dynCall_vijijji = Module["dynCall_vijijji"] = (function() {
  26001. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26002. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26003. return Module["asm"]["dynCall_vijijji"].apply(null, arguments);
  26004. });
  26005. var dynCall_vijji = Module["dynCall_vijji"] = (function() {
  26006. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26007. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26008. return Module["asm"]["dynCall_vijji"].apply(null, arguments);
  26009. });
  26010. var dynCall_vijjii = Module["dynCall_vijjii"] = (function() {
  26011. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26012. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26013. return Module["asm"]["dynCall_vijjii"].apply(null, arguments);
  26014. });
  26015. var dynCall_vijjji = Module["dynCall_vijjji"] = (function() {
  26016. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26017. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26018. return Module["asm"]["dynCall_vijjji"].apply(null, arguments);
  26019. });
  26020. var dynCall_vjiiii = Module["dynCall_vjiiii"] = (function() {
  26021. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26022. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26023. return Module["asm"]["dynCall_vjiiii"].apply(null, arguments);
  26024. });
  26025. var dynCall_vjji = Module["dynCall_vjji"] = (function() {
  26026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26028. return Module["asm"]["dynCall_vjji"].apply(null, arguments);
  26029. });
  26030. Module["asm"] = asm;
  26031. if (!Module["intArrayFromString"]) Module["intArrayFromString"] = (function() {
  26032. abort("'intArrayFromString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26033. });
  26034. if (!Module["intArrayToString"]) Module["intArrayToString"] = (function() {
  26035. abort("'intArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26036. });
  26037. Module["ccall"] = ccall;
  26038. Module["cwrap"] = cwrap;
  26039. if (!Module["setValue"]) Module["setValue"] = (function() {
  26040. abort("'setValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26041. });
  26042. if (!Module["getValue"]) Module["getValue"] = (function() {
  26043. abort("'getValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26044. });
  26045. if (!Module["allocate"]) Module["allocate"] = (function() {
  26046. abort("'allocate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26047. });
  26048. if (!Module["getMemory"]) Module["getMemory"] = (function() {
  26049. abort("'getMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26050. });
  26051. if (!Module["Pointer_stringify"]) Module["Pointer_stringify"] = (function() {
  26052. abort("'Pointer_stringify' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26053. });
  26054. if (!Module["AsciiToString"]) Module["AsciiToString"] = (function() {
  26055. abort("'AsciiToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26056. });
  26057. if (!Module["stringToAscii"]) Module["stringToAscii"] = (function() {
  26058. abort("'stringToAscii' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26059. });
  26060. if (!Module["UTF8ArrayToString"]) Module["UTF8ArrayToString"] = (function() {
  26061. abort("'UTF8ArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26062. });
  26063. if (!Module["UTF8ToString"]) Module["UTF8ToString"] = (function() {
  26064. abort("'UTF8ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26065. });
  26066. if (!Module["stringToUTF8Array"]) Module["stringToUTF8Array"] = (function() {
  26067. abort("'stringToUTF8Array' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26068. });
  26069. if (!Module["stringToUTF8"]) Module["stringToUTF8"] = (function() {
  26070. abort("'stringToUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26071. });
  26072. if (!Module["lengthBytesUTF8"]) Module["lengthBytesUTF8"] = (function() {
  26073. abort("'lengthBytesUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26074. });
  26075. if (!Module["UTF16ToString"]) Module["UTF16ToString"] = (function() {
  26076. abort("'UTF16ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26077. });
  26078. if (!Module["stringToUTF16"]) Module["stringToUTF16"] = (function() {
  26079. abort("'stringToUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26080. });
  26081. if (!Module["lengthBytesUTF16"]) Module["lengthBytesUTF16"] = (function() {
  26082. abort("'lengthBytesUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26083. });
  26084. if (!Module["UTF32ToString"]) Module["UTF32ToString"] = (function() {
  26085. abort("'UTF32ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26086. });
  26087. if (!Module["stringToUTF32"]) Module["stringToUTF32"] = (function() {
  26088. abort("'stringToUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26089. });
  26090. if (!Module["lengthBytesUTF32"]) Module["lengthBytesUTF32"] = (function() {
  26091. abort("'lengthBytesUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26092. });
  26093. if (!Module["allocateUTF8"]) Module["allocateUTF8"] = (function() {
  26094. abort("'allocateUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26095. });
  26096. Module["stackTrace"] = stackTrace;
  26097. if (!Module["addOnPreRun"]) Module["addOnPreRun"] = (function() {
  26098. abort("'addOnPreRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26099. });
  26100. if (!Module["addOnInit"]) Module["addOnInit"] = (function() {
  26101. abort("'addOnInit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26102. });
  26103. if (!Module["addOnPreMain"]) Module["addOnPreMain"] = (function() {
  26104. abort("'addOnPreMain' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26105. });
  26106. if (!Module["addOnExit"]) Module["addOnExit"] = (function() {
  26107. abort("'addOnExit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26108. });
  26109. if (!Module["addOnPostRun"]) Module["addOnPostRun"] = (function() {
  26110. abort("'addOnPostRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26111. });
  26112. if (!Module["writeStringToMemory"]) Module["writeStringToMemory"] = (function() {
  26113. abort("'writeStringToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26114. });
  26115. if (!Module["writeArrayToMemory"]) Module["writeArrayToMemory"] = (function() {
  26116. abort("'writeArrayToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26117. });
  26118. if (!Module["writeAsciiToMemory"]) Module["writeAsciiToMemory"] = (function() {
  26119. abort("'writeAsciiToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26120. });
  26121. Module["addRunDependency"] = addRunDependency;
  26122. Module["removeRunDependency"] = removeRunDependency;
  26123. if (!Module["ENV"]) Module["ENV"] = (function() {
  26124. abort("'ENV' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26125. });
  26126. if (!Module["FS"]) Module["FS"] = (function() {
  26127. abort("'FS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26128. });
  26129. if (!Module["FS_createFolder"]) Module["FS_createFolder"] = (function() {
  26130. abort("'FS_createFolder' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26131. });
  26132. Module["FS_createPath"] = FS.createPath;
  26133. Module["FS_createDataFile"] = FS.createDataFile;
  26134. if (!Module["FS_createPreloadedFile"]) Module["FS_createPreloadedFile"] = (function() {
  26135. abort("'FS_createPreloadedFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26136. });
  26137. if (!Module["FS_createLazyFile"]) Module["FS_createLazyFile"] = (function() {
  26138. abort("'FS_createLazyFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26139. });
  26140. if (!Module["FS_createLink"]) Module["FS_createLink"] = (function() {
  26141. abort("'FS_createLink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26142. });
  26143. if (!Module["FS_createDevice"]) Module["FS_createDevice"] = (function() {
  26144. abort("'FS_createDevice' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26145. });
  26146. if (!Module["FS_unlink"]) Module["FS_unlink"] = (function() {
  26147. abort("'FS_unlink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you");
  26148. });
  26149. if (!Module["GL"]) Module["GL"] = (function() {
  26150. abort("'GL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26151. });
  26152. if (!Module["staticAlloc"]) Module["staticAlloc"] = (function() {
  26153. abort("'staticAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26154. });
  26155. if (!Module["dynamicAlloc"]) Module["dynamicAlloc"] = (function() {
  26156. abort("'dynamicAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26157. });
  26158. if (!Module["warnOnce"]) Module["warnOnce"] = (function() {
  26159. abort("'warnOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26160. });
  26161. if (!Module["loadDynamicLibrary"]) Module["loadDynamicLibrary"] = (function() {
  26162. abort("'loadDynamicLibrary' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26163. });
  26164. if (!Module["loadWebAssemblyModule"]) Module["loadWebAssemblyModule"] = (function() {
  26165. abort("'loadWebAssemblyModule' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26166. });
  26167. if (!Module["getLEB"]) Module["getLEB"] = (function() {
  26168. abort("'getLEB' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26169. });
  26170. if (!Module["getFunctionTables"]) Module["getFunctionTables"] = (function() {
  26171. abort("'getFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26172. });
  26173. if (!Module["alignFunctionTables"]) Module["alignFunctionTables"] = (function() {
  26174. abort("'alignFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26175. });
  26176. if (!Module["registerFunctions"]) Module["registerFunctions"] = (function() {
  26177. abort("'registerFunctions' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26178. });
  26179. if (!Module["addFunction"]) Module["addFunction"] = (function() {
  26180. abort("'addFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26181. });
  26182. if (!Module["removeFunction"]) Module["removeFunction"] = (function() {
  26183. abort("'removeFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26184. });
  26185. if (!Module["getFuncWrapper"]) Module["getFuncWrapper"] = (function() {
  26186. abort("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26187. });
  26188. if (!Module["prettyPrint"]) Module["prettyPrint"] = (function() {
  26189. abort("'prettyPrint' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26190. });
  26191. if (!Module["makeBigInt"]) Module["makeBigInt"] = (function() {
  26192. abort("'makeBigInt' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26193. });
  26194. if (!Module["dynCall"]) Module["dynCall"] = (function() {
  26195. abort("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26196. });
  26197. if (!Module["getCompilerSetting"]) Module["getCompilerSetting"] = (function() {
  26198. abort("'getCompilerSetting' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26199. });
  26200. if (!Module["stackSave"]) Module["stackSave"] = (function() {
  26201. abort("'stackSave' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26202. });
  26203. if (!Module["stackRestore"]) Module["stackRestore"] = (function() {
  26204. abort("'stackRestore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26205. });
  26206. if (!Module["stackAlloc"]) Module["stackAlloc"] = (function() {
  26207. abort("'stackAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26208. });
  26209. if (!Module["establishStackSpace"]) Module["establishStackSpace"] = (function() {
  26210. abort("'establishStackSpace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26211. });
  26212. if (!Module["print"]) Module["print"] = (function() {
  26213. abort("'print' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26214. });
  26215. if (!Module["printErr"]) Module["printErr"] = (function() {
  26216. abort("'printErr' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26217. });
  26218. Module["writeStackCookie"] = writeStackCookie;
  26219. Module["checkStackCookie"] = checkStackCookie;
  26220. if (!Module["abortStackOverflow"]) Module["abortStackOverflow"] = (function() {
  26221. abort("'abortStackOverflow' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26222. });
  26223. if (!Module["ALLOC_NORMAL"]) Object.defineProperty(Module, "ALLOC_NORMAL", {
  26224. get: (function() {
  26225. abort("'ALLOC_NORMAL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26226. })
  26227. });
  26228. if (!Module["ALLOC_STACK"]) Object.defineProperty(Module, "ALLOC_STACK", {
  26229. get: (function() {
  26230. abort("'ALLOC_STACK' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26231. })
  26232. });
  26233. if (!Module["ALLOC_STATIC"]) Object.defineProperty(Module, "ALLOC_STATIC", {
  26234. get: (function() {
  26235. abort("'ALLOC_STATIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26236. })
  26237. });
  26238. if (!Module["ALLOC_DYNAMIC"]) Object.defineProperty(Module, "ALLOC_DYNAMIC", {
  26239. get: (function() {
  26240. abort("'ALLOC_DYNAMIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26241. })
  26242. });
  26243. if (!Module["ALLOC_NONE"]) Object.defineProperty(Module, "ALLOC_NONE", {
  26244. get: (function() {
  26245. abort("'ALLOC_NONE' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26246. })
  26247. });
  26248. function ExitStatus(status) {
  26249. this.name = "ExitStatus";
  26250. this.message = "Program terminated with exit(" + status + ")";
  26251. this.status = status;
  26252. }
  26253. ExitStatus.prototype = new Error;
  26254. ExitStatus.prototype.constructor = ExitStatus;
  26255. var initialStackTop;
  26256. var calledMain = false;
  26257. dependenciesFulfilled = function runCaller() {
  26258. if (!Module["calledRun"]) run();
  26259. if (!Module["calledRun"]) dependenciesFulfilled = runCaller;
  26260. };
  26261. Module["callMain"] = function callMain(args) {
  26262. assert(runDependencies == 0, "cannot call main when async dependencies remain! (listen on __ATMAIN__)");
  26263. assert(__ATPRERUN__.length == 0, "cannot call main when preRun functions remain to be called");
  26264. args = args || [];
  26265. ensureInitRuntime();
  26266. var argc = args.length + 1;
  26267. var argv = stackAlloc((argc + 1) * 4);
  26268. HEAP32[argv >> 2] = allocateUTF8OnStack(Module["thisProgram"]);
  26269. for (var i = 1; i < argc; i++) {
  26270. HEAP32[(argv >> 2) + i] = allocateUTF8OnStack(args[i - 1]);
  26271. }
  26272. HEAP32[(argv >> 2) + argc] = 0;
  26273. try {
  26274. var ret = Module["_main"](argc, argv, 0);
  26275. exit(ret, true);
  26276. } catch (e) {
  26277. if (e instanceof ExitStatus) {
  26278. return;
  26279. } else if (e == "SimulateInfiniteLoop") {
  26280. Module["noExitRuntime"] = true;
  26281. return;
  26282. } else {
  26283. var toLog = e;
  26284. if (e && typeof e === "object" && e.stack) {
  26285. toLog = [ e, e.stack ];
  26286. }
  26287. err("exception thrown: " + toLog);
  26288. Module["quit"](1, e);
  26289. }
  26290. } finally {
  26291. calledMain = true;
  26292. }
  26293. };
  26294. function run(args) {
  26295. args = args || Module["arguments"];
  26296. if (runDependencies > 0) {
  26297. return;
  26298. }
  26299. writeStackCookie();
  26300. preRun();
  26301. if (runDependencies > 0) return;
  26302. if (Module["calledRun"]) return;
  26303. function doRun() {
  26304. if (Module["calledRun"]) return;
  26305. Module["calledRun"] = true;
  26306. if (ABORT) return;
  26307. ensureInitRuntime();
  26308. preMain();
  26309. if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"]();
  26310. if (Module["_main"] && shouldRunNow) Module["callMain"](args);
  26311. postRun();
  26312. }
  26313. if (Module["setStatus"]) {
  26314. Module["setStatus"]("Running...");
  26315. setTimeout((function() {
  26316. setTimeout((function() {
  26317. Module["setStatus"]("");
  26318. }), 1);
  26319. doRun();
  26320. }), 1);
  26321. } else {
  26322. doRun();
  26323. }
  26324. checkStackCookie();
  26325. }
  26326. Module["run"] = run;
  26327. function checkUnflushedContent() {
  26328. var print = out;
  26329. var printErr = err;
  26330. var has = false;
  26331. out = err = (function(x) {
  26332. has = true;
  26333. });
  26334. try {
  26335. var flush = Module["_fflush"];
  26336. if (flush) flush(0);
  26337. var hasFS = true;
  26338. if (hasFS) {
  26339. [ "stdout", "stderr" ].forEach((function(name) {
  26340. var info = FS.analyzePath("/dev/" + name);
  26341. if (!info) return;
  26342. var stream = info.object;
  26343. var rdev = stream.rdev;
  26344. var tty = TTY.ttys[rdev];
  26345. if (tty && tty.output && tty.output.length) {
  26346. has = true;
  26347. }
  26348. }));
  26349. }
  26350. } catch (e) {}
  26351. out = print;
  26352. err = printErr;
  26353. if (has) {
  26354. warnOnce("stdio streams had content in them that was not flushed. you should set NO_EXIT_RUNTIME to 0 (see the FAQ), or make sure to emit a newline when you printf etc.");
  26355. }
  26356. }
  26357. function exit(status, implicit) {
  26358. checkUnflushedContent();
  26359. if (implicit && Module["noExitRuntime"] && status === 0) {
  26360. return;
  26361. }
  26362. if (Module["noExitRuntime"]) {
  26363. if (!implicit) {
  26364. err("exit(" + status + ") called, but NO_EXIT_RUNTIME is set, so halting execution but not exiting the runtime or preventing further async execution (build with NO_EXIT_RUNTIME=0, if you want a true shutdown)");
  26365. }
  26366. } else {
  26367. ABORT = true;
  26368. EXITSTATUS = status;
  26369. STACKTOP = initialStackTop;
  26370. exitRuntime();
  26371. if (Module["onExit"]) Module["onExit"](status);
  26372. }
  26373. Module["quit"](status, new ExitStatus(status));
  26374. }
  26375. var abortDecorators = [];
  26376. function abort(what) {
  26377. if (Module["onAbort"]) {
  26378. Module["onAbort"](what);
  26379. }
  26380. if (what !== undefined) {
  26381. out(what);
  26382. err(what);
  26383. what = JSON.stringify(what);
  26384. } else {
  26385. what = "";
  26386. }
  26387. ABORT = true;
  26388. EXITSTATUS = 1;
  26389. var extra = "";
  26390. var output = "abort(" + what + ") at " + stackTrace() + extra;
  26391. if (abortDecorators) {
  26392. abortDecorators.forEach((function(decorator) {
  26393. output = decorator(output, what);
  26394. }));
  26395. }
  26396. throw output;
  26397. }
  26398. Module["abort"] = abort;
  26399. if (Module["preInit"]) {
  26400. if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ];
  26401. while (Module["preInit"].length > 0) {
  26402. Module["preInit"].pop()();
  26403. }
  26404. }
  26405. var shouldRunNow = true;
  26406. if (Module["noInitialRun"]) {
  26407. shouldRunNow = false;
  26408. }
  26409. Module["noExitRuntime"] = true;
  26410. run();
  26411. }