dist.framework.js 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622
  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 + 2440640;
  1297. __ATINIT__.push({
  1298. func: (function() {
  1299. __GLOBAL__sub_I_AccessibilityScriptingClasses_cpp();
  1300. })
  1301. }, {
  1302. func: (function() {
  1303. __GLOBAL__sub_I_AIScriptingClasses_cpp();
  1304. })
  1305. }, {
  1306. func: (function() {
  1307. ___cxx_global_var_init_47();
  1308. })
  1309. }, {
  1310. func: (function() {
  1311. ___cxx_global_var_init_48();
  1312. })
  1313. }, {
  1314. func: (function() {
  1315. __GLOBAL__sub_I_Modules_AI_1_cpp();
  1316. })
  1317. }, {
  1318. func: (function() {
  1319. __GLOBAL__sub_I_Modules_AI_Builder_0_cpp();
  1320. })
  1321. }, {
  1322. func: (function() {
  1323. __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp();
  1324. })
  1325. }, {
  1326. func: (function() {
  1327. __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp();
  1328. })
  1329. }, {
  1330. func: (function() {
  1331. __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp();
  1332. })
  1333. }, {
  1334. func: (function() {
  1335. ___cxx_global_var_init_199();
  1336. })
  1337. }, {
  1338. func: (function() {
  1339. __GLOBAL__sub_I_AIBindings_gen_cpp();
  1340. })
  1341. }, {
  1342. func: (function() {
  1343. __GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp();
  1344. })
  1345. }, {
  1346. func: (function() {
  1347. __GLOBAL__sub_I_AnimationScriptingClasses_cpp();
  1348. })
  1349. }, {
  1350. func: (function() {
  1351. __GLOBAL__sub_I_Modules_Animation_0_cpp();
  1352. })
  1353. }, {
  1354. func: (function() {
  1355. __GLOBAL__sub_I_Modules_Animation_2_cpp();
  1356. })
  1357. }, {
  1358. func: (function() {
  1359. __GLOBAL__sub_I_Modules_Animation_3_cpp();
  1360. })
  1361. }, {
  1362. func: (function() {
  1363. __GLOBAL__sub_I_Modules_Animation_4_cpp();
  1364. })
  1365. }, {
  1366. func: (function() {
  1367. __GLOBAL__sub_I_Modules_Animation_5_cpp();
  1368. })
  1369. }, {
  1370. func: (function() {
  1371. __GLOBAL__sub_I_Modules_Animation_6_cpp();
  1372. })
  1373. }, {
  1374. func: (function() {
  1375. ___cxx_global_var_init_20();
  1376. })
  1377. }, {
  1378. func: (function() {
  1379. ___cxx_global_var_init_21();
  1380. })
  1381. }, {
  1382. func: (function() {
  1383. __GLOBAL__sub_I_Modules_Animation_7_cpp();
  1384. })
  1385. }, {
  1386. func: (function() {
  1387. ___cxx_global_var_init_53();
  1388. })
  1389. }, {
  1390. func: (function() {
  1391. __GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp();
  1392. })
  1393. }, {
  1394. func: (function() {
  1395. __GLOBAL__sub_I_Modules_Animation_Director_0_cpp();
  1396. })
  1397. }, {
  1398. func: (function() {
  1399. __GLOBAL__sub_I_Modules_Animation_Director_1_cpp();
  1400. })
  1401. }, {
  1402. func: (function() {
  1403. __GLOBAL__sub_I_AnimationBindings_gen_cpp();
  1404. })
  1405. }, {
  1406. func: (function() {
  1407. __GLOBAL__sub_I_ConstraintJob_cpp();
  1408. })
  1409. }, {
  1410. func: (function() {
  1411. __GLOBAL__sub_I_clipmuscle_cpp();
  1412. })
  1413. }, {
  1414. func: (function() {
  1415. __GLOBAL__sub_I_AnimationClip_cpp();
  1416. })
  1417. }, {
  1418. func: (function() {
  1419. __GLOBAL__sub_I_AssetBundleScriptingClasses_cpp();
  1420. })
  1421. }, {
  1422. func: (function() {
  1423. __GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp();
  1424. })
  1425. }, {
  1426. func: (function() {
  1427. __GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp();
  1428. })
  1429. }, {
  1430. func: (function() {
  1431. __GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp();
  1432. })
  1433. }, {
  1434. func: (function() {
  1435. __GLOBAL__sub_I_AudioScriptingClasses_cpp();
  1436. })
  1437. }, {
  1438. func: (function() {
  1439. __GLOBAL__sub_I_Runtime_Video_0_cpp();
  1440. })
  1441. }, {
  1442. func: (function() {
  1443. ___cxx_global_var_init_5();
  1444. })
  1445. }, {
  1446. func: (function() {
  1447. ___cxx_global_var_init_6_748();
  1448. })
  1449. }, {
  1450. func: (function() {
  1451. ___cxx_global_var_init_7();
  1452. })
  1453. }, {
  1454. func: (function() {
  1455. __GLOBAL__sub_I_Modules_Audio_Public_0_cpp();
  1456. })
  1457. }, {
  1458. func: (function() {
  1459. ___cxx_global_var_init_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_CloudFoundationScriptingClasses_cpp();
  1528. })
  1529. }, {
  1530. func: (function() {
  1531. __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp();
  1532. })
  1533. }, {
  1534. func: (function() {
  1535. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp();
  1536. })
  1537. }, {
  1538. func: (function() {
  1539. __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp();
  1540. })
  1541. }, {
  1542. func: (function() {
  1543. __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp();
  1544. })
  1545. }, {
  1546. func: (function() {
  1547. __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp();
  1548. })
  1549. }, {
  1550. func: (function() {
  1551. __GLOBAL__sub_I_Runtime_Input_0_cpp();
  1552. })
  1553. }, {
  1554. func: (function() {
  1555. __GLOBAL__sub_I_GfxDeviceNull_cpp();
  1556. })
  1557. }, {
  1558. func: (function() {
  1559. __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp();
  1560. })
  1561. }, {
  1562. func: (function() {
  1563. __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp();
  1564. })
  1565. }, {
  1566. func: (function() {
  1567. ___cxx_global_var_init_19();
  1568. })
  1569. }, {
  1570. func: (function() {
  1571. __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp();
  1572. })
  1573. }, {
  1574. func: (function() {
  1575. ___cxx_global_var_init_17();
  1576. })
  1577. }, {
  1578. func: (function() {
  1579. __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp();
  1580. })
  1581. }, {
  1582. func: (function() {
  1583. __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp();
  1584. })
  1585. }, {
  1586. func: (function() {
  1587. __GLOBAL__sub_I_Runtime_Allocator_0_cpp();
  1588. })
  1589. }, {
  1590. func: (function() {
  1591. __GLOBAL__sub_I_Runtime_Allocator_2_cpp();
  1592. })
  1593. }, {
  1594. func: (function() {
  1595. __GLOBAL__sub_I_Runtime_Allocator_3_cpp();
  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_136();
  1728. })
  1729. }, {
  1730. func: (function() {
  1731. ___cxx_global_var_init_137();
  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_88();
  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_3_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_192();
  1884. })
  1885. }, {
  1886. func: (function() {
  1887. ___cxx_global_var_init_193();
  1888. })
  1889. }, {
  1890. func: (function() {
  1891. ___cxx_global_var_init_194();
  1892. })
  1893. }, {
  1894. func: (function() {
  1895. ___cxx_global_var_init_195();
  1896. })
  1897. }, {
  1898. func: (function() {
  1899. ___cxx_global_var_init_196();
  1900. })
  1901. }, {
  1902. func: (function() {
  1903. ___cxx_global_var_init_197();
  1904. })
  1905. }, {
  1906. func: (function() {
  1907. ___cxx_global_var_init_198();
  1908. })
  1909. }, {
  1910. func: (function() {
  1911. __GLOBAL__sub_I_Runtime_Misc_2_cpp();
  1912. })
  1913. }, {
  1914. func: (function() {
  1915. ___cxx_global_var_init_165();
  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_172();
  1932. })
  1933. }, {
  1934. func: (function() {
  1935. ___cxx_global_var_init_173();
  1936. })
  1937. }, {
  1938. func: (function() {
  1939. ___cxx_global_var_init_174();
  1940. })
  1941. }, {
  1942. func: (function() {
  1943. ___cxx_global_var_init_175();
  1944. })
  1945. }, {
  1946. func: (function() {
  1947. ___cxx_global_var_init_176();
  1948. })
  1949. }, {
  1950. func: (function() {
  1951. ___cxx_global_var_init_177();
  1952. })
  1953. }, {
  1954. func: (function() {
  1955. ___cxx_global_var_init_178();
  1956. })
  1957. }, {
  1958. func: (function() {
  1959. ___cxx_global_var_init_179();
  1960. })
  1961. }, {
  1962. func: (function() {
  1963. ___cxx_global_var_init_180();
  1964. })
  1965. }, {
  1966. func: (function() {
  1967. ___cxx_global_var_init_181();
  1968. })
  1969. }, {
  1970. func: (function() {
  1971. ___cxx_global_var_init_182();
  1972. })
  1973. }, {
  1974. func: (function() {
  1975. ___cxx_global_var_init_183();
  1976. })
  1977. }, {
  1978. func: (function() {
  1979. ___cxx_global_var_init_184();
  1980. })
  1981. }, {
  1982. func: (function() {
  1983. ___cxx_global_var_init_185();
  1984. })
  1985. }, {
  1986. func: (function() {
  1987. ___cxx_global_var_init_186();
  1988. })
  1989. }, {
  1990. func: (function() {
  1991. ___cxx_global_var_init_187();
  1992. })
  1993. }, {
  1994. func: (function() {
  1995. ___cxx_global_var_init_188();
  1996. })
  1997. }, {
  1998. func: (function() {
  1999. ___cxx_global_var_init_189();
  2000. })
  2001. }, {
  2002. func: (function() {
  2003. ___cxx_global_var_init_190();
  2004. })
  2005. }, {
  2006. func: (function() {
  2007. ___cxx_global_var_init_191();
  2008. })
  2009. }, {
  2010. func: (function() {
  2011. ___cxx_global_var_init_192_8369();
  2012. })
  2013. }, {
  2014. func: (function() {
  2015. ___cxx_global_var_init_193_8370();
  2016. })
  2017. }, {
  2018. func: (function() {
  2019. ___cxx_global_var_init_194_8371();
  2020. })
  2021. }, {
  2022. func: (function() {
  2023. ___cxx_global_var_init_195_8372();
  2024. })
  2025. }, {
  2026. func: (function() {
  2027. ___cxx_global_var_init_196_8373();
  2028. })
  2029. }, {
  2030. func: (function() {
  2031. ___cxx_global_var_init_197_8374();
  2032. })
  2033. }, {
  2034. func: (function() {
  2035. ___cxx_global_var_init_198_8375();
  2036. })
  2037. }, {
  2038. func: (function() {
  2039. ___cxx_global_var_init_199_1313();
  2040. })
  2041. }, {
  2042. func: (function() {
  2043. ___cxx_global_var_init_200();
  2044. })
  2045. }, {
  2046. func: (function() {
  2047. ___cxx_global_var_init_201();
  2048. })
  2049. }, {
  2050. func: (function() {
  2051. ___cxx_global_var_init_202();
  2052. })
  2053. }, {
  2054. func: (function() {
  2055. ___cxx_global_var_init_203();
  2056. })
  2057. }, {
  2058. func: (function() {
  2059. ___cxx_global_var_init_204();
  2060. })
  2061. }, {
  2062. func: (function() {
  2063. ___cxx_global_var_init_205();
  2064. })
  2065. }, {
  2066. func: (function() {
  2067. ___cxx_global_var_init_206();
  2068. })
  2069. }, {
  2070. func: (function() {
  2071. ___cxx_global_var_init_207();
  2072. })
  2073. }, {
  2074. func: (function() {
  2075. ___cxx_global_var_init_208();
  2076. })
  2077. }, {
  2078. func: (function() {
  2079. ___cxx_global_var_init_209();
  2080. })
  2081. }, {
  2082. func: (function() {
  2083. ___cxx_global_var_init_210_8376();
  2084. })
  2085. }, {
  2086. func: (function() {
  2087. ___cxx_global_var_init_211_8377();
  2088. })
  2089. }, {
  2090. func: (function() {
  2091. ___cxx_global_var_init_212();
  2092. })
  2093. }, {
  2094. func: (function() {
  2095. ___cxx_global_var_init_213();
  2096. })
  2097. }, {
  2098. func: (function() {
  2099. ___cxx_global_var_init_214();
  2100. })
  2101. }, {
  2102. func: (function() {
  2103. ___cxx_global_var_init_215();
  2104. })
  2105. }, {
  2106. func: (function() {
  2107. ___cxx_global_var_init_216();
  2108. })
  2109. }, {
  2110. func: (function() {
  2111. ___cxx_global_var_init_217();
  2112. })
  2113. }, {
  2114. func: (function() {
  2115. ___cxx_global_var_init_218();
  2116. })
  2117. }, {
  2118. func: (function() {
  2119. ___cxx_global_var_init_219();
  2120. })
  2121. }, {
  2122. func: (function() {
  2123. ___cxx_global_var_init_220();
  2124. })
  2125. }, {
  2126. func: (function() {
  2127. ___cxx_global_var_init_221();
  2128. })
  2129. }, {
  2130. func: (function() {
  2131. ___cxx_global_var_init_222();
  2132. })
  2133. }, {
  2134. func: (function() {
  2135. ___cxx_global_var_init_223();
  2136. })
  2137. }, {
  2138. func: (function() {
  2139. ___cxx_global_var_init_224();
  2140. })
  2141. }, {
  2142. func: (function() {
  2143. ___cxx_global_var_init_225();
  2144. })
  2145. }, {
  2146. func: (function() {
  2147. ___cxx_global_var_init_226();
  2148. })
  2149. }, {
  2150. func: (function() {
  2151. ___cxx_global_var_init_227();
  2152. })
  2153. }, {
  2154. func: (function() {
  2155. __GLOBAL__sub_I_Runtime_Misc_5_cpp();
  2156. })
  2157. }, {
  2158. func: (function() {
  2159. ___cxx_global_var_init_34();
  2160. })
  2161. }, {
  2162. func: (function() {
  2163. __GLOBAL__sub_I_Runtime_Network_0_cpp();
  2164. })
  2165. }, {
  2166. func: (function() {
  2167. ___cxx_global_var_init_86();
  2168. })
  2169. }, {
  2170. func: (function() {
  2171. ___cxx_global_var_init_87();
  2172. })
  2173. }, {
  2174. func: (function() {
  2175. ___cxx_global_var_init_88_8664();
  2176. })
  2177. }, {
  2178. func: (function() {
  2179. __GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp();
  2180. })
  2181. }, {
  2182. func: (function() {
  2183. ___cxx_global_var_init_31_8777();
  2184. })
  2185. }, {
  2186. func: (function() {
  2187. ___cxx_global_var_init_32();
  2188. })
  2189. }, {
  2190. func: (function() {
  2191. ___cxx_global_var_init_33_8778();
  2192. })
  2193. }, {
  2194. func: (function() {
  2195. ___cxx_global_var_init_34_8779();
  2196. })
  2197. }, {
  2198. func: (function() {
  2199. ___cxx_global_var_init_35();
  2200. })
  2201. }, {
  2202. func: (function() {
  2203. __GLOBAL__sub_I_Runtime_PreloadManager_0_cpp();
  2204. })
  2205. }, {
  2206. func: (function() {
  2207. ___cxx_global_var_init_79();
  2208. })
  2209. }, {
  2210. func: (function() {
  2211. __GLOBAL__sub_I_Runtime_Profiler_0_cpp();
  2212. })
  2213. }, {
  2214. func: (function() {
  2215. __GLOBAL__sub_I_Runtime_Profiler_1_cpp();
  2216. })
  2217. }, {
  2218. func: (function() {
  2219. __GLOBAL__sub_I_Runtime_Profiler_2_cpp();
  2220. })
  2221. }, {
  2222. func: (function() {
  2223. __GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp();
  2224. })
  2225. }, {
  2226. func: (function() {
  2227. __GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp();
  2228. })
  2229. }, {
  2230. func: (function() {
  2231. ___cxx_global_var_init_27_9077();
  2232. })
  2233. }, {
  2234. func: (function() {
  2235. ___cxx_global_var_init_28();
  2236. })
  2237. }, {
  2238. func: (function() {
  2239. ___cxx_global_var_init_29_9078();
  2240. })
  2241. }, {
  2242. func: (function() {
  2243. ___cxx_global_var_init_30();
  2244. })
  2245. }, {
  2246. func: (function() {
  2247. ___cxx_global_var_init_31_9079();
  2248. })
  2249. }, {
  2250. func: (function() {
  2251. __GLOBAL__sub_I_Runtime_SceneManager_0_cpp();
  2252. })
  2253. }, {
  2254. func: (function() {
  2255. ___cxx_global_var_init_34_9191();
  2256. })
  2257. }, {
  2258. func: (function() {
  2259. __GLOBAL__sub_I_Runtime_Shaders_0_cpp();
  2260. })
  2261. }, {
  2262. func: (function() {
  2263. __GLOBAL__sub_I_Runtime_Shaders_1_cpp();
  2264. })
  2265. }, {
  2266. func: (function() {
  2267. ___cxx_global_var_init_61();
  2268. })
  2269. }, {
  2270. func: (function() {
  2271. __GLOBAL__sub_I_Runtime_Shaders_4_cpp();
  2272. })
  2273. }, {
  2274. func: (function() {
  2275. __GLOBAL__sub_I_Runtime_Shaders_5_cpp();
  2276. })
  2277. }, {
  2278. func: (function() {
  2279. __GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp();
  2280. })
  2281. }, {
  2282. func: (function() {
  2283. ___cxx_global_var_init_33_10214();
  2284. })
  2285. }, {
  2286. func: (function() {
  2287. __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp();
  2288. })
  2289. }, {
  2290. func: (function() {
  2291. __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp();
  2292. })
  2293. }, {
  2294. func: (function() {
  2295. __GLOBAL__sub_I_Runtime_Streaming_0_cpp();
  2296. })
  2297. }, {
  2298. func: (function() {
  2299. __GLOBAL__sub_I_Runtime_Streaming_1_cpp();
  2300. })
  2301. }, {
  2302. func: (function() {
  2303. ___cxx_global_var_init_47_1314();
  2304. })
  2305. }, {
  2306. func: (function() {
  2307. __GLOBAL__sub_I_Runtime_Transform_0_cpp();
  2308. })
  2309. }, {
  2310. func: (function() {
  2311. __GLOBAL__sub_I_Runtime_Transform_1_cpp();
  2312. })
  2313. }, {
  2314. func: (function() {
  2315. __GLOBAL__sub_I_UIWidgets_cpp();
  2316. })
  2317. }, {
  2318. func: (function() {
  2319. __GLOBAL__sub_I_Runtime_Utilities_2_cpp();
  2320. })
  2321. }, {
  2322. func: (function() {
  2323. ___cxx_global_var_init_10902();
  2324. })
  2325. }, {
  2326. func: (function() {
  2327. __GLOBAL__sub_I_Runtime_Utilities_5_cpp();
  2328. })
  2329. }, {
  2330. func: (function() {
  2331. __GLOBAL__sub_I_Runtime_Utilities_6_cpp();
  2332. })
  2333. }, {
  2334. func: (function() {
  2335. __GLOBAL__sub_I_Runtime_Utilities_7_cpp();
  2336. })
  2337. }, {
  2338. func: (function() {
  2339. __GLOBAL__sub_I_Runtime_Utilities_8_cpp();
  2340. })
  2341. }, {
  2342. func: (function() {
  2343. __GLOBAL__sub_I_Runtime_Utilities_9_cpp();
  2344. })
  2345. }, {
  2346. func: (function() {
  2347. __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp();
  2348. })
  2349. }, {
  2350. func: (function() {
  2351. __GLOBAL__sub_I_AssetBundleFileSystem_cpp();
  2352. })
  2353. }, {
  2354. func: (function() {
  2355. __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp();
  2356. })
  2357. }, {
  2358. func: (function() {
  2359. __GLOBAL__sub_I_Runtime_Modules_0_cpp();
  2360. })
  2361. }, {
  2362. func: (function() {
  2363. __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp();
  2364. })
  2365. }, {
  2366. func: (function() {
  2367. ___cxx_global_var_init_58();
  2368. })
  2369. }, {
  2370. func: (function() {
  2371. ___cxx_global_var_init_59();
  2372. })
  2373. }, {
  2374. func: (function() {
  2375. ___cxx_global_var_init_60();
  2376. })
  2377. }, {
  2378. func: (function() {
  2379. __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp();
  2380. })
  2381. }, {
  2382. func: (function() {
  2383. __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp();
  2384. })
  2385. }, {
  2386. func: (function() {
  2387. __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp();
  2388. })
  2389. }, {
  2390. func: (function() {
  2391. __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp();
  2392. })
  2393. }, {
  2394. func: (function() {
  2395. __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp();
  2396. })
  2397. }, {
  2398. func: (function() {
  2399. __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp();
  2400. })
  2401. }, {
  2402. func: (function() {
  2403. __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp();
  2404. })
  2405. }, {
  2406. func: (function() {
  2407. __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp();
  2408. })
  2409. }, {
  2410. func: (function() {
  2411. __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp();
  2412. })
  2413. }, {
  2414. func: (function() {
  2415. ___cxx_global_var_init_92();
  2416. })
  2417. }, {
  2418. func: (function() {
  2419. ___cxx_global_var_init_93();
  2420. })
  2421. }, {
  2422. func: (function() {
  2423. ___cxx_global_var_init_94();
  2424. })
  2425. }, {
  2426. func: (function() {
  2427. __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp();
  2428. })
  2429. }, {
  2430. func: (function() {
  2431. __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp();
  2432. })
  2433. }, {
  2434. func: (function() {
  2435. __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp();
  2436. })
  2437. }, {
  2438. func: (function() {
  2439. __GLOBAL__sub_I_Runtime_Director_Core_0_cpp();
  2440. })
  2441. }, {
  2442. func: (function() {
  2443. ___cxx_global_var_init_36();
  2444. })
  2445. }, {
  2446. func: (function() {
  2447. ___cxx_global_var_init_37();
  2448. })
  2449. }, {
  2450. func: (function() {
  2451. ___cxx_global_var_init_38();
  2452. })
  2453. }, {
  2454. func: (function() {
  2455. ___cxx_global_var_init_39();
  2456. })
  2457. }, {
  2458. func: (function() {
  2459. ___cxx_global_var_init_40();
  2460. })
  2461. }, {
  2462. func: (function() {
  2463. ___cxx_global_var_init_41();
  2464. })
  2465. }, {
  2466. func: (function() {
  2467. ___cxx_global_var_init_42();
  2468. })
  2469. }, {
  2470. func: (function() {
  2471. ___cxx_global_var_init_43();
  2472. })
  2473. }, {
  2474. func: (function() {
  2475. ___cxx_global_var_init_44();
  2476. })
  2477. }, {
  2478. func: (function() {
  2479. ___cxx_global_var_init_45();
  2480. })
  2481. }, {
  2482. func: (function() {
  2483. ___cxx_global_var_init_46();
  2484. })
  2485. }, {
  2486. func: (function() {
  2487. ___cxx_global_var_init_47_12771();
  2488. })
  2489. }, {
  2490. func: (function() {
  2491. ___cxx_global_var_init_48_1315();
  2492. })
  2493. }, {
  2494. func: (function() {
  2495. ___cxx_global_var_init_49();
  2496. })
  2497. }, {
  2498. func: (function() {
  2499. __GLOBAL__sub_I_Runtime_Director_Core_1_cpp();
  2500. })
  2501. }, {
  2502. func: (function() {
  2503. __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp();
  2504. })
  2505. }, {
  2506. func: (function() {
  2507. ___cxx_global_var_init_155();
  2508. })
  2509. }, {
  2510. func: (function() {
  2511. __GLOBAL__sub_I_Runtime_Scripting_0_cpp();
  2512. })
  2513. }, {
  2514. func: (function() {
  2515. __GLOBAL__sub_I_Runtime_Scripting_2_cpp();
  2516. })
  2517. }, {
  2518. func: (function() {
  2519. ___cxx_global_var_init_41_13454();
  2520. })
  2521. }, {
  2522. func: (function() {
  2523. __GLOBAL__sub_I_Runtime_Scripting_3_cpp();
  2524. })
  2525. }, {
  2526. func: (function() {
  2527. ___cxx_global_var_init_63();
  2528. })
  2529. }, {
  2530. func: (function() {
  2531. __GLOBAL__sub_I_Runtime_Mono_0_cpp();
  2532. })
  2533. }, {
  2534. func: (function() {
  2535. __GLOBAL__sub_I_Runtime_Mono_2_cpp();
  2536. })
  2537. }, {
  2538. func: (function() {
  2539. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp();
  2540. })
  2541. }, {
  2542. func: (function() {
  2543. __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp();
  2544. })
  2545. }, {
  2546. func: (function() {
  2547. __GLOBAL__sub_I_TemplateInstantiations_cpp();
  2548. })
  2549. }, {
  2550. func: (function() {
  2551. __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp();
  2552. })
  2553. }, {
  2554. func: (function() {
  2555. __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp();
  2556. })
  2557. }, {
  2558. func: (function() {
  2559. __GLOBAL__sub_I_Runtime_Serialize_0_cpp();
  2560. })
  2561. }, {
  2562. func: (function() {
  2563. __GLOBAL__sub_I_Runtime_Serialize_1_cpp();
  2564. })
  2565. }, {
  2566. func: (function() {
  2567. __GLOBAL__sub_I_Runtime_Serialize_2_cpp();
  2568. })
  2569. }, {
  2570. func: (function() {
  2571. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp();
  2572. })
  2573. }, {
  2574. func: (function() {
  2575. __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp();
  2576. })
  2577. }, {
  2578. func: (function() {
  2579. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp();
  2580. })
  2581. }, {
  2582. func: (function() {
  2583. ___cxx_global_var_init_145();
  2584. })
  2585. }, {
  2586. func: (function() {
  2587. __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp();
  2588. })
  2589. }, {
  2590. func: (function() {
  2591. __GLOBAL__sub_I_CoreBindings_gen_cpp();
  2592. })
  2593. }, {
  2594. func: (function() {
  2595. __GLOBAL__sub_I_LineRenderer_cpp();
  2596. })
  2597. }, {
  2598. func: (function() {
  2599. __GLOBAL__sub_I_QualitySettings_cpp();
  2600. })
  2601. }, {
  2602. func: (function() {
  2603. __GLOBAL__sub_I_TrailRenderer_cpp();
  2604. })
  2605. }, {
  2606. func: (function() {
  2607. __GLOBAL__sub_I_Mesh_cpp();
  2608. })
  2609. }, {
  2610. func: (function() {
  2611. __GLOBAL__sub_I_LogAssert_cpp();
  2612. })
  2613. }, {
  2614. func: (function() {
  2615. ___cxx_global_var_init_17056();
  2616. })
  2617. }, {
  2618. func: (function() {
  2619. __GLOBAL__sub_I_Shader_cpp();
  2620. })
  2621. }, {
  2622. func: (function() {
  2623. __GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp();
  2624. })
  2625. }, {
  2626. func: (function() {
  2627. __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp();
  2628. })
  2629. }, {
  2630. func: (function() {
  2631. __GLOBAL__sub_I_DirectorScriptingClasses_cpp();
  2632. })
  2633. }, {
  2634. func: (function() {
  2635. __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp();
  2636. })
  2637. }, {
  2638. func: (function() {
  2639. __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp();
  2640. })
  2641. }, {
  2642. func: (function() {
  2643. __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp();
  2644. })
  2645. }, {
  2646. func: (function() {
  2647. __GLOBAL__sub_I_DSPGraphBindings_gen_cpp();
  2648. })
  2649. }, {
  2650. func: (function() {
  2651. __GLOBAL__sub_I_GridScriptingClasses_cpp();
  2652. })
  2653. }, {
  2654. func: (function() {
  2655. __GLOBAL__sub_I_Modules_Grid_Public_0_cpp();
  2656. })
  2657. }, {
  2658. func: (function() {
  2659. ___cxx_global_var_init_4115();
  2660. })
  2661. }, {
  2662. func: (function() {
  2663. __GLOBAL__sub_I_IMGUIScriptingClasses_cpp();
  2664. })
  2665. }, {
  2666. func: (function() {
  2667. __GLOBAL__sub_I_Modules_IMGUI_0_cpp();
  2668. })
  2669. }, {
  2670. func: (function() {
  2671. ___cxx_global_var_init_29_4253();
  2672. })
  2673. }, {
  2674. func: (function() {
  2675. ___cxx_global_var_init_30_4254();
  2676. })
  2677. }, {
  2678. func: (function() {
  2679. ___cxx_global_var_init_31_4255();
  2680. })
  2681. }, {
  2682. func: (function() {
  2683. __GLOBAL__sub_I_Modules_IMGUI_1_cpp();
  2684. })
  2685. }, {
  2686. func: (function() {
  2687. __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp();
  2688. })
  2689. }, {
  2690. func: (function() {
  2691. ___cxx_global_var_init_3_4488();
  2692. })
  2693. }, {
  2694. func: (function() {
  2695. __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp();
  2696. })
  2697. }, {
  2698. func: (function() {
  2699. __GLOBAL__sub_I_InputScriptingClasses_cpp();
  2700. })
  2701. }, {
  2702. func: (function() {
  2703. ___cxx_global_var_init_6_4575();
  2704. })
  2705. }, {
  2706. func: (function() {
  2707. ___cxx_global_var_init_7_4576();
  2708. })
  2709. }, {
  2710. func: (function() {
  2711. ___cxx_global_var_init_8_4577();
  2712. })
  2713. }, {
  2714. func: (function() {
  2715. ___cxx_global_var_init_9_4578();
  2716. })
  2717. }, {
  2718. func: (function() {
  2719. __GLOBAL__sub_I_Modules_Input_Private_0_cpp();
  2720. })
  2721. }, {
  2722. func: (function() {
  2723. __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp();
  2724. })
  2725. }, {
  2726. func: (function() {
  2727. ___cxx_global_var_init_43_4835();
  2728. })
  2729. }, {
  2730. func: (function() {
  2731. __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp();
  2732. })
  2733. }, {
  2734. func: (function() {
  2735. ___cxx_global_var_init_58_4836();
  2736. })
  2737. }, {
  2738. func: (function() {
  2739. ___cxx_global_var_init_59_4837();
  2740. })
  2741. }, {
  2742. func: (function() {
  2743. ___cxx_global_var_init_60_4838();
  2744. })
  2745. }, {
  2746. func: (function() {
  2747. __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp();
  2748. })
  2749. }, {
  2750. func: (function() {
  2751. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp();
  2752. })
  2753. }, {
  2754. func: (function() {
  2755. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp();
  2756. })
  2757. }, {
  2758. func: (function() {
  2759. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp();
  2760. })
  2761. }, {
  2762. func: (function() {
  2763. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp();
  2764. })
  2765. }, {
  2766. func: (function() {
  2767. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp();
  2768. })
  2769. }, {
  2770. func: (function() {
  2771. __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp();
  2772. })
  2773. }, {
  2774. func: (function() {
  2775. __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp();
  2776. })
  2777. }, {
  2778. func: (function() {
  2779. __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp();
  2780. })
  2781. }, {
  2782. func: (function() {
  2783. __GLOBAL__sub_I_ExternalForcesModule_cpp();
  2784. })
  2785. }, {
  2786. func: (function() {
  2787. __GLOBAL__sub_I_NoiseModule_cpp();
  2788. })
  2789. }, {
  2790. func: (function() {
  2791. __GLOBAL__sub_I_ShapeModule_cpp();
  2792. })
  2793. }, {
  2794. func: (function() {
  2795. __GLOBAL__sub_I_UVModule_cpp();
  2796. })
  2797. }, {
  2798. func: (function() {
  2799. __GLOBAL__sub_I_VelocityModule_cpp();
  2800. })
  2801. }, {
  2802. func: (function() {
  2803. ___cxx_global_var_init_27_5700();
  2804. })
  2805. }, {
  2806. func: (function() {
  2807. __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp();
  2808. })
  2809. }, {
  2810. func: (function() {
  2811. __GLOBAL__sub_I_Physics2DScriptingClasses_cpp();
  2812. })
  2813. }, {
  2814. func: (function() {
  2815. __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp();
  2816. })
  2817. }, {
  2818. func: (function() {
  2819. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp();
  2820. })
  2821. }, {
  2822. func: (function() {
  2823. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp();
  2824. })
  2825. }, {
  2826. func: (function() {
  2827. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp();
  2828. })
  2829. }, {
  2830. func: (function() {
  2831. __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp();
  2832. })
  2833. }, {
  2834. func: (function() {
  2835. ___cxx_global_var_init_112();
  2836. })
  2837. }, {
  2838. func: (function() {
  2839. ___cxx_global_var_init_113();
  2840. })
  2841. }, {
  2842. func: (function() {
  2843. ___cxx_global_var_init_114();
  2844. })
  2845. }, {
  2846. func: (function() {
  2847. __GLOBAL__sub_I_Modules_Physics2D_0_cpp();
  2848. })
  2849. }, {
  2850. func: (function() {
  2851. __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp();
  2852. })
  2853. }, {
  2854. func: (function() {
  2855. __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp();
  2856. })
  2857. }, {
  2858. func: (function() {
  2859. __GLOBAL__sub_I_PhysicsScriptingClasses_cpp();
  2860. })
  2861. }, {
  2862. func: (function() {
  2863. __GLOBAL__sub_I_Modules_Physics_0_cpp();
  2864. })
  2865. }, {
  2866. func: (function() {
  2867. ___cxx_global_var_init_91();
  2868. })
  2869. }, {
  2870. func: (function() {
  2871. ___cxx_global_var_init_92_6295();
  2872. })
  2873. }, {
  2874. func: (function() {
  2875. ___cxx_global_var_init_93_6296();
  2876. })
  2877. }, {
  2878. func: (function() {
  2879. ___cxx_global_var_init_94_6297();
  2880. })
  2881. }, {
  2882. func: (function() {
  2883. ___cxx_global_var_init_95();
  2884. })
  2885. }, {
  2886. func: (function() {
  2887. __GLOBAL__sub_I_Modules_Physics_2_cpp();
  2888. })
  2889. }, {
  2890. func: (function() {
  2891. __GLOBAL__sub_I_Modules_Physics_3_cpp();
  2892. })
  2893. }, {
  2894. func: (function() {
  2895. __GLOBAL__sub_I_Modules_Physics_4_cpp();
  2896. })
  2897. }, {
  2898. func: (function() {
  2899. __GLOBAL__sub_I_PhysicsQuery_cpp();
  2900. })
  2901. }, {
  2902. func: (function() {
  2903. __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp();
  2904. })
  2905. }, {
  2906. func: (function() {
  2907. __GLOBAL__sub_I_PhysicsScene_cpp();
  2908. })
  2909. }, {
  2910. func: (function() {
  2911. __GLOBAL__sub_I_PhysicsBindings_gen_cpp();
  2912. })
  2913. }, {
  2914. func: (function() {
  2915. ___cxx_global_var_init_8_7072();
  2916. })
  2917. }, {
  2918. func: (function() {
  2919. ___cxx_global_var_init_11();
  2920. })
  2921. }, {
  2922. func: (function() {
  2923. __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp();
  2924. })
  2925. }, {
  2926. func: (function() {
  2927. __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp();
  2928. })
  2929. }, {
  2930. func: (function() {
  2931. ___cxx_global_var_init_4_7135();
  2932. })
  2933. }, {
  2934. func: (function() {
  2935. __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp();
  2936. })
  2937. }, {
  2938. func: (function() {
  2939. ___cxx_global_var_init_1_7192();
  2940. })
  2941. }, {
  2942. func: (function() {
  2943. __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp();
  2944. })
  2945. }, {
  2946. func: (function() {
  2947. ___cxx_global_var_init_28_7231();
  2948. })
  2949. }, {
  2950. func: (function() {
  2951. ___cxx_global_var_init_29_7232();
  2952. })
  2953. }, {
  2954. func: (function() {
  2955. __GLOBAL__sub_I_Modules_Subsystems_0_cpp();
  2956. })
  2957. }, {
  2958. func: (function() {
  2959. __GLOBAL__sub_I_TerrainScriptingClasses_cpp();
  2960. })
  2961. }, {
  2962. func: (function() {
  2963. __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp();
  2964. })
  2965. }, {
  2966. func: (function() {
  2967. __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp();
  2968. })
  2969. }, {
  2970. func: (function() {
  2971. ___cxx_global_var_init_110();
  2972. })
  2973. }, {
  2974. func: (function() {
  2975. ___cxx_global_var_init_111();
  2976. })
  2977. }, {
  2978. func: (function() {
  2979. __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp();
  2980. })
  2981. }, {
  2982. func: (function() {
  2983. __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp();
  2984. })
  2985. }, {
  2986. func: (function() {
  2987. __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp();
  2988. })
  2989. }, {
  2990. func: (function() {
  2991. __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp();
  2992. })
  2993. }, {
  2994. func: (function() {
  2995. __GLOBAL__sub_I_TextCoreScriptingClasses_cpp();
  2996. })
  2997. }, {
  2998. func: (function() {
  2999. __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp();
  3000. })
  3001. }, {
  3002. func: (function() {
  3003. __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp();
  3004. })
  3005. }, {
  3006. func: (function() {
  3007. ___cxx_global_var_init_35_7722();
  3008. })
  3009. }, {
  3010. func: (function() {
  3011. ___cxx_global_var_init_36_7723();
  3012. })
  3013. }, {
  3014. func: (function() {
  3015. __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp();
  3016. })
  3017. }, {
  3018. func: (function() {
  3019. __GLOBAL__sub_I_TilemapScriptingClasses_cpp();
  3020. })
  3021. }, {
  3022. func: (function() {
  3023. __GLOBAL__sub_I_Modules_Tilemap_0_cpp();
  3024. })
  3025. }, {
  3026. func: (function() {
  3027. ___cxx_global_var_init_44_7941();
  3028. })
  3029. }, {
  3030. func: (function() {
  3031. __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp();
  3032. })
  3033. }, {
  3034. func: (function() {
  3035. __GLOBAL__sub_I_TLSModule_cpp();
  3036. })
  3037. }, {
  3038. func: (function() {
  3039. __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp();
  3040. })
  3041. }, {
  3042. func: (function() {
  3043. __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp();
  3044. })
  3045. }, {
  3046. func: (function() {
  3047. ___cxx_global_var_init_10_8160();
  3048. })
  3049. }, {
  3050. func: (function() {
  3051. ___cxx_global_var_init_11_8161();
  3052. })
  3053. }, {
  3054. func: (function() {
  3055. ___cxx_global_var_init_12_8162();
  3056. })
  3057. }, {
  3058. func: (function() {
  3059. __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp();
  3060. })
  3061. }, {
  3062. func: (function() {
  3063. __GLOBAL__sub_I_UIScriptingClasses_cpp();
  3064. })
  3065. }, {
  3066. func: (function() {
  3067. ___cxx_global_var_init_46_8331();
  3068. })
  3069. }, {
  3070. func: (function() {
  3071. ___cxx_global_var_init_47_8332();
  3072. })
  3073. }, {
  3074. func: (function() {
  3075. ___cxx_global_var_init_48_8333();
  3076. })
  3077. }, {
  3078. func: (function() {
  3079. ___cxx_global_var_init_49_8334();
  3080. })
  3081. }, {
  3082. func: (function() {
  3083. ___cxx_global_var_init_50();
  3084. })
  3085. }, {
  3086. func: (function() {
  3087. ___cxx_global_var_init_51();
  3088. })
  3089. }, {
  3090. func: (function() {
  3091. ___cxx_global_var_init_52();
  3092. })
  3093. }, {
  3094. func: (function() {
  3095. ___cxx_global_var_init_53_8335();
  3096. })
  3097. }, {
  3098. func: (function() {
  3099. __GLOBAL__sub_I_Modules_UI_0_cpp();
  3100. })
  3101. }, {
  3102. func: (function() {
  3103. __GLOBAL__sub_I_Modules_UI_1_cpp();
  3104. })
  3105. }, {
  3106. func: (function() {
  3107. __GLOBAL__sub_I_Modules_UI_2_cpp();
  3108. })
  3109. }, {
  3110. func: (function() {
  3111. __GLOBAL__sub_I_umbra_cpp();
  3112. })
  3113. }, {
  3114. func: (function() {
  3115. __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp();
  3116. })
  3117. }, {
  3118. func: (function() {
  3119. ___cxx_global_var_init_67();
  3120. })
  3121. }, {
  3122. func: (function() {
  3123. __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp();
  3124. })
  3125. }, {
  3126. func: (function() {
  3127. ___cxx_global_var_init_8548();
  3128. })
  3129. }, {
  3130. func: (function() {
  3131. __GLOBAL__sub_I_UnityAdsSettings_cpp();
  3132. })
  3133. }, {
  3134. func: (function() {
  3135. __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp();
  3136. })
  3137. }, {
  3138. func: (function() {
  3139. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp();
  3140. })
  3141. }, {
  3142. func: (function() {
  3143. __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp();
  3144. })
  3145. }, {
  3146. func: (function() {
  3147. __GLOBAL__sub_I_Modules_Vehicles_0_cpp();
  3148. })
  3149. }, {
  3150. func: (function() {
  3151. __GLOBAL__sub_I_VFXScriptingClasses_cpp();
  3152. })
  3153. }, {
  3154. func: (function() {
  3155. ___cxx_global_var_init_78();
  3156. })
  3157. }, {
  3158. func: (function() {
  3159. __GLOBAL__sub_I_Modules_VFX_Public_0_cpp();
  3160. })
  3161. }, {
  3162. func: (function() {
  3163. __GLOBAL__sub_I_Modules_VFX_Public_1_cpp();
  3164. })
  3165. }, {
  3166. func: (function() {
  3167. __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp();
  3168. })
  3169. }, {
  3170. func: (function() {
  3171. __GLOBAL__sub_I_VisualEffectAsset_cpp();
  3172. })
  3173. }, {
  3174. func: (function() {
  3175. __GLOBAL__sub_I_VideoScriptingClasses_cpp();
  3176. })
  3177. }, {
  3178. func: (function() {
  3179. __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp();
  3180. })
  3181. }, {
  3182. func: (function() {
  3183. ___cxx_global_var_init_1_9523();
  3184. })
  3185. }, {
  3186. func: (function() {
  3187. ___cxx_global_var_init_2_9524();
  3188. })
  3189. }, {
  3190. func: (function() {
  3191. __GLOBAL__sub_I_Modules_Video_Public_0_cpp();
  3192. })
  3193. }, {
  3194. func: (function() {
  3195. __GLOBAL__sub_I_VideoMediaOutput_cpp();
  3196. })
  3197. }, {
  3198. func: (function() {
  3199. __GLOBAL__sub_I_VideoYUV420Convert_cpp();
  3200. })
  3201. }, {
  3202. func: (function() {
  3203. __GLOBAL__sub_I_VRScriptingClasses_cpp();
  3204. })
  3205. }, {
  3206. func: (function() {
  3207. ___cxx_global_var_init_54();
  3208. })
  3209. }, {
  3210. func: (function() {
  3211. ___cxx_global_var_init_55_9705();
  3212. })
  3213. }, {
  3214. func: (function() {
  3215. ___cxx_global_var_init_56();
  3216. })
  3217. }, {
  3218. func: (function() {
  3219. ___cxx_global_var_init_57();
  3220. })
  3221. }, {
  3222. func: (function() {
  3223. ___cxx_global_var_init_58_9706();
  3224. })
  3225. }, {
  3226. func: (function() {
  3227. ___cxx_global_var_init_59_9707();
  3228. })
  3229. }, {
  3230. func: (function() {
  3231. ___cxx_global_var_init_60_9708();
  3232. })
  3233. }, {
  3234. func: (function() {
  3235. ___cxx_global_var_init_61_9709();
  3236. })
  3237. }, {
  3238. func: (function() {
  3239. __GLOBAL__sub_I_Modules_VR_0_cpp();
  3240. })
  3241. }, {
  3242. func: (function() {
  3243. __GLOBAL__sub_I_Modules_VR_1_cpp();
  3244. })
  3245. }, {
  3246. func: (function() {
  3247. __GLOBAL__sub_I_PluginInterfaceVR_cpp();
  3248. })
  3249. }, {
  3250. func: (function() {
  3251. __GLOBAL__sub_I_Wind_cpp();
  3252. })
  3253. }, {
  3254. func: (function() {
  3255. __GLOBAL__sub_I_XRScriptingClasses_cpp();
  3256. })
  3257. }, {
  3258. func: (function() {
  3259. __GLOBAL__sub_I_Modules_XR_0_cpp();
  3260. })
  3261. }, {
  3262. func: (function() {
  3263. ___cxx_global_var_init_2_9864();
  3264. })
  3265. }, {
  3266. func: (function() {
  3267. __GLOBAL__sub_I_XRAudio_cpp();
  3268. })
  3269. }, {
  3270. func: (function() {
  3271. ___cxx_global_var_init_3_9865();
  3272. })
  3273. }, {
  3274. func: (function() {
  3275. __GLOBAL__sub_I_XRPreInit_cpp();
  3276. })
  3277. }, {
  3278. func: (function() {
  3279. ___cxx_global_var_init_3_27();
  3280. })
  3281. }, {
  3282. func: (function() {
  3283. ___cxx_global_var_init_4_9866();
  3284. })
  3285. }, {
  3286. func: (function() {
  3287. ___cxx_global_var_init_5_9867();
  3288. })
  3289. }, {
  3290. func: (function() {
  3291. ___cxx_global_var_init_6_9868();
  3292. })
  3293. }, {
  3294. func: (function() {
  3295. ___cxx_global_var_init_7_9869();
  3296. })
  3297. }, {
  3298. func: (function() {
  3299. ___cxx_global_var_init_8_9870();
  3300. })
  3301. }, {
  3302. func: (function() {
  3303. ___cxx_global_var_init_9_9871();
  3304. })
  3305. }, {
  3306. func: (function() {
  3307. ___cxx_global_var_init_10_9872();
  3308. })
  3309. }, {
  3310. func: (function() {
  3311. __GLOBAL__sub_I_Modules_XR_Public_0_cpp();
  3312. })
  3313. }, {
  3314. func: (function() {
  3315. __GLOBAL__sub_I_Modules_XR_Stats_0_cpp();
  3316. })
  3317. }, {
  3318. func: (function() {
  3319. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp();
  3320. })
  3321. }, {
  3322. func: (function() {
  3323. __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp();
  3324. })
  3325. }, {
  3326. func: (function() {
  3327. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp();
  3328. })
  3329. }, {
  3330. func: (function() {
  3331. __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp();
  3332. })
  3333. }, {
  3334. func: (function() {
  3335. __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp();
  3336. })
  3337. }, {
  3338. func: (function() {
  3339. __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp();
  3340. })
  3341. }, {
  3342. func: (function() {
  3343. __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp();
  3344. })
  3345. }, {
  3346. func: (function() {
  3347. __GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp();
  3348. })
  3349. }, {
  3350. func: (function() {
  3351. __GLOBAL__sub_I_Lump_libil2cpp_os_cpp();
  3352. })
  3353. }, {
  3354. func: (function() {
  3355. __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp();
  3356. })
  3357. }, {
  3358. func: (function() {
  3359. __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp();
  3360. })
  3361. }, {
  3362. func: (function() {
  3363. __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp();
  3364. })
  3365. }, {
  3366. func: (function() {
  3367. __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp();
  3368. })
  3369. }, {
  3370. func: (function() {
  3371. __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp();
  3372. })
  3373. }, {
  3374. func: (function() {
  3375. __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp();
  3376. })
  3377. }, {
  3378. func: (function() {
  3379. __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp();
  3380. })
  3381. }, {
  3382. func: (function() {
  3383. ___emscripten_environ_constructor();
  3384. })
  3385. });
  3386. var STATIC_BUMP = 2440640;
  3387. Module["STATIC_BASE"] = STATIC_BASE;
  3388. Module["STATIC_BUMP"] = STATIC_BUMP;
  3389. var tempDoublePtr = STATICTOP;
  3390. STATICTOP += 16;
  3391. assert(tempDoublePtr % 8 == 0);
  3392. function _CreateIFrame() {
  3393. window.location.href = "https://fangzhen.cocorobo.cn/blockly";
  3394. }
  3395. function _JS_Cursor_SetImage(ptr, length) {
  3396. var binary = "";
  3397. for (var i = 0; i < length; i++) binary += String.fromCharCode(HEAPU8[ptr + i]);
  3398. Module.canvas.style.cursor = "url(data:image/cur;base64," + btoa(binary) + "),default";
  3399. }
  3400. function _JS_Cursor_SetShow(show) {
  3401. Module.canvas.style.cursor = show ? "default" : "none";
  3402. }
  3403. function _JS_Eval_ClearInterval(id) {
  3404. window.clearInterval(id);
  3405. }
  3406. function _JS_Eval_SetInterval(func, arg, millis) {
  3407. Module["noExitRuntime"] = true;
  3408. function wrapper() {
  3409. getFuncWrapper(func, "vi")(arg);
  3410. }
  3411. return Browser.safeSetInterval(wrapper, millis);
  3412. }
  3413. var fs = {
  3414. numPendingSync: 0,
  3415. syncInternal: 1e3,
  3416. syncInProgress: false,
  3417. sync: (function(onlyPendingSync) {
  3418. if (onlyPendingSync) {
  3419. if (fs.numPendingSync == 0) return;
  3420. } else if (fs.syncInProgress) {
  3421. fs.numPendingSync++;
  3422. return;
  3423. }
  3424. fs.syncInProgress = true;
  3425. FS.syncfs(false, (function(err) {
  3426. fs.syncInProgress = false;
  3427. }));
  3428. fs.numPendingSync = 0;
  3429. })
  3430. };
  3431. function _JS_FileSystem_Initialize() {
  3432. Module.setInterval((function() {
  3433. fs.sync(true);
  3434. }), fs.syncInternal);
  3435. }
  3436. function _JS_FileSystem_Sync() {
  3437. fs.sync(false);
  3438. }
  3439. function _JS_Log_Dump(ptr, type) {
  3440. var str = Pointer_stringify(ptr);
  3441. if (typeof dump == "function") dump(str);
  3442. switch (type) {
  3443. case 0:
  3444. case 1:
  3445. case 4:
  3446. console.error(str);
  3447. return;
  3448. case 2:
  3449. console.warn(str);
  3450. return;
  3451. case 3:
  3452. case 5:
  3453. console.log(str);
  3454. return;
  3455. default:
  3456. console.error("Unknown console message type!");
  3457. console.error(str);
  3458. }
  3459. }
  3460. function _JS_Log_StackTrace(buffer, bufferSize) {
  3461. var trace = stackTrace();
  3462. if (buffer) stringToUTF8(trace, buffer, bufferSize);
  3463. return lengthBytesUTF8(trace);
  3464. }
  3465. function _JS_Profiler_InjectJobs() {
  3466. for (var jobname in Module["Jobs"]) {
  3467. var job = Module["Jobs"][jobname];
  3468. if (typeof job["endtime"] != "undefined") Module.ccall("InjectProfilerSample", null, [ "string", "number", "number" ], [ jobname, job.starttime, job.endtime ]);
  3469. }
  3470. }
  3471. var WEBAudio = {
  3472. audioInstanceIdCounter: 0,
  3473. audioInstances: {},
  3474. audioContext: null,
  3475. audioWebEnabled: 0
  3476. };
  3477. function _JS_Sound_Create_Channel(callback, userData) {
  3478. if (WEBAudio.audioWebEnabled == 0) return;
  3479. var channel = {
  3480. gain: WEBAudio.audioContext.createGain(),
  3481. panner: WEBAudio.audioContext.createPanner(),
  3482. threeD: false,
  3483. playBuffer: (function(startTime, buffer, startOffset) {
  3484. this.setup();
  3485. this.source.buffer = buffer;
  3486. var chan = this;
  3487. this.source.onended = (function() {
  3488. chan.disconnectSource();
  3489. if (callback) dynCall("vi", callback, [ userData ]);
  3490. });
  3491. this.source.start(startTime, startOffset);
  3492. this.source.playbackStartTime = startTime - startOffset / this.source.playbackRate.value;
  3493. }),
  3494. disconnectSource: (function() {
  3495. if (this.source && !this.source.isPausedMockNode) {
  3496. this.source.onended = null;
  3497. this.source.disconnect();
  3498. delete this.source;
  3499. }
  3500. }),
  3501. stop: (function(delay) {
  3502. if (channel.source && channel.source.buffer) {
  3503. try {
  3504. channel.source.stop(WEBAudio.audioContext.currentTime + delay);
  3505. } catch (e) {}
  3506. if (delay == 0) {
  3507. channel.disconnectSource();
  3508. }
  3509. }
  3510. }),
  3511. pause: (function() {
  3512. var s = this.source;
  3513. if (!s) return;
  3514. var pausedSource = {
  3515. isPausedMockNode: true,
  3516. loop: s.loop,
  3517. loopStart: s.loopStart,
  3518. loopEnd: s.loopEnd,
  3519. buffer: s.buffer,
  3520. playbackRate: s.playbackRate.value,
  3521. playbackPausedAtPosition: s.estimatePlaybackPosition(),
  3522. setPitch: (function(v) {
  3523. this.playbackRate = v;
  3524. })
  3525. };
  3526. this.stop(0);
  3527. this.disconnectSource();
  3528. this.source = pausedSource;
  3529. }),
  3530. resume: (function() {
  3531. var pausedSource = this.source;
  3532. if (!pausedSource || !pausedSource.isPausedMockNode) return;
  3533. delete this.source;
  3534. this.setup();
  3535. this.playBuffer(WEBAudio.audioContext.currentTime - Math.min(0, pausedSource.playbackPausedAtPosition), pausedSource.buffer, Math.max(0, pausedSource.playbackPausedAtPosition));
  3536. this.source.loop = pausedSource.loop;
  3537. this.source.loopStart = pausedSource.loopStart;
  3538. this.source.loopEnd = pausedSource.loopEnd;
  3539. this.source.setPitch(pausedSource.playbackRate);
  3540. }),
  3541. setup: (function() {
  3542. if (this.source && !this.source.isPausedMockNode) return;
  3543. this.source = WEBAudio.audioContext.createBufferSource();
  3544. this.source.estimatePlaybackPosition = (function() {
  3545. var t = (WEBAudio.audioContext.currentTime - this.playbackStartTime) * this.playbackRate.value;
  3546. if (this.loop && t >= this.loopStart) {
  3547. t = (t - this.loopStart) % (this.loopEnd - this.loopStart) + this.loopStart;
  3548. }
  3549. return t;
  3550. });
  3551. this.source.setPitch = (function(newPitch) {
  3552. var curPosition = this.estimatePlaybackPosition();
  3553. if (curPosition >= 0) {
  3554. this.playbackStartTime = WEBAudio.audioContext.currentTime - curPosition / newPitch;
  3555. }
  3556. this.playbackRate.value = newPitch;
  3557. });
  3558. this.setupPanning();
  3559. }),
  3560. setupPanning: (function() {
  3561. if (this.source.isPausedMockNode) return;
  3562. this.source.disconnect();
  3563. if (this.threeD) {
  3564. this.source.connect(this.panner);
  3565. this.panner.connect(this.gain);
  3566. } else {
  3567. this.panner.disconnect();
  3568. this.source.connect(this.gain);
  3569. }
  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. var sampleRateRatio = 44100 / sound.buffer.sampleRate;
  3581. return sound.buffer.length * sampleRateRatio;
  3582. }
  3583. function _JS_Sound_GetLoadState(bufferInstance) {
  3584. if (WEBAudio.audioWebEnabled == 0) return 2;
  3585. var sound = WEBAudio.audioInstances[bufferInstance];
  3586. if (sound.error) return 2;
  3587. if (sound.buffer) return 0;
  3588. return 1;
  3589. }
  3590. function _JS_Sound_Init() {
  3591. try {
  3592. window.AudioContext = window.AudioContext || window.webkitAudioContext;
  3593. WEBAudio.audioContext = new AudioContext;
  3594. var tryToResumeAudioContext = (function() {
  3595. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume(); else Module.clearInterval(resumeInterval);
  3596. });
  3597. var resumeInterval = Module.setInterval(tryToResumeAudioContext, 400);
  3598. WEBAudio.audioWebEnabled = 1;
  3599. } catch (e) {
  3600. alert("Web Audio API is not supported in this browser");
  3601. }
  3602. }
  3603. function _JS_Sound_Load(ptr, length) {
  3604. if (WEBAudio.audioWebEnabled == 0) return 0;
  3605. var sound = {
  3606. buffer: null,
  3607. error: false
  3608. };
  3609. WEBAudio.audioInstances[++WEBAudio.audioInstanceIdCounter] = sound;
  3610. var audioData = HEAPU8.buffer.slice(ptr, ptr + length);
  3611. WEBAudio.audioContext.decodeAudioData(audioData, (function(buffer) {
  3612. sound.buffer = buffer;
  3613. }), (function() {
  3614. sound.error = true;
  3615. console.log("Decode error.");
  3616. }));
  3617. return WEBAudio.audioInstanceIdCounter;
  3618. }
  3619. function _JS_Sound_Load_PCM(channels, length, sampleRate, ptr) {
  3620. if (WEBAudio.audioWebEnabled == 0) return 0;
  3621. var sound = {
  3622. buffer: WEBAudio.audioContext.createBuffer(channels, length, sampleRate),
  3623. error: false
  3624. };
  3625. for (var i = 0; i < channels; i++) {
  3626. var offs = (ptr >> 2) + length * i;
  3627. var buffer = sound.buffer;
  3628. var copyToChannel = buffer["copyToChannel"] || (function(source, channelNumber, startInChannel) {
  3629. var clipped = source.subarray(0, Math.min(source.length, this.length - (startInChannel | 0)));
  3630. this.getChannelData(channelNumber | 0).set(clipped, startInChannel | 0);
  3631. });
  3632. copyToChannel.apply(buffer, [ HEAPF32.subarray(offs, offs + length), i, 0 ]);
  3633. }
  3634. WEBAudio.audioInstances[++WEBAudio.audioInstanceIdCounter] = sound;
  3635. return WEBAudio.audioInstanceIdCounter;
  3636. }
  3637. function _JS_Sound_Play(bufferInstance, channelInstance, offset, delay) {
  3638. _JS_Sound_Stop(channelInstance, 0);
  3639. if (WEBAudio.audioWebEnabled == 0) return;
  3640. var sound = WEBAudio.audioInstances[bufferInstance];
  3641. var channel = WEBAudio.audioInstances[channelInstance];
  3642. if (sound.buffer) {
  3643. try {
  3644. channel.playBuffer(WEBAudio.audioContext.currentTime + delay, sound.buffer, offset);
  3645. } catch (e) {
  3646. console.error("playBuffer error. Exception: " + e);
  3647. }
  3648. } else console.log("Trying to play sound which is not loaded.");
  3649. }
  3650. function _JS_Sound_ReleaseInstance(instance) {
  3651. delete WEBAudio.audioInstances[instance];
  3652. }
  3653. function _JS_Sound_ResumeIfNeeded() {
  3654. if (WEBAudio.audioWebEnabled == 0) return;
  3655. if (WEBAudio.audioContext.state === "suspended") WEBAudio.audioContext.resume();
  3656. }
  3657. function _JS_Sound_Set3D(channelInstance, threeD) {
  3658. var channel = WEBAudio.audioInstances[channelInstance];
  3659. if (channel.threeD != threeD) {
  3660. channel.threeD = threeD;
  3661. if (!channel.source) {
  3662. channel.setup();
  3663. }
  3664. channel.setupPanning();
  3665. }
  3666. }
  3667. function _JS_Sound_SetListenerOrientation(x, y, z, xUp, yUp, zUp) {
  3668. if (WEBAudio.audioWebEnabled == 0) return;
  3669. if (WEBAudio.audioContext.listener.forwardX) {
  3670. WEBAudio.audioContext.listener.forwardX.setValueAtTime(-x, WEBAudio.audioContext.currentTime);
  3671. WEBAudio.audioContext.listener.forwardY.setValueAtTime(-y, WEBAudio.audioContext.currentTime);
  3672. WEBAudio.audioContext.listener.forwardZ.setValueAtTime(-z, WEBAudio.audioContext.currentTime);
  3673. WEBAudio.audioContext.listener.upX.setValueAtTime(xUp, WEBAudio.audioContext.currentTime);
  3674. WEBAudio.audioContext.listener.upY.setValueAtTime(yUp, WEBAudio.audioContext.currentTime);
  3675. WEBAudio.audioContext.listener.upZ.setValueAtTime(zUp, WEBAudio.audioContext.currentTime);
  3676. } else {
  3677. WEBAudio.audioContext.listener.setOrientation(-x, -y, -z, xUp, yUp, zUp);
  3678. }
  3679. }
  3680. function _JS_Sound_SetListenerPosition(x, y, z) {
  3681. if (WEBAudio.audioWebEnabled == 0) return;
  3682. if (WEBAudio.audioContext.listener.positionX) {
  3683. WEBAudio.audioContext.listener.positionX.setValueAtTime(x, WEBAudio.audioContext.currentTime);
  3684. WEBAudio.audioContext.listener.positionY.setValueAtTime(y, WEBAudio.audioContext.currentTime);
  3685. WEBAudio.audioContext.listener.positionZ.setValueAtTime(z, WEBAudio.audioContext.currentTime);
  3686. } else {
  3687. WEBAudio.audioContext.listener.setPosition(x, y, z);
  3688. }
  3689. }
  3690. function _JS_Sound_SetLoop(channelInstance, loop) {
  3691. if (WEBAudio.audioWebEnabled == 0) return;
  3692. var channel = WEBAudio.audioInstances[channelInstance];
  3693. if (!channel.source) {
  3694. channel.setup();
  3695. }
  3696. channel.source.loop = loop;
  3697. }
  3698. function _JS_Sound_SetLoopPoints(channelInstance, loopStart, loopEnd) {
  3699. if (WEBAudio.audioWebEnabled == 0) return;
  3700. var channel = WEBAudio.audioInstances[channelInstance];
  3701. if (!channel.source) {
  3702. channel.setup();
  3703. }
  3704. channel.source.loopStart = loopStart;
  3705. channel.source.loopEnd = loopEnd;
  3706. }
  3707. function _JS_Sound_SetPaused(channelInstance, paused) {
  3708. if (WEBAudio.audioWebEnabled == 0) return;
  3709. var channel = WEBAudio.audioInstances[channelInstance];
  3710. var channelCurrentlyPaused = !channel.source || channel.source.isPausedMockNode;
  3711. if (paused != channelCurrentlyPaused) {
  3712. if (paused) channel.pause(); else channel.resume();
  3713. }
  3714. }
  3715. function _JS_Sound_SetPitch(channelInstance, v) {
  3716. if (WEBAudio.audioWebEnabled == 0) return;
  3717. try {
  3718. WEBAudio.audioInstances[channelInstance].source.setPitch(v);
  3719. } catch (e) {
  3720. console.error("Invalid audio pitch " + v + " specified to WebAudio backend!");
  3721. }
  3722. }
  3723. function _JS_Sound_SetPosition(channelInstance, x, y, z) {
  3724. if (WEBAudio.audioWebEnabled == 0) return;
  3725. var channel = WEBAudio.audioInstances[channelInstance];
  3726. if (channel.x != x || channel.y != y || channel.z != z) {
  3727. channel.panner.setPosition(x, y, z);
  3728. channel.x = x;
  3729. channel.y = y;
  3730. channel.z = z;
  3731. }
  3732. }
  3733. function _JS_Sound_SetVolume(channelInstance, v) {
  3734. if (WEBAudio.audioWebEnabled == 0) return;
  3735. try {
  3736. WEBAudio.audioInstances[channelInstance].gain.gain.setValueAtTime(v, WEBAudio.audioContext.currentTime);
  3737. } catch (e) {
  3738. console.error("Invalid audio volume " + v + " specified to WebAudio backend!");
  3739. }
  3740. }
  3741. function _JS_Sound_Stop(channelInstance, delay) {
  3742. if (WEBAudio.audioWebEnabled == 0) return;
  3743. var channel = WEBAudio.audioInstances[channelInstance];
  3744. channel.stop(delay);
  3745. }
  3746. function _JS_SystemInfo_GetBrowserName(buffer, bufferSize) {
  3747. var browser = Module.SystemInfo.browser;
  3748. if (buffer) stringToUTF8(browser, buffer, bufferSize);
  3749. return lengthBytesUTF8(browser);
  3750. }
  3751. function _JS_SystemInfo_GetBrowserVersionString(buffer, bufferSize) {
  3752. var browserVer = Module.SystemInfo.browserVersion;
  3753. if (buffer) stringToUTF8(browserVer, buffer, bufferSize);
  3754. return lengthBytesUTF8(browserVer);
  3755. }
  3756. function _JS_SystemInfo_GetCanvasClientSize(domElementSelector, outWidth, outHeight) {
  3757. var selector = UTF8ToString(domElementSelector);
  3758. var canvas = selector == "#canvas" ? Module["canvas"] : document.querySelector(selector);
  3759. HEAPF64[outWidth >> 3] = canvas ? canvas.clientWidth : 0;
  3760. HEAPF64[outHeight >> 3] = canvas ? canvas.clientHeight : 0;
  3761. }
  3762. function _JS_SystemInfo_GetDocumentURL(buffer, bufferSize) {
  3763. if (buffer) stringToUTF8(document.URL, buffer, bufferSize);
  3764. return lengthBytesUTF8(document.URL);
  3765. }
  3766. function _JS_SystemInfo_GetGPUInfo(buffer, bufferSize) {
  3767. var gpuinfo = Module.SystemInfo.gpu;
  3768. if (buffer) stringToUTF8(gpuinfo, buffer, bufferSize);
  3769. return lengthBytesUTF8(gpuinfo);
  3770. }
  3771. function _JS_SystemInfo_GetLanguage(buffer, bufferSize) {
  3772. var language = Module.SystemInfo.language;
  3773. if (buffer) stringToUTF8(language, buffer, bufferSize);
  3774. return lengthBytesUTF8(language);
  3775. }
  3776. function _JS_SystemInfo_GetMatchWebGLToCanvasSize() {
  3777. return Module.matchWebGLToCanvasSize || Module.matchWebGLToCanvasSize === undefined;
  3778. }
  3779. function _JS_SystemInfo_GetMemory() {
  3780. return TOTAL_MEMORY / (1024 * 1024);
  3781. }
  3782. function _JS_SystemInfo_GetOS(buffer, bufferSize) {
  3783. var browser = Module.SystemInfo.os + " " + Module.SystemInfo.osVersion;
  3784. if (buffer) stringToUTF8(browser, buffer, bufferSize);
  3785. return lengthBytesUTF8(browser);
  3786. }
  3787. function _JS_SystemInfo_GetPreferredDevicePixelRatio() {
  3788. return Module.devicePixelRatio || window.devicePixelRatio || 1;
  3789. }
  3790. function _JS_SystemInfo_GetScreenSize(outWidth, outHeight) {
  3791. HEAPF64[outWidth >> 3] = Module.SystemInfo.width;
  3792. HEAPF64[outHeight >> 3] = Module.SystemInfo.height;
  3793. }
  3794. function _JS_SystemInfo_HasCursorLock() {
  3795. return Module.SystemInfo.hasCursorLock;
  3796. }
  3797. function _JS_SystemInfo_HasFullscreen() {
  3798. return Module.SystemInfo.hasFullscreen;
  3799. }
  3800. function _JS_SystemInfo_HasWebGL() {
  3801. return Module.SystemInfo.hasWebGL;
  3802. }
  3803. var wr = {
  3804. requestInstances: {},
  3805. nextRequestId: 1
  3806. };
  3807. function _JS_WebRequest_Abort(request) {
  3808. wr.requestInstances[request].abort();
  3809. }
  3810. function _JS_WebRequest_Create(url, method) {
  3811. var _url = Pointer_stringify(url);
  3812. var _method = Pointer_stringify(method);
  3813. var http = Module.companyName && Module.productName && Module.XMLHttpRequest ? new Module.XMLHttpRequest({
  3814. companyName: Module.companyName,
  3815. productName: Module.productName,
  3816. cacheControl: Module.cacheControl(_url)
  3817. }) : new XMLHttpRequest;
  3818. http.open(_method, _url, true);
  3819. http.responseType = "arraybuffer";
  3820. wr.requestInstances[wr.nextRequestId] = http;
  3821. return wr.nextRequestId++;
  3822. }
  3823. function _JS_WebRequest_GetResponseHeaders(request, buffer, bufferSize) {
  3824. var headers = wr.requestInstances[request].getAllResponseHeaders();
  3825. if (buffer) stringToUTF8(headers, buffer, bufferSize);
  3826. return lengthBytesUTF8(headers);
  3827. }
  3828. function _JS_WebRequest_Release(request) {
  3829. var http = wr.requestInstances[request];
  3830. http.onload = null;
  3831. http.onerror = null;
  3832. http.ontimeout = null;
  3833. http.onabort = null;
  3834. delete http;
  3835. wr.requestInstances[request] = null;
  3836. }
  3837. function _JS_WebRequest_Send(request, ptr, length) {
  3838. var http = wr.requestInstances[request];
  3839. try {
  3840. if (length > 0) {
  3841. var postData = HEAPU8.subarray(ptr, ptr + length);
  3842. http.send(postData);
  3843. } else http.send();
  3844. } catch (e) {
  3845. console.error(e.name + ": " + e.message);
  3846. }
  3847. }
  3848. function _JS_WebRequest_SetProgressHandler(request, arg, onprogress) {
  3849. var http = wr.requestInstances[request];
  3850. http.onprogress = function http_onprogress(e) {
  3851. if (onprogress) {
  3852. if (e.lengthComputable) dynCall("viii", onprogress, [ arg, e.loaded, e.total ]);
  3853. }
  3854. };
  3855. }
  3856. function _JS_WebRequest_SetRequestHeader(request, header, value) {
  3857. var _header = Pointer_stringify(header);
  3858. var _value = Pointer_stringify(value);
  3859. wr.requestInstances[request].setRequestHeader(_header, _value);
  3860. }
  3861. function _JS_WebRequest_SetResponseHandler(request, arg, onresponse) {
  3862. var http = wr.requestInstances[request];
  3863. http.onload = function http_onload(e) {
  3864. if (onresponse) {
  3865. var kWebRequestOK = 0;
  3866. var byteArray = new Uint8Array(http.response);
  3867. if (byteArray.length != 0) {
  3868. var buffer = _malloc(byteArray.length);
  3869. HEAPU8.set(byteArray, buffer);
  3870. dynCall("viiiiii", onresponse, [ arg, http.status, buffer, byteArray.length, 0, kWebRequestOK ]);
  3871. } else {
  3872. dynCall("viiiiii", onresponse, [ arg, http.status, 0, 0, 0, kWebRequestOK ]);
  3873. }
  3874. }
  3875. };
  3876. function HandleError(err, code) {
  3877. if (onresponse) {
  3878. var len = lengthBytesUTF8(err) + 1;
  3879. var buffer = _malloc(len);
  3880. stringToUTF8(err, buffer, len);
  3881. dynCall("viiiiii", onresponse, [ arg, http.status, 0, 0, buffer, code ]);
  3882. _free(buffer);
  3883. }
  3884. }
  3885. http.onerror = function http_onerror(e) {
  3886. var kWebErrorUnknown = 2;
  3887. HandleError("Unknown error.", kWebErrorUnknown);
  3888. };
  3889. http.ontimeout = function http_onerror(e) {
  3890. var kWebErrorTimeout = 14;
  3891. HandleError("Connection timed out.", kWebErrorTimeout);
  3892. };
  3893. http.onabort = function http_onerror(e) {
  3894. var kWebErrorAborted = 17;
  3895. HandleError("Aborted.", kWebErrorAborted);
  3896. };
  3897. }
  3898. function _JS_WebRequest_SetTimeout(request, timeout) {
  3899. wr.requestInstances[request].timeout = timeout;
  3900. }
  3901. function ___atomic_compare_exchange_8(ptr, expected, desiredl, desiredh, weak, success_memmodel, failure_memmodel) {
  3902. var pl = HEAP32[ptr >> 2];
  3903. var ph = HEAP32[ptr + 4 >> 2];
  3904. var el = HEAP32[expected >> 2];
  3905. var eh = HEAP32[expected + 4 >> 2];
  3906. if (pl === el && ph === eh) {
  3907. HEAP32[ptr >> 2] = desiredl;
  3908. HEAP32[ptr + 4 >> 2] = desiredh;
  3909. return 1;
  3910. } else {
  3911. HEAP32[expected >> 2] = pl;
  3912. HEAP32[expected + 4 >> 2] = ph;
  3913. return 0;
  3914. }
  3915. }
  3916. function ___atomic_fetch_add_8(ptr, vall, valh, memmodel) {
  3917. var l = HEAP32[ptr >> 2];
  3918. var h = HEAP32[ptr + 4 >> 2];
  3919. HEAP32[ptr >> 2] = _i64Add(l, h, vall, valh);
  3920. HEAP32[ptr + 4 >> 2] = getTempRet0();
  3921. return (setTempRet0(h), l) | 0;
  3922. }
  3923. var ENV = {};
  3924. function ___buildEnvironment(environ) {
  3925. var MAX_ENV_VALUES = 64;
  3926. var TOTAL_ENV_SIZE = 1024;
  3927. var poolPtr;
  3928. var envPtr;
  3929. if (!___buildEnvironment.called) {
  3930. ___buildEnvironment.called = true;
  3931. ENV["USER"] = ENV["LOGNAME"] = "web_user";
  3932. ENV["PATH"] = "/";
  3933. ENV["PWD"] = "/";
  3934. ENV["HOME"] = "/home/web_user";
  3935. ENV["LANG"] = "C.UTF-8";
  3936. ENV["_"] = Module["thisProgram"];
  3937. poolPtr = getMemory(TOTAL_ENV_SIZE);
  3938. envPtr = getMemory(MAX_ENV_VALUES * 4);
  3939. HEAP32[envPtr >> 2] = poolPtr;
  3940. HEAP32[environ >> 2] = envPtr;
  3941. } else {
  3942. envPtr = HEAP32[environ >> 2];
  3943. poolPtr = HEAP32[envPtr >> 2];
  3944. }
  3945. var strings = [];
  3946. var totalSize = 0;
  3947. for (var key in ENV) {
  3948. if (typeof ENV[key] === "string") {
  3949. var line = key + "=" + ENV[key];
  3950. strings.push(line);
  3951. totalSize += line.length;
  3952. }
  3953. }
  3954. if (totalSize > TOTAL_ENV_SIZE) {
  3955. throw new Error("Environment size exceeded TOTAL_ENV_SIZE!");
  3956. }
  3957. var ptrSize = 4;
  3958. for (var i = 0; i < strings.length; i++) {
  3959. var line = strings[i];
  3960. writeAsciiToMemory(line, poolPtr);
  3961. HEAP32[envPtr + i * ptrSize >> 2] = poolPtr;
  3962. poolPtr += line.length + 1;
  3963. }
  3964. HEAP32[envPtr + strings.length * ptrSize >> 2] = 0;
  3965. }
  3966. function ___cxa_allocate_exception(size) {
  3967. return _malloc(size);
  3968. }
  3969. function __ZSt18uncaught_exceptionv() {
  3970. return !!__ZSt18uncaught_exceptionv.uncaught_exception;
  3971. }
  3972. var EXCEPTIONS = {
  3973. last: 0,
  3974. caught: [],
  3975. infos: {},
  3976. deAdjust: (function(adjusted) {
  3977. if (!adjusted || EXCEPTIONS.infos[adjusted]) return adjusted;
  3978. for (var key in EXCEPTIONS.infos) {
  3979. var ptr = +key;
  3980. var info = EXCEPTIONS.infos[ptr];
  3981. if (info.adjusted === adjusted) {
  3982. return ptr;
  3983. }
  3984. }
  3985. return adjusted;
  3986. }),
  3987. addRef: (function(ptr) {
  3988. if (!ptr) return;
  3989. var info = EXCEPTIONS.infos[ptr];
  3990. info.refcount++;
  3991. }),
  3992. decRef: (function(ptr) {
  3993. if (!ptr) return;
  3994. var info = EXCEPTIONS.infos[ptr];
  3995. assert(info.refcount > 0);
  3996. info.refcount--;
  3997. if (info.refcount === 0 && !info.rethrown) {
  3998. if (info.destructor) {
  3999. Module["dynCall_vi"](info.destructor, ptr);
  4000. }
  4001. delete EXCEPTIONS.infos[ptr];
  4002. ___cxa_free_exception(ptr);
  4003. }
  4004. }),
  4005. clearRef: (function(ptr) {
  4006. if (!ptr) return;
  4007. var info = EXCEPTIONS.infos[ptr];
  4008. info.refcount = 0;
  4009. })
  4010. };
  4011. function ___cxa_begin_catch(ptr) {
  4012. var info = EXCEPTIONS.infos[ptr];
  4013. if (info && !info.caught) {
  4014. info.caught = true;
  4015. __ZSt18uncaught_exceptionv.uncaught_exception--;
  4016. }
  4017. if (info) info.rethrown = false;
  4018. EXCEPTIONS.caught.push(ptr);
  4019. EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));
  4020. return ptr;
  4021. }
  4022. function ___cxa_free_exception(ptr) {
  4023. try {
  4024. return _free(ptr);
  4025. } catch (e) {
  4026. err("exception during cxa_free_exception: " + e);
  4027. }
  4028. }
  4029. function ___cxa_end_catch() {
  4030. Module["setThrew"](0);
  4031. var ptr = EXCEPTIONS.caught.pop();
  4032. if (ptr) {
  4033. EXCEPTIONS.decRef(EXCEPTIONS.deAdjust(ptr));
  4034. EXCEPTIONS.last = 0;
  4035. }
  4036. }
  4037. function ___cxa_find_matching_catch_2() {
  4038. return ___cxa_find_matching_catch.apply(null, arguments);
  4039. }
  4040. function ___cxa_find_matching_catch_3() {
  4041. return ___cxa_find_matching_catch.apply(null, arguments);
  4042. }
  4043. function ___cxa_find_matching_catch_4() {
  4044. return ___cxa_find_matching_catch.apply(null, arguments);
  4045. }
  4046. function ___cxa_pure_virtual() {
  4047. ABORT = true;
  4048. throw "Pure virtual function called!";
  4049. }
  4050. function ___cxa_rethrow() {
  4051. var ptr = EXCEPTIONS.caught.pop();
  4052. ptr = EXCEPTIONS.deAdjust(ptr);
  4053. if (!EXCEPTIONS.infos[ptr].rethrown) {
  4054. EXCEPTIONS.caught.push(ptr);
  4055. EXCEPTIONS.infos[ptr].rethrown = true;
  4056. }
  4057. EXCEPTIONS.last = ptr;
  4058. throw ptr;
  4059. }
  4060. function ___resumeException(ptr) {
  4061. if (!EXCEPTIONS.last) {
  4062. EXCEPTIONS.last = ptr;
  4063. }
  4064. throw ptr;
  4065. }
  4066. function ___cxa_find_matching_catch() {
  4067. var thrown = EXCEPTIONS.last;
  4068. if (!thrown) {
  4069. return (setTempRet0(0), 0) | 0;
  4070. }
  4071. var info = EXCEPTIONS.infos[thrown];
  4072. var throwntype = info.type;
  4073. if (!throwntype) {
  4074. return (setTempRet0(0), thrown) | 0;
  4075. }
  4076. var typeArray = Array.prototype.slice.call(arguments);
  4077. var pointer = Module["___cxa_is_pointer_type"](throwntype);
  4078. if (!___cxa_find_matching_catch.buffer) ___cxa_find_matching_catch.buffer = _malloc(4);
  4079. HEAP32[___cxa_find_matching_catch.buffer >> 2] = thrown;
  4080. thrown = ___cxa_find_matching_catch.buffer;
  4081. for (var i = 0; i < typeArray.length; i++) {
  4082. if (typeArray[i] && Module["___cxa_can_catch"](typeArray[i], throwntype, thrown)) {
  4083. thrown = HEAP32[thrown >> 2];
  4084. info.adjusted = thrown;
  4085. return (setTempRet0(typeArray[i]), thrown) | 0;
  4086. }
  4087. }
  4088. thrown = HEAP32[thrown >> 2];
  4089. return (setTempRet0(throwntype), thrown) | 0;
  4090. }
  4091. function ___cxa_throw(ptr, type, destructor) {
  4092. EXCEPTIONS.infos[ptr] = {
  4093. ptr: ptr,
  4094. adjusted: ptr,
  4095. type: type,
  4096. destructor: destructor,
  4097. refcount: 0,
  4098. caught: false,
  4099. rethrown: false
  4100. };
  4101. EXCEPTIONS.last = ptr;
  4102. if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) {
  4103. __ZSt18uncaught_exceptionv.uncaught_exception = 1;
  4104. } else {
  4105. __ZSt18uncaught_exceptionv.uncaught_exception++;
  4106. }
  4107. throw ptr;
  4108. }
  4109. function ___gxx_personality_v0() {}
  4110. function ___lock() {}
  4111. var ERRNO_CODES = {
  4112. EPERM: 1,
  4113. ENOENT: 2,
  4114. ESRCH: 3,
  4115. EINTR: 4,
  4116. EIO: 5,
  4117. ENXIO: 6,
  4118. E2BIG: 7,
  4119. ENOEXEC: 8,
  4120. EBADF: 9,
  4121. ECHILD: 10,
  4122. EAGAIN: 11,
  4123. EWOULDBLOCK: 11,
  4124. ENOMEM: 12,
  4125. EACCES: 13,
  4126. EFAULT: 14,
  4127. ENOTBLK: 15,
  4128. EBUSY: 16,
  4129. EEXIST: 17,
  4130. EXDEV: 18,
  4131. ENODEV: 19,
  4132. ENOTDIR: 20,
  4133. EISDIR: 21,
  4134. EINVAL: 22,
  4135. ENFILE: 23,
  4136. EMFILE: 24,
  4137. ENOTTY: 25,
  4138. ETXTBSY: 26,
  4139. EFBIG: 27,
  4140. ENOSPC: 28,
  4141. ESPIPE: 29,
  4142. EROFS: 30,
  4143. EMLINK: 31,
  4144. EPIPE: 32,
  4145. EDOM: 33,
  4146. ERANGE: 34,
  4147. ENOMSG: 42,
  4148. EIDRM: 43,
  4149. ECHRNG: 44,
  4150. EL2NSYNC: 45,
  4151. EL3HLT: 46,
  4152. EL3RST: 47,
  4153. ELNRNG: 48,
  4154. EUNATCH: 49,
  4155. ENOCSI: 50,
  4156. EL2HLT: 51,
  4157. EDEADLK: 35,
  4158. ENOLCK: 37,
  4159. EBADE: 52,
  4160. EBADR: 53,
  4161. EXFULL: 54,
  4162. ENOANO: 55,
  4163. EBADRQC: 56,
  4164. EBADSLT: 57,
  4165. EDEADLOCK: 35,
  4166. EBFONT: 59,
  4167. ENOSTR: 60,
  4168. ENODATA: 61,
  4169. ETIME: 62,
  4170. ENOSR: 63,
  4171. ENONET: 64,
  4172. ENOPKG: 65,
  4173. EREMOTE: 66,
  4174. ENOLINK: 67,
  4175. EADV: 68,
  4176. ESRMNT: 69,
  4177. ECOMM: 70,
  4178. EPROTO: 71,
  4179. EMULTIHOP: 72,
  4180. EDOTDOT: 73,
  4181. EBADMSG: 74,
  4182. ENOTUNIQ: 76,
  4183. EBADFD: 77,
  4184. EREMCHG: 78,
  4185. ELIBACC: 79,
  4186. ELIBBAD: 80,
  4187. ELIBSCN: 81,
  4188. ELIBMAX: 82,
  4189. ELIBEXEC: 83,
  4190. ENOSYS: 38,
  4191. ENOTEMPTY: 39,
  4192. ENAMETOOLONG: 36,
  4193. ELOOP: 40,
  4194. EOPNOTSUPP: 95,
  4195. EPFNOSUPPORT: 96,
  4196. ECONNRESET: 104,
  4197. ENOBUFS: 105,
  4198. EAFNOSUPPORT: 97,
  4199. EPROTOTYPE: 91,
  4200. ENOTSOCK: 88,
  4201. ENOPROTOOPT: 92,
  4202. ESHUTDOWN: 108,
  4203. ECONNREFUSED: 111,
  4204. EADDRINUSE: 98,
  4205. ECONNABORTED: 103,
  4206. ENETUNREACH: 101,
  4207. ENETDOWN: 100,
  4208. ETIMEDOUT: 110,
  4209. EHOSTDOWN: 112,
  4210. EHOSTUNREACH: 113,
  4211. EINPROGRESS: 115,
  4212. EALREADY: 114,
  4213. EDESTADDRREQ: 89,
  4214. EMSGSIZE: 90,
  4215. EPROTONOSUPPORT: 93,
  4216. ESOCKTNOSUPPORT: 94,
  4217. EADDRNOTAVAIL: 99,
  4218. ENETRESET: 102,
  4219. EISCONN: 106,
  4220. ENOTCONN: 107,
  4221. ETOOMANYREFS: 109,
  4222. EUSERS: 87,
  4223. EDQUOT: 122,
  4224. ESTALE: 116,
  4225. ENOTSUP: 95,
  4226. ENOMEDIUM: 123,
  4227. EILSEQ: 84,
  4228. EOVERFLOW: 75,
  4229. ECANCELED: 125,
  4230. ENOTRECOVERABLE: 131,
  4231. EOWNERDEAD: 130,
  4232. ESTRPIPE: 86
  4233. };
  4234. function ___setErrNo(value) {
  4235. if (Module["___errno_location"]) HEAP32[Module["___errno_location"]() >> 2] = value; else err("failed to set errno from JS");
  4236. return value;
  4237. }
  4238. function ___map_file(pathname, size) {
  4239. ___setErrNo(ERRNO_CODES.EPERM);
  4240. return -1;
  4241. }
  4242. var ERRNO_MESSAGES = {
  4243. 0: "Success",
  4244. 1: "Not super-user",
  4245. 2: "No such file or directory",
  4246. 3: "No such process",
  4247. 4: "Interrupted system call",
  4248. 5: "I/O error",
  4249. 6: "No such device or address",
  4250. 7: "Arg list too long",
  4251. 8: "Exec format error",
  4252. 9: "Bad file number",
  4253. 10: "No children",
  4254. 11: "No more processes",
  4255. 12: "Not enough core",
  4256. 13: "Permission denied",
  4257. 14: "Bad address",
  4258. 15: "Block device required",
  4259. 16: "Mount device busy",
  4260. 17: "File exists",
  4261. 18: "Cross-device link",
  4262. 19: "No such device",
  4263. 20: "Not a directory",
  4264. 21: "Is a directory",
  4265. 22: "Invalid argument",
  4266. 23: "Too many open files in system",
  4267. 24: "Too many open files",
  4268. 25: "Not a typewriter",
  4269. 26: "Text file busy",
  4270. 27: "File too large",
  4271. 28: "No space left on device",
  4272. 29: "Illegal seek",
  4273. 30: "Read only file system",
  4274. 31: "Too many links",
  4275. 32: "Broken pipe",
  4276. 33: "Math arg out of domain of func",
  4277. 34: "Math result not representable",
  4278. 35: "File locking deadlock error",
  4279. 36: "File or path name too long",
  4280. 37: "No record locks available",
  4281. 38: "Function not implemented",
  4282. 39: "Directory not empty",
  4283. 40: "Too many symbolic links",
  4284. 42: "No message of desired type",
  4285. 43: "Identifier removed",
  4286. 44: "Channel number out of range",
  4287. 45: "Level 2 not synchronized",
  4288. 46: "Level 3 halted",
  4289. 47: "Level 3 reset",
  4290. 48: "Link number out of range",
  4291. 49: "Protocol driver not attached",
  4292. 50: "No CSI structure available",
  4293. 51: "Level 2 halted",
  4294. 52: "Invalid exchange",
  4295. 53: "Invalid request descriptor",
  4296. 54: "Exchange full",
  4297. 55: "No anode",
  4298. 56: "Invalid request code",
  4299. 57: "Invalid slot",
  4300. 59: "Bad font file fmt",
  4301. 60: "Device not a stream",
  4302. 61: "No data (for no delay io)",
  4303. 62: "Timer expired",
  4304. 63: "Out of streams resources",
  4305. 64: "Machine is not on the network",
  4306. 65: "Package not installed",
  4307. 66: "The object is remote",
  4308. 67: "The link has been severed",
  4309. 68: "Advertise error",
  4310. 69: "Srmount error",
  4311. 70: "Communication error on send",
  4312. 71: "Protocol error",
  4313. 72: "Multihop attempted",
  4314. 73: "Cross mount point (not really error)",
  4315. 74: "Trying to read unreadable message",
  4316. 75: "Value too large for defined data type",
  4317. 76: "Given log. name not unique",
  4318. 77: "f.d. invalid for this operation",
  4319. 78: "Remote address changed",
  4320. 79: "Can access a needed shared lib",
  4321. 80: "Accessing a corrupted shared lib",
  4322. 81: ".lib section in a.out corrupted",
  4323. 82: "Attempting to link in too many libs",
  4324. 83: "Attempting to exec a shared library",
  4325. 84: "Illegal byte sequence",
  4326. 86: "Streams pipe error",
  4327. 87: "Too many users",
  4328. 88: "Socket operation on non-socket",
  4329. 89: "Destination address required",
  4330. 90: "Message too long",
  4331. 91: "Protocol wrong type for socket",
  4332. 92: "Protocol not available",
  4333. 93: "Unknown protocol",
  4334. 94: "Socket type not supported",
  4335. 95: "Not supported",
  4336. 96: "Protocol family not supported",
  4337. 97: "Address family not supported by protocol family",
  4338. 98: "Address already in use",
  4339. 99: "Address not available",
  4340. 100: "Network interface is not configured",
  4341. 101: "Network is unreachable",
  4342. 102: "Connection reset by network",
  4343. 103: "Connection aborted",
  4344. 104: "Connection reset by peer",
  4345. 105: "No buffer space available",
  4346. 106: "Socket is already connected",
  4347. 107: "Socket is not connected",
  4348. 108: "Can't send after socket shutdown",
  4349. 109: "Too many references",
  4350. 110: "Connection timed out",
  4351. 111: "Connection refused",
  4352. 112: "Host is down",
  4353. 113: "Host is unreachable",
  4354. 114: "Socket already connected",
  4355. 115: "Connection already in progress",
  4356. 116: "Stale file handle",
  4357. 122: "Quota exceeded",
  4358. 123: "No medium (in tape drive)",
  4359. 125: "Operation canceled",
  4360. 130: "Previous owner died",
  4361. 131: "State not recoverable"
  4362. };
  4363. var PATH = {
  4364. splitPath: (function(filename) {
  4365. var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
  4366. return splitPathRe.exec(filename).slice(1);
  4367. }),
  4368. normalizeArray: (function(parts, allowAboveRoot) {
  4369. var up = 0;
  4370. for (var i = parts.length - 1; i >= 0; i--) {
  4371. var last = parts[i];
  4372. if (last === ".") {
  4373. parts.splice(i, 1);
  4374. } else if (last === "..") {
  4375. parts.splice(i, 1);
  4376. up++;
  4377. } else if (up) {
  4378. parts.splice(i, 1);
  4379. up--;
  4380. }
  4381. }
  4382. if (allowAboveRoot) {
  4383. for (; up; up--) {
  4384. parts.unshift("..");
  4385. }
  4386. }
  4387. return parts;
  4388. }),
  4389. normalize: (function(path) {
  4390. var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/";
  4391. path = PATH.normalizeArray(path.split("/").filter((function(p) {
  4392. return !!p;
  4393. })), !isAbsolute).join("/");
  4394. if (!path && !isAbsolute) {
  4395. path = ".";
  4396. }
  4397. if (path && trailingSlash) {
  4398. path += "/";
  4399. }
  4400. return (isAbsolute ? "/" : "") + path;
  4401. }),
  4402. dirname: (function(path) {
  4403. var result = PATH.splitPath(path), root = result[0], dir = result[1];
  4404. if (!root && !dir) {
  4405. return ".";
  4406. }
  4407. if (dir) {
  4408. dir = dir.substr(0, dir.length - 1);
  4409. }
  4410. return root + dir;
  4411. }),
  4412. basename: (function(path) {
  4413. if (path === "/") return "/";
  4414. var lastSlash = path.lastIndexOf("/");
  4415. if (lastSlash === -1) return path;
  4416. return path.substr(lastSlash + 1);
  4417. }),
  4418. extname: (function(path) {
  4419. return PATH.splitPath(path)[3];
  4420. }),
  4421. join: (function() {
  4422. var paths = Array.prototype.slice.call(arguments, 0);
  4423. return PATH.normalize(paths.join("/"));
  4424. }),
  4425. join2: (function(l, r) {
  4426. return PATH.normalize(l + "/" + r);
  4427. }),
  4428. resolve: (function() {
  4429. var resolvedPath = "", resolvedAbsolute = false;
  4430. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  4431. var path = i >= 0 ? arguments[i] : FS.cwd();
  4432. if (typeof path !== "string") {
  4433. throw new TypeError("Arguments to path.resolve must be strings");
  4434. } else if (!path) {
  4435. return "";
  4436. }
  4437. resolvedPath = path + "/" + resolvedPath;
  4438. resolvedAbsolute = path.charAt(0) === "/";
  4439. }
  4440. resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter((function(p) {
  4441. return !!p;
  4442. })), !resolvedAbsolute).join("/");
  4443. return (resolvedAbsolute ? "/" : "") + resolvedPath || ".";
  4444. }),
  4445. relative: (function(from, to) {
  4446. from = PATH.resolve(from).substr(1);
  4447. to = PATH.resolve(to).substr(1);
  4448. function trim(arr) {
  4449. var start = 0;
  4450. for (; start < arr.length; start++) {
  4451. if (arr[start] !== "") break;
  4452. }
  4453. var end = arr.length - 1;
  4454. for (; end >= 0; end--) {
  4455. if (arr[end] !== "") break;
  4456. }
  4457. if (start > end) return [];
  4458. return arr.slice(start, end - start + 1);
  4459. }
  4460. var fromParts = trim(from.split("/"));
  4461. var toParts = trim(to.split("/"));
  4462. var length = Math.min(fromParts.length, toParts.length);
  4463. var samePartsLength = length;
  4464. for (var i = 0; i < length; i++) {
  4465. if (fromParts[i] !== toParts[i]) {
  4466. samePartsLength = i;
  4467. break;
  4468. }
  4469. }
  4470. var outputParts = [];
  4471. for (var i = samePartsLength; i < fromParts.length; i++) {
  4472. outputParts.push("..");
  4473. }
  4474. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  4475. return outputParts.join("/");
  4476. })
  4477. };
  4478. var TTY = {
  4479. ttys: [],
  4480. init: (function() {}),
  4481. shutdown: (function() {}),
  4482. register: (function(dev, ops) {
  4483. TTY.ttys[dev] = {
  4484. input: [],
  4485. output: [],
  4486. ops: ops
  4487. };
  4488. FS.registerDevice(dev, TTY.stream_ops);
  4489. }),
  4490. stream_ops: {
  4491. open: (function(stream) {
  4492. var tty = TTY.ttys[stream.node.rdev];
  4493. if (!tty) {
  4494. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4495. }
  4496. stream.tty = tty;
  4497. stream.seekable = false;
  4498. }),
  4499. close: (function(stream) {
  4500. stream.tty.ops.flush(stream.tty);
  4501. }),
  4502. flush: (function(stream) {
  4503. stream.tty.ops.flush(stream.tty);
  4504. }),
  4505. read: (function(stream, buffer, offset, length, pos) {
  4506. if (!stream.tty || !stream.tty.ops.get_char) {
  4507. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4508. }
  4509. var bytesRead = 0;
  4510. for (var i = 0; i < length; i++) {
  4511. var result;
  4512. try {
  4513. result = stream.tty.ops.get_char(stream.tty);
  4514. } catch (e) {
  4515. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4516. }
  4517. if (result === undefined && bytesRead === 0) {
  4518. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  4519. }
  4520. if (result === null || result === undefined) break;
  4521. bytesRead++;
  4522. buffer[offset + i] = result;
  4523. }
  4524. if (bytesRead) {
  4525. stream.node.timestamp = Date.now();
  4526. }
  4527. return bytesRead;
  4528. }),
  4529. write: (function(stream, buffer, offset, length, pos) {
  4530. if (!stream.tty || !stream.tty.ops.put_char) {
  4531. throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
  4532. }
  4533. for (var i = 0; i < length; i++) {
  4534. try {
  4535. stream.tty.ops.put_char(stream.tty, buffer[offset + i]);
  4536. } catch (e) {
  4537. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  4538. }
  4539. }
  4540. if (length) {
  4541. stream.node.timestamp = Date.now();
  4542. }
  4543. return i;
  4544. })
  4545. },
  4546. default_tty_ops: {
  4547. get_char: (function(tty) {
  4548. if (!tty.input.length) {
  4549. var result = null;
  4550. if (ENVIRONMENT_IS_NODE) {
  4551. var BUFSIZE = 256;
  4552. var buf = new Buffer(BUFSIZE);
  4553. var bytesRead = 0;
  4554. var isPosixPlatform = process.platform != "win32";
  4555. var fd = process.stdin.fd;
  4556. if (isPosixPlatform) {
  4557. var usingDevice = false;
  4558. try {
  4559. fd = fs.openSync("/dev/stdin", "r");
  4560. usingDevice = true;
  4561. } catch (e) {}
  4562. }
  4563. try {
  4564. bytesRead = fs.readSync(fd, buf, 0, BUFSIZE, null);
  4565. } catch (e) {
  4566. if (e.toString().indexOf("EOF") != -1) bytesRead = 0; else throw e;
  4567. }
  4568. if (usingDevice) {
  4569. fs.closeSync(fd);
  4570. }
  4571. if (bytesRead > 0) {
  4572. result = buf.slice(0, bytesRead).toString("utf-8");
  4573. } else {
  4574. result = null;
  4575. }
  4576. } else if (typeof window != "undefined" && typeof window.prompt == "function") {
  4577. result = window.prompt("Input: ");
  4578. if (result !== null) {
  4579. result += "\n";
  4580. }
  4581. } else if (typeof readline == "function") {
  4582. result = readline();
  4583. if (result !== null) {
  4584. result += "\n";
  4585. }
  4586. }
  4587. if (!result) {
  4588. return null;
  4589. }
  4590. tty.input = intArrayFromString(result, true);
  4591. }
  4592. return tty.input.shift();
  4593. }),
  4594. put_char: (function(tty, val) {
  4595. if (val === null || val === 10) {
  4596. out(UTF8ArrayToString(tty.output, 0));
  4597. tty.output = [];
  4598. } else {
  4599. if (val != 0) tty.output.push(val);
  4600. }
  4601. }),
  4602. flush: (function(tty) {
  4603. if (tty.output && tty.output.length > 0) {
  4604. out(UTF8ArrayToString(tty.output, 0));
  4605. tty.output = [];
  4606. }
  4607. })
  4608. },
  4609. default_tty1_ops: {
  4610. put_char: (function(tty, val) {
  4611. if (val === null || val === 10) {
  4612. err(UTF8ArrayToString(tty.output, 0));
  4613. tty.output = [];
  4614. } else {
  4615. if (val != 0) tty.output.push(val);
  4616. }
  4617. }),
  4618. flush: (function(tty) {
  4619. if (tty.output && tty.output.length > 0) {
  4620. err(UTF8ArrayToString(tty.output, 0));
  4621. tty.output = [];
  4622. }
  4623. })
  4624. }
  4625. };
  4626. var MEMFS = {
  4627. ops_table: null,
  4628. mount: (function(mount) {
  4629. return MEMFS.createNode(null, "/", 16384 | 511, 0);
  4630. }),
  4631. createNode: (function(parent, name, mode, dev) {
  4632. if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
  4633. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  4634. }
  4635. if (!MEMFS.ops_table) {
  4636. MEMFS.ops_table = {
  4637. dir: {
  4638. node: {
  4639. getattr: MEMFS.node_ops.getattr,
  4640. setattr: MEMFS.node_ops.setattr,
  4641. lookup: MEMFS.node_ops.lookup,
  4642. mknod: MEMFS.node_ops.mknod,
  4643. rename: MEMFS.node_ops.rename,
  4644. unlink: MEMFS.node_ops.unlink,
  4645. rmdir: MEMFS.node_ops.rmdir,
  4646. readdir: MEMFS.node_ops.readdir,
  4647. symlink: MEMFS.node_ops.symlink
  4648. },
  4649. stream: {
  4650. llseek: MEMFS.stream_ops.llseek
  4651. }
  4652. },
  4653. file: {
  4654. node: {
  4655. getattr: MEMFS.node_ops.getattr,
  4656. setattr: MEMFS.node_ops.setattr
  4657. },
  4658. stream: {
  4659. llseek: MEMFS.stream_ops.llseek,
  4660. read: MEMFS.stream_ops.read,
  4661. write: MEMFS.stream_ops.write,
  4662. allocate: MEMFS.stream_ops.allocate,
  4663. mmap: MEMFS.stream_ops.mmap,
  4664. msync: MEMFS.stream_ops.msync
  4665. }
  4666. },
  4667. link: {
  4668. node: {
  4669. getattr: MEMFS.node_ops.getattr,
  4670. setattr: MEMFS.node_ops.setattr,
  4671. readlink: MEMFS.node_ops.readlink
  4672. },
  4673. stream: {}
  4674. },
  4675. chrdev: {
  4676. node: {
  4677. getattr: MEMFS.node_ops.getattr,
  4678. setattr: MEMFS.node_ops.setattr
  4679. },
  4680. stream: FS.chrdev_stream_ops
  4681. }
  4682. };
  4683. }
  4684. var node = FS.createNode(parent, name, mode, dev);
  4685. if (FS.isDir(node.mode)) {
  4686. node.node_ops = MEMFS.ops_table.dir.node;
  4687. node.stream_ops = MEMFS.ops_table.dir.stream;
  4688. node.contents = {};
  4689. } else if (FS.isFile(node.mode)) {
  4690. node.node_ops = MEMFS.ops_table.file.node;
  4691. node.stream_ops = MEMFS.ops_table.file.stream;
  4692. node.usedBytes = 0;
  4693. node.contents = null;
  4694. } else if (FS.isLink(node.mode)) {
  4695. node.node_ops = MEMFS.ops_table.link.node;
  4696. node.stream_ops = MEMFS.ops_table.link.stream;
  4697. } else if (FS.isChrdev(node.mode)) {
  4698. node.node_ops = MEMFS.ops_table.chrdev.node;
  4699. node.stream_ops = MEMFS.ops_table.chrdev.stream;
  4700. }
  4701. node.timestamp = Date.now();
  4702. if (parent) {
  4703. parent.contents[name] = node;
  4704. }
  4705. return node;
  4706. }),
  4707. getFileDataAsRegularArray: (function(node) {
  4708. if (node.contents && node.contents.subarray) {
  4709. var arr = [];
  4710. for (var i = 0; i < node.usedBytes; ++i) arr.push(node.contents[i]);
  4711. return arr;
  4712. }
  4713. return node.contents;
  4714. }),
  4715. getFileDataAsTypedArray: (function(node) {
  4716. if (!node.contents) return new Uint8Array;
  4717. if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
  4718. return new Uint8Array(node.contents);
  4719. }),
  4720. expandFileStorage: (function(node, newCapacity) {
  4721. if (node.contents && node.contents.subarray && newCapacity > node.contents.length) {
  4722. node.contents = MEMFS.getFileDataAsRegularArray(node);
  4723. node.usedBytes = node.contents.length;
  4724. }
  4725. if (!node.contents || node.contents.subarray) {
  4726. var prevCapacity = node.contents ? node.contents.length : 0;
  4727. if (prevCapacity >= newCapacity) return;
  4728. var CAPACITY_DOUBLING_MAX = 1024 * 1024;
  4729. newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) | 0);
  4730. if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
  4731. var oldContents = node.contents;
  4732. node.contents = new Uint8Array(newCapacity);
  4733. if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
  4734. return;
  4735. }
  4736. if (!node.contents && newCapacity > 0) node.contents = [];
  4737. while (node.contents.length < newCapacity) node.contents.push(0);
  4738. }),
  4739. resizeFileStorage: (function(node, newSize) {
  4740. if (node.usedBytes == newSize) return;
  4741. if (newSize == 0) {
  4742. node.contents = null;
  4743. node.usedBytes = 0;
  4744. return;
  4745. }
  4746. if (!node.contents || node.contents.subarray) {
  4747. var oldContents = node.contents;
  4748. node.contents = new Uint8Array(new ArrayBuffer(newSize));
  4749. if (oldContents) {
  4750. node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
  4751. }
  4752. node.usedBytes = newSize;
  4753. return;
  4754. }
  4755. if (!node.contents) node.contents = [];
  4756. if (node.contents.length > newSize) node.contents.length = newSize; else while (node.contents.length < newSize) node.contents.push(0);
  4757. node.usedBytes = newSize;
  4758. }),
  4759. node_ops: {
  4760. getattr: (function(node) {
  4761. var attr = {};
  4762. attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
  4763. attr.ino = node.id;
  4764. attr.mode = node.mode;
  4765. attr.nlink = 1;
  4766. attr.uid = 0;
  4767. attr.gid = 0;
  4768. attr.rdev = node.rdev;
  4769. if (FS.isDir(node.mode)) {
  4770. attr.size = 4096;
  4771. } else if (FS.isFile(node.mode)) {
  4772. attr.size = node.usedBytes;
  4773. } else if (FS.isLink(node.mode)) {
  4774. attr.size = node.link.length;
  4775. } else {
  4776. attr.size = 0;
  4777. }
  4778. attr.atime = new Date(node.timestamp);
  4779. attr.mtime = new Date(node.timestamp);
  4780. attr.ctime = new Date(node.timestamp);
  4781. attr.blksize = 4096;
  4782. attr.blocks = Math.ceil(attr.size / attr.blksize);
  4783. return attr;
  4784. }),
  4785. setattr: (function(node, attr) {
  4786. if (attr.mode !== undefined) {
  4787. node.mode = attr.mode;
  4788. }
  4789. if (attr.timestamp !== undefined) {
  4790. node.timestamp = attr.timestamp;
  4791. }
  4792. if (attr.size !== undefined) {
  4793. MEMFS.resizeFileStorage(node, attr.size);
  4794. }
  4795. }),
  4796. lookup: (function(parent, name) {
  4797. throw FS.genericErrors[ERRNO_CODES.ENOENT];
  4798. }),
  4799. mknod: (function(parent, name, mode, dev) {
  4800. return MEMFS.createNode(parent, name, mode, dev);
  4801. }),
  4802. rename: (function(old_node, new_dir, new_name) {
  4803. if (FS.isDir(old_node.mode)) {
  4804. var new_node;
  4805. try {
  4806. new_node = FS.lookupNode(new_dir, new_name);
  4807. } catch (e) {}
  4808. if (new_node) {
  4809. for (var i in new_node.contents) {
  4810. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4811. }
  4812. }
  4813. }
  4814. delete old_node.parent.contents[old_node.name];
  4815. old_node.name = new_name;
  4816. new_dir.contents[new_name] = old_node;
  4817. old_node.parent = new_dir;
  4818. }),
  4819. unlink: (function(parent, name) {
  4820. delete parent.contents[name];
  4821. }),
  4822. rmdir: (function(parent, name) {
  4823. var node = FS.lookupNode(parent, name);
  4824. for (var i in node.contents) {
  4825. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  4826. }
  4827. delete parent.contents[name];
  4828. }),
  4829. readdir: (function(node) {
  4830. var entries = [ ".", ".." ];
  4831. for (var key in node.contents) {
  4832. if (!node.contents.hasOwnProperty(key)) {
  4833. continue;
  4834. }
  4835. entries.push(key);
  4836. }
  4837. return entries;
  4838. }),
  4839. symlink: (function(parent, newname, oldpath) {
  4840. var node = MEMFS.createNode(parent, newname, 511 | 40960, 0);
  4841. node.link = oldpath;
  4842. return node;
  4843. }),
  4844. readlink: (function(node) {
  4845. if (!FS.isLink(node.mode)) {
  4846. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4847. }
  4848. return node.link;
  4849. })
  4850. },
  4851. stream_ops: {
  4852. read: (function(stream, buffer, offset, length, position) {
  4853. var contents = stream.node.contents;
  4854. if (position >= stream.node.usedBytes) return 0;
  4855. var size = Math.min(stream.node.usedBytes - position, length);
  4856. assert(size >= 0);
  4857. if (size > 8 && contents.subarray) {
  4858. buffer.set(contents.subarray(position, position + size), offset);
  4859. } else {
  4860. for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
  4861. }
  4862. return size;
  4863. }),
  4864. write: (function(stream, buffer, offset, length, position, canOwn) {
  4865. if (!length) return 0;
  4866. var node = stream.node;
  4867. node.timestamp = Date.now();
  4868. if (buffer.subarray && (!node.contents || node.contents.subarray)) {
  4869. if (canOwn) {
  4870. assert(position === 0, "canOwn must imply no weird position inside the file");
  4871. node.contents = buffer.subarray(offset, offset + length);
  4872. node.usedBytes = length;
  4873. return length;
  4874. } else if (node.usedBytes === 0 && position === 0) {
  4875. node.contents = new Uint8Array(buffer.subarray(offset, offset + length));
  4876. node.usedBytes = length;
  4877. return length;
  4878. } else if (position + length <= node.usedBytes) {
  4879. node.contents.set(buffer.subarray(offset, offset + length), position);
  4880. return length;
  4881. }
  4882. }
  4883. MEMFS.expandFileStorage(node, position + length);
  4884. if (node.contents.subarray && buffer.subarray) node.contents.set(buffer.subarray(offset, offset + length), position); else {
  4885. for (var i = 0; i < length; i++) {
  4886. node.contents[position + i] = buffer[offset + i];
  4887. }
  4888. }
  4889. node.usedBytes = Math.max(node.usedBytes, position + length);
  4890. return length;
  4891. }),
  4892. llseek: (function(stream, offset, whence) {
  4893. var position = offset;
  4894. if (whence === 1) {
  4895. position += stream.position;
  4896. } else if (whence === 2) {
  4897. if (FS.isFile(stream.node.mode)) {
  4898. position += stream.node.usedBytes;
  4899. }
  4900. }
  4901. if (position < 0) {
  4902. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  4903. }
  4904. return position;
  4905. }),
  4906. allocate: (function(stream, offset, length) {
  4907. MEMFS.expandFileStorage(stream.node, offset + length);
  4908. stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length);
  4909. }),
  4910. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  4911. if (!FS.isFile(stream.node.mode)) {
  4912. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4913. }
  4914. var ptr;
  4915. var allocated;
  4916. var contents = stream.node.contents;
  4917. if (!(flags & 2) && (contents.buffer === buffer || contents.buffer === buffer.buffer)) {
  4918. allocated = false;
  4919. ptr = contents.byteOffset;
  4920. } else {
  4921. if (position > 0 || position + length < stream.node.usedBytes) {
  4922. if (contents.subarray) {
  4923. contents = contents.subarray(position, position + length);
  4924. } else {
  4925. contents = Array.prototype.slice.call(contents, position, position + length);
  4926. }
  4927. }
  4928. allocated = true;
  4929. var fromHeap = buffer.buffer == HEAP8.buffer;
  4930. ptr = _malloc(length);
  4931. if (!ptr) {
  4932. throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);
  4933. }
  4934. (fromHeap ? HEAP8 : buffer).set(contents, ptr);
  4935. }
  4936. return {
  4937. ptr: ptr,
  4938. allocated: allocated
  4939. };
  4940. }),
  4941. msync: (function(stream, buffer, offset, length, mmapFlags) {
  4942. if (!FS.isFile(stream.node.mode)) {
  4943. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  4944. }
  4945. if (mmapFlags & 2) {
  4946. return 0;
  4947. }
  4948. var bytesWritten = MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false);
  4949. return 0;
  4950. })
  4951. }
  4952. };
  4953. var IDBFS = {
  4954. dbs: {},
  4955. indexedDB: (function() {
  4956. if (typeof indexedDB !== "undefined") return indexedDB;
  4957. var ret = null;
  4958. if (typeof window === "object") ret = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  4959. assert(ret, "IDBFS used, but indexedDB not supported");
  4960. return ret;
  4961. }),
  4962. DB_VERSION: 21,
  4963. DB_STORE_NAME: "FILE_DATA",
  4964. mount: (function(mount) {
  4965. return MEMFS.mount.apply(null, arguments);
  4966. }),
  4967. syncfs: (function(mount, populate, callback) {
  4968. IDBFS.getLocalSet(mount, (function(err, local) {
  4969. if (err) return callback(err);
  4970. IDBFS.getRemoteSet(mount, (function(err, remote) {
  4971. if (err) return callback(err);
  4972. var src = populate ? remote : local;
  4973. var dst = populate ? local : remote;
  4974. IDBFS.reconcile(src, dst, callback);
  4975. }));
  4976. }));
  4977. }),
  4978. getDB: (function(name, callback) {
  4979. var db = IDBFS.dbs[name];
  4980. if (db) {
  4981. return callback(null, db);
  4982. }
  4983. var req;
  4984. try {
  4985. req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION);
  4986. } catch (e) {
  4987. return callback(e);
  4988. }
  4989. if (!req) {
  4990. return callback("Unable to connect to IndexedDB");
  4991. }
  4992. req.onupgradeneeded = (function(e) {
  4993. var db = e.target.result;
  4994. var transaction = e.target.transaction;
  4995. var fileStore;
  4996. if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
  4997. fileStore = transaction.objectStore(IDBFS.DB_STORE_NAME);
  4998. } else {
  4999. fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
  5000. }
  5001. if (!fileStore.indexNames.contains("timestamp")) {
  5002. fileStore.createIndex("timestamp", "timestamp", {
  5003. unique: false
  5004. });
  5005. }
  5006. });
  5007. req.onsuccess = (function() {
  5008. db = req.result;
  5009. IDBFS.dbs[name] = db;
  5010. callback(null, db);
  5011. });
  5012. req.onerror = (function(e) {
  5013. callback(this.error);
  5014. e.preventDefault();
  5015. });
  5016. }),
  5017. getLocalSet: (function(mount, callback) {
  5018. var entries = {};
  5019. function isRealDir(p) {
  5020. return p !== "." && p !== "..";
  5021. }
  5022. function toAbsolute(root) {
  5023. return (function(p) {
  5024. return PATH.join2(root, p);
  5025. });
  5026. }
  5027. var check = FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));
  5028. while (check.length) {
  5029. var path = check.pop();
  5030. var stat;
  5031. try {
  5032. stat = FS.stat(path);
  5033. } catch (e) {
  5034. return callback(e);
  5035. }
  5036. if (FS.isDir(stat.mode)) {
  5037. check.push.apply(check, FS.readdir(path).filter(isRealDir).map(toAbsolute(path)));
  5038. }
  5039. entries[path] = {
  5040. timestamp: stat.mtime
  5041. };
  5042. }
  5043. return callback(null, {
  5044. type: "local",
  5045. entries: entries
  5046. });
  5047. }),
  5048. getRemoteSet: (function(mount, callback) {
  5049. var entries = {};
  5050. IDBFS.getDB(mount.mountpoint, (function(err, db) {
  5051. if (err) return callback(err);
  5052. try {
  5053. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readonly");
  5054. transaction.onerror = (function(e) {
  5055. callback(this.error);
  5056. e.preventDefault();
  5057. });
  5058. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  5059. var index = store.index("timestamp");
  5060. index.openKeyCursor().onsuccess = (function(event) {
  5061. var cursor = event.target.result;
  5062. if (!cursor) {
  5063. return callback(null, {
  5064. type: "remote",
  5065. db: db,
  5066. entries: entries
  5067. });
  5068. }
  5069. entries[cursor.primaryKey] = {
  5070. timestamp: cursor.key
  5071. };
  5072. cursor.continue();
  5073. });
  5074. } catch (e) {
  5075. return callback(e);
  5076. }
  5077. }));
  5078. }),
  5079. loadLocalEntry: (function(path, callback) {
  5080. var stat, node;
  5081. try {
  5082. var lookup = FS.lookupPath(path);
  5083. node = lookup.node;
  5084. stat = FS.stat(path);
  5085. } catch (e) {
  5086. return callback(e);
  5087. }
  5088. if (FS.isDir(stat.mode)) {
  5089. return callback(null, {
  5090. timestamp: stat.mtime,
  5091. mode: stat.mode
  5092. });
  5093. } else if (FS.isFile(stat.mode)) {
  5094. node.contents = MEMFS.getFileDataAsTypedArray(node);
  5095. return callback(null, {
  5096. timestamp: stat.mtime,
  5097. mode: stat.mode,
  5098. contents: node.contents
  5099. });
  5100. } else {
  5101. return callback(new Error("node type not supported"));
  5102. }
  5103. }),
  5104. storeLocalEntry: (function(path, entry, callback) {
  5105. try {
  5106. if (FS.isDir(entry.mode)) {
  5107. FS.mkdir(path, entry.mode);
  5108. } else if (FS.isFile(entry.mode)) {
  5109. FS.writeFile(path, entry.contents, {
  5110. canOwn: true
  5111. });
  5112. } else {
  5113. return callback(new Error("node type not supported"));
  5114. }
  5115. FS.chmod(path, entry.mode);
  5116. FS.utime(path, entry.timestamp, entry.timestamp);
  5117. } catch (e) {
  5118. return callback(e);
  5119. }
  5120. callback(null);
  5121. }),
  5122. removeLocalEntry: (function(path, callback) {
  5123. try {
  5124. var lookup = FS.lookupPath(path);
  5125. var stat = FS.stat(path);
  5126. if (FS.isDir(stat.mode)) {
  5127. FS.rmdir(path);
  5128. } else if (FS.isFile(stat.mode)) {
  5129. FS.unlink(path);
  5130. }
  5131. } catch (e) {
  5132. return callback(e);
  5133. }
  5134. callback(null);
  5135. }),
  5136. loadRemoteEntry: (function(store, path, callback) {
  5137. var req = store.get(path);
  5138. req.onsuccess = (function(event) {
  5139. callback(null, event.target.result);
  5140. });
  5141. req.onerror = (function(e) {
  5142. callback(this.error);
  5143. e.preventDefault();
  5144. });
  5145. }),
  5146. storeRemoteEntry: (function(store, path, entry, callback) {
  5147. var req = store.put(entry, path);
  5148. req.onsuccess = (function() {
  5149. callback(null);
  5150. });
  5151. req.onerror = (function(e) {
  5152. callback(this.error);
  5153. e.preventDefault();
  5154. });
  5155. }),
  5156. removeRemoteEntry: (function(store, path, callback) {
  5157. var req = store.delete(path);
  5158. req.onsuccess = (function() {
  5159. callback(null);
  5160. });
  5161. req.onerror = (function(e) {
  5162. callback(this.error);
  5163. e.preventDefault();
  5164. });
  5165. }),
  5166. reconcile: (function(src, dst, callback) {
  5167. var total = 0;
  5168. var create = [];
  5169. Object.keys(src.entries).forEach((function(key) {
  5170. var e = src.entries[key];
  5171. var e2 = dst.entries[key];
  5172. if (!e2 || e.timestamp > e2.timestamp) {
  5173. create.push(key);
  5174. total++;
  5175. }
  5176. }));
  5177. var remove = [];
  5178. Object.keys(dst.entries).forEach((function(key) {
  5179. var e = dst.entries[key];
  5180. var e2 = src.entries[key];
  5181. if (!e2) {
  5182. remove.push(key);
  5183. total++;
  5184. }
  5185. }));
  5186. if (!total) {
  5187. return callback(null);
  5188. }
  5189. var completed = 0;
  5190. var db = src.type === "remote" ? src.db : dst.db;
  5191. var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readwrite");
  5192. var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
  5193. function done(err) {
  5194. if (err) {
  5195. if (!done.errored) {
  5196. done.errored = true;
  5197. return callback(err);
  5198. }
  5199. return;
  5200. }
  5201. if (++completed >= total) {
  5202. return callback(null);
  5203. }
  5204. }
  5205. transaction.onerror = (function(e) {
  5206. done(this.error);
  5207. e.preventDefault();
  5208. });
  5209. create.sort().forEach((function(path) {
  5210. if (dst.type === "local") {
  5211. IDBFS.loadRemoteEntry(store, path, (function(err, entry) {
  5212. if (err) return done(err);
  5213. IDBFS.storeLocalEntry(path, entry, done);
  5214. }));
  5215. } else {
  5216. IDBFS.loadLocalEntry(path, (function(err, entry) {
  5217. if (err) return done(err);
  5218. IDBFS.storeRemoteEntry(store, path, entry, done);
  5219. }));
  5220. }
  5221. }));
  5222. remove.sort().reverse().forEach((function(path) {
  5223. if (dst.type === "local") {
  5224. IDBFS.removeLocalEntry(path, done);
  5225. } else {
  5226. IDBFS.removeRemoteEntry(store, path, done);
  5227. }
  5228. }));
  5229. })
  5230. };
  5231. var NODEFS = {
  5232. isWindows: false,
  5233. staticInit: (function() {
  5234. NODEFS.isWindows = !!process.platform.match(/^win/);
  5235. var flags = process["binding"]("constants");
  5236. if (flags["fs"]) {
  5237. flags = flags["fs"];
  5238. }
  5239. NODEFS.flagsForNodeMap = {
  5240. "1024": flags["O_APPEND"],
  5241. "64": flags["O_CREAT"],
  5242. "128": flags["O_EXCL"],
  5243. "0": flags["O_RDONLY"],
  5244. "2": flags["O_RDWR"],
  5245. "4096": flags["O_SYNC"],
  5246. "512": flags["O_TRUNC"],
  5247. "1": flags["O_WRONLY"]
  5248. };
  5249. }),
  5250. bufferFrom: (function(arrayBuffer) {
  5251. return Buffer.alloc ? Buffer.from(arrayBuffer) : new Buffer(arrayBuffer);
  5252. }),
  5253. mount: (function(mount) {
  5254. assert(ENVIRONMENT_IS_NODE);
  5255. return NODEFS.createNode(null, "/", NODEFS.getMode(mount.opts.root), 0);
  5256. }),
  5257. createNode: (function(parent, name, mode, dev) {
  5258. if (!FS.isDir(mode) && !FS.isFile(mode) && !FS.isLink(mode)) {
  5259. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5260. }
  5261. var node = FS.createNode(parent, name, mode);
  5262. node.node_ops = NODEFS.node_ops;
  5263. node.stream_ops = NODEFS.stream_ops;
  5264. return node;
  5265. }),
  5266. getMode: (function(path) {
  5267. var stat;
  5268. try {
  5269. stat = fs.lstatSync(path);
  5270. if (NODEFS.isWindows) {
  5271. stat.mode = stat.mode | (stat.mode & 292) >> 2;
  5272. }
  5273. } catch (e) {
  5274. if (!e.code) throw e;
  5275. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5276. }
  5277. return stat.mode;
  5278. }),
  5279. realPath: (function(node) {
  5280. var parts = [];
  5281. while (node.parent !== node) {
  5282. parts.push(node.name);
  5283. node = node.parent;
  5284. }
  5285. parts.push(node.mount.opts.root);
  5286. parts.reverse();
  5287. return PATH.join.apply(null, parts);
  5288. }),
  5289. flagsForNode: (function(flags) {
  5290. flags &= ~2097152;
  5291. flags &= ~2048;
  5292. flags &= ~32768;
  5293. flags &= ~524288;
  5294. var newFlags = 0;
  5295. for (var k in NODEFS.flagsForNodeMap) {
  5296. if (flags & k) {
  5297. newFlags |= NODEFS.flagsForNodeMap[k];
  5298. flags ^= k;
  5299. }
  5300. }
  5301. if (!flags) {
  5302. return newFlags;
  5303. } else {
  5304. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5305. }
  5306. }),
  5307. node_ops: {
  5308. getattr: (function(node) {
  5309. var path = NODEFS.realPath(node);
  5310. var stat;
  5311. try {
  5312. stat = fs.lstatSync(path);
  5313. } catch (e) {
  5314. if (!e.code) throw e;
  5315. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5316. }
  5317. if (NODEFS.isWindows && !stat.blksize) {
  5318. stat.blksize = 4096;
  5319. }
  5320. if (NODEFS.isWindows && !stat.blocks) {
  5321. stat.blocks = (stat.size + stat.blksize - 1) / stat.blksize | 0;
  5322. }
  5323. return {
  5324. dev: stat.dev,
  5325. ino: stat.ino,
  5326. mode: stat.mode,
  5327. nlink: stat.nlink,
  5328. uid: stat.uid,
  5329. gid: stat.gid,
  5330. rdev: stat.rdev,
  5331. size: stat.size,
  5332. atime: stat.atime,
  5333. mtime: stat.mtime,
  5334. ctime: stat.ctime,
  5335. blksize: stat.blksize,
  5336. blocks: stat.blocks
  5337. };
  5338. }),
  5339. setattr: (function(node, attr) {
  5340. var path = NODEFS.realPath(node);
  5341. try {
  5342. if (attr.mode !== undefined) {
  5343. fs.chmodSync(path, attr.mode);
  5344. node.mode = attr.mode;
  5345. }
  5346. if (attr.timestamp !== undefined) {
  5347. var date = new Date(attr.timestamp);
  5348. fs.utimesSync(path, date, date);
  5349. }
  5350. if (attr.size !== undefined) {
  5351. fs.truncateSync(path, attr.size);
  5352. }
  5353. } catch (e) {
  5354. if (!e.code) throw e;
  5355. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5356. }
  5357. }),
  5358. lookup: (function(parent, name) {
  5359. var path = PATH.join2(NODEFS.realPath(parent), name);
  5360. var mode = NODEFS.getMode(path);
  5361. return NODEFS.createNode(parent, name, mode);
  5362. }),
  5363. mknod: (function(parent, name, mode, dev) {
  5364. var node = NODEFS.createNode(parent, name, mode, dev);
  5365. var path = NODEFS.realPath(node);
  5366. try {
  5367. if (FS.isDir(node.mode)) {
  5368. fs.mkdirSync(path, node.mode);
  5369. } else {
  5370. fs.writeFileSync(path, "", {
  5371. mode: node.mode
  5372. });
  5373. }
  5374. } catch (e) {
  5375. if (!e.code) throw e;
  5376. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5377. }
  5378. return node;
  5379. }),
  5380. rename: (function(oldNode, newDir, newName) {
  5381. var oldPath = NODEFS.realPath(oldNode);
  5382. var newPath = PATH.join2(NODEFS.realPath(newDir), newName);
  5383. try {
  5384. fs.renameSync(oldPath, newPath);
  5385. } catch (e) {
  5386. if (!e.code) throw e;
  5387. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5388. }
  5389. }),
  5390. unlink: (function(parent, name) {
  5391. var path = PATH.join2(NODEFS.realPath(parent), name);
  5392. try {
  5393. fs.unlinkSync(path);
  5394. } catch (e) {
  5395. if (!e.code) throw e;
  5396. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5397. }
  5398. }),
  5399. rmdir: (function(parent, name) {
  5400. var path = PATH.join2(NODEFS.realPath(parent), name);
  5401. try {
  5402. fs.rmdirSync(path);
  5403. } catch (e) {
  5404. if (!e.code) throw e;
  5405. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5406. }
  5407. }),
  5408. readdir: (function(node) {
  5409. var path = NODEFS.realPath(node);
  5410. try {
  5411. return fs.readdirSync(path);
  5412. } catch (e) {
  5413. if (!e.code) throw e;
  5414. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5415. }
  5416. }),
  5417. symlink: (function(parent, newName, oldPath) {
  5418. var newPath = PATH.join2(NODEFS.realPath(parent), newName);
  5419. try {
  5420. fs.symlinkSync(oldPath, newPath);
  5421. } catch (e) {
  5422. if (!e.code) throw e;
  5423. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5424. }
  5425. }),
  5426. readlink: (function(node) {
  5427. var path = NODEFS.realPath(node);
  5428. try {
  5429. path = fs.readlinkSync(path);
  5430. path = NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root), path);
  5431. return path;
  5432. } catch (e) {
  5433. if (!e.code) throw e;
  5434. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5435. }
  5436. })
  5437. },
  5438. stream_ops: {
  5439. open: (function(stream) {
  5440. var path = NODEFS.realPath(stream.node);
  5441. try {
  5442. if (FS.isFile(stream.node.mode)) {
  5443. stream.nfd = fs.openSync(path, NODEFS.flagsForNode(stream.flags));
  5444. }
  5445. } catch (e) {
  5446. if (!e.code) throw e;
  5447. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5448. }
  5449. }),
  5450. close: (function(stream) {
  5451. try {
  5452. if (FS.isFile(stream.node.mode) && stream.nfd) {
  5453. fs.closeSync(stream.nfd);
  5454. }
  5455. } catch (e) {
  5456. if (!e.code) throw e;
  5457. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5458. }
  5459. }),
  5460. read: (function(stream, buffer, offset, length, position) {
  5461. if (length === 0) return 0;
  5462. try {
  5463. return fs.readSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5464. } catch (e) {
  5465. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5466. }
  5467. }),
  5468. write: (function(stream, buffer, offset, length, position) {
  5469. try {
  5470. return fs.writeSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position);
  5471. } catch (e) {
  5472. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5473. }
  5474. }),
  5475. llseek: (function(stream, offset, whence) {
  5476. var position = offset;
  5477. if (whence === 1) {
  5478. position += stream.position;
  5479. } else if (whence === 2) {
  5480. if (FS.isFile(stream.node.mode)) {
  5481. try {
  5482. var stat = fs.fstatSync(stream.nfd);
  5483. position += stat.size;
  5484. } catch (e) {
  5485. throw new FS.ErrnoError(ERRNO_CODES[e.code]);
  5486. }
  5487. }
  5488. }
  5489. if (position < 0) {
  5490. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5491. }
  5492. return position;
  5493. })
  5494. }
  5495. };
  5496. var WORKERFS = {
  5497. DIR_MODE: 16895,
  5498. FILE_MODE: 33279,
  5499. reader: null,
  5500. mount: (function(mount) {
  5501. assert(ENVIRONMENT_IS_WORKER);
  5502. if (!WORKERFS.reader) WORKERFS.reader = new FileReaderSync;
  5503. var root = WORKERFS.createNode(null, "/", WORKERFS.DIR_MODE, 0);
  5504. var createdParents = {};
  5505. function ensureParent(path) {
  5506. var parts = path.split("/");
  5507. var parent = root;
  5508. for (var i = 0; i < parts.length - 1; i++) {
  5509. var curr = parts.slice(0, i + 1).join("/");
  5510. if (!createdParents[curr]) {
  5511. createdParents[curr] = WORKERFS.createNode(parent, parts[i], WORKERFS.DIR_MODE, 0);
  5512. }
  5513. parent = createdParents[curr];
  5514. }
  5515. return parent;
  5516. }
  5517. function base(path) {
  5518. var parts = path.split("/");
  5519. return parts[parts.length - 1];
  5520. }
  5521. Array.prototype.forEach.call(mount.opts["files"] || [], (function(file) {
  5522. WORKERFS.createNode(ensureParent(file.name), base(file.name), WORKERFS.FILE_MODE, 0, file, file.lastModifiedDate);
  5523. }));
  5524. (mount.opts["blobs"] || []).forEach((function(obj) {
  5525. WORKERFS.createNode(ensureParent(obj["name"]), base(obj["name"]), WORKERFS.FILE_MODE, 0, obj["data"]);
  5526. }));
  5527. (mount.opts["packages"] || []).forEach((function(pack) {
  5528. pack["metadata"].files.forEach((function(file) {
  5529. var name = file.filename.substr(1);
  5530. WORKERFS.createNode(ensureParent(name), base(name), WORKERFS.FILE_MODE, 0, pack["blob"].slice(file.start, file.end));
  5531. }));
  5532. }));
  5533. return root;
  5534. }),
  5535. createNode: (function(parent, name, mode, dev, contents, mtime) {
  5536. var node = FS.createNode(parent, name, mode);
  5537. node.mode = mode;
  5538. node.node_ops = WORKERFS.node_ops;
  5539. node.stream_ops = WORKERFS.stream_ops;
  5540. node.timestamp = (mtime || new Date).getTime();
  5541. assert(WORKERFS.FILE_MODE !== WORKERFS.DIR_MODE);
  5542. if (mode === WORKERFS.FILE_MODE) {
  5543. node.size = contents.size;
  5544. node.contents = contents;
  5545. } else {
  5546. node.size = 4096;
  5547. node.contents = {};
  5548. }
  5549. if (parent) {
  5550. parent.contents[name] = node;
  5551. }
  5552. return node;
  5553. }),
  5554. node_ops: {
  5555. getattr: (function(node) {
  5556. return {
  5557. dev: 1,
  5558. ino: undefined,
  5559. mode: node.mode,
  5560. nlink: 1,
  5561. uid: 0,
  5562. gid: 0,
  5563. rdev: undefined,
  5564. size: node.size,
  5565. atime: new Date(node.timestamp),
  5566. mtime: new Date(node.timestamp),
  5567. ctime: new Date(node.timestamp),
  5568. blksize: 4096,
  5569. blocks: Math.ceil(node.size / 4096)
  5570. };
  5571. }),
  5572. setattr: (function(node, attr) {
  5573. if (attr.mode !== undefined) {
  5574. node.mode = attr.mode;
  5575. }
  5576. if (attr.timestamp !== undefined) {
  5577. node.timestamp = attr.timestamp;
  5578. }
  5579. }),
  5580. lookup: (function(parent, name) {
  5581. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  5582. }),
  5583. mknod: (function(parent, name, mode, dev) {
  5584. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5585. }),
  5586. rename: (function(oldNode, newDir, newName) {
  5587. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5588. }),
  5589. unlink: (function(parent, name) {
  5590. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5591. }),
  5592. rmdir: (function(parent, name) {
  5593. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5594. }),
  5595. readdir: (function(node) {
  5596. var entries = [ ".", ".." ];
  5597. for (var key in node.contents) {
  5598. if (!node.contents.hasOwnProperty(key)) {
  5599. continue;
  5600. }
  5601. entries.push(key);
  5602. }
  5603. return entries;
  5604. }),
  5605. symlink: (function(parent, newName, oldPath) {
  5606. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5607. }),
  5608. readlink: (function(node) {
  5609. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  5610. })
  5611. },
  5612. stream_ops: {
  5613. read: (function(stream, buffer, offset, length, position) {
  5614. if (position >= stream.node.size) return 0;
  5615. var chunk = stream.node.contents.slice(position, position + length);
  5616. var ab = WORKERFS.reader.readAsArrayBuffer(chunk);
  5617. buffer.set(new Uint8Array(ab), offset);
  5618. return chunk.size;
  5619. }),
  5620. write: (function(stream, buffer, offset, length, position) {
  5621. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  5622. }),
  5623. llseek: (function(stream, offset, whence) {
  5624. var position = offset;
  5625. if (whence === 1) {
  5626. position += stream.position;
  5627. } else if (whence === 2) {
  5628. if (FS.isFile(stream.node.mode)) {
  5629. position += stream.node.size;
  5630. }
  5631. }
  5632. if (position < 0) {
  5633. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  5634. }
  5635. return position;
  5636. })
  5637. }
  5638. };
  5639. STATICTOP += 16;
  5640. STATICTOP += 16;
  5641. STATICTOP += 16;
  5642. var FS = {
  5643. root: null,
  5644. mounts: [],
  5645. devices: {},
  5646. streams: [],
  5647. nextInode: 1,
  5648. nameTable: null,
  5649. currentPath: "/",
  5650. initialized: false,
  5651. ignorePermissions: true,
  5652. trackingDelegate: {},
  5653. tracking: {
  5654. openFlags: {
  5655. READ: 1,
  5656. WRITE: 2
  5657. }
  5658. },
  5659. ErrnoError: null,
  5660. genericErrors: {},
  5661. filesystems: null,
  5662. syncFSRequests: 0,
  5663. handleFSError: (function(e) {
  5664. if (!(e instanceof FS.ErrnoError)) throw e + " : " + stackTrace();
  5665. return ___setErrNo(e.errno);
  5666. }),
  5667. lookupPath: (function(path, opts) {
  5668. path = PATH.resolve(FS.cwd(), path);
  5669. opts = opts || {};
  5670. if (!path) return {
  5671. path: "",
  5672. node: null
  5673. };
  5674. var defaults = {
  5675. follow_mount: true,
  5676. recurse_count: 0
  5677. };
  5678. for (var key in defaults) {
  5679. if (opts[key] === undefined) {
  5680. opts[key] = defaults[key];
  5681. }
  5682. }
  5683. if (opts.recurse_count > 8) {
  5684. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5685. }
  5686. var parts = PATH.normalizeArray(path.split("/").filter((function(p) {
  5687. return !!p;
  5688. })), false);
  5689. var current = FS.root;
  5690. var current_path = "/";
  5691. for (var i = 0; i < parts.length; i++) {
  5692. var islast = i === parts.length - 1;
  5693. if (islast && opts.parent) {
  5694. break;
  5695. }
  5696. current = FS.lookupNode(current, parts[i]);
  5697. current_path = PATH.join2(current_path, parts[i]);
  5698. if (FS.isMountpoint(current)) {
  5699. if (!islast || islast && opts.follow_mount) {
  5700. current = current.mounted.root;
  5701. }
  5702. }
  5703. if (!islast || opts.follow) {
  5704. var count = 0;
  5705. while (FS.isLink(current.mode)) {
  5706. var link = FS.readlink(current_path);
  5707. current_path = PATH.resolve(PATH.dirname(current_path), link);
  5708. var lookup = FS.lookupPath(current_path, {
  5709. recurse_count: opts.recurse_count
  5710. });
  5711. current = lookup.node;
  5712. if (count++ > 40) {
  5713. throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
  5714. }
  5715. }
  5716. }
  5717. }
  5718. return {
  5719. path: current_path,
  5720. node: current
  5721. };
  5722. }),
  5723. getPath: (function(node) {
  5724. var path;
  5725. while (true) {
  5726. if (FS.isRoot(node)) {
  5727. var mount = node.mount.mountpoint;
  5728. if (!path) return mount;
  5729. return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path;
  5730. }
  5731. path = path ? node.name + "/" + path : node.name;
  5732. node = node.parent;
  5733. }
  5734. }),
  5735. hashName: (function(parentid, name) {
  5736. var hash = 0;
  5737. for (var i = 0; i < name.length; i++) {
  5738. hash = (hash << 5) - hash + name.charCodeAt(i) | 0;
  5739. }
  5740. return (parentid + hash >>> 0) % FS.nameTable.length;
  5741. }),
  5742. hashAddNode: (function(node) {
  5743. var hash = FS.hashName(node.parent.id, node.name);
  5744. node.name_next = FS.nameTable[hash];
  5745. FS.nameTable[hash] = node;
  5746. }),
  5747. hashRemoveNode: (function(node) {
  5748. var hash = FS.hashName(node.parent.id, node.name);
  5749. if (FS.nameTable[hash] === node) {
  5750. FS.nameTable[hash] = node.name_next;
  5751. } else {
  5752. var current = FS.nameTable[hash];
  5753. while (current) {
  5754. if (current.name_next === node) {
  5755. current.name_next = node.name_next;
  5756. break;
  5757. }
  5758. current = current.name_next;
  5759. }
  5760. }
  5761. }),
  5762. lookupNode: (function(parent, name) {
  5763. var err = FS.mayLookup(parent);
  5764. if (err) {
  5765. throw new FS.ErrnoError(err, parent);
  5766. }
  5767. var hash = FS.hashName(parent.id, name);
  5768. for (var node = FS.nameTable[hash]; node; node = node.name_next) {
  5769. var nodeName = node.name;
  5770. if (node.parent.id === parent.id && nodeName === name) {
  5771. return node;
  5772. }
  5773. }
  5774. return FS.lookup(parent, name);
  5775. }),
  5776. createNode: (function(parent, name, mode, rdev) {
  5777. if (!FS.FSNode) {
  5778. FS.FSNode = (function(parent, name, mode, rdev) {
  5779. if (!parent) {
  5780. parent = this;
  5781. }
  5782. this.parent = parent;
  5783. this.mount = parent.mount;
  5784. this.mounted = null;
  5785. this.id = FS.nextInode++;
  5786. this.name = name;
  5787. this.mode = mode;
  5788. this.node_ops = {};
  5789. this.stream_ops = {};
  5790. this.rdev = rdev;
  5791. });
  5792. FS.FSNode.prototype = {};
  5793. var readMode = 292 | 73;
  5794. var writeMode = 146;
  5795. Object.defineProperties(FS.FSNode.prototype, {
  5796. read: {
  5797. get: (function() {
  5798. return (this.mode & readMode) === readMode;
  5799. }),
  5800. set: (function(val) {
  5801. val ? this.mode |= readMode : this.mode &= ~readMode;
  5802. })
  5803. },
  5804. write: {
  5805. get: (function() {
  5806. return (this.mode & writeMode) === writeMode;
  5807. }),
  5808. set: (function(val) {
  5809. val ? this.mode |= writeMode : this.mode &= ~writeMode;
  5810. })
  5811. },
  5812. isFolder: {
  5813. get: (function() {
  5814. return FS.isDir(this.mode);
  5815. })
  5816. },
  5817. isDevice: {
  5818. get: (function() {
  5819. return FS.isChrdev(this.mode);
  5820. })
  5821. }
  5822. });
  5823. }
  5824. var node = new FS.FSNode(parent, name, mode, rdev);
  5825. FS.hashAddNode(node);
  5826. return node;
  5827. }),
  5828. destroyNode: (function(node) {
  5829. FS.hashRemoveNode(node);
  5830. }),
  5831. isRoot: (function(node) {
  5832. return node === node.parent;
  5833. }),
  5834. isMountpoint: (function(node) {
  5835. return !!node.mounted;
  5836. }),
  5837. isFile: (function(mode) {
  5838. return (mode & 61440) === 32768;
  5839. }),
  5840. isDir: (function(mode) {
  5841. return (mode & 61440) === 16384;
  5842. }),
  5843. isLink: (function(mode) {
  5844. return (mode & 61440) === 40960;
  5845. }),
  5846. isChrdev: (function(mode) {
  5847. return (mode & 61440) === 8192;
  5848. }),
  5849. isBlkdev: (function(mode) {
  5850. return (mode & 61440) === 24576;
  5851. }),
  5852. isFIFO: (function(mode) {
  5853. return (mode & 61440) === 4096;
  5854. }),
  5855. isSocket: (function(mode) {
  5856. return (mode & 49152) === 49152;
  5857. }),
  5858. flagModes: {
  5859. "r": 0,
  5860. "rs": 1052672,
  5861. "r+": 2,
  5862. "w": 577,
  5863. "wx": 705,
  5864. "xw": 705,
  5865. "w+": 578,
  5866. "wx+": 706,
  5867. "xw+": 706,
  5868. "a": 1089,
  5869. "ax": 1217,
  5870. "xa": 1217,
  5871. "a+": 1090,
  5872. "ax+": 1218,
  5873. "xa+": 1218
  5874. },
  5875. modeStringToFlags: (function(str) {
  5876. var flags = FS.flagModes[str];
  5877. if (typeof flags === "undefined") {
  5878. throw new Error("Unknown file open mode: " + str);
  5879. }
  5880. return flags;
  5881. }),
  5882. flagsToPermissionString: (function(flag) {
  5883. var perms = [ "r", "w", "rw" ][flag & 3];
  5884. if (flag & 512) {
  5885. perms += "w";
  5886. }
  5887. return perms;
  5888. }),
  5889. nodePermissions: (function(node, perms) {
  5890. if (FS.ignorePermissions) {
  5891. return 0;
  5892. }
  5893. if (perms.indexOf("r") !== -1 && !(node.mode & 292)) {
  5894. return ERRNO_CODES.EACCES;
  5895. } else if (perms.indexOf("w") !== -1 && !(node.mode & 146)) {
  5896. return ERRNO_CODES.EACCES;
  5897. } else if (perms.indexOf("x") !== -1 && !(node.mode & 73)) {
  5898. return ERRNO_CODES.EACCES;
  5899. }
  5900. return 0;
  5901. }),
  5902. mayLookup: (function(dir) {
  5903. var err = FS.nodePermissions(dir, "x");
  5904. if (err) return err;
  5905. if (!dir.node_ops.lookup) return ERRNO_CODES.EACCES;
  5906. return 0;
  5907. }),
  5908. mayCreate: (function(dir, name) {
  5909. try {
  5910. var node = FS.lookupNode(dir, name);
  5911. return ERRNO_CODES.EEXIST;
  5912. } catch (e) {}
  5913. return FS.nodePermissions(dir, "wx");
  5914. }),
  5915. mayDelete: (function(dir, name, isdir) {
  5916. var node;
  5917. try {
  5918. node = FS.lookupNode(dir, name);
  5919. } catch (e) {
  5920. return e.errno;
  5921. }
  5922. var err = FS.nodePermissions(dir, "wx");
  5923. if (err) {
  5924. return err;
  5925. }
  5926. if (isdir) {
  5927. if (!FS.isDir(node.mode)) {
  5928. return ERRNO_CODES.ENOTDIR;
  5929. }
  5930. if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
  5931. return ERRNO_CODES.EBUSY;
  5932. }
  5933. } else {
  5934. if (FS.isDir(node.mode)) {
  5935. return ERRNO_CODES.EISDIR;
  5936. }
  5937. }
  5938. return 0;
  5939. }),
  5940. mayOpen: (function(node, flags) {
  5941. if (!node) {
  5942. return ERRNO_CODES.ENOENT;
  5943. }
  5944. if (FS.isLink(node.mode)) {
  5945. return ERRNO_CODES.ELOOP;
  5946. } else if (FS.isDir(node.mode)) {
  5947. if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) {
  5948. return ERRNO_CODES.EISDIR;
  5949. }
  5950. }
  5951. return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
  5952. }),
  5953. MAX_OPEN_FDS: 4096,
  5954. nextfd: (function(fd_start, fd_end) {
  5955. fd_start = fd_start || 0;
  5956. fd_end = fd_end || FS.MAX_OPEN_FDS;
  5957. for (var fd = fd_start; fd <= fd_end; fd++) {
  5958. if (!FS.streams[fd]) {
  5959. return fd;
  5960. }
  5961. }
  5962. throw new FS.ErrnoError(ERRNO_CODES.EMFILE);
  5963. }),
  5964. getStream: (function(fd) {
  5965. return FS.streams[fd];
  5966. }),
  5967. createStream: (function(stream, fd_start, fd_end) {
  5968. if (!FS.FSStream) {
  5969. FS.FSStream = (function() {});
  5970. FS.FSStream.prototype = {};
  5971. Object.defineProperties(FS.FSStream.prototype, {
  5972. object: {
  5973. get: (function() {
  5974. return this.node;
  5975. }),
  5976. set: (function(val) {
  5977. this.node = val;
  5978. })
  5979. },
  5980. isRead: {
  5981. get: (function() {
  5982. return (this.flags & 2097155) !== 1;
  5983. })
  5984. },
  5985. isWrite: {
  5986. get: (function() {
  5987. return (this.flags & 2097155) !== 0;
  5988. })
  5989. },
  5990. isAppend: {
  5991. get: (function() {
  5992. return this.flags & 1024;
  5993. })
  5994. }
  5995. });
  5996. }
  5997. var newStream = new FS.FSStream;
  5998. for (var p in stream) {
  5999. newStream[p] = stream[p];
  6000. }
  6001. stream = newStream;
  6002. var fd = FS.nextfd(fd_start, fd_end);
  6003. stream.fd = fd;
  6004. FS.streams[fd] = stream;
  6005. return stream;
  6006. }),
  6007. closeStream: (function(fd) {
  6008. FS.streams[fd] = null;
  6009. }),
  6010. chrdev_stream_ops: {
  6011. open: (function(stream) {
  6012. var device = FS.getDevice(stream.node.rdev);
  6013. stream.stream_ops = device.stream_ops;
  6014. if (stream.stream_ops.open) {
  6015. stream.stream_ops.open(stream);
  6016. }
  6017. }),
  6018. llseek: (function() {
  6019. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6020. })
  6021. },
  6022. major: (function(dev) {
  6023. return dev >> 8;
  6024. }),
  6025. minor: (function(dev) {
  6026. return dev & 255;
  6027. }),
  6028. makedev: (function(ma, mi) {
  6029. return ma << 8 | mi;
  6030. }),
  6031. registerDevice: (function(dev, ops) {
  6032. FS.devices[dev] = {
  6033. stream_ops: ops
  6034. };
  6035. }),
  6036. getDevice: (function(dev) {
  6037. return FS.devices[dev];
  6038. }),
  6039. getMounts: (function(mount) {
  6040. var mounts = [];
  6041. var check = [ mount ];
  6042. while (check.length) {
  6043. var m = check.pop();
  6044. mounts.push(m);
  6045. check.push.apply(check, m.mounts);
  6046. }
  6047. return mounts;
  6048. }),
  6049. syncfs: (function(populate, callback) {
  6050. if (typeof populate === "function") {
  6051. callback = populate;
  6052. populate = false;
  6053. }
  6054. FS.syncFSRequests++;
  6055. if (FS.syncFSRequests > 1) {
  6056. console.log("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work");
  6057. }
  6058. var mounts = FS.getMounts(FS.root.mount);
  6059. var completed = 0;
  6060. function doCallback(err) {
  6061. assert(FS.syncFSRequests > 0);
  6062. FS.syncFSRequests--;
  6063. return callback(err);
  6064. }
  6065. function done(err) {
  6066. if (err) {
  6067. if (!done.errored) {
  6068. done.errored = true;
  6069. return doCallback(err);
  6070. }
  6071. return;
  6072. }
  6073. if (++completed >= mounts.length) {
  6074. doCallback(null);
  6075. }
  6076. }
  6077. mounts.forEach((function(mount) {
  6078. if (!mount.type.syncfs) {
  6079. return done(null);
  6080. }
  6081. mount.type.syncfs(mount, populate, done);
  6082. }));
  6083. }),
  6084. mount: (function(type, opts, mountpoint) {
  6085. var root = mountpoint === "/";
  6086. var pseudo = !mountpoint;
  6087. var node;
  6088. if (root && FS.root) {
  6089. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6090. } else if (!root && !pseudo) {
  6091. var lookup = FS.lookupPath(mountpoint, {
  6092. follow_mount: false
  6093. });
  6094. mountpoint = lookup.path;
  6095. node = lookup.node;
  6096. if (FS.isMountpoint(node)) {
  6097. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6098. }
  6099. if (!FS.isDir(node.mode)) {
  6100. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6101. }
  6102. }
  6103. var mount = {
  6104. type: type,
  6105. opts: opts,
  6106. mountpoint: mountpoint,
  6107. mounts: []
  6108. };
  6109. var mountRoot = type.mount(mount);
  6110. mountRoot.mount = mount;
  6111. mount.root = mountRoot;
  6112. if (root) {
  6113. FS.root = mountRoot;
  6114. } else if (node) {
  6115. node.mounted = mount;
  6116. if (node.mount) {
  6117. node.mount.mounts.push(mount);
  6118. }
  6119. }
  6120. return mountRoot;
  6121. }),
  6122. unmount: (function(mountpoint) {
  6123. var lookup = FS.lookupPath(mountpoint, {
  6124. follow_mount: false
  6125. });
  6126. if (!FS.isMountpoint(lookup.node)) {
  6127. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6128. }
  6129. var node = lookup.node;
  6130. var mount = node.mounted;
  6131. var mounts = FS.getMounts(mount);
  6132. Object.keys(FS.nameTable).forEach((function(hash) {
  6133. var current = FS.nameTable[hash];
  6134. while (current) {
  6135. var next = current.name_next;
  6136. if (mounts.indexOf(current.mount) !== -1) {
  6137. FS.destroyNode(current);
  6138. }
  6139. current = next;
  6140. }
  6141. }));
  6142. node.mounted = null;
  6143. var idx = node.mount.mounts.indexOf(mount);
  6144. assert(idx !== -1);
  6145. node.mount.mounts.splice(idx, 1);
  6146. }),
  6147. lookup: (function(parent, name) {
  6148. return parent.node_ops.lookup(parent, name);
  6149. }),
  6150. mknod: (function(path, mode, dev) {
  6151. var lookup = FS.lookupPath(path, {
  6152. parent: true
  6153. });
  6154. var parent = lookup.node;
  6155. var name = PATH.basename(path);
  6156. if (!name || name === "." || name === "..") {
  6157. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6158. }
  6159. var err = FS.mayCreate(parent, name);
  6160. if (err) {
  6161. throw new FS.ErrnoError(err);
  6162. }
  6163. if (!parent.node_ops.mknod) {
  6164. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6165. }
  6166. return parent.node_ops.mknod(parent, name, mode, dev);
  6167. }),
  6168. create: (function(path, mode) {
  6169. mode = mode !== undefined ? mode : 438;
  6170. mode &= 4095;
  6171. mode |= 32768;
  6172. return FS.mknod(path, mode, 0);
  6173. }),
  6174. mkdir: (function(path, mode) {
  6175. mode = mode !== undefined ? mode : 511;
  6176. mode &= 511 | 512;
  6177. mode |= 16384;
  6178. return FS.mknod(path, mode, 0);
  6179. }),
  6180. mkdirTree: (function(path, mode) {
  6181. var dirs = path.split("/");
  6182. var d = "";
  6183. for (var i = 0; i < dirs.length; ++i) {
  6184. if (!dirs[i]) continue;
  6185. d += "/" + dirs[i];
  6186. try {
  6187. FS.mkdir(d, mode);
  6188. } catch (e) {
  6189. if (e.errno != ERRNO_CODES.EEXIST) throw e;
  6190. }
  6191. }
  6192. }),
  6193. mkdev: (function(path, mode, dev) {
  6194. if (typeof dev === "undefined") {
  6195. dev = mode;
  6196. mode = 438;
  6197. }
  6198. mode |= 8192;
  6199. return FS.mknod(path, mode, dev);
  6200. }),
  6201. symlink: (function(oldpath, newpath) {
  6202. if (!PATH.resolve(oldpath)) {
  6203. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6204. }
  6205. var lookup = FS.lookupPath(newpath, {
  6206. parent: true
  6207. });
  6208. var parent = lookup.node;
  6209. if (!parent) {
  6210. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6211. }
  6212. var newname = PATH.basename(newpath);
  6213. var err = FS.mayCreate(parent, newname);
  6214. if (err) {
  6215. throw new FS.ErrnoError(err);
  6216. }
  6217. if (!parent.node_ops.symlink) {
  6218. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6219. }
  6220. return parent.node_ops.symlink(parent, newname, oldpath);
  6221. }),
  6222. rename: (function(old_path, new_path) {
  6223. var old_dirname = PATH.dirname(old_path);
  6224. var new_dirname = PATH.dirname(new_path);
  6225. var old_name = PATH.basename(old_path);
  6226. var new_name = PATH.basename(new_path);
  6227. var lookup, old_dir, new_dir;
  6228. try {
  6229. lookup = FS.lookupPath(old_path, {
  6230. parent: true
  6231. });
  6232. old_dir = lookup.node;
  6233. lookup = FS.lookupPath(new_path, {
  6234. parent: true
  6235. });
  6236. new_dir = lookup.node;
  6237. } catch (e) {
  6238. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6239. }
  6240. if (!old_dir || !new_dir) throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6241. if (old_dir.mount !== new_dir.mount) {
  6242. throw new FS.ErrnoError(ERRNO_CODES.EXDEV);
  6243. }
  6244. var old_node = FS.lookupNode(old_dir, old_name);
  6245. var relative = PATH.relative(old_path, new_dirname);
  6246. if (relative.charAt(0) !== ".") {
  6247. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6248. }
  6249. relative = PATH.relative(new_path, old_dirname);
  6250. if (relative.charAt(0) !== ".") {
  6251. throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
  6252. }
  6253. var new_node;
  6254. try {
  6255. new_node = FS.lookupNode(new_dir, new_name);
  6256. } catch (e) {}
  6257. if (old_node === new_node) {
  6258. return;
  6259. }
  6260. var isdir = FS.isDir(old_node.mode);
  6261. var err = FS.mayDelete(old_dir, old_name, isdir);
  6262. if (err) {
  6263. throw new FS.ErrnoError(err);
  6264. }
  6265. err = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name);
  6266. if (err) {
  6267. throw new FS.ErrnoError(err);
  6268. }
  6269. if (!old_dir.node_ops.rename) {
  6270. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6271. }
  6272. if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) {
  6273. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6274. }
  6275. if (new_dir !== old_dir) {
  6276. err = FS.nodePermissions(old_dir, "w");
  6277. if (err) {
  6278. throw new FS.ErrnoError(err);
  6279. }
  6280. }
  6281. try {
  6282. if (FS.trackingDelegate["willMovePath"]) {
  6283. FS.trackingDelegate["willMovePath"](old_path, new_path);
  6284. }
  6285. } catch (e) {
  6286. console.log("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6287. }
  6288. FS.hashRemoveNode(old_node);
  6289. try {
  6290. old_dir.node_ops.rename(old_node, new_dir, new_name);
  6291. } catch (e) {
  6292. throw e;
  6293. } finally {
  6294. FS.hashAddNode(old_node);
  6295. }
  6296. try {
  6297. if (FS.trackingDelegate["onMovePath"]) FS.trackingDelegate["onMovePath"](old_path, new_path);
  6298. } catch (e) {
  6299. console.log("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  6300. }
  6301. }),
  6302. rmdir: (function(path) {
  6303. var lookup = FS.lookupPath(path, {
  6304. parent: true
  6305. });
  6306. var parent = lookup.node;
  6307. var name = PATH.basename(path);
  6308. var node = FS.lookupNode(parent, name);
  6309. var err = FS.mayDelete(parent, name, true);
  6310. if (err) {
  6311. throw new FS.ErrnoError(err);
  6312. }
  6313. if (!parent.node_ops.rmdir) {
  6314. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6315. }
  6316. if (FS.isMountpoint(node)) {
  6317. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6318. }
  6319. try {
  6320. if (FS.trackingDelegate["willDeletePath"]) {
  6321. FS.trackingDelegate["willDeletePath"](path);
  6322. }
  6323. } catch (e) {
  6324. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6325. }
  6326. parent.node_ops.rmdir(parent, name);
  6327. FS.destroyNode(node);
  6328. try {
  6329. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6330. } catch (e) {
  6331. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6332. }
  6333. }),
  6334. readdir: (function(path) {
  6335. var lookup = FS.lookupPath(path, {
  6336. follow: true
  6337. });
  6338. var node = lookup.node;
  6339. if (!node.node_ops.readdir) {
  6340. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6341. }
  6342. return node.node_ops.readdir(node);
  6343. }),
  6344. unlink: (function(path) {
  6345. var lookup = FS.lookupPath(path, {
  6346. parent: true
  6347. });
  6348. var parent = lookup.node;
  6349. var name = PATH.basename(path);
  6350. var node = FS.lookupNode(parent, name);
  6351. var err = FS.mayDelete(parent, name, false);
  6352. if (err) {
  6353. throw new FS.ErrnoError(err);
  6354. }
  6355. if (!parent.node_ops.unlink) {
  6356. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6357. }
  6358. if (FS.isMountpoint(node)) {
  6359. throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
  6360. }
  6361. try {
  6362. if (FS.trackingDelegate["willDeletePath"]) {
  6363. FS.trackingDelegate["willDeletePath"](path);
  6364. }
  6365. } catch (e) {
  6366. console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  6367. }
  6368. parent.node_ops.unlink(parent, name);
  6369. FS.destroyNode(node);
  6370. try {
  6371. if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path);
  6372. } catch (e) {
  6373. console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  6374. }
  6375. }),
  6376. readlink: (function(path) {
  6377. var lookup = FS.lookupPath(path);
  6378. var link = lookup.node;
  6379. if (!link) {
  6380. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6381. }
  6382. if (!link.node_ops.readlink) {
  6383. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6384. }
  6385. return PATH.resolve(FS.getPath(link.parent), link.node_ops.readlink(link));
  6386. }),
  6387. stat: (function(path, dontFollow) {
  6388. var lookup = FS.lookupPath(path, {
  6389. follow: !dontFollow
  6390. });
  6391. var node = lookup.node;
  6392. if (!node) {
  6393. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6394. }
  6395. if (!node.node_ops.getattr) {
  6396. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6397. }
  6398. return node.node_ops.getattr(node);
  6399. }),
  6400. lstat: (function(path) {
  6401. return FS.stat(path, true);
  6402. }),
  6403. chmod: (function(path, mode, dontFollow) {
  6404. var node;
  6405. if (typeof path === "string") {
  6406. var lookup = FS.lookupPath(path, {
  6407. follow: !dontFollow
  6408. });
  6409. node = lookup.node;
  6410. } else {
  6411. node = path;
  6412. }
  6413. if (!node.node_ops.setattr) {
  6414. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6415. }
  6416. node.node_ops.setattr(node, {
  6417. mode: mode & 4095 | node.mode & ~4095,
  6418. timestamp: Date.now()
  6419. });
  6420. }),
  6421. lchmod: (function(path, mode) {
  6422. FS.chmod(path, mode, true);
  6423. }),
  6424. fchmod: (function(fd, mode) {
  6425. var stream = FS.getStream(fd);
  6426. if (!stream) {
  6427. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6428. }
  6429. FS.chmod(stream.node, mode);
  6430. }),
  6431. chown: (function(path, uid, gid, dontFollow) {
  6432. var node;
  6433. if (typeof path === "string") {
  6434. var lookup = FS.lookupPath(path, {
  6435. follow: !dontFollow
  6436. });
  6437. node = lookup.node;
  6438. } else {
  6439. node = path;
  6440. }
  6441. if (!node.node_ops.setattr) {
  6442. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6443. }
  6444. node.node_ops.setattr(node, {
  6445. timestamp: Date.now()
  6446. });
  6447. }),
  6448. lchown: (function(path, uid, gid) {
  6449. FS.chown(path, uid, gid, true);
  6450. }),
  6451. fchown: (function(fd, uid, gid) {
  6452. var stream = FS.getStream(fd);
  6453. if (!stream) {
  6454. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6455. }
  6456. FS.chown(stream.node, uid, gid);
  6457. }),
  6458. truncate: (function(path, len) {
  6459. if (len < 0) {
  6460. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6461. }
  6462. var node;
  6463. if (typeof path === "string") {
  6464. var lookup = FS.lookupPath(path, {
  6465. follow: true
  6466. });
  6467. node = lookup.node;
  6468. } else {
  6469. node = path;
  6470. }
  6471. if (!node.node_ops.setattr) {
  6472. throw new FS.ErrnoError(ERRNO_CODES.EPERM);
  6473. }
  6474. if (FS.isDir(node.mode)) {
  6475. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6476. }
  6477. if (!FS.isFile(node.mode)) {
  6478. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6479. }
  6480. var err = FS.nodePermissions(node, "w");
  6481. if (err) {
  6482. throw new FS.ErrnoError(err);
  6483. }
  6484. node.node_ops.setattr(node, {
  6485. size: len,
  6486. timestamp: Date.now()
  6487. });
  6488. }),
  6489. ftruncate: (function(fd, len) {
  6490. var stream = FS.getStream(fd);
  6491. if (!stream) {
  6492. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6493. }
  6494. if ((stream.flags & 2097155) === 0) {
  6495. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6496. }
  6497. FS.truncate(stream.node, len);
  6498. }),
  6499. utime: (function(path, atime, mtime) {
  6500. var lookup = FS.lookupPath(path, {
  6501. follow: true
  6502. });
  6503. var node = lookup.node;
  6504. node.node_ops.setattr(node, {
  6505. timestamp: Math.max(atime, mtime)
  6506. });
  6507. }),
  6508. open: (function(path, flags, mode, fd_start, fd_end) {
  6509. if (path === "") {
  6510. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6511. }
  6512. flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags;
  6513. mode = typeof mode === "undefined" ? 438 : mode;
  6514. if (flags & 64) {
  6515. mode = mode & 4095 | 32768;
  6516. } else {
  6517. mode = 0;
  6518. }
  6519. var node;
  6520. if (typeof path === "object") {
  6521. node = path;
  6522. } else {
  6523. path = PATH.normalize(path);
  6524. try {
  6525. var lookup = FS.lookupPath(path, {
  6526. follow: !(flags & 131072)
  6527. });
  6528. node = lookup.node;
  6529. } catch (e) {}
  6530. }
  6531. var created = false;
  6532. if (flags & 64) {
  6533. if (node) {
  6534. if (flags & 128) {
  6535. throw new FS.ErrnoError(ERRNO_CODES.EEXIST);
  6536. }
  6537. } else {
  6538. node = FS.mknod(path, mode, 0);
  6539. created = true;
  6540. }
  6541. }
  6542. if (!node) {
  6543. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6544. }
  6545. if (FS.isChrdev(node.mode)) {
  6546. flags &= ~512;
  6547. }
  6548. if (flags & 65536 && !FS.isDir(node.mode)) {
  6549. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6550. }
  6551. if (!created) {
  6552. var err = FS.mayOpen(node, flags);
  6553. if (err) {
  6554. throw new FS.ErrnoError(err);
  6555. }
  6556. }
  6557. if (flags & 512) {
  6558. FS.truncate(node, 0);
  6559. }
  6560. flags &= ~(128 | 512);
  6561. var stream = FS.createStream({
  6562. node: node,
  6563. path: FS.getPath(node),
  6564. flags: flags,
  6565. seekable: true,
  6566. position: 0,
  6567. stream_ops: node.stream_ops,
  6568. ungotten: [],
  6569. error: false
  6570. }, fd_start, fd_end);
  6571. if (stream.stream_ops.open) {
  6572. stream.stream_ops.open(stream);
  6573. }
  6574. if (Module["logReadFiles"] && !(flags & 1)) {
  6575. if (!FS.readFiles) FS.readFiles = {};
  6576. if (!(path in FS.readFiles)) {
  6577. FS.readFiles[path] = 1;
  6578. err("read file: " + path);
  6579. }
  6580. }
  6581. try {
  6582. if (FS.trackingDelegate["onOpenFile"]) {
  6583. var trackingFlags = 0;
  6584. if ((flags & 2097155) !== 1) {
  6585. trackingFlags |= FS.tracking.openFlags.READ;
  6586. }
  6587. if ((flags & 2097155) !== 0) {
  6588. trackingFlags |= FS.tracking.openFlags.WRITE;
  6589. }
  6590. FS.trackingDelegate["onOpenFile"](path, trackingFlags);
  6591. }
  6592. } catch (e) {
  6593. console.log("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message);
  6594. }
  6595. return stream;
  6596. }),
  6597. close: (function(stream) {
  6598. if (FS.isClosed(stream)) {
  6599. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6600. }
  6601. if (stream.getdents) stream.getdents = null;
  6602. try {
  6603. if (stream.stream_ops.close) {
  6604. stream.stream_ops.close(stream);
  6605. }
  6606. } catch (e) {
  6607. throw e;
  6608. } finally {
  6609. FS.closeStream(stream.fd);
  6610. }
  6611. stream.fd = null;
  6612. }),
  6613. isClosed: (function(stream) {
  6614. return stream.fd === null;
  6615. }),
  6616. llseek: (function(stream, offset, whence) {
  6617. if (FS.isClosed(stream)) {
  6618. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6619. }
  6620. if (!stream.seekable || !stream.stream_ops.llseek) {
  6621. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6622. }
  6623. stream.position = stream.stream_ops.llseek(stream, offset, whence);
  6624. stream.ungotten = [];
  6625. return stream.position;
  6626. }),
  6627. read: (function(stream, buffer, offset, length, position) {
  6628. if (length < 0 || position < 0) {
  6629. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6630. }
  6631. if (FS.isClosed(stream)) {
  6632. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6633. }
  6634. if ((stream.flags & 2097155) === 1) {
  6635. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6636. }
  6637. if (FS.isDir(stream.node.mode)) {
  6638. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6639. }
  6640. if (!stream.stream_ops.read) {
  6641. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6642. }
  6643. var seeking = typeof position !== "undefined";
  6644. if (!seeking) {
  6645. position = stream.position;
  6646. } else if (!stream.seekable) {
  6647. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6648. }
  6649. var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
  6650. if (!seeking) stream.position += bytesRead;
  6651. return bytesRead;
  6652. }),
  6653. write: (function(stream, buffer, offset, length, position, canOwn) {
  6654. if (length < 0 || position < 0) {
  6655. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6656. }
  6657. if (FS.isClosed(stream)) {
  6658. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6659. }
  6660. if ((stream.flags & 2097155) === 0) {
  6661. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6662. }
  6663. if (FS.isDir(stream.node.mode)) {
  6664. throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
  6665. }
  6666. if (!stream.stream_ops.write) {
  6667. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6668. }
  6669. if (stream.flags & 1024) {
  6670. FS.llseek(stream, 0, 2);
  6671. }
  6672. var seeking = typeof position !== "undefined";
  6673. if (!seeking) {
  6674. position = stream.position;
  6675. } else if (!stream.seekable) {
  6676. throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
  6677. }
  6678. var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
  6679. if (!seeking) stream.position += bytesWritten;
  6680. try {
  6681. if (stream.path && FS.trackingDelegate["onWriteToFile"]) FS.trackingDelegate["onWriteToFile"](stream.path);
  6682. } catch (e) {
  6683. console.log("FS.trackingDelegate['onWriteToFile']('" + path + "') threw an exception: " + e.message);
  6684. }
  6685. return bytesWritten;
  6686. }),
  6687. allocate: (function(stream, offset, length) {
  6688. if (FS.isClosed(stream)) {
  6689. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6690. }
  6691. if (offset < 0 || length <= 0) {
  6692. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  6693. }
  6694. if ((stream.flags & 2097155) === 0) {
  6695. throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6696. }
  6697. if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) {
  6698. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6699. }
  6700. if (!stream.stream_ops.allocate) {
  6701. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  6702. }
  6703. stream.stream_ops.allocate(stream, offset, length);
  6704. }),
  6705. mmap: (function(stream, buffer, offset, length, position, prot, flags) {
  6706. if ((stream.flags & 2097155) === 1) {
  6707. throw new FS.ErrnoError(ERRNO_CODES.EACCES);
  6708. }
  6709. if (!stream.stream_ops.mmap) {
  6710. throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
  6711. }
  6712. return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
  6713. }),
  6714. msync: (function(stream, buffer, offset, length, mmapFlags) {
  6715. if (!stream || !stream.stream_ops.msync) {
  6716. return 0;
  6717. }
  6718. return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags);
  6719. }),
  6720. munmap: (function(stream) {
  6721. return 0;
  6722. }),
  6723. ioctl: (function(stream, cmd, arg) {
  6724. if (!stream.stream_ops.ioctl) {
  6725. throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);
  6726. }
  6727. return stream.stream_ops.ioctl(stream, cmd, arg);
  6728. }),
  6729. readFile: (function(path, opts) {
  6730. opts = opts || {};
  6731. opts.flags = opts.flags || "r";
  6732. opts.encoding = opts.encoding || "binary";
  6733. if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
  6734. throw new Error('Invalid encoding type "' + opts.encoding + '"');
  6735. }
  6736. var ret;
  6737. var stream = FS.open(path, opts.flags);
  6738. var stat = FS.stat(path);
  6739. var length = stat.size;
  6740. var buf = new Uint8Array(length);
  6741. FS.read(stream, buf, 0, length, 0);
  6742. if (opts.encoding === "utf8") {
  6743. ret = UTF8ArrayToString(buf, 0);
  6744. } else if (opts.encoding === "binary") {
  6745. ret = buf;
  6746. }
  6747. FS.close(stream);
  6748. return ret;
  6749. }),
  6750. writeFile: (function(path, data, opts) {
  6751. opts = opts || {};
  6752. opts.flags = opts.flags || "w";
  6753. var stream = FS.open(path, opts.flags, opts.mode);
  6754. if (typeof data === "string") {
  6755. var buf = new Uint8Array(lengthBytesUTF8(data) + 1);
  6756. var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length);
  6757. FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn);
  6758. } else if (ArrayBuffer.isView(data)) {
  6759. FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
  6760. } else {
  6761. throw new Error("Unsupported data type");
  6762. }
  6763. FS.close(stream);
  6764. }),
  6765. cwd: (function() {
  6766. return FS.currentPath;
  6767. }),
  6768. chdir: (function(path) {
  6769. var lookup = FS.lookupPath(path, {
  6770. follow: true
  6771. });
  6772. if (lookup.node === null) {
  6773. throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
  6774. }
  6775. if (!FS.isDir(lookup.node.mode)) {
  6776. throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
  6777. }
  6778. var err = FS.nodePermissions(lookup.node, "x");
  6779. if (err) {
  6780. throw new FS.ErrnoError(err);
  6781. }
  6782. FS.currentPath = lookup.path;
  6783. }),
  6784. createDefaultDirectories: (function() {
  6785. FS.mkdir("/tmp");
  6786. FS.mkdir("/home");
  6787. FS.mkdir("/home/web_user");
  6788. }),
  6789. createDefaultDevices: (function() {
  6790. FS.mkdir("/dev");
  6791. FS.registerDevice(FS.makedev(1, 3), {
  6792. read: (function() {
  6793. return 0;
  6794. }),
  6795. write: (function(stream, buffer, offset, length, pos) {
  6796. return length;
  6797. })
  6798. });
  6799. FS.mkdev("/dev/null", FS.makedev(1, 3));
  6800. TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
  6801. TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
  6802. FS.mkdev("/dev/tty", FS.makedev(5, 0));
  6803. FS.mkdev("/dev/tty1", FS.makedev(6, 0));
  6804. var random_device;
  6805. if (typeof crypto !== "undefined") {
  6806. var randomBuffer = new Uint8Array(1);
  6807. random_device = (function() {
  6808. crypto.getRandomValues(randomBuffer);
  6809. return randomBuffer[0];
  6810. });
  6811. } else if (ENVIRONMENT_IS_NODE) {
  6812. random_device = (function() {
  6813. return require("crypto")["randomBytes"](1)[0];
  6814. });
  6815. } else {
  6816. random_device = (function() {
  6817. return Math.random() * 256 | 0;
  6818. });
  6819. }
  6820. FS.createDevice("/dev", "random", random_device);
  6821. FS.createDevice("/dev", "urandom", random_device);
  6822. FS.mkdir("/dev/shm");
  6823. FS.mkdir("/dev/shm/tmp");
  6824. }),
  6825. createSpecialDirectories: (function() {
  6826. FS.mkdir("/proc");
  6827. FS.mkdir("/proc/self");
  6828. FS.mkdir("/proc/self/fd");
  6829. FS.mount({
  6830. mount: (function() {
  6831. var node = FS.createNode("/proc/self", "fd", 16384 | 511, 73);
  6832. node.node_ops = {
  6833. lookup: (function(parent, name) {
  6834. var fd = +name;
  6835. var stream = FS.getStream(fd);
  6836. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  6837. var ret = {
  6838. parent: null,
  6839. mount: {
  6840. mountpoint: "fake"
  6841. },
  6842. node_ops: {
  6843. readlink: (function() {
  6844. return stream.path;
  6845. })
  6846. }
  6847. };
  6848. ret.parent = ret;
  6849. return ret;
  6850. })
  6851. };
  6852. return node;
  6853. })
  6854. }, {}, "/proc/self/fd");
  6855. }),
  6856. createStandardStreams: (function() {
  6857. if (Module["stdin"]) {
  6858. FS.createDevice("/dev", "stdin", Module["stdin"]);
  6859. } else {
  6860. FS.symlink("/dev/tty", "/dev/stdin");
  6861. }
  6862. if (Module["stdout"]) {
  6863. FS.createDevice("/dev", "stdout", null, Module["stdout"]);
  6864. } else {
  6865. FS.symlink("/dev/tty", "/dev/stdout");
  6866. }
  6867. if (Module["stderr"]) {
  6868. FS.createDevice("/dev", "stderr", null, Module["stderr"]);
  6869. } else {
  6870. FS.symlink("/dev/tty1", "/dev/stderr");
  6871. }
  6872. var stdin = FS.open("/dev/stdin", "r");
  6873. assert(stdin.fd === 0, "invalid handle for stdin (" + stdin.fd + ")");
  6874. var stdout = FS.open("/dev/stdout", "w");
  6875. assert(stdout.fd === 1, "invalid handle for stdout (" + stdout.fd + ")");
  6876. var stderr = FS.open("/dev/stderr", "w");
  6877. assert(stderr.fd === 2, "invalid handle for stderr (" + stderr.fd + ")");
  6878. }),
  6879. ensureErrnoError: (function() {
  6880. if (FS.ErrnoError) return;
  6881. FS.ErrnoError = function ErrnoError(errno, node) {
  6882. this.node = node;
  6883. this.setErrno = (function(errno) {
  6884. this.errno = errno;
  6885. for (var key in ERRNO_CODES) {
  6886. if (ERRNO_CODES[key] === errno) {
  6887. this.code = key;
  6888. break;
  6889. }
  6890. }
  6891. });
  6892. this.setErrno(errno);
  6893. this.message = ERRNO_MESSAGES[errno];
  6894. if (this.stack) Object.defineProperty(this, "stack", {
  6895. value: (new Error).stack,
  6896. writable: true
  6897. });
  6898. if (this.stack) this.stack = demangleAll(this.stack);
  6899. };
  6900. FS.ErrnoError.prototype = new Error;
  6901. FS.ErrnoError.prototype.constructor = FS.ErrnoError;
  6902. [ ERRNO_CODES.ENOENT ].forEach((function(code) {
  6903. FS.genericErrors[code] = new FS.ErrnoError(code);
  6904. FS.genericErrors[code].stack = "<generic error, no stack>";
  6905. }));
  6906. }),
  6907. staticInit: (function() {
  6908. FS.ensureErrnoError();
  6909. FS.nameTable = new Array(4096);
  6910. FS.mount(MEMFS, {}, "/");
  6911. FS.createDefaultDirectories();
  6912. FS.createDefaultDevices();
  6913. FS.createSpecialDirectories();
  6914. FS.filesystems = {
  6915. "MEMFS": MEMFS,
  6916. "IDBFS": IDBFS,
  6917. "NODEFS": NODEFS,
  6918. "WORKERFS": WORKERFS
  6919. };
  6920. }),
  6921. init: (function(input, output, error) {
  6922. 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)");
  6923. FS.init.initialized = true;
  6924. FS.ensureErrnoError();
  6925. Module["stdin"] = input || Module["stdin"];
  6926. Module["stdout"] = output || Module["stdout"];
  6927. Module["stderr"] = error || Module["stderr"];
  6928. FS.createStandardStreams();
  6929. }),
  6930. quit: (function() {
  6931. FS.init.initialized = false;
  6932. var fflush = Module["_fflush"];
  6933. if (fflush) fflush(0);
  6934. for (var i = 0; i < FS.streams.length; i++) {
  6935. var stream = FS.streams[i];
  6936. if (!stream) {
  6937. continue;
  6938. }
  6939. FS.close(stream);
  6940. }
  6941. }),
  6942. getMode: (function(canRead, canWrite) {
  6943. var mode = 0;
  6944. if (canRead) mode |= 292 | 73;
  6945. if (canWrite) mode |= 146;
  6946. return mode;
  6947. }),
  6948. joinPath: (function(parts, forceRelative) {
  6949. var path = PATH.join.apply(null, parts);
  6950. if (forceRelative && path[0] == "/") path = path.substr(1);
  6951. return path;
  6952. }),
  6953. absolutePath: (function(relative, base) {
  6954. return PATH.resolve(base, relative);
  6955. }),
  6956. standardizePath: (function(path) {
  6957. return PATH.normalize(path);
  6958. }),
  6959. findObject: (function(path, dontResolveLastLink) {
  6960. var ret = FS.analyzePath(path, dontResolveLastLink);
  6961. if (ret.exists) {
  6962. return ret.object;
  6963. } else {
  6964. ___setErrNo(ret.error);
  6965. return null;
  6966. }
  6967. }),
  6968. analyzePath: (function(path, dontResolveLastLink) {
  6969. try {
  6970. var lookup = FS.lookupPath(path, {
  6971. follow: !dontResolveLastLink
  6972. });
  6973. path = lookup.path;
  6974. } catch (e) {}
  6975. var ret = {
  6976. isRoot: false,
  6977. exists: false,
  6978. error: 0,
  6979. name: null,
  6980. path: null,
  6981. object: null,
  6982. parentExists: false,
  6983. parentPath: null,
  6984. parentObject: null
  6985. };
  6986. try {
  6987. var lookup = FS.lookupPath(path, {
  6988. parent: true
  6989. });
  6990. ret.parentExists = true;
  6991. ret.parentPath = lookup.path;
  6992. ret.parentObject = lookup.node;
  6993. ret.name = PATH.basename(path);
  6994. lookup = FS.lookupPath(path, {
  6995. follow: !dontResolveLastLink
  6996. });
  6997. ret.exists = true;
  6998. ret.path = lookup.path;
  6999. ret.object = lookup.node;
  7000. ret.name = lookup.node.name;
  7001. ret.isRoot = lookup.path === "/";
  7002. } catch (e) {
  7003. ret.error = e.errno;
  7004. }
  7005. return ret;
  7006. }),
  7007. createFolder: (function(parent, name, canRead, canWrite) {
  7008. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  7009. var mode = FS.getMode(canRead, canWrite);
  7010. return FS.mkdir(path, mode);
  7011. }),
  7012. createPath: (function(parent, path, canRead, canWrite) {
  7013. parent = typeof parent === "string" ? parent : FS.getPath(parent);
  7014. var parts = path.split("/").reverse();
  7015. while (parts.length) {
  7016. var part = parts.pop();
  7017. if (!part) continue;
  7018. var current = PATH.join2(parent, part);
  7019. try {
  7020. FS.mkdir(current);
  7021. } catch (e) {}
  7022. parent = current;
  7023. }
  7024. return current;
  7025. }),
  7026. createFile: (function(parent, name, properties, canRead, canWrite) {
  7027. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  7028. var mode = FS.getMode(canRead, canWrite);
  7029. return FS.create(path, mode);
  7030. }),
  7031. createDataFile: (function(parent, name, data, canRead, canWrite, canOwn) {
  7032. var path = name ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name) : parent;
  7033. var mode = FS.getMode(canRead, canWrite);
  7034. var node = FS.create(path, mode);
  7035. if (data) {
  7036. if (typeof data === "string") {
  7037. var arr = new Array(data.length);
  7038. for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
  7039. data = arr;
  7040. }
  7041. FS.chmod(node, mode | 146);
  7042. var stream = FS.open(node, "w");
  7043. FS.write(stream, data, 0, data.length, 0, canOwn);
  7044. FS.close(stream);
  7045. FS.chmod(node, mode);
  7046. }
  7047. return node;
  7048. }),
  7049. createDevice: (function(parent, name, input, output) {
  7050. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  7051. var mode = FS.getMode(!!input, !!output);
  7052. if (!FS.createDevice.major) FS.createDevice.major = 64;
  7053. var dev = FS.makedev(FS.createDevice.major++, 0);
  7054. FS.registerDevice(dev, {
  7055. open: (function(stream) {
  7056. stream.seekable = false;
  7057. }),
  7058. close: (function(stream) {
  7059. if (output && output.buffer && output.buffer.length) {
  7060. output(10);
  7061. }
  7062. }),
  7063. read: (function(stream, buffer, offset, length, pos) {
  7064. var bytesRead = 0;
  7065. for (var i = 0; i < length; i++) {
  7066. var result;
  7067. try {
  7068. result = input();
  7069. } catch (e) {
  7070. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7071. }
  7072. if (result === undefined && bytesRead === 0) {
  7073. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7074. }
  7075. if (result === null || result === undefined) break;
  7076. bytesRead++;
  7077. buffer[offset + i] = result;
  7078. }
  7079. if (bytesRead) {
  7080. stream.node.timestamp = Date.now();
  7081. }
  7082. return bytesRead;
  7083. }),
  7084. write: (function(stream, buffer, offset, length, pos) {
  7085. for (var i = 0; i < length; i++) {
  7086. try {
  7087. output(buffer[offset + i]);
  7088. } catch (e) {
  7089. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7090. }
  7091. }
  7092. if (length) {
  7093. stream.node.timestamp = Date.now();
  7094. }
  7095. return i;
  7096. })
  7097. });
  7098. return FS.mkdev(path, mode, dev);
  7099. }),
  7100. createLink: (function(parent, name, target, canRead, canWrite) {
  7101. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name);
  7102. return FS.symlink(target, path);
  7103. }),
  7104. forceLoadFile: (function(obj) {
  7105. if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
  7106. var success = true;
  7107. if (typeof XMLHttpRequest !== "undefined") {
  7108. 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.");
  7109. } else if (Module["read"]) {
  7110. try {
  7111. obj.contents = intArrayFromString(Module["read"](obj.url), true);
  7112. obj.usedBytes = obj.contents.length;
  7113. } catch (e) {
  7114. success = false;
  7115. }
  7116. } else {
  7117. throw new Error("Cannot load without read() or XMLHttpRequest.");
  7118. }
  7119. if (!success) ___setErrNo(ERRNO_CODES.EIO);
  7120. return success;
  7121. }),
  7122. createLazyFile: (function(parent, name, url, canRead, canWrite) {
  7123. function LazyUint8Array() {
  7124. this.lengthKnown = false;
  7125. this.chunks = [];
  7126. }
  7127. LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
  7128. if (idx > this.length - 1 || idx < 0) {
  7129. return undefined;
  7130. }
  7131. var chunkOffset = idx % this.chunkSize;
  7132. var chunkNum = idx / this.chunkSize | 0;
  7133. return this.getter(chunkNum)[chunkOffset];
  7134. };
  7135. LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
  7136. this.getter = getter;
  7137. };
  7138. LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
  7139. var xhr = new XMLHttpRequest;
  7140. xhr.open("HEAD", url, false);
  7141. xhr.send(null);
  7142. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7143. var datalength = Number(xhr.getResponseHeader("Content-length"));
  7144. var header;
  7145. var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
  7146. var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
  7147. var chunkSize = 1024 * 1024;
  7148. if (!hasByteServing) chunkSize = datalength;
  7149. var doXHR = (function(from, to) {
  7150. if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
  7151. if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!");
  7152. var xhr = new XMLHttpRequest;
  7153. xhr.open("GET", url, false);
  7154. if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
  7155. if (typeof Uint8Array != "undefined") xhr.responseType = "arraybuffer";
  7156. if (xhr.overrideMimeType) {
  7157. xhr.overrideMimeType("text/plain; charset=x-user-defined");
  7158. }
  7159. xhr.send(null);
  7160. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  7161. if (xhr.response !== undefined) {
  7162. return new Uint8Array(xhr.response || []);
  7163. } else {
  7164. return intArrayFromString(xhr.responseText || "", true);
  7165. }
  7166. });
  7167. var lazyArray = this;
  7168. lazyArray.setDataGetter((function(chunkNum) {
  7169. var start = chunkNum * chunkSize;
  7170. var end = (chunkNum + 1) * chunkSize - 1;
  7171. end = Math.min(end, datalength - 1);
  7172. if (typeof lazyArray.chunks[chunkNum] === "undefined") {
  7173. lazyArray.chunks[chunkNum] = doXHR(start, end);
  7174. }
  7175. if (typeof lazyArray.chunks[chunkNum] === "undefined") throw new Error("doXHR failed!");
  7176. return lazyArray.chunks[chunkNum];
  7177. }));
  7178. if (usesGzip || !datalength) {
  7179. chunkSize = datalength = 1;
  7180. datalength = this.getter(0).length;
  7181. chunkSize = datalength;
  7182. console.log("LazyFiles on gzip forces download of the whole file when length is accessed");
  7183. }
  7184. this._length = datalength;
  7185. this._chunkSize = chunkSize;
  7186. this.lengthKnown = true;
  7187. };
  7188. if (typeof XMLHttpRequest !== "undefined") {
  7189. if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
  7190. var lazyArray = new LazyUint8Array;
  7191. Object.defineProperties(lazyArray, {
  7192. length: {
  7193. get: (function() {
  7194. if (!this.lengthKnown) {
  7195. this.cacheLength();
  7196. }
  7197. return this._length;
  7198. })
  7199. },
  7200. chunkSize: {
  7201. get: (function() {
  7202. if (!this.lengthKnown) {
  7203. this.cacheLength();
  7204. }
  7205. return this._chunkSize;
  7206. })
  7207. }
  7208. });
  7209. var properties = {
  7210. isDevice: false,
  7211. contents: lazyArray
  7212. };
  7213. } else {
  7214. var properties = {
  7215. isDevice: false,
  7216. url: url
  7217. };
  7218. }
  7219. var node = FS.createFile(parent, name, properties, canRead, canWrite);
  7220. if (properties.contents) {
  7221. node.contents = properties.contents;
  7222. } else if (properties.url) {
  7223. node.contents = null;
  7224. node.url = properties.url;
  7225. }
  7226. Object.defineProperties(node, {
  7227. usedBytes: {
  7228. get: (function() {
  7229. return this.contents.length;
  7230. })
  7231. }
  7232. });
  7233. var stream_ops = {};
  7234. var keys = Object.keys(node.stream_ops);
  7235. keys.forEach((function(key) {
  7236. var fn = node.stream_ops[key];
  7237. stream_ops[key] = function forceLoadLazyFile() {
  7238. if (!FS.forceLoadFile(node)) {
  7239. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7240. }
  7241. return fn.apply(null, arguments);
  7242. };
  7243. }));
  7244. stream_ops.read = function stream_ops_read(stream, buffer, offset, length, position) {
  7245. if (!FS.forceLoadFile(node)) {
  7246. throw new FS.ErrnoError(ERRNO_CODES.EIO);
  7247. }
  7248. var contents = stream.node.contents;
  7249. if (position >= contents.length) return 0;
  7250. var size = Math.min(contents.length - position, length);
  7251. assert(size >= 0);
  7252. if (contents.slice) {
  7253. for (var i = 0; i < size; i++) {
  7254. buffer[offset + i] = contents[position + i];
  7255. }
  7256. } else {
  7257. for (var i = 0; i < size; i++) {
  7258. buffer[offset + i] = contents.get(position + i);
  7259. }
  7260. }
  7261. return size;
  7262. };
  7263. node.stream_ops = stream_ops;
  7264. return node;
  7265. }),
  7266. createPreloadedFile: (function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
  7267. Browser.init();
  7268. var fullname = name ? PATH.resolve(PATH.join2(parent, name)) : parent;
  7269. var dep = getUniqueRunDependency("cp " + fullname);
  7270. function processData(byteArray) {
  7271. function finish(byteArray) {
  7272. if (preFinish) preFinish();
  7273. if (!dontCreateFile) {
  7274. FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
  7275. }
  7276. if (onload) onload();
  7277. removeRunDependency(dep);
  7278. }
  7279. var handled = false;
  7280. Module["preloadPlugins"].forEach((function(plugin) {
  7281. if (handled) return;
  7282. if (plugin["canHandle"](fullname)) {
  7283. plugin["handle"](byteArray, fullname, finish, (function() {
  7284. if (onerror) onerror();
  7285. removeRunDependency(dep);
  7286. }));
  7287. handled = true;
  7288. }
  7289. }));
  7290. if (!handled) finish(byteArray);
  7291. }
  7292. addRunDependency(dep);
  7293. if (typeof url == "string") {
  7294. Browser.asyncLoad(url, (function(byteArray) {
  7295. processData(byteArray);
  7296. }), onerror);
  7297. } else {
  7298. processData(url);
  7299. }
  7300. }),
  7301. indexedDB: (function() {
  7302. return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  7303. }),
  7304. DB_NAME: (function() {
  7305. return "EM_FS_" + window.location.pathname;
  7306. }),
  7307. DB_VERSION: 20,
  7308. DB_STORE_NAME: "FILE_DATA",
  7309. saveFilesToDB: (function(paths, onload, onerror) {
  7310. onload = onload || (function() {});
  7311. onerror = onerror || (function() {});
  7312. var indexedDB = FS.indexedDB();
  7313. try {
  7314. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7315. } catch (e) {
  7316. return onerror(e);
  7317. }
  7318. openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
  7319. console.log("creating db");
  7320. var db = openRequest.result;
  7321. db.createObjectStore(FS.DB_STORE_NAME);
  7322. };
  7323. openRequest.onsuccess = function openRequest_onsuccess() {
  7324. var db = openRequest.result;
  7325. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readwrite");
  7326. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7327. var ok = 0, fail = 0, total = paths.length;
  7328. function finish() {
  7329. if (fail == 0) onload(); else onerror();
  7330. }
  7331. paths.forEach((function(path) {
  7332. var putRequest = files.put(FS.analyzePath(path).object.contents, path);
  7333. putRequest.onsuccess = function putRequest_onsuccess() {
  7334. ok++;
  7335. if (ok + fail == total) finish();
  7336. };
  7337. putRequest.onerror = function putRequest_onerror() {
  7338. fail++;
  7339. if (ok + fail == total) finish();
  7340. };
  7341. }));
  7342. transaction.onerror = onerror;
  7343. };
  7344. openRequest.onerror = onerror;
  7345. }),
  7346. loadFilesFromDB: (function(paths, onload, onerror) {
  7347. onload = onload || (function() {});
  7348. onerror = onerror || (function() {});
  7349. var indexedDB = FS.indexedDB();
  7350. try {
  7351. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  7352. } catch (e) {
  7353. return onerror(e);
  7354. }
  7355. openRequest.onupgradeneeded = onerror;
  7356. openRequest.onsuccess = function openRequest_onsuccess() {
  7357. var db = openRequest.result;
  7358. try {
  7359. var transaction = db.transaction([ FS.DB_STORE_NAME ], "readonly");
  7360. } catch (e) {
  7361. onerror(e);
  7362. return;
  7363. }
  7364. var files = transaction.objectStore(FS.DB_STORE_NAME);
  7365. var ok = 0, fail = 0, total = paths.length;
  7366. function finish() {
  7367. if (fail == 0) onload(); else onerror();
  7368. }
  7369. paths.forEach((function(path) {
  7370. var getRequest = files.get(path);
  7371. getRequest.onsuccess = function getRequest_onsuccess() {
  7372. if (FS.analyzePath(path).exists) {
  7373. FS.unlink(path);
  7374. }
  7375. FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
  7376. ok++;
  7377. if (ok + fail == total) finish();
  7378. };
  7379. getRequest.onerror = function getRequest_onerror() {
  7380. fail++;
  7381. if (ok + fail == total) finish();
  7382. };
  7383. }));
  7384. transaction.onerror = onerror;
  7385. };
  7386. openRequest.onerror = onerror;
  7387. })
  7388. };
  7389. var SYSCALLS = {
  7390. DEFAULT_POLLMASK: 5,
  7391. mappings: {},
  7392. umask: 511,
  7393. calculateAt: (function(dirfd, path) {
  7394. if (path[0] !== "/") {
  7395. var dir;
  7396. if (dirfd === -100) {
  7397. dir = FS.cwd();
  7398. } else {
  7399. var dirstream = FS.getStream(dirfd);
  7400. if (!dirstream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7401. dir = dirstream.path;
  7402. }
  7403. path = PATH.join2(dir, path);
  7404. }
  7405. return path;
  7406. }),
  7407. doStat: (function(func, path, buf) {
  7408. try {
  7409. var stat = func(path);
  7410. } catch (e) {
  7411. if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) {
  7412. return -ERRNO_CODES.ENOTDIR;
  7413. }
  7414. throw e;
  7415. }
  7416. HEAP32[buf >> 2] = stat.dev;
  7417. HEAP32[buf + 4 >> 2] = 0;
  7418. HEAP32[buf + 8 >> 2] = stat.ino;
  7419. HEAP32[buf + 12 >> 2] = stat.mode;
  7420. HEAP32[buf + 16 >> 2] = stat.nlink;
  7421. HEAP32[buf + 20 >> 2] = stat.uid;
  7422. HEAP32[buf + 24 >> 2] = stat.gid;
  7423. HEAP32[buf + 28 >> 2] = stat.rdev;
  7424. HEAP32[buf + 32 >> 2] = 0;
  7425. HEAP32[buf + 36 >> 2] = stat.size;
  7426. HEAP32[buf + 40 >> 2] = 4096;
  7427. HEAP32[buf + 44 >> 2] = stat.blocks;
  7428. HEAP32[buf + 48 >> 2] = stat.atime.getTime() / 1e3 | 0;
  7429. HEAP32[buf + 52 >> 2] = 0;
  7430. HEAP32[buf + 56 >> 2] = stat.mtime.getTime() / 1e3 | 0;
  7431. HEAP32[buf + 60 >> 2] = 0;
  7432. HEAP32[buf + 64 >> 2] = stat.ctime.getTime() / 1e3 | 0;
  7433. HEAP32[buf + 68 >> 2] = 0;
  7434. HEAP32[buf + 72 >> 2] = stat.ino;
  7435. return 0;
  7436. }),
  7437. doMsync: (function(addr, stream, len, flags) {
  7438. var buffer = new Uint8Array(HEAPU8.subarray(addr, addr + len));
  7439. FS.msync(stream, buffer, 0, len, flags);
  7440. }),
  7441. doMkdir: (function(path, mode) {
  7442. path = PATH.normalize(path);
  7443. if (path[path.length - 1] === "/") path = path.substr(0, path.length - 1);
  7444. FS.mkdir(path, mode, 0);
  7445. return 0;
  7446. }),
  7447. doMknod: (function(path, mode, dev) {
  7448. switch (mode & 61440) {
  7449. case 32768:
  7450. case 8192:
  7451. case 24576:
  7452. case 4096:
  7453. case 49152:
  7454. break;
  7455. default:
  7456. return -ERRNO_CODES.EINVAL;
  7457. }
  7458. FS.mknod(path, mode, dev);
  7459. return 0;
  7460. }),
  7461. doReadlink: (function(path, buf, bufsize) {
  7462. if (bufsize <= 0) return -ERRNO_CODES.EINVAL;
  7463. var ret = FS.readlink(path);
  7464. var len = Math.min(bufsize, lengthBytesUTF8(ret));
  7465. var endChar = HEAP8[buf + len];
  7466. stringToUTF8(ret, buf, bufsize + 1);
  7467. HEAP8[buf + len] = endChar;
  7468. return len;
  7469. }),
  7470. doAccess: (function(path, amode) {
  7471. if (amode & ~7) {
  7472. return -ERRNO_CODES.EINVAL;
  7473. }
  7474. var node;
  7475. var lookup = FS.lookupPath(path, {
  7476. follow: true
  7477. });
  7478. node = lookup.node;
  7479. var perms = "";
  7480. if (amode & 4) perms += "r";
  7481. if (amode & 2) perms += "w";
  7482. if (amode & 1) perms += "x";
  7483. if (perms && FS.nodePermissions(node, perms)) {
  7484. return -ERRNO_CODES.EACCES;
  7485. }
  7486. return 0;
  7487. }),
  7488. doDup: (function(path, flags, suggestFD) {
  7489. var suggest = FS.getStream(suggestFD);
  7490. if (suggest) FS.close(suggest);
  7491. return FS.open(path, flags, 0, suggestFD, suggestFD).fd;
  7492. }),
  7493. doReadv: (function(stream, iov, iovcnt, offset) {
  7494. var ret = 0;
  7495. for (var i = 0; i < iovcnt; i++) {
  7496. var ptr = HEAP32[iov + i * 8 >> 2];
  7497. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7498. var curr = FS.read(stream, HEAP8, ptr, len, offset);
  7499. if (curr < 0) return -1;
  7500. ret += curr;
  7501. if (curr < len) break;
  7502. }
  7503. return ret;
  7504. }),
  7505. doWritev: (function(stream, iov, iovcnt, offset) {
  7506. var ret = 0;
  7507. for (var i = 0; i < iovcnt; i++) {
  7508. var ptr = HEAP32[iov + i * 8 >> 2];
  7509. var len = HEAP32[iov + (i * 8 + 4) >> 2];
  7510. var curr = FS.write(stream, HEAP8, ptr, len, offset);
  7511. if (curr < 0) return -1;
  7512. ret += curr;
  7513. }
  7514. return ret;
  7515. }),
  7516. varargs: 0,
  7517. get: (function(varargs) {
  7518. SYSCALLS.varargs += 4;
  7519. var ret = HEAP32[SYSCALLS.varargs - 4 >> 2];
  7520. return ret;
  7521. }),
  7522. getStr: (function() {
  7523. var ret = Pointer_stringify(SYSCALLS.get());
  7524. return ret;
  7525. }),
  7526. getStreamFromFD: (function() {
  7527. var stream = FS.getStream(SYSCALLS.get());
  7528. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7529. return stream;
  7530. }),
  7531. getSocketFromFD: (function() {
  7532. var socket = SOCKFS.getSocket(SYSCALLS.get());
  7533. if (!socket) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  7534. return socket;
  7535. }),
  7536. getSocketAddress: (function(allowNull) {
  7537. var addrp = SYSCALLS.get(), addrlen = SYSCALLS.get();
  7538. if (allowNull && addrp === 0) return null;
  7539. var info = __read_sockaddr(addrp, addrlen);
  7540. if (info.errno) throw new FS.ErrnoError(info.errno);
  7541. info.addr = DNS.lookup_addr(info.addr) || info.addr;
  7542. return info;
  7543. }),
  7544. get64: (function() {
  7545. var low = SYSCALLS.get(), high = SYSCALLS.get();
  7546. if (low >= 0) assert(high === 0); else assert(high === -1);
  7547. return low;
  7548. }),
  7549. getZero: (function() {
  7550. assert(SYSCALLS.get() === 0);
  7551. })
  7552. };
  7553. function ___syscall10(which, varargs) {
  7554. SYSCALLS.varargs = varargs;
  7555. try {
  7556. var path = SYSCALLS.getStr();
  7557. FS.unlink(path);
  7558. return 0;
  7559. } catch (e) {
  7560. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  7561. return -e.errno;
  7562. }
  7563. }
  7564. var SOCKFS = {
  7565. mount: (function(mount) {
  7566. Module["websocket"] = Module["websocket"] && "object" === typeof Module["websocket"] ? Module["websocket"] : {};
  7567. Module["websocket"]._callbacks = {};
  7568. Module["websocket"]["on"] = (function(event, callback) {
  7569. if ("function" === typeof callback) {
  7570. this._callbacks[event] = callback;
  7571. }
  7572. return this;
  7573. });
  7574. Module["websocket"].emit = (function(event, param) {
  7575. if ("function" === typeof this._callbacks[event]) {
  7576. this._callbacks[event].call(this, param);
  7577. }
  7578. });
  7579. return FS.createNode(null, "/", 16384 | 511, 0);
  7580. }),
  7581. createSocket: (function(family, type, protocol) {
  7582. var streaming = type == 1;
  7583. if (protocol) {
  7584. assert(streaming == (protocol == 6));
  7585. }
  7586. var sock = {
  7587. family: family,
  7588. type: type,
  7589. protocol: protocol,
  7590. server: null,
  7591. error: null,
  7592. peers: {},
  7593. pending: [],
  7594. recv_queue: [],
  7595. sock_ops: SOCKFS.websocket_sock_ops
  7596. };
  7597. var name = SOCKFS.nextname();
  7598. var node = FS.createNode(SOCKFS.root, name, 49152, 0);
  7599. node.sock = sock;
  7600. var stream = FS.createStream({
  7601. path: name,
  7602. node: node,
  7603. flags: FS.modeStringToFlags("r+"),
  7604. seekable: false,
  7605. stream_ops: SOCKFS.stream_ops
  7606. });
  7607. sock.stream = stream;
  7608. return sock;
  7609. }),
  7610. getSocket: (function(fd) {
  7611. var stream = FS.getStream(fd);
  7612. if (!stream || !FS.isSocket(stream.node.mode)) {
  7613. return null;
  7614. }
  7615. return stream.node.sock;
  7616. }),
  7617. stream_ops: {
  7618. poll: (function(stream) {
  7619. var sock = stream.node.sock;
  7620. return sock.sock_ops.poll(sock);
  7621. }),
  7622. ioctl: (function(stream, request, varargs) {
  7623. var sock = stream.node.sock;
  7624. return sock.sock_ops.ioctl(sock, request, varargs);
  7625. }),
  7626. read: (function(stream, buffer, offset, length, position) {
  7627. var sock = stream.node.sock;
  7628. var msg = sock.sock_ops.recvmsg(sock, length);
  7629. if (!msg) {
  7630. return 0;
  7631. }
  7632. buffer.set(msg.buffer, offset);
  7633. return msg.buffer.length;
  7634. }),
  7635. write: (function(stream, buffer, offset, length, position) {
  7636. var sock = stream.node.sock;
  7637. return sock.sock_ops.sendmsg(sock, buffer, offset, length);
  7638. }),
  7639. close: (function(stream) {
  7640. var sock = stream.node.sock;
  7641. sock.sock_ops.close(sock);
  7642. })
  7643. },
  7644. nextname: (function() {
  7645. if (!SOCKFS.nextname.current) {
  7646. SOCKFS.nextname.current = 0;
  7647. }
  7648. return "socket[" + SOCKFS.nextname.current++ + "]";
  7649. }),
  7650. websocket_sock_ops: {
  7651. createPeer: (function(sock, addr, port) {
  7652. var ws;
  7653. if (typeof addr === "object") {
  7654. ws = addr;
  7655. addr = null;
  7656. port = null;
  7657. }
  7658. if (ws) {
  7659. if (ws._socket) {
  7660. addr = ws._socket.remoteAddress;
  7661. port = ws._socket.remotePort;
  7662. } else {
  7663. var result = /ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);
  7664. if (!result) {
  7665. throw new Error("WebSocket URL must be in the format ws(s)://address:port");
  7666. }
  7667. addr = result[1];
  7668. port = parseInt(result[2], 10);
  7669. }
  7670. } else {
  7671. try {
  7672. var runtimeConfig = Module["websocket"] && "object" === typeof Module["websocket"];
  7673. var url = "ws:#".replace("#", "//");
  7674. if (runtimeConfig) {
  7675. if ("string" === typeof Module["websocket"]["url"]) {
  7676. url = Module["websocket"]["url"];
  7677. }
  7678. }
  7679. if (url === "ws://" || url === "wss://") {
  7680. var parts = addr.split("/");
  7681. url = url + parts[0] + ":" + port + "/" + parts.slice(1).join("/");
  7682. }
  7683. var subProtocols = "binary";
  7684. if (runtimeConfig) {
  7685. if ("string" === typeof Module["websocket"]["subprotocol"]) {
  7686. subProtocols = Module["websocket"]["subprotocol"];
  7687. }
  7688. }
  7689. subProtocols = subProtocols.replace(/^ +| +$/g, "").split(/ *, */);
  7690. var opts = ENVIRONMENT_IS_NODE ? {
  7691. "protocol": subProtocols.toString()
  7692. } : subProtocols;
  7693. if (runtimeConfig && null === Module["websocket"]["subprotocol"]) {
  7694. subProtocols = "null";
  7695. opts = undefined;
  7696. }
  7697. var WebSocketConstructor;
  7698. if (ENVIRONMENT_IS_NODE) {
  7699. WebSocketConstructor = require("ws");
  7700. } else if (ENVIRONMENT_IS_WEB) {
  7701. WebSocketConstructor = window["WebSocket"];
  7702. } else {
  7703. WebSocketConstructor = WebSocket;
  7704. }
  7705. ws = new WebSocketConstructor(url, opts);
  7706. ws.binaryType = "arraybuffer";
  7707. } catch (e) {
  7708. throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH);
  7709. }
  7710. }
  7711. var peer = {
  7712. addr: addr,
  7713. port: port,
  7714. socket: ws,
  7715. dgram_send_queue: []
  7716. };
  7717. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7718. SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
  7719. if (sock.type === 2 && typeof sock.sport !== "undefined") {
  7720. 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 ]));
  7721. }
  7722. return peer;
  7723. }),
  7724. getPeer: (function(sock, addr, port) {
  7725. return sock.peers[addr + ":" + port];
  7726. }),
  7727. addPeer: (function(sock, peer) {
  7728. sock.peers[peer.addr + ":" + peer.port] = peer;
  7729. }),
  7730. removePeer: (function(sock, peer) {
  7731. delete sock.peers[peer.addr + ":" + peer.port];
  7732. }),
  7733. handlePeerEvents: (function(sock, peer) {
  7734. var first = true;
  7735. var handleOpen = (function() {
  7736. Module["websocket"].emit("open", sock.stream.fd);
  7737. try {
  7738. var queued = peer.dgram_send_queue.shift();
  7739. while (queued) {
  7740. peer.socket.send(queued);
  7741. queued = peer.dgram_send_queue.shift();
  7742. }
  7743. } catch (e) {
  7744. peer.socket.close();
  7745. }
  7746. });
  7747. function handleMessage(data) {
  7748. assert(typeof data !== "string" && data.byteLength !== undefined);
  7749. if (data.byteLength == 0) {
  7750. return;
  7751. }
  7752. data = new Uint8Array(data);
  7753. var wasfirst = first;
  7754. first = false;
  7755. 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)) {
  7756. var newport = data[8] << 8 | data[9];
  7757. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7758. peer.port = newport;
  7759. SOCKFS.websocket_sock_ops.addPeer(sock, peer);
  7760. return;
  7761. }
  7762. sock.recv_queue.push({
  7763. addr: peer.addr,
  7764. port: peer.port,
  7765. data: data
  7766. });
  7767. Module["websocket"].emit("message", sock.stream.fd);
  7768. }
  7769. if (ENVIRONMENT_IS_NODE) {
  7770. peer.socket.on("open", handleOpen);
  7771. peer.socket.on("message", (function(data, flags) {
  7772. if (!flags.binary) {
  7773. return;
  7774. }
  7775. handleMessage((new Uint8Array(data)).buffer);
  7776. }));
  7777. peer.socket.on("close", (function() {
  7778. Module["websocket"].emit("close", sock.stream.fd);
  7779. }));
  7780. peer.socket.on("error", (function(error) {
  7781. sock.error = ERRNO_CODES.ECONNREFUSED;
  7782. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7783. }));
  7784. } else {
  7785. peer.socket.onopen = handleOpen;
  7786. peer.socket.onclose = (function() {
  7787. Module["websocket"].emit("close", sock.stream.fd);
  7788. });
  7789. peer.socket.onmessage = function peer_socket_onmessage(event) {
  7790. handleMessage(event.data);
  7791. };
  7792. peer.socket.onerror = (function(error) {
  7793. sock.error = ERRNO_CODES.ECONNREFUSED;
  7794. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "ECONNREFUSED: Connection refused" ]);
  7795. });
  7796. }
  7797. }),
  7798. poll: (function(sock) {
  7799. if (sock.type === 1 && sock.server) {
  7800. return sock.pending.length ? 64 | 1 : 0;
  7801. }
  7802. var mask = 0;
  7803. var dest = sock.type === 1 ? SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) : null;
  7804. if (sock.recv_queue.length || !dest || dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7805. mask |= 64 | 1;
  7806. }
  7807. if (!dest || dest && dest.socket.readyState === dest.socket.OPEN) {
  7808. mask |= 4;
  7809. }
  7810. if (dest && dest.socket.readyState === dest.socket.CLOSING || dest && dest.socket.readyState === dest.socket.CLOSED) {
  7811. mask |= 16;
  7812. }
  7813. return mask;
  7814. }),
  7815. ioctl: (function(sock, request, arg) {
  7816. switch (request) {
  7817. case 21531:
  7818. var bytes = 0;
  7819. if (sock.recv_queue.length) {
  7820. bytes = sock.recv_queue[0].data.length;
  7821. }
  7822. HEAP32[arg >> 2] = bytes;
  7823. return 0;
  7824. default:
  7825. return ERRNO_CODES.EINVAL;
  7826. }
  7827. }),
  7828. close: (function(sock) {
  7829. if (sock.server) {
  7830. try {
  7831. sock.server.close();
  7832. } catch (e) {}
  7833. sock.server = null;
  7834. }
  7835. var peers = Object.keys(sock.peers);
  7836. for (var i = 0; i < peers.length; i++) {
  7837. var peer = sock.peers[peers[i]];
  7838. try {
  7839. peer.socket.close();
  7840. } catch (e) {}
  7841. SOCKFS.websocket_sock_ops.removePeer(sock, peer);
  7842. }
  7843. return 0;
  7844. }),
  7845. bind: (function(sock, addr, port) {
  7846. if (typeof sock.saddr !== "undefined" || typeof sock.sport !== "undefined") {
  7847. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7848. }
  7849. sock.saddr = addr;
  7850. sock.sport = port;
  7851. if (sock.type === 2) {
  7852. if (sock.server) {
  7853. sock.server.close();
  7854. sock.server = null;
  7855. }
  7856. try {
  7857. sock.sock_ops.listen(sock, 0);
  7858. } catch (e) {
  7859. if (!(e instanceof FS.ErrnoError)) throw e;
  7860. if (e.errno !== ERRNO_CODES.EOPNOTSUPP) throw e;
  7861. }
  7862. }
  7863. }),
  7864. connect: (function(sock, addr, port) {
  7865. if (sock.server) {
  7866. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7867. }
  7868. if (typeof sock.daddr !== "undefined" && typeof sock.dport !== "undefined") {
  7869. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7870. if (dest) {
  7871. if (dest.socket.readyState === dest.socket.CONNECTING) {
  7872. throw new FS.ErrnoError(ERRNO_CODES.EALREADY);
  7873. } else {
  7874. throw new FS.ErrnoError(ERRNO_CODES.EISCONN);
  7875. }
  7876. }
  7877. }
  7878. var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7879. sock.daddr = peer.addr;
  7880. sock.dport = peer.port;
  7881. throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS);
  7882. }),
  7883. listen: (function(sock, backlog) {
  7884. if (!ENVIRONMENT_IS_NODE) {
  7885. throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
  7886. }
  7887. if (sock.server) {
  7888. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7889. }
  7890. var WebSocketServer = require("ws").Server;
  7891. var host = sock.saddr;
  7892. sock.server = new WebSocketServer({
  7893. host: host,
  7894. port: sock.sport
  7895. });
  7896. Module["websocket"].emit("listen", sock.stream.fd);
  7897. sock.server.on("connection", (function(ws) {
  7898. if (sock.type === 1) {
  7899. var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
  7900. var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
  7901. newsock.daddr = peer.addr;
  7902. newsock.dport = peer.port;
  7903. sock.pending.push(newsock);
  7904. Module["websocket"].emit("connection", newsock.stream.fd);
  7905. } else {
  7906. SOCKFS.websocket_sock_ops.createPeer(sock, ws);
  7907. Module["websocket"].emit("connection", sock.stream.fd);
  7908. }
  7909. }));
  7910. sock.server.on("closed", (function() {
  7911. Module["websocket"].emit("close", sock.stream.fd);
  7912. sock.server = null;
  7913. }));
  7914. sock.server.on("error", (function(error) {
  7915. sock.error = ERRNO_CODES.EHOSTUNREACH;
  7916. Module["websocket"].emit("error", [ sock.stream.fd, sock.error, "EHOSTUNREACH: Host is unreachable" ]);
  7917. }));
  7918. }),
  7919. accept: (function(listensock) {
  7920. if (!listensock.server) {
  7921. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7922. }
  7923. var newsock = listensock.pending.shift();
  7924. newsock.stream.flags = listensock.stream.flags;
  7925. return newsock;
  7926. }),
  7927. getname: (function(sock, peer) {
  7928. var addr, port;
  7929. if (peer) {
  7930. if (sock.daddr === undefined || sock.dport === undefined) {
  7931. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7932. }
  7933. addr = sock.daddr;
  7934. port = sock.dport;
  7935. } else {
  7936. addr = sock.saddr || 0;
  7937. port = sock.sport || 0;
  7938. }
  7939. return {
  7940. addr: addr,
  7941. port: port
  7942. };
  7943. }),
  7944. sendmsg: (function(sock, buffer, offset, length, addr, port) {
  7945. if (sock.type === 2) {
  7946. if (addr === undefined || port === undefined) {
  7947. addr = sock.daddr;
  7948. port = sock.dport;
  7949. }
  7950. if (addr === undefined || port === undefined) {
  7951. throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ);
  7952. }
  7953. } else {
  7954. addr = sock.daddr;
  7955. port = sock.dport;
  7956. }
  7957. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
  7958. if (sock.type === 1) {
  7959. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7960. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7961. } else if (dest.socket.readyState === dest.socket.CONNECTING) {
  7962. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  7963. }
  7964. }
  7965. if (ArrayBuffer.isView(buffer)) {
  7966. offset += buffer.byteOffset;
  7967. buffer = buffer.buffer;
  7968. }
  7969. var data;
  7970. data = buffer.slice(offset, offset + length);
  7971. if (sock.type === 2) {
  7972. if (!dest || dest.socket.readyState !== dest.socket.OPEN) {
  7973. if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7974. dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
  7975. }
  7976. dest.dgram_send_queue.push(data);
  7977. return length;
  7978. }
  7979. }
  7980. try {
  7981. dest.socket.send(data);
  7982. return length;
  7983. } catch (e) {
  7984. throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
  7985. }
  7986. }),
  7987. recvmsg: (function(sock, length) {
  7988. if (sock.type === 1 && sock.server) {
  7989. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7990. }
  7991. var queued = sock.recv_queue.shift();
  7992. if (!queued) {
  7993. if (sock.type === 1) {
  7994. var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
  7995. if (!dest) {
  7996. throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
  7997. } else if (dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
  7998. return null;
  7999. } else {
  8000. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  8001. }
  8002. } else {
  8003. throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
  8004. }
  8005. }
  8006. var queuedLength = queued.data.byteLength || queued.data.length;
  8007. var queuedOffset = queued.data.byteOffset || 0;
  8008. var queuedBuffer = queued.data.buffer || queued.data;
  8009. var bytesRead = Math.min(length, queuedLength);
  8010. var res = {
  8011. buffer: new Uint8Array(queuedBuffer, queuedOffset, bytesRead),
  8012. addr: queued.addr,
  8013. port: queued.port
  8014. };
  8015. if (sock.type === 1 && bytesRead < queuedLength) {
  8016. var bytesRemaining = queuedLength - bytesRead;
  8017. queued.data = new Uint8Array(queuedBuffer, queuedOffset + bytesRead, bytesRemaining);
  8018. sock.recv_queue.unshift(queued);
  8019. }
  8020. return res;
  8021. })
  8022. }
  8023. };
  8024. function __inet_pton4_raw(str) {
  8025. var b = str.split(".");
  8026. for (var i = 0; i < 4; i++) {
  8027. var tmp = Number(b[i]);
  8028. if (isNaN(tmp)) return null;
  8029. b[i] = tmp;
  8030. }
  8031. return (b[0] | b[1] << 8 | b[2] << 16 | b[3] << 24) >>> 0;
  8032. }
  8033. function __inet_pton6_raw(str) {
  8034. var words;
  8035. var w, offset, z;
  8036. 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;
  8037. var parts = [];
  8038. if (!valid6regx.test(str)) {
  8039. return null;
  8040. }
  8041. if (str === "::") {
  8042. return [ 0, 0, 0, 0, 0, 0, 0, 0 ];
  8043. }
  8044. if (str.indexOf("::") === 0) {
  8045. str = str.replace("::", "Z:");
  8046. } else {
  8047. str = str.replace("::", ":Z:");
  8048. }
  8049. if (str.indexOf(".") > 0) {
  8050. str = str.replace(new RegExp("[.]", "g"), ":");
  8051. words = str.split(":");
  8052. words[words.length - 4] = parseInt(words[words.length - 4]) + parseInt(words[words.length - 3]) * 256;
  8053. words[words.length - 3] = parseInt(words[words.length - 2]) + parseInt(words[words.length - 1]) * 256;
  8054. words = words.slice(0, words.length - 2);
  8055. } else {
  8056. words = str.split(":");
  8057. }
  8058. offset = 0;
  8059. z = 0;
  8060. for (w = 0; w < words.length; w++) {
  8061. if (typeof words[w] === "string") {
  8062. if (words[w] === "Z") {
  8063. for (z = 0; z < 8 - words.length + 1; z++) {
  8064. parts[w + z] = 0;
  8065. }
  8066. offset = z - 1;
  8067. } else {
  8068. parts[w + offset] = _htons(parseInt(words[w], 16));
  8069. }
  8070. } else {
  8071. parts[w + offset] = words[w];
  8072. }
  8073. }
  8074. return [ parts[1] << 16 | parts[0], parts[3] << 16 | parts[2], parts[5] << 16 | parts[4], parts[7] << 16 | parts[6] ];
  8075. }
  8076. var DNS = {
  8077. address_map: {
  8078. id: 1,
  8079. addrs: {},
  8080. names: {}
  8081. },
  8082. lookup_name: (function(name) {
  8083. var res = __inet_pton4_raw(name);
  8084. if (res !== null) {
  8085. return name;
  8086. }
  8087. res = __inet_pton6_raw(name);
  8088. if (res !== null) {
  8089. return name;
  8090. }
  8091. var addr;
  8092. if (DNS.address_map.addrs[name]) {
  8093. addr = DNS.address_map.addrs[name];
  8094. } else {
  8095. var id = DNS.address_map.id++;
  8096. assert(id < 65535, "exceeded max address mappings of 65535");
  8097. addr = "172.29." + (id & 255) + "." + (id & 65280);
  8098. DNS.address_map.names[addr] = name;
  8099. DNS.address_map.addrs[name] = addr;
  8100. }
  8101. return addr;
  8102. }),
  8103. lookup_addr: (function(addr) {
  8104. if (DNS.address_map.names[addr]) {
  8105. return DNS.address_map.names[addr];
  8106. }
  8107. return null;
  8108. })
  8109. };
  8110. function __inet_ntop4_raw(addr) {
  8111. return (addr & 255) + "." + (addr >> 8 & 255) + "." + (addr >> 16 & 255) + "." + (addr >> 24 & 255);
  8112. }
  8113. function __inet_ntop6_raw(ints) {
  8114. var str = "";
  8115. var word = 0;
  8116. var longest = 0;
  8117. var lastzero = 0;
  8118. var zstart = 0;
  8119. var len = 0;
  8120. var i = 0;
  8121. 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 ];
  8122. var hasipv4 = true;
  8123. var v4part = "";
  8124. for (i = 0; i < 5; i++) {
  8125. if (parts[i] !== 0) {
  8126. hasipv4 = false;
  8127. break;
  8128. }
  8129. }
  8130. if (hasipv4) {
  8131. v4part = __inet_ntop4_raw(parts[6] | parts[7] << 16);
  8132. if (parts[5] === -1) {
  8133. str = "::ffff:";
  8134. str += v4part;
  8135. return str;
  8136. }
  8137. if (parts[5] === 0) {
  8138. str = "::";
  8139. if (v4part === "0.0.0.0") v4part = "";
  8140. if (v4part === "0.0.0.1") v4part = "1";
  8141. str += v4part;
  8142. return str;
  8143. }
  8144. }
  8145. for (word = 0; word < 8; word++) {
  8146. if (parts[word] === 0) {
  8147. if (word - lastzero > 1) {
  8148. len = 0;
  8149. }
  8150. lastzero = word;
  8151. len++;
  8152. }
  8153. if (len > longest) {
  8154. longest = len;
  8155. zstart = word - longest + 1;
  8156. }
  8157. }
  8158. for (word = 0; word < 8; word++) {
  8159. if (longest > 1) {
  8160. if (parts[word] === 0 && word >= zstart && word < zstart + longest) {
  8161. if (word === zstart) {
  8162. str += ":";
  8163. if (zstart === 0) str += ":";
  8164. }
  8165. continue;
  8166. }
  8167. }
  8168. str += Number(_ntohs(parts[word] & 65535)).toString(16);
  8169. str += word < 7 ? ":" : "";
  8170. }
  8171. return str;
  8172. }
  8173. function __read_sockaddr(sa, salen) {
  8174. var family = HEAP16[sa >> 1];
  8175. var port = _ntohs(HEAP16[sa + 2 >> 1]);
  8176. var addr;
  8177. switch (family) {
  8178. case 2:
  8179. if (salen !== 16) {
  8180. return {
  8181. errno: ERRNO_CODES.EINVAL
  8182. };
  8183. }
  8184. addr = HEAP32[sa + 4 >> 2];
  8185. addr = __inet_ntop4_raw(addr);
  8186. break;
  8187. case 10:
  8188. if (salen !== 28) {
  8189. return {
  8190. errno: ERRNO_CODES.EINVAL
  8191. };
  8192. }
  8193. addr = [ HEAP32[sa + 8 >> 2], HEAP32[sa + 12 >> 2], HEAP32[sa + 16 >> 2], HEAP32[sa + 20 >> 2] ];
  8194. addr = __inet_ntop6_raw(addr);
  8195. break;
  8196. default:
  8197. return {
  8198. errno: ERRNO_CODES.EAFNOSUPPORT
  8199. };
  8200. }
  8201. return {
  8202. family: family,
  8203. addr: addr,
  8204. port: port
  8205. };
  8206. }
  8207. function __write_sockaddr(sa, family, addr, port) {
  8208. switch (family) {
  8209. case 2:
  8210. addr = __inet_pton4_raw(addr);
  8211. HEAP16[sa >> 1] = family;
  8212. HEAP32[sa + 4 >> 2] = addr;
  8213. HEAP16[sa + 2 >> 1] = _htons(port);
  8214. break;
  8215. case 10:
  8216. addr = __inet_pton6_raw(addr);
  8217. HEAP32[sa >> 2] = family;
  8218. HEAP32[sa + 8 >> 2] = addr[0];
  8219. HEAP32[sa + 12 >> 2] = addr[1];
  8220. HEAP32[sa + 16 >> 2] = addr[2];
  8221. HEAP32[sa + 20 >> 2] = addr[3];
  8222. HEAP16[sa + 2 >> 1] = _htons(port);
  8223. HEAP32[sa + 4 >> 2] = 0;
  8224. HEAP32[sa + 24 >> 2] = 0;
  8225. break;
  8226. default:
  8227. return {
  8228. errno: ERRNO_CODES.EAFNOSUPPORT
  8229. };
  8230. }
  8231. return {};
  8232. }
  8233. function ___syscall102(which, varargs) {
  8234. SYSCALLS.varargs = varargs;
  8235. try {
  8236. var call = SYSCALLS.get(), socketvararg = SYSCALLS.get();
  8237. SYSCALLS.varargs = socketvararg;
  8238. switch (call) {
  8239. case 1:
  8240. {
  8241. var domain = SYSCALLS.get(), type = SYSCALLS.get(), protocol = SYSCALLS.get();
  8242. var sock = SOCKFS.createSocket(domain, type, protocol);
  8243. assert(sock.stream.fd < 64);
  8244. return sock.stream.fd;
  8245. }
  8246. case 2:
  8247. {
  8248. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8249. sock.sock_ops.bind(sock, info.addr, info.port);
  8250. return 0;
  8251. }
  8252. case 3:
  8253. {
  8254. var sock = SYSCALLS.getSocketFromFD(), info = SYSCALLS.getSocketAddress();
  8255. sock.sock_ops.connect(sock, info.addr, info.port);
  8256. return 0;
  8257. }
  8258. case 4:
  8259. {
  8260. var sock = SYSCALLS.getSocketFromFD(), backlog = SYSCALLS.get();
  8261. sock.sock_ops.listen(sock, backlog);
  8262. return 0;
  8263. }
  8264. case 5:
  8265. {
  8266. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8267. var newsock = sock.sock_ops.accept(sock);
  8268. if (addr) {
  8269. var res = __write_sockaddr(addr, newsock.family, DNS.lookup_name(newsock.daddr), newsock.dport);
  8270. assert(!res.errno);
  8271. }
  8272. return newsock.stream.fd;
  8273. }
  8274. case 6:
  8275. {
  8276. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8277. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.saddr || "0.0.0.0"), sock.sport);
  8278. assert(!res.errno);
  8279. return 0;
  8280. }
  8281. case 7:
  8282. {
  8283. var sock = SYSCALLS.getSocketFromFD(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8284. if (!sock.daddr) {
  8285. return -ERRNO_CODES.ENOTCONN;
  8286. }
  8287. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(sock.daddr), sock.dport);
  8288. assert(!res.errno);
  8289. return 0;
  8290. }
  8291. case 11:
  8292. {
  8293. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), length = SYSCALLS.get(), flags = SYSCALLS.get(), dest = SYSCALLS.getSocketAddress(true);
  8294. if (!dest) {
  8295. return FS.write(sock.stream, HEAP8, message, length);
  8296. } else {
  8297. return sock.sock_ops.sendmsg(sock, HEAP8, message, length, dest.addr, dest.port);
  8298. }
  8299. }
  8300. case 12:
  8301. {
  8302. var sock = SYSCALLS.getSocketFromFD(), buf = SYSCALLS.get(), len = SYSCALLS.get(), flags = SYSCALLS.get(), addr = SYSCALLS.get(), addrlen = SYSCALLS.get();
  8303. var msg = sock.sock_ops.recvmsg(sock, len);
  8304. if (!msg) return 0;
  8305. if (addr) {
  8306. var res = __write_sockaddr(addr, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8307. assert(!res.errno);
  8308. }
  8309. HEAPU8.set(msg.buffer, buf);
  8310. return msg.buffer.byteLength;
  8311. }
  8312. case 14:
  8313. {
  8314. return -ERRNO_CODES.ENOPROTOOPT;
  8315. }
  8316. case 15:
  8317. {
  8318. var sock = SYSCALLS.getSocketFromFD(), level = SYSCALLS.get(), optname = SYSCALLS.get(), optval = SYSCALLS.get(), optlen = SYSCALLS.get();
  8319. if (level === 1) {
  8320. if (optname === 4) {
  8321. HEAP32[optval >> 2] = sock.error;
  8322. HEAP32[optlen >> 2] = 4;
  8323. sock.error = null;
  8324. return 0;
  8325. }
  8326. }
  8327. return -ERRNO_CODES.ENOPROTOOPT;
  8328. }
  8329. case 16:
  8330. {
  8331. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8332. var iov = HEAP32[message + 8 >> 2];
  8333. var num = HEAP32[message + 12 >> 2];
  8334. var addr, port;
  8335. var name = HEAP32[message >> 2];
  8336. var namelen = HEAP32[message + 4 >> 2];
  8337. if (name) {
  8338. var info = __read_sockaddr(name, namelen);
  8339. if (info.errno) return -info.errno;
  8340. port = info.port;
  8341. addr = DNS.lookup_addr(info.addr) || info.addr;
  8342. }
  8343. var total = 0;
  8344. for (var i = 0; i < num; i++) {
  8345. total += HEAP32[iov + (8 * i + 4) >> 2];
  8346. }
  8347. var view = new Uint8Array(total);
  8348. var offset = 0;
  8349. for (var i = 0; i < num; i++) {
  8350. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8351. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8352. for (var j = 0; j < iovlen; j++) {
  8353. view[offset++] = HEAP8[iovbase + j >> 0];
  8354. }
  8355. }
  8356. return sock.sock_ops.sendmsg(sock, view, 0, total, addr, port);
  8357. }
  8358. case 17:
  8359. {
  8360. var sock = SYSCALLS.getSocketFromFD(), message = SYSCALLS.get(), flags = SYSCALLS.get();
  8361. var iov = HEAP32[message + 8 >> 2];
  8362. var num = HEAP32[message + 12 >> 2];
  8363. var total = 0;
  8364. for (var i = 0; i < num; i++) {
  8365. total += HEAP32[iov + (8 * i + 4) >> 2];
  8366. }
  8367. var msg = sock.sock_ops.recvmsg(sock, total);
  8368. if (!msg) return 0;
  8369. var name = HEAP32[message >> 2];
  8370. if (name) {
  8371. var res = __write_sockaddr(name, sock.family, DNS.lookup_name(msg.addr), msg.port);
  8372. assert(!res.errno);
  8373. }
  8374. var bytesRead = 0;
  8375. var bytesRemaining = msg.buffer.byteLength;
  8376. for (var i = 0; bytesRemaining > 0 && i < num; i++) {
  8377. var iovbase = HEAP32[iov + (8 * i + 0) >> 2];
  8378. var iovlen = HEAP32[iov + (8 * i + 4) >> 2];
  8379. if (!iovlen) {
  8380. continue;
  8381. }
  8382. var length = Math.min(iovlen, bytesRemaining);
  8383. var buf = msg.buffer.subarray(bytesRead, bytesRead + length);
  8384. HEAPU8.set(buf, iovbase + bytesRead);
  8385. bytesRead += length;
  8386. bytesRemaining -= length;
  8387. }
  8388. return bytesRead;
  8389. }
  8390. default:
  8391. abort("unsupported socketcall syscall " + call);
  8392. }
  8393. } catch (e) {
  8394. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8395. return -e.errno;
  8396. }
  8397. }
  8398. function ___syscall122(which, varargs) {
  8399. SYSCALLS.varargs = varargs;
  8400. try {
  8401. var buf = SYSCALLS.get();
  8402. if (!buf) return -ERRNO_CODES.EFAULT;
  8403. var layout = {
  8404. "sysname": 0,
  8405. "nodename": 65,
  8406. "domainname": 325,
  8407. "machine": 260,
  8408. "version": 195,
  8409. "release": 130,
  8410. "__size__": 390
  8411. };
  8412. function copyString(element, value) {
  8413. var offset = layout[element];
  8414. writeAsciiToMemory(value, buf + offset);
  8415. }
  8416. copyString("sysname", "Emscripten");
  8417. copyString("nodename", "emscripten");
  8418. copyString("release", "1.0");
  8419. copyString("version", "#1");
  8420. copyString("machine", "x86-JS");
  8421. return 0;
  8422. } catch (e) {
  8423. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8424. return -e.errno;
  8425. }
  8426. }
  8427. function ___syscall140(which, varargs) {
  8428. SYSCALLS.varargs = varargs;
  8429. try {
  8430. var stream = SYSCALLS.getStreamFromFD(), offset_high = SYSCALLS.get(), offset_low = SYSCALLS.get(), result = SYSCALLS.get(), whence = SYSCALLS.get();
  8431. var offset = offset_low;
  8432. FS.llseek(stream, offset, whence);
  8433. HEAP32[result >> 2] = stream.position;
  8434. if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null;
  8435. return 0;
  8436. } catch (e) {
  8437. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8438. return -e.errno;
  8439. }
  8440. }
  8441. function ___syscall142(which, varargs) {
  8442. SYSCALLS.varargs = varargs;
  8443. try {
  8444. var nfds = SYSCALLS.get(), readfds = SYSCALLS.get(), writefds = SYSCALLS.get(), exceptfds = SYSCALLS.get(), timeout = SYSCALLS.get();
  8445. assert(nfds <= 64, "nfds must be less than or equal to 64");
  8446. assert(!exceptfds, "exceptfds not supported");
  8447. var total = 0;
  8448. var srcReadLow = readfds ? HEAP32[readfds >> 2] : 0, srcReadHigh = readfds ? HEAP32[readfds + 4 >> 2] : 0;
  8449. var srcWriteLow = writefds ? HEAP32[writefds >> 2] : 0, srcWriteHigh = writefds ? HEAP32[writefds + 4 >> 2] : 0;
  8450. var srcExceptLow = exceptfds ? HEAP32[exceptfds >> 2] : 0, srcExceptHigh = exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0;
  8451. var dstReadLow = 0, dstReadHigh = 0;
  8452. var dstWriteLow = 0, dstWriteHigh = 0;
  8453. var dstExceptLow = 0, dstExceptHigh = 0;
  8454. var allLow = (readfds ? HEAP32[readfds >> 2] : 0) | (writefds ? HEAP32[writefds >> 2] : 0) | (exceptfds ? HEAP32[exceptfds >> 2] : 0);
  8455. var allHigh = (readfds ? HEAP32[readfds + 4 >> 2] : 0) | (writefds ? HEAP32[writefds + 4 >> 2] : 0) | (exceptfds ? HEAP32[exceptfds + 4 >> 2] : 0);
  8456. function check(fd, low, high, val) {
  8457. return fd < 32 ? low & val : high & val;
  8458. }
  8459. for (var fd = 0; fd < nfds; fd++) {
  8460. var mask = 1 << fd % 32;
  8461. if (!check(fd, allLow, allHigh, mask)) {
  8462. continue;
  8463. }
  8464. var stream = FS.getStream(fd);
  8465. if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF);
  8466. var flags = SYSCALLS.DEFAULT_POLLMASK;
  8467. if (stream.stream_ops.poll) {
  8468. flags = stream.stream_ops.poll(stream);
  8469. }
  8470. if (flags & 1 && check(fd, srcReadLow, srcReadHigh, mask)) {
  8471. fd < 32 ? dstReadLow = dstReadLow | mask : dstReadHigh = dstReadHigh | mask;
  8472. total++;
  8473. }
  8474. if (flags & 4 && check(fd, srcWriteLow, srcWriteHigh, mask)) {
  8475. fd < 32 ? dstWriteLow = dstWriteLow | mask : dstWriteHigh = dstWriteHigh | mask;
  8476. total++;
  8477. }
  8478. if (flags & 2 && check(fd, srcExceptLow, srcExceptHigh, mask)) {
  8479. fd < 32 ? dstExceptLow = dstExceptLow | mask : dstExceptHigh = dstExceptHigh | mask;
  8480. total++;
  8481. }
  8482. }
  8483. if (readfds) {
  8484. HEAP32[readfds >> 2] = dstReadLow;
  8485. HEAP32[readfds + 4 >> 2] = dstReadHigh;
  8486. }
  8487. if (writefds) {
  8488. HEAP32[writefds >> 2] = dstWriteLow;
  8489. HEAP32[writefds + 4 >> 2] = dstWriteHigh;
  8490. }
  8491. if (exceptfds) {
  8492. HEAP32[exceptfds >> 2] = dstExceptLow;
  8493. HEAP32[exceptfds + 4 >> 2] = dstExceptHigh;
  8494. }
  8495. return total;
  8496. } catch (e) {
  8497. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8498. return -e.errno;
  8499. }
  8500. }
  8501. function ___syscall145(which, varargs) {
  8502. SYSCALLS.varargs = varargs;
  8503. try {
  8504. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8505. return SYSCALLS.doReadv(stream, iov, iovcnt);
  8506. } catch (e) {
  8507. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8508. return -e.errno;
  8509. }
  8510. }
  8511. function ___syscall146(which, varargs) {
  8512. SYSCALLS.varargs = varargs;
  8513. try {
  8514. var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get();
  8515. return SYSCALLS.doWritev(stream, iov, iovcnt);
  8516. } catch (e) {
  8517. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8518. return -e.errno;
  8519. }
  8520. }
  8521. function ___syscall15(which, varargs) {
  8522. SYSCALLS.varargs = varargs;
  8523. try {
  8524. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8525. FS.chmod(path, mode);
  8526. return 0;
  8527. } catch (e) {
  8528. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8529. return -e.errno;
  8530. }
  8531. }
  8532. function ___syscall183(which, varargs) {
  8533. SYSCALLS.varargs = varargs;
  8534. try {
  8535. var buf = SYSCALLS.get(), size = SYSCALLS.get();
  8536. if (size === 0) return -ERRNO_CODES.EINVAL;
  8537. var cwd = FS.cwd();
  8538. var cwdLengthInBytes = lengthBytesUTF8(cwd);
  8539. if (size < cwdLengthInBytes + 1) return -ERRNO_CODES.ERANGE;
  8540. stringToUTF8(cwd, buf, size);
  8541. return buf;
  8542. } catch (e) {
  8543. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8544. return -e.errno;
  8545. }
  8546. }
  8547. function ___syscall192(which, varargs) {
  8548. SYSCALLS.varargs = varargs;
  8549. try {
  8550. var addr = SYSCALLS.get(), len = SYSCALLS.get(), prot = SYSCALLS.get(), flags = SYSCALLS.get(), fd = SYSCALLS.get(), off = SYSCALLS.get();
  8551. off <<= 12;
  8552. var ptr;
  8553. var allocated = false;
  8554. if (fd === -1) {
  8555. ptr = _memalign(PAGE_SIZE, len);
  8556. if (!ptr) return -ERRNO_CODES.ENOMEM;
  8557. _memset(ptr, 0, len);
  8558. allocated = true;
  8559. } else {
  8560. var info = FS.getStream(fd);
  8561. if (!info) return -ERRNO_CODES.EBADF;
  8562. var res = FS.mmap(info, HEAPU8, addr, len, off, prot, flags);
  8563. ptr = res.ptr;
  8564. allocated = res.allocated;
  8565. }
  8566. SYSCALLS.mappings[ptr] = {
  8567. malloc: ptr,
  8568. len: len,
  8569. allocated: allocated,
  8570. fd: fd,
  8571. flags: flags
  8572. };
  8573. return ptr;
  8574. } catch (e) {
  8575. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8576. return -e.errno;
  8577. }
  8578. }
  8579. function ___syscall193(which, varargs) {
  8580. SYSCALLS.varargs = varargs;
  8581. try {
  8582. var path = SYSCALLS.getStr(), zero = SYSCALLS.getZero(), length = SYSCALLS.get64();
  8583. FS.truncate(path, length);
  8584. return 0;
  8585. } catch (e) {
  8586. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8587. return -e.errno;
  8588. }
  8589. }
  8590. function ___syscall195(which, varargs) {
  8591. SYSCALLS.varargs = varargs;
  8592. try {
  8593. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8594. return SYSCALLS.doStat(FS.stat, path, buf);
  8595. } catch (e) {
  8596. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8597. return -e.errno;
  8598. }
  8599. }
  8600. function ___syscall196(which, varargs) {
  8601. SYSCALLS.varargs = varargs;
  8602. try {
  8603. var path = SYSCALLS.getStr(), buf = SYSCALLS.get();
  8604. return SYSCALLS.doStat(FS.lstat, path, buf);
  8605. } catch (e) {
  8606. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8607. return -e.errno;
  8608. }
  8609. }
  8610. function ___syscall197(which, varargs) {
  8611. SYSCALLS.varargs = varargs;
  8612. try {
  8613. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get();
  8614. return SYSCALLS.doStat(FS.stat, stream.path, buf);
  8615. } catch (e) {
  8616. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8617. return -e.errno;
  8618. }
  8619. }
  8620. function ___syscall202(which, varargs) {
  8621. SYSCALLS.varargs = varargs;
  8622. try {
  8623. return 0;
  8624. } catch (e) {
  8625. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8626. return -e.errno;
  8627. }
  8628. }
  8629. function ___syscall199() {
  8630. return ___syscall202.apply(null, arguments);
  8631. }
  8632. function ___syscall220(which, varargs) {
  8633. SYSCALLS.varargs = varargs;
  8634. try {
  8635. var stream = SYSCALLS.getStreamFromFD(), dirp = SYSCALLS.get(), count = SYSCALLS.get();
  8636. if (!stream.getdents) {
  8637. stream.getdents = FS.readdir(stream.path);
  8638. }
  8639. var pos = 0;
  8640. while (stream.getdents.length > 0 && pos + 268 <= count) {
  8641. var id;
  8642. var type;
  8643. var name = stream.getdents.pop();
  8644. if (name[0] === ".") {
  8645. id = 1;
  8646. type = 4;
  8647. } else {
  8648. var child = FS.lookupNode(stream.node, name);
  8649. id = child.id;
  8650. type = FS.isChrdev(child.mode) ? 2 : FS.isDir(child.mode) ? 4 : FS.isLink(child.mode) ? 10 : 8;
  8651. }
  8652. HEAP32[dirp + pos >> 2] = id;
  8653. HEAP32[dirp + pos + 4 >> 2] = stream.position;
  8654. HEAP16[dirp + pos + 8 >> 1] = 268;
  8655. HEAP8[dirp + pos + 10 >> 0] = type;
  8656. stringToUTF8(name, dirp + pos + 11, 256);
  8657. pos += 268;
  8658. }
  8659. return pos;
  8660. } catch (e) {
  8661. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8662. return -e.errno;
  8663. }
  8664. }
  8665. function ___syscall221(which, varargs) {
  8666. SYSCALLS.varargs = varargs;
  8667. try {
  8668. var stream = SYSCALLS.getStreamFromFD(), cmd = SYSCALLS.get();
  8669. switch (cmd) {
  8670. case 0:
  8671. {
  8672. var arg = SYSCALLS.get();
  8673. if (arg < 0) {
  8674. return -ERRNO_CODES.EINVAL;
  8675. }
  8676. var newStream;
  8677. newStream = FS.open(stream.path, stream.flags, 0, arg);
  8678. return newStream.fd;
  8679. }
  8680. case 1:
  8681. case 2:
  8682. return 0;
  8683. case 3:
  8684. return stream.flags;
  8685. case 4:
  8686. {
  8687. var arg = SYSCALLS.get();
  8688. stream.flags |= arg;
  8689. return 0;
  8690. }
  8691. case 12:
  8692. case 12:
  8693. {
  8694. var arg = SYSCALLS.get();
  8695. var offset = 0;
  8696. HEAP16[arg + offset >> 1] = 2;
  8697. return 0;
  8698. }
  8699. case 13:
  8700. case 14:
  8701. case 13:
  8702. case 14:
  8703. return 0;
  8704. case 16:
  8705. case 8:
  8706. return -ERRNO_CODES.EINVAL;
  8707. case 9:
  8708. ___setErrNo(ERRNO_CODES.EINVAL);
  8709. return -1;
  8710. default:
  8711. {
  8712. return -ERRNO_CODES.EINVAL;
  8713. }
  8714. }
  8715. } catch (e) {
  8716. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8717. return -e.errno;
  8718. }
  8719. }
  8720. function ___syscall268(which, varargs) {
  8721. SYSCALLS.varargs = varargs;
  8722. try {
  8723. var path = SYSCALLS.getStr(), size = SYSCALLS.get(), buf = SYSCALLS.get();
  8724. assert(size === 64);
  8725. HEAP32[buf + 4 >> 2] = 4096;
  8726. HEAP32[buf + 40 >> 2] = 4096;
  8727. HEAP32[buf + 8 >> 2] = 1e6;
  8728. HEAP32[buf + 12 >> 2] = 5e5;
  8729. HEAP32[buf + 16 >> 2] = 5e5;
  8730. HEAP32[buf + 20 >> 2] = FS.nextInode;
  8731. HEAP32[buf + 24 >> 2] = 1e6;
  8732. HEAP32[buf + 28 >> 2] = 42;
  8733. HEAP32[buf + 44 >> 2] = 2;
  8734. HEAP32[buf + 36 >> 2] = 255;
  8735. return 0;
  8736. } catch (e) {
  8737. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8738. return -e.errno;
  8739. }
  8740. }
  8741. function ___syscall3(which, varargs) {
  8742. SYSCALLS.varargs = varargs;
  8743. try {
  8744. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8745. return FS.read(stream, HEAP8, buf, count);
  8746. } catch (e) {
  8747. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8748. return -e.errno;
  8749. }
  8750. }
  8751. function ___syscall33(which, varargs) {
  8752. SYSCALLS.varargs = varargs;
  8753. try {
  8754. var path = SYSCALLS.getStr(), amode = SYSCALLS.get();
  8755. return SYSCALLS.doAccess(path, amode);
  8756. } catch (e) {
  8757. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8758. return -e.errno;
  8759. }
  8760. }
  8761. function ___syscall38(which, varargs) {
  8762. SYSCALLS.varargs = varargs;
  8763. try {
  8764. var old_path = SYSCALLS.getStr(), new_path = SYSCALLS.getStr();
  8765. FS.rename(old_path, new_path);
  8766. return 0;
  8767. } catch (e) {
  8768. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8769. return -e.errno;
  8770. }
  8771. }
  8772. function ___syscall39(which, varargs) {
  8773. SYSCALLS.varargs = varargs;
  8774. try {
  8775. var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
  8776. return SYSCALLS.doMkdir(path, mode);
  8777. } catch (e) {
  8778. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8779. return -e.errno;
  8780. }
  8781. }
  8782. function ___syscall4(which, varargs) {
  8783. SYSCALLS.varargs = varargs;
  8784. try {
  8785. var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get(), count = SYSCALLS.get();
  8786. return FS.write(stream, HEAP8, buf, count);
  8787. } catch (e) {
  8788. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8789. return -e.errno;
  8790. }
  8791. }
  8792. function ___syscall40(which, varargs) {
  8793. SYSCALLS.varargs = varargs;
  8794. try {
  8795. var path = SYSCALLS.getStr();
  8796. FS.rmdir(path);
  8797. return 0;
  8798. } catch (e) {
  8799. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8800. return -e.errno;
  8801. }
  8802. }
  8803. function ___syscall5(which, varargs) {
  8804. SYSCALLS.varargs = varargs;
  8805. try {
  8806. var pathname = SYSCALLS.getStr(), flags = SYSCALLS.get(), mode = SYSCALLS.get();
  8807. var stream = FS.open(pathname, flags, mode);
  8808. return stream.fd;
  8809. } catch (e) {
  8810. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8811. return -e.errno;
  8812. }
  8813. }
  8814. function ___syscall54(which, varargs) {
  8815. SYSCALLS.varargs = varargs;
  8816. try {
  8817. var stream = SYSCALLS.getStreamFromFD(), op = SYSCALLS.get();
  8818. switch (op) {
  8819. case 21509:
  8820. case 21505:
  8821. {
  8822. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8823. return 0;
  8824. }
  8825. case 21510:
  8826. case 21511:
  8827. case 21512:
  8828. case 21506:
  8829. case 21507:
  8830. case 21508:
  8831. {
  8832. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8833. return 0;
  8834. }
  8835. case 21519:
  8836. {
  8837. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8838. var argp = SYSCALLS.get();
  8839. HEAP32[argp >> 2] = 0;
  8840. return 0;
  8841. }
  8842. case 21520:
  8843. {
  8844. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8845. return -ERRNO_CODES.EINVAL;
  8846. }
  8847. case 21531:
  8848. {
  8849. var argp = SYSCALLS.get();
  8850. return FS.ioctl(stream, op, argp);
  8851. }
  8852. case 21523:
  8853. {
  8854. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8855. return 0;
  8856. }
  8857. case 21524:
  8858. {
  8859. if (!stream.tty) return -ERRNO_CODES.ENOTTY;
  8860. return 0;
  8861. }
  8862. default:
  8863. abort("bad ioctl syscall " + op);
  8864. }
  8865. } catch (e) {
  8866. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8867. return -e.errno;
  8868. }
  8869. }
  8870. function ___syscall6(which, varargs) {
  8871. SYSCALLS.varargs = varargs;
  8872. try {
  8873. var stream = SYSCALLS.getStreamFromFD();
  8874. FS.close(stream);
  8875. return 0;
  8876. } catch (e) {
  8877. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8878. return -e.errno;
  8879. }
  8880. }
  8881. function ___syscall77(which, varargs) {
  8882. SYSCALLS.varargs = varargs;
  8883. try {
  8884. var who = SYSCALLS.get(), usage = SYSCALLS.get();
  8885. _memset(usage, 0, 136);
  8886. HEAP32[usage >> 2] = 1;
  8887. HEAP32[usage + 4 >> 2] = 2;
  8888. HEAP32[usage + 8 >> 2] = 3;
  8889. HEAP32[usage + 12 >> 2] = 4;
  8890. return 0;
  8891. } catch (e) {
  8892. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8893. return -e.errno;
  8894. }
  8895. }
  8896. function ___syscall85(which, varargs) {
  8897. SYSCALLS.varargs = varargs;
  8898. try {
  8899. var path = SYSCALLS.getStr(), buf = SYSCALLS.get(), bufsize = SYSCALLS.get();
  8900. return SYSCALLS.doReadlink(path, buf, bufsize);
  8901. } catch (e) {
  8902. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8903. return -e.errno;
  8904. }
  8905. }
  8906. function ___syscall9(which, varargs) {
  8907. SYSCALLS.varargs = varargs;
  8908. try {
  8909. var oldpath = SYSCALLS.get(), newpath = SYSCALLS.get();
  8910. return -ERRNO_CODES.EMLINK;
  8911. } catch (e) {
  8912. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8913. return -e.errno;
  8914. }
  8915. }
  8916. function ___syscall91(which, varargs) {
  8917. SYSCALLS.varargs = varargs;
  8918. try {
  8919. var addr = SYSCALLS.get(), len = SYSCALLS.get();
  8920. var info = SYSCALLS.mappings[addr];
  8921. if (!info) return 0;
  8922. if (len === info.len) {
  8923. var stream = FS.getStream(info.fd);
  8924. SYSCALLS.doMsync(addr, stream, len, info.flags);
  8925. FS.munmap(stream);
  8926. SYSCALLS.mappings[addr] = null;
  8927. if (info.allocated) {
  8928. _free(info.malloc);
  8929. }
  8930. }
  8931. return 0;
  8932. } catch (e) {
  8933. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);
  8934. return -e.errno;
  8935. }
  8936. }
  8937. function ___unlock() {}
  8938. function _abort() {
  8939. Module["abort"]();
  8940. }
  8941. function _atexit(func, arg) {
  8942. warnOnce("atexit() called, but NO_EXIT_RUNTIME is set, so atexits() will not be called. set NO_EXIT_RUNTIME to 0 (see the FAQ)");
  8943. __ATEXIT__.unshift({
  8944. func: func,
  8945. arg: arg
  8946. });
  8947. }
  8948. function _clock() {
  8949. if (_clock.start === undefined) _clock.start = Date.now();
  8950. return (Date.now() - _clock.start) * (1e6 / 1e3) | 0;
  8951. }
  8952. function _emscripten_get_now_res() {
  8953. if (ENVIRONMENT_IS_NODE) {
  8954. return 1;
  8955. } else if (typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  8956. return 1e3;
  8957. } else {
  8958. return 1e3 * 1e3;
  8959. }
  8960. }
  8961. function _emscripten_get_now() {
  8962. abort();
  8963. }
  8964. function _emscripten_get_now_is_monotonic() {
  8965. return ENVIRONMENT_IS_NODE || typeof dateNow !== "undefined" || (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"];
  8966. }
  8967. function _clock_getres(clk_id, res) {
  8968. var nsec;
  8969. if (clk_id === 0) {
  8970. nsec = 1e3 * 1e3;
  8971. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8972. nsec = _emscripten_get_now_res();
  8973. } else {
  8974. ___setErrNo(ERRNO_CODES.EINVAL);
  8975. return -1;
  8976. }
  8977. HEAP32[res >> 2] = nsec / 1e9 | 0;
  8978. HEAP32[res + 4 >> 2] = nsec;
  8979. return 0;
  8980. }
  8981. function _clock_gettime(clk_id, tp) {
  8982. var now;
  8983. if (clk_id === 0) {
  8984. now = Date.now();
  8985. } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) {
  8986. now = _emscripten_get_now();
  8987. } else {
  8988. ___setErrNo(ERRNO_CODES.EINVAL);
  8989. return -1;
  8990. }
  8991. HEAP32[tp >> 2] = now / 1e3 | 0;
  8992. HEAP32[tp + 4 >> 2] = now % 1e3 * 1e3 * 1e3 | 0;
  8993. return 0;
  8994. }
  8995. function _difftime(time1, time0) {
  8996. return time1 - time0;
  8997. }
  8998. var DLFCN = {
  8999. error: null,
  9000. errorMsg: null,
  9001. loadedLibs: {},
  9002. loadedLibNames: {}
  9003. };
  9004. function _dlclose(handle) {
  9005. if (!DLFCN.loadedLibs[handle]) {
  9006. DLFCN.errorMsg = "Tried to dlclose() unopened handle: " + handle;
  9007. return 1;
  9008. } else {
  9009. var lib_record = DLFCN.loadedLibs[handle];
  9010. if (--lib_record.refcount == 0) {
  9011. if (lib_record.module.cleanups) {
  9012. lib_record.module.cleanups.forEach((function(cleanup) {
  9013. cleanup();
  9014. }));
  9015. }
  9016. delete DLFCN.loadedLibNames[lib_record.name];
  9017. delete DLFCN.loadedLibs[handle];
  9018. }
  9019. return 0;
  9020. }
  9021. }
  9022. function _dlopen(filename, flag) {
  9023. abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking");
  9024. var searchpaths = [];
  9025. if (filename === 0) {
  9026. filename = "__self__";
  9027. } else {
  9028. var strfilename = Pointer_stringify(filename);
  9029. var isValidFile = (function(filename) {
  9030. var target = FS.findObject(filename);
  9031. return target && !target.isFolder && !target.isDevice;
  9032. });
  9033. if (isValidFile(strfilename)) {
  9034. filename = strfilename;
  9035. } else {
  9036. if (ENV["LD_LIBRARY_PATH"]) {
  9037. searchpaths = ENV["LD_LIBRARY_PATH"].split(":");
  9038. }
  9039. for (var ident in searchpaths) {
  9040. var searchfile = PATH.join2(searchpaths[ident], strfilename);
  9041. if (isValidFile(searchfile)) {
  9042. filename = searchfile;
  9043. break;
  9044. }
  9045. }
  9046. }
  9047. }
  9048. if (DLFCN.loadedLibNames[filename]) {
  9049. var handle = DLFCN.loadedLibNames[filename];
  9050. DLFCN.loadedLibs[handle].refcount++;
  9051. return handle;
  9052. }
  9053. var lib_module;
  9054. if (filename === "__self__") {
  9055. var handle = -1;
  9056. lib_module = Module;
  9057. } else {
  9058. if (Module["preloadedWasm"] !== undefined && Module["preloadedWasm"][filename] !== undefined) {
  9059. lib_module = Module["preloadedWasm"][filename];
  9060. } else {
  9061. var target = FS.findObject(filename);
  9062. if (!target || target.isFolder || target.isDevice) {
  9063. DLFCN.errorMsg = "Could not find dynamic lib: " + filename;
  9064. return 0;
  9065. }
  9066. FS.forceLoadFile(target);
  9067. try {
  9068. var lib_data = FS.readFile(filename, {
  9069. encoding: "binary"
  9070. });
  9071. if (!(lib_data instanceof Uint8Array)) lib_data = new Uint8Array(lib_data);
  9072. lib_module = loadWebAssemblyModule(lib_data);
  9073. } catch (e) {
  9074. err("Error in loading dynamic library: " + e);
  9075. DLFCN.errorMsg = "Could not evaluate dynamic lib: " + filename + "\n" + e;
  9076. return 0;
  9077. }
  9078. }
  9079. var handle = 1;
  9080. for (var key in DLFCN.loadedLibs) {
  9081. if (DLFCN.loadedLibs.hasOwnProperty(key)) handle++;
  9082. }
  9083. if (flag & 256) {
  9084. for (var ident in lib_module) {
  9085. if (lib_module.hasOwnProperty(ident)) {
  9086. if (ident[0] == "_") {
  9087. Module[ident] = lib_module[ident];
  9088. }
  9089. }
  9090. }
  9091. }
  9092. }
  9093. DLFCN.loadedLibs[handle] = {
  9094. refcount: 1,
  9095. name: filename,
  9096. module: lib_module
  9097. };
  9098. DLFCN.loadedLibNames[filename] = handle;
  9099. return handle;
  9100. }
  9101. function _dlsym(handle, symbol) {
  9102. symbol = Pointer_stringify(symbol);
  9103. if (!DLFCN.loadedLibs[handle]) {
  9104. DLFCN.errorMsg = "Tried to dlsym() from an unopened handle: " + handle;
  9105. return 0;
  9106. } else {
  9107. var lib = DLFCN.loadedLibs[handle];
  9108. symbol = "_" + symbol;
  9109. if (!lib.module.hasOwnProperty(symbol)) {
  9110. DLFCN.errorMsg = 'Tried to lookup unknown symbol "' + symbol + '" in dynamic lib: ' + lib.name;
  9111. return 0;
  9112. } else {
  9113. var result = lib.module[symbol];
  9114. if (typeof result === "function") {
  9115. return addFunction(result);
  9116. }
  9117. return result;
  9118. }
  9119. }
  9120. }
  9121. function _emscripten_set_main_loop_timing(mode, value) {
  9122. Browser.mainLoop.timingMode = mode;
  9123. Browser.mainLoop.timingValue = value;
  9124. if (!Browser.mainLoop.func) {
  9125. 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.");
  9126. return 1;
  9127. }
  9128. if (mode == 0) {
  9129. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setTimeout() {
  9130. var timeUntilNextTick = Math.max(0, Browser.mainLoop.tickStartTime + value - _emscripten_get_now()) | 0;
  9131. setTimeout(Browser.mainLoop.runner, timeUntilNextTick);
  9132. };
  9133. Browser.mainLoop.method = "timeout";
  9134. } else if (mode == 1) {
  9135. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_rAF() {
  9136. Browser.requestAnimationFrame(Browser.mainLoop.runner);
  9137. };
  9138. Browser.mainLoop.method = "rAF";
  9139. } else if (mode == 2) {
  9140. if (typeof setImmediate === "undefined") {
  9141. var setImmediates = [];
  9142. var emscriptenMainLoopMessageId = "setimmediate";
  9143. function Browser_setImmediate_messageHandler(event) {
  9144. if (event.data === emscriptenMainLoopMessageId || event.data.target === emscriptenMainLoopMessageId) {
  9145. event.stopPropagation();
  9146. setImmediates.shift()();
  9147. }
  9148. }
  9149. addEventListener("message", Browser_setImmediate_messageHandler, true);
  9150. setImmediate = function Browser_emulated_setImmediate(func) {
  9151. setImmediates.push(func);
  9152. if (ENVIRONMENT_IS_WORKER) {
  9153. if (Module["setImmediates"] === undefined) Module["setImmediates"] = [];
  9154. Module["setImmediates"].push(func);
  9155. postMessage({
  9156. target: emscriptenMainLoopMessageId
  9157. });
  9158. } else postMessage(emscriptenMainLoopMessageId, "*");
  9159. };
  9160. }
  9161. Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setImmediate() {
  9162. setImmediate(Browser.mainLoop.runner);
  9163. };
  9164. Browser.mainLoop.method = "immediate";
  9165. }
  9166. return 0;
  9167. }
  9168. function _emscripten_set_main_loop(func, fps, simulateInfiniteLoop, arg, noSetTiming) {
  9169. Module["noExitRuntime"] = true;
  9170. 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.");
  9171. Browser.mainLoop.func = func;
  9172. Browser.mainLoop.arg = arg;
  9173. var browserIterationFunc;
  9174. if (typeof arg !== "undefined") {
  9175. browserIterationFunc = (function() {
  9176. Module["dynCall_vi"](func, arg);
  9177. });
  9178. } else {
  9179. browserIterationFunc = (function() {
  9180. Module["dynCall_v"](func);
  9181. });
  9182. }
  9183. var thisMainLoopId = Browser.mainLoop.currentlyRunningMainloop;
  9184. Browser.mainLoop.runner = function Browser_mainLoop_runner() {
  9185. if (ABORT) return;
  9186. if (Browser.mainLoop.queue.length > 0) {
  9187. var start = Date.now();
  9188. var blocker = Browser.mainLoop.queue.shift();
  9189. blocker.func(blocker.arg);
  9190. if (Browser.mainLoop.remainingBlockers) {
  9191. var remaining = Browser.mainLoop.remainingBlockers;
  9192. var next = remaining % 1 == 0 ? remaining - 1 : Math.floor(remaining);
  9193. if (blocker.counted) {
  9194. Browser.mainLoop.remainingBlockers = next;
  9195. } else {
  9196. next = next + .5;
  9197. Browser.mainLoop.remainingBlockers = (8 * remaining + next) / 9;
  9198. }
  9199. }
  9200. console.log('main loop blocker "' + blocker.name + '" took ' + (Date.now() - start) + " ms");
  9201. Browser.mainLoop.updateStatus();
  9202. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9203. setTimeout(Browser.mainLoop.runner, 0);
  9204. return;
  9205. }
  9206. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9207. Browser.mainLoop.currentFrameNumber = Browser.mainLoop.currentFrameNumber + 1 | 0;
  9208. if (Browser.mainLoop.timingMode == 1 && Browser.mainLoop.timingValue > 1 && Browser.mainLoop.currentFrameNumber % Browser.mainLoop.timingValue != 0) {
  9209. Browser.mainLoop.scheduler();
  9210. return;
  9211. } else if (Browser.mainLoop.timingMode == 0) {
  9212. Browser.mainLoop.tickStartTime = _emscripten_get_now();
  9213. }
  9214. if (Browser.mainLoop.method === "timeout" && Module.ctx) {
  9215. 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!");
  9216. Browser.mainLoop.method = "";
  9217. }
  9218. Browser.mainLoop.runIter(browserIterationFunc);
  9219. checkStackCookie();
  9220. if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) return;
  9221. if (typeof SDL === "object" && SDL.audio && SDL.audio.queueNewAudioData) SDL.audio.queueNewAudioData();
  9222. Browser.mainLoop.scheduler();
  9223. };
  9224. if (!noSetTiming) {
  9225. if (fps && fps > 0) _emscripten_set_main_loop_timing(0, 1e3 / fps); else _emscripten_set_main_loop_timing(1, 1);
  9226. Browser.mainLoop.scheduler();
  9227. }
  9228. if (simulateInfiniteLoop) {
  9229. throw "SimulateInfiniteLoop";
  9230. }
  9231. }
  9232. var Browser = {
  9233. mainLoop: {
  9234. scheduler: null,
  9235. method: "",
  9236. currentlyRunningMainloop: 0,
  9237. func: null,
  9238. arg: 0,
  9239. timingMode: 0,
  9240. timingValue: 0,
  9241. currentFrameNumber: 0,
  9242. queue: [],
  9243. pause: (function() {
  9244. Browser.mainLoop.scheduler = null;
  9245. Browser.mainLoop.currentlyRunningMainloop++;
  9246. }),
  9247. resume: (function() {
  9248. Browser.mainLoop.currentlyRunningMainloop++;
  9249. var timingMode = Browser.mainLoop.timingMode;
  9250. var timingValue = Browser.mainLoop.timingValue;
  9251. var func = Browser.mainLoop.func;
  9252. Browser.mainLoop.func = null;
  9253. _emscripten_set_main_loop(func, 0, false, Browser.mainLoop.arg, true);
  9254. _emscripten_set_main_loop_timing(timingMode, timingValue);
  9255. Browser.mainLoop.scheduler();
  9256. }),
  9257. updateStatus: (function() {
  9258. if (Module["setStatus"]) {
  9259. var message = Module["statusMessage"] || "Please wait...";
  9260. var remaining = Browser.mainLoop.remainingBlockers;
  9261. var expected = Browser.mainLoop.expectedBlockers;
  9262. if (remaining) {
  9263. if (remaining < expected) {
  9264. Module["setStatus"](message + " (" + (expected - remaining) + "/" + expected + ")");
  9265. } else {
  9266. Module["setStatus"](message);
  9267. }
  9268. } else {
  9269. Module["setStatus"]("");
  9270. }
  9271. }
  9272. }),
  9273. runIter: (function(func) {
  9274. if (ABORT) return;
  9275. if (Module["preMainLoop"]) {
  9276. var preRet = Module["preMainLoop"]();
  9277. if (preRet === false) {
  9278. return;
  9279. }
  9280. }
  9281. try {
  9282. func();
  9283. } catch (e) {
  9284. if (e instanceof ExitStatus) {
  9285. return;
  9286. } else {
  9287. if (e && typeof e === "object" && e.stack) err("exception thrown: " + [ e, e.stack ]);
  9288. throw e;
  9289. }
  9290. }
  9291. if (Module["postMainLoop"]) Module["postMainLoop"]();
  9292. })
  9293. },
  9294. isFullscreen: false,
  9295. pointerLock: false,
  9296. moduleContextCreatedCallbacks: [],
  9297. workers: [],
  9298. init: (function() {
  9299. if (!Module["preloadPlugins"]) Module["preloadPlugins"] = [];
  9300. if (Browser.initted) return;
  9301. Browser.initted = true;
  9302. try {
  9303. new Blob;
  9304. Browser.hasBlobConstructor = true;
  9305. } catch (e) {
  9306. Browser.hasBlobConstructor = false;
  9307. console.log("warning: no blob constructor, cannot create blobs with mimetypes");
  9308. }
  9309. Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : !Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null;
  9310. Browser.URLObject = typeof window != "undefined" ? window.URL ? window.URL : window.webkitURL : undefined;
  9311. if (!Module.noImageDecoding && typeof Browser.URLObject === "undefined") {
  9312. console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");
  9313. Module.noImageDecoding = true;
  9314. }
  9315. var imagePlugin = {};
  9316. imagePlugin["canHandle"] = function imagePlugin_canHandle(name) {
  9317. return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name);
  9318. };
  9319. imagePlugin["handle"] = function imagePlugin_handle(byteArray, name, onload, onerror) {
  9320. var b = null;
  9321. if (Browser.hasBlobConstructor) {
  9322. try {
  9323. b = new Blob([ byteArray ], {
  9324. type: Browser.getMimetype(name)
  9325. });
  9326. if (b.size !== byteArray.length) {
  9327. b = new Blob([ (new Uint8Array(byteArray)).buffer ], {
  9328. type: Browser.getMimetype(name)
  9329. });
  9330. }
  9331. } catch (e) {
  9332. warnOnce("Blob constructor present but fails: " + e + "; falling back to blob builder");
  9333. }
  9334. }
  9335. if (!b) {
  9336. var bb = new Browser.BlobBuilder;
  9337. bb.append((new Uint8Array(byteArray)).buffer);
  9338. b = bb.getBlob();
  9339. }
  9340. var url = Browser.URLObject.createObjectURL(b);
  9341. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9342. var img = new Image;
  9343. img.onload = function img_onload() {
  9344. assert(img.complete, "Image " + name + " could not be decoded");
  9345. var canvas = document.createElement("canvas");
  9346. canvas.width = img.width;
  9347. canvas.height = img.height;
  9348. var ctx = canvas.getContext("2d");
  9349. ctx.drawImage(img, 0, 0);
  9350. Module["preloadedImages"][name] = canvas;
  9351. Browser.URLObject.revokeObjectURL(url);
  9352. if (onload) onload(byteArray);
  9353. };
  9354. img.onerror = function img_onerror(event) {
  9355. console.log("Image " + url + " could not be decoded");
  9356. if (onerror) onerror();
  9357. };
  9358. img.src = url;
  9359. };
  9360. Module["preloadPlugins"].push(imagePlugin);
  9361. var audioPlugin = {};
  9362. audioPlugin["canHandle"] = function audioPlugin_canHandle(name) {
  9363. return !Module.noAudioDecoding && name.substr(-4) in {
  9364. ".ogg": 1,
  9365. ".wav": 1,
  9366. ".mp3": 1
  9367. };
  9368. };
  9369. audioPlugin["handle"] = function audioPlugin_handle(byteArray, name, onload, onerror) {
  9370. var done = false;
  9371. function finish(audio) {
  9372. if (done) return;
  9373. done = true;
  9374. Module["preloadedAudios"][name] = audio;
  9375. if (onload) onload(byteArray);
  9376. }
  9377. function fail() {
  9378. if (done) return;
  9379. done = true;
  9380. Module["preloadedAudios"][name] = new Audio;
  9381. if (onerror) onerror();
  9382. }
  9383. if (Browser.hasBlobConstructor) {
  9384. try {
  9385. var b = new Blob([ byteArray ], {
  9386. type: Browser.getMimetype(name)
  9387. });
  9388. } catch (e) {
  9389. return fail();
  9390. }
  9391. var url = Browser.URLObject.createObjectURL(b);
  9392. assert(typeof url == "string", "createObjectURL must return a url as a string");
  9393. var audio = new Audio;
  9394. audio.addEventListener("canplaythrough", (function() {
  9395. finish(audio);
  9396. }), false);
  9397. audio.onerror = function audio_onerror(event) {
  9398. if (done) return;
  9399. console.log("warning: browser could not fully decode audio " + name + ", trying slower base64 approach");
  9400. function encode64(data) {
  9401. var BASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
  9402. var PAD = "=";
  9403. var ret = "";
  9404. var leftchar = 0;
  9405. var leftbits = 0;
  9406. for (var i = 0; i < data.length; i++) {
  9407. leftchar = leftchar << 8 | data[i];
  9408. leftbits += 8;
  9409. while (leftbits >= 6) {
  9410. var curr = leftchar >> leftbits - 6 & 63;
  9411. leftbits -= 6;
  9412. ret += BASE[curr];
  9413. }
  9414. }
  9415. if (leftbits == 2) {
  9416. ret += BASE[(leftchar & 3) << 4];
  9417. ret += PAD + PAD;
  9418. } else if (leftbits == 4) {
  9419. ret += BASE[(leftchar & 15) << 2];
  9420. ret += PAD;
  9421. }
  9422. return ret;
  9423. }
  9424. audio.src = "data:audio/x-" + name.substr(-3) + ";base64," + encode64(byteArray);
  9425. finish(audio);
  9426. };
  9427. audio.src = url;
  9428. Browser.safeSetTimeout((function() {
  9429. finish(audio);
  9430. }), 1e4);
  9431. } else {
  9432. return fail();
  9433. }
  9434. };
  9435. Module["preloadPlugins"].push(audioPlugin);
  9436. function pointerLockChange() {
  9437. Browser.pointerLock = document["pointerLockElement"] === Module["canvas"] || document["mozPointerLockElement"] === Module["canvas"] || document["webkitPointerLockElement"] === Module["canvas"] || document["msPointerLockElement"] === Module["canvas"];
  9438. }
  9439. var canvas = Module["canvas"];
  9440. if (canvas) {
  9441. canvas.requestPointerLock = canvas["requestPointerLock"] || canvas["mozRequestPointerLock"] || canvas["webkitRequestPointerLock"] || canvas["msRequestPointerLock"] || (function() {});
  9442. canvas.exitPointerLock = document["exitPointerLock"] || document["mozExitPointerLock"] || document["webkitExitPointerLock"] || document["msExitPointerLock"] || (function() {});
  9443. canvas.exitPointerLock = canvas.exitPointerLock.bind(document);
  9444. document.addEventListener("pointerlockchange", pointerLockChange, false);
  9445. document.addEventListener("mozpointerlockchange", pointerLockChange, false);
  9446. document.addEventListener("webkitpointerlockchange", pointerLockChange, false);
  9447. document.addEventListener("mspointerlockchange", pointerLockChange, false);
  9448. if (Module["elementPointerLock"]) {
  9449. canvas.addEventListener("click", (function(ev) {
  9450. if (!Browser.pointerLock && Module["canvas"].requestPointerLock) {
  9451. Module["canvas"].requestPointerLock();
  9452. ev.preventDefault();
  9453. }
  9454. }), false);
  9455. }
  9456. }
  9457. }),
  9458. createContext: (function(canvas, useWebGL, setInModule, webGLContextAttributes) {
  9459. if (useWebGL && Module.ctx && canvas == Module.canvas) return Module.ctx;
  9460. var ctx;
  9461. var contextHandle;
  9462. if (useWebGL) {
  9463. var contextAttributes = {
  9464. antialias: false,
  9465. alpha: false
  9466. };
  9467. if (webGLContextAttributes) {
  9468. for (var attribute in webGLContextAttributes) {
  9469. contextAttributes[attribute] = webGLContextAttributes[attribute];
  9470. }
  9471. }
  9472. contextHandle = GL.createContext(canvas, contextAttributes);
  9473. if (contextHandle) {
  9474. ctx = GL.getContext(contextHandle).GLctx;
  9475. }
  9476. } else {
  9477. ctx = canvas.getContext("2d");
  9478. }
  9479. if (!ctx) return null;
  9480. if (setInModule) {
  9481. 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");
  9482. Module.ctx = ctx;
  9483. if (useWebGL) GL.makeContextCurrent(contextHandle);
  9484. Module.useWebGL = useWebGL;
  9485. Browser.moduleContextCreatedCallbacks.forEach((function(callback) {
  9486. callback();
  9487. }));
  9488. Browser.init();
  9489. }
  9490. return ctx;
  9491. }),
  9492. destroyContext: (function(canvas, useWebGL, setInModule) {}),
  9493. fullscreenHandlersInstalled: false,
  9494. lockPointer: undefined,
  9495. resizeCanvas: undefined,
  9496. requestFullscreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9497. Browser.lockPointer = lockPointer;
  9498. Browser.resizeCanvas = resizeCanvas;
  9499. Browser.vrDevice = vrDevice;
  9500. if (typeof Browser.lockPointer === "undefined") Browser.lockPointer = true;
  9501. if (typeof Browser.resizeCanvas === "undefined") Browser.resizeCanvas = false;
  9502. if (typeof Browser.vrDevice === "undefined") Browser.vrDevice = null;
  9503. var canvas = Module["canvas"];
  9504. function fullscreenChange() {
  9505. Browser.isFullscreen = false;
  9506. var canvasContainer = canvas.parentNode;
  9507. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvasContainer) {
  9508. canvas.exitFullscreen = document["exitFullscreen"] || document["cancelFullScreen"] || document["mozCancelFullScreen"] || document["msExitFullscreen"] || document["webkitCancelFullScreen"] || (function() {});
  9509. canvas.exitFullscreen = canvas.exitFullscreen.bind(document);
  9510. if (Browser.lockPointer) canvas.requestPointerLock();
  9511. Browser.isFullscreen = true;
  9512. if (Browser.resizeCanvas) {
  9513. Browser.setFullscreenCanvasSize();
  9514. } else {
  9515. Browser.updateCanvasDimensions(canvas);
  9516. }
  9517. } else {
  9518. canvasContainer.parentNode.insertBefore(canvas, canvasContainer);
  9519. canvasContainer.parentNode.removeChild(canvasContainer);
  9520. if (Browser.resizeCanvas) {
  9521. Browser.setWindowedCanvasSize();
  9522. } else {
  9523. Browser.updateCanvasDimensions(canvas);
  9524. }
  9525. }
  9526. if (Module["onFullScreen"]) Module["onFullScreen"](Browser.isFullscreen);
  9527. if (Module["onFullscreen"]) Module["onFullscreen"](Browser.isFullscreen);
  9528. }
  9529. if (!Browser.fullscreenHandlersInstalled) {
  9530. Browser.fullscreenHandlersInstalled = true;
  9531. document.addEventListener("fullscreenchange", fullscreenChange, false);
  9532. document.addEventListener("mozfullscreenchange", fullscreenChange, false);
  9533. document.addEventListener("webkitfullscreenchange", fullscreenChange, false);
  9534. document.addEventListener("MSFullscreenChange", fullscreenChange, false);
  9535. }
  9536. var canvasContainer = document.createElement("div");
  9537. canvas.parentNode.insertBefore(canvasContainer, canvas);
  9538. canvasContainer.appendChild(canvas);
  9539. canvasContainer.requestFullscreen = canvasContainer["requestFullscreen"] || canvasContainer["mozRequestFullScreen"] || canvasContainer["msRequestFullscreen"] || (canvasContainer["webkitRequestFullscreen"] ? (function() {
  9540. canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9541. }) : null) || (canvasContainer["webkitRequestFullScreen"] ? (function() {
  9542. canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"]);
  9543. }) : null);
  9544. if (vrDevice) {
  9545. canvasContainer.requestFullscreen({
  9546. vrDisplay: vrDevice
  9547. });
  9548. } else {
  9549. canvasContainer.requestFullscreen();
  9550. }
  9551. }),
  9552. requestFullScreen: (function(lockPointer, resizeCanvas, vrDevice) {
  9553. err("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead.");
  9554. Browser.requestFullScreen = (function(lockPointer, resizeCanvas, vrDevice) {
  9555. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9556. });
  9557. return Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  9558. }),
  9559. nextRAF: 0,
  9560. fakeRequestAnimationFrame: (function(func) {
  9561. var now = Date.now();
  9562. if (Browser.nextRAF === 0) {
  9563. Browser.nextRAF = now + 1e3 / 60;
  9564. } else {
  9565. while (now + 2 >= Browser.nextRAF) {
  9566. Browser.nextRAF += 1e3 / 60;
  9567. }
  9568. }
  9569. var delay = Math.max(Browser.nextRAF - now, 0);
  9570. setTimeout(func, delay);
  9571. }),
  9572. requestAnimationFrame: function requestAnimationFrame(func) {
  9573. if (typeof window === "undefined") {
  9574. Browser.fakeRequestAnimationFrame(func);
  9575. } else {
  9576. if (!window.requestAnimationFrame) {
  9577. window.requestAnimationFrame = window["requestAnimationFrame"] || window["mozRequestAnimationFrame"] || window["webkitRequestAnimationFrame"] || window["msRequestAnimationFrame"] || window["oRequestAnimationFrame"] || Browser.fakeRequestAnimationFrame;
  9578. }
  9579. window.requestAnimationFrame(func);
  9580. }
  9581. },
  9582. safeCallback: (function(func) {
  9583. return (function() {
  9584. if (!ABORT) return func.apply(null, arguments);
  9585. });
  9586. }),
  9587. allowAsyncCallbacks: true,
  9588. queuedAsyncCallbacks: [],
  9589. pauseAsyncCallbacks: (function() {
  9590. Browser.allowAsyncCallbacks = false;
  9591. }),
  9592. resumeAsyncCallbacks: (function() {
  9593. Browser.allowAsyncCallbacks = true;
  9594. if (Browser.queuedAsyncCallbacks.length > 0) {
  9595. var callbacks = Browser.queuedAsyncCallbacks;
  9596. Browser.queuedAsyncCallbacks = [];
  9597. callbacks.forEach((function(func) {
  9598. func();
  9599. }));
  9600. }
  9601. }),
  9602. safeRequestAnimationFrame: (function(func) {
  9603. return Browser.requestAnimationFrame((function() {
  9604. if (ABORT) return;
  9605. if (Browser.allowAsyncCallbacks) {
  9606. func();
  9607. } else {
  9608. Browser.queuedAsyncCallbacks.push(func);
  9609. }
  9610. }));
  9611. }),
  9612. safeSetTimeout: (function(func, timeout) {
  9613. Module["noExitRuntime"] = true;
  9614. return setTimeout((function() {
  9615. if (ABORT) return;
  9616. if (Browser.allowAsyncCallbacks) {
  9617. func();
  9618. } else {
  9619. Browser.queuedAsyncCallbacks.push(func);
  9620. }
  9621. }), timeout);
  9622. }),
  9623. safeSetInterval: (function(func, timeout) {
  9624. Module["noExitRuntime"] = true;
  9625. return setInterval((function() {
  9626. if (ABORT) return;
  9627. if (Browser.allowAsyncCallbacks) {
  9628. func();
  9629. }
  9630. }), timeout);
  9631. }),
  9632. getMimetype: (function(name) {
  9633. return {
  9634. "jpg": "image/jpeg",
  9635. "jpeg": "image/jpeg",
  9636. "png": "image/png",
  9637. "bmp": "image/bmp",
  9638. "ogg": "audio/ogg",
  9639. "wav": "audio/wav",
  9640. "mp3": "audio/mpeg"
  9641. }[name.substr(name.lastIndexOf(".") + 1)];
  9642. }),
  9643. getUserMedia: (function(func) {
  9644. if (!window.getUserMedia) {
  9645. window.getUserMedia = navigator["getUserMedia"] || navigator["mozGetUserMedia"];
  9646. }
  9647. window.getUserMedia(func);
  9648. }),
  9649. getMovementX: (function(event) {
  9650. return event["movementX"] || event["mozMovementX"] || event["webkitMovementX"] || 0;
  9651. }),
  9652. getMovementY: (function(event) {
  9653. return event["movementY"] || event["mozMovementY"] || event["webkitMovementY"] || 0;
  9654. }),
  9655. getMouseWheelDelta: (function(event) {
  9656. var delta = 0;
  9657. switch (event.type) {
  9658. case "DOMMouseScroll":
  9659. delta = event.detail;
  9660. break;
  9661. case "mousewheel":
  9662. delta = event.wheelDelta;
  9663. break;
  9664. case "wheel":
  9665. delta = event["deltaY"];
  9666. break;
  9667. default:
  9668. throw "unrecognized mouse wheel event: " + event.type;
  9669. }
  9670. return delta;
  9671. }),
  9672. mouseX: 0,
  9673. mouseY: 0,
  9674. mouseMovementX: 0,
  9675. mouseMovementY: 0,
  9676. touches: {},
  9677. lastTouches: {},
  9678. calculateMouseEvent: (function(event) {
  9679. if (Browser.pointerLock) {
  9680. if (event.type != "mousemove" && "mozMovementX" in event) {
  9681. Browser.mouseMovementX = Browser.mouseMovementY = 0;
  9682. } else {
  9683. Browser.mouseMovementX = Browser.getMovementX(event);
  9684. Browser.mouseMovementY = Browser.getMovementY(event);
  9685. }
  9686. if (typeof SDL != "undefined") {
  9687. Browser.mouseX = SDL.mouseX + Browser.mouseMovementX;
  9688. Browser.mouseY = SDL.mouseY + Browser.mouseMovementY;
  9689. } else {
  9690. Browser.mouseX += Browser.mouseMovementX;
  9691. Browser.mouseY += Browser.mouseMovementY;
  9692. }
  9693. } else {
  9694. var rect = Module["canvas"].getBoundingClientRect();
  9695. var cw = Module["canvas"].width;
  9696. var ch = Module["canvas"].height;
  9697. var scrollX = typeof window.scrollX !== "undefined" ? window.scrollX : window.pageXOffset;
  9698. var scrollY = typeof window.scrollY !== "undefined" ? window.scrollY : window.pageYOffset;
  9699. assert(typeof scrollX !== "undefined" && typeof scrollY !== "undefined", "Unable to retrieve scroll position, mouse positions likely broken.");
  9700. if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchmove") {
  9701. var touch = event.touch;
  9702. if (touch === undefined) {
  9703. return;
  9704. }
  9705. var adjustedX = touch.pageX - (scrollX + rect.left);
  9706. var adjustedY = touch.pageY - (scrollY + rect.top);
  9707. adjustedX = adjustedX * (cw / rect.width);
  9708. adjustedY = adjustedY * (ch / rect.height);
  9709. var coords = {
  9710. x: adjustedX,
  9711. y: adjustedY
  9712. };
  9713. if (event.type === "touchstart") {
  9714. Browser.lastTouches[touch.identifier] = coords;
  9715. Browser.touches[touch.identifier] = coords;
  9716. } else if (event.type === "touchend" || event.type === "touchmove") {
  9717. var last = Browser.touches[touch.identifier];
  9718. if (!last) last = coords;
  9719. Browser.lastTouches[touch.identifier] = last;
  9720. Browser.touches[touch.identifier] = coords;
  9721. }
  9722. return;
  9723. }
  9724. var x = event.pageX - (scrollX + rect.left);
  9725. var y = event.pageY - (scrollY + rect.top);
  9726. x = x * (cw / rect.width);
  9727. y = y * (ch / rect.height);
  9728. Browser.mouseMovementX = x - Browser.mouseX;
  9729. Browser.mouseMovementY = y - Browser.mouseY;
  9730. Browser.mouseX = x;
  9731. Browser.mouseY = y;
  9732. }
  9733. }),
  9734. asyncLoad: (function(url, onload, onerror, noRunDep) {
  9735. var dep = !noRunDep ? getUniqueRunDependency("al " + url) : "";
  9736. Module["readAsync"](url, (function(arrayBuffer) {
  9737. assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
  9738. onload(new Uint8Array(arrayBuffer));
  9739. if (dep) removeRunDependency(dep);
  9740. }), (function(event) {
  9741. if (onerror) {
  9742. onerror();
  9743. } else {
  9744. throw 'Loading data file "' + url + '" failed.';
  9745. }
  9746. }));
  9747. if (dep) addRunDependency(dep);
  9748. }),
  9749. resizeListeners: [],
  9750. updateResizeListeners: (function() {
  9751. var canvas = Module["canvas"];
  9752. Browser.resizeListeners.forEach((function(listener) {
  9753. listener(canvas.width, canvas.height);
  9754. }));
  9755. }),
  9756. setCanvasSize: (function(width, height, noUpdates) {
  9757. var canvas = Module["canvas"];
  9758. Browser.updateCanvasDimensions(canvas, width, height);
  9759. if (!noUpdates) Browser.updateResizeListeners();
  9760. }),
  9761. windowedWidth: 0,
  9762. windowedHeight: 0,
  9763. setFullscreenCanvasSize: (function() {
  9764. if (typeof SDL != "undefined") {
  9765. var flags = HEAPU32[SDL.screen >> 2];
  9766. flags = flags | 8388608;
  9767. HEAP32[SDL.screen >> 2] = flags;
  9768. }
  9769. Browser.updateCanvasDimensions(Module["canvas"]);
  9770. Browser.updateResizeListeners();
  9771. }),
  9772. setWindowedCanvasSize: (function() {
  9773. if (typeof SDL != "undefined") {
  9774. var flags = HEAPU32[SDL.screen >> 2];
  9775. flags = flags & ~8388608;
  9776. HEAP32[SDL.screen >> 2] = flags;
  9777. }
  9778. Browser.updateCanvasDimensions(Module["canvas"]);
  9779. Browser.updateResizeListeners();
  9780. }),
  9781. updateCanvasDimensions: (function(canvas, wNative, hNative) {
  9782. if (wNative && hNative) {
  9783. canvas.widthNative = wNative;
  9784. canvas.heightNative = hNative;
  9785. } else {
  9786. wNative = canvas.widthNative;
  9787. hNative = canvas.heightNative;
  9788. }
  9789. var w = wNative;
  9790. var h = hNative;
  9791. if (Module["forcedAspectRatio"] && Module["forcedAspectRatio"] > 0) {
  9792. if (w / h < Module["forcedAspectRatio"]) {
  9793. w = Math.round(h * Module["forcedAspectRatio"]);
  9794. } else {
  9795. h = Math.round(w / Module["forcedAspectRatio"]);
  9796. }
  9797. }
  9798. if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvas.parentNode && typeof screen != "undefined") {
  9799. var factor = Math.min(screen.width / w, screen.height / h);
  9800. w = Math.round(w * factor);
  9801. h = Math.round(h * factor);
  9802. }
  9803. if (Browser.resizeCanvas) {
  9804. if (canvas.width != w) canvas.width = w;
  9805. if (canvas.height != h) canvas.height = h;
  9806. if (typeof canvas.style != "undefined") {
  9807. canvas.style.removeProperty("width");
  9808. canvas.style.removeProperty("height");
  9809. }
  9810. } else {
  9811. if (canvas.width != wNative) canvas.width = wNative;
  9812. if (canvas.height != hNative) canvas.height = hNative;
  9813. if (typeof canvas.style != "undefined") {
  9814. if (w != wNative || h != hNative) {
  9815. canvas.style.setProperty("width", w + "px", "important");
  9816. canvas.style.setProperty("height", h + "px", "important");
  9817. } else {
  9818. canvas.style.removeProperty("width");
  9819. canvas.style.removeProperty("height");
  9820. }
  9821. }
  9822. }
  9823. }),
  9824. wgetRequests: {},
  9825. nextWgetRequestHandle: 0,
  9826. getNextWgetRequestHandle: (function() {
  9827. var handle = Browser.nextWgetRequestHandle;
  9828. Browser.nextWgetRequestHandle++;
  9829. return handle;
  9830. })
  9831. };
  9832. function _emscripten_cancel_main_loop() {
  9833. Browser.mainLoop.pause();
  9834. Browser.mainLoop.func = null;
  9835. }
  9836. function _emscripten_set_canvas_element_size(target, width, height) {
  9837. var canvas = JSEvents.findCanvasEventTarget(target);
  9838. if (!canvas) return -4;
  9839. canvas.width = width;
  9840. canvas.height = height;
  9841. return 0;
  9842. }
  9843. function emscripten_set_canvas_element_size_js(target, width, height) {
  9844. if (typeof target === "string") {
  9845. var stackTop = stackSave();
  9846. var targetInt = stackAlloc(target.length + 1);
  9847. stringToUTF8(target, targetInt, target.length + 1);
  9848. var ret = _emscripten_set_canvas_element_size(targetInt, width, height);
  9849. stackRestore(stackTop);
  9850. return ret;
  9851. } else {
  9852. return _emscripten_set_canvas_element_size(target, width, height);
  9853. }
  9854. }
  9855. function _emscripten_get_canvas_element_size_calling_thread(target, width, height) {
  9856. var canvas = JSEvents.findCanvasEventTarget(target);
  9857. if (!canvas) return -4;
  9858. if (canvas.canvasSharedPtr) {
  9859. var w = HEAP32[canvas.canvasSharedPtr >> 2];
  9860. var h = HEAP32[canvas.canvasSharedPtr + 4 >> 2];
  9861. HEAP32[width >> 2] = w;
  9862. HEAP32[height >> 2] = h;
  9863. } else if (canvas.offscreenCanvas) {
  9864. HEAP32[width >> 2] = canvas.offscreenCanvas.width;
  9865. HEAP32[height >> 2] = canvas.offscreenCanvas.height;
  9866. } else if (!canvas.controlTransferredOffscreen) {
  9867. HEAP32[width >> 2] = canvas.width;
  9868. HEAP32[height >> 2] = canvas.height;
  9869. } else {
  9870. return -4;
  9871. }
  9872. return 0;
  9873. }
  9874. function _emscripten_get_canvas_element_size_main_thread(target, width, height) {
  9875. return _emscripten_get_canvas_element_size_calling_thread(target, width, height);
  9876. }
  9877. function _emscripten_get_canvas_element_size(target, width, height) {
  9878. var canvas = JSEvents.findCanvasEventTarget(target);
  9879. 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);
  9880. }
  9881. function emscripten_get_canvas_element_size_js(target) {
  9882. var stackTop = stackSave();
  9883. var w = stackAlloc(8);
  9884. var h = w + 4;
  9885. if (typeof target === "string") {
  9886. var targetInt = stackAlloc(target.length + 1);
  9887. stringToUTF8(target, targetInt, target.length + 1);
  9888. target = targetInt;
  9889. }
  9890. var ret = _emscripten_get_canvas_element_size(target, w, h);
  9891. var size = [ HEAP32[w >> 2], HEAP32[h >> 2] ];
  9892. stackRestore(stackTop);
  9893. return size;
  9894. }
  9895. var JSEvents = {
  9896. keyEvent: 0,
  9897. mouseEvent: 0,
  9898. wheelEvent: 0,
  9899. uiEvent: 0,
  9900. focusEvent: 0,
  9901. deviceOrientationEvent: 0,
  9902. deviceMotionEvent: 0,
  9903. fullscreenChangeEvent: 0,
  9904. pointerlockChangeEvent: 0,
  9905. visibilityChangeEvent: 0,
  9906. touchEvent: 0,
  9907. lastGamepadState: null,
  9908. lastGamepadStateFrame: null,
  9909. numGamepadsConnected: 0,
  9910. previousFullscreenElement: null,
  9911. previousScreenX: null,
  9912. previousScreenY: null,
  9913. removeEventListenersRegistered: false,
  9914. _onGamepadConnected: (function() {
  9915. ++JSEvents.numGamepadsConnected;
  9916. }),
  9917. _onGamepadDisconnected: (function() {
  9918. --JSEvents.numGamepadsConnected;
  9919. }),
  9920. staticInit: (function() {
  9921. if (typeof window !== "undefined") {
  9922. window.addEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9923. window.addEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9924. var firstState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads() : null;
  9925. if (firstState) {
  9926. JSEvents.numGamepadsConnected = firstState.length;
  9927. }
  9928. }
  9929. }),
  9930. removeAllEventListeners: (function() {
  9931. for (var i = JSEvents.eventHandlers.length - 1; i >= 0; --i) {
  9932. JSEvents._removeHandler(i);
  9933. }
  9934. JSEvents.eventHandlers = [];
  9935. JSEvents.deferredCalls = [];
  9936. window.removeEventListener("gamepadconnected", JSEvents._onGamepadConnected);
  9937. window.removeEventListener("gamepaddisconnected", JSEvents._onGamepadDisconnected);
  9938. }),
  9939. registerRemoveEventListeners: (function() {
  9940. if (!JSEvents.removeEventListenersRegistered) {
  9941. __ATEXIT__.push(JSEvents.removeAllEventListeners);
  9942. JSEvents.removeEventListenersRegistered = true;
  9943. }
  9944. }),
  9945. findEventTarget: (function(target) {
  9946. try {
  9947. if (!target) return window;
  9948. if (typeof target === "number") target = Pointer_stringify(target);
  9949. 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"];
  9950. return typeof target === "string" ? document.getElementById(target) : target;
  9951. } catch (e) {
  9952. return null;
  9953. }
  9954. }),
  9955. findCanvasEventTarget: (function(target) {
  9956. if (typeof target === "number") target = Pointer_stringify(target);
  9957. if (!target || target === "#canvas") {
  9958. if (typeof GL !== "undefined" && GL.offscreenCanvases["canvas"]) return GL.offscreenCanvases["canvas"];
  9959. return Module["canvas"];
  9960. }
  9961. if (typeof GL !== "undefined" && GL.offscreenCanvases[target]) return GL.offscreenCanvases[target];
  9962. return JSEvents.findEventTarget(target);
  9963. }),
  9964. deferredCalls: [],
  9965. deferCall: (function(targetFunction, precedence, argsList) {
  9966. function arraysHaveEqualContent(arrA, arrB) {
  9967. if (arrA.length != arrB.length) return false;
  9968. for (var i in arrA) {
  9969. if (arrA[i] != arrB[i]) return false;
  9970. }
  9971. return true;
  9972. }
  9973. for (var i in JSEvents.deferredCalls) {
  9974. var call = JSEvents.deferredCalls[i];
  9975. if (call.targetFunction == targetFunction && arraysHaveEqualContent(call.argsList, argsList)) {
  9976. return;
  9977. }
  9978. }
  9979. JSEvents.deferredCalls.push({
  9980. targetFunction: targetFunction,
  9981. precedence: precedence,
  9982. argsList: argsList
  9983. });
  9984. JSEvents.deferredCalls.sort((function(x, y) {
  9985. return x.precedence < y.precedence;
  9986. }));
  9987. }),
  9988. removeDeferredCalls: (function(targetFunction) {
  9989. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  9990. if (JSEvents.deferredCalls[i].targetFunction == targetFunction) {
  9991. JSEvents.deferredCalls.splice(i, 1);
  9992. --i;
  9993. }
  9994. }
  9995. }),
  9996. canPerformEventHandlerRequests: (function() {
  9997. return JSEvents.inEventHandler && JSEvents.currentEventHandler.allowsDeferredCalls;
  9998. }),
  9999. runDeferredCalls: (function() {
  10000. if (!JSEvents.canPerformEventHandlerRequests()) {
  10001. return;
  10002. }
  10003. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  10004. var call = JSEvents.deferredCalls[i];
  10005. JSEvents.deferredCalls.splice(i, 1);
  10006. --i;
  10007. call.targetFunction.apply(this, call.argsList);
  10008. }
  10009. }),
  10010. inEventHandler: 0,
  10011. currentEventHandler: null,
  10012. eventHandlers: [],
  10013. isInternetExplorer: (function() {
  10014. return navigator.userAgent.indexOf("MSIE") !== -1 || navigator.appVersion.indexOf("Trident/") > 0;
  10015. }),
  10016. removeAllHandlersOnTarget: (function(target, eventTypeString) {
  10017. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  10018. if (JSEvents.eventHandlers[i].target == target && (!eventTypeString || eventTypeString == JSEvents.eventHandlers[i].eventTypeString)) {
  10019. JSEvents._removeHandler(i--);
  10020. }
  10021. }
  10022. }),
  10023. _removeHandler: (function(i) {
  10024. var h = JSEvents.eventHandlers[i];
  10025. h.target.removeEventListener(h.eventTypeString, h.eventListenerFunc, h.useCapture);
  10026. JSEvents.eventHandlers.splice(i, 1);
  10027. }),
  10028. registerOrRemoveHandler: (function(eventHandler) {
  10029. var jsEventHandler = function jsEventHandler(event) {
  10030. ++JSEvents.inEventHandler;
  10031. JSEvents.currentEventHandler = eventHandler;
  10032. JSEvents.runDeferredCalls();
  10033. eventHandler.handlerFunc(event);
  10034. JSEvents.runDeferredCalls();
  10035. --JSEvents.inEventHandler;
  10036. };
  10037. if (eventHandler.callbackfunc) {
  10038. eventHandler.eventListenerFunc = jsEventHandler;
  10039. eventHandler.target.addEventListener(eventHandler.eventTypeString, jsEventHandler, eventHandler.useCapture);
  10040. JSEvents.eventHandlers.push(eventHandler);
  10041. JSEvents.registerRemoveEventListeners();
  10042. } else {
  10043. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  10044. if (JSEvents.eventHandlers[i].target == eventHandler.target && JSEvents.eventHandlers[i].eventTypeString == eventHandler.eventTypeString) {
  10045. JSEvents._removeHandler(i--);
  10046. }
  10047. }
  10048. }
  10049. }),
  10050. registerKeyEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10051. if (!JSEvents.keyEvent) JSEvents.keyEvent = _malloc(164);
  10052. var keyEventHandlerFunc = (function(event) {
  10053. var e = event || window.event;
  10054. var keyEventData = JSEvents.keyEvent;
  10055. stringToUTF8(e.key ? e.key : "", keyEventData + 0, 32);
  10056. stringToUTF8(e.code ? e.code : "", keyEventData + 32, 32);
  10057. HEAP32[keyEventData + 64 >> 2] = e.location;
  10058. HEAP32[keyEventData + 68 >> 2] = e.ctrlKey;
  10059. HEAP32[keyEventData + 72 >> 2] = e.shiftKey;
  10060. HEAP32[keyEventData + 76 >> 2] = e.altKey;
  10061. HEAP32[keyEventData + 80 >> 2] = e.metaKey;
  10062. HEAP32[keyEventData + 84 >> 2] = e.repeat;
  10063. stringToUTF8(e.locale ? e.locale : "", keyEventData + 88, 32);
  10064. stringToUTF8(e.char ? e.char : "", keyEventData + 120, 32);
  10065. HEAP32[keyEventData + 152 >> 2] = e.charCode;
  10066. HEAP32[keyEventData + 156 >> 2] = e.keyCode;
  10067. HEAP32[keyEventData + 160 >> 2] = e.which;
  10068. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, keyEventData, userData)) e.preventDefault();
  10069. });
  10070. var eventHandler = {
  10071. target: JSEvents.findEventTarget(target),
  10072. allowsDeferredCalls: JSEvents.isInternetExplorer() ? false : true,
  10073. eventTypeString: eventTypeString,
  10074. callbackfunc: callbackfunc,
  10075. handlerFunc: keyEventHandlerFunc,
  10076. useCapture: useCapture
  10077. };
  10078. JSEvents.registerOrRemoveHandler(eventHandler);
  10079. }),
  10080. getBoundingClientRectOrZeros: (function(target) {
  10081. return target.getBoundingClientRect ? target.getBoundingClientRect() : {
  10082. left: 0,
  10083. top: 0
  10084. };
  10085. }),
  10086. fillMouseEventData: (function(eventStruct, e, target) {
  10087. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10088. HEAP32[eventStruct + 8 >> 2] = e.screenX;
  10089. HEAP32[eventStruct + 12 >> 2] = e.screenY;
  10090. HEAP32[eventStruct + 16 >> 2] = e.clientX;
  10091. HEAP32[eventStruct + 20 >> 2] = e.clientY;
  10092. HEAP32[eventStruct + 24 >> 2] = e.ctrlKey;
  10093. HEAP32[eventStruct + 28 >> 2] = e.shiftKey;
  10094. HEAP32[eventStruct + 32 >> 2] = e.altKey;
  10095. HEAP32[eventStruct + 36 >> 2] = e.metaKey;
  10096. HEAP16[eventStruct + 40 >> 1] = e.button;
  10097. HEAP16[eventStruct + 42 >> 1] = e.buttons;
  10098. HEAP32[eventStruct + 44 >> 2] = e["movementX"];
  10099. HEAP32[eventStruct + 48 >> 2] = e["movementY"];
  10100. if (Module["canvas"]) {
  10101. var rect = Module["canvas"].getBoundingClientRect();
  10102. HEAP32[eventStruct + 60 >> 2] = e.clientX - rect.left;
  10103. HEAP32[eventStruct + 64 >> 2] = e.clientY - rect.top;
  10104. } else {
  10105. HEAP32[eventStruct + 60 >> 2] = 0;
  10106. HEAP32[eventStruct + 64 >> 2] = 0;
  10107. }
  10108. if (target) {
  10109. var rect = JSEvents.getBoundingClientRectOrZeros(target);
  10110. HEAP32[eventStruct + 52 >> 2] = e.clientX - rect.left;
  10111. HEAP32[eventStruct + 56 >> 2] = e.clientY - rect.top;
  10112. } else {
  10113. HEAP32[eventStruct + 52 >> 2] = 0;
  10114. HEAP32[eventStruct + 56 >> 2] = 0;
  10115. }
  10116. if (e.type !== "wheel" && e.type !== "mousewheel") {
  10117. JSEvents.previousScreenX = e.screenX;
  10118. JSEvents.previousScreenY = e.screenY;
  10119. }
  10120. }),
  10121. registerMouseEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10122. if (!JSEvents.mouseEvent) JSEvents.mouseEvent = _malloc(72);
  10123. target = JSEvents.findEventTarget(target);
  10124. var mouseEventHandlerFunc = (function(event) {
  10125. var e = event || window.event;
  10126. JSEvents.fillMouseEventData(JSEvents.mouseEvent, e, target);
  10127. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.mouseEvent, userData)) e.preventDefault();
  10128. });
  10129. var eventHandler = {
  10130. target: target,
  10131. allowsDeferredCalls: eventTypeString != "mousemove" && eventTypeString != "mouseenter" && eventTypeString != "mouseleave",
  10132. eventTypeString: eventTypeString,
  10133. callbackfunc: callbackfunc,
  10134. handlerFunc: mouseEventHandlerFunc,
  10135. useCapture: useCapture
  10136. };
  10137. if (JSEvents.isInternetExplorer() && eventTypeString == "mousedown") eventHandler.allowsDeferredCalls = false;
  10138. JSEvents.registerOrRemoveHandler(eventHandler);
  10139. }),
  10140. registerWheelEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10141. if (!JSEvents.wheelEvent) JSEvents.wheelEvent = _malloc(104);
  10142. target = JSEvents.findEventTarget(target);
  10143. var wheelHandlerFunc = (function(event) {
  10144. var e = event || window.event;
  10145. var wheelEvent = JSEvents.wheelEvent;
  10146. JSEvents.fillMouseEventData(wheelEvent, e, target);
  10147. HEAPF64[wheelEvent + 72 >> 3] = e["deltaX"];
  10148. HEAPF64[wheelEvent + 80 >> 3] = e["deltaY"];
  10149. HEAPF64[wheelEvent + 88 >> 3] = e["deltaZ"];
  10150. HEAP32[wheelEvent + 96 >> 2] = e["deltaMode"];
  10151. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, wheelEvent, userData)) e.preventDefault();
  10152. });
  10153. var mouseWheelHandlerFunc = (function(event) {
  10154. var e = event || window.event;
  10155. JSEvents.fillMouseEventData(JSEvents.wheelEvent, e, target);
  10156. HEAPF64[JSEvents.wheelEvent + 72 >> 3] = e["wheelDeltaX"] || 0;
  10157. HEAPF64[JSEvents.wheelEvent + 80 >> 3] = -(e["wheelDeltaY"] ? e["wheelDeltaY"] : e["wheelDelta"]);
  10158. HEAPF64[JSEvents.wheelEvent + 88 >> 3] = 0;
  10159. HEAP32[JSEvents.wheelEvent + 96 >> 2] = 0;
  10160. var shouldCancel = Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.wheelEvent, userData);
  10161. if (shouldCancel) {
  10162. e.preventDefault();
  10163. }
  10164. });
  10165. var eventHandler = {
  10166. target: target,
  10167. allowsDeferredCalls: true,
  10168. eventTypeString: eventTypeString,
  10169. callbackfunc: callbackfunc,
  10170. handlerFunc: eventTypeString == "wheel" ? wheelHandlerFunc : mouseWheelHandlerFunc,
  10171. useCapture: useCapture
  10172. };
  10173. JSEvents.registerOrRemoveHandler(eventHandler);
  10174. }),
  10175. pageScrollPos: (function() {
  10176. if (window.pageXOffset > 0 || window.pageYOffset > 0) {
  10177. return [ window.pageXOffset, window.pageYOffset ];
  10178. }
  10179. if (typeof document.documentElement.scrollLeft !== "undefined" || typeof document.documentElement.scrollTop !== "undefined") {
  10180. return [ document.documentElement.scrollLeft, document.documentElement.scrollTop ];
  10181. }
  10182. return [ document.body.scrollLeft | 0, document.body.scrollTop | 0 ];
  10183. }),
  10184. registerUiEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10185. if (!JSEvents.uiEvent) JSEvents.uiEvent = _malloc(36);
  10186. if (eventTypeString == "scroll" && !target) {
  10187. target = document;
  10188. } else {
  10189. target = JSEvents.findEventTarget(target);
  10190. }
  10191. var uiEventHandlerFunc = (function(event) {
  10192. var e = event || window.event;
  10193. if (e.target != target) {
  10194. return;
  10195. }
  10196. var scrollPos = JSEvents.pageScrollPos();
  10197. var uiEvent = JSEvents.uiEvent;
  10198. HEAP32[uiEvent >> 2] = e.detail;
  10199. HEAP32[uiEvent + 4 >> 2] = document.body.clientWidth;
  10200. HEAP32[uiEvent + 8 >> 2] = document.body.clientHeight;
  10201. HEAP32[uiEvent + 12 >> 2] = window.innerWidth;
  10202. HEAP32[uiEvent + 16 >> 2] = window.innerHeight;
  10203. HEAP32[uiEvent + 20 >> 2] = window.outerWidth;
  10204. HEAP32[uiEvent + 24 >> 2] = window.outerHeight;
  10205. HEAP32[uiEvent + 28 >> 2] = scrollPos[0];
  10206. HEAP32[uiEvent + 32 >> 2] = scrollPos[1];
  10207. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, uiEvent, userData)) e.preventDefault();
  10208. });
  10209. var eventHandler = {
  10210. target: target,
  10211. allowsDeferredCalls: false,
  10212. eventTypeString: eventTypeString,
  10213. callbackfunc: callbackfunc,
  10214. handlerFunc: uiEventHandlerFunc,
  10215. useCapture: useCapture
  10216. };
  10217. JSEvents.registerOrRemoveHandler(eventHandler);
  10218. }),
  10219. getNodeNameForTarget: (function(target) {
  10220. if (!target) return "";
  10221. if (target == window) return "#window";
  10222. if (target == window.screen) return "#screen";
  10223. return target && target.nodeName ? target.nodeName : "";
  10224. }),
  10225. registerFocusEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10226. if (!JSEvents.focusEvent) JSEvents.focusEvent = _malloc(256);
  10227. var focusEventHandlerFunc = (function(event) {
  10228. var e = event || window.event;
  10229. var nodeName = JSEvents.getNodeNameForTarget(e.target);
  10230. var id = e.target.id ? e.target.id : "";
  10231. var focusEvent = JSEvents.focusEvent;
  10232. stringToUTF8(nodeName, focusEvent + 0, 128);
  10233. stringToUTF8(id, focusEvent + 128, 128);
  10234. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, focusEvent, userData)) e.preventDefault();
  10235. });
  10236. var eventHandler = {
  10237. target: JSEvents.findEventTarget(target),
  10238. allowsDeferredCalls: false,
  10239. eventTypeString: eventTypeString,
  10240. callbackfunc: callbackfunc,
  10241. handlerFunc: focusEventHandlerFunc,
  10242. useCapture: useCapture
  10243. };
  10244. JSEvents.registerOrRemoveHandler(eventHandler);
  10245. }),
  10246. tick: (function() {
  10247. if (window["performance"] && window["performance"]["now"]) return window["performance"]["now"](); else return Date.now();
  10248. }),
  10249. fillDeviceOrientationEventData: (function(eventStruct, e, target) {
  10250. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10251. HEAPF64[eventStruct + 8 >> 3] = e.alpha;
  10252. HEAPF64[eventStruct + 16 >> 3] = e.beta;
  10253. HEAPF64[eventStruct + 24 >> 3] = e.gamma;
  10254. HEAP32[eventStruct + 32 >> 2] = e.absolute;
  10255. }),
  10256. registerDeviceOrientationEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10257. if (!JSEvents.deviceOrientationEvent) JSEvents.deviceOrientationEvent = _malloc(40);
  10258. var deviceOrientationEventHandlerFunc = (function(event) {
  10259. var e = event || window.event;
  10260. JSEvents.fillDeviceOrientationEventData(JSEvents.deviceOrientationEvent, e, target);
  10261. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceOrientationEvent, userData)) e.preventDefault();
  10262. });
  10263. var eventHandler = {
  10264. target: JSEvents.findEventTarget(target),
  10265. allowsDeferredCalls: false,
  10266. eventTypeString: eventTypeString,
  10267. callbackfunc: callbackfunc,
  10268. handlerFunc: deviceOrientationEventHandlerFunc,
  10269. useCapture: useCapture
  10270. };
  10271. JSEvents.registerOrRemoveHandler(eventHandler);
  10272. }),
  10273. fillDeviceMotionEventData: (function(eventStruct, e, target) {
  10274. HEAPF64[eventStruct >> 3] = JSEvents.tick();
  10275. HEAPF64[eventStruct + 8 >> 3] = e.acceleration.x;
  10276. HEAPF64[eventStruct + 16 >> 3] = e.acceleration.y;
  10277. HEAPF64[eventStruct + 24 >> 3] = e.acceleration.z;
  10278. HEAPF64[eventStruct + 32 >> 3] = e.accelerationIncludingGravity.x;
  10279. HEAPF64[eventStruct + 40 >> 3] = e.accelerationIncludingGravity.y;
  10280. HEAPF64[eventStruct + 48 >> 3] = e.accelerationIncludingGravity.z;
  10281. HEAPF64[eventStruct + 56 >> 3] = e.rotationRate.alpha;
  10282. HEAPF64[eventStruct + 64 >> 3] = e.rotationRate.beta;
  10283. HEAPF64[eventStruct + 72 >> 3] = e.rotationRate.gamma;
  10284. }),
  10285. registerDeviceMotionEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10286. if (!JSEvents.deviceMotionEvent) JSEvents.deviceMotionEvent = _malloc(80);
  10287. var deviceMotionEventHandlerFunc = (function(event) {
  10288. var e = event || window.event;
  10289. JSEvents.fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target);
  10290. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, JSEvents.deviceMotionEvent, userData)) e.preventDefault();
  10291. });
  10292. var eventHandler = {
  10293. target: JSEvents.findEventTarget(target),
  10294. allowsDeferredCalls: false,
  10295. eventTypeString: eventTypeString,
  10296. callbackfunc: callbackfunc,
  10297. handlerFunc: deviceMotionEventHandlerFunc,
  10298. useCapture: useCapture
  10299. };
  10300. JSEvents.registerOrRemoveHandler(eventHandler);
  10301. }),
  10302. screenOrientation: (function() {
  10303. if (!window.screen) return undefined;
  10304. return window.screen.orientation || window.screen.mozOrientation || window.screen.webkitOrientation || window.screen.msOrientation;
  10305. }),
  10306. fillOrientationChangeEventData: (function(eventStruct, e) {
  10307. var orientations = [ "portrait-primary", "portrait-secondary", "landscape-primary", "landscape-secondary" ];
  10308. var orientations2 = [ "portrait", "portrait", "landscape", "landscape" ];
  10309. var orientationString = JSEvents.screenOrientation();
  10310. var orientation = orientations.indexOf(orientationString);
  10311. if (orientation == -1) {
  10312. orientation = orientations2.indexOf(orientationString);
  10313. }
  10314. HEAP32[eventStruct >> 2] = 1 << orientation;
  10315. HEAP32[eventStruct + 4 >> 2] = window.orientation;
  10316. }),
  10317. registerOrientationChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10318. if (!JSEvents.orientationChangeEvent) JSEvents.orientationChangeEvent = _malloc(8);
  10319. if (!target) {
  10320. target = window.screen;
  10321. } else {
  10322. target = JSEvents.findEventTarget(target);
  10323. }
  10324. var orientationChangeEventHandlerFunc = (function(event) {
  10325. var e = event || window.event;
  10326. var orientationChangeEvent = JSEvents.orientationChangeEvent;
  10327. JSEvents.fillOrientationChangeEventData(orientationChangeEvent, e);
  10328. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, orientationChangeEvent, userData)) e.preventDefault();
  10329. });
  10330. if (eventTypeString == "orientationchange" && window.screen.mozOrientation !== undefined) {
  10331. eventTypeString = "mozorientationchange";
  10332. }
  10333. var eventHandler = {
  10334. target: target,
  10335. allowsDeferredCalls: false,
  10336. eventTypeString: eventTypeString,
  10337. callbackfunc: callbackfunc,
  10338. handlerFunc: orientationChangeEventHandlerFunc,
  10339. useCapture: useCapture
  10340. };
  10341. JSEvents.registerOrRemoveHandler(eventHandler);
  10342. }),
  10343. fullscreenEnabled: (function() {
  10344. return document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled || document.msFullscreenEnabled;
  10345. }),
  10346. fillFullscreenChangeEventData: (function(eventStruct, e) {
  10347. var fullscreenElement = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement;
  10348. var isFullscreen = !!fullscreenElement;
  10349. HEAP32[eventStruct >> 2] = isFullscreen;
  10350. HEAP32[eventStruct + 4 >> 2] = JSEvents.fullscreenEnabled();
  10351. var reportedElement = isFullscreen ? fullscreenElement : JSEvents.previousFullscreenElement;
  10352. var nodeName = JSEvents.getNodeNameForTarget(reportedElement);
  10353. var id = reportedElement && reportedElement.id ? reportedElement.id : "";
  10354. stringToUTF8(nodeName, eventStruct + 8, 128);
  10355. stringToUTF8(id, eventStruct + 136, 128);
  10356. HEAP32[eventStruct + 264 >> 2] = reportedElement ? reportedElement.clientWidth : 0;
  10357. HEAP32[eventStruct + 268 >> 2] = reportedElement ? reportedElement.clientHeight : 0;
  10358. HEAP32[eventStruct + 272 >> 2] = screen.width;
  10359. HEAP32[eventStruct + 276 >> 2] = screen.height;
  10360. if (isFullscreen) {
  10361. JSEvents.previousFullscreenElement = fullscreenElement;
  10362. }
  10363. }),
  10364. registerFullscreenChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10365. if (!JSEvents.fullscreenChangeEvent) JSEvents.fullscreenChangeEvent = _malloc(280);
  10366. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10367. var fullscreenChangeEventhandlerFunc = (function(event) {
  10368. var e = event || window.event;
  10369. var fullscreenChangeEvent = JSEvents.fullscreenChangeEvent;
  10370. JSEvents.fillFullscreenChangeEventData(fullscreenChangeEvent, e);
  10371. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, fullscreenChangeEvent, userData)) e.preventDefault();
  10372. });
  10373. var eventHandler = {
  10374. target: target,
  10375. allowsDeferredCalls: false,
  10376. eventTypeString: eventTypeString,
  10377. callbackfunc: callbackfunc,
  10378. handlerFunc: fullscreenChangeEventhandlerFunc,
  10379. useCapture: useCapture
  10380. };
  10381. JSEvents.registerOrRemoveHandler(eventHandler);
  10382. }),
  10383. resizeCanvasForFullscreen: (function(target, strategy) {
  10384. var restoreOldStyle = __registerRestoreOldStyle(target);
  10385. var cssWidth = strategy.softFullscreen ? window.innerWidth : screen.width;
  10386. var cssHeight = strategy.softFullscreen ? window.innerHeight : screen.height;
  10387. var rect = target.getBoundingClientRect();
  10388. var windowedCssWidth = rect.right - rect.left;
  10389. var windowedCssHeight = rect.bottom - rect.top;
  10390. var canvasSize = emscripten_get_canvas_element_size_js(target.id);
  10391. var windowedRttWidth = canvasSize[0];
  10392. var windowedRttHeight = canvasSize[1];
  10393. if (strategy.scaleMode == 3) {
  10394. __setLetterbox(target, (cssHeight - windowedCssHeight) / 2, (cssWidth - windowedCssWidth) / 2);
  10395. cssWidth = windowedCssWidth;
  10396. cssHeight = windowedCssHeight;
  10397. } else if (strategy.scaleMode == 2) {
  10398. if (cssWidth * windowedRttHeight < windowedRttWidth * cssHeight) {
  10399. var desiredCssHeight = windowedRttHeight * cssWidth / windowedRttWidth;
  10400. __setLetterbox(target, (cssHeight - desiredCssHeight) / 2, 0);
  10401. cssHeight = desiredCssHeight;
  10402. } else {
  10403. var desiredCssWidth = windowedRttWidth * cssHeight / windowedRttHeight;
  10404. __setLetterbox(target, 0, (cssWidth - desiredCssWidth) / 2);
  10405. cssWidth = desiredCssWidth;
  10406. }
  10407. }
  10408. if (!target.style.backgroundColor) target.style.backgroundColor = "black";
  10409. if (!document.body.style.backgroundColor) document.body.style.backgroundColor = "black";
  10410. target.style.width = cssWidth + "px";
  10411. target.style.height = cssHeight + "px";
  10412. if (strategy.filteringMode == 1) {
  10413. target.style.imageRendering = "optimizeSpeed";
  10414. target.style.imageRendering = "-moz-crisp-edges";
  10415. target.style.imageRendering = "-o-crisp-edges";
  10416. target.style.imageRendering = "-webkit-optimize-contrast";
  10417. target.style.imageRendering = "optimize-contrast";
  10418. target.style.imageRendering = "crisp-edges";
  10419. target.style.imageRendering = "pixelated";
  10420. }
  10421. var dpiScale = strategy.canvasResolutionScaleMode == 2 ? window.devicePixelRatio : 1;
  10422. if (strategy.canvasResolutionScaleMode != 0) {
  10423. var newWidth = cssWidth * dpiScale | 0;
  10424. var newHeight = cssHeight * dpiScale | 0;
  10425. if (!target.controlTransferredOffscreen) {
  10426. target.width = newWidth;
  10427. target.height = newHeight;
  10428. } else {
  10429. emscripten_set_canvas_element_size_js(target.id, newWidth, newHeight);
  10430. }
  10431. if (target.GLctxObject) target.GLctxObject.GLctx.viewport(0, 0, newWidth, newHeight);
  10432. }
  10433. return restoreOldStyle;
  10434. }),
  10435. requestFullscreen: (function(target, strategy) {
  10436. if (strategy.scaleMode != 0 || strategy.canvasResolutionScaleMode != 0) {
  10437. JSEvents.resizeCanvasForFullscreen(target, strategy);
  10438. }
  10439. if (target.requestFullscreen) {
  10440. target.requestFullscreen();
  10441. } else if (target.msRequestFullscreen) {
  10442. target.msRequestFullscreen();
  10443. } else if (target.mozRequestFullScreen) {
  10444. target.mozRequestFullScreen();
  10445. } else if (target.mozRequestFullscreen) {
  10446. target.mozRequestFullscreen();
  10447. } else if (target.webkitRequestFullscreen) {
  10448. target.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
  10449. } else {
  10450. if (typeof JSEvents.fullscreenEnabled() === "undefined") {
  10451. return -1;
  10452. } else {
  10453. return -3;
  10454. }
  10455. }
  10456. if (strategy.canvasResizedCallback) {
  10457. Module["dynCall_iiii"](strategy.canvasResizedCallback, 37, 0, strategy.canvasResizedCallbackUserData);
  10458. }
  10459. return 0;
  10460. }),
  10461. fillPointerlockChangeEventData: (function(eventStruct, e) {
  10462. var pointerLockElement = document.pointerLockElement || document.mozPointerLockElement || document.webkitPointerLockElement || document.msPointerLockElement;
  10463. var isPointerlocked = !!pointerLockElement;
  10464. HEAP32[eventStruct >> 2] = isPointerlocked;
  10465. var nodeName = JSEvents.getNodeNameForTarget(pointerLockElement);
  10466. var id = pointerLockElement && pointerLockElement.id ? pointerLockElement.id : "";
  10467. stringToUTF8(nodeName, eventStruct + 4, 128);
  10468. stringToUTF8(id, eventStruct + 132, 128);
  10469. }),
  10470. registerPointerlockChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10471. if (!JSEvents.pointerlockChangeEvent) JSEvents.pointerlockChangeEvent = _malloc(260);
  10472. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10473. var pointerlockChangeEventHandlerFunc = (function(event) {
  10474. var e = event || window.event;
  10475. var pointerlockChangeEvent = JSEvents.pointerlockChangeEvent;
  10476. JSEvents.fillPointerlockChangeEventData(pointerlockChangeEvent, e);
  10477. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, pointerlockChangeEvent, userData)) e.preventDefault();
  10478. });
  10479. var eventHandler = {
  10480. target: target,
  10481. allowsDeferredCalls: false,
  10482. eventTypeString: eventTypeString,
  10483. callbackfunc: callbackfunc,
  10484. handlerFunc: pointerlockChangeEventHandlerFunc,
  10485. useCapture: useCapture
  10486. };
  10487. JSEvents.registerOrRemoveHandler(eventHandler);
  10488. }),
  10489. registerPointerlockErrorEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10490. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10491. var pointerlockErrorEventHandlerFunc = (function(event) {
  10492. var e = event || window.event;
  10493. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10494. });
  10495. var eventHandler = {
  10496. target: target,
  10497. allowsDeferredCalls: false,
  10498. eventTypeString: eventTypeString,
  10499. callbackfunc: callbackfunc,
  10500. handlerFunc: pointerlockErrorEventHandlerFunc,
  10501. useCapture: useCapture
  10502. };
  10503. JSEvents.registerOrRemoveHandler(eventHandler);
  10504. }),
  10505. requestPointerLock: (function(target) {
  10506. if (target.requestPointerLock) {
  10507. target.requestPointerLock();
  10508. } else if (target.mozRequestPointerLock) {
  10509. target.mozRequestPointerLock();
  10510. } else if (target.webkitRequestPointerLock) {
  10511. target.webkitRequestPointerLock();
  10512. } else if (target.msRequestPointerLock) {
  10513. target.msRequestPointerLock();
  10514. } else {
  10515. if (document.body.requestPointerLock || document.body.mozRequestPointerLock || document.body.webkitRequestPointerLock || document.body.msRequestPointerLock) {
  10516. return -3;
  10517. } else {
  10518. return -1;
  10519. }
  10520. }
  10521. return 0;
  10522. }),
  10523. fillVisibilityChangeEventData: (function(eventStruct, e) {
  10524. var visibilityStates = [ "hidden", "visible", "prerender", "unloaded" ];
  10525. var visibilityState = visibilityStates.indexOf(document.visibilityState);
  10526. HEAP32[eventStruct >> 2] = document.hidden;
  10527. HEAP32[eventStruct + 4 >> 2] = visibilityState;
  10528. }),
  10529. registerVisibilityChangeEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10530. if (!JSEvents.visibilityChangeEvent) JSEvents.visibilityChangeEvent = _malloc(8);
  10531. if (!target) target = document; else target = JSEvents.findEventTarget(target);
  10532. var visibilityChangeEventHandlerFunc = (function(event) {
  10533. var e = event || window.event;
  10534. var visibilityChangeEvent = JSEvents.visibilityChangeEvent;
  10535. JSEvents.fillVisibilityChangeEventData(visibilityChangeEvent, e);
  10536. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, visibilityChangeEvent, userData)) e.preventDefault();
  10537. });
  10538. var eventHandler = {
  10539. target: target,
  10540. allowsDeferredCalls: false,
  10541. eventTypeString: eventTypeString,
  10542. callbackfunc: callbackfunc,
  10543. handlerFunc: visibilityChangeEventHandlerFunc,
  10544. useCapture: useCapture
  10545. };
  10546. JSEvents.registerOrRemoveHandler(eventHandler);
  10547. }),
  10548. registerTouchEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10549. if (!JSEvents.touchEvent) JSEvents.touchEvent = _malloc(1684);
  10550. target = JSEvents.findEventTarget(target);
  10551. var touchEventHandlerFunc = (function(event) {
  10552. var e = event || window.event;
  10553. var touches = {};
  10554. for (var i = 0; i < e.touches.length; ++i) {
  10555. var touch = e.touches[i];
  10556. touches[touch.identifier] = touch;
  10557. }
  10558. for (var i = 0; i < e.changedTouches.length; ++i) {
  10559. var touch = e.changedTouches[i];
  10560. touches[touch.identifier] = touch;
  10561. touch.changed = true;
  10562. }
  10563. for (var i = 0; i < e.targetTouches.length; ++i) {
  10564. var touch = e.targetTouches[i];
  10565. touches[touch.identifier].onTarget = true;
  10566. }
  10567. var touchEvent = JSEvents.touchEvent;
  10568. var ptr = touchEvent;
  10569. HEAP32[ptr + 4 >> 2] = e.ctrlKey;
  10570. HEAP32[ptr + 8 >> 2] = e.shiftKey;
  10571. HEAP32[ptr + 12 >> 2] = e.altKey;
  10572. HEAP32[ptr + 16 >> 2] = e.metaKey;
  10573. ptr += 20;
  10574. var canvasRect = Module["canvas"] ? Module["canvas"].getBoundingClientRect() : undefined;
  10575. var targetRect = JSEvents.getBoundingClientRectOrZeros(target);
  10576. var numTouches = 0;
  10577. for (var i in touches) {
  10578. var t = touches[i];
  10579. HEAP32[ptr >> 2] = t.identifier;
  10580. HEAP32[ptr + 4 >> 2] = t.screenX;
  10581. HEAP32[ptr + 8 >> 2] = t.screenY;
  10582. HEAP32[ptr + 12 >> 2] = t.clientX;
  10583. HEAP32[ptr + 16 >> 2] = t.clientY;
  10584. HEAP32[ptr + 20 >> 2] = t.pageX;
  10585. HEAP32[ptr + 24 >> 2] = t.pageY;
  10586. HEAP32[ptr + 28 >> 2] = t.changed;
  10587. HEAP32[ptr + 32 >> 2] = t.onTarget;
  10588. if (canvasRect) {
  10589. HEAP32[ptr + 44 >> 2] = t.clientX - canvasRect.left;
  10590. HEAP32[ptr + 48 >> 2] = t.clientY - canvasRect.top;
  10591. } else {
  10592. HEAP32[ptr + 44 >> 2] = 0;
  10593. HEAP32[ptr + 48 >> 2] = 0;
  10594. }
  10595. HEAP32[ptr + 36 >> 2] = t.clientX - targetRect.left;
  10596. HEAP32[ptr + 40 >> 2] = t.clientY - targetRect.top;
  10597. ptr += 52;
  10598. if (++numTouches >= 32) {
  10599. break;
  10600. }
  10601. }
  10602. HEAP32[touchEvent >> 2] = numTouches;
  10603. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, touchEvent, userData)) e.preventDefault();
  10604. });
  10605. var eventHandler = {
  10606. target: target,
  10607. allowsDeferredCalls: eventTypeString == "touchstart" || eventTypeString == "touchend",
  10608. eventTypeString: eventTypeString,
  10609. callbackfunc: callbackfunc,
  10610. handlerFunc: touchEventHandlerFunc,
  10611. useCapture: useCapture
  10612. };
  10613. JSEvents.registerOrRemoveHandler(eventHandler);
  10614. }),
  10615. fillGamepadEventData: (function(eventStruct, e) {
  10616. HEAPF64[eventStruct >> 3] = e.timestamp;
  10617. for (var i = 0; i < e.axes.length; ++i) {
  10618. HEAPF64[eventStruct + i * 8 + 16 >> 3] = e.axes[i];
  10619. }
  10620. for (var i = 0; i < e.buttons.length; ++i) {
  10621. if (typeof e.buttons[i] === "object") {
  10622. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i].value;
  10623. } else {
  10624. HEAPF64[eventStruct + i * 8 + 528 >> 3] = e.buttons[i];
  10625. }
  10626. }
  10627. for (var i = 0; i < e.buttons.length; ++i) {
  10628. if (typeof e.buttons[i] === "object") {
  10629. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i].pressed;
  10630. } else {
  10631. HEAP32[eventStruct + i * 4 + 1040 >> 2] = e.buttons[i] == 1;
  10632. }
  10633. }
  10634. HEAP32[eventStruct + 1296 >> 2] = e.connected;
  10635. HEAP32[eventStruct + 1300 >> 2] = e.index;
  10636. HEAP32[eventStruct + 8 >> 2] = e.axes.length;
  10637. HEAP32[eventStruct + 12 >> 2] = e.buttons.length;
  10638. stringToUTF8(e.id, eventStruct + 1304, 64);
  10639. stringToUTF8(e.mapping, eventStruct + 1368, 64);
  10640. }),
  10641. registerGamepadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10642. if (!JSEvents.gamepadEvent) JSEvents.gamepadEvent = _malloc(1432);
  10643. var gamepadEventHandlerFunc = (function(event) {
  10644. var e = event || window.event;
  10645. var gamepadEvent = JSEvents.gamepadEvent;
  10646. JSEvents.fillGamepadEventData(gamepadEvent, e.gamepad);
  10647. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, gamepadEvent, userData)) e.preventDefault();
  10648. });
  10649. var eventHandler = {
  10650. target: JSEvents.findEventTarget(target),
  10651. allowsDeferredCalls: true,
  10652. eventTypeString: eventTypeString,
  10653. callbackfunc: callbackfunc,
  10654. handlerFunc: gamepadEventHandlerFunc,
  10655. useCapture: useCapture
  10656. };
  10657. JSEvents.registerOrRemoveHandler(eventHandler);
  10658. }),
  10659. registerBeforeUnloadEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) {
  10660. var beforeUnloadEventHandlerFunc = (function(event) {
  10661. var e = event || window.event;
  10662. var confirmationMessage = Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData);
  10663. if (confirmationMessage) {
  10664. confirmationMessage = Pointer_stringify(confirmationMessage);
  10665. }
  10666. if (confirmationMessage) {
  10667. e.preventDefault();
  10668. e.returnValue = confirmationMessage;
  10669. return confirmationMessage;
  10670. }
  10671. });
  10672. var eventHandler = {
  10673. target: JSEvents.findEventTarget(target),
  10674. allowsDeferredCalls: false,
  10675. eventTypeString: eventTypeString,
  10676. callbackfunc: callbackfunc,
  10677. handlerFunc: beforeUnloadEventHandlerFunc,
  10678. useCapture: useCapture
  10679. };
  10680. JSEvents.registerOrRemoveHandler(eventHandler);
  10681. }),
  10682. battery: (function() {
  10683. return navigator.battery || navigator.mozBattery || navigator.webkitBattery;
  10684. }),
  10685. fillBatteryEventData: (function(eventStruct, e) {
  10686. HEAPF64[eventStruct >> 3] = e.chargingTime;
  10687. HEAPF64[eventStruct + 8 >> 3] = e.dischargingTime;
  10688. HEAPF64[eventStruct + 16 >> 3] = e.level;
  10689. HEAP32[eventStruct + 24 >> 2] = e.charging;
  10690. }),
  10691. registerBatteryEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10692. if (!JSEvents.batteryEvent) JSEvents.batteryEvent = _malloc(32);
  10693. var batteryEventHandlerFunc = (function(event) {
  10694. var e = event || window.event;
  10695. var batteryEvent = JSEvents.batteryEvent;
  10696. JSEvents.fillBatteryEventData(batteryEvent, JSEvents.battery());
  10697. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, batteryEvent, userData)) e.preventDefault();
  10698. });
  10699. var eventHandler = {
  10700. target: JSEvents.findEventTarget(target),
  10701. allowsDeferredCalls: false,
  10702. eventTypeString: eventTypeString,
  10703. callbackfunc: callbackfunc,
  10704. handlerFunc: batteryEventHandlerFunc,
  10705. useCapture: useCapture
  10706. };
  10707. JSEvents.registerOrRemoveHandler(eventHandler);
  10708. }),
  10709. registerWebGlEventCallback: (function(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread) {
  10710. if (!target) target = Module["canvas"];
  10711. var webGlEventHandlerFunc = (function(event) {
  10712. var e = event || window.event;
  10713. if (Module["dynCall_iiii"](callbackfunc, eventTypeId, 0, userData)) e.preventDefault();
  10714. });
  10715. var eventHandler = {
  10716. target: JSEvents.findEventTarget(target),
  10717. allowsDeferredCalls: false,
  10718. eventTypeString: eventTypeString,
  10719. callbackfunc: callbackfunc,
  10720. handlerFunc: webGlEventHandlerFunc,
  10721. useCapture: useCapture
  10722. };
  10723. JSEvents.registerOrRemoveHandler(eventHandler);
  10724. })
  10725. };
  10726. var __currentFullscreenStrategy = {};
  10727. function _emscripten_exit_fullscreen() {
  10728. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10729. JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);
  10730. if (document.exitFullscreen) {
  10731. document.exitFullscreen();
  10732. } else if (document.msExitFullscreen) {
  10733. document.msExitFullscreen();
  10734. } else if (document.mozCancelFullScreen) {
  10735. document.mozCancelFullScreen();
  10736. } else if (document.webkitExitFullscreen) {
  10737. document.webkitExitFullscreen();
  10738. } else {
  10739. return -1;
  10740. }
  10741. if (__currentFullscreenStrategy.canvasResizedCallback) {
  10742. Module["dynCall_iiii"](__currentFullscreenStrategy.canvasResizedCallback, 37, 0, __currentFullscreenStrategy.canvasResizedCallbackUserData);
  10743. }
  10744. return 0;
  10745. }
  10746. function _emscripten_exit_pointerlock() {
  10747. JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);
  10748. if (document.exitPointerLock) {
  10749. document.exitPointerLock();
  10750. } else if (document.msExitPointerLock) {
  10751. document.msExitPointerLock();
  10752. } else if (document.mozExitPointerLock) {
  10753. document.mozExitPointerLock();
  10754. } else if (document.webkitExitPointerLock) {
  10755. document.webkitExitPointerLock();
  10756. } else {
  10757. return -1;
  10758. }
  10759. return 0;
  10760. }
  10761. function _emscripten_get_fullscreen_status(fullscreenStatus) {
  10762. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  10763. JSEvents.fillFullscreenChangeEventData(fullscreenStatus);
  10764. return 0;
  10765. }
  10766. function __emscripten_sample_gamepad_data() {
  10767. if (!JSEvents.numGamepadsConnected) return;
  10768. if (Browser.mainLoop.currentFrameNumber !== JSEvents.lastGamepadStateFrame || !Browser.mainLoop.currentFrameNumber) {
  10769. JSEvents.lastGamepadState = navigator.getGamepads ? navigator.getGamepads() : navigator.webkitGetGamepads ? navigator.webkitGetGamepads : null;
  10770. JSEvents.lastGamepadStateFrame = Browser.mainLoop.currentFrameNumber;
  10771. }
  10772. }
  10773. function _emscripten_get_gamepad_status(index, gamepadState) {
  10774. __emscripten_sample_gamepad_data();
  10775. if (!JSEvents.lastGamepadState) return -1;
  10776. if (index < 0 || index >= JSEvents.lastGamepadState.length) return -5;
  10777. if (!JSEvents.lastGamepadState[index]) return -7;
  10778. JSEvents.fillGamepadEventData(gamepadState, JSEvents.lastGamepadState[index]);
  10779. return 0;
  10780. }
  10781. function _emscripten_get_main_loop_timing(mode, value) {
  10782. if (mode) HEAP32[mode >> 2] = Browser.mainLoop.timingMode;
  10783. if (value) HEAP32[value >> 2] = Browser.mainLoop.timingValue;
  10784. }
  10785. function _emscripten_get_num_gamepads() {
  10786. if (!JSEvents.numGamepadsConnected) return 0;
  10787. __emscripten_sample_gamepad_data();
  10788. if (!JSEvents.lastGamepadState) return -1;
  10789. return JSEvents.lastGamepadState.length;
  10790. }
  10791. function _emscripten_has_threading_support() {
  10792. return 0;
  10793. }
  10794. function _emscripten_html5_remove_all_event_listeners() {
  10795. JSEvents.removeAllEventListeners();
  10796. }
  10797. function _emscripten_is_webgl_context_lost(target) {
  10798. if (!Module.ctx) return true;
  10799. return Module.ctx.isContextLost();
  10800. }
  10801. function __reallyNegative(x) {
  10802. return x < 0 || x === 0 && 1 / x === -Infinity;
  10803. }
  10804. function __formatString(format, varargs) {
  10805. assert((varargs & 3) === 0);
  10806. var textIndex = format;
  10807. var argIndex = varargs;
  10808. function prepVararg(ptr, type) {
  10809. if (type === "double" || type === "i64") {
  10810. if (ptr & 7) {
  10811. assert((ptr & 7) === 4);
  10812. ptr += 4;
  10813. }
  10814. } else {
  10815. assert((ptr & 3) === 0);
  10816. }
  10817. return ptr;
  10818. }
  10819. function getNextArg(type) {
  10820. var ret;
  10821. argIndex = prepVararg(argIndex, type);
  10822. if (type === "double") {
  10823. ret = HEAPF64[argIndex >> 3];
  10824. argIndex += 8;
  10825. } else if (type == "i64") {
  10826. ret = [ HEAP32[argIndex >> 2], HEAP32[argIndex + 4 >> 2] ];
  10827. argIndex += 8;
  10828. } else {
  10829. assert((argIndex & 3) === 0);
  10830. type = "i32";
  10831. ret = HEAP32[argIndex >> 2];
  10832. argIndex += 4;
  10833. }
  10834. return ret;
  10835. }
  10836. var ret = [];
  10837. var curr, next, currArg;
  10838. while (1) {
  10839. var startTextIndex = textIndex;
  10840. curr = HEAP8[textIndex >> 0];
  10841. if (curr === 0) break;
  10842. next = HEAP8[textIndex + 1 >> 0];
  10843. if (curr == 37) {
  10844. var flagAlwaysSigned = false;
  10845. var flagLeftAlign = false;
  10846. var flagAlternative = false;
  10847. var flagZeroPad = false;
  10848. var flagPadSign = false;
  10849. flagsLoop : while (1) {
  10850. switch (next) {
  10851. case 43:
  10852. flagAlwaysSigned = true;
  10853. break;
  10854. case 45:
  10855. flagLeftAlign = true;
  10856. break;
  10857. case 35:
  10858. flagAlternative = true;
  10859. break;
  10860. case 48:
  10861. if (flagZeroPad) {
  10862. break flagsLoop;
  10863. } else {
  10864. flagZeroPad = true;
  10865. break;
  10866. }
  10867. case 32:
  10868. flagPadSign = true;
  10869. break;
  10870. default:
  10871. break flagsLoop;
  10872. }
  10873. textIndex++;
  10874. next = HEAP8[textIndex + 1 >> 0];
  10875. }
  10876. var width = 0;
  10877. if (next == 42) {
  10878. width = getNextArg("i32");
  10879. textIndex++;
  10880. next = HEAP8[textIndex + 1 >> 0];
  10881. } else {
  10882. while (next >= 48 && next <= 57) {
  10883. width = width * 10 + (next - 48);
  10884. textIndex++;
  10885. next = HEAP8[textIndex + 1 >> 0];
  10886. }
  10887. }
  10888. var precisionSet = false, precision = -1;
  10889. if (next == 46) {
  10890. precision = 0;
  10891. precisionSet = true;
  10892. textIndex++;
  10893. next = HEAP8[textIndex + 1 >> 0];
  10894. if (next == 42) {
  10895. precision = getNextArg("i32");
  10896. textIndex++;
  10897. } else {
  10898. while (1) {
  10899. var precisionChr = HEAP8[textIndex + 1 >> 0];
  10900. if (precisionChr < 48 || precisionChr > 57) break;
  10901. precision = precision * 10 + (precisionChr - 48);
  10902. textIndex++;
  10903. }
  10904. }
  10905. next = HEAP8[textIndex + 1 >> 0];
  10906. }
  10907. if (precision < 0) {
  10908. precision = 6;
  10909. precisionSet = false;
  10910. }
  10911. var argSize;
  10912. switch (String.fromCharCode(next)) {
  10913. case "h":
  10914. var nextNext = HEAP8[textIndex + 2 >> 0];
  10915. if (nextNext == 104) {
  10916. textIndex++;
  10917. argSize = 1;
  10918. } else {
  10919. argSize = 2;
  10920. }
  10921. break;
  10922. case "l":
  10923. var nextNext = HEAP8[textIndex + 2 >> 0];
  10924. if (nextNext == 108) {
  10925. textIndex++;
  10926. argSize = 8;
  10927. } else {
  10928. argSize = 4;
  10929. }
  10930. break;
  10931. case "L":
  10932. case "q":
  10933. case "j":
  10934. argSize = 8;
  10935. break;
  10936. case "z":
  10937. case "t":
  10938. case "I":
  10939. argSize = 4;
  10940. break;
  10941. default:
  10942. argSize = null;
  10943. }
  10944. if (argSize) textIndex++;
  10945. next = HEAP8[textIndex + 1 >> 0];
  10946. switch (String.fromCharCode(next)) {
  10947. case "d":
  10948. case "i":
  10949. case "u":
  10950. case "o":
  10951. case "x":
  10952. case "X":
  10953. case "p":
  10954. {
  10955. var signed = next == 100 || next == 105;
  10956. argSize = argSize || 4;
  10957. currArg = getNextArg("i" + argSize * 8);
  10958. var origArg = currArg;
  10959. var argText;
  10960. if (argSize == 8) {
  10961. currArg = makeBigInt(currArg[0], currArg[1], next == 117);
  10962. }
  10963. if (argSize <= 4) {
  10964. var limit = Math.pow(256, argSize) - 1;
  10965. currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8);
  10966. }
  10967. var currAbsArg = Math.abs(currArg);
  10968. var prefix = "";
  10969. if (next == 100 || next == 105) {
  10970. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], null); else argText = reSign(currArg, 8 * argSize, 1).toString(10);
  10971. } else if (next == 117) {
  10972. if (argSize == 8 && typeof i64Math === "object") argText = i64Math.stringify(origArg[0], origArg[1], true); else argText = unSign(currArg, 8 * argSize, 1).toString(10);
  10973. currArg = Math.abs(currArg);
  10974. } else if (next == 111) {
  10975. argText = (flagAlternative ? "0" : "") + currAbsArg.toString(8);
  10976. } else if (next == 120 || next == 88) {
  10977. prefix = flagAlternative && currArg != 0 ? "0x" : "";
  10978. if (argSize == 8 && typeof i64Math === "object") {
  10979. if (origArg[1]) {
  10980. argText = (origArg[1] >>> 0).toString(16);
  10981. var lower = (origArg[0] >>> 0).toString(16);
  10982. while (lower.length < 8) lower = "0" + lower;
  10983. argText += lower;
  10984. } else {
  10985. argText = (origArg[0] >>> 0).toString(16);
  10986. }
  10987. } else if (currArg < 0) {
  10988. currArg = -currArg;
  10989. argText = (currAbsArg - 1).toString(16);
  10990. var buffer = [];
  10991. for (var i = 0; i < argText.length; i++) {
  10992. buffer.push((15 - parseInt(argText[i], 16)).toString(16));
  10993. }
  10994. argText = buffer.join("");
  10995. while (argText.length < argSize * 2) argText = "f" + argText;
  10996. } else {
  10997. argText = currAbsArg.toString(16);
  10998. }
  10999. if (next == 88) {
  11000. prefix = prefix.toUpperCase();
  11001. argText = argText.toUpperCase();
  11002. }
  11003. } else if (next == 112) {
  11004. if (currAbsArg === 0) {
  11005. argText = "(nil)";
  11006. } else {
  11007. prefix = "0x";
  11008. argText = currAbsArg.toString(16);
  11009. }
  11010. }
  11011. if (precisionSet) {
  11012. while (argText.length < precision) {
  11013. argText = "0" + argText;
  11014. }
  11015. }
  11016. if (currArg >= 0) {
  11017. if (flagAlwaysSigned) {
  11018. prefix = "+" + prefix;
  11019. } else if (flagPadSign) {
  11020. prefix = " " + prefix;
  11021. }
  11022. }
  11023. if (argText.charAt(0) == "-") {
  11024. prefix = "-" + prefix;
  11025. argText = argText.substr(1);
  11026. }
  11027. while (prefix.length + argText.length < width) {
  11028. if (flagLeftAlign) {
  11029. argText += " ";
  11030. } else {
  11031. if (flagZeroPad) {
  11032. argText = "0" + argText;
  11033. } else {
  11034. prefix = " " + prefix;
  11035. }
  11036. }
  11037. }
  11038. argText = prefix + argText;
  11039. argText.split("").forEach((function(chr) {
  11040. ret.push(chr.charCodeAt(0));
  11041. }));
  11042. break;
  11043. }
  11044. case "f":
  11045. case "F":
  11046. case "e":
  11047. case "E":
  11048. case "g":
  11049. case "G":
  11050. {
  11051. currArg = getNextArg("double");
  11052. var argText;
  11053. if (isNaN(currArg)) {
  11054. argText = "nan";
  11055. flagZeroPad = false;
  11056. } else if (!isFinite(currArg)) {
  11057. argText = (currArg < 0 ? "-" : "") + "inf";
  11058. flagZeroPad = false;
  11059. } else {
  11060. var isGeneral = false;
  11061. var effectivePrecision = Math.min(precision, 20);
  11062. if (next == 103 || next == 71) {
  11063. isGeneral = true;
  11064. precision = precision || 1;
  11065. var exponent = parseInt(currArg.toExponential(effectivePrecision).split("e")[1], 10);
  11066. if (precision > exponent && exponent >= -4) {
  11067. next = (next == 103 ? "f" : "F").charCodeAt(0);
  11068. precision -= exponent + 1;
  11069. } else {
  11070. next = (next == 103 ? "e" : "E").charCodeAt(0);
  11071. precision--;
  11072. }
  11073. effectivePrecision = Math.min(precision, 20);
  11074. }
  11075. if (next == 101 || next == 69) {
  11076. argText = currArg.toExponential(effectivePrecision);
  11077. if (/[eE][-+]\d$/.test(argText)) {
  11078. argText = argText.slice(0, -1) + "0" + argText.slice(-1);
  11079. }
  11080. } else if (next == 102 || next == 70) {
  11081. argText = currArg.toFixed(effectivePrecision);
  11082. if (currArg === 0 && __reallyNegative(currArg)) {
  11083. argText = "-" + argText;
  11084. }
  11085. }
  11086. var parts = argText.split("e");
  11087. if (isGeneral && !flagAlternative) {
  11088. while (parts[0].length > 1 && parts[0].indexOf(".") != -1 && (parts[0].slice(-1) == "0" || parts[0].slice(-1) == ".")) {
  11089. parts[0] = parts[0].slice(0, -1);
  11090. }
  11091. } else {
  11092. if (flagAlternative && argText.indexOf(".") == -1) parts[0] += ".";
  11093. while (precision > effectivePrecision++) parts[0] += "0";
  11094. }
  11095. argText = parts[0] + (parts.length > 1 ? "e" + parts[1] : "");
  11096. if (next == 69) argText = argText.toUpperCase();
  11097. if (currArg >= 0) {
  11098. if (flagAlwaysSigned) {
  11099. argText = "+" + argText;
  11100. } else if (flagPadSign) {
  11101. argText = " " + argText;
  11102. }
  11103. }
  11104. }
  11105. while (argText.length < width) {
  11106. if (flagLeftAlign) {
  11107. argText += " ";
  11108. } else {
  11109. if (flagZeroPad && (argText[0] == "-" || argText[0] == "+")) {
  11110. argText = argText[0] + "0" + argText.slice(1);
  11111. } else {
  11112. argText = (flagZeroPad ? "0" : " ") + argText;
  11113. }
  11114. }
  11115. }
  11116. if (next < 97) argText = argText.toUpperCase();
  11117. argText.split("").forEach((function(chr) {
  11118. ret.push(chr.charCodeAt(0));
  11119. }));
  11120. break;
  11121. }
  11122. case "s":
  11123. {
  11124. var arg = getNextArg("i8*");
  11125. var argLength = arg ? _strlen(arg) : "(null)".length;
  11126. if (precisionSet) argLength = Math.min(argLength, precision);
  11127. if (!flagLeftAlign) {
  11128. while (argLength < width--) {
  11129. ret.push(32);
  11130. }
  11131. }
  11132. if (arg) {
  11133. for (var i = 0; i < argLength; i++) {
  11134. ret.push(HEAPU8[arg++ >> 0]);
  11135. }
  11136. } else {
  11137. ret = ret.concat(intArrayFromString("(null)".substr(0, argLength), true));
  11138. }
  11139. if (flagLeftAlign) {
  11140. while (argLength < width--) {
  11141. ret.push(32);
  11142. }
  11143. }
  11144. break;
  11145. }
  11146. case "c":
  11147. {
  11148. if (flagLeftAlign) ret.push(getNextArg("i8"));
  11149. while (--width > 0) {
  11150. ret.push(32);
  11151. }
  11152. if (!flagLeftAlign) ret.push(getNextArg("i8"));
  11153. break;
  11154. }
  11155. case "n":
  11156. {
  11157. var ptr = getNextArg("i32*");
  11158. HEAP32[ptr >> 2] = ret.length;
  11159. break;
  11160. }
  11161. case "%":
  11162. {
  11163. ret.push(curr);
  11164. break;
  11165. }
  11166. default:
  11167. {
  11168. for (var i = startTextIndex; i < textIndex + 2; i++) {
  11169. ret.push(HEAP8[i >> 0]);
  11170. }
  11171. }
  11172. }
  11173. textIndex += 2;
  11174. } else {
  11175. ret.push(curr);
  11176. textIndex += 1;
  11177. }
  11178. }
  11179. return ret;
  11180. }
  11181. function __emscripten_traverse_stack(args) {
  11182. if (!args || !args.callee || !args.callee.name) {
  11183. return [ null, "", "" ];
  11184. }
  11185. var funstr = args.callee.toString();
  11186. var funcname = args.callee.name;
  11187. var str = "(";
  11188. var first = true;
  11189. for (var i in args) {
  11190. var a = args[i];
  11191. if (!first) {
  11192. str += ", ";
  11193. }
  11194. first = false;
  11195. if (typeof a === "number" || typeof a === "string") {
  11196. str += a;
  11197. } else {
  11198. str += "(" + typeof a + ")";
  11199. }
  11200. }
  11201. str += ")";
  11202. var caller = args.callee.caller;
  11203. args = caller ? caller.arguments : [];
  11204. if (first) str = "";
  11205. return [ args, funcname, str ];
  11206. }
  11207. function _emscripten_get_callstack_js(flags) {
  11208. var callstack = jsStackTrace();
  11209. var iThisFunc = callstack.lastIndexOf("_emscripten_log");
  11210. var iThisFunc2 = callstack.lastIndexOf("_emscripten_get_callstack");
  11211. var iNextLine = callstack.indexOf("\n", Math.max(iThisFunc, iThisFunc2)) + 1;
  11212. callstack = callstack.slice(iNextLine);
  11213. if (flags & 8 && typeof emscripten_source_map === "undefined") {
  11214. 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.');
  11215. flags ^= 8;
  11216. flags |= 16;
  11217. }
  11218. var stack_args = null;
  11219. if (flags & 128) {
  11220. stack_args = __emscripten_traverse_stack(arguments);
  11221. while (stack_args[1].indexOf("_emscripten_") >= 0) stack_args = __emscripten_traverse_stack(stack_args[0]);
  11222. }
  11223. var lines = callstack.split("\n");
  11224. callstack = "";
  11225. var newFirefoxRe = new RegExp("\\s*(.*?)@(.*?):([0-9]+):([0-9]+)");
  11226. var firefoxRe = new RegExp("\\s*(.*?)@(.*):(.*)(:(.*))?");
  11227. var chromeRe = new RegExp("\\s*at (.*?) \\((.*):(.*):(.*)\\)");
  11228. for (var l in lines) {
  11229. var line = lines[l];
  11230. var jsSymbolName = "";
  11231. var file = "";
  11232. var lineno = 0;
  11233. var column = 0;
  11234. var parts = chromeRe.exec(line);
  11235. if (parts && parts.length == 5) {
  11236. jsSymbolName = parts[1];
  11237. file = parts[2];
  11238. lineno = parts[3];
  11239. column = parts[4];
  11240. } else {
  11241. parts = newFirefoxRe.exec(line);
  11242. if (!parts) parts = firefoxRe.exec(line);
  11243. if (parts && parts.length >= 4) {
  11244. jsSymbolName = parts[1];
  11245. file = parts[2];
  11246. lineno = parts[3];
  11247. column = parts[4] | 0;
  11248. } else {
  11249. callstack += line + "\n";
  11250. continue;
  11251. }
  11252. }
  11253. var cSymbolName = flags & 32 ? demangle(jsSymbolName) : jsSymbolName;
  11254. if (!cSymbolName) {
  11255. cSymbolName = jsSymbolName;
  11256. }
  11257. var haveSourceMap = false;
  11258. if (flags & 8) {
  11259. var orig = emscripten_source_map.originalPositionFor({
  11260. line: lineno,
  11261. column: column
  11262. });
  11263. haveSourceMap = orig && orig.source;
  11264. if (haveSourceMap) {
  11265. if (flags & 64) {
  11266. orig.source = orig.source.substring(orig.source.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11267. }
  11268. callstack += " at " + cSymbolName + " (" + orig.source + ":" + orig.line + ":" + orig.column + ")\n";
  11269. }
  11270. }
  11271. if (flags & 16 || !haveSourceMap) {
  11272. if (flags & 64) {
  11273. file = file.substring(file.replace(/\\/g, "/").lastIndexOf("/") + 1);
  11274. }
  11275. callstack += (haveSourceMap ? " = " + jsSymbolName : " at " + cSymbolName) + " (" + file + ":" + lineno + ":" + column + ")\n";
  11276. }
  11277. if (flags & 128 && stack_args[0]) {
  11278. if (stack_args[1] == jsSymbolName && stack_args[2].length > 0) {
  11279. callstack = callstack.replace(/\s+$/, "");
  11280. callstack += " with values: " + stack_args[1] + stack_args[2] + "\n";
  11281. }
  11282. stack_args = __emscripten_traverse_stack(stack_args[0]);
  11283. }
  11284. }
  11285. callstack = callstack.replace(/\s+$/, "");
  11286. return callstack;
  11287. }
  11288. function _emscripten_log_js(flags, str) {
  11289. if (flags & 24) {
  11290. str = str.replace(/\s+$/, "");
  11291. str += (str.length > 0 ? "\n" : "") + _emscripten_get_callstack_js(flags);
  11292. }
  11293. if (flags & 1) {
  11294. if (flags & 4) {
  11295. console.error(str);
  11296. } else if (flags & 2) {
  11297. console.warn(str);
  11298. } else {
  11299. console.log(str);
  11300. }
  11301. } else if (flags & 6) {
  11302. err(str);
  11303. } else {
  11304. out(str);
  11305. }
  11306. }
  11307. function _emscripten_log(flags, varargs) {
  11308. var format = HEAP32[varargs >> 2];
  11309. varargs += 4;
  11310. var str = "";
  11311. if (format) {
  11312. var result = __formatString(format, varargs);
  11313. for (var i = 0; i < result.length; ++i) {
  11314. str += String.fromCharCode(result[i]);
  11315. }
  11316. }
  11317. _emscripten_log_js(flags, str);
  11318. }
  11319. function _emscripten_num_logical_cores() {
  11320. return 1;
  11321. }
  11322. function __setLetterbox(element, topBottom, leftRight) {
  11323. if (JSEvents.isInternetExplorer()) {
  11324. element.style.marginLeft = element.style.marginRight = leftRight + "px";
  11325. element.style.marginTop = element.style.marginBottom = topBottom + "px";
  11326. } else {
  11327. element.style.paddingLeft = element.style.paddingRight = leftRight + "px";
  11328. element.style.paddingTop = element.style.paddingBottom = topBottom + "px";
  11329. }
  11330. }
  11331. function __emscripten_do_request_fullscreen(target, strategy) {
  11332. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11333. if (!JSEvents.fullscreenEnabled()) return -3;
  11334. if (!target) target = "#canvas";
  11335. target = JSEvents.findEventTarget(target);
  11336. if (!target) return -4;
  11337. if (!target.requestFullscreen && !target.msRequestFullscreen && !target.mozRequestFullScreen && !target.mozRequestFullscreen && !target.webkitRequestFullscreen) {
  11338. return -3;
  11339. }
  11340. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11341. if (!canPerformRequests) {
  11342. if (strategy.deferUntilInEventHandler) {
  11343. JSEvents.deferCall(JSEvents.requestFullscreen, 1, [ target, strategy ]);
  11344. return 1;
  11345. } else {
  11346. return -2;
  11347. }
  11348. }
  11349. return JSEvents.requestFullscreen(target, strategy);
  11350. }
  11351. function _emscripten_request_fullscreen(target, deferUntilInEventHandler) {
  11352. var strategy = {};
  11353. strategy.scaleMode = 0;
  11354. strategy.canvasResolutionScaleMode = 0;
  11355. strategy.filteringMode = 0;
  11356. strategy.deferUntilInEventHandler = deferUntilInEventHandler;
  11357. strategy.canvasResizedCallbackTargetThread = 2;
  11358. return __emscripten_do_request_fullscreen(target, strategy);
  11359. }
  11360. function _emscripten_request_pointerlock(target, deferUntilInEventHandler) {
  11361. if (!target) target = "#canvas";
  11362. target = JSEvents.findEventTarget(target);
  11363. if (!target) return -4;
  11364. if (!target.requestPointerLock && !target.mozRequestPointerLock && !target.webkitRequestPointerLock && !target.msRequestPointerLock) {
  11365. return -1;
  11366. }
  11367. var canPerformRequests = JSEvents.canPerformEventHandlerRequests();
  11368. if (!canPerformRequests) {
  11369. if (deferUntilInEventHandler) {
  11370. JSEvents.deferCall(JSEvents.requestPointerLock, 2, [ target ]);
  11371. return 1;
  11372. } else {
  11373. return -2;
  11374. }
  11375. }
  11376. return JSEvents.requestPointerLock(target);
  11377. }
  11378. function _emscripten_set_blur_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11379. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 12, "blur", targetThread);
  11380. return 0;
  11381. }
  11382. function _emscripten_set_dblclick_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11383. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 7, "dblclick", targetThread);
  11384. return 0;
  11385. }
  11386. function _emscripten_set_devicemotion_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11387. JSEvents.registerDeviceMotionEventCallback(window, userData, useCapture, callbackfunc, 17, "devicemotion", targetThread);
  11388. return 0;
  11389. }
  11390. function _emscripten_set_deviceorientation_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11391. JSEvents.registerDeviceOrientationEventCallback(window, userData, useCapture, callbackfunc, 16, "deviceorientation", targetThread);
  11392. return 0;
  11393. }
  11394. function _emscripten_set_focus_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11395. JSEvents.registerFocusEventCallback(target, userData, useCapture, callbackfunc, 13, "focus", targetThread);
  11396. return 0;
  11397. }
  11398. function _emscripten_set_fullscreenchange_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11399. if (typeof JSEvents.fullscreenEnabled() === "undefined") return -1;
  11400. if (!target) target = document; else {
  11401. target = JSEvents.findEventTarget(target);
  11402. if (!target) return -4;
  11403. }
  11404. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "fullscreenchange", targetThread);
  11405. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "mozfullscreenchange", targetThread);
  11406. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "webkitfullscreenchange", targetThread);
  11407. JSEvents.registerFullscreenChangeEventCallback(target, userData, useCapture, callbackfunc, 19, "msfullscreenchange", targetThread);
  11408. return 0;
  11409. }
  11410. function _emscripten_set_gamepadconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11411. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11412. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 26, "gamepadconnected", targetThread);
  11413. return 0;
  11414. }
  11415. function _emscripten_set_gamepaddisconnected_callback_on_thread(userData, useCapture, callbackfunc, targetThread) {
  11416. if (!navigator.getGamepads && !navigator.webkitGetGamepads) return -1;
  11417. JSEvents.registerGamepadEventCallback(window, userData, useCapture, callbackfunc, 27, "gamepaddisconnected", targetThread);
  11418. return 0;
  11419. }
  11420. function _emscripten_set_keydown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11421. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 2, "keydown", targetThread);
  11422. return 0;
  11423. }
  11424. function _emscripten_set_keypress_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11425. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 1, "keypress", targetThread);
  11426. return 0;
  11427. }
  11428. function _emscripten_set_keyup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11429. JSEvents.registerKeyEventCallback(target, userData, useCapture, callbackfunc, 3, "keyup", targetThread);
  11430. return 0;
  11431. }
  11432. function _emscripten_set_mousedown_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11433. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 5, "mousedown", targetThread);
  11434. return 0;
  11435. }
  11436. function _emscripten_set_mousemove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11437. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 8, "mousemove", targetThread);
  11438. return 0;
  11439. }
  11440. function _emscripten_set_mouseup_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11441. JSEvents.registerMouseEventCallback(target, userData, useCapture, callbackfunc, 6, "mouseup", targetThread);
  11442. return 0;
  11443. }
  11444. function _emscripten_set_touchcancel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11445. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 25, "touchcancel", targetThread);
  11446. return 0;
  11447. }
  11448. function _emscripten_set_touchend_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11449. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 23, "touchend", targetThread);
  11450. return 0;
  11451. }
  11452. function _emscripten_set_touchmove_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11453. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 24, "touchmove", targetThread);
  11454. return 0;
  11455. }
  11456. function _emscripten_set_touchstart_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11457. JSEvents.registerTouchEventCallback(target, userData, useCapture, callbackfunc, 22, "touchstart", targetThread);
  11458. return 0;
  11459. }
  11460. function _emscripten_set_wheel_callback_on_thread(target, userData, useCapture, callbackfunc, targetThread) {
  11461. target = JSEvents.findEventTarget(target);
  11462. if (typeof target.onwheel !== "undefined") {
  11463. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "wheel", targetThread);
  11464. return 0;
  11465. } else if (typeof target.onmousewheel !== "undefined") {
  11466. JSEvents.registerWheelEventCallback(target, userData, useCapture, callbackfunc, 9, "mousewheel", targetThread);
  11467. return 0;
  11468. } else {
  11469. return -1;
  11470. }
  11471. }
  11472. var GL = {
  11473. counter: 1,
  11474. lastError: 0,
  11475. buffers: [],
  11476. mappedBuffers: {},
  11477. programs: [],
  11478. framebuffers: [],
  11479. renderbuffers: [],
  11480. textures: [],
  11481. uniforms: [],
  11482. shaders: [],
  11483. vaos: [],
  11484. contexts: [],
  11485. currentContext: null,
  11486. offscreenCanvases: {},
  11487. timerQueriesEXT: [],
  11488. queries: [],
  11489. samplers: [],
  11490. transformFeedbacks: [],
  11491. syncs: [],
  11492. byteSizeByTypeRoot: 5120,
  11493. byteSizeByType: [ 1, 1, 2, 2, 4, 4, 4, 2, 3, 4, 8 ],
  11494. programInfos: {},
  11495. stringCache: {},
  11496. stringiCache: {},
  11497. tempFixedLengthArray: [],
  11498. packAlignment: 4,
  11499. unpackAlignment: 4,
  11500. init: (function() {
  11501. GL.miniTempBuffer = new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);
  11502. for (var i = 0; i < GL.MINI_TEMP_BUFFER_SIZE; i++) {
  11503. GL.miniTempBufferViews[i] = GL.miniTempBuffer.subarray(0, i + 1);
  11504. }
  11505. for (var i = 0; i < 32; i++) {
  11506. GL.tempFixedLengthArray.push(new Array(i));
  11507. }
  11508. }),
  11509. recordError: function recordError(errorCode) {
  11510. if (!GL.lastError) {
  11511. GL.lastError = errorCode;
  11512. }
  11513. },
  11514. getNewId: (function(table) {
  11515. var ret = GL.counter++;
  11516. for (var i = table.length; i < ret; i++) {
  11517. table[i] = null;
  11518. }
  11519. return ret;
  11520. }),
  11521. MINI_TEMP_BUFFER_SIZE: 256,
  11522. miniTempBuffer: null,
  11523. miniTempBufferViews: [ 0 ],
  11524. getSource: (function(shader, count, string, length) {
  11525. var source = "";
  11526. for (var i = 0; i < count; ++i) {
  11527. var frag;
  11528. if (length) {
  11529. var len = HEAP32[length + i * 4 >> 2];
  11530. if (len < 0) {
  11531. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11532. } else {
  11533. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2], len);
  11534. }
  11535. } else {
  11536. frag = Pointer_stringify(HEAP32[string + i * 4 >> 2]);
  11537. }
  11538. source += frag;
  11539. }
  11540. return source;
  11541. }),
  11542. createContext: (function(canvas, webGLContextAttributes) {
  11543. if (typeof webGLContextAttributes["majorVersion"] === "undefined" && typeof webGLContextAttributes["minorVersion"] === "undefined") {
  11544. if (typeof WebGL2RenderingContext !== "undefined") webGLContextAttributes["majorVersion"] = 2; else webGLContextAttributes["majorVersion"] = 1;
  11545. webGLContextAttributes["minorVersion"] = 0;
  11546. }
  11547. var ctx;
  11548. var errorInfo = "?";
  11549. function onContextCreationError(event) {
  11550. errorInfo = event.statusMessage || errorInfo;
  11551. }
  11552. webGLContextAttributes["powerPreference"] = "high-performance";
  11553. try {
  11554. canvas.addEventListener("webglcontextcreationerror", onContextCreationError, false);
  11555. try {
  11556. if (webGLContextAttributes["majorVersion"] == 1 && webGLContextAttributes["minorVersion"] == 0) {
  11557. ctx = canvas.getContext("webgl", webGLContextAttributes) || canvas.getContext("experimental-webgl", webGLContextAttributes);
  11558. } else if (webGLContextAttributes["majorVersion"] == 2 && webGLContextAttributes["minorVersion"] == 0) {
  11559. ctx = canvas.getContext("webgl2", webGLContextAttributes);
  11560. } else {
  11561. throw "Unsupported WebGL context version " + majorVersion + "." + minorVersion + "!";
  11562. }
  11563. } finally {
  11564. canvas.removeEventListener("webglcontextcreationerror", onContextCreationError, false);
  11565. }
  11566. if (!ctx) throw ":(";
  11567. } catch (e) {
  11568. out("Could not create canvas: " + [ errorInfo, e, JSON.stringify(webGLContextAttributes) ]);
  11569. return 0;
  11570. }
  11571. if (!ctx) return 0;
  11572. var context = GL.registerContext(ctx, webGLContextAttributes);
  11573. return context;
  11574. }),
  11575. registerContext: (function(ctx, webGLContextAttributes) {
  11576. var handle = _malloc(8);
  11577. HEAP32[handle >> 2] = webGLContextAttributes["explicitSwapControl"];
  11578. var context = {
  11579. handle: handle,
  11580. attributes: webGLContextAttributes,
  11581. version: webGLContextAttributes["majorVersion"],
  11582. GLctx: ctx
  11583. };
  11584. function getChromeVersion() {
  11585. var raw = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
  11586. return raw ? parseInt(raw[2], 10) : false;
  11587. }
  11588. context.supportsWebGL2EntryPoints = context.version >= 2 && (getChromeVersion() === false || getChromeVersion() >= 58);
  11589. if (ctx.canvas) ctx.canvas.GLctxObject = context;
  11590. GL.contexts[handle] = context;
  11591. if (typeof webGLContextAttributes["enableExtensionsByDefault"] === "undefined" || webGLContextAttributes["enableExtensionsByDefault"]) {
  11592. GL.initExtensions(context);
  11593. }
  11594. if (webGLContextAttributes["renderViaOffscreenBackBuffer"]) {
  11595. return 0;
  11596. }
  11597. return handle;
  11598. }),
  11599. makeContextCurrent: (function(contextHandle) {
  11600. if (!contextHandle) {
  11601. GLctx = Module.ctx = GL.currentContext = null;
  11602. return true;
  11603. }
  11604. var context = GL.contexts[contextHandle];
  11605. if (!context) {
  11606. return false;
  11607. }
  11608. GLctx = Module.ctx = context.GLctx;
  11609. GL.currentContext = context;
  11610. return true;
  11611. }),
  11612. getContext: (function(contextHandle) {
  11613. return GL.contexts[contextHandle];
  11614. }),
  11615. deleteContext: (function(contextHandle) {
  11616. if (!contextHandle) return;
  11617. if (GL.currentContext === GL.contexts[contextHandle]) GL.currentContext = null;
  11618. if (typeof JSEvents === "object") JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);
  11619. if (GL.contexts[contextHandle] && GL.contexts[contextHandle].GLctx.canvas) GL.contexts[contextHandle].GLctx.canvas.GLctxObject = undefined;
  11620. _free(GL.contexts[contextHandle]);
  11621. GL.contexts[contextHandle] = null;
  11622. }),
  11623. initExtensions: (function(context) {
  11624. if (!context) context = GL.currentContext;
  11625. if (context.initExtensionsDone) return;
  11626. context.initExtensionsDone = true;
  11627. var GLctx = context.GLctx;
  11628. context.maxVertexAttribs = GLctx.getParameter(GLctx.MAX_VERTEX_ATTRIBS);
  11629. if (context.version < 2) {
  11630. var instancedArraysExt = GLctx.getExtension("ANGLE_instanced_arrays");
  11631. if (instancedArraysExt) {
  11632. GLctx["vertexAttribDivisor"] = (function(index, divisor) {
  11633. instancedArraysExt["vertexAttribDivisorANGLE"](index, divisor);
  11634. });
  11635. GLctx["drawArraysInstanced"] = (function(mode, first, count, primcount) {
  11636. instancedArraysExt["drawArraysInstancedANGLE"](mode, first, count, primcount);
  11637. });
  11638. GLctx["drawElementsInstanced"] = (function(mode, count, type, indices, primcount) {
  11639. instancedArraysExt["drawElementsInstancedANGLE"](mode, count, type, indices, primcount);
  11640. });
  11641. }
  11642. var vaoExt = GLctx.getExtension("OES_vertex_array_object");
  11643. if (vaoExt) {
  11644. GLctx["createVertexArray"] = (function() {
  11645. return vaoExt["createVertexArrayOES"]();
  11646. });
  11647. GLctx["deleteVertexArray"] = (function(vao) {
  11648. vaoExt["deleteVertexArrayOES"](vao);
  11649. });
  11650. GLctx["bindVertexArray"] = (function(vao) {
  11651. vaoExt["bindVertexArrayOES"](vao);
  11652. });
  11653. GLctx["isVertexArray"] = (function(vao) {
  11654. return vaoExt["isVertexArrayOES"](vao);
  11655. });
  11656. }
  11657. var drawBuffersExt = GLctx.getExtension("WEBGL_draw_buffers");
  11658. if (drawBuffersExt) {
  11659. GLctx["drawBuffers"] = (function(n, bufs) {
  11660. drawBuffersExt["drawBuffersWEBGL"](n, bufs);
  11661. });
  11662. }
  11663. }
  11664. GLctx.disjointTimerQueryExt = GLctx.getExtension("EXT_disjoint_timer_query");
  11665. 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" ];
  11666. var exts = GLctx.getSupportedExtensions();
  11667. if (exts && exts.length > 0) {
  11668. GLctx.getSupportedExtensions().forEach((function(ext) {
  11669. if (automaticallyEnabledExtensions.indexOf(ext) != -1) {
  11670. GLctx.getExtension(ext);
  11671. }
  11672. }));
  11673. }
  11674. }),
  11675. populateUniformTable: (function(program) {
  11676. var p = GL.programs[program];
  11677. GL.programInfos[program] = {
  11678. uniforms: {},
  11679. maxUniformLength: 0,
  11680. maxAttributeLength: -1,
  11681. maxUniformBlockNameLength: -1
  11682. };
  11683. var ptable = GL.programInfos[program];
  11684. var utable = ptable.uniforms;
  11685. var numUniforms = GLctx.getProgramParameter(p, GLctx.ACTIVE_UNIFORMS);
  11686. for (var i = 0; i < numUniforms; ++i) {
  11687. var u = GLctx.getActiveUniform(p, i);
  11688. var name = u.name;
  11689. ptable.maxUniformLength = Math.max(ptable.maxUniformLength, name.length + 1);
  11690. if (name.indexOf("]", name.length - 1) !== -1) {
  11691. var ls = name.lastIndexOf("[");
  11692. name = name.slice(0, ls);
  11693. }
  11694. var loc = GLctx.getUniformLocation(p, name);
  11695. if (loc != null) {
  11696. var id = GL.getNewId(GL.uniforms);
  11697. utable[name] = [ u.size, id ];
  11698. GL.uniforms[id] = loc;
  11699. for (var j = 1; j < u.size; ++j) {
  11700. var n = name + "[" + j + "]";
  11701. loc = GLctx.getUniformLocation(p, n);
  11702. id = GL.getNewId(GL.uniforms);
  11703. GL.uniforms[id] = loc;
  11704. }
  11705. }
  11706. }
  11707. })
  11708. };
  11709. function _emscripten_webgl_do_create_context(target, attributes) {
  11710. var contextAttributes = {};
  11711. contextAttributes["alpha"] = !!HEAP32[attributes >> 2];
  11712. contextAttributes["depth"] = !!HEAP32[attributes + 4 >> 2];
  11713. contextAttributes["stencil"] = !!HEAP32[attributes + 8 >> 2];
  11714. contextAttributes["antialias"] = !!HEAP32[attributes + 12 >> 2];
  11715. contextAttributes["premultipliedAlpha"] = !!HEAP32[attributes + 16 >> 2];
  11716. contextAttributes["preserveDrawingBuffer"] = !!HEAP32[attributes + 20 >> 2];
  11717. contextAttributes["preferLowPowerToHighPerformance"] = !!HEAP32[attributes + 24 >> 2];
  11718. contextAttributes["failIfMajorPerformanceCaveat"] = !!HEAP32[attributes + 28 >> 2];
  11719. contextAttributes["majorVersion"] = HEAP32[attributes + 32 >> 2];
  11720. contextAttributes["minorVersion"] = HEAP32[attributes + 36 >> 2];
  11721. contextAttributes["explicitSwapControl"] = HEAP32[attributes + 44 >> 2];
  11722. contextAttributes["proxyContextToMainThread"] = HEAP32[attributes + 48 >> 2];
  11723. contextAttributes["renderViaOffscreenBackBuffer"] = HEAP32[attributes + 52 >> 2];
  11724. target = Pointer_stringify(target);
  11725. var canvas;
  11726. if ((!target || target === "#canvas") && Module["canvas"]) {
  11727. canvas = Module["canvas"].id && GL.offscreenCanvases[Module["canvas"].id] ? GL.offscreenCanvases[Module["canvas"].id].offscreenCanvas || JSEvents.findEventTarget(Module["canvas"].id) : Module["canvas"];
  11728. } else {
  11729. canvas = GL.offscreenCanvases[target] ? GL.offscreenCanvases[target].offscreenCanvas : JSEvents.findEventTarget(target);
  11730. }
  11731. if (!canvas) {
  11732. return 0;
  11733. }
  11734. if (contextAttributes["explicitSwapControl"]) {
  11735. return 0;
  11736. }
  11737. var contextHandle = GL.createContext(canvas, contextAttributes);
  11738. return contextHandle;
  11739. }
  11740. function _emscripten_webgl_create_context() {
  11741. return _emscripten_webgl_do_create_context.apply(null, arguments);
  11742. }
  11743. function _emscripten_webgl_destroy_context_calling_thread(contextHandle) {
  11744. GL.deleteContext(contextHandle);
  11745. }
  11746. function _emscripten_webgl_destroy_context() {
  11747. return _emscripten_webgl_destroy_context_calling_thread.apply(null, arguments);
  11748. }
  11749. function _emscripten_webgl_enable_extension_calling_thread(contextHandle, extension) {
  11750. var context = GL.getContext(contextHandle);
  11751. var extString = Pointer_stringify(extension);
  11752. if (extString.indexOf("GL_") == 0) extString = extString.substr(3);
  11753. var ext = context.GLctx.getExtension(extString);
  11754. return ext ? 1 : 0;
  11755. }
  11756. function _emscripten_webgl_enable_extension() {
  11757. return _emscripten_webgl_enable_extension_calling_thread.apply(null, arguments);
  11758. }
  11759. function _emscripten_webgl_do_get_current_context() {
  11760. return GL.currentContext ? GL.currentContext.handle : 0;
  11761. }
  11762. function _emscripten_webgl_get_current_context() {
  11763. return _emscripten_webgl_do_get_current_context.apply(null, arguments);
  11764. }
  11765. function _emscripten_webgl_init_context_attributes(attributes) {
  11766. HEAP32[attributes >> 2] = 1;
  11767. HEAP32[attributes + 4 >> 2] = 1;
  11768. HEAP32[attributes + 8 >> 2] = 0;
  11769. HEAP32[attributes + 12 >> 2] = 1;
  11770. HEAP32[attributes + 16 >> 2] = 1;
  11771. HEAP32[attributes + 20 >> 2] = 0;
  11772. HEAP32[attributes + 24 >> 2] = 0;
  11773. HEAP32[attributes + 28 >> 2] = 0;
  11774. HEAP32[attributes + 32 >> 2] = 1;
  11775. HEAP32[attributes + 36 >> 2] = 0;
  11776. HEAP32[attributes + 40 >> 2] = 1;
  11777. HEAP32[attributes + 44 >> 2] = 0;
  11778. HEAP32[attributes + 48 >> 2] = 0;
  11779. HEAP32[attributes + 52 >> 2] = 0;
  11780. }
  11781. function _emscripten_webgl_make_context_current(contextHandle) {
  11782. var success = GL.makeContextCurrent(contextHandle);
  11783. return success ? 0 : -5;
  11784. }
  11785. function __exit(status) {
  11786. exit(status);
  11787. }
  11788. function _exit(status) {
  11789. __exit(status);
  11790. }
  11791. function _flock(fd, operation) {
  11792. return 0;
  11793. }
  11794. function _getenv(name) {
  11795. if (name === 0) return 0;
  11796. name = Pointer_stringify(name);
  11797. if (!ENV.hasOwnProperty(name)) return 0;
  11798. if (_getenv.ret) _free(_getenv.ret);
  11799. _getenv.ret = allocateUTF8(ENV[name]);
  11800. return _getenv.ret;
  11801. }
  11802. function _gethostbyname(name) {
  11803. name = Pointer_stringify(name);
  11804. var ret = _malloc(20);
  11805. var nameBuf = _malloc(name.length + 1);
  11806. stringToUTF8(name, nameBuf, name.length + 1);
  11807. HEAP32[ret >> 2] = nameBuf;
  11808. var aliasesBuf = _malloc(4);
  11809. HEAP32[aliasesBuf >> 2] = 0;
  11810. HEAP32[ret + 4 >> 2] = aliasesBuf;
  11811. var afinet = 2;
  11812. HEAP32[ret + 8 >> 2] = afinet;
  11813. HEAP32[ret + 12 >> 2] = 4;
  11814. var addrListBuf = _malloc(12);
  11815. HEAP32[addrListBuf >> 2] = addrListBuf + 8;
  11816. HEAP32[addrListBuf + 4 >> 2] = 0;
  11817. HEAP32[addrListBuf + 8 >> 2] = __inet_pton4_raw(DNS.lookup_name(name));
  11818. HEAP32[ret + 16 >> 2] = addrListBuf;
  11819. return ret;
  11820. }
  11821. function _gethostbyaddr(addr, addrlen, type) {
  11822. if (type !== 2) {
  11823. ___setErrNo(ERRNO_CODES.EAFNOSUPPORT);
  11824. return null;
  11825. }
  11826. addr = HEAP32[addr >> 2];
  11827. var host = __inet_ntop4_raw(addr);
  11828. var lookup = DNS.lookup_addr(host);
  11829. if (lookup) {
  11830. host = lookup;
  11831. }
  11832. var hostp = allocate(intArrayFromString(host), "i8", ALLOC_STACK);
  11833. return _gethostbyname(hostp);
  11834. }
  11835. function _getpagesize() {
  11836. return PAGE_SIZE;
  11837. }
  11838. function _getpwuid(uid) {
  11839. return 0;
  11840. }
  11841. function _gettimeofday(ptr) {
  11842. var now = Date.now();
  11843. HEAP32[ptr >> 2] = now / 1e3 | 0;
  11844. HEAP32[ptr + 4 >> 2] = now % 1e3 * 1e3 | 0;
  11845. return 0;
  11846. }
  11847. function _glActiveTexture(x0) {
  11848. GLctx["activeTexture"](x0);
  11849. }
  11850. function _glAttachShader(program, shader) {
  11851. GLctx.attachShader(GL.programs[program], GL.shaders[shader]);
  11852. }
  11853. function _glBeginQuery(target, id) {
  11854. GLctx["beginQuery"](target, id ? GL.queries[id] : null);
  11855. }
  11856. function _glBeginTransformFeedback(x0) {
  11857. GLctx["beginTransformFeedback"](x0);
  11858. }
  11859. function _glBindAttribLocation(program, index, name) {
  11860. name = Pointer_stringify(name);
  11861. GLctx.bindAttribLocation(GL.programs[program], index, name);
  11862. }
  11863. function _glBindBuffer(target, buffer) {
  11864. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11865. if (target == 35051) {
  11866. GLctx.currentPixelPackBufferBinding = buffer;
  11867. } else if (target == 35052) {
  11868. GLctx.currentPixelUnpackBufferBinding = buffer;
  11869. }
  11870. GLctx.bindBuffer(target, bufferObj);
  11871. }
  11872. function _glBindBufferBase(target, index, buffer) {
  11873. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11874. GLctx["bindBufferBase"](target, index, bufferObj);
  11875. }
  11876. function _glBindBufferRange(target, index, buffer, offset, ptrsize) {
  11877. var bufferObj = buffer ? GL.buffers[buffer] : null;
  11878. GLctx["bindBufferRange"](target, index, bufferObj, offset, ptrsize);
  11879. }
  11880. function _glBindFramebuffer(target, framebuffer) {
  11881. GLctx.bindFramebuffer(target, framebuffer ? GL.framebuffers[framebuffer] : null);
  11882. }
  11883. function _glBindRenderbuffer(target, renderbuffer) {
  11884. GLctx.bindRenderbuffer(target, renderbuffer ? GL.renderbuffers[renderbuffer] : null);
  11885. }
  11886. function _glBindSampler(unit, sampler) {
  11887. GLctx["bindSampler"](unit, sampler ? GL.samplers[sampler] : null);
  11888. }
  11889. function _glBindTexture(target, texture) {
  11890. GLctx.bindTexture(target, texture ? GL.textures[texture] : null);
  11891. }
  11892. function _glBindTransformFeedback(target, id) {
  11893. var transformFeedback = id ? GL.transformFeedbacks[id] : null;
  11894. if (id && !transformFeedback) {
  11895. GL.recordError(1282);
  11896. return;
  11897. }
  11898. GLctx["bindTransformFeedback"](target, transformFeedback);
  11899. }
  11900. function _glBindVertexArray(vao) {
  11901. GLctx["bindVertexArray"](GL.vaos[vao]);
  11902. }
  11903. function _glBlendEquation(x0) {
  11904. GLctx["blendEquation"](x0);
  11905. }
  11906. function _glBlendEquationSeparate(x0, x1) {
  11907. GLctx["blendEquationSeparate"](x0, x1);
  11908. }
  11909. function _glBlendFuncSeparate(x0, x1, x2, x3) {
  11910. GLctx["blendFuncSeparate"](x0, x1, x2, x3);
  11911. }
  11912. function _glBlitFramebuffer(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) {
  11913. GLctx["blitFramebuffer"](x0, x1, x2, x3, x4, x5, x6, x7, x8, x9);
  11914. }
  11915. function _glBufferData(target, size, data, usage) {
  11916. if (!data) {
  11917. GLctx.bufferData(target, size, usage);
  11918. } else {
  11919. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11920. GLctx.bufferData(target, HEAPU8, usage, data, size);
  11921. return;
  11922. }
  11923. GLctx.bufferData(target, HEAPU8.subarray(data, data + size), usage);
  11924. }
  11925. }
  11926. function _glBufferSubData(target, offset, size, data) {
  11927. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11928. GLctx.bufferSubData(target, offset, HEAPU8, data, size);
  11929. return;
  11930. }
  11931. GLctx.bufferSubData(target, offset, HEAPU8.subarray(data, data + size));
  11932. }
  11933. function _glCheckFramebufferStatus(x0) {
  11934. return GLctx["checkFramebufferStatus"](x0);
  11935. }
  11936. function _glClear(x0) {
  11937. GLctx["clear"](x0);
  11938. }
  11939. function _glClearBufferfi(x0, x1, x2, x3) {
  11940. GLctx["clearBufferfi"](x0, x1, x2, x3);
  11941. }
  11942. function _glClearBufferfv(buffer, drawbuffer, value) {
  11943. GLctx["clearBufferfv"](buffer, drawbuffer, HEAPF32, value >> 2);
  11944. }
  11945. function _glClearBufferuiv(buffer, drawbuffer, value) {
  11946. GLctx["clearBufferuiv"](buffer, drawbuffer, HEAPU32, value >> 2);
  11947. }
  11948. function _glClearColor(x0, x1, x2, x3) {
  11949. GLctx["clearColor"](x0, x1, x2, x3);
  11950. }
  11951. function _glClearDepthf(x0) {
  11952. GLctx["clearDepth"](x0);
  11953. }
  11954. function _glClearStencil(x0) {
  11955. GLctx["clearStencil"](x0);
  11956. }
  11957. function _glClientWaitSync(sync, flags, timeoutLo, timeoutHi) {
  11958. timeoutLo = timeoutLo >>> 0;
  11959. timeoutHi = timeoutHi >>> 0;
  11960. var timeout = timeoutLo == 4294967295 && timeoutHi == 4294967295 ? -1 : makeBigInt(timeoutLo, timeoutHi, true);
  11961. return GLctx.clientWaitSync(GL.syncs[sync], flags, timeout);
  11962. }
  11963. function _glColorMask(red, green, blue, alpha) {
  11964. GLctx.colorMask(!!red, !!green, !!blue, !!alpha);
  11965. }
  11966. function _glCompileShader(shader) {
  11967. GLctx.compileShader(GL.shaders[shader]);
  11968. }
  11969. function _glCompressedTexImage2D(target, level, internalFormat, width, height, border, imageSize, data) {
  11970. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11971. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, HEAPU8, data, imageSize);
  11972. return;
  11973. }
  11974. GLctx["compressedTexImage2D"](target, level, internalFormat, width, height, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11975. }
  11976. function _glCompressedTexImage3D(target, level, internalFormat, width, height, depth, border, imageSize, data) {
  11977. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11978. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, HEAPU8, data, imageSize);
  11979. } else {
  11980. GLctx["compressedTexImage3D"](target, level, internalFormat, width, height, depth, border, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11981. }
  11982. }
  11983. function _glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) {
  11984. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11985. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, HEAPU8, data, imageSize);
  11986. return;
  11987. }
  11988. GLctx["compressedTexSubImage2D"](target, level, xoffset, yoffset, width, height, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11989. }
  11990. function _glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) {
  11991. if (GL.currentContext.supportsWebGL2EntryPoints) {
  11992. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, HEAPU8, data, imageSize);
  11993. } else {
  11994. GLctx["compressedTexSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, data ? HEAPU8.subarray(data, data + imageSize) : null);
  11995. }
  11996. }
  11997. function _glCopyBufferSubData(x0, x1, x2, x3, x4) {
  11998. GLctx["copyBufferSubData"](x0, x1, x2, x3, x4);
  11999. }
  12000. function _glCopyTexImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  12001. GLctx["copyTexImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  12002. }
  12003. function _glCopyTexSubImage2D(x0, x1, x2, x3, x4, x5, x6, x7) {
  12004. GLctx["copyTexSubImage2D"](x0, x1, x2, x3, x4, x5, x6, x7);
  12005. }
  12006. function _glCreateProgram() {
  12007. var id = GL.getNewId(GL.programs);
  12008. var program = GLctx.createProgram();
  12009. program.name = id;
  12010. GL.programs[id] = program;
  12011. return id;
  12012. }
  12013. function _glCreateShader(shaderType) {
  12014. var id = GL.getNewId(GL.shaders);
  12015. GL.shaders[id] = GLctx.createShader(shaderType);
  12016. return id;
  12017. }
  12018. function _glCullFace(x0) {
  12019. GLctx["cullFace"](x0);
  12020. }
  12021. function _glDeleteBuffers(n, buffers) {
  12022. for (var i = 0; i < n; i++) {
  12023. var id = HEAP32[buffers + i * 4 >> 2];
  12024. var buffer = GL.buffers[id];
  12025. if (!buffer) continue;
  12026. GLctx.deleteBuffer(buffer);
  12027. buffer.name = 0;
  12028. GL.buffers[id] = null;
  12029. if (id == GL.currArrayBuffer) GL.currArrayBuffer = 0;
  12030. if (id == GL.currElementArrayBuffer) GL.currElementArrayBuffer = 0;
  12031. }
  12032. }
  12033. function _glDeleteFramebuffers(n, framebuffers) {
  12034. for (var i = 0; i < n; ++i) {
  12035. var id = HEAP32[framebuffers + i * 4 >> 2];
  12036. var framebuffer = GL.framebuffers[id];
  12037. if (!framebuffer) continue;
  12038. GLctx.deleteFramebuffer(framebuffer);
  12039. framebuffer.name = 0;
  12040. GL.framebuffers[id] = null;
  12041. }
  12042. }
  12043. function _glDeleteProgram(id) {
  12044. if (!id) return;
  12045. var program = GL.programs[id];
  12046. if (!program) {
  12047. GL.recordError(1281);
  12048. return;
  12049. }
  12050. GLctx.deleteProgram(program);
  12051. program.name = 0;
  12052. GL.programs[id] = null;
  12053. GL.programInfos[id] = null;
  12054. }
  12055. function _glDeleteQueries(n, ids) {
  12056. for (var i = 0; i < n; i++) {
  12057. var id = HEAP32[ids + i * 4 >> 2];
  12058. var query = GL.queries[id];
  12059. if (!query) continue;
  12060. GLctx["deleteQuery"](query);
  12061. GL.queries[id] = null;
  12062. }
  12063. }
  12064. function _glDeleteRenderbuffers(n, renderbuffers) {
  12065. for (var i = 0; i < n; i++) {
  12066. var id = HEAP32[renderbuffers + i * 4 >> 2];
  12067. var renderbuffer = GL.renderbuffers[id];
  12068. if (!renderbuffer) continue;
  12069. GLctx.deleteRenderbuffer(renderbuffer);
  12070. renderbuffer.name = 0;
  12071. GL.renderbuffers[id] = null;
  12072. }
  12073. }
  12074. function _glDeleteSamplers(n, samplers) {
  12075. for (var i = 0; i < n; i++) {
  12076. var id = HEAP32[samplers + i * 4 >> 2];
  12077. var sampler = GL.samplers[id];
  12078. if (!sampler) continue;
  12079. GLctx["deleteSampler"](sampler);
  12080. sampler.name = 0;
  12081. GL.samplers[id] = null;
  12082. }
  12083. }
  12084. function _glDeleteShader(id) {
  12085. if (!id) return;
  12086. var shader = GL.shaders[id];
  12087. if (!shader) {
  12088. GL.recordError(1281);
  12089. return;
  12090. }
  12091. GLctx.deleteShader(shader);
  12092. GL.shaders[id] = null;
  12093. }
  12094. function _glDeleteSync(id) {
  12095. if (!id) return;
  12096. var sync = GL.syncs[id];
  12097. if (!sync) {
  12098. GL.recordError(1281);
  12099. return;
  12100. }
  12101. GLctx.deleteSync(sync);
  12102. sync.name = 0;
  12103. GL.syncs[id] = null;
  12104. }
  12105. function _glDeleteTextures(n, textures) {
  12106. for (var i = 0; i < n; i++) {
  12107. var id = HEAP32[textures + i * 4 >> 2];
  12108. var texture = GL.textures[id];
  12109. if (!texture) continue;
  12110. GLctx.deleteTexture(texture);
  12111. texture.name = 0;
  12112. GL.textures[id] = null;
  12113. }
  12114. }
  12115. function _glDeleteTransformFeedbacks(n, ids) {
  12116. for (var i = 0; i < n; i++) {
  12117. var id = HEAP32[ids + i * 4 >> 2];
  12118. var transformFeedback = GL.transformFeedbacks[id];
  12119. if (!transformFeedback) continue;
  12120. GLctx["deleteTransformFeedback"](transformFeedback);
  12121. transformFeedback.name = 0;
  12122. GL.transformFeedbacks[id] = null;
  12123. }
  12124. }
  12125. function _glDeleteVertexArrays(n, vaos) {
  12126. for (var i = 0; i < n; i++) {
  12127. var id = HEAP32[vaos + i * 4 >> 2];
  12128. GLctx["deleteVertexArray"](GL.vaos[id]);
  12129. GL.vaos[id] = null;
  12130. }
  12131. }
  12132. function _glDepthFunc(x0) {
  12133. GLctx["depthFunc"](x0);
  12134. }
  12135. function _glDepthMask(flag) {
  12136. GLctx.depthMask(!!flag);
  12137. }
  12138. function _glDetachShader(program, shader) {
  12139. GLctx.detachShader(GL.programs[program], GL.shaders[shader]);
  12140. }
  12141. function _glDisable(x0) {
  12142. GLctx["disable"](x0);
  12143. }
  12144. function _glDisableVertexAttribArray(index) {
  12145. GLctx.disableVertexAttribArray(index);
  12146. }
  12147. function _glDrawArrays(mode, first, count) {
  12148. GLctx.drawArrays(mode, first, count);
  12149. }
  12150. function _glDrawArraysInstanced(mode, first, count, primcount) {
  12151. GLctx["drawArraysInstanced"](mode, first, count, primcount);
  12152. }
  12153. function _glDrawBuffers(n, bufs) {
  12154. var bufArray = GL.tempFixedLengthArray[n];
  12155. for (var i = 0; i < n; i++) {
  12156. bufArray[i] = HEAP32[bufs + i * 4 >> 2];
  12157. }
  12158. GLctx["drawBuffers"](bufArray);
  12159. }
  12160. function _glDrawElements(mode, count, type, indices) {
  12161. GLctx.drawElements(mode, count, type, indices);
  12162. }
  12163. function _glDrawElementsInstanced(mode, count, type, indices, primcount) {
  12164. GLctx["drawElementsInstanced"](mode, count, type, indices, primcount);
  12165. }
  12166. function _glEnable(x0) {
  12167. GLctx["enable"](x0);
  12168. }
  12169. function _glEnableVertexAttribArray(index) {
  12170. GLctx.enableVertexAttribArray(index);
  12171. }
  12172. function _glEndQuery(x0) {
  12173. GLctx["endQuery"](x0);
  12174. }
  12175. function _glEndTransformFeedback() {
  12176. GLctx["endTransformFeedback"]();
  12177. }
  12178. function _glFenceSync(condition, flags) {
  12179. var sync = GLctx.fenceSync(condition, flags);
  12180. if (sync) {
  12181. var id = GL.getNewId(GL.syncs);
  12182. sync.name = id;
  12183. GL.syncs[id] = sync;
  12184. return id;
  12185. } else {
  12186. return 0;
  12187. }
  12188. }
  12189. function _glFinish() {
  12190. GLctx["finish"]();
  12191. }
  12192. function _glFlush() {
  12193. GLctx["flush"]();
  12194. }
  12195. function emscriptenWebGLGetBufferBinding(target) {
  12196. switch (target) {
  12197. case 34962:
  12198. target = 34964;
  12199. break;
  12200. case 34963:
  12201. target = 34965;
  12202. break;
  12203. case 35051:
  12204. target = 35053;
  12205. break;
  12206. case 35052:
  12207. target = 35055;
  12208. break;
  12209. case 35982:
  12210. target = 35983;
  12211. break;
  12212. case 36662:
  12213. target = 36662;
  12214. break;
  12215. case 36663:
  12216. target = 36663;
  12217. break;
  12218. case 35345:
  12219. target = 35368;
  12220. break;
  12221. }
  12222. var buffer = GLctx.getParameter(target);
  12223. if (buffer) return buffer.name | 0; else return 0;
  12224. }
  12225. function emscriptenWebGLValidateMapBufferTarget(target) {
  12226. switch (target) {
  12227. case 34962:
  12228. case 34963:
  12229. case 36662:
  12230. case 36663:
  12231. case 35051:
  12232. case 35052:
  12233. case 35882:
  12234. case 35982:
  12235. case 35345:
  12236. return true;
  12237. default:
  12238. return false;
  12239. }
  12240. }
  12241. function _glFlushMappedBufferRange(target, offset, length) {
  12242. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  12243. GL.recordError(1280);
  12244. err("GL_INVALID_ENUM in glFlushMappedBufferRange");
  12245. return;
  12246. }
  12247. var mapping = GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)];
  12248. if (!mapping) {
  12249. GL.recordError(1282);
  12250. Module.printError("buffer was never mapped in glFlushMappedBufferRange");
  12251. return;
  12252. }
  12253. if (!(mapping.access & 16)) {
  12254. GL.recordError(1282);
  12255. Module.printError("buffer was not mapped with GL_MAP_FLUSH_EXPLICIT_BIT in glFlushMappedBufferRange");
  12256. return;
  12257. }
  12258. if (offset < 0 || length < 0 || offset + length > mapping.length) {
  12259. GL.recordError(1281);
  12260. Module.printError("invalid range in glFlushMappedBufferRange");
  12261. return;
  12262. }
  12263. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem + offset, mapping.mem + offset + length));
  12264. }
  12265. function _glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) {
  12266. GLctx.framebufferRenderbuffer(target, attachment, renderbuffertarget, GL.renderbuffers[renderbuffer]);
  12267. }
  12268. function _glFramebufferTexture2D(target, attachment, textarget, texture, level) {
  12269. GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
  12270. }
  12271. function _glFramebufferTextureLayer(target, attachment, texture, level, layer) {
  12272. GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer);
  12273. }
  12274. function _glFrontFace(x0) {
  12275. GLctx["frontFace"](x0);
  12276. }
  12277. function _glGenBuffers(n, buffers) {
  12278. for (var i = 0; i < n; i++) {
  12279. var buffer = GLctx.createBuffer();
  12280. if (!buffer) {
  12281. GL.recordError(1282);
  12282. while (i < n) HEAP32[buffers + i++ * 4 >> 2] = 0;
  12283. return;
  12284. }
  12285. var id = GL.getNewId(GL.buffers);
  12286. buffer.name = id;
  12287. GL.buffers[id] = buffer;
  12288. HEAP32[buffers + i * 4 >> 2] = id;
  12289. }
  12290. }
  12291. function _glGenFramebuffers(n, ids) {
  12292. for (var i = 0; i < n; ++i) {
  12293. var framebuffer = GLctx.createFramebuffer();
  12294. if (!framebuffer) {
  12295. GL.recordError(1282);
  12296. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12297. return;
  12298. }
  12299. var id = GL.getNewId(GL.framebuffers);
  12300. framebuffer.name = id;
  12301. GL.framebuffers[id] = framebuffer;
  12302. HEAP32[ids + i * 4 >> 2] = id;
  12303. }
  12304. }
  12305. function _glGenQueries(n, ids) {
  12306. for (var i = 0; i < n; i++) {
  12307. var query = GLctx["createQuery"]();
  12308. if (!query) {
  12309. GL.recordError(1282);
  12310. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12311. return;
  12312. }
  12313. var id = GL.getNewId(GL.queries);
  12314. query.name = id;
  12315. GL.queries[id] = query;
  12316. HEAP32[ids + i * 4 >> 2] = id;
  12317. }
  12318. }
  12319. function _glGenRenderbuffers(n, renderbuffers) {
  12320. for (var i = 0; i < n; i++) {
  12321. var renderbuffer = GLctx.createRenderbuffer();
  12322. if (!renderbuffer) {
  12323. GL.recordError(1282);
  12324. while (i < n) HEAP32[renderbuffers + i++ * 4 >> 2] = 0;
  12325. return;
  12326. }
  12327. var id = GL.getNewId(GL.renderbuffers);
  12328. renderbuffer.name = id;
  12329. GL.renderbuffers[id] = renderbuffer;
  12330. HEAP32[renderbuffers + i * 4 >> 2] = id;
  12331. }
  12332. }
  12333. function _glGenSamplers(n, samplers) {
  12334. for (var i = 0; i < n; i++) {
  12335. var sampler = GLctx["createSampler"]();
  12336. if (!sampler) {
  12337. GL.recordError(1282);
  12338. while (i < n) HEAP32[samplers + i++ * 4 >> 2] = 0;
  12339. return;
  12340. }
  12341. var id = GL.getNewId(GL.samplers);
  12342. sampler.name = id;
  12343. GL.samplers[id] = sampler;
  12344. HEAP32[samplers + i * 4 >> 2] = id;
  12345. }
  12346. }
  12347. function _glGenTextures(n, textures) {
  12348. for (var i = 0; i < n; i++) {
  12349. var texture = GLctx.createTexture();
  12350. if (!texture) {
  12351. GL.recordError(1282);
  12352. while (i < n) HEAP32[textures + i++ * 4 >> 2] = 0;
  12353. return;
  12354. }
  12355. var id = GL.getNewId(GL.textures);
  12356. texture.name = id;
  12357. GL.textures[id] = texture;
  12358. HEAP32[textures + i * 4 >> 2] = id;
  12359. }
  12360. }
  12361. function _glGenTransformFeedbacks(n, ids) {
  12362. for (var i = 0; i < n; i++) {
  12363. var transformFeedback = GLctx["createTransformFeedback"]();
  12364. if (!transformFeedback) {
  12365. GL.recordError(1282);
  12366. while (i < n) HEAP32[ids + i++ * 4 >> 2] = 0;
  12367. return;
  12368. }
  12369. var id = GL.getNewId(GL.transformFeedbacks);
  12370. transformFeedback.name = id;
  12371. GL.transformFeedbacks[id] = transformFeedback;
  12372. HEAP32[ids + i * 4 >> 2] = id;
  12373. }
  12374. }
  12375. function _glGenVertexArrays(n, arrays) {
  12376. for (var i = 0; i < n; i++) {
  12377. var vao = GLctx["createVertexArray"]();
  12378. if (!vao) {
  12379. GL.recordError(1282);
  12380. while (i < n) HEAP32[arrays + i++ * 4 >> 2] = 0;
  12381. return;
  12382. }
  12383. var id = GL.getNewId(GL.vaos);
  12384. vao.name = id;
  12385. GL.vaos[id] = vao;
  12386. HEAP32[arrays + i * 4 >> 2] = id;
  12387. }
  12388. }
  12389. function _glGenerateMipmap(x0) {
  12390. GLctx["generateMipmap"](x0);
  12391. }
  12392. function _glGetActiveAttrib(program, index, bufSize, length, size, type, name) {
  12393. program = GL.programs[program];
  12394. var info = GLctx.getActiveAttrib(program, index);
  12395. if (!info) return;
  12396. if (bufSize > 0 && name) {
  12397. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12398. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12399. } else {
  12400. if (length) HEAP32[length >> 2] = 0;
  12401. }
  12402. if (size) HEAP32[size >> 2] = info.size;
  12403. if (type) HEAP32[type >> 2] = info.type;
  12404. }
  12405. function _glGetActiveUniform(program, index, bufSize, length, size, type, name) {
  12406. program = GL.programs[program];
  12407. var info = GLctx.getActiveUniform(program, index);
  12408. if (!info) return;
  12409. if (bufSize > 0 && name) {
  12410. var numBytesWrittenExclNull = stringToUTF8(info.name, name, bufSize);
  12411. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12412. } else {
  12413. if (length) HEAP32[length >> 2] = 0;
  12414. }
  12415. if (size) HEAP32[size >> 2] = info.size;
  12416. if (type) HEAP32[type >> 2] = info.type;
  12417. }
  12418. function _glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) {
  12419. program = GL.programs[program];
  12420. var result = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12421. if (!result) return;
  12422. if (uniformBlockName && bufSize > 0) {
  12423. var numBytesWrittenExclNull = stringToUTF8(result, uniformBlockName, bufSize);
  12424. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12425. } else {
  12426. if (length) HEAP32[length >> 2] = 0;
  12427. }
  12428. }
  12429. function _glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params) {
  12430. if (!params) {
  12431. GL.recordError(1281);
  12432. return;
  12433. }
  12434. program = GL.programs[program];
  12435. switch (pname) {
  12436. case 35393:
  12437. var name = GLctx["getActiveUniformBlockName"](program, uniformBlockIndex);
  12438. HEAP32[params >> 2] = name.length + 1;
  12439. return;
  12440. default:
  12441. var result = GLctx["getActiveUniformBlockParameter"](program, uniformBlockIndex, pname);
  12442. if (!result) return;
  12443. if (typeof result == "number") {
  12444. HEAP32[params >> 2] = result;
  12445. } else {
  12446. for (var i = 0; i < result.length; i++) {
  12447. HEAP32[params + i * 4 >> 2] = result[i];
  12448. }
  12449. }
  12450. }
  12451. }
  12452. function _glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params) {
  12453. if (!params) {
  12454. GL.recordError(1281);
  12455. return;
  12456. }
  12457. if (uniformCount > 0 && uniformIndices == 0) {
  12458. GL.recordError(1281);
  12459. return;
  12460. }
  12461. program = GL.programs[program];
  12462. var ids = [];
  12463. for (var i = 0; i < uniformCount; i++) {
  12464. ids.push(HEAP32[uniformIndices + i * 4 >> 2]);
  12465. }
  12466. var result = GLctx["getActiveUniforms"](program, ids, pname);
  12467. if (!result) return;
  12468. var len = result.length;
  12469. for (var i = 0; i < len; i++) {
  12470. HEAP32[params + i * 4 >> 2] = result[i];
  12471. }
  12472. }
  12473. function _glGetAttribLocation(program, name) {
  12474. return GLctx.getAttribLocation(GL.programs[program], Pointer_stringify(name));
  12475. }
  12476. function _glGetError() {
  12477. if (GL.lastError) {
  12478. var error = GL.lastError;
  12479. GL.lastError = 0;
  12480. return error;
  12481. } else {
  12482. return GLctx.getError();
  12483. }
  12484. }
  12485. function _glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) {
  12486. var result = GLctx.getFramebufferAttachmentParameter(target, attachment, pname);
  12487. if (result instanceof WebGLRenderbuffer || result instanceof WebGLTexture) {
  12488. result = result.name | 0;
  12489. }
  12490. HEAP32[params >> 2] = result;
  12491. }
  12492. function emscriptenWebGLGetIndexed(target, index, data, type) {
  12493. if (!data) {
  12494. GL.recordError(1281);
  12495. return;
  12496. }
  12497. var result = GLctx["getIndexedParameter"](target, index);
  12498. var ret;
  12499. switch (typeof result) {
  12500. case "boolean":
  12501. ret = result ? 1 : 0;
  12502. break;
  12503. case "number":
  12504. ret = result;
  12505. break;
  12506. case "object":
  12507. if (result === null) {
  12508. switch (target) {
  12509. case 35983:
  12510. case 35368:
  12511. ret = 0;
  12512. break;
  12513. default:
  12514. {
  12515. GL.recordError(1280);
  12516. return;
  12517. }
  12518. }
  12519. } else if (result instanceof WebGLBuffer) {
  12520. ret = result.name | 0;
  12521. } else {
  12522. GL.recordError(1280);
  12523. return;
  12524. }
  12525. break;
  12526. default:
  12527. GL.recordError(1280);
  12528. return;
  12529. }
  12530. switch (type) {
  12531. case "Integer64":
  12532. 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];
  12533. break;
  12534. case "Integer":
  12535. HEAP32[data >> 2] = ret;
  12536. break;
  12537. case "Float":
  12538. HEAPF32[data >> 2] = ret;
  12539. break;
  12540. case "Boolean":
  12541. HEAP8[data >> 0] = ret ? 1 : 0;
  12542. break;
  12543. default:
  12544. throw "internal emscriptenWebGLGetIndexed() error, bad type: " + type;
  12545. }
  12546. }
  12547. function _glGetIntegeri_v(target, index, data) {
  12548. emscriptenWebGLGetIndexed(target, index, data, "Integer");
  12549. }
  12550. function emscriptenWebGLGet(name_, p, type) {
  12551. if (!p) {
  12552. GL.recordError(1281);
  12553. return;
  12554. }
  12555. var ret = undefined;
  12556. switch (name_) {
  12557. case 36346:
  12558. ret = 1;
  12559. break;
  12560. case 36344:
  12561. if (type !== "Integer" && type !== "Integer64") {
  12562. GL.recordError(1280);
  12563. }
  12564. return;
  12565. case 34814:
  12566. case 36345:
  12567. ret = 0;
  12568. break;
  12569. case 34466:
  12570. var formats = GLctx.getParameter(34467);
  12571. ret = formats.length;
  12572. break;
  12573. case 33309:
  12574. if (GLctx.canvas.GLctxObject.version < 2) {
  12575. GL.recordError(1282);
  12576. return;
  12577. }
  12578. var exts = GLctx.getSupportedExtensions();
  12579. ret = 2 * exts.length;
  12580. break;
  12581. case 33307:
  12582. case 33308:
  12583. if (GLctx.canvas.GLctxObject.version < 2) {
  12584. GL.recordError(1280);
  12585. return;
  12586. }
  12587. ret = name_ == 33307 ? 3 : 0;
  12588. break;
  12589. }
  12590. if (ret === undefined) {
  12591. var result = GLctx.getParameter(name_);
  12592. switch (typeof result) {
  12593. case "number":
  12594. ret = result;
  12595. break;
  12596. case "boolean":
  12597. ret = result ? 1 : 0;
  12598. break;
  12599. case "string":
  12600. GL.recordError(1280);
  12601. return;
  12602. case "object":
  12603. if (result === null) {
  12604. switch (name_) {
  12605. case 34964:
  12606. case 35725:
  12607. case 34965:
  12608. case 36006:
  12609. case 36007:
  12610. case 32873:
  12611. case 34229:
  12612. case 35097:
  12613. case 36389:
  12614. case 34068:
  12615. {
  12616. ret = 0;
  12617. break;
  12618. }
  12619. default:
  12620. {
  12621. GL.recordError(1280);
  12622. return;
  12623. }
  12624. }
  12625. } else if (result instanceof Float32Array || result instanceof Uint32Array || result instanceof Int32Array || result instanceof Array) {
  12626. for (var i = 0; i < result.length; ++i) {
  12627. switch (type) {
  12628. case "Integer":
  12629. HEAP32[p + i * 4 >> 2] = result[i];
  12630. break;
  12631. case "Float":
  12632. HEAPF32[p + i * 4 >> 2] = result[i];
  12633. break;
  12634. case "Boolean":
  12635. HEAP8[p + i >> 0] = result[i] ? 1 : 0;
  12636. break;
  12637. default:
  12638. throw "internal glGet error, bad type: " + type;
  12639. }
  12640. }
  12641. return;
  12642. } 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) {
  12643. ret = result.name | 0;
  12644. } else {
  12645. GL.recordError(1280);
  12646. return;
  12647. }
  12648. break;
  12649. default:
  12650. GL.recordError(1280);
  12651. return;
  12652. }
  12653. }
  12654. switch (type) {
  12655. case "Integer64":
  12656. 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];
  12657. break;
  12658. case "Integer":
  12659. HEAP32[p >> 2] = ret;
  12660. break;
  12661. case "Float":
  12662. HEAPF32[p >> 2] = ret;
  12663. break;
  12664. case "Boolean":
  12665. HEAP8[p >> 0] = ret ? 1 : 0;
  12666. break;
  12667. default:
  12668. throw "internal glGet error, bad type: " + type;
  12669. }
  12670. }
  12671. function _glGetIntegerv(name_, p) {
  12672. emscriptenWebGLGet(name_, p, "Integer");
  12673. }
  12674. function _glGetInternalformativ(target, internalformat, pname, bufSize, params) {
  12675. if (bufSize < 0) {
  12676. GL.recordError(1281);
  12677. return;
  12678. }
  12679. var samples = GLctx["getInternalformatParameter"](target, internalformat, 32937);
  12680. if (!samples) {
  12681. GL.recordError(1280);
  12682. return;
  12683. }
  12684. switch (pname) {
  12685. case 32937:
  12686. var n = Math.min(bufSize, samples.length);
  12687. for (var i = 0; i < n; i++) {
  12688. var v = samples[i];
  12689. HEAP32[params + i * 4 >> 2] = v;
  12690. }
  12691. break;
  12692. case 37760:
  12693. if (bufSize > 1) {
  12694. var v = samples.length;
  12695. HEAP32[params >> 2] = v;
  12696. }
  12697. break;
  12698. default:
  12699. GL.recordError(1280);
  12700. }
  12701. }
  12702. function _glGetProgramBinary(program, bufSize, length, binaryFormat, binary) {
  12703. GL.recordError(1282);
  12704. }
  12705. function _glGetProgramInfoLog(program, maxLength, length, infoLog) {
  12706. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12707. if (log === null) log = "(unknown error)";
  12708. if (maxLength > 0 && infoLog) {
  12709. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12710. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12711. } else {
  12712. if (length) HEAP32[length >> 2] = 0;
  12713. }
  12714. }
  12715. function _glGetProgramiv(program, pname, p) {
  12716. if (!p) {
  12717. GL.recordError(1281);
  12718. return;
  12719. }
  12720. if (program >= GL.counter) {
  12721. GL.recordError(1281);
  12722. return;
  12723. }
  12724. var ptable = GL.programInfos[program];
  12725. if (!ptable) {
  12726. GL.recordError(1282);
  12727. return;
  12728. }
  12729. if (pname == 35716) {
  12730. var log = GLctx.getProgramInfoLog(GL.programs[program]);
  12731. if (log === null) log = "(unknown error)";
  12732. HEAP32[p >> 2] = log.length + 1;
  12733. } else if (pname == 35719) {
  12734. HEAP32[p >> 2] = ptable.maxUniformLength;
  12735. } else if (pname == 35722) {
  12736. if (ptable.maxAttributeLength == -1) {
  12737. program = GL.programs[program];
  12738. var numAttribs = GLctx.getProgramParameter(program, GLctx.ACTIVE_ATTRIBUTES);
  12739. ptable.maxAttributeLength = 0;
  12740. for (var i = 0; i < numAttribs; ++i) {
  12741. var activeAttrib = GLctx.getActiveAttrib(program, i);
  12742. ptable.maxAttributeLength = Math.max(ptable.maxAttributeLength, activeAttrib.name.length + 1);
  12743. }
  12744. }
  12745. HEAP32[p >> 2] = ptable.maxAttributeLength;
  12746. } else if (pname == 35381) {
  12747. if (ptable.maxUniformBlockNameLength == -1) {
  12748. program = GL.programs[program];
  12749. var numBlocks = GLctx.getProgramParameter(program, GLctx.ACTIVE_UNIFORM_BLOCKS);
  12750. ptable.maxUniformBlockNameLength = 0;
  12751. for (var i = 0; i < numBlocks; ++i) {
  12752. var activeBlockName = GLctx.getActiveUniformBlockName(program, i);
  12753. ptable.maxUniformBlockNameLength = Math.max(ptable.maxUniformBlockNameLength, activeBlockName.length + 1);
  12754. }
  12755. }
  12756. HEAP32[p >> 2] = ptable.maxUniformBlockNameLength;
  12757. } else {
  12758. HEAP32[p >> 2] = GLctx.getProgramParameter(GL.programs[program], pname);
  12759. }
  12760. }
  12761. function _glGetQueryObjectuiv(id, pname, params) {
  12762. if (!params) {
  12763. GL.recordError(1281);
  12764. return;
  12765. }
  12766. var query = GL.queries[id];
  12767. var param = GLctx["getQueryParameter"](query, pname);
  12768. var ret;
  12769. if (typeof param == "boolean") {
  12770. ret = param ? 1 : 0;
  12771. } else {
  12772. ret = param;
  12773. }
  12774. HEAP32[params >> 2] = ret;
  12775. }
  12776. function _glGetQueryiv(target, pname, params) {
  12777. if (!params) {
  12778. GL.recordError(1281);
  12779. return;
  12780. }
  12781. HEAP32[params >> 2] = GLctx["getQuery"](target, pname);
  12782. }
  12783. function _glGetRenderbufferParameteriv(target, pname, params) {
  12784. if (!params) {
  12785. GL.recordError(1281);
  12786. return;
  12787. }
  12788. HEAP32[params >> 2] = GLctx.getRenderbufferParameter(target, pname);
  12789. }
  12790. function _glGetShaderInfoLog(shader, maxLength, length, infoLog) {
  12791. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12792. if (log === null) log = "(unknown error)";
  12793. if (maxLength > 0 && infoLog) {
  12794. var numBytesWrittenExclNull = stringToUTF8(log, infoLog, maxLength);
  12795. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12796. } else {
  12797. if (length) HEAP32[length >> 2] = 0;
  12798. }
  12799. }
  12800. function _glGetShaderPrecisionFormat(shaderType, precisionType, range, precision) {
  12801. var result = GLctx.getShaderPrecisionFormat(shaderType, precisionType);
  12802. HEAP32[range >> 2] = result.rangeMin;
  12803. HEAP32[range + 4 >> 2] = result.rangeMax;
  12804. HEAP32[precision >> 2] = result.precision;
  12805. }
  12806. function _glGetShaderSource(shader, bufSize, length, source) {
  12807. var result = GLctx.getShaderSource(GL.shaders[shader]);
  12808. if (!result) return;
  12809. if (bufSize > 0 && source) {
  12810. var numBytesWrittenExclNull = stringToUTF8(result, source, bufSize);
  12811. if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
  12812. } else {
  12813. if (length) HEAP32[length >> 2] = 0;
  12814. }
  12815. }
  12816. function _glGetShaderiv(shader, pname, p) {
  12817. if (!p) {
  12818. GL.recordError(1281);
  12819. return;
  12820. }
  12821. if (pname == 35716) {
  12822. var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
  12823. if (log === null) log = "(unknown error)";
  12824. HEAP32[p >> 2] = log.length + 1;
  12825. } else if (pname == 35720) {
  12826. var source = GLctx.getShaderSource(GL.shaders[shader]);
  12827. var sourceLength = source === null || source.length == 0 ? 0 : source.length + 1;
  12828. HEAP32[p >> 2] = sourceLength;
  12829. } else {
  12830. HEAP32[p >> 2] = GLctx.getShaderParameter(GL.shaders[shader], pname);
  12831. }
  12832. }
  12833. function _glGetString(name_) {
  12834. if (GL.stringCache[name_]) return GL.stringCache[name_];
  12835. var ret;
  12836. switch (name_) {
  12837. case 7936:
  12838. case 7937:
  12839. case 37445:
  12840. case 37446:
  12841. ret = allocate(intArrayFromString(GLctx.getParameter(name_)), "i8", ALLOC_NORMAL);
  12842. break;
  12843. case 7938:
  12844. var glVersion = GLctx.getParameter(GLctx.VERSION);
  12845. if (GLctx.canvas.GLctxObject.version >= 2) glVersion = "OpenGL ES 3.0 (" + glVersion + ")"; else {
  12846. glVersion = "OpenGL ES 2.0 (" + glVersion + ")";
  12847. }
  12848. ret = allocate(intArrayFromString(glVersion), "i8", ALLOC_NORMAL);
  12849. break;
  12850. case 7939:
  12851. var exts = GLctx.getSupportedExtensions();
  12852. var gl_exts = [];
  12853. for (var i = 0; i < exts.length; ++i) {
  12854. gl_exts.push(exts[i]);
  12855. gl_exts.push("GL_" + exts[i]);
  12856. }
  12857. ret = allocate(intArrayFromString(gl_exts.join(" ")), "i8", ALLOC_NORMAL);
  12858. break;
  12859. case 35724:
  12860. var glslVersion = GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);
  12861. var ver_re = /^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;
  12862. var ver_num = glslVersion.match(ver_re);
  12863. if (ver_num !== null) {
  12864. if (ver_num[1].length == 3) ver_num[1] = ver_num[1] + "0";
  12865. glslVersion = "OpenGL ES GLSL ES " + ver_num[1] + " (" + glslVersion + ")";
  12866. }
  12867. ret = allocate(intArrayFromString(glslVersion), "i8", ALLOC_NORMAL);
  12868. break;
  12869. default:
  12870. GL.recordError(1280);
  12871. return 0;
  12872. }
  12873. GL.stringCache[name_] = ret;
  12874. return ret;
  12875. }
  12876. function _glGetStringi(name, index) {
  12877. if (GLctx.canvas.GLctxObject.version < 2) {
  12878. GL.recordError(1282);
  12879. return 0;
  12880. }
  12881. var stringiCache = GL.stringiCache[name];
  12882. if (stringiCache) {
  12883. if (index < 0 || index >= stringiCache.length) {
  12884. GL.recordError(1281);
  12885. return 0;
  12886. }
  12887. return stringiCache[index];
  12888. }
  12889. switch (name) {
  12890. case 7939:
  12891. var exts = GLctx.getSupportedExtensions();
  12892. var gl_exts = [];
  12893. for (var i = 0; i < exts.length; ++i) {
  12894. gl_exts.push(allocate(intArrayFromString(exts[i]), "i8", ALLOC_NORMAL));
  12895. gl_exts.push(allocate(intArrayFromString("GL_" + exts[i]), "i8", ALLOC_NORMAL));
  12896. }
  12897. stringiCache = GL.stringiCache[name] = gl_exts;
  12898. if (index < 0 || index >= stringiCache.length) {
  12899. GL.recordError(1281);
  12900. return 0;
  12901. }
  12902. return stringiCache[index];
  12903. default:
  12904. GL.recordError(1280);
  12905. return 0;
  12906. }
  12907. }
  12908. function _glGetTexParameteriv(target, pname, params) {
  12909. if (!params) {
  12910. GL.recordError(1281);
  12911. return;
  12912. }
  12913. HEAP32[params >> 2] = GLctx.getTexParameter(target, pname);
  12914. }
  12915. function _glGetUniformBlockIndex(program, uniformBlockName) {
  12916. program = GL.programs[program];
  12917. uniformBlockName = Pointer_stringify(uniformBlockName);
  12918. return GLctx["getUniformBlockIndex"](program, uniformBlockName);
  12919. }
  12920. function _glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices) {
  12921. if (!uniformIndices) {
  12922. GL.recordError(1281);
  12923. return;
  12924. }
  12925. if (uniformCount > 0 && (uniformNames == 0 || uniformIndices == 0)) {
  12926. GL.recordError(1281);
  12927. return;
  12928. }
  12929. program = GL.programs[program];
  12930. var names = [];
  12931. for (var i = 0; i < uniformCount; i++) names.push(Pointer_stringify(HEAP32[uniformNames + i * 4 >> 2]));
  12932. var result = GLctx["getUniformIndices"](program, names);
  12933. if (!result) return;
  12934. var len = result.length;
  12935. for (var i = 0; i < len; i++) {
  12936. HEAP32[uniformIndices + i * 4 >> 2] = result[i];
  12937. }
  12938. }
  12939. function _glGetUniformLocation(program, name) {
  12940. name = Pointer_stringify(name);
  12941. var arrayOffset = 0;
  12942. if (name.indexOf("]", name.length - 1) !== -1) {
  12943. var ls = name.lastIndexOf("[");
  12944. var arrayIndex = name.slice(ls + 1, -1);
  12945. if (arrayIndex.length > 0) {
  12946. arrayOffset = parseInt(arrayIndex);
  12947. if (arrayOffset < 0) {
  12948. return -1;
  12949. }
  12950. }
  12951. name = name.slice(0, ls);
  12952. }
  12953. var ptable = GL.programInfos[program];
  12954. if (!ptable) {
  12955. return -1;
  12956. }
  12957. var utable = ptable.uniforms;
  12958. var uniformInfo = utable[name];
  12959. if (uniformInfo && arrayOffset < uniformInfo[0]) {
  12960. return uniformInfo[1] + arrayOffset;
  12961. } else {
  12962. return -1;
  12963. }
  12964. }
  12965. function emscriptenWebGLGetUniform(program, location, params, type) {
  12966. if (!params) {
  12967. GL.recordError(1281);
  12968. return;
  12969. }
  12970. var data = GLctx.getUniform(GL.programs[program], GL.uniforms[location]);
  12971. if (typeof data == "number" || typeof data == "boolean") {
  12972. switch (type) {
  12973. case "Integer":
  12974. HEAP32[params >> 2] = data;
  12975. break;
  12976. case "Float":
  12977. HEAPF32[params >> 2] = data;
  12978. break;
  12979. default:
  12980. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12981. }
  12982. } else {
  12983. for (var i = 0; i < data.length; i++) {
  12984. switch (type) {
  12985. case "Integer":
  12986. HEAP32[params + i * 4 >> 2] = data[i];
  12987. break;
  12988. case "Float":
  12989. HEAPF32[params + i * 4 >> 2] = data[i];
  12990. break;
  12991. default:
  12992. throw "internal emscriptenWebGLGetUniform() error, bad type: " + type;
  12993. }
  12994. }
  12995. }
  12996. }
  12997. function _glGetUniformiv(program, location, params) {
  12998. emscriptenWebGLGetUniform(program, location, params, "Integer");
  12999. }
  13000. function emscriptenWebGLGetVertexAttrib(index, pname, params, type) {
  13001. if (!params) {
  13002. GL.recordError(1281);
  13003. return;
  13004. }
  13005. var data = GLctx.getVertexAttrib(index, pname);
  13006. if (pname == 34975) {
  13007. HEAP32[params >> 2] = data["name"];
  13008. } else if (typeof data == "number" || typeof data == "boolean") {
  13009. switch (type) {
  13010. case "Integer":
  13011. HEAP32[params >> 2] = data;
  13012. break;
  13013. case "Float":
  13014. HEAPF32[params >> 2] = data;
  13015. break;
  13016. case "FloatToInteger":
  13017. HEAP32[params >> 2] = Math.fround(data);
  13018. break;
  13019. default:
  13020. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  13021. }
  13022. } else {
  13023. for (var i = 0; i < data.length; i++) {
  13024. switch (type) {
  13025. case "Integer":
  13026. HEAP32[params + i * 4 >> 2] = data[i];
  13027. break;
  13028. case "Float":
  13029. HEAPF32[params + i * 4 >> 2] = data[i];
  13030. break;
  13031. case "FloatToInteger":
  13032. HEAP32[params + i * 4 >> 2] = Math.fround(data[i]);
  13033. break;
  13034. default:
  13035. throw "internal emscriptenWebGLGetVertexAttrib() error, bad type: " + type;
  13036. }
  13037. }
  13038. }
  13039. }
  13040. function _glGetVertexAttribiv(index, pname, params) {
  13041. emscriptenWebGLGetVertexAttrib(index, pname, params, "FloatToInteger");
  13042. }
  13043. function _glInvalidateFramebuffer(target, numAttachments, attachments) {
  13044. var list = GL.tempFixedLengthArray[numAttachments];
  13045. for (var i = 0; i < numAttachments; i++) {
  13046. list[i] = HEAP32[attachments + i * 4 >> 2];
  13047. }
  13048. GLctx["invalidateFramebuffer"](target, list);
  13049. }
  13050. function _glIsEnabled(x0) {
  13051. return GLctx["isEnabled"](x0);
  13052. }
  13053. function _glIsVertexArray(array) {
  13054. var vao = GL.vaos[array];
  13055. if (!vao) return 0;
  13056. return GLctx["isVertexArray"](vao);
  13057. }
  13058. function _glLinkProgram(program) {
  13059. GLctx.linkProgram(GL.programs[program]);
  13060. GL.programInfos[program] = null;
  13061. GL.populateUniformTable(program);
  13062. }
  13063. function _glMapBufferRange(target, offset, length, access) {
  13064. if (access != 26 && access != 10) {
  13065. err("glMapBufferRange is only supported when access is MAP_WRITE|INVALIDATE_BUFFER");
  13066. return 0;
  13067. }
  13068. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  13069. GL.recordError(1280);
  13070. err("GL_INVALID_ENUM in glMapBufferRange");
  13071. return 0;
  13072. }
  13073. var mem = _malloc(length);
  13074. if (!mem) return 0;
  13075. GL.mappedBuffers[emscriptenWebGLGetBufferBinding(target)] = {
  13076. offset: offset,
  13077. length: length,
  13078. mem: mem,
  13079. access: access
  13080. };
  13081. return mem;
  13082. }
  13083. function _glPixelStorei(pname, param) {
  13084. if (pname == 3333) {
  13085. GL.packAlignment = param;
  13086. } else if (pname == 3317) {
  13087. GL.unpackAlignment = param;
  13088. }
  13089. GLctx.pixelStorei(pname, param);
  13090. }
  13091. function _glPolygonOffset(x0, x1) {
  13092. GLctx["polygonOffset"](x0, x1);
  13093. }
  13094. function _glProgramBinary(program, binaryFormat, binary, length) {
  13095. GL.recordError(1280);
  13096. }
  13097. function _glProgramParameteri(program, pname, value) {
  13098. GL.recordError(1280);
  13099. }
  13100. function _glReadBuffer(x0) {
  13101. GLctx["readBuffer"](x0);
  13102. }
  13103. function emscriptenWebGLComputeImageSize(width, height, sizePerPixel, alignment) {
  13104. function roundedToNextMultipleOf(x, y) {
  13105. return Math.floor((x + y - 1) / y) * y;
  13106. }
  13107. var plainRowSize = width * sizePerPixel;
  13108. var alignedRowSize = roundedToNextMultipleOf(plainRowSize, alignment);
  13109. return height <= 0 ? 0 : (height - 1) * alignedRowSize + plainRowSize;
  13110. }
  13111. function emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) {
  13112. var sizePerPixel;
  13113. var numChannels;
  13114. switch (format) {
  13115. case 6406:
  13116. case 6409:
  13117. case 6402:
  13118. case 6403:
  13119. case 36244:
  13120. numChannels = 1;
  13121. break;
  13122. case 6410:
  13123. case 33319:
  13124. case 33320:
  13125. numChannels = 2;
  13126. break;
  13127. case 6407:
  13128. case 35904:
  13129. case 36248:
  13130. numChannels = 3;
  13131. break;
  13132. case 6408:
  13133. case 35906:
  13134. case 36249:
  13135. numChannels = 4;
  13136. break;
  13137. default:
  13138. GL.recordError(1280);
  13139. return null;
  13140. }
  13141. switch (type) {
  13142. case 5121:
  13143. case 5120:
  13144. sizePerPixel = numChannels * 1;
  13145. break;
  13146. case 5123:
  13147. case 36193:
  13148. case 5131:
  13149. case 5122:
  13150. sizePerPixel = numChannels * 2;
  13151. break;
  13152. case 5125:
  13153. case 5126:
  13154. case 5124:
  13155. sizePerPixel = numChannels * 4;
  13156. break;
  13157. case 34042:
  13158. case 35902:
  13159. case 33640:
  13160. case 35899:
  13161. case 34042:
  13162. sizePerPixel = 4;
  13163. break;
  13164. case 33635:
  13165. case 32819:
  13166. case 32820:
  13167. sizePerPixel = 2;
  13168. break;
  13169. default:
  13170. GL.recordError(1280);
  13171. return null;
  13172. }
  13173. var bytes = emscriptenWebGLComputeImageSize(width, height, sizePerPixel, GL.unpackAlignment);
  13174. switch (type) {
  13175. case 5120:
  13176. return HEAP8.subarray(pixels, pixels + bytes);
  13177. case 5121:
  13178. return HEAPU8.subarray(pixels, pixels + bytes);
  13179. case 5122:
  13180. return HEAP16.subarray(pixels >> 1, pixels + bytes >> 1);
  13181. case 5124:
  13182. return HEAP32.subarray(pixels >> 2, pixels + bytes >> 2);
  13183. case 5126:
  13184. return HEAPF32.subarray(pixels >> 2, pixels + bytes >> 2);
  13185. case 5125:
  13186. case 34042:
  13187. case 35902:
  13188. case 33640:
  13189. case 35899:
  13190. case 34042:
  13191. return HEAPU32.subarray(pixels >> 2, pixels + bytes >> 2);
  13192. case 5123:
  13193. case 33635:
  13194. case 32819:
  13195. case 32820:
  13196. case 36193:
  13197. case 5131:
  13198. return HEAPU16.subarray(pixels >> 1, pixels + bytes >> 1);
  13199. default:
  13200. GL.recordError(1280);
  13201. return null;
  13202. }
  13203. }
  13204. function emscriptenWebGLGetHeapForType(type) {
  13205. switch (type) {
  13206. case 5120:
  13207. return HEAP8;
  13208. case 5121:
  13209. return HEAPU8;
  13210. case 5122:
  13211. return HEAP16;
  13212. case 5123:
  13213. case 33635:
  13214. case 32819:
  13215. case 32820:
  13216. case 36193:
  13217. case 5131:
  13218. return HEAPU16;
  13219. case 5124:
  13220. return HEAP32;
  13221. case 5125:
  13222. case 34042:
  13223. case 35902:
  13224. case 33640:
  13225. case 35899:
  13226. case 34042:
  13227. return HEAPU32;
  13228. case 5126:
  13229. return HEAPF32;
  13230. default:
  13231. return null;
  13232. }
  13233. }
  13234. function emscriptenWebGLGetShiftForType(type) {
  13235. switch (type) {
  13236. case 5120:
  13237. case 5121:
  13238. return 0;
  13239. case 5122:
  13240. case 5123:
  13241. case 33635:
  13242. case 32819:
  13243. case 32820:
  13244. case 36193:
  13245. case 5131:
  13246. return 1;
  13247. case 5124:
  13248. case 5126:
  13249. case 5125:
  13250. case 34042:
  13251. case 35902:
  13252. case 33640:
  13253. case 35899:
  13254. case 34042:
  13255. return 2;
  13256. default:
  13257. return 0;
  13258. }
  13259. }
  13260. function _glReadPixels(x, y, width, height, format, type, pixels) {
  13261. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13262. if (GLctx.currentPixelPackBufferBinding) {
  13263. GLctx.readPixels(x, y, width, height, format, type, pixels);
  13264. } else {
  13265. GLctx.readPixels(x, y, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13266. }
  13267. return;
  13268. }
  13269. var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, format);
  13270. if (!pixelData) {
  13271. GL.recordError(1280);
  13272. return;
  13273. }
  13274. GLctx.readPixels(x, y, width, height, format, type, pixelData);
  13275. }
  13276. function _glRenderbufferStorage(x0, x1, x2, x3) {
  13277. GLctx["renderbufferStorage"](x0, x1, x2, x3);
  13278. }
  13279. function _glRenderbufferStorageMultisample(x0, x1, x2, x3, x4) {
  13280. GLctx["renderbufferStorageMultisample"](x0, x1, x2, x3, x4);
  13281. }
  13282. function _glSamplerParameteri(sampler, pname, param) {
  13283. GLctx["samplerParameteri"](sampler ? GL.samplers[sampler] : null, pname, param);
  13284. }
  13285. function _glScissor(x0, x1, x2, x3) {
  13286. GLctx["scissor"](x0, x1, x2, x3);
  13287. }
  13288. function _glShaderSource(shader, count, string, length) {
  13289. var source = GL.getSource(shader, count, string, length);
  13290. GLctx.shaderSource(GL.shaders[shader], source);
  13291. }
  13292. function _glStencilFuncSeparate(x0, x1, x2, x3) {
  13293. GLctx["stencilFuncSeparate"](x0, x1, x2, x3);
  13294. }
  13295. function _glStencilMask(x0) {
  13296. GLctx["stencilMask"](x0);
  13297. }
  13298. function _glStencilOpSeparate(x0, x1, x2, x3) {
  13299. GLctx["stencilOpSeparate"](x0, x1, x2, x3);
  13300. }
  13301. function _glTexImage2D(target, level, internalFormat, width, height, border, format, type, pixels) {
  13302. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13303. if (GLctx.currentPixelUnpackBufferBinding) {
  13304. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels);
  13305. } else if (pixels != 0) {
  13306. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13307. } else {
  13308. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, null);
  13309. }
  13310. return;
  13311. }
  13312. var pixelData = null;
  13313. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat);
  13314. GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixelData);
  13315. }
  13316. function _glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels) {
  13317. if (GLctx.currentPixelUnpackBufferBinding) {
  13318. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, pixels);
  13319. } else if (pixels != 0) {
  13320. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13321. } else {
  13322. GLctx["texImage3D"](target, level, internalFormat, width, height, depth, border, format, type, null);
  13323. }
  13324. }
  13325. function _glTexParameterf(x0, x1, x2) {
  13326. GLctx["texParameterf"](x0, x1, x2);
  13327. }
  13328. function _glTexParameteri(x0, x1, x2) {
  13329. GLctx["texParameteri"](x0, x1, x2);
  13330. }
  13331. function _glTexParameteriv(target, pname, params) {
  13332. var param = HEAP32[params >> 2];
  13333. GLctx.texParameteri(target, pname, param);
  13334. }
  13335. function _glTexStorage2D(x0, x1, x2, x3, x4) {
  13336. GLctx["texStorage2D"](x0, x1, x2, x3, x4);
  13337. }
  13338. function _glTexStorage3D(x0, x1, x2, x3, x4, x5) {
  13339. GLctx["texStorage3D"](x0, x1, x2, x3, x4, x5);
  13340. }
  13341. function _glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) {
  13342. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13343. if (GLctx.currentPixelUnpackBufferBinding) {
  13344. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
  13345. } else if (pixels != 0) {
  13346. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13347. } else {
  13348. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, null);
  13349. }
  13350. return;
  13351. }
  13352. var pixelData = null;
  13353. if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, 0);
  13354. GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixelData);
  13355. }
  13356. function _glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) {
  13357. if (GLctx.currentPixelUnpackBufferBinding) {
  13358. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
  13359. } else if (pixels != 0) {
  13360. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, emscriptenWebGLGetHeapForType(type), pixels >> emscriptenWebGLGetShiftForType(type));
  13361. } else {
  13362. GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, null);
  13363. }
  13364. }
  13365. function _glTransformFeedbackVaryings(program, count, varyings, bufferMode) {
  13366. program = GL.programs[program];
  13367. var vars = [];
  13368. for (var i = 0; i < count; i++) vars.push(Pointer_stringify(HEAP32[varyings + i * 4 >> 2]));
  13369. GLctx["transformFeedbackVaryings"](program, vars, bufferMode);
  13370. }
  13371. function _glUniform1fv(location, count, value) {
  13372. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13373. GLctx.uniform1fv(GL.uniforms[location], HEAPF32, value >> 2, count);
  13374. return;
  13375. }
  13376. var view;
  13377. if (count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13378. view = GL.miniTempBufferViews[count - 1];
  13379. for (var i = 0; i < count; ++i) {
  13380. view[i] = HEAPF32[value + 4 * i >> 2];
  13381. }
  13382. } else {
  13383. view = HEAPF32.subarray(value >> 2, value + count * 4 >> 2);
  13384. }
  13385. GLctx.uniform1fv(GL.uniforms[location], view);
  13386. }
  13387. function _glUniform1i(location, v0) {
  13388. GLctx.uniform1i(GL.uniforms[location], v0);
  13389. }
  13390. function _glUniform1iv(location, count, value) {
  13391. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13392. GLctx.uniform1iv(GL.uniforms[location], HEAP32, value >> 2, count);
  13393. return;
  13394. }
  13395. GLctx.uniform1iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 4 >> 2));
  13396. }
  13397. function _glUniform1uiv(location, count, value) {
  13398. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13399. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32, value >> 2, count);
  13400. } else {
  13401. GLctx.uniform1uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 4 >> 2));
  13402. }
  13403. }
  13404. function _glUniform2fv(location, count, value) {
  13405. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13406. GLctx.uniform2fv(GL.uniforms[location], HEAPF32, value >> 2, count * 2);
  13407. return;
  13408. }
  13409. var view;
  13410. if (2 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13411. view = GL.miniTempBufferViews[2 * count - 1];
  13412. for (var i = 0; i < 2 * count; i += 2) {
  13413. view[i] = HEAPF32[value + 4 * i >> 2];
  13414. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13415. }
  13416. } else {
  13417. view = HEAPF32.subarray(value >> 2, value + count * 8 >> 2);
  13418. }
  13419. GLctx.uniform2fv(GL.uniforms[location], view);
  13420. }
  13421. function _glUniform2iv(location, count, value) {
  13422. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13423. GLctx.uniform2iv(GL.uniforms[location], HEAP32, value >> 2, count * 2);
  13424. return;
  13425. }
  13426. GLctx.uniform2iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 8 >> 2));
  13427. }
  13428. function _glUniform2uiv(location, count, value) {
  13429. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13430. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 2);
  13431. } else {
  13432. GLctx.uniform2uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 8 >> 2));
  13433. }
  13434. }
  13435. function _glUniform3fv(location, count, value) {
  13436. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13437. GLctx.uniform3fv(GL.uniforms[location], HEAPF32, value >> 2, count * 3);
  13438. return;
  13439. }
  13440. var view;
  13441. if (3 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13442. view = GL.miniTempBufferViews[3 * count - 1];
  13443. for (var i = 0; i < 3 * count; i += 3) {
  13444. view[i] = HEAPF32[value + 4 * i >> 2];
  13445. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13446. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13447. }
  13448. } else {
  13449. view = HEAPF32.subarray(value >> 2, value + count * 12 >> 2);
  13450. }
  13451. GLctx.uniform3fv(GL.uniforms[location], view);
  13452. }
  13453. function _glUniform3iv(location, count, value) {
  13454. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13455. GLctx.uniform3iv(GL.uniforms[location], HEAP32, value >> 2, count * 3);
  13456. return;
  13457. }
  13458. GLctx.uniform3iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 12 >> 2));
  13459. }
  13460. function _glUniform3uiv(location, count, value) {
  13461. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13462. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 3);
  13463. } else {
  13464. GLctx.uniform3uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 12 >> 2));
  13465. }
  13466. }
  13467. function _glUniform4fv(location, count, value) {
  13468. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13469. GLctx.uniform4fv(GL.uniforms[location], HEAPF32, value >> 2, count * 4);
  13470. return;
  13471. }
  13472. var view;
  13473. if (4 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13474. view = GL.miniTempBufferViews[4 * count - 1];
  13475. for (var i = 0; i < 4 * count; i += 4) {
  13476. view[i] = HEAPF32[value + 4 * i >> 2];
  13477. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13478. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13479. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13480. }
  13481. } else {
  13482. view = HEAPF32.subarray(value >> 2, value + count * 16 >> 2);
  13483. }
  13484. GLctx.uniform4fv(GL.uniforms[location], view);
  13485. }
  13486. function _glUniform4iv(location, count, value) {
  13487. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13488. GLctx.uniform4iv(GL.uniforms[location], HEAP32, value >> 2, count * 4);
  13489. return;
  13490. }
  13491. GLctx.uniform4iv(GL.uniforms[location], HEAP32.subarray(value >> 2, value + count * 16 >> 2));
  13492. }
  13493. function _glUniform4uiv(location, count, value) {
  13494. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13495. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32, value >> 2, count * 4);
  13496. } else {
  13497. GLctx.uniform4uiv(GL.uniforms[location], HEAPU32.subarray(value >> 2, value + count * 16 >> 2));
  13498. }
  13499. }
  13500. function _glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) {
  13501. program = GL.programs[program];
  13502. GLctx["uniformBlockBinding"](program, uniformBlockIndex, uniformBlockBinding);
  13503. }
  13504. function _glUniformMatrix3fv(location, count, transpose, value) {
  13505. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13506. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 9);
  13507. return;
  13508. }
  13509. var view;
  13510. if (9 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13511. view = GL.miniTempBufferViews[9 * count - 1];
  13512. for (var i = 0; i < 9 * count; i += 9) {
  13513. view[i] = HEAPF32[value + 4 * i >> 2];
  13514. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13515. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13516. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13517. view[i + 4] = HEAPF32[value + (4 * i + 16) >> 2];
  13518. view[i + 5] = HEAPF32[value + (4 * i + 20) >> 2];
  13519. view[i + 6] = HEAPF32[value + (4 * i + 24) >> 2];
  13520. view[i + 7] = HEAPF32[value + (4 * i + 28) >> 2];
  13521. view[i + 8] = HEAPF32[value + (4 * i + 32) >> 2];
  13522. }
  13523. } else {
  13524. view = HEAPF32.subarray(value >> 2, value + count * 36 >> 2);
  13525. }
  13526. GLctx.uniformMatrix3fv(GL.uniforms[location], !!transpose, view);
  13527. }
  13528. function _glUniformMatrix4fv(location, count, transpose, value) {
  13529. if (GL.currentContext.supportsWebGL2EntryPoints) {
  13530. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, HEAPF32, value >> 2, count * 16);
  13531. return;
  13532. }
  13533. var view;
  13534. if (16 * count <= GL.MINI_TEMP_BUFFER_SIZE) {
  13535. view = GL.miniTempBufferViews[16 * count - 1];
  13536. for (var i = 0; i < 16 * count; i += 16) {
  13537. view[i] = HEAPF32[value + 4 * i >> 2];
  13538. view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
  13539. view[i + 2] = HEAPF32[value + (4 * i + 8) >> 2];
  13540. view[i + 3] = HEAPF32[value + (4 * i + 12) >> 2];
  13541. view[i + 4] = HEAPF32[value + (4 * i + 16) >> 2];
  13542. view[i + 5] = HEAPF32[value + (4 * i + 20) >> 2];
  13543. view[i + 6] = HEAPF32[value + (4 * i + 24) >> 2];
  13544. view[i + 7] = HEAPF32[value + (4 * i + 28) >> 2];
  13545. view[i + 8] = HEAPF32[value + (4 * i + 32) >> 2];
  13546. view[i + 9] = HEAPF32[value + (4 * i + 36) >> 2];
  13547. view[i + 10] = HEAPF32[value + (4 * i + 40) >> 2];
  13548. view[i + 11] = HEAPF32[value + (4 * i + 44) >> 2];
  13549. view[i + 12] = HEAPF32[value + (4 * i + 48) >> 2];
  13550. view[i + 13] = HEAPF32[value + (4 * i + 52) >> 2];
  13551. view[i + 14] = HEAPF32[value + (4 * i + 56) >> 2];
  13552. view[i + 15] = HEAPF32[value + (4 * i + 60) >> 2];
  13553. }
  13554. } else {
  13555. view = HEAPF32.subarray(value >> 2, value + count * 64 >> 2);
  13556. }
  13557. GLctx.uniformMatrix4fv(GL.uniforms[location], !!transpose, view);
  13558. }
  13559. function _glUnmapBuffer(target) {
  13560. if (!emscriptenWebGLValidateMapBufferTarget(target)) {
  13561. GL.recordError(1280);
  13562. err("GL_INVALID_ENUM in glUnmapBuffer");
  13563. return 0;
  13564. }
  13565. var buffer = emscriptenWebGLGetBufferBinding(target);
  13566. var mapping = GL.mappedBuffers[buffer];
  13567. if (!mapping) {
  13568. GL.recordError(1282);
  13569. Module.printError("buffer was never mapped in glUnmapBuffer");
  13570. return 0;
  13571. }
  13572. GL.mappedBuffers[buffer] = null;
  13573. if (!(mapping.access & 16)) if (GL.currentContext.supportsWebGL2EntryPoints) {
  13574. GLctx.bufferSubData(target, mapping.offset, HEAPU8, mapping.mem, mapping.length);
  13575. } else {
  13576. GLctx.bufferSubData(target, mapping.offset, HEAPU8.subarray(mapping.mem, mapping.mem + mapping.length));
  13577. }
  13578. _free(mapping.mem);
  13579. return 1;
  13580. }
  13581. function _glUseProgram(program) {
  13582. GLctx.useProgram(program ? GL.programs[program] : null);
  13583. }
  13584. function _glValidateProgram(program) {
  13585. GLctx.validateProgram(GL.programs[program]);
  13586. }
  13587. function _glVertexAttrib4f(x0, x1, x2, x3, x4) {
  13588. GLctx["vertexAttrib4f"](x0, x1, x2, x3, x4);
  13589. }
  13590. function _glVertexAttrib4fv(index, v) {
  13591. GLctx.vertexAttrib4f(index, HEAPF32[v >> 2], HEAPF32[v + 4 >> 2], HEAPF32[v + 8 >> 2], HEAPF32[v + 12 >> 2]);
  13592. }
  13593. function _glVertexAttribIPointer(index, size, type, stride, ptr) {
  13594. var cb = GL.currentContext.clientBuffers[index];
  13595. assert(cb, index);
  13596. if (!GL.currArrayBuffer) {
  13597. cb.size = size;
  13598. cb.type = type;
  13599. cb.normalized = false;
  13600. cb.stride = stride;
  13601. cb.ptr = ptr;
  13602. cb.clientside = true;
  13603. return;
  13604. }
  13605. cb.clientside = false;
  13606. GLctx.vertexAttribIPointer(index, size, type, stride, ptr);
  13607. }
  13608. function _glVertexAttribPointer(index, size, type, normalized, stride, ptr) {
  13609. GLctx.vertexAttribPointer(index, size, type, !!normalized, stride, ptr);
  13610. }
  13611. function _glViewport(x0, x1, x2, x3) {
  13612. GLctx["viewport"](x0, x1, x2, x3);
  13613. }
  13614. var ___tm_current = STATICTOP;
  13615. STATICTOP += 48;
  13616. var ___tm_timezone = allocate(intArrayFromString("GMT"), "i8", ALLOC_STATIC);
  13617. function _gmtime_r(time, tmPtr) {
  13618. var date = new Date(HEAP32[time >> 2] * 1e3);
  13619. HEAP32[tmPtr >> 2] = date.getUTCSeconds();
  13620. HEAP32[tmPtr + 4 >> 2] = date.getUTCMinutes();
  13621. HEAP32[tmPtr + 8 >> 2] = date.getUTCHours();
  13622. HEAP32[tmPtr + 12 >> 2] = date.getUTCDate();
  13623. HEAP32[tmPtr + 16 >> 2] = date.getUTCMonth();
  13624. HEAP32[tmPtr + 20 >> 2] = date.getUTCFullYear() - 1900;
  13625. HEAP32[tmPtr + 24 >> 2] = date.getUTCDay();
  13626. HEAP32[tmPtr + 36 >> 2] = 0;
  13627. HEAP32[tmPtr + 32 >> 2] = 0;
  13628. var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0);
  13629. var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0;
  13630. HEAP32[tmPtr + 28 >> 2] = yday;
  13631. HEAP32[tmPtr + 40 >> 2] = ___tm_timezone;
  13632. return tmPtr;
  13633. }
  13634. function _gmtime(time) {
  13635. return _gmtime_r(time, ___tm_current);
  13636. }
  13637. function _inet_addr(ptr) {
  13638. var addr = __inet_pton4_raw(Pointer_stringify(ptr));
  13639. if (addr === null) {
  13640. return -1;
  13641. }
  13642. return addr;
  13643. }
  13644. var _llvm_ceil_f32 = Math_ceil;
  13645. var _llvm_ceil_f64 = Math_ceil;
  13646. function _llvm_copysign_f64(x, y) {
  13647. return y < 0 || y === 0 && 1 / y < 0 ? -Math_abs(x) : Math_abs(x);
  13648. }
  13649. function _llvm_cttz_i32(x) {
  13650. x = x | 0;
  13651. return (x ? 31 - (Math_clz32(x ^ x - 1) | 0) | 0 : 32) | 0;
  13652. }
  13653. function _llvm_eh_typeid_for(type) {
  13654. return type;
  13655. }
  13656. function _llvm_exp2_f32(x) {
  13657. return Math.pow(2, x);
  13658. }
  13659. var _llvm_fabs_f32 = Math_abs;
  13660. var _llvm_fabs_f64 = Math_abs;
  13661. var _llvm_floor_f32 = Math_floor;
  13662. var _llvm_floor_f64 = Math_floor;
  13663. function _llvm_log10_f32(x) {
  13664. return Math.log(x) / Math.LN10;
  13665. }
  13666. function _llvm_log2_f32(x) {
  13667. return Math.log(x) / Math.LN2;
  13668. }
  13669. var _llvm_pow_f64 = Math_pow;
  13670. var _llvm_sqrt_f32 = Math_sqrt;
  13671. function _llvm_trap() {
  13672. abort("trap!");
  13673. }
  13674. var _llvm_trunc_f32 = Math_trunc;
  13675. function _tzset() {
  13676. if (_tzset.called) return;
  13677. _tzset.called = true;
  13678. HEAP32[__get_timezone() >> 2] = (new Date).getTimezoneOffset() * 60;
  13679. var currentYear = (new Date).getFullYear();
  13680. var winter = new Date(currentYear, 0, 1);
  13681. var summer = new Date(currentYear, 6, 1);
  13682. HEAP32[__get_daylight() >> 2] = Number(winter.getTimezoneOffset() != summer.getTimezoneOffset());
  13683. function extractZone(date) {
  13684. var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
  13685. return match ? match[1] : "GMT";
  13686. }
  13687. var winterName = extractZone(winter);
  13688. var summerName = extractZone(summer);
  13689. var winterNamePtr = allocate(intArrayFromString(winterName), "i8", ALLOC_NORMAL);
  13690. var summerNamePtr = allocate(intArrayFromString(summerName), "i8", ALLOC_NORMAL);
  13691. if (summer.getTimezoneOffset() < winter.getTimezoneOffset()) {
  13692. HEAP32[__get_tzname() >> 2] = winterNamePtr;
  13693. HEAP32[__get_tzname() + 4 >> 2] = summerNamePtr;
  13694. } else {
  13695. HEAP32[__get_tzname() >> 2] = summerNamePtr;
  13696. HEAP32[__get_tzname() + 4 >> 2] = winterNamePtr;
  13697. }
  13698. }
  13699. function _localtime_r(time, tmPtr) {
  13700. _tzset();
  13701. var date = new Date(HEAP32[time >> 2] * 1e3);
  13702. HEAP32[tmPtr >> 2] = date.getSeconds();
  13703. HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
  13704. HEAP32[tmPtr + 8 >> 2] = date.getHours();
  13705. HEAP32[tmPtr + 12 >> 2] = date.getDate();
  13706. HEAP32[tmPtr + 16 >> 2] = date.getMonth();
  13707. HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
  13708. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13709. var start = new Date(date.getFullYear(), 0, 1);
  13710. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13711. HEAP32[tmPtr + 28 >> 2] = yday;
  13712. HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
  13713. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13714. var winterOffset = start.getTimezoneOffset();
  13715. var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
  13716. HEAP32[tmPtr + 32 >> 2] = dst;
  13717. var zonePtr = HEAP32[__get_tzname() + (dst ? 4 : 0) >> 2];
  13718. HEAP32[tmPtr + 40 >> 2] = zonePtr;
  13719. return tmPtr;
  13720. }
  13721. function _localtime(time) {
  13722. return _localtime_r(time, ___tm_current);
  13723. }
  13724. function _emscripten_memcpy_big(dest, src, num) {
  13725. HEAPU8.set(HEAPU8.subarray(src, src + num), dest);
  13726. return dest;
  13727. }
  13728. function _mktime(tmPtr) {
  13729. _tzset();
  13730. 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);
  13731. var dst = HEAP32[tmPtr + 32 >> 2];
  13732. var guessedOffset = date.getTimezoneOffset();
  13733. var start = new Date(date.getFullYear(), 0, 1);
  13734. var summerOffset = (new Date(date.getFullYear(), 6, 1)).getTimezoneOffset();
  13735. var winterOffset = start.getTimezoneOffset();
  13736. var dstOffset = Math.min(winterOffset, summerOffset);
  13737. if (dst < 0) {
  13738. HEAP32[tmPtr + 32 >> 2] = Number(summerOffset != winterOffset && dstOffset == guessedOffset);
  13739. } else if (dst > 0 != (dstOffset == guessedOffset)) {
  13740. var nonDstOffset = Math.max(winterOffset, summerOffset);
  13741. var trueOffset = dst > 0 ? dstOffset : nonDstOffset;
  13742. date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
  13743. }
  13744. HEAP32[tmPtr + 24 >> 2] = date.getDay();
  13745. var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
  13746. HEAP32[tmPtr + 28 >> 2] = yday;
  13747. return date.getTime() / 1e3 | 0;
  13748. }
  13749. function _usleep(useconds) {
  13750. var msec = useconds / 1e3;
  13751. if ((ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && self["performance"] && self["performance"]["now"]) {
  13752. var start = self["performance"]["now"]();
  13753. while (self["performance"]["now"]() - start < msec) {}
  13754. } else {
  13755. var start = Date.now();
  13756. while (Date.now() - start < msec) {}
  13757. }
  13758. return 0;
  13759. }
  13760. function _nanosleep(rqtp, rmtp) {
  13761. var seconds = HEAP32[rqtp >> 2];
  13762. var nanoseconds = HEAP32[rqtp + 4 >> 2];
  13763. if (rmtp !== 0) {
  13764. HEAP32[rmtp >> 2] = 0;
  13765. HEAP32[rmtp + 4 >> 2] = 0;
  13766. }
  13767. return _usleep(seconds * 1e6 + nanoseconds / 1e3);
  13768. }
  13769. function _pthread_cond_destroy() {
  13770. return 0;
  13771. }
  13772. function _pthread_cond_init() {
  13773. return 0;
  13774. }
  13775. function _pthread_cond_timedwait() {
  13776. return 0;
  13777. }
  13778. function _pthread_cond_wait() {
  13779. return 0;
  13780. }
  13781. var PTHREAD_SPECIFIC = {};
  13782. function _pthread_getspecific(key) {
  13783. return PTHREAD_SPECIFIC[key] || 0;
  13784. }
  13785. var PTHREAD_SPECIFIC_NEXT_KEY = 1;
  13786. function _pthread_key_create(key, destructor) {
  13787. if (key == 0) {
  13788. return ERRNO_CODES.EINVAL;
  13789. }
  13790. HEAP32[key >> 2] = PTHREAD_SPECIFIC_NEXT_KEY;
  13791. PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY] = 0;
  13792. PTHREAD_SPECIFIC_NEXT_KEY++;
  13793. return 0;
  13794. }
  13795. function _pthread_key_delete(key) {
  13796. if (key in PTHREAD_SPECIFIC) {
  13797. delete PTHREAD_SPECIFIC[key];
  13798. return 0;
  13799. }
  13800. return ERRNO_CODES.EINVAL;
  13801. }
  13802. function _pthread_mutex_destroy() {}
  13803. function _pthread_mutex_init() {}
  13804. function _pthread_mutexattr_destroy() {}
  13805. function _pthread_mutexattr_init() {}
  13806. function _pthread_mutexattr_setprotocol() {}
  13807. function _pthread_mutexattr_settype() {}
  13808. function _pthread_once(ptr, func) {
  13809. if (!_pthread_once.seen) _pthread_once.seen = {};
  13810. if (ptr in _pthread_once.seen) return;
  13811. Module["dynCall_v"](func);
  13812. _pthread_once.seen[ptr] = 1;
  13813. }
  13814. function _pthread_setspecific(key, value) {
  13815. if (!(key in PTHREAD_SPECIFIC)) {
  13816. return ERRNO_CODES.EINVAL;
  13817. }
  13818. PTHREAD_SPECIFIC[key] = value;
  13819. return 0;
  13820. }
  13821. function _sched_yield() {
  13822. return 0;
  13823. }
  13824. function _setenv(envname, envval, overwrite) {
  13825. if (envname === 0) {
  13826. ___setErrNo(ERRNO_CODES.EINVAL);
  13827. return -1;
  13828. }
  13829. var name = Pointer_stringify(envname);
  13830. var val = Pointer_stringify(envval);
  13831. if (name === "" || name.indexOf("=") !== -1) {
  13832. ___setErrNo(ERRNO_CODES.EINVAL);
  13833. return -1;
  13834. }
  13835. if (ENV.hasOwnProperty(name) && !overwrite) return 0;
  13836. ENV[name] = val;
  13837. ___buildEnvironment(__get_environ());
  13838. return 0;
  13839. }
  13840. function _sigaction(signum, act, oldact) {
  13841. err("Calling stub instead of sigaction()");
  13842. return 0;
  13843. }
  13844. function _sigemptyset(set) {
  13845. HEAP32[set >> 2] = 0;
  13846. return 0;
  13847. }
  13848. function __isLeapYear(year) {
  13849. return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
  13850. }
  13851. function __arraySum(array, index) {
  13852. var sum = 0;
  13853. for (var i = 0; i <= index; sum += array[i++]) ;
  13854. return sum;
  13855. }
  13856. var __MONTH_DAYS_LEAP = [ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13857. var __MONTH_DAYS_REGULAR = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
  13858. function __addDays(date, days) {
  13859. var newDate = new Date(date.getTime());
  13860. while (days > 0) {
  13861. var leap = __isLeapYear(newDate.getFullYear());
  13862. var currentMonth = newDate.getMonth();
  13863. var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth];
  13864. if (days > daysInCurrentMonth - newDate.getDate()) {
  13865. days -= daysInCurrentMonth - newDate.getDate() + 1;
  13866. newDate.setDate(1);
  13867. if (currentMonth < 11) {
  13868. newDate.setMonth(currentMonth + 1);
  13869. } else {
  13870. newDate.setMonth(0);
  13871. newDate.setFullYear(newDate.getFullYear() + 1);
  13872. }
  13873. } else {
  13874. newDate.setDate(newDate.getDate() + days);
  13875. return newDate;
  13876. }
  13877. }
  13878. return newDate;
  13879. }
  13880. function _strftime(s, maxsize, format, tm) {
  13881. var tm_zone = HEAP32[tm + 40 >> 2];
  13882. var date = {
  13883. tm_sec: HEAP32[tm >> 2],
  13884. tm_min: HEAP32[tm + 4 >> 2],
  13885. tm_hour: HEAP32[tm + 8 >> 2],
  13886. tm_mday: HEAP32[tm + 12 >> 2],
  13887. tm_mon: HEAP32[tm + 16 >> 2],
  13888. tm_year: HEAP32[tm + 20 >> 2],
  13889. tm_wday: HEAP32[tm + 24 >> 2],
  13890. tm_yday: HEAP32[tm + 28 >> 2],
  13891. tm_isdst: HEAP32[tm + 32 >> 2],
  13892. tm_gmtoff: HEAP32[tm + 36 >> 2],
  13893. tm_zone: tm_zone ? Pointer_stringify(tm_zone) : ""
  13894. };
  13895. var pattern = Pointer_stringify(format);
  13896. var EXPANSION_RULES_1 = {
  13897. "%c": "%a %b %d %H:%M:%S %Y",
  13898. "%D": "%m/%d/%y",
  13899. "%F": "%Y-%m-%d",
  13900. "%h": "%b",
  13901. "%r": "%I:%M:%S %p",
  13902. "%R": "%H:%M",
  13903. "%T": "%H:%M:%S",
  13904. "%x": "%m/%d/%y",
  13905. "%X": "%H:%M:%S"
  13906. };
  13907. for (var rule in EXPANSION_RULES_1) {
  13908. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]);
  13909. }
  13910. var WEEKDAYS = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ];
  13911. var MONTHS = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
  13912. function leadingSomething(value, digits, character) {
  13913. var str = typeof value === "number" ? value.toString() : value || "";
  13914. while (str.length < digits) {
  13915. str = character[0] + str;
  13916. }
  13917. return str;
  13918. }
  13919. function leadingNulls(value, digits) {
  13920. return leadingSomething(value, digits, "0");
  13921. }
  13922. function compareByDay(date1, date2) {
  13923. function sgn(value) {
  13924. return value < 0 ? -1 : value > 0 ? 1 : 0;
  13925. }
  13926. var compare;
  13927. if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) {
  13928. if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) {
  13929. compare = sgn(date1.getDate() - date2.getDate());
  13930. }
  13931. }
  13932. return compare;
  13933. }
  13934. function getFirstWeekStartDate(janFourth) {
  13935. switch (janFourth.getDay()) {
  13936. case 0:
  13937. return new Date(janFourth.getFullYear() - 1, 11, 29);
  13938. case 1:
  13939. return janFourth;
  13940. case 2:
  13941. return new Date(janFourth.getFullYear(), 0, 3);
  13942. case 3:
  13943. return new Date(janFourth.getFullYear(), 0, 2);
  13944. case 4:
  13945. return new Date(janFourth.getFullYear(), 0, 1);
  13946. case 5:
  13947. return new Date(janFourth.getFullYear() - 1, 11, 31);
  13948. case 6:
  13949. return new Date(janFourth.getFullYear() - 1, 11, 30);
  13950. }
  13951. }
  13952. function getWeekBasedYear(date) {
  13953. var thisDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  13954. var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4);
  13955. var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4);
  13956. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  13957. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  13958. if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) {
  13959. if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) {
  13960. return thisDate.getFullYear() + 1;
  13961. } else {
  13962. return thisDate.getFullYear();
  13963. }
  13964. } else {
  13965. return thisDate.getFullYear() - 1;
  13966. }
  13967. }
  13968. var EXPANSION_RULES_2 = {
  13969. "%a": (function(date) {
  13970. return WEEKDAYS[date.tm_wday].substring(0, 3);
  13971. }),
  13972. "%A": (function(date) {
  13973. return WEEKDAYS[date.tm_wday];
  13974. }),
  13975. "%b": (function(date) {
  13976. return MONTHS[date.tm_mon].substring(0, 3);
  13977. }),
  13978. "%B": (function(date) {
  13979. return MONTHS[date.tm_mon];
  13980. }),
  13981. "%C": (function(date) {
  13982. var year = date.tm_year + 1900;
  13983. return leadingNulls(year / 100 | 0, 2);
  13984. }),
  13985. "%d": (function(date) {
  13986. return leadingNulls(date.tm_mday, 2);
  13987. }),
  13988. "%e": (function(date) {
  13989. return leadingSomething(date.tm_mday, 2, " ");
  13990. }),
  13991. "%g": (function(date) {
  13992. return getWeekBasedYear(date).toString().substring(2);
  13993. }),
  13994. "%G": (function(date) {
  13995. return getWeekBasedYear(date);
  13996. }),
  13997. "%H": (function(date) {
  13998. return leadingNulls(date.tm_hour, 2);
  13999. }),
  14000. "%I": (function(date) {
  14001. var twelveHour = date.tm_hour;
  14002. if (twelveHour == 0) twelveHour = 12; else if (twelveHour > 12) twelveHour -= 12;
  14003. return leadingNulls(twelveHour, 2);
  14004. }),
  14005. "%j": (function(date) {
  14006. return leadingNulls(date.tm_mday + __arraySum(__isLeapYear(date.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date.tm_mon - 1), 3);
  14007. }),
  14008. "%m": (function(date) {
  14009. return leadingNulls(date.tm_mon + 1, 2);
  14010. }),
  14011. "%M": (function(date) {
  14012. return leadingNulls(date.tm_min, 2);
  14013. }),
  14014. "%n": (function() {
  14015. return "\n";
  14016. }),
  14017. "%p": (function(date) {
  14018. if (date.tm_hour >= 0 && date.tm_hour < 12) {
  14019. return "AM";
  14020. } else {
  14021. return "PM";
  14022. }
  14023. }),
  14024. "%S": (function(date) {
  14025. return leadingNulls(date.tm_sec, 2);
  14026. }),
  14027. "%t": (function() {
  14028. return "\t";
  14029. }),
  14030. "%u": (function(date) {
  14031. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  14032. return day.getDay() || 7;
  14033. }),
  14034. "%U": (function(date) {
  14035. var janFirst = new Date(date.tm_year + 1900, 0, 1);
  14036. var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay());
  14037. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  14038. if (compareByDay(firstSunday, endDate) < 0) {
  14039. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  14040. var firstSundayUntilEndJanuary = 31 - firstSunday.getDate();
  14041. var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  14042. return leadingNulls(Math.ceil(days / 7), 2);
  14043. }
  14044. return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00";
  14045. }),
  14046. "%V": (function(date) {
  14047. var janFourthThisYear = new Date(date.tm_year + 1900, 0, 4);
  14048. var janFourthNextYear = new Date(date.tm_year + 1901, 0, 4);
  14049. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  14050. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  14051. var endDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday);
  14052. if (compareByDay(endDate, firstWeekStartThisYear) < 0) {
  14053. return "53";
  14054. }
  14055. if (compareByDay(firstWeekStartNextYear, endDate) <= 0) {
  14056. return "01";
  14057. }
  14058. var daysDifference;
  14059. if (firstWeekStartThisYear.getFullYear() < date.tm_year + 1900) {
  14060. daysDifference = date.tm_yday + 32 - firstWeekStartThisYear.getDate();
  14061. } else {
  14062. daysDifference = date.tm_yday + 1 - firstWeekStartThisYear.getDate();
  14063. }
  14064. return leadingNulls(Math.ceil(daysDifference / 7), 2);
  14065. }),
  14066. "%w": (function(date) {
  14067. var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0);
  14068. return day.getDay();
  14069. }),
  14070. "%W": (function(date) {
  14071. var janFirst = new Date(date.tm_year, 0, 1);
  14072. var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1);
  14073. var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday);
  14074. if (compareByDay(firstMonday, endDate) < 0) {
  14075. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  14076. var firstMondayUntilEndJanuary = 31 - firstMonday.getDate();
  14077. var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  14078. return leadingNulls(Math.ceil(days / 7), 2);
  14079. }
  14080. return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00";
  14081. }),
  14082. "%y": (function(date) {
  14083. return (date.tm_year + 1900).toString().substring(2);
  14084. }),
  14085. "%Y": (function(date) {
  14086. return date.tm_year + 1900;
  14087. }),
  14088. "%z": (function(date) {
  14089. var off = date.tm_gmtoff;
  14090. var ahead = off >= 0;
  14091. off = Math.abs(off) / 60;
  14092. off = off / 60 * 100 + off % 60;
  14093. return (ahead ? "+" : "-") + String("0000" + off).slice(-4);
  14094. }),
  14095. "%Z": (function(date) {
  14096. return date.tm_zone;
  14097. }),
  14098. "%%": (function() {
  14099. return "%";
  14100. })
  14101. };
  14102. for (var rule in EXPANSION_RULES_2) {
  14103. if (pattern.indexOf(rule) >= 0) {
  14104. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date));
  14105. }
  14106. }
  14107. var bytes = intArrayFromString(pattern, false);
  14108. if (bytes.length > maxsize) {
  14109. return 0;
  14110. }
  14111. writeArrayToMemory(bytes, s);
  14112. return bytes.length - 1;
  14113. }
  14114. function _sysconf(name) {
  14115. switch (name) {
  14116. case 30:
  14117. return PAGE_SIZE;
  14118. case 85:
  14119. var maxHeapSize = 2 * 1024 * 1024 * 1024 - 65536;
  14120. return maxHeapSize / PAGE_SIZE;
  14121. case 132:
  14122. case 133:
  14123. case 12:
  14124. case 137:
  14125. case 138:
  14126. case 15:
  14127. case 235:
  14128. case 16:
  14129. case 17:
  14130. case 18:
  14131. case 19:
  14132. case 20:
  14133. case 149:
  14134. case 13:
  14135. case 10:
  14136. case 236:
  14137. case 153:
  14138. case 9:
  14139. case 21:
  14140. case 22:
  14141. case 159:
  14142. case 154:
  14143. case 14:
  14144. case 77:
  14145. case 78:
  14146. case 139:
  14147. case 80:
  14148. case 81:
  14149. case 82:
  14150. case 68:
  14151. case 67:
  14152. case 164:
  14153. case 11:
  14154. case 29:
  14155. case 47:
  14156. case 48:
  14157. case 95:
  14158. case 52:
  14159. case 51:
  14160. case 46:
  14161. return 200809;
  14162. case 79:
  14163. return 0;
  14164. case 27:
  14165. case 246:
  14166. case 127:
  14167. case 128:
  14168. case 23:
  14169. case 24:
  14170. case 160:
  14171. case 161:
  14172. case 181:
  14173. case 182:
  14174. case 242:
  14175. case 183:
  14176. case 184:
  14177. case 243:
  14178. case 244:
  14179. case 245:
  14180. case 165:
  14181. case 178:
  14182. case 179:
  14183. case 49:
  14184. case 50:
  14185. case 168:
  14186. case 169:
  14187. case 175:
  14188. case 170:
  14189. case 171:
  14190. case 172:
  14191. case 97:
  14192. case 76:
  14193. case 32:
  14194. case 173:
  14195. case 35:
  14196. return -1;
  14197. case 176:
  14198. case 177:
  14199. case 7:
  14200. case 155:
  14201. case 8:
  14202. case 157:
  14203. case 125:
  14204. case 126:
  14205. case 92:
  14206. case 93:
  14207. case 129:
  14208. case 130:
  14209. case 131:
  14210. case 94:
  14211. case 91:
  14212. return 1;
  14213. case 74:
  14214. case 60:
  14215. case 69:
  14216. case 70:
  14217. case 4:
  14218. return 1024;
  14219. case 31:
  14220. case 42:
  14221. case 72:
  14222. return 32;
  14223. case 87:
  14224. case 26:
  14225. case 33:
  14226. return 2147483647;
  14227. case 34:
  14228. case 1:
  14229. return 47839;
  14230. case 38:
  14231. case 36:
  14232. return 99;
  14233. case 43:
  14234. case 37:
  14235. return 2048;
  14236. case 0:
  14237. return 2097152;
  14238. case 3:
  14239. return 65536;
  14240. case 28:
  14241. return 32768;
  14242. case 44:
  14243. return 32767;
  14244. case 75:
  14245. return 16384;
  14246. case 39:
  14247. return 1e3;
  14248. case 89:
  14249. return 700;
  14250. case 71:
  14251. return 256;
  14252. case 40:
  14253. return 255;
  14254. case 2:
  14255. return 100;
  14256. case 180:
  14257. return 64;
  14258. case 25:
  14259. return 20;
  14260. case 5:
  14261. return 16;
  14262. case 6:
  14263. return 6;
  14264. case 73:
  14265. return 4;
  14266. case 84:
  14267. {
  14268. if (typeof navigator === "object") return navigator["hardwareConcurrency"] || 1;
  14269. return 1;
  14270. }
  14271. }
  14272. ___setErrNo(ERRNO_CODES.EINVAL);
  14273. return -1;
  14274. }
  14275. function _time(ptr) {
  14276. var ret = Date.now() / 1e3 | 0;
  14277. if (ptr) {
  14278. HEAP32[ptr >> 2] = ret;
  14279. }
  14280. return ret;
  14281. }
  14282. function _unsetenv(name) {
  14283. if (name === 0) {
  14284. ___setErrNo(ERRNO_CODES.EINVAL);
  14285. return -1;
  14286. }
  14287. name = Pointer_stringify(name);
  14288. if (name === "" || name.indexOf("=") !== -1) {
  14289. ___setErrNo(ERRNO_CODES.EINVAL);
  14290. return -1;
  14291. }
  14292. if (ENV.hasOwnProperty(name)) {
  14293. delete ENV[name];
  14294. ___buildEnvironment(__get_environ());
  14295. }
  14296. return 0;
  14297. }
  14298. function _utime(path, times) {
  14299. var time;
  14300. if (times) {
  14301. var offset = 4;
  14302. time = HEAP32[times + offset >> 2];
  14303. time *= 1e3;
  14304. } else {
  14305. time = Date.now();
  14306. }
  14307. path = Pointer_stringify(path);
  14308. try {
  14309. FS.utime(path, time, time);
  14310. return 0;
  14311. } catch (e) {
  14312. FS.handleFSError(e);
  14313. return -1;
  14314. }
  14315. }
  14316. FS.staticInit();
  14317. __ATINIT__.unshift((function() {
  14318. if (!Module["noFSInit"] && !FS.init.initialized) FS.init();
  14319. }));
  14320. __ATMAIN__.push((function() {
  14321. FS.ignorePermissions = false;
  14322. }));
  14323. __ATEXIT__.push((function() {
  14324. FS.quit();
  14325. }));
  14326. Module["FS_createPath"] = FS.createPath;
  14327. Module["FS_createDataFile"] = FS.createDataFile;
  14328. __ATINIT__.unshift((function() {
  14329. TTY.init();
  14330. }));
  14331. __ATEXIT__.push((function() {
  14332. TTY.shutdown();
  14333. }));
  14334. if (ENVIRONMENT_IS_NODE) {
  14335. var fs = require("fs");
  14336. var NODEJS_PATH = require("path");
  14337. NODEFS.staticInit();
  14338. }
  14339. __ATINIT__.push((function() {
  14340. SOCKFS.root = FS.mount(SOCKFS, {}, null);
  14341. }));
  14342. if (ENVIRONMENT_IS_NODE) {
  14343. _emscripten_get_now = function _emscripten_get_now_actual() {
  14344. var t = process["hrtime"]();
  14345. return t[0] * 1e3 + t[1] / 1e6;
  14346. };
  14347. } else if (typeof dateNow !== "undefined") {
  14348. _emscripten_get_now = dateNow;
  14349. } else if (typeof self === "object" && self["performance"] && typeof self["performance"]["now"] === "function") {
  14350. _emscripten_get_now = (function() {
  14351. return self["performance"]["now"]();
  14352. });
  14353. } else if (typeof performance === "object" && typeof performance["now"] === "function") {
  14354. _emscripten_get_now = (function() {
  14355. return performance["now"]();
  14356. });
  14357. } else {
  14358. _emscripten_get_now = Date.now;
  14359. }
  14360. Module["requestFullScreen"] = function Module_requestFullScreen(lockPointer, resizeCanvas, vrDevice) {
  14361. err("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead.");
  14362. Module["requestFullScreen"] = Module["requestFullscreen"];
  14363. Browser.requestFullScreen(lockPointer, resizeCanvas, vrDevice);
  14364. };
  14365. Module["requestFullscreen"] = function Module_requestFullscreen(lockPointer, resizeCanvas, vrDevice) {
  14366. Browser.requestFullscreen(lockPointer, resizeCanvas, vrDevice);
  14367. };
  14368. Module["requestAnimationFrame"] = function Module_requestAnimationFrame(func) {
  14369. Browser.requestAnimationFrame(func);
  14370. };
  14371. Module["setCanvasSize"] = function Module_setCanvasSize(width, height, noUpdates) {
  14372. Browser.setCanvasSize(width, height, noUpdates);
  14373. };
  14374. Module["pauseMainLoop"] = function Module_pauseMainLoop() {
  14375. Browser.mainLoop.pause();
  14376. };
  14377. Module["resumeMainLoop"] = function Module_resumeMainLoop() {
  14378. Browser.mainLoop.resume();
  14379. };
  14380. Module["getUserMedia"] = function Module_getUserMedia() {
  14381. Browser.getUserMedia();
  14382. };
  14383. Module["createContext"] = function Module_createContext(canvas, useWebGL, setInModule, webGLContextAttributes) {
  14384. return Browser.createContext(canvas, useWebGL, setInModule, webGLContextAttributes);
  14385. };
  14386. JSEvents.staticInit();
  14387. var GLctx;
  14388. GL.init();
  14389. DYNAMICTOP_PTR = staticAlloc(4);
  14390. STACK_BASE = STACKTOP = alignMemory(STATICTOP);
  14391. STACK_MAX = STACK_BASE + TOTAL_STACK;
  14392. DYNAMIC_BASE = alignMemory(STACK_MAX);
  14393. HEAP32[DYNAMICTOP_PTR >> 2] = DYNAMIC_BASE;
  14394. staticSealed = true;
  14395. assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
  14396. function intArrayFromString(stringy, dontAddNull, length) {
  14397. var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1;
  14398. var u8array = new Array(len);
  14399. var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length);
  14400. if (dontAddNull) u8array.length = numBytesWritten;
  14401. return u8array;
  14402. }
  14403. function nullFunc_dddi(x) {
  14404. 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)");
  14405. err("Build with ASSERTIONS=2 for more info.");
  14406. abort(x);
  14407. }
  14408. function nullFunc_ddi(x) {
  14409. 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)");
  14410. err("Build with ASSERTIONS=2 for more info.");
  14411. abort(x);
  14412. }
  14413. function nullFunc_dfi(x) {
  14414. 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)");
  14415. err("Build with ASSERTIONS=2 for more info.");
  14416. abort(x);
  14417. }
  14418. function nullFunc_di(x) {
  14419. 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)");
  14420. err("Build with ASSERTIONS=2 for more info.");
  14421. abort(x);
  14422. }
  14423. function nullFunc_diddi(x) {
  14424. 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)");
  14425. err("Build with ASSERTIONS=2 for more info.");
  14426. abort(x);
  14427. }
  14428. function nullFunc_didi(x) {
  14429. 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)");
  14430. err("Build with ASSERTIONS=2 for more info.");
  14431. abort(x);
  14432. }
  14433. function nullFunc_dii(x) {
  14434. 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)");
  14435. err("Build with ASSERTIONS=2 for more info.");
  14436. abort(x);
  14437. }
  14438. function nullFunc_diii(x) {
  14439. 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)");
  14440. err("Build with ASSERTIONS=2 for more info.");
  14441. abort(x);
  14442. }
  14443. function nullFunc_diiii(x) {
  14444. 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)");
  14445. err("Build with ASSERTIONS=2 for more info.");
  14446. abort(x);
  14447. }
  14448. function nullFunc_dji(x) {
  14449. 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)");
  14450. err("Build with ASSERTIONS=2 for more info.");
  14451. abort(x);
  14452. }
  14453. function nullFunc_f(x) {
  14454. 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)");
  14455. err("Build with ASSERTIONS=2 for more info.");
  14456. abort(x);
  14457. }
  14458. function nullFunc_fdi(x) {
  14459. 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)");
  14460. err("Build with ASSERTIONS=2 for more info.");
  14461. abort(x);
  14462. }
  14463. function nullFunc_ff(x) {
  14464. 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)");
  14465. err("Build with ASSERTIONS=2 for more info.");
  14466. abort(x);
  14467. }
  14468. function nullFunc_fff(x) {
  14469. 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)");
  14470. err("Build with ASSERTIONS=2 for more info.");
  14471. abort(x);
  14472. }
  14473. function nullFunc_ffffi(x) {
  14474. 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)");
  14475. err("Build with ASSERTIONS=2 for more info.");
  14476. abort(x);
  14477. }
  14478. function nullFunc_fffi(x) {
  14479. 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)");
  14480. err("Build with ASSERTIONS=2 for more info.");
  14481. abort(x);
  14482. }
  14483. function nullFunc_fffifffi(x) {
  14484. 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)");
  14485. err("Build with ASSERTIONS=2 for more info.");
  14486. abort(x);
  14487. }
  14488. function nullFunc_ffi(x) {
  14489. 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)");
  14490. err("Build with ASSERTIONS=2 for more info.");
  14491. abort(x);
  14492. }
  14493. function nullFunc_fi(x) {
  14494. 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)");
  14495. err("Build with ASSERTIONS=2 for more info.");
  14496. abort(x);
  14497. }
  14498. function nullFunc_fif(x) {
  14499. 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)");
  14500. err("Build with ASSERTIONS=2 for more info.");
  14501. abort(x);
  14502. }
  14503. function nullFunc_fiff(x) {
  14504. 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)");
  14505. err("Build with ASSERTIONS=2 for more info.");
  14506. abort(x);
  14507. }
  14508. function nullFunc_fifffi(x) {
  14509. err("Invalid function pointer called with signature 'fifffi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14510. err("Build with ASSERTIONS=2 for more info.");
  14511. abort(x);
  14512. }
  14513. function nullFunc_fiffi(x) {
  14514. 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)");
  14515. err("Build with ASSERTIONS=2 for more info.");
  14516. abort(x);
  14517. }
  14518. function nullFunc_fifi(x) {
  14519. 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)");
  14520. err("Build with ASSERTIONS=2 for more info.");
  14521. abort(x);
  14522. }
  14523. function nullFunc_fifii(x) {
  14524. 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)");
  14525. err("Build with ASSERTIONS=2 for more info.");
  14526. abort(x);
  14527. }
  14528. function nullFunc_fii(x) {
  14529. 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)");
  14530. err("Build with ASSERTIONS=2 for more info.");
  14531. abort(x);
  14532. }
  14533. function nullFunc_fiif(x) {
  14534. err("Invalid function pointer called with signature 'fiif'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14535. err("Build with ASSERTIONS=2 for more info.");
  14536. abort(x);
  14537. }
  14538. function nullFunc_fiifi(x) {
  14539. 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)");
  14540. err("Build with ASSERTIONS=2 for more info.");
  14541. abort(x);
  14542. }
  14543. function nullFunc_fiifii(x) {
  14544. 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)");
  14545. err("Build with ASSERTIONS=2 for more info.");
  14546. abort(x);
  14547. }
  14548. function nullFunc_fiii(x) {
  14549. 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)");
  14550. err("Build with ASSERTIONS=2 for more info.");
  14551. abort(x);
  14552. }
  14553. function nullFunc_fiiii(x) {
  14554. 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)");
  14555. err("Build with ASSERTIONS=2 for more info.");
  14556. abort(x);
  14557. }
  14558. function nullFunc_fiiiiiifiifif(x) {
  14559. 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)");
  14560. err("Build with ASSERTIONS=2 for more info.");
  14561. abort(x);
  14562. }
  14563. function nullFunc_fiiiiiifiiiif(x) {
  14564. 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)");
  14565. err("Build with ASSERTIONS=2 for more info.");
  14566. abort(x);
  14567. }
  14568. function nullFunc_fji(x) {
  14569. 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)");
  14570. err("Build with ASSERTIONS=2 for more info.");
  14571. abort(x);
  14572. }
  14573. function nullFunc_i(x) {
  14574. 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)");
  14575. err("Build with ASSERTIONS=2 for more info.");
  14576. abort(x);
  14577. }
  14578. function nullFunc_idi(x) {
  14579. 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)");
  14580. err("Build with ASSERTIONS=2 for more info.");
  14581. abort(x);
  14582. }
  14583. function nullFunc_idiii(x) {
  14584. 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)");
  14585. err("Build with ASSERTIONS=2 for more info.");
  14586. abort(x);
  14587. }
  14588. function nullFunc_ifffi(x) {
  14589. 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)");
  14590. err("Build with ASSERTIONS=2 for more info.");
  14591. abort(x);
  14592. }
  14593. function nullFunc_iffi(x) {
  14594. 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)");
  14595. err("Build with ASSERTIONS=2 for more info.");
  14596. abort(x);
  14597. }
  14598. function nullFunc_ifi(x) {
  14599. 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)");
  14600. err("Build with ASSERTIONS=2 for more info.");
  14601. abort(x);
  14602. }
  14603. function nullFunc_ifiii(x) {
  14604. 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)");
  14605. err("Build with ASSERTIONS=2 for more info.");
  14606. abort(x);
  14607. }
  14608. function nullFunc_ii(x) {
  14609. 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)");
  14610. err("Build with ASSERTIONS=2 for more info.");
  14611. abort(x);
  14612. }
  14613. function nullFunc_iidi(x) {
  14614. 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)");
  14615. err("Build with ASSERTIONS=2 for more info.");
  14616. abort(x);
  14617. }
  14618. function nullFunc_iidii(x) {
  14619. 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)");
  14620. err("Build with ASSERTIONS=2 for more info.");
  14621. abort(x);
  14622. }
  14623. function nullFunc_iif(x) {
  14624. 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)");
  14625. err("Build with ASSERTIONS=2 for more info.");
  14626. abort(x);
  14627. }
  14628. function nullFunc_iifff(x) {
  14629. 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)");
  14630. err("Build with ASSERTIONS=2 for more info.");
  14631. abort(x);
  14632. }
  14633. function nullFunc_iifffi(x) {
  14634. 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)");
  14635. err("Build with ASSERTIONS=2 for more info.");
  14636. abort(x);
  14637. }
  14638. function nullFunc_iiffi(x) {
  14639. 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)");
  14640. err("Build with ASSERTIONS=2 for more info.");
  14641. abort(x);
  14642. }
  14643. function nullFunc_iifi(x) {
  14644. 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)");
  14645. err("Build with ASSERTIONS=2 for more info.");
  14646. abort(x);
  14647. }
  14648. function nullFunc_iifii(x) {
  14649. 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)");
  14650. err("Build with ASSERTIONS=2 for more info.");
  14651. abort(x);
  14652. }
  14653. function nullFunc_iifiii(x) {
  14654. 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)");
  14655. err("Build with ASSERTIONS=2 for more info.");
  14656. abort(x);
  14657. }
  14658. function nullFunc_iifiiiijii(x) {
  14659. 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)");
  14660. err("Build with ASSERTIONS=2 for more info.");
  14661. abort(x);
  14662. }
  14663. function nullFunc_iii(x) {
  14664. 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)");
  14665. err("Build with ASSERTIONS=2 for more info.");
  14666. abort(x);
  14667. }
  14668. function nullFunc_iiif(x) {
  14669. 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)");
  14670. err("Build with ASSERTIONS=2 for more info.");
  14671. abort(x);
  14672. }
  14673. function nullFunc_iiiff(x) {
  14674. 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)");
  14675. err("Build with ASSERTIONS=2 for more info.");
  14676. abort(x);
  14677. }
  14678. function nullFunc_iiifi(x) {
  14679. 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)");
  14680. err("Build with ASSERTIONS=2 for more info.");
  14681. abort(x);
  14682. }
  14683. function nullFunc_iiifii(x) {
  14684. 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)");
  14685. err("Build with ASSERTIONS=2 for more info.");
  14686. abort(x);
  14687. }
  14688. function nullFunc_iiifiii(x) {
  14689. 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)");
  14690. err("Build with ASSERTIONS=2 for more info.");
  14691. abort(x);
  14692. }
  14693. function nullFunc_iiifiiii(x) {
  14694. 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)");
  14695. err("Build with ASSERTIONS=2 for more info.");
  14696. abort(x);
  14697. }
  14698. function nullFunc_iiii(x) {
  14699. 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)");
  14700. err("Build with ASSERTIONS=2 for more info.");
  14701. abort(x);
  14702. }
  14703. function nullFunc_iiiifffffi(x) {
  14704. 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)");
  14705. err("Build with ASSERTIONS=2 for more info.");
  14706. abort(x);
  14707. }
  14708. function nullFunc_iiiifffffii(x) {
  14709. 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)");
  14710. err("Build with ASSERTIONS=2 for more info.");
  14711. abort(x);
  14712. }
  14713. function nullFunc_iiiifffiii(x) {
  14714. 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)");
  14715. err("Build with ASSERTIONS=2 for more info.");
  14716. abort(x);
  14717. }
  14718. function nullFunc_iiiifi(x) {
  14719. 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)");
  14720. err("Build with ASSERTIONS=2 for more info.");
  14721. abort(x);
  14722. }
  14723. function nullFunc_iiiifii(x) {
  14724. 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)");
  14725. err("Build with ASSERTIONS=2 for more info.");
  14726. abort(x);
  14727. }
  14728. function nullFunc_iiiifiii(x) {
  14729. 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)");
  14730. err("Build with ASSERTIONS=2 for more info.");
  14731. abort(x);
  14732. }
  14733. function nullFunc_iiiifiiii(x) {
  14734. 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)");
  14735. err("Build with ASSERTIONS=2 for more info.");
  14736. abort(x);
  14737. }
  14738. function nullFunc_iiiifiiiii(x) {
  14739. 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)");
  14740. err("Build with ASSERTIONS=2 for more info.");
  14741. abort(x);
  14742. }
  14743. function nullFunc_iiiii(x) {
  14744. 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)");
  14745. err("Build with ASSERTIONS=2 for more info.");
  14746. abort(x);
  14747. }
  14748. function nullFunc_iiiiifiii(x) {
  14749. 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)");
  14750. err("Build with ASSERTIONS=2 for more info.");
  14751. abort(x);
  14752. }
  14753. function nullFunc_iiiiifiiiiif(x) {
  14754. 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)");
  14755. err("Build with ASSERTIONS=2 for more info.");
  14756. abort(x);
  14757. }
  14758. function nullFunc_iiiiii(x) {
  14759. 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)");
  14760. err("Build with ASSERTIONS=2 for more info.");
  14761. abort(x);
  14762. }
  14763. function nullFunc_iiiiiifff(x) {
  14764. 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)");
  14765. err("Build with ASSERTIONS=2 for more info.");
  14766. abort(x);
  14767. }
  14768. function nullFunc_iiiiiifffiiifiii(x) {
  14769. 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)");
  14770. err("Build with ASSERTIONS=2 for more info.");
  14771. abort(x);
  14772. }
  14773. function nullFunc_iiiiiiffiiiiiiiiiffffiii(x) {
  14774. 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)");
  14775. err("Build with ASSERTIONS=2 for more info.");
  14776. abort(x);
  14777. }
  14778. function nullFunc_iiiiiiffiiiiiiiiiffffiiii(x) {
  14779. 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)");
  14780. err("Build with ASSERTIONS=2 for more info.");
  14781. abort(x);
  14782. }
  14783. function nullFunc_iiiiiiffiiiiiiiiiiiiiii(x) {
  14784. 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)");
  14785. err("Build with ASSERTIONS=2 for more info.");
  14786. abort(x);
  14787. }
  14788. function nullFunc_iiiiiifiif(x) {
  14789. 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)");
  14790. err("Build with ASSERTIONS=2 for more info.");
  14791. abort(x);
  14792. }
  14793. function nullFunc_iiiiiifiii(x) {
  14794. 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)");
  14795. err("Build with ASSERTIONS=2 for more info.");
  14796. abort(x);
  14797. }
  14798. function nullFunc_iiiiiii(x) {
  14799. 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)");
  14800. err("Build with ASSERTIONS=2 for more info.");
  14801. abort(x);
  14802. }
  14803. function nullFunc_iiiiiiifiif(x) {
  14804. 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)");
  14805. err("Build with ASSERTIONS=2 for more info.");
  14806. abort(x);
  14807. }
  14808. function nullFunc_iiiiiiii(x) {
  14809. 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)");
  14810. err("Build with ASSERTIONS=2 for more info.");
  14811. abort(x);
  14812. }
  14813. function nullFunc_iiiiiiiii(x) {
  14814. 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)");
  14815. err("Build with ASSERTIONS=2 for more info.");
  14816. abort(x);
  14817. }
  14818. function nullFunc_iiiiiiiiii(x) {
  14819. 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)");
  14820. err("Build with ASSERTIONS=2 for more info.");
  14821. abort(x);
  14822. }
  14823. function nullFunc_iiiiiiiiiii(x) {
  14824. 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)");
  14825. err("Build with ASSERTIONS=2 for more info.");
  14826. abort(x);
  14827. }
  14828. function nullFunc_iiiiiiiiiiii(x) {
  14829. 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)");
  14830. err("Build with ASSERTIONS=2 for more info.");
  14831. abort(x);
  14832. }
  14833. function nullFunc_iiiiiiiiiiiii(x) {
  14834. 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)");
  14835. err("Build with ASSERTIONS=2 for more info.");
  14836. abort(x);
  14837. }
  14838. function nullFunc_iiiiiiiiiiiiii(x) {
  14839. 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)");
  14840. err("Build with ASSERTIONS=2 for more info.");
  14841. abort(x);
  14842. }
  14843. function nullFunc_iiiiiji(x) {
  14844. 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)");
  14845. err("Build with ASSERTIONS=2 for more info.");
  14846. abort(x);
  14847. }
  14848. function nullFunc_iiiij(x) {
  14849. 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)");
  14850. err("Build with ASSERTIONS=2 for more info.");
  14851. abort(x);
  14852. }
  14853. function nullFunc_iiiiji(x) {
  14854. 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)");
  14855. err("Build with ASSERTIONS=2 for more info.");
  14856. abort(x);
  14857. }
  14858. function nullFunc_iiiijii(x) {
  14859. 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)");
  14860. err("Build with ASSERTIONS=2 for more info.");
  14861. abort(x);
  14862. }
  14863. function nullFunc_iiiijiii(x) {
  14864. 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)");
  14865. err("Build with ASSERTIONS=2 for more info.");
  14866. abort(x);
  14867. }
  14868. function nullFunc_iiij(x) {
  14869. 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)");
  14870. err("Build with ASSERTIONS=2 for more info.");
  14871. abort(x);
  14872. }
  14873. function nullFunc_iiiji(x) {
  14874. 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)");
  14875. err("Build with ASSERTIONS=2 for more info.");
  14876. abort(x);
  14877. }
  14878. function nullFunc_iiijii(x) {
  14879. 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)");
  14880. err("Build with ASSERTIONS=2 for more info.");
  14881. abort(x);
  14882. }
  14883. function nullFunc_iiijiii(x) {
  14884. 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)");
  14885. err("Build with ASSERTIONS=2 for more info.");
  14886. abort(x);
  14887. }
  14888. function nullFunc_iiijji(x) {
  14889. err("Invalid function pointer called with signature 'iiijji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14890. err("Build with ASSERTIONS=2 for more info.");
  14891. abort(x);
  14892. }
  14893. function nullFunc_iiijjiiii(x) {
  14894. err("Invalid function pointer called with signature 'iiijjiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  14895. err("Build with ASSERTIONS=2 for more info.");
  14896. abort(x);
  14897. }
  14898. function nullFunc_iij(x) {
  14899. 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)");
  14900. err("Build with ASSERTIONS=2 for more info.");
  14901. abort(x);
  14902. }
  14903. function nullFunc_iiji(x) {
  14904. 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)");
  14905. err("Build with ASSERTIONS=2 for more info.");
  14906. abort(x);
  14907. }
  14908. function nullFunc_iijii(x) {
  14909. 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)");
  14910. err("Build with ASSERTIONS=2 for more info.");
  14911. abort(x);
  14912. }
  14913. function nullFunc_iijiii(x) {
  14914. 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)");
  14915. err("Build with ASSERTIONS=2 for more info.");
  14916. abort(x);
  14917. }
  14918. function nullFunc_iijji(x) {
  14919. 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)");
  14920. err("Build with ASSERTIONS=2 for more info.");
  14921. abort(x);
  14922. }
  14923. function nullFunc_iijjii(x) {
  14924. 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)");
  14925. err("Build with ASSERTIONS=2 for more info.");
  14926. abort(x);
  14927. }
  14928. function nullFunc_iijjiii(x) {
  14929. 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)");
  14930. err("Build with ASSERTIONS=2 for more info.");
  14931. abort(x);
  14932. }
  14933. function nullFunc_iijjji(x) {
  14934. 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)");
  14935. err("Build with ASSERTIONS=2 for more info.");
  14936. abort(x);
  14937. }
  14938. function nullFunc_ij(x) {
  14939. 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)");
  14940. err("Build with ASSERTIONS=2 for more info.");
  14941. abort(x);
  14942. }
  14943. function nullFunc_iji(x) {
  14944. 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)");
  14945. err("Build with ASSERTIONS=2 for more info.");
  14946. abort(x);
  14947. }
  14948. function nullFunc_ijiii(x) {
  14949. 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)");
  14950. err("Build with ASSERTIONS=2 for more info.");
  14951. abort(x);
  14952. }
  14953. function nullFunc_ijj(x) {
  14954. 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)");
  14955. err("Build with ASSERTIONS=2 for more info.");
  14956. abort(x);
  14957. }
  14958. function nullFunc_ijji(x) {
  14959. 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)");
  14960. err("Build with ASSERTIONS=2 for more info.");
  14961. abort(x);
  14962. }
  14963. function nullFunc_j(x) {
  14964. 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)");
  14965. err("Build with ASSERTIONS=2 for more info.");
  14966. abort(x);
  14967. }
  14968. function nullFunc_jdi(x) {
  14969. 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)");
  14970. err("Build with ASSERTIONS=2 for more info.");
  14971. abort(x);
  14972. }
  14973. function nullFunc_jdii(x) {
  14974. 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)");
  14975. err("Build with ASSERTIONS=2 for more info.");
  14976. abort(x);
  14977. }
  14978. function nullFunc_jfi(x) {
  14979. 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)");
  14980. err("Build with ASSERTIONS=2 for more info.");
  14981. abort(x);
  14982. }
  14983. function nullFunc_ji(x) {
  14984. 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)");
  14985. err("Build with ASSERTIONS=2 for more info.");
  14986. abort(x);
  14987. }
  14988. function nullFunc_jidi(x) {
  14989. 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)");
  14990. err("Build with ASSERTIONS=2 for more info.");
  14991. abort(x);
  14992. }
  14993. function nullFunc_jidii(x) {
  14994. 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)");
  14995. err("Build with ASSERTIONS=2 for more info.");
  14996. abort(x);
  14997. }
  14998. function nullFunc_jii(x) {
  14999. 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)");
  15000. err("Build with ASSERTIONS=2 for more info.");
  15001. abort(x);
  15002. }
  15003. function nullFunc_jiii(x) {
  15004. 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)");
  15005. err("Build with ASSERTIONS=2 for more info.");
  15006. abort(x);
  15007. }
  15008. function nullFunc_jiiii(x) {
  15009. 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)");
  15010. err("Build with ASSERTIONS=2 for more info.");
  15011. abort(x);
  15012. }
  15013. function nullFunc_jiiiii(x) {
  15014. 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)");
  15015. err("Build with ASSERTIONS=2 for more info.");
  15016. abort(x);
  15017. }
  15018. function nullFunc_jiiiiii(x) {
  15019. 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)");
  15020. err("Build with ASSERTIONS=2 for more info.");
  15021. abort(x);
  15022. }
  15023. function nullFunc_jiiiiiiiiii(x) {
  15024. 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)");
  15025. err("Build with ASSERTIONS=2 for more info.");
  15026. abort(x);
  15027. }
  15028. function nullFunc_jiiji(x) {
  15029. 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)");
  15030. err("Build with ASSERTIONS=2 for more info.");
  15031. abort(x);
  15032. }
  15033. function nullFunc_jiji(x) {
  15034. 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)");
  15035. err("Build with ASSERTIONS=2 for more info.");
  15036. abort(x);
  15037. }
  15038. function nullFunc_jijii(x) {
  15039. 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)");
  15040. err("Build with ASSERTIONS=2 for more info.");
  15041. abort(x);
  15042. }
  15043. function nullFunc_jijiii(x) {
  15044. 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)");
  15045. err("Build with ASSERTIONS=2 for more info.");
  15046. abort(x);
  15047. }
  15048. function nullFunc_jijj(x) {
  15049. 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)");
  15050. err("Build with ASSERTIONS=2 for more info.");
  15051. abort(x);
  15052. }
  15053. function nullFunc_jijji(x) {
  15054. 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)");
  15055. err("Build with ASSERTIONS=2 for more info.");
  15056. abort(x);
  15057. }
  15058. function nullFunc_jji(x) {
  15059. 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)");
  15060. err("Build with ASSERTIONS=2 for more info.");
  15061. abort(x);
  15062. }
  15063. function nullFunc_v(x) {
  15064. 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)");
  15065. err("Build with ASSERTIONS=2 for more info.");
  15066. abort(x);
  15067. }
  15068. function nullFunc_vd(x) {
  15069. 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)");
  15070. err("Build with ASSERTIONS=2 for more info.");
  15071. abort(x);
  15072. }
  15073. function nullFunc_vf(x) {
  15074. 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)");
  15075. err("Build with ASSERTIONS=2 for more info.");
  15076. abort(x);
  15077. }
  15078. function nullFunc_vff(x) {
  15079. 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)");
  15080. err("Build with ASSERTIONS=2 for more info.");
  15081. abort(x);
  15082. }
  15083. function nullFunc_vffff(x) {
  15084. 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)");
  15085. err("Build with ASSERTIONS=2 for more info.");
  15086. abort(x);
  15087. }
  15088. function nullFunc_vfi(x) {
  15089. 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)");
  15090. err("Build with ASSERTIONS=2 for more info.");
  15091. abort(x);
  15092. }
  15093. function nullFunc_vi(x) {
  15094. 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)");
  15095. err("Build with ASSERTIONS=2 for more info.");
  15096. abort(x);
  15097. }
  15098. function nullFunc_vid(x) {
  15099. 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)");
  15100. err("Build with ASSERTIONS=2 for more info.");
  15101. abort(x);
  15102. }
  15103. function nullFunc_vidi(x) {
  15104. 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)");
  15105. err("Build with ASSERTIONS=2 for more info.");
  15106. abort(x);
  15107. }
  15108. function nullFunc_vif(x) {
  15109. 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)");
  15110. err("Build with ASSERTIONS=2 for more info.");
  15111. abort(x);
  15112. }
  15113. function nullFunc_viff(x) {
  15114. 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)");
  15115. err("Build with ASSERTIONS=2 for more info.");
  15116. abort(x);
  15117. }
  15118. function nullFunc_vifff(x) {
  15119. 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)");
  15120. err("Build with ASSERTIONS=2 for more info.");
  15121. abort(x);
  15122. }
  15123. function nullFunc_viffff(x) {
  15124. 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)");
  15125. err("Build with ASSERTIONS=2 for more info.");
  15126. abort(x);
  15127. }
  15128. function nullFunc_viffffi(x) {
  15129. 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)");
  15130. err("Build with ASSERTIONS=2 for more info.");
  15131. abort(x);
  15132. }
  15133. function nullFunc_viffffii(x) {
  15134. 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)");
  15135. err("Build with ASSERTIONS=2 for more info.");
  15136. abort(x);
  15137. }
  15138. function nullFunc_viffffiifffiiiiif(x) {
  15139. 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)");
  15140. err("Build with ASSERTIONS=2 for more info.");
  15141. abort(x);
  15142. }
  15143. function nullFunc_viffffiii(x) {
  15144. err("Invalid function pointer called with signature 'viffffiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15145. err("Build with ASSERTIONS=2 for more info.");
  15146. abort(x);
  15147. }
  15148. function nullFunc_vifffi(x) {
  15149. 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)");
  15150. err("Build with ASSERTIONS=2 for more info.");
  15151. abort(x);
  15152. }
  15153. function nullFunc_vifffii(x) {
  15154. 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)");
  15155. err("Build with ASSERTIONS=2 for more info.");
  15156. abort(x);
  15157. }
  15158. function nullFunc_viffi(x) {
  15159. 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)");
  15160. err("Build with ASSERTIONS=2 for more info.");
  15161. abort(x);
  15162. }
  15163. function nullFunc_viffii(x) {
  15164. 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)");
  15165. err("Build with ASSERTIONS=2 for more info.");
  15166. abort(x);
  15167. }
  15168. function nullFunc_viffiifffffiii(x) {
  15169. 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)");
  15170. err("Build with ASSERTIONS=2 for more info.");
  15171. abort(x);
  15172. }
  15173. function nullFunc_viffiii(x) {
  15174. 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)");
  15175. err("Build with ASSERTIONS=2 for more info.");
  15176. abort(x);
  15177. }
  15178. function nullFunc_viffiiiif(x) {
  15179. 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)");
  15180. err("Build with ASSERTIONS=2 for more info.");
  15181. abort(x);
  15182. }
  15183. function nullFunc_vifi(x) {
  15184. 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)");
  15185. err("Build with ASSERTIONS=2 for more info.");
  15186. abort(x);
  15187. }
  15188. function nullFunc_vifii(x) {
  15189. 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)");
  15190. err("Build with ASSERTIONS=2 for more info.");
  15191. abort(x);
  15192. }
  15193. function nullFunc_vifiiii(x) {
  15194. 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)");
  15195. err("Build with ASSERTIONS=2 for more info.");
  15196. abort(x);
  15197. }
  15198. function nullFunc_vifijii(x) {
  15199. 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)");
  15200. err("Build with ASSERTIONS=2 for more info.");
  15201. abort(x);
  15202. }
  15203. function nullFunc_vii(x) {
  15204. 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)");
  15205. err("Build with ASSERTIONS=2 for more info.");
  15206. abort(x);
  15207. }
  15208. function nullFunc_viid(x) {
  15209. 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)");
  15210. err("Build with ASSERTIONS=2 for more info.");
  15211. abort(x);
  15212. }
  15213. function nullFunc_viidi(x) {
  15214. 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)");
  15215. err("Build with ASSERTIONS=2 for more info.");
  15216. abort(x);
  15217. }
  15218. function nullFunc_viidii(x) {
  15219. 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)");
  15220. err("Build with ASSERTIONS=2 for more info.");
  15221. abort(x);
  15222. }
  15223. function nullFunc_viif(x) {
  15224. 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)");
  15225. err("Build with ASSERTIONS=2 for more info.");
  15226. abort(x);
  15227. }
  15228. function nullFunc_viiff(x) {
  15229. 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)");
  15230. err("Build with ASSERTIONS=2 for more info.");
  15231. abort(x);
  15232. }
  15233. function nullFunc_viifff(x) {
  15234. 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)");
  15235. err("Build with ASSERTIONS=2 for more info.");
  15236. abort(x);
  15237. }
  15238. function nullFunc_viifffi(x) {
  15239. 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)");
  15240. err("Build with ASSERTIONS=2 for more info.");
  15241. abort(x);
  15242. }
  15243. function nullFunc_viiffi(x) {
  15244. 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)");
  15245. err("Build with ASSERTIONS=2 for more info.");
  15246. abort(x);
  15247. }
  15248. function nullFunc_viiffii(x) {
  15249. err("Invalid function pointer called with signature 'viiffii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15250. err("Build with ASSERTIONS=2 for more info.");
  15251. abort(x);
  15252. }
  15253. function nullFunc_viifi(x) {
  15254. 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)");
  15255. err("Build with ASSERTIONS=2 for more info.");
  15256. abort(x);
  15257. }
  15258. function nullFunc_viifii(x) {
  15259. 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)");
  15260. err("Build with ASSERTIONS=2 for more info.");
  15261. abort(x);
  15262. }
  15263. function nullFunc_viifiii(x) {
  15264. 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)");
  15265. err("Build with ASSERTIONS=2 for more info.");
  15266. abort(x);
  15267. }
  15268. function nullFunc_viifiiii(x) {
  15269. 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)");
  15270. err("Build with ASSERTIONS=2 for more info.");
  15271. abort(x);
  15272. }
  15273. function nullFunc_viii(x) {
  15274. 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)");
  15275. err("Build with ASSERTIONS=2 for more info.");
  15276. abort(x);
  15277. }
  15278. function nullFunc_viiidi(x) {
  15279. 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)");
  15280. err("Build with ASSERTIONS=2 for more info.");
  15281. abort(x);
  15282. }
  15283. function nullFunc_viiifffi(x) {
  15284. 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)");
  15285. err("Build with ASSERTIONS=2 for more info.");
  15286. abort(x);
  15287. }
  15288. function nullFunc_viiiffi(x) {
  15289. 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)");
  15290. err("Build with ASSERTIONS=2 for more info.");
  15291. abort(x);
  15292. }
  15293. function nullFunc_viiiffii(x) {
  15294. 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)");
  15295. err("Build with ASSERTIONS=2 for more info.");
  15296. abort(x);
  15297. }
  15298. function nullFunc_viiifi(x) {
  15299. 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)");
  15300. err("Build with ASSERTIONS=2 for more info.");
  15301. abort(x);
  15302. }
  15303. function nullFunc_viiifii(x) {
  15304. 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)");
  15305. err("Build with ASSERTIONS=2 for more info.");
  15306. abort(x);
  15307. }
  15308. function nullFunc_viiifiii(x) {
  15309. 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)");
  15310. err("Build with ASSERTIONS=2 for more info.");
  15311. abort(x);
  15312. }
  15313. function nullFunc_viiifiiiii(x) {
  15314. 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)");
  15315. err("Build with ASSERTIONS=2 for more info.");
  15316. abort(x);
  15317. }
  15318. function nullFunc_viiii(x) {
  15319. 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)");
  15320. err("Build with ASSERTIONS=2 for more info.");
  15321. abort(x);
  15322. }
  15323. function nullFunc_viiiif(x) {
  15324. 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)");
  15325. err("Build with ASSERTIONS=2 for more info.");
  15326. abort(x);
  15327. }
  15328. function nullFunc_viiiifii(x) {
  15329. 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)");
  15330. err("Build with ASSERTIONS=2 for more info.");
  15331. abort(x);
  15332. }
  15333. function nullFunc_viiiifiiiiif(x) {
  15334. 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)");
  15335. err("Build with ASSERTIONS=2 for more info.");
  15336. abort(x);
  15337. }
  15338. function nullFunc_viiiii(x) {
  15339. 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)");
  15340. err("Build with ASSERTIONS=2 for more info.");
  15341. abort(x);
  15342. }
  15343. function nullFunc_viiiiif(x) {
  15344. 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)");
  15345. err("Build with ASSERTIONS=2 for more info.");
  15346. abort(x);
  15347. }
  15348. function nullFunc_viiiiiffi(x) {
  15349. 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)");
  15350. err("Build with ASSERTIONS=2 for more info.");
  15351. abort(x);
  15352. }
  15353. function nullFunc_viiiiiffii(x) {
  15354. 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)");
  15355. err("Build with ASSERTIONS=2 for more info.");
  15356. abort(x);
  15357. }
  15358. function nullFunc_viiiiifi(x) {
  15359. 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)");
  15360. err("Build with ASSERTIONS=2 for more info.");
  15361. abort(x);
  15362. }
  15363. function nullFunc_viiiiii(x) {
  15364. 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)");
  15365. err("Build with ASSERTIONS=2 for more info.");
  15366. abort(x);
  15367. }
  15368. function nullFunc_viiiiiif(x) {
  15369. 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)");
  15370. err("Build with ASSERTIONS=2 for more info.");
  15371. abort(x);
  15372. }
  15373. function nullFunc_viiiiiii(x) {
  15374. 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)");
  15375. err("Build with ASSERTIONS=2 for more info.");
  15376. abort(x);
  15377. }
  15378. function nullFunc_viiiiiiifi(x) {
  15379. 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)");
  15380. err("Build with ASSERTIONS=2 for more info.");
  15381. abort(x);
  15382. }
  15383. function nullFunc_viiiiiiii(x) {
  15384. 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)");
  15385. err("Build with ASSERTIONS=2 for more info.");
  15386. abort(x);
  15387. }
  15388. function nullFunc_viiiiiiiii(x) {
  15389. 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)");
  15390. err("Build with ASSERTIONS=2 for more info.");
  15391. abort(x);
  15392. }
  15393. function nullFunc_viiiiiiiiii(x) {
  15394. 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)");
  15395. err("Build with ASSERTIONS=2 for more info.");
  15396. abort(x);
  15397. }
  15398. function nullFunc_viiiiiiiiiii(x) {
  15399. 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)");
  15400. err("Build with ASSERTIONS=2 for more info.");
  15401. abort(x);
  15402. }
  15403. function nullFunc_viiiiiiiiiiifii(x) {
  15404. 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)");
  15405. err("Build with ASSERTIONS=2 for more info.");
  15406. abort(x);
  15407. }
  15408. function nullFunc_viiiiiiiiiiii(x) {
  15409. 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)");
  15410. err("Build with ASSERTIONS=2 for more info.");
  15411. abort(x);
  15412. }
  15413. function nullFunc_viiiiiiiiiiiiii(x) {
  15414. 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)");
  15415. err("Build with ASSERTIONS=2 for more info.");
  15416. abort(x);
  15417. }
  15418. function nullFunc_viiiiiiiiiiiiiii(x) {
  15419. 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)");
  15420. err("Build with ASSERTIONS=2 for more info.");
  15421. abort(x);
  15422. }
  15423. function nullFunc_viiiiiiiiiiiiiiiiii(x) {
  15424. 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)");
  15425. err("Build with ASSERTIONS=2 for more info.");
  15426. abort(x);
  15427. }
  15428. function nullFunc_viiiiiji(x) {
  15429. 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)");
  15430. err("Build with ASSERTIONS=2 for more info.");
  15431. abort(x);
  15432. }
  15433. function nullFunc_viiiij(x) {
  15434. 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)");
  15435. err("Build with ASSERTIONS=2 for more info.");
  15436. abort(x);
  15437. }
  15438. function nullFunc_viiiijiiii(x) {
  15439. 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)");
  15440. err("Build with ASSERTIONS=2 for more info.");
  15441. abort(x);
  15442. }
  15443. function nullFunc_viiiji(x) {
  15444. 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)");
  15445. err("Build with ASSERTIONS=2 for more info.");
  15446. abort(x);
  15447. }
  15448. function nullFunc_viiijji(x) {
  15449. 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)");
  15450. err("Build with ASSERTIONS=2 for more info.");
  15451. abort(x);
  15452. }
  15453. function nullFunc_viij(x) {
  15454. 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)");
  15455. err("Build with ASSERTIONS=2 for more info.");
  15456. abort(x);
  15457. }
  15458. function nullFunc_viiji(x) {
  15459. 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)");
  15460. err("Build with ASSERTIONS=2 for more info.");
  15461. abort(x);
  15462. }
  15463. function nullFunc_viijii(x) {
  15464. 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)");
  15465. err("Build with ASSERTIONS=2 for more info.");
  15466. abort(x);
  15467. }
  15468. function nullFunc_viijiijiii(x) {
  15469. 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)");
  15470. err("Build with ASSERTIONS=2 for more info.");
  15471. abort(x);
  15472. }
  15473. function nullFunc_viijijii(x) {
  15474. 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)");
  15475. err("Build with ASSERTIONS=2 for more info.");
  15476. abort(x);
  15477. }
  15478. function nullFunc_viijijiii(x) {
  15479. 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)");
  15480. err("Build with ASSERTIONS=2 for more info.");
  15481. abort(x);
  15482. }
  15483. function nullFunc_viijijj(x) {
  15484. 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)");
  15485. err("Build with ASSERTIONS=2 for more info.");
  15486. abort(x);
  15487. }
  15488. function nullFunc_viijj(x) {
  15489. 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)");
  15490. err("Build with ASSERTIONS=2 for more info.");
  15491. abort(x);
  15492. }
  15493. function nullFunc_viijji(x) {
  15494. 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)");
  15495. err("Build with ASSERTIONS=2 for more info.");
  15496. abort(x);
  15497. }
  15498. function nullFunc_viijjii(x) {
  15499. err("Invalid function pointer called with signature 'viijjii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15500. err("Build with ASSERTIONS=2 for more info.");
  15501. abort(x);
  15502. }
  15503. function nullFunc_viijjiii(x) {
  15504. 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)");
  15505. err("Build with ASSERTIONS=2 for more info.");
  15506. abort(x);
  15507. }
  15508. function nullFunc_viijjji(x) {
  15509. 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)");
  15510. err("Build with ASSERTIONS=2 for more info.");
  15511. abort(x);
  15512. }
  15513. function nullFunc_vij(x) {
  15514. 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)");
  15515. err("Build with ASSERTIONS=2 for more info.");
  15516. abort(x);
  15517. }
  15518. function nullFunc_viji(x) {
  15519. 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)");
  15520. err("Build with ASSERTIONS=2 for more info.");
  15521. abort(x);
  15522. }
  15523. function nullFunc_vijii(x) {
  15524. 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)");
  15525. err("Build with ASSERTIONS=2 for more info.");
  15526. abort(x);
  15527. }
  15528. function nullFunc_vijiii(x) {
  15529. 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)");
  15530. err("Build with ASSERTIONS=2 for more info.");
  15531. abort(x);
  15532. }
  15533. function nullFunc_vijiji(x) {
  15534. 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)");
  15535. err("Build with ASSERTIONS=2 for more info.");
  15536. abort(x);
  15537. }
  15538. function nullFunc_vijijji(x) {
  15539. 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)");
  15540. err("Build with ASSERTIONS=2 for more info.");
  15541. abort(x);
  15542. }
  15543. function nullFunc_vijji(x) {
  15544. 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)");
  15545. err("Build with ASSERTIONS=2 for more info.");
  15546. abort(x);
  15547. }
  15548. function nullFunc_vijjii(x) {
  15549. 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)");
  15550. err("Build with ASSERTIONS=2 for more info.");
  15551. abort(x);
  15552. }
  15553. function nullFunc_vijjji(x) {
  15554. err("Invalid function pointer called with signature 'vijjji'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)");
  15555. err("Build with ASSERTIONS=2 for more info.");
  15556. abort(x);
  15557. }
  15558. function nullFunc_vji(x) {
  15559. 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)");
  15560. err("Build with ASSERTIONS=2 for more info.");
  15561. abort(x);
  15562. }
  15563. function nullFunc_vjiiii(x) {
  15564. 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)");
  15565. err("Build with ASSERTIONS=2 for more info.");
  15566. abort(x);
  15567. }
  15568. function nullFunc_vjji(x) {
  15569. 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)");
  15570. err("Build with ASSERTIONS=2 for more info.");
  15571. abort(x);
  15572. }
  15573. Module["wasmTableSize"] = 51791;
  15574. Module["wasmMaxTableSize"] = 51791;
  15575. function invoke_dddi(index, a1, a2, a3) {
  15576. var sp = stackSave();
  15577. try {
  15578. return Module["dynCall_dddi"](index, a1, a2, a3);
  15579. } catch (e) {
  15580. stackRestore(sp);
  15581. if (typeof e !== "number" && e !== "longjmp") throw e;
  15582. Module["setThrew"](1, 0);
  15583. }
  15584. }
  15585. function invoke_ddi(index, a1, a2) {
  15586. var sp = stackSave();
  15587. try {
  15588. return Module["dynCall_ddi"](index, a1, a2);
  15589. } catch (e) {
  15590. stackRestore(sp);
  15591. if (typeof e !== "number" && e !== "longjmp") throw e;
  15592. Module["setThrew"](1, 0);
  15593. }
  15594. }
  15595. function invoke_dfi(index, a1, a2) {
  15596. var sp = stackSave();
  15597. try {
  15598. return Module["dynCall_dfi"](index, a1, a2);
  15599. } catch (e) {
  15600. stackRestore(sp);
  15601. if (typeof e !== "number" && e !== "longjmp") throw e;
  15602. Module["setThrew"](1, 0);
  15603. }
  15604. }
  15605. function invoke_di(index, a1) {
  15606. var sp = stackSave();
  15607. try {
  15608. return Module["dynCall_di"](index, a1);
  15609. } catch (e) {
  15610. stackRestore(sp);
  15611. if (typeof e !== "number" && e !== "longjmp") throw e;
  15612. Module["setThrew"](1, 0);
  15613. }
  15614. }
  15615. function invoke_diddi(index, a1, a2, a3, a4) {
  15616. var sp = stackSave();
  15617. try {
  15618. return Module["dynCall_diddi"](index, a1, a2, a3, a4);
  15619. } catch (e) {
  15620. stackRestore(sp);
  15621. if (typeof e !== "number" && e !== "longjmp") throw e;
  15622. Module["setThrew"](1, 0);
  15623. }
  15624. }
  15625. function invoke_didi(index, a1, a2, a3) {
  15626. var sp = stackSave();
  15627. try {
  15628. return Module["dynCall_didi"](index, a1, a2, a3);
  15629. } catch (e) {
  15630. stackRestore(sp);
  15631. if (typeof e !== "number" && e !== "longjmp") throw e;
  15632. Module["setThrew"](1, 0);
  15633. }
  15634. }
  15635. function invoke_dii(index, a1, a2) {
  15636. var sp = stackSave();
  15637. try {
  15638. return Module["dynCall_dii"](index, a1, a2);
  15639. } catch (e) {
  15640. stackRestore(sp);
  15641. if (typeof e !== "number" && e !== "longjmp") throw e;
  15642. Module["setThrew"](1, 0);
  15643. }
  15644. }
  15645. function invoke_diii(index, a1, a2, a3) {
  15646. var sp = stackSave();
  15647. try {
  15648. return Module["dynCall_diii"](index, a1, a2, a3);
  15649. } catch (e) {
  15650. stackRestore(sp);
  15651. if (typeof e !== "number" && e !== "longjmp") throw e;
  15652. Module["setThrew"](1, 0);
  15653. }
  15654. }
  15655. function invoke_diiii(index, a1, a2, a3, a4) {
  15656. var sp = stackSave();
  15657. try {
  15658. return Module["dynCall_diiii"](index, a1, a2, a3, a4);
  15659. } catch (e) {
  15660. stackRestore(sp);
  15661. if (typeof e !== "number" && e !== "longjmp") throw e;
  15662. Module["setThrew"](1, 0);
  15663. }
  15664. }
  15665. function invoke_dji(index, a1, a2, a3) {
  15666. var sp = stackSave();
  15667. try {
  15668. return Module["dynCall_dji"](index, a1, a2, a3);
  15669. } catch (e) {
  15670. stackRestore(sp);
  15671. if (typeof e !== "number" && e !== "longjmp") throw e;
  15672. Module["setThrew"](1, 0);
  15673. }
  15674. }
  15675. function invoke_f(index) {
  15676. var sp = stackSave();
  15677. try {
  15678. return Module["dynCall_f"](index);
  15679. } catch (e) {
  15680. stackRestore(sp);
  15681. if (typeof e !== "number" && e !== "longjmp") throw e;
  15682. Module["setThrew"](1, 0);
  15683. }
  15684. }
  15685. function invoke_fdi(index, a1, a2) {
  15686. var sp = stackSave();
  15687. try {
  15688. return Module["dynCall_fdi"](index, a1, a2);
  15689. } catch (e) {
  15690. stackRestore(sp);
  15691. if (typeof e !== "number" && e !== "longjmp") throw e;
  15692. Module["setThrew"](1, 0);
  15693. }
  15694. }
  15695. function invoke_ff(index, a1) {
  15696. var sp = stackSave();
  15697. try {
  15698. return Module["dynCall_ff"](index, a1);
  15699. } catch (e) {
  15700. stackRestore(sp);
  15701. if (typeof e !== "number" && e !== "longjmp") throw e;
  15702. Module["setThrew"](1, 0);
  15703. }
  15704. }
  15705. function invoke_fff(index, a1, a2) {
  15706. var sp = stackSave();
  15707. try {
  15708. return Module["dynCall_fff"](index, a1, a2);
  15709. } catch (e) {
  15710. stackRestore(sp);
  15711. if (typeof e !== "number" && e !== "longjmp") throw e;
  15712. Module["setThrew"](1, 0);
  15713. }
  15714. }
  15715. function invoke_ffffi(index, a1, a2, a3, a4) {
  15716. var sp = stackSave();
  15717. try {
  15718. return Module["dynCall_ffffi"](index, a1, a2, a3, a4);
  15719. } catch (e) {
  15720. stackRestore(sp);
  15721. if (typeof e !== "number" && e !== "longjmp") throw e;
  15722. Module["setThrew"](1, 0);
  15723. }
  15724. }
  15725. function invoke_fffi(index, a1, a2, a3) {
  15726. var sp = stackSave();
  15727. try {
  15728. return Module["dynCall_fffi"](index, a1, a2, a3);
  15729. } catch (e) {
  15730. stackRestore(sp);
  15731. if (typeof e !== "number" && e !== "longjmp") throw e;
  15732. Module["setThrew"](1, 0);
  15733. }
  15734. }
  15735. function invoke_fffifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  15736. var sp = stackSave();
  15737. try {
  15738. return Module["dynCall_fffifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  15739. } catch (e) {
  15740. stackRestore(sp);
  15741. if (typeof e !== "number" && e !== "longjmp") throw e;
  15742. Module["setThrew"](1, 0);
  15743. }
  15744. }
  15745. function invoke_ffi(index, a1, a2) {
  15746. var sp = stackSave();
  15747. try {
  15748. return Module["dynCall_ffi"](index, a1, a2);
  15749. } catch (e) {
  15750. stackRestore(sp);
  15751. if (typeof e !== "number" && e !== "longjmp") throw e;
  15752. Module["setThrew"](1, 0);
  15753. }
  15754. }
  15755. function invoke_fi(index, a1) {
  15756. var sp = stackSave();
  15757. try {
  15758. return Module["dynCall_fi"](index, a1);
  15759. } catch (e) {
  15760. stackRestore(sp);
  15761. if (typeof e !== "number" && e !== "longjmp") throw e;
  15762. Module["setThrew"](1, 0);
  15763. }
  15764. }
  15765. function invoke_fif(index, a1, a2) {
  15766. var sp = stackSave();
  15767. try {
  15768. return Module["dynCall_fif"](index, a1, a2);
  15769. } catch (e) {
  15770. stackRestore(sp);
  15771. if (typeof e !== "number" && e !== "longjmp") throw e;
  15772. Module["setThrew"](1, 0);
  15773. }
  15774. }
  15775. function invoke_fiff(index, a1, a2, a3) {
  15776. var sp = stackSave();
  15777. try {
  15778. return Module["dynCall_fiff"](index, a1, a2, a3);
  15779. } catch (e) {
  15780. stackRestore(sp);
  15781. if (typeof e !== "number" && e !== "longjmp") throw e;
  15782. Module["setThrew"](1, 0);
  15783. }
  15784. }
  15785. function invoke_fifffi(index, a1, a2, a3, a4, a5) {
  15786. var sp = stackSave();
  15787. try {
  15788. return Module["dynCall_fifffi"](index, a1, a2, a3, a4, a5);
  15789. } catch (e) {
  15790. stackRestore(sp);
  15791. if (typeof e !== "number" && e !== "longjmp") throw e;
  15792. Module["setThrew"](1, 0);
  15793. }
  15794. }
  15795. function invoke_fiffi(index, a1, a2, a3, a4) {
  15796. var sp = stackSave();
  15797. try {
  15798. return Module["dynCall_fiffi"](index, a1, a2, a3, a4);
  15799. } catch (e) {
  15800. stackRestore(sp);
  15801. if (typeof e !== "number" && e !== "longjmp") throw e;
  15802. Module["setThrew"](1, 0);
  15803. }
  15804. }
  15805. function invoke_fifi(index, a1, a2, a3) {
  15806. var sp = stackSave();
  15807. try {
  15808. return Module["dynCall_fifi"](index, a1, a2, a3);
  15809. } catch (e) {
  15810. stackRestore(sp);
  15811. if (typeof e !== "number" && e !== "longjmp") throw e;
  15812. Module["setThrew"](1, 0);
  15813. }
  15814. }
  15815. function invoke_fifii(index, a1, a2, a3, a4) {
  15816. var sp = stackSave();
  15817. try {
  15818. return Module["dynCall_fifii"](index, a1, a2, a3, a4);
  15819. } catch (e) {
  15820. stackRestore(sp);
  15821. if (typeof e !== "number" && e !== "longjmp") throw e;
  15822. Module["setThrew"](1, 0);
  15823. }
  15824. }
  15825. function invoke_fii(index, a1, a2) {
  15826. var sp = stackSave();
  15827. try {
  15828. return Module["dynCall_fii"](index, a1, a2);
  15829. } catch (e) {
  15830. stackRestore(sp);
  15831. if (typeof e !== "number" && e !== "longjmp") throw e;
  15832. Module["setThrew"](1, 0);
  15833. }
  15834. }
  15835. function invoke_fiif(index, a1, a2, a3) {
  15836. var sp = stackSave();
  15837. try {
  15838. return Module["dynCall_fiif"](index, a1, a2, a3);
  15839. } catch (e) {
  15840. stackRestore(sp);
  15841. if (typeof e !== "number" && e !== "longjmp") throw e;
  15842. Module["setThrew"](1, 0);
  15843. }
  15844. }
  15845. function invoke_fiifi(index, a1, a2, a3, a4) {
  15846. var sp = stackSave();
  15847. try {
  15848. return Module["dynCall_fiifi"](index, a1, a2, a3, a4);
  15849. } catch (e) {
  15850. stackRestore(sp);
  15851. if (typeof e !== "number" && e !== "longjmp") throw e;
  15852. Module["setThrew"](1, 0);
  15853. }
  15854. }
  15855. function invoke_fiifii(index, a1, a2, a3, a4, a5) {
  15856. var sp = stackSave();
  15857. try {
  15858. return Module["dynCall_fiifii"](index, a1, a2, a3, a4, a5);
  15859. } catch (e) {
  15860. stackRestore(sp);
  15861. if (typeof e !== "number" && e !== "longjmp") throw e;
  15862. Module["setThrew"](1, 0);
  15863. }
  15864. }
  15865. function invoke_fiii(index, a1, a2, a3) {
  15866. var sp = stackSave();
  15867. try {
  15868. return Module["dynCall_fiii"](index, a1, a2, a3);
  15869. } catch (e) {
  15870. stackRestore(sp);
  15871. if (typeof e !== "number" && e !== "longjmp") throw e;
  15872. Module["setThrew"](1, 0);
  15873. }
  15874. }
  15875. function invoke_fiiii(index, a1, a2, a3, a4) {
  15876. var sp = stackSave();
  15877. try {
  15878. return Module["dynCall_fiiii"](index, a1, a2, a3, a4);
  15879. } catch (e) {
  15880. stackRestore(sp);
  15881. if (typeof e !== "number" && e !== "longjmp") throw e;
  15882. Module["setThrew"](1, 0);
  15883. }
  15884. }
  15885. function invoke_fiiiiiifiifif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15886. var sp = stackSave();
  15887. try {
  15888. return Module["dynCall_fiiiiiifiifif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15889. } catch (e) {
  15890. stackRestore(sp);
  15891. if (typeof e !== "number" && e !== "longjmp") throw e;
  15892. Module["setThrew"](1, 0);
  15893. }
  15894. }
  15895. function invoke_fiiiiiifiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  15896. var sp = stackSave();
  15897. try {
  15898. return Module["dynCall_fiiiiiifiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  15899. } catch (e) {
  15900. stackRestore(sp);
  15901. if (typeof e !== "number" && e !== "longjmp") throw e;
  15902. Module["setThrew"](1, 0);
  15903. }
  15904. }
  15905. function invoke_fji(index, a1, a2, a3) {
  15906. var sp = stackSave();
  15907. try {
  15908. return Module["dynCall_fji"](index, a1, a2, a3);
  15909. } catch (e) {
  15910. stackRestore(sp);
  15911. if (typeof e !== "number" && e !== "longjmp") throw e;
  15912. Module["setThrew"](1, 0);
  15913. }
  15914. }
  15915. function invoke_i(index) {
  15916. var sp = stackSave();
  15917. try {
  15918. return Module["dynCall_i"](index);
  15919. } catch (e) {
  15920. stackRestore(sp);
  15921. if (typeof e !== "number" && e !== "longjmp") throw e;
  15922. Module["setThrew"](1, 0);
  15923. }
  15924. }
  15925. function invoke_idi(index, a1, a2) {
  15926. var sp = stackSave();
  15927. try {
  15928. return Module["dynCall_idi"](index, a1, a2);
  15929. } catch (e) {
  15930. stackRestore(sp);
  15931. if (typeof e !== "number" && e !== "longjmp") throw e;
  15932. Module["setThrew"](1, 0);
  15933. }
  15934. }
  15935. function invoke_idiii(index, a1, a2, a3, a4) {
  15936. var sp = stackSave();
  15937. try {
  15938. return Module["dynCall_idiii"](index, a1, a2, a3, a4);
  15939. } catch (e) {
  15940. stackRestore(sp);
  15941. if (typeof e !== "number" && e !== "longjmp") throw e;
  15942. Module["setThrew"](1, 0);
  15943. }
  15944. }
  15945. function invoke_ifffi(index, a1, a2, a3, a4) {
  15946. var sp = stackSave();
  15947. try {
  15948. return Module["dynCall_ifffi"](index, a1, a2, a3, a4);
  15949. } catch (e) {
  15950. stackRestore(sp);
  15951. if (typeof e !== "number" && e !== "longjmp") throw e;
  15952. Module["setThrew"](1, 0);
  15953. }
  15954. }
  15955. function invoke_iffi(index, a1, a2, a3) {
  15956. var sp = stackSave();
  15957. try {
  15958. return Module["dynCall_iffi"](index, a1, a2, a3);
  15959. } catch (e) {
  15960. stackRestore(sp);
  15961. if (typeof e !== "number" && e !== "longjmp") throw e;
  15962. Module["setThrew"](1, 0);
  15963. }
  15964. }
  15965. function invoke_ifi(index, a1, a2) {
  15966. var sp = stackSave();
  15967. try {
  15968. return Module["dynCall_ifi"](index, a1, a2);
  15969. } catch (e) {
  15970. stackRestore(sp);
  15971. if (typeof e !== "number" && e !== "longjmp") throw e;
  15972. Module["setThrew"](1, 0);
  15973. }
  15974. }
  15975. function invoke_ifiii(index, a1, a2, a3, a4) {
  15976. var sp = stackSave();
  15977. try {
  15978. return Module["dynCall_ifiii"](index, a1, a2, a3, a4);
  15979. } catch (e) {
  15980. stackRestore(sp);
  15981. if (typeof e !== "number" && e !== "longjmp") throw e;
  15982. Module["setThrew"](1, 0);
  15983. }
  15984. }
  15985. function invoke_ii(index, a1) {
  15986. var sp = stackSave();
  15987. try {
  15988. return Module["dynCall_ii"](index, a1);
  15989. } catch (e) {
  15990. stackRestore(sp);
  15991. if (typeof e !== "number" && e !== "longjmp") throw e;
  15992. Module["setThrew"](1, 0);
  15993. }
  15994. }
  15995. function invoke_iidi(index, a1, a2, a3) {
  15996. var sp = stackSave();
  15997. try {
  15998. return Module["dynCall_iidi"](index, a1, a2, a3);
  15999. } catch (e) {
  16000. stackRestore(sp);
  16001. if (typeof e !== "number" && e !== "longjmp") throw e;
  16002. Module["setThrew"](1, 0);
  16003. }
  16004. }
  16005. function invoke_iidii(index, a1, a2, a3, a4) {
  16006. var sp = stackSave();
  16007. try {
  16008. return Module["dynCall_iidii"](index, a1, a2, a3, a4);
  16009. } catch (e) {
  16010. stackRestore(sp);
  16011. if (typeof e !== "number" && e !== "longjmp") throw e;
  16012. Module["setThrew"](1, 0);
  16013. }
  16014. }
  16015. function invoke_iif(index, a1, a2) {
  16016. var sp = stackSave();
  16017. try {
  16018. return Module["dynCall_iif"](index, a1, a2);
  16019. } catch (e) {
  16020. stackRestore(sp);
  16021. if (typeof e !== "number" && e !== "longjmp") throw e;
  16022. Module["setThrew"](1, 0);
  16023. }
  16024. }
  16025. function invoke_iifff(index, a1, a2, a3, a4) {
  16026. var sp = stackSave();
  16027. try {
  16028. return Module["dynCall_iifff"](index, a1, a2, a3, a4);
  16029. } catch (e) {
  16030. stackRestore(sp);
  16031. if (typeof e !== "number" && e !== "longjmp") throw e;
  16032. Module["setThrew"](1, 0);
  16033. }
  16034. }
  16035. function invoke_iifffi(index, a1, a2, a3, a4, a5) {
  16036. var sp = stackSave();
  16037. try {
  16038. return Module["dynCall_iifffi"](index, a1, a2, a3, a4, a5);
  16039. } catch (e) {
  16040. stackRestore(sp);
  16041. if (typeof e !== "number" && e !== "longjmp") throw e;
  16042. Module["setThrew"](1, 0);
  16043. }
  16044. }
  16045. function invoke_iiffi(index, a1, a2, a3, a4) {
  16046. var sp = stackSave();
  16047. try {
  16048. return Module["dynCall_iiffi"](index, a1, a2, a3, a4);
  16049. } catch (e) {
  16050. stackRestore(sp);
  16051. if (typeof e !== "number" && e !== "longjmp") throw e;
  16052. Module["setThrew"](1, 0);
  16053. }
  16054. }
  16055. function invoke_iifi(index, a1, a2, a3) {
  16056. var sp = stackSave();
  16057. try {
  16058. return Module["dynCall_iifi"](index, a1, a2, a3);
  16059. } catch (e) {
  16060. stackRestore(sp);
  16061. if (typeof e !== "number" && e !== "longjmp") throw e;
  16062. Module["setThrew"](1, 0);
  16063. }
  16064. }
  16065. function invoke_iifii(index, a1, a2, a3, a4) {
  16066. var sp = stackSave();
  16067. try {
  16068. return Module["dynCall_iifii"](index, a1, a2, a3, a4);
  16069. } catch (e) {
  16070. stackRestore(sp);
  16071. if (typeof e !== "number" && e !== "longjmp") throw e;
  16072. Module["setThrew"](1, 0);
  16073. }
  16074. }
  16075. function invoke_iifiii(index, a1, a2, a3, a4, a5) {
  16076. var sp = stackSave();
  16077. try {
  16078. return Module["dynCall_iifiii"](index, a1, a2, a3, a4, a5);
  16079. } catch (e) {
  16080. stackRestore(sp);
  16081. if (typeof e !== "number" && e !== "longjmp") throw e;
  16082. Module["setThrew"](1, 0);
  16083. }
  16084. }
  16085. function invoke_iifiiiijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16086. var sp = stackSave();
  16087. try {
  16088. return Module["dynCall_iifiiiijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16089. } catch (e) {
  16090. stackRestore(sp);
  16091. if (typeof e !== "number" && e !== "longjmp") throw e;
  16092. Module["setThrew"](1, 0);
  16093. }
  16094. }
  16095. function invoke_iii(index, a1, a2) {
  16096. var sp = stackSave();
  16097. try {
  16098. return Module["dynCall_iii"](index, a1, a2);
  16099. } catch (e) {
  16100. stackRestore(sp);
  16101. if (typeof e !== "number" && e !== "longjmp") throw e;
  16102. Module["setThrew"](1, 0);
  16103. }
  16104. }
  16105. function invoke_iiif(index, a1, a2, a3) {
  16106. var sp = stackSave();
  16107. try {
  16108. return Module["dynCall_iiif"](index, a1, a2, a3);
  16109. } catch (e) {
  16110. stackRestore(sp);
  16111. if (typeof e !== "number" && e !== "longjmp") throw e;
  16112. Module["setThrew"](1, 0);
  16113. }
  16114. }
  16115. function invoke_iiiff(index, a1, a2, a3, a4) {
  16116. var sp = stackSave();
  16117. try {
  16118. return Module["dynCall_iiiff"](index, a1, a2, a3, a4);
  16119. } catch (e) {
  16120. stackRestore(sp);
  16121. if (typeof e !== "number" && e !== "longjmp") throw e;
  16122. Module["setThrew"](1, 0);
  16123. }
  16124. }
  16125. function invoke_iiifi(index, a1, a2, a3, a4) {
  16126. var sp = stackSave();
  16127. try {
  16128. return Module["dynCall_iiifi"](index, a1, a2, a3, a4);
  16129. } catch (e) {
  16130. stackRestore(sp);
  16131. if (typeof e !== "number" && e !== "longjmp") throw e;
  16132. Module["setThrew"](1, 0);
  16133. }
  16134. }
  16135. function invoke_iiifii(index, a1, a2, a3, a4, a5) {
  16136. var sp = stackSave();
  16137. try {
  16138. return Module["dynCall_iiifii"](index, a1, a2, a3, a4, a5);
  16139. } catch (e) {
  16140. stackRestore(sp);
  16141. if (typeof e !== "number" && e !== "longjmp") throw e;
  16142. Module["setThrew"](1, 0);
  16143. }
  16144. }
  16145. function invoke_iiifiii(index, a1, a2, a3, a4, a5, a6) {
  16146. var sp = stackSave();
  16147. try {
  16148. return Module["dynCall_iiifiii"](index, a1, a2, a3, a4, a5, a6);
  16149. } catch (e) {
  16150. stackRestore(sp);
  16151. if (typeof e !== "number" && e !== "longjmp") throw e;
  16152. Module["setThrew"](1, 0);
  16153. }
  16154. }
  16155. function invoke_iiifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16156. var sp = stackSave();
  16157. try {
  16158. return Module["dynCall_iiifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16159. } catch (e) {
  16160. stackRestore(sp);
  16161. if (typeof e !== "number" && e !== "longjmp") throw e;
  16162. Module["setThrew"](1, 0);
  16163. }
  16164. }
  16165. function invoke_iiii(index, a1, a2, a3) {
  16166. var sp = stackSave();
  16167. try {
  16168. return Module["dynCall_iiii"](index, a1, a2, a3);
  16169. } catch (e) {
  16170. stackRestore(sp);
  16171. if (typeof e !== "number" && e !== "longjmp") throw e;
  16172. Module["setThrew"](1, 0);
  16173. }
  16174. }
  16175. function invoke_iiiifffffi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16176. var sp = stackSave();
  16177. try {
  16178. return Module["dynCall_iiiifffffi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16179. } catch (e) {
  16180. stackRestore(sp);
  16181. if (typeof e !== "number" && e !== "longjmp") throw e;
  16182. Module["setThrew"](1, 0);
  16183. }
  16184. }
  16185. function invoke_iiiifffffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16186. var sp = stackSave();
  16187. try {
  16188. return Module["dynCall_iiiifffffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16189. } catch (e) {
  16190. stackRestore(sp);
  16191. if (typeof e !== "number" && e !== "longjmp") throw e;
  16192. Module["setThrew"](1, 0);
  16193. }
  16194. }
  16195. function invoke_iiiifffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16196. var sp = stackSave();
  16197. try {
  16198. return Module["dynCall_iiiifffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16199. } catch (e) {
  16200. stackRestore(sp);
  16201. if (typeof e !== "number" && e !== "longjmp") throw e;
  16202. Module["setThrew"](1, 0);
  16203. }
  16204. }
  16205. function invoke_iiiifi(index, a1, a2, a3, a4, a5) {
  16206. var sp = stackSave();
  16207. try {
  16208. return Module["dynCall_iiiifi"](index, a1, a2, a3, a4, a5);
  16209. } catch (e) {
  16210. stackRestore(sp);
  16211. if (typeof e !== "number" && e !== "longjmp") throw e;
  16212. Module["setThrew"](1, 0);
  16213. }
  16214. }
  16215. function invoke_iiiifii(index, a1, a2, a3, a4, a5, a6) {
  16216. var sp = stackSave();
  16217. try {
  16218. return Module["dynCall_iiiifii"](index, a1, a2, a3, a4, a5, a6);
  16219. } catch (e) {
  16220. stackRestore(sp);
  16221. if (typeof e !== "number" && e !== "longjmp") throw e;
  16222. Module["setThrew"](1, 0);
  16223. }
  16224. }
  16225. function invoke_iiiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16226. var sp = stackSave();
  16227. try {
  16228. return Module["dynCall_iiiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16229. } catch (e) {
  16230. stackRestore(sp);
  16231. if (typeof e !== "number" && e !== "longjmp") throw e;
  16232. Module["setThrew"](1, 0);
  16233. }
  16234. }
  16235. function invoke_iiiifiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16236. var sp = stackSave();
  16237. try {
  16238. return Module["dynCall_iiiifiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16239. } catch (e) {
  16240. stackRestore(sp);
  16241. if (typeof e !== "number" && e !== "longjmp") throw e;
  16242. Module["setThrew"](1, 0);
  16243. }
  16244. }
  16245. function invoke_iiiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16246. var sp = stackSave();
  16247. try {
  16248. return Module["dynCall_iiiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16249. } catch (e) {
  16250. stackRestore(sp);
  16251. if (typeof e !== "number" && e !== "longjmp") throw e;
  16252. Module["setThrew"](1, 0);
  16253. }
  16254. }
  16255. function invoke_iiiii(index, a1, a2, a3, a4) {
  16256. var sp = stackSave();
  16257. try {
  16258. return Module["dynCall_iiiii"](index, a1, a2, a3, a4);
  16259. } catch (e) {
  16260. stackRestore(sp);
  16261. if (typeof e !== "number" && e !== "longjmp") throw e;
  16262. Module["setThrew"](1, 0);
  16263. }
  16264. }
  16265. function invoke_iiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16266. var sp = stackSave();
  16267. try {
  16268. return Module["dynCall_iiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16269. } catch (e) {
  16270. stackRestore(sp);
  16271. if (typeof e !== "number" && e !== "longjmp") throw e;
  16272. Module["setThrew"](1, 0);
  16273. }
  16274. }
  16275. function invoke_iiiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16276. var sp = stackSave();
  16277. try {
  16278. return Module["dynCall_iiiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16279. } catch (e) {
  16280. stackRestore(sp);
  16281. if (typeof e !== "number" && e !== "longjmp") throw e;
  16282. Module["setThrew"](1, 0);
  16283. }
  16284. }
  16285. function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
  16286. var sp = stackSave();
  16287. try {
  16288. return Module["dynCall_iiiiii"](index, a1, a2, a3, a4, a5);
  16289. } catch (e) {
  16290. stackRestore(sp);
  16291. if (typeof e !== "number" && e !== "longjmp") throw e;
  16292. Module["setThrew"](1, 0);
  16293. }
  16294. }
  16295. function invoke_iiiiiifff(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16296. var sp = stackSave();
  16297. try {
  16298. return Module["dynCall_iiiiiifff"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16299. } catch (e) {
  16300. stackRestore(sp);
  16301. if (typeof e !== "number" && e !== "longjmp") throw e;
  16302. Module["setThrew"](1, 0);
  16303. }
  16304. }
  16305. function invoke_iiiiiifffiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  16306. var sp = stackSave();
  16307. try {
  16308. return Module["dynCall_iiiiiifffiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  16309. } catch (e) {
  16310. stackRestore(sp);
  16311. if (typeof e !== "number" && e !== "longjmp") throw e;
  16312. Module["setThrew"](1, 0);
  16313. }
  16314. }
  16315. 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) {
  16316. var sp = stackSave();
  16317. try {
  16318. 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);
  16319. } catch (e) {
  16320. stackRestore(sp);
  16321. if (typeof e !== "number" && e !== "longjmp") throw e;
  16322. Module["setThrew"](1, 0);
  16323. }
  16324. }
  16325. 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) {
  16326. var sp = stackSave();
  16327. try {
  16328. 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);
  16329. } catch (e) {
  16330. stackRestore(sp);
  16331. if (typeof e !== "number" && e !== "longjmp") throw e;
  16332. Module["setThrew"](1, 0);
  16333. }
  16334. }
  16335. 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) {
  16336. var sp = stackSave();
  16337. try {
  16338. 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);
  16339. } catch (e) {
  16340. stackRestore(sp);
  16341. if (typeof e !== "number" && e !== "longjmp") throw e;
  16342. Module["setThrew"](1, 0);
  16343. }
  16344. }
  16345. function invoke_iiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16346. var sp = stackSave();
  16347. try {
  16348. return Module["dynCall_iiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16349. } catch (e) {
  16350. stackRestore(sp);
  16351. if (typeof e !== "number" && e !== "longjmp") throw e;
  16352. Module["setThrew"](1, 0);
  16353. }
  16354. }
  16355. function invoke_iiiiiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16356. var sp = stackSave();
  16357. try {
  16358. return Module["dynCall_iiiiiifiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16359. } catch (e) {
  16360. stackRestore(sp);
  16361. if (typeof e !== "number" && e !== "longjmp") throw e;
  16362. Module["setThrew"](1, 0);
  16363. }
  16364. }
  16365. function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16366. var sp = stackSave();
  16367. try {
  16368. return Module["dynCall_iiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16369. } catch (e) {
  16370. stackRestore(sp);
  16371. if (typeof e !== "number" && e !== "longjmp") throw e;
  16372. Module["setThrew"](1, 0);
  16373. }
  16374. }
  16375. function invoke_iiiiiiifiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16376. var sp = stackSave();
  16377. try {
  16378. return Module["dynCall_iiiiiiifiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16379. } catch (e) {
  16380. stackRestore(sp);
  16381. if (typeof e !== "number" && e !== "longjmp") throw e;
  16382. Module["setThrew"](1, 0);
  16383. }
  16384. }
  16385. function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16386. var sp = stackSave();
  16387. try {
  16388. return Module["dynCall_iiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16389. } catch (e) {
  16390. stackRestore(sp);
  16391. if (typeof e !== "number" && e !== "longjmp") throw e;
  16392. Module["setThrew"](1, 0);
  16393. }
  16394. }
  16395. function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16396. var sp = stackSave();
  16397. try {
  16398. return Module["dynCall_iiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16399. } catch (e) {
  16400. stackRestore(sp);
  16401. if (typeof e !== "number" && e !== "longjmp") throw e;
  16402. Module["setThrew"](1, 0);
  16403. }
  16404. }
  16405. function invoke_iiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  16406. var sp = stackSave();
  16407. try {
  16408. return Module["dynCall_iiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  16409. } catch (e) {
  16410. stackRestore(sp);
  16411. if (typeof e !== "number" && e !== "longjmp") throw e;
  16412. Module["setThrew"](1, 0);
  16413. }
  16414. }
  16415. function invoke_iiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16416. var sp = stackSave();
  16417. try {
  16418. return Module["dynCall_iiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16419. } catch (e) {
  16420. stackRestore(sp);
  16421. if (typeof e !== "number" && e !== "longjmp") throw e;
  16422. Module["setThrew"](1, 0);
  16423. }
  16424. }
  16425. function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  16426. var sp = stackSave();
  16427. try {
  16428. return Module["dynCall_iiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  16429. } catch (e) {
  16430. stackRestore(sp);
  16431. if (typeof e !== "number" && e !== "longjmp") throw e;
  16432. Module["setThrew"](1, 0);
  16433. }
  16434. }
  16435. function invoke_iiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  16436. var sp = stackSave();
  16437. try {
  16438. return Module["dynCall_iiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  16439. } catch (e) {
  16440. stackRestore(sp);
  16441. if (typeof e !== "number" && e !== "longjmp") throw e;
  16442. Module["setThrew"](1, 0);
  16443. }
  16444. }
  16445. function invoke_iiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  16446. var sp = stackSave();
  16447. try {
  16448. return Module["dynCall_iiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  16449. } catch (e) {
  16450. stackRestore(sp);
  16451. if (typeof e !== "number" && e !== "longjmp") throw e;
  16452. Module["setThrew"](1, 0);
  16453. }
  16454. }
  16455. function invoke_iiiiiji(index, a1, a2, a3, a4, a5, a6, a7) {
  16456. var sp = stackSave();
  16457. try {
  16458. return Module["dynCall_iiiiiji"](index, a1, a2, a3, a4, a5, a6, a7);
  16459. } catch (e) {
  16460. stackRestore(sp);
  16461. if (typeof e !== "number" && e !== "longjmp") throw e;
  16462. Module["setThrew"](1, 0);
  16463. }
  16464. }
  16465. function invoke_iiiij(index, a1, a2, a3, a4, a5) {
  16466. var sp = stackSave();
  16467. try {
  16468. return Module["dynCall_iiiij"](index, a1, a2, a3, a4, a5);
  16469. } catch (e) {
  16470. stackRestore(sp);
  16471. if (typeof e !== "number" && e !== "longjmp") throw e;
  16472. Module["setThrew"](1, 0);
  16473. }
  16474. }
  16475. function invoke_iiiiji(index, a1, a2, a3, a4, a5, a6) {
  16476. var sp = stackSave();
  16477. try {
  16478. return Module["dynCall_iiiiji"](index, a1, a2, a3, a4, a5, a6);
  16479. } catch (e) {
  16480. stackRestore(sp);
  16481. if (typeof e !== "number" && e !== "longjmp") throw e;
  16482. Module["setThrew"](1, 0);
  16483. }
  16484. }
  16485. function invoke_iiiijii(index, a1, a2, a3, a4, a5, a6, a7) {
  16486. var sp = stackSave();
  16487. try {
  16488. return Module["dynCall_iiiijii"](index, a1, a2, a3, a4, a5, a6, a7);
  16489. } catch (e) {
  16490. stackRestore(sp);
  16491. if (typeof e !== "number" && e !== "longjmp") throw e;
  16492. Module["setThrew"](1, 0);
  16493. }
  16494. }
  16495. function invoke_iiiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16496. var sp = stackSave();
  16497. try {
  16498. return Module["dynCall_iiiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16499. } catch (e) {
  16500. stackRestore(sp);
  16501. if (typeof e !== "number" && e !== "longjmp") throw e;
  16502. Module["setThrew"](1, 0);
  16503. }
  16504. }
  16505. function invoke_iiij(index, a1, a2, a3, a4) {
  16506. var sp = stackSave();
  16507. try {
  16508. return Module["dynCall_iiij"](index, a1, a2, a3, a4);
  16509. } catch (e) {
  16510. stackRestore(sp);
  16511. if (typeof e !== "number" && e !== "longjmp") throw e;
  16512. Module["setThrew"](1, 0);
  16513. }
  16514. }
  16515. function invoke_iiiji(index, a1, a2, a3, a4, a5) {
  16516. var sp = stackSave();
  16517. try {
  16518. return Module["dynCall_iiiji"](index, a1, a2, a3, a4, a5);
  16519. } catch (e) {
  16520. stackRestore(sp);
  16521. if (typeof e !== "number" && e !== "longjmp") throw e;
  16522. Module["setThrew"](1, 0);
  16523. }
  16524. }
  16525. function invoke_iiijii(index, a1, a2, a3, a4, a5, a6) {
  16526. var sp = stackSave();
  16527. try {
  16528. return Module["dynCall_iiijii"](index, a1, a2, a3, a4, a5, a6);
  16529. } catch (e) {
  16530. stackRestore(sp);
  16531. if (typeof e !== "number" && e !== "longjmp") throw e;
  16532. Module["setThrew"](1, 0);
  16533. }
  16534. }
  16535. function invoke_iiijiii(index, a1, a2, a3, a4, a5, a6, a7) {
  16536. var sp = stackSave();
  16537. try {
  16538. return Module["dynCall_iiijiii"](index, a1, a2, a3, a4, a5, a6, a7);
  16539. } catch (e) {
  16540. stackRestore(sp);
  16541. if (typeof e !== "number" && e !== "longjmp") throw e;
  16542. Module["setThrew"](1, 0);
  16543. }
  16544. }
  16545. function invoke_iiijji(index, a1, a2, a3, a4, a5, a6, a7) {
  16546. var sp = stackSave();
  16547. try {
  16548. return Module["dynCall_iiijji"](index, a1, a2, a3, a4, a5, a6, a7);
  16549. } catch (e) {
  16550. stackRestore(sp);
  16551. if (typeof e !== "number" && e !== "longjmp") throw e;
  16552. Module["setThrew"](1, 0);
  16553. }
  16554. }
  16555. function invoke_iiijjiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16556. var sp = stackSave();
  16557. try {
  16558. return Module["dynCall_iiijjiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16559. } catch (e) {
  16560. stackRestore(sp);
  16561. if (typeof e !== "number" && e !== "longjmp") throw e;
  16562. Module["setThrew"](1, 0);
  16563. }
  16564. }
  16565. function invoke_iij(index, a1, a2, a3) {
  16566. var sp = stackSave();
  16567. try {
  16568. return Module["dynCall_iij"](index, a1, a2, a3);
  16569. } catch (e) {
  16570. stackRestore(sp);
  16571. if (typeof e !== "number" && e !== "longjmp") throw e;
  16572. Module["setThrew"](1, 0);
  16573. }
  16574. }
  16575. function invoke_iiji(index, a1, a2, a3, a4) {
  16576. var sp = stackSave();
  16577. try {
  16578. return Module["dynCall_iiji"](index, a1, a2, a3, a4);
  16579. } catch (e) {
  16580. stackRestore(sp);
  16581. if (typeof e !== "number" && e !== "longjmp") throw e;
  16582. Module["setThrew"](1, 0);
  16583. }
  16584. }
  16585. function invoke_iijii(index, a1, a2, a3, a4, a5) {
  16586. var sp = stackSave();
  16587. try {
  16588. return Module["dynCall_iijii"](index, a1, a2, a3, a4, a5);
  16589. } catch (e) {
  16590. stackRestore(sp);
  16591. if (typeof e !== "number" && e !== "longjmp") throw e;
  16592. Module["setThrew"](1, 0);
  16593. }
  16594. }
  16595. function invoke_iijiii(index, a1, a2, a3, a4, a5, a6) {
  16596. var sp = stackSave();
  16597. try {
  16598. return Module["dynCall_iijiii"](index, a1, a2, a3, a4, a5, a6);
  16599. } catch (e) {
  16600. stackRestore(sp);
  16601. if (typeof e !== "number" && e !== "longjmp") throw e;
  16602. Module["setThrew"](1, 0);
  16603. }
  16604. }
  16605. function invoke_iijji(index, a1, a2, a3, a4, a5, a6) {
  16606. var sp = stackSave();
  16607. try {
  16608. return Module["dynCall_iijji"](index, a1, a2, a3, a4, a5, a6);
  16609. } catch (e) {
  16610. stackRestore(sp);
  16611. if (typeof e !== "number" && e !== "longjmp") throw e;
  16612. Module["setThrew"](1, 0);
  16613. }
  16614. }
  16615. function invoke_iijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  16616. var sp = stackSave();
  16617. try {
  16618. return Module["dynCall_iijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  16619. } catch (e) {
  16620. stackRestore(sp);
  16621. if (typeof e !== "number" && e !== "longjmp") throw e;
  16622. Module["setThrew"](1, 0);
  16623. }
  16624. }
  16625. function invoke_iijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16626. var sp = stackSave();
  16627. try {
  16628. return Module["dynCall_iijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16629. } catch (e) {
  16630. stackRestore(sp);
  16631. if (typeof e !== "number" && e !== "longjmp") throw e;
  16632. Module["setThrew"](1, 0);
  16633. }
  16634. }
  16635. function invoke_iijjji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  16636. var sp = stackSave();
  16637. try {
  16638. return Module["dynCall_iijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  16639. } catch (e) {
  16640. stackRestore(sp);
  16641. if (typeof e !== "number" && e !== "longjmp") throw e;
  16642. Module["setThrew"](1, 0);
  16643. }
  16644. }
  16645. function invoke_ij(index, a1, a2) {
  16646. var sp = stackSave();
  16647. try {
  16648. return Module["dynCall_ij"](index, a1, a2);
  16649. } catch (e) {
  16650. stackRestore(sp);
  16651. if (typeof e !== "number" && e !== "longjmp") throw e;
  16652. Module["setThrew"](1, 0);
  16653. }
  16654. }
  16655. function invoke_iji(index, a1, a2, a3) {
  16656. var sp = stackSave();
  16657. try {
  16658. return Module["dynCall_iji"](index, a1, a2, a3);
  16659. } catch (e) {
  16660. stackRestore(sp);
  16661. if (typeof e !== "number" && e !== "longjmp") throw e;
  16662. Module["setThrew"](1, 0);
  16663. }
  16664. }
  16665. function invoke_ijiii(index, a1, a2, a3, a4, a5) {
  16666. var sp = stackSave();
  16667. try {
  16668. return Module["dynCall_ijiii"](index, a1, a2, a3, a4, a5);
  16669. } catch (e) {
  16670. stackRestore(sp);
  16671. if (typeof e !== "number" && e !== "longjmp") throw e;
  16672. Module["setThrew"](1, 0);
  16673. }
  16674. }
  16675. function invoke_ijj(index, a1, a2, a3, a4) {
  16676. var sp = stackSave();
  16677. try {
  16678. return Module["dynCall_ijj"](index, a1, a2, a3, a4);
  16679. } catch (e) {
  16680. stackRestore(sp);
  16681. if (typeof e !== "number" && e !== "longjmp") throw e;
  16682. Module["setThrew"](1, 0);
  16683. }
  16684. }
  16685. function invoke_ijji(index, a1, a2, a3, a4, a5) {
  16686. var sp = stackSave();
  16687. try {
  16688. return Module["dynCall_ijji"](index, a1, a2, a3, a4, a5);
  16689. } catch (e) {
  16690. stackRestore(sp);
  16691. if (typeof e !== "number" && e !== "longjmp") throw e;
  16692. Module["setThrew"](1, 0);
  16693. }
  16694. }
  16695. function invoke_j(index) {
  16696. var sp = stackSave();
  16697. try {
  16698. return Module["dynCall_j"](index);
  16699. } catch (e) {
  16700. stackRestore(sp);
  16701. if (typeof e !== "number" && e !== "longjmp") throw e;
  16702. Module["setThrew"](1, 0);
  16703. }
  16704. }
  16705. function invoke_jdi(index, a1, a2) {
  16706. var sp = stackSave();
  16707. try {
  16708. return Module["dynCall_jdi"](index, a1, a2);
  16709. } catch (e) {
  16710. stackRestore(sp);
  16711. if (typeof e !== "number" && e !== "longjmp") throw e;
  16712. Module["setThrew"](1, 0);
  16713. }
  16714. }
  16715. function invoke_jdii(index, a1, a2, a3) {
  16716. var sp = stackSave();
  16717. try {
  16718. return Module["dynCall_jdii"](index, a1, a2, a3);
  16719. } catch (e) {
  16720. stackRestore(sp);
  16721. if (typeof e !== "number" && e !== "longjmp") throw e;
  16722. Module["setThrew"](1, 0);
  16723. }
  16724. }
  16725. function invoke_jfi(index, a1, a2) {
  16726. var sp = stackSave();
  16727. try {
  16728. return Module["dynCall_jfi"](index, a1, a2);
  16729. } catch (e) {
  16730. stackRestore(sp);
  16731. if (typeof e !== "number" && e !== "longjmp") throw e;
  16732. Module["setThrew"](1, 0);
  16733. }
  16734. }
  16735. function invoke_ji(index, a1) {
  16736. var sp = stackSave();
  16737. try {
  16738. return Module["dynCall_ji"](index, a1);
  16739. } catch (e) {
  16740. stackRestore(sp);
  16741. if (typeof e !== "number" && e !== "longjmp") throw e;
  16742. Module["setThrew"](1, 0);
  16743. }
  16744. }
  16745. function invoke_jidi(index, a1, a2, a3) {
  16746. var sp = stackSave();
  16747. try {
  16748. return Module["dynCall_jidi"](index, a1, a2, a3);
  16749. } catch (e) {
  16750. stackRestore(sp);
  16751. if (typeof e !== "number" && e !== "longjmp") throw e;
  16752. Module["setThrew"](1, 0);
  16753. }
  16754. }
  16755. function invoke_jidii(index, a1, a2, a3, a4) {
  16756. var sp = stackSave();
  16757. try {
  16758. return Module["dynCall_jidii"](index, a1, a2, a3, a4);
  16759. } catch (e) {
  16760. stackRestore(sp);
  16761. if (typeof e !== "number" && e !== "longjmp") throw e;
  16762. Module["setThrew"](1, 0);
  16763. }
  16764. }
  16765. function invoke_jii(index, a1, a2) {
  16766. var sp = stackSave();
  16767. try {
  16768. return Module["dynCall_jii"](index, a1, a2);
  16769. } catch (e) {
  16770. stackRestore(sp);
  16771. if (typeof e !== "number" && e !== "longjmp") throw e;
  16772. Module["setThrew"](1, 0);
  16773. }
  16774. }
  16775. function invoke_jiii(index, a1, a2, a3) {
  16776. var sp = stackSave();
  16777. try {
  16778. return Module["dynCall_jiii"](index, a1, a2, a3);
  16779. } catch (e) {
  16780. stackRestore(sp);
  16781. if (typeof e !== "number" && e !== "longjmp") throw e;
  16782. Module["setThrew"](1, 0);
  16783. }
  16784. }
  16785. function invoke_jiiii(index, a1, a2, a3, a4) {
  16786. var sp = stackSave();
  16787. try {
  16788. return Module["dynCall_jiiii"](index, a1, a2, a3, a4);
  16789. } catch (e) {
  16790. stackRestore(sp);
  16791. if (typeof e !== "number" && e !== "longjmp") throw e;
  16792. Module["setThrew"](1, 0);
  16793. }
  16794. }
  16795. function invoke_jiiiii(index, a1, a2, a3, a4, a5) {
  16796. var sp = stackSave();
  16797. try {
  16798. return Module["dynCall_jiiiii"](index, a1, a2, a3, a4, a5);
  16799. } catch (e) {
  16800. stackRestore(sp);
  16801. if (typeof e !== "number" && e !== "longjmp") throw e;
  16802. Module["setThrew"](1, 0);
  16803. }
  16804. }
  16805. function invoke_jiiiiii(index, a1, a2, a3, a4, a5, a6) {
  16806. var sp = stackSave();
  16807. try {
  16808. return Module["dynCall_jiiiiii"](index, a1, a2, a3, a4, a5, a6);
  16809. } catch (e) {
  16810. stackRestore(sp);
  16811. if (typeof e !== "number" && e !== "longjmp") throw e;
  16812. Module["setThrew"](1, 0);
  16813. }
  16814. }
  16815. function invoke_jiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  16816. var sp = stackSave();
  16817. try {
  16818. return Module["dynCall_jiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  16819. } catch (e) {
  16820. stackRestore(sp);
  16821. if (typeof e !== "number" && e !== "longjmp") throw e;
  16822. Module["setThrew"](1, 0);
  16823. }
  16824. }
  16825. function invoke_jiiji(index, a1, a2, a3, a4, a5) {
  16826. var sp = stackSave();
  16827. try {
  16828. return Module["dynCall_jiiji"](index, a1, a2, a3, a4, a5);
  16829. } catch (e) {
  16830. stackRestore(sp);
  16831. if (typeof e !== "number" && e !== "longjmp") throw e;
  16832. Module["setThrew"](1, 0);
  16833. }
  16834. }
  16835. function invoke_jiji(index, a1, a2, a3, a4) {
  16836. var sp = stackSave();
  16837. try {
  16838. return Module["dynCall_jiji"](index, a1, a2, a3, a4);
  16839. } catch (e) {
  16840. stackRestore(sp);
  16841. if (typeof e !== "number" && e !== "longjmp") throw e;
  16842. Module["setThrew"](1, 0);
  16843. }
  16844. }
  16845. function invoke_jijii(index, a1, a2, a3, a4, a5) {
  16846. var sp = stackSave();
  16847. try {
  16848. return Module["dynCall_jijii"](index, a1, a2, a3, a4, a5);
  16849. } catch (e) {
  16850. stackRestore(sp);
  16851. if (typeof e !== "number" && e !== "longjmp") throw e;
  16852. Module["setThrew"](1, 0);
  16853. }
  16854. }
  16855. function invoke_jijiii(index, a1, a2, a3, a4, a5, a6) {
  16856. var sp = stackSave();
  16857. try {
  16858. return Module["dynCall_jijiii"](index, a1, a2, a3, a4, a5, a6);
  16859. } catch (e) {
  16860. stackRestore(sp);
  16861. if (typeof e !== "number" && e !== "longjmp") throw e;
  16862. Module["setThrew"](1, 0);
  16863. }
  16864. }
  16865. function invoke_jijj(index, a1, a2, a3, a4, a5) {
  16866. var sp = stackSave();
  16867. try {
  16868. return Module["dynCall_jijj"](index, a1, a2, a3, a4, a5);
  16869. } catch (e) {
  16870. stackRestore(sp);
  16871. if (typeof e !== "number" && e !== "longjmp") throw e;
  16872. Module["setThrew"](1, 0);
  16873. }
  16874. }
  16875. function invoke_jijji(index, a1, a2, a3, a4, a5, a6) {
  16876. var sp = stackSave();
  16877. try {
  16878. return Module["dynCall_jijji"](index, a1, a2, a3, a4, a5, a6);
  16879. } catch (e) {
  16880. stackRestore(sp);
  16881. if (typeof e !== "number" && e !== "longjmp") throw e;
  16882. Module["setThrew"](1, 0);
  16883. }
  16884. }
  16885. function invoke_jji(index, a1, a2, a3) {
  16886. var sp = stackSave();
  16887. try {
  16888. return Module["dynCall_jji"](index, a1, a2, a3);
  16889. } catch (e) {
  16890. stackRestore(sp);
  16891. if (typeof e !== "number" && e !== "longjmp") throw e;
  16892. Module["setThrew"](1, 0);
  16893. }
  16894. }
  16895. function invoke_v(index) {
  16896. var sp = stackSave();
  16897. try {
  16898. Module["dynCall_v"](index);
  16899. } catch (e) {
  16900. stackRestore(sp);
  16901. if (typeof e !== "number" && e !== "longjmp") throw e;
  16902. Module["setThrew"](1, 0);
  16903. }
  16904. }
  16905. function invoke_vd(index, a1) {
  16906. var sp = stackSave();
  16907. try {
  16908. Module["dynCall_vd"](index, a1);
  16909. } catch (e) {
  16910. stackRestore(sp);
  16911. if (typeof e !== "number" && e !== "longjmp") throw e;
  16912. Module["setThrew"](1, 0);
  16913. }
  16914. }
  16915. function invoke_vf(index, a1) {
  16916. var sp = stackSave();
  16917. try {
  16918. Module["dynCall_vf"](index, a1);
  16919. } catch (e) {
  16920. stackRestore(sp);
  16921. if (typeof e !== "number" && e !== "longjmp") throw e;
  16922. Module["setThrew"](1, 0);
  16923. }
  16924. }
  16925. function invoke_vff(index, a1, a2) {
  16926. var sp = stackSave();
  16927. try {
  16928. Module["dynCall_vff"](index, a1, a2);
  16929. } catch (e) {
  16930. stackRestore(sp);
  16931. if (typeof e !== "number" && e !== "longjmp") throw e;
  16932. Module["setThrew"](1, 0);
  16933. }
  16934. }
  16935. function invoke_vffff(index, a1, a2, a3, a4) {
  16936. var sp = stackSave();
  16937. try {
  16938. Module["dynCall_vffff"](index, a1, a2, a3, a4);
  16939. } catch (e) {
  16940. stackRestore(sp);
  16941. if (typeof e !== "number" && e !== "longjmp") throw e;
  16942. Module["setThrew"](1, 0);
  16943. }
  16944. }
  16945. function invoke_vfi(index, a1, a2) {
  16946. var sp = stackSave();
  16947. try {
  16948. Module["dynCall_vfi"](index, a1, a2);
  16949. } catch (e) {
  16950. stackRestore(sp);
  16951. if (typeof e !== "number" && e !== "longjmp") throw e;
  16952. Module["setThrew"](1, 0);
  16953. }
  16954. }
  16955. function invoke_vi(index, a1) {
  16956. var sp = stackSave();
  16957. try {
  16958. Module["dynCall_vi"](index, a1);
  16959. } catch (e) {
  16960. stackRestore(sp);
  16961. if (typeof e !== "number" && e !== "longjmp") throw e;
  16962. Module["setThrew"](1, 0);
  16963. }
  16964. }
  16965. function invoke_vid(index, a1, a2) {
  16966. var sp = stackSave();
  16967. try {
  16968. Module["dynCall_vid"](index, a1, a2);
  16969. } catch (e) {
  16970. stackRestore(sp);
  16971. if (typeof e !== "number" && e !== "longjmp") throw e;
  16972. Module["setThrew"](1, 0);
  16973. }
  16974. }
  16975. function invoke_vidi(index, a1, a2, a3) {
  16976. var sp = stackSave();
  16977. try {
  16978. Module["dynCall_vidi"](index, a1, a2, a3);
  16979. } catch (e) {
  16980. stackRestore(sp);
  16981. if (typeof e !== "number" && e !== "longjmp") throw e;
  16982. Module["setThrew"](1, 0);
  16983. }
  16984. }
  16985. function invoke_vif(index, a1, a2) {
  16986. var sp = stackSave();
  16987. try {
  16988. Module["dynCall_vif"](index, a1, a2);
  16989. } catch (e) {
  16990. stackRestore(sp);
  16991. if (typeof e !== "number" && e !== "longjmp") throw e;
  16992. Module["setThrew"](1, 0);
  16993. }
  16994. }
  16995. function invoke_viff(index, a1, a2, a3) {
  16996. var sp = stackSave();
  16997. try {
  16998. Module["dynCall_viff"](index, a1, a2, a3);
  16999. } catch (e) {
  17000. stackRestore(sp);
  17001. if (typeof e !== "number" && e !== "longjmp") throw e;
  17002. Module["setThrew"](1, 0);
  17003. }
  17004. }
  17005. function invoke_vifff(index, a1, a2, a3, a4) {
  17006. var sp = stackSave();
  17007. try {
  17008. Module["dynCall_vifff"](index, a1, a2, a3, a4);
  17009. } catch (e) {
  17010. stackRestore(sp);
  17011. if (typeof e !== "number" && e !== "longjmp") throw e;
  17012. Module["setThrew"](1, 0);
  17013. }
  17014. }
  17015. function invoke_viffff(index, a1, a2, a3, a4, a5) {
  17016. var sp = stackSave();
  17017. try {
  17018. Module["dynCall_viffff"](index, a1, a2, a3, a4, a5);
  17019. } catch (e) {
  17020. stackRestore(sp);
  17021. if (typeof e !== "number" && e !== "longjmp") throw e;
  17022. Module["setThrew"](1, 0);
  17023. }
  17024. }
  17025. function invoke_viffffi(index, a1, a2, a3, a4, a5, a6) {
  17026. var sp = stackSave();
  17027. try {
  17028. Module["dynCall_viffffi"](index, a1, a2, a3, a4, a5, a6);
  17029. } catch (e) {
  17030. stackRestore(sp);
  17031. if (typeof e !== "number" && e !== "longjmp") throw e;
  17032. Module["setThrew"](1, 0);
  17033. }
  17034. }
  17035. function invoke_viffffii(index, a1, a2, a3, a4, a5, a6, a7) {
  17036. var sp = stackSave();
  17037. try {
  17038. Module["dynCall_viffffii"](index, a1, a2, a3, a4, a5, a6, a7);
  17039. } catch (e) {
  17040. stackRestore(sp);
  17041. if (typeof e !== "number" && e !== "longjmp") throw e;
  17042. Module["setThrew"](1, 0);
  17043. }
  17044. }
  17045. function invoke_viffffiifffiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
  17046. var sp = stackSave();
  17047. try {
  17048. Module["dynCall_viffffiifffiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);
  17049. } catch (e) {
  17050. stackRestore(sp);
  17051. if (typeof e !== "number" && e !== "longjmp") throw e;
  17052. Module["setThrew"](1, 0);
  17053. }
  17054. }
  17055. function invoke_viffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17056. var sp = stackSave();
  17057. try {
  17058. Module["dynCall_viffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17059. } catch (e) {
  17060. stackRestore(sp);
  17061. if (typeof e !== "number" && e !== "longjmp") throw e;
  17062. Module["setThrew"](1, 0);
  17063. }
  17064. }
  17065. function invoke_vifffi(index, a1, a2, a3, a4, a5) {
  17066. var sp = stackSave();
  17067. try {
  17068. Module["dynCall_vifffi"](index, a1, a2, a3, a4, a5);
  17069. } catch (e) {
  17070. stackRestore(sp);
  17071. if (typeof e !== "number" && e !== "longjmp") throw e;
  17072. Module["setThrew"](1, 0);
  17073. }
  17074. }
  17075. function invoke_vifffii(index, a1, a2, a3, a4, a5, a6) {
  17076. var sp = stackSave();
  17077. try {
  17078. Module["dynCall_vifffii"](index, a1, a2, a3, a4, a5, a6);
  17079. } catch (e) {
  17080. stackRestore(sp);
  17081. if (typeof e !== "number" && e !== "longjmp") throw e;
  17082. Module["setThrew"](1, 0);
  17083. }
  17084. }
  17085. function invoke_viffi(index, a1, a2, a3, a4) {
  17086. var sp = stackSave();
  17087. try {
  17088. Module["dynCall_viffi"](index, a1, a2, a3, a4);
  17089. } catch (e) {
  17090. stackRestore(sp);
  17091. if (typeof e !== "number" && e !== "longjmp") throw e;
  17092. Module["setThrew"](1, 0);
  17093. }
  17094. }
  17095. function invoke_viffii(index, a1, a2, a3, a4, a5) {
  17096. var sp = stackSave();
  17097. try {
  17098. Module["dynCall_viffii"](index, a1, a2, a3, a4, a5);
  17099. } catch (e) {
  17100. stackRestore(sp);
  17101. if (typeof e !== "number" && e !== "longjmp") throw e;
  17102. Module["setThrew"](1, 0);
  17103. }
  17104. }
  17105. function invoke_viffiifffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
  17106. var sp = stackSave();
  17107. try {
  17108. Module["dynCall_viffiifffffiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
  17109. } catch (e) {
  17110. stackRestore(sp);
  17111. if (typeof e !== "number" && e !== "longjmp") throw e;
  17112. Module["setThrew"](1, 0);
  17113. }
  17114. }
  17115. function invoke_viffiii(index, a1, a2, a3, a4, a5, a6) {
  17116. var sp = stackSave();
  17117. try {
  17118. Module["dynCall_viffiii"](index, a1, a2, a3, a4, a5, a6);
  17119. } catch (e) {
  17120. stackRestore(sp);
  17121. if (typeof e !== "number" && e !== "longjmp") throw e;
  17122. Module["setThrew"](1, 0);
  17123. }
  17124. }
  17125. function invoke_viffiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17126. var sp = stackSave();
  17127. try {
  17128. Module["dynCall_viffiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17129. } catch (e) {
  17130. stackRestore(sp);
  17131. if (typeof e !== "number" && e !== "longjmp") throw e;
  17132. Module["setThrew"](1, 0);
  17133. }
  17134. }
  17135. function invoke_vifi(index, a1, a2, a3) {
  17136. var sp = stackSave();
  17137. try {
  17138. Module["dynCall_vifi"](index, a1, a2, a3);
  17139. } catch (e) {
  17140. stackRestore(sp);
  17141. if (typeof e !== "number" && e !== "longjmp") throw e;
  17142. Module["setThrew"](1, 0);
  17143. }
  17144. }
  17145. function invoke_vifii(index, a1, a2, a3, a4) {
  17146. var sp = stackSave();
  17147. try {
  17148. Module["dynCall_vifii"](index, a1, a2, a3, a4);
  17149. } catch (e) {
  17150. stackRestore(sp);
  17151. if (typeof e !== "number" && e !== "longjmp") throw e;
  17152. Module["setThrew"](1, 0);
  17153. }
  17154. }
  17155. function invoke_vifiiii(index, a1, a2, a3, a4, a5, a6) {
  17156. var sp = stackSave();
  17157. try {
  17158. Module["dynCall_vifiiii"](index, a1, a2, a3, a4, a5, a6);
  17159. } catch (e) {
  17160. stackRestore(sp);
  17161. if (typeof e !== "number" && e !== "longjmp") throw e;
  17162. Module["setThrew"](1, 0);
  17163. }
  17164. }
  17165. function invoke_vifijii(index, a1, a2, a3, a4, a5, a6, a7) {
  17166. var sp = stackSave();
  17167. try {
  17168. Module["dynCall_vifijii"](index, a1, a2, a3, a4, a5, a6, a7);
  17169. } catch (e) {
  17170. stackRestore(sp);
  17171. if (typeof e !== "number" && e !== "longjmp") throw e;
  17172. Module["setThrew"](1, 0);
  17173. }
  17174. }
  17175. function invoke_vii(index, a1, a2) {
  17176. var sp = stackSave();
  17177. try {
  17178. Module["dynCall_vii"](index, a1, a2);
  17179. } catch (e) {
  17180. stackRestore(sp);
  17181. if (typeof e !== "number" && e !== "longjmp") throw e;
  17182. Module["setThrew"](1, 0);
  17183. }
  17184. }
  17185. function invoke_viid(index, a1, a2, a3) {
  17186. var sp = stackSave();
  17187. try {
  17188. Module["dynCall_viid"](index, a1, a2, a3);
  17189. } catch (e) {
  17190. stackRestore(sp);
  17191. if (typeof e !== "number" && e !== "longjmp") throw e;
  17192. Module["setThrew"](1, 0);
  17193. }
  17194. }
  17195. function invoke_viidi(index, a1, a2, a3, a4) {
  17196. var sp = stackSave();
  17197. try {
  17198. Module["dynCall_viidi"](index, a1, a2, a3, a4);
  17199. } catch (e) {
  17200. stackRestore(sp);
  17201. if (typeof e !== "number" && e !== "longjmp") throw e;
  17202. Module["setThrew"](1, 0);
  17203. }
  17204. }
  17205. function invoke_viidii(index, a1, a2, a3, a4, a5) {
  17206. var sp = stackSave();
  17207. try {
  17208. Module["dynCall_viidii"](index, a1, a2, a3, a4, a5);
  17209. } catch (e) {
  17210. stackRestore(sp);
  17211. if (typeof e !== "number" && e !== "longjmp") throw e;
  17212. Module["setThrew"](1, 0);
  17213. }
  17214. }
  17215. function invoke_viif(index, a1, a2, a3) {
  17216. var sp = stackSave();
  17217. try {
  17218. Module["dynCall_viif"](index, a1, a2, a3);
  17219. } catch (e) {
  17220. stackRestore(sp);
  17221. if (typeof e !== "number" && e !== "longjmp") throw e;
  17222. Module["setThrew"](1, 0);
  17223. }
  17224. }
  17225. function invoke_viiff(index, a1, a2, a3, a4) {
  17226. var sp = stackSave();
  17227. try {
  17228. Module["dynCall_viiff"](index, a1, a2, a3, a4);
  17229. } catch (e) {
  17230. stackRestore(sp);
  17231. if (typeof e !== "number" && e !== "longjmp") throw e;
  17232. Module["setThrew"](1, 0);
  17233. }
  17234. }
  17235. function invoke_viifff(index, a1, a2, a3, a4, a5) {
  17236. var sp = stackSave();
  17237. try {
  17238. Module["dynCall_viifff"](index, a1, a2, a3, a4, a5);
  17239. } catch (e) {
  17240. stackRestore(sp);
  17241. if (typeof e !== "number" && e !== "longjmp") throw e;
  17242. Module["setThrew"](1, 0);
  17243. }
  17244. }
  17245. function invoke_viifffi(index, a1, a2, a3, a4, a5, a6) {
  17246. var sp = stackSave();
  17247. try {
  17248. Module["dynCall_viifffi"](index, a1, a2, a3, a4, a5, a6);
  17249. } catch (e) {
  17250. stackRestore(sp);
  17251. if (typeof e !== "number" && e !== "longjmp") throw e;
  17252. Module["setThrew"](1, 0);
  17253. }
  17254. }
  17255. function invoke_viiffi(index, a1, a2, a3, a4, a5) {
  17256. var sp = stackSave();
  17257. try {
  17258. Module["dynCall_viiffi"](index, a1, a2, a3, a4, a5);
  17259. } catch (e) {
  17260. stackRestore(sp);
  17261. if (typeof e !== "number" && e !== "longjmp") throw e;
  17262. Module["setThrew"](1, 0);
  17263. }
  17264. }
  17265. function invoke_viiffii(index, a1, a2, a3, a4, a5, a6) {
  17266. var sp = stackSave();
  17267. try {
  17268. Module["dynCall_viiffii"](index, a1, a2, a3, a4, a5, a6);
  17269. } catch (e) {
  17270. stackRestore(sp);
  17271. if (typeof e !== "number" && e !== "longjmp") throw e;
  17272. Module["setThrew"](1, 0);
  17273. }
  17274. }
  17275. function invoke_viifi(index, a1, a2, a3, a4) {
  17276. var sp = stackSave();
  17277. try {
  17278. Module["dynCall_viifi"](index, a1, a2, a3, a4);
  17279. } catch (e) {
  17280. stackRestore(sp);
  17281. if (typeof e !== "number" && e !== "longjmp") throw e;
  17282. Module["setThrew"](1, 0);
  17283. }
  17284. }
  17285. function invoke_viifii(index, a1, a2, a3, a4, a5) {
  17286. var sp = stackSave();
  17287. try {
  17288. Module["dynCall_viifii"](index, a1, a2, a3, a4, a5);
  17289. } catch (e) {
  17290. stackRestore(sp);
  17291. if (typeof e !== "number" && e !== "longjmp") throw e;
  17292. Module["setThrew"](1, 0);
  17293. }
  17294. }
  17295. function invoke_viifiii(index, a1, a2, a3, a4, a5, a6) {
  17296. var sp = stackSave();
  17297. try {
  17298. Module["dynCall_viifiii"](index, a1, a2, a3, a4, a5, a6);
  17299. } catch (e) {
  17300. stackRestore(sp);
  17301. if (typeof e !== "number" && e !== "longjmp") throw e;
  17302. Module["setThrew"](1, 0);
  17303. }
  17304. }
  17305. function invoke_viifiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17306. var sp = stackSave();
  17307. try {
  17308. Module["dynCall_viifiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17309. } catch (e) {
  17310. stackRestore(sp);
  17311. if (typeof e !== "number" && e !== "longjmp") throw e;
  17312. Module["setThrew"](1, 0);
  17313. }
  17314. }
  17315. function invoke_viii(index, a1, a2, a3) {
  17316. var sp = stackSave();
  17317. try {
  17318. Module["dynCall_viii"](index, a1, a2, a3);
  17319. } catch (e) {
  17320. stackRestore(sp);
  17321. if (typeof e !== "number" && e !== "longjmp") throw e;
  17322. Module["setThrew"](1, 0);
  17323. }
  17324. }
  17325. function invoke_viiidi(index, a1, a2, a3, a4, a5) {
  17326. var sp = stackSave();
  17327. try {
  17328. Module["dynCall_viiidi"](index, a1, a2, a3, a4, a5);
  17329. } catch (e) {
  17330. stackRestore(sp);
  17331. if (typeof e !== "number" && e !== "longjmp") throw e;
  17332. Module["setThrew"](1, 0);
  17333. }
  17334. }
  17335. function invoke_viiifffi(index, a1, a2, a3, a4, a5, a6, a7) {
  17336. var sp = stackSave();
  17337. try {
  17338. Module["dynCall_viiifffi"](index, a1, a2, a3, a4, a5, a6, a7);
  17339. } catch (e) {
  17340. stackRestore(sp);
  17341. if (typeof e !== "number" && e !== "longjmp") throw e;
  17342. Module["setThrew"](1, 0);
  17343. }
  17344. }
  17345. function invoke_viiiffi(index, a1, a2, a3, a4, a5, a6) {
  17346. var sp = stackSave();
  17347. try {
  17348. Module["dynCall_viiiffi"](index, a1, a2, a3, a4, a5, a6);
  17349. } catch (e) {
  17350. stackRestore(sp);
  17351. if (typeof e !== "number" && e !== "longjmp") throw e;
  17352. Module["setThrew"](1, 0);
  17353. }
  17354. }
  17355. function invoke_viiiffii(index, a1, a2, a3, a4, a5, a6, a7) {
  17356. var sp = stackSave();
  17357. try {
  17358. Module["dynCall_viiiffii"](index, a1, a2, a3, a4, a5, a6, a7);
  17359. } catch (e) {
  17360. stackRestore(sp);
  17361. if (typeof e !== "number" && e !== "longjmp") throw e;
  17362. Module["setThrew"](1, 0);
  17363. }
  17364. }
  17365. function invoke_viiifi(index, a1, a2, a3, a4, a5) {
  17366. var sp = stackSave();
  17367. try {
  17368. Module["dynCall_viiifi"](index, a1, a2, a3, a4, a5);
  17369. } catch (e) {
  17370. stackRestore(sp);
  17371. if (typeof e !== "number" && e !== "longjmp") throw e;
  17372. Module["setThrew"](1, 0);
  17373. }
  17374. }
  17375. function invoke_viiifii(index, a1, a2, a3, a4, a5, a6) {
  17376. var sp = stackSave();
  17377. try {
  17378. Module["dynCall_viiifii"](index, a1, a2, a3, a4, a5, a6);
  17379. } catch (e) {
  17380. stackRestore(sp);
  17381. if (typeof e !== "number" && e !== "longjmp") throw e;
  17382. Module["setThrew"](1, 0);
  17383. }
  17384. }
  17385. function invoke_viiifiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17386. var sp = stackSave();
  17387. try {
  17388. Module["dynCall_viiifiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17389. } catch (e) {
  17390. stackRestore(sp);
  17391. if (typeof e !== "number" && e !== "longjmp") throw e;
  17392. Module["setThrew"](1, 0);
  17393. }
  17394. }
  17395. function invoke_viiifiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17396. var sp = stackSave();
  17397. try {
  17398. Module["dynCall_viiifiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17399. } catch (e) {
  17400. stackRestore(sp);
  17401. if (typeof e !== "number" && e !== "longjmp") throw e;
  17402. Module["setThrew"](1, 0);
  17403. }
  17404. }
  17405. function invoke_viiii(index, a1, a2, a3, a4) {
  17406. var sp = stackSave();
  17407. try {
  17408. Module["dynCall_viiii"](index, a1, a2, a3, a4);
  17409. } catch (e) {
  17410. stackRestore(sp);
  17411. if (typeof e !== "number" && e !== "longjmp") throw e;
  17412. Module["setThrew"](1, 0);
  17413. }
  17414. }
  17415. function invoke_viiiif(index, a1, a2, a3, a4, a5) {
  17416. var sp = stackSave();
  17417. try {
  17418. Module["dynCall_viiiif"](index, a1, a2, a3, a4, a5);
  17419. } catch (e) {
  17420. stackRestore(sp);
  17421. if (typeof e !== "number" && e !== "longjmp") throw e;
  17422. Module["setThrew"](1, 0);
  17423. }
  17424. }
  17425. function invoke_viiiifii(index, a1, a2, a3, a4, a5, a6, a7) {
  17426. var sp = stackSave();
  17427. try {
  17428. Module["dynCall_viiiifii"](index, a1, a2, a3, a4, a5, a6, a7);
  17429. } catch (e) {
  17430. stackRestore(sp);
  17431. if (typeof e !== "number" && e !== "longjmp") throw e;
  17432. Module["setThrew"](1, 0);
  17433. }
  17434. }
  17435. function invoke_viiiifiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17436. var sp = stackSave();
  17437. try {
  17438. Module["dynCall_viiiifiiiiif"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17439. } catch (e) {
  17440. stackRestore(sp);
  17441. if (typeof e !== "number" && e !== "longjmp") throw e;
  17442. Module["setThrew"](1, 0);
  17443. }
  17444. }
  17445. function invoke_viiiii(index, a1, a2, a3, a4, a5) {
  17446. var sp = stackSave();
  17447. try {
  17448. Module["dynCall_viiiii"](index, a1, a2, a3, a4, a5);
  17449. } catch (e) {
  17450. stackRestore(sp);
  17451. if (typeof e !== "number" && e !== "longjmp") throw e;
  17452. Module["setThrew"](1, 0);
  17453. }
  17454. }
  17455. function invoke_viiiiif(index, a1, a2, a3, a4, a5, a6) {
  17456. var sp = stackSave();
  17457. try {
  17458. Module["dynCall_viiiiif"](index, a1, a2, a3, a4, a5, a6);
  17459. } catch (e) {
  17460. stackRestore(sp);
  17461. if (typeof e !== "number" && e !== "longjmp") throw e;
  17462. Module["setThrew"](1, 0);
  17463. }
  17464. }
  17465. function invoke_viiiiiffi(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17466. var sp = stackSave();
  17467. try {
  17468. Module["dynCall_viiiiiffi"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17469. } catch (e) {
  17470. stackRestore(sp);
  17471. if (typeof e !== "number" && e !== "longjmp") throw e;
  17472. Module["setThrew"](1, 0);
  17473. }
  17474. }
  17475. function invoke_viiiiiffii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17476. var sp = stackSave();
  17477. try {
  17478. Module["dynCall_viiiiiffii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17479. } catch (e) {
  17480. stackRestore(sp);
  17481. if (typeof e !== "number" && e !== "longjmp") throw e;
  17482. Module["setThrew"](1, 0);
  17483. }
  17484. }
  17485. function invoke_viiiiifi(index, a1, a2, a3, a4, a5, a6, a7) {
  17486. var sp = stackSave();
  17487. try {
  17488. Module["dynCall_viiiiifi"](index, a1, a2, a3, a4, a5, a6, a7);
  17489. } catch (e) {
  17490. stackRestore(sp);
  17491. if (typeof e !== "number" && e !== "longjmp") throw e;
  17492. Module["setThrew"](1, 0);
  17493. }
  17494. }
  17495. function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
  17496. var sp = stackSave();
  17497. try {
  17498. Module["dynCall_viiiiii"](index, a1, a2, a3, a4, a5, a6);
  17499. } catch (e) {
  17500. stackRestore(sp);
  17501. if (typeof e !== "number" && e !== "longjmp") throw e;
  17502. Module["setThrew"](1, 0);
  17503. }
  17504. }
  17505. function invoke_viiiiiif(index, a1, a2, a3, a4, a5, a6, a7) {
  17506. var sp = stackSave();
  17507. try {
  17508. Module["dynCall_viiiiiif"](index, a1, a2, a3, a4, a5, a6, a7);
  17509. } catch (e) {
  17510. stackRestore(sp);
  17511. if (typeof e !== "number" && e !== "longjmp") throw e;
  17512. Module["setThrew"](1, 0);
  17513. }
  17514. }
  17515. function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  17516. var sp = stackSave();
  17517. try {
  17518. Module["dynCall_viiiiiii"](index, a1, a2, a3, a4, a5, a6, a7);
  17519. } catch (e) {
  17520. stackRestore(sp);
  17521. if (typeof e !== "number" && e !== "longjmp") throw e;
  17522. Module["setThrew"](1, 0);
  17523. }
  17524. }
  17525. function invoke_viiiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17526. var sp = stackSave();
  17527. try {
  17528. Module["dynCall_viiiiiiifi"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17529. } catch (e) {
  17530. stackRestore(sp);
  17531. if (typeof e !== "number" && e !== "longjmp") throw e;
  17532. Module["setThrew"](1, 0);
  17533. }
  17534. }
  17535. function invoke_viiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17536. var sp = stackSave();
  17537. try {
  17538. Module["dynCall_viiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17539. } catch (e) {
  17540. stackRestore(sp);
  17541. if (typeof e !== "number" && e !== "longjmp") throw e;
  17542. Module["setThrew"](1, 0);
  17543. }
  17544. }
  17545. function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17546. var sp = stackSave();
  17547. try {
  17548. Module["dynCall_viiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17549. } catch (e) {
  17550. stackRestore(sp);
  17551. if (typeof e !== "number" && e !== "longjmp") throw e;
  17552. Module["setThrew"](1, 0);
  17553. }
  17554. }
  17555. function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17556. var sp = stackSave();
  17557. try {
  17558. Module["dynCall_viiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17559. } catch (e) {
  17560. stackRestore(sp);
  17561. if (typeof e !== "number" && e !== "longjmp") throw e;
  17562. Module["setThrew"](1, 0);
  17563. }
  17564. }
  17565. function invoke_viiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17566. var sp = stackSave();
  17567. try {
  17568. Module["dynCall_viiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17569. } catch (e) {
  17570. stackRestore(sp);
  17571. if (typeof e !== "number" && e !== "longjmp") throw e;
  17572. Module["setThrew"](1, 0);
  17573. }
  17574. }
  17575. function invoke_viiiiiiiiiiifii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17576. var sp = stackSave();
  17577. try {
  17578. Module["dynCall_viiiiiiiiiiifii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17579. } catch (e) {
  17580. stackRestore(sp);
  17581. if (typeof e !== "number" && e !== "longjmp") throw e;
  17582. Module["setThrew"](1, 0);
  17583. }
  17584. }
  17585. function invoke_viiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
  17586. var sp = stackSave();
  17587. try {
  17588. Module["dynCall_viiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
  17589. } catch (e) {
  17590. stackRestore(sp);
  17591. if (typeof e !== "number" && e !== "longjmp") throw e;
  17592. Module["setThrew"](1, 0);
  17593. }
  17594. }
  17595. function invoke_viiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {
  17596. var sp = stackSave();
  17597. try {
  17598. Module["dynCall_viiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);
  17599. } catch (e) {
  17600. stackRestore(sp);
  17601. if (typeof e !== "number" && e !== "longjmp") throw e;
  17602. Module["setThrew"](1, 0);
  17603. }
  17604. }
  17605. function invoke_viiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  17606. var sp = stackSave();
  17607. try {
  17608. Module["dynCall_viiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  17609. } catch (e) {
  17610. stackRestore(sp);
  17611. if (typeof e !== "number" && e !== "longjmp") throw e;
  17612. Module["setThrew"](1, 0);
  17613. }
  17614. }
  17615. function invoke_viiiiiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) {
  17616. var sp = stackSave();
  17617. try {
  17618. Module["dynCall_viiiiiiiiiiiiiiiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18);
  17619. } catch (e) {
  17620. stackRestore(sp);
  17621. if (typeof e !== "number" && e !== "longjmp") throw e;
  17622. Module["setThrew"](1, 0);
  17623. }
  17624. }
  17625. function invoke_viiiiiji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17626. var sp = stackSave();
  17627. try {
  17628. Module["dynCall_viiiiiji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17629. } catch (e) {
  17630. stackRestore(sp);
  17631. if (typeof e !== "number" && e !== "longjmp") throw e;
  17632. Module["setThrew"](1, 0);
  17633. }
  17634. }
  17635. function invoke_viiiij(index, a1, a2, a3, a4, a5, a6) {
  17636. var sp = stackSave();
  17637. try {
  17638. Module["dynCall_viiiij"](index, a1, a2, a3, a4, a5, a6);
  17639. } catch (e) {
  17640. stackRestore(sp);
  17641. if (typeof e !== "number" && e !== "longjmp") throw e;
  17642. Module["setThrew"](1, 0);
  17643. }
  17644. }
  17645. function invoke_viiiijiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17646. var sp = stackSave();
  17647. try {
  17648. Module["dynCall_viiiijiiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17649. } catch (e) {
  17650. stackRestore(sp);
  17651. if (typeof e !== "number" && e !== "longjmp") throw e;
  17652. Module["setThrew"](1, 0);
  17653. }
  17654. }
  17655. function invoke_viiiji(index, a1, a2, a3, a4, a5, a6) {
  17656. var sp = stackSave();
  17657. try {
  17658. Module["dynCall_viiiji"](index, a1, a2, a3, a4, a5, a6);
  17659. } catch (e) {
  17660. stackRestore(sp);
  17661. if (typeof e !== "number" && e !== "longjmp") throw e;
  17662. Module["setThrew"](1, 0);
  17663. }
  17664. }
  17665. function invoke_viiijji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17666. var sp = stackSave();
  17667. try {
  17668. Module["dynCall_viiijji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17669. } catch (e) {
  17670. stackRestore(sp);
  17671. if (typeof e !== "number" && e !== "longjmp") throw e;
  17672. Module["setThrew"](1, 0);
  17673. }
  17674. }
  17675. function invoke_viij(index, a1, a2, a3, a4) {
  17676. var sp = stackSave();
  17677. try {
  17678. Module["dynCall_viij"](index, a1, a2, a3, a4);
  17679. } catch (e) {
  17680. stackRestore(sp);
  17681. if (typeof e !== "number" && e !== "longjmp") throw e;
  17682. Module["setThrew"](1, 0);
  17683. }
  17684. }
  17685. function invoke_viiji(index, a1, a2, a3, a4, a5) {
  17686. var sp = stackSave();
  17687. try {
  17688. Module["dynCall_viiji"](index, a1, a2, a3, a4, a5);
  17689. } catch (e) {
  17690. stackRestore(sp);
  17691. if (typeof e !== "number" && e !== "longjmp") throw e;
  17692. Module["setThrew"](1, 0);
  17693. }
  17694. }
  17695. function invoke_viijii(index, a1, a2, a3, a4, a5, a6) {
  17696. var sp = stackSave();
  17697. try {
  17698. Module["dynCall_viijii"](index, a1, a2, a3, a4, a5, a6);
  17699. } catch (e) {
  17700. stackRestore(sp);
  17701. if (typeof e !== "number" && e !== "longjmp") throw e;
  17702. Module["setThrew"](1, 0);
  17703. }
  17704. }
  17705. function invoke_viijiijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  17706. var sp = stackSave();
  17707. try {
  17708. Module["dynCall_viijiijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  17709. } catch (e) {
  17710. stackRestore(sp);
  17711. if (typeof e !== "number" && e !== "longjmp") throw e;
  17712. Module["setThrew"](1, 0);
  17713. }
  17714. }
  17715. function invoke_viijijii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17716. var sp = stackSave();
  17717. try {
  17718. Module["dynCall_viijijii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17719. } catch (e) {
  17720. stackRestore(sp);
  17721. if (typeof e !== "number" && e !== "longjmp") throw e;
  17722. Module["setThrew"](1, 0);
  17723. }
  17724. }
  17725. function invoke_viijijiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  17726. var sp = stackSave();
  17727. try {
  17728. Module["dynCall_viijijiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  17729. } catch (e) {
  17730. stackRestore(sp);
  17731. if (typeof e !== "number" && e !== "longjmp") throw e;
  17732. Module["setThrew"](1, 0);
  17733. }
  17734. }
  17735. function invoke_viijijj(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17736. var sp = stackSave();
  17737. try {
  17738. Module["dynCall_viijijj"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17739. } catch (e) {
  17740. stackRestore(sp);
  17741. if (typeof e !== "number" && e !== "longjmp") throw e;
  17742. Module["setThrew"](1, 0);
  17743. }
  17744. }
  17745. function invoke_viijj(index, a1, a2, a3, a4, a5, a6) {
  17746. var sp = stackSave();
  17747. try {
  17748. Module["dynCall_viijj"](index, a1, a2, a3, a4, a5, a6);
  17749. } catch (e) {
  17750. stackRestore(sp);
  17751. if (typeof e !== "number" && e !== "longjmp") throw e;
  17752. Module["setThrew"](1, 0);
  17753. }
  17754. }
  17755. function invoke_viijji(index, a1, a2, a3, a4, a5, a6, a7) {
  17756. var sp = stackSave();
  17757. try {
  17758. Module["dynCall_viijji"](index, a1, a2, a3, a4, a5, a6, a7);
  17759. } catch (e) {
  17760. stackRestore(sp);
  17761. if (typeof e !== "number" && e !== "longjmp") throw e;
  17762. Module["setThrew"](1, 0);
  17763. }
  17764. }
  17765. function invoke_viijjii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17766. var sp = stackSave();
  17767. try {
  17768. Module["dynCall_viijjii"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17769. } catch (e) {
  17770. stackRestore(sp);
  17771. if (typeof e !== "number" && e !== "longjmp") throw e;
  17772. Module["setThrew"](1, 0);
  17773. }
  17774. }
  17775. function invoke_viijjiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17776. var sp = stackSave();
  17777. try {
  17778. Module["dynCall_viijjiii"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17779. } catch (e) {
  17780. stackRestore(sp);
  17781. if (typeof e !== "number" && e !== "longjmp") throw e;
  17782. Module["setThrew"](1, 0);
  17783. }
  17784. }
  17785. function invoke_viijjji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17786. var sp = stackSave();
  17787. try {
  17788. Module["dynCall_viijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17789. } catch (e) {
  17790. stackRestore(sp);
  17791. if (typeof e !== "number" && e !== "longjmp") throw e;
  17792. Module["setThrew"](1, 0);
  17793. }
  17794. }
  17795. function invoke_vij(index, a1, a2, a3) {
  17796. var sp = stackSave();
  17797. try {
  17798. Module["dynCall_vij"](index, a1, a2, a3);
  17799. } catch (e) {
  17800. stackRestore(sp);
  17801. if (typeof e !== "number" && e !== "longjmp") throw e;
  17802. Module["setThrew"](1, 0);
  17803. }
  17804. }
  17805. function invoke_viji(index, a1, a2, a3, a4) {
  17806. var sp = stackSave();
  17807. try {
  17808. Module["dynCall_viji"](index, a1, a2, a3, a4);
  17809. } catch (e) {
  17810. stackRestore(sp);
  17811. if (typeof e !== "number" && e !== "longjmp") throw e;
  17812. Module["setThrew"](1, 0);
  17813. }
  17814. }
  17815. function invoke_vijii(index, a1, a2, a3, a4, a5) {
  17816. var sp = stackSave();
  17817. try {
  17818. Module["dynCall_vijii"](index, a1, a2, a3, a4, a5);
  17819. } catch (e) {
  17820. stackRestore(sp);
  17821. if (typeof e !== "number" && e !== "longjmp") throw e;
  17822. Module["setThrew"](1, 0);
  17823. }
  17824. }
  17825. function invoke_vijiii(index, a1, a2, a3, a4, a5, a6) {
  17826. var sp = stackSave();
  17827. try {
  17828. Module["dynCall_vijiii"](index, a1, a2, a3, a4, a5, a6);
  17829. } catch (e) {
  17830. stackRestore(sp);
  17831. if (typeof e !== "number" && e !== "longjmp") throw e;
  17832. Module["setThrew"](1, 0);
  17833. }
  17834. }
  17835. function invoke_vijiji(index, a1, a2, a3, a4, a5, a6, a7) {
  17836. var sp = stackSave();
  17837. try {
  17838. Module["dynCall_vijiji"](index, a1, a2, a3, a4, a5, a6, a7);
  17839. } catch (e) {
  17840. stackRestore(sp);
  17841. if (typeof e !== "number" && e !== "longjmp") throw e;
  17842. Module["setThrew"](1, 0);
  17843. }
  17844. }
  17845. function invoke_vijijji(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  17846. var sp = stackSave();
  17847. try {
  17848. Module["dynCall_vijijji"](index, a1, a2, a3, a4, a5, a6, a7, a8, a9);
  17849. } catch (e) {
  17850. stackRestore(sp);
  17851. if (typeof e !== "number" && e !== "longjmp") throw e;
  17852. Module["setThrew"](1, 0);
  17853. }
  17854. }
  17855. function invoke_vijji(index, a1, a2, a3, a4, a5, a6) {
  17856. var sp = stackSave();
  17857. try {
  17858. Module["dynCall_vijji"](index, a1, a2, a3, a4, a5, a6);
  17859. } catch (e) {
  17860. stackRestore(sp);
  17861. if (typeof e !== "number" && e !== "longjmp") throw e;
  17862. Module["setThrew"](1, 0);
  17863. }
  17864. }
  17865. function invoke_vijjii(index, a1, a2, a3, a4, a5, a6, a7) {
  17866. var sp = stackSave();
  17867. try {
  17868. Module["dynCall_vijjii"](index, a1, a2, a3, a4, a5, a6, a7);
  17869. } catch (e) {
  17870. stackRestore(sp);
  17871. if (typeof e !== "number" && e !== "longjmp") throw e;
  17872. Module["setThrew"](1, 0);
  17873. }
  17874. }
  17875. function invoke_vijjji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  17876. var sp = stackSave();
  17877. try {
  17878. Module["dynCall_vijjji"](index, a1, a2, a3, a4, a5, a6, a7, a8);
  17879. } catch (e) {
  17880. stackRestore(sp);
  17881. if (typeof e !== "number" && e !== "longjmp") throw e;
  17882. Module["setThrew"](1, 0);
  17883. }
  17884. }
  17885. function invoke_vji(index, a1, a2, a3) {
  17886. var sp = stackSave();
  17887. try {
  17888. Module["dynCall_vji"](index, a1, a2, a3);
  17889. } catch (e) {
  17890. stackRestore(sp);
  17891. if (typeof e !== "number" && e !== "longjmp") throw e;
  17892. Module["setThrew"](1, 0);
  17893. }
  17894. }
  17895. function invoke_vjiiii(index, a1, a2, a3, a4, a5, a6) {
  17896. var sp = stackSave();
  17897. try {
  17898. Module["dynCall_vjiiii"](index, a1, a2, a3, a4, a5, a6);
  17899. } catch (e) {
  17900. stackRestore(sp);
  17901. if (typeof e !== "number" && e !== "longjmp") throw e;
  17902. Module["setThrew"](1, 0);
  17903. }
  17904. }
  17905. function invoke_vjji(index, a1, a2, a3, a4, a5) {
  17906. var sp = stackSave();
  17907. try {
  17908. Module["dynCall_vjji"](index, a1, a2, a3, a4, a5);
  17909. } catch (e) {
  17910. stackRestore(sp);
  17911. if (typeof e !== "number" && e !== "longjmp") throw e;
  17912. Module["setThrew"](1, 0);
  17913. }
  17914. }
  17915. Module.asmGlobalArg = {};
  17916. Module.asmLibraryArg = {
  17917. "abort": abort,
  17918. "assert": assert,
  17919. "enlargeMemory": enlargeMemory,
  17920. "getTotalMemory": getTotalMemory,
  17921. "abortOnCannotGrowMemory": abortOnCannotGrowMemory,
  17922. "abortStackOverflow": abortStackOverflow,
  17923. "nullFunc_dddi": nullFunc_dddi,
  17924. "nullFunc_ddi": nullFunc_ddi,
  17925. "nullFunc_dfi": nullFunc_dfi,
  17926. "nullFunc_di": nullFunc_di,
  17927. "nullFunc_diddi": nullFunc_diddi,
  17928. "nullFunc_didi": nullFunc_didi,
  17929. "nullFunc_dii": nullFunc_dii,
  17930. "nullFunc_diii": nullFunc_diii,
  17931. "nullFunc_diiii": nullFunc_diiii,
  17932. "nullFunc_dji": nullFunc_dji,
  17933. "nullFunc_f": nullFunc_f,
  17934. "nullFunc_fdi": nullFunc_fdi,
  17935. "nullFunc_ff": nullFunc_ff,
  17936. "nullFunc_fff": nullFunc_fff,
  17937. "nullFunc_ffffi": nullFunc_ffffi,
  17938. "nullFunc_fffi": nullFunc_fffi,
  17939. "nullFunc_fffifffi": nullFunc_fffifffi,
  17940. "nullFunc_ffi": nullFunc_ffi,
  17941. "nullFunc_fi": nullFunc_fi,
  17942. "nullFunc_fif": nullFunc_fif,
  17943. "nullFunc_fiff": nullFunc_fiff,
  17944. "nullFunc_fifffi": nullFunc_fifffi,
  17945. "nullFunc_fiffi": nullFunc_fiffi,
  17946. "nullFunc_fifi": nullFunc_fifi,
  17947. "nullFunc_fifii": nullFunc_fifii,
  17948. "nullFunc_fii": nullFunc_fii,
  17949. "nullFunc_fiif": nullFunc_fiif,
  17950. "nullFunc_fiifi": nullFunc_fiifi,
  17951. "nullFunc_fiifii": nullFunc_fiifii,
  17952. "nullFunc_fiii": nullFunc_fiii,
  17953. "nullFunc_fiiii": nullFunc_fiiii,
  17954. "nullFunc_fiiiiiifiifif": nullFunc_fiiiiiifiifif,
  17955. "nullFunc_fiiiiiifiiiif": nullFunc_fiiiiiifiiiif,
  17956. "nullFunc_fji": nullFunc_fji,
  17957. "nullFunc_i": nullFunc_i,
  17958. "nullFunc_idi": nullFunc_idi,
  17959. "nullFunc_idiii": nullFunc_idiii,
  17960. "nullFunc_ifffi": nullFunc_ifffi,
  17961. "nullFunc_iffi": nullFunc_iffi,
  17962. "nullFunc_ifi": nullFunc_ifi,
  17963. "nullFunc_ifiii": nullFunc_ifiii,
  17964. "nullFunc_ii": nullFunc_ii,
  17965. "nullFunc_iidi": nullFunc_iidi,
  17966. "nullFunc_iidii": nullFunc_iidii,
  17967. "nullFunc_iif": nullFunc_iif,
  17968. "nullFunc_iifff": nullFunc_iifff,
  17969. "nullFunc_iifffi": nullFunc_iifffi,
  17970. "nullFunc_iiffi": nullFunc_iiffi,
  17971. "nullFunc_iifi": nullFunc_iifi,
  17972. "nullFunc_iifii": nullFunc_iifii,
  17973. "nullFunc_iifiii": nullFunc_iifiii,
  17974. "nullFunc_iifiiiijii": nullFunc_iifiiiijii,
  17975. "nullFunc_iii": nullFunc_iii,
  17976. "nullFunc_iiif": nullFunc_iiif,
  17977. "nullFunc_iiiff": nullFunc_iiiff,
  17978. "nullFunc_iiifi": nullFunc_iiifi,
  17979. "nullFunc_iiifii": nullFunc_iiifii,
  17980. "nullFunc_iiifiii": nullFunc_iiifiii,
  17981. "nullFunc_iiifiiii": nullFunc_iiifiiii,
  17982. "nullFunc_iiii": nullFunc_iiii,
  17983. "nullFunc_iiiifffffi": nullFunc_iiiifffffi,
  17984. "nullFunc_iiiifffffii": nullFunc_iiiifffffii,
  17985. "nullFunc_iiiifffiii": nullFunc_iiiifffiii,
  17986. "nullFunc_iiiifi": nullFunc_iiiifi,
  17987. "nullFunc_iiiifii": nullFunc_iiiifii,
  17988. "nullFunc_iiiifiii": nullFunc_iiiifiii,
  17989. "nullFunc_iiiifiiii": nullFunc_iiiifiiii,
  17990. "nullFunc_iiiifiiiii": nullFunc_iiiifiiiii,
  17991. "nullFunc_iiiii": nullFunc_iiiii,
  17992. "nullFunc_iiiiifiii": nullFunc_iiiiifiii,
  17993. "nullFunc_iiiiifiiiiif": nullFunc_iiiiifiiiiif,
  17994. "nullFunc_iiiiii": nullFunc_iiiiii,
  17995. "nullFunc_iiiiiifff": nullFunc_iiiiiifff,
  17996. "nullFunc_iiiiiifffiiifiii": nullFunc_iiiiiifffiiifiii,
  17997. "nullFunc_iiiiiiffiiiiiiiiiffffiii": nullFunc_iiiiiiffiiiiiiiiiffffiii,
  17998. "nullFunc_iiiiiiffiiiiiiiiiffffiiii": nullFunc_iiiiiiffiiiiiiiiiffffiiii,
  17999. "nullFunc_iiiiiiffiiiiiiiiiiiiiii": nullFunc_iiiiiiffiiiiiiiiiiiiiii,
  18000. "nullFunc_iiiiiifiif": nullFunc_iiiiiifiif,
  18001. "nullFunc_iiiiiifiii": nullFunc_iiiiiifiii,
  18002. "nullFunc_iiiiiii": nullFunc_iiiiiii,
  18003. "nullFunc_iiiiiiifiif": nullFunc_iiiiiiifiif,
  18004. "nullFunc_iiiiiiii": nullFunc_iiiiiiii,
  18005. "nullFunc_iiiiiiiii": nullFunc_iiiiiiiii,
  18006. "nullFunc_iiiiiiiiii": nullFunc_iiiiiiiiii,
  18007. "nullFunc_iiiiiiiiiii": nullFunc_iiiiiiiiiii,
  18008. "nullFunc_iiiiiiiiiiii": nullFunc_iiiiiiiiiiii,
  18009. "nullFunc_iiiiiiiiiiiii": nullFunc_iiiiiiiiiiiii,
  18010. "nullFunc_iiiiiiiiiiiiii": nullFunc_iiiiiiiiiiiiii,
  18011. "nullFunc_iiiiiji": nullFunc_iiiiiji,
  18012. "nullFunc_iiiij": nullFunc_iiiij,
  18013. "nullFunc_iiiiji": nullFunc_iiiiji,
  18014. "nullFunc_iiiijii": nullFunc_iiiijii,
  18015. "nullFunc_iiiijiii": nullFunc_iiiijiii,
  18016. "nullFunc_iiij": nullFunc_iiij,
  18017. "nullFunc_iiiji": nullFunc_iiiji,
  18018. "nullFunc_iiijii": nullFunc_iiijii,
  18019. "nullFunc_iiijiii": nullFunc_iiijiii,
  18020. "nullFunc_iiijji": nullFunc_iiijji,
  18021. "nullFunc_iiijjiiii": nullFunc_iiijjiiii,
  18022. "nullFunc_iij": nullFunc_iij,
  18023. "nullFunc_iiji": nullFunc_iiji,
  18024. "nullFunc_iijii": nullFunc_iijii,
  18025. "nullFunc_iijiii": nullFunc_iijiii,
  18026. "nullFunc_iijji": nullFunc_iijji,
  18027. "nullFunc_iijjii": nullFunc_iijjii,
  18028. "nullFunc_iijjiii": nullFunc_iijjiii,
  18029. "nullFunc_iijjji": nullFunc_iijjji,
  18030. "nullFunc_ij": nullFunc_ij,
  18031. "nullFunc_iji": nullFunc_iji,
  18032. "nullFunc_ijiii": nullFunc_ijiii,
  18033. "nullFunc_ijj": nullFunc_ijj,
  18034. "nullFunc_ijji": nullFunc_ijji,
  18035. "nullFunc_j": nullFunc_j,
  18036. "nullFunc_jdi": nullFunc_jdi,
  18037. "nullFunc_jdii": nullFunc_jdii,
  18038. "nullFunc_jfi": nullFunc_jfi,
  18039. "nullFunc_ji": nullFunc_ji,
  18040. "nullFunc_jidi": nullFunc_jidi,
  18041. "nullFunc_jidii": nullFunc_jidii,
  18042. "nullFunc_jii": nullFunc_jii,
  18043. "nullFunc_jiii": nullFunc_jiii,
  18044. "nullFunc_jiiii": nullFunc_jiiii,
  18045. "nullFunc_jiiiii": nullFunc_jiiiii,
  18046. "nullFunc_jiiiiii": nullFunc_jiiiiii,
  18047. "nullFunc_jiiiiiiiiii": nullFunc_jiiiiiiiiii,
  18048. "nullFunc_jiiji": nullFunc_jiiji,
  18049. "nullFunc_jiji": nullFunc_jiji,
  18050. "nullFunc_jijii": nullFunc_jijii,
  18051. "nullFunc_jijiii": nullFunc_jijiii,
  18052. "nullFunc_jijj": nullFunc_jijj,
  18053. "nullFunc_jijji": nullFunc_jijji,
  18054. "nullFunc_jji": nullFunc_jji,
  18055. "nullFunc_v": nullFunc_v,
  18056. "nullFunc_vd": nullFunc_vd,
  18057. "nullFunc_vf": nullFunc_vf,
  18058. "nullFunc_vff": nullFunc_vff,
  18059. "nullFunc_vffff": nullFunc_vffff,
  18060. "nullFunc_vfi": nullFunc_vfi,
  18061. "nullFunc_vi": nullFunc_vi,
  18062. "nullFunc_vid": nullFunc_vid,
  18063. "nullFunc_vidi": nullFunc_vidi,
  18064. "nullFunc_vif": nullFunc_vif,
  18065. "nullFunc_viff": nullFunc_viff,
  18066. "nullFunc_vifff": nullFunc_vifff,
  18067. "nullFunc_viffff": nullFunc_viffff,
  18068. "nullFunc_viffffi": nullFunc_viffffi,
  18069. "nullFunc_viffffii": nullFunc_viffffii,
  18070. "nullFunc_viffffiifffiiiiif": nullFunc_viffffiifffiiiiif,
  18071. "nullFunc_viffffiii": nullFunc_viffffiii,
  18072. "nullFunc_vifffi": nullFunc_vifffi,
  18073. "nullFunc_vifffii": nullFunc_vifffii,
  18074. "nullFunc_viffi": nullFunc_viffi,
  18075. "nullFunc_viffii": nullFunc_viffii,
  18076. "nullFunc_viffiifffffiii": nullFunc_viffiifffffiii,
  18077. "nullFunc_viffiii": nullFunc_viffiii,
  18078. "nullFunc_viffiiiif": nullFunc_viffiiiif,
  18079. "nullFunc_vifi": nullFunc_vifi,
  18080. "nullFunc_vifii": nullFunc_vifii,
  18081. "nullFunc_vifiiii": nullFunc_vifiiii,
  18082. "nullFunc_vifijii": nullFunc_vifijii,
  18083. "nullFunc_vii": nullFunc_vii,
  18084. "nullFunc_viid": nullFunc_viid,
  18085. "nullFunc_viidi": nullFunc_viidi,
  18086. "nullFunc_viidii": nullFunc_viidii,
  18087. "nullFunc_viif": nullFunc_viif,
  18088. "nullFunc_viiff": nullFunc_viiff,
  18089. "nullFunc_viifff": nullFunc_viifff,
  18090. "nullFunc_viifffi": nullFunc_viifffi,
  18091. "nullFunc_viiffi": nullFunc_viiffi,
  18092. "nullFunc_viiffii": nullFunc_viiffii,
  18093. "nullFunc_viifi": nullFunc_viifi,
  18094. "nullFunc_viifii": nullFunc_viifii,
  18095. "nullFunc_viifiii": nullFunc_viifiii,
  18096. "nullFunc_viifiiii": nullFunc_viifiiii,
  18097. "nullFunc_viii": nullFunc_viii,
  18098. "nullFunc_viiidi": nullFunc_viiidi,
  18099. "nullFunc_viiifffi": nullFunc_viiifffi,
  18100. "nullFunc_viiiffi": nullFunc_viiiffi,
  18101. "nullFunc_viiiffii": nullFunc_viiiffii,
  18102. "nullFunc_viiifi": nullFunc_viiifi,
  18103. "nullFunc_viiifii": nullFunc_viiifii,
  18104. "nullFunc_viiifiii": nullFunc_viiifiii,
  18105. "nullFunc_viiifiiiii": nullFunc_viiifiiiii,
  18106. "nullFunc_viiii": nullFunc_viiii,
  18107. "nullFunc_viiiif": nullFunc_viiiif,
  18108. "nullFunc_viiiifii": nullFunc_viiiifii,
  18109. "nullFunc_viiiifiiiiif": nullFunc_viiiifiiiiif,
  18110. "nullFunc_viiiii": nullFunc_viiiii,
  18111. "nullFunc_viiiiif": nullFunc_viiiiif,
  18112. "nullFunc_viiiiiffi": nullFunc_viiiiiffi,
  18113. "nullFunc_viiiiiffii": nullFunc_viiiiiffii,
  18114. "nullFunc_viiiiifi": nullFunc_viiiiifi,
  18115. "nullFunc_viiiiii": nullFunc_viiiiii,
  18116. "nullFunc_viiiiiif": nullFunc_viiiiiif,
  18117. "nullFunc_viiiiiii": nullFunc_viiiiiii,
  18118. "nullFunc_viiiiiiifi": nullFunc_viiiiiiifi,
  18119. "nullFunc_viiiiiiii": nullFunc_viiiiiiii,
  18120. "nullFunc_viiiiiiiii": nullFunc_viiiiiiiii,
  18121. "nullFunc_viiiiiiiiii": nullFunc_viiiiiiiiii,
  18122. "nullFunc_viiiiiiiiiii": nullFunc_viiiiiiiiiii,
  18123. "nullFunc_viiiiiiiiiiifii": nullFunc_viiiiiiiiiiifii,
  18124. "nullFunc_viiiiiiiiiiii": nullFunc_viiiiiiiiiiii,
  18125. "nullFunc_viiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiii,
  18126. "nullFunc_viiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiii,
  18127. "nullFunc_viiiiiiiiiiiiiiiiii": nullFunc_viiiiiiiiiiiiiiiiii,
  18128. "nullFunc_viiiiiji": nullFunc_viiiiiji,
  18129. "nullFunc_viiiij": nullFunc_viiiij,
  18130. "nullFunc_viiiijiiii": nullFunc_viiiijiiii,
  18131. "nullFunc_viiiji": nullFunc_viiiji,
  18132. "nullFunc_viiijji": nullFunc_viiijji,
  18133. "nullFunc_viij": nullFunc_viij,
  18134. "nullFunc_viiji": nullFunc_viiji,
  18135. "nullFunc_viijii": nullFunc_viijii,
  18136. "nullFunc_viijiijiii": nullFunc_viijiijiii,
  18137. "nullFunc_viijijii": nullFunc_viijijii,
  18138. "nullFunc_viijijiii": nullFunc_viijijiii,
  18139. "nullFunc_viijijj": nullFunc_viijijj,
  18140. "nullFunc_viijj": nullFunc_viijj,
  18141. "nullFunc_viijji": nullFunc_viijji,
  18142. "nullFunc_viijjii": nullFunc_viijjii,
  18143. "nullFunc_viijjiii": nullFunc_viijjiii,
  18144. "nullFunc_viijjji": nullFunc_viijjji,
  18145. "nullFunc_vij": nullFunc_vij,
  18146. "nullFunc_viji": nullFunc_viji,
  18147. "nullFunc_vijii": nullFunc_vijii,
  18148. "nullFunc_vijiii": nullFunc_vijiii,
  18149. "nullFunc_vijiji": nullFunc_vijiji,
  18150. "nullFunc_vijijji": nullFunc_vijijji,
  18151. "nullFunc_vijji": nullFunc_vijji,
  18152. "nullFunc_vijjii": nullFunc_vijjii,
  18153. "nullFunc_vijjji": nullFunc_vijjji,
  18154. "nullFunc_vji": nullFunc_vji,
  18155. "nullFunc_vjiiii": nullFunc_vjiiii,
  18156. "nullFunc_vjji": nullFunc_vjji,
  18157. "invoke_dddi": invoke_dddi,
  18158. "invoke_ddi": invoke_ddi,
  18159. "invoke_dfi": invoke_dfi,
  18160. "invoke_di": invoke_di,
  18161. "invoke_diddi": invoke_diddi,
  18162. "invoke_didi": invoke_didi,
  18163. "invoke_dii": invoke_dii,
  18164. "invoke_diii": invoke_diii,
  18165. "invoke_diiii": invoke_diiii,
  18166. "invoke_dji": invoke_dji,
  18167. "invoke_f": invoke_f,
  18168. "invoke_fdi": invoke_fdi,
  18169. "invoke_ff": invoke_ff,
  18170. "invoke_fff": invoke_fff,
  18171. "invoke_ffffi": invoke_ffffi,
  18172. "invoke_fffi": invoke_fffi,
  18173. "invoke_fffifffi": invoke_fffifffi,
  18174. "invoke_ffi": invoke_ffi,
  18175. "invoke_fi": invoke_fi,
  18176. "invoke_fif": invoke_fif,
  18177. "invoke_fiff": invoke_fiff,
  18178. "invoke_fifffi": invoke_fifffi,
  18179. "invoke_fiffi": invoke_fiffi,
  18180. "invoke_fifi": invoke_fifi,
  18181. "invoke_fifii": invoke_fifii,
  18182. "invoke_fii": invoke_fii,
  18183. "invoke_fiif": invoke_fiif,
  18184. "invoke_fiifi": invoke_fiifi,
  18185. "invoke_fiifii": invoke_fiifii,
  18186. "invoke_fiii": invoke_fiii,
  18187. "invoke_fiiii": invoke_fiiii,
  18188. "invoke_fiiiiiifiifif": invoke_fiiiiiifiifif,
  18189. "invoke_fiiiiiifiiiif": invoke_fiiiiiifiiiif,
  18190. "invoke_fji": invoke_fji,
  18191. "invoke_i": invoke_i,
  18192. "invoke_idi": invoke_idi,
  18193. "invoke_idiii": invoke_idiii,
  18194. "invoke_ifffi": invoke_ifffi,
  18195. "invoke_iffi": invoke_iffi,
  18196. "invoke_ifi": invoke_ifi,
  18197. "invoke_ifiii": invoke_ifiii,
  18198. "invoke_ii": invoke_ii,
  18199. "invoke_iidi": invoke_iidi,
  18200. "invoke_iidii": invoke_iidii,
  18201. "invoke_iif": invoke_iif,
  18202. "invoke_iifff": invoke_iifff,
  18203. "invoke_iifffi": invoke_iifffi,
  18204. "invoke_iiffi": invoke_iiffi,
  18205. "invoke_iifi": invoke_iifi,
  18206. "invoke_iifii": invoke_iifii,
  18207. "invoke_iifiii": invoke_iifiii,
  18208. "invoke_iifiiiijii": invoke_iifiiiijii,
  18209. "invoke_iii": invoke_iii,
  18210. "invoke_iiif": invoke_iiif,
  18211. "invoke_iiiff": invoke_iiiff,
  18212. "invoke_iiifi": invoke_iiifi,
  18213. "invoke_iiifii": invoke_iiifii,
  18214. "invoke_iiifiii": invoke_iiifiii,
  18215. "invoke_iiifiiii": invoke_iiifiiii,
  18216. "invoke_iiii": invoke_iiii,
  18217. "invoke_iiiifffffi": invoke_iiiifffffi,
  18218. "invoke_iiiifffffii": invoke_iiiifffffii,
  18219. "invoke_iiiifffiii": invoke_iiiifffiii,
  18220. "invoke_iiiifi": invoke_iiiifi,
  18221. "invoke_iiiifii": invoke_iiiifii,
  18222. "invoke_iiiifiii": invoke_iiiifiii,
  18223. "invoke_iiiifiiii": invoke_iiiifiiii,
  18224. "invoke_iiiifiiiii": invoke_iiiifiiiii,
  18225. "invoke_iiiii": invoke_iiiii,
  18226. "invoke_iiiiifiii": invoke_iiiiifiii,
  18227. "invoke_iiiiifiiiiif": invoke_iiiiifiiiiif,
  18228. "invoke_iiiiii": invoke_iiiiii,
  18229. "invoke_iiiiiifff": invoke_iiiiiifff,
  18230. "invoke_iiiiiifffiiifiii": invoke_iiiiiifffiiifiii,
  18231. "invoke_iiiiiiffiiiiiiiiiffffiii": invoke_iiiiiiffiiiiiiiiiffffiii,
  18232. "invoke_iiiiiiffiiiiiiiiiffffiiii": invoke_iiiiiiffiiiiiiiiiffffiiii,
  18233. "invoke_iiiiiiffiiiiiiiiiiiiiii": invoke_iiiiiiffiiiiiiiiiiiiiii,
  18234. "invoke_iiiiiifiif": invoke_iiiiiifiif,
  18235. "invoke_iiiiiifiii": invoke_iiiiiifiii,
  18236. "invoke_iiiiiii": invoke_iiiiiii,
  18237. "invoke_iiiiiiifiif": invoke_iiiiiiifiif,
  18238. "invoke_iiiiiiii": invoke_iiiiiiii,
  18239. "invoke_iiiiiiiii": invoke_iiiiiiiii,
  18240. "invoke_iiiiiiiiii": invoke_iiiiiiiiii,
  18241. "invoke_iiiiiiiiiii": invoke_iiiiiiiiiii,
  18242. "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii,
  18243. "invoke_iiiiiiiiiiiii": invoke_iiiiiiiiiiiii,
  18244. "invoke_iiiiiiiiiiiiii": invoke_iiiiiiiiiiiiii,
  18245. "invoke_iiiiiji": invoke_iiiiiji,
  18246. "invoke_iiiij": invoke_iiiij,
  18247. "invoke_iiiiji": invoke_iiiiji,
  18248. "invoke_iiiijii": invoke_iiiijii,
  18249. "invoke_iiiijiii": invoke_iiiijiii,
  18250. "invoke_iiij": invoke_iiij,
  18251. "invoke_iiiji": invoke_iiiji,
  18252. "invoke_iiijii": invoke_iiijii,
  18253. "invoke_iiijiii": invoke_iiijiii,
  18254. "invoke_iiijji": invoke_iiijji,
  18255. "invoke_iiijjiiii": invoke_iiijjiiii,
  18256. "invoke_iij": invoke_iij,
  18257. "invoke_iiji": invoke_iiji,
  18258. "invoke_iijii": invoke_iijii,
  18259. "invoke_iijiii": invoke_iijiii,
  18260. "invoke_iijji": invoke_iijji,
  18261. "invoke_iijjii": invoke_iijjii,
  18262. "invoke_iijjiii": invoke_iijjiii,
  18263. "invoke_iijjji": invoke_iijjji,
  18264. "invoke_ij": invoke_ij,
  18265. "invoke_iji": invoke_iji,
  18266. "invoke_ijiii": invoke_ijiii,
  18267. "invoke_ijj": invoke_ijj,
  18268. "invoke_ijji": invoke_ijji,
  18269. "invoke_j": invoke_j,
  18270. "invoke_jdi": invoke_jdi,
  18271. "invoke_jdii": invoke_jdii,
  18272. "invoke_jfi": invoke_jfi,
  18273. "invoke_ji": invoke_ji,
  18274. "invoke_jidi": invoke_jidi,
  18275. "invoke_jidii": invoke_jidii,
  18276. "invoke_jii": invoke_jii,
  18277. "invoke_jiii": invoke_jiii,
  18278. "invoke_jiiii": invoke_jiiii,
  18279. "invoke_jiiiii": invoke_jiiiii,
  18280. "invoke_jiiiiii": invoke_jiiiiii,
  18281. "invoke_jiiiiiiiiii": invoke_jiiiiiiiiii,
  18282. "invoke_jiiji": invoke_jiiji,
  18283. "invoke_jiji": invoke_jiji,
  18284. "invoke_jijii": invoke_jijii,
  18285. "invoke_jijiii": invoke_jijiii,
  18286. "invoke_jijj": invoke_jijj,
  18287. "invoke_jijji": invoke_jijji,
  18288. "invoke_jji": invoke_jji,
  18289. "invoke_v": invoke_v,
  18290. "invoke_vd": invoke_vd,
  18291. "invoke_vf": invoke_vf,
  18292. "invoke_vff": invoke_vff,
  18293. "invoke_vffff": invoke_vffff,
  18294. "invoke_vfi": invoke_vfi,
  18295. "invoke_vi": invoke_vi,
  18296. "invoke_vid": invoke_vid,
  18297. "invoke_vidi": invoke_vidi,
  18298. "invoke_vif": invoke_vif,
  18299. "invoke_viff": invoke_viff,
  18300. "invoke_vifff": invoke_vifff,
  18301. "invoke_viffff": invoke_viffff,
  18302. "invoke_viffffi": invoke_viffffi,
  18303. "invoke_viffffii": invoke_viffffii,
  18304. "invoke_viffffiifffiiiiif": invoke_viffffiifffiiiiif,
  18305. "invoke_viffffiii": invoke_viffffiii,
  18306. "invoke_vifffi": invoke_vifffi,
  18307. "invoke_vifffii": invoke_vifffii,
  18308. "invoke_viffi": invoke_viffi,
  18309. "invoke_viffii": invoke_viffii,
  18310. "invoke_viffiifffffiii": invoke_viffiifffffiii,
  18311. "invoke_viffiii": invoke_viffiii,
  18312. "invoke_viffiiiif": invoke_viffiiiif,
  18313. "invoke_vifi": invoke_vifi,
  18314. "invoke_vifii": invoke_vifii,
  18315. "invoke_vifiiii": invoke_vifiiii,
  18316. "invoke_vifijii": invoke_vifijii,
  18317. "invoke_vii": invoke_vii,
  18318. "invoke_viid": invoke_viid,
  18319. "invoke_viidi": invoke_viidi,
  18320. "invoke_viidii": invoke_viidii,
  18321. "invoke_viif": invoke_viif,
  18322. "invoke_viiff": invoke_viiff,
  18323. "invoke_viifff": invoke_viifff,
  18324. "invoke_viifffi": invoke_viifffi,
  18325. "invoke_viiffi": invoke_viiffi,
  18326. "invoke_viiffii": invoke_viiffii,
  18327. "invoke_viifi": invoke_viifi,
  18328. "invoke_viifii": invoke_viifii,
  18329. "invoke_viifiii": invoke_viifiii,
  18330. "invoke_viifiiii": invoke_viifiiii,
  18331. "invoke_viii": invoke_viii,
  18332. "invoke_viiidi": invoke_viiidi,
  18333. "invoke_viiifffi": invoke_viiifffi,
  18334. "invoke_viiiffi": invoke_viiiffi,
  18335. "invoke_viiiffii": invoke_viiiffii,
  18336. "invoke_viiifi": invoke_viiifi,
  18337. "invoke_viiifii": invoke_viiifii,
  18338. "invoke_viiifiii": invoke_viiifiii,
  18339. "invoke_viiifiiiii": invoke_viiifiiiii,
  18340. "invoke_viiii": invoke_viiii,
  18341. "invoke_viiiif": invoke_viiiif,
  18342. "invoke_viiiifii": invoke_viiiifii,
  18343. "invoke_viiiifiiiiif": invoke_viiiifiiiiif,
  18344. "invoke_viiiii": invoke_viiiii,
  18345. "invoke_viiiiif": invoke_viiiiif,
  18346. "invoke_viiiiiffi": invoke_viiiiiffi,
  18347. "invoke_viiiiiffii": invoke_viiiiiffii,
  18348. "invoke_viiiiifi": invoke_viiiiifi,
  18349. "invoke_viiiiii": invoke_viiiiii,
  18350. "invoke_viiiiiif": invoke_viiiiiif,
  18351. "invoke_viiiiiii": invoke_viiiiiii,
  18352. "invoke_viiiiiiifi": invoke_viiiiiiifi,
  18353. "invoke_viiiiiiii": invoke_viiiiiiii,
  18354. "invoke_viiiiiiiii": invoke_viiiiiiiii,
  18355. "invoke_viiiiiiiiii": invoke_viiiiiiiiii,
  18356. "invoke_viiiiiiiiiii": invoke_viiiiiiiiiii,
  18357. "invoke_viiiiiiiiiiifii": invoke_viiiiiiiiiiifii,
  18358. "invoke_viiiiiiiiiiii": invoke_viiiiiiiiiiii,
  18359. "invoke_viiiiiiiiiiiiii": invoke_viiiiiiiiiiiiii,
  18360. "invoke_viiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiii,
  18361. "invoke_viiiiiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiiiiii,
  18362. "invoke_viiiiiji": invoke_viiiiiji,
  18363. "invoke_viiiij": invoke_viiiij,
  18364. "invoke_viiiijiiii": invoke_viiiijiiii,
  18365. "invoke_viiiji": invoke_viiiji,
  18366. "invoke_viiijji": invoke_viiijji,
  18367. "invoke_viij": invoke_viij,
  18368. "invoke_viiji": invoke_viiji,
  18369. "invoke_viijii": invoke_viijii,
  18370. "invoke_viijiijiii": invoke_viijiijiii,
  18371. "invoke_viijijii": invoke_viijijii,
  18372. "invoke_viijijiii": invoke_viijijiii,
  18373. "invoke_viijijj": invoke_viijijj,
  18374. "invoke_viijj": invoke_viijj,
  18375. "invoke_viijji": invoke_viijji,
  18376. "invoke_viijjii": invoke_viijjii,
  18377. "invoke_viijjiii": invoke_viijjiii,
  18378. "invoke_viijjji": invoke_viijjji,
  18379. "invoke_vij": invoke_vij,
  18380. "invoke_viji": invoke_viji,
  18381. "invoke_vijii": invoke_vijii,
  18382. "invoke_vijiii": invoke_vijiii,
  18383. "invoke_vijiji": invoke_vijiji,
  18384. "invoke_vijijji": invoke_vijijji,
  18385. "invoke_vijji": invoke_vijji,
  18386. "invoke_vijjii": invoke_vijjii,
  18387. "invoke_vijjji": invoke_vijjji,
  18388. "invoke_vji": invoke_vji,
  18389. "invoke_vjiiii": invoke_vjiiii,
  18390. "invoke_vjji": invoke_vjji,
  18391. "_CreateIFrame": _CreateIFrame,
  18392. "_JS_Cursor_SetImage": _JS_Cursor_SetImage,
  18393. "_JS_Cursor_SetShow": _JS_Cursor_SetShow,
  18394. "_JS_Eval_ClearInterval": _JS_Eval_ClearInterval,
  18395. "_JS_Eval_SetInterval": _JS_Eval_SetInterval,
  18396. "_JS_FileSystem_Initialize": _JS_FileSystem_Initialize,
  18397. "_JS_FileSystem_Sync": _JS_FileSystem_Sync,
  18398. "_JS_Log_Dump": _JS_Log_Dump,
  18399. "_JS_Log_StackTrace": _JS_Log_StackTrace,
  18400. "_JS_Profiler_InjectJobs": _JS_Profiler_InjectJobs,
  18401. "_JS_Sound_Create_Channel": _JS_Sound_Create_Channel,
  18402. "_JS_Sound_GetLength": _JS_Sound_GetLength,
  18403. "_JS_Sound_GetLoadState": _JS_Sound_GetLoadState,
  18404. "_JS_Sound_Init": _JS_Sound_Init,
  18405. "_JS_Sound_Load": _JS_Sound_Load,
  18406. "_JS_Sound_Load_PCM": _JS_Sound_Load_PCM,
  18407. "_JS_Sound_Play": _JS_Sound_Play,
  18408. "_JS_Sound_ReleaseInstance": _JS_Sound_ReleaseInstance,
  18409. "_JS_Sound_ResumeIfNeeded": _JS_Sound_ResumeIfNeeded,
  18410. "_JS_Sound_Set3D": _JS_Sound_Set3D,
  18411. "_JS_Sound_SetListenerOrientation": _JS_Sound_SetListenerOrientation,
  18412. "_JS_Sound_SetListenerPosition": _JS_Sound_SetListenerPosition,
  18413. "_JS_Sound_SetLoop": _JS_Sound_SetLoop,
  18414. "_JS_Sound_SetLoopPoints": _JS_Sound_SetLoopPoints,
  18415. "_JS_Sound_SetPaused": _JS_Sound_SetPaused,
  18416. "_JS_Sound_SetPitch": _JS_Sound_SetPitch,
  18417. "_JS_Sound_SetPosition": _JS_Sound_SetPosition,
  18418. "_JS_Sound_SetVolume": _JS_Sound_SetVolume,
  18419. "_JS_Sound_Stop": _JS_Sound_Stop,
  18420. "_JS_SystemInfo_GetBrowserName": _JS_SystemInfo_GetBrowserName,
  18421. "_JS_SystemInfo_GetBrowserVersionString": _JS_SystemInfo_GetBrowserVersionString,
  18422. "_JS_SystemInfo_GetCanvasClientSize": _JS_SystemInfo_GetCanvasClientSize,
  18423. "_JS_SystemInfo_GetDocumentURL": _JS_SystemInfo_GetDocumentURL,
  18424. "_JS_SystemInfo_GetGPUInfo": _JS_SystemInfo_GetGPUInfo,
  18425. "_JS_SystemInfo_GetLanguage": _JS_SystemInfo_GetLanguage,
  18426. "_JS_SystemInfo_GetMatchWebGLToCanvasSize": _JS_SystemInfo_GetMatchWebGLToCanvasSize,
  18427. "_JS_SystemInfo_GetMemory": _JS_SystemInfo_GetMemory,
  18428. "_JS_SystemInfo_GetOS": _JS_SystemInfo_GetOS,
  18429. "_JS_SystemInfo_GetPreferredDevicePixelRatio": _JS_SystemInfo_GetPreferredDevicePixelRatio,
  18430. "_JS_SystemInfo_GetScreenSize": _JS_SystemInfo_GetScreenSize,
  18431. "_JS_SystemInfo_HasCursorLock": _JS_SystemInfo_HasCursorLock,
  18432. "_JS_SystemInfo_HasFullscreen": _JS_SystemInfo_HasFullscreen,
  18433. "_JS_SystemInfo_HasWebGL": _JS_SystemInfo_HasWebGL,
  18434. "_JS_WebRequest_Abort": _JS_WebRequest_Abort,
  18435. "_JS_WebRequest_Create": _JS_WebRequest_Create,
  18436. "_JS_WebRequest_GetResponseHeaders": _JS_WebRequest_GetResponseHeaders,
  18437. "_JS_WebRequest_Release": _JS_WebRequest_Release,
  18438. "_JS_WebRequest_Send": _JS_WebRequest_Send,
  18439. "_JS_WebRequest_SetProgressHandler": _JS_WebRequest_SetProgressHandler,
  18440. "_JS_WebRequest_SetRequestHeader": _JS_WebRequest_SetRequestHeader,
  18441. "_JS_WebRequest_SetResponseHandler": _JS_WebRequest_SetResponseHandler,
  18442. "_JS_WebRequest_SetTimeout": _JS_WebRequest_SetTimeout,
  18443. "__ZSt18uncaught_exceptionv": __ZSt18uncaught_exceptionv,
  18444. "___atomic_compare_exchange_8": ___atomic_compare_exchange_8,
  18445. "___atomic_fetch_add_8": ___atomic_fetch_add_8,
  18446. "___buildEnvironment": ___buildEnvironment,
  18447. "___cxa_allocate_exception": ___cxa_allocate_exception,
  18448. "___cxa_begin_catch": ___cxa_begin_catch,
  18449. "___cxa_end_catch": ___cxa_end_catch,
  18450. "___cxa_find_matching_catch": ___cxa_find_matching_catch,
  18451. "___cxa_find_matching_catch_2": ___cxa_find_matching_catch_2,
  18452. "___cxa_find_matching_catch_3": ___cxa_find_matching_catch_3,
  18453. "___cxa_find_matching_catch_4": ___cxa_find_matching_catch_4,
  18454. "___cxa_free_exception": ___cxa_free_exception,
  18455. "___cxa_pure_virtual": ___cxa_pure_virtual,
  18456. "___cxa_rethrow": ___cxa_rethrow,
  18457. "___cxa_throw": ___cxa_throw,
  18458. "___gxx_personality_v0": ___gxx_personality_v0,
  18459. "___lock": ___lock,
  18460. "___map_file": ___map_file,
  18461. "___resumeException": ___resumeException,
  18462. "___setErrNo": ___setErrNo,
  18463. "___syscall10": ___syscall10,
  18464. "___syscall102": ___syscall102,
  18465. "___syscall122": ___syscall122,
  18466. "___syscall140": ___syscall140,
  18467. "___syscall142": ___syscall142,
  18468. "___syscall145": ___syscall145,
  18469. "___syscall146": ___syscall146,
  18470. "___syscall15": ___syscall15,
  18471. "___syscall183": ___syscall183,
  18472. "___syscall192": ___syscall192,
  18473. "___syscall193": ___syscall193,
  18474. "___syscall195": ___syscall195,
  18475. "___syscall196": ___syscall196,
  18476. "___syscall197": ___syscall197,
  18477. "___syscall199": ___syscall199,
  18478. "___syscall202": ___syscall202,
  18479. "___syscall220": ___syscall220,
  18480. "___syscall221": ___syscall221,
  18481. "___syscall268": ___syscall268,
  18482. "___syscall3": ___syscall3,
  18483. "___syscall33": ___syscall33,
  18484. "___syscall38": ___syscall38,
  18485. "___syscall39": ___syscall39,
  18486. "___syscall4": ___syscall4,
  18487. "___syscall40": ___syscall40,
  18488. "___syscall5": ___syscall5,
  18489. "___syscall54": ___syscall54,
  18490. "___syscall6": ___syscall6,
  18491. "___syscall77": ___syscall77,
  18492. "___syscall85": ___syscall85,
  18493. "___syscall9": ___syscall9,
  18494. "___syscall91": ___syscall91,
  18495. "___unlock": ___unlock,
  18496. "__addDays": __addDays,
  18497. "__arraySum": __arraySum,
  18498. "__emscripten_do_request_fullscreen": __emscripten_do_request_fullscreen,
  18499. "__emscripten_sample_gamepad_data": __emscripten_sample_gamepad_data,
  18500. "__emscripten_traverse_stack": __emscripten_traverse_stack,
  18501. "__exit": __exit,
  18502. "__formatString": __formatString,
  18503. "__inet_ntop4_raw": __inet_ntop4_raw,
  18504. "__inet_ntop6_raw": __inet_ntop6_raw,
  18505. "__inet_pton4_raw": __inet_pton4_raw,
  18506. "__inet_pton6_raw": __inet_pton6_raw,
  18507. "__isLeapYear": __isLeapYear,
  18508. "__read_sockaddr": __read_sockaddr,
  18509. "__reallyNegative": __reallyNegative,
  18510. "__setLetterbox": __setLetterbox,
  18511. "__write_sockaddr": __write_sockaddr,
  18512. "_abort": _abort,
  18513. "_atexit": _atexit,
  18514. "_clock": _clock,
  18515. "_clock_getres": _clock_getres,
  18516. "_clock_gettime": _clock_gettime,
  18517. "_difftime": _difftime,
  18518. "_dlclose": _dlclose,
  18519. "_dlopen": _dlopen,
  18520. "_dlsym": _dlsym,
  18521. "_emscripten_asm_const_i": _emscripten_asm_const_i,
  18522. "_emscripten_asm_const_id": _emscripten_asm_const_id,
  18523. "_emscripten_asm_const_sync_on_main_thread_i": _emscripten_asm_const_sync_on_main_thread_i,
  18524. "_emscripten_cancel_main_loop": _emscripten_cancel_main_loop,
  18525. "_emscripten_exit_fullscreen": _emscripten_exit_fullscreen,
  18526. "_emscripten_exit_pointerlock": _emscripten_exit_pointerlock,
  18527. "_emscripten_get_callstack_js": _emscripten_get_callstack_js,
  18528. "_emscripten_get_canvas_element_size": _emscripten_get_canvas_element_size,
  18529. "_emscripten_get_canvas_element_size_calling_thread": _emscripten_get_canvas_element_size_calling_thread,
  18530. "_emscripten_get_canvas_element_size_main_thread": _emscripten_get_canvas_element_size_main_thread,
  18531. "_emscripten_get_fullscreen_status": _emscripten_get_fullscreen_status,
  18532. "_emscripten_get_gamepad_status": _emscripten_get_gamepad_status,
  18533. "_emscripten_get_main_loop_timing": _emscripten_get_main_loop_timing,
  18534. "_emscripten_get_now": _emscripten_get_now,
  18535. "_emscripten_get_now_is_monotonic": _emscripten_get_now_is_monotonic,
  18536. "_emscripten_get_now_res": _emscripten_get_now_res,
  18537. "_emscripten_get_num_gamepads": _emscripten_get_num_gamepads,
  18538. "_emscripten_has_threading_support": _emscripten_has_threading_support,
  18539. "_emscripten_html5_remove_all_event_listeners": _emscripten_html5_remove_all_event_listeners,
  18540. "_emscripten_is_webgl_context_lost": _emscripten_is_webgl_context_lost,
  18541. "_emscripten_log": _emscripten_log,
  18542. "_emscripten_log_js": _emscripten_log_js,
  18543. "_emscripten_memcpy_big": _emscripten_memcpy_big,
  18544. "_emscripten_num_logical_cores": _emscripten_num_logical_cores,
  18545. "_emscripten_request_fullscreen": _emscripten_request_fullscreen,
  18546. "_emscripten_request_pointerlock": _emscripten_request_pointerlock,
  18547. "_emscripten_set_blur_callback_on_thread": _emscripten_set_blur_callback_on_thread,
  18548. "_emscripten_set_canvas_element_size": _emscripten_set_canvas_element_size,
  18549. "_emscripten_set_dblclick_callback_on_thread": _emscripten_set_dblclick_callback_on_thread,
  18550. "_emscripten_set_devicemotion_callback_on_thread": _emscripten_set_devicemotion_callback_on_thread,
  18551. "_emscripten_set_deviceorientation_callback_on_thread": _emscripten_set_deviceorientation_callback_on_thread,
  18552. "_emscripten_set_focus_callback_on_thread": _emscripten_set_focus_callback_on_thread,
  18553. "_emscripten_set_fullscreenchange_callback_on_thread": _emscripten_set_fullscreenchange_callback_on_thread,
  18554. "_emscripten_set_gamepadconnected_callback_on_thread": _emscripten_set_gamepadconnected_callback_on_thread,
  18555. "_emscripten_set_gamepaddisconnected_callback_on_thread": _emscripten_set_gamepaddisconnected_callback_on_thread,
  18556. "_emscripten_set_keydown_callback_on_thread": _emscripten_set_keydown_callback_on_thread,
  18557. "_emscripten_set_keypress_callback_on_thread": _emscripten_set_keypress_callback_on_thread,
  18558. "_emscripten_set_keyup_callback_on_thread": _emscripten_set_keyup_callback_on_thread,
  18559. "_emscripten_set_main_loop": _emscripten_set_main_loop,
  18560. "_emscripten_set_main_loop_timing": _emscripten_set_main_loop_timing,
  18561. "_emscripten_set_mousedown_callback_on_thread": _emscripten_set_mousedown_callback_on_thread,
  18562. "_emscripten_set_mousemove_callback_on_thread": _emscripten_set_mousemove_callback_on_thread,
  18563. "_emscripten_set_mouseup_callback_on_thread": _emscripten_set_mouseup_callback_on_thread,
  18564. "_emscripten_set_touchcancel_callback_on_thread": _emscripten_set_touchcancel_callback_on_thread,
  18565. "_emscripten_set_touchend_callback_on_thread": _emscripten_set_touchend_callback_on_thread,
  18566. "_emscripten_set_touchmove_callback_on_thread": _emscripten_set_touchmove_callback_on_thread,
  18567. "_emscripten_set_touchstart_callback_on_thread": _emscripten_set_touchstart_callback_on_thread,
  18568. "_emscripten_set_wheel_callback_on_thread": _emscripten_set_wheel_callback_on_thread,
  18569. "_emscripten_webgl_create_context": _emscripten_webgl_create_context,
  18570. "_emscripten_webgl_destroy_context": _emscripten_webgl_destroy_context,
  18571. "_emscripten_webgl_destroy_context_calling_thread": _emscripten_webgl_destroy_context_calling_thread,
  18572. "_emscripten_webgl_do_create_context": _emscripten_webgl_do_create_context,
  18573. "_emscripten_webgl_do_get_current_context": _emscripten_webgl_do_get_current_context,
  18574. "_emscripten_webgl_enable_extension": _emscripten_webgl_enable_extension,
  18575. "_emscripten_webgl_enable_extension_calling_thread": _emscripten_webgl_enable_extension_calling_thread,
  18576. "_emscripten_webgl_get_current_context": _emscripten_webgl_get_current_context,
  18577. "_emscripten_webgl_init_context_attributes": _emscripten_webgl_init_context_attributes,
  18578. "_emscripten_webgl_make_context_current": _emscripten_webgl_make_context_current,
  18579. "_exit": _exit,
  18580. "_flock": _flock,
  18581. "_getenv": _getenv,
  18582. "_gethostbyaddr": _gethostbyaddr,
  18583. "_gethostbyname": _gethostbyname,
  18584. "_getpagesize": _getpagesize,
  18585. "_getpwuid": _getpwuid,
  18586. "_gettimeofday": _gettimeofday,
  18587. "_glActiveTexture": _glActiveTexture,
  18588. "_glAttachShader": _glAttachShader,
  18589. "_glBeginQuery": _glBeginQuery,
  18590. "_glBeginTransformFeedback": _glBeginTransformFeedback,
  18591. "_glBindAttribLocation": _glBindAttribLocation,
  18592. "_glBindBuffer": _glBindBuffer,
  18593. "_glBindBufferBase": _glBindBufferBase,
  18594. "_glBindBufferRange": _glBindBufferRange,
  18595. "_glBindFramebuffer": _glBindFramebuffer,
  18596. "_glBindRenderbuffer": _glBindRenderbuffer,
  18597. "_glBindSampler": _glBindSampler,
  18598. "_glBindTexture": _glBindTexture,
  18599. "_glBindTransformFeedback": _glBindTransformFeedback,
  18600. "_glBindVertexArray": _glBindVertexArray,
  18601. "_glBlendEquation": _glBlendEquation,
  18602. "_glBlendEquationSeparate": _glBlendEquationSeparate,
  18603. "_glBlendFuncSeparate": _glBlendFuncSeparate,
  18604. "_glBlitFramebuffer": _glBlitFramebuffer,
  18605. "_glBufferData": _glBufferData,
  18606. "_glBufferSubData": _glBufferSubData,
  18607. "_glCheckFramebufferStatus": _glCheckFramebufferStatus,
  18608. "_glClear": _glClear,
  18609. "_glClearBufferfi": _glClearBufferfi,
  18610. "_glClearBufferfv": _glClearBufferfv,
  18611. "_glClearBufferuiv": _glClearBufferuiv,
  18612. "_glClearColor": _glClearColor,
  18613. "_glClearDepthf": _glClearDepthf,
  18614. "_glClearStencil": _glClearStencil,
  18615. "_glClientWaitSync": _glClientWaitSync,
  18616. "_glColorMask": _glColorMask,
  18617. "_glCompileShader": _glCompileShader,
  18618. "_glCompressedTexImage2D": _glCompressedTexImage2D,
  18619. "_glCompressedTexImage3D": _glCompressedTexImage3D,
  18620. "_glCompressedTexSubImage2D": _glCompressedTexSubImage2D,
  18621. "_glCompressedTexSubImage3D": _glCompressedTexSubImage3D,
  18622. "_glCopyBufferSubData": _glCopyBufferSubData,
  18623. "_glCopyTexImage2D": _glCopyTexImage2D,
  18624. "_glCopyTexSubImage2D": _glCopyTexSubImage2D,
  18625. "_glCreateProgram": _glCreateProgram,
  18626. "_glCreateShader": _glCreateShader,
  18627. "_glCullFace": _glCullFace,
  18628. "_glDeleteBuffers": _glDeleteBuffers,
  18629. "_glDeleteFramebuffers": _glDeleteFramebuffers,
  18630. "_glDeleteProgram": _glDeleteProgram,
  18631. "_glDeleteQueries": _glDeleteQueries,
  18632. "_glDeleteRenderbuffers": _glDeleteRenderbuffers,
  18633. "_glDeleteSamplers": _glDeleteSamplers,
  18634. "_glDeleteShader": _glDeleteShader,
  18635. "_glDeleteSync": _glDeleteSync,
  18636. "_glDeleteTextures": _glDeleteTextures,
  18637. "_glDeleteTransformFeedbacks": _glDeleteTransformFeedbacks,
  18638. "_glDeleteVertexArrays": _glDeleteVertexArrays,
  18639. "_glDepthFunc": _glDepthFunc,
  18640. "_glDepthMask": _glDepthMask,
  18641. "_glDetachShader": _glDetachShader,
  18642. "_glDisable": _glDisable,
  18643. "_glDisableVertexAttribArray": _glDisableVertexAttribArray,
  18644. "_glDrawArrays": _glDrawArrays,
  18645. "_glDrawArraysInstanced": _glDrawArraysInstanced,
  18646. "_glDrawBuffers": _glDrawBuffers,
  18647. "_glDrawElements": _glDrawElements,
  18648. "_glDrawElementsInstanced": _glDrawElementsInstanced,
  18649. "_glEnable": _glEnable,
  18650. "_glEnableVertexAttribArray": _glEnableVertexAttribArray,
  18651. "_glEndQuery": _glEndQuery,
  18652. "_glEndTransformFeedback": _glEndTransformFeedback,
  18653. "_glFenceSync": _glFenceSync,
  18654. "_glFinish": _glFinish,
  18655. "_glFlush": _glFlush,
  18656. "_glFlushMappedBufferRange": _glFlushMappedBufferRange,
  18657. "_glFramebufferRenderbuffer": _glFramebufferRenderbuffer,
  18658. "_glFramebufferTexture2D": _glFramebufferTexture2D,
  18659. "_glFramebufferTextureLayer": _glFramebufferTextureLayer,
  18660. "_glFrontFace": _glFrontFace,
  18661. "_glGenBuffers": _glGenBuffers,
  18662. "_glGenFramebuffers": _glGenFramebuffers,
  18663. "_glGenQueries": _glGenQueries,
  18664. "_glGenRenderbuffers": _glGenRenderbuffers,
  18665. "_glGenSamplers": _glGenSamplers,
  18666. "_glGenTextures": _glGenTextures,
  18667. "_glGenTransformFeedbacks": _glGenTransformFeedbacks,
  18668. "_glGenVertexArrays": _glGenVertexArrays,
  18669. "_glGenerateMipmap": _glGenerateMipmap,
  18670. "_glGetActiveAttrib": _glGetActiveAttrib,
  18671. "_glGetActiveUniform": _glGetActiveUniform,
  18672. "_glGetActiveUniformBlockName": _glGetActiveUniformBlockName,
  18673. "_glGetActiveUniformBlockiv": _glGetActiveUniformBlockiv,
  18674. "_glGetActiveUniformsiv": _glGetActiveUniformsiv,
  18675. "_glGetAttribLocation": _glGetAttribLocation,
  18676. "_glGetError": _glGetError,
  18677. "_glGetFramebufferAttachmentParameteriv": _glGetFramebufferAttachmentParameteriv,
  18678. "_glGetIntegeri_v": _glGetIntegeri_v,
  18679. "_glGetIntegerv": _glGetIntegerv,
  18680. "_glGetInternalformativ": _glGetInternalformativ,
  18681. "_glGetProgramBinary": _glGetProgramBinary,
  18682. "_glGetProgramInfoLog": _glGetProgramInfoLog,
  18683. "_glGetProgramiv": _glGetProgramiv,
  18684. "_glGetQueryObjectuiv": _glGetQueryObjectuiv,
  18685. "_glGetQueryiv": _glGetQueryiv,
  18686. "_glGetRenderbufferParameteriv": _glGetRenderbufferParameteriv,
  18687. "_glGetShaderInfoLog": _glGetShaderInfoLog,
  18688. "_glGetShaderPrecisionFormat": _glGetShaderPrecisionFormat,
  18689. "_glGetShaderSource": _glGetShaderSource,
  18690. "_glGetShaderiv": _glGetShaderiv,
  18691. "_glGetString": _glGetString,
  18692. "_glGetStringi": _glGetStringi,
  18693. "_glGetTexParameteriv": _glGetTexParameteriv,
  18694. "_glGetUniformBlockIndex": _glGetUniformBlockIndex,
  18695. "_glGetUniformIndices": _glGetUniformIndices,
  18696. "_glGetUniformLocation": _glGetUniformLocation,
  18697. "_glGetUniformiv": _glGetUniformiv,
  18698. "_glGetVertexAttribiv": _glGetVertexAttribiv,
  18699. "_glInvalidateFramebuffer": _glInvalidateFramebuffer,
  18700. "_glIsEnabled": _glIsEnabled,
  18701. "_glIsVertexArray": _glIsVertexArray,
  18702. "_glLinkProgram": _glLinkProgram,
  18703. "_glMapBufferRange": _glMapBufferRange,
  18704. "_glPixelStorei": _glPixelStorei,
  18705. "_glPolygonOffset": _glPolygonOffset,
  18706. "_glProgramBinary": _glProgramBinary,
  18707. "_glProgramParameteri": _glProgramParameteri,
  18708. "_glReadBuffer": _glReadBuffer,
  18709. "_glReadPixels": _glReadPixels,
  18710. "_glRenderbufferStorage": _glRenderbufferStorage,
  18711. "_glRenderbufferStorageMultisample": _glRenderbufferStorageMultisample,
  18712. "_glSamplerParameteri": _glSamplerParameteri,
  18713. "_glScissor": _glScissor,
  18714. "_glShaderSource": _glShaderSource,
  18715. "_glStencilFuncSeparate": _glStencilFuncSeparate,
  18716. "_glStencilMask": _glStencilMask,
  18717. "_glStencilOpSeparate": _glStencilOpSeparate,
  18718. "_glTexImage2D": _glTexImage2D,
  18719. "_glTexImage3D": _glTexImage3D,
  18720. "_glTexParameterf": _glTexParameterf,
  18721. "_glTexParameteri": _glTexParameteri,
  18722. "_glTexParameteriv": _glTexParameteriv,
  18723. "_glTexStorage2D": _glTexStorage2D,
  18724. "_glTexStorage3D": _glTexStorage3D,
  18725. "_glTexSubImage2D": _glTexSubImage2D,
  18726. "_glTexSubImage3D": _glTexSubImage3D,
  18727. "_glTransformFeedbackVaryings": _glTransformFeedbackVaryings,
  18728. "_glUniform1fv": _glUniform1fv,
  18729. "_glUniform1i": _glUniform1i,
  18730. "_glUniform1iv": _glUniform1iv,
  18731. "_glUniform1uiv": _glUniform1uiv,
  18732. "_glUniform2fv": _glUniform2fv,
  18733. "_glUniform2iv": _glUniform2iv,
  18734. "_glUniform2uiv": _glUniform2uiv,
  18735. "_glUniform3fv": _glUniform3fv,
  18736. "_glUniform3iv": _glUniform3iv,
  18737. "_glUniform3uiv": _glUniform3uiv,
  18738. "_glUniform4fv": _glUniform4fv,
  18739. "_glUniform4iv": _glUniform4iv,
  18740. "_glUniform4uiv": _glUniform4uiv,
  18741. "_glUniformBlockBinding": _glUniformBlockBinding,
  18742. "_glUniformMatrix3fv": _glUniformMatrix3fv,
  18743. "_glUniformMatrix4fv": _glUniformMatrix4fv,
  18744. "_glUnmapBuffer": _glUnmapBuffer,
  18745. "_glUseProgram": _glUseProgram,
  18746. "_glValidateProgram": _glValidateProgram,
  18747. "_glVertexAttrib4f": _glVertexAttrib4f,
  18748. "_glVertexAttrib4fv": _glVertexAttrib4fv,
  18749. "_glVertexAttribIPointer": _glVertexAttribIPointer,
  18750. "_glVertexAttribPointer": _glVertexAttribPointer,
  18751. "_glViewport": _glViewport,
  18752. "_gmtime": _gmtime,
  18753. "_gmtime_r": _gmtime_r,
  18754. "_inet_addr": _inet_addr,
  18755. "_llvm_ceil_f32": _llvm_ceil_f32,
  18756. "_llvm_ceil_f64": _llvm_ceil_f64,
  18757. "_llvm_copysign_f64": _llvm_copysign_f64,
  18758. "_llvm_cttz_i32": _llvm_cttz_i32,
  18759. "_llvm_eh_typeid_for": _llvm_eh_typeid_for,
  18760. "_llvm_exp2_f32": _llvm_exp2_f32,
  18761. "_llvm_fabs_f32": _llvm_fabs_f32,
  18762. "_llvm_fabs_f64": _llvm_fabs_f64,
  18763. "_llvm_floor_f32": _llvm_floor_f32,
  18764. "_llvm_floor_f64": _llvm_floor_f64,
  18765. "_llvm_log10_f32": _llvm_log10_f32,
  18766. "_llvm_log2_f32": _llvm_log2_f32,
  18767. "_llvm_pow_f64": _llvm_pow_f64,
  18768. "_llvm_sqrt_f32": _llvm_sqrt_f32,
  18769. "_llvm_trap": _llvm_trap,
  18770. "_llvm_trunc_f32": _llvm_trunc_f32,
  18771. "_localtime": _localtime,
  18772. "_localtime_r": _localtime_r,
  18773. "_mktime": _mktime,
  18774. "_nanosleep": _nanosleep,
  18775. "_pthread_cond_destroy": _pthread_cond_destroy,
  18776. "_pthread_cond_init": _pthread_cond_init,
  18777. "_pthread_cond_timedwait": _pthread_cond_timedwait,
  18778. "_pthread_cond_wait": _pthread_cond_wait,
  18779. "_pthread_getspecific": _pthread_getspecific,
  18780. "_pthread_key_create": _pthread_key_create,
  18781. "_pthread_key_delete": _pthread_key_delete,
  18782. "_pthread_mutex_destroy": _pthread_mutex_destroy,
  18783. "_pthread_mutex_init": _pthread_mutex_init,
  18784. "_pthread_mutexattr_destroy": _pthread_mutexattr_destroy,
  18785. "_pthread_mutexattr_init": _pthread_mutexattr_init,
  18786. "_pthread_mutexattr_setprotocol": _pthread_mutexattr_setprotocol,
  18787. "_pthread_mutexattr_settype": _pthread_mutexattr_settype,
  18788. "_pthread_once": _pthread_once,
  18789. "_pthread_setspecific": _pthread_setspecific,
  18790. "_sched_yield": _sched_yield,
  18791. "_setenv": _setenv,
  18792. "_sigaction": _sigaction,
  18793. "_sigemptyset": _sigemptyset,
  18794. "_strftime": _strftime,
  18795. "_sysconf": _sysconf,
  18796. "_time": _time,
  18797. "_tzset": _tzset,
  18798. "_unsetenv": _unsetenv,
  18799. "_usleep": _usleep,
  18800. "_utime": _utime,
  18801. "emscriptenWebGLComputeImageSize": emscriptenWebGLComputeImageSize,
  18802. "emscriptenWebGLGet": emscriptenWebGLGet,
  18803. "emscriptenWebGLGetBufferBinding": emscriptenWebGLGetBufferBinding,
  18804. "emscriptenWebGLGetHeapForType": emscriptenWebGLGetHeapForType,
  18805. "emscriptenWebGLGetIndexed": emscriptenWebGLGetIndexed,
  18806. "emscriptenWebGLGetShiftForType": emscriptenWebGLGetShiftForType,
  18807. "emscriptenWebGLGetTexPixelData": emscriptenWebGLGetTexPixelData,
  18808. "emscriptenWebGLGetUniform": emscriptenWebGLGetUniform,
  18809. "emscriptenWebGLGetVertexAttrib": emscriptenWebGLGetVertexAttrib,
  18810. "emscriptenWebGLValidateMapBufferTarget": emscriptenWebGLValidateMapBufferTarget,
  18811. "emscripten_get_canvas_element_size_js": emscripten_get_canvas_element_size_js,
  18812. "emscripten_set_canvas_element_size_js": emscripten_set_canvas_element_size_js,
  18813. "DYNAMICTOP_PTR": DYNAMICTOP_PTR,
  18814. "tempDoublePtr": tempDoublePtr,
  18815. "ABORT": ABORT,
  18816. "STACKTOP": STACKTOP,
  18817. "STACK_MAX": STACK_MAX
  18818. };
  18819. var asm = Module["asm"](Module.asmGlobalArg, Module.asmLibraryArg, buffer);
  18820. var real__InjectProfilerSample = asm["_InjectProfilerSample"];
  18821. asm["_InjectProfilerSample"] = (function() {
  18822. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18823. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18824. return real__InjectProfilerSample.apply(null, arguments);
  18825. });
  18826. var real__SendMessage = asm["_SendMessage"];
  18827. asm["_SendMessage"] = (function() {
  18828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18830. return real__SendMessage.apply(null, arguments);
  18831. });
  18832. var real__SendMessageFloat = asm["_SendMessageFloat"];
  18833. asm["_SendMessageFloat"] = (function() {
  18834. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18835. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18836. return real__SendMessageFloat.apply(null, arguments);
  18837. });
  18838. var real__SendMessageString = asm["_SendMessageString"];
  18839. asm["_SendMessageString"] = (function() {
  18840. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18841. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18842. return real__SendMessageString.apply(null, arguments);
  18843. });
  18844. var real__SetFullscreen = asm["_SetFullscreen"];
  18845. asm["_SetFullscreen"] = (function() {
  18846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18848. return real__SetFullscreen.apply(null, arguments);
  18849. });
  18850. var real___GLOBAL__sub_I_AIBindings_gen_cpp = asm["__GLOBAL__sub_I_AIBindings_gen_cpp"];
  18851. asm["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  18852. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18853. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18854. return real___GLOBAL__sub_I_AIBindings_gen_cpp.apply(null, arguments);
  18855. });
  18856. var real___GLOBAL__sub_I_AIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"];
  18857. asm["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (function() {
  18858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18860. return real___GLOBAL__sub_I_AIScriptingClasses_cpp.apply(null, arguments);
  18861. });
  18862. var real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"];
  18863. asm["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (function() {
  18864. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18865. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18866. return real___GLOBAL__sub_I_AccessibilityScriptingClasses_cpp.apply(null, arguments);
  18867. });
  18868. var real___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"];
  18869. asm["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (function() {
  18870. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18871. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18872. return real___GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp.apply(null, arguments);
  18873. });
  18874. var real___GLOBAL__sub_I_AnimationBindings_gen_cpp = asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"];
  18875. asm["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (function() {
  18876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18878. return real___GLOBAL__sub_I_AnimationBindings_gen_cpp.apply(null, arguments);
  18879. });
  18880. var real___GLOBAL__sub_I_AnimationClip_cpp = asm["__GLOBAL__sub_I_AnimationClip_cpp"];
  18881. asm["__GLOBAL__sub_I_AnimationClip_cpp"] = (function() {
  18882. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18883. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18884. return real___GLOBAL__sub_I_AnimationClip_cpp.apply(null, arguments);
  18885. });
  18886. var real___GLOBAL__sub_I_AnimationScriptingClasses_cpp = asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"];
  18887. asm["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"] = (function() {
  18888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18890. return real___GLOBAL__sub_I_AnimationScriptingClasses_cpp.apply(null, arguments);
  18891. });
  18892. var real___GLOBAL__sub_I_AssetBundleFileSystem_cpp = asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"];
  18893. asm["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"] = (function() {
  18894. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18895. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18896. return real___GLOBAL__sub_I_AssetBundleFileSystem_cpp.apply(null, arguments);
  18897. });
  18898. var real___GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"];
  18899. asm["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"] = (function() {
  18900. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18901. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18902. return real___GLOBAL__sub_I_AssetBundleScriptingClasses_cpp.apply(null, arguments);
  18903. });
  18904. var real___GLOBAL__sub_I_AudioScriptingClasses_cpp = asm["__GLOBAL__sub_I_AudioScriptingClasses_cpp"];
  18905. asm["__GLOBAL__sub_I_AudioScriptingClasses_cpp"] = (function() {
  18906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18908. return real___GLOBAL__sub_I_AudioScriptingClasses_cpp.apply(null, arguments);
  18909. });
  18910. var real___GLOBAL__sub_I_ClothScriptingClasses_cpp = asm["__GLOBAL__sub_I_ClothScriptingClasses_cpp"];
  18911. asm["__GLOBAL__sub_I_ClothScriptingClasses_cpp"] = (function() {
  18912. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18913. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18914. return real___GLOBAL__sub_I_ClothScriptingClasses_cpp.apply(null, arguments);
  18915. });
  18916. var real___GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp = asm["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"];
  18917. asm["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"] = (function() {
  18918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18920. return real___GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp.apply(null, arguments);
  18921. });
  18922. var real___GLOBAL__sub_I_ConstraintJob_cpp = asm["__GLOBAL__sub_I_ConstraintJob_cpp"];
  18923. asm["__GLOBAL__sub_I_ConstraintJob_cpp"] = (function() {
  18924. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18925. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18926. return real___GLOBAL__sub_I_ConstraintJob_cpp.apply(null, arguments);
  18927. });
  18928. var real___GLOBAL__sub_I_CoreBindings_gen_cpp = asm["__GLOBAL__sub_I_CoreBindings_gen_cpp"];
  18929. asm["__GLOBAL__sub_I_CoreBindings_gen_cpp"] = (function() {
  18930. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18931. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18932. return real___GLOBAL__sub_I_CoreBindings_gen_cpp.apply(null, arguments);
  18933. });
  18934. var real___GLOBAL__sub_I_DSPGraphBindings_gen_cpp = asm["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"];
  18935. asm["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"] = (function() {
  18936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18938. return real___GLOBAL__sub_I_DSPGraphBindings_gen_cpp.apply(null, arguments);
  18939. });
  18940. var real___GLOBAL__sub_I_DirectorScriptingClasses_cpp = asm["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"];
  18941. asm["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"] = (function() {
  18942. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18943. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18944. return real___GLOBAL__sub_I_DirectorScriptingClasses_cpp.apply(null, arguments);
  18945. });
  18946. var real___GLOBAL__sub_I_ExternalForcesModule_cpp = asm["__GLOBAL__sub_I_ExternalForcesModule_cpp"];
  18947. asm["__GLOBAL__sub_I_ExternalForcesModule_cpp"] = (function() {
  18948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18950. return real___GLOBAL__sub_I_ExternalForcesModule_cpp.apply(null, arguments);
  18951. });
  18952. var real___GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"];
  18953. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"] = (function() {
  18954. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18955. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18956. return real___GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp.apply(null, arguments);
  18957. });
  18958. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"];
  18959. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"] = (function() {
  18960. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18961. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18962. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp.apply(null, arguments);
  18963. });
  18964. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"];
  18965. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"] = (function() {
  18966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18968. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp.apply(null, arguments);
  18969. });
  18970. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"];
  18971. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"] = (function() {
  18972. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18973. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18974. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp.apply(null, arguments);
  18975. });
  18976. var real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"];
  18977. asm["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"] = (function() {
  18978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18980. return real___GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp.apply(null, arguments);
  18981. });
  18982. var real___GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"];
  18983. asm["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"] = (function() {
  18984. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18985. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18986. return real___GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp.apply(null, arguments);
  18987. });
  18988. var real___GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"];
  18989. asm["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"] = (function() {
  18990. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18991. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18992. return real___GLOBAL__sub_I_External_Yoga_Yoga_0_cpp.apply(null, arguments);
  18993. });
  18994. 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"];
  18995. asm["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"] = (function() {
  18996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  18997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  18998. return real___GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp.apply(null, arguments);
  18999. });
  19000. var real___GLOBAL__sub_I_GUITexture_cpp = asm["__GLOBAL__sub_I_GUITexture_cpp"];
  19001. asm["__GLOBAL__sub_I_GUITexture_cpp"] = (function() {
  19002. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19003. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19004. return real___GLOBAL__sub_I_GUITexture_cpp.apply(null, arguments);
  19005. });
  19006. var real___GLOBAL__sub_I_GfxDeviceNull_cpp = asm["__GLOBAL__sub_I_GfxDeviceNull_cpp"];
  19007. asm["__GLOBAL__sub_I_GfxDeviceNull_cpp"] = (function() {
  19008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19010. return real___GLOBAL__sub_I_GfxDeviceNull_cpp.apply(null, arguments);
  19011. });
  19012. var real___GLOBAL__sub_I_GridScriptingClasses_cpp = asm["__GLOBAL__sub_I_GridScriptingClasses_cpp"];
  19013. asm["__GLOBAL__sub_I_GridScriptingClasses_cpp"] = (function() {
  19014. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19015. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19016. return real___GLOBAL__sub_I_GridScriptingClasses_cpp.apply(null, arguments);
  19017. });
  19018. var real___GLOBAL__sub_I_IMGUIScriptingClasses_cpp = asm["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"];
  19019. asm["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"] = (function() {
  19020. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19021. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19022. return real___GLOBAL__sub_I_IMGUIScriptingClasses_cpp.apply(null, arguments);
  19023. });
  19024. var real___GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"];
  19025. asm["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"] = (function() {
  19026. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19027. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19028. return real___GLOBAL__sub_I_InputLegacyModuleRegistration_cpp.apply(null, arguments);
  19029. });
  19030. var real___GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"];
  19031. asm["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"] = (function() {
  19032. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19033. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19034. return real___GLOBAL__sub_I_InputLegacyScriptingClasses_cpp.apply(null, arguments);
  19035. });
  19036. var real___GLOBAL__sub_I_InputScriptingClasses_cpp = asm["__GLOBAL__sub_I_InputScriptingClasses_cpp"];
  19037. asm["__GLOBAL__sub_I_InputScriptingClasses_cpp"] = (function() {
  19038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19040. return real___GLOBAL__sub_I_InputScriptingClasses_cpp.apply(null, arguments);
  19041. });
  19042. var real___GLOBAL__sub_I_LineRenderer_cpp = asm["__GLOBAL__sub_I_LineRenderer_cpp"];
  19043. asm["__GLOBAL__sub_I_LineRenderer_cpp"] = (function() {
  19044. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19045. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19046. return real___GLOBAL__sub_I_LineRenderer_cpp.apply(null, arguments);
  19047. });
  19048. var real___GLOBAL__sub_I_LogAssert_cpp = asm["__GLOBAL__sub_I_LogAssert_cpp"];
  19049. asm["__GLOBAL__sub_I_LogAssert_cpp"] = (function() {
  19050. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19051. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19052. return real___GLOBAL__sub_I_LogAssert_cpp.apply(null, arguments);
  19053. });
  19054. var real___GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"];
  19055. asm["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"] = (function() {
  19056. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19057. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19058. return real___GLOBAL__sub_I_Lump_libil2cpp_gc_cpp.apply(null, arguments);
  19059. });
  19060. var real___GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"];
  19061. asm["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"] = (function() {
  19062. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19063. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19064. return real___GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp.apply(null, arguments);
  19065. });
  19066. var real___GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"];
  19067. asm["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"] = (function() {
  19068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19070. return real___GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp.apply(null, arguments);
  19071. });
  19072. var real___GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"];
  19073. asm["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"] = (function() {
  19074. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19075. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19076. return real___GLOBAL__sub_I_Lump_libil2cpp_mono_cpp.apply(null, arguments);
  19077. });
  19078. var real___GLOBAL__sub_I_Lump_libil2cpp_os_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"];
  19079. asm["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"] = (function() {
  19080. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19081. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19082. return real___GLOBAL__sub_I_Lump_libil2cpp_os_cpp.apply(null, arguments);
  19083. });
  19084. var real___GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"];
  19085. asm["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"] = (function() {
  19086. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19087. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19088. return real___GLOBAL__sub_I_Lump_libil2cpp_utils_cpp.apply(null, arguments);
  19089. });
  19090. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"];
  19091. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"] = (function() {
  19092. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19093. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19094. return real___GLOBAL__sub_I_Lump_libil2cpp_vm_cpp.apply(null, arguments);
  19095. });
  19096. var real___GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"];
  19097. asm["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"] = (function() {
  19098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19100. return real___GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp.apply(null, arguments);
  19101. });
  19102. var real___GLOBAL__sub_I_Mesh_cpp = asm["__GLOBAL__sub_I_Mesh_cpp"];
  19103. asm["__GLOBAL__sub_I_Mesh_cpp"] = (function() {
  19104. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19105. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19106. return real___GLOBAL__sub_I_Mesh_cpp.apply(null, arguments);
  19107. });
  19108. var real___GLOBAL__sub_I_Modules_AI_1_cpp = asm["__GLOBAL__sub_I_Modules_AI_1_cpp"];
  19109. asm["__GLOBAL__sub_I_Modules_AI_1_cpp"] = (function() {
  19110. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19111. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19112. return real___GLOBAL__sub_I_Modules_AI_1_cpp.apply(null, arguments);
  19113. });
  19114. var real___GLOBAL__sub_I_Modules_AI_Builder_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"];
  19115. asm["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"] = (function() {
  19116. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19117. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19118. return real___GLOBAL__sub_I_Modules_AI_Builder_0_cpp.apply(null, arguments);
  19119. });
  19120. var real___GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"];
  19121. asm["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"] = (function() {
  19122. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19123. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19124. return real___GLOBAL__sub_I_Modules_AI_Crowd_0_cpp.apply(null, arguments);
  19125. });
  19126. var real___GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"];
  19127. asm["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"] = (function() {
  19128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19130. return real___GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp.apply(null, arguments);
  19131. });
  19132. var real___GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"];
  19133. asm["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"] = (function() {
  19134. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19135. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19136. return real___GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp.apply(null, arguments);
  19137. });
  19138. var real___GLOBAL__sub_I_Modules_Animation_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_0_cpp"];
  19139. asm["__GLOBAL__sub_I_Modules_Animation_0_cpp"] = (function() {
  19140. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19141. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19142. return real___GLOBAL__sub_I_Modules_Animation_0_cpp.apply(null, arguments);
  19143. });
  19144. var real___GLOBAL__sub_I_Modules_Animation_2_cpp = asm["__GLOBAL__sub_I_Modules_Animation_2_cpp"];
  19145. asm["__GLOBAL__sub_I_Modules_Animation_2_cpp"] = (function() {
  19146. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19147. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19148. return real___GLOBAL__sub_I_Modules_Animation_2_cpp.apply(null, arguments);
  19149. });
  19150. var real___GLOBAL__sub_I_Modules_Animation_3_cpp = asm["__GLOBAL__sub_I_Modules_Animation_3_cpp"];
  19151. asm["__GLOBAL__sub_I_Modules_Animation_3_cpp"] = (function() {
  19152. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19153. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19154. return real___GLOBAL__sub_I_Modules_Animation_3_cpp.apply(null, arguments);
  19155. });
  19156. var real___GLOBAL__sub_I_Modules_Animation_4_cpp = asm["__GLOBAL__sub_I_Modules_Animation_4_cpp"];
  19157. asm["__GLOBAL__sub_I_Modules_Animation_4_cpp"] = (function() {
  19158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19160. return real___GLOBAL__sub_I_Modules_Animation_4_cpp.apply(null, arguments);
  19161. });
  19162. var real___GLOBAL__sub_I_Modules_Animation_5_cpp = asm["__GLOBAL__sub_I_Modules_Animation_5_cpp"];
  19163. asm["__GLOBAL__sub_I_Modules_Animation_5_cpp"] = (function() {
  19164. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19165. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19166. return real___GLOBAL__sub_I_Modules_Animation_5_cpp.apply(null, arguments);
  19167. });
  19168. var real___GLOBAL__sub_I_Modules_Animation_6_cpp = asm["__GLOBAL__sub_I_Modules_Animation_6_cpp"];
  19169. asm["__GLOBAL__sub_I_Modules_Animation_6_cpp"] = (function() {
  19170. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19171. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19172. return real___GLOBAL__sub_I_Modules_Animation_6_cpp.apply(null, arguments);
  19173. });
  19174. var real___GLOBAL__sub_I_Modules_Animation_7_cpp = asm["__GLOBAL__sub_I_Modules_Animation_7_cpp"];
  19175. asm["__GLOBAL__sub_I_Modules_Animation_7_cpp"] = (function() {
  19176. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19177. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19178. return real___GLOBAL__sub_I_Modules_Animation_7_cpp.apply(null, arguments);
  19179. });
  19180. var real___GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"];
  19181. asm["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"] = (function() {
  19182. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19183. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19184. return real___GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp.apply(null, arguments);
  19185. });
  19186. var real___GLOBAL__sub_I_Modules_Animation_Director_0_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"];
  19187. asm["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"] = (function() {
  19188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19190. return real___GLOBAL__sub_I_Modules_Animation_Director_0_cpp.apply(null, arguments);
  19191. });
  19192. var real___GLOBAL__sub_I_Modules_Animation_Director_1_cpp = asm["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"];
  19193. asm["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"] = (function() {
  19194. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19195. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19196. return real___GLOBAL__sub_I_Modules_Animation_Director_1_cpp.apply(null, arguments);
  19197. });
  19198. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"];
  19199. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"] = (function() {
  19200. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19201. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19202. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp.apply(null, arguments);
  19203. });
  19204. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"];
  19205. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"] = (function() {
  19206. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19207. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19208. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp.apply(null, arguments);
  19209. });
  19210. var real___GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"];
  19211. asm["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"] = (function() {
  19212. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19213. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19214. return real___GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp.apply(null, arguments);
  19215. });
  19216. var real___GLOBAL__sub_I_Modules_Audio_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"];
  19217. asm["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"] = (function() {
  19218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19220. return real___GLOBAL__sub_I_Modules_Audio_Public_0_cpp.apply(null, arguments);
  19221. });
  19222. var real___GLOBAL__sub_I_Modules_Audio_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"];
  19223. asm["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"] = (function() {
  19224. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19225. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19226. return real___GLOBAL__sub_I_Modules_Audio_Public_1_cpp.apply(null, arguments);
  19227. });
  19228. var real___GLOBAL__sub_I_Modules_Audio_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"];
  19229. asm["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"] = (function() {
  19230. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19231. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19232. return real___GLOBAL__sub_I_Modules_Audio_Public_3_cpp.apply(null, arguments);
  19233. });
  19234. var real___GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"];
  19235. asm["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"] = (function() {
  19236. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19237. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19238. return real___GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp.apply(null, arguments);
  19239. });
  19240. var real___GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"];
  19241. asm["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"] = (function() {
  19242. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19243. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19244. return real___GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp.apply(null, arguments);
  19245. });
  19246. var real___GLOBAL__sub_I_Modules_Cloth_0_cpp = asm["__GLOBAL__sub_I_Modules_Cloth_0_cpp"];
  19247. asm["__GLOBAL__sub_I_Modules_Cloth_0_cpp"] = (function() {
  19248. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19249. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19250. return real___GLOBAL__sub_I_Modules_Cloth_0_cpp.apply(null, arguments);
  19251. });
  19252. var real___GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"];
  19253. asm["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"] = (function() {
  19254. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19255. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19256. return real___GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp.apply(null, arguments);
  19257. });
  19258. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"];
  19259. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"] = (function() {
  19260. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19261. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19262. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp.apply(null, arguments);
  19263. });
  19264. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"];
  19265. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"] = (function() {
  19266. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19267. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19268. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp.apply(null, arguments);
  19269. });
  19270. var real___GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"];
  19271. asm["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"] = (function() {
  19272. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19273. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19274. return real___GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp.apply(null, arguments);
  19275. });
  19276. var real___GLOBAL__sub_I_Modules_Grid_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"];
  19277. asm["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"] = (function() {
  19278. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19279. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19280. return real___GLOBAL__sub_I_Modules_Grid_Public_0_cpp.apply(null, arguments);
  19281. });
  19282. var real___GLOBAL__sub_I_Modules_IMGUI_0_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"];
  19283. asm["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"] = (function() {
  19284. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19285. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19286. return real___GLOBAL__sub_I_Modules_IMGUI_0_cpp.apply(null, arguments);
  19287. });
  19288. var real___GLOBAL__sub_I_Modules_IMGUI_1_cpp = asm["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"];
  19289. asm["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"] = (function() {
  19290. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19291. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19292. return real___GLOBAL__sub_I_Modules_IMGUI_1_cpp.apply(null, arguments);
  19293. });
  19294. var real___GLOBAL__sub_I_Modules_Input_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"];
  19295. asm["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"] = (function() {
  19296. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19297. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19298. return real___GLOBAL__sub_I_Modules_Input_Private_0_cpp.apply(null, arguments);
  19299. });
  19300. var real___GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"];
  19301. asm["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"] = (function() {
  19302. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19303. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19304. return real___GLOBAL__sub_I_Modules_ParticleSystem_0_cpp.apply(null, arguments);
  19305. });
  19306. var real___GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"];
  19307. asm["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"] = (function() {
  19308. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19309. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19310. return real___GLOBAL__sub_I_Modules_ParticleSystem_1_cpp.apply(null, arguments);
  19311. });
  19312. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"];
  19313. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"] = (function() {
  19314. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19315. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19316. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp.apply(null, arguments);
  19317. });
  19318. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"];
  19319. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"] = (function() {
  19320. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19321. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19322. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp.apply(null, arguments);
  19323. });
  19324. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"];
  19325. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"] = (function() {
  19326. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19327. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19328. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp.apply(null, arguments);
  19329. });
  19330. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"];
  19331. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"] = (function() {
  19332. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19333. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19334. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp.apply(null, arguments);
  19335. });
  19336. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"];
  19337. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"] = (function() {
  19338. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19339. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19340. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp.apply(null, arguments);
  19341. });
  19342. var real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"];
  19343. asm["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"] = (function() {
  19344. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19345. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19346. return real___GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp.apply(null, arguments);
  19347. });
  19348. var real___GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = asm["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"];
  19349. asm["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"] = (function() {
  19350. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19351. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19352. return real___GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp.apply(null, arguments);
  19353. });
  19354. var real___GLOBAL__sub_I_Modules_Physics2D_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"];
  19355. asm["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"] = (function() {
  19356. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19357. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19358. return real___GLOBAL__sub_I_Modules_Physics2D_0_cpp.apply(null, arguments);
  19359. });
  19360. var real___GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"];
  19361. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"] = (function() {
  19362. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19363. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19364. return real___GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp.apply(null, arguments);
  19365. });
  19366. var real___GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"];
  19367. asm["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"] = (function() {
  19368. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19369. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19370. return real___GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp.apply(null, arguments);
  19371. });
  19372. var real___GLOBAL__sub_I_Modules_Physics_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_0_cpp"];
  19373. asm["__GLOBAL__sub_I_Modules_Physics_0_cpp"] = (function() {
  19374. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19375. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19376. return real___GLOBAL__sub_I_Modules_Physics_0_cpp.apply(null, arguments);
  19377. });
  19378. var real___GLOBAL__sub_I_Modules_Physics_2_cpp = asm["__GLOBAL__sub_I_Modules_Physics_2_cpp"];
  19379. asm["__GLOBAL__sub_I_Modules_Physics_2_cpp"] = (function() {
  19380. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19381. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19382. return real___GLOBAL__sub_I_Modules_Physics_2_cpp.apply(null, arguments);
  19383. });
  19384. var real___GLOBAL__sub_I_Modules_Physics_3_cpp = asm["__GLOBAL__sub_I_Modules_Physics_3_cpp"];
  19385. asm["__GLOBAL__sub_I_Modules_Physics_3_cpp"] = (function() {
  19386. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19387. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19388. return real___GLOBAL__sub_I_Modules_Physics_3_cpp.apply(null, arguments);
  19389. });
  19390. var real___GLOBAL__sub_I_Modules_Physics_4_cpp = asm["__GLOBAL__sub_I_Modules_Physics_4_cpp"];
  19391. asm["__GLOBAL__sub_I_Modules_Physics_4_cpp"] = (function() {
  19392. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19393. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19394. return real___GLOBAL__sub_I_Modules_Physics_4_cpp.apply(null, arguments);
  19395. });
  19396. var real___GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"];
  19397. asm["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"] = (function() {
  19398. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19399. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19400. return real___GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp.apply(null, arguments);
  19401. });
  19402. var real___GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"];
  19403. asm["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"] = (function() {
  19404. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19405. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19406. return real___GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp.apply(null, arguments);
  19407. });
  19408. var real___GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"];
  19409. asm["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"] = (function() {
  19410. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19411. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19412. return real___GLOBAL__sub_I_Modules_Profiler_Public_0_cpp.apply(null, arguments);
  19413. });
  19414. var real___GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"];
  19415. asm["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"] = (function() {
  19416. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19417. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19418. return real___GLOBAL__sub_I_Modules_Profiler_Public_1_cpp.apply(null, arguments);
  19419. });
  19420. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"];
  19421. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"] = (function() {
  19422. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19423. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19424. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp.apply(null, arguments);
  19425. });
  19426. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"];
  19427. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"] = (function() {
  19428. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19429. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19430. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp.apply(null, arguments);
  19431. });
  19432. var real___GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"];
  19433. asm["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"] = (function() {
  19434. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19435. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19436. return real___GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp.apply(null, arguments);
  19437. });
  19438. var real___GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"];
  19439. asm["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"] = (function() {
  19440. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19441. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19442. return real___GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp.apply(null, arguments);
  19443. });
  19444. var real___GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"];
  19445. asm["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"] = (function() {
  19446. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19447. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19448. return real___GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp.apply(null, arguments);
  19449. });
  19450. var real___GLOBAL__sub_I_Modules_Subsystems_0_cpp = asm["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"];
  19451. asm["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"] = (function() {
  19452. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19453. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19454. return real___GLOBAL__sub_I_Modules_Subsystems_0_cpp.apply(null, arguments);
  19455. });
  19456. var real___GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = asm["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"];
  19457. asm["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"] = (function() {
  19458. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19459. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19460. return real___GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp.apply(null, arguments);
  19461. });
  19462. var real___GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"];
  19463. asm["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"] = (function() {
  19464. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19465. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19466. return real___GLOBAL__sub_I_Modules_Terrain_Public_0_cpp.apply(null, arguments);
  19467. });
  19468. var real___GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"];
  19469. asm["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"] = (function() {
  19470. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19471. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19472. return real___GLOBAL__sub_I_Modules_Terrain_Public_1_cpp.apply(null, arguments);
  19473. });
  19474. var real___GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"];
  19475. asm["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"] = (function() {
  19476. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19477. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19478. return real___GLOBAL__sub_I_Modules_Terrain_Public_2_cpp.apply(null, arguments);
  19479. });
  19480. var real___GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"];
  19481. asm["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"] = (function() {
  19482. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19483. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19484. return real___GLOBAL__sub_I_Modules_Terrain_Public_3_cpp.apply(null, arguments);
  19485. });
  19486. var real___GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"];
  19487. asm["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"] = (function() {
  19488. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19489. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19490. return real___GLOBAL__sub_I_Modules_Terrain_VR_0_cpp.apply(null, arguments);
  19491. });
  19492. var real___GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"];
  19493. asm["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"] = (function() {
  19494. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19495. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19496. return real___GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp.apply(null, arguments);
  19497. });
  19498. var real___GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"];
  19499. asm["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"] = (function() {
  19500. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19501. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19502. return real___GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp.apply(null, arguments);
  19503. });
  19504. var real___GLOBAL__sub_I_Modules_Tilemap_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"];
  19505. asm["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"] = (function() {
  19506. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19507. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19508. return real___GLOBAL__sub_I_Modules_Tilemap_0_cpp.apply(null, arguments);
  19509. });
  19510. var real___GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"];
  19511. asm["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"] = (function() {
  19512. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19513. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19514. return real___GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp.apply(null, arguments);
  19515. });
  19516. var real___GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = asm["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"];
  19517. asm["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"] = (function() {
  19518. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19519. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19520. return real___GLOBAL__sub_I_Modules_UIElementsNative_0_cpp.apply(null, arguments);
  19521. });
  19522. var real___GLOBAL__sub_I_Modules_UI_0_cpp = asm["__GLOBAL__sub_I_Modules_UI_0_cpp"];
  19523. asm["__GLOBAL__sub_I_Modules_UI_0_cpp"] = (function() {
  19524. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19525. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19526. return real___GLOBAL__sub_I_Modules_UI_0_cpp.apply(null, arguments);
  19527. });
  19528. var real___GLOBAL__sub_I_Modules_UI_1_cpp = asm["__GLOBAL__sub_I_Modules_UI_1_cpp"];
  19529. asm["__GLOBAL__sub_I_Modules_UI_1_cpp"] = (function() {
  19530. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19531. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19532. return real___GLOBAL__sub_I_Modules_UI_1_cpp.apply(null, arguments);
  19533. });
  19534. var real___GLOBAL__sub_I_Modules_UI_2_cpp = asm["__GLOBAL__sub_I_Modules_UI_2_cpp"];
  19535. asm["__GLOBAL__sub_I_Modules_UI_2_cpp"] = (function() {
  19536. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19537. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19538. return real___GLOBAL__sub_I_Modules_UI_2_cpp.apply(null, arguments);
  19539. });
  19540. var real___GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"];
  19541. asm["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"] = (function() {
  19542. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19543. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19544. return real___GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp.apply(null, arguments);
  19545. });
  19546. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"];
  19547. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"] = (function() {
  19548. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19549. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19550. return real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp.apply(null, arguments);
  19551. });
  19552. var real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"];
  19553. asm["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"] = (function() {
  19554. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19555. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19556. return real___GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp.apply(null, arguments);
  19557. });
  19558. var real___GLOBAL__sub_I_Modules_VFX_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"];
  19559. asm["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"] = (function() {
  19560. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19561. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19562. return real___GLOBAL__sub_I_Modules_VFX_Public_0_cpp.apply(null, arguments);
  19563. });
  19564. var real___GLOBAL__sub_I_Modules_VFX_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"];
  19565. asm["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"] = (function() {
  19566. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19567. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19568. return real___GLOBAL__sub_I_Modules_VFX_Public_1_cpp.apply(null, arguments);
  19569. });
  19570. var real___GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"];
  19571. asm["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"] = (function() {
  19572. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19573. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19574. return real___GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp.apply(null, arguments);
  19575. });
  19576. var real___GLOBAL__sub_I_Modules_VR_0_cpp = asm["__GLOBAL__sub_I_Modules_VR_0_cpp"];
  19577. asm["__GLOBAL__sub_I_Modules_VR_0_cpp"] = (function() {
  19578. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19579. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19580. return real___GLOBAL__sub_I_Modules_VR_0_cpp.apply(null, arguments);
  19581. });
  19582. var real___GLOBAL__sub_I_Modules_VR_1_cpp = asm["__GLOBAL__sub_I_Modules_VR_1_cpp"];
  19583. asm["__GLOBAL__sub_I_Modules_VR_1_cpp"] = (function() {
  19584. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19585. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19586. return real___GLOBAL__sub_I_Modules_VR_1_cpp.apply(null, arguments);
  19587. });
  19588. var real___GLOBAL__sub_I_Modules_Vehicles_0_cpp = asm["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"];
  19589. asm["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"] = (function() {
  19590. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19591. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19592. return real___GLOBAL__sub_I_Modules_Vehicles_0_cpp.apply(null, arguments);
  19593. });
  19594. var real___GLOBAL__sub_I_Modules_Video_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"];
  19595. asm["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"] = (function() {
  19596. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19597. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19598. return real___GLOBAL__sub_I_Modules_Video_Public_0_cpp.apply(null, arguments);
  19599. });
  19600. var real___GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = asm["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"];
  19601. asm["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"] = (function() {
  19602. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19603. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19604. return real___GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp.apply(null, arguments);
  19605. });
  19606. var real___GLOBAL__sub_I_Modules_XR_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_0_cpp"];
  19607. asm["__GLOBAL__sub_I_Modules_XR_0_cpp"] = (function() {
  19608. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19609. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19610. return real___GLOBAL__sub_I_Modules_XR_0_cpp.apply(null, arguments);
  19611. });
  19612. var real___GLOBAL__sub_I_Modules_XR_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"];
  19613. asm["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"] = (function() {
  19614. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19615. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19616. return real___GLOBAL__sub_I_Modules_XR_Public_0_cpp.apply(null, arguments);
  19617. });
  19618. var real___GLOBAL__sub_I_Modules_XR_Stats_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"];
  19619. asm["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"] = (function() {
  19620. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19621. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19622. return real___GLOBAL__sub_I_Modules_XR_Stats_0_cpp.apply(null, arguments);
  19623. });
  19624. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"];
  19625. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"] = (function() {
  19626. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19627. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19628. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp.apply(null, arguments);
  19629. });
  19630. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"];
  19631. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"] = (function() {
  19632. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19633. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19634. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp.apply(null, arguments);
  19635. });
  19636. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"];
  19637. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"] = (function() {
  19638. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19639. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19640. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp.apply(null, arguments);
  19641. });
  19642. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"];
  19643. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"] = (function() {
  19644. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19645. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19646. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp.apply(null, arguments);
  19647. });
  19648. var real___GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"];
  19649. asm["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"] = (function() {
  19650. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19651. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19652. return real___GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp.apply(null, arguments);
  19653. });
  19654. var real___GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = asm["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"];
  19655. asm["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"] = (function() {
  19656. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19657. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19658. return real___GLOBAL__sub_I_Modules_XR_Tracing_0_cpp.apply(null, arguments);
  19659. });
  19660. var real___GLOBAL__sub_I_NoiseModule_cpp = asm["__GLOBAL__sub_I_NoiseModule_cpp"];
  19661. asm["__GLOBAL__sub_I_NoiseModule_cpp"] = (function() {
  19662. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19663. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19664. return real___GLOBAL__sub_I_NoiseModule_cpp.apply(null, arguments);
  19665. });
  19666. var real___GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"];
  19667. asm["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"] = (function() {
  19668. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19669. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19670. return real___GLOBAL__sub_I_ParticleSystemBindings_gen_cpp.apply(null, arguments);
  19671. });
  19672. var real___GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"];
  19673. asm["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"] = (function() {
  19674. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19675. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19676. return real___GLOBAL__sub_I_ParticleSystemGeometryJob_cpp.apply(null, arguments);
  19677. });
  19678. var real___GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"];
  19679. asm["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"] = (function() {
  19680. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19681. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19682. return real___GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp.apply(null, arguments);
  19683. });
  19684. var real___GLOBAL__sub_I_Physics2DScriptingClasses_cpp = asm["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"];
  19685. asm["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"] = (function() {
  19686. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19687. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19688. return real___GLOBAL__sub_I_Physics2DScriptingClasses_cpp.apply(null, arguments);
  19689. });
  19690. var real___GLOBAL__sub_I_PhysicsBindings_gen_cpp = asm["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"];
  19691. asm["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"] = (function() {
  19692. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19693. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19694. return real___GLOBAL__sub_I_PhysicsBindings_gen_cpp.apply(null, arguments);
  19695. });
  19696. var real___GLOBAL__sub_I_PhysicsQuery_cpp = asm["__GLOBAL__sub_I_PhysicsQuery_cpp"];
  19697. asm["__GLOBAL__sub_I_PhysicsQuery_cpp"] = (function() {
  19698. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19699. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19700. return real___GLOBAL__sub_I_PhysicsQuery_cpp.apply(null, arguments);
  19701. });
  19702. var real___GLOBAL__sub_I_PhysicsScene_cpp = asm["__GLOBAL__sub_I_PhysicsScene_cpp"];
  19703. asm["__GLOBAL__sub_I_PhysicsScene_cpp"] = (function() {
  19704. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19705. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19706. return real___GLOBAL__sub_I_PhysicsScene_cpp.apply(null, arguments);
  19707. });
  19708. var real___GLOBAL__sub_I_PhysicsScriptingClasses_cpp = asm["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"];
  19709. asm["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"] = (function() {
  19710. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19711. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19712. return real___GLOBAL__sub_I_PhysicsScriptingClasses_cpp.apply(null, arguments);
  19713. });
  19714. 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"];
  19715. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"] = (function() {
  19716. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19717. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19718. return real___GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp.apply(null, arguments);
  19719. });
  19720. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"];
  19721. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"] = (function() {
  19722. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19723. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19724. return real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp.apply(null, arguments);
  19725. });
  19726. var real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"];
  19727. asm["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"] = (function() {
  19728. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19729. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19730. return real___GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp.apply(null, arguments);
  19731. });
  19732. var real___GLOBAL__sub_I_PluginInterfaceVR_cpp = asm["__GLOBAL__sub_I_PluginInterfaceVR_cpp"];
  19733. asm["__GLOBAL__sub_I_PluginInterfaceVR_cpp"] = (function() {
  19734. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19735. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19736. return real___GLOBAL__sub_I_PluginInterfaceVR_cpp.apply(null, arguments);
  19737. });
  19738. var real___GLOBAL__sub_I_QualitySettings_cpp = asm["__GLOBAL__sub_I_QualitySettings_cpp"];
  19739. asm["__GLOBAL__sub_I_QualitySettings_cpp"] = (function() {
  19740. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19741. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19742. return real___GLOBAL__sub_I_QualitySettings_cpp.apply(null, arguments);
  19743. });
  19744. var real___GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"];
  19745. asm["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"] = (function() {
  19746. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19747. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19748. return real___GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp.apply(null, arguments);
  19749. });
  19750. var real___GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"];
  19751. asm["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"] = (function() {
  19752. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19753. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19754. return real___GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp.apply(null, arguments);
  19755. });
  19756. var real___GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"];
  19757. asm["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"] = (function() {
  19758. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19759. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19760. return real___GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp.apply(null, arguments);
  19761. });
  19762. var real___GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"];
  19763. asm["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"] = (function() {
  19764. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19765. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19766. return real___GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp.apply(null, arguments);
  19767. });
  19768. var real___GLOBAL__sub_I_Runtime_Allocator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"];
  19769. asm["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"] = (function() {
  19770. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19771. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19772. return real___GLOBAL__sub_I_Runtime_Allocator_0_cpp.apply(null, arguments);
  19773. });
  19774. var real___GLOBAL__sub_I_Runtime_Allocator_2_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"];
  19775. asm["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"] = (function() {
  19776. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19777. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19778. return real___GLOBAL__sub_I_Runtime_Allocator_2_cpp.apply(null, arguments);
  19779. });
  19780. var real___GLOBAL__sub_I_Runtime_Allocator_3_cpp = asm["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"];
  19781. asm["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"] = (function() {
  19782. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19783. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19784. return real___GLOBAL__sub_I_Runtime_Allocator_3_cpp.apply(null, arguments);
  19785. });
  19786. var real___GLOBAL__sub_I_Runtime_Application_0_cpp = asm["__GLOBAL__sub_I_Runtime_Application_0_cpp"];
  19787. asm["__GLOBAL__sub_I_Runtime_Application_0_cpp"] = (function() {
  19788. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19789. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19790. return real___GLOBAL__sub_I_Runtime_Application_0_cpp.apply(null, arguments);
  19791. });
  19792. var real___GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"];
  19793. asm["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"] = (function() {
  19794. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19795. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19796. return real___GLOBAL__sub_I_Runtime_BaseClasses_0_cpp.apply(null, arguments);
  19797. });
  19798. var real___GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"];
  19799. asm["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"] = (function() {
  19800. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19801. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19802. return real___GLOBAL__sub_I_Runtime_BaseClasses_1_cpp.apply(null, arguments);
  19803. });
  19804. var real___GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"];
  19805. asm["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"] = (function() {
  19806. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19807. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19808. return real___GLOBAL__sub_I_Runtime_BaseClasses_2_cpp.apply(null, arguments);
  19809. });
  19810. var real___GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"];
  19811. asm["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"] = (function() {
  19812. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19813. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19814. return real___GLOBAL__sub_I_Runtime_BaseClasses_3_cpp.apply(null, arguments);
  19815. });
  19816. var real___GLOBAL__sub_I_Runtime_Burst_0_cpp = asm["__GLOBAL__sub_I_Runtime_Burst_0_cpp"];
  19817. asm["__GLOBAL__sub_I_Runtime_Burst_0_cpp"] = (function() {
  19818. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19819. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19820. return real___GLOBAL__sub_I_Runtime_Burst_0_cpp.apply(null, arguments);
  19821. });
  19822. var real___GLOBAL__sub_I_Runtime_Camera_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_0_cpp"];
  19823. asm["__GLOBAL__sub_I_Runtime_Camera_0_cpp"] = (function() {
  19824. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19825. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19826. return real___GLOBAL__sub_I_Runtime_Camera_0_cpp.apply(null, arguments);
  19827. });
  19828. var real___GLOBAL__sub_I_Runtime_Camera_1_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_1_cpp"];
  19829. asm["__GLOBAL__sub_I_Runtime_Camera_1_cpp"] = (function() {
  19830. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19831. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19832. return real___GLOBAL__sub_I_Runtime_Camera_1_cpp.apply(null, arguments);
  19833. });
  19834. var real___GLOBAL__sub_I_Runtime_Camera_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_2_cpp"];
  19835. asm["__GLOBAL__sub_I_Runtime_Camera_2_cpp"] = (function() {
  19836. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19837. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19838. return real___GLOBAL__sub_I_Runtime_Camera_2_cpp.apply(null, arguments);
  19839. });
  19840. var real___GLOBAL__sub_I_Runtime_Camera_3_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_3_cpp"];
  19841. asm["__GLOBAL__sub_I_Runtime_Camera_3_cpp"] = (function() {
  19842. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19843. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19844. return real___GLOBAL__sub_I_Runtime_Camera_3_cpp.apply(null, arguments);
  19845. });
  19846. var real___GLOBAL__sub_I_Runtime_Camera_4_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_4_cpp"];
  19847. asm["__GLOBAL__sub_I_Runtime_Camera_4_cpp"] = (function() {
  19848. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19849. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19850. return real___GLOBAL__sub_I_Runtime_Camera_4_cpp.apply(null, arguments);
  19851. });
  19852. var real___GLOBAL__sub_I_Runtime_Camera_5_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_5_cpp"];
  19853. asm["__GLOBAL__sub_I_Runtime_Camera_5_cpp"] = (function() {
  19854. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19855. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19856. return real___GLOBAL__sub_I_Runtime_Camera_5_cpp.apply(null, arguments);
  19857. });
  19858. var real___GLOBAL__sub_I_Runtime_Camera_6_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_6_cpp"];
  19859. asm["__GLOBAL__sub_I_Runtime_Camera_6_cpp"] = (function() {
  19860. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19861. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19862. return real___GLOBAL__sub_I_Runtime_Camera_6_cpp.apply(null, arguments);
  19863. });
  19864. var real___GLOBAL__sub_I_Runtime_Camera_7_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_7_cpp"];
  19865. asm["__GLOBAL__sub_I_Runtime_Camera_7_cpp"] = (function() {
  19866. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19867. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19868. return real___GLOBAL__sub_I_Runtime_Camera_7_cpp.apply(null, arguments);
  19869. });
  19870. var real___GLOBAL__sub_I_Runtime_Camera_8_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_8_cpp"];
  19871. asm["__GLOBAL__sub_I_Runtime_Camera_8_cpp"] = (function() {
  19872. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19873. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19874. return real___GLOBAL__sub_I_Runtime_Camera_8_cpp.apply(null, arguments);
  19875. });
  19876. var real___GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"];
  19877. asm["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"] = (function() {
  19878. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19879. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19880. return real___GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp.apply(null, arguments);
  19881. });
  19882. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"];
  19883. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"] = (function() {
  19884. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19885. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19886. return real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp.apply(null, arguments);
  19887. });
  19888. var real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"];
  19889. asm["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"] = (function() {
  19890. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19891. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19892. return real___GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp.apply(null, arguments);
  19893. });
  19894. var real___GLOBAL__sub_I_Runtime_Containers_0_cpp = asm["__GLOBAL__sub_I_Runtime_Containers_0_cpp"];
  19895. asm["__GLOBAL__sub_I_Runtime_Containers_0_cpp"] = (function() {
  19896. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19897. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19898. return real___GLOBAL__sub_I_Runtime_Containers_0_cpp.apply(null, arguments);
  19899. });
  19900. var real___GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"];
  19901. asm["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"] = (function() {
  19902. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19903. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19904. return real___GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp.apply(null, arguments);
  19905. });
  19906. var real___GLOBAL__sub_I_Runtime_Director_Core_0_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"];
  19907. asm["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"] = (function() {
  19908. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19909. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19910. return real___GLOBAL__sub_I_Runtime_Director_Core_0_cpp.apply(null, arguments);
  19911. });
  19912. var real___GLOBAL__sub_I_Runtime_Director_Core_1_cpp = asm["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"];
  19913. asm["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"] = (function() {
  19914. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19915. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19916. return real___GLOBAL__sub_I_Runtime_Director_Core_1_cpp.apply(null, arguments);
  19917. });
  19918. var real___GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"];
  19919. asm["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"] = (function() {
  19920. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19921. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19922. return real___GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp.apply(null, arguments);
  19923. });
  19924. var real___GLOBAL__sub_I_Runtime_File_0_cpp = asm["__GLOBAL__sub_I_Runtime_File_0_cpp"];
  19925. asm["__GLOBAL__sub_I_Runtime_File_0_cpp"] = (function() {
  19926. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19927. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19928. return real___GLOBAL__sub_I_Runtime_File_0_cpp.apply(null, arguments);
  19929. });
  19930. var real___GLOBAL__sub_I_Runtime_GameCode_0_cpp = asm["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"];
  19931. asm["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"] = (function() {
  19932. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19933. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19934. return real___GLOBAL__sub_I_Runtime_GameCode_0_cpp.apply(null, arguments);
  19935. });
  19936. var real___GLOBAL__sub_I_Runtime_Geometry_1_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"];
  19937. asm["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"] = (function() {
  19938. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19939. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19940. return real___GLOBAL__sub_I_Runtime_Geometry_1_cpp.apply(null, arguments);
  19941. });
  19942. var real___GLOBAL__sub_I_Runtime_Geometry_2_cpp = asm["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"];
  19943. asm["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"] = (function() {
  19944. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19945. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19946. return real___GLOBAL__sub_I_Runtime_Geometry_2_cpp.apply(null, arguments);
  19947. });
  19948. var real___GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"];
  19949. asm["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"] = (function() {
  19950. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19951. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19952. return real___GLOBAL__sub_I_Runtime_GfxDevice_1_cpp.apply(null, arguments);
  19953. });
  19954. var real___GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"];
  19955. asm["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"] = (function() {
  19956. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19957. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19958. return real___GLOBAL__sub_I_Runtime_GfxDevice_2_cpp.apply(null, arguments);
  19959. });
  19960. var real___GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"];
  19961. asm["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"] = (function() {
  19962. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19963. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19964. return real___GLOBAL__sub_I_Runtime_GfxDevice_3_cpp.apply(null, arguments);
  19965. });
  19966. var real___GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"];
  19967. asm["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"] = (function() {
  19968. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19969. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19970. return real___GLOBAL__sub_I_Runtime_GfxDevice_4_cpp.apply(null, arguments);
  19971. });
  19972. var real___GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"];
  19973. asm["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"] = (function() {
  19974. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19975. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19976. return real___GLOBAL__sub_I_Runtime_GfxDevice_5_cpp.apply(null, arguments);
  19977. });
  19978. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"];
  19979. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"] = (function() {
  19980. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19981. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19982. return real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp.apply(null, arguments);
  19983. });
  19984. var real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"];
  19985. asm["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"] = (function() {
  19986. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19987. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19988. return real___GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp.apply(null, arguments);
  19989. });
  19990. var real___GLOBAL__sub_I_Runtime_Graphics_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"];
  19991. asm["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"] = (function() {
  19992. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19993. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  19994. return real___GLOBAL__sub_I_Runtime_Graphics_0_cpp.apply(null, arguments);
  19995. });
  19996. var real___GLOBAL__sub_I_Runtime_Graphics_10_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"];
  19997. asm["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"] = (function() {
  19998. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  19999. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20000. return real___GLOBAL__sub_I_Runtime_Graphics_10_cpp.apply(null, arguments);
  20001. });
  20002. var real___GLOBAL__sub_I_Runtime_Graphics_11_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"];
  20003. asm["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"] = (function() {
  20004. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20005. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20006. return real___GLOBAL__sub_I_Runtime_Graphics_11_cpp.apply(null, arguments);
  20007. });
  20008. var real___GLOBAL__sub_I_Runtime_Graphics_12_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"];
  20009. asm["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"] = (function() {
  20010. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20011. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20012. return real___GLOBAL__sub_I_Runtime_Graphics_12_cpp.apply(null, arguments);
  20013. });
  20014. var real___GLOBAL__sub_I_Runtime_Graphics_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"];
  20015. asm["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"] = (function() {
  20016. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20017. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20018. return real___GLOBAL__sub_I_Runtime_Graphics_1_cpp.apply(null, arguments);
  20019. });
  20020. var real___GLOBAL__sub_I_Runtime_Graphics_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"];
  20021. asm["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"] = (function() {
  20022. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20023. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20024. return real___GLOBAL__sub_I_Runtime_Graphics_2_cpp.apply(null, arguments);
  20025. });
  20026. var real___GLOBAL__sub_I_Runtime_Graphics_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"];
  20027. asm["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"] = (function() {
  20028. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20029. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20030. return real___GLOBAL__sub_I_Runtime_Graphics_4_cpp.apply(null, arguments);
  20031. });
  20032. var real___GLOBAL__sub_I_Runtime_Graphics_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"];
  20033. asm["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"] = (function() {
  20034. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20035. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20036. return real___GLOBAL__sub_I_Runtime_Graphics_5_cpp.apply(null, arguments);
  20037. });
  20038. var real___GLOBAL__sub_I_Runtime_Graphics_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"];
  20039. asm["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"] = (function() {
  20040. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20041. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20042. return real___GLOBAL__sub_I_Runtime_Graphics_6_cpp.apply(null, arguments);
  20043. });
  20044. var real___GLOBAL__sub_I_Runtime_Graphics_8_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"];
  20045. asm["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"] = (function() {
  20046. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20047. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20048. return real___GLOBAL__sub_I_Runtime_Graphics_8_cpp.apply(null, arguments);
  20049. });
  20050. var real___GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"];
  20051. asm["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"] = (function() {
  20052. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20053. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20054. return real___GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp.apply(null, arguments);
  20055. });
  20056. var real___GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"];
  20057. asm["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"] = (function() {
  20058. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20059. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20060. return real___GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp.apply(null, arguments);
  20061. });
  20062. var real___GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"];
  20063. asm["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"] = (function() {
  20064. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20065. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20066. return real___GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp.apply(null, arguments);
  20067. });
  20068. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"];
  20069. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"] = (function() {
  20070. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20071. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20072. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp.apply(null, arguments);
  20073. });
  20074. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"];
  20075. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"] = (function() {
  20076. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20077. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20078. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp.apply(null, arguments);
  20079. });
  20080. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"];
  20081. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"] = (function() {
  20082. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20083. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20084. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp.apply(null, arguments);
  20085. });
  20086. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"];
  20087. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"] = (function() {
  20088. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20089. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20090. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp.apply(null, arguments);
  20091. });
  20092. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"];
  20093. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"] = (function() {
  20094. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20095. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20096. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp.apply(null, arguments);
  20097. });
  20098. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"];
  20099. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"] = (function() {
  20100. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20101. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20102. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp.apply(null, arguments);
  20103. });
  20104. var real___GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"];
  20105. asm["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"] = (function() {
  20106. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20107. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20108. return real___GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp.apply(null, arguments);
  20109. });
  20110. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"];
  20111. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"] = (function() {
  20112. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20113. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20114. return real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp.apply(null, arguments);
  20115. });
  20116. var real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"];
  20117. asm["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"] = (function() {
  20118. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20119. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20120. return real___GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp.apply(null, arguments);
  20121. });
  20122. var real___GLOBAL__sub_I_Runtime_Input_0_cpp = asm["__GLOBAL__sub_I_Runtime_Input_0_cpp"];
  20123. asm["__GLOBAL__sub_I_Runtime_Input_0_cpp"] = (function() {
  20124. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20125. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20126. return real___GLOBAL__sub_I_Runtime_Input_0_cpp.apply(null, arguments);
  20127. });
  20128. var real___GLOBAL__sub_I_Runtime_Interfaces_0_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"];
  20129. asm["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"] = (function() {
  20130. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20131. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20132. return real___GLOBAL__sub_I_Runtime_Interfaces_0_cpp.apply(null, arguments);
  20133. });
  20134. var real___GLOBAL__sub_I_Runtime_Interfaces_1_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"];
  20135. asm["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"] = (function() {
  20136. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20137. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20138. return real___GLOBAL__sub_I_Runtime_Interfaces_1_cpp.apply(null, arguments);
  20139. });
  20140. var real___GLOBAL__sub_I_Runtime_Interfaces_3_cpp = asm["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"];
  20141. asm["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"] = (function() {
  20142. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20143. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20144. return real___GLOBAL__sub_I_Runtime_Interfaces_3_cpp.apply(null, arguments);
  20145. });
  20146. var real___GLOBAL__sub_I_Runtime_Jobs_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"];
  20147. asm["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"] = (function() {
  20148. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20149. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20150. return real___GLOBAL__sub_I_Runtime_Jobs_0_cpp.apply(null, arguments);
  20151. });
  20152. var real___GLOBAL__sub_I_Runtime_Jobs_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"];
  20153. asm["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"] = (function() {
  20154. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20155. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20156. return real___GLOBAL__sub_I_Runtime_Jobs_1_cpp.apply(null, arguments);
  20157. });
  20158. var real___GLOBAL__sub_I_Runtime_Jobs_2_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"];
  20159. asm["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"] = (function() {
  20160. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20161. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20162. return real___GLOBAL__sub_I_Runtime_Jobs_2_cpp.apply(null, arguments);
  20163. });
  20164. var real___GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"];
  20165. asm["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"] = (function() {
  20166. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20167. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20168. return real___GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp.apply(null, arguments);
  20169. });
  20170. var real___GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"];
  20171. asm["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"] = (function() {
  20172. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20173. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20174. return real___GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp.apply(null, arguments);
  20175. });
  20176. var real___GLOBAL__sub_I_Runtime_Math_2_cpp = asm["__GLOBAL__sub_I_Runtime_Math_2_cpp"];
  20177. asm["__GLOBAL__sub_I_Runtime_Math_2_cpp"] = (function() {
  20178. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20179. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20180. return real___GLOBAL__sub_I_Runtime_Math_2_cpp.apply(null, arguments);
  20181. });
  20182. var real___GLOBAL__sub_I_Runtime_Math_Random_0_cpp = asm["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"];
  20183. asm["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"] = (function() {
  20184. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20185. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20186. return real___GLOBAL__sub_I_Runtime_Math_Random_0_cpp.apply(null, arguments);
  20187. });
  20188. var real___GLOBAL__sub_I_Runtime_Misc_0_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_0_cpp"];
  20189. asm["__GLOBAL__sub_I_Runtime_Misc_0_cpp"] = (function() {
  20190. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20191. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20192. return real___GLOBAL__sub_I_Runtime_Misc_0_cpp.apply(null, arguments);
  20193. });
  20194. var real___GLOBAL__sub_I_Runtime_Misc_1_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_1_cpp"];
  20195. asm["__GLOBAL__sub_I_Runtime_Misc_1_cpp"] = (function() {
  20196. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20197. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20198. return real___GLOBAL__sub_I_Runtime_Misc_1_cpp.apply(null, arguments);
  20199. });
  20200. var real___GLOBAL__sub_I_Runtime_Misc_2_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_2_cpp"];
  20201. asm["__GLOBAL__sub_I_Runtime_Misc_2_cpp"] = (function() {
  20202. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20203. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20204. return real___GLOBAL__sub_I_Runtime_Misc_2_cpp.apply(null, arguments);
  20205. });
  20206. var real___GLOBAL__sub_I_Runtime_Misc_3_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_3_cpp"];
  20207. asm["__GLOBAL__sub_I_Runtime_Misc_3_cpp"] = (function() {
  20208. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20209. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20210. return real___GLOBAL__sub_I_Runtime_Misc_3_cpp.apply(null, arguments);
  20211. });
  20212. var real___GLOBAL__sub_I_Runtime_Misc_4_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_4_cpp"];
  20213. asm["__GLOBAL__sub_I_Runtime_Misc_4_cpp"] = (function() {
  20214. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20215. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20216. return real___GLOBAL__sub_I_Runtime_Misc_4_cpp.apply(null, arguments);
  20217. });
  20218. var real___GLOBAL__sub_I_Runtime_Misc_5_cpp = asm["__GLOBAL__sub_I_Runtime_Misc_5_cpp"];
  20219. asm["__GLOBAL__sub_I_Runtime_Misc_5_cpp"] = (function() {
  20220. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20221. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20222. return real___GLOBAL__sub_I_Runtime_Misc_5_cpp.apply(null, arguments);
  20223. });
  20224. var real___GLOBAL__sub_I_Runtime_Modules_0_cpp = asm["__GLOBAL__sub_I_Runtime_Modules_0_cpp"];
  20225. asm["__GLOBAL__sub_I_Runtime_Modules_0_cpp"] = (function() {
  20226. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20227. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20228. return real___GLOBAL__sub_I_Runtime_Modules_0_cpp.apply(null, arguments);
  20229. });
  20230. var real___GLOBAL__sub_I_Runtime_Mono_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_0_cpp"];
  20231. asm["__GLOBAL__sub_I_Runtime_Mono_0_cpp"] = (function() {
  20232. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20233. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20234. return real___GLOBAL__sub_I_Runtime_Mono_0_cpp.apply(null, arguments);
  20235. });
  20236. var real___GLOBAL__sub_I_Runtime_Mono_2_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_2_cpp"];
  20237. asm["__GLOBAL__sub_I_Runtime_Mono_2_cpp"] = (function() {
  20238. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20239. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20240. return real___GLOBAL__sub_I_Runtime_Mono_2_cpp.apply(null, arguments);
  20241. });
  20242. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"];
  20243. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"] = (function() {
  20244. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20245. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20246. return real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp.apply(null, arguments);
  20247. });
  20248. var real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"];
  20249. asm["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"] = (function() {
  20250. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20251. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20252. return real___GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp.apply(null, arguments);
  20253. });
  20254. var real___GLOBAL__sub_I_Runtime_Network_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_0_cpp"];
  20255. asm["__GLOBAL__sub_I_Runtime_Network_0_cpp"] = (function() {
  20256. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20257. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20258. return real___GLOBAL__sub_I_Runtime_Network_0_cpp.apply(null, arguments);
  20259. });
  20260. var real___GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"];
  20261. asm["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"] = (function() {
  20262. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20263. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20264. return real___GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp.apply(null, arguments);
  20265. });
  20266. var real___GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"];
  20267. asm["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"] = (function() {
  20268. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20269. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20270. return real___GLOBAL__sub_I_Runtime_PluginInterface_0_cpp.apply(null, arguments);
  20271. });
  20272. var real___GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"];
  20273. asm["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"] = (function() {
  20274. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20275. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20276. return real___GLOBAL__sub_I_Runtime_PreloadManager_0_cpp.apply(null, arguments);
  20277. });
  20278. var real___GLOBAL__sub_I_Runtime_Profiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"];
  20279. asm["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"] = (function() {
  20280. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20281. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20282. return real___GLOBAL__sub_I_Runtime_Profiler_0_cpp.apply(null, arguments);
  20283. });
  20284. var real___GLOBAL__sub_I_Runtime_Profiler_1_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"];
  20285. asm["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"] = (function() {
  20286. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20287. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20288. return real___GLOBAL__sub_I_Runtime_Profiler_1_cpp.apply(null, arguments);
  20289. });
  20290. var real___GLOBAL__sub_I_Runtime_Profiler_2_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"];
  20291. asm["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"] = (function() {
  20292. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20293. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20294. return real___GLOBAL__sub_I_Runtime_Profiler_2_cpp.apply(null, arguments);
  20295. });
  20296. var real___GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"];
  20297. asm["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"] = (function() {
  20298. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20299. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20300. return real___GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp.apply(null, arguments);
  20301. });
  20302. var real___GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"];
  20303. asm["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"] = (function() {
  20304. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20305. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20306. return real___GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp.apply(null, arguments);
  20307. });
  20308. var real___GLOBAL__sub_I_Runtime_SceneManager_0_cpp = asm["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"];
  20309. asm["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"] = (function() {
  20310. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20311. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20312. return real___GLOBAL__sub_I_Runtime_SceneManager_0_cpp.apply(null, arguments);
  20313. });
  20314. var real___GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"];
  20315. asm["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"] = (function() {
  20316. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20317. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20318. return real___GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp.apply(null, arguments);
  20319. });
  20320. var real___GLOBAL__sub_I_Runtime_Scripting_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"];
  20321. asm["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"] = (function() {
  20322. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20323. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20324. return real___GLOBAL__sub_I_Runtime_Scripting_0_cpp.apply(null, arguments);
  20325. });
  20326. var real___GLOBAL__sub_I_Runtime_Scripting_2_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"];
  20327. asm["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"] = (function() {
  20328. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20329. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20330. return real___GLOBAL__sub_I_Runtime_Scripting_2_cpp.apply(null, arguments);
  20331. });
  20332. var real___GLOBAL__sub_I_Runtime_Scripting_3_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"];
  20333. asm["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"] = (function() {
  20334. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20335. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20336. return real___GLOBAL__sub_I_Runtime_Scripting_3_cpp.apply(null, arguments);
  20337. });
  20338. var real___GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"];
  20339. asm["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"] = (function() {
  20340. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20341. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20342. return real___GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp.apply(null, arguments);
  20343. });
  20344. var real___GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"];
  20345. asm["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"] = (function() {
  20346. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20347. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20348. return real___GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp.apply(null, arguments);
  20349. });
  20350. var real___GLOBAL__sub_I_Runtime_Serialize_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"];
  20351. asm["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"] = (function() {
  20352. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20353. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20354. return real___GLOBAL__sub_I_Runtime_Serialize_0_cpp.apply(null, arguments);
  20355. });
  20356. var real___GLOBAL__sub_I_Runtime_Serialize_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"];
  20357. asm["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"] = (function() {
  20358. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20359. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20360. return real___GLOBAL__sub_I_Runtime_Serialize_1_cpp.apply(null, arguments);
  20361. });
  20362. var real___GLOBAL__sub_I_Runtime_Serialize_2_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"];
  20363. asm["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"] = (function() {
  20364. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20365. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20366. return real___GLOBAL__sub_I_Runtime_Serialize_2_cpp.apply(null, arguments);
  20367. });
  20368. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"];
  20369. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"] = (function() {
  20370. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20371. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20372. return real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp.apply(null, arguments);
  20373. });
  20374. var real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"];
  20375. asm["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"] = (function() {
  20376. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20377. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20378. return real___GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp.apply(null, arguments);
  20379. });
  20380. var real___GLOBAL__sub_I_Runtime_Shaders_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"];
  20381. asm["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"] = (function() {
  20382. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20383. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20384. return real___GLOBAL__sub_I_Runtime_Shaders_0_cpp.apply(null, arguments);
  20385. });
  20386. var real___GLOBAL__sub_I_Runtime_Shaders_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"];
  20387. asm["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"] = (function() {
  20388. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20389. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20390. return real___GLOBAL__sub_I_Runtime_Shaders_1_cpp.apply(null, arguments);
  20391. });
  20392. var real___GLOBAL__sub_I_Runtime_Shaders_4_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"];
  20393. asm["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"] = (function() {
  20394. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20395. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20396. return real___GLOBAL__sub_I_Runtime_Shaders_4_cpp.apply(null, arguments);
  20397. });
  20398. var real___GLOBAL__sub_I_Runtime_Shaders_5_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"];
  20399. asm["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"] = (function() {
  20400. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20401. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20402. return real___GLOBAL__sub_I_Runtime_Shaders_5_cpp.apply(null, arguments);
  20403. });
  20404. var real___GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"];
  20405. asm["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"] = (function() {
  20406. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20407. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20408. return real___GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp.apply(null, arguments);
  20409. });
  20410. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"];
  20411. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"] = (function() {
  20412. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20413. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20414. return real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp.apply(null, arguments);
  20415. });
  20416. var real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"];
  20417. asm["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"] = (function() {
  20418. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20419. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20420. return real___GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp.apply(null, arguments);
  20421. });
  20422. var real___GLOBAL__sub_I_Runtime_Streaming_0_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"];
  20423. asm["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"] = (function() {
  20424. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20425. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20426. return real___GLOBAL__sub_I_Runtime_Streaming_0_cpp.apply(null, arguments);
  20427. });
  20428. var real___GLOBAL__sub_I_Runtime_Streaming_1_cpp = asm["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"];
  20429. asm["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"] = (function() {
  20430. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20431. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20432. return real___GLOBAL__sub_I_Runtime_Streaming_1_cpp.apply(null, arguments);
  20433. });
  20434. var real___GLOBAL__sub_I_Runtime_Transform_0_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_0_cpp"];
  20435. asm["__GLOBAL__sub_I_Runtime_Transform_0_cpp"] = (function() {
  20436. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20437. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20438. return real___GLOBAL__sub_I_Runtime_Transform_0_cpp.apply(null, arguments);
  20439. });
  20440. var real___GLOBAL__sub_I_Runtime_Transform_1_cpp = asm["__GLOBAL__sub_I_Runtime_Transform_1_cpp"];
  20441. asm["__GLOBAL__sub_I_Runtime_Transform_1_cpp"] = (function() {
  20442. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20443. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20444. return real___GLOBAL__sub_I_Runtime_Transform_1_cpp.apply(null, arguments);
  20445. });
  20446. var real___GLOBAL__sub_I_Runtime_Utilities_2_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"];
  20447. asm["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"] = (function() {
  20448. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20449. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20450. return real___GLOBAL__sub_I_Runtime_Utilities_2_cpp.apply(null, arguments);
  20451. });
  20452. var real___GLOBAL__sub_I_Runtime_Utilities_5_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"];
  20453. asm["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"] = (function() {
  20454. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20455. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20456. return real___GLOBAL__sub_I_Runtime_Utilities_5_cpp.apply(null, arguments);
  20457. });
  20458. var real___GLOBAL__sub_I_Runtime_Utilities_6_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"];
  20459. asm["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"] = (function() {
  20460. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20461. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20462. return real___GLOBAL__sub_I_Runtime_Utilities_6_cpp.apply(null, arguments);
  20463. });
  20464. var real___GLOBAL__sub_I_Runtime_Utilities_7_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"];
  20465. asm["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"] = (function() {
  20466. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20467. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20468. return real___GLOBAL__sub_I_Runtime_Utilities_7_cpp.apply(null, arguments);
  20469. });
  20470. var real___GLOBAL__sub_I_Runtime_Utilities_8_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"];
  20471. asm["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"] = (function() {
  20472. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20473. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20474. return real___GLOBAL__sub_I_Runtime_Utilities_8_cpp.apply(null, arguments);
  20475. });
  20476. var real___GLOBAL__sub_I_Runtime_Utilities_9_cpp = asm["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"];
  20477. asm["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"] = (function() {
  20478. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20479. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20480. return real___GLOBAL__sub_I_Runtime_Utilities_9_cpp.apply(null, arguments);
  20481. });
  20482. var real___GLOBAL__sub_I_Runtime_Video_0_cpp = asm["__GLOBAL__sub_I_Runtime_Video_0_cpp"];
  20483. asm["__GLOBAL__sub_I_Runtime_Video_0_cpp"] = (function() {
  20484. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20485. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20486. return real___GLOBAL__sub_I_Runtime_Video_0_cpp.apply(null, arguments);
  20487. });
  20488. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"];
  20489. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"] = (function() {
  20490. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20491. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20492. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp.apply(null, arguments);
  20493. });
  20494. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"];
  20495. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"] = (function() {
  20496. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20497. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20498. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp.apply(null, arguments);
  20499. });
  20500. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"];
  20501. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"] = (function() {
  20502. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20503. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20504. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp.apply(null, arguments);
  20505. });
  20506. var real___GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"];
  20507. asm["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"] = (function() {
  20508. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20509. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20510. return real___GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp.apply(null, arguments);
  20511. });
  20512. var real___GLOBAL__sub_I_Shader_cpp = asm["__GLOBAL__sub_I_Shader_cpp"];
  20513. asm["__GLOBAL__sub_I_Shader_cpp"] = (function() {
  20514. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20515. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20516. return real___GLOBAL__sub_I_Shader_cpp.apply(null, arguments);
  20517. });
  20518. var real___GLOBAL__sub_I_Shadows_cpp = asm["__GLOBAL__sub_I_Shadows_cpp"];
  20519. asm["__GLOBAL__sub_I_Shadows_cpp"] = (function() {
  20520. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20521. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20522. return real___GLOBAL__sub_I_Shadows_cpp.apply(null, arguments);
  20523. });
  20524. var real___GLOBAL__sub_I_ShapeModule_cpp = asm["__GLOBAL__sub_I_ShapeModule_cpp"];
  20525. asm["__GLOBAL__sub_I_ShapeModule_cpp"] = (function() {
  20526. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20527. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20528. return real___GLOBAL__sub_I_ShapeModule_cpp.apply(null, arguments);
  20529. });
  20530. var real___GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"];
  20531. asm["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"] = (function() {
  20532. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20533. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20534. return real___GLOBAL__sub_I_SpriteShapeBindings_gen_cpp.apply(null, arguments);
  20535. });
  20536. var real___GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"];
  20537. asm["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"] = (function() {
  20538. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20539. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20540. return real___GLOBAL__sub_I_SubsystemsScriptingClasses_cpp.apply(null, arguments);
  20541. });
  20542. var real___GLOBAL__sub_I_SwInterCollision_cpp = asm["__GLOBAL__sub_I_SwInterCollision_cpp"];
  20543. asm["__GLOBAL__sub_I_SwInterCollision_cpp"] = (function() {
  20544. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20545. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20546. return real___GLOBAL__sub_I_SwInterCollision_cpp.apply(null, arguments);
  20547. });
  20548. var real___GLOBAL__sub_I_SwSolverKernel_cpp = asm["__GLOBAL__sub_I_SwSolverKernel_cpp"];
  20549. asm["__GLOBAL__sub_I_SwSolverKernel_cpp"] = (function() {
  20550. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20551. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20552. return real___GLOBAL__sub_I_SwSolverKernel_cpp.apply(null, arguments);
  20553. });
  20554. var real___GLOBAL__sub_I_TLSModule_cpp = asm["__GLOBAL__sub_I_TLSModule_cpp"];
  20555. asm["__GLOBAL__sub_I_TLSModule_cpp"] = (function() {
  20556. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20557. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20558. return real___GLOBAL__sub_I_TLSModule_cpp.apply(null, arguments);
  20559. });
  20560. var real___GLOBAL__sub_I_TemplateInstantiations_cpp = asm["__GLOBAL__sub_I_TemplateInstantiations_cpp"];
  20561. asm["__GLOBAL__sub_I_TemplateInstantiations_cpp"] = (function() {
  20562. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20563. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20564. return real___GLOBAL__sub_I_TemplateInstantiations_cpp.apply(null, arguments);
  20565. });
  20566. var real___GLOBAL__sub_I_TerrainScriptingClasses_cpp = asm["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"];
  20567. asm["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"] = (function() {
  20568. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20569. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20570. return real___GLOBAL__sub_I_TerrainScriptingClasses_cpp.apply(null, arguments);
  20571. });
  20572. var real___GLOBAL__sub_I_TextCoreScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"];
  20573. asm["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"] = (function() {
  20574. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20575. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20576. return real___GLOBAL__sub_I_TextCoreScriptingClasses_cpp.apply(null, arguments);
  20577. });
  20578. var real___GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"];
  20579. asm["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"] = (function() {
  20580. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20581. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20582. return real___GLOBAL__sub_I_TextRenderingScriptingClasses_cpp.apply(null, arguments);
  20583. });
  20584. var real___GLOBAL__sub_I_TilemapScriptingClasses_cpp = asm["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"];
  20585. asm["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"] = (function() {
  20586. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20587. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20588. return real___GLOBAL__sub_I_TilemapScriptingClasses_cpp.apply(null, arguments);
  20589. });
  20590. var real___GLOBAL__sub_I_TrailRenderer_cpp = asm["__GLOBAL__sub_I_TrailRenderer_cpp"];
  20591. asm["__GLOBAL__sub_I_TrailRenderer_cpp"] = (function() {
  20592. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20593. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20594. return real___GLOBAL__sub_I_TrailRenderer_cpp.apply(null, arguments);
  20595. });
  20596. var real___GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"];
  20597. asm["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"] = (function() {
  20598. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20599. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20600. return real___GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp.apply(null, arguments);
  20601. });
  20602. var real___GLOBAL__sub_I_UIScriptingClasses_cpp = asm["__GLOBAL__sub_I_UIScriptingClasses_cpp"];
  20603. asm["__GLOBAL__sub_I_UIScriptingClasses_cpp"] = (function() {
  20604. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20605. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20606. return real___GLOBAL__sub_I_UIScriptingClasses_cpp.apply(null, arguments);
  20607. });
  20608. var real___GLOBAL__sub_I_UIWidgets_cpp = asm["__GLOBAL__sub_I_UIWidgets_cpp"];
  20609. asm["__GLOBAL__sub_I_UIWidgets_cpp"] = (function() {
  20610. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20611. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20612. return real___GLOBAL__sub_I_UIWidgets_cpp.apply(null, arguments);
  20613. });
  20614. var real___GLOBAL__sub_I_UVModule_cpp = asm["__GLOBAL__sub_I_UVModule_cpp"];
  20615. asm["__GLOBAL__sub_I_UVModule_cpp"] = (function() {
  20616. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20617. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20618. return real___GLOBAL__sub_I_UVModule_cpp.apply(null, arguments);
  20619. });
  20620. var real___GLOBAL__sub_I_UnityAdsSettings_cpp = asm["__GLOBAL__sub_I_UnityAdsSettings_cpp"];
  20621. asm["__GLOBAL__sub_I_UnityAdsSettings_cpp"] = (function() {
  20622. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20623. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20624. return real___GLOBAL__sub_I_UnityAdsSettings_cpp.apply(null, arguments);
  20625. });
  20626. var real___GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"];
  20627. asm["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"] = (function() {
  20628. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20629. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20630. return real___GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp.apply(null, arguments);
  20631. });
  20632. var real___GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"];
  20633. asm["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"] = (function() {
  20634. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20635. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20636. return real___GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp.apply(null, arguments);
  20637. });
  20638. var real___GLOBAL__sub_I_VFXScriptingClasses_cpp = asm["__GLOBAL__sub_I_VFXScriptingClasses_cpp"];
  20639. asm["__GLOBAL__sub_I_VFXScriptingClasses_cpp"] = (function() {
  20640. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20641. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20642. return real___GLOBAL__sub_I_VFXScriptingClasses_cpp.apply(null, arguments);
  20643. });
  20644. var real___GLOBAL__sub_I_VRScriptingClasses_cpp = asm["__GLOBAL__sub_I_VRScriptingClasses_cpp"];
  20645. asm["__GLOBAL__sub_I_VRScriptingClasses_cpp"] = (function() {
  20646. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20647. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20648. return real___GLOBAL__sub_I_VRScriptingClasses_cpp.apply(null, arguments);
  20649. });
  20650. var real___GLOBAL__sub_I_VelocityModule_cpp = asm["__GLOBAL__sub_I_VelocityModule_cpp"];
  20651. asm["__GLOBAL__sub_I_VelocityModule_cpp"] = (function() {
  20652. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20653. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20654. return real___GLOBAL__sub_I_VelocityModule_cpp.apply(null, arguments);
  20655. });
  20656. var real___GLOBAL__sub_I_VideoMediaOutput_cpp = asm["__GLOBAL__sub_I_VideoMediaOutput_cpp"];
  20657. asm["__GLOBAL__sub_I_VideoMediaOutput_cpp"] = (function() {
  20658. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20659. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20660. return real___GLOBAL__sub_I_VideoMediaOutput_cpp.apply(null, arguments);
  20661. });
  20662. var real___GLOBAL__sub_I_VideoScriptingClasses_cpp = asm["__GLOBAL__sub_I_VideoScriptingClasses_cpp"];
  20663. asm["__GLOBAL__sub_I_VideoScriptingClasses_cpp"] = (function() {
  20664. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20665. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20666. return real___GLOBAL__sub_I_VideoScriptingClasses_cpp.apply(null, arguments);
  20667. });
  20668. var real___GLOBAL__sub_I_VideoYUV420Convert_cpp = asm["__GLOBAL__sub_I_VideoYUV420Convert_cpp"];
  20669. asm["__GLOBAL__sub_I_VideoYUV420Convert_cpp"] = (function() {
  20670. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20671. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20672. return real___GLOBAL__sub_I_VideoYUV420Convert_cpp.apply(null, arguments);
  20673. });
  20674. var real___GLOBAL__sub_I_VisualEffectAsset_cpp = asm["__GLOBAL__sub_I_VisualEffectAsset_cpp"];
  20675. asm["__GLOBAL__sub_I_VisualEffectAsset_cpp"] = (function() {
  20676. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20677. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20678. return real___GLOBAL__sub_I_VisualEffectAsset_cpp.apply(null, arguments);
  20679. });
  20680. var real___GLOBAL__sub_I_Wind_cpp = asm["__GLOBAL__sub_I_Wind_cpp"];
  20681. asm["__GLOBAL__sub_I_Wind_cpp"] = (function() {
  20682. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20683. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20684. return real___GLOBAL__sub_I_Wind_cpp.apply(null, arguments);
  20685. });
  20686. var real___GLOBAL__sub_I_XRAudio_cpp = asm["__GLOBAL__sub_I_XRAudio_cpp"];
  20687. asm["__GLOBAL__sub_I_XRAudio_cpp"] = (function() {
  20688. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20689. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20690. return real___GLOBAL__sub_I_XRAudio_cpp.apply(null, arguments);
  20691. });
  20692. var real___GLOBAL__sub_I_XRPreInit_cpp = asm["__GLOBAL__sub_I_XRPreInit_cpp"];
  20693. asm["__GLOBAL__sub_I_XRPreInit_cpp"] = (function() {
  20694. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20695. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20696. return real___GLOBAL__sub_I_XRPreInit_cpp.apply(null, arguments);
  20697. });
  20698. var real___GLOBAL__sub_I_XRScriptingClasses_cpp = asm["__GLOBAL__sub_I_XRScriptingClasses_cpp"];
  20699. asm["__GLOBAL__sub_I_XRScriptingClasses_cpp"] = (function() {
  20700. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20701. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20702. return real___GLOBAL__sub_I_XRScriptingClasses_cpp.apply(null, arguments);
  20703. });
  20704. var real___GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"];
  20705. asm["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"] = (function() {
  20706. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20707. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20708. return real___GLOBAL__sub_I_XRWindowsLocatableCamera_cpp.apply(null, arguments);
  20709. });
  20710. var real___GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"];
  20711. asm["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"] = (function() {
  20712. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20713. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20714. return real___GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp.apply(null, arguments);
  20715. });
  20716. var real___GLOBAL__sub_I_clipmuscle_cpp = asm["__GLOBAL__sub_I_clipmuscle_cpp"];
  20717. asm["__GLOBAL__sub_I_clipmuscle_cpp"] = (function() {
  20718. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20719. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20720. return real___GLOBAL__sub_I_clipmuscle_cpp.apply(null, arguments);
  20721. });
  20722. var real___GLOBAL__sub_I_nvcloth_src_0_cpp = asm["__GLOBAL__sub_I_nvcloth_src_0_cpp"];
  20723. asm["__GLOBAL__sub_I_nvcloth_src_0_cpp"] = (function() {
  20724. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20725. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20726. return real___GLOBAL__sub_I_nvcloth_src_0_cpp.apply(null, arguments);
  20727. });
  20728. var real___GLOBAL__sub_I_nvcloth_src_1_cpp = asm["__GLOBAL__sub_I_nvcloth_src_1_cpp"];
  20729. asm["__GLOBAL__sub_I_nvcloth_src_1_cpp"] = (function() {
  20730. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20731. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20732. return real___GLOBAL__sub_I_nvcloth_src_1_cpp.apply(null, arguments);
  20733. });
  20734. var real___GLOBAL__sub_I_umbra_cpp = asm["__GLOBAL__sub_I_umbra_cpp"];
  20735. asm["__GLOBAL__sub_I_umbra_cpp"] = (function() {
  20736. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20737. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20738. return real___GLOBAL__sub_I_umbra_cpp.apply(null, arguments);
  20739. });
  20740. var real____cxa_can_catch = asm["___cxa_can_catch"];
  20741. asm["___cxa_can_catch"] = (function() {
  20742. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20743. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20744. return real____cxa_can_catch.apply(null, arguments);
  20745. });
  20746. var real____cxa_demangle = asm["___cxa_demangle"];
  20747. asm["___cxa_demangle"] = (function() {
  20748. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20749. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20750. return real____cxa_demangle.apply(null, arguments);
  20751. });
  20752. var real____cxa_is_pointer_type = asm["___cxa_is_pointer_type"];
  20753. asm["___cxa_is_pointer_type"] = (function() {
  20754. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20755. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20756. return real____cxa_is_pointer_type.apply(null, arguments);
  20757. });
  20758. var real____cxx_global_var_init_10 = asm["___cxx_global_var_init_10"];
  20759. asm["___cxx_global_var_init_10"] = (function() {
  20760. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20761. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20762. return real____cxx_global_var_init_10.apply(null, arguments);
  20763. });
  20764. var real____cxx_global_var_init_104 = asm["___cxx_global_var_init_104"];
  20765. asm["___cxx_global_var_init_104"] = (function() {
  20766. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20767. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20768. return real____cxx_global_var_init_104.apply(null, arguments);
  20769. });
  20770. var real____cxx_global_var_init_105 = asm["___cxx_global_var_init_105"];
  20771. asm["___cxx_global_var_init_105"] = (function() {
  20772. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20773. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20774. return real____cxx_global_var_init_105.apply(null, arguments);
  20775. });
  20776. var real____cxx_global_var_init_10902 = asm["___cxx_global_var_init_10902"];
  20777. asm["___cxx_global_var_init_10902"] = (function() {
  20778. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20779. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20780. return real____cxx_global_var_init_10902.apply(null, arguments);
  20781. });
  20782. var real____cxx_global_var_init_10_8160 = asm["___cxx_global_var_init_10_8160"];
  20783. asm["___cxx_global_var_init_10_8160"] = (function() {
  20784. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20785. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20786. return real____cxx_global_var_init_10_8160.apply(null, arguments);
  20787. });
  20788. var real____cxx_global_var_init_10_9872 = asm["___cxx_global_var_init_10_9872"];
  20789. asm["___cxx_global_var_init_10_9872"] = (function() {
  20790. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20791. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20792. return real____cxx_global_var_init_10_9872.apply(null, arguments);
  20793. });
  20794. var real____cxx_global_var_init_11 = asm["___cxx_global_var_init_11"];
  20795. asm["___cxx_global_var_init_11"] = (function() {
  20796. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20797. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20798. return real____cxx_global_var_init_11.apply(null, arguments);
  20799. });
  20800. var real____cxx_global_var_init_110 = asm["___cxx_global_var_init_110"];
  20801. asm["___cxx_global_var_init_110"] = (function() {
  20802. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20803. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20804. return real____cxx_global_var_init_110.apply(null, arguments);
  20805. });
  20806. var real____cxx_global_var_init_111 = asm["___cxx_global_var_init_111"];
  20807. asm["___cxx_global_var_init_111"] = (function() {
  20808. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20809. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20810. return real____cxx_global_var_init_111.apply(null, arguments);
  20811. });
  20812. var real____cxx_global_var_init_112 = asm["___cxx_global_var_init_112"];
  20813. asm["___cxx_global_var_init_112"] = (function() {
  20814. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20815. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20816. return real____cxx_global_var_init_112.apply(null, arguments);
  20817. });
  20818. var real____cxx_global_var_init_113 = asm["___cxx_global_var_init_113"];
  20819. asm["___cxx_global_var_init_113"] = (function() {
  20820. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20821. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20822. return real____cxx_global_var_init_113.apply(null, arguments);
  20823. });
  20824. var real____cxx_global_var_init_114 = asm["___cxx_global_var_init_114"];
  20825. asm["___cxx_global_var_init_114"] = (function() {
  20826. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20827. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20828. return real____cxx_global_var_init_114.apply(null, arguments);
  20829. });
  20830. var real____cxx_global_var_init_11_8161 = asm["___cxx_global_var_init_11_8161"];
  20831. asm["___cxx_global_var_init_11_8161"] = (function() {
  20832. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20833. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20834. return real____cxx_global_var_init_11_8161.apply(null, arguments);
  20835. });
  20836. var real____cxx_global_var_init_12 = asm["___cxx_global_var_init_12"];
  20837. asm["___cxx_global_var_init_12"] = (function() {
  20838. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20839. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20840. return real____cxx_global_var_init_12.apply(null, arguments);
  20841. });
  20842. var real____cxx_global_var_init_12_8162 = asm["___cxx_global_var_init_12_8162"];
  20843. asm["___cxx_global_var_init_12_8162"] = (function() {
  20844. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20845. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20846. return real____cxx_global_var_init_12_8162.apply(null, arguments);
  20847. });
  20848. var real____cxx_global_var_init_136 = asm["___cxx_global_var_init_136"];
  20849. asm["___cxx_global_var_init_136"] = (function() {
  20850. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20851. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20852. return real____cxx_global_var_init_136.apply(null, arguments);
  20853. });
  20854. var real____cxx_global_var_init_137 = asm["___cxx_global_var_init_137"];
  20855. asm["___cxx_global_var_init_137"] = (function() {
  20856. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20857. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20858. return real____cxx_global_var_init_137.apply(null, arguments);
  20859. });
  20860. var real____cxx_global_var_init_145 = asm["___cxx_global_var_init_145"];
  20861. asm["___cxx_global_var_init_145"] = (function() {
  20862. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20863. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20864. return real____cxx_global_var_init_145.apply(null, arguments);
  20865. });
  20866. var real____cxx_global_var_init_148 = asm["___cxx_global_var_init_148"];
  20867. asm["___cxx_global_var_init_148"] = (function() {
  20868. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20869. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20870. return real____cxx_global_var_init_148.apply(null, arguments);
  20871. });
  20872. var real____cxx_global_var_init_149 = asm["___cxx_global_var_init_149"];
  20873. asm["___cxx_global_var_init_149"] = (function() {
  20874. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20875. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20876. return real____cxx_global_var_init_149.apply(null, arguments);
  20877. });
  20878. var real____cxx_global_var_init_15 = asm["___cxx_global_var_init_15"];
  20879. asm["___cxx_global_var_init_15"] = (function() {
  20880. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20881. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20882. return real____cxx_global_var_init_15.apply(null, arguments);
  20883. });
  20884. var real____cxx_global_var_init_150 = asm["___cxx_global_var_init_150"];
  20885. asm["___cxx_global_var_init_150"] = (function() {
  20886. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20887. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20888. return real____cxx_global_var_init_150.apply(null, arguments);
  20889. });
  20890. var real____cxx_global_var_init_155 = asm["___cxx_global_var_init_155"];
  20891. asm["___cxx_global_var_init_155"] = (function() {
  20892. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20893. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20894. return real____cxx_global_var_init_155.apply(null, arguments);
  20895. });
  20896. var real____cxx_global_var_init_165 = asm["___cxx_global_var_init_165"];
  20897. asm["___cxx_global_var_init_165"] = (function() {
  20898. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20899. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20900. return real____cxx_global_var_init_165.apply(null, arguments);
  20901. });
  20902. var real____cxx_global_var_init_17 = asm["___cxx_global_var_init_17"];
  20903. asm["___cxx_global_var_init_17"] = (function() {
  20904. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20905. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20906. return real____cxx_global_var_init_17.apply(null, arguments);
  20907. });
  20908. var real____cxx_global_var_init_17056 = asm["___cxx_global_var_init_17056"];
  20909. asm["___cxx_global_var_init_17056"] = (function() {
  20910. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20911. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20912. return real____cxx_global_var_init_17056.apply(null, arguments);
  20913. });
  20914. var real____cxx_global_var_init_172 = asm["___cxx_global_var_init_172"];
  20915. asm["___cxx_global_var_init_172"] = (function() {
  20916. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20917. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20918. return real____cxx_global_var_init_172.apply(null, arguments);
  20919. });
  20920. var real____cxx_global_var_init_173 = asm["___cxx_global_var_init_173"];
  20921. asm["___cxx_global_var_init_173"] = (function() {
  20922. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20923. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20924. return real____cxx_global_var_init_173.apply(null, arguments);
  20925. });
  20926. var real____cxx_global_var_init_174 = asm["___cxx_global_var_init_174"];
  20927. asm["___cxx_global_var_init_174"] = (function() {
  20928. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20929. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20930. return real____cxx_global_var_init_174.apply(null, arguments);
  20931. });
  20932. var real____cxx_global_var_init_175 = asm["___cxx_global_var_init_175"];
  20933. asm["___cxx_global_var_init_175"] = (function() {
  20934. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20935. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20936. return real____cxx_global_var_init_175.apply(null, arguments);
  20937. });
  20938. var real____cxx_global_var_init_176 = asm["___cxx_global_var_init_176"];
  20939. asm["___cxx_global_var_init_176"] = (function() {
  20940. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20941. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20942. return real____cxx_global_var_init_176.apply(null, arguments);
  20943. });
  20944. var real____cxx_global_var_init_177 = asm["___cxx_global_var_init_177"];
  20945. asm["___cxx_global_var_init_177"] = (function() {
  20946. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20947. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20948. return real____cxx_global_var_init_177.apply(null, arguments);
  20949. });
  20950. var real____cxx_global_var_init_178 = asm["___cxx_global_var_init_178"];
  20951. asm["___cxx_global_var_init_178"] = (function() {
  20952. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20953. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20954. return real____cxx_global_var_init_178.apply(null, arguments);
  20955. });
  20956. var real____cxx_global_var_init_179 = asm["___cxx_global_var_init_179"];
  20957. asm["___cxx_global_var_init_179"] = (function() {
  20958. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20959. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20960. return real____cxx_global_var_init_179.apply(null, arguments);
  20961. });
  20962. var real____cxx_global_var_init_18 = asm["___cxx_global_var_init_18"];
  20963. asm["___cxx_global_var_init_18"] = (function() {
  20964. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20965. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20966. return real____cxx_global_var_init_18.apply(null, arguments);
  20967. });
  20968. var real____cxx_global_var_init_180 = asm["___cxx_global_var_init_180"];
  20969. asm["___cxx_global_var_init_180"] = (function() {
  20970. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20971. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20972. return real____cxx_global_var_init_180.apply(null, arguments);
  20973. });
  20974. var real____cxx_global_var_init_181 = asm["___cxx_global_var_init_181"];
  20975. asm["___cxx_global_var_init_181"] = (function() {
  20976. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20977. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20978. return real____cxx_global_var_init_181.apply(null, arguments);
  20979. });
  20980. var real____cxx_global_var_init_182 = asm["___cxx_global_var_init_182"];
  20981. asm["___cxx_global_var_init_182"] = (function() {
  20982. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20983. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20984. return real____cxx_global_var_init_182.apply(null, arguments);
  20985. });
  20986. var real____cxx_global_var_init_183 = asm["___cxx_global_var_init_183"];
  20987. asm["___cxx_global_var_init_183"] = (function() {
  20988. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20989. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20990. return real____cxx_global_var_init_183.apply(null, arguments);
  20991. });
  20992. var real____cxx_global_var_init_184 = asm["___cxx_global_var_init_184"];
  20993. asm["___cxx_global_var_init_184"] = (function() {
  20994. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  20995. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  20996. return real____cxx_global_var_init_184.apply(null, arguments);
  20997. });
  20998. var real____cxx_global_var_init_185 = asm["___cxx_global_var_init_185"];
  20999. asm["___cxx_global_var_init_185"] = (function() {
  21000. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21001. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21002. return real____cxx_global_var_init_185.apply(null, arguments);
  21003. });
  21004. var real____cxx_global_var_init_186 = asm["___cxx_global_var_init_186"];
  21005. asm["___cxx_global_var_init_186"] = (function() {
  21006. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21007. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21008. return real____cxx_global_var_init_186.apply(null, arguments);
  21009. });
  21010. var real____cxx_global_var_init_187 = asm["___cxx_global_var_init_187"];
  21011. asm["___cxx_global_var_init_187"] = (function() {
  21012. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21013. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21014. return real____cxx_global_var_init_187.apply(null, arguments);
  21015. });
  21016. var real____cxx_global_var_init_188 = asm["___cxx_global_var_init_188"];
  21017. asm["___cxx_global_var_init_188"] = (function() {
  21018. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21019. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21020. return real____cxx_global_var_init_188.apply(null, arguments);
  21021. });
  21022. var real____cxx_global_var_init_189 = asm["___cxx_global_var_init_189"];
  21023. asm["___cxx_global_var_init_189"] = (function() {
  21024. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21025. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21026. return real____cxx_global_var_init_189.apply(null, arguments);
  21027. });
  21028. var real____cxx_global_var_init_19 = asm["___cxx_global_var_init_19"];
  21029. asm["___cxx_global_var_init_19"] = (function() {
  21030. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21031. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21032. return real____cxx_global_var_init_19.apply(null, arguments);
  21033. });
  21034. var real____cxx_global_var_init_190 = asm["___cxx_global_var_init_190"];
  21035. asm["___cxx_global_var_init_190"] = (function() {
  21036. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21037. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21038. return real____cxx_global_var_init_190.apply(null, arguments);
  21039. });
  21040. var real____cxx_global_var_init_191 = asm["___cxx_global_var_init_191"];
  21041. asm["___cxx_global_var_init_191"] = (function() {
  21042. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21043. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21044. return real____cxx_global_var_init_191.apply(null, arguments);
  21045. });
  21046. var real____cxx_global_var_init_192 = asm["___cxx_global_var_init_192"];
  21047. asm["___cxx_global_var_init_192"] = (function() {
  21048. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21049. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21050. return real____cxx_global_var_init_192.apply(null, arguments);
  21051. });
  21052. var real____cxx_global_var_init_192_8369 = asm["___cxx_global_var_init_192_8369"];
  21053. asm["___cxx_global_var_init_192_8369"] = (function() {
  21054. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21055. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21056. return real____cxx_global_var_init_192_8369.apply(null, arguments);
  21057. });
  21058. var real____cxx_global_var_init_193 = asm["___cxx_global_var_init_193"];
  21059. asm["___cxx_global_var_init_193"] = (function() {
  21060. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21061. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21062. return real____cxx_global_var_init_193.apply(null, arguments);
  21063. });
  21064. var real____cxx_global_var_init_193_8370 = asm["___cxx_global_var_init_193_8370"];
  21065. asm["___cxx_global_var_init_193_8370"] = (function() {
  21066. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21067. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21068. return real____cxx_global_var_init_193_8370.apply(null, arguments);
  21069. });
  21070. var real____cxx_global_var_init_194 = asm["___cxx_global_var_init_194"];
  21071. asm["___cxx_global_var_init_194"] = (function() {
  21072. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21073. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21074. return real____cxx_global_var_init_194.apply(null, arguments);
  21075. });
  21076. var real____cxx_global_var_init_194_8371 = asm["___cxx_global_var_init_194_8371"];
  21077. asm["___cxx_global_var_init_194_8371"] = (function() {
  21078. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21079. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21080. return real____cxx_global_var_init_194_8371.apply(null, arguments);
  21081. });
  21082. var real____cxx_global_var_init_195 = asm["___cxx_global_var_init_195"];
  21083. asm["___cxx_global_var_init_195"] = (function() {
  21084. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21085. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21086. return real____cxx_global_var_init_195.apply(null, arguments);
  21087. });
  21088. var real____cxx_global_var_init_195_8372 = asm["___cxx_global_var_init_195_8372"];
  21089. asm["___cxx_global_var_init_195_8372"] = (function() {
  21090. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21091. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21092. return real____cxx_global_var_init_195_8372.apply(null, arguments);
  21093. });
  21094. var real____cxx_global_var_init_196 = asm["___cxx_global_var_init_196"];
  21095. asm["___cxx_global_var_init_196"] = (function() {
  21096. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21097. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21098. return real____cxx_global_var_init_196.apply(null, arguments);
  21099. });
  21100. var real____cxx_global_var_init_196_8373 = asm["___cxx_global_var_init_196_8373"];
  21101. asm["___cxx_global_var_init_196_8373"] = (function() {
  21102. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21103. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21104. return real____cxx_global_var_init_196_8373.apply(null, arguments);
  21105. });
  21106. var real____cxx_global_var_init_197 = asm["___cxx_global_var_init_197"];
  21107. asm["___cxx_global_var_init_197"] = (function() {
  21108. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21109. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21110. return real____cxx_global_var_init_197.apply(null, arguments);
  21111. });
  21112. var real____cxx_global_var_init_197_8374 = asm["___cxx_global_var_init_197_8374"];
  21113. asm["___cxx_global_var_init_197_8374"] = (function() {
  21114. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21115. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21116. return real____cxx_global_var_init_197_8374.apply(null, arguments);
  21117. });
  21118. var real____cxx_global_var_init_198 = asm["___cxx_global_var_init_198"];
  21119. asm["___cxx_global_var_init_198"] = (function() {
  21120. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21121. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21122. return real____cxx_global_var_init_198.apply(null, arguments);
  21123. });
  21124. var real____cxx_global_var_init_198_8375 = asm["___cxx_global_var_init_198_8375"];
  21125. asm["___cxx_global_var_init_198_8375"] = (function() {
  21126. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21127. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21128. return real____cxx_global_var_init_198_8375.apply(null, arguments);
  21129. });
  21130. var real____cxx_global_var_init_199 = asm["___cxx_global_var_init_199"];
  21131. asm["___cxx_global_var_init_199"] = (function() {
  21132. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21133. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21134. return real____cxx_global_var_init_199.apply(null, arguments);
  21135. });
  21136. var real____cxx_global_var_init_199_1313 = asm["___cxx_global_var_init_199_1313"];
  21137. asm["___cxx_global_var_init_199_1313"] = (function() {
  21138. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21139. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21140. return real____cxx_global_var_init_199_1313.apply(null, arguments);
  21141. });
  21142. var real____cxx_global_var_init_1_7192 = asm["___cxx_global_var_init_1_7192"];
  21143. asm["___cxx_global_var_init_1_7192"] = (function() {
  21144. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21145. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21146. return real____cxx_global_var_init_1_7192.apply(null, arguments);
  21147. });
  21148. var real____cxx_global_var_init_1_9523 = asm["___cxx_global_var_init_1_9523"];
  21149. asm["___cxx_global_var_init_1_9523"] = (function() {
  21150. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21151. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21152. return real____cxx_global_var_init_1_9523.apply(null, arguments);
  21153. });
  21154. var real____cxx_global_var_init_20 = asm["___cxx_global_var_init_20"];
  21155. asm["___cxx_global_var_init_20"] = (function() {
  21156. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21157. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21158. return real____cxx_global_var_init_20.apply(null, arguments);
  21159. });
  21160. var real____cxx_global_var_init_200 = asm["___cxx_global_var_init_200"];
  21161. asm["___cxx_global_var_init_200"] = (function() {
  21162. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21163. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21164. return real____cxx_global_var_init_200.apply(null, arguments);
  21165. });
  21166. var real____cxx_global_var_init_201 = asm["___cxx_global_var_init_201"];
  21167. asm["___cxx_global_var_init_201"] = (function() {
  21168. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21169. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21170. return real____cxx_global_var_init_201.apply(null, arguments);
  21171. });
  21172. var real____cxx_global_var_init_202 = asm["___cxx_global_var_init_202"];
  21173. asm["___cxx_global_var_init_202"] = (function() {
  21174. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21175. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21176. return real____cxx_global_var_init_202.apply(null, arguments);
  21177. });
  21178. var real____cxx_global_var_init_203 = asm["___cxx_global_var_init_203"];
  21179. asm["___cxx_global_var_init_203"] = (function() {
  21180. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21181. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21182. return real____cxx_global_var_init_203.apply(null, arguments);
  21183. });
  21184. var real____cxx_global_var_init_204 = asm["___cxx_global_var_init_204"];
  21185. asm["___cxx_global_var_init_204"] = (function() {
  21186. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21187. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21188. return real____cxx_global_var_init_204.apply(null, arguments);
  21189. });
  21190. var real____cxx_global_var_init_205 = asm["___cxx_global_var_init_205"];
  21191. asm["___cxx_global_var_init_205"] = (function() {
  21192. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21193. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21194. return real____cxx_global_var_init_205.apply(null, arguments);
  21195. });
  21196. var real____cxx_global_var_init_206 = asm["___cxx_global_var_init_206"];
  21197. asm["___cxx_global_var_init_206"] = (function() {
  21198. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21199. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21200. return real____cxx_global_var_init_206.apply(null, arguments);
  21201. });
  21202. var real____cxx_global_var_init_207 = asm["___cxx_global_var_init_207"];
  21203. asm["___cxx_global_var_init_207"] = (function() {
  21204. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21205. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21206. return real____cxx_global_var_init_207.apply(null, arguments);
  21207. });
  21208. var real____cxx_global_var_init_208 = asm["___cxx_global_var_init_208"];
  21209. asm["___cxx_global_var_init_208"] = (function() {
  21210. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21211. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21212. return real____cxx_global_var_init_208.apply(null, arguments);
  21213. });
  21214. var real____cxx_global_var_init_209 = asm["___cxx_global_var_init_209"];
  21215. asm["___cxx_global_var_init_209"] = (function() {
  21216. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21217. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21218. return real____cxx_global_var_init_209.apply(null, arguments);
  21219. });
  21220. var real____cxx_global_var_init_21 = asm["___cxx_global_var_init_21"];
  21221. asm["___cxx_global_var_init_21"] = (function() {
  21222. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21223. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21224. return real____cxx_global_var_init_21.apply(null, arguments);
  21225. });
  21226. var real____cxx_global_var_init_210 = asm["___cxx_global_var_init_210"];
  21227. asm["___cxx_global_var_init_210"] = (function() {
  21228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21230. return real____cxx_global_var_init_210.apply(null, arguments);
  21231. });
  21232. var real____cxx_global_var_init_210_8376 = asm["___cxx_global_var_init_210_8376"];
  21233. asm["___cxx_global_var_init_210_8376"] = (function() {
  21234. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21235. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21236. return real____cxx_global_var_init_210_8376.apply(null, arguments);
  21237. });
  21238. var real____cxx_global_var_init_211 = asm["___cxx_global_var_init_211"];
  21239. asm["___cxx_global_var_init_211"] = (function() {
  21240. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21241. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21242. return real____cxx_global_var_init_211.apply(null, arguments);
  21243. });
  21244. var real____cxx_global_var_init_211_8377 = asm["___cxx_global_var_init_211_8377"];
  21245. asm["___cxx_global_var_init_211_8377"] = (function() {
  21246. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21247. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21248. return real____cxx_global_var_init_211_8377.apply(null, arguments);
  21249. });
  21250. var real____cxx_global_var_init_212 = asm["___cxx_global_var_init_212"];
  21251. asm["___cxx_global_var_init_212"] = (function() {
  21252. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21253. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21254. return real____cxx_global_var_init_212.apply(null, arguments);
  21255. });
  21256. var real____cxx_global_var_init_213 = asm["___cxx_global_var_init_213"];
  21257. asm["___cxx_global_var_init_213"] = (function() {
  21258. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21259. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21260. return real____cxx_global_var_init_213.apply(null, arguments);
  21261. });
  21262. var real____cxx_global_var_init_214 = asm["___cxx_global_var_init_214"];
  21263. asm["___cxx_global_var_init_214"] = (function() {
  21264. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21265. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21266. return real____cxx_global_var_init_214.apply(null, arguments);
  21267. });
  21268. var real____cxx_global_var_init_215 = asm["___cxx_global_var_init_215"];
  21269. asm["___cxx_global_var_init_215"] = (function() {
  21270. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21271. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21272. return real____cxx_global_var_init_215.apply(null, arguments);
  21273. });
  21274. var real____cxx_global_var_init_216 = asm["___cxx_global_var_init_216"];
  21275. asm["___cxx_global_var_init_216"] = (function() {
  21276. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21277. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21278. return real____cxx_global_var_init_216.apply(null, arguments);
  21279. });
  21280. var real____cxx_global_var_init_217 = asm["___cxx_global_var_init_217"];
  21281. asm["___cxx_global_var_init_217"] = (function() {
  21282. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21283. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21284. return real____cxx_global_var_init_217.apply(null, arguments);
  21285. });
  21286. var real____cxx_global_var_init_218 = asm["___cxx_global_var_init_218"];
  21287. asm["___cxx_global_var_init_218"] = (function() {
  21288. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21289. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21290. return real____cxx_global_var_init_218.apply(null, arguments);
  21291. });
  21292. var real____cxx_global_var_init_219 = asm["___cxx_global_var_init_219"];
  21293. asm["___cxx_global_var_init_219"] = (function() {
  21294. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21295. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21296. return real____cxx_global_var_init_219.apply(null, arguments);
  21297. });
  21298. var real____cxx_global_var_init_220 = asm["___cxx_global_var_init_220"];
  21299. asm["___cxx_global_var_init_220"] = (function() {
  21300. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21301. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21302. return real____cxx_global_var_init_220.apply(null, arguments);
  21303. });
  21304. var real____cxx_global_var_init_221 = asm["___cxx_global_var_init_221"];
  21305. asm["___cxx_global_var_init_221"] = (function() {
  21306. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21307. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21308. return real____cxx_global_var_init_221.apply(null, arguments);
  21309. });
  21310. var real____cxx_global_var_init_222 = asm["___cxx_global_var_init_222"];
  21311. asm["___cxx_global_var_init_222"] = (function() {
  21312. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21313. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21314. return real____cxx_global_var_init_222.apply(null, arguments);
  21315. });
  21316. var real____cxx_global_var_init_223 = asm["___cxx_global_var_init_223"];
  21317. asm["___cxx_global_var_init_223"] = (function() {
  21318. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21319. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21320. return real____cxx_global_var_init_223.apply(null, arguments);
  21321. });
  21322. var real____cxx_global_var_init_224 = asm["___cxx_global_var_init_224"];
  21323. asm["___cxx_global_var_init_224"] = (function() {
  21324. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21325. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21326. return real____cxx_global_var_init_224.apply(null, arguments);
  21327. });
  21328. var real____cxx_global_var_init_225 = asm["___cxx_global_var_init_225"];
  21329. asm["___cxx_global_var_init_225"] = (function() {
  21330. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21331. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21332. return real____cxx_global_var_init_225.apply(null, arguments);
  21333. });
  21334. var real____cxx_global_var_init_226 = asm["___cxx_global_var_init_226"];
  21335. asm["___cxx_global_var_init_226"] = (function() {
  21336. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21337. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21338. return real____cxx_global_var_init_226.apply(null, arguments);
  21339. });
  21340. var real____cxx_global_var_init_227 = asm["___cxx_global_var_init_227"];
  21341. asm["___cxx_global_var_init_227"] = (function() {
  21342. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21343. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21344. return real____cxx_global_var_init_227.apply(null, arguments);
  21345. });
  21346. var real____cxx_global_var_init_25 = asm["___cxx_global_var_init_25"];
  21347. asm["___cxx_global_var_init_25"] = (function() {
  21348. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21349. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21350. return real____cxx_global_var_init_25.apply(null, arguments);
  21351. });
  21352. var real____cxx_global_var_init_26 = asm["___cxx_global_var_init_26"];
  21353. asm["___cxx_global_var_init_26"] = (function() {
  21354. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21355. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21356. return real____cxx_global_var_init_26.apply(null, arguments);
  21357. });
  21358. var real____cxx_global_var_init_27 = asm["___cxx_global_var_init_27"];
  21359. asm["___cxx_global_var_init_27"] = (function() {
  21360. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21361. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21362. return real____cxx_global_var_init_27.apply(null, arguments);
  21363. });
  21364. var real____cxx_global_var_init_27_5700 = asm["___cxx_global_var_init_27_5700"];
  21365. asm["___cxx_global_var_init_27_5700"] = (function() {
  21366. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21367. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21368. return real____cxx_global_var_init_27_5700.apply(null, arguments);
  21369. });
  21370. var real____cxx_global_var_init_27_9077 = asm["___cxx_global_var_init_27_9077"];
  21371. asm["___cxx_global_var_init_27_9077"] = (function() {
  21372. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21373. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21374. return real____cxx_global_var_init_27_9077.apply(null, arguments);
  21375. });
  21376. var real____cxx_global_var_init_28 = asm["___cxx_global_var_init_28"];
  21377. asm["___cxx_global_var_init_28"] = (function() {
  21378. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21379. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21380. return real____cxx_global_var_init_28.apply(null, arguments);
  21381. });
  21382. var real____cxx_global_var_init_28_7231 = asm["___cxx_global_var_init_28_7231"];
  21383. asm["___cxx_global_var_init_28_7231"] = (function() {
  21384. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21385. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21386. return real____cxx_global_var_init_28_7231.apply(null, arguments);
  21387. });
  21388. var real____cxx_global_var_init_29_4253 = asm["___cxx_global_var_init_29_4253"];
  21389. asm["___cxx_global_var_init_29_4253"] = (function() {
  21390. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21391. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21392. return real____cxx_global_var_init_29_4253.apply(null, arguments);
  21393. });
  21394. var real____cxx_global_var_init_29_7232 = asm["___cxx_global_var_init_29_7232"];
  21395. asm["___cxx_global_var_init_29_7232"] = (function() {
  21396. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21397. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21398. return real____cxx_global_var_init_29_7232.apply(null, arguments);
  21399. });
  21400. var real____cxx_global_var_init_29_9078 = asm["___cxx_global_var_init_29_9078"];
  21401. asm["___cxx_global_var_init_29_9078"] = (function() {
  21402. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21403. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21404. return real____cxx_global_var_init_29_9078.apply(null, arguments);
  21405. });
  21406. var real____cxx_global_var_init_2_9524 = asm["___cxx_global_var_init_2_9524"];
  21407. asm["___cxx_global_var_init_2_9524"] = (function() {
  21408. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21409. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21410. return real____cxx_global_var_init_2_9524.apply(null, arguments);
  21411. });
  21412. var real____cxx_global_var_init_2_9864 = asm["___cxx_global_var_init_2_9864"];
  21413. asm["___cxx_global_var_init_2_9864"] = (function() {
  21414. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21415. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21416. return real____cxx_global_var_init_2_9864.apply(null, arguments);
  21417. });
  21418. var real____cxx_global_var_init_30 = asm["___cxx_global_var_init_30"];
  21419. asm["___cxx_global_var_init_30"] = (function() {
  21420. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21421. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21422. return real____cxx_global_var_init_30.apply(null, arguments);
  21423. });
  21424. var real____cxx_global_var_init_30_4254 = asm["___cxx_global_var_init_30_4254"];
  21425. asm["___cxx_global_var_init_30_4254"] = (function() {
  21426. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21427. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21428. return real____cxx_global_var_init_30_4254.apply(null, arguments);
  21429. });
  21430. var real____cxx_global_var_init_31_4255 = asm["___cxx_global_var_init_31_4255"];
  21431. asm["___cxx_global_var_init_31_4255"] = (function() {
  21432. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21433. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21434. return real____cxx_global_var_init_31_4255.apply(null, arguments);
  21435. });
  21436. var real____cxx_global_var_init_31_8777 = asm["___cxx_global_var_init_31_8777"];
  21437. asm["___cxx_global_var_init_31_8777"] = (function() {
  21438. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21439. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21440. return real____cxx_global_var_init_31_8777.apply(null, arguments);
  21441. });
  21442. var real____cxx_global_var_init_31_9079 = asm["___cxx_global_var_init_31_9079"];
  21443. asm["___cxx_global_var_init_31_9079"] = (function() {
  21444. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21445. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21446. return real____cxx_global_var_init_31_9079.apply(null, arguments);
  21447. });
  21448. var real____cxx_global_var_init_32 = asm["___cxx_global_var_init_32"];
  21449. asm["___cxx_global_var_init_32"] = (function() {
  21450. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21451. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21452. return real____cxx_global_var_init_32.apply(null, arguments);
  21453. });
  21454. var real____cxx_global_var_init_33_10214 = asm["___cxx_global_var_init_33_10214"];
  21455. asm["___cxx_global_var_init_33_10214"] = (function() {
  21456. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21457. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21458. return real____cxx_global_var_init_33_10214.apply(null, arguments);
  21459. });
  21460. var real____cxx_global_var_init_33_8778 = asm["___cxx_global_var_init_33_8778"];
  21461. asm["___cxx_global_var_init_33_8778"] = (function() {
  21462. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21463. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21464. return real____cxx_global_var_init_33_8778.apply(null, arguments);
  21465. });
  21466. var real____cxx_global_var_init_34 = asm["___cxx_global_var_init_34"];
  21467. asm["___cxx_global_var_init_34"] = (function() {
  21468. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21469. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21470. return real____cxx_global_var_init_34.apply(null, arguments);
  21471. });
  21472. var real____cxx_global_var_init_34_8779 = asm["___cxx_global_var_init_34_8779"];
  21473. asm["___cxx_global_var_init_34_8779"] = (function() {
  21474. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21475. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21476. return real____cxx_global_var_init_34_8779.apply(null, arguments);
  21477. });
  21478. var real____cxx_global_var_init_34_9191 = asm["___cxx_global_var_init_34_9191"];
  21479. asm["___cxx_global_var_init_34_9191"] = (function() {
  21480. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21481. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21482. return real____cxx_global_var_init_34_9191.apply(null, arguments);
  21483. });
  21484. var real____cxx_global_var_init_35 = asm["___cxx_global_var_init_35"];
  21485. asm["___cxx_global_var_init_35"] = (function() {
  21486. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21487. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21488. return real____cxx_global_var_init_35.apply(null, arguments);
  21489. });
  21490. var real____cxx_global_var_init_35_7722 = asm["___cxx_global_var_init_35_7722"];
  21491. asm["___cxx_global_var_init_35_7722"] = (function() {
  21492. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21493. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21494. return real____cxx_global_var_init_35_7722.apply(null, arguments);
  21495. });
  21496. var real____cxx_global_var_init_36 = asm["___cxx_global_var_init_36"];
  21497. asm["___cxx_global_var_init_36"] = (function() {
  21498. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21499. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21500. return real____cxx_global_var_init_36.apply(null, arguments);
  21501. });
  21502. var real____cxx_global_var_init_36_7723 = asm["___cxx_global_var_init_36_7723"];
  21503. asm["___cxx_global_var_init_36_7723"] = (function() {
  21504. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21505. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21506. return real____cxx_global_var_init_36_7723.apply(null, arguments);
  21507. });
  21508. var real____cxx_global_var_init_37 = asm["___cxx_global_var_init_37"];
  21509. asm["___cxx_global_var_init_37"] = (function() {
  21510. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21511. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21512. return real____cxx_global_var_init_37.apply(null, arguments);
  21513. });
  21514. var real____cxx_global_var_init_38 = asm["___cxx_global_var_init_38"];
  21515. asm["___cxx_global_var_init_38"] = (function() {
  21516. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21517. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21518. return real____cxx_global_var_init_38.apply(null, arguments);
  21519. });
  21520. var real____cxx_global_var_init_39 = asm["___cxx_global_var_init_39"];
  21521. asm["___cxx_global_var_init_39"] = (function() {
  21522. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21523. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21524. return real____cxx_global_var_init_39.apply(null, arguments);
  21525. });
  21526. var real____cxx_global_var_init_3_27 = asm["___cxx_global_var_init_3_27"];
  21527. asm["___cxx_global_var_init_3_27"] = (function() {
  21528. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21529. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21530. return real____cxx_global_var_init_3_27.apply(null, arguments);
  21531. });
  21532. var real____cxx_global_var_init_3_4488 = asm["___cxx_global_var_init_3_4488"];
  21533. asm["___cxx_global_var_init_3_4488"] = (function() {
  21534. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21535. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21536. return real____cxx_global_var_init_3_4488.apply(null, arguments);
  21537. });
  21538. var real____cxx_global_var_init_3_9865 = asm["___cxx_global_var_init_3_9865"];
  21539. asm["___cxx_global_var_init_3_9865"] = (function() {
  21540. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21541. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21542. return real____cxx_global_var_init_3_9865.apply(null, arguments);
  21543. });
  21544. var real____cxx_global_var_init_40 = asm["___cxx_global_var_init_40"];
  21545. asm["___cxx_global_var_init_40"] = (function() {
  21546. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21547. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21548. return real____cxx_global_var_init_40.apply(null, arguments);
  21549. });
  21550. var real____cxx_global_var_init_41 = asm["___cxx_global_var_init_41"];
  21551. asm["___cxx_global_var_init_41"] = (function() {
  21552. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21553. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21554. return real____cxx_global_var_init_41.apply(null, arguments);
  21555. });
  21556. var real____cxx_global_var_init_4115 = asm["___cxx_global_var_init_4115"];
  21557. asm["___cxx_global_var_init_4115"] = (function() {
  21558. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21559. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21560. return real____cxx_global_var_init_4115.apply(null, arguments);
  21561. });
  21562. var real____cxx_global_var_init_41_13454 = asm["___cxx_global_var_init_41_13454"];
  21563. asm["___cxx_global_var_init_41_13454"] = (function() {
  21564. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21565. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21566. return real____cxx_global_var_init_41_13454.apply(null, arguments);
  21567. });
  21568. var real____cxx_global_var_init_42 = asm["___cxx_global_var_init_42"];
  21569. asm["___cxx_global_var_init_42"] = (function() {
  21570. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21571. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21572. return real____cxx_global_var_init_42.apply(null, arguments);
  21573. });
  21574. var real____cxx_global_var_init_43 = asm["___cxx_global_var_init_43"];
  21575. asm["___cxx_global_var_init_43"] = (function() {
  21576. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21577. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21578. return real____cxx_global_var_init_43.apply(null, arguments);
  21579. });
  21580. var real____cxx_global_var_init_43_4835 = asm["___cxx_global_var_init_43_4835"];
  21581. asm["___cxx_global_var_init_43_4835"] = (function() {
  21582. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21583. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21584. return real____cxx_global_var_init_43_4835.apply(null, arguments);
  21585. });
  21586. var real____cxx_global_var_init_44 = asm["___cxx_global_var_init_44"];
  21587. asm["___cxx_global_var_init_44"] = (function() {
  21588. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21589. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21590. return real____cxx_global_var_init_44.apply(null, arguments);
  21591. });
  21592. var real____cxx_global_var_init_44_7941 = asm["___cxx_global_var_init_44_7941"];
  21593. asm["___cxx_global_var_init_44_7941"] = (function() {
  21594. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21595. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21596. return real____cxx_global_var_init_44_7941.apply(null, arguments);
  21597. });
  21598. var real____cxx_global_var_init_45 = asm["___cxx_global_var_init_45"];
  21599. asm["___cxx_global_var_init_45"] = (function() {
  21600. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21601. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21602. return real____cxx_global_var_init_45.apply(null, arguments);
  21603. });
  21604. var real____cxx_global_var_init_46 = asm["___cxx_global_var_init_46"];
  21605. asm["___cxx_global_var_init_46"] = (function() {
  21606. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21607. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21608. return real____cxx_global_var_init_46.apply(null, arguments);
  21609. });
  21610. var real____cxx_global_var_init_46_8331 = asm["___cxx_global_var_init_46_8331"];
  21611. asm["___cxx_global_var_init_46_8331"] = (function() {
  21612. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21613. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21614. return real____cxx_global_var_init_46_8331.apply(null, arguments);
  21615. });
  21616. var real____cxx_global_var_init_47 = asm["___cxx_global_var_init_47"];
  21617. asm["___cxx_global_var_init_47"] = (function() {
  21618. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21619. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21620. return real____cxx_global_var_init_47.apply(null, arguments);
  21621. });
  21622. var real____cxx_global_var_init_47_12771 = asm["___cxx_global_var_init_47_12771"];
  21623. asm["___cxx_global_var_init_47_12771"] = (function() {
  21624. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21625. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21626. return real____cxx_global_var_init_47_12771.apply(null, arguments);
  21627. });
  21628. var real____cxx_global_var_init_47_1314 = asm["___cxx_global_var_init_47_1314"];
  21629. asm["___cxx_global_var_init_47_1314"] = (function() {
  21630. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21631. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21632. return real____cxx_global_var_init_47_1314.apply(null, arguments);
  21633. });
  21634. var real____cxx_global_var_init_47_8332 = asm["___cxx_global_var_init_47_8332"];
  21635. asm["___cxx_global_var_init_47_8332"] = (function() {
  21636. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21637. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21638. return real____cxx_global_var_init_47_8332.apply(null, arguments);
  21639. });
  21640. var real____cxx_global_var_init_48 = asm["___cxx_global_var_init_48"];
  21641. asm["___cxx_global_var_init_48"] = (function() {
  21642. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21643. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21644. return real____cxx_global_var_init_48.apply(null, arguments);
  21645. });
  21646. var real____cxx_global_var_init_48_1315 = asm["___cxx_global_var_init_48_1315"];
  21647. asm["___cxx_global_var_init_48_1315"] = (function() {
  21648. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21649. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21650. return real____cxx_global_var_init_48_1315.apply(null, arguments);
  21651. });
  21652. var real____cxx_global_var_init_48_8333 = asm["___cxx_global_var_init_48_8333"];
  21653. asm["___cxx_global_var_init_48_8333"] = (function() {
  21654. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21655. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21656. return real____cxx_global_var_init_48_8333.apply(null, arguments);
  21657. });
  21658. var real____cxx_global_var_init_49 = asm["___cxx_global_var_init_49"];
  21659. asm["___cxx_global_var_init_49"] = (function() {
  21660. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21661. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21662. return real____cxx_global_var_init_49.apply(null, arguments);
  21663. });
  21664. var real____cxx_global_var_init_49_8334 = asm["___cxx_global_var_init_49_8334"];
  21665. asm["___cxx_global_var_init_49_8334"] = (function() {
  21666. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21667. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21668. return real____cxx_global_var_init_49_8334.apply(null, arguments);
  21669. });
  21670. var real____cxx_global_var_init_4_7135 = asm["___cxx_global_var_init_4_7135"];
  21671. asm["___cxx_global_var_init_4_7135"] = (function() {
  21672. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21673. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21674. return real____cxx_global_var_init_4_7135.apply(null, arguments);
  21675. });
  21676. var real____cxx_global_var_init_4_9866 = asm["___cxx_global_var_init_4_9866"];
  21677. asm["___cxx_global_var_init_4_9866"] = (function() {
  21678. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21679. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21680. return real____cxx_global_var_init_4_9866.apply(null, arguments);
  21681. });
  21682. var real____cxx_global_var_init_5 = asm["___cxx_global_var_init_5"];
  21683. asm["___cxx_global_var_init_5"] = (function() {
  21684. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21685. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21686. return real____cxx_global_var_init_5.apply(null, arguments);
  21687. });
  21688. var real____cxx_global_var_init_50 = asm["___cxx_global_var_init_50"];
  21689. asm["___cxx_global_var_init_50"] = (function() {
  21690. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21691. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21692. return real____cxx_global_var_init_50.apply(null, arguments);
  21693. });
  21694. var real____cxx_global_var_init_51 = asm["___cxx_global_var_init_51"];
  21695. asm["___cxx_global_var_init_51"] = (function() {
  21696. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21697. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21698. return real____cxx_global_var_init_51.apply(null, arguments);
  21699. });
  21700. var real____cxx_global_var_init_52 = asm["___cxx_global_var_init_52"];
  21701. asm["___cxx_global_var_init_52"] = (function() {
  21702. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21703. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21704. return real____cxx_global_var_init_52.apply(null, arguments);
  21705. });
  21706. var real____cxx_global_var_init_53 = asm["___cxx_global_var_init_53"];
  21707. asm["___cxx_global_var_init_53"] = (function() {
  21708. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21709. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21710. return real____cxx_global_var_init_53.apply(null, arguments);
  21711. });
  21712. var real____cxx_global_var_init_53_8335 = asm["___cxx_global_var_init_53_8335"];
  21713. asm["___cxx_global_var_init_53_8335"] = (function() {
  21714. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21715. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21716. return real____cxx_global_var_init_53_8335.apply(null, arguments);
  21717. });
  21718. var real____cxx_global_var_init_54 = asm["___cxx_global_var_init_54"];
  21719. asm["___cxx_global_var_init_54"] = (function() {
  21720. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21721. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21722. return real____cxx_global_var_init_54.apply(null, arguments);
  21723. });
  21724. var real____cxx_global_var_init_55 = asm["___cxx_global_var_init_55"];
  21725. asm["___cxx_global_var_init_55"] = (function() {
  21726. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21727. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21728. return real____cxx_global_var_init_55.apply(null, arguments);
  21729. });
  21730. var real____cxx_global_var_init_55_9705 = asm["___cxx_global_var_init_55_9705"];
  21731. asm["___cxx_global_var_init_55_9705"] = (function() {
  21732. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21733. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21734. return real____cxx_global_var_init_55_9705.apply(null, arguments);
  21735. });
  21736. var real____cxx_global_var_init_56 = asm["___cxx_global_var_init_56"];
  21737. asm["___cxx_global_var_init_56"] = (function() {
  21738. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21739. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21740. return real____cxx_global_var_init_56.apply(null, arguments);
  21741. });
  21742. var real____cxx_global_var_init_57 = asm["___cxx_global_var_init_57"];
  21743. asm["___cxx_global_var_init_57"] = (function() {
  21744. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21745. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21746. return real____cxx_global_var_init_57.apply(null, arguments);
  21747. });
  21748. var real____cxx_global_var_init_58 = asm["___cxx_global_var_init_58"];
  21749. asm["___cxx_global_var_init_58"] = (function() {
  21750. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21751. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21752. return real____cxx_global_var_init_58.apply(null, arguments);
  21753. });
  21754. var real____cxx_global_var_init_58_4836 = asm["___cxx_global_var_init_58_4836"];
  21755. asm["___cxx_global_var_init_58_4836"] = (function() {
  21756. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21757. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21758. return real____cxx_global_var_init_58_4836.apply(null, arguments);
  21759. });
  21760. var real____cxx_global_var_init_58_9706 = asm["___cxx_global_var_init_58_9706"];
  21761. asm["___cxx_global_var_init_58_9706"] = (function() {
  21762. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21763. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21764. return real____cxx_global_var_init_58_9706.apply(null, arguments);
  21765. });
  21766. var real____cxx_global_var_init_59 = asm["___cxx_global_var_init_59"];
  21767. asm["___cxx_global_var_init_59"] = (function() {
  21768. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21769. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21770. return real____cxx_global_var_init_59.apply(null, arguments);
  21771. });
  21772. var real____cxx_global_var_init_59_4837 = asm["___cxx_global_var_init_59_4837"];
  21773. asm["___cxx_global_var_init_59_4837"] = (function() {
  21774. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21775. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21776. return real____cxx_global_var_init_59_4837.apply(null, arguments);
  21777. });
  21778. var real____cxx_global_var_init_59_9707 = asm["___cxx_global_var_init_59_9707"];
  21779. asm["___cxx_global_var_init_59_9707"] = (function() {
  21780. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21781. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21782. return real____cxx_global_var_init_59_9707.apply(null, arguments);
  21783. });
  21784. var real____cxx_global_var_init_5_9867 = asm["___cxx_global_var_init_5_9867"];
  21785. asm["___cxx_global_var_init_5_9867"] = (function() {
  21786. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21787. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21788. return real____cxx_global_var_init_5_9867.apply(null, arguments);
  21789. });
  21790. var real____cxx_global_var_init_60 = asm["___cxx_global_var_init_60"];
  21791. asm["___cxx_global_var_init_60"] = (function() {
  21792. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21793. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21794. return real____cxx_global_var_init_60.apply(null, arguments);
  21795. });
  21796. var real____cxx_global_var_init_60_4838 = asm["___cxx_global_var_init_60_4838"];
  21797. asm["___cxx_global_var_init_60_4838"] = (function() {
  21798. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21799. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21800. return real____cxx_global_var_init_60_4838.apply(null, arguments);
  21801. });
  21802. var real____cxx_global_var_init_60_9708 = asm["___cxx_global_var_init_60_9708"];
  21803. asm["___cxx_global_var_init_60_9708"] = (function() {
  21804. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21805. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21806. return real____cxx_global_var_init_60_9708.apply(null, arguments);
  21807. });
  21808. var real____cxx_global_var_init_61 = asm["___cxx_global_var_init_61"];
  21809. asm["___cxx_global_var_init_61"] = (function() {
  21810. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21811. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21812. return real____cxx_global_var_init_61.apply(null, arguments);
  21813. });
  21814. var real____cxx_global_var_init_61_9709 = asm["___cxx_global_var_init_61_9709"];
  21815. asm["___cxx_global_var_init_61_9709"] = (function() {
  21816. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21817. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21818. return real____cxx_global_var_init_61_9709.apply(null, arguments);
  21819. });
  21820. var real____cxx_global_var_init_63 = asm["___cxx_global_var_init_63"];
  21821. asm["___cxx_global_var_init_63"] = (function() {
  21822. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21823. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21824. return real____cxx_global_var_init_63.apply(null, arguments);
  21825. });
  21826. var real____cxx_global_var_init_67 = asm["___cxx_global_var_init_67"];
  21827. asm["___cxx_global_var_init_67"] = (function() {
  21828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21830. return real____cxx_global_var_init_67.apply(null, arguments);
  21831. });
  21832. var real____cxx_global_var_init_6_4575 = asm["___cxx_global_var_init_6_4575"];
  21833. asm["___cxx_global_var_init_6_4575"] = (function() {
  21834. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21835. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21836. return real____cxx_global_var_init_6_4575.apply(null, arguments);
  21837. });
  21838. var real____cxx_global_var_init_6_748 = asm["___cxx_global_var_init_6_748"];
  21839. asm["___cxx_global_var_init_6_748"] = (function() {
  21840. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21841. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21842. return real____cxx_global_var_init_6_748.apply(null, arguments);
  21843. });
  21844. var real____cxx_global_var_init_6_9868 = asm["___cxx_global_var_init_6_9868"];
  21845. asm["___cxx_global_var_init_6_9868"] = (function() {
  21846. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21847. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21848. return real____cxx_global_var_init_6_9868.apply(null, arguments);
  21849. });
  21850. var real____cxx_global_var_init_7 = asm["___cxx_global_var_init_7"];
  21851. asm["___cxx_global_var_init_7"] = (function() {
  21852. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21853. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21854. return real____cxx_global_var_init_7.apply(null, arguments);
  21855. });
  21856. var real____cxx_global_var_init_71 = asm["___cxx_global_var_init_71"];
  21857. asm["___cxx_global_var_init_71"] = (function() {
  21858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21860. return real____cxx_global_var_init_71.apply(null, arguments);
  21861. });
  21862. var real____cxx_global_var_init_78 = asm["___cxx_global_var_init_78"];
  21863. asm["___cxx_global_var_init_78"] = (function() {
  21864. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21865. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21866. return real____cxx_global_var_init_78.apply(null, arguments);
  21867. });
  21868. var real____cxx_global_var_init_79 = asm["___cxx_global_var_init_79"];
  21869. asm["___cxx_global_var_init_79"] = (function() {
  21870. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21871. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21872. return real____cxx_global_var_init_79.apply(null, arguments);
  21873. });
  21874. var real____cxx_global_var_init_7_4576 = asm["___cxx_global_var_init_7_4576"];
  21875. asm["___cxx_global_var_init_7_4576"] = (function() {
  21876. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21877. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21878. return real____cxx_global_var_init_7_4576.apply(null, arguments);
  21879. });
  21880. var real____cxx_global_var_init_7_9869 = asm["___cxx_global_var_init_7_9869"];
  21881. asm["___cxx_global_var_init_7_9869"] = (function() {
  21882. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21883. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21884. return real____cxx_global_var_init_7_9869.apply(null, arguments);
  21885. });
  21886. var real____cxx_global_var_init_8548 = asm["___cxx_global_var_init_8548"];
  21887. asm["___cxx_global_var_init_8548"] = (function() {
  21888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21890. return real____cxx_global_var_init_8548.apply(null, arguments);
  21891. });
  21892. var real____cxx_global_var_init_86 = asm["___cxx_global_var_init_86"];
  21893. asm["___cxx_global_var_init_86"] = (function() {
  21894. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21895. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21896. return real____cxx_global_var_init_86.apply(null, arguments);
  21897. });
  21898. var real____cxx_global_var_init_87 = asm["___cxx_global_var_init_87"];
  21899. asm["___cxx_global_var_init_87"] = (function() {
  21900. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21901. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21902. return real____cxx_global_var_init_87.apply(null, arguments);
  21903. });
  21904. var real____cxx_global_var_init_88 = asm["___cxx_global_var_init_88"];
  21905. asm["___cxx_global_var_init_88"] = (function() {
  21906. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21907. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21908. return real____cxx_global_var_init_88.apply(null, arguments);
  21909. });
  21910. var real____cxx_global_var_init_88_8664 = asm["___cxx_global_var_init_88_8664"];
  21911. asm["___cxx_global_var_init_88_8664"] = (function() {
  21912. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21913. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21914. return real____cxx_global_var_init_88_8664.apply(null, arguments);
  21915. });
  21916. var real____cxx_global_var_init_8_4577 = asm["___cxx_global_var_init_8_4577"];
  21917. asm["___cxx_global_var_init_8_4577"] = (function() {
  21918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21920. return real____cxx_global_var_init_8_4577.apply(null, arguments);
  21921. });
  21922. var real____cxx_global_var_init_8_7072 = asm["___cxx_global_var_init_8_7072"];
  21923. asm["___cxx_global_var_init_8_7072"] = (function() {
  21924. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21925. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21926. return real____cxx_global_var_init_8_7072.apply(null, arguments);
  21927. });
  21928. var real____cxx_global_var_init_8_9870 = asm["___cxx_global_var_init_8_9870"];
  21929. asm["___cxx_global_var_init_8_9870"] = (function() {
  21930. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21931. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21932. return real____cxx_global_var_init_8_9870.apply(null, arguments);
  21933. });
  21934. var real____cxx_global_var_init_91 = asm["___cxx_global_var_init_91"];
  21935. asm["___cxx_global_var_init_91"] = (function() {
  21936. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21937. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21938. return real____cxx_global_var_init_91.apply(null, arguments);
  21939. });
  21940. var real____cxx_global_var_init_92 = asm["___cxx_global_var_init_92"];
  21941. asm["___cxx_global_var_init_92"] = (function() {
  21942. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21943. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21944. return real____cxx_global_var_init_92.apply(null, arguments);
  21945. });
  21946. var real____cxx_global_var_init_92_6295 = asm["___cxx_global_var_init_92_6295"];
  21947. asm["___cxx_global_var_init_92_6295"] = (function() {
  21948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21950. return real____cxx_global_var_init_92_6295.apply(null, arguments);
  21951. });
  21952. var real____cxx_global_var_init_93 = asm["___cxx_global_var_init_93"];
  21953. asm["___cxx_global_var_init_93"] = (function() {
  21954. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21955. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21956. return real____cxx_global_var_init_93.apply(null, arguments);
  21957. });
  21958. var real____cxx_global_var_init_93_6296 = asm["___cxx_global_var_init_93_6296"];
  21959. asm["___cxx_global_var_init_93_6296"] = (function() {
  21960. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21961. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21962. return real____cxx_global_var_init_93_6296.apply(null, arguments);
  21963. });
  21964. var real____cxx_global_var_init_94 = asm["___cxx_global_var_init_94"];
  21965. asm["___cxx_global_var_init_94"] = (function() {
  21966. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21967. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21968. return real____cxx_global_var_init_94.apply(null, arguments);
  21969. });
  21970. var real____cxx_global_var_init_94_6297 = asm["___cxx_global_var_init_94_6297"];
  21971. asm["___cxx_global_var_init_94_6297"] = (function() {
  21972. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21973. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21974. return real____cxx_global_var_init_94_6297.apply(null, arguments);
  21975. });
  21976. var real____cxx_global_var_init_95 = asm["___cxx_global_var_init_95"];
  21977. asm["___cxx_global_var_init_95"] = (function() {
  21978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21980. return real____cxx_global_var_init_95.apply(null, arguments);
  21981. });
  21982. var real____cxx_global_var_init_9_4578 = asm["___cxx_global_var_init_9_4578"];
  21983. asm["___cxx_global_var_init_9_4578"] = (function() {
  21984. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21985. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21986. return real____cxx_global_var_init_9_4578.apply(null, arguments);
  21987. });
  21988. var real____cxx_global_var_init_9_9871 = asm["___cxx_global_var_init_9_9871"];
  21989. asm["___cxx_global_var_init_9_9871"] = (function() {
  21990. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21991. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21992. return real____cxx_global_var_init_9_9871.apply(null, arguments);
  21993. });
  21994. var real____emscripten_environ_constructor = asm["___emscripten_environ_constructor"];
  21995. asm["___emscripten_environ_constructor"] = (function() {
  21996. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  21997. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  21998. return real____emscripten_environ_constructor.apply(null, arguments);
  21999. });
  22000. var real____errno_location = asm["___errno_location"];
  22001. asm["___errno_location"] = (function() {
  22002. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22003. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22004. return real____errno_location.apply(null, arguments);
  22005. });
  22006. var real___get_daylight = asm["__get_daylight"];
  22007. asm["__get_daylight"] = (function() {
  22008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22010. return real___get_daylight.apply(null, arguments);
  22011. });
  22012. var real___get_environ = asm["__get_environ"];
  22013. asm["__get_environ"] = (function() {
  22014. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22015. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22016. return real___get_environ.apply(null, arguments);
  22017. });
  22018. var real___get_timezone = asm["__get_timezone"];
  22019. asm["__get_timezone"] = (function() {
  22020. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22021. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22022. return real___get_timezone.apply(null, arguments);
  22023. });
  22024. var real___get_tzname = asm["__get_tzname"];
  22025. asm["__get_tzname"] = (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 real___get_tzname.apply(null, arguments);
  22029. });
  22030. var real__fflush = asm["_fflush"];
  22031. asm["_fflush"] = (function() {
  22032. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22033. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22034. return real__fflush.apply(null, arguments);
  22035. });
  22036. var real__free = asm["_free"];
  22037. asm["_free"] = (function() {
  22038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22040. return real__free.apply(null, arguments);
  22041. });
  22042. var real__htonl = asm["_htonl"];
  22043. asm["_htonl"] = (function() {
  22044. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22045. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22046. return real__htonl.apply(null, arguments);
  22047. });
  22048. var real__htons = asm["_htons"];
  22049. asm["_htons"] = (function() {
  22050. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22051. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22052. return real__htons.apply(null, arguments);
  22053. });
  22054. var real__i64Add = asm["_i64Add"];
  22055. asm["_i64Add"] = (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 real__i64Add.apply(null, arguments);
  22059. });
  22060. var real__llvm_bswap_i16 = asm["_llvm_bswap_i16"];
  22061. asm["_llvm_bswap_i16"] = (function() {
  22062. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22063. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22064. return real__llvm_bswap_i16.apply(null, arguments);
  22065. });
  22066. var real__llvm_bswap_i32 = asm["_llvm_bswap_i32"];
  22067. asm["_llvm_bswap_i32"] = (function() {
  22068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22070. return real__llvm_bswap_i32.apply(null, arguments);
  22071. });
  22072. var real__llvm_ctlz_i64 = asm["_llvm_ctlz_i64"];
  22073. asm["_llvm_ctlz_i64"] = (function() {
  22074. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22075. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22076. return real__llvm_ctlz_i64.apply(null, arguments);
  22077. });
  22078. var real__llvm_ctpop_i32 = asm["_llvm_ctpop_i32"];
  22079. asm["_llvm_ctpop_i32"] = (function() {
  22080. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22081. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22082. return real__llvm_ctpop_i32.apply(null, arguments);
  22083. });
  22084. var real__llvm_maxnum_f32 = asm["_llvm_maxnum_f32"];
  22085. asm["_llvm_maxnum_f32"] = (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 real__llvm_maxnum_f32.apply(null, arguments);
  22089. });
  22090. var real__llvm_maxnum_f64 = asm["_llvm_maxnum_f64"];
  22091. asm["_llvm_maxnum_f64"] = (function() {
  22092. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22093. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22094. return real__llvm_maxnum_f64.apply(null, arguments);
  22095. });
  22096. var real__llvm_minnum_f32 = asm["_llvm_minnum_f32"];
  22097. asm["_llvm_minnum_f32"] = (function() {
  22098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22100. return real__llvm_minnum_f32.apply(null, arguments);
  22101. });
  22102. var real__llvm_round_f32 = asm["_llvm_round_f32"];
  22103. asm["_llvm_round_f32"] = (function() {
  22104. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22105. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22106. return real__llvm_round_f32.apply(null, arguments);
  22107. });
  22108. var real__main = asm["_main"];
  22109. asm["_main"] = (function() {
  22110. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22111. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22112. return real__main.apply(null, arguments);
  22113. });
  22114. var real__malloc = asm["_malloc"];
  22115. asm["_malloc"] = (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 real__malloc.apply(null, arguments);
  22119. });
  22120. var real__memalign = asm["_memalign"];
  22121. asm["_memalign"] = (function() {
  22122. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22123. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22124. return real__memalign.apply(null, arguments);
  22125. });
  22126. var real__memmove = asm["_memmove"];
  22127. asm["_memmove"] = (function() {
  22128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22130. return real__memmove.apply(null, arguments);
  22131. });
  22132. var real__ntohs = asm["_ntohs"];
  22133. asm["_ntohs"] = (function() {
  22134. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22135. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22136. return real__ntohs.apply(null, arguments);
  22137. });
  22138. var real__pthread_cond_broadcast = asm["_pthread_cond_broadcast"];
  22139. asm["_pthread_cond_broadcast"] = (function() {
  22140. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22141. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22142. return real__pthread_cond_broadcast.apply(null, arguments);
  22143. });
  22144. var real__pthread_mutex_lock = asm["_pthread_mutex_lock"];
  22145. asm["_pthread_mutex_lock"] = (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 real__pthread_mutex_lock.apply(null, arguments);
  22149. });
  22150. var real__pthread_mutex_unlock = asm["_pthread_mutex_unlock"];
  22151. asm["_pthread_mutex_unlock"] = (function() {
  22152. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22153. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22154. return real__pthread_mutex_unlock.apply(null, arguments);
  22155. });
  22156. var real__realloc = asm["_realloc"];
  22157. asm["_realloc"] = (function() {
  22158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22160. return real__realloc.apply(null, arguments);
  22161. });
  22162. var real__sbrk = asm["_sbrk"];
  22163. asm["_sbrk"] = (function() {
  22164. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22165. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22166. return real__sbrk.apply(null, arguments);
  22167. });
  22168. var real__strlen = asm["_strlen"];
  22169. asm["_strlen"] = (function() {
  22170. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22171. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22172. return real__strlen.apply(null, arguments);
  22173. });
  22174. var real_establishStackSpace = asm["establishStackSpace"];
  22175. asm["establishStackSpace"] = (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 real_establishStackSpace.apply(null, arguments);
  22179. });
  22180. var real_getTempRet0 = asm["getTempRet0"];
  22181. asm["getTempRet0"] = (function() {
  22182. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22183. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22184. return real_getTempRet0.apply(null, arguments);
  22185. });
  22186. var real_setTempRet0 = asm["setTempRet0"];
  22187. asm["setTempRet0"] = (function() {
  22188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22190. return real_setTempRet0.apply(null, arguments);
  22191. });
  22192. var real_setThrew = asm["setThrew"];
  22193. asm["setThrew"] = (function() {
  22194. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22195. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22196. return real_setThrew.apply(null, arguments);
  22197. });
  22198. var real_stackAlloc = asm["stackAlloc"];
  22199. asm["stackAlloc"] = (function() {
  22200. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22201. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22202. return real_stackAlloc.apply(null, arguments);
  22203. });
  22204. var real_stackRestore = asm["stackRestore"];
  22205. asm["stackRestore"] = (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 real_stackRestore.apply(null, arguments);
  22209. });
  22210. var real_stackSave = asm["stackSave"];
  22211. asm["stackSave"] = (function() {
  22212. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22213. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22214. return real_stackSave.apply(null, arguments);
  22215. });
  22216. Module["asm"] = asm;
  22217. var _InjectProfilerSample = Module["_InjectProfilerSample"] = (function() {
  22218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22220. return Module["asm"]["_InjectProfilerSample"].apply(null, arguments);
  22221. });
  22222. var _SendMessage = Module["_SendMessage"] = (function() {
  22223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22225. return Module["asm"]["_SendMessage"].apply(null, arguments);
  22226. });
  22227. var _SendMessageFloat = Module["_SendMessageFloat"] = (function() {
  22228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22230. return Module["asm"]["_SendMessageFloat"].apply(null, arguments);
  22231. });
  22232. var _SendMessageString = Module["_SendMessageString"] = (function() {
  22233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22235. return Module["asm"]["_SendMessageString"].apply(null, arguments);
  22236. });
  22237. var _SetFullscreen = Module["_SetFullscreen"] = (function() {
  22238. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22239. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22240. return Module["asm"]["_SetFullscreen"].apply(null, arguments);
  22241. });
  22242. var __GLOBAL__sub_I_AIBindings_gen_cpp = Module["__GLOBAL__sub_I_AIBindings_gen_cpp"] = (function() {
  22243. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22244. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22245. return Module["asm"]["__GLOBAL__sub_I_AIBindings_gen_cpp"].apply(null, arguments);
  22246. });
  22247. var __GLOBAL__sub_I_AIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AIScriptingClasses_cpp"] = (function() {
  22248. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22249. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22250. return Module["asm"]["__GLOBAL__sub_I_AIScriptingClasses_cpp"].apply(null, arguments);
  22251. });
  22252. var __GLOBAL__sub_I_AccessibilityScriptingClasses_cpp = Module["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"] = (function() {
  22253. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22254. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22255. return Module["asm"]["__GLOBAL__sub_I_AccessibilityScriptingClasses_cpp"].apply(null, arguments);
  22256. });
  22257. var __GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp = Module["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"] = (function() {
  22258. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22259. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22260. return Module["asm"]["__GLOBAL__sub_I_AndroidJNIScriptingClasses_cpp"].apply(null, arguments);
  22261. });
  22262. var __GLOBAL__sub_I_AnimationBindings_gen_cpp = Module["__GLOBAL__sub_I_AnimationBindings_gen_cpp"] = (function() {
  22263. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22264. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22265. return Module["asm"]["__GLOBAL__sub_I_AnimationBindings_gen_cpp"].apply(null, arguments);
  22266. });
  22267. var __GLOBAL__sub_I_AnimationClip_cpp = Module["__GLOBAL__sub_I_AnimationClip_cpp"] = (function() {
  22268. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22269. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22270. return Module["asm"]["__GLOBAL__sub_I_AnimationClip_cpp"].apply(null, arguments);
  22271. });
  22272. var __GLOBAL__sub_I_AnimationScriptingClasses_cpp = Module["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"] = (function() {
  22273. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22274. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22275. return Module["asm"]["__GLOBAL__sub_I_AnimationScriptingClasses_cpp"].apply(null, arguments);
  22276. });
  22277. var __GLOBAL__sub_I_AssetBundleFileSystem_cpp = Module["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"] = (function() {
  22278. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22279. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22280. return Module["asm"]["__GLOBAL__sub_I_AssetBundleFileSystem_cpp"].apply(null, arguments);
  22281. });
  22282. var __GLOBAL__sub_I_AssetBundleScriptingClasses_cpp = Module["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"] = (function() {
  22283. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22284. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22285. return Module["asm"]["__GLOBAL__sub_I_AssetBundleScriptingClasses_cpp"].apply(null, arguments);
  22286. });
  22287. var __GLOBAL__sub_I_AudioScriptingClasses_cpp = Module["__GLOBAL__sub_I_AudioScriptingClasses_cpp"] = (function() {
  22288. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22289. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22290. return Module["asm"]["__GLOBAL__sub_I_AudioScriptingClasses_cpp"].apply(null, arguments);
  22291. });
  22292. var __GLOBAL__sub_I_ClothScriptingClasses_cpp = Module["__GLOBAL__sub_I_ClothScriptingClasses_cpp"] = (function() {
  22293. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22294. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22295. return Module["asm"]["__GLOBAL__sub_I_ClothScriptingClasses_cpp"].apply(null, arguments);
  22296. });
  22297. var __GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp = Module["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"] = (function() {
  22298. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22299. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22300. return Module["asm"]["__GLOBAL__sub_I_CloudFoundationScriptingClasses_cpp"].apply(null, arguments);
  22301. });
  22302. var __GLOBAL__sub_I_ConstraintJob_cpp = Module["__GLOBAL__sub_I_ConstraintJob_cpp"] = (function() {
  22303. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22304. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22305. return Module["asm"]["__GLOBAL__sub_I_ConstraintJob_cpp"].apply(null, arguments);
  22306. });
  22307. var __GLOBAL__sub_I_CoreBindings_gen_cpp = Module["__GLOBAL__sub_I_CoreBindings_gen_cpp"] = (function() {
  22308. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22309. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22310. return Module["asm"]["__GLOBAL__sub_I_CoreBindings_gen_cpp"].apply(null, arguments);
  22311. });
  22312. var __GLOBAL__sub_I_DSPGraphBindings_gen_cpp = Module["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"] = (function() {
  22313. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22314. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22315. return Module["asm"]["__GLOBAL__sub_I_DSPGraphBindings_gen_cpp"].apply(null, arguments);
  22316. });
  22317. var __GLOBAL__sub_I_DirectorScriptingClasses_cpp = Module["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"] = (function() {
  22318. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22319. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22320. return Module["asm"]["__GLOBAL__sub_I_DirectorScriptingClasses_cpp"].apply(null, arguments);
  22321. });
  22322. var __GLOBAL__sub_I_ExternalForcesModule_cpp = Module["__GLOBAL__sub_I_ExternalForcesModule_cpp"] = (function() {
  22323. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22324. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22325. return Module["asm"]["__GLOBAL__sub_I_ExternalForcesModule_cpp"].apply(null, arguments);
  22326. });
  22327. var __GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"] = (function() {
  22328. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22329. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22330. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Dynamics_0_cpp"].apply(null, arguments);
  22331. });
  22332. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"] = (function() {
  22333. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22334. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22335. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_0_cpp"].apply(null, arguments);
  22336. });
  22337. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"] = (function() {
  22338. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22339. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22340. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_1_cpp"].apply(null, arguments);
  22341. });
  22342. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"] = (function() {
  22343. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22344. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22345. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_2_cpp"].apply(null, arguments);
  22346. });
  22347. var __GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp = Module["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"] = (function() {
  22348. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22349. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22350. return Module["asm"]["__GLOBAL__sub_I_External_Box2D_Box2D_Jobs_3_cpp"].apply(null, arguments);
  22351. });
  22352. var __GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp = Module["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"] = (function() {
  22353. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22354. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22355. return Module["asm"]["__GLOBAL__sub_I_External_ProphecySDK_BlitOperations_1_cpp"].apply(null, arguments);
  22356. });
  22357. var __GLOBAL__sub_I_External_Yoga_Yoga_0_cpp = Module["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"] = (function() {
  22358. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22359. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22360. return Module["asm"]["__GLOBAL__sub_I_External_Yoga_Yoga_0_cpp"].apply(null, arguments);
  22361. });
  22362. 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() {
  22363. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22364. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22365. return Module["asm"]["__GLOBAL__sub_I_External_il2cpp_builds_external_baselib_Platforms_WebGL_Source_0_cpp"].apply(null, arguments);
  22366. });
  22367. var __GLOBAL__sub_I_GUITexture_cpp = Module["__GLOBAL__sub_I_GUITexture_cpp"] = (function() {
  22368. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22369. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22370. return Module["asm"]["__GLOBAL__sub_I_GUITexture_cpp"].apply(null, arguments);
  22371. });
  22372. var __GLOBAL__sub_I_GfxDeviceNull_cpp = Module["__GLOBAL__sub_I_GfxDeviceNull_cpp"] = (function() {
  22373. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22374. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22375. return Module["asm"]["__GLOBAL__sub_I_GfxDeviceNull_cpp"].apply(null, arguments);
  22376. });
  22377. var __GLOBAL__sub_I_GridScriptingClasses_cpp = Module["__GLOBAL__sub_I_GridScriptingClasses_cpp"] = (function() {
  22378. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22379. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22380. return Module["asm"]["__GLOBAL__sub_I_GridScriptingClasses_cpp"].apply(null, arguments);
  22381. });
  22382. var __GLOBAL__sub_I_IMGUIScriptingClasses_cpp = Module["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"] = (function() {
  22383. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22384. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22385. return Module["asm"]["__GLOBAL__sub_I_IMGUIScriptingClasses_cpp"].apply(null, arguments);
  22386. });
  22387. var __GLOBAL__sub_I_InputLegacyModuleRegistration_cpp = Module["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"] = (function() {
  22388. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22389. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22390. return Module["asm"]["__GLOBAL__sub_I_InputLegacyModuleRegistration_cpp"].apply(null, arguments);
  22391. });
  22392. var __GLOBAL__sub_I_InputLegacyScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"] = (function() {
  22393. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22394. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22395. return Module["asm"]["__GLOBAL__sub_I_InputLegacyScriptingClasses_cpp"].apply(null, arguments);
  22396. });
  22397. var __GLOBAL__sub_I_InputScriptingClasses_cpp = Module["__GLOBAL__sub_I_InputScriptingClasses_cpp"] = (function() {
  22398. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22399. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22400. return Module["asm"]["__GLOBAL__sub_I_InputScriptingClasses_cpp"].apply(null, arguments);
  22401. });
  22402. var __GLOBAL__sub_I_LineRenderer_cpp = Module["__GLOBAL__sub_I_LineRenderer_cpp"] = (function() {
  22403. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22404. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22405. return Module["asm"]["__GLOBAL__sub_I_LineRenderer_cpp"].apply(null, arguments);
  22406. });
  22407. var __GLOBAL__sub_I_LogAssert_cpp = Module["__GLOBAL__sub_I_LogAssert_cpp"] = (function() {
  22408. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22409. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22410. return Module["asm"]["__GLOBAL__sub_I_LogAssert_cpp"].apply(null, arguments);
  22411. });
  22412. var __GLOBAL__sub_I_Lump_libil2cpp_gc_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"] = (function() {
  22413. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22414. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22415. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_gc_cpp"].apply(null, arguments);
  22416. });
  22417. var __GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"] = (function() {
  22418. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22419. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22420. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_icalls_cpp"].apply(null, arguments);
  22421. });
  22422. var __GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"] = (function() {
  22423. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22424. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22425. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_metadata_cpp"].apply(null, arguments);
  22426. });
  22427. var __GLOBAL__sub_I_Lump_libil2cpp_mono_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"] = (function() {
  22428. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22429. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22430. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_mono_cpp"].apply(null, arguments);
  22431. });
  22432. var __GLOBAL__sub_I_Lump_libil2cpp_os_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"] = (function() {
  22433. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22434. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22435. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_os_cpp"].apply(null, arguments);
  22436. });
  22437. var __GLOBAL__sub_I_Lump_libil2cpp_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"] = (function() {
  22438. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22439. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22440. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_utils_cpp"].apply(null, arguments);
  22441. });
  22442. var __GLOBAL__sub_I_Lump_libil2cpp_vm_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"] = (function() {
  22443. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22444. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22445. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_vm_cpp"].apply(null, arguments);
  22446. });
  22447. var __GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp = Module["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"] = (function() {
  22448. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22449. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22450. return Module["asm"]["__GLOBAL__sub_I_Lump_libil2cpp_vm_utils_cpp"].apply(null, arguments);
  22451. });
  22452. var __GLOBAL__sub_I_Mesh_cpp = Module["__GLOBAL__sub_I_Mesh_cpp"] = (function() {
  22453. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22454. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22455. return Module["asm"]["__GLOBAL__sub_I_Mesh_cpp"].apply(null, arguments);
  22456. });
  22457. var __GLOBAL__sub_I_Modules_AI_1_cpp = Module["__GLOBAL__sub_I_Modules_AI_1_cpp"] = (function() {
  22458. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22459. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22460. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_1_cpp"].apply(null, arguments);
  22461. });
  22462. var __GLOBAL__sub_I_Modules_AI_Builder_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"] = (function() {
  22463. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22464. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22465. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Builder_0_cpp"].apply(null, arguments);
  22466. });
  22467. var __GLOBAL__sub_I_Modules_AI_Crowd_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"] = (function() {
  22468. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22469. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22470. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Crowd_0_cpp"].apply(null, arguments);
  22471. });
  22472. var __GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"] = (function() {
  22473. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22474. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22475. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_NavMesh_0_cpp"].apply(null, arguments);
  22476. });
  22477. var __GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp = Module["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"] = (function() {
  22478. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22479. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22480. return Module["asm"]["__GLOBAL__sub_I_Modules_AI_Obstacles_0_cpp"].apply(null, arguments);
  22481. });
  22482. var __GLOBAL__sub_I_Modules_Animation_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_0_cpp"] = (function() {
  22483. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22484. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22485. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_0_cpp"].apply(null, arguments);
  22486. });
  22487. var __GLOBAL__sub_I_Modules_Animation_2_cpp = Module["__GLOBAL__sub_I_Modules_Animation_2_cpp"] = (function() {
  22488. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22489. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22490. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_2_cpp"].apply(null, arguments);
  22491. });
  22492. var __GLOBAL__sub_I_Modules_Animation_3_cpp = Module["__GLOBAL__sub_I_Modules_Animation_3_cpp"] = (function() {
  22493. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22494. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22495. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_3_cpp"].apply(null, arguments);
  22496. });
  22497. var __GLOBAL__sub_I_Modules_Animation_4_cpp = Module["__GLOBAL__sub_I_Modules_Animation_4_cpp"] = (function() {
  22498. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22499. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22500. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_4_cpp"].apply(null, arguments);
  22501. });
  22502. var __GLOBAL__sub_I_Modules_Animation_5_cpp = Module["__GLOBAL__sub_I_Modules_Animation_5_cpp"] = (function() {
  22503. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22504. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22505. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_5_cpp"].apply(null, arguments);
  22506. });
  22507. var __GLOBAL__sub_I_Modules_Animation_6_cpp = Module["__GLOBAL__sub_I_Modules_Animation_6_cpp"] = (function() {
  22508. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22509. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22510. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_6_cpp"].apply(null, arguments);
  22511. });
  22512. var __GLOBAL__sub_I_Modules_Animation_7_cpp = Module["__GLOBAL__sub_I_Modules_Animation_7_cpp"] = (function() {
  22513. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22514. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22515. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_7_cpp"].apply(null, arguments);
  22516. });
  22517. var __GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"] = (function() {
  22518. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22519. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22520. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Constraints_0_cpp"].apply(null, arguments);
  22521. });
  22522. var __GLOBAL__sub_I_Modules_Animation_Director_0_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"] = (function() {
  22523. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22524. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22525. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Director_0_cpp"].apply(null, arguments);
  22526. });
  22527. var __GLOBAL__sub_I_Modules_Animation_Director_1_cpp = Module["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"] = (function() {
  22528. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22529. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22530. return Module["asm"]["__GLOBAL__sub_I_Modules_Animation_Director_1_cpp"].apply(null, arguments);
  22531. });
  22532. var __GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"] = (function() {
  22533. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22534. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22535. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_0_cpp"].apply(null, arguments);
  22536. });
  22537. var __GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"] = (function() {
  22538. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22539. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22540. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_1_cpp"].apply(null, arguments);
  22541. });
  22542. var __GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"] = (function() {
  22543. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22544. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22545. return Module["asm"]["__GLOBAL__sub_I_Modules_AssetBundle_Public_2_cpp"].apply(null, arguments);
  22546. });
  22547. var __GLOBAL__sub_I_Modules_Audio_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"] = (function() {
  22548. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22549. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22550. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_0_cpp"].apply(null, arguments);
  22551. });
  22552. var __GLOBAL__sub_I_Modules_Audio_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"] = (function() {
  22553. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22554. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22555. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_1_cpp"].apply(null, arguments);
  22556. });
  22557. var __GLOBAL__sub_I_Modules_Audio_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"] = (function() {
  22558. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22559. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22560. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_3_cpp"].apply(null, arguments);
  22561. });
  22562. var __GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"] = (function() {
  22563. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22564. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22565. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_ScriptBindings_1_cpp"].apply(null, arguments);
  22566. });
  22567. var __GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp = Module["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"] = (function() {
  22568. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22569. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22570. return Module["asm"]["__GLOBAL__sub_I_Modules_Audio_Public_sound_0_cpp"].apply(null, arguments);
  22571. });
  22572. var __GLOBAL__sub_I_Modules_Cloth_0_cpp = Module["__GLOBAL__sub_I_Modules_Cloth_0_cpp"] = (function() {
  22573. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22574. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22575. return Module["asm"]["__GLOBAL__sub_I_Modules_Cloth_0_cpp"].apply(null, arguments);
  22576. });
  22577. var __GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"] = (function() {
  22578. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22579. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22580. return Module["asm"]["__GLOBAL__sub_I_Modules_CrashReporting_Public_0_cpp"].apply(null, arguments);
  22581. });
  22582. var __GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"] = (function() {
  22583. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22584. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22585. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_0_cpp"].apply(null, arguments);
  22586. });
  22587. var __GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"] = (function() {
  22588. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22589. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22590. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_1_cpp"].apply(null, arguments);
  22591. });
  22592. var __GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"] = (function() {
  22593. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22594. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22595. return Module["asm"]["__GLOBAL__sub_I_Modules_DSPGraph_Public_3_cpp"].apply(null, arguments);
  22596. });
  22597. var __GLOBAL__sub_I_Modules_Grid_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"] = (function() {
  22598. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22599. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22600. return Module["asm"]["__GLOBAL__sub_I_Modules_Grid_Public_0_cpp"].apply(null, arguments);
  22601. });
  22602. var __GLOBAL__sub_I_Modules_IMGUI_0_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"] = (function() {
  22603. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22604. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22605. return Module["asm"]["__GLOBAL__sub_I_Modules_IMGUI_0_cpp"].apply(null, arguments);
  22606. });
  22607. var __GLOBAL__sub_I_Modules_IMGUI_1_cpp = Module["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"] = (function() {
  22608. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22609. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22610. return Module["asm"]["__GLOBAL__sub_I_Modules_IMGUI_1_cpp"].apply(null, arguments);
  22611. });
  22612. var __GLOBAL__sub_I_Modules_Input_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"] = (function() {
  22613. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22614. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22615. return Module["asm"]["__GLOBAL__sub_I_Modules_Input_Private_0_cpp"].apply(null, arguments);
  22616. });
  22617. var __GLOBAL__sub_I_Modules_ParticleSystem_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"] = (function() {
  22618. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22619. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22620. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_0_cpp"].apply(null, arguments);
  22621. });
  22622. var __GLOBAL__sub_I_Modules_ParticleSystem_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"] = (function() {
  22623. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22624. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22625. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_1_cpp"].apply(null, arguments);
  22626. });
  22627. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"] = (function() {
  22628. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22629. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22630. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_0_cpp"].apply(null, arguments);
  22631. });
  22632. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"] = (function() {
  22633. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22634. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22635. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_1_cpp"].apply(null, arguments);
  22636. });
  22637. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"] = (function() {
  22638. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22639. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22640. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_2_cpp"].apply(null, arguments);
  22641. });
  22642. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"] = (function() {
  22643. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22644. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22645. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_3_cpp"].apply(null, arguments);
  22646. });
  22647. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"] = (function() {
  22648. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22649. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22650. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_4_cpp"].apply(null, arguments);
  22651. });
  22652. var __GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp = Module["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"] = (function() {
  22653. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22654. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22655. return Module["asm"]["__GLOBAL__sub_I_Modules_ParticleSystem_Modules_5_cpp"].apply(null, arguments);
  22656. });
  22657. var __GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp = Module["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"] = (function() {
  22658. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22659. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22660. return Module["asm"]["__GLOBAL__sub_I_Modules_PerformanceReporting_0_cpp"].apply(null, arguments);
  22661. });
  22662. var __GLOBAL__sub_I_Modules_Physics2D_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"] = (function() {
  22663. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22664. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22665. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_0_cpp"].apply(null, arguments);
  22666. });
  22667. var __GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"] = (function() {
  22668. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22669. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22670. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_Public_0_cpp"].apply(null, arguments);
  22671. });
  22672. var __GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"] = (function() {
  22673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22675. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics2D_Public_1_cpp"].apply(null, arguments);
  22676. });
  22677. var __GLOBAL__sub_I_Modules_Physics_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_0_cpp"] = (function() {
  22678. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22679. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22680. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_0_cpp"].apply(null, arguments);
  22681. });
  22682. var __GLOBAL__sub_I_Modules_Physics_2_cpp = Module["__GLOBAL__sub_I_Modules_Physics_2_cpp"] = (function() {
  22683. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22684. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22685. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_2_cpp"].apply(null, arguments);
  22686. });
  22687. var __GLOBAL__sub_I_Modules_Physics_3_cpp = Module["__GLOBAL__sub_I_Modules_Physics_3_cpp"] = (function() {
  22688. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22689. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22690. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_3_cpp"].apply(null, arguments);
  22691. });
  22692. var __GLOBAL__sub_I_Modules_Physics_4_cpp = Module["__GLOBAL__sub_I_Modules_Physics_4_cpp"] = (function() {
  22693. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22694. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22695. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_4_cpp"].apply(null, arguments);
  22696. });
  22697. var __GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp = Module["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"] = (function() {
  22698. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22699. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22700. return Module["asm"]["__GLOBAL__sub_I_Modules_Physics_BatchCommands_0_cpp"].apply(null, arguments);
  22701. });
  22702. var __GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"] = (function() {
  22703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22705. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Dispatch_0_cpp"].apply(null, arguments);
  22706. });
  22707. var __GLOBAL__sub_I_Modules_Profiler_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"] = (function() {
  22708. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22709. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22710. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Public_0_cpp"].apply(null, arguments);
  22711. });
  22712. var __GLOBAL__sub_I_Modules_Profiler_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"] = (function() {
  22713. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22714. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22715. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Public_1_cpp"].apply(null, arguments);
  22716. });
  22717. var __GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"] = (function() {
  22718. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22719. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22720. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_0_cpp"].apply(null, arguments);
  22721. });
  22722. var __GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"] = (function() {
  22723. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22724. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22725. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_1_cpp"].apply(null, arguments);
  22726. });
  22727. var __GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp = Module["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"] = (function() {
  22728. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22729. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22730. return Module["asm"]["__GLOBAL__sub_I_Modules_Profiler_Runtime_2_cpp"].apply(null, arguments);
  22731. });
  22732. var __GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"] = (function() {
  22733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22735. return Module["asm"]["__GLOBAL__sub_I_Modules_SpriteMask_Private_0_cpp"].apply(null, arguments);
  22736. });
  22737. var __GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp = Module["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"] = (function() {
  22738. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22739. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22740. return Module["asm"]["__GLOBAL__sub_I_Modules_SpriteShape_Private_0_cpp"].apply(null, arguments);
  22741. });
  22742. var __GLOBAL__sub_I_Modules_Subsystems_0_cpp = Module["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"] = (function() {
  22743. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22744. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22745. return Module["asm"]["__GLOBAL__sub_I_Modules_Subsystems_0_cpp"].apply(null, arguments);
  22746. });
  22747. var __GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp = Module["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"] = (function() {
  22748. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22749. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22750. return Module["asm"]["__GLOBAL__sub_I_Modules_TerrainPhysics_0_cpp"].apply(null, arguments);
  22751. });
  22752. var __GLOBAL__sub_I_Modules_Terrain_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"] = (function() {
  22753. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22754. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22755. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_0_cpp"].apply(null, arguments);
  22756. });
  22757. var __GLOBAL__sub_I_Modules_Terrain_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"] = (function() {
  22758. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22759. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22760. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_1_cpp"].apply(null, arguments);
  22761. });
  22762. var __GLOBAL__sub_I_Modules_Terrain_Public_2_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"] = (function() {
  22763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22765. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_2_cpp"].apply(null, arguments);
  22766. });
  22767. var __GLOBAL__sub_I_Modules_Terrain_Public_3_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"] = (function() {
  22768. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22769. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22770. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_Public_3_cpp"].apply(null, arguments);
  22771. });
  22772. var __GLOBAL__sub_I_Modules_Terrain_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"] = (function() {
  22773. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22774. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22775. return Module["asm"]["__GLOBAL__sub_I_Modules_Terrain_VR_0_cpp"].apply(null, arguments);
  22776. });
  22777. var __GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp = Module["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"] = (function() {
  22778. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22779. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22780. return Module["asm"]["__GLOBAL__sub_I_Modules_TextCore_Native_FontEngine_0_cpp"].apply(null, arguments);
  22781. });
  22782. var __GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"] = (function() {
  22783. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22784. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22785. return Module["asm"]["__GLOBAL__sub_I_Modules_TextRendering_Public_0_cpp"].apply(null, arguments);
  22786. });
  22787. var __GLOBAL__sub_I_Modules_Tilemap_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"] = (function() {
  22788. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22789. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22790. return Module["asm"]["__GLOBAL__sub_I_Modules_Tilemap_0_cpp"].apply(null, arguments);
  22791. });
  22792. var __GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"] = (function() {
  22793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22795. return Module["asm"]["__GLOBAL__sub_I_Modules_Tilemap_Public_0_cpp"].apply(null, arguments);
  22796. });
  22797. var __GLOBAL__sub_I_Modules_UIElementsNative_0_cpp = Module["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"] = (function() {
  22798. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22799. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22800. return Module["asm"]["__GLOBAL__sub_I_Modules_UIElementsNative_0_cpp"].apply(null, arguments);
  22801. });
  22802. var __GLOBAL__sub_I_Modules_UI_0_cpp = Module["__GLOBAL__sub_I_Modules_UI_0_cpp"] = (function() {
  22803. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22804. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22805. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_0_cpp"].apply(null, arguments);
  22806. });
  22807. var __GLOBAL__sub_I_Modules_UI_1_cpp = Module["__GLOBAL__sub_I_Modules_UI_1_cpp"] = (function() {
  22808. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22809. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22810. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_1_cpp"].apply(null, arguments);
  22811. });
  22812. var __GLOBAL__sub_I_Modules_UI_2_cpp = Module["__GLOBAL__sub_I_Modules_UI_2_cpp"] = (function() {
  22813. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22814. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22815. return Module["asm"]["__GLOBAL__sub_I_Modules_UI_2_cpp"].apply(null, arguments);
  22816. });
  22817. var __GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"] = (function() {
  22818. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22819. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22820. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityAnalytics_CoreStats_0_cpp"].apply(null, arguments);
  22821. });
  22822. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"] = (function() {
  22823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22825. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_0_cpp"].apply(null, arguments);
  22826. });
  22827. var __GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp = Module["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"] = (function() {
  22828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22830. return Module["asm"]["__GLOBAL__sub_I_Modules_UnityWebRequest_Public_DownloadHandler_0_cpp"].apply(null, arguments);
  22831. });
  22832. var __GLOBAL__sub_I_Modules_VFX_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"] = (function() {
  22833. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22834. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22835. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_0_cpp"].apply(null, arguments);
  22836. });
  22837. var __GLOBAL__sub_I_Modules_VFX_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"] = (function() {
  22838. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22839. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22840. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_1_cpp"].apply(null, arguments);
  22841. });
  22842. var __GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp = Module["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"] = (function() {
  22843. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22844. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22845. return Module["asm"]["__GLOBAL__sub_I_Modules_VFX_Public_Systems_0_cpp"].apply(null, arguments);
  22846. });
  22847. var __GLOBAL__sub_I_Modules_VR_0_cpp = Module["__GLOBAL__sub_I_Modules_VR_0_cpp"] = (function() {
  22848. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22849. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22850. return Module["asm"]["__GLOBAL__sub_I_Modules_VR_0_cpp"].apply(null, arguments);
  22851. });
  22852. var __GLOBAL__sub_I_Modules_VR_1_cpp = Module["__GLOBAL__sub_I_Modules_VR_1_cpp"] = (function() {
  22853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22855. return Module["asm"]["__GLOBAL__sub_I_Modules_VR_1_cpp"].apply(null, arguments);
  22856. });
  22857. var __GLOBAL__sub_I_Modules_Vehicles_0_cpp = Module["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"] = (function() {
  22858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22860. return Module["asm"]["__GLOBAL__sub_I_Modules_Vehicles_0_cpp"].apply(null, arguments);
  22861. });
  22862. var __GLOBAL__sub_I_Modules_Video_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"] = (function() {
  22863. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22864. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22865. return Module["asm"]["__GLOBAL__sub_I_Modules_Video_Public_0_cpp"].apply(null, arguments);
  22866. });
  22867. var __GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp = Module["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"] = (function() {
  22868. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22869. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22870. return Module["asm"]["__GLOBAL__sub_I_Modules_Video_Public_Base_0_cpp"].apply(null, arguments);
  22871. });
  22872. var __GLOBAL__sub_I_Modules_XR_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_0_cpp"] = (function() {
  22873. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22874. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22875. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_0_cpp"].apply(null, arguments);
  22876. });
  22877. var __GLOBAL__sub_I_Modules_XR_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"] = (function() {
  22878. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22879. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22880. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Public_0_cpp"].apply(null, arguments);
  22881. });
  22882. var __GLOBAL__sub_I_Modules_XR_Stats_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"] = (function() {
  22883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22885. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Stats_0_cpp"].apply(null, arguments);
  22886. });
  22887. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"] = (function() {
  22888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22890. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_0_cpp"].apply(null, arguments);
  22891. });
  22892. var __GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"] = (function() {
  22893. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22894. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22895. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Display_1_cpp"].apply(null, arguments);
  22896. });
  22897. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"] = (function() {
  22898. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22899. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22900. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_0_cpp"].apply(null, arguments);
  22901. });
  22902. var __GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"] = (function() {
  22903. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22904. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22905. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Input_Public_1_cpp"].apply(null, arguments);
  22906. });
  22907. var __GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"] = (function() {
  22908. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22909. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22910. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Subsystems_Meshing_0_cpp"].apply(null, arguments);
  22911. });
  22912. var __GLOBAL__sub_I_Modules_XR_Tracing_0_cpp = Module["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"] = (function() {
  22913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22915. return Module["asm"]["__GLOBAL__sub_I_Modules_XR_Tracing_0_cpp"].apply(null, arguments);
  22916. });
  22917. var __GLOBAL__sub_I_NoiseModule_cpp = Module["__GLOBAL__sub_I_NoiseModule_cpp"] = (function() {
  22918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22920. return Module["asm"]["__GLOBAL__sub_I_NoiseModule_cpp"].apply(null, arguments);
  22921. });
  22922. var __GLOBAL__sub_I_ParticleSystemBindings_gen_cpp = Module["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"] = (function() {
  22923. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22924. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22925. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemBindings_gen_cpp"].apply(null, arguments);
  22926. });
  22927. var __GLOBAL__sub_I_ParticleSystemGeometryJob_cpp = Module["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"] = (function() {
  22928. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22929. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22930. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemGeometryJob_cpp"].apply(null, arguments);
  22931. });
  22932. var __GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp = Module["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"] = (function() {
  22933. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22934. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22935. return Module["asm"]["__GLOBAL__sub_I_ParticleSystemScriptingClasses_cpp"].apply(null, arguments);
  22936. });
  22937. var __GLOBAL__sub_I_Physics2DScriptingClasses_cpp = Module["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"] = (function() {
  22938. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22939. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22940. return Module["asm"]["__GLOBAL__sub_I_Physics2DScriptingClasses_cpp"].apply(null, arguments);
  22941. });
  22942. var __GLOBAL__sub_I_PhysicsBindings_gen_cpp = Module["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"] = (function() {
  22943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22945. return Module["asm"]["__GLOBAL__sub_I_PhysicsBindings_gen_cpp"].apply(null, arguments);
  22946. });
  22947. var __GLOBAL__sub_I_PhysicsQuery_cpp = Module["__GLOBAL__sub_I_PhysicsQuery_cpp"] = (function() {
  22948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22950. return Module["asm"]["__GLOBAL__sub_I_PhysicsQuery_cpp"].apply(null, arguments);
  22951. });
  22952. var __GLOBAL__sub_I_PhysicsScene_cpp = Module["__GLOBAL__sub_I_PhysicsScene_cpp"] = (function() {
  22953. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22954. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22955. return Module["asm"]["__GLOBAL__sub_I_PhysicsScene_cpp"].apply(null, arguments);
  22956. });
  22957. var __GLOBAL__sub_I_PhysicsScriptingClasses_cpp = Module["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"] = (function() {
  22958. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22959. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22960. return Module["asm"]["__GLOBAL__sub_I_PhysicsScriptingClasses_cpp"].apply(null, arguments);
  22961. });
  22962. 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() {
  22963. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22964. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22965. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_External_baselib_builds_Source_0_cpp"].apply(null, arguments);
  22966. });
  22967. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"] = (function() {
  22968. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22969. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22970. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_0_cpp"].apply(null, arguments);
  22971. });
  22972. var __GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp = Module["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"] = (function() {
  22973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22975. return Module["asm"]["__GLOBAL__sub_I_PlatformDependent_WebGL_Source_2_cpp"].apply(null, arguments);
  22976. });
  22977. var __GLOBAL__sub_I_PluginInterfaceVR_cpp = Module["__GLOBAL__sub_I_PluginInterfaceVR_cpp"] = (function() {
  22978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22980. return Module["asm"]["__GLOBAL__sub_I_PluginInterfaceVR_cpp"].apply(null, arguments);
  22981. });
  22982. var __GLOBAL__sub_I_QualitySettings_cpp = Module["__GLOBAL__sub_I_QualitySettings_cpp"] = (function() {
  22983. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22984. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22985. return Module["asm"]["__GLOBAL__sub_I_QualitySettings_cpp"].apply(null, arguments);
  22986. });
  22987. var __GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"] = (function() {
  22988. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22989. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22990. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_Renderer_0_cpp"].apply(null, arguments);
  22991. });
  22992. var __GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"] = (function() {
  22993. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22994. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  22995. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_Sorting_0_cpp"].apply(null, arguments);
  22996. });
  22997. var __GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"] = (function() {
  22998. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  22999. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23000. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_SpriteAtlas_0_cpp"].apply(null, arguments);
  23001. });
  23002. var __GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp = Module["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"] = (function() {
  23003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23005. return Module["asm"]["__GLOBAL__sub_I_Runtime_2D_SpriteTiling_0_cpp"].apply(null, arguments);
  23006. });
  23007. var __GLOBAL__sub_I_Runtime_Allocator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"] = (function() {
  23008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23010. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_0_cpp"].apply(null, arguments);
  23011. });
  23012. var __GLOBAL__sub_I_Runtime_Allocator_2_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"] = (function() {
  23013. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23014. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23015. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_2_cpp"].apply(null, arguments);
  23016. });
  23017. var __GLOBAL__sub_I_Runtime_Allocator_3_cpp = Module["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"] = (function() {
  23018. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23019. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23020. return Module["asm"]["__GLOBAL__sub_I_Runtime_Allocator_3_cpp"].apply(null, arguments);
  23021. });
  23022. var __GLOBAL__sub_I_Runtime_Application_0_cpp = Module["__GLOBAL__sub_I_Runtime_Application_0_cpp"] = (function() {
  23023. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23024. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23025. return Module["asm"]["__GLOBAL__sub_I_Runtime_Application_0_cpp"].apply(null, arguments);
  23026. });
  23027. var __GLOBAL__sub_I_Runtime_BaseClasses_0_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"] = (function() {
  23028. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23029. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23030. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_0_cpp"].apply(null, arguments);
  23031. });
  23032. var __GLOBAL__sub_I_Runtime_BaseClasses_1_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"] = (function() {
  23033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23035. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_1_cpp"].apply(null, arguments);
  23036. });
  23037. var __GLOBAL__sub_I_Runtime_BaseClasses_2_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"] = (function() {
  23038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23040. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_2_cpp"].apply(null, arguments);
  23041. });
  23042. var __GLOBAL__sub_I_Runtime_BaseClasses_3_cpp = Module["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"] = (function() {
  23043. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23044. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23045. return Module["asm"]["__GLOBAL__sub_I_Runtime_BaseClasses_3_cpp"].apply(null, arguments);
  23046. });
  23047. var __GLOBAL__sub_I_Runtime_Burst_0_cpp = Module["__GLOBAL__sub_I_Runtime_Burst_0_cpp"] = (function() {
  23048. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23049. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23050. return Module["asm"]["__GLOBAL__sub_I_Runtime_Burst_0_cpp"].apply(null, arguments);
  23051. });
  23052. var __GLOBAL__sub_I_Runtime_Camera_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_0_cpp"] = (function() {
  23053. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23054. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23055. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_0_cpp"].apply(null, arguments);
  23056. });
  23057. var __GLOBAL__sub_I_Runtime_Camera_1_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_1_cpp"] = (function() {
  23058. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23059. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23060. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_1_cpp"].apply(null, arguments);
  23061. });
  23062. var __GLOBAL__sub_I_Runtime_Camera_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_2_cpp"] = (function() {
  23063. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23064. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23065. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_2_cpp"].apply(null, arguments);
  23066. });
  23067. var __GLOBAL__sub_I_Runtime_Camera_3_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_3_cpp"] = (function() {
  23068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23070. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_3_cpp"].apply(null, arguments);
  23071. });
  23072. var __GLOBAL__sub_I_Runtime_Camera_4_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_4_cpp"] = (function() {
  23073. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23074. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23075. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_4_cpp"].apply(null, arguments);
  23076. });
  23077. var __GLOBAL__sub_I_Runtime_Camera_5_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_5_cpp"] = (function() {
  23078. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23079. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23080. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_5_cpp"].apply(null, arguments);
  23081. });
  23082. var __GLOBAL__sub_I_Runtime_Camera_6_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_6_cpp"] = (function() {
  23083. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23084. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23085. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_6_cpp"].apply(null, arguments);
  23086. });
  23087. var __GLOBAL__sub_I_Runtime_Camera_7_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_7_cpp"] = (function() {
  23088. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23089. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23090. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_7_cpp"].apply(null, arguments);
  23091. });
  23092. var __GLOBAL__sub_I_Runtime_Camera_8_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_8_cpp"] = (function() {
  23093. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23094. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23095. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_8_cpp"].apply(null, arguments);
  23096. });
  23097. var __GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"] = (function() {
  23098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23100. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_Culling_0_cpp"].apply(null, arguments);
  23101. });
  23102. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"] = (function() {
  23103. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23104. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23105. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_0_cpp"].apply(null, arguments);
  23106. });
  23107. var __GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp = Module["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"] = (function() {
  23108. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23109. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23110. return Module["asm"]["__GLOBAL__sub_I_Runtime_Camera_RenderLoops_2_cpp"].apply(null, arguments);
  23111. });
  23112. var __GLOBAL__sub_I_Runtime_Containers_0_cpp = Module["__GLOBAL__sub_I_Runtime_Containers_0_cpp"] = (function() {
  23113. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23114. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23115. return Module["asm"]["__GLOBAL__sub_I_Runtime_Containers_0_cpp"].apply(null, arguments);
  23116. });
  23117. var __GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp = Module["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"] = (function() {
  23118. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23119. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23120. return Module["asm"]["__GLOBAL__sub_I_Runtime_Core_Callbacks_0_cpp"].apply(null, arguments);
  23121. });
  23122. var __GLOBAL__sub_I_Runtime_Director_Core_0_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"] = (function() {
  23123. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23124. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23125. return Module["asm"]["__GLOBAL__sub_I_Runtime_Director_Core_0_cpp"].apply(null, arguments);
  23126. });
  23127. var __GLOBAL__sub_I_Runtime_Director_Core_1_cpp = Module["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"] = (function() {
  23128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23130. return Module["asm"]["__GLOBAL__sub_I_Runtime_Director_Core_1_cpp"].apply(null, arguments);
  23131. });
  23132. var __GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp = Module["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"] = (function() {
  23133. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23134. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23135. return Module["asm"]["__GLOBAL__sub_I_Runtime_Export_Unsafe_0_cpp"].apply(null, arguments);
  23136. });
  23137. var __GLOBAL__sub_I_Runtime_File_0_cpp = Module["__GLOBAL__sub_I_Runtime_File_0_cpp"] = (function() {
  23138. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23139. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23140. return Module["asm"]["__GLOBAL__sub_I_Runtime_File_0_cpp"].apply(null, arguments);
  23141. });
  23142. var __GLOBAL__sub_I_Runtime_GameCode_0_cpp = Module["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"] = (function() {
  23143. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23144. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23145. return Module["asm"]["__GLOBAL__sub_I_Runtime_GameCode_0_cpp"].apply(null, arguments);
  23146. });
  23147. var __GLOBAL__sub_I_Runtime_Geometry_1_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"] = (function() {
  23148. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23149. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23150. return Module["asm"]["__GLOBAL__sub_I_Runtime_Geometry_1_cpp"].apply(null, arguments);
  23151. });
  23152. var __GLOBAL__sub_I_Runtime_Geometry_2_cpp = Module["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"] = (function() {
  23153. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23154. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23155. return Module["asm"]["__GLOBAL__sub_I_Runtime_Geometry_2_cpp"].apply(null, arguments);
  23156. });
  23157. var __GLOBAL__sub_I_Runtime_GfxDevice_1_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"] = (function() {
  23158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23160. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_1_cpp"].apply(null, arguments);
  23161. });
  23162. var __GLOBAL__sub_I_Runtime_GfxDevice_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"] = (function() {
  23163. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23164. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23165. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_2_cpp"].apply(null, arguments);
  23166. });
  23167. var __GLOBAL__sub_I_Runtime_GfxDevice_3_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"] = (function() {
  23168. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23169. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23170. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_3_cpp"].apply(null, arguments);
  23171. });
  23172. var __GLOBAL__sub_I_Runtime_GfxDevice_4_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"] = (function() {
  23173. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23174. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23175. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_4_cpp"].apply(null, arguments);
  23176. });
  23177. var __GLOBAL__sub_I_Runtime_GfxDevice_5_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"] = (function() {
  23178. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23179. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23180. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_5_cpp"].apply(null, arguments);
  23181. });
  23182. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"] = (function() {
  23183. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23184. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23185. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_0_cpp"].apply(null, arguments);
  23186. });
  23187. var __GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp = Module["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"] = (function() {
  23188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23190. return Module["asm"]["__GLOBAL__sub_I_Runtime_GfxDevice_opengles_2_cpp"].apply(null, arguments);
  23191. });
  23192. var __GLOBAL__sub_I_Runtime_Graphics_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"] = (function() {
  23193. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23194. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23195. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_0_cpp"].apply(null, arguments);
  23196. });
  23197. var __GLOBAL__sub_I_Runtime_Graphics_10_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"] = (function() {
  23198. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23199. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23200. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_10_cpp"].apply(null, arguments);
  23201. });
  23202. var __GLOBAL__sub_I_Runtime_Graphics_11_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"] = (function() {
  23203. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23204. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23205. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_11_cpp"].apply(null, arguments);
  23206. });
  23207. var __GLOBAL__sub_I_Runtime_Graphics_12_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"] = (function() {
  23208. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23209. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23210. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_12_cpp"].apply(null, arguments);
  23211. });
  23212. var __GLOBAL__sub_I_Runtime_Graphics_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"] = (function() {
  23213. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23214. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23215. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_1_cpp"].apply(null, arguments);
  23216. });
  23217. var __GLOBAL__sub_I_Runtime_Graphics_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"] = (function() {
  23218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23220. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_2_cpp"].apply(null, arguments);
  23221. });
  23222. var __GLOBAL__sub_I_Runtime_Graphics_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"] = (function() {
  23223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23225. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_4_cpp"].apply(null, arguments);
  23226. });
  23227. var __GLOBAL__sub_I_Runtime_Graphics_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"] = (function() {
  23228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23230. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_5_cpp"].apply(null, arguments);
  23231. });
  23232. var __GLOBAL__sub_I_Runtime_Graphics_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"] = (function() {
  23233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23235. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_6_cpp"].apply(null, arguments);
  23236. });
  23237. var __GLOBAL__sub_I_Runtime_Graphics_8_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"] = (function() {
  23238. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23239. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23240. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_8_cpp"].apply(null, arguments);
  23241. });
  23242. var __GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"] = (function() {
  23243. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23244. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23245. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Billboard_0_cpp"].apply(null, arguments);
  23246. });
  23247. var __GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"] = (function() {
  23248. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23249. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23250. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_CommandBuffer_0_cpp"].apply(null, arguments);
  23251. });
  23252. var __GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"] = (function() {
  23253. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23254. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23255. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_LOD_0_cpp"].apply(null, arguments);
  23256. });
  23257. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"] = (function() {
  23258. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23259. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23260. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_0_cpp"].apply(null, arguments);
  23261. });
  23262. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"] = (function() {
  23263. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23264. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23265. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_1_cpp"].apply(null, arguments);
  23266. });
  23267. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"] = (function() {
  23268. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23269. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23270. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_2_cpp"].apply(null, arguments);
  23271. });
  23272. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"] = (function() {
  23273. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23274. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23275. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_3_cpp"].apply(null, arguments);
  23276. });
  23277. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"] = (function() {
  23278. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23279. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23280. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_4_cpp"].apply(null, arguments);
  23281. });
  23282. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"] = (function() {
  23283. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23284. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23285. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_5_cpp"].apply(null, arguments);
  23286. });
  23287. var __GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"] = (function() {
  23288. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23289. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23290. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_Mesh_6_cpp"].apply(null, arguments);
  23291. });
  23292. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"] = (function() {
  23293. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23294. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23295. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_0_cpp"].apply(null, arguments);
  23296. });
  23297. var __GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp = Module["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"] = (function() {
  23298. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23299. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23300. return Module["asm"]["__GLOBAL__sub_I_Runtime_Graphics_ScriptableRenderLoop_1_cpp"].apply(null, arguments);
  23301. });
  23302. var __GLOBAL__sub_I_Runtime_Input_0_cpp = Module["__GLOBAL__sub_I_Runtime_Input_0_cpp"] = (function() {
  23303. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23304. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23305. return Module["asm"]["__GLOBAL__sub_I_Runtime_Input_0_cpp"].apply(null, arguments);
  23306. });
  23307. var __GLOBAL__sub_I_Runtime_Interfaces_0_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"] = (function() {
  23308. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23309. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23310. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_0_cpp"].apply(null, arguments);
  23311. });
  23312. var __GLOBAL__sub_I_Runtime_Interfaces_1_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"] = (function() {
  23313. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23314. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23315. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_1_cpp"].apply(null, arguments);
  23316. });
  23317. var __GLOBAL__sub_I_Runtime_Interfaces_3_cpp = Module["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"] = (function() {
  23318. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23319. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23320. return Module["asm"]["__GLOBAL__sub_I_Runtime_Interfaces_3_cpp"].apply(null, arguments);
  23321. });
  23322. var __GLOBAL__sub_I_Runtime_Jobs_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"] = (function() {
  23323. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23324. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23325. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_0_cpp"].apply(null, arguments);
  23326. });
  23327. var __GLOBAL__sub_I_Runtime_Jobs_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"] = (function() {
  23328. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23329. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23330. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_1_cpp"].apply(null, arguments);
  23331. });
  23332. var __GLOBAL__sub_I_Runtime_Jobs_2_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"] = (function() {
  23333. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23334. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23335. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_2_cpp"].apply(null, arguments);
  23336. });
  23337. var __GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"] = (function() {
  23338. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23339. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23340. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_Internal_1_cpp"].apply(null, arguments);
  23341. });
  23342. var __GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"] = (function() {
  23343. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23344. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23345. return Module["asm"]["__GLOBAL__sub_I_Runtime_Jobs_ScriptBindings_0_cpp"].apply(null, arguments);
  23346. });
  23347. var __GLOBAL__sub_I_Runtime_Math_2_cpp = Module["__GLOBAL__sub_I_Runtime_Math_2_cpp"] = (function() {
  23348. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23349. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23350. return Module["asm"]["__GLOBAL__sub_I_Runtime_Math_2_cpp"].apply(null, arguments);
  23351. });
  23352. var __GLOBAL__sub_I_Runtime_Math_Random_0_cpp = Module["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"] = (function() {
  23353. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23354. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23355. return Module["asm"]["__GLOBAL__sub_I_Runtime_Math_Random_0_cpp"].apply(null, arguments);
  23356. });
  23357. var __GLOBAL__sub_I_Runtime_Misc_0_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_0_cpp"] = (function() {
  23358. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23359. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23360. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_0_cpp"].apply(null, arguments);
  23361. });
  23362. var __GLOBAL__sub_I_Runtime_Misc_1_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_1_cpp"] = (function() {
  23363. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23364. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23365. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_1_cpp"].apply(null, arguments);
  23366. });
  23367. var __GLOBAL__sub_I_Runtime_Misc_2_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_2_cpp"] = (function() {
  23368. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23369. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23370. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_2_cpp"].apply(null, arguments);
  23371. });
  23372. var __GLOBAL__sub_I_Runtime_Misc_3_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_3_cpp"] = (function() {
  23373. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23374. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23375. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_3_cpp"].apply(null, arguments);
  23376. });
  23377. var __GLOBAL__sub_I_Runtime_Misc_4_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_4_cpp"] = (function() {
  23378. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23379. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23380. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_4_cpp"].apply(null, arguments);
  23381. });
  23382. var __GLOBAL__sub_I_Runtime_Misc_5_cpp = Module["__GLOBAL__sub_I_Runtime_Misc_5_cpp"] = (function() {
  23383. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23384. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23385. return Module["asm"]["__GLOBAL__sub_I_Runtime_Misc_5_cpp"].apply(null, arguments);
  23386. });
  23387. var __GLOBAL__sub_I_Runtime_Modules_0_cpp = Module["__GLOBAL__sub_I_Runtime_Modules_0_cpp"] = (function() {
  23388. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23389. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23390. return Module["asm"]["__GLOBAL__sub_I_Runtime_Modules_0_cpp"].apply(null, arguments);
  23391. });
  23392. var __GLOBAL__sub_I_Runtime_Mono_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_0_cpp"] = (function() {
  23393. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23394. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23395. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_0_cpp"].apply(null, arguments);
  23396. });
  23397. var __GLOBAL__sub_I_Runtime_Mono_2_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_2_cpp"] = (function() {
  23398. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23399. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23400. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_2_cpp"].apply(null, arguments);
  23401. });
  23402. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"] = (function() {
  23403. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23404. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23405. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_0_cpp"].apply(null, arguments);
  23406. });
  23407. var __GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp = Module["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"] = (function() {
  23408. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23409. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23410. return Module["asm"]["__GLOBAL__sub_I_Runtime_Mono_SerializationBackend_DirectMemoryAccess_1_cpp"].apply(null, arguments);
  23411. });
  23412. var __GLOBAL__sub_I_Runtime_Network_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_0_cpp"] = (function() {
  23413. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23414. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23415. return Module["asm"]["__GLOBAL__sub_I_Runtime_Network_0_cpp"].apply(null, arguments);
  23416. });
  23417. var __GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp = Module["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"] = (function() {
  23418. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23419. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23420. return Module["asm"]["__GLOBAL__sub_I_Runtime_Network_PlayerCommunicator_0_cpp"].apply(null, arguments);
  23421. });
  23422. var __GLOBAL__sub_I_Runtime_PluginInterface_0_cpp = Module["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"] = (function() {
  23423. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23424. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23425. return Module["asm"]["__GLOBAL__sub_I_Runtime_PluginInterface_0_cpp"].apply(null, arguments);
  23426. });
  23427. var __GLOBAL__sub_I_Runtime_PreloadManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"] = (function() {
  23428. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23429. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23430. return Module["asm"]["__GLOBAL__sub_I_Runtime_PreloadManager_0_cpp"].apply(null, arguments);
  23431. });
  23432. var __GLOBAL__sub_I_Runtime_Profiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"] = (function() {
  23433. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23434. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23435. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_0_cpp"].apply(null, arguments);
  23436. });
  23437. var __GLOBAL__sub_I_Runtime_Profiler_1_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"] = (function() {
  23438. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23439. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23440. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_1_cpp"].apply(null, arguments);
  23441. });
  23442. var __GLOBAL__sub_I_Runtime_Profiler_2_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"] = (function() {
  23443. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23444. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23445. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_2_cpp"].apply(null, arguments);
  23446. });
  23447. var __GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"] = (function() {
  23448. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23449. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23450. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_ExternalGPUProfiler_0_cpp"].apply(null, arguments);
  23451. });
  23452. var __GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp = Module["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"] = (function() {
  23453. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23454. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23455. return Module["asm"]["__GLOBAL__sub_I_Runtime_Profiler_ScriptBindings_0_cpp"].apply(null, arguments);
  23456. });
  23457. var __GLOBAL__sub_I_Runtime_SceneManager_0_cpp = Module["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"] = (function() {
  23458. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23459. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23460. return Module["asm"]["__GLOBAL__sub_I_Runtime_SceneManager_0_cpp"].apply(null, arguments);
  23461. });
  23462. var __GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp = Module["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"] = (function() {
  23463. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23464. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23465. return Module["asm"]["__GLOBAL__sub_I_Runtime_ScriptingBackend_Il2Cpp_0_cpp"].apply(null, arguments);
  23466. });
  23467. var __GLOBAL__sub_I_Runtime_Scripting_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"] = (function() {
  23468. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23469. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23470. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_0_cpp"].apply(null, arguments);
  23471. });
  23472. var __GLOBAL__sub_I_Runtime_Scripting_2_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"] = (function() {
  23473. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23474. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23475. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_2_cpp"].apply(null, arguments);
  23476. });
  23477. var __GLOBAL__sub_I_Runtime_Scripting_3_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"] = (function() {
  23478. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23479. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23480. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_3_cpp"].apply(null, arguments);
  23481. });
  23482. var __GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"] = (function() {
  23483. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23484. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23485. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_APIUpdating_0_cpp"].apply(null, arguments);
  23486. });
  23487. var __GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp = Module["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"] = (function() {
  23488. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23489. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23490. return Module["asm"]["__GLOBAL__sub_I_Runtime_Scripting_ManagedReference_0_cpp"].apply(null, arguments);
  23491. });
  23492. var __GLOBAL__sub_I_Runtime_Serialize_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"] = (function() {
  23493. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23494. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23495. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_0_cpp"].apply(null, arguments);
  23496. });
  23497. var __GLOBAL__sub_I_Runtime_Serialize_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"] = (function() {
  23498. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23499. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23500. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_1_cpp"].apply(null, arguments);
  23501. });
  23502. var __GLOBAL__sub_I_Runtime_Serialize_2_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"] = (function() {
  23503. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23504. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23505. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_2_cpp"].apply(null, arguments);
  23506. });
  23507. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"] = (function() {
  23508. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23509. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23510. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_0_cpp"].apply(null, arguments);
  23511. });
  23512. var __GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp = Module["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"] = (function() {
  23513. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23514. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23515. return Module["asm"]["__GLOBAL__sub_I_Runtime_Serialize_TransferFunctions_1_cpp"].apply(null, arguments);
  23516. });
  23517. var __GLOBAL__sub_I_Runtime_Shaders_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"] = (function() {
  23518. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23519. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23520. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_0_cpp"].apply(null, arguments);
  23521. });
  23522. var __GLOBAL__sub_I_Runtime_Shaders_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"] = (function() {
  23523. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23524. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23525. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_1_cpp"].apply(null, arguments);
  23526. });
  23527. var __GLOBAL__sub_I_Runtime_Shaders_4_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"] = (function() {
  23528. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23529. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23530. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_4_cpp"].apply(null, arguments);
  23531. });
  23532. var __GLOBAL__sub_I_Runtime_Shaders_5_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"] = (function() {
  23533. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23534. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23535. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_5_cpp"].apply(null, arguments);
  23536. });
  23537. var __GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"] = (function() {
  23538. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23539. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23540. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_GpuPrograms_0_cpp"].apply(null, arguments);
  23541. });
  23542. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"] = (function() {
  23543. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23544. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23545. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_1_cpp"].apply(null, arguments);
  23546. });
  23547. var __GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp = Module["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"] = (function() {
  23548. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23549. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23550. return Module["asm"]["__GLOBAL__sub_I_Runtime_Shaders_ShaderImpl_2_cpp"].apply(null, arguments);
  23551. });
  23552. var __GLOBAL__sub_I_Runtime_Streaming_0_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"] = (function() {
  23553. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23554. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23555. return Module["asm"]["__GLOBAL__sub_I_Runtime_Streaming_0_cpp"].apply(null, arguments);
  23556. });
  23557. var __GLOBAL__sub_I_Runtime_Streaming_1_cpp = Module["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"] = (function() {
  23558. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23559. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23560. return Module["asm"]["__GLOBAL__sub_I_Runtime_Streaming_1_cpp"].apply(null, arguments);
  23561. });
  23562. var __GLOBAL__sub_I_Runtime_Transform_0_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_0_cpp"] = (function() {
  23563. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23564. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23565. return Module["asm"]["__GLOBAL__sub_I_Runtime_Transform_0_cpp"].apply(null, arguments);
  23566. });
  23567. var __GLOBAL__sub_I_Runtime_Transform_1_cpp = Module["__GLOBAL__sub_I_Runtime_Transform_1_cpp"] = (function() {
  23568. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23569. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23570. return Module["asm"]["__GLOBAL__sub_I_Runtime_Transform_1_cpp"].apply(null, arguments);
  23571. });
  23572. var __GLOBAL__sub_I_Runtime_Utilities_2_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"] = (function() {
  23573. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23574. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23575. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_2_cpp"].apply(null, arguments);
  23576. });
  23577. var __GLOBAL__sub_I_Runtime_Utilities_5_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"] = (function() {
  23578. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23579. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23580. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_5_cpp"].apply(null, arguments);
  23581. });
  23582. var __GLOBAL__sub_I_Runtime_Utilities_6_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"] = (function() {
  23583. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23584. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23585. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_6_cpp"].apply(null, arguments);
  23586. });
  23587. var __GLOBAL__sub_I_Runtime_Utilities_7_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"] = (function() {
  23588. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23589. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23590. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_7_cpp"].apply(null, arguments);
  23591. });
  23592. var __GLOBAL__sub_I_Runtime_Utilities_8_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"] = (function() {
  23593. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23594. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23595. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_8_cpp"].apply(null, arguments);
  23596. });
  23597. var __GLOBAL__sub_I_Runtime_Utilities_9_cpp = Module["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"] = (function() {
  23598. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23599. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23600. return Module["asm"]["__GLOBAL__sub_I_Runtime_Utilities_9_cpp"].apply(null, arguments);
  23601. });
  23602. var __GLOBAL__sub_I_Runtime_Video_0_cpp = Module["__GLOBAL__sub_I_Runtime_Video_0_cpp"] = (function() {
  23603. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23604. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23605. return Module["asm"]["__GLOBAL__sub_I_Runtime_Video_0_cpp"].apply(null, arguments);
  23606. });
  23607. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"] = (function() {
  23608. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23609. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23610. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_0_cpp"].apply(null, arguments);
  23611. });
  23612. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"] = (function() {
  23613. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23614. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23615. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_1_cpp"].apply(null, arguments);
  23616. });
  23617. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"] = (function() {
  23618. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23619. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23620. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_ArchiveFileSystem_0_cpp"].apply(null, arguments);
  23621. });
  23622. var __GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp = Module["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"] = (function() {
  23623. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23624. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23625. return Module["asm"]["__GLOBAL__sub_I_Runtime_VirtualFileSystem_MemoryFileSystem_0_cpp"].apply(null, arguments);
  23626. });
  23627. var __GLOBAL__sub_I_Shader_cpp = Module["__GLOBAL__sub_I_Shader_cpp"] = (function() {
  23628. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23629. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23630. return Module["asm"]["__GLOBAL__sub_I_Shader_cpp"].apply(null, arguments);
  23631. });
  23632. var __GLOBAL__sub_I_Shadows_cpp = Module["__GLOBAL__sub_I_Shadows_cpp"] = (function() {
  23633. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23634. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23635. return Module["asm"]["__GLOBAL__sub_I_Shadows_cpp"].apply(null, arguments);
  23636. });
  23637. var __GLOBAL__sub_I_ShapeModule_cpp = Module["__GLOBAL__sub_I_ShapeModule_cpp"] = (function() {
  23638. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23639. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23640. return Module["asm"]["__GLOBAL__sub_I_ShapeModule_cpp"].apply(null, arguments);
  23641. });
  23642. var __GLOBAL__sub_I_SpriteShapeBindings_gen_cpp = Module["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"] = (function() {
  23643. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23644. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23645. return Module["asm"]["__GLOBAL__sub_I_SpriteShapeBindings_gen_cpp"].apply(null, arguments);
  23646. });
  23647. var __GLOBAL__sub_I_SubsystemsScriptingClasses_cpp = Module["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"] = (function() {
  23648. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23649. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23650. return Module["asm"]["__GLOBAL__sub_I_SubsystemsScriptingClasses_cpp"].apply(null, arguments);
  23651. });
  23652. var __GLOBAL__sub_I_SwInterCollision_cpp = Module["__GLOBAL__sub_I_SwInterCollision_cpp"] = (function() {
  23653. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23654. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23655. return Module["asm"]["__GLOBAL__sub_I_SwInterCollision_cpp"].apply(null, arguments);
  23656. });
  23657. var __GLOBAL__sub_I_SwSolverKernel_cpp = Module["__GLOBAL__sub_I_SwSolverKernel_cpp"] = (function() {
  23658. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23659. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23660. return Module["asm"]["__GLOBAL__sub_I_SwSolverKernel_cpp"].apply(null, arguments);
  23661. });
  23662. var __GLOBAL__sub_I_TLSModule_cpp = Module["__GLOBAL__sub_I_TLSModule_cpp"] = (function() {
  23663. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23664. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23665. return Module["asm"]["__GLOBAL__sub_I_TLSModule_cpp"].apply(null, arguments);
  23666. });
  23667. var __GLOBAL__sub_I_TemplateInstantiations_cpp = Module["__GLOBAL__sub_I_TemplateInstantiations_cpp"] = (function() {
  23668. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23669. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23670. return Module["asm"]["__GLOBAL__sub_I_TemplateInstantiations_cpp"].apply(null, arguments);
  23671. });
  23672. var __GLOBAL__sub_I_TerrainScriptingClasses_cpp = Module["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"] = (function() {
  23673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23675. return Module["asm"]["__GLOBAL__sub_I_TerrainScriptingClasses_cpp"].apply(null, arguments);
  23676. });
  23677. var __GLOBAL__sub_I_TextCoreScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"] = (function() {
  23678. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23679. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23680. return Module["asm"]["__GLOBAL__sub_I_TextCoreScriptingClasses_cpp"].apply(null, arguments);
  23681. });
  23682. var __GLOBAL__sub_I_TextRenderingScriptingClasses_cpp = Module["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"] = (function() {
  23683. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23684. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23685. return Module["asm"]["__GLOBAL__sub_I_TextRenderingScriptingClasses_cpp"].apply(null, arguments);
  23686. });
  23687. var __GLOBAL__sub_I_TilemapScriptingClasses_cpp = Module["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"] = (function() {
  23688. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23689. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23690. return Module["asm"]["__GLOBAL__sub_I_TilemapScriptingClasses_cpp"].apply(null, arguments);
  23691. });
  23692. var __GLOBAL__sub_I_TrailRenderer_cpp = Module["__GLOBAL__sub_I_TrailRenderer_cpp"] = (function() {
  23693. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23694. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23695. return Module["asm"]["__GLOBAL__sub_I_TrailRenderer_cpp"].apply(null, arguments);
  23696. });
  23697. var __GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"] = (function() {
  23698. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23699. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23700. return Module["asm"]["__GLOBAL__sub_I_UIElementsNativeScriptingClasses_cpp"].apply(null, arguments);
  23701. });
  23702. var __GLOBAL__sub_I_UIScriptingClasses_cpp = Module["__GLOBAL__sub_I_UIScriptingClasses_cpp"] = (function() {
  23703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23705. return Module["asm"]["__GLOBAL__sub_I_UIScriptingClasses_cpp"].apply(null, arguments);
  23706. });
  23707. var __GLOBAL__sub_I_UIWidgets_cpp = Module["__GLOBAL__sub_I_UIWidgets_cpp"] = (function() {
  23708. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23709. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23710. return Module["asm"]["__GLOBAL__sub_I_UIWidgets_cpp"].apply(null, arguments);
  23711. });
  23712. var __GLOBAL__sub_I_UVModule_cpp = Module["__GLOBAL__sub_I_UVModule_cpp"] = (function() {
  23713. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23714. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23715. return Module["asm"]["__GLOBAL__sub_I_UVModule_cpp"].apply(null, arguments);
  23716. });
  23717. var __GLOBAL__sub_I_UnityAdsSettings_cpp = Module["__GLOBAL__sub_I_UnityAdsSettings_cpp"] = (function() {
  23718. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23719. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23720. return Module["asm"]["__GLOBAL__sub_I_UnityAdsSettings_cpp"].apply(null, arguments);
  23721. });
  23722. var __GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"] = (function() {
  23723. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23724. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23725. return Module["asm"]["__GLOBAL__sub_I_UnityAnalyticsScriptingClasses_cpp"].apply(null, arguments);
  23726. });
  23727. var __GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp = Module["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"] = (function() {
  23728. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23729. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23730. return Module["asm"]["__GLOBAL__sub_I_UnityWebRequestScriptingClasses_cpp"].apply(null, arguments);
  23731. });
  23732. var __GLOBAL__sub_I_VFXScriptingClasses_cpp = Module["__GLOBAL__sub_I_VFXScriptingClasses_cpp"] = (function() {
  23733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23735. return Module["asm"]["__GLOBAL__sub_I_VFXScriptingClasses_cpp"].apply(null, arguments);
  23736. });
  23737. var __GLOBAL__sub_I_VRScriptingClasses_cpp = Module["__GLOBAL__sub_I_VRScriptingClasses_cpp"] = (function() {
  23738. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23739. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23740. return Module["asm"]["__GLOBAL__sub_I_VRScriptingClasses_cpp"].apply(null, arguments);
  23741. });
  23742. var __GLOBAL__sub_I_VelocityModule_cpp = Module["__GLOBAL__sub_I_VelocityModule_cpp"] = (function() {
  23743. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23744. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23745. return Module["asm"]["__GLOBAL__sub_I_VelocityModule_cpp"].apply(null, arguments);
  23746. });
  23747. var __GLOBAL__sub_I_VideoMediaOutput_cpp = Module["__GLOBAL__sub_I_VideoMediaOutput_cpp"] = (function() {
  23748. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23749. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23750. return Module["asm"]["__GLOBAL__sub_I_VideoMediaOutput_cpp"].apply(null, arguments);
  23751. });
  23752. var __GLOBAL__sub_I_VideoScriptingClasses_cpp = Module["__GLOBAL__sub_I_VideoScriptingClasses_cpp"] = (function() {
  23753. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23754. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23755. return Module["asm"]["__GLOBAL__sub_I_VideoScriptingClasses_cpp"].apply(null, arguments);
  23756. });
  23757. var __GLOBAL__sub_I_VideoYUV420Convert_cpp = Module["__GLOBAL__sub_I_VideoYUV420Convert_cpp"] = (function() {
  23758. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23759. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23760. return Module["asm"]["__GLOBAL__sub_I_VideoYUV420Convert_cpp"].apply(null, arguments);
  23761. });
  23762. var __GLOBAL__sub_I_VisualEffectAsset_cpp = Module["__GLOBAL__sub_I_VisualEffectAsset_cpp"] = (function() {
  23763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23765. return Module["asm"]["__GLOBAL__sub_I_VisualEffectAsset_cpp"].apply(null, arguments);
  23766. });
  23767. var __GLOBAL__sub_I_Wind_cpp = Module["__GLOBAL__sub_I_Wind_cpp"] = (function() {
  23768. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23769. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23770. return Module["asm"]["__GLOBAL__sub_I_Wind_cpp"].apply(null, arguments);
  23771. });
  23772. var __GLOBAL__sub_I_XRAudio_cpp = Module["__GLOBAL__sub_I_XRAudio_cpp"] = (function() {
  23773. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23774. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23775. return Module["asm"]["__GLOBAL__sub_I_XRAudio_cpp"].apply(null, arguments);
  23776. });
  23777. var __GLOBAL__sub_I_XRPreInit_cpp = Module["__GLOBAL__sub_I_XRPreInit_cpp"] = (function() {
  23778. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23779. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23780. return Module["asm"]["__GLOBAL__sub_I_XRPreInit_cpp"].apply(null, arguments);
  23781. });
  23782. var __GLOBAL__sub_I_XRScriptingClasses_cpp = Module["__GLOBAL__sub_I_XRScriptingClasses_cpp"] = (function() {
  23783. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23784. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23785. return Module["asm"]["__GLOBAL__sub_I_XRScriptingClasses_cpp"].apply(null, arguments);
  23786. });
  23787. var __GLOBAL__sub_I_XRWindowsLocatableCamera_cpp = Module["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"] = (function() {
  23788. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23789. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23790. return Module["asm"]["__GLOBAL__sub_I_XRWindowsLocatableCamera_cpp"].apply(null, arguments);
  23791. });
  23792. var __GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp = Module["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"] = (function() {
  23793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23795. return Module["asm"]["__GLOBAL__sub_I_artifacts_WebGL_codegenerator_0_cpp"].apply(null, arguments);
  23796. });
  23797. var __GLOBAL__sub_I_clipmuscle_cpp = Module["__GLOBAL__sub_I_clipmuscle_cpp"] = (function() {
  23798. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23799. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23800. return Module["asm"]["__GLOBAL__sub_I_clipmuscle_cpp"].apply(null, arguments);
  23801. });
  23802. var __GLOBAL__sub_I_nvcloth_src_0_cpp = Module["__GLOBAL__sub_I_nvcloth_src_0_cpp"] = (function() {
  23803. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23804. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23805. return Module["asm"]["__GLOBAL__sub_I_nvcloth_src_0_cpp"].apply(null, arguments);
  23806. });
  23807. var __GLOBAL__sub_I_nvcloth_src_1_cpp = Module["__GLOBAL__sub_I_nvcloth_src_1_cpp"] = (function() {
  23808. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23809. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23810. return Module["asm"]["__GLOBAL__sub_I_nvcloth_src_1_cpp"].apply(null, arguments);
  23811. });
  23812. var __GLOBAL__sub_I_umbra_cpp = Module["__GLOBAL__sub_I_umbra_cpp"] = (function() {
  23813. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23814. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23815. return Module["asm"]["__GLOBAL__sub_I_umbra_cpp"].apply(null, arguments);
  23816. });
  23817. var ___cxa_can_catch = Module["___cxa_can_catch"] = (function() {
  23818. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23819. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23820. return Module["asm"]["___cxa_can_catch"].apply(null, arguments);
  23821. });
  23822. var ___cxa_demangle = Module["___cxa_demangle"] = (function() {
  23823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23825. return Module["asm"]["___cxa_demangle"].apply(null, arguments);
  23826. });
  23827. var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = (function() {
  23828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23830. return Module["asm"]["___cxa_is_pointer_type"].apply(null, arguments);
  23831. });
  23832. var ___cxx_global_var_init_10 = Module["___cxx_global_var_init_10"] = (function() {
  23833. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23834. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23835. return Module["asm"]["___cxx_global_var_init_10"].apply(null, arguments);
  23836. });
  23837. var ___cxx_global_var_init_104 = Module["___cxx_global_var_init_104"] = (function() {
  23838. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23839. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23840. return Module["asm"]["___cxx_global_var_init_104"].apply(null, arguments);
  23841. });
  23842. var ___cxx_global_var_init_105 = Module["___cxx_global_var_init_105"] = (function() {
  23843. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23844. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23845. return Module["asm"]["___cxx_global_var_init_105"].apply(null, arguments);
  23846. });
  23847. var ___cxx_global_var_init_10902 = Module["___cxx_global_var_init_10902"] = (function() {
  23848. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23849. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23850. return Module["asm"]["___cxx_global_var_init_10902"].apply(null, arguments);
  23851. });
  23852. var ___cxx_global_var_init_10_8160 = Module["___cxx_global_var_init_10_8160"] = (function() {
  23853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23855. return Module["asm"]["___cxx_global_var_init_10_8160"].apply(null, arguments);
  23856. });
  23857. var ___cxx_global_var_init_10_9872 = Module["___cxx_global_var_init_10_9872"] = (function() {
  23858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23860. return Module["asm"]["___cxx_global_var_init_10_9872"].apply(null, arguments);
  23861. });
  23862. var ___cxx_global_var_init_11 = Module["___cxx_global_var_init_11"] = (function() {
  23863. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23864. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23865. return Module["asm"]["___cxx_global_var_init_11"].apply(null, arguments);
  23866. });
  23867. var ___cxx_global_var_init_110 = Module["___cxx_global_var_init_110"] = (function() {
  23868. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23869. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23870. return Module["asm"]["___cxx_global_var_init_110"].apply(null, arguments);
  23871. });
  23872. var ___cxx_global_var_init_111 = Module["___cxx_global_var_init_111"] = (function() {
  23873. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23874. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23875. return Module["asm"]["___cxx_global_var_init_111"].apply(null, arguments);
  23876. });
  23877. var ___cxx_global_var_init_112 = Module["___cxx_global_var_init_112"] = (function() {
  23878. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23879. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23880. return Module["asm"]["___cxx_global_var_init_112"].apply(null, arguments);
  23881. });
  23882. var ___cxx_global_var_init_113 = Module["___cxx_global_var_init_113"] = (function() {
  23883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23885. return Module["asm"]["___cxx_global_var_init_113"].apply(null, arguments);
  23886. });
  23887. var ___cxx_global_var_init_114 = Module["___cxx_global_var_init_114"] = (function() {
  23888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23890. return Module["asm"]["___cxx_global_var_init_114"].apply(null, arguments);
  23891. });
  23892. var ___cxx_global_var_init_11_8161 = Module["___cxx_global_var_init_11_8161"] = (function() {
  23893. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23894. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23895. return Module["asm"]["___cxx_global_var_init_11_8161"].apply(null, arguments);
  23896. });
  23897. var ___cxx_global_var_init_12 = Module["___cxx_global_var_init_12"] = (function() {
  23898. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23899. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23900. return Module["asm"]["___cxx_global_var_init_12"].apply(null, arguments);
  23901. });
  23902. var ___cxx_global_var_init_12_8162 = Module["___cxx_global_var_init_12_8162"] = (function() {
  23903. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23904. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23905. return Module["asm"]["___cxx_global_var_init_12_8162"].apply(null, arguments);
  23906. });
  23907. var ___cxx_global_var_init_136 = Module["___cxx_global_var_init_136"] = (function() {
  23908. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23909. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23910. return Module["asm"]["___cxx_global_var_init_136"].apply(null, arguments);
  23911. });
  23912. var ___cxx_global_var_init_137 = Module["___cxx_global_var_init_137"] = (function() {
  23913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23915. return Module["asm"]["___cxx_global_var_init_137"].apply(null, arguments);
  23916. });
  23917. var ___cxx_global_var_init_145 = Module["___cxx_global_var_init_145"] = (function() {
  23918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23920. return Module["asm"]["___cxx_global_var_init_145"].apply(null, arguments);
  23921. });
  23922. var ___cxx_global_var_init_148 = Module["___cxx_global_var_init_148"] = (function() {
  23923. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23924. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23925. return Module["asm"]["___cxx_global_var_init_148"].apply(null, arguments);
  23926. });
  23927. var ___cxx_global_var_init_149 = Module["___cxx_global_var_init_149"] = (function() {
  23928. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23929. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23930. return Module["asm"]["___cxx_global_var_init_149"].apply(null, arguments);
  23931. });
  23932. var ___cxx_global_var_init_15 = Module["___cxx_global_var_init_15"] = (function() {
  23933. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23934. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23935. return Module["asm"]["___cxx_global_var_init_15"].apply(null, arguments);
  23936. });
  23937. var ___cxx_global_var_init_150 = Module["___cxx_global_var_init_150"] = (function() {
  23938. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23939. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23940. return Module["asm"]["___cxx_global_var_init_150"].apply(null, arguments);
  23941. });
  23942. var ___cxx_global_var_init_155 = Module["___cxx_global_var_init_155"] = (function() {
  23943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23945. return Module["asm"]["___cxx_global_var_init_155"].apply(null, arguments);
  23946. });
  23947. var ___cxx_global_var_init_165 = Module["___cxx_global_var_init_165"] = (function() {
  23948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23950. return Module["asm"]["___cxx_global_var_init_165"].apply(null, arguments);
  23951. });
  23952. var ___cxx_global_var_init_17 = Module["___cxx_global_var_init_17"] = (function() {
  23953. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23954. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23955. return Module["asm"]["___cxx_global_var_init_17"].apply(null, arguments);
  23956. });
  23957. var ___cxx_global_var_init_17056 = Module["___cxx_global_var_init_17056"] = (function() {
  23958. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23959. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23960. return Module["asm"]["___cxx_global_var_init_17056"].apply(null, arguments);
  23961. });
  23962. var ___cxx_global_var_init_172 = Module["___cxx_global_var_init_172"] = (function() {
  23963. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23964. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23965. return Module["asm"]["___cxx_global_var_init_172"].apply(null, arguments);
  23966. });
  23967. var ___cxx_global_var_init_173 = Module["___cxx_global_var_init_173"] = (function() {
  23968. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23969. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23970. return Module["asm"]["___cxx_global_var_init_173"].apply(null, arguments);
  23971. });
  23972. var ___cxx_global_var_init_174 = Module["___cxx_global_var_init_174"] = (function() {
  23973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23975. return Module["asm"]["___cxx_global_var_init_174"].apply(null, arguments);
  23976. });
  23977. var ___cxx_global_var_init_175 = Module["___cxx_global_var_init_175"] = (function() {
  23978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23980. return Module["asm"]["___cxx_global_var_init_175"].apply(null, arguments);
  23981. });
  23982. var ___cxx_global_var_init_176 = Module["___cxx_global_var_init_176"] = (function() {
  23983. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23984. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23985. return Module["asm"]["___cxx_global_var_init_176"].apply(null, arguments);
  23986. });
  23987. var ___cxx_global_var_init_177 = Module["___cxx_global_var_init_177"] = (function() {
  23988. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23989. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23990. return Module["asm"]["___cxx_global_var_init_177"].apply(null, arguments);
  23991. });
  23992. var ___cxx_global_var_init_178 = Module["___cxx_global_var_init_178"] = (function() {
  23993. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23994. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  23995. return Module["asm"]["___cxx_global_var_init_178"].apply(null, arguments);
  23996. });
  23997. var ___cxx_global_var_init_179 = Module["___cxx_global_var_init_179"] = (function() {
  23998. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  23999. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24000. return Module["asm"]["___cxx_global_var_init_179"].apply(null, arguments);
  24001. });
  24002. var ___cxx_global_var_init_18 = Module["___cxx_global_var_init_18"] = (function() {
  24003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24005. return Module["asm"]["___cxx_global_var_init_18"].apply(null, arguments);
  24006. });
  24007. var ___cxx_global_var_init_180 = Module["___cxx_global_var_init_180"] = (function() {
  24008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24010. return Module["asm"]["___cxx_global_var_init_180"].apply(null, arguments);
  24011. });
  24012. var ___cxx_global_var_init_181 = Module["___cxx_global_var_init_181"] = (function() {
  24013. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24014. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24015. return Module["asm"]["___cxx_global_var_init_181"].apply(null, arguments);
  24016. });
  24017. var ___cxx_global_var_init_182 = Module["___cxx_global_var_init_182"] = (function() {
  24018. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24019. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24020. return Module["asm"]["___cxx_global_var_init_182"].apply(null, arguments);
  24021. });
  24022. var ___cxx_global_var_init_183 = Module["___cxx_global_var_init_183"] = (function() {
  24023. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24024. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24025. return Module["asm"]["___cxx_global_var_init_183"].apply(null, arguments);
  24026. });
  24027. var ___cxx_global_var_init_184 = Module["___cxx_global_var_init_184"] = (function() {
  24028. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24029. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24030. return Module["asm"]["___cxx_global_var_init_184"].apply(null, arguments);
  24031. });
  24032. var ___cxx_global_var_init_185 = Module["___cxx_global_var_init_185"] = (function() {
  24033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24035. return Module["asm"]["___cxx_global_var_init_185"].apply(null, arguments);
  24036. });
  24037. var ___cxx_global_var_init_186 = Module["___cxx_global_var_init_186"] = (function() {
  24038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24040. return Module["asm"]["___cxx_global_var_init_186"].apply(null, arguments);
  24041. });
  24042. var ___cxx_global_var_init_187 = Module["___cxx_global_var_init_187"] = (function() {
  24043. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24044. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24045. return Module["asm"]["___cxx_global_var_init_187"].apply(null, arguments);
  24046. });
  24047. var ___cxx_global_var_init_188 = Module["___cxx_global_var_init_188"] = (function() {
  24048. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24049. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24050. return Module["asm"]["___cxx_global_var_init_188"].apply(null, arguments);
  24051. });
  24052. var ___cxx_global_var_init_189 = Module["___cxx_global_var_init_189"] = (function() {
  24053. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24054. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24055. return Module["asm"]["___cxx_global_var_init_189"].apply(null, arguments);
  24056. });
  24057. var ___cxx_global_var_init_19 = Module["___cxx_global_var_init_19"] = (function() {
  24058. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24059. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24060. return Module["asm"]["___cxx_global_var_init_19"].apply(null, arguments);
  24061. });
  24062. var ___cxx_global_var_init_190 = Module["___cxx_global_var_init_190"] = (function() {
  24063. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24064. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24065. return Module["asm"]["___cxx_global_var_init_190"].apply(null, arguments);
  24066. });
  24067. var ___cxx_global_var_init_191 = Module["___cxx_global_var_init_191"] = (function() {
  24068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24070. return Module["asm"]["___cxx_global_var_init_191"].apply(null, arguments);
  24071. });
  24072. var ___cxx_global_var_init_192 = Module["___cxx_global_var_init_192"] = (function() {
  24073. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24074. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24075. return Module["asm"]["___cxx_global_var_init_192"].apply(null, arguments);
  24076. });
  24077. var ___cxx_global_var_init_192_8369 = Module["___cxx_global_var_init_192_8369"] = (function() {
  24078. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24079. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24080. return Module["asm"]["___cxx_global_var_init_192_8369"].apply(null, arguments);
  24081. });
  24082. var ___cxx_global_var_init_193 = Module["___cxx_global_var_init_193"] = (function() {
  24083. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24084. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24085. return Module["asm"]["___cxx_global_var_init_193"].apply(null, arguments);
  24086. });
  24087. var ___cxx_global_var_init_193_8370 = Module["___cxx_global_var_init_193_8370"] = (function() {
  24088. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24089. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24090. return Module["asm"]["___cxx_global_var_init_193_8370"].apply(null, arguments);
  24091. });
  24092. var ___cxx_global_var_init_194 = Module["___cxx_global_var_init_194"] = (function() {
  24093. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24094. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24095. return Module["asm"]["___cxx_global_var_init_194"].apply(null, arguments);
  24096. });
  24097. var ___cxx_global_var_init_194_8371 = Module["___cxx_global_var_init_194_8371"] = (function() {
  24098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24100. return Module["asm"]["___cxx_global_var_init_194_8371"].apply(null, arguments);
  24101. });
  24102. var ___cxx_global_var_init_195 = Module["___cxx_global_var_init_195"] = (function() {
  24103. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24104. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24105. return Module["asm"]["___cxx_global_var_init_195"].apply(null, arguments);
  24106. });
  24107. var ___cxx_global_var_init_195_8372 = Module["___cxx_global_var_init_195_8372"] = (function() {
  24108. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24109. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24110. return Module["asm"]["___cxx_global_var_init_195_8372"].apply(null, arguments);
  24111. });
  24112. var ___cxx_global_var_init_196 = Module["___cxx_global_var_init_196"] = (function() {
  24113. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24114. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24115. return Module["asm"]["___cxx_global_var_init_196"].apply(null, arguments);
  24116. });
  24117. var ___cxx_global_var_init_196_8373 = Module["___cxx_global_var_init_196_8373"] = (function() {
  24118. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24119. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24120. return Module["asm"]["___cxx_global_var_init_196_8373"].apply(null, arguments);
  24121. });
  24122. var ___cxx_global_var_init_197 = Module["___cxx_global_var_init_197"] = (function() {
  24123. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24124. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24125. return Module["asm"]["___cxx_global_var_init_197"].apply(null, arguments);
  24126. });
  24127. var ___cxx_global_var_init_197_8374 = Module["___cxx_global_var_init_197_8374"] = (function() {
  24128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24130. return Module["asm"]["___cxx_global_var_init_197_8374"].apply(null, arguments);
  24131. });
  24132. var ___cxx_global_var_init_198 = Module["___cxx_global_var_init_198"] = (function() {
  24133. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24134. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24135. return Module["asm"]["___cxx_global_var_init_198"].apply(null, arguments);
  24136. });
  24137. var ___cxx_global_var_init_198_8375 = Module["___cxx_global_var_init_198_8375"] = (function() {
  24138. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24139. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24140. return Module["asm"]["___cxx_global_var_init_198_8375"].apply(null, arguments);
  24141. });
  24142. var ___cxx_global_var_init_199 = Module["___cxx_global_var_init_199"] = (function() {
  24143. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24144. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24145. return Module["asm"]["___cxx_global_var_init_199"].apply(null, arguments);
  24146. });
  24147. var ___cxx_global_var_init_199_1313 = Module["___cxx_global_var_init_199_1313"] = (function() {
  24148. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24149. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24150. return Module["asm"]["___cxx_global_var_init_199_1313"].apply(null, arguments);
  24151. });
  24152. var ___cxx_global_var_init_1_7192 = Module["___cxx_global_var_init_1_7192"] = (function() {
  24153. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24154. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24155. return Module["asm"]["___cxx_global_var_init_1_7192"].apply(null, arguments);
  24156. });
  24157. var ___cxx_global_var_init_1_9523 = Module["___cxx_global_var_init_1_9523"] = (function() {
  24158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24160. return Module["asm"]["___cxx_global_var_init_1_9523"].apply(null, arguments);
  24161. });
  24162. var ___cxx_global_var_init_20 = Module["___cxx_global_var_init_20"] = (function() {
  24163. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24164. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24165. return Module["asm"]["___cxx_global_var_init_20"].apply(null, arguments);
  24166. });
  24167. var ___cxx_global_var_init_200 = Module["___cxx_global_var_init_200"] = (function() {
  24168. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24169. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24170. return Module["asm"]["___cxx_global_var_init_200"].apply(null, arguments);
  24171. });
  24172. var ___cxx_global_var_init_201 = Module["___cxx_global_var_init_201"] = (function() {
  24173. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24174. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24175. return Module["asm"]["___cxx_global_var_init_201"].apply(null, arguments);
  24176. });
  24177. var ___cxx_global_var_init_202 = Module["___cxx_global_var_init_202"] = (function() {
  24178. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24179. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24180. return Module["asm"]["___cxx_global_var_init_202"].apply(null, arguments);
  24181. });
  24182. var ___cxx_global_var_init_203 = Module["___cxx_global_var_init_203"] = (function() {
  24183. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24184. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24185. return Module["asm"]["___cxx_global_var_init_203"].apply(null, arguments);
  24186. });
  24187. var ___cxx_global_var_init_204 = Module["___cxx_global_var_init_204"] = (function() {
  24188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24190. return Module["asm"]["___cxx_global_var_init_204"].apply(null, arguments);
  24191. });
  24192. var ___cxx_global_var_init_205 = Module["___cxx_global_var_init_205"] = (function() {
  24193. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24194. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24195. return Module["asm"]["___cxx_global_var_init_205"].apply(null, arguments);
  24196. });
  24197. var ___cxx_global_var_init_206 = Module["___cxx_global_var_init_206"] = (function() {
  24198. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24199. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24200. return Module["asm"]["___cxx_global_var_init_206"].apply(null, arguments);
  24201. });
  24202. var ___cxx_global_var_init_207 = Module["___cxx_global_var_init_207"] = (function() {
  24203. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24204. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24205. return Module["asm"]["___cxx_global_var_init_207"].apply(null, arguments);
  24206. });
  24207. var ___cxx_global_var_init_208 = Module["___cxx_global_var_init_208"] = (function() {
  24208. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24209. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24210. return Module["asm"]["___cxx_global_var_init_208"].apply(null, arguments);
  24211. });
  24212. var ___cxx_global_var_init_209 = Module["___cxx_global_var_init_209"] = (function() {
  24213. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24214. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24215. return Module["asm"]["___cxx_global_var_init_209"].apply(null, arguments);
  24216. });
  24217. var ___cxx_global_var_init_21 = Module["___cxx_global_var_init_21"] = (function() {
  24218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24220. return Module["asm"]["___cxx_global_var_init_21"].apply(null, arguments);
  24221. });
  24222. var ___cxx_global_var_init_210 = Module["___cxx_global_var_init_210"] = (function() {
  24223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24225. return Module["asm"]["___cxx_global_var_init_210"].apply(null, arguments);
  24226. });
  24227. var ___cxx_global_var_init_210_8376 = Module["___cxx_global_var_init_210_8376"] = (function() {
  24228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24230. return Module["asm"]["___cxx_global_var_init_210_8376"].apply(null, arguments);
  24231. });
  24232. var ___cxx_global_var_init_211 = Module["___cxx_global_var_init_211"] = (function() {
  24233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24235. return Module["asm"]["___cxx_global_var_init_211"].apply(null, arguments);
  24236. });
  24237. var ___cxx_global_var_init_211_8377 = Module["___cxx_global_var_init_211_8377"] = (function() {
  24238. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24239. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24240. return Module["asm"]["___cxx_global_var_init_211_8377"].apply(null, arguments);
  24241. });
  24242. var ___cxx_global_var_init_212 = Module["___cxx_global_var_init_212"] = (function() {
  24243. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24244. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24245. return Module["asm"]["___cxx_global_var_init_212"].apply(null, arguments);
  24246. });
  24247. var ___cxx_global_var_init_213 = Module["___cxx_global_var_init_213"] = (function() {
  24248. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24249. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24250. return Module["asm"]["___cxx_global_var_init_213"].apply(null, arguments);
  24251. });
  24252. var ___cxx_global_var_init_214 = Module["___cxx_global_var_init_214"] = (function() {
  24253. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24254. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24255. return Module["asm"]["___cxx_global_var_init_214"].apply(null, arguments);
  24256. });
  24257. var ___cxx_global_var_init_215 = Module["___cxx_global_var_init_215"] = (function() {
  24258. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24259. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24260. return Module["asm"]["___cxx_global_var_init_215"].apply(null, arguments);
  24261. });
  24262. var ___cxx_global_var_init_216 = Module["___cxx_global_var_init_216"] = (function() {
  24263. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24264. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24265. return Module["asm"]["___cxx_global_var_init_216"].apply(null, arguments);
  24266. });
  24267. var ___cxx_global_var_init_217 = Module["___cxx_global_var_init_217"] = (function() {
  24268. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24269. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24270. return Module["asm"]["___cxx_global_var_init_217"].apply(null, arguments);
  24271. });
  24272. var ___cxx_global_var_init_218 = Module["___cxx_global_var_init_218"] = (function() {
  24273. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24274. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24275. return Module["asm"]["___cxx_global_var_init_218"].apply(null, arguments);
  24276. });
  24277. var ___cxx_global_var_init_219 = Module["___cxx_global_var_init_219"] = (function() {
  24278. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24279. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24280. return Module["asm"]["___cxx_global_var_init_219"].apply(null, arguments);
  24281. });
  24282. var ___cxx_global_var_init_220 = Module["___cxx_global_var_init_220"] = (function() {
  24283. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24284. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24285. return Module["asm"]["___cxx_global_var_init_220"].apply(null, arguments);
  24286. });
  24287. var ___cxx_global_var_init_221 = Module["___cxx_global_var_init_221"] = (function() {
  24288. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24289. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24290. return Module["asm"]["___cxx_global_var_init_221"].apply(null, arguments);
  24291. });
  24292. var ___cxx_global_var_init_222 = Module["___cxx_global_var_init_222"] = (function() {
  24293. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24294. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24295. return Module["asm"]["___cxx_global_var_init_222"].apply(null, arguments);
  24296. });
  24297. var ___cxx_global_var_init_223 = Module["___cxx_global_var_init_223"] = (function() {
  24298. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24299. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24300. return Module["asm"]["___cxx_global_var_init_223"].apply(null, arguments);
  24301. });
  24302. var ___cxx_global_var_init_224 = Module["___cxx_global_var_init_224"] = (function() {
  24303. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24304. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24305. return Module["asm"]["___cxx_global_var_init_224"].apply(null, arguments);
  24306. });
  24307. var ___cxx_global_var_init_225 = Module["___cxx_global_var_init_225"] = (function() {
  24308. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24309. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24310. return Module["asm"]["___cxx_global_var_init_225"].apply(null, arguments);
  24311. });
  24312. var ___cxx_global_var_init_226 = Module["___cxx_global_var_init_226"] = (function() {
  24313. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24314. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24315. return Module["asm"]["___cxx_global_var_init_226"].apply(null, arguments);
  24316. });
  24317. var ___cxx_global_var_init_227 = Module["___cxx_global_var_init_227"] = (function() {
  24318. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24319. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24320. return Module["asm"]["___cxx_global_var_init_227"].apply(null, arguments);
  24321. });
  24322. var ___cxx_global_var_init_25 = Module["___cxx_global_var_init_25"] = (function() {
  24323. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24324. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24325. return Module["asm"]["___cxx_global_var_init_25"].apply(null, arguments);
  24326. });
  24327. var ___cxx_global_var_init_26 = Module["___cxx_global_var_init_26"] = (function() {
  24328. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24329. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24330. return Module["asm"]["___cxx_global_var_init_26"].apply(null, arguments);
  24331. });
  24332. var ___cxx_global_var_init_27 = Module["___cxx_global_var_init_27"] = (function() {
  24333. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24334. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24335. return Module["asm"]["___cxx_global_var_init_27"].apply(null, arguments);
  24336. });
  24337. var ___cxx_global_var_init_27_5700 = Module["___cxx_global_var_init_27_5700"] = (function() {
  24338. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24339. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24340. return Module["asm"]["___cxx_global_var_init_27_5700"].apply(null, arguments);
  24341. });
  24342. var ___cxx_global_var_init_27_9077 = Module["___cxx_global_var_init_27_9077"] = (function() {
  24343. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24344. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24345. return Module["asm"]["___cxx_global_var_init_27_9077"].apply(null, arguments);
  24346. });
  24347. var ___cxx_global_var_init_28 = Module["___cxx_global_var_init_28"] = (function() {
  24348. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24349. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24350. return Module["asm"]["___cxx_global_var_init_28"].apply(null, arguments);
  24351. });
  24352. var ___cxx_global_var_init_28_7231 = Module["___cxx_global_var_init_28_7231"] = (function() {
  24353. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24354. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24355. return Module["asm"]["___cxx_global_var_init_28_7231"].apply(null, arguments);
  24356. });
  24357. var ___cxx_global_var_init_29_4253 = Module["___cxx_global_var_init_29_4253"] = (function() {
  24358. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24359. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24360. return Module["asm"]["___cxx_global_var_init_29_4253"].apply(null, arguments);
  24361. });
  24362. var ___cxx_global_var_init_29_7232 = Module["___cxx_global_var_init_29_7232"] = (function() {
  24363. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24364. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24365. return Module["asm"]["___cxx_global_var_init_29_7232"].apply(null, arguments);
  24366. });
  24367. var ___cxx_global_var_init_29_9078 = Module["___cxx_global_var_init_29_9078"] = (function() {
  24368. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24369. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24370. return Module["asm"]["___cxx_global_var_init_29_9078"].apply(null, arguments);
  24371. });
  24372. var ___cxx_global_var_init_2_9524 = Module["___cxx_global_var_init_2_9524"] = (function() {
  24373. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24374. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24375. return Module["asm"]["___cxx_global_var_init_2_9524"].apply(null, arguments);
  24376. });
  24377. var ___cxx_global_var_init_2_9864 = Module["___cxx_global_var_init_2_9864"] = (function() {
  24378. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24379. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24380. return Module["asm"]["___cxx_global_var_init_2_9864"].apply(null, arguments);
  24381. });
  24382. var ___cxx_global_var_init_30 = Module["___cxx_global_var_init_30"] = (function() {
  24383. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24384. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24385. return Module["asm"]["___cxx_global_var_init_30"].apply(null, arguments);
  24386. });
  24387. var ___cxx_global_var_init_30_4254 = Module["___cxx_global_var_init_30_4254"] = (function() {
  24388. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24389. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24390. return Module["asm"]["___cxx_global_var_init_30_4254"].apply(null, arguments);
  24391. });
  24392. var ___cxx_global_var_init_31_4255 = Module["___cxx_global_var_init_31_4255"] = (function() {
  24393. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24394. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24395. return Module["asm"]["___cxx_global_var_init_31_4255"].apply(null, arguments);
  24396. });
  24397. var ___cxx_global_var_init_31_8777 = Module["___cxx_global_var_init_31_8777"] = (function() {
  24398. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24399. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24400. return Module["asm"]["___cxx_global_var_init_31_8777"].apply(null, arguments);
  24401. });
  24402. var ___cxx_global_var_init_31_9079 = Module["___cxx_global_var_init_31_9079"] = (function() {
  24403. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24404. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24405. return Module["asm"]["___cxx_global_var_init_31_9079"].apply(null, arguments);
  24406. });
  24407. var ___cxx_global_var_init_32 = Module["___cxx_global_var_init_32"] = (function() {
  24408. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24409. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24410. return Module["asm"]["___cxx_global_var_init_32"].apply(null, arguments);
  24411. });
  24412. var ___cxx_global_var_init_33_10214 = Module["___cxx_global_var_init_33_10214"] = (function() {
  24413. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24414. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24415. return Module["asm"]["___cxx_global_var_init_33_10214"].apply(null, arguments);
  24416. });
  24417. var ___cxx_global_var_init_33_8778 = Module["___cxx_global_var_init_33_8778"] = (function() {
  24418. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24419. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24420. return Module["asm"]["___cxx_global_var_init_33_8778"].apply(null, arguments);
  24421. });
  24422. var ___cxx_global_var_init_34 = Module["___cxx_global_var_init_34"] = (function() {
  24423. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24424. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24425. return Module["asm"]["___cxx_global_var_init_34"].apply(null, arguments);
  24426. });
  24427. var ___cxx_global_var_init_34_8779 = Module["___cxx_global_var_init_34_8779"] = (function() {
  24428. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24429. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24430. return Module["asm"]["___cxx_global_var_init_34_8779"].apply(null, arguments);
  24431. });
  24432. var ___cxx_global_var_init_34_9191 = Module["___cxx_global_var_init_34_9191"] = (function() {
  24433. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24434. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24435. return Module["asm"]["___cxx_global_var_init_34_9191"].apply(null, arguments);
  24436. });
  24437. var ___cxx_global_var_init_35 = Module["___cxx_global_var_init_35"] = (function() {
  24438. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24439. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24440. return Module["asm"]["___cxx_global_var_init_35"].apply(null, arguments);
  24441. });
  24442. var ___cxx_global_var_init_35_7722 = Module["___cxx_global_var_init_35_7722"] = (function() {
  24443. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24444. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24445. return Module["asm"]["___cxx_global_var_init_35_7722"].apply(null, arguments);
  24446. });
  24447. var ___cxx_global_var_init_36 = Module["___cxx_global_var_init_36"] = (function() {
  24448. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24449. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24450. return Module["asm"]["___cxx_global_var_init_36"].apply(null, arguments);
  24451. });
  24452. var ___cxx_global_var_init_36_7723 = Module["___cxx_global_var_init_36_7723"] = (function() {
  24453. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24454. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24455. return Module["asm"]["___cxx_global_var_init_36_7723"].apply(null, arguments);
  24456. });
  24457. var ___cxx_global_var_init_37 = Module["___cxx_global_var_init_37"] = (function() {
  24458. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24459. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24460. return Module["asm"]["___cxx_global_var_init_37"].apply(null, arguments);
  24461. });
  24462. var ___cxx_global_var_init_38 = Module["___cxx_global_var_init_38"] = (function() {
  24463. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24464. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24465. return Module["asm"]["___cxx_global_var_init_38"].apply(null, arguments);
  24466. });
  24467. var ___cxx_global_var_init_39 = Module["___cxx_global_var_init_39"] = (function() {
  24468. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24469. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24470. return Module["asm"]["___cxx_global_var_init_39"].apply(null, arguments);
  24471. });
  24472. var ___cxx_global_var_init_3_27 = Module["___cxx_global_var_init_3_27"] = (function() {
  24473. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24474. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24475. return Module["asm"]["___cxx_global_var_init_3_27"].apply(null, arguments);
  24476. });
  24477. var ___cxx_global_var_init_3_4488 = Module["___cxx_global_var_init_3_4488"] = (function() {
  24478. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24479. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24480. return Module["asm"]["___cxx_global_var_init_3_4488"].apply(null, arguments);
  24481. });
  24482. var ___cxx_global_var_init_3_9865 = Module["___cxx_global_var_init_3_9865"] = (function() {
  24483. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24484. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24485. return Module["asm"]["___cxx_global_var_init_3_9865"].apply(null, arguments);
  24486. });
  24487. var ___cxx_global_var_init_40 = Module["___cxx_global_var_init_40"] = (function() {
  24488. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24489. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24490. return Module["asm"]["___cxx_global_var_init_40"].apply(null, arguments);
  24491. });
  24492. var ___cxx_global_var_init_41 = Module["___cxx_global_var_init_41"] = (function() {
  24493. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24494. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24495. return Module["asm"]["___cxx_global_var_init_41"].apply(null, arguments);
  24496. });
  24497. var ___cxx_global_var_init_4115 = Module["___cxx_global_var_init_4115"] = (function() {
  24498. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24499. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24500. return Module["asm"]["___cxx_global_var_init_4115"].apply(null, arguments);
  24501. });
  24502. var ___cxx_global_var_init_41_13454 = Module["___cxx_global_var_init_41_13454"] = (function() {
  24503. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24504. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24505. return Module["asm"]["___cxx_global_var_init_41_13454"].apply(null, arguments);
  24506. });
  24507. var ___cxx_global_var_init_42 = Module["___cxx_global_var_init_42"] = (function() {
  24508. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24509. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24510. return Module["asm"]["___cxx_global_var_init_42"].apply(null, arguments);
  24511. });
  24512. var ___cxx_global_var_init_43 = Module["___cxx_global_var_init_43"] = (function() {
  24513. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24514. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24515. return Module["asm"]["___cxx_global_var_init_43"].apply(null, arguments);
  24516. });
  24517. var ___cxx_global_var_init_43_4835 = Module["___cxx_global_var_init_43_4835"] = (function() {
  24518. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24519. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24520. return Module["asm"]["___cxx_global_var_init_43_4835"].apply(null, arguments);
  24521. });
  24522. var ___cxx_global_var_init_44 = Module["___cxx_global_var_init_44"] = (function() {
  24523. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24524. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24525. return Module["asm"]["___cxx_global_var_init_44"].apply(null, arguments);
  24526. });
  24527. var ___cxx_global_var_init_44_7941 = Module["___cxx_global_var_init_44_7941"] = (function() {
  24528. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24529. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24530. return Module["asm"]["___cxx_global_var_init_44_7941"].apply(null, arguments);
  24531. });
  24532. var ___cxx_global_var_init_45 = Module["___cxx_global_var_init_45"] = (function() {
  24533. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24534. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24535. return Module["asm"]["___cxx_global_var_init_45"].apply(null, arguments);
  24536. });
  24537. var ___cxx_global_var_init_46 = Module["___cxx_global_var_init_46"] = (function() {
  24538. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24539. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24540. return Module["asm"]["___cxx_global_var_init_46"].apply(null, arguments);
  24541. });
  24542. var ___cxx_global_var_init_46_8331 = Module["___cxx_global_var_init_46_8331"] = (function() {
  24543. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24544. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24545. return Module["asm"]["___cxx_global_var_init_46_8331"].apply(null, arguments);
  24546. });
  24547. var ___cxx_global_var_init_47 = Module["___cxx_global_var_init_47"] = (function() {
  24548. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24549. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24550. return Module["asm"]["___cxx_global_var_init_47"].apply(null, arguments);
  24551. });
  24552. var ___cxx_global_var_init_47_12771 = Module["___cxx_global_var_init_47_12771"] = (function() {
  24553. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24554. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24555. return Module["asm"]["___cxx_global_var_init_47_12771"].apply(null, arguments);
  24556. });
  24557. var ___cxx_global_var_init_47_1314 = Module["___cxx_global_var_init_47_1314"] = (function() {
  24558. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24559. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24560. return Module["asm"]["___cxx_global_var_init_47_1314"].apply(null, arguments);
  24561. });
  24562. var ___cxx_global_var_init_47_8332 = Module["___cxx_global_var_init_47_8332"] = (function() {
  24563. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24564. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24565. return Module["asm"]["___cxx_global_var_init_47_8332"].apply(null, arguments);
  24566. });
  24567. var ___cxx_global_var_init_48 = Module["___cxx_global_var_init_48"] = (function() {
  24568. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24569. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24570. return Module["asm"]["___cxx_global_var_init_48"].apply(null, arguments);
  24571. });
  24572. var ___cxx_global_var_init_48_1315 = Module["___cxx_global_var_init_48_1315"] = (function() {
  24573. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24574. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24575. return Module["asm"]["___cxx_global_var_init_48_1315"].apply(null, arguments);
  24576. });
  24577. var ___cxx_global_var_init_48_8333 = Module["___cxx_global_var_init_48_8333"] = (function() {
  24578. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24579. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24580. return Module["asm"]["___cxx_global_var_init_48_8333"].apply(null, arguments);
  24581. });
  24582. var ___cxx_global_var_init_49 = Module["___cxx_global_var_init_49"] = (function() {
  24583. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24584. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24585. return Module["asm"]["___cxx_global_var_init_49"].apply(null, arguments);
  24586. });
  24587. var ___cxx_global_var_init_49_8334 = Module["___cxx_global_var_init_49_8334"] = (function() {
  24588. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24589. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24590. return Module["asm"]["___cxx_global_var_init_49_8334"].apply(null, arguments);
  24591. });
  24592. var ___cxx_global_var_init_4_7135 = Module["___cxx_global_var_init_4_7135"] = (function() {
  24593. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24594. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24595. return Module["asm"]["___cxx_global_var_init_4_7135"].apply(null, arguments);
  24596. });
  24597. var ___cxx_global_var_init_4_9866 = Module["___cxx_global_var_init_4_9866"] = (function() {
  24598. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24599. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24600. return Module["asm"]["___cxx_global_var_init_4_9866"].apply(null, arguments);
  24601. });
  24602. var ___cxx_global_var_init_5 = Module["___cxx_global_var_init_5"] = (function() {
  24603. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24604. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24605. return Module["asm"]["___cxx_global_var_init_5"].apply(null, arguments);
  24606. });
  24607. var ___cxx_global_var_init_50 = Module["___cxx_global_var_init_50"] = (function() {
  24608. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24609. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24610. return Module["asm"]["___cxx_global_var_init_50"].apply(null, arguments);
  24611. });
  24612. var ___cxx_global_var_init_51 = Module["___cxx_global_var_init_51"] = (function() {
  24613. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24614. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24615. return Module["asm"]["___cxx_global_var_init_51"].apply(null, arguments);
  24616. });
  24617. var ___cxx_global_var_init_52 = Module["___cxx_global_var_init_52"] = (function() {
  24618. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24619. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24620. return Module["asm"]["___cxx_global_var_init_52"].apply(null, arguments);
  24621. });
  24622. var ___cxx_global_var_init_53 = Module["___cxx_global_var_init_53"] = (function() {
  24623. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24624. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24625. return Module["asm"]["___cxx_global_var_init_53"].apply(null, arguments);
  24626. });
  24627. var ___cxx_global_var_init_53_8335 = Module["___cxx_global_var_init_53_8335"] = (function() {
  24628. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24629. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24630. return Module["asm"]["___cxx_global_var_init_53_8335"].apply(null, arguments);
  24631. });
  24632. var ___cxx_global_var_init_54 = Module["___cxx_global_var_init_54"] = (function() {
  24633. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24634. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24635. return Module["asm"]["___cxx_global_var_init_54"].apply(null, arguments);
  24636. });
  24637. var ___cxx_global_var_init_55 = Module["___cxx_global_var_init_55"] = (function() {
  24638. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24639. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24640. return Module["asm"]["___cxx_global_var_init_55"].apply(null, arguments);
  24641. });
  24642. var ___cxx_global_var_init_55_9705 = Module["___cxx_global_var_init_55_9705"] = (function() {
  24643. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24644. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24645. return Module["asm"]["___cxx_global_var_init_55_9705"].apply(null, arguments);
  24646. });
  24647. var ___cxx_global_var_init_56 = Module["___cxx_global_var_init_56"] = (function() {
  24648. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24649. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24650. return Module["asm"]["___cxx_global_var_init_56"].apply(null, arguments);
  24651. });
  24652. var ___cxx_global_var_init_57 = Module["___cxx_global_var_init_57"] = (function() {
  24653. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24654. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24655. return Module["asm"]["___cxx_global_var_init_57"].apply(null, arguments);
  24656. });
  24657. var ___cxx_global_var_init_58 = Module["___cxx_global_var_init_58"] = (function() {
  24658. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24659. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24660. return Module["asm"]["___cxx_global_var_init_58"].apply(null, arguments);
  24661. });
  24662. var ___cxx_global_var_init_58_4836 = Module["___cxx_global_var_init_58_4836"] = (function() {
  24663. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24664. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24665. return Module["asm"]["___cxx_global_var_init_58_4836"].apply(null, arguments);
  24666. });
  24667. var ___cxx_global_var_init_58_9706 = Module["___cxx_global_var_init_58_9706"] = (function() {
  24668. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24669. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24670. return Module["asm"]["___cxx_global_var_init_58_9706"].apply(null, arguments);
  24671. });
  24672. var ___cxx_global_var_init_59 = Module["___cxx_global_var_init_59"] = (function() {
  24673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24675. return Module["asm"]["___cxx_global_var_init_59"].apply(null, arguments);
  24676. });
  24677. var ___cxx_global_var_init_59_4837 = Module["___cxx_global_var_init_59_4837"] = (function() {
  24678. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24679. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24680. return Module["asm"]["___cxx_global_var_init_59_4837"].apply(null, arguments);
  24681. });
  24682. var ___cxx_global_var_init_59_9707 = Module["___cxx_global_var_init_59_9707"] = (function() {
  24683. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24684. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24685. return Module["asm"]["___cxx_global_var_init_59_9707"].apply(null, arguments);
  24686. });
  24687. var ___cxx_global_var_init_5_9867 = Module["___cxx_global_var_init_5_9867"] = (function() {
  24688. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24689. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24690. return Module["asm"]["___cxx_global_var_init_5_9867"].apply(null, arguments);
  24691. });
  24692. var ___cxx_global_var_init_60 = Module["___cxx_global_var_init_60"] = (function() {
  24693. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24694. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24695. return Module["asm"]["___cxx_global_var_init_60"].apply(null, arguments);
  24696. });
  24697. var ___cxx_global_var_init_60_4838 = Module["___cxx_global_var_init_60_4838"] = (function() {
  24698. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24699. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24700. return Module["asm"]["___cxx_global_var_init_60_4838"].apply(null, arguments);
  24701. });
  24702. var ___cxx_global_var_init_60_9708 = Module["___cxx_global_var_init_60_9708"] = (function() {
  24703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24705. return Module["asm"]["___cxx_global_var_init_60_9708"].apply(null, arguments);
  24706. });
  24707. var ___cxx_global_var_init_61 = Module["___cxx_global_var_init_61"] = (function() {
  24708. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24709. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24710. return Module["asm"]["___cxx_global_var_init_61"].apply(null, arguments);
  24711. });
  24712. var ___cxx_global_var_init_61_9709 = Module["___cxx_global_var_init_61_9709"] = (function() {
  24713. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24714. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24715. return Module["asm"]["___cxx_global_var_init_61_9709"].apply(null, arguments);
  24716. });
  24717. var ___cxx_global_var_init_63 = Module["___cxx_global_var_init_63"] = (function() {
  24718. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24719. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24720. return Module["asm"]["___cxx_global_var_init_63"].apply(null, arguments);
  24721. });
  24722. var ___cxx_global_var_init_67 = Module["___cxx_global_var_init_67"] = (function() {
  24723. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24724. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24725. return Module["asm"]["___cxx_global_var_init_67"].apply(null, arguments);
  24726. });
  24727. var ___cxx_global_var_init_6_4575 = Module["___cxx_global_var_init_6_4575"] = (function() {
  24728. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24729. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24730. return Module["asm"]["___cxx_global_var_init_6_4575"].apply(null, arguments);
  24731. });
  24732. var ___cxx_global_var_init_6_748 = Module["___cxx_global_var_init_6_748"] = (function() {
  24733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24735. return Module["asm"]["___cxx_global_var_init_6_748"].apply(null, arguments);
  24736. });
  24737. var ___cxx_global_var_init_6_9868 = Module["___cxx_global_var_init_6_9868"] = (function() {
  24738. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24739. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24740. return Module["asm"]["___cxx_global_var_init_6_9868"].apply(null, arguments);
  24741. });
  24742. var ___cxx_global_var_init_7 = Module["___cxx_global_var_init_7"] = (function() {
  24743. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24744. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24745. return Module["asm"]["___cxx_global_var_init_7"].apply(null, arguments);
  24746. });
  24747. var ___cxx_global_var_init_71 = Module["___cxx_global_var_init_71"] = (function() {
  24748. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24749. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24750. return Module["asm"]["___cxx_global_var_init_71"].apply(null, arguments);
  24751. });
  24752. var ___cxx_global_var_init_78 = Module["___cxx_global_var_init_78"] = (function() {
  24753. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24754. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24755. return Module["asm"]["___cxx_global_var_init_78"].apply(null, arguments);
  24756. });
  24757. var ___cxx_global_var_init_79 = Module["___cxx_global_var_init_79"] = (function() {
  24758. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24759. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24760. return Module["asm"]["___cxx_global_var_init_79"].apply(null, arguments);
  24761. });
  24762. var ___cxx_global_var_init_7_4576 = Module["___cxx_global_var_init_7_4576"] = (function() {
  24763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24765. return Module["asm"]["___cxx_global_var_init_7_4576"].apply(null, arguments);
  24766. });
  24767. var ___cxx_global_var_init_7_9869 = Module["___cxx_global_var_init_7_9869"] = (function() {
  24768. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24769. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24770. return Module["asm"]["___cxx_global_var_init_7_9869"].apply(null, arguments);
  24771. });
  24772. var ___cxx_global_var_init_8548 = Module["___cxx_global_var_init_8548"] = (function() {
  24773. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24774. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24775. return Module["asm"]["___cxx_global_var_init_8548"].apply(null, arguments);
  24776. });
  24777. var ___cxx_global_var_init_86 = Module["___cxx_global_var_init_86"] = (function() {
  24778. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24779. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24780. return Module["asm"]["___cxx_global_var_init_86"].apply(null, arguments);
  24781. });
  24782. var ___cxx_global_var_init_87 = Module["___cxx_global_var_init_87"] = (function() {
  24783. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24784. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24785. return Module["asm"]["___cxx_global_var_init_87"].apply(null, arguments);
  24786. });
  24787. var ___cxx_global_var_init_88 = Module["___cxx_global_var_init_88"] = (function() {
  24788. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24789. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24790. return Module["asm"]["___cxx_global_var_init_88"].apply(null, arguments);
  24791. });
  24792. var ___cxx_global_var_init_88_8664 = Module["___cxx_global_var_init_88_8664"] = (function() {
  24793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24795. return Module["asm"]["___cxx_global_var_init_88_8664"].apply(null, arguments);
  24796. });
  24797. var ___cxx_global_var_init_8_4577 = Module["___cxx_global_var_init_8_4577"] = (function() {
  24798. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24799. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24800. return Module["asm"]["___cxx_global_var_init_8_4577"].apply(null, arguments);
  24801. });
  24802. var ___cxx_global_var_init_8_7072 = Module["___cxx_global_var_init_8_7072"] = (function() {
  24803. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24804. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24805. return Module["asm"]["___cxx_global_var_init_8_7072"].apply(null, arguments);
  24806. });
  24807. var ___cxx_global_var_init_8_9870 = Module["___cxx_global_var_init_8_9870"] = (function() {
  24808. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24809. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24810. return Module["asm"]["___cxx_global_var_init_8_9870"].apply(null, arguments);
  24811. });
  24812. var ___cxx_global_var_init_91 = Module["___cxx_global_var_init_91"] = (function() {
  24813. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24814. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24815. return Module["asm"]["___cxx_global_var_init_91"].apply(null, arguments);
  24816. });
  24817. var ___cxx_global_var_init_92 = Module["___cxx_global_var_init_92"] = (function() {
  24818. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24819. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24820. return Module["asm"]["___cxx_global_var_init_92"].apply(null, arguments);
  24821. });
  24822. var ___cxx_global_var_init_92_6295 = Module["___cxx_global_var_init_92_6295"] = (function() {
  24823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24825. return Module["asm"]["___cxx_global_var_init_92_6295"].apply(null, arguments);
  24826. });
  24827. var ___cxx_global_var_init_93 = Module["___cxx_global_var_init_93"] = (function() {
  24828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24830. return Module["asm"]["___cxx_global_var_init_93"].apply(null, arguments);
  24831. });
  24832. var ___cxx_global_var_init_93_6296 = Module["___cxx_global_var_init_93_6296"] = (function() {
  24833. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24834. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24835. return Module["asm"]["___cxx_global_var_init_93_6296"].apply(null, arguments);
  24836. });
  24837. var ___cxx_global_var_init_94 = Module["___cxx_global_var_init_94"] = (function() {
  24838. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24839. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24840. return Module["asm"]["___cxx_global_var_init_94"].apply(null, arguments);
  24841. });
  24842. var ___cxx_global_var_init_94_6297 = Module["___cxx_global_var_init_94_6297"] = (function() {
  24843. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24844. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24845. return Module["asm"]["___cxx_global_var_init_94_6297"].apply(null, arguments);
  24846. });
  24847. var ___cxx_global_var_init_95 = Module["___cxx_global_var_init_95"] = (function() {
  24848. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24849. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24850. return Module["asm"]["___cxx_global_var_init_95"].apply(null, arguments);
  24851. });
  24852. var ___cxx_global_var_init_9_4578 = Module["___cxx_global_var_init_9_4578"] = (function() {
  24853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24855. return Module["asm"]["___cxx_global_var_init_9_4578"].apply(null, arguments);
  24856. });
  24857. var ___cxx_global_var_init_9_9871 = Module["___cxx_global_var_init_9_9871"] = (function() {
  24858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24860. return Module["asm"]["___cxx_global_var_init_9_9871"].apply(null, arguments);
  24861. });
  24862. var ___emscripten_environ_constructor = Module["___emscripten_environ_constructor"] = (function() {
  24863. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24864. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24865. return Module["asm"]["___emscripten_environ_constructor"].apply(null, arguments);
  24866. });
  24867. var ___errno_location = Module["___errno_location"] = (function() {
  24868. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24869. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24870. return Module["asm"]["___errno_location"].apply(null, arguments);
  24871. });
  24872. var __get_daylight = Module["__get_daylight"] = (function() {
  24873. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24874. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24875. return Module["asm"]["__get_daylight"].apply(null, arguments);
  24876. });
  24877. var __get_environ = Module["__get_environ"] = (function() {
  24878. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24879. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24880. return Module["asm"]["__get_environ"].apply(null, arguments);
  24881. });
  24882. var __get_timezone = Module["__get_timezone"] = (function() {
  24883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24885. return Module["asm"]["__get_timezone"].apply(null, arguments);
  24886. });
  24887. var __get_tzname = Module["__get_tzname"] = (function() {
  24888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24890. return Module["asm"]["__get_tzname"].apply(null, arguments);
  24891. });
  24892. var _emscripten_replace_memory = Module["_emscripten_replace_memory"] = (function() {
  24893. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24894. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24895. return Module["asm"]["_emscripten_replace_memory"].apply(null, arguments);
  24896. });
  24897. var _fflush = Module["_fflush"] = (function() {
  24898. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24899. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24900. return Module["asm"]["_fflush"].apply(null, arguments);
  24901. });
  24902. var _free = Module["_free"] = (function() {
  24903. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24904. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24905. return Module["asm"]["_free"].apply(null, arguments);
  24906. });
  24907. var _htonl = Module["_htonl"] = (function() {
  24908. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24909. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24910. return Module["asm"]["_htonl"].apply(null, arguments);
  24911. });
  24912. var _htons = Module["_htons"] = (function() {
  24913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24915. return Module["asm"]["_htons"].apply(null, arguments);
  24916. });
  24917. var _i64Add = Module["_i64Add"] = (function() {
  24918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24920. return Module["asm"]["_i64Add"].apply(null, arguments);
  24921. });
  24922. var _llvm_bswap_i16 = Module["_llvm_bswap_i16"] = (function() {
  24923. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24924. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24925. return Module["asm"]["_llvm_bswap_i16"].apply(null, arguments);
  24926. });
  24927. var _llvm_bswap_i32 = Module["_llvm_bswap_i32"] = (function() {
  24928. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24929. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24930. return Module["asm"]["_llvm_bswap_i32"].apply(null, arguments);
  24931. });
  24932. var _llvm_ctlz_i64 = Module["_llvm_ctlz_i64"] = (function() {
  24933. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24934. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24935. return Module["asm"]["_llvm_ctlz_i64"].apply(null, arguments);
  24936. });
  24937. var _llvm_ctpop_i32 = Module["_llvm_ctpop_i32"] = (function() {
  24938. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24939. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24940. return Module["asm"]["_llvm_ctpop_i32"].apply(null, arguments);
  24941. });
  24942. var _llvm_maxnum_f32 = Module["_llvm_maxnum_f32"] = (function() {
  24943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24945. return Module["asm"]["_llvm_maxnum_f32"].apply(null, arguments);
  24946. });
  24947. var _llvm_maxnum_f64 = Module["_llvm_maxnum_f64"] = (function() {
  24948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24950. return Module["asm"]["_llvm_maxnum_f64"].apply(null, arguments);
  24951. });
  24952. var _llvm_minnum_f32 = Module["_llvm_minnum_f32"] = (function() {
  24953. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24954. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24955. return Module["asm"]["_llvm_minnum_f32"].apply(null, arguments);
  24956. });
  24957. var _llvm_round_f32 = Module["_llvm_round_f32"] = (function() {
  24958. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24959. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24960. return Module["asm"]["_llvm_round_f32"].apply(null, arguments);
  24961. });
  24962. var _main = Module["_main"] = (function() {
  24963. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24964. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24965. return Module["asm"]["_main"].apply(null, arguments);
  24966. });
  24967. var _malloc = Module["_malloc"] = (function() {
  24968. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24969. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24970. return Module["asm"]["_malloc"].apply(null, arguments);
  24971. });
  24972. var _memalign = Module["_memalign"] = (function() {
  24973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24975. return Module["asm"]["_memalign"].apply(null, arguments);
  24976. });
  24977. var _memcpy = Module["_memcpy"] = (function() {
  24978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24980. return Module["asm"]["_memcpy"].apply(null, arguments);
  24981. });
  24982. var _memmove = Module["_memmove"] = (function() {
  24983. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24984. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24985. return Module["asm"]["_memmove"].apply(null, arguments);
  24986. });
  24987. var _memset = Module["_memset"] = (function() {
  24988. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24989. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24990. return Module["asm"]["_memset"].apply(null, arguments);
  24991. });
  24992. var _ntohs = Module["_ntohs"] = (function() {
  24993. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24994. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  24995. return Module["asm"]["_ntohs"].apply(null, arguments);
  24996. });
  24997. var _pthread_cond_broadcast = Module["_pthread_cond_broadcast"] = (function() {
  24998. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  24999. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25000. return Module["asm"]["_pthread_cond_broadcast"].apply(null, arguments);
  25001. });
  25002. var _pthread_mutex_lock = Module["_pthread_mutex_lock"] = (function() {
  25003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25005. return Module["asm"]["_pthread_mutex_lock"].apply(null, arguments);
  25006. });
  25007. var _pthread_mutex_unlock = Module["_pthread_mutex_unlock"] = (function() {
  25008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25010. return Module["asm"]["_pthread_mutex_unlock"].apply(null, arguments);
  25011. });
  25012. var _realloc = Module["_realloc"] = (function() {
  25013. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25014. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25015. return Module["asm"]["_realloc"].apply(null, arguments);
  25016. });
  25017. var _sbrk = Module["_sbrk"] = (function() {
  25018. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25019. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25020. return Module["asm"]["_sbrk"].apply(null, arguments);
  25021. });
  25022. var _strlen = Module["_strlen"] = (function() {
  25023. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25024. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25025. return Module["asm"]["_strlen"].apply(null, arguments);
  25026. });
  25027. var establishStackSpace = Module["establishStackSpace"] = (function() {
  25028. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25029. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25030. return Module["asm"]["establishStackSpace"].apply(null, arguments);
  25031. });
  25032. var getTempRet0 = Module["getTempRet0"] = (function() {
  25033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25035. return Module["asm"]["getTempRet0"].apply(null, arguments);
  25036. });
  25037. var runPostSets = Module["runPostSets"] = (function() {
  25038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25040. return Module["asm"]["runPostSets"].apply(null, arguments);
  25041. });
  25042. var setTempRet0 = Module["setTempRet0"] = (function() {
  25043. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25044. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25045. return Module["asm"]["setTempRet0"].apply(null, arguments);
  25046. });
  25047. var setThrew = Module["setThrew"] = (function() {
  25048. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25049. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25050. return Module["asm"]["setThrew"].apply(null, arguments);
  25051. });
  25052. var stackAlloc = Module["stackAlloc"] = (function() {
  25053. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25054. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25055. return Module["asm"]["stackAlloc"].apply(null, arguments);
  25056. });
  25057. var stackRestore = Module["stackRestore"] = (function() {
  25058. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25059. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25060. return Module["asm"]["stackRestore"].apply(null, arguments);
  25061. });
  25062. var stackSave = Module["stackSave"] = (function() {
  25063. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25064. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25065. return Module["asm"]["stackSave"].apply(null, arguments);
  25066. });
  25067. var dynCall_dddi = Module["dynCall_dddi"] = (function() {
  25068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25070. return Module["asm"]["dynCall_dddi"].apply(null, arguments);
  25071. });
  25072. var dynCall_ddi = Module["dynCall_ddi"] = (function() {
  25073. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25074. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25075. return Module["asm"]["dynCall_ddi"].apply(null, arguments);
  25076. });
  25077. var dynCall_dfi = Module["dynCall_dfi"] = (function() {
  25078. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25079. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25080. return Module["asm"]["dynCall_dfi"].apply(null, arguments);
  25081. });
  25082. var dynCall_di = Module["dynCall_di"] = (function() {
  25083. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25084. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25085. return Module["asm"]["dynCall_di"].apply(null, arguments);
  25086. });
  25087. var dynCall_diddi = Module["dynCall_diddi"] = (function() {
  25088. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25089. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25090. return Module["asm"]["dynCall_diddi"].apply(null, arguments);
  25091. });
  25092. var dynCall_didi = Module["dynCall_didi"] = (function() {
  25093. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25094. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25095. return Module["asm"]["dynCall_didi"].apply(null, arguments);
  25096. });
  25097. var dynCall_dii = Module["dynCall_dii"] = (function() {
  25098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25100. return Module["asm"]["dynCall_dii"].apply(null, arguments);
  25101. });
  25102. var dynCall_diii = Module["dynCall_diii"] = (function() {
  25103. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25104. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25105. return Module["asm"]["dynCall_diii"].apply(null, arguments);
  25106. });
  25107. var dynCall_diiii = Module["dynCall_diiii"] = (function() {
  25108. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25109. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25110. return Module["asm"]["dynCall_diiii"].apply(null, arguments);
  25111. });
  25112. var dynCall_dji = Module["dynCall_dji"] = (function() {
  25113. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25114. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25115. return Module["asm"]["dynCall_dji"].apply(null, arguments);
  25116. });
  25117. var dynCall_f = Module["dynCall_f"] = (function() {
  25118. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25119. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25120. return Module["asm"]["dynCall_f"].apply(null, arguments);
  25121. });
  25122. var dynCall_fdi = Module["dynCall_fdi"] = (function() {
  25123. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25124. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25125. return Module["asm"]["dynCall_fdi"].apply(null, arguments);
  25126. });
  25127. var dynCall_ff = Module["dynCall_ff"] = (function() {
  25128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25130. return Module["asm"]["dynCall_ff"].apply(null, arguments);
  25131. });
  25132. var dynCall_fff = Module["dynCall_fff"] = (function() {
  25133. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25134. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25135. return Module["asm"]["dynCall_fff"].apply(null, arguments);
  25136. });
  25137. var dynCall_ffffi = Module["dynCall_ffffi"] = (function() {
  25138. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25139. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25140. return Module["asm"]["dynCall_ffffi"].apply(null, arguments);
  25141. });
  25142. var dynCall_fffi = Module["dynCall_fffi"] = (function() {
  25143. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25144. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25145. return Module["asm"]["dynCall_fffi"].apply(null, arguments);
  25146. });
  25147. var dynCall_fffifffi = Module["dynCall_fffifffi"] = (function() {
  25148. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25149. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25150. return Module["asm"]["dynCall_fffifffi"].apply(null, arguments);
  25151. });
  25152. var dynCall_ffi = Module["dynCall_ffi"] = (function() {
  25153. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25154. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25155. return Module["asm"]["dynCall_ffi"].apply(null, arguments);
  25156. });
  25157. var dynCall_fi = Module["dynCall_fi"] = (function() {
  25158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25160. return Module["asm"]["dynCall_fi"].apply(null, arguments);
  25161. });
  25162. var dynCall_fif = Module["dynCall_fif"] = (function() {
  25163. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25164. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25165. return Module["asm"]["dynCall_fif"].apply(null, arguments);
  25166. });
  25167. var dynCall_fiff = Module["dynCall_fiff"] = (function() {
  25168. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25169. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25170. return Module["asm"]["dynCall_fiff"].apply(null, arguments);
  25171. });
  25172. var dynCall_fifffi = Module["dynCall_fifffi"] = (function() {
  25173. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25174. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25175. return Module["asm"]["dynCall_fifffi"].apply(null, arguments);
  25176. });
  25177. var dynCall_fiffi = Module["dynCall_fiffi"] = (function() {
  25178. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25179. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25180. return Module["asm"]["dynCall_fiffi"].apply(null, arguments);
  25181. });
  25182. var dynCall_fifi = Module["dynCall_fifi"] = (function() {
  25183. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25184. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25185. return Module["asm"]["dynCall_fifi"].apply(null, arguments);
  25186. });
  25187. var dynCall_fifii = Module["dynCall_fifii"] = (function() {
  25188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25190. return Module["asm"]["dynCall_fifii"].apply(null, arguments);
  25191. });
  25192. var dynCall_fii = Module["dynCall_fii"] = (function() {
  25193. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25194. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25195. return Module["asm"]["dynCall_fii"].apply(null, arguments);
  25196. });
  25197. var dynCall_fiif = Module["dynCall_fiif"] = (function() {
  25198. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25199. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25200. return Module["asm"]["dynCall_fiif"].apply(null, arguments);
  25201. });
  25202. var dynCall_fiifi = Module["dynCall_fiifi"] = (function() {
  25203. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25204. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25205. return Module["asm"]["dynCall_fiifi"].apply(null, arguments);
  25206. });
  25207. var dynCall_fiifii = Module["dynCall_fiifii"] = (function() {
  25208. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25209. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25210. return Module["asm"]["dynCall_fiifii"].apply(null, arguments);
  25211. });
  25212. var dynCall_fiii = Module["dynCall_fiii"] = (function() {
  25213. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25214. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25215. return Module["asm"]["dynCall_fiii"].apply(null, arguments);
  25216. });
  25217. var dynCall_fiiii = Module["dynCall_fiiii"] = (function() {
  25218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25220. return Module["asm"]["dynCall_fiiii"].apply(null, arguments);
  25221. });
  25222. var dynCall_fiiiiiifiifif = Module["dynCall_fiiiiiifiifif"] = (function() {
  25223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25225. return Module["asm"]["dynCall_fiiiiiifiifif"].apply(null, arguments);
  25226. });
  25227. var dynCall_fiiiiiifiiiif = Module["dynCall_fiiiiiifiiiif"] = (function() {
  25228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25230. return Module["asm"]["dynCall_fiiiiiifiiiif"].apply(null, arguments);
  25231. });
  25232. var dynCall_fji = Module["dynCall_fji"] = (function() {
  25233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25235. return Module["asm"]["dynCall_fji"].apply(null, arguments);
  25236. });
  25237. var dynCall_i = Module["dynCall_i"] = (function() {
  25238. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25239. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25240. return Module["asm"]["dynCall_i"].apply(null, arguments);
  25241. });
  25242. var dynCall_idi = Module["dynCall_idi"] = (function() {
  25243. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25244. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25245. return Module["asm"]["dynCall_idi"].apply(null, arguments);
  25246. });
  25247. var dynCall_idiii = Module["dynCall_idiii"] = (function() {
  25248. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25249. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25250. return Module["asm"]["dynCall_idiii"].apply(null, arguments);
  25251. });
  25252. var dynCall_ifffi = Module["dynCall_ifffi"] = (function() {
  25253. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25254. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25255. return Module["asm"]["dynCall_ifffi"].apply(null, arguments);
  25256. });
  25257. var dynCall_iffi = Module["dynCall_iffi"] = (function() {
  25258. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25259. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25260. return Module["asm"]["dynCall_iffi"].apply(null, arguments);
  25261. });
  25262. var dynCall_ifi = Module["dynCall_ifi"] = (function() {
  25263. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25264. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25265. return Module["asm"]["dynCall_ifi"].apply(null, arguments);
  25266. });
  25267. var dynCall_ifiii = Module["dynCall_ifiii"] = (function() {
  25268. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25269. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25270. return Module["asm"]["dynCall_ifiii"].apply(null, arguments);
  25271. });
  25272. var dynCall_ii = Module["dynCall_ii"] = (function() {
  25273. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25274. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25275. return Module["asm"]["dynCall_ii"].apply(null, arguments);
  25276. });
  25277. var dynCall_iidi = Module["dynCall_iidi"] = (function() {
  25278. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25279. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25280. return Module["asm"]["dynCall_iidi"].apply(null, arguments);
  25281. });
  25282. var dynCall_iidii = Module["dynCall_iidii"] = (function() {
  25283. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25284. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25285. return Module["asm"]["dynCall_iidii"].apply(null, arguments);
  25286. });
  25287. var dynCall_iif = Module["dynCall_iif"] = (function() {
  25288. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25289. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25290. return Module["asm"]["dynCall_iif"].apply(null, arguments);
  25291. });
  25292. var dynCall_iifff = Module["dynCall_iifff"] = (function() {
  25293. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25294. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25295. return Module["asm"]["dynCall_iifff"].apply(null, arguments);
  25296. });
  25297. var dynCall_iifffi = Module["dynCall_iifffi"] = (function() {
  25298. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25299. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25300. return Module["asm"]["dynCall_iifffi"].apply(null, arguments);
  25301. });
  25302. var dynCall_iiffi = Module["dynCall_iiffi"] = (function() {
  25303. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25304. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25305. return Module["asm"]["dynCall_iiffi"].apply(null, arguments);
  25306. });
  25307. var dynCall_iifi = Module["dynCall_iifi"] = (function() {
  25308. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25309. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25310. return Module["asm"]["dynCall_iifi"].apply(null, arguments);
  25311. });
  25312. var dynCall_iifii = Module["dynCall_iifii"] = (function() {
  25313. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25314. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25315. return Module["asm"]["dynCall_iifii"].apply(null, arguments);
  25316. });
  25317. var dynCall_iifiii = Module["dynCall_iifiii"] = (function() {
  25318. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25319. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25320. return Module["asm"]["dynCall_iifiii"].apply(null, arguments);
  25321. });
  25322. var dynCall_iifiiiijii = Module["dynCall_iifiiiijii"] = (function() {
  25323. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25324. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25325. return Module["asm"]["dynCall_iifiiiijii"].apply(null, arguments);
  25326. });
  25327. var dynCall_iii = Module["dynCall_iii"] = (function() {
  25328. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25329. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25330. return Module["asm"]["dynCall_iii"].apply(null, arguments);
  25331. });
  25332. var dynCall_iiif = Module["dynCall_iiif"] = (function() {
  25333. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25334. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25335. return Module["asm"]["dynCall_iiif"].apply(null, arguments);
  25336. });
  25337. var dynCall_iiiff = Module["dynCall_iiiff"] = (function() {
  25338. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25339. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25340. return Module["asm"]["dynCall_iiiff"].apply(null, arguments);
  25341. });
  25342. var dynCall_iiifi = Module["dynCall_iiifi"] = (function() {
  25343. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25344. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25345. return Module["asm"]["dynCall_iiifi"].apply(null, arguments);
  25346. });
  25347. var dynCall_iiifii = Module["dynCall_iiifii"] = (function() {
  25348. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25349. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25350. return Module["asm"]["dynCall_iiifii"].apply(null, arguments);
  25351. });
  25352. var dynCall_iiifiii = Module["dynCall_iiifiii"] = (function() {
  25353. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25354. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25355. return Module["asm"]["dynCall_iiifiii"].apply(null, arguments);
  25356. });
  25357. var dynCall_iiifiiii = Module["dynCall_iiifiiii"] = (function() {
  25358. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25359. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25360. return Module["asm"]["dynCall_iiifiiii"].apply(null, arguments);
  25361. });
  25362. var dynCall_iiii = Module["dynCall_iiii"] = (function() {
  25363. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25364. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25365. return Module["asm"]["dynCall_iiii"].apply(null, arguments);
  25366. });
  25367. var dynCall_iiiifffffi = Module["dynCall_iiiifffffi"] = (function() {
  25368. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25369. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25370. return Module["asm"]["dynCall_iiiifffffi"].apply(null, arguments);
  25371. });
  25372. var dynCall_iiiifffffii = Module["dynCall_iiiifffffii"] = (function() {
  25373. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25374. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25375. return Module["asm"]["dynCall_iiiifffffii"].apply(null, arguments);
  25376. });
  25377. var dynCall_iiiifffiii = Module["dynCall_iiiifffiii"] = (function() {
  25378. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25379. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25380. return Module["asm"]["dynCall_iiiifffiii"].apply(null, arguments);
  25381. });
  25382. var dynCall_iiiifi = Module["dynCall_iiiifi"] = (function() {
  25383. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25384. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25385. return Module["asm"]["dynCall_iiiifi"].apply(null, arguments);
  25386. });
  25387. var dynCall_iiiifii = Module["dynCall_iiiifii"] = (function() {
  25388. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25389. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25390. return Module["asm"]["dynCall_iiiifii"].apply(null, arguments);
  25391. });
  25392. var dynCall_iiiifiii = Module["dynCall_iiiifiii"] = (function() {
  25393. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25394. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25395. return Module["asm"]["dynCall_iiiifiii"].apply(null, arguments);
  25396. });
  25397. var dynCall_iiiifiiii = Module["dynCall_iiiifiiii"] = (function() {
  25398. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25399. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25400. return Module["asm"]["dynCall_iiiifiiii"].apply(null, arguments);
  25401. });
  25402. var dynCall_iiiifiiiii = Module["dynCall_iiiifiiiii"] = (function() {
  25403. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25404. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25405. return Module["asm"]["dynCall_iiiifiiiii"].apply(null, arguments);
  25406. });
  25407. var dynCall_iiiii = Module["dynCall_iiiii"] = (function() {
  25408. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25409. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25410. return Module["asm"]["dynCall_iiiii"].apply(null, arguments);
  25411. });
  25412. var dynCall_iiiiifiii = Module["dynCall_iiiiifiii"] = (function() {
  25413. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25414. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25415. return Module["asm"]["dynCall_iiiiifiii"].apply(null, arguments);
  25416. });
  25417. var dynCall_iiiiifiiiiif = Module["dynCall_iiiiifiiiiif"] = (function() {
  25418. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25419. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25420. return Module["asm"]["dynCall_iiiiifiiiiif"].apply(null, arguments);
  25421. });
  25422. var dynCall_iiiiii = Module["dynCall_iiiiii"] = (function() {
  25423. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25424. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25425. return Module["asm"]["dynCall_iiiiii"].apply(null, arguments);
  25426. });
  25427. var dynCall_iiiiiifff = Module["dynCall_iiiiiifff"] = (function() {
  25428. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25429. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25430. return Module["asm"]["dynCall_iiiiiifff"].apply(null, arguments);
  25431. });
  25432. var dynCall_iiiiiifffiiifiii = Module["dynCall_iiiiiifffiiifiii"] = (function() {
  25433. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25434. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25435. return Module["asm"]["dynCall_iiiiiifffiiifiii"].apply(null, arguments);
  25436. });
  25437. var dynCall_iiiiiiffiiiiiiiiiffffiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiii"] = (function() {
  25438. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25439. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25440. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiffffiii"].apply(null, arguments);
  25441. });
  25442. var dynCall_iiiiiiffiiiiiiiiiffffiiii = Module["dynCall_iiiiiiffiiiiiiiiiffffiiii"] = (function() {
  25443. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25444. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25445. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiffffiiii"].apply(null, arguments);
  25446. });
  25447. var dynCall_iiiiiiffiiiiiiiiiiiiiii = Module["dynCall_iiiiiiffiiiiiiiiiiiiiii"] = (function() {
  25448. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25449. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25450. return Module["asm"]["dynCall_iiiiiiffiiiiiiiiiiiiiii"].apply(null, arguments);
  25451. });
  25452. var dynCall_iiiiiifiif = Module["dynCall_iiiiiifiif"] = (function() {
  25453. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25454. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25455. return Module["asm"]["dynCall_iiiiiifiif"].apply(null, arguments);
  25456. });
  25457. var dynCall_iiiiiifiii = Module["dynCall_iiiiiifiii"] = (function() {
  25458. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25459. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25460. return Module["asm"]["dynCall_iiiiiifiii"].apply(null, arguments);
  25461. });
  25462. var dynCall_iiiiiii = Module["dynCall_iiiiiii"] = (function() {
  25463. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25464. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25465. return Module["asm"]["dynCall_iiiiiii"].apply(null, arguments);
  25466. });
  25467. var dynCall_iiiiiiifiif = Module["dynCall_iiiiiiifiif"] = (function() {
  25468. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25469. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25470. return Module["asm"]["dynCall_iiiiiiifiif"].apply(null, arguments);
  25471. });
  25472. var dynCall_iiiiiiii = Module["dynCall_iiiiiiii"] = (function() {
  25473. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25474. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25475. return Module["asm"]["dynCall_iiiiiiii"].apply(null, arguments);
  25476. });
  25477. var dynCall_iiiiiiiii = Module["dynCall_iiiiiiiii"] = (function() {
  25478. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25479. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25480. return Module["asm"]["dynCall_iiiiiiiii"].apply(null, arguments);
  25481. });
  25482. var dynCall_iiiiiiiiii = Module["dynCall_iiiiiiiiii"] = (function() {
  25483. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25484. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25485. return Module["asm"]["dynCall_iiiiiiiiii"].apply(null, arguments);
  25486. });
  25487. var dynCall_iiiiiiiiiii = Module["dynCall_iiiiiiiiiii"] = (function() {
  25488. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25489. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25490. return Module["asm"]["dynCall_iiiiiiiiiii"].apply(null, arguments);
  25491. });
  25492. var dynCall_iiiiiiiiiiii = Module["dynCall_iiiiiiiiiiii"] = (function() {
  25493. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25494. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25495. return Module["asm"]["dynCall_iiiiiiiiiiii"].apply(null, arguments);
  25496. });
  25497. var dynCall_iiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiii"] = (function() {
  25498. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25499. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25500. return Module["asm"]["dynCall_iiiiiiiiiiiii"].apply(null, arguments);
  25501. });
  25502. var dynCall_iiiiiiiiiiiiii = Module["dynCall_iiiiiiiiiiiiii"] = (function() {
  25503. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25504. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25505. return Module["asm"]["dynCall_iiiiiiiiiiiiii"].apply(null, arguments);
  25506. });
  25507. var dynCall_iiiiiji = Module["dynCall_iiiiiji"] = (function() {
  25508. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25509. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25510. return Module["asm"]["dynCall_iiiiiji"].apply(null, arguments);
  25511. });
  25512. var dynCall_iiiij = Module["dynCall_iiiij"] = (function() {
  25513. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25514. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25515. return Module["asm"]["dynCall_iiiij"].apply(null, arguments);
  25516. });
  25517. var dynCall_iiiiji = Module["dynCall_iiiiji"] = (function() {
  25518. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25519. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25520. return Module["asm"]["dynCall_iiiiji"].apply(null, arguments);
  25521. });
  25522. var dynCall_iiiijii = Module["dynCall_iiiijii"] = (function() {
  25523. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25524. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25525. return Module["asm"]["dynCall_iiiijii"].apply(null, arguments);
  25526. });
  25527. var dynCall_iiiijiii = Module["dynCall_iiiijiii"] = (function() {
  25528. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25529. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25530. return Module["asm"]["dynCall_iiiijiii"].apply(null, arguments);
  25531. });
  25532. var dynCall_iiij = Module["dynCall_iiij"] = (function() {
  25533. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25534. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25535. return Module["asm"]["dynCall_iiij"].apply(null, arguments);
  25536. });
  25537. var dynCall_iiiji = Module["dynCall_iiiji"] = (function() {
  25538. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25539. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25540. return Module["asm"]["dynCall_iiiji"].apply(null, arguments);
  25541. });
  25542. var dynCall_iiijii = Module["dynCall_iiijii"] = (function() {
  25543. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25544. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25545. return Module["asm"]["dynCall_iiijii"].apply(null, arguments);
  25546. });
  25547. var dynCall_iiijiii = Module["dynCall_iiijiii"] = (function() {
  25548. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25549. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25550. return Module["asm"]["dynCall_iiijiii"].apply(null, arguments);
  25551. });
  25552. var dynCall_iiijji = Module["dynCall_iiijji"] = (function() {
  25553. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25554. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25555. return Module["asm"]["dynCall_iiijji"].apply(null, arguments);
  25556. });
  25557. var dynCall_iiijjiiii = Module["dynCall_iiijjiiii"] = (function() {
  25558. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25559. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25560. return Module["asm"]["dynCall_iiijjiiii"].apply(null, arguments);
  25561. });
  25562. var dynCall_iij = Module["dynCall_iij"] = (function() {
  25563. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25564. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25565. return Module["asm"]["dynCall_iij"].apply(null, arguments);
  25566. });
  25567. var dynCall_iiji = Module["dynCall_iiji"] = (function() {
  25568. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25569. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25570. return Module["asm"]["dynCall_iiji"].apply(null, arguments);
  25571. });
  25572. var dynCall_iijii = Module["dynCall_iijii"] = (function() {
  25573. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25574. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25575. return Module["asm"]["dynCall_iijii"].apply(null, arguments);
  25576. });
  25577. var dynCall_iijiii = Module["dynCall_iijiii"] = (function() {
  25578. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25579. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25580. return Module["asm"]["dynCall_iijiii"].apply(null, arguments);
  25581. });
  25582. var dynCall_iijji = Module["dynCall_iijji"] = (function() {
  25583. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25584. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25585. return Module["asm"]["dynCall_iijji"].apply(null, arguments);
  25586. });
  25587. var dynCall_iijjii = Module["dynCall_iijjii"] = (function() {
  25588. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25589. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25590. return Module["asm"]["dynCall_iijjii"].apply(null, arguments);
  25591. });
  25592. var dynCall_iijjiii = Module["dynCall_iijjiii"] = (function() {
  25593. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25594. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25595. return Module["asm"]["dynCall_iijjiii"].apply(null, arguments);
  25596. });
  25597. var dynCall_iijjji = Module["dynCall_iijjji"] = (function() {
  25598. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25599. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25600. return Module["asm"]["dynCall_iijjji"].apply(null, arguments);
  25601. });
  25602. var dynCall_ij = Module["dynCall_ij"] = (function() {
  25603. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25604. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25605. return Module["asm"]["dynCall_ij"].apply(null, arguments);
  25606. });
  25607. var dynCall_iji = Module["dynCall_iji"] = (function() {
  25608. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25609. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25610. return Module["asm"]["dynCall_iji"].apply(null, arguments);
  25611. });
  25612. var dynCall_ijiii = Module["dynCall_ijiii"] = (function() {
  25613. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25614. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25615. return Module["asm"]["dynCall_ijiii"].apply(null, arguments);
  25616. });
  25617. var dynCall_ijj = Module["dynCall_ijj"] = (function() {
  25618. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25619. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25620. return Module["asm"]["dynCall_ijj"].apply(null, arguments);
  25621. });
  25622. var dynCall_ijji = Module["dynCall_ijji"] = (function() {
  25623. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25624. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25625. return Module["asm"]["dynCall_ijji"].apply(null, arguments);
  25626. });
  25627. var dynCall_j = Module["dynCall_j"] = (function() {
  25628. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25629. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25630. return Module["asm"]["dynCall_j"].apply(null, arguments);
  25631. });
  25632. var dynCall_jdi = Module["dynCall_jdi"] = (function() {
  25633. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25634. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25635. return Module["asm"]["dynCall_jdi"].apply(null, arguments);
  25636. });
  25637. var dynCall_jdii = Module["dynCall_jdii"] = (function() {
  25638. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25639. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25640. return Module["asm"]["dynCall_jdii"].apply(null, arguments);
  25641. });
  25642. var dynCall_jfi = Module["dynCall_jfi"] = (function() {
  25643. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25644. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25645. return Module["asm"]["dynCall_jfi"].apply(null, arguments);
  25646. });
  25647. var dynCall_ji = Module["dynCall_ji"] = (function() {
  25648. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25649. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25650. return Module["asm"]["dynCall_ji"].apply(null, arguments);
  25651. });
  25652. var dynCall_jidi = Module["dynCall_jidi"] = (function() {
  25653. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25654. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25655. return Module["asm"]["dynCall_jidi"].apply(null, arguments);
  25656. });
  25657. var dynCall_jidii = Module["dynCall_jidii"] = (function() {
  25658. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25659. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25660. return Module["asm"]["dynCall_jidii"].apply(null, arguments);
  25661. });
  25662. var dynCall_jii = Module["dynCall_jii"] = (function() {
  25663. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25664. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25665. return Module["asm"]["dynCall_jii"].apply(null, arguments);
  25666. });
  25667. var dynCall_jiii = Module["dynCall_jiii"] = (function() {
  25668. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25669. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25670. return Module["asm"]["dynCall_jiii"].apply(null, arguments);
  25671. });
  25672. var dynCall_jiiii = Module["dynCall_jiiii"] = (function() {
  25673. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25674. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25675. return Module["asm"]["dynCall_jiiii"].apply(null, arguments);
  25676. });
  25677. var dynCall_jiiiii = Module["dynCall_jiiiii"] = (function() {
  25678. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25679. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25680. return Module["asm"]["dynCall_jiiiii"].apply(null, arguments);
  25681. });
  25682. var dynCall_jiiiiii = Module["dynCall_jiiiiii"] = (function() {
  25683. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25684. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25685. return Module["asm"]["dynCall_jiiiiii"].apply(null, arguments);
  25686. });
  25687. var dynCall_jiiiiiiiiii = Module["dynCall_jiiiiiiiiii"] = (function() {
  25688. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25689. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25690. return Module["asm"]["dynCall_jiiiiiiiiii"].apply(null, arguments);
  25691. });
  25692. var dynCall_jiiji = Module["dynCall_jiiji"] = (function() {
  25693. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25694. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25695. return Module["asm"]["dynCall_jiiji"].apply(null, arguments);
  25696. });
  25697. var dynCall_jiji = Module["dynCall_jiji"] = (function() {
  25698. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25699. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25700. return Module["asm"]["dynCall_jiji"].apply(null, arguments);
  25701. });
  25702. var dynCall_jijii = Module["dynCall_jijii"] = (function() {
  25703. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25704. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25705. return Module["asm"]["dynCall_jijii"].apply(null, arguments);
  25706. });
  25707. var dynCall_jijiii = Module["dynCall_jijiii"] = (function() {
  25708. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25709. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25710. return Module["asm"]["dynCall_jijiii"].apply(null, arguments);
  25711. });
  25712. var dynCall_jijj = Module["dynCall_jijj"] = (function() {
  25713. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25714. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25715. return Module["asm"]["dynCall_jijj"].apply(null, arguments);
  25716. });
  25717. var dynCall_jijji = Module["dynCall_jijji"] = (function() {
  25718. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25719. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25720. return Module["asm"]["dynCall_jijji"].apply(null, arguments);
  25721. });
  25722. var dynCall_jji = Module["dynCall_jji"] = (function() {
  25723. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25724. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25725. return Module["asm"]["dynCall_jji"].apply(null, arguments);
  25726. });
  25727. var dynCall_v = Module["dynCall_v"] = (function() {
  25728. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25729. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25730. return Module["asm"]["dynCall_v"].apply(null, arguments);
  25731. });
  25732. var dynCall_vd = Module["dynCall_vd"] = (function() {
  25733. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25734. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25735. return Module["asm"]["dynCall_vd"].apply(null, arguments);
  25736. });
  25737. var dynCall_vf = Module["dynCall_vf"] = (function() {
  25738. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25739. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25740. return Module["asm"]["dynCall_vf"].apply(null, arguments);
  25741. });
  25742. var dynCall_vff = Module["dynCall_vff"] = (function() {
  25743. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25744. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25745. return Module["asm"]["dynCall_vff"].apply(null, arguments);
  25746. });
  25747. var dynCall_vffff = Module["dynCall_vffff"] = (function() {
  25748. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25749. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25750. return Module["asm"]["dynCall_vffff"].apply(null, arguments);
  25751. });
  25752. var dynCall_vfi = Module["dynCall_vfi"] = (function() {
  25753. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25754. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25755. return Module["asm"]["dynCall_vfi"].apply(null, arguments);
  25756. });
  25757. var dynCall_vi = Module["dynCall_vi"] = (function() {
  25758. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25759. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25760. return Module["asm"]["dynCall_vi"].apply(null, arguments);
  25761. });
  25762. var dynCall_vid = Module["dynCall_vid"] = (function() {
  25763. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25764. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25765. return Module["asm"]["dynCall_vid"].apply(null, arguments);
  25766. });
  25767. var dynCall_vidi = Module["dynCall_vidi"] = (function() {
  25768. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25769. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25770. return Module["asm"]["dynCall_vidi"].apply(null, arguments);
  25771. });
  25772. var dynCall_vif = Module["dynCall_vif"] = (function() {
  25773. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25774. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25775. return Module["asm"]["dynCall_vif"].apply(null, arguments);
  25776. });
  25777. var dynCall_viff = Module["dynCall_viff"] = (function() {
  25778. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25779. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25780. return Module["asm"]["dynCall_viff"].apply(null, arguments);
  25781. });
  25782. var dynCall_vifff = Module["dynCall_vifff"] = (function() {
  25783. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25784. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25785. return Module["asm"]["dynCall_vifff"].apply(null, arguments);
  25786. });
  25787. var dynCall_viffff = Module["dynCall_viffff"] = (function() {
  25788. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25789. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25790. return Module["asm"]["dynCall_viffff"].apply(null, arguments);
  25791. });
  25792. var dynCall_viffffi = Module["dynCall_viffffi"] = (function() {
  25793. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25794. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25795. return Module["asm"]["dynCall_viffffi"].apply(null, arguments);
  25796. });
  25797. var dynCall_viffffii = Module["dynCall_viffffii"] = (function() {
  25798. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25799. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25800. return Module["asm"]["dynCall_viffffii"].apply(null, arguments);
  25801. });
  25802. var dynCall_viffffiifffiiiiif = Module["dynCall_viffffiifffiiiiif"] = (function() {
  25803. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25804. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25805. return Module["asm"]["dynCall_viffffiifffiiiiif"].apply(null, arguments);
  25806. });
  25807. var dynCall_viffffiii = Module["dynCall_viffffiii"] = (function() {
  25808. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25809. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25810. return Module["asm"]["dynCall_viffffiii"].apply(null, arguments);
  25811. });
  25812. var dynCall_vifffi = Module["dynCall_vifffi"] = (function() {
  25813. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25814. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25815. return Module["asm"]["dynCall_vifffi"].apply(null, arguments);
  25816. });
  25817. var dynCall_vifffii = Module["dynCall_vifffii"] = (function() {
  25818. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25819. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25820. return Module["asm"]["dynCall_vifffii"].apply(null, arguments);
  25821. });
  25822. var dynCall_viffi = Module["dynCall_viffi"] = (function() {
  25823. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25824. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25825. return Module["asm"]["dynCall_viffi"].apply(null, arguments);
  25826. });
  25827. var dynCall_viffii = Module["dynCall_viffii"] = (function() {
  25828. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25829. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25830. return Module["asm"]["dynCall_viffii"].apply(null, arguments);
  25831. });
  25832. var dynCall_viffiifffffiii = Module["dynCall_viffiifffffiii"] = (function() {
  25833. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25834. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25835. return Module["asm"]["dynCall_viffiifffffiii"].apply(null, arguments);
  25836. });
  25837. var dynCall_viffiii = Module["dynCall_viffiii"] = (function() {
  25838. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25839. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25840. return Module["asm"]["dynCall_viffiii"].apply(null, arguments);
  25841. });
  25842. var dynCall_viffiiiif = Module["dynCall_viffiiiif"] = (function() {
  25843. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25844. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25845. return Module["asm"]["dynCall_viffiiiif"].apply(null, arguments);
  25846. });
  25847. var dynCall_vifi = Module["dynCall_vifi"] = (function() {
  25848. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25849. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25850. return Module["asm"]["dynCall_vifi"].apply(null, arguments);
  25851. });
  25852. var dynCall_vifii = Module["dynCall_vifii"] = (function() {
  25853. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25854. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25855. return Module["asm"]["dynCall_vifii"].apply(null, arguments);
  25856. });
  25857. var dynCall_vifiiii = Module["dynCall_vifiiii"] = (function() {
  25858. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25859. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25860. return Module["asm"]["dynCall_vifiiii"].apply(null, arguments);
  25861. });
  25862. var dynCall_vifijii = Module["dynCall_vifijii"] = (function() {
  25863. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25864. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25865. return Module["asm"]["dynCall_vifijii"].apply(null, arguments);
  25866. });
  25867. var dynCall_vii = Module["dynCall_vii"] = (function() {
  25868. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25869. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25870. return Module["asm"]["dynCall_vii"].apply(null, arguments);
  25871. });
  25872. var dynCall_viid = Module["dynCall_viid"] = (function() {
  25873. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25874. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25875. return Module["asm"]["dynCall_viid"].apply(null, arguments);
  25876. });
  25877. var dynCall_viidi = Module["dynCall_viidi"] = (function() {
  25878. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25879. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25880. return Module["asm"]["dynCall_viidi"].apply(null, arguments);
  25881. });
  25882. var dynCall_viidii = Module["dynCall_viidii"] = (function() {
  25883. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25884. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25885. return Module["asm"]["dynCall_viidii"].apply(null, arguments);
  25886. });
  25887. var dynCall_viif = Module["dynCall_viif"] = (function() {
  25888. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25889. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25890. return Module["asm"]["dynCall_viif"].apply(null, arguments);
  25891. });
  25892. var dynCall_viiff = Module["dynCall_viiff"] = (function() {
  25893. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25894. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25895. return Module["asm"]["dynCall_viiff"].apply(null, arguments);
  25896. });
  25897. var dynCall_viifff = Module["dynCall_viifff"] = (function() {
  25898. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25899. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25900. return Module["asm"]["dynCall_viifff"].apply(null, arguments);
  25901. });
  25902. var dynCall_viifffi = Module["dynCall_viifffi"] = (function() {
  25903. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25904. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25905. return Module["asm"]["dynCall_viifffi"].apply(null, arguments);
  25906. });
  25907. var dynCall_viiffi = Module["dynCall_viiffi"] = (function() {
  25908. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25909. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25910. return Module["asm"]["dynCall_viiffi"].apply(null, arguments);
  25911. });
  25912. var dynCall_viiffii = Module["dynCall_viiffii"] = (function() {
  25913. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25914. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25915. return Module["asm"]["dynCall_viiffii"].apply(null, arguments);
  25916. });
  25917. var dynCall_viifi = Module["dynCall_viifi"] = (function() {
  25918. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25919. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25920. return Module["asm"]["dynCall_viifi"].apply(null, arguments);
  25921. });
  25922. var dynCall_viifii = Module["dynCall_viifii"] = (function() {
  25923. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25924. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25925. return Module["asm"]["dynCall_viifii"].apply(null, arguments);
  25926. });
  25927. var dynCall_viifiii = Module["dynCall_viifiii"] = (function() {
  25928. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25929. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25930. return Module["asm"]["dynCall_viifiii"].apply(null, arguments);
  25931. });
  25932. var dynCall_viifiiii = Module["dynCall_viifiiii"] = (function() {
  25933. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25934. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25935. return Module["asm"]["dynCall_viifiiii"].apply(null, arguments);
  25936. });
  25937. var dynCall_viii = Module["dynCall_viii"] = (function() {
  25938. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25939. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25940. return Module["asm"]["dynCall_viii"].apply(null, arguments);
  25941. });
  25942. var dynCall_viiidi = Module["dynCall_viiidi"] = (function() {
  25943. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25944. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25945. return Module["asm"]["dynCall_viiidi"].apply(null, arguments);
  25946. });
  25947. var dynCall_viiifffi = Module["dynCall_viiifffi"] = (function() {
  25948. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25949. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25950. return Module["asm"]["dynCall_viiifffi"].apply(null, arguments);
  25951. });
  25952. var dynCall_viiiffi = Module["dynCall_viiiffi"] = (function() {
  25953. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25954. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25955. return Module["asm"]["dynCall_viiiffi"].apply(null, arguments);
  25956. });
  25957. var dynCall_viiiffii = Module["dynCall_viiiffii"] = (function() {
  25958. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25959. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25960. return Module["asm"]["dynCall_viiiffii"].apply(null, arguments);
  25961. });
  25962. var dynCall_viiifi = Module["dynCall_viiifi"] = (function() {
  25963. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25964. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25965. return Module["asm"]["dynCall_viiifi"].apply(null, arguments);
  25966. });
  25967. var dynCall_viiifii = Module["dynCall_viiifii"] = (function() {
  25968. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25969. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25970. return Module["asm"]["dynCall_viiifii"].apply(null, arguments);
  25971. });
  25972. var dynCall_viiifiii = Module["dynCall_viiifiii"] = (function() {
  25973. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25974. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25975. return Module["asm"]["dynCall_viiifiii"].apply(null, arguments);
  25976. });
  25977. var dynCall_viiifiiiii = Module["dynCall_viiifiiiii"] = (function() {
  25978. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25979. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25980. return Module["asm"]["dynCall_viiifiiiii"].apply(null, arguments);
  25981. });
  25982. var dynCall_viiii = Module["dynCall_viiii"] = (function() {
  25983. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25984. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25985. return Module["asm"]["dynCall_viiii"].apply(null, arguments);
  25986. });
  25987. var dynCall_viiiif = Module["dynCall_viiiif"] = (function() {
  25988. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25989. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25990. return Module["asm"]["dynCall_viiiif"].apply(null, arguments);
  25991. });
  25992. var dynCall_viiiifii = Module["dynCall_viiiifii"] = (function() {
  25993. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25994. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  25995. return Module["asm"]["dynCall_viiiifii"].apply(null, arguments);
  25996. });
  25997. var dynCall_viiiifiiiiif = Module["dynCall_viiiifiiiiif"] = (function() {
  25998. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  25999. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26000. return Module["asm"]["dynCall_viiiifiiiiif"].apply(null, arguments);
  26001. });
  26002. var dynCall_viiiii = Module["dynCall_viiiii"] = (function() {
  26003. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26004. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26005. return Module["asm"]["dynCall_viiiii"].apply(null, arguments);
  26006. });
  26007. var dynCall_viiiiif = Module["dynCall_viiiiif"] = (function() {
  26008. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26009. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26010. return Module["asm"]["dynCall_viiiiif"].apply(null, arguments);
  26011. });
  26012. var dynCall_viiiiiffi = Module["dynCall_viiiiiffi"] = (function() {
  26013. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26014. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26015. return Module["asm"]["dynCall_viiiiiffi"].apply(null, arguments);
  26016. });
  26017. var dynCall_viiiiiffii = Module["dynCall_viiiiiffii"] = (function() {
  26018. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26019. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26020. return Module["asm"]["dynCall_viiiiiffii"].apply(null, arguments);
  26021. });
  26022. var dynCall_viiiiifi = Module["dynCall_viiiiifi"] = (function() {
  26023. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26024. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26025. return Module["asm"]["dynCall_viiiiifi"].apply(null, arguments);
  26026. });
  26027. var dynCall_viiiiii = Module["dynCall_viiiiii"] = (function() {
  26028. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26029. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26030. return Module["asm"]["dynCall_viiiiii"].apply(null, arguments);
  26031. });
  26032. var dynCall_viiiiiif = Module["dynCall_viiiiiif"] = (function() {
  26033. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26034. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26035. return Module["asm"]["dynCall_viiiiiif"].apply(null, arguments);
  26036. });
  26037. var dynCall_viiiiiii = Module["dynCall_viiiiiii"] = (function() {
  26038. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26039. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26040. return Module["asm"]["dynCall_viiiiiii"].apply(null, arguments);
  26041. });
  26042. var dynCall_viiiiiiifi = Module["dynCall_viiiiiiifi"] = (function() {
  26043. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26044. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26045. return Module["asm"]["dynCall_viiiiiiifi"].apply(null, arguments);
  26046. });
  26047. var dynCall_viiiiiiii = Module["dynCall_viiiiiiii"] = (function() {
  26048. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26049. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26050. return Module["asm"]["dynCall_viiiiiiii"].apply(null, arguments);
  26051. });
  26052. var dynCall_viiiiiiiii = Module["dynCall_viiiiiiiii"] = (function() {
  26053. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26054. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26055. return Module["asm"]["dynCall_viiiiiiiii"].apply(null, arguments);
  26056. });
  26057. var dynCall_viiiiiiiiii = Module["dynCall_viiiiiiiiii"] = (function() {
  26058. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26059. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26060. return Module["asm"]["dynCall_viiiiiiiiii"].apply(null, arguments);
  26061. });
  26062. var dynCall_viiiiiiiiiii = Module["dynCall_viiiiiiiiiii"] = (function() {
  26063. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26064. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26065. return Module["asm"]["dynCall_viiiiiiiiiii"].apply(null, arguments);
  26066. });
  26067. var dynCall_viiiiiiiiiiifii = Module["dynCall_viiiiiiiiiiifii"] = (function() {
  26068. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26069. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26070. return Module["asm"]["dynCall_viiiiiiiiiiifii"].apply(null, arguments);
  26071. });
  26072. var dynCall_viiiiiiiiiiii = Module["dynCall_viiiiiiiiiiii"] = (function() {
  26073. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26074. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26075. return Module["asm"]["dynCall_viiiiiiiiiiii"].apply(null, arguments);
  26076. });
  26077. var dynCall_viiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiii"] = (function() {
  26078. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26079. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26080. return Module["asm"]["dynCall_viiiiiiiiiiiiii"].apply(null, arguments);
  26081. });
  26082. var dynCall_viiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiii"] = (function() {
  26083. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26084. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26085. return Module["asm"]["dynCall_viiiiiiiiiiiiiii"].apply(null, arguments);
  26086. });
  26087. var dynCall_viiiiiiiiiiiiiiiiii = Module["dynCall_viiiiiiiiiiiiiiiiii"] = (function() {
  26088. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26089. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26090. return Module["asm"]["dynCall_viiiiiiiiiiiiiiiiii"].apply(null, arguments);
  26091. });
  26092. var dynCall_viiiiiji = Module["dynCall_viiiiiji"] = (function() {
  26093. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26094. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26095. return Module["asm"]["dynCall_viiiiiji"].apply(null, arguments);
  26096. });
  26097. var dynCall_viiiij = Module["dynCall_viiiij"] = (function() {
  26098. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26099. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26100. return Module["asm"]["dynCall_viiiij"].apply(null, arguments);
  26101. });
  26102. var dynCall_viiiijiiii = Module["dynCall_viiiijiiii"] = (function() {
  26103. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26104. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26105. return Module["asm"]["dynCall_viiiijiiii"].apply(null, arguments);
  26106. });
  26107. var dynCall_viiiji = Module["dynCall_viiiji"] = (function() {
  26108. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26109. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26110. return Module["asm"]["dynCall_viiiji"].apply(null, arguments);
  26111. });
  26112. var dynCall_viiijji = Module["dynCall_viiijji"] = (function() {
  26113. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26114. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26115. return Module["asm"]["dynCall_viiijji"].apply(null, arguments);
  26116. });
  26117. var dynCall_viij = Module["dynCall_viij"] = (function() {
  26118. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26119. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26120. return Module["asm"]["dynCall_viij"].apply(null, arguments);
  26121. });
  26122. var dynCall_viiji = Module["dynCall_viiji"] = (function() {
  26123. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26124. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26125. return Module["asm"]["dynCall_viiji"].apply(null, arguments);
  26126. });
  26127. var dynCall_viijii = Module["dynCall_viijii"] = (function() {
  26128. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26129. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26130. return Module["asm"]["dynCall_viijii"].apply(null, arguments);
  26131. });
  26132. var dynCall_viijiijiii = Module["dynCall_viijiijiii"] = (function() {
  26133. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26134. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26135. return Module["asm"]["dynCall_viijiijiii"].apply(null, arguments);
  26136. });
  26137. var dynCall_viijijii = Module["dynCall_viijijii"] = (function() {
  26138. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26139. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26140. return Module["asm"]["dynCall_viijijii"].apply(null, arguments);
  26141. });
  26142. var dynCall_viijijiii = Module["dynCall_viijijiii"] = (function() {
  26143. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26144. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26145. return Module["asm"]["dynCall_viijijiii"].apply(null, arguments);
  26146. });
  26147. var dynCall_viijijj = Module["dynCall_viijijj"] = (function() {
  26148. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26149. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26150. return Module["asm"]["dynCall_viijijj"].apply(null, arguments);
  26151. });
  26152. var dynCall_viijj = Module["dynCall_viijj"] = (function() {
  26153. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26154. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26155. return Module["asm"]["dynCall_viijj"].apply(null, arguments);
  26156. });
  26157. var dynCall_viijji = Module["dynCall_viijji"] = (function() {
  26158. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26159. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26160. return Module["asm"]["dynCall_viijji"].apply(null, arguments);
  26161. });
  26162. var dynCall_viijjii = Module["dynCall_viijjii"] = (function() {
  26163. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26164. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26165. return Module["asm"]["dynCall_viijjii"].apply(null, arguments);
  26166. });
  26167. var dynCall_viijjiii = Module["dynCall_viijjiii"] = (function() {
  26168. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26169. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26170. return Module["asm"]["dynCall_viijjiii"].apply(null, arguments);
  26171. });
  26172. var dynCall_viijjji = Module["dynCall_viijjji"] = (function() {
  26173. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26174. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26175. return Module["asm"]["dynCall_viijjji"].apply(null, arguments);
  26176. });
  26177. var dynCall_vij = Module["dynCall_vij"] = (function() {
  26178. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26179. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26180. return Module["asm"]["dynCall_vij"].apply(null, arguments);
  26181. });
  26182. var dynCall_viji = Module["dynCall_viji"] = (function() {
  26183. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26184. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26185. return Module["asm"]["dynCall_viji"].apply(null, arguments);
  26186. });
  26187. var dynCall_vijii = Module["dynCall_vijii"] = (function() {
  26188. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26189. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26190. return Module["asm"]["dynCall_vijii"].apply(null, arguments);
  26191. });
  26192. var dynCall_vijiii = Module["dynCall_vijiii"] = (function() {
  26193. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26194. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26195. return Module["asm"]["dynCall_vijiii"].apply(null, arguments);
  26196. });
  26197. var dynCall_vijiji = Module["dynCall_vijiji"] = (function() {
  26198. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26199. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26200. return Module["asm"]["dynCall_vijiji"].apply(null, arguments);
  26201. });
  26202. var dynCall_vijijji = Module["dynCall_vijijji"] = (function() {
  26203. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26204. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26205. return Module["asm"]["dynCall_vijijji"].apply(null, arguments);
  26206. });
  26207. var dynCall_vijji = Module["dynCall_vijji"] = (function() {
  26208. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26209. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26210. return Module["asm"]["dynCall_vijji"].apply(null, arguments);
  26211. });
  26212. var dynCall_vijjii = Module["dynCall_vijjii"] = (function() {
  26213. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26214. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26215. return Module["asm"]["dynCall_vijjii"].apply(null, arguments);
  26216. });
  26217. var dynCall_vijjji = Module["dynCall_vijjji"] = (function() {
  26218. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26219. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26220. return Module["asm"]["dynCall_vijjji"].apply(null, arguments);
  26221. });
  26222. var dynCall_vji = Module["dynCall_vji"] = (function() {
  26223. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26224. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26225. return Module["asm"]["dynCall_vji"].apply(null, arguments);
  26226. });
  26227. var dynCall_vjiiii = Module["dynCall_vjiiii"] = (function() {
  26228. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26229. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26230. return Module["asm"]["dynCall_vjiiii"].apply(null, arguments);
  26231. });
  26232. var dynCall_vjji = Module["dynCall_vjji"] = (function() {
  26233. assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
  26234. assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
  26235. return Module["asm"]["dynCall_vjji"].apply(null, arguments);
  26236. });
  26237. Module["asm"] = asm;
  26238. if (!Module["intArrayFromString"]) Module["intArrayFromString"] = (function() {
  26239. abort("'intArrayFromString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26240. });
  26241. if (!Module["intArrayToString"]) Module["intArrayToString"] = (function() {
  26242. abort("'intArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26243. });
  26244. Module["ccall"] = ccall;
  26245. Module["cwrap"] = cwrap;
  26246. if (!Module["setValue"]) Module["setValue"] = (function() {
  26247. abort("'setValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26248. });
  26249. if (!Module["getValue"]) Module["getValue"] = (function() {
  26250. abort("'getValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26251. });
  26252. if (!Module["allocate"]) Module["allocate"] = (function() {
  26253. abort("'allocate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26254. });
  26255. if (!Module["getMemory"]) Module["getMemory"] = (function() {
  26256. 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");
  26257. });
  26258. if (!Module["Pointer_stringify"]) Module["Pointer_stringify"] = (function() {
  26259. abort("'Pointer_stringify' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26260. });
  26261. if (!Module["AsciiToString"]) Module["AsciiToString"] = (function() {
  26262. abort("'AsciiToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26263. });
  26264. if (!Module["stringToAscii"]) Module["stringToAscii"] = (function() {
  26265. abort("'stringToAscii' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26266. });
  26267. if (!Module["UTF8ArrayToString"]) Module["UTF8ArrayToString"] = (function() {
  26268. abort("'UTF8ArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26269. });
  26270. if (!Module["UTF8ToString"]) Module["UTF8ToString"] = (function() {
  26271. abort("'UTF8ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26272. });
  26273. if (!Module["stringToUTF8Array"]) Module["stringToUTF8Array"] = (function() {
  26274. abort("'stringToUTF8Array' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26275. });
  26276. if (!Module["stringToUTF8"]) Module["stringToUTF8"] = (function() {
  26277. abort("'stringToUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26278. });
  26279. if (!Module["lengthBytesUTF8"]) Module["lengthBytesUTF8"] = (function() {
  26280. abort("'lengthBytesUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26281. });
  26282. if (!Module["UTF16ToString"]) Module["UTF16ToString"] = (function() {
  26283. abort("'UTF16ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26284. });
  26285. if (!Module["stringToUTF16"]) Module["stringToUTF16"] = (function() {
  26286. abort("'stringToUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26287. });
  26288. if (!Module["lengthBytesUTF16"]) Module["lengthBytesUTF16"] = (function() {
  26289. abort("'lengthBytesUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26290. });
  26291. if (!Module["UTF32ToString"]) Module["UTF32ToString"] = (function() {
  26292. abort("'UTF32ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26293. });
  26294. if (!Module["stringToUTF32"]) Module["stringToUTF32"] = (function() {
  26295. abort("'stringToUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26296. });
  26297. if (!Module["lengthBytesUTF32"]) Module["lengthBytesUTF32"] = (function() {
  26298. abort("'lengthBytesUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26299. });
  26300. if (!Module["allocateUTF8"]) Module["allocateUTF8"] = (function() {
  26301. abort("'allocateUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26302. });
  26303. Module["stackTrace"] = stackTrace;
  26304. if (!Module["addOnPreRun"]) Module["addOnPreRun"] = (function() {
  26305. abort("'addOnPreRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26306. });
  26307. if (!Module["addOnInit"]) Module["addOnInit"] = (function() {
  26308. abort("'addOnInit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26309. });
  26310. if (!Module["addOnPreMain"]) Module["addOnPreMain"] = (function() {
  26311. abort("'addOnPreMain' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26312. });
  26313. if (!Module["addOnExit"]) Module["addOnExit"] = (function() {
  26314. abort("'addOnExit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26315. });
  26316. if (!Module["addOnPostRun"]) Module["addOnPostRun"] = (function() {
  26317. abort("'addOnPostRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26318. });
  26319. if (!Module["writeStringToMemory"]) Module["writeStringToMemory"] = (function() {
  26320. abort("'writeStringToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26321. });
  26322. if (!Module["writeArrayToMemory"]) Module["writeArrayToMemory"] = (function() {
  26323. abort("'writeArrayToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26324. });
  26325. if (!Module["writeAsciiToMemory"]) Module["writeAsciiToMemory"] = (function() {
  26326. abort("'writeAsciiToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26327. });
  26328. Module["addRunDependency"] = addRunDependency;
  26329. Module["removeRunDependency"] = removeRunDependency;
  26330. if (!Module["ENV"]) Module["ENV"] = (function() {
  26331. abort("'ENV' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26332. });
  26333. if (!Module["FS"]) Module["FS"] = (function() {
  26334. abort("'FS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26335. });
  26336. if (!Module["FS_createFolder"]) Module["FS_createFolder"] = (function() {
  26337. 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");
  26338. });
  26339. Module["FS_createPath"] = FS.createPath;
  26340. Module["FS_createDataFile"] = FS.createDataFile;
  26341. if (!Module["FS_createPreloadedFile"]) Module["FS_createPreloadedFile"] = (function() {
  26342. 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");
  26343. });
  26344. if (!Module["FS_createLazyFile"]) Module["FS_createLazyFile"] = (function() {
  26345. 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");
  26346. });
  26347. if (!Module["FS_createLink"]) Module["FS_createLink"] = (function() {
  26348. 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");
  26349. });
  26350. if (!Module["FS_createDevice"]) Module["FS_createDevice"] = (function() {
  26351. 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");
  26352. });
  26353. if (!Module["FS_unlink"]) Module["FS_unlink"] = (function() {
  26354. 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");
  26355. });
  26356. if (!Module["GL"]) Module["GL"] = (function() {
  26357. abort("'GL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26358. });
  26359. if (!Module["staticAlloc"]) Module["staticAlloc"] = (function() {
  26360. abort("'staticAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26361. });
  26362. if (!Module["dynamicAlloc"]) Module["dynamicAlloc"] = (function() {
  26363. abort("'dynamicAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26364. });
  26365. if (!Module["warnOnce"]) Module["warnOnce"] = (function() {
  26366. abort("'warnOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26367. });
  26368. if (!Module["loadDynamicLibrary"]) Module["loadDynamicLibrary"] = (function() {
  26369. abort("'loadDynamicLibrary' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26370. });
  26371. if (!Module["loadWebAssemblyModule"]) Module["loadWebAssemblyModule"] = (function() {
  26372. abort("'loadWebAssemblyModule' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26373. });
  26374. if (!Module["getLEB"]) Module["getLEB"] = (function() {
  26375. abort("'getLEB' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26376. });
  26377. if (!Module["getFunctionTables"]) Module["getFunctionTables"] = (function() {
  26378. abort("'getFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26379. });
  26380. if (!Module["alignFunctionTables"]) Module["alignFunctionTables"] = (function() {
  26381. abort("'alignFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26382. });
  26383. if (!Module["registerFunctions"]) Module["registerFunctions"] = (function() {
  26384. abort("'registerFunctions' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26385. });
  26386. if (!Module["addFunction"]) Module["addFunction"] = (function() {
  26387. abort("'addFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26388. });
  26389. if (!Module["removeFunction"]) Module["removeFunction"] = (function() {
  26390. abort("'removeFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26391. });
  26392. if (!Module["getFuncWrapper"]) Module["getFuncWrapper"] = (function() {
  26393. abort("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26394. });
  26395. if (!Module["prettyPrint"]) Module["prettyPrint"] = (function() {
  26396. abort("'prettyPrint' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26397. });
  26398. if (!Module["makeBigInt"]) Module["makeBigInt"] = (function() {
  26399. abort("'makeBigInt' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26400. });
  26401. if (!Module["dynCall"]) Module["dynCall"] = (function() {
  26402. abort("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26403. });
  26404. if (!Module["getCompilerSetting"]) Module["getCompilerSetting"] = (function() {
  26405. abort("'getCompilerSetting' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26406. });
  26407. if (!Module["stackSave"]) Module["stackSave"] = (function() {
  26408. abort("'stackSave' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26409. });
  26410. if (!Module["stackRestore"]) Module["stackRestore"] = (function() {
  26411. abort("'stackRestore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26412. });
  26413. if (!Module["stackAlloc"]) Module["stackAlloc"] = (function() {
  26414. abort("'stackAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26415. });
  26416. if (!Module["establishStackSpace"]) Module["establishStackSpace"] = (function() {
  26417. abort("'establishStackSpace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26418. });
  26419. if (!Module["print"]) Module["print"] = (function() {
  26420. abort("'print' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26421. });
  26422. if (!Module["printErr"]) Module["printErr"] = (function() {
  26423. abort("'printErr' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26424. });
  26425. Module["writeStackCookie"] = writeStackCookie;
  26426. Module["checkStackCookie"] = checkStackCookie;
  26427. if (!Module["abortStackOverflow"]) Module["abortStackOverflow"] = (function() {
  26428. abort("'abortStackOverflow' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26429. });
  26430. if (!Module["ALLOC_NORMAL"]) Object.defineProperty(Module, "ALLOC_NORMAL", {
  26431. get: (function() {
  26432. abort("'ALLOC_NORMAL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26433. })
  26434. });
  26435. if (!Module["ALLOC_STACK"]) Object.defineProperty(Module, "ALLOC_STACK", {
  26436. get: (function() {
  26437. abort("'ALLOC_STACK' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26438. })
  26439. });
  26440. if (!Module["ALLOC_STATIC"]) Object.defineProperty(Module, "ALLOC_STATIC", {
  26441. get: (function() {
  26442. abort("'ALLOC_STATIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26443. })
  26444. });
  26445. if (!Module["ALLOC_DYNAMIC"]) Object.defineProperty(Module, "ALLOC_DYNAMIC", {
  26446. get: (function() {
  26447. abort("'ALLOC_DYNAMIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26448. })
  26449. });
  26450. if (!Module["ALLOC_NONE"]) Object.defineProperty(Module, "ALLOC_NONE", {
  26451. get: (function() {
  26452. abort("'ALLOC_NONE' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)");
  26453. })
  26454. });
  26455. function ExitStatus(status) {
  26456. this.name = "ExitStatus";
  26457. this.message = "Program terminated with exit(" + status + ")";
  26458. this.status = status;
  26459. }
  26460. ExitStatus.prototype = new Error;
  26461. ExitStatus.prototype.constructor = ExitStatus;
  26462. var initialStackTop;
  26463. var calledMain = false;
  26464. dependenciesFulfilled = function runCaller() {
  26465. if (!Module["calledRun"]) run();
  26466. if (!Module["calledRun"]) dependenciesFulfilled = runCaller;
  26467. };
  26468. Module["callMain"] = function callMain(args) {
  26469. assert(runDependencies == 0, "cannot call main when async dependencies remain! (listen on __ATMAIN__)");
  26470. assert(__ATPRERUN__.length == 0, "cannot call main when preRun functions remain to be called");
  26471. args = args || [];
  26472. ensureInitRuntime();
  26473. var argc = args.length + 1;
  26474. var argv = stackAlloc((argc + 1) * 4);
  26475. HEAP32[argv >> 2] = allocateUTF8OnStack(Module["thisProgram"]);
  26476. for (var i = 1; i < argc; i++) {
  26477. HEAP32[(argv >> 2) + i] = allocateUTF8OnStack(args[i - 1]);
  26478. }
  26479. HEAP32[(argv >> 2) + argc] = 0;
  26480. try {
  26481. var ret = Module["_main"](argc, argv, 0);
  26482. exit(ret, true);
  26483. } catch (e) {
  26484. if (e instanceof ExitStatus) {
  26485. return;
  26486. } else if (e == "SimulateInfiniteLoop") {
  26487. Module["noExitRuntime"] = true;
  26488. return;
  26489. } else {
  26490. var toLog = e;
  26491. if (e && typeof e === "object" && e.stack) {
  26492. toLog = [ e, e.stack ];
  26493. }
  26494. err("exception thrown: " + toLog);
  26495. Module["quit"](1, e);
  26496. }
  26497. } finally {
  26498. calledMain = true;
  26499. }
  26500. };
  26501. function run(args) {
  26502. args = args || Module["arguments"];
  26503. if (runDependencies > 0) {
  26504. return;
  26505. }
  26506. writeStackCookie();
  26507. preRun();
  26508. if (runDependencies > 0) return;
  26509. if (Module["calledRun"]) return;
  26510. function doRun() {
  26511. if (Module["calledRun"]) return;
  26512. Module["calledRun"] = true;
  26513. if (ABORT) return;
  26514. ensureInitRuntime();
  26515. preMain();
  26516. if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"]();
  26517. if (Module["_main"] && shouldRunNow) Module["callMain"](args);
  26518. postRun();
  26519. }
  26520. if (Module["setStatus"]) {
  26521. Module["setStatus"]("Running...");
  26522. setTimeout((function() {
  26523. setTimeout((function() {
  26524. Module["setStatus"]("");
  26525. }), 1);
  26526. doRun();
  26527. }), 1);
  26528. } else {
  26529. doRun();
  26530. }
  26531. checkStackCookie();
  26532. }
  26533. Module["run"] = run;
  26534. function checkUnflushedContent() {
  26535. var print = out;
  26536. var printErr = err;
  26537. var has = false;
  26538. out = err = (function(x) {
  26539. has = true;
  26540. });
  26541. try {
  26542. var flush = Module["_fflush"];
  26543. if (flush) flush(0);
  26544. var hasFS = true;
  26545. if (hasFS) {
  26546. [ "stdout", "stderr" ].forEach((function(name) {
  26547. var info = FS.analyzePath("/dev/" + name);
  26548. if (!info) return;
  26549. var stream = info.object;
  26550. var rdev = stream.rdev;
  26551. var tty = TTY.ttys[rdev];
  26552. if (tty && tty.output && tty.output.length) {
  26553. has = true;
  26554. }
  26555. }));
  26556. }
  26557. } catch (e) {}
  26558. out = print;
  26559. err = printErr;
  26560. if (has) {
  26561. 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.");
  26562. }
  26563. }
  26564. function exit(status, implicit) {
  26565. checkUnflushedContent();
  26566. if (implicit && Module["noExitRuntime"] && status === 0) {
  26567. return;
  26568. }
  26569. if (Module["noExitRuntime"]) {
  26570. if (!implicit) {
  26571. 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)");
  26572. }
  26573. } else {
  26574. ABORT = true;
  26575. EXITSTATUS = status;
  26576. STACKTOP = initialStackTop;
  26577. exitRuntime();
  26578. if (Module["onExit"]) Module["onExit"](status);
  26579. }
  26580. Module["quit"](status, new ExitStatus(status));
  26581. }
  26582. var abortDecorators = [];
  26583. function abort(what) {
  26584. if (Module["onAbort"]) {
  26585. Module["onAbort"](what);
  26586. }
  26587. if (what !== undefined) {
  26588. out(what);
  26589. err(what);
  26590. what = JSON.stringify(what);
  26591. } else {
  26592. what = "";
  26593. }
  26594. ABORT = true;
  26595. EXITSTATUS = 1;
  26596. var extra = "";
  26597. var output = "abort(" + what + ") at " + stackTrace() + extra;
  26598. if (abortDecorators) {
  26599. abortDecorators.forEach((function(decorator) {
  26600. output = decorator(output, what);
  26601. }));
  26602. }
  26603. throw output;
  26604. }
  26605. Module["abort"] = abort;
  26606. if (Module["preInit"]) {
  26607. if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ];
  26608. while (Module["preInit"].length > 0) {
  26609. Module["preInit"].pop()();
  26610. }
  26611. }
  26612. var shouldRunNow = true;
  26613. if (Module["noInitialRun"]) {
  26614. shouldRunNow = false;
  26615. }
  26616. Module["noExitRuntime"] = true;
  26617. run();
  26618. }