comreport1.framework.js 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380
  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 + 2406096;
  1297. __ATINIT__.push({
  1298. func: (function() {
  1299. __GLOBAL__sub_I_AIScriptingClasses_cpp();
  1300. })
  1301. }, {
  1302. func: (function() {
  1303. ___cxx_global_var_init_47();
  1304. })
  1305. }, {
  1306. func: (function() {
  1307. ___cxx_global_var_init_48();
  1308. })
  1309. }, {
  1310. func: (function() {
  1311. __GLOBAL__sub_I_Modules_AI_1_cpp();
  1312. })
  1313. }, {
  1314. func: (function() {
  1315. __GLOBAL__sub_I_Modules_AI_Builder_0_cpp();
  1316. })
  1317. }, {
  1318. func: (function() {
  1319. __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp();
  1320. })
  1321. }, {
  1322. func: (function() {
  1323. __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp();
  1324. })
  1325. }, {
  1326. func: (function() {
  1327. __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp();
  1328. })
  1329. }, {
  1330. func: (function() {
  1331. ___cxx_global_var_init_199();
  1332. })
  1333. }, {
  1334. func: (function() {
  1335. __GLOBAL__sub_I_AIBindings_gen_cpp();
  1336. })
  1337. }, {
  1338. func: (function() {
  1339. __GLOBAL__sub_I_AccessibilityScriptingClasses_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_752();
  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_148();
  1460. })
  1461. }, {
  1462. func: (function() {
  1463. ___cxx_global_var_init_149();
  1464. })
  1465. }, {
  1466. func: (function() {
  1467. ___cxx_global_var_init_150();
  1468. })
  1469. }, {
  1470. func: (function() {
  1471. __GLOBAL__sub_I_Modules_Audio_Public_1_cpp();
  1472. })
  1473. }, {
  1474. func: (function() {
  1475. __GLOBAL__sub_I_Modules_Audio_Public_3_cpp();
  1476. })
  1477. }, {
  1478. func: (function() {
  1479. __GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp();
  1480. })
  1481. }, {
  1482. func: (function() {
  1483. __GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp();
  1484. })
  1485. }, {
  1486. func: (function() {
  1487. __GLOBAL__sub_I_ClothScriptingClasses_cpp();
  1488. })
  1489. }, {
  1490. func: (function() {
  1491. ___cxx_global_var_init_25();
  1492. })
  1493. }, {
  1494. func: (function() {
  1495. ___cxx_global_var_init_26();
  1496. })
  1497. }, {
  1498. func: (function() {
  1499. ___cxx_global_var_init_27();
  1500. })
  1501. }, {
  1502. func: (function() {
  1503. __GLOBAL__sub_I_Modules_Cloth_0_cpp();
  1504. })
  1505. }, {
  1506. func: (function() {
  1507. ___cxx_global_var_init_18();
  1508. })
  1509. }, {
  1510. func: (function() {
  1511. __GLOBAL__sub_I_nvcloth_src_0_cpp();
  1512. })
  1513. }, {
  1514. func: (function() {
  1515. __GLOBAL__sub_I_nvcloth_src_1_cpp();
  1516. })
  1517. }, {
  1518. func: (function() {
  1519. __GLOBAL__sub_I_SwInterCollision_cpp();
  1520. })
  1521. }, {
  1522. func: (function() {
  1523. __GLOBAL__sub_I_SwSolverKernel_cpp();
  1524. })
  1525. }, {
  1526. func: (function() {
  1527. __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp();
  1528. })
  1529. }, {
  1530. func: (function() {
  1531. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp();
  1532. })
  1533. }, {
  1534. func: (function() {
  1535. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp();
  1536. })
  1537. }, {
  1538. func: (function() {
  1539. __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp();
  1540. })
  1541. }, {
  1542. func: (function() {
  1543. __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp();
  1544. })
  1545. }, {
  1546. func: (function() {
  1547. __GLOBAL__sub_I_Runtime_Input_0_cpp();
  1548. })
  1549. }, {
  1550. func: (function() {
  1551. __GLOBAL__sub_I_GfxDeviceNull_cpp();
  1552. })
  1553. }, {
  1554. func: (function() {
  1555. __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp();
  1556. })
  1557. }, {
  1558. func: (function() {
  1559. __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp();
  1560. })
  1561. }, {
  1562. func: (function() {
  1563. ___cxx_global_var_init_19();
  1564. })
  1565. }, {
  1566. func: (function() {
  1567. __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp();
  1568. })
  1569. }, {
  1570. func: (function() {
  1571. ___cxx_global_var_init_16();
  1572. })
  1573. }, {
  1574. func: (function() {
  1575. __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp();
  1576. })
  1577. }, {
  1578. func: (function() {
  1579. __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp();
  1580. })
  1581. }, {
  1582. func: (function() {
  1583. __GLOBAL__sub_I_Runtime_Allocator_0_cpp();
  1584. })
  1585. }, {
  1586. func: (function() {
  1587. __GLOBAL__sub_I_Runtime_Allocator_2_cpp();
  1588. })
  1589. }, {
  1590. func: (function() {
  1591. __GLOBAL__sub_I_Runtime_Allocator_3_cpp();
  1592. })
  1593. }, {
  1594. func: (function() {
  1595. ___cxx_global_var_init_7_1237();
  1596. })
  1597. }, {
  1598. func: (function() {
  1599. __GLOBAL__sub_I_Runtime_Application_0_cpp();
  1600. })
  1601. }, {
  1602. func: (function() {
  1603. __GLOBAL__sub_I_Runtime_BaseClasses_0_cpp();
  1604. })
  1605. }, {
  1606. func: (function() {
  1607. __GLOBAL__sub_I_Runtime_BaseClasses_1_cpp();
  1608. })
  1609. }, {
  1610. func: (function() {
  1611. __GLOBAL__sub_I_Runtime_BaseClasses_2_cpp();
  1612. })
  1613. }, {
  1614. func: (function() {
  1615. __GLOBAL__sub_I_Runtime_BaseClasses_3_cpp();
  1616. })
  1617. }, {
  1618. func: (function() {
  1619. __GLOBAL__sub_I_Runtime_Burst_0_cpp();
  1620. })
  1621. }, {
  1622. func: (function() {
  1623. __GLOBAL__sub_I_Runtime_Camera_0_cpp();
  1624. })
  1625. }, {
  1626. func: (function() {
  1627. __GLOBAL__sub_I_Runtime_Camera_1_cpp();
  1628. })
  1629. }, {
  1630. func: (function() {
  1631. __GLOBAL__sub_I_Runtime_Camera_2_cpp();
  1632. })
  1633. }, {
  1634. func: (function() {
  1635. ___cxx_global_var_init_10();
  1636. })
  1637. }, {
  1638. func: (function() {
  1639. __GLOBAL__sub_I_Runtime_Camera_3_cpp();
  1640. })
  1641. }, {
  1642. func: (function() {
  1643. __GLOBAL__sub_I_Runtime_Camera_4_cpp();
  1644. })
  1645. }, {
  1646. func: (function() {
  1647. __GLOBAL__sub_I_Runtime_Camera_5_cpp();
  1648. })
  1649. }, {
  1650. func: (function() {
  1651. ___cxx_global_var_init_210();
  1652. })
  1653. }, {
  1654. func: (function() {
  1655. ___cxx_global_var_init_211();
  1656. })
  1657. }, {
  1658. func: (function() {
  1659. __GLOBAL__sub_I_Runtime_Camera_6_cpp();
  1660. })
  1661. }, {
  1662. func: (function() {
  1663. ___cxx_global_var_init_104();
  1664. })
  1665. }, {
  1666. func: (function() {
  1667. ___cxx_global_var_init_105();
  1668. })
  1669. }, {
  1670. func: (function() {
  1671. __GLOBAL__sub_I_Runtime_Camera_7_cpp();
  1672. })
  1673. }, {
  1674. func: (function() {
  1675. __GLOBAL__sub_I_Runtime_Camera_8_cpp();
  1676. })
  1677. }, {
  1678. func: (function() {
  1679. __GLOBAL__sub_I_Shadows_cpp();
  1680. })
  1681. }, {
  1682. func: (function() {
  1683. __GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp();
  1684. })
  1685. }, {
  1686. func: (function() {
  1687. __GLOBAL__sub_I_GUITexture_cpp();
  1688. })
  1689. }, {
  1690. func: (function() {
  1691. __GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp();
  1692. })
  1693. }, {
  1694. func: (function() {
  1695. __GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp();
  1696. })
  1697. }, {
  1698. func: (function() {
  1699. __GLOBAL__sub_I_Runtime_Containers_0_cpp();
  1700. })
  1701. }, {
  1702. func: (function() {
  1703. __GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp();
  1704. })
  1705. }, {
  1706. func: (function() {
  1707. __GLOBAL__sub_I_Runtime_File_0_cpp();
  1708. })
  1709. }, {
  1710. func: (function() {
  1711. __GLOBAL__sub_I_Runtime_GameCode_0_cpp();
  1712. })
  1713. }, {
  1714. func: (function() {
  1715. __GLOBAL__sub_I_Runtime_Geometry_1_cpp();
  1716. })
  1717. }, {
  1718. func: (function() {
  1719. __GLOBAL__sub_I_Runtime_Geometry_2_cpp();
  1720. })
  1721. }, {
  1722. func: (function() {
  1723. __GLOBAL__sub_I_Runtime_Graphics_0_cpp();
  1724. })
  1725. }, {
  1726. func: (function() {
  1727. ___cxx_global_var_init_150_1238();
  1728. })
  1729. }, {
  1730. func: (function() {
  1731. ___cxx_global_var_init_151();
  1732. })
  1733. }, {
  1734. func: (function() {
  1735. __GLOBAL__sub_I_Runtime_Graphics_1_cpp();
  1736. })
  1737. }, {
  1738. func: (function() {
  1739. __GLOBAL__sub_I_Runtime_Graphics_2_cpp();
  1740. })
  1741. }, {
  1742. func: (function() {
  1743. ___cxx_global_var_init_99();
  1744. })
  1745. }, {
  1746. func: (function() {
  1747. __GLOBAL__sub_I_Runtime_Graphics_4_cpp();
  1748. })
  1749. }, {
  1750. func: (function() {
  1751. __GLOBAL__sub_I_Runtime_Graphics_5_cpp();
  1752. })
  1753. }, {
  1754. func: (function() {
  1755. __GLOBAL__sub_I_Runtime_Graphics_6_cpp();
  1756. })
  1757. }, {
  1758. func: (function() {
  1759. __GLOBAL__sub_I_Runtime_Graphics_8_cpp();
  1760. })
  1761. }, {
  1762. func: (function() {
  1763. __GLOBAL__sub_I_Runtime_Graphics_10_cpp();
  1764. })
  1765. }, {
  1766. func: (function() {
  1767. __GLOBAL__sub_I_Runtime_Graphics_11_cpp();
  1768. })
  1769. }, {
  1770. func: (function() {
  1771. __GLOBAL__sub_I_Runtime_Graphics_12_cpp();
  1772. })
  1773. }, {
  1774. func: (function() {
  1775. __GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp();
  1776. })
  1777. }, {
  1778. func: (function() {
  1779. __GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp();
  1780. })
  1781. }, {
  1782. func: (function() {
  1783. __GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp();
  1784. })
  1785. }, {
  1786. func: (function() {
  1787. __GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp();
  1788. })
  1789. }, {
  1790. func: (function() {
  1791. __GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp();
  1792. })
  1793. }, {
  1794. func: (function() {
  1795. ___cxx_global_var_init_12();
  1796. })
  1797. }, {
  1798. func: (function() {
  1799. __GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp();
  1800. })
  1801. }, {
  1802. func: (function() {
  1803. __GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp();
  1804. })
  1805. }, {
  1806. func: (function() {
  1807. __GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp();
  1808. })
  1809. }, {
  1810. func: (function() {
  1811. ___cxx_global_var_init_55();
  1812. })
  1813. }, {
  1814. func: (function() {
  1815. __GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp();
  1816. })
  1817. }, {
  1818. func: (function() {
  1819. __GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp();
  1820. })
  1821. }, {
  1822. func: (function() {
  1823. __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp();
  1824. })
  1825. }, {
  1826. func: (function() {
  1827. __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp();
  1828. })
  1829. }, {
  1830. func: (function() {
  1831. __GLOBAL__sub_I_Runtime_Interfaces_0_cpp();
  1832. })
  1833. }, {
  1834. func: (function() {
  1835. __GLOBAL__sub_I_Runtime_Interfaces_1_cpp();
  1836. })
  1837. }, {
  1838. func: (function() {
  1839. __GLOBAL__sub_I_Runtime_Interfaces_2_cpp();
  1840. })
  1841. }, {
  1842. func: (function() {
  1843. __GLOBAL__sub_I_Runtime_Jobs_0_cpp();
  1844. })
  1845. }, {
  1846. func: (function() {
  1847. __GLOBAL__sub_I_Runtime_Jobs_1_cpp();
  1848. })
  1849. }, {
  1850. func: (function() {
  1851. __GLOBAL__sub_I_Runtime_Jobs_2_cpp();
  1852. })
  1853. }, {
  1854. func: (function() {
  1855. __GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp();
  1856. })
  1857. }, {
  1858. func: (function() {
  1859. __GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp();
  1860. })
  1861. }, {
  1862. func: (function() {
  1863. __GLOBAL__sub_I_Runtime_Math_2_cpp();
  1864. })
  1865. }, {
  1866. func: (function() {
  1867. __GLOBAL__sub_I_Runtime_Math_Random_0_cpp();
  1868. })
  1869. }, {
  1870. func: (function() {
  1871. __GLOBAL__sub_I_Runtime_Misc_0_cpp();
  1872. })
  1873. }, {
  1874. func: (function() {
  1875. ___cxx_global_var_init_71();
  1876. })
  1877. }, {
  1878. func: (function() {
  1879. __GLOBAL__sub_I_Runtime_Misc_1_cpp();
  1880. })
  1881. }, {
  1882. func: (function() {
  1883. ___cxx_global_var_init_193();
  1884. })
  1885. }, {
  1886. func: (function() {
  1887. ___cxx_global_var_init_194();
  1888. })
  1889. }, {
  1890. func: (function() {
  1891. ___cxx_global_var_init_195();
  1892. })
  1893. }, {
  1894. func: (function() {
  1895. ___cxx_global_var_init_196();
  1896. })
  1897. }, {
  1898. func: (function() {
  1899. ___cxx_global_var_init_197();
  1900. })
  1901. }, {
  1902. func: (function() {
  1903. ___cxx_global_var_init_198();
  1904. })
  1905. }, {
  1906. func: (function() {
  1907. ___cxx_global_var_init_199_1239();
  1908. })
  1909. }, {
  1910. func: (function() {
  1911. __GLOBAL__sub_I_Runtime_Misc_2_cpp();
  1912. })
  1913. }, {
  1914. func: (function() {
  1915. ___cxx_global_var_init_161();
  1916. })
  1917. }, {
  1918. func: (function() {
  1919. __GLOBAL__sub_I_Runtime_Misc_3_cpp();
  1920. })
  1921. }, {
  1922. func: (function() {
  1923. ___cxx_global_var_init_15();
  1924. })
  1925. }, {
  1926. func: (function() {
  1927. __GLOBAL__sub_I_Runtime_Misc_4_cpp();
  1928. })
  1929. }, {
  1930. func: (function() {
  1931. ___cxx_global_var_init_171();
  1932. })
  1933. }, {
  1934. func: (function() {
  1935. ___cxx_global_var_init_172();
  1936. })
  1937. }, {
  1938. func: (function() {
  1939. ___cxx_global_var_init_173();
  1940. })
  1941. }, {
  1942. func: (function() {
  1943. ___cxx_global_var_init_174();
  1944. })
  1945. }, {
  1946. func: (function() {
  1947. ___cxx_global_var_init_175();
  1948. })
  1949. }, {
  1950. func: (function() {
  1951. ___cxx_global_var_init_176();
  1952. })
  1953. }, {
  1954. func: (function() {
  1955. ___cxx_global_var_init_177();
  1956. })
  1957. }, {
  1958. func: (function() {
  1959. ___cxx_global_var_init_178();
  1960. })
  1961. }, {
  1962. func: (function() {
  1963. ___cxx_global_var_init_179();
  1964. })
  1965. }, {
  1966. func: (function() {
  1967. ___cxx_global_var_init_180();
  1968. })
  1969. }, {
  1970. func: (function() {
  1971. ___cxx_global_var_init_181();
  1972. })
  1973. }, {
  1974. func: (function() {
  1975. ___cxx_global_var_init_182();
  1976. })
  1977. }, {
  1978. func: (function() {
  1979. ___cxx_global_var_init_183();
  1980. })
  1981. }, {
  1982. func: (function() {
  1983. ___cxx_global_var_init_184();
  1984. })
  1985. }, {
  1986. func: (function() {
  1987. ___cxx_global_var_init_185();
  1988. })
  1989. }, {
  1990. func: (function() {
  1991. ___cxx_global_var_init_186();
  1992. })
  1993. }, {
  1994. func: (function() {
  1995. ___cxx_global_var_init_187();
  1996. })
  1997. }, {
  1998. func: (function() {
  1999. ___cxx_global_var_init_188();
  2000. })
  2001. }, {
  2002. func: (function() {
  2003. ___cxx_global_var_init_189();
  2004. })
  2005. }, {
  2006. func: (function() {
  2007. ___cxx_global_var_init_190();
  2008. })
  2009. }, {
  2010. func: (function() {
  2011. ___cxx_global_var_init_191();
  2012. })
  2013. }, {
  2014. func: (function() {
  2015. ___cxx_global_var_init_192();
  2016. })
  2017. }, {
  2018. func: (function() {
  2019. ___cxx_global_var_init_193_8418();
  2020. })
  2021. }, {
  2022. func: (function() {
  2023. ___cxx_global_var_init_194_8419();
  2024. })
  2025. }, {
  2026. func: (function() {
  2027. ___cxx_global_var_init_195_8420();
  2028. })
  2029. }, {
  2030. func: (function() {
  2031. ___cxx_global_var_init_196_8421();
  2032. })
  2033. }, {
  2034. func: (function() {
  2035. ___cxx_global_var_init_197_8422();
  2036. })
  2037. }, {
  2038. func: (function() {
  2039. ___cxx_global_var_init_198_8423();
  2040. })
  2041. }, {
  2042. func: (function() {
  2043. ___cxx_global_var_init_199_8424();
  2044. })
  2045. }, {
  2046. func: (function() {
  2047. ___cxx_global_var_init_200();
  2048. })
  2049. }, {
  2050. func: (function() {
  2051. ___cxx_global_var_init_201();
  2052. })
  2053. }, {
  2054. func: (function() {
  2055. ___cxx_global_var_init_202();
  2056. })
  2057. }, {
  2058. func: (function() {
  2059. ___cxx_global_var_init_203();
  2060. })
  2061. }, {
  2062. func: (function() {
  2063. ___cxx_global_var_init_204();
  2064. })
  2065. }, {
  2066. func: (function() {
  2067. ___cxx_global_var_init_205();
  2068. })
  2069. }, {
  2070. func: (function() {
  2071. ___cxx_global_var_init_206();
  2072. })
  2073. }, {
  2074. func: (function() {
  2075. ___cxx_global_var_init_207();
  2076. })
  2077. }, {
  2078. func: (function() {
  2079. ___cxx_global_var_init_208();
  2080. })
  2081. }, {
  2082. func: (function() {
  2083. ___cxx_global_var_init_209();
  2084. })
  2085. }, {
  2086. func: (function() {
  2087. ___cxx_global_var_init_210_8425();
  2088. })
  2089. }, {
  2090. func: (function() {
  2091. ___cxx_global_var_init_211_8426();
  2092. })
  2093. }, {
  2094. func: (function() {
  2095. ___cxx_global_var_init_212();
  2096. })
  2097. }, {
  2098. func: (function() {
  2099. ___cxx_global_var_init_213();
  2100. })
  2101. }, {
  2102. func: (function() {
  2103. ___cxx_global_var_init_214();
  2104. })
  2105. }, {
  2106. func: (function() {
  2107. ___cxx_global_var_init_215();
  2108. })
  2109. }, {
  2110. func: (function() {
  2111. ___cxx_global_var_init_216();
  2112. })
  2113. }, {
  2114. func: (function() {
  2115. ___cxx_global_var_init_217();
  2116. })
  2117. }, {
  2118. func: (function() {
  2119. ___cxx_global_var_init_218();
  2120. })
  2121. }, {
  2122. func: (function() {
  2123. ___cxx_global_var_init_219();
  2124. })
  2125. }, {
  2126. func: (function() {
  2127. ___cxx_global_var_init_220();
  2128. })
  2129. }, {
  2130. func: (function() {
  2131. ___cxx_global_var_init_221();
  2132. })
  2133. }, {
  2134. func: (function() {
  2135. ___cxx_global_var_init_222();
  2136. })
  2137. }, {
  2138. func: (function() {
  2139. __GLOBAL__sub_I_Runtime_Misc_5_cpp();
  2140. })
  2141. }, {
  2142. func: (function() {
  2143. ___cxx_global_var_init_36();
  2144. })
  2145. }, {
  2146. func: (function() {
  2147. __GLOBAL__sub_I_Runtime_Network_0_cpp();
  2148. })
  2149. }, {
  2150. func: (function() {
  2151. ___cxx_global_var_init_153();
  2152. })
  2153. }, {
  2154. func: (function() {
  2155. ___cxx_global_var_init_154();
  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_8871();
  2164. })
  2165. }, {
  2166. func: (function() {
  2167. ___cxx_global_var_init_32();
  2168. })
  2169. }, {
  2170. func: (function() {
  2171. ___cxx_global_var_init_33_8872();
  2172. })
  2173. }, {
  2174. func: (function() {
  2175. ___cxx_global_var_init_34();
  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_81();
  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_25_9170();
  2212. })
  2213. }, {
  2214. func: (function() {
  2215. ___cxx_global_var_init_26_1240();
  2216. })
  2217. }, {
  2218. func: (function() {
  2219. ___cxx_global_var_init_27_9171();
  2220. })
  2221. }, {
  2222. func: (function() {
  2223. ___cxx_global_var_init_28();
  2224. })
  2225. }, {
  2226. func: (function() {
  2227. ___cxx_global_var_init_29_9172();
  2228. })
  2229. }, {
  2230. func: (function() {
  2231. __GLOBAL__sub_I_Runtime_SceneManager_0_cpp();
  2232. })
  2233. }, {
  2234. func: (function() {
  2235. ___cxx_global_var_init_34_9280();
  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_10305();
  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_10572();
  2284. })
  2285. }, {
  2286. func: (function() {
  2287. ___cxx_global_var_init_47_1241();
  2288. })
  2289. }, {
  2290. func: (function() {
  2291. __GLOBAL__sub_I_Runtime_Transform_0_cpp();
  2292. })
  2293. }, {
  2294. func: (function() {
  2295. __GLOBAL__sub_I_Runtime_Transform_1_cpp();
  2296. })
  2297. }, {
  2298. func: (function() {
  2299. __GLOBAL__sub_I_Runtime_Utilities_2_cpp();
  2300. })
  2301. }, {
  2302. func: (function() {
  2303. ___cxx_global_var_init_10999();
  2304. })
  2305. }, {
  2306. func: (function() {
  2307. __GLOBAL__sub_I_Runtime_Utilities_5_cpp();
  2308. })
  2309. }, {
  2310. func: (function() {
  2311. __GLOBAL__sub_I_Runtime_Utilities_6_cpp();
  2312. })
  2313. }, {
  2314. func: (function() {
  2315. __GLOBAL__sub_I_Runtime_Utilities_7_cpp();
  2316. })
  2317. }, {
  2318. func: (function() {
  2319. __GLOBAL__sub_I_Runtime_Utilities_8_cpp();
  2320. })
  2321. }, {
  2322. func: (function() {
  2323. __GLOBAL__sub_I_Runtime_Utilities_9_cpp();
  2324. })
  2325. }, {
  2326. func: (function() {
  2327. __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp();
  2328. })
  2329. }, {
  2330. func: (function() {
  2331. __GLOBAL__sub_I_AssetBundleFileSystem_cpp();
  2332. })
  2333. }, {
  2334. func: (function() {
  2335. __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp();
  2336. })
  2337. }, {
  2338. func: (function() {
  2339. __GLOBAL__sub_I_Runtime_Modules_0_cpp();
  2340. })
  2341. }, {
  2342. func: (function() {
  2343. __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp();
  2344. })
  2345. }, {
  2346. func: (function() {
  2347. ___cxx_global_var_init_58();
  2348. })
  2349. }, {
  2350. func: (function() {
  2351. ___cxx_global_var_init_59();
  2352. })
  2353. }, {
  2354. func: (function() {
  2355. ___cxx_global_var_init_60();
  2356. })
  2357. }, {
  2358. func: (function() {
  2359. __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp();
  2360. })
  2361. }, {
  2362. func: (function() {
  2363. __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp();
  2364. })
  2365. }, {
  2366. func: (function() {
  2367. __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp();
  2368. })
  2369. }, {
  2370. func: (function() {
  2371. __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp();
  2372. })
  2373. }, {
  2374. func: (function() {
  2375. __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp();
  2376. })
  2377. }, {
  2378. func: (function() {
  2379. __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp();
  2380. })
  2381. }, {
  2382. func: (function() {
  2383. __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp();
  2384. })
  2385. }, {
  2386. func: (function() {
  2387. __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp();
  2388. })
  2389. }, {
  2390. func: (function() {
  2391. __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp();
  2392. })
  2393. }, {
  2394. func: (function() {
  2395. ___cxx_global_var_init_94();
  2396. })
  2397. }, {
  2398. func: (function() {
  2399. ___cxx_global_var_init_95();
  2400. })
  2401. }, {
  2402. func: (function() {
  2403. ___cxx_global_var_init_96();
  2404. })
  2405. }, {
  2406. func: (function() {
  2407. __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp();
  2408. })
  2409. }, {
  2410. func: (function() {
  2411. __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp();
  2412. })
  2413. }, {
  2414. func: (function() {
  2415. __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp();
  2416. })
  2417. }, {
  2418. func: (function() {
  2419. __GLOBAL__sub_I_Runtime_Director_Core_0_cpp();
  2420. })
  2421. }, {
  2422. func: (function() {
  2423. ___cxx_global_var_init_36_12843();
  2424. })
  2425. }, {
  2426. func: (function() {
  2427. ___cxx_global_var_init_37();
  2428. })
  2429. }, {
  2430. func: (function() {
  2431. ___cxx_global_var_init_38();
  2432. })
  2433. }, {
  2434. func: (function() {
  2435. ___cxx_global_var_init_39();
  2436. })
  2437. }, {
  2438. func: (function() {
  2439. ___cxx_global_var_init_40();
  2440. })
  2441. }, {
  2442. func: (function() {
  2443. ___cxx_global_var_init_41();
  2444. })
  2445. }, {
  2446. func: (function() {
  2447. ___cxx_global_var_init_42();
  2448. })
  2449. }, {
  2450. func: (function() {
  2451. ___cxx_global_var_init_43();
  2452. })
  2453. }, {
  2454. func: (function() {
  2455. ___cxx_global_var_init_44();
  2456. })
  2457. }, {
  2458. func: (function() {
  2459. ___cxx_global_var_init_45();
  2460. })
  2461. }, {
  2462. func: (function() {
  2463. ___cxx_global_var_init_46();
  2464. })
  2465. }, {
  2466. func: (function() {
  2467. ___cxx_global_var_init_47_12844();
  2468. })
  2469. }, {
  2470. func: (function() {
  2471. ___cxx_global_var_init_48_1242();
  2472. })
  2473. }, {
  2474. func: (function() {
  2475. ___cxx_global_var_init_49();
  2476. })
  2477. }, {
  2478. func: (function() {
  2479. __GLOBAL__sub_I_Runtime_Director_Core_1_cpp();
  2480. })
  2481. }, {
  2482. func: (function() {
  2483. __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp();
  2484. })
  2485. }, {
  2486. func: (function() {
  2487. __GLOBAL__sub_I_Runtime_Scripting_0_cpp();
  2488. })
  2489. }, {
  2490. func: (function() {
  2491. __GLOBAL__sub_I_Runtime_Scripting_1_cpp();
  2492. })
  2493. }, {
  2494. func: (function() {
  2495. ___cxx_global_var_init_71_13332();
  2496. })
  2497. }, {
  2498. func: (function() {
  2499. __GLOBAL__sub_I_Runtime_Scripting_2_cpp();
  2500. })
  2501. }, {
  2502. func: (function() {
  2503. ___cxx_global_var_init_102();
  2504. })
  2505. }, {
  2506. func: (function() {
  2507. __GLOBAL__sub_I_Runtime_Scripting_3_cpp();
  2508. })
  2509. }, {
  2510. func: (function() {
  2511. ___cxx_global_var_init_64();
  2512. })
  2513. }, {
  2514. func: (function() {
  2515. __GLOBAL__sub_I_Runtime_Mono_0_cpp();
  2516. })
  2517. }, {
  2518. func: (function() {
  2519. __GLOBAL__sub_I_Runtime_Mono_2_cpp();
  2520. })
  2521. }, {
  2522. func: (function() {
  2523. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp();
  2524. })
  2525. }, {
  2526. func: (function() {
  2527. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp();
  2528. })
  2529. }, {
  2530. func: (function() {
  2531. __GLOBAL__sub_I_TemplateInstantiations_cpp();
  2532. })
  2533. }, {
  2534. func: (function() {
  2535. __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp();
  2536. })
  2537. }, {
  2538. func: (function() {
  2539. __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp();
  2540. })
  2541. }, {
  2542. func: (function() {
  2543. __GLOBAL__sub_I_Runtime_Serialize_0_cpp();
  2544. })
  2545. }, {
  2546. func: (function() {
  2547. __GLOBAL__sub_I_Runtime_Serialize_1_cpp();
  2548. })
  2549. }, {
  2550. func: (function() {
  2551. __GLOBAL__sub_I_Runtime_Serialize_2_cpp();
  2552. })
  2553. }, {
  2554. func: (function() {
  2555. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp();
  2556. })
  2557. }, {
  2558. func: (function() {
  2559. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp();
  2560. })
  2561. }, {
  2562. func: (function() {
  2563. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp();
  2564. })
  2565. }, {
  2566. func: (function() {
  2567. ___cxx_global_var_init_144();
  2568. })
  2569. }, {
  2570. func: (function() {
  2571. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp();
  2572. })
  2573. }, {
  2574. func: (function() {
  2575. __GLOBAL__sub_I_CoreBindings_gen_cpp();
  2576. })
  2577. }, {
  2578. func: (function() {
  2579. __GLOBAL__sub_I_LineRenderer_cpp();
  2580. })
  2581. }, {
  2582. func: (function() {
  2583. __GLOBAL__sub_I_QualitySettings_cpp();
  2584. })
  2585. }, {
  2586. func: (function() {
  2587. __GLOBAL__sub_I_TrailRenderer_cpp();
  2588. })
  2589. }, {
  2590. func: (function() {
  2591. __GLOBAL__sub_I_Mesh_cpp();
  2592. })
  2593. }, {
  2594. func: (function() {
  2595. __GLOBAL__sub_I_LogAssert_cpp();
  2596. })
  2597. }, {
  2598. func: (function() {
  2599. ___cxx_global_var_init_17137();
  2600. })
  2601. }, {
  2602. func: (function() {
  2603. __GLOBAL__sub_I_Shader_cpp();
  2604. })
  2605. }, {
  2606. func: (function() {
  2607. __GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp();
  2608. })
  2609. }, {
  2610. func: (function() {
  2611. __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp();
  2612. })
  2613. }, {
  2614. func: (function() {
  2615. __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp();
  2616. })
  2617. }, {
  2618. func: (function() {
  2619. __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp();
  2620. })
  2621. }, {
  2622. func: (function() {
  2623. __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp();
  2624. })
  2625. }, {
  2626. func: (function() {
  2627. __GLOBAL__sub_I_DSPGraphBindings_gen_cpp();
  2628. })
  2629. }, {
  2630. func: (function() {
  2631. __GLOBAL__sub_I_DirectorScriptingClasses_cpp();
  2632. })
  2633. }, {
  2634. func: (function() {
  2635. __GLOBAL__sub_I_GridScriptingClasses_cpp();
  2636. })
  2637. }, {
  2638. func: (function() {
  2639. __GLOBAL__sub_I_Modules_Grid_Public_0_cpp();
  2640. })
  2641. }, {
  2642. func: (function() {
  2643. __GLOBAL__sub_I_IMGUIScriptingClasses_cpp();
  2644. })
  2645. }, {
  2646. func: (function() {
  2647. __GLOBAL__sub_I_Modules_IMGUI_0_cpp();
  2648. })
  2649. }, {
  2650. func: (function() {
  2651. ___cxx_global_var_init_29_3914();
  2652. })
  2653. }, {
  2654. func: (function() {
  2655. ___cxx_global_var_init_30();
  2656. })
  2657. }, {
  2658. func: (function() {
  2659. ___cxx_global_var_init_31_3915();
  2660. })
  2661. }, {
  2662. func: (function() {
  2663. __GLOBAL__sub_I_Modules_IMGUI_1_cpp();
  2664. })
  2665. }, {
  2666. func: (function() {
  2667. ___cxx_global_var_init_4176();
  2668. })
  2669. }, {
  2670. func: (function() {
  2671. __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp();
  2672. })
  2673. }, {
  2674. func: (function() {
  2675. ___cxx_global_var_init_3_4324();
  2676. })
  2677. }, {
  2678. func: (function() {
  2679. __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp();
  2680. })
  2681. }, {
  2682. func: (function() {
  2683. __GLOBAL__sub_I_InputScriptingClasses_cpp();
  2684. })
  2685. }, {
  2686. func: (function() {
  2687. ___cxx_global_var_init_7_4411();
  2688. })
  2689. }, {
  2690. func: (function() {
  2691. ___cxx_global_var_init_8();
  2692. })
  2693. }, {
  2694. func: (function() {
  2695. ___cxx_global_var_init_9_4412();
  2696. })
  2697. }, {
  2698. func: (function() {
  2699. ___cxx_global_var_init_10_4413();
  2700. })
  2701. }, {
  2702. func: (function() {
  2703. __GLOBAL__sub_I_Modules_Input_Private_0_cpp();
  2704. })
  2705. }, {
  2706. func: (function() {
  2707. __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp();
  2708. })
  2709. }, {
  2710. func: (function() {
  2711. ___cxx_global_var_init_43_4668();
  2712. })
  2713. }, {
  2714. func: (function() {
  2715. __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp();
  2716. })
  2717. }, {
  2718. func: (function() {
  2719. ___cxx_global_var_init_58_4669();
  2720. })
  2721. }, {
  2722. func: (function() {
  2723. ___cxx_global_var_init_59_4670();
  2724. })
  2725. }, {
  2726. func: (function() {
  2727. ___cxx_global_var_init_60_4671();
  2728. })
  2729. }, {
  2730. func: (function() {
  2731. __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp();
  2732. })
  2733. }, {
  2734. func: (function() {
  2735. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp();
  2736. })
  2737. }, {
  2738. func: (function() {
  2739. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp();
  2740. })
  2741. }, {
  2742. func: (function() {
  2743. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp();
  2744. })
  2745. }, {
  2746. func: (function() {
  2747. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp();
  2748. })
  2749. }, {
  2750. func: (function() {
  2751. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp();
  2752. })
  2753. }, {
  2754. func: (function() {
  2755. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp();
  2756. })
  2757. }, {
  2758. func: (function() {
  2759. __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp();
  2760. })
  2761. }, {
  2762. func: (function() {
  2763. __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp();
  2764. })
  2765. }, {
  2766. func: (function() {
  2767. __GLOBAL__sub_I_ExternalForcesModule_cpp();
  2768. })
  2769. }, {
  2770. func: (function() {
  2771. __GLOBAL__sub_I_NoiseModule_cpp();
  2772. })
  2773. }, {
  2774. func: (function() {
  2775. __GLOBAL__sub_I_ShapeModule_cpp();
  2776. })
  2777. }, {
  2778. func: (function() {
  2779. __GLOBAL__sub_I_UVModule_cpp();
  2780. })
  2781. }, {
  2782. func: (function() {
  2783. __GLOBAL__sub_I_VelocityModule_cpp();
  2784. })
  2785. }, {
  2786. func: (function() {
  2787. ___cxx_global_var_init_27_5519();
  2788. })
  2789. }, {
  2790. func: (function() {
  2791. __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp();
  2792. })
  2793. }, {
  2794. func: (function() {
  2795. __GLOBAL__sub_I_Physics2DScriptingClasses_cpp();
  2796. })
  2797. }, {
  2798. func: (function() {
  2799. __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp();
  2800. })
  2801. }, {
  2802. func: (function() {
  2803. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp();
  2804. })
  2805. }, {
  2806. func: (function() {
  2807. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp();
  2808. })
  2809. }, {
  2810. func: (function() {
  2811. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp();
  2812. })
  2813. }, {
  2814. func: (function() {
  2815. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp();
  2816. })
  2817. }, {
  2818. func: (function() {
  2819. ___cxx_global_var_init_112();
  2820. })
  2821. }, {
  2822. func: (function() {
  2823. ___cxx_global_var_init_113();
  2824. })
  2825. }, {
  2826. func: (function() {
  2827. ___cxx_global_var_init_114();
  2828. })
  2829. }, {
  2830. func: (function() {
  2831. __GLOBAL__sub_I_Modules_Physics2D_0_cpp();
  2832. })
  2833. }, {
  2834. func: (function() {
  2835. __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp();
  2836. })
  2837. }, {
  2838. func: (function() {
  2839. __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp();
  2840. })
  2841. }, {
  2842. func: (function() {
  2843. __GLOBAL__sub_I_PhysicsScriptingClasses_cpp();
  2844. })
  2845. }, {
  2846. func: (function() {
  2847. __GLOBAL__sub_I_Modules_Physics_0_cpp();
  2848. })
  2849. }, {
  2850. func: (function() {
  2851. ___cxx_global_var_init_91();
  2852. })
  2853. }, {
  2854. func: (function() {
  2855. ___cxx_global_var_init_92();
  2856. })
  2857. }, {
  2858. func: (function() {
  2859. ___cxx_global_var_init_93();
  2860. })
  2861. }, {
  2862. func: (function() {
  2863. ___cxx_global_var_init_94_6121();
  2864. })
  2865. }, {
  2866. func: (function() {
  2867. ___cxx_global_var_init_95_6122();
  2868. })
  2869. }, {
  2870. func: (function() {
  2871. __GLOBAL__sub_I_Modules_Physics_2_cpp();
  2872. })
  2873. }, {
  2874. func: (function() {
  2875. __GLOBAL__sub_I_Modules_Physics_3_cpp();
  2876. })
  2877. }, {
  2878. func: (function() {
  2879. __GLOBAL__sub_I_Modules_Physics_4_cpp();
  2880. })
  2881. }, {
  2882. func: (function() {
  2883. __GLOBAL__sub_I_PhysicsQuery_cpp();
  2884. })
  2885. }, {
  2886. func: (function() {
  2887. __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp();
  2888. })
  2889. }, {
  2890. func: (function() {
  2891. __GLOBAL__sub_I_PhysicsScene_cpp();
  2892. })
  2893. }, {
  2894. func: (function() {
  2895. __GLOBAL__sub_I_PhysicsBindings_gen_cpp();
  2896. })
  2897. }, {
  2898. func: (function() {
  2899. ___cxx_global_var_init_9_6894();
  2900. })
  2901. }, {
  2902. func: (function() {
  2903. ___cxx_global_var_init_11();
  2904. })
  2905. }, {
  2906. func: (function() {
  2907. __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp();
  2908. })
  2909. }, {
  2910. func: (function() {
  2911. __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp();
  2912. })
  2913. }, {
  2914. func: (function() {
  2915. ___cxx_global_var_init_4_6959();
  2916. })
  2917. }, {
  2918. func: (function() {
  2919. __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp();
  2920. })
  2921. }, {
  2922. func: (function() {
  2923. ___cxx_global_var_init_1_7017();
  2924. })
  2925. }, {
  2926. func: (function() {
  2927. __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp();
  2928. })
  2929. }, {
  2930. func: (function() {
  2931. ___cxx_global_var_init_28_7056();
  2932. })
  2933. }, {
  2934. func: (function() {
  2935. ___cxx_global_var_init_29_7057();
  2936. })
  2937. }, {
  2938. func: (function() {
  2939. __GLOBAL__sub_I_Modules_Subsystems_0_cpp();
  2940. })
  2941. }, {
  2942. func: (function() {
  2943. __GLOBAL__sub_I_TLSModule_cpp();
  2944. })
  2945. }, {
  2946. func: (function() {
  2947. __GLOBAL__sub_I_TerrainScriptingClasses_cpp();
  2948. })
  2949. }, {
  2950. func: (function() {
  2951. __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp();
  2952. })
  2953. }, {
  2954. func: (function() {
  2955. __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp();
  2956. })
  2957. }, {
  2958. func: (function() {
  2959. ___cxx_global_var_init_110();
  2960. })
  2961. }, {
  2962. func: (function() {
  2963. ___cxx_global_var_init_111();
  2964. })
  2965. }, {
  2966. func: (function() {
  2967. __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp();
  2968. })
  2969. }, {
  2970. func: (function() {
  2971. __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp();
  2972. })
  2973. }, {
  2974. func: (function() {
  2975. __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp();
  2976. })
  2977. }, {
  2978. func: (function() {
  2979. __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp();
  2980. })
  2981. }, {
  2982. func: (function() {
  2983. __GLOBAL__sub_I_TextCoreScriptingClasses_cpp();
  2984. })
  2985. }, {
  2986. func: (function() {
  2987. __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp();
  2988. })
  2989. }, {
  2990. func: (function() {
  2991. __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp();
  2992. })
  2993. }, {
  2994. func: (function() {
  2995. ___cxx_global_var_init_37_7611();
  2996. })
  2997. }, {
  2998. func: (function() {
  2999. ___cxx_global_var_init_38_7612();
  3000. })
  3001. }, {
  3002. func: (function() {
  3003. __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp();
  3004. })
  3005. }, {
  3006. func: (function() {
  3007. __GLOBAL__sub_I_TilemapScriptingClasses_cpp();
  3008. })
  3009. }, {
  3010. func: (function() {
  3011. __GLOBAL__sub_I_Modules_Tilemap_0_cpp();
  3012. })
  3013. }, {
  3014. func: (function() {
  3015. ___cxx_global_var_init_44_7809();
  3016. })
  3017. }, {
  3018. func: (function() {
  3019. __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp();
  3020. })
  3021. }, {
  3022. func: (function() {
  3023. __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp();
  3024. })
  3025. }, {
  3026. func: (function() {
  3027. __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp();
  3028. })
  3029. }, {
  3030. func: (function() {
  3031. ___cxx_global_var_init_10_7954();
  3032. })
  3033. }, {
  3034. func: (function() {
  3035. ___cxx_global_var_init_11_7955();
  3036. })
  3037. }, {
  3038. func: (function() {
  3039. ___cxx_global_var_init_12_7956();
  3040. })
  3041. }, {
  3042. func: (function() {
  3043. __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp();
  3044. })
  3045. }, {
  3046. func: (function() {
  3047. __GLOBAL__sub_I_UIScriptingClasses_cpp();
  3048. })
  3049. }, {
  3050. func: (function() {
  3051. ___cxx_global_var_init_46_8113();
  3052. })
  3053. }, {
  3054. func: (function() {
  3055. ___cxx_global_var_init_47_8114();
  3056. })
  3057. }, {
  3058. func: (function() {
  3059. ___cxx_global_var_init_48_8115();
  3060. })
  3061. }, {
  3062. func: (function() {
  3063. ___cxx_global_var_init_49_8116();
  3064. })
  3065. }, {
  3066. func: (function() {
  3067. ___cxx_global_var_init_50();
  3068. })
  3069. }, {
  3070. func: (function() {
  3071. ___cxx_global_var_init_51();
  3072. })
  3073. }, {
  3074. func: (function() {
  3075. ___cxx_global_var_init_52();
  3076. })
  3077. }, {
  3078. func: (function() {
  3079. ___cxx_global_var_init_53_8117();
  3080. })
  3081. }, {
  3082. func: (function() {
  3083. __GLOBAL__sub_I_Modules_UI_0_cpp();
  3084. })
  3085. }, {
  3086. func: (function() {
  3087. __GLOBAL__sub_I_Modules_UI_1_cpp();
  3088. })
  3089. }, {
  3090. func: (function() {
  3091. __GLOBAL__sub_I_Modules_UI_2_cpp();
  3092. })
  3093. }, {
  3094. func: (function() {
  3095. __GLOBAL__sub_I_umbra_cpp();
  3096. })
  3097. }, {
  3098. func: (function() {
  3099. __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp();
  3100. })
  3101. }, {
  3102. func: (function() {
  3103. ___cxx_global_var_init_67();
  3104. })
  3105. }, {
  3106. func: (function() {
  3107. __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp();
  3108. })
  3109. }, {
  3110. func: (function() {
  3111. ___cxx_global_var_init_8335();
  3112. })
  3113. }, {
  3114. func: (function() {
  3115. __GLOBAL__sub_I_UnityAdsSettings_cpp();
  3116. })
  3117. }, {
  3118. func: (function() {
  3119. __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp();
  3120. })
  3121. }, {
  3122. func: (function() {
  3123. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp();
  3124. })
  3125. }, {
  3126. func: (function() {
  3127. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp();
  3128. })
  3129. }, {
  3130. func: (function() {
  3131. __GLOBAL__sub_I_VFXScriptingClasses_cpp();
  3132. })
  3133. }, {
  3134. func: (function() {
  3135. ___cxx_global_var_init_78();
  3136. })
  3137. }, {
  3138. func: (function() {
  3139. __GLOBAL__sub_I_Modules_VFX_Public_0_cpp();
  3140. })
  3141. }, {
  3142. func: (function() {
  3143. __GLOBAL__sub_I_Modules_VFX_Public_1_cpp();
  3144. })
  3145. }, {
  3146. func: (function() {
  3147. __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp();
  3148. })
  3149. }, {
  3150. func: (function() {
  3151. __GLOBAL__sub_I_VisualEffectAsset_cpp();
  3152. })
  3153. }, {
  3154. func: (function() {
  3155. __GLOBAL__sub_I_VRScriptingClasses_cpp();
  3156. })
  3157. }, {
  3158. func: (function() {
  3159. ___cxx_global_var_init_54();
  3160. })
  3161. }, {
  3162. func: (function() {
  3163. ___cxx_global_var_init_55_9254();
  3164. })
  3165. }, {
  3166. func: (function() {
  3167. ___cxx_global_var_init_56();
  3168. })
  3169. }, {
  3170. func: (function() {
  3171. ___cxx_global_var_init_57();
  3172. })
  3173. }, {
  3174. func: (function() {
  3175. ___cxx_global_var_init_58_9255();
  3176. })
  3177. }, {
  3178. func: (function() {
  3179. ___cxx_global_var_init_59_9256();
  3180. })
  3181. }, {
  3182. func: (function() {
  3183. ___cxx_global_var_init_60_9257();
  3184. })
  3185. }, {
  3186. func: (function() {
  3187. ___cxx_global_var_init_61_9258();
  3188. })
  3189. }, {
  3190. func: (function() {
  3191. __GLOBAL__sub_I_Modules_VR_0_cpp();
  3192. })
  3193. }, {
  3194. func: (function() {
  3195. __GLOBAL__sub_I_Modules_VR_1_cpp();
  3196. })
  3197. }, {
  3198. func: (function() {
  3199. __GLOBAL__sub_I_PluginInterfaceVR_cpp();
  3200. })
  3201. }, {
  3202. func: (function() {
  3203. __GLOBAL__sub_I_Modules_Vehicles_0_cpp();
  3204. })
  3205. }, {
  3206. func: (function() {
  3207. __GLOBAL__sub_I_VideoScriptingClasses_cpp();
  3208. })
  3209. }, {
  3210. func: (function() {
  3211. __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp();
  3212. })
  3213. }, {
  3214. func: (function() {
  3215. ___cxx_global_var_init_1_9422();
  3216. })
  3217. }, {
  3218. func: (function() {
  3219. ___cxx_global_var_init_2_9423();
  3220. })
  3221. }, {
  3222. func: (function() {
  3223. __GLOBAL__sub_I_Modules_Video_Public_0_cpp();
  3224. })
  3225. }, {
  3226. func: (function() {
  3227. __GLOBAL__sub_I_VideoMediaOutput_cpp();
  3228. })
  3229. }, {
  3230. func: (function() {
  3231. __GLOBAL__sub_I_VideoYUV420Convert_cpp();
  3232. })
  3233. }, {
  3234. func: (function() {
  3235. __GLOBAL__sub_I_Wind_cpp();
  3236. })
  3237. }, {
  3238. func: (function() {
  3239. __GLOBAL__sub_I_XRScriptingClasses_cpp();
  3240. })
  3241. }, {
  3242. func: (function() {
  3243. __GLOBAL__sub_I_Modules_XR_0_cpp();
  3244. })
  3245. }, {
  3246. func: (function() {
  3247. ___cxx_global_var_init_2_9646();
  3248. })
  3249. }, {
  3250. func: (function() {
  3251. __GLOBAL__sub_I_XRAudio_cpp();
  3252. })
  3253. }, {
  3254. func: (function() {
  3255. ___cxx_global_var_init_3_9647();
  3256. })
  3257. }, {
  3258. func: (function() {
  3259. __GLOBAL__sub_I_XRPreInit_cpp();
  3260. })
  3261. }, {
  3262. func: (function() {
  3263. ___cxx_global_var_init_3_27();
  3264. })
  3265. }, {
  3266. func: (function() {
  3267. ___cxx_global_var_init_4_9648();
  3268. })
  3269. }, {
  3270. func: (function() {
  3271. ___cxx_global_var_init_5_9649();
  3272. })
  3273. }, {
  3274. func: (function() {
  3275. ___cxx_global_var_init_6_9650();
  3276. })
  3277. }, {
  3278. func: (function() {
  3279. ___cxx_global_var_init_7_9651();
  3280. })
  3281. }, {
  3282. func: (function() {
  3283. ___cxx_global_var_init_8_9652();
  3284. })
  3285. }, {
  3286. func: (function() {
  3287. ___cxx_global_var_init_9_9653();
  3288. })
  3289. }, {
  3290. func: (function() {
  3291. ___cxx_global_var_init_10_9654();
  3292. })
  3293. }, {
  3294. func: (function() {
  3295. __GLOBAL__sub_I_Modules_XR_Public_0_cpp();
  3296. })
  3297. }, {
  3298. func: (function() {
  3299. __GLOBAL__sub_I_Modules_XR_Stats_0_cpp();
  3300. })
  3301. }, {
  3302. func: (function() {
  3303. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp();
  3304. })
  3305. }, {
  3306. func: (function() {
  3307. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp();
  3308. })
  3309. }, {
  3310. func: (function() {
  3311. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp();
  3312. })
  3313. }, {
  3314. func: (function() {
  3315. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp();
  3316. })
  3317. }, {
  3318. func: (function() {
  3319. __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp();
  3320. })
  3321. }, {
  3322. func: (function() {
  3323. __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp();
  3324. })
  3325. }, {
  3326. func: (function() {
  3327. __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp();
  3328. })
  3329. }, {
  3330. func: (function() {
  3331. __GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp();
  3332. })
  3333. }, {
  3334. func: (function() {
  3335. __GLOBAL__sub_I_Lump_libil2cpp_os_cpp();
  3336. })
  3337. }, {
  3338. func: (function() {
  3339. __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp();
  3340. })
  3341. }, {
  3342. func: (function() {
  3343. __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp();
  3344. })
  3345. }, {
  3346. func: (function() {
  3347. __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp();
  3348. })
  3349. }, {
  3350. func: (function() {
  3351. __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp();
  3352. })
  3353. }, {
  3354. func: (function() {
  3355. __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp();
  3356. })
  3357. }, {
  3358. func: (function() {
  3359. __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp();
  3360. })
  3361. }, {
  3362. func: (function() {
  3363. __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp();
  3364. })
  3365. }, {
  3366. func: (function() {
  3367. ___emscripten_environ_constructor();
  3368. })
  3369. });
  3370. var STATIC_BUMP = 2406096;
  3371. Module["STATIC_BASE"] = STATIC_BASE;
  3372. Module["STATIC_BUMP"] = STATIC_BUMP;
  3373. var tempDoublePtr = STATICTOP;
  3374. STATICTOP += 16;
  3375. assert(tempDoublePtr % 8 == 0);
  3376. function _AddTaskQuestion1(title, step, total_steps, step_sorce, per_sorce, start_time, end_time) {
  3377. AddTaskQuestion1(Pointer_stringify(title), step, total_steps, step_sorce, per_sorce, Pointer_stringify(start_time), Pointer_stringify(end_time));
  3378. }
  3379. function _ClearQuestions() {
  3380. ClearQuestions();
  3381. }
  3382. function _JS_Cursor_SetImage(ptr, length) {
  3383. var binary = "";
  3384. for (var i = 0; i < length; i++) binary += String.fromCharCode(HEAPU8[ptr + i]);
  3385. Module.canvas.style.cursor = "url(data:image/cur;base64," + btoa(binary) + "),default";
  3386. }
  3387. function _JS_Cursor_SetShow(show) {
  3388. Module.canvas.style.cursor = show ? "default" : "none";
  3389. }
  3390. function _JS_Eval_ClearInterval(id) {
  3391. window.clearInterval(id);
  3392. }
  3393. function _JS_Eval_SetInterval(func, arg, millis) {
  3394. Module["noExitRuntime"] = true;
  3395. function wrapper() {
  3396. getFuncWrapper(func, "vi")(arg);
  3397. }
  3398. return Browser.safeSetInterval(wrapper, millis);
  3399. }
  3400. var fs = {
  3401. numPendingSync: 0,
  3402. syncInternal: 1e3,
  3403. syncInProgress: false,
  3404. sync: (function(onlyPendingSync) {
  3405. if (onlyPendingSync) {
  3406. if (fs.numPendingSync == 0) return;
  3407. } else if (fs.syncInProgress) {
  3408. fs.numPendingSync++;
  3409. return;
  3410. }
  3411. fs.syncInProgress = true;
  3412. FS.syncfs(false, (function(err) {
  3413. fs.syncInProgress = false;
  3414. }));
  3415. fs.numPendingSync = 0;
  3416. })
  3417. };
  3418. function _JS_FileSystem_Initialize() {
  3419. Module.setInterval((function() {
  3420. fs.sync(true);
  3421. }), fs.syncInternal);
  3422. }
  3423. function _JS_FileSystem_Sync() {
  3424. fs.sync(false);
  3425. }
  3426. function _JS_Log_Dump(ptr, type) {
  3427. var str = Pointer_stringify(ptr);
  3428. if (typeof dump == "function") dump(str);
  3429. switch (type) {
  3430. case 0:
  3431. case 1:
  3432. case 4:
  3433. console.error(str);
  3434. return;
  3435. case 2:
  3436. console.warn(str);
  3437. return;
  3438. case 3:
  3439. case 5:
  3440. console.log(str);
  3441. return;
  3442. default:
  3443. console.error("Unknown console message type!");
  3444. console.error(str);
  3445. }
  3446. }
  3447. function _JS_Log_StackTrace(buffer, bufferSize) {
  3448. var trace = stackTrace();
  3449. if (buffer) stringToUTF8(trace, buffer, bufferSize);
  3450. return lengthBytesUTF8(trace);
  3451. }
  3452. function _JS_Profiler_InjectJobs() {
  3453. for (var jobname in Module["Jobs"]) {
  3454. var job = Module["Jobs"][jobname];
  3455. if (typeof job["endtime"] != "undefined") Module.ccall("InjectProfilerSample", null, [ "string", "number", "number" ], [ jobname, job.starttime, job.endtime ]);
  3456. }
  3457. }
  3458. var WEBAudio = {
  3459. audioInstanceIdCounter: 0,
  3460. audioInstances: {},
  3461. audioContext: null,
  3462. audioWebEnabled: 0
  3463. };
  3464. function _JS_Sound_Create_Channel(callback, userData) {
  3465. if (WEBAudio.audioWebEnabled == 0) return;
  3466. var channel = {
  3467. gain: WEBAudio.audioContext.createGain(),
  3468. panner: WEBAudio.audioContext.createPanner(),
  3469. threeD: false,
  3470. playBuffer: (function(startTime, buffer, startOffset) {
  3471. this.setup();
  3472. this.source.buffer = buffer;
  3473. var chan = this;
  3474. this.source.onended = (function() {
  3475. chan.disconnectSource();
  3476. if (callback) dynCall("vi", callback, [ userData ]);
  3477. });
  3478. this.source.start(startTime, startOffset);
  3479. this.source.scheduledStartTime = startTime;
  3480. this.source.playbackStartTime = startTime - startOffset / this.source.playbackRate.value;
  3481. }),
  3482. disconnectSource: (function() {
  3483. if (this.source && !this.source.isPausedMockNode) {
  3484. this.source.onended = null;
  3485. this.source.disconnect();
  3486. delete this.source;
  3487. }
  3488. }),
  3489. stop: (function(delay) {
  3490. if (channel.source) {
  3491. try {
  3492. channel.source.stop(WEBAudio.audioContext.currentTime + delay);
  3493. } catch (e) {}
  3494. if (delay == 0) {
  3495. channel.disconnectSource();
  3496. }
  3497. }
  3498. }),
  3499. pause: (function() {
  3500. var s = this.source;
  3501. if (!s || !s.playbackStartTime) return;
  3502. var pausedSource = {
  3503. isPausedMockNode: true,
  3504. loop: s.loop,
  3505. loopStart: s.loopStart,
  3506. loopEnd: s.loopEnd,
  3507. buffer: s.buffer,
  3508. playbackRate: s.playbackRate.value,
  3509. scheduledStartTime: s.scheduledStartTime,
  3510. scheduledStopTime: undefined,
  3511. playbackPausedAtPosition: s.estimatePlaybackPosition(),
  3512. setPitch: (function(v) {
  3513. this.playbackRate = v;
  3514. }),
  3515. stop: (function(when) {
  3516. this.scheduledStopTime = when;
  3517. })
  3518. };
  3519. this.stop(0);
  3520. this.disconnectSource();
  3521. this.source = pausedSource;
  3522. }),
  3523. resume: (function() {
  3524. var pausedSource = this.source;
  3525. if (!pausedSource || !pausedSource.isPausedMockNode) return;
  3526. delete this.source;
  3527. this.setup();
  3528. this.playBuffer(pausedSource.scheduledStartTime, pausedSource.buffer, Math.max(0, pausedSource.playbackPausedAtPosition));
  3529. this.source.loop = pausedSource.loop;
  3530. this.source.loopStart = pausedSource.loopStart;
  3531. this.source.loopEnd = pausedSource.loopEnd;
  3532. this.source.setPitch(pausedSource.playbackRate);
  3533. if (typeof pausedSource.scheduledStopTime !== "undefined") {
  3534. var delay = Math.max(pausedSource.scheduledStopTime - WEBAudio.audioContext.currentTime, 0);
  3535. this.stop(delay);
  3536. }
  3537. }),
  3538. setup: (function() {
  3539. if (this.source && !this.source.isPausedMockNode) return;
  3540. this.source = WEBAudio.audioContext.createBufferSource();
  3541. this.source.estimatePlaybackPosition = (function() {
  3542. var t = (WEBAudio.audioContext.currentTime - this.playbackStartTime) * this.playbackRate.value;
  3543. if (this.loop && t >= this.loopStart && this.loopEnd - this.loopStart !== 0) {
  3544. t = (t - this.loopStart) % (this.loopEnd - this.loopStart) + this.loopStart;
  3545. }
  3546. return t;
  3547. });
  3548. this.source.setPitch = (function(newPitch) {
  3549. var curPosition = this.estimatePlaybackPosition();
  3550. if (curPosition >= 0) {
  3551. this.playbackStartTime = WEBAudio.audioContext.currentTime - curPosition / newPitch;
  3552. }
  3553. if (this.playbackRate.value !== newPitch) this.playbackRate.value = newPitch;
  3554. });
  3555. this.setupPanning();
  3556. }),
  3557. setupPanning: (function() {
  3558. if (this.source.isPausedMockNode) return;
  3559. this.source.disconnect();
  3560. if (this.threeD) {
  3561. this.source.connect(this.panner);
  3562. this.panner.connect(this.gain);
  3563. } else {
  3564. this.panner.disconnect();
  3565. this.source.connect(this.gain);
  3566. }
  3567. }),
  3568. isStopped: (function() {
  3569. return !this.source;
  3570. })
  3571. };
  3572. channel.panner.rolloffFactor = 0;
  3573. channel.gain.connect(WEBAudio.audioContext.destination);
  3574. WEBAudio.audioInstances[++WEBAudio.audioInstanceIdCounter] = channel;
  3575. return WEBAudio.audioInstanceIdCounter;
  3576. }
  3577. function _JS_Sound_GetLength(bufferInstance) {
  3578. if (WEBAudio.audioWebEnabled == 0) return 0;
  3579. var sound = WEBAudio.audioInstances[bufferInstance];
  3580. if (!sound) return 0;
  3581. var sampleRateRatio = 44100 / sound.buffer.sampleRate;
  3582. return sound.buffer.length * sampleRateRatio;
  3583. }
  3584. function _JS_Sound_GetLoadState(bufferInstance) {
  3585. if (WEBAudio.audioWebEnabled == 0) return 2;
  3586. var sound = WEBAudio.audioInstances[bufferInstance];
  3587. if (sound.error) return 2;
  3588. if (sound.buffer) return 0;
  3589. return 1;
  3590. }
  3591. function _JS_Sound_Init() {
  3592. try {
  3593. window.AudioContext = window.AudioContext || window.webkitAudioContext;
  3594. WEBAudio.audioContext = new AudioContext;
  3595. var tryToResumeAudioContext = (function() {
  3596. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume().catch((function(error) {
  3597. console.warn("Could not resume audio context. Exception: " + error);
  3598. })); else Module.clearInterval(resumeInterval);
  3599. });
  3600. var resumeInterval = Module.setInterval(tryToResumeAudioContext, 400);
  3601. WEBAudio.audioWebEnabled = 1;
  3602. } catch (e) {
  3603. alert("Web Audio API is not supported in this browser");
  3604. }
  3605. }
  3606. function _JS_Sound_Load(ptr, length) {
  3607. if (WEBAudio.audioWebEnabled == 0) return 0;
  3608. var sound = {
  3609. buffer: null,
  3610. error: false
  3611. };
  3612. WEBAudio.audioInstances[++WEBAudio.audioInstanceIdCounter] = sound;
  3613. var audioData = HEAPU8.buffer.slice(ptr, ptr + length);
  3614. WEBAudio.audioContext.decodeAudioData(audioData, (function(buffer) {
  3615. sound.buffer = buffer;
  3616. }), (function() {
  3617. sound.error = true;
  3618. console.log("Decode error.");
  3619. }));
  3620. return WEBAudio.audioInstanceIdCounter;
  3621. }
  3622. function _JS_Sound_Load_PCM(channels, length, sampleRate, ptr) {
  3623. if (WEBAudio.audioWebEnabled == 0) return 0;
  3624. var sound = {
  3625. buffer: WEBAudio.audioContext.createBuffer(channels, length, sampleRate),
  3626. error: false
  3627. };
  3628. for (var i = 0; i < channels; i++) {
  3629. var offs = (ptr >> 2) + length * i;
  3630. var buffer = sound.buffer;
  3631. var copyToChannel = buffer["copyToChannel"] || (function(source, channelNumber, startInChannel) {
  3632. var clipped = source.subarray(0, Math.min(source.length, this.length - (startInChannel | 0)));
  3633. this.getChannelData(channelNumber | 0).set(clipped, startInChannel | 0);
  3634. });
  3635. copyToChannel.apply(buffer, [ HEAPF32.subarray(offs, offs + length), i, 0 ]);
  3636. }
  3637. WEBAudio.audioInstances[++WEBAudio.audioInstanceIdCounter] = sound;
  3638. return WEBAudio.audioInstanceIdCounter;
  3639. }
  3640. function _JS_Sound_Play(bufferInstance, channelInstance, offset, delay) {
  3641. _JS_Sound_Stop(channelInstance, 0);
  3642. if (WEBAudio.audioWebEnabled == 0) return;
  3643. var sound = WEBAudio.audioInstances[bufferInstance];
  3644. var channel = WEBAudio.audioInstances[channelInstance];
  3645. if (sound.buffer) {
  3646. try {
  3647. channel.playBuffer(WEBAudio.audioContext.currentTime + delay, sound.buffer, offset);
  3648. } catch (e) {
  3649. console.error("playBuffer error. Exception: " + e);
  3650. }
  3651. } else console.log("Trying to play sound which is not loaded.");
  3652. }
  3653. function _JS_Sound_ReleaseInstance(instance) {
  3654. var channel = WEBAudio.audioInstances[instance];
  3655. if (channel) {
  3656. if (channel.disconnectSource) channel.disconnectSource();
  3657. if (channel.gain) channel.gain.disconnect();
  3658. if (channel.panner) channel.panner.disconnect();
  3659. }
  3660. delete WEBAudio.audioInstances[instance];
  3661. }
  3662. function _JS_Sound_ResumeIfNeeded() {
  3663. if (WEBAudio.audioWebEnabled == 0) return;
  3664. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume().catch((function(error) {
  3665. console.warn("Could not resume audio context. Exception: " + error);
  3666. }));
  3667. }
  3668. function _JS_Sound_Set3D(channelInstance, threeD) {
  3669. var channel = WEBAudio.audioInstances[channelInstance];
  3670. if (channel.threeD != threeD) {
  3671. channel.threeD = threeD;
  3672. if (!channel.source) {
  3673. channel.setup();
  3674. }
  3675. channel.setupPanning();
  3676. }
  3677. }
  3678. function _JS_Sound_SetListenerOrientation(x, y, z, xUp, yUp, zUp) {
  3679. if (WEBAudio.audioWebEnabled == 0) return;
  3680. x = -x;
  3681. y = -y;
  3682. z = -z;
  3683. var l = WEBAudio.audioContext.listener;
  3684. if (l.forwardX) {
  3685. if (l.forwardX.value !== x) l.forwardX.value = x;
  3686. if (l.forwardY.value !== y) l.forwardY.value = y;
  3687. if (l.forwardZ.value !== z) l.forwardZ.value = z;
  3688. if (l.upX.value !== xUp) l.upX.value = xUp;
  3689. if (l.upY.value !== yUp) l.upY.value = yUp;
  3690. if (l.upZ.value !== zUp) l.upZ.value = zUp;
  3691. } else if (l._forwardX !== x || l._forwardY !== y || l._forwardZ !== z || l._upX !== xUp || l._upY !== yUp || l._upZ !== zUp) {
  3692. l.setOrientation(x, y, z, xUp, yUp, zUp);
  3693. l._forwardX = x;
  3694. l._forwardY = y;
  3695. l._forwardZ = z;
  3696. l._upX = xUp;
  3697. l._upY = yUp;
  3698. l._upZ = zUp;
  3699. }
  3700. }
  3701. function _JS_Sound_SetListenerPosition(x, y, z) {
  3702. if (WEBAudio.audioWebEnabled == 0) return;
  3703. var l = WEBAudio.audioContext.listener;
  3704. if (l.positionX) {
  3705. if (l.positionX.value !== x) l.positionX.value = x;
  3706. if (l.positionY.value !== y) l.positionY.value = y;
  3707. if (l.positionZ.value !== z) l.positionZ.value = z;
  3708. } else if (l._positionX !== x || l._positionY !== y || l._positionZ !== z) {
  3709. l.setPosition(x, y, z);
  3710. l._positionX = x;
  3711. l._positionY = y;
  3712. l._positionZ = z;
  3713. }
  3714. }
  3715. function _JS_Sound_SetLoop(channelInstance, loop) {
  3716. if (WEBAudio.audioWebEnabled == 0) return;
  3717. var channel = WEBAudio.audioInstances[channelInstance];
  3718. if (!channel.source) {
  3719. channel.setup();
  3720. }
  3721. if (channel.source.loop !== loop) channel.source.loop = loop;
  3722. }
  3723. function _JS_Sound_SetLoopPoints(channelInstance, loopStart, loopEnd) {
  3724. if (WEBAudio.audioWebEnabled == 0) return;
  3725. var channel = WEBAudio.audioInstances[channelInstance];
  3726. if (!channel.source) {
  3727. channel.setup();
  3728. }
  3729. var s = channel.source;
  3730. if (s.loopStart !== loopStart) s.loopStart = loopStart;
  3731. if (s.loopEnd !== loopEnd) s.loopEnd = loopEnd;
  3732. }
  3733. function _JS_Sound_SetPaused(channelInstance, paused) {
  3734. if (WEBAudio.audioWebEnabled == 0) return;
  3735. var channel = WEBAudio.audioInstances[channelInstance];
  3736. var channelCurrentlyPaused = !channel.source || channel.source.isPausedMockNode;
  3737. if (paused != channelCurrentlyPaused) {
  3738. if (paused) channel.pause(); else channel.resume();
  3739. }
  3740. }
  3741. function _JS_Sound_SetPitch(channelInstance, v) {
  3742. if (WEBAudio.audioWebEnabled == 0) return;
  3743. try {
  3744. WEBAudio.audioInstances[channelInstance].source.setPitch(v);
  3745. } catch (e) {
  3746. console.error("JS_Sound_SetPitch(channel=" + channelInstance + ", pitch=" + v + ") threw an exception: " + e);
  3747. }
  3748. }
  3749. function _JS_Sound_SetPosition(channelInstance, x, y, z) {
  3750. if (WEBAudio.audioWebEnabled == 0) return;
  3751. var p = WEBAudio.audioInstances[channelInstance].panner;
  3752. if (p.positionX) {
  3753. if (p.positionX.value !== x) p.positionX.value = x;
  3754. if (p.positionY.value !== y) p.positionY.value = y;
  3755. if (p.positionZ.value !== z) p.positionZ.value = z;
  3756. } else if (p._x !== x || p._y !== y || p._z !== z) {
  3757. p.setPosition(x, y, z);
  3758. p._x = x;
  3759. p._y = y;
  3760. p._z = z;
  3761. }
  3762. }
  3763. function _JS_Sound_SetVolume(channelInstance, v) {
  3764. if (WEBAudio.audioWebEnabled == 0) return;
  3765. try {
  3766. var g = WEBAudio.audioInstances[channelInstance].gain.gain;
  3767. if (g.value !== v) g.value = v;
  3768. } catch (e) {
  3769. console.error("JS_Sound_SetVolume(channel=" + channelInstance + ", volume=" + v + ") threw an exception: " + e);
  3770. }
  3771. }
  3772. function _JS_Sound_Stop(channelInstance, delay) {
  3773. if (WEBAudio.audioWebEnabled == 0) return;
  3774. var channel = WEBAudio.audioInstances[channelInstance];
  3775. channel.stop(delay);
  3776. }
  3777. function _JS_SystemInfo_GetCanvasClientSize(domElementSelector, outWidth, outHeight) {
  3778. var selector = UTF8ToString(domElementSelector);
  3779. var canvas = selector == "#canvas" ? Module["canvas"] : document.querySelector(selector);
  3780. HEAPF64[outWidth >> 3] = canvas ? canvas.clientWidth : 0;
  3781. HEAPF64[outHeight >> 3] = canvas ? canvas.clientHeight : 0;
  3782. }
  3783. function _JS_SystemInfo_GetDocumentURL(buffer, bufferSize) {
  3784. if (buffer) stringToUTF8(document.URL, buffer, bufferSize);
  3785. return lengthBytesUTF8(document.URL);
  3786. }
  3787. function _JS_SystemInfo_GetGPUInfo(buffer, bufferSize) {
  3788. var gpuinfo = Module.SystemInfo.gpu;
  3789. if (buffer) stringToUTF8(gpuinfo, buffer, bufferSize);
  3790. return lengthBytesUTF8(gpuinfo);
  3791. }
  3792. function _JS_SystemInfo_GetMatchWebGLToCanvasSize() {
  3793. return Module.matchWebGLToCanvasSize || Module.matchWebGLToCanvasSize === undefined;
  3794. }
  3795. function _JS_SystemInfo_GetMemory() {
  3796. return TOTAL_MEMORY / (1024 * 1024);
  3797. }
  3798. function _JS_SystemInfo_GetOS(buffer, bufferSize) {
  3799. var browser = Module.SystemInfo.os + " " + Module.SystemInfo.osVersion;
  3800. if (buffer) stringToUTF8(browser, buffer, bufferSize);
  3801. return lengthBytesUTF8(browser);
  3802. }
  3803. function _JS_SystemInfo_GetPreferredDevicePixelRatio() {
  3804. return Module.matchWebGLToCanvasSize == false ? 1 : Module.devicePixelRatio || window.devicePixelRatio || 1;
  3805. }
  3806. function _JS_SystemInfo_GetScreenSize(outWidth, outHeight) {
  3807. HEAPF64[outWidth >> 3] = Module.SystemInfo.width;
  3808. HEAPF64[outHeight >> 3] = Module.SystemInfo.height;
  3809. }
  3810. function _JS_SystemInfo_HasCursorLock() {
  3811. return Module.SystemInfo.hasCursorLock;
  3812. }
  3813. function _JS_SystemInfo_HasFullscreen() {
  3814. return Module.SystemInfo.hasFullscreen;
  3815. }
  3816. function _JS_SystemInfo_HasWebGL() {
  3817. return Module.SystemInfo.hasWebGL;
  3818. }
  3819. function _ScoreUpload(name, _score) {
  3820. ScoreUpload(Pointer_stringify(name), Pointer_stringify(_score));
  3821. }
  3822. function _StartExam() {
  3823. Start();
  3824. }
  3825. function ___atomic_compare_exchange_8(ptr, expected, desiredl, desiredh, weak, success_memmodel, failure_memmodel) {
  3826. var pl = HEAP32[ptr >> 2];
  3827. var ph = HEAP32[ptr + 4 >> 2];
  3828. var el = HEAP32[expected >> 2];
  3829. var eh = HEAP32[expected + 4 >> 2];
  3830. if (pl === el && ph === eh) {
  3831. HEAP32[ptr >> 2] = desiredl;
  3832. HEAP32[ptr + 4 >> 2] = desiredh;
  3833. return 1;
  3834. } else {
  3835. HEAP32[expected >> 2] = pl;
  3836. HEAP32[expected + 4 >> 2] = ph;
  3837. return 0;
  3838. }
  3839. }
  3840. function ___atomic_fetch_add_8(ptr, vall, valh, memmodel) {
  3841. var l = HEAP32[ptr >> 2];
  3842. var h = HEAP32[ptr + 4 >> 2];
  3843. HEAP32[ptr >> 2] = _i64Add(l, h, vall, valh);
  3844. HEAP32[ptr + 4 >> 2] = getTempRet0();
  3845. return (setTempRet0(h), l) | 0;
  3846. }
  3847. var ENV = {};
  3848. function ___buildEnvironment(environ) {
  3849. var MAX_ENV_VALUES = 64;
  3850. var TOTAL_ENV_SIZE = 1024;
  3851. var poolPtr;
  3852. var envPtr;
  3853. if (!___buildEnvironment.called) {
  3854. ___buildEnvironment.called = true;
  3855. ENV["USER"] = ENV["LOGNAME"] = "web_user";
  3856. ENV["PATH"] = "/";
  3857. ENV["PWD"] = "/";
  3858. ENV["HOME"] = "/home/web_user";
  3859. ENV["LANG"] = "C.UTF-8";
  3860. ENV["_"] = Module["thisProgram"];
  3861. poolPtr = getMemory(TOTAL_ENV_SIZE);
  3862. envPtr = getMemory(MAX_ENV_VALUES * 4);
  3863. HEAP32[envPtr >> 2] = poolPtr;
  3864. HEAP32[environ >> 2] = envPtr;
  3865. } else {
  3866. envPtr = HEAP32[environ >> 2];
  3867. poolPtr = HEAP32[envPtr >> 2];
  3868. }
  3869. var strings = [];
  3870. var totalSize = 0;
  3871. for (var key in ENV) {
  3872. if (typeof ENV[key] === "string") {
  3873. var line = key + "=" + ENV[key];
  3874. strings.push(line);
  3875. totalSize += line.length;
  3876. }
  3877. }
  3878. if (totalSize > TOTAL_ENV_SIZE) {
  3879. throw new Error("Environment size exceeded TOTAL_ENV_SIZE!");
  3880. }
  3881. var ptrSize = 4;
  3882. for (var i = 0; i < strings.length; i++) {
  3883. var line = strings[i];
  3884. writeAsciiToMemory(line, poolPtr);
  3885. HEAP32[envPtr + i * ptrSize >> 2] = poolPtr;
  3886. poolPtr += line.length + 1;
  3887. }
  3888. HEAP32[envPtr + strings.length * ptrSize >> 2] = 0;
  3889. }
  3890. function ___cxa_allocate_exception(size) {
  3891. return _malloc(size);
  3892. }
  3893. function __ZSt18uncaught_exceptionv() {
  3894. return !!__ZSt18uncaught_exceptionv.uncaught_exception;
  3895. }
  3896. var EXCEPTIONS = {
  3897. last: 0,
  3898. caught: [],
  3899. infos: {},
  3900. deAdjust: (function(adjusted) {
  3901. if (!adjusted || EXCEPTIONS.infos[adjusted]) return adjusted;
  3902. for (var key in EXCEPTIONS.infos) {
  3903. var ptr = +key;
  3904. var info = EXCEPTIONS.infos[ptr];
  3905. if (info.adjusted === adjusted) {
  3906. return ptr;
  3907. }
  3908. }
  3909. return adjusted;
  3910. }),
  3911. addRef: (function(ptr) {
  3912. if (!ptr) return;
  3913. var info = EXCEPTIONS.infos[ptr];
  3914. info.refcount++;
  3915. }),
  3916. decRef: (function(ptr) {
  3917. if (!ptr) return;
  3918. var info = EXCEPTIONS.infos[ptr];
  3919. assert(info.refcount > 0);
  3920. info.refcount--;
  3921. if (info.refcount === 0 && !info.rethrown) {
  3922. if (info.destructor) {
  3923. Module["dynCall_vi"](info.destructor, ptr);
  3924. }
  3925. delete EXCEPTIONS.infos[ptr];
  3926. ___cxa_free_exception(ptr);
  3927. }
  3928. }),
  3929. clearRef: (function(ptr) {
  3930. if (!ptr) return;
  3931. var info = EXCEPTIONS.infos[ptr];
  3932. info.refcount = 0;
  3933. })
  3934. };
  3935. function ___cxa_begin_catch(ptr) {
  3936. var info = EXCEPTIONS.infos[ptr];
  3937. if (info && !info.caught) {
  3938. info.caught = true;
  3939. __ZSt18uncaught_exceptionv.uncaught_exception--;
  3940. }
  3941. if (info) info.rethrown = false;
  3942. EXCEPTIONS.caught.push(ptr);
  3943. EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));
  3944. return ptr;
  3945. }
  3946. function ___cxa_free_exception(ptr) {
  3947. try {
  3948. return _free(ptr);
  3949. } catch (e) {
  3950. err("exception during cxa_free_exception: " + e);
  3951. }
  3952. }
  3953. function ___cxa_end_catch() {
  3954. Module["setThrew"](0);
  3955. var ptr = EXCEPTIONS.caught.pop();
  3956. if (ptr) {
  3957. EXCEPTIONS.decRef(EXCEPTIONS.deAdjust(ptr));
  3958. EXCEPTIONS.last = 0;
  3959. }
  3960. }
  3961. function ___cxa_find_matching_catch_2() {
  3962. return ___cxa_find_matching_catch.apply(null, arguments);
  3963. }
  3964. function ___cxa_find_matching_catch_3() {
  3965. return ___cxa_find_matching_catch.apply(null, arguments);
  3966. }
  3967. function ___cxa_find_matching_catch_4() {
  3968. return ___cxa_find_matching_catch.apply(null, arguments);
  3969. }
  3970. function ___cxa_pure_virtual() {
  3971. ABORT = true;
  3972. throw "Pure virtual function called!";
  3973. }
  3974. function ___cxa_rethrow() {
  3975. var ptr = EXCEPTIONS.caught.pop();
  3976. ptr = EXCEPTIONS.deAdjust(ptr);
  3977. if (!EXCEPTIONS.infos[ptr].rethrown) {
  3978. EXCEPTIONS.caught.push(ptr);
  3979. EXCEPTIONS.infos[ptr].rethrown = true;
  3980. }
  3981. EXCEPTIONS.last = ptr;
  3982. throw ptr;
  3983. }
  3984. function ___resumeException(ptr) {
  3985. if (!EXCEPTIONS.last) {
  3986. EXCEPTIONS.last = ptr;
  3987. }
  3988. throw ptr;
  3989. }
  3990. function ___cxa_find_matching_catch() {
  3991. var thrown = EXCEPTIONS.last;
  3992. if (!thrown) {
  3993. return (setTempRet0(0), 0) | 0;
  3994. }
  3995. var info = EXCEPTIONS.infos[thrown];
  3996. var throwntype = info.type;
  3997. if (!throwntype) {
  3998. return (setTempRet0(0), thrown) | 0;
  3999. }
  4000. var typeArray = Array.prototype.slice.call(arguments);
  4001. var pointer = Module["___cxa_is_pointer_type"](throwntype);
  4002. if (!___cxa_find_matching_catch.buffer) ___cxa_find_matching_catch.buffer = _malloc(4);
  4003. HEAP32[___cxa_find_matching_catch.buffer >> 2] = thrown;
  4004. thrown = ___cxa_find_matching_catch.buffer;
  4005. for (var i = 0; i < typeArray.length; i++) {
  4006. if (typeArray[i] && Module["___cxa_can_catch"](typeArray[i], throwntype, thrown)) {
  4007. thrown = HEAP32[thrown >> 2];
  4008. info.adjusted = thrown;
  4009. return (setTempRet0(typeArray[i]), thrown) | 0;
  4010. }
  4011. }
  4012. thrown = HEAP32[thrown >> 2];
  4013. return (setTempRet0(throwntype), thrown) | 0;
  4014. }
  4015. function ___cxa_throw(ptr, type, destructor) {
  4016. EXCEPTIONS.infos[ptr] = {
  4017. ptr: ptr,
  4018. adjusted: ptr,
  4019. type: type,
  4020. destructor: destructor,
  4021. refcount: 0,
  4022. caught: false,
  4023. rethrown: false
  4024. };
  4025. EXCEPTIONS.last = ptr;
  4026. if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) {
  4027. __ZSt18uncaught_exceptionv.uncaught_exception = 1;
  4028. } else {
  4029. __ZSt18uncaught_exceptionv.uncaught_exception++;
  4030. }
  4031. throw ptr;
  4032. }
  4033. function ___gxx_personality_v0() {}
  4034. function ___lock() {}
  4035. var ERRNO_CODES = {
  4036. EPERM: 1,
  4037. ENOENT: 2,
  4038. ESRCH: 3,
  4039. EINTR: 4,
  4040. EIO: 5,
  4041. ENXIO: 6,
  4042. E2BIG: 7,
  4043. ENOEXEC: 8,
  4044. EBADF: 9,
  4045. ECHILD: 10,
  4046. EAGAIN: 11,
  4047. EWOULDBLOCK: 11,
  4048. ENOMEM: 12,
  4049. EACCES: 13,
  4050. EFAULT: 14,
  4051. ENOTBLK: 15,
  4052. EBUSY: 16,
  4053. EEXIST: 17,
  4054. EXDEV: 18,
  4055. ENODEV: 19,
  4056. ENOTDIR: 20,
  4057. EISDIR: 21,
  4058. EINVAL: 22,
  4059. ENFILE: 23,
  4060. EMFILE: 24,
  4061. ENOTTY: 25,
  4062. ETXTBSY: 26,
  4063. EFBIG: 27,
  4064. ENOSPC: 28,
  4065. ESPIPE: 29,
  4066. EROFS: 30,
  4067. EMLINK: 31,
  4068. EPIPE: 32,
  4069. EDOM: 33,
  4070. ERANGE: 34,
  4071. ENOMSG: 42,
  4072. EIDRM: 43,
  4073. ECHRNG: 44,
  4074. EL2NSYNC: 45,
  4075. EL3HLT: 46,
  4076. EL3RST: 47,
  4077. ELNRNG: 48,
  4078. EUNATCH: 49,
  4079. ENOCSI: 50,
  4080. EL2HLT: 51,
  4081. EDEADLK: 35,
  4082. ENOLCK: 37,
  4083. EBADE: 52,
  4084. EBADR: 53,
  4085. EXFULL: 54,
  4086. ENOANO: 55,
  4087. EBADRQC: 56,
  4088. EBADSLT: 57,
  4089. EDEADLOCK: 35,
  4090. EBFONT: 59,
  4091. ENOSTR: 60,
  4092. ENODATA: 61,
  4093. ETIME: 62,
  4094. ENOSR: 63,
  4095. ENONET: 64,
  4096. ENOPKG: 65,
  4097. EREMOTE: 66,
  4098. ENOLINK: 67,
  4099. EADV: 68,
  4100. ESRMNT: 69,
  4101. ECOMM: 70,
  4102. EPROTO: 71,
  4103. EMULTIHOP: 72,
  4104. EDOTDOT: 73,
  4105. EBADMSG: 74,
  4106. ENOTUNIQ: 76,
  4107. EBADFD: 77,
  4108. EREMCHG: 78,
  4109. ELIBACC: 79,
  4110. ELIBBAD: 80,
  4111. ELIBSCN: 81,
  4112. ELIBMAX: 82,
  4113. ELIBEXEC: 83,
  4114. ENOSYS: 38,
  4115. ENOTEMPTY: 39,
  4116. ENAMETOOLONG: 36,
  4117. ELOOP: 40,
  4118. EOPNOTSUPP: 95,
  4119. EPFNOSUPPORT: 96,
  4120. ECONNRESET: 104,
  4121. ENOBUFS: 105,
  4122. EAFNOSUPPORT: 97,
  4123. EPROTOTYPE: 91,
  4124. ENOTSOCK: 88,
  4125. ENOPROTOOPT: 92,
  4126. ESHUTDOWN: 108,
  4127. ECONNREFUSED: 111,
  4128. EADDRINUSE: 98,
  4129. ECONNABORTED: 103,
  4130. ENETUNREACH: 101,
  4131. ENETDOWN: 100,
  4132. ETIMEDOUT: 110,
  4133. EHOSTDOWN: 112,
  4134. EHOSTUNREACH: 113,
  4135. EINPROGRESS: 115,
  4136. EALREADY: 114,
  4137. EDESTADDRREQ: 89,
  4138. EMSGSIZE: 90,
  4139. EPROTONOSUPPORT: 93,
  4140. ESOCKTNOSUPPORT: 94,
  4141. EADDRNOTAVAIL: 99,
  4142. ENETRESET: 102,
  4143. EISCONN: 106,
  4144. ENOTCONN: 107,
  4145. ETOOMANYREFS: 109,
  4146. EUSERS: 87,
  4147. EDQUOT: 122,
  4148. ESTALE: 116,
  4149. ENOTSUP: 95,
  4150. ENOMEDIUM: 123,
  4151. EILSEQ: 84,
  4152. EOVERFLOW: 75,
  4153. ECANCELED: 125,
  4154. ENOTRECOVERABLE: 131,
  4155. EOWNERDEAD: 130,
  4156. ESTRPIPE: 86
  4157. };
  4158. function ___setErrNo(value) {
  4159. if (Module["___errno_location"]) HEAP32[Module["___errno_location"]() >> 2] = value; else err("failed to set errno from JS");
  4160. return value;
  4161. }
  4162. function ___map_file(pathname, size) {
  4163. ___setErrNo(ERRNO_CODES.EPERM);
  4164. return -1;
  4165. }
  4166. var ERRNO_MESSAGES = {
  4167. 0: "Success",
  4168. 1: "Not super-user",
  4169. 2: "No such file or directory",
  4170. 3: "No such process",
  4171. 4: "Interrupted system call",
  4172. 5: "I/O error",
  4173. 6: "No such device or address",
  4174. 7: "Arg list too long",
  4175. 8: "Exec format error",
  4176. 9: "Bad file number",
  4177. 10: "No children",
  4178. 11: "No more processes",
  4179. 12: "Not enough core",
  4180. 13: "Permission denied",
  4181. 14: "Bad address",
  4182. 15: "Block device required",
  4183. 16: "Mount device busy",
  4184. 17: "File exists",
  4185. 18: "Cross-device link",
  4186. 19: "No such device",
  4187. 20: "Not a directory",
  4188. 21: "Is a directory",
  4189. 22: "Invalid argument",
  4190. 23: "Too many open files in system",
  4191. 24: "Too many open files",
  4192. 25: "Not a typewriter",
  4193. 26: "Text file busy",
  4194. 27: "File too large",
  4195. 28: "No space left on device",
  4196. 29: "Illegal seek",
  4197. 30: "Read only file system",
  4198. 31: "Too many links",
  4199. 32: "Broken pipe",
  4200. 33: "Math arg out of domain of func",
  4201. 34: "Math result not representable",
  4202. 35: "File locking deadlock error",
  4203. 36: "File or path name too long",
  4204. 37: "No record locks available",
  4205. 38: "Function not implemented",
  4206. 39: "Directory not empty",
  4207. 40: "Too many symbolic links",
  4208. 42: "No message of desired type",
  4209. 43: "Identifier removed",
  4210. 44: "Channel number out of range",
  4211. 45: "Level 2 not synchronized",
  4212. 46: "Level 3 halted",
  4213. 47: "Level 3 reset",
  4214. 48: "Link number out of range",
  4215. 49: "Protocol driver not attached",
  4216. 50: "No CSI structure available",
  4217. 51: "Level 2 halted",
  4218. 52: "Invalid exchange",
  4219. 53: "Invalid request descriptor",
  4220. 54: "Exchange full",
  4221. 55: "No anode",
  4222. 56: "Invalid request code",
  4223. 57: "Invalid slot",
  4224. 59: "Bad font file fmt",
  4225. 60: "Device not a stream",
  4226. 61: "No data (for no delay io)",
  4227. 62: "Timer expired",
  4228. 63: "Out of streams resources",
  4229. 64: "Machine is not on the network",
  4230. 65: "Package not installed",
  4231. 66: "The object is remote",
  4232. 67: "The link has been severed",
  4233. 68: "Advertise error",
  4234. 69: "Srmount error",
  4235. 70: "Communication error on send",
  4236. 71: "Protocol error",
  4237. 72: "Multihop attempted",
  4238. 73: "Cross mount point (not really error)",
  4239. 74: "Trying to read unreadable message",
  4240. 75: "Value too large for defined data type",
  4241. 76: "Given log. name not unique",
  4242. 77: "f.d. invalid for this operation",
  4243. 78: "Remote address changed",
  4244. 79: "Can access a needed shared lib",
  4245. 80: "Accessing a corrupted shared lib",
  4246. 81: ".lib section in a.out corrupted",
  4247. 82: "Attempting to link in too many libs",
  4248. 83: "Attempting to exec a shared library",
  4249. 84: "Illegal byte sequence",
  4250. 86: "Streams pipe error",
  4251. 87: "Too many users",
  4252. 88: "Socket operation on non-socket",
  4253. 89: "Destination address required",
  4254. 90: "Message too long",
  4255. 91: "Protocol wrong type for socket",
  4256. 92: "Protocol not available",
  4257. 93: "Unknown protocol",
  4258. 94: "Socket type not supported",
  4259. 95: "Not supported",
  4260. 96: "Protocol family not supported",
  4261. 97: "Address family not supported by protocol family",
  4262. 98: "Address already in use",
  4263. 99: "Address not available",
  4264. 100: "Network interface is not configured",
  4265. 101: "Network is unreachable",
  4266. 102: "Connection reset by network",
  4267. 103: "Connection aborted",
  4268. 104: "Connection reset by peer",
  4269. 105: "No buffer space available",
  4270. 106: "Socket is already connected",
  4271. 107: "Socket is not connected",
  4272. 108: "Can't send after socket shutdown",
  4273. 109: "Too many references",
  4274. 110: "Connection timed out",
  4275. 111: "Connection refused",
  4276. 112: "Host is down",
  4277. 113: "Host is unreachable",
  4278. 114: "Socket already connected",
  4279. 115: "Connection already in progress",
  4280. 116: "Stale file handle",
  4281. 122: "Quota exceeded",
  4282. 123: "No medium (in tape drive)",
  4283. 125: "Operation canceled",
  4284. 130: "Previous owner died",
  4285. 131: "State not recoverable"
  4286. };
  4287. var PATH = {
  4288. splitPath: (function(filename) {
  4289. var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
  4290. return splitPathRe.exec(filename).slice(1);
  4291. }),
  4292. normalizeArray: (function(parts, allowAboveRoot) {
  4293. var up = 0;
  4294. for (var i = parts.length - 1; i >= 0; i--) {
  4295. var last = parts[i];
  4296. if (last === ".") {
  4297. parts.splice(i, 1);
  4298. } else if (last === "..") {
  4299. parts.splice(i, 1);
  4300. up++;
  4301. } else if (up) {
  4302. parts.splice(i, 1);
  4303. up--;
  4304. }
  4305. }
  4306. if (allowAboveRoot) {
  4307. for (; up; up--) {
  4308. parts.unshift("..");
  4309. }
  4310. }
  4311. return parts;
  4312. }),
  4313. normalize: (function(path) {
  4314. var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/";
  4315. path = PATH.normalizeArray(path.split("/").filter((function(p) {
  4316. return !!p;
  4317. })), !isAbsolute).join("/");
  4318. if (!path && !isAbsolute) {
  4319. path = ".";
  4320. }
  4321. if (path && trailingSlash) {
  4322. path += "/";
  4323. }
  4324. return (isAbsolute ? "/" : "") + path;
  4325. }),
  4326. dirname: (function(path) {
  4327. var result = PATH.splitPath(path), root = result[0], dir = result[1];
  4328. if (!root && !dir) {
  4329. return ".";
  4330. }
  4331. if (dir) {
  4332. dir = dir.substr(0, dir.length - 1);
  4333. }
  4334. return root + dir;
  4335. }),
  4336. basename: (function(path) {
  4337. if (path === "/") return "/";
  4338. var lastSlash = path.lastIndexOf("/");
  4339. if (lastSlash === -1) return path;
  4340. return path.substr(lastSlash + 1);
  4341. }),
  4342. extname: (function(path) {
  4343. return PATH.splitPath(path)[3];
  4344. }),
  4345. join: (function() {
  4346. var paths = Array.prototype.slice.call(arguments, 0);
  4347. return PATH.normalize(paths.join("/"));
  4348. }),
  4349. join2: (function(l, r) {
  4350. return PATH.normalize(l + "/" + r);
  4351. }),
  4352. resolve: (function() {
  4353. var resolvedPath = "", resolvedAbsolute = false;
  4354. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  4355. var path = i >= 0 ? arguments[i] : FS.cwd();
  4356. if (typeof path !== "string") {
  4357. throw new TypeError("Arguments to path.resolve must be strings");
  4358. } else if (!path) {
  4359. return "";
  4360. }
  4361. resolvedPath = path + "/" + resolvedPath;
  4362. resolvedAbsolute = path.charAt(0) === "/";
  4363. }
  4364. resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter((function(p) {
  4365. return !!p;
  4366. })), !resolvedAbsolute).join("/");
  4367. return (resolvedAbsolute ? "/" : "") + resolvedPath || ".";
  4368. }),
  4369. relative: (function(from, to) {
  4370. from = PATH.resolve(from).substr(1);
  4371. to = PATH.resolve(to).substr(1);
  4372. function trim(arr) {
  4373. var start = 0;
  4374. for (; start < arr.length; start++) {
  4375. if (arr[start] !== "") break;
  4376. }
  4377. var end = arr.length - 1;
  4378. for (; end >= 0; end--) {
  4379. if (arr[end] !== "") break;
  4380. }
  4381. if (start > end) return [];
  4382. return arr.slice(start, end - start + 1);
  4383. }
  4384. var fromParts = trim(from.split("/"));
  4385. var toParts = trim(to.split("/"));
  4386. var length = Math.min(fromParts.length, toParts.length);
  4387. var samePartsLength = length;
  4388. for (var i = 0; i < length; i++) {
  4389. if (fromParts[i] !== toParts[i]) {
  4390. samePartsLength = i;
  4391. break;
  4392. }
  4393. }
  4394. var outputParts = [];
  4395. for (var i = samePartsLength; i < fromParts.length; i++) {
  4396. outputParts.push("..");
  4397. }
  4398. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  4399. return outputParts.join("/");
  4400. })
  4401. };
  4402. var TTY = {
  4403. ttys: [],
  4404. init: (function() {}),
  4405. shutdown: (function() {}),
  4406. register: (function(dev, ops) {
  4407. TTY.ttys[dev] = {
  4408. input: [],
  4409. output: [],
  4410. ops: ops
  4411. };
  4412. FS.registerDevice(dev, TTY.stream_ops);
  4413. }),
  4414. stream_ops: {
  4415. open: (function(stream) {
  4416. var tty = TTY.ttys[stream.node.rdev];
  4417. if (!tty) {
  4418. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4419. }
  4420. stream.tty = tty;
  4421. stream.seekable = false;
  4422. }),
  4423. close: (function(stream) {
  4424. stream.tty.ops.flush(stream.tty);
  4425. }),
  4426. flush: (function(stream) {
  4427. stream.tty.ops.flush(stream.tty);
  4428. }),
  4429. read: (function(stream, buffer, offset, length, pos) {
  4430. if (!stream.tty || !stream.tty.ops.get_char) {
  4431. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4432. }
  4433. var bytesRead = 0;
  4434. for (var i = 0; i < length; i++) {
  4435. var result;
  4436. try {
  4437. result = stream.tty.ops.get_char(stream.tty);
  4438. } catch (e) {
  4439. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4440. }
  4441. if (result === undefined && bytesRead === 0) {
  4442. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  4443. }
  4444. if (result === null || result === undefined) break;
  4445. bytesRead++;
  4446. buffer[offset + i] = result;
  4447. }
  4448. if (bytesRead) {
  4449. stream.node.timestamp = Date.now();
  4450. }
  4451. return bytesRead;
  4452. }),
  4453. write: (function(stream, buffer, offset, length, pos) {
  4454. if (!stream.tty || !stream.tty.ops.put_char) {
  4455. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4456. }
  4457. for (var i = 0; i < length; i++) {
  4458. try {
  4459. stream.tty.ops.put_char(stream.tty, buffer[offset + i]);
  4460. } catch (e) {
  4461. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4462. }
  4463. }
  4464. if (length) {
  4465. stream.node.timestamp = Date.now();
  4466. }
  4467. return i;
  4468. })
  4469. },
  4470. default_tty_ops: {
  4471. get_char: (function(tty) {
  4472. if (!tty.input.length) {
  4473. var result = null;
  4474. if (ENVIRONMENT_IS_NODE) {
  4475. var BUFSIZE = 256;
  4476. var buf = new Buffer(BUFSIZE);
  4477. var bytesRead = 0;
  4478. var isPosixPlatform = process.platform != "win32";
  4479. var fd = process.stdin.fd;
  4480. if (isPosixPlatform) {
  4481. var usingDevice = false;
  4482. try {
  4483. fd = fs.openSync("/dev/stdin", "r");
  4484. usingDevice = true;
  4485. } catch (e) {}
  4486. }
  4487. try {
  4488. bytesRead = fs.readSync(fd, buf, 0, BUFSIZE, null);
  4489. } catch (e) {
  4490. if (e.toString().indexOf("EOF") != -1) bytesRead = 0; else throw e;
  4491. }
  4492. if (usingDevice) {
  4493. fs.closeSync(fd);
  4494. }
  4495. if (bytesRead > 0) {
  4496. result = buf.slice(0, bytesRead).toString("utf-8");
  4497. } else {
  4498. result = null;
  4499. }
  4500. } else if (typeof window != "undefined" && typeof window.prompt == "function") {
  4501. result = window.prompt("Input: ");
  4502. if (result !== null) {
  4503. result += "\n";
  4504. }
  4505. } else if (typeof readline == "function") {
  4506. result = readline();
  4507. if (result !== null) {
  4508. result += "\n";
  4509. }
  4510. }
  4511. if (!result) {
  4512. return null;
  4513. }
  4514. tty.input = intArrayFromString(result, true);
  4515. }
  4516. return tty.input.shift();
  4517. }),
  4518. put_char: (function(tty, val) {
  4519. if (val === null || val === 10) {
  4520. out(UTF8ArrayToString(tty.output, 0));
  4521. tty.output = [];
  4522. } else {
  4523. if (val != 0) tty.output.push(val);
  4524. }
  4525. }),
  4526. flush: (function(tty) {
  4527. if (tty.output && tty.output.length > 0) {
  4528. out(UTF8ArrayToString(tty.output, 0));
  4529. tty.output = [];
  4530. }
  4531. })
  4532. },
  4533. default_tty1_ops: {
  4534. put_char: (function(tty, val) {
  4535. if (val === null || val === 10) {
  4536. err(UTF8ArrayToString(tty.output, 0));
  4537. tty.output = [];
  4538. } else {
  4539. if (val != 0) tty.output.push(val);
  4540. }
  4541. }),
  4542. flush: (function(tty) {
  4543. if (tty.output && tty.output.length > 0) {
  4544. err(UTF8ArrayToString(tty.output, 0));
  4545. tty.output = [];
  4546. }
  4547. })
  4548. }
  4549. };
  4550. var MEMFS = {
  4551. ops_table: null,
  4552. mount: (function(mount) {
  4553. return MEMFS.createNode(null, "/", 16384 | 511, 0);
  4554. }),
  4555. createNode: (function(parent, name, mode, dev) {
  4556. if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
  4557. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  4558. }
  4559. if (!MEMFS.ops_table) {
  4560. MEMFS.ops_table = {
  4561. dir: {
  4562. node: {
  4563. getattr: MEMFS.node_ops.getattr,
  4564. setattr: MEMFS.node_ops.setattr,
  4565. lookup: MEMFS.node_ops.lookup,
  4566. mknod: MEMFS.node_ops.mknod,
  4567. rename: MEMFS.node_ops.rename,
  4568. unlink: MEMFS.node_ops.unlink,
  4569. rmdir: MEMFS.node_ops.rmdir,
  4570. readdir: MEMFS.node_ops.readdir,
  4571. symlink: MEMFS.node_ops.symlink
  4572. },
  4573. stream: {
  4574. llseek: MEMFS.stream_ops.llseek
  4575. }
  4576. },
  4577. file: {
  4578. node: {
  4579. getattr: MEMFS.node_ops.getattr,
  4580. setattr: MEMFS.node_ops.setattr
  4581. },
  4582. stream: {
  4583. llseek: MEMFS.stream_ops.llseek,
  4584. read: MEMFS.stream_ops.read,
  4585. write: MEMFS.stream_ops.write,
  4586. allocate: MEMFS.stream_ops.allocate,
  4587. mmap: MEMFS.stream_ops.mmap,
  4588. msync: MEMFS.stream_ops.msync
  4589. }
  4590. },
  4591. link: {
  4592. node: {
  4593. getattr: MEMFS.node_ops.getattr,
  4594. setattr: MEMFS.node_ops.setattr,
  4595. readlink: MEMFS.node_ops.readlink
  4596. },
  4597. stream: {}
  4598. },
  4599. chrdev: {
  4600. node: {
  4601. getattr: MEMFS.node_ops.getattr,
  4602. setattr: MEMFS.node_ops.setattr
  4603. },
  4604. stream: FS.chrdev_stream_ops
  4605. }
  4606. };
  4607. }
  4608. var node = FS.createNode(parent, name, mode, dev);
  4609. if (FS.isDir(node.mode)) {
  4610. node.node_ops = MEMFS.ops_table.dir.node;
  4611. node.stream_ops = MEMFS.ops_table.dir.stream;
  4612. node.contents = {};
  4613. } else if (FS.isFile(node.mode)) {
  4614. node.node_ops = MEMFS.ops_table.file.node;
  4615. node.stream_ops = MEMFS.ops_table.file.stream;
  4616. node.usedBytes = 0;
  4617. node.contents = null;
  4618. } else if (FS.isLink(node.mode)) {
  4619. node.node_ops = MEMFS.ops_table.link.node;
  4620. node.stream_ops = MEMFS.ops_table.link.stream;
  4621. } else if (FS.isChrdev(node.mode)) {
  4622. node.node_ops = MEMFS.ops_table.chrdev.node;
  4623. node.stream_ops = MEMFS.ops_table.chrdev.stream;
  4624. }
  4625. node.timestamp = Date.now();
  4626. if (parent) {
  4627. parent.contents[name] = node;
  4628. }
  4629. return node;
  4630. }),
  4631. getFileDataAsRegularArray: (function(node) {
  4632. if (node.contents && node.contents.subarray) {
  4633. var arr = [];
  4634. for (var i = 0; i < node.usedBytes; ++i) arr.push(node.contents[i]);
  4635. return arr;
  4636. }
  4637. return node.contents;
  4638. }),
  4639. getFileDataAsTypedArray: (function(node) {
  4640. if (!node.contents) return new Uint8Array;
  4641. if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
  4642. return new Uint8Array(node.contents);
  4643. }),
  4644. expandFileStorage: (function(node, newCapacity) {
  4645. if (node.contents && node.contents.subarray && newCapacity > node.contents.length) {
  4646. node.contents = MEMFS.getFileDataAsRegularArray(node);
  4647. node.usedBytes = node.contents.length;
  4648. }
  4649. if (!node.contents || node.contents.subarray) {
  4650. var prevCapacity = node.contents ? node.contents.length : 0;
  4651. if (prevCapacity >= newCapacity) return;
  4652. var CAPACITY_DOUBLING_MAX = 1024 * 1024;
  4653. newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) | 0);
  4654. if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
  4655. var oldContents = node.contents;
  4656. node.contents = new Uint8Array(newCapacity);
  4657. if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
  4658. return;
  4659. }
  4660. if (!node.contents && newCapacity > 0) node.contents = [];
  4661. while (node.contents.length < newCapacity) node.contents.push(0);
  4662. }),
  4663. resizeFileStorage: (function(node, newSize) {
  4664. if (node.usedBytes == newSize) return;
  4665. if (newSize == 0) {
  4666. node.contents = null;
  4667. node.usedBytes = 0;
  4668. return;
  4669. }
  4670. if (!node.contents || node.contents.subarray) {
  4671. var oldContents = node.contents;
  4672. node.contents = new Uint8Array(new ArrayBuffer(newSize));
  4673. if (oldContents) {
  4674. node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
  4675. }
  4676. node.usedBytes = newSize;
  4677. return;
  4678. }
  4679. if (!node.contents) node.contents = [];
  4680. if (node.contents.length > newSize) node.contents.length = newSize; else while (node.contents.length < newSize) node.contents.push(0);
  4681. node.usedBytes = newSize;
  4682. }),
  4683. node_ops: {
  4684. getattr: (function(node) {
  4685. var attr = {};
  4686. attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
  4687. attr.ino = node.id;
  4688. attr.mode = node.mode;
  4689. attr.nlink = 1;
  4690. attr.uid = 0;
  4691. attr.gid = 0;
  4692. attr.rdev = node.rdev;
  4693. if (FS.isDir(node.mode)) {
  4694. attr.size = 4096;
  4695. } else if (FS.isFile(node.mode)) {
  4696. attr.size = node.usedBytes;
  4697. } else if (FS.isLink(node.mode)) {
  4698. attr.size = node.link.length;
  4699. } else {
  4700. attr.size = 0;
  4701. }
  4702. attr.atime = new Date(node.timestamp);
  4703. attr.mtime = new Date(node.timestamp);
  4704. attr.ctime = new Date(node.timestamp);
  4705. attr.blksize = 4096;
  4706. attr.blocks = Math.ceil(attr.size / attr.blksize);
  4707. return attr;
  4708. }),
  4709. setattr: (function(node, attr) {
  4710. if (attr.mode !== undefined) {
  4711. node.mode = attr.mode;
  4712. }
  4713. if (attr.timestamp !== undefined) {
  4714. node.timestamp = attr.timestamp;
  4715. }
  4716. if (attr.size !== undefined) {
  4717. MEMFS.resizeFileStorage(node, attr.size);
  4718. }
  4719. }),
  4720. lookup: (function(parent, name) {
  4721. throw FS.genericErrors[ERRNO_CODES.ENOENT];
  4722. }),
  4723. mknod: (function(parent, name, mode, dev) {
  4724. return MEMFS.createNode(parent, name, mode, dev);
  4725. }),
  4726. rename: (function(old_node, new_dir, new_name) {
  4727. if (FS.isDir(old_node.mode)) {
  4728. var new_node;
  4729. try {
  4730. new_node = FS.lookupNode(new_dir, new_name);
  4731. } catch (e) {}
  4732. if (new_node) {
  4733. for (var i in new_node.contents) {
  4734. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4735. }
  4736. }
  4737. }
  4738. delete old_node.parent.contents[old_node.name];
  4739. old_node.name = new_name;
  4740. new_dir.contents[new_name] = old_node;
  4741. old_node.parent = new_dir;
  4742. }),
  4743. unlink: (function(parent, name) {
  4744. delete parent.contents[name];
  4745. }),
  4746. rmdir: (function(parent, name) {
  4747. var node = FS.lookupNode(parent, name);
  4748. for (var i in node.contents) {
  4749. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4750. }
  4751. delete parent.contents[name];
  4752. }),
  4753. readdir: (function(node) {
  4754. var entries = [ ".", ".." ];
  4755. for (var key in node.contents) {
  4756. if (!node.contents.hasOwnProperty(key)) {
  4757. continue;
  4758. }
  4759. entries.push(key);
  4760. }
  4761. return entries;
  4762. }),
  4763. symlink: (function(parent, newname, oldpath) {
  4764. var node = MEMFS.createNode(parent, newname, 511 | 40960, 0);
  4765. node.link = oldpath;
  4766. return node;
  4767. }),
  4768. readlink: (function(node) {
  4769. if (!FS.isLink(node.mode)) {
  4770. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4771. }
  4772. return node.link;
  4773. })
  4774. },
  4775. stream_ops: {
  4776. read: (function(stream, buffer, offset, length, position) {
  4777. var contents = stream.node.contents;
  4778. if (position >= stream.node.usedBytes) return 0;
  4779. var size = Math.min(stream.node.usedBytes - position, length);
  4780. assert(size >= 0);
  4781. if (size > 8 && contents.subarray) {
  4782. buffer.set(contents.subarray(position, position + size), offset);
  4783. } else {
  4784. for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
  4785. }
  4786. return size;
  4787. }),
  4788. write: (function(stream, buffer, offset, length, position, canOwn) {
  4789. if (!length) return 0;
  4790. var node = stream.node;
  4791. node.timestamp = Date.now();
  4792. if (buffer.subarray && (!node.contents || node.contents.subarray)) {
  4793. if (canOwn) {
  4794. assert(position === 0, "canOwn must imply no weird position inside the file");
  4795. node.contents = buffer.subarray(offset, offset + length);
  4796. node.usedBytes = length;
  4797. return length;
  4798. } else if (node.usedBytes === 0 && position === 0) {
  4799. node.contents = new Uint8Array(buffer.subarray(offset, offset + length));
  4800. node.usedBytes = length;
  4801. return length;
  4802. } else if (position + length <= node.usedBytes) {
  4803. node.contents.set(buffer.subarray(offset, offset + length), position);
  4804. return length;
  4805. }
  4806. }
  4807. MEMFS.expandFileStorage(node, position + length);
  4808. if (node.contents.subarray && buffer.subarray) node.contents.set(buffer.subarray(offset, offset + length), position); else {
  4809. for (var i = 0; i < length; i++) {
  4810. node.contents[position + i] = buffer[offset + i];
  4811. }
  4812. }
  4813. node.usedBytes = Math.max(node.usedBytes, position + length);
  4814. return length;
  4815. }),
  4816. llseek: (function(stream, offset, whence) {
  4817. var position = offset;
  4818. if (whence === 1) {
  4819. position += stream.position;
  4820. } else if (whence === 2) {
  4821. if (FS.isFile(stream.node.mode)) {
  4822. position += stream.node.usedBytes;
  4823. }
  4824. }
  4825. if (position < 0) {
  4826. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4827. }
  4828. return position;
  4829. }),
  4830. allocate: (function(stream, offset, length) {
  4831. MEMFS.expandFileStorage(stream.node, offset + length);
  4832. stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length);
  4833. }),
  4834. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  4835. if (!FS.isFile(stream.node.mode)) {
  4836. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4837. }
  4838. var ptr;
  4839. var allocated;
  4840. var contents = stream.node.contents;
  4841. if (!(flags & 2) && (contents.buffer === buffer || contents.buffer === buffer.buffer)) {
  4842. allocated = false;
  4843. ptr = contents.byteOffset;
  4844. } else {
  4845. if (position > 0 || position + length < stream.node.usedBytes) {
  4846. if (contents.subarray) {
  4847. contents = contents.subarray(position, position + length);
  4848. } else {
  4849. contents = Array.prototype.slice.call(contents, position, position + length);
  4850. }
  4851. }
  4852. allocated = true;
  4853. var fromHeap = buffer.buffer == HEAP8.buffer;
  4854. ptr = _malloc(length);
  4855. if (!ptr) {
  4856. throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);
  4857. }
  4858. (fromHeap ? HEAP8 : buffer).set(contents, ptr);
  4859. }
  4860. return {
  4861. ptr: ptr,
  4862. allocated: allocated
  4863. };
  4864. }),
  4865. msync: (function(stream, buffer, offset, length, mmapFlags) {
  4866. if (!FS.isFile(stream.node.mode)) {
  4867. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4868. }
  4869. if (mmapFlags & 2) {
  4870. return 0;
  4871. }
  4872. var bytesWritten = MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false);
  4873. return 0;
  4874. })
  4875. }
  4876. };
  4877. var IDBFS = {
  4878. dbs: {},
  4879. indexedDB: (function() {
  4880. if (typeof indexedDB !== "undefined") return indexedDB;
  4881. var ret = null;
  4882. if (typeof window === "object") ret = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  4883. assert(ret, "IDBFS used, but indexedDB not supported");
  4884. return ret;
  4885. }),
  4886. DB_VERSION: 21,
  4887. DB_STORE_NAME: "FILE_DATA",
  4888. mount: (function(mount) {
  4889. return MEMFS.mount.apply(null, arguments);
  4890. }),
  4891. syncfs: (function(mount, populate, callback) {
  4892. IDBFS.getLocalSet(mount, (function(err, local) {
  4893. if (err) return callback(err);
  4894. IDBFS.getRemoteSet(mount, (function(err, remote) {
  4895. if (err) return callback(err);
  4896. var src = populate ? remote : local;
  4897. var dst = populate ? local : remote;
  4898. IDBFS.reconcile(src, dst, callback);
  4899. }));
  4900. }));
  4901. }),
  4902. getDB: (function(name, callback) {
  4903. var db = IDBFS.dbs[name];
  4904. if (db) {
  4905. return callback(null, db);
  4906. }
  4907. var req;
  4908. try {
  4909. req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION);
  4910. } catch (e) {
  4911. return callback(e);
  4912. }
  4913. if (!req) {
  4914. return callback("Unable to connect to IndexedDB");
  4915. }
  4916. req.onupgradeneeded = (function(e) {
  4917. var db = e.target.result;
  4918. var transaction = e.target.transaction;
  4919. var fileStore;
  4920. if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
  4921. fileStore = transaction.objectStore(IDBFS.DB_STORE_NAME);
  4922. } else {
  4923. fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
  4924. }
  4925. if (!fileStore.indexNames.contains("timestamp")) {
  4926. fileStore.createIndex("timestamp", "timestamp", {
  4927. unique: false
  4928. });
  4929. }
  4930. });
  4931. req.onsuccess = (function() {
  4932. db = req.result;
  4933. IDBFS.dbs[name] = db;
  4934. callback(null, db);
  4935. });
  4936. req.onerror = (function(e) {
  4937. callback(this.error);
  4938. e.preventDefault();
  4939. });
  4940. }),
  4941. getLocalSet: (function(mount, callback) {
  4942. var entries = {};
  4943. function isRealDir(p) {
  4944. return p !== "." && p !== "..";
  4945. }
  4946. function toAbsolute(root) {
  4947. return (function(p) {
  4948. return PATH.join2(root, p);
  4949. });
  4950. }
  4951. var check = FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));
  4952. while (check.length) {
  4953. var path = check.pop();
  4954. var stat;
  4955. try {
  4956. stat = FS.stat(path);
  4957. } catch (e) {
  4958. return callback(e);
  4959. }
  4960. if (FS.isDir(stat.mode)) {
  4961. check.push.apply(check, FS.readdir(path).filter(isRealDir).map(toAbsolute(path)));
  4962. }
  4963. entries[path] = {
  4964. timestamp: stat.mtime
  4965. };
  4966. }
  4967. return callback(null, {
  4968. type: "local",
  4969. entries: entries
  4970. });
  4971. }),
  4972. getRemoteSet: (function(mount, callback) {
  4973. var entries = {};
  4974. IDBFS.getDB(mount.mountpoint, (function(err, db) {
  4975. if (err) return callback(err);
  4976. try {
  4977. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readonly");
  4978. transaction.onerror = (function(e) {
  4979. callback(this.error);
  4980. e.preventDefault();
  4981. });
  4982. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  4983. var index = store.index("timestamp");
  4984. index.openKeyCursor().onsuccess = (function(event) {
  4985. var cursor = event.target.result;
  4986. if (!cursor) {
  4987. return callback(null, {
  4988. type: "remote",
  4989. db: db,
  4990. entries: entries
  4991. });
  4992. }
  4993. entries[cursor.primaryKey] = {
  4994. timestamp: cursor.key
  4995. };
  4996. cursor.continue();
  4997. });
  4998. } catch (e) {
  4999. return callback(e);
  5000. }
  5001. }));
  5002. }),
  5003. loadLocalEntry: (function(path, callback) {
  5004. var stat, node;
  5005. try {
  5006. var lookup = FS.lookupPath(path);
  5007. node = lookup.node;
  5008. stat = FS.stat(path);
  5009. } catch (e) {
  5010. return callback(e);
  5011. }
  5012. if (FS.isDir(stat.mode)) {
  5013. return callback(null, {
  5014. timestamp: stat.mtime,
  5015. mode: stat.mode
  5016. });
  5017. } else if (FS.isFile(stat.mode)) {
  5018. node.contents = MEMFS.getFileDataAsTypedArray(node);
  5019. return callback(null, {
  5020. timestamp: stat.mtime,
  5021. mode: stat.mode,
  5022. contents: node.contents
  5023. });
  5024. } else {
  5025. return callback(new Error("node type not supported"));
  5026. }
  5027. }),
  5028. storeLocalEntry: (function(path, entry, callback) {
  5029. try {
  5030. if (FS.isDir(entry.mode)) {
  5031. FS.mkdir(path, entry.mode);
  5032. } else if (FS.isFile(entry.mode)) {
  5033. FS.writeFile(path, entry.contents, {
  5034. canOwn: true
  5035. });
  5036. } else {
  5037. return callback(new Error("node type not supported"));
  5038. }
  5039. FS.chmod(path, entry.mode);
  5040. FS.utime(path, entry.timestamp, entry.timestamp);
  5041. } catch (e) {
  5042. return callback(e);
  5043. }
  5044. callback(null);
  5045. }),
  5046. removeLocalEntry: (function(path, callback) {
  5047. try {
  5048. var lookup = FS.lookupPath(path);
  5049. var stat = FS.stat(path);
  5050. if (FS.isDir(stat.mode)) {
  5051. FS.rmdir(path);
  5052. } else if (FS.isFile(stat.mode)) {
  5053. FS.unlink(path);
  5054. }
  5055. } catch (e) {
  5056. return callback(e);
  5057. }
  5058. callback(null);
  5059. }),
  5060. loadRemoteEntry: (function(store, path, callback) {
  5061. var req = store.get(path);
  5062. req.onsuccess = (function(event) {
  5063. callback(null, event.target.result);
  5064. });
  5065. req.onerror = (function(e) {
  5066. callback(this.error);
  5067. e.preventDefault();
  5068. });
  5069. }),
  5070. storeRemoteEntry: (function(store, path, entry, callback) {
  5071. var req = store.put(entry, path);
  5072. req.onsuccess = (function() {
  5073. callback(null);
  5074. });
  5075. req.onerror = (function(e) {
  5076. callback(this.error);
  5077. e.preventDefault();
  5078. });
  5079. }),
  5080. removeRemoteEntry: (function(store, path, callback) {
  5081. var req = store.delete(path);
  5082. req.onsuccess = (function() {
  5083. callback(null);
  5084. });
  5085. req.onerror = (function(e) {
  5086. callback(this.error);
  5087. e.preventDefault();
  5088. });
  5089. }),
  5090. reconcile: (function(src, dst, callback) {
  5091. var total = 0;
  5092. var create = [];
  5093. Object.keys(src.entries).forEach((function(key) {
  5094. var e = src.entries[key];
  5095. var e2 = dst.entries[key];
  5096. if (!e2 || e.timestamp > e2.timestamp) {
  5097. create.push(key);
  5098. total++;
  5099. }
  5100. }));
  5101. var remove = [];
  5102. Object.keys(dst.entries).forEach((function(key) {
  5103. var e = dst.entries[key];
  5104. var e2 = src.entries[key];
  5105. if (!e2) {
  5106. remove.push(key);
  5107. total++;
  5108. }
  5109. }));
  5110. if (!total) {
  5111. return callback(null);
  5112. }
  5113. var completed = 0;
  5114. var db = src.type === "remote" ? src.db : dst.db;
  5115. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readwrite");
  5116. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  5117. function done(err) {
  5118. if (err) {
  5119. if (!done.errored) {
  5120. done.errored = true;
  5121. return callback(err);
  5122. }
  5123. return;
  5124. }
  5125. if (++completed >= total) {
  5126. return callback(null);
  5127. }
  5128. }
  5129. transaction.onerror = (function(e) {
  5130. done(this.error);
  5131. e.preventDefault();
  5132. });
  5133. create.sort().forEach((function(path) {
  5134. if (dst.type === "local") {
  5135. IDBFS.loadRemoteEntry(store, path, (function(err, entry) {
  5136. if (err) return done(err);
  5137. IDBFS.storeLocalEntry(path, entry, done);
  5138. }));
  5139. } else {
  5140. IDBFS.loadLocalEntry(path, (function(err, entry) {
  5141. if (err) return done(err);
  5142. IDBFS.storeRemoteEntry(store, path, entry, done);
  5143. }));
  5144. }
  5145. }));
  5146. remove.sort().reverse().forEach((function(path) {
  5147. if (dst.type === "local") {
  5148. IDBFS.removeLocalEntry(path, done);
  5149. } else {
  5150. IDBFS.removeRemoteEntry(store, path, done);
  5151. }
  5152. }));
  5153. })
  5154. };
  5155. var NODEFS = {
  5156. isWindows: false,
  5157. staticInit: (function() {
  5158. NODEFS.isWindows = !!process.platform.match(/^win/);
  5159. var flags = process["binding"]("constants");
  5160. if (flags["fs"]) {
  5161. flags = flags["fs"];
  5162. }
  5163. NODEFS.flagsForNodeMap = {
  5164. "1024": flags["O_APPEND"],
  5165. "64": flags["O_CREAT"],
  5166. "128": flags["O_EXCL"],
  5167. "0": flags["O_RDONLY"],
  5168. "2": flags["O_RDWR"],
  5169. "4096": flags["O_SYNC"],
  5170. "512": flags["O_TRUNC"],
  5171. "1": flags["O_WRONLY"]
  5172. };
  5173. }),
  5174. bufferFrom: (function(arrayBuffer) {
  5175. return Buffer.alloc ? Buffer.from(arrayBuffer) : new Buffer(arrayBuffer);
  5176. }),
  5177. mount: (function(mount) {
  5178. assert(ENVIRONMENT_IS_NODE);
  5179. return NODEFS.createNode(null, "/", NODEFS.getMode(mount.opts.root), 0);
  5180. }),
  5181. createNode: (function(parent, name, mode, dev) {
  5182. if (!FS.isDir(mode) && !FS.isFile(mode) && !FS.isLink(mode)) {
  5183. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5184. }
  5185. var node = FS.createNode(parent, name, mode);
  5186. node.node_ops = NODEFS.node_ops;
  5187. node.stream_ops = NODEFS.stream_ops;
  5188. return node;
  5189. }),
  5190. getMode: (function(path) {
  5191. var stat;
  5192. try {
  5193. stat = fs.lstatSync(path);
  5194. if (NODEFS.isWindows) {
  5195. stat.mode = stat.mode | (stat.mode & 292) >> 2;
  5196. }
  5197. } catch (e) {
  5198. if (!e.code) throw e;
  5199. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5200. }
  5201. return stat.mode;
  5202. }),
  5203. realPath: (function(node) {
  5204. var parts = [];
  5205. while (node.parent !== node) {
  5206. parts.push(node.name);
  5207. node = node.parent;
  5208. }
  5209. parts.push(node.mount.opts.root);
  5210. parts.reverse();
  5211. return PATH.join.apply(null, parts);
  5212. }),
  5213. flagsForNode: (function(flags) {
  5214. flags &= ~2097152;
  5215. flags &= ~2048;
  5216. flags &= ~32768;
  5217. flags &= ~524288;
  5218. var newFlags = 0;
  5219. for (var k in NODEFS.flagsForNodeMap) {
  5220. if (flags & k) {
  5221. newFlags |= NODEFS.flagsForNodeMap[k];
  5222. flags ^= k;
  5223. }
  5224. }
  5225. if (!flags) {
  5226. return newFlags;
  5227. } else {
  5228. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5229. }
  5230. }),
  5231. node_ops: {
  5232. getattr: (function(node) {
  5233. var path = NODEFS.realPath(node);
  5234. var stat;
  5235. try {
  5236. stat = fs.lstatSync(path);
  5237. } catch (e) {
  5238. if (!e.code) throw e;
  5239. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5240. }
  5241. if (NODEFS.isWindows && !stat.blksize) {
  5242. stat.blksize = 4096;
  5243. }
  5244. if (NODEFS.isWindows && !stat.blocks) {
  5245. stat.blocks = (stat.size + stat.blksize - 1) / stat.blksize | 0;
  5246. }
  5247. return {
  5248. dev: stat.dev,
  5249. ino: stat.ino,
  5250. mode: stat.mode,
  5251. nlink: stat.nlink,
  5252. uid: stat.uid,
  5253. gid: stat.gid,
  5254. rdev: stat.rdev,
  5255. size: stat.size,
  5256. atime: stat.atime,
  5257. mtime: stat.mtime,
  5258. ctime: stat.ctime,
  5259. blksize: stat.blksize,
  5260. blocks: stat.blocks
  5261. };
  5262. }),
  5263. setattr: (function(node, attr) {
  5264. var path = NODEFS.realPath(node);
  5265. try {
  5266. if (attr.mode !== undefined) {
  5267. fs.chmodSync(path, attr.mode);
  5268. node.mode = attr.mode;
  5269. }
  5270. if (attr.timestamp !== undefined) {
  5271. var date = new Date(attr.timestamp);
  5272. fs.utimesSync(path, date, date);
  5273. }
  5274. if (attr.size !== undefined) {
  5275. fs.truncateSync(path, attr.size);
  5276. }
  5277. } catch (e) {
  5278. if (!e.code) throw e;
  5279. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5280. }
  5281. }),
  5282. lookup: (function(parent, name) {
  5283. var path = PATH.join2(NODEFS.realPath(parent), name);
  5284. var mode = NODEFS.getMode(path);
  5285. return NODEFS.createNode(parent, name, mode);
  5286. }),
  5287. mknod: (function(parent, name, mode, dev) {
  5288. var node = NODEFS.createNode(parent, name, mode, dev);
  5289. var path = NODEFS.realPath(node);
  5290. try {
  5291. if (FS.isDir(node.mode)) {
  5292. fs.mkdirSync(path, node.mode);
  5293. } else {
  5294. fs.writeFileSync(path, "", {
  5295. mode: node.mode
  5296. });
  5297. }
  5298. } catch (e) {
  5299. if (!e.code) throw e;
  5300. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5301. }
  5302. return node;
  5303. }),
  5304. rename: (function(oldNode, newDir, newName) {
  5305. var oldPath = NODEFS.realPath(oldNode);
  5306. var newPath = PATH.join2(NODEFS.realPath(newDir), newName);
  5307. try {
  5308. fs.renameSync(oldPath, newPath);
  5309. } catch (e) {
  5310. if (!e.code) throw e;
  5311. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5312. }
  5313. }),
  5314. unlink: (function(parent, name) {
  5315. var path = PATH.join2(NODEFS.realPath(parent), name);
  5316. try {
  5317. fs.unlinkSync(path);
  5318. } catch (e) {
  5319. if (!e.code) throw e;
  5320. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5321. }
  5322. }),
  5323. rmdir: (function(parent, name) {
  5324. var path = PATH.join2(NODEFS.realPath(parent), name);
  5325. try {
  5326. fs.rmdirSync(path);
  5327. } catch (e) {
  5328. if (!e.code) throw e;
  5329. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5330. }
  5331. }),
  5332. readdir: (function(node) {
  5333. var path = NODEFS.realPath(node);
  5334. try {
  5335. return fs.readdirSync(path);
  5336. } catch (e) {
  5337. if (!e.code) throw e;
  5338. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5339. }
  5340. }),
  5341. symlink: (function(parent, newName, oldPath) {
  5342. var newPath = PATH.join2(NODEFS.realPath(parent), newName);
  5343. try {
  5344. fs.symlinkSync(oldPath, newPath);
  5345. } catch (e) {
  5346. if (!e.code) throw e;
  5347. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5348. }
  5349. }),
  5350. readlink: (function(node) {
  5351. var path = NODEFS.realPath(node);
  5352. try {
  5353. path = fs.readlinkSync(path);
  5354. path = NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root), path);
  5355. return path;
  5356. } catch (e) {
  5357. if (!e.code) throw e;
  5358. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5359. }
  5360. })
  5361. },
  5362. stream_ops: {
  5363. open: (function(stream) {
  5364. var path = NODEFS.realPath(stream.node);
  5365. try {
  5366. if (FS.isFile(stream.node.mode)) {
  5367. stream.nfd = fs.openSync(path, NODEFS.flagsForNode(stream.flags));
  5368. }
  5369. } catch (e) {
  5370. if (!e.code) throw e;
  5371. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5372. }
  5373. }),
  5374. close: (function(stream) {
  5375. try {
  5376. if (FS.isFile(stream.node.mode) && stream.nfd) {
  5377. fs.closeSync(stream.nfd);
  5378. }
  5379. } catch (e) {
  5380. if (!e.code) throw e;
  5381. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5382. }
  5383. }),
  5384. read: (function(stream, buffer, offset, length, position) {
  5385. if (length === 0) return 0;
  5386. try {
  5387. return fs.readSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5388. } catch (e) {
  5389. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5390. }
  5391. }),
  5392. write: (function(stream, buffer, offset, length, position) {
  5393. try {
  5394. return fs.writeSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5395. } catch (e) {
  5396. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5397. }
  5398. }),
  5399. llseek: (function(stream, offset, whence) {
  5400. var position = offset;
  5401. if (whence === 1) {
  5402. position += stream.position;
  5403. } else if (whence === 2) {
  5404. if (FS.isFile(stream.node.mode)) {
  5405. try {
  5406. var stat = fs.fstatSync(stream.nfd);
  5407. position += stat.size;
  5408. } catch (e) {
  5409. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5410. }
  5411. }
  5412. }
  5413. if (position < 0) {
  5414. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5415. }
  5416. return position;
  5417. })
  5418. }
  5419. };
  5420. var WORKERFS = {
  5421. DIR_MODE: 16895,
  5422. FILE_MODE: 33279,
  5423. reader: null,
  5424. mount: (function(mount) {
  5425. assert(ENVIRONMENT_IS_WORKER);
  5426. if (!WORKERFS.reader) WORKERFS.reader = new FileReaderSync;
  5427. var root = WORKERFS.createNode(null, "/", WORKERFS.DIR_MODE, 0);
  5428. var createdParents = {};
  5429. function ensureParent(path) {
  5430. var parts = path.split("/");
  5431. var parent = root;
  5432. for (var i = 0; i < parts.length - 1; i++) {
  5433. var curr = parts.slice(0, i + 1).join("/");
  5434. if (!createdParents[curr]) {
  5435. createdParents[curr] = WORKERFS.createNode(parent, parts[i], WORKERFS.DIR_MODE, 0);
  5436. }
  5437. parent = createdParents[curr];
  5438. }
  5439. return parent;
  5440. }
  5441. function base(path) {
  5442. var parts = path.split("/");
  5443. return parts[parts.length - 1];
  5444. }
  5445. Array.prototype.forEach.call(mount.opts["files"] || [], (function(file) {
  5446. WORKERFS.createNode(ensureParent(file.name), base(file.name), WORKERFS.FILE_MODE, 0, file, file.lastModifiedDate);
  5447. }));
  5448. (mount.opts["blobs"] || []).forEach((function(obj) {
  5449. WORKERFS.createNode(ensureParent(obj["name"]), base(obj["name"]), WORKERFS.FILE_MODE, 0, obj["data"]);
  5450. }));
  5451. (mount.opts["packages"] || []).forEach((function(pack) {
  5452. pack["metadata"].files.forEach((function(file) {
  5453. var name = file.filename.substr(1);
  5454. WORKERFS.createNode(ensureParent(name), base(name), WORKERFS.FILE_MODE, 0, pack["blob"].slice(file.start, file.end));
  5455. }));
  5456. }));
  5457. return root;
  5458. }),
  5459. createNode: (function(parent, name, mode, dev, contents, mtime) {
  5460. var node = FS.createNode(parent, name, mode);
  5461. node.mode = mode;
  5462. node.node_ops = WORKERFS.node_ops;
  5463. node.stream_ops = WORKERFS.stream_ops;
  5464. node.timestamp = (mtime || new Date).getTime();
  5465. assert(WORKERFS.FILE_MODE !== WORKERFS.DIR_MODE);
  5466. if (mode === WORKERFS.FILE_MODE) {
  5467. node.size = contents.size;
  5468. node.contents = contents;
  5469. } else {
  5470. node.size = 4096;
  5471. node.contents = {};
  5472. }
  5473. if (parent) {
  5474. parent.contents[name] = node;
  5475. }
  5476. return node;
  5477. }),
  5478. node_ops: {
  5479. getattr: (function(node) {
  5480. return {
  5481. dev: 1,
  5482. ino: undefined,
  5483. mode: node.mode,
  5484. nlink: 1,
  5485. uid: 0,
  5486. gid: 0,
  5487. rdev: undefined,
  5488. size: node.size,
  5489. atime: new Date(node.timestamp),
  5490. mtime: new Date(node.timestamp),
  5491. ctime: new Date(node.timestamp),
  5492. blksize: 4096,
  5493. blocks: Math.ceil(node.size / 4096)
  5494. };
  5495. }),
  5496. setattr: (function(node, attr) {
  5497. if (attr.mode !== undefined) {
  5498. node.mode = attr.mode;
  5499. }
  5500. if (attr.timestamp !== undefined) {
  5501. node.timestamp = attr.timestamp;
  5502. }
  5503. }),
  5504. lookup: (function(parent, name) {
  5505. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  5506. }),
  5507. mknod: (function(parent, name, mode, dev) {
  5508. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5509. }),
  5510. rename: (function(oldNode, newDir, newName) {
  5511. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5512. }),
  5513. unlink: (function(parent, name) {
  5514. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5515. }),
  5516. rmdir: (function(parent, name) {
  5517. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5518. }),
  5519. readdir: (function(node) {
  5520. var entries = [ ".", ".." ];
  5521. for (var key in node.contents) {
  5522. if (!node.contents.hasOwnProperty(key)) {
  5523. continue;
  5524. }
  5525. entries.push(key);
  5526. }
  5527. return entries;
  5528. }),
  5529. symlink: (function(parent, newName, oldPath) {
  5530. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5531. }),
  5532. readlink: (function(node) {
  5533. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5534. })
  5535. },
  5536. stream_ops: {
  5537. read: (function(stream, buffer, offset, length, position) {
  5538. if (position >= stream.node.size) return 0;
  5539. var chunk = stream.node.contents.slice(position, position + length);
  5540. var ab = WORKERFS.reader.readAsArrayBuffer(chunk);
  5541. buffer.set(new Uint8Array(ab), offset);
  5542. return chunk.size;
  5543. }),
  5544. write: (function(stream, buffer, offset, length, position) {
  5545. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  5546. }),
  5547. llseek: (function(stream, offset, whence) {
  5548. var position = offset;
  5549. if (whence === 1) {
  5550. position += stream.position;
  5551. } else if (whence === 2) {
  5552. if (FS.isFile(stream.node.mode)) {
  5553. position += stream.node.size;
  5554. }
  5555. }
  5556. if (position < 0) {
  5557. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5558. }
  5559. return position;
  5560. })
  5561. }
  5562. };
  5563. STATICTOP += 16;
  5564. STATICTOP += 16;
  5565. STATICTOP += 16;
  5566. var FS = {
  5567. root: null,
  5568. mounts: [],
  5569. devices: {},
  5570. streams: [],
  5571. nextInode: 1,
  5572. nameTable: null,
  5573. currentPath: "/",
  5574. initialized: false,
  5575. ignorePermissions: true,
  5576. trackingDelegate: {},
  5577. tracking: {
  5578. openFlags: {
  5579. READ: 1,
  5580. WRITE: 2
  5581. }
  5582. },
  5583. ErrnoError: null,
  5584. genericErrors: {},
  5585. filesystems: null,
  5586. syncFSRequests: 0,
  5587. handleFSError: (function(e) {
  5588. if (!(e instanceof FS.ErrnoError)) throw e + " : " + stackTrace();
  5589. return ___setErrNo(e.errno);
  5590. }),
  5591. lookupPath: (function(path, opts) {
  5592. path = PATH.resolve(FS.cwd(), path);
  5593. opts = opts || {};
  5594. if (!path) return {
  5595. path: "",
  5596. node: null
  5597. };
  5598. var defaults = {
  5599. follow_mount: true,
  5600. recurse_count: 0
  5601. };
  5602. for (var key in defaults) {
  5603. if (opts[key] === undefined) {
  5604. opts[key] = defaults[key];
  5605. }
  5606. }
  5607. if (opts.recurse_count > 8) {
  5608. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5609. }
  5610. var parts = PATH.normalizeArray(path.split("/").filter((function(p) {
  5611. return !!p;
  5612. })), false);
  5613. var current = FS.root;
  5614. var current_path = "/";
  5615. for (var i = 0; i < parts.length; i++) {
  5616. var islast = i === parts.length - 1;
  5617. if (islast && opts.parent) {
  5618. break;
  5619. }
  5620. current = FS.lookupNode(current, parts[i]);
  5621. current_path = PATH.join2(current_path, parts[i]);
  5622. if (FS.isMountpoint(current)) {
  5623. if (!islast || islast && opts.follow_mount) {
  5624. current = current.mounted.root;
  5625. }
  5626. }
  5627. if (!islast || opts.follow) {
  5628. var count = 0;
  5629. while (FS.isLink(current.mode)) {
  5630. var link = FS.readlink(current_path);
  5631. current_path = PATH.resolve(PATH.dirname(current_path), link);
  5632. var lookup = FS.lookupPath(current_path, {
  5633. recurse_count: opts.recurse_count
  5634. });
  5635. current = lookup.node;
  5636. if (count++ > 40) {
  5637. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5638. }
  5639. }
  5640. }
  5641. }
  5642. return {
  5643. path: current_path,
  5644. node: current
  5645. };
  5646. }),
  5647. getPath: (function(node) {
  5648. var path;
  5649. while (true) {
  5650. if (FS.isRoot(node)) {
  5651. var mount = node.mount.mountpoint;
  5652. if (!path) return mount;
  5653. return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path;
  5654. }
  5655. path = path ? node.name + "/" + path : node.name;
  5656. node = node.parent;
  5657. }
  5658. }),
  5659. hashName: (function(parentid, name) {
  5660. var hash = 0;
  5661. for (var i = 0; i < name.length; i++) {
  5662. hash = (hash << 5) - hash + name.charCodeAt(i) | 0;
  5663. }
  5664. return (parentid + hash >>> 0) % FS.nameTable.length;
  5665. }),
  5666. hashAddNode: (function(node) {
  5667. var hash = FS.hashName(node.parent.id, node.name);
  5668. node.name_next = FS.nameTable[hash];
  5669. FS.nameTable[hash] = node;
  5670. }),
  5671. hashRemoveNode: (function(node) {
  5672. var hash = FS.hashName(node.parent.id, node.name);
  5673. if (FS.nameTable[hash] === node) {
  5674. FS.nameTable[hash] = node.name_next;
  5675. } else {
  5676. var current = FS.nameTable[hash];
  5677. while (current) {
  5678. if (current.name_next === node) {
  5679. current.name_next = node.name_next;
  5680. break;
  5681. }
  5682. current = current.name_next;
  5683. }
  5684. }
  5685. }),
  5686. lookupNode: (function(parent, name) {
  5687. var err = FS.mayLookup(parent);
  5688. if (err) {
  5689. throw new FS.ErrnoError(err, parent);
  5690. }
  5691. var hash = FS.hashName(parent.id, name);
  5692. for (var node = FS.nameTable[hash]; node; node = node.name_next) {
  5693. var nodeName = node.name;
  5694. if (node.parent.id === parent.id && nodeName === name) {
  5695. return node;
  5696. }
  5697. }
  5698. return FS.lookup(parent, name);
  5699. }),
  5700. createNode: (function(parent, name, mode, rdev) {
  5701. if (!FS.FSNode) {
  5702. FS.FSNode = (function(parent, name, mode, rdev) {
  5703. if (!parent) {
  5704. parent = this;
  5705. }
  5706. this.parent = parent;
  5707. this.mount = parent.mount;
  5708. this.mounted = null;
  5709. this.id = FS.nextInode++;
  5710. this.name = name;
  5711. this.mode = mode;
  5712. this.node_ops = {};
  5713. this.stream_ops = {};
  5714. this.rdev = rdev;
  5715. });
  5716. FS.FSNode.prototype = {};
  5717. var readMode = 292 | 73;
  5718. var writeMode = 146;
  5719. Object.defineProperties(FS.FSNode.prototype, {
  5720. read: {
  5721. get: (function() {
  5722. return (this.mode & readMode) === readMode;
  5723. }),
  5724. set: (function(val) {
  5725. val ? this.mode |= readMode : this.mode &= ~readMode;
  5726. })
  5727. },
  5728. write: {
  5729. get: (function() {
  5730. return (this.mode & writeMode) === writeMode;
  5731. }),
  5732. set: (function(val) {
  5733. val ? this.mode |= writeMode : this.mode &= ~writeMode;
  5734. })
  5735. },
  5736. isFolder: {
  5737. get: (function() {
  5738. return FS.isDir(this.mode);
  5739. })
  5740. },
  5741. isDevice: {
  5742. get: (function() {
  5743. return FS.isChrdev(this.mode);
  5744. })
  5745. }
  5746. });
  5747. }
  5748. var node = new FS.FSNode(parent, name, mode, rdev);
  5749. FS.hashAddNode(node);
  5750. return node;
  5751. }),
  5752. destroyNode: (function(node) {
  5753. FS.hashRemoveNode(node);
  5754. }),
  5755. isRoot: (function(node) {
  5756. return node === node.parent;
  5757. }),
  5758. isMountpoint: (function(node) {
  5759. return !!node.mounted;
  5760. }),
  5761. isFile: (function(mode) {
  5762. return (mode & 61440) === 32768;
  5763. }),
  5764. isDir: (function(mode) {
  5765. return (mode & 61440) === 16384;
  5766. }),
  5767. isLink: (function(mode) {
  5768. return (mode & 61440) === 40960;
  5769. }),
  5770. isChrdev: (function(mode) {
  5771. return (mode & 61440) === 8192;
  5772. }),
  5773. isBlkdev: (function(mode) {
  5774. return (mode & 61440) === 24576;
  5775. }),
  5776. isFIFO: (function(mode) {
  5777. return (mode & 61440) === 4096;
  5778. }),
  5779. isSocket: (function(mode) {
  5780. return (mode & 49152) === 49152;
  5781. }),
  5782. flagModes: {
  5783. "r": 0,
  5784. "rs": 1052672,
  5785. "r+": 2,
  5786. "w": 577,
  5787. "wx": 705,
  5788. "xw": 705,
  5789. "w+": 578,
  5790. "wx+": 706,
  5791. "xw+": 706,
  5792. "a": 1089,
  5793. "ax": 1217,
  5794. "xa": 1217,
  5795. "a+": 1090,
  5796. "ax+": 1218,
  5797. "xa+": 1218
  5798. },
  5799. modeStringToFlags: (function(str) {
  5800. var flags = FS.flagModes[str];
  5801. if (typeof flags === "undefined") {
  5802. throw new Error("Unknown file open mode: " + str);
  5803. }
  5804. return flags;
  5805. }),
  5806. flagsToPermissionString: (function(flag) {
  5807. var perms = [ "r", "w", "rw" ][flag & 3];
  5808. if (flag & 512) {
  5809. perms += "w";
  5810. }
  5811. return perms;
  5812. }),
  5813. nodePermissions: (function(node, perms) {
  5814. if (FS.ignorePermissions) {
  5815. return 0;
  5816. }
  5817. if (perms.indexOf("r") !== -1 && !(node.mode & 292)) {
  5818. return ERRNO_CODES.EACCES;
  5819. } else if (perms.indexOf("w") !== -1 && !(node.mode & 146)) {
  5820. return ERRNO_CODES.EACCES;
  5821. } else if (perms.indexOf("x") !== -1 && !(node.mode & 73)) {
  5822. return ERRNO_CODES.EACCES;
  5823. }
  5824. return 0;
  5825. }),
  5826. mayLookup: (function(dir) {
  5827. var err = FS.nodePermissions(dir, "x");
  5828. if (err) return err;
  5829. if (!dir.node_ops.lookup) return ERRNO_CODES.EACCES;
  5830. return 0;
  5831. }),
  5832. mayCreate: (function(dir, name) {
  5833. try {
  5834. var node = FS.lookupNode(dir, name);
  5835. return ERRNO_CODES.EEXIST;
  5836. } catch (e) {}
  5837. return FS.nodePermissions(dir, "wx");
  5838. }),
  5839. mayDelete: (function(dir, name, isdir) {
  5840. var node;
  5841. try {
  5842. node = FS.lookupNode(dir, name);
  5843. } catch (e) {
  5844. return e.errno;
  5845. }
  5846. var err = FS.nodePermissions(dir, "wx");
  5847. if (err) {
  5848. return err;
  5849. }
  5850. if (isdir) {
  5851. if (!FS.isDir(node.mode)) {
  5852. return ERRNO_CODES.ENOTDIR;
  5853. }
  5854. if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
  5855. return ERRNO_CODES.EBUSY;
  5856. }
  5857. } else {
  5858. if (FS.isDir(node.mode)) {
  5859. return ERRNO_CODES.EISDIR;
  5860. }
  5861. }
  5862. return 0;
  5863. }),
  5864. mayOpen: (function(node, flags) {
  5865. if (!node) {
  5866. return ERRNO_CODES.ENOENT;
  5867. }
  5868. if (FS.isLink(node.mode)) {
  5869. return ERRNO_CODES.ELOOP;
  5870. } else if (FS.isDir(node.mode)) {
  5871. if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) {
  5872. return ERRNO_CODES.EISDIR;
  5873. }
  5874. }
  5875. return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
  5876. }),
  5877. MAX_OPEN_FDS: 4096,
  5878. nextfd: (function(fd_start, fd_end) {
  5879. fd_start = fd_start || 0;
  5880. fd_end = fd_end || FS.MAX_OPEN_FDS;
  5881. for (var fd = fd_start; fd <= fd_end; fd++) {
  5882. if (!FS.streams[fd]) {
  5883. return fd;
  5884. }
  5885. }
  5886. throw new FS.ErrnoError(ERRNO_CODES.EMFILE);
  5887. }),
  5888. getStream: (function(fd) {
  5889. return FS.streams[fd];
  5890. }),
  5891. createStream: (function(stream, fd_start, fd_end) {
  5892. if (!FS.FSStream) {
  5893. FS.FSStream = (function() {});
  5894. FS.FSStream.prototype = {};
  5895. Object.defineProperties(FS.FSStream.prototype, {
  5896. object: {
  5897. get: (function() {
  5898. return this.node;
  5899. }),
  5900. set: (function(val) {
  5901. this.node = val;
  5902. })
  5903. },
  5904. isRead: {
  5905. get: (function() {
  5906. return (this.flags & 2097155) !== 1;
  5907. })
  5908. },
  5909. isWrite: {
  5910. get: (function() {
  5911. return (this.flags & 2097155) !== 0;
  5912. })
  5913. },
  5914. isAppend: {
  5915. get: (function() {
  5916. return this.flags & 1024;
  5917. })
  5918. }
  5919. });
  5920. }
  5921. var newStream = new FS.FSStream;
  5922. for (var p in stream) {
  5923. newStream[p] = stream[p];
  5924. }
  5925. stream = newStream;
  5926. var fd = FS.nextfd(fd_start, fd_end);
  5927. stream.fd = fd;
  5928. FS.streams[fd] = stream;
  5929. return stream;
  5930. }),
  5931. closeStream: (function(fd) {
  5932. FS.streams[fd] = null;
  5933. }),
  5934. chrdev_stream_ops: {
  5935. open: (function(stream) {
  5936. var device = FS.getDevice(stream.node.rdev);
  5937. stream.stream_ops = device.stream_ops;
  5938. if (stream.stream_ops.open) {
  5939. stream.stream_ops.open(stream);
  5940. }
  5941. }),
  5942. llseek: (function() {
  5943. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  5944. })
  5945. },
  5946. major: (function(dev) {
  5947. return dev >> 8;
  5948. }),
  5949. minor: (function(dev) {
  5950. return dev & 255;
  5951. }),
  5952. makedev: (function(ma, mi) {
  5953. return ma << 8 | mi;
  5954. }),
  5955. registerDevice: (function(dev, ops) {
  5956. FS.devices[dev] = {
  5957. stream_ops: ops
  5958. };
  5959. }),
  5960. getDevice: (function(dev) {
  5961. return FS.devices[dev];
  5962. }),
  5963. getMounts: (function(mount) {
  5964. var mounts = [];
  5965. var check = [ mount ];
  5966. while (check.length) {
  5967. var m = check.pop();
  5968. mounts.push(m);
  5969. check.push.apply(check, m.mounts);
  5970. }
  5971. return mounts;
  5972. }),
  5973. syncfs: (function(populate, callback) {
  5974. if (typeof populate === "function") {
  5975. callback = populate;
  5976. populate = false;
  5977. }
  5978. FS.syncFSRequests++;
  5979. if (FS.syncFSRequests > 1) {
  5980. console.log("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work");
  5981. }
  5982. var mounts = FS.getMounts(FS.root.mount);
  5983. var completed = 0;
  5984. function doCallback(err) {
  5985. assert(FS.syncFSRequests > 0);
  5986. FS.syncFSRequests--;
  5987. return callback(err);
  5988. }
  5989. function done(err) {
  5990. if (err) {
  5991. if (!done.errored) {
  5992. done.errored = true;
  5993. return doCallback(err);
  5994. }
  5995. return;
  5996. }
  5997. if (++completed >= mounts.length) {
  5998. doCallback(null);
  5999. }
  6000. }
  6001. mounts.forEach((function(mount) {
  6002. if (!mount.type.syncfs) {
  6003. return done(null);
  6004. }
  6005. mount.type.syncfs(mount, populate, done);
  6006. }));
  6007. }),
  6008. mount: (function(type, opts, mountpoint) {
  6009. var root = mountpoint === "/";
  6010. var pseudo = !mountpoint;
  6011. var node;
  6012. if (root && FS.root) {
  6013. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6014. } else if (!root && !pseudo) {
  6015. var lookup = FS.lookupPath(mountpoint, {
  6016. follow_mount: false
  6017. });
  6018. mountpoint = lookup.path;
  6019. node = lookup.node;
  6020. if (FS.isMountpoint(node)) {
  6021. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6022. }
  6023. if (!FS.isDir(node.mode)) {
  6024. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6025. }
  6026. }
  6027. var mount = {
  6028. type: type,
  6029. opts: opts,
  6030. mountpoint: mountpoint,
  6031. mounts: []
  6032. };
  6033. var mountRoot = type.mount(mount);
  6034. mountRoot.mount = mount;
  6035. mount.root = mountRoot;
  6036. if (root) {
  6037. FS.root = mountRoot;
  6038. } else if (node) {
  6039. node.mounted = mount;
  6040. if (node.mount) {
  6041. node.mount.mounts.push(mount);
  6042. }
  6043. }
  6044. return mountRoot;
  6045. }),
  6046. unmount: (function(mountpoint) {
  6047. var lookup = FS.lookupPath(mountpoint, {
  6048. follow_mount: false
  6049. });
  6050. if (!FS.isMountpoint(lookup.node)) {
  6051. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6052. }
  6053. var node = lookup.node;
  6054. var mount = node.mounted;
  6055. var mounts = FS.getMounts(mount);
  6056. Object.keys(FS.nameTable).forEach((function(hash) {
  6057. var current = FS.nameTable[hash];
  6058. while (current) {
  6059. var next = current.name_next;
  6060. if (mounts.indexOf(current.mount) !== -1) {
  6061. FS.destroyNode(current);
  6062. }
  6063. current = next;
  6064. }
  6065. }));
  6066. node.mounted = null;
  6067. var idx = node.mount.mounts.indexOf(mount);
  6068. assert(idx !== -1);
  6069. node.mount.mounts.splice(idx, 1);
  6070. }),
  6071. lookup: (function(parent, name) {
  6072. return parent.node_ops.lookup(parent, name);
  6073. }),
  6074. mknod: (function(path, mode, dev) {
  6075. var lookup = FS.lookupPath(path, {
  6076. parent: true
  6077. });
  6078. var parent = lookup.node;
  6079. var name = PATH.basename(path);
  6080. if (!name || name === "." || name === "..") {
  6081. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6082. }
  6083. var err = FS.mayCreate(parent, name);
  6084. if (err) {
  6085. throw new FS.ErrnoError(err);
  6086. }
  6087. if (!parent.node_ops.mknod) {
  6088. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6089. }
  6090. return parent.node_ops.mknod(parent, name, mode, dev);
  6091. }),
  6092. create: (function(path, mode) {
  6093. mode = mode !== undefined ? mode : 438;
  6094. mode &= 4095;
  6095. mode |= 32768;
  6096. return FS.mknod(path, mode, 0);
  6097. }),
  6098. mkdir: (function(path, mode) {
  6099. mode = mode !== undefined ? mode : 511;
  6100. mode &= 511 | 512;
  6101. mode |= 16384;
  6102. return FS.mknod(path, mode, 0);
  6103. }),
  6104. mkdirTree: (function(path, mode) {
  6105. var dirs = path.split("/");
  6106. var d = "";
  6107. for (var i = 0; i < dirs.length; ++i) {
  6108. if (!dirs[i]) continue;
  6109. d += "/" + dirs[i];
  6110. try {
  6111. FS.mkdir(d, mode);
  6112. } catch (e) {
  6113. if (e.errno != ERRNO_CODES.EEXIST) throw e;
  6114. }
  6115. }
  6116. }),
  6117. mkdev: (function(path, mode, dev) {
  6118. if (typeof dev === "undefined") {
  6119. dev = mode;
  6120. mode = 438;
  6121. }
  6122. mode |= 8192;
  6123. return FS.mknod(path, mode, dev);
  6124. }),
  6125. symlink: (function(oldpath, newpath) {
  6126. if (!PATH.resolve(oldpath)) {
  6127. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6128. }
  6129. var lookup = FS.lookupPath(newpath, {
  6130. parent: true
  6131. });
  6132. var parent = lookup.node;
  6133. if (!parent) {
  6134. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6135. }
  6136. var newname = PATH.basename(newpath);
  6137. var err = FS.mayCreate(parent, newname);
  6138. if (err) {
  6139. throw new FS.ErrnoError(err);
  6140. }
  6141. if (!parent.node_ops.symlink) {
  6142. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6143. }
  6144. return parent.node_ops.symlink(parent, newname, oldpath);
  6145. }),
  6146. rename: (function(old_path, new_path) {
  6147. var old_dirname = PATH.dirname(old_path);
  6148. var new_dirname = PATH.dirname(new_path);
  6149. var old_name = PATH.basename(old_path);
  6150. var new_name = PATH.basename(new_path);
  6151. var lookup, old_dir, new_dir;
  6152. try {
  6153. lookup = FS.lookupPath(old_path, {
  6154. parent: true
  6155. });
  6156. old_dir = lookup.node;
  6157. lookup = FS.lookupPath(new_path, {
  6158. parent: true
  6159. });
  6160. new_dir = lookup.node;
  6161. } catch (e) {
  6162. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6163. }
  6164. if (!old_dir || !new_dir) throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6165. if (old_dir.mount !== new_dir.mount) {
  6166. throw new FS.ErrnoError(ERRNO_CODES.EXDEV);
  6167. }
  6168. var old_node = FS.lookupNode(old_dir, old_name);
  6169. var relative = PATH.relative(old_path, new_dirname);
  6170. if (relative.charAt(0) !== ".") {
  6171. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6172. }
  6173. relative = PATH.relative(new_path, old_dirname);
  6174. if (relative.charAt(0) !== ".") {
  6175. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  6176. }
  6177. var new_node;
  6178. try {
  6179. new_node = FS.lookupNode(new_dir, new_name);
  6180. } catch (e) {}
  6181. if (old_node === new_node) {
  6182. return;
  6183. }
  6184. var isdir = FS.isDir(old_node.mode);
  6185. var err = FS.mayDelete(old_dir, old_name, isdir);
  6186. if (err) {
  6187. throw new FS.ErrnoError(err);
  6188. }
  6189. err = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name);
  6190. if (err) {
  6191. throw new FS.ErrnoError(err);
  6192. }
  6193. if (!old_dir.node_ops.rename) {
  6194. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6195. }
  6196. if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) {
  6197. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6198. }
  6199. if (new_dir !== old_dir) {
  6200. err = FS.nodePermissions(old_dir, "w");
  6201. if (err) {
  6202. throw new FS.ErrnoError(err);
  6203. }
  6204. }
  6205. try {
  6206. if (FS.trackingDelegate["willMovePath"]) {
  6207. FS.trackingDelegate["willMovePath"](old_path, new_path);
  6208. }
  6209. } catch (e) {
  6210. console.log("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6211. }
  6212. FS.hashRemoveNode(old_node);
  6213. try {
  6214. old_dir.node_ops.rename(old_node, new_dir, new_name);
  6215. } catch (e) {
  6216. throw e;
  6217. } finally {
  6218. FS.hashAddNode(old_node);
  6219. }
  6220. try {
  6221. if (FS.trackingDelegate["onMovePath"]) FS.trackingDelegate["onMovePath"](old_path, new_path);
  6222. } catch (e) {
  6223. console.log("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6224. }
  6225. }),
  6226. rmdir: (function(path) {
  6227. var lookup = FS.lookupPath(path, {
  6228. parent: true
  6229. });
  6230. var parent = lookup.node;
  6231. var name = PATH.basename(path);
  6232. var node = FS.lookupNode(parent, name);
  6233. var err = FS.mayDelete(parent, name, true);
  6234. if (err) {
  6235. throw new FS.ErrnoError(err);
  6236. }
  6237. if (!parent.node_ops.rmdir) {
  6238. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6239. }
  6240. if (FS.isMountpoint(node)) {
  6241. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6242. }
  6243. try {
  6244. if (FS.trackingDelegate["willDeletePath"]) {
  6245. FS.trackingDelegate["willDeletePath"](path);
  6246. }
  6247. } catch (e) {
  6248. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6249. }
  6250. parent.node_ops.rmdir(parent, name);
  6251. FS.destroyNode(node);
  6252. try {
  6253. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6254. } catch (e) {
  6255. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6256. }
  6257. }),
  6258. readdir: (function(path) {
  6259. var lookup = FS.lookupPath(path, {
  6260. follow: true
  6261. });
  6262. var node = lookup.node;
  6263. if (!node.node_ops.readdir) {
  6264. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6265. }
  6266. return node.node_ops.readdir(node);
  6267. }),
  6268. unlink: (function(path) {
  6269. var lookup = FS.lookupPath(path, {
  6270. parent: true
  6271. });
  6272. var parent = lookup.node;
  6273. var name = PATH.basename(path);
  6274. var node = FS.lookupNode(parent, name);
  6275. var err = FS.mayDelete(parent, name, false);
  6276. if (err) {
  6277. throw new FS.ErrnoError(err);
  6278. }
  6279. if (!parent.node_ops.unlink) {
  6280. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6281. }
  6282. if (FS.isMountpoint(node)) {
  6283. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6284. }
  6285. try {
  6286. if (FS.trackingDelegate["willDeletePath"]) {
  6287. FS.trackingDelegate["willDeletePath"](path);
  6288. }
  6289. } catch (e) {
  6290. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6291. }
  6292. parent.node_ops.unlink(parent, name);
  6293. FS.destroyNode(node);
  6294. try {
  6295. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6296. } catch (e) {
  6297. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6298. }
  6299. }),
  6300. readlink: (function(path) {
  6301. var lookup = FS.lookupPath(path);
  6302. var link = lookup.node;
  6303. if (!link) {
  6304. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6305. }
  6306. if (!link.node_ops.readlink) {
  6307. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6308. }
  6309. return PATH.resolve(FS.getPath(link.parent), link.node_ops.readlink(link));
  6310. }),
  6311. stat: (function(path, dontFollow) {
  6312. var lookup = FS.lookupPath(path, {
  6313. follow: !dontFollow
  6314. });
  6315. var node = lookup.node;
  6316. if (!node) {
  6317. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6318. }
  6319. if (!node.node_ops.getattr) {
  6320. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6321. }
  6322. return node.node_ops.getattr(node);
  6323. }),
  6324. lstat: (function(path) {
  6325. return FS.stat(path, true);
  6326. }),
  6327. chmod: (function(path, mode, dontFollow) {
  6328. var node;
  6329. if (typeof path === "string") {
  6330. var lookup = FS.lookupPath(path, {
  6331. follow: !dontFollow
  6332. });
  6333. node = lookup.node;
  6334. } else {
  6335. node = path;
  6336. }
  6337. if (!node.node_ops.setattr) {
  6338. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6339. }
  6340. node.node_ops.setattr(node, {
  6341. mode: mode & 4095 | node.mode & ~4095,
  6342. timestamp: Date.now()
  6343. });
  6344. }),
  6345. lchmod: (function(path, mode) {
  6346. FS.chmod(path, mode, true);
  6347. }),
  6348. fchmod: (function(fd, mode) {
  6349. var stream = FS.getStream(fd);
  6350. if (!stream) {
  6351. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6352. }
  6353. FS.chmod(stream.node, mode);
  6354. }),
  6355. chown: (function(path, uid, gid, dontFollow) {
  6356. var node;
  6357. if (typeof path === "string") {
  6358. var lookup = FS.lookupPath(path, {
  6359. follow: !dontFollow
  6360. });
  6361. node = lookup.node;
  6362. } else {
  6363. node = path;
  6364. }
  6365. if (!node.node_ops.setattr) {
  6366. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6367. }
  6368. node.node_ops.setattr(node, {
  6369. timestamp: Date.now()
  6370. });
  6371. }),
  6372. lchown: (function(path, uid, gid) {
  6373. FS.chown(path, uid, gid, true);
  6374. }),
  6375. fchown: (function(fd, uid, gid) {
  6376. var stream = FS.getStream(fd);
  6377. if (!stream) {
  6378. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6379. }
  6380. FS.chown(stream.node, uid, gid);
  6381. }),
  6382. truncate: (function(path, len) {
  6383. if (len < 0) {
  6384. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6385. }
  6386. var node;
  6387. if (typeof path === "string") {
  6388. var lookup = FS.lookupPath(path, {
  6389. follow: true
  6390. });
  6391. node = lookup.node;
  6392. } else {
  6393. node = path;
  6394. }
  6395. if (!node.node_ops.setattr) {
  6396. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6397. }
  6398. if (FS.isDir(node.mode)) {
  6399. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6400. }
  6401. if (!FS.isFile(node.mode)) {
  6402. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6403. }
  6404. var err = FS.nodePermissions(node, "w");
  6405. if (err) {
  6406. throw new FS.ErrnoError(err);
  6407. }
  6408. node.node_ops.setattr(node, {
  6409. size: len,
  6410. timestamp: Date.now()
  6411. });
  6412. }),
  6413. ftruncate: (function(fd, len) {
  6414. var stream = FS.getStream(fd);
  6415. if (!stream) {
  6416. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6417. }
  6418. if ((stream.flags & 2097155) === 0) {
  6419. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6420. }
  6421. FS.truncate(stream.node, len);
  6422. }),
  6423. utime: (function(path, atime, mtime) {
  6424. var lookup = FS.lookupPath(path, {
  6425. follow: true
  6426. });
  6427. var node = lookup.node;
  6428. node.node_ops.setattr(node, {
  6429. timestamp: Math.max(atime, mtime)
  6430. });
  6431. }),
  6432. open: (function(path, flags, mode, fd_start, fd_end) {
  6433. if (path === "") {
  6434. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6435. }
  6436. flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags;
  6437. mode = typeof mode === "undefined" ? 438 : mode;
  6438. if (flags & 64) {
  6439. mode = mode & 4095 | 32768;
  6440. } else {
  6441. mode = 0;
  6442. }
  6443. var node;
  6444. if (typeof path === "object") {
  6445. node = path;
  6446. } else {
  6447. path = PATH.normalize(path);
  6448. try {
  6449. var lookup = FS.lookupPath(path, {
  6450. follow: !(flags & 131072)
  6451. });
  6452. node = lookup.node;
  6453. } catch (e) {}
  6454. }
  6455. var created = false;
  6456. if (flags & 64) {
  6457. if (node) {
  6458. if (flags & 128) {
  6459. throw new FS.ErrnoError(ERRNO_CODES.EEXIST);
  6460. }
  6461. } else {
  6462. node = FS.mknod(path, mode, 0);
  6463. created = true;
  6464. }
  6465. }
  6466. if (!node) {
  6467. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6468. }
  6469. if (FS.isChrdev(node.mode)) {
  6470. flags &= ~512;
  6471. }
  6472. if (flags & 65536 && !FS.isDir(node.mode)) {
  6473. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6474. }
  6475. if (!created) {
  6476. var err = FS.mayOpen(node, flags);
  6477. if (err) {
  6478. throw new FS.ErrnoError(err);
  6479. }
  6480. }
  6481. if (flags & 512) {
  6482. FS.truncate(node, 0);
  6483. }
  6484. flags &= ~(128 | 512);
  6485. var stream = FS.createStream({
  6486. node: node,
  6487. path: FS.getPath(node),
  6488. flags: flags,
  6489. seekable: true,
  6490. position: 0,
  6491. stream_ops: node.stream_ops,
  6492. ungotten: [],
  6493. error: false
  6494. }, fd_start, fd_end);
  6495. if (stream.stream_ops.open) {
  6496. stream.stream_ops.open(stream);
  6497. }
  6498. if (Module["logReadFiles"] && !(flags & 1)) {
  6499. if (!FS.readFiles) FS.readFiles = {};
  6500. if (!(path in FS.readFiles)) {
  6501. FS.readFiles[path] = 1;
  6502. err("read file: " + path);
  6503. }
  6504. }
  6505. try {
  6506. if (FS.trackingDelegate["onOpenFile"]) {
  6507. var trackingFlags = 0;
  6508. if ((flags & 2097155) !== 1) {
  6509. trackingFlags |= FS.tracking.openFlags.READ;
  6510. }
  6511. if ((flags & 2097155) !== 0) {
  6512. trackingFlags |= FS.tracking.openFlags.WRITE;
  6513. }
  6514. FS.trackingDelegate["onOpenFile"](path, trackingFlags);
  6515. }
  6516. } catch (e) {
  6517. console.log("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message);
  6518. }
  6519. return stream;
  6520. }),
  6521. close: (function(stream) {
  6522. if (FS.isClosed(stream)) {
  6523. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6524. }
  6525. if (stream.getdents) stream.getdents = null;
  6526. try {
  6527. if (stream.stream_ops.close) {
  6528. stream.stream_ops.close(stream);
  6529. }
  6530. } catch (e) {
  6531. throw e;
  6532. } finally {
  6533. FS.closeStream(stream.fd);
  6534. }
  6535. stream.fd = null;
  6536. }),
  6537. isClosed: (function(stream) {
  6538. return stream.fd === null;
  6539. }),
  6540. llseek: (function(stream, offset, whence) {
  6541. if (FS.isClosed(stream)) {
  6542. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6543. }
  6544. if (!stream.seekable || !stream.stream_ops.llseek) {
  6545. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6546. }
  6547. stream.position = stream.stream_ops.llseek(stream, offset, whence);
  6548. stream.ungotten = [];
  6549. return stream.position;
  6550. }),
  6551. read: (function(stream, buffer, offset, length, position) {
  6552. if (length < 0 || position < 0) {
  6553. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6554. }
  6555. if (FS.isClosed(stream)) {
  6556. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6557. }
  6558. if ((stream.flags & 2097155) === 1) {
  6559. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6560. }
  6561. if (FS.isDir(stream.node.mode)) {
  6562. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6563. }
  6564. if (!stream.stream_ops.read) {
  6565. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6566. }
  6567. var seeking = typeof position !== "undefined";
  6568. if (!seeking) {
  6569. position = stream.position;
  6570. } else if (!stream.seekable) {
  6571. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6572. }
  6573. var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
  6574. if (!seeking) stream.position += bytesRead;
  6575. return bytesRead;
  6576. }),
  6577. write: (function(stream, buffer, offset, length, position, canOwn) {
  6578. if (length < 0 || position < 0) {
  6579. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6580. }
  6581. if (FS.isClosed(stream)) {
  6582. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6583. }
  6584. if ((stream.flags & 2097155) === 0) {
  6585. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6586. }
  6587. if (FS.isDir(stream.node.mode)) {
  6588. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6589. }
  6590. if (!stream.stream_ops.write) {
  6591. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6592. }
  6593. if (stream.flags & 1024) {
  6594. FS.llseek(stream, 0, 2);
  6595. }
  6596. var seeking = typeof position !== "undefined";
  6597. if (!seeking) {
  6598. position = stream.position;
  6599. } else if (!stream.seekable) {
  6600. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6601. }
  6602. var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
  6603. if (!seeking) stream.position += bytesWritten;
  6604. try {
  6605. if (stream.path && FS.trackingDelegate["onWriteToFile"]) FS.trackingDelegate["onWriteToFile"](stream.path);
  6606. } catch (e) {
  6607. console.log("FS.trackingDelegate['onWriteToFile']('" + path + "') threw an exception: " + e.message);
  6608. }
  6609. return bytesWritten;
  6610. }),
  6611. allocate: (function(stream, offset, length) {
  6612. if (FS.isClosed(stream)) {
  6613. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6614. }
  6615. if (offset < 0 || length <= 0) {
  6616. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6617. }
  6618. if ((stream.flags & 2097155) === 0) {
  6619. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6620. }
  6621. if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) {
  6622. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6623. }
  6624. if (!stream.stream_ops.allocate) {
  6625. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  6626. }
  6627. stream.stream_ops.allocate(stream, offset, length);
  6628. }),
  6629. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  6630. if ((stream.flags & 2097155) === 1) {
  6631. throw new FS.ErrnoError(ERRNO_CODES.EACCES);
  6632. }
  6633. if (!stream.stream_ops.mmap) {
  6634. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6635. }
  6636. return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
  6637. }),
  6638. msync: (function(stream, buffer, offset, length, mmapFlags) {
  6639. if (!stream || !stream.stream_ops.msync) {
  6640. return 0;
  6641. }
  6642. return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags);
  6643. }),
  6644. munmap: (function(stream) {
  6645. return 0;
  6646. }),
  6647. ioctl: (function(stream, cmd, arg) {
  6648. if (!stream.stream_ops.ioctl) {
  6649. throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);
  6650. }
  6651. return stream.stream_ops.ioctl(stream, cmd, arg);
  6652. }),
  6653. readFile: (function(path, opts) {
  6654. opts = opts || {};
  6655. opts.flags = opts.flags || "r";
  6656. opts.encoding = opts.encoding || "binary";
  6657. if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
  6658. throw new Error('Invalid encoding type "' + opts.encoding + '"');
  6659. }
  6660. var ret;
  6661. var stream = FS.open(path, opts.flags);
  6662. var stat = FS.stat(path);
  6663. var length = stat.size;
  6664. var buf = new Uint8Array(length);
  6665. FS.read(stream, buf, 0, length, 0);
  6666. if (opts.encoding === "utf8") {
  6667. ret = UTF8ArrayToString(buf, 0);
  6668. } else if (opts.encoding === "binary") {
  6669. ret = buf;
  6670. }
  6671. FS.close(stream);
  6672. return ret;
  6673. }),
  6674. writeFile: (function(path, data, opts) {
  6675. opts = opts || {};
  6676. opts.flags = opts.flags || "w";
  6677. var stream = FS.open(path, opts.flags, opts.mode);
  6678. if (typeof data === "string") {
  6679. var buf = new Uint8Array(lengthBytesUTF8(data) + 1);
  6680. var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length);
  6681. FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn);
  6682. } else if (ArrayBuffer.isView(data)) {
  6683. FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
  6684. } else {
  6685. throw new Error("Unsupported data type");
  6686. }
  6687. FS.close(stream);
  6688. }),
  6689. cwd: (function() {
  6690. return FS.currentPath;
  6691. }),
  6692. chdir: (function(path) {
  6693. var lookup = FS.lookupPath(path, {
  6694. follow: true
  6695. });
  6696. if (lookup.node === null) {
  6697. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6698. }
  6699. if (!FS.isDir(lookup.node.mode)) {
  6700. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6701. }
  6702. var err = FS.nodePermissions(lookup.node, "x");
  6703. if (err) {
  6704. throw new FS.ErrnoError(err);
  6705. }
  6706. FS.currentPath = lookup.path;
  6707. }),
  6708. createDefaultDirectories: (function() {
  6709. FS.mkdir("/tmp");
  6710. FS.mkdir("/home");
  6711. FS.mkdir("/home/web_user");
  6712. }),
  6713. createDefaultDevices: (function() {
  6714. FS.mkdir("/dev");
  6715. FS.registerDevice(FS.makedev(1, 3), {
  6716. read: (function() {
  6717. return 0;
  6718. }),
  6719. write: (function(stream, buffer, offset, length, pos) {
  6720. return length;
  6721. })
  6722. });
  6723. FS.mkdev("/dev/null", FS.makedev(1, 3));
  6724. TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
  6725. TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
  6726. FS.mkdev("/dev/tty", FS.makedev(5, 0));
  6727. FS.mkdev("/dev/tty1", FS.makedev(6, 0));
  6728. var random_device;
  6729. if (typeof crypto !== "undefined") {
  6730. var randomBuffer = new Uint8Array(1);
  6731. random_device = (function() {
  6732. crypto.getRandomValues(randomBuffer);
  6733. return randomBuffer[0];
  6734. });
  6735. } else if (ENVIRONMENT_IS_NODE) {
  6736. random_device = (function() {
  6737. return require("crypto")["randomBytes"](1)[0];
  6738. });
  6739. } else {
  6740. random_device = (function() {
  6741. return Math.random() * 256 | 0;
  6742. });
  6743. }
  6744. FS.createDevice("/dev", "random", random_device);
  6745. FS.createDevice("/dev", "urandom", random_device);
  6746. FS.mkdir("/dev/shm");
  6747. FS.mkdir("/dev/shm/tmp");
  6748. }),
  6749. createSpecialDirectories: (function() {
  6750. FS.mkdir("/proc");
  6751. FS.mkdir("/proc/self");
  6752. FS.mkdir("/proc/self/fd");
  6753. FS.mount({
  6754. mount: (function() {
  6755. var node = FS.createNode("/proc/self", "fd", 16384 | 511, 73);
  6756. node.node_ops = {
  6757. lookup: (function(parent, name) {
  6758. var fd = +name;
  6759. var stream = FS.getStream(fd);
  6760. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6761. var ret = {
  6762. parent: null,
  6763. mount: {
  6764. mountpoint: "fake"
  6765. },
  6766. node_ops: {
  6767. readlink: (function() {
  6768. return stream.path;
  6769. })
  6770. }
  6771. };
  6772. ret.parent = ret;
  6773. return ret;
  6774. })
  6775. };
  6776. return node;
  6777. })
  6778. }, {}, "/proc/self/fd");
  6779. }),
  6780. createStandardStreams: (function() {
  6781. if (Module["stdin"]) {
  6782. FS.createDevice("/dev", "stdin", Module["stdin"]);
  6783. } else {
  6784. FS.symlink("/dev/tty", "/dev/stdin");
  6785. }
  6786. if (Module["stdout"]) {
  6787. FS.createDevice("/dev", "stdout", null, Module["stdout"]);
  6788. } else {
  6789. FS.symlink("/dev/tty", "/dev/stdout");
  6790. }
  6791. if (Module["stderr"]) {
  6792. FS.createDevice("/dev", "stderr", null, Module["stderr"]);
  6793. } else {
  6794. FS.symlink("/dev/tty1", "/dev/stderr");
  6795. }
  6796. var stdin = FS.open("/dev/stdin", "r");
  6797. assert(stdin.fd === 0, "invalid handle for stdin (" + stdin.fd + ")");
  6798. var stdout = FS.open("/dev/stdout", "w");
  6799. assert(stdout.fd === 1, "invalid handle for stdout (" + stdout.fd + ")");
  6800. var stderr = FS.open("/dev/stderr", "w");
  6801. assert(stderr.fd === 2, "invalid handle for stderr (" + stderr.fd + ")");
  6802. }),
  6803. ensureErrnoError: (function() {
  6804. if (FS.ErrnoError) return;
  6805. FS.ErrnoError = function ErrnoError(errno, node) {
  6806. this.node = node;
  6807. this.setErrno = (function(errno) {
  6808. this.errno = errno;
  6809. for (var key in ERRNO_CODES) {
  6810. if (ERRNO_CODES[key] === errno) {
  6811. this.code = key;
  6812. break;
  6813. }
  6814. }
  6815. });
  6816. this.setErrno(errno);
  6817. this.message = ERRNO_MESSAGES[errno];
  6818. if (this.stack) Object.defineProperty(this, "stack", {
  6819. value: (new Error).stack,
  6820. writable: true
  6821. });
  6822. if (this.stack) this.stack = demangleAll(this.stack);
  6823. };
  6824. FS.ErrnoError.prototype = new Error;
  6825. FS.ErrnoError.prototype.constructor = FS.ErrnoError;
  6826. [ ERRNO_CODES.ENOENT ].forEach((function(code) {
  6827. FS.genericErrors[code] = new FS.ErrnoError(code);
  6828. FS.genericErrors[code].stack = "<generic error, no stack>";
  6829. }));
  6830. }),
  6831. staticInit: (function() {
  6832. FS.ensureErrnoError();
  6833. FS.nameTable = new Array(4096);
  6834. FS.mount(MEMFS, {}, "/");
  6835. FS.createDefaultDirectories();
  6836. FS.createDefaultDevices();
  6837. FS.createSpecialDirectories();
  6838. FS.filesystems = {
  6839. "MEMFS": MEMFS,
  6840. "IDBFS": IDBFS,
  6841. "NODEFS": NODEFS,
  6842. "WORKERFS": WORKERFS
  6843. };
  6844. }),
  6845. init: (function(input, output, error) {
  6846. 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)");
  6847. FS.init.initialized = true;
  6848. FS.ensureErrnoError();
  6849. Module["stdin"] = input || Module["stdin"];
  6850. Module["stdout"] = output || Module["stdout"];
  6851. Module["stderr"] = error || Module["stderr"];
  6852. FS.createStandardStreams();
  6853. }),
  6854. quit: (function() {
  6855. FS.init.initialized = false;
  6856. var fflush = Module["_fflush"];
  6857. if (fflush) fflush(0);
  6858. for (var i = 0; i < FS.streams.length; i++) {
  6859. var stream = FS.streams[i];
  6860. if (!stream) {
  6861. continue;
  6862. }
  6863. FS.close(stream);
  6864. }
  6865. }),
  6866. getMode: (function(canRead, canWrite) {
  6867. var mode = 0;
  6868. if (canRead) mode |= 292 | 73;
  6869. if (canWrite) mode |= 146;
  6870. return mode;
  6871. }),
  6872. joinPath: (function(parts, forceRelative) {
  6873. var path = PATH.join.apply(null, parts);
  6874. if (forceRelative && path[0] == "/") path = path.substr(1);
  6875. return path;
  6876. }),
  6877. absolutePath: (function(relative, base) {
  6878. return PATH.resolve(base, relative);
  6879. }),
  6880. standardizePath: (function(path) {
  6881. return PATH.normalize(path);
  6882. }),
  6883. findObject: (function(path, dontResolveLastLink) {
  6884. var ret = FS.analyzePath(path, dontResolveLastLink);
  6885. if (ret.exists) {
  6886. return ret.object;
  6887. } else {
  6888. ___setErrNo(ret.error);
  6889. return null;
  6890. }
  6891. }),
  6892. analyzePath: (function(path, dontResolveLastLink) {
  6893. try {
  6894. var lookup = FS.lookupPath(path, {
  6895. follow: !dontResolveLastLink
  6896. });
  6897. path = lookup.path;
  6898. } catch (e) {}
  6899. var ret = {
  6900. isRoot: false,
  6901. exists: false,
  6902. error: 0,
  6903. name: null,
  6904. path: null,
  6905. object: null,
  6906. parentExists: false,
  6907. parentPath: null,
  6908. parentObject: null
  6909. };
  6910. try {
  6911. var lookup = FS.lookupPath(path, {
  6912. parent: true
  6913. });
  6914. ret.parentExists = true;
  6915. ret.parentPath = lookup.path;
  6916. ret.parentObject = lookup.node;
  6917. ret.name = PATH.basename(path);
  6918. lookup = FS.lookupPath(path, {
  6919. follow: !dontResolveLastLink
  6920. });
  6921. ret.exists = true;
  6922. ret.path = lookup.path;
  6923. ret.object = lookup.node;
  6924. ret.name = lookup.node.name;
  6925. ret.isRoot = lookup.path === "/";
  6926. } catch (e) {
  6927. ret.error = e.errno;
  6928. }
  6929. return ret;
  6930. }),
  6931. createFolder: (function(parent, name, canRead, canWrite) {
  6932. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6933. var mode = FS.getMode(canRead, canWrite);
  6934. return FS.mkdir(path, mode);
  6935. }),
  6936. createPath: (function(parent, path, canRead, canWrite) {
  6937. parent = typeof parent === "string" ? parent : FS.getPath(parent);
  6938. var parts = path.split("/").reverse();
  6939. while (parts.length) {
  6940. var part = parts.pop();
  6941. if (!part) continue;
  6942. var current = PATH.join2(parent, part);
  6943. try {
  6944. FS.mkdir(current);
  6945. } catch (e) {}
  6946. parent = current;
  6947. }
  6948. return current;
  6949. }),
  6950. createFile: (function(parent, name, properties, canRead, canWrite) {
  6951. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6952. var mode = FS.getMode(canRead, canWrite);
  6953. return FS.create(path, mode);
  6954. }),
  6955. createDataFile: (function(parent, name, data, canRead, canWrite, canOwn) {
  6956. var path = name ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name) : parent;
  6957. var mode = FS.getMode(canRead, canWrite);
  6958. var node = FS.create(path, mode);
  6959. if (data) {
  6960. if (typeof data === "string") {
  6961. var arr = new Array(data.length);
  6962. for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
  6963. data = arr;
  6964. }
  6965. FS.chmod(node, mode | 146);
  6966. var stream = FS.open(node, "w");
  6967. FS.write(stream, data, 0, data.length, 0, canOwn);
  6968. FS.close(stream);
  6969. FS.chmod(node, mode);
  6970. }
  6971. return node;
  6972. }),
  6973. createDevice: (function(parent, name, input, output) {
  6974. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  6975. var mode = FS.getMode(!!input, !!output);
  6976. if (!FS.createDevice.major) FS.createDevice.major = 64;
  6977. var dev = FS.makedev(FS.createDevice.major++, 0);
  6978. FS.registerDevice(dev, {
  6979. open: (function(stream) {
  6980. stream.seekable = false;
  6981. }),
  6982. close: (function(stream) {
  6983. if (output && output.buffer && output.buffer.length) {
  6984. output(10);
  6985. }
  6986. }),
  6987. read: (function(stream, buffer, offset, length, pos) {
  6988. var bytesRead = 0;
  6989. for (var i = 0; i < length; i++) {
  6990. var result;
  6991. try {
  6992. result = input();
  6993. } catch (e) {
  6994. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  6995. }
  6996. if (result === undefined && bytesRead === 0) {
  6997. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  6998. }
  6999. if (result === null || result === undefined) break;
  7000. bytesRead++;
  7001. buffer[offset + i] = result;
  7002. }
  7003. if (bytesRead) {
  7004. stream.node.timestamp = Date.now();
  7005. }
  7006. return bytesRead;
  7007. }),
  7008. write: (function(stream, buffer, offset, length, pos) {
  7009. for (var i = 0; i < length; i++) {
  7010. try {
  7011. output(buffer[offset + i]);
  7012. } catch (e) {
  7013. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7014. }
  7015. }
  7016. if (length) {
  7017. stream.node.timestamp = Date.now();
  7018. }
  7019. return i;
  7020. })
  7021. });
  7022. return FS.mkdev(path, mode, dev);
  7023. }),
  7024. createLink: (function(parent, name, target, canRead, canWrite) {
  7025. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  7026. return FS.symlink(target, path);
  7027. }),
  7028. forceLoadFile: (function(obj) {
  7029. if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
  7030. var success = true;
  7031. if (typeof XMLHttpRequest !== "undefined") {
  7032. 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.");
  7033. } else if (Module["read"]) {
  7034. try {
  7035. obj.contents = intArrayFromString(Module["read"](obj.url), true);
  7036. obj.usedBytes = obj.contents.length;
  7037. } catch (e) {
  7038. success = false;
  7039. }
  7040. } else {
  7041. throw new Error("Cannot load without read() or XMLHttpRequest.");
  7042. }
  7043. if (!success) ___setErrNo(ERRNO_CODES.EIO);
  7044. return success;
  7045. }),
  7046. createLazyFile: (function(parent, name, url, canRead, canWrite) {
  7047. function LazyUint8Array() {
  7048. this.lengthKnown = false;
  7049. this.chunks = [];
  7050. }
  7051. LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
  7052. if (idx > this.length - 1 || idx < 0) {
  7053. return undefined;
  7054. }
  7055. var chunkOffset = idx % this.chunkSize;
  7056. var chunkNum = idx / this.chunkSize | 0;
  7057. return this.getter(chunkNum)[chunkOffset];
  7058. };
  7059. LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
  7060. this.getter = getter;
  7061. };
  7062. LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
  7063. var xhr = new XMLHttpRequest;
  7064. xhr.open("HEAD", url, false);
  7065. xhr.send(null);
  7066. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7067. var datalength = Number(xhr.getResponseHeader("Content-length"));
  7068. var header;
  7069. var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
  7070. var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
  7071. var chunkSize = 1024 * 1024;
  7072. if (!hasByteServing) chunkSize = datalength;
  7073. var doXHR = (function(from, to) {
  7074. if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
  7075. if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!");
  7076. var xhr = new XMLHttpRequest;
  7077. xhr.open("GET", url, false);
  7078. if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
  7079. if (typeof Uint8Array != "undefined") xhr.responseType = "arraybuffer";
  7080. if (xhr.overrideMimeType) {
  7081. xhr.overrideMimeType("text/plain; charset=x-user-defined");
  7082. }
  7083. xhr.send(null);
  7084. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7085. if (xhr.response !== undefined) {
  7086. return new Uint8Array(xhr.response || []);
  7087. } else {
  7088. return intArrayFromString(xhr.responseText || "", true);
  7089. }
  7090. });
  7091. var lazyArray = this;
  7092. lazyArray.setDataGetter((function(chunkNum) {
  7093. var start = chunkNum * chunkSize;
  7094. var end = (chunkNum + 1) * chunkSize - 1;
  7095. end = Math.min(end, datalength - 1);
  7096. if (typeof lazyArray.chunks[chunkNum] === "undefined") {
  7097. lazyArray.chunks[chunkNum] = doXHR(start, end);
  7098. }
  7099. if (typeof lazyArray.chunks[chunkNum] === "undefined") throw new Error("doXHR failed!");
  7100. return lazyArray.chunks[chunkNum];
  7101. }));
  7102. if (usesGzip || !datalength) {
  7103. chunkSize = datalength = 1;
  7104. datalength = this.getter(0).length;
  7105. chunkSize = datalength;
  7106. console.log("LazyFiles on gzip forces download of the whole file when length is accessed");
  7107. }
  7108. this._length = datalength;
  7109. this._chunkSize = chunkSize;
  7110. this.lengthKnown = true;
  7111. };
  7112. if (typeof XMLHttpRequest !== "undefined") {
  7113. if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
  7114. var lazyArray = new LazyUint8Array;
  7115. Object.defineProperties(lazyArray, {
  7116. length: {
  7117. get: (function() {
  7118. if (!this.lengthKnown) {
  7119. this.cacheLength();
  7120. }
  7121. return this._length;
  7122. })
  7123. },
  7124. chunkSize: {
  7125. get: (function() {
  7126. if (!this.lengthKnown) {
  7127. this.cacheLength();
  7128. }
  7129. return this._chunkSize;
  7130. })
  7131. }
  7132. });
  7133. var properties = {
  7134. isDevice: false,
  7135. contents: lazyArray
  7136. };
  7137. } else {
  7138. var properties = {
  7139. isDevice: false,
  7140. url: url
  7141. };
  7142. }
  7143. var node = FS.createFile(parent, name, properties, canRead, canWrite);
  7144. if (properties.contents) {
  7145. node.contents = properties.contents;
  7146. } else if (properties.url) {
  7147. node.contents = null;
  7148. node.url = properties.url;
  7149. }
  7150. Object.defineProperties(node, {
  7151. usedBytes: {
  7152. get: (function() {
  7153. return this.contents.length;
  7154. })
  7155. }
  7156. });
  7157. var stream_ops = {};
  7158. var keys = Object.keys(node.stream_ops);
  7159. keys.forEach((function(key) {
  7160. var fn = node.stream_ops[key];
  7161. stream_ops[key] = function forceLoadLazyFile() {
  7162. if (!FS.forceLoadFile(node)) {
  7163. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7164. }
  7165. return fn.apply(null, arguments);
  7166. };
  7167. }));
  7168. stream_ops.read = function stream_ops_read(stream, buffer, offset, length, position) {
  7169. if (!FS.forceLoadFile(node)) {
  7170. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7171. }
  7172. var contents = stream.node.contents;
  7173. if (position >= contents.length) return 0;
  7174. var size = Math.min(contents.length - position, length);
  7175. assert(size >= 0);
  7176. if (contents.slice) {
  7177. for (var i = 0; i < size; i++) {
  7178. buffer[offset + i] = contents[position + i];
  7179. }
  7180. } else {
  7181. for (var i = 0; i < size; i++) {
  7182. buffer[offset + i] = contents.get(position + i);
  7183. }
  7184. }
  7185. return size;
  7186. };
  7187. node.stream_ops = stream_ops;
  7188. return node;
  7189. }),
  7190. createPreloadedFile: (function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
  7191. Browser.init();
  7192. var fullname = name ? PATH.resolve(PATH.join2(parent, name)) : parent;
  7193. var dep = getUniqueRunDependency("cp " + fullname);
  7194. function processData(byteArray) {
  7195. function finish(byteArray) {
  7196. if (preFinish) preFinish();
  7197. if (!dontCreateFile) {
  7198. FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
  7199. }
  7200. if (onload) onload();
  7201. removeRunDependency(dep);
  7202. }
  7203. var handled = false;
  7204. Module["preloadPlugins"].forEach((function(plugin) {
  7205. if (handled) return;
  7206. if (plugin["canHandle"](fullname)) {
  7207. plugin["handle"](byteArray, fullname, finish, (function() {
  7208. if (onerror) onerror();
  7209. removeRunDependency(dep);
  7210. }));
  7211. handled = true;
  7212. }
  7213. }));
  7214. if (!handled) finish(byteArray);
  7215. }
  7216. addRunDependency(dep);
  7217. if (typeof url == "string") {
  7218. Browser.asyncLoad(url, (function(byteArray) {
  7219. processData(byteArray);
  7220. }), onerror);
  7221. } else {
  7222. processData(url);
  7223. }
  7224. }),
  7225. indexedDB: (function() {
  7226. return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  7227. }),
  7228. DB_NAME: (function() {
  7229. return "EM_FS_" + window.location.pathname;
  7230. }),
  7231. DB_VERSION: 20,
  7232. DB_STORE_NAME: "FILE_DATA",
  7233. saveFilesToDB: (function(paths, onload, onerror) {
  7234. onload = onload || (function() {});
  7235. onerror = onerror || (function() {});
  7236. var indexedDB = FS.indexedDB();
  7237. try {
  7238. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7239. } catch (e) {
  7240. return onerror(e);
  7241. }
  7242. openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
  7243. console.log("creating db");
  7244. var db = openRequest.result;
  7245. db.createObjectStore(FS.DB_STORE_NAME);
  7246. };
  7247. openRequest.onsuccess = function openRequest_onsuccess() {
  7248. var db = openRequest.result;
  7249. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readwrite");
  7250. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7251. var ok = 0, fail = 0, total = paths.length;
  7252. function finish() {
  7253. if (fail == 0) onload(); else onerror();
  7254. }
  7255. paths.forEach((function(path) {
  7256. var putRequest = files.put(FS.analyzePath(path).object.contents, path);
  7257. putRequest.onsuccess = function putRequest_onsuccess() {
  7258. ok++;
  7259. if (ok + fail == total) finish();
  7260. };
  7261. putRequest.onerror = function putRequest_onerror() {
  7262. fail++;
  7263. if (ok + fail == total) finish();
  7264. };
  7265. }));
  7266. transaction.onerror = onerror;
  7267. };
  7268. openRequest.onerror = onerror;
  7269. }),
  7270. loadFilesFromDB: (function(paths, onload, onerror) {
  7271. onload = onload || (function() {});
  7272. onerror = onerror || (function() {});
  7273. var indexedDB = FS.indexedDB();
  7274. try {
  7275. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7276. } catch (e) {
  7277. return onerror(e);
  7278. }
  7279. openRequest.onupgradeneeded = onerror;
  7280. openRequest.onsuccess = function openRequest_onsuccess() {
  7281. var db = openRequest.result;
  7282. try {
  7283. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readonly");
  7284. } catch (e) {
  7285. onerror(e);
  7286. return;
  7287. }
  7288. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7289. var ok = 0, fail = 0, total = paths.length;
  7290. function finish() {
  7291. if (fail == 0) onload(); else onerror();
  7292. }
  7293. paths.forEach((function(path) {
  7294. var getRequest = files.get(path);
  7295. getRequest.onsuccess = function getRequest_onsuccess() {
  7296. if (FS.analyzePath(path).exists) {
  7297. FS.unlink(path);
  7298. }
  7299. FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
  7300. ok++;
  7301. if (ok + fail == total) finish();
  7302. };
  7303. getRequest.onerror = function getRequest_onerror() {
  7304. fail++;
  7305. if (ok + fail == total) finish();
  7306. };
  7307. }));
  7308. transaction.onerror = onerror;
  7309. };
  7310. openRequest.onerror = onerror;
  7311. })
  7312. };
  7313. var SYSCALLS = {
  7314. DEFAULT_POLLMASK: 5,
  7315. mappings: {},
  7316. umask: 511,
  7317. calculateAt: (function(dirfd, path) {
  7318. if (path[0] !== "/") {
  7319. var dir;
  7320. if (dirfd === -100) {
  7321. dir = FS.cwd();
  7322. } else {
  7323. var dirstream = FS.getStream(dirfd);
  7324. if (!dirstream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7325. dir = dirstream.path;
  7326. }
  7327. path = PATH.join2(dir, path);
  7328. }
  7329. return path;
  7330. }),
  7331. doStat: (function(func, path, buf) {
  7332. try {
  7333. var stat = func(path);
  7334. } catch (e) {
  7335. if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) {
  7336. return -ERRNO_CODES.ENOTDIR;
  7337. }
  7338. throw e;
  7339. }
  7340. HEAP32[buf >> 2] = stat.dev;
  7341. HEAP32[buf + 4 >> 2] = 0;
  7342. HEAP32[buf + 8 >> 2] = stat.ino;
  7343. HEAP32[buf + 12 >> 2] = stat.mode;
  7344. HEAP32[buf + 16 >> 2] = stat.nlink;
  7345. HEAP32[buf + 20 >> 2] = stat.uid;
  7346. HEAP32[buf + 24 >> 2] = stat.gid;
  7347. HEAP32[buf + 28 >> 2] = stat.rdev;
  7348. HEAP32[buf + 32 >> 2] = 0;
  7349. HEAP32[buf + 36 >> 2] = stat.size;
  7350. HEAP32[buf + 40 >> 2] = 4096;
  7351. HEAP32[buf + 44 >> 2] = stat.blocks;
  7352. HEAP32[buf + 48 >> 2] = stat.atime.getTime() / 1e3 | 0;
  7353. HEAP32[buf + 52 >> 2] = 0;
  7354. HEAP32[buf + 56 >> 2] = stat.mtime.getTime() / 1e3 | 0;
  7355. HEAP32[buf + 60 >> 2] = 0;
  7356. HEAP32[buf + 64 >> 2] = stat.ctime.getTime() / 1e3 | 0;
  7357. HEAP32[buf + 68 >> 2] = 0;
  7358. HEAP32[buf + 72 >> 2] = stat.ino;
  7359. return 0;
  7360. }),
  7361. doMsync: (function(addr, stream, len, flags) {
  7362. var buffer = new Uint8Array(HEAPU8.subarray(addr, addr + len));
  7363. FS.msync(stream, buffer, 0, len, flags);
  7364. }),
  7365. doMkdir: (function(path, mode) {
  7366. path = PATH.normalize(path);
  7367. if (path[path.length - 1] === "/") path = path.substr(0, path.length - 1);
  7368. FS.mkdir(path, mode, 0);
  7369. return 0;
  7370. }),
  7371. doMknod: (function(path, mode, dev) {
  7372. switch (mode & 61440) {
  7373. case 32768:
  7374. case 8192:
  7375. case 24576:
  7376. case 4096:
  7377. case 49152:
  7378. break;
  7379. default:
  7380. return -ERRNO_CODES.EINVAL;
  7381. }
  7382. FS.mknod(path, mode, dev);
  7383. return 0;
  7384. }),
  7385. doReadlink: (function(path, buf, bufsize) {
  7386. if (bufsize <= 0) return -ERRNO_CODES.EINVAL;
  7387. var ret = FS.readlink(path);
  7388. var len = Math.min(bufsize, lengthBytesUTF8(ret));
  7389. var endChar = HEAP8[buf + len];
  7390. stringToUTF8(ret, buf, bufsize + 1);
  7391. HEAP8[buf + len] = endChar;
  7392. return len;
  7393. }),
  7394. doAccess: (function(path, amode) {
  7395. if (amode & ~7) {
  7396. return -ERRNO_CODES.EINVAL;
  7397. }
  7398. var node;
  7399. var lookup = FS.lookupPath(path, {
  7400. follow: true
  7401. });
  7402. node = lookup.node;
  7403. var perms = "";
  7404. if (amode & 4) perms += "r";
  7405. if (amode & 2) perms += "w";
  7406. if (amode & 1) perms += "x";
  7407. if (perms && FS.nodePermissions(node, perms)) {
  7408. return -ERRNO_CODES.EACCES;
  7409. }
  7410. return 0;
  7411. }),
  7412. doDup: (function(path, flags, suggestFD) {
  7413. var suggest = FS.getStream(suggestFD);
  7414. if (suggest) FS.close(suggest);
  7415. return FS.open(path, flags, 0, suggestFD, suggestFD).fd;
  7416. }),
  7417. doReadv: (function(stream, iov, iovcnt, offset) {
  7418. var ret = 0;
  7419. for (var i = 0; i < iovcnt; i++) {
  7420. var ptr = HEAP32[iov + i * 8 >> 2];
  7421. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7422. var curr = FS.read(stream, HEAP8, ptr, len, offset);
  7423. if (curr < 0) return -1;
  7424. ret += curr;
  7425. if (curr < len) break;
  7426. }
  7427. return ret;
  7428. }),
  7429. doWritev: (function(stream, iov, iovcnt, offset) {
  7430. var ret = 0;
  7431. for (var i = 0; i < iovcnt; i++) {
  7432. var ptr = HEAP32[iov + i * 8 >> 2];
  7433. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7434. var curr = FS.write(stream, HEAP8, ptr, len, offset);
  7435. if (curr < 0) return -1;
  7436. ret += curr;
  7437. }
  7438. return ret;
  7439. }),
  7440. varargs: 0,
  7441. get: (function(varargs) {
  7442. SYSCALLS.varargs += 4;
  7443. var ret = HEAP32[SYSCALLS.varargs - 4 >> 2];
  7444. return ret;
  7445. }),
  7446. getStr: (function() {
  7447. var ret = Pointer_stringify(SYSCALLS.get());
  7448. return ret;
  7449. }),
  7450. getStreamFromFD: (function() {
  7451. var stream = FS.getStream(SYSCALLS.get());
  7452. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7453. return stream;
  7454. }),
  7455. getSocketFromFD: (function() {
  7456. var socket = SOCKFS.getSocket(SYSCALLS.get());
  7457. if (!socket) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7458. return socket;
  7459. }),
  7460. getSocketAddress: (function(allowNull) {
  7461. var addrp = SYSCALLS.get(), addrlen = SYSCALLS.get();
  7462. if (allowNull && addrp === 0) return null;
  7463. var info = __read_sockaddr(addrp, addrlen);
  7464. if (info.errno) throw new FS.ErrnoError(info.errno);
  7465. info.addr = DNS.lookup_addr(info.addr) || info.addr;
  7466. return info;
  7467. }),
  7468. get64: (function() {
  7469. var low = SYSCALLS.get(), high = SYSCALLS.get();
  7470. if (low >= 0) assert(high === 0); else assert(high === -1);
  7471. return low;
  7472. }),
  7473. getZero: (function() {
  7474. assert(SYSCALLS.get() === 0);
  7475. })
  7476. };
  7477. function ___syscall10(which, varargs) {
  7478. SYSCALLS.varargs = varargs;
  7479. try {
  7480. var path = SYSCALLS.getStr();
  7481. FS.unlink(path);
  7482. return 0;
  7483. } catch (e) {
  7484. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  7485. return -e.errno;
  7486. }
  7487. }
  7488. var SOCKFS = {
  7489. mount: (function(mount) {
  7490. Module["websocket"] = Module["websocket"] && "object" === typeof Module["websocket"] ? Module["websocket"] : {};
  7491. Module["websocket"]._callbacks = {};
  7492. Module["websocket"]["on"] = (function(event, callback) {
  7493. if ("function" === typeof callback) {
  7494. this._callbacks[event] = callback;
  7495. }
  7496. return this;
  7497. });
  7498. Module["websocket"].emit = (function(event, param) {
  7499. if ("function" === typeof this._callbacks[event]) {
  7500. this._callbacks[event].call(this, param);
  7501. }
  7502. });
  7503. return FS.createNode(null, "/", 16384 | 511, 0);
  7504. }),
  7505. createSocket: (function(family, type, protocol) {
  7506. var streaming = type == 1;
  7507. if (protocol) {
  7508. assert(streaming == (protocol == 6));
  7509. }
  7510. var sock = {
  7511. family: family,
  7512. type: type,
  7513. protocol: protocol,
  7514. server: null,
  7515. error: null,
  7516. peers: {},
  7517. pending: [],
  7518. recv_queue: [],
  7519. sock_ops: SOCKFS.websocket_sock_ops
  7520. };
  7521. var name = SOCKFS.nextname();
  7522. var node = FS.createNode(SOCKFS.root, name, 49152, 0);
  7523. node.sock = sock;
  7524. var stream = FS.createStream({
  7525. path: name,
  7526. node: node,
  7527. flags: FS.modeStringToFlags("r+"),
  7528. seekable: false,
  7529. stream_ops: SOCKFS.stream_ops
  7530. });
  7531. sock.stream = stream;
  7532. return sock;
  7533. }),
  7534. getSocket: (function(fd) {
  7535. var stream = FS.getStream(fd);
  7536. if (!stream || !FS.isSocket(stream.node.mode)) {
  7537. return null;
  7538. }
  7539. return stream.node.sock;
  7540. }),
  7541. stream_ops: {
  7542. poll: (function(stream) {
  7543. var sock = stream.node.sock;
  7544. return sock.sock_ops.poll(sock);
  7545. }),
  7546. ioctl: (function(stream, request, varargs) {
  7547. var sock = stream.node.sock;
  7548. return sock.sock_ops.ioctl(sock, request, varargs);
  7549. }),
  7550. read: (function(stream, buffer, offset, length, position) {
  7551. var sock = stream.node.sock;
  7552. var msg = sock.sock_ops.recvmsg(sock, length);
  7553. if (!msg) {
  7554. return 0;
  7555. }
  7556. buffer.set(msg.buffer, offset);
  7557. return msg.buffer.length;
  7558. }),
  7559. write: (function(stream, buffer, offset, length, position) {
  7560. var sock = stream.node.sock;
  7561. return sock.sock_ops.sendmsg(sock, buffer, offset, length);
  7562. }),
  7563. close: (function(stream) {
  7564. var sock = stream.node.sock;
  7565. sock.sock_ops.close(sock);
  7566. })
  7567. },
  7568. nextname: (function() {
  7569. if (!SOCKFS.nextname.current) {
  7570. SOCKFS.nextname.current = 0;
  7571. }
  7572. return "socket[" + SOCKFS.nextname.current++ + "]";
  7573. }),
  7574. websocket_sock_ops: {
  7575. createPeer: (function(sock, addr, port) {
  7576. var ws;
  7577. if (typeof addr === "object") {
  7578. ws = addr;
  7579. addr = null;
  7580. port = null;
  7581. }
  7582. if (ws) {
  7583. if (ws._socket) {
  7584. addr = ws._socket.remoteAddress;
  7585. port = ws._socket.remotePort;
  7586. } else {
  7587. var result = /ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);
  7588. if (!result) {
  7589. throw new Error("WebSocket URL must be in the format ws(s)://address:port");
  7590. }
  7591. addr = result[1];
  7592. port = parseInt(result[2], 10);
  7593. }
  7594. } else {
  7595. try {
  7596. var runtimeConfig = Module["websocket"] && "object" === typeof Module["websocket"];
  7597. var url = "ws:#".replace("#", "//");
  7598. if (runtimeConfig) {
  7599. if ("string" === typeof Module["websocket"]["url"]) {
  7600. url = Module["websocket"]["url"];
  7601. }
  7602. }
  7603. if (url === "ws://" || url === "wss://") {
  7604. var parts = addr.split("/");
  7605. url = url + parts[0] + ":" + port + "/" + parts.slice(1).join("/");
  7606. }
  7607. var subProtocols = "binary";
  7608. if (runtimeConfig) {
  7609. if ("string" === typeof Module["websocket"]["subprotocol"]) {
  7610. subProtocols = Module["websocket"]["subprotocol"];
  7611. }
  7612. }
  7613. subProtocols = subProtocols.replace(/^ +| +$/g, "").split(/ *, */);
  7614. var opts = ENVIRONMENT_IS_NODE ? {
  7615. "protocol": subProtocols.toString()
  7616. } : subProtocols;
  7617. if (runtimeConfig && null === Module["websocket"]["subprotocol"]) {
  7618. subProtocols = "null";
  7619. opts = undefined;
  7620. }
  7621. var WebSocketConstructor;
  7622. if (ENVIRONMENT_IS_NODE) {
  7623. WebSocketConstructor = require("ws");
  7624. } else if (ENVIRONMENT_IS_WEB) {
  7625. WebSocketConstructor = window["WebSocket"];
  7626. } else {
  7627. WebSocketConstructor = WebSocket;
  7628. }
  7629. ws = new WebSocketConstructor(url, opts);
  7630. ws.binaryType = "arraybuffer";
  7631. } catch (e) {
  7632. throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH);
  7633. }
  7634. }
  7635. var peer = {
  7636. addr: addr,
  7637. port: port,
  7638. socket: ws,
  7639. dgram_send_queue: []
  7640. };
  7641. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7642. SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
  7643. if (sock.type === 2 && typeof sock.sport !== "undefined") {
  7644. 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 ]));
  7645. }
  7646. return peer;
  7647. }),
  7648. getPeer: (function(sock, addr, port) {
  7649. return sock.peers[addr + ":" + port];
  7650. }),
  7651. addPeer: (function(sock, peer) {
  7652. sock.peers[peer.addr + ":" + peer.port] = peer;
  7653. }),
  7654. removePeer: (function(sock, peer) {
  7655. delete sock.peers[peer.addr + ":" + peer.port];
  7656. }),
  7657. handlePeerEvents: (function(sock, peer) {
  7658. var first = true;
  7659. var handleOpen = (function() {
  7660. Module["websocket"].emit("open", sock.stream.fd);
  7661. try {
  7662. var queued = peer.dgram_send_queue.shift();
  7663. while (queued) {
  7664. peer.socket.send(queued);
  7665. queued = peer.dgram_send_queue.shift();
  7666. }
  7667. } catch (e) {
  7668. peer.socket.close();
  7669. }
  7670. });
  7671. function handleMessage(data) {
  7672. assert(typeof data !== "string" && data.byteLength !== undefined);
  7673. if (data.byteLength == 0) {
  7674. return;
  7675. }
  7676. data = new Uint8Array(data);
  7677. var wasfirst = first;
  7678. first = false;
  7679. 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)) {
  7680. var newport = data[8] << 8 | data[9];
  7681. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7682. peer.port = newport;
  7683. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7684. return;
  7685. }
  7686. sock.recv_queue.push({
  7687. addr: peer.addr,
  7688. port: peer.port,
  7689. data: data
  7690. });
  7691. Module["websocket"].emit("message", sock.stream.fd);
  7692. }
  7693. if (ENVIRONMENT_IS_NODE) {
  7694. peer.socket.on("open", handleOpen);
  7695. peer.socket.on("message", (function(data, flags) {
  7696. if (!flags.binary) {
  7697. return;
  7698. }
  7699. handleMessage((new Uint8Array(data)).buffer);
  7700. }));
  7701. peer.socket.on("close", (function() {
  7702. Module["websocket"].emit("close", sock.stream.fd);
  7703. }));
  7704. peer.socket.on("error", (function(error) {
  7705. sock.error = ERRNO_CODES.ECONNREFUSED;
  7706. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7707. }));
  7708. } else {
  7709. peer.socket.onopen = handleOpen;
  7710. peer.socket.onclose = (function() {
  7711. Module["websocket"].emit("close", sock.stream.fd);
  7712. });
  7713. peer.socket.onmessage = function peer_socket_onmessage(event) {
  7714. handleMessage(event.data);
  7715. };
  7716. peer.socket.onerror = (function(error) {
  7717. sock.error = ERRNO_CODES.ECONNREFUSED;
  7718. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7719. });
  7720. }
  7721. }),
  7722. poll: (function(sock) {
  7723. if (sock.type === 1 && sock.server) {
  7724. return sock.pending.length ? 64 | 1 : 0;
  7725. }
  7726. var mask = 0;
  7727. var dest = sock.type === 1 ? SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) : null;
  7728. if (sock.recv_queue.length || !dest || dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7729. mask |= 64 | 1;
  7730. }
  7731. if (!dest || dest && dest.socket.readyState === dest.socket.OPEN) {
  7732. mask |= 4;
  7733. }
  7734. if (dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7735. mask |= 16;
  7736. }
  7737. return mask;
  7738. }),
  7739. ioctl: (function(sock, request, arg) {
  7740. switch (request) {
  7741. case 21531:
  7742. var bytes = 0;
  7743. if (sock.recv_queue.length) {
  7744. bytes = sock.recv_queue[0].data.length;
  7745. }
  7746. HEAP32[arg >> 2] = bytes;
  7747. return 0;
  7748. default:
  7749. return ERRNO_CODES.EINVAL;
  7750. }
  7751. }),
  7752. close: (function(sock) {
  7753. if (sock.server) {
  7754. try {
  7755. sock.server.close();
  7756. } catch (e) {}
  7757. sock.server = null;
  7758. }
  7759. var peers = Object.keys(sock.peers);
  7760. for (var i = 0; i < peers.length; i++) {
  7761. var peer = sock.peers[peers[i]];
  7762. try {
  7763. peer.socket.close();
  7764. } catch (e) {}
  7765. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7766. }
  7767. return 0;
  7768. }),
  7769. bind: (function(sock, addr, port) {
  7770. if (typeof sock.saddr !== "undefined" || typeof sock.sport !== "undefined") {
  7771. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7772. }
  7773. sock.saddr = addr;
  7774. sock.sport = port;
  7775. if (sock.type === 2) {
  7776. if (sock.server) {
  7777. sock.server.close();
  7778. sock.server = null;
  7779. }
  7780. try {
  7781. sock.sock_ops.listen(sock, 0);
  7782. } catch (e) {
  7783. if (!(e instanceof FS.ErrnoError)) throw e;
  7784. if (e.errno !== ERRNO_CODES.EOPNOTSUPP) throw e;
  7785. }
  7786. }
  7787. }),
  7788. connect: (function(sock, addr, port) {
  7789. if (sock.server) {
  7790. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7791. }
  7792. if (typeof sock.daddr !== "undefined" && typeof sock.dport !== "undefined") {
  7793. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7794. if (dest) {
  7795. if (dest.socket.readyState === dest.socket.CONNECTING) {
  7796. throw new FS.ErrnoError(ERRNO_CODES.EALREADY);
  7797. } else {
  7798. throw new FS.ErrnoError(ERRNO_CODES.EISCONN);
  7799. }
  7800. }
  7801. }
  7802. var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7803. sock.daddr = peer.addr;
  7804. sock.dport = peer.port;
  7805. throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS);
  7806. }),
  7807. listen: (function(sock, backlog) {
  7808. if (!ENVIRONMENT_IS_NODE) {
  7809. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7810. }
  7811. if (sock.server) {
  7812. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7813. }
  7814. var WebSocketServer = require("ws").Server;
  7815. var host = sock.saddr;
  7816. sock.server = new WebSocketServer({
  7817. host: host,
  7818. port: sock.sport
  7819. });
  7820. Module["websocket"].emit("listen", sock.stream.fd);
  7821. sock.server.on("connection", (function(ws) {
  7822. if (sock.type === 1) {
  7823. var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
  7824. var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
  7825. newsock.daddr = peer.addr;
  7826. newsock.dport = peer.port;
  7827. sock.pending.push(newsock);
  7828. Module["websocket"].emit("connection", newsock.stream.fd);
  7829. } else {
  7830. SOCKFS.websocket_sock_ops.createPeer(sock, ws);
  7831. Module["websocket"].emit("connection", sock.stream.fd);
  7832. }
  7833. }));
  7834. sock.server.on("closed", (function() {
  7835. Module["websocket"].emit("close", sock.stream.fd);
  7836. sock.server = null;
  7837. }));
  7838. sock.server.on("error", (function(error) {
  7839. sock.error = ERRNO_CODES.EHOSTUNREACH;
  7840. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "EHOSTUNREACH: Host is unreachable" ]);
  7841. }));
  7842. }),
  7843. accept: (function(listensock) {
  7844. if (!listensock.server) {
  7845. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7846. }
  7847. var newsock = listensock.pending.shift();
  7848. newsock.stream.flags = listensock.stream.flags;
  7849. return newsock;
  7850. }),
  7851. getname: (function(sock, peer) {
  7852. var addr, port;
  7853. if (peer) {
  7854. if (sock.daddr === undefined || sock.dport === undefined) {
  7855. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7856. }
  7857. addr = sock.daddr;
  7858. port = sock.dport;
  7859. } else {
  7860. addr = sock.saddr || 0;
  7861. port = sock.sport || 0;
  7862. }
  7863. return {
  7864. addr: addr,
  7865. port: port
  7866. };
  7867. }),
  7868. sendmsg: (function(sock, buffer, offset, length, addr, port) {
  7869. if (sock.type === 2) {
  7870. if (addr === undefined || port === undefined) {
  7871. addr = sock.daddr;
  7872. port = sock.dport;
  7873. }
  7874. if (addr === undefined || port === undefined) {
  7875. throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ);
  7876. }
  7877. } else {
  7878. addr = sock.daddr;
  7879. port = sock.dport;
  7880. }
  7881. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
  7882. if (sock.type === 1) {
  7883. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7884. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7885. } else if (dest.socket.readyState === dest.socket.CONNECTING) {
  7886. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7887. }
  7888. }
  7889. if (ArrayBuffer.isView(buffer)) {
  7890. offset += buffer.byteOffset;
  7891. buffer = buffer.buffer;
  7892. }
  7893. var data;
  7894. data = buffer.slice(offset, offset + length);
  7895. if (sock.type === 2) {
  7896. if (!dest || dest.socket.readyState !== dest.socket.OPEN) {
  7897. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7898. dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7899. }
  7900. dest.dgram_send_queue.push(data);
  7901. return length;
  7902. }
  7903. }
  7904. try {
  7905. dest.socket.send(data);
  7906. return length;
  7907. } catch (e) {
  7908. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7909. }
  7910. }),
  7911. recvmsg: (function(sock, length) {
  7912. if (sock.type === 1 && sock.server) {
  7913. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7914. }
  7915. var queued = sock.recv_queue.shift();
  7916. if (!queued) {
  7917. if (sock.type === 1) {
  7918. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7919. if (!dest) {
  7920. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7921. } else if (dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7922. return null;
  7923. } else {
  7924. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7925. }
  7926. } else {
  7927. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7928. }
  7929. }
  7930. var queuedLength = queued.data.byteLength || queued.data.length;
  7931. var queuedOffset = queued.data.byteOffset || 0;
  7932. var queuedBuffer = queued.data.buffer || queued.data;
  7933. var bytesRead = Math.min(length, queuedLength);
  7934. var res = {
  7935. buffer: new Uint8Array(queuedBuffer, queuedOffset, bytesRead),
  7936. addr: queued.addr,
  7937. port: queued.port
  7938. };
  7939. if (sock.type === 1 && bytesRead < queuedLength) {
  7940. var bytesRemaining = queuedLength - bytesRead;
  7941. queued.data = new Uint8Array(queuedBuffer, queuedOffset + bytesRead, bytesRemaining);
  7942. sock.recv_queue.unshift(queued);
  7943. }
  7944. return res;
  7945. })
  7946. }
  7947. };
  7948. function __inet_pton4_raw(str) {
  7949. var b = str.split(".");
  7950. for (var i = 0; i < 4; i++) {
  7951. var tmp = Number(b[i]);
  7952. if (isNaN(tmp)) return null;
  7953. b[i] = tmp;
  7954. }
  7955. return (b[0] | b[1] << 8 | b[2] << 16 | b[3] << 24) >>> 0;
  7956. }
  7957. function __inet_pton6_raw(str) {
  7958. var words;
  7959. var w, offset, z;
  7960. 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;
  7961. var parts = [];
  7962. if (!valid6regx.test(str)) {
  7963. return null;
  7964. }
  7965. if (str === "::") {
  7966. return [ 0, 0, 0, 0, 0, 0, 0, 0 ];
  7967. }
  7968. if (str.indexOf("::") === 0) {
  7969. str = str.replace("::", "Z:");
  7970. } else {
  7971. str = str.replace("::", ":Z:");
  7972. }
  7973. if (str.indexOf(".") > 0) {
  7974. str = str.replace(new RegExp("[.]", "g"), ":");
  7975. words = str.split(":");
  7976. words[words.length - 4] = parseInt(words[words.length - 4]) + parseInt(words[words.length - 3]) * 256;
  7977. words[words.length - 3] = parseInt(words[words.length - 2]) + parseInt(words[words.length - 1]) * 256;
  7978. words = words.slice(0, words.length - 2);
  7979. } else {
  7980. words = str.split(":");
  7981. }
  7982. offset = 0;
  7983. z = 0;
  7984. for (w = 0; w < words.length; w++) {
  7985. if (typeof words[w] === "string") {
  7986. if (words[w] === "Z") {
  7987. for (z = 0; z < 8 - words.length + 1; z++) {
  7988. parts[w + z] = 0;
  7989. }
  7990. offset = z - 1;
  7991. } else {
  7992. parts[w + offset] = _htons(parseInt(words[w], 16));
  7993. }
  7994. } else {
  7995. parts[w + offset] = words[w];
  7996. }
  7997. }
  7998. return [ parts[1] << 16 | parts[0], parts[3] << 16 | parts[2], parts[5] << 16 | parts[4], parts[7] << 16 | parts[6] ];
  7999. }
  8000. var DNS = {
  8001. address_map: {
  8002. id: 1,
  8003. addrs: {},
  8004. names: {}
  8005. },
  8006. lookup_name: (function(name) {
  8007. var res = __inet_pton4_raw(name);
  8008. if (res !== null) {
  8009. return name;
  8010. }
  8011. res = __inet_pton6_raw(name);
  8012. if (res !== null) {
  8013. return name;
  8014. }
  8015. var addr;
  8016. if (DNS.address_map.addrs[name]) {
  8017. addr = DNS.address_map.addrs[name];
  8018. } else {
  8019. var id = DNS.address_map.id++;
  8020. assert(id < 65535, "exceeded max address mappings of 65535");
  8021. addr = "172.29." + (id & 255) + "." + (id & 65280);
  8022. DNS.address_map.names[addr] = name;
  8023. DNS.address_map.addrs[name] = addr;
  8024. }
  8025. return addr;
  8026. }),
  8027. lookup_addr: (function(addr) {
  8028. if (DNS.address_map.names[addr]) {
  8029. return DNS.address_map.names[addr];
  8030. }
  8031. return null;
  8032. })
  8033. };
  8034. function __inet_ntop4_raw(addr) {
  8035. return (addr & 255) + "." + (addr >> 8 & 255) + "." + (addr >> 16 & 255) + "." + (addr >> 24 & 255);
  8036. }
  8037. function __inet_ntop6_raw(ints) {
  8038. var str = "";
  8039. var word = 0;
  8040. var longest = 0;
  8041. var lastzero = 0;
  8042. var zstart = 0;
  8043. var len = 0;
  8044. var i = 0;
  8045. 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 ];
  8046. var hasipv4 = true;
  8047. var v4part = "";
  8048. for (i = 0; i < 5; i++) {
  8049. if (parts[i] !== 0) {
  8050. hasipv4 = false;
  8051. break;
  8052. }
  8053. }
  8054. if (hasipv4) {
  8055. v4part = __inet_ntop4_raw(parts[6] | parts[7] << 16);
  8056. if (parts[5] === -1) {
  8057. str = "::ffff:";
  8058. str += v4part;
  8059. return str;
  8060. }
  8061. if (parts[5] === 0) {
  8062. str = "::";
  8063. if (v4part === "0.0.0.0") v4part = "";
  8064. if (v4part === "0.0.0.1") v4part = "1";
  8065. str += v4part;
  8066. return str;
  8067. }
  8068. }
  8069. for (word = 0; word < 8; word++) {
  8070. if (parts[word] === 0) {
  8071. if (word - lastzero > 1) {
  8072. len = 0;
  8073. }
  8074. lastzero = word;
  8075. len++;
  8076. }
  8077. if (len > longest) {
  8078. longest = len;
  8079. zstart = word - longest + 1;
  8080. }
  8081. }
  8082. for (word = 0; word < 8; word++) {
  8083. if (longest > 1) {
  8084. if (parts[word] === 0 && word >= zstart && word < zstart + longest) {
  8085. if (word === zstart) {
  8086. str += ":";
  8087. if (zstart === 0) str += ":";
  8088. }
  8089. continue;
  8090. }
  8091. }
  8092. str += Number(_ntohs(parts[word] & 65535)).toString(16);
  8093. str += word < 7 ? ":" : "";
  8094. }
  8095. return str;
  8096. }
  8097. function __read_sockaddr(sa, salen) {
  8098. var family = HEAP16[sa >> 1];
  8099. var port = _ntohs(HEAP16[sa + 2 >> 1]);
  8100. var addr;
  8101. switch (family) {
  8102. case 2:
  8103. if (salen !== 16) {
  8104. return {
  8105. errno: ERRNO_CODES.EINVAL
  8106. };
  8107. }
  8108. addr = HEAP32[sa + 4 >> 2];
  8109. addr = __inet_ntop4_raw(addr);
  8110. break;
  8111. case 10:
  8112. if (salen !== 28) {
  8113. return {
  8114. errno: ERRNO_CODES.EINVAL
  8115. };
  8116. }
  8117. addr = [ HEAP32[sa + 8 >> 2], HEAP32[sa + 12 >> 2], HEAP32[sa + 16 >> 2], HEAP32[sa + 20 >> 2] ];
  8118. addr = __inet_ntop6_raw(addr);
  8119. break;
  8120. default:
  8121. return {
  8122. errno: ERRNO_CODES.EAFNOSUPPORT
  8123. };
  8124. }
  8125. return {
  8126. family: family,
  8127. addr: addr,
  8128. port: port
  8129. };
  8130. }
  8131. function __write_sockaddr(sa, family, addr, port) {
  8132. switch (family) {
  8133. case 2:
  8134. addr = __inet_pton4_raw(addr);
  8135. HEAP16[sa >> 1] = family;
  8136. HEAP32[sa + 4 >> 2] = addr;
  8137. HEAP16[sa + 2 >> 1] = _htons(port);
  8138. break;
  8139. case 10:
  8140. addr = __inet_pton6_raw(addr);
  8141. HEAP32[sa >> 2] = family;
  8142. HEAP32[sa + 8 >> 2] = addr[0];
  8143. HEAP32[sa + 12 >> 2] = addr[1];
  8144. HEAP32[sa + 16 >> 2] = addr[2];
  8145. HEAP32[sa + 20 >> 2] = addr[3];
  8146. HEAP16[sa + 2 >> 1] = _htons(port);
  8147. HEAP32[sa + 4 >> 2] = 0;
  8148. HEAP32[sa + 24 >> 2] = 0;
  8149. break;
  8150. default:
  8151. return {
  8152. errno: ERRNO_CODES.EAFNOSUPPORT
  8153. };
  8154. }
  8155. return {};
  8156. }
  8157. function ___syscall102(which, varargs) {
  8158. SYSCALLS.varargs = varargs;
  8159. try {
  8160. var call = SYSCALLS.get(), socketvararg = SYSCALLS.get();
  8161. SYSCALLS.varargs = socketvararg;
  8162. switch (call) {
  8163. case 1:
  8164. {
  8165. var domain = SYSCALLS.get(), type = SYSCALLS.get(), protocol = SYSCALLS.get();
  8166. var sock = SOCKFS.createSocket(domain, type, protocol);
  8167. assert(sock.stream.fd < 64);
  8168. return sock.stream.fd;
  8169. }
  8170. case 2:
  8171. {
  8172. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8173. sock.sock_ops.bind(sock, info.addr, info.port);
  8174. return 0;
  8175. }
  8176. case 3:
  8177. {
  8178. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8179. sock.sock_ops.connect(sock, info.addr, info.port);
  8180. return 0;
  8181. }
  8182. case 4:
  8183. {
  8184. var sock = SYSCALLS.getSocketFromFD(), backlog = SYSCALLS.get();
  8185. sock.sock_ops.listen(sock, backlog);
  8186. return 0;
  8187. }
  8188. case 5:
  8189. {
  8190. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8191. var newsock = sock.sock_ops.accept(sock);
  8192. if (addr) {
  8193. var res = __write_sockaddr(addr, newsock.family, DNS.lookup_name(newsock.daddr), newsock.dport);
  8194. assert(!res.errno);
  8195. }
  8196. return newsock.stream.fd;
  8197. }
  8198. case 6:
  8199. {
  8200. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8201. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.saddr || "0.0.0.0"), sock.sport);
  8202. assert(!res.errno);
  8203. return 0;
  8204. }
  8205. case 7:
  8206. {
  8207. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8208. if (!sock.daddr) {
  8209. return -ERRNO_CODES.ENOTCONN;
  8210. }
  8211. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.daddr), sock.dport);
  8212. assert(!res.errno);
  8213. return 0;
  8214. }
  8215. case 11:
  8216. {
  8217. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), length = SYSCALLS.get(), flags = SYSCALLS.get(), dest = SYSCALLS.getSocketAddress(true);
  8218. if (!dest) {
  8219. return FS.write(sock.stream, HEAP8, message, length);
  8220. } else {
  8221. return sock.sock_ops.sendmsg(sock, HEAP8, message, length, dest.addr, dest.port);
  8222. }
  8223. }
  8224. case 12:
  8225. {
  8226. var sock = SYSCALLS.getSocketFromFD(), buf = SYSCALLS.get(), len = SYSCALLS.get(), flags = SYSCALLS.get(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8227. var msg = sock.sock_ops.recvmsg(sock, len);
  8228. if (!msg) return 0;
  8229. if (addr) {
  8230. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8231. assert(!res.errno);
  8232. }
  8233. HEAPU8.set(msg.buffer, buf);
  8234. return msg.buffer.byteLength;
  8235. }
  8236. case 14:
  8237. {
  8238. return -ERRNO_CODES.ENOPROTOOPT;
  8239. }
  8240. case 15:
  8241. {
  8242. var sock = SYSCALLS.getSocketFromFD(), level = SYSCALLS.get(), optname = SYSCALLS.get(), optval = SYSCALLS.get(), optlen = SYSCALLS.get();
  8243. if (level === 1) {
  8244. if (optname === 4) {
  8245. HEAP32[optval >> 2] = sock.error;
  8246. HEAP32[optlen >> 2] = 4;
  8247. sock.error = null;
  8248. return 0;
  8249. }
  8250. }
  8251. return -ERRNO_CODES.ENOPROTOOPT;
  8252. }
  8253. case 16:
  8254. {
  8255. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8256. var iov = HEAP32[message + 8 >> 2];
  8257. var num = HEAP32[message + 12 >> 2];
  8258. var addr, port;
  8259. var name = HEAP32[message >> 2];
  8260. var namelen = HEAP32[message + 4 >> 2];
  8261. if (name) {
  8262. var info = __read_sockaddr(name, namelen);
  8263. if (info.errno) return -info.errno;
  8264. port = info.port;
  8265. addr = DNS.lookup_addr(info.addr) || info.addr;
  8266. }
  8267. var total = 0;
  8268. for (var i = 0; i < num; i++) {
  8269. total += HEAP32[iov + (8 * i + 4) >> 2];
  8270. }
  8271. var view = new Uint8Array(total);
  8272. var offset = 0;
  8273. for (var i = 0; i < num; i++) {
  8274. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8275. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8276. for (var j = 0; j < iovlen; j++) {
  8277. view[offset++] = HEAP8[iovbase + j >> 0];
  8278. }
  8279. }
  8280. return sock.sock_ops.sendmsg(sock, view, 0, total, addr, port);
  8281. }
  8282. case 17:
  8283. {
  8284. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8285. var iov = HEAP32[message + 8 >> 2];
  8286. var num = HEAP32[message + 12 >> 2];
  8287. var total = 0;
  8288. for (var i = 0; i < num; i++) {
  8289. total += HEAP32[iov + (8 * i + 4) >> 2];
  8290. }
  8291. var msg = sock.sock_ops.recvmsg(sock, total);
  8292. if (!msg) return 0;
  8293. var name = HEAP32[message >> 2];
  8294. if (name) {
  8295. var res = __write_sockaddr(name, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8296. assert(!res.errno);
  8297. }
  8298. var bytesRead = 0;
  8299. var bytesRemaining = msg.buffer.byteLength;
  8300. for (var i = 0; bytesRemaining > 0 && i < num; i++) {
  8301. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8302. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8303. if (!iovlen) {
  8304. continue;
  8305. }
  8306. var length = Math.min(iovlen, bytesRemaining);
  8307. var buf = msg.buffer.subarray(bytesRead, bytesRead + length);
  8308. HEAPU8.set(buf, iovbase + bytesRead);
  8309. bytesRead += length;
  8310. bytesRemaining -= length;
  8311. }
  8312. return bytesRead;
  8313. }
  8314. default:
  8315. abort("unsupported socketcall syscall " + call);
  8316. }
  8317. } catch (e) {
  8318. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8319. return -e.errno;
  8320. }
  8321. }
  8322. function ___syscall122(which, varargs) {
  8323. SYSCALLS.varargs = varargs;
  8324. try {
  8325. var buf = SYSCALLS.get();
  8326. if (!buf) return -ERRNO_CODES.EFAULT;
  8327. var layout = {
  8328. "sysname": 0,
  8329. "nodename": 65,
  8330. "domainname": 325,
  8331. "machine": 260,
  8332. "version": 195,
  8333. "release": 130,
  8334. "__size__": 390
  8335. };
  8336. function copyString(element, value) {
  8337. var offset = layout[element];
  8338. writeAsciiToMemory(value, buf + offset);
  8339. }
  8340. copyString("sysname", "Emscripten");
  8341. copyString("nodename", "emscripten");
  8342. copyString("release", "1.0");
  8343. copyString("version", "#1");
  8344. copyString("machine", "x86-JS");
  8345. return 0;
  8346. } catch (e) {
  8347. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8348. return -e.errno;
  8349. }
  8350. }
  8351. function ___syscall140(which, varargs) {
  8352. SYSCALLS.varargs = varargs;
  8353. try {
  8354. var stream = SYSCALLS.getStreamFromFD(), offset_high = SYSCALLS.get(), offset_low = SYSCALLS.get(), result = SYSCALLS.get(), whence = SYSCALLS.get();
  8355. var offset = offset_low;
  8356. FS.llseek(stream, offset, whence);
  8357. HEAP32[result >> 2] = stream.position;
  8358. if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null;
  8359. return 0;
  8360. } catch (e) {
  8361. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8362. return -e.errno;
  8363. }
  8364. }
  8365. function ___syscall142(which, varargs) {
  8366. SYSCALLS.varargs = varargs;
  8367. try {
  8368. var nfds = SYSCALLS.get(), readfds = SYSCALLS.get(), writefds = SYSCALLS.get(), exceptfds = SYSCALLS.get(), timeout = SYSCALLS.get();
  8369. assert(nfds <= 64, "nfds must be less than or equal to 64");
  8370. assert(!exceptfds, "exceptfds not supported");
  8371. var total = 0;
  8372. var srcReadLow = readfds ? HEAP32[readfds >> 2] : 0, srcReadHigh = readfds ? HEAP32[readfds + 4 >> 2] : 0;
  8373. var srcWriteLow = writefds ? HEAP32[writefds >> 2] : 0, srcWriteHigh = writefds ? HEAP32[writefds + 4 >> 2] : 0;
  8374. var srcExceptLow = exceptfds ? HEAP32[exceptfds >> 2] : 0, srcExceptHigh = exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0;
  8375. var dstReadLow = 0, dstReadHigh = 0;
  8376. var dstWriteLow = 0, dstWriteHigh = 0;
  8377. var dstExceptLow = 0, dstExceptHigh = 0;
  8378. var allLow = (readfds ? HEAP32[readfds >> 2] : 0) | (writefds ? HEAP32[writefds >> 2] : 0) | (exceptfds ? HEAP32[exceptfds >> 2] : 0);
  8379. var allHigh = (readfds ? HEAP32[readfds + 4 >> 2] : 0) | (writefds ? HEAP32[writefds + 4 >> 2] : 0) | (exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0);
  8380. function check(fd, low, high, val) {
  8381. return fd < 32 ? low & val : high & val;
  8382. }
  8383. for (var fd = 0; fd < nfds; fd++) {
  8384. var mask = 1 << fd % 32;
  8385. if (!check(fd, allLow, allHigh, mask)) {
  8386. continue;
  8387. }
  8388. var stream = FS.getStream(fd);
  8389. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  8390. var flags = SYSCALLS.DEFAULT_POLLMASK;
  8391. if (stream.stream_ops.poll) {
  8392. flags = stream.stream_ops.poll(stream);
  8393. }
  8394. if (flags & 1 && check(fd, srcReadLow, srcReadHigh, mask)) {
  8395. fd < 32 ? dstReadLow = dstReadLow | mask : dstReadHigh = dstReadHigh | mask;
  8396. total++;
  8397. }
  8398. if (flags & 4 && check(fd, srcWriteLow, srcWriteHigh, mask)) {
  8399. fd < 32 ? dstWriteLow = dstWriteLow | mask : dstWriteHigh = dstWriteHigh | mask;
  8400. total++;
  8401. }
  8402. if (flags & 2 && check(fd, srcExceptLow, srcExceptHigh, mask)) {
  8403. fd < 32 ? dstExceptLow = dstExceptLow | mask : dstExceptHigh = dstExceptHigh | mask;
  8404. total++;
  8405. }
  8406. }
  8407. if (readfds) {
  8408. HEAP32[readfds >> 2] = dstReadLow;
  8409. HEAP32[readfds + 4 >> 2] = dstReadHigh;
  8410. }
  8411. if (writefds) {
  8412. HEAP32[writefds >> 2] = dstWriteLow;
  8413. HEAP32[writefds + 4 >> 2] = dstWriteHigh;
  8414. }
  8415. if (exceptfds) {
  8416. HEAP32[exceptfds >> 2] = dstExceptLow;
  8417. HEAP32[exceptfds + 4 >> 2] = dstExceptHigh;
  8418. }
  8419. return total;
  8420. } catch (e) {
  8421. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8422. return -e.errno;
  8423. }
  8424. }
  8425. function ___syscall145(which, varargs) {
  8426. SYSCALLS.varargs = varargs;
  8427. try {
  8428. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8429. return SYSCALLS.doReadv(stream, iov, iovcnt);
  8430. } catch (e) {
  8431. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8432. return -e.errno;
  8433. }
  8434. }
  8435. function ___syscall146(which, varargs) {
  8436. SYSCALLS.varargs = varargs;
  8437. try {
  8438. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8439. return SYSCALLS.doWritev(stream, iov, iovcnt);
  8440. } catch (e) {
  8441. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8442. return -e.errno;
  8443. }
  8444. }
  8445. function ___syscall15(which, varargs) {
  8446. SYSCALLS.varargs = varargs;
  8447. try {
  8448. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8449. FS.chmod(path, mode);
  8450. return 0;
  8451. } catch (e) {
  8452. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8453. return -e.errno;
  8454. }
  8455. }
  8456. function ___syscall183(which, varargs) {
  8457. SYSCALLS.varargs = varargs;
  8458. try {
  8459. var buf = SYSCALLS.get(), size = SYSCALLS.get();
  8460. if (size === 0) return -ERRNO_CODES.EINVAL;
  8461. var cwd = FS.cwd();
  8462. var cwdLengthInBytes = lengthBytesUTF8(cwd);
  8463. if (size < cwdLengthInBytes + 1) return -ERRNO_CODES.ERANGE;
  8464. stringToUTF8(cwd, buf, size);
  8465. return buf;
  8466. } catch (e) {
  8467. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8468. return -e.errno;
  8469. }
  8470. }
  8471. function ___syscall192(which, varargs) {
  8472. SYSCALLS.varargs = varargs;
  8473. try {
  8474. var addr = SYSCALLS.get(), len = SYSCALLS.get(), prot = SYSCALLS.get(), flags = SYSCALLS.get(), fd = SYSCALLS.get(), off = SYSCALLS.get();
  8475. off <<= 12;
  8476. var ptr;
  8477. var allocated = false;
  8478. if (fd === -1) {
  8479. ptr = _memalign(PAGE_SIZE, len);
  8480. if (!ptr) return -ERRNO_CODES.ENOMEM;
  8481. _memset(ptr, 0, len);
  8482. allocated = true;
  8483. } else {
  8484. var info = FS.getStream(fd);
  8485. if (!info) return -ERRNO_CODES.EBADF;
  8486. var res = FS.mmap(info, HEAPU8, addr, len, off, prot, flags);
  8487. ptr = res.ptr;
  8488. allocated = res.allocated;
  8489. }
  8490. SYSCALLS.mappings[ptr] = {
  8491. malloc: ptr,
  8492. len: len,
  8493. allocated: allocated,
  8494. fd: fd,
  8495. flags: flags
  8496. };
  8497. return ptr;
  8498. } catch (e) {
  8499. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8500. return -e.errno;
  8501. }
  8502. }
  8503. function ___syscall193(which, varargs) {
  8504. SYSCALLS.varargs = varargs;
  8505. try {
  8506. var path = SYSCALLS.getStr(), zero = SYSCALLS.getZero(), length = SYSCALLS.get64();
  8507. FS.truncate(path, length);
  8508. return 0;
  8509. } catch (e) {
  8510. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8511. return -e.errno;
  8512. }
  8513. }
  8514. function ___syscall195(which, varargs) {
  8515. SYSCALLS.varargs = varargs;
  8516. try {
  8517. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8518. return SYSCALLS.doStat(FS.stat, path, buf);
  8519. } catch (e) {
  8520. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8521. return -e.errno;
  8522. }
  8523. }
  8524. function ___syscall196(which, varargs) {
  8525. SYSCALLS.varargs = varargs;
  8526. try {
  8527. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8528. return SYSCALLS.doStat(FS.lstat, path, buf);
  8529. } catch (e) {
  8530. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8531. return -e.errno;
  8532. }
  8533. }
  8534. function ___syscall197(which, varargs) {
  8535. SYSCALLS.varargs = varargs;
  8536. try {
  8537. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get();
  8538. return SYSCALLS.doStat(FS.stat, stream.path, buf);
  8539. } catch (e) {
  8540. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8541. return -e.errno;
  8542. }
  8543. }
  8544. function ___syscall202(which, varargs) {
  8545. SYSCALLS.varargs = varargs;
  8546. try {
  8547. return 0;
  8548. } catch (e) {
  8549. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8550. return -e.errno;
  8551. }
  8552. }
  8553. function ___syscall199() {
  8554. return ___syscall202.apply(null, arguments);
  8555. }
  8556. function ___syscall220(which, varargs) {
  8557. SYSCALLS.varargs = varargs;
  8558. try {
  8559. var stream = SYSCALLS.getStreamFromFD(), dirp = SYSCALLS.get(), count = SYSCALLS.get();
  8560. if (!stream.getdents) {
  8561. stream.getdents = FS.readdir(stream.path);
  8562. }
  8563. var pos = 0;
  8564. while (stream.getdents.length > 0 && pos + 268 <= count) {
  8565. var id;
  8566. var type;
  8567. var name = stream.getdents.pop();
  8568. if (name[0] === ".") {
  8569. id = 1;
  8570. type = 4;
  8571. } else {
  8572. var child = FS.lookupNode(stream.node, name);
  8573. id = child.id;
  8574. type = FS.isChrdev(child.mode) ? 2 : FS.isDir(child.mode) ? 4 : FS.isLink(child.mode) ? 10 : 8;
  8575. }
  8576. HEAP32[dirp + pos >> 2] = id;
  8577. HEAP32[dirp + pos + 4 >> 2] = stream.position;
  8578. HEAP16[dirp + pos + 8 >> 1] = 268;
  8579. HEAP8[dirp + pos + 10 >> 0] = type;
  8580. stringToUTF8(name, dirp + pos + 11, 256);
  8581. pos += 268;
  8582. }
  8583. return pos;
  8584. } catch (e) {
  8585. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8586. return -e.errno;
  8587. }
  8588. }
  8589. function ___syscall221(which, varargs) {
  8590. SYSCALLS.varargs = varargs;
  8591. try {
  8592. var stream = SYSCALLS.getStreamFromFD(), cmd = SYSCALLS.get();
  8593. switch (cmd) {
  8594. case 0:
  8595. {
  8596. var arg = SYSCALLS.get();
  8597. if (arg < 0) {
  8598. return -ERRNO_CODES.EINVAL;
  8599. }
  8600. var newStream;
  8601. newStream = FS.open(stream.path, stream.flags, 0, arg);
  8602. return newStream.fd;
  8603. }
  8604. case 1:
  8605. case 2:
  8606. return 0;
  8607. case 3:
  8608. return stream.flags;
  8609. case 4:
  8610. {
  8611. var arg = SYSCALLS.get();
  8612. stream.flags |= arg;
  8613. return 0;
  8614. }
  8615. case 12:
  8616. case 12:
  8617. {
  8618. var arg = SYSCALLS.get();
  8619. var offset = 0;
  8620. HEAP16[arg + offset >> 1] = 2;
  8621. return 0;
  8622. }
  8623. case 13:
  8624. case 14:
  8625. case 13:
  8626. case 14:
  8627. return 0;
  8628. case 16:
  8629. case 8:
  8630. return -ERRNO_CODES.EINVAL;
  8631. case 9:
  8632. ___setErrNo(ERRNO_CODES.EINVAL);
  8633. return -1;
  8634. default:
  8635. {
  8636. return -ERRNO_CODES.EINVAL;
  8637. }
  8638. }
  8639. } catch (e) {
  8640. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8641. return -e.errno;
  8642. }
  8643. }
  8644. function ___syscall268(which, varargs) {
  8645. SYSCALLS.varargs = varargs;
  8646. try {
  8647. var path = SYSCALLS.getStr(), size = SYSCALLS.get(), buf = SYSCALLS.get();
  8648. assert(size === 64);
  8649. HEAP32[buf + 4 >> 2] = 4096;
  8650. HEAP32[buf + 40 >> 2] = 4096;
  8651. HEAP32[buf + 8 >> 2] = 1e6;
  8652. HEAP32[buf + 12 >> 2] = 5e5;
  8653. HEAP32[buf + 16 >> 2] = 5e5;
  8654. HEAP32[buf + 20 >> 2] = FS.nextInode;
  8655. HEAP32[buf + 24 >> 2] = 1e6;
  8656. HEAP32[buf + 28 >> 2] = 42;
  8657. HEAP32[buf + 44 >> 2] = 2;
  8658. HEAP32[buf + 36 >> 2] = 255;
  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 ___syscall3(which, varargs) {
  8666. SYSCALLS.varargs = varargs;
  8667. try {
  8668. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8669. return FS.read(stream, HEAP8, buf, count);
  8670. } catch (e) {
  8671. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8672. return -e.errno;
  8673. }
  8674. }
  8675. function ___syscall33(which, varargs) {
  8676. SYSCALLS.varargs = varargs;
  8677. try {
  8678. var path = SYSCALLS.getStr(), amode = SYSCALLS.get();
  8679. return SYSCALLS.doAccess(path, amode);
  8680. } catch (e) {
  8681. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8682. return -e.errno;
  8683. }
  8684. }
  8685. function ___syscall38(which, varargs) {
  8686. SYSCALLS.varargs = varargs;
  8687. try {
  8688. var old_path = SYSCALLS.getStr(), new_path = SYSCALLS.getStr();
  8689. FS.rename(old_path, new_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 ___syscall39(which, varargs) {
  8697. SYSCALLS.varargs = varargs;
  8698. try {
  8699. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8700. return SYSCALLS.doMkdir(path, mode);
  8701. } catch (e) {
  8702. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8703. return -e.errno;
  8704. }
  8705. }
  8706. function ___syscall4(which, varargs) {
  8707. SYSCALLS.varargs = varargs;
  8708. try {
  8709. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8710. return FS.write(stream, HEAP8, buf, count);
  8711. } catch (e) {
  8712. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8713. return -e.errno;
  8714. }
  8715. }
  8716. function ___syscall40(which, varargs) {
  8717. SYSCALLS.varargs = varargs;
  8718. try {
  8719. var path = SYSCALLS.getStr();
  8720. FS.rmdir(path);
  8721. return 0;
  8722. } catch (e) {
  8723. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8724. return -e.errno;
  8725. }
  8726. }
  8727. function ___syscall5(which, varargs) {
  8728. SYSCALLS.varargs = varargs;
  8729. try {
  8730. var pathname = SYSCALLS.getStr(), flags = SYSCALLS.get(), mode = SYSCALLS.get();
  8731. var stream = FS.open(pathname, flags, mode);
  8732. return stream.fd;
  8733. } catch (e) {
  8734. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8735. return -e.errno;
  8736. }
  8737. }
  8738. function ___syscall54(which, varargs) {
  8739. SYSCALLS.varargs = varargs;
  8740. try {
  8741. var stream = SYSCALLS.getStreamFromFD(), op = SYSCALLS.get();
  8742. switch (op) {
  8743. case 21509:
  8744. case 21505:
  8745. {
  8746. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8747. return 0;
  8748. }
  8749. case 21510:
  8750. case 21511:
  8751. case 21512:
  8752. case 21506:
  8753. case 21507:
  8754. case 21508:
  8755. {
  8756. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8757. return 0;
  8758. }
  8759. case 21519:
  8760. {
  8761. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8762. var argp = SYSCALLS.get();
  8763. HEAP32[argp >> 2] = 0;
  8764. return 0;
  8765. }
  8766. case 21520:
  8767. {
  8768. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8769. return -ERRNO_CODES.EINVAL;
  8770. }
  8771. case 21531:
  8772. {
  8773. var argp = SYSCALLS.get();
  8774. return FS.ioctl(stream, op, argp);
  8775. }
  8776. case 21523:
  8777. {
  8778. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8779. return 0;
  8780. }
  8781. case 21524:
  8782. {
  8783. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8784. return 0;
  8785. }
  8786. default:
  8787. abort("bad ioctl syscall " + op);
  8788. }
  8789. } catch (e) {
  8790. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8791. return -e.errno;
  8792. }
  8793. }
  8794. function ___syscall6(which, varargs) {
  8795. SYSCALLS.varargs = varargs;
  8796. try {
  8797. var stream = SYSCALLS.getStreamFromFD();
  8798. FS.close(stream);
  8799. return 0;
  8800. } catch (e) {
  8801. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8802. return -e.errno;
  8803. }
  8804. }
  8805. function ___syscall77(which, varargs) {
  8806. SYSCALLS.varargs = varargs;
  8807. try {
  8808. var who = SYSCALLS.get(), usage = SYSCALLS.get();
  8809. _memset(usage, 0, 136);
  8810. HEAP32[usage >> 2] = 1;
  8811. HEAP32[usage + 4 >> 2] = 2;
  8812. HEAP32[usage + 8 >> 2] = 3;
  8813. HEAP32[usage + 12 >> 2] = 4;
  8814. return 0;
  8815. } catch (e) {
  8816. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8817. return -e.errno;
  8818. }
  8819. }
  8820. function ___syscall85(which, varargs) {
  8821. SYSCALLS.varargs = varargs;
  8822. try {
  8823. var path = SYSCALLS.getStr(), buf = SYSCALLS.get(), bufsize = SYSCALLS.get();
  8824. return SYSCALLS.doReadlink(path, buf, bufsize);
  8825. } catch (e) {
  8826. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8827. return -e.errno;
  8828. }
  8829. }
  8830. function ___syscall91(which, varargs) {
  8831. SYSCALLS.varargs = varargs;
  8832. try {
  8833. var addr = SYSCALLS.get(), len = SYSCALLS.get();
  8834. var info = SYSCALLS.mappings[addr];
  8835. if (!info) return 0;
  8836. if (len === info.len) {
  8837. var stream = FS.getStream(info.fd);
  8838. SYSCALLS.doMsync(addr, stream, len, info.flags);
  8839. FS.munmap(stream);
  8840. SYSCALLS.mappings[addr] = null;
  8841. if (info.allocated) {
  8842. _free(info.malloc);
  8843. }
  8844. }
  8845. return 0;
  8846. } catch (e) {
  8847. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8848. return -e.errno;
  8849. }
  8850. }
  8851. function ___unlock() {}
  8852. function _abort() {
  8853. Module["abort"]();
  8854. }
  8855. function _atexit(func, arg) {
  8856. warnOnce("atexit() called, but NO_EXIT_RUNTIME is set, so atexits() will not be called. set NO_EXIT_RUNTIME to 0 (see the FAQ)");
  8857. __ATEXIT__.unshift({
  8858. func: func,
  8859. arg: arg
  8860. });
  8861. }
  8862. function _clock() {
  8863. if (_clock.start === undefined) _clock.start = Date.now();
  8864. return (Date.now() - _clock.start) * (1e6 / 1e3) | 0;
  8865. }
  8866. function _emscripten_get_now_res() {
  8867. if (ENVIRONMENT_IS_NODE) {
  8868. return 1;
  8869. } else if (typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  8870. return 1e3;
  8871. } else {
  8872. return 1e3 * 1e3;
  8873. }
  8874. }
  8875. function _emscripten_get_now() {
  8876. abort();
  8877. }
  8878. function _emscripten_get_now_is_monotonic() {
  8879. return ENVIRONMENT_IS_NODE || typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"];
  8880. }
  8881. function _clock_getres(clk_id, res) {
  8882. var nsec;
  8883. if (clk_id === 0) {
  8884. nsec = 1e3 * 1e3;
  8885. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8886. nsec = _emscripten_get_now_res();
  8887. } else {
  8888. ___setErrNo(ERRNO_CODES.EINVAL);
  8889. return -1;
  8890. }
  8891. HEAP32[res >> 2] = nsec / 1e9 | 0;
  8892. HEAP32[res + 4 >> 2] = nsec;
  8893. return 0;
  8894. }
  8895. function _clock_gettime(clk_id, tp) {
  8896. var now;
  8897. if (clk_id === 0) {
  8898. now = Date.now();
  8899. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8900. now = _emscripten_get_now();
  8901. } else {
  8902. ___setErrNo(ERRNO_CODES.EINVAL);
  8903. return -1;
  8904. }
  8905. HEAP32[tp >> 2] = now / 1e3 | 0;
  8906. HEAP32[tp + 4 >> 2] = now % 1e3 * 1e3 * 1e3 | 0;
  8907. return 0;
  8908. }
  8909. function _difftime(time1, time0) {
  8910. return time1 - time0;
  8911. }
  8912. var DLFCN = {
  8913. error: null,
  8914. errorMsg: null,
  8915. loadedLibs: {},
  8916. loadedLibNames: {}
  8917. };
  8918. function _dlclose(handle) {
  8919. if (!DLFCN.loadedLibs[handle]) {
  8920. DLFCN.errorMsg = "Tried to dlclose() unopened handle: " + handle;
  8921. return 1;
  8922. } else {
  8923. var lib_record = DLFCN.loadedLibs[handle];
  8924. if (--lib_record.refcount == 0) {
  8925. if (lib_record.module.cleanups) {
  8926. lib_record.module.cleanups.forEach((function(cleanup) {
  8927. cleanup();
  8928. }));
  8929. }
  8930. delete DLFCN.loadedLibNames[lib_record.name];
  8931. delete DLFCN.loadedLibs[handle];
  8932. }
  8933. return 0;
  8934. }
  8935. }
  8936. function _dlopen(filename, flag) {
  8937. abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking");
  8938. var searchpaths = [];
  8939. if (filename === 0) {
  8940. filename = "__self__";
  8941. } else {
  8942. var strfilename = Pointer_stringify(filename);
  8943. var isValidFile = (function(filename) {
  8944. var target = FS.findObject(filename);
  8945. return target && !target.isFolder && !target.isDevice;
  8946. });
  8947. if (isValidFile(strfilename)) {
  8948. filename = strfilename;
  8949. } else {
  8950. if (ENV["LD_LIBRARY_PATH"]) {
  8951. searchpaths = ENV["LD_LIBRARY_PATH"].split(":");
  8952. }
  8953. for (var ident in searchpaths) {
  8954. var searchfile = PATH.join2(searchpaths[ident], strfilename);
  8955. if (isValidFile(searchfile)) {
  8956. filename = searchfile;
  8957. break;
  8958. }
  8959. }
  8960. }
  8961. }
  8962. if (DLFCN.loadedLibNames[filename]) {
  8963. var handle = DLFCN.loadedLibNames[filename];
  8964. DLFCN.loadedLibs[handle].refcount++;
  8965. return handle;
  8966. }
  8967. var lib_module;
  8968. if (filename === "__self__") {
  8969. var handle = -1;
  8970. lib_module = Module;
  8971. } else {
  8972. if (Module["preloadedWasm"] !== undefined && Module["preloadedWasm"][filename] !== undefined) {
  8973. lib_module = Module["preloadedWasm"][filename];
  8974. } else {
  8975. var target = FS.findObject(filename);
  8976. if (!target || target.isFolder || target.isDevice) {
  8977. DLFCN.errorMsg = "Could not find dynamic lib: " + filename;
  8978. return 0;
  8979. }
  8980. FS.forceLoadFile(target);
  8981. try {
  8982. var lib_data = FS.readFile(filename, {
  8983. encoding: "binary"
  8984. });
  8985. if (!(lib_data instanceof Uint8Array)) lib_data = new Uint8Array(lib_data);
  8986. lib_module = loadWebAssemblyModule(lib_data);
  8987. } catch (e) {
  8988. err("Error in loading dynamic library: " + e);
  8989. DLFCN.errorMsg = "Could not evaluate dynamic lib: " + filename + "\n" + e;
  8990. return 0;
  8991. }
  8992. }
  8993. var handle = 1;
  8994. for (var key in DLFCN.loadedLibs) {
  8995. if (DLFCN.loadedLibs.hasOwnProperty(key)) handle++;
  8996. }
  8997. if (flag & 256) {
  8998. for (var ident in lib_module) {
  8999. if (lib_module.hasOwnProperty(ident)) {
  9000. if (ident[0] == "_") {
  9001. Module[ident] = lib_module[ident];
  9002. }
  9003. }
  9004. }
  9005. }
  9006. }
  9007. DLFCN.loadedLibs[handle] = {
  9008. refcount: 1,
  9009. name: filename,
  9010. module: lib_module
  9011. };
  9012. DLFCN.loadedLibNames[filename] = handle;
  9013. return handle;
  9014. }
  9015. function _dlsym(handle, symbol) {
  9016. symbol = Pointer_stringify(symbol);
  9017. if (!DLFCN.loadedLibs[handle]) {
  9018. DLFCN.errorMsg = "Tried to dlsym() from an unopened handle: " + handle;
  9019. return 0;
  9020. } else {
  9021. var lib = DLFCN.loadedLibs[handle];
  9022. symbol = "_" + symbol;
  9023. if (!lib.module.hasOwnProperty(symbol)) {
  9024. DLFCN.errorMsg = 'Tried to lookup unknown symbol "' + symbol + '" in dynamic lib: ' + lib.name;
  9025. return 0;
  9026. } else {
  9027. var result = lib.module[symbol];
  9028. if (typeof result === "function") {
  9029. return addFunction(result);
  9030. }
  9031. return result;
  9032. }
  9033. }
  9034. }
  9035. function _emscripten_set_main_loop_timing(mode, value) {
  9036. Browser.mainLoop.timingMode = mode;
  9037. Browser.mainLoop.timingValue = value;
  9038. if (!Browser.mainLoop.func) {
  9039. 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.");
  9040. return 1;
  9041. }
  9042. if (mode == 0) {
  9043. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setTimeout() {
  9044. var timeUntilNextTick = Math.max(0, Browser.mainLoop.tickStartTime + value - _emscripten_get_now()) | 0;
  9045. setTimeout(Browser.mainLoop.runner, timeUntilNextTick);
  9046. };
  9047. Browser.mainLoop.method = "timeout";
  9048. } else if (mode == 1) {
  9049. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_rAF() {
  9050. Browser.requestAnimationFrame(Browser.mainLoop.runner);
  9051. };
  9052. Browser.mainLoop.method = "rAF";
  9053. } else if (mode == 2) {
  9054. if (typeof setImmediate === "undefined") {
  9055. var setImmediates = [];
  9056. var emscriptenMainLoopMessageId = "setimmediate";
  9057. function Browser_setImmediate_messageHandler(event) {
  9058. if (event.data === emscriptenMainLoopMessageId || event.data.target === emscriptenMainLoopMessageId) {
  9059. event.stopPropagation();
  9060. setImmediates.shift()();
  9061. }
  9062. }
  9063. addEventListener("message", Browser_setImmediate_messageHandler, true);
  9064. setImmediate = function Browser_emulated_setImmediate(func) {
  9065. setImmediates.push(func);
  9066. if (ENVIRONMENT_IS_WORKER) {
  9067. if (Module["setImmediates"] === undefined) Module["setImmediates"] = [];
  9068. Module["setImmediates"].push(func);
  9069. postMessage({
  9070. target: emscriptenMainLoopMessageId
  9071. });
  9072. } else postMessage(emscriptenMainLoopMessageId, "*");
  9073. };
  9074. }
  9075. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setImmediate() {
  9076. setImmediate(Browser.mainLoop.runner);
  9077. };
  9078. Browser.mainLoop.method = "immediate";
  9079. }
  9080. return 0;
  9081. }
  9082. function _emscripten_set_main_loop(func, fps, simulateInfiniteLoop, arg, noSetTiming) {
  9083. Module["noExitRuntime"] = true;
  9084. 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.");
  9085. Browser.mainLoop.func = func;
  9086. Browser.mainLoop.arg = arg;
  9087. var browserIterationFunc;
  9088. if (typeof arg !== "undefined") {
  9089. browserIterationFunc = (function() {
  9090. Module["dynCall_vi"](func, arg);
  9091. });
  9092. } else {
  9093. browserIterationFunc = (function() {
  9094. Module["dynCall_v"](func);
  9095. });
  9096. }
  9097. var thisMainLoopId = Browser.mainLoop.currentlyRunningMainloop;
  9098. Browser.mainLoop.runner = function Browser_mainLoop_runner() {
  9099. if (ABORT) return;
  9100. if (Browser.mainLoop.queue.length > 0) {
  9101. var start = Date.now();
  9102. var blocker = Browser.mainLoop.queue.shift();
  9103. blocker.func(blocker.arg);
  9104. if (Browser.mainLoop.remainingBlockers) {
  9105. var remaining = Browser.mainLoop.remainingBlockers;
  9106. var next = remaining % 1 == 0 ? remaining - 1 : Math.floor(remaining);
  9107. if (blocker.counted) {
  9108. Browser.mainLoop.remainingBlockers = next;
  9109. } else {
  9110. next = next + .5;
  9111. Browser.mainLoop.remainingBlockers = (8 * remaining + next) / 9;
  9112. }
  9113. }
  9114. console.log('main loop blocker "' + blocker.name + '" took ' + (Date.now() - start) + " ms");
  9115. Browser.mainLoop.updateStatus();
  9116. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9117. setTimeout(Browser.mainLoop.runner, 0);
  9118. return;
  9119. }
  9120. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9121. Browser.mainLoop.currentFrameNumber = Browser.mainLoop.currentFrameNumber + 1 | 0;
  9122. if (Browser.mainLoop.timingMode == 1 && Browser.mainLoop.timingValue > 1 && Browser.mainLoop.currentFrameNumber % Browser.mainLoop.timingValue != 0) {
  9123. Browser.mainLoop.scheduler();
  9124. return;
  9125. } else if (Browser.mainLoop.timingMode == 0) {
  9126. Browser.mainLoop.tickStartTime = _emscripten_get_now();
  9127. }
  9128. if (Browser.mainLoop.method === "timeout" && Module.ctx) {
  9129. 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!");
  9130. Browser.mainLoop.method = "";
  9131. }
  9132. Browser.mainLoop.runIter(browserIterationFunc);
  9133. checkStackCookie();
  9134. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9135. if (typeof SDL === "object" && SDL.audio && SDL.audio.queueNewAudioData) SDL.audio.queueNewAudioData();
  9136. Browser.mainLoop.scheduler();
  9137. };
  9138. if (!noSetTiming) {
  9139. if (fps && fps > 0) _emscripten_set_main_loop_timing(0, 1e3 / fps); else _emscripten_set_main_loop_timing(1, 1);
  9140. Browser.mainLoop.scheduler();
  9141. }
  9142. if (simulateInfiniteLoop) {
  9143. throw "SimulateInfiniteLoop";
  9144. }
  9145. }
  9146. var Browser = {
  9147. mainLoop: {
  9148. scheduler: null,
  9149. method: "",
  9150. currentlyRunningMainloop: 0,
  9151. func: null,
  9152. arg: 0,
  9153. timingMode: 0,
  9154. timingValue: 0,
  9155. currentFrameNumber: 0,
  9156. queue: [],
  9157. pause: (function() {
  9158. Browser.mainLoop.scheduler = null;
  9159. Browser.mainLoop.currentlyRunningMainloop++;
  9160. }),
  9161. resume: (function() {
  9162. Browser.mainLoop.currentlyRunningMainloop++;
  9163. var timingMode = Browser.mainLoop.timingMode;
  9164. var timingValue = Browser.mainLoop.timingValue;
  9165. var func = Browser.mainLoop.func;
  9166. Browser.mainLoop.func = null;
  9167. _emscripten_set_main_loop(func, 0, false, Browser.mainLoop.arg, true);
  9168. _emscripten_set_main_loop_timing(timingMode, timingValue);
  9169. Browser.mainLoop.scheduler();
  9170. }),
  9171. updateStatus: (function() {
  9172. if (Module["setStatus"]) {
  9173. var message = Module["statusMessage"] || "Please wait...";
  9174. var remaining = Browser.mainLoop.remainingBlockers;
  9175. var expected = Browser.mainLoop.expectedBlockers;
  9176. if (remaining) {
  9177. if (remaining < expected) {
  9178. Module["setStatus"](message + " (" + (expected - remaining) + "/" + expected + ")");
  9179. } else {
  9180. Module["setStatus"](message);
  9181. }
  9182. } else {
  9183. Module["setStatus"]("");
  9184. }
  9185. }
  9186. }),
  9187. runIter: (function(func) {
  9188. if (ABORT) return;
  9189. if (Module["preMainLoop"]) {
  9190. var preRet = Module["preMainLoop"]();
  9191. if (preRet === false) {
  9192. return;
  9193. }
  9194. }
  9195. try {
  9196. func();
  9197. } catch (e) {
  9198. if (e instanceof ExitStatus) {
  9199. return;
  9200. } else {
  9201. if (e && typeof e === "object" && e.stack) err("exception thrown: " + [ e, e.stack ]);
  9202. throw e;
  9203. }
  9204. }
  9205. if (Module["postMainLoop"]) Module["postMainLoop"]();
  9206. })
  9207. },
  9208. isFullscreen: false,
  9209. pointerLock: false,
  9210. moduleContextCreatedCallbacks: [],
  9211. workers: [],
  9212. init: (function() {
  9213. if (!Module["preloadPlugins"]) Module["preloadPlugins"] = [];
  9214. if (Browser.initted) return;
  9215. Browser.initted = true;
  9216. try {
  9217. new Blob;
  9218. Browser.hasBlobConstructor = true;
  9219. } catch (e) {
  9220. Browser.hasBlobConstructor = false;
  9221. console.log("warning: no blob constructor, cannot create blobs with mimetypes");
  9222. }
  9223. Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : !Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null;
  9224. Browser.URLObject = typeof window != "undefined" ? window.URL ? window.URL : window.webkitURL : undefined;
  9225. if (!Module.noImageDecoding && typeof Browser.URLObject === "undefined") {
  9226. console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");
  9227. Module.noImageDecoding = true;
  9228. }
  9229. var imagePlugin = {};
  9230. imagePlugin["canHandle"] = function imagePlugin_canHandle(name) {
  9231. return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name);
  9232. };
  9233. imagePlugin["handle"] = function imagePlugin_handle(byteArray, name, onload, onerror) {
  9234. var b = null;
  9235. if (Browser.hasBlobConstructor) {
  9236. try {
  9237. b = new Blob([ byteArray ], {
  9238. type: Browser.getMimetype(name)
  9239. });
  9240. if (b.size !== byteArray.length) {
  9241. b = new Blob([ (new Uint8Array(byteArray)).buffer ], {
  9242. type: Browser.getMimetype(name)
  9243. });
  9244. }
  9245. } catch (e) {
  9246. warnOnce("Blob constructor present but fails: " + e + "; falling back to blob builder");
  9247. }
  9248. }
  9249. if (!b) {
  9250. var bb = new Browser.BlobBuilder;
  9251. bb.append((new Uint8Array(byteArray)).buffer);
  9252. b = bb.getBlob();
  9253. }
  9254. var url = Browser.URLObject.createObjectURL(b);
  9255. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9256. var img = new Image;
  9257. img.onload = function img_onload() {
  9258. assert(img.complete, "Image " + name + " could not be decoded");
  9259. var canvas = document.createElement("canvas");
  9260. canvas.width = img.width;
  9261. canvas.height = img.height;
  9262. var ctx = canvas.getContext("2d");
  9263. ctx.drawImage(img, 0, 0);
  9264. Module["preloadedImages"][name] = canvas;
  9265. Browser.URLObject.revokeObjectURL(url);
  9266. if (onload) onload(byteArray);
  9267. };
  9268. img.onerror = function img_onerror(event) {
  9269. console.log("Image " + url + " could not be decoded");
  9270. if (onerror) onerror();
  9271. };
  9272. img.src = url;
  9273. };
  9274. Module["preloadPlugins"].push(imagePlugin);
  9275. var audioPlugin = {};
  9276. audioPlugin["canHandle"] = function audioPlugin_canHandle(name) {
  9277. return !Module.noAudioDecoding && name.substr(-4) in {
  9278. ".ogg": 1,
  9279. ".wav": 1,
  9280. ".mp3": 1
  9281. };
  9282. };
  9283. audioPlugin["handle"] = function audioPlugin_handle(byteArray, name, onload, onerror) {
  9284. var done = false;
  9285. function finish(audio) {
  9286. if (done) return;
  9287. done = true;
  9288. Module["preloadedAudios"][name] = audio;
  9289. if (onload) onload(byteArray);
  9290. }
  9291. function fail() {
  9292. if (done) return;
  9293. done = true;
  9294. Module["preloadedAudios"][name] = new Audio;
  9295. if (onerror) onerror();
  9296. }
  9297. if (Browser.hasBlobConstructor) {
  9298. try {
  9299. var b = new Blob([ byteArray ], {
  9300. type: Browser.getMimetype(name)
  9301. });
  9302. } catch (e) {
  9303. return fail();
  9304. }
  9305. var url = Browser.URLObject.createObjectURL(b);
  9306. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9307. var audio = new Audio;
  9308. audio.addEventListener("canplaythrough", (function() {
  9309. finish(audio);
  9310. }), false);
  9311. audio.onerror = function audio_onerror(event) {
  9312. if (done) return;
  9313. console.log("warning: browser could not fully decode audio " + name + ", trying slower base64 approach");
  9314. function encode64(data) {
  9315. var BASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
  9316. var PAD = "=";
  9317. var ret = "";
  9318. var leftchar = 0;
  9319. var leftbits = 0;
  9320. for (var i = 0; i < data.length; i++) {
  9321. leftchar = leftchar << 8 | data[i];
  9322. leftbits += 8;
  9323. while (leftbits >= 6) {
  9324. var curr = leftchar >> leftbits - 6 & 63;
  9325. leftbits -= 6;
  9326. ret += BASE[curr];
  9327. }
  9328. }
  9329. if (leftbits == 2) {
  9330. ret += BASE[(leftchar & 3) << 4];
  9331. ret += PAD + PAD;
  9332. } else if (leftbits == 4) {
  9333. ret += BASE[(leftchar & 15) << 2];
  9334. ret += PAD;
  9335. }
  9336. return ret;
  9337. }
  9338. audio.src = "data:audio/x-" + name.substr(-3) + ";base64," + encode64(byteArray);
  9339. finish(audio);
  9340. };
  9341. audio.src = url;
  9342. Browser.safeSetTimeout((function() {
  9343. finish(audio);
  9344. }), 1e4);
  9345. } else {
  9346. return fail();
  9347. }
  9348. };
  9349. Module["preloadPlugins"].push(audioPlugin);
  9350. function pointerLockChange() {
  9351. Browser.pointerLock = document["pointerLockElement"] === Module["canvas"] || document["mozPointerLockElement"] === Module["canvas"] || document["webkitPointerLockElement"] === Module["canvas"] || document["msPointerLockElement"] === Module["canvas"];
  9352. }
  9353. var canvas = Module["canvas"];
  9354. if (canvas) {
  9355. canvas.requestPointerLock = canvas["requestPointerLock"] || canvas["mozRequestPointerLock"] || canvas["webkitRequestPointerLock"] || canvas["msRequestPointerLock"] || (function() {});
  9356. canvas.exitPointerLock = document["exitPointerLock"] || document["mozExitPointerLock"] || document["webkitExitPointerLock"] || document["msExitPointerLock"] || (function() {});
  9357. canvas.exitPointerLock = canvas.exitPointerLock.bind(document);
  9358. document.addEventListener("pointerlockchange", pointerLockChange, false);
  9359. document.addEventListener("mozpointerlockchange", pointerLockChange, false);
  9360. document.addEventListener("webkitpointerlockchange", pointerLockChange, false);
  9361. document.addEventListener("mspointerlockchange", pointerLockChange, false);
  9362. if (Module["elementPointerLock"]) {
  9363. canvas.addEventListener("click", (function(ev) {
  9364. if (!Browser.pointerLock && Module["canvas"].requestPointerLock) {
  9365. Module["canvas"].requestPointerLock();
  9366. ev.preventDefault();
  9367. }
  9368. }), false);
  9369. }
  9370. }
  9371. }),
  9372. createContext: (function(canvas, useWebGL, setInModule, webGLContextAttributes) {
  9373. if (useWebGL && Module.ctx && canvas == Module.canvas) return Module.ctx;
  9374. var ctx;
  9375. var contextHandle;
  9376. if (useWebGL) {
  9377. var contextAttributes = {
  9378. antialias: false,
  9379. alpha: false
  9380. };
  9381. if (webGLContextAttributes) {
  9382. for (var attribute in webGLContextAttributes) {
  9383. contextAttributes[attribute] = webGLContextAttributes[attribute];
  9384. }
  9385. }
  9386. contextHandle = GL.createContext(canvas, contextAttributes);
  9387. if (contextHandle) {
  9388. ctx = GL.getContext(contextHandle).GLctx;
  9389. }
  9390. } else {
  9391. ctx = canvas.getContext("2d");
  9392. }
  9393. if (!ctx) return null;
  9394. if (setInModule) {
  9395. 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");
  9396. Module.ctx = ctx;
  9397. if (useWebGL) GL.makeContextCurrent(contextHandle);
  9398. Module.useWebGL = useWebGL;
  9399. Browser.moduleContextCreatedCallbacks.forEach((function(callback) {
  9400. callback();
  9401. }));
  9402. Browser.init();
  9403. }
  9404. return ctx;
  9405. }),
  9406. destroyContext: (function(canvas, useWebGL, setInModule) {}),
  9407. fullscreenHandlersInstalled: false,
  9408. lockPointer: undefined,
  9409. resizeCanvas: undefined,
  9410. requestFullscreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9411. Browser.lockPointer = lockPointer;
  9412. Browser.resizeCanvas = resizeCanvas;
  9413. Browser.vrDevice = vrDevice;
  9414. if (typeof Browser.lockPointer === "undefined") Browser.lockPointer = true;
  9415. if (typeof Browser.resizeCanvas === "undefined") Browser.resizeCanvas = false;
  9416. if (typeof Browser.vrDevice === "undefined") Browser.vrDevice = null;
  9417. var canvas = Module["canvas"];
  9418. function fullscreenChange() {
  9419. Browser.isFullscreen = false;
  9420. var canvasContainer = canvas.parentNode;
  9421. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvasContainer) {
  9422. canvas.exitFullscreen = document["exitFullscreen"] || document["cancelFullScreen"] || document["mozCancelFullScreen"] || document["msExitFullscreen"] || document["webkitCancelFullScreen"] || (function() {});
  9423. canvas.exitFullscreen = canvas.exitFullscreen.bind(document);
  9424. if (Browser.lockPointer) canvas.requestPointerLock();
  9425. Browser.isFullscreen = true;
  9426. if (Browser.resizeCanvas) {
  9427. Browser.setFullscreenCanvasSize();
  9428. } else {
  9429. Browser.updateCanvasDimensions(canvas);
  9430. }
  9431. } else {
  9432. canvasContainer.parentNode.insertBefore(canvas, canvasContainer);
  9433. canvasContainer.parentNode.removeChild(canvasContainer);
  9434. if (Browser.resizeCanvas) {
  9435. Browser.setWindowedCanvasSize();
  9436. } else {
  9437. Browser.updateCanvasDimensions(canvas);
  9438. }
  9439. }
  9440. if (Module["onFullScreen"]) Module["onFullScreen"](Browser.isFullscreen);
  9441. if (Module["onFullscreen"]) Module["onFullscreen"](Browser.isFullscreen);
  9442. }
  9443. if (!Browser.fullscreenHandlersInstalled) {
  9444. Browser.fullscreenHandlersInstalled = true;
  9445. document.addEventListener("fullscreenchange", fullscreenChange, false);
  9446. document.addEventListener("mozfullscreenchange", fullscreenChange, false);
  9447. document.addEventListener("webkitfullscreenchange", fullscreenChange, false);
  9448. document.addEventListener("MSFullscreenChange", fullscreenChange, false);
  9449. }
  9450. var canvasContainer = document.createElement("div");
  9451. canvas.parentNode.insertBefore(canvasContainer, canvas);
  9452. canvasContainer.appendChild(canvas);
  9453. canvasContainer.requestFullscreen = canvasContainer["requestFullscreen"] || canvasContainer["mozRequestFullScreen"] || canvasContainer["msRequestFullscreen"] || (canvasContainer["webkitRequestFullscreen"] ? (function() {
  9454. canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9455. }) : null) || (canvasContainer["webkitRequestFullScreen"] ? (function() {
  9456. canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9457. }) : null);
  9458. if (vrDevice) {
  9459. canvasContainer.requestFullscreen({
  9460. vrDisplay: vrDevice
  9461. });
  9462. } else {
  9463. canvasContainer.requestFullscreen();
  9464. }
  9465. }),
  9466. requestFullScreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9467. err("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead.");
  9468. Browser.requestFullScreen = (function(lockPointer, resizeCanvas, vrDevice) {
  9469. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9470. });
  9471. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9472. }),
  9473. nextRAF: 0,
  9474. fakeRequestAnimationFrame: (function(func) {
  9475. var now = Date.now();
  9476. if (Browser.nextRAF === 0) {
  9477. Browser.nextRAF = now + 1e3 / 60;
  9478. } else {
  9479. while (now + 2 >= Browser.nextRAF) {
  9480. Browser.nextRAF += 1e3 / 60;
  9481. }
  9482. }
  9483. var delay = Math.max(Browser.nextRAF - now, 0);
  9484. setTimeout(func, delay);
  9485. }),
  9486. requestAnimationFrame: function requestAnimationFrame(func) {
  9487. if (typeof window === "undefined") {
  9488. Browser.fakeRequestAnimationFrame(func);
  9489. } else {
  9490. if (!window.requestAnimationFrame) {
  9491. window.requestAnimationFrame = window["requestAnimationFrame"] || window["mozRequestAnimationFrame"] || window["webkitRequestAnimationFrame"] || window["msRequestAnimationFrame"] || window["oRequestAnimationFrame"] || Browser.fakeRequestAnimationFrame;
  9492. }
  9493. window.requestAnimationFrame(func);
  9494. }
  9495. },
  9496. safeCallback: (function(func) {
  9497. return (function() {
  9498. if (!ABORT) return func.apply(null, arguments);
  9499. });
  9500. }),
  9501. allowAsyncCallbacks: true,
  9502. queuedAsyncCallbacks: [],
  9503. pauseAsyncCallbacks: (function() {
  9504. Browser.allowAsyncCallbacks = false;
  9505. }),
  9506. resumeAsyncCallbacks: (function() {
  9507. Browser.allowAsyncCallbacks = true;
  9508. if (Browser.queuedAsyncCallbacks.length > 0) {
  9509. var callbacks = Browser.queuedAsyncCallbacks;
  9510. Browser.queuedAsyncCallbacks = [];
  9511. callbacks.forEach((function(func) {
  9512. func();
  9513. }));
  9514. }
  9515. }),
  9516. safeRequestAnimationFrame: (function(func) {
  9517. return Browser.requestAnimationFrame((function() {
  9518. if (ABORT) return;
  9519. if (Browser.allowAsyncCallbacks) {
  9520. func();
  9521. } else {
  9522. Browser.queuedAsyncCallbacks.push(func);
  9523. }
  9524. }));
  9525. }),
  9526. safeSetTimeout: (function(func, timeout) {
  9527. Module["noExitRuntime"] = true;
  9528. return setTimeout((function() {
  9529. if (ABORT) return;
  9530. if (Browser.allowAsyncCallbacks) {
  9531. func();
  9532. } else {
  9533. Browser.queuedAsyncCallbacks.push(func);
  9534. }
  9535. }), timeout);
  9536. }),
  9537. safeSetInterval: (function(func, timeout) {
  9538. Module["noExitRuntime"] = true;
  9539. return setInterval((function() {
  9540. if (ABORT) return;
  9541. if (Browser.allowAsyncCallbacks) {
  9542. func();
  9543. }
  9544. }), timeout);
  9545. }),
  9546. getMimetype: (function(name) {
  9547. return {
  9548. "jpg": "image/jpeg",
  9549. "jpeg": "image/jpeg",
  9550. "png": "image/png",
  9551. "bmp": "image/bmp",
  9552. "ogg": "audio/ogg",
  9553. "wav": "audio/wav",
  9554. "mp3": "audio/mpeg"
  9555. }[name.substr(name.lastIndexOf(".") + 1)];
  9556. }),
  9557. getUserMedia: (function(func) {
  9558. if (!window.getUserMedia) {
  9559. window.getUserMedia = navigator["getUserMedia"] || navigator["mozGetUserMedia"];
  9560. }
  9561. window.getUserMedia(func);
  9562. }),
  9563. getMovementX: (function(event) {
  9564. return event["movementX"] || event["mozMovementX"] || event["webkitMovementX"] || 0;
  9565. }),
  9566. getMovementY: (function(event) {
  9567. return event["movementY"] || event["mozMovementY"] || event["webkitMovementY"] || 0;
  9568. }),
  9569. getMouseWheelDelta: (function(event) {
  9570. var delta = 0;
  9571. switch (event.type) {
  9572. case "DOMMouseScroll":
  9573. delta = event.detail;
  9574. break;
  9575. case "mousewheel":
  9576. delta = event.wheelDelta;
  9577. break;
  9578. case "wheel":
  9579. delta = event["deltaY"];
  9580. break;
  9581. default:
  9582. throw "unrecognized mouse wheel event: " + event.type;
  9583. }
  9584. return delta;
  9585. }),
  9586. mouseX: 0,
  9587. mouseY: 0,
  9588. mouseMovementX: 0,
  9589. mouseMovementY: 0,
  9590. touches: {},
  9591. lastTouches: {},
  9592. calculateMouseEvent: (function(event) {
  9593. if (Browser.pointerLock) {
  9594. if (event.type != "mousemove" && "mozMovementX" in event) {
  9595. Browser.mouseMovementX = Browser.mouseMovementY = 0;
  9596. } else {
  9597. Browser.mouseMovementX = Browser.getMovementX(event);
  9598. Browser.mouseMovementY = Browser.getMovementY(event);
  9599. }
  9600. if (typeof SDL != "undefined") {
  9601. Browser.mouseX = SDL.mouseX + Browser.mouseMovementX;
  9602. Browser.mouseY = SDL.mouseY + Browser.mouseMovementY;
  9603. } else {
  9604. Browser.mouseX += Browser.mouseMovementX;
  9605. Browser.mouseY += Browser.mouseMovementY;
  9606. }
  9607. } else {
  9608. var rect = Module["canvas"].getBoundingClientRect();
  9609. var cw = Module["canvas"].width;
  9610. var ch = Module["canvas"].height;
  9611. var scrollX = typeof window.scrollX !== "undefined" ? window.scrollX : window.pageXOffset;
  9612. var scrollY = typeof window.scrollY !== "undefined" ? window.scrollY : window.pageYOffset;
  9613. assert(typeof scrollX !== "undefined" && typeof scrollY !== "undefined", "Unable to retrieve scroll position, mouse positions likely broken.");
  9614. if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchmove") {
  9615. var touch = event.touch;
  9616. if (touch === undefined) {
  9617. return;
  9618. }
  9619. var adjustedX = touch.pageX - (scrollX + rect.left);
  9620. var adjustedY = touch.pageY - (scrollY + rect.top);
  9621. adjustedX = adjustedX * (cw / rect.width);
  9622. adjustedY = adjustedY * (ch / rect.height);
  9623. var coords = {
  9624. x: adjustedX,
  9625. y: adjustedY
  9626. };
  9627. if (event.type === "touchstart") {
  9628. Browser.lastTouches[touch.identifier] = coords;
  9629. Browser.touches[touch.identifier] = coords;
  9630. } else if (event.type === "touchend" || event.type === "touchmove") {
  9631. var last = Browser.touches[touch.identifier];
  9632. if (!last) last = coords;
  9633. Browser.lastTouches[touch.identifier] = last;
  9634. Browser.touches[touch.identifier] = coords;
  9635. }
  9636. return;
  9637. }
  9638. var x = event.pageX - (scrollX + rect.left);
  9639. var y = event.pageY - (scrollY + rect.top);
  9640. x = x * (cw / rect.width);
  9641. y = y * (ch / rect.height);
  9642. Browser.mouseMovementX = x - Browser.mouseX;
  9643. Browser.mouseMovementY = y - Browser.mouseY;
  9644. Browser.mouseX = x;
  9645. Browser.mouseY = y;
  9646. }
  9647. }),
  9648. asyncLoad: (function(url, onload, onerror, noRunDep) {
  9649. var dep = !noRunDep ? getUniqueRunDependency("al " + url) : "";
  9650. Module["readAsync"](url, (function(arrayBuffer) {
  9651. assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
  9652. onload(new Uint8Array(arrayBuffer));
  9653. if (dep) removeRunDependency(dep);
  9654. }), (function(event) {
  9655. if (onerror) {
  9656. onerror();
  9657. } else {
  9658. throw 'Loading data file "' + url + '" failed.';
  9659. }
  9660. }));
  9661. if (dep) addRunDependency(dep);
  9662. }),
  9663. resizeListeners: [],
  9664. updateResizeListeners: (function() {
  9665. var canvas = Module["canvas"];
  9666. Browser.resizeListeners.forEach((function(listener) {
  9667. listener(canvas.width, canvas.height);
  9668. }));
  9669. }),
  9670. setCanvasSize: (function(width, height, noUpdates) {
  9671. var canvas = Module["canvas"];
  9672. Browser.updateCanvasDimensions(canvas, width, height);
  9673. if (!noUpdates) Browser.updateResizeListeners();
  9674. }),
  9675. windowedWidth: 0,
  9676. windowedHeight: 0,
  9677. setFullscreenCanvasSize: (function() {
  9678. if (typeof SDL != "undefined") {
  9679. var flags = HEAPU32[SDL.screen >> 2];
  9680. flags = flags | 8388608;
  9681. HEAP32[SDL.screen >> 2] = flags;
  9682. }
  9683. Browser.updateCanvasDimensions(Module["canvas"]);
  9684. Browser.updateResizeListeners();
  9685. }),
  9686. setWindowedCanvasSize: (function() {
  9687. if (typeof SDL != "undefined") {
  9688. var flags = HEAPU32[SDL.screen >> 2];
  9689. flags = flags & ~8388608;
  9690. HEAP32[SDL.screen >> 2] = flags;
  9691. }
  9692. Browser.updateCanvasDimensions(Module["canvas"]);
  9693. Browser.updateResizeListeners();
  9694. }),
  9695. updateCanvasDimensions: (function(canvas, wNative, hNative) {
  9696. if (wNative && hNative) {
  9697. canvas.widthNative = wNative;
  9698. canvas.heightNative = hNative;
  9699. } else {
  9700. wNative = canvas.widthNative;
  9701. hNative = canvas.heightNative;
  9702. }
  9703. var w = wNative;
  9704. var h = hNative;
  9705. if (Module["forcedAspectRatio"] && Module["forcedAspectRatio"] > 0) {
  9706. if (w / h < Module["forcedAspectRatio"]) {
  9707. w = Math.round(h * Module["forcedAspectRatio"]);
  9708. } else {
  9709. h = Math.round(w / Module["forcedAspectRatio"]);
  9710. }
  9711. }
  9712. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvas.parentNode && typeof screen != "undefined") {
  9713. var factor = Math.min(screen.width / w, screen.height / h);
  9714. w = Math.round(w * factor);
  9715. h = Math.round(h * factor);
  9716. }
  9717. if (Browser.resizeCanvas) {
  9718. if (canvas.width != w) canvas.width = w;
  9719. if (canvas.height != h) canvas.height = h;
  9720. if (typeof canvas.style != "undefined") {
  9721. canvas.style.removeProperty("width");
  9722. canvas.style.removeProperty("height");
  9723. }
  9724. } else {
  9725. if (canvas.width != wNative) canvas.width = wNative;
  9726. if (canvas.height != hNative) canvas.height = hNative;
  9727. if (typeof canvas.style != "undefined") {
  9728. if (w != wNative || h != hNative) {
  9729. canvas.style.setProperty("width", w + "px", "important");
  9730. canvas.style.setProperty("height", h + "px", "important");
  9731. } else {
  9732. canvas.style.removeProperty("width");
  9733. canvas.style.removeProperty("height");
  9734. }
  9735. }
  9736. }
  9737. }),
  9738. wgetRequests: {},
  9739. nextWgetRequestHandle: 0,
  9740. getNextWgetRequestHandle: (function() {
  9741. var handle = Browser.nextWgetRequestHandle;
  9742. Browser.nextWgetRequestHandle++;
  9743. return handle;
  9744. })
  9745. };
  9746. function _emscripten_cancel_main_loop() {
  9747. Browser.mainLoop.pause();
  9748. Browser.mainLoop.func = null;
  9749. }
  9750. function _emscripten_set_canvas_element_size(target, width, height) {
  9751. var canvas = JSEvents.findCanvasEventTarget(target);
  9752. if (!canvas) return -4;
  9753. canvas.width = width;
  9754. canvas.height = height;
  9755. return 0;
  9756. }
  9757. function emscripten_set_canvas_element_size_js(target, width, height) {
  9758. if (typeof target === "string") {
  9759. var stackTop = stackSave();
  9760. var targetInt = stackAlloc(target.length + 1);
  9761. stringToUTF8(target, targetInt, target.length + 1);
  9762. var ret = _emscripten_set_canvas_element_size(targetInt, width, height);
  9763. stackRestore(stackTop);
  9764. return ret;
  9765. } else {
  9766. return _emscripten_set_canvas_element_size(target, width, height);
  9767. }
  9768. }
  9769. function _emscripten_get_canvas_element_size_calling_thread(target, width, height) {
  9770. var canvas = JSEvents.findCanvasEventTarget(target);
  9771. if (!canvas) return -4;
  9772. if (canvas.canvasSharedPtr) {
  9773. var w = HEAP32[canvas.canvasSharedPtr >> 2];
  9774. var h = HEAP32[canvas.canvasSharedPtr + 4 >> 2];
  9775. HEAP32[width >> 2] = w;
  9776. HEAP32[height >> 2] = h;
  9777. } else if (canvas.offscreenCanvas) {
  9778. HEAP32[width >> 2] = canvas.offscreenCanvas.width;
  9779. HEAP32[height >> 2] = canvas.offscreenCanvas.height;
  9780. } else if (!canvas.controlTransferredOffscreen) {
  9781. HEAP32[width >> 2] = canvas.width;
  9782. HEAP32[height >> 2] = canvas.height;
  9783. } else {
  9784. return -4;
  9785. }
  9786. return 0;
  9787. }
  9788. function _emscripten_get_canvas_element_size_main_thread(target, width, height) {
  9789. return _emscripten_get_canvas_element_size_calling_thread(target, width, height);
  9790. }
  9791. function _emscripten_get_canvas_element_size(target, width, height) {
  9792. var canvas = JSEvents.findCanvasEventTarget(target);
  9793. 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);
  9794. }
  9795. function emscripten_get_canvas_element_size_js(target) {
  9796. var stackTop = stackSave();
  9797. var w = stackAlloc(8);
  9798. var h = w + 4;
  9799. if (typeof target === "string") {
  9800. var targetInt = stackAlloc(target.length + 1);
  9801. stringToUTF8(target, targetInt, target.length + 1);
  9802. target = targetInt;
  9803. }
  9804. var ret = _emscripten_get_canvas_element_size(target, w, h);
  9805. var size = [ HEAP32[w >> 2], HEAP32[h >> 2] ];
  9806. stackRestore(stackTop);
  9807. return size;
  9808. }
  9809. var JSEvents = {
  9810. keyEvent: 0,
  9811. mouseEvent: 0,
  9812. wheelEvent: 0,
  9813. uiEvent: 0,
  9814. focusEvent: 0,
  9815. deviceOrientationEvent: 0,
  9816. deviceMotionEvent: 0,
  9817. fullscreenChangeEvent: 0,
  9818. pointerlockChangeEvent: 0,
  9819. visibilityChangeEvent: 0,
  9820. touchEvent: 0,
  9821. lastGamepadState: null,
  9822. lastGamepadStateFrame: null,
  9823. numGamepadsConnected: 0,
  9824. previousFullscreenElement: null,
  9825. previousScreenX: null,
  9826. previousScreenY: null,
  9827. removeEventListenersRegistered: false,
  9828. _onGamepadConnected: (function() {
  9829. ++JSEvents.numGamepadsConnected;
  9830. }),
  9831. _onGamepadDisconnected: (function() {
  9832. --JSEvents.numGamepadsConnected;
  9833. }),
  9834. staticInit: (function() {
  9835. if (typeof window !== "undefined") {
  9836. window.addEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9837. window.addEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9838. var firstState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads() : null;
  9839. if (firstState) {
  9840. JSEvents.numGamepadsConnected = firstState.length;
  9841. }
  9842. }
  9843. }),
  9844. removeAllEventListeners: (function() {
  9845. for (var i = JSEvents.eventHandlers.length - 1; i >= 0; --i) {
  9846. JSEvents._removeHandler(i);
  9847. }
  9848. JSEvents.eventHandlers = [];
  9849. JSEvents.deferredCalls = [];
  9850. window.removeEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9851. window.removeEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9852. }),
  9853. registerRemoveEventListeners: (function() {
  9854. if (!JSEvents.removeEventListenersRegistered) {
  9855. __ATEXIT__.push(JSEvents.removeAllEventListeners);
  9856. JSEvents.removeEventListenersRegistered = true;
  9857. }
  9858. }),
  9859. findEventTarget: (function(target) {
  9860. try {
  9861. if (!target) return window;
  9862. if (typeof target === "number") target = Pointer_stringify(target);
  9863. 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"];
  9864. return typeof target === "string" ? document.getElementById(target) : target;
  9865. } catch (e) {
  9866. return null;
  9867. }
  9868. }),
  9869. findCanvasEventTarget: (function(target) {
  9870. if (typeof target === "number") target = Pointer_stringify(target);
  9871. if (!target || target === "#canvas") {
  9872. if (typeof GL !== "undefined" && GL.offscreenCanvases["canvas"]) return GL.offscreenCanvases["canvas"];
  9873. return Module["canvas"];
  9874. }
  9875. if (typeof GL !== "undefined" && GL.offscreenCanvases[target]) return GL.offscreenCanvases[target];
  9876. return JSEvents.findEventTarget(target);
  9877. }),
  9878. deferredCalls: [],
  9879. deferCall: (function(targetFunction, precedence, argsList) {
  9880. function arraysHaveEqualContent(arrA, arrB) {
  9881. if (arrA.length != arrB.length) return false;
  9882. for (var i in arrA) {
  9883. if (arrA[i] != arrB[i]) return false;
  9884. }
  9885. return true;
  9886. }
  9887. for (var i in JSEvents.deferredCalls) {
  9888. var call = JSEvents.deferredCalls[i];
  9889. if (call.targetFunction == targetFunction && arraysHaveEqualContent(call.argsList, argsList)) {
  9890. return;
  9891. }
  9892. }
  9893. JSEvents.deferredCalls.push({
  9894. targetFunction: targetFunction,
  9895. precedence: precedence,
  9896. argsList: argsList
  9897. });
  9898. JSEvents.deferredCalls.sort((function(x, y) {
  9899. return x.precedence < y.precedence;
  9900. }));
  9901. }),
  9902. removeDeferredCalls: (function(targetFunction) {
  9903. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  9904. if (JSEvents.deferredCalls[i].targetFunction == targetFunction) {
  9905. JSEvents.deferredCalls.splice(i, 1);
  9906. --i;
  9907. }
  9908. }
  9909. }),
  9910. canPerformEventHandlerRequests: (function() {
  9911. return JSEvents.inEventHandler && JSEvents.currentEventHandler.allowsDeferredCalls;
  9912. }),
  9913. runDeferredCalls: (function() {
  9914. if (!JSEvents.canPerformEventHandlerRequests()) {
  9915. return;
  9916. }
  9917. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  9918. var call = JSEvents.deferredCalls[i];
  9919. JSEvents.deferredCalls.splice(i, 1);
  9920. --i;
  9921. call.targetFunction.apply(this, call.argsList);
  9922. }
  9923. }),
  9924. inEventHandler: 0,
  9925. currentEventHandler: null,
  9926. eventHandlers: [],
  9927. isInternetExplorer: (function() {
  9928. return navigator.userAgent.indexOf("MSIE") !== -1 || navigator.appVersion.indexOf("Trident/") > 0;
  9929. }),
  9930. removeAllHandlersOnTarget: (function(target, eventTypeString) {
  9931. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  9932. if (JSEvents.eventHandlers[i].target == target && (!eventTypeString || eventTypeString == JSEvents.eventHandlers[i].eventTypeString)) {
  9933. JSEvents._removeHandler(i--);
  9934. }
  9935. }
  9936. }),
  9937. _removeHandler: (function(i) {
  9938. var h = JSEvents.eventHandlers[i];
  9939. h.target.removeEventListener(h.eventTypeString, h.eventListenerFunc, h.useCapture);
  9940. JSEvents.eventHandlers.splice(i, 1);
  9941. }),
  9942. registerOrRemoveHandler: (function(eventHandler) {
  9943. var jsEventHandler = function jsEventHandler(event) {
  9944. ++JSEvents.inEventHandler;
  9945. JSEvents.currentEventHandler = eventHandler;
  9946. JSEvents.runDeferredCalls();
  9947. eventHandler.handlerFunc(event);
  9948. JSEvents.runDeferredCalls();
  9949. --JSEvents.inEventHandler;
  9950. };
  9951. if (eventHandler.callbackfunc) {
  9952. eventHandler.eventListenerFunc = jsEventHandler;
  9953. eventHandler.target.addEventListener(eventHandler.eventTypeString, jsEventHandler, eventHandler.useCapture);
  9954. JSEvents.eventHandlers.push(eventHandler);
  9955. JSEvents.registerRemoveEventListeners();
  9956. } else {
  9957. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  9958. if (JSEvents.eventHandlers[i].target == eventHandler.target && JSEvents.eventHandlers[i].eventTypeString == eventHandler.eventTypeString) {
  9959. JSEvents._removeHandler(i--);
  9960. }
  9961. }
  9962. }
  9963. }),
  9964. registerKeyEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  9965. if (!JSEvents.keyEvent) JSEvents.keyEvent = _malloc(164);
  9966. var keyEventHandlerFunc = (function(event) {
  9967. var e = event || window.event;
  9968. var keyEventData = JSEvents.keyEvent;
  9969. stringToUTF8(e.key ? e.key : "", keyEventData + 0, 32);
  9970. stringToUTF8(e.code ? e.code : "", keyEventData + 32, 32);
  9971. HEAP32[keyEventData + 64 >> 2] = e.location;
  9972. HEAP32[keyEventData + 68 >> 2] = e.ctrlKey;
  9973. HEAP32[keyEventData + 72 >> 2] = e.shiftKey;
  9974. HEAP32[keyEventData + 76 >> 2] = e.altKey;
  9975. HEAP32[keyEventData + 80 >> 2] = e.metaKey;
  9976. HEAP32[keyEventData + 84 >> 2] = e.repeat;
  9977. stringToUTF8(e.locale ? e.locale : "", keyEventData + 88, 32);
  9978. stringToUTF8(e.char ? e.char : "", keyEventData + 120, 32);
  9979. HEAP32[keyEventData + 152 >> 2] = e.charCode;
  9980. HEAP32[keyEventData + 156 >> 2] = e.keyCode;
  9981. HEAP32[keyEventData + 160 >> 2] = e.which;
  9982. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, keyEventData, userData)) e.preventDefault();
  9983. });
  9984. var eventHandler = {
  9985. target: JSEvents.findEventTarget(target),
  9986. allowsDeferredCalls: JSEvents.isInternetExplorer() ? false : true,
  9987. eventTypeString: eventTypeString,
  9988. callbackfunc: callbackfunc,
  9989. handlerFunc: keyEventHandlerFunc,
  9990. useCapture: useCapture
  9991. };
  9992. JSEvents.registerOrRemoveHandler(eventHandler);
  9993. }),
  9994. getBoundingClientRectOrZeros: (function(target) {
  9995. return target.getBoundingClientRect ? target.getBoundingClientRect() : {
  9996. left: 0,
  9997. top: 0
  9998. };
  9999. }),
  10000. fillMouseEventData: (function(eventStruct, e, target) {
  10001. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10002. HEAP32[eventStruct + 8 >> 2] = e.screenX;
  10003. HEAP32[eventStruct + 12 >> 2] = e.screenY;
  10004. HEAP32[eventStruct + 16 >> 2] = e.clientX;
  10005. HEAP32[eventStruct + 20 >> 2] = e.clientY;
  10006. HEAP32[eventStruct + 24 >> 2] = e.ctrlKey;
  10007. HEAP32[eventStruct + 28 >> 2] = e.shiftKey;
  10008. HEAP32[eventStruct + 32 >> 2] = e.altKey;
  10009. HEAP32[eventStruct + 36 >> 2] = e.metaKey;
  10010. HEAP16[eventStruct + 40 >> 1] = e.button;
  10011. HEAP16[eventStruct + 42 >> 1] = e.buttons;
  10012. HEAP32[eventStruct + 44 >> 2] = e["movementX"];
  10013. HEAP32[eventStruct + 48 >> 2] = e["movementY"];
  10014. if (Module["canvas"]) {
  10015. var rect = Module["canvas"].getBoundingClientRect();
  10016. HEAP32[eventStruct + 60 >> 2] = e.clientX - rect.left;
  10017. HEAP32[eventStruct + 64 >> 2] = e.clientY - rect.top;
  10018. } else {
  10019. HEAP32[eventStruct + 60 >> 2] = 0;
  10020. HEAP32[eventStruct + 64 >> 2] = 0;
  10021. }
  10022. if (target) {
  10023. var rect = JSEvents.getBoundingClientRectOrZeros(target);
  10024. HEAP32[eventStruct + 52 >> 2] = e.clientX - rect.left;
  10025. HEAP32[eventStruct + 56 >> 2] = e.clientY - rect.top;
  10026. } else {
  10027. HEAP32[eventStruct + 52 >> 2] = 0;
  10028. HEAP32[eventStruct + 56 >> 2] = 0;
  10029. }
  10030. if (e.type !== "wheel" && e.type !== "mousewheel") {
  10031. JSEvents.previousScreenX = e.screenX;
  10032. JSEvents.previousScreenY = e.screenY;
  10033. }
  10034. }),
  10035. registerMouseEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10036. if (!JSEvents.mouseEvent) JSEvents.mouseEvent = _malloc(72);
  10037. target = JSEvents.findEventTarget(target);
  10038. var mouseEventHandlerFunc = (function(event) {
  10039. var e = event || window.event;
  10040. JSEvents.fillMouseEventData(JSEvents.mouseEvent, e, target);
  10041. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.mouseEvent, userData)) e.preventDefault();
  10042. });
  10043. var eventHandler = {
  10044. target: target,
  10045. allowsDeferredCalls: eventTypeString != "mousemove" && eventTypeString != "mouseenter" && eventTypeString != "mouseleave",
  10046. eventTypeString: eventTypeString,
  10047. callbackfunc: callbackfunc,
  10048. handlerFunc: mouseEventHandlerFunc,
  10049. useCapture: useCapture
  10050. };
  10051. if (JSEvents.isInternetExplorer() && eventTypeString == "mousedown") eventHandler.allowsDeferredCalls = false;
  10052. JSEvents.registerOrRemoveHandler(eventHandler);
  10053. }),
  10054. registerWheelEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10055. if (!JSEvents.wheelEvent) JSEvents.wheelEvent = _malloc(104);
  10056. target = JSEvents.findEventTarget(target);
  10057. var wheelHandlerFunc = (function(event) {
  10058. var e = event || window.event;
  10059. var wheelEvent = JSEvents.wheelEvent;
  10060. JSEvents.fillMouseEventData(wheelEvent, e, target);
  10061. HEAPF64[wheelEvent + 72 >> 3] = e["deltaX"];
  10062. HEAPF64[wheelEvent + 80 >> 3] = e["deltaY"];
  10063. HEAPF64[wheelEvent + 88 >> 3] = e["deltaZ"];
  10064. HEAP32[wheelEvent + 96 >> 2] = e["deltaMode"];
  10065. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, wheelEvent, userData)) e.preventDefault();
  10066. });
  10067. var mouseWheelHandlerFunc = (function(event) {
  10068. var e = event || window.event;
  10069. JSEvents.fillMouseEventData(JSEvents.wheelEvent, e, target);
  10070. HEAPF64[JSEvents.wheelEvent + 72 >> 3] = e["wheelDeltaX"] || 0;
  10071. HEAPF64[JSEvents.wheelEvent + 80 >> 3] = -(e["wheelDeltaY"] ? e["wheelDeltaY"] : e["wheelDelta"]);
  10072. HEAPF64[JSEvents.wheelEvent + 88 >> 3] = 0;
  10073. HEAP32[JSEvents.wheelEvent + 96 >> 2] = 0;
  10074. var shouldCancel = Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.wheelEvent, userData);
  10075. if (shouldCancel) {
  10076. e.preventDefault();
  10077. }
  10078. });
  10079. var eventHandler = {
  10080. target: target,
  10081. allowsDeferredCalls: true,
  10082. eventTypeString: eventTypeString,
  10083. callbackfunc: callbackfunc,
  10084. handlerFunc: eventTypeString == "wheel" ? wheelHandlerFunc : mouseWheelHandlerFunc,
  10085. useCapture: useCapture
  10086. };
  10087. JSEvents.registerOrRemoveHandler(eventHandler);
  10088. }),
  10089. pageScrollPos: (function() {
  10090. if (window.pageXOffset > 0 || window.pageYOffset > 0) {
  10091. return [ window.pageXOffset, window.pageYOffset ];
  10092. }
  10093. if (typeof document.documentElement.scrollLeft !== "undefined" || typeof document.documentElement.scrollTop !== "undefined") {
  10094. return [ document.documentElement.scrollLeft, document.documentElement.scrollTop ];
  10095. }
  10096. return [ document.body.scrollLeft | 0, document.body.scrollTop | 0 ];
  10097. }),
  10098. registerUiEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10099. if (!JSEvents.uiEvent) JSEvents.uiEvent = _malloc(36);
  10100. if (eventTypeString == "scroll" && !target) {
  10101. target = document;
  10102. } else {
  10103. target = JSEvents.findEventTarget(target);
  10104. }
  10105. var uiEventHandlerFunc = (function(event) {
  10106. var e = event || window.event;
  10107. if (e.target != target) {
  10108. return;
  10109. }
  10110. var scrollPos = JSEvents.pageScrollPos();
  10111. var uiEvent = JSEvents.uiEvent;
  10112. HEAP32[uiEvent >> 2] = e.detail;
  10113. HEAP32[uiEvent + 4 >> 2] = document.body.clientWidth;
  10114. HEAP32[uiEvent + 8 >> 2] = document.body.clientHeight;
  10115. HEAP32[uiEvent + 12 >> 2] = window.innerWidth;
  10116. HEAP32[uiEvent + 16 >> 2] = window.innerHeight;
  10117. HEAP32[uiEvent + 20 >> 2] = window.outerWidth;
  10118. HEAP32[uiEvent + 24 >> 2] = window.outerHeight;
  10119. HEAP32[uiEvent + 28 >> 2] = scrollPos[0];
  10120. HEAP32[uiEvent + 32 >> 2] = scrollPos[1];
  10121. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, uiEvent, userData)) e.preventDefault();
  10122. });
  10123. var eventHandler = {
  10124. target: target,
  10125. allowsDeferredCalls: false,
  10126. eventTypeString: eventTypeString,
  10127. callbackfunc: callbackfunc,
  10128. handlerFunc: uiEventHandlerFunc,
  10129. useCapture: useCapture
  10130. };
  10131. JSEvents.registerOrRemoveHandler(eventHandler);
  10132. }),
  10133. getNodeNameForTarget: (function(target) {
  10134. if (!target) return "";
  10135. if (target == window) return "#window";
  10136. if (target == window.screen) return "#screen";
  10137. return target && target.nodeName ? target.nodeName : "";
  10138. }),
  10139. registerFocusEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10140. if (!JSEvents.focusEvent) JSEvents.focusEvent = _malloc(256);
  10141. var focusEventHandlerFunc = (function(event) {
  10142. var e = event || window.event;
  10143. var nodeName = JSEvents.getNodeNameForTarget(e.target);
  10144. var id = e.target.id ? e.target.id : "";
  10145. var focusEvent = JSEvents.focusEvent;
  10146. stringToUTF8(nodeName, focusEvent + 0, 128);
  10147. stringToUTF8(id, focusEvent + 128, 128);
  10148. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, focusEvent, userData)) e.preventDefault();
  10149. });
  10150. var eventHandler = {
  10151. target: JSEvents.findEventTarget(target),
  10152. allowsDeferredCalls: false,
  10153. eventTypeString: eventTypeString,
  10154. callbackfunc: callbackfunc,
  10155. handlerFunc: focusEventHandlerFunc,
  10156. useCapture: useCapture
  10157. };
  10158. JSEvents.registerOrRemoveHandler(eventHandler);
  10159. }),
  10160. tick: (function() {
  10161. if (window["performance"] && window["performance"]["now"]) return window["performance"]["now"](); else return Date.now();
  10162. }),
  10163. fillDeviceOrientationEventData: (function(eventStruct, e, target) {
  10164. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10165. HEAPF64[eventStruct + 8 >> 3] = e.alpha;
  10166. HEAPF64[eventStruct + 16 >> 3] = e.beta;
  10167. HEAPF64[eventStruct + 24 >> 3] = e.gamma;
  10168. HEAP32[eventStruct + 32 >> 2] = e.absolute;
  10169. }),
  10170. registerDeviceOrientationEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10171. if (!JSEvents.deviceOrientationEvent) JSEvents.deviceOrientationEvent = _malloc(40);
  10172. var deviceOrientationEventHandlerFunc = (function(event) {
  10173. var e = event || window.event;
  10174. JSEvents.fillDeviceOrientationEventData(JSEvents.deviceOrientationEvent, e, target);
  10175. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceOrientationEvent, userData)) e.preventDefault();
  10176. });
  10177. var eventHandler = {
  10178. target: JSEvents.findEventTarget(target),
  10179. allowsDeferredCalls: false,
  10180. eventTypeString: eventTypeString,
  10181. callbackfunc: callbackfunc,
  10182. handlerFunc: deviceOrientationEventHandlerFunc,
  10183. useCapture: useCapture
  10184. };
  10185. JSEvents.registerOrRemoveHandler(eventHandler);
  10186. }),
  10187. fillDeviceMotionEventData: (function(eventStruct, e, target) {
  10188. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10189. HEAPF64[eventStruct + 8 >> 3] = e.acceleration.x;
  10190. HEAPF64[eventStruct + 16 >> 3] = e.acceleration.y;
  10191. HEAPF64[eventStruct + 24 >> 3] = e.acceleration.z;
  10192. HEAPF64[eventStruct + 32 >> 3] = e.accelerationIncludingGravity.x;
  10193. HEAPF64[eventStruct + 40 >> 3] = e.accelerationIncludingGravity.y;
  10194. HEAPF64[eventStruct + 48 >> 3] = e.accelerationIncludingGravity.z;
  10195. HEAPF64[eventStruct + 56 >> 3] = e.rotationRate.alpha;
  10196. HEAPF64[eventStruct + 64 >> 3] = e.rotationRate.beta;
  10197. HEAPF64[eventStruct + 72 >> 3] = e.rotationRate.gamma;
  10198. }),
  10199. registerDeviceMotionEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10200. if (!JSEvents.deviceMotionEvent) JSEvents.deviceMotionEvent = _malloc(80);
  10201. var deviceMotionEventHandlerFunc = (function(event) {
  10202. var e = event || window.event;
  10203. JSEvents.fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target);
  10204. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceMotionEvent, userData)) e.preventDefault();
  10205. });
  10206. var eventHandler = {
  10207. target: JSEvents.findEventTarget(target),
  10208. allowsDeferredCalls: false,
  10209. eventTypeString: eventTypeString,
  10210. callbackfunc: callbackfunc,
  10211. handlerFunc: deviceMotionEventHandlerFunc,
  10212. useCapture: useCapture
  10213. };
  10214. JSEvents.registerOrRemoveHandler(eventHandler);
  10215. }),
  10216. screenOrientation: (function() {
  10217. if (!window.screen) return undefined;
  10218. return window.screen.orientation || window.screen.mozOrientation || window.screen.webkitOrientation || window.screen.msOrientation;
  10219. }),
  10220. fillOrientationChangeEventData: (function(eventStruct, e) {
  10221. var orientations = [ "portrait-primary", "portrait-secondary", "landscape-primary", "landscape-secondary" ];
  10222. var orientations2 = [ "portrait", "portrait", "landscape", "landscape" ];
  10223. var orientationString = JSEvents.screenOrientation();
  10224. var orientation = orientations.indexOf(orientationString);
  10225. if (orientation == -1) {
  10226. orientation = orientations2.indexOf(orientationString);
  10227. }
  10228. HEAP32[eventStruct >> 2] = 1 << orientation;
  10229. HEAP32[eventStruct + 4 >> 2] = window.orientation;
  10230. }),
  10231. registerOrientationChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10232. if (!JSEvents.orientationChangeEvent) JSEvents.orientationChangeEvent = _malloc(8);
  10233. if (!target) {
  10234. target = window.screen;
  10235. } else {
  10236. target = JSEvents.findEventTarget(target);
  10237. }
  10238. var orientationChangeEventHandlerFunc = (function(event) {
  10239. var e = event || window.event;
  10240. var orientationChangeEvent = JSEvents.orientationChangeEvent;
  10241. JSEvents.fillOrientationChangeEventData(orientationChangeEvent, e);
  10242. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, orientationChangeEvent, userData)) e.preventDefault();
  10243. });
  10244. if (eventTypeString == "orientationchange" && window.screen.mozOrientation !== undefined) {
  10245. eventTypeString = "mozorientationchange";
  10246. }
  10247. var eventHandler = {
  10248. target: target,
  10249. allowsDeferredCalls: false,
  10250. eventTypeString: eventTypeString,
  10251. callbackfunc: callbackfunc,
  10252. handlerFunc: orientationChangeEventHandlerFunc,
  10253. useCapture: useCapture
  10254. };
  10255. JSEvents.registerOrRemoveHandler(eventHandler);
  10256. }),
  10257. fullscreenEnabled: (function() {
  10258. return document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled || document.msFullscreenEnabled;
  10259. }),
  10260. fillFullscreenChangeEventData: (function(eventStruct, e) {
  10261. var fullscreenElement = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement;
  10262. var isFullscreen = !!fullscreenElement;
  10263. HEAP32[eventStruct >> 2] = isFullscreen;
  10264. HEAP32[eventStruct + 4 >> 2] = JSEvents.fullscreenEnabled();
  10265. var reportedElement = isFullscreen ? fullscreenElement : JSEvents.previousFullscreenElement;
  10266. var nodeName = JSEvents.getNodeNameForTarget(reportedElement);
  10267. var id = reportedElement && reportedElement.id ? reportedElement.id : "";
  10268. stringToUTF8(nodeName, eventStruct + 8, 128);
  10269. stringToUTF8(id, eventStruct + 136, 128);
  10270. HEAP32[eventStruct + 264 >> 2] = reportedElement ? reportedElement.clientWidth : 0;
  10271. HEAP32[eventStruct + 268 >> 2] = reportedElement ? reportedElement.clientHeight : 0;
  10272. HEAP32[eventStruct + 272 >> 2] = screen.width;
  10273. HEAP32[eventStruct + 276 >> 2] = screen.height;
  10274. if (isFullscreen) {
  10275. JSEvents.previousFullscreenElement = fullscreenElement;
  10276. }
  10277. }),
  10278. registerFullscreenChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10279. if (!JSEvents.fullscreenChangeEvent) JSEvents.fullscreenChangeEvent = _malloc(280);
  10280. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10281. var fullscreenChangeEventhandlerFunc = (function(event) {
  10282. var e = event || window.event;
  10283. var fullscreenChangeEvent = JSEvents.fullscreenChangeEvent;
  10284. JSEvents.fillFullscreenChangeEventData(fullscreenChangeEvent, e);
  10285. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, fullscreenChangeEvent, userData)) e.preventDefault();
  10286. });
  10287. var eventHandler = {
  10288. target: target,
  10289. allowsDeferredCalls: false,
  10290. eventTypeString: eventTypeString,
  10291. callbackfunc: callbackfunc,
  10292. handlerFunc: fullscreenChangeEventhandlerFunc,
  10293. useCapture: useCapture
  10294. };
  10295. JSEvents.registerOrRemoveHandler(eventHandler);
  10296. }),
  10297. resizeCanvasForFullscreen: (function(target, strategy) {
  10298. var restoreOldStyle = __registerRestoreOldStyle(target);
  10299. var cssWidth = strategy.softFullscreen ? window.innerWidth : screen.width;
  10300. var cssHeight = strategy.softFullscreen ? window.innerHeight : screen.height;
  10301. var rect = target.getBoundingClientRect();
  10302. var windowedCssWidth = rect.right - rect.left;
  10303. var windowedCssHeight = rect.bottom - rect.top;
  10304. var canvasSize = emscripten_get_canvas_element_size_js(target.id);
  10305. var windowedRttWidth = canvasSize[0];
  10306. var windowedRttHeight = canvasSize[1];
  10307. if (strategy.scaleMode == 3) {
  10308. __setLetterbox(target, (cssHeight - windowedCssHeight) / 2, (cssWidth - windowedCssWidth) / 2);
  10309. cssWidth = windowedCssWidth;
  10310. cssHeight = windowedCssHeight;
  10311. } else if (strategy.scaleMode == 2) {
  10312. if (cssWidth * windowedRttHeight < windowedRttWidth * cssHeight) {
  10313. var desiredCssHeight = windowedRttHeight * cssWidth / windowedRttWidth;
  10314. __setLetterbox(target, (cssHeight - desiredCssHeight) / 2, 0);
  10315. cssHeight = desiredCssHeight;
  10316. } else {
  10317. var desiredCssWidth = windowedRttWidth * cssHeight / windowedRttHeight;
  10318. __setLetterbox(target, 0, (cssWidth - desiredCssWidth) / 2);
  10319. cssWidth = desiredCssWidth;
  10320. }
  10321. }
  10322. if (!target.style.backgroundColor) target.style.backgroundColor = "black";
  10323. if (!document.body.style.backgroundColor) document.body.style.backgroundColor = "black";
  10324. target.style.width = cssWidth + "px";
  10325. target.style.height = cssHeight + "px";
  10326. if (strategy.filteringMode == 1) {
  10327. target.style.imageRendering = "optimizeSpeed";
  10328. target.style.imageRendering = "-moz-crisp-edges";
  10329. target.style.imageRendering = "-o-crisp-edges";
  10330. target.style.imageRendering = "-webkit-optimize-contrast";
  10331. target.style.imageRendering = "optimize-contrast";
  10332. target.style.imageRendering = "crisp-edges";
  10333. target.style.imageRendering = "pixelated";
  10334. }
  10335. var dpiScale = strategy.canvasResolutionScaleMode == 2 ? window.devicePixelRatio : 1;
  10336. if (strategy.canvasResolutionScaleMode != 0) {
  10337. var newWidth = cssWidth * dpiScale | 0;
  10338. var newHeight = cssHeight * dpiScale | 0;
  10339. if (!target.controlTransferredOffscreen) {
  10340. target.width = newWidth;
  10341. target.height = newHeight;
  10342. } else {
  10343. emscripten_set_canvas_element_size_js(target.id, newWidth, newHeight);
  10344. }
  10345. if (target.GLctxObject) target.GLctxObject.GLctx.viewport(0, 0, newWidth, newHeight);
  10346. }
  10347. return restoreOldStyle;
  10348. }),
  10349. requestFullscreen: (function(target, strategy) {
  10350. if (strategy.scaleMode != 0 || strategy.canvasResolutionScaleMode != 0) {
  10351. JSEvents.resizeCanvasForFullscreen(target, strategy);
  10352. }
  10353. if (target.requestFullscreen) {
  10354. target.requestFullscreen();
  10355. } else if (target.msRequestFullscreen) {
  10356. target.msRequestFullscreen();
  10357. } else if (target.mozRequestFullScreen) {
  10358. target.mozRequestFullScreen();
  10359. } else if (target.mozRequestFullscreen) {
  10360. target.mozRequestFullscreen();
  10361. } else if (target.webkitRequestFullscreen) {
  10362. target.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
  10363. } else {
  10364. if (typeof JSEvents.fullscreenEnabled() === "undefined") {
  10365. return -1;
  10366. } else {
  10367. return -3;
  10368. }
  10369. }
  10370. if (strategy.canvasResizedCallback) {
  10371. Module["dynCall_iiii"](strategy.canvasResizedCallback, 37, 0, strategy.canvasResizedCallbackUserData);
  10372. }
  10373. return 0;
  10374. }),
  10375. fillPointerlockChangeEventData: (function(eventStruct, e) {
  10376. var pointerLockElement = document.pointerLockElement || document.mozPointerLockElement || document.webkitPointerLockElement || document.msPointerLockElement;
  10377. var isPointerlocked = !!pointerLockElement;
  10378. HEAP32[eventStruct >> 2] = isPointerlocked;
  10379. var nodeName = JSEvents.getNodeNameForTarget(pointerLockElement);
  10380. var id = pointerLockElement && pointerLockElement.id ? pointerLockElement.id : "";
  10381. stringToUTF8(nodeName, eventStruct + 4, 128);
  10382. stringToUTF8(id, eventStruct + 132, 128);
  10383. }),
  10384. registerPointerlockChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10385. if (!JSEvents.pointerlockChangeEvent) JSEvents.pointerlockChangeEvent = _malloc(260);
  10386. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10387. var pointerlockChangeEventHandlerFunc = (function(event) {
  10388. var e = event || window.event;
  10389. var pointerlockChangeEvent = JSEvents.pointerlockChangeEvent;
  10390. JSEvents.fillPointerlockChangeEventData(pointerlockChangeEvent, e);
  10391. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, pointerlockChangeEvent, userData)) e.preventDefault();
  10392. });
  10393. var eventHandler = {
  10394. target: target,
  10395. allowsDeferredCalls: false,
  10396. eventTypeString: eventTypeString,
  10397. callbackfunc: callbackfunc,
  10398. handlerFunc: pointerlockChangeEventHandlerFunc,
  10399. useCapture: useCapture
  10400. };
  10401. JSEvents.registerOrRemoveHandler(eventHandler);
  10402. }),
  10403. registerPointerlockErrorEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10404. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10405. var pointerlockErrorEventHandlerFunc = (function(event) {
  10406. var e = event || window.event;
  10407. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10408. });
  10409. var eventHandler = {
  10410. target: target,
  10411. allowsDeferredCalls: false,
  10412. eventTypeString: eventTypeString,
  10413. callbackfunc: callbackfunc,
  10414. handlerFunc: pointerlockErrorEventHandlerFunc,
  10415. useCapture: useCapture
  10416. };
  10417. JSEvents.registerOrRemoveHandler(eventHandler);
  10418. }),
  10419. requestPointerLock: (function(target) {
  10420. if (target.requestPointerLock) {
  10421. target.requestPointerLock();
  10422. } else if (target.mozRequestPointerLock) {
  10423. target.mozRequestPointerLock();
  10424. } else if (target.webkitRequestPointerLock) {
  10425. target.webkitRequestPointerLock();
  10426. } else if (target.msRequestPointerLock) {
  10427. target.msRequestPointerLock();
  10428. } else {
  10429. if (document.body.requestPointerLock || document.body.mozRequestPointerLock || document.body.webkitRequestPointerLock || document.body.msRequestPointerLock) {
  10430. return -3;
  10431. } else {
  10432. return -1;
  10433. }
  10434. }
  10435. return 0;
  10436. }),
  10437. fillVisibilityChangeEventData: (function(eventStruct, e) {
  10438. var visibilityStates = [ "hidden", "visible", "prerender", "unloaded" ];
  10439. var visibilityState = visibilityStates.indexOf(document.visibilityState);
  10440. HEAP32[eventStruct >> 2] = document.hidden;
  10441. HEAP32[eventStruct + 4 >> 2] = visibilityState;
  10442. }),
  10443. registerVisibilityChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10444. if (!JSEvents.visibilityChangeEvent) JSEvents.visibilityChangeEvent = _malloc(8);
  10445. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10446. var visibilityChangeEventHandlerFunc = (function(event) {
  10447. var e = event || window.event;
  10448. var visibilityChangeEvent = JSEvents.visibilityChangeEvent;
  10449. JSEvents.fillVisibilityChangeEventData(visibilityChangeEvent, e);
  10450. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, visibilityChangeEvent, userData)) e.preventDefault();
  10451. });
  10452. var eventHandler = {
  10453. target: target,
  10454. allowsDeferredCalls: false,
  10455. eventTypeString: eventTypeString,
  10456. callbackfunc: callbackfunc,
  10457. handlerFunc: visibilityChangeEventHandlerFunc,
  10458. useCapture: useCapture
  10459. };
  10460. JSEvents.registerOrRemoveHandler(eventHandler);
  10461. }),
  10462. registerTouchEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10463. if (!JSEvents.touchEvent) JSEvents.touchEvent = _malloc(1684);
  10464. target = JSEvents.findEventTarget(target);
  10465. var touchEventHandlerFunc = (function(event) {
  10466. var e = event || window.event;
  10467. var touches = {};
  10468. for (var i = 0; i < e.touches.length; ++i) {
  10469. var touch = e.touches[i];
  10470. touches[touch.identifier] = touch;
  10471. }
  10472. for (var i = 0; i < e.changedTouches.length; ++i) {
  10473. var touch = e.changedTouches[i];
  10474. touches[touch.identifier] = touch;
  10475. touch.changed = true;
  10476. }
  10477. for (var i = 0; i < e.targetTouches.length; ++i) {
  10478. var touch = e.targetTouches[i];
  10479. touches[touch.identifier].onTarget = true;
  10480. }
  10481. var touchEvent = JSEvents.touchEvent;
  10482. var ptr = touchEvent;
  10483. HEAP32[ptr + 4 >> 2] = e.ctrlKey;
  10484. HEAP32[ptr + 8 >> 2] = e.shiftKey;
  10485. HEAP32[ptr + 12 >> 2] = e.altKey;
  10486. HEAP32[ptr + 16 >> 2] = e.metaKey;
  10487. ptr += 20;
  10488. var canvasRect = Module["canvas"] ? Module["canvas"].getBoundingClientRect() : undefined;
  10489. var targetRect = JSEvents.getBoundingClientRectOrZeros(target);
  10490. var numTouches = 0;
  10491. for (var i in touches) {
  10492. var t = touches[i];
  10493. HEAP32[ptr >> 2] = t.identifier;
  10494. HEAP32[ptr + 4 >> 2] = t.screenX;
  10495. HEAP32[ptr + 8 >> 2] = t.screenY;
  10496. HEAP32[ptr + 12 >> 2] = t.clientX;
  10497. HEAP32[ptr + 16 >> 2] = t.clientY;
  10498. HEAP32[ptr + 20 >> 2] = t.pageX;
  10499. HEAP32[ptr + 24 >> 2] = t.pageY;
  10500. HEAP32[ptr + 28 >> 2] = t.changed;
  10501. HEAP32[ptr + 32 >> 2] = t.onTarget;
  10502. if (canvasRect) {
  10503. HEAP32[ptr + 44 >> 2] = t.clientX - canvasRect.left;
  10504. HEAP32[ptr + 48 >> 2] = t.clientY - canvasRect.top;
  10505. } else {
  10506. HEAP32[ptr + 44 >> 2] = 0;
  10507. HEAP32[ptr + 48 >> 2] = 0;
  10508. }
  10509. HEAP32[ptr + 36 >> 2] = t.clientX - targetRect.left;
  10510. HEAP32[ptr + 40 >> 2] = t.clientY - targetRect.top;
  10511. ptr += 52;
  10512. if (++numTouches >= 32) {
  10513. break;
  10514. }
  10515. }
  10516. HEAP32[touchEvent >> 2] = numTouches;
  10517. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, touchEvent, userData)) e.preventDefault();
  10518. });
  10519. var eventHandler = {
  10520. target: target,
  10521. allowsDeferredCalls: eventTypeString == "touchstart" || eventTypeString == "touchend",
  10522. eventTypeString: eventTypeString,
  10523. callbackfunc: callbackfunc,
  10524. handlerFunc: touchEventHandlerFunc,
  10525. useCapture: useCapture
  10526. };
  10527. JSEvents.registerOrRemoveHandler(eventHandler);
  10528. }),
  10529. fillGamepadEventData: (function(eventStruct, e) {
  10530. HEAPF64[eventStruct >> 3] = e.timestamp;
  10531. for (var i = 0; i < e.axes.length; ++i) {
  10532. HEAPF64[eventStruct + i * 8 + 16 >> 3] = e.axes[i];
  10533. }
  10534. for (var i = 0; i < e.buttons.length; ++i) {
  10535. if (typeof e.buttons[i] === "object") {
  10536. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i].value;
  10537. } else {
  10538. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i];
  10539. }
  10540. }
  10541. for (var i = 0; i < e.buttons.length; ++i) {
  10542. if (typeof e.buttons[i] === "object") {
  10543. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i].pressed;
  10544. } else {
  10545. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i] == 1;
  10546. }
  10547. }
  10548. HEAP32[eventStruct + 1296 >> 2] = e.connected;
  10549. HEAP32[eventStruct + 1300 >> 2] = e.index;
  10550. HEAP32[eventStruct + 8 >> 2] = e.axes.length;
  10551. HEAP32[eventStruct + 12 >> 2] = e.buttons.length;
  10552. stringToUTF8(e.id, eventStruct + 1304, 64);
  10553. stringToUTF8(e.mapping, eventStruct + 1368, 64);
  10554. }),
  10555. registerGamepadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10556. if (!JSEvents.gamepadEvent) JSEvents.gamepadEvent = _malloc(1432);
  10557. var gamepadEventHandlerFunc = (function(event) {
  10558. var e = event || window.event;
  10559. var gamepadEvent = JSEvents.gamepadEvent;
  10560. JSEvents.fillGamepadEventData(gamepadEvent, e.gamepad);
  10561. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, gamepadEvent, userData)) e.preventDefault();
  10562. });
  10563. var eventHandler = {
  10564. target: JSEvents.findEventTarget(target),
  10565. allowsDeferredCalls: true,
  10566. eventTypeString: eventTypeString,
  10567. callbackfunc: callbackfunc,
  10568. handlerFunc: gamepadEventHandlerFunc,
  10569. useCapture: useCapture
  10570. };
  10571. JSEvents.registerOrRemoveHandler(eventHandler);
  10572. }),
  10573. registerBeforeUnloadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10574. var beforeUnloadEventHandlerFunc = (function(event) {
  10575. var e = event || window.event;
  10576. var confirmationMessage = Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData);
  10577. if (confirmationMessage) {
  10578. confirmationMessage = Pointer_stringify(confirmationMessage);
  10579. }
  10580. if (confirmationMessage) {
  10581. e.preventDefault();
  10582. e.returnValue = confirmationMessage;
  10583. return confirmationMessage;
  10584. }
  10585. });
  10586. var eventHandler = {
  10587. target: JSEvents.findEventTarget(target),
  10588. allowsDeferredCalls: false,
  10589. eventTypeString: eventTypeString,
  10590. callbackfunc: callbackfunc,
  10591. handlerFunc: beforeUnloadEventHandlerFunc,
  10592. useCapture: useCapture
  10593. };
  10594. JSEvents.registerOrRemoveHandler(eventHandler);
  10595. }),
  10596. battery: (function() {
  10597. return navigator.battery || navigator.mozBattery || navigator.webkitBattery;
  10598. }),
  10599. fillBatteryEventData: (function(eventStruct, e) {
  10600. HEAPF64[eventStruct >> 3] = e.chargingTime;
  10601. HEAPF64[eventStruct + 8 >> 3] = e.dischargingTime;
  10602. HEAPF64[eventStruct + 16 >> 3] = e.level;
  10603. HEAP32[eventStruct + 24 >> 2] = e.charging;
  10604. }),
  10605. registerBatteryEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10606. if (!JSEvents.batteryEvent) JSEvents.batteryEvent = _malloc(32);
  10607. var batteryEventHandlerFunc = (function(event) {
  10608. var e = event || window.event;
  10609. var batteryEvent = JSEvents.batteryEvent;
  10610. JSEvents.fillBatteryEventData(batteryEvent, JSEvents.battery());
  10611. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, batteryEvent, userData)) e.preventDefault();
  10612. });
  10613. var eventHandler = {
  10614. target: JSEvents.findEventTarget(target),
  10615. allowsDeferredCalls: false,
  10616. eventTypeString: eventTypeString,
  10617. callbackfunc: callbackfunc,
  10618. handlerFunc: batteryEventHandlerFunc,
  10619. useCapture: useCapture
  10620. };
  10621. JSEvents.registerOrRemoveHandler(eventHandler);
  10622. }),
  10623. registerWebGlEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10624. if (!target) target = Module["canvas"];
  10625. var webGlEventHandlerFunc = (function(event) {
  10626. var e = event || window.event;
  10627. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10628. });
  10629. var eventHandler = {
  10630. target: JSEvents.findEventTarget(target),
  10631. allowsDeferredCalls: false,
  10632. eventTypeString: eventTypeString,
  10633. callbackfunc: callbackfunc,
  10634. handlerFunc: webGlEventHandlerFunc,
  10635. useCapture: useCapture
  10636. };
  10637. JSEvents.registerOrRemoveHandler(eventHandler);
  10638. })
  10639. };
  10640. var __currentFullscreenStrategy = {};
  10641. function _emscripten_exit_fullscreen() {
  10642. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10643. JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);
  10644. if (document.exitFullscreen) {
  10645. document.exitFullscreen();
  10646. } else if (document.msExitFullscreen) {
  10647. document.msExitFullscreen();
  10648. } else if (document.mozCancelFullScreen) {
  10649. document.mozCancelFullScreen();
  10650. } else if (document.webkitExitFullscreen) {
  10651. document.webkitExitFullscreen();
  10652. } else {
  10653. return -1;
  10654. }
  10655. if (__currentFullscreenStrategy.canvasResizedCallback) {
  10656. Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback, 37, 0, __currentFullscreenStrategy.canvasResizedCallbackUserData);
  10657. }
  10658. return 0;
  10659. }
  10660. function _emscripten_exit_pointerlock() {
  10661. JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);
  10662. if (document.exitPointerLock) {
  10663. document.exitPointerLock();
  10664. } else if (document.msExitPointerLock) {
  10665. document.msExitPointerLock();
  10666. } else if (document.mozExitPointerLock) {
  10667. document.mozExitPointerLock();
  10668. } else if (document.webkitExitPointerLock) {
  10669. document.webkitExitPointerLock();
  10670. } else {
  10671. return -1;
  10672. }
  10673. return 0;
  10674. }
  10675. function _emscripten_get_fullscreen_status(fullscreenStatus) {
  10676. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10677. JSEvents.fillFullscreenChangeEventData(fullscreenStatus);
  10678. return 0;
  10679. }
  10680. function __emscripten_sample_gamepad_data() {
  10681. if (!JSEvents.numGamepadsConnected) return;
  10682. if (Browser.mainLoop.currentFrameNumber !== JSEvents.lastGamepadStateFrame || !Browser.mainLoop.currentFrameNumber) {
  10683. JSEvents.lastGamepadState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads : null;
  10684. JSEvents.lastGamepadStateFrame = Browser.mainLoop.currentFrameNumber;
  10685. }
  10686. }
  10687. function _emscripten_get_gamepad_status(index, gamepadState) {
  10688. __emscripten_sample_gamepad_data();
  10689. if (!JSEvents.lastGamepadState) return -1;
  10690. if (index < 0 || index >= JSEvents.lastGamepadState.length) return -5;
  10691. if (!JSEvents.lastGamepadState[index]) return -7;
  10692. JSEvents.fillGamepadEventData(gamepadState, JSEvents.lastGamepadState[index]);
  10693. return 0;
  10694. }
  10695. function _emscripten_get_main_loop_timing(mode, value) {
  10696. if (mode) HEAP32[mode >> 2] = Browser.mainLoop.timingMode;
  10697. if (value) HEAP32[value >> 2] = Browser.mainLoop.timingValue;
  10698. }
  10699. function _emscripten_get_num_gamepads() {
  10700. if (!JSEvents.numGamepadsConnected) return 0;
  10701. __emscripten_sample_gamepad_data();
  10702. if (!JSEvents.lastGamepadState) return -1;
  10703. return JSEvents.lastGamepadState.length;
  10704. }
  10705. function _emscripten_has_threading_support() {
  10706. return 0;
  10707. }
  10708. function _emscripten_html5_remove_all_event_listeners() {
  10709. JSEvents.removeAllEventListeners();
  10710. }
  10711. function _emscripten_is_webgl_context_lost(target) {
  10712. if (!Module.ctx) return true;
  10713. return Module.ctx.isContextLost();
  10714. }
  10715. function __reallyNegative(x) {
  10716. return x < 0 || x === 0 && 1 / x === -Infinity;
  10717. }
  10718. function __formatString(format, varargs) {
  10719. assert((varargs & 3) === 0);
  10720. var textIndex = format;
  10721. var argIndex = varargs;
  10722. function prepVararg(ptr, type) {
  10723. if (type === "double" || type === "i64") {
  10724. if (ptr & 7) {
  10725. assert((ptr & 7) === 4);
  10726. ptr += 4;
  10727. }
  10728. } else {
  10729. assert((ptr & 3) === 0);
  10730. }
  10731. return ptr;
  10732. }
  10733. function getNextArg(type) {
  10734. var ret;
  10735. argIndex = prepVararg(argIndex, type);
  10736. if (type === "double") {
  10737. ret = HEAPF64[argIndex >> 3];
  10738. argIndex += 8;
  10739. } else if (type == "i64") {
  10740. ret = [ HEAP32[argIndex >> 2], HEAP32[argIndex + 4 >> 2] ];
  10741. argIndex += 8;
  10742. } else {
  10743. assert((argIndex & 3) === 0);
  10744. type = "i32";
  10745. ret = HEAP32[argIndex >> 2];
  10746. argIndex += 4;
  10747. }
  10748. return ret;
  10749. }
  10750. var ret = [];
  10751. var curr, next, currArg;
  10752. while (1) {
  10753. var startTextIndex = textIndex;
  10754. curr = HEAP8[textIndex >> 0];
  10755. if (curr === 0) break;
  10756. next = HEAP8[textIndex + 1 >> 0];
  10757. if (curr == 37) {
  10758. var flagAlwaysSigned = false;
  10759. var flagLeftAlign = false;
  10760. var flagAlternative = false;
  10761. var flagZeroPad = false;
  10762. var flagPadSign = false;
  10763. flagsLoop : while (1) {
  10764. switch (next) {
  10765. case 43:
  10766. flagAlwaysSigned = true;
  10767. break;
  10768. case 45:
  10769. flagLeftAlign = true;
  10770. break;
  10771. case 35:
  10772. flagAlternative = true;
  10773. break;
  10774. case 48:
  10775. if (flagZeroPad) {
  10776. break flagsLoop;
  10777. } else {
  10778. flagZeroPad = true;
  10779. break;
  10780. }
  10781. case 32:
  10782. flagPadSign = true;
  10783. break;
  10784. default:
  10785. break flagsLoop;
  10786. }
  10787. textIndex++;
  10788. next = HEAP8[textIndex + 1 >> 0];
  10789. }
  10790. var width = 0;
  10791. if (next == 42) {
  10792. width = getNextArg("i32");
  10793. textIndex++;
  10794. next = HEAP8[textIndex + 1 >> 0];
  10795. } else {
  10796. while (next >= 48 && next <= 57) {
  10797. width = width * 10 + (next - 48);
  10798. textIndex++;
  10799. next = HEAP8[textIndex + 1 >> 0];
  10800. }
  10801. }
  10802. var precisionSet = false, precision = -1;
  10803. if (next == 46) {
  10804. precision = 0;
  10805. precisionSet = true;
  10806. textIndex++;
  10807. next = HEAP8[textIndex + 1 >> 0];
  10808. if (next == 42) {
  10809. precision = getNextArg("i32");
  10810. textIndex++;
  10811. } else {
  10812. while (1) {
  10813. var precisionChr = HEAP8[textIndex + 1 >> 0];
  10814. if (precisionChr < 48 || precisionChr > 57) break;
  10815. precision = precision * 10 + (precisionChr - 48);
  10816. textIndex++;
  10817. }
  10818. }
  10819. next = HEAP8[textIndex + 1 >> 0];
  10820. }
  10821. if (precision < 0) {
  10822. precision = 6;
  10823. precisionSet = false;
  10824. }
  10825. var argSize;
  10826. switch (String.fromCharCode(next)) {
  10827. case "h":
  10828. var nextNext = HEAP8[textIndex + 2 >> 0];
  10829. if (nextNext == 104) {
  10830. textIndex++;
  10831. argSize = 1;
  10832. } else {
  10833. argSize = 2;
  10834. }
  10835. break;
  10836. case "l":
  10837. var nextNext = HEAP8[textIndex + 2 >> 0];
  10838. if (nextNext == 108) {
  10839. textIndex++;
  10840. argSize = 8;
  10841. } else {
  10842. argSize = 4;
  10843. }
  10844. break;
  10845. case "L":
  10846. case "q":
  10847. case "j":
  10848. argSize = 8;
  10849. break;
  10850. case "z":
  10851. case "t":
  10852. case "I":
  10853. argSize = 4;
  10854. break;
  10855. default:
  10856. argSize = null;
  10857. }
  10858. if (argSize) textIndex++;
  10859. next = HEAP8[textIndex + 1 >> 0];
  10860. switch (String.fromCharCode(next)) {
  10861. case "d":
  10862. case "i":
  10863. case "u":
  10864. case "o":
  10865. case "x":
  10866. case "X":
  10867. case "p":
  10868. {
  10869. var signed = next == 100 || next == 105;
  10870. argSize = argSize || 4;
  10871. currArg = getNextArg("i" + argSize * 8);
  10872. var origArg = currArg;
  10873. var argText;
  10874. if (argSize == 8) {
  10875. currArg = makeBigInt(currArg[0], currArg[1], next == 117);
  10876. }
  10877. if (argSize <= 4) {
  10878. var limit = Math.pow(256, argSize) - 1;
  10879. currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8);
  10880. }
  10881. var currAbsArg = Math.abs(currArg);
  10882. var prefix = "";
  10883. if (next == 100 || next == 105) {
  10884. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], null); else argText = reSign(currArg, 8 * argSize, 1).toString(10);
  10885. } else if (next == 117) {
  10886. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], true); else argText = unSign(currArg, 8 * argSize, 1).toString(10);
  10887. currArg = Math.abs(currArg);
  10888. } else if (next == 111) {
  10889. argText = (flagAlternative ? "0" : "") + currAbsArg.toString(8);
  10890. } else if (next == 120 || next == 88) {
  10891. prefix = flagAlternative && currArg != 0 ? "0x" : "";
  10892. if (argSize == 8 && typeof i64Math === "object") {
  10893. if (origArg[1]) {
  10894. argText = (origArg[1] >>> 0).toString(16);
  10895. var lower = (origArg[0] >>> 0).toString(16);
  10896. while (lower.length < 8) lower = "0" + lower;
  10897. argText += lower;
  10898. } else {
  10899. argText = (origArg[0] >>> 0).toString(16);
  10900. }
  10901. } else if (currArg < 0) {
  10902. currArg = -currArg;
  10903. argText = (currAbsArg - 1).toString(16);
  10904. var buffer = [];
  10905. for (var i = 0; i < argText.length; i++) {
  10906. buffer.push((15 - parseInt(argText[i], 16)).toString(16));
  10907. }
  10908. argText = buffer.join("");
  10909. while (argText.length < argSize * 2) argText = "f" + argText;
  10910. } else {
  10911. argText = currAbsArg.toString(16);
  10912. }
  10913. if (next == 88) {
  10914. prefix = prefix.toUpperCase();
  10915. argText = argText.toUpperCase();
  10916. }
  10917. } else if (next == 112) {
  10918. if (currAbsArg === 0) {
  10919. argText = "(nil)";
  10920. } else {
  10921. prefix = "0x";
  10922. argText = currAbsArg.toString(16);
  10923. }
  10924. }
  10925. if (precisionSet) {
  10926. while (argText.length < precision) {
  10927. argText = "0" + argText;
  10928. }
  10929. }
  10930. if (currArg >= 0) {
  10931. if (flagAlwaysSigned) {
  10932. prefix = "+" + prefix;
  10933. } else if (flagPadSign) {
  10934. prefix = " " + prefix;
  10935. }
  10936. }
  10937. if (argText.charAt(0) == "-") {
  10938. prefix = "-" + prefix;
  10939. argText = argText.substr(1);
  10940. }
  10941. while (prefix.length + argText.length < width) {
  10942. if (flagLeftAlign) {
  10943. argText += " ";
  10944. } else {
  10945. if (flagZeroPad) {
  10946. argText = "0" + argText;
  10947. } else {
  10948. prefix = " " + prefix;
  10949. }
  10950. }
  10951. }
  10952. argText = prefix + argText;
  10953. argText.split("").forEach((function(chr) {
  10954. ret.push(chr.charCodeAt(0));
  10955. }));
  10956. break;
  10957. }
  10958. case "f":
  10959. case "F":
  10960. case "e":
  10961. case "E":
  10962. case "g":
  10963. case "G":
  10964. {
  10965. currArg = getNextArg("double");
  10966. var argText;
  10967. if (isNaN(currArg)) {
  10968. argText = "nan";
  10969. flagZeroPad = false;
  10970. } else if (!isFinite(currArg)) {
  10971. argText = (currArg < 0 ? "-" : "") + "inf";
  10972. flagZeroPad = false;
  10973. } else {
  10974. var isGeneral = false;
  10975. var effectivePrecision = Math.min(precision, 20);
  10976. if (next == 103 || next == 71) {
  10977. isGeneral = true;
  10978. precision = precision || 1;
  10979. var exponent = parseInt(currArg.toExponential(effectivePrecision).split("e")[1], 10);
  10980. if (precision > exponent && exponent >= -4) {
  10981. next = (next == 103 ? "f" : "F").charCodeAt(0);
  10982. precision -= exponent + 1;
  10983. } else {
  10984. next = (next == 103 ? "e" : "E").charCodeAt(0);
  10985. precision--;
  10986. }
  10987. effectivePrecision = Math.min(precision, 20);
  10988. }
  10989. if (next == 101 || next == 69) {
  10990. argText = currArg.toExponential(effectivePrecision);
  10991. if (/[eE][-+]\d$/.test(argText)) {
  10992. argText = argText.slice(0, -1) + "0" + argText.slice(-1);
  10993. }
  10994. } else if (next == 102 || next == 70) {
  10995. argText = currArg.toFixed(effectivePrecision);
  10996. if (currArg === 0 && __reallyNegative(currArg)) {
  10997. argText = "-" + argText;
  10998. }
  10999. }
  11000. var parts = argText.split("e");
  11001. if (isGeneral && !flagAlternative) {
  11002. while (parts[0].length > 1 && parts[0].indexOf(".") != -1 && (parts[0].slice(-1) == "0" || parts[0].slice(-1) == ".")) {
  11003. parts[0] = parts[0].slice(0, -1);
  11004. }
  11005. } else {
  11006. if (flagAlternative && argText.indexOf(".") == -1) parts[0] += ".";
  11007. while (precision > effectivePrecision++) parts[0] += "0";
  11008. }
  11009. argText = parts[0] + (parts.length > 1 ? "e" + parts[1] : "");
  11010. if (next == 69) argText = argText.toUpperCase();
  11011. if (currArg >= 0) {
  11012. if (flagAlwaysSigned) {
  11013. argText = "+" + argText;
  11014. } else if (flagPadSign) {
  11015. argText = " " + argText;
  11016. }
  11017. }
  11018. }
  11019. while (argText.length < width) {
  11020. if (flagLeftAlign) {
  11021. argText += " ";
  11022. } else {
  11023. if (flagZeroPad && (argText[0] == "-" || argText[0] == "+")) {
  11024. argText = argText[0] + "0" + argText.slice(1);
  11025. } else {
  11026. argText = (flagZeroPad ? "0" : " ") + argText;
  11027. }
  11028. }
  11029. }
  11030. if (next < 97) argText = argText.toUpperCase();
  11031. argText.split("").forEach((function(chr) {
  11032. ret.push(chr.charCodeAt(0));
  11033. }));
  11034. break;
  11035. }
  11036. case "s":
  11037. {
  11038. var arg = getNextArg("i8*");
  11039. var argLength = arg ? _strlen(arg) : "(null)".length;
  11040. if (precisionSet) argLength = Math.min(argLength, precision);
  11041. if (!flagLeftAlign) {
  11042. while (argLength < width--) {
  11043. ret.push(32);
  11044. }
  11045. }
  11046. if (arg) {
  11047. for (var i = 0; i < argLength; i++) {
  11048. ret.push(HEAPU8[arg++ >> 0]);
  11049. }
  11050. } else {
  11051. ret = ret.concat(intArrayFromString("(null)".substr(0, argLength), true));
  11052. }
  11053. if (flagLeftAlign) {
  11054. while (argLength < width--) {
  11055. ret.push(32);
  11056. }
  11057. }
  11058. break;
  11059. }
  11060. case "c":
  11061. {
  11062. if (flagLeftAlign) ret.push(getNextArg("i8"));
  11063. while (--width > 0) {
  11064. ret.push(32);
  11065. }
  11066. if (!flagLeftAlign) ret.push(getNextArg("i8"));
  11067. break;
  11068. }
  11069. case "n":
  11070. {
  11071. var ptr = getNextArg("i32*");
  11072. HEAP32[ptr >> 2] = ret.length;
  11073. break;
  11074. }
  11075. case "%":
  11076. {
  11077. ret.push(curr);
  11078. break;
  11079. }
  11080. default:
  11081. {
  11082. for (var i = startTextIndex; i < textIndex + 2; i++) {
  11083. ret.push(HEAP8[i >> 0]);
  11084. }
  11085. }
  11086. }
  11087. textIndex += 2;
  11088. } else {
  11089. ret.push(curr);
  11090. textIndex += 1;
  11091. }
  11092. }
  11093. return ret;
  11094. }
  11095. function __emscripten_traverse_stack(args) {
  11096. if (!args || !args.callee || !args.callee.name) {
  11097. return [ null, "", "" ];
  11098. }
  11099. var funstr = args.callee.toString();
  11100. var funcname = args.callee.name;
  11101. var str = "(";
  11102. var first = true;
  11103. for (var i in args) {
  11104. var a = args[i];
  11105. if (!first) {
  11106. str += ", ";
  11107. }
  11108. first = false;
  11109. if (typeof a === "number" || typeof a === "string") {
  11110. str += a;
  11111. } else {
  11112. str += "(" + typeof a + ")";
  11113. }
  11114. }
  11115. str += ")";
  11116. var caller = args.callee.caller;
  11117. args = caller ? caller.arguments : [];
  11118. if (first) str = "";
  11119. return [ args, funcname, str ];
  11120. }
  11121. function _emscripten_get_callstack_js(flags) {
  11122. var callstack = jsStackTrace();
  11123. var iThisFunc = callstack.lastIndexOf("_emscripten_log");
  11124. var iThisFunc2 = callstack.lastIndexOf("_emscripten_get_callstack");
  11125. var iNextLine = callstack.indexOf("\n", Math.max(iThisFunc, iThisFunc2)) + 1;
  11126. callstack = callstack.slice(iNextLine);
  11127. if (flags & 8 && typeof emscripten_source_map === "undefined") {
  11128. 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.');
  11129. flags ^= 8;
  11130. flags |= 16;
  11131. }
  11132. var stack_args = null;
  11133. if (flags & 128) {
  11134. stack_args = __emscripten_traverse_stack(arguments);
  11135. while (stack_args[1].indexOf("_emscripten_") >= 0) stack_args = __emscripten_traverse_stack(stack_args[0]);
  11136. }
  11137. var lines = callstack.split("\n");
  11138. callstack = "";
  11139. var newFirefoxRe = new RegExp("\\s*(.*?)@(.*?):([0-9]+):([0-9]+)");
  11140. var firefoxRe = new RegExp("\\s*(.*?)@(.*):(.*)(:(.*))?");
  11141. var chromeRe = new RegExp("\\s*at (.*?) \\((.*):(.*):(.*)\\)");
  11142. for (var l in lines) {
  11143. var line = lines[l];
  11144. var jsSymbolName = "";
  11145. var file = "";
  11146. var lineno = 0;
  11147. var column = 0;
  11148. var parts = chromeRe.exec(line);
  11149. if (parts && parts.length == 5) {
  11150. jsSymbolName = parts[1];
  11151. file = parts[2];
  11152. lineno = parts[3];
  11153. column = parts[4];
  11154. } else {
  11155. parts = newFirefoxRe.exec(line);
  11156. if (!parts) parts = firefoxRe.exec(line);
  11157. if (parts && parts.length >= 4) {
  11158. jsSymbolName = parts[1];
  11159. file = parts[2];
  11160. lineno = parts[3];
  11161. column = parts[4] | 0;
  11162. } else {
  11163. callstack += line + "\n";
  11164. continue;
  11165. }
  11166. }
  11167. var cSymbolName = flags & 32 ? demangle(jsSymbolName) : jsSymbolName;
  11168. if (!cSymbolName) {
  11169. cSymbolName = jsSymbolName;
  11170. }
  11171. var haveSourceMap = false;
  11172. if (flags & 8) {
  11173. var orig = emscripten_source_map.originalPositionFor({
  11174. line: lineno,
  11175. column: column
  11176. });
  11177. haveSourceMap = orig && orig.source;
  11178. if (haveSourceMap) {
  11179. if (flags & 64) {
  11180. orig.source = orig.source.substring(orig.source.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11181. }
  11182. callstack += " at " + cSymbolName + " (" + orig.source + ":" + orig.line + ":" + orig.column + ")\n";
  11183. }
  11184. }
  11185. if (flags & 16 || !haveSourceMap) {
  11186. if (flags & 64) {
  11187. file = file.substring(file.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11188. }
  11189. callstack += (haveSourceMap ? " = " + jsSymbolName : " at " + cSymbolName) + " (" + file + ":" + lineno + ":" + column + ")\n";
  11190. }
  11191. if (flags & 128 && stack_args[0]) {
  11192. if (stack_args[1] == jsSymbolName && stack_args[2].length > 0) {
  11193. callstack = callstack.replace(/\s+$/, "");
  11194. callstack += " with values: " + stack_args[1] + stack_args[2] + "\n";
  11195. }
  11196. stack_args = __emscripten_traverse_stack(stack_args[0]);
  11197. }
  11198. }
  11199. callstack = callstack.replace(/\s+$/, "");
  11200. return callstack;
  11201. }
  11202. function _emscripten_log_js(flags, str) {
  11203. if (flags & 24) {
  11204. str = str.replace(/\s+$/, "");
  11205. str += (str.length > 0 ? "\n" : "") + _emscripten_get_callstack_js(flags);
  11206. }
  11207. if (flags & 1) {
  11208. if (flags & 4) {
  11209. console.error(str);
  11210. } else if (flags & 2) {
  11211. console.warn(str);
  11212. } else {
  11213. console.log(str);
  11214. }
  11215. } else if (flags & 6) {
  11216. err(str);
  11217. } else {
  11218. out(str);
  11219. }
  11220. }
  11221. function _emscripten_log(flags, varargs) {
  11222. var format = HEAP32[varargs >> 2];
  11223. varargs += 4;
  11224. var str = "";
  11225. if (format) {
  11226. var result = __formatString(format, varargs);
  11227. for (var i = 0; i < result.length; ++i) {
  11228. str += String.fromCharCode(result[i]);
  11229. }
  11230. }
  11231. _emscripten_log_js(flags, str);
  11232. }
  11233. function _emscripten_num_logical_cores() {
  11234. return 1;
  11235. }
  11236. function __setLetterbox(element, topBottom, leftRight) {
  11237. if (JSEvents.isInternetExplorer()) {
  11238. element.style.marginLeft = element.style.marginRight = leftRight + "px";
  11239. element.style.marginTop = element.style.marginBottom = topBottom + "px";
  11240. } else {
  11241. element.style.paddingLeft = element.style.paddingRight = leftRight + "px";
  11242. element.style.paddingTop = element.style.paddingBottom = topBottom + "px";
  11243. }
  11244. }
  11245. function __emscripten_do_request_fullscreen(target, strategy) {
  11246. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11247. if (!JSEvents.fullscreenEnabled()) return -3;
  11248. if (!target) target = "#canvas";
  11249. target = JSEvents.findEventTarget(target);
  11250. if (!target) return -4;
  11251. if (!target.requestFullscreen && !target.msRequestFullscreen && !target.mozRequestFullScreen && !target.mozRequestFullscreen && !target.webkitRequestFullscreen) {
  11252. return -3;
  11253. }
  11254. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11255. if (!canPerformRequests) {
  11256. if (strategy.deferUntilInEventHandler) {
  11257. JSEvents.deferCall(JSEvents.requestFullscreen, 1, [ target, strategy ]);
  11258. return 1;
  11259. } else {
  11260. return -2;
  11261. }
  11262. }
  11263. return JSEvents.requestFullscreen(target, strategy);
  11264. }
  11265. function _emscripten_request_fullscreen(target, deferUntilInEventHandler) {
  11266. var strategy = {};
  11267. strategy.scaleMode = 0;
  11268. strategy.canvasResolutionScaleMode = 0;
  11269. strategy.filteringMode = 0;
  11270. strategy.deferUntilInEventHandler = deferUntilInEventHandler;
  11271. strategy.canvasResizedCallbackTargetThread = 2;
  11272. return __emscripten_do_request_fullscreen(target, strategy);
  11273. }
  11274. function _emscripten_request_pointerlock(target, deferUntilInEventHandler) {
  11275. if (!target) target = "#canvas";
  11276. target = JSEvents.findEventTarget(target);
  11277. if (!target) return -4;
  11278. if (!target.requestPointerLock && !target.mozRequestPointerLock && !target.webkitRequestPointerLock && !target.msRequestPointerLock) {
  11279. return -1;
  11280. }
  11281. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11282. if (!canPerformRequests) {
  11283. if (deferUntilInEventHandler) {
  11284. JSEvents.deferCall(JSEvents.requestPointerLock, 2, [ target ]);
  11285. return 1;
  11286. } else {
  11287. return -2;
  11288. }
  11289. }
  11290. return JSEvents.requestPointerLock(target);
  11291. }
  11292. function _emscripten_set_blur_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11293. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 12, "blur", targetThread);
  11294. return 0;
  11295. }
  11296. function _emscripten_set_dblclick_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11297. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 7, "dblclick", targetThread);
  11298. return 0;
  11299. }
  11300. function _emscripten_set_devicemotion_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11301. JSEvents.registerDeviceMotionEventCallback(window, userData, useCapture, callbackfunc, 17, "devicemotion", targetThread);
  11302. return 0;
  11303. }
  11304. function _emscripten_set_deviceorientation_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11305. JSEvents.registerDeviceOrientationEventCallback(window, userData, useCapture, callbackfunc, 16, "deviceorientation", targetThread);
  11306. return 0;
  11307. }
  11308. function _emscripten_set_focus_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11309. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 13, "focus", targetThread);
  11310. return 0;
  11311. }
  11312. function _emscripten_set_fullscreenchange_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11313. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11314. if (!target) target = document; else {
  11315. target = JSEvents.findEventTarget(target);
  11316. if (!target) return -4;
  11317. }
  11318. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "fullscreenchange", targetThread);
  11319. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "mozfullscreenchange", targetThread);
  11320. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "webkitfullscreenchange", targetThread);
  11321. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "msfullscreenchange", targetThread);
  11322. return 0;
  11323. }
  11324. function _emscripten_set_gamepadconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11325. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11326. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 26, "gamepadconnected", targetThread);
  11327. return 0;
  11328. }
  11329. function _emscripten_set_gamepaddisconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11330. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11331. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 27, "gamepaddisconnected", targetThread);
  11332. return 0;
  11333. }
  11334. function _emscripten_set_keydown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11335. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 2, "keydown", targetThread);
  11336. return 0;
  11337. }
  11338. function _emscripten_set_keypress_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11339. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 1, "keypress", targetThread);
  11340. return 0;
  11341. }
  11342. function _emscripten_set_keyup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11343. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 3, "keyup", targetThread);
  11344. return 0;
  11345. }
  11346. function _emscripten_set_mousedown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11347. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 5, "mousedown", targetThread);
  11348. return 0;
  11349. }
  11350. function _emscripten_set_mousemove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11351. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 8, "mousemove", targetThread);
  11352. return 0;
  11353. }
  11354. function _emscripten_set_mouseup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11355. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 6, "mouseup", targetThread);
  11356. return 0;
  11357. }
  11358. function _emscripten_set_touchcancel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11359. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 25, "touchcancel", targetThread);
  11360. return 0;
  11361. }
  11362. function _emscripten_set_touchend_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11363. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 23, "touchend", targetThread);
  11364. return 0;
  11365. }
  11366. function _emscripten_set_touchmove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11367. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 24, "touchmove", targetThread);
  11368. return 0;
  11369. }
  11370. function _emscripten_set_touchstart_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11371. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 22, "touchstart", targetThread);
  11372. return 0;
  11373. }
  11374. function _emscripten_set_wheel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11375. target = JSEvents.findEventTarget(target);
  11376. if (typeof target.onwheel !== "undefined") {
  11377. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "wheel", targetThread);
  11378. return 0;
  11379. } else if (typeof target.onmousewheel !== "undefined") {
  11380. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "mousewheel", targetThread);
  11381. return 0;
  11382. } else {
  11383. return -1;
  11384. }
  11385. }
  11386. var GL = {
  11387. counter: 1,
  11388. lastError: 0,
  11389. buffers: [],
  11390. mappedBuffers: {},
  11391. programs: [],
  11392. framebuffers: [],
  11393. renderbuffers: [],
  11394. textures: [],
  11395. uniforms: [],
  11396. shaders: [],
  11397. vaos: [],
  11398. contexts: [],
  11399. currentContext: null,
  11400. offscreenCanvases: {},
  11401. timerQueriesEXT: [],
  11402. queries: [],
  11403. samplers: [],
  11404. transformFeedbacks: [],
  11405. syncs: [],
  11406. byteSizeByTypeRoot: 5120,
  11407. byteSizeByType: [ 1, 1, 2, 2, 4, 4, 4, 2, 3, 4, 8 ],
  11408. programInfos: {},
  11409. stringCache: {},
  11410. stringiCache: {},
  11411. tempFixedLengthArray: [],
  11412. packAlignment: 4,
  11413. unpackAlignment: 4,
  11414. init: (function() {
  11415. GL.miniTempBuffer = new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);
  11416. for (var i = 0; i < GL.MINI_TEMP_BUFFER_SIZE; i++) {
  11417. GL.miniTempBufferViews[i] = GL.miniTempBuffer.subarray(0, i + 1);
  11418. }
  11419. for (var i = 0; i < 32; i++) {
  11420. GL.tempFixedLengthArray.push(new Array(i));
  11421. }
  11422. }),
  11423. recordError: function recordError(errorCode) {
  11424. if (!GL.lastError) {
  11425. GL.lastError = errorCode;
  11426. }
  11427. },
  11428. getNewId: (function(table) {
  11429. var ret = GL.counter++;
  11430. for (var i = table.length; i < ret; i++) {
  11431. table[i] = null;
  11432. }
  11433. return ret;
  11434. }),
  11435. MINI_TEMP_BUFFER_SIZE: 256,
  11436. miniTempBuffer: null,
  11437. miniTempBufferViews: [ 0 ],
  11438. getSource: (function(shader, count, string, length) {
  11439. var source = "";
  11440. for (var i = 0; i < count; ++i) {
  11441. var frag;
  11442. if (length) {
  11443. var len = HEAP32[length + i * 4 >> 2];
  11444. if (len < 0) {
  11445. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11446. } else {
  11447. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2], len);
  11448. }
  11449. } else {
  11450. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11451. }
  11452. source += frag;
  11453. }
  11454. return source;
  11455. }),
  11456. createContext: (function(canvas, webGLContextAttributes) {
  11457. if (typeof webGLContextAttributes["majorVersion"] === "undefined" && typeof webGLContextAttributes["minorVersion"] === "undefined") {
  11458. if (typeof WebGL2RenderingContext !== "undefined") webGLContextAttributes["majorVersion"] = 2; else webGLContextAttributes["majorVersion"] = 1;
  11459. webGLContextAttributes["minorVersion"] = 0;
  11460. }
  11461. var ctx;
  11462. var errorInfo = "?";
  11463. function onContextCreationError(event) {
  11464. errorInfo = event.statusMessage || errorInfo;
  11465. }
  11466. webGLContextAttributes["powerPreference"] = "high-performance";
  11467. try {
  11468. canvas.addEventListener("webglcontextcreationerror", onContextCreationError, false);
  11469. try {
  11470. if (webGLContextAttributes["majorVersion"] == 1 && webGLContextAttributes["minorVersion"] == 0) {
  11471. ctx = canvas.getContext("webgl", webGLContextAttributes) || canvas.getContext("experimental-webgl", webGLContextAttributes);
  11472. } else if (webGLContextAttributes["majorVersion"] == 2 && webGLContextAttributes["minorVersion"] == 0) {
  11473. ctx = canvas.getContext("webgl2", webGLContextAttributes);
  11474. } else {
  11475. throw "Unsupported WebGL context version " + majorVersion + "." + minorVersion + "!";
  11476. }
  11477. } finally {
  11478. canvas.removeEventListener("webglcontextcreationerror", onContextCreationError, false);
  11479. }
  11480. if (!ctx) throw ":(";
  11481. } catch (e) {
  11482. out("Could not create canvas: " + [ errorInfo, e, JSON.stringify(webGLContextAttributes) ]);
  11483. return 0;
  11484. }
  11485. if (!ctx) return 0;
  11486. var context = GL.registerContext(ctx, webGLContextAttributes);
  11487. return context;
  11488. }),
  11489. registerContext: (function(ctx, webGLContextAttributes) {
  11490. var handle = _malloc(8);
  11491. HEAP32[handle >> 2] = webGLContextAttributes["explicitSwapControl"];
  11492. var context = {
  11493. handle: handle,
  11494. attributes: webGLContextAttributes,
  11495. version: webGLContextAttributes["majorVersion"],
  11496. GLctx: ctx
  11497. };
  11498. function getChromeVersion() {
  11499. var raw = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
  11500. return raw ? parseInt(raw[2], 10) : false;
  11501. }
  11502. context.supportsWebGL2EntryPoints = context.version >= 2 && (getChromeVersion() === false || getChromeVersion() >= 58);
  11503. if (ctx.canvas) ctx.canvas.GLctxObject = context;
  11504. GL.contexts[handle] = context;
  11505. if (typeof webGLContextAttributes["enableExtensionsByDefault"] === "undefined" || webGLContextAttributes["enableExtensionsByDefault"]) {
  11506. GL.initExtensions(context);
  11507. }
  11508. if (webGLContextAttributes["renderViaOffscreenBackBuffer"]) {
  11509. return 0;
  11510. }
  11511. return handle;
  11512. }),
  11513. makeContextCurrent: (function(contextHandle) {
  11514. if (!contextHandle) {
  11515. GLctx = Module.ctx = GL.currentContext = null;
  11516. return true;
  11517. }
  11518. var context = GL.contexts[contextHandle];
  11519. if (!context) {
  11520. return false;
  11521. }
  11522. GLctx = Module.ctx = context.GLctx;
  11523. GL.currentContext = context;
  11524. return true;
  11525. }),
  11526. getContext: (function(contextHandle) {
  11527. return GL.contexts[contextHandle];
  11528. }),
  11529. deleteContext: (function(contextHandle) {
  11530. if (!contextHandle) return;
  11531. if (GL.currentContext === GL.contexts[contextHandle]) GL.currentContext = null;
  11532. if (typeof JSEvents === "object") JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);
  11533. if (GL.contexts[contextHandle] && GL.contexts[contextHandle].GLctx.canvas) GL.contexts[contextHandle].GLctx.canvas.GLctxObject = undefined;
  11534. _free(GL.contexts[contextHandle]);
  11535. GL.contexts[contextHandle] = null;
  11536. }),
  11537. initExtensions: (function(context) {
  11538. if (!context) context = GL.currentContext;
  11539. if (context.initExtensionsDone) return;
  11540. context.initExtensionsDone = true;
  11541. var GLctx = context.GLctx;
  11542. context.maxVertexAttribs = GLctx.getParameter(GLctx.MAX_VERTEX_ATTRIBS);
  11543. if (context.version < 2) {
  11544. var instancedArraysExt = GLctx.getExtension("ANGLE_instanced_arrays");
  11545. if (instancedArraysExt) {
  11546. GLctx["vertexAttribDivisor"] = (function(index, divisor) {
  11547. instancedArraysExt["vertexAttribDivisorANGLE"](index, divisor);
  11548. });
  11549. GLctx["drawArraysInstanced"] = (function(mode, first, count, primcount) {
  11550. instancedArraysExt["drawArraysInstancedANGLE"](mode, first, count, primcount);
  11551. });
  11552. GLctx["drawElementsInstanced"] = (function(mode, count, type, indices, primcount) {
  11553. instancedArraysExt["drawElementsInstancedANGLE"](mode, count, type, indices, primcount);
  11554. });
  11555. }
  11556. var vaoExt = GLctx.getExtension("OES_vertex_array_object");
  11557. if (vaoExt) {
  11558. GLctx["createVertexArray"] = (function() {
  11559. return vaoExt["createVertexArrayOES"]();
  11560. });
  11561. GLctx["deleteVertexArray"] = (function(vao) {
  11562. vaoExt["deleteVertexArrayOES"](vao);
  11563. });
  11564. GLctx["bindVertexArray"] = (function(vao) {
  11565. vaoExt["bindVertexArrayOES"](vao);
  11566. });
  11567. GLctx["isVertexArray"] = (function(vao) {
  11568. return vaoExt["isVertexArrayOES"](vao);
  11569. });
  11570. }
  11571. var drawBuffersExt = GLctx.getExtension("WEBGL_draw_buffers");
  11572. if (drawBuffersExt) {
  11573. GLctx["drawBuffers"] = (function(n, bufs) {
  11574. drawBuffersExt["drawBuffersWEBGL"](n, bufs);
  11575. });
  11576. }
  11577. }
  11578. GLctx.disjointTimerQueryExt = GLctx.getExtension("EXT_disjoint_timer_query");
  11579. 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" ];
  11580. var exts = GLctx.getSupportedExtensions();
  11581. if (exts && exts.length > 0) {
  11582. GLctx.getSupportedExtensions().forEach((function(ext) {
  11583. if (automaticallyEnabledExtensions.indexOf(ext) != -1) {
  11584. GLctx.getExtension(ext);
  11585. }
  11586. }));
  11587. }
  11588. }),
  11589. populateUniformTable: (function(program) {
  11590. var p = GL.programs[program];
  11591. GL.programInfos[program] = {
  11592. uniforms: {},
  11593. maxUniformLength: 0,
  11594. maxAttributeLength: -1,
  11595. maxUniformBlockNameLength: -1
  11596. };
  11597. var ptable = GL.programInfos[program];
  11598. var utable = ptable.uniforms;
  11599. var numUniforms = GLctx.getProgramParameter(p, GLctx.ACTIVE_UNIFORMS);
  11600. for (var i = 0; i < numUniforms; ++i) {
  11601. var u = GLctx.getActiveUniform(p, i);
  11602. var name = u.name;
  11603. ptable.maxUniformLength = Math.max(ptable.maxUniformLength, name.length + 1);
  11604. if (name.indexOf("]", name.length - 1) !== -1) {
  11605. var ls = name.lastIndexOf("[");
  11606. name = name.slice(0, ls);
  11607. }
  11608. var loc = GLctx.getUniformLocation(p, name);
  11609. if (loc != null) {
  11610. var id = GL.getNewId(GL.uniforms);
  11611. utable[name] = [ u.size, id ];
  11612. GL.uniforms[id] = loc;
  11613. for (var j = 1; j < u.size; ++j) {
  11614. var n = name + "[" + j + "]";
  11615. loc = GLctx.getUniformLocation(p, n);
  11616. id = GL.getNewId(GL.uniforms);
  11617. GL.uniforms[id] = loc;
  11618. }
  11619. }
  11620. }
  11621. })
  11622. };
  11623. function _emscripten_webgl_do_create_context(target, attributes) {
  11624. var contextAttributes = {};
  11625. contextAttributes["alpha"] = !!HEAP32[attributes >> 2];
  11626. contextAttributes["depth"] = !!HEAP32[attributes + 4 >> 2];
  11627. contextAttributes["stencil"] = !!HEAP32[attributes + 8 >> 2];
  11628. contextAttributes["antialias"] = !!HEAP32[attributes + 12 >> 2];
  11629. contextAttributes["premultipliedAlpha"] = !!HEAP32[attributes + 16 >> 2];
  11630. contextAttributes["preserveDrawingBuffer"] = !!HEAP32[attributes + 20 >> 2];
  11631. contextAttributes["preferLowPowerToHighPerformance"] = !!HEAP32[attributes + 24 >> 2];
  11632. contextAttributes["failIfMajorPerformanceCaveat"] = !!HEAP32[attributes + 28 >> 2];
  11633. contextAttributes["majorVersion"] = HEAP32[attributes + 32 >> 2];
  11634. contextAttributes["minorVersion"] = HEAP32[attributes + 36 >> 2];
  11635. contextAttributes["explicitSwapControl"] = HEAP32[attributes + 44 >> 2];
  11636. contextAttributes["proxyContextToMainThread"] = HEAP32[attributes + 48 >> 2];
  11637. contextAttributes["renderViaOffscreenBackBuffer"] = HEAP32[attributes + 52 >> 2];
  11638. target = Pointer_stringify(target);
  11639. var canvas;
  11640. if ((!target || target === "#canvas") && Module["canvas"]) {
  11641. canvas = Module["canvas"].id && GL.offscreenCanvases[Module["canvas"].id] ? GL.offscreenCanvases[Module["canvas"].id].offscreenCanvas || JSEvents.findEventTarget(Module["canvas"].id) : Module["canvas"];
  11642. } else {
  11643. canvas = GL.offscreenCanvases[target] ? GL.offscreenCanvases[target].offscreenCanvas : JSEvents.findEventTarget(target);
  11644. }
  11645. if (!canvas) {
  11646. return 0;
  11647. }
  11648. if (contextAttributes["explicitSwapControl"]) {
  11649. return 0;
  11650. }
  11651. var contextHandle = GL.createContext(canvas, contextAttributes);
  11652. return contextHandle;
  11653. }
  11654. function _emscripten_webgl_create_context() {
  11655. return _emscripten_webgl_do_create_context.apply(null, arguments);
  11656. }
  11657. function _emscripten_webgl_destroy_context_calling_thread(contextHandle) {
  11658. GL.deleteContext(contextHandle);
  11659. }
  11660. function _emscripten_webgl_destroy_context() {
  11661. return _emscripten_webgl_destroy_context_calling_thread.apply(null, arguments);
  11662. }
  11663. function _emscripten_webgl_enable_extension_calling_thread(contextHandle, extension) {
  11664. var context = GL.getContext(contextHandle);
  11665. var extString = Pointer_stringify(extension);
  11666. if (extString.indexOf("GL_") == 0) extString = extString.substr(3);
  11667. var ext = context.GLctx.getExtension(extString);
  11668. return ext ? 1 : 0;
  11669. }
  11670. function _emscripten_webgl_enable_extension() {
  11671. return _emscripten_webgl_enable_extension_calling_thread.apply(null, arguments);
  11672. }
  11673. function _emscripten_webgl_do_get_current_context() {
  11674. return GL.currentContext ? GL.currentContext.handle : 0;
  11675. }
  11676. function _emscripten_webgl_get_current_context() {
  11677. return _emscripten_webgl_do_get_current_context.apply(null, arguments);
  11678. }
  11679. function _emscripten_webgl_init_context_attributes(attributes) {
  11680. HEAP32[attributes >> 2] = 1;
  11681. HEAP32[attributes + 4 >> 2] = 1;
  11682. HEAP32[attributes + 8 >> 2] = 0;
  11683. HEAP32[attributes + 12 >> 2] = 1;
  11684. HEAP32[attributes + 16 >> 2] = 1;
  11685. HEAP32[attributes + 20 >> 2] = 0;
  11686. HEAP32[attributes + 24 >> 2] = 0;
  11687. HEAP32[attributes + 28 >> 2] = 0;
  11688. HEAP32[attributes + 32 >> 2] = 1;
  11689. HEAP32[attributes + 36 >> 2] = 0;
  11690. HEAP32[attributes + 40 >> 2] = 1;
  11691. HEAP32[attributes + 44 >> 2] = 0;
  11692. HEAP32[attributes + 48 >> 2] = 0;
  11693. HEAP32[attributes + 52 >> 2] = 0;
  11694. }
  11695. function _emscripten_webgl_make_context_current(contextHandle) {
  11696. var success = GL.makeContextCurrent(contextHandle);
  11697. return success ? 0 : -5;
  11698. }
  11699. function _endsteps(index) {
  11700. endsteps(index);
  11701. }
  11702. function __exit(status) {
  11703. exit(status);
  11704. }
  11705. function _exit(status) {
  11706. __exit(status);
  11707. }
  11708. function _flock(fd, operation) {
  11709. return 0;
  11710. }
  11711. function _getenv(name) {
  11712. if (name === 0) return 0;
  11713. name = Pointer_stringify(name);
  11714. if (!ENV.hasOwnProperty(name)) return 0;
  11715. if (_getenv.ret) _free(_getenv.ret);
  11716. _getenv.ret = allocateUTF8(ENV[name]);
  11717. return _getenv.ret;
  11718. }
  11719. function _gethostbyname(name) {
  11720. name = Pointer_stringify(name);
  11721. var ret = _malloc(20);
  11722. var nameBuf = _malloc(name.length + 1);
  11723. stringToUTF8(name, nameBuf, name.length + 1);
  11724. HEAP32[ret >> 2] = nameBuf;
  11725. var aliasesBuf = _malloc(4);
  11726. HEAP32[aliasesBuf >> 2] = 0;
  11727. HEAP32[ret + 4 >> 2] = aliasesBuf;
  11728. var afinet = 2;
  11729. HEAP32[ret + 8 >> 2] = afinet;
  11730. HEAP32[ret + 12 >> 2] = 4;
  11731. var addrListBuf = _malloc(12);
  11732. HEAP32[addrListBuf >> 2] = addrListBuf + 8;
  11733. HEAP32[addrListBuf + 4 >> 2] = 0;
  11734. HEAP32[addrListBuf + 8 >> 2] = __inet_pton4_raw(DNS.lookup_name(name));
  11735. HEAP32[ret + 16 >> 2] = addrListBuf;
  11736. return ret;
  11737. }
  11738. function _gethostbyaddr(addr, addrlen, type) {
  11739. if (type !== 2) {
  11740. ___setErrNo(ERRNO_CODES.EAFNOSUPPORT);
  11741. return null;
  11742. }
  11743. addr = HEAP32[addr >> 2];
  11744. var host = __inet_ntop4_raw(addr);
  11745. var lookup = DNS.lookup_addr(host);
  11746. if (lookup) {
  11747. host = lookup;
  11748. }
  11749. var hostp = allocate(intArrayFromString(host), "i8", ALLOC_STACK);
  11750. return _gethostbyname(hostp);
  11751. }
  11752. function _getpagesize() {
  11753. return PAGE_SIZE;
  11754. }
  11755. function _getpwuid(uid) {
  11756. return 0;
  11757. }
  11758. function _gettimeofday(ptr) {
  11759. var now = Date.now();
  11760. HEAP32[ptr >> 2] = now / 1e3 | 0;
  11761. HEAP32[ptr + 4 >> 2] = now % 1e3 * 1e3 | 0;
  11762. return 0;
  11763. }
  11764. function _glActiveTexture(x0) {
  11765. GLctx["activeTexture"](x0);
  11766. }
  11767. function _glAttachShader(program, shader) {
  11768. GLctx.attachShader(GL.programs[program], GL.shaders[shader]);
  11769. }
  11770. function _glBeginQuery(target, id) {
  11771. GLctx["beginQuery"](target, id ? GL.queries[id] : null);
  11772. }
  11773. function _glBeginTransformFeedback(x0) {
  11774. GLctx["beginTransformFeedback"](x0);
  11775. }
  11776. function _glBindAttribLocation(program, index, name) {
  11777. name = Pointer_stringify(name);
  11778. GLctx.bindAttribLocation(GL.programs[program], index, name);
  11779. }
  11780. function _glBindBuffer(target, buffer) {
  11781. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11782. if (target == 35051) {
  11783. GLctx.currentPixelPackBufferBinding = buffer;
  11784. } else if (target == 35052) {
  11785. GLctx.currentPixelUnpackBufferBinding = buffer;
  11786. }
  11787. GLctx.bindBuffer(target, bufferObj);
  11788. }
  11789. function _glBindBufferBase(target, index, buffer) {
  11790. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11791. GLctx["bindBufferBase"](target, index, bufferObj);
  11792. }
  11793. function _glBindBufferRange(target, index, buffer, offset, ptrsize) {
  11794. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11795. GLctx["bindBufferRange"](target, index, bufferObj, offset, ptrsize);
  11796. }
  11797. function _glBindFramebuffer(target, framebuffer) {
  11798. GLctx.bindFramebuffer(target, framebuffer ? GL.framebuffers[framebuffer] : null);
  11799. }
  11800. function _glBindRenderbuffer(target, renderbuffer) {
  11801. GLctx.bindRenderbuffer(target, renderbuffer ? GL.renderbuffers[renderbuffer] : null);
  11802. }
  11803. function _glBindSampler(unit, sampler) {
  11804. GLctx["bindSampler"](unit, sampler ? GL.samplers[sampler] : null);
  11805. }
  11806. function _glBindTexture(target, texture) {
  11807. GLctx.bindTexture(target, texture ? GL.textures[texture] : null);
  11808. }
  11809. function _glBindTransformFeedback(target, id) {
  11810. var transformFeedback = id ? GL.transformFeedbacks[id] : null;
  11811. if (id && !transformFeedback) {
  11812. GL.recordError(1282);
  11813. return;
  11814. }
  11815. GLctx["bindTransformFeedback"](target, transformFeedback);
  11816. }
  11817. function _glBindVertexArray(vao) {
  11818. GLctx["bindVertexArray"](GL.vaos[vao]);
  11819. }
  11820. function _glBlendEquation(x0) {
  11821. GLctx["blendEquation"](x0);
  11822. }
  11823. function _glBlendEquationSeparate(x0, x1) {
  11824. GLctx["blendEquationSeparate"](x0, x1);
  11825. }
  11826. function _glBlendFuncSeparate(x0, x1, x2, x3) {
  11827. GLctx["blendFuncSeparate"](x0, x1, x2, x3);
  11828. }
  11829. function _glBlitFramebuffer(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) {
  11830. GLctx["blitFramebuffer"](x0, x1, x2, x3, x4, x5, x6, x7, x8, x9);
  11831. }
  11832. function _glBufferData(target, size, data, usage) {
  11833. if (!data) {
  11834. GLctx.bufferData(target, size, usage);
  11835. } else {
  11836. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11837. GLctx.bufferData(target, HEAPU8, usage, data, size);
  11838. return;
  11839. }
  11840. GLctx.bufferData(target, HEAPU8.subarray(data, data + size), usage);
  11841. }
  11842. }
  11843. function _glBufferSubData(target, offset, size, data) {
  11844. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11845. GLctx.bufferSubData(target, offset, HEAPU8, data, size);
  11846. return;
  11847. }
  11848. GLctx.bufferSubData(target, offset, HEAPU8.subarray(data, data + size));
  11849. }
  11850. function _glCheckFramebufferStatus(x0) {
  11851. return GLctx["checkFramebufferStatus"](x0);
  11852. }
  11853. function _glClear(x0) {
  11854. GLctx["clear"](x0);
  11855. }
  11856. function _glClearBufferfi(x0, x1, x2, x3) {
  11857. GLctx["clearBufferfi"](x0, x1, x2, x3);
  11858. }
  11859. function _glClearBufferfv(buffer, drawbuffer, value) {
  11860. GLctx["clearBufferfv"](buffer, drawbuffer, HEAPF32, value >> 2);
  11861. }
  11862. function _glClearBufferuiv(buffer, drawbuffer, value) {
  11863. GLctx["clearBufferuiv"](buffer, drawbuffer, HEAPU32, value >> 2);
  11864. }
  11865. function _glClearColor(x0, x1, x2, x3) {
  11866. GLctx["clearColor"](x0, x1, x2, x3);
  11867. }
  11868. function _glClearDepthf(x0) {
  11869. GLctx["clearDepth"](x0);
  11870. }
  11871. function _glClearStencil(x0) {
  11872. GLctx["clearStencil"](x0);
  11873. }
  11874. function _glClientWaitSync(sync, flags, timeoutLo, timeoutHi) {
  11875. timeoutLo = timeoutLo >>> 0;
  11876. timeoutHi = timeoutHi >>> 0;
  11877. var timeout = timeoutLo == 4294967295 && timeoutHi == 4294967295 ? -1 : makeBigInt(timeoutLo, timeoutHi, true);
  11878. return GLctx.clientWaitSync(GL.syncs[sync], flags, timeout);
  11879. }
  11880. function _glColorMask(red, green, blue, alpha) {
  11881. GLctx.colorMask(!!red, !!green, !!blue, !!alpha);
  11882. }
  11883. function _glCompileShader(shader) {
  11884. GLctx.compileShader(GL.shaders[shader]);
  11885. }
  11886. function _glCompressedTexImage2D(target, level, internalFormat, width, height, border, imageSize, data) {
  11887. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11888. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, HEAPU8, data, imageSize);
  11889. return;
  11890. }
  11891. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11892. }
  11893. function _glCompressedTexImage3D(target, level, internalFormat, width, height, depth, border, imageSize, data) {
  11894. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11895. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, HEAPU8, data, imageSize);
  11896. } else {
  11897. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11898. }
  11899. }
  11900. function _glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) {
  11901. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11902. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, HEAPU8, data, imageSize);
  11903. return;
  11904. }
  11905. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11906. }
  11907. function _glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) {
  11908. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11909. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, HEAPU8, data, imageSize);
  11910. } else {
  11911. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11912. }
  11913. }
  11914. function _glCopyBufferSubData(x0, x1, x2, x3, x4) {
  11915. GLctx["copyBufferSubData"](x0, x1, x2, x3, x4);
  11916. }
  11917. function _glCopyTexImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  11918. GLctx["copyTexImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  11919. }
  11920. function _glCopyTexSubImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  11921. GLctx["copyTexSubImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  11922. }
  11923. function _glCreateProgram() {
  11924. var id = GL.getNewId(GL.programs);
  11925. var program = GLctx.createProgram();
  11926. program.name = id;
  11927. GL.programs[id] = program;
  11928. return id;
  11929. }
  11930. function _glCreateShader(shaderType) {
  11931. var id = GL.getNewId(GL.shaders);
  11932. GL.shaders[id] = GLctx.createShader(shaderType);
  11933. return id;
  11934. }
  11935. function _glCullFace(x0) {
  11936. GLctx["cullFace"](x0);
  11937. }
  11938. function _glDeleteBuffers(n, buffers) {
  11939. for (var i = 0; i < n; i++) {
  11940. var id = HEAP32[buffers + i * 4 >> 2];
  11941. var buffer = GL.buffers[id];
  11942. if (!buffer) continue;
  11943. GLctx.deleteBuffer(buffer);
  11944. buffer.name = 0;
  11945. GL.buffers[id] = null;
  11946. if (id == GL.currArrayBuffer) GL.currArrayBuffer = 0;
  11947. if (id == GL.currElementArrayBuffer) GL.currElementArrayBuffer = 0;
  11948. }
  11949. }
  11950. function _glDeleteFramebuffers(n, framebuffers) {
  11951. for (var i = 0; i < n; ++i) {
  11952. var id = HEAP32[framebuffers + i * 4 >> 2];
  11953. var framebuffer = GL.framebuffers[id];
  11954. if (!framebuffer) continue;
  11955. GLctx.deleteFramebuffer(framebuffer);
  11956. framebuffer.name = 0;
  11957. GL.framebuffers[id] = null;
  11958. }
  11959. }
  11960. function _glDeleteProgram(id) {
  11961. if (!id) return;
  11962. var program = GL.programs[id];
  11963. if (!program) {
  11964. GL.recordError(1281);
  11965. return;
  11966. }
  11967. GLctx.deleteProgram(program);
  11968. program.name = 0;
  11969. GL.programs[id] = null;
  11970. GL.programInfos[id] = null;
  11971. }
  11972. function _glDeleteQueries(n, ids) {
  11973. for (var i = 0; i < n; i++) {
  11974. var id = HEAP32[ids + i * 4 >> 2];
  11975. var query = GL.queries[id];
  11976. if (!query) continue;
  11977. GLctx["deleteQuery"](query);
  11978. GL.queries[id] = null;
  11979. }
  11980. }
  11981. function _glDeleteRenderbuffers(n, renderbuffers) {
  11982. for (var i = 0; i < n; i++) {
  11983. var id = HEAP32[renderbuffers + i * 4 >> 2];
  11984. var renderbuffer = GL.renderbuffers[id];
  11985. if (!renderbuffer) continue;
  11986. GLctx.deleteRenderbuffer(renderbuffer);
  11987. renderbuffer.name = 0;
  11988. GL.renderbuffers[id] = null;
  11989. }
  11990. }
  11991. function _glDeleteSamplers(n, samplers) {
  11992. for (var i = 0; i < n; i++) {
  11993. var id = HEAP32[samplers + i * 4 >> 2];
  11994. var sampler = GL.samplers[id];
  11995. if (!sampler) continue;
  11996. GLctx["deleteSampler"](sampler);
  11997. sampler.name = 0;
  11998. GL.samplers[id] = null;
  11999. }
  12000. }
  12001. function _glDeleteShader(id) {
  12002. if (!id) return;
  12003. var shader = GL.shaders[id];
  12004. if (!shader) {
  12005. GL.recordError(1281);
  12006. return;
  12007. }
  12008. GLctx.deleteShader(shader);
  12009. GL.shaders[id] = null;
  12010. }
  12011. function _glDeleteSync(id) {
  12012. if (!id) return;
  12013. var sync = GL.syncs[id];
  12014. if (!sync) {
  12015. GL.recordError(1281);
  12016. return;
  12017. }
  12018. GLctx.deleteSync(sync);
  12019. sync.name = 0;
  12020. GL.syncs[id] = null;
  12021. }
  12022. function _glDeleteTextures(n, textures) {
  12023. for (var i = 0; i < n; i++) {
  12024. var id = HEAP32[textures + i * 4 >> 2];
  12025. var texture = GL.textures[id];
  12026. if (!texture) continue;
  12027. GLctx.deleteTexture(texture);
  12028. texture.name = 0;
  12029. GL.textures[id] = null;
  12030. }
  12031. }
  12032. function _glDeleteTransformFeedbacks(n, ids) {
  12033. for (var i = 0; i < n; i++) {
  12034. var id = HEAP32[ids + i * 4 >> 2];
  12035. var transformFeedback = GL.transformFeedbacks[id];
  12036. if (!transformFeedback) continue;
  12037. GLctx["deleteTransformFeedback"](transformFeedback);
  12038. transformFeedback.name = 0;
  12039. GL.transformFeedbacks[id] = null;
  12040. }
  12041. }
  12042. function _glDeleteVertexArrays(n, vaos) {
  12043. for (var i = 0; i < n; i++) {
  12044. var id = HEAP32[vaos + i * 4 >> 2];
  12045. GLctx["deleteVertexArray"](GL.vaos[id]);
  12046. GL.vaos[id] = null;
  12047. }
  12048. }
  12049. function _glDepthFunc(x0) {
  12050. GLctx["depthFunc"](x0);
  12051. }
  12052. function _glDepthMask(flag) {
  12053. GLctx.depthMask(!!flag);
  12054. }
  12055. function _glDetachShader(program, shader) {
  12056. GLctx.detachShader(GL.programs[program], GL.shaders[shader]);
  12057. }
  12058. function _glDisable(x0) {
  12059. GLctx["disable"](x0);
  12060. }
  12061. function _glDisableVertexAttribArray(index) {
  12062. GLctx.disableVertexAttribArray(index);
  12063. }
  12064. function _glDrawArrays(mode, first, count) {
  12065. GLctx.drawArrays(mode, first, count);
  12066. }
  12067. function _glDrawArraysInstanced(mode, first, count, primcount) {
  12068. GLctx["drawArraysInstanced"](mode, first, count, primcount);
  12069. }
  12070. function _glDrawBuffers(n, bufs) {
  12071. var bufArray = GL.tempFixedLengthArray[n];
  12072. for (var i = 0; i < n; i++) {
  12073. bufArray[i] = HEAP32[bufs + i * 4 >> 2];
  12074. }
  12075. GLctx["drawBuffers"](bufArray);
  12076. }
  12077. function _glDrawElements(mode, count, type, indices) {
  12078. GLctx.drawElements(mode, count, type, indices);
  12079. }
  12080. function _glDrawElementsInstanced(mode, count, type, indices, primcount) {
  12081. GLctx["drawElementsInstanced"](mode, count, type, indices, primcount);
  12082. }
  12083. function _glEnable(x0) {
  12084. GLctx["enable"](x0);
  12085. }
  12086. function _glEnableVertexAttribArray(index) {
  12087. GLctx.enableVertexAttribArray(index);
  12088. }
  12089. function _glEndQuery(x0) {
  12090. GLctx["endQuery"](x0);
  12091. }
  12092. function _glEndTransformFeedback() {
  12093. GLctx["endTransformFeedback"]();
  12094. }
  12095. function _glFenceSync(condition, flags) {
  12096. var sync = GLctx.fenceSync(condition, flags);
  12097. if (sync) {
  12098. var id = GL.getNewId(GL.syncs);
  12099. sync.name = id;
  12100. GL.syncs[id] = sync;
  12101. return id;
  12102. } else {
  12103. return 0;
  12104. }
  12105. }
  12106. function _glFinish() {
  12107. GLctx["finish"]();
  12108. }
  12109. function _glFlush() {
  12110. GLctx["flush"]();
  12111. }
  12112. function emscriptenWebGLGetBufferBinding(target) {
  12113. switch (target) {
  12114. case 34962:
  12115. target = 34964;
  12116. break;
  12117. case 34963:
  12118. target = 34965;
  12119. break;
  12120. case 35051:
  12121. target = 35053;
  12122. break;
  12123. case 35052:
  12124. target = 35055;
  12125. break;
  12126. case 35982:
  12127. target = 35983;
  12128. break;
  12129. case 36662:
  12130. target = 36662;
  12131. break;
  12132. case 36663:
  12133. target = 36663;
  12134. break;
  12135. case 35345:
  12136. target = 35368;
  12137. break;
  12138. }
  12139. var buffer = GLctx.getParameter(target);
  12140. if (buffer) return buffer.name | 0; else return 0;
  12141. }
  12142. function emscriptenWebGLValidateMapBufferTarget(target) {
  12143. switch (target) {
  12144. case 34962:
  12145. case 34963:
  12146. case 36662:
  12147. case 36663:
  12148. case 35051:
  12149. case 35052:
  12150. case 35882:
  12151. case 35982:
  12152. case 35345:
  12153. return true;
  12154. default:
  12155. return false;
  12156. }
  12157. }
  12158. function _glFlushMappedBufferRange(target, offset, length) {
  12159. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  12160. GL.recordError(1280);
  12161. err("GL_INVALID_ENUM in glFlushMappedBufferRange");
  12162. return;
  12163. }
  12164. var mapping = GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)];
  12165. if (!mapping) {
  12166. GL.recordError(1282);
  12167. Module.printError("buffer was never mapped in glFlushMappedBufferRange");
  12168. return;
  12169. }
  12170. if (!(mapping.access & 16)) {
  12171. GL.recordError(1282);
  12172. Module.printError("buffer was not mapped with GL_MAP_FLUSH_EXPLICIT_BIT in glFlushMappedBufferRange");
  12173. return;
  12174. }
  12175. if (offset < 0 || length < 0 || offset + length > mapping.length) {
  12176. GL.recordError(1281);
  12177. Module.printError("invalid range in glFlushMappedBufferRange");
  12178. return;
  12179. }
  12180. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem + offset, mapping.mem + offset + length));
  12181. }
  12182. function _glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) {
  12183. GLctx.framebufferRenderbuffer(target, attachment, renderbuffertarget, GL.renderbuffers[renderbuffer]);
  12184. }
  12185. function _glFramebufferTexture2D(target, attachment, textarget, texture, level) {
  12186. GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
  12187. }
  12188. function _glFramebufferTextureLayer(target, attachment, texture, level, layer) {
  12189. GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer);
  12190. }
  12191. function _glFrontFace(x0) {
  12192. GLctx["frontFace"](x0);
  12193. }
  12194. function _glGenBuffers(n, buffers) {
  12195. for (var i = 0; i < n; i++) {
  12196. var buffer = GLctx.createBuffer();
  12197. if (!buffer) {
  12198. GL.recordError(1282);
  12199. while (i < n) HEAP32[buffers + i++ * 4 >> 2] = 0;
  12200. return;
  12201. }
  12202. var id = GL.getNewId(GL.buffers);
  12203. buffer.name = id;
  12204. GL.buffers[id] = buffer;
  12205. HEAP32[buffers + i * 4 >> 2] = id;
  12206. }
  12207. }
  12208. function _glGenFramebuffers(n, ids) {
  12209. for (var i = 0; i < n; ++i) {
  12210. var framebuffer = GLctx.createFramebuffer();
  12211. if (!framebuffer) {
  12212. GL.recordError(1282);
  12213. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12214. return;
  12215. }
  12216. var id = GL.getNewId(GL.framebuffers);
  12217. framebuffer.name = id;
  12218. GL.framebuffers[id] = framebuffer;
  12219. HEAP32[ids + i * 4 >> 2] = id;
  12220. }
  12221. }
  12222. function _glGenQueries(n, ids) {
  12223. for (var i = 0; i < n; i++) {
  12224. var query = GLctx["createQuery"]();
  12225. if (!query) {
  12226. GL.recordError(1282);
  12227. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12228. return;
  12229. }
  12230. var id = GL.getNewId(GL.queries);
  12231. query.name = id;
  12232. GL.queries[id] = query;
  12233. HEAP32[ids + i * 4 >> 2] = id;
  12234. }
  12235. }
  12236. function _glGenRenderbuffers(n, renderbuffers) {
  12237. for (var i = 0; i < n; i++) {
  12238. var renderbuffer = GLctx.createRenderbuffer();
  12239. if (!renderbuffer) {
  12240. GL.recordError(1282);
  12241. while (i < n) HEAP32[renderbuffers + i++ * 4 >> 2] = 0;
  12242. return;
  12243. }
  12244. var id = GL.getNewId(GL.renderbuffers);
  12245. renderbuffer.name = id;
  12246. GL.renderbuffers[id] = renderbuffer;
  12247. HEAP32[renderbuffers + i * 4 >> 2] = id;
  12248. }
  12249. }
  12250. function _glGenSamplers(n, samplers) {
  12251. for (var i = 0; i < n; i++) {
  12252. var sampler = GLctx["createSampler"]();
  12253. if (!sampler) {
  12254. GL.recordError(1282);
  12255. while (i < n) HEAP32[samplers + i++ * 4 >> 2] = 0;
  12256. return;
  12257. }
  12258. var id = GL.getNewId(GL.samplers);
  12259. sampler.name = id;
  12260. GL.samplers[id] = sampler;
  12261. HEAP32[samplers + i * 4 >> 2] = id;
  12262. }
  12263. }
  12264. function _glGenTextures(n, textures) {
  12265. for (var i = 0; i < n; i++) {
  12266. var texture = GLctx.createTexture();
  12267. if (!texture) {
  12268. GL.recordError(1282);
  12269. while (i < n) HEAP32[textures + i++ * 4 >> 2] = 0;
  12270. return;
  12271. }
  12272. var id = GL.getNewId(GL.textures);
  12273. texture.name = id;
  12274. GL.textures[id] = texture;
  12275. HEAP32[textures + i * 4 >> 2] = id;
  12276. }
  12277. }
  12278. function _glGenTransformFeedbacks(n, ids) {
  12279. for (var i = 0; i < n; i++) {
  12280. var transformFeedback = GLctx["createTransformFeedback"]();
  12281. if (!transformFeedback) {
  12282. GL.recordError(1282);
  12283. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12284. return;
  12285. }
  12286. var id = GL.getNewId(GL.transformFeedbacks);
  12287. transformFeedback.name = id;
  12288. GL.transformFeedbacks[id] = transformFeedback;
  12289. HEAP32[ids + i * 4 >> 2] = id;
  12290. }
  12291. }
  12292. function _glGenVertexArrays(n, arrays) {
  12293. for (var i = 0; i < n; i++) {
  12294. var vao = GLctx["createVertexArray"]();
  12295. if (!vao) {
  12296. GL.recordError(1282);
  12297. while (i < n) HEAP32[arrays + i++ * 4 >> 2] = 0;
  12298. return;
  12299. }
  12300. var id = GL.getNewId(GL.vaos);
  12301. vao.name = id;
  12302. GL.vaos[id] = vao;
  12303. HEAP32[arrays + i * 4 >> 2] = id;
  12304. }
  12305. }
  12306. function _glGenerateMipmap(x0) {
  12307. GLctx["generateMipmap"](x0);
  12308. }
  12309. function _glGetActiveAttrib(program, index, bufSize, length, size, type, name) {
  12310. program = GL.programs[program];
  12311. var info = GLctx.getActiveAttrib(program, index);
  12312. if (!info) return;
  12313. if (bufSize > 0 && name) {
  12314. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12315. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12316. } else {
  12317. if (length) HEAP32[length >> 2] = 0;
  12318. }
  12319. if (size) HEAP32[size >> 2] = info.size;
  12320. if (type) HEAP32[type >> 2] = info.type;
  12321. }
  12322. function _glGetActiveUniform(program, index, bufSize, length, size, type, name) {
  12323. program = GL.programs[program];
  12324. var info = GLctx.getActiveUniform(program, index);
  12325. if (!info) return;
  12326. if (bufSize > 0 && name) {
  12327. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12328. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12329. } else {
  12330. if (length) HEAP32[length >> 2] = 0;
  12331. }
  12332. if (size) HEAP32[size >> 2] = info.size;
  12333. if (type) HEAP32[type >> 2] = info.type;
  12334. }
  12335. function _glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) {
  12336. program = GL.programs[program];
  12337. var result = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12338. if (!result) return;
  12339. if (uniformBlockName && bufSize > 0) {
  12340. var numBytesWrittenExclNull = stringToUTF8(result, uniformBlockName, bufSize);
  12341. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12342. } else {
  12343. if (length) HEAP32[length >> 2] = 0;
  12344. }
  12345. }
  12346. function _glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params) {
  12347. if (!params) {
  12348. GL.recordError(1281);
  12349. return;
  12350. }
  12351. program = GL.programs[program];
  12352. switch (pname) {
  12353. case 35393:
  12354. var name = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12355. HEAP32[params >> 2] = name.length + 1;
  12356. return;
  12357. default:
  12358. var result = GLctx["getActiveUniformBlockParameter"](program, uniformBlockIndex, pname);
  12359. if (!result) return;
  12360. if (typeof result == "number") {
  12361. HEAP32[params >> 2] = result;
  12362. } else {
  12363. for (var i = 0; i < result.length; i++) {
  12364. HEAP32[params + i * 4 >> 2] = result[i];
  12365. }
  12366. }
  12367. }
  12368. }
  12369. function _glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params) {
  12370. if (!params) {
  12371. GL.recordError(1281);
  12372. return;
  12373. }
  12374. if (uniformCount > 0 && uniformIndices == 0) {
  12375. GL.recordError(1281);
  12376. return;
  12377. }
  12378. program = GL.programs[program];
  12379. var ids = [];
  12380. for (var i = 0; i < uniformCount; i++) {
  12381. ids.push(HEAP32[uniformIndices + i * 4 >> 2]);
  12382. }
  12383. var result = GLctx["getActiveUniforms"](program, ids, pname);
  12384. if (!result) return;
  12385. var len = result.length;
  12386. for (var i = 0; i < len; i++) {
  12387. HEAP32[params + i * 4 >> 2] = result[i];
  12388. }
  12389. }
  12390. function _glGetAttribLocation(program, name) {
  12391. return GLctx.getAttribLocation(GL.programs[program], Pointer_stringify(name));
  12392. }
  12393. function _glGetError() {
  12394. if (GL.lastError) {
  12395. var error = GL.lastError;
  12396. GL.lastError = 0;
  12397. return error;
  12398. } else {
  12399. return GLctx.getError();
  12400. }
  12401. }
  12402. function _glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) {
  12403. var result = GLctx.getFramebufferAttachmentParameter(target, attachment, pname);
  12404. if (result instanceof WebGLRenderbuffer || result instanceof WebGLTexture) {
  12405. result = result.name | 0;
  12406. }
  12407. HEAP32[params >> 2] = result;
  12408. }
  12409. function emscriptenWebGLGetIndexed(target, index, data, type) {
  12410. if (!data) {
  12411. GL.recordError(1281);
  12412. return;
  12413. }
  12414. var result = GLctx["getIndexedParameter"](target, index);
  12415. var ret;
  12416. switch (typeof result) {
  12417. case "boolean":
  12418. ret = result ? 1 : 0;
  12419. break;
  12420. case "number":
  12421. ret = result;
  12422. break;
  12423. case "object":
  12424. if (result === null) {
  12425. switch (target) {
  12426. case 35983:
  12427. case 35368:
  12428. ret = 0;
  12429. break;
  12430. default:
  12431. {
  12432. GL.recordError(1280);
  12433. return;
  12434. }
  12435. }
  12436. } else if (result instanceof WebGLBuffer) {
  12437. ret = result.name | 0;
  12438. } else {
  12439. GL.recordError(1280);
  12440. return;
  12441. }
  12442. break;
  12443. default:
  12444. GL.recordError(1280);
  12445. return;
  12446. }
  12447. switch (type) {
  12448. case "Integer64":
  12449. 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];
  12450. break;
  12451. case "Integer":
  12452. HEAP32[data >> 2] = ret;
  12453. break;
  12454. case "Float":
  12455. HEAPF32[data >> 2] = ret;
  12456. break;
  12457. case "Boolean":
  12458. HEAP8[data >> 0] = ret ? 1 : 0;
  12459. break;
  12460. default:
  12461. throw "internal emscriptenWebGLGetIndexed() error, bad type: " + type;
  12462. }
  12463. }
  12464. function _glGetIntegeri_v(target, index, data) {
  12465. emscriptenWebGLGetIndexed(target, index, data, "Integer");
  12466. }
  12467. function emscriptenWebGLGet(name_, p, type) {
  12468. if (!p) {
  12469. GL.recordError(1281);
  12470. return;
  12471. }
  12472. var ret = undefined;
  12473. switch (name_) {
  12474. case 36346:
  12475. ret = 1;
  12476. break;
  12477. case 36344:
  12478. if (type !== "Integer" && type !== "Integer64") {
  12479. GL.recordError(1280);
  12480. }
  12481. return;
  12482. case 34814:
  12483. case 36345:
  12484. ret = 0;
  12485. break;
  12486. case 34466:
  12487. var formats = GLctx.getParameter(34467);
  12488. ret = formats.length;
  12489. break;
  12490. case 33309:
  12491. if (GLctx.canvas.GLctxObject.version < 2) {
  12492. GL.recordError(1282);
  12493. return;
  12494. }
  12495. var exts = GLctx.getSupportedExtensions();
  12496. ret = 2 * exts.length;
  12497. break;
  12498. case 33307:
  12499. case 33308:
  12500. if (GLctx.canvas.GLctxObject.version < 2) {
  12501. GL.recordError(1280);
  12502. return;
  12503. }
  12504. ret = name_ == 33307 ? 3 : 0;
  12505. break;
  12506. }
  12507. if (ret === undefined) {
  12508. var result = GLctx.getParameter(name_);
  12509. switch (typeof result) {
  12510. case "number":
  12511. ret = result;
  12512. break;
  12513. case "boolean":
  12514. ret = result ? 1 : 0;
  12515. break;
  12516. case "string":
  12517. GL.recordError(1280);
  12518. return;
  12519. case "object":
  12520. if (result === null) {
  12521. switch (name_) {
  12522. case 34964:
  12523. case 35725:
  12524. case 34965:
  12525. case 36006:
  12526. case 36007:
  12527. case 32873:
  12528. case 34229:
  12529. case 35097:
  12530. case 36389:
  12531. case 34068:
  12532. {
  12533. ret = 0;
  12534. break;
  12535. }
  12536. default:
  12537. {
  12538. GL.recordError(1280);
  12539. return;
  12540. }
  12541. }
  12542. } else if (result instanceof Float32Array || result instanceof Uint32Array || result instanceof Int32Array || result instanceof Array) {
  12543. for (var i = 0; i < result.length; ++i) {
  12544. switch (type) {
  12545. case "Integer":
  12546. HEAP32[p + i * 4 >> 2] = result[i];
  12547. break;
  12548. case "Float":
  12549. HEAPF32[p + i * 4 >> 2] = result[i];
  12550. break;
  12551. case "Boolean":
  12552. HEAP8[p + i >> 0] = result[i] ? 1 : 0;
  12553. break;
  12554. default:
  12555. throw "internal glGet error, bad type: " + type;
  12556. }
  12557. }
  12558. return;
  12559. } 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) {
  12560. ret = result.name | 0;
  12561. } else {
  12562. GL.recordError(1280);
  12563. return;
  12564. }
  12565. break;
  12566. default:
  12567. GL.recordError(1280);
  12568. return;
  12569. }
  12570. }
  12571. switch (type) {
  12572. case "Integer64":
  12573. 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];
  12574. break;
  12575. case "Integer":
  12576. HEAP32[p >> 2] = ret;
  12577. break;
  12578. case "Float":
  12579. HEAPF32[p >> 2] = ret;
  12580. break;
  12581. case "Boolean":
  12582. HEAP8[p >> 0] = ret ? 1 : 0;
  12583. break;
  12584. default:
  12585. throw "internal glGet error, bad type: " + type;
  12586. }
  12587. }
  12588. function _glGetIntegerv(name_, p) {
  12589. emscriptenWebGLGet(name_, p, "Integer");
  12590. }
  12591. function _glGetInternalformativ(target, internalformat, pname, bufSize, params) {
  12592. if (bufSize < 0) {
  12593. GL.recordError(1281);
  12594. return;
  12595. }
  12596. var samples = GLctx["getInternalformatParameter"](target, internalformat, 32937);
  12597. if (!samples) {
  12598. GL.recordError(1280);
  12599. return;
  12600. }
  12601. switch (pname) {
  12602. case 32937:
  12603. var n = Math.min(bufSize, samples.length);
  12604. for (var i = 0; i < n; i++) {
  12605. var v = samples[i];
  12606. HEAP32[params + i * 4 >> 2] = v;
  12607. }
  12608. break;
  12609. case 37760:
  12610. if (bufSize > 1) {
  12611. var v = samples.length;
  12612. HEAP32[params >> 2] = v;
  12613. }
  12614. break;
  12615. default:
  12616. GL.recordError(1280);
  12617. }
  12618. }
  12619. function _glGetProgramBinary(program, bufSize, length, binaryFormat, binary) {
  12620. GL.recordError(1282);
  12621. }
  12622. function _glGetProgramInfoLog(program, maxLength, length, infoLog) {
  12623. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12624. if (log === null) log = "(unknown error)";
  12625. if (maxLength > 0 && infoLog) {
  12626. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12627. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12628. } else {
  12629. if (length) HEAP32[length >> 2] = 0;
  12630. }
  12631. }
  12632. function _glGetProgramiv(program, pname, p) {
  12633. if (!p) {
  12634. GL.recordError(1281);
  12635. return;
  12636. }
  12637. if (program >= GL.counter) {
  12638. GL.recordError(1281);
  12639. return;
  12640. }
  12641. var ptable = GL.programInfos[program];
  12642. if (!ptable) {
  12643. GL.recordError(1282);
  12644. return;
  12645. }
  12646. if (pname == 35716) {
  12647. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12648. if (log === null) log = "(unknown error)";
  12649. HEAP32[p >> 2] = log.length + 1;
  12650. } else if (pname == 35719) {
  12651. HEAP32[p >> 2] = ptable.maxUniformLength;
  12652. } else if (pname == 35722) {
  12653. if (ptable.maxAttributeLength == -1) {
  12654. program = GL.programs[program];
  12655. var numAttribs = GLctx.getProgramParameter(program, GLctx.ACTIVE_ATTRIBUTES);
  12656. ptable.maxAttributeLength = 0;
  12657. for (var i = 0; i < numAttribs; ++i) {
  12658. var activeAttrib = GLctx.getActiveAttrib(program, i);
  12659. ptable.maxAttributeLength = Math.max(ptable.maxAttributeLength, activeAttrib.name.length + 1);
  12660. }
  12661. }
  12662. HEAP32[p >> 2] = ptable.maxAttributeLength;
  12663. } else if (pname == 35381) {
  12664. if (ptable.maxUniformBlockNameLength == -1) {
  12665. program = GL.programs[program];
  12666. var numBlocks = GLctx.getProgramParameter(program, GLctx.ACTIVE_UNIFORM_BLOCKS);
  12667. ptable.maxUniformBlockNameLength = 0;
  12668. for (var i = 0; i < numBlocks; ++i) {
  12669. var activeBlockName = GLctx.getActiveUniformBlockName(program, i);
  12670. ptable.maxUniformBlockNameLength = Math.max(ptable.maxUniformBlockNameLength, activeBlockName.length + 1);
  12671. }
  12672. }
  12673. HEAP32[p >> 2] = ptable.maxUniformBlockNameLength;
  12674. } else {
  12675. HEAP32[p >> 2] = GLctx.getProgramParameter(GL.programs[program], pname);
  12676. }
  12677. }
  12678. function _glGetQueryObjectuiv(id, pname, params) {
  12679. if (!params) {
  12680. GL.recordError(1281);
  12681. return;
  12682. }
  12683. var query = GL.queries[id];
  12684. var param = GLctx["getQueryParameter"](query, pname);
  12685. var ret;
  12686. if (typeof param == "boolean") {
  12687. ret = param ? 1 : 0;
  12688. } else {
  12689. ret = param;
  12690. }
  12691. HEAP32[params >> 2] = ret;
  12692. }
  12693. function _glGetQueryiv(target, pname, params) {
  12694. if (!params) {
  12695. GL.recordError(1281);
  12696. return;
  12697. }
  12698. HEAP32[params >> 2] = GLctx["getQuery"](target, pname);
  12699. }
  12700. function _glGetRenderbufferParameteriv(target, pname, params) {
  12701. if (!params) {
  12702. GL.recordError(1281);
  12703. return;
  12704. }
  12705. HEAP32[params >> 2] = GLctx.getRenderbufferParameter(target, pname);
  12706. }
  12707. function _glGetShaderInfoLog(shader, maxLength, length, infoLog) {
  12708. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12709. if (log === null) log = "(unknown error)";
  12710. if (maxLength > 0 && infoLog) {
  12711. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12712. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12713. } else {
  12714. if (length) HEAP32[length >> 2] = 0;
  12715. }
  12716. }
  12717. function _glGetShaderPrecisionFormat(shaderType, precisionType, range, precision) {
  12718. var result = GLctx.getShaderPrecisionFormat(shaderType, precisionType);
  12719. HEAP32[range >> 2] = result.rangeMin;
  12720. HEAP32[range + 4 >> 2] = result.rangeMax;
  12721. HEAP32[precision >> 2] = result.precision;
  12722. }
  12723. function _glGetShaderSource(shader, bufSize, length, source) {
  12724. var result = GLctx.getShaderSource(GL.shaders[shader]);
  12725. if (!result) return;
  12726. if (bufSize > 0 && source) {
  12727. var numBytesWrittenExclNull = stringToUTF8(result, source, bufSize);
  12728. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12729. } else {
  12730. if (length) HEAP32[length >> 2] = 0;
  12731. }
  12732. }
  12733. function _glGetShaderiv(shader, pname, p) {
  12734. if (!p) {
  12735. GL.recordError(1281);
  12736. return;
  12737. }
  12738. if (pname == 35716) {
  12739. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12740. if (log === null) log = "(unknown error)";
  12741. HEAP32[p >> 2] = log.length + 1;
  12742. } else if (pname == 35720) {
  12743. var source = GLctx.getShaderSource(GL.shaders[shader]);
  12744. var sourceLength = source === null || source.length == 0 ? 0 : source.length + 1;
  12745. HEAP32[p >> 2] = sourceLength;
  12746. } else {
  12747. HEAP32[p >> 2] = GLctx.getShaderParameter(GL.shaders[shader], pname);
  12748. }
  12749. }
  12750. function _glGetString(name_) {
  12751. if (GL.stringCache[name_]) return GL.stringCache[name_];
  12752. var ret;
  12753. switch (name_) {
  12754. case 7936:
  12755. case 7937:
  12756. case 37445:
  12757. case 37446:
  12758. ret = allocate(intArrayFromString(GLctx.getParameter(name_)), "i8", ALLOC_NORMAL);
  12759. break;
  12760. case 7938:
  12761. var glVersion = GLctx.getParameter(GLctx.VERSION);
  12762. if (GLctx.canvas.GLctxObject.version >= 2) glVersion = "OpenGL ES 3.0 (" + glVersion + ")"; else {
  12763. glVersion = "OpenGL ES 2.0 (" + glVersion + ")";
  12764. }
  12765. ret = allocate(intArrayFromString(glVersion), "i8", ALLOC_NORMAL);
  12766. break;
  12767. case 7939:
  12768. var exts = GLctx.getSupportedExtensions();
  12769. var gl_exts = [];
  12770. for (var i = 0; i < exts.length; ++i) {
  12771. gl_exts.push(exts[i]);
  12772. gl_exts.push("GL_" + exts[i]);
  12773. }
  12774. ret = allocate(intArrayFromString(gl_exts.join(" ")), "i8", ALLOC_NORMAL);
  12775. break;
  12776. case 35724:
  12777. var glslVersion = GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);
  12778. var ver_re = /^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;
  12779. var ver_num = glslVersion.match(ver_re);
  12780. if (ver_num !== null) {
  12781. if (ver_num[1].length == 3) ver_num[1] = ver_num[1] + "0";
  12782. glslVersion = "OpenGL ES GLSL ES " + ver_num[1] + " (" + glslVersion + ")";
  12783. }
  12784. ret = allocate(intArrayFromString(glslVersion), "i8", ALLOC_NORMAL);
  12785. break;
  12786. default:
  12787. GL.recordError(1280);
  12788. return 0;
  12789. }
  12790. GL.stringCache[name_] = ret;
  12791. return ret;
  12792. }
  12793. function _glGetStringi(name, index) {
  12794. if (GLctx.canvas.GLctxObject.version < 2) {
  12795. GL.recordError(1282);
  12796. return 0;
  12797. }
  12798. var stringiCache = GL.stringiCache[name];
  12799. if (stringiCache) {
  12800. if (index < 0 || index >= stringiCache.length) {
  12801. GL.recordError(1281);
  12802. return 0;
  12803. }
  12804. return stringiCache[index];
  12805. }
  12806. switch (name) {
  12807. case 7939:
  12808. var exts = GLctx.getSupportedExtensions();
  12809. var gl_exts = [];
  12810. for (var i = 0; i < exts.length; ++i) {
  12811. gl_exts.push(allocate(intArrayFromString(exts[i]), "i8", ALLOC_NORMAL));
  12812. gl_exts.push(allocate(intArrayFromString("GL_" + exts[i]), "i8", ALLOC_NORMAL));
  12813. }
  12814. stringiCache = GL.stringiCache[name] = gl_exts;
  12815. if (index < 0 || index >= stringiCache.length) {
  12816. GL.recordError(1281);
  12817. return 0;
  12818. }
  12819. return stringiCache[index];
  12820. default:
  12821. GL.recordError(1280);
  12822. return 0;
  12823. }
  12824. }
  12825. function _glGetTexParameteriv(target, pname, params) {
  12826. if (!params) {
  12827. GL.recordError(1281);
  12828. return;
  12829. }
  12830. HEAP32[params >> 2] = GLctx.getTexParameter(target, pname);
  12831. }
  12832. function _glGetUniformBlockIndex(program, uniformBlockName) {
  12833. program = GL.programs[program];
  12834. uniformBlockName = Pointer_stringify(uniformBlockName);
  12835. return GLctx["getUniformBlockIndex"](program, uniformBlockName);
  12836. }
  12837. function _glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices) {
  12838. if (!uniformIndices) {
  12839. GL.recordError(1281);
  12840. return;
  12841. }
  12842. if (uniformCount > 0 && (uniformNames == 0 || uniformIndices == 0)) {
  12843. GL.recordError(1281);
  12844. return;
  12845. }
  12846. program = GL.programs[program];
  12847. var names = [];
  12848. for (var i = 0; i < uniformCount; i++) names.push(Pointer_stringify(HEAP32[uniformNames + i * 4 >> 2]));
  12849. var result = GLctx["getUniformIndices"](program, names);
  12850. if (!result) return;
  12851. var len = result.length;
  12852. for (var i = 0; i < len; i++) {
  12853. HEAP32[uniformIndices + i * 4 >> 2] = result[i];
  12854. }
  12855. }
  12856. function _glGetUniformLocation(program, name) {
  12857. name = Pointer_stringify(name);
  12858. var arrayOffset = 0;
  12859. if (name.indexOf("]", name.length - 1) !== -1) {
  12860. var ls = name.lastIndexOf("[");
  12861. var arrayIndex = name.slice(ls + 1, -1);
  12862. if (arrayIndex.length > 0) {
  12863. arrayOffset = parseInt(arrayIndex);
  12864. if (arrayOffset < 0) {
  12865. return -1;
  12866. }
  12867. }
  12868. name = name.slice(0, ls);
  12869. }
  12870. var ptable = GL.programInfos[program];
  12871. if (!ptable) {
  12872. return -1;
  12873. }
  12874. var utable = ptable.uniforms;
  12875. var uniformInfo = utable[name];
  12876. if (uniformInfo && arrayOffset < uniformInfo[0]) {
  12877. return uniformInfo[1] + arrayOffset;
  12878. } else {
  12879. return -1;
  12880. }
  12881. }
  12882. function emscriptenWebGLGetUniform(program, location, params, type) {
  12883. if (!params) {
  12884. GL.recordError(1281);
  12885. return;
  12886. }
  12887. var data = GLctx.getUniform(GL.programs[program], GL.uniforms[location]);
  12888. if (typeof data == "number" || typeof data == "boolean") {
  12889. switch (type) {
  12890. case "Integer":
  12891. HEAP32[params >> 2] = data;
  12892. break;
  12893. case "Float":
  12894. HEAPF32[params >> 2] = data;
  12895. break;
  12896. default:
  12897. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12898. }
  12899. } else {
  12900. for (var i = 0; i < data.length; i++) {
  12901. switch (type) {
  12902. case "Integer":
  12903. HEAP32[params + i * 4 >> 2] = data[i];
  12904. break;
  12905. case "Float":
  12906. HEAPF32[params + i * 4 >> 2] = data[i];
  12907. break;
  12908. default:
  12909. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12910. }
  12911. }
  12912. }
  12913. }
  12914. function _glGetUniformiv(program, location, params) {
  12915. emscriptenWebGLGetUniform(program, location, params, "Integer");
  12916. }
  12917. function emscriptenWebGLGetVertexAttrib(index, pname, params, type) {
  12918. if (!params) {
  12919. GL.recordError(1281);
  12920. return;
  12921. }
  12922. var data = GLctx.getVertexAttrib(index, pname);
  12923. if (pname == 34975) {
  12924. HEAP32[params >> 2] = data["name"];
  12925. } else if (typeof data == "number" || typeof data == "boolean") {
  12926. switch (type) {
  12927. case "Integer":
  12928. HEAP32[params >> 2] = data;
  12929. break;
  12930. case "Float":
  12931. HEAPF32[params >> 2] = data;
  12932. break;
  12933. case "FloatToInteger":
  12934. HEAP32[params >> 2] = Math.fround(data);
  12935. break;
  12936. default:
  12937. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  12938. }
  12939. } else {
  12940. for (var i = 0; i < data.length; i++) {
  12941. switch (type) {
  12942. case "Integer":
  12943. HEAP32[params + i * 4 >> 2] = data[i];
  12944. break;
  12945. case "Float":
  12946. HEAPF32[params + i * 4 >> 2] = data[i];
  12947. break;
  12948. case "FloatToInteger":
  12949. HEAP32[params + i * 4 >> 2] = Math.fround(data[i]);
  12950. break;
  12951. default:
  12952. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  12953. }
  12954. }
  12955. }
  12956. }
  12957. function _glGetVertexAttribiv(index, pname, params) {
  12958. emscriptenWebGLGetVertexAttrib(index, pname, params, "FloatToInteger");
  12959. }
  12960. function _glInvalidateFramebuffer(target, numAttachments, attachments) {
  12961. var list = GL.tempFixedLengthArray[numAttachments];
  12962. for (var i = 0; i < numAttachments; i++) {
  12963. list[i] = HEAP32[attachments + i * 4 >> 2];
  12964. }
  12965. GLctx["invalidateFramebuffer"](target, list);
  12966. }
  12967. function _glIsEnabled(x0) {
  12968. return GLctx["isEnabled"](x0);
  12969. }
  12970. function _glIsVertexArray(array) {
  12971. var vao = GL.vaos[array];
  12972. if (!vao) return 0;
  12973. return GLctx["isVertexArray"](vao);
  12974. }
  12975. function _glLinkProgram(program) {
  12976. GLctx.linkProgram(GL.programs[program]);
  12977. GL.programInfos[program] = null;
  12978. GL.populateUniformTable(program);
  12979. }
  12980. function _glMapBufferRange(target, offset, length, access) {
  12981. if (access != 26 && access != 10) {
  12982. err("glMapBufferRange is only supported when access is MAP_WRITE|INVALIDATE_BUFFER");
  12983. return 0;
  12984. }
  12985. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  12986. GL.recordError(1280);
  12987. err("GL_INVALID_ENUM in glMapBufferRange");
  12988. return 0;
  12989. }
  12990. var mem = _malloc(length);
  12991. if (!mem) return 0;
  12992. GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)] = {
  12993. offset: offset,
  12994. length: length,
  12995. mem: mem,
  12996. access: access
  12997. };
  12998. return mem;
  12999. }
  13000. function _glPixelStorei(pname, param) {
  13001. if (pname == 3333) {
  13002. GL.packAlignment = param;
  13003. } else if (pname == 3317) {
  13004. GL.unpackAlignment = param;
  13005. }
  13006. GLctx.pixelStorei(pname, param);
  13007. }
  13008. function _glPolygonOffset(x0, x1) {
  13009. GLctx["polygonOffset"](x0, x1);
  13010. }
  13011. function _glProgramBinary(program, binaryFormat, binary, length) {
  13012. GL.recordError(1280);
  13013. }
  13014. function _glProgramParameteri(program, pname, value) {
  13015. GL.recordError(1280);
  13016. }
  13017. function _glReadBuffer(x0) {
  13018. GLctx["readBuffer"](x0);
  13019. }
  13020. function emscriptenWebGLComputeImageSize(width, height, sizePerPixel, alignment) {
  13021. function roundedToNextMultipleOf(x, y) {
  13022. return Math.floor((x + y - 1) / y) * y;
  13023. }
  13024. var plainRowSize = width * sizePerPixel;
  13025. var alignedRowSize = roundedToNextMultipleOf(plainRowSize, alignment);
  13026. return height <= 0 ? 0 : (height - 1) * alignedRowSize + plainRowSize;
  13027. }
  13028. function emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) {
  13029. var sizePerPixel;
  13030. var numChannels;
  13031. switch (format) {
  13032. case 6406:
  13033. case 6409:
  13034. case 6402:
  13035. case 6403:
  13036. case 36244:
  13037. numChannels = 1;
  13038. break;
  13039. case 6410:
  13040. case 33319:
  13041. case 33320:
  13042. numChannels = 2;
  13043. break;
  13044. case 6407:
  13045. case 35904:
  13046. case 36248:
  13047. numChannels = 3;
  13048. break;
  13049. case 6408:
  13050. case 35906:
  13051. case 36249:
  13052. numChannels = 4;
  13053. break;
  13054. default:
  13055. GL.recordError(1280);
  13056. return null;
  13057. }
  13058. switch (type) {
  13059. case 5121:
  13060. case 5120:
  13061. sizePerPixel = numChannels * 1;
  13062. break;
  13063. case 5123:
  13064. case 36193:
  13065. case 5131:
  13066. case 5122:
  13067. sizePerPixel = numChannels * 2;
  13068. break;
  13069. case 5125:
  13070. case 5126:
  13071. case 5124:
  13072. sizePerPixel = numChannels * 4;
  13073. break;
  13074. case 34042:
  13075. case 35902:
  13076. case 33640:
  13077. case 35899:
  13078. case 34042:
  13079. sizePerPixel = 4;
  13080. break;
  13081. case 33635:
  13082. case 32819:
  13083. case 32820:
  13084. sizePerPixel = 2;
  13085. break;
  13086. default:
  13087. GL.recordError(1280);
  13088. return null;
  13089. }
  13090. var bytes = emscriptenWebGLComputeImageSize(width, height, sizePerPixel, GL.unpackAlignment);
  13091. switch (type) {
  13092. case 5120:
  13093. return HEAP8.subarray(pixels, pixels + bytes);
  13094. case 5121:
  13095. return HEAPU8.subarray(pixels, pixels + bytes);
  13096. case 5122:
  13097. return HEAP16.subarray(pixels >> 1, pixels + bytes >> 1);
  13098. case 5124:
  13099. return HEAP32.subarray(pixels >> 2, pixels + bytes >> 2);
  13100. case 5126:
  13101. return HEAPF32.subarray(pixels >> 2, pixels + bytes >> 2);
  13102. case 5125:
  13103. case 34042:
  13104. case 35902:
  13105. case 33640:
  13106. case 35899:
  13107. case 34042:
  13108. return HEAPU32.subarray(pixels >> 2, pixels + bytes >> 2);
  13109. case 5123:
  13110. case 33635:
  13111. case 32819:
  13112. case 32820:
  13113. case 36193:
  13114. case 5131:
  13115. return HEAPU16.subarray(pixels >> 1, pixels + bytes >> 1);
  13116. default:
  13117. GL.recordError(1280);
  13118. return null;
  13119. }
  13120. }
  13121. function emscriptenWebGLGetHeapForType(type) {
  13122. switch (type) {
  13123. case 5120:
  13124. return HEAP8;
  13125. case 5121:
  13126. return HEAPU8;
  13127. case 5122:
  13128. return HEAP16;
  13129. case 5123:
  13130. case 33635:
  13131. case 32819:
  13132. case 32820:
  13133. case 36193:
  13134. case 5131:
  13135. return HEAPU16;
  13136. case 5124:
  13137. return HEAP32;
  13138. case 5125:
  13139. case 34042:
  13140. case 35902:
  13141. case 33640:
  13142. case 35899:
  13143. case 34042:
  13144. return HEAPU32;
  13145. case 5126:
  13146. return HEAPF32;
  13147. default:
  13148. return null;
  13149. }
  13150. }
  13151. function emscriptenWebGLGetShiftForType(type) {
  13152. switch (type) {
  13153. case 5120:
  13154. case 5121:
  13155. return 0;
  13156. case 5122:
  13157. case 5123:
  13158. case 33635:
  13159. case 32819:
  13160. case 32820:
  13161. case 36193:
  13162. case 5131:
  13163. return 1;
  13164. case 5124:
  13165. case 5126:
  13166. case 5125:
  13167. case 34042:
  13168. case 35902:
  13169. case 33640:
  13170. case 35899:
  13171. case 34042:
  13172. return 2;
  13173. default:
  13174. return 0;
  13175. }
  13176. }
  13177. function _glReadPixels(x, y, width, height, format, type, pixels) {
  13178. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13179. if (GLctx.currentPixelPackBufferBinding) {
  13180. GLctx.readPixels(x, y, width, height, format, type, pixels);
  13181. } else {
  13182. GLctx.readPixels(x, y, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13183. }
  13184. return;
  13185. }
  13186. var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, format);
  13187. if (!pixelData) {
  13188. GL.recordError(1280);
  13189. return;
  13190. }
  13191. GLctx.readPixels(x, y, width, height, format, type, pixelData);
  13192. }
  13193. function _glRenderbufferStorage(x0, x1, x2, x3) {
  13194. GLctx["renderbufferStorage"](x0, x1, x2, x3);
  13195. }
  13196. function _glRenderbufferStorageMultisample(x0, x1, x2, x3, x4) {
  13197. GLctx["renderbufferStorageMultisample"](x0, x1, x2, x3, x4);
  13198. }
  13199. function _glSamplerParameteri(sampler, pname, param) {
  13200. GLctx["samplerParameteri"](sampler ? GL.samplers[sampler] : null, pname, param);
  13201. }
  13202. function _glScissor(x0, x1, x2, x3) {
  13203. GLctx["scissor"](x0, x1, x2, x3);
  13204. }
  13205. function _glShaderSource(shader, count, string, length) {
  13206. var source = GL.getSource(shader, count, string, length);
  13207. GLctx.shaderSource(GL.shaders[shader], source);
  13208. }
  13209. function _glStencilFuncSeparate(x0, x1, x2, x3) {
  13210. GLctx["stencilFuncSeparate"](x0, x1, x2, x3);
  13211. }
  13212. function _glStencilMask(x0) {
  13213. GLctx["stencilMask"](x0);
  13214. }
  13215. function _glStencilOpSeparate(x0, x1, x2, x3) {
  13216. GLctx["stencilOpSeparate"](x0, x1, x2, x3);
  13217. }
  13218. function _glTexImage2D(target, level, internalFormat, width, height, border, format, type, pixels) {
  13219. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13220. if (GLctx.currentPixelUnpackBufferBinding) {
  13221. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels);
  13222. } else if (pixels != 0) {
  13223. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13224. } else {
  13225. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, null);
  13226. }
  13227. return;
  13228. }
  13229. var pixelData = null;
  13230. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat);
  13231. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixelData);
  13232. }
  13233. function _glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels) {
  13234. if (GLctx.currentPixelUnpackBufferBinding) {
  13235. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, pixels);
  13236. } else if (pixels != 0) {
  13237. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13238. } else {
  13239. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, null);
  13240. }
  13241. }
  13242. function _glTexParameterf(x0, x1, x2) {
  13243. GLctx["texParameterf"](x0, x1, x2);
  13244. }
  13245. function _glTexParameteri(x0, x1, x2) {
  13246. GLctx["texParameteri"](x0, x1, x2);
  13247. }
  13248. function _glTexParameteriv(target, pname, params) {
  13249. var param = HEAP32[params >> 2];
  13250. GLctx.texParameteri(target, pname, param);
  13251. }
  13252. function _glTexStorage2D(x0, x1, x2, x3, x4) {
  13253. GLctx["texStorage2D"](x0, x1, x2, x3, x4);
  13254. }
  13255. function _glTexStorage3D(x0, x1, x2, x3, x4, x5) {
  13256. GLctx["texStorage3D"](x0, x1, x2, x3, x4, x5);
  13257. }
  13258. function _glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) {
  13259. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13260. if (GLctx.currentPixelUnpackBufferBinding) {
  13261. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
  13262. } else if (pixels != 0) {
  13263. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13264. } else {
  13265. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, null);
  13266. }
  13267. return;
  13268. }
  13269. var pixelData = null;
  13270. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, 0);
  13271. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixelData);
  13272. }
  13273. function _glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) {
  13274. if (GLctx.currentPixelUnpackBufferBinding) {
  13275. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
  13276. } else if (pixels != 0) {
  13277. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13278. } else {
  13279. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, null);
  13280. }
  13281. }
  13282. function _glTransformFeedbackVaryings(program, count, varyings, bufferMode) {
  13283. program = GL.programs[program];
  13284. var vars = [];
  13285. for (var i = 0; i < count; i++) vars.push(Pointer_stringify(HEAP32[varyings + i * 4 >> 2]));
  13286. GLctx["transformFeedbackVaryings"](program, vars, bufferMode);
  13287. }
  13288. function _glUniform1fv(location, count, value) {
  13289. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13290. GLctx.uniform1fv(GL.uniforms[location], HEAPF32, value >> 2, count);
  13291. return;
  13292. }
  13293. var view;
  13294. if (count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13295. view = GL.miniTempBufferViews[count - 1];
  13296. for (var i = 0; i < count; ++i) {
  13297. view[i] = HEAPF32[value + 4 * i >> 2];
  13298. }
  13299. } else {
  13300. view = HEAPF32.subarray(value >> 2, value + count * 4 >> 2);
  13301. }
  13302. GLctx.uniform1fv(GL.uniforms[location], view);
  13303. }
  13304. function _glUniform1i(location, v0) {
  13305. GLctx.uniform1i(GL.uniforms[location], v0);
  13306. }
  13307. function _glUniform1iv(location, count, value) {
  13308. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13309. GLctx.uniform1iv(GL.uniforms[location], HEAP32, value >> 2, count);
  13310. return;
  13311. }
  13312. GLctx.uniform1iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 4 >> 2));
  13313. }
  13314. function _glUniform1uiv(location, count, value) {
  13315. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13316. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32, value >> 2, count);
  13317. } else {
  13318. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 4 >> 2));
  13319. }
  13320. }
  13321. function _glUniform2fv(location, count, value) {
  13322. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13323. GLctx.uniform2fv(GL.uniforms[location], HEAPF32, value >> 2, count * 2);
  13324. return;
  13325. }
  13326. var view;
  13327. if (2 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13328. view = GL.miniTempBufferViews[2 * count - 1];
  13329. for (var i = 0; i < 2 * count; i += 2) {
  13330. view[i] = HEAPF32[value + 4 * i >> 2];
  13331. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13332. }
  13333. } else {
  13334. view = HEAPF32.subarray(value >> 2, value + count * 8 >> 2);
  13335. }
  13336. GLctx.uniform2fv(GL.uniforms[location], view);
  13337. }
  13338. function _glUniform2iv(location, count, value) {
  13339. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13340. GLctx.uniform2iv(GL.uniforms[location], HEAP32, value >> 2, count * 2);
  13341. return;
  13342. }
  13343. GLctx.uniform2iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 8 >> 2));
  13344. }
  13345. function _glUniform2uiv(location, count, value) {
  13346. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13347. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 2);
  13348. } else {
  13349. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 8 >> 2));
  13350. }
  13351. }
  13352. function _glUniform3fv(location, count, value) {
  13353. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13354. GLctx.uniform3fv(GL.uniforms[location], HEAPF32, value >> 2, count * 3);
  13355. return;
  13356. }
  13357. var view;
  13358. if (3 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13359. view = GL.miniTempBufferViews[3 * count - 1];
  13360. for (var i = 0; i < 3 * count; i += 3) {
  13361. view[i] = HEAPF32[value + 4 * i >> 2];
  13362. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13363. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13364. }
  13365. } else {
  13366. view = HEAPF32.subarray(value >> 2, value + count * 12 >> 2);
  13367. }
  13368. GLctx.uniform3fv(GL.uniforms[location], view);
  13369. }
  13370. function _glUniform3iv(location, count, value) {
  13371. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13372. GLctx.uniform3iv(GL.uniforms[location], HEAP32, value >> 2, count * 3);
  13373. return;
  13374. }
  13375. GLctx.uniform3iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 12 >> 2));
  13376. }
  13377. function _glUniform3uiv(location, count, value) {
  13378. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13379. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 3);
  13380. } else {
  13381. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 12 >> 2));
  13382. }
  13383. }
  13384. function _glUniform4fv(location, count, value) {
  13385. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13386. GLctx.uniform4fv(GL.uniforms[location], HEAPF32, value >> 2, count * 4);
  13387. return;
  13388. }
  13389. var view;
  13390. if (4 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13391. view = GL.miniTempBufferViews[4 * count - 1];
  13392. for (var i = 0; i < 4 * count; i += 4) {
  13393. view[i] = HEAPF32[value + 4 * i >> 2];
  13394. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13395. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13396. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13397. }
  13398. } else {
  13399. view = HEAPF32.subarray(value >> 2, value + count * 16 >> 2);
  13400. }
  13401. GLctx.uniform4fv(GL.uniforms[location], view);
  13402. }
  13403. function _glUniform4iv(location, count, value) {
  13404. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13405. GLctx.uniform4iv(GL.uniforms[location], HEAP32, value >> 2, count * 4);
  13406. return;
  13407. }
  13408. GLctx.uniform4iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 16 >> 2));
  13409. }
  13410. function _glUniform4uiv(location, count, value) {
  13411. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13412. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 4);
  13413. } else {
  13414. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 16 >> 2));
  13415. }
  13416. }
  13417. function _glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) {
  13418. program = GL.programs[program];
  13419. GLctx["uniformBlockBinding"](program, uniformBlockIndex, uniformBlockBinding);
  13420. }
  13421. function _glUniformMatrix3fv(location, count, transpose, value) {
  13422. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13423. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 9);
  13424. return;
  13425. }
  13426. var view;
  13427. if (9 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13428. view = GL.miniTempBufferViews[9 * count - 1];
  13429. for (var i = 0; i < 9 * count; i += 9) {
  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. }
  13440. } else {
  13441. view = HEAPF32.subarray(value >> 2, value + count * 36 >> 2);
  13442. }
  13443. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, view);
  13444. }
  13445. function _glUniformMatrix4fv(location, count, transpose, value) {
  13446. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13447. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 16);
  13448. return;
  13449. }
  13450. var view;
  13451. if (16 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13452. view = GL.miniTempBufferViews[16 * count - 1];
  13453. for (var i = 0; i < 16 * count; i += 16) {
  13454. view[i] = HEAPF32[value + 4 * i >> 2];
  13455. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13456. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13457. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13458. view[i + 4] = HEAPF32[value + (4 * i + 16) >> 2];
  13459. view[i + 5] = HEAPF32[value + (4 * i + 20) >> 2];
  13460. view[i + 6] = HEAPF32[value + (4 * i + 24) >> 2];
  13461. view[i + 7] = HEAPF32[value + (4 * i + 28) >> 2];
  13462. view[i + 8] = HEAPF32[value + (4 * i + 32) >> 2];
  13463. view[i + 9] = HEAPF32[value + (4 * i + 36) >> 2];
  13464. view[i + 10] = HEAPF32[value + (4 * i + 40) >> 2];
  13465. view[i + 11] = HEAPF32[value + (4 * i + 44) >> 2];
  13466. view[i + 12] = HEAPF32[value + (4 * i + 48) >> 2];
  13467. view[i + 13] = HEAPF32[value + (4 * i + 52) >> 2];
  13468. view[i + 14] = HEAPF32[value + (4 * i + 56) >> 2];
  13469. view[i + 15] = HEAPF32[value + (4 * i + 60) >> 2];
  13470. }
  13471. } else {
  13472. view = HEAPF32.subarray(value >> 2, value + count * 64 >> 2);
  13473. }
  13474. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, view);
  13475. }
  13476. function _glUnmapBuffer(target) {
  13477. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  13478. GL.recordError(1280);
  13479. err("GL_INVALID_ENUM in glUnmapBuffer");
  13480. return 0;
  13481. }
  13482. var buffer = emscriptenWebGLGetBufferBinding(target);
  13483. var mapping = GL.mappedBuffers[buffer];
  13484. if (!mapping) {
  13485. GL.recordError(1282);
  13486. Module.printError("buffer was never mapped in glUnmapBuffer");
  13487. return 0;
  13488. }
  13489. GL.mappedBuffers[buffer] = null;
  13490. if (!(mapping.access & 16)) if (GL.currentContext.supportsWebGL2EntryPoints) {
  13491. GLctx.bufferSubData(target, mapping.offset, HEAPU8, mapping.mem, mapping.length);
  13492. } else {
  13493. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem, mapping.mem + mapping.length));
  13494. }
  13495. _free(mapping.mem);
  13496. return 1;
  13497. }
  13498. function _glUseProgram(program) {
  13499. GLctx.useProgram(program ? GL.programs[program] : null);
  13500. }
  13501. function _glValidateProgram(program) {
  13502. GLctx.validateProgram(GL.programs[program]);
  13503. }
  13504. function _glVertexAttrib4f(x0, x1, x2, x3, x4) {
  13505. GLctx["vertexAttrib4f"](x0, x1, x2, x3, x4);
  13506. }
  13507. function _glVertexAttrib4fv(index, v) {
  13508. GLctx.vertexAttrib4f(index, HEAPF32[v >> 2], HEAPF32[v + 4 >> 2], HEAPF32[v + 8 >> 2], HEAPF32[v + 12 >> 2]);
  13509. }
  13510. function _glVertexAttribIPointer(index, size, type, stride, ptr) {
  13511. var cb = GL.currentContext.clientBuffers[index];
  13512. assert(cb, index);
  13513. if (!GL.currArrayBuffer) {
  13514. cb.size = size;
  13515. cb.type = type;
  13516. cb.normalized = false;
  13517. cb.stride = stride;
  13518. cb.ptr = ptr;
  13519. cb.clientside = true;
  13520. return;
  13521. }
  13522. cb.clientside = false;
  13523. GLctx.vertexAttribIPointer(index, size, type, stride, ptr);
  13524. }
  13525. function _glVertexAttribPointer(index, size, type, normalized, stride, ptr) {
  13526. GLctx.vertexAttribPointer(index, size, type, !!normalized, stride, ptr);
  13527. }
  13528. function _glViewport(x0, x1, x2, x3) {
  13529. GLctx["viewport"](x0, x1, x2, x3);
  13530. }
  13531. var ___tm_current = STATICTOP;
  13532. STATICTOP += 48;
  13533. var ___tm_timezone = allocate(intArrayFromString("GMT"), "i8", ALLOC_STATIC);
  13534. function _gmtime_r(time, tmPtr) {
  13535. var date = new Date(HEAP32[time >> 2] * 1e3);
  13536. HEAP32[tmPtr >> 2] = date.getUTCSeconds();
  13537. HEAP32[tmPtr + 4 >> 2] = date.getUTCMinutes();
  13538. HEAP32[tmPtr + 8 >> 2] = date.getUTCHours();
  13539. HEAP32[tmPtr + 12 >> 2] = date.getUTCDate();
  13540. HEAP32[tmPtr + 16 >> 2] = date.getUTCMonth();
  13541. HEAP32[tmPtr + 20 >> 2] = date.getUTCFullYear() - 1900;
  13542. HEAP32[tmPtr + 24 >> 2] = date.getUTCDay();
  13543. HEAP32[tmPtr + 36 >> 2] = 0;
  13544. HEAP32[tmPtr + 32 >> 2] = 0;
  13545. var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0);
  13546. var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0;
  13547. HEAP32[tmPtr + 28 >> 2] = yday;
  13548. HEAP32[tmPtr + 40 >> 2] = ___tm_timezone;
  13549. return tmPtr;
  13550. }
  13551. function _gmtime(time) {
  13552. return _gmtime_r(time, ___tm_current);
  13553. }
  13554. function _inet_addr(ptr) {
  13555. var addr = __inet_pton4_raw(Pointer_stringify(ptr));
  13556. if (addr === null) {
  13557. return -1;
  13558. }
  13559. return addr;
  13560. }
  13561. var _llvm_ceil_f32 = Math_ceil;
  13562. var _llvm_ceil_f64 = Math_ceil;
  13563. function _llvm_copysign_f64(x, y) {
  13564. return y < 0 || y === 0 && 1 / y < 0 ? -Math_abs(x) : Math_abs(x);
  13565. }
  13566. function _llvm_cttz_i32(x) {
  13567. x = x | 0;
  13568. return (x ? 31 - (Math_clz32(x ^ x - 1) | 0) | 0 : 32) | 0;
  13569. }
  13570. function _llvm_eh_typeid_for(type) {
  13571. return type;
  13572. }
  13573. function _llvm_exp2_f32(x) {
  13574. return Math.pow(2, x);
  13575. }
  13576. var _llvm_fabs_f32 = Math_abs;
  13577. var _llvm_fabs_f64 = Math_abs;
  13578. var _llvm_floor_f32 = Math_floor;
  13579. var _llvm_floor_f64 = Math_floor;
  13580. function _llvm_log10_f32(x) {
  13581. return Math.log(x) / Math.LN10;
  13582. }
  13583. function _llvm_log2_f32(x) {
  13584. return Math.log(x) / Math.LN2;
  13585. }
  13586. var _llvm_pow_f64 = Math_pow;
  13587. var _llvm_sqrt_f32 = Math_sqrt;
  13588. function _llvm_trap() {
  13589. abort("trap!");
  13590. }
  13591. var _llvm_trunc_f32 = Math_trunc;
  13592. function _tzset() {
  13593. if (_tzset.called) return;
  13594. _tzset.called = true;
  13595. HEAP32[__get_timezone() >> 2] = (new Date).getTimezoneOffset() * 60;
  13596. var currentYear = (new Date).getFullYear();
  13597. var winter = new Date(currentYear, 0, 1);
  13598. var summer = new Date(currentYear, 6, 1);
  13599. HEAP32[__get_daylight() >> 2] = Number(winter.getTimezoneOffset() != summer.getTimezoneOffset());
  13600. function extractZone(date) {
  13601. var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
  13602. return match ? match[1] : "GMT";
  13603. }
  13604. var winterName = extractZone(winter);
  13605. var summerName = extractZone(summer);
  13606. var winterNamePtr = allocate(intArrayFromString(winterName), "i8", ALLOC_NORMAL);
  13607. var summerNamePtr = allocate(intArrayFromString(summerName), "i8", ALLOC_NORMAL);
  13608. if (summer.getTimezoneOffset() < winter.getTimezoneOffset()) {
  13609. HEAP32[__get_tzname() >> 2] = winterNamePtr;
  13610. HEAP32[__get_tzname() + 4 >> 2] = summerNamePtr;
  13611. } else {
  13612. HEAP32[__get_tzname() >> 2] = summerNamePtr;
  13613. HEAP32[__get_tzname() + 4 >> 2] = winterNamePtr;
  13614. }
  13615. }
  13616. function _localtime_r(time, tmPtr) {
  13617. _tzset();
  13618. var date = new Date(HEAP32[time >> 2] * 1e3);
  13619. HEAP32[tmPtr >> 2] = date.getSeconds();
  13620. HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
  13621. HEAP32[tmPtr + 8 >> 2] = date.getHours();
  13622. HEAP32[tmPtr + 12 >> 2] = date.getDate();
  13623. HEAP32[tmPtr + 16 >> 2] = date.getMonth();
  13624. HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
  13625. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13626. var start = new Date(date.getFullYear(), 0, 1);
  13627. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13628. HEAP32[tmPtr + 28 >> 2] = yday;
  13629. HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
  13630. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13631. var winterOffset = start.getTimezoneOffset();
  13632. var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
  13633. HEAP32[tmPtr + 32 >> 2] = dst;
  13634. var zonePtr = HEAP32[__get_tzname() + (dst ? 4 : 0) >> 2];
  13635. HEAP32[tmPtr + 40 >> 2] = zonePtr;
  13636. return tmPtr;
  13637. }
  13638. function _localtime(time) {
  13639. return _localtime_r(time, ___tm_current);
  13640. }
  13641. function _emscripten_memcpy_big(dest, src, num) {
  13642. HEAPU8.set(HEAPU8.subarray(src, src + num), dest);
  13643. return dest;
  13644. }
  13645. function _mktime(tmPtr) {
  13646. _tzset();
  13647. 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);
  13648. var dst = HEAP32[tmPtr + 32 >> 2];
  13649. var guessedOffset = date.getTimezoneOffset();
  13650. var start = new Date(date.getFullYear(), 0, 1);
  13651. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13652. var winterOffset = start.getTimezoneOffset();
  13653. var dstOffset = Math.min(winterOffset, summerOffset);
  13654. if (dst < 0) {
  13655. HEAP32[tmPtr + 32 >> 2] = Number(summerOffset != winterOffset && dstOffset == guessedOffset);
  13656. } else if (dst > 0 != (dstOffset == guessedOffset)) {
  13657. var nonDstOffset = Math.max(winterOffset, summerOffset);
  13658. var trueOffset = dst > 0 ? dstOffset : nonDstOffset;
  13659. date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
  13660. }
  13661. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13662. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13663. HEAP32[tmPtr + 28 >> 2] = yday;
  13664. return date.getTime() / 1e3 | 0;
  13665. }
  13666. function _usleep(useconds) {
  13667. var msec = useconds / 1e3;
  13668. if ((ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  13669. var start = self["performance"]["now"]();
  13670. while (self["performance"]["now"]() - start < msec) {}
  13671. } else {
  13672. var start = Date.now();
  13673. while (Date.now() - start < msec) {}
  13674. }
  13675. return 0;
  13676. }
  13677. function _nanosleep(rqtp, rmtp) {
  13678. var seconds = HEAP32[rqtp >> 2];
  13679. var nanoseconds = HEAP32[rqtp + 4 >> 2];
  13680. if (rmtp !== 0) {
  13681. HEAP32[rmtp >> 2] = 0;
  13682. HEAP32[rmtp + 4 >> 2] = 0;
  13683. }
  13684. return _usleep(seconds * 1e6 + nanoseconds / 1e3);
  13685. }
  13686. function _pthread_cond_destroy() {
  13687. return 0;
  13688. }
  13689. function _pthread_cond_init() {
  13690. return 0;
  13691. }
  13692. function _pthread_cond_timedwait() {
  13693. return 0;
  13694. }
  13695. function _pthread_cond_wait() {
  13696. return 0;
  13697. }
  13698. var PTHREAD_SPECIFIC = {};
  13699. function _pthread_getspecific(key) {
  13700. return PTHREAD_SPECIFIC[key] || 0;
  13701. }
  13702. var PTHREAD_SPECIFIC_NEXT_KEY = 1;
  13703. function _pthread_key_create(key, destructor) {
  13704. if (key == 0) {
  13705. return ERRNO_CODES.EINVAL;
  13706. }
  13707. HEAP32[key >> 2] = PTHREAD_SPECIFIC_NEXT_KEY;
  13708. PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY] = 0;
  13709. PTHREAD_SPECIFIC_NEXT_KEY++;
  13710. return 0;
  13711. }
  13712. function _pthread_key_delete(key) {
  13713. if (key in PTHREAD_SPECIFIC) {
  13714. delete PTHREAD_SPECIFIC[key];
  13715. return 0;
  13716. }
  13717. return ERRNO_CODES.EINVAL;
  13718. }
  13719. function _pthread_mutex_destroy() {}
  13720. function _pthread_mutex_init() {}
  13721. function _pthread_mutexattr_destroy() {}
  13722. function _pthread_mutexattr_init() {}
  13723. function _pthread_mutexattr_setprotocol() {}
  13724. function _pthread_mutexattr_settype() {}
  13725. function _pthread_once(ptr, func) {
  13726. if (!_pthread_once.seen) _pthread_once.seen = {};
  13727. if (ptr in _pthread_once.seen) return;
  13728. Module["dynCall_v"](func);
  13729. _pthread_once.seen[ptr] = 1;
  13730. }
  13731. function _pthread_setspecific(key, value) {
  13732. if (!(key in PTHREAD_SPECIFIC)) {
  13733. return ERRNO_CODES.EINVAL;
  13734. }
  13735. PTHREAD_SPECIFIC[key] = value;
  13736. return 0;
  13737. }
  13738. function _sched_yield() {
  13739. return 0;
  13740. }
  13741. function _setenv(envname, envval, overwrite) {
  13742. if (envname === 0) {
  13743. ___setErrNo(ERRNO_CODES.EINVAL);
  13744. return -1;
  13745. }
  13746. var name = Pointer_stringify(envname);
  13747. var val = Pointer_stringify(envval);
  13748. if (name === "" || name.indexOf("=") !== -1) {
  13749. ___setErrNo(ERRNO_CODES.EINVAL);
  13750. return -1;
  13751. }
  13752. if (ENV.hasOwnProperty(name) && !overwrite) return 0;
  13753. ENV[name] = val;
  13754. ___buildEnvironment(__get_environ());
  13755. return 0;
  13756. }
  13757. function _sigaction(signum, act, oldact) {
  13758. err("Calling stub instead of sigaction()");
  13759. return 0;
  13760. }
  13761. function _sigemptyset(set) {
  13762. HEAP32[set >> 2] = 0;
  13763. return 0;
  13764. }
  13765. function _startsteps(index) {
  13766. startsteps(index);
  13767. }
  13768. function __isLeapYear(year) {
  13769. return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
  13770. }
  13771. function __arraySum(array, index) {
  13772. var sum = 0;
  13773. for (var i = 0; i <= index; sum += array[i++]) ;
  13774. return sum;
  13775. }
  13776. var __MONTH_DAYS_LEAP = [ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13777. var __MONTH_DAYS_REGULAR = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13778. function __addDays(date, days) {
  13779. var newDate = new Date(date.getTime());
  13780. while (days > 0) {
  13781. var leap = __isLeapYear(newDate.getFullYear());
  13782. var currentMonth = newDate.getMonth();
  13783. var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth];
  13784. if (days > daysInCurrentMonth - newDate.getDate()) {
  13785. days -= daysInCurrentMonth - newDate.getDate() + 1;
  13786. newDate.setDate(1);
  13787. if (currentMonth < 11) {
  13788. newDate.setMonth(currentMonth + 1);
  13789. } else {
  13790. newDate.setMonth(0);
  13791. newDate.setFullYear(newDate.getFullYear() + 1);
  13792. }
  13793. } else {
  13794. newDate.setDate(newDate.getDate() + days);
  13795. return newDate;
  13796. }
  13797. }
  13798. return newDate;
  13799. }
  13800. function _strftime(s, maxsize, format, tm) {
  13801. var tm_zone = HEAP32[tm + 40 >> 2];
  13802. var date = {
  13803. tm_sec: HEAP32[tm >> 2],
  13804. tm_min: HEAP32[tm + 4 >> 2],
  13805. tm_hour: HEAP32[tm + 8 >> 2],
  13806. tm_mday: HEAP32[tm + 12 >> 2],
  13807. tm_mon: HEAP32[tm + 16 >> 2],
  13808. tm_year: HEAP32[tm + 20 >> 2],
  13809. tm_wday: HEAP32[tm + 24 >> 2],
  13810. tm_yday: HEAP32[tm + 28 >> 2],
  13811. tm_isdst: HEAP32[tm + 32 >> 2],
  13812. tm_gmtoff: HEAP32[tm + 36 >> 2],
  13813. tm_zone: tm_zone ? Pointer_stringify(tm_zone) : ""
  13814. };
  13815. var pattern = Pointer_stringify(format);
  13816. var EXPANSION_RULES_1 = {
  13817. "%c": "%a %b %d %H:%M:%S %Y",
  13818. "%D": "%m/%d/%y",
  13819. "%F": "%Y-%m-%d",
  13820. "%h": "%b",
  13821. "%r": "%I:%M:%S %p",
  13822. "%R": "%H:%M",
  13823. "%T": "%H:%M:%S",
  13824. "%x": "%m/%d/%y",
  13825. "%X": "%H:%M:%S"
  13826. };
  13827. for (var rule in EXPANSION_RULES_1) {
  13828. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]);
  13829. }
  13830. var WEEKDAYS = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ];
  13831. var MONTHS = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
  13832. function leadingSomething(value, digits, character) {
  13833. var str = typeof value === "number" ? value.toString() : value || "";
  13834. while (str.length < digits) {
  13835. str = character[0] + str;
  13836. }
  13837. return str;
  13838. }
  13839. function leadingNulls(value, digits) {
  13840. return leadingSomething(value, digits, "0");
  13841. }
  13842. function compareByDay(date1, date2) {
  13843. function sgn(value) {
  13844. return value < 0 ? -1 : value > 0 ? 1 : 0;
  13845. }
  13846. var compare;
  13847. if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) {
  13848. if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) {
  13849. compare = sgn(date1.getDate() - date2.getDate());
  13850. }
  13851. }
  13852. return compare;
  13853. }
  13854. function getFirstWeekStartDate(janFourth) {
  13855. switch (janFourth.getDay()) {
  13856. case 0:
  13857. return new Date(janFourth.getFullYear() - 1, 11, 29);
  13858. case 1:
  13859. return janFourth;
  13860. case 2:
  13861. return new Date(janFourth.getFullYear(), 0, 3);
  13862. case 3:
  13863. return new Date(janFourth.getFullYear(), 0, 2);
  13864. case 4:
  13865. return new Date(janFourth.getFullYear(), 0, 1);
  13866. case 5:
  13867. return new Date(janFourth.getFullYear() - 1, 11, 31);
  13868. case 6:
  13869. return new Date(janFourth.getFullYear() - 1, 11, 30);
  13870. }
  13871. }
  13872. function getWeekBasedYear(date) {
  13873. var thisDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  13874. var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4);
  13875. var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4);
  13876. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  13877. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  13878. if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) {
  13879. if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) {
  13880. return thisDate.getFullYear() + 1;
  13881. } else {
  13882. return thisDate.getFullYear();
  13883. }
  13884. } else {
  13885. return thisDate.getFullYear() - 1;
  13886. }
  13887. }
  13888. var EXPANSION_RULES_2 = {
  13889. "%a": (function(date) {
  13890. return WEEKDAYS[date.tm_wday].substring(0, 3);
  13891. }),
  13892. "%A": (function(date) {
  13893. return WEEKDAYS[date.tm_wday];
  13894. }),
  13895. "%b": (function(date) {
  13896. return MONTHS[date.tm_mon].substring(0, 3);
  13897. }),
  13898. "%B": (function(date) {
  13899. return MONTHS[date.tm_mon];
  13900. }),
  13901. "%C": (function(date) {
  13902. var year = date.tm_year + 1900;
  13903. return leadingNulls(year / 100 | 0, 2);
  13904. }),
  13905. "%d": (function(date) {
  13906. return leadingNulls(date.tm_mday, 2);
  13907. }),
  13908. "%e": (function(date) {
  13909. return leadingSomething(date.tm_mday, 2, " ");
  13910. }),
  13911. "%g": (function(date) {
  13912. return getWeekBasedYear(date).toString().substring(2);
  13913. }),
  13914. "%G": (function(date) {
  13915. return getWeekBasedYear(date);
  13916. }),
  13917. "%H": (function(date) {
  13918. return leadingNulls(date.tm_hour, 2);
  13919. }),
  13920. "%I": (function(date) {
  13921. var twelveHour = date.tm_hour;
  13922. if (twelveHour == 0) twelveHour = 12; else if (twelveHour > 12) twelveHour -= 12;
  13923. return leadingNulls(twelveHour, 2);
  13924. }),
  13925. "%j": (function(date) {
  13926. return leadingNulls(date.tm_mday + __arraySum(__isLeapYear(date.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date.tm_mon - 1), 3);
  13927. }),
  13928. "%m": (function(date) {
  13929. return leadingNulls(date.tm_mon + 1, 2);
  13930. }),
  13931. "%M": (function(date) {
  13932. return leadingNulls(date.tm_min, 2);
  13933. }),
  13934. "%n": (function() {
  13935. return "\n";
  13936. }),
  13937. "%p": (function(date) {
  13938. if (date.tm_hour >= 0 && date.tm_hour < 12) {
  13939. return "AM";
  13940. } else {
  13941. return "PM";
  13942. }
  13943. }),
  13944. "%S": (function(date) {
  13945. return leadingNulls(date.tm_sec, 2);
  13946. }),
  13947. "%t": (function() {
  13948. return "\t";
  13949. }),
  13950. "%u": (function(date) {
  13951. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  13952. return day.getDay() || 7;
  13953. }),
  13954. "%U": (function(date) {
  13955. var janFirst = new Date(date.tm_year + 1900, 0, 1);
  13956. var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay());
  13957. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  13958. if (compareByDay(firstSunday, endDate) < 0) {
  13959. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  13960. var firstSundayUntilEndJanuary = 31 - firstSunday.getDate();
  13961. var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  13962. return leadingNulls(Math.ceil(days / 7), 2);
  13963. }
  13964. return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00";
  13965. }),
  13966. "%V": (function(date) {
  13967. var janFourthThisYear = new Date(date.tm_year + 1900, 0, 4);
  13968. var janFourthNextYear = new Date(date.tm_year + 1901, 0, 4);
  13969. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  13970. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  13971. var endDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  13972. if (compareByDay(endDate, firstWeekStartThisYear) < 0) {
  13973. return "53";
  13974. }
  13975. if (compareByDay(firstWeekStartNextYear, endDate) <= 0) {
  13976. return "01";
  13977. }
  13978. var daysDifference;
  13979. if (firstWeekStartThisYear.getFullYear() < date.tm_year + 1900) {
  13980. daysDifference = date.tm_yday + 32 - firstWeekStartThisYear.getDate();
  13981. } else {
  13982. daysDifference = date.tm_yday + 1 - firstWeekStartThisYear.getDate();
  13983. }
  13984. return leadingNulls(Math.ceil(daysDifference / 7), 2);
  13985. }),
  13986. "%w": (function(date) {
  13987. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  13988. return day.getDay();
  13989. }),
  13990. "%W": (function(date) {
  13991. var janFirst = new Date(date.tm_year, 0, 1);
  13992. var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1);
  13993. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  13994. if (compareByDay(firstMonday, endDate) < 0) {
  13995. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  13996. var firstMondayUntilEndJanuary = 31 - firstMonday.getDate();
  13997. var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  13998. return leadingNulls(Math.ceil(days / 7), 2);
  13999. }
  14000. return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00";
  14001. }),
  14002. "%y": (function(date) {
  14003. return (date.tm_year + 1900).toString().substring(2);
  14004. }),
  14005. "%Y": (function(date) {
  14006. return date.tm_year + 1900;
  14007. }),
  14008. "%z": (function(date) {
  14009. var off = date.tm_gmtoff;
  14010. var ahead = off >= 0;
  14011. off = Math.abs(off) / 60;
  14012. off = off / 60 * 100 + off % 60;
  14013. return (ahead ? "+" : "-") + String("0000" + off).slice(-4);
  14014. }),
  14015. "%Z": (function(date) {
  14016. return date.tm_zone;
  14017. }),
  14018. "%%": (function() {
  14019. return "%";
  14020. })
  14021. };
  14022. for (var rule in EXPANSION_RULES_2) {
  14023. if (pattern.indexOf(rule) >= 0) {
  14024. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date));
  14025. }
  14026. }
  14027. var bytes = intArrayFromString(pattern, false);
  14028. if (bytes.length > maxsize) {
  14029. return 0;
  14030. }
  14031. writeArrayToMemory(bytes, s);
  14032. return bytes.length - 1;
  14033. }
  14034. function _sysconf(name) {
  14035. switch (name) {
  14036. case 30:
  14037. return PAGE_SIZE;
  14038. case 85:
  14039. var maxHeapSize = 2 * 1024 * 1024 * 1024 - 65536;
  14040. return maxHeapSize / PAGE_SIZE;
  14041. case 132:
  14042. case 133:
  14043. case 12:
  14044. case 137:
  14045. case 138:
  14046. case 15:
  14047. case 235:
  14048. case 16:
  14049. case 17:
  14050. case 18:
  14051. case 19:
  14052. case 20:
  14053. case 149:
  14054. case 13:
  14055. case 10:
  14056. case 236:
  14057. case 153:
  14058. case 9:
  14059. case 21:
  14060. case 22:
  14061. case 159:
  14062. case 154:
  14063. case 14:
  14064. case 77:
  14065. case 78:
  14066. case 139:
  14067. case 80:
  14068. case 81:
  14069. case 82:
  14070. case 68:
  14071. case 67:
  14072. case 164:
  14073. case 11:
  14074. case 29:
  14075. case 47:
  14076. case 48:
  14077. case 95:
  14078. case 52:
  14079. case 51:
  14080. case 46:
  14081. return 200809;
  14082. case 79:
  14083. return 0;
  14084. case 27:
  14085. case 246:
  14086. case 127:
  14087. case 128:
  14088. case 23:
  14089. case 24:
  14090. case 160:
  14091. case 161:
  14092. case 181:
  14093. case 182:
  14094. case 242:
  14095. case 183:
  14096. case 184:
  14097. case 243:
  14098. case 244:
  14099. case 245:
  14100. case 165:
  14101. case 178:
  14102. case 179:
  14103. case 49:
  14104. case 50:
  14105. case 168:
  14106. case 169:
  14107. case 175:
  14108. case 170:
  14109. case 171:
  14110. case 172:
  14111. case 97:
  14112. case 76:
  14113. case 32:
  14114. case 173:
  14115. case 35:
  14116. return -1;
  14117. case 176:
  14118. case 177:
  14119. case 7:
  14120. case 155:
  14121. case 8:
  14122. case 157:
  14123. case 125:
  14124. case 126:
  14125. case 92:
  14126. case 93:
  14127. case 129:
  14128. case 130:
  14129. case 131:
  14130. case 94:
  14131. case 91:
  14132. return 1;
  14133. case 74:
  14134. case 60:
  14135. case 69:
  14136. case 70:
  14137. case 4:
  14138. return 1024;
  14139. case 31:
  14140. case 42:
  14141. case 72:
  14142. return 32;
  14143. case 87:
  14144. case 26:
  14145. case 33:
  14146. return 2147483647;
  14147. case 34:
  14148. case 1:
  14149. return 47839;
  14150. case 38:
  14151. case 36:
  14152. return 99;
  14153. case 43:
  14154. case 37:
  14155. return 2048;
  14156. case 0:
  14157. return 2097152;
  14158. case 3:
  14159. return 65536;
  14160. case 28:
  14161. return 32768;
  14162. case 44:
  14163. return 32767;
  14164. case 75:
  14165. return 16384;
  14166. case 39:
  14167. return 1e3;
  14168. case 89:
  14169. return 700;
  14170. case 71:
  14171. return 256;
  14172. case 40:
  14173. return 255;
  14174. case 2:
  14175. return 100;
  14176. case 180:
  14177. return 64;
  14178. case 25:
  14179. return 20;
  14180. case 5:
  14181. return 16;
  14182. case 6:
  14183. return 6;
  14184. case 73:
  14185. return 4;
  14186. case 84:
  14187. {
  14188. if (typeof navigator === "object") return navigator["hardwareConcurrency"] || 1;
  14189. return 1;
  14190. }
  14191. }
  14192. ___setErrNo(ERRNO_CODES.EINVAL);
  14193. return -1;
  14194. }
  14195. function _time(ptr) {
  14196. var ret = Date.now() / 1e3 | 0;
  14197. if (ptr) {
  14198. HEAP32[ptr >> 2] = ret;
  14199. }
  14200. return ret;
  14201. }
  14202. function _unsetenv(name) {
  14203. if (name === 0) {
  14204. ___setErrNo(ERRNO_CODES.EINVAL);
  14205. return -1;
  14206. }
  14207. name = Pointer_stringify(name);
  14208. if (name === "" || name.indexOf("=") !== -1) {
  14209. ___setErrNo(ERRNO_CODES.EINVAL);
  14210. return -1;
  14211. }
  14212. if (ENV.hasOwnProperty(name)) {
  14213. delete ENV[name];
  14214. ___buildEnvironment(__get_environ());
  14215. }
  14216. return 0;
  14217. }
  14218. function _utime(path, times) {
  14219. var time;
  14220. if (times) {
  14221. var offset = 4;
  14222. time = HEAP32[times + offset >> 2];
  14223. time *= 1e3;
  14224. } else {
  14225. time = Date.now();
  14226. }
  14227. path = Pointer_stringify(path);
  14228. try {
  14229. FS.utime(path, time, time);
  14230. return 0;
  14231. } catch (e) {
  14232. FS.handleFSError(e);
  14233. return -1;
  14234. }
  14235. }
  14236. FS.staticInit();
  14237. __ATINIT__.unshift((function() {
  14238. if (!Module["noFSInit"] && !FS.init.initialized) FS.init();
  14239. }));
  14240. __ATMAIN__.push((function() {
  14241. FS.ignorePermissions = false;
  14242. }));
  14243. __ATEXIT__.push((function() {
  14244. FS.quit();
  14245. }));
  14246. Module["FS_createPath"] = FS.createPath;
  14247. Module["FS_createDataFile"] = FS.createDataFile;
  14248. __ATINIT__.unshift((function() {
  14249. TTY.init();
  14250. }));
  14251. __ATEXIT__.push((function() {
  14252. TTY.shutdown();
  14253. }));
  14254. if (ENVIRONMENT_IS_NODE) {
  14255. var fs = require("fs");
  14256. var NODEJS_PATH = require("path");
  14257. NODEFS.staticInit();
  14258. }
  14259. __ATINIT__.push((function() {
  14260. SOCKFS.root = FS.mount(SOCKFS, {}, null);
  14261. }));
  14262. if (ENVIRONMENT_IS_NODE) {
  14263. _emscripten_get_now = function _emscripten_get_now_actual() {
  14264. var t = process["hrtime"]();
  14265. return t[0] * 1e3 + t[1] / 1e6;
  14266. };
  14267. } else if (typeof dateNow !== "undefined") {
  14268. _emscripten_get_now = dateNow;
  14269. } else if (typeof self === "object" && self["performance"] && typeof self["performance"]["now"] === "function") {
  14270. _emscripten_get_now = (function() {
  14271. return self["performance"]["now"]();
  14272. });
  14273. } else if (typeof performance === "object" && typeof performance["now"] === "function") {
  14274. _emscripten_get_now = (function() {
  14275. return performance["now"]();
  14276. });
  14277. } else {
  14278. _emscripten_get_now = Date.now;
  14279. }
  14280. Module["requestFullScreen"] = function Module_requestFullScreen(lockPointer, resizeCanvas, vrDevice) {
  14281. err("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead.");
  14282. Module["requestFullScreen"] = Module["requestFullscreen"];
  14283. Browser.requestFullScreen(lockPointer, resizeCanvas, vrDevice);
  14284. };
  14285. Module["requestFullscreen"] = function Module_requestFullscreen(lockPointer, resizeCanvas, vrDevice) {
  14286. Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  14287. };
  14288. Module["requestAnimationFrame"] = function Module_requestAnimationFrame(func) {
  14289. Browser.requestAnimationFrame(func);
  14290. };
  14291. Module["setCanvasSize"] = function Module_setCanvasSize(width, height, noUpdates) {
  14292. Browser.setCanvasSize(width, height, noUpdates);
  14293. };
  14294. Module["pauseMainLoop"] = function Module_pauseMainLoop() {
  14295. Browser.mainLoop.pause();
  14296. };
  14297. Module["resumeMainLoop"] = function Module_resumeMainLoop() {
  14298. Browser.mainLoop.resume();
  14299. };
  14300. Module["getUserMedia"] = function Module_getUserMedia() {
  14301. Browser.getUserMedia();
  14302. };
  14303. Module["createContext"] = function Module_createContext(canvas, useWebGL, setInModule, webGLContextAttributes) {
  14304. return Browser.createContext(canvas, useWebGL, setInModule, webGLContextAttributes);
  14305. };
  14306. JSEvents.staticInit();
  14307. var GLctx;
  14308. GL.init();
  14309. DYNAMICTOP_PTR = staticAlloc(4);
  14310. STACK_BASE = STACKTOP = alignMemory(STATICTOP);
  14311. STACK_MAX = STACK_BASE + TOTAL_STACK;
  14312. DYNAMIC_BASE = alignMemory(STACK_MAX);
  14313. HEAP32[DYNAMICTOP_PTR >> 2] = DYNAMIC_BASE;
  14314. staticSealed = true;
  14315. assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
  14316. function intArrayFromString(stringy, dontAddNull, length) {
  14317. var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1;
  14318. var u8array = new Array(len);
  14319. var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length);
  14320. if (dontAddNull) u8array.length = numBytesWritten;
  14321. return u8array;
  14322. }
  14323. function nullFunc_dddi(x) {
  14324. 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)");
  14325. err("Build with ASSERTIONS=2 for more info.");
  14326. abort(x);
  14327. }
  14328. function nullFunc_ddi(x) {
  14329. 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)");
  14330. err("Build with ASSERTIONS=2 for more info.");
  14331. abort(x);
  14332. }
  14333. function nullFunc_dfi(x) {
  14334. 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)");
  14335. err("Build with ASSERTIONS=2 for more info.");
  14336. abort(x);
  14337. }
  14338. function nullFunc_di(x) {
  14339. 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)");
  14340. err("Build with ASSERTIONS=2 for more info.");
  14341. abort(x);
  14342. }
  14343. function nullFunc_diddi(x) {
  14344. 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)");
  14345. err("Build with ASSERTIONS=2 for more info.");
  14346. abort(x);
  14347. }
  14348. function nullFunc_didi(x) {
  14349. 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)");
  14350. err("Build with ASSERTIONS=2 for more info.");
  14351. abort(x);
  14352. }
  14353. function nullFunc_dii(x) {
  14354. 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)");
  14355. err("Build with ASSERTIONS=2 for more info.");
  14356. abort(x);
  14357. }
  14358. function nullFunc_diii(x) {
  14359. 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)");
  14360. err("Build with ASSERTIONS=2 for more info.");
  14361. abort(x);
  14362. }
  14363. function nullFunc_diiii(x) {
  14364. 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)");
  14365. err("Build with ASSERTIONS=2 for more info.");
  14366. abort(x);
  14367. }
  14368. function nullFunc_dji(x) {
  14369. 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)");
  14370. err("Build with ASSERTIONS=2 for more info.");
  14371. abort(x);
  14372. }
  14373. function nullFunc_f(x) {
  14374. 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)");
  14375. err("Build with ASSERTIONS=2 for more info.");
  14376. abort(x);
  14377. }
  14378. function nullFunc_fdi(x) {
  14379. 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)");
  14380. err("Build with ASSERTIONS=2 for more info.");
  14381. abort(x);
  14382. }
  14383. function nullFunc_ff(x) {
  14384. 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)");
  14385. err("Build with ASSERTIONS=2 for more info.");
  14386. abort(x);
  14387. }
  14388. function nullFunc_fff(x) {
  14389. 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)");
  14390. err("Build with ASSERTIONS=2 for more info.");
  14391. abort(x);
  14392. }
  14393. function nullFunc_ffffi(x) {
  14394. 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)");
  14395. err("Build with ASSERTIONS=2 for more info.");
  14396. abort(x);
  14397. }
  14398. function nullFunc_fffi(x) {
  14399. 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)");
  14400. err("Build with ASSERTIONS=2 for more info.");
  14401. abort(x);
  14402. }
  14403. function nullFunc_fffifffi(x) {
  14404. 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)");
  14405. err("Build with ASSERTIONS=2 for more info.");
  14406. abort(x);
  14407. }
  14408. function nullFunc_ffi(x) {
  14409. 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)");
  14410. err("Build with ASSERTIONS=2 for more info.");
  14411. abort(x);
  14412. }
  14413. function nullFunc_fi(x) {
  14414. 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)");
  14415. err("Build with ASSERTIONS=2 for more info.");
  14416. abort(x);
  14417. }
  14418. function nullFunc_fif(x) {
  14419. 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)");
  14420. err("Build with ASSERTIONS=2 for more info.");
  14421. abort(x);
  14422. }
  14423. function nullFunc_fiff(x) {
  14424. 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)");
  14425. err("Build with ASSERTIONS=2 for more info.");
  14426. abort(x);
  14427. }
  14428. function nullFunc_fiffi(x) {
  14429. 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)");
  14430. err("Build with ASSERTIONS=2 for more info.");
  14431. abort(x);
  14432. }
  14433. function nullFunc_fifi(x) {
  14434. 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)");
  14435. err("Build with ASSERTIONS=2 for more info.");
  14436. abort(x);
  14437. }
  14438. function nullFunc_fifii(x) {
  14439. 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)");
  14440. err("Build with ASSERTIONS=2 for more info.");
  14441. abort(x);
  14442. }
  14443. function nullFunc_fii(x) {
  14444. 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)");
  14445. err("Build with ASSERTIONS=2 for more info.");
  14446. abort(x);
  14447. }
  14448. function nullFunc_fiifi(x) {
  14449. 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)");
  14450. err("Build with ASSERTIONS=2 for more info.");
  14451. abort(x);
  14452. }
  14453. function nullFunc_fiifii(x) {
  14454. 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)");
  14455. err("Build with ASSERTIONS=2 for more info.");
  14456. abort(x);
  14457. }
  14458. function nullFunc_fiii(x) {
  14459. 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)");
  14460. err("Build with ASSERTIONS=2 for more info.");
  14461. abort(x);
  14462. }
  14463. function nullFunc_fiiii(x) {
  14464. 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)");
  14465. err("Build with ASSERTIONS=2 for more info.");
  14466. abort(x);
  14467. }
  14468. function nullFunc_fiiiiiifiifif(x) {
  14469. 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)");
  14470. err("Build with ASSERTIONS=2 for more info.");
  14471. abort(x);
  14472. }
  14473. function nullFunc_fiiiiiifiiiif(x) {
  14474. 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)");
  14475. err("Build with ASSERTIONS=2 for more info.");
  14476. abort(x);
  14477. }
  14478. function nullFunc_fji(x) {
  14479. 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)");
  14480. err("Build with ASSERTIONS=2 for more info.");
  14481. abort(x);
  14482. }
  14483. function nullFunc_i(x) {
  14484. 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)");
  14485. err("Build with ASSERTIONS=2 for more info.");
  14486. abort(x);
  14487. }
  14488. function nullFunc_idi(x) {
  14489. 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)");
  14490. err("Build with ASSERTIONS=2 for more info.");
  14491. abort(x);
  14492. }
  14493. function nullFunc_idiii(x) {
  14494. 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)");
  14495. err("Build with ASSERTIONS=2 for more info.");
  14496. abort(x);
  14497. }
  14498. function nullFunc_ifffi(x) {
  14499. 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)");
  14500. err("Build with ASSERTIONS=2 for more info.");
  14501. abort(x);
  14502. }
  14503. function nullFunc_iffi(x) {
  14504. 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)");
  14505. err("Build with ASSERTIONS=2 for more info.");
  14506. abort(x);
  14507. }
  14508. function nullFunc_ifi(x) {
  14509. 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)");
  14510. err("Build with ASSERTIONS=2 for more info.");
  14511. abort(x);
  14512. }
  14513. function nullFunc_ifiii(x) {
  14514. 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)");
  14515. err("Build with ASSERTIONS=2 for more info.");
  14516. abort(x);
  14517. }
  14518. function nullFunc_ii(x) {
  14519. 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)");
  14520. err("Build with ASSERTIONS=2 for more info.");
  14521. abort(x);
  14522. }
  14523. function nullFunc_iidi(x) {
  14524. 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)");
  14525. err("Build with ASSERTIONS=2 for more info.");
  14526. abort(x);
  14527. }
  14528. function nullFunc_iidii(x) {
  14529. 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)");
  14530. err("Build with ASSERTIONS=2 for more info.");
  14531. abort(x);
  14532. }
  14533. function nullFunc_iif(x) {
  14534. 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)");
  14535. err("Build with ASSERTIONS=2 for more info.");
  14536. abort(x);
  14537. }
  14538. function nullFunc_iifff(x) {
  14539. 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)");
  14540. err("Build with ASSERTIONS=2 for more info.");
  14541. abort(x);
  14542. }
  14543. function nullFunc_iifffi(x) {
  14544. 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)");
  14545. err("Build with ASSERTIONS=2 for more info.");
  14546. abort(x);
  14547. }
  14548. function nullFunc_iiffi(x) {
  14549. 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)");
  14550. err("Build with ASSERTIONS=2 for more info.");
  14551. abort(x);
  14552. }
  14553. function nullFunc_iifi(x) {
  14554. 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)");
  14555. err("Build with ASSERTIONS=2 for more info.");
  14556. abort(x);
  14557. }
  14558. function nullFunc_iifii(x) {
  14559. 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)");
  14560. err("Build with ASSERTIONS=2 for more info.");
  14561. abort(x);
  14562. }
  14563. function nullFunc_iifiii(x) {
  14564. 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)");
  14565. err("Build with ASSERTIONS=2 for more info.");
  14566. abort(x);
  14567. }
  14568. function nullFunc_iifiiiijii(x) {
  14569. 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)");
  14570. err("Build with ASSERTIONS=2 for more info.");
  14571. abort(x);
  14572. }
  14573. function nullFunc_iii(x) {
  14574. 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)");
  14575. err("Build with ASSERTIONS=2 for more info.");
  14576. abort(x);
  14577. }
  14578. function nullFunc_iiif(x) {
  14579. 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)");
  14580. err("Build with ASSERTIONS=2 for more info.");
  14581. abort(x);
  14582. }
  14583. function nullFunc_iiiff(x) {
  14584. 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)");
  14585. err("Build with ASSERTIONS=2 for more info.");
  14586. abort(x);
  14587. }
  14588. function nullFunc_iiifi(x) {
  14589. 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)");
  14590. err("Build with ASSERTIONS=2 for more info.");
  14591. abort(x);
  14592. }
  14593. function nullFunc_iiifii(x) {
  14594. 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)");
  14595. err("Build with ASSERTIONS=2 for more info.");
  14596. abort(x);
  14597. }
  14598. function nullFunc_iiifiii(x) {
  14599. 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)");
  14600. err("Build with ASSERTIONS=2 for more info.");
  14601. abort(x);
  14602. }
  14603. function nullFunc_iiifiiii(x) {
  14604. 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)");
  14605. err("Build with ASSERTIONS=2 for more info.");
  14606. abort(x);
  14607. }
  14608. function nullFunc_iiii(x) {
  14609. 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)");
  14610. err("Build with ASSERTIONS=2 for more info.");
  14611. abort(x);
  14612. }
  14613. function nullFunc_iiiifffffi(x) {
  14614. 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)");
  14615. err("Build with ASSERTIONS=2 for more info.");
  14616. abort(x);
  14617. }
  14618. function nullFunc_iiiifffffii(x) {
  14619. 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)");
  14620. err("Build with ASSERTIONS=2 for more info.");
  14621. abort(x);
  14622. }
  14623. function nullFunc_iiiifffiii(x) {
  14624. 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)");
  14625. err("Build with ASSERTIONS=2 for more info.");
  14626. abort(x);
  14627. }
  14628. function nullFunc_iiiifi(x) {
  14629. 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)");
  14630. err("Build with ASSERTIONS=2 for more info.");
  14631. abort(x);
  14632. }
  14633. function nullFunc_iiiifii(x) {
  14634. 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)");
  14635. err("Build with ASSERTIONS=2 for more info.");
  14636. abort(x);
  14637. }
  14638. function nullFunc_iiiifiii(x) {
  14639. 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)");
  14640. err("Build with ASSERTIONS=2 for more info.");
  14641. abort(x);
  14642. }
  14643. function nullFunc_iiiifiiii(x) {
  14644. 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)");
  14645. err("Build with ASSERTIONS=2 for more info.");
  14646. abort(x);
  14647. }
  14648. function nullFunc_iiiifiiiii(x) {
  14649. 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)");
  14650. err("Build with ASSERTIONS=2 for more info.");
  14651. abort(x);
  14652. }
  14653. function nullFunc_iiiii(x) {
  14654. 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)");
  14655. err("Build with ASSERTIONS=2 for more info.");
  14656. abort(x);
  14657. }
  14658. function nullFunc_iiiiifiii(x) {
  14659. 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)");
  14660. err("Build with ASSERTIONS=2 for more info.");
  14661. abort(x);
  14662. }
  14663. function nullFunc_iiiiifiiiiif(x) {
  14664. 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)");
  14665. err("Build with ASSERTIONS=2 for more info.");
  14666. abort(x);
  14667. }
  14668. function nullFunc_iiiiii(x) {
  14669. 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)");
  14670. err("Build with ASSERTIONS=2 for more info.");
  14671. abort(x);
  14672. }
  14673. function nullFunc_iiiiiifff(x) {
  14674. 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)");
  14675. err("Build with ASSERTIONS=2 for more info.");
  14676. abort(x);
  14677. }
  14678. function nullFunc_iiiiiifffiiifiii(x) {
  14679. 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)");
  14680. err("Build with ASSERTIONS=2 for more info.");
  14681. abort(x);
  14682. }
  14683. function nullFunc_iiiiiiffiiiiiiiiiffffiii(x) {
  14684. 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)");
  14685. err("Build with ASSERTIONS=2 for more info.");
  14686. abort(x);
  14687. }
  14688. function nullFunc_iiiiiiffiiiiiiiiiffffiiii(x) {
  14689. 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)");
  14690. err("Build with ASSERTIONS=2 for more info.");
  14691. abort(x);
  14692. }
  14693. function nullFunc_iiiiiiffiiiiiiiiiiiiiii(x) {
  14694. 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)");
  14695. err("Build with ASSERTIONS=2 for more info.");
  14696. abort(x);
  14697. }
  14698. function nullFunc_iiiiiifiif(x) {
  14699. 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)");
  14700. err("Build with ASSERTIONS=2 for more info.");
  14701. abort(x);
  14702. }
  14703. function nullFunc_iiiiiifiii(x) {
  14704. 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)");
  14705. err("Build with ASSERTIONS=2 for more info.");
  14706. abort(x);
  14707. }
  14708. function nullFunc_iiiiiii(x) {
  14709. 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)");
  14710. err("Build with ASSERTIONS=2 for more info.");
  14711. abort(x);
  14712. }
  14713. function nullFunc_iiiiiiifiif(x) {
  14714. 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)");
  14715. err("Build with ASSERTIONS=2 for more info.");
  14716. abort(x);
  14717. }
  14718. function nullFunc_iiiiiiii(x) {
  14719. 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)");
  14720. err("Build with ASSERTIONS=2 for more info.");
  14721. abort(x);
  14722. }
  14723. function nullFunc_iiiiiiiii(x) {
  14724. 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)");
  14725. err("Build with ASSERTIONS=2 for more info.");
  14726. abort(x);
  14727. }
  14728. function nullFunc_iiiiiiiiii(x) {
  14729. 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)");
  14730. err("Build with ASSERTIONS=2 for more info.");
  14731. abort(x);
  14732. }
  14733. function nullFunc_iiiiiiiiiii(x) {
  14734. 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)");
  14735. err("Build with ASSERTIONS=2 for more info.");
  14736. abort(x);
  14737. }
  14738. function nullFunc_iiiiiiiiiiii(x) {
  14739. 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)");
  14740. err("Build with ASSERTIONS=2 for more info.");
  14741. abort(x);
  14742. }
  14743. function nullFunc_iiiiiiiiiiiii(x) {
  14744. 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)");
  14745. err("Build with ASSERTIONS=2 for more info.");
  14746. abort(x);
  14747. }
  14748. function nullFunc_iiiiiiiiiiiiii(x) {
  14749. 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)");
  14750. err("Build with ASSERTIONS=2 for more info.");
  14751. abort(x);
  14752. }
  14753. function nullFunc_iiiiiji(x) {
  14754. 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)");
  14755. err("Build with ASSERTIONS=2 for more info.");
  14756. abort(x);
  14757. }
  14758. function nullFunc_iiiij(x) {
  14759. 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)");
  14760. err("Build with ASSERTIONS=2 for more info.");
  14761. abort(x);
  14762. }
  14763. function nullFunc_iiiiji(x) {
  14764. 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)");
  14765. err("Build with ASSERTIONS=2 for more info.");
  14766. abort(x);
  14767. }
  14768. function nullFunc_iiiijii(x) {
  14769. 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)");
  14770. err("Build with ASSERTIONS=2 for more info.");
  14771. abort(x);
  14772. }
  14773. function nullFunc_iiiijiii(x) {
  14774. 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)");
  14775. err("Build with ASSERTIONS=2 for more info.");
  14776. abort(x);
  14777. }
  14778. function nullFunc_iiij(x) {
  14779. 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)");
  14780. err("Build with ASSERTIONS=2 for more info.");
  14781. abort(x);
  14782. }
  14783. function nullFunc_iiiji(x) {
  14784. 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)");
  14785. err("Build with ASSERTIONS=2 for more info.");
  14786. abort(x);
  14787. }
  14788. function nullFunc_iiijii(x) {
  14789. 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)");
  14790. err("Build with ASSERTIONS=2 for more info.");
  14791. abort(x);
  14792. }
  14793. function nullFunc_iiijiii(x) {
  14794. 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)");
  14795. err("Build with ASSERTIONS=2 for more info.");
  14796. abort(x);
  14797. }
  14798. function nullFunc_iij(x) {
  14799. 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)");
  14800. err("Build with ASSERTIONS=2 for more info.");
  14801. abort(x);
  14802. }
  14803. function nullFunc_iiji(x) {
  14804. 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)");
  14805. err("Build with ASSERTIONS=2 for more info.");
  14806. abort(x);
  14807. }
  14808. function nullFunc_iijii(x) {
  14809. 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)");
  14810. err("Build with ASSERTIONS=2 for more info.");
  14811. abort(x);
  14812. }
  14813. function nullFunc_iijiii(x) {
  14814. 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)");
  14815. err("Build with ASSERTIONS=2 for more info.");
  14816. abort(x);
  14817. }
  14818. function nullFunc_iijji(x) {
  14819. 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)");
  14820. err("Build with ASSERTIONS=2 for more info.");
  14821. abort(x);
  14822. }
  14823. function nullFunc_iijjii(x) {
  14824. 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)");
  14825. err("Build with ASSERTIONS=2 for more info.");
  14826. abort(x);
  14827. }
  14828. function nullFunc_iijjiii(x) {
  14829. 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)");
  14830. err("Build with ASSERTIONS=2 for more info.");
  14831. abort(x);
  14832. }
  14833. function nullFunc_iijjji(x) {
  14834. 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)");
  14835. err("Build with ASSERTIONS=2 for more info.");
  14836. abort(x);
  14837. }
  14838. function nullFunc_ij(x) {
  14839. 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)");
  14840. err("Build with ASSERTIONS=2 for more info.");
  14841. abort(x);
  14842. }
  14843. function nullFunc_iji(x) {
  14844. 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)");
  14845. err("Build with ASSERTIONS=2 for more info.");
  14846. abort(x);
  14847. }
  14848. function nullFunc_ijiii(x) {
  14849. 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)");
  14850. err("Build with ASSERTIONS=2 for more info.");
  14851. abort(x);
  14852. }
  14853. function nullFunc_ijj(x) {
  14854. 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)");
  14855. err("Build with ASSERTIONS=2 for more info.");
  14856. abort(x);
  14857. }
  14858. function nullFunc_ijji(x) {
  14859. 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)");
  14860. err("Build with ASSERTIONS=2 for more info.");
  14861. abort(x);
  14862. }
  14863. function nullFunc_j(x) {
  14864. 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)");
  14865. err("Build with ASSERTIONS=2 for more info.");
  14866. abort(x);
  14867. }
  14868. function nullFunc_jdi(x) {
  14869. 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)");
  14870. err("Build with ASSERTIONS=2 for more info.");
  14871. abort(x);
  14872. }
  14873. function nullFunc_jdii(x) {
  14874. 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)");
  14875. err("Build with ASSERTIONS=2 for more info.");
  14876. abort(x);
  14877. }
  14878. function nullFunc_jfi(x) {
  14879. 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)");
  14880. err("Build with ASSERTIONS=2 for more info.");
  14881. abort(x);
  14882. }
  14883. function nullFunc_ji(x) {
  14884. 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)");
  14885. err("Build with ASSERTIONS=2 for more info.");
  14886. abort(x);
  14887. }
  14888. function nullFunc_jidi(x) {
  14889. 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)");
  14890. err("Build with ASSERTIONS=2 for more info.");
  14891. abort(x);
  14892. }
  14893. function nullFunc_jidii(x) {
  14894. 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)");
  14895. err("Build with ASSERTIONS=2 for more info.");
  14896. abort(x);
  14897. }
  14898. function nullFunc_jii(x) {
  14899. 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)");
  14900. err("Build with ASSERTIONS=2 for more info.");
  14901. abort(x);
  14902. }
  14903. function nullFunc_jiii(x) {
  14904. 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)");
  14905. err("Build with ASSERTIONS=2 for more info.");
  14906. abort(x);
  14907. }
  14908. function nullFunc_jiiii(x) {
  14909. 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)");
  14910. err("Build with ASSERTIONS=2 for more info.");
  14911. abort(x);
  14912. }
  14913. function nullFunc_jiiiii(x) {
  14914. 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)");
  14915. err("Build with ASSERTIONS=2 for more info.");
  14916. abort(x);
  14917. }
  14918. function nullFunc_jiiiiii(x) {
  14919. 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)");
  14920. err("Build with ASSERTIONS=2 for more info.");
  14921. abort(x);
  14922. }
  14923. function nullFunc_jiiiiiiiiii(x) {
  14924. 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)");
  14925. err("Build with ASSERTIONS=2 for more info.");
  14926. abort(x);
  14927. }
  14928. function nullFunc_jiiji(x) {
  14929. 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)");
  14930. err("Build with ASSERTIONS=2 for more info.");
  14931. abort(x);
  14932. }
  14933. function nullFunc_jiji(x) {
  14934. 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)");
  14935. err("Build with ASSERTIONS=2 for more info.");
  14936. abort(x);
  14937. }
  14938. function nullFunc_jijii(x) {
  14939. 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)");
  14940. err("Build with ASSERTIONS=2 for more info.");
  14941. abort(x);
  14942. }
  14943. function nullFunc_jijiii(x) {
  14944. 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)");
  14945. err("Build with ASSERTIONS=2 for more info.");
  14946. abort(x);
  14947. }
  14948. function nullFunc_jijj(x) {
  14949. 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)");
  14950. err("Build with ASSERTIONS=2 for more info.");
  14951. abort(x);
  14952. }
  14953. function nullFunc_jijji(x) {
  14954. 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)");
  14955. err("Build with ASSERTIONS=2 for more info.");
  14956. abort(x);
  14957. }
  14958. function nullFunc_jji(x) {
  14959. 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)");
  14960. err("Build with ASSERTIONS=2 for more info.");
  14961. abort(x);
  14962. }
  14963. function nullFunc_v(x) {
  14964. 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)");
  14965. err("Build with ASSERTIONS=2 for more info.");
  14966. abort(x);
  14967. }
  14968. function nullFunc_vd(x) {
  14969. 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)");
  14970. err("Build with ASSERTIONS=2 for more info.");
  14971. abort(x);
  14972. }
  14973. function nullFunc_vf(x) {
  14974. 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)");
  14975. err("Build with ASSERTIONS=2 for more info.");
  14976. abort(x);
  14977. }
  14978. function nullFunc_vff(x) {
  14979. 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)");
  14980. err("Build with ASSERTIONS=2 for more info.");
  14981. abort(x);
  14982. }
  14983. function nullFunc_vffff(x) {
  14984. 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)");
  14985. err("Build with ASSERTIONS=2 for more info.");
  14986. abort(x);
  14987. }
  14988. function nullFunc_vfi(x) {
  14989. 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)");
  14990. err("Build with ASSERTIONS=2 for more info.");
  14991. abort(x);
  14992. }
  14993. function nullFunc_vfii(x) {
  14994. err("Invalid function pointer called with signature 'vfii'. 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)");
  14995. err("Build with ASSERTIONS=2 for more info.");
  14996. abort(x);
  14997. }
  14998. function nullFunc_vfiii(x) {
  14999. err("Invalid function pointer called with signature 'vfiii'. 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)");
  15000. err("Build with ASSERTIONS=2 for more info.");
  15001. abort(x);
  15002. }
  15003. function nullFunc_vi(x) {
  15004. 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)");
  15005. err("Build with ASSERTIONS=2 for more info.");
  15006. abort(x);
  15007. }
  15008. function nullFunc_vid(x) {
  15009. 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)");
  15010. err("Build with ASSERTIONS=2 for more info.");
  15011. abort(x);
  15012. }
  15013. function nullFunc_vidi(x) {
  15014. 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)");
  15015. err("Build with ASSERTIONS=2 for more info.");
  15016. abort(x);
  15017. }
  15018. function nullFunc_vif(x) {
  15019. 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)");
  15020. err("Build with ASSERTIONS=2 for more info.");
  15021. abort(x);
  15022. }
  15023. function nullFunc_viff(x) {
  15024. 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)");
  15025. err("Build with ASSERTIONS=2 for more info.");
  15026. abort(x);
  15027. }
  15028. function nullFunc_vifff(x) {
  15029. 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)");
  15030. err("Build with ASSERTIONS=2 for more info.");
  15031. abort(x);
  15032. }
  15033. function nullFunc_viffff(x) {
  15034. 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)");
  15035. err("Build with ASSERTIONS=2 for more info.");
  15036. abort(x);
  15037. }
  15038. function nullFunc_viffffi(x) {
  15039. 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)");
  15040. err("Build with ASSERTIONS=2 for more info.");
  15041. abort(x);
  15042. }
  15043. function nullFunc_viffffii(x) {
  15044. 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)");
  15045. err("Build with ASSERTIONS=2 for more info.");
  15046. abort(x);
  15047. }
  15048. function nullFunc_viffffiifffiiiiif(x) {
  15049. 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)");
  15050. err("Build with ASSERTIONS=2 for more info.");
  15051. abort(x);
  15052. }
  15053. function nullFunc_vifffi(x) {
  15054. 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)");
  15055. err("Build with ASSERTIONS=2 for more info.");
  15056. abort(x);
  15057. }
  15058. function nullFunc_vifffii(x) {
  15059. 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)");
  15060. err("Build with ASSERTIONS=2 for more info.");
  15061. abort(x);
  15062. }
  15063. function nullFunc_viffi(x) {
  15064. 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)");
  15065. err("Build with ASSERTIONS=2 for more info.");
  15066. abort(x);
  15067. }
  15068. function nullFunc_viffii(x) {
  15069. 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)");
  15070. err("Build with ASSERTIONS=2 for more info.");
  15071. abort(x);
  15072. }
  15073. function nullFunc_viffiifffffiii(x) {
  15074. 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)");
  15075. err("Build with ASSERTIONS=2 for more info.");
  15076. abort(x);
  15077. }
  15078. function nullFunc_viffiii(x) {
  15079. 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)");
  15080. err("Build with ASSERTIONS=2 for more info.");
  15081. abort(x);
  15082. }
  15083. function nullFunc_viffiiiif(x) {
  15084. 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)");
  15085. err("Build with ASSERTIONS=2 for more info.");
  15086. abort(x);
  15087. }
  15088. function nullFunc_vifi(x) {
  15089. 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)");
  15090. err("Build with ASSERTIONS=2 for more info.");
  15091. abort(x);
  15092. }
  15093. function nullFunc_vifii(x) {
  15094. 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)");
  15095. err("Build with ASSERTIONS=2 for more info.");
  15096. abort(x);
  15097. }
  15098. function nullFunc_vifiiii(x) {
  15099. 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)");
  15100. err("Build with ASSERTIONS=2 for more info.");
  15101. abort(x);
  15102. }
  15103. function nullFunc_vifijii(x) {
  15104. 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)");
  15105. err("Build with ASSERTIONS=2 for more info.");
  15106. abort(x);
  15107. }
  15108. function nullFunc_vii(x) {
  15109. 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)");
  15110. err("Build with ASSERTIONS=2 for more info.");
  15111. abort(x);
  15112. }
  15113. function nullFunc_viid(x) {
  15114. 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)");
  15115. err("Build with ASSERTIONS=2 for more info.");
  15116. abort(x);
  15117. }
  15118. function nullFunc_viidi(x) {
  15119. 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)");
  15120. err("Build with ASSERTIONS=2 for more info.");
  15121. abort(x);
  15122. }
  15123. function nullFunc_viidii(x) {
  15124. 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)");
  15125. err("Build with ASSERTIONS=2 for more info.");
  15126. abort(x);
  15127. }
  15128. function nullFunc_viif(x) {
  15129. 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)");
  15130. err("Build with ASSERTIONS=2 for more info.");
  15131. abort(x);
  15132. }
  15133. function nullFunc_viiff(x) {
  15134. 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)");
  15135. err("Build with ASSERTIONS=2 for more info.");
  15136. abort(x);
  15137. }
  15138. function nullFunc_viifff(x) {
  15139. 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)");
  15140. err("Build with ASSERTIONS=2 for more info.");
  15141. abort(x);
  15142. }
  15143. function nullFunc_viifffi(x) {
  15144. 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)");
  15145. err("Build with ASSERTIONS=2 for more info.");
  15146. abort(x);
  15147. }
  15148. function nullFunc_viiffi(x) {
  15149. 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)");
  15150. err("Build with ASSERTIONS=2 for more info.");
  15151. abort(x);
  15152. }
  15153. function nullFunc_viifi(x) {
  15154. 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)");
  15155. err("Build with ASSERTIONS=2 for more info.");
  15156. abort(x);
  15157. }
  15158. function nullFunc_viifii(x) {
  15159. 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)");
  15160. err("Build with ASSERTIONS=2 for more info.");
  15161. abort(x);
  15162. }
  15163. function nullFunc_viifiii(x) {
  15164. 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)");
  15165. err("Build with ASSERTIONS=2 for more info.");
  15166. abort(x);
  15167. }
  15168. function nullFunc_viifiiii(x) {
  15169. 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)");
  15170. err("Build with ASSERTIONS=2 for more info.");
  15171. abort(x);
  15172. }
  15173. function nullFunc_viii(x) {
  15174. 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)");
  15175. err("Build with ASSERTIONS=2 for more info.");
  15176. abort(x);
  15177. }
  15178. function nullFunc_viiidi(x) {
  15179. 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)");
  15180. err("Build with ASSERTIONS=2 for more info.");
  15181. abort(x);
  15182. }
  15183. function nullFunc_viiifffi(x) {
  15184. 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)");
  15185. err("Build with ASSERTIONS=2 for more info.");
  15186. abort(x);
  15187. }
  15188. function nullFunc_viiiffi(x) {
  15189. 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)");
  15190. err("Build with ASSERTIONS=2 for more info.");
  15191. abort(x);
  15192. }
  15193. function nullFunc_viiiffii(x) {
  15194. 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)");
  15195. err("Build with ASSERTIONS=2 for more info.");
  15196. abort(x);
  15197. }
  15198. function nullFunc_viiifi(x) {
  15199. 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)");
  15200. err("Build with ASSERTIONS=2 for more info.");
  15201. abort(x);
  15202. }
  15203. function nullFunc_viiifii(x) {
  15204. 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)");
  15205. err("Build with ASSERTIONS=2 for more info.");
  15206. abort(x);
  15207. }
  15208. function nullFunc_viiifiii(x) {
  15209. 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)");
  15210. err("Build with ASSERTIONS=2 for more info.");
  15211. abort(x);
  15212. }
  15213. function nullFunc_viiifiiiii(x) {
  15214. 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)");
  15215. err("Build with ASSERTIONS=2 for more info.");
  15216. abort(x);
  15217. }
  15218. function nullFunc_viiii(x) {
  15219. 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)");
  15220. err("Build with ASSERTIONS=2 for more info.");
  15221. abort(x);
  15222. }
  15223. function nullFunc_viiiif(x) {
  15224. 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)");
  15225. err("Build with ASSERTIONS=2 for more info.");
  15226. abort(x);
  15227. }
  15228. function nullFunc_viiiiffi(x) {
  15229. err("Invalid function pointer called with signature 'viiiiffi'. 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)");
  15230. err("Build with ASSERTIONS=2 for more info.");
  15231. abort(x);
  15232. }
  15233. function nullFunc_viiiifii(x) {
  15234. 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)");
  15235. err("Build with ASSERTIONS=2 for more info.");
  15236. abort(x);
  15237. }
  15238. function nullFunc_viiiifiiiiif(x) {
  15239. 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)");
  15240. err("Build with ASSERTIONS=2 for more info.");
  15241. abort(x);
  15242. }
  15243. function nullFunc_viiiii(x) {
  15244. 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)");
  15245. err("Build with ASSERTIONS=2 for more info.");
  15246. abort(x);
  15247. }
  15248. function nullFunc_viiiiif(x) {
  15249. 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)");
  15250. err("Build with ASSERTIONS=2 for more info.");
  15251. abort(x);
  15252. }
  15253. function nullFunc_viiiiiffi(x) {
  15254. 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)");
  15255. err("Build with ASSERTIONS=2 for more info.");
  15256. abort(x);
  15257. }
  15258. function nullFunc_viiiiiffii(x) {
  15259. 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)");
  15260. err("Build with ASSERTIONS=2 for more info.");
  15261. abort(x);
  15262. }
  15263. function nullFunc_viiiiifi(x) {
  15264. 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)");
  15265. err("Build with ASSERTIONS=2 for more info.");
  15266. abort(x);
  15267. }
  15268. function nullFunc_viiiiii(x) {
  15269. 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)");
  15270. err("Build with ASSERTIONS=2 for more info.");
  15271. abort(x);
  15272. }
  15273. function nullFunc_viiiiiif(x) {
  15274. 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)");
  15275. err("Build with ASSERTIONS=2 for more info.");
  15276. abort(x);
  15277. }
  15278. function nullFunc_viiiiiii(x) {
  15279. 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)");
  15280. err("Build with ASSERTIONS=2 for more info.");
  15281. abort(x);
  15282. }
  15283. function nullFunc_viiiiiiifi(x) {
  15284. 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)");
  15285. err("Build with ASSERTIONS=2 for more info.");
  15286. abort(x);
  15287. }
  15288. function nullFunc_viiiiiiii(x) {
  15289. 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)");
  15290. err("Build with ASSERTIONS=2 for more info.");
  15291. abort(x);
  15292. }
  15293. function nullFunc_viiiiiiiii(x) {
  15294. 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)");
  15295. err("Build with ASSERTIONS=2 for more info.");
  15296. abort(x);
  15297. }
  15298. function nullFunc_viiiiiiiiii(x) {
  15299. 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)");
  15300. err("Build with ASSERTIONS=2 for more info.");
  15301. abort(x);
  15302. }
  15303. function nullFunc_viiiiiiiiiii(x) {
  15304. 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)");
  15305. err("Build with ASSERTIONS=2 for more info.");
  15306. abort(x);
  15307. }
  15308. function nullFunc_viiiiiiiiiiifii(x) {
  15309. 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)");
  15310. err("Build with ASSERTIONS=2 for more info.");
  15311. abort(x);
  15312. }
  15313. function nullFunc_viiiiiiiiiiii(x) {
  15314. 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)");
  15315. err("Build with ASSERTIONS=2 for more info.");
  15316. abort(x);
  15317. }
  15318. function nullFunc_viiiiiiiiiiiiii(x) {
  15319. 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)");
  15320. err("Build with ASSERTIONS=2 for more info.");
  15321. abort(x);
  15322. }
  15323. function nullFunc_viiiiiiiiiiiiiii(x) {
  15324. 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)");
  15325. err("Build with ASSERTIONS=2 for more info.");
  15326. abort(x);
  15327. }
  15328. function nullFunc_viiiiiiiiiiiiiiiiii(x) {
  15329. 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)");
  15330. err("Build with ASSERTIONS=2 for more info.");
  15331. abort(x);
  15332. }
  15333. function nullFunc_viiiiiji(x) {
  15334. 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)");
  15335. err("Build with ASSERTIONS=2 for more info.");
  15336. abort(x);
  15337. }
  15338. function nullFunc_viiiij(x) {
  15339. 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)");
  15340. err("Build with ASSERTIONS=2 for more info.");
  15341. abort(x);
  15342. }
  15343. function nullFunc_viiiijiiii(x) {
  15344. 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)");
  15345. err("Build with ASSERTIONS=2 for more info.");
  15346. abort(x);
  15347. }
  15348. function nullFunc_viiiji(x) {
  15349. 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)");
  15350. err("Build with ASSERTIONS=2 for more info.");
  15351. abort(x);
  15352. }
  15353. function nullFunc_viiijji(x) {
  15354. 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)");
  15355. err("Build with ASSERTIONS=2 for more info.");
  15356. abort(x);
  15357. }
  15358. function nullFunc_viij(x) {
  15359. 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)");
  15360. err("Build with ASSERTIONS=2 for more info.");
  15361. abort(x);
  15362. }
  15363. function nullFunc_viiji(x) {
  15364. 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)");
  15365. err("Build with ASSERTIONS=2 for more info.");
  15366. abort(x);
  15367. }
  15368. function nullFunc_viijii(x) {
  15369. 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)");
  15370. err("Build with ASSERTIONS=2 for more info.");
  15371. abort(x);
  15372. }
  15373. function nullFunc_viijiijiii(x) {
  15374. 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)");
  15375. err("Build with ASSERTIONS=2 for more info.");
  15376. abort(x);
  15377. }
  15378. function nullFunc_viijijii(x) {
  15379. 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)");
  15380. err("Build with ASSERTIONS=2 for more info.");
  15381. abort(x);
  15382. }
  15383. function nullFunc_viijijiii(x) {
  15384. 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)");
  15385. err("Build with ASSERTIONS=2 for more info.");
  15386. abort(x);
  15387. }
  15388. function nullFunc_viijijj(x) {
  15389. 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)");
  15390. err("Build with ASSERTIONS=2 for more info.");
  15391. abort(x);
  15392. }
  15393. function nullFunc_viijj(x) {
  15394. 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)");
  15395. err("Build with ASSERTIONS=2 for more info.");
  15396. abort(x);
  15397. }
  15398. function nullFunc_viijji(x) {
  15399. 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)");
  15400. err("Build with ASSERTIONS=2 for more info.");
  15401. abort(x);
  15402. }
  15403. function nullFunc_viijjiii(x) {
  15404. 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)");
  15405. err("Build with ASSERTIONS=2 for more info.");
  15406. abort(x);
  15407. }
  15408. function nullFunc_viijjji(x) {
  15409. 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)");
  15410. err("Build with ASSERTIONS=2 for more info.");
  15411. abort(x);
  15412. }
  15413. function nullFunc_vij(x) {
  15414. 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)");
  15415. err("Build with ASSERTIONS=2 for more info.");
  15416. abort(x);
  15417. }
  15418. function nullFunc_viji(x) {
  15419. 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)");
  15420. err("Build with ASSERTIONS=2 for more info.");
  15421. abort(x);
  15422. }
  15423. function nullFunc_vijii(x) {
  15424. 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)");
  15425. err("Build with ASSERTIONS=2 for more info.");
  15426. abort(x);
  15427. }
  15428. function nullFunc_vijiii(x) {
  15429. 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)");
  15430. err("Build with ASSERTIONS=2 for more info.");
  15431. abort(x);
  15432. }
  15433. function nullFunc_vijiji(x) {
  15434. 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)");
  15435. err("Build with ASSERTIONS=2 for more info.");
  15436. abort(x);
  15437. }
  15438. function nullFunc_vijijji(x) {
  15439. 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)");
  15440. err("Build with ASSERTIONS=2 for more info.");
  15441. abort(x);
  15442. }
  15443. function nullFunc_vijji(x) {
  15444. 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)");
  15445. err("Build with ASSERTIONS=2 for more info.");
  15446. abort(x);
  15447. }
  15448. function nullFunc_vijjii(x) {
  15449. 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)");
  15450. err("Build with ASSERTIONS=2 for more info.");
  15451. abort(x);
  15452. }
  15453. function nullFunc_vji(x) {
  15454. err("Invalid function pointer called with signature 'vji'. 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)");
  15455. err("Build with ASSERTIONS=2 for more info.");
  15456. abort(x);
  15457. }
  15458. function nullFunc_vjiiii(x) {
  15459. 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)");
  15460. err("Build with ASSERTIONS=2 for more info.");
  15461. abort(x);
  15462. }
  15463. function nullFunc_vjji(x) {
  15464. 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)");
  15465. err("Build with ASSERTIONS=2 for more info.");
  15466. abort(x);
  15467. }
  15468. Module["wasmTableSize"] = 49205;
  15469. Module["wasmMaxTableSize"] = 49205;
  15470. function invoke_dddi(index, a1, a2, a3) {
  15471. var sp = stackSave();
  15472. try {
  15473. return Module["dynCall_dddi"](index, a1, a2, a3);
  15474. } catch (e) {
  15475. stackRestore(sp);
  15476. if (typeof e !== "number" && e !== "longjmp") throw e;
  15477. Module["setThrew"](1, 0);
  15478. }
  15479. }
  15480. function invoke_ddi(index, a1, a2) {
  15481. var sp = stackSave();
  15482. try {
  15483. return Module["dynCall_ddi"](index, a1, a2);
  15484. } catch (e) {
  15485. stackRestore(sp);
  15486. if (typeof e !== "number" && e !== "longjmp") throw e;
  15487. Module["setThrew"](1, 0);
  15488. }
  15489. }
  15490. function invoke_dfi(index, a1, a2) {
  15491. var sp = stackSave();
  15492. try {
  15493. return Module["dynCall_dfi"](index, a1, a2);
  15494. } catch (e) {
  15495. stackRestore(sp);
  15496. if (typeof e !== "number" && e !== "longjmp") throw e;
  15497. Module["setThrew"](1, 0);
  15498. }
  15499. }
  15500. function invoke_di(index, a1) {
  15501. var sp = stackSave();
  15502. try {
  15503. return Module["dynCall_di"](index, a1);
  15504. } catch (e) {
  15505. stackRestore(sp);
  15506. if (typeof e !== "number" && e !== "longjmp") throw e;
  15507. Module["setThrew"](1, 0);
  15508. }
  15509. }
  15510. function invoke_diddi(index, a1, a2, a3, a4) {
  15511. var sp = stackSave();
  15512. try {
  15513. return Module["dynCall_diddi"](index, a1, a2, a3, a4);
  15514. } catch (e) {
  15515. stackRestore(sp);
  15516. if (typeof e !== "number" && e !== "longjmp") throw e;
  15517. Module["setThrew"](1, 0);
  15518. }
  15519. }
  15520. function invoke_didi(index, a1, a2, a3) {
  15521. var sp = stackSave();
  15522. try {
  15523. return Module["dynCall_didi"](index, a1, a2, a3);
  15524. } catch (e) {
  15525. stackRestore(sp);
  15526. if (typeof e !== "number" && e !== "longjmp") throw e;
  15527. Module["setThrew"](1, 0);
  15528. }
  15529. }
  15530. function invoke_dii(index, a1, a2) {
  15531. var sp = stackSave();
  15532. try {
  15533. return Module["dynCall_dii"](index, a1, a2);
  15534. } catch (e) {
  15535. stackRestore(sp);
  15536. if (typeof e !== "number" && e !== "longjmp") throw e;
  15537. Module["setThrew"](1, 0);
  15538. }
  15539. }
  15540. function invoke_diii(index, a1, a2, a3) {
  15541. var sp = stackSave();
  15542. try {
  15543. return Module["dynCall_diii"](index, a1, a2, a3);
  15544. } catch (e) {
  15545. stackRestore(sp);
  15546. if (typeof e !== "number" && e !== "longjmp") throw e;
  15547. Module["setThrew"](1, 0);
  15548. }
  15549. }
  15550. function invoke_diiii(index, a1, a2, a3, a4) {
  15551. var sp = stackSave();
  15552. try {
  15553. return Module["dynCall_diiii"](index, a1, a2, a3, a4);
  15554. } catch (e) {
  15555. stackRestore(sp);
  15556. if (typeof e !== "number" && e !== "longjmp") throw e;
  15557. Module["setThrew"](1, 0);
  15558. }
  15559. }
  15560. function invoke_dji(index, a1, a2, a3) {
  15561. var sp = stackSave();
  15562. try {
  15563. return Module["dynCall_dji"](index, a1, a2, a3);
  15564. } catch (e) {
  15565. stackRestore(sp);
  15566. if (typeof e !== "number" && e !== "longjmp") throw e;
  15567. Module["setThrew"](1, 0);
  15568. }
  15569. }
  15570. function invoke_f(index) {
  15571. var sp = stackSave();
  15572. try {
  15573. return Module["dynCall_f"](index);
  15574. } catch (e) {
  15575. stackRestore(sp);
  15576. if (typeof e !== "number" && e !== "longjmp") throw e;
  15577. Module["setThrew"](1, 0);
  15578. }
  15579. }
  15580. function invoke_fdi(index, a1, a2) {
  15581. var sp = stackSave();
  15582. try {
  15583. return Module["dynCall_fdi"](index, a1, a2);
  15584. } catch (e) {
  15585. stackRestore(sp);
  15586. if (typeof e !== "number" && e !== "longjmp") throw e;
  15587. Module["setThrew"](1, 0);
  15588. }
  15589. }
  15590. function invoke_ff(index, a1) {
  15591. var sp = stackSave();
  15592. try {
  15593. return Module["dynCall_ff"](index, a1);
  15594. } catch (e) {
  15595. stackRestore(sp);
  15596. if (typeof e !== "number" && e !== "longjmp") throw e;
  15597. Module["setThrew"](1, 0);
  15598. }
  15599. }
  15600. function invoke_fff(index, a1, a2) {
  15601. var sp = stackSave();
  15602. try {
  15603. return Module["dynCall_fff"](index, a1, a2);
  15604. } catch (e) {
  15605. stackRestore(sp);
  15606. if (typeof e !== "number" && e !== "longjmp") throw e;
  15607. Module["setThrew"](1, 0);
  15608. }
  15609. }
  15610. function invoke_ffffi(index, a1, a2, a3, a4) {
  15611. var sp = stackSave();
  15612. try {
  15613. return Module["dynCall_ffffi"](index, a1, a2, a3, a4);
  15614. } catch (e) {
  15615. stackRestore(sp);
  15616. if (typeof e !== "number" && e !== "longjmp") throw e;
  15617. Module["setThrew"](1, 0);
  15618. }
  15619. }
  15620. function invoke_fffi(index, a1, a2, a3) {
  15621. var sp = stackSave();
  15622. try {
  15623. return Module["dynCall_fffi"](index, a1, a2, a3);
  15624. } catch (e) {
  15625. stackRestore(sp);
  15626. if (typeof e !== "number" && e !== "longjmp") throw e;
  15627. Module["setThrew"](1, 0);
  15628. }
  15629. }
  15630. function invoke_fffifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  15631. var sp = stackSave();
  15632. try {
  15633. return Module["dynCall_fffifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  15634. } catch (e) {
  15635. stackRestore(sp);
  15636. if (typeof e !== "number" && e !== "longjmp") throw e;
  15637. Module["setThrew"](1, 0);
  15638. }
  15639. }
  15640. function invoke_ffi(index, a1, a2) {
  15641. var sp = stackSave();
  15642. try {
  15643. return Module["dynCall_ffi"](index, a1, a2);
  15644. } catch (e) {
  15645. stackRestore(sp);
  15646. if (typeof e !== "number" && e !== "longjmp") throw e;
  15647. Module["setThrew"](1, 0);
  15648. }
  15649. }
  15650. function invoke_fi(index, a1) {
  15651. var sp = stackSave();
  15652. try {
  15653. return Module["dynCall_fi"](index, a1);
  15654. } catch (e) {
  15655. stackRestore(sp);
  15656. if (typeof e !== "number" && e !== "longjmp") throw e;
  15657. Module["setThrew"](1, 0);
  15658. }
  15659. }
  15660. function invoke_fif(index, a1, a2) {
  15661. var sp = stackSave();
  15662. try {
  15663. return Module["dynCall_fif"](index, a1, a2);
  15664. } catch (e) {
  15665. stackRestore(sp);
  15666. if (typeof e !== "number" && e !== "longjmp") throw e;
  15667. Module["setThrew"](1, 0);
  15668. }
  15669. }
  15670. function invoke_fiff(index, a1, a2, a3) {
  15671. var sp = stackSave();
  15672. try {
  15673. return Module["dynCall_fiff"](index, a1, a2, a3);
  15674. } catch (e) {
  15675. stackRestore(sp);
  15676. if (typeof e !== "number" && e !== "longjmp") throw e;
  15677. Module["setThrew"](1, 0);
  15678. }
  15679. }
  15680. function invoke_fiffi(index, a1, a2, a3, a4) {
  15681. var sp = stackSave();
  15682. try {
  15683. return Module["dynCall_fiffi"](index, a1, a2, a3, a4);
  15684. } catch (e) {
  15685. stackRestore(sp);
  15686. if (typeof e !== "number" && e !== "longjmp") throw e;
  15687. Module["setThrew"](1, 0);
  15688. }
  15689. }
  15690. function invoke_fifi(index, a1, a2, a3) {
  15691. var sp = stackSave();
  15692. try {
  15693. return Module["dynCall_fifi"](index, a1, a2, a3);
  15694. } catch (e) {
  15695. stackRestore(sp);
  15696. if (typeof e !== "number" && e !== "longjmp") throw e;
  15697. Module["setThrew"](1, 0);
  15698. }
  15699. }
  15700. function invoke_fifii(index, a1, a2, a3, a4) {
  15701. var sp = stackSave();
  15702. try {
  15703. return Module["dynCall_fifii"](index, a1, a2, a3, a4);
  15704. } catch (e) {
  15705. stackRestore(sp);
  15706. if (typeof e !== "number" && e !== "longjmp") throw e;
  15707. Module["setThrew"](1, 0);
  15708. }
  15709. }
  15710. function invoke_fii(index, a1, a2) {
  15711. var sp = stackSave();
  15712. try {
  15713. return Module["dynCall_fii"](index, a1, a2);
  15714. } catch (e) {
  15715. stackRestore(sp);
  15716. if (typeof e !== "number" && e !== "longjmp") throw e;
  15717. Module["setThrew"](1, 0);
  15718. }
  15719. }
  15720. function invoke_fiifi(index, a1, a2, a3, a4) {
  15721. var sp = stackSave();
  15722. try {
  15723. return Module["dynCall_fiifi"](index, a1, a2, a3, a4);
  15724. } catch (e) {
  15725. stackRestore(sp);
  15726. if (typeof e !== "number" && e !== "longjmp") throw e;
  15727. Module["setThrew"](1, 0);
  15728. }
  15729. }
  15730. function invoke_fiifii(index, a1, a2, a3, a4, a5) {
  15731. var sp = stackSave();
  15732. try {
  15733. return Module["dynCall_fiifii"](index, a1, a2, a3, a4, a5);
  15734. } catch (e) {
  15735. stackRestore(sp);
  15736. if (typeof e !== "number" && e !== "longjmp") throw e;
  15737. Module["setThrew"](1, 0);
  15738. }
  15739. }
  15740. function invoke_fiii(index, a1, a2, a3) {
  15741. var sp = stackSave();
  15742. try {
  15743. return Module["dynCall_fiii"](index, a1, a2, a3);
  15744. } catch (e) {
  15745. stackRestore(sp);
  15746. if (typeof e !== "number" && e !== "longjmp") throw e;
  15747. Module["setThrew"](1, 0);
  15748. }
  15749. }
  15750. function invoke_fiiii(index, a1, a2, a3, a4) {
  15751. var sp = stackSave();
  15752. try {
  15753. return Module["dynCall_fiiii"](index, a1, a2, a3, a4);
  15754. } catch (e) {
  15755. stackRestore(sp);
  15756. if (typeof e !== "number" && e !== "longjmp") throw e;
  15757. Module["setThrew"](1, 0);
  15758. }
  15759. }
  15760. function invoke_fiiiiiifiifif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15761. var sp = stackSave();
  15762. try {
  15763. return Module["dynCall_fiiiiiifiifif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15764. } catch (e) {
  15765. stackRestore(sp);
  15766. if (typeof e !== "number" && e !== "longjmp") throw e;
  15767. Module["setThrew"](1, 0);
  15768. }
  15769. }
  15770. function invoke_fiiiiiifiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15771. var sp = stackSave();
  15772. try {
  15773. return Module["dynCall_fiiiiiifiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15774. } catch (e) {
  15775. stackRestore(sp);
  15776. if (typeof e !== "number" && e !== "longjmp") throw e;
  15777. Module["setThrew"](1, 0);
  15778. }
  15779. }
  15780. function invoke_fji(index, a1, a2, a3) {
  15781. var sp = stackSave();
  15782. try {
  15783. return Module["dynCall_fji"](index, a1, a2, a3);
  15784. } catch (e) {
  15785. stackRestore(sp);
  15786. if (typeof e !== "number" && e !== "longjmp") throw e;
  15787. Module["setThrew"](1, 0);
  15788. }
  15789. }
  15790. function invoke_i(index) {
  15791. var sp = stackSave();
  15792. try {
  15793. return Module["dynCall_i"](index);
  15794. } catch (e) {
  15795. stackRestore(sp);
  15796. if (typeof e !== "number" && e !== "longjmp") throw e;
  15797. Module["setThrew"](1, 0);
  15798. }
  15799. }
  15800. function invoke_idi(index, a1, a2) {
  15801. var sp = stackSave();
  15802. try {
  15803. return Module["dynCall_idi"](index, a1, a2);
  15804. } catch (e) {
  15805. stackRestore(sp);
  15806. if (typeof e !== "number" && e !== "longjmp") throw e;
  15807. Module["setThrew"](1, 0);
  15808. }
  15809. }
  15810. function invoke_idiii(index, a1, a2, a3, a4) {
  15811. var sp = stackSave();
  15812. try {
  15813. return Module["dynCall_idiii"](index, a1, a2, a3, a4);
  15814. } catch (e) {
  15815. stackRestore(sp);
  15816. if (typeof e !== "number" && e !== "longjmp") throw e;
  15817. Module["setThrew"](1, 0);
  15818. }
  15819. }
  15820. function invoke_ifffi(index, a1, a2, a3, a4) {
  15821. var sp = stackSave();
  15822. try {
  15823. return Module["dynCall_ifffi"](index, a1, a2, a3, a4);
  15824. } catch (e) {
  15825. stackRestore(sp);
  15826. if (typeof e !== "number" && e !== "longjmp") throw e;
  15827. Module["setThrew"](1, 0);
  15828. }
  15829. }
  15830. function invoke_iffi(index, a1, a2, a3) {
  15831. var sp = stackSave();
  15832. try {
  15833. return Module["dynCall_iffi"](index, a1, a2, a3);
  15834. } catch (e) {
  15835. stackRestore(sp);
  15836. if (typeof e !== "number" && e !== "longjmp") throw e;
  15837. Module["setThrew"](1, 0);
  15838. }
  15839. }
  15840. function invoke_ifi(index, a1, a2) {
  15841. var sp = stackSave();
  15842. try {
  15843. return Module["dynCall_ifi"](index, a1, a2);
  15844. } catch (e) {
  15845. stackRestore(sp);
  15846. if (typeof e !== "number" && e !== "longjmp") throw e;
  15847. Module["setThrew"](1, 0);
  15848. }
  15849. }
  15850. function invoke_ifiii(index, a1, a2, a3, a4) {
  15851. var sp = stackSave();
  15852. try {
  15853. return Module["dynCall_ifiii"](index, a1, a2, a3, a4);
  15854. } catch (e) {
  15855. stackRestore(sp);
  15856. if (typeof e !== "number" && e !== "longjmp") throw e;
  15857. Module["setThrew"](1, 0);
  15858. }
  15859. }
  15860. function invoke_ii(index, a1) {
  15861. var sp = stackSave();
  15862. try {
  15863. return Module["dynCall_ii"](index, a1);
  15864. } catch (e) {
  15865. stackRestore(sp);
  15866. if (typeof e !== "number" && e !== "longjmp") throw e;
  15867. Module["setThrew"](1, 0);
  15868. }
  15869. }
  15870. function invoke_iidi(index, a1, a2, a3) {
  15871. var sp = stackSave();
  15872. try {
  15873. return Module["dynCall_iidi"](index, a1, a2, a3);
  15874. } catch (e) {
  15875. stackRestore(sp);
  15876. if (typeof e !== "number" && e !== "longjmp") throw e;
  15877. Module["setThrew"](1, 0);
  15878. }
  15879. }
  15880. function invoke_iidii(index, a1, a2, a3, a4) {
  15881. var sp = stackSave();
  15882. try {
  15883. return Module["dynCall_iidii"](index, a1, a2, a3, a4);
  15884. } catch (e) {
  15885. stackRestore(sp);
  15886. if (typeof e !== "number" && e !== "longjmp") throw e;
  15887. Module["setThrew"](1, 0);
  15888. }
  15889. }
  15890. function invoke_iif(index, a1, a2) {
  15891. var sp = stackSave();
  15892. try {
  15893. return Module["dynCall_iif"](index, a1, a2);
  15894. } catch (e) {
  15895. stackRestore(sp);
  15896. if (typeof e !== "number" && e !== "longjmp") throw e;
  15897. Module["setThrew"](1, 0);
  15898. }
  15899. }
  15900. function invoke_iifff(index, a1, a2, a3, a4) {
  15901. var sp = stackSave();
  15902. try {
  15903. return Module["dynCall_iifff"](index, a1, a2, a3, a4);
  15904. } catch (e) {
  15905. stackRestore(sp);
  15906. if (typeof e !== "number" && e !== "longjmp") throw e;
  15907. Module["setThrew"](1, 0);
  15908. }
  15909. }
  15910. function invoke_iifffi(index, a1, a2, a3, a4, a5) {
  15911. var sp = stackSave();
  15912. try {
  15913. return Module["dynCall_iifffi"](index, a1, a2, a3, a4, a5);
  15914. } catch (e) {
  15915. stackRestore(sp);
  15916. if (typeof e !== "number" && e !== "longjmp") throw e;
  15917. Module["setThrew"](1, 0);
  15918. }
  15919. }
  15920. function invoke_iiffi(index, a1, a2, a3, a4) {
  15921. var sp = stackSave();
  15922. try {
  15923. return Module["dynCall_iiffi"](index, a1, a2, a3, a4);
  15924. } catch (e) {
  15925. stackRestore(sp);
  15926. if (typeof e !== "number" && e !== "longjmp") throw e;
  15927. Module["setThrew"](1, 0);
  15928. }
  15929. }
  15930. function invoke_iifi(index, a1, a2, a3) {
  15931. var sp = stackSave();
  15932. try {
  15933. return Module["dynCall_iifi"](index, a1, a2, a3);
  15934. } catch (e) {
  15935. stackRestore(sp);
  15936. if (typeof e !== "number" && e !== "longjmp") throw e;
  15937. Module["setThrew"](1, 0);
  15938. }
  15939. }
  15940. function invoke_iifii(index, a1, a2, a3, a4) {
  15941. var sp = stackSave();
  15942. try {
  15943. return Module["dynCall_iifii"](index, a1, a2, a3, a4);
  15944. } catch (e) {
  15945. stackRestore(sp);
  15946. if (typeof e !== "number" && e !== "longjmp") throw e;
  15947. Module["setThrew"](1, 0);
  15948. }
  15949. }
  15950. function invoke_iifiii(index, a1, a2, a3, a4, a5) {
  15951. var sp = stackSave();
  15952. try {
  15953. return Module["dynCall_iifiii"](index, a1, a2, a3, a4, a5);
  15954. } catch (e) {
  15955. stackRestore(sp);
  15956. if (typeof e !== "number" && e !== "longjmp") throw e;
  15957. Module["setThrew"](1, 0);
  15958. }
  15959. }
  15960. function invoke_iifiiiijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  15961. var sp = stackSave();
  15962. try {
  15963. return Module["dynCall_iifiiiijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  15964. } catch (e) {
  15965. stackRestore(sp);
  15966. if (typeof e !== "number" && e !== "longjmp") throw e;
  15967. Module["setThrew"](1, 0);
  15968. }
  15969. }
  15970. function invoke_iii(index, a1, a2) {
  15971. var sp = stackSave();
  15972. try {
  15973. return Module["dynCall_iii"](index, a1, a2);
  15974. } catch (e) {
  15975. stackRestore(sp);
  15976. if (typeof e !== "number" && e !== "longjmp") throw e;
  15977. Module["setThrew"](1, 0);
  15978. }
  15979. }
  15980. function invoke_iiif(index, a1, a2, a3) {
  15981. var sp = stackSave();
  15982. try {
  15983. return Module["dynCall_iiif"](index, a1, a2, a3);
  15984. } catch (e) {
  15985. stackRestore(sp);
  15986. if (typeof e !== "number" && e !== "longjmp") throw e;
  15987. Module["setThrew"](1, 0);
  15988. }
  15989. }
  15990. function invoke_iiiff(index, a1, a2, a3, a4) {
  15991. var sp = stackSave();
  15992. try {
  15993. return Module["dynCall_iiiff"](index, a1, a2, a3, a4);
  15994. } catch (e) {
  15995. stackRestore(sp);
  15996. if (typeof e !== "number" && e !== "longjmp") throw e;
  15997. Module["setThrew"](1, 0);
  15998. }
  15999. }
  16000. function invoke_iiifi(index, a1, a2, a3, a4) {
  16001. var sp = stackSave();
  16002. try {
  16003. return Module["dynCall_iiifi"](index, a1, a2, a3, a4);
  16004. } catch (e) {
  16005. stackRestore(sp);
  16006. if (typeof e !== "number" && e !== "longjmp") throw e;
  16007. Module["setThrew"](1, 0);
  16008. }
  16009. }
  16010. function invoke_iiifii(index, a1, a2, a3, a4, a5) {
  16011. var sp = stackSave();
  16012. try {
  16013. return Module["dynCall_iiifii"](index, a1, a2, a3, a4, a5);
  16014. } catch (e) {
  16015. stackRestore(sp);
  16016. if (typeof e !== "number" && e !== "longjmp") throw e;
  16017. Module["setThrew"](1, 0);
  16018. }
  16019. }
  16020. function invoke_iiifiii(index, a1, a2, a3, a4, a5, a6) {
  16021. var sp = stackSave();
  16022. try {
  16023. return Module["dynCall_iiifiii"](index, a1, a2, a3, a4, a5, a6);
  16024. } catch (e) {
  16025. stackRestore(sp);
  16026. if (typeof e !== "number" && e !== "longjmp") throw e;
  16027. Module["setThrew"](1, 0);
  16028. }
  16029. }
  16030. function invoke_iiifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16031. var sp = stackSave();
  16032. try {
  16033. return Module["dynCall_iiifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16034. } catch (e) {
  16035. stackRestore(sp);
  16036. if (typeof e !== "number" && e !== "longjmp") throw e;
  16037. Module["setThrew"](1, 0);
  16038. }
  16039. }
  16040. function invoke_iiii(index, a1, a2, a3) {
  16041. var sp = stackSave();
  16042. try {
  16043. return Module["dynCall_iiii"](index, a1, a2, a3);
  16044. } catch (e) {
  16045. stackRestore(sp);
  16046. if (typeof e !== "number" && e !== "longjmp") throw e;
  16047. Module["setThrew"](1, 0);
  16048. }
  16049. }
  16050. function invoke_iiiifffffi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16051. var sp = stackSave();
  16052. try {
  16053. return Module["dynCall_iiiifffffi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16054. } catch (e) {
  16055. stackRestore(sp);
  16056. if (typeof e !== "number" && e !== "longjmp") throw e;
  16057. Module["setThrew"](1, 0);
  16058. }
  16059. }
  16060. function invoke_iiiifffffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16061. var sp = stackSave();
  16062. try {
  16063. return Module["dynCall_iiiifffffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16064. } catch (e) {
  16065. stackRestore(sp);
  16066. if (typeof e !== "number" && e !== "longjmp") throw e;
  16067. Module["setThrew"](1, 0);
  16068. }
  16069. }
  16070. function invoke_iiiifffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16071. var sp = stackSave();
  16072. try {
  16073. return Module["dynCall_iiiifffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16074. } catch (e) {
  16075. stackRestore(sp);
  16076. if (typeof e !== "number" && e !== "longjmp") throw e;
  16077. Module["setThrew"](1, 0);
  16078. }
  16079. }
  16080. function invoke_iiiifi(index, a1, a2, a3, a4, a5) {
  16081. var sp = stackSave();
  16082. try {
  16083. return Module["dynCall_iiiifi"](index, a1, a2, a3, a4, a5);
  16084. } catch (e) {
  16085. stackRestore(sp);
  16086. if (typeof e !== "number" && e !== "longjmp") throw e;
  16087. Module["setThrew"](1, 0);
  16088. }
  16089. }
  16090. function invoke_iiiifii(index, a1, a2, a3, a4, a5, a6) {
  16091. var sp = stackSave();
  16092. try {
  16093. return Module["dynCall_iiiifii"](index, a1, a2, a3, a4, a5, a6);
  16094. } catch (e) {
  16095. stackRestore(sp);
  16096. if (typeof e !== "number" && e !== "longjmp") throw e;
  16097. Module["setThrew"](1, 0);
  16098. }
  16099. }
  16100. function invoke_iiiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16101. var sp = stackSave();
  16102. try {
  16103. return Module["dynCall_iiiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16104. } catch (e) {
  16105. stackRestore(sp);
  16106. if (typeof e !== "number" && e !== "longjmp") throw e;
  16107. Module["setThrew"](1, 0);
  16108. }
  16109. }
  16110. function invoke_iiiifiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16111. var sp = stackSave();
  16112. try {
  16113. return Module["dynCall_iiiifiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16114. } catch (e) {
  16115. stackRestore(sp);
  16116. if (typeof e !== "number" && e !== "longjmp") throw e;
  16117. Module["setThrew"](1, 0);
  16118. }
  16119. }
  16120. function invoke_iiiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16121. var sp = stackSave();
  16122. try {
  16123. return Module["dynCall_iiiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16124. } catch (e) {
  16125. stackRestore(sp);
  16126. if (typeof e !== "number" && e !== "longjmp") throw e;
  16127. Module["setThrew"](1, 0);
  16128. }
  16129. }
  16130. function invoke_iiiii(index, a1, a2, a3, a4) {
  16131. var sp = stackSave();
  16132. try {
  16133. return Module["dynCall_iiiii"](index, a1, a2, a3, a4);
  16134. } catch (e) {
  16135. stackRestore(sp);
  16136. if (typeof e !== "number" && e !== "longjmp") throw e;
  16137. Module["setThrew"](1, 0);
  16138. }
  16139. }
  16140. function invoke_iiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16141. var sp = stackSave();
  16142. try {
  16143. return Module["dynCall_iiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16144. } catch (e) {
  16145. stackRestore(sp);
  16146. if (typeof e !== "number" && e !== "longjmp") throw e;
  16147. Module["setThrew"](1, 0);
  16148. }
  16149. }
  16150. function invoke_iiiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16151. var sp = stackSave();
  16152. try {
  16153. return Module["dynCall_iiiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16154. } catch (e) {
  16155. stackRestore(sp);
  16156. if (typeof e !== "number" && e !== "longjmp") throw e;
  16157. Module["setThrew"](1, 0);
  16158. }
  16159. }
  16160. function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
  16161. var sp = stackSave();
  16162. try {
  16163. return Module["dynCall_iiiiii"](index, a1, a2, a3, a4, a5);
  16164. } catch (e) {
  16165. stackRestore(sp);
  16166. if (typeof e !== "number" && e !== "longjmp") throw e;
  16167. Module["setThrew"](1, 0);
  16168. }
  16169. }
  16170. function invoke_iiiiiifff(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16171. var sp = stackSave();
  16172. try {
  16173. return Module["dynCall_iiiiiifff"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16174. } catch (e) {
  16175. stackRestore(sp);
  16176. if (typeof e !== "number" && e !== "longjmp") throw e;
  16177. Module["setThrew"](1, 0);
  16178. }
  16179. }
  16180. function invoke_iiiiiifffiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  16181. var sp = stackSave();
  16182. try {
  16183. return Module["dynCall_iiiiiifffiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  16184. } catch (e) {
  16185. stackRestore(sp);
  16186. if (typeof e !== "number" && e !== "longjmp") throw e;
  16187. Module["setThrew"](1, 0);
  16188. }
  16189. }
  16190. 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) {
  16191. var sp = stackSave();
  16192. try {
  16193. 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);
  16194. } catch (e) {
  16195. stackRestore(sp);
  16196. if (typeof e !== "number" && e !== "longjmp") throw e;
  16197. Module["setThrew"](1, 0);
  16198. }
  16199. }
  16200. 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) {
  16201. var sp = stackSave();
  16202. try {
  16203. 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);
  16204. } catch (e) {
  16205. stackRestore(sp);
  16206. if (typeof e !== "number" && e !== "longjmp") throw e;
  16207. Module["setThrew"](1, 0);
  16208. }
  16209. }
  16210. 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) {
  16211. var sp = stackSave();
  16212. try {
  16213. 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);
  16214. } catch (e) {
  16215. stackRestore(sp);
  16216. if (typeof e !== "number" && e !== "longjmp") throw e;
  16217. Module["setThrew"](1, 0);
  16218. }
  16219. }
  16220. function invoke_iiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16221. var sp = stackSave();
  16222. try {
  16223. return Module["dynCall_iiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16224. } catch (e) {
  16225. stackRestore(sp);
  16226. if (typeof e !== "number" && e !== "longjmp") throw e;
  16227. Module["setThrew"](1, 0);
  16228. }
  16229. }
  16230. function invoke_iiiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16231. var sp = stackSave();
  16232. try {
  16233. return Module["dynCall_iiiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16234. } catch (e) {
  16235. stackRestore(sp);
  16236. if (typeof e !== "number" && e !== "longjmp") throw e;
  16237. Module["setThrew"](1, 0);
  16238. }
  16239. }
  16240. function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16241. var sp = stackSave();
  16242. try {
  16243. return Module["dynCall_iiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16244. } catch (e) {
  16245. stackRestore(sp);
  16246. if (typeof e !== "number" && e !== "longjmp") throw e;
  16247. Module["setThrew"](1, 0);
  16248. }
  16249. }
  16250. function invoke_iiiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16251. var sp = stackSave();
  16252. try {
  16253. return Module["dynCall_iiiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16254. } catch (e) {
  16255. stackRestore(sp);
  16256. if (typeof e !== "number" && e !== "longjmp") throw e;
  16257. Module["setThrew"](1, 0);
  16258. }
  16259. }
  16260. function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16261. var sp = stackSave();
  16262. try {
  16263. return Module["dynCall_iiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16264. } catch (e) {
  16265. stackRestore(sp);
  16266. if (typeof e !== "number" && e !== "longjmp") throw e;
  16267. Module["setThrew"](1, 0);
  16268. }
  16269. }
  16270. function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16271. var sp = stackSave();
  16272. try {
  16273. return Module["dynCall_iiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16274. } catch (e) {
  16275. stackRestore(sp);
  16276. if (typeof e !== "number" && e !== "longjmp") throw e;
  16277. Module["setThrew"](1, 0);
  16278. }
  16279. }
  16280. function invoke_iiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16281. var sp = stackSave();
  16282. try {
  16283. return Module["dynCall_iiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16284. } catch (e) {
  16285. stackRestore(sp);
  16286. if (typeof e !== "number" && e !== "longjmp") throw e;
  16287. Module["setThrew"](1, 0);
  16288. }
  16289. }
  16290. function invoke_iiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16291. var sp = stackSave();
  16292. try {
  16293. return Module["dynCall_iiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16294. } catch (e) {
  16295. stackRestore(sp);
  16296. if (typeof e !== "number" && e !== "longjmp") throw e;
  16297. Module["setThrew"](1, 0);
  16298. }
  16299. }
  16300. function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16301. var sp = stackSave();
  16302. try {
  16303. return Module["dynCall_iiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16304. } catch (e) {
  16305. stackRestore(sp);
  16306. if (typeof e !== "number" && e !== "longjmp") throw e;
  16307. Module["setThrew"](1, 0);
  16308. }
  16309. }
  16310. function invoke_iiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  16311. var sp = stackSave();
  16312. try {
  16313. return Module["dynCall_iiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  16314. } catch (e) {
  16315. stackRestore(sp);
  16316. if (typeof e !== "number" && e !== "longjmp") throw e;
  16317. Module["setThrew"](1, 0);
  16318. }
  16319. }
  16320. function invoke_iiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  16321. var sp = stackSave();
  16322. try {
  16323. return Module["dynCall_iiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  16324. } catch (e) {
  16325. stackRestore(sp);
  16326. if (typeof e !== "number" && e !== "longjmp") throw e;
  16327. Module["setThrew"](1, 0);
  16328. }
  16329. }
  16330. function invoke_iiiiiji(index, a1, a2, a3, a4, a5, a6, a7) {
  16331. var sp = stackSave();
  16332. try {
  16333. return Module["dynCall_iiiiiji"](index, a1, a2, a3, a4, a5, a6, a7);
  16334. } catch (e) {
  16335. stackRestore(sp);
  16336. if (typeof e !== "number" && e !== "longjmp") throw e;
  16337. Module["setThrew"](1, 0);
  16338. }
  16339. }
  16340. function invoke_iiiij(index, a1, a2, a3, a4, a5) {
  16341. var sp = stackSave();
  16342. try {
  16343. return Module["dynCall_iiiij"](index, a1, a2, a3, a4, a5);
  16344. } catch (e) {
  16345. stackRestore(sp);
  16346. if (typeof e !== "number" && e !== "longjmp") throw e;
  16347. Module["setThrew"](1, 0);
  16348. }
  16349. }
  16350. function invoke_iiiiji(index, a1, a2, a3, a4, a5, a6) {
  16351. var sp = stackSave();
  16352. try {
  16353. return Module["dynCall_iiiiji"](index, a1, a2, a3, a4, a5, a6);
  16354. } catch (e) {
  16355. stackRestore(sp);
  16356. if (typeof e !== "number" && e !== "longjmp") throw e;
  16357. Module["setThrew"](1, 0);
  16358. }
  16359. }
  16360. function invoke_iiiijii(index, a1, a2, a3, a4, a5, a6, a7) {
  16361. var sp = stackSave();
  16362. try {
  16363. return Module["dynCall_iiiijii"](index, a1, a2, a3, a4, a5, a6, a7);
  16364. } catch (e) {
  16365. stackRestore(sp);
  16366. if (typeof e !== "number" && e !== "longjmp") throw e;
  16367. Module["setThrew"](1, 0);
  16368. }
  16369. }
  16370. function invoke_iiiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16371. var sp = stackSave();
  16372. try {
  16373. return Module["dynCall_iiiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16374. } catch (e) {
  16375. stackRestore(sp);
  16376. if (typeof e !== "number" && e !== "longjmp") throw e;
  16377. Module["setThrew"](1, 0);
  16378. }
  16379. }
  16380. function invoke_iiij(index, a1, a2, a3, a4) {
  16381. var sp = stackSave();
  16382. try {
  16383. return Module["dynCall_iiij"](index, a1, a2, a3, a4);
  16384. } catch (e) {
  16385. stackRestore(sp);
  16386. if (typeof e !== "number" && e !== "longjmp") throw e;
  16387. Module["setThrew"](1, 0);
  16388. }
  16389. }
  16390. function invoke_iiiji(index, a1, a2, a3, a4, a5) {
  16391. var sp = stackSave();
  16392. try {
  16393. return Module["dynCall_iiiji"](index, a1, a2, a3, a4, a5);
  16394. } catch (e) {
  16395. stackRestore(sp);
  16396. if (typeof e !== "number" && e !== "longjmp") throw e;
  16397. Module["setThrew"](1, 0);
  16398. }
  16399. }
  16400. function invoke_iiijii(index, a1, a2, a3, a4, a5, a6) {
  16401. var sp = stackSave();
  16402. try {
  16403. return Module["dynCall_iiijii"](index, a1, a2, a3, a4, a5, a6);
  16404. } catch (e) {
  16405. stackRestore(sp);
  16406. if (typeof e !== "number" && e !== "longjmp") throw e;
  16407. Module["setThrew"](1, 0);
  16408. }
  16409. }
  16410. function invoke_iiijiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16411. var sp = stackSave();
  16412. try {
  16413. return Module["dynCall_iiijiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16414. } catch (e) {
  16415. stackRestore(sp);
  16416. if (typeof e !== "number" && e !== "longjmp") throw e;
  16417. Module["setThrew"](1, 0);
  16418. }
  16419. }
  16420. function invoke_iij(index, a1, a2, a3) {
  16421. var sp = stackSave();
  16422. try {
  16423. return Module["dynCall_iij"](index, a1, a2, a3);
  16424. } catch (e) {
  16425. stackRestore(sp);
  16426. if (typeof e !== "number" && e !== "longjmp") throw e;
  16427. Module["setThrew"](1, 0);
  16428. }
  16429. }
  16430. function invoke_iiji(index, a1, a2, a3, a4) {
  16431. var sp = stackSave();
  16432. try {
  16433. return Module["dynCall_iiji"](index, a1, a2, a3, a4);
  16434. } catch (e) {
  16435. stackRestore(sp);
  16436. if (typeof e !== "number" && e !== "longjmp") throw e;
  16437. Module["setThrew"](1, 0);
  16438. }
  16439. }
  16440. function invoke_iijii(index, a1, a2, a3, a4, a5) {
  16441. var sp = stackSave();
  16442. try {
  16443. return Module["dynCall_iijii"](index, a1, a2, a3, a4, a5);
  16444. } catch (e) {
  16445. stackRestore(sp);
  16446. if (typeof e !== "number" && e !== "longjmp") throw e;
  16447. Module["setThrew"](1, 0);
  16448. }
  16449. }
  16450. function invoke_iijiii(index, a1, a2, a3, a4, a5, a6) {
  16451. var sp = stackSave();
  16452. try {
  16453. return Module["dynCall_iijiii"](index, a1, a2, a3, a4, a5, a6);
  16454. } catch (e) {
  16455. stackRestore(sp);
  16456. if (typeof e !== "number" && e !== "longjmp") throw e;
  16457. Module["setThrew"](1, 0);
  16458. }
  16459. }
  16460. function invoke_iijji(index, a1, a2, a3, a4, a5, a6) {
  16461. var sp = stackSave();
  16462. try {
  16463. return Module["dynCall_iijji"](index, a1, a2, a3, a4, a5, a6);
  16464. } catch (e) {
  16465. stackRestore(sp);
  16466. if (typeof e !== "number" && e !== "longjmp") throw e;
  16467. Module["setThrew"](1, 0);
  16468. }
  16469. }
  16470. function invoke_iijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  16471. var sp = stackSave();
  16472. try {
  16473. return Module["dynCall_iijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  16474. } catch (e) {
  16475. stackRestore(sp);
  16476. if (typeof e !== "number" && e !== "longjmp") throw e;
  16477. Module["setThrew"](1, 0);
  16478. }
  16479. }
  16480. function invoke_iijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16481. var sp = stackSave();
  16482. try {
  16483. return Module["dynCall_iijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16484. } catch (e) {
  16485. stackRestore(sp);
  16486. if (typeof e !== "number" && e !== "longjmp") throw e;
  16487. Module["setThrew"](1, 0);
  16488. }
  16489. }
  16490. function invoke_iijjji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16491. var sp = stackSave();
  16492. try {
  16493. return Module["dynCall_iijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16494. } catch (e) {
  16495. stackRestore(sp);
  16496. if (typeof e !== "number" && e !== "longjmp") throw e;
  16497. Module["setThrew"](1, 0);
  16498. }
  16499. }
  16500. function invoke_ij(index, a1, a2) {
  16501. var sp = stackSave();
  16502. try {
  16503. return Module["dynCall_ij"](index, a1, a2);
  16504. } catch (e) {
  16505. stackRestore(sp);
  16506. if (typeof e !== "number" && e !== "longjmp") throw e;
  16507. Module["setThrew"](1, 0);
  16508. }
  16509. }
  16510. function invoke_iji(index, a1, a2, a3) {
  16511. var sp = stackSave();
  16512. try {
  16513. return Module["dynCall_iji"](index, a1, a2, a3);
  16514. } catch (e) {
  16515. stackRestore(sp);
  16516. if (typeof e !== "number" && e !== "longjmp") throw e;
  16517. Module["setThrew"](1, 0);
  16518. }
  16519. }
  16520. function invoke_ijiii(index, a1, a2, a3, a4, a5) {
  16521. var sp = stackSave();
  16522. try {
  16523. return Module["dynCall_ijiii"](index, a1, a2, a3, a4, a5);
  16524. } catch (e) {
  16525. stackRestore(sp);
  16526. if (typeof e !== "number" && e !== "longjmp") throw e;
  16527. Module["setThrew"](1, 0);
  16528. }
  16529. }
  16530. function invoke_ijj(index, a1, a2, a3, a4) {
  16531. var sp = stackSave();
  16532. try {
  16533. return Module["dynCall_ijj"](index, a1, a2, a3, a4);
  16534. } catch (e) {
  16535. stackRestore(sp);
  16536. if (typeof e !== "number" && e !== "longjmp") throw e;
  16537. Module["setThrew"](1, 0);
  16538. }
  16539. }
  16540. function invoke_ijji(index, a1, a2, a3, a4, a5) {
  16541. var sp = stackSave();
  16542. try {
  16543. return Module["dynCall_ijji"](index, a1, a2, a3, a4, a5);
  16544. } catch (e) {
  16545. stackRestore(sp);
  16546. if (typeof e !== "number" && e !== "longjmp") throw e;
  16547. Module["setThrew"](1, 0);
  16548. }
  16549. }
  16550. function invoke_j(index) {
  16551. var sp = stackSave();
  16552. try {
  16553. return Module["dynCall_j"](index);
  16554. } catch (e) {
  16555. stackRestore(sp);
  16556. if (typeof e !== "number" && e !== "longjmp") throw e;
  16557. Module["setThrew"](1, 0);
  16558. }
  16559. }
  16560. function invoke_jdi(index, a1, a2) {
  16561. var sp = stackSave();
  16562. try {
  16563. return Module["dynCall_jdi"](index, a1, a2);
  16564. } catch (e) {
  16565. stackRestore(sp);
  16566. if (typeof e !== "number" && e !== "longjmp") throw e;
  16567. Module["setThrew"](1, 0);
  16568. }
  16569. }
  16570. function invoke_jdii(index, a1, a2, a3) {
  16571. var sp = stackSave();
  16572. try {
  16573. return Module["dynCall_jdii"](index, a1, a2, a3);
  16574. } catch (e) {
  16575. stackRestore(sp);
  16576. if (typeof e !== "number" && e !== "longjmp") throw e;
  16577. Module["setThrew"](1, 0);
  16578. }
  16579. }
  16580. function invoke_jfi(index, a1, a2) {
  16581. var sp = stackSave();
  16582. try {
  16583. return Module["dynCall_jfi"](index, a1, a2);
  16584. } catch (e) {
  16585. stackRestore(sp);
  16586. if (typeof e !== "number" && e !== "longjmp") throw e;
  16587. Module["setThrew"](1, 0);
  16588. }
  16589. }
  16590. function invoke_ji(index, a1) {
  16591. var sp = stackSave();
  16592. try {
  16593. return Module["dynCall_ji"](index, a1);
  16594. } catch (e) {
  16595. stackRestore(sp);
  16596. if (typeof e !== "number" && e !== "longjmp") throw e;
  16597. Module["setThrew"](1, 0);
  16598. }
  16599. }
  16600. function invoke_jidi(index, a1, a2, a3) {
  16601. var sp = stackSave();
  16602. try {
  16603. return Module["dynCall_jidi"](index, a1, a2, a3);
  16604. } catch (e) {
  16605. stackRestore(sp);
  16606. if (typeof e !== "number" && e !== "longjmp") throw e;
  16607. Module["setThrew"](1, 0);
  16608. }
  16609. }
  16610. function invoke_jidii(index, a1, a2, a3, a4) {
  16611. var sp = stackSave();
  16612. try {
  16613. return Module["dynCall_jidii"](index, a1, a2, a3, a4);
  16614. } catch (e) {
  16615. stackRestore(sp);
  16616. if (typeof e !== "number" && e !== "longjmp") throw e;
  16617. Module["setThrew"](1, 0);
  16618. }
  16619. }
  16620. function invoke_jii(index, a1, a2) {
  16621. var sp = stackSave();
  16622. try {
  16623. return Module["dynCall_jii"](index, a1, a2);
  16624. } catch (e) {
  16625. stackRestore(sp);
  16626. if (typeof e !== "number" && e !== "longjmp") throw e;
  16627. Module["setThrew"](1, 0);
  16628. }
  16629. }
  16630. function invoke_jiii(index, a1, a2, a3) {
  16631. var sp = stackSave();
  16632. try {
  16633. return Module["dynCall_jiii"](index, a1, a2, a3);
  16634. } catch (e) {
  16635. stackRestore(sp);
  16636. if (typeof e !== "number" && e !== "longjmp") throw e;
  16637. Module["setThrew"](1, 0);
  16638. }
  16639. }
  16640. function invoke_jiiii(index, a1, a2, a3, a4) {
  16641. var sp = stackSave();
  16642. try {
  16643. return Module["dynCall_jiiii"](index, a1, a2, a3, a4);
  16644. } catch (e) {
  16645. stackRestore(sp);
  16646. if (typeof e !== "number" && e !== "longjmp") throw e;
  16647. Module["setThrew"](1, 0);
  16648. }
  16649. }
  16650. function invoke_jiiiii(index, a1, a2, a3, a4, a5) {
  16651. var sp = stackSave();
  16652. try {
  16653. return Module["dynCall_jiiiii"](index, a1, a2, a3, a4, a5);
  16654. } catch (e) {
  16655. stackRestore(sp);
  16656. if (typeof e !== "number" && e !== "longjmp") throw e;
  16657. Module["setThrew"](1, 0);
  16658. }
  16659. }
  16660. function invoke_jiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16661. var sp = stackSave();
  16662. try {
  16663. return Module["dynCall_jiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16664. } catch (e) {
  16665. stackRestore(sp);
  16666. if (typeof e !== "number" && e !== "longjmp") throw e;
  16667. Module["setThrew"](1, 0);
  16668. }
  16669. }
  16670. function invoke_jiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16671. var sp = stackSave();
  16672. try {
  16673. return Module["dynCall_jiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16674. } catch (e) {
  16675. stackRestore(sp);
  16676. if (typeof e !== "number" && e !== "longjmp") throw e;
  16677. Module["setThrew"](1, 0);
  16678. }
  16679. }
  16680. function invoke_jiiji(index, a1, a2, a3, a4, a5) {
  16681. var sp = stackSave();
  16682. try {
  16683. return Module["dynCall_jiiji"](index, a1, a2, a3, a4, a5);
  16684. } catch (e) {
  16685. stackRestore(sp);
  16686. if (typeof e !== "number" && e !== "longjmp") throw e;
  16687. Module["setThrew"](1, 0);
  16688. }
  16689. }
  16690. function invoke_jiji(index, a1, a2, a3, a4) {
  16691. var sp = stackSave();
  16692. try {
  16693. return Module["dynCall_jiji"](index, a1, a2, a3, a4);
  16694. } catch (e) {
  16695. stackRestore(sp);
  16696. if (typeof e !== "number" && e !== "longjmp") throw e;
  16697. Module["setThrew"](1, 0);
  16698. }
  16699. }
  16700. function invoke_jijii(index, a1, a2, a3, a4, a5) {
  16701. var sp = stackSave();
  16702. try {
  16703. return Module["dynCall_jijii"](index, a1, a2, a3, a4, a5);
  16704. } catch (e) {
  16705. stackRestore(sp);
  16706. if (typeof e !== "number" && e !== "longjmp") throw e;
  16707. Module["setThrew"](1, 0);
  16708. }
  16709. }
  16710. function invoke_jijiii(index, a1, a2, a3, a4, a5, a6) {
  16711. var sp = stackSave();
  16712. try {
  16713. return Module["dynCall_jijiii"](index, a1, a2, a3, a4, a5, a6);
  16714. } catch (e) {
  16715. stackRestore(sp);
  16716. if (typeof e !== "number" && e !== "longjmp") throw e;
  16717. Module["setThrew"](1, 0);
  16718. }
  16719. }
  16720. function invoke_jijj(index, a1, a2, a3, a4, a5) {
  16721. var sp = stackSave();
  16722. try {
  16723. return Module["dynCall_jijj"](index, a1, a2, a3, a4, a5);
  16724. } catch (e) {
  16725. stackRestore(sp);
  16726. if (typeof e !== "number" && e !== "longjmp") throw e;
  16727. Module["setThrew"](1, 0);
  16728. }
  16729. }
  16730. function invoke_jijji(index, a1, a2, a3, a4, a5, a6) {
  16731. var sp = stackSave();
  16732. try {
  16733. return Module["dynCall_jijji"](index, a1, a2, a3, a4, a5, a6);
  16734. } catch (e) {
  16735. stackRestore(sp);
  16736. if (typeof e !== "number" && e !== "longjmp") throw e;
  16737. Module["setThrew"](1, 0);
  16738. }
  16739. }
  16740. function invoke_jji(index, a1, a2, a3) {
  16741. var sp = stackSave();
  16742. try {
  16743. return Module["dynCall_jji"](index, a1, a2, a3);
  16744. } catch (e) {
  16745. stackRestore(sp);
  16746. if (typeof e !== "number" && e !== "longjmp") throw e;
  16747. Module["setThrew"](1, 0);
  16748. }
  16749. }
  16750. function invoke_v(index) {
  16751. var sp = stackSave();
  16752. try {
  16753. Module["dynCall_v"](index);
  16754. } catch (e) {
  16755. stackRestore(sp);
  16756. if (typeof e !== "number" && e !== "longjmp") throw e;
  16757. Module["setThrew"](1, 0);
  16758. }
  16759. }
  16760. function invoke_vd(index, a1) {
  16761. var sp = stackSave();
  16762. try {
  16763. Module["dynCall_vd"](index, a1);
  16764. } catch (e) {
  16765. stackRestore(sp);
  16766. if (typeof e !== "number" && e !== "longjmp") throw e;
  16767. Module["setThrew"](1, 0);
  16768. }
  16769. }
  16770. function invoke_vf(index, a1) {
  16771. var sp = stackSave();
  16772. try {
  16773. Module["dynCall_vf"](index, a1);
  16774. } catch (e) {
  16775. stackRestore(sp);
  16776. if (typeof e !== "number" && e !== "longjmp") throw e;
  16777. Module["setThrew"](1, 0);
  16778. }
  16779. }
  16780. function invoke_vff(index, a1, a2) {
  16781. var sp = stackSave();
  16782. try {
  16783. Module["dynCall_vff"](index, a1, a2);
  16784. } catch (e) {
  16785. stackRestore(sp);
  16786. if (typeof e !== "number" && e !== "longjmp") throw e;
  16787. Module["setThrew"](1, 0);
  16788. }
  16789. }
  16790. function invoke_vffff(index, a1, a2, a3, a4) {
  16791. var sp = stackSave();
  16792. try {
  16793. Module["dynCall_vffff"](index, a1, a2, a3, a4);
  16794. } catch (e) {
  16795. stackRestore(sp);
  16796. if (typeof e !== "number" && e !== "longjmp") throw e;
  16797. Module["setThrew"](1, 0);
  16798. }
  16799. }
  16800. function invoke_vfi(index, a1, a2) {
  16801. var sp = stackSave();
  16802. try {
  16803. Module["dynCall_vfi"](index, a1, a2);
  16804. } catch (e) {
  16805. stackRestore(sp);
  16806. if (typeof e !== "number" && e !== "longjmp") throw e;
  16807. Module["setThrew"](1, 0);
  16808. }
  16809. }
  16810. function invoke_vfii(index, a1, a2, a3) {
  16811. var sp = stackSave();
  16812. try {
  16813. Module["dynCall_vfii"](index, a1, a2, a3);
  16814. } catch (e) {
  16815. stackRestore(sp);
  16816. if (typeof e !== "number" && e !== "longjmp") throw e;
  16817. Module["setThrew"](1, 0);
  16818. }
  16819. }
  16820. function invoke_vfiii(index, a1, a2, a3, a4) {
  16821. var sp = stackSave();
  16822. try {
  16823. Module["dynCall_vfiii"](index, a1, a2, a3, a4);
  16824. } catch (e) {
  16825. stackRestore(sp);
  16826. if (typeof e !== "number" && e !== "longjmp") throw e;
  16827. Module["setThrew"](1, 0);
  16828. }
  16829. }
  16830. function invoke_vi(index, a1) {
  16831. var sp = stackSave();
  16832. try {
  16833. Module["dynCall_vi"](index, a1);
  16834. } catch (e) {
  16835. stackRestore(sp);
  16836. if (typeof e !== "number" && e !== "longjmp") throw e;
  16837. Module["setThrew"](1, 0);
  16838. }
  16839. }
  16840. function invoke_vid(index, a1, a2) {
  16841. var sp = stackSave();
  16842. try {
  16843. Module["dynCall_vid"](index, a1, a2);
  16844. } catch (e) {
  16845. stackRestore(sp);
  16846. if (typeof e !== "number" && e !== "longjmp") throw e;
  16847. Module["setThrew"](1, 0);
  16848. }
  16849. }
  16850. function invoke_vidi(index, a1, a2, a3) {
  16851. var sp = stackSave();
  16852. try {
  16853. Module["dynCall_vidi"](index, a1, a2, a3);
  16854. } catch (e) {
  16855. stackRestore(sp);
  16856. if (typeof e !== "number" && e !== "longjmp") throw e;
  16857. Module["setThrew"](1, 0);
  16858. }
  16859. }
  16860. function invoke_vif(index, a1, a2) {
  16861. var sp = stackSave();
  16862. try {
  16863. Module["dynCall_vif"](index, a1, a2);
  16864. } catch (e) {
  16865. stackRestore(sp);
  16866. if (typeof e !== "number" && e !== "longjmp") throw e;
  16867. Module["setThrew"](1, 0);
  16868. }
  16869. }
  16870. function invoke_viff(index, a1, a2, a3) {
  16871. var sp = stackSave();
  16872. try {
  16873. Module["dynCall_viff"](index, a1, a2, a3);
  16874. } catch (e) {
  16875. stackRestore(sp);
  16876. if (typeof e !== "number" && e !== "longjmp") throw e;
  16877. Module["setThrew"](1, 0);
  16878. }
  16879. }
  16880. function invoke_vifff(index, a1, a2, a3, a4) {
  16881. var sp = stackSave();
  16882. try {
  16883. Module["dynCall_vifff"](index, a1, a2, a3, a4);
  16884. } catch (e) {
  16885. stackRestore(sp);
  16886. if (typeof e !== "number" && e !== "longjmp") throw e;
  16887. Module["setThrew"](1, 0);
  16888. }
  16889. }
  16890. function invoke_viffff(index, a1, a2, a3, a4, a5) {
  16891. var sp = stackSave();
  16892. try {
  16893. Module["dynCall_viffff"](index, a1, a2, a3, a4, a5);
  16894. } catch (e) {
  16895. stackRestore(sp);
  16896. if (typeof e !== "number" && e !== "longjmp") throw e;
  16897. Module["setThrew"](1, 0);
  16898. }
  16899. }
  16900. function invoke_viffffi(index, a1, a2, a3, a4, a5, a6) {
  16901. var sp = stackSave();
  16902. try {
  16903. Module["dynCall_viffffi"](index, a1, a2, a3, a4, a5, a6);
  16904. } catch (e) {
  16905. stackRestore(sp);
  16906. if (typeof e !== "number" && e !== "longjmp") throw e;
  16907. Module["setThrew"](1, 0);
  16908. }
  16909. }
  16910. function invoke_viffffii(index, a1, a2, a3, a4, a5, a6, a7) {
  16911. var sp = stackSave();
  16912. try {
  16913. Module["dynCall_viffffii"](index, a1, a2, a3, a4, a5, a6, a7);
  16914. } catch (e) {
  16915. stackRestore(sp);
  16916. if (typeof e !== "number" && e !== "longjmp") throw e;
  16917. Module["setThrew"](1, 0);
  16918. }
  16919. }
  16920. function invoke_viffffiifffiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
  16921. var sp = stackSave();
  16922. try {
  16923. Module["dynCall_viffffiifffiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);
  16924. } catch (e) {
  16925. stackRestore(sp);
  16926. if (typeof e !== "number" && e !== "longjmp") throw e;
  16927. Module["setThrew"](1, 0);
  16928. }
  16929. }
  16930. function invoke_vifffi(index, a1, a2, a3, a4, a5) {
  16931. var sp = stackSave();
  16932. try {
  16933. Module["dynCall_vifffi"](index, a1, a2, a3, a4, a5);
  16934. } catch (e) {
  16935. stackRestore(sp);
  16936. if (typeof e !== "number" && e !== "longjmp") throw e;
  16937. Module["setThrew"](1, 0);
  16938. }
  16939. }
  16940. function invoke_vifffii(index, a1, a2, a3, a4, a5, a6) {
  16941. var sp = stackSave();
  16942. try {
  16943. Module["dynCall_vifffii"](index, a1, a2, a3, a4, a5, a6);
  16944. } catch (e) {
  16945. stackRestore(sp);
  16946. if (typeof e !== "number" && e !== "longjmp") throw e;
  16947. Module["setThrew"](1, 0);
  16948. }
  16949. }
  16950. function invoke_viffi(index, a1, a2, a3, a4) {
  16951. var sp = stackSave();
  16952. try {
  16953. Module["dynCall_viffi"](index, a1, a2, a3, a4);
  16954. } catch (e) {
  16955. stackRestore(sp);
  16956. if (typeof e !== "number" && e !== "longjmp") throw e;
  16957. Module["setThrew"](1, 0);
  16958. }
  16959. }
  16960. function invoke_viffii(index, a1, a2, a3, a4, a5) {
  16961. var sp = stackSave();
  16962. try {
  16963. Module["dynCall_viffii"](index, a1, a2, a3, a4, a5);
  16964. } catch (e) {
  16965. stackRestore(sp);
  16966. if (typeof e !== "number" && e !== "longjmp") throw e;
  16967. Module["setThrew"](1, 0);
  16968. }
  16969. }
  16970. function invoke_viffiifffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  16971. var sp = stackSave();
  16972. try {
  16973. Module["dynCall_viffiifffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  16974. } catch (e) {
  16975. stackRestore(sp);
  16976. if (typeof e !== "number" && e !== "longjmp") throw e;
  16977. Module["setThrew"](1, 0);
  16978. }
  16979. }
  16980. function invoke_viffiii(index, a1, a2, a3, a4, a5, a6) {
  16981. var sp = stackSave();
  16982. try {
  16983. Module["dynCall_viffiii"](index, a1, a2, a3, a4, a5, a6);
  16984. } catch (e) {
  16985. stackRestore(sp);
  16986. if (typeof e !== "number" && e !== "longjmp") throw e;
  16987. Module["setThrew"](1, 0);
  16988. }
  16989. }
  16990. function invoke_viffiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16991. var sp = stackSave();
  16992. try {
  16993. Module["dynCall_viffiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16994. } catch (e) {
  16995. stackRestore(sp);
  16996. if (typeof e !== "number" && e !== "longjmp") throw e;
  16997. Module["setThrew"](1, 0);
  16998. }
  16999. }
  17000. function invoke_vifi(index, a1, a2, a3) {
  17001. var sp = stackSave();
  17002. try {
  17003. Module["dynCall_vifi"](index, a1, a2, a3);
  17004. } catch (e) {
  17005. stackRestore(sp);
  17006. if (typeof e !== "number" && e !== "longjmp") throw e;
  17007. Module["setThrew"](1, 0);
  17008. }
  17009. }
  17010. function invoke_vifii(index, a1, a2, a3, a4) {
  17011. var sp = stackSave();
  17012. try {
  17013. Module["dynCall_vifii"](index, a1, a2, a3, a4);
  17014. } catch (e) {
  17015. stackRestore(sp);
  17016. if (typeof e !== "number" && e !== "longjmp") throw e;
  17017. Module["setThrew"](1, 0);
  17018. }
  17019. }
  17020. function invoke_vifiiii(index, a1, a2, a3, a4, a5, a6) {
  17021. var sp = stackSave();
  17022. try {
  17023. Module["dynCall_vifiiii"](index, a1, a2, a3, a4, a5, a6);
  17024. } catch (e) {
  17025. stackRestore(sp);
  17026. if (typeof e !== "number" && e !== "longjmp") throw e;
  17027. Module["setThrew"](1, 0);
  17028. }
  17029. }
  17030. function invoke_vifijii(index, a1, a2, a3, a4, a5, a6, a7) {
  17031. var sp = stackSave();
  17032. try {
  17033. Module["dynCall_vifijii"](index, a1, a2, a3, a4, a5, a6, a7);
  17034. } catch (e) {
  17035. stackRestore(sp);
  17036. if (typeof e !== "number" && e !== "longjmp") throw e;
  17037. Module["setThrew"](1, 0);
  17038. }
  17039. }
  17040. function invoke_vii(index, a1, a2) {
  17041. var sp = stackSave();
  17042. try {
  17043. Module["dynCall_vii"](index, a1, a2);
  17044. } catch (e) {
  17045. stackRestore(sp);
  17046. if (typeof e !== "number" && e !== "longjmp") throw e;
  17047. Module["setThrew"](1, 0);
  17048. }
  17049. }
  17050. function invoke_viid(index, a1, a2, a3) {
  17051. var sp = stackSave();
  17052. try {
  17053. Module["dynCall_viid"](index, a1, a2, a3);
  17054. } catch (e) {
  17055. stackRestore(sp);
  17056. if (typeof e !== "number" && e !== "longjmp") throw e;
  17057. Module["setThrew"](1, 0);
  17058. }
  17059. }
  17060. function invoke_viidi(index, a1, a2, a3, a4) {
  17061. var sp = stackSave();
  17062. try {
  17063. Module["dynCall_viidi"](index, a1, a2, a3, a4);
  17064. } catch (e) {
  17065. stackRestore(sp);
  17066. if (typeof e !== "number" && e !== "longjmp") throw e;
  17067. Module["setThrew"](1, 0);
  17068. }
  17069. }
  17070. function invoke_viidii(index, a1, a2, a3, a4, a5) {
  17071. var sp = stackSave();
  17072. try {
  17073. Module["dynCall_viidii"](index, a1, a2, a3, a4, a5);
  17074. } catch (e) {
  17075. stackRestore(sp);
  17076. if (typeof e !== "number" && e !== "longjmp") throw e;
  17077. Module["setThrew"](1, 0);
  17078. }
  17079. }
  17080. function invoke_viif(index, a1, a2, a3) {
  17081. var sp = stackSave();
  17082. try {
  17083. Module["dynCall_viif"](index, a1, a2, a3);
  17084. } catch (e) {
  17085. stackRestore(sp);
  17086. if (typeof e !== "number" && e !== "longjmp") throw e;
  17087. Module["setThrew"](1, 0);
  17088. }
  17089. }
  17090. function invoke_viiff(index, a1, a2, a3, a4) {
  17091. var sp = stackSave();
  17092. try {
  17093. Module["dynCall_viiff"](index, a1, a2, a3, a4);
  17094. } catch (e) {
  17095. stackRestore(sp);
  17096. if (typeof e !== "number" && e !== "longjmp") throw e;
  17097. Module["setThrew"](1, 0);
  17098. }
  17099. }
  17100. function invoke_viifff(index, a1, a2, a3, a4, a5) {
  17101. var sp = stackSave();
  17102. try {
  17103. Module["dynCall_viifff"](index, a1, a2, a3, a4, a5);
  17104. } catch (e) {
  17105. stackRestore(sp);
  17106. if (typeof e !== "number" && e !== "longjmp") throw e;
  17107. Module["setThrew"](1, 0);
  17108. }
  17109. }
  17110. function invoke_viifffi(index, a1, a2, a3, a4, a5, a6) {
  17111. var sp = stackSave();
  17112. try {
  17113. Module["dynCall_viifffi"](index, a1, a2, a3, a4, a5, a6);
  17114. } catch (e) {
  17115. stackRestore(sp);
  17116. if (typeof e !== "number" && e !== "longjmp") throw e;
  17117. Module["setThrew"](1, 0);
  17118. }
  17119. }
  17120. function invoke_viiffi(index, a1, a2, a3, a4, a5) {
  17121. var sp = stackSave();
  17122. try {
  17123. Module["dynCall_viiffi"](index, a1, a2, a3, a4, a5);
  17124. } catch (e) {
  17125. stackRestore(sp);
  17126. if (typeof e !== "number" && e !== "longjmp") throw e;
  17127. Module["setThrew"](1, 0);
  17128. }
  17129. }
  17130. function invoke_viifi(index, a1, a2, a3, a4) {
  17131. var sp = stackSave();
  17132. try {
  17133. Module["dynCall_viifi"](index, a1, a2, a3, a4);
  17134. } catch (e) {
  17135. stackRestore(sp);
  17136. if (typeof e !== "number" && e !== "longjmp") throw e;
  17137. Module["setThrew"](1, 0);
  17138. }
  17139. }
  17140. function invoke_viifii(index, a1, a2, a3, a4, a5) {
  17141. var sp = stackSave();
  17142. try {
  17143. Module["dynCall_viifii"](index, a1, a2, a3, a4, a5);
  17144. } catch (e) {
  17145. stackRestore(sp);
  17146. if (typeof e !== "number" && e !== "longjmp") throw e;
  17147. Module["setThrew"](1, 0);
  17148. }
  17149. }
  17150. function invoke_viifiii(index, a1, a2, a3, a4, a5, a6) {
  17151. var sp = stackSave();
  17152. try {
  17153. Module["dynCall_viifiii"](index, a1, a2, a3, a4, a5, a6);
  17154. } catch (e) {
  17155. stackRestore(sp);
  17156. if (typeof e !== "number" && e !== "longjmp") throw e;
  17157. Module["setThrew"](1, 0);
  17158. }
  17159. }
  17160. function invoke_viifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17161. var sp = stackSave();
  17162. try {
  17163. Module["dynCall_viifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17164. } catch (e) {
  17165. stackRestore(sp);
  17166. if (typeof e !== "number" && e !== "longjmp") throw e;
  17167. Module["setThrew"](1, 0);
  17168. }
  17169. }
  17170. function invoke_viii(index, a1, a2, a3) {
  17171. var sp = stackSave();
  17172. try {
  17173. Module["dynCall_viii"](index, a1, a2, a3);
  17174. } catch (e) {
  17175. stackRestore(sp);
  17176. if (typeof e !== "number" && e !== "longjmp") throw e;
  17177. Module["setThrew"](1, 0);
  17178. }
  17179. }
  17180. function invoke_viiidi(index, a1, a2, a3, a4, a5) {
  17181. var sp = stackSave();
  17182. try {
  17183. Module["dynCall_viiidi"](index, a1, a2, a3, a4, a5);
  17184. } catch (e) {
  17185. stackRestore(sp);
  17186. if (typeof e !== "number" && e !== "longjmp") throw e;
  17187. Module["setThrew"](1, 0);
  17188. }
  17189. }
  17190. function invoke_viiifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  17191. var sp = stackSave();
  17192. try {
  17193. Module["dynCall_viiifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  17194. } catch (e) {
  17195. stackRestore(sp);
  17196. if (typeof e !== "number" && e !== "longjmp") throw e;
  17197. Module["setThrew"](1, 0);
  17198. }
  17199. }
  17200. function invoke_viiiffi(index, a1, a2, a3, a4, a5, a6) {
  17201. var sp = stackSave();
  17202. try {
  17203. Module["dynCall_viiiffi"](index, a1, a2, a3, a4, a5, a6);
  17204. } catch (e) {
  17205. stackRestore(sp);
  17206. if (typeof e !== "number" && e !== "longjmp") throw e;
  17207. Module["setThrew"](1, 0);
  17208. }
  17209. }
  17210. function invoke_viiiffii(index, a1, a2, a3, a4, a5, a6, a7) {
  17211. var sp = stackSave();
  17212. try {
  17213. Module["dynCall_viiiffii"](index, a1, a2, a3, a4, a5, a6, a7);
  17214. } catch (e) {
  17215. stackRestore(sp);
  17216. if (typeof e !== "number" && e !== "longjmp") throw e;
  17217. Module["setThrew"](1, 0);
  17218. }
  17219. }
  17220. function invoke_viiifi(index, a1, a2, a3, a4, a5) {
  17221. var sp = stackSave();
  17222. try {
  17223. Module["dynCall_viiifi"](index, a1, a2, a3, a4, a5);
  17224. } catch (e) {
  17225. stackRestore(sp);
  17226. if (typeof e !== "number" && e !== "longjmp") throw e;
  17227. Module["setThrew"](1, 0);
  17228. }
  17229. }
  17230. function invoke_viiifii(index, a1, a2, a3, a4, a5, a6) {
  17231. var sp = stackSave();
  17232. try {
  17233. Module["dynCall_viiifii"](index, a1, a2, a3, a4, a5, a6);
  17234. } catch (e) {
  17235. stackRestore(sp);
  17236. if (typeof e !== "number" && e !== "longjmp") throw e;
  17237. Module["setThrew"](1, 0);
  17238. }
  17239. }
  17240. function invoke_viiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17241. var sp = stackSave();
  17242. try {
  17243. Module["dynCall_viiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17244. } catch (e) {
  17245. stackRestore(sp);
  17246. if (typeof e !== "number" && e !== "longjmp") throw e;
  17247. Module["setThrew"](1, 0);
  17248. }
  17249. }
  17250. function invoke_viiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17251. var sp = stackSave();
  17252. try {
  17253. Module["dynCall_viiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17254. } catch (e) {
  17255. stackRestore(sp);
  17256. if (typeof e !== "number" && e !== "longjmp") throw e;
  17257. Module["setThrew"](1, 0);
  17258. }
  17259. }
  17260. function invoke_viiii(index, a1, a2, a3, a4) {
  17261. var sp = stackSave();
  17262. try {
  17263. Module["dynCall_viiii"](index, a1, a2, a3, a4);
  17264. } catch (e) {
  17265. stackRestore(sp);
  17266. if (typeof e !== "number" && e !== "longjmp") throw e;
  17267. Module["setThrew"](1, 0);
  17268. }
  17269. }
  17270. function invoke_viiiif(index, a1, a2, a3, a4, a5) {
  17271. var sp = stackSave();
  17272. try {
  17273. Module["dynCall_viiiif"](index, a1, a2, a3, a4, a5);
  17274. } catch (e) {
  17275. stackRestore(sp);
  17276. if (typeof e !== "number" && e !== "longjmp") throw e;
  17277. Module["setThrew"](1, 0);
  17278. }
  17279. }
  17280. function invoke_viiiiffi(index, a1, a2, a3, a4, a5, a6, a7) {
  17281. var sp = stackSave();
  17282. try {
  17283. Module["dynCall_viiiiffi"](index, a1, a2, a3, a4, a5, a6, a7);
  17284. } catch (e) {
  17285. stackRestore(sp);
  17286. if (typeof e !== "number" && e !== "longjmp") throw e;
  17287. Module["setThrew"](1, 0);
  17288. }
  17289. }
  17290. function invoke_viiiifii(index, a1, a2, a3, a4, a5, a6, a7) {
  17291. var sp = stackSave();
  17292. try {
  17293. Module["dynCall_viiiifii"](index, a1, a2, a3, a4, a5, a6, a7);
  17294. } catch (e) {
  17295. stackRestore(sp);
  17296. if (typeof e !== "number" && e !== "longjmp") throw e;
  17297. Module["setThrew"](1, 0);
  17298. }
  17299. }
  17300. function invoke_viiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17301. var sp = stackSave();
  17302. try {
  17303. Module["dynCall_viiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17304. } catch (e) {
  17305. stackRestore(sp);
  17306. if (typeof e !== "number" && e !== "longjmp") throw e;
  17307. Module["setThrew"](1, 0);
  17308. }
  17309. }
  17310. function invoke_viiiii(index, a1, a2, a3, a4, a5) {
  17311. var sp = stackSave();
  17312. try {
  17313. Module["dynCall_viiiii"](index, a1, a2, a3, a4, a5);
  17314. } catch (e) {
  17315. stackRestore(sp);
  17316. if (typeof e !== "number" && e !== "longjmp") throw e;
  17317. Module["setThrew"](1, 0);
  17318. }
  17319. }
  17320. function invoke_viiiiif(index, a1, a2, a3, a4, a5, a6) {
  17321. var sp = stackSave();
  17322. try {
  17323. Module["dynCall_viiiiif"](index, a1, a2, a3, a4, a5, a6);
  17324. } catch (e) {
  17325. stackRestore(sp);
  17326. if (typeof e !== "number" && e !== "longjmp") throw e;
  17327. Module["setThrew"](1, 0);
  17328. }
  17329. }
  17330. function invoke_viiiiiffi(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17331. var sp = stackSave();
  17332. try {
  17333. Module["dynCall_viiiiiffi"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17334. } catch (e) {
  17335. stackRestore(sp);
  17336. if (typeof e !== "number" && e !== "longjmp") throw e;
  17337. Module["setThrew"](1, 0);
  17338. }
  17339. }
  17340. function invoke_viiiiiffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17341. var sp = stackSave();
  17342. try {
  17343. Module["dynCall_viiiiiffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17344. } catch (e) {
  17345. stackRestore(sp);
  17346. if (typeof e !== "number" && e !== "longjmp") throw e;
  17347. Module["setThrew"](1, 0);
  17348. }
  17349. }
  17350. function invoke_viiiiifi(index, a1, a2, a3, a4, a5, a6, a7) {
  17351. var sp = stackSave();
  17352. try {
  17353. Module["dynCall_viiiiifi"](index, a1, a2, a3, a4, a5, a6, a7);
  17354. } catch (e) {
  17355. stackRestore(sp);
  17356. if (typeof e !== "number" && e !== "longjmp") throw e;
  17357. Module["setThrew"](1, 0);
  17358. }
  17359. }
  17360. function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
  17361. var sp = stackSave();
  17362. try {
  17363. Module["dynCall_viiiiii"](index, a1, a2, a3, a4, a5, a6);
  17364. } catch (e) {
  17365. stackRestore(sp);
  17366. if (typeof e !== "number" && e !== "longjmp") throw e;
  17367. Module["setThrew"](1, 0);
  17368. }
  17369. }
  17370. function invoke_viiiiiif(index, a1, a2, a3, a4, a5, a6, a7) {
  17371. var sp = stackSave();
  17372. try {
  17373. Module["dynCall_viiiiiif"](index, a1, a2, a3, a4, a5, a6, a7);
  17374. } catch (e) {
  17375. stackRestore(sp);
  17376. if (typeof e !== "number" && e !== "longjmp") throw e;
  17377. Module["setThrew"](1, 0);
  17378. }
  17379. }
  17380. function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17381. var sp = stackSave();
  17382. try {
  17383. Module["dynCall_viiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17384. } catch (e) {
  17385. stackRestore(sp);
  17386. if (typeof e !== "number" && e !== "longjmp") throw e;
  17387. Module["setThrew"](1, 0);
  17388. }
  17389. }
  17390. function invoke_viiiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17391. var sp = stackSave();
  17392. try {
  17393. Module["dynCall_viiiiiiifi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17394. } catch (e) {
  17395. stackRestore(sp);
  17396. if (typeof e !== "number" && e !== "longjmp") throw e;
  17397. Module["setThrew"](1, 0);
  17398. }
  17399. }
  17400. function invoke_viiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17401. var sp = stackSave();
  17402. try {
  17403. Module["dynCall_viiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17404. } catch (e) {
  17405. stackRestore(sp);
  17406. if (typeof e !== "number" && e !== "longjmp") throw e;
  17407. Module["setThrew"](1, 0);
  17408. }
  17409. }
  17410. function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17411. var sp = stackSave();
  17412. try {
  17413. Module["dynCall_viiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17414. } catch (e) {
  17415. stackRestore(sp);
  17416. if (typeof e !== "number" && e !== "longjmp") throw e;
  17417. Module["setThrew"](1, 0);
  17418. }
  17419. }
  17420. function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17421. var sp = stackSave();
  17422. try {
  17423. Module["dynCall_viiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17424. } catch (e) {
  17425. stackRestore(sp);
  17426. if (typeof e !== "number" && e !== "longjmp") throw e;
  17427. Module["setThrew"](1, 0);
  17428. }
  17429. }
  17430. function invoke_viiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17431. var sp = stackSave();
  17432. try {
  17433. Module["dynCall_viiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17434. } catch (e) {
  17435. stackRestore(sp);
  17436. if (typeof e !== "number" && e !== "longjmp") throw e;
  17437. Module["setThrew"](1, 0);
  17438. }
  17439. }
  17440. function invoke_viiiiiiiiiiifii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17441. var sp = stackSave();
  17442. try {
  17443. Module["dynCall_viiiiiiiiiiifii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17444. } catch (e) {
  17445. stackRestore(sp);
  17446. if (typeof e !== "number" && e !== "longjmp") throw e;
  17447. Module["setThrew"](1, 0);
  17448. }
  17449. }
  17450. function invoke_viiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  17451. var sp = stackSave();
  17452. try {
  17453. Module["dynCall_viiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  17454. } catch (e) {
  17455. stackRestore(sp);
  17456. if (typeof e !== "number" && e !== "longjmp") throw e;
  17457. Module["setThrew"](1, 0);
  17458. }
  17459. }
  17460. function invoke_viiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17461. var sp = stackSave();
  17462. try {
  17463. Module["dynCall_viiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17464. } catch (e) {
  17465. stackRestore(sp);
  17466. if (typeof e !== "number" && e !== "longjmp") throw e;
  17467. Module["setThrew"](1, 0);
  17468. }
  17469. }
  17470. function invoke_viiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  17471. var sp = stackSave();
  17472. try {
  17473. Module["dynCall_viiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  17474. } catch (e) {
  17475. stackRestore(sp);
  17476. if (typeof e !== "number" && e !== "longjmp") throw e;
  17477. Module["setThrew"](1, 0);
  17478. }
  17479. }
  17480. function invoke_viiiiiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) {
  17481. var sp = stackSave();
  17482. try {
  17483. Module["dynCall_viiiiiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18);
  17484. } catch (e) {
  17485. stackRestore(sp);
  17486. if (typeof e !== "number" && e !== "longjmp") throw e;
  17487. Module["setThrew"](1, 0);
  17488. }
  17489. }
  17490. function invoke_viiiiiji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17491. var sp = stackSave();
  17492. try {
  17493. Module["dynCall_viiiiiji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17494. } catch (e) {
  17495. stackRestore(sp);
  17496. if (typeof e !== "number" && e !== "longjmp") throw e;
  17497. Module["setThrew"](1, 0);
  17498. }
  17499. }
  17500. function invoke_viiiij(index, a1, a2, a3, a4, a5, a6) {
  17501. var sp = stackSave();
  17502. try {
  17503. Module["dynCall_viiiij"](index, a1, a2, a3, a4, a5, a6);
  17504. } catch (e) {
  17505. stackRestore(sp);
  17506. if (typeof e !== "number" && e !== "longjmp") throw e;
  17507. Module["setThrew"](1, 0);
  17508. }
  17509. }
  17510. function invoke_viiiijiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17511. var sp = stackSave();
  17512. try {
  17513. Module["dynCall_viiiijiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17514. } catch (e) {
  17515. stackRestore(sp);
  17516. if (typeof e !== "number" && e !== "longjmp") throw e;
  17517. Module["setThrew"](1, 0);
  17518. }
  17519. }
  17520. function invoke_viiiji(index, a1, a2, a3, a4, a5, a6) {
  17521. var sp = stackSave();
  17522. try {
  17523. Module["dynCall_viiiji"](index, a1, a2, a3, a4, a5, a6);
  17524. } catch (e) {
  17525. stackRestore(sp);
  17526. if (typeof e !== "number" && e !== "longjmp") throw e;
  17527. Module["setThrew"](1, 0);
  17528. }
  17529. }
  17530. function invoke_viiijji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17531. var sp = stackSave();
  17532. try {
  17533. Module["dynCall_viiijji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17534. } catch (e) {
  17535. stackRestore(sp);
  17536. if (typeof e !== "number" && e !== "longjmp") throw e;
  17537. Module["setThrew"](1, 0);
  17538. }
  17539. }
  17540. function invoke_viij(index, a1, a2, a3, a4) {
  17541. var sp = stackSave();
  17542. try {
  17543. Module["dynCall_viij"](index, a1, a2, a3, a4);
  17544. } catch (e) {
  17545. stackRestore(sp);
  17546. if (typeof e !== "number" && e !== "longjmp") throw e;
  17547. Module["setThrew"](1, 0);
  17548. }
  17549. }
  17550. function invoke_viiji(index, a1, a2, a3, a4, a5) {
  17551. var sp = stackSave();
  17552. try {
  17553. Module["dynCall_viiji"](index, a1, a2, a3, a4, a5);
  17554. } catch (e) {
  17555. stackRestore(sp);
  17556. if (typeof e !== "number" && e !== "longjmp") throw e;
  17557. Module["setThrew"](1, 0);
  17558. }
  17559. }
  17560. function invoke_viijii(index, a1, a2, a3, a4, a5, a6) {
  17561. var sp = stackSave();
  17562. try {
  17563. Module["dynCall_viijii"](index, a1, a2, a3, a4, a5, a6);
  17564. } catch (e) {
  17565. stackRestore(sp);
  17566. if (typeof e !== "number" && e !== "longjmp") throw e;
  17567. Module["setThrew"](1, 0);
  17568. }
  17569. }
  17570. function invoke_viijiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17571. var sp = stackSave();
  17572. try {
  17573. Module["dynCall_viijiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17574. } catch (e) {
  17575. stackRestore(sp);
  17576. if (typeof e !== "number" && e !== "longjmp") throw e;
  17577. Module["setThrew"](1, 0);
  17578. }
  17579. }
  17580. function invoke_viijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17581. var sp = stackSave();
  17582. try {
  17583. Module["dynCall_viijijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17584. } catch (e) {
  17585. stackRestore(sp);
  17586. if (typeof e !== "number" && e !== "longjmp") throw e;
  17587. Module["setThrew"](1, 0);
  17588. }
  17589. }
  17590. function invoke_viijijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17591. var sp = stackSave();
  17592. try {
  17593. Module["dynCall_viijijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17594. } catch (e) {
  17595. stackRestore(sp);
  17596. if (typeof e !== "number" && e !== "longjmp") throw e;
  17597. Module["setThrew"](1, 0);
  17598. }
  17599. }
  17600. function invoke_viijijj(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17601. var sp = stackSave();
  17602. try {
  17603. Module["dynCall_viijijj"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17604. } catch (e) {
  17605. stackRestore(sp);
  17606. if (typeof e !== "number" && e !== "longjmp") throw e;
  17607. Module["setThrew"](1, 0);
  17608. }
  17609. }
  17610. function invoke_viijj(index, a1, a2, a3, a4, a5, a6) {
  17611. var sp = stackSave();
  17612. try {
  17613. Module["dynCall_viijj"](index, a1, a2, a3, a4, a5, a6);
  17614. } catch (e) {
  17615. stackRestore(sp);
  17616. if (typeof e !== "number" && e !== "longjmp") throw e;
  17617. Module["setThrew"](1, 0);
  17618. }
  17619. }
  17620. function invoke_viijji(index, a1, a2, a3, a4, a5, a6, a7) {
  17621. var sp = stackSave();
  17622. try {
  17623. Module["dynCall_viijji"](index, a1, a2, a3, a4, a5, a6, a7);
  17624. } catch (e) {
  17625. stackRestore(sp);
  17626. if (typeof e !== "number" && e !== "longjmp") throw e;
  17627. Module["setThrew"](1, 0);
  17628. }
  17629. }
  17630. function invoke_viijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17631. var sp = stackSave();
  17632. try {
  17633. Module["dynCall_viijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17634. } catch (e) {
  17635. stackRestore(sp);
  17636. if (typeof e !== "number" && e !== "longjmp") throw e;
  17637. Module["setThrew"](1, 0);
  17638. }
  17639. }
  17640. function invoke_viijjji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17641. var sp = stackSave();
  17642. try {
  17643. Module["dynCall_viijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17644. } catch (e) {
  17645. stackRestore(sp);
  17646. if (typeof e !== "number" && e !== "longjmp") throw e;
  17647. Module["setThrew"](1, 0);
  17648. }
  17649. }
  17650. function invoke_vij(index, a1, a2, a3) {
  17651. var sp = stackSave();
  17652. try {
  17653. Module["dynCall_vij"](index, a1, a2, a3);
  17654. } catch (e) {
  17655. stackRestore(sp);
  17656. if (typeof e !== "number" && e !== "longjmp") throw e;
  17657. Module["setThrew"](1, 0);
  17658. }
  17659. }
  17660. function invoke_viji(index, a1, a2, a3, a4) {
  17661. var sp = stackSave();
  17662. try {
  17663. Module["dynCall_viji"](index, a1, a2, a3, a4);
  17664. } catch (e) {
  17665. stackRestore(sp);
  17666. if (typeof e !== "number" && e !== "longjmp") throw e;
  17667. Module["setThrew"](1, 0);
  17668. }
  17669. }
  17670. function invoke_vijii(index, a1, a2, a3, a4, a5) {
  17671. var sp = stackSave();
  17672. try {
  17673. Module["dynCall_vijii"](index, a1, a2, a3, a4, a5);
  17674. } catch (e) {
  17675. stackRestore(sp);
  17676. if (typeof e !== "number" && e !== "longjmp") throw e;
  17677. Module["setThrew"](1, 0);
  17678. }
  17679. }
  17680. function invoke_vijiii(index, a1, a2, a3, a4, a5, a6) {
  17681. var sp = stackSave();
  17682. try {
  17683. Module["dynCall_vijiii"](index, a1, a2, a3, a4, a5, a6);
  17684. } catch (e) {
  17685. stackRestore(sp);
  17686. if (typeof e !== "number" && e !== "longjmp") throw e;
  17687. Module["setThrew"](1, 0);
  17688. }
  17689. }
  17690. function invoke_vijiji(index, a1, a2, a3, a4, a5, a6, a7) {
  17691. var sp = stackSave();
  17692. try {
  17693. Module["dynCall_vijiji"](index, a1, a2, a3, a4, a5, a6, a7);
  17694. } catch (e) {
  17695. stackRestore(sp);
  17696. if (typeof e !== "number" && e !== "longjmp") throw e;
  17697. Module["setThrew"](1, 0);
  17698. }
  17699. }
  17700. function invoke_vijijji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17701. var sp = stackSave();
  17702. try {
  17703. Module["dynCall_vijijji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17704. } catch (e) {
  17705. stackRestore(sp);
  17706. if (typeof e !== "number" && e !== "longjmp") throw e;
  17707. Module["setThrew"](1, 0);
  17708. }
  17709. }
  17710. function invoke_vijji(index, a1, a2, a3, a4, a5, a6) {
  17711. var sp = stackSave();
  17712. try {
  17713. Module["dynCall_vijji"](index, a1, a2, a3, a4, a5, a6);
  17714. } catch (e) {
  17715. stackRestore(sp);
  17716. if (typeof e !== "number" && e !== "longjmp") throw e;
  17717. Module["setThrew"](1, 0);
  17718. }
  17719. }
  17720. function invoke_vijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  17721. var sp = stackSave();
  17722. try {
  17723. Module["dynCall_vijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  17724. } catch (e) {
  17725. stackRestore(sp);
  17726. if (typeof e !== "number" && e !== "longjmp") throw e;
  17727. Module["setThrew"](1, 0);
  17728. }
  17729. }
  17730. function invoke_vji(index, a1, a2, a3) {
  17731. var sp = stackSave();
  17732. try {
  17733. Module["dynCall_vji"](index, a1, a2, a3);
  17734. } catch (e) {
  17735. stackRestore(sp);
  17736. if (typeof e !== "number" && e !== "longjmp") throw e;
  17737. Module["setThrew"](1, 0);
  17738. }
  17739. }
  17740. function invoke_vjiiii(index, a1, a2, a3, a4, a5, a6) {
  17741. var sp = stackSave();
  17742. try {
  17743. Module["dynCall_vjiiii"](index, a1, a2, a3, a4, a5, a6);
  17744. } catch (e) {
  17745. stackRestore(sp);
  17746. if (typeof e !== "number" && e !== "longjmp") throw e;
  17747. Module["setThrew"](1, 0);
  17748. }
  17749. }
  17750. function invoke_vjji(index, a1, a2, a3, a4, a5) {
  17751. var sp = stackSave();
  17752. try {
  17753. Module["dynCall_vjji"](index, a1, a2, a3, a4, a5);
  17754. } catch (e) {
  17755. stackRestore(sp);
  17756. if (typeof e !== "number" && e !== "longjmp") throw e;
  17757. Module["setThrew"](1, 0);
  17758. }
  17759. }
  17760. Module.asmGlobalArg = {};
  17761. Module.asmLibraryArg = {
  17762. "abort": abort,
  17763. "assert": assert,
  17764. "enlargeMemory": enlargeMemory,
  17765. "getTotalMemory": getTotalMemory,
  17766. "abortOnCannotGrowMemory": abortOnCannotGrowMemory,
  17767. "abortStackOverflow": abortStackOverflow,
  17768. "nullFunc_dddi": nullFunc_dddi,
  17769. "nullFunc_ddi": nullFunc_ddi,
  17770. "nullFunc_dfi": nullFunc_dfi,
  17771. "nullFunc_di": nullFunc_di,
  17772. "nullFunc_diddi": nullFunc_diddi,
  17773. "nullFunc_didi": nullFunc_didi,
  17774. "nullFunc_dii": nullFunc_dii,
  17775. "nullFunc_diii": nullFunc_diii,
  17776. "nullFunc_diiii": nullFunc_diiii,
  17777. "nullFunc_dji": nullFunc_dji,
  17778. "nullFunc_f": nullFunc_f,
  17779. "nullFunc_fdi": nullFunc_fdi,
  17780. "nullFunc_ff": nullFunc_ff,
  17781. "nullFunc_fff": nullFunc_fff,
  17782. "nullFunc_ffffi": nullFunc_ffffi,
  17783. "nullFunc_fffi": nullFunc_fffi,
  17784. "nullFunc_fffifffi": nullFunc_fffifffi,
  17785. "nullFunc_ffi": nullFunc_ffi,
  17786. "nullFunc_fi": nullFunc_fi,
  17787. "nullFunc_fif": nullFunc_fif,
  17788. "nullFunc_fiff": nullFunc_fiff,
  17789. "nullFunc_fiffi": nullFunc_fiffi,
  17790. "nullFunc_fifi": nullFunc_fifi,
  17791. "nullFunc_fifii": nullFunc_fifii,
  17792. "nullFunc_fii": nullFunc_fii,
  17793. "nullFunc_fiifi": nullFunc_fiifi,
  17794. "nullFunc_fiifii": nullFunc_fiifii,
  17795. "nullFunc_fiii": nullFunc_fiii,
  17796. "nullFunc_fiiii": nullFunc_fiiii,
  17797. "nullFunc_fiiiiiifiifif": nullFunc_fiiiiiifiifif,
  17798. "nullFunc_fiiiiiifiiiif": nullFunc_fiiiiiifiiiif,
  17799. "nullFunc_fji": nullFunc_fji,
  17800. "nullFunc_i": nullFunc_i,
  17801. "nullFunc_idi": nullFunc_idi,
  17802. "nullFunc_idiii": nullFunc_idiii,
  17803. "nullFunc_ifffi": nullFunc_ifffi,
  17804. "nullFunc_iffi": nullFunc_iffi,
  17805. "nullFunc_ifi": nullFunc_ifi,
  17806. "nullFunc_ifiii": nullFunc_ifiii,
  17807. "nullFunc_ii": nullFunc_ii,
  17808. "nullFunc_iidi": nullFunc_iidi,
  17809. "nullFunc_iidii": nullFunc_iidii,
  17810. "nullFunc_iif": nullFunc_iif,
  17811. "nullFunc_iifff": nullFunc_iifff,
  17812. "nullFunc_iifffi": nullFunc_iifffi,
  17813. "nullFunc_iiffi": nullFunc_iiffi,
  17814. "nullFunc_iifi": nullFunc_iifi,
  17815. "nullFunc_iifii": nullFunc_iifii,
  17816. "nullFunc_iifiii": nullFunc_iifiii,
  17817. "nullFunc_iifiiiijii": nullFunc_iifiiiijii,
  17818. "nullFunc_iii": nullFunc_iii,
  17819. "nullFunc_iiif": nullFunc_iiif,
  17820. "nullFunc_iiiff": nullFunc_iiiff,
  17821. "nullFunc_iiifi": nullFunc_iiifi,
  17822. "nullFunc_iiifii": nullFunc_iiifii,
  17823. "nullFunc_iiifiii": nullFunc_iiifiii,
  17824. "nullFunc_iiifiiii": nullFunc_iiifiiii,
  17825. "nullFunc_iiii": nullFunc_iiii,
  17826. "nullFunc_iiiifffffi": nullFunc_iiiifffffi,
  17827. "nullFunc_iiiifffffii": nullFunc_iiiifffffii,
  17828. "nullFunc_iiiifffiii": nullFunc_iiiifffiii,
  17829. "nullFunc_iiiifi": nullFunc_iiiifi,
  17830. "nullFunc_iiiifii": nullFunc_iiiifii,
  17831. "nullFunc_iiiifiii": nullFunc_iiiifiii,
  17832. "nullFunc_iiiifiiii": nullFunc_iiiifiiii,
  17833. "nullFunc_iiiifiiiii": nullFunc_iiiifiiiii,
  17834. "nullFunc_iiiii": nullFunc_iiiii,
  17835. "nullFunc_iiiiifiii": nullFunc_iiiiifiii,
  17836. "nullFunc_iiiiifiiiiif": nullFunc_iiiiifiiiiif,
  17837. "nullFunc_iiiiii": nullFunc_iiiiii,
  17838. "nullFunc_iiiiiifff": nullFunc_iiiiiifff,
  17839. "nullFunc_iiiiiifffiiifiii": nullFunc_iiiiiifffiiifiii,
  17840. "nullFunc_iiiiiiffiiiiiiiiiffffiii": nullFunc_iiiiiiffiiiiiiiiiffffiii,
  17841. "nullFunc_iiiiiiffiiiiiiiiiffffiiii": nullFunc_iiiiiiffiiiiiiiiiffffiiii,
  17842. "nullFunc_iiiiiiffiiiiiiiiiiiiiii": nullFunc_iiiiiiffiiiiiiiiiiiiiii,
  17843. "nullFunc_iiiiiifiif": nullFunc_iiiiiifiif,
  17844. "nullFunc_iiiiiifiii": nullFunc_iiiiiifiii,
  17845. "nullFunc_iiiiiii": nullFunc_iiiiiii,
  17846. "nullFunc_iiiiiiifiif": nullFunc_iiiiiiifiif,
  17847. "nullFunc_iiiiiiii": nullFunc_iiiiiiii,
  17848. "nullFunc_iiiiiiiii": nullFunc_iiiiiiiii,
  17849. "nullFunc_iiiiiiiiii": nullFunc_iiiiiiiiii,
  17850. "nullFunc_iiiiiiiiiii": nullFunc_iiiiiiiiiii,
  17851. "nullFunc_iiiiiiiiiiii": nullFunc_iiiiiiiiiiii,
  17852. "nullFunc_iiiiiiiiiiiii": nullFunc_iiiiiiiiiiiii,
  17853. "nullFunc_iiiiiiiiiiiiii": nullFunc_iiiiiiiiiiiiii,
  17854. "nullFunc_iiiiiji": nullFunc_iiiiiji,
  17855. "nullFunc_iiiij": nullFunc_iiiij,
  17856. "nullFunc_iiiiji": nullFunc_iiiiji,
  17857. "nullFunc_iiiijii": nullFunc_iiiijii,
  17858. "nullFunc_iiiijiii": nullFunc_iiiijiii,
  17859. "nullFunc_iiij": nullFunc_iiij,
  17860. "nullFunc_iiiji": nullFunc_iiiji,
  17861. "nullFunc_iiijii": nullFunc_iiijii,
  17862. "nullFunc_iiijiii": nullFunc_iiijiii,
  17863. "nullFunc_iij": nullFunc_iij,
  17864. "nullFunc_iiji": nullFunc_iiji,
  17865. "nullFunc_iijii": nullFunc_iijii,
  17866. "nullFunc_iijiii": nullFunc_iijiii,
  17867. "nullFunc_iijji": nullFunc_iijji,
  17868. "nullFunc_iijjii": nullFunc_iijjii,
  17869. "nullFunc_iijjiii": nullFunc_iijjiii,
  17870. "nullFunc_iijjji": nullFunc_iijjji,
  17871. "nullFunc_ij": nullFunc_ij,
  17872. "nullFunc_iji": nullFunc_iji,
  17873. "nullFunc_ijiii": nullFunc_ijiii,
  17874. "nullFunc_ijj": nullFunc_ijj,
  17875. "nullFunc_ijji": nullFunc_ijji,
  17876. "nullFunc_j": nullFunc_j,
  17877. "nullFunc_jdi": nullFunc_jdi,
  17878. "nullFunc_jdii": nullFunc_jdii,
  17879. "nullFunc_jfi": nullFunc_jfi,
  17880. "nullFunc_ji": nullFunc_ji,
  17881. "nullFunc_jidi": nullFunc_jidi,
  17882. "nullFunc_jidii": nullFunc_jidii,
  17883. "nullFunc_jii": nullFunc_jii,
  17884. "nullFunc_jiii": nullFunc_jiii,
  17885. "nullFunc_jiiii": nullFunc_jiiii,
  17886. "nullFunc_jiiiii": nullFunc_jiiiii,
  17887. "nullFunc_jiiiiii": nullFunc_jiiiiii,
  17888. "nullFunc_jiiiiiiiiii": nullFunc_jiiiiiiiiii,
  17889. "nullFunc_jiiji": nullFunc_jiiji,
  17890. "nullFunc_jiji": nullFunc_jiji,
  17891. "nullFunc_jijii": nullFunc_jijii,
  17892. "nullFunc_jijiii": nullFunc_jijiii,
  17893. "nullFunc_jijj": nullFunc_jijj,
  17894. "nullFunc_jijji": nullFunc_jijji,
  17895. "nullFunc_jji": nullFunc_jji,
  17896. "nullFunc_v": nullFunc_v,
  17897. "nullFunc_vd": nullFunc_vd,
  17898. "nullFunc_vf": nullFunc_vf,
  17899. "nullFunc_vff": nullFunc_vff,
  17900. "nullFunc_vffff": nullFunc_vffff,
  17901. "nullFunc_vfi": nullFunc_vfi,
  17902. "nullFunc_vfii": nullFunc_vfii,
  17903. "nullFunc_vfiii": nullFunc_vfiii,
  17904. "nullFunc_vi": nullFunc_vi,
  17905. "nullFunc_vid": nullFunc_vid,
  17906. "nullFunc_vidi": nullFunc_vidi,
  17907. "nullFunc_vif": nullFunc_vif,
  17908. "nullFunc_viff": nullFunc_viff,
  17909. "nullFunc_vifff": nullFunc_vifff,
  17910. "nullFunc_viffff": nullFunc_viffff,
  17911. "nullFunc_viffffi": nullFunc_viffffi,
  17912. "nullFunc_viffffii": nullFunc_viffffii,
  17913. "nullFunc_viffffiifffiiiiif": nullFunc_viffffiifffiiiiif,
  17914. "nullFunc_vifffi": nullFunc_vifffi,
  17915. "nullFunc_vifffii": nullFunc_vifffii,
  17916. "nullFunc_viffi": nullFunc_viffi,
  17917. "nullFunc_viffii": nullFunc_viffii,
  17918. "nullFunc_viffiifffffiii": nullFunc_viffiifffffiii,
  17919. "nullFunc_viffiii": nullFunc_viffiii,
  17920. "nullFunc_viffiiiif": nullFunc_viffiiiif,
  17921. "nullFunc_vifi": nullFunc_vifi,
  17922. "nullFunc_vifii": nullFunc_vifii,
  17923. "nullFunc_vifiiii": nullFunc_vifiiii,
  17924. "nullFunc_vifijii": nullFunc_vifijii,
  17925. "nullFunc_vii": nullFunc_vii,
  17926. "nullFunc_viid": nullFunc_viid,
  17927. "nullFunc_viidi": nullFunc_viidi,
  17928. "nullFunc_viidii": nullFunc_viidii,
  17929. "nullFunc_viif": nullFunc_viif,
  17930. "nullFunc_viiff": nullFunc_viiff,
  17931. "nullFunc_viifff": nullFunc_viifff,
  17932. "nullFunc_viifffi": nullFunc_viifffi,
  17933. "nullFunc_viiffi": nullFunc_viiffi,
  17934. "nullFunc_viifi": nullFunc_viifi,
  17935. "nullFunc_viifii": nullFunc_viifii,
  17936. "nullFunc_viifiii": nullFunc_viifiii,
  17937. "nullFunc_viifiiii": nullFunc_viifiiii,
  17938. "nullFunc_viii": nullFunc_viii,
  17939. "nullFunc_viiidi": nullFunc_viiidi,
  17940. "nullFunc_viiifffi": nullFunc_viiifffi,
  17941. "nullFunc_viiiffi": nullFunc_viiiffi,
  17942. "nullFunc_viiiffii": nullFunc_viiiffii,
  17943. "nullFunc_viiifi": nullFunc_viiifi,
  17944. "nullFunc_viiifii": nullFunc_viiifii,
  17945. "nullFunc_viiifiii": nullFunc_viiifiii,
  17946. "nullFunc_viiifiiiii": nullFunc_viiifiiiii,
  17947. "nullFunc_viiii": nullFunc_viiii,
  17948. "nullFunc_viiiif": nullFunc_viiiif,
  17949. "nullFunc_viiiiffi": nullFunc_viiiiffi,
  17950. "nullFunc_viiiifii": nullFunc_viiiifii,
  17951. "nullFunc_viiiifiiiiif": nullFunc_viiiifiiiiif,
  17952. "nullFunc_viiiii": nullFunc_viiiii,
  17953. "nullFunc_viiiiif": nullFunc_viiiiif,
  17954. "nullFunc_viiiiiffi": nullFunc_viiiiiffi,
  17955. "nullFunc_viiiiiffii": nullFunc_viiiiiffii,
  17956. "nullFunc_viiiiifi": nullFunc_viiiiifi,
  17957. "nullFunc_viiiiii": nullFunc_viiiiii,
  17958. "nullFunc_viiiiiif": nullFunc_viiiiiif,
  17959. "nullFunc_viiiiiii": nullFunc_viiiiiii,
  17960. "nullFunc_viiiiiiifi": nullFunc_viiiiiiifi,
  17961. "nullFunc_viiiiiiii": nullFunc_viiiiiiii,
  17962. "nullFunc_viiiiiiiii": nullFunc_viiiiiiiii,
  17963. "nullFunc_viiiiiiiiii": nullFunc_viiiiiiiiii,
  17964. "nullFunc_viiiiiiiiiii": nullFunc_viiiiiiiiiii,
  17965. "nullFunc_viiiiiiiiiiifii": nullFunc_viiiiiiiiiiifii,
  17966. "nullFunc_viiiiiiiiiiii": nullFunc_viiiiiiiiiiii,
  17967. "nullFunc_viiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiii,
  17968. "nullFunc_viiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiii,
  17969. "nullFunc_viiiiiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiiiiii,
  17970. "nullFunc_viiiiiji": nullFunc_viiiiiji,
  17971. "nullFunc_viiiij": nullFunc_viiiij,
  17972. "nullFunc_viiiijiiii": nullFunc_viiiijiiii,
  17973. "nullFunc_viiiji": nullFunc_viiiji,
  17974. "nullFunc_viiijji": nullFunc_viiijji,
  17975. "nullFunc_viij": nullFunc_viij,
  17976. "nullFunc_viiji": nullFunc_viiji,
  17977. "nullFunc_viijii": nullFunc_viijii,
  17978. "nullFunc_viijiijiii": nullFunc_viijiijiii,
  17979. "nullFunc_viijijii": nullFunc_viijijii,
  17980. "nullFunc_viijijiii": nullFunc_viijijiii,
  17981. "nullFunc_viijijj": nullFunc_viijijj,
  17982. "nullFunc_viijj": nullFunc_viijj,
  17983. "nullFunc_viijji": nullFunc_viijji,
  17984. "nullFunc_viijjiii": nullFunc_viijjiii,
  17985. "nullFunc_viijjji": nullFunc_viijjji,
  17986. "nullFunc_vij": nullFunc_vij,
  17987. "nullFunc_viji": nullFunc_viji,
  17988. "nullFunc_vijii": nullFunc_vijii,
  17989. "nullFunc_vijiii": nullFunc_vijiii,
  17990. "nullFunc_vijiji": nullFunc_vijiji,
  17991. "nullFunc_vijijji": nullFunc_vijijji,
  17992. "nullFunc_vijji": nullFunc_vijji,
  17993. "nullFunc_vijjii": nullFunc_vijjii,
  17994. "nullFunc_vji": nullFunc_vji,
  17995. "nullFunc_vjiiii": nullFunc_vjiiii,
  17996. "nullFunc_vjji": nullFunc_vjji,
  17997. "invoke_dddi": invoke_dddi,
  17998. "invoke_ddi": invoke_ddi,
  17999. "invoke_dfi": invoke_dfi,
  18000. "invoke_di": invoke_di,
  18001. "invoke_diddi": invoke_diddi,
  18002. "invoke_didi": invoke_didi,
  18003. "invoke_dii": invoke_dii,
  18004. "invoke_diii": invoke_diii,
  18005. "invoke_diiii": invoke_diiii,
  18006. "invoke_dji": invoke_dji,
  18007. "invoke_f": invoke_f,
  18008. "invoke_fdi": invoke_fdi,
  18009. "invoke_ff": invoke_ff,
  18010. "invoke_fff": invoke_fff,
  18011. "invoke_ffffi": invoke_ffffi,
  18012. "invoke_fffi": invoke_fffi,
  18013. "invoke_fffifffi": invoke_fffifffi,
  18014. "invoke_ffi": invoke_ffi,
  18015. "invoke_fi": invoke_fi,
  18016. "invoke_fif": invoke_fif,
  18017. "invoke_fiff": invoke_fiff,
  18018. "invoke_fiffi": invoke_fiffi,
  18019. "invoke_fifi": invoke_fifi,
  18020. "invoke_fifii": invoke_fifii,
  18021. "invoke_fii": invoke_fii,
  18022. "invoke_fiifi": invoke_fiifi,
  18023. "invoke_fiifii": invoke_fiifii,
  18024. "invoke_fiii": invoke_fiii,
  18025. "invoke_fiiii": invoke_fiiii,
  18026. "invoke_fiiiiiifiifif": invoke_fiiiiiifiifif,
  18027. "invoke_fiiiiiifiiiif": invoke_fiiiiiifiiiif,
  18028. "invoke_fji": invoke_fji,
  18029. "invoke_i": invoke_i,
  18030. "invoke_idi": invoke_idi,
  18031. "invoke_idiii": invoke_idiii,
  18032. "invoke_ifffi": invoke_ifffi,
  18033. "invoke_iffi": invoke_iffi,
  18034. "invoke_ifi": invoke_ifi,
  18035. "invoke_ifiii": invoke_ifiii,
  18036. "invoke_ii": invoke_ii,
  18037. "invoke_iidi": invoke_iidi,
  18038. "invoke_iidii": invoke_iidii,
  18039. "invoke_iif": invoke_iif,
  18040. "invoke_iifff": invoke_iifff,
  18041. "invoke_iifffi": invoke_iifffi,
  18042. "invoke_iiffi": invoke_iiffi,
  18043. "invoke_iifi": invoke_iifi,
  18044. "invoke_iifii": invoke_iifii,
  18045. "invoke_iifiii": invoke_iifiii,
  18046. "invoke_iifiiiijii": invoke_iifiiiijii,
  18047. "invoke_iii": invoke_iii,
  18048. "invoke_iiif": invoke_iiif,
  18049. "invoke_iiiff": invoke_iiiff,
  18050. "invoke_iiifi": invoke_iiifi,
  18051. "invoke_iiifii": invoke_iiifii,
  18052. "invoke_iiifiii": invoke_iiifiii,
  18053. "invoke_iiifiiii": invoke_iiifiiii,
  18054. "invoke_iiii": invoke_iiii,
  18055. "invoke_iiiifffffi": invoke_iiiifffffi,
  18056. "invoke_iiiifffffii": invoke_iiiifffffii,
  18057. "invoke_iiiifffiii": invoke_iiiifffiii,
  18058. "invoke_iiiifi": invoke_iiiifi,
  18059. "invoke_iiiifii": invoke_iiiifii,
  18060. "invoke_iiiifiii": invoke_iiiifiii,
  18061. "invoke_iiiifiiii": invoke_iiiifiiii,
  18062. "invoke_iiiifiiiii": invoke_iiiifiiiii,
  18063. "invoke_iiiii": invoke_iiiii,
  18064. "invoke_iiiiifiii": invoke_iiiiifiii,
  18065. "invoke_iiiiifiiiiif": invoke_iiiiifiiiiif,
  18066. "invoke_iiiiii": invoke_iiiiii,
  18067. "invoke_iiiiiifff": invoke_iiiiiifff,
  18068. "invoke_iiiiiifffiiifiii": invoke_iiiiiifffiiifiii,
  18069. "invoke_iiiiiiffiiiiiiiiiffffiii": invoke_iiiiiiffiiiiiiiiiffffiii,
  18070. "invoke_iiiiiiffiiiiiiiiiffffiiii": invoke_iiiiiiffiiiiiiiiiffffiiii,
  18071. "invoke_iiiiiiffiiiiiiiiiiiiiii": invoke_iiiiiiffiiiiiiiiiiiiiii,
  18072. "invoke_iiiiiifiif": invoke_iiiiiifiif,
  18073. "invoke_iiiiiifiii": invoke_iiiiiifiii,
  18074. "invoke_iiiiiii": invoke_iiiiiii,
  18075. "invoke_iiiiiiifiif": invoke_iiiiiiifiif,
  18076. "invoke_iiiiiiii": invoke_iiiiiiii,
  18077. "invoke_iiiiiiiii": invoke_iiiiiiiii,
  18078. "invoke_iiiiiiiiii": invoke_iiiiiiiiii,
  18079. "invoke_iiiiiiiiiii": invoke_iiiiiiiiiii,
  18080. "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii,
  18081. "invoke_iiiiiiiiiiiii": invoke_iiiiiiiiiiiii,
  18082. "invoke_iiiiiiiiiiiiii": invoke_iiiiiiiiiiiiii,
  18083. "invoke_iiiiiji": invoke_iiiiiji,
  18084. "invoke_iiiij": invoke_iiiij,
  18085. "invoke_iiiiji": invoke_iiiiji,
  18086. "invoke_iiiijii": invoke_iiiijii,
  18087. "invoke_iiiijiii": invoke_iiiijiii,
  18088. "invoke_iiij": invoke_iiij,
  18089. "invoke_iiiji": invoke_iiiji,
  18090. "invoke_iiijii": invoke_iiijii,
  18091. "invoke_iiijiii": invoke_iiijiii,
  18092. "invoke_iij": invoke_iij,
  18093. "invoke_iiji": invoke_iiji,
  18094. "invoke_iijii": invoke_iijii,
  18095. "invoke_iijiii": invoke_iijiii,
  18096. "invoke_iijji": invoke_iijji,
  18097. "invoke_iijjii": invoke_iijjii,
  18098. "invoke_iijjiii": invoke_iijjiii,
  18099. "invoke_iijjji": invoke_iijjji,
  18100. "invoke_ij": invoke_ij,
  18101. "invoke_iji": invoke_iji,
  18102. "invoke_ijiii": invoke_ijiii,
  18103. "invoke_ijj": invoke_ijj,
  18104. "invoke_ijji": invoke_ijji,
  18105. "invoke_j": invoke_j,
  18106. "invoke_jdi": invoke_jdi,
  18107. "invoke_jdii": invoke_jdii,
  18108. "invoke_jfi": invoke_jfi,
  18109. "invoke_ji": invoke_ji,
  18110. "invoke_jidi": invoke_jidi,
  18111. "invoke_jidii": invoke_jidii,
  18112. "invoke_jii": invoke_jii,
  18113. "invoke_jiii": invoke_jiii,
  18114. "invoke_jiiii": invoke_jiiii,
  18115. "invoke_jiiiii": invoke_jiiiii,
  18116. "invoke_jiiiiii": invoke_jiiiiii,
  18117. "invoke_jiiiiiiiiii": invoke_jiiiiiiiiii,
  18118. "invoke_jiiji": invoke_jiiji,
  18119. "invoke_jiji": invoke_jiji,
  18120. "invoke_jijii": invoke_jijii,
  18121. "invoke_jijiii": invoke_jijiii,
  18122. "invoke_jijj": invoke_jijj,
  18123. "invoke_jijji": invoke_jijji,
  18124. "invoke_jji": invoke_jji,
  18125. "invoke_v": invoke_v,
  18126. "invoke_vd": invoke_vd,
  18127. "invoke_vf": invoke_vf,
  18128. "invoke_vff": invoke_vff,
  18129. "invoke_vffff": invoke_vffff,
  18130. "invoke_vfi": invoke_vfi,
  18131. "invoke_vfii": invoke_vfii,
  18132. "invoke_vfiii": invoke_vfiii,
  18133. "invoke_vi": invoke_vi,
  18134. "invoke_vid": invoke_vid,
  18135. "invoke_vidi": invoke_vidi,
  18136. "invoke_vif": invoke_vif,
  18137. "invoke_viff": invoke_viff,
  18138. "invoke_vifff": invoke_vifff,
  18139. "invoke_viffff": invoke_viffff,
  18140. "invoke_viffffi": invoke_viffffi,
  18141. "invoke_viffffii": invoke_viffffii,
  18142. "invoke_viffffiifffiiiiif": invoke_viffffiifffiiiiif,
  18143. "invoke_vifffi": invoke_vifffi,
  18144. "invoke_vifffii": invoke_vifffii,
  18145. "invoke_viffi": invoke_viffi,
  18146. "invoke_viffii": invoke_viffii,
  18147. "invoke_viffiifffffiii": invoke_viffiifffffiii,
  18148. "invoke_viffiii": invoke_viffiii,
  18149. "invoke_viffiiiif": invoke_viffiiiif,
  18150. "invoke_vifi": invoke_vifi,
  18151. "invoke_vifii": invoke_vifii,
  18152. "invoke_vifiiii": invoke_vifiiii,
  18153. "invoke_vifijii": invoke_vifijii,
  18154. "invoke_vii": invoke_vii,
  18155. "invoke_viid": invoke_viid,
  18156. "invoke_viidi": invoke_viidi,
  18157. "invoke_viidii": invoke_viidii,
  18158. "invoke_viif": invoke_viif,
  18159. "invoke_viiff": invoke_viiff,
  18160. "invoke_viifff": invoke_viifff,
  18161. "invoke_viifffi": invoke_viifffi,
  18162. "invoke_viiffi": invoke_viiffi,
  18163. "invoke_viifi": invoke_viifi,
  18164. "invoke_viifii": invoke_viifii,
  18165. "invoke_viifiii": invoke_viifiii,
  18166. "invoke_viifiiii": invoke_viifiiii,
  18167. "invoke_viii": invoke_viii,
  18168. "invoke_viiidi": invoke_viiidi,
  18169. "invoke_viiifffi": invoke_viiifffi,
  18170. "invoke_viiiffi": invoke_viiiffi,
  18171. "invoke_viiiffii": invoke_viiiffii,
  18172. "invoke_viiifi": invoke_viiifi,
  18173. "invoke_viiifii": invoke_viiifii,
  18174. "invoke_viiifiii": invoke_viiifiii,
  18175. "invoke_viiifiiiii": invoke_viiifiiiii,
  18176. "invoke_viiii": invoke_viiii,
  18177. "invoke_viiiif": invoke_viiiif,
  18178. "invoke_viiiiffi": invoke_viiiiffi,
  18179. "invoke_viiiifii": invoke_viiiifii,
  18180. "invoke_viiiifiiiiif": invoke_viiiifiiiiif,
  18181. "invoke_viiiii": invoke_viiiii,
  18182. "invoke_viiiiif": invoke_viiiiif,
  18183. "invoke_viiiiiffi": invoke_viiiiiffi,
  18184. "invoke_viiiiiffii": invoke_viiiiiffii,
  18185. "invoke_viiiiifi": invoke_viiiiifi,
  18186. "invoke_viiiiii": invoke_viiiiii,
  18187. "invoke_viiiiiif": invoke_viiiiiif,
  18188. "invoke_viiiiiii": invoke_viiiiiii,
  18189. "invoke_viiiiiiifi": invoke_viiiiiiifi,
  18190. "invoke_viiiiiiii": invoke_viiiiiiii,
  18191. "invoke_viiiiiiiii": invoke_viiiiiiiii,
  18192. "invoke_viiiiiiiiii": invoke_viiiiiiiiii,
  18193. "invoke_viiiiiiiiiii": invoke_viiiiiiiiiii,
  18194. "invoke_viiiiiiiiiiifii": invoke_viiiiiiiiiiifii,
  18195. "invoke_viiiiiiiiiiii": invoke_viiiiiiiiiiii,
  18196. "invoke_viiiiiiiiiiiiii": invoke_viiiiiiiiiiiiii,
  18197. "invoke_viiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiii,
  18198. "invoke_viiiiiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiiiiii,
  18199. "invoke_viiiiiji": invoke_viiiiiji,
  18200. "invoke_viiiij": invoke_viiiij,
  18201. "invoke_viiiijiiii": invoke_viiiijiiii,
  18202. "invoke_viiiji": invoke_viiiji,
  18203. "invoke_viiijji": invoke_viiijji,
  18204. "invoke_viij": invoke_viij,
  18205. "invoke_viiji": invoke_viiji,
  18206. "invoke_viijii": invoke_viijii,
  18207. "invoke_viijiijiii": invoke_viijiijiii,
  18208. "invoke_viijijii": invoke_viijijii,
  18209. "invoke_viijijiii": invoke_viijijiii,
  18210. "invoke_viijijj": invoke_viijijj,
  18211. "invoke_viijj": invoke_viijj,
  18212. "invoke_viijji": invoke_viijji,
  18213. "invoke_viijjiii": invoke_viijjiii,
  18214. "invoke_viijjji": invoke_viijjji,
  18215. "invoke_vij": invoke_vij,
  18216. "invoke_viji": invoke_viji,
  18217. "invoke_vijii": invoke_vijii,
  18218. "invoke_vijiii": invoke_vijiii,
  18219. "invoke_vijiji": invoke_vijiji,
  18220. "invoke_vijijji": invoke_vijijji,
  18221. "invoke_vijji": invoke_vijji,
  18222. "invoke_vijjii": invoke_vijjii,
  18223. "invoke_vji": invoke_vji,
  18224. "invoke_vjiiii": invoke_vjiiii,
  18225. "invoke_vjji": invoke_vjji,
  18226. "_AddTaskQuestion1": _AddTaskQuestion1,
  18227. "_ClearQuestions": _ClearQuestions,
  18228. "_JS_Cursor_SetImage": _JS_Cursor_SetImage,
  18229. "_JS_Cursor_SetShow": _JS_Cursor_SetShow,
  18230. "_JS_Eval_ClearInterval": _JS_Eval_ClearInterval,
  18231. "_JS_Eval_SetInterval": _JS_Eval_SetInterval,
  18232. "_JS_FileSystem_Initialize": _JS_FileSystem_Initialize,
  18233. "_JS_FileSystem_Sync": _JS_FileSystem_Sync,
  18234. "_JS_Log_Dump": _JS_Log_Dump,
  18235. "_JS_Log_StackTrace": _JS_Log_StackTrace,
  18236. "_JS_Profiler_InjectJobs": _JS_Profiler_InjectJobs,
  18237. "_JS_Sound_Create_Channel": _JS_Sound_Create_Channel,
  18238. "_JS_Sound_GetLength": _JS_Sound_GetLength,
  18239. "_JS_Sound_GetLoadState": _JS_Sound_GetLoadState,
  18240. "_JS_Sound_Init": _JS_Sound_Init,
  18241. "_JS_Sound_Load": _JS_Sound_Load,
  18242. "_JS_Sound_Load_PCM": _JS_Sound_Load_PCM,
  18243. "_JS_Sound_Play": _JS_Sound_Play,
  18244. "_JS_Sound_ReleaseInstance": _JS_Sound_ReleaseInstance,
  18245. "_JS_Sound_ResumeIfNeeded": _JS_Sound_ResumeIfNeeded,
  18246. "_JS_Sound_Set3D": _JS_Sound_Set3D,
  18247. "_JS_Sound_SetListenerOrientation": _JS_Sound_SetListenerOrientation,
  18248. "_JS_Sound_SetListenerPosition": _JS_Sound_SetListenerPosition,
  18249. "_JS_Sound_SetLoop": _JS_Sound_SetLoop,
  18250. "_JS_Sound_SetLoopPoints": _JS_Sound_SetLoopPoints,
  18251. "_JS_Sound_SetPaused": _JS_Sound_SetPaused,
  18252. "_JS_Sound_SetPitch": _JS_Sound_SetPitch,
  18253. "_JS_Sound_SetPosition": _JS_Sound_SetPosition,
  18254. "_JS_Sound_SetVolume": _JS_Sound_SetVolume,
  18255. "_JS_Sound_Stop": _JS_Sound_Stop,
  18256. "_JS_SystemInfo_GetCanvasClientSize": _JS_SystemInfo_GetCanvasClientSize,
  18257. "_JS_SystemInfo_GetDocumentURL": _JS_SystemInfo_GetDocumentURL,
  18258. "_JS_SystemInfo_GetGPUInfo": _JS_SystemInfo_GetGPUInfo,
  18259. "_JS_SystemInfo_GetMatchWebGLToCanvasSize": _JS_SystemInfo_GetMatchWebGLToCanvasSize,
  18260. "_JS_SystemInfo_GetMemory": _JS_SystemInfo_GetMemory,
  18261. "_JS_SystemInfo_GetOS": _JS_SystemInfo_GetOS,
  18262. "_JS_SystemInfo_GetPreferredDevicePixelRatio": _JS_SystemInfo_GetPreferredDevicePixelRatio,
  18263. "_JS_SystemInfo_GetScreenSize": _JS_SystemInfo_GetScreenSize,
  18264. "_JS_SystemInfo_HasCursorLock": _JS_SystemInfo_HasCursorLock,
  18265. "_JS_SystemInfo_HasFullscreen": _JS_SystemInfo_HasFullscreen,
  18266. "_JS_SystemInfo_HasWebGL": _JS_SystemInfo_HasWebGL,
  18267. "_ScoreUpload": _ScoreUpload,
  18268. "_StartExam": _StartExam,
  18269. "__ZSt18uncaught_exceptionv": __ZSt18uncaught_exceptionv,
  18270. "___atomic_compare_exchange_8": ___atomic_compare_exchange_8,
  18271. "___atomic_fetch_add_8": ___atomic_fetch_add_8,
  18272. "___buildEnvironment": ___buildEnvironment,
  18273. "___cxa_allocate_exception": ___cxa_allocate_exception,
  18274. "___cxa_begin_catch": ___cxa_begin_catch,
  18275. "___cxa_end_catch": ___cxa_end_catch,
  18276. "___cxa_find_matching_catch": ___cxa_find_matching_catch,
  18277. "___cxa_find_matching_catch_2": ___cxa_find_matching_catch_2,
  18278. "___cxa_find_matching_catch_3": ___cxa_find_matching_catch_3,
  18279. "___cxa_find_matching_catch_4": ___cxa_find_matching_catch_4,
  18280. "___cxa_free_exception": ___cxa_free_exception,
  18281. "___cxa_pure_virtual": ___cxa_pure_virtual,
  18282. "___cxa_rethrow": ___cxa_rethrow,
  18283. "___cxa_throw": ___cxa_throw,
  18284. "___gxx_personality_v0": ___gxx_personality_v0,
  18285. "___lock": ___lock,
  18286. "___map_file": ___map_file,
  18287. "___resumeException": ___resumeException,
  18288. "___setErrNo": ___setErrNo,
  18289. "___syscall10": ___syscall10,
  18290. "___syscall102": ___syscall102,
  18291. "___syscall122": ___syscall122,
  18292. "___syscall140": ___syscall140,
  18293. "___syscall142": ___syscall142,
  18294. "___syscall145": ___syscall145,
  18295. "___syscall146": ___syscall146,
  18296. "___syscall15": ___syscall15,
  18297. "___syscall183": ___syscall183,
  18298. "___syscall192": ___syscall192,
  18299. "___syscall193": ___syscall193,
  18300. "___syscall195": ___syscall195,
  18301. "___syscall196": ___syscall196,
  18302. "___syscall197": ___syscall197,
  18303. "___syscall199": ___syscall199,
  18304. "___syscall202": ___syscall202,
  18305. "___syscall220": ___syscall220,
  18306. "___syscall221": ___syscall221,
  18307. "___syscall268": ___syscall268,
  18308. "___syscall3": ___syscall3,
  18309. "___syscall33": ___syscall33,
  18310. "___syscall38": ___syscall38,
  18311. "___syscall39": ___syscall39,
  18312. "___syscall4": ___syscall4,
  18313. "___syscall40": ___syscall40,
  18314. "___syscall5": ___syscall5,
  18315. "___syscall54": ___syscall54,
  18316. "___syscall6": ___syscall6,
  18317. "___syscall77": ___syscall77,
  18318. "___syscall85": ___syscall85,
  18319. "___syscall91": ___syscall91,
  18320. "___unlock": ___unlock,
  18321. "__addDays": __addDays,
  18322. "__arraySum": __arraySum,
  18323. "__emscripten_do_request_fullscreen": __emscripten_do_request_fullscreen,
  18324. "__emscripten_sample_gamepad_data": __emscripten_sample_gamepad_data,
  18325. "__emscripten_traverse_stack": __emscripten_traverse_stack,
  18326. "__exit": __exit,
  18327. "__formatString": __formatString,
  18328. "__inet_ntop4_raw": __inet_ntop4_raw,
  18329. "__inet_ntop6_raw": __inet_ntop6_raw,
  18330. "__inet_pton4_raw": __inet_pton4_raw,
  18331. "__inet_pton6_raw": __inet_pton6_raw,
  18332. "__isLeapYear": __isLeapYear,
  18333. "__read_sockaddr": __read_sockaddr,
  18334. "__reallyNegative": __reallyNegative,
  18335. "__setLetterbox": __setLetterbox,
  18336. "__write_sockaddr": __write_sockaddr,
  18337. "_abort": _abort,
  18338. "_atexit": _atexit,
  18339. "_clock": _clock,
  18340. "_clock_getres": _clock_getres,
  18341. "_clock_gettime": _clock_gettime,
  18342. "_difftime": _difftime,
  18343. "_dlclose": _dlclose,
  18344. "_dlopen": _dlopen,
  18345. "_dlsym": _dlsym,
  18346. "_emscripten_asm_const_i": _emscripten_asm_const_i,
  18347. "_emscripten_asm_const_id": _emscripten_asm_const_id,
  18348. "_emscripten_asm_const_sync_on_main_thread_i": _emscripten_asm_const_sync_on_main_thread_i,
  18349. "_emscripten_cancel_main_loop": _emscripten_cancel_main_loop,
  18350. "_emscripten_exit_fullscreen": _emscripten_exit_fullscreen,
  18351. "_emscripten_exit_pointerlock": _emscripten_exit_pointerlock,
  18352. "_emscripten_get_callstack_js": _emscripten_get_callstack_js,
  18353. "_emscripten_get_canvas_element_size": _emscripten_get_canvas_element_size,
  18354. "_emscripten_get_canvas_element_size_calling_thread": _emscripten_get_canvas_element_size_calling_thread,
  18355. "_emscripten_get_canvas_element_size_main_thread": _emscripten_get_canvas_element_size_main_thread,
  18356. "_emscripten_get_fullscreen_status": _emscripten_get_fullscreen_status,
  18357. "_emscripten_get_gamepad_status": _emscripten_get_gamepad_status,
  18358. "_emscripten_get_main_loop_timing": _emscripten_get_main_loop_timing,
  18359. "_emscripten_get_now": _emscripten_get_now,
  18360. "_emscripten_get_now_is_monotonic": _emscripten_get_now_is_monotonic,
  18361. "_emscripten_get_now_res": _emscripten_get_now_res,
  18362. "_emscripten_get_num_gamepads": _emscripten_get_num_gamepads,
  18363. "_emscripten_has_threading_support": _emscripten_has_threading_support,
  18364. "_emscripten_html5_remove_all_event_listeners": _emscripten_html5_remove_all_event_listeners,
  18365. "_emscripten_is_webgl_context_lost": _emscripten_is_webgl_context_lost,
  18366. "_emscripten_log": _emscripten_log,
  18367. "_emscripten_log_js": _emscripten_log_js,
  18368. "_emscripten_memcpy_big": _emscripten_memcpy_big,
  18369. "_emscripten_num_logical_cores": _emscripten_num_logical_cores,
  18370. "_emscripten_request_fullscreen": _emscripten_request_fullscreen,
  18371. "_emscripten_request_pointerlock": _emscripten_request_pointerlock,
  18372. "_emscripten_set_blur_callback_on_thread": _emscripten_set_blur_callback_on_thread,
  18373. "_emscripten_set_canvas_element_size": _emscripten_set_canvas_element_size,
  18374. "_emscripten_set_dblclick_callback_on_thread": _emscripten_set_dblclick_callback_on_thread,
  18375. "_emscripten_set_devicemotion_callback_on_thread": _emscripten_set_devicemotion_callback_on_thread,
  18376. "_emscripten_set_deviceorientation_callback_on_thread": _emscripten_set_deviceorientation_callback_on_thread,
  18377. "_emscripten_set_focus_callback_on_thread": _emscripten_set_focus_callback_on_thread,
  18378. "_emscripten_set_fullscreenchange_callback_on_thread": _emscripten_set_fullscreenchange_callback_on_thread,
  18379. "_emscripten_set_gamepadconnected_callback_on_thread": _emscripten_set_gamepadconnected_callback_on_thread,
  18380. "_emscripten_set_gamepaddisconnected_callback_on_thread": _emscripten_set_gamepaddisconnected_callback_on_thread,
  18381. "_emscripten_set_keydown_callback_on_thread": _emscripten_set_keydown_callback_on_thread,
  18382. "_emscripten_set_keypress_callback_on_thread": _emscripten_set_keypress_callback_on_thread,
  18383. "_emscripten_set_keyup_callback_on_thread": _emscripten_set_keyup_callback_on_thread,
  18384. "_emscripten_set_main_loop": _emscripten_set_main_loop,
  18385. "_emscripten_set_main_loop_timing": _emscripten_set_main_loop_timing,
  18386. "_emscripten_set_mousedown_callback_on_thread": _emscripten_set_mousedown_callback_on_thread,
  18387. "_emscripten_set_mousemove_callback_on_thread": _emscripten_set_mousemove_callback_on_thread,
  18388. "_emscripten_set_mouseup_callback_on_thread": _emscripten_set_mouseup_callback_on_thread,
  18389. "_emscripten_set_touchcancel_callback_on_thread": _emscripten_set_touchcancel_callback_on_thread,
  18390. "_emscripten_set_touchend_callback_on_thread": _emscripten_set_touchend_callback_on_thread,
  18391. "_emscripten_set_touchmove_callback_on_thread": _emscripten_set_touchmove_callback_on_thread,
  18392. "_emscripten_set_touchstart_callback_on_thread": _emscripten_set_touchstart_callback_on_thread,
  18393. "_emscripten_set_wheel_callback_on_thread": _emscripten_set_wheel_callback_on_thread,
  18394. "_emscripten_webgl_create_context": _emscripten_webgl_create_context,
  18395. "_emscripten_webgl_destroy_context": _emscripten_webgl_destroy_context,
  18396. "_emscripten_webgl_destroy_context_calling_thread": _emscripten_webgl_destroy_context_calling_thread,
  18397. "_emscripten_webgl_do_create_context": _emscripten_webgl_do_create_context,
  18398. "_emscripten_webgl_do_get_current_context": _emscripten_webgl_do_get_current_context,
  18399. "_emscripten_webgl_enable_extension": _emscripten_webgl_enable_extension,
  18400. "_emscripten_webgl_enable_extension_calling_thread": _emscripten_webgl_enable_extension_calling_thread,
  18401. "_emscripten_webgl_get_current_context": _emscripten_webgl_get_current_context,
  18402. "_emscripten_webgl_init_context_attributes": _emscripten_webgl_init_context_attributes,
  18403. "_emscripten_webgl_make_context_current": _emscripten_webgl_make_context_current,
  18404. "_endsteps": _endsteps,
  18405. "_exit": _exit,
  18406. "_flock": _flock,
  18407. "_getenv": _getenv,
  18408. "_gethostbyaddr": _gethostbyaddr,
  18409. "_gethostbyname": _gethostbyname,
  18410. "_getpagesize": _getpagesize,
  18411. "_getpwuid": _getpwuid,
  18412. "_gettimeofday": _gettimeofday,
  18413. "_glActiveTexture": _glActiveTexture,
  18414. "_glAttachShader": _glAttachShader,
  18415. "_glBeginQuery": _glBeginQuery,
  18416. "_glBeginTransformFeedback": _glBeginTransformFeedback,
  18417. "_glBindAttribLocation": _glBindAttribLocation,
  18418. "_glBindBuffer": _glBindBuffer,
  18419. "_glBindBufferBase": _glBindBufferBase,
  18420. "_glBindBufferRange": _glBindBufferRange,
  18421. "_glBindFramebuffer": _glBindFramebuffer,
  18422. "_glBindRenderbuffer": _glBindRenderbuffer,
  18423. "_glBindSampler": _glBindSampler,
  18424. "_glBindTexture": _glBindTexture,
  18425. "_glBindTransformFeedback": _glBindTransformFeedback,
  18426. "_glBindVertexArray": _glBindVertexArray,
  18427. "_glBlendEquation": _glBlendEquation,
  18428. "_glBlendEquationSeparate": _glBlendEquationSeparate,
  18429. "_glBlendFuncSeparate": _glBlendFuncSeparate,
  18430. "_glBlitFramebuffer": _glBlitFramebuffer,
  18431. "_glBufferData": _glBufferData,
  18432. "_glBufferSubData": _glBufferSubData,
  18433. "_glCheckFramebufferStatus": _glCheckFramebufferStatus,
  18434. "_glClear": _glClear,
  18435. "_glClearBufferfi": _glClearBufferfi,
  18436. "_glClearBufferfv": _glClearBufferfv,
  18437. "_glClearBufferuiv": _glClearBufferuiv,
  18438. "_glClearColor": _glClearColor,
  18439. "_glClearDepthf": _glClearDepthf,
  18440. "_glClearStencil": _glClearStencil,
  18441. "_glClientWaitSync": _glClientWaitSync,
  18442. "_glColorMask": _glColorMask,
  18443. "_glCompileShader": _glCompileShader,
  18444. "_glCompressedTexImage2D": _glCompressedTexImage2D,
  18445. "_glCompressedTexImage3D": _glCompressedTexImage3D,
  18446. "_glCompressedTexSubImage2D": _glCompressedTexSubImage2D,
  18447. "_glCompressedTexSubImage3D": _glCompressedTexSubImage3D,
  18448. "_glCopyBufferSubData": _glCopyBufferSubData,
  18449. "_glCopyTexImage2D": _glCopyTexImage2D,
  18450. "_glCopyTexSubImage2D": _glCopyTexSubImage2D,
  18451. "_glCreateProgram": _glCreateProgram,
  18452. "_glCreateShader": _glCreateShader,
  18453. "_glCullFace": _glCullFace,
  18454. "_glDeleteBuffers": _glDeleteBuffers,
  18455. "_glDeleteFramebuffers": _glDeleteFramebuffers,
  18456. "_glDeleteProgram": _glDeleteProgram,
  18457. "_glDeleteQueries": _glDeleteQueries,
  18458. "_glDeleteRenderbuffers": _glDeleteRenderbuffers,
  18459. "_glDeleteSamplers": _glDeleteSamplers,
  18460. "_glDeleteShader": _glDeleteShader,
  18461. "_glDeleteSync": _glDeleteSync,
  18462. "_glDeleteTextures": _glDeleteTextures,
  18463. "_glDeleteTransformFeedbacks": _glDeleteTransformFeedbacks,
  18464. "_glDeleteVertexArrays": _glDeleteVertexArrays,
  18465. "_glDepthFunc": _glDepthFunc,
  18466. "_glDepthMask": _glDepthMask,
  18467. "_glDetachShader": _glDetachShader,
  18468. "_glDisable": _glDisable,
  18469. "_glDisableVertexAttribArray": _glDisableVertexAttribArray,
  18470. "_glDrawArrays": _glDrawArrays,
  18471. "_glDrawArraysInstanced": _glDrawArraysInstanced,
  18472. "_glDrawBuffers": _glDrawBuffers,
  18473. "_glDrawElements": _glDrawElements,
  18474. "_glDrawElementsInstanced": _glDrawElementsInstanced,
  18475. "_glEnable": _glEnable,
  18476. "_glEnableVertexAttribArray": _glEnableVertexAttribArray,
  18477. "_glEndQuery": _glEndQuery,
  18478. "_glEndTransformFeedback": _glEndTransformFeedback,
  18479. "_glFenceSync": _glFenceSync,
  18480. "_glFinish": _glFinish,
  18481. "_glFlush": _glFlush,
  18482. "_glFlushMappedBufferRange": _glFlushMappedBufferRange,
  18483. "_glFramebufferRenderbuffer": _glFramebufferRenderbuffer,
  18484. "_glFramebufferTexture2D": _glFramebufferTexture2D,
  18485. "_glFramebufferTextureLayer": _glFramebufferTextureLayer,
  18486. "_glFrontFace": _glFrontFace,
  18487. "_glGenBuffers": _glGenBuffers,
  18488. "_glGenFramebuffers": _glGenFramebuffers,
  18489. "_glGenQueries": _glGenQueries,
  18490. "_glGenRenderbuffers": _glGenRenderbuffers,
  18491. "_glGenSamplers": _glGenSamplers,
  18492. "_glGenTextures": _glGenTextures,
  18493. "_glGenTransformFeedbacks": _glGenTransformFeedbacks,
  18494. "_glGenVertexArrays": _glGenVertexArrays,
  18495. "_glGenerateMipmap": _glGenerateMipmap,
  18496. "_glGetActiveAttrib": _glGetActiveAttrib,
  18497. "_glGetActiveUniform": _glGetActiveUniform,
  18498. "_glGetActiveUniformBlockName": _glGetActiveUniformBlockName,
  18499. "_glGetActiveUniformBlockiv": _glGetActiveUniformBlockiv,
  18500. "_glGetActiveUniformsiv": _glGetActiveUniformsiv,
  18501. "_glGetAttribLocation": _glGetAttribLocation,
  18502. "_glGetError": _glGetError,
  18503. "_glGetFramebufferAttachmentParameteriv": _glGetFramebufferAttachmentParameteriv,
  18504. "_glGetIntegeri_v": _glGetIntegeri_v,
  18505. "_glGetIntegerv": _glGetIntegerv,
  18506. "_glGetInternalformativ": _glGetInternalformativ,
  18507. "_glGetProgramBinary": _glGetProgramBinary,
  18508. "_glGetProgramInfoLog": _glGetProgramInfoLog,
  18509. "_glGetProgramiv": _glGetProgramiv,
  18510. "_glGetQueryObjectuiv": _glGetQueryObjectuiv,
  18511. "_glGetQueryiv": _glGetQueryiv,
  18512. "_glGetRenderbufferParameteriv": _glGetRenderbufferParameteriv,
  18513. "_glGetShaderInfoLog": _glGetShaderInfoLog,
  18514. "_glGetShaderPrecisionFormat": _glGetShaderPrecisionFormat,
  18515. "_glGetShaderSource": _glGetShaderSource,
  18516. "_glGetShaderiv": _glGetShaderiv,
  18517. "_glGetString": _glGetString,
  18518. "_glGetStringi": _glGetStringi,
  18519. "_glGetTexParameteriv": _glGetTexParameteriv,
  18520. "_glGetUniformBlockIndex": _glGetUniformBlockIndex,
  18521. "_glGetUniformIndices": _glGetUniformIndices,
  18522. "_glGetUniformLocation": _glGetUniformLocation,
  18523. "_glGetUniformiv": _glGetUniformiv,
  18524. "_glGetVertexAttribiv": _glGetVertexAttribiv,
  18525. "_glInvalidateFramebuffer": _glInvalidateFramebuffer,
  18526. "_glIsEnabled": _glIsEnabled,
  18527. "_glIsVertexArray": _glIsVertexArray,
  18528. "_glLinkProgram": _glLinkProgram,
  18529. "_glMapBufferRange": _glMapBufferRange,
  18530. "_glPixelStorei": _glPixelStorei,
  18531. "_glPolygonOffset": _glPolygonOffset,
  18532. "_glProgramBinary": _glProgramBinary,
  18533. "_glProgramParameteri": _glProgramParameteri,
  18534. "_glReadBuffer": _glReadBuffer,
  18535. "_glReadPixels": _glReadPixels,
  18536. "_glRenderbufferStorage": _glRenderbufferStorage,
  18537. "_glRenderbufferStorageMultisample": _glRenderbufferStorageMultisample,
  18538. "_glSamplerParameteri": _glSamplerParameteri,
  18539. "_glScissor": _glScissor,
  18540. "_glShaderSource": _glShaderSource,
  18541. "_glStencilFuncSeparate": _glStencilFuncSeparate,
  18542. "_glStencilMask": _glStencilMask,
  18543. "_glStencilOpSeparate": _glStencilOpSeparate,
  18544. "_glTexImage2D": _glTexImage2D,
  18545. "_glTexImage3D": _glTexImage3D,
  18546. "_glTexParameterf": _glTexParameterf,
  18547. "_glTexParameteri": _glTexParameteri,
  18548. "_glTexParameteriv": _glTexParameteriv,
  18549. "_glTexStorage2D": _glTexStorage2D,
  18550. "_glTexStorage3D": _glTexStorage3D,
  18551. "_glTexSubImage2D": _glTexSubImage2D,
  18552. "_glTexSubImage3D": _glTexSubImage3D,
  18553. "_glTransformFeedbackVaryings": _glTransformFeedbackVaryings,
  18554. "_glUniform1fv": _glUniform1fv,
  18555. "_glUniform1i": _glUniform1i,
  18556. "_glUniform1iv": _glUniform1iv,
  18557. "_glUniform1uiv": _glUniform1uiv,
  18558. "_glUniform2fv": _glUniform2fv,
  18559. "_glUniform2iv": _glUniform2iv,
  18560. "_glUniform2uiv": _glUniform2uiv,
  18561. "_glUniform3fv": _glUniform3fv,
  18562. "_glUniform3iv": _glUniform3iv,
  18563. "_glUniform3uiv": _glUniform3uiv,
  18564. "_glUniform4fv": _glUniform4fv,
  18565. "_glUniform4iv": _glUniform4iv,
  18566. "_glUniform4uiv": _glUniform4uiv,
  18567. "_glUniformBlockBinding": _glUniformBlockBinding,
  18568. "_glUniformMatrix3fv": _glUniformMatrix3fv,
  18569. "_glUniformMatrix4fv": _glUniformMatrix4fv,
  18570. "_glUnmapBuffer": _glUnmapBuffer,
  18571. "_glUseProgram": _glUseProgram,
  18572. "_glValidateProgram": _glValidateProgram,
  18573. "_glVertexAttrib4f": _glVertexAttrib4f,
  18574. "_glVertexAttrib4fv": _glVertexAttrib4fv,
  18575. "_glVertexAttribIPointer": _glVertexAttribIPointer,
  18576. "_glVertexAttribPointer": _glVertexAttribPointer,
  18577. "_glViewport": _glViewport,
  18578. "_gmtime": _gmtime,
  18579. "_gmtime_r": _gmtime_r,
  18580. "_inet_addr": _inet_addr,
  18581. "_llvm_ceil_f32": _llvm_ceil_f32,
  18582. "_llvm_ceil_f64": _llvm_ceil_f64,
  18583. "_llvm_copysign_f64": _llvm_copysign_f64,
  18584. "_llvm_cttz_i32": _llvm_cttz_i32,
  18585. "_llvm_eh_typeid_for": _llvm_eh_typeid_for,
  18586. "_llvm_exp2_f32": _llvm_exp2_f32,
  18587. "_llvm_fabs_f32": _llvm_fabs_f32,
  18588. "_llvm_fabs_f64": _llvm_fabs_f64,
  18589. "_llvm_floor_f32": _llvm_floor_f32,
  18590. "_llvm_floor_f64": _llvm_floor_f64,
  18591. "_llvm_log10_f32": _llvm_log10_f32,
  18592. "_llvm_log2_f32": _llvm_log2_f32,
  18593. "_llvm_pow_f64": _llvm_pow_f64,
  18594. "_llvm_sqrt_f32": _llvm_sqrt_f32,
  18595. "_llvm_trap": _llvm_trap,
  18596. "_llvm_trunc_f32": _llvm_trunc_f32,
  18597. "_localtime": _localtime,
  18598. "_localtime_r": _localtime_r,
  18599. "_mktime": _mktime,
  18600. "_nanosleep": _nanosleep,
  18601. "_pthread_cond_destroy": _pthread_cond_destroy,
  18602. "_pthread_cond_init": _pthread_cond_init,
  18603. "_pthread_cond_timedwait": _pthread_cond_timedwait,
  18604. "_pthread_cond_wait": _pthread_cond_wait,
  18605. "_pthread_getspecific": _pthread_getspecific,
  18606. "_pthread_key_create": _pthread_key_create,
  18607. "_pthread_key_delete": _pthread_key_delete,
  18608. "_pthread_mutex_destroy": _pthread_mutex_destroy,
  18609. "_pthread_mutex_init": _pthread_mutex_init,
  18610. "_pthread_mutexattr_destroy": _pthread_mutexattr_destroy,
  18611. "_pthread_mutexattr_init": _pthread_mutexattr_init,
  18612. "_pthread_mutexattr_setprotocol": _pthread_mutexattr_setprotocol,
  18613. "_pthread_mutexattr_settype": _pthread_mutexattr_settype,
  18614. "_pthread_once": _pthread_once,
  18615. "_pthread_setspecific": _pthread_setspecific,
  18616. "_sched_yield": _sched_yield,
  18617. "_setenv": _setenv,
  18618. "_sigaction": _sigaction,
  18619. "_sigemptyset": _sigemptyset,
  18620. "_startsteps": _startsteps,
  18621. "_strftime": _strftime,
  18622. "_sysconf": _sysconf,
  18623. "_time": _time,
  18624. "_tzset": _tzset,
  18625. "_unsetenv": _unsetenv,
  18626. "_usleep": _usleep,
  18627. "_utime": _utime,
  18628. "emscriptenWebGLComputeImageSize": emscriptenWebGLComputeImageSize,
  18629. "emscriptenWebGLGet": emscriptenWebGLGet,
  18630. "emscriptenWebGLGetBufferBinding": emscriptenWebGLGetBufferBinding,
  18631. "emscriptenWebGLGetHeapForType": emscriptenWebGLGetHeapForType,
  18632. "emscriptenWebGLGetIndexed": emscriptenWebGLGetIndexed,
  18633. "emscriptenWebGLGetShiftForType": emscriptenWebGLGetShiftForType,
  18634. "emscriptenWebGLGetTexPixelData": emscriptenWebGLGetTexPixelData,
  18635. "emscriptenWebGLGetUniform": emscriptenWebGLGetUniform,
  18636. "emscriptenWebGLGetVertexAttrib": emscriptenWebGLGetVertexAttrib,
  18637. "emscriptenWebGLValidateMapBufferTarget": emscriptenWebGLValidateMapBufferTarget,
  18638. "emscripten_get_canvas_element_size_js": emscripten_get_canvas_element_size_js,
  18639. "emscripten_set_canvas_element_size_js": emscripten_set_canvas_element_size_js,
  18640. "DYNAMICTOP_PTR": DYNAMICTOP_PTR,
  18641. "tempDoublePtr": tempDoublePtr,
  18642. "ABORT": ABORT,
  18643. "STACKTOP": STACKTOP,
  18644. "STACK_MAX": STACK_MAX
  18645. };
  18646. var asm = Module["asm"](Module.asmGlobalArg, Module.asmLibraryArg, buffer);
  18647. var real__InjectProfilerSample = asm["_InjectProfilerSample"];
  18648. asm["_InjectProfilerSample"] = (function() {
  18649. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18650. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18651. return real__InjectProfilerSample.apply(null, arguments);
  18652. });
  18653. var real__SendMessage = asm["_SendMessage"];
  18654. asm["_SendMessage"] = (function() {
  18655. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18656. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18657. return real__SendMessage.apply(null, arguments);
  18658. });
  18659. var real__SendMessageFloat = asm["_SendMessageFloat"];
  18660. asm["_SendMessageFloat"] = (function() {
  18661. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18662. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18663. return real__SendMessageFloat.apply(null, arguments);
  18664. });
  18665. var real__SendMessageString = asm["_SendMessageString"];
  18666. asm["_SendMessageString"] = (function() {
  18667. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18668. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18669. return real__SendMessageString.apply(null, arguments);
  18670. });
  18671. var real__SetFullscreen = asm["_SetFullscreen"];
  18672. asm["_SetFullscreen"] = (function() {
  18673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18675. return real__SetFullscreen.apply(null, arguments);
  18676. });
  18677. var real___GLOBAL__sub_I_AIBindings_gen_cpp = asm["__GLOBAL__sub_I_AIBindings_gen_cpp"];
  18678. asm["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  18679. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18680. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18681. return real___GLOBAL__sub_I_AIBindings_gen_cpp.apply(null, arguments);
  18682. });
  18683. var real___GLOBAL__sub_I_AIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"];
  18684. asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (function() {
  18685. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18686. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18687. return real___GLOBAL__sub_I_AIScriptingClasses_cpp.apply(null, arguments);
  18688. });
  18689. var real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"];
  18690. asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (function() {
  18691. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18692. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18693. return real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp.apply(null, arguments);
  18694. });
  18695. var real___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"];
  18696. asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (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___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp.apply(null, arguments);
  18700. });
  18701. var real___GLOBAL__sub_I_AnimationBindings_gen_cpp = asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"];
  18702. asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (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___GLOBAL__sub_I_AnimationBindings_gen_cpp.apply(null, arguments);
  18706. });
  18707. var real___GLOBAL__sub_I_AnimationClip_cpp = asm["__GLOBAL__sub_I_AnimationClip_cpp"];
  18708. asm["__GLOBAL__sub_I_AnimationClip_cpp"] = (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___GLOBAL__sub_I_AnimationClip_cpp.apply(null, arguments);
  18712. });
  18713. var real___GLOBAL__sub_I_AnimationScriptingClasses_cpp = asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"];
  18714. asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"] = (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___GLOBAL__sub_I_AnimationScriptingClasses_cpp.apply(null, arguments);
  18718. });
  18719. var real___GLOBAL__sub_I_AssetBundleFileSystem_cpp = asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"];
  18720. asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"] = (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___GLOBAL__sub_I_AssetBundleFileSystem_cpp.apply(null, arguments);
  18724. });
  18725. var real___GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"];
  18726. asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_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_AssetBundleScriptingClasses_cpp.apply(null, arguments);
  18730. });
  18731. var real___GLOBAL__sub_I_AudioScriptingClasses_cpp = asm["__GLOBAL__sub_I_AudioScriptingClasses_cpp"];
  18732. asm["__GLOBAL__sub_I_AudioScriptingClasses_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_AudioScriptingClasses_cpp.apply(null, arguments);
  18736. });
  18737. var real___GLOBAL__sub_I_ClothScriptingClasses_cpp = asm["__GLOBAL__sub_I_ClothScriptingClasses_cpp"];
  18738. asm["__GLOBAL__sub_I_ClothScriptingClasses_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_ClothScriptingClasses_cpp.apply(null, arguments);
  18742. });
  18743. var real___GLOBAL__sub_I_ConstraintJob_cpp = asm["__GLOBAL__sub_I_ConstraintJob_cpp"];
  18744. asm["__GLOBAL__sub_I_ConstraintJob_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_ConstraintJob_cpp.apply(null, arguments);
  18748. });
  18749. var real___GLOBAL__sub_I_CoreBindings_gen_cpp = asm["__GLOBAL__sub_I_CoreBindings_gen_cpp"];
  18750. asm["__GLOBAL__sub_I_CoreBindings_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_CoreBindings_gen_cpp.apply(null, arguments);
  18754. });
  18755. var real___GLOBAL__sub_I_DSPGraphBindings_gen_cpp = asm["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"];
  18756. asm["__GLOBAL__sub_I_DSPGraphBindings_gen_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_DSPGraphBindings_gen_cpp.apply(null, arguments);
  18760. });
  18761. var real___GLOBAL__sub_I_DirectorScriptingClasses_cpp = asm["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"];
  18762. asm["__GLOBAL__sub_I_DirectorScriptingClasses_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_DirectorScriptingClasses_cpp.apply(null, arguments);
  18766. });
  18767. var real___GLOBAL__sub_I_ExternalForcesModule_cpp = asm["__GLOBAL__sub_I_ExternalForcesModule_cpp"];
  18768. asm["__GLOBAL__sub_I_ExternalForcesModule_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_ExternalForcesModule_cpp.apply(null, arguments);
  18772. });
  18773. var real___GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"];
  18774. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_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_External_Box2D_Box2D_Dynamics_0_cpp.apply(null, arguments);
  18778. });
  18779. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"];
  18780. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_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_External_Box2D_Box2D_Jobs_0_cpp.apply(null, arguments);
  18784. });
  18785. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"];
  18786. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_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_External_Box2D_Box2D_Jobs_1_cpp.apply(null, arguments);
  18790. });
  18791. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"];
  18792. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_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_External_Box2D_Box2D_Jobs_2_cpp.apply(null, arguments);
  18796. });
  18797. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"];
  18798. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_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_External_Box2D_Box2D_Jobs_3_cpp.apply(null, arguments);
  18802. });
  18803. var real___GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"];
  18804. asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_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_External_ProphecySDK_BlitOperations_1_cpp.apply(null, arguments);
  18808. });
  18809. var real___GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"];
  18810. asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_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_External_Yoga_Yoga_0_cpp.apply(null, arguments);
  18814. });
  18815. 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"];
  18816. asm["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_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_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp.apply(null, arguments);
  18820. });
  18821. var real___GLOBAL__sub_I_GUITexture_cpp = asm["__GLOBAL__sub_I_GUITexture_cpp"];
  18822. asm["__GLOBAL__sub_I_GUITexture_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_GUITexture_cpp.apply(null, arguments);
  18826. });
  18827. var real___GLOBAL__sub_I_GfxDeviceNull_cpp = asm["__GLOBAL__sub_I_GfxDeviceNull_cpp"];
  18828. asm["__GLOBAL__sub_I_GfxDeviceNull_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_GfxDeviceNull_cpp.apply(null, arguments);
  18832. });
  18833. var real___GLOBAL__sub_I_GridScriptingClasses_cpp = asm["__GLOBAL__sub_I_GridScriptingClasses_cpp"];
  18834. asm["__GLOBAL__sub_I_GridScriptingClasses_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_GridScriptingClasses_cpp.apply(null, arguments);
  18838. });
  18839. var real___GLOBAL__sub_I_IMGUIScriptingClasses_cpp = asm["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"];
  18840. asm["__GLOBAL__sub_I_IMGUIScriptingClasses_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_IMGUIScriptingClasses_cpp.apply(null, arguments);
  18844. });
  18845. var real___GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"];
  18846. asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_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_InputLegacyModuleRegistration_cpp.apply(null, arguments);
  18850. });
  18851. var real___GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"];
  18852. asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_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_InputLegacyScriptingClasses_cpp.apply(null, arguments);
  18856. });
  18857. var real___GLOBAL__sub_I_InputScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputScriptingClasses_cpp"];
  18858. asm["__GLOBAL__sub_I_InputScriptingClasses_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_InputScriptingClasses_cpp.apply(null, arguments);
  18862. });
  18863. var real___GLOBAL__sub_I_LineRenderer_cpp = asm["__GLOBAL__sub_I_LineRenderer_cpp"];
  18864. asm["__GLOBAL__sub_I_LineRenderer_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_LineRenderer_cpp.apply(null, arguments);
  18868. });
  18869. var real___GLOBAL__sub_I_LogAssert_cpp = asm["__GLOBAL__sub_I_LogAssert_cpp"];
  18870. asm["__GLOBAL__sub_I_LogAssert_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_LogAssert_cpp.apply(null, arguments);
  18874. });
  18875. var real___GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"];
  18876. asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_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_Lump_libil2cpp_gc_cpp.apply(null, arguments);
  18880. });
  18881. var real___GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"];
  18882. asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_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_Lump_libil2cpp_icalls_cpp.apply(null, arguments);
  18886. });
  18887. var real___GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"];
  18888. asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_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_Lump_libil2cpp_metadata_cpp.apply(null, arguments);
  18892. });
  18893. var real___GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"];
  18894. asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_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_Lump_libil2cpp_mono_cpp.apply(null, arguments);
  18898. });
  18899. var real___GLOBAL__sub_I_Lump_libil2cpp_os_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"];
  18900. asm["__GLOBAL__sub_I_Lump_libil2cpp_os_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_Lump_libil2cpp_os_cpp.apply(null, arguments);
  18904. });
  18905. var real___GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"];
  18906. asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_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_Lump_libil2cpp_utils_cpp.apply(null, arguments);
  18910. });
  18911. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"];
  18912. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_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_Lump_libil2cpp_vm_cpp.apply(null, arguments);
  18916. });
  18917. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"];
  18918. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_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_Lump_libil2cpp_vm_utils_cpp.apply(null, arguments);
  18922. });
  18923. var real___GLOBAL__sub_I_Mesh_cpp = asm["__GLOBAL__sub_I_Mesh_cpp"];
  18924. asm["__GLOBAL__sub_I_Mesh_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_Mesh_cpp.apply(null, arguments);
  18928. });
  18929. var real___GLOBAL__sub_I_Modules_AI_1_cpp = asm["__GLOBAL__sub_I_Modules_AI_1_cpp"];
  18930. asm["__GLOBAL__sub_I_Modules_AI_1_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_Modules_AI_1_cpp.apply(null, arguments);
  18934. });
  18935. var real___GLOBAL__sub_I_Modules_AI_Builder_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"];
  18936. asm["__GLOBAL__sub_I_Modules_AI_Builder_0_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_Modules_AI_Builder_0_cpp.apply(null, arguments);
  18940. });
  18941. var real___GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"];
  18942. asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_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_Modules_AI_Crowd_0_cpp.apply(null, arguments);
  18946. });
  18947. var real___GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"];
  18948. asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_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_Modules_AI_NavMesh_0_cpp.apply(null, arguments);
  18952. });
  18953. var real___GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"];
  18954. asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_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_Modules_AI_Obstacles_0_cpp.apply(null, arguments);
  18958. });
  18959. var real___GLOBAL__sub_I_Modules_Animation_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_0_cpp"];
  18960. asm["__GLOBAL__sub_I_Modules_Animation_0_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_Modules_Animation_0_cpp.apply(null, arguments);
  18964. });
  18965. var real___GLOBAL__sub_I_Modules_Animation_2_cpp = asm["__GLOBAL__sub_I_Modules_Animation_2_cpp"];
  18966. asm["__GLOBAL__sub_I_Modules_Animation_2_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_Modules_Animation_2_cpp.apply(null, arguments);
  18970. });
  18971. var real___GLOBAL__sub_I_Modules_Animation_3_cpp = asm["__GLOBAL__sub_I_Modules_Animation_3_cpp"];
  18972. asm["__GLOBAL__sub_I_Modules_Animation_3_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_Modules_Animation_3_cpp.apply(null, arguments);
  18976. });
  18977. var real___GLOBAL__sub_I_Modules_Animation_4_cpp = asm["__GLOBAL__sub_I_Modules_Animation_4_cpp"];
  18978. asm["__GLOBAL__sub_I_Modules_Animation_4_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_Modules_Animation_4_cpp.apply(null, arguments);
  18982. });
  18983. var real___GLOBAL__sub_I_Modules_Animation_5_cpp = asm["__GLOBAL__sub_I_Modules_Animation_5_cpp"];
  18984. asm["__GLOBAL__sub_I_Modules_Animation_5_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_Animation_5_cpp.apply(null, arguments);
  18988. });
  18989. var real___GLOBAL__sub_I_Modules_Animation_6_cpp = asm["__GLOBAL__sub_I_Modules_Animation_6_cpp"];
  18990. asm["__GLOBAL__sub_I_Modules_Animation_6_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_Animation_6_cpp.apply(null, arguments);
  18994. });
  18995. var real___GLOBAL__sub_I_Modules_Animation_7_cpp = asm["__GLOBAL__sub_I_Modules_Animation_7_cpp"];
  18996. asm["__GLOBAL__sub_I_Modules_Animation_7_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_Animation_7_cpp.apply(null, arguments);
  19000. });
  19001. var real___GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"];
  19002. asm["__GLOBAL__sub_I_Modules_Animation_Constraints_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_Animation_Constraints_0_cpp.apply(null, arguments);
  19006. });
  19007. var real___GLOBAL__sub_I_Modules_Animation_Director_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"];
  19008. asm["__GLOBAL__sub_I_Modules_Animation_Director_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_Animation_Director_0_cpp.apply(null, arguments);
  19012. });
  19013. var real___GLOBAL__sub_I_Modules_Animation_Director_1_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"];
  19014. asm["__GLOBAL__sub_I_Modules_Animation_Director_1_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_Director_1_cpp.apply(null, arguments);
  19018. });
  19019. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"];
  19020. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_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_AssetBundle_Public_0_cpp.apply(null, arguments);
  19024. });
  19025. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"];
  19026. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_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_AssetBundle_Public_1_cpp.apply(null, arguments);
  19030. });
  19031. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"];
  19032. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_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_AssetBundle_Public_2_cpp.apply(null, arguments);
  19036. });
  19037. var real___GLOBAL__sub_I_Modules_Audio_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"];
  19038. asm["__GLOBAL__sub_I_Modules_Audio_Public_0_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_Audio_Public_0_cpp.apply(null, arguments);
  19042. });
  19043. var real___GLOBAL__sub_I_Modules_Audio_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"];
  19044. asm["__GLOBAL__sub_I_Modules_Audio_Public_1_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_Audio_Public_1_cpp.apply(null, arguments);
  19048. });
  19049. var real___GLOBAL__sub_I_Modules_Audio_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"];
  19050. asm["__GLOBAL__sub_I_Modules_Audio_Public_3_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_Audio_Public_3_cpp.apply(null, arguments);
  19054. });
  19055. var real___GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"];
  19056. asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_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_Audio_Public_ScriptBindings_1_cpp.apply(null, arguments);
  19060. });
  19061. var real___GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"];
  19062. asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_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_Audio_Public_sound_0_cpp.apply(null, arguments);
  19066. });
  19067. var real___GLOBAL__sub_I_Modules_Cloth_0_cpp = asm["__GLOBAL__sub_I_Modules_Cloth_0_cpp"];
  19068. asm["__GLOBAL__sub_I_Modules_Cloth_0_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_Cloth_0_cpp.apply(null, arguments);
  19072. });
  19073. var real___GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"];
  19074. asm["__GLOBAL__sub_I_Modules_CrashReporting_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_CrashReporting_Public_0_cpp.apply(null, arguments);
  19078. });
  19079. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"];
  19080. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_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_DSPGraph_Public_0_cpp.apply(null, arguments);
  19084. });
  19085. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"];
  19086. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_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_DSPGraph_Public_1_cpp.apply(null, arguments);
  19090. });
  19091. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"];
  19092. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_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_DSPGraph_Public_3_cpp.apply(null, arguments);
  19096. });
  19097. var real___GLOBAL__sub_I_Modules_Grid_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"];
  19098. asm["__GLOBAL__sub_I_Modules_Grid_Public_0_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_Grid_Public_0_cpp.apply(null, arguments);
  19102. });
  19103. var real___GLOBAL__sub_I_Modules_IMGUI_0_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"];
  19104. asm["__GLOBAL__sub_I_Modules_IMGUI_0_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_IMGUI_0_cpp.apply(null, arguments);
  19108. });
  19109. var real___GLOBAL__sub_I_Modules_IMGUI_1_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"];
  19110. asm["__GLOBAL__sub_I_Modules_IMGUI_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_IMGUI_1_cpp.apply(null, arguments);
  19114. });
  19115. var real___GLOBAL__sub_I_Modules_Input_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"];
  19116. asm["__GLOBAL__sub_I_Modules_Input_Private_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_Input_Private_0_cpp.apply(null, arguments);
  19120. });
  19121. var real___GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"];
  19122. asm["__GLOBAL__sub_I_Modules_ParticleSystem_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_ParticleSystem_0_cpp.apply(null, arguments);
  19126. });
  19127. var real___GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"];
  19128. asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_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_ParticleSystem_1_cpp.apply(null, arguments);
  19132. });
  19133. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"];
  19134. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_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_ParticleSystem_Modules_0_cpp.apply(null, arguments);
  19138. });
  19139. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"];
  19140. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_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_ParticleSystem_Modules_1_cpp.apply(null, arguments);
  19144. });
  19145. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"];
  19146. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_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_ParticleSystem_Modules_2_cpp.apply(null, arguments);
  19150. });
  19151. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"];
  19152. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_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_ParticleSystem_Modules_3_cpp.apply(null, arguments);
  19156. });
  19157. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"];
  19158. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_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_ParticleSystem_Modules_4_cpp.apply(null, arguments);
  19162. });
  19163. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"];
  19164. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_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_ParticleSystem_Modules_5_cpp.apply(null, arguments);
  19168. });
  19169. var real___GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = asm["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"];
  19170. asm["__GLOBAL__sub_I_Modules_PerformanceReporting_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_PerformanceReporting_0_cpp.apply(null, arguments);
  19174. });
  19175. var real___GLOBAL__sub_I_Modules_Physics2D_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"];
  19176. asm["__GLOBAL__sub_I_Modules_Physics2D_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_Physics2D_0_cpp.apply(null, arguments);
  19180. });
  19181. var real___GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"];
  19182. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_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_Physics2D_Public_0_cpp.apply(null, arguments);
  19186. });
  19187. var real___GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"];
  19188. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_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_Physics2D_Public_1_cpp.apply(null, arguments);
  19192. });
  19193. var real___GLOBAL__sub_I_Modules_Physics_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_0_cpp"];
  19194. asm["__GLOBAL__sub_I_Modules_Physics_0_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_Physics_0_cpp.apply(null, arguments);
  19198. });
  19199. var real___GLOBAL__sub_I_Modules_Physics_2_cpp = asm["__GLOBAL__sub_I_Modules_Physics_2_cpp"];
  19200. asm["__GLOBAL__sub_I_Modules_Physics_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_Physics_2_cpp.apply(null, arguments);
  19204. });
  19205. var real___GLOBAL__sub_I_Modules_Physics_3_cpp = asm["__GLOBAL__sub_I_Modules_Physics_3_cpp"];
  19206. asm["__GLOBAL__sub_I_Modules_Physics_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_Physics_3_cpp.apply(null, arguments);
  19210. });
  19211. var real___GLOBAL__sub_I_Modules_Physics_4_cpp = asm["__GLOBAL__sub_I_Modules_Physics_4_cpp"];
  19212. asm["__GLOBAL__sub_I_Modules_Physics_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_Physics_4_cpp.apply(null, arguments);
  19216. });
  19217. var real___GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"];
  19218. asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_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_Physics_BatchCommands_0_cpp.apply(null, arguments);
  19222. });
  19223. var real___GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"];
  19224. asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_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_Profiler_Dispatch_0_cpp.apply(null, arguments);
  19228. });
  19229. var real___GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"];
  19230. asm["__GLOBAL__sub_I_Modules_Profiler_Public_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_Profiler_Public_0_cpp.apply(null, arguments);
  19234. });
  19235. var real___GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"];
  19236. asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_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_Profiler_Public_1_cpp.apply(null, arguments);
  19240. });
  19241. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"];
  19242. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_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_Profiler_Runtime_0_cpp.apply(null, arguments);
  19246. });
  19247. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"];
  19248. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_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_Profiler_Runtime_1_cpp.apply(null, arguments);
  19252. });
  19253. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"];
  19254. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_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_Profiler_Runtime_2_cpp.apply(null, arguments);
  19258. });
  19259. var real___GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"];
  19260. asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_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_SpriteMask_Private_0_cpp.apply(null, arguments);
  19264. });
  19265. var real___GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"];
  19266. asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_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_SpriteShape_Private_0_cpp.apply(null, arguments);
  19270. });
  19271. var real___GLOBAL__sub_I_Modules_Subsystems_0_cpp = asm["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"];
  19272. asm["__GLOBAL__sub_I_Modules_Subsystems_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_Subsystems_0_cpp.apply(null, arguments);
  19276. });
  19277. var real___GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = asm["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"];
  19278. asm["__GLOBAL__sub_I_Modules_TerrainPhysics_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_TerrainPhysics_0_cpp.apply(null, arguments);
  19282. });
  19283. var real___GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"];
  19284. asm["__GLOBAL__sub_I_Modules_Terrain_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_Terrain_Public_0_cpp.apply(null, arguments);
  19288. });
  19289. var real___GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"];
  19290. asm["__GLOBAL__sub_I_Modules_Terrain_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_Terrain_Public_1_cpp.apply(null, arguments);
  19294. });
  19295. var real___GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"];
  19296. asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_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_Terrain_Public_2_cpp.apply(null, arguments);
  19300. });
  19301. var real___GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"];
  19302. asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_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_Terrain_Public_3_cpp.apply(null, arguments);
  19306. });
  19307. var real___GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"];
  19308. asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_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_Terrain_VR_0_cpp.apply(null, arguments);
  19312. });
  19313. var real___GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"];
  19314. asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_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_TextCore_Native_FontEngine_0_cpp.apply(null, arguments);
  19318. });
  19319. var real___GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"];
  19320. asm["__GLOBAL__sub_I_Modules_TextRendering_Public_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_TextRendering_Public_0_cpp.apply(null, arguments);
  19324. });
  19325. var real___GLOBAL__sub_I_Modules_Tilemap_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"];
  19326. asm["__GLOBAL__sub_I_Modules_Tilemap_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_Tilemap_0_cpp.apply(null, arguments);
  19330. });
  19331. var real___GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"];
  19332. asm["__GLOBAL__sub_I_Modules_Tilemap_Public_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_Tilemap_Public_0_cpp.apply(null, arguments);
  19336. });
  19337. var real___GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = asm["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"];
  19338. asm["__GLOBAL__sub_I_Modules_UIElementsNative_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_UIElementsNative_0_cpp.apply(null, arguments);
  19342. });
  19343. var real___GLOBAL__sub_I_Modules_UI_0_cpp = asm["__GLOBAL__sub_I_Modules_UI_0_cpp"];
  19344. asm["__GLOBAL__sub_I_Modules_UI_0_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_UI_0_cpp.apply(null, arguments);
  19348. });
  19349. var real___GLOBAL__sub_I_Modules_UI_1_cpp = asm["__GLOBAL__sub_I_Modules_UI_1_cpp"];
  19350. asm["__GLOBAL__sub_I_Modules_UI_1_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_UI_1_cpp.apply(null, arguments);
  19354. });
  19355. var real___GLOBAL__sub_I_Modules_UI_2_cpp = asm["__GLOBAL__sub_I_Modules_UI_2_cpp"];
  19356. asm["__GLOBAL__sub_I_Modules_UI_2_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_UI_2_cpp.apply(null, arguments);
  19360. });
  19361. var real___GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"];
  19362. asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_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_UnityAnalytics_CoreStats_0_cpp.apply(null, arguments);
  19366. });
  19367. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"];
  19368. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_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_UnityWebRequest_Public_0_cpp.apply(null, arguments);
  19372. });
  19373. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"];
  19374. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_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_UnityWebRequest_Public_DownloadHandler_0_cpp.apply(null, arguments);
  19378. });
  19379. var real___GLOBAL__sub_I_Modules_VFX_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"];
  19380. asm["__GLOBAL__sub_I_Modules_VFX_Public_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_VFX_Public_0_cpp.apply(null, arguments);
  19384. });
  19385. var real___GLOBAL__sub_I_Modules_VFX_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"];
  19386. asm["__GLOBAL__sub_I_Modules_VFX_Public_1_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_VFX_Public_1_cpp.apply(null, arguments);
  19390. });
  19391. var real___GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"];
  19392. asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_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_VFX_Public_Systems_0_cpp.apply(null, arguments);
  19396. });
  19397. var real___GLOBAL__sub_I_Modules_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_VR_0_cpp"];
  19398. asm["__GLOBAL__sub_I_Modules_VR_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_VR_0_cpp.apply(null, arguments);
  19402. });
  19403. var real___GLOBAL__sub_I_Modules_VR_1_cpp = asm["__GLOBAL__sub_I_Modules_VR_1_cpp"];
  19404. asm["__GLOBAL__sub_I_Modules_VR_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_VR_1_cpp.apply(null, arguments);
  19408. });
  19409. var real___GLOBAL__sub_I_Modules_Vehicles_0_cpp = asm["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"];
  19410. asm["__GLOBAL__sub_I_Modules_Vehicles_0_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_Vehicles_0_cpp.apply(null, arguments);
  19414. });
  19415. var real___GLOBAL__sub_I_Modules_Video_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"];
  19416. asm["__GLOBAL__sub_I_Modules_Video_Public_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_Video_Public_0_cpp.apply(null, arguments);
  19420. });
  19421. var real___GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"];
  19422. asm["__GLOBAL__sub_I_Modules_Video_Public_Base_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_Video_Public_Base_0_cpp.apply(null, arguments);
  19426. });
  19427. var real___GLOBAL__sub_I_Modules_XR_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_0_cpp"];
  19428. asm["__GLOBAL__sub_I_Modules_XR_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_XR_0_cpp.apply(null, arguments);
  19432. });
  19433. var real___GLOBAL__sub_I_Modules_XR_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"];
  19434. asm["__GLOBAL__sub_I_Modules_XR_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_XR_Public_0_cpp.apply(null, arguments);
  19438. });
  19439. var real___GLOBAL__sub_I_Modules_XR_Stats_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"];
  19440. asm["__GLOBAL__sub_I_Modules_XR_Stats_0_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_XR_Stats_0_cpp.apply(null, arguments);
  19444. });
  19445. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"];
  19446. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_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_XR_Subsystems_Display_0_cpp.apply(null, arguments);
  19450. });
  19451. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"];
  19452. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_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_XR_Subsystems_Display_1_cpp.apply(null, arguments);
  19456. });
  19457. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"];
  19458. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_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_XR_Subsystems_Input_Public_0_cpp.apply(null, arguments);
  19462. });
  19463. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"];
  19464. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_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_XR_Subsystems_Input_Public_1_cpp.apply(null, arguments);
  19468. });
  19469. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"];
  19470. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_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_XR_Subsystems_Meshing_0_cpp.apply(null, arguments);
  19474. });
  19475. var real___GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"];
  19476. asm["__GLOBAL__sub_I_Modules_XR_Tracing_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_XR_Tracing_0_cpp.apply(null, arguments);
  19480. });
  19481. var real___GLOBAL__sub_I_NoiseModule_cpp = asm["__GLOBAL__sub_I_NoiseModule_cpp"];
  19482. asm["__GLOBAL__sub_I_NoiseModule_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_NoiseModule_cpp.apply(null, arguments);
  19486. });
  19487. var real___GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"];
  19488. asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_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_ParticleSystemBindings_gen_cpp.apply(null, arguments);
  19492. });
  19493. var real___GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"];
  19494. asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_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_ParticleSystemGeometryJob_cpp.apply(null, arguments);
  19498. });
  19499. var real___GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"];
  19500. asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_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_ParticleSystemScriptingClasses_cpp.apply(null, arguments);
  19504. });
  19505. var real___GLOBAL__sub_I_Physics2DScriptingClasses_cpp = asm["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"];
  19506. asm["__GLOBAL__sub_I_Physics2DScriptingClasses_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_Physics2DScriptingClasses_cpp.apply(null, arguments);
  19510. });
  19511. var real___GLOBAL__sub_I_PhysicsBindings_gen_cpp = asm["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"];
  19512. asm["__GLOBAL__sub_I_PhysicsBindings_gen_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_PhysicsBindings_gen_cpp.apply(null, arguments);
  19516. });
  19517. var real___GLOBAL__sub_I_PhysicsQuery_cpp = asm["__GLOBAL__sub_I_PhysicsQuery_cpp"];
  19518. asm["__GLOBAL__sub_I_PhysicsQuery_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_PhysicsQuery_cpp.apply(null, arguments);
  19522. });
  19523. var real___GLOBAL__sub_I_PhysicsScene_cpp = asm["__GLOBAL__sub_I_PhysicsScene_cpp"];
  19524. asm["__GLOBAL__sub_I_PhysicsScene_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_PhysicsScene_cpp.apply(null, arguments);
  19528. });
  19529. var real___GLOBAL__sub_I_PhysicsScriptingClasses_cpp = asm["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"];
  19530. asm["__GLOBAL__sub_I_PhysicsScriptingClasses_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_PhysicsScriptingClasses_cpp.apply(null, arguments);
  19534. });
  19535. 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"];
  19536. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_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_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp.apply(null, arguments);
  19540. });
  19541. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"];
  19542. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_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_PlatformDependent_WebGL_Source_0_cpp.apply(null, arguments);
  19546. });
  19547. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"];
  19548. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_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_PlatformDependent_WebGL_Source_2_cpp.apply(null, arguments);
  19552. });
  19553. var real___GLOBAL__sub_I_PluginInterfaceVR_cpp = asm["__GLOBAL__sub_I_PluginInterfaceVR_cpp"];
  19554. asm["__GLOBAL__sub_I_PluginInterfaceVR_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_PluginInterfaceVR_cpp.apply(null, arguments);
  19558. });
  19559. var real___GLOBAL__sub_I_QualitySettings_cpp = asm["__GLOBAL__sub_I_QualitySettings_cpp"];
  19560. asm["__GLOBAL__sub_I_QualitySettings_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_QualitySettings_cpp.apply(null, arguments);
  19564. });
  19565. var real___GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"];
  19566. asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_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_Runtime_2D_Renderer_0_cpp.apply(null, arguments);
  19570. });
  19571. var real___GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"];
  19572. asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_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_Runtime_2D_Sorting_0_cpp.apply(null, arguments);
  19576. });
  19577. var real___GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"];
  19578. asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_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_Runtime_2D_SpriteAtlas_0_cpp.apply(null, arguments);
  19582. });
  19583. var real___GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"];
  19584. asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_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_Runtime_2D_SpriteTiling_0_cpp.apply(null, arguments);
  19588. });
  19589. var real___GLOBAL__sub_I_Runtime_Allocator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"];
  19590. asm["__GLOBAL__sub_I_Runtime_Allocator_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_Runtime_Allocator_0_cpp.apply(null, arguments);
  19594. });
  19595. var real___GLOBAL__sub_I_Runtime_Allocator_2_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"];
  19596. asm["__GLOBAL__sub_I_Runtime_Allocator_2_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_Runtime_Allocator_2_cpp.apply(null, arguments);
  19600. });
  19601. var real___GLOBAL__sub_I_Runtime_Allocator_3_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"];
  19602. asm["__GLOBAL__sub_I_Runtime_Allocator_3_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_Runtime_Allocator_3_cpp.apply(null, arguments);
  19606. });
  19607. var real___GLOBAL__sub_I_Runtime_Application_0_cpp = asm["__GLOBAL__sub_I_Runtime_Application_0_cpp"];
  19608. asm["__GLOBAL__sub_I_Runtime_Application_0_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_Runtime_Application_0_cpp.apply(null, arguments);
  19612. });
  19613. var real___GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"];
  19614. asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_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_Runtime_BaseClasses_0_cpp.apply(null, arguments);
  19618. });
  19619. var real___GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"];
  19620. asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_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_BaseClasses_1_cpp.apply(null, arguments);
  19624. });
  19625. var real___GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"];
  19626. asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_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_BaseClasses_2_cpp.apply(null, arguments);
  19630. });
  19631. var real___GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"];
  19632. asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_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_BaseClasses_3_cpp.apply(null, arguments);
  19636. });
  19637. var real___GLOBAL__sub_I_Runtime_Burst_0_cpp = asm["__GLOBAL__sub_I_Runtime_Burst_0_cpp"];
  19638. asm["__GLOBAL__sub_I_Runtime_Burst_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_Burst_0_cpp.apply(null, arguments);
  19642. });
  19643. var real___GLOBAL__sub_I_Runtime_Camera_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_0_cpp"];
  19644. asm["__GLOBAL__sub_I_Runtime_Camera_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_Camera_0_cpp.apply(null, arguments);
  19648. });
  19649. var real___GLOBAL__sub_I_Runtime_Camera_1_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_1_cpp"];
  19650. asm["__GLOBAL__sub_I_Runtime_Camera_1_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_Camera_1_cpp.apply(null, arguments);
  19654. });
  19655. var real___GLOBAL__sub_I_Runtime_Camera_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_2_cpp"];
  19656. asm["__GLOBAL__sub_I_Runtime_Camera_2_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_Camera_2_cpp.apply(null, arguments);
  19660. });
  19661. var real___GLOBAL__sub_I_Runtime_Camera_3_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_3_cpp"];
  19662. asm["__GLOBAL__sub_I_Runtime_Camera_3_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_Camera_3_cpp.apply(null, arguments);
  19666. });
  19667. var real___GLOBAL__sub_I_Runtime_Camera_4_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_4_cpp"];
  19668. asm["__GLOBAL__sub_I_Runtime_Camera_4_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_Camera_4_cpp.apply(null, arguments);
  19672. });
  19673. var real___GLOBAL__sub_I_Runtime_Camera_5_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_5_cpp"];
  19674. asm["__GLOBAL__sub_I_Runtime_Camera_5_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_Camera_5_cpp.apply(null, arguments);
  19678. });
  19679. var real___GLOBAL__sub_I_Runtime_Camera_6_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_6_cpp"];
  19680. asm["__GLOBAL__sub_I_Runtime_Camera_6_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_Camera_6_cpp.apply(null, arguments);
  19684. });
  19685. var real___GLOBAL__sub_I_Runtime_Camera_7_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_7_cpp"];
  19686. asm["__GLOBAL__sub_I_Runtime_Camera_7_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_Camera_7_cpp.apply(null, arguments);
  19690. });
  19691. var real___GLOBAL__sub_I_Runtime_Camera_8_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_8_cpp"];
  19692. asm["__GLOBAL__sub_I_Runtime_Camera_8_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_Camera_8_cpp.apply(null, arguments);
  19696. });
  19697. var real___GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"];
  19698. asm["__GLOBAL__sub_I_Runtime_Camera_Culling_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_Culling_0_cpp.apply(null, arguments);
  19702. });
  19703. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"];
  19704. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_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_RenderLoops_0_cpp.apply(null, arguments);
  19708. });
  19709. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"];
  19710. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_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_RenderLoops_2_cpp.apply(null, arguments);
  19714. });
  19715. var real___GLOBAL__sub_I_Runtime_Containers_0_cpp = asm["__GLOBAL__sub_I_Runtime_Containers_0_cpp"];
  19716. asm["__GLOBAL__sub_I_Runtime_Containers_0_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_Containers_0_cpp.apply(null, arguments);
  19720. });
  19721. var real___GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"];
  19722. asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_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_Core_Callbacks_0_cpp.apply(null, arguments);
  19726. });
  19727. var real___GLOBAL__sub_I_Runtime_Director_Core_0_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"];
  19728. asm["__GLOBAL__sub_I_Runtime_Director_Core_0_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_Director_Core_0_cpp.apply(null, arguments);
  19732. });
  19733. var real___GLOBAL__sub_I_Runtime_Director_Core_1_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"];
  19734. asm["__GLOBAL__sub_I_Runtime_Director_Core_1_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_Director_Core_1_cpp.apply(null, arguments);
  19738. });
  19739. var real___GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"];
  19740. asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_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_Export_Unsafe_0_cpp.apply(null, arguments);
  19744. });
  19745. var real___GLOBAL__sub_I_Runtime_File_0_cpp = asm["__GLOBAL__sub_I_Runtime_File_0_cpp"];
  19746. asm["__GLOBAL__sub_I_Runtime_File_0_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_File_0_cpp.apply(null, arguments);
  19750. });
  19751. var real___GLOBAL__sub_I_Runtime_GameCode_0_cpp = asm["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"];
  19752. asm["__GLOBAL__sub_I_Runtime_GameCode_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_GameCode_0_cpp.apply(null, arguments);
  19756. });
  19757. var real___GLOBAL__sub_I_Runtime_Geometry_1_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"];
  19758. asm["__GLOBAL__sub_I_Runtime_Geometry_1_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_Geometry_1_cpp.apply(null, arguments);
  19762. });
  19763. var real___GLOBAL__sub_I_Runtime_Geometry_2_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"];
  19764. asm["__GLOBAL__sub_I_Runtime_Geometry_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_Geometry_2_cpp.apply(null, arguments);
  19768. });
  19769. var real___GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"];
  19770. asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_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_GfxDevice_1_cpp.apply(null, arguments);
  19774. });
  19775. var real___GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"];
  19776. asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_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_GfxDevice_2_cpp.apply(null, arguments);
  19780. });
  19781. var real___GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"];
  19782. asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_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_GfxDevice_3_cpp.apply(null, arguments);
  19786. });
  19787. var real___GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"];
  19788. asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_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_GfxDevice_4_cpp.apply(null, arguments);
  19792. });
  19793. var real___GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"];
  19794. asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_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_GfxDevice_5_cpp.apply(null, arguments);
  19798. });
  19799. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"];
  19800. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_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_GfxDevice_opengles_0_cpp.apply(null, arguments);
  19804. });
  19805. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"];
  19806. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_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_GfxDevice_opengles_2_cpp.apply(null, arguments);
  19810. });
  19811. var real___GLOBAL__sub_I_Runtime_Graphics_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"];
  19812. asm["__GLOBAL__sub_I_Runtime_Graphics_0_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_Graphics_0_cpp.apply(null, arguments);
  19816. });
  19817. var real___GLOBAL__sub_I_Runtime_Graphics_10_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"];
  19818. asm["__GLOBAL__sub_I_Runtime_Graphics_10_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_Graphics_10_cpp.apply(null, arguments);
  19822. });
  19823. var real___GLOBAL__sub_I_Runtime_Graphics_11_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"];
  19824. asm["__GLOBAL__sub_I_Runtime_Graphics_11_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_Graphics_11_cpp.apply(null, arguments);
  19828. });
  19829. var real___GLOBAL__sub_I_Runtime_Graphics_12_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"];
  19830. asm["__GLOBAL__sub_I_Runtime_Graphics_12_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_Graphics_12_cpp.apply(null, arguments);
  19834. });
  19835. var real___GLOBAL__sub_I_Runtime_Graphics_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"];
  19836. asm["__GLOBAL__sub_I_Runtime_Graphics_1_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_Graphics_1_cpp.apply(null, arguments);
  19840. });
  19841. var real___GLOBAL__sub_I_Runtime_Graphics_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"];
  19842. asm["__GLOBAL__sub_I_Runtime_Graphics_2_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_Graphics_2_cpp.apply(null, arguments);
  19846. });
  19847. var real___GLOBAL__sub_I_Runtime_Graphics_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"];
  19848. asm["__GLOBAL__sub_I_Runtime_Graphics_4_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_Graphics_4_cpp.apply(null, arguments);
  19852. });
  19853. var real___GLOBAL__sub_I_Runtime_Graphics_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"];
  19854. asm["__GLOBAL__sub_I_Runtime_Graphics_5_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_Graphics_5_cpp.apply(null, arguments);
  19858. });
  19859. var real___GLOBAL__sub_I_Runtime_Graphics_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"];
  19860. asm["__GLOBAL__sub_I_Runtime_Graphics_6_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_Graphics_6_cpp.apply(null, arguments);
  19864. });
  19865. var real___GLOBAL__sub_I_Runtime_Graphics_8_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"];
  19866. asm["__GLOBAL__sub_I_Runtime_Graphics_8_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_8_cpp.apply(null, arguments);
  19870. });
  19871. var real___GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"];
  19872. asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_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_Billboard_0_cpp.apply(null, arguments);
  19876. });
  19877. var real___GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"];
  19878. asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_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_CommandBuffer_0_cpp.apply(null, arguments);
  19882. });
  19883. var real___GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"];
  19884. asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_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_LOD_0_cpp.apply(null, arguments);
  19888. });
  19889. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"];
  19890. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_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_Mesh_0_cpp.apply(null, arguments);
  19894. });
  19895. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"];
  19896. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_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_Mesh_1_cpp.apply(null, arguments);
  19900. });
  19901. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"];
  19902. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_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_Mesh_2_cpp.apply(null, arguments);
  19906. });
  19907. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"];
  19908. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_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_Mesh_3_cpp.apply(null, arguments);
  19912. });
  19913. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"];
  19914. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_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_Mesh_4_cpp.apply(null, arguments);
  19918. });
  19919. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"];
  19920. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_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_Mesh_5_cpp.apply(null, arguments);
  19924. });
  19925. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"];
  19926. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_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_Mesh_6_cpp.apply(null, arguments);
  19930. });
  19931. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"];
  19932. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_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_ScriptableRenderLoop_0_cpp.apply(null, arguments);
  19936. });
  19937. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"];
  19938. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_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_ScriptableRenderLoop_1_cpp.apply(null, arguments);
  19942. });
  19943. var real___GLOBAL__sub_I_Runtime_Input_0_cpp = asm["__GLOBAL__sub_I_Runtime_Input_0_cpp"];
  19944. asm["__GLOBAL__sub_I_Runtime_Input_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_Input_0_cpp.apply(null, arguments);
  19948. });
  19949. var real___GLOBAL__sub_I_Runtime_Interfaces_0_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"];
  19950. asm["__GLOBAL__sub_I_Runtime_Interfaces_0_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_Interfaces_0_cpp.apply(null, arguments);
  19954. });
  19955. var real___GLOBAL__sub_I_Runtime_Interfaces_1_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"];
  19956. asm["__GLOBAL__sub_I_Runtime_Interfaces_1_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_Interfaces_1_cpp.apply(null, arguments);
  19960. });
  19961. var real___GLOBAL__sub_I_Runtime_Interfaces_2_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_2_cpp"];
  19962. asm["__GLOBAL__sub_I_Runtime_Interfaces_2_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_Interfaces_2_cpp.apply(null, arguments);
  19966. });
  19967. var real___GLOBAL__sub_I_Runtime_Jobs_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"];
  19968. asm["__GLOBAL__sub_I_Runtime_Jobs_0_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_Jobs_0_cpp.apply(null, arguments);
  19972. });
  19973. var real___GLOBAL__sub_I_Runtime_Jobs_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"];
  19974. asm["__GLOBAL__sub_I_Runtime_Jobs_1_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_Jobs_1_cpp.apply(null, arguments);
  19978. });
  19979. var real___GLOBAL__sub_I_Runtime_Jobs_2_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"];
  19980. asm["__GLOBAL__sub_I_Runtime_Jobs_2_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_Jobs_2_cpp.apply(null, arguments);
  19984. });
  19985. var real___GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"];
  19986. asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_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_Jobs_Internal_1_cpp.apply(null, arguments);
  19990. });
  19991. var real___GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"];
  19992. asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_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_Jobs_ScriptBindings_0_cpp.apply(null, arguments);
  19996. });
  19997. var real___GLOBAL__sub_I_Runtime_Math_2_cpp = asm["__GLOBAL__sub_I_Runtime_Math_2_cpp"];
  19998. asm["__GLOBAL__sub_I_Runtime_Math_2_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_Math_2_cpp.apply(null, arguments);
  20002. });
  20003. var real___GLOBAL__sub_I_Runtime_Math_Random_0_cpp = asm["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"];
  20004. asm["__GLOBAL__sub_I_Runtime_Math_Random_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_Math_Random_0_cpp.apply(null, arguments);
  20008. });
  20009. var real___GLOBAL__sub_I_Runtime_Misc_0_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_0_cpp"];
  20010. asm["__GLOBAL__sub_I_Runtime_Misc_0_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_Misc_0_cpp.apply(null, arguments);
  20014. });
  20015. var real___GLOBAL__sub_I_Runtime_Misc_1_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_1_cpp"];
  20016. asm["__GLOBAL__sub_I_Runtime_Misc_1_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_Misc_1_cpp.apply(null, arguments);
  20020. });
  20021. var real___GLOBAL__sub_I_Runtime_Misc_2_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_2_cpp"];
  20022. asm["__GLOBAL__sub_I_Runtime_Misc_2_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_Misc_2_cpp.apply(null, arguments);
  20026. });
  20027. var real___GLOBAL__sub_I_Runtime_Misc_3_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_3_cpp"];
  20028. asm["__GLOBAL__sub_I_Runtime_Misc_3_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_Misc_3_cpp.apply(null, arguments);
  20032. });
  20033. var real___GLOBAL__sub_I_Runtime_Misc_4_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_4_cpp"];
  20034. asm["__GLOBAL__sub_I_Runtime_Misc_4_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_Misc_4_cpp.apply(null, arguments);
  20038. });
  20039. var real___GLOBAL__sub_I_Runtime_Misc_5_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_5_cpp"];
  20040. asm["__GLOBAL__sub_I_Runtime_Misc_5_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_Misc_5_cpp.apply(null, arguments);
  20044. });
  20045. var real___GLOBAL__sub_I_Runtime_Modules_0_cpp = asm["__GLOBAL__sub_I_Runtime_Modules_0_cpp"];
  20046. asm["__GLOBAL__sub_I_Runtime_Modules_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_Modules_0_cpp.apply(null, arguments);
  20050. });
  20051. var real___GLOBAL__sub_I_Runtime_Mono_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_0_cpp"];
  20052. asm["__GLOBAL__sub_I_Runtime_Mono_0_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_Mono_0_cpp.apply(null, arguments);
  20056. });
  20057. var real___GLOBAL__sub_I_Runtime_Mono_2_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_2_cpp"];
  20058. asm["__GLOBAL__sub_I_Runtime_Mono_2_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_Mono_2_cpp.apply(null, arguments);
  20062. });
  20063. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"];
  20064. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_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_Mono_SerializationBackend_DirectMemoryAccess_0_cpp.apply(null, arguments);
  20068. });
  20069. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"];
  20070. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_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_Mono_SerializationBackend_DirectMemoryAccess_1_cpp.apply(null, arguments);
  20074. });
  20075. var real___GLOBAL__sub_I_Runtime_Network_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_0_cpp"];
  20076. asm["__GLOBAL__sub_I_Runtime_Network_0_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_Network_0_cpp.apply(null, arguments);
  20080. });
  20081. var real___GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"];
  20082. asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_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_Network_PlayerCommunicator_0_cpp.apply(null, arguments);
  20086. });
  20087. var real___GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"];
  20088. asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_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_PluginInterface_0_cpp.apply(null, arguments);
  20092. });
  20093. var real___GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"];
  20094. asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_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_PreloadManager_0_cpp.apply(null, arguments);
  20098. });
  20099. var real___GLOBAL__sub_I_Runtime_Profiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"];
  20100. asm["__GLOBAL__sub_I_Runtime_Profiler_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_Profiler_0_cpp.apply(null, arguments);
  20104. });
  20105. var real___GLOBAL__sub_I_Runtime_Profiler_1_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"];
  20106. asm["__GLOBAL__sub_I_Runtime_Profiler_1_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_Profiler_1_cpp.apply(null, arguments);
  20110. });
  20111. var real___GLOBAL__sub_I_Runtime_Profiler_2_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"];
  20112. asm["__GLOBAL__sub_I_Runtime_Profiler_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_Profiler_2_cpp.apply(null, arguments);
  20116. });
  20117. var real___GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"];
  20118. asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_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_Profiler_ExternalGPUProfiler_0_cpp.apply(null, arguments);
  20122. });
  20123. var real___GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"];
  20124. asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_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_Profiler_ScriptBindings_0_cpp.apply(null, arguments);
  20128. });
  20129. var real___GLOBAL__sub_I_Runtime_SceneManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"];
  20130. asm["__GLOBAL__sub_I_Runtime_SceneManager_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_SceneManager_0_cpp.apply(null, arguments);
  20134. });
  20135. var real___GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"];
  20136. asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_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_ScriptingBackend_Il2Cpp_0_cpp.apply(null, arguments);
  20140. });
  20141. var real___GLOBAL__sub_I_Runtime_Scripting_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"];
  20142. asm["__GLOBAL__sub_I_Runtime_Scripting_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_Scripting_0_cpp.apply(null, arguments);
  20146. });
  20147. var real___GLOBAL__sub_I_Runtime_Scripting_1_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_1_cpp"];
  20148. asm["__GLOBAL__sub_I_Runtime_Scripting_1_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_Scripting_1_cpp.apply(null, arguments);
  20152. });
  20153. var real___GLOBAL__sub_I_Runtime_Scripting_2_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"];
  20154. asm["__GLOBAL__sub_I_Runtime_Scripting_2_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_Scripting_2_cpp.apply(null, arguments);
  20158. });
  20159. var real___GLOBAL__sub_I_Runtime_Scripting_3_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"];
  20160. asm["__GLOBAL__sub_I_Runtime_Scripting_3_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_Scripting_3_cpp.apply(null, arguments);
  20164. });
  20165. var real___GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"];
  20166. asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_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_Scripting_APIUpdating_0_cpp.apply(null, arguments);
  20170. });
  20171. var real___GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"];
  20172. asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_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_Scripting_ManagedReference_0_cpp.apply(null, arguments);
  20176. });
  20177. var real___GLOBAL__sub_I_Runtime_Serialize_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"];
  20178. asm["__GLOBAL__sub_I_Runtime_Serialize_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_Serialize_0_cpp.apply(null, arguments);
  20182. });
  20183. var real___GLOBAL__sub_I_Runtime_Serialize_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"];
  20184. asm["__GLOBAL__sub_I_Runtime_Serialize_1_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_Serialize_1_cpp.apply(null, arguments);
  20188. });
  20189. var real___GLOBAL__sub_I_Runtime_Serialize_2_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"];
  20190. asm["__GLOBAL__sub_I_Runtime_Serialize_2_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_Serialize_2_cpp.apply(null, arguments);
  20194. });
  20195. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"];
  20196. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_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_Serialize_TransferFunctions_0_cpp.apply(null, arguments);
  20200. });
  20201. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"];
  20202. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_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_Serialize_TransferFunctions_1_cpp.apply(null, arguments);
  20206. });
  20207. var real___GLOBAL__sub_I_Runtime_Shaders_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"];
  20208. asm["__GLOBAL__sub_I_Runtime_Shaders_0_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_Shaders_0_cpp.apply(null, arguments);
  20212. });
  20213. var real___GLOBAL__sub_I_Runtime_Shaders_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"];
  20214. asm["__GLOBAL__sub_I_Runtime_Shaders_1_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_Shaders_1_cpp.apply(null, arguments);
  20218. });
  20219. var real___GLOBAL__sub_I_Runtime_Shaders_4_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"];
  20220. asm["__GLOBAL__sub_I_Runtime_Shaders_4_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_Shaders_4_cpp.apply(null, arguments);
  20224. });
  20225. var real___GLOBAL__sub_I_Runtime_Shaders_5_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"];
  20226. asm["__GLOBAL__sub_I_Runtime_Shaders_5_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_Shaders_5_cpp.apply(null, arguments);
  20230. });
  20231. var real___GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"];
  20232. asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_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_Shaders_GpuPrograms_0_cpp.apply(null, arguments);
  20236. });
  20237. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"];
  20238. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_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_Shaders_ShaderImpl_1_cpp.apply(null, arguments);
  20242. });
  20243. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"];
  20244. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_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_Shaders_ShaderImpl_2_cpp.apply(null, arguments);
  20248. });
  20249. var real___GLOBAL__sub_I_Runtime_Streaming_0_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"];
  20250. asm["__GLOBAL__sub_I_Runtime_Streaming_0_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_Streaming_0_cpp.apply(null, arguments);
  20254. });
  20255. var real___GLOBAL__sub_I_Runtime_Streaming_1_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"];
  20256. asm["__GLOBAL__sub_I_Runtime_Streaming_1_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_Streaming_1_cpp.apply(null, arguments);
  20260. });
  20261. var real___GLOBAL__sub_I_Runtime_Transform_0_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_0_cpp"];
  20262. asm["__GLOBAL__sub_I_Runtime_Transform_0_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_Transform_0_cpp.apply(null, arguments);
  20266. });
  20267. var real___GLOBAL__sub_I_Runtime_Transform_1_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_1_cpp"];
  20268. asm["__GLOBAL__sub_I_Runtime_Transform_1_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_Transform_1_cpp.apply(null, arguments);
  20272. });
  20273. var real___GLOBAL__sub_I_Runtime_Utilities_2_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"];
  20274. asm["__GLOBAL__sub_I_Runtime_Utilities_2_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_Utilities_2_cpp.apply(null, arguments);
  20278. });
  20279. var real___GLOBAL__sub_I_Runtime_Utilities_5_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"];
  20280. asm["__GLOBAL__sub_I_Runtime_Utilities_5_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_Utilities_5_cpp.apply(null, arguments);
  20284. });
  20285. var real___GLOBAL__sub_I_Runtime_Utilities_6_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"];
  20286. asm["__GLOBAL__sub_I_Runtime_Utilities_6_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_Utilities_6_cpp.apply(null, arguments);
  20290. });
  20291. var real___GLOBAL__sub_I_Runtime_Utilities_7_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"];
  20292. asm["__GLOBAL__sub_I_Runtime_Utilities_7_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_Utilities_7_cpp.apply(null, arguments);
  20296. });
  20297. var real___GLOBAL__sub_I_Runtime_Utilities_8_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"];
  20298. asm["__GLOBAL__sub_I_Runtime_Utilities_8_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_Utilities_8_cpp.apply(null, arguments);
  20302. });
  20303. var real___GLOBAL__sub_I_Runtime_Utilities_9_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"];
  20304. asm["__GLOBAL__sub_I_Runtime_Utilities_9_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_Utilities_9_cpp.apply(null, arguments);
  20308. });
  20309. var real___GLOBAL__sub_I_Runtime_Video_0_cpp = asm["__GLOBAL__sub_I_Runtime_Video_0_cpp"];
  20310. asm["__GLOBAL__sub_I_Runtime_Video_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_Video_0_cpp.apply(null, arguments);
  20314. });
  20315. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"];
  20316. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_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_VirtualFileSystem_0_cpp.apply(null, arguments);
  20320. });
  20321. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"];
  20322. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_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_VirtualFileSystem_1_cpp.apply(null, arguments);
  20326. });
  20327. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"];
  20328. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_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_VirtualFileSystem_ArchiveFileSystem_0_cpp.apply(null, arguments);
  20332. });
  20333. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"];
  20334. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_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_VirtualFileSystem_MemoryFileSystem_0_cpp.apply(null, arguments);
  20338. });
  20339. var real___GLOBAL__sub_I_Shader_cpp = asm["__GLOBAL__sub_I_Shader_cpp"];
  20340. asm["__GLOBAL__sub_I_Shader_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_Shader_cpp.apply(null, arguments);
  20344. });
  20345. var real___GLOBAL__sub_I_Shadows_cpp = asm["__GLOBAL__sub_I_Shadows_cpp"];
  20346. asm["__GLOBAL__sub_I_Shadows_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_Shadows_cpp.apply(null, arguments);
  20350. });
  20351. var real___GLOBAL__sub_I_ShapeModule_cpp = asm["__GLOBAL__sub_I_ShapeModule_cpp"];
  20352. asm["__GLOBAL__sub_I_ShapeModule_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_ShapeModule_cpp.apply(null, arguments);
  20356. });
  20357. var real___GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"];
  20358. asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_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_SpriteShapeBindings_gen_cpp.apply(null, arguments);
  20362. });
  20363. var real___GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"];
  20364. asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_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_SubsystemsScriptingClasses_cpp.apply(null, arguments);
  20368. });
  20369. var real___GLOBAL__sub_I_SwInterCollision_cpp = asm["__GLOBAL__sub_I_SwInterCollision_cpp"];
  20370. asm["__GLOBAL__sub_I_SwInterCollision_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_SwInterCollision_cpp.apply(null, arguments);
  20374. });
  20375. var real___GLOBAL__sub_I_SwSolverKernel_cpp = asm["__GLOBAL__sub_I_SwSolverKernel_cpp"];
  20376. asm["__GLOBAL__sub_I_SwSolverKernel_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_SwSolverKernel_cpp.apply(null, arguments);
  20380. });
  20381. var real___GLOBAL__sub_I_TLSModule_cpp = asm["__GLOBAL__sub_I_TLSModule_cpp"];
  20382. asm["__GLOBAL__sub_I_TLSModule_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_TLSModule_cpp.apply(null, arguments);
  20386. });
  20387. var real___GLOBAL__sub_I_TemplateInstantiations_cpp = asm["__GLOBAL__sub_I_TemplateInstantiations_cpp"];
  20388. asm["__GLOBAL__sub_I_TemplateInstantiations_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_TemplateInstantiations_cpp.apply(null, arguments);
  20392. });
  20393. var real___GLOBAL__sub_I_TerrainScriptingClasses_cpp = asm["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"];
  20394. asm["__GLOBAL__sub_I_TerrainScriptingClasses_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_TerrainScriptingClasses_cpp.apply(null, arguments);
  20398. });
  20399. var real___GLOBAL__sub_I_TextCoreScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"];
  20400. asm["__GLOBAL__sub_I_TextCoreScriptingClasses_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_TextCoreScriptingClasses_cpp.apply(null, arguments);
  20404. });
  20405. var real___GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"];
  20406. asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_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_TextRenderingScriptingClasses_cpp.apply(null, arguments);
  20410. });
  20411. var real___GLOBAL__sub_I_TilemapScriptingClasses_cpp = asm["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"];
  20412. asm["__GLOBAL__sub_I_TilemapScriptingClasses_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_TilemapScriptingClasses_cpp.apply(null, arguments);
  20416. });
  20417. var real___GLOBAL__sub_I_TrailRenderer_cpp = asm["__GLOBAL__sub_I_TrailRenderer_cpp"];
  20418. asm["__GLOBAL__sub_I_TrailRenderer_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_TrailRenderer_cpp.apply(null, arguments);
  20422. });
  20423. var real___GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"];
  20424. asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_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_UIElementsNativeScriptingClasses_cpp.apply(null, arguments);
  20428. });
  20429. var real___GLOBAL__sub_I_UIScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIScriptingClasses_cpp"];
  20430. asm["__GLOBAL__sub_I_UIScriptingClasses_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_UIScriptingClasses_cpp.apply(null, arguments);
  20434. });
  20435. var real___GLOBAL__sub_I_UVModule_cpp = asm["__GLOBAL__sub_I_UVModule_cpp"];
  20436. asm["__GLOBAL__sub_I_UVModule_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_UVModule_cpp.apply(null, arguments);
  20440. });
  20441. var real___GLOBAL__sub_I_UnityAdsSettings_cpp = asm["__GLOBAL__sub_I_UnityAdsSettings_cpp"];
  20442. asm["__GLOBAL__sub_I_UnityAdsSettings_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_UnityAdsSettings_cpp.apply(null, arguments);
  20446. });
  20447. var real___GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"];
  20448. asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_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_UnityAnalyticsScriptingClasses_cpp.apply(null, arguments);
  20452. });
  20453. var real___GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"];
  20454. asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_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_UnityWebRequestScriptingClasses_cpp.apply(null, arguments);
  20458. });
  20459. var real___GLOBAL__sub_I_VFXScriptingClasses_cpp = asm["__GLOBAL__sub_I_VFXScriptingClasses_cpp"];
  20460. asm["__GLOBAL__sub_I_VFXScriptingClasses_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_VFXScriptingClasses_cpp.apply(null, arguments);
  20464. });
  20465. var real___GLOBAL__sub_I_VRScriptingClasses_cpp = asm["__GLOBAL__sub_I_VRScriptingClasses_cpp"];
  20466. asm["__GLOBAL__sub_I_VRScriptingClasses_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_VRScriptingClasses_cpp.apply(null, arguments);
  20470. });
  20471. var real___GLOBAL__sub_I_VelocityModule_cpp = asm["__GLOBAL__sub_I_VelocityModule_cpp"];
  20472. asm["__GLOBAL__sub_I_VelocityModule_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_VelocityModule_cpp.apply(null, arguments);
  20476. });
  20477. var real___GLOBAL__sub_I_VideoMediaOutput_cpp = asm["__GLOBAL__sub_I_VideoMediaOutput_cpp"];
  20478. asm["__GLOBAL__sub_I_VideoMediaOutput_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_VideoMediaOutput_cpp.apply(null, arguments);
  20482. });
  20483. var real___GLOBAL__sub_I_VideoScriptingClasses_cpp = asm["__GLOBAL__sub_I_VideoScriptingClasses_cpp"];
  20484. asm["__GLOBAL__sub_I_VideoScriptingClasses_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_VideoScriptingClasses_cpp.apply(null, arguments);
  20488. });
  20489. var real___GLOBAL__sub_I_VideoYUV420Convert_cpp = asm["__GLOBAL__sub_I_VideoYUV420Convert_cpp"];
  20490. asm["__GLOBAL__sub_I_VideoYUV420Convert_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_VideoYUV420Convert_cpp.apply(null, arguments);
  20494. });
  20495. var real___GLOBAL__sub_I_VisualEffectAsset_cpp = asm["__GLOBAL__sub_I_VisualEffectAsset_cpp"];
  20496. asm["__GLOBAL__sub_I_VisualEffectAsset_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_VisualEffectAsset_cpp.apply(null, arguments);
  20500. });
  20501. var real___GLOBAL__sub_I_Wind_cpp = asm["__GLOBAL__sub_I_Wind_cpp"];
  20502. asm["__GLOBAL__sub_I_Wind_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_Wind_cpp.apply(null, arguments);
  20506. });
  20507. var real___GLOBAL__sub_I_XRAudio_cpp = asm["__GLOBAL__sub_I_XRAudio_cpp"];
  20508. asm["__GLOBAL__sub_I_XRAudio_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_XRAudio_cpp.apply(null, arguments);
  20512. });
  20513. var real___GLOBAL__sub_I_XRPreInit_cpp = asm["__GLOBAL__sub_I_XRPreInit_cpp"];
  20514. asm["__GLOBAL__sub_I_XRPreInit_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_XRPreInit_cpp.apply(null, arguments);
  20518. });
  20519. var real___GLOBAL__sub_I_XRScriptingClasses_cpp = asm["__GLOBAL__sub_I_XRScriptingClasses_cpp"];
  20520. asm["__GLOBAL__sub_I_XRScriptingClasses_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_XRScriptingClasses_cpp.apply(null, arguments);
  20524. });
  20525. var real___GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"];
  20526. asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_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_XRWindowsLocatableCamera_cpp.apply(null, arguments);
  20530. });
  20531. var real___GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"];
  20532. asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_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_artifacts_WebGL_codegenerator_0_cpp.apply(null, arguments);
  20536. });
  20537. var real___GLOBAL__sub_I_clipmuscle_cpp = asm["__GLOBAL__sub_I_clipmuscle_cpp"];
  20538. asm["__GLOBAL__sub_I_clipmuscle_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_clipmuscle_cpp.apply(null, arguments);
  20542. });
  20543. var real___GLOBAL__sub_I_nvcloth_src_0_cpp = asm["__GLOBAL__sub_I_nvcloth_src_0_cpp"];
  20544. asm["__GLOBAL__sub_I_nvcloth_src_0_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_nvcloth_src_0_cpp.apply(null, arguments);
  20548. });
  20549. var real___GLOBAL__sub_I_nvcloth_src_1_cpp = asm["__GLOBAL__sub_I_nvcloth_src_1_cpp"];
  20550. asm["__GLOBAL__sub_I_nvcloth_src_1_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_nvcloth_src_1_cpp.apply(null, arguments);
  20554. });
  20555. var real___GLOBAL__sub_I_umbra_cpp = asm["__GLOBAL__sub_I_umbra_cpp"];
  20556. asm["__GLOBAL__sub_I_umbra_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_umbra_cpp.apply(null, arguments);
  20560. });
  20561. var real____cxa_can_catch = asm["___cxa_can_catch"];
  20562. asm["___cxa_can_catch"] = (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____cxa_can_catch.apply(null, arguments);
  20566. });
  20567. var real____cxa_demangle = asm["___cxa_demangle"];
  20568. asm["___cxa_demangle"] = (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____cxa_demangle.apply(null, arguments);
  20572. });
  20573. var real____cxa_is_pointer_type = asm["___cxa_is_pointer_type"];
  20574. asm["___cxa_is_pointer_type"] = (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____cxa_is_pointer_type.apply(null, arguments);
  20578. });
  20579. var real____cxx_global_var_init_10 = asm["___cxx_global_var_init_10"];
  20580. asm["___cxx_global_var_init_10"] = (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____cxx_global_var_init_10.apply(null, arguments);
  20584. });
  20585. var real____cxx_global_var_init_102 = asm["___cxx_global_var_init_102"];
  20586. asm["___cxx_global_var_init_102"] = (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____cxx_global_var_init_102.apply(null, arguments);
  20590. });
  20591. var real____cxx_global_var_init_104 = asm["___cxx_global_var_init_104"];
  20592. asm["___cxx_global_var_init_104"] = (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____cxx_global_var_init_104.apply(null, arguments);
  20596. });
  20597. var real____cxx_global_var_init_105 = asm["___cxx_global_var_init_105"];
  20598. asm["___cxx_global_var_init_105"] = (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____cxx_global_var_init_105.apply(null, arguments);
  20602. });
  20603. var real____cxx_global_var_init_10572 = asm["___cxx_global_var_init_10572"];
  20604. asm["___cxx_global_var_init_10572"] = (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____cxx_global_var_init_10572.apply(null, arguments);
  20608. });
  20609. var real____cxx_global_var_init_10999 = asm["___cxx_global_var_init_10999"];
  20610. asm["___cxx_global_var_init_10999"] = (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____cxx_global_var_init_10999.apply(null, arguments);
  20614. });
  20615. var real____cxx_global_var_init_10_4413 = asm["___cxx_global_var_init_10_4413"];
  20616. asm["___cxx_global_var_init_10_4413"] = (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____cxx_global_var_init_10_4413.apply(null, arguments);
  20620. });
  20621. var real____cxx_global_var_init_10_7954 = asm["___cxx_global_var_init_10_7954"];
  20622. asm["___cxx_global_var_init_10_7954"] = (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_7954.apply(null, arguments);
  20626. });
  20627. var real____cxx_global_var_init_10_9654 = asm["___cxx_global_var_init_10_9654"];
  20628. asm["___cxx_global_var_init_10_9654"] = (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_10_9654.apply(null, arguments);
  20632. });
  20633. var real____cxx_global_var_init_11 = asm["___cxx_global_var_init_11"];
  20634. asm["___cxx_global_var_init_11"] = (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_11.apply(null, arguments);
  20638. });
  20639. var real____cxx_global_var_init_110 = asm["___cxx_global_var_init_110"];
  20640. asm["___cxx_global_var_init_110"] = (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_110.apply(null, arguments);
  20644. });
  20645. var real____cxx_global_var_init_111 = asm["___cxx_global_var_init_111"];
  20646. asm["___cxx_global_var_init_111"] = (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_111.apply(null, arguments);
  20650. });
  20651. var real____cxx_global_var_init_112 = asm["___cxx_global_var_init_112"];
  20652. asm["___cxx_global_var_init_112"] = (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_112.apply(null, arguments);
  20656. });
  20657. var real____cxx_global_var_init_113 = asm["___cxx_global_var_init_113"];
  20658. asm["___cxx_global_var_init_113"] = (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_113.apply(null, arguments);
  20662. });
  20663. var real____cxx_global_var_init_114 = asm["___cxx_global_var_init_114"];
  20664. asm["___cxx_global_var_init_114"] = (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_114.apply(null, arguments);
  20668. });
  20669. var real____cxx_global_var_init_11_7955 = asm["___cxx_global_var_init_11_7955"];
  20670. asm["___cxx_global_var_init_11_7955"] = (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_11_7955.apply(null, arguments);
  20674. });
  20675. var real____cxx_global_var_init_12 = asm["___cxx_global_var_init_12"];
  20676. asm["___cxx_global_var_init_12"] = (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_12.apply(null, arguments);
  20680. });
  20681. var real____cxx_global_var_init_12_7956 = asm["___cxx_global_var_init_12_7956"];
  20682. asm["___cxx_global_var_init_12_7956"] = (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_12_7956.apply(null, arguments);
  20686. });
  20687. var real____cxx_global_var_init_144 = asm["___cxx_global_var_init_144"];
  20688. asm["___cxx_global_var_init_144"] = (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_144.apply(null, arguments);
  20692. });
  20693. var real____cxx_global_var_init_148 = asm["___cxx_global_var_init_148"];
  20694. asm["___cxx_global_var_init_148"] = (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_148.apply(null, arguments);
  20698. });
  20699. var real____cxx_global_var_init_149 = asm["___cxx_global_var_init_149"];
  20700. asm["___cxx_global_var_init_149"] = (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_149.apply(null, arguments);
  20704. });
  20705. var real____cxx_global_var_init_15 = asm["___cxx_global_var_init_15"];
  20706. asm["___cxx_global_var_init_15"] = (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_15.apply(null, arguments);
  20710. });
  20711. var real____cxx_global_var_init_150 = asm["___cxx_global_var_init_150"];
  20712. asm["___cxx_global_var_init_150"] = (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_150.apply(null, arguments);
  20716. });
  20717. var real____cxx_global_var_init_150_1238 = asm["___cxx_global_var_init_150_1238"];
  20718. asm["___cxx_global_var_init_150_1238"] = (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_150_1238.apply(null, arguments);
  20722. });
  20723. var real____cxx_global_var_init_151 = asm["___cxx_global_var_init_151"];
  20724. asm["___cxx_global_var_init_151"] = (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_151.apply(null, arguments);
  20728. });
  20729. var real____cxx_global_var_init_153 = asm["___cxx_global_var_init_153"];
  20730. asm["___cxx_global_var_init_153"] = (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_153.apply(null, arguments);
  20734. });
  20735. var real____cxx_global_var_init_154 = asm["___cxx_global_var_init_154"];
  20736. asm["___cxx_global_var_init_154"] = (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_154.apply(null, arguments);
  20740. });
  20741. var real____cxx_global_var_init_16 = asm["___cxx_global_var_init_16"];
  20742. asm["___cxx_global_var_init_16"] = (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_16.apply(null, arguments);
  20746. });
  20747. var real____cxx_global_var_init_161 = asm["___cxx_global_var_init_161"];
  20748. asm["___cxx_global_var_init_161"] = (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_161.apply(null, arguments);
  20752. });
  20753. var real____cxx_global_var_init_171 = asm["___cxx_global_var_init_171"];
  20754. asm["___cxx_global_var_init_171"] = (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_171.apply(null, arguments);
  20758. });
  20759. var real____cxx_global_var_init_17137 = asm["___cxx_global_var_init_17137"];
  20760. asm["___cxx_global_var_init_17137"] = (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_17137.apply(null, arguments);
  20764. });
  20765. var real____cxx_global_var_init_172 = asm["___cxx_global_var_init_172"];
  20766. asm["___cxx_global_var_init_172"] = (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_172.apply(null, arguments);
  20770. });
  20771. var real____cxx_global_var_init_173 = asm["___cxx_global_var_init_173"];
  20772. asm["___cxx_global_var_init_173"] = (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_173.apply(null, arguments);
  20776. });
  20777. var real____cxx_global_var_init_174 = asm["___cxx_global_var_init_174"];
  20778. asm["___cxx_global_var_init_174"] = (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_174.apply(null, arguments);
  20782. });
  20783. var real____cxx_global_var_init_175 = asm["___cxx_global_var_init_175"];
  20784. asm["___cxx_global_var_init_175"] = (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_175.apply(null, arguments);
  20788. });
  20789. var real____cxx_global_var_init_176 = asm["___cxx_global_var_init_176"];
  20790. asm["___cxx_global_var_init_176"] = (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_176.apply(null, arguments);
  20794. });
  20795. var real____cxx_global_var_init_177 = asm["___cxx_global_var_init_177"];
  20796. asm["___cxx_global_var_init_177"] = (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_177.apply(null, arguments);
  20800. });
  20801. var real____cxx_global_var_init_178 = asm["___cxx_global_var_init_178"];
  20802. asm["___cxx_global_var_init_178"] = (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_178.apply(null, arguments);
  20806. });
  20807. var real____cxx_global_var_init_179 = asm["___cxx_global_var_init_179"];
  20808. asm["___cxx_global_var_init_179"] = (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_179.apply(null, arguments);
  20812. });
  20813. var real____cxx_global_var_init_18 = asm["___cxx_global_var_init_18"];
  20814. asm["___cxx_global_var_init_18"] = (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_18.apply(null, arguments);
  20818. });
  20819. var real____cxx_global_var_init_180 = asm["___cxx_global_var_init_180"];
  20820. asm["___cxx_global_var_init_180"] = (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_180.apply(null, arguments);
  20824. });
  20825. var real____cxx_global_var_init_181 = asm["___cxx_global_var_init_181"];
  20826. asm["___cxx_global_var_init_181"] = (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_181.apply(null, arguments);
  20830. });
  20831. var real____cxx_global_var_init_182 = asm["___cxx_global_var_init_182"];
  20832. asm["___cxx_global_var_init_182"] = (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_182.apply(null, arguments);
  20836. });
  20837. var real____cxx_global_var_init_183 = asm["___cxx_global_var_init_183"];
  20838. asm["___cxx_global_var_init_183"] = (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_183.apply(null, arguments);
  20842. });
  20843. var real____cxx_global_var_init_184 = asm["___cxx_global_var_init_184"];
  20844. asm["___cxx_global_var_init_184"] = (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_184.apply(null, arguments);
  20848. });
  20849. var real____cxx_global_var_init_185 = asm["___cxx_global_var_init_185"];
  20850. asm["___cxx_global_var_init_185"] = (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_185.apply(null, arguments);
  20854. });
  20855. var real____cxx_global_var_init_186 = asm["___cxx_global_var_init_186"];
  20856. asm["___cxx_global_var_init_186"] = (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_186.apply(null, arguments);
  20860. });
  20861. var real____cxx_global_var_init_187 = asm["___cxx_global_var_init_187"];
  20862. asm["___cxx_global_var_init_187"] = (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_187.apply(null, arguments);
  20866. });
  20867. var real____cxx_global_var_init_188 = asm["___cxx_global_var_init_188"];
  20868. asm["___cxx_global_var_init_188"] = (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_188.apply(null, arguments);
  20872. });
  20873. var real____cxx_global_var_init_189 = asm["___cxx_global_var_init_189"];
  20874. asm["___cxx_global_var_init_189"] = (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_189.apply(null, arguments);
  20878. });
  20879. var real____cxx_global_var_init_19 = asm["___cxx_global_var_init_19"];
  20880. asm["___cxx_global_var_init_19"] = (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_19.apply(null, arguments);
  20884. });
  20885. var real____cxx_global_var_init_190 = asm["___cxx_global_var_init_190"];
  20886. asm["___cxx_global_var_init_190"] = (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_190.apply(null, arguments);
  20890. });
  20891. var real____cxx_global_var_init_191 = asm["___cxx_global_var_init_191"];
  20892. asm["___cxx_global_var_init_191"] = (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_191.apply(null, arguments);
  20896. });
  20897. var real____cxx_global_var_init_192 = asm["___cxx_global_var_init_192"];
  20898. asm["___cxx_global_var_init_192"] = (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_192.apply(null, arguments);
  20902. });
  20903. var real____cxx_global_var_init_193 = asm["___cxx_global_var_init_193"];
  20904. asm["___cxx_global_var_init_193"] = (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_193.apply(null, arguments);
  20908. });
  20909. var real____cxx_global_var_init_193_8418 = asm["___cxx_global_var_init_193_8418"];
  20910. asm["___cxx_global_var_init_193_8418"] = (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_193_8418.apply(null, arguments);
  20914. });
  20915. var real____cxx_global_var_init_194 = asm["___cxx_global_var_init_194"];
  20916. asm["___cxx_global_var_init_194"] = (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_194.apply(null, arguments);
  20920. });
  20921. var real____cxx_global_var_init_194_8419 = asm["___cxx_global_var_init_194_8419"];
  20922. asm["___cxx_global_var_init_194_8419"] = (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_194_8419.apply(null, arguments);
  20926. });
  20927. var real____cxx_global_var_init_195 = asm["___cxx_global_var_init_195"];
  20928. asm["___cxx_global_var_init_195"] = (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_195.apply(null, arguments);
  20932. });
  20933. var real____cxx_global_var_init_195_8420 = asm["___cxx_global_var_init_195_8420"];
  20934. asm["___cxx_global_var_init_195_8420"] = (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_195_8420.apply(null, arguments);
  20938. });
  20939. var real____cxx_global_var_init_196 = asm["___cxx_global_var_init_196"];
  20940. asm["___cxx_global_var_init_196"] = (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_196.apply(null, arguments);
  20944. });
  20945. var real____cxx_global_var_init_196_8421 = asm["___cxx_global_var_init_196_8421"];
  20946. asm["___cxx_global_var_init_196_8421"] = (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_196_8421.apply(null, arguments);
  20950. });
  20951. var real____cxx_global_var_init_197 = asm["___cxx_global_var_init_197"];
  20952. asm["___cxx_global_var_init_197"] = (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_197.apply(null, arguments);
  20956. });
  20957. var real____cxx_global_var_init_197_8422 = asm["___cxx_global_var_init_197_8422"];
  20958. asm["___cxx_global_var_init_197_8422"] = (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_197_8422.apply(null, arguments);
  20962. });
  20963. var real____cxx_global_var_init_198 = asm["___cxx_global_var_init_198"];
  20964. asm["___cxx_global_var_init_198"] = (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_198.apply(null, arguments);
  20968. });
  20969. var real____cxx_global_var_init_198_8423 = asm["___cxx_global_var_init_198_8423"];
  20970. asm["___cxx_global_var_init_198_8423"] = (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_198_8423.apply(null, arguments);
  20974. });
  20975. var real____cxx_global_var_init_199 = asm["___cxx_global_var_init_199"];
  20976. asm["___cxx_global_var_init_199"] = (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_199.apply(null, arguments);
  20980. });
  20981. var real____cxx_global_var_init_199_1239 = asm["___cxx_global_var_init_199_1239"];
  20982. asm["___cxx_global_var_init_199_1239"] = (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_199_1239.apply(null, arguments);
  20986. });
  20987. var real____cxx_global_var_init_199_8424 = asm["___cxx_global_var_init_199_8424"];
  20988. asm["___cxx_global_var_init_199_8424"] = (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_8424.apply(null, arguments);
  20992. });
  20993. var real____cxx_global_var_init_1_7017 = asm["___cxx_global_var_init_1_7017"];
  20994. asm["___cxx_global_var_init_1_7017"] = (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_1_7017.apply(null, arguments);
  20998. });
  20999. var real____cxx_global_var_init_1_9422 = asm["___cxx_global_var_init_1_9422"];
  21000. asm["___cxx_global_var_init_1_9422"] = (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_9422.apply(null, arguments);
  21004. });
  21005. var real____cxx_global_var_init_20 = asm["___cxx_global_var_init_20"];
  21006. asm["___cxx_global_var_init_20"] = (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_20.apply(null, arguments);
  21010. });
  21011. var real____cxx_global_var_init_200 = asm["___cxx_global_var_init_200"];
  21012. asm["___cxx_global_var_init_200"] = (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_200.apply(null, arguments);
  21016. });
  21017. var real____cxx_global_var_init_201 = asm["___cxx_global_var_init_201"];
  21018. asm["___cxx_global_var_init_201"] = (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_201.apply(null, arguments);
  21022. });
  21023. var real____cxx_global_var_init_202 = asm["___cxx_global_var_init_202"];
  21024. asm["___cxx_global_var_init_202"] = (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_202.apply(null, arguments);
  21028. });
  21029. var real____cxx_global_var_init_203 = asm["___cxx_global_var_init_203"];
  21030. asm["___cxx_global_var_init_203"] = (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_203.apply(null, arguments);
  21034. });
  21035. var real____cxx_global_var_init_204 = asm["___cxx_global_var_init_204"];
  21036. asm["___cxx_global_var_init_204"] = (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_204.apply(null, arguments);
  21040. });
  21041. var real____cxx_global_var_init_205 = asm["___cxx_global_var_init_205"];
  21042. asm["___cxx_global_var_init_205"] = (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_205.apply(null, arguments);
  21046. });
  21047. var real____cxx_global_var_init_206 = asm["___cxx_global_var_init_206"];
  21048. asm["___cxx_global_var_init_206"] = (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_206.apply(null, arguments);
  21052. });
  21053. var real____cxx_global_var_init_207 = asm["___cxx_global_var_init_207"];
  21054. asm["___cxx_global_var_init_207"] = (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_207.apply(null, arguments);
  21058. });
  21059. var real____cxx_global_var_init_208 = asm["___cxx_global_var_init_208"];
  21060. asm["___cxx_global_var_init_208"] = (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_208.apply(null, arguments);
  21064. });
  21065. var real____cxx_global_var_init_209 = asm["___cxx_global_var_init_209"];
  21066. asm["___cxx_global_var_init_209"] = (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_209.apply(null, arguments);
  21070. });
  21071. var real____cxx_global_var_init_21 = asm["___cxx_global_var_init_21"];
  21072. asm["___cxx_global_var_init_21"] = (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_21.apply(null, arguments);
  21076. });
  21077. var real____cxx_global_var_init_210 = asm["___cxx_global_var_init_210"];
  21078. asm["___cxx_global_var_init_210"] = (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_210.apply(null, arguments);
  21082. });
  21083. var real____cxx_global_var_init_210_8425 = asm["___cxx_global_var_init_210_8425"];
  21084. asm["___cxx_global_var_init_210_8425"] = (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_8425.apply(null, arguments);
  21088. });
  21089. var real____cxx_global_var_init_211 = asm["___cxx_global_var_init_211"];
  21090. asm["___cxx_global_var_init_211"] = (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_211.apply(null, arguments);
  21094. });
  21095. var real____cxx_global_var_init_211_8426 = asm["___cxx_global_var_init_211_8426"];
  21096. asm["___cxx_global_var_init_211_8426"] = (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_8426.apply(null, arguments);
  21100. });
  21101. var real____cxx_global_var_init_212 = asm["___cxx_global_var_init_212"];
  21102. asm["___cxx_global_var_init_212"] = (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_212.apply(null, arguments);
  21106. });
  21107. var real____cxx_global_var_init_213 = asm["___cxx_global_var_init_213"];
  21108. asm["___cxx_global_var_init_213"] = (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_213.apply(null, arguments);
  21112. });
  21113. var real____cxx_global_var_init_214 = asm["___cxx_global_var_init_214"];
  21114. asm["___cxx_global_var_init_214"] = (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_214.apply(null, arguments);
  21118. });
  21119. var real____cxx_global_var_init_215 = asm["___cxx_global_var_init_215"];
  21120. asm["___cxx_global_var_init_215"] = (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_215.apply(null, arguments);
  21124. });
  21125. var real____cxx_global_var_init_216 = asm["___cxx_global_var_init_216"];
  21126. asm["___cxx_global_var_init_216"] = (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_216.apply(null, arguments);
  21130. });
  21131. var real____cxx_global_var_init_217 = asm["___cxx_global_var_init_217"];
  21132. asm["___cxx_global_var_init_217"] = (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_217.apply(null, arguments);
  21136. });
  21137. var real____cxx_global_var_init_218 = asm["___cxx_global_var_init_218"];
  21138. asm["___cxx_global_var_init_218"] = (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_218.apply(null, arguments);
  21142. });
  21143. var real____cxx_global_var_init_219 = asm["___cxx_global_var_init_219"];
  21144. asm["___cxx_global_var_init_219"] = (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_219.apply(null, arguments);
  21148. });
  21149. var real____cxx_global_var_init_220 = asm["___cxx_global_var_init_220"];
  21150. asm["___cxx_global_var_init_220"] = (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_220.apply(null, arguments);
  21154. });
  21155. var real____cxx_global_var_init_221 = asm["___cxx_global_var_init_221"];
  21156. asm["___cxx_global_var_init_221"] = (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_221.apply(null, arguments);
  21160. });
  21161. var real____cxx_global_var_init_222 = asm["___cxx_global_var_init_222"];
  21162. asm["___cxx_global_var_init_222"] = (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_222.apply(null, arguments);
  21166. });
  21167. var real____cxx_global_var_init_25 = asm["___cxx_global_var_init_25"];
  21168. asm["___cxx_global_var_init_25"] = (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_25.apply(null, arguments);
  21172. });
  21173. var real____cxx_global_var_init_25_9170 = asm["___cxx_global_var_init_25_9170"];
  21174. asm["___cxx_global_var_init_25_9170"] = (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_25_9170.apply(null, arguments);
  21178. });
  21179. var real____cxx_global_var_init_26 = asm["___cxx_global_var_init_26"];
  21180. asm["___cxx_global_var_init_26"] = (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_26.apply(null, arguments);
  21184. });
  21185. var real____cxx_global_var_init_26_1240 = asm["___cxx_global_var_init_26_1240"];
  21186. asm["___cxx_global_var_init_26_1240"] = (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_1240.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_5519 = asm["___cxx_global_var_init_27_5519"];
  21198. asm["___cxx_global_var_init_27_5519"] = (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_5519.apply(null, arguments);
  21202. });
  21203. var real____cxx_global_var_init_27_9171 = asm["___cxx_global_var_init_27_9171"];
  21204. asm["___cxx_global_var_init_27_9171"] = (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_9171.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_7056 = asm["___cxx_global_var_init_28_7056"];
  21216. asm["___cxx_global_var_init_28_7056"] = (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_7056.apply(null, arguments);
  21220. });
  21221. var real____cxx_global_var_init_29_3914 = asm["___cxx_global_var_init_29_3914"];
  21222. asm["___cxx_global_var_init_29_3914"] = (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_3914.apply(null, arguments);
  21226. });
  21227. var real____cxx_global_var_init_29_7057 = asm["___cxx_global_var_init_29_7057"];
  21228. asm["___cxx_global_var_init_29_7057"] = (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_7057.apply(null, arguments);
  21232. });
  21233. var real____cxx_global_var_init_29_9172 = asm["___cxx_global_var_init_29_9172"];
  21234. asm["___cxx_global_var_init_29_9172"] = (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_9172.apply(null, arguments);
  21238. });
  21239. var real____cxx_global_var_init_2_9423 = asm["___cxx_global_var_init_2_9423"];
  21240. asm["___cxx_global_var_init_2_9423"] = (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_9423.apply(null, arguments);
  21244. });
  21245. var real____cxx_global_var_init_2_9646 = asm["___cxx_global_var_init_2_9646"];
  21246. asm["___cxx_global_var_init_2_9646"] = (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_9646.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_31_3915 = asm["___cxx_global_var_init_31_3915"];
  21258. asm["___cxx_global_var_init_31_3915"] = (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_31_3915.apply(null, arguments);
  21262. });
  21263. var real____cxx_global_var_init_31_8871 = asm["___cxx_global_var_init_31_8871"];
  21264. asm["___cxx_global_var_init_31_8871"] = (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_8871.apply(null, arguments);
  21268. });
  21269. var real____cxx_global_var_init_32 = asm["___cxx_global_var_init_32"];
  21270. asm["___cxx_global_var_init_32"] = (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_32.apply(null, arguments);
  21274. });
  21275. var real____cxx_global_var_init_33_10305 = asm["___cxx_global_var_init_33_10305"];
  21276. asm["___cxx_global_var_init_33_10305"] = (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_33_10305.apply(null, arguments);
  21280. });
  21281. var real____cxx_global_var_init_33_8872 = asm["___cxx_global_var_init_33_8872"];
  21282. asm["___cxx_global_var_init_33_8872"] = (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_33_8872.apply(null, arguments);
  21286. });
  21287. var real____cxx_global_var_init_34 = asm["___cxx_global_var_init_34"];
  21288. asm["___cxx_global_var_init_34"] = (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_34.apply(null, arguments);
  21292. });
  21293. var real____cxx_global_var_init_34_9280 = asm["___cxx_global_var_init_34_9280"];
  21294. asm["___cxx_global_var_init_34_9280"] = (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_34_9280.apply(null, arguments);
  21298. });
  21299. var real____cxx_global_var_init_35 = asm["___cxx_global_var_init_35"];
  21300. asm["___cxx_global_var_init_35"] = (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_35.apply(null, arguments);
  21304. });
  21305. var real____cxx_global_var_init_36 = asm["___cxx_global_var_init_36"];
  21306. asm["___cxx_global_var_init_36"] = (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_36.apply(null, arguments);
  21310. });
  21311. var real____cxx_global_var_init_36_12843 = asm["___cxx_global_var_init_36_12843"];
  21312. asm["___cxx_global_var_init_36_12843"] = (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_36_12843.apply(null, arguments);
  21316. });
  21317. var real____cxx_global_var_init_37 = asm["___cxx_global_var_init_37"];
  21318. asm["___cxx_global_var_init_37"] = (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_37.apply(null, arguments);
  21322. });
  21323. var real____cxx_global_var_init_37_7611 = asm["___cxx_global_var_init_37_7611"];
  21324. asm["___cxx_global_var_init_37_7611"] = (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_37_7611.apply(null, arguments);
  21328. });
  21329. var real____cxx_global_var_init_38 = asm["___cxx_global_var_init_38"];
  21330. asm["___cxx_global_var_init_38"] = (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_38.apply(null, arguments);
  21334. });
  21335. var real____cxx_global_var_init_38_7612 = asm["___cxx_global_var_init_38_7612"];
  21336. asm["___cxx_global_var_init_38_7612"] = (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_38_7612.apply(null, arguments);
  21340. });
  21341. var real____cxx_global_var_init_39 = asm["___cxx_global_var_init_39"];
  21342. asm["___cxx_global_var_init_39"] = (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_39.apply(null, arguments);
  21346. });
  21347. var real____cxx_global_var_init_3_27 = asm["___cxx_global_var_init_3_27"];
  21348. asm["___cxx_global_var_init_3_27"] = (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_3_27.apply(null, arguments);
  21352. });
  21353. var real____cxx_global_var_init_3_4324 = asm["___cxx_global_var_init_3_4324"];
  21354. asm["___cxx_global_var_init_3_4324"] = (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_3_4324.apply(null, arguments);
  21358. });
  21359. var real____cxx_global_var_init_3_9647 = asm["___cxx_global_var_init_3_9647"];
  21360. asm["___cxx_global_var_init_3_9647"] = (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_9647.apply(null, arguments);
  21364. });
  21365. var real____cxx_global_var_init_40 = asm["___cxx_global_var_init_40"];
  21366. asm["___cxx_global_var_init_40"] = (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_40.apply(null, arguments);
  21370. });
  21371. var real____cxx_global_var_init_41 = asm["___cxx_global_var_init_41"];
  21372. asm["___cxx_global_var_init_41"] = (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_41.apply(null, arguments);
  21376. });
  21377. var real____cxx_global_var_init_4176 = asm["___cxx_global_var_init_4176"];
  21378. asm["___cxx_global_var_init_4176"] = (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_4176.apply(null, arguments);
  21382. });
  21383. var real____cxx_global_var_init_42 = asm["___cxx_global_var_init_42"];
  21384. asm["___cxx_global_var_init_42"] = (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_42.apply(null, arguments);
  21388. });
  21389. var real____cxx_global_var_init_43 = asm["___cxx_global_var_init_43"];
  21390. asm["___cxx_global_var_init_43"] = (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_43.apply(null, arguments);
  21394. });
  21395. var real____cxx_global_var_init_43_4668 = asm["___cxx_global_var_init_43_4668"];
  21396. asm["___cxx_global_var_init_43_4668"] = (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_43_4668.apply(null, arguments);
  21400. });
  21401. var real____cxx_global_var_init_44 = asm["___cxx_global_var_init_44"];
  21402. asm["___cxx_global_var_init_44"] = (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_44.apply(null, arguments);
  21406. });
  21407. var real____cxx_global_var_init_44_7809 = asm["___cxx_global_var_init_44_7809"];
  21408. asm["___cxx_global_var_init_44_7809"] = (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_44_7809.apply(null, arguments);
  21412. });
  21413. var real____cxx_global_var_init_45 = asm["___cxx_global_var_init_45"];
  21414. asm["___cxx_global_var_init_45"] = (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_45.apply(null, arguments);
  21418. });
  21419. var real____cxx_global_var_init_46 = asm["___cxx_global_var_init_46"];
  21420. asm["___cxx_global_var_init_46"] = (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_46.apply(null, arguments);
  21424. });
  21425. var real____cxx_global_var_init_46_8113 = asm["___cxx_global_var_init_46_8113"];
  21426. asm["___cxx_global_var_init_46_8113"] = (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_46_8113.apply(null, arguments);
  21430. });
  21431. var real____cxx_global_var_init_47 = asm["___cxx_global_var_init_47"];
  21432. asm["___cxx_global_var_init_47"] = (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_47.apply(null, arguments);
  21436. });
  21437. var real____cxx_global_var_init_47_1241 = asm["___cxx_global_var_init_47_1241"];
  21438. asm["___cxx_global_var_init_47_1241"] = (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_47_1241.apply(null, arguments);
  21442. });
  21443. var real____cxx_global_var_init_47_12844 = asm["___cxx_global_var_init_47_12844"];
  21444. asm["___cxx_global_var_init_47_12844"] = (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_47_12844.apply(null, arguments);
  21448. });
  21449. var real____cxx_global_var_init_47_8114 = asm["___cxx_global_var_init_47_8114"];
  21450. asm["___cxx_global_var_init_47_8114"] = (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_8114.apply(null, arguments);
  21454. });
  21455. var real____cxx_global_var_init_48 = asm["___cxx_global_var_init_48"];
  21456. asm["___cxx_global_var_init_48"] = (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_48.apply(null, arguments);
  21460. });
  21461. var real____cxx_global_var_init_48_1242 = asm["___cxx_global_var_init_48_1242"];
  21462. asm["___cxx_global_var_init_48_1242"] = (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_48_1242.apply(null, arguments);
  21466. });
  21467. var real____cxx_global_var_init_48_8115 = asm["___cxx_global_var_init_48_8115"];
  21468. asm["___cxx_global_var_init_48_8115"] = (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_48_8115.apply(null, arguments);
  21472. });
  21473. var real____cxx_global_var_init_49 = asm["___cxx_global_var_init_49"];
  21474. asm["___cxx_global_var_init_49"] = (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_49.apply(null, arguments);
  21478. });
  21479. var real____cxx_global_var_init_49_8116 = asm["___cxx_global_var_init_49_8116"];
  21480. asm["___cxx_global_var_init_49_8116"] = (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_49_8116.apply(null, arguments);
  21484. });
  21485. var real____cxx_global_var_init_4_6959 = asm["___cxx_global_var_init_4_6959"];
  21486. asm["___cxx_global_var_init_4_6959"] = (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_4_6959.apply(null, arguments);
  21490. });
  21491. var real____cxx_global_var_init_4_9648 = asm["___cxx_global_var_init_4_9648"];
  21492. asm["___cxx_global_var_init_4_9648"] = (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_4_9648.apply(null, arguments);
  21496. });
  21497. var real____cxx_global_var_init_5 = asm["___cxx_global_var_init_5"];
  21498. asm["___cxx_global_var_init_5"] = (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_5.apply(null, arguments);
  21502. });
  21503. var real____cxx_global_var_init_50 = asm["___cxx_global_var_init_50"];
  21504. asm["___cxx_global_var_init_50"] = (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_50.apply(null, arguments);
  21508. });
  21509. var real____cxx_global_var_init_51 = asm["___cxx_global_var_init_51"];
  21510. asm["___cxx_global_var_init_51"] = (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_51.apply(null, arguments);
  21514. });
  21515. var real____cxx_global_var_init_52 = asm["___cxx_global_var_init_52"];
  21516. asm["___cxx_global_var_init_52"] = (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_52.apply(null, arguments);
  21520. });
  21521. var real____cxx_global_var_init_53 = asm["___cxx_global_var_init_53"];
  21522. asm["___cxx_global_var_init_53"] = (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_53.apply(null, arguments);
  21526. });
  21527. var real____cxx_global_var_init_53_8117 = asm["___cxx_global_var_init_53_8117"];
  21528. asm["___cxx_global_var_init_53_8117"] = (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_53_8117.apply(null, arguments);
  21532. });
  21533. var real____cxx_global_var_init_54 = asm["___cxx_global_var_init_54"];
  21534. asm["___cxx_global_var_init_54"] = (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_54.apply(null, arguments);
  21538. });
  21539. var real____cxx_global_var_init_55 = asm["___cxx_global_var_init_55"];
  21540. asm["___cxx_global_var_init_55"] = (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_55.apply(null, arguments);
  21544. });
  21545. var real____cxx_global_var_init_55_9254 = asm["___cxx_global_var_init_55_9254"];
  21546. asm["___cxx_global_var_init_55_9254"] = (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_55_9254.apply(null, arguments);
  21550. });
  21551. var real____cxx_global_var_init_56 = asm["___cxx_global_var_init_56"];
  21552. asm["___cxx_global_var_init_56"] = (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_56.apply(null, arguments);
  21556. });
  21557. var real____cxx_global_var_init_57 = asm["___cxx_global_var_init_57"];
  21558. asm["___cxx_global_var_init_57"] = (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_57.apply(null, arguments);
  21562. });
  21563. var real____cxx_global_var_init_58 = asm["___cxx_global_var_init_58"];
  21564. asm["___cxx_global_var_init_58"] = (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_58.apply(null, arguments);
  21568. });
  21569. var real____cxx_global_var_init_58_4669 = asm["___cxx_global_var_init_58_4669"];
  21570. asm["___cxx_global_var_init_58_4669"] = (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_58_4669.apply(null, arguments);
  21574. });
  21575. var real____cxx_global_var_init_58_9255 = asm["___cxx_global_var_init_58_9255"];
  21576. asm["___cxx_global_var_init_58_9255"] = (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_58_9255.apply(null, arguments);
  21580. });
  21581. var real____cxx_global_var_init_59 = asm["___cxx_global_var_init_59"];
  21582. asm["___cxx_global_var_init_59"] = (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_59.apply(null, arguments);
  21586. });
  21587. var real____cxx_global_var_init_59_4670 = asm["___cxx_global_var_init_59_4670"];
  21588. asm["___cxx_global_var_init_59_4670"] = (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_59_4670.apply(null, arguments);
  21592. });
  21593. var real____cxx_global_var_init_59_9256 = asm["___cxx_global_var_init_59_9256"];
  21594. asm["___cxx_global_var_init_59_9256"] = (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_59_9256.apply(null, arguments);
  21598. });
  21599. var real____cxx_global_var_init_5_9649 = asm["___cxx_global_var_init_5_9649"];
  21600. asm["___cxx_global_var_init_5_9649"] = (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_5_9649.apply(null, arguments);
  21604. });
  21605. var real____cxx_global_var_init_60 = asm["___cxx_global_var_init_60"];
  21606. asm["___cxx_global_var_init_60"] = (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_60.apply(null, arguments);
  21610. });
  21611. var real____cxx_global_var_init_60_4671 = asm["___cxx_global_var_init_60_4671"];
  21612. asm["___cxx_global_var_init_60_4671"] = (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_60_4671.apply(null, arguments);
  21616. });
  21617. var real____cxx_global_var_init_60_9257 = asm["___cxx_global_var_init_60_9257"];
  21618. asm["___cxx_global_var_init_60_9257"] = (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_60_9257.apply(null, arguments);
  21622. });
  21623. var real____cxx_global_var_init_61 = asm["___cxx_global_var_init_61"];
  21624. asm["___cxx_global_var_init_61"] = (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_61.apply(null, arguments);
  21628. });
  21629. var real____cxx_global_var_init_61_9258 = asm["___cxx_global_var_init_61_9258"];
  21630. asm["___cxx_global_var_init_61_9258"] = (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_61_9258.apply(null, arguments);
  21634. });
  21635. var real____cxx_global_var_init_64 = asm["___cxx_global_var_init_64"];
  21636. asm["___cxx_global_var_init_64"] = (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_64.apply(null, arguments);
  21640. });
  21641. var real____cxx_global_var_init_67 = asm["___cxx_global_var_init_67"];
  21642. asm["___cxx_global_var_init_67"] = (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_67.apply(null, arguments);
  21646. });
  21647. var real____cxx_global_var_init_6_752 = asm["___cxx_global_var_init_6_752"];
  21648. asm["___cxx_global_var_init_6_752"] = (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_6_752.apply(null, arguments);
  21652. });
  21653. var real____cxx_global_var_init_6_9650 = asm["___cxx_global_var_init_6_9650"];
  21654. asm["___cxx_global_var_init_6_9650"] = (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_6_9650.apply(null, arguments);
  21658. });
  21659. var real____cxx_global_var_init_7 = asm["___cxx_global_var_init_7"];
  21660. asm["___cxx_global_var_init_7"] = (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_7.apply(null, arguments);
  21664. });
  21665. var real____cxx_global_var_init_71 = asm["___cxx_global_var_init_71"];
  21666. asm["___cxx_global_var_init_71"] = (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_71.apply(null, arguments);
  21670. });
  21671. var real____cxx_global_var_init_71_13332 = asm["___cxx_global_var_init_71_13332"];
  21672. asm["___cxx_global_var_init_71_13332"] = (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_71_13332.apply(null, arguments);
  21676. });
  21677. var real____cxx_global_var_init_78 = asm["___cxx_global_var_init_78"];
  21678. asm["___cxx_global_var_init_78"] = (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_78.apply(null, arguments);
  21682. });
  21683. var real____cxx_global_var_init_7_1237 = asm["___cxx_global_var_init_7_1237"];
  21684. asm["___cxx_global_var_init_7_1237"] = (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_1237.apply(null, arguments);
  21688. });
  21689. var real____cxx_global_var_init_7_4411 = asm["___cxx_global_var_init_7_4411"];
  21690. asm["___cxx_global_var_init_7_4411"] = (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_7_4411.apply(null, arguments);
  21694. });
  21695. var real____cxx_global_var_init_7_9651 = asm["___cxx_global_var_init_7_9651"];
  21696. asm["___cxx_global_var_init_7_9651"] = (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_7_9651.apply(null, arguments);
  21700. });
  21701. var real____cxx_global_var_init_8 = asm["___cxx_global_var_init_8"];
  21702. asm["___cxx_global_var_init_8"] = (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_8.apply(null, arguments);
  21706. });
  21707. var real____cxx_global_var_init_81 = asm["___cxx_global_var_init_81"];
  21708. asm["___cxx_global_var_init_81"] = (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_81.apply(null, arguments);
  21712. });
  21713. var real____cxx_global_var_init_8335 = asm["___cxx_global_var_init_8335"];
  21714. asm["___cxx_global_var_init_8335"] = (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_8335.apply(null, arguments);
  21718. });
  21719. var real____cxx_global_var_init_8_9652 = asm["___cxx_global_var_init_8_9652"];
  21720. asm["___cxx_global_var_init_8_9652"] = (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_8_9652.apply(null, arguments);
  21724. });
  21725. var real____cxx_global_var_init_91 = asm["___cxx_global_var_init_91"];
  21726. asm["___cxx_global_var_init_91"] = (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_91.apply(null, arguments);
  21730. });
  21731. var real____cxx_global_var_init_92 = asm["___cxx_global_var_init_92"];
  21732. asm["___cxx_global_var_init_92"] = (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_92.apply(null, arguments);
  21736. });
  21737. var real____cxx_global_var_init_93 = asm["___cxx_global_var_init_93"];
  21738. asm["___cxx_global_var_init_93"] = (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_93.apply(null, arguments);
  21742. });
  21743. var real____cxx_global_var_init_94 = asm["___cxx_global_var_init_94"];
  21744. asm["___cxx_global_var_init_94"] = (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_94.apply(null, arguments);
  21748. });
  21749. var real____cxx_global_var_init_94_6121 = asm["___cxx_global_var_init_94_6121"];
  21750. asm["___cxx_global_var_init_94_6121"] = (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_94_6121.apply(null, arguments);
  21754. });
  21755. var real____cxx_global_var_init_95 = asm["___cxx_global_var_init_95"];
  21756. asm["___cxx_global_var_init_95"] = (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_95.apply(null, arguments);
  21760. });
  21761. var real____cxx_global_var_init_95_6122 = asm["___cxx_global_var_init_95_6122"];
  21762. asm["___cxx_global_var_init_95_6122"] = (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_95_6122.apply(null, arguments);
  21766. });
  21767. var real____cxx_global_var_init_96 = asm["___cxx_global_var_init_96"];
  21768. asm["___cxx_global_var_init_96"] = (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_96.apply(null, arguments);
  21772. });
  21773. var real____cxx_global_var_init_99 = asm["___cxx_global_var_init_99"];
  21774. asm["___cxx_global_var_init_99"] = (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_99.apply(null, arguments);
  21778. });
  21779. var real____cxx_global_var_init_9_4412 = asm["___cxx_global_var_init_9_4412"];
  21780. asm["___cxx_global_var_init_9_4412"] = (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_9_4412.apply(null, arguments);
  21784. });
  21785. var real____cxx_global_var_init_9_6894 = asm["___cxx_global_var_init_9_6894"];
  21786. asm["___cxx_global_var_init_9_6894"] = (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_9_6894.apply(null, arguments);
  21790. });
  21791. var real____cxx_global_var_init_9_9653 = asm["___cxx_global_var_init_9_9653"];
  21792. asm["___cxx_global_var_init_9_9653"] = (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_9_9653.apply(null, arguments);
  21796. });
  21797. var real____emscripten_environ_constructor = asm["___emscripten_environ_constructor"];
  21798. asm["___emscripten_environ_constructor"] = (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____emscripten_environ_constructor.apply(null, arguments);
  21802. });
  21803. var real____errno_location = asm["___errno_location"];
  21804. asm["___errno_location"] = (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____errno_location.apply(null, arguments);
  21808. });
  21809. var real___get_daylight = asm["__get_daylight"];
  21810. asm["__get_daylight"] = (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___get_daylight.apply(null, arguments);
  21814. });
  21815. var real___get_environ = asm["__get_environ"];
  21816. asm["__get_environ"] = (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___get_environ.apply(null, arguments);
  21820. });
  21821. var real___get_timezone = asm["__get_timezone"];
  21822. asm["__get_timezone"] = (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___get_timezone.apply(null, arguments);
  21826. });
  21827. var real___get_tzname = asm["__get_tzname"];
  21828. asm["__get_tzname"] = (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___get_tzname.apply(null, arguments);
  21832. });
  21833. var real__fflush = asm["_fflush"];
  21834. asm["_fflush"] = (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__fflush.apply(null, arguments);
  21838. });
  21839. var real__free = asm["_free"];
  21840. asm["_free"] = (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__free.apply(null, arguments);
  21844. });
  21845. var real__htonl = asm["_htonl"];
  21846. asm["_htonl"] = (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__htonl.apply(null, arguments);
  21850. });
  21851. var real__htons = asm["_htons"];
  21852. asm["_htons"] = (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__htons.apply(null, arguments);
  21856. });
  21857. var real__i64Add = asm["_i64Add"];
  21858. asm["_i64Add"] = (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__i64Add.apply(null, arguments);
  21862. });
  21863. var real__llvm_bswap_i16 = asm["_llvm_bswap_i16"];
  21864. asm["_llvm_bswap_i16"] = (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__llvm_bswap_i16.apply(null, arguments);
  21868. });
  21869. var real__llvm_bswap_i32 = asm["_llvm_bswap_i32"];
  21870. asm["_llvm_bswap_i32"] = (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__llvm_bswap_i32.apply(null, arguments);
  21874. });
  21875. var real__llvm_ctlz_i64 = asm["_llvm_ctlz_i64"];
  21876. asm["_llvm_ctlz_i64"] = (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__llvm_ctlz_i64.apply(null, arguments);
  21880. });
  21881. var real__llvm_ctpop_i32 = asm["_llvm_ctpop_i32"];
  21882. asm["_llvm_ctpop_i32"] = (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__llvm_ctpop_i32.apply(null, arguments);
  21886. });
  21887. var real__llvm_maxnum_f32 = asm["_llvm_maxnum_f32"];
  21888. asm["_llvm_maxnum_f32"] = (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__llvm_maxnum_f32.apply(null, arguments);
  21892. });
  21893. var real__llvm_maxnum_f64 = asm["_llvm_maxnum_f64"];
  21894. asm["_llvm_maxnum_f64"] = (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_maxnum_f64.apply(null, arguments);
  21898. });
  21899. var real__llvm_minnum_f32 = asm["_llvm_minnum_f32"];
  21900. asm["_llvm_minnum_f32"] = (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_minnum_f32.apply(null, arguments);
  21904. });
  21905. var real__llvm_round_f32 = asm["_llvm_round_f32"];
  21906. asm["_llvm_round_f32"] = (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_round_f32.apply(null, arguments);
  21910. });
  21911. var real__main = asm["_main"];
  21912. asm["_main"] = (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__main.apply(null, arguments);
  21916. });
  21917. var real__malloc = asm["_malloc"];
  21918. asm["_malloc"] = (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__malloc.apply(null, arguments);
  21922. });
  21923. var real__memalign = asm["_memalign"];
  21924. asm["_memalign"] = (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__memalign.apply(null, arguments);
  21928. });
  21929. var real__memmove = asm["_memmove"];
  21930. asm["_memmove"] = (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__memmove.apply(null, arguments);
  21934. });
  21935. var real__ntohs = asm["_ntohs"];
  21936. asm["_ntohs"] = (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__ntohs.apply(null, arguments);
  21940. });
  21941. var real__pthread_cond_broadcast = asm["_pthread_cond_broadcast"];
  21942. asm["_pthread_cond_broadcast"] = (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__pthread_cond_broadcast.apply(null, arguments);
  21946. });
  21947. var real__pthread_mutex_lock = asm["_pthread_mutex_lock"];
  21948. asm["_pthread_mutex_lock"] = (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__pthread_mutex_lock.apply(null, arguments);
  21952. });
  21953. var real__pthread_mutex_unlock = asm["_pthread_mutex_unlock"];
  21954. asm["_pthread_mutex_unlock"] = (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__pthread_mutex_unlock.apply(null, arguments);
  21958. });
  21959. var real__realloc = asm["_realloc"];
  21960. asm["_realloc"] = (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__realloc.apply(null, arguments);
  21964. });
  21965. var real__sbrk = asm["_sbrk"];
  21966. asm["_sbrk"] = (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__sbrk.apply(null, arguments);
  21970. });
  21971. var real__strlen = asm["_strlen"];
  21972. asm["_strlen"] = (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__strlen.apply(null, arguments);
  21976. });
  21977. var real_establishStackSpace = asm["establishStackSpace"];
  21978. asm["establishStackSpace"] = (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_establishStackSpace.apply(null, arguments);
  21982. });
  21983. var real_getTempRet0 = asm["getTempRet0"];
  21984. asm["getTempRet0"] = (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_getTempRet0.apply(null, arguments);
  21988. });
  21989. var real_setTempRet0 = asm["setTempRet0"];
  21990. asm["setTempRet0"] = (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_setTempRet0.apply(null, arguments);
  21994. });
  21995. var real_setThrew = asm["setThrew"];
  21996. asm["setThrew"] = (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_setThrew.apply(null, arguments);
  22000. });
  22001. var real_stackAlloc = asm["stackAlloc"];
  22002. asm["stackAlloc"] = (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_stackAlloc.apply(null, arguments);
  22006. });
  22007. var real_stackRestore = asm["stackRestore"];
  22008. asm["stackRestore"] = (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_stackRestore.apply(null, arguments);
  22012. });
  22013. var real_stackSave = asm["stackSave"];
  22014. asm["stackSave"] = (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_stackSave.apply(null, arguments);
  22018. });
  22019. Module["asm"] = asm;
  22020. var _InjectProfilerSample = Module["_InjectProfilerSample"] = (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 Module["asm"]["_InjectProfilerSample"].apply(null, arguments);
  22024. });
  22025. var _SendMessage = Module["_SendMessage"] = (function() {
  22026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22028. return Module["asm"]["_SendMessage"].apply(null, arguments);
  22029. });
  22030. var _SendMessageFloat = Module["_SendMessageFloat"] = (function() {
  22031. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22032. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22033. return Module["asm"]["_SendMessageFloat"].apply(null, arguments);
  22034. });
  22035. var _SendMessageString = Module["_SendMessageString"] = (function() {
  22036. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22037. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22038. return Module["asm"]["_SendMessageString"].apply(null, arguments);
  22039. });
  22040. var _SetFullscreen = Module["_SetFullscreen"] = (function() {
  22041. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22042. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22043. return Module["asm"]["_SetFullscreen"].apply(null, arguments);
  22044. });
  22045. var __GLOBAL__sub_I_AIBindings_gen_cpp = Module["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  22046. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22047. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22048. return Module["asm"]["__GLOBAL__sub_I_AIBindings_gen_cpp"].apply(null, arguments);
  22049. });
  22050. var __GLOBAL__sub_I_AIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (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"]["__GLOBAL__sub_I_AIScriptingClasses_cpp"].apply(null, arguments);
  22054. });
  22055. var __GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = Module["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (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"]["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"].apply(null, arguments);
  22059. });
  22060. var __GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (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"]["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"].apply(null, arguments);
  22064. });
  22065. var __GLOBAL__sub_I_AnimationBindings_gen_cpp = Module["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (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"]["__GLOBAL__sub_I_AnimationBindings_gen_cpp"].apply(null, arguments);
  22069. });
  22070. var __GLOBAL__sub_I_AnimationClip_cpp = Module["__GLOBAL__sub_I_AnimationClip_cpp"] = (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"]["__GLOBAL__sub_I_AnimationClip_cpp"].apply(null, arguments);
  22074. });
  22075. var __GLOBAL__sub_I_AnimationScriptingClasses_cpp = Module["__GLOBAL__sub_I_AnimationScriptingClasses_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_AnimationScriptingClasses_cpp"].apply(null, arguments);
  22079. });
  22080. var __GLOBAL__sub_I_AssetBundleFileSystem_cpp = Module["__GLOBAL__sub_I_AssetBundleFileSystem_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_AssetBundleFileSystem_cpp"].apply(null, arguments);
  22084. });
  22085. var __GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = Module["__GLOBAL__sub_I_AssetBundleScriptingClasses_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_AssetBundleScriptingClasses_cpp"].apply(null, arguments);
  22089. });
  22090. var __GLOBAL__sub_I_AudioScriptingClasses_cpp = Module["__GLOBAL__sub_I_AudioScriptingClasses_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_AudioScriptingClasses_cpp"].apply(null, arguments);
  22094. });
  22095. var __GLOBAL__sub_I_ClothScriptingClasses_cpp = Module["__GLOBAL__sub_I_ClothScriptingClasses_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_ClothScriptingClasses_cpp"].apply(null, arguments);
  22099. });
  22100. var __GLOBAL__sub_I_ConstraintJob_cpp = Module["__GLOBAL__sub_I_ConstraintJob_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_ConstraintJob_cpp"].apply(null, arguments);
  22104. });
  22105. var __GLOBAL__sub_I_CoreBindings_gen_cpp = Module["__GLOBAL__sub_I_CoreBindings_gen_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_CoreBindings_gen_cpp"].apply(null, arguments);
  22109. });
  22110. var __GLOBAL__sub_I_DSPGraphBindings_gen_cpp = Module["__GLOBAL__sub_I_DSPGraphBindings_gen_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_DSPGraphBindings_gen_cpp"].apply(null, arguments);
  22114. });
  22115. var __GLOBAL__sub_I_DirectorScriptingClasses_cpp = Module["__GLOBAL__sub_I_DirectorScriptingClasses_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_DirectorScriptingClasses_cpp"].apply(null, arguments);
  22119. });
  22120. var __GLOBAL__sub_I_ExternalForcesModule_cpp = Module["__GLOBAL__sub_I_ExternalForcesModule_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_ExternalForcesModule_cpp"].apply(null, arguments);
  22124. });
  22125. var __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_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_External_Box2D_Box2D_Dynamics_0_cpp"].apply(null, arguments);
  22129. });
  22130. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_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_External_Box2D_Box2D_Jobs_0_cpp"].apply(null, arguments);
  22134. });
  22135. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_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_External_Box2D_Box2D_Jobs_1_cpp"].apply(null, arguments);
  22139. });
  22140. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_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_External_Box2D_Box2D_Jobs_2_cpp"].apply(null, arguments);
  22144. });
  22145. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_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_External_Box2D_Box2D_Jobs_3_cpp"].apply(null, arguments);
  22149. });
  22150. var __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = Module["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_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_External_ProphecySDK_BlitOperations_1_cpp"].apply(null, arguments);
  22154. });
  22155. var __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = Module["__GLOBAL__sub_I_External_Yoga_Yoga_0_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_External_Yoga_Yoga_0_cpp"].apply(null, arguments);
  22159. });
  22160. 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() {
  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_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"].apply(null, arguments);
  22164. });
  22165. var __GLOBAL__sub_I_GUITexture_cpp = Module["__GLOBAL__sub_I_GUITexture_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_GUITexture_cpp"].apply(null, arguments);
  22169. });
  22170. var __GLOBAL__sub_I_GfxDeviceNull_cpp = Module["__GLOBAL__sub_I_GfxDeviceNull_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_GfxDeviceNull_cpp"].apply(null, arguments);
  22174. });
  22175. var __GLOBAL__sub_I_GridScriptingClasses_cpp = Module["__GLOBAL__sub_I_GridScriptingClasses_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_GridScriptingClasses_cpp"].apply(null, arguments);
  22179. });
  22180. var __GLOBAL__sub_I_IMGUIScriptingClasses_cpp = Module["__GLOBAL__sub_I_IMGUIScriptingClasses_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_IMGUIScriptingClasses_cpp"].apply(null, arguments);
  22184. });
  22185. var __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = Module["__GLOBAL__sub_I_InputLegacyModuleRegistration_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_InputLegacyModuleRegistration_cpp"].apply(null, arguments);
  22189. });
  22190. var __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputLegacyScriptingClasses_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_InputLegacyScriptingClasses_cpp"].apply(null, arguments);
  22194. });
  22195. var __GLOBAL__sub_I_InputScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputScriptingClasses_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_InputScriptingClasses_cpp"].apply(null, arguments);
  22199. });
  22200. var __GLOBAL__sub_I_LineRenderer_cpp = Module["__GLOBAL__sub_I_LineRenderer_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_LineRenderer_cpp"].apply(null, arguments);
  22204. });
  22205. var __GLOBAL__sub_I_LogAssert_cpp = Module["__GLOBAL__sub_I_LogAssert_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_LogAssert_cpp"].apply(null, arguments);
  22209. });
  22210. var __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_gc_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_Lump_libil2cpp_gc_cpp"].apply(null, arguments);
  22214. });
  22215. var __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_icalls_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_Lump_libil2cpp_icalls_cpp"].apply(null, arguments);
  22219. });
  22220. var __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_metadata_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_Lump_libil2cpp_metadata_cpp"].apply(null, arguments);
  22224. });
  22225. var __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_mono_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_Lump_libil2cpp_mono_cpp"].apply(null, arguments);
  22229. });
  22230. var __GLOBAL__sub_I_Lump_libil2cpp_os_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_os_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_Lump_libil2cpp_os_cpp"].apply(null, arguments);
  22234. });
  22235. var __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_utils_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_Lump_libil2cpp_utils_cpp"].apply(null, arguments);
  22239. });
  22240. var __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_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_Lump_libil2cpp_vm_cpp"].apply(null, arguments);
  22244. });
  22245. var __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_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_vm_utils_cpp"].apply(null, arguments);
  22249. });
  22250. var __GLOBAL__sub_I_Mesh_cpp = Module["__GLOBAL__sub_I_Mesh_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_Mesh_cpp"].apply(null, arguments);
  22254. });
  22255. var __GLOBAL__sub_I_Modules_AI_1_cpp = Module["__GLOBAL__sub_I_Modules_AI_1_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_Modules_AI_1_cpp"].apply(null, arguments);
  22259. });
  22260. var __GLOBAL__sub_I_Modules_AI_Builder_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Builder_0_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_Modules_AI_Builder_0_cpp"].apply(null, arguments);
  22264. });
  22265. var __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Crowd_0_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_Modules_AI_Crowd_0_cpp"].apply(null, arguments);
  22269. });
  22270. var __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_NavMesh_0_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_Modules_AI_NavMesh_0_cpp"].apply(null, arguments);
  22274. });
  22275. var __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Obstacles_0_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_Modules_AI_Obstacles_0_cpp"].apply(null, arguments);
  22279. });
  22280. var __GLOBAL__sub_I_Modules_Animation_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_0_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_Modules_Animation_0_cpp"].apply(null, arguments);
  22284. });
  22285. var __GLOBAL__sub_I_Modules_Animation_2_cpp = Module["__GLOBAL__sub_I_Modules_Animation_2_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_Modules_Animation_2_cpp"].apply(null, arguments);
  22289. });
  22290. var __GLOBAL__sub_I_Modules_Animation_3_cpp = Module["__GLOBAL__sub_I_Modules_Animation_3_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_Animation_3_cpp"].apply(null, arguments);
  22294. });
  22295. var __GLOBAL__sub_I_Modules_Animation_4_cpp = Module["__GLOBAL__sub_I_Modules_Animation_4_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_Animation_4_cpp"].apply(null, arguments);
  22299. });
  22300. var __GLOBAL__sub_I_Modules_Animation_5_cpp = Module["__GLOBAL__sub_I_Modules_Animation_5_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_Animation_5_cpp"].apply(null, arguments);
  22304. });
  22305. var __GLOBAL__sub_I_Modules_Animation_6_cpp = Module["__GLOBAL__sub_I_Modules_Animation_6_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_Animation_6_cpp"].apply(null, arguments);
  22309. });
  22310. var __GLOBAL__sub_I_Modules_Animation_7_cpp = Module["__GLOBAL__sub_I_Modules_Animation_7_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_Animation_7_cpp"].apply(null, arguments);
  22314. });
  22315. var __GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Constraints_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_Constraints_0_cpp"].apply(null, arguments);
  22319. });
  22320. var __GLOBAL__sub_I_Modules_Animation_Director_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_0_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_Director_0_cpp"].apply(null, arguments);
  22324. });
  22325. var __GLOBAL__sub_I_Modules_Animation_Director_1_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_1_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_Director_1_cpp"].apply(null, arguments);
  22329. });
  22330. var __GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_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_AssetBundle_Public_0_cpp"].apply(null, arguments);
  22334. });
  22335. var __GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_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_AssetBundle_Public_1_cpp"].apply(null, arguments);
  22339. });
  22340. var __GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_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_AssetBundle_Public_2_cpp"].apply(null, arguments);
  22344. });
  22345. var __GLOBAL__sub_I_Modules_Audio_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_0_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_Audio_Public_0_cpp"].apply(null, arguments);
  22349. });
  22350. var __GLOBAL__sub_I_Modules_Audio_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_1_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_Audio_Public_1_cpp"].apply(null, arguments);
  22354. });
  22355. var __GLOBAL__sub_I_Modules_Audio_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_3_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_Audio_Public_3_cpp"].apply(null, arguments);
  22359. });
  22360. var __GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_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_Audio_Public_ScriptBindings_1_cpp"].apply(null, arguments);
  22364. });
  22365. var __GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_sound_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_Audio_Public_sound_0_cpp"].apply(null, arguments);
  22369. });
  22370. var __GLOBAL__sub_I_Modules_Cloth_0_cpp = Module["__GLOBAL__sub_I_Modules_Cloth_0_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_Cloth_0_cpp"].apply(null, arguments);
  22374. });
  22375. var __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_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_CrashReporting_Public_0_cpp"].apply(null, arguments);
  22379. });
  22380. var __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_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_DSPGraph_Public_0_cpp"].apply(null, arguments);
  22384. });
  22385. var __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_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_DSPGraph_Public_1_cpp"].apply(null, arguments);
  22389. });
  22390. var __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_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_DSPGraph_Public_3_cpp"].apply(null, arguments);
  22394. });
  22395. var __GLOBAL__sub_I_Modules_Grid_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Grid_Public_0_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_Grid_Public_0_cpp"].apply(null, arguments);
  22399. });
  22400. var __GLOBAL__sub_I_Modules_IMGUI_0_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_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_IMGUI_0_cpp"].apply(null, arguments);
  22404. });
  22405. var __GLOBAL__sub_I_Modules_IMGUI_1_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_1_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_IMGUI_1_cpp"].apply(null, arguments);
  22409. });
  22410. var __GLOBAL__sub_I_Modules_Input_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_Input_Private_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_Input_Private_0_cpp"].apply(null, arguments);
  22414. });
  22415. var __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_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_ParticleSystem_0_cpp"].apply(null, arguments);
  22419. });
  22420. var __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_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_ParticleSystem_1_cpp"].apply(null, arguments);
  22424. });
  22425. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_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_ParticleSystem_Modules_0_cpp"].apply(null, arguments);
  22429. });
  22430. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_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_ParticleSystem_Modules_1_cpp"].apply(null, arguments);
  22434. });
  22435. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_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_ParticleSystem_Modules_2_cpp"].apply(null, arguments);
  22439. });
  22440. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_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_ParticleSystem_Modules_3_cpp"].apply(null, arguments);
  22444. });
  22445. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_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_ParticleSystem_Modules_4_cpp"].apply(null, arguments);
  22449. });
  22450. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_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_Modules_5_cpp"].apply(null, arguments);
  22454. });
  22455. var __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = Module["__GLOBAL__sub_I_Modules_PerformanceReporting_0_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_PerformanceReporting_0_cpp"].apply(null, arguments);
  22459. });
  22460. var __GLOBAL__sub_I_Modules_Physics2D_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_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_Physics2D_0_cpp"].apply(null, arguments);
  22464. });
  22465. var __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_0_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_Physics2D_Public_0_cpp"].apply(null, arguments);
  22469. });
  22470. var __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_1_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_Physics2D_Public_1_cpp"].apply(null, arguments);
  22474. });
  22475. var __GLOBAL__sub_I_Modules_Physics_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_0_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_Physics_0_cpp"].apply(null, arguments);
  22479. });
  22480. var __GLOBAL__sub_I_Modules_Physics_2_cpp = Module["__GLOBAL__sub_I_Modules_Physics_2_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_Physics_2_cpp"].apply(null, arguments);
  22484. });
  22485. var __GLOBAL__sub_I_Modules_Physics_3_cpp = Module["__GLOBAL__sub_I_Modules_Physics_3_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_Physics_3_cpp"].apply(null, arguments);
  22489. });
  22490. var __GLOBAL__sub_I_Modules_Physics_4_cpp = Module["__GLOBAL__sub_I_Modules_Physics_4_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_Physics_4_cpp"].apply(null, arguments);
  22494. });
  22495. var __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_BatchCommands_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_Physics_BatchCommands_0_cpp"].apply(null, arguments);
  22499. });
  22500. var __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Dispatch_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_Profiler_Dispatch_0_cpp"].apply(null, arguments);
  22504. });
  22505. var __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_0_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_Profiler_Public_0_cpp"].apply(null, arguments);
  22509. });
  22510. var __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_1_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_Profiler_Public_1_cpp"].apply(null, arguments);
  22514. });
  22515. var __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_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_Profiler_Runtime_0_cpp"].apply(null, arguments);
  22519. });
  22520. var __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_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_Profiler_Runtime_1_cpp"].apply(null, arguments);
  22524. });
  22525. var __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_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_Profiler_Runtime_2_cpp"].apply(null, arguments);
  22529. });
  22530. var __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteMask_Private_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_SpriteMask_Private_0_cpp"].apply(null, arguments);
  22534. });
  22535. var __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteShape_Private_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_SpriteShape_Private_0_cpp"].apply(null, arguments);
  22539. });
  22540. var __GLOBAL__sub_I_Modules_Subsystems_0_cpp = Module["__GLOBAL__sub_I_Modules_Subsystems_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_Subsystems_0_cpp"].apply(null, arguments);
  22544. });
  22545. var __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = Module["__GLOBAL__sub_I_Modules_TerrainPhysics_0_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_TerrainPhysics_0_cpp"].apply(null, arguments);
  22549. });
  22550. var __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_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_Terrain_Public_0_cpp"].apply(null, arguments);
  22554. });
  22555. var __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_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_Terrain_Public_1_cpp"].apply(null, arguments);
  22559. });
  22560. var __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_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_Terrain_Public_2_cpp"].apply(null, arguments);
  22564. });
  22565. var __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_3_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_Terrain_Public_3_cpp"].apply(null, arguments);
  22569. });
  22570. var __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_VR_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_Terrain_VR_0_cpp"].apply(null, arguments);
  22574. });
  22575. var __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = Module["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_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_TextCore_Native_FontEngine_0_cpp"].apply(null, arguments);
  22579. });
  22580. var __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_TextRendering_Public_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_TextRendering_Public_0_cpp"].apply(null, arguments);
  22584. });
  22585. var __GLOBAL__sub_I_Modules_Tilemap_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_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_Tilemap_0_cpp"].apply(null, arguments);
  22589. });
  22590. var __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_Public_0_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_Tilemap_Public_0_cpp"].apply(null, arguments);
  22594. });
  22595. var __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = Module["__GLOBAL__sub_I_Modules_UIElementsNative_0_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_UIElementsNative_0_cpp"].apply(null, arguments);
  22599. });
  22600. var __GLOBAL__sub_I_Modules_UI_0_cpp = Module["__GLOBAL__sub_I_Modules_UI_0_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_UI_0_cpp"].apply(null, arguments);
  22604. });
  22605. var __GLOBAL__sub_I_Modules_UI_1_cpp = Module["__GLOBAL__sub_I_Modules_UI_1_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_UI_1_cpp"].apply(null, arguments);
  22609. });
  22610. var __GLOBAL__sub_I_Modules_UI_2_cpp = Module["__GLOBAL__sub_I_Modules_UI_2_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_UI_2_cpp"].apply(null, arguments);
  22614. });
  22615. var __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_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_UnityAnalytics_CoreStats_0_cpp"].apply(null, arguments);
  22619. });
  22620. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_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_UnityWebRequest_Public_0_cpp"].apply(null, arguments);
  22624. });
  22625. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_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_UnityWebRequest_Public_DownloadHandler_0_cpp"].apply(null, arguments);
  22629. });
  22630. var __GLOBAL__sub_I_Modules_VFX_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_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_VFX_Public_0_cpp"].apply(null, arguments);
  22634. });
  22635. var __GLOBAL__sub_I_Modules_VFX_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_1_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_VFX_Public_1_cpp"].apply(null, arguments);
  22639. });
  22640. var __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_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_VFX_Public_Systems_0_cpp"].apply(null, arguments);
  22644. });
  22645. var __GLOBAL__sub_I_Modules_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_VR_0_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_VR_0_cpp"].apply(null, arguments);
  22649. });
  22650. var __GLOBAL__sub_I_Modules_VR_1_cpp = Module["__GLOBAL__sub_I_Modules_VR_1_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_VR_1_cpp"].apply(null, arguments);
  22654. });
  22655. var __GLOBAL__sub_I_Modules_Vehicles_0_cpp = Module["__GLOBAL__sub_I_Modules_Vehicles_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_Vehicles_0_cpp"].apply(null, arguments);
  22659. });
  22660. var __GLOBAL__sub_I_Modules_Video_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_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_Video_Public_0_cpp"].apply(null, arguments);
  22664. });
  22665. var __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_Base_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_Video_Public_Base_0_cpp"].apply(null, arguments);
  22669. });
  22670. var __GLOBAL__sub_I_Modules_XR_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_0_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_XR_0_cpp"].apply(null, arguments);
  22674. });
  22675. var __GLOBAL__sub_I_Modules_XR_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Public_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_XR_Public_0_cpp"].apply(null, arguments);
  22679. });
  22680. var __GLOBAL__sub_I_Modules_XR_Stats_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Stats_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_XR_Stats_0_cpp"].apply(null, arguments);
  22684. });
  22685. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_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_XR_Subsystems_Display_0_cpp"].apply(null, arguments);
  22689. });
  22690. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_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_XR_Subsystems_Display_1_cpp"].apply(null, arguments);
  22694. });
  22695. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_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_XR_Subsystems_Input_Public_0_cpp"].apply(null, arguments);
  22699. });
  22700. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_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_XR_Subsystems_Input_Public_1_cpp"].apply(null, arguments);
  22704. });
  22705. var __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_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_Subsystems_Meshing_0_cpp"].apply(null, arguments);
  22709. });
  22710. var __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Tracing_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_Tracing_0_cpp"].apply(null, arguments);
  22714. });
  22715. var __GLOBAL__sub_I_NoiseModule_cpp = Module["__GLOBAL__sub_I_NoiseModule_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_NoiseModule_cpp"].apply(null, arguments);
  22719. });
  22720. var __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = Module["__GLOBAL__sub_I_ParticleSystemBindings_gen_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_ParticleSystemBindings_gen_cpp"].apply(null, arguments);
  22724. });
  22725. var __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = Module["__GLOBAL__sub_I_ParticleSystemGeometryJob_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_ParticleSystemGeometryJob_cpp"].apply(null, arguments);
  22729. });
  22730. var __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = Module["__GLOBAL__sub_I_ParticleSystemScriptingClasses_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_ParticleSystemScriptingClasses_cpp"].apply(null, arguments);
  22734. });
  22735. var __GLOBAL__sub_I_Physics2DScriptingClasses_cpp = Module["__GLOBAL__sub_I_Physics2DScriptingClasses_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_Physics2DScriptingClasses_cpp"].apply(null, arguments);
  22739. });
  22740. var __GLOBAL__sub_I_PhysicsBindings_gen_cpp = Module["__GLOBAL__sub_I_PhysicsBindings_gen_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_PhysicsBindings_gen_cpp"].apply(null, arguments);
  22744. });
  22745. var __GLOBAL__sub_I_PhysicsQuery_cpp = Module["__GLOBAL__sub_I_PhysicsQuery_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_PhysicsQuery_cpp"].apply(null, arguments);
  22749. });
  22750. var __GLOBAL__sub_I_PhysicsScene_cpp = Module["__GLOBAL__sub_I_PhysicsScene_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_PhysicsScene_cpp"].apply(null, arguments);
  22754. });
  22755. var __GLOBAL__sub_I_PhysicsScriptingClasses_cpp = Module["__GLOBAL__sub_I_PhysicsScriptingClasses_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_PhysicsScriptingClasses_cpp"].apply(null, arguments);
  22759. });
  22760. 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() {
  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_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"].apply(null, arguments);
  22764. });
  22765. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_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_PlatformDependent_WebGL_Source_0_cpp"].apply(null, arguments);
  22769. });
  22770. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_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_PlatformDependent_WebGL_Source_2_cpp"].apply(null, arguments);
  22774. });
  22775. var __GLOBAL__sub_I_PluginInterfaceVR_cpp = Module["__GLOBAL__sub_I_PluginInterfaceVR_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_PluginInterfaceVR_cpp"].apply(null, arguments);
  22779. });
  22780. var __GLOBAL__sub_I_QualitySettings_cpp = Module["__GLOBAL__sub_I_QualitySettings_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_QualitySettings_cpp"].apply(null, arguments);
  22784. });
  22785. var __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Renderer_0_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_Runtime_2D_Renderer_0_cpp"].apply(null, arguments);
  22789. });
  22790. var __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Sorting_0_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_Runtime_2D_Sorting_0_cpp"].apply(null, arguments);
  22794. });
  22795. var __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_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_Runtime_2D_SpriteAtlas_0_cpp"].apply(null, arguments);
  22799. });
  22800. var __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_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_Runtime_2D_SpriteTiling_0_cpp"].apply(null, arguments);
  22804. });
  22805. var __GLOBAL__sub_I_Runtime_Allocator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_0_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_Runtime_Allocator_0_cpp"].apply(null, arguments);
  22809. });
  22810. var __GLOBAL__sub_I_Runtime_Allocator_2_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_2_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_Runtime_Allocator_2_cpp"].apply(null, arguments);
  22814. });
  22815. var __GLOBAL__sub_I_Runtime_Allocator_3_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_3_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_Runtime_Allocator_3_cpp"].apply(null, arguments);
  22819. });
  22820. var __GLOBAL__sub_I_Runtime_Application_0_cpp = Module["__GLOBAL__sub_I_Runtime_Application_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_Application_0_cpp"].apply(null, arguments);
  22824. });
  22825. var __GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_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_BaseClasses_0_cpp"].apply(null, arguments);
  22829. });
  22830. var __GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_1_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_BaseClasses_1_cpp"].apply(null, arguments);
  22834. });
  22835. var __GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_2_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_BaseClasses_2_cpp"].apply(null, arguments);
  22839. });
  22840. var __GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_3_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_BaseClasses_3_cpp"].apply(null, arguments);
  22844. });
  22845. var __GLOBAL__sub_I_Runtime_Burst_0_cpp = Module["__GLOBAL__sub_I_Runtime_Burst_0_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_Burst_0_cpp"].apply(null, arguments);
  22849. });
  22850. var __GLOBAL__sub_I_Runtime_Camera_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_0_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_Camera_0_cpp"].apply(null, arguments);
  22854. });
  22855. var __GLOBAL__sub_I_Runtime_Camera_1_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_1_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_Camera_1_cpp"].apply(null, arguments);
  22859. });
  22860. var __GLOBAL__sub_I_Runtime_Camera_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_2_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_Camera_2_cpp"].apply(null, arguments);
  22864. });
  22865. var __GLOBAL__sub_I_Runtime_Camera_3_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_3_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_Camera_3_cpp"].apply(null, arguments);
  22869. });
  22870. var __GLOBAL__sub_I_Runtime_Camera_4_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_4_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_Camera_4_cpp"].apply(null, arguments);
  22874. });
  22875. var __GLOBAL__sub_I_Runtime_Camera_5_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_5_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_Camera_5_cpp"].apply(null, arguments);
  22879. });
  22880. var __GLOBAL__sub_I_Runtime_Camera_6_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_6_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_Camera_6_cpp"].apply(null, arguments);
  22884. });
  22885. var __GLOBAL__sub_I_Runtime_Camera_7_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_7_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_7_cpp"].apply(null, arguments);
  22889. });
  22890. var __GLOBAL__sub_I_Runtime_Camera_8_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_8_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_8_cpp"].apply(null, arguments);
  22894. });
  22895. var __GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_Culling_0_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_Culling_0_cpp"].apply(null, arguments);
  22899. });
  22900. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_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_RenderLoops_0_cpp"].apply(null, arguments);
  22904. });
  22905. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_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_RenderLoops_2_cpp"].apply(null, arguments);
  22909. });
  22910. var __GLOBAL__sub_I_Runtime_Containers_0_cpp = Module["__GLOBAL__sub_I_Runtime_Containers_0_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_Containers_0_cpp"].apply(null, arguments);
  22914. });
  22915. var __GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = Module["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_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_Core_Callbacks_0_cpp"].apply(null, arguments);
  22919. });
  22920. var __GLOBAL__sub_I_Runtime_Director_Core_0_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_0_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_Director_Core_0_cpp"].apply(null, arguments);
  22924. });
  22925. var __GLOBAL__sub_I_Runtime_Director_Core_1_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_1_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_Director_Core_1_cpp"].apply(null, arguments);
  22929. });
  22930. var __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = Module["__GLOBAL__sub_I_Runtime_Export_Unsafe_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_Export_Unsafe_0_cpp"].apply(null, arguments);
  22934. });
  22935. var __GLOBAL__sub_I_Runtime_File_0_cpp = Module["__GLOBAL__sub_I_Runtime_File_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_File_0_cpp"].apply(null, arguments);
  22939. });
  22940. var __GLOBAL__sub_I_Runtime_GameCode_0_cpp = Module["__GLOBAL__sub_I_Runtime_GameCode_0_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_GameCode_0_cpp"].apply(null, arguments);
  22944. });
  22945. var __GLOBAL__sub_I_Runtime_Geometry_1_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_1_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_Geometry_1_cpp"].apply(null, arguments);
  22949. });
  22950. var __GLOBAL__sub_I_Runtime_Geometry_2_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_2_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_Geometry_2_cpp"].apply(null, arguments);
  22954. });
  22955. var __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_1_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_GfxDevice_1_cpp"].apply(null, arguments);
  22959. });
  22960. var __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_2_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_GfxDevice_2_cpp"].apply(null, arguments);
  22964. });
  22965. var __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_3_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_GfxDevice_3_cpp"].apply(null, arguments);
  22969. });
  22970. var __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_4_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_GfxDevice_4_cpp"].apply(null, arguments);
  22974. });
  22975. var __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_5_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_GfxDevice_5_cpp"].apply(null, arguments);
  22979. });
  22980. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_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_GfxDevice_opengles_0_cpp"].apply(null, arguments);
  22984. });
  22985. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_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_GfxDevice_opengles_2_cpp"].apply(null, arguments);
  22989. });
  22990. var __GLOBAL__sub_I_Runtime_Graphics_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_0_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_Graphics_0_cpp"].apply(null, arguments);
  22994. });
  22995. var __GLOBAL__sub_I_Runtime_Graphics_10_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_10_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_Graphics_10_cpp"].apply(null, arguments);
  22999. });
  23000. var __GLOBAL__sub_I_Runtime_Graphics_11_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_11_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_Graphics_11_cpp"].apply(null, arguments);
  23004. });
  23005. var __GLOBAL__sub_I_Runtime_Graphics_12_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_12_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_Graphics_12_cpp"].apply(null, arguments);
  23009. });
  23010. var __GLOBAL__sub_I_Runtime_Graphics_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_1_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_Graphics_1_cpp"].apply(null, arguments);
  23014. });
  23015. var __GLOBAL__sub_I_Runtime_Graphics_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_2_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_Graphics_2_cpp"].apply(null, arguments);
  23019. });
  23020. var __GLOBAL__sub_I_Runtime_Graphics_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_4_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_Graphics_4_cpp"].apply(null, arguments);
  23024. });
  23025. var __GLOBAL__sub_I_Runtime_Graphics_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_5_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_5_cpp"].apply(null, arguments);
  23029. });
  23030. var __GLOBAL__sub_I_Runtime_Graphics_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_6_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_6_cpp"].apply(null, arguments);
  23034. });
  23035. var __GLOBAL__sub_I_Runtime_Graphics_8_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_8_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_8_cpp"].apply(null, arguments);
  23039. });
  23040. var __GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_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_Billboard_0_cpp"].apply(null, arguments);
  23044. });
  23045. var __GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_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_CommandBuffer_0_cpp"].apply(null, arguments);
  23049. });
  23050. var __GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_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_LOD_0_cpp"].apply(null, arguments);
  23054. });
  23055. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_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_Mesh_0_cpp"].apply(null, arguments);
  23059. });
  23060. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_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_Mesh_1_cpp"].apply(null, arguments);
  23064. });
  23065. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_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_Mesh_2_cpp"].apply(null, arguments);
  23069. });
  23070. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_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_Mesh_3_cpp"].apply(null, arguments);
  23074. });
  23075. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_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_Mesh_4_cpp"].apply(null, arguments);
  23079. });
  23080. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_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_Mesh_5_cpp"].apply(null, arguments);
  23084. });
  23085. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_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_Mesh_6_cpp"].apply(null, arguments);
  23089. });
  23090. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_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_ScriptableRenderLoop_0_cpp"].apply(null, arguments);
  23094. });
  23095. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_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_ScriptableRenderLoop_1_cpp"].apply(null, arguments);
  23099. });
  23100. var __GLOBAL__sub_I_Runtime_Input_0_cpp = Module["__GLOBAL__sub_I_Runtime_Input_0_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_Input_0_cpp"].apply(null, arguments);
  23104. });
  23105. var __GLOBAL__sub_I_Runtime_Interfaces_0_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_0_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_Interfaces_0_cpp"].apply(null, arguments);
  23109. });
  23110. var __GLOBAL__sub_I_Runtime_Interfaces_1_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_1_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_Interfaces_1_cpp"].apply(null, arguments);
  23114. });
  23115. var __GLOBAL__sub_I_Runtime_Interfaces_2_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_2_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_Interfaces_2_cpp"].apply(null, arguments);
  23119. });
  23120. var __GLOBAL__sub_I_Runtime_Jobs_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_0_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_Jobs_0_cpp"].apply(null, arguments);
  23124. });
  23125. var __GLOBAL__sub_I_Runtime_Jobs_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_1_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_Jobs_1_cpp"].apply(null, arguments);
  23129. });
  23130. var __GLOBAL__sub_I_Runtime_Jobs_2_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_2_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_Jobs_2_cpp"].apply(null, arguments);
  23134. });
  23135. var __GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_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_Jobs_Internal_1_cpp"].apply(null, arguments);
  23139. });
  23140. var __GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_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_Jobs_ScriptBindings_0_cpp"].apply(null, arguments);
  23144. });
  23145. var __GLOBAL__sub_I_Runtime_Math_2_cpp = Module["__GLOBAL__sub_I_Runtime_Math_2_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_Math_2_cpp"].apply(null, arguments);
  23149. });
  23150. var __GLOBAL__sub_I_Runtime_Math_Random_0_cpp = Module["__GLOBAL__sub_I_Runtime_Math_Random_0_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_Math_Random_0_cpp"].apply(null, arguments);
  23154. });
  23155. var __GLOBAL__sub_I_Runtime_Misc_0_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_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_Misc_0_cpp"].apply(null, arguments);
  23159. });
  23160. var __GLOBAL__sub_I_Runtime_Misc_1_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_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_Misc_1_cpp"].apply(null, arguments);
  23164. });
  23165. var __GLOBAL__sub_I_Runtime_Misc_2_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_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_Misc_2_cpp"].apply(null, arguments);
  23169. });
  23170. var __GLOBAL__sub_I_Runtime_Misc_3_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_3_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_Misc_3_cpp"].apply(null, arguments);
  23174. });
  23175. var __GLOBAL__sub_I_Runtime_Misc_4_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_4_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_Misc_4_cpp"].apply(null, arguments);
  23179. });
  23180. var __GLOBAL__sub_I_Runtime_Misc_5_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_5_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_Misc_5_cpp"].apply(null, arguments);
  23184. });
  23185. var __GLOBAL__sub_I_Runtime_Modules_0_cpp = Module["__GLOBAL__sub_I_Runtime_Modules_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_Modules_0_cpp"].apply(null, arguments);
  23189. });
  23190. var __GLOBAL__sub_I_Runtime_Mono_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_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_Mono_0_cpp"].apply(null, arguments);
  23194. });
  23195. var __GLOBAL__sub_I_Runtime_Mono_2_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_2_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_Mono_2_cpp"].apply(null, arguments);
  23199. });
  23200. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_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_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"].apply(null, arguments);
  23204. });
  23205. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_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_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"].apply(null, arguments);
  23209. });
  23210. var __GLOBAL__sub_I_Runtime_Network_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_0_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_Network_0_cpp"].apply(null, arguments);
  23214. });
  23215. var __GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_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_Network_PlayerCommunicator_0_cpp"].apply(null, arguments);
  23219. });
  23220. var __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = Module["__GLOBAL__sub_I_Runtime_PluginInterface_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_PluginInterface_0_cpp"].apply(null, arguments);
  23224. });
  23225. var __GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_PreloadManager_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_PreloadManager_0_cpp"].apply(null, arguments);
  23229. });
  23230. var __GLOBAL__sub_I_Runtime_Profiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_0_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_Profiler_0_cpp"].apply(null, arguments);
  23234. });
  23235. var __GLOBAL__sub_I_Runtime_Profiler_1_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_1_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_Profiler_1_cpp"].apply(null, arguments);
  23239. });
  23240. var __GLOBAL__sub_I_Runtime_Profiler_2_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_2_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_Profiler_2_cpp"].apply(null, arguments);
  23244. });
  23245. var __GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_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_Profiler_ExternalGPUProfiler_0_cpp"].apply(null, arguments);
  23249. });
  23250. var __GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_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_Profiler_ScriptBindings_0_cpp"].apply(null, arguments);
  23254. });
  23255. var __GLOBAL__sub_I_Runtime_SceneManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_SceneManager_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_SceneManager_0_cpp"].apply(null, arguments);
  23259. });
  23260. var __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = Module["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_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_ScriptingBackend_Il2Cpp_0_cpp"].apply(null, arguments);
  23264. });
  23265. var __GLOBAL__sub_I_Runtime_Scripting_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_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_Scripting_0_cpp"].apply(null, arguments);
  23269. });
  23270. var __GLOBAL__sub_I_Runtime_Scripting_1_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_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_Scripting_1_cpp"].apply(null, arguments);
  23274. });
  23275. var __GLOBAL__sub_I_Runtime_Scripting_2_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_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_Scripting_2_cpp"].apply(null, arguments);
  23279. });
  23280. var __GLOBAL__sub_I_Runtime_Scripting_3_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_3_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_Scripting_3_cpp"].apply(null, arguments);
  23284. });
  23285. var __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_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_Scripting_APIUpdating_0_cpp"].apply(null, arguments);
  23289. });
  23290. var __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_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_Scripting_ManagedReference_0_cpp"].apply(null, arguments);
  23294. });
  23295. var __GLOBAL__sub_I_Runtime_Serialize_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_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_Serialize_0_cpp"].apply(null, arguments);
  23299. });
  23300. var __GLOBAL__sub_I_Runtime_Serialize_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_1_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_Serialize_1_cpp"].apply(null, arguments);
  23304. });
  23305. var __GLOBAL__sub_I_Runtime_Serialize_2_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_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_Serialize_2_cpp"].apply(null, arguments);
  23309. });
  23310. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_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_Serialize_TransferFunctions_0_cpp"].apply(null, arguments);
  23314. });
  23315. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_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_Serialize_TransferFunctions_1_cpp"].apply(null, arguments);
  23319. });
  23320. var __GLOBAL__sub_I_Runtime_Shaders_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_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_Shaders_0_cpp"].apply(null, arguments);
  23324. });
  23325. var __GLOBAL__sub_I_Runtime_Shaders_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_1_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_Shaders_1_cpp"].apply(null, arguments);
  23329. });
  23330. var __GLOBAL__sub_I_Runtime_Shaders_4_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_4_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_Shaders_4_cpp"].apply(null, arguments);
  23334. });
  23335. var __GLOBAL__sub_I_Runtime_Shaders_5_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_5_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_Shaders_5_cpp"].apply(null, arguments);
  23339. });
  23340. var __GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_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_Shaders_GpuPrograms_0_cpp"].apply(null, arguments);
  23344. });
  23345. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_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_Shaders_ShaderImpl_1_cpp"].apply(null, arguments);
  23349. });
  23350. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_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_ShaderImpl_2_cpp"].apply(null, arguments);
  23354. });
  23355. var __GLOBAL__sub_I_Runtime_Streaming_0_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_0_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_Streaming_0_cpp"].apply(null, arguments);
  23359. });
  23360. var __GLOBAL__sub_I_Runtime_Streaming_1_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_1_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_Streaming_1_cpp"].apply(null, arguments);
  23364. });
  23365. var __GLOBAL__sub_I_Runtime_Transform_0_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_0_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_Transform_0_cpp"].apply(null, arguments);
  23369. });
  23370. var __GLOBAL__sub_I_Runtime_Transform_1_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_1_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_Transform_1_cpp"].apply(null, arguments);
  23374. });
  23375. var __GLOBAL__sub_I_Runtime_Utilities_2_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_2_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_Utilities_2_cpp"].apply(null, arguments);
  23379. });
  23380. var __GLOBAL__sub_I_Runtime_Utilities_5_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_5_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_Utilities_5_cpp"].apply(null, arguments);
  23384. });
  23385. var __GLOBAL__sub_I_Runtime_Utilities_6_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_6_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_Utilities_6_cpp"].apply(null, arguments);
  23389. });
  23390. var __GLOBAL__sub_I_Runtime_Utilities_7_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_7_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_Utilities_7_cpp"].apply(null, arguments);
  23394. });
  23395. var __GLOBAL__sub_I_Runtime_Utilities_8_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_8_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_Utilities_8_cpp"].apply(null, arguments);
  23399. });
  23400. var __GLOBAL__sub_I_Runtime_Utilities_9_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_9_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_Utilities_9_cpp"].apply(null, arguments);
  23404. });
  23405. var __GLOBAL__sub_I_Runtime_Video_0_cpp = Module["__GLOBAL__sub_I_Runtime_Video_0_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_Video_0_cpp"].apply(null, arguments);
  23409. });
  23410. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_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_VirtualFileSystem_0_cpp"].apply(null, arguments);
  23414. });
  23415. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_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_VirtualFileSystem_1_cpp"].apply(null, arguments);
  23419. });
  23420. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_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_VirtualFileSystem_ArchiveFileSystem_0_cpp"].apply(null, arguments);
  23424. });
  23425. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_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_VirtualFileSystem_MemoryFileSystem_0_cpp"].apply(null, arguments);
  23429. });
  23430. var __GLOBAL__sub_I_Shader_cpp = Module["__GLOBAL__sub_I_Shader_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_Shader_cpp"].apply(null, arguments);
  23434. });
  23435. var __GLOBAL__sub_I_Shadows_cpp = Module["__GLOBAL__sub_I_Shadows_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_Shadows_cpp"].apply(null, arguments);
  23439. });
  23440. var __GLOBAL__sub_I_ShapeModule_cpp = Module["__GLOBAL__sub_I_ShapeModule_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_ShapeModule_cpp"].apply(null, arguments);
  23444. });
  23445. var __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = Module["__GLOBAL__sub_I_SpriteShapeBindings_gen_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_SpriteShapeBindings_gen_cpp"].apply(null, arguments);
  23449. });
  23450. var __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = Module["__GLOBAL__sub_I_SubsystemsScriptingClasses_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_SubsystemsScriptingClasses_cpp"].apply(null, arguments);
  23454. });
  23455. var __GLOBAL__sub_I_SwInterCollision_cpp = Module["__GLOBAL__sub_I_SwInterCollision_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_SwInterCollision_cpp"].apply(null, arguments);
  23459. });
  23460. var __GLOBAL__sub_I_SwSolverKernel_cpp = Module["__GLOBAL__sub_I_SwSolverKernel_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_SwSolverKernel_cpp"].apply(null, arguments);
  23464. });
  23465. var __GLOBAL__sub_I_TLSModule_cpp = Module["__GLOBAL__sub_I_TLSModule_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_TLSModule_cpp"].apply(null, arguments);
  23469. });
  23470. var __GLOBAL__sub_I_TemplateInstantiations_cpp = Module["__GLOBAL__sub_I_TemplateInstantiations_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_TemplateInstantiations_cpp"].apply(null, arguments);
  23474. });
  23475. var __GLOBAL__sub_I_TerrainScriptingClasses_cpp = Module["__GLOBAL__sub_I_TerrainScriptingClasses_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_TerrainScriptingClasses_cpp"].apply(null, arguments);
  23479. });
  23480. var __GLOBAL__sub_I_TextCoreScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextCoreScriptingClasses_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_TextCoreScriptingClasses_cpp"].apply(null, arguments);
  23484. });
  23485. var __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextRenderingScriptingClasses_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_TextRenderingScriptingClasses_cpp"].apply(null, arguments);
  23489. });
  23490. var __GLOBAL__sub_I_TilemapScriptingClasses_cpp = Module["__GLOBAL__sub_I_TilemapScriptingClasses_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_TilemapScriptingClasses_cpp"].apply(null, arguments);
  23494. });
  23495. var __GLOBAL__sub_I_TrailRenderer_cpp = Module["__GLOBAL__sub_I_TrailRenderer_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_TrailRenderer_cpp"].apply(null, arguments);
  23499. });
  23500. var __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_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_UIElementsNativeScriptingClasses_cpp"].apply(null, arguments);
  23504. });
  23505. var __GLOBAL__sub_I_UIScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIScriptingClasses_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_UIScriptingClasses_cpp"].apply(null, arguments);
  23509. });
  23510. var __GLOBAL__sub_I_UVModule_cpp = Module["__GLOBAL__sub_I_UVModule_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_UVModule_cpp"].apply(null, arguments);
  23514. });
  23515. var __GLOBAL__sub_I_UnityAdsSettings_cpp = Module["__GLOBAL__sub_I_UnityAdsSettings_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_UnityAdsSettings_cpp"].apply(null, arguments);
  23519. });
  23520. var __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_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_UnityAnalyticsScriptingClasses_cpp"].apply(null, arguments);
  23524. });
  23525. var __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_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_UnityWebRequestScriptingClasses_cpp"].apply(null, arguments);
  23529. });
  23530. var __GLOBAL__sub_I_VFXScriptingClasses_cpp = Module["__GLOBAL__sub_I_VFXScriptingClasses_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_VFXScriptingClasses_cpp"].apply(null, arguments);
  23534. });
  23535. var __GLOBAL__sub_I_VRScriptingClasses_cpp = Module["__GLOBAL__sub_I_VRScriptingClasses_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_VRScriptingClasses_cpp"].apply(null, arguments);
  23539. });
  23540. var __GLOBAL__sub_I_VelocityModule_cpp = Module["__GLOBAL__sub_I_VelocityModule_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_VelocityModule_cpp"].apply(null, arguments);
  23544. });
  23545. var __GLOBAL__sub_I_VideoMediaOutput_cpp = Module["__GLOBAL__sub_I_VideoMediaOutput_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_VideoMediaOutput_cpp"].apply(null, arguments);
  23549. });
  23550. var __GLOBAL__sub_I_VideoScriptingClasses_cpp = Module["__GLOBAL__sub_I_VideoScriptingClasses_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_VideoScriptingClasses_cpp"].apply(null, arguments);
  23554. });
  23555. var __GLOBAL__sub_I_VideoYUV420Convert_cpp = Module["__GLOBAL__sub_I_VideoYUV420Convert_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_VideoYUV420Convert_cpp"].apply(null, arguments);
  23559. });
  23560. var __GLOBAL__sub_I_VisualEffectAsset_cpp = Module["__GLOBAL__sub_I_VisualEffectAsset_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_VisualEffectAsset_cpp"].apply(null, arguments);
  23564. });
  23565. var __GLOBAL__sub_I_Wind_cpp = Module["__GLOBAL__sub_I_Wind_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_Wind_cpp"].apply(null, arguments);
  23569. });
  23570. var __GLOBAL__sub_I_XRAudio_cpp = Module["__GLOBAL__sub_I_XRAudio_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_XRAudio_cpp"].apply(null, arguments);
  23574. });
  23575. var __GLOBAL__sub_I_XRPreInit_cpp = Module["__GLOBAL__sub_I_XRPreInit_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_XRPreInit_cpp"].apply(null, arguments);
  23579. });
  23580. var __GLOBAL__sub_I_XRScriptingClasses_cpp = Module["__GLOBAL__sub_I_XRScriptingClasses_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_XRScriptingClasses_cpp"].apply(null, arguments);
  23584. });
  23585. var __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = Module["__GLOBAL__sub_I_XRWindowsLocatableCamera_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_XRWindowsLocatableCamera_cpp"].apply(null, arguments);
  23589. });
  23590. var __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = Module["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_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_artifacts_WebGL_codegenerator_0_cpp"].apply(null, arguments);
  23594. });
  23595. var __GLOBAL__sub_I_clipmuscle_cpp = Module["__GLOBAL__sub_I_clipmuscle_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_clipmuscle_cpp"].apply(null, arguments);
  23599. });
  23600. var __GLOBAL__sub_I_nvcloth_src_0_cpp = Module["__GLOBAL__sub_I_nvcloth_src_0_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_nvcloth_src_0_cpp"].apply(null, arguments);
  23604. });
  23605. var __GLOBAL__sub_I_nvcloth_src_1_cpp = Module["__GLOBAL__sub_I_nvcloth_src_1_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_nvcloth_src_1_cpp"].apply(null, arguments);
  23609. });
  23610. var __GLOBAL__sub_I_umbra_cpp = Module["__GLOBAL__sub_I_umbra_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_umbra_cpp"].apply(null, arguments);
  23614. });
  23615. var ___cxa_can_catch = Module["___cxa_can_catch"] = (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"]["___cxa_can_catch"].apply(null, arguments);
  23619. });
  23620. var ___cxa_demangle = Module["___cxa_demangle"] = (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"]["___cxa_demangle"].apply(null, arguments);
  23624. });
  23625. var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = (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"]["___cxa_is_pointer_type"].apply(null, arguments);
  23629. });
  23630. var ___cxx_global_var_init_10 = Module["___cxx_global_var_init_10"] = (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"]["___cxx_global_var_init_10"].apply(null, arguments);
  23634. });
  23635. var ___cxx_global_var_init_102 = Module["___cxx_global_var_init_102"] = (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"]["___cxx_global_var_init_102"].apply(null, arguments);
  23639. });
  23640. var ___cxx_global_var_init_104 = Module["___cxx_global_var_init_104"] = (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"]["___cxx_global_var_init_104"].apply(null, arguments);
  23644. });
  23645. var ___cxx_global_var_init_105 = Module["___cxx_global_var_init_105"] = (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"]["___cxx_global_var_init_105"].apply(null, arguments);
  23649. });
  23650. var ___cxx_global_var_init_10572 = Module["___cxx_global_var_init_10572"] = (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"]["___cxx_global_var_init_10572"].apply(null, arguments);
  23654. });
  23655. var ___cxx_global_var_init_10999 = Module["___cxx_global_var_init_10999"] = (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_10999"].apply(null, arguments);
  23659. });
  23660. var ___cxx_global_var_init_10_4413 = Module["___cxx_global_var_init_10_4413"] = (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_10_4413"].apply(null, arguments);
  23664. });
  23665. var ___cxx_global_var_init_10_7954 = Module["___cxx_global_var_init_10_7954"] = (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_10_7954"].apply(null, arguments);
  23669. });
  23670. var ___cxx_global_var_init_10_9654 = Module["___cxx_global_var_init_10_9654"] = (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_10_9654"].apply(null, arguments);
  23674. });
  23675. var ___cxx_global_var_init_11 = Module["___cxx_global_var_init_11"] = (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_11"].apply(null, arguments);
  23679. });
  23680. var ___cxx_global_var_init_110 = Module["___cxx_global_var_init_110"] = (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_110"].apply(null, arguments);
  23684. });
  23685. var ___cxx_global_var_init_111 = Module["___cxx_global_var_init_111"] = (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_111"].apply(null, arguments);
  23689. });
  23690. var ___cxx_global_var_init_112 = Module["___cxx_global_var_init_112"] = (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_112"].apply(null, arguments);
  23694. });
  23695. var ___cxx_global_var_init_113 = Module["___cxx_global_var_init_113"] = (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_113"].apply(null, arguments);
  23699. });
  23700. var ___cxx_global_var_init_114 = Module["___cxx_global_var_init_114"] = (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_114"].apply(null, arguments);
  23704. });
  23705. var ___cxx_global_var_init_11_7955 = Module["___cxx_global_var_init_11_7955"] = (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_11_7955"].apply(null, arguments);
  23709. });
  23710. var ___cxx_global_var_init_12 = Module["___cxx_global_var_init_12"] = (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_12"].apply(null, arguments);
  23714. });
  23715. var ___cxx_global_var_init_12_7956 = Module["___cxx_global_var_init_12_7956"] = (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_12_7956"].apply(null, arguments);
  23719. });
  23720. var ___cxx_global_var_init_144 = Module["___cxx_global_var_init_144"] = (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_144"].apply(null, arguments);
  23724. });
  23725. var ___cxx_global_var_init_148 = Module["___cxx_global_var_init_148"] = (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_148"].apply(null, arguments);
  23729. });
  23730. var ___cxx_global_var_init_149 = Module["___cxx_global_var_init_149"] = (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_149"].apply(null, arguments);
  23734. });
  23735. var ___cxx_global_var_init_15 = Module["___cxx_global_var_init_15"] = (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_15"].apply(null, arguments);
  23739. });
  23740. var ___cxx_global_var_init_150 = Module["___cxx_global_var_init_150"] = (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_150"].apply(null, arguments);
  23744. });
  23745. var ___cxx_global_var_init_150_1238 = Module["___cxx_global_var_init_150_1238"] = (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_150_1238"].apply(null, arguments);
  23749. });
  23750. var ___cxx_global_var_init_151 = Module["___cxx_global_var_init_151"] = (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_151"].apply(null, arguments);
  23754. });
  23755. var ___cxx_global_var_init_153 = Module["___cxx_global_var_init_153"] = (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_153"].apply(null, arguments);
  23759. });
  23760. var ___cxx_global_var_init_154 = Module["___cxx_global_var_init_154"] = (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_154"].apply(null, arguments);
  23764. });
  23765. var ___cxx_global_var_init_16 = Module["___cxx_global_var_init_16"] = (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_16"].apply(null, arguments);
  23769. });
  23770. var ___cxx_global_var_init_161 = Module["___cxx_global_var_init_161"] = (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_161"].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_17137 = Module["___cxx_global_var_init_17137"] = (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_17137"].apply(null, arguments);
  23784. });
  23785. var ___cxx_global_var_init_172 = Module["___cxx_global_var_init_172"] = (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_172"].apply(null, arguments);
  23789. });
  23790. var ___cxx_global_var_init_173 = Module["___cxx_global_var_init_173"] = (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_173"].apply(null, arguments);
  23794. });
  23795. var ___cxx_global_var_init_174 = Module["___cxx_global_var_init_174"] = (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_174"].apply(null, arguments);
  23799. });
  23800. var ___cxx_global_var_init_175 = Module["___cxx_global_var_init_175"] = (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_175"].apply(null, arguments);
  23804. });
  23805. var ___cxx_global_var_init_176 = Module["___cxx_global_var_init_176"] = (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_176"].apply(null, arguments);
  23809. });
  23810. var ___cxx_global_var_init_177 = Module["___cxx_global_var_init_177"] = (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_177"].apply(null, arguments);
  23814. });
  23815. var ___cxx_global_var_init_178 = Module["___cxx_global_var_init_178"] = (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_178"].apply(null, arguments);
  23819. });
  23820. var ___cxx_global_var_init_179 = Module["___cxx_global_var_init_179"] = (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_179"].apply(null, arguments);
  23824. });
  23825. var ___cxx_global_var_init_18 = Module["___cxx_global_var_init_18"] = (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_18"].apply(null, arguments);
  23829. });
  23830. var ___cxx_global_var_init_180 = Module["___cxx_global_var_init_180"] = (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_180"].apply(null, arguments);
  23834. });
  23835. var ___cxx_global_var_init_181 = Module["___cxx_global_var_init_181"] = (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_181"].apply(null, arguments);
  23839. });
  23840. var ___cxx_global_var_init_182 = Module["___cxx_global_var_init_182"] = (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_182"].apply(null, arguments);
  23844. });
  23845. var ___cxx_global_var_init_183 = Module["___cxx_global_var_init_183"] = (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_183"].apply(null, arguments);
  23849. });
  23850. var ___cxx_global_var_init_184 = Module["___cxx_global_var_init_184"] = (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_184"].apply(null, arguments);
  23854. });
  23855. var ___cxx_global_var_init_185 = Module["___cxx_global_var_init_185"] = (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_185"].apply(null, arguments);
  23859. });
  23860. var ___cxx_global_var_init_186 = Module["___cxx_global_var_init_186"] = (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_186"].apply(null, arguments);
  23864. });
  23865. var ___cxx_global_var_init_187 = Module["___cxx_global_var_init_187"] = (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_187"].apply(null, arguments);
  23869. });
  23870. var ___cxx_global_var_init_188 = Module["___cxx_global_var_init_188"] = (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_188"].apply(null, arguments);
  23874. });
  23875. var ___cxx_global_var_init_189 = Module["___cxx_global_var_init_189"] = (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_189"].apply(null, arguments);
  23879. });
  23880. var ___cxx_global_var_init_19 = Module["___cxx_global_var_init_19"] = (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_19"].apply(null, arguments);
  23884. });
  23885. var ___cxx_global_var_init_190 = Module["___cxx_global_var_init_190"] = (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_190"].apply(null, arguments);
  23889. });
  23890. var ___cxx_global_var_init_191 = Module["___cxx_global_var_init_191"] = (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_191"].apply(null, arguments);
  23894. });
  23895. var ___cxx_global_var_init_192 = Module["___cxx_global_var_init_192"] = (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"].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_8418 = Module["___cxx_global_var_init_193_8418"] = (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_8418"].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_8419 = Module["___cxx_global_var_init_194_8419"] = (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_8419"].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_8420 = Module["___cxx_global_var_init_195_8420"] = (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_8420"].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_8421 = Module["___cxx_global_var_init_196_8421"] = (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_8421"].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_8422 = Module["___cxx_global_var_init_197_8422"] = (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_8422"].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_8423 = Module["___cxx_global_var_init_198_8423"] = (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_8423"].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_1239 = Module["___cxx_global_var_init_199_1239"] = (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_1239"].apply(null, arguments);
  23969. });
  23970. var ___cxx_global_var_init_199_8424 = Module["___cxx_global_var_init_199_8424"] = (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_199_8424"].apply(null, arguments);
  23974. });
  23975. var ___cxx_global_var_init_1_7017 = Module["___cxx_global_var_init_1_7017"] = (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_7017"].apply(null, arguments);
  23979. });
  23980. var ___cxx_global_var_init_1_9422 = Module["___cxx_global_var_init_1_9422"] = (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_1_9422"].apply(null, arguments);
  23984. });
  23985. var ___cxx_global_var_init_20 = Module["___cxx_global_var_init_20"] = (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_20"].apply(null, arguments);
  23989. });
  23990. var ___cxx_global_var_init_200 = Module["___cxx_global_var_init_200"] = (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_200"].apply(null, arguments);
  23994. });
  23995. var ___cxx_global_var_init_201 = Module["___cxx_global_var_init_201"] = (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_201"].apply(null, arguments);
  23999. });
  24000. var ___cxx_global_var_init_202 = Module["___cxx_global_var_init_202"] = (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_202"].apply(null, arguments);
  24004. });
  24005. var ___cxx_global_var_init_203 = Module["___cxx_global_var_init_203"] = (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_203"].apply(null, arguments);
  24009. });
  24010. var ___cxx_global_var_init_204 = Module["___cxx_global_var_init_204"] = (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_204"].apply(null, arguments);
  24014. });
  24015. var ___cxx_global_var_init_205 = Module["___cxx_global_var_init_205"] = (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_205"].apply(null, arguments);
  24019. });
  24020. var ___cxx_global_var_init_206 = Module["___cxx_global_var_init_206"] = (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_206"].apply(null, arguments);
  24024. });
  24025. var ___cxx_global_var_init_207 = Module["___cxx_global_var_init_207"] = (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_207"].apply(null, arguments);
  24029. });
  24030. var ___cxx_global_var_init_208 = Module["___cxx_global_var_init_208"] = (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_208"].apply(null, arguments);
  24034. });
  24035. var ___cxx_global_var_init_209 = Module["___cxx_global_var_init_209"] = (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_209"].apply(null, arguments);
  24039. });
  24040. var ___cxx_global_var_init_21 = Module["___cxx_global_var_init_21"] = (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_21"].apply(null, arguments);
  24044. });
  24045. var ___cxx_global_var_init_210 = Module["___cxx_global_var_init_210"] = (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"].apply(null, arguments);
  24049. });
  24050. var ___cxx_global_var_init_210_8425 = Module["___cxx_global_var_init_210_8425"] = (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_210_8425"].apply(null, arguments);
  24054. });
  24055. var ___cxx_global_var_init_211 = Module["___cxx_global_var_init_211"] = (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"].apply(null, arguments);
  24059. });
  24060. var ___cxx_global_var_init_211_8426 = Module["___cxx_global_var_init_211_8426"] = (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_211_8426"].apply(null, arguments);
  24064. });
  24065. var ___cxx_global_var_init_212 = Module["___cxx_global_var_init_212"] = (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_212"].apply(null, arguments);
  24069. });
  24070. var ___cxx_global_var_init_213 = Module["___cxx_global_var_init_213"] = (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_213"].apply(null, arguments);
  24074. });
  24075. var ___cxx_global_var_init_214 = Module["___cxx_global_var_init_214"] = (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_214"].apply(null, arguments);
  24079. });
  24080. var ___cxx_global_var_init_215 = Module["___cxx_global_var_init_215"] = (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_215"].apply(null, arguments);
  24084. });
  24085. var ___cxx_global_var_init_216 = Module["___cxx_global_var_init_216"] = (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_216"].apply(null, arguments);
  24089. });
  24090. var ___cxx_global_var_init_217 = Module["___cxx_global_var_init_217"] = (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_217"].apply(null, arguments);
  24094. });
  24095. var ___cxx_global_var_init_218 = Module["___cxx_global_var_init_218"] = (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_218"].apply(null, arguments);
  24099. });
  24100. var ___cxx_global_var_init_219 = Module["___cxx_global_var_init_219"] = (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_219"].apply(null, arguments);
  24104. });
  24105. var ___cxx_global_var_init_220 = Module["___cxx_global_var_init_220"] = (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_220"].apply(null, arguments);
  24109. });
  24110. var ___cxx_global_var_init_221 = Module["___cxx_global_var_init_221"] = (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_221"].apply(null, arguments);
  24114. });
  24115. var ___cxx_global_var_init_222 = Module["___cxx_global_var_init_222"] = (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_222"].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_25_9170 = Module["___cxx_global_var_init_25_9170"] = (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_25_9170"].apply(null, arguments);
  24129. });
  24130. var ___cxx_global_var_init_26 = Module["___cxx_global_var_init_26"] = (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_26"].apply(null, arguments);
  24134. });
  24135. var ___cxx_global_var_init_26_1240 = Module["___cxx_global_var_init_26_1240"] = (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_26_1240"].apply(null, arguments);
  24139. });
  24140. var ___cxx_global_var_init_27 = Module["___cxx_global_var_init_27"] = (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"].apply(null, arguments);
  24144. });
  24145. var ___cxx_global_var_init_27_5519 = Module["___cxx_global_var_init_27_5519"] = (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_27_5519"].apply(null, arguments);
  24149. });
  24150. var ___cxx_global_var_init_27_9171 = Module["___cxx_global_var_init_27_9171"] = (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_27_9171"].apply(null, arguments);
  24154. });
  24155. var ___cxx_global_var_init_28 = Module["___cxx_global_var_init_28"] = (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_28"].apply(null, arguments);
  24159. });
  24160. var ___cxx_global_var_init_28_7056 = Module["___cxx_global_var_init_28_7056"] = (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_28_7056"].apply(null, arguments);
  24164. });
  24165. var ___cxx_global_var_init_29_3914 = Module["___cxx_global_var_init_29_3914"] = (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_3914"].apply(null, arguments);
  24169. });
  24170. var ___cxx_global_var_init_29_7057 = Module["___cxx_global_var_init_29_7057"] = (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_29_7057"].apply(null, arguments);
  24174. });
  24175. var ___cxx_global_var_init_29_9172 = Module["___cxx_global_var_init_29_9172"] = (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_29_9172"].apply(null, arguments);
  24179. });
  24180. var ___cxx_global_var_init_2_9423 = Module["___cxx_global_var_init_2_9423"] = (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_2_9423"].apply(null, arguments);
  24184. });
  24185. var ___cxx_global_var_init_2_9646 = Module["___cxx_global_var_init_2_9646"] = (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_2_9646"].apply(null, arguments);
  24189. });
  24190. var ___cxx_global_var_init_30 = Module["___cxx_global_var_init_30"] = (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_30"].apply(null, arguments);
  24194. });
  24195. var ___cxx_global_var_init_31_3915 = Module["___cxx_global_var_init_31_3915"] = (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_3915"].apply(null, arguments);
  24199. });
  24200. var ___cxx_global_var_init_31_8871 = Module["___cxx_global_var_init_31_8871"] = (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_8871"].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_10305 = Module["___cxx_global_var_init_33_10305"] = (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_10305"].apply(null, arguments);
  24214. });
  24215. var ___cxx_global_var_init_33_8872 = Module["___cxx_global_var_init_33_8872"] = (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_8872"].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_9280 = Module["___cxx_global_var_init_34_9280"] = (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_9280"].apply(null, arguments);
  24229. });
  24230. var ___cxx_global_var_init_35 = Module["___cxx_global_var_init_35"] = (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_35"].apply(null, arguments);
  24234. });
  24235. var ___cxx_global_var_init_36 = Module["___cxx_global_var_init_36"] = (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_36"].apply(null, arguments);
  24239. });
  24240. var ___cxx_global_var_init_36_12843 = Module["___cxx_global_var_init_36_12843"] = (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_36_12843"].apply(null, arguments);
  24244. });
  24245. var ___cxx_global_var_init_37 = Module["___cxx_global_var_init_37"] = (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_37"].apply(null, arguments);
  24249. });
  24250. var ___cxx_global_var_init_37_7611 = Module["___cxx_global_var_init_37_7611"] = (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_37_7611"].apply(null, arguments);
  24254. });
  24255. var ___cxx_global_var_init_38 = Module["___cxx_global_var_init_38"] = (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_38"].apply(null, arguments);
  24259. });
  24260. var ___cxx_global_var_init_38_7612 = Module["___cxx_global_var_init_38_7612"] = (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_7612"].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_4324 = Module["___cxx_global_var_init_3_4324"] = (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_4324"].apply(null, arguments);
  24279. });
  24280. var ___cxx_global_var_init_3_9647 = Module["___cxx_global_var_init_3_9647"] = (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_9647"].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_41 = Module["___cxx_global_var_init_41"] = (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_41"].apply(null, arguments);
  24294. });
  24295. var ___cxx_global_var_init_4176 = Module["___cxx_global_var_init_4176"] = (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_4176"].apply(null, arguments);
  24299. });
  24300. var ___cxx_global_var_init_42 = Module["___cxx_global_var_init_42"] = (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_42"].apply(null, arguments);
  24304. });
  24305. var ___cxx_global_var_init_43 = Module["___cxx_global_var_init_43"] = (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_43"].apply(null, arguments);
  24309. });
  24310. var ___cxx_global_var_init_43_4668 = Module["___cxx_global_var_init_43_4668"] = (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_43_4668"].apply(null, arguments);
  24314. });
  24315. var ___cxx_global_var_init_44 = Module["___cxx_global_var_init_44"] = (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_44"].apply(null, arguments);
  24319. });
  24320. var ___cxx_global_var_init_44_7809 = Module["___cxx_global_var_init_44_7809"] = (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_7809"].apply(null, arguments);
  24324. });
  24325. var ___cxx_global_var_init_45 = Module["___cxx_global_var_init_45"] = (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_45"].apply(null, arguments);
  24329. });
  24330. var ___cxx_global_var_init_46 = Module["___cxx_global_var_init_46"] = (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_46"].apply(null, arguments);
  24334. });
  24335. var ___cxx_global_var_init_46_8113 = Module["___cxx_global_var_init_46_8113"] = (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_8113"].apply(null, arguments);
  24339. });
  24340. var ___cxx_global_var_init_47 = Module["___cxx_global_var_init_47"] = (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_47"].apply(null, arguments);
  24344. });
  24345. var ___cxx_global_var_init_47_1241 = Module["___cxx_global_var_init_47_1241"] = (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_1241"].apply(null, arguments);
  24349. });
  24350. var ___cxx_global_var_init_47_12844 = Module["___cxx_global_var_init_47_12844"] = (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_12844"].apply(null, arguments);
  24354. });
  24355. var ___cxx_global_var_init_47_8114 = Module["___cxx_global_var_init_47_8114"] = (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_8114"].apply(null, arguments);
  24359. });
  24360. var ___cxx_global_var_init_48 = Module["___cxx_global_var_init_48"] = (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_48"].apply(null, arguments);
  24364. });
  24365. var ___cxx_global_var_init_48_1242 = Module["___cxx_global_var_init_48_1242"] = (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_1242"].apply(null, arguments);
  24369. });
  24370. var ___cxx_global_var_init_48_8115 = Module["___cxx_global_var_init_48_8115"] = (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_8115"].apply(null, arguments);
  24374. });
  24375. var ___cxx_global_var_init_49 = Module["___cxx_global_var_init_49"] = (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_49"].apply(null, arguments);
  24379. });
  24380. var ___cxx_global_var_init_49_8116 = Module["___cxx_global_var_init_49_8116"] = (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_8116"].apply(null, arguments);
  24384. });
  24385. var ___cxx_global_var_init_4_6959 = Module["___cxx_global_var_init_4_6959"] = (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_4_6959"].apply(null, arguments);
  24389. });
  24390. var ___cxx_global_var_init_4_9648 = Module["___cxx_global_var_init_4_9648"] = (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_9648"].apply(null, arguments);
  24394. });
  24395. var ___cxx_global_var_init_5 = Module["___cxx_global_var_init_5"] = (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_5"].apply(null, arguments);
  24399. });
  24400. var ___cxx_global_var_init_50 = Module["___cxx_global_var_init_50"] = (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_50"].apply(null, arguments);
  24404. });
  24405. var ___cxx_global_var_init_51 = Module["___cxx_global_var_init_51"] = (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_51"].apply(null, arguments);
  24409. });
  24410. var ___cxx_global_var_init_52 = Module["___cxx_global_var_init_52"] = (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_52"].apply(null, arguments);
  24414. });
  24415. var ___cxx_global_var_init_53 = Module["___cxx_global_var_init_53"] = (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_53"].apply(null, arguments);
  24419. });
  24420. var ___cxx_global_var_init_53_8117 = Module["___cxx_global_var_init_53_8117"] = (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_8117"].apply(null, arguments);
  24424. });
  24425. var ___cxx_global_var_init_54 = Module["___cxx_global_var_init_54"] = (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_54"].apply(null, arguments);
  24429. });
  24430. var ___cxx_global_var_init_55 = Module["___cxx_global_var_init_55"] = (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_55"].apply(null, arguments);
  24434. });
  24435. var ___cxx_global_var_init_55_9254 = Module["___cxx_global_var_init_55_9254"] = (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_9254"].apply(null, arguments);
  24439. });
  24440. var ___cxx_global_var_init_56 = Module["___cxx_global_var_init_56"] = (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_56"].apply(null, arguments);
  24444. });
  24445. var ___cxx_global_var_init_57 = Module["___cxx_global_var_init_57"] = (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_57"].apply(null, arguments);
  24449. });
  24450. var ___cxx_global_var_init_58 = Module["___cxx_global_var_init_58"] = (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_58"].apply(null, arguments);
  24454. });
  24455. var ___cxx_global_var_init_58_4669 = Module["___cxx_global_var_init_58_4669"] = (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_4669"].apply(null, arguments);
  24459. });
  24460. var ___cxx_global_var_init_58_9255 = Module["___cxx_global_var_init_58_9255"] = (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_9255"].apply(null, arguments);
  24464. });
  24465. var ___cxx_global_var_init_59 = Module["___cxx_global_var_init_59"] = (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_59"].apply(null, arguments);
  24469. });
  24470. var ___cxx_global_var_init_59_4670 = Module["___cxx_global_var_init_59_4670"] = (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_4670"].apply(null, arguments);
  24474. });
  24475. var ___cxx_global_var_init_59_9256 = Module["___cxx_global_var_init_59_9256"] = (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_9256"].apply(null, arguments);
  24479. });
  24480. var ___cxx_global_var_init_5_9649 = Module["___cxx_global_var_init_5_9649"] = (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_5_9649"].apply(null, arguments);
  24484. });
  24485. var ___cxx_global_var_init_60 = Module["___cxx_global_var_init_60"] = (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_60"].apply(null, arguments);
  24489. });
  24490. var ___cxx_global_var_init_60_4671 = Module["___cxx_global_var_init_60_4671"] = (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_4671"].apply(null, arguments);
  24494. });
  24495. var ___cxx_global_var_init_60_9257 = Module["___cxx_global_var_init_60_9257"] = (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_9257"].apply(null, arguments);
  24499. });
  24500. var ___cxx_global_var_init_61 = Module["___cxx_global_var_init_61"] = (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_61"].apply(null, arguments);
  24504. });
  24505. var ___cxx_global_var_init_61_9258 = Module["___cxx_global_var_init_61_9258"] = (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_9258"].apply(null, arguments);
  24509. });
  24510. var ___cxx_global_var_init_64 = Module["___cxx_global_var_init_64"] = (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_64"].apply(null, arguments);
  24514. });
  24515. var ___cxx_global_var_init_67 = Module["___cxx_global_var_init_67"] = (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_67"].apply(null, arguments);
  24519. });
  24520. var ___cxx_global_var_init_6_752 = Module["___cxx_global_var_init_6_752"] = (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_6_752"].apply(null, arguments);
  24524. });
  24525. var ___cxx_global_var_init_6_9650 = Module["___cxx_global_var_init_6_9650"] = (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_9650"].apply(null, arguments);
  24529. });
  24530. var ___cxx_global_var_init_7 = Module["___cxx_global_var_init_7"] = (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_7"].apply(null, arguments);
  24534. });
  24535. var ___cxx_global_var_init_71 = Module["___cxx_global_var_init_71"] = (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_71"].apply(null, arguments);
  24539. });
  24540. var ___cxx_global_var_init_71_13332 = Module["___cxx_global_var_init_71_13332"] = (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_71_13332"].apply(null, arguments);
  24544. });
  24545. var ___cxx_global_var_init_78 = Module["___cxx_global_var_init_78"] = (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_78"].apply(null, arguments);
  24549. });
  24550. var ___cxx_global_var_init_7_1237 = Module["___cxx_global_var_init_7_1237"] = (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_7_1237"].apply(null, arguments);
  24554. });
  24555. var ___cxx_global_var_init_7_4411 = Module["___cxx_global_var_init_7_4411"] = (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_7_4411"].apply(null, arguments);
  24559. });
  24560. var ___cxx_global_var_init_7_9651 = Module["___cxx_global_var_init_7_9651"] = (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_9651"].apply(null, arguments);
  24564. });
  24565. var ___cxx_global_var_init_8 = Module["___cxx_global_var_init_8"] = (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_8"].apply(null, arguments);
  24569. });
  24570. var ___cxx_global_var_init_81 = Module["___cxx_global_var_init_81"] = (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_81"].apply(null, arguments);
  24574. });
  24575. var ___cxx_global_var_init_8335 = Module["___cxx_global_var_init_8335"] = (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_8335"].apply(null, arguments);
  24579. });
  24580. var ___cxx_global_var_init_8_9652 = Module["___cxx_global_var_init_8_9652"] = (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_8_9652"].apply(null, arguments);
  24584. });
  24585. var ___cxx_global_var_init_91 = Module["___cxx_global_var_init_91"] = (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_91"].apply(null, arguments);
  24589. });
  24590. var ___cxx_global_var_init_92 = Module["___cxx_global_var_init_92"] = (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_92"].apply(null, arguments);
  24594. });
  24595. var ___cxx_global_var_init_93 = Module["___cxx_global_var_init_93"] = (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_93"].apply(null, arguments);
  24599. });
  24600. var ___cxx_global_var_init_94 = Module["___cxx_global_var_init_94"] = (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_94"].apply(null, arguments);
  24604. });
  24605. var ___cxx_global_var_init_94_6121 = Module["___cxx_global_var_init_94_6121"] = (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_94_6121"].apply(null, arguments);
  24609. });
  24610. var ___cxx_global_var_init_95 = Module["___cxx_global_var_init_95"] = (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_95"].apply(null, arguments);
  24614. });
  24615. var ___cxx_global_var_init_95_6122 = Module["___cxx_global_var_init_95_6122"] = (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_95_6122"].apply(null, arguments);
  24619. });
  24620. var ___cxx_global_var_init_96 = Module["___cxx_global_var_init_96"] = (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_96"].apply(null, arguments);
  24624. });
  24625. var ___cxx_global_var_init_99 = Module["___cxx_global_var_init_99"] = (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_99"].apply(null, arguments);
  24629. });
  24630. var ___cxx_global_var_init_9_4412 = Module["___cxx_global_var_init_9_4412"] = (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_9_4412"].apply(null, arguments);
  24634. });
  24635. var ___cxx_global_var_init_9_6894 = Module["___cxx_global_var_init_9_6894"] = (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_9_6894"].apply(null, arguments);
  24639. });
  24640. var ___cxx_global_var_init_9_9653 = Module["___cxx_global_var_init_9_9653"] = (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_9_9653"].apply(null, arguments);
  24644. });
  24645. var ___emscripten_environ_constructor = Module["___emscripten_environ_constructor"] = (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"]["___emscripten_environ_constructor"].apply(null, arguments);
  24649. });
  24650. var ___errno_location = Module["___errno_location"] = (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"]["___errno_location"].apply(null, arguments);
  24654. });
  24655. var __get_daylight = Module["__get_daylight"] = (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"]["__get_daylight"].apply(null, arguments);
  24659. });
  24660. var __get_environ = Module["__get_environ"] = (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"]["__get_environ"].apply(null, arguments);
  24664. });
  24665. var __get_timezone = Module["__get_timezone"] = (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"]["__get_timezone"].apply(null, arguments);
  24669. });
  24670. var __get_tzname = Module["__get_tzname"] = (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_tzname"].apply(null, arguments);
  24674. });
  24675. var _emscripten_replace_memory = Module["_emscripten_replace_memory"] = (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"]["_emscripten_replace_memory"].apply(null, arguments);
  24679. });
  24680. var _fflush = Module["_fflush"] = (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"]["_fflush"].apply(null, arguments);
  24684. });
  24685. var _free = Module["_free"] = (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"]["_free"].apply(null, arguments);
  24689. });
  24690. var _htonl = Module["_htonl"] = (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"]["_htonl"].apply(null, arguments);
  24694. });
  24695. var _htons = Module["_htons"] = (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"]["_htons"].apply(null, arguments);
  24699. });
  24700. var _i64Add = Module["_i64Add"] = (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"]["_i64Add"].apply(null, arguments);
  24704. });
  24705. var _llvm_bswap_i16 = Module["_llvm_bswap_i16"] = (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"]["_llvm_bswap_i16"].apply(null, arguments);
  24709. });
  24710. var _llvm_bswap_i32 = Module["_llvm_bswap_i32"] = (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"]["_llvm_bswap_i32"].apply(null, arguments);
  24714. });
  24715. var _llvm_ctlz_i64 = Module["_llvm_ctlz_i64"] = (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"]["_llvm_ctlz_i64"].apply(null, arguments);
  24719. });
  24720. var _llvm_ctpop_i32 = Module["_llvm_ctpop_i32"] = (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_ctpop_i32"].apply(null, arguments);
  24724. });
  24725. var _llvm_maxnum_f32 = Module["_llvm_maxnum_f32"] = (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_maxnum_f32"].apply(null, arguments);
  24729. });
  24730. var _llvm_maxnum_f64 = Module["_llvm_maxnum_f64"] = (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_maxnum_f64"].apply(null, arguments);
  24734. });
  24735. var _llvm_minnum_f32 = Module["_llvm_minnum_f32"] = (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_minnum_f32"].apply(null, arguments);
  24739. });
  24740. var _llvm_round_f32 = Module["_llvm_round_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_round_f32"].apply(null, arguments);
  24744. });
  24745. var _main = Module["_main"] = (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"]["_main"].apply(null, arguments);
  24749. });
  24750. var _malloc = Module["_malloc"] = (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"]["_malloc"].apply(null, arguments);
  24754. });
  24755. var _memalign = Module["_memalign"] = (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"]["_memalign"].apply(null, arguments);
  24759. });
  24760. var _memcpy = Module["_memcpy"] = (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"]["_memcpy"].apply(null, arguments);
  24764. });
  24765. var _memmove = Module["_memmove"] = (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"]["_memmove"].apply(null, arguments);
  24769. });
  24770. var _memset = Module["_memset"] = (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"]["_memset"].apply(null, arguments);
  24774. });
  24775. var _ntohs = Module["_ntohs"] = (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"]["_ntohs"].apply(null, arguments);
  24779. });
  24780. var _pthread_cond_broadcast = Module["_pthread_cond_broadcast"] = (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"]["_pthread_cond_broadcast"].apply(null, arguments);
  24784. });
  24785. var _pthread_mutex_lock = Module["_pthread_mutex_lock"] = (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"]["_pthread_mutex_lock"].apply(null, arguments);
  24789. });
  24790. var _pthread_mutex_unlock = Module["_pthread_mutex_unlock"] = (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"]["_pthread_mutex_unlock"].apply(null, arguments);
  24794. });
  24795. var _realloc = Module["_realloc"] = (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"]["_realloc"].apply(null, arguments);
  24799. });
  24800. var _sbrk = Module["_sbrk"] = (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"]["_sbrk"].apply(null, arguments);
  24804. });
  24805. var _strlen = Module["_strlen"] = (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"]["_strlen"].apply(null, arguments);
  24809. });
  24810. var establishStackSpace = Module["establishStackSpace"] = (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"]["establishStackSpace"].apply(null, arguments);
  24814. });
  24815. var getTempRet0 = Module["getTempRet0"] = (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"]["getTempRet0"].apply(null, arguments);
  24819. });
  24820. var runPostSets = Module["runPostSets"] = (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"]["runPostSets"].apply(null, arguments);
  24824. });
  24825. var setTempRet0 = Module["setTempRet0"] = (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"]["setTempRet0"].apply(null, arguments);
  24829. });
  24830. var setThrew = Module["setThrew"] = (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"]["setThrew"].apply(null, arguments);
  24834. });
  24835. var stackAlloc = Module["stackAlloc"] = (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"]["stackAlloc"].apply(null, arguments);
  24839. });
  24840. var stackRestore = Module["stackRestore"] = (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"]["stackRestore"].apply(null, arguments);
  24844. });
  24845. var stackSave = Module["stackSave"] = (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"]["stackSave"].apply(null, arguments);
  24849. });
  24850. var dynCall_dddi = Module["dynCall_dddi"] = (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"]["dynCall_dddi"].apply(null, arguments);
  24854. });
  24855. var dynCall_ddi = Module["dynCall_ddi"] = (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"]["dynCall_ddi"].apply(null, arguments);
  24859. });
  24860. var dynCall_dfi = Module["dynCall_dfi"] = (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"]["dynCall_dfi"].apply(null, arguments);
  24864. });
  24865. var dynCall_di = Module["dynCall_di"] = (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_di"].apply(null, arguments);
  24869. });
  24870. var dynCall_diddi = Module["dynCall_diddi"] = (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_diddi"].apply(null, arguments);
  24874. });
  24875. var dynCall_didi = Module["dynCall_didi"] = (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_didi"].apply(null, arguments);
  24879. });
  24880. var dynCall_dii = Module["dynCall_dii"] = (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_dii"].apply(null, arguments);
  24884. });
  24885. var dynCall_diii = Module["dynCall_diii"] = (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_diii"].apply(null, arguments);
  24889. });
  24890. var dynCall_diiii = Module["dynCall_diiii"] = (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_diiii"].apply(null, arguments);
  24894. });
  24895. var dynCall_dji = Module["dynCall_dji"] = (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_dji"].apply(null, arguments);
  24899. });
  24900. var dynCall_f = Module["dynCall_f"] = (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_f"].apply(null, arguments);
  24904. });
  24905. var dynCall_fdi = Module["dynCall_fdi"] = (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_fdi"].apply(null, arguments);
  24909. });
  24910. var dynCall_ff = Module["dynCall_ff"] = (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_ff"].apply(null, arguments);
  24914. });
  24915. var dynCall_fff = Module["dynCall_fff"] = (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_fff"].apply(null, arguments);
  24919. });
  24920. var dynCall_ffffi = Module["dynCall_ffffi"] = (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_ffffi"].apply(null, arguments);
  24924. });
  24925. var dynCall_fffi = Module["dynCall_fffi"] = (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_fffi"].apply(null, arguments);
  24929. });
  24930. var dynCall_fffifffi = Module["dynCall_fffifffi"] = (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_fffifffi"].apply(null, arguments);
  24934. });
  24935. var dynCall_ffi = Module["dynCall_ffi"] = (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_ffi"].apply(null, arguments);
  24939. });
  24940. var dynCall_fi = Module["dynCall_fi"] = (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_fi"].apply(null, arguments);
  24944. });
  24945. var dynCall_fif = Module["dynCall_fif"] = (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_fif"].apply(null, arguments);
  24949. });
  24950. var dynCall_fiff = Module["dynCall_fiff"] = (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_fiff"].apply(null, arguments);
  24954. });
  24955. var dynCall_fiffi = Module["dynCall_fiffi"] = (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_fiffi"].apply(null, arguments);
  24959. });
  24960. var dynCall_fifi = Module["dynCall_fifi"] = (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_fifi"].apply(null, arguments);
  24964. });
  24965. var dynCall_fifii = Module["dynCall_fifii"] = (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_fifii"].apply(null, arguments);
  24969. });
  24970. var dynCall_fii = Module["dynCall_fii"] = (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_fii"].apply(null, arguments);
  24974. });
  24975. var dynCall_fiifi = Module["dynCall_fiifi"] = (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_fiifi"].apply(null, arguments);
  24979. });
  24980. var dynCall_fiifii = Module["dynCall_fiifii"] = (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_fiifii"].apply(null, arguments);
  24984. });
  24985. var dynCall_fiii = Module["dynCall_fiii"] = (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_fiii"].apply(null, arguments);
  24989. });
  24990. var dynCall_fiiii = Module["dynCall_fiiii"] = (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_fiiii"].apply(null, arguments);
  24994. });
  24995. var dynCall_fiiiiiifiifif = Module["dynCall_fiiiiiifiifif"] = (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_fiiiiiifiifif"].apply(null, arguments);
  24999. });
  25000. var dynCall_fiiiiiifiiiif = Module["dynCall_fiiiiiifiiiif"] = (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_fiiiiiifiiiif"].apply(null, arguments);
  25004. });
  25005. var dynCall_fji = Module["dynCall_fji"] = (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_fji"].apply(null, arguments);
  25009. });
  25010. var dynCall_i = Module["dynCall_i"] = (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_i"].apply(null, arguments);
  25014. });
  25015. var dynCall_idi = Module["dynCall_idi"] = (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_idi"].apply(null, arguments);
  25019. });
  25020. var dynCall_idiii = Module["dynCall_idiii"] = (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_idiii"].apply(null, arguments);
  25024. });
  25025. var dynCall_ifffi = Module["dynCall_ifffi"] = (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_ifffi"].apply(null, arguments);
  25029. });
  25030. var dynCall_iffi = Module["dynCall_iffi"] = (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_iffi"].apply(null, arguments);
  25034. });
  25035. var dynCall_ifi = Module["dynCall_ifi"] = (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_ifi"].apply(null, arguments);
  25039. });
  25040. var dynCall_ifiii = Module["dynCall_ifiii"] = (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_ifiii"].apply(null, arguments);
  25044. });
  25045. var dynCall_ii = Module["dynCall_ii"] = (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_ii"].apply(null, arguments);
  25049. });
  25050. var dynCall_iidi = Module["dynCall_iidi"] = (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_iidi"].apply(null, arguments);
  25054. });
  25055. var dynCall_iidii = Module["dynCall_iidii"] = (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_iidii"].apply(null, arguments);
  25059. });
  25060. var dynCall_iif = Module["dynCall_iif"] = (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_iif"].apply(null, arguments);
  25064. });
  25065. var dynCall_iifff = Module["dynCall_iifff"] = (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_iifff"].apply(null, arguments);
  25069. });
  25070. var dynCall_iifffi = Module["dynCall_iifffi"] = (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_iifffi"].apply(null, arguments);
  25074. });
  25075. var dynCall_iiffi = Module["dynCall_iiffi"] = (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_iiffi"].apply(null, arguments);
  25079. });
  25080. var dynCall_iifi = Module["dynCall_iifi"] = (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_iifi"].apply(null, arguments);
  25084. });
  25085. var dynCall_iifii = Module["dynCall_iifii"] = (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_iifii"].apply(null, arguments);
  25089. });
  25090. var dynCall_iifiii = Module["dynCall_iifiii"] = (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_iifiii"].apply(null, arguments);
  25094. });
  25095. var dynCall_iifiiiijii = Module["dynCall_iifiiiijii"] = (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_iifiiiijii"].apply(null, arguments);
  25099. });
  25100. var dynCall_iii = Module["dynCall_iii"] = (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_iii"].apply(null, arguments);
  25104. });
  25105. var dynCall_iiif = Module["dynCall_iiif"] = (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_iiif"].apply(null, arguments);
  25109. });
  25110. var dynCall_iiiff = Module["dynCall_iiiff"] = (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_iiiff"].apply(null, arguments);
  25114. });
  25115. var dynCall_iiifi = Module["dynCall_iiifi"] = (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_iiifi"].apply(null, arguments);
  25119. });
  25120. var dynCall_iiifii = Module["dynCall_iiifii"] = (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_iiifii"].apply(null, arguments);
  25124. });
  25125. var dynCall_iiifiii = Module["dynCall_iiifiii"] = (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_iiifiii"].apply(null, arguments);
  25129. });
  25130. var dynCall_iiifiiii = Module["dynCall_iiifiiii"] = (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_iiifiiii"].apply(null, arguments);
  25134. });
  25135. var dynCall_iiii = Module["dynCall_iiii"] = (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_iiii"].apply(null, arguments);
  25139. });
  25140. var dynCall_iiiifffffi = Module["dynCall_iiiifffffi"] = (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_iiiifffffi"].apply(null, arguments);
  25144. });
  25145. var dynCall_iiiifffffii = Module["dynCall_iiiifffffii"] = (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_iiiifffffii"].apply(null, arguments);
  25149. });
  25150. var dynCall_iiiifffiii = Module["dynCall_iiiifffiii"] = (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_iiiifffiii"].apply(null, arguments);
  25154. });
  25155. var dynCall_iiiifi = Module["dynCall_iiiifi"] = (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_iiiifi"].apply(null, arguments);
  25159. });
  25160. var dynCall_iiiifii = Module["dynCall_iiiifii"] = (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_iiiifii"].apply(null, arguments);
  25164. });
  25165. var dynCall_iiiifiii = Module["dynCall_iiiifiii"] = (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_iiiifiii"].apply(null, arguments);
  25169. });
  25170. var dynCall_iiiifiiii = Module["dynCall_iiiifiiii"] = (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_iiiifiiii"].apply(null, arguments);
  25174. });
  25175. var dynCall_iiiifiiiii = Module["dynCall_iiiifiiiii"] = (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_iiiifiiiii"].apply(null, arguments);
  25179. });
  25180. var dynCall_iiiii = Module["dynCall_iiiii"] = (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_iiiii"].apply(null, arguments);
  25184. });
  25185. var dynCall_iiiiifiii = Module["dynCall_iiiiifiii"] = (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_iiiiifiii"].apply(null, arguments);
  25189. });
  25190. var dynCall_iiiiifiiiiif = Module["dynCall_iiiiifiiiiif"] = (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_iiiiifiiiiif"].apply(null, arguments);
  25194. });
  25195. var dynCall_iiiiii = Module["dynCall_iiiiii"] = (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_iiiiii"].apply(null, arguments);
  25199. });
  25200. var dynCall_iiiiiifff = Module["dynCall_iiiiiifff"] = (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_iiiiiifff"].apply(null, arguments);
  25204. });
  25205. var dynCall_iiiiiifffiiifiii = Module["dynCall_iiiiiifffiiifiii"] = (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_iiiiiifffiiifiii"].apply(null, arguments);
  25209. });
  25210. var dynCall_iiiiiiffiiiiiiiiiffffiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiii"] = (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_iiiiiiffiiiiiiiiiffffiii"].apply(null, arguments);
  25214. });
  25215. var dynCall_iiiiiiffiiiiiiiiiffffiiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiiii"] = (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_iiiiiiffiiiiiiiiiffffiiii"].apply(null, arguments);
  25219. });
  25220. var dynCall_iiiiiiffiiiiiiiiiiiiiii = Module["dynCall_iiiiiiffiiiiiiiiiiiiiii"] = (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_iiiiiiffiiiiiiiiiiiiiii"].apply(null, arguments);
  25224. });
  25225. var dynCall_iiiiiifiif = Module["dynCall_iiiiiifiif"] = (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_iiiiiifiif"].apply(null, arguments);
  25229. });
  25230. var dynCall_iiiiiifiii = Module["dynCall_iiiiiifiii"] = (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_iiiiiifiii"].apply(null, arguments);
  25234. });
  25235. var dynCall_iiiiiii = Module["dynCall_iiiiiii"] = (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_iiiiiii"].apply(null, arguments);
  25239. });
  25240. var dynCall_iiiiiiifiif = Module["dynCall_iiiiiiifiif"] = (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_iiiiiiifiif"].apply(null, arguments);
  25244. });
  25245. var dynCall_iiiiiiii = Module["dynCall_iiiiiiii"] = (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_iiiiiiii"].apply(null, arguments);
  25249. });
  25250. var dynCall_iiiiiiiii = Module["dynCall_iiiiiiiii"] = (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_iiiiiiiii"].apply(null, arguments);
  25254. });
  25255. var dynCall_iiiiiiiiii = Module["dynCall_iiiiiiiiii"] = (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_iiiiiiiiii"].apply(null, arguments);
  25259. });
  25260. var dynCall_iiiiiiiiiii = Module["dynCall_iiiiiiiiiii"] = (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_iiiiiiiiiii"].apply(null, arguments);
  25264. });
  25265. var dynCall_iiiiiiiiiiii = Module["dynCall_iiiiiiiiiiii"] = (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_iiiiiiiiiiii"].apply(null, arguments);
  25269. });
  25270. var dynCall_iiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiii"] = (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_iiiiiiiiiiiii"].apply(null, arguments);
  25274. });
  25275. var dynCall_iiiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiiii"] = (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_iiiiiiiiiiiiii"].apply(null, arguments);
  25279. });
  25280. var dynCall_iiiiiji = Module["dynCall_iiiiiji"] = (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_iiiiiji"].apply(null, arguments);
  25284. });
  25285. var dynCall_iiiij = Module["dynCall_iiiij"] = (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_iiiij"].apply(null, arguments);
  25289. });
  25290. var dynCall_iiiiji = Module["dynCall_iiiiji"] = (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_iiiiji"].apply(null, arguments);
  25294. });
  25295. var dynCall_iiiijii = Module["dynCall_iiiijii"] = (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_iiiijii"].apply(null, arguments);
  25299. });
  25300. var dynCall_iiiijiii = Module["dynCall_iiiijiii"] = (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_iiiijiii"].apply(null, arguments);
  25304. });
  25305. var dynCall_iiij = Module["dynCall_iiij"] = (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_iiij"].apply(null, arguments);
  25309. });
  25310. var dynCall_iiiji = Module["dynCall_iiiji"] = (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_iiiji"].apply(null, arguments);
  25314. });
  25315. var dynCall_iiijii = Module["dynCall_iiijii"] = (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_iiijii"].apply(null, arguments);
  25319. });
  25320. var dynCall_iiijiii = Module["dynCall_iiijiii"] = (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_iiijiii"].apply(null, arguments);
  25324. });
  25325. var dynCall_iij = Module["dynCall_iij"] = (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_iij"].apply(null, arguments);
  25329. });
  25330. var dynCall_iiji = Module["dynCall_iiji"] = (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_iiji"].apply(null, arguments);
  25334. });
  25335. var dynCall_iijii = Module["dynCall_iijii"] = (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_iijii"].apply(null, arguments);
  25339. });
  25340. var dynCall_iijiii = Module["dynCall_iijiii"] = (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_iijiii"].apply(null, arguments);
  25344. });
  25345. var dynCall_iijji = Module["dynCall_iijji"] = (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_iijji"].apply(null, arguments);
  25349. });
  25350. var dynCall_iijjii = Module["dynCall_iijjii"] = (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_iijjii"].apply(null, arguments);
  25354. });
  25355. var dynCall_iijjiii = Module["dynCall_iijjiii"] = (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_iijjiii"].apply(null, arguments);
  25359. });
  25360. var dynCall_iijjji = Module["dynCall_iijjji"] = (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_iijjji"].apply(null, arguments);
  25364. });
  25365. var dynCall_ij = Module["dynCall_ij"] = (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_ij"].apply(null, arguments);
  25369. });
  25370. var dynCall_iji = Module["dynCall_iji"] = (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_iji"].apply(null, arguments);
  25374. });
  25375. var dynCall_ijiii = Module["dynCall_ijiii"] = (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_ijiii"].apply(null, arguments);
  25379. });
  25380. var dynCall_ijj = Module["dynCall_ijj"] = (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_ijj"].apply(null, arguments);
  25384. });
  25385. var dynCall_ijji = Module["dynCall_ijji"] = (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_ijji"].apply(null, arguments);
  25389. });
  25390. var dynCall_j = Module["dynCall_j"] = (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_j"].apply(null, arguments);
  25394. });
  25395. var dynCall_jdi = Module["dynCall_jdi"] = (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_jdi"].apply(null, arguments);
  25399. });
  25400. var dynCall_jdii = Module["dynCall_jdii"] = (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_jdii"].apply(null, arguments);
  25404. });
  25405. var dynCall_jfi = Module["dynCall_jfi"] = (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_jfi"].apply(null, arguments);
  25409. });
  25410. var dynCall_ji = Module["dynCall_ji"] = (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_ji"].apply(null, arguments);
  25414. });
  25415. var dynCall_jidi = Module["dynCall_jidi"] = (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_jidi"].apply(null, arguments);
  25419. });
  25420. var dynCall_jidii = Module["dynCall_jidii"] = (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_jidii"].apply(null, arguments);
  25424. });
  25425. var dynCall_jii = Module["dynCall_jii"] = (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_jii"].apply(null, arguments);
  25429. });
  25430. var dynCall_jiii = Module["dynCall_jiii"] = (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_jiii"].apply(null, arguments);
  25434. });
  25435. var dynCall_jiiii = Module["dynCall_jiiii"] = (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_jiiii"].apply(null, arguments);
  25439. });
  25440. var dynCall_jiiiii = Module["dynCall_jiiiii"] = (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_jiiiii"].apply(null, arguments);
  25444. });
  25445. var dynCall_jiiiiii = Module["dynCall_jiiiiii"] = (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_jiiiiii"].apply(null, arguments);
  25449. });
  25450. var dynCall_jiiiiiiiiii = Module["dynCall_jiiiiiiiiii"] = (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_jiiiiiiiiii"].apply(null, arguments);
  25454. });
  25455. var dynCall_jiiji = Module["dynCall_jiiji"] = (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_jiiji"].apply(null, arguments);
  25459. });
  25460. var dynCall_jiji = Module["dynCall_jiji"] = (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_jiji"].apply(null, arguments);
  25464. });
  25465. var dynCall_jijii = Module["dynCall_jijii"] = (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_jijii"].apply(null, arguments);
  25469. });
  25470. var dynCall_jijiii = Module["dynCall_jijiii"] = (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_jijiii"].apply(null, arguments);
  25474. });
  25475. var dynCall_jijj = Module["dynCall_jijj"] = (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_jijj"].apply(null, arguments);
  25479. });
  25480. var dynCall_jijji = Module["dynCall_jijji"] = (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_jijji"].apply(null, arguments);
  25484. });
  25485. var dynCall_jji = Module["dynCall_jji"] = (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_jji"].apply(null, arguments);
  25489. });
  25490. var dynCall_v = Module["dynCall_v"] = (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_v"].apply(null, arguments);
  25494. });
  25495. var dynCall_vd = Module["dynCall_vd"] = (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_vd"].apply(null, arguments);
  25499. });
  25500. var dynCall_vf = Module["dynCall_vf"] = (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_vf"].apply(null, arguments);
  25504. });
  25505. var dynCall_vff = Module["dynCall_vff"] = (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_vff"].apply(null, arguments);
  25509. });
  25510. var dynCall_vffff = Module["dynCall_vffff"] = (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_vffff"].apply(null, arguments);
  25514. });
  25515. var dynCall_vfi = Module["dynCall_vfi"] = (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_vfi"].apply(null, arguments);
  25519. });
  25520. var dynCall_vfii = Module["dynCall_vfii"] = (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_vfii"].apply(null, arguments);
  25524. });
  25525. var dynCall_vfiii = Module["dynCall_vfiii"] = (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_vfiii"].apply(null, arguments);
  25529. });
  25530. var dynCall_vi = Module["dynCall_vi"] = (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_vi"].apply(null, arguments);
  25534. });
  25535. var dynCall_vid = Module["dynCall_vid"] = (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_vid"].apply(null, arguments);
  25539. });
  25540. var dynCall_vidi = Module["dynCall_vidi"] = (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_vidi"].apply(null, arguments);
  25544. });
  25545. var dynCall_vif = Module["dynCall_vif"] = (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_vif"].apply(null, arguments);
  25549. });
  25550. var dynCall_viff = Module["dynCall_viff"] = (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_viff"].apply(null, arguments);
  25554. });
  25555. var dynCall_vifff = Module["dynCall_vifff"] = (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_vifff"].apply(null, arguments);
  25559. });
  25560. var dynCall_viffff = Module["dynCall_viffff"] = (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_viffff"].apply(null, arguments);
  25564. });
  25565. var dynCall_viffffi = Module["dynCall_viffffi"] = (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_viffffi"].apply(null, arguments);
  25569. });
  25570. var dynCall_viffffii = Module["dynCall_viffffii"] = (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_viffffii"].apply(null, arguments);
  25574. });
  25575. var dynCall_viffffiifffiiiiif = Module["dynCall_viffffiifffiiiiif"] = (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_viffffiifffiiiiif"].apply(null, arguments);
  25579. });
  25580. var dynCall_vifffi = Module["dynCall_vifffi"] = (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_vifffi"].apply(null, arguments);
  25584. });
  25585. var dynCall_vifffii = Module["dynCall_vifffii"] = (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_vifffii"].apply(null, arguments);
  25589. });
  25590. var dynCall_viffi = Module["dynCall_viffi"] = (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_viffi"].apply(null, arguments);
  25594. });
  25595. var dynCall_viffii = Module["dynCall_viffii"] = (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_viffii"].apply(null, arguments);
  25599. });
  25600. var dynCall_viffiifffffiii = Module["dynCall_viffiifffffiii"] = (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_viffiifffffiii"].apply(null, arguments);
  25604. });
  25605. var dynCall_viffiii = Module["dynCall_viffiii"] = (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_viffiii"].apply(null, arguments);
  25609. });
  25610. var dynCall_viffiiiif = Module["dynCall_viffiiiif"] = (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_viffiiiif"].apply(null, arguments);
  25614. });
  25615. var dynCall_vifi = Module["dynCall_vifi"] = (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_vifi"].apply(null, arguments);
  25619. });
  25620. var dynCall_vifii = Module["dynCall_vifii"] = (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_vifii"].apply(null, arguments);
  25624. });
  25625. var dynCall_vifiiii = Module["dynCall_vifiiii"] = (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_vifiiii"].apply(null, arguments);
  25629. });
  25630. var dynCall_vifijii = Module["dynCall_vifijii"] = (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_vifijii"].apply(null, arguments);
  25634. });
  25635. var dynCall_vii = Module["dynCall_vii"] = (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_vii"].apply(null, arguments);
  25639. });
  25640. var dynCall_viid = Module["dynCall_viid"] = (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_viid"].apply(null, arguments);
  25644. });
  25645. var dynCall_viidi = Module["dynCall_viidi"] = (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_viidi"].apply(null, arguments);
  25649. });
  25650. var dynCall_viidii = Module["dynCall_viidii"] = (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_viidii"].apply(null, arguments);
  25654. });
  25655. var dynCall_viif = Module["dynCall_viif"] = (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_viif"].apply(null, arguments);
  25659. });
  25660. var dynCall_viiff = Module["dynCall_viiff"] = (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_viiff"].apply(null, arguments);
  25664. });
  25665. var dynCall_viifff = Module["dynCall_viifff"] = (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_viifff"].apply(null, arguments);
  25669. });
  25670. var dynCall_viifffi = Module["dynCall_viifffi"] = (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_viifffi"].apply(null, arguments);
  25674. });
  25675. var dynCall_viiffi = Module["dynCall_viiffi"] = (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_viiffi"].apply(null, arguments);
  25679. });
  25680. var dynCall_viifi = Module["dynCall_viifi"] = (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_viifi"].apply(null, arguments);
  25684. });
  25685. var dynCall_viifii = Module["dynCall_viifii"] = (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_viifii"].apply(null, arguments);
  25689. });
  25690. var dynCall_viifiii = Module["dynCall_viifiii"] = (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_viifiii"].apply(null, arguments);
  25694. });
  25695. var dynCall_viifiiii = Module["dynCall_viifiiii"] = (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_viifiiii"].apply(null, arguments);
  25699. });
  25700. var dynCall_viii = Module["dynCall_viii"] = (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_viii"].apply(null, arguments);
  25704. });
  25705. var dynCall_viiidi = Module["dynCall_viiidi"] = (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_viiidi"].apply(null, arguments);
  25709. });
  25710. var dynCall_viiifffi = Module["dynCall_viiifffi"] = (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_viiifffi"].apply(null, arguments);
  25714. });
  25715. var dynCall_viiiffi = Module["dynCall_viiiffi"] = (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_viiiffi"].apply(null, arguments);
  25719. });
  25720. var dynCall_viiiffii = Module["dynCall_viiiffii"] = (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_viiiffii"].apply(null, arguments);
  25724. });
  25725. var dynCall_viiifi = Module["dynCall_viiifi"] = (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_viiifi"].apply(null, arguments);
  25729. });
  25730. var dynCall_viiifii = Module["dynCall_viiifii"] = (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_viiifii"].apply(null, arguments);
  25734. });
  25735. var dynCall_viiifiii = Module["dynCall_viiifiii"] = (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_viiifiii"].apply(null, arguments);
  25739. });
  25740. var dynCall_viiifiiiii = Module["dynCall_viiifiiiii"] = (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_viiifiiiii"].apply(null, arguments);
  25744. });
  25745. var dynCall_viiii = Module["dynCall_viiii"] = (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_viiii"].apply(null, arguments);
  25749. });
  25750. var dynCall_viiiif = Module["dynCall_viiiif"] = (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_viiiif"].apply(null, arguments);
  25754. });
  25755. var dynCall_viiiiffi = Module["dynCall_viiiiffi"] = (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_viiiiffi"].apply(null, arguments);
  25759. });
  25760. var dynCall_viiiifii = Module["dynCall_viiiifii"] = (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_viiiifii"].apply(null, arguments);
  25764. });
  25765. var dynCall_viiiifiiiiif = Module["dynCall_viiiifiiiiif"] = (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_viiiifiiiiif"].apply(null, arguments);
  25769. });
  25770. var dynCall_viiiii = Module["dynCall_viiiii"] = (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_viiiii"].apply(null, arguments);
  25774. });
  25775. var dynCall_viiiiif = Module["dynCall_viiiiif"] = (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_viiiiif"].apply(null, arguments);
  25779. });
  25780. var dynCall_viiiiiffi = Module["dynCall_viiiiiffi"] = (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_viiiiiffi"].apply(null, arguments);
  25784. });
  25785. var dynCall_viiiiiffii = Module["dynCall_viiiiiffii"] = (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_viiiiiffii"].apply(null, arguments);
  25789. });
  25790. var dynCall_viiiiifi = Module["dynCall_viiiiifi"] = (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_viiiiifi"].apply(null, arguments);
  25794. });
  25795. var dynCall_viiiiii = Module["dynCall_viiiiii"] = (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_viiiiii"].apply(null, arguments);
  25799. });
  25800. var dynCall_viiiiiif = Module["dynCall_viiiiiif"] = (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_viiiiiif"].apply(null, arguments);
  25804. });
  25805. var dynCall_viiiiiii = Module["dynCall_viiiiiii"] = (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_viiiiiii"].apply(null, arguments);
  25809. });
  25810. var dynCall_viiiiiiifi = Module["dynCall_viiiiiiifi"] = (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_viiiiiiifi"].apply(null, arguments);
  25814. });
  25815. var dynCall_viiiiiiii = Module["dynCall_viiiiiiii"] = (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_viiiiiiii"].apply(null, arguments);
  25819. });
  25820. var dynCall_viiiiiiiii = Module["dynCall_viiiiiiiii"] = (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_viiiiiiiii"].apply(null, arguments);
  25824. });
  25825. var dynCall_viiiiiiiiii = Module["dynCall_viiiiiiiiii"] = (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_viiiiiiiiii"].apply(null, arguments);
  25829. });
  25830. var dynCall_viiiiiiiiiii = Module["dynCall_viiiiiiiiiii"] = (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_viiiiiiiiiii"].apply(null, arguments);
  25834. });
  25835. var dynCall_viiiiiiiiiiifii = Module["dynCall_viiiiiiiiiiifii"] = (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_viiiiiiiiiiifii"].apply(null, arguments);
  25839. });
  25840. var dynCall_viiiiiiiiiiii = Module["dynCall_viiiiiiiiiiii"] = (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_viiiiiiiiiiii"].apply(null, arguments);
  25844. });
  25845. var dynCall_viiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiii"] = (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_viiiiiiiiiiiiii"].apply(null, arguments);
  25849. });
  25850. var dynCall_viiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiii"] = (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_viiiiiiiiiiiiiii"].apply(null, arguments);
  25854. });
  25855. var dynCall_viiiiiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiiiiii"] = (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_viiiiiiiiiiiiiiiiii"].apply(null, arguments);
  25859. });
  25860. var dynCall_viiiiiji = Module["dynCall_viiiiiji"] = (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_viiiiiji"].apply(null, arguments);
  25864. });
  25865. var dynCall_viiiij = Module["dynCall_viiiij"] = (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_viiiij"].apply(null, arguments);
  25869. });
  25870. var dynCall_viiiijiiii = Module["dynCall_viiiijiiii"] = (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_viiiijiiii"].apply(null, arguments);
  25874. });
  25875. var dynCall_viiiji = Module["dynCall_viiiji"] = (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_viiiji"].apply(null, arguments);
  25879. });
  25880. var dynCall_viiijji = Module["dynCall_viiijji"] = (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_viiijji"].apply(null, arguments);
  25884. });
  25885. var dynCall_viij = Module["dynCall_viij"] = (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_viij"].apply(null, arguments);
  25889. });
  25890. var dynCall_viiji = Module["dynCall_viiji"] = (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_viiji"].apply(null, arguments);
  25894. });
  25895. var dynCall_viijii = Module["dynCall_viijii"] = (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_viijii"].apply(null, arguments);
  25899. });
  25900. var dynCall_viijiijiii = Module["dynCall_viijiijiii"] = (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_viijiijiii"].apply(null, arguments);
  25904. });
  25905. var dynCall_viijijii = Module["dynCall_viijijii"] = (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_viijijii"].apply(null, arguments);
  25909. });
  25910. var dynCall_viijijiii = Module["dynCall_viijijiii"] = (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_viijijiii"].apply(null, arguments);
  25914. });
  25915. var dynCall_viijijj = Module["dynCall_viijijj"] = (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_viijijj"].apply(null, arguments);
  25919. });
  25920. var dynCall_viijj = Module["dynCall_viijj"] = (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_viijj"].apply(null, arguments);
  25924. });
  25925. var dynCall_viijji = Module["dynCall_viijji"] = (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_viijji"].apply(null, arguments);
  25929. });
  25930. var dynCall_viijjiii = Module["dynCall_viijjiii"] = (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_viijjiii"].apply(null, arguments);
  25934. });
  25935. var dynCall_viijjji = Module["dynCall_viijjji"] = (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_viijjji"].apply(null, arguments);
  25939. });
  25940. var dynCall_vij = Module["dynCall_vij"] = (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_vij"].apply(null, arguments);
  25944. });
  25945. var dynCall_viji = Module["dynCall_viji"] = (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_viji"].apply(null, arguments);
  25949. });
  25950. var dynCall_vijii = Module["dynCall_vijii"] = (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_vijii"].apply(null, arguments);
  25954. });
  25955. var dynCall_vijiii = Module["dynCall_vijiii"] = (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_vijiii"].apply(null, arguments);
  25959. });
  25960. var dynCall_vijiji = Module["dynCall_vijiji"] = (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_vijiji"].apply(null, arguments);
  25964. });
  25965. var dynCall_vijijji = Module["dynCall_vijijji"] = (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_vijijji"].apply(null, arguments);
  25969. });
  25970. var dynCall_vijji = Module["dynCall_vijji"] = (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_vijji"].apply(null, arguments);
  25974. });
  25975. var dynCall_vijjii = Module["dynCall_vijjii"] = (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_vijjii"].apply(null, arguments);
  25979. });
  25980. var dynCall_vji = Module["dynCall_vji"] = (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_vji"].apply(null, arguments);
  25984. });
  25985. var dynCall_vjiiii = Module["dynCall_vjiiii"] = (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_vjiiii"].apply(null, arguments);
  25989. });
  25990. var dynCall_vjji = Module["dynCall_vjji"] = (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_vjji"].apply(null, arguments);
  25994. });
  25995. Module["asm"] = asm;
  25996. if (!Module["intArrayFromString"]) Module["intArrayFromString"] = (function() {
  25997. abort("'intArrayFromString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  25998. });
  25999. if (!Module["intArrayToString"]) Module["intArrayToString"] = (function() {
  26000. abort("'intArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26001. });
  26002. Module["ccall"] = ccall;
  26003. Module["cwrap"] = cwrap;
  26004. if (!Module["setValue"]) Module["setValue"] = (function() {
  26005. abort("'setValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26006. });
  26007. if (!Module["getValue"]) Module["getValue"] = (function() {
  26008. abort("'getValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26009. });
  26010. if (!Module["allocate"]) Module["allocate"] = (function() {
  26011. abort("'allocate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26012. });
  26013. if (!Module["getMemory"]) Module["getMemory"] = (function() {
  26014. 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");
  26015. });
  26016. if (!Module["Pointer_stringify"]) Module["Pointer_stringify"] = (function() {
  26017. abort("'Pointer_stringify' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26018. });
  26019. if (!Module["AsciiToString"]) Module["AsciiToString"] = (function() {
  26020. abort("'AsciiToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26021. });
  26022. if (!Module["stringToAscii"]) Module["stringToAscii"] = (function() {
  26023. abort("'stringToAscii' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26024. });
  26025. if (!Module["UTF8ArrayToString"]) Module["UTF8ArrayToString"] = (function() {
  26026. abort("'UTF8ArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26027. });
  26028. if (!Module["UTF8ToString"]) Module["UTF8ToString"] = (function() {
  26029. abort("'UTF8ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26030. });
  26031. if (!Module["stringToUTF8Array"]) Module["stringToUTF8Array"] = (function() {
  26032. abort("'stringToUTF8Array' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26033. });
  26034. if (!Module["stringToUTF8"]) Module["stringToUTF8"] = (function() {
  26035. abort("'stringToUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26036. });
  26037. if (!Module["lengthBytesUTF8"]) Module["lengthBytesUTF8"] = (function() {
  26038. abort("'lengthBytesUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26039. });
  26040. if (!Module["UTF16ToString"]) Module["UTF16ToString"] = (function() {
  26041. abort("'UTF16ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26042. });
  26043. if (!Module["stringToUTF16"]) Module["stringToUTF16"] = (function() {
  26044. abort("'stringToUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26045. });
  26046. if (!Module["lengthBytesUTF16"]) Module["lengthBytesUTF16"] = (function() {
  26047. abort("'lengthBytesUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26048. });
  26049. if (!Module["UTF32ToString"]) Module["UTF32ToString"] = (function() {
  26050. abort("'UTF32ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26051. });
  26052. if (!Module["stringToUTF32"]) Module["stringToUTF32"] = (function() {
  26053. abort("'stringToUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26054. });
  26055. if (!Module["lengthBytesUTF32"]) Module["lengthBytesUTF32"] = (function() {
  26056. abort("'lengthBytesUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26057. });
  26058. if (!Module["allocateUTF8"]) Module["allocateUTF8"] = (function() {
  26059. abort("'allocateUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26060. });
  26061. Module["stackTrace"] = stackTrace;
  26062. if (!Module["addOnPreRun"]) Module["addOnPreRun"] = (function() {
  26063. abort("'addOnPreRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26064. });
  26065. if (!Module["addOnInit"]) Module["addOnInit"] = (function() {
  26066. abort("'addOnInit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26067. });
  26068. if (!Module["addOnPreMain"]) Module["addOnPreMain"] = (function() {
  26069. abort("'addOnPreMain' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26070. });
  26071. if (!Module["addOnExit"]) Module["addOnExit"] = (function() {
  26072. abort("'addOnExit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26073. });
  26074. if (!Module["addOnPostRun"]) Module["addOnPostRun"] = (function() {
  26075. abort("'addOnPostRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26076. });
  26077. if (!Module["writeStringToMemory"]) Module["writeStringToMemory"] = (function() {
  26078. abort("'writeStringToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26079. });
  26080. if (!Module["writeArrayToMemory"]) Module["writeArrayToMemory"] = (function() {
  26081. abort("'writeArrayToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26082. });
  26083. if (!Module["writeAsciiToMemory"]) Module["writeAsciiToMemory"] = (function() {
  26084. abort("'writeAsciiToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26085. });
  26086. Module["addRunDependency"] = addRunDependency;
  26087. Module["removeRunDependency"] = removeRunDependency;
  26088. if (!Module["ENV"]) Module["ENV"] = (function() {
  26089. abort("'ENV' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26090. });
  26091. if (!Module["FS"]) Module["FS"] = (function() {
  26092. abort("'FS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26093. });
  26094. if (!Module["FS_createFolder"]) Module["FS_createFolder"] = (function() {
  26095. 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");
  26096. });
  26097. Module["FS_createPath"] = FS.createPath;
  26098. Module["FS_createDataFile"] = FS.createDataFile;
  26099. if (!Module["FS_createPreloadedFile"]) Module["FS_createPreloadedFile"] = (function() {
  26100. 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");
  26101. });
  26102. if (!Module["FS_createLazyFile"]) Module["FS_createLazyFile"] = (function() {
  26103. 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");
  26104. });
  26105. if (!Module["FS_createLink"]) Module["FS_createLink"] = (function() {
  26106. 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");
  26107. });
  26108. if (!Module["FS_createDevice"]) Module["FS_createDevice"] = (function() {
  26109. 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");
  26110. });
  26111. if (!Module["FS_unlink"]) Module["FS_unlink"] = (function() {
  26112. 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");
  26113. });
  26114. if (!Module["GL"]) Module["GL"] = (function() {
  26115. abort("'GL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26116. });
  26117. if (!Module["staticAlloc"]) Module["staticAlloc"] = (function() {
  26118. abort("'staticAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26119. });
  26120. if (!Module["dynamicAlloc"]) Module["dynamicAlloc"] = (function() {
  26121. abort("'dynamicAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26122. });
  26123. if (!Module["warnOnce"]) Module["warnOnce"] = (function() {
  26124. abort("'warnOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26125. });
  26126. if (!Module["loadDynamicLibrary"]) Module["loadDynamicLibrary"] = (function() {
  26127. abort("'loadDynamicLibrary' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26128. });
  26129. if (!Module["loadWebAssemblyModule"]) Module["loadWebAssemblyModule"] = (function() {
  26130. abort("'loadWebAssemblyModule' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26131. });
  26132. if (!Module["getLEB"]) Module["getLEB"] = (function() {
  26133. abort("'getLEB' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26134. });
  26135. if (!Module["getFunctionTables"]) Module["getFunctionTables"] = (function() {
  26136. abort("'getFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26137. });
  26138. if (!Module["alignFunctionTables"]) Module["alignFunctionTables"] = (function() {
  26139. abort("'alignFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26140. });
  26141. if (!Module["registerFunctions"]) Module["registerFunctions"] = (function() {
  26142. abort("'registerFunctions' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26143. });
  26144. if (!Module["addFunction"]) Module["addFunction"] = (function() {
  26145. abort("'addFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26146. });
  26147. if (!Module["removeFunction"]) Module["removeFunction"] = (function() {
  26148. abort("'removeFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26149. });
  26150. if (!Module["getFuncWrapper"]) Module["getFuncWrapper"] = (function() {
  26151. abort("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26152. });
  26153. if (!Module["prettyPrint"]) Module["prettyPrint"] = (function() {
  26154. abort("'prettyPrint' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26155. });
  26156. if (!Module["makeBigInt"]) Module["makeBigInt"] = (function() {
  26157. abort("'makeBigInt' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26158. });
  26159. if (!Module["dynCall"]) Module["dynCall"] = (function() {
  26160. abort("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26161. });
  26162. if (!Module["getCompilerSetting"]) Module["getCompilerSetting"] = (function() {
  26163. abort("'getCompilerSetting' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26164. });
  26165. if (!Module["stackSave"]) Module["stackSave"] = (function() {
  26166. abort("'stackSave' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26167. });
  26168. if (!Module["stackRestore"]) Module["stackRestore"] = (function() {
  26169. abort("'stackRestore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26170. });
  26171. if (!Module["stackAlloc"]) Module["stackAlloc"] = (function() {
  26172. abort("'stackAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26173. });
  26174. if (!Module["establishStackSpace"]) Module["establishStackSpace"] = (function() {
  26175. abort("'establishStackSpace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26176. });
  26177. if (!Module["print"]) Module["print"] = (function() {
  26178. abort("'print' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26179. });
  26180. if (!Module["printErr"]) Module["printErr"] = (function() {
  26181. abort("'printErr' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26182. });
  26183. Module["writeStackCookie"] = writeStackCookie;
  26184. Module["checkStackCookie"] = checkStackCookie;
  26185. if (!Module["abortStackOverflow"]) Module["abortStackOverflow"] = (function() {
  26186. abort("'abortStackOverflow' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26187. });
  26188. if (!Module["ALLOC_NORMAL"]) Object.defineProperty(Module, "ALLOC_NORMAL", {
  26189. get: (function() {
  26190. abort("'ALLOC_NORMAL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26191. })
  26192. });
  26193. if (!Module["ALLOC_STACK"]) Object.defineProperty(Module, "ALLOC_STACK", {
  26194. get: (function() {
  26195. abort("'ALLOC_STACK' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26196. })
  26197. });
  26198. if (!Module["ALLOC_STATIC"]) Object.defineProperty(Module, "ALLOC_STATIC", {
  26199. get: (function() {
  26200. abort("'ALLOC_STATIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26201. })
  26202. });
  26203. if (!Module["ALLOC_DYNAMIC"]) Object.defineProperty(Module, "ALLOC_DYNAMIC", {
  26204. get: (function() {
  26205. abort("'ALLOC_DYNAMIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26206. })
  26207. });
  26208. if (!Module["ALLOC_NONE"]) Object.defineProperty(Module, "ALLOC_NONE", {
  26209. get: (function() {
  26210. abort("'ALLOC_NONE' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26211. })
  26212. });
  26213. function ExitStatus(status) {
  26214. this.name = "ExitStatus";
  26215. this.message = "Program terminated with exit(" + status + ")";
  26216. this.status = status;
  26217. }
  26218. ExitStatus.prototype = new Error;
  26219. ExitStatus.prototype.constructor = ExitStatus;
  26220. var initialStackTop;
  26221. var calledMain = false;
  26222. dependenciesFulfilled = function runCaller() {
  26223. if (!Module["calledRun"]) run();
  26224. if (!Module["calledRun"]) dependenciesFulfilled = runCaller;
  26225. };
  26226. Module["callMain"] = function callMain(args) {
  26227. assert(runDependencies == 0, "cannot call main when async dependencies remain! (listen on __ATMAIN__)");
  26228. assert(__ATPRERUN__.length == 0, "cannot call main when preRun functions remain to be called");
  26229. args = args || [];
  26230. ensureInitRuntime();
  26231. var argc = args.length + 1;
  26232. var argv = stackAlloc((argc + 1) * 4);
  26233. HEAP32[argv >> 2] = allocateUTF8OnStack(Module["thisProgram"]);
  26234. for (var i = 1; i < argc; i++) {
  26235. HEAP32[(argv >> 2) + i] = allocateUTF8OnStack(args[i - 1]);
  26236. }
  26237. HEAP32[(argv >> 2) + argc] = 0;
  26238. try {
  26239. var ret = Module["_main"](argc, argv, 0);
  26240. exit(ret, true);
  26241. } catch (e) {
  26242. if (e instanceof ExitStatus) {
  26243. return;
  26244. } else if (e == "SimulateInfiniteLoop") {
  26245. Module["noExitRuntime"] = true;
  26246. return;
  26247. } else {
  26248. var toLog = e;
  26249. if (e && typeof e === "object" && e.stack) {
  26250. toLog = [ e, e.stack ];
  26251. }
  26252. err("exception thrown: " + toLog);
  26253. Module["quit"](1, e);
  26254. }
  26255. } finally {
  26256. calledMain = true;
  26257. }
  26258. };
  26259. function run(args) {
  26260. args = args || Module["arguments"];
  26261. if (runDependencies > 0) {
  26262. return;
  26263. }
  26264. writeStackCookie();
  26265. preRun();
  26266. if (runDependencies > 0) return;
  26267. if (Module["calledRun"]) return;
  26268. function doRun() {
  26269. if (Module["calledRun"]) return;
  26270. Module["calledRun"] = true;
  26271. if (ABORT) return;
  26272. ensureInitRuntime();
  26273. preMain();
  26274. if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"]();
  26275. if (Module["_main"] && shouldRunNow) Module["callMain"](args);
  26276. postRun();
  26277. }
  26278. if (Module["setStatus"]) {
  26279. Module["setStatus"]("Running...");
  26280. setTimeout((function() {
  26281. setTimeout((function() {
  26282. Module["setStatus"]("");
  26283. }), 1);
  26284. doRun();
  26285. }), 1);
  26286. } else {
  26287. doRun();
  26288. }
  26289. checkStackCookie();
  26290. }
  26291. Module["run"] = run;
  26292. function checkUnflushedContent() {
  26293. var print = out;
  26294. var printErr = err;
  26295. var has = false;
  26296. out = err = (function(x) {
  26297. has = true;
  26298. });
  26299. try {
  26300. var flush = Module["_fflush"];
  26301. if (flush) flush(0);
  26302. var hasFS = true;
  26303. if (hasFS) {
  26304. [ "stdout", "stderr" ].forEach((function(name) {
  26305. var info = FS.analyzePath("/dev/" + name);
  26306. if (!info) return;
  26307. var stream = info.object;
  26308. var rdev = stream.rdev;
  26309. var tty = TTY.ttys[rdev];
  26310. if (tty && tty.output && tty.output.length) {
  26311. has = true;
  26312. }
  26313. }));
  26314. }
  26315. } catch (e) {}
  26316. out = print;
  26317. err = printErr;
  26318. if (has) {
  26319. 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.");
  26320. }
  26321. }
  26322. function exit(status, implicit) {
  26323. checkUnflushedContent();
  26324. if (implicit && Module["noExitRuntime"] && status === 0) {
  26325. return;
  26326. }
  26327. if (Module["noExitRuntime"]) {
  26328. if (!implicit) {
  26329. 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)");
  26330. }
  26331. } else {
  26332. ABORT = true;
  26333. EXITSTATUS = status;
  26334. STACKTOP = initialStackTop;
  26335. exitRuntime();
  26336. if (Module["onExit"]) Module["onExit"](status);
  26337. }
  26338. Module["quit"](status, new ExitStatus(status));
  26339. }
  26340. var abortDecorators = [];
  26341. function abort(what) {
  26342. if (Module["onAbort"]) {
  26343. Module["onAbort"](what);
  26344. }
  26345. if (what !== undefined) {
  26346. out(what);
  26347. err(what);
  26348. what = JSON.stringify(what);
  26349. } else {
  26350. what = "";
  26351. }
  26352. ABORT = true;
  26353. EXITSTATUS = 1;
  26354. var extra = "";
  26355. var output = "abort(" + what + ") at " + stackTrace() + extra;
  26356. if (abortDecorators) {
  26357. abortDecorators.forEach((function(decorator) {
  26358. output = decorator(output, what);
  26359. }));
  26360. }
  26361. throw output;
  26362. }
  26363. Module["abort"] = abort;
  26364. if (Module["preInit"]) {
  26365. if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ];
  26366. while (Module["preInit"].length > 0) {
  26367. Module["preInit"].pop()();
  26368. }
  26369. }
  26370. var shouldRunNow = true;
  26371. if (Module["noInitialRun"]) {
  26372. shouldRunNow = false;
  26373. }
  26374. Module["noExitRuntime"] = true;
  26375. run();
  26376. }