1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406 |
- Array.prototype._T2 = 0;
- var _U2 = {
- _V2: [{
- _W2: ["tph_djs.js"],
- init: "dj_init"
- }],
- _X2: [],
- _Y2: [{
- _Z2: "spr_cars",
- width: 72,
- height: 96,
- __2: 2,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 36,
- _33: 96,
- _43: 16,
- _53: 55,
- _63: 48,
- _73: 85,
- _83: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
- },
- {
- _Z2: "spr_decoration",
- width: 64,
- height: 96,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 32,
- _33: 96,
- _43: 2,
- _53: 60,
- _73: 95,
- _83: [20, 21, 22, 23]
- },
- {
- _Z2: "spr_lines",
- width: 32,
- height: 4,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 16,
- _53: 31,
- _73: 3,
- _83: [24]
- },
- {
- _Z2: "spr_roadline_left",
- width: 40,
- height: 40,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 20,
- _53: 39,
- _73: 39,
- _83: [25]
- },
- {
- _Z2: "spr_roadline_right",
- width: 40,
- height: 40,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 20,
- _53: 39,
- _73: 39,
- _83: [26]
- },
- {
- _Z2: "spr_play",
- width: 80,
- height: 80,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 40,
- _33: 80,
- _53: 79,
- _73: 79,
- _83: [27]
- },
- {
- _Z2: "spr_smallplay",
- width: 40,
- height: 40,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 20,
- _33: 40,
- _53: 39,
- _73: 39,
- _83: [28]
- },
- {
- _Z2: "spr_plus",
- width: 40,
- height: 40,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 20,
- _33: 40,
- _53: 39,
- _73: 39,
- _83: [29]
- },
- {
- _Z2: "spr_less",
- width: 40,
- height: 40,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 20,
- _33: 40,
- _53: 39,
- _73: 39,
- _83: [30]
- },
- {
- _Z2: "spr_retry",
- width: 80,
- height: 80,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 40,
- _33: 40,
- _53: 79,
- _73: 79,
- _83: [31]
- },
- {
- _Z2: "spr_quit",
- width: 80,
- height: 80,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 40,
- _33: 40,
- _53: 79,
- _73: 79,
- _83: [32]
- },
- {
- _Z2: "spr_sun",
- width: 74,
- height: 74,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 37,
- _33: 37,
- _53: 73,
- _73: 73,
- _83: [33]
- },
- {
- _Z2: "spr_crash",
- width: 200,
- height: 150,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 100,
- _33: 150,
- _43: 1,
- _53: 198,
- _63: 11,
- _73: 149,
- _83: [34]
- },
- {
- _Z2: "spr_title",
- width: 219,
- height: 107,
- _03: !1,
- _13: !1,
- preload: !1,
- _53: 218,
- _73: 106,
- _83: [35]
- },
- {
- _Z2: "spr_instructions",
- width: 200,
- height: 250,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 100,
- _33: 250,
- _53: 199,
- _73: 249,
- _83: [36]
- },
- {
- _Z2: "spr_logo",
- width: 114,
- height: 78,
- _03: !1,
- _13: !1,
- preload: !1,
- _53: 113,
- _73: 77,
- _83: [37]
- },
- {
- _Z2: "spr_flip",
- width: 300,
- height: 200,
- _03: !1,
- _13: !1,
- preload: !1,
- _23: 150,
- _33: 100,
- _53: 299,
- _73: 199,
- _83: [38]
- }],
- _93: [{
- _Z2: "bck_game",
- _03: !1,
- _13: !1,
- preload: !1,
- _83: 39
- }],
- _a3: [{
- _Z2: "pth_erratic_left",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 176,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 128,
- _g3: 256,
- _h3: 100
- },
- {
- _f3: 200,
- _g3: 272,
- _h3: 100
- },
- {
- _f3: 104,
- _g3: 288,
- _h3: 100
- },
- {
- _f3: -56,
- _g3: 592,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_erratic_right",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 144,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 192,
- _g3: 256,
- _h3: 100
- },
- {
- _f3: 120,
- _g3: 272,
- _h3: 100
- },
- {
- _f3: 216,
- _g3: 288,
- _h3: 100
- },
- {
- _f3: 376,
- _g3: 592,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_lefttocenter",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 144,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 104,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 160,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 160,
- _g3: 608,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_righttocenter",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 168,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 208,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 152,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 152,
- _g3: 608,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_lefttoright",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 136,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 360,
- _g3: 528,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_righttoleft",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 184,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: -40,
- _g3: 536,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_centertoleft",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 160,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 160,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 120,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: -40,
- _g3: 544,
- _h3: 100
- }]
- },
- {
- _Z2: "pth_centertoright",
- _b3: 0,
- _c3: !1,
- _d3: 4,
- _e3: [{
- _f3: 160,
- _g3: 240,
- _h3: 100
- },
- {
- _f3: 160,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 200,
- _g3: 280,
- _h3: 100
- },
- {
- _f3: 368,
- _g3: 560,
- _h3: 100
- }]
- }],
- _i3: [_j3, _k3, _l3, _m3, _n3, _o3, _p3, _q3, _r3, _s3, _t3, _u3],
- _v3: [],
- _w3: [{
- _Z2: "fnt_game",
- _x3: 18,
- bold: !1,
- _y3: !1,
- _z3: 32,
- _A3: 57,
- _B3: 1,
- antialias: 3,
- _C3: "Marmelade Guys",
- _D3: 40,
- _E3: 1,
- _F3: 1,
- _G3: [{
- _H3: 32,
- _I3: " ",
- _f3: 55,
- _g3: 2,
- _J3: 12,
- _K3: 26,
- shift: 12,
- _L3: 0
- },
- {
- _H3: 48,
- _I3: "0",
- _f3: 49,
- _g3: 30,
- _J3: 13,
- _K3: 22,
- shift: 15,
- _L3: 2
- },
- {
- _H3: 49,
- _I3: "1",
- _f3: 84,
- _g3: 2,
- _J3: 14,
- _K3: 22,
- shift: 15,
- _L3: 2
- },
- {
- _H3: 50,
- _I3: "2",
- _f3: 38,
- _g3: 2,
- _J3: 15,
- _K3: 22,
- shift: 17,
- _L3: 2
- },
- {
- _H3: 51,
- _I3: "3",
- _f3: 69,
- _g3: 2,
- _J3: 13,
- _K3: 24,
- shift: 15,
- _L3: 1
- },
- {
- _H3: 52,
- _I3: "4",
- _f3: 20,
- _g3: 2,
- _J3: 16,
- _K3: 23,
- shift: 17,
- _L3: 1
- },
- {
- _H3: 53,
- _I3: "5",
- _f3: 2,
- _g3: 2,
- _J3: 16,
- _K3: 23,
- shift: 17,
- _L3: 1
- },
- {
- _H3: 54,
- _I3: "6",
- _f3: 100,
- _g3: 2,
- _J3: 14,
- _K3: 22,
- shift: 16,
- _L3: 1
- },
- {
- _H3: 55,
- _I3: "7",
- _f3: 18,
- _g3: 30,
- _J3: 13,
- _K3: 23,
- shift: 14,
- _L3: 1
- },
- {
- _H3: 56,
- _I3: "8",
- _f3: 2,
- _g3: 30,
- _J3: 14,
- _K3: 22,
- shift: 15,
- _L3: 1
- },
- {
- _H3: 57,
- _I3: "9",
- _f3: 33,
- _g3: 30,
- _J3: 14,
- _K3: 21,
- shift: 15,
- _L3: 0
- },
- ],
- }],
- _M3: [],
- _N3: [{},
- ],
- _O3: [{
- _Z2: "obj_control",
- _P3: -1,
- _Q3: !0,
- _R3: 10,
- parent: -100,
- _S3: _T3,
- _U3: _V3,
- _W3: _X3,
- _Y3: _Z3,
- __3: _04,
- _14: _24,
- _34: _44,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_player",
- _Q3: !0,
- parent: -100,
- _S3: _74,
- _14: _84,
- _94: _a4,
- _b4: _c4,
- _54: [],
- _64: [2, _d4]
- },
- {
- _Z2: "obj_car_center",
- _Q3: !0,
- _R3: 20,
- parent: -100,
- _S3: _e4,
- _94: _f4,
- _g4: _h4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_left",
- _Q3: !0,
- _R3: 20,
- parent: 2,
- _S3: _i4,
- _94: _j4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_right",
- _Q3: !0,
- _R3: 20,
- parent: 3,
- _S3: _k4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_double",
- _Q3: !0,
- _R3: 20,
- parent: 2,
- _S3: _l4,
- _94: _m4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_erratic_left",
- _Q3: !0,
- _R3: 20,
- parent: 2,
- _S3: _n4,
- _94: _o4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_erratic_right",
- _Q3: !0,
- _R3: 20,
- parent: 6,
- _S3: _p4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_lefttocenter",
- _Q3: !0,
- _R3: 20,
- parent: 6,
- _S3: _q4,
- _94: _r4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_righttocenter",
- _Q3: !0,
- _R3: 20,
- parent: 8,
- _S3: _s4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_lefttoright",
- _Q3: !0,
- _R3: 20,
- parent: 8,
- _S3: _t4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_righttoleft",
- _Q3: !0,
- _R3: 20,
- parent: 8,
- _S3: _u4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_centertoleft",
- _Q3: !0,
- _R3: 20,
- parent: 8,
- _S3: _v4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_car_centertoright",
- _Q3: !0,
- _R3: 20,
- parent: 8,
- _S3: _w4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_decoration_left",
- _P3: 1,
- _Q3: !0,
- _R3: 20,
- parent: -100,
- _S3: _x4,
- _94: _y4,
- _g4: _z4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_decoration_right",
- _P3: 1,
- _Q3: !0,
- _R3: 20,
- parent: 14,
- _94: _A4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_lines",
- _P3: 2,
- _Q3: !0,
- _R3: 100,
- parent: -100,
- _S3: _B4,
- _14: _C4,
- _94: _D4,
- _g4: _E4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_roadline_left",
- _P3: 3,
- _Q3: !0,
- _R3: 90,
- parent: 16,
- _S3: _F4,
- _94: _G4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_roadline_right",
- _P3: 4,
- _Q3: !0,
- _R3: 90,
- parent: 17,
- _S3: _H4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_carselect",
- _Q3: !0,
- _R3: 20,
- parent: -100,
- _S3: _I4,
- _94: _J4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_play",
- _P3: 5,
- _Q3: !0,
- parent: -100,
- _S3: _K4,
- _94: _L4,
- _M4: _N4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_plus",
- _P3: 7,
- _Q3: !0,
- parent: -100,
- _M4: _O4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_less",
- _P3: 8,
- _Q3: !0,
- parent: 21,
- _M4: _P4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_smallplay",
- _P3: 6,
- _Q3: !0,
- parent: 21,
- _M4: _Q4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_retry",
- _P3: 9,
- _Q3: !0,
- parent: -100,
- _S3: _R4,
- _S4: _T4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_quit",
- _P3: 10,
- _Q3: !0,
- parent: -1,
- _M4: _U4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_instructions",
- _P3: 14,
- _Q3: !0,
- parent: -100,
- _S3: _V4,
- _14: _W4,
- _M4: _X4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_title",
- _P3: 13,
- _Q3: !0,
- parent: -100,
- _S3: _Y4,
- _14: _Z4,
- _g4: __4,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_crash",
- _P3: 12,
- _Q3: !0,
- parent: -100,
- _S3: _05,
- _14: _15,
- _94: _25,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_logo",
- _P3: 15,
- _Q3: !0,
- parent: -100,
- _S3: _35,
- _14: _45,
- _g4: _55,
- _54: [],
- _64: []
- },
- {
- _Z2: "obj_fm",
- _P3: -1,
- _Q3: !0,
- _65: !0,
- _R3: -99999999,
- parent: -100,
- _S3: _75,
- _94: _85,
- _34: _95,
- _54: [],
- _64: []
- }],
- _a5: [{
- _Z2: "rm_init",
- width: 320,
- height: 480,
- _b5: 0,
- _c5: !0,
- _d5: [{},
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _e5: [{
- _Q3: !0,
- _f5: 320,
- _g5: 320,
- },
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _h5: [{
- _f3: 0,
- _g3: 0,
- index: 30,
- id: 100000,
- _i5: 0,
- _E3: 1,
- _F3: 1,
- _b5: 4294967295
- }],
- _j5: []
- },
- {
- _Z2: "rm_game",
- width: 320,
- height: 480,
- _b5: 15380857,
- _k5: !1,
- _c5: !0,
- _l5: !1,
- _d5: [{
- _Q3: !0,
- index: 0,
- _m5: !1,
- _n5: !1,
- },
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _e5: [{
- _Q3: !0,
- _f5: 320,
- _g5: 320,
- },
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _h5: [{
- _f3: 0,
- _g3: 0,
- index: 0,
- id: 100001,
- _i5: 0,
- _E3: 1,
- _F3: 1,
- _b5: 4294967295
- }],
- _j5: []
- },
- {
- _Z2: "rm_flip",
- width: 480,
- height: 320,
- _b5: 0,
- _c5: !0,
- _d5: [{},
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _e5: [{
- _Q3: !0,
- _f5: 480,
- _o5: 320,
- _g5: 480,
- _p5: 320,
- },
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _h5: [],
- _j5: []
- }],
- _q5: [0, 1, 2],
- _r5: [{
- _f3: 290,
- _g3: 602,
- _J3: 70,
- _K3: 50,
- _s5: 1,
- _t5: 46,
- _u5: 70,
- _v5: 50,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 366,
- _g3: 602,
- _J3: 70,
- _K3: 50,
- _s5: 1,
- _t5: 46,
- _u5: 70,
- _v5: 50,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 214,
- _g3: 602,
- _J3: 71,
- _K3: 52,
- _s5: 1,
- _t5: 44,
- _u5: 71,
- _v5: 52,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 58,
- _g3: 602,
- _J3: 71,
- _K3: 52,
- _s5: 1,
- _t5: 44,
- _u5: 71,
- _v5: 52,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 366,
- _g3: 370,
- _J3: 53,
- _K3: 58,
- _s5: 11,
- _t5: 38,
- _u5: 53,
- _v5: 58,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 442,
- _g3: 542,
- _J3: 53,
- _K3: 58,
- _s5: 11,
- _t5: 38,
- _u5: 53,
- _v5: 58,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 78,
- _g3: 534,
- _J3: 64,
- _K3: 62,
- _s5: 4,
- _t5: 34,
- _u5: 64,
- _v5: 62,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 146,
- _g3: 538,
- _J3: 64,
- _K3: 62,
- _s5: 4,
- _t5: 34,
- _u5: 64,
- _v5: 62,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 226,
- _g3: 534,
- _J3: 70,
- _K3: 63,
- _s5: 1,
- _t5: 33,
- _u5: 70,
- _v5: 63,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 366,
- _g3: 534,
- _J3: 70,
- _K3: 63,
- _s5: 1,
- _t5: 33,
- _u5: 70,
- _v5: 63,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 950,
- _J3: 70,
- _K3: 64,
- _s5: 1,
- _t5: 32,
- _u5: 70,
- _v5: 64,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 878,
- _J3: 70,
- _K3: 66,
- _s5: 1,
- _t5: 30,
- _u5: 70,
- _v5: 66,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 734,
- _J3: 70,
- _K3: 68,
- _s5: 1,
- _t5: 28,
- _u5: 70,
- _v5: 68,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 806,
- _J3: 70,
- _K3: 68,
- _s5: 1,
- _t5: 28,
- _u5: 70,
- _v5: 68,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 74,
- _g3: 450,
- _J3: 72,
- _K3: 80,
- _s5: 0,
- _t5: 16,
- _u5: 72,
- _v5: 80,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 150,
- _g3: 454,
- _J3: 72,
- _K3: 80,
- _s5: 0,
- _t5: 16,
- _u5: 72,
- _v5: 80,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 366,
- _g3: 442,
- _J3: 72,
- _K3: 87,
- _s5: 0,
- _t5: 9,
- _u5: 72,
- _v5: 87,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 122,
- _g3: 350,
- _J3: 71,
- _K3: 93,
- _s5: 1,
- _t5: 3,
- _u5: 71,
- _v5: 93,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 434,
- _J3: 66,
- _K3: 96,
- _s5: 3,
- _t5: 0,
- _u5: 66,
- _v5: 96,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 430,
- _g3: 258,
- _J3: 71,
- _K3: 96,
- _s5: 0,
- _t5: 0,
- _u5: 71,
- _v5: 96,
- _w5: 72,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 306,
- _g3: 454,
- _J3: 53,
- _K3: 96,
- _s5: 5,
- _t5: 0,
- _u5: 53,
- _v5: 96,
- _w5: 64,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 534,
- _J3: 52,
- _K3: 96,
- _s5: 6,
- _t5: 0,
- _u5: 52,
- _v5: 96,
- _w5: 64,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 442,
- _g3: 442,
- _J3: 59,
- _K3: 96,
- _s5: 2,
- _t5: 0,
- _u5: 59,
- _v5: 96,
- _w5: 64,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 634,
- _J3: 50,
- _K3: 96,
- _s5: 7,
- _t5: 0,
- _u5: 50,
- _v5: 96,
- _w5: 64,
- _x5: 96,
- _y5: 0
- },
- {
- _f3: 74,
- _g3: 434,
- _J3: 32,
- _K3: 4,
- _s5: 0,
- _t5: 0,
- _u5: 32,
- _v5: 4,
- _w5: 32,
- _x5: 4,
- _y5: 0
- },
- {
- _f3: 206,
- _g3: 206,
- _J3: 40,
- _K3: 40,
- _s5: 0,
- _t5: 0,
- _u5: 40,
- _v5: 40,
- _w5: 40,
- _x5: 40,
- _y5: 0
- },
- {
- _f3: 134,
- _g3: 606,
- _J3: 40,
- _K3: 40,
- _s5: 0,
- _t5: 0,
- _u5: 40,
- _v5: 40,
- _w5: 40,
- _x5: 40,
- _y5: 0
- },
- {
- _f3: 430,
- _g3: 358,
- _J3: 80,
- _K3: 80,
- _s5: 0,
- _t5: 0,
- _u5: 80,
- _v5: 80,
- _w5: 80,
- _x5: 80,
- _y5: 0
- },
- {
- _f3: 302,
- _g3: 554,
- _J3: 40,
- _K3: 40,
- _s5: 0,
- _t5: 0,
- _u5: 40,
- _v5: 40,
- _w5: 40,
- _x5: 40,
- _y5: 0
- },
- {
- _f3: 442,
- _g3: 606,
- _J3: 40,
- _K3: 40,
- _s5: 0,
- _t5: 0,
- _u5: 40,
- _v5: 40,
- _w5: 40,
- _x5: 40,
- _y5: 0
- },
- {
- _f3: 250,
- _g3: 206,
- _J3: 40,
- _K3: 40,
- _s5: 0,
- _t5: 0,
- _u5: 40,
- _v5: 40,
- _w5: 40,
- _x5: 40,
- _y5: 0
- },
- {
- _f3: 198,
- _g3: 370,
- _J3: 80,
- _K3: 80,
- _s5: 0,
- _t5: 0,
- _u5: 80,
- _v5: 80,
- _w5: 80,
- _x5: 80,
- _y5: 0
- },
- {
- _f3: 282,
- _g3: 370,
- _J3: 80,
- _K3: 80,
- _s5: 0,
- _t5: 0,
- _u5: 80,
- _v5: 80,
- _w5: 80,
- _x5: 80,
- _y5: 0
- },
- {
- _f3: 226,
- _g3: 454,
- _J3: 74,
- _K3: 74,
- _s5: 0,
- _t5: 0,
- _u5: 74,
- _v5: 74,
- _w5: 74,
- _x5: 74,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 206,
- _J3: 198,
- _K3: 139,
- _s5: 1,
- _t5: 11,
- _u5: 198,
- _v5: 139,
- _w5: 200,
- _x5: 150,
- _y5: 0
- },
- {
- _f3: 206,
- _g3: 258,
- _J3: 219,
- _K3: 107,
- _s5: 0,
- _t5: 0,
- _u5: 219,
- _v5: 107,
- _w5: 219,
- _x5: 107,
- _y5: 0
- },
- {
- _f3: 306,
- _g3: 2,
- _J3: 200,
- _K3: 250,
- _s5: 0,
- _t5: 0,
- _u5: 200,
- _v5: 250,
- _w5: 200,
- _x5: 250,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 350,
- _J3: 114,
- _K3: 78,
- _s5: 0,
- _t5: 0,
- _u5: 114,
- _v5: 78,
- _w5: 114,
- _x5: 78,
- _y5: 0
- },
- {
- _f3: 2,
- _g3: 2,
- _J3: 300,
- _K3: 200,
- _s5: 0,
- _t5: 0,
- _u5: 300,
- _v5: 200,
- _w5: 300,
- _x5: 200,
- _y5: 0
- },
- {
- _f3: 4,
- _g3: 4,
- _J3: 320,
- _K3: 480,
- _s5: 0,
- _t5: 0,
- _u5: 320,
- _v5: 480,
- _w5: 320,
- _x5: 480,
- _y5: 1
- },
- {
- _f3: 330,
- _g3: 2,
- _J3: 128,
- _K3: 64,
- _s5: 0,
- _t5: 0,
- _u5: 128,
- _v5: 64,
- _w5: 128,
- _x5: 64,
- _y5: 1
- }],
- _z5: ["Speed Trip_texture_0.png", "Speed Trip_texture_1.png"],
- _A5: {
- _B5: !1,
- _C5: 957863138,
- _D5: "97c2d90d-bcac-45be-b6f0-ee01172d0a17",
- _E5: !1,
- _F5: !0,
- _G5: !0,
- scale: -1,
- _H5: !1,
- _I5: !1,
- _J5: !1,
- _K5: !0,
- _L5: !1,
- _M5: !1,
- _N5: !0,
- _O5: !1,
- _P5: 2,
- _Q5: 0,
- _R5: !1,
- _S5: "speedtrip",
- _T5: "Default",
- _U5: 0,
- _V5: !0,
- _W5: 1077126481,
- _X5: [119, 74, 119, 165, 79, 49, 225, 43, 155, 57, 79, 252, 73, 17, 179, 48],
- _Y5: "gamemaker: studio",
- _Z5: 1,
- __5: 0,
- _06: 0,
- _16: 1412976534
- }
- };
- function _26() {}
- function _36() {
- // updateShare(0);
- global._46 = 0;
- global._56 = 0;
- global._66 = 0;
- global._76 = 0;
- global._86 = 0;
- global._96 = 0;
- global._a6 = 0;
- global._b6 = 0;
- global._c6 = 0;
- global._d6 = 0;
- global._e6 = 0;
- global._f6 = 0;
- global._g6 = 0;
- global._h6 = 0;
- global._i6 = 0;
- global._j6 = 0;
- global._k6 = 0;
- global._l6 = 0;
- global._m6 = 0;
- global._n6 = 0;
- global._o6 = 0;
- global._p6 = 0;
- global._q6 = 0;
- global._r6 = 0;
- global._s6 = 0;
- global._t6 = 0;
- }
- function _j3(_u6, _v6) {
- if (_w6._x6() > 0.5) {
- return _w6._y6[0]
- };
- return _w6._z6;
- }
- function _k3(_u6, _v6) {
- if (_w6._x6() > 0.5) {
- return _w6._A6[0]
- };
- return _w6._B6;
- }
- function _l3(_u6, _v6) {
- return dj_call1("hide_adrbar", global._q6);
- }
- function _m3(_u6, _v6) {
- return dj_call("installed");
- }
- function _n3(_u6, _v6) {
- if ((((_w6._C6() != 0)) && ((_w6._C6() != 1)))) {
- return 1
- };
- return 0;
- }
- function _o3(_u6, _v6) {
- return dj_call("orientation");
- }
- function _p3(_u6, _v6) {
- return dj_call("height");
- }
- function _q3(_u6, _v6) {
- return dj_call("width");
- }
- function _r3(_u6, _v6) {
- if (dj_exists("resized") > 0.5) {
- return 1
- };;
- global._46 = 0;
- global._56 = 0;
- global._66 = 0;
- global._76 = 0;
- global._86 = 0;
- global._96 = 0;
- global._a6 = 0;
- global._b6 = 0;
- global._p6 = 0;
- global._q6 = 0;
- global._r6 = ( - 1);
- global._s6 = 1;
- global._e6 = 1 ? 1 : 0;
- global._c6 = 0;
- global._d6 = 1;
- global._t6 = 1 ? 1 : 0;
- global._f6 = 1;
- global._g6 = 1;
- global._h6 = 1;
- global._j6 = 5000;
- global._i6 = 0;
- dj_add1("hide_adrbar", "height", "\n\rdocument.getElementById('gm4html5_div_id').style.height = ~~(height + 128) + 'px';\n\rwindow.scrollTo(0, 1)");
- dj_add("orientation", "return window.fm_orientation");
- dj_add("installed", "return window.navigator.standalone ? 1 : 0");
- dj_add("timer", "return (new Date) | 0");
- dj_add("resized", "var r = window.fm_resized; window.fm_resized = 0; return r");
- dj_add("width", "return screen ? screen.width : window.innerWidth");
- dj_add("height", "return screen ? screen.height : window.innerHeight");
- dj_run("var e = document.getElementById('gm4html5_div_id');\n\rdocument.body.style.overflow = 'hidden';\n\re.style.paddingTop = '20px';\n\re.style.position = 'absolute';\n\re.style.height = '2048px';\n\rwindow.fm_resized = 1;\n\rwindow.fm_orientation = window.orientation ? window.orientation : 0;\n\rdocument.onorientationchange = window.onorientationchange = function() {\n\rwindow.fm_orientation = window.orientation; window.fm_resized = 1\n\r}\n\rdocument.onresize = window.onresize = function() { window.fm_resized = 1 }\n\r");
- dj_run("var e;\n\rif (e = document.getElementById('debug_console')) e.style.display = 'none';\n\rif (e = document.getElementById('loading_screen')) e.style.display = 'none';");
- }
- function _s3(_u6, _v6) {
- var _D6, _E6, _F6, _G6, _H6, _I6, _J6, _K6, _L6, _M6, _N6;
- if ((global._s6 > 0)) {
- {
- global._s6 -= 1;
- return 0;
- }
- };
- _J6 = _t3(_u6, _v6);
- _M6 = _w6._O6();
- _N6 = _w6._P6();
- if (((_u3(_u6, _v6) > 0.5) || ((global._r6 != _w6._Q6())) || (global._t6 > 0.5))) {
- {
- global._t6 = 0 ? 1 : 0;
- global._p6 = _M6;
- global._q6 = _N6;
- global._r6 = _w6._Q6();
- _l3(_u6, _v6);
- global._i6 = _J6;
- _F6 = _k3(_u6, _v6);
- _G6 = _j3(_u6, _v6);
- _H6 = _F6;
- _I6 = _G6;
- global._k6 = (((global._p6 / global._q6) > 1) != ((_H6 / _I6) > 1)) ? 1 : 0;
- if (_n3(_u6, _v6) > 0.5) {
- {
- if ((_w6._Q6() != 2)) {
- _w6._R6(0)
- };
- if (((global._k6 > 0.5) && ((_w6._Q6() != 2)))) {
- {
- if ((global._f6 != 0)) {
- global._f6 = (3 - global._f6)
- };
- global._n6 = _w6._Q6();
- _w6._R6(1);
- _S6(2);
- }
- };
- if (((global._k6 > 0.5) && ((_w6._Q6() == 2)))) {
- {
- if ((global._f6 != 0)) {
- global._f6 = (3 - global._f6)
- };
- _S6(global._n6);
- }
- };
- if (((! (global._k6 > 0.5)) && ((_w6._Q6() != 2)) && (global._o6 > 0.5))) {
- {
- global._o6 = 0 ? 1 : 0;
- }
- };
- }
- };
- _D6 = (global._p6 / _F6);
- _E6 = (global._q6 / _G6);
- if ((global._f6 == 1)) {
- _E6 = _D6
- };
- if ((global._f6 == 2)) {
- _D6 = _E6
- };
- if ((global._86 != 0)) {
- _D6 = min(_D6, global._86)
- };
- if ((global._a6 != 0)) {
- _D6 = max(_D6, global._a6)
- };
- if ((global._96 != 0)) {
- _E6 = min(_E6, global._96)
- };
- if ((global._b6 != 0)) {
- _E6 = max(_E6, global._b6)
- };
- _F6 *= _D6;
- _G6 *= _E6;
- if ((((global._46 != 0)) && ((_F6 > global._46)))) {
- _F6 = global._46
- };
- if ((((global._56 != 0)) && ((_G6 > global._56)))) {
- _G6 = global._56
- };
- _D6 = (_F6 / _H6);
- _E6 = (_G6 / _I6);
- if (global._e6 > 0.5) {
- {
- _D6 = min(_D6, _E6);
- _E6 = _D6;
- }
- };
- _F6 = (_H6 * _D6);
- _G6 = (_I6 * _E6);
- _F6 = round(_F6);
- _G6 = round(_G6);
- _K6 = (global._g6 / 2 * (_w6._O6() - _F6));
- _L6 = (1 + (global._h6 / 2 * (_w6._P6() - _G6)));
- if ((global._c6 > 0)) {
- _K6 = max(_K6, 0)
- };
- if ((global._c6 < 0)) {
- _K6 = min(_K6, (global._p6 - _F6))
- };
- if ((global._d6 > 0)) {
- _L6 = max(_L6, 0)
- };
- if ((global._d6 < 0)) {
- _L6 = min(_L6, (global._q6 - _G6))
- };
- _T6(_K6, _L6);
- _U6(_F6, _G6);
- }
- };
- if (((((_J6 - global._i6) > global._j6)) || ((global._i6 > _J6)))) {
- {
- _l3(_u6, _v6);
- global._i6 = _J6;
- }
- };
- }
- function _t3(_u6, _v6) {
- return dj_call("timer");
- }
- function _u3(_u6, _v6) {
- return dj_call("resized");
- }
- function _T3(_u6, _v6) {
- {
- _V6(0);
- _W6(1);
- _X6(1);
- _Y6(16777215);
- _Z6(4, ( - 130), 27);
- _Z6(( - 120), 332, 29);
- _w6.__6 = 0;
- _07("speedtrip");
- _u6._17 = _27("score", "0", 0);
- _37();
- _Z6((_w6._B6 / 2), 236, 16);
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 8;
- _u6._47[1] = 8;
- _u6._47[2] = _57(10, 15, 20, 30, 45);
- _u6._47[3] = _57(10, 15, 20, 30, 45);
- };
- }
- function _V3(_u6, _v6) {
- {
- if ((_67(1) == 0)) {
- {
- return;
- }
- } else {
- {
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[4] = 24;
- }
- };
- var _77;
- _77 = _57(1, 4, 5, 2, 4, 5, 3, 4, 5);
- switch (_77) {
- case 1:
- {
- _Z6(((_w6._B6 / 2) - 18), 240, 3);
- break;
- };
- case 2:
- {
- _Z6((_w6._B6 / 2), 240, 2);
- break;
- };
- case 3:
- {
- _Z6(((_w6._B6 / 2) + 18), 240, 4);
- break;
- };
- case 4:
- {
- _Z6((_w6._B6 / 2), 240, 5);
- break;
- };
- case 5:
- {
- _Z6((_w6._B6 / 2), 240, _57(6, 7, 8, 9, 10, 11, 12, 13));
- break;
- };
- };
- };
- }
- function _X3(_u6, _v6) {
- {
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[3] = _57(10, 15, 20, 30, 45);
- _Z6(_87(200, 300), 240, 15);
- };
- }
- function _Z3(_u6, _v6) {
- {
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[2] = _57(10, 15, 20, 30, 45);
- _Z6(_87(20, 120), 240, 14);
- };
- }
- function _04(_u6, _v6) {
- {
- _Z6(((_w6._B6 / 2) - 6), 236, 17);
- _Z6(((_w6._B6 / 2) + 6), 236, 18);
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[1] = 8;
- };
- }
- function _24(_u6, _v6) {
- {
- _Z6((_w6._B6 / 2), 236, 16);
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 8;
- };
- }
- function _44(_u6, _v6) {
- {
- _97(_u6, 11, 0, 260, 48);
- if ((_67(27) == 0)) {
- {
- if ((_w6.__6 < _u6._17)) {
- {
- _a7(64, 48, _w6.__6);
- _a7(256, 48, _u6._17);
- }
- } else {
- {
- _a7(64, 48, _w6.__6);
- _a7(260, 48, _w6.__6);
- }
- };
- }
- };
- };
- }
- function _74(_u6, _v6) {
- {
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 10;
- _u6._b7 = 0;
- _u6._c7 = 0;
- _u6._d7 = 1;
- _u6._e7 = "right";
- _u6._f7 = 120;
- };
- }
- function _84(_u6, _v6) {
- {
- _u6._c7 = 1;
- };
- }
- function _a4(_u6, _v6) {
- {
- if ((_u6._c7 == 2)) {
- {
- if ((_u6._f7 > 0)) {
- {
- _u6._f7 -= 12;
- if ((_u6._e7 == "left")) {
- {
- _u6._g7(_u6._f3 - 12);
- }
- } else {
- {
- _u6._g7(_u6._f3 + 12);
- }
- };
- }
- } else {
- {
- _u6._c7 = 1;
- _u6._f7 = 120;
- }
- };
- }
- };
- };
- }
- function _c4(_u6, _v6) {
- {
- if ((((_u6._c7 == 1)) && ((_u6._f7 == 120)))) {
- {
- if ((_w6._h7 < (_w6._B6 / 2))) {
- {
- if ((((_u6._d7 == 1)) || ((_u6._d7 == 2)))) {
- {
- _u6._c7 = 2;
- _u6._d7 -= 1;
- _u6._e7 = "left";
- return;
- }
- };
- }
- } else {
- {
- if ((((_u6._d7 == 0)) || ((_u6._d7 == 1)))) {
- {
- _u6._c7 = 2;
- _u6._d7 += 1;
- _u6._e7 = "right";
- }
- };
- }
- };
- }
- };
- };
- }
- function _d4(_u6, _v6) {
- {
- _Z6(_u6._f3, _u6._g3, 28); {
- var _i7 = _j7(2);
- for (var _k7 in _i7) {
- if (!_i7.hasOwnProperty(_k7)) continue;
- var _l7 = _i7[_k7];
- if (_l7._m7) continue; {
- _n7(_l7);
- }
- }
- };
- _n7(_u6);
- };
- }
- function _e4(_u6, _v6) {
- {
- _u6._o7(270);
- _u6._p7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- _u6._u7 = 1 ? 1 : 0;
- };
- }
- function _f4(_u6, _v6) {
- {
- _u6._p7(_u6._h3 + 0.2);
- if ((_u6._g3 < (_w6._z6 - 72))) {
- {
- _u6._q7(_u6._v7 + 0.021);
- }
- } else {
- {
- _u6._q7(1);
- _u6._w7((_x7(1)._y7() - 1));
- if ((_u6._u7 == 1)) {
- {
- _u6._u7 = 0 ? 1 : 0;
- _w6.__6 += 1;
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _h4(_u6, _v6) {
- {
- _z7(_u6);
- };
- }
- function _i4(_u6, _v6) {
- {
- _u6._o7(235);
- _u6._p7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- _u6._u7 = 1 ? 1 : 0;
- };
- }
- function _j4(_u6, _v6) {
- {
- _u6._p7(_u6._h3 + 0.24);
- if ((_u6._g3 < (_w6._z6 - 72))) {
- {
- _u6._q7(_u6._v7 + 0.021);
- }
- } else {
- {
- _u6._q7(1);
- _u6._w7((_x7(1)._y7() - 1));
- if ((_u6._u7 == 1)) {
- {
- _u6._u7 = 0 ? 1 : 0;
- _w6.__6 += 1;
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _k4(_u6, _v6) {
- {
- _u6._o7(305);
- _u6._p7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- _u6._u7 = 1 ? 1 : 0;
- };
- }
- function _l4(_u6, _v6) {
- {
- _u6._o7(270);
- _u6._p7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- _u6._u7 = 1 ? 1 : 0;
- var _77;
- _77 = _57(1, 2, 3);
- switch (_77) {
- case 1:
- {
- _Z6(((_w6._B6 / 2) - 18), 240, 3);
- break;
- };
- case 2:
- {
- _Z6(((_w6._B6 / 2) + 18), 240, 4);
- break;
- };
- case 3:
- {
- _Z6(((_w6._B6 / 2) - 18), 240, 3);
- _Z6(((_w6._B6 / 2) + 18), 240, 4);
- _n7(_u6);
- break;
- };
- };
- };
- }
- function _m4(_u6, _v6) {
- {
- _u6._p7(_u6._h3 + 0.2);
- if ((_u6._g3 < (_w6._z6 - 72))) {
- {
- _u6._q7(_u6._v7 + 0.021);
- }
- } else {
- {
- _u6._q7(1);
- _u6._w7((_x7(1)._y7() - 1));
- if ((_u6._u7 == 1)) {
- {
- _u6._u7 = 0 ? 1 : 0;
- _w6.__6 += 1;
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _n4(_u6, _v6) {
- {
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- _u6._u7 = 1 ? 1 : 0;
- _A7(_u6, 0, 0, 1, 1);
- };
- }
- function _o4(_u6, _v6) {
- {
- _u6._B7 += 0.3;
- if ((_u6._g3 < (_w6._z6 - 72))) {
- {
- _u6._q7(_u6._v7 + 0.014);
- }
- } else {
- {
- _u6._q7(1);
- _u6._w7((_x7(1)._y7() - 1));
- if ((_u6._u7 == 1)) {
- {
- _u6._u7 = 0 ? 1 : 0;
- _w6.__6 += 1;
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _p4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 1, 0, 0, 1);
- };
- }
- function _q4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 2, 0, 0, 1);
- };
- }
- function _r4(_u6, _v6) {
- {
- _u6._B7 += 0.2;
- if ((_u6._g3 < (_w6._z6 - 72))) {
- {
- _u6._q7(_u6._v7 + 0.017);
- }
- } else {
- {
- _u6._q7(1);
- _u6._w7((_x7(1)._y7() - 1));
- if ((_u6._u7 == 1)) {
- {
- _u6._u7 = 0 ? 1 : 0;
- _w6.__6 += 1;
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _s4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 3, 0, 0, 1);
- };
- }
- function _t4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 4, 0, 0, 1);
- };
- }
- function _u4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 5, 0, 0, 1);
- };
- }
- function _v4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 6, 0, 0, 1);
- };
- }
- function _w4(_u6, _v6) {
- {
- _C7(_u6, _v6);
- _D7(_u6, 7, 0, 0, 1);
- };
- }
- function _x4(_u6, _v6) {
- {
- _u6._E7(0);
- _u6._F7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- _u6._b7 = 0;
- _u6._s7(floor(random(_u6._t7())));
- };
- }
- function _y4(_u6, _v6) {
- {
- if ((_u6._g3 < 350)) {
- {
- _u6._F7(_u6._G7 + 0.1);
- }
- } else {
- {
- _u6._F7(_u6._G7 + 0.2);
- }
- };
- _u6._E7(_u6._H7 - 0.16);
- _u6._q7(_u6._v7 + 0.02);
- _u6._r7(_u6._v7);
- };
- }
- function _z4(_u6, _v6) {
- {
- _z7(_u6);
- };
- }
- function _A4(_u6, _v6) {
- {
- if ((_u6._g3 < 350)) {
- {
- _u6._F7(_u6._G7 + 0.1);
- }
- } else {
- {
- _u6._F7(_u6._G7 + 0.2);
- }
- };
- _u6._E7(_u6._H7 + 0.16);
- _u6._q7(_u6._v7 + 0.02);
- _u6._r7(_u6._v7);
- };
- }
- function _B4(_u6, _v6) {
- {
- _u6._q7(12);
- _u6._F7(4);
- _u6._I7 = 0 ? 1 : 0;
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 15;
- };
- }
- function _C4(_u6, _v6) {
- {
- _u6._I7 = 1 ? 1 : 0;
- };
- }
- function _D4(_u6, _v6) {
- {
- if ((_u6._I7 == 0)) {
- {
- _u6._r7(_u6._J7 + 0.4);
- _u6._F7(_u6._G7 + 0.1);
- }
- } else {
- {
- _u6._r7(_u6._J7 + 0.2);
- _u6._F7(_u6._G7 + 0.4);
- }
- };
- };
- }
- function _E4(_u6, _v6) {
- {
- _z7(_u6);
- };
- }
- function _F4(_u6, _v6) {
- {
- _u6._o7(245);
- _u6._p7(4);
- _u6._q7(0.1);
- _u6._r7(0.1);
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 15;
- _u6._I7 = 0 ? 1 : 0;
- };
- }
- function _G4(_u6, _v6) {
- {
- if ((_u6._I7 == 0)) {
- {
- _u6._p7(_u6._h3 + 0.1);
- }
- } else {
- {
- _u6._p7(_u6._h3 + 0.4);
- }
- };
- if ((_u6._v7 < 1)) {
- {
- _u6._q7(_u6._v7 + 0.02);
- }
- } else {
- {
- _u6._q7(1);
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _H4(_u6, _v6) {
- {
- _u6._o7(295);
- _u6._p7(4);
- _u6._q7(0.1);
- _u6._r7(0.1);
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 15;
- _u6._I7 = 0 ? 1 : 0;
- };
- }
- function _I4(_u6, _v6) {
- {
- _u6._b7 = 0;
- _u6._F7(( - 4));
- };
- }
- function _J4(_u6, _v6) {
- {
- if ((((_u6._G7 != 0)) && ((_u6._g3 < (_w6._z6 - 70))))) {
- {
- _u6._F7(0);
- _Z6((_u6._f3 - 64), (_u6._g3 - 100), 22);
- _Z6((_u6._f3 + 64), (_u6._g3 - 100), 21);
- _Z6(_u6._f3, (_u6._g3 - 100), 23);
- }
- };
- };
- }
- function _K4(_u6, _v6) {
- {
- _u6._o7(270);
- _u6._p7(0);
- _u6._q7(0.1);
- _u6._r7(0.1);
- };
- }
- function _L4(_u6, _v6) {
- {
- if ((_u6._g3 < (_w6._z6 - 180))) {
- {
- _u6._q7(_u6._v7 + 0.034);
- _u6._p7(_u6._h3 + 0.16);
- }
- } else {
- {
- _u6._q7(1);
- _u6._p7(0);
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _N4(_u6, _v6) {
- {
- if ((((_u6._v7 == 1)) && ((_u6._h3 == 0)))) {
- {
- _x7(27)._F7(( - 2));
- _x7(29)._E7(( - 2));
- var _K7;
- _K7 = _Z6((_w6._B6 / 2), (_w6._z6 + 96), 19);
- _x7(_K7)._s7(floor(random(_x7(_K7)._t7())));
- _n7(_u6);
- }
- };
- };
- }
- function _O4(_u6, _v6) {
- {
- _x7(19)._s7(_x7(19)._L7 + 1);
- };
- }
- function _P4(_u6, _v6) {
- {
- _x7(19)._s7(_x7(19)._L7 - 1);
- };
- }
- function _Q4(_u6, _v6) {
- {
- _Z6(_u6._f3, _u6._g3, 26); {
- var _M7 = _j7(21);
- for (var _N7 in _M7) {
- if (!_M7.hasOwnProperty(_N7)) continue;
- var _O7 = _M7[_N7];
- if (_O7._m7) continue; {
- _n7(_O7);
- }
- }
- };
- };
- }
- function _R4(_u6, _v6) {
- {
- if ((_w6.__6 > _x7(0)._17)) {
- {
- _x7(0)._17 = _w6.__6;
- _07("speedtrip");
- _P7("score", "0", _w6.__6);
- _37();
- }
- };
- window.myPlayScore = _w6.__6;
- // Play68.setRankingScoreDesc(window.myPlayScore);
- // updateShare(window.myPlayScore);
- //play68_submitScore(window.myPlayScore);
- };
- }
- function _T4(_u6, _v6) {
- {
- var _K7;
- _K7 = _Z6((_w6._B6 / 2), (_w6._z6 + 96), 19);
- _x7(_K7)._s7(_x7(0)._Q7);
- _w6.__6 = 0;
- if (! (_x7(0)._47 instanceof Array)) {
- _x7(0)._47 = [];
- _x7(0)._47._T2 = 3819530653
- } else if (_x7(0)._47._T2 !== 3819530653) {
- _x7(0)._47 = _x7(0)._47.slice(0);
- _x7(0)._47._T2 = 3819530653
- }
- _x7(0)._47[4] = 60; {
- var _R7 = _j7(25);
- for (var _S7 in _R7) {
- if (!_R7.hasOwnProperty(_S7)) continue;
- var _T7 = _R7[_S7];
- if (_T7._m7) continue; {
- _n7(_T7);
- }
- }
- };
- _n7(_u6);
- };
- }
- function _U4(_u6, _v6) {
- {
- _U7();
- };
- }
- function _V4(_u6, _v6) {
- {
- _u6._V7 = 0 ? 1 : 0;
- _W7(_u6, 2, 0);
- };
- }
- function _W4(_u6, _v6) {
- {
- _u6._V7 = 1 ? 1 : 0;
- };
- }
- function _X4(_u6, _v6) {
- {
- if ((_u6._V7 == 0)) {
- {
- return;
- }
- }; {
- var _X7 = _j7(19);
- for (var _Y7 in _X7) {
- if (!_X7.hasOwnProperty(_Y7)) continue;
- var _Z7 = _X7[_Y7];
- if (_Z7._m7) continue; {
- var _K7;
- _K7 = _Z6(_Z7._f3, _Z7._g3, 1);
- _x7(_K7)._s7(_Z7._L7);
- _x7(0)._Q7 = _Z7._L7;
- _n7(_Z7);
- }
- }
- };
- if (! (_x7(0)._47 instanceof Array)) {
- _x7(0)._47 = [];
- _x7(0)._47._T2 = 3819530653
- } else if (_x7(0)._47._T2 !== 3819530653) {
- _x7(0)._47 = _x7(0)._47.slice(0);
- _x7(0)._47._T2 = 3819530653
- }
- _x7(0)._47[4] = 60;
- _n7(_u6);
- };
- }
- function _Y4(_u6, _v6) {
- {
- __7(_u6, 2);
- _W7(_u6, 70, 0);
- };
- }
- function _Z4(_u6, _v6) {
- {
- __7(_u6, 0);
- _08(_u6, 20, (_w6._B6 / 2), 240);
- };
- }
- function __4(_u6, _v6) {
- {
- var _18;
- _18 = _28(_u6._G7, 0, 1);
- if (_18 > 0.5) {
- {
- _z7(_u6);
- }
- };
- };
- }
- function _05(_u6, _v6) {
- {
- _u6._q7(0.4);
- _u6._r7(_u6._v7);
- _u6._38 = 0;
- };
- }
- function _15(_u6, _v6) {
- {
- _u6._38 = 2;
- _Z6(((_w6._B6 / 2) - 70), 240, 24);
- _Z6(((_w6._B6 / 2) + 70), 240, 25);
- };
- }
- function _25(_u6, _v6) {
- {
- if ((_u6._38 == 0)) {
- {
- if ((_u6._v7 < 1)) {
- {
- _u6._q7(_u6._v7 + 0.04);
- }
- } else {
- {
- _u6._q7(1);
- _u6._38 = 1;
- if (! (_u6._47 instanceof Array)) {
- _u6._47 = [];
- _u6._47._T2 = 1584050178
- } else if (_u6._47._T2 !== 1584050178) {
- _u6._47 = _u6._47.slice(0);
- _u6._47._T2 = 1584050178
- }
- _u6._47[0] = 30;
- }
- };
- }
- };
- if ((_u6._38 == 2)) {
- {
- if ((_u6._v7 > 0)) {
- {
- _u6._q7(_u6._v7 - 0.04);
- }
- } else {
- {
- _n7(_u6);
- }
- };
- }
- };
- _u6._r7(_u6._v7);
- };
- }
- function _35(_u6, _v6) {
- {
- _48(_u6, 2);
- _W7(_u6, 64, 0);
- };
- }
- function _45(_u6, _v6) {
- {
- _48(_u6, 0);
- };
- }
- function _55(_u6, _v6) {
- {
- var _18;
- _18 = _28(_u6._H7, 0, 1);
- if (_18 > 0.5) {
- {
- _z7(_u6);
- }
- };
- };
- }
- function _75(_u6, _v6) {
- {
- _58(0);
- _r3(_u6, _v6);
- global._a6 = 1;
- global._b6 = 1;
- global._86 = 1;
- global._96 = 1;
- var _68, _78, _88, _98, _a8;
- _68 = _q3(_u6, _v6);
- _78 = _p3(_u6, _v6);
- if ((((((((min(_68, _78) >= 320)) && ((max(_68, _78) >= 480)))) && (_n3(_u6, _v6) > 0.5))) || ((_w6._C6() == 3)))) {
- {
- global._86 = (_68 / 320);
- global._96 = global._86;
- _88 = _k3(_u6, _v6);
- _98 = _j3(_u6, _v6);
- if ((((_68 != 0)) && ((_78 != 0)))) {
- {
- if ((((_68 / _78) > 1) != ((_88 / _98) > 1))) {
- {
- _a8 = _68;
- _68 = _78;
- _78 = _a8;
- }
- };
- _a8 = min((_68 / _88), (_78 / _98));
- global._86 = min(global._86, _a8);
- global._96 = min(global._96, _a8);
- }
- };
- }
- };
- _b8();
- };
- }
- function _85(_u6, _v6) {
- {
- _s3(_u6, _v6);
- };
- }
- function _95(_u6, _v6) {
- {
- var _c8, _d8, _e8, _f8;
- if (_w6._x6() > 0.5) {
- {
- _c8 = _w6._A6[0];
- _d8 = _w6._y6[0];
- _e8 = _w6._g8[0];
- _f8 = _w6._h8[0];
- }
- } else {
- {
- _c8 = _w6._B6;
- _d8 = _w6._z6;
- _e8 = 0;
- _f8 = 0;
- }
- };
- if ((_w6._Q6() == 2)) {
- {
- _97(_u6, 16, 0, (_w6._B6 / 2), ((_w6._z6 / 2) - 48));
- }
- };
- };
- }
- function _i8(_j8) {
- this._k8 = 0;
- this._l8 = !1;
- this._m8 = null;
- this._n8 = null;
- this._o8 = null;
- this._p8 = null;
- this._q8 = null;
- this._r8 = null;
- this._s8 = [];
- this._t8(_j8._r8)
- };
- _i8.prototype._u8 = function() {
- var _v8 = new _i8({
- _r8: this._r8
- });
- return _v8
- };
- _i8.prototype._t8 = function(_w8) {
- this._r8 = _w8;
- this._m8 = new _x8._y8(_w8);
- this._q8 = new _x8._z8(this._m8.data);
- this._p8 = new _x8._A8(this._q8);
- if (_w8._B8.length > 0) {
- this._C8(null)
- }
- this._D8(null);
- this._n8 = new _x8._E8()
- };
- _i8.prototype._F8 = function() {
- var _G8 = _H8 ? _H8._I8() : 30;
- return~~ ((_G8 * this._o8.duration) + 0.5);
- };
- _i8.prototype._C8 = function(_J8) {
- this._K8(_J8, 0)
- };
- _i8.prototype._K8 = function(_J8, _L8) {
- var _M8 = null;
- if (((_J8 === null) || (_J8 === undefined)) && (_L8 === 0)) {
- if (this._r8._B8.length > 0) {
- _M8 = this._r8._N8(this._r8._B8[0].name)
- }
- } else {
- _M8 = this._r8._N8(_J8)
- }
- if (_M8 !== null && _M8 !== undefined) {
- if (_L8 === 0) {
- this._k8 = 0;
- this._o8 = _M8
- }
- this._p8._O8(_L8, _M8, !0)
- }
- };
- _i8.prototype._D8 = function(_P8) {
- if (_P8 === null || _P8 === undefined) {
- this._m8._Q8(this._r8._R8.name)
- } else {
- this._m8._Q8(_P8)
- }
- this._m8._S8()
- };
- _i8.prototype._T8 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, __8) {
- var _09 = this._m8;
- _19 = this._m8._29(),
- _39 = this._k8,
- _49 = (__8 !== undefined);
- if ((_39 != _U8) || (_09._f3 != _V8) || (_09._g3 != _W8) || (_19._E3 != _X8) || (_19._F3 != _Y8) || (_19._i5 != _Z8)) {
- var _59 = this._F8();
- if (_59 > 0) {
- var _69 = _U8 % _59,
- _79 = this._k8 % _59,
- duration = this._o8.duration,
- _89 = this._o8._99.length;
- if (_79 > _69) {
- _69 += _59
- }
- var _a9 = (_69 - _79) / _59;
- if (_a9 < (duration / _89)) {
- this._p8._b9(_a9 * duration);
- this._p8.apply(this._m8)
- } else {
- var _c9 = (_69 / _59) * duration;
- var _d9 = _c9 - (duration / _89);
- this._o8.apply(this._m8, _d9, _c9, 1, null, null)
- }
- }
- this._k8 = _U8;
- _09._f3 = _V8;
- _09._g3 = _W8;
- _09._e9 = (_X8 < 0) ? 1 : 0;
- _09._f9 = (_Y8 < 0) ? 1 : 0;
- _19._E3 = Math.abs(_X8);
- _19._F3 = Math.abs(_Y8);
- _19._i5 = _Z8;
- _49 = !0
- }
- if (_49) {
- if (__8) {
- __8._g9(_h9, 0, __8, null)
- }
- _09._49();
- this._n8._b9(this._m8, 1)
- }
- };
- _i8.prototype._i9 = function(_j9, _V8, _W8, _X8, _Y8, _Z8) {
- var _59 = this._F8();
- var _k9 = ~~ (_59 * (_j9 / this._o8.duration) + 0.5);
- this._T8(_k9, _V8, _W8, _X8, _Y8, _Z8)
- };
- _i8.prototype._l9 = function(_m9, _U8, _V8, _W8, _X8, _Y8, _Z8) {
- var _n9 = this._n8;
- if (_n9._o9.length > 0) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- _m9.left = ~~ (_n9._p9 + 0.5);
- _m9._q9 = ~~ (_n9._r9 + 0.5);
- _m9.top = ~~ (_n9._s9 + 0.5);
- _m9.bottom = ~~ (_n9._t9 + 0.5);
- return ! 0
- }
- return ! 1
- };
- _i8.prototype._u9 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _v9, _w9, _x9, _y9, _z9, _A9, _B9) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- _v9._T8(_w9, _x9, _y9, _z9, _A9, _B9);
- for (var _C9 = 0; _C9 < _v9._n8._D9.length; _C9++) {
- var _E9 = _v9._n8._D9[_C9];
- var _x3 = _E9.length / 2;
- for (var _F9 = 0; _F9 < _x3; _F9++) {
- var _G9, _H9, _I9, _J9;
- _G9 = _E9[(_F9 * 2) + 0];
- _H9 = _E9[(_F9 * 2) + 1];
- if (_F9 === (_x3 - 1)) {
- _I9 = _E9[0];
- _J9 = _E9[1]
- } else {
- _I9 = _E9[((_F9 + 1) * 2) + 0];
- _J9 = _E9[((_F9 + 1) * 2) + 1]
- }
- var _K9 = this._n8._L9(_G9, _H9, _I9, _J9);
- if (_K9 !== null) {
- return ! 0
- }
- }
- }
- return ! 1
- };
- _i8.prototype._M9 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _N9, _O9, _w9, _x9, _y9, _z9, _A9, _B9) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- if (_N9 == null) {
- return ! 1
- }
- if (_N9._P9 <= 0) {
- return ! 1
- }
- if (_N9._Q9.length > 0) {
- _w9 = _w9 % _N9._Q9.length
- }
- if (_w9 < 0) {
- _w9 = _w9 + _N9._Q9.length
- }
- _z9 = 1.0 / _z9;
- _A9 = 1.0 / _A9;
- var _n9 = this._n8;
- var _R9 = _S9(_n9._p9, _O9.left);
- var _T9 = _U9(_n9._r9, _O9._q9);
- var _V9 = _S9(_n9._s9, _O9.top);
- var _W9 = _U9(_n9._t9, _O9.bottom);
- var _X9 = Math.sin( - _B9 * (_Y9 / 180.0));
- var _Z9 = Math.cos( - _B9 * (_Y9 / 180.0));
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = ((_Z9 * (_H3 - _x9) + _X9 * (__9 - _y9)) * _z9 + _N9._1a);
- var _2a = ((_Z9 * (__9 - _y9) - _X9 * (_H3 - _x9)) * _A9 + _N9._3a);
- if ((_0a < 0) || (_0a >= _N9._4a)) {
- continue
- }
- if ((_2a < 0) || (_2a >= _N9._5a)) {
- continue
- }
- if (_N9._6a) {
- if (!_N9._Q9._7a[_w9]._7a[_0a + (_2a * _N9._4a)]) {
- continue
- }
- }
- var _K9 = _n9._8a(_H3, __9);
- if (_K9 !== null) {
- return ! 0
- }
- }
- }
- return ! 1
- };
- _i8.prototype._9a = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- var _K9 = this._n8._8a(_aa, _ba);
- if (_K9 !== null) {
- return ! 0
- }
- return ! 1
- };
- _i8.prototype._ca = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba, _x9, _y9) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- var _K9 = this._n8._L9(_aa, _ba, _x9, _y9);
- if (_K9 !== null) {
- return ! 0
- }
- return ! 1
- };
- _i8.prototype._da = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba, _x9, _y9) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- var _K9 = null;
- var _n9 = this._n8;
- var _K9 = _n9._L9(_aa, _ba, _x9, _y9);
- if (_K9 !== null) {
- return ! 0
- }
- _K9 = _n9._L9(_aa, _ba, _x9, _ba);
- if (_K9 !== null) {
- return ! 0
- }
- _K9 = _n9._L9(_x9, _ba, _x9, _y9);
- if (_K9 !== null) {
- return ! 0
- }
- _K9 = _n9._L9(_x9, _y9, _aa, _y9);
- if (_K9 !== null) {
- return ! 0
- }
- _K9 = _n9._L9(_aa, _y9, _aa, _ba);
- if (_K9 !== null) {
- return ! 0
- }
- return ! 1
- };
- _i8.prototype._ea = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _fa) {
- this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8);
- var _n9 = this._n8;
- var _09 = this._m8;
- var _R9 = _S9(_n9._p9, _fa.left);
- var _T9 = _U9(_n9._r9, _fa._q9);
- var _V9 = _S9(_n9._s9, _fa.top);
- var _W9 = _U9(_n9._t9, _fa.bottom);
- var _ga = ((_fa._q9 + _fa.left) / 2);
- var _ha = ((_fa.bottom + _fa.top) / 2);
- var _ia = ((_fa._q9 - _fa.left) / 2);
- var _ja = ((_fa.bottom - _fa.top) / 2);
- var _4a = (_n9._r9 - _n9._p9);
- var _5a = (_n9._t9 - _n9._s9);
- var _1a = _09._f3 - _n9._p9;
- var _3a = _09._g3 - _n9._s9;
- if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(_Z8) < 0.0001)) {
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- if (_ka((_H3 - _ga) / _ia) + _ka((__9 - _ha) / _ja) > 1) continue;
- var _0a = _H3 - _V8 + _1a;
- var _2a = __9 - _W8 + _3a;
- if ((_0a < 0) || (_0a >= _4a)) continue;
- if ((_2a < 0) || (_2a >= _5a)) continue;
- var _K9 = _n9._8a(_H3, __9);
- if (_K9 !== null) {
- return ! 0
- }
- }
- }
- } else {
- var _la = Math.sin( - _Z8 * _Y9 / 180.0);
- var _ma = Math.cos( - _Z8 * _Y9 / 180.0);
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- if (_ka((_H3 - _ga) / _ia) + _ka((__9 - _ha) / _ja) > 1) continue;
- var _0a = Math.floor((_ma * (_H3 - _V8) + _la * (__9 - _W8)) / _X8 + _1a);
- var _2a = Math.floor((_ma * (__9 - _W8) - _la * (_H3 - _V8)) / _Y8 + _3a);
- if ((_0a < 0) || (_0a >= _4a)) continue;
- if ((_2a < 0) || (_2a >= _5a)) continue;
- var _K9 = _n9._8a(_H3, __9);
- if (_K9 !== null) {
- return ! 0
- }
- }
- }
- }
- return ! 1
- };
- var _na = null;;
- function _oa() {
- this._pa = [];
- this._qa = null;
- this._r8 = null;
- this._ra = null;
- if (_sa) {
- this._ta = this._ua;
- this._va = this._wa
- } else {
- this._ta = this._xa;
- this._va = this._ya
- }
- };
- _oa.prototype._za = function(_J8, _Aa, _Ba, _Ca) {
- this._pa[_J8] = {
- _Da: [],
- _Ea: 0,
- _Fa: 32,
- _Ga: _Ha[_Ca],
- _f3: 0,
- _g3: 0,
- _J3: _Aa,
- _K3: _Ba
- }
- };
- _oa.prototype._Ia = function(_Ja, _Ka, _Aa, _Ba) {
- var width = _Aa;
- var height = _Ba;
- var _La = this;
- var _Ma = function(_Na) {
- var _Oa = _Na;
- _Oa.width = width;
- _Oa.height = height;
- var _Pa = _Qa(_Ra + _Na.name);
- _Oa._Sa = _Pa;
- _Ha[_Pa].onload = function(e) {
- _La._za(_Oa.name, e.srcElement.width, e.srcElement.height, _Pa)
- };
- _Ha[_Pa].onerror = function(e) {
- debug("ImageError: " + e.srcElement.src)
- };
- _Ha[_Pa].URL = _Na.name
- };
- this._ra = new _x8._Ta(_Ka, {
- load: _Ma
- });
- this._qa = new _x8._Ua(new _x8._Va(this._ra));
- this._r8 = this._qa._Wa(JSON.parse(_Ja))
- };
- _oa.prototype._Xa = function(_Ya, _P8, _k9, _f3, _g3, _Za, __a, _0b, _1b, alpha) {
- if (this._r8 === null || this._r8 === undefined) return;
- _x8._2b._3b = !0;
- var _4b = new _i8(this);
- _4b._C8(_Ya);
- _4b._D8(_P8);
- _4b._T8(_k9, _f3, _g3, _Za, __a, _0b);
- this._5b(_4b._m8, _1b, alpha)
- };
- _oa.prototype._6b = function(_k9, _f3, _g3, _Za, __a, _0b, _1b, alpha) {
- if (!_na || !_na._7b()) {
- this._Xa(null, null, _k9, _f3, _g3, _Za, __a, _0b, _1b, alpha)
- } else {
- _x8._2b._3b = !0;
- var _8b = _na._7b();
- _8b._T8(_k9, _f3, _g3, _Za, __a, _0b, _na);
- this._5b(_8b._m8, _1b, alpha);
- if (_8b._l8) {
- this._9b(_8b._n8)
- }
- }
- };
- _oa.prototype._5b = function(_ab, _bb, alpha) {
- var _cb = (_bb & 0xff) / 255.0,
- _db = ((_bb & 0xff00) >> 8) / 255.0,
- _eb = ((_bb & 0xff0000) >> 16) / 255.0;
- for (var _H3 = 0,
- _C9 = _ab._fb.length; _H3 < _C9; _H3++) {
- var _gb = _ab._hb[_H3];
- if (!_gb._ib) {
- continue
- }
- var _T9 = (_gb._09._T9 * _gb._T9 * _cb * 255);
- var _jb = (_gb._09._jb * _gb._jb * _db * 255);
- var _W9 = (_gb._09._W9 * _gb._W9 * _eb * 255);
- var _kb = (_gb._09._kb * _gb._kb * alpha * 255);
- var _1b = (_kb << 24) | (_T9 << 0) | (_jb << 8) | (_W9 << 16);
- switch (_gb._ib.type) {
- case _x8._lb._mb:
- this._ta(_gb, _1b, alpha);
- break;
- case _x8._lb._nb:
- case _x8._lb._ob:
- this._va(_gb, _1b, alpha);
- break
- }
- }
- };
- _oa.prototype._9b = function(_pb) {
- _qb(_pb._p9, _pb._s9, _pb._p9, _pb._t9);
- _qb(_pb._p9, _pb._t9, _pb._r9, _pb._t9);
- _qb(_pb._r9, _pb._t9, _pb._r9, _pb._s9);
- _qb(_pb._r9, _pb._s9, _pb._p9, _pb._s9);
- for (var _C9 = 0; _C9 < _pb._D9.length; _C9++) {
- var _E9 = _pb._D9[_C9];
- var _x3 = _E9.length / 2;
- for (var _F9 = 0; _F9 < _x3; _F9++) {
- var _G9, _H9, _I9, _J9;
- _G9 = _E9[(_F9 * 2) + 0];
- _H9 = _E9[(_F9 * 2) + 1];
- if (_F9 == (_x3 - 1)) {
- _I9 = _E9[0];
- _J9 = _E9[1]
- } else {
- _I9 = _E9[((_F9 + 1) * 2) + 0];
- _J9 = _E9[((_F9 + 1) * 2) + 1]
- }
- _qb(_G9, _H9, _I9, _J9)
- }
- }
- };
- _oa.prototype._xa = function(_gb, _1b, alpha) {
- var _mb = _gb._ib,
- _rb = [];
- _mb._sb(_gb._09._f3, _gb._09._g3, _gb._tb, _rb);
- var _ub = [];
- _ub[0] = {};
- _ub[0]._f3 = _rb[2];
- _ub[0]._g3 = _rb[3];
- _ub[0]._vb = _mb._wb[2];
- _ub[0]._xb = _mb._wb[3];
- _ub[1] = {};
- _ub[1]._f3 = _rb[4];
- _ub[1]._g3 = _rb[5];
- _ub[1]._vb = _mb._wb[4];
- _ub[1]._xb = _mb._wb[5];
- _ub[2] = {};
- _ub[2]._f3 = _rb[6];
- _ub[2]._g3 = _rb[7];
- _ub[2]._vb = _mb._wb[6];
- _ub[2]._xb = _mb._wb[7];
- _ub[3] = {};
- _ub[3]._f3 = _rb[0];
- _ub[3]._g3 = _rb[1];
- _ub[3]._vb = _mb._wb[0];
- _ub[3]._xb = _mb._wb[1];
- _yb.globalAlpha = alpha;
- var _Oa = _mb._Sa._zb;
- var _Pa = _Ha[_Oa._Sa];
- if (_1b != _Ab) {
- if (!this._pa[_mb._Sa._zb.name]) {
- var _zb = _mb._Sa._zb;
- this._za(_zb.name, _zb.width, _zb.height, _mb._Sa._zb._Sa)
- }
- _Pa = _Bb(this._pa[_mb._Sa._zb.name], _1b)
- }
- var _Cb = this._pa[_Oa.name];
- this._Db(_yb, _Pa, _ub[0]._f3, _ub[0]._g3, _ub[1]._f3, _ub[1]._g3, _ub[2]._f3, _ub[2]._g3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3, _ub[1]._vb * _Cb._J3, _ub[1]._xb * _Cb._K3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3);
- this._Db(_yb, _Pa, _ub[2]._f3, _ub[2]._g3, _ub[3]._f3, _ub[3]._g3, _ub[0]._f3, _ub[0]._g3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3, _ub[3]._vb * _Cb._J3, _ub[3]._xb * _Cb._K3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3)
- };
- _oa.prototype._ya = function(_gb, _1b, alpha) {
- var _nb = _gb._ib,
- _rb = [];
- _nb._Eb(_gb._09._f3, _gb._09._g3, _gb, _rb);
- var _Oa = _nb._Sa._zb;
- var _Pa = _Ha[_Oa._Sa];
- if (_1b != _Ab) {
- if (!this._pa[_nb._Sa._zb.name]) {
- var _zb = _nb._Sa._zb;
- this._za(_zb.name, _zb.width, _zb.height, _nb._Sa._zb._Sa)
- }
- _Pa = _Bb(this._pa[_nb._Sa._zb.name], _1b)
- }
- for (var _C9 = 0; _C9 < _nb._Fb.length / 3; _C9++) {
- var _Gb = _nb._Fb[(_C9 * 3) + 0],
- _Hb = _nb._Fb[(_C9 * 3) + 1],
- _Ib = _nb._Fb[(_C9 * 3) + 2];
- var _ub = [];
- _ub[0] = {};
- _ub[0]._f3 = _rb[(_Gb * 2) + 0];
- _ub[0]._g3 = _rb[(_Gb * 2) + 1];
- _ub[0]._vb = _nb._wb[(_Gb * 2) + 0];
- _ub[0]._xb = _nb._wb[(_Gb * 2) + 1];
- _ub[1] = {};
- _ub[1]._f3 = _rb[(_Hb * 2) + 0];
- _ub[1]._g3 = _rb[(_Hb * 2) + 1];
- _ub[1]._vb = _nb._wb[(_Hb * 2) + 0];
- _ub[1]._xb = _nb._wb[(_Hb * 2) + 1];
- _ub[2] = {};
- _ub[2]._f3 = _rb[(_Ib * 2) + 0];
- _ub[2]._g3 = _rb[(_Ib * 2) + 1];
- _ub[2]._vb = _nb._wb[(_Ib * 2) + 0];
- _ub[2]._xb = _nb._wb[(_Ib * 2) + 1];
- var _Cb = this._pa[_Oa.name];
- this._Db(_yb, _Pa, _ub[0]._f3, _ub[0]._g3, _ub[1]._f3, _ub[1]._g3, _ub[2]._f3, _ub[2]._g3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3, _ub[1]._vb * _Cb._J3, _ub[1]._xb * _Cb._K3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3)
- }
- };
- _oa.prototype._Db = function(_Jb, _Kb, _Lb, _Mb, _G9, _H9, _I9, _J9, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb) {
- _Jb.save();
- _Jb.beginPath();
- _Jb.moveTo(_Lb, _Mb);
- _Jb.lineTo(_G9, _H9);
- _Jb.lineTo(_I9, _J9);
- _Jb.closePath();
- _Jb.clip();
- var _Tb = _Nb * (_Sb - _Qb) - _Pb * _Sb + _Rb * _Qb + (_Pb - _Rb) * _Ob;
- if (_Tb == 0) {
- return
- }
- var _Ub = -(_Ob * (_I9 - _G9) - _Qb * _I9 + _Sb * _G9 + (_Qb - _Sb) * _Lb) / _Tb;
- var _Vb = (_Qb * _J9 + _Ob * (_H9 - _J9) - _Sb * _H9 + (_Sb - _Qb) * _Mb) / _Tb;
- var _Wb = (_Nb * (_I9 - _G9) - _Pb * _I9 + _Rb * _G9 + (_Pb - _Rb) * _Lb) / _Tb;
- var _Xb = -(_Pb * _J9 + _Nb * (_H9 - _J9) - _Rb * _H9 + (_Rb - _Pb) * _Mb) / _Tb;
- var _Yb = (_Nb * (_Sb * _G9 - _Qb * _I9) + _Ob * (_Pb * _I9 - _Rb * _G9) + (_Rb * _Qb - _Pb * _Sb) * _Lb) / _Tb;
- var _Zb = (_Nb * (_Sb * _H9 - _Qb * _J9) + _Ob * (_Pb * _J9 - _Rb * _H9) + (_Rb * _Qb - _Pb * _Sb) * _Mb) / _Tb;
- _Jb.transform(_Ub, _Vb, _Wb, _Xb, _Yb, _Zb);
- _Jb.drawImage(_Kb, 0, 0);
- _Jb.restore()
- };
- _oa.prototype._ua = function(_gb, _1b, alpha) {
- var _mb = _gb._ib,
- _rb = [];
- _mb._sb(_gb._09._f3, _gb._09._g3, _gb._tb, _rb);
- var _Pa = _Ha[_mb._Sa._zb._Sa];
- if (!_Pa.complete) return;
- if (!_Pa.__b) _0c({
- _Ga: _Pa
- });
- var _1c = 6;
- var _2c = _sa._3c(_4c._5c, _Pa.__b, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _1c;
- var _ac = _2c._bc;
- var _cc = _2c._dc;
- var _ec = _2c._fc;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac[_gc + 0] = _ac[_lc + 0] = _rb[2];
- _ac[_gc + 1] = _ac[_lc + 1] = _rb[3];
- _ac[_hc + 0] = _rb[4];
- _ac[_hc + 1] = _rb[5];
- _ac[_ic + 0] = _ac[_jc + 0] = _rb[6];
- _ac[_ic + 1] = _ac[_jc + 1] = _rb[7];
- _ac[_kc + 0] = _rb[0];
- _ac[_kc + 1] = _rb[1];
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b;
- _ec[_gc + 0] = _ec[_lc + 0] = _mb._wb[2];
- _ec[_gc + 1] = _ec[_lc + 1] = _mb._wb[3];
- _ec[_hc + 0] = _mb._wb[4];
- _ec[_hc + 1] = _mb._wb[5];
- _ec[_ic + 0] = _ec[_jc + 0] = _mb._wb[6];
- _ec[_ic + 1] = _ec[_jc + 1] = _mb._wb[7];
- _ec[_kc + 0] = _mb._wb[0];
- _ec[_kc + 1] = _mb._wb[1]
- };
- _oa.prototype._wa = function(_gb, _1b, alpha) {
- var _nb = _gb._ib,
- _rb = [];
- _nb._Eb(_gb._09._f3, _gb._09._g3, _gb, _rb);
- var _Pa = _Ha[_nb._Sa._zb._Sa];
- if (!_Pa.complete) return;
- if (!_Pa.__b) _0c({
- _Ga: _Pa
- });
- var _1c = _nb._Fb.length;
- var _2c = _sa._3c(_4c._5c, _Pa.__b, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _1c;
- var _ac = _2c._bc;
- var _cc = _2c._dc;
- var _ec = _2c._fc;
- var _gc = index;
- for (var _C9 = 0; _C9 < _1c; _C9++, _gc += _7c) {
- var _Gb = _nb._Fb[_C9];
- _ac[_gc + 0] = _rb[(_Gb * 2) + 0];
- _ac[_gc + 1] = _rb[(_Gb * 2) + 1];
- _cc[_gc + 0] = _cc[_gc + 1] = _1b;
- _ec[_gc + 0] = _nb._wb[(_Gb * 2) + 0];
- _ec[_gc + 1] = _nb._wb[(_Gb * 2) + 1];
- }
- };
- function _mc(_b3) {
- _nc("draw_primitive_begin()")
- }
- function _oc(_b3, _pc) {
- _nc("draw_primitive_begin_texture()")
- }
- function _qc(_f3, _g3) {
- _nc("draw_vertex()")
- }
- function _rc(_f3, _g3, _1b, alpha) {
- _nc("draw_vertex_color()")
- }
- var _sc = _rc;
- function _tc(_f3, _g3, _uc, _vc) {
- _nc("draw_vertex_texture()")
- }
- function _wc(_f3, _g3, _uc, _vc, _1b, alpha) {
- _nc("draw_vertex_texture_color()")
- }
- var _xc = _wc;
- function _yc() {
- _nc("draw_primitive_end()")
- }
- function _zc(_b3) {
- _nc("d3d_primitive_begin()")
- }
- function _Ac(_b3, _pc) {
- _nc("d3d_primitive_begin_texture()")
- }
- function _Bc(_f3, _g3, _Cc) {
- _nc("d3d_vertex()")
- }
- function _Dc(_f3, _g3, _Cc, _1b, alpha) {
- _nc("d3d_vertex_color()")
- }
- var _Ec = _Dc;
- function _Fc(_f3, _g3, _Cc, _uc, _vc) {
- _nc("d3d_vertex_texture()")
- }
- function _Gc(_f3, _g3, _Cc, _uc, _vc, _1b, alpha) {
- _nc("d3d_vertex_texture_color()");
- }
- var _Hc = _Gc;
- function _Ic(_f3, _g3, _Cc, _Jc, _Kc, _Lc) {
- _nc("d3d_vertex_normal()")
- }
- function _Mc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) {
- _nc("d3d_vertex_normal_color()")
- }
- var _Nc = _Mc;
- function _Oc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) {
- _nc("d3d_vertex_normal_texture()")
- }
- function _Pc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) {
- _nc("d3d_vertex_normal_texture_color()")
- }
- var _Qc = _Pc;
- function _Rc() {
- _nc("d3d_primitive_end()")
- }
- var _Sc = null;
- var _Tc = 0,
- _Uc = -1,
- _Vc = null,
- _Wc = null;
- var _Xc = 1,
- _Yc = 2,
- _Zc = 3,
- __c = 4,
- _0d = 5,
- _1d = 6,
- _2d = 7;
- function _3d() {
- _mc = _4d;
- _oc = _5d;
- _qc = _6d;
- _rc = _7d;
- _sc = _7d;
- _tc = _8d;
- _wc = _9d;
- _xc = _9d;
- _yc = _ad;
- _zc = _bd;
- _Ac = _cd;
- _Bc = _dd;
- _Dc = _ed;
- _Ec = _ed;
- _Fc = _fd;
- _Gc = _gd;
- _Hc = _gd;
- _Ic = _hd;
- _Mc = _id;
- _Nc = _id;
- _Oc = _jd;
- _Pc = _kd;
- _Qc = _kd;
- _Rc = _ld
- }
- function _md(_nd) {
- switch (_nd) {
- case _Xc:
- return _4c._od;
- case _Yc:
- return _4c._pd;
- case _Zc:
- return _4c._qd;
- case __c:
- return _4c._5c;
- case _0d:
- return _4c._rd;
- case _1d:
- return _4c._sd;
- case _2d:
- return _4c._5c
- }
- return - 1
- }
- function _td() {
- _Tc = 0;
- _Uc = -1;
- _Vc = null;
- _Wc = null
- }
- function _4d(_ud) {
- _5d(_ud, -1)
- }
- function _5d(_ud, _Ca) {
- _Tc = _ud;
- _Uc = null;
- if (typeof(_Ca) == "object") {
- _Uc = _Ca._vd
- } else if ((_Ca != -1) && _Ha[_Ca]) {
- _Uc = _Ha[_Ca]
- }
- if (_Uc && !_Uc.__b) {
- _0c({
- _Ga: _Uc
- })
- }
- _Wc = new _wd(_xd, _sa._yd(_sa._6c), !1)
- }
- function _6d(_V8, _W8) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _7d(_V8, _W8, _Cd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = _Dd(_Cd)
- }
- function _8d(_V8, _W8, _Ed, _Fd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._fc[index + 0] = _Ed;
- _Wc._fc[index + 1] = _Fd;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _9d(_V8, _W8, _Ed, _Fd, _Cd, _Gd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._fc[index + 0] = _Ed;
- _Wc._fc[index + 1] = _Fd;
- _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Cd)
- }
- function _ad() {
- var _Hd = _md(_Tc);
- if (_Hd == -1) {
- return
- }
- var _Id = _Wc._Jd.subarray(0, _Wc._9c * _Wc._8c());
- var _Kd = _Uc ? _Uc.__b: null;
- var _2c = _sa._3c(_Hd, _Kd, _sa._6c, _Wc._9c);
- _2c._Jd.set(_Id, _2c._9c * _2c._8c());
- _2c._9c += _Wc._9c
- }
- function _bd(_b3) {
- _Ac(_b3, -1)
- }
- function _cd(_ud, _Ca) {
- _Tc = _ud;
- _Uc = null;
- if (_Ca == null || _Ca == undefined) {
- _Vc = null
- } else if (typeof(_Ca) == "object") {
- _Uc = _Ca._vd;
- _Vc = _Ca._Ld
- } else if ((_Ca != -1) && _Ha[_Ca]) {
- _Uc = _Ha[_Ca]
- }
- if (_Uc && !_Uc.__b) {
- _0c({
- _Ga: _Uc
- })
- }
- _Wc = new _wd(_xd, _sa._yd(_sa._Md), !1)
- }
- function _Nd(_Ed, _Fd) {
- if (_Vc) {
- return ({
- _vb: (_Vc._f3 + (_Ed * _Vc._u5)) / _Uc._Od,
- _xb: (_Vc._g3 + (_Fd * _Vc._v5)) / _Uc._Pd
- })
- } else {
- return ({
- _vb: _Ed,
- _xb: _Fd
- })
- }
- };
- function _dd(_V8, _W8, _Qd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = 0;
- _Wc._Rd[index + 1] = 0;
- _Wc._Rd[index + 2] = 0;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _ed(_V8, _W8, _Qd, _Sd, _Gd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = 0;
- _Wc._Rd[index + 1] = 0;
- _Wc._Rd[index + 2] = 0;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd)
- }
- function _fd(_V8, _W8, _Qd, _Td, _Ud) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = 0;
- _Wc._Rd[index + 1] = 0;
- _Wc._Rd[index + 2] = 0;
- var _Vd = _Nd(_Td, _Ud);
- _Wc._fc[index + 0] = _Vd._vb;
- _Wc._fc[index + 1] = _Vd._xb;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _gd(_V8, _W8, _Qd, _Td, _Ud, _Sd, _Gd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = 0;
- _Wc._Rd[index + 1] = 0;
- _Wc._Rd[index + 2] = 0;
- var _Vd = _Nd(_Td, _Ud);
- _Wc._fc[index + 0] = _Vd._vb;
- _Wc._fc[index + 1] = _Vd._xb;
- _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd)
- }
- function _hd(_V8, _W8, _Qd, _Wd, _Xd, _Yd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = _Wd;
- _Wc._Rd[index + 1] = _Xd;
- _Wc._Rd[index + 2] = _Yd;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _id(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Sd, _Gd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = _Wd;
- _Wc._Rd[index + 1] = _Xd;
- _Wc._Rd[index + 2] = _Yd;
- _Wc._fc[index + 0] = 0;
- _Wc._fc[index + 1] = 0;
- _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd)
- }
- function _jd(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Td, _Ud) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = _Wd;
- _Wc._Rd[index + 1] = _Xd;
- _Wc._Rd[index + 2] = _Yd;
- var _Vd = _Nd(_Td, _Ud);
- _Wc._fc[index + 0] = _Vd._vb;
- _Wc._fc[index + 1] = _Vd._xb;
- _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff)
- }
- function _kd(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Td, _Ud, _Sd, _Gd) {
- var _7c = _Wc._8c() >> 2;
- var index = _Wc._9c * _7c;
- _Wc._zd(1);
- _Wc._bc[index + 0] = _V8;
- _Wc._bc[index + 1] = _W8;
- _Wc._bc[index + 2] = _Qd;
- _Wc._Rd[index + 0] = _Wd;
- _Wc._Rd[index + 1] = _Xd;
- _Wc._Rd[index + 2] = _Yd;
- var _Vd = _Nd(_Td, _Ud);
- _Wc._fc[index + 0] = _Vd._vb;
- _Wc._fc[index + 1] = _Vd._xb;
- _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd)
- }
- function _ld() {
- var _Hd = _md(_Tc);
- if (_Hd == -1) {
- return
- }
- var _Id = _Wc._Jd.subarray(0, _Wc._9c * _Wc._8c());
- var _Kd = _Uc ? _Uc.__b: null;
- var _2c = _sa._3c(_Hd, _Kd, _sa._Md, _Wc._9c);
- _2c._Jd.set(_Id, _2c._9c * _2c._8c());
- _2c._9c += _Wc._9c
- }
- function _Zd(__d) {
- var _0e = null,
- _1e = null,
- _2e = null,
- _3e = !1,
- _4e = null,
- _5e;
- var _6e = 0,
- _7e = 0,
- _8e = 0,
- _9e = 0; (function() {
- _0e = new ArrayBuffer(__d);
- _1e = new DataView(_0e)
- })();
- function _ae(_be, _ce) {
- var _de = !1;
- var _ee = _4e._fe;
- for (var _H3 = 0; _H3 < _ee.length; _H3++) {
- var _ge = _ee[_H3];
- if (((_be == -1) || (_ge._he == _be)) && (_ge.type == _ce)) {
- _de = !0;
- if ((_ge._ie & _6e) === 0) {
- var _je = (_9e + _ge._L3);
- _6e |= _ge._ie;
- if (_4e._ke === _6e) {
- _6e = 0;
- _7e++;
- _9e += _4e._le;
- if ((_9e + _4e._le) >= _0e.byteLength) {
- this._me(_0e.byteLength * 2)
- }
- }
- return _je
- }
- }
- }
- if (_de) {
- debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n", !0);
- return - 1
- }
- debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n", !0);
- return - 1
- };
- this._me = function(__d) {
- var _ne = new ArrayBuffer(__d);
- var _oe = new Int8Array(_0e);
- var _pe = new Int8Array(_ne);
- _pe.set(_oe);
- _0e = _ne;
- _1e = new DataView(_0e)
- };
- this._qe = function(_re) {
- _6e = 0;
- _7e = 0;
- _8e = 0;
- _9e = 0;
- _5e = _re;
- _4e = _sa._yd(_re);
- if (_4e._le > _0e.byteLength) {
- this._me(_4e._le * 36)
- }
- };
- this._se = function() {};
- this._te = function(_f3, _g3) {
- var _je = _ae(_4c._ue, _4c._ve);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0)
- }
- };
- this._we = function(_f3, _g3, _Cc) {
- var _je = _ae(_4c._ue, _4c._xe);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0);
- _1e.setFloat32(_je + 8, _Cc, !0)
- }
- };
- this._ye = function(_1b, _Gd) {
- var _je = _ae(_4c._ze, _4c._Ae);
- if (_je >= 0) {
- var _Be = ((alpha * 255.0) << 24) | _Dd(_1b);
- _1e.setUint32(_je, _Be, !0)
- }
- };
- this._Ce = function(_De) {
- var _je = _ae(_4c._ze, _4c._Ae);
- if (_je >= 0) {
- var _1b = ((_De & 0xff) << 24) | ((_De & 0xff00) << 8) | ((_De & 0xff0000) >> 8) | ((_De & 0xff000000) >> 24);
- _1e.setUint32(_je, _1b, !0)
- }
- };
- this._Ee = function(_Fe) {
- var _je = _ae(_4c._ze, _4c._Ae);
- if (_je >= 0) {
- var _1b = (_Fe & 0xff000000) | ((_Fe & 0xff) << 16) | (_Fe & 0xff00) | ((_Fe & 0xff0000) >> 16);
- _1e.setUint32(_je, _1b, !0)
- }
- };
- this._Ge = function(_vb, _xb) {
- var _je = _ae(_4c._He, _4c._ve);
- if (_je >= 0) {
- _1e.setFloat32(_je, _vb, !0);
- _1e.setFloat32(_je + 4, _xb, !0)
- }
- };
- this._Ie = function(_f3, _g3, _Cc) {
- var _je = _ae(_4c._Je, _4c._xe);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0);
- _1e.setFloat32(_je + 8, _Cc, !0)
- }
- };
- this._Ke = function(_f3) {
- var _je = _ae( - 1, _4c._Le);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0)
- }
- };
- this._Me = function(_f3, _g3) {
- var _je = _ae( - 1, _4c._ve);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0)
- }
- };
- this._Ne = function(_f3, _g3, _Cc) {
- var _je = _ae( - 1, _4c._xe);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0);
- _1e.setFloat32(_je + 8, _Cc, !0)
- }
- };
- this._Oe = function(_f3, _g3, _Cc, _J3) {
- var _je = _ae( - 1, _4c._Pe);
- if (_je >= 0) {
- _1e.setFloat32(_je, _f3, !0);
- _1e.setFloat32(_je + 4, _g3, !0);
- _1e.setFloat32(_je + 8, _Cc, !0);
- _1e.setFloat32(_je + 12, _J3, !0)
- }
- };
- this._Qe = function(_f3, _g3, _Cc, _J3) {
- var _je = _ae( - 1, _4c._Re);
- if (_je >= 0) {
- _1e.setUint8(_je, _f3, !0);
- _1e.setUint8(_je + 1, _g3, !0);
- _1e.setUint8(_je + 2, _Cc, !0);
- _1e.setUint8(_je + 3, _J3, !0)
- }
- };
- this._Se = function() {
- var _Te = new _wd(_7e, _4e, !1);
- var _Ue = _7e * _4e._le;
- var _Ve = new Int8Array(_0e, 0, _Ue);
- _Te._Jd.set(_Ve);
- _Te._9c += _7e;
- _Te._Se();
- _2e = _Te;
- _3e = !0;
- _0e = null;
- _1e = null
- };
- this._We = function(_Xe, _Ye) {
- if (_3e) {
- _sa._Ze(_Xe, _Ye._vd.__b, _2e, 0)
- } else {
- var _2c = _sa._3c(_Xe, _Ye._vd.__b, _5e, _7e);
- var __e = _2c._9c * _4e._le;
- var _Ve = new Int8Array(_0e, 0, _7e * _4e._le);
- _2c._Jd.set(_Ve, __e);
- _2c._9c += _7e
- }
- }
- }
- var _0f = null;
- function _1f(_2f) {
- var _3f = 0,
- _4f = 0.5;
- var _5f = _2f;
- var _6f = [];
- var _7f = [];
- var _8f = [];
- var _9f = _3f;
- var _af = _4f;
- Object.defineProperties(this, {
- _bf: {
- get: function() {
- return _9f
- },
- set: function(_cf) {
- _9f = _cf
- }
- },
- _df: {
- get: function() {
- return _af
- },
- set: function(_cf) {
- _af = _cf
- }
- }
- });
- this._ef = function() {
- _7f = _6f.slice();
- _8f = _5f.axes.slice();
- var _ff = _5f.buttons;
- if (_ff) {
- for (var _W9 in _ff) {
- if (!_ff.hasOwnProperty(_W9)) continue;
- if (typeof(_ff[_W9]) === "object") {
- _6f[_W9] = _ff[_W9].value
- } else {
- _6f[_W9] = _ff[_W9]
- }
- }
- }
- };
- this._gf = function() {
- if (_5f) {
- return _5f.id || ""
- }
- return ""
- };
- this._hf = function() {
- if (_6f) {
- return _6f.length
- }
- return 0
- };
- this._if = function(_jf) {
- var _kf = _6f[_jf];
- var _lf = _7f[_jf];
- if ((_kf !== undefined) && (_lf !== undefined)) {
- return ((_kf >= _af) && (_lf < _af))
- }
- return ! 1
- };
- this._mf = function(_jf) {
- var _kf = _6f[_jf];
- var _lf = _7f[_jf];
- if ((_kf !== undefined) && (_lf !== undefined)) {
- return ((_kf < _af) && (_lf >= _af))
- }
- return ! 1
- };
- this._nf = function(_jf) {
- var _kf;
- if (typeof(_6f[_jf]) === "object") {
- _kf = _6f[_jf].value
- } else {
- _kf = _6f[_jf]
- }
- if (_kf !== undefined) {
- return (_kf >= _af)
- }
- return ! 1
- };
- this._of = function(_jf) {
- var _kf;
- if (typeof(_6f[_jf]) === "object") {
- _kf = _6f[_jf].value
- } else {
- _kf = _6f[_jf];
- }
- return _kf || 0.0
- };
- this._pf = function() {
- if (_8f) {
- return _8f.length
- }
- return 0
- };
- this._qf = function(_rf, _sf) {
- var _tf = _8f[_rf] || 0;
- if (_9f > 0.0) {
- var _uf = Math.abs(_tf);
- if (_uf < _9f) {
- _tf = 0.0
- } else {
- var _vf = (_tf >= 0) ? 1.0 : -1.0;
- _tf = ((_uf - _9f) / (_sf - _9f)) * _vf
- }
- }
- return _tf
- }
- }
- function _wf() {
- var _xf = 1.0,
- _yf = 1.0;
- var _zf = 0,
- _Af = 1,
- _Bf = 2;
- var _Cf = 0x8000,
- _Df = 0x8001,
- _Ef = 0x8002,
- _Ff = 0x8003,
- _Gf = 0x8004,
- _Hf = 0x8005,
- _If = 0x8006,
- _Jf = 0x8007,
- _Kf = 0x8008,
- _Lf = 0x8009,
- _Mf = 0x800A,
- _Nf = 0x800B,
- _Of = 0x800C,
- _Pf = 0x800D,
- _Qf = 0x800E,
- _Rf = 0x800F,
- _Sf = 0x8010,
- _Tf = 0x8011,
- _Uf = 0x8012,
- _Vf = 0x8013,
- _Wf = 0x8014;
- var _Xf = 0,
- _Yf = 1,
- _Zf = 2,
- __f = 3,
- _0g = 4,
- _1g = 5,
- _2g = 6,
- _3g = 7,
- _4g = 8,
- _5g = 9,
- _6g = 10,
- _7g = 11,
- _8g = 12,
- _9g = 13,
- _ag = 14,
- _bg = 15;
- var _cg = 0,
- _dg = 1,
- _eg = 2,
- _fg = 3;
- function _gg() {
- return !! navigator["getGamepads"] || !!navigator["webkitGetGamepads"] || !!navigator["webkitGamepads"]
- }
- var _hg = _gg() ? _Af: _zf;
- var _ig = [];
- function _jg() {
- if (navigator["getGamepads"]) {
- return navigator["getGamepads"]()
- }
- if (navigator["webkitGetGamepads"]) {
- return navigator["webkitGetGamepads"]()
- }
- if (navigator["webkitGamepads"]) {
- return navigator["webkitGamepads"]();
- }
- return null
- }
- function _kg() {
- var _H3 = 0;
- for (_H3 = 0; _H3 < _ig.length; _H3++) {
- _ig[_H3]._ef()
- }
- }
- function _lg() {
- var _mg = 0;
- var gamepads = _jg();
- if (gamepads !== null) {
- for (_mg = 0; _mg < gamepads.length; ++_mg) {
- var _ng = gamepads[_mg];
- if (!_ng) {
- if (_ig[_mg]) {
- _ig[_mg].splice(_mg, 1)
- }
- } else {
- if (!_ig[_mg]) {
- _ig[_mg] = new _1f(_ng)
- }
- }
- }
- }
- }
- function _og(_jf) {
- if (_jf < _Cf) {
- return _jf
- }
- switch (_jf) {
- case _Df:
- return _Xf;
- case _Ef:
- return _Yf;
- case _Ff:
- return _Zf;
- case _Gf:
- return __f;
- case _Hf:
- return _0g;
- case _If:
- return _1g;
- case _Jf:
- return _2g;
- case _Kf:
- return _3g;
- case _Lf:
- return _4g;
- case _Mf:
- return _5g;
- case _Nf:
- return _6g;
- case _Of:
- return _7g;
- case _Pf:
- return _8g;
- case _Qf:
- return _9g;
- case _Rf:
- return _ag;
- case _Sf:
- return _bg
- }
- return 0
- }
- function _pg(_rf) {
- if (_rf < _Cf) {
- return _rf
- }
- switch (_rf) {
- case _Tf:
- return _cg;
- case _Uf:
- return _dg;
- case _Vf:
- return _eg;
- case _Wf:
- return _fg
- }
- return 0
- }
- function _wf() {}
- this._qg = function() {
- return _ig.length
- };
- this._rg = function(_sg) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._gf()
- }
- return ""
- };
- this._ug = function() {
- return (_hg !== _zf)
- };
- this._df = function(_sg) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._df;
- }
- return 0.0
- };
- this._vg = function(_sg, _wg) {
- var _tg = _ig[_sg];
- if (_tg) {
- if ((_wg >= 0.0) && (_wg <= _xf)) {
- _tg._df = _wg
- }
- }
- };
- this._bf = function(_sg) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._bf
- }
- return 0.0
- };
- this._xg = function(_sg, _yg) {
- var _tg = _ig[_sg];
- if (_tg) {
- if ((_yg >= 0.0) && (_yg <= _yf)) {
- _tg._bf = _yg
- }
- }
- };
- this._zg = function() {
- _ig = []
- };
- this._Ag = function() {
- switch (_hg) {
- case _Af:
- _lg();
- _kg();
- break;
- case _Bf:
- _kg();
- break;
- case _zf:
- default:
- return
- }
- };
- this._Bg = function(_sg) {
- if (_ig[_sg] !== null && _ig[_sg] !== undefined) {
- return ! 0
- }
- return ! 1
- };
- this._hf = function(_sg) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._hf()
- }
- return 0
- };
- this._pf = function(_sg) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._pf()
- }
- return 0
- };
- this._nf = function(_sg, _jf) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._nf(_og(_jf), _tg._df)
- }
- return ! 1
- };
- this._if = function(_sg, _jf) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._if(_og(_jf), _tg._df)
- }
- return ! 1
- };
- this._mf = function(_sg, _jf) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._mf(_og(_jf), _tg._df)
- }
- return ! 1
- };
- this._of = function(_sg, _jf) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._of(_og(_jf))
- }
- return 0;
- };
- this._qf = function(_sg, _rf) {
- var _tg = _ig[_sg];
- if (_tg) {
- return _tg._qf(_pg(_rf), _yf)
- }
- return 0
- }
- };
- var _Cg = [];
- var _Dg = "None";
- var _Eg = 0;
- var _Fg = 0;
- function _Gg() {
- this._f3 = 0;
- this._g3 = 0;
- this._nf = 0;
- this._if = 0;
- this._mf = 0;
- this._Hg = 0
- };
- _Gg.prototype._zg = function() {
- this._nf = 0;
- this._if = 0;
- this._mf = 0;
- this._Hg = 0
- };
- _Gg.prototype._Ig = function(_V8, _W8) {
- if (_H8) {
- var _Jg;
- if (!_H8._Kg) {
- _Jg = _Lg
- } else {
- _Jg = _H8._Mg
- }
- for (_xb = 0; _xb < _Jg.length; _xb++) {
- _Ng = _Jg[_xb];
- if (_Ng._Q3) {
- _Og(canvas, _Pg);
- if (((_V8 - _Pg.left) >= _Ng._Qg) && ((_V8 - _Pg.left) < _Ng._Rg) && ((_W8 - _Pg.top) >= _Ng._Sg) && ((_W8 - _Pg.top) < _Ng._Tg)) {
- this._f3 = _Ng._Ug(_V8);
- this._g3 = _Ng._Vg(_W8);
- return
- }
- }
- }
- }
- this._f3 = _V8;
- this._g3 = _W8
- };
- function log(_Wg) {
- setTimeout(function() {
- throw new _Xg(_Wg)
- },
- 0)
- }
- function _Yg(_Zg) {
- for (var _H3 = 0; _H3 < _Cg.length; _H3++) {
- if (_Cg[_H3] === _Zg) {
- return _H3
- }
- }
- return - 1
- }
- function __g(_Zg) {
- var _0h = -1;
- for (var _H3 = 0; _H3 < _Cg.length; _H3++) {
- if ((_Cg[_H3] === _Zg) || (_Cg[_H3] === -1)) {
- _0h = _H3;
- break
- }
- }
- if (_0h == -1) {
- _0h = _Cg.length
- }
- _Cg[_0h] = _Zg;
- _1h[_0h] = new _Gg();
- return _0h
- }
- var _2h = !1;
- function _3h(event) {
- if (!_2h && (_4h == _5h)) {
- _6h();
- _2h = !0
- }
- for (var _7h = 0; _7h < event.changedTouches.length; _7h++) {
- var _8h = event.changedTouches[_7h];
- var type = "";
- var _0h = -1;
- _Dg = event.type;
- switch (event.type) {
- case "touchstart":
- _0h = __g(_8h["identifier"]);
- break;
- case "touchend":
- _0h = _Yg(_8h["identifier"]);
- _Cg[_0h] = -1;
- break;
- case "touchmove":
- _0h = _Yg(_8h["identifier"]);
- break;
- default:
- return
- }
- var _9h;
- var _ah;
- if (_bh) {
- var _ch = {
- _f3: 0,
- _g3: 0
- };
- _bh(_8h, _ch);
- _9h = _ch._f3;
- _ah = _ch._g3
- } else {
- _9h = _8h.pageX;
- _ah = _8h.pageY
- }
- if (_0h == 0) {
- if (_dh != null) {
- _eh = _9h;
- _fh = _ah
- }
- switch (event.type) {
- case "touchstart":
- _gh = 1;
- break;
- case "touchmove":
- _gh = 1;
- break;
- case "touchend":
- _gh = 0;
- break
- }
- }
- _1h[_0h]._Ig(_9h, _ah);
- _hh[_0h]._f3 = _9h;
- _hh[_0h]._g3 = _ah;
- switch (event.type) {
- case "touchstart":
- _1h[_0h]._nf = 1;
- _hh[_0h]._ih = _jh | _kh | _lh;
- break;
- case "touchend":
- _1h[_0h]._nf = 0;
- _hh[_0h]._ih = 0;
- break;
- case "touchmove":
- default:
- break
- }
- event.preventDefault()
- }
- }
- function _mh() {
- canvas.ontouchstart = _3h;
- canvas.ontouchmove = _3h;
- canvas.ontouchend = _3h;
- canvas.ontouchcancel = _3h
- }
- var _nh, _oh, _ph, _qh, _rh, _sh, _th;
- function _uh(_vh, _wh) {
- this._xh = [];
- this._Od = _vh;
- this._Pd = _wh;
- var _V9 = _vh * _wh;
- for (var _H3 = 0; _H3 < _V9; _H3++) {
- this._xh[_H3] = 0
- }
- }
- _uh.prototype._yh = function(_zh) {
- this._Od = _zh._Od;
- this._Pd = _zh._Pd;
- this._xh = _zh._xh.slice()
- };
- var _Ah = _Bh;
- function _Bh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if (!_Eh) {
- _Xg("Error: invalid ds_grid ID (ds_grid_set)");
- return
- }
- if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) {
- _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")");
- return
- }
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh
- }
- function _Hh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) {
- return
- }
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh
- }
- var _Ih = _Jh;
- function _Jh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if (!_Eh) {
- _Xg("Error: invalid ds_grid ID (ds_grid_set)");
- return _Dh
- }
- if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) {
- _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")");
- return _Dh
- }
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh;
- return _Dh
- }
- function _Kh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) {
- return _Dh
- }
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh;
- return _Dh
- }
- var _Lh = _Mh;
- function _Mh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if (!_Eh) {
- _Xg("Error: invalid ds_grid ID (ds_grid_set)");
- return _Dh
- }
- if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) {
- _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")");
- return _Dh
- }
- var _Nh = _Eh._xh[_V8 + (_W8 * _Eh._Od)];
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh;
- return _Nh
- }
- function _Oh(_Ch, _V8, _W8, _Dh) {
- var _Eh = _Fh._Gh(_Ch);
- if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) {
- return _Dh
- }
- var _Nh = _Eh._xh[_V8 + (_W8 * _Eh._Od)];
- _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh;
- return _Nh
- }
- var _Ph = _Qh;
- function _Qh(_Ch, _V8, _W8) {
- var _Eh = _Fh._Gh(_Ch);
- if (!_Eh) {
- _Xg("Error: invalid ds_grid ID (ds_grid_get)");
- return undefined
- }
- if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) {
- _Xg("Error: grid out of bounds(get) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")");
- return undefined
- }
- return _Eh._xh[_V8 + (_W8 * _Eh._Od)]
- }
- function _Rh(_Ch, _V8, _W8) {
- var _Eh = _Fh._Gh(_Ch);
- if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) {
- return undefined
- }
- return _Eh._xh[_V8 + (_W8 * _Eh._Od)]
- }
- function _Sh() {
- var _R9 = new _Th();
- _R9._Uh = !0;
- return _Vh._Wh(_R9)
- }
- function _Xh(_Ch) {
- var _Yh = _Vh._Gh(_Ch);
- if (_Yh) return _Yh.length;
- _Xg("Error: invalid ds_list ID (ds_list_size)");
- return 0
- }
- function _Zh() {
- var __h = _Zh.arguments;
- var _0i = _Zh.arguments.length;
- var _Yh = _Vh._Gh(__h[0]);
- if (!_Yh) {
- _Xg("Error: invalid ds_list ID (ds_list_add)");
- return
- }
- for (var _H3 = 1; _H3 < _0i; _H3++) {
- _Yh._Wh(__h[_H3])
- }
- return
- }
- function _1i(_Ch, _2i) {
- var _xb;
- var _Yh = _Vh._Gh(_Ch);
- if (_Yh) {
- if (_2i >= 0 && _2i < _Yh._3i.length) {
- _xb = _Yh._3i[_2i];
- if (typeof(_xb) == "object") if (_xb instanceof Array) return _xb;
- else return _xb.Object;
- if (_xb != undefined) return _xb
- }
- _Xg("Error: invalid ds_list position (ds_list_find_value)");
- return 0
- }
- _Xg("Error: invalid ds_list ID (ds_list_find_value)");
- return - 1
- }
- var _4i = 1,
- _5i = 2;
- function _6i(_ce, _7i) {
- this._8i = _ce;
- this.Object = _7i;
- }
- function _9i() {
- var _ai = {};
- var id = _bi._Wh(_ai);
- return id
- }
- function _ci(_Ch) {
- _bi._di(_Ch)
- }
- function _ei(_Ch) {
- var _ai = _bi._Gh(_Ch);
- if (_ai) {
- var _fi = {};
- _bi._gi(_Ch, _fi)
- }
- }
- function _hi(_Ch, _ii) {
- var _ai = _bi._Gh(_Ch);
- if (_ai) {
- if (_ai[_ii] !== undefined) {
- return ! 0
- }
- }
- return ! 1
- }
- function _ji(_Ch, _ii, _Dh) {
- var _ai = _bi._Gh(_Ch);
- if (_ai) {
- if (_ai[_ii] !== undefined) {
- _Xg("Error: KEY(" + _ii + ") already present in ds_map[" + _Ch + "], you can not add a key twice.")
- }
- _ai[_ii] = _Dh
- }
- }
- function _ki(_Ch, _ii) {
- var _ai = _bi._Gh(_Ch);
- if (_ai) {
- if (_ai[_ii] !== undefined) {
- if ((typeof(_ai[_ii]) === "string") || (typeof(_ai[_ii]) === "number") || (_ai[_ii] instanceof Array)) {
- return _ai[_ii]
- }
- var _li = _ai[_ii];
- return _li.Object
- }
- }
- _Xg("Error: Key (" + _ii + ") not found in ds_map[" + _Ch + "]");
- return 0
- }
- function _mi(_Ch, _ii) {
- var _ni = !1;
- var _ai = _bi._Gh(_Ch);
- for (var _oi in _ai) {
- if (_ai.hasOwnProperty(_oi)) {
- if (_ni) {
- return _oi
- }
- if (_oi == _ii) {
- _ni = !0
- }
- }
- }
- return - 1
- }
- function _pi(_Ch) {
- var _ai = _bi._Gh(_Ch);
- for (var _oi in _ai) {
- if (_ai.hasOwnProperty(_oi)) {
- return _oi;
- }
- }
- return - 1
- }
- var NaN = 0x7ff0000000000001;
- function _qi(_ri, _si) {
- var _vf = (_ri >> 31) * 2 + 1;
- var _ti = (_ri >>> 20) & 0x7FF;
- _ri &= 0xFFFFF;
- if (_ti === 0x7FF) return (_ri + _si) ? NaN: _vf / 0;
- _ti ? (_ti -= 1023, _ri |= 0x100000) : _ti = -1022;
- var _ui = _si + (_ri * 4294967296.0);
- return _vf * _ui * Math.pow(2, _ti - 52)
- }
- var _vi = 0;
- var _wi = null;
- function _xi() {
- var _x3 = _wi.length;
- var _Ea = 64 - 8;
- var _si = 0;
- var _ri = 0;
- while (_vi < _x3) {
- var _kb;
- var _I3 = _wi[_vi++];
- if (_I3 == ',' || _I3 == ':') {
- _vi--;
- break
- }
- if (_I3 >= 'A') {
- _kb = ((_I3.charCodeAt() - 65) + 10) << 4
- } else {
- _kb = ((_I3.charCodeAt() - 48) << 4)
- }
- _I3 = _wi[_vi++];
- if (_I3 >= 'A') {
- _kb |= (~~ (_I3.charCodeAt() - 65)) + 10
- } else {
- _kb |= ~~ (_I3.charCodeAt() - 48)
- }
- if (_Ea > 32) {
- _ri |= _kb << (_Ea - 32)
- } else {
- _si |= _kb << (_Ea - 32)
- }
- _Ea -= 8
- }
- return _qi(_ri, _si)
- }
- function _yi() {
- var _x3 = _wi.length;
- var _zi = "";
- while (_vi < _x3) {
- var _kb;
- var _I3 = _wi[_vi++];
- if (_I3 == ',' || _I3 == ':') {
- _vi--;
- break
- }
- if (_I3 >= 'A') {
- _kb = ((_I3.charCodeAt() - 65) + 10) << 4
- } else {
- _kb = ((_I3.charCodeAt() - 48) << 4)
- }
- _I3 = _wi[_vi++];
- if (_I3 >= 'A') {
- _kb |= (_I3.charCodeAt() - 65) + 10
- } else {
- _kb |= (_I3.charCodeAt() - 48)
- }
- _zi += String.fromCharCode(_kb)
- }
- return _zi
- }
- var _Ai = !1;
- function _Bi() {
- var id = 0xF35065da3bb79cac7;
- return id.toString()
- }
- function _Ci() {
- var __h = _Ci.arguments;
- var _0i = _Ci.arguments.length;
- var _Di = _Ei._Gh(__h[0]);
- if (!_Di) {
- _Xg("Error: invalid ds_queue ID (ds_queue_enqueue)");
- return
- }
- for (var _H3 = 1; _H3 < _0i; _H3++) {
- _Di[_Di.length] = __h[_H3]
- }
- return
- }
- function _Fi(_Ch, _Dh) {
- var __h = _Fi.arguments;
- var _0i = _Fi.arguments.length;
- var _Gi = _Hi._Gh(__h[0]);
- if (!_Gi) {
- _Xg("Error: invalid ds_stack ID (ds_stack_push)");
- return
- }
- for (var _H3 = 1; _H3 < _0i; _H3++) {
- _Gi.push(__h[_H3])
- }
- }
- var _Ii = !1;
- var _Ji = 'Trying to stop non-existing sound.',
- _Ki = 'Trying to draw a non-existing sprite.',
- _Li = 'Trying to draw a non-existing background.',
- _Mi = 'Cannot compare arguments.',
- _Ni = 'Trying to replace non-existing resource.',
- _Oi = 'File does not exist.',
- _Pi = 'The particle emitter must first be created.';
- var _Qi = -1,
- _Ri = [],
- _Si = [];
- function _48(_Ti, _Ui) {
- if (_Ii) {
- _Ti._E7(_Ti._H7 + _Ui)
- } else {
- _Ti._E7(_Ui)
- }
- }
- function __7(_Ti, _Ui) {
- if (_Ii) {
- _Ti._F7(_Ti._G7 + _Ui)
- } else {
- _Ti._F7(_Ui)
- }
- }
- function _z7(_Ti) {
- _n7(_Ti)
- }
- function _08(_Ti, _Vi, _V8, _W8) {
- var _Wi = _Xi(_Vi);
- if (!0 != _Yi(_Wi)) {
- debug("Creating existence for non-existent object: " + _Wi.toString());
- return
- }
- var _Zi = null;
- if (!0 == _Ii) {
- _Zi = _H8.__i(_V8 + _Ti._f3, _W8 + _Ti._g3, _Wi)
- } else {
- _Zi = _H8.__i(_V8, _W8, _Wi)
- }
- _Zi._g9(_0j, 0, _Zi, _Zi);
- _Zi._1j = !0
- }
- function _2j(_Sd) {
- _Y6(_Sd)
- }
- var _3j = _2j;
- function _W7(_Ti, _j9, _4j) {
- var _47 = _Xi(_4j);
- var _5j = _Xi(_j9);
- if (!_Ii || (_Ti._6j(_47) < 0)) {
- _Ti._7j(_47, _5j)
- } else {
- _Ti._7j(_47, _Ti._6j(_47) + _5j)
- }
- }
- function _28() {
- var _T9 = 0;
- if (typeof(arguments[0]) != typeof(arguments[1])) {
- if ((typeof(arguments[0] == "boolean") && (typeof(arguments[1]) == "number"))) {
- _T9 = (arguments[0] == !0) ? (1 - arguments[1]) : (0 - arguments[1])
- } else if ((typeof(arguments[1] == "boolean") && (typeof(arguments[0]) == "number"))) {
- _T9 = (arguments[1] == !0) ? (arguments[0] - 1) : (arguments[0] - 0)
- } else {
- debug(_Mi);
- return
- }
- } else {
- if (typeof(arguments[0]) == "string") {
- _T9 = (arguments[0] == arguments[1]) ? 0 : 1
- } else {
- _T9 = arguments[0] - arguments[1]
- }
- }
- var _8j;
- if (_Xi(arguments[2]) == 1) {
- _8j = (_T9 < 0) ? 1 : 0
- } else if (_Xi(arguments[2]) == 2) {
- _8j = (_T9 > 0) ? 1 : 0
- } else if (_Xi(arguments[2]) == 3) {
- _8j = (_T9 <= 0) ? 1 : 0
- } else if (_Xi(arguments[2]) == 4) {
- _8j = (_T9 >= 0) ? 1 : 0
- } else {
- _8j = (_T9 == 0) ? 1 : 0
- }
- return _8j
- }
- function _9j(_Sd) {
- _Y6(_Sd)
- }
- var _aj = _9j;
- function _U7(_bj) {
- _cj()
- }
- function _dj(_ce, _ej, _fj, _gj, _hj, _ij) {
- var type = _Xi(_ce);
- var _jj = _Xi(_ej);
- var _kj = _Xi(_fj);
- var _lj = _Xi(_gj);
- if (_Qi < 0) {
- _Qi = _mj();
- }
- if (_Ri[type] < 0) {
- _Ri[type] = _nj()
- }
- var _oj = _Ri[type];
- if (_jj == 0) {
- _pj(_oj, _kj, _lj)
- } else {
- _qj(_oj, _kj, _lj)
- }
- _rj(_oj, _hj, _ij)
- }
- var _sj = _dj;
- function _D7(_Ti, _tj, _Ui, _uj, _vj) {
- _Ti._wj(_Xi(_tj), _Ui, 1, 0, (_vj >= 0.5) ? !0 : !1, _Xi(_uj))
- }
- function _C7(_Ti, _xj) {
- if (!_Ti) return;
- _yj(_Ti, _xj)
- }
- function _zj(_V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _Cj = _Dj(_vh, _wh);
- var _Ej = _Fj._Gh(_Cj);
- var _Gj = _Ej.getContext('2d');
- _Gj.drawImage(canvas, -_V8, -_W8);
- if (_Aj) {
- _Hj(_Gj, _vh, _wh)
- }
- var _Ij = new _Jj();
- var _Kj = new _Lj();
- _Ij._Mj = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _vh;
- _Kj._K3 = _wh;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _Cj;
- _Kj._Ga = _Ej;
- return _Nj._Oj(_Ij);
- }
- function _Pj(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _Qj = _Fj._Gh(_Ch);
- var _Cj = _Dj(_vh, _wh);
- var _Ej = _Fj._Gh(_Cj);
- var _Gj = _Ej.getContext('2d');
- _Gj.drawImage(_Qj, -_V8, -_W8);
- if (_Aj) {
- _Hj(_Gj, _vh, _wh)
- }
- var _Ij = new _Jj();
- var _Kj = new _Lj();
- _Ij._Mj = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _vh;
- _Kj._K3 = _wh;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _Cj;
- _Kj._Ga = _Ej;
- return _Nj._Oj(_Ij)
- }
- function _Rj(_vh, _wh, _Cd) {
- var _Sj = _Dj(_vh, _wh);
- var _Tj = _Fj._Gh(_Sj);
- var _Gj = _Tj.getContext('2d');
- _Gj.globalAlpha = 1.0;
- _Gj.fillStyle = _Uj(_Dd(_Cd), 1);
- _Gj.fillRect(0, 0, _vh, _wh);
- var _Ij = new _Jj();
- var _Kj = new _Lj();
- _Ij._Mj = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _vh;
- _Kj._K3 = _wh;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _Sj;
- _Kj._Ga = _Tj;
- return _Nj._Oj(_Ij)
- }
- var _Vj = _Rj;
- function _Wj(_U8) {
- var _Ej = _Nj._Xj(_U8);
- if (_Ej) {
- return ({
- _vd: _Ej._Mj._Ga,
- _Ld: _Ej._Mj
- })
- }
- return null
- }
- var _Yj = [];
- var _Zj = 0;
- function __j(_0k, _1k, _G9, _H9, _I9, _J9, _2k, _3k) {
- var _4k = _2k - _G9;
- var _5k = _I9 - _G9;
- var _6k = _0k - _G9;
- var _7k = _3k - _H9;
- var _8k = _J9 - _H9;
- var _9k = _1k - _H9;
- var _ak = (_4k * _4k) + (_7k * _7k);
- var _bk = (_4k * _5k) + (_7k * _8k);
- var _ck = (_4k * _6k) + (_7k * _9k);
- var _dk = (_5k * _5k) + (_8k * _8k);
- var _ek = (_5k * _6k) + (_8k * _9k);
- var _fk = 1.0 / (_ak * _dk - _bk * _bk);
- var _vb = (_dk * _ck - _bk * _ek) * _fk;
- var _xb = (_ak * _ek - _bk * _ck) * _fk;
- return ((_vb >= 0.0) && (_xb >= 0.0) && (_vb + _xb < 1.0))
- }
- function _gk(_hk, _ik, _jk, _kk, _lk) {
- var _mk = (((_hk - _jk) * (_hk - _jk)) + ((_ik - _kk) * (_ik - _kk)));
- if (_mk <= _lk) return ! 0;
- return ! 1
- }
- function _nk() {
- _nc("d3d_start()")
- }
- function _ok() {
- _nc("d3d_end()")
- }
- function _pk(enable) {
- _nc("d3d_set_hidden()")
- }
- function _qk(_rk) {
- _nc("d3d_set_culling()")
- }
- function _sk(_13) {
- _nc("d3d_set_shading()")
- }
- function _tk(_uk) {
- _nc("d3d_set_zwriteenable()")
- }
- function _vk(_R3) {
- _nc("d3d_set_depth()");
- }
- function _wk(_xk, _yk, _zk, alpha) {
- _nc("draw_set_color_write_enable()")
- }
- var _Ak = _wk;
- function _Bk(enable) {
- _nc("d3d_set_shading()")
- }
- function _Ck(_Dk, _Yb, _Zb, _Ek, _1b) {
- _nc("d3d_light_define_direction()")
- }
- function _Fk(_Dk, _f3, _g3, _Cc, _Gk, _1b) {
- _nc("d3d_light_define_point()")
- }
- function _Hk(_Dk, enable) {
- _nc("d3d_light_enable()")
- }
- function _Ik(_b5) {
- _nc("d3d_light_define_ambient()");
- }
- function _Jk(enable, _bb, start, end) {
- _nc("d3d_set_fog()")
- }
- function _Kk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) {
- _nc("d3d_draw_floor()")
- }
- function _Pk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _Qk) {
- _nc("d3d_draw_ellipsoid()")
- }
- function _Rk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) {
- _nc("d3d_draw_block()")
- }
- function _Sk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _c3, _Qk) {
- _nc("d3d_draw_cylinder()")
- }
- function _Tk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _c3, _Qk) {
- _nc("d3d_draw_cone()")
- }
- function _Uk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) {
- _nc("d3d_draw_wall()")
- }
- function _Vk() {
- _nc("d3d_model_create()")
- }
- function _Wk(_Dk) {
- _nc("d3d_model_destroy()")
- }
- function _Xk(_Dk) {
- _nc("d3d_model_clear()")
- }
- function _Yk(_Dk, _Zk) {
- _nc("d3d_model_save()")
- }
- function __k(_Dk, _Zk) {
- _nc("d3d_model_load()")
- }
- function _0l(_Dk, _f3, _g3, _Cc, _pc) {
- _nc("d3d_model_draw()")
- }
- function _1l(_Dk, _b3) {
- _nc("d3d_model_primitive_begin()");
- }
- function _2l(_Dk, _f3, _g3, _Cc) {
- _nc("d3d_model_vertex()")
- }
- function _3l(_Dk, _f3, _g3, _Cc, _1b, alpha) {
- _nc("d3d_model_vertex_color()")
- }
- function _4l(_Dk, _f3, _g3, _Cc, _uc, _vc) {
- _nc("d3d_model_vertex_texture()")
- }
- function _5l(_Dk, _f3, _g3, _Cc, _uc, _vc, _1b, alpha) {
- _nc("d3d_model_vertex_texture_color()")
- }
- function _6l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc) {
- _nc("d3d_model_vertex_normal()")
- }
- function _7l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) {
- _nc("d3d_model_vertex_normal_color()")
- }
- function _8l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) {
- _nc("d3d_model_vertex_normal_texture()")
- }
- function _9l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) {
- _nc("d3d_model_vertex_normal_texture_color()")
- }
- function _al(_Dk) {
- _nc("d3d_model_primitive_end()")
- }
- function _bl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- _nc("d3d_model_block()")
- }
- function _cl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- _nc("d3d_model_cylinder()")
- }
- function _dl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- _nc("d3d_model_cone()")
- }
- function _el(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) {
- _nc("d3d_model_ellipsoid()")
- }
- function _fl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- _nc("d3d_model_wall()")
- }
- function _gl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- _nc("d3d_model_floor()")
- }
- function _hl(enable) {
- _nc("d3d_set_perspective()");
- }
- function _il(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl) {
- _nc("d3d_set_projection()")
- }
- function _sl(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl, _0b, _tl, _ul, _vl) {
- _nc("d3d_set_projection_ext()")
- }
- function _wl(_f3, _g3, _J3, _K3, _0b) {
- _nc("d3d_set_projection_ortho()")
- }
- function _xl(_f3, _g3, _J3, _K3, _0b) {
- _nc("d3d_set_projection_perspective()")
- }
- function _yl() {
- _nc("d3d_transform_set_identity()")
- }
- function _zl(_Al, _Bl, _Cl) {
- _nc("d3d_transform_set_translation()")
- }
- function _Dl(_Za, __a, _El) {
- _nc("d3d_transform_set_scaling()")
- }
- function _Fl(_0b) {
- _nc("d3d_transform_set_rotation_x()")
- }
- function _Gl(_0b) {
- _nc("d3d_transform_set_rotation_y()")
- }
- function _Hl(_0b) {
- _nc("d3d_transform_set_rotation_z()")
- }
- function _Il(_Jl, _Kl, _Ll, _0b) {
- _nc("d3d_transform_set_rotation_axis()")
- }
- function _Ml(_Al, _Bl, _Cl) {
- _nc("d3d_transform_add_translation()")
- }
- function _Nl(_Za, __a, _El) {
- _nc("d3d_transform_add_scaling()")
- }
- function _Ol(_0b) {
- _nc("d3d_transform_add_rotation_x()")
- }
- function _Pl(_0b) {
- _nc("d3d_transform_add_rotation_y()")
- }
- function _Ql(_0b) {
- _nc("d3d_transform_add_rotation_axis()")
- }
- function _Rl(_Jl, _Kl, _Ll, _0b) {
- _nc("d3d_transform_add_rotation_z()")
- }
- function _Sl(_V8, _W8, _Qd) {
- _nc("d3d_transform_vertex()")
- }
- function _Tl(_ce) {
- _nc("matrix_get()")
- }
- function _Ul(_ce, _Vl) {
- _nc("matrix_set()")
- }
- function _Wl(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) {
- _nc("matrix_build()")
- }
- function _2m(_3m, _4m) {
- _nc("matrix_multiply()")
- }
- function _5m() {
- _nc("d3d_transform_stack_clear()")
- }
- function _6m() {
- _nc("d3d_transform_stack_empty()")
- }
- function _7m() {
- _nc("d3d_transform_stack_push()")
- }
- function _8m() {
- _nc("d3d_transform_stack_pop()")
- }
- function _9m() {
- _nc("d3d_transform_stack_top()")
- }
- function _am() {
- _nc("d3d_transform_stack_discard()")
- }
- var _bm = [];
- function _cm() {
- if (!_sa) {
- return
- }
- _nk = _dm;
- _ok = _em;
- _qk = _fm;
- _sk = _gm;
- _tk = _hm;
- _vk = _im;
- _pk = _jm;
- _wk = _km;
- _Ak = _km;
- _hl = _lm;
- _il = _mm;
- _sl = _nm;
- _wl = _om;
- _xl = _pm;
- _yl = _qm;
- _zl = _rm;
- _Dl = _sm;
- _Fl = _tm;
- _Gl = _um;
- _Hl = _vm;
- _Il = _wm;
- _Ml = _xm;
- _Nl = _ym;
- _Ol = _zm;
- _Pl = _Am;
- _Ql = _Bm;
- _Rl = _Cm;
- _Sl = _Dm;
- _5m = _Em;
- _6m = _Fm;
- _7m = _Gm;
- _8m = _Hm;
- _9m = _Im;
- _am = _Jm;
- _Kk = _Km;
- _Pk = _Lm;
- _Rk = _Mm;
- _Sk = _Nm;
- _Tk = _Om;
- _Uk = _Pm;
- _Bk = _Qm;
- _Ck = _Rm;
- _Fk = _Sm;
- _Hk = _Tm;
- _Ik = _Um;
- _Jk = _Vm;
- _Vk = _Wm;
- _Wk = _Xm;
- _Xk = _Ym;
- _Yk = _Zm;
- __k = __m;
- _0l = _0n;
- _1l = _1n;
- _2l = _2n;
- _3l = _3n;
- _4n = _3n;
- _4l = _5n;
- _5l = _6n;
- _7n = _6n;
- _6l = _8n;
- _7l = _9n;
- _8l = _an;
- _9l = _bn;
- _al = _cn;
- _bl = _dn;
- _cl = _en;
- _dl = _fn;
- _el = _gn;
- _fl = _hn;
- _gl = _in;
- _Tl = _jn;
- _Ul = _kn;
- _Wl = _ln;
- _2m = _mn
- }
- function _dm() {
- _nn = !0;
- _sa._on(_pn);
- _sa._qn(_rn);
- _sa._sn(_tn)
- }
- function _em() {
- _nn = !1;
- _sa._on(!1);
- _sa._qn(!1);
- _sa._sn(!1)
- }
- function _fm(_un) {
- _tn = _un > 0.5;
- _sa._sn(_tn)
- }
- function _gm(_Bj) {}
- function _hm(_vn) {
- _rn = (_vn > 0.5);
- _sa._qn(_rn)
- }
- function _im(_wn) {
- if (_nn) {
- _xn = Math.min(16000.0, Math.max( - 16000.0, _wn))
- } else {
- _xn = 0.0
- }
- }
- function _jm(_yn) {
- _pn = (_yn > 0.5);
- _sa._on(_pn)
- }
- function _km(_xk, _yk, _zk, alpha) {
- _zn._xk = (_xk >= 0.5);
- _zn._yk = (_yk >= 0.5);
- _zn._zk = (_zk >= 0.5);
- _zn.alpha = (alpha >= 0.5);
- _sa._An(_zn._xk, _zn._yk, _zn._zk, _zn.alpha)
- }
- function _lm(enable) {}
- function _Qm(_Bn) {
- if (_Cn != _Bn) {
- _Cn = _Bn;
- _sa._Dn(_En())
- }
- }
- function _mm(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl) {
- var _Fn = new _Gn();
- var _Hn = new _In(_jl, _kl, _ll);
- var _Jn = new _In(_ml, _nl, _ol);
- var _Kn = new _In(_pl, _ql, _rl);
- _Fn._Ln(_Hn, _Jn, _Kn);
- _sa._Mn(_Fn)
- }
- function _nm(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl, _0b, _tl, _Nn, _On) {
- var _Fn = new _Gn();
- var _Hn = new _In(_jl, _kl, _ll);
- var _Jn = new _In(_ml, _nl, _ol);
- var _Kn = new _In(_pl, _ql, _rl);
- _Fn._Ln(_Hn, _Jn, _Kn);
- var _Pn = new _Gn();
- _Pn._Qn(_0b, _tl, _Nn, _On);
- _Pn._F9[_Rn] *= _Sn;
- _sa._Mn(_Fn);
- _sa._Tn(_Pn);
- _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn)
- }
- function _om(_f3, _g3, _J3, _K3, _0b) {
- var _Fn = new _Gn();
- var _hc = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), -_J3);
- var _ic = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), 0.0);
- var _jc = new _In(Math.sin( - _0b * (Math.PI / 180.0)), Math.cos( - _0b * (Math.PI / 180.0)), 0.0);
- _Fn._Ln(_hc, _ic, _jc);
- var _Xn = new _Gn();
- _Xn._Yn(_J3, -_K3 * _Sn, 1.0, 32000.0);
- _sa._Mn(_Fn);
- _sa._Tn(_Xn);
- _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn)
- }
- function _pm(_f3, _g3, _J3, _K3, _0b) {
- var _Fn = new _Gn();
- var _hc = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), -_J3);
- var _ic = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), 0.0);
- var _jc = new _In(Math.sin( - _0b * (Math.PI / 180.0)), Math.cos( - _0b * (Math.PI / 180.0)), 0.0);
- _Fn._Ln(_hc, _ic, _jc);
- var _Pn = new _Gn();
- _Pn._Zn(1.0, (_J3 / _K3), 1.0, 32000.0);
- _Pn._F9[_Rn] *= _Sn;
- _sa._Mn(_Fn);
- _sa._Tn(_Pn);
- _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn)
- }
- function _Km(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) {
- var __n = _0o();
- _1o(!0);
- _Ac(_1d, _pc); {
- _Oc(_G9, _H9, _Lk, 0, 0, 1, 0, 0);
- _Oc(_G9, _J9, _Lk, 0, 0, 1, 0, _Ok);
- _Oc(_I9, _J9, _Mk, 0, 0, 1, _Nk, _Ok);
- _Oc(_I9, _H9, _Mk, 0, 0, 1, _Nk, 0)
- }
- _Rc();
- _1o(__n)
- }
- function _Lm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _Qk) {
- var __n = _0o();
- _1o(!0);
- if (_Qk < 3) {
- _Qk = 3
- }
- if (_Qk > 128) {
- _Qk = 128
- }
- var _ma = [];
- var _la = [];
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk);
- _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk)
- }
- var _ga = (_I9 + _G9) / 2,
- _ha = (_J9 + _H9) / 2,
- _4o = (_Mk + _Lk) / 2,
- _5o = (_I9 - _G9) / 2,
- _6o = (_J9 - _H9) / 2,
- _7o = (_Mk - _Lk) / 2;
- var _8o = (_Qk + 1) / 2;
- for (var __9 = 0; __9 < _8o; __9++) {
- var _9o = Math.cos(__9 * Math.PI / _8o),
- _ao = Math.sin(__9 * Math.PI / _8o),
- _bo = Math.cos((__9 + 1) * Math.PI / _8o),
- _co = Math.sin((__9 + 1) * Math.PI / _8o);
- _Ac(_0d, _pc);
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _Oc(_ga + _5o * _ao * _ma[_H3], _ha + _6o * _ao * _la[_H3], _4o + _7o * _9o, _ao * _ma[_H3], _ao * _la[_H3], _9o, _2o * _H3 / _Qk, __9 * _3o / _8o);
- _Oc(_ga + _5o * _co * _ma[_H3], _ha + _6o * _co * _la[_H3], _4o + _7o * _bo, _co * _ma[_H3], _co * _la[_H3], _bo, _2o * _H3 / _Qk, (__9 + 1) * _3o / _8o)
- }
- _Rc();
- }
- _1o(__n)
- }
- function _Mm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o) {
- var __n = _0o();
- _1o(!0);
- _Ac(__c, _pc); {
- _Oc(_G9, _H9, _Lk, 0, 0, -1, 0, 0);
- _Oc(_G9, _J9, _Lk, 0, 0, -1, 0, _3o);
- _Oc(_I9, _J9, _Lk, 0, 0, -1, _2o, _3o);
- _Oc(_I9, _J9, _Lk, 0, 0, -1, _2o, _3o);
- _Oc(_I9, _H9, _Lk, 0, 0, -1, _2o, 0);
- _Oc(_G9, _H9, _Lk, 0, 0, -1, 0, 0)
- } {
- _Oc(_G9, _H9, _Mk, 0, 0, 1, 0, 0);
- _Oc(_I9, _H9, _Mk, 0, 0, 1, _2o, 0);
- _Oc(_I9, _J9, _Mk, 0, 0, 1, _2o, _3o);
- _Oc(_I9, _J9, _Mk, 0, 0, 1, _2o, _3o);
- _Oc(_G9, _J9, _Mk, 0, 0, 1, 0, _3o);
- _Oc(_G9, _H9, _Mk, 0, 0, 1, 0, 0)
- } {
- _Oc(_G9, _J9, _Lk, 0, 1, 0, 0, 0);
- _Oc(_G9, _J9, _Mk, 0, 1, 0, 0, _3o);
- _Oc(_I9, _J9, _Mk, 0, 1, 0, _2o, _3o);
- _Oc(_I9, _J9, _Mk, 0, 1, 0, _2o, _3o);
- _Oc(_I9, _J9, _Lk, 0, 1, 0, _2o, 0);
- _Oc(_G9, _J9, _Lk, 0, 1, 0, 0, 0)
- } {
- _Oc(_I9, _J9, _Lk, 1, 0, 0, 0, 0);
- _Oc(_I9, _J9, _Mk, 1, 0, 0, 0, _3o);
- _Oc(_I9, _H9, _Mk, 1, 0, 0, _2o, _3o);
- _Oc(_I9, _H9, _Mk, 1, 0, 0, _2o, _3o);
- _Oc(_I9, _H9, _Lk, 1, 0, 0, _2o, 0);
- _Oc(_I9, _J9, _Lk, 1, 0, 0, 0, 0)
- } {
- _Oc(_I9, _H9, _Lk, 0, -1, 0, 0, 0);
- _Oc(_I9, _H9, _Mk, 0, -1, 0, 0, _3o);
- _Oc(_G9, _H9, _Mk, 0, -1, 0, _2o, _3o);
- _Oc(_G9, _H9, _Mk, 0, -1, 0, _2o, _3o);
- _Oc(_G9, _H9, _Lk, 0, -1, 0, _2o, 0);
- _Oc(_I9, _H9, _Lk, 0, -1, 0, 0, 0)
- } {
- _Oc(_G9, _H9, _Lk, -1, 0, 0, 0, 0);
- _Oc(_G9, _H9, _Mk, -1, 0, 0, 0, _3o);
- _Oc(_G9, _J9, _Mk, -1, 0, 0, _2o, _3o);
- _Oc(_G9, _J9, _Mk, -1, 0, 0, _2o, _3o);
- _Oc(_G9, _J9, _Lk, -1, 0, 0, _2o, 0);
- _Oc(_G9, _H9, _Lk, -1, 0, 0, 0, 0)
- }
- _Rc();
- _1o(__n)
- }
- function _Nm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _c3, _Qk) {
- var _ma = [];
- var _la = [];
- var __n = _0o();
- _1o(!0);
- if (_Qk < 3) {
- _Qk = 3
- }
- if (_Qk > 128) {
- _Qk = 128
- }
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk);
- _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk)
- }
- var _ga = (_I9 + _G9) / 2.0;
- var _ha = (_J9 + _H9) / 2.0;
- var _5o = (_I9 - _G9) / 2.0;
- var _6o = (_J9 - _H9) / 2.0;
- if (!0 == _c3) {
- _Ac(_1d, _pc);
- _Oc(_ga, _ha, _Mk, 0, 0, 1, 0, _3o);
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Mk, 0, 0, 1, 0, _3o)
- }
- _Rc()
- }
- _Ac(_0d, _pc);
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Mk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, _3o);
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, 0)
- }
- _Rc();
- if (!0 == _c3) {
- _Ac(_1d, _pc);
- _Oc(_ga, _ha, _Lk, 0, 0, -1, 0, 0);
- for (var _H3 = _Qk; _H3 >= 0; _H3--) {
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, 0, 0, -1, 0, 0)
- }
- _Rc()
- }
- _1o(__n)
- }
- function _Om(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _c3, _Qk) {
- var _ma = [];
- var _la = [];
- var __n = _0o();
- _1o(!0);
- if (_Qk < 3) {
- _Qk = 3
- }
- if (_Qk > 128) {
- _Qk = 128
- }
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk);
- _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk)
- }
- var _ga = (_I9 + _G9) / 2.0;
- var _ha = (_J9 + _H9) / 2.0;
- var _5o = (_I9 - _G9) / 2.0;
- var _6o = (_J9 - _H9) / 2.0;
- _Ac(_0d, _pc);
- for (var _H3 = 0; _H3 <= _Qk; _H3++) {
- _Oc(_ga, _ha, _Mk, 0, 0, 1, _2o * _H3 / _Qk, _3o);
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, 0)
- }
- _Rc();
- if (!0 == _c3) {
- _Ac(_1d, _pc);
- _Oc(_ga, _ha, _Lk, 0, 0, -1, 0, 0);
- for (var _H3 = _Qk; _H3 >= 0; _H3--) {
- _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, 0, 0, -1, 0, 0)
- }
- _Rc()
- }
- _1o(__n)
- }
- function _Pm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o) {
- var __n = _0o();
- _1o(!0);
- var _R9 = Math.sqrt(_do(_I9 - _G9) + _do(_J9 - _H9));
- if (_R9 == 0.0) {
- return
- }
- var _Jc = (_J9 - _H9) / _R9;
- var _Kc = -(_I9 - _G9) / _R9;
- _Ac(_1d, _pc); {
- _Oc(_G9, _H9, _Lk, _Jc, _Kc, 0, 0, 0);
- _Oc(_I9, _J9, _Lk, _Jc, _Kc, 0, _2o, 0);
- _Oc(_I9, _J9, _Mk, _Jc, _Kc, 0, _2o, _3o);
- _Oc(_G9, _H9, _Mk, _Jc, _Kc, 0, 0, _3o)
- }
- _Rc();
- _1o(__n)
- }
- function _Rm(_Dk, _Yb, _Zb, _Ek, _1b) {
- var _eo = new _In(_Yb, _Zb, _Ek);
- _eo._fo();
- var _go = _Dk * 4;
- _ho[_go + 0] = _eo._io;
- _ho[_go + 1] = _eo._jo;
- _ho[_go + 2] = _eo._ko;
- _ho[_go + 3] = 0.0;
- _lo[_go + 0] = ((_1b >> 0) & 0xff) / 255.0;
- _lo[_go + 1] = ((_1b >> 8) & 0xff) / 255.0;
- _lo[_go + 2] = ((_1b >> 16) & 0xff) / 255.0;
- _lo[_go + 3] = ((_1b >> 24) & 0xff) / 255.0;
- _mo[_go + 0] = 0;
- _mo[_go + 1] = 0;
- _mo[_go + 2] = 0;
- _mo[_go + 3] = 0;
- _sa._no(_Dk, _mo.subarray(_Dk * 4, (_Dk + 1) * 4), _ho.subarray(_Dk * 4, (_Dk + 1) * 4), _lo.subarray(_Dk * 4, (_Dk + 1) * 4))
- }
- function _Sm(_Dk, _f3, _g3, _Cc, _Gk, _1b) {
- var _go = _Dk * 4;
- _mo[_go + 0] = _f3;
- _mo[_go + 1] = _g3;
- _mo[_go + 2] = _Cc;
- _mo[_go + 3] = _Gk;
- _lo[_go + 0] = ((_1b >> 0) & 0xff) / 255.0;
- _lo[_go + 1] = ((_1b >> 8) & 0xff) / 255.0;
- _lo[_go + 2] = ((_1b >> 16) & 0xff) / 255.0;
- _lo[_go + 3] = ((_1b >> 24) & 0xff) / 255.0;
- _ho[_go + 0] = 0;
- _ho[_go + 1] = 0;
- _ho[_go + 2] = 0;
- _ho[_go + 3] = 0;
- _sa._no(_Dk, _mo.subarray(_Dk * 4, (_Dk + 1) * 4), _ho.subarray(_Dk * 4, (_Dk + 1) * 4), _lo.subarray(_Dk * 4, (_Dk + 1) * 4))
- }
- function _Tm(_Dk, enable) {
- _oo[_Dk] = enable;
- _sa._po(_Dk, enable, _lo.subarray(_Dk * 4, (_Dk + 1) * 4))
- }
- function _Um(_b5) {
- _qo[0] = ((_b5 >> 0) & 0xff) / 255.0;
- _qo[1] = ((_b5 >> 8) & 0xff) / 255.0;
- _qo[2] = ((_b5 >> 16) & 0xff) / 255.0;
- _qo[3] = ((_b5 >> 24) & 0xff) / 255.0;
- _sa._ro(_qo)
- }
- function _Vm(enable, _b5, start, end) {
- if (_so == null) {
- _so = new Float32Array(8)
- }
- _so[0] = enable;
- var _Gk = end - start;
- _so[1] = (_Gk == 0.0) ? 0.0 : (1.0 / _Gk);
- _so[2] = end;
- _so[3] = 0.0;
- _so[4] = ((_b5 >> 0) & 0xff) / 255.0;
- _so[5] = ((_b5 >> 8) & 0xff) / 255.0;
- _so[6] = ((_b5 >> 16) & 0xff) / 255.0;
- _so[7] = ((_b5 >> 24) & 0xff) / 255.0;
- _sa._to(_so)
- }
- function _Wm() {
- return (_bm.push(new _uo()) - 1)
- }
- function _Xm(_Dk) {
- if (_bm[_Dk]) {
- _bm[_Dk] = null
- }
- }
- function _Ym(_Dk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._zg()
- }
- }
- function _Zm(_Dk, _Zk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._vo(_Zk)
- }
- }
- function __m(_Dk, _Zk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Ia(_Zk)
- }
- }
- function _0n(_Dk, _f3, _g3, _Cc, _pc) {
- if (_bm[_Dk]) {
- _bm[_Dk]._6b(_f3, _g3, _Cc, _pc)
- }
- }
- function _1n(_Dk, _b3) {
- if (_bm[_Dk]) {
- _bm[_Dk]._qe(_b3)
- }
- }
- function _2n(_Dk, _f3, _g3, _Cc) {
- if (_bm[_Dk]) {
- _bm[_Dk]._wo(_f3, _g3, _Cc)
- }
- }
- function _3n(_Dk, _f3, _g3, _Cc, _1b, alpha) {
- if (_bm[_Dk]) {
- _bm[_Dk]._xo(_f3, _g3, _Cc, _1b, alpha)
- }
- }
- function _5n(_Dk, _f3, _g3, _Cc, _uc, _vc) {
- if (_bm[_Dk]) {
- _bm[_Dk]._yo(_f3, _g3, _Cc, _uc, _vc)
- }
- }
- function _6n(_Dk, _f3, _g3, _Cc, _uc, _vc, _1b, alpha) {
- if (_bm[_Dk]) {
- _bm[_Dk]._zo(_f3, _g3, _Cc, _uc, _vc, _1b, alpha)
- }
- }
- function _8n(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Ao(_f3, _g3, _Cc, _Jc, _Kc, _Lc)
- }
- }
- function _9n(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Bo(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha)
- }
- }
- function _an(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Co(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc)
- }
- }
- function _bn(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Do(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha)
- }
- }
- function _cn(_Dk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._se()
- }
- }
- function _dn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Eo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok)
- }
- }
- function _en(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Fo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk)
- }
- }
- function _fn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Go(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk)
- }
- }
- function _gn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Ho(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk)
- }
- }
- function _hn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Io(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok)
- }
- }
- function _in(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- if (_bm[_Dk]) {
- _bm[_Dk]._Jo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok)
- }
- }
- function _qm() {
- _Ko(_Lo, new _Gn())
- }
- function _rm(_Al, _Bl, _Cl) {
- var _F9 = new _Gn();
- _F9._Mo(_Al, _Bl, _Cl);
- _Ko(_Lo, _F9)
- }
- function _sm(_Za, __a, _El) {
- var _F9 = new _Gn();
- _F9._No(_Za, __a, _El);
- _Ko(_Lo, _F9)
- }
- function _tm(_0b) {
- var _F9 = new _Gn();
- _F9._Oo(_0b);
- _Ko(_Lo, _F9)
- }
- function _um(_0b) {
- var _F9 = new _Gn();
- _F9._Po(_0b);
- _Ko(_Lo, _F9)
- }
- function _vm(_0b) {
- var _F9 = new _Gn();
- _F9._Qo(_0b);
- _Ko(_Lo, _F9)
- }
- function _wm(_Jl, _Kl, _Ll, _0b) {
- var _F9 = new _Gn();
- _F9._Ro(new _In(_Jl, _Kl, _Ll), -_0b);
- _Ko(_Lo, _F9)
- }
- function _xm(_Al, _Bl, _Cl) {
- var _So = new _Gn();
- _So._Mo(_Al, _Bl, _Cl);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _So);
- _Ko(_Lo, _F9)
- }
- function _ym(_Za, __a, _El) {
- var _Wo = new _Gn();
- _Wo._No(_Za, __a, _El);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _Wo);
- _Ko(_Lo, _F9)
- }
- function _zm(_0b) {
- var _Xo = new _Gn();
- _Xo._Oo(_0b);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _Xo);
- _Ko(_Lo, _F9)
- }
- function _Am(_0b) {
- var _Xo = new _Gn();
- _Xo._Po(_0b);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _Xo);
- _Ko(_Lo, _F9)
- }
- function _Bm(_0b) {
- var _Xo = new _Gn();
- _Xo._Qo(_0b);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _Xo);
- _Ko(_Lo, _F9)
- }
- function _Cm(_Jl, _Kl, _Ll, _0b) {
- var _Xo = new _Gn();
- _Xo._Ro(new _In(_Jl, _Kl, _Ll), -_0b);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_To, _Xo);
- _Ko(_Lo, _F9)
- }
- function _Dm(_V8, _W8, _Qd) {
- var _To = _Uo(_Lo);
- var _0a = (_To._F9[_Yo] * _V8) + (_To._F9[_Zo] * _W8) + (_To._F9[__o] * _Qd) + _To._F9[_0p];
- var _2a = (_To._F9[_1p] * _V8) + (_To._F9[_Rn] * _W8) + (_To._F9[_2p] * _Qd) + _To._F9[_3p];
- var _4p = (_To._F9[_5p] * _V8) + (_To._F9[_6p] * _W8) + (_To._F9[_7p] * _Qd) + _To._F9[_8p];
- var _T9 = [];
- _T9[0] = _0a;
- _T9[1] = _2a;
- _T9[2] = _4p;
- return _T9
- }
- function _Em() {
- _9p()
- }
- function _Fm() {
- return _ap()
- }
- function _Gm() {
- var _To = _Uo(_Lo);
- return _bp(_To)
- }
- function _Hm() {
- return _cp()
- }
- function _Im() {
- return _dp()
- }
- function _Jm() {
- return _ep()
- }
- function _jn(_ce) {
- var _F9 = [];
- if (_ce < 0 || _ce > 2) {
- _Xg('ERROR: Invalid matrix type (matrix_get)');
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _F9[_H3] = 0
- }
- return _F9
- }
- var _fp = _gp[_ce];
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _F9[_H3] = _fp._F9[_H3]
- }
- return _F9
- }
- function _kn(_ce, _Vl) {
- var _F9 = [];
- if (_ce < 0 || _ce > 2) {
- _Xg('ERROR: Invalid matrix type (matrix_get)');
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _F9[_H3] = 0
- }
- return _F9
- }
- var _F9 = new _Gn();
- var _fp = _gp[_ce];
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _F9._F9[_H3] = _Vl[_H3]
- }
- _Ko(_ce, _F9)
- }
- function _ln(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) {
- var _F9 = new _Gn();
- var _hp = (Math.PI / 180.0);
- _Xl = (_hp * -_Xl);
- _Yl = (_hp * -_Yl);
- _Zl = (_hp * -_Zl);
- _F9._ip(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m);
- var _fp = [];
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _fp[_H3] = _F9._F9[_H3]
- }
- return _fp
- }
- function _mn(_jp, _kp) {
- var _lp = new _Gn();
- var _mp = new _Gn();
- var _np = new _Gn();
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _lp._F9[_H3] = _jp[_H3];
- _mp._F9[_H3] = _kp[_H3]
- }
- _np._Vo(_lp, _mp);
- var _fp = [];
- for (var _H3 = 0; _H3 < 16; _H3++) {
- _fp[_H3] = _np._F9[_H3]
- }
- return _fp
- }
- var _op = 1970;
- var _pp = 0;
- var _qp = 1;
- var _rp = 365.25;
- var _sp = 30.4375;
- var _tp = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
- var _up = [];
- var _vp = (86400.0);
- var _wp = (_vp * 30);
- var _xp = !0;
- var _yp = 0;
- var _zp = 1;
- function _Ap(_Bp) {
- if (_Bp < _Cp) {
- return _Bp * _Dp
- } else {
- return (_Bp - _Cp) * _Dp
- }
- }
- function _Ep(_Fp) {
- return _Fp % 400 == 0 || (_Fp % 100 != 0 && _Fp % 4 == 0)
- }
- function _Gp(_Fp) {
- var _Hp = _tp.slice();;
- if (_Ep(_Fp)) {
- _Hp[1] = 29
- }
- return _Hp
- }
- var _Dp = 86400000.0;
- var _Cp = 25569;
- function _Ip(_Jp) {
- return ((_Jp < 10) ? "0": "") + _Jp.toString()
- }
- var _Kp = [];
- var _Lp = [];
- var _Mp = [];
- var _Np = Date.now();
- var _Op = 0;
- var _Pp = 1;
- var _Qp = 2;
- var _Rp = 3;
- var _Sp = function(text) {
- if (!text) return;
- if (_Tp) {
- if (!_Up) return;
- var _ge = _Up.document.getElementById('debug_console');
- if (!_ge) return;
- var _Vp = String.fromCharCode(0x0a);
- text = text.replace('<b>', '').replace('</b>', '');
- var _Wp = Date.now() - _Np;
- if (!_ge) {
- alert(text)
- } else {
- _ge.value += text + _Vp;
- var _Xp = _ge.textLength;
- }
- _Np = Date.now()
- }
- if (_Yp != undefined) {
- if (_Yp._A5._O5) console.log(text)
- }
- };
- function debug() {
- var index;
- for (index = 0; index < arguments.length; ++index) {
- _Sp(arguments[index])
- }
- }
- function _Xg() {
- var index;
- for (index = 0; index < arguments.length; ++index) {
- _Sp(arguments[index])
- }
- }
- function _Zp(__p) {
- if (!_Mp[__p]) {
- _Mp[__p] = !0;
- _0q(__p)
- }
- }
- function _nc(__p) {
- if (!_Kp[__p]) {
- _Kp[__p] = !0;
- var _1q = "Error: function " + __p + " is not supported.";
- debug(_1q)
- }
- }
- function _2q(__p) {
- if (!_Kp[__p]) {
- _Kp[__p] = !0;
- var _1q = "Error: function " + __p + " is not yet implemented";
- debug(_1q)
- }
- }
- function _3q(__p) {
- if (!_Lp[__p]) {
- _Lp[__p] = !0;
- var _1q = "Warning: function " + __p;
- debug(_1q)
- }
- }
- function _4q(_5q) {
- var _6q = _7q._8q(_5q, -1);
- var _Vp = String.fromCharCode(0x0a);
- var _9q = "";
- for (var _H3 = 0; _H3 < _6q.length; _H3++) {
- if (_H3 != 0) _9q = _9q + _Vp;
- _9q += _6q[_H3]
- }
- return _9q
- }
- function _aq(_bq) {
- var _19 = document.getElementById(_cq);
- var _dq = _19.parentNode;
- var _eq = document.createElement("div");
- _fq = "gm4html5_login_ID";
- _eq.setAttribute("class", "gm4html5_login");
- _eq.setAttribute("id", _fq);
- _dq.insertBefore(_eq, _19.nextSibling);
- _eq.innerHTML = "<div class=\"gm4html5_login_header\">Login</div>" + "<table>" + "<tr>" + "<td><label for=\"username\" id=\"gm4html5_login_label_username_id\">Username:</label></td>" + "<td><input type=\"text\" id=\"gm4html5_login_username_id\" value=\"username\" /></td>" + "</tr>" + "<tr>" + "<td><label for=\"password\" id=\"gm4html5_login_label_password_id\">Password:</label></td>" + "<td><input type=\"password\" id=\"gm4html5_login_password_id\" value=\"password\" /></td>" + "</tr>" + "</table>" + "<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"Login\" id=\"gm4html5_login_button_id\"/></div>" + "<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_cancel_button_id\" /></div>";
- _gq();
- _hq = !0;
- var login = document.getElementById("gm4html5_login_button_id");
- var _iq = document.getElementById("gm4html5_login_username_id");
- var _jq = document.getElementById("gm4html5_login_password_id");
- _iq.value = _bq._kq[0];
- _jq.value = _bq._kq[1];
- login.onmouseup = function() {
- var _lq = _iq.value;
- var _mq = _jq.value;
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = _lq;
- _nq._mq = _mq;
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = _rq;
- _dq.removeChild(_eq);
- _hq = !1;
- _sq();
- _tq(_bq.id)
- };
- var _uq = document.getElementById("gm4html5_cancel_button_id");
- _uq.onmouseup = function() {
- _dq.removeChild(_eq);
- _hq = !1;
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = _vq;
- _sq();
- _tq(_bq.id)
- };
- _wq();
- _xq._Wh(_bq.id, null, _yq, _fq)
- }
- function _zq(_bq) {
- var _19 = document.getElementById(_cq);
- var _dq = _19.parentNode;
- var _eq = document.createElement("div");
- _fq = "gm4html5_input_ID";
- _eq.setAttribute("class", "gm4html5_login");
- _eq.setAttribute("id", _fq);
- _dq.insertBefore(_eq, _19.nextSibling);
- _eq.innerHTML = "<table>" + "<tr>" + "<td><label for=\"username\" id=\"gm4html5_input_message_id\">Message</label></td>" + "</tr>" + "<tr>" + "<td><input type=\"text\" id=\"gm4html5_input_text_id\" value=\"text\" /></td>" + "</tr>" + "</table>" + "<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_input_ok_button_id\"/></div>" + "<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"Cancel\" id=\"gm4html5_input_cancel_button_id\" /></div>";
- _gq();
- _hq = !0;
- var _Aq = document.getElementById("gm4html5_input_message_id");
- var _Bq = document.getElementById("gm4html5_input_text_id");
- _Aq.innerHTML = _bq._kq[0];
- _Bq.value = _bq._kq[1];
- var _Cq = document.getElementById("gm4html5_input_ok_button_id");
- _Cq.onmouseup = function() {
- var text = _Bq.value;
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = parseFloat(text);
- _nq._8j = text;
- _nq._pq = !0;
- _nq._qq = _rq;
- _dq.removeChild(_eq);
- _hq = !1;
- _sq();
- _tq(_bq.id)
- };
- var _uq = document.getElementById("gm4html5_input_cancel_button_id");
- _uq.onmouseup = function() {
- _dq.removeChild(_eq);
- _hq = !1;
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = _vq;
- _sq();
- _tq(_bq.id)
- };
- _wq();
- _xq._Wh(_bq.id, null, _yq, _fq)
- }
- function _Dq(_bq) {
- var _19 = document.getElementById(_cq);
- var _dq = _19.parentNode;
- var _eq = document.createElement("div");
- _fq = "gm4html5_question_ID";
- _eq.setAttribute("class", "gm4html5_login");
- _eq.setAttribute("id", _fq);
- _dq.insertBefore(_eq, _19.nextSibling);
- _eq.innerHTML = "<table>" + "<tr>" + "<td><label for=\"username\" id=\"gm4html5_question_message_id\">Message</label></td>" + "</tr>" + "</table>" + "<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"Yes\" id=\"gm4html5_question_yes_button_id\"/></div>" + "<div class=\"gm4html5_cancel_button\"><input type=\"button\" value=\"No\" id=\"gm4html5_question_no_button_id\" /></div>";
- _gq();
- _hq = !0;
- var _Eq = document.getElementById("gm4html5_question_message_id");
- _Eq.innerHTML = _bq._kq[0];
- var _Cq = document.getElementById("gm4html5_question_yes_button_id");
- _Cq.onmouseup = function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 1;
- _nq._8j = "1";
- _nq._pq = !0;
- _nq._qq = _rq;
- _dq.removeChild(_eq);
- _hq = !1;
- _sq();
- _tq(_bq.id)
- };
- var _uq = document.getElementById("gm4html5_question_no_button_id");
- _uq.onmouseup = function() {
- _dq.removeChild(_eq);
- _hq = !1;
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "0";
- _nq._pq = !0;
- _nq._qq = _vq;
- _sq();
- _tq(_bq.id)
- };
- _wq();
- _xq._Wh(_bq.id, null, _yq, _fq)
- }
- function _Fq(_bq) {
- var _19 = document.getElementById(_cq);
- var _dq = _19.parentNode;
- var _eq = document.createElement("div");
- _fq = "gm4html5_message_ID";
- _eq.setAttribute("class", "gm4html5_login");
- _eq.setAttribute("id", _fq);
- _dq.insertBefore(_eq, _19.nextSibling);
- _eq.innerHTML = "<table>" + "<tr>" + "<td><label for=\"username\" id=\"gm4html5_message_message_id\">Message</label></td>" + "</tr>" + "</table>" + "<div class=\"gm4html5_login_button\"><input type=\"button\" value=\"OK\" id=\"gm4html5_message_ok_button_id\"/></div>";
- _gq();
- _hq = !0;
- var _Eq = document.getElementById("gm4html5_message_message_id");
- _Eq.innerHTML = _bq._kq[0];
- var _Cq = document.getElementById("gm4html5_message_ok_button_id");
- _Cq.onmouseup = function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 1;
- _nq._8j = "1";
- _nq._pq = !0;
- _nq._qq = 1;
- _dq.removeChild(_eq);
- _hq = !1;
- _sq();
- _tq(_bq.id)
- };
- _wq();
- _xq._Wh(_bq.id, null, _yq, _fq)
- }
- function _Gq() {
- if (_Hq.length > 0) {
- switch (_Hq[0].type) {
- case _Op:
- _aq(_Hq[0]);
- break;
- case _Pp:
- _zq(_Hq[0]);
- break;
- case _Qp:
- _Dq(_Hq[0]);
- break;
- case _Rp:
- _Fq(_Hq[0]);
- break
- }
- }
- }
- function _tq(_Ch) {
- var index = -1;
- for (var _H3 = 0; _H3 < _Hq.length; ++_H3) {
- if (_Hq[_H3].id == _Ch) {
- index = _H3;
- break
- }
- }
- if (index >= 0) {
- _Hq.splice(index, 1)
- }
- _Gq()
- }
- function _wq() {
- if (_hq) {
- var login = document.getElementById(_fq);
- var _J3 = login.offsetWidth;
- var _K3 = login.offsetHeight;
- var _0a = (canvas.width - _J3) / 2;
- var _2a = (canvas.height - _K3) / 2;
- _Pg = new _Iq();
- _Og(canvas, _Pg);
- login.style.left = ~~ (_0a + _Pg.left) + "px";
- login.style.top = ~~ (_2a + _Pg.top) + "px"
- }
- }
- function _Jq(_Kq) {
- return _Kq.substr(0, _Kq.indexOf("("))
- }
- function _0q(_Lq) {
- var _Mq = arguments.callee.caller;
- var _zi = "Error: " + _Lq + _Nq(13) + "--------------------------------------------------------------------" + _Nq(13);
- while (_Mq) {
- var name = _Nq(9) + _Jq(_Mq.toString());
- _zi += name + '(';
- for (var _H3 = 0; _H3 < _Mq.arguments.length; _H3++) {
- if (_H3 != 0) {
- _zi += ', '
- }
- if (typeof _Mq.arguments[_H3] == "string") {
- _zi += '"' + _Mq.arguments[_H3].toString() + '"'
- } else if (typeof _Mq.arguments[_H3] == "number") {
- _zi += _Mq.arguments[_H3].toString()
- } else {
- if (_Mq.arguments[_H3] == undefined) {
- _zi += "[undefined]"
- } else if (_Mq.arguments[_H3] == null) {
- _zi += "[null]"
- } else if (_Mq.arguments[_H3].__type) {
- _zi += _Mq.arguments[_H3].__type
- } else {
- _zi += "[unknown]"
- }
- }
- }
- _zi += ')' + _Nq(13);
- _Mq = _Mq.caller
- }
- debug(_zi)
- }
- var _Oq = 3;
- var _Pq = -1;
- var _Qq = "IDLE";
- var _Rq = "PROCESSING";
- var _Sq = "AUTHORISED";
- var _Tq = "FAILED";
- var _Uq = [];
- var _Vq;
- var _Wq = 0;
- var g_fbOAuthToken = "";
- function _Xq() {
- FB.api('/me/permissions',
- function(response) {
- debug("fbQueryPermissions response:");
- try {
- var text = JSON.stringify(response);
- debug(text)
- } catch(e) {}
- _Uq = [];
- var data = response["data"];
- if (data != undefined) {
- var length = data.length;
- for (_H3 = 0; _H3 < length; _H3++) {
- var _oi = data[_H3];
- var _Yq = _oi["permission"];
- var status = _oi["status"];
- if (_Yq != undefined && status == "granted") {
- _Uq.push(_Yq)
- }
- }
- }
- debug("current permissions: " + _Uq)
- })
- }
- function _Zq(response) {
- try {
- var text = JSON.stringify(response);
- debug("facebook login response:");
- debug(text)
- } catch(e) {}
- if (response.status === 'connected') {
- __q = response.authResponse.userID;
- g_fbOAuthToken = response.authResponse.accessToken;
- _0r = _Sq;
- _Xq()
- } else if (response.status === 'not_authorized') {
- _0r = 'DENIED'
- } else {
- _0r = _Tq
- }
- }
- var _1r = {
- appId: 0,
- status: !0,
- cookie: !0,
- xfbml: !0,
- version: 'v2.0'
- };
- function _2r() {
- _1r.appId = g_fbAppId;
- FB.init(_1r);
- FB.getLoginStatus(_Zq);
- FB.Canvas.setAutoGrow(100);
- if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._3r) {
- _Yp._A5._3r()
- }
- }
- function _4r(_mk) {
- var _5r, id = 'facebook-jssdk',
- _6r = _mk.getElementsByTagName('script')[0];
- if (_mk.getElementById(id)) {
- return
- }
- _5r = _mk.createElement('script');
- _5r.id = id;
- _5r._7r = !0;
- _5r.src = "//connect.facebook.net/en_US/sdk.js";
- _6r.parentNode.insertBefore(_5r, _6r)
- }
- function _8r(_9r) {
- if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {} else {
- var _19 = document.getElementById(_cq);
- var _dq = _19.parentNode;
- var _eq = document.createElement("div");
- _eq.setAttribute("id", "fb-root");
- _dq.insertBefore(_eq, _19.nextSibling);
- g_fbAppId = _9r;
- window.fbAsyncInit = _2r;
- _4r(document)
- }
- }
- function _ar(_br) {
- var _cr = 'https://graph.facebook.com/me';
- var _dr = _cr + '?access_token=' + g_fbOAuthToken;
- var _er = new XMLHttpRequest();
- _er.open('GET', _dr);
- _er.ontimeout = function(_fr) {
- _0r = 'FAILED'
- };
- _er.onerror = function(_fr) {
- _0r = 'FAILED'
- };
- _er.onreadystatechange = function() {
- if (_er.readyState != 4) return;
- var data = JSON.parse(_er.responseText);
- _gr(data);
- var _hr = eval(_br);
- if (_hr) {
- _hr(data)
- }
- };
- _er.send(null)
- }
- function _gr(data) {
- __q = data.id;
- _0r = 'AUTHORISED'
- }
- function _ir(_br) {
- if (typeof(getSpotifyApi) != "undefined") {
- var _jr = getSpotifyApi(1);
- var _kr = _jr.require('sp://import/scripts/api/auth');
- var _lr = ['user_about_me', 'publish_stream'];
- var _mr = _Yp._A5._nr;
- _0r = 'PROCESSING';
- _kr.authenticateWithFacebook(_mr, _lr, {
- onSuccess: function(accessToken, _or) {
- g_fbOAuthToken = accessToken;
- _ar(_br)
- },
- onFailure: function(error) {
- console.log('Authentication failed with error: ' + error);
- _0r = 'FAILED'
- },
- onComplete: function() {}
- })
- }
- }
- function _pr(_qr) {
- if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") {
- if (typeof(FB) == 'undefined') {
- console.log("Facebook initialisation has not completed");
- return
- }
- }
- _0r = _Rq;
- if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {
- _ir(_qr)
- } else {
- var _Xp = 0;
- var _rr = '';
- if (_qr >= 0) {
- _Xp = _Xh(_qr);
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- var _zi = _1i(_qr, _H3);
- _rr += _zi;
- if (_H3 < _Xp - 1) {
- _rr += ','
- }
- }
- FB.login(_Zq, {
- scope: _rr
- })
- } else {
- FB.login(_Zq)
- }
- }
- }
- function _sr(_tr, _ur, _vr, _wr) {
- var _xr = {};
- if (_vr != -1) {
- var _yr = _pi(_vr);
- while (_hi(_vr, _yr)) {
- var _zr = _ki(_vr, _yr);
- _xr[_yr] = _zr;
- _yr = _mi(_vr, _yr)
- }
- }
- _Ar = _wr;
- if (_wr != -1) {
- _ei(_wr)
- }
- FB.api(_tr, _ur, _xr, _Br)
- }
- function _Br(data) {
- if (_Ar != -1) {
- _Cr(data, _Ar);
- try {
- var text = JSON.stringify(data);
- _ji(_Ar, "response_text", text)
- } catch(e) {}
- }
- debug("response received from facebook_graph_request")
- }
- function _Dr(_tr, _vr, _wr) {
- var _xr = {};
- _xr.method = _tr;
- if (_vr != -1) {
- var _yr = _pi(_vr);
- while (_hi(_vr, _yr)) {
- var _zr = _ki(_vr, _yr);
- _xr[_yr] = _zr;
- _yr = _mi(_vr, _yr)
- }
- }
- if (_wr != -1) {
- _ei(_wr)
- }
- FB.ui(_xr,
- function(response) {
- _Er(response, _wr)
- });
- return 1
- }
- function _Er(data, _Fr) {
- if (_Fr != -1) {
- _Cr(data, _Fr)
- }
- debug("response received from facebook_dialog:");
- try {
- var text = JSON.stringify(data);
- debug(text)
- } catch(e) {}
- }
- function _Gr() {
- this._Hr = "";
- this._Ir = 0;
- this._Jr = !1;
- this._Kr = !1;
- this._Lr = ""
- }
- _Gr.prototype._Mr = function() {
- var _zi;
- var _H3 = this._Ir;
- var _9q = this._Hr;
- while (_H3 < _9q.length) {
- var _I3 = _9q.charCodeAt(_H3);
- if (_I3 == 0x0d || _I3 == 0x0a) {
- _H3++;
- _I3 = _9q.charCodeAt(_H3);
- if (_I3 == 0x0d || _I3 == 0x0a) {
- _H3++
- }
- break
- } else {
- _H3++
- }
- }
- this._Ir = _H3
- };
- _Gr.prototype._Nr = function() {
- var _zi;
- var _H3 = this._Ir;
- var _9q = this._Hr;
- while (_H3 < _9q.length) {
- var _I3 = _9q.charCodeAt(_H3);
- if (_I3 == 0x0d || _I3 == 0x0a || _I3 == 0x09 || _I3 == 0x20) {
- _H3++
- } else {
- break
- }
- }
- this._Ir = _H3
- };
- function _Or(_Pr) {
- var _Qr = _Rr._Gh(_Pr);
- if (!_Qr) {
- _Xg("Error: Illegal file handle");
- return
- }
- if (_Qr._Lr != null) {
- if (_Qr._Kr) {
- _Sr(_Qr._Lr, _Qr._Hr)
- }
- }
- _Rr._di(_Pr)
- }
- function _Tr(_Ur) {
- _Qr = new _Gr();
- _Qr._Lr = _Ur;
- _Qr._Hr = "";
- _Qr._Ir = 0;
- _Qr._Vr = !0;
- return _Rr._Wh(_Qr)
- }
- function _Wr(_Pr, _Xr) {
- var _Qr = _Rr._Gh(_Pr);
- if (!_Qr) {
- _Xg("Error: Illegal file handle");
- return
- }
- if (!_Qr._Vr) {
- _Xg("Error: File " + _Qr._Lr + " has not been opened with WRITE permisions");
- return
- }
- _Qr._Hr += _6q = _4q(_Xr);
- _Qr._Kr = !0;
- _Qr._Ir = _Qr._Hr.length
- }
- function _Yr(_Ur) {
- var _Zr = __r(_Ur, !0);
- if (_Zr == !0) return ! 0;
- return __r(_Ur, !1)
- }
- function _0s(_1s) {
- var _Nh;
- switch (typeof(_1s)) {
- case "object":
- if (_1s instanceof Array) {
- _Nh = new _6i(_5i, _2s(_1s))
- } else {
- _Nh = new _6i(_4i, _3s(_1s))
- }
- break;
- case "boolean":
- _Nh = _1s ? 1 : 0;
- break;
- case "number":
- case "string":
- _Nh = _1s;
- break;
- default:
- _Nh = _1s.toString();
- break
- }
- return _Nh
- }
- function _2s(_7i) {
- var _Nh = _Sh();
- for (var _H3 = 0; _H3 < _7i.length; ++_H3) {
- var _xb = _0s(_7i[_H3]);
- _Zh(_Nh, _xb)
- }
- return _Nh
- }
- function _3s(_7i) {
- var _Nh = _9i();
- for (var _4s in _7i) {
- var _kb = _7i[_4s];
- var _xb = _0s(_kb);
- _ji(_Nh, _4s, _xb)
- }
- return _Nh
- }
- function _5s(_1s) {
- var _Nh;
- switch (typeof(_1s)) {
- case "object":
- switch (_1s._8i) {
- case _5i:
- _Nh = _6s(_1s.Object);
- break;
- case _4i:
- _Nh = _7s(_1s.Object);
- break;
- default:
- _Nh = _1s.toString();
- break
- }
- break;
- case "number":
- case "string":
- _Nh = _1s;
- break;
- default:
- _Nh = _1s.toString();
- break
- }
- return _Nh
- }
- function _6s(_8s) {
- var _Nh = [];
- var _9s = _Vh._Gh(_8s);
- if (_9s) {
- for (var _H3 = 0; _H3 < _9s._3i.length; ++_H3) {
- if (_9s._3i[_H3] != undefined) _Nh.push(_5s(_9s._3i[_H3]))
- }
- }
- return _Nh
- }
- function _7s(_as) {
- var _Nh = {};
- var _ai = _bi._Gh(_as);
- if (_ai) {
- for (var _H3 in _ai) {
- if (!_ai.hasOwnProperty(_H3)) continue;
- if (_ai[_H3] != undefined) _Nh[_H3] = _5s(_ai[_H3])
- }
- }
- return _Nh
- }
- function _W6(_bs) {
- _7q._cs = _bs
- }
- function _X6(_bs) {
- _7q._ds = _bs
- }
- function _V6(_es) {
- _7q._fs = _es
- }
- function _a7(_V8, _W8, __p) {
- _7q._gs(__p.toString(), _V8, _W8, -1, -1, 0, 1, 1)
- }
- var _hs = _is;
- function _is(_V8, _W8, __p, _js, _ks, _ls, _ms, _Gd) {
- _3q("draw_text_color() only uses the 1st colour");
- var _ns = _Ad;
- var _os = _ps;
- _Ad = _Gd;
- _Y6(_js);
- _7q._gs(__p.toString(), _V8, _W8, -1, -1, 0, 1, 1);
- _Ad = _ns;
- _Y6(_os)
- }
- var _qs = _rs;
- function _rs(_V8, _W8, __p, _ss, _vh, _js, _ks, _ls, _ms, _Gd) {
- _3q("draw_text_ext_color() only uses the 1st colour");
- var _ns = _Ad;
- var _os = _ps;
- _Ad = _Gd;
- _Y6(_js);
- _7q._gs(__p.toString(), _V8, _W8, _ss, _vh, 0, 1, 1);
- _Ad = _ns;
- _Y6(_os)
- }
- function _ts(_V8, _W8, __p, __l, _0m, _Z8) {
- _7q._gs(__p.toString(), _V8, _W8, -1, -1, _Z8, __l, _0m)
- }
- var _us = _vs;
- function _vs(_V8, _W8, __p, _ss, _vh, __l, _0m, _Z8, _js, _ks, _ls, _ms, _Gd) {
- _3q("draw_text_ext_transformed_color() only uses the 1st colour");
- var _ns = _Ad;
- var _os = _ps;
- _Ad = _Gd;
- _Y6(_js);
- _7q._gs(__p.toString(), _V8, _W8, _ss, _vh, _Z8, __l, _0m);
- _Ad = _ns;
- _Y6(_os)
- }
- var _ws = _xs;
- function _xs(_V8, _W8, __p, __l, _0m, _Z8, _js, _ks, _ls, _ms, _Gd) {
- _3q("draw_text_transformed_color() only uses the 1st colour");
- var _ns = _Ad;
- var _os = _ps;
- _Ad = _Gd;
- _Y6(_js);
- _7q._gs(__p.toString(), _V8, _W8, -1, -1, _Z8, __l, _0m);
- _Ad = _ns;
- _Y6(_os)
- }
- function _ys(_J8, __d, _zs, _As, _Bs, _Cs, _Ds) {
- var _Es = new _Fs();
- _Es._Gs = !0;
- _Es._Z2 = "fnt_" + _J8;
- _Es._Hs = _J8;
- _Es._x3 = __d;
- _Es.bold = _zs;
- _Es._y3 = _As;
- _Es._z3 = _Bs;
- _Es._A3 = _Cs;
- _Es._Is = !1;
- if (_J8.toLowerCase().lastIndexOf(".ttf") != -1) {
- _Es._Js = new _Ks();
- _Es._Js.onload = function() {
- _Es._Is = !0
- };
- _Es._Js.onerror = function(err) {
- alert(err)
- };
- _Es._Js.src = "html5game/" + _J8;
- _Es._Ls = __d + "px " + _Es._Js._Ms + " "
- } else {
- _Es._Ls = __d + "px " + _J8 + " ";
- _Es._Is = !0
- }
- if (_zs) _Es._Ls = _Es._Ls + "bold ";
- if (_As) _Es._Ls = _Es._Ls + "Italic ";
- if (_Ds) {
- return _7q._Ns(_Es)
- } else {
- return _Es
- }
- }
- var _Os = 0,
- _Ps = 1,
- _Qs = 2,
- _Rs = 3,
- _Ss = 4,
- _Ts = 5,
- _Us = 6,
- _Vs = 7,
- _Ws = 8,
- _Xs = 9;
- function _67(_7i) {
- return _Ys._Gh(_7i)._Zs.length
- }
- function __s() {
- var _0t = _1t("hiscores_data_", !0);
- if (_0t != null) {
- _2t = JSON.parse(_0t);
- var _H3;
- for (_H3 = 0; _H3 < _3t; _H3++) {
- _4t[_H3] = _2t[_H3].name;
- _5t[_H3] = _2t[_H3].value
- }
- }
- }
- function _6t() {
- _5t[0] = _5t[1] = _5t[2] = _5t[3] = _5t[4] = _5t[5] = _5t[6] = _5t[7] = _5t[8] = _5t[9] = 0;
- _4t[0] = _4t[1] = _4t[2] = _4t[3] = _4t[4] = _4t[5] = _4t[6] = _4t[7] = _4t[8] = _4t[9] = _7t
- }
- function _8t(_9t, _at, _bt) {
- var _ct, _dt, _et, _ft, _gt, _ht;
- _ct = (_9t >> 16) & 0xff;
- _et = (_9t >> 8) & 0xff;
- _gt = (_9t & 0xff);
- _dt = (_at >> 16) & 0xff;
- _ft = (_at >> 8) & 0xff;
- _ht = (_at & 0xff);
- var _it = 1.0 - _bt;
- var _T9 = _Xi(_ct * _it + _dt * _bt);
- var _jb = _Xi(_et * _it + _ft * _bt);
- var _W9 = _Xi(_gt * _it + _ht * _bt);
- var _1b = ((_T9 & 0xff) << 16) | ((_jb & 0xff) << 8) | (_W9 & 0xff);
- return _1b
- }
- function _jt(_9t, _at, _bt) {
- return _8t(_9t, _at, _bt)
- }
- function _kt(_lt, _xj, _mt, _nt) {
- var _ot = _pt._Gh(_mt);
- if ((_ot != null) && (_ot != undefined)) {
- var _qt = _ot._rt[_nt];
- if ((_qt != null) && (_qt != undefined)) {
- _qt._st(_lt, _lt)
- }
- }
- }
- var _tt = !0;
- function _yj(_lt, _ut) {
- _lt._vt(_wt, _xt, _ut)
- }
- var _yt = debug;
- function _zt() {
- return "en"
- }
- function _58(_Bn) {}
- function _At(data) {
- var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
- var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt;
- var _H3 = 0;
- var _Kt = 0;
- var _Lt = "";
- var _Mt = [];
- if (!data) {
- return data
- }
- data += '';
- do {
- _Ft = _Bt.indexOf(data.charAt(_H3++));
- _Gt = _Bt.indexOf(data.charAt(_H3++));
- _Ht = _Bt.indexOf(data.charAt(_H3++));
- _It = _Bt.indexOf(data.charAt(_H3++));
- _Jt = _Ft << 18 | _Gt << 12 | _Ht << 6 | _It;
- _Ct = _Jt >> 16 & 0xff;
- _Dt = _Jt >> 8 & 0xff;
- _Et = _Jt & 0xff;
- if (_Ht == 64) {
- _Mt[_Kt++] = String.fromCharCode(_Ct);
- } else if (_It == 64) {
- _Mt[_Kt++] = String.fromCharCode(_Ct, _Dt)
- } else {
- _Mt[_Kt++] = String.fromCharCode(_Ct, _Dt, _Et)
- }
- } while ( _H3 < data . length );
- _Lt = _Mt.join('');
- return _Lt
- }
- function _Nt(_fr) {
- if (_Yp._A5.TrackingID) {
- _gaq.push(['_trackEvent', 'GMEvent', _fr])
- } else if (_Yp._A5.FlurryId) {
- FlurryAgent.logEvent(_fr)
- }
- }
- function _Ot(_fr) {
- var arguments = _Ot.arguments;
- if (_Yp._A5.TrackingID) {
- if (arguments.length >= 3) {
- _gaq.push(['_trackEvent', 'GMEvent', _fr, arguments[1], arguments[2]])
- } else {
- _gaq.push(['_trackEvent', 'GMEvent', _fr])
- }
- } else if (_Yp._A5.FlurryId) {
- if ((arguments.length >= 3) && (arguments.length & 1) == 1) {
- var _Pt = {};
- var _Qt = arguments.length - 1;
- if (_Qt > 10) {
- _Qt = 10
- }
- for (var _H3 = 0; _H3 < _Qt; _H3 += 2) {
- _Pt[arguments[_H3 + 1]] = arguments[_H3 + 2].toString()
- }
- FlurryAgent.logEvent(_fr, _Pt)
- } else {
- FlurryAgent.logEvent(_fr)
- }
- }
- }
- function _Rt(_St) {
- return _Tt(_St)
- }
- var _Ut = 0;
- var _Vt = "";
- function _Wt(_9q) {
- return _Xt(_Yt(_Zt(_9q)))
- }
- function _Yt(_9q) {
- return __t(_0u(_1u(_9q), _9q.length * 8))
- }
- function _Xt(_2u) {
- try {
- _Ut
- } catch(e) {
- _Ut = 0
- }
- var _3u = _Ut ? "0123456789ABCDEF": "0123456789abcdef";
- var _4u = "";
- var _f3;
- for (var _H3 = 0; _H3 < _2u.length; _H3++) {
- _f3 = _2u.charCodeAt(_H3);
- _4u += _3u.charAt((_f3 >>> 4) & 0x0F) + _3u.charAt(_f3 & 0x0F)
- }
- return _4u
- }
- function _Zt(_2u) {
- var _4u = "";
- var _H3 = -1;
- var _f3, _g3;
- while (++_H3 < _2u.length) {
- _f3 = _2u.charCodeAt(_H3);
- _g3 = _H3 + 1 < _2u.length ? _2u.charCodeAt(_H3 + 1) : 0;
- if (0xD800 <= _f3 && _f3 <= 0xDBFF && 0xDC00 <= _g3 && _g3 <= 0xDFFF) {
- _f3 = 0x10000 + ((_f3 & 0x03FF) << 10) + (_g3 & 0x03FF);
- _H3++
- }
- if (_f3 <= 0x7F) _4u += String.fromCharCode(_f3);
- else if (_f3 <= 0x7FF) _4u += String.fromCharCode(0xC0 | ((_f3 >>> 6) & 0x1F), 0x80 | (_f3 & 0x3F));
- else if (_f3 <= 0xFFFF) _4u += String.fromCharCode(0xE0 | ((_f3 >>> 12) & 0x0F), 0x80 | ((_f3 >>> 6) & 0x3F), 0x80 | (_f3 & 0x3F));
- else if (_f3 <= 0x1FFFFF) _4u += String.fromCharCode(0xF0 | ((_f3 >>> 18) & 0x07), 0x80 | ((_f3 >>> 12) & 0x3F), 0x80 | ((_f3 >>> 6) & 0x3F), 0x80 | (_f3 & 0x3F))
- }
- return _4u
- }
- function _1u(_2u) {
- var _4u = Array(_2u.length >> 2);
- for (var _H3 = 0; _H3 < _4u.length; _H3++) _4u[_H3] = 0;
- for (var _H3 = 0; _H3 < _2u.length * 8; _H3 += 8) _4u[_H3 >> 5] |= (_2u.charCodeAt(_H3 / 8) & 0xFF) << (_H3 % 32);
- return _4u
- }
- function __t(_2u) {
- var _4u = "";
- for (var _H3 = 0; _H3 < _2u.length * 32; _H3 += 8) _4u += String.fromCharCode((_2u[_H3 >> 5] >>> (_H3 % 32)) & 0xFF);
- return _4u
- }
- function _0u(_f3, _Xp) {
- _f3[_Xp >> 5] |= 0x80 << ((_Xp) % 32);
- _f3[(((_Xp + 64) >>> 9) << 4) + 14] = _Xp;
- var _kb = 1732584193;
- var _W9 = -271733879;
- var _I3 = -1732584194;
- var _mk = 271733878;
- for (var _H3 = 0; _H3 < _f3.length; _H3 += 16) {
- var _5u = _kb;
- var _6u = _W9;
- var _7u = _I3;
- var _8u = _mk;
- _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 0], 7, -680876936);
- _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 1], 12, -389564586);
- _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 2], 17, 606105819);
- _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 3], 22, -1044525330);
- _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 4], 7, -176418897);
- _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 5], 12, 1200080426);
- _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 6], 17, -1473231341);
- _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 7], 22, -45705983);
- _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 8], 7, 1770035416);
- _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 9], 12, -1958414417);
- _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 10], 17, -42063);
- _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 11], 22, -1990404162);
- _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 12], 7, 1804603682);
- _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 13], 12, -40341101);
- _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 14], 17, -1502002290);
- _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 15], 22, 1236535329);
- _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 1], 5, -165796510);
- _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 6], 9, -1069501632);
- _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 11], 14, 643717713);
- _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 0], 20, -373897302);
- _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 5], 5, -701558691);
- _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 10], 9, 38016083);
- _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 15], 14, -660478335);
- _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 4], 20, -405537848);
- _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 9], 5, 568446438);
- _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 14], 9, -1019803690);
- _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 3], 14, -187363961);
- _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 8], 20, 1163531501);
- _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 13], 5, -1444681467);
- _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 2], 9, -51403784);
- _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 7], 14, 1735328473);
- _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 12], 20, -1926607734);
- _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 5], 4, -378558);
- _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 8], 11, -2022574463);
- _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 11], 16, 1839030562);
- _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 14], 23, -35309556);
- _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 1], 4, -1530992060);
- _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 4], 11, 1272893353);
- _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 7], 16, -155497632);
- _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 10], 23, -1094730640);
- _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 13], 4, 681279174);
- _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 0], 11, -358537222);
- _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 3], 16, -722521979);
- _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 6], 23, 76029189);
- _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 9], 4, -640364487);
- _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 12], 11, -421815835);
- _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 15], 16, 530742520);
- _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 2], 23, -995338651);
- _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 0], 6, -198630844);
- _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 7], 10, 1126891415);
- _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 14], 15, -1416354905);
- _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 5], 21, -57434055);
- _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 12], 6, 1700485571);
- _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 3], 10, -1894986606);
- _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 10], 15, -1051523);
- _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 1], 21, -2054922799);
- _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 8], 6, 1873313359);
- _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 15], 10, -30611744);
- _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 6], 15, -1560198380);
- _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 13], 21, 1309151649);
- _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 4], 6, -145523070);
- _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 11], 10, -1120210379);
- _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 2], 15, 718787259);
- _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 9], 21, -343485551);
- _kb = _du(_kb, _5u);
- _W9 = _du(_W9, _6u);
- _I3 = _du(_I3, _7u);
- _mk = _du(_mk, _8u)
- }
- return Array(_kb, _W9, _I3, _mk)
- }
- function _eu(_fu, _kb, _W9, _f3, _9q, _V9) {
- return _du(_gu(_du(_du(_kb, _fu), _du(_f3, _V9)), _9q), _W9)
- }
- function _9u(_kb, _W9, _I3, _mk, _f3, _9q, _V9) {
- return _eu((_W9 & _I3) | ((~_W9) & _mk), _kb, _W9, _f3, _9q, _V9)
- }
- function _au(_kb, _W9, _I3, _mk, _f3, _9q, _V9) {
- return _eu((_W9 & _mk) | (_I3 & (~_mk)), _kb, _W9, _f3, _9q, _V9)
- }
- function _bu(_kb, _W9, _I3, _mk, _f3, _9q, _V9) {
- return _eu(_W9 ^ _I3 ^ _mk, _kb, _W9, _f3, _9q, _V9)
- }
- function _cu(_kb, _W9, _I3, _mk, _f3, _9q, _V9) {
- return _eu(_I3 ^ (_W9 | (~_mk)), _kb, _W9, _f3, _9q, _V9)
- }
- function _du(_f3, _g3) {
- var _hu = (_f3 & 0xFFFF) + (_g3 & 0xFFFF);
- var _iu = (_f3 >> 16) + (_g3 >> 16) + (_hu >> 16);
- return (_iu << 16) | (_hu & 0xFFFF)
- }
- function _gu(_ju, _ku) {
- return (_ju << _ku) | (_ju >>> (32 - _ku))
- }
- function _Tt(_9q) {
- return _Xt(_lu(_Zt(_9q)))
- }
- function _lu(_9q) {
- return _mu(_nu(_ou(_9q), _9q.length * 8))
- }
- function _ou(_2u) {
- var _4u = Array(_2u.length >> 2);
- for (var _H3 = 0; _H3 < _4u.length; _H3++) _4u[_H3] = 0;
- for (var _H3 = 0; _H3 < _2u.length * 8; _H3 += 8) _4u[_H3 >> 5] |= (_2u.charCodeAt(_H3 / 8) & 0xFF) << (24 - _H3 % 32);
- return _4u
- }
- function _mu(_2u) {
- var _4u = "";
- for (var _H3 = 0; _H3 < _2u.length * 32; _H3 += 8) _4u += String.fromCharCode((_2u[_H3 >> 5] >>> (24 - _H3 % 32)) & 0xFF);
- return _4u
- }
- function _nu(_f3, _Xp) {
- _f3[_Xp >> 5] |= 0x80 << (24 - _Xp % 32);
- _f3[((_Xp + 64 >> 9) << 4) + 15] = _Xp;
- var _J3 = Array(80);
- var _kb = 1732584193;
- var _W9 = -271733879;
- var _I3 = -1732584194;
- var _mk = 271733878;
- var e = -1009589776;
- for (var _H3 = 0; _H3 < _f3.length; _H3 += 16) {
- var _5u = _kb;
- var _6u = _W9;
- var _7u = _I3;
- var _8u = _mk;
- var _pu = e;
- for (var __9 = 0; __9 < 80; __9++) {
- if (__9 < 16) _J3[__9] = _f3[_H3 + __9];
- else _J3[__9] = _gu(_J3[__9 - 3] ^ _J3[__9 - 8] ^ _J3[__9 - 14] ^ _J3[__9 - 16], 1);
- var _V9 = _du(_du(_gu(_kb, 5), _qu(__9, _W9, _I3, _mk)), _du(_du(e, _J3[__9]), _ru(__9)));
- e = _mk;
- _mk = _I3;
- _I3 = _gu(_W9, 30);
- _W9 = _kb;
- _kb = _V9
- }
- _kb = _du(_kb, _5u);
- _W9 = _du(_W9, _6u);
- _I3 = _du(_I3, _7u);
- _mk = _du(_mk, _8u);
- e = _du(e, _pu)
- }
- return Array(_kb, _W9, _I3, _mk, e)
- }
- function _qu(_V9, _W9, _I3, _mk) {
- if (_V9 < 20) return (_W9 & _I3) | ((~_W9) & _mk);
- if (_V9 < 40) return _W9 ^ _I3 ^ _mk;
- if (_V9 < 60) return (_W9 & _I3) | (_W9 & _mk) | (_I3 & _mk);
- return _W9 ^ _I3 ^ _mk
- }
- function _ru(_V9) {
- return (_V9 < 20) ? 1518500249 : (_V9 < 40) ? 1859775393 : (_V9 < 60) ? -1894007588 : -899497514
- }
- function _su(_J8, _tu) {
- for (var index = 0; index < _tu.length; index++) {
- var _uu = _tu[index];
- if (_uu._Z2 == _J8) {
- return index
- }
- }
- return - 1
- }
- var _vu = 1,
- _wu = 2,
- _xu = 3,
- _yu = 4,
- _zu = 5,
- _Au = 6,
- _Bu = 7,
- _Cu = 8,
- _Du = 9,
- _Eu = 10,
- _Fu = 11;
- var _Gu = 96;
- var _Hu = 96;
- function _Iu() {
- return 0
- }
- var _Ju = _Ku;
- function _Ku(_Sd, _Gd) {
- _yb._Lu();
- var _Mu = [];
- _Mu[0] = 1;
- _Mu[1] = 0;
- _Mu[2] = 0;
- _Mu[3] = 1;
- _Mu[4] = 0;
- _Mu[5] = 0;
- _yb._Nu(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]);
- if (!_yb.clearRect || _Sd != 0 || _Gd != 0) {
- _yb.globalAlpha = _Gd;
- _yb.fillStyle = _Uj(_Dd(_Sd), _Gd);
- _yb.globalCompositeOperation = 'copy';
- _yb.fillRect(_Ou, _Pu, _Qu, _Ru)
- } else {
- _yb.clearRect(_Ou, _Pu, _Qu, _Ru)
- }
- _yb._Su();
- }
- function _Tu(_Uu, _Vu, _Wu) {
- return (~~_Uu) | (_Vu << 8) | (_Wu << 16)
- }
- var _Xu = _Tu;
- var _Yu = _Yu;
- function _Zu(_Sd) {
- return (_Sd >> 16) & 0xff
- }
- var __u = _Zu;
- function _0v(_Sd) {
- return (_Sd >> 8) & 0xff
- }
- var _1v = _0v;
- function _2v(_Sd) {
- return (_Sd & 0xff)
- }
- var _3v = _2v;
- function _4v(_Sd) {
- var _5v = 0.0;
- var _6v = 0.0;
- var _7v = 0.0;
- var _ja = 0.0;
- var _la = 0.0;
- var _8v = 0.0;
- var _mk = 0.0;
- var _F9 = 0.0;
- _5v = ((_Sd >> 16) & 0xff) / 255.0;
- _6v = ((_Sd >> 8) & 0xff) / 255.0;
- _7v = (_Sd & 0xff) / 255.0;
- _F9 = _U9(_U9(_5v, _6v), _7v);
- _8v = _S9(_S9(_5v, _6v), _7v);
- _mk = _8v - _F9;
- if (_8v == 0) _la = 0.0;
- else _la = 1.0 * _mk / _8v;
- if (_la == 0) _ja = 0.0;
- else if (_5v == _8v) _ja = 60.0 * (_6v - _7v) / _mk;
- else if (_6v == _8v) _ja = 120.0 + 60.0 * (_7v - _5v) / _mk;
- else _ja = 240.0 + 60.0 * (_5v - _6v) / _mk;
- if (_ja < 0) _ja = _ja + 360.0;
- var _xb = (Math.floor(_8v * 255.0) & 0xff) << 16;
- var _9q = (Math.floor(_la * 255.0) & 0xff) << 8;
- var _K3 = (Math.floor(_ja * 255.0 / 360.0)) & 0xff;
- return (_xb | _9q | _K3);
- }
- function _9v(_Sd) {
- return _4v(_Sd) & 0xff
- }
- var _av = _9v;
- function _bv(_Sd) {
- return (_4v(_Sd) >> 8) & 0xff
- }
- var _cv = _bv;
- function _dv(_Sd) {
- return (_4v(_Sd) >> 16) & 0xff
- }
- var _ev = _dv;
- function _fv(_9t, _at, _gv) {
- var _ct = (_9t >> 16) & 0xff;
- var _et = (_9t >> 8) & 0xff;
- var _gt = _9t & 0xff;
- var _dt = (_at >> 16) & 0xff;
- var _ft = (_at >> 8) & 0xff;
- var _ht = _at & 0xff;
- var _hv = 1.0 - _gv;
- var _T9 = ~~ (_ct * _hv + _dt * _gv);
- var _jb = ~~ (_et * _hv + _ft * _gv);
- var _W9 = ~~ (_gt * _hv + _ht * _gv);
- return ((_T9 << 16) & 0xff0000) | ((_jb << 8) & 0xff00) | (_W9 & 0xff)
- }
- var _iv = _fv;
- function _jv(_kv, _lv, _bt) {
- var _5v = 0.0;
- var _6v = 0.0;
- var _7v = 0.0;
- var _ja = 0.0;
- var _la = 0.0;
- var _8v = 0.0;
- var _Mq = 0.0;
- var _mv = 0.0;
- var _fu = 0.0;
- var _V9 = 0.0;
- var _H3 = 0;
- var _nv;
- _ja = _kv * 360.0 / 255.0;
- if (_ja == 360.0) _ja = 0.0;
- _la = _lv / 255.0;
- _8v = _bt / 255.0;
- if (_la == 0) {
- _5v = _8v;
- _6v = _8v;
- _7v = _8v
- } else {
- _ja = _ja / 60.0;
- _H3 = Math.floor(_ja);
- _Mq = _ja - _H3;
- _mv = _8v * (1.0 - _la);
- _fu = _8v * (1.0 - (_la * _Mq));
- _V9 = _8v * (1.0 - (_la * (1.0 - _Mq)));
- switch (_H3) {
- case 0:
- {
- _5v = _8v;
- _6v = _V9;
- _7v = _mv
- }
- break;
- case 1:
- {
- _5v = _fu;
- _6v = _8v;
- _7v = _mv
- }
- break;
- case 2:
- {
- _5v = _mv;
- _6v = _8v;
- _7v = _V9
- }
- break;
- case 3:
- {
- _5v = _mv;
- _6v = _fu;
- _7v = _8v
- }
- break;
- case 4:
- {
- _5v = _V9;
- _6v = _mv;
- _7v = _8v
- }
- break;
- default:
- {
- _5v = _8v;
- _6v = _mv;
- _7v = _fu
- }
- }
- }
- _nv = Math.floor(_5v * 255.0) | (Math.floor(_6v * 255.0) << 8) | (Math.floor(_7v * 255.0) << 16);
- return _nv
- }
- var _ov = _jv;
- function _pv(_Gd) {
- if (_Gd < 0) {
- _Gd = 0
- }
- if (_Gd > 1) {
- _Gd = 1
- }
- _Ad = _Gd;
- _qv = _Uj(_Bd, _Ad)
- }
- function _rv() {
- return _Ad
- }
- function _sv() {
- return _ps
- }
- var _tv = _sv;
- function _Y6(_Cd) {
- _ps = _Cd;
- _Bd = _Dd(_Cd);
- _uv = _vv(_Bd);
- _qv = _Uj(_Bd, _Ad)
- }
- var _wv = _Y6;
- function _xv(_aa, _ba, _x9, _y9, _9t, _at, _yv) {
- _zv(_aa, _y9, _x9, _y9, 10, 10, _9t, _at, _yv)
- }
- var _Av = _xv;
- var _zv = _Bv;
- var _Cv = _Bv;
- function _Bv(_aa, _ba, _x9, _y9, _Dv, _Ev, _9t, _at, _yv) {
- if (_y9 < _ba) {
- var _Fv = _ba;
- _ba = _y9;
- _y9 = _Fv
- }
- if (_x9 < _aa) {
- var _Fv = _aa;
- _aa = _x9;
- _x9 = _Fv
- }
- var width = _x9 - _aa;
- var height = _y9 - _ba;
- _Gv = _Dv;
- _Hv = _Ev;
- var _1b = _yb.globalAlpha = _Ad;
- _yb.beginPath();
- _yb.moveTo(_aa + _Gv, _ba);
- _yb.lineTo(_aa + width - _Gv, _ba);
- _yb.quadraticCurveTo(_aa + width, _ba, _aa + width, _ba + _Hv);
- _yb.lineTo(_aa + width, _ba + height - _Hv);
- _yb.quadraticCurveTo(_aa + width, _ba + height, _aa + width - _Gv, _ba + height);
- _yb.lineTo(_aa + _Gv, _ba + height);
- _yb.quadraticCurveTo(_aa, _ba + height, _aa, _ba + height - _Hv);
- _yb.lineTo(_aa, _ba + _Hv);
- _yb.quadraticCurveTo(_aa, _ba, _aa + _Gv, _ba);
- _yb.closePath();
- if (_yv) {
- _yb.strokeStyle = _Uj(_Dd(_9t), 1.0);
- _yb.stroke()
- } else {
- _yb.fillStyle = _Uj(_Dd(_9t), 1.0);
- _yb.fill()
- }
- }
- var _Iv = _Jv;
- function _Jv(_aa, _ba, _x9, _y9, _yv) {
- _aa = ~~_aa;
- _ba = ~~_ba;
- _x9 = ~~_x9;
- _y9 = ~~_y9;
- _yb.globalAlpha = _Ad;
- if (_yv) {
- _yb.lineWidth = 1;
- _yb.strokeStyle = _qv;
- _yb._Kv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba))
- } else {
- _yb.fillStyle = _qv;
- _yb._Lv(_aa, _ba, _x9 - _aa + 1, _y9 - _ba + 1)
- }
- }
- var _Mv = _Nv;
- var _Ov = _Nv;
- function _Nv(_aa, _ba, _x9, _y9, _9t, _at, _Pv, _Qv, _yv) {
- var _1b = _Uj(_Dd(_9t), 1.0);
- _yb.globalAlpha = _Ad;
- if (_yv) {
- _yb.lineWidth = 1;
- _yb.strokeStyle = _1b;
- _yb._Kv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba))
- } else {
- _yb.fillStyle = _1b;
- _yb._Lv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba))
- }
- }
- var _Rv = _Sv;
- function _Sv(_aa, _ba, _x9, _y9, _9t, _at, _Tv, _yv) {
- _yb.globalAlpha = _Ad;
- _yb.lineWidth = 1;
- var _Uv = _Uj(_Dd(_9t), 1.0);
- var _Vv = _Uj(_Dd(_at), 1.0);
- var _Wv;
- if (_Tv) {
- _Wv = _yb.createLinearGradient(_aa, _ba, _aa, _y9)
- } else {
- _Wv = _yb.createLinearGradient(_aa, _ba, _x9, _ba)
- }
- _Wv.addColorStop(0, _Uv);
- _Wv.addColorStop(1, _Vv);
- if (_yv) {
- _yb.strokeStyle = _Wv;
- _yb._Kv(_aa + 0.5, _ba + 0.5, _x9 - _aa, _y9 - _ba)
- } else {
- _yb.fillStyle = _Wv;
- _yb._Lv(_aa + 0.5, _ba + 0.5, _x9 - _aa, _y9 - _ba)
- }
- }
- var _Xv = _Yv;
- function _Yv(_V8, _W8) {
- _yb.globalAlpha = _Ad;
- _yb.fillStyle = _qv;
- _yb._Lv(_V8, _W8, 1, 1)
- }
- function _Zv(_aa, _ba, _x9, _y9, _vh) {
- _yb.globalAlpha = _Ad;
- _yb.strokeStyle = _uv;
- _yb.lineWidth = _vh;
- _yb.__v();
- _yb._0w(_aa + 0.5, _ba + 0.5);
- _yb._1w(_x9 + 0.5, _y9 + 0.5);
- _yb._2w();
- _yb._3w();
- _yb._Lv(_x9, _y9, 1, 1)
- }
- function _qb(_aa, _ba, _x9, _y9) {
- _Zv(_aa, _ba, _x9, _y9, 1)
- }
- var _4w = _5w;
- var _6w = _7w;
- function _5w(_V8, _W8) {
- return _5w(_V8, _W8) & 0x00ffffff
- }
- function _7w(_V8, _W8) {
- var _8w = canvas.width / _9w;
- var _aw = canvas.height / _bw;
- var _1b = _cw(canvas, _V8 * _8w, _W8 * _aw);
- return _1b
- }
- var _dw = _ew;
- function _ew(_aa, _ba, _x9, _y9, _fw, _gw, _yv) {
- _aa += 0.5;
- _ba += 0.5;
- _x9 += 0.5;
- _y9 += 0.5;
- _fw += 0.5;
- _gw += 0.5;
- _yb.globalAlpha = _Ad;
- _yb.lineWidth = 1;
- if (_yv) {
- _yb.strokeStyle = _qv;
- _yb.__v();
- _yb._0w(_aa, _ba);
- _yb._1w(_x9, _y9);
- _yb._1w(_fw, _gw);
- _yb._1w(_aa, _ba);
- _yb._3w();
- _yb._2w()
- } else {
- _yb.strokeStyle = _qv;
- _yb.lineJoin = "bevel";
- _yb.fillStyle = _qv;
- _yb.__v();
- _yb._0w(_aa, _ba);
- _yb._1w(_x9, _y9);
- _yb._1w(_fw, _gw);
- _yb._1w(_aa, _ba);
- _yb._hw();
- _yb._3w();
- _yb._2w();
- _yb.lineJoin = "miter"
- }
- }
- var _iw = _jw;
- var _kw = _jw;
- function _jw(_aa, _ba, _x9, _y9, _fw, _gw, _9t, _at, _Pv, _yv) {
- var _Uv = _vv(_Dd(_9t) | 0xff000000);
- _aa += 0.5;
- _ba += 0.5;
- _x9 += 0.5;
- _y9 += 0.5;
- _fw += 0.5;
- _gw += 0.5;
- _yb.globalAlpha = _Ad;
- _yb.lineWidth = 1;
- if (_yv) {
- _yb.strokeStyle = _Uv;
- _yb.__v();
- _yb._0w(_aa, _ba);
- _yb._1w(_x9, _y9);
- _yb._1w(_fw, _gw);
- _yb._1w(_aa, _ba);
- _yb._3w();
- _yb._2w()
- } else {
- _yb.strokeStyle = _Uv;
- _yb.lineJoin = "bevel";
- _yb.fillStyle = _Uv;
- _yb.__v();
- _yb._0w(_aa, _ba);
- _yb._1w(_x9, _y9);
- _yb._1w(_fw, _gw);
- _yb._1w(_aa, _ba);
- _yb._hw();
- _yb._3w();
- _yb._2w();
- _yb.lineJoin = "miter"
- }
- }
- var _lw = _mw;
- function _mw(_aa, _ba, _x9, _y9, _gv, _nw, _ow, _pw, _qw, _rw, _sw, _tw) {
- var _uw;
- var _vw;
- var _ww;
- var _xw;
- var _1b;
- if (_sw) {
- _Mv(_aa, _ba, _x9, _y9, _nw, _nw, _nw, _nw, !1);
- if (_tw) {
- _Mv(_aa, _ba, _x9, _y9, _yw, _yw, _yw, _yw, !0)
- }
- }
- if (_gv < 0) {
- _gv = 0
- }
- if (_gv > 100) {
- _gv = 100
- }
- var _zw = _gv / 100;
- switch (_rw) {
- case 0:
- _uw = _aa;
- _ww = _ba;
- _vw = _aa + _zw * (_x9 - _aa);
- _xw = _y9;
- break;
- case 1:
- _uw = _x9 - _zw * (_x9 - _aa);
- _ww = _ba;
- _vw = _x9;
- _xw = _y9;
- break;
- case 2:
- _uw = _aa;
- _ww = _ba;
- _vw = _x9;
- _xw = _ba + _zw * (_y9 - _ba);
- break;
- case 3:
- _uw = _aa;
- _ww = _y9 - _zw * (_y9 - _ba);
- _vw = _x9;
- _xw = _y9;
- break;
- default:
- _uw = _aa;
- _ww = _ba;
- _vw = _aa + _zw * (_x9 - _aa);
- _xw = _y9;
- break
- }
- if (_gv > 50) {
- _1b = _8t(_pw, _qw, (_gv - 50.0) / 50.0);
- } else {
- _1b = _8t(_ow, _pw, _gv / 50.0)
- }
- _Mv(_uw, _ww, _vw, _xw, _1b, _1b, _1b, _1b, !1);
- if (_tw) {
- _Mv(_uw, _ww, _vw, _xw, _yw, _yw, _yw, _yw, !0)
- }
- }
- var _Aw = _Bw;
- function _Bw(_G9, _H9, _I9, _J9, _x3) {
- var _Cw = Math.sqrt(((_I9 - _G9) * (_I9 - _G9)) + ((_J9 - _H9) * (_J9 - _H9)));
- if (_Cw != 0) {
- if (_x3 > _Cw) {
- _x3 = _Cw;
- }
- var _0a = _x3 * (_I9 - _G9) / _Cw;
- var _2a = _x3 * (_J9 - _H9) / _Cw;
- _qb(_G9, _H9, _I9, _J9);
- _dw(_I9 - _0a - _2a / 3.0, _J9 - _2a + _0a / 3.0, _I9, _J9, _I9 - _0a + _2a / 3.0, _J9 - _2a - _0a / 3.0, !1)
- }
- }
- function _Dw(_aa, _ba, _x9, _y9, _yv) {
- _Ew(_aa, _ba, _x9, _y9, _ps, _ps, _yv)
- }
- var _Ew = _Fw;
- var _Gw = _Fw;
- function _Fw(_f3, _g3, _G9, _H9, _9t, _at, _Hw) {
- var _J3 = _G9 - _f3;
- var _K3 = _H9 - _g3;
- var _Iw = 0.5522848;
- _Jw = (_J3 / 2) * _Iw,
- _Kw = (_K3 / 2) * _Iw,
- _Lw = _f3 + _J3,
- _Mw = _g3 + _K3,
- _Nw = _f3 + _J3 / 2,
- _Ow = _g3 + _K3 / 2;
- _yb.beginPath();
- _yb.moveTo(_f3, _Ow);
- _yb.bezierCurveTo(_f3, _Ow - _Kw, _Nw - _Jw, _g3, _Nw, _g3);
- _yb.bezierCurveTo(_Nw + _Jw, _g3, _Lw, _Ow - _Kw, _Lw, _Ow);
- _yb.bezierCurveTo(_Lw, _Ow + _Kw, _Nw + _Jw, _Mw, _Nw, _Mw);
- _yb.bezierCurveTo(_Nw - _Jw, _Mw, _f3, _Ow + _Kw, _f3, _Ow);
- _yb.closePath();
- var _Uv = _Uj(_Dd(_9t), 1.0);
- var _Vv = _Uj(_Dd(_at), 1.0);
- if (_J3 <= 0) _J3 *= -1;
- if (_K3 <= 0) _K3 *= -1;
- var _Wv = _yb.createRadialGradient(_Nw, _Ow, 0, _Nw, _Ow, min(_J3 / 2, _K3 / 2));
- _Wv.addColorStop(0, _Uv);
- _Wv.addColorStop(1, _Vv);
- _yb.globalAlpha = _Ad;
- if (_Hw) {
- _yb.lineWidth = 1;
- _yb.strokeStyle = _Wv;
- _yb.stroke()
- } else {
- _yb.fillStyle = _Wv;
- _yb.fill()
- }
- }
- var _Pw = _Qw;
- var _Rw = _Qw;
- function _Qw(_V8, _W8, _Sw, _9t, _at, _yv) {
- _yb.globalAlpha = _Ad;
- var _Uv = _Uj(_Dd(_9t), 1.0);
- var _Vv = _Uj(_Dd(_at), 1.0);
- var _Wv = _yb.createRadialGradient(_V8, _W8, 0, _V8, _W8, _Sw);
- _Wv.addColorStop(0, _Uv);
- _Wv.addColorStop(1, _Vv);
- _yb.__v();
- if (_yv) {
- _yb.lineWidth = 1;
- _yb.strokeStyle = _Wv;
- _yb._Tw(_V8, _W8, _Sw, 0, Math.PI * 2, !0);
- _yb._3w()
- } else {
- _yb.fillStyle = _Wv;
- _yb._Tw(_V8, _W8, _Sw, 0, Math.PI * 2, !1);
- _yb._hw()
- }
- _yb._2w()
- }
- var _Uw = _Vw;
- var _Ww = _Vw;
- function _Vw(_V8, _W8, _Sd) {
- var _Uv = _Uj(_Dd(_Sd), 1.0);
- _yb.globalAlpha = _Ad;
- _yb.fillStyle = _Uv;
- _yb._Lv(_V8, _W8, 1, 1)
- }
- var _Xw = _Yw;
- var _Zw = _Yw;
- function _Yw(_aa, _ba, _x9, _y9, _vh, _9t, _at) {
- _yb.globalAlpha = _Ad;
- var _Uv = _Uj(_Dd(_9t), 1.0);
- var _Vv = _Uj(_Dd(_at), 1.0);
- var _Wv = _yb.createLinearGradient(_aa, _ba, _x9, _y9);
- _Wv.addColorStop(0, _Uv);
- _Wv.addColorStop(1, _Vv);
- _yb.strokeStyle = _Wv;
- _yb.__v();
- _yb._0w(_aa + 0.5, _ba + 0.5);
- _yb._1w(_x9 + 0.5, _y9 + 0.5);
- _yb.lineWidth = _vh;
- _yb._3w();
- _yb._2w()
- }
- function __w(_aa, _ba, _x9, _y9, _9t, _at) {
- _Xw(_aa, _ba, _x9, _y9, 1, _9t, _at)
- }
- var _0x = __w;
- function _1x(_f3, _g3, _G9, _H9, _Uv, _Vv, _Hw) {
- _Ew(_f3, _g3, _G9, _H9, _Uv, _Vv, _Hw)
- }
- function _2x(_3x) {
- switch (_3x) {
- case 1:
- _4x(_zu, _wu);
- break;
- case 2:
- _4x(_zu, _yu);
- break;
- case 3:
- _4x(_vu, _yu);
- break;
- default:
- _4x(_zu, _Au);
- break
- }
- }
- var _4x = _5x;
- function _5x(src, _6x) {
- _nc("Blend modes only available in WebGL mode.")
- }
- var _7x = -1,
- _8x = 0,
- _9x = 1,
- _ax = 2,
- _bx = 3,
- _cx = 4;
- var _dx = -3,
- _ex = -2,
- _fx = -1,
- _gx = 0,
- _hx = 1,
- _ix = 2;
- var _jx = -2,
- _kx = -1,
- _lx = 0,
- _mx = 1,
- _nx = 2,
- _ox = 3;
- var _px = 0,
- _qx = 1,
- _rx = 2,
- _sx = 3,
- _tx = 4;
- var _ux = -1,
- _vx = 0;
- var _wx = [];
- var _xx = [];
- var _yx = [];
- var _zx = [];
- var _Ax = _jx;
- function _Bx() {
- _Cx({
- type: _px,
- status: _ux
- })
- };
- function _Dx() {
- _Cx({
- type: _tx,
- _8j: 0
- })
- };
- function _Ex() {
- return - 1
- }
- function _Fx() {
- return 0
- }
- function _Gx() {
- return 0
- };
- function _Hx(_as) {
- this._Ix = "";
- this.title = "";
- this.description = "";
- this._Jx = "";
- this.type = "";
- this._Kx = _ex;
- this._Lx = !1;
- if ((_as != null) && (_as != undefined)) {
- var id = _ki(_as, "id");
- var title = _ki(_as, "title");
- var description = _ki(_as, "description");
- var _Jx = _ki(_as, "price");
- var type = _ki(_as, "type");
- if (id) {
- this._Ix = id
- }
- if (title) {
- this.title = title
- }
- if (description) {
- this.description = description
- }
- if (_Jx) {
- this._Jx = _Jx
- }
- if (type) {
- this.type = type
- }
- }
- };
- function _Mx() {
- this._Nx = "";
- this._Ix = "";
- this._Ox = "";
- this._Px = "";
- this._Qx = "";
- this._Rx = 0;
- this._Sx = 0;
- this._Kx = _ex
- };
- function _Tx(_Ux) {
- switch (_Ux.type) {
- case _8x:
- {
- _Ax = _lx;
- _Bx(_wx)
- }
- break;
- case _9x:
- {
- _Ax = _ox;
- _Dx()
- }
- break;
- case _ax:
- {
- _Ax = _nx;
- _Ex(_Ux.product, _Ux._Vx)
- }
- break;
- case _bx:
- {
- _Ax = _nx;
- _Fx(_Ux.product)
- }
- break;
- case _cx:
- {
- _Ax = _nx;
- _Gx(_Ux.product)
- }
- break;
- default:
- {
- _Ax = _mx
- }
- break
- }
- }
- function _Cx(_fr) {
- _yx.push(_fr)
- }
- function _Wx(_fr) {
- _fr.map = _9i();
- _ji(_fr.map, "type", _px);
- _ji(_fr.map, "status", _fr.status)
- }
- function _Xx(_fr) {
- _fr.map = _9i();
- _ji(_fr.map, "type", _tx);
- _ji(_fr.map, "result", _fr._8j)
- }
- function _Yx(_fr) {
- var product = null;
- var _Zx = -1;
- var __x = JSON.parse(_fr._0y);
- _Zx = _1y(__x["productId"]);
- if (_Zx < 0) {
- product = new _Hx();
- product._Ix = __x["productId"];
- _wx.push(product);
- _Zx = _wx.length - 1
- } else {
- product = _wx[_Zx]
- }
- product._Lx = !0;
- product._Kx = _fx;
- if (__x["title"]) {
- product.title = __x["title"]
- }
- if (__x["price"]) {
- product._Jx = __x["price"]
- }
- if (__x["type"]) {}
- if (__x["description"]) {
- product.description = __x["description"]
- }
- if (__x["price_currency_code"]) {}
- _fr.map = _9i();
- _ji(_fr.map, "type", _qx);
- _ji(_fr.map, "product", product._Ix);
- _ji(_fr.map, "index", _Zx)
- }
- function _2y(_fr) {
- var __x = JSON.parse(_fr._0y);
- var _Vx = -1;
- if ((__x["purchaseIndex"] != null) && (__x["purchaseIndex"] != undefined)) {
- _Vx = __x["purchaseIndex"]
- }
- var _3y = null;
- if (_Vx != -1) {
- _3y = _xx[_Vx]
- } else {
- _3y = new _Mx();
- _xx.push(_3y);
- _Vx = _xx.length - 1
- }
- if (__x["orderId"]) {
- _3y._Nx = __x["orderId"]
- }
- if (__x["productId"]) {
- _3y._Ix = __x["productId"]
- }
- if (__x["purchaseTime"]) {
- _3y._Sx = __x["purchaseTime"]
- }
- if ((__x["purchaseState"] != null) && (__x["purchaseState"] != undefined)) {
- _3y._Kx = __x["purchaseState"]
- }
- if (__x["purchaseToken"]) {
- _3y._Px = __x["purchaseToken"]
- }
- if (__x["response"]) {
- _3y._Rx = __x["response"]
- }
- if (__x["receipt"]) {
- _3y._Ox = __x["receipt"]
- }
- _fr.map = _9i();
- _ji(_fr.map, "type", _rx);
- _ji(_fr.map, "index", _Vx);
- _ji(_fr.map, "response", _3y._Rx)
- }
- function _4y(_fr) {
- var __x = JSON.parse(_fr._0y);
- var _5y = null;
- var _Px = null;
- var _6y = 0.0;
- if (__x["productId"]) {
- _5y = __x["productId"]
- }
- if (__x["token"]) {
- _Px = __x["token"]
- }
- if (__x["consumed"]) {
- if (typeof(__x["consumed"]) == "string") {
- _6y = (__x["consumed"] == "false") ? 0.0 : 1.0
- } else {
- _6y = __x["consumed"]
- }
- }
- if ((_5y != null) && (_6y == !0)) {
- for (var _C9 = 0; _C9 < _xx.length; _C9++) {
- var _3y = _xx[_C9];
- if ((_3y._5y == _5y) && (_3y._Px == _Px)) {
- _xx[_C9] = null
- }
- }
- }
- _fr.map = _9i();
- _ji(_fr.map, "type", _sx);
- _ji(_fr.map, "product", _5y);
- _ji(_fr.map, "consumed", _6y ? 1.0 : 0.0)
- }
- function _7y(_fr) {
- var _8y = !1;
- if ((_fr.type != null) && (_fr.type != undefined)) {
- switch (_fr.type) {
- case _px:
- {
- _Wx(_fr);
- if (_fr.status == _vx) {
- _Ax = _mx;
- _8y = !0
- } else {
- _Ax = _kx
- }
- }
- break;
- case _qx:
- {
- _Yx(_fr);
- if (_Ax != _lx) {
- _Ax = _mx;
- _8y = !0
- }
- }
- break;
- case _rx:
- {
- _2y(_fr);
- if ((_Ax != _lx) && (_Ax != _ox)) {
- _Ax = _mx;
- _8y = !0
- }
- }
- break;
- case _sx:
- {
- _4y(_fr);
- _Ax = _mx;
- _8y = !0
- }
- break;
- case _tx:
- {
- _Xx(_fr);
- _Ax = _mx;
- _8y = !0
- }
- break
- }
- }
- if (_8y && (_zx.length != 0)) {
- var _9y = _zx.shift();
- _Tx(_9y)
- }
- }
- function _ay() {
- while (_yx.length > 0) {
- var _by = _yx.shift();
- _7y(_by);
- _w6._cy = _by.map;
- _dy._g9(_ey, 0);
- _ci(_by.map)
- }
- }
- function _1y(_fy) {
- var _gy = -1;
- if (typeof(_fy) == "string") {
- for (var _C9 = 0; _C9 < _wx.length; _C9++) {
- var product = _wx[_C9];
- if (product._Ix.toLowerCase() == _fy.toLowerCase()) {
- _gy = _C9;
- break
- }
- }
- } else {
- _gy = ~~_fy
- }
- return _gy
- }
- var _hy = null;
- function _07(_iy) {
- if (_hy) {
- _37()
- }
- var _jy = null;
- if (_ky) {
- _jy = _ly(_iy, !0)
- }
- if (_jy == null) {
- _jy = _ly(_iy, !1)
- }
- if (_jy == null) {
- _jy = new _my(_iy)
- }
- _hy = _jy
- }
- function _37() {
- if (!_hy) return;
- var _0t = _hy._ny();
- _hy = null;
- return _0t
- }
- function _27(_oy, _ii, _py) {
- if (!_hy) return _py;
- return _hy._qy(_oy, _ii, _py)
- }
- function _P7(_oy, _ii, _bt) {
- if (!_hy) return ! 1;
- _hy._ry(_oy, _ii, "" + _sy(_bt));
- return ! 0
- }
- function _67(_7i) {
- var _ty = _j7(_7i);
- if (_ty == null) return 0;
- var _Ea = 0;
- for (var _H3 = 0; _H3 < _ty.length; _H3++) {
- if (!_ty[_H3]._uy) _Ea++
- }
- return _Ea
- }
- function _vy(_lt, _V8, _W8, _7i) {
- var _0a = _lt._f3;
- var _2a = _lt._g3;
- _lt._te(_V8, _W8);
- var id = _wy(null, Math.floor(_7i), !1, _xy, _V8, _W8,
- function(_yy) {
- if (_yy._zy(_lt, !0)) {
- return _yy.id
- } else {
- return _xy
- }
- });
- _lt._te(_0a, _2a);
- return id
- }
- function _Z6(_V8, _W8, _7i) {
- var _4s = _Ys._Gh(_7i);
- if (!_4s) {
- _Xg("Error: Trying to create an instance using non-existent object type (" + _7i + ")");
- return _xy
- }
- var _Ay = _H8.__i(_V8, _W8, _7i);
- _Ay._g9(_0j, 0, _Ay, _Ay);
- return _Ay.id
- }
- function _n7(_lt) {
- _lt._g9(_By, 0, _lt, _lt);
- _lt._uy = !0
- }
- function _Cy(_Ti, _V8, _W8) {
- var bottom, top;
- var _Dy = [];
- var _Ey = _H8._Fy;
- for (var _H3 = 0; _H3 < _Ey._3i.length; _H3++) {
- var _Ay = _Ey._3i[_H3];
- if (_Ay._Gy) _Ay._Hy();
- var _Iy = _Ay._Iy;
- if (! ((_V8 > _Iy._q9) || (_V8 < _Iy.left) || (_W8 > _Iy.bottom) || (_W8 < _Iy.top))) {
- _Dy[_Dy.length] = _Ay
- }
- }
- var _Ey = _H8._Fy;
- for (var _H3 = 0; _H3 < _Dy.length; _H3++) {
- _n7(_Dy[_H3])
- }
- }
- function _Jy(_Ti, _Ky, _Ly) {
- if (_Ly) _Ti._g9(_By, 0, _Ti, _Ti);
- _Ti._My(_Ky, !0, !1);
- _Ti._Ny = _Ti._Oy._Py;
- var _Qy = _Ry._Gh(_Ti._Ny);
- if (_Qy) {
- _Ti._Iy.left = _Qy._Iy.left;
- _Ti._Iy._q9 = _Qy._Iy._q9;
- _Ti._Iy.top = _Qy._Iy.top;
- _Ti._Iy.bottom = _Qy._Iy.bottom
- }
- _Ti._Sy(_H8);
- if (_Ly) _Ti._g9(_0j, 0, _Ti, _Ti)
- }
- function _Ty(_Ti, _Ky, _Ly) {
- if (!_Ys._Uy(_Ky)) {
- debug("Error: Trying to change an instance to an nonexistent object type.");
- return
- }
- _Jy(_Ti, _Ky, _Ly)
- }
- var _Vy = _Ty;
- function _Wy(_7i, _Xy) {
- if (_7i._Yy >= 0) {
- var _Zy = _Ys._Gh(_7i._Yy);
- if (_Zy) {
- if (_Zy.__y == _Xy) {
- return ! 0
- } else {
- return _Wy(_Zy, _Xy)
- }
- }
- }
- return ! 1
- };
- function _0z(_ii) {
- if (_1z[_ii]) {
- return
- }
- _1z[_ii] = 1;
- _2z[_ii] = 1;
- _3z = _ii
- }
- function _4z(_ii) {
- _5z[_ii] = 1;
- _1z[_ii] = 0
- }
- function _6z(_7z) {
- with(_dh) {
- switch (_7z) {
- case 0:
- if (_nf[0] || _nf[1] || _nf[2]) return 0;
- else return 1;
- case 1:
- if (_nf[0]) return 1;
- else return 0;
- case 2:
- if (_nf[1]) return 1;
- else return 0;
- case 3:
- if (_nf[2]) return 1;
- else return 0;
- case - 1 : if (_nf[0] || _nf[1] || _nf[2]) return 1;
- else return 0
- }
- }
- return 0;
- }
- function _8z(_7z) {
- with(_dh) {
- switch (_7z) {
- case 0:
- if (_if[0] || _if[1] || _if[2]) return 0;
- else return 1;
- case 1:
- if (_if[0]) return 1;
- else return 0;
- case 2:
- if (_if[1]) return 1;
- else return 0;
- case 3:
- if (_if[2]) return 1;
- else return 0;
- case - 1 : if (_if[0] || _if[1] || _if[2]) return 1;
- else return 0
- }
- }
- return 0
- }
- function _9z(_7z) {
- with(_dh) {
- switch (_7z) {
- case 0:
- if (_mf[0] || _mf[1] || _mf[2]) return 0;
- else return 1;
- case 1:
- if (_mf[0]) return 1;
- else return 0;
- case 2:
- if (_mf[1]) return 1;
- else return 0;
- case 3:
- if (_mf[2]) return 1;
- else return 0;
- case - 1 : if (_mf[0] || _mf[1] || _mf[2]) return 1;
- else return 0
- }
- return 0
- }
- }
- function _az(_bz, _cz) {
- if (_bz.readyState != 4) return;
- var _Qr = _oq(_bz);
- if (_Qr) {
- _Qr._dz = _bz.status;
- _Qr._pq = !0;
- if (_bz.status != 200) {
- _Qr._qq = _vq;
- _Qr._ez = "";
- return
- }
- _Qr._qq = _rq;
- try {
- _Qr._ez = _bz.responseText
- } catch(e) {
- _Qr._ez = ""
- }
- _Qr._fz = _9i();
- var _gz = _bz.getAllResponseHeaders().split("\r\n");
- for (var _C9 in _gz) {
- var _hz = _gz[_C9].split(": ");
- if (_hz.length == 2) {
- _ji(_Qr._fz, _hz[0], _hz[1])
- }
- }
- if (_cz) {
- _cz(_bz, _Qr)
- }
- }
- }
- function _iz(_fr, _bz) {
- var _Qr = _oq(_bz);
- if (_Qr) {
- _Qr._pq = !0;
- _Qr._qq = _rq;
- _Qr._ez = _bz.responseText;
- _Qr._dz = 200;
- _Qr._fz = -1
- }
- }
- function _jz(_fr, _bz) {
- var _Qr = _oq(_bz);
- if (_Qr) {
- _Qr._pq = !0;
- _Qr._qq = _vq;
- _Qr._ez = "";
- _Qr._dz = 404;
- _Qr._fz = -1
- }
- }
- function _kz(_ce, _lz, _mz, _nz, _bz, _oz, _cz) {
- _bz.open(_ce, _lz);
- _bz.ontimeout = function(_fr) {
- _jz(_fr, _bz)
- };
- _bz.onerror = function(_fr) {
- _jz(_fr, _bz)
- };
- if (_oz) {
- _bz.onload = function(_fr) {
- _iz(_fr, _bz)
- }
- } else {
- _bz.onload = function(_fr) {};
- _bz.onreadystatechange = function() {
- if (_bz.readyState == 4 && _bz.status == 200) {
- _iz(null, _bz)
- }
- }
- }
- if (_mz !== null) {
- for (var _hz in _mz) {
- if (!_mz.hasOwnProperty(_hz)) continue;
- try {
- _bz.setRequestHeader(_mz[_hz]._pz, _mz[_hz].value)
- } catch(e) {
- debug("Unable to set request header " + _mz[_hz]._pz + ":" + _mz[_hz].value + " " + e.message)
- }
- }
- }
- _bz._qz = function() {};
- _bz.send(_nz)
- }
- function _rz(_ce, _lz, _mz, _nz, _bz, _cz) {
- _bz.open(_ce, _lz, !0);
- if (_mz !== null) {
- for (var _hz in _mz) {
- if (!_mz.hasOwnProperty(_hz)) continue;
- try {
- _bz.setRequestHeader(_mz[_hz]._pz, _mz[_hz].value)
- } catch(e) {
- debug("Unable to set request header " + _mz[_hz]._pz + ":" + _mz[_hz].value + " " + e.message);
- }
- }
- } else if (_ce == "POST") {
- _bz.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
- }
- _bz.onreadystatechange = function() {
- _az(_bz, _cz)
- };
- _bz.send(_nz)
- }
- function _sz(_lz, _mz) {
- var _tz = {
- _uz: null,
- _vz: !0,
- _wz: !1
- };
- if ((_lz.substring(0, 7) != "http://") && (_lz.substring(0, 8) != "https://")) {
- _tz._vz = !1
- } else {
- var _xz = "";
- if (_lz.substring(0, 7) == "http://") {
- _xz = _lz.substring(7, _lz.length - 7)
- }
- if (_lz.substring(0, 8) == "https://") {
- _xz = _lz.substring(8, _lz.length - 7)
- }
- if (_mz !== null) {
- _tz._vz = !1
- }
- if (_xz.substring(0, document.domain.length) == document.domain) {
- _tz._vz = !1
- }
- }
- if ((_tz._vz) && (window.XDomainRequest)) {
- _tz._uz = new XDomainRequest();
- _tz._vz = !0;
- _tz._wz = !0
- } else {
- if (window.XMLHttpRequest) {
- _tz._uz = new XMLHttpRequest();
- _tz._vz = !1;
- _tz._wz = (_yz == _zz)
- } else if (window.ActiveXObject) {
- if (new ActiveXObject("Microsoft.XMLHTTP")) {
- _tz._uz = new ActiveXObject("Microsoft.XMLHTTP")
- } else {
- _tz._uz = new ActiveXObject("Msxml2.XMLHTTP")
- }
- }
- }
- return _tz
- }
- function _Az(_ce, _lz, _mz, _nz, _Bz, _Cz, _cz) {
- try {
- var _tz = _sz(_lz, _mz);
- if (_Bz) {
- _xq._Wh(_Dz, _lz, _Ez, _tz._uz)
- }
- if (_Cz !== undefined) {
- _tz._uz.responseType = _Cz
- }
- if (_tz._wz) {
- _kz(_ce, _lz, _mz, _nz, _tz._uz, _tz._vz, _cz)
- } else {
- _rz(_ce, _lz, _mz, _nz, _tz._uz, _cz)
- }
- } catch(e) {
- return - 1
- }
- return _Dz++
- }
- var _Fz = 0x7fff;
- var floor = Math.floor;
- function _Gz(_Hz) {
- var _H3 = _Hz & 0xffffffff;
- var _Mq = _Hz - _H3;
- if ((_H3 & 1) == 1) {
- if (_Mq >= 0.5) {
- return _H3 + 1
- } else {
- return _H3
- }
- } else {
- if (_Mq <= 0.5) {
- return _H3
- } else {
- return _H3 + 1
- }
- }
- }
- var round = _Gz;
- var _Xi = _Gz;
- var abs = Math.abs;
- function cos(_Hz) {
- var _V8 = Math.cos(_Hz);
- var _V9 = ~~ (_V8 * 0x1000000);
- _V8 = _V9 / 0x1000000;
- return _V8
- }
- function sin(_Hz) {
- var _V8 = Math.sin(_Hz);
- var _V9 = ~~ (_V8 * 0x1000000);
- _V8 = _V9 / 0x1000000;
- return _V8
- }
- function tan(_Hz) {
- var _V8 = Math.tan(_Hz);
- var _V9 = ~~ (_V8 * 0x1000000);
- _V8 = _V9 / 0x1000000;
- return _V8
- }
- function _Iz(_aa, _ba, _x9, _y9) {
- var _f3 = _x9 - _aa;
- var _g3 = _y9 - _ba;
- if (_f3 === 0) {
- if (_g3 > 0) return 270.0;
- else if (_g3 < 0) return 90.0;
- else return 0.0
- } else {
- var _Cw = 180.0 * Math.atan2(_g3, _f3) / _Y9;
- _Cw = (~~round(_Cw * 1000000)) / 1000000.0;
- if (_Cw <= 0.0) {
- return - _Cw
- } else {
- return (360.0 - _Cw)
- }
- }
- return _nv
- }
- function _Jz(_aa, _ba, _x9, _y9) {
- return _Iz(_aa, _ba, _x9, _y9)
- }
- function _U9(_Hz, _Kz) {
- if (_Hz < _Kz) return _Hz;
- else return _Kz
- }
- function _S9(_Hz, _Kz) {
- if (_Hz > _Kz) return _Hz;
- else return _Kz
- }
- var max = Math.max;
- var min = Math.min;
- var _Lz = [];
- var index = 0;
- var _Mz = _Nz(0);
- function _Nz(_Oz) {
- var _9q = _Oz;
- for (_H3 = 0; _H3 < 16; _H3++) {
- _9q = (((_9q * 214013 + 2531011) >> 16) & _Fz) | 0;
- _Lz[_H3] = ~~_9q
- }
- index = 0;
- _Mz = _Oz;
- return _Mz
- }
- function _Pz() {
- var _kb, _W9, _I3, _mk;
- _kb = _Lz[index];
- _I3 = _Lz[(index + 13) & 15];
- _W9 = _kb ^ _I3 ^ (_kb << 16) ^ (_I3 << 15);
- _I3 = _Lz[(index + 9) & 15];
- _I3 ^= (_I3 >> 11);
- _kb = _Lz[index] = _W9 ^ _I3;
- _mk = _kb ^ ((_kb << 5) & 0xDA442D20);
- index = (index + 15) & 15;
- _kb = _Lz[index];
- _Lz[index] = _kb ^ _W9 ^ _mk ^ (_kb << 2) ^ (_W9 << 18) ^ (_I3 << 28);
- return ((_Lz[index] & 0x7fffffff) / 2147483647.0)
- }
- function random(_Fd) {
- var _T9 = _Pz();
- return _T9 * _Fd
- }
- function _87(_Qz, _Rz) {
- if (_Qz == _Rz) {
- return _Qz
- }
- var _Sz, _Tz;
- if (_Qz > _Rz) {
- _Sz = _Rz;
- _Tz = _Qz
- } else {
- _Sz = _Qz;
- _Tz = _Rz
- }
- var _Uz = _Pz();
- _8j = _Sz + (_Uz * (_Tz - _Sz));
- _Pz();
- return _8j
- }
- function _57() {
- var __h = _57.arguments;
- var _0i = _57.arguments.length;
- var index = Math.floor(random(_0i));
- return __h[index]
- }
- function _vf(_V8) {
- if (_V8 == 0) return 0;
- if (_V8 < 0) return - 1;
- return 1
- }
- var ceil = Math.ceil;
- function _Vz(_V8) {
- return _V8 - ~~_V8
- }
- function sqrt(_V8) {
- if (_V8 >= 0) return Math.sqrt(_V8);
- else _Xg("Cannot apply sqrt to negative number.")
- }
- function _ka(_V8) {
- return _V8 * _V8
- }
- var _Wz = Math.pow;
- var exp = Math.exp;
- var _Xz = Math.log;
- var _Yz = Math.asin;
- var _Zz = Math.acos;
- var __z = Math.atan;
- var _0A = Math.atan2;
- function _1A() {
- var __h = _1A.arguments;
- var _0i = _1A.arguments.length;
- var _F9 = __h[0];
- for (var _H3 = 1; _H3 < _0i; _H3++) {
- _F9 += __h[_H3]
- }
- return (_F9 / _0i)
- }
- function _2A() {
- var arguments = _2A.arguments;
- if (arguments.length == 0) {
- return 0
- }
- var _H3, __9, _8j;
- for (_H3 = 0; _H3 < arguments.length; _H3++) {
- var _3A = 0;
- var _4A = 0;
- for (__9 = 0; __9 < arguments.length; __9++) {
- if (arguments[__9] < arguments[_H3]) {
- _3A = _3A + 1
- }
- if (arguments[__9] <= arguments[_H3]) {
- _4A = _4A + 1
- }
- }
- if ((_3A < (arguments.length / 2)) && (_4A >= (arguments.length / 2))) {
- return arguments[_H3]
- }
- }
- debug("Error: was not able to successfully find the median value");
- return 0
- }
- var _5A = 30,
- _6A = 10,
- _7A = 3,
- _8A = !0;
- function _9A(_aA, _bA) {
- var _nv = 0.0;
- while (_aA <= 0.0) {
- _aA = _aA + 360
- }
- while (_aA >= 360.0) {
- _aA = _aA - 360
- }
- while (_bA < 0.0) {
- _bA = _bA + 360
- }
- while (_bA >= 360.) {
- _bA = _bA - 360
- }
- _nv = _bA - _aA;
- if (_nv < 0) {
- _nv = -_nv
- }
- if (_nv > 180) {
- _nv = 360 - _nv
- }
- return _nv
- }
- function _cA(_lt, _V8, _W8, _dA, _eA) {
- if (_dA == _fA) {
- if (_eA) {
- return _gA(_lt, _V8, _W8)
- } else {
- return _hA(_lt, _V8, _W8)
- }
- } else {
- return (_vy(_lt, _V8, _W8, _dA) == _xy)
- }
- }
- function _iA(_lt, _V8, _W8, _jA, _dA, _eA) {
- var _nv = !1;
- var _kA = 0.0;
- var _lA = 0.0;
- var _mA = 0.0;
- if ((_lt._f3 == _V8) && (_lt._g3 == _W8)) return ! 0;
- _kA = sqrt(_do(_lt._f3 - _V8) + _do(_lt._g3 - _W8));
- if (_kA <= _jA) {
- _lA = _V8;
- _mA = _W8;
- _nv = !0
- } else {
- _lA = _lt._f3 + _jA * (_V8 - _lt._f3) / _kA;
- _mA = _lt._g3 + _jA * (_W8 - _lt._g3) / _kA;
- _nv = !1
- }
- if (!_cA(_lt, _lA, _mA, _dA, _eA)) {
- return _nv
- }
- _lt._o7(_Iz(_lt._f3, _lt._g3, _lA, _mA));
- _lt._te(_lA, _mA);
- return _nv
- }
- function _nA(_lt, _V8, _W8, _jA, _eA) {
- return _iA(_lt, _V8, _W8, _jA, _fA, _eA);
- }
- function _oA(_pA, _lt, _Ui, _dA, _eA) {
- var _nv = !1;
- var _qA = 0.0;
- var _rA = 0.0;
- if (_9A(_pA, _lt._sA) > _5A) {
- return _nv
- }
- _qA = _lt._f3 + _Ui * _7A * cos(_Y9 * _pA / 180);
- _rA = _lt._g3 - _Ui * _7A * sin(_Y9 * _pA / 180);
- if (!0 != _cA(_lt, _qA, _rA, _dA, _eA)) {
- return _nv
- }
- _qA = _lt._f3 + _Ui * cos(_Y9 * _pA / 180);
- _rA = _lt._g3 - _Ui * sin(_Y9 * _pA / 180);
- if (!0 != _cA(_lt, _qA, _rA, _dA, _eA)) {
- return _nv
- }
- _lt._o7(_pA);
- _lt._te(_qA, _rA);
- _nv = !0;
- return _nv
- }
- function _tA(_lt, _V8, _W8, _jA, _Ky, _eA) {
- var _nv = !1;
- var _kA = 0.0;
- var _uA = 0.0;
- var _vA = 0.0;
- if ((_lt._f3 == _V8) && (_lt._g3 == _W8)) {
- _nv = !0;
- return _nv
- }
- _kA = sqrt(_do(_lt._f3 - _V8) + _do(_lt._g3 - _W8));
- if (_kA <= _jA) {
- if (_cA(_lt, _V8, _W8, _Ky, _eA)) {
- _lt._o7(_Jz(_lt._f3, _lt._g3, _V8, _W8));
- _lt._te(_V8, _W8)
- }
- _nv = !0;
- return _nv
- }
- _uA = _Jz(_lt._f3, _lt._g3, _V8, _W8);
- _vA = 0;
- _nv = !1;
- while (_vA < 180) {
- if (_oA(_uA - _vA, _lt, _jA, _Ky, _eA)) {
- return _nv
- }
- if (_oA(_uA + _vA, _lt, _jA, _Ky, _eA)) {
- return _nv
- }
- _vA = _vA + _6A
- }
- if (_8A) {
- _lt._o7(_lt._sA + _5A)
- }
- return _nv
- }
- function _wA(_lt, _V8, _W8, _jA, _eA) {
- return _tA(_lt, _V8, _W8, _jA, _fA, _eA)
- }
- function _xA(_yA, _zA, _AA, _BA, _CA, _DA) {
- this._EA = _yA;
- this._FA = _zA;
- this._GA = ~~_AA;
- this._HA = ~~_BA;
- this._IA = _CA;
- this._JA = _DA;
- this._KA = [];
- this._zg()
- };
- _xA.prototype._zg = function() {
- var _LA = this._GA * this._HA;
- for (var _H3 = 0; _H3 < _LA; _H3++) {
- this._KA[_H3] = 0
- }
- };
- var _MA = _NA;
- function _NA(_Ch) {
- var _OA = _PA._Gh(_Ch);
- if (_OA) {
- _yb.globalAlpha = _Ad;
- var _xk = _Uj(0xff0000, 1.0);
- var _yk = _Uj(0x00ff00, 1.0);
- for (var _f3 = 0; _f3 < _OA._GA; _f3++) {
- for (var _g3 = 0; _g3 < _OA._HA; _g3++) {
- var _1b = _yk;
- if (_OA._KA[_f3 * _OA._HA + _g3] < 0) {
- _1b = _xk
- }
- _yb.fillStyle = _1b;
- _yb._Lv((_OA._EA + _f3 * _OA._IA), (_OA._FA + _g3 * _OA._JA), _OA._IA, _OA._JA)
- }
- }
- return
- }
- _Xg("Error: invalid mp_grid ID (mp_grid_draw)")
- }
- function _hA(_lt, _V8, _W8) {
- var _0a, _2a, _nv, _QA;
- _nv = !0;
- _0a = _lt._f3;
- _2a = _lt._g3;
- _lt._te(_V8, _W8);
- var _3i = _H8._RA();
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- _QA = _3i[_Zi];
- if (_QA._SA) {
- if (_lt._zy(_QA, !0)) {
- _nv = !1;
- break
- }
- }
- }
- _lt._te(_0a, _2a);
- return _nv
- }
- function _gA(_lt, _V8, _W8) {
- var _0a, _2a, _nv, _QA;
- _nv = !0;
- _0a = _lt._f3;
- _2a = _lt._g3;
- _lt._te(_V8, _W8);
- var _3i = _H8._RA();
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- _QA = _3i[_Zi];
- if (_lt._zy(_QA, !0)) {
- _nv = !1;
- break
- }
- }
- _lt._te(_0a, _2a);
- return _nv
- }
- function _TA(_lt, _V8, _W8, _7i) {
- var _0a, _2a, _nv, _QA;
- _nv = !1;
- _0a = _lt._f3;
- _2a = _lt._g3;
- _lt._te(_V8, _W8);
- var _3i = _j7(_7i);
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- _QA = _3i[_Zi];
- if (_lt._zy(_QA, !0)) {
- _nv = !0;
- break
- }
- }
- _lt._te(_0a, _2a);
- return _nv
- }
- function _UA(_lt, _V8, _W8, _Ui) {
- _lt._E7(_V8 - _lt._f3);
- _lt._F7(_W8 - _lt._g3);
- _lt._p7(_Ui)
- }
- function _VA(_lt, _V8, _W8, _WA) {
- if (_WA) {
- return _gA(_lt, _V8, _W8)
- } else {
- return _hA(_lt, _V8, _W8)
- }
- }
- function _XA(_Ti, _V8, _W8, _WA) {
- if (_WA) return _gA(_Ti, _V8, _W8);
- else return _hA(_Ti, _V8, _W8)
- }
- function _Yi(_U8) {
- if (!_Ys._Gh(_U8)) return ! 1;
- return ! 0
- }
- var _YA = _mj;
- var _ZA = __A;
- var _0B = _1B;
- var _2B = _3B;
- var _4B = _5B;
- var _6B = _7B;
- var _8B = _9B;
- var _aB = _bB;
- var _cB = _dB;
- var _eB = _fB;
- var _gB = _hB;
- var _iB = _jB;
- var _kB = _lB;
- var _mB = _lB;
- var _nB = _oB;
- var _pB = _qB;
- var _rB = _nj;
- var _sB = _tB;
- var _uB = _vB;
- var _wB = _xB;
- var _yB = _zB;
- var _AB = _BB;
- var _CB = _DB;
- var _EB = _FB;
- var _GB = _HB;
- var _IB = _JB;
- var _KB = _JB;
- var _LB = _qj;
- var _MB = _qj;
- var _NB = _OB;
- var _PB = _OB;
- var _QB = _OB;
- var _RB = _OB;
- var _SB = _pj;
- var _TB = _pj;
- var _UB = _VB;
- var _WB = _VB;
- var _XB = _YB;
- var _ZB = _YB;
- var __B = _0C;
- var _1C = _rj;
- var _2C = _3C;
- var _4C = _5C;
- var _6C = _7C;
- var _8C = _9C;
- var _aC = _bC;
- var _cC = _dC;
- var _eC = _fC;
- var _gC = _hC;
- var _iC = _jC;
- var _kC = _lC;
- var _mC = _nC;
- var _oC = _pC;
- var _qC = _rC;
- var _sC = _tC;
- var _uC = _vC;
- var _wC = _xC;
- function _A7(_Ti, _tj, _Ui, _yC, _zC) {
- _Ti._wj(_tj, _Ui, 1, 0, _zC, _yC)
- }
- function _AC(_Ti) {
- _Ti._wj( - 1, 0, 1, 0, !1, 0)
- }
- var _BC = _CC;
- function _CC(_Ch, _DC, _EC, _zC) {
- var _FC = _GC._a3[_Ch];
- if (!_FC) return;
- _yb.globalAlpha = _Ad;
- _yb.strokeStyle = _qv;
- var _0a, _2a, _jr;
- var _HC = 0;
- var _IC = _FC._JC(0);
- if (!_zC) {
- _DC = _DC - _IC._f3;
- _EC = _EC - _IC._g3
- } else {
- _DC = 0;
- _EC = 0
- }
- _HC = _Xi(_FC.length / 4.0);
- if (_HC == 0) return;
- var _z3 = !0;
- _yb.__v();
- for (var _H3 = 0; _H3 <= _HC; _H3++) {
- _IC = _FC._JC(_H3 / _HC);
- if (_z3) {
- _yb._0w(_DC + _IC._f3, _EC + _IC._g3);
- _z3 = !1
- } else {
- _yb._1w(_DC + _IC._f3, _EC + _IC._g3)
- }
- }
- _yb._3w();
- _yb._2w()
- }
- var _KC = new _LC();
- var _MC = new _LC();
- var _NC = new _LC();
- function _OC() {
- var _PC = _KC._Wh(new _QC(_PC));
- return _PC
- }
- function _RC(_SC) {
- var _TC = _KC._Gh(_SC);
- _TC._UC()
- }
- function _VC(_SC, _WC) {
- var _TC = _KC._Gh(_SC);
- _TC._XC(_WC)
- }
- function _YC(_SC, _ZC) {
- var _TC = _KC._Gh(_SC);
- _TC.__C(_ZC)
- }
- function _0D(_SC, _1D) {
- var _TC = _KC._Gh(_SC);
- _TC._2D(_1D)
- }
- function _3D(_SC, _4D) {
- var _TC = _KC._Gh(_SC);
- _TC._5D(_4D)
- }
- function _6D(_SC, _7D) {
- var _TC = _KC._Gh(_SC);
- _TC._8D((_7D > 0.5) ? !0 : !1)
- }
- function _9D(_SC, _aD) {
- var _TC = _KC._Gh(_SC);
- _TC._bD(_aD)
- }
- function _cD(_SC, _aD) {
- var _TC = _KC._Gh(_SC);
- _TC._dD(_aD)
- }
- function _eD(_SC, _fD) {
- var _TC = _KC._Gh(_SC);
- _TC._gD(_fD)
- }
- function _hD(_SC, _iD) {
- var _TC = _KC._Gh(_SC);
- _TC._jD(_iD * _H8._kD._lD)
- }
- function _mD(_SC) {
- var _TC = _KC._Gh(_SC);
- _TC._nD()
- }
- function _oD(_SC, _pD, _qD) {
- var _TC = _KC._Gh(_SC);
- var scale = _H8._kD._lD;
- _TC._rD(_pD * scale, _qD * scale);
- }
- function _sD(_Ti, _SC, _Ch, _tD, _uD) {
- var _vD = -1;
- var _TC = _KC._Gh(_SC);
- var _7i = Math.floor(_Ch);
- if (_7i == _wD) {
- _7i = _Ti.id
- }
- if (_7i == _fA) {
- var _3i = _dy._RA();
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- var _Ay = _3i[_Zi];
- if (_Ay._xD) continue;
- _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD)
- }
- } else if (_7i < 100000) {
- var _li = _Ys._Gh(_7i);
- if (_li === null) {
- return _zD
- }
- var _3i = _li._AD();
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- var _Ay = _3i[_Zi];
- if (_Ay._xD) continue;
- _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD)
- }
- } else {
- var _Ay = _dy._Gh(_7i);
- _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD)
- }
- return _vD
- }
- function _BD(_Ti, _SC, _Ch) {
- return _sD(_Ti, _SC, _Ch, 0.0, 0.0)
- }
- function _CD(_U8, _Cd, _DD) {
- var _ED = _FD._Gh(_U8);
- if (_ED === null) return;
- var _GD = _ED._HD;
- _GD._b5 = _Cd;
- _GD._k5 = _DD
- }
- var _ID = _CD;
- function _b8() {
- if ((_H8._JD + 1) >= _FD._KD.length) return;
- _LD = _FD._MD(_H8._JD + 1).id
- }
- function _cj() {
- _LD = _H8.id
- }
- function _S6(_ND) {
- var _OD = _FD._Gh(_ND);
- if ((_OD == null) || (_OD == undefined)) {
- _Zp("Error: Room " + _ND + " is not a valid room index")
- } else {
- _LD = _ND
- }
- }
- function _PD() {
- _S6(_QD)
- }
- var _RD = function() {
- _nc("yy_texture_get_texel_width()")
- };
- var _SD = function() {
- _nc("yy_texture_get_texel_height()");
- };
- var _TD = function() {
- _nc("texture_set_stage()")
- };
- var _UD = function() {
- _nc("shader_is_compiled()")
- };
- var _VD = function() {
- _nc("shader_set()")
- };
- var _WD = function() {
- _nc("shader_get_uniform()")
- };
- var _XD = function() {
- _nc("shader_set_uniform_i()")
- };
- var _YD = function() {
- _nc("shader_set_uniform_f()")
- };
- var _ZD = function() {
- _nc("shader_set_uniform_matrix()")
- };
- var __D = function() {
- _nc("shader_set_uniform_matrix()")
- };
- var _0E = function() {
- _nc("shader_enable_corner_id()")
- };
- var _1E = function() {
- _nc("shader_set_uniform_array_i()");
- };
- var _2E = function() {
- _nc("shader_set_uniform_array_f()")
- };
- var _3E = function() {
- _nc("shader_set_uniform_matrix_array()")
- };
- function _4E() {
- return 0
- }
- var _5E = [];
- var _6E = 200000;
- var _7E = _6E;
- var _8E = [];
- var _9E = 0;
- var audio_sampledata = [];
- var _aE = !1;
- var _bE = 0;
- var _cE = 128;
- var _dE = null;
- var _eE = 0;
- var _fE = [];
- var _gE = {
- _hE: 0,
- _iE: 1,
- _jE: 2,
- _kE: 3,
- _lE: 4,
- _mE: 5,
- _nE: 6
- };
- var _oE = 0;
- var _pE = 1.0;
- var _qE = 0;
- function _rE() {
- if (_4h != _5h) return;
- _bE++
- }
- var _sE;
- function _tE() {
- if (_4h != _5h) {
- return
- }
- _uE = g_WebAudioContext.createGainNode();
- _uE.connect(g_WebAudioContext.destination);
- _vE = g_WebAudioContext.createGainNode();
- _vE.connect(_uE);
- _wE(_gE._iE);
- var _xE;
- if (typeof document.hidden !== "undefined") {
- _sE = "hidden";
- _xE = "visibilitychange"
- } else if (typeof document.mozHidden !== "undefined") {
- _sE = "mozHidden";
- _xE = "mozvisibilitychange"
- } else if (typeof document.msHidden !== "undefined") {
- _sE = "msHidden";
- _xE = "msvisibilitychange"
- } else if (typeof document.webkitHidden !== "undefined") {
- _sE = "webkitHidden";
- _xE = "webkitvisibilitychange"
- }
- document.addEventListener(_xE, _yE, !1);
- _zE(0, 0, 0);
- _AE(0, 0, 1.0, 0, 1.0, 0.0)
- }
- function _BE() {
- this.buffer = null;
- this.gain = 1.0;
- this._CE = 1.0;
- this._DE = 1.0;
- this.duration = 0.0
- }
- function _EE(_FE, _GE, _HE) {
- this._IE = g_WebAudioContext.createGainNode();
- this._JE = null;
- this._gr = 0;
- this._KE(_FE, _GE, _HE)
- }
- _EE.prototype._KE = function(_FE, _GE, _HE) {
- this._LE = !1;
- this._ME = g_WebAudioContext.currentTime;
- this.playbackpoint = 0;
- this._NE = null;
- this.gain = 1.0;
- this._IE.gain.value = 1;
- if (this._JE != null) {
- this._JE.disconnect();
- this._JE = null
- }
- this.paused = !1;
- this._OE = _FE;
- this._PE = _HE;
- this._QE = !1;
- this._RE = _GE;
- this._SE = !1;
- this._TE = null;
- this._UE = null;
- if (_FE >= 0) {
- this._SE = _VE(_FE);
- this._IE.gain.value = audio_sampledata[_FE].gain;
- if (this._gr >= _6E) {
- _fE[this._gr - _6E] = null
- }
- this._gr = _7E;
- _fE[_7E - _6E] = this; ++_7E
- }
- };
- function _VE(_OE) {
- if (_OE >= 0 && _OE < _Yp._X2.length) {
- if (_Yp._X2[_OE]._b3 == 1) {
- return ! 0
- }
- } else {
- debug("Error: soundid " + _OE + " not found")
- }
- return ! 1
- }
- function _6h() {
- var _WE = g_WebAudioContext.createBufferSource();
- var gain = g_WebAudioContext.createGainNode();
- _WE.connect(gain);
- gain.connect(g_WebAudioContext.destination);
- gain.gain.value = 0;
- _WE.noteOn(0)
- }
- function _XE(_YE) {
- if (_YE._LE) {
- if (_YE._SE) _ZE(_YE);
- else __E(_YE);
- _YE._OE = -1;
- _YE._LE = !1
- }
- }
- function _ZE(_YE) {
- if (_YE._TE != null) {
- try {
- _YE._TE.pause();
- _YE._UE.disconnect();
- if (_YE._IE != null) _YE._IE.disconnect();
- if (_YE._JE != null) {
- _YE._JE.disconnect();
- _YE._JE = null
- }
- } catch(_0F) {
- debug("Audio_StopStreamed exception: " + _0F)
- }
- }
- }
- function __E(_YE) {
- try {
- if (_YE._NE != null) {
- _YE._NE.noteOff(0);
- _YE._NE.disconnect();
- if (_YE._IE != null) _YE._IE.disconnect();
- if (_YE._JE != null) {
- _YE._JE.disconnect();
- _YE._JE = null
- }
- }
- } catch(_0F) {
- debug("Audio_StopUnstreamed exception: " + _0F)
- }
- }
- function _1F(_YE) {
- if (!_YE.paused) {
- if (_YE._SE) _2F(_YE);
- else _3F(_YE);
- _YE.paused = !0
- }
- }
- function _2F(_YE) {
- try {
- _YE._TE.pause()
- } catch(_0F) {
- debug("Audio_PauseStreamed exception: " + _0F)
- }
- }
- function _3F(_YE) {
- try {
- _YE._NE.onended = null;
- _YE._NE.noteOff(0);
- _YE.playbackpoint += g_WebAudioContext.currentTime - _YE._ME
- } catch(_0F) {
- debug("Audio_PauseUnstreamed exception: " + _0F)
- }
- }
- function _4F(_YE) {
- if (_YE.paused) {
- if (_YE._SE) _5F(_YE);
- else _6F(_YE);
- _YE.paused = !1
- }
- }
- function _5F(_YE) {
- if (_YE.paused) {
- try {
- _YE._TE.play()
- } catch(_0F) {
- debug("Audio_ResumeStreamed exception: " + _0F);
- }
- }
- }
- function _6F(_YE) {
- try {
- _YE._NE = g_WebAudioContext.createBufferSource();
- _YE._ME = g_WebAudioContext.currentTime;
- _YE._IE = g_WebAudioContext.createGainNode();
- _YE._IE.gain.value = _YE.gain * audio_sampledata[_YE._OE].gain;
- _YE._NE.connect(_YE._IE);
- _YE._NE.onended = function(event) {
- _YE._LE = !1
- };
- if (_YE._JE != null) {
- _YE._IE.connect(_YE._JE)
- } else {
- _YE._IE.connect(_uE)
- }
- _YE._NE.buffer = audio_sampledata[_YE._OE].buffer;
- if (_YE._PE > 0) _YE._NE.loop = !0; {
- var _7F = Math.floor(_YE.playbackpoint / _YE._NE.buffer.duration);
- var _8F = _YE.playbackpoint - _7F * _YE._NE.buffer.duration;
- _YE._NE.noteGrainOn(0, _8F, _YE._NE.buffer.duration - _8F)
- }
- } catch(_0F) {
- debug("Audio_ResumeUnstreamed exception: " + _0F)
- }
- }
- function _9F(_YE) {
- var _aF = !1;
- if (_YE._LE) {
- return _YE.paused
- }
- return ! 1
- }
- function _bF(_YE) {
- var _cF = !1;
- if (_YE._LE) {
- if (_YE._SE) _cF = _dF(_YE);
- else _cF = _eF(_YE)
- }
- return _cF
- }
- function _eF(_YE) {
- if (_YE._NE != null) {
- if ((_YE._NE.playbackState == undefined || _YE._NE.playbackState != _YE._NE.FINISHED_STATE) || _YE.paused) {
- return ! 0
- }
- }
- return ! 1
- }
- function _dF(_YE) {
- if (_YE._TE != null) {
- if (!_YE._TE.ended) {
- return ! 0;
- }
- }
- return ! 1
- }
- function _yE() {
- if (_4h == _5h) {
- if (document[_sE] == !0) {
- if (!_aE) {
- _aE = !0;
- _fF(!0)
- }
- } else if (document[_sE] == !1) {
- if (_aE) {
- _gF(!0);
- _aE = !1
- }
- }
- }
- }
- var _hF;
- function _wE(_iF) {
- if (_4h != _5h) {
- return
- }
- var _jF = g_WebAudioContext.createPanner();
- _hF = _jF.INVERSE_DISTANCE;
- switch (_iF) {
- case _gE._hE:
- debug("Audio_falloff_none not supported in html5\n");
- break;
- case _gE._iE:
- _hF = _jF.INVERSE_DISTANCE;
- break;
- case _gE._jE:
- debug("Audio_falloff_inverse_distance_clamped not supported in html5\n");
- break;
- case _gE._kE:
- _hF = _jF.LINEAR_DISTANCE;
- break;
- case _gE._lE:
- debug("Audio_falloff_linear_distance_clamped not supported in html5\n");
- break;
- case _gE._mE:
- _hF = _jF.EXPONENTIAL_DISTANCE;
- break;
- case _gE._nE:
- debug("Audio_falloff_exponent_distance_clamped not supported in html5\n");
- break;
- default:
- debug("Attempting to set audio falloff to unknown model\n");
- break
- }
- }
- function _fF(_kF) {
- for (_H3 = 0; _H3 < _eE; ++_H3) {
- var _WE = _5E[_H3];
- if (_WE._LE) {
- if (!_WE.paused) {
- _1F(_WE);
- if (_kF) _WE._QE = !0
- }
- }
- }
- }
- function _lF() {
- for (_H3 = 0; _H3 < _eE; ++_H3) {
- var _WE = _5E[_H3];
- if (_WE._LE) {
- _XE(_WE)
- }
- }
- }
- function _gF(_kF) {
- for (_H3 = 0; _H3 < _eE; ++_H3) {
- var _WE = _5E[_H3];
- if (_WE._LE) {
- if (_WE.paused) {
- if (_kF) {
- if (_WE._QE) {
- _4F(_WE);
- _WE._QE = !1
- }
- } else {
- _4F(_WE)
- }
- }
- }
- }
- }
- function _zE(_mF, _nF, _oF) {
- if (_4h == _5h) {
- g_WebAudioContext.listener.setPosition(_mF, _nF, _oF)
- }
- }
- function _AE(_mF, _nF, _oF, _pF, _qF, _rF) {
- if (_4h == _5h) g_WebAudioContext.listener.setOrientation(_mF, _nF, _oF, _pF, _qF, _rF)
- }
- function _sF(e) {
- if (_4h != _5h) return;
- var targetid = e.target.targetid;
- debug("error loading sound" + targetid);
- if (targetid == undefined) {} else {
- debug("AudioError: " + this.URL);
- this.completed = !1;
- _tF++;
- ClearEventListeners(this)
- }
- }
- function _uF(e) {
- if (_4h != _5h) return;
- var targetid = e.target.targetid;
- if (_vF) debug("sound loaded" + targetid);
- if (targetid == undefined) {} else {
- this.completed = !0;
- ClearEventListeners(this);
- try {
- g_WebAudioContext.decodeAudioData(e.target.response,
- function(buffer) {
- var _wF = new _BE();
- audio_sampledata[targetid] = _wF;
- _wF.buffer = buffer;
- _tF++;
- var _xF = _Yp._X2[targetid].volume;
- _wF.gain = _xF;
- _wF._CE = _xF;
- _wF._DE = 1.0
- },
- function(err) {
- debug("error decoding audio data:" + err);
- _tF++
- })
- } catch(_yF) {
- debug("error decoding audio data: " + _yF.message);
- _tF++
- }
- }
- }
- function _zF(_lz, _Ch, _AF) {
- var _wF = new _BE();
- audio_sampledata[_Ch] = _wF;
- _wF.buffer = null;
- var _xF = _Yp._X2[_Ch].volume;
- _wF._CE = _xF;
- _wF.gain = _xF;
- _wF._DE = 1.0;
- if (_Yp._X2[_Ch].duration != undefined) {
- _wF.duration = _Yp._X2[_Ch].duration
- }
- }
- function _BF(_lz, _Ch, _AF) {
- _lz = _CF(_lz);
- if ((_4h != _5h) || (_DF == !1)) {
- return undefined
- }
- var _EF;
- var index;
- index = _lz.indexOf(_AF);
- if (index >= 0) {
- _lz = _lz.substr(0, index)
- }
- if (_FF) {
- _AF = "ogg"
- } else if (_GF) {
- _AF = "mp3"
- } else {
- _AF = "ogg"
- }
- _lz = _lz + "." + _AF;
- var _9y = new XMLHttpRequest();
- _9y.open('GET', _lz, !0);
- _9y.responseType = 'arraybuffer';
- _9y.targetid = _Ch;
- _9y.URL = _lz;
- _9y.completed = !1;
- _9y.onload = _uF;
- _9y.onerror = _sF;
- _9y.send();
- _HF[_Ch] = _9y;
- return _Ch
- }
- var _IF = 0,
- _JF = 1,
- _KF = 2,
- _LF = 3;
- function _MF(_NF) {
- if (_Ry._Gh(_NF) == null) return ! 1;
- return ! 0
- }
- var _OF = _PF;
- function _PF(_U8, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- _TF = _Ry._Gh(_U8);
- _TF._P9++;
- _QF.width = _TF.width;
- _QF.height = _TF.height;
- _RF._UF(canvas, _V8, _W8, _vh, _wh, 0, 0, _QF.width, _QF.height);
- if (_Aj) {
- _QF.complete = _Hj(_RF, _vh, _wh)
- } else {
- _QF.complete = !0
- }
- _TF._P9++;
- var _Kj = new _Lj();
- _TF._VF[_TF._VF.length] = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _TF.width;
- _Kj._K3 = _TF.height;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- return _U8
- }
- var _XF = _YF;
- function _YF(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj, _ZF, __F) {
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- _QF.width = _Fj._Gh(_Ch).width;
- _QF.height = _Fj._Gh(_Ch).height;
- _RF._UF(_Fj._Gh(_Ch), 0, 0);
- if (_Aj) {
- _QF.complete = _Hj(_RF, _vh, _wh)
- } else {
- _QF.complete = !0
- }
- var _TF = new _0G();
- var _1G = _Ry._2G(_TF);
- _TF._Z2 = "surface.copy";
- _TF.width = _QF.width;
- _TF.height = _QF.height;
- _TF._Iy = new _Iq();
- _TF._Iy._q9 = _TF.width;
- _TF._Iy.bottom = _TF.height;
- _TF._03 = !0;
- _TF._13 = !0;
- _TF.preload = !0;
- _TF._3G = 0;
- _TF._4G = !1;
- _TF._23 = _ZF;
- _TF._33 = __F;
- _TF._5G = !0;
- _TF._P9 = 1;
- _TF._6G = !1;
- _TF._7G = !1;
- _TF._Q9 = [];
- _TF._VF = [];
- _TF._8G = [];
- _TF._9G();
- var _Kj = new _Lj();
- _TF._VF[0] = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _TF.width;
- _Kj._K3 = _TF.height;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _aG(_Kj);
- return _1G
- }
- var _bG = _cG;
- function _cG(_U8, _Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- _TF = _Ry._Gh(_U8);
- _TF._P9++;
- _QF.width = _TF.width;
- _QF.height = _TF.height;
- _RF._UF(_Fj._Gh(_Ch), 0, 0, _vh, _wh, 0, 0, _QF.width, _QF.height);
- if (_Aj) {
- _QF.complete = _Hj(_RF, _vh, _wh)
- } else {
- _QF.complete = !0
- }
- var _Kj = new _Lj();
- _TF._VF[_TF._VF.length] = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _TF.width;
- _Kj._K3 = _TF.height;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- return _U8
- }
- var _dG = _eG;
- function _eG(_U8) {
- var _fG = _Ry._Gh(_U8);
- if (_fG == null) return 0;
- var _TF = new _0G();
- var _1G = _Ry._2G(_TF);
- _TF._Z2 = _fG._Z2 + ".copy";
- _TF.width = _fG.width;
- _TF.height = _fG.height;
- _TF._Iy._yh(_fG._Iy);
- _TF._03 = _fG._03;
- _TF._13 = _fG._13;
- _TF.preload = _fG.preload;
- _TF._3G = _fG._3G;
- _TF._4G = _fG._4G;
- _TF._23 = _fG._23;
- _TF._33 = _fG._33;
- _TF._5G = !0;
- _TF._P9 = _fG._P9;
- _TF._gG = _fG._gG;
- _TF._6G = _fG._6G;
- _TF._7G = _fG._7G;
- _TF._Q9 = [];
- _TF._VF = [];
- _TF._8G = [];
- for (var _H3 = 0; _H3 < _fG._P9; _H3++) {
- var _Kj = new _Lj();
- _TF._VF[_H3] = _Kj;
- _Kj._5G(_fG._VF[_H3]);
- var _hG = _iG(_fG._VF[_H3]);
- _Kj._y5 = _WF(_hG);
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._Ga = _Ha[_Kj._y5]
- }
- return _1G
- }
- function _jG(_kG, _lG, _mG, _nG, _ud, _oG) {
- var _J3 = _lG._w5;
- var _K3 = _lG._x5;
- var _pG = [];
- var _qG = _K3 * _J3;
- for (__9 = 0; __9 < _qG; __9++) _pG[__9] = !1;
- if (_ud == _IF) {
- var _rG = _sG(_lG);
- var index = 0;
- for (var _H3 = 0; _H3 < _rG.length; _H3 += 4) {
- if (_rG[_H3 + 3] > _oG) {
- _pG[index] = !0
- } else {
- _pG[index] = !1
- }
- index++
- }
- } else {
- switch (_ud) {
- case _JF:
- {
- for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) {
- for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) {
- _pG[_f3 + (_g3 * _J3)] = !0
- }
- }
- break
- }
- case _KF:
- {
- var _ga = (_nG.left + _nG._q9) / 2;
- var _Yb = _ga - _nG.left + 0.5;
- var _ha = (_nG.top + _nG.bottom) / 2;
- var _Zb = _ha - _nG.top + 0.5;
- for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) {
- for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) {
- if ((_Yb > 0) && (_Zb > 0)) {
- _pG[_f3 + (_g3 * _J3)] = _ka((_f3 - _ga) / _Yb) + _ka((_g3 - _ha) / _Zb) < 1
- }
- }
- }
- break
- }
- case _LF:
- {
- var _ga = (_nG.left + _nG._q9) / 2;
- var _Yb = _ga - _nG.left + 0.5;
- var _ha = (_nG.top + _nG.bottom) / 2;
- var _Zb = _ha - _nG.top + 0.5;
- for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) {
- for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) {
- if ((_Yb > 0) && (_Zb > 0)) {
- _pG[_f3 + (_g3 * _J3)] = Math.abs((_f3 - _ga) / _Yb) + Math.abs((_g3 - _ha) / _Zb) < 1
- }
- }
- }
- break
- }
- }
- }
- if (_kG != null) {
- for (var _H3 = 0; _H3 < _pG.length; _H3++) {
- if (_kG[_H3]) _pG[_H3] = !0
- }
- }
- return _pG
- }
- function _tG(_uG, _vG) {
- if (_MF(_uG)) {
- var _wG = _Ry._Gh(_uG);
- var _Kj = _wG._xG(~~_vG);
- if (_Kj) {
- return ({
- _vd: _Kj._Ga,
- _Ld: _Kj
- })
- }
- }
- return null
- }
- function _Nq(_Dh) {
- return String.fromCharCode(_Dh)
- }
- function _yG(_Xr) {
- if (!_Xr || _Xr == "") return 0;
- return _Xr.charCodeAt(0)
- }
- function _sy(_Xr) {
- if (_Xr == undefined) {
- return 0
- } else if (typeof(_Xr) == "boolean") {
- if (_Xr) return 1;
- else return 0;
- } else if (typeof(_Xr) == "number") {
- return _Xr
- }
- return parseFloat(_Xr)
- }
- function _zG(_7i) {
- if (_7i == undefined) {
- return "undefined"
- }
- if (_7i instanceof Array) {
- var _Nh = "{";
- for (var _H3 = 0; _H3 < _7i.length; ++_H3) {
- if (_H3 != 0) _Nh += ",";
- _Nh += _zG(_7i[_H3])
- }
- _Nh += "}";
- return _Nh
- } else if (typeof(_7i) == "number") {
- if ((~~_7i) != _7i) {
- return _7i.toFixed(2).toString()
- } else {
- return _7i.toString()
- }
- } else if (typeof(_7i) == "boolean") {
- if (_7i) return "1";
- else return "0"
- } else {
- return _7i.toString()
- }
- }
- var _AG = [];
- function _BG(_CG) {
- debug("myBrandConnectReadyEvent");
- _AG = _CG
- }
- function _DG() {
- _sq()
- }
- function _EG() {
- _FG = !0;
- debug("myBrandConnectDoneEvent")
- }
- function _GG() {
- var _HG = document.getElementById("ssaBrandConnectInterstitial");
- var _IG = document.getElementById("gm4html5_div_id");
- _IG.appendChild(_HG);
- _gq()
- }
- var _JG = !1;
- var _FG = !1;
- var ssa_json = {
- 'applicationUserId': '1234',
- 'applicationKey': '2b46ec59',
- 'onCampaignsReady': _BG,
- 'onCampaignsDone': _EG,
- 'onCampaignClose': _DG,
- 'onCampaignOpen': _GG,
- 'maxWidth': 1000,
- 'maxHeight': 700,
- };
- var _KG = (function(_mk, _V9) {
- var _jb = _mk.createElement(_V9),
- _9q = _mk.getElementsByTagName(_V9)[0];
- _jb._7r = !0;
- _jb.src = ('https:' != location.protocol ? 'http://jsd.supersonicads.com': 'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com') + '/inlineDelivery/delivery.min.gz.js';
- _9q.parentNode.insertBefore(_jb, _9q)
- });
- var _LG = ads_engagement_launch;
- function ads_engagement_launch(_MG, _NG) {
- if (SSA_CORE != undefined) SSA_CORE.BrandConnect.engage();
- }
- var _OG = [];
- _PG = _QG;
- function _QG(_Ch, _vh, _wh) {
- if (_Ch == _RG) {
- _SG = !0;
- _TG = _vh;
- _UG = _wh;
- return 1
- }
- if (!_VG(_Ch)) {
- _Xg("Surface does not exist");
- return 0
- }
- _Dj(_vh, _wh, _Ch);
- return 0
- }
- _Dj = _WG;
- function _WG(_vh, _wh, _XG) {
- var _Tj = document.createElement(_cq);
- _Tj._Od = _Tj.width = _vh;
- _Tj._Pd = _Tj.height = _wh;
- _Tj.complete = !0;
- _Tj._YG = !1;
- _Tj.name = "";
- _Tj._yb = _Tj.getContext('2d');
- _SF(_Tj._yb);
- var _Kj = new _Lj();
- _Tj._ZG = _Kj;
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _vh;
- _Kj._K3 = _wh;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- if (_XG != undefined) {
- _Fj._gi(_XG, _Tj);
- _Kj._y5 = _XG
- } else {
- _Kj._y5 = _Fj._Wh(_Tj)
- }
- _Kj._Ga = _Tj;
- _Kj._Da = [];
- _Kj._Ea = 0;
- _Kj._Fa = 4;
- _Kj.__G = 0;
- _Kj._0H = null;
- _Kj._QF = _Tj;
- return _Kj._y5
- }
- var _1H = _2H;
- function _2H(_Ch) {
- _Fj._di(_Ch)
- }
- function _VG(_Ch) {
- if (_Fj._Gh(_Ch) != null) return ! 0;
- else return ! 1
- }
- function _3H(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- return _Tj._Od
- }
- return 0
- }
- function _4H(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- return _Tj._Pd
- }
- return 0
- }
- _5H = _6H;
- function _6H(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _yb._Lu();
- _OG.push(_yb);
- _Tj._yb._7H = _Ch;
- _yb = _Tj._yb;
- _8H = !1
- }
- }
- var _9H, _aH, _bH, _cH;
- var _dH = _eH;
- function _eH(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _fH.left = _gH.left;
- _fH.top = _gH.top;
- _fH._q9 = _gH._q9;
- _fH.bottom = _gH.bottom;
- _gH.left = 0;
- _gH.top = 0;
- _gH._q9 = _Tj._Od;
- _gH.bottom = _Tj._Pd;
- _hH._yh(_iH);
- _iH._jH = 0;
- _iH._kH = 0;
- _iH._lH = _Tj._Od;
- _iH._mH = _Tj._Pd;
- _iH._nH = 0;
- _iH._oH = 0;
- _iH._pH = _Tj._Od;
- _iH._qH = _Tj._Pd;
- _iH._Qg = 0;
- _iH._Sg = 0;
- _iH._rH = _Tj._Od;
- _iH._sH = _Tj._Pd;
- _iH._Rg = _iH._Qg + _iH._rH;
- _iH._Tg = _iH._Sg + _iH._sH;
- _yb._Lu();
- _OG.push(_yb);
- _9H = _Ou;
- _aH = _Pu;
- _bH = _Qu;
- _cH = _Ru;
- _tH(0, 0, _Tj._Od, _Tj._Pd);
- _uH(0, 0, _Tj._Od, _Tj._Pd);
- g_CurrentGraphics = _Tj._yb;
- _yb = _Tj._yb;
- _yb._Lu();
- _8H = !0
- }
- }
- var _vH = _wH;
- function _wH() {
- if (_8H) {
- _gH = _fH;
- _iH._yh(_hH);
- _tH(_9H, _aH, _bH, _cH);
- _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH);
- _yb._Su()
- }
- var _xH = _OG.pop();
- _yb = _xH ? _xH: _yH;
- g_CurrentGraphics = _yb;
- _yb._Su()
- }
- function _cw(_zH, _V8, _W8) {
- var data = null;
- var _Gj = _zH.getContext('2d');
- try {
- data = _Gj._AH(_V8, _W8, 1, 1)
- } catch(_yF) {
- return 0xff000000
- }
- _BH = data.data;
- var index = 0;
- var _CH = _BH[index] & 0xff;
- var _DH = _BH[index + 1] & 0xff;
- var _EH = _BH[index + 2] & 0xff;
- var _FH = _BH[index + 3] & 0xff;
- return (_CH | (_DH << 8) | (_EH << 16) | (_FH << 24))
- }
- var _GH = _HH;
- var _IH = _JH;
- function _HH(_Ch, _V8, _W8) {
- return _JH(_Ch, _V8, _W8) & 0xffffff
- }
- function _JH(_Ch, _V8, _W8) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- return _cw(_Tj, _Xi(_V8), _Xi(_W8))
- }
- return 0x00000000
- }
- var _KH = _LH;
- function _LH(_Ch, _V8, _W8) {
- var _Tj = _Fj._Gh(_Ch);
- if (!_Tj) return;
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- var alpha = _yb.globalAlpha; {
- _yb.globalAlpha = _Ad;
- _yb._UF(_Tj, _V8, _W8)
- }
- _yb.globalAlpha = alpha
- }
- function _MH(_Ch, _V8, _W8, _vh, _wh) {
- var _Tj = _Fj._Gh(_Ch);
- if (!_Tj) return;
- _NH(_Tj._ZG, _V8, _W8, _vh, _wh, 0xffffff, 1.0)
- }
- var _OH = _PH;
- function _PH(_Ch, _V8, _W8, __l, _0m, _QH, _Gd) {
- _nc("draw_surface_tiled_ext()")
- }
- function _RH(_SH, _V8, _W8, _TH) {
- var _Ej = _Fj._Gh(_SH);
- var _Qj = _Fj._Gh(_TH);
- if (_Ej != null && _Qj != null) {
- var _Gj = _Ej.getContext('2d');
- _Gj.save();
- _Gj.globalCompositeOperation = 'copy';
- _Gj.drawImage(_Qj, _V8, _W8);
- _Gj.restore()
- }
- }
- function _UH(_SH, _V8, _W8, _TH, _VH, _WH, _XH, _YH) {
- var _Ej = _Fj._Gh(_SH);
- var _Qj = _Fj._Gh(_TH);
- if (_Ej != null && _Qj != null) {
- var _Mu = [];
- var _Gj = _Ej.getContext('2d');
- _Gj.save();
- _Mu[0] = 1;
- _Mu[1] = 0;
- _Mu[2] = 0;
- _Mu[3] = 1;
- _Mu[4] = 0;
- _Mu[5] = 0;
- _Gj.setTransform(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]);
- _Gj.beginPath();
- _Gj.rect(_V8, _W8, _XH, _YH);
- _Gj.clip();
- _Gj.globalCompositeOperation = 'copy';
- _Gj.drawImage(_Qj, _VH, _WH, _XH, _YH, _V8, _W8, _XH, _YH);
- _Gj.restore()
- }
- }
- function _97(_lt, _ZH, __H, _V8, _W8) {
- if (__H < 0) __H = ~~_lt._L7;
- var _fG = _Ry._Gh(_ZH);
- if (_fG != null) {
- _fG._0I(__H, _V8, _W8, _Ad)
- }
- }
- function _1I(_2I, _3I) {
- if (_2I) {
- if (_3I === undefined) {
- canvas.style.cursor = ""
- } else {
- canvas.style.cursor = _3I
- }
- } else {
- canvas.style.cursor = "none"
- }
- }
- function _4I(_Cd) {
- _5I = _Dd(_Cd)
- }
- var _6I = _4I;
- function _7I() {
- return _Dd(_5I)
- }
- var _8I = _7I;
- function _T6(_V8, _W8) {
- var _9I = document.getElementById(_cq);
- var _aI = _9I;
- for (var _aI = _9I; _aI; _aI = _aI.parentNode) {
- var position;
- if (_aI["currentStyle"]) {
- position = _aI["currentStyle"]["position"]
- } else if (window.getComputedStyle) {
- try {
- var style = window.getComputedStyle(_aI, null);
- if (style) {
- position = style.getPropertyValue("position")
- }
- } catch(e) {}
- }
- if (position && (position == "fixed")) {
- debug("Warning: Canvas position fixed. Ignoring position alterations");
- return
- }
- }
- _9I.style.position = "absolute";
- _9I.style.left = _V8 + "px";
- _9I.style.top = _W8 + "px"
- }
- function _U6(_vh, _wh) {
- canvas.width = _vh;
- canvas.height = _wh;
- _9w = _vh;
- _bw = _wh;
- _bI = canvas.width;
- _cI = canvas.height;
- _Og(canvas, _Pg);
- _dI = _Pg.top;
- _eI = _Pg.left;
- _fI = _Pg._q9;
- _gI = _Pg.bottom;
- _hI = _bI;
- _iI = _cI;
- _jI = _vh;
- _kI = _wh;
- _lI = 1;
- _mI = 1
- }
- function _nI(_V8, _W8, _vh, _wh) {
- _U6(_vh, _wh);
- _T6(_V8, _W8)
- }
- function _oI() {
- return _fI - _eI
- }
- function _pI() {
- return _gI - _dI
- }
- var _qI;
- var _rI;
- var _sI;
- var _tI;
- var _uI;
- var _vI;
- var _wI;
- var _xI;
- var _yI;
- var _zI;
- var _AI;
- var _BI;
- var _CI = 0;
- var _DI = 1,
- _EI = 2,
- _FI = 3,
- _GI = 4,
- _HI = 5,
- _II = 6;
- var _JI = aa_1241_kz();
- function aa_1241_kz() {
- return 0x87155211
- }
- function _KI() {
- var _LI = null;
- if (window.XMLHttpRequest) {
- _LI = new XMLHttpRequest()
- }
- if (typeof(XMLHttpRequest) == "undefined") {
- _LI = function() {
- try {
- return new ActiveXObject("Msxml2.XMLHTTP.6.0")
- } catch(e) {}
- try {
- return new ActiveXObject("Msxml2.XMLHTTP.3.0")
- } catch(e) {}
- try {
- return new ActiveXObject("Msxml2.XMLHTTP")
- } catch(e) {}
- throw new _Xg("This browser does not support XMLHttpRequest.")
- }
- }
- this._MI = _LI;
- this._NI = !1
- }
- var _OI = new _KI();
- function _PI() {}
- var _QI = _RI;
- function _RI(_2I) {}
- var _SI = _TI;
- function _TI() {
- return ! 1
- }
- var _UI = _VI;
- function _VI() {}
- var _WI = _XI;
- function _XI() {}
- var _YI = _ZI;
- function _ZI() {}
- var __I = _0J;
- function _0J() {}
- var _1J = _2J;
- function _2J() {}
- var _3J = _4J;
- function _4J() {}
- var _5J = _6J;
- function _6J() {}
- var _7J = _8J;
- function _8J() {}
- var _9J = _aJ;
- function _aJ() {}
- var _bJ = _cJ;
- function _cJ() {}
- var _dJ = _eJ;
- function _eJ() {}
- var _fJ = _gJ;
- function _gJ() {
- return - 1
- }
- var _hJ = _iJ;
- function _iJ() {}
- var _jJ = _kJ;
- function _kJ() {}
- var _lJ = _mJ;
- function _mJ() {}
- var _nJ = _oJ;
- function _oJ() {
- return _pJ
- }
- function _qJ() {
- return _rJ
- }
- function _sJ() {
- return _yz
- }
- function _tJ() {
- return _uJ
- }
- var _vJ = _wJ;
- function _wJ(_lz, _xJ, _yJ) {
- if (_xJ != "_self" && _xJ != "_blank" && _xJ != "_parent" && _xJ != "_top") {
- _Xg("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)");
- return
- }
- var _Is = window.open(_lz, _xJ, _yJ)
- }
- var _zJ = _AJ;
- function _AJ(_lz, _xJ) {
- _vJ(_lz, _xJ, "scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes")
- }
- var _BJ = _CJ;
- function _CJ(_lz) {
- _zJ(_lz, "_self")
- }
- var _DJ = _EJ;
- function _EJ(_FJ, _GJ) {}
- var _HJ = _IJ;
- function _IJ(_FJ, _JJ) {}
- var _KJ = null;
- var _LJ = null;
- var _MJ = _NJ;
- function _NJ(_f3, _g3, _ju) {
- if (_MJ) {
- _MJ(_f3, _g3, _ju)
- }
- }
- function ads_engagement_launch() {
- _nc("ads_engagement_launch()")
- }
- var _OJ = _PJ;
- function _PJ(__p, _QJ, _RJ, _SJ) {}
- var _TJ = _6j;
- function _6j() {
- var _V9 = new Date().getTime() * 1000;
- return _V9 - _qI;
- }
- var _UJ = _VJ;
- function _VJ(_V8, _W8, _vh, _wh, _WJ) {
- var _XJ = _YJ();
- _XJ._f3 = _V8;
- _XJ._g3 = _W8;
- _XJ._J3 = _vh;
- _XJ._K3 = _wh;
- _XJ._pz = _WJ;
- _XJ._I9 = _V8 + _vh;
- _XJ._J9 = _W8 + _wh;
- _XJ.button = _XJ._vb = _XJ._xb = 0;
- _XJ._ZJ = __J;
- return (_XJ.index + 1)
- }
- var _0K = _1K;
- function _1K(_Ch) {
- if (_Ch < 0) return;
- var index = _Ch - 1;
- if ((index < 0) || (index >= _2K.length)) {
- debug("Invalid index when deleting virtual key")
- }
- _3K(_Ch - 1)
- }
- function _4K() {
- _5K = [];
- for (var _R9 = 0; _R9 < _2K.length; ++_R9) {
- var _6K = _2K[_R9];
- if ((_6K._ZJ & _7K) != 0) _5K[_5K.length] = _6K
- }
- }
- var _8K = _9K;
- function _9K(_Ch) {
- if (_Ch < 0) return;
- _Ch--;
- if (!_2K[_Ch]) return;
- _2K[_Ch]._ZJ |= _7K;
- _4K()
- }
- var _aK = _bK;
- function _bK(_Ch) {
- if (_Ch < 0) return;
- _Ch--;
- if (!_2K[_Ch]) return;
- _2K[_Ch]._ZJ &= ~_7K;
- _4K()
- }
- var _cK = _dK;
- function _dK() {
- return 0
- }
- var _eK = _fK;
- function _fK() {
- return 0
- }
- var _gK = _hK;
- function _hK() {
- return 0
- }
- var _iK = _jK;
- function _jK() {
- _2q("device_ios_get_imagename()")
- }
- var _kK = _lK;
- function _lK() {
- _2q("device_ios_get_image()")
- }
- var _mK = _nK;
- function _nK() {
- _2q("openfeint_start()")
- }
- var _oK = _pK;
- function _pK(_Hz, _Kz) {
- _2q("achievement_map_achievement()")
- }
- var _qK = _rK;
- function _rK(_Hz, _Kz, _sK) {
- _2q("achievement_map_leaderboard()")
- }
- var _tK = _uK;
- function _uK(_Hz, _Kz, _sK) {
- _2q("openfeint_send_challenge()")
- }
- var _vK = _wK;
- function _wK(_Hz) {
- _2q("openfeint_send_invite()")
- }
- var _xK = _yK;
- function _yK(_Hz, _Kz, _sK) {
- _2q("openfeint_send_social()")
- }
- var _zK = _AK;
- function _AK(_Hz) {
- _2q("openfeint_set_url()")
- }
- var _BK = _CK;
- function _CK() {
- _2q("openfeint_accept_challenge()");
- return ""
- }
- var _DK = _EK;
- function _EK() {
- _2q("achievement_is_online()");
- return ! 1
- }
- var _FK = _GK;
- function _GK(_Hz, _Kz) {
- _2q("openfeint_send_result()")
- }
- var _HK = _IK;
- function _IK() {
- return ! 1
- }
- function _JK() {
- _qI = new Date().getTime() * 1000;
- var _V9 = 0;
- for (var _H3 = 0; _H3 < 12; _H3++) {
- _up[_H3] = _V9;
- _V9 += _tp[_H3]
- }
- _rI = 0;
- _sI = 1;
- _tI = 2;
- _uI = 3;
- _vI = 4;
- _wI = 5;
- _xI = 0;
- _yI = 1;
- _zI = 2;
- _AI = 0;
- _BI = 1
- }
- function _KK() {
- var _V9 = setTimeout(function() {
- for (var _LK in _Ry._Y2) {
- if (!_Ry._Y2.hasOwnProperty(_LK)) continue;
- _Ry._MK(_LK);
- break
- }
- _KK()
- },
- 1000)
- }
- var _NK = _OK;
- function _OK() {
- return document.domain
- }
- function _PK(_QK, _RK) {
- for (var _SK in _QK) {
- var _TK = _QK[_SK];
- if (_TK instanceof Array) {
- var _UK = _Sh();
- _Zh(_RK, _UK);
- _PK(_TK, _UK)
- } else if (typeof(_TK) == "object") {
- var _VK = _9i();
- _Zh(_RK, _VK);
- _Cr(_TK, _VK)
- } else if (typeof(_TK) == "string") {
- _Zh(_RK, _TK)
- }
- }
- }
- function _Cr(_Ja, _wr) {
- for (var _yr in _Ja) {
- if (_Ja.hasOwnProperty(_yr)) {
- var _TK = _Ja[_yr];
- if (_TK instanceof Array) {
- var _WK = _Sh();
- _ji(_wr, _yr, _WK);
- _PK(_TK, _WK)
- } else if (typeof(_TK) == "object") {
- var _XK = _9i();
- _ji(_wr, _yr, _XK);
- _Cr(_TK, _XK)
- } else if (typeof(_TK) == "string") {
- _ji(_wr, _yr, _TK)
- }
- }
- }
- }
- var _YK = _ZK;
- function _ZK() {}
- var __K = _0L;
- var _0r = _Qq;
- function _0L() {
- return _0r
- }
- var _1L = _pr;
- var _2L = _sr;
- var _3L = _Dr;
- var _4L = _5L;
- function _5L() {
- if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {
- if (typeof(g_fbOAuthToken) != "undefined") {
- if (g_fbOAuthToken != null) {
- var _dr = 'https://www.facebook.com/logout.php?access_token=' + g_fbOAuthToken + '&app_id=' + _Yp._A5._nr + '&next=http://www.yoyogames.com/facebook/wordsong/index.html';
- var _er = new XMLHttpRequest();
- _er.open('GET', _dr);
- _er.send(null);
- g_fbOAuthToken = null;
- _0r = 'UNINITIALISED'
- }
- }
- } else {
- debug("facebook_logout");
- FB.logout(function(response) {
- if (response.status != 'connected') {
- _0r = _Qq;
- __q = "";
- g_fbOAuthToken = ""
- }
- })
- }
- return 0
- }
- var _6L = _7L;
- function _7L(_8L, _9L) {
- if (_8L == 0) {
- return _6z(_9L)
- } else {
- if (_1h[_8L] && (_9L <= 1)) {
- return _1h[_8L]._nf
- }
- }
- return 0
- }
- var _aL = _bL;
- function _bL(_8L, _9L) {
- if (_8L == 0) {
- return _8z(_9L)
- } else {
- if (_1h[_8L] && (_9L <= 1)) {
- return _1h[_8L]._if
- }
- }
- return 0
- }
- var _cL = _dL;
- function _dL(_8L, _9L) {
- if (_8L == 0) {
- return _9z(_9L);
- } else {
- if (_1h[_8L] && (_9L <= 1)) {
- return _1h[_8L]._mf
- }
- }
- return 0
- }
- var _eL = _fL;
- function _fL(_8L) {
- if (_8L == 0) {
- return _w6._h7
- } else if (_1h[_8L]) {
- return _1h[_8L]._f3
- }
- return 0
- }
- var _gL = _hL;
- function _hL(_8L) {
- if (_8L == 0 && _iL[0]) {
- return _iL[0]._f3
- } else if (_1h[_8L]) {
- return _1h[_8L]._f3
- }
- return 0
- }
- var _jL = _kL;
- function _kL(_8L) {
- if (_8L == 0) {
- return _w6._lL
- } else if (_1h[_8L]) {
- return _1h[_8L]._g3
- }
- return 0
- }
- var _mL = _nL;
- function _nL(_8L) {
- if (_8L == 0 && _iL[0]) {
- return _iL[0]._g3
- } else if (_1h[_8L]) {
- return _1h[_8L]._g3
- }
- return 0
- }
- var _oL = _pL;
- function _pL() {
- return _qL
- }
- var _rL = _sL;
- function _sL() {
- return _tL
- };
- function _uL() {
- var _yA = 0;
- var _zA = 0;
- var _vL = 0;
- var _wL = 0;
- canvas = document.getElementById(_cq);
- var _xL = _bI;
- var _yL = _cI;
- if (_zL && _AL) {
- var _J3 = _BL;
- var _K3 = _CL;
- var _tl, _ja, _ia;
- _tl = _J3 / _K3;
- _ja = _xL / _tl;
- if (_ja < _yL) {
- _tl = _K3 / _J3;
- _ja = _xL * _tl;
- _zA = (_yL - _ja) / 2;
- _ia = _xL;
- _ja += _zA
- } else {
- _tl = _J3 / _K3;
- _ia = _yL * _tl;
- _yA = (_xL - _ia) / 2;
- _ja = _yL;
- _ia += _yA
- }
- _vL = _ia;
- _wL = _ja
- } else {
- _vL = _xL;
- _wL = _yL
- }
- _DL._f3 = _yA;
- _DL._g3 = _zA;
- _DL._J3 = _vL - _yA;
- _DL._K3 = _wL - _zA
- } (function() {
- 'use strict';
- Function.prototype._EL = function(parent) {
- this.prototype.parent = parent;
- for (var _f3 in parent.prototype) {
- if (!this.prototype[_f3]) this.prototype[_f3] = parent.prototype[_f3]
- }
- };
- Function.prototype._FL = function(parent) {
- return this._EL(parent)
- };
- Array.prototype._GL = function(_z3, _Xp, _HL) {
- if (typeof(_z3) === 'undefined') _z3 = 0;
- if (typeof(_Xp) === 'undefined') _Xp = this.length - _z3;
- if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) {
- return _kb < _W9
- };
- var left = _z3,
- _Gi = [],
- _Hn = 0;
- for (;;) {
- for (; left + 1 < _Xp; _Xp++) {
- var _IL = this[left + Math.floor(Math.random() * (_Xp - left))];
- _Gi[_Hn++] = _Xp;
- for (var _q9 = left - 1;;) {
- while (_HL(this[++_q9], _IL)) {}
- while (_HL(_IL, this[--_Xp])) {}
- if (_q9 >= _Xp) break;
- var _Fv = this[_q9];
- this[_q9] = this[_Xp];
- this[_Xp] = _Fv
- }
- }
- if (_Hn === 0) break;
- left = _Xp;
- _Xp = _Gi[--_Hn]
- }
- return this
- };
- Array.prototype._JL = function(_KL, length) {
- if (typeof(length) === 'undefined') length = this.length;
- var _R9 = 0;
- for (var _I3 = 0; _I3 < length; ++_I3) {
- if (_KL(this[_I3])) continue;
- if (_I3 === _R9) {++_R9;
- continue
- }
- this[_R9++] = this[_I3]
- }
- return _R9
- };
- Array.prototype._LL = function(_z3, _A3, _cf, _HL) {
- if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) {
- return _kb < _W9
- };
- var _Ea = _A3 - _z3;
- while (_Ea > 0) {
- var _ML = Math.floor(_Ea / 2);
- var _NL = _z3 + _ML;
- if (_HL(this[_NL], _cf)) {
- _z3 = ++_NL;
- _Ea -= _ML + 1
- } else _Ea = _ML
- }
- return _z3
- };
- Array.prototype._OL = function(_z3, _A3, _cf, _HL) {
- if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) {
- return _kb < _W9
- };
- var _Ea = _A3 - _z3;
- while (_Ea > 0) {
- var _ML = Math.floor(_Ea / 2);
- var _NL = _z3 + _ML;
- if (!_HL(_cf, this[_NL])) {
- _z3 = ++_NL;
- _Ea -= _ML + 1
- } else _Ea = _ML
- }
- return _z3
- };
- Array.prototype.rotate = function(_z3, _PL, _A3) {
- var _ni = _PL;
- while (_z3 != _ni) {
- var _QL = this[_z3];
- this[_z3] = this[_ni];
- this[_ni] = _QL; ++_z3; ++_ni;
- if (_ni === _A3) _ni = _PL;
- else if (_z3 === _PL) _PL = _ni
- }
- };
- var _RL = (function() {
- if (typeof(_SL) === 'undefined') window['performance'] = {
- now: function() {
- return + new Date()
- }
- };
- function _TL(name, parent) {
- this.name = name;
- this.parent = parent;
- this._UL = {};
- this._VL = 0;
- this._WL = 0;
- this._XL = 0;
- this._YL = !1;
- this._ZL = 0
- }
- _TL.prototype = {
- start: function() {
- this._VL = _SL.now();
- this._YL = !0
- },
- stop: function(__L) {
- if (!this._YL) return;
- this._YL = !1;
- this._WL += _SL.now() - this._VL;
- if (__L) this.start();
- for (var _f3 in this._UL) this._UL[_f3].stop();
- },
- __L: function(_0M) {
- if (!_0M) {
- this._YL = !0;
- this._XL += this._WL;
- this.start()
- }
- this._WL = 0;
- for (var _f3 in this._UL) this._UL[_f3].__L(!0)
- }
- };
- var _1M = [];
- var _19 = new _TL("root");
- function _2M(name, parent) {
- if (!_1M) throw new _Xg("late profile creation not allowed");
- var _9q = new _TL(name, parent || 'root');
- _1M.push(_9q);
- return _9q
- }
- function _3M(_4M) {
- _4M._ZL--;
- delete _4M._UL[_4M.name]
- }
- function _5M(_aI, _4M) {
- if (_aI.name === _4M.parent) return _aI;
- for (var _f3 in _aI._UL) {
- var _C9;
- if (_C9 = _5M(_aI._UL[_f3], _4M)) return _C9
- }
- return null
- }
- function init() {
- while (_1M.length) {
- var _mv = _1M.pop();
- if (! (_mv.parentNode = _5M(_19, _mv))) _1M._6M(_mv);
- else {
- _mv.parentNode._UL[_mv.name] = _mv;
- _mv.parentNode._ZL++
- }
- }
- _1M = null
- }
- function _7M() {
- _19.__L(!0)
- }
- var _Nh = {
- _2M: _2M,
- _3M: _3M,
- init: init,
- __L: _7M,
- _8M: _19
- };
- return _Nh
- } ());
- function _9M(_aM) {
- if (!_aM) {
- console.log("Assertion failed! Pls debug.");
- _bM
- }
- }
- var _cM = Number.MAX_VALUE;
- var _dM = 2.2204460492503131e-016;
- var _eM = Math.PI;
- var _fM = 2;
- var _gM = 8;
- var _hM = 0.1;
- var _iM = 2.0;
- var _jM = 0.005;
- var _kM = (2.0 / 180.0 * _eM);
- var _lM = (2.0 * _jM);
- var _mM = 8;
- var _nM = 32;
- var _oM = 1.0;
- var _pM = 0.2;
- var _qM = (8.0 / 180.0 * _eM);
- var _rM = 2.0;
- var _sM = (_rM * _rM);
- var _tM = (0.5 * _eM);
- var _uM = (_tM * _tM);
- var _vM = 0.2;
- var _wM = 0.75;
- var _xM = 0.5;
- var _yM = 0.01;
- var _zM = (2.0 / 180.0 * _eM);
- var _AM = ( - 1);
- var _BM = 0.75;
- var _CM = 1.0;
- var _DM = 5.0;
- var _EM = 2;
- var _FM = (_EM * _EM);
- var _GM = 256;
- function _HM(_IM, _JM, _KM) {
- this._LM = _IM;
- this._MM = _JM;
- this._NM = _KM
- }
- _HM.prototype = {
- toString: function() {
- return this._LM + '.' + this._MM + '.' + this._NM
- }
- };
- var _OM = new _HM(2, 3, 1);
- function _PM(_f3) {
- return isFinite(_f3) && !isNaN(_f3)
- }
- var _QM = Math.sqrt;
- var _RM = Math.atan2;
- var _SM = Math.sin;
- var _TM = Math.cos;
- var _UM = Math.floor;
- var _VM = Math.ceil;
- var _WM = _QM;
- var _XM = _RM;
- function _YM(_f3) {
- return 1.0 / _QM(_f3)
- }
- function _ZM(_f3, _g3) {
- if (typeof(_f3) !== 'undefined') {
- this._f3 = _f3;
- this._g3 = _g3
- } else this._f3 = this._g3 = 0
- }
- _ZM.prototype = {
- _u8: function() {
- return new _ZM(this._f3, this._g3)
- },
- __M: function() {
- this._f3 = 0.0;
- this._g3 = 0.0;
- return this
- },
- _gi: function(_0N, _1N) {
- this._f3 = _0N;
- this._g3 = _1N;
- return this
- },
- _2N: function(_R9) {
- this._f3 = _R9._f3;
- this._g3 = _R9._g3;
- return this
- },
- _3N: function() {
- var _xb = new _ZM();
- _xb._gi( - this._f3, -this._g3);
- return _xb
- },
- _4N: function(_H3) {
- switch (_H3) {
- case 0:
- return this._f3;
- case 1:
- return this._g3
- }
- },
- _5N: function(_H3, _xb) {
- switch (_H3) {
- case 0:
- return this._f3 = _xb;
- case 1:
- return this._g3 = _xb
- }
- },
- _Wh: function(_xb) {
- this._f3 += _xb._f3;
- this._g3 += _xb._g3;
- return this
- },
- _6N: function(_xb) {
- this._f3 -= _xb._f3;
- this._g3 -= _xb._g3;
- return this
- },
- _Vo: function(_kb) {
- this._f3 *= _kb;
- this._g3 *= _kb;
- return this
- },
- _7N: function() {
- return _WM(this._f3 * this._f3 + this._g3 * this._g3)
- },
- _8N: function() {
- return this._f3 * this._f3 + this._g3 * this._g3
- },
- _9N: function() {
- var length = this._7N();
- if (length < _dM) {
- return 0.0
- }
- var _aN = 1.0 / length;
- this._f3 *= _aN;
- this._g3 *= _aN;
- return length
- },
- _bN: function() {
- return _PM(this._f3) && _PM(this._g3)
- },
- _cN: function() {
- return new _ZM( - this._g3, this._f3)
- },
- _dN: function(_eN) {
- var _xr = _eN || [];
- _xr[0] = this._f3;
- _xr[1] = this._g3;
- return _xr
- },
- _fN: function(data) {
- this._f3 = data[0];
- this._g3 = data[1]
- }
- };
- _ZM._Wh = function(_kb, _W9) {
- return new _ZM(_kb._f3 + _W9._f3, _kb._g3 + _W9._g3)
- };
- _ZM._6N = function(_kb, _W9) {
- return new _ZM(_kb._f3 - _W9._f3, _kb._g3 - _W9._g3)
- };
- _ZM._gN = function(_kb, _W9) {
- return _kb._f3 == _W9._f3 && _kb._g3 == _W9._g3
- };
- _ZM._Vo = function(_9q, _kb) {
- return new _ZM(_9q * _kb._f3, _9q * _kb._g3)
- };
- _ZM._3N = function(_kb) {
- return new _ZM( - _kb._f3, -_kb._g3)
- };
- function _hN(_f3, _g3, _Cc) {
- if (typeof(_f3) !== 'undefined') {
- this._f3 = _f3;
- this._g3 = _g3;
- this._Cc = _Cc
- }
- }
- _hN.prototype = {
- _u8: function() {
- return new _hN(this._f3, this._g3, this._Cc)
- },
- __M: function() {
- this._f3 = 0.0;
- this._g3 = 0.0;
- this._Cc = 0.0
- },
- _gi: function(_0N, _1N, _iN) {
- this._f3 = _0N;
- this._g3 = _1N;
- this._Cc = _iN
- },
- _3N: function() {
- var _xb = new _hN();
- _xb._gi( - this._f3, -this._g3, -this._Cc);
- return _xb
- },
- _Wh: function(_xb) {
- this._f3 += _xb._f3;
- this._g3 += _xb._g3;
- this._Cc += _xb._Cc
- },
- _6N: function(_xb) {
- this._f3 -= _xb._f3;
- this._g3 -= _xb._g3;
- this._Cc -= _xb._Cc
- },
- _Vo: function(_9q) {
- this._f3 *= _9q;
- this._g3 *= _9q;
- this._Cc *= _9q
- },
- _f3: 0,
- _g3: 0,
- _Cc: 0
- };
- _hN._Vo = function(_9q, _kb) {
- return new _hN(_9q * _kb._f3, _9q * _kb._g3, _9q * _kb._Cc)
- };
- _hN._Wh = function(_kb, _W9) {
- return new _hN(_kb._f3 + _W9._f3, _kb._g3 + _W9._g3, _kb._Cc + _W9._Cc)
- };
- _hN._6N = function(_kb, _W9) {
- return new _hN(_kb._f3 - _W9._f3, _kb._g3 - _W9._g3, _kb._Cc - _W9._Cc)
- };
- function _jN(_kN, _lN) {
- this._yF = _kN ? _kN._u8() : new _ZM();
- this._mN = _lN ? _lN._u8() : new _ZM()
- }
- _jN.prototype = {
- _gi: function(_kN, _lN) {
- this._yF._2N(_kN);
- this._mN._2N(_lN)
- },
- _2N: function(_fp) {
- this._yF._2N(_fp._yF);
- this._mN._2N(_fp._mN)
- },
- _nN: function() {
- this._yF._f3 = 1.0;
- this._mN._f3 = 0.0;
- this._yF._g3 = 0.0;
- this._mN._g3 = 1.0
- },
- __M: function() {
- this._yF._f3 = 0.0;
- this._mN._f3 = 0.0;
- this._yF._g3 = 0.0;
- this._mN._g3 = 0.0
- },
- _oN: function() {
- var _kb = this._yF._f3,
- _W9 = this._mN._f3,
- _I3 = this._yF._g3,
- _mk = this._mN._g3;
- var _pN = new _jN();
- var _qN = _kb * _mk - _W9 * _I3;
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- _pN._yF._f3 = _qN * _mk;
- _pN._mN._f3 = -_qN * _W9;
- _pN._yF._g3 = -_qN * _I3;
- _pN._mN._g3 = _qN * _kb;
- return _pN
- },
- _rN: function(_W9) {
- var _sN = this._yF._f3,
- _tN = this._mN._f3,
- _uN = this._yF._g3,
- _vN = this._mN._g3;
- var _qN = _sN * _vN - _tN * _uN;
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- var _f3 = new _ZM();
- _f3._f3 = _qN * (_vN * _W9._f3 - _tN * _W9._g3);
- _f3._g3 = _qN * (_sN * _W9._g3 - _uN * _W9._f3);
- return _f3
- }
- };
- _jN._Wh = function(_aM, _pN) {
- return new _jN(_ZM._Wh(_aM._yF, _pN._yF), _ZM._Wh(_aM._mN, _pN._mN))
- };
- function _wN(_kN, _lN, _xN) {
- this._yF = _kN ? _kN._u8() : new _hN();
- this._mN = _lN ? _lN._u8() : new _hN();
- this._yN = _xN ? _xN._u8() : new _hN()
- }
- _wN.prototype = {
- __M: function() {
- this._yF.__M();
- this._mN.__M();
- this._yN.__M()
- },
- _zN: function(_W9) {
- var _qN = _AN(this._yF, _BN(this._mN, this._yN));
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- var _f3 = new _hN();
- _f3._f3 = _qN * _AN(_W9, _BN(this._mN, this._yN));
- _f3._g3 = _qN * _AN(this._yF, _BN(_W9, this._yN));
- _f3._Cc = _qN * _AN(this._yF, _BN(this._mN, _W9));
- return _f3
- },
- _CN: function(_W9) {
- var _sN = this._yF._f3,
- _tN = this._mN._f3,
- _uN = this._yF._g3,
- _vN = this._mN._g3;
- var _qN = _sN * _vN - _tN * _uN;
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- var _f3 = new _ZM();
- _f3._f3 = _qN * (_vN * _W9._f3 - _tN * _W9._g3);
- _f3._g3 = _qN * (_sN * _W9._g3 - _uN * _W9._f3);
- return _f3
- },
- _DN: function(_EN) {
- var _kb = this._yF._f3,
- _W9 = this._mN._f3,
- _I3 = this._yF._g3,
- _mk = this._mN._g3;
- var _qN = _kb * _mk - _W9 * _I3;
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- _EN._yF._f3 = _qN * _mk;
- _EN._mN._f3 = -_qN * _W9;
- _EN._yF._Cc = 0.0;
- _EN._yF._g3 = -_qN * _I3;
- _EN._mN._g3 = _qN * _kb;
- _EN._mN._Cc = 0.0;
- _EN._yN._f3 = 0.0;
- _EN._yN._g3 = 0.0;
- _EN._yN._Cc = 0.0
- },
- _FN: function(_EN) {
- var _qN = _AN(this._yF, _BN(this._mN, this._yN));
- if (_qN != 0.0) {
- _qN = 1.0 / _qN
- }
- var _sN = this._yF._f3,
- _tN = this._mN._f3,
- _GN = this._yN._f3;
- var _vN = this._mN._g3,
- _HN = this._yN._g3;
- var _IN = this._yN._Cc;
- _EN._yF._f3 = _qN * (_vN * _IN - _HN * _HN);
- _EN._yF._g3 = _qN * (_GN * _HN - _tN * _IN);
- _EN._yF._Cc = _qN * (_tN * _HN - _GN * _vN);
- _EN._mN._f3 = _EN._yF._g3;
- _EN._mN._g3 = _qN * (_sN * _IN - _GN * _GN);
- _EN._mN._Cc = _qN * (_GN * _tN - _sN * _HN);
- _EN._yN._f3 = _EN._yF._Cc;
- _EN._yN._g3 = _EN._mN._Cc;
- _EN._yN._Cc = _qN * (_sN * _vN - _tN * _tN)
- }
- };
- function _JN(_0b, _I3) {
- if (typeof(_I3) !== 'undefined') {
- this._9q = _0b;
- this._I3 = _I3
- } else if (typeof(_0b) !== 'undefined') this._gi(_0b)
- }
- _JN.prototype = {
- _u8: function() {
- return new _JN(this._9q, this._I3)
- },
- _2N: function(_R9) {
- this._9q = _R9._9q;
- this._I3 = _R9._I3
- },
- _gi: function(_f3) {
- this._9q = _SM(_f3);
- this._I3 = _TM(_f3)
- },
- _nN: function() {
- this._9q = 0.0;
- this._I3 = 1.0
- },
- _KN: function() {
- return _XM(this._9q, this._I3)
- },
- _LN: function() {
- return new _ZM(this._I3, this._9q)
- },
- _MN: function() {
- return new _ZM( - this._9q, this._I3)
- },
- _9q: 0,
- _I3: 1
- };
- function _NN(position, _i5) {
- this._mv = new _ZM();
- this._fu = new _JN();
- if (position) {
- this._mv._2N(position);
- this._fu._2N(_i5)
- }
- }
- _NN.prototype = {
- _u8: function() {
- var _ON = new _NN(this._mv, this._fu);
- return _ON
- },
- _2N: function(_ON) {
- this._mv._2N(_ON._mv);
- this._fu._2N(_ON._fu)
- },
- _nN: function() {
- this._mv.__M();
- this._fu._nN()
- },
- _gi: function(position, _0b) {
- this._mv._2N(position);
- this._fu._gi(_0b)
- }
- };
- function _PN() {
- this._QN = new _ZM();
- this._RN = new _ZM();
- this._I3 = new _ZM()
- }
- _PN.prototype = {
- _2N: function(_SN) {
- this._QN._2N(_SN._QN);
- this._RN._2N(_SN._RN);
- this._I3._2N(_SN._I3);
- this._kb = _SN._kb;
- this._TN = _SN._TN;
- this._UN = _SN._UN
- },
- _u8: function() {
- var _SN = new _PN();
- _SN._QN._2N(this._QN);
- _SN._RN._2N(this._RN);
- _SN._I3._2N(this._I3);
- _SN._kb = this._kb;
- _SN._TN = this._TN;
- _SN._UN = this._UN;
- return _SN
- },
- _VN: function(_ON, _WN) {
- _ON._mv._f3 = ((1.0 - _WN) * this._RN._f3) + (_WN * this._I3._f3);
- _ON._mv._g3 = ((1.0 - _WN) * this._RN._g3) + (_WN * this._I3._g3);
- var _0b = (1.0 - _WN) * this._TN + _WN * this._kb;
- _ON._fu._gi(_0b);
- _ON._mv._f3 -= _ON._fu._I3 * this._QN._f3 - _ON._fu._9q * this._QN._g3;
- _ON._mv._g3 -= _ON._fu._9q * this._QN._f3 + _ON._fu._I3 * this._QN._g3
- },
- _XN: function(alpha) {
- _9M(this._UN < 1.0);
- var _WN = (alpha - this._UN) / (1.0 - this._UN);
- this._RN._Wh(_ZM._Vo(_WN, _ZM._6N(this._I3, this._RN)));
- this._TN += _WN * (this._kb - this._TN);
- this._UN = alpha
- },
- _9N: function() {
- var _YN = 2.0 * _eM;
- var _mk = _YN * _UM(this._TN / _YN);
- this._TN -= _mk;
- this._kb -= _mk
- },
- _TN: 0,
- _kb: 0,
- _UN: 0
- };
- function _ZN(_kb, _W9) {
- return _kb._f3 * _W9._f3 + _kb._g3 * _W9._g3
- }
- function __N(_kb, _W9) {
- return _kb._f3 * _W9._g3 - _kb._g3 * _W9._f3
- }
- function _0O(_kb, _9q) {
- return new _ZM(_9q * _kb._g3, -_9q * _kb._f3);
- }
- function _1O(_9q, _kb) {
- return new _ZM( - _9q * _kb._g3, _9q * _kb._f3)
- }
- function _2O(_aM, _xb) {
- return new _ZM(_aM._yF._f3 * _xb._f3 + _aM._mN._f3 * _xb._g3, _aM._yF._g3 * _xb._f3 + _aM._mN._g3 * _xb._g3)
- }
- function _3O(_aM, _xb) {
- return new _ZM(_ZN(_xb, _aM._yF), _ZN(_xb, _aM._mN))
- }
- function _4O(_kb, _W9) {
- var _I3 = _ZM._6N(_kb, _W9);
- return _I3._7N()
- }
- function _5O(_kb, _W9) {
- var _I3 = _ZM._6N(_kb, _W9);
- return _ZN(_I3, _I3)
- }
- function _AN(_kb, _W9) {
- return _kb._f3 * _W9._f3 + _kb._g3 * _W9._g3 + _kb._Cc * _W9._Cc
- }
- function _BN(_kb, _W9) {
- return new _hN(_kb._g3 * _W9._Cc - _kb._Cc * _W9._g3, _kb._Cc * _W9._f3 - _kb._f3 * _W9._Cc, _kb._f3 * _W9._g3 - _kb._g3 * _W9._f3)
- }
- function _6O(_aM, _pN) {
- return new _jN(_2O(_aM, _pN._yF), _2O(_aM, _pN._mN))
- }
- function _7O(_aM, _pN) {
- var _kN = new _ZM(_ZN(_aM._yF, _pN._yF), _ZN(_aM._mN, _pN._yF));
- var _lN = new _ZM(_ZN(_aM._yF, _pN._mN), _ZN(_aM._mN, _pN._mN));
- return new _jN(_kN, _lN)
- }
- function _8O(_aM, _xb) {
- return _hN._Wh(_hN._Wh(_hN._Vo(_xb._f3, _aM._yF), _hN._Vo(_xb._g3, _aM._mN)), _hN._Vo(_xb._Cc, _aM._yN))
- }
- function _9O(_aM, _xb) {
- return new _ZM(_aM._yF._f3 * _xb._f3 + _aM._mN._f3 * _xb._g3, _aM._yF._g3 * _xb._f3 + _aM._mN._g3 * _xb._g3)
- }
- function _aO(_fu, _T9) {
- var _bO = new _JN();
- _bO._9q = _fu._9q * _T9._I3 + _fu._I3 * _T9._9q;
- _bO._I3 = _fu._I3 * _T9._I3 - _fu._9q * _T9._9q;
- return _bO
- }
- function _cO(_fu, _T9) {
- var _bO = new _JN();
- _bO._9q = _fu._I3 * _T9._9q - _fu._9q * _T9._I3;
- _bO._I3 = _fu._I3 * _T9._I3 + _fu._9q * _T9._9q;
- return _bO
- }
- function _dO(_fu, _xb) {
- return new _ZM(_fu._I3 * _xb._f3 - _fu._9q * _xb._g3, _fu._9q * _xb._f3 + _fu._I3 * _xb._g3)
- }
- function _eO(_fu, _xb) {
- return new _ZM(_fu._I3 * _xb._f3 + _fu._9q * _xb._g3, -_fu._9q * _xb._f3 + _fu._I3 * _xb._g3)
- }
- function _fO(_gO, _xb) {
- return new _ZM((_gO._fu._I3 * _xb._f3 - _gO._fu._9q * _xb._g3) + _gO._mv._f3, (_gO._fu._9q * _xb._f3 + _gO._fu._I3 * _xb._g3) + _gO._mv._g3);
- }
- function _hO(_gO, _xb) {
- var _0k = _xb._f3 - _gO._mv._f3;
- var _1k = _xb._g3 - _gO._mv._g3;
- var _f3 = (_gO._fu._I3 * _0k + _gO._fu._9q * _1k);
- var _g3 = ( - _gO._fu._9q * _0k + _gO._fu._I3 * _1k);
- return new _ZM(_f3, _g3)
- }
- function _iO(_aM, _pN) {
- var _jO = new _NN();
- _jO._fu = _aO(_aM._fu, _pN._fu);
- _jO._mv = _ZM._Wh(_dO(_aM._fu, _pN._mv), _aM._mv);
- return _jO
- }
- function _kO(_aM, _pN) {
- var _jO = new _NN();
- _jO._fu = _cO(_aM._fu, _pN._fu);
- var _lO = _pN._mv._f3 - _aM._mv._f3;
- var _mO = _pN._mv._g3 - _aM._mv._g3;
- _jO._mv._f3 = _aM._fu._I3 * _lO + _aM._fu._9q * _mO;
- _jO._mv._g3 = -_aM._fu._9q * _lO + _aM._fu._I3 * _mO;
- return _jO
- }
- var _nO = Math.abs;
- function _oO(_kb) {
- return new _ZM(_nO(_kb._f3), _nO(_kb._g3))
- }
- function _pO(_aM) {
- return new _jN(_oO(_aM._yF), _oO(_aM._mN))
- }
- var _qO = Math.min;
- function _rO(_kb, _W9) {
- return new _ZM(_qO(_kb._f3, _W9._f3), _qO(_kb._g3, _W9._g3))
- }
- var _sO = Math.max;
- function _tO(_kb, _W9) {
- return new _ZM(_sO(_kb._f3, _W9._f3), _sO(_kb._g3, _W9._g3))
- }
- function _uO(_kb, _si, _ri) {
- return _sO(_si, _qO(_kb, _ri))
- }
- function _vO(_kb, _si, _ri) {
- return _tO(_si, _rO(_kb, _ri))
- }
- function _wO(_f3) {
- _f3 |= (_f3 >> 1);
- _f3 |= (_f3 >> 2);
- _f3 |= (_f3 >> 4);
- _f3 |= (_f3 >> 8);
- _f3 |= (_f3 >> 16);
- return _f3 + 1
- }
- function _xO(_f3) {
- var _8j = _f3 > 0 && (_f3 & (_f3 - 1)) == 0;
- return _8j
- }
- var _yO = 32767;
- function _zO(_AO, _BO) {
- var _T9 = Math.random();
- if (typeof(_AO) !== 'undefined') _T9 = (_BO - _AO) * _T9 + _AO;
- else _T9 = 2.0 * _T9 - 1.0;
- return _T9
- }
- function _CO(_T9, _jb, _W9) {
- this._T9 = _T9 || 0;
- this._jb = _jb || 0;
- this._W9 = _W9 || 0
- }
- _CO.prototype = {
- _gi: function(_T9, _jb, _W9) {
- this._T9 = _T9;
- this._jb = _jb;
- this._W9 = _W9
- }
- };
- function _DO() {}
- _DO.prototype = {
- _EO: function(_ZJ) {
- this._FO = _ZJ
- },
- _GO: function() {
- return this._FO
- },
- _HO: function(_ZJ) {
- this._FO |= _ZJ
- },
- _IO: function(_ZJ) {
- this._FO &= ~_ZJ
- },
- _JO: function(_ZJ) {
- this._FO ^= _ZJ;
- },
- _KO: function(_rb, _LO, _bb) {},
- _MO: function(_rb, _LO, _bb) {},
- _NO: function(_OO, _PO, _bb) {},
- _QO: function(_OO, _PO, _RO, _bb) {},
- _SO: function(_TO, _UO, _bb) {},
- _VO: function(_ON) {},
- _WO: function(_XO, _PO, _YO, _Ea) {},
- _FO: 0
- };
- _DO._ZO = 1;
- _DO.__O = 2;
- _DO._0P = 4;
- _DO._1P = 8;
- _DO._2P = 16;
- _DO._3P = 32;
- _DO._4P = 64;
- _DO._5P = 128;
- _DO._6P = 256;
- _DO._7P = 512;
- _DO._8P = 1024;
- if (typeof(_SL) === 'undefined') {
- window._SL = {
- now: function() {
- return + new Date()
- }
- }
- }
- function _9P() {
- this._aP()
- }
- _9P.prototype = {
- _aP: function() {
- this._bP = _SL.now()
- },
- _cP: function() {
- return _SL.now() - this._bP;
- }
- };
- function _dP() {
- this._eP = 0;
- this._OO = new _ZM();
- this._fP = 0
- }
- function _gP() {
- this._hP = 0;
- this._iP = 0
- }
- _gP.prototype = {
- _u8: function() {},
- _jP: function() {
- return this._hP
- },
- _kP: function() {},
- _lP: function(_ON, _mv) {},
- _mP: function(_4u, _2u, transform, _nP) {},
- _oP: function(_pP, _ON, _nP) {},
- _qP: function(_rP, _sP) {},
- _tP: function(_ON, _mv, _uP, _vP, _nP) {},
- _dN: function(_eN) {
- var _xr = _eN || {};
- _xr['m_type'] = this._hP;
- _xr['m_radius'] = this._iP;
- return _xr
- },
- _fN: function(data) {
- this._iP = data['m_radius']
- }
- };
- _gP._wP = 0;
- _gP._xP = 1;
- _gP._yP = 2;
- _gP._zP = 3;
- _gP._AP = 4;
- function _BP() {
- this.parent.call(this);
- this._hP = _gP._wP;
- this._iP = 0;
- this._CP = new _ZM();
- Object.seal(this)
- }
- _BP.prototype = {
- _u8: function() {
- var _DP = new _BP();
- _DP._iP = this._iP;
- _DP._CP = this._CP._u8();
- return _DP
- },
- _kP: function() {
- return 1
- },
- _lP: function(transform, _mv) {
- var _OO = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP));
- var _mk = _ZM._6N(_mv, _OO);
- return _ZN(_mk, _mk) <= this._iP * this._iP
- },
- _mP: function(_4u, _2u, transform, _nP) {
- var position = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP));
- var _9q = _ZM._6N(_2u._TO, position);
- var _W9 = _ZN(_9q, _9q) - this._iP * this._iP;
- var _T9 = _ZM._6N(_2u._UO, _2u._TO);
- var _I3 = _ZN(_9q, _T9);
- var _5v = _ZN(_T9, _T9);
- var _EP = _I3 * _I3 - _5v * _W9;
- if (_EP < 0.0 || _5v < _dM) {
- return ! 1
- }
- var _kb = -(_I3 + _WM(_EP));
- if (0.0 <= _kb && _kb <= _2u._FP * _5v) {
- _kb /= _5v;
- _4u._GP = _kb;
- _4u._vP = _ZM._Wh(_9q, _ZM._Vo(_kb, _T9));
- _4u._vP._9N();
- return ! 0
- }
- return ! 1
- },
- _oP: function(_pP, transform, _nP) {
- var _0k = transform._mv._f3 + (transform._fu._I3 * this._CP._f3 - transform._fu._9q * this._CP._g3);
- var _1k = transform._mv._g3 + (transform._fu._9q * this._CP._f3 + transform._fu._I3 * this._CP._g3);
- _pP._HP._f3 = _0k - this._iP;
- _pP._HP._g3 = _1k - this._iP;
- _pP._IP._f3 = _0k + this._iP;
- _pP._IP._g3 = _1k + this._iP
- },
- _qP: function(_rP, _sP) {
- _rP._eP = _sP * _eM * this._iP * this._iP;
- _rP._OO = this._CP;
- _rP._fP = _rP._eP * (0.5 * this._iP * this._iP + _ZN(this._CP, this._CP))
- },
- _JP: function(_mk) {
- return 0
- },
- _KP: function(_mk) {
- return this._CP
- },
- _LP: function() {
- return 1
- },
- _MP: function(index) {
- _9M(index == 0);
- return this._CP
- },
- _tP: function(transform, _mv, _uP, _vP, _nP) {
- var _OO = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP));
- var _mk = _ZM._6N(_mv, _OO);
- var _NP = _mk._7N();
- _uP[0] = _NP - this._iP;
- _vP._2N(_ZM._Vo(1 / _NP, _mk))
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['m_p'] = this._CP._dN();
- return _xr
- },
- _fN: function(data) {
- this.parent.prototype._fN.call(this, data);
- this._CP._fN(data['m_p'])
- }
- };
- _BP._EL(_gP);
- function _OP() {
- this.parent.call(this);
- this._hP = _gP._xP;
- this._iP = _lM;
- this._PP = new _ZM();
- this._QP = new _ZM();
- this._RP = new _ZM();
- this._SP = new _ZM();
- this._TP = !1;
- this._UP = !1;
- Object.seal(this)
- }
- _OP.prototype = {
- _gi: function(_hc, _ic) {
- this._QP._2N(_hc);
- this._RP._2N(_ic);
- this._TP = !1;
- this._UP = !1
- },
- _u8: function() {
- var _DP = new _OP();
- _DP._PP = this._PP._u8();
- _DP._QP = this._QP._u8();
- _DP._RP = this._RP._u8();
- _DP._SP = this._SP._u8();
- _DP._TP = this._TP;
- _DP._UP = this._UP;
- return _DP
- },
- _kP: function() {
- return 1
- },
- _lP: function(transform, _mv) {
- return ! 1
- },
- _mP: function(_4u, _2u, _ON, _nP) {
- var _TO = _eO(_ON._fu, _ZM._6N(_2u._TO, _ON._mv));
- var _UO = _eO(_ON._fu, _ZM._6N(_2u._UO, _ON._mv));
- var _mk = _ZM._6N(_UO, _TO);
- var _hc = this._QP;
- var _ic = this._RP;
- var e = _ZM._6N(_ic, _hc);
- var _vP = new _ZM(e._g3, -e._f3);
- _vP._9N();
- var _VP = _ZN(_vP, _ZM._6N(_hc, _TO));
- var _WP = _ZN(_vP, _mk);
- if (_WP == 0.0) {
- return ! 1
- }
- var _V9 = _VP / _WP;
- if (_V9 < 0.0 || _2u._FP < _V9) {
- return ! 1
- }
- var _fu = _ZM._Wh(_TO, _ZM._Vo(_V9, _mk));
- var _T9 = _ZM._6N(_ic, _hc);
- var _5v = _ZN(_T9, _T9);
- if (_5v == 0.0) {
- return ! 1
- }
- var _9q = _ZN(_ZM._6N(_fu, _hc), _T9) / _5v;
- if (_9q < 0.0 || 1.0 < _9q) {
- return ! 1
- }
- _4u._GP = _V9;
- if (_VP > 0.0) {
- _4u._vP = _dO(_ON._fu, _vP)._3N()
- } else {
- _4u._vP = _dO(_ON._fu, _vP)
- }
- return ! 0
- },
- _oP: function(_pP, _ON, _nP) {
- var _5k = (_ON._fu._I3 * this._QP._f3 - _ON._fu._9q * this._QP._g3) + _ON._mv._f3;
- var _8k = (_ON._fu._9q * this._QP._f3 + _ON._fu._I3 * this._QP._g3) + _ON._mv._g3;
- var _6k = (_ON._fu._I3 * this._RP._f3 - _ON._fu._9q * this._RP._g3) + _ON._mv._f3;
- var _9k = (_ON._fu._9q * this._RP._f3 + _ON._fu._I3 * this._RP._g3) + _ON._mv._g3;
- var _XP = _qO(_5k, _6k);
- var _YP = _qO(_8k, _9k);
- var _ZP = _sO(_5k, _6k);
- var __P = _sO(_8k, _9k);
- _pP._HP._f3 = _XP - this._iP;
- _pP._HP._g3 = _YP - this._iP;
- _pP._IP._f3 = _ZP + this._iP;
- _pP._IP._g3 = __P + this._iP
- },
- _qP: function(_rP, _sP) {
- _rP._eP = 0.0;
- _rP._OO = _ZM._Vo(0.5, _ZM._Wh(this._QP, this._RP));
- _rP._fP = 0.0
- },
- _tP: function(_ON, _mv, _uP, _vP, _nP) {
- var _hc = _fO(_ON, this._QP);
- var _ic = _fO(_ON, this._RP);
- var _mk = _ZM._6N(_mv, _hc);
- var _9q = _ZM._6N(_ic, _hc);
- var _0Q = _ZN(_mk, _9q);
- if (_0Q > 0) {
- var _mp = _ZN(_9q, _9q);
- if (_0Q > _mp) {
- _mk._2N(_ZM._6N(_mv, _ic))
- } else {
- _mk._6N(_ZM._Vo(_0Q / _mp, _9q))
- }
- }
- var _NP = _mk._7N();
- _uP[0] = _NP;
- _vP._2N(_NP > 0 ? _ZM._Vo(1 / _NP, _mk) : new _ZM(0, 0))
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['m_vertex1'] = this._QP._dN();
- _xr['m_vertex2'] = this._RP._dN();
- _xr['m_hasVertex0'] = this._TP;
- if (this._TP) _xr['m_vertex0'] = this._PP._dN();
- _xr['m_hasVertex3'] = this._UP;
- if (this._UP) _xr['m_vertex3'] = this._SP._dN();
- return _xr
- },
- _fN: function(data) {
- this.parent.prototype._fN.call(this, data);
- this._QP._fN(data['m_vertex1']);
- this._RP._fN(data['m_vertex2']);
- this._TP = data['m_hasVertex0'];
- if (this._TP) this._PP._fN(data['m_vertex0']);
- this._UP = data['m_hasVertex3'];
- if (this._UP) this._SP._fN(data['m_vertex3'])
- }
- };
- _OP._EL(_gP);
- function _1Q() {
- this.parent.call(this);
- this._hP = _gP._zP;
- this._iP = _lM;
- this._2Q = null;
- this._3Q = 0;
- this._4Q = new _ZM();
- this._5Q = new _ZM();
- this._6Q = !1;
- this._7Q = !1;
- Object.seal(this)
- }
- _1Q._8Q = new _OP();
- _1Q.prototype = {
- _9Q: function(_rb, _Ea) {
- _9M(this._2Q == null && this._3Q == 0);
- _9M(_Ea >= 3);
- for (var _H3 = 1; _H3 < _Ea; ++_H3) {
- var _hc = _rb[_H3 - 1];
- var _ic = _rb[_H3];
- _9M(_5O(_hc, _ic) > _jM * _jM)
- }
- this._3Q = _Ea + 1;
- this._2Q = new Array(this._3Q);
- for (var _H3 = 0; _H3 < _Ea; ++_H3) this._2Q[_H3] = _rb[_H3]._u8();
- this._2Q[_Ea] = this._2Q[0]._u8();
- this._4Q._2N(this._2Q[this._3Q - 2]);
- this._5Q._2N(this._2Q[1]);
- this._6Q = !0;
- this._7Q = !0
- },
- _aQ: function(_rb, _Ea) {
- _9M(this._2Q == null && this._3Q == 0);
- _9M(_Ea >= 2);
- for (var _H3 = 1; _H3 < _Ea; ++_H3) {
- var _hc = _rb[_H3 - 1];
- var _ic = _rb[_H3];
- _9M(_5O(_hc, _ic) > _jM * _jM)
- }
- this._3Q = _Ea;
- this._2Q = new Array(_Ea);
- for (var _H3 = 0; _H3 < _Ea; ++_H3) this._2Q[_H3] = _rb[_H3]._u8();
- this._6Q = !1;
- this._7Q = !1;
- this._4Q.__M();
- this._5Q.__M()
- },
- _bQ: function(_cQ) {
- this._4Q._2N(_cQ);
- this._6Q = !0
- },
- _dQ: function(_eQ) {
- this._5Q._2N(_eQ);
- this._7Q = !0
- },
- _u8: function() {
- var _DP = new _1Q();
- _DP._3Q = this._3Q;
- _DP._2Q = new Array(this._3Q);
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) _DP._2Q[_H3] = this._2Q[_H3]._u8();
- _DP._4Q = this._4Q._u8();
- _DP._5Q = this._5Q._u8();
- _DP._6Q = this._6Q;
- _DP._7Q = this._7Q;
- return _DP;
- },
- _kP: function() {
- return this._3Q - 1
- },
- _fQ: function(_gQ, index) {
- _9M(0 <= index && index < this._3Q - 1);
- _gQ._hP = _gP._xP;
- _gQ._iP = this._iP;
- _gQ._QP = this._2Q[index + 0];
- _gQ._RP = this._2Q[index + 1];
- if (index > 0) {
- _gQ._PP = this._2Q[index - 1];
- _gQ._TP = !0
- } else {
- _gQ._PP = this._4Q;
- _gQ._TP = this._6Q
- }
- if (index < this._3Q - 2) {
- _gQ._SP = this._2Q[index + 2];
- _gQ._UP = !0
- } else {
- _gQ._SP = this._5Q;
- _gQ._UP = this._7Q
- }
- },
- _lP: function(transform, _mv) {
- return ! 1
- },
- _mP: function(_4u, _2u, _ON, _nP) {
- _9M(_nP < this._3Q);
- var _hQ = _nP;
- var _iQ = _nP + 1;
- if (_iQ == this._3Q) {
- _iQ = 0
- }
- _1Q._8Q._QP = this._2Q[_hQ]._u8();
- _1Q._8Q._RP = this._2Q[_iQ]._u8();
- return _1Q._8Q._mP(_4u, _2u, _ON, 0)
- },
- _oP: function(_pP, _ON, _nP) {
- _9M(_nP < this._3Q);
- var _hQ = _nP;
- var _iQ = _nP + 1;
- if (_iQ == this._3Q) {
- _iQ = 0
- }
- var _5k = (_ON._fu._I3 * this._2Q[_hQ]._f3 - _ON._fu._9q * this._2Q[_hQ]._g3) + _ON._mv._f3;
- var _8k = (_ON._fu._9q * this._2Q[_hQ]._f3 + _ON._fu._I3 * this._2Q[_hQ]._g3) + _ON._mv._g3;
- var _6k = (_ON._fu._I3 * this._2Q[_iQ]._f3 - _ON._fu._9q * this._2Q[_iQ]._g3) + _ON._mv._f3;
- var _9k = (_ON._fu._9q * this._2Q[_iQ]._f3 + _ON._fu._I3 * this._2Q[_iQ]._g3) + _ON._mv._g3;
- _pP._HP._f3 = _qO(_5k, _6k);
- _pP._HP._g3 = _qO(_8k, _9k);
- _pP._IP._f3 = _sO(_5k, _6k);
- _pP._IP._g3 = _sO(_8k, _9k)
- },
- _qP: function(_rP, _sP) {
- _rP._eP = 0.0;
- _rP._OO.__M();
- _rP._fP = 0.0
- },
- _tP: function(_ON, _mv, _uP, _vP, _nP) {
- this._fQ(_1Q._8Q, _nP);
- _1Q._8Q._tP(_ON, _mv, _uP, _vP, 0)
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['m_count'] = this._3Q;
- _xr['m_vertices'] = [];
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) _xr['m_vertices'].push(this._2Q[_H3]._dN());
- _xr['m_hasPrevVertex'] = this._6Q;
- if (this._6Q) _xr['m_prevVertex'] = this._4Q._dN();
- _xr['m_hasNextVertex'] = this._7Q;
- if (this._7Q) _xr['m_nextVertex'] = this._5Q._dN();
- return _xr
- },
- _fN: function(data) {
- this.parent.prototype._fN.call(this, data);
- this._3Q = data['m_count'];
- this._2Q = [];
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._2Q[_H3] = new _ZM();
- this._2Q[_H3]._fN(data['m_vertices'][_H3])
- }
- this._6Q = data['m_hasPrevVertex'];
- if (this._6Q) this._4Q._fN(data['m_prevVertex']);
- this._7Q = data['m_hasNextVertex'];
- if (this._7Q) this._5Q._fN(data['m_nextVertex'])
- }
- };
- _1Q._EL(_gP);
- function _jQ() {
- this.parent.call(this);
- this._hP = _gP._yP;
- this._iP = _lM;
- this._3Q = 0;
- this._kQ = new _ZM();
- this._2Q = new Array(_gM);
- this._lQ = new Array(_gM);
- Object.seal(this)
- }
- _jQ.prototype = {
- _u8: function() {
- var _DP = new _jQ();
- _DP._3Q = this._3Q;
- _DP._kQ = this._kQ._u8();
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- _DP._2Q[_H3] = this._2Q[_H3]._u8();
- _DP._lQ[_H3] = this._lQ[_H3]._u8()
- }
- return _DP
- },
- _kP: function() {
- return 1
- },
- _gi: function(_rb, _Ea) {
- _9M(3 <= _Ea && _Ea <= _gM);
- if (_Ea < 3) {
- this._mQ(1.0, 1.0);
- return
- }
- var _C9 = _qO(_Ea, _gM);
- var _nQ = new Array(_gM);
- var _oQ = 0;
- for (var _H3 = 0; _H3 < _C9; ++_H3) {
- var _xb = _rb[_H3];
- var _pQ = !0;
- for (var __9 = 0; __9 < _oQ; ++__9) {
- if (_5O(_xb, _nQ[__9]) < 0.5 * _jM) {
- _pQ = !1;
- break
- }
- }
- if (_pQ) {
- _nQ[_oQ++] = _xb._u8()
- }
- }
- _C9 = _oQ;
- if (_C9 < 3) {
- _9M(!1);
- this._mQ(1.0, 1.0);
- return
- }
- var _qQ = 0;
- var _Lb = _nQ[0]._f3;
- for (_H3 = 1; _H3 < _C9; ++_H3) {
- var _f3 = _nQ[_H3]._f3;
- if (_f3 > _Lb || (_f3 == _Lb && _nQ[_H3]._g3 < _nQ[_qQ]._g3)) {
- _qQ = _H3;
- _Lb = _f3
- }
- }
- var _rQ = new Array(_gM);
- var _F9 = 0;
- var _sQ = _qQ;
- for (;;) {
- _rQ[_F9] = _sQ;
- var _tQ = 0;
- for (__9 = 1; __9 < _C9; ++__9) {
- if (_tQ == _sQ) {
- _tQ = __9;
- continue
- }
- var _T9 = _ZM._6N(_nQ[_tQ], _nQ[_rQ[_F9]]);
- var _xb = _ZM._6N(_nQ[__9], _nQ[_rQ[_F9]]);
- var _I3 = __N(_T9, _xb);
- if (_I3 < 0.0) {
- _tQ = __9
- }
- if (_I3 == 0.0 && _xb._8N() > _T9._8N()) {
- _tQ = __9
- }
- }++_F9;
- _sQ = _tQ;
- if (_tQ == _qQ) {
- break
- }
- }
- this._3Q = _F9;
- for (_H3 = 0; _H3 < _F9; ++_H3) {
- this._2Q[_H3] = _nQ[_rQ[_H3]]._u8()
- }
- for (_H3 = 0; _H3 < _F9; ++_H3) {
- var _hQ = _H3;
- var _iQ = _H3 + 1 < _F9 ? _H3 + 1 : 0;
- var _gQ = _ZM._6N(this._2Q[_iQ], this._2Q[_hQ]);
- _9M(_gQ._8N() > _dM * _dM);
- this._lQ[_H3] = _0O(_gQ, 1.0)._u8();
- this._lQ[_H3]._9N()
- }
- this._kQ = _jQ._uQ(this._2Q, _F9)
- },
- _mQ: function(_vQ, _wQ, _OO, _0b) {
- this._3Q = 4;
- this._2Q[0] = new _ZM( - _vQ, -_wQ);
- this._2Q[1] = new _ZM(_vQ, -_wQ);
- this._2Q[2] = new _ZM(_vQ, _wQ);
- this._2Q[3] = new _ZM( - _vQ, _wQ);
- this._lQ[0] = new _ZM(0.0, -1.0);
- this._lQ[1] = new _ZM(1.0, 0.0);
- this._lQ[2] = new _ZM(0.0, 1.0);
- this._lQ[3] = new _ZM( - 1.0, 0.0);
- if (!_OO) return;
- this._kQ._2N(_OO);
- var _ON = new _NN();
- _ON._mv = _OO;
- _ON._fu._gi(_0b);
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._2Q[_H3]._2N(_fO(_ON, this._2Q[_H3]));
- this._lQ[_H3]._2N(_dO(_ON._fu, this._lQ[_H3]))
- }
- },
- _lP: function(_ON, _mv) {
- var _xQ = _eO(_ON._fu, _ZM._6N(_mv, _ON._mv));
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _yQ = _ZN(this._lQ[_H3], _ZM._6N(_xQ, this._2Q[_H3]));
- if (_yQ > 0.0) {
- return ! 1
- }
- }
- return ! 0
- },
- _mP: function(_4u, _2u, _ON, _nP) {
- var _TO = _eO(_ON._fu, _ZM._6N(_2u._TO, _ON._mv));
- var _UO = _eO(_ON._fu, _ZM._6N(_2u._UO, _ON._mv));
- var _mk = _ZM._6N(_UO, _TO);
- var _Sz = 0.0,
- _zQ = _2u._FP;
- var index = -1;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _VP = _ZN(this._lQ[_H3], _ZM._6N(this._2Q[_H3], _TO));
- var _WP = _ZN(this._lQ[_H3], _mk);
- if (_WP == 0.0) {
- if (_VP < 0.0) {
- return ! 1
- }
- } else {
- if (_WP < 0.0 && _VP < _Sz * _WP) {
- _Sz = _VP / _WP;
- index = _H3
- } else if (_WP > 0.0 && _VP < _zQ * _WP) {
- _zQ = _VP / _WP
- }
- }
- if (_zQ < _Sz) {
- return ! 1
- }
- }
- _9M(0.0 <= _Sz && _Sz <= _2u._FP);
- if (index >= 0) {
- _4u._GP = _Sz;
- _4u._vP = _dO(_ON._fu, this._lQ[index]);
- return ! 0
- }
- return ! 1
- },
- _oP: function(_pP, _ON, _nP) {
- var _XP = (_ON._fu._I3 * this._2Q[0]._f3 - _ON._fu._9q * this._2Q[0]._g3) + _ON._mv._f3;
- var _YP = (_ON._fu._9q * this._2Q[0]._f3 + _ON._fu._I3 * this._2Q[0]._g3) + _ON._mv._g3;
- var _ZP = _XP;
- var __P = _YP;
- for (var _H3 = 1; _H3 < this._3Q; ++_H3) {
- var _AQ = (_ON._fu._I3 * this._2Q[_H3]._f3 - _ON._fu._9q * this._2Q[_H3]._g3) + _ON._mv._f3;
- var _BQ = (_ON._fu._9q * this._2Q[_H3]._f3 + _ON._fu._I3 * this._2Q[_H3]._g3) + _ON._mv._g3;
- _XP = _qO(_XP, _AQ);
- _YP = _qO(_YP, _BQ);
- _ZP = _sO(_ZP, _AQ);
- __P = _sO(__P, _BQ)
- }
- _pP._HP._f3 = _XP - this._iP;
- _pP._HP._g3 = _YP - this._iP;
- _pP._IP._f3 = _ZP + this._iP;
- _pP._IP._g3 = __P + this._iP
- },
- _qP: function(_rP, _sP) {
- _9M(this._3Q >= 3);
- var _OO = new _ZM(0.0, 0.0);
- var _CQ = 0.0;
- var _fP = 0.0;
- var _9q = new _ZM(0.0, 0.0);
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- _9q._Wh(this._2Q[_H3])
- }
- _9q._Vo(1.0 / this._3Q);
- var _DQ = 1.0 / 3.0;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _EQ = _ZM._6N(this._2Q[_H3], _9q);
- var _FQ = _H3 + 1 < this._3Q ? _ZM._6N(this._2Q[_H3 + 1], _9q) : _ZM._6N(this._2Q[0], _9q);
- var _GQ = __N(_EQ, _FQ);
- var _HQ = 0.5 * _GQ;
- _CQ += _HQ;
- _OO._Wh(_ZM._Vo(_HQ * _DQ, _ZM._Wh(_EQ, _FQ)));
- var _IQ = _EQ._f3,
- _JQ = _EQ._g3;
- var _KQ = _FQ._f3,
- _LQ = _FQ._g3;
- var _MQ = _IQ * _IQ + _KQ * _IQ + _KQ * _KQ;
- var _NQ = _JQ * _JQ + _LQ * _JQ + _LQ * _LQ;
- _fP += (0.25 * _DQ * _GQ) * (_MQ + _NQ)
- }
- _rP._eP = _sP * _CQ;
- _9M(_CQ > _dM);
- _OO._Vo(1.0 / _CQ);
- _rP._OO = _ZM._Wh(_OO, _9q);
- _rP._fP = _sP * _fP;
- _rP._fP += _rP._eP * (_ZN(_rP._OO, _rP._OO) - _ZN(_OO, _OO))
- },
- _LP: function() {
- return this._3Q
- },
- _MP: function(index) {
- _9M(0 <= index && index < this._3Q);
- return this._2Q[index]
- },
- _OQ: function() {
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _hQ = _H3;
- var _iQ = _H3 < this._3Q - 1 ? _hQ + 1 : 0;
- var _mv = this._2Q[_hQ];
- var e = _ZM._6N(this._2Q[_iQ], _mv);
- for (var __9 = 0; __9 < this._3Q; ++__9) {
- if (__9 == _hQ || __9 == _iQ) {
- continue
- }
- var _xb = _ZM._6N(this._2Q[__9], _mv);
- var _I3 = __N(e, _xb);
- if (_I3 < 0.0) {
- return ! 1
- }
- }
- }
- return ! 0
- },
- _tP: function(_ON, _mv, _PQ, _vP, _nP) {
- var _xQ = _eO(_ON._fu, _ZM._6N(_mv, _ON._mv));
- var maxDistance = -Number.MAX_VALUE;
- var _QQ = _xQ;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _yQ = _ZN(this._lQ[_H3], _ZM._6N(_xQ, this._2Q[_H3]));
- if (_yQ > maxDistance) {
- maxDistance = _yQ;
- _QQ = this._lQ[_H3]
- }
- }
- if (maxDistance > 0) {
- var _RQ = _QQ;
- var _SQ = maxDistance * maxDistance;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _uP = _ZM._6N(_xQ, this._2Q[_H3]);
- var _TQ = _uP._8N();
- if (_SQ > _TQ) {
- _RQ = _uP;
- _SQ = _TQ
- }
- }
- _PQ[0] = _WM(_SQ);
- _vP._2N(_dO(_ON._fu, _RQ));
- _vP._9N()
- } else {
- _PQ[0] = maxDistance;
- _vP._2N(_dO(_ON._fu, _QQ))
- }
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['m_count'] = this._3Q;
- _xr['m_centroid'] = this._kQ._dN();
- _xr['m_vertices'] = [];
- _xr['m_normals'] = [];
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- _xr['m_vertices'].push(this._2Q[_H3]._dN());
- _xr['m_normals'].push(this._lQ[_H3]._dN())
- }
- return _xr
- },
- _fN: function(data) {
- this.parent.prototype._fN.call(this, data);
- this._3Q = data['m_count'];
- this._kQ._fN(data['m_centroid']);
- this._2Q = [];
- this._lQ = [];
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._2Q[_H3] = new _ZM();
- this._2Q[_H3]._fN(data['m_vertices'][_H3]);
- this._lQ[_H3] = new _ZM();
- this._lQ[_H3]._fN(data['m_normals'][_H3])
- }
- }
- };
- _jQ._uQ = function(_UQ, _Ea) {
- _9M(_Ea >= 3);
- var _I3 = new _ZM();
- var _CQ = 0.0;
- var _VQ = new _ZM(0.0, 0.0);
- var _WQ = 1.0 / 3.0;
- for (var _H3 = 0; _H3 < _Ea; ++_H3) {
- var _TO = _VQ;
- var _UO = _UQ[_H3];
- var _XQ = _H3 + 1 < _Ea ? _UQ[_H3 + 1] : _UQ[0];
- var _EQ = _ZM._6N(_UO, _TO);
- var _FQ = _ZM._6N(_XQ, _TO);
- var _GQ = __N(_EQ, _FQ);
- var _HQ = 0.5 * _GQ;
- _CQ += _HQ;
- _I3._Wh(_ZM._Vo(_HQ, _ZM._Vo(_WQ, _ZM._Wh(_ZM._Wh(_TO, _UO), _XQ))))
- }
- _9M(_CQ > _dM);
- _I3._Vo(1.0 / _CQ);
- return _I3
- };
- _jQ._EL(_gP);
- function _YQ() {
- this._ZQ = 0;
- this.__Q = 0
- }
- function _0R(_1R, _2R) {
- if (_1R._ZQ == _2R._ZQ) {
- return _1R.__Q - _2R.__Q
- }
- return _1R._ZQ - _2R._ZQ
- }
- function _3R() {
- this._4R = new _5R();
- this._6R = 0;
- this._7R = 0;
- this._8R = 0;
- this._9R = [];
- this._aR = 0;
- this._bR = []
- }
- _3R.prototype = {
- _cR: function(_pP, _dR) {
- var _eR = this._4R._cR(_pP, _dR); ++this._7R;
- this._fR(_eR);
- return _eR
- },
- _gR: function(_eR) {
- this._hR(_eR); --this._7R;
- this._4R._gR(_eR)
- },
- _iR: function(_eR, _pP, _jR) {
- var buffer = this._4R._iR(_eR, _pP, _jR);
- if (buffer) {
- this._fR(_eR);
- }
- },
- _kR: function(_eR) {
- this._fR(_eR)
- },
- _lR: function(_eR) {
- return this._4R._lR(_eR)
- },
- _mR: function(_eR) {
- return this._4R._mR(_eR)
- },
- _nR: function(_ZQ, __Q) {
- var _oR = this._4R._lR(_ZQ);
- var _pR = this._4R._lR(__Q);
- return _qR(_oR, _pR)
- },
- _rR: function() {
- return this._7R
- },
- _sR: function(_tR) {
- this._8R = 0;
- this._9R.length = 0;
- for (var _H3 = 0; _H3 < this._aR; ++_H3) {
- this._6R = this._bR[_H3];
- if (this._6R == _3R._uR) {
- continue
- }
- var _vR = this._4R._lR(this._6R);
- this._4R._wR(this, _vR)
- }
- this._aR = 0;
- this._9R.sort(_0R);
- var _H3 = 0;
- while (_H3 < this._8R) {
- var _xR = this._9R[_H3];
- var _yR = this._4R._mR(_xR._ZQ);
- var _zR = this._4R._mR(_xR.__Q);
- _tR._AR(_yR, _zR); ++_H3;
- while (_H3 < this._8R) {
- var _BR = this._9R[_H3];
- if (_BR._ZQ != _xR._ZQ || _BR.__Q != _xR.__Q) {
- break
- }++_H3
- }
- }
- },
- _wR: function(_tR, _pP) {
- this._4R._wR(_tR, _pP)
- },
- _mP: function(_tR, _2u) {
- this._4R._mP(_tR, _2u)
- },
- _CR: function() {
- return this._4R._DR()
- },
- _ER: function() {
- return this._4R._FR()
- },
- _GR: function() {
- return this._4R._HR()
- },
- _IR: function(_JR) {
- this._4R._IR(_JR)
- },
- _fR: function(_eR) {
- this._bR[this._aR] = _eR; ++this._aR
- },
- _hR: function(_eR) {
- for (var _H3 = 0; _H3 < this._aR; ++_H3) {
- if (this._bR[_H3] == _eR) {
- this._bR[_H3] = _3R._uR
- }
- }
- },
- _KR: function(_eR) {
- if (_eR == this._6R) {
- return ! 0
- }
- this._9R[this._8R] = new _YQ();
- this._9R[this._8R]._ZQ = _qO(_eR, this._6R);
- this._9R[this._8R].__Q = _sO(_eR, this._6R); ++this._8R;
- return ! 0
- }
- };
- _3R._uR = -1;
- function _LR() {
- this._2Q = null;
- this._3Q = 0;
- this._iP = 0
- }
- _LR.prototype = {
- _2N: function(_R9) {
- this._2Q = _R9._2Q;
- this._3Q = _R9._3Q;
- this._iP = _R9._iP
- },
- _gi: function(_DP, index) {
- switch (_DP._jP()) {
- case _gP._wP:
- {
- var _MR = _DP;
- this._2Q = [_MR._CP];
- this._3Q = 1;
- this._iP = _MR._iP
- }
- break;
- case _gP._yP:
- {
- var _NR = _DP;
- this._2Q = _NR._2Q;
- this._3Q = _NR._3Q;
- this._iP = _NR._iP
- }
- break;
- case _gP._zP:
- {
- var _OR = _DP;
- _9M(0 <= index && index < _OR._3Q);
- this._2Q = [_OR._2Q[index]];
- if (index + 1 < _OR._3Q) {
- this._2Q[1] = _OR._2Q[index + 1]
- } else {
- this._2Q[1] = _OR._2Q[0]
- }
- this._3Q = 2;
- this._iP = _OR._iP
- }
- break;
- case _gP._xP:
- {
- var _gQ = _DP;
- this._2Q = [_gQ._QP, _gQ._RP];
- this._3Q = 2;
- this._iP = _gQ._iP
- }
- break;
- default:
- _9M(!1)
- }
- },
- _JP: function(_Yb, _Zb) {
- var _PR = 0;
- var _QR = this._2Q[0]._f3 * _Yb + this._2Q[0]._g3 * _Zb;
- for (var _H3 = 1; _H3 < this._3Q; ++_H3) {
- var value = this._2Q[_H3]._f3 * _Yb + this._2Q[_H3]._g3 * _Zb;
- if (value > _QR) {
- _PR = _H3;
- _QR = value
- }
- }
- return _PR
- },
- _KP: function(_Yb, _Zb) {
- return this._2Q[this._JP(_Yb, _Zb)]
- },
- _LP: function() {
- return this._3Q
- },
- _MP: function(index) {
- _9M(0 <= index && index < this._3Q);
- return this._2Q[index]
- }
- };
- function _RR() {
- this._SR = 0;
- this._Ea = 0;
- this._TR = [0, 0, 0];
- this._UR = [0, 0, 0]
- };
- function _VR() {
- this._WR = new _LR();
- this._XR = new _LR();
- this._YR = new _NN();
- this._ZR = new _NN();
- this.__R = !1
- };
- function _0S() {
- this._1S = new _ZM();
- this._2S = new _ZM();
- this._uP = 0;
- this._3S = 0
- };
- function _4S() {
- this._5S = new _ZM();
- this._6S = new _ZM();
- this._J3 = new _ZM();
- this._kb = 0;
- this._TR = 0;
- this._UR = 0
- }
- _4S.prototype = {
- _2N: function(_R9) {
- this._5S._f3 = _R9._5S._f3;
- this._5S._g3 = _R9._5S._g3;
- this._6S._f3 = _R9._6S._f3;
- this._6S._g3 = _R9._6S._g3;
- this._J3._f3 = _R9._J3._f3;
- this._J3._g3 = _R9._J3._g3;
- this._kb = _R9._kb;
- this._TR = _R9._TR;
- this._UR = _R9._UR
- }
- };
- function _7S() {
- this._8S = [new _4S(), new _4S(), new _4S()];
- this._3Q = 0
- }
- _7S.prototype = {
- _9S: function(_Da, _WR, _YR, _XR, _ZR) {
- _9M(_Da._Ea <= 3);
- this._3Q = _Da._Ea;
- var _rb = this._8S;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _xb = _rb[_H3];
- _xb._TR = _Da._TR[_H3];
- _xb._UR = _Da._UR[_H3];
- var _aS = _WR._MP(_xb._TR);
- var _bS = _XR._MP(_xb._UR);
- _xb._5S._f3 = (_YR._fu._I3 * _aS._f3 - _YR._fu._9q * _aS._g3) + _YR._mv._f3;
- _xb._5S._g3 = (_YR._fu._9q * _aS._f3 + _YR._fu._I3 * _aS._g3) + _YR._mv._g3;
- _xb._6S._f3 = (_ZR._fu._I3 * _bS._f3 - _ZR._fu._9q * _bS._g3) + _ZR._mv._f3;
- _xb._6S._g3 = (_ZR._fu._9q * _bS._f3 + _ZR._fu._I3 * _bS._g3) + _ZR._mv._g3;
- _xb._J3._f3 = _xb._6S._f3 - _xb._5S._f3;
- _xb._J3._g3 = _xb._6S._g3 - _xb._5S._g3;
- _xb._kb = 0.0
- }
- if (this._3Q > 1) {
- var _cS = _Da._SR;
- var _dS = this._eS();
- if (_dS < 0.5 * _cS || 2.0 * _cS < _dS || _dS < _dM) {
- this._3Q = 0
- }
- }
- if (this._3Q == 0) {
- var _xb = _rb[0];
- _xb._TR = 0;
- _xb._UR = 0;
- var _aS = _WR._MP(0);
- var _bS = _XR._MP(0);
- _xb._5S._f3 = (_YR._fu._I3 * _aS._f3 - _YR._fu._9q * _aS._g3) + _YR._mv._f3;
- _xb._5S._g3 = (_YR._fu._9q * _aS._f3 + _YR._fu._I3 * _aS._g3) + _YR._mv._g3;
- _xb._6S._f3 = (_ZR._fu._I3 * _bS._f3 - _ZR._fu._9q * _bS._g3) + _ZR._mv._f3;
- _xb._6S._g3 = (_ZR._fu._9q * _bS._f3 + _ZR._fu._I3 * _bS._g3) + _ZR._mv._g3;
- _xb._J3._f3 = _xb._6S._f3 - _xb._5S._f3;
- _xb._J3._g3 = _xb._6S._g3 - _xb._5S._g3;
- _xb._kb = 1.0;
- this._3Q = 1
- }
- },
- _fS: function(_Da) {
- _Da._SR = this._eS();
- _Da._Ea = this._3Q;
- var _rb = this._8S;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- _Da._TR[_H3] = _rb[_H3]._TR;
- _Da._UR[_H3] = _rb[_H3]._UR
- }
- },
- _gS: function(_mv) {
- switch (this._3Q) {
- case 1:
- _mv._f3 = -this._8S[0]._J3._f3;
- _mv._g3 = -this._8S[0]._J3._g3;
- break;
- case 2:
- {
- var _hS = this._8S[1]._J3._f3 - this._8S[0]._J3._f3;
- var _iS = this._8S[1]._J3._g3 - this._8S[0]._J3._g3;
- var _jS = _hS * -this._8S[0]._J3._g3 - _iS * -this._8S[0]._J3._f3;
- if (_jS > 0.0) {
- _mv._f3 = -1.0 * _iS;
- _mv._g3 = 1.0 * _hS
- } else {
- _mv._f3 = 1.0 * _iS;
- _mv._g3 = -1.0 * _hS
- }
- }
- break;
- default:
- _9M(!1);
- _mv._f3 = _mv._g3 = 0;
- break
- }
- },
- _kS: function(_mv) {
- switch (this._3Q) {
- case 1:
- _mv._f3 = this._8S[0]._J3._f3;
- _mv._g3 = this._8S[0]._J3._g3;
- break;
- case 2:
- _mv._f3 = (this._8S[0]._kb * this._8S[0]._J3._f3) + (this._8S[1]._kb * this._8S[1]._J3._f3);
- _mv._g3 = (this._8S[0]._kb * this._8S[0]._J3._g3) + (this._8S[1]._kb * this._8S[1]._J3._g3);
- break;
- case 3:
- _mv._f3 = _mv._g3 = 0;
- break;
- default:
- _9M(!1);
- _mv._f3 = _mv._g3 = 0;
- break
- }
- },
- _lS: function(_mS, _nS) {
- switch (this._3Q) {
- case 1:
- _mS._f3 = this._8S[0]._5S._f3;
- _mS._g3 = this._8S[0]._5S._g3;
- _nS._f3 = this._8S[0]._6S._f3;
- _nS._g3 = this._8S[0]._6S._g3;
- break;
- case 2:
- _mS._f3 = (this._8S[0]._kb * this._8S[0]._5S._f3) + (this._8S[1]._kb * this._8S[1]._5S._f3);
- _mS._g3 = (this._8S[0]._kb * this._8S[0]._5S._g3) + (this._8S[1]._kb * this._8S[1]._5S._g3);
- _nS._f3 = (this._8S[0]._kb * this._8S[0]._6S._f3) + (this._8S[1]._kb * this._8S[1]._6S._f3);
- _nS._g3 = (this._8S[0]._kb * this._8S[0]._6S._g3) + (this._8S[1]._kb * this._8S[1]._6S._g3);
- break;
- case 3:
- _mS._f3 = (this._8S[0]._kb * this._8S[0]._5S._f3) + (this._8S[1]._kb * this._8S[1]._5S._f3) + (this._8S[2]._kb * this._8S[2]._5S._f3);
- _mS._g3 = (this._8S[0]._kb * this._8S[0]._5S._g3) + (this._8S[1]._kb * this._8S[1]._5S._g3) + (this._8S[2]._kb * this._8S[2]._5S._g3);
- _nS._f3 = _mS._f3;
- _nS._g3 = _mS._g3;
- break;
- default:
- _9M(!1);
- break
- }
- },
- _eS: function() {
- switch (this._3Q) {
- case 1:
- return 0.0;
- case 2:
- return _4O(this._8S[0]._J3, this._8S[1]._J3);
- case 3:
- return (this._8S[1]._J3._f3 - this._8S[0]._J3._f3) * (this._8S[2]._J3._g3 - this._8S[0]._J3._g3) - (this._8S[1]._J3._g3 - this._8S[0]._J3._g3) * (this._8S[2]._J3._f3 - this._8S[0]._J3._f3);
- default:
- _9M(!1);
- return 0.0
- }
- },
- _oS: function() {
- var _pS = this._8S[0]._J3;
- var _qS = this._8S[1]._J3;
- var _hS = _qS._f3 - _pS._f3;
- var _iS = _qS._g3 - _pS._g3;
- var _rS = -(_pS._f3 * _hS + _pS._g3 * _iS);
- if (_rS <= 0.0) {
- this._8S[0]._kb = 1.0;
- this._3Q = 1;
- return
- }
- var _sS = _qS._f3 * _hS + _qS._g3 * _iS;
- if (_sS <= 0.0) {
- this._8S[1]._kb = 1.0;
- this._3Q = 1;
- this._8S[0]._2N(this._8S[1]);
- return
- }
- var _tS = 1.0 / (_sS + _rS);
- this._8S[0]._kb = _sS * _tS;
- this._8S[1]._kb = _rS * _tS;
- this._3Q = 2
- },
- _uS: function() {
- var _pS = this._8S[0]._J3;
- var _qS = this._8S[1]._J3;
- var _vS = this._8S[2]._J3;
- var _hS = _qS._f3 - _pS._f3;
- var _iS = _qS._g3 - _pS._g3;
- var _wS = _pS._f3 * _hS + _pS._g3 * _iS;
- var _xS = _qS._f3 * _hS + _qS._g3 * _iS;
- var _sS = _xS;
- var _rS = -_wS;
- var _yS = _vS._f3 - _pS._f3;
- var _zS = _vS._g3 - _pS._g3;
- var _AS = _pS._f3 * _yS + _pS._g3 * _zS;
- var _BS = _vS._f3 * _yS + _vS._g3 * _zS;
- var _CS = _BS;
- var _DS = -_AS;
- var _ES = _vS._f3 - _qS._f3;
- var _FS = _vS._g3 - _qS._g3;
- var _GS = _qS._f3 * _ES + _qS._g3 * _FS;
- var _HS = _vS._f3 * _ES + _vS._g3 * _FS;
- var _IS = _HS;
- var _JS = -_GS;
- var _KS = _hS * _zS - _iS * _yS;
- var _LS = _KS * (_qS._f3 * _vS._g3 - _qS._g3 * _vS._f3);
- var _MS = _KS * (_vS._f3 * _pS._g3 - _vS._g3 * _pS._f3);
- var _NS = _KS * (_pS._f3 * _qS._g3 - _pS._g3 * _qS._f3);
- if (_rS <= 0.0 && _DS <= 0.0) {
- this._8S[0]._kb = 1.0;
- this._3Q = 1;
- return;
- }
- if (_sS > 0.0 && _rS > 0.0 && _NS <= 0.0) {
- var _tS = 1.0 / (_sS + _rS);
- this._8S[0]._kb = _sS * _tS;
- this._8S[1]._kb = _rS * _tS;
- this._3Q = 2;
- return
- }
- if (_CS > 0.0 && _DS > 0.0 && _MS <= 0.0) {
- var _OS = 1.0 / (_CS + _DS);
- this._8S[0]._kb = _CS * _OS;
- this._8S[2]._kb = _DS * _OS;
- this._3Q = 2;
- this._8S[1]._2N(this._8S[2]);
- return
- }
- if (_sS <= 0.0 && _JS <= 0.0) {
- this._8S[1]._kb = 1.0;
- this._3Q = 1;
- this._8S[0]._2N(this._8S[1]);
- return
- }
- if (_CS <= 0.0 && _IS <= 0.0) {
- this._8S[2]._kb = 1.0;
- this._3Q = 1;
- this._8S[0]._2N(this._8S[2]);
- return
- }
- if (_IS > 0.0 && _JS > 0.0 && _LS <= 0.0) {
- var _PS = 1.0 / (_IS + _JS);
- this._8S[1]._kb = _IS * _PS;
- this._8S[2]._kb = _JS * _PS;
- this._3Q = 2;
- this._8S[0]._2N(this._8S[2]);
- return
- }
- var _QS = 1.0 / (_LS + _MS + _NS);
- this._8S[0]._kb = _LS * _QS;
- this._8S[1]._kb = _MS * _QS;
- this._8S[2]._kb = _NS * _QS;
- this._3Q = 3
- }
- };
- var _RS = new _7S();
- var _SS = new _ZM();
- var _TS = new _ZM();
- function _US(_4u, _Da, _2u) {++_US._VS;
- var _WR = _2u._WR;
- var _XR = _2u._XR;
- var _YR = _2u._YR;
- var _ZR = _2u._ZR;
- _RS._9S(_Da, _WR, _YR, _XR, _ZR);
- var _rb = _RS._8S;
- var _WS = 20;
- var _XS = [0, 0, 0],
- _YS = [0, 0, 0];
- var _ZS = 0;
- var __S = _cM;
- var _0T = __S;
- var _1T = 0;
- while (_1T < _WS) {
- _ZS = _RS._3Q;
- for (var _H3 = 0; _H3 < _ZS; ++_H3) {
- _XS[_H3] = _rb[_H3]._TR;
- _YS[_H3] = _rb[_H3]._UR
- }
- switch (_RS._3Q) {
- case 1:
- break;
- case 2:
- _RS._oS();
- break;
- case 3:
- _RS._uS();
- break;
- default:
- _9M(!1)
- }
- if (_RS._3Q == 3) {
- break
- }
- _RS._kS(_TS);
- _0T = _TS._8N();
- if (_0T >= __S) {}
- __S = _0T;
- _RS._gS(_TS);
- if (_TS._8N() < _dM * _dM) {
- break
- }
- var _2T = _rb[_RS._3Q];
- _2T._TR = _WR._JP(_YR._fu._I3 * -_TS._f3 + _YR._fu._9q * -_TS._g3, -_YR._fu._9q * -_TS._f3 + _YR._fu._I3 * -_TS._g3);
- var _3T = _WR._MP(_2T._TR);
- _2T._5S._f3 = (_YR._fu._I3 * _3T._f3 - _YR._fu._9q * _3T._g3) + _YR._mv._f3;
- _2T._5S._g3 = (_YR._fu._9q * _3T._f3 + _YR._fu._I3 * _3T._g3) + _YR._mv._g3;
- _2T._UR = _XR._JP(_ZR._fu._I3 * _TS._f3 + _ZR._fu._9q * _TS._g3, -_ZR._fu._9q * _TS._f3 + _ZR._fu._I3 * _TS._g3);
- var _4T = _XR._MP(_2T._UR);
- _2T._6S._f3 = (_ZR._fu._I3 * _4T._f3 - _ZR._fu._9q * _4T._g3) + _ZR._mv._f3;
- _2T._6S._g3 = (_ZR._fu._9q * _4T._f3 + _ZR._fu._I3 * _4T._g3) + _ZR._mv._g3;
- _2T._J3._f3 = _2T._6S._f3 - _2T._5S._f3;
- _2T._J3._g3 = _2T._6S._g3 - _2T._5S._g3; ++_1T; ++_US._5T;
- var _6T = !1;
- for (var _H3 = 0; _H3 < _ZS; ++_H3) {
- if (_2T._TR == _XS[_H3] && _2T._UR == _YS[_H3]) {
- _6T = !0;
- break
- }
- }
- if (_6T) {
- break
- }++_RS._3Q
- }
- _US._7T = _sO(_US._7T, _1T);
- _RS._lS(_4u._1S, _4u._2S);
- _4u._uP = _4O(_4u._1S, _4u._2S);
- _4u._3S = _1T;
- _RS._fS(_Da);
- if (_2u.__R) {
- var _8T = _WR._iP;
- var _9T = _XR._iP;
- if (_4u._uP > _8T + _9T && _4u._uP > _dM) {
- _4u._uP -= _8T + _9T;
- _SS._f3 = _4u._2S._f3 - _4u._1S._f3;
- _SS._g3 = _4u._2S._g3 - _4u._1S._g3;
- _SS._9N();
- _4u._1S._f3 += (_8T * _SS._f3);
- _4u._1S._g3 += (_8T * _SS._g3);
- _4u._2S._f3 -= (_9T * _SS._f3);
- _4u._2S._g3 -= (_9T * _SS._g3)
- } else {
- var _0k = (0.5 * (_4u._1S._f3 + _4u._2S._f3));
- var _1k = (0.5 * (_4u._1S._g3 + _4u._2S._g3));
- _4u._1S._f3 = _0k;
- _4u._1S._g3 = _1k;
- _4u._2S._f3 = _0k;
- _4u._2S._g3 = _1k;
- _4u._uP = 0.0
- }
- }
- }
- _US._VS = 0;
- _US._5T = 0;
- _US._7T = 0;
- var _aT = 255;
- function _bT() {}
- _bT.prototype = {
- _TR: 0,
- _UR: 0,
- _cT: 0,
- _dT: 0,
- _aP: function() {
- this._TR = this._UR = this._cT = this._dT = 0
- },
- _Gh: function() {
- return this._TR | (this._UR << 8) | (this._cT << 16) | (this._dT << 24)
- },
- _2N: function(_eT) {
- this._TR = _eT._TR;
- this._UR = _eT._UR;
- this._cT = _eT._cT;
- this._dT = _eT._dT
- }
- };
- _bT._fT = 0;
- _bT._gT = 1;
- function _hT() {
- this._iT = new _ZM();
- this._jT = 0;
- this._kT = 0;
- this.id = new _bT()
- };
- _hT.prototype = {
- _u8: function() {
- var _lT = new _hT();
- _lT._iT._f3 = this._iT._f3;
- _lT._iT._g3 = this._iT._g3;
- _lT._jT = this._jT;
- _lT._kT = this._kT;
- _lT.id._2N(this.id);
- return _lT
- }
- };
- function _mT() {
- this._e3 = new Array(_fM);
- this._nT = new _ZM();
- this._iT = new _ZM();
- this.type = 0;
- this._oT = 0
- };
- _mT.prototype = {
- _u8: function() {
- var _pT = new _mT();
- _pT._oT = this._oT;
- _pT.type = this.type;
- _pT._iT._f3 = this._iT._f3;
- _pT._iT._g3 = this._iT._g3;
- _pT._nT._f3 = this._nT._f3;
- _pT._nT._g3 = this._nT._g3;
- for (var _H3 = 0; _H3 < this._oT; ++_H3) _pT._e3[_H3] = this._e3[_H3]._u8();
- return _pT
- },
- _2N: function(_pT) {
- this._oT = _pT._oT;
- this.type = _pT.type;
- this._iT._f3 = _pT._iT._f3;
- this._iT._g3 = _pT._iT._g3;
- this._nT._f3 = _pT._nT._f3;
- this._nT._g3 = _pT._nT._g3;
- for (var _H3 = 0; _H3 < this._oT; ++_H3) this._e3[_H3] = _pT._e3[_H3]._u8()
- }
- };
- _mT._qT = 0;
- _mT._rT = 1;
- _mT._sT = 2;
- _mT._tT = 0;
- _mT._uT = 1;
- _mT._vT = 2;
- _mT._wT = 3;
- function _xT() {
- this._vP = new _ZM();
- this._e3 = new Array(_fM);
- this._yT = new Array(_fM)
- }
- _xT.prototype = {
- _zT: function(_pT, _AT, _BT, _CT, _DT) {
- if (_pT._oT == 0) {
- return
- }
- switch (_pT.type) {
- case _mT._qT:
- {
- this._vP._f3 = 1;
- this._vP._g3 = 0;
- var _ET = (_AT._fu._I3 * _pT._iT._f3 - _AT._fu._9q * _pT._iT._g3) + _AT._mv._f3;
- var _FT = (_AT._fu._9q * _pT._iT._f3 + _AT._fu._I3 * _pT._iT._g3) + _AT._mv._g3;
- var _GT = (_CT._fu._I3 * _pT._e3[0]._iT._f3 - _CT._fu._9q * _pT._e3[0]._iT._g3) + _CT._mv._f3;
- var _HT = (_CT._fu._9q * _pT._e3[0]._iT._f3 + _CT._fu._I3 * _pT._e3[0]._iT._g3) + _CT._mv._g3;
- var _IT = _ET - _GT;
- var _JT = _FT - _HT;
- if ((_IT * _IT + _JT * _JT) > _dM * _dM) {
- this._vP._f3 = _GT - _ET;
- this._vP._g3 = _HT - _FT;
- this._vP._9N()
- }
- var _KT = _ET + (_BT * this._vP._f3);
- var _LT = _FT + (_BT * this._vP._g3);
- var _MT = _GT - (_DT * this._vP._f3);
- var _NT = _HT - (_DT * this._vP._g3);
- this._e3[0] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT));
- this._yT[0] = (_MT - _KT) * this._vP._f3 + (_NT - _LT) * this._vP._g3
- }
- break;
- case _mT._rT:
- {
- this._vP._f3 = _AT._fu._I3 * _pT._nT._f3 - _AT._fu._9q * _pT._nT._g3;
- this._vP._g3 = _AT._fu._9q * _pT._nT._f3 + _AT._fu._I3 * _pT._nT._g3;
- var _OT = (_AT._fu._I3 * _pT._iT._f3 - _AT._fu._9q * _pT._iT._g3) + _AT._mv._f3;
- var _PT = (_AT._fu._9q * _pT._iT._f3 + _AT._fu._I3 * _pT._iT._g3) + _AT._mv._g3;
- for (var _H3 = 0; _H3 < _pT._oT; ++_H3) {
- var _QT = (_CT._fu._I3 * _pT._e3[_H3]._iT._f3 - _CT._fu._9q * _pT._e3[_H3]._iT._g3) + _CT._mv._f3;
- var _RT = (_CT._fu._9q * _pT._e3[_H3]._iT._f3 + _CT._fu._I3 * _pT._e3[_H3]._iT._g3) + _CT._mv._g3;
- var _mk = (_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3;
- var _KT = _QT + ((_BT - _mk) * this._vP._f3);
- var _LT = _RT + ((_BT - _mk) * this._vP._g3);
- var _MT = (_QT - (_DT * this._vP._f3));
- var _NT = (_RT - (_DT * this._vP._g3));
- this._e3[_H3] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT));
- this._yT[_H3] = (_MT - _KT) * this._vP._f3 + (_NT - _LT) * this._vP._g3;
- }
- }
- break;
- case _mT._sT:
- {
- this._vP._f3 = _CT._fu._I3 * _pT._nT._f3 - _CT._fu._9q * _pT._nT._g3;
- this._vP._g3 = _CT._fu._9q * _pT._nT._f3 + _CT._fu._I3 * _pT._nT._g3;
- var _OT = (_CT._fu._I3 * _pT._iT._f3 - _CT._fu._9q * _pT._iT._g3) + _CT._mv._f3;
- var _PT = (_CT._fu._9q * _pT._iT._f3 + _CT._fu._I3 * _pT._iT._g3) + _CT._mv._g3;
- for (var _H3 = 0; _H3 < _pT._oT; ++_H3) {
- var _QT = (_AT._fu._I3 * _pT._e3[_H3]._iT._f3 - _AT._fu._9q * _pT._e3[_H3]._iT._g3) + _AT._mv._f3;
- var _RT = (_AT._fu._9q * _pT._e3[_H3]._iT._f3 + _AT._fu._I3 * _pT._e3[_H3]._iT._g3) + _AT._mv._g3;
- var _mk = (_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3;
- var _MT = _QT + ((_DT - _mk) * this._vP._f3);
- var _NT = _RT + ((_DT - _mk) * this._vP._g3);
- var _KT = (_QT - (_BT * this._vP._f3));
- var _LT = (_RT - (_BT * this._vP._g3));
- this._e3[_H3] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT));
- this._yT[_H3] = (_KT - _MT) * this._vP._f3 + (_LT - _NT) * this._vP._g3
- }
- this._vP._f3 = -this._vP._f3;
- this._vP._g3 = -this._vP._g3
- }
- break
- }
- }
- };
- function _ST(_TT, _UT, _VT, _WT) {
- for (var _H3 = 0; _H3 < _fM; ++_H3) {
- _TT[_H3] = _mT._tT;
- _UT[_H3] = _mT._tT
- }
- for (var _H3 = 0; _H3 < _VT._oT; ++_H3) {
- var id = _VT._e3[_H3].id;
- _TT[_H3] = _mT._wT;
- for (var __9 = 0; __9 < _WT._oT; ++__9) {
- if (_WT._e3[__9].id._Gh() == id._Gh()) {
- _TT[_H3] = _mT._vT;
- break
- }
- }
- }
- for (var _H3 = 0; _H3 < _WT._oT; ++_H3) {
- var id = _WT._e3[_H3].id;
- _UT[_H3] = _mT._uT;
- for (var __9 = 0; __9 < _VT._oT; ++__9) {
- if (_VT._e3[__9].id._Gh() == id._Gh()) {
- _UT[_H3] = _mT._vT;
- break
- }
- }
- }
- }
- function _XT() {
- this._xb = new _ZM();
- this.id = new _bT()
- };
- function _YT() {
- this._TO = new _ZM(),
- this._UO = new _ZM();
- this._FP = 0
- };
- function _ZT() {
- this._vP = new _ZM();
- this._GP = 0
- };
- function __T() {
- this._HP = new _ZM();
- this._IP = new _ZM()
- }
- __T.prototype = {
- _2N: function(_0U) {
- this._HP._f3 = _0U._HP._f3;
- this._HP._g3 = _0U._HP._g3;
- this._IP._f3 = _0U._IP._f3;
- this._IP._g3 = _0U._IP._g3
- },
- _u8: function() {
- var _1U = new __T();
- _1U._HP._f3 = this._HP._f3;
- _1U._HP._g3 = this._HP._g3;
- _1U._IP._f3 = this._IP._f3;
- _1U._IP._g3 = this._IP._g3;
- return _1U
- },
- _bN: function() {
- return (this._IP._f3 - this._HP._f3) >= 0.0 && (this._IP._g3 - this._HP._g3) >= 0.0 && this._HP._bN() && this._IP._bN()
- },
- _2U: function() {
- return new _ZM(0.5 * (this._HP._f3 + this._IP._f3), 0.5 * (this._HP._g3 + this._IP._g3))
- },
- _3U: function() {
- return new _ZM(0.5 * (this._IP._f3 - this._HP._f3), 0.5 * (this._IP._g3 - this._HP._g3))
- },
- _4U: function() {
- return 2.0 * ((this._IP._f3 - this._HP._f3) + (this._IP._g3 - this._HP._g3))
- },
- _5U: function(_6U, _7U) {
- if (_7U) {
- this._HP._f3 = _qO(_6U._HP._f3, _7U._HP._f3);
- this._HP._g3 = _qO(_6U._HP._g3, _7U._HP._g3);
- this._IP._f3 = _sO(_6U._IP._f3, _7U._IP._f3);
- this._IP._g3 = _sO(_6U._IP._g3, _7U._IP._g3)
- } else {
- this._HP._f3 = _qO(this._HP._f3, _6U._HP._f3);
- this._HP._g3 = _qO(this._HP._g3, _6U._HP._g3);
- this._IP._f3 = _sO(this._IP._f3, _6U._IP._f3);
- this._IP._g3 = _sO(this._IP._g3, _6U._IP._g3)
- }
- },
- _8U: function(_pP) {
- return this._HP._f3 <= _pP._HP._f3 && this._HP._g3 <= _pP._HP._g3 && _pP._IP._f3 <= this._IP._f3 && _pP._IP._g3 <= this._IP._g3
- },
- _mP: function(_4u, _2u) {
- var _9U = -_cM;
- var _aU = _cM;
- var _mv = _2u._TO;
- var _mk = _ZM._6N(_2u._UO, _2u._TO);
- var _bU = _oO(_mk);
- var _vP = new _ZM();
- for (var _H3 = 0; _H3 < 2; ++_H3) {
- if (_bU._4N(_H3) < _dM) {
- if (_mv._4N(_H3) < this._HP._4N(_H3) || this._IP._4N(_H3) < _mv._4N(_H3)) {
- return ! 1
- }
- } else {
- var _cU = 1.0 / _mk._4N(_H3);
- var _dU = (this._HP._4N(_H3) - _mv._4N(_H3)) * _cU;
- var _eU = (this._IP._4N(_H3) - _mv._4N(_H3)) * _cU;
- var _9q = -1.0;
- if (_dU > _eU) {
- var _Fv = _eU;
- _eU = _dU;
- _dU = _Fv;
- _9q = 1.0
- }
- if (_dU > _9U) {
- _vP._f3 = _vP._g3 = 0;
- _vP._5N(_H3, _9q);
- _9U = _dU
- }
- _aU = _qO(_aU, _eU);
- if (_9U > _aU) {
- return ! 1
- }
- }
- }
- if (_9U < 0.0 || _2u._FP < _9U) {
- return ! 1
- }
- _4u._GP = _9U;
- _4u._vP._f3 = _vP._f3;
- _4u._vP._g3 = _vP._g3;
- return ! 0;
- }
- };
- function _fU(_pT, _gU, _AT, _hU, _CT) {
- _pT._oT = 0;
- var _mS = _fO(_AT, _gU._CP);
- var _nS = _fO(_CT, _hU._CP);
- var _Yb = _nS._f3 - _mS._f3;
- var _Zb = _nS._g3 - _mS._g3;
- var _iU = _Yb * _Yb + _Zb * _Zb;
- var _8T = _gU._iP,
- _9T = _hU._iP;
- var _PO = _8T + _9T;
- if (_iU > _PO * _PO) {
- return
- }
- _pT.type = _mT._qT;
- _pT._iT._f3 = _gU._CP._f3;
- _pT._iT._g3 = _gU._CP._g3;
- _pT._nT._f3 = _pT._nT._g3 = 0;
- _pT._oT = 1;
- _pT._e3[0] = new _hT();
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- _pT._e3[0].id._aP()
- }
- function _jU(_pT, _kU, _AT, _hU, _CT) {
- _pT._oT = 0;
- var _I3 = _fO(_CT, _hU._CP);
- var _lU = _hO(_AT, _I3);
- var _mU = 0;
- var _nU = -_cM;
- var _PO = _kU._iP + _hU._iP;
- var _LO = _kU._3Q;
- var _rb = _kU._2Q;
- var _oU = _kU._lQ;
- for (var _H3 = 0; _H3 < _LO; ++_H3) {
- var _9q = _oU[_H3]._f3 * (_lU._f3 - _rb[_H3]._f3) + _oU[_H3]._g3 * (_lU._g3 - _rb[_H3]._g3);
- if (_9q > _PO) {
- return
- }
- if (_9q > _nU) {
- _nU = _9q;
- _mU = _H3
- }
- }
- var _pU = _mU;
- var _qU = _pU + 1 < _LO ? _pU + 1 : 0;
- var _hc = _rb[_pU];
- var _ic = _rb[_qU];
- if (_nU < _dM) {
- _pT._oT = 1;
- _pT.type = _mT._rT;
- _pT._nT._f3 = _oU[_mU]._f3;
- _pT._nT._g3 = _oU[_mU]._g3;
- _pT._iT._f3 = 0.5 * (_hc._f3 + _ic._f3);
- _pT._iT._g3 = 0.5 * (_hc._g3 + _ic._g3);
- _pT._e3[0] = new _hT();
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- _pT._e3[0].id._aP();
- return
- }
- var _rU = (_lU._f3 - _hc._f3) * (_ic._f3 - _hc._f3) + (_lU._g3 - _hc._g3) * (_ic._g3 - _hc._g3);
- var _sU = (_lU._f3 - _ic._f3) * (_hc._f3 - _ic._f3) + (_lU._g3 - _ic._g3) * (_hc._g3 - _ic._g3);
- if (_rU <= 0.0) {
- if (_5O(_lU, _hc) > _PO * _PO) {
- return
- }
- _pT._oT = 1;
- _pT.type = _mT._rT;
- _pT._nT._f3 = _lU._f3 - _hc._f3;
- _pT._nT._g3 = _lU._g3 - _hc._g3;
- _pT._nT._9N();
- _pT._iT._f3 = _hc._f3;
- _pT._iT._g3 = _hc._g3;
- _pT._e3[0] = new _hT();
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- _pT._e3[0].id._aP()
- } else if (_sU <= 0.0) {
- if (_5O(_lU, _ic) > _PO * _PO) {
- return
- }
- _pT._oT = 1;
- _pT.type = _mT._rT;
- _pT._nT._f3 = _lU._f3 - _ic._f3;
- _pT._nT._g3 = _lU._g3 - _ic._g3;
- _pT._nT._9N();
- _pT._iT._f3 = _ic._f3;
- _pT._iT._g3 = _ic._g3;
- _pT._e3[0] = new _hT();
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- _pT._e3[0].id._aP()
- } else {
- var _tU = 0.5 * (_hc._f3 + _ic._f3);
- var _uU = 0.5 * (_hc._g3 + _ic._g3);
- var _nU = (_lU._f3 - _tU) * _oU[_pU]._f3 + (_lU._g3 - _uU) * _oU[_pU]._g3;
- if (_nU > _PO) {
- return
- }
- _pT._oT = 1;
- _pT.type = _mT._rT;
- _pT._nT._f3 = _oU[_pU]._f3;
- _pT._nT._g3 = _oU[_pU]._g3;
- _pT._iT._f3 = _tU;
- _pT._iT._g3 = _uU;
- _pT._e3[0] = new _hT();
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- _pT._e3[0].id._aP()
- }
- }
- function _vU(_wU, _xU, _yU, _zU, _AU) {
- var _BU = _xU._3Q;
- var _CU = _zU._3Q;
- var _DU = _xU._lQ;
- var _EU = _xU._2Q;
- var _FU = _zU._2Q;
- var _ON = _kO(_AU, _yU);
- var _PR = 0;
- var _GU = -_cM;
- for (var _H3 = 0; _H3 < _BU; ++_H3) {
- var _Jc = _ON._fu._I3 * _DU[_H3]._f3 - _ON._fu._9q * _DU[_H3]._g3;
- var _Kc = _ON._fu._9q * _DU[_H3]._f3 + _ON._fu._I3 * _DU[_H3]._g3;
- var _5k = (_ON._fu._I3 * _EU[_H3]._f3 - _ON._fu._9q * _EU[_H3]._g3) + _ON._mv._f3;
- var _8k = (_ON._fu._9q * _EU[_H3]._f3 + _ON._fu._I3 * _EU[_H3]._g3) + _ON._mv._g3;
- var _HU = _cM;
- for (var __9 = 0; __9 < _CU; ++__9) {
- var _IU = _Jc * (_FU[__9]._f3 - _5k) + _Kc * (_FU[__9]._g3 - _8k);
- if (_IU < _HU) {
- _HU = _IU
- }
- }
- if (_HU > _GU) {
- _GU = _HU;
- _PR = _H3
- }
- }
- _wU[0] = _PR;
- return _GU
- }
- function _JU(_I3, _xU, _yU, _KU, _zU, _AU) {
- var _LU = _xU._lQ;
- var _CU = _zU._3Q;
- var _MU = _zU._2Q;
- var _NU = _zU._lQ;
- _9M(0 <= _KU && _KU < _xU._3Q);
- var _OU = _yU._fu._I3 * _LU[_KU]._f3 - _yU._fu._9q * _LU[_KU]._g3;
- var _PU = _yU._fu._9q * _LU[_KU]._f3 + _yU._fu._I3 * _LU[_KU]._g3;
- var _QU = _AU._fu._I3 * _OU + _AU._fu._9q * _PU;
- var _RU = -_AU._fu._9q * _OU + _AU._fu._I3 * _PU;
- var index = 0;
- var _SU = _cM;
- for (var _H3 = 0; _H3 < _CU; ++_H3) {
- var _yQ = _QU * _NU[_H3]._f3 + _RU * _NU[_H3]._g3;
- if (_yQ < _SU) {
- _SU = _yQ;
- index = _H3
- }
- }
- var _hQ = index;
- var _iQ = _hQ + 1 < _CU ? _hQ + 1 : 0;
- _I3[0]._xb._f3 = (_AU._fu._I3 * _MU[_hQ]._f3 - _AU._fu._9q * _MU[_hQ]._g3) + _AU._mv._f3;
- _I3[0]._xb._g3 = (_AU._fu._9q * _MU[_hQ]._f3 + _AU._fu._I3 * _MU[_hQ]._g3) + _AU._mv._g3;
- _I3[0].id._TR = _KU;
- _I3[0].id._UR = _hQ;
- _I3[0].id._cT = _bT._gT;
- _I3[0].id._dT = _bT._fT;
- _I3[1]._xb._f3 = (_AU._fu._I3 * _MU[_iQ]._f3 - _AU._fu._9q * _MU[_iQ]._g3) + _AU._mv._f3;
- _I3[1]._xb._g3 = (_AU._fu._9q * _MU[_iQ]._f3 + _AU._fu._I3 * _MU[_iQ]._g3) + _AU._mv._g3;
- _I3[1].id._TR = _KU;
- _I3[1].id._UR = _iQ;
- _I3[1].id._cT = _bT._gT;
- _I3[1].id._dT = _bT._fT
- }
- function _TU(_pT, _UU, _AT, _VU, _CT) {
- _pT._oT = 0;
- var _WU = _UU._iP + _VU._iP;
- var _XU = [0];
- var _YU = _vU(_XU, _UU, _AT, _VU, _CT);
- if (_YU > _WU) return;
- var _ZU = [0];
- var __U = _vU(_ZU, _VU, _CT, _UU, _AT);
- if (__U > _WU) return;
- var _xU;
- var _zU;
- var _yU, _AU;
- var _KU = 0;
- var _0V = 0;
- var _1V = 0.1 * _jM;
- if (__U > _YU + _1V) {
- _xU = _VU;
- _zU = _UU;
- _yU = _CT;
- _AU = _AT;
- _KU = _ZU[0];
- _pT.type = _mT._sT;
- _0V = 1
- } else {
- _xU = _UU;
- _zU = _VU;
- _yU = _AT;
- _AU = _CT;
- _KU = _XU[0];
- _pT.type = _mT._rT;
- _0V = 0
- }
- _JU(_TU._2V, _xU, _yU, _KU, _zU, _AU);
- var _BU = _xU._3Q;
- var _3V = _xU._2Q;
- var _4V = _KU;
- var _5V = _KU + 1 < _BU ? _KU + 1 : 0;
- var _6V = _3V[_4V];
- var _7V = _3V[_5V];
- _TU._8V._f3 = _7V._f3 - _6V._f3;
- _TU._8V._g3 = _7V._g3 - _6V._g3;
- _TU._8V._9N();
- var _9V = 1.0 * _TU._8V._g3;
- var _aV = -1.0 * _TU._8V._f3;
- var _OT = 0.5 * (_6V._f3 + _7V._f3);
- var _PT = 0.5 * (_6V._g3 + _7V._g3);
- var _bV = _yU._fu._I3 * _TU._8V._f3 - _yU._fu._9q * _TU._8V._g3;
- var _cV = _yU._fu._9q * _TU._8V._f3 + _yU._fu._I3 * _TU._8V._g3;
- var _dV = 1.0 * _cV;
- var _eV = -1.0 * _bV;
- _6V = _fO(_yU, _6V);
- _7V = _fO(_yU, _7V);
- var _fV = _dV * _6V._f3 + _eV * _6V._g3;
- var _gV = -(_bV * _6V._f3 + _cV * _6V._g3) + _WU;
- var _hV = (_bV * _7V._f3 + _cV * _7V._g3) + _WU;
- var _iV = new Array(2);
- var _jV = new Array(2);
- var _kV;
- _kV = _lV(_iV, _TU._2V, -_bV, -_cV, _gV, _4V);
- if (_kV < 2) return;
- _kV = _lV(_jV, _iV, _bV, _cV, _hV, _5V);
- if (_kV < 2) {
- return
- }
- _pT._nT._f3 = _9V;
- _pT._nT._g3 = _aV;
- _pT._iT._f3 = _OT;
- _pT._iT._g3 = _PT;
- var _oT = 0;
- for (var _H3 = 0; _H3 < _fM; ++_H3) {
- var _nU = (_dV * _jV[_H3]._xb._f3 + _eV * _jV[_H3]._xb._g3) - _fV;
- if (_nU <= _WU) {
- var _mV = _pT._e3[_oT] = new _hT();
- _mV._iT._2N(_hO(_AU, _jV[_H3]._xb));
- _mV.id._2N(_jV[_H3].id);
- if (_0V) {
- var _nV = new _bT();
- _nV._2N(_mV.id);
- _mV.id._TR = _nV._UR;
- _mV.id._UR = _nV._TR;
- _mV.id._cT = _nV._dT;
- _mV.id._dT = _nV._cT
- }++_oT
- }
- }
- _pT._oT = _oT
- }
- _TU._8V = new _ZM();
- _TU._2V = [new _XT(), new _XT()];
- function _oV(_pT, _XU, _AT, _hU, _CT) {
- _pT._oT = 0;
- var _pV = _hO(_AT, _fO(_CT, _hU._CP));
- var _aM = _XU._QP,
- _pN = _XU._RP;
- var _yF = _pN._f3 - _aM._f3;
- var _mN = _pN._g3 - _aM._g3;
- var _vb = _yF * (_pN._f3 - _pV._f3) + _mN * (_pN._g3 - _pV._g3);
- var _xb = _yF * (_pV._f3 - _aM._f3) + _mN * (_pV._g3 - _aM._g3);
- var _PO = _XU._iP + _hU._iP;
- var _nV = new _bT();
- _nV._UR = 0;
- _nV._dT = _bT._fT;
- if (_xb <= 0.0) {
- var _qV = _aM;
- var _Yb = _pV._f3 - _qV._f3;
- var _Zb = _pV._g3 - _qV._g3;
- var _Cw = _Yb * _Yb + _Zb * _Zb;
- if (_Cw > _PO * _PO) {
- return
- }
- if (_XU._TP) {
- var _rV = _XU._PP;
- var _sV = _aM;
- var _tV = _sV._f3 - _rV._f3;
- var _uV = _sV._g3 - _rV._g3;
- var _rU = _tV * (_sV._f3 - _pV._f3) + _uV * (_sV._g3 - _pV._g3);
- if (_rU > 0.0) {
- return
- }
- }
- _nV._TR = 0;
- _nV._cT = _bT._fT;
- _pT._oT = 1;
- _pT.type = _mT._qT;
- _pT._nT._f3 = _pT._nT._g3 = 0;
- _pT._iT._f3 = _qV._f3;
- _pT._iT._g3 = _qV._g3;
- _pT._e3[0] = new _hT();
- _pT._e3[0].id._2N(_nV);
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- return
- }
- if (_vb <= 0.0) {
- var _qV = _pN;
- var _Yb = _pV._f3 - _qV._f3;
- var _Zb = _pV._g3 - _qV._g3;
- var _Cw = _Yb * _Yb + _Zb * _Zb;
- if (_Cw > _PO * _PO) {
- return
- }
- if (_XU._UP) {
- var _vV = _XU._SP;
- var _wV = _pN;
- var _xV = _vV._f3 - _wV._f3;
- var _yV = _vV._g3 - _wV._g3;
- var _ic = _xV * (_pV._f3 - _wV._f3) + _yV * (_pV._g3 - _wV._g3);
- if (_ic > 0.0) {
- return
- }
- }
- _nV._TR = 1;
- _nV._cT = _bT._fT;
- _pT._oT = 1;
- _pT.type = _mT._qT;
- _pT._nT._f3 = _pT._nT._g3 = 0;
- _pT._iT._f3 = _qV._f3;
- _pT._iT._g3 = _qV._g3;
- _pT._e3[0] = new _hT();
- _pT._e3[0].id._2N(_nV);
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3;
- return
- }
- var _zV = _yF * _yF + _mN * _mN;
- _9M(_zV > 0.0);
- var _AV = (1.0 / _zV) * ((_vb * _aM._f3) + (_xb * _pN._f3));
- var _BV = (1.0 / _zV) * ((_vb * _aM._g3) + (_xb * _pN._g3));
- var _Yb = _pV._f3 - _AV;
- var _Zb = _pV._g3 - _BV;
- var _Cw = _Yb * _Yb + _Zb * _Zb;
- if (_Cw > _PO * _PO) {
- return
- }
- var _Jc = -_mN;
- var _Kc = _yF;
- if (_Jc * (_pV._f3 - _aM._f3) + _Kc * (_pV._g3 - _aM._g3) < 0.0) {
- _Jc = -_Jc;
- _Kc = -_Kc
- }
- _nV._TR = 0;
- _nV._cT = _bT._gT;
- _pT._oT = 1;
- _pT.type = _mT._rT;
- _pT._nT._f3 = _Jc;
- _pT._nT._g3 = _Kc;
- _pT._nT._9N();
- _pT._iT._f3 = _aM._f3;
- _pT._iT._g3 = _aM._g3;
- _pT._e3[0] = new _hT();
- _pT._e3[0].id._2N(_nV);
- _pT._e3[0]._iT._f3 = _hU._CP._f3;
- _pT._e3[0]._iT._g3 = _hU._CP._g3
- }
- function _CV() {
- this.type = 0;
- this.index = 0;
- this._nU = 0
- }
- _CV._DV = 0;
- _CV._EV = 1;
- _CV._FV = 2;
- function _GV() {
- this._rb = new Array(_gM);
- this._oU = new Array(_gM);
- this._Ea = 0
- };
- function _HV() {
- this._hQ = 0,
- this._iQ = 0;
- this._hc = new _ZM(),
- this._ic = new _ZM();
- this._vP = new _ZM();
- this._IV = new _ZM();
- this._gV = 0;
- this._JV = new _ZM();
- this._hV = 0
- };
- function _KV() {
- this._LV = new _GV();
- this._MV = new _NN();
- this._NV = new _ZM();
- this._OV = new _ZM(),
- this._PV = new _ZM(),
- this._QV = new _ZM(),
- this._RV = new _ZM();
- this._SV = new _ZM(),
- this._TV = new _ZM(),
- this._UV = new _ZM();
- this._VV = new _ZM();
- this._WV = 0,
- this._XV = 0;
- this._YV = new _ZM(),
- this._ZV = new _ZM();
- this._iP = 0;
- this.__V = !1
- }
- _KV._0W = new _ZM();
- _KV._1W = new _ZM();
- _KV._2W = new _ZM();
- _KV.prototype = {
- _3W: function(_pT, _XU, _AT, _4W, _CT) {
- this._MV._2N(_kO(_AT, _CT));
- this._NV._f3 = (this._MV._fu._I3 * _4W._kQ._f3 - this._MV._fu._9q * _4W._kQ._g3) + this._MV._mv._f3;
- this._NV._g3 = (this._MV._fu._9q * _4W._kQ._f3 + this._MV._fu._I3 * _4W._kQ._g3) + this._MV._mv._g3;
- this._OV._f3 = _XU._PP._f3;
- this._OV._g3 = _XU._PP._g3;
- this._PV._f3 = _XU._QP._f3;
- this._PV._g3 = _XU._QP._g3;
- this._QV._f3 = _XU._RP._f3;
- this._QV._g3 = _XU._RP._g3;
- this._RV._f3 = _XU._SP._f3;
- this._RV._g3 = _XU._SP._g3;
- var _5W = _XU._TP;
- var _6W = _XU._UP;
- _KV._0W._f3 = this._QV._f3 - this._PV._f3;
- _KV._0W._g3 = this._QV._g3 - this._PV._g3;
- _KV._0W._9N();
- this._TV._f3 = _KV._0W._g3;
- this._TV._g3 = -_KV._0W._f3;
- var _7W = this._TV._f3 * (this._NV._f3 - this._PV._f3) + this._TV._g3 * (this._NV._g3 - this._PV._g3);
- var _8W = 0.0,
- _9W = 0.0;
- var _aW = !1,
- _bW = !1;
- if (_5W) {
- _KV._1W._f3 = this._PV._f3 - this._OV._f3;
- _KV._1W._g3 = this._PV._g3 - this._OV._g3;
- _KV._1W._9N();
- this._SV._f3 = _KV._1W._g3;
- this._SV._g3 = -_KV._1W._f3;
- _aW = (_KV._1W._f3 * _KV._0W._g3 - _KV._1W._g3 * _KV._0W._f3) >= 0;
- _8W = this._SV._f3 * (this._NV._f3 - this._OV._f3) + this._SV._g3 * (this._NV._g3 - this._OV._g3)
- }
- if (_6W) {
- _KV._2W._f3 = this._RV._f3 - this._QV._f3;
- _KV._2W._g3 = this._RV._g3 - this._QV._g3;
- _KV._2W._9N();
- this._UV._f3 = _KV._2W._g3;
- this._UV._g3 = -_KV._2W._f3;
- _bW = (_KV._0W._f3 * _KV._2W._g3 - _KV._0W._g3 * _KV._2W._f3) > 0.0;
- _9W = this._UV._f3 * (this._NV._f3 - this._QV._f3) + this._UV._g3 * (this._NV._g3 - this._QV._g3)
- }
- if (_5W && _6W) {
- if (_aW && _bW) {
- this.__V = _8W >= 0.0 || _7W >= 0.0 || _9W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._SV._f3;
- this._YV._g3 = this._SV._g3;
- this._ZV._f3 = this._UV._f3;
- this._ZV._g3 = this._UV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- }
- } else if (_aW) {
- this.__V = _8W >= 0.0 || (_7W >= 0.0 && _9W >= 0.0);
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._SV._f3;
- this._YV._g3 = this._SV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._UV._f3;
- this._YV._g3 = -this._UV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- }
- } else if (_bW) {
- this.__V = _9W >= 0.0 || (_8W >= 0.0 && _7W >= 0.0);
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = this._UV._f3;
- this._ZV._g3 = this._UV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = -this._SV._f3;
- this._ZV._g3 = -this._SV._g3
- }
- } else {
- this.__V = _8W >= 0.0 && _7W >= 0.0 && _9W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._UV._f3;
- this._YV._g3 = -this._UV._g3;
- this._ZV._f3 = -this._SV._f3;
- this._ZV._g3 = -this._SV._g3
- }
- }
- } else if (_5W) {
- if (_aW) {
- this.__V = _8W >= 0.0 || _7W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._SV._f3;
- this._YV._g3 = this._SV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- }
- } else {
- this.__V = _8W >= 0.0 && _7W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = -this._SV._f3;
- this._ZV._g3 = -this._SV._g3
- }
- }
- } else if (_6W) {
- if (_bW) {
- this.__V = _7W >= 0.0 || _9W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = this._UV._f3;
- this._ZV._g3 = this._UV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- }
- } else {
- this.__V = _7W >= 0.0 && _9W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = -this._UV._f3;
- this._YV._g3 = -this._UV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- }
- }
- } else {
- this.__V = _7W >= 0.0;
- if (this.__V) {
- this._VV._f3 = this._TV._f3;
- this._VV._g3 = this._TV._g3;
- this._YV._f3 = -this._TV._f3;
- this._YV._g3 = -this._TV._g3;
- this._ZV._f3 = -this._TV._f3;
- this._ZV._g3 = -this._TV._g3
- } else {
- this._VV._f3 = -this._TV._f3;
- this._VV._g3 = -this._TV._g3;
- this._YV._f3 = this._TV._f3;
- this._YV._g3 = this._TV._g3;
- this._ZV._f3 = this._TV._f3;
- this._ZV._g3 = this._TV._g3
- }
- }
- this._LV._Ea = _4W._3Q;
- for (var _H3 = 0; _H3 < _4W._3Q; ++_H3) {
- this._LV._rb[_H3] = _fO(this._MV, _4W._2Q[_H3]);
- this._LV._oU[_H3] = _dO(this._MV._fu, _4W._lQ[_H3])
- }
- this._iP = 2.0 * _lM;
- _pT._oT = 0;
- var _cW = this._dW();
- if (_cW.type == _CV._DV) {
- return
- }
- if (_cW._nU > this._iP) {
- return
- }
- var _eW = this._fW();
- if (_eW.type != _CV._DV && _eW._nU > this._iP) {
- return
- }
- var _gW = 0.98;
- var _hW = 0.001;
- var _iW = new _CV();
- if (_eW.type == _CV._DV) {
- _iW = _cW
- } else if (_eW._nU > _gW * _cW._nU + _hW) {
- _iW = _eW
- } else {
- _iW = _cW
- }
- var _tQ = new Array(2);
- var _jW = new _HV();
- if (_iW.type == _CV._EV) {
- _pT.type = _mT._rT;
- var _PR = 0;
- var _QR = this._VV._f3 * this._LV._oU[0]._f3 + this._VV._g3 * this._LV._oU[0]._g3;
- for (var _H3 = 1; _H3 < this._LV._Ea; ++_H3) {
- var value = this._VV._f3 * this._LV._oU[_H3]._f3 + this._VV._g3 * this._LV._oU[_H3]._g3;
- if (value < _QR) {
- _QR = value;
- _PR = _H3
- }
- }
- var _hQ = _PR;
- var _iQ = _hQ + 1 < this._LV._Ea ? _hQ + 1 : 0;
- _tQ[0] = new _XT();
- _tQ[0]._xb._f3 = this._LV._rb[_hQ]._f3;
- _tQ[0]._xb._g3 = this._LV._rb[_hQ]._g3;
- _tQ[0].id._TR = 0;
- _tQ[0].id._UR = _hQ;
- _tQ[0].id._cT = _bT._gT;
- _tQ[0].id._dT = _bT._fT;
- _tQ[1] = new _XT();
- _tQ[1]._xb._f3 = this._LV._rb[_iQ]._f3;
- _tQ[1]._xb._g3 = this._LV._rb[_iQ]._g3;
- _tQ[1].id._TR = 0;
- _tQ[1].id._UR = _iQ;
- _tQ[1].id._cT = _bT._gT;
- _tQ[1].id._dT = _bT._fT;
- if (this.__V) {
- _jW._hQ = 0;
- _jW._iQ = 1;
- _jW._hc._f3 = this._PV._f3;
- _jW._hc._g3 = this._PV._g3;
- _jW._ic._f3 = this._QV._f3;
- _jW._ic._g3 = this._QV._g3;
- _jW._vP._f3 = this._TV._f3;
- _jW._vP._g3 = this._TV._g3
- } else {
- _jW._hQ = 1;
- _jW._iQ = 0;
- _jW._hc._f3 = this._QV._f3;
- _jW._hc._g3 = this._QV._g3;
- _jW._ic._f3 = this._PV._f3;
- _jW._ic._g3 = this._PV._g3;
- _jW._vP._f3 = -this._TV._f3;
- _jW._vP._g3 = -this._TV._g3
- }
- } else {
- _pT.type = _mT._sT;
- _tQ[0] = new _XT();
- _tQ[0]._xb = this._PV;
- _tQ[0].id._TR = 0;
- _tQ[0].id._UR = _iW.index;
- _tQ[0].id._cT = _bT._fT;
- _tQ[0].id._dT = _bT._gT;
- _tQ[1] = new _XT();
- _tQ[1]._xb = this._QV;
- _tQ[1].id._TR = 0;
- _tQ[1].id._UR = _iW.index;
- _tQ[1].id._cT = _bT._fT;
- _tQ[1].id._dT = _bT._gT;
- _jW._hQ = _iW.index;
- _jW._iQ = _jW._hQ + 1 < this._LV._Ea ? _jW._hQ + 1 : 0;
- _jW._hc._f3 = this._LV._rb[_jW._hQ]._f3;
- _jW._hc._g3 = this._LV._rb[_jW._hQ]._g3;
- _jW._ic._f3 = this._LV._rb[_jW._iQ]._f3;
- _jW._ic._g3 = this._LV._rb[_jW._iQ]._g3;
- _jW._vP._f3 = this._LV._oU[_jW._hQ]._f3;
- _jW._vP._g3 = this._LV._oU[_jW._hQ]._g3
- }
- _jW._IV._f3 = _jW._vP._g3;
- _jW._IV._g3 = -_jW._vP._f3;
- _jW._JV._f3 = -_jW._IV._f3;
- _jW._JV._g3 = -_jW._IV._g3;
- _jW._gV = _jW._IV._f3 * _jW._hc._f3 + _jW._IV._g3 * _jW._hc._g3;
- _jW._hV = _jW._JV._f3 * _jW._ic._f3 + _jW._JV._g3 * _jW._ic._g3;
- var _iV = new Array(2);
- var _jV = new Array(2);
- var _kV;
- _kV = _lV(_iV, _tQ, _jW._IV._f3, _jW._IV._g3, _jW._gV, _jW._hQ);
- if (_kV < _fM) {
- return;
- }
- _kV = _lV(_jV, _iV, _jW._JV._f3, _jW._JV._g3, _jW._hV, _jW._iQ);
- if (_kV < _fM) {
- return
- }
- if (_iW.type == _CV._EV) {
- _pT._nT._f3 = _jW._vP._f3;
- _pT._nT._g3 = _jW._vP._g3;
- _pT._iT._f3 = _jW._hc._f3;
- _pT._iT._g3 = _jW._hc._g3
- } else {
- _pT._nT._f3 = _4W._lQ[_jW._hQ]._f3;
- _pT._nT._g3 = _4W._lQ[_jW._hQ]._g3;
- _pT._iT._f3 = _4W._2Q[_jW._hQ]._f3;
- _pT._iT._g3 = _4W._2Q[_jW._hQ]._g3
- }
- var _oT = 0;
- for (var _H3 = 0; _H3 < _fM; ++_H3) {
- var _nU = _jW._vP._f3 * (_jV[_H3]._xb._f3 - _jW._hc._f3) + _jW._vP._g3 * (_jV[_H3]._xb._g3 - _jW._hc._g3);
- if (_nU <= this._iP) {
- var _mV = _pT._e3[_oT] = new _hT();
- if (_iW.type == _CV._EV) {
- _mV._iT._2N(_hO(this._MV, _jV[_H3]._xb));
- _mV.id._2N(_jV[_H3].id)
- } else {
- _mV._iT._f3 = _jV[_H3]._xb._f3;
- _mV._iT._g3 = _jV[_H3]._xb._g3;
- _mV.id._cT = _jV[_H3].id._dT;
- _mV.id._dT = _jV[_H3].id._cT;
- _mV.id._TR = _jV[_H3].id._UR;
- _mV.id._UR = _jV[_H3].id._TR
- }++_oT
- }
- }
- _pT._oT = _oT
- },
- _dW: function() {
- var _RO = new _CV();
- _RO.type = _CV._EV;
- _RO.index = this.__V ? 0 : 1;
- _RO._nU = Number.MAX_VALUE;
- for (var _H3 = 0; _H3 < this._LV._Ea; ++_H3) {
- var _9q = this._VV._f3 * (this._LV._rb[_H3]._f3 - this._PV._f3) + this._VV._g3 * (this._LV._rb[_H3]._g3 - this._PV._g3);
- if (_9q < _RO._nU) {
- _RO._nU = _9q
- }
- }
- return _RO
- },
- _fW: function() {
- var _RO = new _CV();
- _RO.type = _CV._DV;
- _RO.index = -1;
- _RO._nU = -Number.MAX_VALUE;
- var _kW = -this._VV._g3;
- var _lW = this._VV._f3;
- for (var _H3 = 0; _H3 < this._LV._Ea; ++_H3) {
- var _Jc = -this._LV._oU[_H3]._f3;
- var _Kc = -this._LV._oU[_H3]._g3;
- var _lp = _Jc * (this._LV._rb[_H3]._f3 - this._PV._f3) + _Kc * (this._LV._rb[_H3]._g3 - this._PV._g3);
- var _mp = _Jc * (this._LV._rb[_H3]._f3 - this._QV._f3) + _Kc * (this._LV._rb[_H3]._g3 - this._QV._g3);
- var _9q = _qO(_lp, _mp);
- if (_9q > this._iP) {
- _RO.type = _CV._FV;
- _RO.index = _H3;
- _RO._nU = _9q;
- return _RO
- }
- if (_Jc * _kW + _Kc * _lW >= 0.0) {
- if ((_Jc - this._ZV._f3) * this._VV._f3 + (_Kc - this._ZV._g3) * this._VV._g3 < -_kM) {
- continue
- }
- } else {
- if ((_Jc - this._YV._f3) * this._VV._f3 + (_Kc - this._YV._g3) * this._VV._g3 < -_kM) {
- continue
- }
- }
- if (_9q > _RO._nU) {
- _RO.type = _CV._FV;
- _RO.index = _H3;
- _RO._nU = _9q
- }
- }
- return _RO
- }
- };
- _KV._mW = 0;
- _KV._nW = 1;
- _KV._oW = 2;
- function _pW(_pT, _XU, _AT, _4W, _CT) {
- _pW._qW._3W(_pT, _XU, _AT, _4W, _CT)
- }
- _pW._qW = new _KV();
- function _lV(_rW, _sW, _dV, _eV, _L3, _tW) {
- var _uW = 0;
- var _vW = (_dV * _sW[0]._xb._f3 + _eV * _sW[0]._xb._g3) - _L3;
- var _wW = (_dV * _sW[1]._xb._f3 + _eV * _sW[1]._xb._g3) - _L3;
- if (_vW <= 0.0) _rW[_uW++] = _sW[0];
- if (_wW <= 0.0) _rW[_uW++] = _sW[1];
- if (_vW * _wW < 0.0) {
- var _xW = _vW / (_vW - _wW);
- _rW[_uW] = new _XT();
- _rW[_uW]._xb._f3 = _sW[0]._xb._f3 + (_xW * (_sW[1]._xb._f3 - _sW[0]._xb._f3));
- _rW[_uW]._xb._g3 = _sW[0]._xb._g3 + (_xW * (_sW[1]._xb._g3 - _sW[0]._xb._g3));
- _rW[_uW].id._TR = _tW;
- _rW[_uW].id._UR = _sW[0].id._UR;
- _rW[_uW].id._cT = _bT._fT;
- _rW[_uW].id._dT = _bT._gT; ++_uW
- }
- return _uW
- }
- function _yW(_zW, _TR, _AW, _UR, _AT, _CT) {
- _yW._2u._WR._gi(_zW, _TR);
- _yW._2u._XR._gi(_AW, _UR);
- _yW._2u._YR = _AT;
- _yW._2u._ZR = _CT;
- _yW._2u.__R = !0;
- _yW._Da._Ea = 0;
- _US(_yW._4u, _yW._Da, _yW._2u);
- return _yW._4u._uP < 10.0 * _dM
- }
- _yW._2u = new _VR();
- _yW._Da = new _RR();
- _yW._4u = new _0S();
- function _qR(_kb, _W9) {
- return ! ((_W9._HP._f3 - _kb._IP._f3) > 0.0 || (_W9._HP._g3 - _kb._IP._g3) > 0.0 || (_kb._HP._f3 - _W9._IP._f3) > 0.0 || (_kb._HP._g3 - _W9._IP._g3) > 0.0)
- }
- var _BW = -1;
- function _CW() {
- this._pP = new __T();
- this._dR = null;
- this.parent = 0;
- this._DW = this._EW = this.height = 0
- }
- _CW.prototype = {
- _FW: function() {
- return this._DW == _BW
- }
- };
- function _5R() {
- this._GW = _BW;
- this._HW = 16;
- this._IW = 0;
- this._JW = new Array(this._HW);
- for (var _H3 = 0; _H3 < this._HW - 1; ++_H3) {
- this._JW[_H3] = new _CW();
- this._JW[_H3].parent = _H3 + 1;
- this._JW[_H3].height = -1;
- }
- this._JW[this._HW - 1] = new _CW();
- this._JW[this._HW - 1].parent = _BW;
- this._JW[this._HW - 1].height = -1;
- this._KW = 0;
- this._LW = 0;
- this._MW = 0
- }
- _5R._NW = new _ZM(_hM, _hM);
- _5R.prototype = {
- _cR: function(_pP, _dR) {
- var _eR = this._OW();
- this._JW[_eR]._pP._HP._2N(_ZM._6N(_pP._HP, _5R._NW));
- this._JW[_eR]._pP._IP._2N(_ZM._Wh(_pP._IP, _5R._NW));
- this._JW[_eR]._dR = _dR;
- this._JW[_eR].height = 0;
- this._PW(_eR);
- return _eR
- },
- _gR: function(_eR) {
- _9M(0 <= _eR && _eR < this._HW);
- _9M(this._JW[_eR]._FW());
- this._QW(_eR);
- this._RW(_eR)
- },
- _iR: function(_eR, _pP, _jR) {
- _9M(0 <= _eR && _eR < this._HW);
- _9M(this._JW[_eR]._FW());
- if (this._JW[_eR]._pP._8U(_pP)) {
- return ! 1
- }
- this._QW(_eR);
- this._JW[_eR]._pP._2N(_pP);
- this._JW[_eR]._pP._HP._6N(_5R._NW);
- this._JW[_eR]._pP._IP._Wh(_5R._NW);
- var _mk = _ZM._Vo(_iM, _jR);
- if (_mk._f3 < 0.0) {
- this._JW[_eR]._pP._HP._f3 += _mk._f3
- } else {
- this._JW[_eR]._pP._IP._f3 += _mk._f3
- }
- if (_mk._g3 < 0.0) {
- this._JW[_eR]._pP._HP._g3 += _mk._g3
- } else {
- this._JW[_eR]._pP._IP._g3 += _mk._g3
- }
- this._PW(_eR);
- return ! 0
- },
- _mR: function(_eR) {
- _9M(0 <= _eR && _eR < this._HW);
- return this._JW[_eR]._dR
- },
- _lR: function(_eR) {
- _9M(0 <= _eR && _eR < this._HW);
- return this._JW[_eR]._pP
- },
- _wR: function(_tR, _pP) {
- var _Gi = [];
- _Gi.push(this._GW);
- while (_Gi.length > 0) {
- var _SW = _Gi.pop();
- if (_SW == _BW) {
- continue
- }
- var _aI = this._JW[_SW];
- if (_qR(_aI._pP, _pP)) {
- if (_aI._FW()) {
- var _TW = _tR._KR(_SW);
- if (_TW == !1) {
- return
- }
- } else {
- _Gi.push(_aI._DW);
- _Gi.push(_aI._EW)
- }
- }
- }
- },
- _mP: function(_tR, _2u) {
- var _TO = _2u._TO;
- var _UO = _2u._UO;
- var _T9 = _ZM._6N(_UO, _TO);
- _9M(_T9._8N() > 0.0);
- _T9._9N();
- var _xb = _1O(1.0, _T9);
- var _UW = _oO(_xb);
- var _FP = _2u._FP;
- var _VW = new __T(); {
- var _V9 = _ZM._Wh(_TO, _ZM._Vo(_FP, _ZM._6N(_UO, _TO)));
- _VW._HP._2N(_rO(_TO, _V9));
- _VW._IP._2N(_tO(_TO, _V9))
- }
- var _Gi = [];
- _Gi.push(this._GW);
- while (_Gi.length > 0) {
- var _SW = _Gi.pop();
- if (_SW == _BW) {
- continue
- }
- var _aI = this._JW[_SW];
- if (_qR(_aI._pP, _VW) == !1) {
- continue
- }
- var _I3 = _aI._pP._2U();
- var _K3 = _aI._pP._3U();
- var _nU = _nO(_ZN(_xb, _ZM._6N(_TO, _I3))) - _ZN(_UW, _K3);
- if (_nU > 0.0) {
- continue
- }
- if (_aI._FW()) {
- var _WW = new _YT();
- _WW._TO._2N(_2u._TO);
- _WW._UO._2N(_2u._UO);
- _WW._FP = _FP;
- var value = _tR._XW(_WW, _SW);
- if (value == 0.0) {
- return
- }
- if (value > 0.0) {
- _FP = value;
- var _V9 = _ZM._Wh(_TO, _ZM._Vo(_FP, _ZM._6N(_UO, _TO)));
- _VW._HP._2N(_rO(_TO, _V9));
- _VW._IP._2N(_tO(_TO, _V9))
- }
- } else {
- _Gi.push(_aI._DW);
- _Gi.push(_aI._EW)
- }
- }
- },
- _OQ: function() {
- this._YW(this._GW);
- this._ZW(this._GW);
- var __W = 0;
- var _0X = this._KW;
- while (_0X != _BW) {
- _9M(0 <= _0X && _0X < this._HW);
- _0X = this._JW[_0X].parent; ++__W
- }
- _9M(this._DR() == this._1X());
- _9M(this._IW + __W == this._HW)
- },
- _DR: function() {
- if (this._GW == _BW) {
- return 0
- }
- return this._JW[this._GW].height
- },
- _FR: function() {
- var _2X = 0;
- for (var _H3 = 0; _H3 < this._HW; ++_H3) {
- var _aI = this._JW[_H3];
- if (_aI.height <= 1) {
- continue
- }
- _9M(_aI._FW() == !1);
- var _DW = _aI._DW;
- var _EW = _aI._EW;
- var _3X = _nO(this._JW[_EW].height - this._JW[_DW].height);
- _2X = _sO(_2X, _3X)
- }
- return _2X
- },
- _HR: function() {
- if (this._GW == _BW) {
- return 0.0
- }
- var _19 = this._JW[this._GW];
- var _4X = _19._pP._4U();
- var _5X = 0.0;
- for (var _H3 = 0; _H3 < this._HW; ++_H3) {
- var _aI = this._JW[_H3];
- if (_aI.height < 0) {
- continue
- }
- _5X += _aI._pP._4U()
- }
- return _5X / _4X
- },
- _6X: function() {
- var _7X = new Array(this._IW);
- var _Ea = 0;
- for (var _H3 = 0; _H3 < this._HW; ++_H3) {
- if (this._JW[_H3].height < 0) {
- continue
- }
- if (this._JW[_H3]._FW()) {
- this._JW[_H3].parent = _BW;
- _7X[_Ea] = _H3; ++_Ea
- } else {
- this._RW(_H3)
- }
- }
- while (_Ea > 1) {
- var _8X = _cM;
- var _9X = -1,
- _aX = -1;
- for (_H3 = 0; _H3 < _Ea; ++_H3) {
- var _bX = this._JW[_7X[_H3]]._pP;
- for (var __9 = _H3 + 1; __9 < _Ea; ++__9) {
- var _cX = this._JW[_7X[__9]]._pP;
- var _W9 = new __T();
- _W9._5U(_bX, _cX);
- var _dX = _W9._4U();
- if (_dX < _8X) {
- _9X = _H3;
- _aX = __9;
- _8X = _dX
- }
- }
- }
- var _eX = _7X[_9X];
- var _fX = _7X[_aX];
- var _DW = this._JW[_eX];
- var _EW = this._JW[_fX];
- var _gX = this._OW();
- var parent = this._JW[_gX];
- parent._DW = _eX;
- parent._EW = _fX;
- parent.height = 1 + _sO(_DW.height, _EW.height);
- parent._pP._5U(_DW._pP, _EW._pP);
- parent.parent = _BW;
- _DW.parent = _gX;
- _EW.parent = _gX;
- _7X[_aX] = _7X[_Ea - 1];
- _7X[_9X] = _gX; --_Ea
- }
- this._GW = _7X[0];
- this._OQ()
- },
- _IR: function(_JR) {
- for (var _H3 = 0; _H3 < this._HW; ++_H3) {
- this._JW[_H3]._pP._HP._6N(_JR);
- this._JW[_H3]._pP._IP._6N(_JR)
- }
- },
- _OW: function() {
- if (this._KW == _BW) {
- _9M(this._IW == this._HW);
- var _hX = this._JW;
- this._HW *= 2;
- this._JW = _hX.concat(new Array(this._HW - this._IW));
- for (var _H3 = this._IW; _H3 < this._HW - 1; ++_H3) {
- this._JW[_H3] = new _CW();
- this._JW[_H3].parent = _H3 + 1;
- this._JW[_H3].height = -1
- }
- this._JW[this._HW - 1] = new _CW();
- this._JW[this._HW - 1].parent = _BW;
- this._JW[this._HW - 1].height = -1;
- this._KW = this._IW
- }
- var _SW = this._KW;
- this._KW = this._JW[_SW].parent;
- this._JW[_SW].parent = _BW;
- this._JW[_SW]._DW = _BW;
- this._JW[_SW]._EW = _BW;
- this._JW[_SW].height = 0;
- this._JW[_SW]._dR = null; ++this._IW;
- return _SW
- },
- _RW: function(_SW) {
- _9M(0 <= _SW && _SW < this._HW);
- _9M(0 < this._IW);
- this._JW[_SW].parent = this._KW;
- this._JW[_SW].height = -1;
- this._KW = _SW; --this._IW
- },
- _PW: function(_iX) {++this._MW;
- if (this._GW == _BW) {
- this._GW = _iX;
- this._JW[this._GW].parent = _BW;
- return
- }
- var _jX = this._JW[_iX]._pP;
- var index = this._GW;
- while (this._JW[index]._FW() == !1) {
- var _DW = this._JW[index]._DW;
- var _EW = this._JW[index]._EW;
- var _CQ = this._JW[index]._pP._4U();
- var _kX = new __T();
- _kX._5U(this._JW[index]._pP, _jX);
- var _lX = _kX._4U();
- var _dX = 2.0 * _lX;
- var _mX = 2.0 * (_lX - _CQ);
- var _nX;
- var _pP;
- if (this._JW[_DW]._FW()) {
- _pP = new __T();
- _pP._5U(_jX, this._JW[_DW]._pP);
- _nX = _pP._4U() + _mX
- } else {
- _pP = new __T();
- _pP._5U(_jX, this._JW[_DW]._pP);
- var _oX = this._JW[_DW]._pP._4U();
- var _pX = _pP._4U();
- _nX = (_pX - _oX) + _mX
- }
- var _qX;
- if (this._JW[_EW]._FW()) {
- _pP = new __T();
- _pP._5U(_jX, this._JW[_EW]._pP);
- _qX = _pP._4U() + _mX
- } else {
- _pP = new __T();
- _pP._5U(_jX, this._JW[_EW]._pP);
- var _oX = this._JW[_EW]._pP._4U();
- var _pX = _pP._4U();
- _qX = _pX - _oX + _mX
- }
- if (_dX < _nX && _dX < _qX) {
- break
- }
- if (_nX < _qX) {
- index = _DW
- } else {
- index = _EW
- }
- }
- var _rX = index;
- var _sX = this._JW[_rX].parent;
- var _tX = this._OW();
- this._JW[_tX].parent = _sX;
- this._JW[_tX]._dR = null;
- this._JW[_tX]._pP._5U(_jX, this._JW[_rX]._pP);
- this._JW[_tX].height = this._JW[_rX].height + 1;
- if (_sX != _BW) {
- if (this._JW[_sX]._DW == _rX) {
- this._JW[_sX]._DW = _tX;
- } else {
- this._JW[_sX]._EW = _tX
- }
- this._JW[_tX]._DW = _rX;
- this._JW[_tX]._EW = _iX;
- this._JW[_rX].parent = _tX;
- this._JW[_iX].parent = _tX
- } else {
- this._JW[_tX]._DW = _rX;
- this._JW[_tX]._EW = _iX;
- this._JW[_rX].parent = _tX;
- this._JW[_iX].parent = _tX;
- this._GW = _tX
- }
- index = this._JW[_iX].parent;
- while (index != _BW) {
- index = this._uX(index);
- var _DW = this._JW[index]._DW;
- var _EW = this._JW[index]._EW;
- _9M(_DW != _BW);
- _9M(_EW != _BW);
- this._JW[index].height = 1 + _sO(this._JW[_DW].height, this._JW[_EW].height);
- this._JW[index]._pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP);
- index = this._JW[index].parent
- }
- },
- _QW: function(_iX) {
- if (_iX == this._GW) {
- this._GW = _BW;
- return
- }
- var parent = this._JW[_iX].parent;
- var _vX = this._JW[parent].parent;
- var _rX;
- if (this._JW[parent]._DW == _iX) {
- _rX = this._JW[parent]._EW
- } else {
- _rX = this._JW[parent]._DW
- }
- if (_vX != _BW) {
- if (this._JW[_vX]._DW == parent) {
- this._JW[_vX]._DW = _rX
- } else {
- this._JW[_vX]._EW = _rX
- }
- this._JW[_rX].parent = _vX;
- this._RW(parent);
- var index = _vX;
- while (index != _BW) {
- index = this._uX(index);
- var _DW = this._JW[index]._DW;
- var _EW = this._JW[index]._EW;
- this._JW[index]._pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP);
- this._JW[index].height = 1 + _sO(this._JW[_DW].height, this._JW[_EW].height);
- index = this._JW[index].parent
- }
- } else {
- this._GW = _rX;
- this._JW[_rX].parent = _BW;
- this._RW(parent)
- }
- },
- _uX: function(_wX) {
- _9M(_wX != _BW);
- var _aM = this._JW[_wX];
- if (_aM._FW() || _aM.height < 2) {
- return _wX
- }
- var _xX = _aM._DW;
- var _yX = _aM._EW;
- _9M(0 <= _xX && _xX < this._HW);
- _9M(0 <= _yX && _yX < this._HW);
- var _pN = this._JW[_xX];
- var _jO = this._JW[_yX];
- var _3X = _jO.height - _pN.height;
- if (_3X > 1) {
- var _zX = _jO._DW;
- var _AX = _jO._EW;
- var _BX = this._JW[_zX];
- var _CX = this._JW[_AX];
- _9M(0 <= _zX && _zX < this._HW);
- _9M(0 <= _AX && _AX < this._HW);
- _jO._DW = _wX;
- _jO.parent = _aM.parent;
- _aM.parent = _yX;
- if (_jO.parent != _BW) {
- if (this._JW[_jO.parent]._DW == _wX) {
- this._JW[_jO.parent]._DW = _yX
- } else {
- _9M(this._JW[_jO.parent]._EW == _wX);
- this._JW[_jO.parent]._EW = _yX
- }
- } else {
- this._GW = _yX
- }
- if (_BX.height > _CX.height) {
- _jO._EW = _zX;
- _aM._EW = _AX;
- _CX.parent = _wX;
- _aM._pP._5U(_pN._pP, _CX._pP);
- _jO._pP._5U(_aM._pP, _BX._pP);
- _aM.height = 1 + _sO(_pN.height, _CX.height);
- _jO.height = 1 + _sO(_aM.height, _BX.height)
- } else {
- _jO._EW = _AX;
- _aM._EW = _zX;
- _BX.parent = _wX;
- _aM._pP._5U(_pN._pP, _BX._pP);
- _jO._pP._5U(_aM._pP, _CX._pP);
- _aM.height = 1 + _sO(_pN.height, _BX.height);
- _jO.height = 1 + _sO(_aM.height, _CX.height)
- }
- return _yX
- }
- if (_3X < -1) {
- var _DX = _pN._DW;
- var _EX = _pN._EW;
- var _GQ = this._JW[_DX];
- var _FX = this._JW[_EX];
- _9M(0 <= _DX && _DX < this._HW);
- _9M(0 <= _EX && _EX < this._HW);
- _pN._DW = _wX;
- _pN.parent = _aM.parent;
- _aM.parent = _xX;
- if (_pN.parent != _BW) {
- if (this._JW[_pN.parent]._DW == _wX) {
- this._JW[_pN.parent]._DW = _xX
- } else {
- _9M(this._JW[_pN.parent]._EW == _wX);
- this._JW[_pN.parent]._EW = _xX
- }
- } else {
- this._GW = _xX
- }
- if (_GQ.height > _FX.height) {
- _pN._EW = _DX;
- _aM._DW = _EX;
- _FX.parent = _wX;
- _aM._pP._5U(_jO._pP, _FX._pP);
- _pN._pP._5U(_aM._pP, _GQ._pP);
- _aM.height = 1 + _sO(_jO.height, _FX.height);
- _pN.height = 1 + _sO(_aM.height, _GQ.height)
- } else {
- _pN._EW = _EX;
- _aM._DW = _DX;
- _GQ.parent = _wX;
- _aM._pP._5U(_jO._pP, _GQ._pP);
- _pN._pP._5U(_aM._pP, _FX._pP);
- _aM.height = 1 + _sO(_jO.height, _GQ.height);
- _pN.height = 1 + _sO(_aM.height, _FX.height)
- }
- return _xX
- }
- return _wX
- },
- _1X: function(_SW) {
- if (typeof(_SW) === 'undefined') _SW = this._GW;
- _9M(0 <= _SW && _SW < this._HW);
- var _aI = this._JW[_SW];
- if (_aI._FW()) {
- return 0
- }
- var _GX = this._1X(_aI._DW);
- var _HX = this._1X(_aI._EW);
- return 1 + _sO(_GX, _HX)
- },
- _YW: function(index) {
- if (index == _BW) {
- return
- }
- if (index == this._GW) {
- _9M(this._JW[index].parent == _BW)
- }
- var _aI = this._JW[index];
- var _DW = _aI._DW;
- var _EW = _aI._EW;
- if (_aI._FW()) {
- _9M(_DW == _BW);
- _9M(_EW == _BW);
- _9M(_aI.height == 0);
- return
- }
- _9M(0 <= _DW && _DW < this._HW);
- _9M(0 <= _EW && _EW < this._HW);
- _9M(this._JW[_DW].parent == index);
- _9M(this._JW[_EW].parent == index);
- this._YW(_DW);
- this._YW(_EW)
- },
- _ZW: function(index) {
- if (index == _BW) {
- return
- }
- var _aI = this._JW[index];
- var _DW = _aI._DW;
- var _EW = _aI._EW;
- if (_aI._FW()) {
- _9M(_DW == _BW);
- _9M(_EW == _BW);
- _9M(_aI.height == 0);
- return
- }
- _9M(0 <= _DW && _DW < this._HW);
- _9M(0 <= _EW && _EW < this._HW);
- var _GX = this._JW[_DW].height;
- var _HX = this._JW[_EW].height;
- var height;
- height = 1 + _sO(_GX, _HX);
- _9M(_aI.height == height);
- var _pP = new __T();
- _pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP);
- _9M(_ZM._gN(_pP._HP, _aI._pP._HP));
- _9M(_ZM._gN(_pP._IP, _aI._pP._IP));
- this._ZW(_DW);
- this._ZW(_EW)
- }
- };
- function _IX() {
- this._WR = new _LR();
- this._XR = new _LR();
- this._JX = new _PN();
- this._KX = new _PN();
- this._LX = 0
- };
- function _MX() {
- this._Lz = 0;
- this._V9 = 0
- };
- _MX._DV = 0;
- _MX._NX = 1;
- _MX._OX = 2;
- _MX._PX = 3;
- _MX._QX = 4;
- function _RX() {
- this._SX = null;
- this._TX = null;
- this._UX = null;
- this._VX = null;
- this._hP = 0;
- this._WX = new _ZM();
- this._XX = new _ZM()
- }
- var _YX = new _NN();
- var _ZX = new _NN();
- _RX.prototype = {
- _zT: function(_Da, _WR, _JX, _XR, _KX, _dU) {
- this._SX = _WR;
- this._TX = _XR;
- var _Ea = _Da._Ea;
- _9M(0 < _Ea && _Ea < 3);
- this._UX = _JX;
- this._VX = _KX;
- this._UX._VN(_YX, _dU);
- this._VX._VN(_ZX, _dU);
- if (_Ea == 1) {
- this._hP = _RX.__X;
- var _0Y = this._SX._MP(_Da._TR[0]);
- var _1Y = this._TX._MP(_Da._UR[0]);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- this._XX._f3 = _GT - _ET;
- this._XX._g3 = _HT - _FT;
- var _9q = this._XX._9N();
- return _9q
- } else if (_Da._TR[0] == _Da._TR[1]) {
- this._hP = _RX._sT;
- var _2Y = _XR._MP(_Da._UR[0]);
- var _3Y = _XR._MP(_Da._UR[1]);
- this._XX._f3 = 1.0 * (_3Y._g3 - _2Y._g3);
- this._XX._g3 = -1.0 * (_3Y._f3 - _2Y._f3);
- this._XX._9N();
- var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3;
- var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3;
- this._WX._f3 = 0.5 * (_2Y._f3 + _3Y._f3);
- this._WX._g3 = 0.5 * (_2Y._g3 + _3Y._g3);
- var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3;
- var _0Y = _WR._MP(_Da._TR[0]);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- var _9q = (_ET - _GT) * _dV + (_FT - _HT) * _eV;
- if (_9q < 0.0) {
- this._XX._f3 = -this._XX._f3;
- this._XX._g3 = -this._XX._g3;
- _9q = -_9q
- }
- return _9q
- } else {
- this._hP = _RX._rT;
- var _4Y = this._SX._MP(_Da._TR[0]);
- var _5Y = this._SX._MP(_Da._TR[1]);
- this._XX._f3 = 1.0 * (_5Y._g3 - _4Y._g3);
- this._XX._g3 = -1.0 * (_5Y._f3 - _4Y._f3);
- this._XX._9N();
- var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3;
- var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3;
- this._WX._f3 = 0.5 * (_4Y._f3 + _5Y._f3);
- this._WX._g3 = 0.5 * (_4Y._g3 + _5Y._g3);
- var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3;
- var _1Y = this._TX._MP(_Da._UR[0]);
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- var _9q = (_GT - _ET) * _dV + (_HT - _FT) * _eV;
- if (_9q < 0.0) {
- this._XX._f3 = -this._XX._f3;
- this._XX._g3 = -this._XX._g3;
- _9q = -_9q
- }
- return _9q
- }
- },
- _6Y: function(_7Y, _V9) {
- this._UX._VN(_YX, _V9);
- this._VX._VN(_ZX, _V9);
- switch (this._hP) {
- case _RX.__X:
- {
- var _8Y = _YX._fu._I3 * this._XX._f3 + _YX._fu._9q * this._XX._g3;
- var _9Y = -_YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3;
- var _aY = _ZX._fu._I3 * -this._XX._f3 + _ZX._fu._9q * -this._XX._g3;
- var _bY = -_ZX._fu._9q * -this._XX._f3 + _ZX._fu._I3 * -this._XX._g3;
- _7Y[0] = this._SX._JP(_8Y, _9Y);
- _7Y[1] = this._TX._JP(_aY, _bY);
- var _0Y = this._SX._MP(_7Y[0]);
- var _1Y = this._TX._MP(_7Y[1]);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- return (_GT - _ET) * this._XX._f3 + (_HT - _FT) * this._XX._g3
- }
- case _RX._rT:
- {
- var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3;
- var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3;
- var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3;
- var _aY = _ZX._fu._I3 * -_dV + _ZX._fu._9q * -_eV;
- var _bY = -_ZX._fu._9q * -_dV + _ZX._fu._I3 * -_eV;
- _7Y[0] = -1;
- _7Y[1] = this._TX._JP(_aY, _bY);
- var _1Y = this._TX._MP(_7Y[1]);
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- return (_GT - _ET) * _dV + (_HT - _FT) * _eV
- }
- case _RX._sT:
- {
- var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3;
- var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3;
- var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3;
- var _8Y = _YX._fu._I3 * -_dV + _YX._fu._9q * -_eV;
- var _bY = -_YX._fu._9q * -_dV + _YX._fu._I3 * -_eV;
- _7Y[1] = -1;
- _7Y[0] = this._SX._JP(_8Y, _bY);
- var _0Y = this._SX._MP(_7Y[0]);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- return (_ET - _GT) * _dV + (_FT - _HT) * _eV
- }
- default:
- _9M(!1);
- _7Y[0] = -1;
- _7Y[1] = -1;
- return 0.0
- }
- },
- _cY: function(_TR, _UR, _V9) {
- this._UX._VN(_YX, _V9);
- this._VX._VN(_ZX, _V9);
- switch (this._hP) {
- case _RX.__X:
- {
- var _0Y = this._SX._MP(_TR);
- var _1Y = this._TX._MP(_UR);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- var _nU = (_GT - _ET) * this._XX._f3 + (_HT - _FT) * this._XX._g3;
- return _nU
- }
- case _RX._rT:
- {
- var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3;
- var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3;
- var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3;
- var _1Y = this._TX._MP(_UR);
- var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3;
- var _nU = (_GT - _ET) * _dV + (_HT - _FT) * _eV;
- return _nU
- }
- case _RX._sT:
- {
- var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3;
- var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3;
- var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3;
- var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3;
- var _0Y = this._SX._MP(_TR);
- var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3;
- var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3;
- var _nU = (_ET - _GT) * _dV + (_FT - _HT) * _eV;
- return _nU
- }
- default:
- _9M(!1);
- return 0.0
- }
- }
- };
- _RX.__X = 0;
- _RX._rT = 1;
- _RX._sT = 2;
- var _dY = _RL._2M("toi", "solveTOI");
- function _eY(_4u, _2u) {
- _dY.start(); ++_eY._fY;
- _4u._Lz = _MX._DV;
- _4u._V9 = _2u._LX;
- var _WR = _2u._WR;
- var _XR = _2u._XR;
- _eY._gY._2N(_2u._JX);
- _eY._hY._2N(_2u._KX);
- _eY._gY._9N();
- _eY._hY._9N();
- var _LX = _2u._LX;
- var _WU = _WR._iP + _XR._iP;
- var target = _sO(_jM, _WU - 3.0 * _jM);
- var _iY = 0.25 * _jM;
- _9M(target > _iY);
- var _dU = 0.0;
- var _jY = 20;
- var _1T = 0;
- var _Da = new _RR();
- _Da._Ea = 0;
- var _kY = new _VR();
- _kY._WR._2N(_2u._WR);
- _kY._XR._2N(_2u._XR);
- _kY.__R = !1;
- for (;;) {
- _eY._gY._VN(_kY._YR, _dU);
- _eY._hY._VN(_kY._ZR, _dU);
- var _lY = new _0S();
- _US(_lY, _Da, _kY);
- if (_lY._uP <= 0.0) {
- _4u._Lz = _MX._OX;
- _4u._V9 = 0.0;
- break
- }
- if (_lY._uP < target + _iY) {
- _4u._Lz = _MX._PX;
- _4u._V9 = _dU;
- break
- }
- var _mY = new _RX();
- _mY._zT(_Da, _WR, _eY._gY, _XR, _eY._hY, _dU);
- var _nY = !1;
- var _eU = _LX;
- var _oY = 0;
- for (;;) {
- var _7Y = [];
- var _mp = _mY._6Y(_7Y, _eU);
- if (_mp > target + _iY) {
- _4u._Lz = _MX._QX;
- _4u._V9 = _LX;
- _nY = !0;
- break
- }
- if (_mp > target - _iY) {
- _dU = _eU;
- break
- }
- var _lp = _mY._cY(_7Y[0], _7Y[1], _dU);
- if (_lp < target - _iY) {
- _4u._Lz = _MX._NX;
- _4u._V9 = _dU;
- _nY = !0;
- break
- }
- if (_lp <= target + _iY) {
- _4u._Lz = _MX._PX;
- _4u._V9 = _dU;
- _nY = !0;
- break
- }
- var _pY = 0;
- var _CH = _dU,
- _DH = _eU;
- for (;;) {
- var _V9;
- if (_pY & 1) {
- _V9 = _CH + (target - _lp) * (_DH - _CH) / (_mp - _lp)
- } else {
- _V9 = 0.5 * (_CH + _DH)
- }++_pY; ++_eY._qY;
- var _9q = _mY._cY(_7Y[0], _7Y[1], _V9);
- if (_nO(_9q - target) < _iY) {
- _eU = _V9;
- break
- }
- if (_9q > target) {
- _CH = _V9;
- _lp = _9q;
- } else {
- _DH = _V9;
- _mp = _9q
- }
- if (_pY == 50) {
- break
- }
- }
- _eY._rY = _sO(_eY._rY, _pY); ++_oY;
- if (_oY == _gM) {
- break
- }
- }++_1T; ++_eY._sY;
- if (_nY) {
- break
- }
- if (_1T == _jY) {
- _4u._Lz = _MX._NX;
- _4u._V9 = _dU;
- break
- }
- }
- _eY._tY = _sO(_eY._tY, _1T);
- _dY.stop();
- _eY._uY = _sO(_eY._uY, _dY._WL);
- _eY._vY += _dY._WL
- }
- _eY._gY = new _PN();
- _eY._hY = new _PN();
- _eY._vY = 0;
- _eY._uY = 0;
- _eY._fY = 0;
- _eY._sY = 0;
- _eY._tY = 0;
- _eY._qY = 0;
- _eY._rY = 0;
- function _wY() {
- this.type = _xY._yY;
- this.position = new _ZM(0.0, 0.0);
- this._0b = 0.0;
- this._zY = new _ZM(0.0, 0.0);
- this._AY = 0.0;
- this._BY = 0.0;
- this._CY = 0.0;
- this._DY = !0;
- this._EY = !0;
- this._FY = !1;
- this._GY = !1;
- this._HY = !0;
- this._dR = null;
- this._IY = 1.0;
- Object.seal(this)
- }
- _wY.prototype = {
- _fN: function(data) {
- this.type = data['type'];
- this.position._fN(data['position']);
- this._0b = data['angle'];
- this._zY._fN(data['linearVelocity']);
- this._AY = data['angularVelocity'];
- this._BY = data['linearDamping'];
- this._CY = data['angularDamping'];
- this._DY = data['allowSleep'];
- this._EY = data['awake'];
- this._FY = data['fixedRotation'];
- this._GY = data['bullet'];
- this._HY = data['active'];
- this._IY = data['gravityScale']
- }
- };
- function _xY(_JY, _KY) {
- _9M(_JY.position._bN());
- _9M(_JY._zY._bN());
- _9M(_PM(_JY._0b));
- _9M(_PM(_JY._AY));
- _9M(_PM(_JY._CY) && _JY._CY >= 0.0);
- _9M(_PM(_JY._BY) && _JY._BY >= 0.0);
- this._LY = 0;
- this._MY = 0;
- if (_JY._GY) {
- this._MY |= _xY._NY
- }
- if (_JY._FY) {
- this._MY |= _xY._OY
- }
- if (_JY._DY) {
- this._MY |= _xY._PY
- }
- if (_JY._EY) {
- this._MY |= _xY._QY
- }
- if (_JY._HY) {
- this._MY |= _xY._RY
- }
- this._SY = _KY;
- this._MV = new _NN();
- this._MV._mv._2N(_JY.position);
- this._MV._fu._gi(_JY._0b);
- this._TY = new _NN();
- this._TY._2N(this._MV);
- this._UY = new _PN();
- this._UY._QN.__M();
- this._UY._RN._2N(this._MV._mv);
- this._UY._I3._2N(this._MV._mv);
- this._UY._TN = _JY._0b;
- this._UY._kb = _JY._0b;
- this._UY._UN = 0.0;
- this._VY = null;
- this._WY = null;
- this._XY = null;
- this._YY = null;
- this._ZY = _JY._zY._u8();
- this.__Y = _JY._AY;
- this._0Z = _JY._BY;
- this._1Z = _JY._CY;
- this._2Z = _JY._IY;
- this._3Z = new _ZM();
- this._4Z = 0.0;
- this._5Z = 0.0;
- this._hP = _JY.type;
- if (this._hP == _xY._6Z) {
- this._7Z = 1.0;
- this._8Z = 1.0
- } else {
- this._7Z = 0.0;
- this._8Z = 0.0
- }
- this._9Z = 0.0;
- this._aZ = 0.0;
- this._bZ = _JY._dR;
- this._cZ = null;
- this._dZ = 0
- }
- _xY._yY = 0;
- _xY._eZ = 1;
- _xY._6Z = 2;
- _xY._fZ = 0x0001;
- _xY._QY = 0x0002;
- _xY._PY = 0x0004;
- _xY._NY = 0x0008;
- _xY._OY = 0x0010;
- _xY._RY = 0x0020;
- _xY._gZ = 0x0040;
- _xY._hZ = new _ZM();
- _xY._iZ = new _NN();
- _xY.prototype = {
- _jZ: function(_kZ, _sP) {
- if (typeof(_sP) !== 'undefined') {
- var _lZ = new _mZ();
- _lZ._DP = _kZ;
- _lZ._sP = _sP;
- return this._jZ(_lZ)
- }
- _9M(this._SY._nZ() == !1);
- if (this._SY._nZ() == !0) {
- return null
- }
- var _TC = new _oZ();
- _TC._pZ(this, _kZ);
- if (this._MY & _xY._RY) {
- var _qZ = this._SY._rZ._sZ;
- _TC._tZ(_qZ, this._MV)
- }
- _TC._YY = this._cZ;
- this._cZ = _TC; ++this._dZ;
- _TC._uZ = this;
- if (_TC._vZ > 0.0) {
- this._wZ()
- }
- this._SY._MY |= _xZ._yZ;
- return _TC
- },
- _zZ: function(_TC) {
- _9M(this._SY._nZ() == !1);
- if (this._SY._nZ() == !0) {
- return
- }
- _9M(_TC._uZ == this);
- _9M(this._dZ > 0);
- var _aI = this._cZ;
- var _AZ = !1;
- while (_aI != null) {
- if (_aI == _TC) {
- this._cZ = _aI = _TC._YY;
- _AZ = !0;
- break
- }
- _aI = _aI._YY
- }
- _9M(_AZ);
- var _gQ = this._WY;
- while (_gQ) {
- var _I3 = _gQ._BZ;
- _gQ = _gQ._ni;
- var _CZ = _I3._DZ();
- var _EZ = _I3._FZ();
- if (_TC == _CZ || _TC == _EZ) {
- this._SY._rZ._GZ(_I3)
- }
- }
- if (this._MY & _xY._RY) {
- var _qZ = this._SY._rZ._sZ;
- _TC._HZ(_qZ)
- }
- _TC._GZ();
- _TC._uZ = null;
- _TC._YY = null; --this._dZ;
- this._wZ()
- },
- _IZ: function(position, _0b) {
- _9M(this._SY._nZ() == !1);
- if (this._SY._nZ() == !0) {
- return
- }
- this._MV._fu._gi(_0b);
- this._MV._mv._2N(position);
- this._TY._2N(this._MV);
- this._UY._I3._2N(_fO(this._MV, this._UY._QN));
- this._UY._kb = _0b;
- this._UY._RN._2N(this._UY._I3);
- this._UY._TN = _0b;
- var _qZ = this._SY._rZ._sZ;
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- _Mq._JZ(_qZ, this._MV, this._MV)
- }
- },
- _VN: function() {
- return this._MV
- },
- _JC: function() {
- return this._MV._mv
- },
- _KN: function() {
- return this._UY._kb
- },
- _KZ: function() {
- return this._UY._I3
- },
- _LZ: function() {
- return this._UY._QN
- },
- _MZ: function(_xb) {
- if (this._hP == _xY._yY) {
- return
- }
- if (_ZN(_xb, _xb) > 0.0) {
- this._gD(!0)
- }
- this._ZY = _xb
- },
- _NZ: function() {
- return this._ZY
- },
- _OZ: function(_J3) {
- if (this._hP == _xY._yY) {
- return
- }
- if (_J3 * _J3 > 0.0) {
- this._gD(!0);
- }
- this.__Y = _J3
- },
- _PZ: function() {
- return this.__Y
- },
- _QZ: function(_RZ, _lT, _SZ) {
- if (this._hP != _xY._6Z) {
- return
- }
- if (_SZ && (this._MY & _xY._QY) == 0) {
- this._gD(!0)
- }
- if (this._MY & _xY._QY) {
- this._3Z._Wh(_RZ);
- this._4Z += __N(_ZM._6N(_lT, this._UY._I3), _RZ)
- }
- },
- _TZ: function(_RZ, _SZ) {
- if (this._hP != _xY._6Z) {
- return
- }
- if (_SZ && (this._MY & _xY._QY) == 0) {
- this._gD(!0)
- }
- if (this._MY & _xY._QY) {
- this._3Z._Wh(_RZ)
- }
- },
- _UZ: function(_VZ, _SZ) {
- if (this._hP != _xY._6Z) {
- return
- }
- if (_SZ && (this._MY & _xY._QY) == 0) {
- this._gD(!0);
- }
- if (this._MY & _xY._QY) {
- this._4Z += _VZ
- }
- },
- _WZ: function(_XZ, _lT, _SZ) {
- if (this._hP != _xY._6Z) {
- return
- }
- if (_SZ && (this._MY & _xY._QY) == 0) {
- this._gD(!0)
- }
- if (this._MY & _xY._QY) {
- this._ZY._Wh(_ZM._Vo(this._8Z, _XZ));
- this.__Y += this._aZ * __N(_ZM._6N(_lT, this._UY._I3), _XZ)
- }
- },
- _YZ: function(_XZ, _SZ) {
- if (this._hP != _xY._6Z) {
- return
- }
- if (_SZ && (this._MY & _xY._QY) == 0) {
- this._gD(!0)
- }
- if (this._MY & _xY._QY) {
- this.__Y += this._aZ * _XZ
- }
- },
- _ZZ: function() {
- return this._7Z
- },
- __Z: function() {
- return this._9Z + this._7Z * _ZN(this._UY._QN, this._UY._QN)
- },
- _0_: function(data) {
- data._eP = this._7Z;
- data._fP = this._9Z + this._7Z * _ZN(this._UY._QN, this._UY._QN);
- data._OO = this._UY._QN
- },
- _1_: function(_rP) {
- _9M(this._SY._nZ() == !1);
- if (this._SY._nZ() == !0) {
- return
- }
- if (this._hP != _xY._6Z) {
- return
- }
- this._8Z = 0.0;
- this._9Z = 0.0;
- this._aZ = 0.0;
- this._7Z = _rP._eP;
- if (this._7Z <= 0.0) {
- this._7Z = 1.0
- }
- this._8Z = 1.0 / this._7Z;
- if (_rP._fP > 0.0 && (this._MY & _xY._OY) == 0) {
- this._9Z = _rP._fP - this._7Z * _ZN(_rP._OO, _rP._OO);
- _9M(this._9Z > 0.0);
- this._aZ = 1.0 / this._9Z;
- }
- _xY._hZ._2N(this._UY._I3);
- this._UY._QN._2N(_rP._OO);
- this._UY._RN._2N(_fO(this._MV, this._UY._QN));
- this._UY._I3._2N(this._UY._RN);
- this._ZY._Wh(_1O(this.__Y, _ZM._6N(this._UY._I3, _xY._hZ)))
- },
- _wZ: function() {
- this._7Z = 0.0;
- this._8Z = 0.0;
- this._9Z = 0.0;
- this._aZ = 0.0;
- this._UY._QN.__M();
- if (this._hP == _xY._yY || this._hP == _xY._eZ) {
- this._UY._RN._2N(this._MV._mv);
- this._UY._I3._2N(this._MV._mv);
- this._UY._TN = this._UY._kb;
- return
- }
- _9M(this._hP == _xY._6Z);
- var _QN = new _ZM(0, 0);
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- if (_Mq._vZ == 0.0) {
- continue
- }
- var _rP = new _dP();
- _Mq._0_(_rP);
- this._7Z += _rP._eP;
- _QN._Wh(_ZM._Vo(_rP._eP, _rP._OO));
- this._9Z += _rP._fP
- }
- if (this._7Z > 0.0) {
- this._8Z = 1.0 / this._7Z;
- _QN._Vo(this._8Z)
- } else {
- this._7Z = 1.0;
- this._8Z = 1.0
- }
- if (this._9Z > 0.0 && (this._MY & _xY._OY) == 0) {
- this._9Z -= this._7Z * _ZN(_QN, _QN);
- _9M(this._9Z > 0.0);
- this._aZ = 1.0 / this._9Z
- } else {
- this._9Z = 0.0;
- this._aZ = 0.0
- }
- _xY._hZ._2N(this._UY._I3);
- this._UY._QN._2N(_QN);
- this._UY._RN._2N(_fO(this._MV, this._UY._QN));
- this._UY._I3._2N(this._UY._RN);
- this._ZY._Wh(_1O(this.__Y, _ZM._6N(this._UY._I3, _xY._hZ)))
- },
- _2_: function(_iT) {
- return _fO(this._MV, _iT)
- },
- _3_: function(_4_) {
- return _dO(this._MV._fu, _4_)
- },
- _5_: function(_6_) {
- return _hO(this._MV, _6_)
- },
- _7_: function(_8_) {
- return _eO(this._MV._fu, _8_)
- },
- _9_: function(_6_) {
- return _ZM._Wh(this._ZY, _1O(this.__Y, _ZM._6N(_6_, this._UY._I3)))
- },
- _a_: function(_iT) {
- return this._9_(this._2_(_iT))
- },
- _b_: function() {
- return this._0Z
- },
- _bD: function(_BY) {
- this._0Z = _BY
- },
- _c_: function() {
- return this._1Z;
- },
- _dD: function(_CY) {
- this._1Z = _CY
- },
- _d_: function() {
- return this._2Z
- },
- _e_: function(scale) {
- this._2Z = scale
- },
- _f_: function(type) {
- _9M(this._SY._nZ() == !1);
- if (this._SY._nZ() == !0) {
- return
- }
- if (this._hP == type) {
- return
- }
- this._hP = type;
- this._wZ();
- if (this._hP == _xY._yY) {
- this._ZY.__M();
- this.__Y = 0.0;
- this._UY._TN = this._UY._kb;
- this._UY._RN._2N(this._UY._I3);
- this._g_()
- }
- this._gD(!0);
- this._3Z.__M();
- this._4Z = 0.0;
- var _h_ = this._WY;
- while (_h_) {
- var _i_ = _h_;
- _h_ = _h_._ni;
- this._SY._rZ._GZ(_i_._BZ);
- }
- this._WY = null;
- var _qZ = this._SY._rZ._sZ;
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- var _j_ = _Mq._7R;
- for (var _H3 = 0; _H3 < _j_; ++_H3) {
- _qZ._kR(_Mq._k_[_H3]._eR)
- }
- }
- },
- _jP: function() {
- return this._hP
- },
- _l_: function(_m_) {
- if (_m_) {
- this._MY |= _xY._NY
- } else {
- this._MY &= ~_xY._NY
- }
- },
- _n_: function() {
- return (this._MY & _xY._NY) == _xY._NY
- },
- _o_: function(_m_) {
- if (_m_) {
- this._MY |= _xY._PY
- } else {
- this._MY &= ~_xY._PY;
- this._gD(!0)
- }
- },
- _p_: function() {
- return (this._MY & _xY._PY) == _xY._PY
- },
- _gD: function(_m_) {
- if (_m_) {
- if ((this._MY & _xY._QY) == 0) {
- this._MY |= _xY._QY;
- this._5Z = 0.0
- }
- } else {
- this._MY &= ~_xY._QY;
- this._5Z = 0.0;
- this._ZY.__M();
- this.__Y = 0.0;
- this._3Z.__M();
- this._4Z = 0.0
- }
- },
- _q_: function() {
- return (this._MY & _xY._QY) == _xY._QY
- },
- _r_: function(_m_) {
- _9M(this._SY._nZ() == !1);
- if (_m_ == this._s_()) {
- return
- }
- if (_m_) {
- this._MY |= _xY._RY;
- var _qZ = this._SY._rZ._sZ;
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- _Mq._tZ(_qZ, this._MV)
- }
- } else {
- this._MY &= ~_xY._RY;
- var _qZ = this._SY._rZ._sZ;
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- _Mq._HZ(_qZ)
- }
- var _h_ = this._WY;
- while (_h_) {
- var _i_ = _h_;
- _h_ = _h_._ni;
- this._SY._rZ._GZ(_i_._BZ)
- }
- this._WY = null
- }
- },
- _s_: function() {
- return (this._MY & _xY._RY) == _xY._RY
- },
- _t_: function(_m_) {
- var status = (this._MY & _xY._OY) == _xY._OY;
- if (status == _m_) {
- return
- }
- if (_m_) {
- this._MY |= _xY._OY
- } else {
- this._MY &= ~_xY._OY
- }
- this.__Y = 0.0;
- this._wZ()
- },
- _u_: function() {
- return (this._MY & _xY._OY) == _xY._OY
- },
- _v_: function() {
- return this._cZ
- },
- _w_: function() {
- return this._VY
- },
- _x_: function() {
- return this._WY
- },
- _y_: function() {
- return this._YY
- },
- _mR: function() {
- return this._bZ
- },
- _z_: function(data) {
- this._bZ = data
- },
- _A_: function() {
- return this._SY
- },
- _g_: function() {
- _xY._iZ._fu._gi(this._UY._TN);
- _xY._iZ._mv._2N(_ZM._6N(this._UY._RN, _dO(_xY._iZ._fu, this._UY._QN)));
- var _qZ = this._SY._rZ._sZ;
- for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) {
- _Mq._JZ(_qZ, _xY._iZ, this._MV)
- }
- },
- _B_: function() {
- this._MV._fu._gi(this._UY._kb);
- this._MV._mv._2N(_ZM._6N(this._UY._I3, _dO(this._MV._fu, this._UY._QN)));
- },
- _C_: function(_0U) {
- if (this._hP != _xY._6Z && _0U._hP != _xY._6Z) {
- return ! 1
- }
- for (var _D_ = this._VY; _D_; _D_ = _D_._ni) {
- if (_D_._0U == _0U) {
- if (_D_._E_._F_ == !1) {
- return ! 1
- }
- }
- }
- return ! 0
- },
- _XN: function(alpha) {
- this._UY._XN(alpha);
- this._UY._I3._2N(this._UY._RN);
- this._UY._kb = this._UY._TN;
- this._MV._fu._gi(this._UY._kb);
- this._MV._mv._2N(_ZM._6N(this._UY._I3, _dO(this._MV._fu, this._UY._QN)))
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- _xr['fixtures'] = null;
- _xr['type'] = this._hP;
- _xr['position'] = this._JC()._dN();
- _xr['angle'] = this._KN();
- _xr['linearVelocity'] = this._NZ()._dN();
- _xr['angularVelocity'] = this._PZ();
- _xr['linearDamping'] = this._b_();
- _xr['angularDamping'] = this._c_();
- _xr['allowSleep'] = this._p_();
- _xr['awake'] = this._q_();
- _xr['fixedRotation'] = this._u_();
- _xr['bullet'] = this._n_();
- _xr['active'] = this._s_();
- _xr['gravityScale'] = this._d_();
- return _xr
- }
- };
- function _G_() {
- this._H_ = 0x0001;
- this._I_ = 0xFFFF;
- this._J_ = 0
- }
- _G_.prototype = {
- _u8: function() {
- var _K_ = new _G_();
- _K_._H_ = this._H_;
- _K_._I_ = this._I_;
- _K_._J_ = this._J_;
- return _K_
- },
- _2N: function(_K_) {
- this._H_ = _K_._H_;
- this._I_ = _K_._I_;
- this._J_ = _K_._J_
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- _xr['categoryBits'] = this._H_;
- _xr['maskBits'] = this._I_;
- _xr['groupIndex'] = this._J_;
- return _xr
- },
- _fN: function(data) {
- this._H_ = data['categoryBits'];
- this._I_ = data['maskBits'];
- this._J_ = data['groupIndex']
- }
- };
- function _mZ() {
- this._DP = null;
- this._dR = null;
- this._L_ = 0.2;
- this._M_ = 0.0;
- this._sP = 0.0;
- this._N_ = !1;
- this._K_ = new _G_();
- Object.seal(this)
- }
- _mZ.prototype = {
- _fN: function(data) {
- this._L_ = data['friction'];
- this._M_ = data['restitution'];
- this._sP = data['density'];
- this._N_ = data['isSensor'];
- this._K_._fN(data['filter'])
- }
- };
- function _O_() {
- this._pP = new __T();
- this._TC = null;
- this._nP = 0;
- this._eR = 0
- };
- function _oZ() {
- this._bZ = null;
- this._uZ = null;
- this._YY = null;
- this._k_ = null;
- this._7R = 0;
- this._P_ = null;
- this._vZ = 0.0;
- this._Q_ = new _G_();
- this._R_ = !1;
- this._S_ = 0;
- this._T_ = 0
- }
- _oZ.prototype = {
- _jP: function() {
- return this._P_._jP()
- },
- _U_: function() {
- return this._P_
- },
- _8D: function(_V_) {
- if (_V_ != this._R_) {
- this._uZ._gD(!0);
- this._R_ = _V_
- }
- },
- _W_: function() {
- return this._R_
- },
- _X_: function(_K_) {
- this._Q_ = _K_;
- this._Y_()
- },
- _Z_: function() {
- return this._Q_
- },
- _Y_: function() {
- if (this._uZ == null) {
- return
- }
- var _gQ = this._uZ._x_();
- while (_gQ) {
- var _BZ = _gQ._BZ;
- var _CZ = _BZ._DZ();
- var _EZ = _BZ._FZ();
- if (_CZ == this || _EZ == this) {
- _BZ.___()
- }
- _gQ = _gQ._ni
- }
- var _KY = this._uZ._A_();
- if (_KY == null) {
- return
- }
- var _qZ = _KY._rZ._sZ;
- for (var _H3 = 0; _H3 < this._7R; ++_H3) {
- _qZ._kR(this._k_[_H3]._eR);
- }
- },
- _001: function() {
- return this._uZ
- },
- _y_: function() {
- return this._YY
- },
- _mR: function() {
- return this._bZ
- },
- _z_: function(data) {
- this._bZ = data
- },
- _lP: function(_mv) {
- return this._P_._lP(this._uZ._VN(), _mv)
- },
- _mP: function(_4u, _2u, _nP) {
- return this._P_._mP(_4u, _2u, this._uZ._VN(), _nP)
- },
- _0_: function(_rP) {
- this._P_._qP(_rP, this._vZ)
- },
- _XC: function(_sP) {
- _9M(_PM(_sP) && _sP >= 0.0);
- this._vZ = _sP
- },
- _101: function() {
- return this._vZ
- },
- _201: function() {
- return this._S_
- },
- _2D: function(_L_) {
- this._S_ = _L_
- },
- _301: function() {
- return this._T_
- },
- __C: function(_M_) {
- this._T_ = _M_
- },
- _401: function(_nP) {
- _9M(0 <= _nP && _nP < this._7R);
- return this._k_[_nP]._pP
- },
- _pZ: function(body, _kZ) {
- this._bZ = _kZ._dR;
- this._S_ = _kZ._L_;
- this._T_ = _kZ._M_;
- this._uZ = body;
- this._YY = null;
- this._Q_._2N(_kZ._K_);
- this._R_ = _kZ._N_;
- this._P_ = _kZ._DP._u8();
- var _501 = this._P_._kP();
- this._k_ = new Array(_501);
- for (var _H3 = 0; _H3 < _501; ++_H3) {
- this._k_[_H3] = new _O_();
- this._k_[_H3]._TC = null;
- this._k_[_H3]._eR = _3R._uR
- }
- this._7R = 0;
- this._vZ = _kZ._sP
- },
- _GZ: function() {
- _9M(this._7R == 0);
- this._k_ = null;
- this._P_ = null
- },
- _tZ: function(_qZ, _ON) {
- _9M(this._7R == 0);
- this._7R = this._P_._kP();
- for (var _H3 = 0; _H3 < this._7R; ++_H3) {
- var _601 = this._k_[_H3];
- this._P_._oP(_601._pP, _ON, _H3);
- _601._eR = _qZ._cR(_601._pP, _601);
- _601._TC = this;
- _601._nP = _H3
- }
- },
- _HZ: function(_qZ) {
- for (var _H3 = 0; _H3 < this._7R; ++_H3) {
- var _601 = this._k_[_H3];
- _qZ._gR(_601._eR);
- _601._eR = _3R._uR
- }
- this._7R = 0
- },
- _JZ: function(_qZ, _701, _801) {
- if (this._7R == 0) {
- return
- }
- for (var _H3 = 0; _H3 < this._7R; ++_H3) {
- var _601 = this._k_[_H3];
- var _6U = new __T(),
- _7U = new __T();
- this._P_._oP(_6U, _701, _601._nP);
- this._P_._oP(_7U, _801, _601._nP);
- _601._pP._5U(_6U, _7U);
- var _jR = _ZM._6N(_801._mv, _701._mv);
- _qZ._iR(_601._eR, _601._pP, _jR)
- }
- },
- _tP: function(_mv, _mk, _C9, _nP) {
- this._P_._tP(this._uZ._VN(), _mv, _mk, _C9, _nP)
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- _xr['shape'] = null;
- _xr['friction'] = this._S_;
- _xr['restitution'] = this._T_;
- _xr['density'] = this._vZ;
- _xr['isSensor'] = this._R_;
- _xr['filter'] = this._Q_._dN();
- return _xr
- }
- };
- function _901() {}
- _901.prototype = {
- _a01: function(_E_) {},
- _b01: function(_TC) {},
- _c01: function(_d01) {},
- _e01: function(index) {}
- };
- function _f01() {}
- _f01.prototype = {
- _C_: function(_CZ, _EZ) {
- var _g01 = _CZ._Z_();
- var _h01 = _EZ._Z_();
- if (_g01._J_ == _h01._J_ && _g01._J_ != 0) {
- return _g01._J_ > 0
- }
- var _i01 = (_g01._I_ & _h01._H_) != 0 && (_g01._H_ & _h01._I_) != 0;
- return _i01
- }
- };
- function _j01() {
- this._k01 = new Array(_fM);
- this._l01 = new Array(_fM);
- this._Ea = 0
- }
- function _m01() {}
- _m01.prototype = {
- _n01: function(_BZ) {},
- _o01: function(_BZ) {},
- _p01: function(_BZ, _q01) {},
- _r01: function(_BZ, _XZ) {}
- };
- function _s01() {}
- _s01.prototype = {
- _t01: function(_TC) {
- return ! 1
- },
- _u01: function(index) {
- return ! 1
- }
- };
- function _v01() {}
- _v01.prototype = {
- _t01: function(_TC, _lT, _vP, _GP) {},
- _u01: function(index, _lT, _vP, _GP) {
- return 0
- }
- };
- function _w01() {
- this._x01 = 0;
- this._y01 = 0;
- this._z01 = 0;
- this._A01 = 0;
- this._B01 = 0;
- this._C01 = !1
- }
- function _D01() {
- this._I3 = new _ZM();
- this._kb = 0
- }
- function _E01() {
- this._xb = new _ZM();
- this._J3 = 0
- }
- function _F01() {
- this._ML = new _w01();
- this._G01 = null;
- this._H01 = null
- }
- var _I01 = _RL._2M("step");
- var _J01 = _RL._2M("collide", "step");
- var _K01 = _RL._2M("solve", "step");
- var _L01 = _RL._2M("solveTOI", "step");
- var _M01 = _RL._2M("broadphase", "step");
- function _xZ(_N01) {
- this._rZ = new _O01();
- this._P01 = null;
- this._Q01 = null;
- this._R01 = null;
- this._VY = null;
- this._S01 = 0;
- this._T01 = 0;
- this._U01 = !0;
- this._V01 = !0;
- this._W01 = !1;
- this._X01 = !0;
- this._Y01 = !0;
- this._Z01 = _N01;
- this._MY = _xZ.__01;
- this._011 = 0.0;
- this._111 = new _w01();
- this._211 = new _311();
- this._411 = new _511();
- this._411._SY = this
- }
- function _611() {
- this._qZ = null;
- this._tR = null
- }
- _611.prototype = {
- _KR: function(_eR) {
- var _601 = this._qZ._mR(_eR);
- return this._tR._t01(_601._TC)
- }
- };
- function _711() {
- this._qZ = null;
- this._tR = null
- }
- _711.prototype = {
- _XW: function(_2u, _eR) {
- var _dR = this._qZ._mR(_eR);
- var _601 = _dR;
- var _TC = _601._TC;
- var index = _601._nP;
- var _4u = new _ZT();
- var _K9 = _TC._mP(_4u, _2u, index);
- if (_K9) {
- var _GP = _4u._GP;
- var _lT = _ZM._Wh(_ZM._Vo((1.0 - _GP), _2u._TO), _ZM._Vo(_GP, _2u._UO));
- return this._tR._t01(_TC, _lT, _4u._vP, _GP)
- }
- return _2u._FP
- }
- };
- _xZ._811 = new _PN();
- _xZ._911 = new _PN();
- _xZ._a11 = new _PN();
- _xZ.prototype = {
- _GZ: function() {
- var _W9 = this._R01;
- while (_W9) {
- var _b11 = _W9._YY;
- var _Mq = _W9._cZ;
- while (_Mq) {
- var _c11 = _Mq._YY;
- _Mq._7R = 0;
- _Mq._GZ();
- _Mq = _c11
- }
- _W9 = _b11
- }
- },
- _d11: function(listener) {
- this._P01 = listener
- },
- _e11: function(_K_) {
- this._rZ._f11 = _K_
- },
- _g11: function(listener) {
- this._rZ._h11 = listener
- },
- _i11: function(_j11) {
- this._Q01 = _j11
- },
- _yD: function(_kZ) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return null
- }
- var _W9 = new _xY(_kZ, this);
- _W9._XY = null;
- _W9._YY = this._R01;
- if (this._R01) {
- this._R01._XY = _W9
- }
- this._R01 = _W9; ++this._S01;
- return _W9
- },
- _k11: function(_W9) {
- _9M(this._S01 > 0);
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return
- }
- var _l11 = _W9._VY;
- while (_l11) {
- var _m11 = _l11;
- _l11 = _l11._ni;
- if (this._P01) {
- this._P01._a01(_m11._E_)
- }
- this._n11(_m11._E_);
- _W9._VY = _l11
- }
- _W9._VY = null;
- var _h_ = _W9._WY;
- while (_h_) {
- var _i_ = _h_;
- _h_ = _h_._ni;
- this._rZ._GZ(_i_._BZ)
- }
- _W9._WY = null;
- var _Mq = _W9._cZ;
- while (_Mq) {
- var _o11 = _Mq;
- _Mq = _Mq._YY;
- if (this._P01) {
- this._P01._b01(_o11)
- }
- _o11._HZ(this._rZ._sZ);
- _o11._GZ();
- _W9._cZ = _Mq;
- _W9._dZ -= 1
- }
- _W9._cZ = null;
- _W9._dZ = 0;
- if (_W9._XY) {
- _W9._XY._YY = _W9._YY
- }
- if (_W9._YY) {
- _W9._YY._XY = _W9._XY;
- }
- if (_W9 == this._R01) {
- this._R01 = _W9._YY
- }
- _W9._p11 = !0; --this._S01
- },
- _q11: function(_kZ) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return null
- }
- var __9 = _r11._pZ(_kZ);
- __9._XY = null;
- __9._YY = this._VY;
- if (this._VY) {
- this._VY._XY = __9
- }
- this._VY = __9; ++this._T01;
- __9._s11._E_ = __9;
- __9._s11._0U = __9._t11;
- __9._s11._u11 = null;
- __9._s11._ni = __9._v11._VY;
- if (__9._v11._VY) __9._v11._VY._u11 = __9._s11;
- __9._v11._VY = __9._s11;
- __9._w11._E_ = __9;
- __9._w11._0U = __9._v11;
- __9._w11._u11 = null;
- __9._w11._ni = __9._t11._VY;
- if (__9._t11._VY) __9._t11._VY._u11 = __9._w11;
- __9._t11._VY = __9._w11;
- var _x11 = _kZ._x11;
- var _y11 = _kZ._y11;
- if (_kZ._z11 == !1) {
- var _gQ = _y11._x_();
- while (_gQ) {
- if (_gQ._0U == _x11) {
- _gQ._BZ.___()
- }
- _gQ = _gQ._ni
- }
- }
- return __9
- },
- _n11: function(__9) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return
- }
- var _z11 = __9._F_;
- if (__9._XY) {
- __9._XY._YY = __9._YY
- }
- if (__9._YY) {
- __9._YY._XY = __9._XY
- }
- if (__9 == this._VY) {
- this._VY = __9._YY
- }
- var _x11 = __9._v11;
- var _y11 = __9._t11;
- _x11._gD(!0);
- _y11._gD(!0);
- if (__9._s11._u11) {
- __9._s11._u11._ni = __9._s11._ni
- }
- if (__9._s11._ni) {
- __9._s11._ni._u11 = __9._s11._u11;
- }
- if (__9._s11 == _x11._VY) {
- _x11._VY = __9._s11._ni
- }
- __9._s11._u11 = null;
- __9._s11._ni = null;
- if (__9._w11._u11) {
- __9._w11._u11._ni = __9._w11._ni
- }
- if (__9._w11._ni) {
- __9._w11._ni._u11 = __9._w11._u11
- }
- if (__9._w11 == _y11._VY) {
- _y11._VY = __9._w11._ni
- }
- __9._w11._u11 = null;
- __9._w11._ni = null;
- _r11._GZ(__9);
- _9M(this._T01 > 0); --this._T01;
- if (_z11 == !1) {
- var _gQ = _y11._x_();
- while (_gQ) {
- if (_gQ._0U == _x11) {
- _gQ._BZ.___()
- }
- _gQ = _gQ._ni
- }
- }
- },
- _A11: function(_x01, _A01, _B01) {
- _I01.start();
- if (this._MY & _xZ._yZ) {
- this._rZ._B11();
- this._MY &= ~_xZ._yZ;
- }
- this._MY |= _xZ._C11;
- this._111._x01 = _x01;
- this._111._A01 = _A01;
- this._111._B01 = _B01;
- if (_x01 > 0.0) {
- this._111._y01 = 1.0 / _x01
- } else {
- this._111._y01 = 0.0
- }
- this._111._z01 = this._011 * _x01;
- this._111._C01 = this._U01; {
- _J01.start();
- this._rZ._3W();
- _J01.stop()
- }
- if (this._X01 && this._111._x01 > 0.0) {
- _K01.start();
- this._411._rN(this._111);
- this._rN(this._111);
- _K01.stop()
- }
- if (this._V01 && this._111._x01 > 0.0) {
- _L01.start();
- this._D11(this._111);
- _L01.stop()
- }
- if (this._111._x01 > 0.0) {
- this._011 = this._111._y01
- }
- if (this._MY & _xZ.__01) {
- this._E11()
- }
- this._MY &= ~_xZ._C11;
- _I01.stop()
- },
- _E11: function() {
- for (var body = this._R01; body; body = body._y_()) {
- body._3Z._f3 = body._3Z._g3 = 0;
- body._4Z = 0.0
- }
- },
- _F11: function() {
- if (this._Q01 == null) {
- return
- }
- var _ZJ = this._Q01._GO();
- if (_ZJ & _DO._ZO) {
- for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) {
- var _ON = _W9._VN();
- for (var _Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) {
- if (_W9._s_() == !1) {
- this._G11(_Mq, _ON, new _CO(0.5, 0.5, 0.3))
- } else if (_W9._jP() == _xY._yY) {
- this._G11(_Mq, _ON, new _CO(0.5, 0.9, 0.5))
- } else if (_W9._jP() == _xY._eZ) {
- this._G11(_Mq, _ON, new _CO(0.5, 0.5, 0.9))
- } else if (_W9._q_() == !1) {
- this._G11(_Mq, _ON, new _CO(0.6, 0.6, 0.6))
- } else {
- this._G11(_Mq, _ON, new _CO(0.9, 0.7, 0.7))
- }
- }
- }
- this._H11(this._411)
- }
- if (_ZJ & _DO.__O) {
- for (var __9 = this._VY; __9; __9 = __9._y_()) {
- this._I11(__9)
- }
- }
- if (_ZJ & _DO._8P) {
- var _bb = new _CO(0.3, 0.9, 0.9);
- for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._y_()) {
- var _CZ = _I3._DZ();
- var _EZ = _I3._FZ();
- var _J11 = _CZ._401(_I3._K11())._2U();
- var _L11 = _EZ._401(_I3._M11())._2U();
- this._Q01._SO(_J11, _L11, _bb)
- }
- }
- if (_ZJ & _DO._0P) {
- var _bb = new _CO(0.9, 0.3, 0.9);
- var _N11 = new _CO(0.3, 0.3, 0.9);
- var _O11 = this._rZ._sZ;
- for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) {
- if (_W9._s_() == !1) {
- continue
- }
- for (var _Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) {
- for (var _H3 = 0; _H3 < _Mq._7R; ++_H3) {
- var _601 = _Mq._k_[_H3];
- var _pP = _O11._lR(_601._eR);
- var _UQ = [];
- _UQ[0] = new _ZM(_pP._HP._f3, _pP._HP._g3);
- _UQ[1] = new _ZM(_pP._IP._f3, _pP._HP._g3);
- _UQ[2] = new _ZM(_pP._IP._f3, _pP._IP._g3);
- _UQ[3] = new _ZM(_pP._HP._f3, _pP._IP._g3);
- this._Q01._KO(_UQ, 4, _bb);
- var _P11 = new __T();
- _Mq._U_()._oP(_P11, _W9._VN(), 0);
- var _UQ = [];
- _UQ[0] = new _ZM(_P11._HP._f3, _P11._HP._g3);
- _UQ[1] = new _ZM(_P11._IP._f3, _P11._HP._g3);
- _UQ[2] = new _ZM(_P11._IP._f3, _P11._IP._g3);
- _UQ[3] = new _ZM(_P11._HP._f3, _P11._IP._g3);
- this._Q01._KO(_UQ, 4, _N11)
- }
- }
- }
- }
- if (_ZJ & _DO._1P) {
- for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) {
- var _ON = _W9._VN()._u8();
- _ON._mv = _W9._KZ();
- this._Q01._VO(_ON)
- }
- }
- },
- _Q11: function(_tR, _pP) {
- var _R11 = new _611();
- _R11._qZ = this._rZ._sZ;
- _R11._tR = _tR;
- this._rZ._sZ._wR(_R11, _pP);
- this._411._Q11(_tR, _pP)
- },
- _mP: function(_tR, _S11, _T11) {
- var _R11 = new _711();
- _R11._qZ = this._rZ._sZ;
- _R11._tR = _tR;
- var _2u = new _YT();
- _2u._FP = 1.0;
- _2u._TO = _S11;
- _2u._UO = _T11;
- this._rZ._sZ._mP(_R11, _2u);
- this._411._mP(_tR, _S11, _T11)
- },
- _U11: function() {
- return this._R01
- },
- _w_: function() {
- return this._VY
- },
- _x_: function() {
- return this._rZ._WY
- },
- _V11: function(_m_) {
- if (_m_ == this._Y01) {
- return
- }
- this._Y01 = _m_;
- if (this._Y01 == !1) {
- for (var _W9 = this._R01; _W9; _W9 = _W9._YY) {
- _W9._gD(!0)
- }
- }
- },
- _W11: function() {
- return this._Y01
- },
- _X11: function(_m_) {
- this._U01 = _m_
- },
- _Y11: function() {
- return this._U01
- },
- _Z11: function(_m_) {
- this._V01 = _m_
- },
- __11: function() {
- return this._V01
- },
- _021: function(_m_) {
- this._W01 = _m_
- },
- _121: function() {
- return this._W01
- },
- _rR: function() {
- return this._rZ._sZ._rR()
- },
- _221: function() {
- return this._S01
- },
- _321: function() {
- return this._T01
- },
- _421: function() {
- return this._rZ._521
- },
- _CR: function() {
- return this._rZ._sZ._CR()
- },
- _ER: function() {
- return this._rZ._sZ._ER()
- },
- _GR: function() {
- return this._rZ._sZ._GR()
- },
- _621: function(_N01) {
- this._Z01 = _N01
- },
- _721: function() {
- return this._Z01
- },
- _nZ: function() {
- return (this._MY & _xZ._C11) == _xZ._C11
- },
- _821: function(_m_) {
- if (_m_) {
- this._MY |= _xZ.__01;
- } else {
- this._MY &= ~_xZ.__01
- }
- },
- _921: function() {
- return (this._MY & _xZ.__01) == _xZ.__01
- },
- _IR: function(_JR) {
- _9M((this._MY & _xZ._C11) == 0);
- if ((this._MY & _xZ._C11) == _xZ._C11) {
- return
- }
- for (var _W9 = this._R01; _W9; _W9 = _W9._YY) {
- _W9._MV._mv._6N(_JR);
- _W9._UY._RN._6N(_JR);
- _W9._UY._I3._6N(_JR)
- }
- for (var __9 = this._VY; __9; __9 = __9._YY) {
- __9._IR(_JR)
- }
- this._rZ._sZ._IR(_JR)
- },
- _a21: function() {
- return this._rZ
- },
- _rN: function(_ML) {
- for (var _W9 = this._R01; _W9; _W9 = _W9._YY) {
- _W9._TY._2N(_W9._MV)
- }
- this._211._zT(this._S01, this._rZ._521, this._T01, this._rZ._h11);
- for (var _W9 = this._R01; _W9; _W9 = _W9._YY) {
- _W9._MY &= ~_xY._fZ
- }
- for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) {
- _I3._MY &= ~_b21._fZ
- }
- for (var __9 = this._VY; __9; __9 = __9._YY) {
- __9._c21 = !1
- }
- var _d21 = this._S01;
- var _Gi = new Array(_d21);
- for (var _e21 = this._R01; _e21; _e21 = _e21._YY) {
- if (_e21._MY & _xY._fZ) {
- continue
- }
- if (_e21._q_() == !1 || _e21._s_() == !1) {
- continue
- }
- if (_e21._jP() == _xY._yY) {
- continue
- }
- this._211._zg();
- var _f21 = 0;
- _Gi[_f21++] = _e21;
- _e21._MY |= _xY._fZ;
- while (_f21 > 0) {
- var _W9 = _Gi[--_f21];
- _9M(_W9._s_() == !0);
- this._211._g21(_W9);
- _W9._gD(!0);
- if (_W9._jP() == _xY._yY) {
- continue
- }
- for (var _h_ = _W9._WY; _h_; _h_ = _h_._ni) {
- var _BZ = _h_._BZ;
- if (_BZ._MY & _b21._fZ) {
- continue
- }
- if (_BZ._h21() == !1 || _BZ._i21() == !1) {
- continue
- }
- var _j21 = _BZ._k21._R_;
- var _l21 = _BZ._m21._R_;
- if (_j21 || _l21) {
- continue
- }
- this._211._n21(_BZ);
- _BZ._MY |= _b21._fZ;
- var _0U = _h_._0U;
- if (_0U._MY & _xY._fZ) {
- continue
- }
- _9M(_f21 < _d21);
- _Gi[_f21++] = _0U;
- _0U._MY |= _xY._fZ
- }
- for (var _l11 = _W9._VY; _l11; _l11 = _l11._ni) {
- if (_l11._E_._c21 == !0) {
- continue
- }
- var _0U = _l11._0U;
- if (_0U._s_() == !1) {
- continue
- }
- this._211._o21(_l11._E_);
- _l11._E_._c21 = !0;
- if (_0U._MY & _xY._fZ) {
- continue
- }
- _9M(_f21 < _d21);
- _Gi[_f21++] = _0U;
- _0U._MY |= _xY._fZ
- }
- }
- this._211._rN(_ML, this._Z01, this._Y01);
- for (var _H3 = 0; _H3 < this._211._S01; ++_H3) {
- var _W9 = this._211._p21[_H3];
- if (_W9._jP() == _xY._yY) {
- _W9._MY &= ~_xY._fZ
- }
- }
- } {
- _M01.start();
- for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) {
- if ((_W9._MY & _xY._fZ) == 0) {
- continue
- }
- if (_W9._jP() == _xY._yY) {
- continue
- }
- _W9._g_();
- }
- this._rZ._B11();
- _M01.stop()
- }
- },
- _D11: function(_ML) {
- this._211._zT(2 * _nM, _nM, 0, this._rZ._h11);
- if (this._X01) {
- for (var _W9 = this._R01; _W9; _W9 = _W9._YY) {
- _W9._MY &= ~_xY._fZ;
- _W9._UY._UN = 0.0
- }
- for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) {
- _I3._MY &= ~ (_b21._gZ | _b21._fZ);
- _I3._q21 = 0;
- _I3._r21 = 1.0
- }
- }
- for (;;) {
- var _s21 = null;
- var _t21 = 1.0;
- for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) {
- if (_I3._h21() == !1) {
- continue
- }
- if (_I3._q21 > _mM) {
- continue
- }
- var alpha = 1.0;
- if (_I3._MY & _b21._gZ) {
- alpha = _I3._r21
- } else {
- var _u21 = _I3._DZ();
- var _v21 = _I3._FZ();
- if (_u21._W_() || _v21._W_()) {
- continue
- }
- var _w21 = _u21._001();
- var _x21 = _v21._001();
- var _cT = _w21._hP;
- var _dT = _x21._hP;
- _9M(_cT == _xY._6Z || _dT == _xY._6Z);
- var _y21 = _w21._q_() && _cT != _xY._yY;
- var _z21 = _x21._q_() && _dT != _xY._yY;
- if (_y21 == !1 && _z21 == !1) {
- continue
- }
- var _A21 = _w21._n_() || _cT != _xY._6Z;
- var _B21 = _x21._n_() || _dT != _xY._6Z;
- if (_A21 == !1 && _B21 == !1) {
- continue
- }
- var _UN = _w21._UY._UN;
- if (_w21._UY._UN < _x21._UY._UN) {
- _UN = _x21._UY._UN;
- _w21._UY._XN(_UN)
- } else if (_x21._UY._UN < _w21._UY._UN) {
- _UN = _w21._UY._UN;
- _x21._UY._XN(_UN);
- }
- _9M(_UN < 1.0);
- var _TR = _I3._K11();
- var _UR = _I3._M11();
- var _2u = new _IX();
- _2u._WR._gi(_u21._U_(), _TR);
- _2u._XR._gi(_v21._U_(), _UR);
- _2u._JX._2N(_w21._UY);
- _2u._KX._2N(_x21._UY);
- _2u._LX = 1.0;
- var _4u = new _MX();
- _eY(_4u, _2u);
- var _WN = _4u._V9;
- if (_4u._Lz == _MX._PX) {
- alpha = _qO(_UN + (1.0 - _UN) * _WN, 1.0)
- } else {
- alpha = 1.0
- }
- _I3._r21 = alpha;
- _I3._MY |= _b21._gZ
- }
- if (alpha < _t21) {
- _s21 = _I3;
- _t21 = alpha
- }
- }
- if (_s21 == null || 1.0 - 10.0 * _dM < _t21) {
- this._X01 = !0;
- break
- }
- var _u21 = _s21._DZ();
- var _v21 = _s21._FZ();
- var _w21 = _u21._001();
- var _x21 = _v21._001();
- _xZ._811._2N(_w21._UY);
- _xZ._911._2N(_x21._UY);
- _w21._XN(_t21);
- _x21._XN(_t21);
- _s21._Ag(this._rZ._h11);
- _s21._MY &= ~_b21._gZ; ++_s21._q21;
- if (_s21._h21() == !1 || _s21._i21() == !1) {
- _s21._C21(!1);
- _w21._UY._2N(_xZ._811);
- _x21._UY._2N(_xZ._911);
- _w21._B_();
- _x21._B_();
- continue
- }
- _w21._gD(!0);
- _x21._gD(!0);
- this._211._zg();
- this._211._g21(_w21);
- this._211._g21(_x21);
- this._211._n21(_s21);
- _w21._MY |= _xY._fZ;
- _x21._MY |= _xY._fZ;
- _s21._MY |= _b21._fZ;
- var _D21 = [_w21, _x21];
- for (var _H3 = 0; _H3 < 2; ++_H3) {
- var body = _D21[_H3];
- if (body._hP == _xY._6Z) {
- for (var _h_ = body._WY; _h_; _h_ = _h_._ni) {
- if (this._211._S01 == this._211._E21) {
- break
- }
- if (this._211._521 == this._211._F21) {
- break
- }
- var _BZ = _h_._BZ;
- if (_BZ._MY & _b21._fZ) {
- continue
- }
- var _0U = _h_._0U;
- if (_0U._hP == _xY._6Z && body._n_() == !1 && _0U._n_() == !1) {
- continue
- }
- var _j21 = _BZ._k21._R_;
- var _l21 = _BZ._m21._R_;
- if (_j21 || _l21) {
- continue
- }
- _xZ._a11._2N(_0U._UY);
- if ((_0U._MY & _xY._fZ) == 0) {
- _0U._XN(_t21)
- }
- _BZ._Ag(this._rZ._h11);
- if (_BZ._h21() == !1) {
- _0U._UY._2N(_xZ._a11);
- _0U._B_();
- continue
- }
- if (_BZ._i21() == !1) {
- _0U._UY._2N(_xZ._a11);
- _0U._B_();
- continue
- }
- _BZ._MY |= _b21._fZ;
- this._211._n21(_BZ);
- if (_0U._MY & _xY._fZ) {
- continue
- }
- _0U._MY |= _xY._fZ;
- if (_0U._hP != _xY._yY) {
- _0U._gD(!0)
- }
- this._211._g21(_0U)
- }
- }
- }
- var _G21 = new _w01();
- _G21._x01 = (1.0 - _t21) * _ML._x01;
- _G21._y01 = 1.0 / _G21._x01;
- _G21._z01 = 1.0;
- _G21._B01 = 20;
- _G21._A01 = _ML._A01;
- _G21._C01 = !1;
- this._211._D11(_G21, _w21._LY, _x21._LY);
- for (var _H3 = 0; _H3 < this._211._S01; ++_H3) {
- var body = this._211._p21[_H3];
- body._MY &= ~_xY._fZ;
- if (body._hP != _xY._6Z) {
- continue
- }
- body._g_();
- for (var _h_ = body._WY; _h_; _h_ = _h_._ni) {
- _h_._BZ._MY &= ~ (_b21._gZ | _b21._fZ)
- }
- }
- this._rZ._B11();
- if (this._W01) {
- this._X01 = !1;
- break
- }
- }
- },
- _I11: function(_E_) {
- var _x11 = _E_._H21();
- var _y11 = _E_._I21();
- var _yU = _x11._VN();
- var _AU = _y11._VN();
- var _G9 = _yU._mv;
- var _I9 = _AU._mv;
- var _TO = _E_._J21();
- var _UO = _E_._K21();
- var _bb = new _CO(0.5, 0.8, 0.8);
- switch (_E_._jP()) {
- case _r11._L21:
- this._Q01._SO(_TO, _UO, _bb);
- break;
- case _r11._M21:
- {
- var _N21 = _E_;
- var _lp = _N21._O21();
- var _mp = _N21._P21();
- this._Q01._SO(_lp, _TO, _bb);
- this._Q01._SO(_mp, _UO, _bb);
- this._Q01._SO(_lp, _mp, _bb)
- }
- break;
- case _r11._Q21:
- break;
- case _r11._R21:
- this._Q01._S21(_E_._T21(), 5.0, _bb);
- default:
- this._Q01._SO(_G9, _TO, _bb);
- this._Q01._SO(_TO, _UO, _bb);
- this._Q01._SO(_I9, _UO, _bb)
- }
- },
- _G11: function(_TC, _ON, _bb) {
- switch (_TC._jP()) {
- case _gP._wP:
- {
- var _MR = _TC._U_();
- var _OO = _fO(_ON, _MR._CP);
- var _PO = _MR._iP;
- var _RO = _dO(_ON._fu, new _ZM(1.0, 0.0));
- this._Q01._QO(_OO, _PO, _RO, _bb)
- }
- break;
- case _gP._xP:
- {
- var _gQ = _TC._U_();
- var _hc = _fO(_ON, _gQ._QP);
- var _ic = _fO(_ON, _gQ._RP);
- this._Q01._SO(_hc, _ic, _bb)
- }
- break;
- case _gP._zP:
- {
- var _OR = _TC._U_();
- var _Ea = _OR._3Q;
- var _rb = _OR._2Q;
- var _hc = _fO(_ON, _rb[0]);
- for (var _H3 = 1; _H3 < _Ea; ++_H3) {
- var _ic = _fO(_ON, _rb[_H3]);
- this._Q01._SO(_hc, _ic, _bb);
- _hc = _ic
- }
- }
- break;
- case _gP._yP:
- {
- var _U21 = _TC._U_();
- var _LO = _U21._3Q;
- _9M(_LO <= _gM);
- var _rb = new Array(_gM);
- for (var _H3 = 0; _H3 < _LO; ++_H3) {
- _rb[_H3] = _fO(_ON, _U21._2Q[_H3])
- }
- this._Q01._MO(_rb, _LO, _bb)
- }
- break;
- default:
- break
- }
- },
- _V21: function() {
- return this._411._V21()
- },
- _W21: function(_Ea) {
- this._411._W21(_Ea)
- },
- _X21: function(_sP) {
- this._411._X21(_sP);
- },
- _Y21: function() {
- return this._411._Y21()
- },
- _Z21: function(_IY) {
- this._411._Z21(_IY)
- },
- __21: function() {
- return this._411.__21()
- },
- _031: function(_131) {
- this._411._031(_131)
- },
- _231: function() {
- return this._411._231()
- },
- _331: function(_PO) {
- this._411._331(_PO)
- },
- _431: function() {
- return this._411._431()
- },
- _531: function(_kZ) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return 0
- }
- var _mv = this._411._531(_kZ);
- return _mv
- },
- _631: function(index, _731) {
- this._411._631(index, _731)
- },
- _831: function(_DP, _ON, _731) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return 0
- }
- return this._411._831(_DP, _ON, _731)
- },
- _931: function(_kZ) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return null
- }
- var _jb = this._411._931(_kZ);
- return _jb
- },
- _a31: function(_b31, _c31) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return
- }
- this._411._a31(_b31, _c31)
- },
- _d31: function(_d01, _731) {
- _9M(this._nZ() == !1);
- if (this._nZ()) {
- return
- }
- this._411._d31(_d01, _731)
- },
- _e31: function() {
- return this._411._e31()
- },
- _f31: function() {
- return this._411._f31()
- },
- _g31: function() {
- return this._411._g31()
- },
- _h31: function() {
- return this._411._h31();
- },
- _i31: function() {
- return this._411._i31()
- },
- _j31: function() {
- return this._411._j31()
- },
- _k31: function(buffer, _l31) {
- this._411._k31(buffer, _l31)
- },
- _m31: function(buffer, _l31) {
- this._411._m31(buffer, _l31)
- },
- _n31: function(buffer, _l31) {
- this._411._n31(buffer, _l31)
- },
- _o31: function(buffer, _l31) {
- this._411._o31(buffer, _l31)
- },
- _p31: function(buffer, _l31) {
- this._411._p31(buffer, _l31)
- },
- _q31: function() {
- return this._411._r31
- },
- _s31: function() {
- return this._411._521
- },
- _t31: function() {
- return this._411._u31
- },
- _v31: function() {
- return this._411._w31
- },
- _x31: function() {
- return this._411._x31()
- },
- _y31: function() {
- return this._411._y31()
- },
- _z31: function() {
- return this._411._z31()
- },
- _A31: function() {
- return this._411._A31()
- },
- _H11: function(_B31) {
- var _C31 = _B31._A31();
- if (_C31) {
- var _D31 = _B31._431();
- var _E31 = _B31._f31();
- if (_B31._F31.data) {
- var _G31 = _B31._h31();
- this._Q01._WO(_E31, _D31, _G31, _C31)
- } else {
- this._Q01._WO(_E31, _D31, null, _C31)
- }
- }
- }
- };
- _xZ._yZ = 0x0001;
- _xZ._C11 = 0x0002;
- _xZ.__01 = 0x0004;
- function _H31(_l31) {
- this._I31 = new Array(_l31);
- this.__V = 0;
- this._J31 = 0;
- this._K31 = _l31
- }
- _H31.prototype = {
- _L31: function(_oi) {
- if (this._J31 >= this._K31) return;
- this._I31[this._J31++] = _oi
- },
- _M31: function() {
- _9M(this.__V < this._J31);
- this.__V++
- },
- _N31: function() {
- return this.__V >= this._J31
- },
- _O31: function() {
- return this._I31[this.__V]
- }
- };
- function _P31(_Q31) {
- this._R31 = new Array(_Q31);
- this._S31 = 0;
- this._T31 = 0;
- this._U31 = 0;
- this._V31 = null
- }
- _P31._W31 = function() {
- this._OO = new _ZM();
- this._X31 = 0
- };
- _P31._Y31 = function(_f3, _g3, _H3, _jb) {
- this._Z31 = _f3;
- this.__31 = _g3;
- this._041 = _H3;
- this._141 = _jb
- };
- _P31.prototype = {
- _241: function(_OO, _X31) {
- var _jb = (this._R31[this._S31++] = new _P31._W31());
- _jb._OO._2N(_OO);
- _jb._X31 = _X31
- },
- _341: function(_PO) {
- _9M(this._V31 == null);
- var _441 = 1 / _PO;
- var _Sz = new _ZM( + _cM, +_cM);
- var _zQ = new _ZM( - _cM, -_cM);
- for (var _eT = 0; _eT < this._S31; _eT++) {
- var _jb = this._R31[_eT];
- _Sz._2N(_rO(_Sz, _jb._OO));
- _zQ._2N(_tO(_zQ, _jb._OO))
- }
- this._T31 = 1 + ((_441 * (_zQ._f3 - _Sz._f3)) >>> 0);
- this._U31 = 1 + ((_441 * (_zQ._g3 - _Sz._g3)) >>> 0);
- this._V31 = new Array(this._T31 * this._U31);
- for (var _H3 = 0; _H3 < this._T31 * this._U31; _H3++) this._V31[_H3] = null;
- var _Di = new _H31(this._T31 * this._T31);
- for (var _eT = 0; _eT < this._S31; _eT++) {
- var _jb = this._R31[_eT];
- _jb._OO._2N(_ZM._Vo(_441, _ZM._6N(_jb._OO, _Sz)));
- var _f3 = _sO(0, _qO(Math.floor(_jb._OO._f3), this._T31 - 1));
- var _g3 = _sO(0, _qO(Math.floor(_jb._OO._g3), this._U31 - 1));
- _Di._L31(new _P31._Y31(_f3, _g3, _f3 + _g3 * this._T31, _jb))
- }
- while (!_Di._N31()) {
- var _f3 = _Di._O31()._Z31;
- var _g3 = _Di._O31().__31;
- var _H3 = _Di._O31()._041;
- var _jb = _Di._O31()._141;
- _Di._M31();
- if (!this._V31[_H3]) {
- this._V31[_H3] = _jb;
- if (_f3 > 0) {
- _Di._L31(new _P31._Y31(_f3 - 1, _g3, _H3 - 1, _jb))
- }
- if (_g3 > 0) {
- _Di._L31(new _P31._Y31(_f3, _g3 - 1, _H3 - this._T31, _jb));
- }
- if (_f3 < this._T31 - 1) {
- _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _jb))
- }
- if (_g3 < this._U31 - 1) {
- _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _jb))
- }
- }
- }
- var _541 = this._T31 + this._U31;
- for (var _641 = 0; _641 < _541; _641++) {
- for (var _g3 = 0; _g3 < this._U31; _g3++) {
- for (var _f3 = 0; _f3 < this._T31 - 1; _f3++) {
- var _H3 = _f3 + _g3 * this._T31;
- var _kb = this._V31[_H3];
- var _W9 = this._V31[_H3 + 1];
- if (_kb != _W9) {
- _Di._L31(new _P31._Y31(_f3, _g3, _H3, _W9));
- _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _kb))
- }
- }
- }
- for (var _g3 = 0; _g3 < this._U31 - 1; _g3++) {
- for (var _f3 = 0; _f3 < this._T31; _f3++) {
- var _H3 = _f3 + _g3 * this._T31;
- var _kb = this._V31[_H3];
- var _W9 = this._V31[_H3 + this._T31];
- if (_kb != _W9) {
- _Di._L31(new _P31._Y31(_f3, _g3, _H3, _W9));
- _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _kb))
- }
- }
- }
- var _741 = !1;
- while (!_Di._N31()) {
- var _f3 = _Di._O31()._Z31;
- var _g3 = _Di._O31().__31;
- var _H3 = _Di._O31()._041;
- var _eT = _Di._O31()._141;
- _Di._M31();
- var _kb = this._V31[_H3];
- var _W9 = _eT;
- if (_kb != _W9) {
- var _841 = _kb._OO._f3 - _f3;
- var _941 = _kb._OO._g3 - _g3;
- var _a41 = _W9._OO._f3 - _f3;
- var _b41 = _W9._OO._g3 - _g3;
- var _DH = _841 * _841 + _941 * _941;
- var _ht = _a41 * _a41 + _b41 * _b41;
- if (_DH > _ht) {
- this._V31[_H3] = _W9;
- if (_f3 > 0) {
- _Di._L31(new _P31._Y31(_f3 - 1, _g3, _H3 - 1, _W9))
- }
- if (_g3 > 0) {
- _Di._L31(new _P31._Y31(_f3, _g3 - 1, _H3 - this._T31, _W9))
- }
- if (_f3 < this._T31 - 1) {
- _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _W9))
- }
- if (_g3 < this._U31 - 1) {
- _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _W9))
- }
- _741 = !0
- }
- }
- }
- if (!_741) {
- break
- }
- }
- },
- _c41: function(_tR) {
- for (var _g3 = 0; _g3 < this._U31 - 1; _g3++) {
- for (var _f3 = 0; _f3 < this._T31 - 1; _f3++) {
- var _H3 = _f3 + _g3 * this._T31;
- var _kb = this._V31[_H3];
- var _W9 = this._V31[_H3 + 1];
- var _I3 = this._V31[_H3 + this._T31];
- var _mk = this._V31[_H3 + 1 + this._T31];
- if (_W9 != _I3) {
- if (_kb != _W9 && _kb != _I3) {
- _tR(_kb._X31, _W9._X31, _I3._X31)
- }
- if (_mk != _W9 && _mk != _I3) {
- _tR(_W9._X31, _mk._X31, _I3._X31)
- }
- }
- }
- }
- }
- };
- function _d41(_T9, _jb, _W9, _kb) {
- if (_T9 instanceof _CO) {
- this._T9 = (255 * _T9._T9);
- this._jb = (255 * _T9._jb);
- this._W9 = (255 * _T9._W9);
- this._kb = 255
- } else if (typeof(_T9) !== 'undefined') {
- this._T9 = _T9;
- this._jb = _jb;
- this._W9 = _W9;
- this._kb = _kb
- } else this._T9 = this._jb = this._W9 = this._kb = 0
- }
- _d41.prototype = {
- _e41: function() {
- return ! this._T9 && !this._jb && !this._W9 && !this._kb
- },
- _f41: function() {
- return new _CO(1.0 / 255 * this._T9, 1.0 / 255 * this._jb, 1.0 / 255 * this._W9)
- },
- _gi: function(_g41, _h41, _i41, _j41) {
- if (_g41 instanceof _CO) {
- this._T9 = (255 * _g41._T9);
- this._jb = (255 * _g41._jb);
- this._W9 = (255 * _g41._W9);
- this._kb = 255
- } else {
- this._T9 = _g41;
- this._jb = _h41;
- this._W9 = _i41;
- this._kb = _j41
- }
- },
- _2N: function(_k41) {
- this._T9 = _k41._T9;
- this._jb = _k41._jb;
- this._W9 = _k41._W9;
- this._kb = _k41._kb
- },
- _u8: function() {
- return new _d41(this._T9, this._jb, this._W9, this._kb)
- }
- };
- _d41._l41 = new _d41();
- function _m41() {
- this._ZJ = 0;
- this.position = new _ZM();
- this._n41 = new _ZM();
- this._bb = new _d41();
- this._dR = null
- }
- _m41._o41 = 0;
- _m41._p41 = 1 << 1;
- _m41._q41 = 1 << 2;
- _m41._r41 = 1 << 3;
- _m41._s41 = 1 << 4;
- _m41._t41 = 1 << 5;
- _m41._u41 = 1 << 6;
- _m41._v41 = 1 << 7;
- _m41._w41 = 1 << 8;
- _m41._x41 = 1 << 9;
- function _y41() {
- this._ZJ = 0;
- this._z41 = 0;
- this.position = new _ZM();
- this._0b = 0;
- this._zY = new _ZM();
- this._AY = 0;
- this._bb = new _d41();
- this._A41 = 1;
- this._DP = null;
- this._B41 = !0;
- this._dR = null
- }
- function _C41() {
- this._D41 = null;
- this._E41 = 0;
- this._F41 = 0;
- this._G41 = 0;
- this._H41 = 1.0;
- this._XY = null;
- this._YY = null;
- this._I41 = -1;
- this._7Z = 0;
- this._J41 = 0;
- this._K41 = new _ZM();
- this._ZY = new _ZM();
- this.__Y = 0;
- this._L41 = new _NN();
- this._L41._nN();
- this._M41 = !0;
- this._N41 = !1;
- this._O41 = !1;
- this._bZ = null;
- }
- _C41.prototype = {
- _y_: function() {
- return this._YY
- },
- _A31: function() {
- return this._F41 - this._E41
- },
- _P41: function() {
- return this._E41
- },
- _Q41: function() {
- return this._G41
- },
- _R41: function(_ZJ) {
- this._G41 = _ZJ
- },
- _ZZ: function() {
- this._S41();
- return this._7Z
- },
- __Z: function() {
- this._S41();
- return this._J41
- },
- _2U: function() {
- this._S41();
- return this._K41
- },
- _NZ: function() {
- this._S41();
- return this._ZY
- },
- _PZ: function() {
- this._S41();
- return this.__Y
- },
- _VN: function() {
- return this._L41
- },
- _JC: function() {
- return this._L41._mv
- },
- _KN: function() {
- return this._L41._fu._KN()
- },
- _mR: function() {
- return this._bZ
- },
- _z_: function(data) {
- this._bZ = data
- },
- _S41: function() {
- if (this._I41 != this._D41._I41) {
- var _F9 = this._D41._T41();
- this._7Z = 0;
- this._K41.__M();
- this._ZY.__M();
- for (var _H3 = this._E41; _H3 < this._F41; _H3++) {
- this._7Z += _F9;
- this._K41._Wh(_ZM._Vo(_F9, this._D41._U41.data[_H3]));
- this._ZY._Wh(_ZM._Vo(_F9, this._D41._V41.data[_H3]))
- }
- if (this._7Z > 0) {
- this._K41._Vo(1 / this._7Z);
- this._ZY._Vo(1 / this._7Z)
- }
- this._J41 = 0;
- this.__Y = 0;
- for (var _H3 = this._E41; _H3 < this._F41; _H3++) {
- var _mv = _ZM._6N(this._D41._U41.data[_H3], this._K41);
- var _xb = _ZM._6N(this._D41._V41.data[_H3], this._ZY);
- this._J41 += _F9 * _ZN(_mv, _mv);
- this.__Y += _F9 * __N(_mv, _xb)
- }
- if (this._J41 > 0) {
- this.__Y *= 1 / this._J41
- }
- this._I41 = this._D41._I41
- }
- }
- };
- _C41._W41 = 1 << 0;
- _C41._X41 = 1 << 1;
- function _Y41() {
- this._TR = this._UR = 0;
- this._ZJ = 0;
- this._Z41 = 0.0;
- this._vP = new _ZM()
- };
- function __41() {
- this.index = 0;
- this.body = null;
- this._Z41 = 0.0;
- this._vP = new _ZM();
- this._eP = 0.0
- };
- function _511() {
- this._I41 = 0;
- this._051 = 0;
- this._151 = 0;
- this._vZ = 1;
- this._251 = 1;
- this._2Z = 1;
- this._351 = 1;
- this._451 = 1;
- this._551 = 1;
- this._3Q = 0;
- this._651 = 0;
- this._751 = 0;
- this._851 = new _511._951();
- this._U41 = new _511._951();
- this._V41 = new _511._951();
- this._a51 = null;
- this._b51 = null;
- this._c51 = null;
- this._F31 = new _511._951();
- this._d51 = null;
- this._e51 = new _511._951();
- this._7R = 0;
- this._f51 = 0;
- this._g51 = null;
- this._521 = 0;
- this._F21 = 0;
- this._r31 = null;
- this._w31 = 0;
- this._h51 = 0;
- this._u31 = null;
- this._8R = 0;
- this._i51 = 0;
- this._9R = null;
- this._j51 = 0;
- this._k51 = 0;
- this._l51 = null;
- this._m51 = 0;
- this._n51 = null;
- this._o51 = 0.05;
- this._p51 = 1.0;
- this._q51 = 0.25;
- this._r51 = 0.25;
- this._s51 = 0.25;
- this._t51 = 0.1;
- this._u51 = 0.2;
- this._v51 = 0.5;
- this._w51 = 0.5;
- this._x51 = 0.5;
- this._SY = null
- }
- _511._951 = function() {
- this.data = null;
- this._y51 = 0
- };
- _511._z51 = function() {
- this.index = 0;
- this._X31 = 0
- };
- _511._z51._A51 = function(_kb, _W9) {
- return _kb._X31 < _W9._X31
- };
- _511._z51._B51 = function(_kb, _W9) {
- return _kb < _W9._X31
- };
- _511._z51._C51 = function(_kb, _W9) {
- return _kb._X31 < _W9
- };
- _511._D51 = function() {
- this._TR = this._UR = 0;
- this._ZJ = 0;
- this._A41 = 0.0;
- this._uP = 0.0
- };
- _511._E51 = function() {
- this._TR = this._UR = this._F51 = 0;
- this._ZJ = 0;
- this._A41 = 0.0;
- this._G51 = new _ZM(),
- this._H51 = new _ZM(),
- this._k41 = new _ZM();
- this._I51 = 0.0,
- this._J51 = 0.0,
- this._K51 = 0.0,
- this._9q = 0.0
- };
- _511._L51 = _m41._r41;
- _511._M51 = _m41._s41;
- _511._N51 = _m41._u41;
- _511._O51 = 12;
- _511._P51 = 12;
- _511._Q51 = 8 * 4;
- _511._R51 = 1 << (_511._P51 - 1);
- _511._S51 = _511._Q51 - _511._P51;
- _511._T51 = _511._Q51 - _511._P51 - _511._O51;
- _511._U51 = 1 << _511._T51;
- _511._V51 = _511._U51 * (1 << (_511._O51 - 1));
- _511._W51 = (1 << _511._O51) - 1;
- _511._X51 = (1 << _511._P51) - 1;
- function _Y51(_f3, _g3) {
- return ((_g3 + _511._R51) << _511._S51) + (_511._U51 * _f3 + _511._V51) >>> 0;
- }
- function _Z51(_X31, _f3, _g3) {
- return _X31 + (_g3 << _511._S51) + (_f3 << _511._T51)
- }
- function __51(_l31, _061) {
- return _061 && _l31 > _061 ? _061: _l31
- }
- function _161(_BZ) {
- return (_BZ._ZJ & _m41._p41) == _m41._p41
- }
- _511.prototype = {
- _261: function(_361, _461, _561) {
- _9M(_561 > _461);
- var _661 = (_361) ? _361.slice() : [];
- _661.length = _561;
- return _661
- },
- _761: function(buffer, _y51, _461, _561, _861) {
- _9M(_561 > _461);
- _9M(!_y51 || _561 <= _y51);
- if ((!_861 || buffer) && !_y51) {
- buffer = this._261(buffer, _461, _561)
- }
- return buffer
- },
- _961: function(buffer, _461, _561, _861) {
- _9M(_561 > _461);
- return this._761(buffer.data, buffer._y51, _461, _561, _861)
- },
- _a61: function(buffer) {
- if (!buffer) {
- buffer = new Array(this._651);
- for (var _H3 = 0; _H3 < this._651; _H3++) {
- buffer[_H3] = 0
- }
- }
- return buffer
- },
- _531: function(_kZ) {
- if (this._3Q >= this._651) {
- var _l31 = this._3Q ? 2 * this._3Q: _GM;
- _l31 = __51(_l31, this._751);
- _l31 = __51(_l31, this._851._y51);
- _l31 = __51(_l31, this._U41._y51);
- _l31 = __51(_l31, this._V41._y51);
- _l31 = __51(_l31, this._F31._y51);
- _l31 = __51(_l31, this._e51._y51);
- if (this._651 < _l31) {
- this._851.data = this._961(this._851, this._651, _l31, !1);
- this._U41.data = this._961(this._U41, this._651, _l31, !1);
- this._V41.data = this._961(this._V41, this._651, _l31, !1);
- this._a51 = this._761(this._a51, 0, this._651, _l31, !1);
- this._b51 = this._761(this._b51, 0, this._651, _l31, !0);
- this._c51 = this._761(this._c51, 0, this._651, _l31, !0);
- this._F31.data = this._961(this._F31, this._651, _l31, !0);
- this._d51 = this._761(this._d51, 0, this._651, _l31, !1);
- this._e51.data = this._961(this._e51, this._651, _l31, !0);
- this._651 = _l31
- }
- }
- if (this._3Q >= this._651) {
- return _AM
- }
- var index = this._3Q++;
- this._851.data[index] = _kZ._ZJ;
- this._U41.data[index] = _kZ.position._u8();
- this._V41.data[index] = _kZ._n41._u8();
- this._d51[index] = null;
- if (this._c51) {
- this._c51[index] = 0
- }
- if (this._F31.data || !_kZ._bb._e41()) {
- this._F31.data = this._a61(this._F31.data);
- this._F31.data[index] = _kZ._bb._u8()
- }
- if (this._e51.data || _kZ._dR) {
- this._e51.data = this._a61(this._e51.data);
- this._e51.data[index] = _kZ._dR
- }
- if (this._7R >= this._f51) {
- var _461 = this._f51;
- var _561 = this._7R ? 2 * this._7R: _GM;
- this._g51 = this._261(this._g51, _461, _561);
- this._f51 = _561
- }
- this._g51[this._7R] = new _511._z51();
- this._g51[this._7R++].index = index;
- return index
- },
- _631: function(index, _731) {
- var _ZJ = _m41._p41;
- if (_731) {
- _ZJ |= _m41._x41
- }
- this._851.data[index] |= _ZJ
- },
- _831: function(_DP, _ON, _731) {
- function _b61(_B31, _DP, _ON, _731) {
- this._D41 = _B31;
- this._P_ = _DP;
- this._MV = _ON;
- this._c61 = _731;
- this._p11 = 0
- }
- _b61.prototype = {
- _t01: function(_TC) {
- return ! 1
- },
- _u01: function(index) {
- _9M(index >= 0 && index < this._D41._3Q);
- if (this._P_._lP(this._MV, this._D41._U41.data[index])) {
- this._D41._631(index, this._c61);
- this._p11++
- }
- return ! 0
- },
- _d61: function() {
- return this._p11
- }
- };
- var _tR = new _b61(this, _DP, _ON, _731);
- var _pP = new __T();
- _DP._oP(_pP, _ON, 0);
- this._SY._Q11(_tR, _pP);
- return _tR._d61()
- },
- _d31: function(_d01, _731) {
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- this._631(_H3, _731)
- }
- },
- _931: function(_e61) {
- var _7c = this._f61();
- var identity = new _NN();
- identity._nN();
- var transform = identity._u8();
- var _g61 = this._3Q;
- if (_e61._DP) {
- var _h61 = new _m41();
- _h61._ZJ = _e61._ZJ;
- _h61._bb = _e61._bb;
- _h61._dR = _e61._dR;
- var _DP = _e61._DP;
- transform._gi(_e61.position, _e61._0b);
- var _pP = new __T();
- var _501 = _DP._kP();
- for (var _nP = 0; _nP < _501; _nP++) {
- if (_nP == 0) {
- _DP._oP(_pP, identity, _nP)
- } else {
- var _i61 = new __T();
- _DP._oP(_i61, identity, _nP);
- _pP._5U(_i61)
- }
- }
- for (var _g3 = Math.floor(_pP._HP._g3 / _7c) * _7c; _g3 < _pP._IP._g3; _g3 += _7c) {
- for (var _f3 = Math.floor(_pP._HP._f3 / _7c) * _7c; _f3 < _pP._IP._f3; _f3 += _7c) {
- var _mv = new _ZM(_f3, _g3);
- if (_DP._lP(identity, _mv)) {
- _mv = _fO(transform, _mv);
- _h61.position._2N(_mv);
- _h61._n41._2N(_ZM._Wh(_e61._zY, _1O(_e61._AY, _ZM._6N(_mv, _e61.position))));
- this._531(_h61)
- }
- }
- }
- }
- var lastIndex = this._3Q;
- var _d01 = new _C41();
- _d01._D41 = this;
- _d01._E41 = _g61;
- _d01._F41 = lastIndex;
- _d01._G41 = _e61._z41;
- _d01._H41 = _e61._A41;
- _d01._bZ = _e61._dR;
- _d01._L41 = transform;
- _d01._M41 = _e61._B41;
- _d01._XY = null;
- _d01._YY = this._n51;
- if (this._n51) {
- this._n51._XY = _d01
- }
- this._n51 = _d01; ++this._m51;
- for (var _H3 = _g61; _H3 < lastIndex; _H3++) {
- this._d51[_H3] = _d01
- }
- this._j61(!0);
- if (_e61._ZJ & _511._L51) {
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (_kb > _W9) {
- var _k61 = _kb;
- _kb = _W9;
- _W9 = _k61
- }
- if (_g61 <= _kb && _W9 < lastIndex) {
- if (this._8R >= this._i51) {
- var _461 = this._i51;
- var _561 = this._8R ? 2 * this._8R: _GM;
- this._9R = this._261(this._9R, _461, _561);
- this._i51 = _561
- }
- var _BR = this._9R[this._8R] = new _511._D51();
- _BR._TR = _kb;
- _BR._UR = _W9;
- _BR._ZJ = _BZ._ZJ;
- _BR._A41 = _e61._A41;
- _BR._uP = _4O(this._U41.data[_kb], this._U41.data[_W9]);
- this._8R++
- }
- }
- }
- if (_e61._ZJ & _511._M51) {
- var _l61 = new _P31(lastIndex - _g61);
- for (var _H3 = _g61; _H3 < lastIndex; _H3++) {
- _l61._241(this._U41.data[_H3], _H3)
- }
- _l61._341(_7c / 2);
- var _tR = function _m61(_kb, _W9, _I3) {
- var _G51 = this._U41.data[_kb];
- var _H51 = this._U41.data[_W9];
- var _k41 = this._U41.data[_I3];
- var _n61 = _ZM._6N(_G51, _H51);
- var _o61 = _ZM._6N(_H51, _k41);
- var _p61 = _ZM._6N(_k41, _G51);
- var _q61 = _FM * this._551;
- if (_r61(_n61, _n61) < _q61 && _r61(_o61, _o61) < _q61 && _r61(_p61, _p61) < _q61) {
- if (this._j51 >= this._k51) {
- var _461 = this._k51;
- var _561 = this._j51 ? 2 * this._j51: _GM;
- this._l51 = this._261(this._l51, _461, _561);
- this._k51 = _561
- }
- var _s61 = this._l51[this._j51];
- _s61._TR = _kb;
- _s61._UR = _W9;
- _s61._F51 = _I3;
- _s61._ZJ = this._851.data[_kb] | this._851.data[_W9] | this._851.data[_I3];
- _s61._A41 = _e61._A41;
- var _t61 = _ZM._Vo(1.0 / 3.0, _ZM._Wh(_G51, _ZM._Wh(_H51, _k41)));
- _s61._G51 = _ZM._6N(_G51, _t61);
- _s61._H51 = _ZM._6N(_H51, _t61);
- _s61._k41 = _ZM._6N(_k41, _t61);
- _s61._I51 = -_ZN(_p61, _n61);
- _s61._J51 = -_ZN(_n61, _o61);
- _s61._K51 = -_ZN(_o61, _p61);
- _s61._9q = __N(_G51, _H51) + __N(_H51, _k41) + __N(_k41, _G51);
- this._j51++
- }
- };
- _l61._c41(_tR)
- }
- if (_e61._z41 & _m41._W41) {
- _u61(_d01)
- }
- return _d01
- },
- _a31: function(_b31, _c31) {
- _9M(_b31 != _c31);
- this._v61(_c31._E41, _c31._F41, this._3Q);
- _9M(_c31._F41 == this._3Q);
- this._v61(_b31._E41, _b31._F41, _c31._E41);
- this._9M(_b31._F41 == _c31._E41);
- var _w61 = 0;
- for (var _H3 = _b31._E41; _H3 < _c31._F41; _H3++) {
- _w61 |= this._851.data[_H3]
- }
- this._j61(!0);
- if (_w61 & _511._L51) {
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (_kb > _W9) {
- var _k61 = _kb;
- _kb = _W9;
- _W9 = _k61
- }
- if (_b31._E41 <= _kb && _kb < _b31._F41 && _c31._E41 <= _W9 && _W9 < _c31._F41) {
- if (this._8R >= this._i51) {
- var _461 = this._i51;
- var _561 = this._8R ? 2 * this._8R: _GM;
- this._9R = this._261(this._9R, _461, _561);
- this._i51 = _561
- }
- var _BR = this._9R[this._8R] = new _511._D51();
- _BR._TR = _kb;
- _BR._UR = _W9;
- _BR._ZJ = _BZ._ZJ;
- _BR._A41 = _qO(_b31._H41, _c31._H41);
- _BR._uP = _4O(this._U41.data[_kb], this._U41.data[_W9]);
- this._8R++
- }
- }
- }
- if (_w61 & _511._M51) {
- var _l61 = new _P31(_c31._F41 - _b31._E41);
- for (var _H3 = _b31._E41; _H3 < _c31._F41; _H3++) {
- if (! (this._851.data[_H3] & _m41._p41)) {
- _l61._241(this._U41.data[_H3], _H3)
- }
- }
- _l61._341(this._f61() / 2);
- var _tR = new _x61();
- _tR._B31 = this;
- _tR._b31 = _b31;
- _tR._c31 = _c31;
- _l61._c41(_tR)
- }
- for (var _H3 = _c31._E41; _H3 < _c31._F41; _H3++) {
- this._d51[_H3] = _b31
- }
- var _z41 = _b31._G41 | _c31._G41;
- _b31._G41 = _z41;
- _b31._F41 = _c31._F41;
- _c31._E41 = _c31._F41;
- this._y61(_c31);
- if (_z41 & _m41._W41) {
- this._u61(_b31)
- }
- },
- _y61: function(_d01) {
- _9M(this._m51 > 0);
- _9M(_d01);
- if (this._SY._P01) {
- this._SY._P01._z61(_d01)
- }
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- this._d51[_H3] = null
- }
- if (_d01._XY) {
- _d01._XY._YY = _d01._YY
- }
- if (_d01._YY) {
- _d01._YY._XY = _d01._XY
- }
- if (_d01 == this._n51) {
- this._n51 = _d01._YY
- }--this._m51
- },
- _u61: function(_d01) {
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- this._a51[_H3] = 0
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (_kb >= _d01._E41 && _kb < _d01._F41 && _W9 >= _d01._E41 && _W9 < _d01._F41) {
- var _J3 = _BZ._Z41;
- this._a51[_kb] += _J3;
- this._a51[_W9] += _J3
- }
- }
- this._c51 = this._a61(this._c51);
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- var _J3 = this._a51[_H3];
- this._c51[_H3] = _J3 < 0.8 ? 0 : _cM
- }
- var _A61 = _d01._A31();
- for (var _V9 = 0; _V9 < _A61; _V9++) {
- var _741 = !1;
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (_kb >= _d01._E41 && _kb < _d01._F41 && _W9 >= _d01._E41 && _W9 < _d01._F41) {
- var _T9 = 1 - _BZ._Z41;
- var _B61 = this._c51[_kb];
- var _C61 = this._c51[_W9];
- var _D61 = _C61 + _T9;
- var _E61 = _B61 + _T9;
- if (_B61 > _D61) {
- _B61 = _D61;
- _741 = !0;
- }
- if (_C61 > _E61) {
- _C61 = _E61;
- _741 = !0
- }
- this._c51[_kb] = _B61;
- this._c51[_W9] = _C61
- }
- }
- if (!_741) {
- break
- }
- }
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- var _mv = this._c51[_H3];
- if (_mv < _cM) {
- _mv *= this._351
- } else {
- _mv = 0
- }
- this._c51[_H3] = _mv
- }
- },
- _n21: function(_kb, _W9) {
- var _mk = _ZM._6N(this._U41.data[_W9], this._U41.data[_kb]);
- var _F61 = _ZN(_mk, _mk);
- if (_F61 < this._551) {
- if (this._521 >= this._F21) {
- var _461 = this._F21;
- var _561 = this._521 ? 2 * this._521: _GM;
- this._r31 = this._261(this._r31, _461, _561);
- this._F21 = _561
- }
- var _G61 = _YM(_F61);
- var _BZ = this._r31[this._521] = new _Y41();
- _BZ._TR = _kb;
- _BZ._UR = _W9;
- _BZ._ZJ = this._851.data[_kb] | this._851.data[_W9];
- _BZ._Z41 = 1 - _F61 * _G61 * this._451;
- _BZ._vP._2N(_ZM._Vo(_G61, _mk));
- this._521++
- }
- },
- _j61: function(_H61) {
- var _I61 = 0;
- var _J61 = this._7R;
- for (var _K61 = _I61; _K61 < _J61; ++_K61) {
- var _601 = this._g51[_K61];
- var _H3 = _601.index;
- var _mv = this._U41.data[_H3];
- _601._X31 = _Y51(this._451 * _mv._f3, this._451 * _mv._g3)
- }
- this._g51._GL(_I61, _J61,
- function(_kb, _W9) {
- return _511._z51._A51(_kb, _W9)
- });
- this._521 = 0;
- for (var _kb = _I61,
- _I3 = _I61; _kb < _J61; _kb++) {
- var _L61 = _Z51(this._g51[_kb]._X31, 1, 0);
- for (var _W9 = _kb + 1; _W9 < _J61; _W9++) {
- if (_L61 < this._g51[_W9]._X31) break;
- this._n21(this._g51[_kb].index, this._g51[_W9].index)
- }
- var _M61 = _Z51(this._g51[_kb]._X31, -1, 1);
- for (; _I3 < _J61; _I3++) {
- if (_M61 <= this._g51[_I3]._X31) break
- }
- var _N61 = _Z51(this._g51[_kb]._X31, 1, 1);
- for (var _W9 = _I3; _W9 < _J61; _W9++) {
- if (_N61 < this._g51[_W9]._X31) break;
- this._n21(this._g51[_kb].index, this._g51[_W9].index)
- }
- }
- if (_H61) {
- this._521 = this._r31._JL(_161, this._521)
- }
- },
- _O61: function() {
- var _pP = new __T();
- _pP._HP._f3 = +_cM;
- _pP._HP._g3 = +_cM;
- _pP._IP._f3 = -_cM;
- _pP._IP._g3 = -_cM;
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- var _mv = this._U41.data[_H3];
- _pP._HP._2N(_rO(_pP._HP, _mv));
- _pP._IP._2N(_tO(_pP._IP, _mv))
- }
- _pP._HP._f3 -= this._351;
- _pP._HP._g3 -= this._351;
- _pP._IP._f3 += this._351;
- _pP._IP._g3 += this._351;
- this._w31 = 0;
- function _P61(_B31) {
- this._D41 = _B31
- }
- _P61.prototype = {
- _t01: function(_TC) {
- if (_TC._W_()) {
- return ! 0
- }
- var _DP = _TC._U_();
- var _W9 = _TC._001();
- var _O11 = _W9._KZ();
- var _Q61 = _W9._ZZ();
- var _R61 = _W9.__Z() - _Q61 * _W9._LZ()._8N();
- var _S61 = _Q61 > 0 ? 1 / _Q61: 0;
- var _T61 = _R61 > 0 ? 1 / _R61: 0;
- var _501 = _DP._kP();
- for (var _nP = 0; _nP < _501; _nP++) {
- var _pP = _TC._401(_nP)._u8();
- _pP._HP._f3 -= this._D41._351;
- _pP._HP._g3 -= this._D41._351;
- _pP._IP._f3 += this._D41._351;
- _pP._IP._g3 += this._D41._351;
- var _I61 = 0;
- var _J61 = this._D41._7R;
- var _U61 = this._D41._g51._LL(_I61, _J61, _Y51(this._D41._451 * _pP._HP._f3, this._D41._451 * _pP._HP._g3),
- function(_kb, _W9) {
- return _511._z51._C51(_kb, _W9)
- });
- var _V61 = this._D41._g51._OL(_U61, _J61, _Y51(this._D41._451 * _pP._IP._f3, this._D41._451 * _pP._IP._g3),
- function(_kb, _W9) {
- return _511._z51._B51(_kb, _W9)
- });
- for (var _601 = _U61; _601 != _V61; ++_601) {
- var _W61 = this._D41._g51[_601];
- var _kb = _W61.index;
- var _X61 = this._D41._U41.data[_kb];
- if (_pP._HP._f3 <= _X61._f3 && _X61._f3 <= _pP._IP._f3 && _pP._HP._g3 <= _X61._g3 && _X61._g3 <= _pP._IP._g3) {
- var _mk = [0];
- var _C9 = new _ZM();
- _TC._tP(_X61, _mk, _C9, _nP);
- if (_mk[0] < this._D41._351) {
- var _Y61 = this._D41._851.data[_kb] & _m41._q41 ? 0 : this._D41._Z61();
- var __61 = _ZM._6N(_X61, _O11);
- var _071 = __N(__61, _C9);
- if (this._D41._w31 >= this._D41._h51) {
- var _461 = this._D41._h51;
- var _561 = this._D41._w31 ? 2 * this._D41._w31: _GM;
- this._D41._u31 = this._D41._261(this._D41._u31, _461, _561);
- this._D41._h51 = _561
- }
- var _BZ = this._D41._u31[this._D41._w31] = new __41();
- _BZ.index = _kb;
- _BZ.body = _W9;
- _BZ._Z41 = 1 - _mk[0] * this._D41._451;
- _BZ._vP._2N(_C9._3N());
- _BZ._eP = 1 / (_Y61 + _S61 + _T61 * _071 * _071);
- this._D41._w31++
- }
- }
- }
- }
- return ! 0
- },
- _u01: function(_H3) {
- return ! 1
- }
- };
- var _tR = new _P61(this);
- this._SY._Q11(_tR, _pP)
- },
- _rN: function(_ML) {++this._I41;
- if (this._3Q == 0) {
- return
- }
- this._051 = 0;
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- this._051 |= this._851.data[_H3]
- }
- if (this._051 & _m41._p41) {
- this._171()
- }
- this._151 = 0;
- for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) {
- this._151 |= _d01._G41
- }
- var _N01 = _ZM._Vo(_ML._x01 * this._2Z, this._SY._721());
- var _271 = this._371(_ML);
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- var _xb = this._V41.data[_H3];
- _xb._Wh(_N01);
- var _ic = _ZN(_xb, _xb);
- if (_ic > _271) {
- _xb._Vo(_WM(_271 / _ic))
- }
- }
- this._471(_ML);
- if (this._151 & _C41._X41) {
- this._571(_ML)
- }
- if (this._051 & _m41._q41) {
- this._671(_ML)
- }
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- this._U41.data[_H3]._Wh(_ZM._Vo(_ML._x01, this._V41.data[_H3]))
- }
- this._O61();
- this._j61(!1);
- if (this._051 & _m41._t41) {
- this._771(_ML)
- }
- if (this._051 & _m41._u41) {
- this._871(_ML)
- }
- if (this._051 & _m41._v41) {
- this._971(_ML)
- }
- if (this._051 & _m41._s41) {
- this._a71(_ML)
- }
- if (this._051 & _m41._r41) {
- this._b71(_ML)
- }
- if (this._151 & _C41._W41) {
- this._c71(_ML)
- }
- if (this._051 & _m41._w41) {
- this._d71(_ML)
- }
- this._e71(_ML);
- this._f71(_ML)
- },
- _471: function(_ML) {
- var _pP = new __T();
- _pP._HP._f3 = +_cM;
- _pP._HP._g3 = +_cM;
- _pP._IP._f3 = -_cM;
- _pP._IP._g3 = -_cM;
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- var _xb = this._V41.data[_H3];
- var _TO = this._U41.data[_H3];
- var _UO = _ZM._Wh(_TO, _ZM._Vo(_ML._x01, _xb));
- _pP._HP = _rO(_pP._HP, _rO(_TO, _UO));
- _pP._IP = _tO(_pP._IP, _tO(_TO, _UO))
- }
- function _g71(_B31, _ML) {
- this._D41 = _B31;
- this._h71 = _ML
- }
- _g71.prototype = {
- _t01: function(_TC) {
- if (_TC._W_()) {
- return ! 0
- }
- var _DP = _TC._U_();
- var body = _TC._001();
- var _I61 = 0;
- var _J61 = this._D41._7R;
- var _501 = _DP._kP();
- for (var _nP = 0; _nP < _501; _nP++) {
- var _pP = _TC._401(_nP)._u8();
- _pP._HP._f3 -= this._D41._351;
- _pP._HP._g3 -= this._D41._351;
- _pP._IP._f3 += this._D41._351;
- _pP._IP._g3 += this._D41._351;
- var _U61 = this._D41._g51._LL(_I61, _J61, _Y51(this._D41._451 * _pP._HP._f3, this._D41._451 * _pP._HP._g3),
- function(_kb, _W9) {
- return _511._z51._C51(_kb, _W9)
- });
- var _V61 = this._D41._g51._OL(_U61, _J61, _Y51(this._D41._451 * _pP._IP._f3, this._D41._451 * _pP._IP._g3),
- function(_kb, _W9) {
- return _511._z51._B51(_kb, _W9)
- });
- for (var _601 = _U61; _601 != _V61; ++_601) {
- var _W61 = this._D41._g51[_601];
- var _kb = _W61.index;
- var _X61 = this._D41._U41.data[_kb];
- if (_pP._HP._f3 <= _X61._f3 && _X61._f3 <= _pP._IP._f3 && _pP._HP._g3 <= _X61._g3 && _X61._g3 <= _pP._IP._g3) {
- var _i71 = this._D41._V41.data[_kb];
- var _4u = new _ZT();
- var _2u = new _YT();
- _2u._TO = _fO(body._MV, _hO(body._TY, _X61));
- _2u._UO = _ZM._Wh(_X61, _ZM._Vo(this._h71._x01, _i71));
- _2u._FP = 1;
- if (_TC._mP(_4u, _2u, _nP)) {
- var _mv = _ZM._Wh(_ZM._Wh(_ZM._Vo((1 - _4u._GP), _2u._TO), _ZM._Vo(_4u._GP, _2u._UO)), _ZM._Vo(_jM, _4u._vP));
- var _xb = _ZM._Vo(this._h71._y01, _ZM._6N(_mv, _X61));
- this._D41._V41.data[_kb]._2N(_xb);
- var _Mq = _ZM._Vo(this._D41._T41(), _ZM._6N(_i71, _xb));
- _Mq = _ZM._Vo(_ZN(_Mq, _4u._vP), _4u._vP);
- body._WZ(_Mq, _mv, !0)
- }
- }
- }
- }
- return ! 0
- },
- _u01: function(_H3) {
- return ! 1
- }
- };
- var _tR = new _g71(this, _ML);
- this._SY._Q11(_tR, _pP)
- },
- _e71: function(_ML) {
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- this._a51[_H3] = 0
- }
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- var _kb = _BZ.index;
- var _J3 = _BZ._Z41;
- this._a51[_kb] += _J3
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- this._a51[_kb] += _J3;
- this._a51[_W9] += _J3
- }
- if (this._051 & _511._N51) {
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- if (this._851.data[_H3] & _511._N51) {
- this._a51[_H3] = 0
- }
- }
- }
- var _j71 = this._o51 * this._k71(_ML);
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- var _J3 = this._a51[_H3];
- var _K3 = _j71 * _sO(0.0, _qO(_J3, _DM) - _CM);
- this._a51[_H3] = _K3
- }
- var _l71 = _ML._x01 / (this._vZ * this._351);
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- var _kb = _BZ.index;
- var _W9 = _BZ.body;
- var _J3 = _BZ._Z41;
- var _F9 = _BZ._eP;
- var _C9 = _BZ._vP;
- var _mv = this._U41.data[_kb];
- var _K3 = this._a51[_kb] + _j71 * _J3;
- var _Mq = _ZM._Vo(_l71 * _J3 * _F9 * _K3, _C9);
- this._V41.data[_kb]._6N(_ZM._Vo(this._Z61(), _Mq));
- _W9._WZ(_Mq, _mv, !0)
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- var _C9 = _BZ._vP;
- var _K3 = this._a51[_kb] + this._a51[_W9];
- var _Mq = _ZM._Vo(_l71 * _J3 * _K3, _C9);
- this._V41.data[_kb]._6N(_Mq);
- this._V41.data[_W9]._Wh(_Mq)
- }
- },
- _f71: function(_ML) {
- var _131 = this._p51;
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- var _kb = _BZ.index;
- var _W9 = _BZ.body;
- var _J3 = _BZ._Z41;
- var _F9 = _BZ._eP;
- var _C9 = _BZ._vP;
- var _mv = this._U41.data[_kb];
- var _xb = _ZM._6N(_W9._9_(_mv), this._V41.data[_kb]);
- var _m71 = _ZN(_xb, _C9);
- if (_m71 < 0) {
- var _Mq = _ZM._Vo(_131 * _J3 * _F9 * _m71, _C9);
- this._V41.data[_kb]._Wh(_ZM._Vo(this._Z61(), _Mq));
- _W9._WZ(_Mq._3N(), _mv, !0)
- }
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- var _C9 = _BZ._vP;
- var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]);
- var _m71 = _ZN(_xb, _C9);
- if (_m71 < 0) {
- var _Mq = _ZM._Vo(_131 * _J3 * _m71, _C9);
- this._V41.data[_kb]._Wh(_Mq);
- this._V41.data[_W9]._6N(_Mq)
- }
- }
- },
- _671: function(_ML) {
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- if (this._851.data[_H3] & _m41._q41) {
- this._V41.data[_H3].__M()
- }
- }
- },
- _571: function(_ML) {
- for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) {
- if (_d01._G41 & _C41._X41) {
- _d01._S41();
- var _i5 = new _JN(_ML._x01 * _d01.__Y);
- var transform = new _NN(_ZM._Wh(_d01._K41, _ZM._6N(_ZM._Vo(_ML._x01, _d01._ZY), _dO(_i5, _d01._K41))), _i5);
- _d01._L41 = _iO(transform, _d01._L41);
- var _n71 = new _NN();
- _n71._mv._f3 = _ML._y01 * transform._mv._f3;
- _n71._mv._g3 = _ML._y01 * transform._mv._g3;
- _n71._fu._9q = _ML._y01 * transform._fu._9q;
- _n71._fu._I3 = _ML._y01 * (transform._fu._I3 - 1);
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- this._V41.data[_H3]._2N(_fO(_n71, this._U41.data[_H3]))
- }
- }
- }
- },
- _a71: function(_ML) {
- var _o71 = _ML._y01 * this._q51;
- for (var _eT = 0; _eT < this._j51; _eT++) {
- var _s61 = this._l51[_eT];
- if (_s61._ZJ & _m41._s41) {
- var _kb = _s61._TR;
- var _W9 = _s61._UR;
- var _I3 = _s61._F51;
- var _k61 = _s61._G51;
- var _p71 = _s61._H51;
- var _q71 = _s61._k41;
- var _G51 = this._U41.data[_kb];
- var _H51 = this._U41.data[_W9];
- var _k41 = this._U41.data[_I3];
- var _mv = _ZM._Vo(1 / 3, _ZM._Wh(_G51, _ZM._Wh(_H51, _k41)));
- var _T9 = new _JN();
- _T9._9q = __N(_k61, _G51) + __N(_p71, _H51) + __N(_q71, _k41);
- _T9._I3 = _ZN(_k61, _G51) + _ZN(_p71, _H51) + _ZN(_q71, _k41);
- var _dt = _T9._9q * _T9._9q + _T9._I3 * _T9._I3;
- var _r71 = _YM(_dt);
- _T9._9q *= _r71;
- _T9._I3 *= _r71;
- var _A41 = _o71 * _s61._A41;
- this._V41.data[_kb]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _k61), (_ZM._6N(_G51, _mv))))));
- this._V41.data[_W9]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _p71), (_ZM._6N(_H51, _mv))))));
- this._V41.data[_I3]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _q71), (_ZM._6N(_k41, _mv))))))
- }
- }
- },
- _b71: function(_ML) {
- var _t71 = _ML._y01 * this._r51;
- for (var _eT = 0; _eT < this._8R; _eT++) {
- var _BR = this._9R[_eT];
- if (_BR._ZJ & _m41._r41) {
- var _kb = _BR._TR;
- var _W9 = _BR._UR;
- var _mk = _ZM._6N(this._U41.data[_W9], this._U41.data[_kb]);
- var _u71 = _BR._uP;
- var _ct = _mk._7N();
- var _A41 = _t71 * _BR._A41;
- var _Mq = _ZM._Vo(_A41 * (_u71 - _ct) / _ct, _mk);
- this._V41.data[_kb]._6N(_Mq);
- this._V41.data[_W9]._Wh(_Mq)
- }
- }
- },
- _971: function(_ML) {
- this._b51 = this._a61(this._b51);
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- this._a51[_H3] = 0;
- this._b51[_H3] = new _ZM()
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- if (_BZ._ZJ & _m41._v41) {
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- var _C9 = _BZ._vP;
- this._a51[_kb] += _J3;
- this._a51[_W9] += _J3;
- this._b51[_kb]._6N(_ZM._Vo((1 - _J3) * _J3, _C9));
- this._b51[_W9]._Wh(_ZM._Vo((1 - _J3) * _J3, _C9))
- }
- }
- var _v71 = this._t51 * this._w71(_ML);
- var _x71 = this._u51 * this._w71(_ML);
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- if (_BZ._ZJ & _m41._v41) {
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- var _C9 = _BZ._vP;
- var _K3 = this._a51[_kb] + this._a51[_W9];
- var _9q = _ZM._6N(this._b51[_W9], this._b51[_kb]);
- var _y71 = (_v71 * (_K3 - 2) + _x71 * _ZN(_9q, _C9)) * _J3;
- var _Mq = _ZM._Vo(_y71, _C9);
- this._V41.data[_kb]._6N(_Mq);
- this._V41.data[_W9]._Wh(_Mq)
- }
- }
- },
- _771: function(_ML) {
- var _z71 = this._s51;
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- var _kb = _BZ.index;
- if (this._851.data[_kb] & _m41._t41) {
- var _W9 = _BZ.body;
- var _J3 = _BZ._Z41;
- var _F9 = _BZ._eP;
- var _mv = this._U41.data[_kb];
- var _xb = _ZM._6N(_W9._9_(_mv), this._V41.data[_kb]);
- var _Mq = _ZM._Vo(_z71 * _F9 * _J3, _xb);
- this._V41.data[_kb]._Wh(_ZM._Vo(this._Z61(), _Mq));
- _W9._WZ(_Mq._3N(), _mv, !0)
- }
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- if (_BZ._ZJ & _m41._t41) {
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _J3 = _BZ._Z41;
- var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]);
- var _Mq = _ZM._Vo(_z71 * _J3, _xb);
- this._V41.data[_kb]._Wh(_Mq);
- this._V41.data[_W9]._6N(_Mq)
- }
- }
- },
- _871: function(_ML) {
- var _A71 = this._v51 * this._w71(_ML);
- var _B71 = 1.0 - _BM;
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- var _kb = _BZ.index;
- if (this._851.data[_kb] & _m41._u41) {
- var _J3 = _BZ._Z41;
- if (_J3 > _B71) {
- var _W9 = _BZ.body;
- var _F9 = _BZ._eP;
- var _mv = this._U41.data[_kb];
- var _C9 = _BZ._vP;
- var _Mq = _ZM._Vo(_A71 * _F9 * (_J3 - _B71), _C9);
- this._V41.data[_kb]._6N(_ZM._Vo(this._Z61(), _Mq));
- _W9._WZ(_Mq, _mv, !0)
- }
- }
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- if (_BZ._ZJ & _m41._u41) {
- var _J3 = _BZ._Z41;
- if (_J3 > _B71) {
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _C9 = _BZ._vP;
- var _Mq = _ZM._Vo(_A71 * (_J3 - _B71), _C9);
- this._V41.data[_kb]._6N(_Mq);
- this._V41.data[_W9]._Wh(_Mq)
- }
- }
- }
- },
- _c71: function(_ML) {
- this._c51 = this._a61(this._c51);
- var _C71 = _ML._y01 * this._w51;
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (this._d51[_kb] != this._d51[_W9]) {
- var _J3 = _BZ._Z41;
- var _C9 = _BZ._vP;
- var _K3 = this._c51[_kb] + this._c51[_W9];
- var _Mq = _ZM._Vo(_C71 * _K3 * _J3, _C9);
- this._V41.data[_kb]._6N(_Mq);
- this._V41.data[_W9]._Wh(_Mq)
- }
- }
- },
- _d71: function(_ML) {
- this._F31.data = this._a61(this._F31.data);
- var _D71 = Math.floor(256 * this._x51);
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- if (this._851.data[_kb] & this._851.data[_W9] & _m41._w41) {
- var _E71 = this._F31.data[_kb];
- var _F71 = this._F31.data[_W9];
- var _G71 = (_D71 * (_F71._T9 - _E71._T9)) >> 8;
- var _H71 = (_D71 * (_F71._jb - _E71._jb)) >> 8;
- var _I71 = (_D71 * (_F71._W9 - _E71._W9)) >> 8;
- var _J71 = (_D71 * (_F71._kb - _E71._kb)) >> 8;
- _E71._T9 += _G71;
- _E71._jb += _H71;
- _E71._W9 += _I71;
- _E71._kb += _J71;
- _F71._T9 -= _G71;
- _F71._jb -= _H71;
- _F71._W9 -= _I71;
- _F71._kb -= _J71
- }
- }
- },
- _171: function() {
- var _K71 = 0;
- var _L71 = new Array(this._3Q);
- for (var _H3 = 0; _H3 < this._3Q; _H3++) {
- var _ZJ = this._851.data[_H3];
- if (_ZJ & _m41._p41) {
- var _M71 = this._SY._P01;
- if ((_ZJ & _m41._x41) && _M71) {
- _M71._e01(_H3)
- }
- _L71[_H3] = _AM
- } else {
- _L71[_H3] = _K71;
- if (_H3 != _K71) {
- this._851.data[_K71] = this._851.data[_H3];
- this._U41.data[_K71] = this._U41.data[_H3];
- this._V41.data[_K71] = this._V41.data[_H3];
- this._d51[_K71] = this._d51[_H3];
- if (this._c51) {
- this._c51[_K71] = this._c51[_H3]
- }
- if (this._F31.data) {
- this._F31.data[_K71] = this._F31.data[_H3]
- }
- if (this._e51.data) {
- this._e51.data[_K71] = this._e51.data[_H3];
- }
- }
- _K71++
- }
- }
- var _N71 = {
- _O71: function(_601) {
- return _601.index < 0
- },
- _P71: function(_BZ) {
- return _BZ._TR < 0 || _BZ._UR < 0
- },
- _Q71: function(_BZ) {
- return _BZ.index < 0
- },
- _R71: function(_BR) {
- return _BR._TR < 0 || _BR._UR < 0
- },
- _S71: function(_s61) {
- return _s61._TR < 0 || _s61._UR < 0 || _s61._F51 < 0
- }
- };
- for (var _eT = 0; _eT < this._7R; _eT++) {
- var _601 = this._g51[_eT];
- _601.index = _L71[_601.index]
- }
- if (this._g51) {
- this._7R = this._g51._JL(_N71._O71, this._7R)
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- _BZ._TR = _L71[_BZ._TR];
- _BZ._UR = _L71[_BZ._UR];
- }
- if (this._r31) {
- this._521 = this._r31._JL(_N71._P71, this._521)
- }
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- _BZ.index = _L71[_BZ.index]
- }
- if (this._u31) {
- this._w31 = this._u31._JL(_N71._Q71, this._w31)
- }
- for (var _eT = 0; _eT < this._8R; _eT++) {
- var _BR = this._9R[_eT];
- _BR._TR = _L71[_BR._TR];
- _BR._UR = _L71[_BR._UR]
- }
- if (this._9R) {
- this._8R = this._9R._JL(_N71._R71, this._8R)
- }
- for (var _eT = 0; _eT < this._j51; _eT++) {
- var _s61 = this._l51[_eT];
- _s61._TR = _L71[_s61._TR];
- _s61._UR = _L71[_s61._UR];
- _s61._F51 = _L71[_s61._F51]
- }
- if (this._l51) {
- this._j51 = this._l51._JL(_N71._S71, this._j51)
- }
- for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) {
- var _g61 = _K71;
- var lastIndex = 0;
- var _T71 = !1;
- for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) {
- var __9 = _L71[_H3];
- if (__9 >= 0) {
- _g61 = _qO(_g61, __9);
- lastIndex = _sO(lastIndex, __9 + 1)
- } else {
- _T71 = !0
- }
- }
- if (_g61 < lastIndex) {
- _d01._E41 = _g61;
- _d01._F41 = lastIndex;
- if (_T71) {
- if (_d01._G41 & _C41._X41) {
- _d01._O41 = !0
- }
- }
- } else {
- _d01._E41 = 0;
- _d01._F41 = 0;
- if (_d01._M41) {
- _d01._N41 = !0
- }
- }
- }
- this._3Q = _K71;
- for (var _d01 = this._n51; _d01;) {
- var _ni = _d01._y_();
- if (_d01._N41) {
- this._y61(_d01);
- } else if (_d01._O41) {}
- _d01 = _ni
- }
- },
- _v61: function(start, _U71, end) {
- if (start == _U71 || _U71 == end) {
- return
- }
- function _L71(_H3) {
- if (_H3 < start) {
- return _H3
- } else if (_H3 < _U71) {
- return _H3 + end - _U71
- } else if (_H3 < end) {
- return _H3 + start - _U71
- } else {
- return _H3
- }
- }
- this._851.data.rotate(start, _U71, end);
- this._U41.data.rotate(start, _U71, end);
- this._V41.data.rotate(start, _U71, end);
- this._d51.rotate(start, _U71, end);
- if (this._c51) {
- this._c51.rotate(start, _U71, end)
- }
- if (this._F31.data) {
- this._F31.data.rotate(start, _U71, end)
- }
- if (this._e51.data) {
- this._e51.data.rotate(start, _U71, end)
- }
- for (var _eT = 0; _eT < this._7R; _eT++) {
- var _601 = this._g51[_eT];
- _601.index = _L71(_601.index)
- }
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- _BZ._TR = _L71(_BZ._TR);
- _BZ._UR = _L71(_BZ._UR)
- }
- for (var _eT = 0; _eT < this._w31; _eT++) {
- var _BZ = this._u31[_eT];
- _BZ.index = _L71(_BZ.index)
- }
- for (var _eT = 0; _eT < this._8R; _eT++) {
- var _BR = this._9R[_eT];
- _BR._TR = _L71(_BR._TR);
- _BR._UR = _L71(_BR._UR)
- }
- for (var _eT = 0; _eT < this._j51; _eT++) {
- var _s61 = this._l51[_eT];
- _s61._TR = _L71(_s61._TR);
- _s61._UR = _L71(_s61._UR);
- _s61._F51 = _L71(_s61._F51);
- }
- for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) {
- _d01._E41 = _L71(_d01._E41);
- _d01._F41 = _L71(_d01._F41 - 1) + 1
- }
- },
- _331: function(_PO) {
- this._351 = 2 * _PO;
- this._551 = this._351 * this._351;
- this._451 = 1 / this._351
- },
- _X21: function(_sP) {
- this._vZ = _sP;
- this._251 = 1 / this._vZ
- },
- _Y21: function() {
- return this._vZ
- },
- _Z21: function(_IY) {
- this._2Z = _IY
- },
- __21: function() {
- return this._2Z
- },
- _031: function(_131) {
- this._p51 = _131
- },
- _231: function() {
- return this._p51
- },
- _431: function() {
- return this._351 / 2
- },
- _w71: function(_ML) {
- return this._351 * _ML._y01
- },
- _371: function(_ML) {
- var _n41 = this._w71(_ML);
- return _n41 * _n41
- },
- _k71: function(_ML) {
- return this._vZ * this._371(_ML)
- },
- _f61: function() {
- return _BM * this._351
- },
- _T41: function() {
- var _7c = this._f61();
- return this._vZ * _7c * _7c
- },
- _Z61: function() {
- return 1.777777 * this._251 * this._451 * this._451
- },
- _e31: function() {
- return this._851.data
- },
- _f31: function() {
- return this._U41.data
- },
- _g31: function() {
- return this._V41.data
- },
- _h31: function() {
- this._F31.data = this._a61(this._F31.data);
- return this._F31.data
- },
- _i31: function() {
- this._e51.data = this._a61(this._e51.data);
- return this._e51.data
- },
- _V21: function() {
- return this._751
- },
- _W21: function(_Ea) {
- _9M(this._3Q <= _Ea);
- this._751 = _Ea
- },
- _j31: function() {
- return this._d51
- },
- _V71: function(buffer, _W71, _561) {
- _9M((_W71 && _561) || (!_W71 && !_561));
- if (!buffer._y51) {}
- buffer.data = _W71;
- buffer._y51 = _561
- },
- _k31: function(buffer, _l31) {
- this._V71(this._851, buffer, _l31)
- },
- _m31: function(buffer, _l31) {
- this._V71(this._U41, buffer, _l31)
- },
- _n31: function(buffer, _l31) {
- this._V71(this._V41, buffer, _l31)
- },
- _o31: function(buffer, _l31) {
- this._V71(this._F31, buffer, _l31)
- },
- _p31: function(buffer, _l31) {
- this._V71(this._e51, buffer, _l31)
- },
- _Q11: function(_tR, _pP) {
- if (this._7R == 0) {
- return
- }
- var _I61 = 0;
- var _J61 = this._7R;
- var _U61 = this._g51._LL(_I61, _J61, _Y51(this._451 * _pP._HP._f3, this._451 * _pP._HP._g3),
- function(_kb, _W9) {
- return _511._z51._C51(_kb, _W9)
- });
- var _V61 = this._g51._OL(_U61, _J61, _Y51(this._451 * _pP._IP._f3, this._451 * _pP._IP._g3),
- function(_kb, _W9) {
- return _511._z51._B51(_kb, _W9)
- });
- for (var _601 = _U61; _601 < _V61; ++_601) {
- var _W61 = this._g51[_601];
- var _H3 = _W61.index;
- var _mv = this._U41.data[_H3];
- if (_pP._HP._f3 < _mv._f3 && _mv._f3 < _pP._IP._f3 && _pP._HP._g3 < _mv._g3 && _mv._g3 < _pP._IP._g3) {
- if (!_tR._u01(_H3)) {
- break
- }
- }
- }
- },
- _mP: function(_tR, _S11, _T11) {
- if (this._7R == 0) {
- return
- }
- var _I61 = 0;
- var _J61 = this._7R;
- var _U61 = this._g51._LL(_I61, _J61, _Y51(this._451 * _qO(_S11._f3, _T11._f3) - 1, this._451 * _qO(_S11._g3, _T11._g3) - 1),
- function(_kb, _W9) {
- return _511._z51._C51(_kb, _W9)
- });
- var _V61 = this._g51._OL(_I61, _J61, _Y51(this._451 * _sO(_S11._f3, _T11._f3) + 1, this._451 * _sO(_S11._g3, _T11._g3) + 1),
- function(_kb, _W9) {
- return _511._z51._B51(_kb, _W9)
- });
- var _GP = 1;
- var _xb = _ZM._6N(_T11, _S11);
- var _ic = _ZN(_xb, _xb);
- for (var _601 = _U61; _601 < _V61; ++_601) {
- var _W61 = this._g51[_601];
- var _H3 = _W61.index;
- var _mv = _ZM._6N(_S11, this._U41.data[_H3]);
- var _X71 = _ZN(_mv, _xb);
- var _UO = _ZN(_mv, _mv);
- var _Y71 = _X71 * _X71 - _ic * (_UO - this._551);
- if (_Y71 >= 0) {
- var _Z71 = _WM(_Y71);
- var _V9 = ( - _X71 - _Z71) / _ic;
- if (_V9 > _GP) {
- continue
- }
- if (_V9 < 0) {
- _V9 = ( - _X71 + _Z71) / _ic;
- if (_V9 < 0 || _V9 > _GP) {
- continue
- }
- }
- var _C9 = _ZM._Wh(_mv, _ZM._6N(_V9, _xb));
- _C9._9N();
- var _Mq = _tR._u01(_H3, _ZM._Wh(_S11, _ZM._Vo(_V9, _xb)), _C9, _V9);
- _GP = _qO(_GP, _Mq);
- if (_GP <= 0) {
- break
- }
- }
- }
- },
- _x31: function() {
- var __71 = 0;
- for (var _eT = 0; _eT < this._521; _eT++) {
- var _BZ = this._r31[_eT];
- var _kb = _BZ._TR;
- var _W9 = _BZ._UR;
- var _C9 = _BZ._vP;
- var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]);
- var _m71 = _ZN(_xb, _C9);
- if (_m71 < 0) {
- __71 += _m71 * _m71
- }
- }
- return 0.5 * this._T41() * __71
- },
- _y31: function() {
- return this._n51
- },
- _z31: function() {
- return this._m51
- },
- _A31: function() {
- return this._3Q
- }
- };
- function _081(_181, _281) {
- return _WM(_181 * _281)
- }
- function _381(_481, _581) {
- return _481 > _581 ? _481: _581
- }
- function _681() {
- this._mY = null;
- this._781 = !1;
- };
- function _881() {
- this._0U = null;
- this._BZ = null;
- this._u11 = null;
- this._ni = null
- };
- function _b21() {
- this._981 = new _881();
- this._a81 = new _881();
- this._b81 = new _mT()
- }
- _b21._c81 = new _mT();
- _b21.prototype = {
- _pZ: function(_u21, _TR, _v21, _UR) {
- this._r21 = 0;
- this._MY = _b21._d81;
- this._k21 = _u21 || null;
- this._m21 = _v21 || null;
- this._e81 = _TR || 0;
- this._f81 = _UR || 0;
- this._b81._oT = 0;
- this._XY = null;
- this._YY = null;
- this._981._BZ = null;
- this._981._u11 = null;
- this._981._ni = null;
- this._981._0U = null;
- this._a81._BZ = null;
- this._a81._u11 = null;
- this._a81._ni = null;
- this._a81._0U = null;
- this._q21 = 0;
- if (_u21) {
- this._S_ = _081(this._k21._S_, this._m21._S_);
- this._T_ = _381(this._k21._T_, this._m21._T_)
- } else {
- this._S_ = 0;
- this._T_ = 0
- }
- this._g81 = 0.0
- },
- _h81: function() {
- return this._b81
- },
- _i81: function(_j81) {
- var _x11 = this._k21._001();
- var _y11 = this._m21._001();
- var _zW = this._k21._U_();
- var _AW = this._m21._U_();
- _j81._zT(this._b81, _x11._VN(), _zW._iP, _y11._VN(), _AW._iP)
- },
- _i21: function() {
- return (this._MY & _b21._k81) == _b21._k81
- },
- _C21: function(_m_) {
- if (_m_) {
- this._MY |= _b21._d81;
- } else {
- this._MY &= ~_b21._d81
- }
- },
- _h21: function() {
- return (this._MY & _b21._d81) == _b21._d81
- },
- _y_: function() {
- return this._YY
- },
- _DZ: function() {
- return this._k21
- },
- _K11: function() {
- return this._e81
- },
- _FZ: function() {
- return this._m21
- },
- _M11: function() {
- return this._f81
- },
- _2D: function(_L_) {
- this._S_ = _L_
- },
- _201: function() {
- return this._S_
- },
- _l81: function() {
- this._S_ = _081(this._k21._S_, this._m21._S_)
- },
- __C: function(_M_) {
- this._T_ = _M_
- },
- _301: function() {
- return this._T_
- },
- _m81: function() {
- this._T_ = _381(this._k21._T_, this._m21._T_)
- },
- _n81: function(_h3) {
- this._g81 = _h3
- },
- _o81: function() {
- return this._g81
- },
- _cY: function(_pT, _AT, _CT) {},
- ___: function() {
- this._MY |= _b21._p81
- },
- _q81: null,
- _Ag: function(listener) {
- _b21._c81._2N(this._b81);
- this._MY |= _b21._d81;
- var _r81 = !1;
- var _s81 = (this._MY & _b21._k81) == _b21._k81;
- var _j21 = this._k21._W_();
- var _l21 = this._m21._W_();
- var _V_ = _j21 || _l21;
- var _x11 = this._k21._001();
- var _y11 = this._m21._001();
- var _AT = _x11._VN();
- var _CT = _y11._VN();
- if (_V_) {
- var _zW = this._k21._U_();
- var _AW = this._m21._U_();
- _r81 = _yW(_zW, this._e81, _AW, this._f81, _AT, _CT);
- this._b81._oT = 0
- } else {
- this._cY(this._b81, _AT, _CT);
- _r81 = this._b81._oT > 0;
- for (var _H3 = 0; _H3 < this._b81._oT; ++_H3) {
- var _t81 = this._b81._e3[_H3];
- _t81._jT = 0.0;
- _t81._kT = 0.0;
- var _u81 = _t81.id;
- for (var __9 = 0; __9 < _b21._c81._oT; ++__9) {
- var _v81 = _b21._c81._e3[__9];
- if (_v81.id._Gh() == _u81._Gh()) {
- _t81._jT = _v81._jT;
- _t81._kT = _v81._kT;
- break
- }
- }
- }
- if (_r81 != _s81) {
- _x11._gD(!0);
- _y11._gD(!0)
- }
- }
- if (_r81) {
- this._MY |= _b21._k81
- } else {
- this._MY &= ~_b21._k81
- }
- if (_s81 == !1 && _r81 == !0 && listener) {
- listener._n01(this)
- }
- if (_s81 == !0 && _r81 == !1 && listener) {
- listener._o01(this)
- }
- if (_V_ == !1 && _r81 && listener) {
- listener._p01(this, _b21._c81)
- }
- }
- };
- _b21._fZ = 0x0001;
- _b21._k81 = 0x0002;
- _b21._d81 = 0x0004;
- _b21._p81 = 0x0008;
- _b21._w81 = 0x0010;
- _b21._gZ = 0x0020;
- function _x81() {
- this.parent.call(this)
- }
- _x81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- _fU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _y81, _EZ, _z81) {
- this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0);
- _9M(this._k21._jP() == _gP._wP);
- _9M(this._m21._jP() == _gP._wP);
- }
- };
- _x81._EL(_b21);
- var _A81 = new _OP();
- function _B81() {
- this.parent.call(this)
- }
- _B81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- var _OR = this._k21._U_();
- _OR._fQ(_A81, this._e81);
- _oV(_pT, _A81, _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, _TR, _EZ, _UR);
- _9M(this._k21._jP() == _gP._zP);
- _9M(this._m21._jP() == _gP._wP)
- }
- };
- _B81._EL(_b21);
- function _C81() {
- this.parent.call(this)
- }
- _C81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- var _OR = this._k21._U_();
- _OR._fQ(_A81, this._e81);
- _pW(_pT, _A81, _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, _TR, _EZ, _UR);
- _9M(this._k21._jP() == _gP._zP);
- _9M(this._m21._jP() == _gP._yP)
- }
- };
- _C81._pZ = function(_CZ, _TR, _EZ, _UR) {
- return new _C81(_CZ, _TR, _EZ, _UR)
- };
- _C81._EL(_b21);
- function _D81() {
- this.parent.call(this)
- }
- _D81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- _oV(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0);
- _9M(this._k21._jP() == _gP._xP);
- _9M(this._m21._jP() == _gP._wP)
- }
- };
- _D81._pZ = function(_CZ, _TR, _EZ, _UR) {
- return new _D81(_CZ, _EZ)
- };
- _D81._EL(_b21);
- function _E81() {
- this.parent.call(this)
- }
- _E81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- _pW(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0);
- _9M(this._k21._jP() == _gP._xP);
- _9M(this._m21._jP() == _gP._yP)
- }
- };
- _E81._pZ = function(_CZ, _TR, _EZ, _UR) {
- return new _E81(_CZ, _EZ)
- };
- _E81._EL(_b21);
- function _F81() {
- this.parent.call(this);
- }
- _F81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- _jU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0);
- _9M(this._k21._jP() == _gP._yP);
- _9M(this._m21._jP() == _gP._wP)
- }
- };
- _F81._pZ = function(_CZ, _TR, _EZ, _UR) {
- return new _F81(_CZ, _EZ)
- };
- _F81._EL(_b21);
- function _G81() {
- this.parent.call(this)
- }
- _G81.prototype = {
- _cY: function(_pT, _AT, _CT) {
- _TU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT)
- },
- _pZ: function(_CZ, _TR, _EZ, _UR) {
- this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0);
- _9M(this._k21._jP() == _gP._yP);
- _9M(this._m21._jP() == _gP._yP)
- }
- };
- _G81._pZ = function(_CZ, _TR, _EZ, _UR) {
- return new _G81(_CZ, _EZ)
- };
- _G81._EL(_b21);
- _b21._H81 = function(_mY, _I81, _J81) {
- _9M(0 <= _I81 && _I81 < _gP._AP);
- _9M(0 <= _J81 && _J81 < _gP._AP);
- if (!_b21._K81[_I81]) _b21._K81[_I81] = [];
- _b21._K81[_I81][_J81] = new _681();
- _b21._K81[_I81][_J81]._mY = _mY;
- _b21._K81[_I81][_J81]._781 = !0;
- if (_I81 != _J81) {
- if (!_b21._K81[_J81]) _b21._K81[_J81] = [];
- _b21._K81[_J81][_I81] = new _681();
- _b21._K81[_J81][_I81]._mY = _mY;
- _b21._K81[_J81][_I81]._781 = !1;
- }
- _mY._L81 = [];
- _mY._M81 = 2
- };
- _b21._N81 = function() {
- _b21._H81(_x81, _gP._wP, _gP._wP);
- _b21._H81(_F81, _gP._yP, _gP._wP);
- _b21._H81(_G81, _gP._yP, _gP._yP);
- _b21._H81(_D81, _gP._xP, _gP._wP);
- _b21._H81(_E81, _gP._xP, _gP._yP);
- _b21._H81(_B81, _gP._zP, _gP._wP);
- _b21._H81(_C81, _gP._zP, _gP._yP)
- };
- _b21._O81 = function(_mY) {
- var _BZ;
- if (_BZ = _mY._L81.pop()) return _BZ;
- for (var _H3 = 0; _H3 < _mY._M81 - 1; ++_H3) _mY._L81.push(new _mY()); {
- _mY._M81 += 32
- }
- return new _mY()
- };
- _b21._pZ = function(_CZ, _TR, _EZ, _UR) {
- if (_b21._P81 == !1) {
- _b21._N81();
- _b21._P81 = !0
- }
- var _I81 = _CZ._jP();
- var _J81 = _EZ._jP();
- _9M(0 <= _I81 && _I81 < _gP._AP);
- _9M(0 <= _J81 && _J81 < _gP._AP);
- var _mY = _b21._K81[_I81] ? _b21._K81[_I81][_J81] ? _b21._K81[_I81][_J81]._mY: null: null;
- if (_mY) {
- var _BZ = _b21._O81(_mY);
- if (_b21._K81[_I81][_J81]._781) _BZ._pZ(_CZ, _TR, _EZ, _UR);
- else _BZ._pZ(_EZ, _UR, _CZ, _TR);
- return _BZ
- }
- return null
- };
- _b21._GZ = function(_BZ) {
- _9M(_b21._P81 == !0);
- var _CZ = _BZ._k21;
- var _EZ = _BZ._m21;
- if (_BZ._b81._oT > 0 && _CZ._W_() == !1 && _EZ._W_() == !1) {
- _CZ._001()._gD(!0);
- _EZ._001()._gD(!0)
- }
- var _cT = _CZ._jP();
- var _dT = _EZ._jP();
- _9M(0 <= _cT && _dT < _gP._AP);
- _9M(0 <= _cT && _dT < _gP._AP);
- _b21._K81[_cT][_dT]._mY._L81.push(_BZ)
- };
- _b21._K81 = [];
- _b21._P81 = !1;
- var _Q81 = new _f01();
- var _R81 = new _m01();
- function _O01() {
- this._sZ = new _3R();
- this._WY = null;
- this._521 = 0;
- this._f11 = _Q81;
- this._h11 = _R81
- }
- _O01.prototype = {
- _AR: function(_S81, _T81) {
- var _WR = _S81;
- var _XR = _T81;
- var _CZ = _WR._TC;
- var _EZ = _XR._TC;
- var _TR = _WR._nP;
- var _UR = _XR._nP;
- var _x11 = _CZ._001();
- var _y11 = _EZ._001();
- if (_x11 == _y11) {
- return
- }
- var _gQ = _y11._x_();
- while (_gQ) {
- if (_gQ._0U == _x11) {
- var _u21 = _gQ._BZ._DZ();
- var _v21 = _gQ._BZ._FZ();
- var _wX = _gQ._BZ._K11();
- var _xX = _gQ._BZ._M11();
- if (_u21 == _CZ && _v21 == _EZ && _wX == _TR && _xX == _UR) {
- return
- }
- if (_u21 == _EZ && _v21 == _CZ && _wX == _UR && _xX == _TR) {
- return
- }
- }
- _gQ = _gQ._ni
- }
- if (_y11._C_(_x11) == !1) {
- return
- }
- if (this._f11 && this._f11._C_(_CZ, _EZ) == !1) {
- return
- }
- var _I3 = _b21._pZ(_CZ, _TR, _EZ, _UR);
- if (_I3 == null) {
- return
- }
- _CZ = _I3._DZ();
- _EZ = _I3._FZ();
- _TR = _I3._K11();
- _UR = _I3._M11();
- _x11 = _CZ._001();
- _y11 = _EZ._001();
- _I3._XY = null;
- _I3._YY = this._WY;
- if (this._WY != null) {
- this._WY._XY = _I3
- }
- this._WY = _I3;
- _I3._981._BZ = _I3;
- _I3._981._0U = _y11;
- _I3._981._u11 = null;
- _I3._981._ni = _x11._WY;
- if (_x11._WY != null) {
- _x11._WY._u11 = _I3._981
- }
- _x11._WY = _I3._981;
- _I3._a81._BZ = _I3;
- _I3._a81._0U = _x11;
- _I3._a81._u11 = null;
- _I3._a81._ni = _y11._WY;
- if (_y11._WY != null) {
- _y11._WY._u11 = _I3._a81
- }
- _y11._WY = _I3._a81;
- if (_CZ._W_() == !1 && _EZ._W_() == !1) {
- _x11._gD(!0);
- _y11._gD(!0)
- }++this._521
- },
- _B11: function() {
- this._sZ._sR(this)
- },
- _GZ: function(_I3) {
- var _CZ = _I3._DZ();
- var _EZ = _I3._FZ();
- var _x11 = _CZ._001();
- var _y11 = _EZ._001();
- if (this._h11 && _I3._i21()) {
- this._h11._o01(_I3)
- }
- if (_I3._XY) {
- _I3._XY._YY = _I3._YY
- }
- if (_I3._YY) {
- _I3._YY._XY = _I3._XY
- }
- if (_I3 == this._WY) {
- this._WY = _I3._YY
- }
- if (_I3._981._u11) {
- _I3._981._u11._ni = _I3._981._ni
- }
- if (_I3._981._ni) {
- _I3._981._ni._u11 = _I3._981._u11
- }
- if (_I3._981 == _x11._WY) {
- _x11._WY = _I3._981._ni
- }
- if (_I3._a81._u11) {
- _I3._a81._u11._ni = _I3._a81._ni
- }
- if (_I3._a81._ni) {
- _I3._a81._ni._u11 = _I3._a81._u11
- }
- if (_I3._a81 == _y11._WY) {
- _y11._WY = _I3._a81._ni
- }
- _b21._GZ(_I3); --this._521
- },
- _3W: function() {
- var _I3 = this._WY;
- while (_I3) {
- var _CZ = _I3._DZ();
- var _EZ = _I3._FZ();
- var _TR = _I3._K11();
- var _UR = _I3._M11();
- var _x11 = _CZ._001();
- var _y11 = _EZ._001();
- if (_I3._MY & _b21._p81) {
- if (_y11._C_(_x11) == !1) {
- var _U81 = _I3;
- _I3 = _U81._y_();
- this._GZ(_U81);
- continue
- }
- if (this._f11 && this._f11._C_(_CZ, _EZ) == !1) {
- var _U81 = _I3;
- _I3 = _U81._y_();
- this._GZ(_U81);
- continue
- }
- _I3._MY &= ~_b21._p81
- }
- var _y21 = _x11._q_() && _x11._hP != _xY._yY;
- var _z21 = _y11._q_() && _y11._hP != _xY._yY;
- if (_y21 == !1 && _z21 == !1) {
- _I3 = _I3._y_();
- continue
- }
- var _ZQ = _CZ._k_[_TR]._eR;
- var __Q = _EZ._k_[_UR]._eR;
- var _V81 = this._sZ._nR(_ZQ, __Q);
- if (_V81 == !1) {
- var _U81 = _I3;
- _I3 = _U81._y_();
- this._GZ(_U81);
- continue
- }
- _I3._Ag(this._h11);
- _I3 = _I3._y_()
- }
- }
- };
- function _W81() {
- this._8T = new _ZM();
- this._9T = new _ZM();
- this._jT = 0;
- this._kT = 0;
- this._X81 = 0;
- this._Y81 = 0;
- this._Z81 = 0
- }
- function __81() {
- this._091 = new Array(_fM);
- this._nT = new _ZM();
- this._iT = new _ZM();
- this._TR = 0;
- this._UR = 0;
- this._191 = 0,
- this._291 = 0;
- this._391 = new _ZM(),
- this._491 = new _ZM();
- this._591 = 0,
- this._691 = 0;
- this.type = 0;
- this._BT = 0,
- this._DT = 0;
- this._oT = 0
- };
- function _791() {
- this._e3 = new Array(_fM);
- for (var _H3 = 0; _H3 < this._e3.length; ++_H3) this._e3[_H3] = new _W81();
- this._vP = new _ZM();
- this._X81 = new _jN();
- this._891 = new _jN();
- this._TR = 0;
- this._UR = 0;
- this._191 = 0,
- this._291 = 0;
- this._591 = 0,
- this._691 = 0;
- this._L_ = 0;
- this._M_ = 0;
- this._991 = 0;
- this._oT = 0;
- this._a91 = 0
- }
- function _b91() {
- this._vP = new _ZM();
- this._lT = new _ZM();
- this._nU = 0
- }
- _b91.prototype = {
- _zT: function(_k41, _AT, _CT, index) {
- _9M(_k41._oT > 0);
- switch (_k41.type) {
- case _mT._qT:
- {
- var _ET = (_AT._fu._I3 * _k41._iT._f3 - _AT._fu._9q * _k41._iT._g3) + _AT._mv._f3;
- var _FT = (_AT._fu._9q * _k41._iT._f3 + _AT._fu._I3 * _k41._iT._g3) + _AT._mv._g3;
- var _GT = (_CT._fu._I3 * _k41._091[0]._f3 - _CT._fu._9q * _k41._091[0]._g3) + _CT._mv._f3;
- var _HT = (_CT._fu._9q * _k41._091[0]._f3 + _CT._fu._I3 * _k41._091[0]._g3) + _CT._mv._g3;
- this._lT._f3 = 0.5 * (_ET + _GT);
- this._lT._g3 = 0.5 * (_FT + _HT);
- this._vP._f3 = _GT - _ET;
- this._vP._g3 = _HT - _FT;
- var _c91 = this._vP._f3;
- var _d91 = this._vP._g3;
- this._vP._9N();
- this._nU = (_c91 * this._vP._f3 + _d91 * this._vP._g3) - _k41._BT - _k41._DT
- }
- break;
- case _mT._rT:
- {
- this._vP._f3 = _AT._fu._I3 * _k41._nT._f3 - _AT._fu._9q * _k41._nT._g3;
- this._vP._g3 = _AT._fu._9q * _k41._nT._f3 + _AT._fu._I3 * _k41._nT._g3;
- var _OT = (_AT._fu._I3 * _k41._iT._f3 - _AT._fu._9q * _k41._iT._g3) + _AT._mv._f3;
- var _PT = (_AT._fu._9q * _k41._iT._f3 + _AT._fu._I3 * _k41._iT._g3) + _AT._mv._g3;
- var _QT = (_CT._fu._I3 * _k41._091[index]._f3 - _CT._fu._9q * _k41._091[index]._g3) + _CT._mv._f3;
- var _RT = (_CT._fu._9q * _k41._091[index]._f3 + _CT._fu._I3 * _k41._091[index]._g3) + _CT._mv._g3;
- this._nU = ((_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3) - _k41._BT - _k41._DT;
- this._lT._f3 = _QT;
- this._lT._g3 = _RT
- }
- break;
- case _mT._sT:
- {
- this._vP._f3 = _CT._fu._I3 * _k41._nT._f3 - _CT._fu._9q * _k41._nT._g3;
- this._vP._g3 = _CT._fu._9q * _k41._nT._f3 + _CT._fu._I3 * _k41._nT._g3;
- var _OT = (_CT._fu._I3 * _k41._iT._f3 - _CT._fu._9q * _k41._iT._g3) + _CT._mv._f3;
- var _PT = (_CT._fu._9q * _k41._iT._f3 + _CT._fu._I3 * _k41._iT._g3) + _CT._mv._g3;
- var _QT = (_AT._fu._I3 * _k41._091[index]._f3 - _AT._fu._9q * _k41._091[index]._g3) + _AT._mv._f3;
- var _RT = (_AT._fu._9q * _k41._091[index]._f3 + _AT._fu._I3 * _k41._091[index]._g3) + _AT._mv._g3;
- this._nU = ((_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3) - _k41._BT - _k41._DT;
- this._lT._f3 = _QT;
- this._lT._g3 = _RT;
- this._vP._f3 = -this._vP._f3;
- this._vP._g3 = -this._vP._g3
- }
- break
- }
- }
- };
- function _e91() {
- this._ML = new _w01();
- this._f91 = null;
- this._Ea = 0;
- this._G01 = null;
- this._H01 = null
- }
- function _g91() {
- this._h91 = [];
- this._i91 = [];
- }
- _g91._j91 = new _NN();
- _g91._k91 = new _NN();
- _g91._l91 = new _b91();
- _g91.prototype = {
- _KE: function(_kZ) {
- this._h71 = _kZ._ML;
- this._3Q = _kZ._Ea;
- this._h91.length = this._3Q;
- this._i91.length = this._3Q;
- this._m91 = _kZ._G01;
- this._n91 = _kZ._H01;
- this._o91 = _kZ._f91;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _BZ = this._o91[_H3];
- var _CZ = _BZ._k21;
- var _EZ = _BZ._m21;
- var _zW = _CZ._U_();
- var _AW = _EZ._U_();
- var _BT = _zW._iP;
- var _DT = _AW._iP;
- var _x11 = _CZ._001();
- var _y11 = _EZ._001();
- var _pT = _BZ._h81();
- var _oT = _pT._oT;
- _9M(_oT > 0);
- var _p91 = this._i91[_H3] || new _791();
- _p91._L_ = _BZ._S_;
- _p91._M_ = _BZ._T_;
- _p91._991 = _BZ._g81;
- _p91._TR = _x11._LY;
- _p91._UR = _y11._LY;
- _p91._191 = _x11._8Z;
- _p91._291 = _y11._8Z;
- _p91._591 = _x11._aZ;
- _p91._691 = _y11._aZ;
- _p91._a91 = _H3;
- _p91._oT = _oT;
- _p91._891.__M();
- _p91._X81.__M();
- this._i91[_H3] = _p91;
- var _k41 = this._h91[_H3] || new __81();
- _k41._TR = _x11._LY;
- _k41._UR = _y11._LY;
- _k41._191 = _x11._8Z;
- _k41._291 = _y11._8Z;
- _k41._391._f3 = _x11._UY._QN._f3;
- _k41._391._g3 = _x11._UY._QN._g3;
- _k41._491._f3 = _y11._UY._QN._f3;
- _k41._491._g3 = _y11._UY._QN._g3;
- _k41._591 = _x11._aZ;
- _k41._691 = _y11._aZ;
- _k41._nT._f3 = _pT._nT._f3;
- _k41._nT._g3 = _pT._nT._g3;
- _k41._iT._f3 = _pT._iT._f3;
- _k41._iT._g3 = _pT._iT._g3;
- _k41._oT = _oT;
- _k41._BT = _BT;
- _k41._DT = _DT;
- _k41.type = _pT.type;
- this._h91[_H3] = _k41;
- for (var __9 = 0; __9 < _oT; ++__9) {
- var _mV = _pT._e3[__9];
- var _q91 = _p91._e3[__9];
- if (this._h71._C01) {
- _q91._jT = this._h71._z01 * _mV._jT;
- _q91._kT = this._h71._z01 * _mV._kT
- } else {
- _q91._jT = 0.0;
- _q91._kT = 0.0
- }
- _q91._8T.__M();
- _q91._9T.__M();
- _q91._X81 = 0.0;
- _q91._Y81 = 0.0;
- _q91._Z81 = 0.0;
- _k41._091[__9] = _mV._iT
- }
- }
- },
- _r91: function() {
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _p91 = this._i91[_H3];
- var _k41 = this._h91[_H3];
- var _BT = _k41._BT;
- var _DT = _k41._DT;
- var _pT = this._o91[_p91._a91]._h81();
- var _TR = _p91._TR;
- var _UR = _p91._UR;
- var _s91 = _p91._191;
- var _t91 = _p91._291;
- var _wX = _p91._591;
- var _xX = _p91._691;
- var _391 = _k41._391;
- var _491 = _k41._491;
- var _J11 = this._m91[_TR]._I3;
- var _u91 = this._m91[_TR]._kb;
- var _v91 = this._n91[_TR]._xb;
- var _5S = this._n91[_TR]._J3;
- var _L11 = this._m91[_UR]._I3;
- var _w91 = this._m91[_UR]._kb;
- var _x91 = this._n91[_UR]._xb;
- var _6S = this._n91[_UR]._J3;
- _9M(_pT._oT > 0);
- _g91._j91._fu._gi(_u91);
- _g91._k91._fu._gi(_w91);
- _g91._j91._mv._f3 = _J11._f3 - (_g91._j91._fu._I3 * _391._f3 - _g91._j91._fu._9q * _391._g3);
- _g91._j91._mv._g3 = _J11._g3 - (_g91._j91._fu._9q * _391._f3 + _g91._j91._fu._I3 * _391._g3);
- _g91._k91._mv._f3 = _L11._f3 - (_g91._k91._fu._I3 * _491._f3 - _g91._k91._fu._9q * _491._g3);
- _g91._k91._mv._g3 = _L11._g3 - (_g91._k91._fu._9q * _491._f3 + _g91._k91._fu._I3 * _491._g3);
- var _j81 = new _xT();
- _j81._zT(_pT, _g91._j91, _BT, _g91._k91, _DT);
- _p91._vP._f3 = _j81._vP._f3;
- _p91._vP._g3 = _j81._vP._g3;
- var _oT = _p91._oT;
- for (var __9 = 0; __9 < _oT; ++__9) {
- var _q91 = _p91._e3[__9];
- _q91._8T._f3 = _j81._e3[__9]._f3 - _J11._f3;
- _q91._8T._g3 = _j81._e3[__9]._g3 - _J11._g3;
- _q91._9T._f3 = _j81._e3[__9]._f3 - _L11._f3;
- _q91._9T._g3 = _j81._e3[__9]._g3 - _L11._g3;
- var _y91 = _q91._8T._f3 * _p91._vP._g3 - _q91._8T._g3 * _p91._vP._f3;
- var _z91 = _q91._9T._f3 * _p91._vP._g3 - _q91._9T._g3 * _p91._vP._f3;
- var _A91 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91;
- _q91._X81 = _A91 > 0.0 ? 1.0 / _A91: 0.0;
- var _bV = 1.0 * _p91._vP._g3;
- var _cV = -1.0 * _p91._vP._f3;
- var _B91 = _q91._8T._f3 * _cV - _q91._8T._g3 * _bV;
- var _C91 = _q91._9T._f3 * _cV - _q91._9T._g3 * _bV;
- var _D91 = _s91 + _t91 + _wX * _B91 * _B91 + _xX * _C91 * _C91;
- _q91._Y81 = _D91 > 0.0 ? 1.0 / _D91: 0.0;
- _q91._Z81 = 0.0;
- var _E91 = _p91._vP._f3 * (((_x91._f3 + ( - _6S * _q91._9T._g3)) - _v91._f3) - ( - _5S * _q91._8T._g3)) + _p91._vP._g3 * (((_x91._g3 + (_6S * _q91._9T._f3)) - _v91._g3) - (_5S * _q91._8T._f3));
- if (_E91 < -_oM) {
- _q91._Z81 = -_p91._M_ * _E91
- }
- }
- if (_p91._oT == 2) {
- var _F91 = _p91._e3[0];
- var _G91 = _p91._e3[1];
- var _H91 = _F91._8T._f3 * _p91._vP._g3 - _F91._8T._g3 * _p91._vP._f3;
- var _I91 = _F91._9T._f3 * _p91._vP._g3 - _F91._9T._g3 * _p91._vP._f3;
- var _J91 = _G91._8T._f3 * _p91._vP._g3 - _G91._8T._g3 * _p91._vP._f3;
- var _K91 = _G91._9T._f3 * _p91._vP._g3 - _G91._9T._g3 * _p91._vP._f3;
- var _L91 = _s91 + _t91 + _wX * _H91 * _H91 + _xX * _I91 * _I91;
- var _M91 = _s91 + _t91 + _wX * _J91 * _J91 + _xX * _K91 * _K91;
- var _N91 = _s91 + _t91 + _wX * _H91 * _J91 + _xX * _I91 * _K91;
- var _O91 = 1000.0;
- if (_L91 * _L91 < _O91 * (_L91 * _M91 - _N91 * _N91)) {
- _p91._891._yF._f3 = _L91;
- _p91._891._yF._g3 = _N91;
- _p91._891._mN._f3 = _N91;
- _p91._891._mN._g3 = _M91;
- _p91._X81._2N(_p91._891._oN())
- } else {
- _p91._oT = 1
- }
- }
- }
- },
- _P91: function() {
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _p91 = this._i91[_H3];
- var _TR = _p91._TR;
- var _UR = _p91._UR;
- var _s91 = _p91._191;
- var _wX = _p91._591;
- var _t91 = _p91._291;
- var _xX = _p91._691;
- var _oT = _p91._oT;
- var _v91 = this._n91[_TR]._xb;
- var _5S = this._n91[_TR]._J3;
- var _x91 = this._n91[_UR]._xb;
- var _6S = this._n91[_UR]._J3;
- var _vP = _p91._vP;
- var _bV = 1.0 * _vP._g3;
- var _cV = -1.0 * _vP._f3;
- for (var __9 = 0; __9 < _oT; ++__9) {
- var _q91 = _p91._e3[__9];
- var _AV = (_q91._jT * _vP._f3) + (_q91._kT * _bV);
- var _BV = (_q91._jT * _vP._g3) + (_q91._kT * _cV);
- _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV);
- _v91._f3 -= _s91 * _AV;
- _v91._g3 -= _s91 * _BV;
- _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV);
- _x91._f3 += _t91 * _AV;
- _x91._g3 += _t91 * _BV
- }
- this._n91[_TR]._J3 = _5S;
- this._n91[_UR]._J3 = _6S
- }
- },
- _Q91: function() {
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _p91 = this._i91[_H3];
- var _TR = _p91._TR;
- var _UR = _p91._UR;
- var _s91 = _p91._191;
- var _wX = _p91._591;
- var _t91 = _p91._291;
- var _xX = _p91._691;
- var _oT = _p91._oT;
- var _v91 = this._n91[_TR]._xb;
- var _5S = this._n91[_TR]._J3;
- var _x91 = this._n91[_UR]._xb;
- var _6S = this._n91[_UR]._J3;
- var _vP = _p91._vP;
- var _bV = 1.0 * _vP._g3;
- var _cV = -1.0 * _vP._f3;
- var _L_ = _p91._L_;
- _9M(_oT == 1 || _oT == 2);
- for (var __9 = 0; __9 < _oT; ++__9) {
- var _q91 = _p91._e3[__9];
- var _R91 = _x91._f3 + ( - _6S * _q91._9T._g3) - _v91._f3 - ( - _5S * _q91._8T._g3);
- var _S91 = _x91._g3 + (_6S * _q91._9T._f3) - _v91._g3 - (_5S * _q91._8T._f3);
- var _T91 = (_R91 * _bV + _S91 * _cV) - _p91._991;
- var _U91 = _q91._Y81 * ( - _T91);
- var _V91 = _L_ * _q91._jT;
- var _W91 = _uO(_q91._kT + _U91, -_V91, _V91);
- _U91 = _W91 - _q91._kT;
- _q91._kT = _W91;
- var _AV = _U91 * _bV;
- var _BV = _U91 * _cV;
- _v91._f3 -= _s91 * _AV;
- _v91._g3 -= _s91 * _BV;
- _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV);
- _x91._f3 += _t91 * _AV;
- _x91._g3 += _t91 * _BV;
- _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV)
- }
- if (_p91._oT == 1) {
- _q91 = _p91._e3[0];
- _R91 = _x91._f3 + ( - _6S * _q91._9T._g3) - _v91._f3 - ( - _5S * _q91._8T._g3);
- _S91 = _x91._g3 + (_6S * _q91._9T._f3) - _v91._g3 - (_5S * _q91._8T._f3);
- var _m71 = _R91 * _vP._f3 + _S91 * _vP._g3;
- var _U91 = -_q91._X81 * (_m71 - _q91._Z81);
- var _W91 = _sO(_q91._jT + _U91, 0.0);
- _U91 = _W91 - _q91._jT;
- _q91._jT = _W91;
- _AV = _U91 * _vP._f3;
- _BV = _U91 * _vP._g3;
- _v91._f3 -= _s91 * _AV;
- _v91._g3 -= _s91 * _BV;
- _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV);
- _x91._f3 += _t91 * _AV;
- _x91._g3 += _t91 * _BV;
- _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV)
- } else {
- var _X91 = _p91._e3[0];
- var _Y91 = _p91._e3[1];
- var _841 = _X91._jT;
- var _941 = _Y91._jT;
- _9M(_841 >= 0.0 && _941 >= 0.0);
- var _Z91 = _x91._f3 + ( - _6S * _X91._9T._g3) - _v91._f3 - ( - _5S * _X91._8T._g3);
- var __91 = _x91._g3 + (_6S * _X91._9T._f3) - _v91._g3 - (_5S * _X91._8T._f3);
- var _0a1 = _x91._f3 + ( - _6S * _Y91._9T._g3) - _v91._f3 - ( - _5S * _Y91._8T._g3);
- var _1a1 = _x91._g3 + (_6S * _Y91._9T._f3) - _v91._g3 - (_5S * _Y91._8T._f3);
- var _2a1 = _Z91 * _vP._f3 + __91 * _vP._g3;
- var _3a1 = _0a1 * _vP._f3 + _1a1 * _vP._g3;
- var _a41 = _2a1 - _X91._Z81;
- var _b41 = _3a1 - _Y91._Z81;
- _a41 -= _p91._891._yF._f3 * _841 + _p91._891._mN._f3 * _941;
- _b41 -= _p91._891._yF._g3 * _841 + _p91._891._mN._g3 * _941;
- for (;;) {
- var _0a = -(_p91._X81._yF._f3 * _a41 + _p91._X81._mN._f3 * _b41);
- var _4a1 = -(_p91._X81._yF._g3 * _a41 + _p91._X81._mN._g3 * _b41);
- if (_0a >= 0.0 && _4a1 >= 0.0) {
- var _Yb = _0a - _841;
- var _Zb = _4a1 - _941;
- var _5a1 = _Yb * _vP._f3;
- var _6a1 = _Yb * _vP._g3;
- var _7a1 = _Zb * _vP._f3;
- var _8a1 = _Zb * _vP._g3;
- _v91._f3 -= _s91 * (_5a1 + _7a1);
- _v91._g3 -= _s91 * (_6a1 + _8a1);
- _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1));
- _x91._f3 += _t91 * (_5a1 + _7a1);
- _x91._g3 += _t91 * (_6a1 + _8a1);
- _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1));
- _X91._jT = _0a;
- _Y91._jT = _4a1;
- break
- }
- _0a = -_X91._X81 * _a41;
- _4a1 = 0.0;
- _2a1 = 0.0;
- _3a1 = _p91._891._yF._g3 * _0a + _b41;
- if (_0a >= 0.0 && _3a1 >= 0.0) {
- _Yb = _0a - _841;
- _Zb = _4a1 - _941;
- _5a1 = _Yb * _vP._f3;
- _6a1 = _Yb * _vP._g3;
- _7a1 = _Zb * _vP._f3;
- _8a1 = _Zb * _vP._g3;
- _v91._f3 -= _s91 * (_5a1 + _7a1);
- _v91._g3 -= _s91 * (_6a1 + _8a1);
- _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1));
- _x91._f3 += _t91 * (_5a1 + _7a1);
- _x91._g3 += _t91 * (_6a1 + _8a1);
- _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1));
- _X91._jT = _0a;
- _Y91._jT = _4a1;
- break
- }
- _0a = 0.0;
- _4a1 = -_Y91._X81 * _b41;
- _2a1 = _p91._891._mN._f3 * _4a1 + _a41;
- _3a1 = 0.0;
- if (_4a1 >= 0.0 && _2a1 >= 0.0) {
- _Yb = _0a - _841;
- _Zb = _4a1 - _941;
- _5a1 = _Yb * _vP._f3;
- _6a1 = _Yb * _vP._g3;
- _7a1 = _Zb * _vP._f3;
- _8a1 = _Zb * _vP._g3;
- _v91._f3 -= _s91 * (_5a1 + _7a1);
- _v91._g3 -= _s91 * (_6a1 + _8a1);
- _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1));
- _x91._f3 += _t91 * (_5a1 + _7a1);
- _x91._g3 += _t91 * (_6a1 + _8a1);
- _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1));
- _X91._jT = _0a;
- _Y91._jT = _4a1;
- break
- }
- _0a = 0.0;
- _4a1 = 0.0;
- _2a1 = _a41;
- _3a1 = _b41;
- if (_2a1 >= 0.0 && _3a1 >= 0.0) {
- _Yb = _0a - _841;
- _Zb = _4a1 - _941;
- _5a1 = _Yb * _vP._f3;
- _6a1 = _Yb * _vP._g3;
- _7a1 = _Zb * _vP._f3;
- _8a1 = _Zb * _vP._g3;
- _v91._f3 -= _s91 * (_5a1 + _7a1);
- _v91._g3 -= _s91 * (_6a1 + _8a1);
- _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1));
- _x91._f3 += _t91 * (_5a1 + _7a1);
- _x91._g3 += _t91 * (_6a1 + _8a1);
- _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1));
- _X91._jT = _0a;
- _Y91._jT = _4a1;
- break
- }
- break
- }
- }
- this._n91[_TR]._J3 = _5S;
- this._n91[_UR]._J3 = _6S
- }
- },
- _9a1: function() {
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _p91 = this._i91[_H3];
- var _pT = this._o91[_p91._a91]._h81();
- for (var __9 = 0; __9 < _p91._oT; ++__9) {
- _pT._e3[__9]._jT = _p91._e3[__9]._jT;
- _pT._e3[__9]._kT = _p91._e3[__9]._kT
- }
- }
- },
- _aa1: function() {
- var _ba1 = 0.0;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _k41 = this._h91[_H3];
- var _TR = _k41._TR;
- var _UR = _k41._UR;
- var _391 = _k41._391;
- var _s91 = _k41._191;
- var _wX = _k41._591;
- var _491 = _k41._491;
- var _t91 = _k41._291;
- var _xX = _k41._691;
- var _oT = _k41._oT;
- var _J11 = this._m91[_TR]._I3;
- var _u91 = this._m91[_TR]._kb;
- var _L11 = this._m91[_UR]._I3;
- var _w91 = this._m91[_UR]._kb;
- for (var __9 = 0; __9 < _oT; ++__9) {
- _g91._j91._fu._gi(_u91);
- _g91._k91._fu._gi(_w91);
- _g91._j91._mv._f3 = _J11._f3 - (_g91._j91._fu._I3 * _391._f3 - _g91._j91._fu._9q * _391._g3);
- _g91._j91._mv._g3 = _J11._g3 - (_g91._j91._fu._9q * _391._f3 + _g91._j91._fu._I3 * _391._g3);
- _g91._k91._mv._f3 = _L11._f3 - (_g91._k91._fu._I3 * _491._f3 - _g91._k91._fu._9q * _491._g3);
- _g91._k91._mv._g3 = _L11._g3 - (_g91._k91._fu._9q * _491._f3 + _g91._k91._fu._I3 * _491._g3);
- _g91._l91._zT(_k41, _g91._j91, _g91._k91, __9);
- var _vP = _g91._l91._vP;
- var _lT = _g91._l91._lT;
- var _nU = _g91._l91._nU;
- var _ca1 = _lT._f3 - _J11._f3;
- var _da1 = _lT._g3 - _J11._g3;
- var _ea1 = _lT._f3 - _L11._f3;
- var _fa1 = _lT._g3 - _L11._g3;
- _ba1 = _qO(_ba1, _nU);
- var _jO = _uO(_vM * (_nU + _jM), -_pM, 0.0);
- var _y91 = _ca1 * _vP._g3 - _da1 * _vP._f3;
- var _z91 = _ea1 * _vP._g3 - _fa1 * _vP._f3;
- var _891 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91;
- var _XZ = _891 > 0.0 ? -_jO / _891: 0.0;
- var _AV = _XZ * _vP._f3;
- var _BV = _XZ * _vP._g3;
- _J11._f3 -= _s91 * _AV;
- _J11._g3 -= _s91 * _BV;
- _u91 -= _wX * (_ca1 * _BV - _da1 * _AV);
- _L11._f3 += _t91 * _AV;
- _L11._g3 += _t91 * _BV;
- _w91 += _xX * (_ea1 * _BV - _fa1 * _AV)
- }
- this._m91[_TR]._kb = _u91;
- this._m91[_UR]._kb = _w91;
- }
- return _ba1 >= -3.0 * _jM
- },
- _ga1: function(_ha1, _ia1) {
- var _ba1 = 0.0;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- var _k41 = this._h91[_H3];
- var _TR = _k41._TR;
- var _UR = _k41._UR;
- var _391 = _k41._391;
- var _491 = _k41._491;
- var _oT = _k41._oT;
- var _s91 = 0.0;
- var _wX = 0.0;
- if (_TR == _ha1 || _TR == _ia1) {
- _s91 = _k41._191;
- _wX = _k41._591
- }
- var _t91 = 0.0;
- var _xX = 0.0;
- if (_UR == _ha1 || _UR == _ia1) {
- _t91 = _k41._291;
- _xX = _k41._691
- }
- var _J11 = this._m91[_TR]._I3;
- var _u91 = this._m91[_TR]._kb;
- var _L11 = this._m91[_UR]._I3;
- var _w91 = this._m91[_UR]._kb;
- for (var __9 = 0; __9 < _oT; ++__9) {
- _g91._j91._fu._gi(_u91);
- _g91._k91._fu._gi(_w91);
- _g91._j91._mv._2N(_ZM._6N(_J11, _dO(_g91._j91._fu, _391)));
- _g91._k91._mv._2N(_ZM._6N(_L11, _dO(_g91._k91._fu, _491)));
- _g91._l91._zT(_k41, _g91._j91, _g91._k91, __9);
- var _vP = _g91._l91._vP;
- var _lT = _g91._l91._lT;
- var _nU = _g91._l91._nU;
- var _8T = _ZM._6N(_lT, _J11);
- var _9T = _ZM._6N(_lT, _L11);
- _ba1 = _qO(_ba1, _nU);
- var _jO = _uO(_wM * (_nU + _jM), -_pM, 0.0);
- var _y91 = __N(_8T, _vP);
- var _z91 = __N(_9T, _vP);
- var _891 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91;
- var _XZ = _891 > 0.0 ? -_jO / _891: 0.0;
- var _qV = _ZM._Vo(_XZ, _vP);
- _J11._6N(_ZM._Vo(_s91, _qV));
- _u91 -= _wX * __N(_8T, _qV);
- _L11._Wh(_ZM._Vo(_t91, _qV));
- _w91 += _xX * __N(_9T, _qV)
- }
- this._m91[_TR]._kb = _u91;
- this._m91[_UR]._kb = _w91
- }
- return _ba1 >= -1.5 * _jM
- }
- };
- function _311() {
- this._p21 = [];
- this._o91 = [];
- this._ja1 = [];
- this._n91 = [];
- this._m91 = []
- }
- var _ka1 = _RL._2M("solve initialization", "solve");
- var _la1 = _RL._2M("warm starting", "solve initialization");
- var _ma1 = _RL._2M("solve velocities", "solve");
- var _na1 = _RL._2M("solve positions", "solve");
- _311._oa1 = new _F01();
- _311._pa1 = new _e91();
- _311._qa1 = new _g91();
- _311.prototype = {
- _zg: function() {
- this._S01 = 0;
- this._521 = 0;
- this._T01 = 0
- },
- _zT: function(_ra1, _sa1, _ta1, listener) {
- this._ua1 = listener;
- this._E21 = _ra1;
- this._F21 = _sa1;
- this._va1 = _ta1;
- this._S01 = 0;
- this._521 = 0;
- this._T01 = 0;
- this._p21.length = _ra1;
- this._o91.length = _sa1;
- this._ja1.length = _ta1;
- this._n91.length = _ra1;
- this._m91.length = _ra1
- },
- _rN: function(_ML, _N01, _DY) {
- _ka1.start();
- var _K3 = _ML._x01;
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _W9 = this._p21[_H3];
- this._m91[_H3]._I3._2N(_W9._UY._I3);
- var _kb = _W9._UY._kb;
- this._n91[_H3]._xb._2N(_W9._ZY);
- var _J3 = _W9.__Y;
- _W9._UY._RN._2N(_W9._UY._I3);
- _W9._UY._TN = _W9._UY._kb;
- if (_W9._hP == _xY._6Z) {
- this._n91[_H3]._xb._f3 += _K3 * ((_W9._2Z * _N01._f3) + (_W9._8Z * _W9._3Z._f3));
- this._n91[_H3]._xb._g3 += _K3 * ((_W9._2Z * _N01._g3) + (_W9._8Z * _W9._3Z._g3));
- _J3 += _K3 * _W9._aZ * _W9._4Z;
- this._n91[_H3]._xb._f3 *= 1.0 / (1.0 + _K3 * _W9._0Z);
- this._n91[_H3]._xb._g3 *= 1.0 / (1.0 + _K3 * _W9._0Z);
- _J3 *= 1.0 / (1.0 + _K3 * _W9._1Z)
- }
- this._m91[_H3]._kb = _kb;
- this._n91[_H3]._J3 = _J3
- }
- _311._oa1._ML = _ML;
- _311._oa1._G01 = this._m91;
- _311._oa1._H01 = this._n91;
- _311._pa1._ML = _ML;
- _311._pa1._f91 = this._o91;
- _311._pa1._Ea = this._521;
- _311._pa1._G01 = this._m91;
- _311._pa1._H01 = this._n91;
- _311._pa1._wa1 = this._xa1;
- _311._qa1._KE(_311._pa1);
- _311._qa1._r91();
- if (_ML._C01) {
- _la1.start();
- _311._qa1._P91();
- _la1.stop()
- }
- for (var _H3 = 0; _H3 < this._T01; ++_H3) {
- this._ja1[_H3]._ya1(_311._oa1)
- }
- _ka1.stop();
- _ma1.start();
- for (var _H3 = 0; _H3 < _ML._A01; ++_H3) {
- for (var __9 = 0; __9 < this._T01; ++__9) {
- this._ja1[__9]._Q91(_311._oa1)
- }
- _311._qa1._Q91()
- }
- _311._qa1._9a1();
- _ma1.stop();
- _na1.start();
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _I3 = this._m91[_H3]._I3;
- var _kb = this._m91[_H3]._kb;
- var _xb = this._n91[_H3]._xb;
- var _J3 = this._n91[_H3]._J3;
- var _za1 = _K3 * _xb._f3;
- var _Aa1 = _K3 * _xb._g3;
- var _Ba1 = _za1 * _za1 + _Aa1 * _Aa1;
- if (_Ba1 > _sM) {
- var _Ca1 = _rM / _WM(_Ba1);
- _xb._f3 *= _Ca1;
- _xb._g3 *= _Ca1
- }
- var _i5 = _K3 * _J3;
- if (_i5 * _i5 > _uM) {
- var _Ca1 = _tM / _nO(_i5);
- _J3 *= _Ca1
- }
- _I3._f3 += _K3 * _xb._f3;
- _I3._g3 += _K3 * _xb._g3;
- _kb += _K3 * _J3;
- this._m91[_H3]._kb = _kb;
- this._n91[_H3]._J3 = _J3
- }
- var _Da1 = !1;
- for (var _H3 = 0; _H3 < _ML._B01; ++_H3) {
- var _Ea1 = _311._qa1._aa1();
- var _Fa1 = !0;
- for (var __9 = 0; __9 < this._T01; ++__9) {
- var _Ga1 = this._ja1[__9]._aa1(_311._oa1);
- _Fa1 = _Fa1 && _Ga1
- }
- if (_Ea1 && _Fa1) {
- _Da1 = !0;
- break
- }
- }
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var body = this._p21[_H3];
- body._UY._I3._2N(this._m91[_H3]._I3);
- body._UY._kb = this._m91[_H3]._kb;
- body._ZY._2N(this._n91[_H3]._xb);
- body.__Y = this._n91[_H3]._J3;
- body._B_()
- }
- _na1.stop();
- this._Ha1(_311._qa1._i91);
- if (_DY) {
- var _Ia1 = _cM;
- var _Ja1 = _yM * _yM;
- var _Ka1 = _zM * _zM;
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _W9 = this._p21[_H3];
- if (_W9._jP() == _xY._yY) {
- continue
- }
- if ((_W9._MY & _xY._PY) == 0 || _W9.__Y * _W9.__Y > _Ka1 || _ZN(_W9._ZY, _W9._ZY) > _Ja1) {
- _W9._5Z = 0.0;
- _Ia1 = 0.0
- } else {
- _W9._5Z += _K3;
- _Ia1 = _qO(_Ia1, _W9._5Z)
- }
- }
- if (_Ia1 >= _xM && _Da1) {
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _W9 = this._p21[_H3];
- _W9._gD(!1)
- }
- }
- }
- },
- _D11: function(_G21, _ha1, _ia1) {
- _9M(_ha1 < this._S01);
- _9M(_ia1 < this._S01);
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _W9 = this._p21[_H3];
- this._m91[_H3]._I3._2N(_W9._UY._I3);
- this._m91[_H3]._kb = _W9._UY._kb;
- this._n91[_H3]._xb._2N(_W9._ZY);
- this._n91[_H3]._J3 = _W9.__Y
- }
- _311._pa1._f91 = this._o91;
- _311._pa1._Ea = this._521;
- _311._pa1._ML = _G21;
- _311._pa1._G01 = this._m91;
- _311._pa1._H01 = this._n91;
- _311._qa1._KE(_311._pa1);
- for (var _H3 = 0; _H3 < _G21._B01; ++_H3) {
- var _Ea1 = _311._qa1._ga1(_ha1, _ia1);
- if (_Ea1) {
- break
- }
- }
- this._p21[_ha1]._UY._RN._2N(this._m91[_ha1]._I3);
- this._p21[_ha1]._UY._TN = this._m91[_ha1]._kb;
- this._p21[_ia1]._UY._RN._2N(this._m91[_ia1]._I3);
- this._p21[_ia1]._UY._TN = this._m91[_ia1]._kb;
- _311._qa1._r91();
- for (var _H3 = 0; _H3 < _G21._A01; ++_H3) {
- _311._qa1._Q91()
- }
- var _K3 = _G21._x01;
- for (var _H3 = 0; _H3 < this._S01; ++_H3) {
- var _I3 = this._m91[_H3]._I3;
- var _kb = this._m91[_H3]._kb;
- var _xb = this._n91[_H3]._xb;
- var _J3 = this._n91[_H3]._J3;
- var _La1 = _ZM._Vo(_K3, _xb);
- if (_ZN(_La1, _La1) > _sM) {
- var _Ca1 = _rM / _La1._7N();
- _xb._Vo(_Ca1)
- }
- var _i5 = _K3 * _J3;
- if (_i5 * _i5 > _uM) {
- var _Ca1 = _tM / _nO(_i5);
- _J3 *= _Ca1
- }
- _I3._Wh(_ZM._Vo(_K3, _xb));
- _kb += _K3 * _J3;
- this._m91[_H3]._kb = _kb;
- this._n91[_H3]._J3 = _J3;
- var body = this._p21[_H3];
- body._UY._I3._2N(_I3);
- body._UY._kb = _kb;
- body._ZY._2N(_xb);
- body.__Y = _J3;
- body._B_()
- }
- this._Ha1(_311._qa1._i91)
- },
- _g21: function(body) {
- _9M(this._S01 < this._E21);
- body._LY = this._S01;
- this._p21[this._S01] = body;
- if (!this._m91[this._S01]) {
- this._m91[this._S01] = new _D01();
- this._n91[this._S01] = new _E01()
- }++this._S01
- },
- _n21: function(_BZ) {
- _9M(this._521 < this._F21);
- this._o91[this._521++] = _BZ;
- },
- _o21: function(_E_) {
- _9M(this._T01 < this._va1);
- this._ja1[this._T01++] = _E_
- },
- _Ha1: function(_Ma1) {
- if (this._ua1 == null) {
- return
- }
- for (var _H3 = 0; _H3 < this._521; ++_H3) {
- var _I3 = this._o91[_H3];
- var _p91 = _Ma1[_H3];
- var _XZ = new _j01();
- _XZ._Ea = _p91._oT;
- for (var __9 = 0; __9 < _p91._oT; ++__9) {
- _XZ._k01[__9] = _p91._e3[__9]._jT;
- _XZ._l01[__9] = _p91._e3[__9]._kT
- }
- this._ua1._r01(_I3, _XZ)
- }
- }
- };
- function _Na1() {
- this._Oa1 = new _ZM();
- this._Pa1 = 0;
- this._Qa1 = 0
- };
- function _Ra1() {
- this._0U = null;
- this._E_ = null;
- this._u11 = null;
- this._ni = null
- };
- function _Sa1() {
- this.type = _r11._Ta1;
- this._dR = null;
- this._x11 = null;
- this._y11 = null;
- this._z11 = !1
- };
- _Sa1.prototype = {
- _fN: function(data, _D21, _Ua1) {
- this._x11 = _D21[data['bodyA']];
- this._y11 = _D21[data['bodyB']];
- this._z11 = data['collideConnected']
- }
- };
- function _r11(_kZ) {
- _9M(_kZ._x11 != _kZ._y11);
- this._hP = _kZ.type;
- this._XY = null;
- this._YY = null;
- this._v11 = _kZ._x11;
- this._t11 = _kZ._y11;
- this._Ir = 0;
- this._F_ = _kZ._z11;
- this._c21 = !1;
- this._bZ = _kZ._dR;
- this._s11 = new _Ra1();
- this._s11._E_ = null;
- this._s11._0U = null;
- this._s11._u11 = null;
- this._s11._ni = null;
- this._w11 = new _Ra1();
- this._w11._E_ = null;
- this._w11._0U = null;
- this._w11._u11 = null;
- this._w11._ni = null
- }
- _r11.prototype = {
- _jP: function() {
- return this._hP
- },
- _H21: function() {
- return this._v11
- },
- _I21: function() {
- return this._t11
- },
- _J21: function() {},
- _K21: function() {},
- _Va1: function(_y01) {},
- _Wa1: function(_y01) {},
- _y_: function() {
- return this._YY
- },
- _mR: function() {
- return this._bZ
- },
- _z_: function(data) {
- this._bZ = data
- },
- _s_: function() {
- return this._v11._s_() && this._t11._s_()
- },
- _Xa1: function() {
- return this._F_;
- },
- _IR: function(_JR) {},
- _ya1: function(data) {},
- _Q91: function(data) {},
- _aa1: function(data) {},
- _dN: function(_eN) {
- var _xr = _eN || {};
- _xr['bodyA'] = null;
- _xr['bodyB'] = null;
- _xr['type'] = this._hP;
- _xr['collideConnected'] = this._F_;
- return _xr
- }
- };
- _r11._Ya1 = 0;
- _r11._Za1 = 1;
- _r11.__a1 = 2;
- _r11._0b1 = 3;
- _r11._Ta1 = 0;
- _r11._1b1 = 1;
- _r11._2b1 = 2;
- _r11._L21 = 3;
- _r11._M21 = 4;
- _r11._Q21 = 5;
- _r11._3b1 = 6;
- _r11._4b1 = 7;
- _r11._5b1 = 8;
- _r11._6b1 = 9;
- _r11._7b1 = 10;
- _r11._R21 = 11;
- _r11._pZ = function(_kZ) {
- var _E_ = null;
- switch (_kZ.type) {
- case _r11._L21:
- _E_ = new _8b1(_kZ);
- break;
- case _r11._Q21:
- _E_ = new _9b1(_kZ);
- break;
- case _r11._2b1:
- _E_ = new _ab1(_kZ);
- break;
- case _r11._1b1:
- _E_ = new _bb1(_kZ);
- break;
- case _r11._M21:
- _E_ = new _cb1(_kZ);
- break;
- case _r11._3b1:
- _E_ = new _db1(_kZ);
- break;
- case _r11._4b1:
- _E_ = new _eb1(_kZ);
- break;
- case _r11._5b1:
- _E_ = new _fb1(_kZ);
- break;
- case _r11._6b1:
- _E_ = new _gb1(_kZ);
- break;
- case _r11._7b1:
- _E_ = new _hb1(_kZ);
- break;
- case _r11._R21:
- _E_ = new _ib1(_kZ);
- break;
- default:
- _9M(!1);
- break
- }
- return _E_
- };
- _r11._GZ = function(_E_) {};
- function _jb1() {
- this.parent.call(this);
- this.type = _r11._1b1;
- this._kb1 = new _ZM();
- this._lb1 = new _ZM();
- this._mb1 = 0.0;
- this._nb1 = 0.0;
- this._ob1 = 0.0;
- this._pb1 = 0.0;
- this._qb1 = 0.0;
- this._rb1 = !1;
- this._sb1 = !1;
- Object.seal(this)
- }
- _jb1.prototype = {
- _zT: function(_w21, _x21, anchor) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._kb1 = this._x11._5_(anchor);
- this._lb1 = this._y11._5_(anchor);
- this._mb1 = this._y11._KN() - this._x11._KN()
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._mb1 = data['referenceAngle'];
- this._nb1 = data['lowerAngle'];
- this._ob1 = data['upperAngle'];
- this._pb1 = data['maxMotorTorque'];
- this._qb1 = data['motorSpeed'];
- this._rb1 = data['enableLimit'];
- this._sb1 = data['enableMotor']
- }
- };
- _jb1._EL(_Sa1);
- function _bb1(_kZ) {
- this.parent.call(this, _kZ);
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._vb1 = _kZ._mb1;
- this._wb1 = new _hN();
- this._xb1 = 0.0;
- this._yb1 = _kZ._nb1;
- this._zb1 = _kZ._ob1;
- this._Ab1 = _kZ._pb1;
- this._Bb1 = _kZ._qb1;
- this._Cb1 = _kZ._rb1;
- this._Db1 = _kZ._sb1;
- this._Eb1 = _r11._Ya1;
- this._e81 = 0;
- this._f81 = 0;
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._7Z = new _wN();
- this._Nb1 = 0
- }
- _bb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _Qb1: function() {
- return this._vb1
- },
- _Rb1: function() {
- var _w21 = this._v11;
- var _x21 = this._t11;
- return _x21._UY._kb - _w21._UY._kb - this._vb1
- },
- _Sb1: function() {
- var _w21 = this._v11;
- var _x21 = this._t11;
- return _x21.__Y - _w21.__Y
- },
- _Tb1: function() {
- return this._Cb1
- },
- _Ub1: function(_m_) {
- if (_m_ != this._Cb1) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Cb1 = _m_;
- this._wb1._Cc = 0.0
- }
- },
- _Vb1: function() {
- return this._yb1
- },
- _Wb1: function() {
- return this._zb1
- },
- _Xb1: function(_Sz, _zQ) {
- _9M(_Sz <= _zQ);
- if (_Sz != this._yb1 || _zQ != this._zb1) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._wb1._Cc = 0.0;
- this._yb1 = _Sz;
- this._zb1 = _zQ
- }
- },
- _Yb1: function() {
- return this._Db1
- },
- _Zb1: function(_m_) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Db1 = _m_
- },
- __b1: function(_h3) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Bb1 = _h3
- },
- _0c1: function() {
- return this._Bb1
- },
- _1c1: function(_VZ) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Ab1 = _VZ
- },
- _2c1: function() {
- return this._Ab1
- },
- _Va1: function(_y01) {
- var _qV = new _ZM(this._wb1._f3, this._wb1._g3);
- return _ZM._Vo(_y01, _qV)
- },
- _Wa1: function(_y01) {
- return _y01 * this._wb1._Cc
- },
- _3c1: function(_y01) {
- return _y01 * this._xb1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1 = this._v11._UY._QN;
- this._Ib1 = this._t11._UY._QN;
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _FY = (_wX + _xX == 0.0);
- this._7Z._yF._f3 = _s91 + _t91 + this._Fb1._g3 * this._Fb1._g3 * _wX + this._Gb1._g3 * this._Gb1._g3 * _xX;
- this._7Z._mN._f3 = -this._Fb1._g3 * this._Fb1._f3 * _wX - this._Gb1._g3 * this._Gb1._f3 * _xX;
- this._7Z._yN._f3 = -this._Fb1._g3 * _wX - this._Gb1._g3 * _xX;
- this._7Z._yF._g3 = this._7Z._mN._f3;
- this._7Z._mN._g3 = _s91 + _t91 + this._Fb1._f3 * this._Fb1._f3 * _wX + this._Gb1._f3 * this._Gb1._f3 * _xX;
- this._7Z._yN._g3 = this._Fb1._f3 * _wX + this._Gb1._f3 * _xX;
- this._7Z._yF._Cc = this._7Z._yN._f3;
- this._7Z._mN._Cc = this._7Z._yN._g3;
- this._7Z._yN._Cc = _wX + _xX;
- this._Nb1 = _wX + _xX;
- if (this._Nb1 > 0.0) {
- this._Nb1 = 1.0 / this._Nb1
- }
- if (this._Db1 == !1 || _FY) {
- this._xb1 = 0.0
- }
- if (this._Cb1 && _FY == !1) {
- var _6c1 = _w91 - _u91 - this._vb1;
- if (_nO(this._zb1 - this._yb1) < 2.0 * _kM) {
- this._Eb1 = _r11._0b1
- } else if (_6c1 <= this._yb1) {
- if (this._Eb1 != _r11._Za1) {
- this._wb1._Cc = 0.0
- }
- this._Eb1 = _r11._Za1
- } else if (_6c1 >= this._zb1) {
- if (this._Eb1 != _r11.__a1) {
- this._wb1._Cc = 0.0
- }
- this._Eb1 = _r11.__a1
- } else {
- this._Eb1 = _r11._Ya1;
- this._wb1._Cc = 0.0
- }
- } else {
- this._Eb1 = _r11._Ya1
- }
- if (data._ML._C01) {
- this._wb1._Vo(data._ML._z01);
- this._xb1 *= data._ML._z01;
- var _qV = new _ZM(this._wb1._f3, this._wb1._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + this._xb1 + this._wb1._Cc);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + this._xb1 + this._wb1._Cc)
- } else {
- this._wb1.__M();
- this._xb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _FY = (_wX + _xX == 0.0);
- if (this._Db1 && this._Eb1 != _r11._0b1 && _FY == !1) {
- var _7c1 = _6S - _5S - this._Bb1;
- var _XZ = -this._Nb1 * _7c1;
- var _8c1 = this._xb1;
- var _9c1 = data._ML._x01 * this._Ab1;
- this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1);
- _XZ = this._xb1 - _8c1;
- _5S -= _wX * _XZ;
- _6S += _xX * _XZ
- }
- if (this._Cb1 && this._Eb1 != _r11._Ya1 && _FY == !1) {
- var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1));
- var _bc1 = _6S - _5S;
- var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1);
- var _XZ = this._7Z._zN(_7c1)._3N();
- if (this._Eb1 == _r11._0b1) {
- this._wb1._Wh(_XZ)
- } else if (this._Eb1 == _r11._Za1) {
- var _W91 = this._wb1._Cc + _XZ._Cc;
- if (_W91 < 0.0) {
- var _cc1 = _ZM._Wh(_ac1._3N(), _ZM._Vo(this._wb1._Cc, new _ZM(this._7Z._yN._f3, this._7Z._yN._g3)));
- var _dc1 = this._7Z._CN(_cc1);
- _XZ._f3 = _dc1._f3;
- _XZ._g3 = _dc1._g3;
- _XZ._Cc = -this._wb1._Cc;
- this._wb1._f3 += _dc1._f3;
- this._wb1._g3 += _dc1._g3;
- this._wb1._Cc = 0.0
- } else {
- this._wb1._Wh(_XZ)
- }
- } else if (this._Eb1 == _r11.__a1) {
- var _W91 = this._wb1._Cc + _XZ._Cc;
- if (_W91 > 0.0) {
- var _cc1 = _ZM._Wh(_ac1._3N(), _ZM._Vo(this._wb1._Cc, new _ZM(this._7Z._yN._f3, this._7Z._yN._g3)));
- var _dc1 = this._7Z._CN(_cc1);
- _XZ._f3 = _dc1._f3;
- _XZ._g3 = _dc1._g3;
- _XZ._Cc = -this._wb1._Cc;
- this._wb1._f3 += _dc1._f3;
- this._wb1._g3 += _dc1._g3;
- this._wb1._Cc = 0.0
- } else {
- this._wb1._Wh(_XZ)
- }
- }
- var _qV = new _ZM(_XZ._f3, _XZ._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + _XZ._Cc);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + _XZ._Cc)
- } else {
- var _7c1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1));
- var _XZ = this._7Z._CN(_7c1._3N());
- this._wb1._f3 += _XZ._f3;
- this._wb1._g3 += _XZ._g3;
- _v91._6N(_ZM._Vo(_s91, _XZ));
- _5S -= _wX * __N(this._Fb1, _XZ);
- _x91._Wh(_ZM._Vo(_t91, _XZ));
- _6S += _xX * __N(this._Gb1, _XZ)
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _ec1 = 0.0;
- var _fc1 = 0.0;
- var _FY = (this._Lb1 + this._Mb1 == 0.0);
- if (this._Cb1 && this._Eb1 != _r11._Ya1 && _FY == !1) {
- var _0b = _w91 - _u91 - this._vb1;
- var _gc1 = 0.0;
- if (this._Eb1 == _r11._0b1) {
- var _jO = _uO(_0b - this._yb1, -_qM, _qM);
- _gc1 = -this._Nb1 * _jO;
- _ec1 = _nO(_jO)
- } else if (this._Eb1 == _r11._Za1) {
- var _jO = _0b - this._yb1;
- _ec1 = -_jO;
- _jO = _uO(_jO + _kM, -_qM, 0.0);
- _gc1 = -this._Nb1 * _jO
- } else if (this._Eb1 == _r11.__a1) {
- var _jO = _0b - this._zb1;
- _ec1 = _jO;
- _jO = _uO(_jO - _kM, 0.0, _qM);
- _gc1 = -this._Nb1 * _jO
- }
- _u91 -= this._Lb1 * _gc1;
- _w91 += this._Mb1 * _gc1
- } {
- _4c1._gi(_u91);
- _5c1._gi(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _jO = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- _fc1 = _jO._7N();
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _891 = new _jN();
- _891._yF._f3 = _s91 + _t91 + _wX * _8T._g3 * _8T._g3 + _xX * _9T._g3 * _9T._g3;
- _891._yF._g3 = -_wX * _8T._f3 * _8T._g3 - _xX * _9T._f3 * _9T._g3;
- _891._mN._f3 = _891._yF._g3;
- _891._mN._g3 = _s91 + _t91 + _wX * _8T._f3 * _8T._f3 + _xX * _9T._f3 * _9T._f3;
- var _XZ = _891._rN(_jO)._3N();
- _J11._6N(_ZM._Vo(_s91, _XZ));
- _u91 -= _wX * __N(_8T, _XZ);
- _L11._Wh(_ZM._Vo(_t91, _XZ));
- _w91 += _xX * __N(_9T, _XZ)
- }
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _fc1 <= _jM && _ec1 <= _kM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['referenceAngle'] = this._vb1;
- _xr['lowerAngle'] = this._yb1;
- _xr['upperAngle'] = this._zb1;
- _xr['maxMotorTorque'] = this._Ab1;
- _xr['motorSpeed'] = this._Bb1;
- _xr['enableLimit'] = this._Cb1;
- _xr['enableMotor'] = this._Db1;
- return _xr
- }
- };
- _bb1._EL(_r11);
- function _hc1() {
- this.parent.call(this);
- this.type = _r11._Q21;
- this.target = new _ZM(0.0, 0.0);
- this._ic1 = 0.0;
- this._jc1 = 5.0;
- this._kc1 = 0.7;
- Object.seal(this)
- }
- _hc1._EL(_Sa1);
- function _9b1(_kZ) {
- this.parent.call(this, _kZ);
- _9M(_kZ.target._bN());
- _9M(_PM(_kZ._ic1) && _kZ._ic1 >= 0.0);
- _9M(_PM(_kZ._jc1) && _kZ._jc1 >= 0.0);
- _9M(_PM(_kZ._kc1) && _kZ._kc1 >= 0.0);
- this._lc1 = _kZ.target._u8();
- this._ub1 = _hO(this._t11._VN(), this._lc1);
- this._mc1 = _kZ._ic1;
- this._wb1 = new _ZM();
- this._nc1 = _kZ._jc1;
- this._oc1 = _kZ._kc1;
- this._pc1 = 0.0;
- this._qc1 = 0.0;
- this._e81 = 0;
- this._f81 = 0;
- this._Gb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Kb1 = 0;
- this._Mb1 = 0;
- this._7Z = new _jN();
- this._rc1 = new _ZM()
- }
- _9b1.prototype = {
- _J21: function() {
- return this._lc1
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- return _ZM._Vo(_y01, this._wb1)
- },
- _Wa1: function(_y01) {
- return _y01 * 0.0
- },
- _sc1: function(target) {
- if (this._t11._q_() == !1) {
- this._t11._gD(!0);
- }
- this._lc1._2N(target)
- },
- _tc1: function() {
- return this._lc1
- },
- _uc1: function(_RZ) {
- this._mc1 = _RZ
- },
- _vc1: function() {
- return this._mc1
- },
- _wc1: function(_xc1) {
- this._nc1 = _xc1
- },
- _yc1: function() {
- return this._nc1
- },
- _zc1: function(_Ca1) {
- this._oc1 = _Ca1
- },
- _Ac1: function() {
- return this._oc1
- },
- _IR: function(_JR) {
- this._lc1._6N(_JR)
- },
- _ya1: function(data) {
- this._f81 = this._t11._LY;
- this._Ib1._2N(this._t11._UY._QN);
- this._Kb1 = this._t11._8Z;
- this._Mb1 = this._t11._aZ;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _5c1 = new _JN(_w91);
- var _eP = this._t11._ZZ();
- var _Bc1 = 2.0 * _eM * this._nc1;
- var _mk = 2.0 * _eP * this._oc1 * _Bc1;
- var _eT = _eP * (_Bc1 * _Bc1);
- var _K3 = data._ML._x01;
- _9M(_mk + _K3 * _eT > _dM);
- this._qc1 = _K3 * (_mk + _K3 * _eT);
- if (this._qc1 != 0.0) {
- this._qc1 = 1.0 / this._qc1
- }
- this._pc1 = _K3 * _eT * this._qc1;
- this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1)));
- var _891 = new _jN();
- _891._yF._f3 = this._Kb1 + this._Mb1 * this._Gb1._g3 * this._Gb1._g3 + this._qc1;
- _891._yF._g3 = -this._Mb1 * this._Gb1._f3 * this._Gb1._g3;
- _891._mN._f3 = _891._yF._g3;
- _891._mN._g3 = this._Kb1 + this._Mb1 * this._Gb1._f3 * this._Gb1._f3 + this._qc1;
- this._7Z._2N(_891._oN());
- this._rc1._2N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), this._lc1));
- this._rc1._Vo(this._pc1);
- _6S *= 0.98;
- if (data._ML._C01) {
- this._wb1._Vo(data._ML._z01);
- _x91._Wh(_ZM._Vo(this._Kb1, this._wb1));
- _6S += this._Mb1 * __N(this._Gb1, this._wb1)
- } else {
- this._wb1.__M()
- }
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _7c1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1));
- var _XZ = _2O(this._7Z, (_ZM._Wh(_ZM._Wh(_7c1, this._rc1), _ZM._Vo(this._qc1, this._wb1)))._3N());
- var _8c1 = this._wb1._u8();
- this._wb1._Wh(_XZ);
- var _9c1 = data._ML._x01 * this._mc1;
- if (this._wb1._8N() > _9c1 * _9c1) {
- this._wb1._Vo(_9c1 / this._wb1._7N())
- }
- _XZ._2N(_ZM._6N(this._wb1, _8c1));
- _x91._Wh(_ZM._Vo(this._Kb1, _XZ));
- _6S += this._Mb1 * __N(this._Gb1, _XZ);
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- return ! 0
- }
- };
- _9b1._EL(_r11);
- function _Cc1() {
- this.parent.call(this);
- this.type = _r11._L21;
- this._kb1 = new _ZM(0.0, 0.0);
- this._lb1 = new _ZM(0.0, 0.0);
- this.length = 1.0;
- this._jc1 = 0.0;
- this._kc1 = 0.0;
- Object.seal(this)
- }
- _Cc1.prototype = {
- _zT: function(_gt, _ht, _Dc1, _Ec1) {
- this._x11 = _gt;
- this._y11 = _ht;
- this._kb1 = this._x11._5_(_Dc1);
- this._lb1 = this._y11._5_(_Ec1);
- var _mk = _ZM._6N(_Ec1, _Dc1);
- this.length = _mk._7N()
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this.length = data['length'];
- this._jc1 = data['frequencyHz'];
- this._kc1 = data['dampingRatio']
- }
- };
- _Cc1._EL(_Sa1);
- function _8b1(_kZ) {
- this.parent.call(this, _kZ);
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._Fc1 = _kZ.length;
- this._nc1 = _kZ._jc1;
- this._oc1 = _kZ._kc1;
- this._wb1 = 0.0;
- this._qc1 = 0.0;
- this._Gc1 = 0.0;
- this._e81 = 0;
- this._f81 = 0;
- this._Hc1 = new _ZM();
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._7Z = 0
- }
- _8b1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1);
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- var _BX = _ZM._Vo((_y01 * this._wb1), this._Hc1);
- return _BX
- },
- _Wa1: function(_y01) {
- return 0.0
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _Ic1: function(length) {
- this._Fc1 = length
- },
- _Jc1: function() {
- return this._Fc1
- },
- _wc1: function(_xc1) {
- this._nc1 = _xc1
- },
- _yc1: function() {
- return this._nc1
- },
- _zc1: function(_Ca1) {
- this._oc1 = _Ca1
- },
- _Ac1: function() {
- return this._oc1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- this._Hc1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), _J11), this._Fb1);
- var length = this._Hc1._7N();
- if (length > _jM) {
- this._Hc1._Vo(1.0 / length)
- } else {
- this._Hc1._gi(0.0, 0.0)
- }
- var _Kc1 = __N(this._Fb1, this._Hc1);
- var _Lc1 = __N(this._Gb1, this._Hc1);
- var _Mc1 = this._Jb1 + this._Lb1 * _Kc1 * _Kc1 + this._Kb1 + this._Mb1 * _Lc1 * _Lc1;
- this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0;
- if (this._nc1 > 0.0) {
- var _jO = length - this._Fc1;
- var _Bc1 = 2.0 * _eM * this._nc1;
- var _mk = 2.0 * this._7Z * this._oc1 * _Bc1;
- var _eT = this._7Z * _Bc1 * _Bc1;
- var _K3 = data._ML._x01;
- this._qc1 = _K3 * (_mk + _K3 * _eT);
- this._qc1 = this._qc1 != 0.0 ? 1.0 / this._qc1: 0.0;
- this._Gc1 = _jO * _K3 * _eT * this._qc1;
- _Mc1 += this._qc1;
- this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0
- } else {
- this._qc1 = 0.0;
- this._Gc1 = 0.0
- }
- if (data._ML._C01) {
- this._wb1 *= data._ML._z01;
- var _qV = _ZM._Vo(this._wb1, this._Hc1);
- _v91._6N(_ZM._Vo(this._Jb1, _qV));
- _5S -= this._Lb1 * __N(this._Fb1, _qV);
- _x91._Wh(_ZM._Vo(this._Kb1, _qV));
- _6S += this._Mb1 * __N(this._Gb1, _qV)
- } else {
- this._wb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1));
- var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1));
- var _7c1 = _ZN(this._Hc1, _ZM._6N(_Oc1, _Nc1));
- var _XZ = -this._7Z * (_7c1 + this._Gc1 + this._qc1 * this._wb1);
- this._wb1 += _XZ;
- var _qV = _ZM._Vo(_XZ, this._Hc1);
- _v91._6N(_ZM._Vo(this._Jb1, _qV));
- _5S -= this._Lb1 * __N(this._Fb1, _qV);
- _x91._Wh(_ZM._Vo(this._Kb1, _qV));
- _6S += this._Mb1 * __N(this._Gb1, _qV);
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- if (this._nc1 > 0.0) {
- return ! 0
- }
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _vb = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- var length = _vb._9N();
- var _jO = length - this._Fc1;
- _jO = _uO(_jO, -_pM, _pM);
- var _XZ = -this._7Z * _jO;
- var _qV = _ZM._Vo(_XZ, _vb);
- _J11._6N(_ZM._Vo(this._Jb1, _qV));
- _u91 -= this._Lb1 * __N(_8T, _qV);
- _L11._Wh(_ZM._Vo(this._Kb1, _qV));
- _w91 += this._Mb1 * __N(_9T, _qV);
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _nO(_jO) < _jM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['length'] = this._Fc1;
- _xr['frequencyHz'] = this._nc1;
- _xr['dampingRatio'] = this._oc1;
- return _xr
- }
- };
- _8b1._EL(_r11);
- function _Pc1() {
- this.parent.call(this);
- this.type = _r11._2b1;
- this._kb1 = new _ZM();
- this._lb1 = new _ZM();
- this._Qc1 = new _ZM(1.0, 0.0);
- this._mb1 = 0.0;
- this._rb1 = !1;
- this._Rc1 = 0.0;
- this._Sc1 = 0.0;
- this._sb1 = !1;
- this._Tc1 = 0.0;
- this._qb1 = 0.0;
- Object.seal(this)
- }
- _Pc1.prototype = {
- _zT: function(_w21, _x21, anchor, _RO) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._kb1 = this._x11._5_(anchor);
- this._lb1 = this._y11._5_(anchor);
- this._Qc1 = this._x11._7_(_RO);
- this._mb1 = this._y11._KN() - this._x11._KN()
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._Qc1._fN(data['localAxisA']);
- this._mb1 = data['referenceAngle'];
- this._rb1 = data['enableLimit'];
- this._Rc1 = data['lowerTranslation'];
- this._Sc1 = data['upperTranslation'];
- this._sb1 = data['enableMotor'];
- this._Tc1 = data['maxMotorForce'];
- this._qb1 = data['motorSpeed']
- }
- };
- _Pc1._EL(_Sa1);
- function _ab1(_kZ) {
- this.parent.call(this, _kZ);
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._Uc1 = _kZ._Qc1._u8();
- this._Uc1._9N();
- this._Vc1 = _1O(1.0, this._Uc1);
- this._vb1 = _kZ._mb1;
- this._wb1 = new _hN();
- this._Nb1 = 0.0;
- this._xb1 = 0.0;
- this._Wc1 = _kZ._Rc1;
- this._Xc1 = _kZ._Sc1;
- this._Yc1 = _kZ._Tc1;
- this._Bb1 = _kZ._qb1;
- this._Cb1 = _kZ._rb1;
- this._Db1 = _kZ._sb1;
- this._Eb1 = _r11._Ya1;
- this._XX = new _ZM();
- this._Zc1 = new _ZM();
- this._e81 = 0;
- this._f81 = 0;
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this.__c1 = 0,
- this._0d1 = 0;
- this._1d1 = 0,
- this._2d1 = 0;
- this._3d1 = new _wN();
- this._Nb1 = 0
- }
- _ab1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- return _ZM._Vo(_y01, _ZM._Wh(_ZM._Vo(this._wb1._f3, this._Zc1), _ZM._Vo((this._xb1 + this._wb1._Cc), this._XX)))
- },
- _Wa1: function(_y01) {
- return _y01 * this._wb1._g3
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1;
- },
- _4d1: function() {
- return this._Uc1
- },
- _Qb1: function() {
- return this._vb1
- },
- _5d1: function() {
- var _mS = this._v11._2_(this._tb1);
- var _nS = this._t11._2_(this._ub1);
- var _mk = _ZM._6N(_nS, _mS);
- var _RO = this._v11._3_(this._Uc1);
- var _La1 = _ZN(_mk, _RO);
- return _La1
- },
- _Sb1: function() {
- var _w21 = this._v11;
- var _x21 = this._t11;
- var _8T = _dO(_w21._MV._fu, _ZM._6N(this._tb1, _w21._UY._QN));
- var _9T = _dO(_x21._MV._fu, _ZM._6N(this._ub1, _x21._UY._QN));
- var _TO = _ZM._Wh(_w21._UY._I3, _8T);
- var _UO = _ZM._Wh(_x21._UY._I3, _9T);
- var _mk = _ZM._6N(_UO, _TO);
- var _RO = _dO(_w21._MV._fu, this._Uc1);
- var _v91 = _w21._ZY;
- var _x91 = _x21._ZY;
- var _5S = _w21.__Y;
- var _6S = _x21.__Y;
- var _h3 = _ZN(_mk, _1O(_5S, _RO)) + _ZN(_RO, _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, _9T)), _v91), _1O(_5S, _8T)));
- return _h3
- },
- _Tb1: function() {
- return this._Cb1
- },
- _Ub1: function(_m_) {
- if (_m_ != this._Cb1) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Cb1 = _m_;
- this._wb1._Cc = 0.0
- }
- },
- _Vb1: function() {
- return this._Wc1
- },
- _Wb1: function() {
- return this._Xc1
- },
- _Xb1: function(_Sz, _zQ) {
- _9M(_Sz <= _zQ);
- if (_Sz != this._Wc1 || _zQ != this._Xc1) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Wc1 = _Sz;
- this._Xc1 = _zQ;
- this._wb1._Cc = 0.0
- }
- },
- _Yb1: function() {
- return this._Db1
- },
- _Zb1: function(_m_) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Db1 = _m_
- },
- __b1: function(_h3) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Bb1 = _h3
- },
- _0c1: function() {
- return this._Bb1
- },
- _6d1: function(_RZ) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Yc1 = _RZ
- },
- _7d1: function() {
- return this._Yc1
- },
- _8d1: function(_y01) {
- return _y01 * this._xb1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1 = this._v11._UY._QN;
- this._Ib1 = this._t11._UY._QN;
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _mk = _ZM._Wh(_ZM._6N(_L11, _J11), _ZM._6N(_9T, _8T));
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1; {
- this._XX = _dO(_4c1, this._Uc1);
- this._1d1 = __N(_ZM._Wh(_mk, _8T), this._XX);
- this._2d1 = __N(_9T, this._XX);
- this._Nb1 = _s91 + _t91 + _wX * this._1d1 * this._1d1 + _xX * this._2d1 * this._2d1;
- if (this._Nb1 > 0.0) {
- this._Nb1 = 1.0 / this._Nb1
- }
- } {
- this._Zc1 = _dO(_4c1, this._Vc1);
- this.__c1 = __N(_ZM._Wh(_mk, _8T), this._Zc1);
- this._0d1 = __N(_9T, this._Zc1);
- var _L91 = _s91 + _t91 + _wX * this.__c1 * this.__c1 + _xX * this._0d1 * this._0d1;
- var _N91 = _wX * this.__c1 + _xX * this._0d1;
- var _9d1 = _wX * this.__c1 * this._1d1 + _xX * this._0d1 * this._2d1;
- var _M91 = _wX + _xX;
- if (_M91 == 0.0) {
- _M91 = 1.0
- }
- var _ad1 = _wX * this._1d1 + _xX * this._2d1;
- var _bd1 = _s91 + _t91 + _wX * this._1d1 * this._1d1 + _xX * this._2d1 * this._2d1;
- this._3d1._yF._gi(_L91, _N91, _9d1);
- this._3d1._mN._gi(_N91, _M91, _ad1);
- this._3d1._yN._gi(_9d1, _ad1, _bd1)
- }
- if (this._Cb1) {
- var _cd1 = _ZN(this._XX, _mk);
- if (_nO(this._Xc1 - this._Wc1) < 2.0 * _jM) {
- this._Eb1 = _r11._0b1
- } else if (_cd1 <= this._Wc1) {
- if (this._Eb1 != _r11._Za1) {
- this._Eb1 = _r11._Za1;
- this._wb1._Cc = 0.0
- }
- } else if (_cd1 >= this._Xc1) {
- if (this._Eb1 != _r11.__a1) {
- this._Eb1 = _r11.__a1;
- this._wb1._Cc = 0.0
- }
- } else {
- this._Eb1 = _r11._Ya1;
- this._wb1._Cc = 0.0
- }
- } else {
- this._Eb1 = _r11._Ya1;
- this._wb1._Cc = 0.0
- }
- if (this._Db1 == !1) {
- this._xb1 = 0.0
- }
- if (data._ML._C01) {
- this._wb1._Vo(data._ML._z01);
- this._xb1 *= data._ML._z01;
- var _qV = _ZM._Wh(_ZM._Vo(this._wb1._f3, this._Zc1), _ZM._Vo((this._xb1 + this._wb1._Cc), this._XX));
- var _dd1 = this._wb1._f3 * this.__c1 + this._wb1._g3 + (this._xb1 + this._wb1._Cc) * this._1d1;
- var _ed1 = this._wb1._f3 * this._0d1 + this._wb1._g3 + (this._xb1 + this._wb1._Cc) * this._2d1;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- } else {
- this._wb1.__M();
- this._xb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- if (this._Db1 && this._Eb1 != _r11._0b1) {
- var _7c1 = _ZN(this._XX, _ZM._6N(_x91, _v91)) + this._2d1 * _6S - this._1d1 * _5S;
- var _XZ = this._Nb1 * (this._Bb1 - _7c1);
- var _8c1 = this._xb1;
- var _9c1 = data._ML._x01 * this._Yc1;
- this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1);
- _XZ = this._xb1 - _8c1;
- var _qV = _ZM._Vo(_XZ, this._XX);
- var _dd1 = _XZ * this._1d1;
- var _ed1 = _XZ * this._2d1;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- }
- var _ac1 = new _ZM();
- _ac1._f3 = _ZN(this._Zc1, _ZM._6N(_x91, _v91)) + this._0d1 * _6S - this.__c1 * _5S;
- _ac1._g3 = _6S - _5S;
- if (this._Cb1 && this._Eb1 != _r11._Ya1) {
- var _bc1;
- _bc1 = _ZN(this._XX, _ZM._6N(_x91, _v91)) + this._2d1 * _6S - this._1d1 * _5S;
- var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1);
- var _fd1 = this._wb1._u8();
- var _gd1 = this._3d1._zN(_7c1._3N());
- this._wb1._Wh(_gd1);
- if (this._Eb1 == _r11._Za1) {
- this._wb1._Cc = _sO(this._wb1._Cc, 0.0)
- } else if (this._Eb1 == _r11.__a1) {
- this._wb1._Cc = _qO(this._wb1._Cc, 0.0)
- }
- var _W9 = _ZM._6N(_ac1._3N(), _ZM._Vo((this._wb1._Cc - _fd1._Cc), new _ZM(this._3d1._yN._f3, this._3d1._yN._g3)));
- var _hd1 = _ZM._Wh(this._3d1._CN(_W9), new _ZM(_fd1._f3, _fd1._g3));
- this._wb1._f3 = _hd1._f3;
- this._wb1._g3 = _hd1._g3;
- _gd1 = _hN._6N(this._wb1, _fd1);
- var _qV = _ZM._Wh(_ZM._Vo(_gd1._f3, this._Zc1), _ZM._Vo(_gd1._Cc, this._XX));
- var _dd1 = _gd1._f3 * this.__c1 + _gd1._g3 + _gd1._Cc * this._1d1;
- var _ed1 = _gd1._f3 * this._0d1 + _gd1._g3 + _gd1._Cc * this._2d1;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- } else {
- var _gd1 = this._3d1._CN(_ac1._3N());
- this._wb1._f3 += _gd1._f3;
- this._wb1._g3 += _gd1._g3;
- var _qV = _ZM._Vo(_gd1._f3, this._Zc1);
- var _dd1 = _gd1._f3 * this.__c1 + _gd1._g3;
- var _ed1 = _gd1._f3 * this._0d1 + _gd1._g3;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _mk = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- var _RO = _dO(_4c1, this._Uc1);
- var _CH = __N(_ZM._Wh(_mk, _8T), _RO);
- var _DH = __N(_9T, _RO);
- var _id1 = _dO(_4c1, this._Vc1);
- var _lp = __N(_ZM._Wh(_mk, _8T), _id1);
- var _mp = __N(_9T, _id1);
- var _XZ = new _hN();
- var _jd1 = new _ZM();
- _jd1._f3 = _ZN(_id1, _mk);
- _jd1._g3 = _w91 - _u91 - this._vb1;
- var _kd1 = _nO(_jd1._f3);
- var _ec1 = _nO(_jd1._g3);
- var _HY = !1;
- var _ld1 = 0.0;
- if (this._Cb1) {
- var _La1 = _ZN(_RO, _mk);
- if (_nO(this._Xc1 - this._Wc1) < 2.0 * _jM) {
- _ld1 = _uO(_La1, -_pM, _pM);
- _kd1 = _sO(_kd1, _nO(_La1));
- _HY = !0;
- } else if (_La1 <= this._Wc1) {
- _ld1 = _uO(_La1 - this._Wc1 + _jM, -_pM, 0.0);
- _kd1 = _sO(_kd1, this._Wc1 - _La1);
- _HY = !0
- } else if (_La1 >= this._Xc1) {
- _ld1 = _uO(_La1 - this._Xc1 - _jM, 0.0, _pM);
- _kd1 = _sO(_kd1, _La1 - this._Xc1);
- _HY = !0
- }
- }
- if (_HY) {
- var _L91 = _s91 + _t91 + _wX * _lp * _lp + _xX * _mp * _mp;
- var _N91 = _wX * _lp + _xX * _mp;
- var _9d1 = _wX * _lp * _CH + _xX * _mp * _DH;
- var _M91 = _wX + _xX;
- if (_M91 == 0.0) {
- _M91 = 1.0
- }
- var _ad1 = _wX * _CH + _xX * _DH;
- var _bd1 = _s91 + _t91 + _wX * _CH * _CH + _xX * _DH * _DH;
- var _891 = new _wN();
- _891._yF._gi(_L91, _N91, _9d1);
- _891._mN._gi(_N91, _M91, _ad1);
- _891._yN._gi(_9d1, _ad1, _bd1);
- var _jO = new _hN();
- _jO._f3 = _jd1._f3;
- _jO._g3 = _jd1._g3;
- _jO._Cc = _ld1;
- _XZ = _891._zN(_jO._3N())
- } else {
- var _L91 = _s91 + _t91 + _wX * _lp * _lp + _xX * _mp * _mp;
- var _N91 = _wX * _lp + _xX * _mp;
- var _M91 = _wX + _xX;
- if (_M91 == 0.0) {
- _M91 = 1.0
- }
- var _891 = new _jN();
- _891._yF._gi(_L91, _N91);
- _891._mN._gi(_N91, _M91);
- var _md1 = _891._rN(_jd1._3N());
- _XZ._f3 = _md1._f3;
- _XZ._g3 = _md1._g3;
- _XZ._Cc = 0.0
- }
- var _qV = _ZM._Wh(_ZM._Vo(_XZ._f3, _id1), _ZM._Vo(_XZ._Cc, _RO));
- var _dd1 = _XZ._f3 * _lp + _XZ._g3 + _XZ._Cc * _CH;
- var _ed1 = _XZ._f3 * _mp + _XZ._g3 + _XZ._Cc * _DH;
- _J11._6N(_ZM._Vo(_s91, _qV));
- _u91 -= _wX * _dd1;
- _L11._Wh(_ZM._Vo(_t91, _qV));
- _w91 += _xX * _ed1;
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _kd1 <= _jM && _ec1 <= _kM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['localAxisA'] = this._Uc1._dN();
- _xr['referenceAngle'] = this._vb1;
- _xr['enableLimit'] = this._Cb1;
- _xr['lowerTranslation'] = this._Wc1;
- _xr['upperTranslation'] = this._Xc1;
- _xr['enableMotor'] = this._Db1;
- _xr['maxMotorForce'] = this._Yc1;
- _xr['motorSpeed'] = this._Bb1;
- return _xr
- }
- };
- _ab1._EL(_r11);
- function _nd1() {
- this.parent.call(this);
- this.type = _r11._6b1;
- this._kb1 = new _ZM();
- this._lb1 = new _ZM();
- this._ic1 = 0.0;
- this._od1 = 0.0;
- Object.seal(this)
- }
- _nd1.prototype = {
- _zT: function(_w21, _x21, anchor) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._kb1._2N(this._x11._5_(anchor));
- this._lb1._2N(this._y11._5_(anchor))
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._ic1 = data['maxForce'];
- this._od1 = data['maxTorque']
- }
- };
- _nd1._EL(_Sa1);
- function _gb1(_kZ) {
- this.parent.call(this, _kZ);
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._pd1 = new _ZM();
- this._qd1 = 0.0;
- this._mc1 = _kZ._ic1;
- this._rd1 = _kZ._od1;
- this._e81 = 0;
- this._f81 = 0;
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._sd1 = new _jN();
- this._td1 = 0
- }
- _gb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- return _ZM._Vo(_y01, this._pd1)
- },
- _Wa1: function(_y01) {
- return _y01 * this._qd1
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _uc1: function(_RZ) {
- _9M(_PM(_RZ) && _RZ >= 0.0);
- this._mc1 = _RZ
- },
- _vc1: function() {
- return this._mc1
- },
- _ud1: function(_VZ) {
- _9M(_PM(_VZ) && _VZ >= 0.0);
- this._rd1 = _VZ
- },
- _vd1: function() {
- return this._rd1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _891 = new _jN();
- _891._yF._f3 = _s91 + _t91 + _wX * this._Fb1._g3 * this._Fb1._g3 + _xX * this._Gb1._g3 * this._Gb1._g3;
- _891._yF._g3 = -_wX * this._Fb1._f3 * this._Fb1._g3 - _xX * this._Gb1._f3 * this._Gb1._g3;
- _891._mN._f3 = _891._yF._g3;
- _891._mN._g3 = _s91 + _t91 + _wX * this._Fb1._f3 * this._Fb1._f3 + _xX * this._Gb1._f3 * this._Gb1._f3;
- this._sd1 = _891._oN();
- this._td1 = _wX + _xX;
- if (this._td1 > 0.0) {
- this._td1 = 1.0 / this._td1
- }
- if (data._ML._C01) {
- this._pd1._Vo(data._ML._z01);
- this._qd1 *= data._ML._z01;
- var _qV = new _ZM(this._pd1._f3, this._pd1._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + this._qd1);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + this._qd1)
- } else {
- this._pd1.__M();
- this._qd1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _K3 = data._ML._x01; {
- var _7c1 = _6S - _5S;
- var _XZ = -this._td1 * _7c1;
- var _8c1 = this._qd1;
- var _9c1 = _K3 * this._rd1;
- this._qd1 = _uO(this._qd1 + _XZ, -_9c1, _9c1);
- _XZ = this._qd1 - _8c1;
- _5S -= _wX * _XZ;
- _6S += _xX * _XZ
- } {
- var _7c1 = _ZM._Wh(_x91, _ZM._6N(_1O(_6S, this._Gb1), _ZM._6N(_v91, _1O(_5S, this._Fb1))));
- var _XZ = _2O(this._sd1, _7c1)._3N();
- var _8c1 = this._pd1._u8();
- this._pd1._Wh(_XZ);
- var _9c1 = _K3 * this._mc1;
- if (this._pd1._8N() > _9c1 * _9c1) {
- this._pd1._9N();
- this._pd1._Vo(_9c1);
- }
- _XZ = _ZM._6N(this._pd1, _8c1);
- _v91._6N(_ZM._Vo(_s91, _XZ));
- _5S -= _wX * __N(this._Fb1, _XZ);
- _x91._Wh(_ZM._Vo(_t91, _XZ));
- _6S += _xX * __N(this._Gb1, _XZ)
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- return ! 0
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['maxForce'] = this._mc1;
- _xr['maxTorque'] = this._rd1;
- return _xr
- }
- };
- _gb1._EL(_r11);
- function _wd1() {
- this.parent.call(this);
- this.type = _r11._5b1;
- this._kb1 = new _ZM(0.0, 0.0);
- this._lb1 = new _ZM(0.0, 0.0);
- this._mb1 = 0.0;
- this._jc1 = 0.0;
- this._kc1 = 0.0;
- Object.seal(this)
- }
- _wd1.prototype = {
- _zT: function(_w21, _x21, anchor) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._kb1._2N(this._x11._5_(anchor));
- this._lb1._2N(this._y11._5_(anchor));
- this._mb1 = this._y11._KN() - this._x11._KN()
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._mb1 = data['referenceAngle'];
- this._jc1 = data['frequencyHz'];
- this._kc1 = data['dampingRatio']
- }
- };
- _wd1._EL(_Sa1);
- function _fb1(_kZ) {
- this.parent.call(this, _kZ);
- this._Gc1 = 0;
- this._qc1 = 0;
- this._e81 = 0;
- this._f81 = 0;
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._7Z = new _wN();
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._vb1 = _kZ._mb1;
- this._nc1 = _kZ._jc1;
- this._oc1 = _kZ._kc1;
- this._wb1 = new _hN();
- }
- _fb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- var _qV = new _ZM(this._wb1._f3, this._wb1._g3);
- return _ZM._Vo(_y01, _qV)
- },
- _Wa1: function(_y01) {
- return _y01 * this._wb1._Cc
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _Qb1: function() {
- return this._vb1
- },
- _wc1: function(_xc1) {
- this._nc1 = _xc1
- },
- _yc1: function() {
- return this._nc1
- },
- _zc1: function(_Ca1) {
- this._oc1 = _Ca1
- },
- _Ac1: function() {
- return this._oc1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1)));
- this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1)));
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _891 = new _wN();
- _891._yF._f3 = _s91 + _t91 + this._Fb1._g3 * this._Fb1._g3 * _wX + this._Gb1._g3 * this._Gb1._g3 * _xX;
- _891._mN._f3 = -this._Fb1._g3 * this._Fb1._f3 * _wX - this._Gb1._g3 * this._Gb1._f3 * _xX;
- _891._yN._f3 = -this._Fb1._g3 * _wX - this._Gb1._g3 * _xX;
- _891._yF._g3 = _891._mN._f3;
- _891._mN._g3 = _s91 + _t91 + this._Fb1._f3 * this._Fb1._f3 * _wX + this._Gb1._f3 * this._Gb1._f3 * _xX;
- _891._yN._g3 = this._Fb1._f3 * _wX + this._Gb1._f3 * _xX;
- _891._yF._Cc = _891._yN._f3;
- _891._mN._Cc = _891._yN._g3;
- _891._yN._Cc = _wX + _xX;
- if (this._nc1 > 0.0) {
- _891._DN(this._7Z);
- var _xd1 = _wX + _xX;
- var _F9 = _xd1 > 0.0 ? 1.0 / _xd1: 0.0;
- var _jO = _w91 - _u91 - this._vb1;
- var _Bc1 = 2.0 * _eM * this._nc1;
- var _mk = 2.0 * _F9 * this._oc1 * _Bc1;
- var _eT = _F9 * _Bc1 * _Bc1;
- var _K3 = data._ML._x01;
- this._qc1 = _K3 * (_mk + _K3 * _eT);
- this._qc1 = this._qc1 != 0.0 ? 1.0 / this._qc1: 0.0;
- this._Gc1 = _jO * _K3 * _eT * this._qc1;
- _xd1 += this._qc1;
- this._7Z._yN._Cc = _xd1 != 0.0 ? 1.0 / _xd1: 0.0
- } else {
- _891._FN(this._7Z);
- this._qc1 = 0.0;
- this._Gc1 = 0.0
- }
- if (data._ML._C01) {
- this._wb1._Vo(data._ML._z01);
- var _qV = new _ZM(this._wb1._f3, this._wb1._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + this._wb1._Cc);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + this._wb1._Cc)
- } else {
- this._wb1.__M()
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- if (this._nc1 > 0.0) {
- var _bc1 = _6S - _5S;
- var _yd1 = -this._7Z._yN._Cc * (_bc1 + this._Gc1 + this._qc1 * this._wb1._Cc);
- this._wb1._Cc += _yd1;
- _5S -= _wX * _yd1;
- _6S += _xX * _yd1;
- var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1));
- var _md1 = _9O(this._7Z, _ac1)._3N();
- this._wb1._f3 += _md1._f3;
- this._wb1._g3 += _md1._g3;
- var _qV = _md1._u8();
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * __N(this._Fb1, _qV);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * __N(this._Gb1, _qV)
- } else {
- var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1));
- var _bc1 = _6S - _5S;
- var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1);
- var _XZ = _8O(this._7Z, _7c1)._3N();
- this._wb1._Wh(_XZ);
- var _qV = new _ZM(_XZ._f3, _XZ._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + _XZ._Cc);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + _XZ._Cc)
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _fc1, _ec1;
- var _891 = new _wN();
- _891._yF._f3 = _s91 + _t91 + _8T._g3 * _8T._g3 * _wX + _9T._g3 * _9T._g3 * _xX;
- _891._mN._f3 = -_8T._g3 * _8T._f3 * _wX - _9T._g3 * _9T._f3 * _xX;
- _891._yN._f3 = -_8T._g3 * _wX - _9T._g3 * _xX;
- _891._yF._g3 = _891._mN._f3;
- _891._mN._g3 = _s91 + _t91 + _8T._f3 * _8T._f3 * _wX + _9T._f3 * _9T._f3 * _xX;
- _891._yN._g3 = _8T._f3 * _wX + _9T._f3 * _xX;
- _891._yF._Cc = _891._yN._f3;
- _891._mN._Cc = _891._yN._g3;
- _891._yN._Cc = _wX + _xX;
- if (this._nc1 > 0.0) {
- var _jd1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- _fc1 = _jd1._7N();
- _ec1 = 0.0;
- var _qV = _891._CN(_jd1)._3N();
- _J11._6N(_ZM._Vo(_s91, _qV));
- _u91 -= _wX * __N(_8T, _qV);
- _L11._Wh(_ZM._Vo(_t91, _qV));
- _w91 += _xX * __N(_9T, _qV)
- } else {
- var _jd1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- var _ld1 = _w91 - _u91 - this._vb1;
- _fc1 = _jd1._7N();
- _ec1 = _nO(_ld1);
- var _jO = new _hN(_jd1._f3, _jd1._g3, _ld1);
- var _XZ = _891._zN(_jO)._3N();
- var _qV = new _ZM(_XZ._f3, _XZ._g3);
- _J11._6N(_ZM._Vo(_s91, _qV));
- _u91 -= _wX * (__N(_8T, _qV) + _XZ._Cc);
- _L11._Wh(_ZM._Vo(_t91, _qV));
- _w91 += _xX * (__N(_9T, _qV) + _XZ._Cc)
- }
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _fc1 <= _jM && _ec1 <= _kM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['referenceAngle'] = this._vb1;
- _xr['frequencyHz'] = this._nc1;
- _xr['dampingRatio'] = this._oc1;
- return _xr
- }
- };
- _fb1._EL(_r11);
- function _zd1() {
- this.parent.call(this);
- this.type = _r11._4b1;
- this._kb1 = new _ZM();
- this._lb1 = new _ZM();
- this._Qc1 = new _ZM(1.0, 0.0);
- this._sb1 = !1;
- this._pb1 = 0.0;
- this._qb1 = 0.0;
- this._jc1 = 2.0;
- this._kc1 = 0.7;
- Object.seal(this)
- }
- _zd1.prototype = {
- _zT: function(_w21, _x21, anchor, _RO) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._kb1._2N(this._x11._5_(anchor));
- this._lb1._2N(this._y11._5_(anchor));
- this._Qc1._2N(this._x11._7_(_RO))
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._Qc1._fN(data['localAxisA']);
- this._sb1 = data['enableMotor'];
- this._pb1 = data['maxMotorTorque'];
- this._qb1 = data['motorSpeed'];
- this._jc1 = data['frequencyHz'];
- this._kc1 = data['dampingRatio']
- }
- };
- _zd1._EL(_Sa1);
- function _eb1(_kZ) {
- this.parent.call(this, _kZ);
- this._e81 = 0;
- this._f81 = 0;
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._Uc1 = _kZ._Qc1._u8();
- this._Vc1 = _1O(1.0, this._Uc1);
- this._7Z = 0.0;
- this._wb1 = 0.0;
- this._Nb1 = 0.0;
- this._xb1 = 0.0;
- this._Ad1 = 0.0;
- this._Bd1 = 0.0;
- this._Ab1 = _kZ._pb1;
- this._Bb1 = _kZ._qb1;
- this._Db1 = _kZ._sb1;
- this._nc1 = _kZ._jc1;
- this._oc1 = _kZ._kc1;
- this._Gc1 = 0.0;
- this._qc1 = 0.0;
- this._Cd1 = new _ZM();
- this._Dd1 = new _ZM();
- this._Ed1 = this._Fd1 = 0;
- this._Gd1 = this._Hd1 = 0
- }
- _eb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- return _ZM._Vo(_y01, _ZM._Wh(_ZM._Vo(this._wb1, this._Dd1), _ZM._Vo(this._Bd1, this._Cd1)))
- },
- _Wa1: function(_y01) {
- return _y01 * this._xb1
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _4d1: function() {
- return this._Uc1
- },
- _5d1: function() {
- var _w21 = this._v11;
- var _x21 = this._t11;
- var _mS = _w21._2_(this._tb1);
- var _nS = _x21._2_(this._ub1);
- var _mk = _ZM._6N(_nS, _mS);
- var _RO = _w21._3_(this._Uc1);
- var _La1 = _ZN(_mk, _RO);
- return _La1
- },
- _Sb1: function() {
- var _5S = this._v11.__Y;
- var _6S = this._t11.__Y;
- return _6S - _5S
- },
- _Yb1: function() {
- return this._Db1
- },
- _Zb1: function(_m_) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Db1 = _m_
- },
- __b1: function(_h3) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Bb1 = _h3
- },
- _0c1: function() {
- return this._Bb1
- },
- _1c1: function(_VZ) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._Ab1 = _VZ
- },
- _2c1: function() {
- return this._Ab1
- },
- _3c1: function(_y01) {
- return _y01 * this._xb1
- },
- _Id1: function(_xc1) {
- this._nc1 = _xc1
- },
- _Jd1: function() {
- return this._nc1
- },
- _Kd1: function(_Ca1) {
- this._oc1 = _Ca1
- },
- _Ld1: function() {
- return this._oc1;
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _mk = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); {
- this._Dd1._2N(_dO(_4c1, this._Vc1));
- this._Gd1 = __N(_ZM._Wh(_mk, _8T), this._Dd1);
- this._Hd1 = __N(_9T, this._Dd1);
- this._7Z = _s91 + _t91 + _wX * this._Gd1 * this._Gd1 + _xX * this._Hd1 * this._Hd1;
- if (this._7Z > 0.0) {
- this._7Z = 1.0 / this._7Z
- }
- }
- this._Ad1 = 0.0;
- this._Gc1 = 0.0;
- this._qc1 = 0.0;
- if (this._nc1 > 0.0) {
- this._Cd1._2N(_dO(_4c1, this._Uc1));
- this._Ed1 = __N(_ZM._Wh(_mk, _8T), this._Cd1);
- this._Fd1 = __N(_9T, this._Cd1);
- var _Mc1 = _s91 + _t91 + _wX * this._Ed1 * this._Ed1 + _xX * this._Fd1 * this._Fd1;
- if (_Mc1 > 0.0) {
- this._Ad1 = 1.0 / _Mc1;
- var _jO = _ZN(_mk, this._Cd1);
- var _Bc1 = 2.0 * _eM * this._nc1;
- var _mk = 2.0 * this._Ad1 * this._oc1 * _Bc1;
- var _eT = this._Ad1 * _Bc1 * _Bc1;
- var _K3 = data._ML._x01;
- this._qc1 = _K3 * (_mk + _K3 * _eT);
- if (this._qc1 > 0.0) {
- this._qc1 = 1.0 / this._qc1
- }
- this._Gc1 = _jO * _K3 * _eT * this._qc1;
- this._Ad1 = _Mc1 + this._qc1;
- if (this._Ad1 > 0.0) {
- this._Ad1 = 1.0 / this._Ad1
- }
- }
- } else {
- this._Bd1 = 0.0
- }
- if (this._Db1) {
- this._Nb1 = _wX + _xX;
- if (this._Nb1 > 0.0) {
- this._Nb1 = 1.0 / this._Nb1
- }
- } else {
- this._Nb1 = 0.0;
- this._xb1 = 0.0
- }
- if (data._ML._C01) {
- this._wb1 *= data._ML._z01;
- this._Bd1 *= data._ML._z01;
- this._xb1 *= data._ML._z01;
- var _qV = _ZM._Wh(_ZM._Vo(this._wb1, this._Dd1), _ZM._Vo(this._Bd1, this._Cd1));
- var _dd1 = this._wb1 * this._Gd1 + this._Bd1 * this._Ed1 + this._xb1;
- var _ed1 = this._wb1 * this._Hd1 + this._Bd1 * this._Fd1 + this._xb1;
- _v91._6N(_ZM._Vo(this._Jb1, _qV));
- _5S -= this._Lb1 * _dd1;
- _x91._Wh(_ZM._Vo(this._Kb1, _qV));
- _6S += this._Mb1 * _ed1
- } else {
- this._wb1 = 0.0;
- this._Bd1 = 0.0;
- this._xb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3; {
- var _7c1 = _ZN(this._Cd1, _ZM._6N(_x91, _v91)) + this._Fd1 * _6S - this._Ed1 * _5S;
- var _XZ = -this._Ad1 * (_7c1 + this._Gc1 + this._qc1 * this._Bd1);
- this._Bd1 += _XZ;
- var _qV = _ZM._Vo(_XZ, this._Cd1);
- var _dd1 = _XZ * this._Ed1;
- var _ed1 = _XZ * this._Fd1;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- } {
- var _7c1 = _6S - _5S - this._Bb1;
- var _XZ = -this._Nb1 * _7c1;
- var _8c1 = this._xb1;
- var _9c1 = data._ML._x01 * this._Ab1;
- this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1);
- _XZ = this._xb1 - _8c1;
- _5S -= _wX * _XZ;
- _6S += _xX * _XZ
- } {
- var _7c1 = _ZN(this._Dd1, _ZM._6N(_x91, _v91)) + this._Hd1 * _6S - this._Gd1 * _5S;
- var _XZ = -this._7Z * _7c1;
- this._wb1 += _XZ;
- var _qV = _ZM._Vo(_XZ, this._Dd1);
- var _dd1 = _XZ * this._Gd1;
- var _ed1 = _XZ * this._Hd1;
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * _dd1;
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * _ed1
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _mk = _ZM._Wh(_ZM._6N(_L11, _J11), _ZM._6N(_9T, _8T));
- var _941 = _dO(_4c1, this._Vc1);
- var _Md1 = __N(_ZM._Wh(_mk, _8T), _941);
- var _Nd1 = __N(_9T, _941);
- var _jO = _ZN(_mk, _941);
- var _eT = this._Jb1 + this._Kb1 + this._Lb1 * this._Gd1 * this._Gd1 + this._Mb1 * this._Hd1 * this._Hd1;
- var _XZ;
- if (_eT != 0.0) {
- _XZ = -_jO / _eT
- } else {
- _XZ = 0.0
- }
- var _qV = _ZM._Vo(_XZ, _941);
- var _dd1 = _XZ * _Md1;
- var _ed1 = _XZ * _Nd1;
- _J11._6N(_ZM._Vo(this._Jb1, _qV));
- _u91 -= this._Lb1 * _dd1;
- _L11._Wh(_ZM._Vo(this._Kb1, _qV));
- _w91 += this._Mb1 * _ed1;
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _nO(_jO) <= _jM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['localAxisA'] = this._Od1._dN();
- _xr['enableMotor'] = this._Db1;
- _xr['maxMotorTorque'] = this._Ab1;
- _xr['motorSpeed'] = this._Bb1;
- _xr['frequencyHz'] = this._nc1;
- _xr['dampingRatio'] = this._oc1;
- return _xr;
- }
- };
- _eb1._EL(_r11);
- function _Pd1() {
- this.parent.call(this);
- this.type = _r11._3b1;
- this._Qd1 = null;
- this._Rd1 = null;
- this._Ca1 = 1.0;
- Object.seal(this)
- }
- _Pd1.prototype = {
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._Qd1 = data['joint1'];
- this._Rd1 = data['joint2'];
- this._Ca1 = data['ratio']
- }
- };
- _Pd1._EL(_Sa1);
- function _db1(_kZ) {
- this.parent.call(this, _kZ);
- this._Sd1 = _kZ._Qd1;
- this._Td1 = _kZ._Rd1;
- this._Ud1 = this._Sd1._jP();
- this._Vd1 = this._Td1._jP();
- _9M(this._Ud1 == _r11._1b1 || this._Ud1 == _r11._2b1);
- _9M(this._Vd1 == _r11._1b1 || this._Vd1 == _r11._2b1);
- var _Wd1, _Xd1;
- this._Yd1 = this._Sd1._H21();
- this._v11 = this._Sd1._I21();
- var _AT = this._v11._MV;
- var _u91 = this._v11._UY._kb;
- var _Zd1 = this._Yd1._MV;
- var __d1 = this._Yd1._UY._kb;
- this._tb1 = new _ZM();
- this._ub1 = new _ZM();
- this._0e1 = new _ZM();
- this._1e1 = new _ZM();
- this._2e1 = new _ZM();
- this._3e1 = new _ZM();
- if (this._Ud1 == _r11._1b1) {
- var _4e1 = _kZ._Qd1;
- this._0e1._2N(_4e1._tb1);
- this._tb1._2N(_4e1._ub1);
- this._5e1 = _4e1._vb1;
- this._2e1.__M();
- _Wd1 = _u91 - __d1 - this._5e1
- } else {
- var _6e1 = _kZ._Qd1;
- this._0e1._2N(_6e1._tb1);
- this._tb1._2N(_6e1._ub1);
- this._5e1 = _6e1._vb1;
- this._2e1._2N(_6e1._Uc1);
- var _7e1 = this._0e1;
- var _mS = _eO(_Zd1._fu, _ZM._Wh(_dO(_AT._fu, this._tb1), _ZM._6N(_AT._mv, _Zd1._mv)));
- _Wd1 = _ZN(_ZM._6N(_mS, _7e1), this._2e1)
- }
- this._8e1 = this._Td1._H21();
- this._t11 = this._Td1._I21();
- var _CT = this._t11._MV;
- var _w91 = this._t11._UY._kb;
- var _9e1 = this._8e1._MV;
- var _ae1 = this._8e1._UY._kb;
- if (this._Vd1 == _r11._1b1) {
- var _4e1 = _kZ._Rd1;
- this._1e1._2N(_4e1._tb1);
- this._ub1._2N(_4e1._ub1);
- this._be1 = _4e1._vb1;
- this._3e1.__M();
- _Xd1 = _w91 - _ae1 - this._be1
- } else {
- var _6e1 = _kZ._Rd1;
- this._1e1._2N(_6e1._tb1);
- this._ub1._2N(_6e1._ub1);
- this._be1 = _6e1._vb1;
- this._3e1._2N(_6e1._Uc1);
- var _ce1 = this._1e1;
- var _nS = _eO(_9e1._fu, _ZM._Wh(_dO(_CT._fu, this._ub1), _ZM._6N(_CT._mv, _9e1._mv)));
- _Xd1 = _ZN(_ZM._6N(_nS, _ce1), this._3e1)
- }
- this._de1 = _kZ._Ca1;
- this._ee1 = _Wd1 + this._de1 * _Xd1;
- this._wb1 = 0.0;
- this._e81 = this._f81 = this._fe1 = this._ge1 = 0;
- this._he1 = new _ZM();
- this._ie1 = new _ZM();
- this._je1 = new _ZM();
- this._ke1 = new _ZM();
- this._le1 = this._me1 = this._ne1 = this._oe1 = 0;
- this._pe1 = this._qe1 = this._re1 = this._se1 = 0;
- this._te1 = new _ZM(),
- this._ue1 = new _ZM();
- this._ve1 = this._we1 = this._xe1 = this._ye1 = 0;
- this._7Z = 0
- }
- _db1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- var _qV = _ZM._Vo(this._wb1, this._te1);
- return _ZM._Vo(_y01, _qV)
- },
- _Wa1: function(_y01) {
- var _ze1 = this._wb1 * this._ve1;
- return _y01 * _ze1
- },
- _Ae1: function() {
- return this._Sd1
- },
- _Be1: function() {
- return this._Td1
- },
- _Ce1: function(_Ca1) {
- _9M(_PM(_Ca1));
- this._de1 = _Ca1
- },
- _De1: function() {
- return this._de1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._fe1 = this._Yd1._LY;
- this._ge1 = this._8e1._LY;
- this._he1._2N(this._v11._UY._QN);
- this._ie1._2N(this._t11._UY._QN);
- this._je1._2N(this._Yd1._UY._QN);
- this._ke1._2N(this._8e1._UY._QN);
- this._le1 = this._v11._8Z;
- this._me1 = this._t11._8Z;
- this._ne1 = this._Yd1._8Z;
- this._oe1 = this._8e1._8Z;
- this._pe1 = this._v11._aZ;
- this._qe1 = this._t11._aZ;
- this._re1 = this._Yd1._aZ;
- this._se1 = this._8e1._aZ;
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var __d1 = data._G01[this._fe1]._kb;
- var _Ee1 = data._H01[this._fe1]._xb._u8();
- var _Fe1 = data._H01[this._fe1]._J3;
- var _ae1 = data._G01[this._ge1]._kb;
- var _Ge1 = data._H01[this._ge1]._xb._u8();
- var _He1 = data._H01[this._ge1]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91),
- _Ie1 = new _JN(__d1),
- _Je1 = new _JN(_ae1);
- this._7Z = 0.0;
- if (this._Ud1 == _r11._1b1) {
- this._te1.__M();
- this._ve1 = 1.0;
- this._xe1 = 1.0;
- this._7Z += this._pe1 + this._re1
- } else {
- var _vb = _dO(_Ie1, this._2e1);
- var _Ke1 = _dO(_Ie1, _ZM._6N(this._0e1, this._je1));
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._he1));
- this._te1._2N(_vb);
- this._xe1 = __N(_Ke1, _vb);
- this._ve1 = __N(_8T, _vb);
- this._7Z += this._ne1 + this._le1 + this._re1 * this._xe1 * this._xe1 + this._pe1 * this._ve1 * this._ve1
- }
- if (this._Vd1 == _r11._1b1) {
- this._ue1.__M();
- this._we1 = this._de1;
- this._ye1 = this._de1;
- this._7Z += this._de1 * this._de1 * (this._qe1 + this._se1)
- } else {
- var _vb = _dO(_Je1, this._3e1);
- var _Le1 = _dO(_Je1, _ZM._6N(this._1e1, this._ke1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._ie1));
- this._ue1._2N(_ZM._Vo(this._de1, _vb));
- this._ye1 = this._de1 * __N(_Le1, _vb);
- this._we1 = this._de1 * __N(_9T, _vb);
- this._7Z += this._de1 * this._de1 * (this._oe1 + this._me1) + this._se1 * this._ye1 * this._ye1 + this._qe1 * this._we1 * this._we1
- }
- this._7Z = this._7Z > 0.0 ? 1.0 / this._7Z: 0.0;
- if (data._ML._C01) {
- _v91._Wh(_ZM._Vo((this._le1 * this._wb1), this._te1));
- _5S += this._pe1 * this._wb1 * this._ve1;
- _x91._Wh(_ZM._Vo((this._me1 * this._wb1), this._ue1));
- _6S += this._qe1 * this._wb1 * this._we1;
- _Ee1._6N(_ZM._Vo((this._ne1 * this._wb1), this._te1));
- _Fe1 -= this._re1 * this._wb1 * this._xe1;
- _Ge1._6N(_ZM._Vo((this._oe1 * this._wb1), this._ue1));
- _He1 -= this._se1 * this._wb1 * this._ye1
- } else {
- this._wb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S;
- data._H01[this._fe1]._xb._2N(_Ee1);
- data._H01[this._fe1]._J3 = _Fe1;
- data._H01[this._ge1]._xb._2N(_Ge1);
- data._H01[this._ge1]._J3 = _He1
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _Ee1 = data._H01[this._fe1]._xb._u8();
- var _Fe1 = data._H01[this._fe1]._J3;
- var _Ge1 = data._H01[this._ge1]._xb._u8();
- var _He1 = data._H01[this._ge1]._J3;
- var _7c1 = _ZN(this._te1, _ZM._6N(_v91, _Ee1)) + _ZN(this._ue1, _ZM._6N(_x91, _Ge1));
- _7c1 += (this._ve1 * _5S - this._xe1 * _Fe1) + (this._we1 * _6S - this._ye1 * _He1);
- var _XZ = -this._7Z * _7c1;
- this._wb1 += _XZ;
- _v91._Wh(_ZM._Vo((this._le1 * _XZ), this._te1));
- _5S += this._pe1 * _XZ * this._ve1;
- _x91._Wh(_ZM._Vo((this._me1 * _XZ), this._ue1));
- _6S += this._qe1 * _XZ * this._we1;
- _Ee1._6N(_ZM._Vo((this._ne1 * _XZ), this._te1));
- _Fe1 -= this._re1 * _XZ * this._xe1;
- _Ge1._6N(_ZM._Vo((this._oe1 * _XZ), this._ue1));
- _He1 -= this._se1 * _XZ * this._ye1;
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S;
- data._H01[this._fe1]._xb._2N(_Ee1);
- data._H01[this._fe1]._J3 = _Fe1;
- data._H01[this._ge1]._xb._2N(_Ge1);
- data._H01[this._ge1]._J3 = _He1;
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _Me1 = data._G01[this._fe1]._I3._u8();
- var __d1 = data._G01[this._fe1]._kb;
- var _Ne1 = data._G01[this._ge1]._I3._u8();
- var _ae1 = data._G01[this._ge1]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91),
- _Ie1 = new _JN(__d1),
- _Je1 = new _JN(_ae1);
- var _kd1 = 0.0;
- var _Wd1, _Xd1;
- var _Oe1 = new _ZM(),
- _Pe1 = new _ZM();
- var _Qe1, _Re1, _Se1, _Te1;
- var _eP = 0.0;
- if (this._Ud1 == _r11._1b1) {
- _Oe1.__M();
- _Qe1 = 1.0;
- _Se1 = 1.0;
- _eP += this._pe1 + this._re1;
- _Wd1 = _u91 - __d1 - this._5e1
- } else {
- var _vb = _dO(_Ie1, this._2e1);
- var _Ke1 = _dO(_Ie1, _ZM._6N(this._0e1, this._je1));
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._he1));
- _Oe1._2N(_vb);
- _Se1 = __N(_Ke1, _vb);
- _Qe1 = __N(_8T, _vb);
- _eP += this._ne1 + this._le1 + this._re1 * _Se1 * _Se1 + this._pe1 * _Qe1 * _Qe1;
- var _7e1 = _ZM._6N(this._0e1, this._je1);
- var _mS = _eO(_Ie1, _ZM._Wh(_8T, _ZM._6N(_J11, _Me1)));
- _Wd1 = _ZN(_ZM._6N(_mS, _7e1), this._2e1)
- }
- if (this._Vd1 == _r11._1b1) {
- _Pe1.__M();
- _Re1 = this._de1;
- _Te1 = this._de1;
- _eP += this._de1 * this._de1 * (this._qe1 + this._se1);
- _Xd1 = _w91 - _ae1 - this._be1
- } else {
- var _vb = _dO(_Je1, this._3e1);
- var _Le1 = _dO(_Je1, _ZM._6N(this._1e1, this._ke1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._ie1));
- _Pe1._2N(_ZM._Vo(this._de1, _vb));
- _Te1 = this._de1 * __N(_Le1, _vb);
- _Re1 = this._de1 * __N(_9T, _vb);
- _eP += this._de1 * this._de1 * (this._oe1 + this._me1) + this._se1 * _Te1 * _Te1 + this._qe1 * _Re1 * _Re1;
- var _ce1 = _ZM._6N(this._1e1, this._ke1);
- var _nS = _eO(_Je1, _ZM._Wh(_9T, _ZM._6N(_L11, _Ne1)));
- _Xd1 = _ZN(_ZM._6N(_nS, _ce1), this._3e1)
- }
- var _jO = (_Wd1 + this._de1 * _Xd1) - this._ee1;
- var _XZ = 0.0;
- if (_eP > 0.0) {
- _XZ = -_jO / _eP
- }
- _J11._Wh(_ZM._Vo(this._le1, _ZM._Vo(_XZ, _Oe1)));
- _u91 += this._pe1 * _XZ * _Qe1;
- _L11._Wh(_ZM._Vo(this._me1, _ZM._Vo(_XZ, _Pe1)));
- _w91 += this._qe1 * _XZ * _Re1;
- _Me1._6N(_ZM._Vo(this._ne1, _ZM._Vo(_XZ, _Oe1)));
- __d1 -= this._re1 * _XZ * _Se1;
- _Ne1._6N(_ZM._Vo(this._oe1, _ZM._Vo(_XZ, _Pe1)));
- _ae1 -= this._se1 * _XZ * _Te1;
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- data._G01[this._fe1]._I3._2N(_Me1);
- data._G01[this._fe1]._kb = __d1;
- data._G01[this._ge1]._I3._2N(_Ne1);
- data._G01[this._ge1]._kb = _ae1;
- return _kd1 < _jM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['joint1'] = this._Sd1._Ue1;
- _xr['joint2'] = this._Td1._Ue1;
- _xr['ratio'] = this._de1;
- return _xr
- }
- };
- _db1._EL(_r11);
- function _Ve1() {
- this.parent.call(this);
- this.type = _r11._R21;
- this._We1 = new _ZM();
- this._Xe1 = 0.0;
- this._ic1 = 1.0;
- this._od1 = 1.0;
- this._Ye1 = 0.3;
- Object.seal(this)
- }
- _Ve1.prototype = {
- _zT: function(_w21, _x21) {
- this._x11 = _w21;
- this._y11 = _x21;
- var _Ze1 = this._y11._JC();
- this._We1._2N(this._x11._5_(_Ze1));
- var __e1 = this._x11._KN();
- var _0f1 = this._y11._KN();
- this._Xe1 = _0f1 - __e1
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._We1._fN(data['linearOffset']);
- this._Xe1 = data['angularOffset'];
- this._ic1 = data['maxForce'];
- this._od1 = data['maxTorque'];
- this._Ye1 = data['correctionFactor']
- }
- };
- _Ve1._EL(_Sa1);
- function _ib1(_kZ) {
- this.parent.call(this, _kZ);
- this._1f1 = _kZ._We1._u8();
- this._2f1 = _kZ._Xe1;
- this._pd1 = new _ZM();
- this._qd1 = 0.0;
- this._mc1 = _kZ._ic1;
- this._rd1 = _kZ._od1;
- this._3f1 = _kZ._Ye1;
- this._e81 = 0;
- this._f81 = 0;
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._4f1 = new _ZM();
- this._5f1 = 0;
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._sd1 = new _jN();
- this._td1 = 0
- }
- _ib1.prototype = {
- _J21: function() {
- return this._v11._JC()
- },
- _K21: function() {
- return this._t11._JC()
- },
- _Va1: function(_y01) {
- return _ZM._Vo(_y01, this._pd1)
- },
- _Wa1: function(_y01) {
- return _y01 * this._qd1
- },
- _6f1: function(_We1) {
- if (_We1._f3 != this._1f1._f3 || _We1._g3 != this._1f1._g3) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._1f1._2N(_We1)
- }
- },
- _T21: function() {
- return this._1f1
- },
- _7f1: function(_Xe1) {
- if (_Xe1 != this._2f1) {
- this._v11._gD(!0);
- this._t11._gD(!0);
- this._2f1 = _Xe1
- }
- },
- _8f1: function() {
- return this._2f1
- },
- _uc1: function(_RZ) {
- _9M(_PM(_RZ) && _RZ >= 0.0);
- this._mc1 = _RZ
- },
- _vc1: function() {
- return this._mc1
- },
- _ud1: function(_VZ) {
- _9M(_PM(_VZ) && _VZ >= 0.0);
- this._rd1 = _VZ
- },
- _vd1: function() {
- return this._rd1
- },
- _9f1: function(_af1) {
- _9M(_PM(_af1) && 0.0 <= _af1 && _af1 <= 1.0);
- this._3f1 = _af1
- },
- _bf1: function() {
- return this._3f1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1._2N(_dO(_4c1, this._Hb1._3N()));
- this._Gb1._2N(_dO(_5c1, this._Ib1._3N()));
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _891 = new _jN();
- _891._yF._f3 = _s91 + _t91 + _wX * this._Fb1._g3 * this._Fb1._g3 + _xX * this._Gb1._g3 * this._Gb1._g3;
- _891._yF._g3 = -_wX * this._Fb1._f3 * this._Fb1._g3 - _xX * this._Gb1._f3 * this._Gb1._g3;
- _891._mN._f3 = _891._yF._g3;
- _891._mN._g3 = _s91 + _t91 + _wX * this._Fb1._f3 * this._Fb1._f3 + _xX * this._Gb1._f3 * this._Gb1._f3;
- this._sd1._2N(_891._oN());
- this._td1 = _wX + _xX;
- if (this._td1 > 0.0) {
- this._td1 = 1.0 / this._td1
- }
- this._4f1._f3 = _L11._f3 + this._Gb1._f3 - _J11._f3 - this._Fb1._f3 - (_4c1._I3 * this._1f1._f3 - _4c1._9q * this._1f1._g3);
- this._4f1._g3 = _L11._g3 + this._Gb1._g3 - _J11._g3 - this._Fb1._g3 - (_4c1._9q * this._1f1._f3 + _4c1._I3 * this._1f1._g3);
- this._5f1 = _w91 - _u91 - this._2f1;
- if (data._ML._C01) {
- this._pd1._Vo(data._ML._z01);
- this._qd1 *= data._ML._z01;
- var _qV = new _ZM(this._pd1._f3, this._pd1._g3);
- _v91._6N(_ZM._Vo(_s91, _qV));
- _5S -= _wX * (__N(this._Fb1, _qV) + this._qd1);
- _x91._Wh(_ZM._Vo(_t91, _qV));
- _6S += _xX * (__N(this._Gb1, _qV) + this._qd1)
- } else {
- this._pd1.__M();
- this._qd1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _s91 = this._Jb1,
- _t91 = this._Kb1;
- var _wX = this._Lb1,
- _xX = this._Mb1;
- var _K3 = data._ML._x01;
- var _cf1 = data._ML._y01; {
- var _7c1 = _6S - _5S + _cf1 * this._3f1 * this._5f1;
- var _XZ = -this._td1 * _7c1;
- var _8c1 = this._qd1;
- var _9c1 = _K3 * this._rd1;
- this._qd1 = _uO(this._qd1 + _XZ, -_9c1, _9c1);
- _XZ = this._qd1 - _8c1;
- _5S -= _wX * _XZ;
- _6S += _xX * _XZ
- } {
- var _7c1 = new _ZM(_x91._f3 + ( - _6S * this._Gb1._f3) - _v91._f3 - ( - _5S * this._Fb1._f3) + _cf1 * this._3f1 * this._4f1._f3, _x91._g3 + (_6S * this._Gb1._g3) - _v91._g3 - (_5S * this._Fb1._g3) + _cf1 * this._3f1 * this._4f1._g3);
- var _XZ = _2O(this._sd1, _7c1)._3N();
- var _8c1 = this._pd1._u8();
- this._pd1._Wh(_XZ);
- var _9c1 = _K3 * this._mc1;
- if (this._pd1._8N() > _9c1 * _9c1) {
- this._pd1._9N();
- this._pd1._Vo(_9c1)
- }
- _XZ._2N(_ZM._6N(this._pd1, _8c1));
- _v91._6N(_ZM._Vo(_s91, _XZ));
- _5S -= _wX * __N(this._Fb1, _XZ);
- _x91._Wh(_ZM._Vo(_t91, _XZ));
- _6S += _xX * __N(this._Gb1, _XZ)
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- return ! 0
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['linearOffset'] = this._1f1._dN();
- _xr['angularOffset'] = this._2f1;
- _xr['maxForce'] = this._mc1;
- _xr['maxTorque'] = this._rd1;
- _xr['correctionFactor'] = this._3f1;
- return _xr
- }
- };
- _ib1._EL(_r11);
- var _df1 = 2.0;
- function _ef1() {
- this.parent.call(this);
- this.type = _r11._M21;
- this._ff1 = new _ZM( - 1.0, 1.0);
- this._gf1 = new _ZM(1.0, 1.0);
- this._kb1 = new _ZM( - 1.0, 0.0);
- this._lb1 = new _ZM(1.0, 0.0);
- this._hf1 = 0.0;
- this._if1 = 0.0;
- this._Ca1 = 1.0;
- this._z11 = !0;
- Object.seal(this)
- }
- _ef1.prototype = {
- _zT: function(_w21, _x21, _jf1, _kf1, _lf1, _mf1, _T9) {
- this._x11 = _w21;
- this._y11 = _x21;
- this._ff1._2N(_jf1);
- this._gf1._2N(_kf1);
- this._kb1._2N(this._x11._5_(_lf1));
- this._lb1._2N(this._y11._5_(_mf1));
- var _nf1 = _ZM._6N(_lf1, _jf1);
- this._hf1 = _nf1._7N();
- var _of1 = _ZM._6N(_mf1, _kf1);
- this._if1 = _of1._7N();
- this._Ca1 = _T9;
- _9M(this._Ca1 > _dM)
- },
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._ff1._fN(data['groundAnchorA']);
- this._gf1._fN(data['groundAnchorB']);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._hf1 = data['lengthA'];
- this._if1 = data['lengthB'];
- this._Ca1 = data['ratio']
- }
- };
- _ef1._EL(_Sa1);
- function _cb1(_kZ) {
- this.parent.call(this, _kZ);
- this._e81 = 0;
- this._f81 = 0;
- this._pf1 = new _ZM();
- this._qf1 = new _ZM();
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0;
- this._7Z = 0;
- this._rf1 = _kZ._ff1._u8();
- this._sf1 = _kZ._gf1._u8();
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._tf1 = _kZ._hf1;
- this._uf1 = _kZ._if1;
- _9M(_kZ._Ca1 != 0.0);
- this._de1 = _kZ._Ca1;
- this._ee1 = _kZ._hf1 + this._de1 * _kZ._if1;
- this._wb1 = 0.0
- }
- _cb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1);
- },
- _Va1: function(_y01) {
- var _qV = _ZM._Vo(this._wb1, this._qf1);
- return _ZM._Vo(_y01, _qV)
- },
- _Wa1: function(_y01) {
- return 0.0
- },
- _O21: function() {
- return this._rf1
- },
- _P21: function() {
- return this._sf1
- },
- _vf1: function() {
- return this._tf1
- },
- _wf1: function() {
- return this._uf1
- },
- _De1: function() {
- return this._de1
- },
- _xf1: function() {
- var _mv = this._v11._2_(this._tb1);
- var _9q = this._rf1;
- var _mk = _ZM._6N(_mv, _9q);
- return _mk._7N()
- },
- _yf1: function() {
- var _mv = this._t11._2_(this._ub1);
- var _9q = this._sf1;
- var _mk = _ZM._6N(_mv, _9q);
- return _mk._7N();
- },
- _IR: function(_JR) {
- this._rf1._6N(_JR);
- this._sf1._6N(_JR)
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1)));
- this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1)));
- this._pf1._2N(_ZM._Wh(_J11, _ZM._6N(this._Fb1, this._rf1)));
- this._qf1._2N(_ZM._Wh(_L11, _ZM._6N(this._Gb1, this._sf1)));
- var _hf1 = this._pf1._7N();
- var _if1 = this._qf1._7N();
- if (_hf1 > 10.0 * _jM) {
- this._pf1._Vo(1.0 / _hf1)
- } else {
- this._pf1.__M()
- }
- if (_if1 > 10.0 * _jM) {
- this._qf1._Vo(1.0 / _if1)
- } else {
- this._qf1.__M();
- }
- var _zf1 = __N(this._Fb1, this._pf1);
- var _Af1 = __N(this._Gb1, this._qf1);
- var _s91 = this._Jb1 + this._Lb1 * _zf1 * _zf1;
- var _t91 = this._Kb1 + this._Mb1 * _Af1 * _Af1;
- this._7Z = _s91 + this._de1 * this._de1 * _t91;
- if (this._7Z > 0.0) {
- this._7Z = 1.0 / this._7Z
- }
- if (data._ML._C01) {
- this._wb1 *= data._ML._z01;
- var _Bf1 = _ZM._Vo( - (this._wb1), this._pf1);
- var _Cf1 = _ZM._Vo(( - this._de1 * this._wb1), this._qf1);
- _v91._Wh(_ZM._Vo(this._Jb1, _Bf1));
- _5S += this._Lb1 * __N(this._Fb1, _Bf1);
- _x91._Wh(_ZM._Vo(this._Kb1, _Cf1));
- _6S += this._Mb1 * __N(this._Gb1, _Cf1)
- } else {
- this._wb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1));
- var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1));
- var _7c1 = -_ZN(this._pf1, _Nc1) - this._de1 * _ZN(this._qf1, _Oc1);
- var _XZ = -this._7Z * _7c1;
- this._wb1 += _XZ;
- var _Bf1 = _ZM._Vo( - _XZ, this._pf1);
- var _Cf1 = _ZM._Vo( - this._de1, _ZM._Vo(_XZ, this._qf1));
- _v91._Wh(_ZM._Vo(this._Jb1, _Bf1));
- _5S += this._Lb1 * __N(this._Fb1, _Bf1);
- _x91._Wh(_ZM._Vo(this._Kb1, _Cf1));
- _6S += this._Mb1 * __N(this._Gb1, _Cf1);
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _Df1 = _ZM._Wh(_J11, _ZM._6N(_8T, this._rf1));
- var _Ef1 = _ZM._Wh(_L11, _ZM._6N(_9T, this._sf1));
- var _hf1 = _Df1._7N();
- var _if1 = _Ef1._7N();
- if (_hf1 > 10.0 * _jM) {
- _Df1._Vo(1.0 / _hf1)
- } else {
- _Df1.__M()
- }
- if (_if1 > 10.0 * _jM) {
- _Ef1._Vo(1.0 / _if1)
- } else {
- _Ef1.__M()
- }
- var _zf1 = __N(_8T, _Df1);
- var _Af1 = __N(_9T, _Ef1);
- var _s91 = this._Jb1 + this._Lb1 * _zf1 * _zf1;
- var _t91 = this._Kb1 + this._Mb1 * _Af1 * _Af1;
- var _eP = _s91 + this._de1 * this._de1 * _t91;
- if (_eP > 0.0) {
- _eP = 1.0 / _eP
- }
- var _jO = this._ee1 - _hf1 - this._de1 * _if1;
- var _kd1 = _nO(_jO);
- var _XZ = -_eP * _jO;
- var _Bf1 = _ZM._Vo( - _XZ, _Df1);
- var _Cf1 = _ZM._Vo( - this._de1, _ZM._Vo(_XZ, _Ef1));
- _J11._Wh(_ZM._Vo(this._Jb1, _Bf1));
- _u91 += this._Lb1 * __N(_8T, _Bf1);
- _L11._Wh(_ZM._Vo(this._Kb1, _Cf1));
- _w91 += this._Mb1 * __N(_9T, _Cf1);
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return _kd1 < _jM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['groundAnchorA'] = this._rf1._dN();
- _xr['groundAnchorB'] = this._sf1._dN();
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['lengthA'] = this._tf1;
- _xr['lengthB'] = this._uf1;
- _xr['ratio'] = this._de1;
- return _xr
- }
- };
- _cb1._EL(_r11);
- function _Ff1() {
- this.parent.call(this);
- this.type = _r11._7b1;
- this._kb1 = new _ZM( - 1.0, 0.0);
- this._lb1 = new _ZM(1.0, 0.0);
- this._Gf1 = 0.0;
- Object.seal(this)
- }
- _Ff1.prototype = {
- _fN: function(data, _D21, _Ua1) {
- this.parent.prototype._fN.call(this, data, _D21, _Ua1);
- this._kb1._fN(data['localAnchorA']);
- this._lb1._fN(data['localAnchorB']);
- this._Gf1 = data['maxLength']
- }
- };
- _Ff1._EL(_Sa1);
- function _hb1(_kZ) {
- this.parent.call(this, _kZ);
- this._tb1 = _kZ._kb1._u8();
- this._ub1 = _kZ._lb1._u8();
- this._Hf1 = _kZ._Gf1;
- this._7Z = 0.0;
- this._wb1 = 0.0;
- this._If1 = _r11._Ya1;
- this._Fc1 = 0.0;
- this._e81 = 0;
- this._f81 = 0;
- this._Hc1 = new _ZM();
- this._Fb1 = new _ZM();
- this._Gb1 = new _ZM();
- this._Hb1 = new _ZM();
- this._Ib1 = new _ZM();
- this._Jb1 = 0;
- this._Kb1 = 0;
- this._Lb1 = 0;
- this._Mb1 = 0
- }
- _hb1.prototype = {
- _J21: function() {
- return this._v11._2_(this._tb1)
- },
- _K21: function() {
- return this._t11._2_(this._ub1)
- },
- _Va1: function(_y01) {
- var _BX = _ZM._Vo((_y01 * this._wb1), this._Hc1);
- return _BX
- },
- _Wa1: function(_y01) {
- return 0.0
- },
- _Ob1: function() {
- return this._tb1
- },
- _Pb1: function() {
- return this._ub1
- },
- _Jf1: function(length) {
- this._Hf1 = length
- },
- _Kf1: function() {
- return this._Hf1
- },
- _Lf1: function() {
- return this._If1
- },
- _ya1: function(data) {
- this._e81 = this._v11._LY;
- this._f81 = this._t11._LY;
- this._Hb1._2N(this._v11._UY._QN);
- this._Ib1._2N(this._t11._UY._QN);
- this._Jb1 = this._v11._8Z;
- this._Kb1 = this._t11._8Z;
- this._Lb1 = this._v11._aZ;
- this._Mb1 = this._t11._aZ;
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1)));
- this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1)));
- this._Hc1._2N(_ZM._6N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), _J11), this._Fb1));
- this._Fc1 = this._Hc1._7N();
- var _jO = this._Fc1 - this._Hf1;
- if (_jO > 0.0) {
- this._If1 = _r11.__a1
- } else {
- this._If1 = _r11._Ya1
- }
- if (this._Fc1 > _jM) {
- this._Hc1._Vo(1.0 / this._Fc1)
- } else {
- this._Hc1.__M();
- this._7Z = 0.0;
- this._wb1 = 0.0;
- return
- }
- var _Mf1 = __N(this._Fb1, this._Hc1);
- var _Nf1 = __N(this._Gb1, this._Hc1);
- var _Mc1 = this._Jb1 + this._Lb1 * _Mf1 * _Mf1 + this._Kb1 + this._Mb1 * _Nf1 * _Nf1;
- this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0;
- if (data._ML._C01) {
- this._wb1 *= data._ML._z01;
- var _qV = _ZM._Vo(this._wb1, this._Hc1);
- _v91._6N(_ZM._Vo(this._Jb1, _qV));
- _5S -= this._Lb1 * __N(this._Fb1, _qV);
- _x91._Wh(_ZM._Vo(this._Kb1, _qV));
- _6S += this._Mb1 * __N(this._Gb1, _qV)
- } else {
- this._wb1 = 0.0
- }
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _Q91: function(data) {
- var _v91 = data._H01[this._e81]._xb._u8();
- var _5S = data._H01[this._e81]._J3;
- var _x91 = data._H01[this._f81]._xb._u8();
- var _6S = data._H01[this._f81]._J3;
- var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1));
- var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1));
- var _jO = this._Fc1 - this._Hf1;
- var _7c1 = _ZN(this._Hc1, _ZM._6N(_Oc1, _Nc1));
- if (_jO < 0.0) {
- _7c1 += data._ML._y01 * _jO
- }
- var _XZ = -this._7Z * _7c1;
- var _8c1 = this._wb1;
- this._wb1 = _qO(0.0, this._wb1 + _XZ);
- _XZ = this._wb1 - _8c1;
- var _qV = _ZM._Vo(_XZ, this._Hc1);
- _v91._6N(_ZM._Vo(this._Jb1, _qV));
- _5S -= this._Lb1 * __N(this._Fb1, _qV);
- _x91._Wh(_ZM._Vo(this._Kb1, _qV));
- _6S += this._Mb1 * __N(this._Gb1, _qV);
- data._H01[this._e81]._xb._2N(_v91);
- data._H01[this._e81]._J3 = _5S;
- data._H01[this._f81]._xb._2N(_x91);
- data._H01[this._f81]._J3 = _6S
- },
- _aa1: function(data) {
- var _J11 = data._G01[this._e81]._I3._u8();
- var _u91 = data._G01[this._e81]._kb;
- var _L11 = data._G01[this._f81]._I3._u8();
- var _w91 = data._G01[this._f81]._kb;
- var _4c1 = new _JN(_u91),
- _5c1 = new _JN(_w91);
- var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1));
- var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1));
- var _vb = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T);
- var length = _vb._9N();
- var _jO = length - this._Hf1;
- _jO = _uO(_jO, 0.0, _pM);
- var _XZ = -this._7Z * _jO;
- var _qV = _ZM._Vo(_XZ, _vb);
- _J11._6N(_ZM._Vo(this._Jb1, _qV));
- _u91 -= this._Lb1 * __N(_8T, _qV);
- _L11._Wh(_ZM._Vo(this._Kb1, _qV));
- _w91 += this._Mb1 * __N(_9T, _qV);
- data._G01[this._e81]._I3._2N(_J11);
- data._G01[this._e81]._kb = _u91;
- data._G01[this._f81]._I3._2N(_L11);
- data._G01[this._f81]._kb = _w91;
- return length - this._Hf1 < _jM
- },
- _dN: function(_eN) {
- var _xr = _eN || {};
- this.parent.prototype._dN.call(this, _xr);
- _xr['localAnchorA'] = this._tb1._dN();
- _xr['localAnchorB'] = this._ub1._dN();
- _xr['maxLength'] = this._Hf1;
- return _xr
- }
- };
- _hb1._EL(_r11);
- var _Of1 = Math.exp;
- function _Pf1() {
- this._rb = null;
- this._Ea = 0;
- this._Qf1 = null;
- this._N01 = new _ZM();
- this._131 = 0.1;
- this._Rf1 = 0.9;
- this._Sf1 = 0.1
- }
- function _Tf1() {
- this._3Q = 0;
- this._Uf1 = null;
- this._Vf1 = null;
- this._Wf1 = null;
- this._Xf1 = null;
- this._Yf1 = null;
- this._Zf1 = null;
- this.__f1 = 0;
- this._Z01 = new _ZM();
- this._0g1 = 1.0;
- this._1g1 = 0.1
- }
- _Tf1.prototype = {
- _zT: function(_kZ) {
- _9M(_kZ._Ea >= 3);
- this._3Q = _kZ._Ea;
- this._Uf1 = new Array(this._3Q);
- this._Vf1 = new Array(this._3Q);
- this._Wf1 = new Array(this._3Q);
- this._Xf1 = new Array(this._3Q);
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._Uf1[_H3] = _kZ._rb[_H3]._u8();
- this._Vf1[_H3] = _kZ._rb[_H3]._u8();
- this._Wf1[_H3] = new _ZM();
- var _F9 = _kZ._Qf1[_H3];
- if (_F9 > 0.0) {
- this._Xf1[_H3] = 1.0 / _F9;
- } else {
- this._Xf1[_H3] = 0.0
- }
- }
- var _CU = this._3Q - 1;
- var _2g1 = this._3Q - 2;
- this._Yf1 = new Array(_CU);
- this._Zf1 = new Array(_2g1);
- for (var _H3 = 0; _H3 < _CU; ++_H3) {
- var _TO = this._Uf1[_H3];
- var _UO = this._Uf1[_H3 + 1];
- this._Yf1[_H3] = _4O(_TO, _UO)
- }
- for (var _H3 = 0; _H3 < _2g1; ++_H3) {
- var _TO = this._Uf1[_H3];
- var _UO = this._Uf1[_H3 + 1];
- var _XQ = this._Uf1[_H3 + 2];
- var _NP = _ZM._6N(_UO, _TO);
- var _F61 = _ZM._6N(_XQ, _UO);
- var _kb = __N(_NP, _F61);
- var _W9 = _ZN(_NP, _F61);
- this._Zf1[_H3] = _XM(_kb, _W9)
- }
- this._Z01 = _kZ._N01._u8();
- this.__f1 = _kZ._131;
- this._0g1 = _kZ._Rf1;
- this._1g1 = _kZ._Sf1
- },
- _A11: function(_K3, _3S) {
- if (_K3 == 0.0) {
- return
- }
- var _mk = _Of1( - _K3 * this.__f1);
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._Vf1[_H3]._2N(this._Uf1[_H3]);
- if (this._Xf1[_H3] > 0.0) {
- this._Wf1[_H3]._Wh(_ZM._Vo(_K3, this._Z01))
- }
- this._Wf1[_H3]._Vo(_mk);
- this._Uf1[_H3]._Wh(_ZM._Vo(_K3, this._Wf1[_H3]))
- }
- for (var _H3 = 0; _H3 < _3S; ++_H3) {
- this._3g1();
- this._4g1();
- this._3g1()
- }
- var _cf1 = 1.0 / _K3;
- for (var _H3 = 0; _H3 < this._3Q; ++_H3) {
- this._Wf1[_H3] = _ZM._Vo(_cf1, _ZM._6N(this._Uf1[_H3], this._Vf1[_H3]))
- }
- },
- _LP: function() {
- return this._3Q
- },
- _5g1: function() {
- return this._Uf1
- },
- _6b: function(_6g1) {
- var _I3 = new _CO(0.4, 0.5, 0.7);
- for (var _H3 = 0; _H3 < this._3Q - 1; ++_H3) {
- _6g1._SO(this._Uf1[_H3], this._Uf1[_H3 + 1], _I3)
- }
- },
- _7g1: function(_0b) {
- var _2g1 = this._3Q - 2;
- for (var _H3 = 0; _H3 < _2g1; ++_H3) {
- this._Zf1[_H3] = _0b
- }
- },
- _3g1: function() {
- var _CU = this._3Q - 1;
- for (var _H3 = 0; _H3 < _CU; ++_H3) {
- var _TO = this._Uf1[_H3];
- var _UO = this._Uf1[_H3 + 1];
- var _mk = _ZM._6N(_UO, _TO);
- var _ze1 = _mk._9N();
- var _8g1 = this._Xf1[_H3];
- var _9g1 = this._Xf1[_H3 + 1];
- if (_8g1 + _9g1 == 0.0) {
- continue
- }
- var _lp = _8g1 / (_8g1 + _9g1);
- var _mp = _9g1 / (_8g1 + _9g1);
- _TO._6N(_ZM._Vo(this._0g1 * _lp * (this._Yf1[_H3] - _ze1), _mk));
- _UO._Wh(_ZM._Vo(this._0g1 * _mp * (this._Yf1[_H3] - _ze1), _mk))
- }
- },
- _4g1: function() {
- var _2g1 = this._3Q - 2;
- for (var _H3 = 0; _H3 < _2g1; ++_H3) {
- var _TO = this._Uf1[_H3];
- var _UO = this._Uf1[_H3 + 1];
- var _XQ = this._Uf1[_H3 + 2];
- var _ag1 = this._Xf1[_H3];
- var _bg1 = this._Xf1[_H3 + 1];
- var _cg1 = this._Xf1[_H3 + 2];
- var _NP = _ZM._6N(_UO, _TO);
- var _F61 = _ZM._6N(_XQ, _UO);
- var _dg1 = _NP._8N();
- var _eg1 = _F61._8N();
- if (_dg1 * _eg1 == 0.0) {
- continue
- }
- var _kb = __N(_NP, _F61);
- var _W9 = _ZN(_NP, _F61);
- var _0b = _XM(_kb, _W9);
- var _fg1 = _ZM._Vo(( - 1.0 / _dg1), _NP._cN());
- var _gg1 = _ZM._Vo((1.0 / _eg1), _F61._cN());
- var _hg1 = _ZM._3N(_fg1);
- var _ig1 = _ZM._6N(_fg1, _gg1);
- var _jg1 = _gg1;
- var _eP = _ag1 * _ZN(_hg1, _hg1) + _bg1 * _ZN(_ig1, _ig1) + _cg1 * _ZN(_jg1, _jg1);
- if (_eP == 0.0) {
- continue
- }
- _eP = 1.0 / _eP;
- var _jO = _0b - this._Zf1[_H3];
- while (_jO > _eM) {
- _0b -= 2 * _eM;
- _jO = _0b - this._Zf1[_H3]
- }
- while (_jO < -_eM) {
- _0b += 2.0 * _eM;
- _jO = _0b - this._Zf1[_H3]
- }
- var _XZ = -this._1g1 * _eP * _jO;
- _TO._Wh(_ZM._Vo((_ag1 * _XZ), _hg1));
- _UO._Wh(_ZM._Vo((_bg1 * _XZ), _ig1));
- _XQ._Wh(_ZM._Vo((_cg1 * _XZ), _jg1))
- }
- }
- };
- var _kg1 = {
- _lg1: function(_KY) {
- var _mg1 = [];
- var _H3;
- var _ng1;
- var _W9;
- var _Mq;
- var _DP;
- for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) {
- for (_Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) {
- _DP = _Mq._U_();
- _Mq._og1 = _mg1.length;
- _mg1.push(_DP._dN())
- }
- }
- var _pg1 = [];
- for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) {
- _W9._qg1 = [];
- for (_Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) {
- _ng1 = _Mq._dN();
- _ng1['shape'] = _Mq._og1;
- delete _Mq._og1;
- _W9._qg1.push(_pg1.length);
- _pg1.push(_ng1)
- }
- }
- var _D21 = [];
- for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) {
- _ng1 = _W9._dN();
- _ng1._pg1 = [];
- for (_H3 = 0; _H3 < _W9._qg1.length; ++_H3) _ng1._pg1.push(_W9._qg1[_H3]);
- delete _W9._qg1;
- _W9._rg1 = _D21.length;
- _D21.push(_ng1)
- };
- var _Ua1 = [];
- var __9;
- for (__9 = _KY._w_(), _H3 = 0; __9; __9 = __9._y_(), ++_H3) __9._Ue1 = _H3;
- for (__9 = _KY._w_(); __9; __9 = __9._y_()) {
- if (__9._jP() === _r11._Q21) continue;
- _ng1 = __9._dN();
- _ng1['bodyA'] = __9._H21()._rg1;
- _ng1['bodyB'] = __9._I21()._rg1;
- _Ua1.push(_ng1)
- }
- for (__9 = _KY._w_(); __9; __9 = __9._y_()) delete __9._Ue1;
- for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) delete _W9._rg1;
- var _Nh = {
- _mg1: _mg1,
- _pg1: _pg1,
- _D21: _D21,
- _Ua1: _Ua1
- };
- return _Nh
- },
- _sg1: function(_ng1, _KY, clear) {
- var _tg1 = JSON.parse(_ng1);
- if (clear) {
- for (var _W9 = _KY._U11(); _W9;) {
- var _ni = _W9._y_();
- _KY._k11(_W9);
- _W9 = _ni
- }
- for (var __9 = _KY._w_(); __9;) {
- var _ni = __9._y_();
- _KY._n11(__9);
- __9 = _ni
- }
- }
- var _mg1 = [];
- for (var _H3 = 0; _H3 < _tg1._mg1.length; ++_H3) {
- var _ug1 = _tg1._mg1[_H3];
- var _DP;
- switch (_ug1._hP) {
- case _gP._wP:
- _DP = new _BP();
- break;
- case _gP._xP:
- _DP = new _OP();
- break;
- case _gP._zP:
- _DP = new _1Q();
- break;
- case _gP._yP:
- _DP = new _jQ();
- break
- }
- _DP._fN(_ug1);
- _mg1.push(_DP)
- }
- var _pg1 = [];
- for (_H3 = 0; _H3 < _tg1._pg1.length; ++_H3) {
- var _vg1 = _tg1._pg1[_H3];
- var _TC = new _mZ();
- _TC._fN(_vg1);
- _TC._DP = _mg1[_vg1['shape']];
- _pg1.push(_TC)
- }
- var _D21 = [];
- for (_H3 = 0; _H3 < _tg1._D21.length; ++_H3) {
- var _wg1 = _tg1._D21[_H3];
- var _kZ = new _wY();
- _kZ._fN(_wg1);
- var body = _KY._yD(_kZ);
- for (var _f3 = 0; _f3 < _wg1._pg1.length; ++_f3) body._jZ(_pg1[_wg1._pg1[_f3]]);
- _D21.push(body)
- }
- var _Ua1 = [];
- var _xg1 = [];
- for (_H3 = 0; _H3 < _tg1._Ua1.length; ++_H3) {
- var _yg1 = _tg1._Ua1[_H3];
- var _zg1;
- switch (_yg1.type) {
- case _r11._1b1:
- _zg1 = new _jb1();
- break;
- case _r11._2b1:
- _zg1 = new _Pc1();
- break;
- case _r11._L21:
- _zg1 = new _Cc1();
- break;
- case _r11._M21:
- _zg1 = new _ef1();
- break;
- case _r11._3b1:
- _zg1 = new _Pd1();
- break;
- case _r11._4b1:
- _zg1 = new _zd1();
- break;
- case _r11._5b1:
- _zg1 = new _wd1();
- break;
- case _r11._6b1:
- _zg1 = new _nd1();
- break;
- case _r11._7b1:
- _zg1 = new _Ff1();
- break;
- case _r11._R21:
- _zg1 = new _Ve1();
- break;
- default:
- throw new _Xg('unknown joint')
- }
- _zg1._fN(_yg1, _D21);
- if (_yg1.type === _r11._3b1) {
- _xg1.push([_zg1, _Ua1.length]);
- _Ua1.push(null)
- } else {
- var _E_ = _KY._q11(_zg1);
- _Ua1.push(_E_)
- }
- }
- for (_H3 = 0; _H3 < _xg1.length; ++_H3) {
- _xg1[_H3][0]._Qd1 = _Ua1[_xg1[_H3][0]._Qd1];
- _xg1[_H3][0]._Rd1 = _Ua1[_xg1[_H3][0]._Rd1];
- _E_ = _KY._q11(_xg1[_H3][0]);
- _Ua1[_xg1[_H3][1]] = _E_
- }
- }
- };
- var _Ag1 = (function() {
- function _Bg1(_xr) {
- return new _ZM(_xr ? (_xr._f3 || 0) : 0, _xr ? (_xr._g3 || 0) : 0)
- }
- function _Cg1(_xr) {
- var _Dg1 = new Array(_xr._f3.length);
- for (var _H3 = 0; _H3 < _Dg1.length; ++_H3) _Dg1[_H3] = new _ZM(_xr._f3[_H3], _xr._g3[_H3]);
- return _Dg1
- }
- function _Eg1(_xr, _Fg1) {
- var name = _xr.name;
- var _cf;
- if (typeof(_xr['int']) !== 'undefined') _cf = _xr['int'];
- else if (typeof(_xr['float']) !== 'undefined') _cf = _xr['float'];
- else if (typeof(_xr['string']) !== 'undefined') _cf = _xr['string'];
- else if (typeof(_xr['bool']) !== 'undefined') _cf = _xr['bool'];
- else if (typeof(_xr._Gg1) !== 'undefined') _cf = _Bg1(_xr._Gg1);
- else throw new _Xg("unknown property type");
- if (_Fg1.hasOwnProperty(name)) throw new _Xg("custom property possibly overwriting an existing one");
- _Fg1[name] = _cf
- }
- function _Hg1(_xr, body) {
- var _kZ = new _mZ();
- _kZ._sP = _xr._sP || 0;
- _kZ._K_._H_ = typeof(_xr['filter-categoryBits']) === 'undefined' ? 1 : _xr['filter-categoryBits'];
- _kZ._K_._I_ = typeof(_xr['filter-maskBits']) === 'undefined' ? 65535 : _xr['filter-maskBits'];
- _kZ._K_._J_ = typeof(_xr['filter-groupIndex']) === 'undefined' ? 0 : _xr['filter-groupIndex'];
- _kZ._L_ = _xr._L_ || 0;
- _kZ._M_ = _xr._M_ || 0;
- _kZ._N_ = _xr._V_ || 0;
- var _DP;
- if (typeof(_xr._MR) !== 'undefined') {
- _DP = new _BP();
- _DP._CP = _Bg1(_xr._MR._OO);
- _DP._iP = _xr._MR._PO || 0
- } else if (typeof(_xr._NR) !== 'undefined') {
- var _rb = _Cg1(_xr._NR._rb);
- _DP = new _jQ();
- _DP._gi(_rb, _rb.length)
- } else if (typeof(_xr._OR) !== 'undefined') {
- var _rb = _Cg1(_xr._OR._rb);
- _DP = new _1Q();
- _DP._3Q = _rb.length;
- _DP._2Q = _rb;
- if (_DP._7Q = _xr._OR._Ig1) _DP._5Q = _Bg1(_xr._OR._eQ);
- if (_DP._6Q = _xr._OR._Jg1) _DP._4Q = _Bg1(_xr._OR._cQ)
- } else throw new _Xg("unknown shape type");
- _kZ._DP = _DP;
- var _TC = body._jZ(_kZ);
- _TC.name = _xr.name;
- if (_xr._Kg1) for (var _H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, _TC)
- }
- function _Lg1(_xr, _KY) {
- var _kZ = new _wY();
- _kZ.type = _xr.type || _xY._yY;
- _kZ._0b = _xr._0b || 0;
- _kZ._CY = _xr._CY || 0;
- _kZ._AY = _xr._AY || 0;
- _kZ._EY = _xr._EY || !1;
- _kZ._GY = _xr._GY || !1;
- _kZ._FY = _xr._FY || !1;
- _kZ._BY = _xr._BY || !1;
- _kZ._zY = _Bg1(_xr._zY);
- _kZ._IY = typeof(_xr._IY) !== 'undefined' ? _xr._IY: 1;
- var _Mg1 = new _dP();
- _Mg1._eP = _xr['massData-mass'] || 0;
- _Mg1._OO = _Bg1(_xr['massData-center']);
- _Mg1._fP = _xr['massData-I'] || 0;
- _kZ.position = _Bg1(_xr.position);
- var body = _KY._yD(_kZ);
- body.name = _xr.name;
- body._1_(_Mg1);
- if (_xr._TC) for (var _H3 = 0; _H3 < _xr._TC.length; ++_H3) _Hg1(_xr._TC[_H3], body);
- if (_xr._Kg1) for (_H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, body);
- return body
- }
- var _Ng1 = {
- 'revolute': _jb1,
- 'distance': _Cc1,
- 'prismatic': _Pc1,
- 'wheel': _zd1,
- 'rope': _Ff1,
- 'motor': _Ve1,
- 'weld': _wd1,
- 'friction': _nd1
- };
- function _Og1(_xr, _KY, _D21) {
- if (!_Ng1[_xr.type]) throw new _Xg("unknown joint type");
- var _Pg1 = new _Ng1[_xr.type]();
- switch (_Pg1.type) {
- case _r11._1b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._rb1 = _xr._rb1 || !1;
- _Pg1._sb1 = _xr._sb1 || !1;
- _Pg1._nb1 = _xr._Qg1 || 0;
- _Pg1._pb1 = _xr._pb1 || 0;
- _Pg1._qb1 = _xr._qb1 || 0;
- _Pg1._mb1 = _xr._Rg1 || 0;
- _Pg1._ob1 = _xr._Sg1 || 0;
- break;
- case _r11._L21:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._kc1 = _xr._kc1 || 0;
- _Pg1._jc1 = _xr._Tg1 || 0;
- _Pg1.length = _xr.length || 0;
- break;
- case _r11._2b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._rb1 = _xr._rb1 || !1;
- _Pg1._sb1 = _xr._sb1 || !1;
- _Pg1._Qc1 = _Bg1(_xr._Qc1);
- _Pg1._Rc1 = _xr._Qg1 || 0;
- _Pg1._Tc1 = _xr._Tc1 || 0;
- _Pg1._qb1 = _xr._qb1 || 0;
- _Pg1._mb1 = _xr._Rg1 || 0;
- _Pg1._Sc1 = _xr._Sg1 || 0;
- break;
- case _r11._4b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._sb1 = _xr._sb1 || !1;
- _Pg1._Qc1 = _Bg1(_xr._Qc1);
- _Pg1._pb1 = _xr._pb1 || 0;
- _Pg1._qb1 = _xr._qb1 || 0;
- _Pg1._kc1 = _xr._Ug1 || 0;
- _Pg1._jc1 = _xr._Vg1 || 0;
- break;
- case _r11._7b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._Gf1 = _xr._Gf1 || 0;
- break;
- case _r11._R21:
- _Pg1._We1 = _Bg1(_xr._lf1);
- _Pg1._Xe1 = _xr._Rg1 || 0;
- _Pg1._ic1 = _xr._ic1 || 0;
- _Pg1._od1 = _xr._od1 || 0;
- _Pg1._Ye1 = _xr._Ye1 || 0;
- break;
- case _r11._5b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._mb1 = _xr._Rg1 || 0;
- _Pg1._kc1 = _xr._kc1 || 0;
- _Pg1._jc1 = _xr._jc1 || 0;
- break;
- case _r11._6b1:
- _Pg1._kb1 = _Bg1(_xr._lf1);
- _Pg1._lb1 = _Bg1(_xr._mf1);
- _Pg1._ic1 = _xr._ic1 || 0;
- _Pg1._od1 = _xr._od1 || 0;
- break;
- default:
- throw new _Xg("wat?")
- }
- _Pg1._x11 = _D21[_xr._x11 || 0];
- _Pg1._y11 = _D21[_xr._y11 || 0];
- _Pg1._z11 = _xr._z11 || !1;
- var _E_ = _KY._q11(_Pg1);
- _E_.name = _xr.name;
- if (_xr._Kg1) for (var _H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, _E_);
- return _E_
- }
- function _Wg1() {
- this._KY = null;
- this._B01 = 0;
- this._A01 = 0;
- this._Xg1 = 0;
- this._pg1 = {};
- this._D21 = {};
- this._Ua1 = {};
- Object.seal(this)
- }
- function _Yg1(_xr, _KY) {
- var _Pt = new _Wg1();
- _Pt._KY = _KY = _KY || new _xZ(new _ZM(0, 0));
- _Pt._B01 = _xr._B01 || 0;
- _Pt._A01 = _xr._A01 || 0;
- _Pt._Xg1 = _xr._Xg1 || 0;
- if (_xr._N01) _KY._621(_Bg1(_xr._N01));
- _KY._V11(_xr._DY || !1);
- _KY._821(_xr._Zg1 || !1);
- _KY._X11(_xr._C01 || !1);
- _KY._Z11(_xr.__g1 || !1);
- _KY._021(_xr._0h1 || !1);
- var _D21 = [];
- var _1h1 = _xr.body;
- if (_1h1) {
- for (var _H3 = 0; _H3 < _1h1.length; ++_H3) {
- var body = _Lg1(_1h1[_H3], _KY);
- _D21.push(body);
- for (var _Mq = body._v_(); _Mq; _Mq = _Mq._y_()) {
- if (!_Pt._pg1[_Mq.name]) _Pt._pg1[_Mq.name] = [];
- _Pt._pg1[_Mq.name].push(_Mq)
- }
- if (!_Pt._D21[body.name]) _Pt._D21[body.name] = [];
- _Pt._D21[body.name].push(body)
- }
- }
- var _Ua1 = [];
- var _2h1 = _xr._E_;
- if (_2h1) {
- for (_H3 = 0; _H3 < _2h1.length; ++_H3) {
- var _E_ = _Og1(_2h1[_H3], _KY, _D21);
- _Ua1.push(_E_);
- if (!_Pt._Ua1[_E_.name]) _Pt._Ua1[_E_.name] = [];
- _Pt._Ua1[_E_.name].push(_E_)
- }
- }
- return _Pt
- }
- var _Nh = {
- _Yg1: _Yg1
- };
- return _Nh
- })();
- var _3h1 = [{
- "trimmed": "version",
- "name": "b2_version",
- "def": _OM
- },
- {
- "trimmed": "Vec2",
- "name": "b2Vec2",
- "def": _ZM
- },
- {
- "trimmed": "Vec3",
- "name": "b2Vec3",
- "def": _hN
- },
- {
- "trimmed": "Mat22",
- "name": "b2Mat22",
- "def": _jN
- },
- {
- "trimmed": "Mat33",
- "name": "b2Mat33",
- "def": _wN
- },
- {
- "trimmed": "Rot",
- "name": "b2Rot",
- "def": _JN
- },
- {
- "trimmed": "Transform",
- "name": "b2Transform",
- "def": _NN
- },
- {
- "trimmed": "Sweep",
- "name": "b2Sweep",
- "def": _PN
- },
- {
- "trimmed": "Dot_v2_v2",
- "name": "b2Dot_v2_v2",
- "def": _ZN
- },
- {
- "trimmed": "Cross_v2_v2",
- "name": "b2Cross_v2_v2",
- "def": __N
- },
- {
- "trimmed": "Cross_v2_f",
- "name": "b2Cross_v2_f",
- "def": _0O
- },
- {
- "trimmed": "Cross_f_v2",
- "name": "b2Cross_f_v2",
- "def": _1O
- },
- {
- "trimmed": "Mul_m22_v2",
- "name": "b2Mul_m22_v2",
- "def": _2O
- },
- {
- "trimmed": "MulT_m22_v2",
- "name": "b2MulT_m22_v2",
- "def": _3O
- },
- {
- "trimmed": "Distance",
- "name": "b2Distance",
- "def": _4O
- },
- {
- "trimmed": "DistanceSquared",
- "name": "b2DistanceSquared",
- "def": _5O
- },
- {
- "trimmed": "Dot_v3_v3",
- "name": "b2Dot_v3_v3",
- "def": _AN
- },
- {
- "trimmed": "Cross_v3_v3",
- "name": "b2Cross_v3_v3",
- "def": _BN
- },
- {
- "trimmed": "Mul_m22_m22",
- "name": "b2Mul_m22_m22",
- "def": _6O
- },
- {
- "trimmed": "MulT_m22_m22",
- "name": "b2MulT_m22_m22",
- "def": _7O
- },
- {
- "trimmed": "Mul_m33_v3",
- "name": "b2Mul_m33_v3",
- "def": _8O
- },
- {
- "trimmed": "Mul22_m33_v2",
- "name": "b2Mul22_m33_v2",
- "def": _9O
- },
- {
- "trimmed": "Mul_r_r",
- "name": "b2Mul_r_r",
- "def": _aO
- },
- {
- "trimmed": "MulT_r_r",
- "name": "b2MulT_r_r",
- "def": _cO
- },
- {
- "trimmed": "Mul_r_v2",
- "name": "b2Mul_r_v2",
- "def": _dO
- },
- {
- "trimmed": "MulT_r_v2",
- "name": "b2MulT_r_v2",
- "def": _eO
- },
- {
- "trimmed": "Mul_t_v2",
- "name": "b2Mul_t_v2",
- "def": _fO
- },
- {
- "trimmed": "Min_v2",
- "name": "b2Min_v2",
- "def": _rO
- },
- {
- "trimmed": "Max_v2",
- "name": "b2Max_v2",
- "def": _tO
- },
- {
- "trimmed": "Clamp",
- "name": "b2Clamp",
- "def": _uO
- },
- {
- "trimmed": "MulT_t_v2",
- "name": "b2MulT_t_v2",
- "def": _hO
- },
- {
- "trimmed": "Mul_t_t",
- "name": "b2Mul_t_t",
- "def": _iO
- },
- {
- "trimmed": "MulT_t_t",
- "name": "b2MulT_t_t",
- "def": _kO
- },
- {
- "trimmed": "Clamp_v2",
- "name": "b2Clamp_v2",
- "def": _vO
- },
- {
- "trimmed": "NextPowerOfTwo",
- "name": "b2NextPowerOfTwo",
- "def": _wO
- },
- {
- "trimmed": "Abs_v2",
- "name": "b2Abs_v2",
- "def": _oO
- },
- {
- "trimmed": "Abs_m22",
- "name": "b2Abs_m22",
- "def": _pO
- },
- {
- "trimmed": "IsPowerOfTwo",
- "name": "b2IsPowerOfTwo",
- "def": _xO
- },
- {
- "trimmed": "RandomFloat",
- "name": "b2RandomFloat",
- "def": _zO
- },
- {
- "trimmed": "Timer",
- "name": "b2Timer",
- "def": _9P
- },
- {
- "trimmed": "Color",
- "name": "b2Color",
- "def": _CO
- },
- {
- "trimmed": "Draw",
- "name": "b2Draw",
- "def": _DO
- },
- {
- "trimmed": "ContactID",
- "name": "b2ContactID",
- "def": _bT
- },
- {
- "trimmed": "ManifoldPoint",
- "name": "b2ManifoldPoint",
- "def": _hT
- },
- {
- "trimmed": "Manifold",
- "name": "b2Manifold",
- "def": _mT
- },
- {
- "trimmed": "WorldManifold",
- "name": "b2WorldManifold",
- "def": _xT
- },
- {
- "trimmed": "GetPointStates",
- "name": "b2GetPointStates",
- "def": _ST
- },
- {
- "trimmed": "ClipVertex",
- "name": "b2ClipVertex",
- "def": _XT
- },
- {
- "trimmed": "RayCastInput",
- "name": "b2RayCastInput",
- "def": _YT
- },
- {
- "trimmed": "RayCastOutput",
- "name": "b2RayCastOutput",
- "def": _ZT
- },
- {
- "trimmed": "AABB",
- "name": "b2AABB",
- "def": __T
- },
- {
- "trimmed": "CollideCircles",
- "name": "b2CollideCircles",
- "def": _fU
- },
- {
- "trimmed": "CollidePolygonAndCircle",
- "name": "b2CollidePolygonAndCircle",
- "def": _jU
- },
- {
- "trimmed": "FindMaxSeparation",
- "name": "b2FindMaxSeparation",
- "def": _vU
- },
- {
- "trimmed": "FindIncidentEdge",
- "name": "b2FindIncidentEdge",
- "def": _JU
- },
- {
- "trimmed": "CollidePolygons",
- "name": "b2CollidePolygons",
- "def": _TU
- },
- {
- "trimmed": "CollideEdgeAndCircle",
- "name": "b2CollideEdgeAndCircle",
- "def": _oV
- },
- {
- "trimmed": "EPAxis",
- "name": "b2EPAxis",
- "def": _CV
- },
- {
- "trimmed": "TempPolygon",
- "name": "b2TempPolygon",
- "def": _GV
- },
- {
- "trimmed": "ReferenceFace",
- "name": "b2ReferenceFace",
- "def": _HV
- },
- {
- "trimmed": "EPCollider",
- "name": "b2EPCollider",
- "def": _KV
- },
- {
- "trimmed": "CollideEdgeAndPolygon",
- "name": "b2CollideEdgeAndPolygon",
- "def": _pW
- },
- {
- "trimmed": "ClipSegmentToLine",
- "name": "b2ClipSegmentToLine",
- "def": _lV
- },
- {
- "trimmed": "TestShapeOverlap",
- "name": "b2TestShapeOverlap",
- "def": _yW
- },
- {
- "trimmed": "TestOverlap",
- "name": "b2TestOverlap",
- "def": _qR
- },
- {
- "trimmed": "Shape",
- "name": "b2Shape",
- "def": _gP
- },
- {
- "trimmed": "MassData",
- "name": "b2MassData",
- "def": _dP
- },
- {
- "trimmed": "CircleShape",
- "name": "b2CircleShape",
- "def": _BP
- },
- {
- "trimmed": "EdgeShape",
- "name": "b2EdgeShape",
- "def": _OP
- },
- {
- "trimmed": "ChainShape",
- "name": "b2ChainShape",
- "def": _1Q
- },
- {
- "trimmed": "PolygonShape",
- "name": "b2PolygonShape",
- "def": _jQ
- },
- {
- "trimmed": "Pair",
- "name": "b2Pair",
- "def": _YQ
- },
- {
- "trimmed": "PairLessThan",
- "name": "b2PairLessThan",
- "def": _0R
- },
- {
- "trimmed": "BroadPhase",
- "name": "b2BroadPhase",
- "def": _3R
- },
- {
- "trimmed": "DistanceProxy",
- "name": "b2DistanceProxy",
- "def": _LR
- },
- {
- "trimmed": "SimplexCache",
- "name": "b2SimplexCache",
- "def": _RR
- },
- {
- "trimmed": "DistanceInput",
- "name": "b2DistanceInput",
- "def": _VR
- },
- {
- "trimmed": "DistanceOutput",
- "name": "b2DistanceOutput",
- "def": _0S
- },
- {
- "trimmed": "SimplexVertex",
- "name": "b2SimplexVertex",
- "def": _4S
- },
- {
- "trimmed": "Simplex",
- "name": "b2Simplex",
- "def": _7S
- },
- {
- "trimmed": "DistanceFunc",
- "name": "b2DistanceFunc",
- "def": _US
- },
- {
- "trimmed": "TreeNode",
- "name": "b2TreeNode",
- "def": _CW
- },
- {
- "trimmed": "DynamicTree",
- "name": "b2DynamicTree",
- "def": _5R
- },
- {
- "trimmed": "TOIInput",
- "name": "b2TOIInput",
- "def": _IX
- },
- {
- "trimmed": "TOIOutput",
- "name": "b2TOIOutput",
- "def": _MX
- },
- {
- "trimmed": "SeparationFunction",
- "name": "b2SeparationFunction",
- "def": _RX
- },
- {
- "trimmed": "TimeOfImpact",
- "name": "b2TimeOfImpact",
- "def": _eY
- },
- {
- "trimmed": "BodyDef",
- "name": "b2BodyDef",
- "def": _wY
- },
- {
- "trimmed": "Body",
- "name": "b2Body",
- "def": _xY
- },
- {
- "trimmed": "Filter",
- "name": "b2Filter",
- "def": _G_
- },
- {
- "trimmed": "FixtureDef",
- "name": "b2FixtureDef",
- "def": _mZ
- },
- {
- "trimmed": "Fixture",
- "name": "b2Fixture",
- "def": _oZ
- },
- {
- "trimmed": "DestructionListener",
- "name": "b2DestructionListener",
- "def": _901
- },
- {
- "trimmed": "ContactFilter",
- "name": "b2ContactFilter",
- "def": _f01
- },
- {
- "trimmed": "ContactImpulse",
- "name": "b2ContactImpulse",
- "def": _j01
- },
- {
- "trimmed": "ContactListener",
- "name": "b2ContactListener",
- "def": _m01
- },
- {
- "trimmed": "QueryCallback",
- "name": "b2QueryCallback",
- "def": _s01
- },
- {
- "trimmed": "RayCastCallback",
- "name": "b2RayCastCallback",
- "def": _v01
- },
- {
- "trimmed": "TimeStep",
- "name": "b2TimeStep",
- "def": _w01
- },
- {
- "trimmed": "Position",
- "name": "b2Position",
- "def": _D01
- },
- {
- "trimmed": "Velocity",
- "name": "b2Velocity",
- "def": _E01
- },
- {
- "trimmed": "SolverData",
- "name": "b2SolverData",
- "def": _F01
- },
- {
- "trimmed": "World",
- "name": "b2World",
- "def": _xZ
- },
- {
- "trimmed": "MixFriction",
- "name": "b2MixFriction",
- "def": _081
- },
- {
- "trimmed": "MixRestitution",
- "name": "b2MixRestitution",
- "def": _381
- },
- {
- "trimmed": "ContactRegister",
- "name": "b2ContactRegister",
- "def": _681
- },
- {
- "trimmed": "ContactEdge",
- "name": "b2ContactEdge",
- "def": _881
- },
- {
- "trimmed": "Contact",
- "name": "b2Contact",
- "def": _b21
- },
- {
- "trimmed": "CircleContact",
- "name": "b2CircleContact",
- "def": _x81
- },
- {
- "trimmed": "PolygonContact",
- "name": "b2PolygonContact",
- "def": _G81
- },
- {
- "trimmed": "ChainAndCircleContact",
- "name": "b2ChainAndCircleContact",
- "def": _B81
- },
- {
- "trimmed": "ChainAndPolygonContact",
- "name": "b2ChainAndPolygonContact",
- "def": _C81
- },
- {
- "trimmed": "EdgeAndCircleContact",
- "name": "b2EdgeAndCircleContact",
- "def": _D81
- },
- {
- "trimmed": "EdgeAndPolygonContact",
- "name": "b2EdgeAndPolygonContact",
- "def": _E81
- },
- {
- "trimmed": "PolygonAndCircleContact",
- "name": "b2PolygonAndCircleContact",
- "def": _F81
- },
- {
- "trimmed": "defaultFilter",
- "name": "b2_defaultFilter",
- "def": _Q81
- },
- {
- "trimmed": "defaultListener",
- "name": "b2_defaultListener",
- "def": _R81
- },
- {
- "trimmed": "ContactManager",
- "name": "b2ContactManager",
- "def": _O01
- },
- {
- "trimmed": "VelocityConstraintPoint",
- "name": "b2VelocityConstraintPoint",
- "def": _W81
- },
- {
- "trimmed": "ContactPositionConstraint",
- "name": "b2ContactPositionConstraint",
- "def": __81
- },
- {
- "trimmed": "ContactVelocityConstraint",
- "name": "b2ContactVelocityConstraint",
- "def": _791
- },
- {
- "trimmed": "PositionSolverManifold",
- "name": "b2PositionSolverManifold",
- "def": _b91
- },
- {
- "trimmed": "ContactSolverDef",
- "name": "b2ContactSolverDef",
- "def": _e91
- },
- {
- "trimmed": "ContactSolver",
- "name": "b2ContactSolver",
- "def": _g91
- },
- {
- "trimmed": "Island",
- "name": "b2Island",
- "def": _311
- },
- {
- "trimmed": "Jacobian",
- "name": "b2Jacobian",
- "def": _Na1
- },
- {
- "trimmed": "JointEdge",
- "name": "b2JointEdge",
- "def": _Ra1
- },
- {
- "trimmed": "JointDef",
- "name": "b2JointDef",
- "def": _Sa1
- },
- {
- "trimmed": "Joint",
- "name": "b2Joint",
- "def": _r11
- },
- {
- "trimmed": "RevoluteJointDef",
- "name": "b2RevoluteJointDef",
- "def": _jb1
- },
- {
- "trimmed": "RevoluteJoint",
- "name": "b2RevoluteJoint",
- "def": _bb1
- },
- {
- "trimmed": "MouseJointDef",
- "name": "b2MouseJointDef",
- "def": _hc1
- },
- {
- "trimmed": "MouseJoint",
- "name": "b2MouseJoint",
- "def": _9b1
- },
- {
- "trimmed": "DistanceJointDef",
- "name": "b2DistanceJointDef",
- "def": _Cc1
- },
- {
- "trimmed": "DistanceJoint",
- "name": "b2DistanceJoint",
- "def": _8b1
- },
- {
- "trimmed": "PrismaticJointDef",
- "name": "b2PrismaticJointDef",
- "def": _Pc1
- },
- {
- "trimmed": "PrismaticJoint",
- "name": "b2PrismaticJoint",
- "def": _ab1
- },
- {
- "trimmed": "FrictionJointDef",
- "name": "b2FrictionJointDef",
- "def": _nd1
- },
- {
- "trimmed": "FrictionJoint",
- "name": "b2FrictionJoint",
- "def": _gb1
- },
- {
- "trimmed": "WeldJointDef",
- "name": "b2WeldJointDef",
- "def": _wd1
- },
- {
- "trimmed": "WeldJoint",
- "name": "b2WeldJoint",
- "def": _fb1
- },
- {
- "trimmed": "WheelJointDef",
- "name": "b2WheelJointDef",
- "def": _zd1
- },
- {
- "trimmed": "WheelJoint",
- "name": "b2WheelJoint",
- "def": _eb1
- },
- {
- "trimmed": "GearJointDef",
- "name": "b2GearJointDef",
- "def": _Pd1
- },
- {
- "trimmed": "GearJoint",
- "name": "b2GearJoint",
- "def": _db1
- },
- {
- "trimmed": "MotorJointDef",
- "name": "b2MotorJointDef",
- "def": _Ve1
- },
- {
- "trimmed": "MotorJoint",
- "name": "b2MotorJoint",
- "def": _ib1
- },
- {
- "trimmed": "PulleyJointDef",
- "name": "b2PulleyJointDef",
- "def": _ef1
- },
- {
- "trimmed": "PulleyJoint",
- "name": "b2PulleyJoint",
- "def": _cb1
- },
- {
- "trimmed": "RopeJointDef",
- "name": "b2RopeJointDef",
- "def": _Ff1
- },
- {
- "trimmed": "RopeJoint",
- "name": "b2RopeJoint",
- "def": _hb1
- },
- {
- "trimmed": "RopeDef",
- "name": "b2RopeDef",
- "def": _Pf1
- },
- {
- "trimmed": "Rope",
- "name": "b2Rope",
- "def": _Tf1
- },
- {
- "trimmed": "maxManifoldPoints",
- "name": "b2_maxManifoldPoints",
- "def": _fM
- },
- {
- "trimmed": "maxPolygonVertices",
- "name": "b2_maxPolygonVertices",
- "def": _gM
- },
- {
- "trimmed": "aabbExtension",
- "name": "b2_aabbExtension",
- "def": _hM
- },
- {
- "trimmed": "aabbMultiplier",
- "name": "b2_aabbMultiplier",
- "def": _iM
- },
- {
- "trimmed": "linearSlop",
- "name": "b2_linearSlop",
- "def": _jM
- },
- {
- "trimmed": "angularSlop",
- "name": "b2_angularSlop",
- "def": _kM
- },
- {
- "trimmed": "polygonRadius",
- "name": "b2_polygonRadius",
- "def": _lM
- },
- {
- "trimmed": "maxSubSteps",
- "name": "b2_maxSubSteps",
- "def": _mM
- },
- {
- "trimmed": "maxTOIContacts",
- "name": "b2_maxTOIContacts",
- "def": _nM
- },
- {
- "trimmed": "velocityThreshold",
- "name": "b2_velocityThreshold",
- "def": _oM
- },
- {
- "trimmed": "maxLinearCorrection",
- "name": "b2_maxLinearCorrection",
- "def": _pM
- },
- {
- "trimmed": "maxAngularCorrection",
- "name": "b2_maxAngularCorrection",
- "def": _qM
- },
- {
- "trimmed": "maxTranslation",
- "name": "b2_maxTranslation",
- "def": _rM
- },
- {
- "trimmed": "maxTranslationSquared",
- "name": "b2_maxTranslationSquared",
- "def": _sM
- },
- {
- "trimmed": "maxRotation",
- "name": "b2_maxRotation",
- "def": _tM
- },
- {
- "trimmed": "maxRotationSquared",
- "name": "b2_maxRotationSquared",
- "def": _uM
- },
- {
- "trimmed": "baumgarte",
- "name": "b2_baumgarte",
- "def": _vM
- },
- {
- "trimmed": "toiBaugarte",
- "name": "b2_toiBaugarte",
- "def": _wM
- },
- {
- "trimmed": "timeToSleep",
- "name": "b2_timeToSleep",
- "def": _xM
- },
- {
- "trimmed": "linearSleepTolerance",
- "name": "b2_linearSleepTolerance",
- "def": _yM
- },
- {
- "trimmed": "angularSleepTolerance",
- "name": "b2_angularSleepTolerance",
- "def": _zM
- },
- {
- "trimmed": "epsilon",
- "name": "b2_epsilon",
- "def": _dM
- },
- {
- "trimmed": "JsonSerializer",
- "name": "b2JsonSerializer",
- "def": _kg1
- },
- {
- "trimmed": "RUBELoader",
- "name": "b2RUBELoader",
- "def": _Ag1
- },
- {
- "trimmed": "Profiler",
- "name": "b2Profiler",
- "def": _RL
- },
- {
- "trimmed": "ParticleDef",
- "name": "b2ParticleDef",
- "def": _m41
- },
- {
- "trimmed": "ParticleColor",
- "name": "b2ParticleColor",
- "def": _d41
- },
- {
- "trimmed": "ParticleGroupDef",
- "name": "b2ParticleGroupDef",
- "def": _y41
- },
- {
- "trimmed": "ParticleGroup",
- "name": "b2ParticleGroup",
- "def": _C41
- },
- {
- "trimmed": "ParticleSystem",
- "name": "b2ParticleSystem",
- "def": _511
- }];
- if (typeof(_4h1) !== "undefined" && typeof(window) !== "undefined") {
- for (var _H3 = 0; _H3 < _3h1.length; ++_H3) window[_3h1[_H3]["name"]] = _3h1[_H3]["def"]
- } else {
- var _ht = {};
- for (var _H3 = 0; _H3 < _3h1.length; ++_H3) _ht[_3h1[_H3]["trimmed"]] = _3h1[_H3]["def"];
- if (typeof(_5h1) !== "undefined") _5h1._6h1 = _ht;
- else window["b2"] = _ht
- }
- })();
- function _7h1() {
- var _8h1 = "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " fcolor = color;\n" + " texc = UV;\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}";
- return _8h1
- }
- function _9h1() {
- var _ah1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D(pTexure, texc).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n";
- return _ah1
- }
- function _bh1() {
- var _ch1 = "#define LIGHTS_MAX 8\n" + "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "uniform vec4 dirlightdir[LIGHTS_MAX];\n" + "uniform vec4 pointlightpos[LIGHTS_MAX];\n" + "uniform vec4 lightcol[LIGHTS_MAX];\n" + "uniform vec4 ambientcol;\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "attribute vec3 normal;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n" + "{\n" + " float dotresult = dot(ws_normal, dir.xyz);\n" + " dotresult = max(0.0, dotresult);\n" + " return dotresult * diffusecol;\n" + "}\n" + "\n" + "vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n" + "{\n" + " float atten = 0.0;\n" + "\n" + " vec3 diffvec = ws_pos - posrange.xyz;\n" + " float veclen = length(diffvec);\n" + " if (veclen <= posrange.w)\n" + " {\n" + " atten = 1.0 / (1.0 + (veclen / posrange.w));\n" + " }\n" + "\n" + " diffvec /= veclen;\n" + " float dotresult = dot(ws_normal, diffvec);\n" + " dotresult = max(0.0, dotresult);\n" + "\n" + " return (diffusecol * dotresult * atten);\n" + "}\n" + "\n" + "vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n" + "{\n" + " vec3 ws_normal;\n" + " vec3 ws_pos;\n" + " vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n" + "\n" + " ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n" + " ws_normal = -normalize(ws_normal);\n" + " ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n" + "\n" + " vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n" + " }\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n" + " }\n" + " accumcol *= vertexcolour;\n" + " accumcol += ambientcol;\n" + " return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " vec4 lcolor = DoLighting(color, pos, normal);\n" + " fcolor = vec4(lcolor.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " texc = UV;\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}";
- return _ch1
- }
- function _dh1() {
- var _ah1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n";
- return _ah1
- }
- function _eh1(_fh1, _yJ) {
- var _gh1 = null;
- var _hh1 = null,
- _ih1 = null;
- var _jh1 = 0;
- var _kh1, _lh1;
- var _mh1, _nh1, _oh1 = [];
- var _ph1, _qh1, _rh1, _sh1;
- var _th1, _uh1;
- Object.defineProperties(this, {
- _vh1: {
- get: function() {
- return (_gh1 !== null && _gh1 !== undefined)
- }
- },
- _6c: {
- get: function() {
- return _mh1
- }
- },
- _Md: {
- get: function() {
- return _nh1
- }
- },
- _wh1: {
- get: function() {
- return _kh1
- }
- },
- _xh1: {
- get: function() {
- return _lh1
- }
- },
- _yh1: {
- get: function() {
- return _ph1
- }
- },
- _zh1: {
- get: function() {
- return _qh1
- }
- },
- _Ah1: {
- get: function() {
- return _rh1
- },
- set: function(_cf) {
- _rh1 = _cf
- }
- },
- _Bh1: {
- get: function() {
- return _sh1
- },
- set: function(_cf) {
- _sh1 = _cf
- }
- }
- }); (function() {
- _gh1 = _Ch1(_fh1, _yJ);
- if (_gh1) {
- _Dh1(_gh1);
- var _Eh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_IMAGE_UNITS);
- _th1 = (_Eh1 < _4c._Fh1) ? _Eh1: _4c._Fh1;
- _uh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_SIZE);
- _ih1 = new _Gh1(_yJ._Hh1);
- _hh1 = new _Ih1(_ih1);
- _Jh1();
- _Kh1();
- _Lh1();
- _ih1._Dn(_kh1)
- }
- })();
- function _Dh1(_Mh1) {
- _Gh1.prototype._Mh1 = _Mh1;
- _Ih1.prototype._Mh1 = _Mh1;
- _wd.prototype._Mh1 = _Mh1;
- _Nh1.prototype._Mh1 = _Mh1;
- _Oh1.prototype._Mh1 = _Mh1;
- _Ph1.prototype._Mh1 = _Mh1;
- };
- function _Qh1() {
- var userAgent = navigator.userAgent.toString().toLowerCase();
- var _Rh1 = userAgent.indexOf("trident/");
- if (_Rh1 >= 0) {
- var version = parseFloat(userAgent.slice(_Rh1 + "trident/".length));
- if (version == 7) {
- return ! 0
- }
- }
- return ! 1
- }
- function _Ch1(_fh1, _yJ) {
- if (_Qh1()) return null;
- var _Sh1 = null;
- var _Th1 = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"]; {
- for (var _H3 = 0; _H3 < _Th1.length; _H3++) {
- try {
- var _Uh1 = {
- alpha: !0,
- stencil: _yJ._Vh1,
- antialias: !1,
- premultipliedAlpha: !1,
- preserveDrawingBuffer: _yJ._Wh1
- };
- _Sh1 = _fh1.getContext(_Th1[_H3], _Uh1);
- if (_Sh1) {
- break
- }
- } catch(_yF) {
- return null
- }
- }
- }
- if (_Sh1) {
- _ph1 = _fh1.width;
- _qh1 = _fh1.height;
- _rh1 = _ph1;
- _sh1 = _qh1
- }
- return _Sh1
- }
- function _Jh1() {
- var _Xh1 = new _Oh1();
- _Xh1._Yh1();
- _Xh1._Zh1();
- _Xh1.__h1();
- _mh1 = _oh1.push(_Xh1) - 1;
- _hh1._0i1(_mh1);
- var _1i1 = new _Oh1();
- _1i1._2i1();
- _1i1._Zh1();
- _1i1.__h1();
- _1i1._3i1();
- _nh1 = _oh1.push(_1i1) - 1;
- _hh1._0i1(_nh1)
- };
- this._4i1 = function(_5i1) {
- for (var _H3 in _oh1) {
- if (!_oh1.hasOwnProperty(_H3)) continue;
- if (_oh1[_H3]._gN(_5i1)) {
- return _H3
- }
- }
- var _6i1 = _oh1.push(_5i1) - 1;
- _hh1._0i1(_6i1);
- return _6i1;
- };
- this._yd = function(_re) {
- return _oh1[_re]
- };
- function _7i1(_8i1) {
- while (((_8i1 & 0x1) == 0) && (_8i1 > 1)) {
- _8i1 >>= 1
- }
- return (_8i1 == 1)
- }
- this._9i1 = function() {
- return _uh1
- };
- this._ai1 = function(_bi1, _ci1, _di1, _ei1) {
- _hh1._fi1();
- _ih1._ai1(_bi1, _ci1, _di1, _ei1)
- };
- function _gi1(_hi1, type, source) {
- var _9q = _gh1.createShader((type == 'vertex') ? _gh1.VERTEX_SHADER: _gh1.FRAGMENT_SHADER);
- _gh1.shaderSource(_9q, source);
- _gh1.compileShader(_9q);
- if (!_gh1.getShaderParameter(_9q, _gh1.COMPILE_STATUS)) {
- alert("Could not compile " + type + " shader:\n\n" + _gh1.getShaderInfoLog(_9q));
- return
- }
- _gh1.attachShader(_hi1, _9q)
- };
- function _Kh1() {
- var _ch1 = _7h1();
- var _ah1 = _9h1();
- var _ii1 = _gh1.createProgram();
- var error = _gh1.getError();
- _gi1(_ii1, "vertex", _ch1);
- _gi1(_ii1, "fragment", _ah1);
- _gh1.linkProgram(_ii1);
- error = _gh1.getError();
- if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) {
- alert("Could not initialise shaders\n\n");
- return ! 1
- }
- _gh1.useProgram(_ii1);
- _kh1 = _ii1;
- _ii1._ji1 = [];
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "vertex"));
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "color"));
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "UV"));
- _ii1._ki1 = _gh1.getUniformLocation(_ii1, "pTexure");
- _ii1._li1 = _gh1.getUniformLocation(_ii1, "matrices");
- _ii1._mi1 = _gh1.getUniformLocation(_ii1, "fogParameters");
- _ii1._ni1 = _gh1.getUniformLocation(_ii1, "alphaTestEnabled");
- _ii1._oi1 = _gh1.getUniformLocation(_ii1, "alphaRefValue");
- return ! 0
- }
- function _Lh1() {
- var _8h1 = _bh1();
- var _ah1 = _dh1();
- var _ii1 = _gh1.createProgram();
- var error = _gh1.getError();
- _gi1(_ii1, "vertex", _8h1);
- _gi1(_ii1, "fragment", _ah1);
- _gh1.linkProgram(_ii1);
- error = _gh1.getError();
- if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) {
- alert("Could not initialise 3D shader\n\n");
- return ! 1
- }
- _gh1.useProgram(_ii1);
- _ii1._pi1 = _gh1.getUniformLocation(_ii1, "ViewMatrix");
- _lh1 = _ii1;
- _ii1._ji1 = [];
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "vertex"));
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "color"));
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "UV"));
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "normal"));
- _ii1._ki1 = _gh1.getUniformLocation(_ii1, "pTexure");
- _ii1._li1 = _gh1.getUniformLocation(_ii1, "matrices");
- _ii1._qi1 = _gh1.getUniformLocation(_ii1, "dirlightdir");
- _ii1._ri1 = _gh1.getUniformLocation(_ii1, "pointlightpos");
- _ii1._si1 = _gh1.getUniformLocation(_ii1, "lightcol");
- _ii1._ti1 = _gh1.getUniformLocation(_ii1, "ambientcol");
- _ii1._mi1 = _gh1.getUniformLocation(_ii1, "fogParameters");
- _ii1._ni1 = _gh1.getUniformLocation(_ii1, "alphaTestEnabled");
- _ii1._oi1 = _gh1.getUniformLocation(_ii1, "alphaRefValue");
- return ! 0
- }
- this._ui1 = function(_vi1, _wi1, _xi1) {
- if (_vi1 == "None" || _wi1 == "None") {
- var _yi1 = {
- _zi1: null,
- _Ai1: null
- };
- return _yi1
- }
- var _ii1 = _gh1.createProgram();
- var error = _gh1.getError();
- _gi1(_ii1, "vertex", _vi1);
- _gi1(_ii1, "fragment", _wi1);
- _gh1.linkProgram(_ii1);
- error = _gh1.getError();
- if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) {
- var _yi1 = {
- _zi1: null,
- _Ai1: null
- };
- return _yi1
- }
- _gh1.useProgram(_ii1);
- _ii1._li1 = _gh1.getUniformLocation(_ii1, "gm_Matrices");
- _ii1._qi1 = _gh1.getUniformLocation(_ii1, "gm_Lights_Direction");
- _ii1._ri1 = _gh1.getUniformLocation(_ii1, "gm_Lights_PosRange");
- _ii1._si1 = _gh1.getUniformLocation(_ii1, "gm_Lights_Colour");
- _ii1._ti1 = _gh1.getUniformLocation(_ii1, "gm_AmbientColour");
- _ii1._ji1 = [];
- for (var _Bi1 = 0; _Bi1 < _xi1.length; _Bi1++) {
- _ii1._ji1.push(_gh1.getAttribLocation(_ii1, _xi1[_Bi1]))
- }
- var _Ci1 = "gm_BaseTexture";
- var _Di1 = [_Ci1];
- var _Ei1 = 0;
- var _Fi1 = [];
- var _Gi1 = _gh1.getUniformLocation(_ii1, _Ci1);
- _gh1.uniform1iv(_Gi1, [_Ei1++]);
- _ii1._ki1 = _Gi1;
- var _Hi1 = _gh1.getProgramParameter(_ii1, _gh1.ACTIVE_UNIFORMS);
- for (var _vb = 0; _vb < _Hi1; _vb++) {
- var _Ii1 = _gh1.getActiveUniform(_ii1, _vb);
- if ((_Ii1.type == _gh1.SAMPLER_2D) || (_Ii1.type == _gh1.SAMPLER_CUBE)) {
- if (_Ii1.name != _Ci1) {
- _Di1[_Ei1] = _Ii1.name;
- var _Bi1 = _gh1.getUniformLocation(_ii1, _Ii1.name);
- _gh1.uniform1iv(_Bi1, [_Ei1++])
- }
- }
- }
- _yi1 = {
- _zi1: _ii1,
- _Ai1: _Di1
- };
- return _yi1
- };
- this._Ji1 = function() {
- _ih1._aP();
- _jh1++
- };
- this._Ki1 = function() {
- _hh1._fi1();
- _ih1._F8++;
- _ih1._Li1();
- _gh1.clearColor(1, 1, 1, 1);
- _gh1.colorMask(!1, !1, !1, !0);
- _gh1.clear(_gh1.COLOR_BUFFER_BIT);
- _gh1.colorMask(!0, !0, !0, !0)
- };
- this._fi1 = function() {
- _hh1._fi1();
- _ih1._Li1()
- };
- this._Mi1 = function(_zh, _Ni1) {
- _hh1._fi1();
- _ih1._Mi1(_zh, _Ni1)
- };
- this._on = function(_Oi1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._Qi1, _Oi1)
- };
- this._sn = function(_Oi1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._Ri1, _Oi1)
- };
- this._Un = function(_Si1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._Ti1, _Si1)
- };
- this._qn = function(_Oi1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._Ui1, _Oi1)
- };
- this._on = function(_Oi1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._Qi1, _Oi1)
- };
- this._An = function(_Vi1, _Wi1, _Xi1, _Yi1) {
- _hh1._fi1();
- var _Zi1 = {
- _xk: _Vi1,
- _yk: _Wi1,
- _zk: _Xi1,
- alpha: _Yi1
- };
- _ih1._Pi1(_4c.__i1, _Zi1)
- };
- this._no = function(_U8, _0j1, _1j1, _2j1) {
- _hh1._fi1();
- _ih1._no(_U8, _0j1, _1j1, _2j1)
- };
- this._po = function(_U8, _Oi1, _3j1) {
- _hh1._fi1();
- _ih1._po(_U8, _Oi1, _3j1)
- };
- this._ro = function(_3j1) {
- _hh1._fi1();
- _ih1._4j1(_3j1)
- };
- this._to = function(_5j1) {
- _hh1._fi1();
- _ih1._6j1(_5j1)
- };
- this._7j1 = function(_Bn, _8j1) {
- _hh1._fi1();
- _ih1._7j1(_Bn, _8j1)
- };
- this._9j1 = function(_aj1, _bj1) {
- _hh1._fi1();
- if (_bj1) {
- _ih1._cj1(_aj1, _4c._dj1, _4c._ej1);
- _ih1._cj1(_aj1, _4c._fj1, _4c._ej1)
- } else {
- _ih1._cj1(_aj1, _4c._dj1, _4c._gj1);
- _ih1._cj1(_aj1, _4c._fj1, _4c._gj1)
- }
- };
- this._hj1 = function(_aj1, _ij1) {
- _hh1._fi1();
- _ih1._cj1(_aj1, _4c._jj1, _ij1);
- _ih1._cj1(_aj1, _4c._kj1, _ij1)
- };
- this._lj1 = function() {
- return _th1
- };
- this._mj1 = function(_Bn) {
- _hh1._fi1();
- _ih1._Pi1(_4c._nj1, _Bn)
- };
- this._oj1 = function(_Kq) {
- _hh1._fi1();
- _ih1._Pi1(_4c._pj1, _Kq)
- };
- this._qj1 = function(_rj1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._sj1, _rj1)
- };
- this._tj1 = function(_uj1) {
- _hh1._fi1();
- _ih1._Pi1(_4c._vj1, _uj1)
- };
- this._Dn = function(_wj1) {
- _hh1._fi1();
- _ih1._Dn(_wj1)
- };
- this._xj1 = function(_wj1, _yj1) {
- return _gh1.getUniformLocation(_wj1, _yj1)
- };
- this._zj1 = function(_Aj1, _Bj1) {
- _hh1._fi1();
- _ih1._zj1(_Aj1, _Bj1)
- };
- this._Cj1 = function(_Aj1, _Bj1) {
- _hh1._fi1();
- _ih1._Cj1(_Aj1, _Bj1)
- };
- this._Dj1 = function(_Aj1, _Bj1) {
- _hh1._fi1();
- _ih1._Dj1(_Aj1, _Bj1)
- };
- this._Ej1 = function(_Aj1, _Bj1, _Fj1) {
- _hh1._fi1();
- _ih1._Ej1(_Aj1, _Bj1, _Fj1)
- };
- this._Gj1 = function(_Aj1, _Bj1, _Fj1) {
- _hh1._fi1();
- _ih1._Gj1(_Aj1, _Bj1, _Fj1)
- };
- this._Hj1 = function(_Xr) {
- _hh1._fi1();
- _ih1._Hj1(_Xr)
- };
- this._Ij1 = function(_Ye, _V8, _W8, _fh1) {
- _ih1._Ij1(_Ye, _V8, _W8, _fh1)
- };
- this._Jj1 = function(_aj1, _Ye) {
- _4c._Kj1(_Ye instanceof _Nh1, "Texture is not a yyGLTexture", _4c._Lj1);
- _hh1._fi1();
- _ih1._Jj1(_aj1, _Ye)
- };
- this._Mn = function(_Vl) {
- _hh1._fi1();
- _ih1._Mj1(_Vl)
- };
- this._Tn = function(_Vl) {
- _hh1._fi1();
- _ih1._Nj1(_Vl)
- };
- this._Oj1 = function(_Vl) {
- _hh1._fi1();
- _ih1._Pj1(_Vl)
- };
- this._Qj1 = function(_Rj1) {
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _Kd = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _Rj1);
- var _Nh = new _Nh1(_Kd, _Rj1.width, _Rj1.height, _7i1(_Rj1.width) && _7i1(_Rj1.height));
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- return _Nh
- };
- this._Tj1 = function(_Cd, _Uj1, _Vj1, _Sd) {
- var _Jt = 0;
- if (_Cd) {
- _Jt |= _gh1.COLOR_BUFFER_BIT;
- }
- if (_Uj1) {
- _Jt |= _gh1.DEPTH_BUFFER_BIT
- }
- _ih1._Tj1(_Jt, _Sd)
- };
- this._Wj1 = function(_xJ) {
- _hh1._fi1();
- _ih1._Wj1(_xJ)
- };
- function _Xj1(_Yj1, _vh, _wh) {
- if ((_vh == 0) || (_wh == 0)) {
- return
- }
- var _Zj1 = _Yj1[(_wh - 1) * _vh] & 0xffffff;
- for (_H3 = 0; _H3 < (_vh * _wh); _H3++) {
- if ((_Yj1[_H3] & 0xffffff) == _Zj1) {
- _Yj1[_H3] = _Yj1[_H3] & 0xffffff
- }
- }
- }
- function __j1(__d) {
- var max = _uh1;
- var _x3 = 1;
- while (_x3 <= max) {
- if (__d <= _x3) return _x3;
- _x3 = _x3 << 1
- }
- return max
- }
- this._0k1 = function(_Rj1, _V8, _W8, _vh, _wh, _Aj, _Bj, _1k1) {
- this._fi1();
- var _2k1 = new Uint8Array(_vh * _wh * 4);
- _gh1.readPixels(_V8, _sh1 - (_W8 + _wh), _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _2k1);
- var _3k1;
- if (_1k1) {
- var _4k1 = new ArrayBuffer(_vh * _wh * 4);
- _3k1 = new Uint8Array(_4k1);
- for (var _xb = 0; _xb < _wh; _xb++) {
- var _5k1 = _2k1.subarray(_xb * _vh * 4, (_xb + 1) * _vh * 4);
- var _6k1 = _3k1.subarray((_wh - 1 - _xb) * _vh * 4, (_wh - _xb) * _vh * 4);
- _6k1.set(_5k1)
- }
- if (_Aj) {
- _Xj1(new Int32Array(_4k1), _vh, _wh)
- }
- } else {
- _3k1 = _2k1
- }
- var _J3 = __j1(_vh);
- var _K3 = __j1(_wh);
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _Kd = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null);
- _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST);
- var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh));
- _Rj1.width = _J3;
- _Rj1.height = _K3;
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- _ih1._aP();
- return _Nh
- };
- this._7k1 = function(_Rj1, _8k1, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- this._fi1();
- var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING);
- var _4k1 = new ArrayBuffer(_vh * _wh * 4);
- var _3k1 = new Uint8Array(_4k1);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _8k1);
- _gh1.readPixels(_V8, _W8, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1);
- if (_Aj) {
- _Xj1(new Int32Array(_4k1), _vh, _wh)
- }
- var _J3 = __j1(_vh);
- var _K3 = __j1(_wh);
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _Kd = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null);
- _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST);
- var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh));
- _Rj1.width = _J3;
- _Rj1.height = _K3;
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- _ih1._aP();
- return _Nh
- };
- this._ak1 = function(_Rj1, _bk1, _vh, _wh) {
- var _J3 = __j1(_vh);
- var _K3 = __j1(_wh);
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _Kd = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null);
- _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _bk1);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST);
- var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh));
- _Rj1.width = _J3;
- _Rj1.height = _K3;
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- _ih1._aP();
- return _Nh
- };
- this._ck1 = function(_Rj1, _bk1, _vh, _wh) {
- var _4k1 = new ArrayBuffer(_vh * _wh * 4);
- var _dk1 = new DataView(_4k1);
- for (var _C9 = 0; _C9 < _vh * _wh; _C9++) {
- _dk1.setUint32(_C9 * 4, ~~_bk1[_C9], !0)
- }
- return this._ak1(_Rj1, new Uint8Array(_4k1), _vh, _wh)
- };
- this._ek1 = function(_Ye, _Gd) {
- _4c._Kj1(_Ye instanceof _Nh1, "Texture is not a yyGLTexture", _4c._Lj1);
- var _Kd = _Ye._fk1;
- var _J3 = _Ye._gk1;
- var _K3 = _Ye._hk1;
- var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING);
- var _ik1 = _gh1.createFramebuffer();
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _ik1);
- _gh1.framebufferTexture2D(_gh1.FRAMEBUFFER, _gh1.COLOR_ATTACHMENT0, _gh1.TEXTURE_2D, _Kd, 0);
- var _3k1 = new Uint8Array(_J3 * _K3 * 4);
- _gh1.readPixels(0, 0, _J3, _K3, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1);
- _gh1.deleteFramebuffer(_ik1);
- for (var _H3 = 0; _H3 < (_J3 * _K3); _H3++) {
- _3k1[(_H3 * 4) + 3] = _Gd[_H3]
- }
- var _qS = __j1(_J3);
- var _Gt = __j1(_K3);
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _jk1 = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _jk1);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _qS, _Gt, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null);
- _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _J3, _K3, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST);
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST);
- var _Nh = new _Nh1(_jk1, _qS, _Gt, (_qS == _J3) && (_Gt == _K3));
- _gh1.deleteTexture(_Ye._fk1);
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- return _Nh
- };
- this._kk1 = function(_V8, _W8) {
- this._fi1();
- var _3k1 = new Uint8Array(16);
- _gh1.readPixels(_V8, _sh1 - _W8, 1, 1, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- var _1b = (_3k1[0]) | (_3k1[1] << 8) | (_3k1[2] << 16) | (_3k1[3] << 24);
- _ih1._aP();
- return _1b
- };
- this._lk1 = function(_8k1, _V8, _W8) {
- this._fi1();
- var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING);
- var _3k1 = new Uint8Array(16);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _8k1);
- _gh1.readPixels(_V8, _W8, 1, 1, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1);
- var _1b = (_3k1[0]) | (_3k1[1] << 8) | (_3k1[2] << 16) | (_3k1[3] << 24);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1);
- _ih1._aP();
- return _1b
- };
- this._mk1 = function(_vh, _wh) {
- var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D);
- var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING);
- var _nk1 = _gh1.getParameter(_gh1.RENDERBUFFER_BINDING); {
- var _ok1 = _gh1.createFramebuffer();
- _ok1.width = _vh;
- _ok1.height = _wh;
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _ok1);
- var _pk1 = _gh1.createTexture();
- _gh1.bindTexture(_gh1.TEXTURE_2D, _pk1);
- _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _vh, _wh, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null);
- var _qk1 = new _Nh1(_pk1, _vh, _wh, _7i1(_vh) && _7i1(_wh));
- var _rk1 = _gh1.createRenderbuffer();
- _gh1.bindRenderbuffer(_gh1.RENDERBUFFER, _rk1);
- _gh1.renderbufferStorage(_gh1.RENDERBUFFER, _gh1.DEPTH_STENCIL, _ok1.width, _ok1.height);
- _gh1.framebufferTexture2D(_gh1.FRAMEBUFFER, _gh1.COLOR_ATTACHMENT0, _gh1.TEXTURE_2D, _pk1, 0);
- _gh1.framebufferRenderbuffer(_gh1.FRAMEBUFFER, _gh1.DEPTH_STENCIL_ATTACHMENT, _gh1.RENDERBUFFER, _rk1)
- }
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1);
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1);
- _gh1.bindRenderbuffer(_gh1.RENDERBUFFER, _nk1);
- var _sk1 = {
- _tk1: _ok1,
- _uk1: _rk1,
- _fk1: _qk1
- };
- return _sk1
- };
- this._vk1 = function(_8k1) {
- _gh1.deleteFramebuffer(_8k1._tk1);
- _gh1.deleteRenderbuffer(_8k1._uk1);
- _gh1.deleteTexture(_8k1._fk1._fk1);
- _8k1._fk1 = null
- };
- this._wk1 = function(_Ye) {
- _4c._Kj1(_Ye instanceof _Nh1, "NULL texture is not a yyGLTexture", _4c._Lj1);
- _ih1._xk1 = _Ye
- };
- this._3c = function(_nd, _Ye, _re, _yk1) {
- _4c._Kj1((_Ye == null) || (_Ye instanceof _Nh1), "Texture is not a yyGLTexture", _4c._Lj1);
- return _hh1._3c(_nd, _Ye, _re, _yk1, _oh1[_re], _jh1)
- };
- this._Ze = function(_nd, _Ye, _zk1, _Ak1) {
- _4c._Kj1((_Ye == null) || (_Ye instanceof _Nh1), "Texture is not a yyGLTexture", _4c._Lj1);
- _hh1._Bk1(_nd, _Ye, _zk1, _Ak1)
- }
- }
- var _4c = {
- _Ck1: 8,
- _Fh1: 8,
- _Dk1: -1,
- _5c: 0,
- _sd: 1,
- _rd: 2,
- _pd: 3,
- _qd: 4,
- _od: 5,
- _ue: 1,
- _ze: 2,
- _Je: 3,
- _He: 4,
- _Ek1: 5,
- _Fk1: 6,
- _Gk1: 7,
- _Hk1: 8,
- _Ik1: 9,
- _Jk1: 10,
- _Kk1: 11,
- _Lk1: 12,
- _Mk1: 13,
- _Nk1: 14,
- _Ok1: 14,
- _Le: 1,
- _ve: 2,
- _xe: 3,
- _Pe: 4,
- _Ae: 5,
- _Re: 6,
- _Pk1: 6,
- _Qk1: 1,
- _Rk1: 2,
- _Sk1: 3,
- _Tk1: 4,
- _Uk1: 5,
- _Vk1: 6,
- _Wk1: 7,
- _Xk1: 8,
- _Yk1: 9,
- _Zk1: 10,
- __k1: 11,
- _0l1: 12,
- _1l1: 13,
- _2l1: 14,
- _3l1: 15,
- _4l1: 16,
- _5l1: 16,
- _6l1: 0,
- _Qi1: 1,
- _7l1: 2,
- _Ui1: 3,
- _8l1: 4,
- _9l1: 5,
- _al1: 6,
- _Ri1: 7,
- _bl1: 8,
- _cl1: 9,
- _dl1: 10,
- _el1: 11,
- __i1: 12,
- _nj1: 13,
- _fl1: 14,
- _gl1: 15,
- _sj1: 16,
- _pj1: 17,
- _vj1: 18,
- _hl1: 19,
- _il1: 20,
- _Ti1: 21,
- _jl1: 21,
- _kl1: 1,
- _ll1: 2,
- _ml1: 3,
- _nl1: 4,
- _ol1: 5,
- _pl1: 6,
- _ql1: 7,
- _rl1: 8,
- _sl1: 1,
- _tl1: 2,
- _ul1: 3,
- _vl1: 4,
- _wl1: 5,
- _xl1: 6,
- _yl1: 7,
- _zl1: 8,
- _ej1: 0,
- _gj1: 1,
- _jj1: 0,
- _kj1: 1,
- _dj1: 2,
- _fj1: 3,
- _Al1: 0,
- _Bl1: 1,
- _Wn: 0,
- _Vn: 1,
- _Cl1: 0,
- _Dl1: 1,
- _Lj1: 2,
- _Kj1: function(_El1, _Fl1, _Gl1) {
- if (!_El1) {
- throw new _Xg(_Fl1)
- }
- }
- };
- Object.freeze(_4c);
- function _Gh1(_Hl1) {
- var _gh1 = this._Mh1;
- var _Il1 = 0,
- _Jl1 = 1,
- _Kl1 = 2,
- _Ll1 = 3,
- _Ml1 = 4,
- _Nl1 = 5,
- _Ol1 = 6,
- _Pl1 = 7,
- _Ql1 = 8,
- _Rl1 = 9,
- _Sl1 = 10,
- _Tl1 = 11,
- _Ul1 = 12,
- _Vl1 = 13,
- _Wl1 = 14,
- _Xl1 = 15,
- _Yl1 = 16,
- _Zl1 = 17,
- __l1 = 18,
- _0m1 = 19,
- _1m1 = 20,
- _2m1 = 21,
- _3m1 = 22,
- _4m1 = 23,
- _5m1 = 24,
- _6m1 = 25,
- _7m1 = 26,
- _8m1 = 27,
- _9m1 = 28,
- _am1 = 29;
- _bm1 = 30;
- var _cm1 = 0,
- _dm1 = 1,
- _em1 = 2,
- _fm1 = 3,
- _gm1 = 4,
- _hm1 = 5;
- var _im1 = 1,
- _jm1 = 2,
- _km1 = 4,
- _lm1 = 8;
- var _mm1 = [];
- var _nm1 = [],
- _om1,
- _pm1;
- var _qm1, _rm1 = [],
- _sm1 = [],
- _tm1 = [],
- _um1 = new Float32Array(_4c._Ck1 * 4),
- _vm1 = new Float32Array(_4c._Ck1 * 4),
- _wm1 = new Float32Array(_4c._Ck1 * 4),
- _xm1 = new Float32Array(4),
- _ym1 = new Float32Array(8),
- _zm1 = !1,
- _Am1 = 0.0,
- _Bm1;
- var _jh1 = 0,
- _Cm1;
- Object.defineProperties(this, {
- _F8: {
- get: function() {
- return _jh1
- },
- set: function(_cf) {
- _jh1 = _cf
- }
- },
- _xk1: {
- get: function() {
- return _Cm1
- },
- set: function(_cf) {
- _Cm1 = _cf
- }
- }
- }); (function() {
- _Dm1();
- var _Eh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_IMAGE_UNITS);
- if (_Eh1 > _4c._Fh1) {
- _Eh1 = _4c._Fh1
- }
- for (var _Ei1 = 0; _Ei1 < _Eh1; _Ei1++) {
- _tm1[_Ei1] = new _Ph1(_Hl1)
- }
- var _Em1 = _Fm1(_4c._kl1);
- _Bm1 = {
- _6r: 0,
- _Gm1: 0xffffffff,
- _Hm1: 0xffffffff,
- _Im1: _Jm1(_4c._zl1),
- _Km1: _Em1,
- _Lm1: _Em1,
- _Mm1: _Em1
- };
- for (var _H3 = 0; _H3 < _hm1; _H3++) {
- _sm1[_H3] = new _Gn()
- }
- _gh1.disable(_gh1.CULL_FACE);
- _gh1.disable(_gh1.DEPTH_TEST);
- _gh1.enable(_gh1.BLEND);
- _gh1.enable(_gh1.SCISSOR_TEST);
- _gh1.blendFunc(_gh1.SRC_ALPHA, _gh1.ONE_MINUS_SRC_ALPHA);
- _gh1.activeTexture(_gh1.TEXTURE0);
- _gh1.frontFace(_gh1.CW);
- _gh1.cullFace(_gh1.BACK);
- })();
- function _Dm1() {
- _nm1 = [];
- _pm1 = undefined;
- _om1 = undefined;
- _nm1[0] = 1;
- _nm1[1] = 1
- };
- this._aP = function() {
- _Dm1()
- };
- this._Dn = function(_Nm1) {
- if (_Nm1 != _om1) {
- _pm1 = null;
- _mm1.push(_Zl1);
- _mm1.push(_Nm1);
- _om1 = _Nm1
- }
- };
- this._Jj1 = function(_aj1, _Ye) {
- if (_nm1[_aj1] == _Ye) {
- return
- }
- _nm1[_aj1] = _Ye;
- _mm1.push(_Jl1);
- _mm1.push(_Ye);
- _mm1.push(_aj1)
- };
- this._Hj1 = function(__p) {
- _mm1.push(__p)
- };
- this._Ij1 = function(_Ye, _V8, _W8, _fh1) {
- _mm1.push(_bm1);
- _mm1.push(_Ye);
- _mm1.push(_V8);
- _mm1.push(_W8);
- _mm1.push(_fh1)
- };
- this._Om1 = function(_Pm1) {
- if (_pm1 == _Pm1) return;
- _pm1 = _Pm1;
- _mm1.push(_Ul1);
- _mm1.push(_Pm1)
- };
- this._Qm1 = function(_Rm1, _Sm1) {
- _mm1.push(_Kl1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._Tm1 = function(_Rm1, _Sm1) {
- _mm1.push(_Ll1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._Um1 = function(_Rm1, _Sm1) {
- _mm1.push(_Ml1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._Vm1 = function(_Rm1, _Sm1) {
- _mm1.push(_Nl1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._Wm1 = function(_Rm1, _Sm1) {
- _mm1.push(_Ol1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._S21 = function(_Rm1, _Sm1) {
- _mm1.push(_Pl1);
- _mm1.push(_Rm1);
- _mm1.push(_Sm1)
- };
- this._Nj1 = function(_Vl) {
- _mm1.push(_Rl1);
- _mm1.push(new _Gn(_Vl))
- };
- this._Mj1 = function(_Vl) {
- _mm1.push(_Sl1);
- _Xm1 = new _Gn(_Vl);
- _mm1.push(new _Gn(_Vl))
- };
- this._Pj1 = function(_Vl) {
- _mm1.push(_Ql1);
- _mm1.push(new _Gn(_Vl))
- };
- this._ai1 = function(_V8, _W8, _vh, _wh) {
- _mm1.push(_Tl1);
- _mm1.push(_V8);
- _mm1.push(_W8);
- _mm1.push(_vh);
- _mm1.push(_wh)
- };
- this._Tj1 = function(_Ym1, _Sd) {
- _mm1.push(_Vl1);
- _mm1.push(_Ym1);
- _mm1.push(~~_Sd)
- };
- this._Wj1 = function(_Zm1) {
- _mm1.push(_Wl1);
- _mm1.push(_Zm1)
- };
- this.__m1 = function(_Gd, _Uu, _Vu, _Wu) {
- _mm1.push(_Xl1);
- _mm1.push(_Gd);
- _mm1.push(_Uu);
- _mm1.push(_Vu);
- _mm1.push(_Wu)
- };
- this._Mi1 = function(_zh, _Ni1) {
- _mm1.push(_Yl1);
- _mm1.push(_zh);
- _mm1.push(_Ni1)
- };
- this._zj1 = function(_0n1, _Bj1) {
- _mm1.push(__l1);
- _mm1.push(_0n1);
- _mm1.push(_Bj1)
- };
- this._Cj1 = function(_0n1, _Bj1) {
- _mm1.push(_0m1);
- _mm1.push(_0n1);
- _mm1.push(_Bj1)
- };
- this._Ej1 = function(_0n1, _Bj1, _Fj1) {
- _mm1.push(_1m1);
- _mm1.push(_0n1);
- _mm1.push(_Bj1);
- _mm1.push(_Fj1)
- };
- this._Gj1 = function(_0n1, _Bj1, _Fj1) {
- _mm1.push(_2m1);
- _mm1.push(_0n1);
- _mm1.push(_Bj1);
- _mm1.push(_Fj1)
- };
- this._Dj1 = function(_0n1, _Bj1) {
- _mm1.push(_3m1);
- _mm1.push(_0n1);
- _mm1.push(_Bj1)
- };
- this._Pi1 = function(_1n1, _2n1) {
- _mm1.push(_4m1);
- _mm1.push(_1n1);
- _mm1.push(_2n1)
- };
- this._cj1 = function(_aj1, _3n1, _4n1) {
- _mm1.push(_5m1);
- _mm1.push(_aj1);
- _mm1.push(_3n1);
- _mm1.push(_4n1)
- };
- this._no = function(_Dk, _5n1, _6n1, _7n1) {
- _mm1.push(_6m1);
- _mm1.push(_Dk);
- _mm1.push(new Float32Array(_5n1));
- _mm1.push(new Float32Array(_6n1));
- _mm1.push(new Float32Array(_7n1))
- };
- this._4j1 = function(_b5) {
- _mm1.push(_7m1);
- _mm1.push(new Float32Array(_b5));
- };
- this._6j1 = function(_8n1) {
- _mm1.push(_8m1);
- _mm1.push(new Float32Array(_8n1))
- };
- this._po = function(_Dk, enable, _b5) {
- _mm1.push(_9m1);
- _mm1.push(_Dk);
- _mm1.push(enable);
- _mm1.push(_b5)
- };
- this._7j1 = function(_Bn, _9n1) {
- _mm1.push(_am1);
- _mm1.push(_Bn);
- _mm1.push(_9n1)
- };
- function _an1(_bt) {
- switch (_bt) {
- case _4c._Qk1:
- return _gh1.ZERO;
- case _4c._Rk1:
- return _gh1.ONE;
- case _4c._Sk1:
- return _gh1.SRC_COLOR;
- case _4c._Tk1:
- return _gh1.ONE_MINUS_SRC_COLOR;
- case _4c._Uk1:
- return _gh1.SRC_ALPHA;
- case _4c._Vk1:
- return _gh1.ONE_MINUS_SRC_ALPHA;
- case _4c._Wk1:
- return _gh1.ONE_MINUS_DST_ALPHA;
- case _4c._Xk1:
- return _gh1.DST_ALPHA;
- case _4c._Yk1:
- return _gh1.DST_COLOR;
- case _4c._Zk1:
- return _gh1.ONE_MINUS_DST_COLOR;
- case _4c.__k1:
- return _gh1.SRC_ALPHA_SATURATE;
- case _4c._0l1:
- return 0;
- case _4c._1l1:
- return 0;
- case _4c._2l1:
- return 0;
- case _4c._3l1:
- return 0;
- case _4c._4l1:
- return 0;
- case _4c._5l1:
- return 0
- }
- return 0
- }
- function _Fm1(_bt) {
- switch (_bt) {
- case _4c._kl1:
- return _gh1.KEEP;
- case _4c._ll1:
- return _gh1.ZERO;
- case _4c._ml1:
- return _gh1.REPLACE;
- case _4c._nl1:
- return _gh1.INCR;
- case _4c._ol1:
- return _gh1.DECR;
- case _4c._pl1:
- return _gh1.INVERT;
- case _4c._ql1:
- return _gh1.INCR;
- case _4c._rl1:
- return _gh1.DECR;
- default:
- return _gh1.KEEP
- }
- }
- function _Jm1(_bt) {
- switch (_bt) {
- case _4c._sl1:
- return _gh1.NEVER;
- case _4c._tl1:
- return _gh1.LESS;
- case _4c._ul1:
- return _gh1.EQUAL;
- case _4c._vl1:
- return _gh1.LEQUAL;
- case _4c._wl1:
- return _gh1.GREATER;
- case _4c._xl1:
- return _gh1.NOTEQUAL;
- case _4c._yl1:
- return _gh1.GEQUAL;
- case _4c._zl1:
- default:
- return _gh1.ALWAYS
- }
- }
- function _bn1(_1n1, _2n1) {
- switch (_1n1) {
- case _4c._Qi1:
- if (_2n1) {
- _gh1.enable(_gh1.DEPTH_TEST)
- } else {
- _gh1.disable(_gh1.DEPTH_TEST);
- }
- break;
- case _4c._Ui1:
- _gh1.depthMask(_2n1);
- break;
- case _4c._Ti1:
- _gh1.frontFace((_2n1 === _4c._Wn) ? _gh1.CW: _gh1.CCW);
- break;
- case _4c._Ri1:
- if (_2n1) {
- _gh1.enable(_gh1.CULL_FACE)
- } else {
- _gh1.disable(_gh1.CULL_FACE)
- }
- break;
- case _4c.__i1:
- _gh1.colorMask(_2n1._xk, _2n1._yk, _2n1._zk, _2n1.alpha);
- break;
- case _4c._nj1:
- if (_2n1) {
- _gh1.enable(_gh1.STENCIL_TEST)
- } else {
- _gh1.disable(_gh1.STENCIL_TEST)
- }
- break;
- case _4c._fl1:
- _Bm1._Km1 = _Fm1(_2n1);
- _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1);
- break;
- case _4c._gl1:
- _Bm1._Lm1 = _Fm1(_2n1);
- _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1);
- break;
- case _4c._sj1:
- _Bm1._Mm1 = _Fm1(_2n1);
- _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1);
- break;
- case _4c._pj1:
- _Bm1._Im1 = _Jm1(_2n1);
- _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1);
- break;
- case _4c._vj1:
- _Bm1._6r = _2n1;
- _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1);
- break;
- case _4c._hl1:
- _Bm1._Gm1 = _2n1;
- _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1);
- break;
- case _4c._il1:
- _gh1.stencilMask(_2n1);
- break
- }
- }
- function _cn1() {
- if (_qm1 && _qm1._li1) {
- _sm1[_fm1]._Vo(_sm1[_em1], _sm1[_cm1]);
- _sm1[_gm1]._Vo(_sm1[_fm1], _sm1[_dm1]);
- var _dn1 = new Float32Array(16 * _hm1);
- for (var _H3 = 0; _H3 < _hm1; _H3++) {
- _dn1.set(_sm1[_H3]._F9, _H3 * 16)
- }
- _gh1.uniformMatrix4fv(_qm1._li1, _gh1._en1, _dn1)
- }
- }
- function _fn1(_gn1) {
- if (_gn1 & _lm1) {
- if (_qm1._ni1 !== undefined) {
- _gh1.uniform1i(_qm1._ni1, _zm1)
- }
- if (_qm1._oi1 !== undefined) {
- _gh1.uniform1f(_qm1._oi1, _Am1)
- }
- }
- if ((_gn1 & _im1) && (_qm1._mi1 !== undefined)) {
- _gh1.uniform4fv(_qm1._mi1, _ym1)
- }
- if (_gn1 & _jm1) {
- if (_qm1._ri1 !== undefined) {
- _gh1.uniform4fv(_qm1._ri1, _um1)
- }
- if (_qm1._qi1 !== undefined) {
- _gh1.uniform4fv(_qm1._qi1, _vm1);
- }
- if (_qm1._si1 !== undefined) {
- _gh1.uniform4fv(_qm1._si1, _wm1)
- }
- }
- if ((_gn1 & _km1) && (_qm1._ti1 !== undefined)) {
- _gh1.uniform4fv(_qm1._ti1, _xm1)
- }
- }
- function _hn1(_Ye, _aj1) {
- if (_Ye === null || _Ye === undefined) {
- return
- }
- var _in1 = _tm1[_aj1];
- if (_in1 === null || _in1 === undefined) {
- return
- }
- var _jn1 = _in1._kn1;
- var _ln1 = _Ye._mn1._kn1;
- if (_jn1[_4c._jj1] != _ln1[_4c._jj1]) {
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, (_jn1[_4c._jj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST);
- _ln1[_4c._jj1] = _jn1[_4c._jj1]
- }
- if (_jn1[_4c._kj1] != _ln1[_4c._kj1]) {
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, (_jn1[_4c._kj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST);
- _ln1[_4c._kj1] = _jn1[_4c._kj1]
- }
- if (_jn1[_4c._dj1] != _ln1[_4c._dj1]) {
- if (_Ye._nn1) {
- var _on1 = (_jn1[_4c._dj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT;
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_WRAP_S, _on1)
- } else {
- debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_S")
- }
- _ln1[_4c._dj1] = _jn1[_4c._dj1]
- }
- if (_jn1[_4c._fj1] != _ln1[_4c._fj1]) {
- if (_Ye._nn1) {
- var _on1 = (_jn1[_4c._fj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT;
- _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_WRAP_T, _on1)
- } else {
- debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_T")
- }
- _ln1[_4c._fj1] = _jn1[_4c._fj1]
- }
- }
- this._Li1 = function() {
- var _H3, error, _gr, _Fi1, _pn1, _Ei1, _Ga, _Dk, _1b, enable;
- _H3 = 0;
- while (_H3 < _mm1.length) {
- switch (_mm1[_H3]) {
- case _Zl1:
- {
- var _yi1 = _mm1[_H3 + 1];
- _H3 += 2;
- _qm1 = _yi1;
- _gh1.useProgram(_qm1);
- _cn1();
- _fn1(0xff);
- break
- }
- case _Tl1:
- {
- _gh1.viewport(_mm1[_H3 + 1], _mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4]);
- _gh1.scissor(_mm1[_H3 + 1], _mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4]);
- _H3 += 5;
- break
- }
- case _Vl1:
- {
- _1b = _mm1[_H3 + 2];
- _gh1.clearColor((_1b & 0xff) / 255.0, ((_1b >> 8) & 0xff) / 255.0, ((_1b >> 16) & 0xff) / 255.0, ((_1b >> 24) & 0xff) / 255.0);
- _gh1.clear(_mm1[_H3 + 1]);
- _H3 += 3;
- break
- }
- case _Rl1:
- {
- _sm1[_dm1] = _mm1[_H3 + 1];
- _cn1();
- _H3 += 2;
- break
- }
- case _Sl1:
- {
- _sm1[_cm1] = _mm1[_H3 + 1];
- _cn1();
- _H3 += 2;
- break
- }
- case _Ql1:
- {
- _sm1[_em1] = _mm1[_H3 + 1];
- _cn1();
- _H3 += 2;
- break
- }
- case _Jl1:
- {
- _Ga = _mm1[_H3 + 1];
- _Ei1 = _mm1[_H3 + 2];
- _H3 += 3;
- if (_Ga === null) {
- _Ga = _Cm1;
- _gh1.activeTexture(_gh1.TEXTURE0 + _Ei1);
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1);
- _gh1.uniform1i(_qm1._ki1, 0);
- _rm1[_Ei1] = null
- } else {
- _gh1.activeTexture(_gh1.TEXTURE0 + _Ei1);
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1);
- _gh1.uniform1i(_qm1._ki1, 0);
- _hn1(_Ga, _Ei1);
- _rm1[_Ei1] = _Ga
- }
- break
- }
- case _Ul1:
- {
- var _2c = _mm1[_H3 + 1];
- _H3 += 2;
- if (_2c._qn1) {
- _2c._rn1()
- }
- _2c._sn1 = this._F8;
- _gh1.bindBuffer(_gh1.ARRAY_BUFFER, _2c._tn1);
- var _un1 = _2c._vn1;
- for (var _C9 = 0; _C9 < _qm1._ji1.length; _C9++) {
- if (_qm1._ji1[_C9] >= 0) {
- var _wn1 = _un1._fe[_C9];
- _gh1.enableVertexAttribArray(_qm1._ji1[_C9]);
- _gh1.vertexAttribPointer(_qm1._ji1[_C9], _wn1._xn1, _wn1._yn1, _wn1._zn1, _un1._le, _wn1._L3)
- }
- }
- }
- break;
- case _Kl1:
- {
- _gh1.drawArrays(_gh1.TRIANGLES, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Ll1:
- {
- _gh1.drawArrays(_gh1.TRIANGLE_FAN, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Ml1:
- {
- _gh1.drawArrays(_gh1.TRIANGLE_STRIP, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Nl1:
- {
- _gh1.drawArrays(_gh1.LINES, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Ol1:
- {
- _gh1.drawArrays(_gh1.LINE_STRIP, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Pl1:
- {
- _gh1.drawArrays(_gh1.POINTS, _mm1[_H3 + 1], _mm1[_H3 + 2]);
- _H3 += 3;
- break
- }
- case _Wl1:
- {
- _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _mm1[_H3 + 1]);
- _H3 += 2;
- break
- }
- case _Xl1:
- {
- _gh1.colorMask(_mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4], _mm1[_H3 + 1]);
- _H3 += 5;
- break
- }
- case _Yl1:
- {
- _gh1.blendFunc(_an1(_mm1[_H3 + 1]), _an1(_mm1[_H3 + 2]));
- _H3 += 3;
- break
- }
- case _4m1:
- {
- var _An1 = _mm1[_H3 + 1];
- var _Bn1 = _mm1[_H3 + 2];
- _H3 += 3;
- _bn1(_An1, _Bn1);
- break
- }
- case __l1:
- {
- _gr = _mm1[_H3 + 1];
- _Fi1 = _mm1[_H3 + 2];
- _H3 += 3;
- switch (_Fi1.length) {
- case 1:
- _gh1.uniform1iv(_gr, _Fi1);
- break;
- case 2:
- _gh1.uniform2iv(_gr, _Fi1);
- break;
- case 3:
- _gh1.uniform3iv(_gr, _Fi1);
- break;
- case 4:
- _gh1.uniform4iv(_gr, _Fi1);
- break
- }
- break
- }
- case _0m1:
- {
- _gr = _mm1[_H3 + 1];
- _Fi1 = _mm1[_H3 + 2];
- _H3 += 3;
- switch (_Fi1.length) {
- case 1:
- _gh1.uniform1fv(_gr, _Fi1);
- break;
- case 2:
- _gh1.uniform2fv(_gr, _Fi1);
- break;
- case 3:
- _gh1.uniform3fv(_gr, _Fi1);
- break;
- case 4:
- _gh1.uniform4fv(_gr, _Fi1);
- break
- }
- break
- }
- case _1m1:
- {
- _gr = _mm1[_H3 + 1];
- _Fi1 = _mm1[_H3 + 2];
- _pn1 = _mm1[_H3 + 3];
- _H3 += 4;
- switch (_pn1) {
- case 1:
- _gh1.uniform1iv(_gr, _Fi1);
- break;
- case 2:
- _gh1.uniform2iv(_gr, _Fi1);
- break;
- case 3:
- _gh1.uniform3iv(_gr, _Fi1);
- break;
- case 4:
- _gh1.uniform4iv(_gr, _Fi1);
- break
- }
- break
- }
- case _2m1:
- {
- _gr = _mm1[_H3 + 1];
- _Fi1 = _mm1[_H3 + 2];
- _pn1 = _mm1[_H3 + 3];
- _H3 += 4;
- switch (_pn1) {
- case 1:
- _gh1.uniform1fv(_gr, _Fi1);
- break;
- case 2:
- _gh1.uniform2fv(_gr, _Fi1);
- break;
- case 3:
- _gh1.uniform3fv(_gr, _Fi1);
- break;
- case 4:
- _gh1.uniform4fv(_gr, _Fi1);
- break
- }
- break
- }
- case _3m1:
- {
- _gr = _mm1[_H3 + 1];
- _Fi1 = _mm1[_H3 + 2];
- _H3 += 3;
- switch (_Fi1.length) {
- case 2:
- _gh1.uniformMatrix2fv(_gr, !1, _Fi1);
- break;
- case 3:
- _gh1.uniformMatrix3fv(_gr, !1, _Fi1);
- break;
- case 4:
- _gh1.uniformMatrix4fv(_gr, !1, _Fi1);
- break
- }
- break
- }
- case _5m1:
- {
- _Ei1 = _mm1[_H3 + 1];
- var _Lz = _mm1[_H3 + 2];
- var _Cn1 = _mm1[_H3 + 3];
- _H3 += 4;
- var _in1 = _tm1[_Ei1];
- _in1._kn1[_Lz] = _Cn1;
- _hn1(_rm1[_Ei1], _Ei1);
- break
- }
- case _6m1:
- {
- _Dk = _mm1[_H3 + 1];
- _um1.set(_mm1[_H3 + 2], _Dk * 4);
- _vm1.set(_mm1[_H3 + 3], _Dk * 4);
- _wm1.set(_mm1[_H3 + 4], _Dk * 4);
- _H3 += 5;
- _fn1(_jm1);
- break
- }
- case _7m1:
- {
- _xm1.set(_mm1[_H3 + 1]);
- _H3 += 2;
- _fn1(_km1);
- break
- }
- case _8m1:
- {
- _ym1.set(_mm1[_H3 + 1]);
- _H3 += 2;
- _fn1(_im1);
- break
- }
- case _9m1:
- {
- _Dk = _mm1[_H3 + 1];
- enable = _mm1[_H3 + 2];
- _1b = _mm1[_H3 + 3];
- _H3 += 4;
- if (enable) {
- _wm1.set(_1b, _Dk * 4)
- } else {
- var _go = _Dk * 4;
- _wm1[_go + 0] = 0;
- _wm1[_go + 1] = 0;
- _wm1[_go + 2] = 0;
- _wm1[_go + 3] = 0
- }
- _fn1(_jm1);
- break
- }
- case _am1:
- {
- _zm1 = _mm1[_H3 + 1];
- _Am1 = _mm1[_H3 + 2];
- _H3 += 3;
- _fn1(_lm1);
- break
- }
- case _bm1:
- {
- _Ga = _mm1[_H3 + 1];
- var _0a = _mm1[_H3 + 2];
- var _2a = _mm1[_H3 + 3];
- var canvas = _mm1[_H3 + 4];
- _H3 += 5;
- _gh1.activeTexture(_gh1.TEXTURE0);
- _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1);
- _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, _0a, _2a, _gh1.RGBA, _gh1.UNSIGNED_BYTE, canvas);
- if (_rm1.length > 0) {
- _gh1.bindTexture(_gh1.TEXTURE_2D, _rm1[0]._fk1)
- }
- break
- }
- }
- }
- _mm1.length = 0
- }
- }
- function _Nh1(_Dn1, _Aa, _Ba, _En1) {
- var _gh1 = this._Mh1;
- var _Fn1, _Gn1, _Hn1, _In1, _Jn1;
- Object.defineProperties(this, {
- _mn1: {
- get: function() {
- return _Fn1
- }
- },
- _fk1: {
- get: function() {
- return _Gn1
- }
- },
- _gk1: {
- get: function() {
- return _Hn1
- }
- },
- _hk1: {
- get: function() {
- return _In1
- }
- },
- _nn1: {
- get: function() {
- return _Jn1
- }
- }
- }); (function() {
- _Gn1 = _Dn1;
- _Hn1 = _Aa;
- _In1 = _Ba;
- _Jn1 = _En1;
- _Fn1 = new _Ph1();
- _Fn1._Kn1(_gh1.TEXTURE_2D)
- })()
- }
- function _Ph1(_Hl1) {
- var _gh1 = this._Mh1;
- var _Ln1 = [];
- Object.defineProperties(this, {
- _kn1: {
- get: function() {
- return _Ln1
- }
- }
- }); (function() {
- if (_Hl1) {
- _Ln1[_4c._jj1] = _4c._Al1;
- _Ln1[_4c._kj1] = _4c._Al1
- } else {
- _Ln1[_4c._jj1] = _4c._Bl1;
- _Ln1[_4c._kj1] = _4c._Bl1
- }
- _Ln1[_4c._dj1] = _4c._gj1;
- _Ln1[_4c._fj1] = _4c._gj1
- })();
- this._Kn1 = function(_xJ) {
- var _Mn1 = _Ln1;
- _gh1.texParameteri(_xJ, _gh1.TEXTURE_MAG_FILTER, (_Mn1[_4c._jj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST);
- _gh1.texParameteri(_xJ, _gh1.TEXTURE_MIN_FILTER, (_Mn1[_4c._kj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST);
- _gh1.texParameteri(_xJ, _gh1.TEXTURE_WRAP_S, (_Mn1[_4c._dj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT);
- _gh1.texParameteri(_xJ, _gh1.TEXTURE_WRAP_T, (_Mn1[_4c._fj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT)
- }
- }
- function _wd(__d, _Nn1, _On1) {
- var _gh1 = this._Mh1;
- this._Pn1;
- this._Jd;
- this._tn1;
- this._bc;
- this._dc;
- this._Rd;
- this._fc;
- this._vn1 = _Nn1;
- this._sn1 = -1;
- this._9c = 0;
- this._Qn1 = __d;
- this._qn1 = !1;
- _Rn1(this);
- function _Rn1(_zH) {
- _Sn1(_zH);
- _Tn1(_zH);
- if (_On1) {
- _Un1(_zH)
- }
- }
- function _Sn1(_zH) {
- var _Vn1 = _zH._vn1._le;
- _zH._Pn1 = new ArrayBuffer(__d * _Vn1);
- _zH._Jd = new Int8Array(_zH._Pn1)
- }
- function _Un1(_zH) {
- _zH._tn1 = _gh1.createBuffer();
- _gh1.bindBuffer(_gh1.ARRAY_BUFFER, _zH._tn1);
- _gh1.bufferData(_gh1.ARRAY_BUFFER, _zH._Jd, _gh1.DYNAMIC_DRAW)
- }
- function _Tn1(_zH) {
- var _Wn1 = _zH._vn1._fe;
- for (var _C9 = 0; _C9 < _Wn1.length; _C9++) {
- var _wn1 = _Wn1[_C9];
- switch (_wn1._he) {
- case _4c._ue:
- _zH._bc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3);
- break;
- case _4c._ze:
- _zH._dc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3);
- break;
- case _4c._Je:
- _zH._Rd = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3);
- break;
- case _4c._He:
- _zH._fc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3);
- break
- }
- }
- }
- function _Xn1(_Yn1, _Zn1, __n1) {
- switch (_Yn1) {
- case _gh1.UNSIGNED_BYTE:
- return (new Int32Array(_Zn1, __n1));
- break;
- case _gh1.FLOAT:
- return (new Float32Array(_Zn1, __n1));
- break
- }
- return ! 1
- }
- this._0o1 = function(_zk1) {
- if (_zk1._8c() === this._8c()) {
- var _Ue = _zk1._9c * _zk1._8c();
- var _L3 = this._9c * this._8c();
- if ((_L3 + _Ue) > this._Jd.length) {
- var _1o1 = new ArrayBuffer(this._Jd.length * 2);
- var _Id = new Int8Array(_1o1);
- _Id.set(this._Jd);
- this._Jd = _Id;
- this._Pn1 = _1o1;
- _Tn1(this)
- }
- this._Jd.set(_zk1._Jd.subarray(0, _Ue), _L3);
- this._9c += _zk1._9c
- }
- };
- this._Se = function() {
- if (this._9c < this.max) {
- var _Ue = this._9c * this._8c();
- var _2o1 = new ArrayBuffer(_Ue);
- var _3o1 = new Int8Array(_2o1);
- _3o1.set(this._Jd.subarray(0, _Ue));
- this._Jd = _3o1;
- this._Pn1 = _2o1
- }
- this._tn1 = _gh1.createBuffer();
- _gh1.bindBuffer(_gh1.ARRAY_BUFFER, this._tn1);
- _gh1.bufferData(_gh1.ARRAY_BUFFER, this._Jd, _gh1.STATIC_DRAW);
- this._bc = null;
- this._dc = null;
- this._Rd = null;
- this._fc = null
- };
- this._zd = function(_4o1) {
- if ((this._9c + _4o1) > this.max) {
- var _5o1 = this.max * 2;
- this.max = _5o1;
- var _ne = new ArrayBuffer(_5o1);
- var _pe = new Int8Array(_ne);
- _pe.set(this._Jd);
- this._Pn1 = _ne;
- _Tn1(this)
- }
- this._9c += _4o1
- };
- this._8c = function() {
- return this._vn1._le
- };
- this._rn1 = function() {
- _gh1.bindBuffer(_gh1.ARRAY_BUFFER, this._tn1);
- var _6o1 = new Int8Array(this._Pn1, 0, this._9c * this._vn1._le);
- _gh1.bufferSubData(_gh1.ARRAY_BUFFER, 0, _6o1);
- this._9c = 0;
- this._qn1 = !1
- }
- }
- function _Ih1(_7o1) {
- var _gh1 = this._Mh1;
- var _8o1 = [];
- var _9o1 = 0,
- _nm1 = null,
- _ao1 = null,
- _bo1 = _4c._Dk1,
- _om1 = null;
- var _co1 = _7o1;
- this._0i1 = function(_re) {
- if (_8o1[_re]) {
- debug("WARNING: Vertex format has already been registered\n")
- } else {
- _8o1[_re] = new _Th()
- }
- };
- this._Bk1 = function(_nd, _Ye, _zk1, _Ak1) {
- var _x3 = _zk1._9c - _Ak1;
- switch (_nd) {
- case _4c._5c:
- _co1._Jj1(0, _Ye);
- _co1._Om1(_zk1);
- _co1._Qm1(_Ak1, _x3);
- break;
- case _4c._sd:
- _co1._Jj1(0, _Ye);
- _co1._Om1(_zk1);
- _co1._Tm1(_Ak1, _x3);
- break;
- case _4c._rd:
- _co1._Jj1(0, _Ye);
- _co1._Om1(_zk1);
- _co1._Um1(_Ak1, _x3);
- break;
- case _4c._pd:
- _co1._Jj1(0, null);
- _co1._Om1(_zk1);
- _co1._Vm1(_Ak1, _x3);
- break;
- case _4c._qd:
- _co1._Jj1(0, null);
- _co1._Om1(_zk1);
- _co1._Wm1(_Ak1, _x3);
- break;
- case _4c._od:
- _co1._Jj1(0, null);
- _co1._Om1(_zk1);
- _co1._S21(_Ak1, _x3);
- break
- }
- };
- this._fi1 = function() {
- if (_ao1 == null) return;
- this._Bk1(_bo1, _nm1, _ao1, _9o1);
- _ao1 = _nm1 = null;
- _bo1 = _4c._Dk1
- };
- this._3c = function(_nd, _do1, _re, _eo1, _Nn1, _fo1) {
- var _H3, _go1, _2c, _ho1;
- _ho1 = _do1;
- if (_ao1 != null) {
- if ((_ao1._6i1 == _re) && ((_ao1._9c + _eo1) <= _ao1._Qn1) && (_nm1 == _ho1) && (_bo1 == _nd) && ((_nd != _4c._qd) && (_nd != _4c._rd) && (_nd != _4c._sd))) {
- return _ao1
- } else {
- var _io1 = _ao1;
- this._fi1();
- if ((_io1._6i1 == _re) && ((_io1._9c + _eo1) <= _io1._Qn1)) {
- _ao1 = _io1;
- _9o1 = _io1._9c;
- _bo1 = _nd;
- _nm1 = _ho1;
- return _ao1
- }
- }
- }
- _bo1 = _nd;
- _nm1 = _ho1;
- _go1 = _8o1[_re]._3i;
- for (_H3 = _go1.length - 1; _H3 >= 0; _H3--) {
- _2c = _go1[_H3];
- if ((_2c._sn1 != _fo1) && (_2c._9c + _eo1) <= _2c._Qn1) {
- _2c._qn1 = !0;
- _9o1 = _2c._9c;
- _ao1 = _2c;
- return _2c
- }
- }
- if (_eo1 < _xd) {
- _eo1 = _xd
- }
- _2c = new _wd(_eo1, _Nn1, !0);
- _2c._6i1 = _re;
- _2c._qn1 = !0;
- _9o1 = _2c._9c;
- _ao1 = _2c;
- _8o1[_re]._Wh(_2c);
- return _2c
- }
- }
- function _Oh1() {
- var _gh1 = this._Mh1;
- var _jo1 = 1;
- var _ko1 = [],
- _lo1 = 0,
- _mo1 = 0;
- Object.defineProperties(this, {
- _fe: {
- get: function() {
- return _ko1
- },
- set: function(_cf) {
- _ko1 = _cf
- }
- },
- _ke: {
- get: function() {
- return _mo1
- },
- set: function(_cf) {
- _mo1 = _cf
- }
- },
- _le: {
- get: function() {
- return _lo1
- },
- set: function(_cf) {
- _lo1 = _cf
- }
- }
- });
- function _Wh(_ce, _be, _no1) {
- _mo1 |= _no1;
- var _wn1 = {
- _L3: _lo1,
- type: _ce,
- _he: _be,
- _ie: _no1,
- _yn1: 0,
- _xn1: 0
- };
- switch (_ce) {
- case _4c._Ae:
- case _4c._Re:
- _lo1 += 4;
- _wn1._yn1 = _gh1.UNSIGNED_BYTE;
- _wn1._xn1 = 4;
- _wn1._zn1 = !0;
- break;
- case _4c._Le:
- _lo1 += 4;
- _wn1._yn1 = _gh1.FLOAT;
- _wn1._xn1 = 1;
- _wn1._zn1 = !1;
- break;
- case _4c._ve:
- _lo1 += 8;
- _wn1._yn1 = _gh1.FLOAT;
- _wn1._xn1 = 2;
- _wn1._zn1 = !1;
- break;
- case _4c._xe:
- _lo1 += 12;
- _wn1._yn1 = _gh1.FLOAT;
- _wn1._xn1 = 3;
- _wn1._zn1 = !1;
- break;
- case _4c._Pe:
- _lo1 += 16;
- _wn1._yn1 = _gh1.FLOAT;
- _wn1._xn1 = 4;
- _wn1._zn1 = !1;
- break
- }
- _ko1.push(_wn1)
- }
- this._Yh1 = function() {
- _Wh(_4c._ve, _4c._ue, _jo1);
- _jo1 = _jo1 << 1
- };
- this._2i1 = function() {
- _Wh(_4c._xe, _4c._ue, _jo1);
- _jo1 = _jo1 << 1
- };
- this._Zh1 = function() {
- _Wh(_4c._Ae, _4c._ze, _jo1);
- _jo1 = _jo1 << 1
- };
- this._3i1 = function() {
- _Wh(_4c._xe, _4c._Je, _jo1);
- _jo1 = _jo1 << 1
- };
- this.__h1 = function() {
- _Wh(_4c._ve, _4c._He, _jo1);
- _jo1 = _jo1 << 1
- };
- this._oo1 = function(_ce, _be) {
- if ((_ce < _4c._Le) || (_ce > _4c._Pk1)) {
- debug("ERROR vertex_format_add_custom: illegal types");
- return
- }
- if ((_be < _4c._ue) || (_be > _4c._Ok1)) {
- debug("ERROR vertex_format_add_custom: illegal usage");
- return
- }
- _Wh(_ce, _be, _jo1);
- _jo1 = _jo1 << 1
- };
- this._gN = function(_5i1) {
- if (_ko1.length !== _5i1._fe.length) {
- return ! 1
- }
- for (var _H3 = 0; _H3 < _ko1.length; _H3++) {
- var _po1 = _ko1[_H3];
- var _qo1 = _5i1._fe[_H3];
- if ((_po1._L3 !== _qo1._L3) || (_po1.type !== _qo1.type) || (_po1._he !== _qo1._he) || (_po1._ie !== _qo1._ie) || (_po1._yn1 !== _qo1._yn1) || (_po1._xn1 !== _qo1._xn1)) {
- return ! 1
- }
- }
- return ! 0
- }
- }
- function _ro1() {
- _Bx = _so1;
- _Dx = _to1;
- _Ex = _uo1;
- _Fx = _vo1;
- _Gx = _wo1;
- _Bi = function() {
- try {
- return window["GetHardwareId"]()
- } catch(e) {
- var id = 0xFF5025da3ad78cac9;
- return id.toString()
- }
- }
- }
- function _xo1() {
- _Cx({
- type: _px,
- status: _ux
- })
- }
- function _yo1() {
- _Cx({
- type: _px,
- status: _vx
- })
- }
- function _so1(_zo1) {
- window["buildStoreProxyFile"](_zo1, _Ao1,
- function() {
- window["activateStore"](function() {
- window["synchroniseProducts"](function(_Bo1) {
- _Cx({
- type: _qx,
- _0y: _Bo1
- })
- },
- function(_Bo1) {
- _Cx({
- type: _rx,
- _0y: _Bo1
- })
- },
- _yo1, _xo1)
- },
- _xo1)
- },
- _xo1)
- }
- function _to1() {
- window["restorePurchases"](function(_Co1) {
- _Cx({
- type: _tx,
- _8j: _Co1
- })
- })
- }
- function _uo1(_Ch, _Do1) {
- window["purchaseContent"](_Ch, _Do1,
- function(_Bo1) {
- _Cx({
- type: _rx,
- _0y: _Bo1
- })
- },
- function(_Bo1) {
- _Cx({
- type: _rx,
- _0y: _Bo1
- })
- })
- }
- function _vo1(_Ch) {
- window["consumeContent"](_Ch,
- function(_Bo1) {
- _Cx({
- type: _sx,
- _0y: _Bo1
- })
- },
- function(_Bo1) {
- _Cx({
- type: _sx,
- _0y: _Bo1
- })
- })
- }
- function _wo1(_Ch) {
- var response = "{ \"response\":6 }";
- _Cx({
- type: _qx,
- _0y: response
- })
- }
- function _Ao1(_zo1, _Eo1) {
- var _Fo1 = "<?xml version=\"1.0\" encoding=\"utf-16\" ?>\r\n" + "<CurrentApp>\r\n" + " <ListingInformation>\r\n" + " <App>\r\n" + " <AppId>00000000-0000-0000-0000-000000000000</AppId>\r\n" + " <LinkUri></LinkUri>\r\n" + " <CurrentMarket>en-US</CurrentMarket>\r\n" + " <AgeRating>3</AgeRating>\r\n" + " <MarketData xml:lang=\"en-us\">\r\n" + " <Name>In-app purchases</Name>\r\n" + " <Description>AppDescription</Description>\r\n" + " <Price>0.99</Price>\r\n" + " <CurrencySymbol>$</CurrencySymbol>\r\n" + " <CurrencyCode>USD</CurrencyCode>\r\n" + " </MarketData>\r\n" + " </App>\r\n";
- var _Go1 = " <Product ProductId=\"PRODUCT_ID\" LicenseDuration=\"0\">\r\n" + " <MarketData xml:lang=\"en-us\">\r\n" + " <Name>PRODUCT_NAME</Name>\r\n" + " <Price>PRODUCT_PRICE</Price>\r\n" + " <CurrencySymbol>$</CurrencySymbol>\r\n" + " <CurrencyCode>USD</CurrencyCode>\r\n" + " </MarketData>\r\n" + " </Product>\r\n";
- var _Ho1 = " </ListingInformation>\r\n" + " <LicenseInformation>\r\n" + " <App>\r\n" + " <IsActive>true</IsActive>\r\n" + " <IsTrial>false</IsTrial>\r\n" + " </App>\r\n";
- var _Io1 = " <Product ProductId=\"PRODUCT_ID\">\r\n" + " <IsActive>PRODUCT_ACTIVE</IsActive>\r\n" + " </Product>\r\n";
- var _Jo1 = " </LicenseInformation>\r\n" + "</CurrentApp>\r\n";
- var _Ko1 = _Fo1;
- for (var _mv = 0; _mv < _zo1.length; _mv++) {
- var product = _zo1[_mv];
- var _Jx = "1.00";
- if ((product._Jx != null) && (product._Jx != undefined) && (product._Jx != "")) {
- _Jx = product._Jx;
- if (typeof(_Jx) == "number") {
- _Jx = _Jx.toString()
- }
- _Jx = _Jx.replace("$", "");
- _Jx = _Jx.replace("�", "")
- }
- var _Lo1 = _Go1.replace("PRODUCT_ID", product._Ix);
- _Lo1 = _Lo1.replace("PRODUCT_NAME", product.title);
- _Lo1 = _Lo1.replace("PRODUCT_PRICE", _Jx);
- _Ko1 += _Lo1
- }
- _Ko1 += _Ho1;
- for (var _mv = 0; _mv < _zo1.length; _mv++) {
- var product = _zo1[_mv];
- var _Mo1 = _Eo1[product._Ix];
- var _No1 = (_Mo1 == null || _Mo1 == undefined) ? !1 : _Mo1;
- var _Oo1 = _Io1.replace("PRODUCT_ID", product._Ix).replace("PRODUCT_ACTIVE", _No1 ? "true": "false");
- _Ko1 += _Oo1
- }
- _Ko1 += _Jo1;
- return _Ko1
- }
- var _Po1 = null;;
- function _Qo1() {
- _Ro1 = !1;
- if (_Up) {
- var _So1 = _Up.document.getElementById('debug_console');
- if ((_So1 != undefined) && (_So1 != null)) {
- _So1.style.display = "none"
- }
- }
- _bI = canvas.width = window.outerWidth;
- _cI = canvas.height = window.outerHeight;
- _To1 = !0
- }
- var _Uo1 = [];
- function _Vo1(_Zg) {
- for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) {
- if (_Uo1[_Wo1] === _Zg) {
- return _Wo1
- }
- }
- return - 1
- }
- function _Xo1(_Yo1) {
- var _0h = -1;
- var _Zo1 = !0;
- for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) {
- if (_Uo1[_Wo1] !== -1) {
- _Zo1 = !1;
- break
- }
- }
- for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) {
- if (_Wo1 === 0 && _Zo1 === !1) {
- continue
- }
- if ((_Uo1[_Wo1] === _Yo1) || (_Uo1[_Wo1] === -1)) {
- _0h = _Wo1;
- break
- }
- }
- if (_0h == -1) {
- _0h = _Uo1.length
- }
- _Uo1[_0h] = _Yo1;
- _1h[_0h] = new _Gg();
- return _0h
- }
- function __o1(_0p1, _V8, _W8) {
- var _0h = _Vo1(_0p1);
- if (_0h == 0) {
- return
- }
- if (_0h == -1) {
- _0h = _1p1(_0p1, _V8, _W8)
- } else {
- if (_0h == 0) {
- if (_dh != null) {
- _eh = _V8;
- _fh = _W8
- }
- _gh = 1
- }
- _1h[_0h]._f3 = _V8;
- _1h[_0h]._g3 = _W8;
- _hh[_0h]._f3 = _V8;
- _hh[_0h]._g3 = _W8
- }
- }
- function _1p1(_0p1, _V8, _W8) {
- var _0h = _Xo1(_0p1);
- if (_0h == 0) {
- return
- }
- if (_0h == 0) {
- if (_dh != null) {
- _eh = _V8;
- _fh = _W8
- }
- _gh = 1
- }
- _1h[_0h]._f3 = _V8;
- _1h[_0h]._g3 = _W8;
- _hh[_0h]._f3 = _V8;
- _hh[_0h]._g3 = _W8;
- _1h[_0h]._nf = 1;
- _hh[_0h]._ih = _jh | _kh | _lh;
- return _0h
- }
- function _2p1(_0p1, _V8, _W8) {
- var _0h = _Vo1(_0p1);
- _Uo1[_0h] = -1;
- if (_0h == 0) {
- return
- }
- if (_0h == 0) {
- if (_dh != null) {
- _eh = _V8;
- _fh = _W8
- }
- _gh = 0
- }
- _1h[_0h]._f3 = _V8;
- _1h[_0h]._g3 = _W8;
- _hh[_0h]._f3 = _V8;
- _hh[_0h]._g3 = _W8;
- _1h[_0h]._nf = 0;
- _hh[_0h]._ih = 0
- }
- function _3p1(_0p1, _V8, _W8) {
- var _0h = _Vo1(_0p1);
- _2p1(_0p1, _V8, _W8)
- }
- function gse(_4p1, _5p1) {
- switch (_4p1) {
- case "resize":
- return _Qo1;
- case "loading":
- if (!_Yp._A5._6p1) {
- _7p1 = _5p1;
- return ! 0
- }
- return ! 1;
- case "onloaded":
- if (!_Yp._A5._6p1) {
- _8p1 = _5p1
- }
- break;
- case "console":
- if (!_Yp._A5._6p1) {
- _9p1 = function() {};
- _ap1 = function() {}
- }
- debug = _bp1;
- _Zp = _cp1;
- break;
- case "pause":
- _dp1(_5p1);
- break;
- case "mousescale":
- _ep1 = function(_fp1) {
- var _E3 = canvas.width / window.outerWidth;
- var _F3 = canvas.height / window.outerHeight;
- _eh = _fp1.pageX * _E3;
- _fh = _fp1.pageY * _F3;
- _hh[_fp1.button]._f3 = _eh;
- _hh[_fp1.button]._g3 = _fh
- };
- break;
- case "ontouchmove":
- __o1(arguments[1], arguments[2], arguments[3]);
- break;
- case "ontouchdown":
- _1p1(arguments[1], arguments[2], arguments[3]);
- break;
- case "ontouchup":
- _2p1(arguments[1], arguments[2], arguments[3]);
- break;
- case "ontouchcancel":
- _3p1(arguments[1], arguments[2], arguments[3]);
- break;
- case "browser":
- _yz = _gp1;
- _hp1 = _ip1;
- _zJ = arguments[1];
- _jp1 = _kp1;
- _lp1 = _mp1;
- break;
- case "cmd_line":
- _np1(arguments[1]);
- break;
- case "iap":
- _ro1();
- break;
- case "async":
- _op1(arguments[1]);
- break;
- case "dpi":
- _Gu = _Hu = arguments[1];
- break;
- case "language":
- _zt = arguments[1];
- break;
- case "ads":
- _KJ = arguments[1];
- _LJ = arguments[2];
- _MJ = arguments[3];
- return _pp1;
- case "analytics":
- _Nt = arguments[1];
- _Ot = arguments[2];
- return _qp1;
- }
- }
- function _pp1(_7z) {
- if (_Yp._rp1) {
- var _sp1 = {
- "appId": _Yp._rp1._tp1,
- "unitId": _Yp._rp1._up1[_7z]._vp1,
- "size": _Yp._rp1._up1[_7z]._x3
- };
- return _sp1
- }
- return null
- }
- function _qp1() {
- if (_Yp._wp1) {
- return _Yp._wp1._tp1
- }
- return null
- }
- function _np1(_xp1) {
- if (_xp1 == "" || _xp1 == null || _xp1 == undefined) {
- return
- }
- try {
- var __h = _xp1.split('&');
- for (var _yp1 in __h) {
- var _BR = __h[_yp1].split('=');
- _zp1[_zp1.length] = _BR[0];
- _Ap1[_Ap1.length] = _BR[1];
- _Bp1++
- }
- } catch(e) {
- alert(e._Cp1 + ". Malformed command line parameters: \"" + _xp1 + "\"")
- }
- }
- function _op1(_Dp1) {
- _Fq = function(_bq) {
- _fq = "win8AsyncMessageDialog";
- _xq._Wh(_bq.id, null, _yq, _fq);
- _Dp1[0](_bq._kq[0],
- function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = 1
- },
- function() {
- _hq = !1;
- _tq(_bq.id)
- })
- };
- _Dq = function(_bq) {
- _fq = "win8AsyncQuestionDialog";
- _xq._Wh(_bq.id, null, _yq, _fq);
- _Dp1[1](_bq._kq[0],
- function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = 1
- },
- function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = 0
- },
- function() {
- _hq = !1;
- _tq(_bq.id)
- })
- };
- _zq = function(_bq) {
- _fq = "win8AsyncInputDialog";
- _xq._Wh(_bq.id, null, _yq, _fq);
- _Dp1[2](_bq._kq[0],
- function() {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = "";
- _nq._mq = "";
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _nq._qq = 0
- },
- function() {
- _hq = !1;
- _tq(_bq.id)
- })
- };
- _aq = function(_bq) {
- _fq = "win8AsyncLoginDialog";
- _xq._Wh(_bq.id, null, _yq, _fq);
- _Dp1[3](function(_lq, _mq) {
- var _nq = _oq(_fq);
- if (!_nq) return;
- _nq._lq = _lq;
- _nq._mq = _mq;
- _nq._qq = 1;
- _nq.value = 0;
- _nq._8j = "";
- _nq._pq = !0;
- _hq = !1;
- _tq(_bq.id)
- })
- }
- }
- function _ip1(_ce, _lz, _nz, _Bz) {
- try {
- var _uz = new XMLHttpRequest();
- if (_Bz) {
- _xq._Wh(_Dz, _lz, _Ez, _uz)
- }
- _uz.open(_ce, _lz);
- _uz.ontimeout = function(_fr) {
- _jz(_fr, _uz)
- };
- _uz.onerror = function(_fr) {
- _jz(_fr, _uz)
- };
- _uz.onload = function(_fr) {
- _iz(_fr, _uz)
- };
- _uz._qz = function() {};
- _uz.send(_nz)
- } catch(e) {
- return - 1
- }
- return _Dz++
- }
- function _bp1() {
- if (_Tp) {
- for (var index = 0; index < arguments.length; ++index) {}
- }
- }
- function _cp1(__p) {
- if (_Tp) {
- if (!_Mp[__p]) {
- _Mp[__p] = !0;
- alert(__p);
- }
- }
- }
- function _kp1(_lz, _Ep1) {
- var _uz = {
- responseText: "",
- status: -1
- };
- _xq._Wh(_Dz, _lz, _Ez, _uz);
- window["downloadFile"](_lz, _Ep1,
- function(_Fp1) {
- _uz.responseText = _Fp1;
- _uz.status = 200;
- _iz(null, _uz)
- },
- function(e) {
- _uz.responseText = e.message;
- _uz.status = e._Gp1;
- _jz(null, _uz)
- });
- return _Dz++
- }
- function _mp1(_Hp1, _Ip1) {
- return window["unzipContent"](_Hp1, _Ip1,
- function(_Jp1, _Kp1) {
- debug("zip_unzip() returned " + _Jp1 + " entries successfully")
- },
- function(_Jp1, _Kp1) {
- debug("zip_unzip() returned " + _Jp1 + " entries with errors")
- })
- }
- function _Lp1(_bb) {
- return (((_bb._T9 * 255) & 0xff) << 0) | (((_bb._jb * 255) & 0xff) << 8) | (((_bb._W9 * 255) & 0xff) << 16)
- }
- function _Mp1(_rb, _LO, _bb) {
- _Y6(_Lp1(_bb));
- var scale = 1.0 / this._Np1._lD;
- for (var _C9 = 0; _C9 < _LO; ++_C9) {
- var _Op1 = _rb[_C9];
- var _Pp1 = _rb[(_C9 + 1) % _LO];
- _qb(_Op1._f3 * scale, _Op1._g3 * scale, _Pp1._f3 * scale, _Pp1._g3 * scale)
- }
- }
- function _Qp1(_rb, _LO, _bb) {
- _Y6(_Lp1(_bb));
- var scale = 1.0 / this._Np1._lD;
- var _Op1 = _rb[0];
- for (var _C9 = 2; _C9 < _LO; ++_C9) {
- var _Pp1 = _rb[_C9 - 1];
- var _Rp1 = _rb[_C9];
- _dw(_Op1._f3 * scale, _Op1._g3 * scale, _Pp1._f3 * scale, _Pp1._g3 * scale, _Rp1._f3 * scale, _Rp1._g3 * scale, !1)
- }
- }
- function _Sp1(_OO, _PO, _bb) {
- _Y6(_Lp1(_bb));
- var scale = 1.0 / this._Np1._lD;
- _Dw((_OO._f3 - _PO) * scale, (_OO._g3 - _PO) * scale, (_OO._f3 + _PO) * scale, (_OO._g3 + _PO) * scale, !0)
- }
- function _Tp1(_OO, _PO, _RO, _bb) {
- _Y6(_Lp1(_bb));
- var scale = 1.0 / this._Np1._lD;
- _Dw((_OO._f3 - _PO) * scale, (_OO._g3 - _PO) * scale, (_OO._f3 + _PO) * scale, (_OO._g3 + _PO) * scale, !1)
- }
- function _Up1(_TO, _UO, _bb) {
- _Y6(_Lp1(_bb));
- var scale = 1.0 / this._Np1._lD;
- _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale)
- }
- function _Vp1(_ON) {
- var _Wp1 = 0.4;
- var scale = 1.0 / this._Np1._lD;
- var _TO = _ON._mv,
- _UO = new _Xp1._Yp1();
- _UO._f3 = _TO._f3 + _Wp1 * _ON._fu._LN()._f3;
- _UO._g3 = _TO._g3 + _Wp1 * _ON._fu._LN()._g3;
- _Y6(_Zp1);
- _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale);
- _UO._f3 = _TO._f3 + _Wp1 * _ON._fu._MN()._f3;
- _UO._g3 = _TO._g3 + _Wp1 * _ON._fu._MN()._g3;
- _Y6(__p1);
- _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale)
- }
- function _0q1(_XO, _PO, _YO, _Ea) {
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- var scale = 1.0 / this._Np1._lD;
- _Y6(((_YO[_C9]._T9 & 0xff) << 0) | ((_YO[_C9]._jb & 0xff) << 8) | ((_YO[_C9]._W9 & 0xff) << 16));
- _Dw((_XO[_C9]._f3 - _PO) * scale, (_XO[_C9]._g3 - _PO) * scale, (_XO[_C9]._f3 + _PO) * scale, (_XO[_C9]._g3 + _PO) * scale, !0)
- }
- }
- function _QC(_SC) {
- this._0Z = 0;
- this._1Z = 0;
- this._1q1 = _SC;
- this._2q1 = !1;
- this._3q1 = !0;
- this._4q1 = !1;
- this._5q1 = new _Xp1._6q1();
- this._2Q = null
- };
- _QC.prototype._jD = function(_7q1) {
- this._2Q = null;
- this._5q1._DP = new _Xp1._8q1();
- this._5q1._DP._iP = _7q1
- };
- _QC.prototype._nD = function() {
- this._2Q = [];
- this._5q1._DP = new _Xp1._9q1()
- };
- _QC.prototype._rD = function(_V8, _W8) {
- var _LO = this._2Q.length;
- this._2Q[_LO] = new _Xp1._Yp1(_V8, _W8)
- };
- _QC.prototype._aq1 = function() {
- if (this._2Q === null || this._2Q === undefined) {
- return ! 0
- }
- if (this._5q1._DP._hP === _Xp1._bq1._yP) {
- if (this._2Q.length > 2) {
- this._5q1._DP._gi(this._2Q, this._2Q.length);
- return ! 0
- }
- } else if (this._5q1._DP._hP === _Xp1._bq1._zP) {
- if (this._4q1) {
- if (this._2Q.length >= 3) {
- this._5q1._DP._9Q(this._2Q, this._2Q.length);
- return ! 0
- }
- } else {
- if (this._2Q.length >= 2) {
- this._5q1._DP._aQ(this._2Q, this._2Q.length);
- return ! 0
- }
- }
- }
- return ! 1
- };
- _QC.prototype._5D = function(_4D) {
- this._5q1._K_._J_ = _4D
- };
- _QC.prototype._2D = function(_1D) {
- this._5q1._L_ = _1D
- };
- _QC.prototype.__C = function(_ZC) {
- this._5q1._M_ = _ZC
- };
- _QC.prototype._XC = function(_WC) {
- this._5q1._sP = _WC
- };
- _QC.prototype._8D = function(_cq1) {
- this._5q1._N_ = _cq1
- };
- _QC.prototype._bD = function(_aD) {
- this._0Z = _aD
- };
- _QC.prototype._dD = function(_aD) {
- this._1Z = _aD
- };
- _QC.prototype._dD = function(_aD) {
- this._1Z = _aD
- };
- _QC.prototype._gD = function(_fD) {
- this._3q1 = _fD
- };
- _QC.prototype._UC = function() {
- this._2q1 = !0
- };
- var _dq1 = 0,
- _eq1 = 1,
- _fq1 = 2,
- _gq1 = 3,
- _hq1 = 4,
- _iq1 = 5,
- _jq1 = 6,
- _kq1 = 7,
- _lq1 = 8,
- _mq1 = 9,
- _nq1 = 10,
- _oq1 = 11,
- _pq1 = 12,
- _qq1 = 13,
- _rq1 = 14,
- _sq1 = 15,
- _tq1 = 16,
- _uq1 = 17,
- _vq1 = 18,
- _wq1 = 19,
- _xq1 = 20,
- _yq1 = 21,
- _zq1 = 22,
- _Aq1 = 23,
- _Bq1 = 24;
- function _Cq1(_Dq1) {
- this._Eq1 = _Dq1
- };
- _Cq1.prototype._Zb1 = function(_Fq1) {
- if ((this._Eq1 instanceof _Xp1._Gq1) || (this._Eq1 instanceof _Xp1._Hq1) || (this._Eq1 instanceof _Xp1._Iq1)) {
- this._Eq1._H21()._gD(!0);
- this._Eq1._I21()._gD(!0);
- this._Eq1._Zb1(_Fq1)
- }
- };
- function _Jq1(_Kq1, _Lq1, _tD, _uD) {
- this._Mq1 = _Kq1;
- this._Nq1 = _Lq1;
- this._Oq1 = new _Xp1._Yp1(_tD, _uD);
- this._Pq1 = []
- };
- _Jq1.prototype._QZ = function(_Qq1, _Rq1, _Sq1, _Tq1) {
- this._Mq1._QZ(new _Xp1._Yp1(_Sq1, _Tq1), new _Xp1._Yp1(_Qq1, _Rq1), !0)
- };
- _Jq1.prototype._YZ = function(_Uq1) {
- this._Mq1._YZ(_Uq1, !0)
- };
- _Jq1.prototype._UZ = function(_Vq1) {
- this._Mq1._UZ(_Vq1, !0)
- };
- _Jq1.prototype._Wq1 = function(_Xq1) {
- var position = this._Mq1._JC();
- this._Mq1._IZ(position, (_Xq1 * Math.PI) / 180.0);
- this._Mq1._gD(!0)
- };
- _Jq1.prototype._Yq1 = function(_2i) {
- var _0b = this._Mq1._KN();
- var _Zq1 = this._Mq1._JC()._g3;
- this._Mq1._IZ(new _Xp1._Yp1(_2i, _Zq1), _0b);
- this._Mq1._gD(!0)
- };
- _Jq1.prototype.__q1 = function(_2i) {
- var _0b = this._Mq1._KN();
- var _0r1 = this._Mq1._JC()._f3;
- this._Mq1._IZ(new _Xp1._Yp1(_0r1, _2i), _0b);
- this._Mq1._gD(!0)
- };
- _Jq1.prototype._OZ = function(_1r1) {
- this._Mq1._OZ((_1r1 * Math.PI) / 180.0);
- this._Mq1._gD(!0)
- };
- _Jq1.prototype._2r1 = function(_3r1) {
- var _4r1 = this._Mq1._NZ();
- this._Mq1._MZ(new _Xp1._Yp1(_3r1, _4r1._g3));
- this._Mq1._gD(!0)
- };
- _Jq1.prototype._5r1 = function(_3r1) {
- var _4r1 = this._Mq1._NZ();
- this._Mq1._MZ(new _Xp1._Yp1(_4r1._f3, _3r1));
- this._Mq1._gD(!0)
- };
- _Jq1.prototype._l_ = function(_6r1) {
- this._Mq1._l_(_6r1)
- };
- _Jq1.prototype._t_ = function(_7r1) {
- this._Mq1._t_(_7r1)
- };
- _Jq1.prototype._r_ = function(_8r1) {
- this._Mq1._r_(_8r1)
- };
- _Jq1.prototype._9r1 = function(_ar1) {
- var _TC = this._Mq1._v_();
- while ((_TC != null) && (_TC != undefined)) {
- var _DP = _TC._U_();
- var _br1 = this._Mq1._JC();
- if (_DP instanceof _Xp1._8q1) {
- _Dw((_br1._f3 - _DP._iP) * _ar1, (_br1._g3 - _DP._iP) * _ar1, (_br1._f3 + _DP._iP) * _ar1, (_br1._g3 + _DP._iP) * _ar1, !0)
- } else if (_DP instanceof _Xp1._9q1) {
- var _cr1 = Math.sin(this._Mq1._KN());
- var _dr1 = Math.cos(this._Mq1._KN());
- for (var _C9 = 0; _C9 < _DP._3Q; ++_C9) {
- var _Op1 = _DP._2Q[_C9];
- var _Pp1 = _DP._2Q[(_C9 + 1) % _DP._3Q];
- _qb((_br1._f3 + ((_Op1._f3 * _dr1) - (_Op1._g3 * _cr1))) * _ar1, (_br1._g3 + ((_Op1._f3 * _cr1) + (_Op1._g3 * _dr1))) * _ar1, (_br1._f3 + ((_Pp1._f3 * _dr1) - (_Pp1._g3 * _cr1))) * _ar1, (_br1._g3 + ((_Pp1._f3 * _cr1) + (_Pp1._g3 * _dr1))) * _ar1)
- }
- }
- _TC = _TC._YY
- }
- };
- _Jq1.prototype._er1 = function(_ar1) {
- var _D_ = this._Mq1._VY;
- while ((_D_ != null) && (_D_ != undefined)) {
- var _E_ = _D_._E_;
- if (_E_ instanceof _Xp1._Gq1) {
- this._fr1(_E_, _ar1)
- } else if (_E_ instanceof _Xp1._Hq1) {
- this._gr1(_E_, _ar1)
- } else if (_E_ instanceof _Xp1._hr1) {
- this._ir1(_E_, _ar1)
- } else if (_E_ instanceof _Xp1._jr1) {
- this._kr1(_E_, _ar1)
- } else if (_E_ instanceof _Xp1._lr1) {
- if (_E_._mr1 != null) {
- this._fr1(_E_._mr1, _ar1)
- }
- if (_E_._nr1 != null) {
- this._fr1(_E_._nr1, _ar1)
- }
- if (_E_._or1 != null) {
- this._gr1(_E_._or1, _ar1)
- }
- if (_E_._pr1 != null) {
- this._gr1(_E_._pr1, _ar1)
- }
- }
- _D_ = _D_._YY
- }
- };
- _Jq1.prototype._ir1 = function(_qr1, _ar1) {
- var _Dc1 = _qr1._J21();
- var _Ec1 = _qr1._K21();
- _qb(_Dc1._f3 * _ar1, _Dc1._g3 * _ar1, _Ec1._f3 * _ar1, _Ec1._g3 * _ar1)
- };
- _Jq1.prototype._fr1 = function(_qr1, _ar1) {
- var anchor = _qr1._J21();
- _qb((anchor._f3 * _ar1) - 2, (anchor._g3 * _ar1) - 2, (anchor._f3 * _ar1) + 2, (anchor._g3 * _ar1) + 2);
- _qb((anchor._f3 * _ar1) - 2, (anchor._g3 * _ar1) + 2, (anchor._f3 * _ar1) + 2, (anchor._g3 * _ar1) - 2)
- };
- _Jq1.prototype._gr1 = function(_qr1, _ar1) {
- var _Dc1 = _qr1._J21();
- var _Ec1 = this._Mq1._JC();
- _qb(_Dc1._f3 * _ar1, _Dc1._g3 * _ar1, _Ec1._f3 * _ar1, _Ec1._g3 * _ar1)
- };
- _Jq1.prototype._kr1 = function(_qr1, _ar1) {
- var anchor, _rr1;
- if (_qr1._sr1() == this._Mq1) {
- anchor = _qr1._J21();
- _rr1 = _qr1._O21()
- } else {
- anchor = _qr1._K21();
- _rr1 = _qr1._P21()
- }
- _qb(anchor._f3 * _ar1, anchor._g3 * _ar1, _rr1._f3 * _ar1, _rr1._g3 * _ar1);
- _qb(_qr1._O21()._f3 * _ar1, _qr1._O21()._g3 * _ar1, _qr1._P21()._f3 * _ar1, _qr1._P21()._g3 * _ar1)
- };
- _Jq1.prototype._tr1 = function(_ur1) {
- for (var _H3 = 0; _H3 < this._Pq1.length; _H3++) {
- if (this._Pq1[_H3] == null || this._Pq1[_H3] == undefined) {
- this._Pq1[_H3] = _ur1;
- return _H3
- }
- }
- return (this._Pq1.push(_ur1) - 1)
- };
- _Jq1.prototype._vr1 = function(_wr1) {
- if (this._Pq1[_wr1]) {
- this._Mq1._zZ(this._Pq1[_wr1]);
- this._Pq1[_wr1] = undefined
- }
- };
- _Jq1.prototype._201 = function(_wr1) {
- if (this._Pq1[_wr1]) {
- return this._Pq1[_wr1]._201()
- }
- return 0.0
- };
- _Jq1.prototype._101 = function(_wr1) {
- if (this._Pq1[_wr1]) {
- return this._Pq1[_wr1]._101();
- }
- return 0.0
- };
- _Jq1.prototype._301 = function(_wr1) {
- if (this._Pq1[_wr1]) {
- return this._Pq1[_wr1]._301()
- }
- return 0.0
- };
- _Jq1.prototype._2D = function(_wr1, _Dh) {
- if (this._Pq1[_wr1]) {
- this._Pq1[_wr1]._2D(_Dh)
- }
- };
- _Jq1.prototype._XC = function(_wr1, _Dh) {
- if (this._Pq1[_wr1]) {
- this._Pq1[_wr1]._XC(_Dh);
- this._Mq1._wZ()
- }
- };
- _Jq1.prototype.__C = function(_wr1, _Dh) {
- if (this._Pq1[_wr1]) {
- this._Pq1[_wr1].__C(_Dh)
- }
- };
- var _xr1 = 10,
- _yr1 = 32,
- _zr1 = (1 << 0),
- _Ar1 = (1 << 1),
- _Br1 = (1 << 2),
- _Cr1 = (1 << 3),
- _Dr1 = (1 << 4),
- _Er1 = (1 << 5),
- _Fr1 = (1 << 6);
- var _Xp1 = null;
- function _Gr1() {
- if (_Xp1 === null) {
- var _ht = window["b2"];
- _Xp1 = {};
- _Xp1.version = _ht["version"];
- _Xp1._Yp1 = _ht["Vec2"];
- _Xp1._Hr1 = _ht["Vec3"];
- _Xp1._Ir1 = _ht["Mat22"];
- _Xp1._Jr1 = _ht["Mat33"];
- _Xp1._Kr1 = _ht["Rot"];
- _Xp1._Lr1 = _ht["Transform"];
- _Xp1._Mr1 = _ht["Sweep"];
- _Xp1._Nr1 = _ht["Dot_v2_v2"];
- _Xp1._Or1 = _ht["Cross_v2_v2"];
- _Xp1._Pr1 = _ht["Cross_v2_f"];
- _Xp1._Qr1 = _ht["Cross_f_v2"];
- _Xp1._Rr1 = _ht["Mul_m22_v2"];
- _Xp1._Sr1 = _ht["MulT_m22_v2"];
- _Xp1._Tr1 = _ht["Distance"];
- _Xp1._Ur1 = _ht["DistanceSquared"];
- _Xp1._Vr1 = _ht["Dot_v3_v3"];
- _Xp1._Wr1 = _ht["Cross_v3_v3"];
- _Xp1._Xr1 = _ht["Mul_m22_m22"];
- _Xp1._Yr1 = _ht["MulT_m22_m22"];
- _Xp1._Zr1 = _ht["Mul_m33_v3"];
- _Xp1.__r1 = _ht["Mul22_m33_v2"];
- _Xp1._0s1 = _ht["Mul_r_r"];
- _Xp1._1s1 = _ht["MulT_r_r"];
- _Xp1._2s1 = _ht["Mul_r_v2"];
- _Xp1._3s1 = _ht["MulT_r_v2"];
- _Xp1._4s1 = _ht["Mul_t_v2"];
- _Xp1._5s1 = _ht["Min_v2"];
- _Xp1._6s1 = _ht["Max_v2"];
- _Xp1._7s1 = _ht["Clamp"];
- _Xp1._8s1 = _ht["MulT_t_v2"];
- _Xp1._9s1 = _ht["Mul_t_t"];
- _Xp1._as1 = _ht["MulT_t_t"];
- _Xp1._bs1 = _ht["Clamp_v2"];
- _Xp1._cs1 = _ht["NextPowerOfTwo"];
- _Xp1._ds1 = _ht["Abs_v2"];
- _Xp1._es1 = _ht["Abs_m22"];
- _Xp1._fs1 = _ht["IsPowerOfTwo"];
- _Xp1._gs1 = _ht["RandomFloat"];
- _Xp1._hs1 = _ht["Timer"];
- _Xp1._is1 = _ht["Color"];
- _Xp1._6b = _ht["Draw"];
- _Xp1._js1 = _ht["ContactID"];
- _Xp1._ks1 = _ht["ManifoldPoint"];
- _Xp1._ls1 = _ht["Manifold"];
- _Xp1._ms1 = _ht["WorldManifold"];
- _Xp1._ns1 = _ht["GetPointStates"];
- _Xp1._os1 = _ht["ClipVertex"];
- _Xp1._ps1 = _ht["RayCastInput"];
- _Xp1._qs1 = _ht["RayCastOutput"];
- _Xp1._rs1 = _ht["AABB"];
- _Xp1._ss1 = _ht["CollideCircles"];
- _Xp1._ts1 = _ht["CollidePolygonAndCircle"];
- _Xp1._us1 = _ht["FindMaxSeparation"];
- _Xp1._vs1 = _ht["FindIncidentEdge"];
- _Xp1._ws1 = _ht["CollidePolygons"];
- _Xp1._xs1 = _ht["CollideEdgeAndCircle"];
- _Xp1._ys1 = _ht["EPAxis"];
- _Xp1._zs1 = _ht["TempPolygon"];
- _Xp1._As1 = _ht["ReferenceFace"];
- _Xp1._Bs1 = _ht["EPCollider"];
- _Xp1._Cs1 = _ht["CollideEdgeAndPolygon"];
- _Xp1._Ds1 = _ht["ClipSegmentToLine"];
- _Xp1._Es1 = _ht["TestShapeOverlap"];
- _Xp1._nR = _ht["TestOverlap"];
- _Xp1._bq1 = _ht["Shape"];
- _Xp1._Fs1 = _ht["MassData"];
- _Xp1._8q1 = _ht["CircleShape"];
- _Xp1._Gs1 = _ht["EdgeShape"];
- _Xp1._Hs1 = _ht["ChainShape"];
- _Xp1._9q1 = _ht["PolygonShape"];
- _Xp1._D51 = _ht["Pair"];
- _Xp1._Is1 = _ht["PairLessThan"];
- _Xp1._Js1 = _ht["BroadPhase"];
- _Xp1._Ks1 = _ht["DistanceProxy"];
- _Xp1._Ls1 = _ht["SimplexCache"];
- _Xp1._Ms1 = _ht["DistanceInput"];
- _Xp1._Ns1 = _ht["DistanceOutput"];
- _Xp1._Os1 = _ht["SimplexVertex"];
- _Xp1._Ps1 = _ht["Simplex"];
- _Xp1._Qs1 = _ht["DistanceFunc"];
- _Xp1._Rs1 = _ht["TreeNode"];
- _Xp1._Ss1 = _ht["DynamicTree"];
- _Xp1._Ts1 = _ht["TOIInput"];
- _Xp1._Us1 = _ht["TOIOutput"];
- _Xp1._Vs1 = _ht["SeparationFunction"];
- _Xp1._Ws1 = _ht["TimeOfImpact"];
- _Xp1._Xs1 = _ht["BodyDef"];
- _Xp1._Ys1 = _ht["Body"];
- _Xp1._Zs1 = _ht["Filter"];
- _Xp1._6q1 = _ht["FixtureDef"];
- _Xp1.__s1 = _ht["Fixture"];
- _Xp1._0t1 = _ht["DestructionListener"];
- _Xp1._1t1 = _ht["ContactFilter"];
- _Xp1._2t1 = _ht["ContactImpulse"];
- _Xp1._3t1 = _ht["ContactListener"];
- _Xp1._KR = _ht["QueryCallback"];
- _Xp1._XW = _ht["RayCastCallback"];
- _Xp1._4t1 = _ht["TimeStep"];
- _Xp1._5t1 = _ht["Position"];
- _Xp1._6t1 = _ht["Velocity"];
- _Xp1._7t1 = _ht["SolverData"];
- _Xp1._8t1 = _ht["World"];
- _Xp1._9t1 = _ht["MixFriction"];
- _Xp1._at1 = _ht["MixRestitution"];
- _Xp1._bt1 = _ht["ContactRegister"];
- _Xp1._ct1 = _ht["ContactEdge"];
- _Xp1._dt1 = _ht["Contact"];
- _Xp1._et1 = _ht["CircleContact"];
- _Xp1._ft1 = _ht["PolygonContact"];
- _Xp1._gt1 = _ht["ChainAndCircleContact"];
- _Xp1._ht1 = _ht["ChainAndPolygonContact"];
- _Xp1._it1 = _ht["EdgeAndCircleContact"];
- _Xp1._jt1 = _ht["EdgeAndPolygonContact"];
- _Xp1._kt1 = _ht["PolygonAndCircleContact"];
- _Xp1._lt1 = _ht["defaultFilter"];
- _Xp1._mt1 = _ht["defaultListener"];
- _Xp1._nt1 = _ht["ContactManager"];
- _Xp1._ot1 = _ht["VelocityConstraintPoint"];
- _Xp1._pt1 = _ht["ContactPositionConstraint"];
- _Xp1._qt1 = _ht["ContactVelocityConstraint"];
- _Xp1._rt1 = _ht["PositionSolverManifold"];
- _Xp1._st1 = _ht["ContactSolverDef"];
- _Xp1._tt1 = _ht["ContactSolver"];
- _Xp1._ut1 = _ht["Island"];
- _Xp1._vt1 = _ht["Jacobian"];
- _Xp1._wt1 = _ht["JointEdge"];
- _Xp1._xt1 = _ht["JointDef"];
- _Xp1._yt1 = _ht["Joint"];
- _Xp1._zt1 = _ht["RevoluteJointDef"];
- _Xp1._Gq1 = _ht["RevoluteJoint"];
- _Xp1._At1 = _ht["MouseJointDef"];
- _Xp1._Bt1 = _ht["MouseJoint"];
- _Xp1._Ct1 = _ht["DistanceJointDef"];
- _Xp1._hr1 = _ht["DistanceJoint"];
- _Xp1._Dt1 = _ht["PrismaticJointDef"];
- _Xp1._Hq1 = _ht["PrismaticJoint"];
- _Xp1._Et1 = _ht["FrictionJointDef"];
- _Xp1._Ft1 = _ht["FrictionJoint"];
- _Xp1._Gt1 = _ht["WeldJointDef"];
- _Xp1._Ht1 = _ht["WeldJoint"];
- _Xp1._It1 = _ht["WheelJointDef"];
- _Xp1._Iq1 = _ht["WheelJoint"];
- _Xp1._Jt1 = _ht["GearJointDef"];
- _Xp1._lr1 = _ht["GearJoint"];
- _Xp1._Kt1 = _ht["MotorJointDef"];
- _Xp1._Lt1 = _ht["MotorJoint"];
- _Xp1._Mt1 = _ht["PulleyJointDef"];
- _Xp1._jr1 = _ht["PulleyJoint"];
- _Xp1._Nt1 = _ht["RopeJointDef"];
- _Xp1._Ot1 = _ht["RopeJoint"];
- _Xp1._Pt1 = _ht["RopeDef"];
- _Xp1._Qt1 = _ht["Rope"];
- _Xp1._Rt1 = _ht["maxManifoldPoints"];
- _Xp1._St1 = _ht["maxPolygonVertices"];
- _Xp1._Tt1 = _ht["aabbExtension"];
- _Xp1._Ut1 = _ht["aabbMultiplier"];
- _Xp1._Vt1 = _ht["linearSlop"];
- _Xp1._Wt1 = _ht["angularSlop"];
- _Xp1._Xt1 = _ht["polygonRadius"];
- _Xp1._Yt1 = _ht["maxSubSteps"];
- _Xp1._Zt1 = _ht["maxTOIContacts"];
- _Xp1.__t1 = _ht["velocityThreshold"];
- _Xp1._0u1 = _ht["maxLinearCorrection"];
- _Xp1._1u1 = _ht["maxAngularCorrection"];
- _Xp1._2u1 = _ht["maxTranslation"];
- _Xp1._3u1 = _ht["maxTranslationSquared"];
- _Xp1._4u1 = _ht["maxRotation"];
- _Xp1._5u1 = _ht["maxRotationSquared"];
- _Xp1._6u1 = _ht["baumgarte"];
- _Xp1._7u1 = _ht["toiBaugarte"];
- _Xp1._8u1 = _ht["timeToSleep"];
- _Xp1._9u1 = _ht["linearSleepTolerance"];
- _Xp1._au1 = _ht["angularSleepTolerance"];
- _Xp1._bu1 = _ht["epsilon"];
- _Xp1._cu1 = _ht["JsonSerializer"];
- _Xp1._du1 = _ht["RUBELoader"];
- _Xp1._eu1 = _ht["Profiler"];
- _Xp1._fu1 = _ht["ParticleDef"];
- _Xp1._gu1 = _ht["ParticleColor"];
- _Xp1._hu1 = _ht["ParticleGroupDef"];
- _Xp1._iu1 = _ht["ParticleGroup"];
- _Xp1._ju1 = _ht["ParticleSystem"]
- }
- }
- function _ku1(_lu1) {
- var _j81 = new _Xp1._ms1();
- _lu1._i81(_j81);
- this._mu1 = _lu1._DZ();
- this._nu1 = _lu1._FZ();
- this._ou1 = [];
- this._pu1 = [];
- this._ou1[0] = _lu1._h81();
- this._pu1[0] = _j81
- };
- function _qu1(_ru1, _su1, _tu1) {
- this._uu1 = _ru1;
- this._H_ = _su1;
- this._I_ = _tu1
- };
- function _vu1(_wu1, _xu1) {
- _Gr1();
- if (_Xp1 === null) {
- _Xp1 = window["b2"]
- }
- this._lD = _wu1;
- this._yu1 = _xu1;
- this._zu1 = _xr1;
- this._WY = [];
- this._Au1 = [];
- this._Bu1 = new _Xp1._hu1();
- this._j11 = null;
- this._Cu1 = !1;
- this._Du1 = [];
- for (var _H3 = 0; _H3 < _yr1; _H3++) {
- this._Du1[_H3] = new _qu1( - 1, 0, 0)
- }
- var _N01 = new _Xp1._Yp1(0, 10);
- this._SY = new _Xp1._8t1(_N01);
- this._Eu1();
- this._Fu1();
- this._WO = _sa ? this._Gu1: this._Hu1;
- this._Iu1 = _sa ? this._Ju1: this._Ku1;
- };
- _vu1.prototype._Eu1 = function() {
- var _Jb = document.getElementById("canvas").getContext("2d");
- if (_Jb) {
- this._j11 = new _Xp1._6b();
- this._j11._EO(_Xp1._6b._ZO | _Xp1._6b.__O);
- this._j11._Np1 = this;
- this._j11._KO = _Mp1;
- this._j11._MO = _Qp1;
- this._j11._NO = _Sp1;
- this._j11._QO = _Tp1;
- this._j11._SO = _Up1;
- this._j11._VO = _Vp1;
- this._j11._WO = _0q1;
- this._SY._i11(this._j11)
- }
- };
- _vu1.prototype._Fu1 = function() {
- var _Lu1 = new _Xp1._3t1();
- _Lu1._Mu1 = this;
- _Lu1._n01 = function(_BZ) {
- if (_BZ._DZ()._W_() || _BZ._FZ()._W_()) {
- this._Mu1._Nu1(_BZ)
- }
- };
- _Lu1._p01 = function(_BZ, _q01) {};
- _Lu1._o01 = function(_BZ) {};
- _Lu1._r01 = function(_BZ, _Ou1) {
- this._Mu1._Nu1(_BZ)
- };
- this._SY._g11(_Lu1)
- };
- _vu1.prototype._Nu1 = function(_lu1) {
- for (var _C9 = 0; _C9 < this._WY.length; _C9++) {
- var _Pu1 = this._WY[_C9];
- if ((_Pu1._mu1 == _lu1._DZ() && _Pu1._nu1 == _lu1._FZ()) || (_Pu1._mu1 == _lu1._FZ() && _Pu1._nu1 == _lu1._DZ())) {
- var _j81 = new _Xp1._ms1();
- _lu1._i81(_j81);
- _Pu1._ou1[_Pu1._ou1.length] = _lu1._h81();
- _Pu1._pu1[_Pu1._pu1.length] = _j81;
- return
- }
- }
- this._WY[this._WY.length] = new _ku1(_lu1)
- };
- _vu1.prototype._621 = function(_Qu1, _Ru1) {
- this._SY._Z01._f3 = _Qu1;
- this._SY._Z01._g3 = _Ru1;
- if ((_Qu1 != 0.0) || (_Ru1 != 0.0)) {
- var _Su1 = this._SY._U11();
- while ((_Su1 != null) && (_Su1 != undefined)) {
- if (_Su1._jP() === _Xp1._Ys1._6Z) {
- _Su1._gD(!0)
- }
- _Su1 = _Su1._y_()
- }
- }
- };
- _vu1.prototype._Tu1 = function() {
- var _3i = _H8._Fy._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Ay = _3i[index];
- if (_Ay._Uu1 >= 0) {
- var _Vu1 = _Ay._Wu1;
- if (_Vu1 !== null && _Vu1 !== undefined) {
- var _Su1 = _Vu1._Mq1;
- if (_Su1._jP() !== _Xp1._Ys1._6Z) {
- if (_Ay._Xu1()) {
- _Ay._g9(_Yu1, 0, _Ay, _Ay)
- }
- _Su1._IZ(new _Xp1._Yp1(_Ay._f3 * this._lD, _Ay._g3 * this._lD), _Su1._KN())
- }
- } else {
- if (_Ay._Xu1()) {
- _Ay._g9(_Yu1, 0, _Ay, _Ay)
- }
- }
- }
- }
- };
- _vu1.prototype._Zu1 = function() {
- var __u1 = 1.0 / this._lD;
- var _Su1 = this._SY._U11();
- while ((_Su1 != null) && (_Su1 != undefined)) {
- var _Ay = _Su1._mR();
- if ((_Ay != null) && (_Ay != undefined)) {
- _Ay._0v1(_Su1);
- var _Hn = _Su1._JC();
- _Ay._1v1 = _Hn._f3 * __u1;
- _Ay._2v1 = _Hn._g3 * __u1
- }
- _Su1 = _Su1._y_()
- }
- };
- _vu1.prototype._Ag = function(_3v1) {
- if (_3v1 <= 0) {
- return
- }
- this._Tu1();
- if (this._Cu1 == !0) {
- return
- }
- this._Zu1();
- var _4v1 = 1.0 / this._yu1;
- var _5v1 = this._yu1 / _3v1;
- var _6v1 = _5v1;
- while (_6v1 > 0.0) {
- var _7v1 = (_6v1 > 1.0) ? _4v1: (_4v1 * _6v1);
- this._SY._A11(_7v1, this._zu1, this._zu1);
- _6v1 -= 1.0
- }
- this._SY._E11();
- this._8v1();
- this._9v1()
- };
- _vu1.prototype._8v1 = function() {
- var __u1 = 1.0 / this._lD;
- var _Su1 = this._SY._U11();
- while ((_Su1 != null) && (_Su1 != undefined)) {
- var _Ay = _Su1._mR();
- if ((_Ay != null) && (_Ay != undefined)) {
- _Ay._0v1(_Su1)
- }
- _Su1 = _Su1._y_()
- }
- };
- _vu1.prototype._9v1 = function() {
- var __u1 = 1.0 / this._lD;
- for (var _H3 = 0; _H3 < this._WY.length; _H3++) {
- if (this._WY[_H3]._mu1 && this._WY[_H3]._nu1 && this._WY[_H3]._mu1._001() && this._WY[_H3]._nu1._001()) {
- var _av1 = this._WY[_H3]._mu1._001()._mR();
- var _bv1 = this._WY[_H3]._nu1._001()._mR();
- _av1._cv1 = 0;
- _av1._dv1 = [];
- _av1._ev1 = [];
- _av1._fv1 = [];
- _av1._gv1 = [];
- _bv1._cv1 = 0;
- _bv1._dv1 = [];
- _bv1._ev1 = [];
- _bv1._fv1 = [];
- _bv1._gv1 = [];
- var _hv1 = 0;
- for (var _iv1 = 0; _iv1 < this._WY[_H3]._ou1.length; _iv1++) {
- var _j81 = this._WY[_H3]._pu1[_iv1];
- for (var __9 in _j81._e3) {
- if (!_j81._e3.hasOwnProperty(__9)) continue;
- _av1._dv1[_hv1] = _j81._e3[__9]._f3 * __u1;
- _av1._ev1[_hv1] = _j81._e3[__9]._g3 * __u1;
- _av1._fv1[_hv1] = _j81._vP._f3;
- _av1._gv1[_hv1] = _j81._vP._g3;
- _bv1._dv1[_hv1] = _j81._e3[__9]._f3 * __u1;
- _bv1._ev1[_hv1] = _j81._e3[__9]._g3 * __u1;
- _bv1._fv1[_hv1] = _j81._vP._f3;
- _bv1._gv1[_hv1] = _j81._vP._g3;
- _av1._cv1++;
- _bv1._cv1++;
- _hv1++
- }
- }
- _av1._g9(_jv1, _bv1._kv1, _av1, _bv1);
- _bv1._g9(_jv1, _av1._kv1, _bv1, _av1);
- _av1._cv1 = 0;
- _av1._dv1 = undefined;
- _av1._ev1 = undefined;
- _av1._fv1 = undefined;
- _av1._gv1 = undefined;
- _bv1._cv1 = 0;
- _bv1._dv1 = undefined;
- _bv1._ev1 = undefined;
- _bv1._fv1 = undefined;
- _bv1._gv1 = undefined
- }
- }
- this._WY = []
- };
- _vu1.prototype._yD = function(_ur1, _lv1, _tD, _uD) {
- var _vD = -1;
- if (!_ur1._aq1()) {
- return
- }
- var _mv1 = this._nv1(_lv1._kv1);
- if (_mv1 != -1) {
- _ur1._5q1._K_._H_ = this._Du1[_mv1]._H_;
- _ur1._5q1._K_._I_ = this._Du1[_mv1]._I_
- } else {
- _ur1._5q1._K_._H_ = 0;
- _ur1._5q1._K_._I_ = 0
- }
- var _ov1 = _lv1._Wu1;
- if (_lv1._Wu1) {
- var _Su1 = _ov1._Mq1;
- var _TC = _Su1._jZ(_ur1._5q1);
- _vD = _ov1._tr1(_TC)
- } else {
- var _pv1 = new _Xp1._Xs1();
- _pv1.type = (_ur1._5q1._sP == 0) ? (_ur1._2q1 ? _Xp1._Ys1._eZ: _Xp1._Ys1._yY) : _Xp1._Ys1._6Z;
- _pv1._0b = -_lv1._qv1 * _Y9 / 180.0;
- _pv1._BY = _ur1._0Z;
- _pv1._CY = _ur1._1Z;
- _pv1._EY = _ur1._3q1;
- var _rv1 = _lv1._sv1(_pv1._0b, {
- _f3: _tD,
- _g3: _uD
- });
- _pv1.position._f3 = (_lv1._f3 - _rv1._f3) * this._lD;
- _pv1.position._g3 = (_lv1._g3 - _rv1._g3) * this._lD;
- _pv1._dR = _lv1;
- var _Su1 = this._SY._yD(_pv1);
- var _TC = _Su1._jZ(_ur1._5q1);
- _ov1 = new _Jq1(_Su1, _mv1, _tD, _uD);
- _lv1._Wu1 = _ov1;
- _lv1._0v1(_Su1);
- _vD = _ov1._tr1(_TC);
- this._tv1()
- }
- return _vD
- };
- _vu1.prototype._k11 = function(_uv1) {
- this._SY._k11(_uv1._Mq1)
- };
- _vu1.prototype._n11 = function(_vv1) {
- this._SY._n11(_vv1._Eq1)
- };
- _vu1.prototype._wv1 = function(_ru1) {
- for (var _C9 = 0; _C9 < _yr1; _C9++) {
- if (this._Du1[_C9]._uu1 == _ru1) {
- return _C9
- }
- }
- return - 1
- };
- _vu1.prototype._xv1 = function(_ru1) {
- var _yv1 = this._wv1(_ru1);
- if (_yv1 != -1) {
- return _yv1
- }
- for (var _C9 = 0; _C9 < _yr1; _C9++) {
- if (this._Du1[_C9]._uu1 == -1) {
- this._Du1[_C9]._uu1 = _ru1;
- this._Du1[_C9]._H_ = (1 << _C9);
- this._Du1[_C9]._I_ = 0;
- return _C9
- }
- }
- return - 1
- };
- _vu1.prototype._zv1 = function(_ru1) {
- var _Av1 = [];
- for (var _Bv1 in _Cv1) {
- if (!_Cv1.hasOwnProperty(_Bv1)) continue;
- for (var _u81 in _Cv1[_Bv1]) {
- if (!_Cv1[_Bv1].hasOwnProperty(_u81)) continue;
- var _Dv1 = -1;
- if (_Bv1 == _ru1) {
- _Dv1 = _u81
- } else if (_u81 == _ru1) {
- _Dv1 = _Bv1
- }
- if (_Dv1 !== -1) {
- _Av1[_Av1.length] = _Dv1
- }
- }
- }
- return _Av1
- };
- _vu1.prototype._Ev1 = function(_7i, _Fv1) {
- for (var _4s in _Ys._Gv1) {
- if (!_Ys._Gv1.hasOwnProperty(_4s)) continue;
- var _Hv1 = _Ys._Gv1[_4s];
- if (_Hv1._Yy === _7i.__y) {
- if (this._zv1(_Hv1.__y).length !== 0) {
- _Fv1[_Fv1.length] = _Hv1.__y
- }
- this._Ev1(_Hv1, _Fv1)
- }
- }
- };
- _vu1.prototype._Iv1 = function(_ru1) {
- var _Av1 = this._zv1(_ru1);
- var _Jv1 = _ru1;
- var _Kv1 = _Ys._Gh(_ru1);
- while ((_Kv1._Yy >= 0) && _Ys._Gh(_Kv1._Yy)) {
- _Kv1 = _Ys._Gh(_Kv1._Yy);
- _Av1 = _Av1.concat(this._zv1(_Kv1.__y))
- }
- for (var _C9 = 0; _C9 < _Av1.length; _C9++) {
- var _Lv1 = _Av1[_C9];
- var _4s = _Ys._Gh(_Lv1);
- this._Ev1(_4s, _Av1)
- }
- return _Av1;
- };
- _vu1.prototype._Mv1 = function(_ru1, _Lq1) {
- var _Av1 = this._Iv1(_ru1);
- for (var _Nv1 = 0; _Nv1 < _Av1.length; ++_Nv1) {
- for (var _Ov1 = 0; _Ov1 < _yr1; ++_Ov1) {
- if (this._Du1[_Ov1]._uu1 == _Av1[_Nv1]) {
- this._Du1[_Lq1]._I_ |= this._Du1[_Ov1]._H_;
- this._Du1[_Ov1]._I_ |= this._Du1[_Lq1]._H_
- }
- }
- }
- };
- _vu1.prototype._nv1 = function(_ru1) {
- var _mv1 = this._wv1(_ru1);
- if (_mv1 !== -1) {
- return _mv1
- }
- var _Av1 = this._zv1(_ru1);
- var _uu1 = _ru1;
- if (_Av1.length === 0) {
- var _Jv1 = _ru1;
- var _Kv1 = _Ys._Gh(_ru1);
- while ((_Kv1._Yy >= 0) && _Ys._Gh(_Kv1._Yy)) {
- _Kv1 = _Ys._Gh(_Kv1._Yy);
- _uu1 = _Kv1.__y;
- _Av1 = this._zv1(_uu1);
- if (_Av1.length !== 0) {
- _mv1 = this._wv1(_uu1);
- break
- }
- }
- if (_Av1.length === 0) {
- return - 1
- }
- }
- if (_mv1 === -1) {
- _mv1 = this._xv1(_uu1);
- if (_mv1 === -1) {
- return - 1
- }
- }
- this._Mv1(_ru1, _mv1);
- return _mv1
- };
- _vu1.prototype._tv1 = function() {
- var _Su1 = this._SY._U11();
- while ((_Su1 != null) && (_Su1 != undefined)) {
- var _Ay = _Su1._mR();
- if ((_Ay != null) && (_Ay != undefined)) {
- var _Pv1 = _Ay._Wu1._Nq1;
- if (_Pv1 != -1) {
- var _Qv1 = new _Xp1._Zs1();
- _Qv1._H_ = this._Du1[_Pv1]._H_;
- _Qv1._I_ = this._Du1[_Pv1]._I_;
- var _TC = _Su1._v_();
- while ((_TC != null) && (_TC != undefined)) {
- _Qv1._J_ = _TC._Z_()._J_;
- _TC._X_(_Qv1);
- _TC = _TC._YY
- }
- }
- }
- _Su1 = _Su1._y_()
- }
- };
- _vu1.prototype._nR = function(_Ti, _xj, _V8, _W8, _Z8) {
- var _Rv1 = new _Xp1._Lr1();
- _Rv1._gi(new _Xp1._Yp1(_V8, _W8), _Z8);
- if ((_Ti._Wu1 === null) || (_Ti._Wu1 === undefined) || (_xj._Wu1 === null) || (_xj._Wu1 === undefined)) {
- return
- }
- var _Sv1 = _Ti._Wu1._Mq1;
- var _Tv1 = _xj._Wu1._Mq1;
- var _Uv1;
- for (_Uv1 = _Sv1._v_(); _Uv1; _Uv1 = _Uv1._y_()) {
- var _Vv1;
- for (_Vv1 = _Tv1._v_(); _Vv1; _Vv1 = _Uv1._y_()) {
- if (_Xp1._Es1(_Uv1._U_(), 0, _Vv1._U_(), 0, _Rv1, _Tv1._VN())) {
- return ! 0
- }
- }
- }
- return ! 1;
- };
- _vu1.prototype._531 = function(_Wv1, _V8, _W8, _Xv1, _Yv1, _Sd, _Gd, _Zv1) {
- var _kZ = new _Xp1._fu1();
- _kZ._ZJ = _Wv1;
- _kZ.position._gi(_V8 * this._lD, _W8 * this._lD);
- _kZ._n41._gi(_Xv1 * this._lD, _Yv1 * this._lD);
- _kZ._bb._gi((_Sd & 0xff), (_Sd & 0xff00) >> 8, (_Sd & 0xff0000) >> 16, (_Gd * 255.0));
- _kZ._dR = _Zv1;
- return this._SY._531(_kZ)
- };
- _vu1.prototype.__v1 = function() {
- for (var _C9 = 0; _C9 < this._Au1.length; _C9++) {
- var _d01 = this._Au1[_C9];
- if (_d01 === null || _d01 === undefined) {
- return _C9
- }
- }
- var _gb = this._Au1.length;
- return _gb
- };
- _vu1.prototype._0w1 = function(_1w1) {
- if (_1w1 >= 0 && _1w1 < this._Au1.length) {
- return this._Au1[_1w1]
- }
- return null
- };
- _vu1.prototype._a31 = function(_2w1, _3w1) {
- var _4w1 = this._0w1(_2w1);
- var _5w1 = this._0w1(_3w1);
- if ((_4w1 !== null) && (_5w1 !== null)) {
- this._SY._a31(_4w1, _5w1);
- this._Au1[_3w1] = null
- }
- };
- _vu1.prototype._6w1 = function(_zH, _7w1, _8w1, _9w1) {
- var _Ea = this._SY._A31();
- if (_8w1 < 0 || _8w1 >= _Ea) return;
- if (_9w1 < _8w1) return;
- if (_9w1 > _Ea) return;
- var _ZJ = this._SY._e31();
- var _G01 = this._SY._f31();
- var _H01 = this._SY._g31();
- var _aw1 = this._SY._h31();
- var _dR = this._SY._i31();
- var _bw1 = _zH._cw1;
- var _dw1 = 1.0 / this._lD;
- for (var _C9 = _8w1; _C9 < _9w1; _C9++) {
- if (_7w1 & (1 << 0)) {
- _zH._ew1(_fw1, _ZJ[_C9])
- }
- if (_7w1 & (1 << 1)) {
- _zH._ew1(_gw1, _G01[_C9]._f3 * _dw1);
- _zH._ew1(_gw1, _G01[_C9]._g3 * _dw1)
- }
- if (_7w1 & (1 << 2)) {
- _zH._ew1(_gw1, _H01[_C9]._f3 * _dw1);
- _zH._ew1(_gw1, _H01[_C9]._g3 * _dw1)
- }
- if (_7w1 & (1 << 3)) {
- _zH._ew1(_fw1, (_aw1[_C9]._kb << 24) | (_aw1[_C9]._T9 << 16) | (_aw1[_C9]._jb << 8) | _aw1[_C9]._W9)
- }
- if (_7w1 & (1 << 4)) {
- _zH._ew1(_hw1, _dR[_C9]);
- }
- }
- _zH._iw1(_jw1, _bw1)
- };
- _vu1.prototype._R41 = function(_1w1, _Wv1) {
- var _d01 = this._0w1(_1w1);
- if (_d01 !== null && _d01 !== undefined) {
- _d01._R41(_Wv1)
- }
- };
- _vu1.prototype._Q41 = function(_1w1) {
- var _d01 = this._0w1(_1w1);
- if (_d01 !== null && _d01 !== undefined) {
- return _d01._Q41()
- }
- return 0
- };
- _vu1.prototype._Hu1 = function(_kw1, _Zv1, _N9, _lw1) {
- var _Ea = this._SY._A31();
- var _ZJ = this._SY._e31();
- var _G01 = this._SY._f31();
- var _aw1 = this._SY._h31();
- var _dR = this._SY._i31();
- var _dw1 = 1.0 / this._lD;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- var _1b = (_aw1[_C9]._W9 & 0xff) | ((_aw1[_C9]._jb << 8) & 0xff00) | ((_aw1[_C9]._T9 << 16) & 0xff0000);
- _N9._6b(_C9, _G01[_C9]._f3 * _dw1, _G01[_C9]._g3 * _dw1, 1.0, 1.0, 0, _1b, _aw1[_C9]._kb / 255.0)
- }
- }
- };
- _vu1.prototype._Ku1 = function(_kw1, _Zv1, _N9, _lw1, __l, _0m, _Z8, _Sd, _Gd) {
- var _Ea = this._SY._A31();
- var _ZJ = this._SY._e31();
- var _G01 = this._SY._f31();
- var _dR = this._SY._i31();
- var _dw1 = 1.0 / this._lD;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- _N9._6b(_C9, _G01[_C9]._f3 * _dw1, _G01[_C9]._g3 * _dw1, __l, _0m, _Z8, _Sd, _Gd)
- }
- }
- };
- _vu1.prototype._Gu1 = function(_kw1, _Zv1, _N9, _lw1) {
- var _Kj = _N9._VF[_lw1 % _N9._mw1()];
- if (!_Kj) {
- return
- }
- if (!_Kj._Ga.complete) {
- return
- }
- if (!_Kj._Ga.__b) {
- _0c(_Kj)
- }
- var _Ea = this._SY._A31();
- var _ZJ = this._SY._e31();
- var _G01 = this._SY._f31();
- var _aw1 = this._SY._h31();
- var _dR = this._SY._i31();
- var _dw1 = 1.0 / this._lD;
- var _nw1 = 0;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- _nw1++
- }
- }
- if (_nw1 === 0) {
- return
- }
- var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _nw1 * 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _nw1 * 6;
- var _ac = _2c._bc;
- var _cc = _2c._dc;
- var _ec = _2c._fc;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- var _G9 = -(_N9._23 - _Kj._s5);
- var _H9 = -(_N9._33 - _Kj._t5);
- var _I9 = _G9 + _Kj._u5;
- var _J9 = _H9 + _Kj._v5;
- var _ow1 = 0;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- var _f3 = _G01[_C9]._f3 * _dw1;
- var _g3 = _G01[_C9]._g3 * _dw1;
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3 + _G9;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _g3 + _H9;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _I9;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _g3 + _J9;
- var _1b = (_aw1[_C9]._W9 & 0xff) | ((_aw1[_C9]._jb << 8) & 0xff00) | ((_aw1[_C9]._T9 << 16) & 0xff0000) | ((_aw1[_C9]._kb << 24) & 0xff000000);
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height;
- var _pw1 = _7c * 6;
- _gc += _pw1;
- _hc += _pw1;
- _ic += _pw1;
- _jc += _pw1;
- _kc += _pw1;
- _lc += _pw1
- }
- }
- };
- _vu1.prototype._Ju1 = function(_kw1, _Zv1, _N9, _lw1, __l, _0m, _Z8, _Sd, _Gd) {
- _Z8 = (_Z8 * Math.PI) / 180.0;
- var _Kj = _N9._VF[_lw1 % _N9._mw1()];
- if (!_Kj) {
- return
- }
- if (!_Kj._Ga.complete) {
- return
- }
- if (!_Kj._Ga.__b) {
- _0c(_Kj)
- }
- var _Ea = this._SY._A31();
- var _ZJ = this._SY._e31();
- var _G01 = this._SY._f31();
- var _dR = this._SY._i31();
- var _dw1 = 1.0 / this._lD;
- var _nw1 = 0;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- _nw1++
- }
- }
- if (_nw1 === 0) {
- return
- }
- var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _nw1 * 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _nw1 * 6;
- var _ac = _2c._bc;
- var _cc = _2c._dc;
- var _ec = _2c._fc;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- var _1b = _Sd | (((_Gd * 255) & 0xff) << 24);
- var _G9 = -__l * (_N9._23 - _Kj._s5);
- var _H9 = -_0m * (_N9._33 - _Kj._t5);
- var _I9 = _G9 + (__l * _Kj._u5);
- var _J9 = _H9 + (_0m * _Kj._v5);
- var _ow1 = 0;
- if (Math.abs(_Z8) < 0.0001) {
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- var _f3 = _G01[_C9]._f3 * _dw1;
- var _g3 = _G01[_C9]._g3 * _dw1;
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3 + _G9;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _g3 + _H9;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _I9;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _g3 + _J9;
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height;
- var _pw1 = _7c * 6;
- _gc += _pw1;
- _hc += _pw1;
- _ic += _pw1;
- _jc += _pw1;
- _kc += _pw1;
- _lc += _pw1
- }
- }
- } else {
- var _la = Math.sin(_Z8);
- var _ma = Math.cos(_Z8);
- var _qw1 = _G9 * _ma;
- var _rw1 = _I9 * _ma;
- var _sw1 = _H9 * _ma;
- var _tw1 = _J9 * _ma;
- var _uw1 = _G9 * _la;
- var _vw1 = _I9 * _la;
- var _ww1 = _H9 * _la;
- var _xw1 = _J9 * _la;
- for (var _C9 = 0; _C9 < _Ea; _C9++) {
- if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) {
- var _f3 = _G01[_C9]._f3 * _dw1;
- var _g3 = _G01[_C9]._g3 * _dw1;
- _ac[_gc + 0] = _ac[_lc + 0] = _f3 + _qw1 + _ww1;
- _ac[_gc + 1] = _ac[_lc + 1] = _g3 - _uw1 + _sw1;
- _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _rw1 + _xw1;
- _ac[_ic + 1] = _ac[_jc + 1] = _g3 - _vw1 + _tw1;
- _ac[_hc + 1] = _g3 - _vw1 + _sw1;
- _ac[_hc + 0] = _f3 + _rw1 + _ww1;
- _ac[_kc + 0] = _f3 + _qw1 + _xw1;
- _ac[_kc + 1] = _g3 - _uw1 + _tw1;
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height;
- var _pw1 = _7c * 6;
- _gc += _pw1;
- _hc += _pw1;
- _ic += _pw1;
- _jc += _pw1;
- _kc += _pw1;
- _lc += _pw1
- }
- }
- }
- };
- _vu1.prototype._A31 = function() {
- return this._SY._A31()
- };
- _vu1.prototype._V21 = function() {
- return this._SY._V21();
- };
- _vu1.prototype._431 = function() {
- return this._SY._431() * (1.0 / this._lD)
- };
- _vu1.prototype._Y21 = function() {
- return this._SY._Y21()
- };
- _vu1.prototype._231 = function() {
- return this._SY._231()
- };
- _vu1.prototype.__21 = function() {
- return this._SY.__21()
- };
- _vu1.prototype._W21 = function(_yw1) {
- this._SY._W21(_yw1)
- };
- _vu1.prototype._331 = function(_7q1) {
- this._SY._331(_7q1 * this._lD)
- };
- _vu1.prototype._X21 = function(_WC) {
- this._SY._X21(_WC)
- };
- _vu1.prototype._031 = function(_aD) {
- this._SY._031(_aD)
- };
- _vu1.prototype._Z21 = function(_ar1) {
- this._SY._Z21(_ar1);
- };
- var _x8 = {};
- _x8._zw1 = function(name, parent) {
- this.name = name;
- this.parent = parent
- };
- _x8._zw1.prototype = {
- length: 0,
- _f3: 0,
- _g3: 0,
- _i5: 0,
- _E3: 1,
- _F3: 1,
- _Aw1: !0,
- _Bw1: !0
- };
- _x8._Cw1 = function(name, _Dw1) {
- this.name = name;
- this._Dw1 = _Dw1
- };
- _x8._Cw1.prototype = {
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _Ew1: null,
- _Fw1: !1
- };
- _x8._2b = function(_Dw1, parent) {
- this.data = _Dw1;
- this.parent = parent;
- this._Gw1()
- };
- _x8._2b._3b = !1;
- _x8._2b.prototype = {
- _f3: 0,
- _g3: 0,
- _i5: 0,
- _E3: 1,
- _F3: 1,
- _Hw1: 0,
- _Iw1: 0,
- _Jw1: 0,
- _Kw1: 0,
- _Ub: 0,
- _Lw1: 0,
- _Mw1: 0,
- _Nw1: 1,
- _Ow1: 1,
- _49: function(_e9, _f9) {
- var parent = this.parent;
- if (parent != null) {
- this._Jw1 = this._f3 * parent._Hw1 + this._g3 * parent._Iw1 + parent._Jw1;
- this._Lw1 = this._f3 * parent._Kw1 + this._g3 * parent._Ub + parent._Lw1;
- if (this.data._Aw1) {
- this._Nw1 = parent._Nw1 * this._E3;
- this._Ow1 = parent._Ow1 * this._F3
- } else {
- this._Nw1 = this._E3;
- this._Ow1 = this._F3
- }
- this._Mw1 = this.data._Bw1 ? parent._Mw1 + this._i5: this._i5
- } else {
- this._Jw1 = _e9 ? -this._f3: this._f3;
- this._Lw1 = _f9 != _x8._2b._3b ? -this._g3: this._g3;
- this._Nw1 = this._E3;
- this._Ow1 = this._F3;
- this._Mw1 = this._i5;
- }
- var _Pw1 = this._Mw1 * Math.PI / 180;
- var cos = Math.cos(_Pw1);
- var sin = Math.sin(_Pw1);
- this._Hw1 = cos * this._Nw1;
- this._Kw1 = sin * this._Nw1;
- this._Iw1 = -sin * this._Ow1;
- this._Ub = cos * this._Ow1;
- if (_e9) {
- this._Hw1 = -this._Hw1;
- this._Iw1 = -this._Iw1
- }
- if (_f9 != _x8._2b._3b) {
- this._Kw1 = -this._Kw1;
- this._Ub = -this._Ub
- }
- },
- _Gw1: function() {
- var data = this.data;
- this._f3 = data._f3;
- this._g3 = data._g3;
- this._i5 = data._i5;
- this._E3 = data._E3;
- this._F3 = data._F3
- }
- };
- _x8._Qw1 = function(_Rw1, _09, _tb) {
- this.data = _Rw1;
- this._09 = _09;
- this._tb = _tb;
- this._Gw1();
- };
- _x8._Qw1.prototype = {
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _Sw1: 0,
- _ib: null,
- _Tw1: [],
- _Uw1: function(_ib) {
- this._ib = _ib;
- this._Sw1 = this._09._5j;
- this._Tw1.length = 0
- },
- _Vw1: function(_5j) {
- this._Sw1 = this._09._5j - _5j
- },
- _Ww1: function() {
- return this._09._5j - this._Sw1
- },
- _Gw1: function() {
- var data = this.data;
- this._T9 = data._T9;
- this._jb = data._jb;
- this._W9 = data._W9;
- this._kb = data._kb;
- var _Xw1 = this._09.data._fb;
- for (var _H3 = 0,
- _C9 = _Xw1.length; _H3 < _C9; _H3++) {
- if (_Xw1[_H3] == data) {
- this._Uw1(!data._Ew1 ? null: this._09._Yw1(_H3, data._Ew1));
- break
- }
- }
- }
- };
- _x8._Zw1 = function(name) {
- this.name = name;
- this.__w1 = {}
- };
- _x8._Zw1.prototype = {
- _0x1: function(_1x1, name, _ib) {
- this.__w1[_1x1 + ":" + name] = _ib
- },
- _2x1: function(_1x1, name) {
- return this.__w1[_1x1 + ":" + name]
- },
- _3x1: function(_09, _4x1) {
- for (var _pz in _4x1.__w1) {
- var _5x1 = _pz.indexOf(":");
- var _1x1 = parseInt(_pz.substring(0, _5x1));
- var name = _pz.substring(_5x1 + 1);
- var _gb = _09._fb[_1x1];
- if (_gb._ib && _gb._ib.name == name) {
- var _ib = this._2x1(_1x1, name);
- if (_ib) _gb._Uw1(_ib)
- }
- }
- }
- };
- _x8._6x1 = function(name, _99, duration) {
- this.name = name;
- this._99 = _99;
- this.duration = duration
- };
- _x8._6x1.prototype = {
- apply: function(_09, _7x1, _5j, loop, _8x1) {
- if (loop && this.duration != 0) {
- _5j %= this.duration;
- _7x1 %= this.duration
- }
- var _99 = this._99;
- for (var _H3 = 0,
- _C9 = _99.length; _H3 < _C9; _H3++) _99[_H3].apply(_09, _7x1, _5j, _8x1, 1)
- },
- _9x1: function(_09, _7x1, _5j, loop, _8x1, alpha) {
- if (loop && this.duration != 0) {
- _5j %= this.duration;
- _7x1 %= this.duration
- }
- var _99 = this._99;
- for (var _H3 = 0,
- _C9 = _99.length; _H3 < _C9; _H3++) _99[_H3].apply(_09, _7x1, _5j, _8x1, alpha)
- }
- };
- _x8._ax1 = function(_bx1, target, _ML) {
- var _si = 0;
- var _ri = Math.floor(_bx1.length / _ML) - 2;
- if (_ri == 0) return _ML;
- var current = _ri >>> 1;
- while (!0) {
- if (_bx1[(current + 1) * _ML] <= target) _si = current + 1;
- else _ri = current;
- if (_si == _ri) return (_si + 1) * _ML;
- current = (_si + _ri) >>> 1
- }
- };
- _x8._cx1 = function(_bx1, target, _ML) {
- for (var _H3 = 0,
- _A3 = _bx1.length - _ML; _H3 <= _A3; _H3 += _ML) if (_bx1[_H3] > target) return _H3;
- return - 1
- };
- _x8._dx1 = function(_59) {
- this._ex1 = [];
- this._ex1.length = (_59 - 1) * 6
- };
- _x8._dx1.prototype = {
- _fx1: function(_gx1) {
- this._ex1[_gx1 * 6] = 0
- },
- _hx1: function(_gx1) {
- this._ex1[_gx1 * 6] = -1
- },
- _ix1: function(_gx1, _jx1, _kx1, _lx1, _mx1) {
- var _nx1 = 1 / 10;
- var _ox1 = _nx1 * _nx1;
- var _px1 = _ox1 * _nx1;
- var _qx1 = 3 * _nx1;
- var _rx1 = 3 * _ox1;
- var _sx1 = 6 * _ox1;
- var _tx1 = 6 * _px1;
- var _ux1 = -_jx1 * 2 + _lx1;
- var _vx1 = -_kx1 * 2 + _mx1;
- var _wx1 = (_jx1 - _lx1) * 3 + 1;
- var _xx1 = (_kx1 - _mx1) * 3 + 1;
- var _H3 = _gx1 * 6;
- var _ex1 = this._ex1;
- _ex1[_H3] = _jx1 * _qx1 + _ux1 * _rx1 + _wx1 * _px1;
- _ex1[_H3 + 1] = _kx1 * _qx1 + _vx1 * _rx1 + _xx1 * _px1;
- _ex1[_H3 + 2] = _ux1 * _sx1 + _wx1 * _tx1;
- _ex1[_H3 + 3] = _vx1 * _sx1 + _xx1 * _tx1;
- _ex1[_H3 + 4] = _wx1 * _tx1;
- _ex1[_H3 + 5] = _xx1 * _tx1
- },
- _yx1: function(_gx1, _zx1) {
- _zx1 = _zx1 < 0 ? 0 : (_zx1 > 1 ? 1 : _zx1);
- var _Ax1 = _gx1 * 6;
- var _ex1 = this._ex1;
- var _Bx1 = _ex1[_Ax1];
- if (!_Bx1) return _zx1;
- if (_Bx1 == -1) return 0;
- var _Cx1 = _ex1[_Ax1 + 1];
- var _Dx1 = _ex1[_Ax1 + 2];
- var _Ex1 = _ex1[_Ax1 + 3];
- var _Fx1 = _ex1[_Ax1 + 4];
- var _Gx1 = _ex1[_Ax1 + 5];
- var _f3 = _Bx1,
- _g3 = _Cx1;
- var _H3 = 10 - 2;
- while (!0) {
- if (_f3 >= _zx1) {
- var _Hx1 = _f3 - _Bx1;
- var _Ix1 = _g3 - _Cx1;
- return _Ix1 + (_g3 - _Ix1) * (_zx1 - _Hx1) / (_f3 - _Hx1)
- }
- if (_H3 == 0) break;
- _H3--;
- _Bx1 += _Dx1;
- _Cx1 += _Ex1;
- _Dx1 += _Fx1;
- _Ex1 += _Gx1;
- _f3 += _Bx1;
- _g3 += _Cx1
- }
- return _g3 + (1 - _g3) * (_zx1 - _f3) / (1 - _f3)
- }
- };
- _x8._Jx1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59 * 2
- };
- _x8._Jx1.prototype = {
- _Kx1: 0,
- _Lx1: function() {
- return this.frames.length / 2;
- },
- _Mx1: function(_gx1, _5j, _0b) {
- _gx1 *= 2;
- this.frames[_gx1] = _5j;
- this.frames[_gx1 + 1] = _0b
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _tb = _09._Ox1[this._Kx1];
- if (_5j >= frames[frames.length - 2]) {
- var _Px1 = _tb.data._i5 + frames[frames.length - 1] - _tb._i5;
- while (_Px1 > 180) _Px1 -= 360;
- while (_Px1 < -180) _Px1 += 360;
- _tb._i5 += _Px1 * alpha;
- return
- }
- var _gx1 = _x8._ax1(frames, _5j, 2);
- var _Qx1 = frames[_gx1 - 1];
- var _Rx1 = frames[_gx1];
- var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 2] - _Rx1);
- _zx1 = this._ex1._yx1(_gx1 / 2 - 1, _zx1);
- var _Px1 = frames[_gx1 + 1] - _Qx1;
- while (_Px1 > 180) _Px1 -= 360;
- while (_Px1 < -180) _Px1 += 360;
- _Px1 = _tb.data._i5 + (_Qx1 + _Px1 * _zx1) - _tb._i5;
- while (_Px1 > 180) _Px1 -= 360;
- while (_Px1 < -180) _Px1 += 360;
- _tb._i5 += _Px1 * alpha
- }
- };
- _x8._Sx1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59 * 3
- };
- _x8._Sx1.prototype = {
- _Kx1: 0,
- _Lx1: function() {
- return this.frames.length / 3
- },
- _Mx1: function(_gx1, _5j, _f3, _g3) {
- _gx1 *= 3;
- this.frames[_gx1] = _5j;
- this.frames[_gx1 + 1] = _f3;
- this.frames[_gx1 + 2] = _g3
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _tb = _09._Ox1[this._Kx1];
- if (_5j >= frames[frames.length - 3]) {
- _tb._f3 += (_tb.data._f3 + frames[frames.length - 2] - _tb._f3) * alpha;
- _tb._g3 += (_tb.data._g3 + frames[frames.length - 1] - _tb._g3) * alpha;
- return
- }
- var _gx1 = _x8._ax1(frames, _5j, 3);
- var _Tx1 = frames[_gx1 - 2];
- var _Ux1 = frames[_gx1 - 1];
- var _Rx1 = frames[_gx1];
- var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 + -3] - _Rx1);
- _zx1 = this._ex1._yx1(_gx1 / 3 - 1, _zx1);
- _tb._f3 += (_tb.data._f3 + _Tx1 + (frames[_gx1 + 1] - _Tx1) * _zx1 - _tb._f3) * alpha;
- _tb._g3 += (_tb.data._g3 + _Ux1 + (frames[_gx1 + 2] - _Ux1) * _zx1 - _tb._g3) * alpha;
- }
- };
- _x8._Vx1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59 * 3
- };
- _x8._Vx1.prototype = {
- _Kx1: 0,
- _Lx1: function() {
- return this.frames.length / 3
- },
- _Mx1: function(_gx1, _5j, _f3, _g3) {
- _gx1 *= 3;
- this.frames[_gx1] = _5j;
- this.frames[_gx1 + 1] = _f3;
- this.frames[_gx1 + 2] = _g3
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _tb = _09._Ox1[this._Kx1];
- if (_5j >= frames[frames.length - 3]) {
- _tb._E3 += (_tb.data._E3 - 1 + frames[frames.length - 2] - _tb._E3) * alpha;
- _tb._F3 += (_tb.data._F3 - 1 + frames[frames.length - 1] - _tb._F3) * alpha;
- return
- }
- var _gx1 = _x8._ax1(frames, _5j, 3);
- var _Tx1 = frames[_gx1 - 2];
- var _Ux1 = frames[_gx1 - 1];
- var _Rx1 = frames[_gx1];
- var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 + -3] - _Rx1);
- _zx1 = this._ex1._yx1(_gx1 / 3 - 1, _zx1);
- _tb._E3 += (_tb.data._E3 - 1 + _Tx1 + (frames[_gx1 + 1] - _Tx1) * _zx1 - _tb._E3) * alpha;
- _tb._F3 += (_tb.data._F3 - 1 + _Ux1 + (frames[_gx1 + 2] - _Ux1) * _zx1 - _tb._F3) * alpha
- }
- };
- _x8._Wx1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59 * 5
- };
- _x8._Wx1.prototype = {
- _1x1: 0,
- _Lx1: function() {
- return this.frames.length / 5;
- },
- _Mx1: function(_gx1, _5j, _T9, _jb, _W9, _kb) {
- _gx1 *= 5;
- this.frames[_gx1] = _5j;
- this.frames[_gx1 + 1] = _T9;
- this.frames[_gx1 + 2] = _jb;
- this.frames[_gx1 + 3] = _W9;
- this.frames[_gx1 + 4] = _kb
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _T9, _jb, _W9, _kb;
- if (_5j >= frames[frames.length - 5]) {
- var _H3 = frames.length - 1;
- _T9 = frames[_H3 - 3];
- _jb = frames[_H3 - 2];
- _W9 = frames[_H3 - 1];
- _kb = frames[_H3]
- } else {
- var _gx1 = _x8._ax1(frames, _5j, 5);
- var _Xx1 = frames[_gx1 - 4];
- var _Yx1 = frames[_gx1 - 3];
- var _Zx1 = frames[_gx1 - 2];
- var __x1 = frames[_gx1 - 1];
- var _Rx1 = frames[_gx1];
- var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 5] - _Rx1);
- _zx1 = this._ex1._yx1(_gx1 / 5 - 1, _zx1);
- _T9 = _Xx1 + (frames[_gx1 + 1] - _Xx1) * _zx1;
- _jb = _Yx1 + (frames[_gx1 + 2] - _Yx1) * _zx1;
- _W9 = _Zx1 + (frames[_gx1 + 3] - _Zx1) * _zx1;
- _kb = __x1 + (frames[_gx1 + 4] - __x1) * _zx1
- }
- var _gb = _09._fb[this._1x1];
- if (alpha < 1) {
- _gb._T9 += (_T9 - _gb._T9) * alpha;
- _gb._jb += (_jb - _gb._jb) * alpha;
- _gb._W9 += (_W9 - _gb._W9) * alpha;
- _gb._kb += (_kb - _gb._kb) * alpha
- } else {
- _gb._T9 = _T9;
- _gb._jb = _jb;
- _gb._W9 = _W9;
- _gb._kb = _kb
- }
- }
- };
- _x8._0y1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59;
- this._1y1 = [];
- this._1y1.length = _59
- };
- _x8._0y1.prototype = {
- _1x1: 0,
- _Lx1: function() {
- return this.frames.length
- },
- _Mx1: function(_gx1, _5j, _Ew1) {
- this.frames[_gx1] = _5j;
- this._1y1[_gx1] = _Ew1
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _gx1;
- if (_5j >= frames[frames.length - 1]) _gx1 = frames.length - 1;
- else _gx1 = _x8._ax1(frames, _5j, 1) - 1;
- var _Ew1 = this._1y1[_gx1];
- _09._fb[this._1x1]._Uw1(!_Ew1 ? null: _09._Yw1(this._1x1, _Ew1))
- }
- };
- _x8._2y1 = function(_59) {
- this.frames = [];
- this.frames.length = _59;
- this._8x1 = [];
- this._8x1.length = _59
- };
- _x8._2y1.prototype = {
- _Lx1: function() {
- return this.frames.length
- },
- _Mx1: function(_gx1, _5j, event) {
- this.frames[_gx1] = _5j;
- this._8x1[_gx1] = event
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- if (!_Nx1) return;
- var frames = this.frames;
- var _59 = frames.length;
- if (_7x1 > _5j) {
- this.apply(_09, _7x1, Number.MAX_VALUE, _Nx1, alpha);
- _7x1 = -1
- } else if (_7x1 >= frames[_59 - 1]) return;
- if (_5j < frames[0]) return;
- var _gx1;
- if (_7x1 < frames[0]) _gx1 = 0;
- else {
- _gx1 = _x8._ax1(frames, _7x1, 1);
- var _k9 = frames[_gx1];
- while (_gx1 > 0) {
- if (frames[_gx1 - 1] != _k9) break;
- _gx1--
- }
- }
- var _8x1 = this._8x1;
- for (; _gx1 < _59 && _5j >= frames[_gx1]; _gx1++) _Nx1.push(_8x1[_gx1])
- }
- };
- _x8._3y1 = function(_59) {
- this.frames = [];
- this.frames.length = _59;
- this._4y1 = [];
- this._4y1.length = _59
- };
- _x8._3y1.prototype = {
- _Lx1: function() {
- return this.frames.length
- },
- _Mx1: function(_gx1, _5j, _hb) {
- this.frames[_gx1] = _5j;
- this._4y1[_gx1] = _hb
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var frames = this.frames;
- if (_5j < frames[0]) return;
- var _gx1;
- if (_5j >= frames[frames.length - 1]) _gx1 = frames.length - 1;
- else _gx1 = _x8._ax1(frames, _5j, 1) - 1;
- var _hb = _09._hb;
- var _fb = _09._fb;
- var _5y1 = this._4y1[_gx1];
- if (!_5y1) {
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) _hb[_H3] = _fb[_H3]
- } else {
- for (var _H3 = 0,
- _C9 = _5y1.length; _H3 < _C9; _H3++) _hb[_H3] = _09._fb[_5y1[_H3]]
- }
- }
- };
- _x8._6y1 = function(_59) {
- this._ex1 = new _x8._dx1(_59);
- this.frames = [];
- this.frames.length = _59;
- this._7y1 = [];
- this._7y1.length = _59
- };
- _x8._6y1.prototype = {
- _1x1: 0,
- _ib: 0,
- _Lx1: function() {
- return this.frames.length
- },
- _Mx1: function(_gx1, _5j, _rb) {
- this.frames[_gx1] = _5j;
- this._7y1[_gx1] = _rb
- },
- apply: function(_09, _7x1, _5j, _Nx1, alpha) {
- var _gb = _09._fb[this._1x1];
- if (_gb._ib != _gb._ib) return;
- var frames = this.frames;
- if (_5j < frames[0]) {
- _gb._Tw1.length = 0;
- return
- }
- var _7y1 = this._7y1;
- var _LO = _7y1[0].length;
- var _rb = _gb._Tw1;
- if (_rb.length < _LO) {
- _rb = [];
- _rb.length = _LO;
- _gb._Tw1 = _rb
- }
- _gb._Tw1.length = _LO;
- if (_5j >= frames[frames.length - 1]) {
- var _8y1 = _7y1[frames.length - 1];
- if (alpha < 1) {
- for (var _H3 = 0; _H3 < _LO; _H3++) _rb[_H3] += (_8y1[_H3] - _rb[_H3]) * alpha
- } else {
- for (var _H3 = 0; _H3 < _LO; _H3++) _rb[_H3] = _8y1[_H3]
- }
- return
- }
- var _gx1 = _x8._ax1(frames, _5j, 1);
- var _Rx1 = frames[_gx1];
- var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 1] - _Rx1);
- _zx1 = this._ex1._yx1(_gx1 - 1, _zx1 < 0 ? 0 : (_zx1 > 1 ? 1 : _zx1));
- var _9y1 = _7y1[_gx1 - 1];
- var _ay1 = _7y1[_gx1];
- if (alpha < 1) {
- for (var _H3 = 0; _H3 < _LO; _H3++) {
- var _u11 = _9y1[_H3];
- _rb[_H3] += (_u11 + (_ay1[_H3] - _u11) * _zx1 - _rb[_H3]) * alpha
- }
- } else {
- for (var _H3 = 0; _H3 < _LO; _H3++) {
- var _u11 = _9y1[_H3];
- _rb[_H3] = _u11 + (_ay1[_H3] - _u11) * _zx1
- }
- }
- }
- };
- _x8._by1 = function() {
- this._Ox1 = [];
- this._fb = [];
- this._cy1 = [];
- this._8x1 = [];
- this._B8 = []
- };
- _x8._by1.prototype = {
- _R8: null,
- _dy1: function(_ey1) {
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].name == _ey1) return _Ox1[_H3];
- return null
- },
- _fy1: function(_ey1) {
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].name == _ey1) return _H3;
- return - 1
- },
- _gy1: function(_hy1) {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) {
- if (_fb[_H3].name == _hy1) return _gb[_H3]
- }
- return null
- },
- _iy1: function(_hy1) {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].name == _hy1) return _H3;
- return - 1
- },
- _jy1: function(_ky1) {
- var _cy1 = this._cy1;
- for (var _H3 = 0,
- _C9 = _cy1.length; _H3 < _C9; _H3++) if (_cy1[_H3].name == _ky1) return _cy1[_H3];
- return null
- },
- _ly1: function(_my1) {
- var _8x1 = this._8x1;
- for (var _H3 = 0,
- _C9 = _8x1.length; _H3 < _C9; _H3++) if (_8x1[_H3].name == _my1) return _8x1[_H3];
- return null
- },
- _N8: function(_ny1) {
- var _B8 = this._B8;
- for (var _H3 = 0,
- _C9 = _B8.length; _H3 < _C9; _H3++) if (_B8[_H3].name == _ny1) return _B8[_H3];
- return null
- }
- };
- _x8._y8 = function(_oy1) {
- this.data = _oy1;
- this._Ox1 = [];
- for (var _H3 = 0,
- _C9 = _oy1._Ox1.length; _H3 < _C9; _H3++) {
- var _Dw1 = _oy1._Ox1[_H3];
- var parent = !_Dw1.parent ? null: this._Ox1[_oy1._Ox1.indexOf(_Dw1.parent)];
- this._Ox1.push(new _x8._2b(_Dw1, parent))
- }
- this._fb = [];
- this._hb = [];
- for (var _H3 = 0,
- _C9 = _oy1._fb.length; _H3 < _C9; _H3++) {
- var _Rw1 = _oy1._fb[_H3];
- var _tb = this._Ox1[_oy1._Ox1.indexOf(_Rw1._Dw1)];
- var _gb = new _x8._Qw1(_Rw1, this, _tb);
- this._fb.push(_gb);
- this._hb.push(_gb)
- }
- };
- _x8._y8.prototype = {
- _f3: 0,
- _g3: 0,
- _py1: null,
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _5j: 0,
- _e9: !1,
- _f9: !1,
- _49: function() {
- var _e9 = this._e9;
- var _f9 = this._f9;
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) _Ox1[_H3]._49(_e9, _f9)
- },
- _Gw1: function() {
- this._qy1();
- this._S8()
- },
- _qy1: function() {
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) _Ox1[_H3]._Gw1()
- },
- _S8: function() {
- var _fb = this._fb;
- var _hb = this._hb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) {
- _hb[_H3] = _fb[_H3];
- _fb[_H3]._Gw1(_H3)
- }
- },
- _29: function() {
- return this._Ox1.length == 0 ? null: this._Ox1[0]
- },
- _dy1: function(_ey1) {
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].data.name == _ey1) return _Ox1[_H3];
- return null
- },
- _fy1: function(_ey1) {
- var _Ox1 = this._Ox1;
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].data.name == _ey1) return _H3;
- return - 1
- },
- _gy1: function(_hy1) {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].data.name == _hy1) return _fb[_H3];
- return null;
- },
- _iy1: function(_hy1) {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].data.name == _hy1) return _H3;
- return - 1
- },
- _Q8: function(_ky1) {
- var _py1 = this.data._jy1(_ky1);
- if (!_py1) throw "Skin not found: " + _ky1;
- this._ry1(_py1)
- },
- _ry1: function(_sy1) {
- if (_sy1) {
- if (this._py1) _sy1._3x1(this, this._py1);
- else {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) {
- var _gb = _fb[_H3];
- var name = _gb.data._Ew1;
- if (name) {
- var _ib = _sy1._2x1(_H3, name);
- if (_ib) _gb._Uw1(_ib)
- }
- }
- }
- }
- this._py1 = _sy1
- },
- _ty1: function(_hy1, _Ew1) {
- return this._Yw1(this.data._iy1(_hy1), _Ew1)
- },
- _Yw1: function(_1x1, _Ew1) {
- if (this._py1) {
- var _ib = this._py1._2x1(_1x1, _Ew1);
- if (_ib) return _ib
- }
- if (this.data._R8) return this.data._R8._2x1(_1x1, _Ew1);
- return null
- },
- _Uw1: function(_hy1, _Ew1) {
- var _fb = this._fb;
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) {
- var _gb = _fb[_H3];
- if (_gb.data.name == _hy1) {
- var _ib = null;
- if (_Ew1) {
- _ib = this._Yw1(_H3, _Ew1);
- if (!_ib) throw "Attachment not found: " + _Ew1 + ", for slot: " + _hy1
- }
- _gb._Uw1(_ib);
- return
- }
- }
- throw "Slot not found: " + _hy1
- },
- _b9: function(_uy1) {
- this._5j += _uy1
- }
- };
- _x8._vy1 = function(name) {
- this.name = name;
- };
- _x8._vy1.prototype = {
- _wy1: 0,
- _xy1: 0,
- _yy1: null
- };
- _x8._st = function(data) {
- this.data = data
- };
- _x8._st.prototype = {
- _wy1: 0,
- _xy1: 0,
- _yy1: null
- };
- _x8._lb = {
- _mb: 0,
- _zy1: 1,
- _nb: 2,
- _ob: 3
- };
- _x8._Ay1 = function(name) {
- this.name = name;
- this._L3 = [];
- this._L3.length = 8;
- this._wb = [];
- this._wb.length = 8
- };
- _x8._Ay1.prototype = {
- type: _x8._lb._mb,
- _f3: 0,
- _g3: 0,
- _i5: 0,
- _E3: 1,
- _F3: 1,
- width: 0,
- height: 0,
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _By1: null,
- _Sa: null,
- _Cy1: 0,
- _Dy1: 0,
- _Ey1: 0,
- _Fy1: 0,
- _Gy1: 0,
- _Hy1: 0,
- _Iy1: function(_vb, _xb, _sU, _ic, rotate) {
- var _wb = this._wb;
- if (rotate) {
- _wb[2] = _vb;
- _wb[3] = _ic;
- _wb[4] = _vb;
- _wb[5] = _xb;
- _wb[6] = _sU;
- _wb[7] = _xb;
- _wb[0] = _sU;
- _wb[1] = _ic
- } else {
- _wb[0] = _vb;
- _wb[1] = _ic;
- _wb[2] = _vb;
- _wb[3] = _xb;
- _wb[4] = _sU;
- _wb[5] = _xb;
- _wb[6] = _sU;
- _wb[7] = _ic
- }
- },
- _Jy1: function() {
- var _Ky1 = this.width / this._Gy1 * this._E3;
- var _Ly1 = this.height / this._Hy1 * this._F3;
- var _My1 = -this.width / 2 * this._E3 + this._Cy1 * _Ky1;
- var _Ny1 = -this.height / 2 * this._F3 + this._Dy1 * _Ly1;
- var _Oy1 = _My1 + this._Ey1 * _Ky1;
- var _Py1 = _Ny1 + this._Fy1 * _Ly1;
- var _Pw1 = this._i5 * Math.PI / 180;
- var cos = Math.cos(_Pw1);
- var sin = Math.sin(_Pw1);
- var _Qy1 = _My1 * cos + this._f3;
- var _Ry1 = _My1 * sin;
- var _Sy1 = _Ny1 * cos + this._g3;
- var _Ty1 = _Ny1 * sin;
- var _Uy1 = _Oy1 * cos + this._f3;
- var _Vy1 = _Oy1 * sin;
- var _Wy1 = _Py1 * cos + this._g3;
- var _Xy1 = _Py1 * sin;
- var _L3 = this._L3;
- _L3[0] = _Qy1 - _Ty1;
- _L3[1] = _Sy1 + _Ry1;
- _L3[2] = _Qy1 - _Xy1;
- _L3[3] = _Wy1 + _Ry1;
- _L3[4] = _Uy1 - _Xy1;
- _L3[5] = _Wy1 + _Vy1;
- _L3[6] = _Uy1 - _Ty1;
- _L3[7] = _Sy1 + _Vy1
- },
- _sb: function(_f3, _g3, _tb, _rb) {
- _f3 += _tb._Jw1;
- _g3 += _tb._Lw1;
- var _Hw1 = _tb._Hw1,
- _Iw1 = _tb._Iw1,
- _Kw1 = _tb._Kw1,
- _Ub = _tb._Ub;
- var _L3 = this._L3;
- _rb[0] = _L3[0] * _Hw1 + _L3[1] * _Iw1 + _f3;
- _rb[1] = _L3[0] * _Kw1 + _L3[1] * _Ub + _g3;
- _rb[2] = _L3[2] * _Hw1 + _L3[3] * _Iw1 + _f3;
- _rb[3] = _L3[2] * _Kw1 + _L3[3] * _Ub + _g3;
- _rb[4] = _L3[4] * _Hw1 + _L3[5] * _Iw1 + _f3;
- _rb[5] = _L3[4] * _Kw1 + _L3[5] * _Ub + _g3;
- _rb[6] = _L3[6] * _Hw1 + _L3[7] * _Iw1 + _f3;
- _rb[7] = _L3[6] * _Kw1 + _L3[7] * _Ub + _g3
- }
- };
- _x8._Yy1 = function(name) {
- this.name = name
- };
- _x8._Yy1.prototype = {
- type: _x8._lb._nb,
- _rb: null,
- _wb: null,
- _Zy1: null,
- _Fb: null,
- __y1: 0,
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _By1: null,
- _Sa: null,
- _0z1: 0,
- _1z1: 0,
- _2z1: 0,
- _3z1: 0,
- _4z1: !1,
- _Cy1: 0,
- _Dy1: 0,
- _Ey1: 0,
- _Fy1: 0,
- _Gy1: 0,
- _Hy1: 0,
- _5z1: null,
- width: 0,
- height: 0,
- _6z1: function() {
- var width = this._2z1 - this._0z1,
- height = this._3z1 - this._1z1;
- var _Zy1 = this._Zy1,
- _0z1 = this._0z1,
- _1z1 = this._1z1;
- var _C9 = this._Zy1.length;
- if (!this._wb || this._wb.length != _C9) {
- this._wb = [];
- this._wb.length = _C9
- }
- if (this._4z1) {
- for (var _H3 = 0; _H3 < _C9; _H3 += 2) {
- this._wb[_H3] = _0z1 + _Zy1[_H3 + 1] * width;
- this._wb[_H3 + 1] = _1z1 + height - _Zy1[_H3] * height
- }
- } else {
- for (var _H3 = 0; _H3 < _C9; _H3 += 2) {
- this._wb[_H3] = _0z1 + _Zy1[_H3] * width;
- this._wb[_H3 + 1] = _1z1 + _Zy1[_H3 + 1] * height
- }
- }
- },
- _Eb: function(_f3, _g3, _gb, _7z1) {
- var _tb = _gb._tb;
- _f3 += _tb._Jw1;
- _g3 += _tb._Lw1;
- var _Hw1 = _tb._Hw1,
- _Iw1 = _tb._Iw1,
- _Kw1 = _tb._Kw1,
- _Ub = _tb._Ub;
- var _rb = this._rb;
- var _8z1 = _rb.length;
- if (_gb._Tw1.length == _8z1) _rb = _gb._Tw1;
- for (var _H3 = 0; _H3 < _8z1; _H3 += 2) {
- var _AQ = _rb[_H3];
- var _BQ = _rb[_H3 + 1];
- _7z1[_H3] = _AQ * _Hw1 + _BQ * _Iw1 + _f3;
- _7z1[_H3 + 1] = _AQ * _Kw1 + _BQ * _Ub + _g3
- }
- }
- };
- _x8._9z1 = function(name) {
- this.name = name
- };
- _x8._9z1.prototype = {
- type: _x8._lb._ob,
- _Ox1: null,
- _az1: null,
- _wb: null,
- _Zy1: null,
- _Fb: null,
- __y1: 0,
- _T9: 1,
- _jb: 1,
- _W9: 1,
- _kb: 1,
- _By1: null,
- _Sa: null,
- _0z1: 0,
- _1z1: 0,
- _2z1: 0,
- _3z1: 0,
- _4z1: !1,
- _Cy1: 0,
- _Dy1: 0,
- _Ey1: 0,
- _Fy1: 0,
- _Gy1: 0,
- _Hy1: 0,
- _5z1: null,
- width: 0,
- height: 0,
- _6z1: function(_vb, _xb, _sU, _ic, rotate) {
- var width = this._2z1 - this._0z1,
- height = this._3z1 - this._1z1;
- var _Zy1 = this._Zy1,
- _0z1 = this._0z1,
- _1z1 = this._1z1;
- var _C9 = _Zy1.length;
- if (!this._wb || this._wb.length != _C9) {
- this._wb = [];
- this._wb.length = _C9
- }
- if (this._4z1) {
- for (var _H3 = 0; _H3 < _C9; _H3 += 2) {
- this._wb[_H3] = _0z1 + _Zy1[_H3 + 1] * width;
- this._wb[_H3 + 1] = _1z1 + height - _Zy1[_H3] * height
- }
- } else {
- for (var _H3 = 0; _H3 < _C9; _H3 += 2) {
- this._wb[_H3] = _0z1 + _Zy1[_H3] * width;
- this._wb[_H3 + 1] = _1z1 + _Zy1[_H3 + 1] * height
- }
- }
- },
- _Eb: function(_f3, _g3, _gb, _7z1) {
- var _bz1 = _gb._09._Ox1;
- var _az1 = this._az1;
- var _Ox1 = this._Ox1;
- var _J3 = 0,
- _xb = 0,
- _W9 = 0,
- _Mq = 0,
- _C9 = _Ox1.length,
- _cz1;
- var _dz1, _ez1, _tb, _AQ, _BQ, _Z41;
- if (_gb._Tw1.length == 0) {
- for (; _xb < _C9; _J3 += 2) {
- _dz1 = 0;
- _ez1 = 0;
- _cz1 = _Ox1[_xb++] + _xb;
- for (; _xb < _cz1; _xb++, _W9 += 3) {
- _tb = _bz1[_Ox1[_xb]];
- _AQ = _az1[_W9];
- _BQ = _az1[_W9 + 1];
- _Z41 = _az1[_W9 + 2];
- _dz1 += (_AQ * _tb._Hw1 + _BQ * _tb._Iw1 + _tb._Jw1) * _Z41;
- _ez1 += (_AQ * _tb._Kw1 + _BQ * _tb._Ub + _tb._Lw1) * _Z41
- }
- _7z1[_J3] = _dz1 + _f3;
- _7z1[_J3 + 1] = _ez1 + _g3
- }
- } else {
- var _fz1 = _gb._Tw1;
- for (; _xb < _C9; _J3 += 2) {
- _dz1 = 0;
- _ez1 = 0;
- _cz1 = _Ox1[_xb++] + _xb;
- for (; _xb < _cz1; _xb++, _W9 += 3, _Mq += 2) {
- _tb = _bz1[_Ox1[_xb]];
- _AQ = _az1[_W9] + _fz1[_Mq];
- _BQ = _az1[_W9 + 1] + _fz1[_Mq + 1];
- _Z41 = _az1[_W9 + 2];
- _dz1 += (_AQ * _tb._Hw1 + _BQ * _tb._Iw1 + _tb._Jw1) * _Z41;
- _ez1 += (_AQ * _tb._Kw1 + _BQ * _tb._Ub + _tb._Lw1) * _Z41
- }
- _7z1[_J3] = _dz1 + _f3;
- _7z1[_J3 + 1] = _ez1 + _g3
- }
- }
- }
- };
- _x8._gz1 = function(name) {
- this.name = name;
- this._rb = []
- };
- _x8._gz1.prototype = {
- type: _x8._lb._zy1,
- _Eb: function(_f3, _g3, _tb, _7z1) {
- _f3 += _tb._Jw1;
- _g3 += _tb._Lw1;
- var _Hw1 = _tb._Hw1,
- _Iw1 = _tb._Iw1,
- _Kw1 = _tb._Kw1,
- _Ub = _tb._Ub;
- var _rb = this._rb;
- for (var _H3 = 0,
- _C9 = _rb.length; _H3 < _C9; _H3 += 2) {
- var _0k = _rb[_H3];
- var _1k = _rb[_H3 + 1];
- _7z1[_H3] = _0k * _Hw1 + _1k * _Iw1 + _f3;
- _7z1[_H3 + 1] = _0k * _Kw1 + _1k * _Ub + _g3
- }
- }
- };
- _x8._z8 = function(_oy1) {
- this._oy1 = _oy1;
- this._hz1 = {}
- };
- _x8._z8.prototype = {
- _iz1: 0,
- _jz1: function(_kz1, _lz1, duration) {
- var _mz1 = this._oy1._N8(_kz1);
- if (!_mz1) throw "Animation not found: " + _kz1;
- var _nz1 = this._oy1._N8(_lz1);
- if (!_nz1) throw "Animation not found: " + _lz1;
- this._oz1(_mz1, _nz1, duration)
- },
- _oz1: function(_mz1, _nz1, duration) {
- this._hz1[_mz1.name + ":" + _nz1.name] = duration
- },
- _pz1: function(_mz1, _nz1) {
- var _5j = this._hz1[_mz1.name + ":" + _nz1.name];
- return _5j ? _5j: this._iz1
- }
- };
- _x8._qz1 = function() {};
- _x8._qz1.prototype = {
- _ni: null,
- _rz1: null,
- _M8: null,
- loop: !1,
- _sz1: 0,
- _5j: 0,
- _7x1: -1,
- _tz1: 0,
- _uz1: 1,
- _vz1: 0,
- _wz1: 0,
- _9x1: 1,
- _xz1: null,
- _yz1: null,
- onComplete: null,
- _zz1: null
- };
- _x8._A8 = function(_Zi1) {
- this.data = _Zi1;
- this._Az1 = [];
- this._8x1 = []
- };
- _x8._A8.prototype = {
- _xz1: null,
- _yz1: null,
- onComplete: null,
- _zz1: null,
- _uz1: 1,
- _b9: function(_uy1) {
- _uy1 *= this._uz1;
- for (var _H3 = 0; _H3 < this._Az1.length; _H3++) {
- var current = this._Az1[_H3];
- if (!current) continue;
- current._5j += _uy1 * current._uz1;
- if (current._rz1) {
- var _Bz1 = _uy1 * current._rz1._uz1;
- current._rz1._5j += _Bz1;
- current._vz1 += _Bz1
- }
- var _ni = current._ni;
- if (_ni) {
- _ni._5j = current._7x1 - _ni._sz1;
- if (_ni._5j >= 0) this._Cz1(_H3, _ni)
- } else {
- if (!current.loop && current._7x1 >= current._tz1) this._Dz1(_H3)
- }
- }
- },
- apply: function(_09) {
- for (var _H3 = 0; _H3 < this._Az1.length; _H3++) {
- var current = this._Az1[_H3];
- if (!current) continue;
- this._8x1.length = 0;
- var _5j = current._5j;
- var _7x1 = current._7x1;
- var _tz1 = current._tz1;
- var loop = current.loop;
- if (!loop && _5j > _tz1) _5j = _tz1;
- var _rz1 = current._rz1;
- if (!_rz1) {
- if (current._9x1 == 1) current._M8.apply(_09, current._7x1, _5j, loop, this._8x1);
- else current._M8._9x1(_09, current._7x1, _5j, loop, this._8x1, current._9x1)
- } else {
- var _Ez1 = _rz1._5j;
- if (!_rz1.loop && _Ez1 > _rz1._tz1) _Ez1 = _rz1._tz1;
- _rz1._M8.apply(_09, _Ez1, _Ez1, _rz1.loop, null);
- var alpha = current._vz1 / current._wz1 * current._9x1;
- if (alpha >= 1) {
- alpha = 1;
- current._rz1 = null
- }
- current._M8._9x1(_09, current._7x1, _5j, loop, this._8x1, alpha)
- }
- for (var _Fz1 = 0,
- _cz1 = this._8x1.length; _Fz1 < _cz1; _Fz1++) {
- var event = this._8x1[_Fz1];
- if (current._zz1 != null) current._zz1(_H3, event);
- if (this._zz1 != null) this._zz1(_H3, event)
- }
- if (loop ? (_7x1 % _tz1 > _5j % _tz1) : (_7x1 < _tz1 && _5j >= _tz1)) {
- var _Ea = Math.floor(_5j / _tz1);
- if (current.onComplete) current.onComplete(_H3, _Ea);
- if (this.onComplete) this.onComplete(_H3, _Ea)
- }
- current._7x1 = current._5j
- }
- },
- _Gz1: function() {
- for (var _H3 = 0,
- _C9 = this._Az1.length; _H3 < _C9; _H3++) this._Dz1(_H3);
- this._Az1.length = 0
- },
- _Dz1: function(_Hz1) {
- if (_Hz1 >= this._Az1.length) return;
- var current = this._Az1[_Hz1];
- if (!current) return;
- if (current._yz1 != null) current._yz1(_Hz1);
- if (this._yz1 != null) this._yz1(_Hz1);
- this._Az1[_Hz1] = null
- },
- _Iz1: function(index) {
- if (index < this._Az1.length) return this._Az1[index];
- while (index >= this._Az1.length) this._Az1.push(null);
- return null
- },
- _Cz1: function(index, _Jz1) {
- var current = this._Iz1(index);
- if (current) {
- var _rz1 = current._rz1;
- current._rz1 = null;
- if (current._yz1 != null) current._yz1(index);
- if (this._yz1 != null) this._yz1(index);
- _Jz1._wz1 = this.data._pz1(current._M8, _Jz1._M8);
- if (_Jz1._wz1 > 0) {
- _Jz1._vz1 = 0;
- if (_rz1 && current._vz1 / current._wz1 < 0.5) _Jz1._rz1 = _rz1;
- else _Jz1._rz1 = current
- }
- }
- this._Az1[index] = _Jz1;
- if (_Jz1._xz1 != null) _Jz1._xz1(index);
- if (this._xz1 != null) this._xz1(index)
- },
- _Kz1: function(_Hz1, _ny1, loop) {
- var _M8 = this.data._oy1._N8(_ny1);
- if (!_M8) throw "Animation not found: " + _ny1;
- return this._O8(_Hz1, _M8, loop)
- },
- _O8: function(_Hz1, _M8, loop) {
- var _Jz1 = new _x8._qz1();
- _Jz1._M8 = _M8;
- _Jz1.loop = loop;
- _Jz1._tz1 = _M8.duration;
- this._Cz1(_Hz1, _Jz1);
- return _Jz1
- },
- _Lz1: function(_Hz1, _ny1, loop, _sz1) {
- var _M8 = this.data._oy1._N8(_ny1);
- if (!_M8) throw "Animation not found: " + _ny1;
- return this._Mz1(_Hz1, _M8, loop, _sz1)
- },
- _Mz1: function(_Hz1, _M8, loop, _sz1) {
- var _Jz1 = new _x8._qz1();
- _Jz1._M8 = _M8;
- _Jz1.loop = loop;
- _Jz1._tz1 = _M8.duration;
- var _A3 = this._Iz1(_Hz1);
- if (_A3) {
- while (_A3._ni) _A3 = _A3._ni;
- _A3._ni = _Jz1
- } else this._Az1[_Hz1] = _Jz1;
- if (_sz1 <= 0) {
- if (_A3) _sz1 += _A3._tz1 - this.data._pz1(_A3._M8, _M8);
- else _sz1 = 0
- }
- _Jz1._sz1 = _sz1;
- return _Jz1
- },
- _Nz1: function(_Hz1) {
- if (_Hz1 >= this._Az1.length) return null;
- return this._Az1[_Hz1]
- }
- };
- _x8._Ua = function(_Oz1) {
- this._Oz1 = _Oz1
- };
- _x8._Ua.prototype = {
- scale: 1,
- _Wa: function(_19) {
- var _oy1 = new _x8._by1();
- var _Ox1 = _19["bones"];
- for (var _H3 = 0,
- _C9 = _Ox1.length; _H3 < _C9; _H3++) {
- var _Pz1 = _Ox1[_H3];
- var parent = null;
- if (_Pz1["parent"]) {
- parent = _oy1._dy1(_Pz1["parent"]);
- if (!parent) throw "Parent bone not found: " + _Pz1["parent"]
- }
- var _Dw1 = new _x8._zw1(_Pz1["name"], parent);
- _Dw1.length = (_Pz1["length"] || 0) * this.scale;
- _Dw1._f3 = (_Pz1["x"] || 0) * this.scale;
- _Dw1._g3 = (_Pz1["y"] || 0) * this.scale;
- _Dw1._i5 = (_Pz1["rotation"] || 0);
- _Dw1._E3 = _Pz1.hasOwnProperty("scaleX") ? _Pz1["scaleX"] : 1;
- _Dw1._F3 = _Pz1.hasOwnProperty("scaleY") ? _Pz1["scaleY"] : 1;
- _Dw1._Aw1 = !_Pz1["inheritScale"] || _Pz1["inheritScale"] == "true";
- _Dw1._Bw1 = !_Pz1["inheritRotation"] || _Pz1["inheritRotation"] == "true";
- _oy1._Ox1.push(_Dw1)
- }
- var _fb = _19["slots"];
- for (var _H3 = 0,
- _C9 = _fb.length; _H3 < _C9; _H3++) {
- var _Qz1 = _fb[_H3];
- var _Dw1 = _oy1._dy1(_Qz1["bone"]);
- if (!_Dw1) throw "Slot bone not found: " + _Qz1["bone"];
- var _Rw1 = new _x8._Cw1(_Qz1["name"], _Dw1);
- var _bb = _Qz1["color"];
- if (_bb) {
- _Rw1._T9 = this._Rz1(_bb, 0);
- _Rw1._jb = this._Rz1(_bb, 1);
- _Rw1._W9 = this._Rz1(_bb, 2);
- _Rw1._kb = this._Rz1(_bb, 3)
- }
- _Rw1._Ew1 = _Qz1["attachment"];
- _Rw1._Fw1 = _Qz1["additive"] && _Qz1["additive"] == "true";
- _oy1._fb.push(_Rw1);
- }
- var _cy1 = _19["skins"];
- for (var _ky1 in _cy1) {
- if (!_cy1.hasOwnProperty(_ky1)) continue;
- var _Sz1 = _cy1[_ky1];
- var _py1 = new _x8._Zw1(_ky1);
- for (var _hy1 in _Sz1) {
- if (!_Sz1.hasOwnProperty(_hy1)) continue;
- var _1x1 = _oy1._iy1(_hy1);
- var _Tz1 = _Sz1[_hy1];
- for (var _Ew1 in _Tz1) {
- if (!_Tz1.hasOwnProperty(_Ew1)) continue;
- var _ib = this._Uz1(_py1, _Ew1, _Tz1[_Ew1]);
- if (_ib != null) _py1._0x1(_1x1, _Ew1, _ib)
- }
- }
- _oy1._cy1.push(_py1);
- if (_py1.name == "default") _oy1._R8 = _py1
- }
- var _8x1 = _19["events"];
- for (var _my1 in _8x1) {
- if (!_8x1.hasOwnProperty(_my1)) continue;
- var _Vz1 = _8x1[_my1];
- var _qt = new _x8._vy1(_my1);
- _qt._wy1 = _Vz1["int"] || 0;
- _qt._xy1 = _Vz1["float"] || 0;
- _qt._yy1 = _Vz1["string"] || null;
- _oy1._8x1.push(_qt)
- }
- var _B8 = _19["animations"];
- for (var _ny1 in _B8) {
- if (!_B8.hasOwnProperty(_ny1)) continue;
- this._Wz1(_ny1, _B8[_ny1], _oy1)
- }
- return _oy1
- },
- _Xz1: function(map) {
- if (map["type"] && map["type"].toLowerCase() === "boundingbox") {
- return _x8._lb._zy1
- } else if (map["type"] && map["type"].toLowerCase() === "mesh") {
- return _x8._lb._nb
- } else if (map["type"] && map["type"].toLowerCase() === "skinnedmesh") {
- return _x8._lb._ob;
- }
- return _x8._lb._mb
- },
- _Uz1: function(_py1, name, map) {
- name = map["name"] || name;
- var type = this._Xz1(map);
- var _By1 = map["path"] || name;
- var scale = this.scale;
- if (type == _x8._lb._mb) {
- var _mb = this._Oz1._Yz1(_py1, name, _By1);
- if (!_mb) return null;
- _mb._By1 = _By1;
- _mb._f3 = (map["x"] || 0) * this.scale;
- _mb._g3 = (map["y"] || 0) * this.scale;
- _mb._E3 = map.hasOwnProperty("scaleX") ? map["scaleX"] : 1;
- _mb._F3 = map.hasOwnProperty("scaleY") ? map["scaleY"] : 1;
- _mb._i5 = map["rotation"] || 0;
- _mb.width = (map["width"] || 0) * scale;
- _mb.height = (map["height"] || 0) * scale;
- var _bb = map["color"];
- if (_bb) {
- _mb._T9 = this._Rz1(_bb, 0);
- _mb._jb = this._Rz1(_bb, 1);
- _mb._W9 = this._Rz1(_bb, 2);
- _mb._kb = this._Rz1(_bb, 3)
- }
- _mb._Jy1();
- return _mb
- } else if (type == _x8._lb._nb) {
- var _nb = this._Oz1._Zz1(_py1, name, _By1);
- if (!_nb) return null;
- _nb._By1 = _By1;
- _nb._rb = this.__z1(map, "vertices", scale);
- _nb._Fb = this._0A1(map, "triangles");
- _nb._Zy1 = this.__z1(map, "uvs", 1);
- _nb._6z1();
- _bb = map["color"];
- if (_bb) {
- _nb._T9 = this._Rz1(_bb, 0);
- _nb._jb = this._Rz1(_bb, 1);
- _nb._W9 = this._Rz1(_bb, 2);
- _nb._kb = this._Rz1(_bb, 3)
- }
- _nb.__y1 = (map["hull"] || 0) * 2;
- if (map["edges"]) _nb._5z1 = this._0A1(map, "edges");
- _nb.width = (map["width"] || 0) * scale;
- _nb.height = (map["height"] || 0) * scale;
- return _nb
- } else if (type == _x8._lb._ob) {
- var _nb = this._Oz1._1A1(_py1, name, _By1);
- if (!_nb) return null;
- _nb._By1 = _By1;
- var _wb = this.__z1(map, "uvs", 1);
- _rb = this.__z1(map, "vertices", 1);
- var _az1 = [];
- var _Ox1 = [];
- for (var _H3 = 0,
- _C9 = _rb.length; _H3 < _C9;) {
- var _2A1 = _rb[_H3++] | 0;
- _Ox1[_Ox1.length] = _2A1;
- for (var _cz1 = _H3 + _2A1 * 4; _H3 < _cz1;) {
- _Ox1[_Ox1.length] = _rb[_H3];
- _az1[_az1.length] = _rb[_H3 + 1] * scale;
- _az1[_az1.length] = _rb[_H3 + 2] * scale;
- _az1[_az1.length] = _rb[_H3 + 3];
- _H3 += 4
- }
- }
- _nb._Ox1 = _Ox1;
- _nb._az1 = _az1;
- _nb._Fb = this._0A1(map, "triangles");
- _nb._Zy1 = _wb;
- _nb._6z1();
- _bb = map["color"];
- if (_bb) {
- _nb._T9 = this._Rz1(_bb, 0);
- _nb._jb = this._Rz1(_bb, 1);
- _nb._W9 = this._Rz1(_bb, 2);
- _nb._kb = this._Rz1(_bb, 3)
- }
- _nb.__y1 = (map["hull"] || 0) * 2;
- if (map["edges"]) _nb._5z1 = this._0A1(map, "edges");
- _nb.width = (map["width"] || 0) * scale;
- _nb.height = (map["height"] || 0) * scale;
- return _nb
- } else if (type == _x8._lb._zy1) {
- var _ib = this._Oz1._3A1(_py1, name);
- var _rb = map["vertices"];
- for (var _H3 = 0,
- _C9 = _rb.length; _H3 < _C9; _H3++) _ib._rb.push(_rb[_H3] * this.scale);
- return _ib
- }
- throw "Unknown attachment type: " + type
- },
- _Wz1: function(name, map, _oy1) {
- var _99 = [];
- var duration = 0;
- var _fb = map["slots"];
- for (var _hy1 in _fb) {
- if (!_fb.hasOwnProperty(_hy1)) continue;
- var _Qz1 = _fb[_hy1];
- var _1x1 = _oy1._iy1(_hy1);
- for (var _4A1 in _Qz1) {
- if (!_Qz1.hasOwnProperty(_4A1)) continue;
- var _bx1 = _Qz1[_4A1];
- if (_4A1 == "color") {
- var _ot = new _x8._Wx1(_bx1.length);
- _ot._1x1 = _1x1;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _bx1.length; _H3 < _C9; _H3++) {
- var _5A1 = _bx1[_H3];
- var _bb = _5A1["color"];
- var _T9 = this._Rz1(_bb, 0);
- var _jb = this._Rz1(_bb, 1);
- var _W9 = this._Rz1(_bb, 2);
- var _kb = this._Rz1(_bb, 3);
- _ot._Mx1(_gx1, _5A1["time"], _T9, _jb, _W9, _kb);
- this._6A1(_ot, _gx1, _5A1);
- _gx1++
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() * 5 - 5])
- } else if (_4A1 == "attachment") {
- var _ot = new _x8._0y1(_bx1.length);
- _ot._1x1 = _1x1;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _bx1.length; _H3 < _C9; _H3++) {
- var _5A1 = _bx1[_H3];
- _ot._Mx1(_gx1++, _5A1["time"], _5A1["name"])
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1])
- } else throw "Invalid timeline type for a slot: " + _4A1 + " (" + _hy1 + ")";
- }
- }
- var _Ox1 = map["bones"];
- for (var _ey1 in _Ox1) {
- if (!_Ox1.hasOwnProperty(_ey1)) continue;
- var _Kx1 = _oy1._fy1(_ey1);
- if (_Kx1 == -1) throw "Bone not found: " + _ey1;
- var _Pz1 = _Ox1[_ey1];
- for (var _4A1 in _Pz1) {
- if (!_Pz1.hasOwnProperty(_4A1)) continue;
- var _bx1 = _Pz1[_4A1];
- if (_4A1 == "rotate") {
- var _ot = new _x8._Jx1(_bx1.length);
- _ot._Kx1 = _Kx1;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _bx1.length; _H3 < _C9; _H3++) {
- var _5A1 = _bx1[_H3];
- _ot._Mx1(_gx1, _5A1["time"], _5A1["angle"]);
- this._6A1(_ot, _gx1, _5A1);
- _gx1++
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() * 2 - 2]);
- } else if (_4A1 == "translate" || _4A1 == "scale") {
- var _ot;
- var _7A1 = 1;
- if (_4A1 == "scale") _ot = new _x8._Vx1(_bx1.length);
- else {
- _ot = new _x8._Sx1(_bx1.length);
- _7A1 = this.scale
- }
- _ot._Kx1 = _Kx1;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _bx1.length; _H3 < _C9; _H3++) {
- var _5A1 = _bx1[_H3];
- var _f3 = (_5A1["x"] || 0) * _7A1;
- var _g3 = (_5A1["y"] || 0) * _7A1;
- _ot._Mx1(_gx1, _5A1["time"], _f3, _g3);
- this._6A1(_ot, _gx1, _5A1);
- _gx1++
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() * 3 - 3])
- } else throw "Invalid timeline type for a bone: " + _4A1 + " (" + _ey1 + ")"
- }
- }
- var _fz1 = map["ffd"];
- for (var _ky1 in _fz1) {
- var _py1 = _oy1._jy1(_ky1);
- var _Qz1 = _fz1[_ky1];
- for (_hy1 in _Qz1) {
- var _1x1 = _oy1._iy1(_hy1);
- var _8A1 = _Qz1[_hy1];
- for (var _9A1 in _8A1) {
- var _bx1 = _8A1[_9A1];
- var _ot = new _x8._6y1(_bx1.length);
- var _ib = _py1._2x1(_1x1, _9A1);
- if (!_ib) throw "FFD attachment not found: " + _9A1;
- _ot._1x1 = _1x1;
- _ot._ib = _ib;
- var _aA1 = _ib.type == _x8._lb._nb;
- var _LO;
- if (_aA1) _LO = _ib._rb.length;
- else _LO = _ib._az1.length / 3 * 2;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _bx1.length; _H3 < _C9; _H3++) {
- var _5A1 = _bx1[_H3];
- var _rb;
- if (!_5A1["vertices"]) {
- if (_aA1) _rb = _ib._rb;
- else {
- _rb = [];
- _rb.length = _LO
- }
- } else {
- var _bA1 = _5A1["vertices"];
- var _rb = [];
- _rb.length = _LO;
- var start = _5A1["offset"] || 0;
- var _cz1 = _bA1.length;
- if (this.scale == 1) {
- for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1++) _rb[_Fz1 + start] = _bA1[_Fz1]
- } else {
- for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1++) _rb[_Fz1 + start] = _bA1[_Fz1] * scale
- }
- if (_aA1) {
- var _cA1 = _ib._rb;
- for (var _Fz1 = 0,
- _cz1 = _rb.length; _Fz1 < _cz1; _Fz1++) {
- if (_rb[_Fz1]) {
- _rb[_Fz1] += _cA1[_Fz1]
- } else {
- _rb[_Fz1] = _cA1[_Fz1]
- }
- }
- }
- }
- _ot._Mx1(_gx1, _5A1["time"], _rb);
- this._6A1(_ot, _gx1, _5A1);
- _gx1++
- }
- _99[_99.length] = _ot;
- duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1])
- }
- }
- }
- var _dA1 = map["draworder"];
- if (_dA1) {
- var _ot = new _x8._3y1(_dA1.length);
- var _eA1 = _oy1._fb.length;
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _dA1.length; _H3 < _C9; _H3++) {
- var _fA1 = _dA1[_H3];
- var _hb = null;
- if (_fA1["offsets"]) {
- _hb = [];
- _hb.length = _eA1;
- for (var _Fz1 = _eA1 - 1; _Fz1 >= 0; _Fz1--) _hb[_Fz1] = -1;
- var _gA1 = _fA1["offsets"];
- var _hA1 = [];
- _hA1.length = _eA1 - _gA1.length;
- var _iA1 = 0,
- _jA1 = 0;
- for (var _Fz1 = 0,
- _cz1 = _gA1.length; _Fz1 < _cz1; _Fz1++) {
- var _kA1 = _gA1[_Fz1];
- var _1x1 = _oy1._iy1(_kA1["slot"]);
- if (_1x1 == -1) throw "Slot not found: " + _kA1["slot"];
- while (_iA1 != _1x1) _hA1[_jA1++] = _iA1++;
- _hb[_iA1 + _kA1["offset"]] = _iA1++
- }
- while (_iA1 < _eA1) _hA1[_jA1++] = _iA1++;
- for (var _Fz1 = _eA1 - 1; _Fz1 >= 0; _Fz1--) if (_hb[_Fz1] == -1) _hb[_Fz1] = _hA1[--_jA1]
- }
- _ot._Mx1(_gx1++, _fA1["time"], _hb)
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1])
- }
- var _8x1 = map["events"];
- if (_8x1) {
- var _ot = new _x8._2y1(_8x1.length);
- var _gx1 = 0;
- for (var _H3 = 0,
- _C9 = _8x1.length; _H3 < _C9; _H3++) {
- var _Vz1 = _8x1[_H3];
- var _qt = _oy1._ly1(_Vz1["name"]);
- if (!_qt) throw "Event not found: " + _Vz1["name"];
- var event = new _x8._st(_qt);
- event._wy1 = _Vz1.hasOwnProperty("int") ? _Vz1["int"] : _qt._wy1;
- event._xy1 = _Vz1.hasOwnProperty("float") ? _Vz1["float"] : _qt._xy1;
- event._yy1 = _Vz1.hasOwnProperty("string") ? _Vz1["string"] : _qt._yy1;
- _ot._Mx1(_gx1++, _Vz1["time"], event)
- }
- _99.push(_ot);
- duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1])
- }
- _oy1._B8.push(new _x8._6x1(name, _99, duration))
- },
- _6A1: function(_ot, _gx1, _5A1) {
- var _lA1 = _5A1["curve"];
- if (!_lA1) return;
- if (_lA1 == "stepped") _ot._ex1._hx1(_gx1);
- else if (_lA1 instanceof Array) _ot._ex1._ix1(_gx1, _lA1[0], _lA1[1], _lA1[2], _lA1[3])
- },
- _Rz1: function(_mA1, _nA1) {
- if (_mA1.length != 8) throw "Color hexidecimal length must be 8, recieved: " + _mA1;
- return parseInt(_mA1.substring(_nA1 * 2, (_nA1 * 2) + 2), 16) / 255
- },
- __z1: function(map, name, scale) {
- var _Yh = map[name];
- var _bx1 = [];
- _bx1.length = _Yh.length;
- var _H3 = 0,
- _C9 = _Yh.length;
- if (scale == 1) {
- for (; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3]
- } else {
- for (; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3] * scale
- }
- return _bx1
- },
- _0A1: function(map, name) {
- var _Yh = map[name];
- var _bx1 = [];
- _bx1.length = _Yh.length;
- for (var _H3 = 0,
- _C9 = _Yh.length; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3] | 0;
- return _bx1
- }
- };
- _x8._Ta = function(_oA1, _pA1) {
- this._pA1 = _pA1;
- this._qA1 = [];
- this._rA1 = [];
- var _sA1 = new _x8._tA1(_oA1);
- var _uA1 = [];
- _uA1.length = 4;
- var _zb = null;
- while (!0) {
- var _vA1 = _sA1._wA1();
- if (_vA1 == null) break;
- _vA1 = _sA1.trim(_vA1);
- if (_vA1.length == 0) _zb = null;
- else if (!_zb) {
- _zb = new _x8._xA1();
- _zb.name = _vA1;
- if (_sA1._yA1(_uA1) == 2) {
- _zb.width = parseInt(_uA1[0]);
- _zb.height = parseInt(_uA1[1]);
- _sA1._yA1(_uA1)
- }
- _zb._zA1 = _x8._Ta._fe[_uA1[0]];
- _sA1._yA1(_uA1);
- _zb._AA1 = _x8._Ta._BA1[_uA1[0]];
- _zb._CA1 = _x8._Ta._BA1[_uA1[1]];
- var _sA = _sA1._DA1();
- _zb._EA1 = _x8._Ta._FA1._GA1;
- _zb._HA1 = _x8._Ta._FA1._GA1;
- if (_sA == "x") _zb._EA1 = _x8._Ta._FA1.repeat;
- else if (_sA == "y") _zb._HA1 = _x8._Ta._FA1.repeat;
- else if (_sA == "xy") _zb._EA1 = _zb._HA1 = _x8._Ta._FA1.repeat;
- _pA1.load(_zb, _vA1, this);
- this._qA1.push(_zb)
- } else {
- var _mb = new _x8._IA1();
- _mb.name = _vA1;
- _mb._zb = _zb;
- _mb.rotate = _sA1._DA1() == "true";
- _sA1._yA1(_uA1);
- var _f3 = parseInt(_uA1[0]);
- var _g3 = parseInt(_uA1[1]);
- _sA1._yA1(_uA1);
- var width = parseInt(_uA1[0]);
- var height = parseInt(_uA1[1]);
- _mb._vb = _f3 / _zb.width;
- _mb._xb = _g3 / _zb.height;
- if (_mb.rotate) {
- _mb._sU = (_f3 + height) / _zb.width;
- _mb._ic = (_g3 + width) / _zb.height
- } else {
- _mb._sU = (_f3 + width) / _zb.width;
- _mb._ic = (_g3 + height) / _zb.height
- }
- _mb._f3 = _f3;
- _mb._g3 = _g3;
- _mb.width = Math.abs(width);
- _mb.height = Math.abs(height);
- if (_sA1._yA1(_uA1) == 4) {
- _mb._JA1 = [parseInt(_uA1[0]), parseInt(_uA1[1]), parseInt(_uA1[2]), parseInt(_uA1[3])];
- if (_sA1._yA1(_uA1) == 4) {
- _mb._KA1 = [parseInt(_uA1[0]), parseInt(_uA1[1]), parseInt(_uA1[2]), parseInt(_uA1[3])];
- _sA1._yA1(_uA1)
- }
- }
- _mb._LA1 = parseInt(_uA1[0]);
- _mb._MA1 = parseInt(_uA1[1]);
- _sA1._yA1(_uA1);
- _mb._NA1 = parseInt(_uA1[0]);
- _mb._OA1 = parseInt(_uA1[1]);
- _mb.index = parseInt(_sA1._DA1());
- this._rA1.push(_mb)
- }
- }
- };
- _x8._Ta.prototype = {
- _PA1: function(name) {
- var _rA1 = this._rA1;
- for (var _H3 = 0,
- _C9 = _rA1.length; _H3 < _C9; _H3++) if (_rA1[_H3].name == name) return _rA1[_H3];
- return null
- },
- _QA1: function() {
- var _qA1 = this._qA1;
- for (var _H3 = 0,
- _C9 = _qA1.length; _H3 < _C9; _H3++) this._pA1._RA1(_qA1[_H3]._Sa)
- },
- _6z1: function(_zb) {
- var _rA1 = this._rA1;
- for (var _H3 = 0,
- _C9 = _rA1.length; _H3 < _C9; _H3++) {
- var _mb = _rA1[_H3];
- if (_mb._zb != _zb) continue;
- _mb._vb = _mb._f3 / _zb.width;
- _mb._xb = _mb._g3 / _zb.height;
- if (_mb.rotate) {
- _mb._sU = (_mb._f3 + _mb.height) / _zb.width;
- _mb._ic = (_mb._g3 + _mb.width) / _zb.height
- } else {
- _mb._sU = (_mb._f3 + _mb.width) / _zb.width;
- _mb._ic = (_mb._g3 + _mb.height) / _zb.height
- }
- }
- }
- };
- _x8._Ta._fe = {
- alpha: 0,
- _SA1: 1,
- _TA1: 2,
- _UA1: 3,
- _VA1: 4,
- _WA1: 5,
- _XA1: 6
- };
- _x8._Ta._BA1 = {
- _YA1: 0,
- _Oa1: 1,
- _ZA1: 2,
- __A1: 3,
- _0B1: 4,
- _1B1: 5,
- _2B1: 6
- };
- _x8._Ta._FA1 = {
- _3B1: 0,
- _GA1: 1,
- repeat: 2
- };
- _x8._xA1 = function() {};
- _x8._xA1.prototype = {
- name: null,
- _zA1: null,
- _AA1: null,
- _CA1: null,
- _EA1: null,
- _HA1: null,
- _Sa: null,
- width: 0,
- height: 0
- };
- _x8._IA1 = function() {};
- _x8._IA1.prototype = {
- _zb: null,
- name: null,
- _f3: 0,
- _g3: 0,
- width: 0,
- height: 0,
- _vb: 0,
- _xb: 0,
- _sU: 0,
- _ic: 0,
- _NA1: 0,
- _OA1: 0,
- _LA1: 0,
- _MA1: 0,
- index: 0,
- rotate: !1,
- _JA1: null,
- _KA1: null
- };
- _x8._tA1 = function(text) {
- var _1q = text.replace("\r\n", "\n");
- _1q = _1q.replace("\r", "\n");
- this._4B1 = text.split("\n")
- };
- _x8._tA1.prototype = {
- index: 0,
- trim: function(value) {
- return value.trim()
- },
- _wA1: function() {
- if (this.index >= this._4B1.length) return null;
- return this._4B1[this.index++]
- },
- _DA1: function() {
- var _vA1 = this._wA1();
- var _5x1 = _vA1.indexOf(":");
- if (_5x1 == -1) throw "Invalid line: " + _vA1;
- return this.trim(_vA1.substring(_5x1 + 1))
- },
- _yA1: function(_uA1) {
- var _vA1 = this._wA1();
- var _5x1 = _vA1.indexOf(":");
- if (_5x1 == -1) throw "Invalid line: " + _vA1;
- var _H3 = 0,
- _5B1 = _5x1 + 1;
- for (; _H3 < 3; _H3++) {
- var _6B1 = _vA1.indexOf(",", _5B1);
- if (_6B1 == -1) break;
- _uA1[_H3] = this.trim(_vA1.substr(_5B1, _6B1 - _5B1));
- _5B1 = _6B1 + 1
- }
- _uA1[_H3] = this.trim(_vA1.substring(_5B1));
- return _H3 + 1
- }
- };
- _x8._Va = function(_7B1) {
- this._7B1 = _7B1
- };
- _x8._Va.prototype = {
- _Yz1: function(_py1, name, _By1) {
- var _mb = this._7B1._PA1(name);
- if (!_mb) throw "Region not found in atlas: " + _By1 + " (region attachment: " + name + ")";
- var _ib = new _x8._Ay1(name);
- _ib._Sa = _mb;
- _ib._Iy1(_mb._vb, _mb._xb, _mb._sU, _mb._ic, _mb.rotate);
- _ib._Cy1 = _mb._NA1;
- _ib._Dy1 = _mb._OA1;
- _ib._Ey1 = _mb.width;
- _ib._Fy1 = _mb.height;
- _ib._Gy1 = _mb._LA1;
- _ib._Hy1 = _mb._MA1;
- return _ib
- },
- _Zz1: function(_py1, name, _By1) {
- var _mb = this._7B1._PA1(name);
- if (!_mb) throw "Region not found in atlas: " + _By1 + " (mesh attachment: " + name + ")";
- var _ib = new _x8._Yy1(name);
- _ib._Sa = _mb;
- _ib._0z1 = _mb._vb;
- _ib._1z1 = _mb._xb;
- _ib._2z1 = _mb._sU;
- _ib._3z1 = _mb._ic;
- _ib._4z1 = _mb.rotate;
- _ib._Cy1 = _mb._NA1;
- _ib._Dy1 = _mb._OA1;
- _ib._Ey1 = _mb.width;
- _ib._Fy1 = _mb.height;
- _ib._Gy1 = _mb._LA1;
- _ib._Hy1 = _mb._MA1;
- return _ib
- },
- _1A1: function(_py1, name, _By1) {
- var _mb = this._7B1._PA1(name);
- if (!_mb) throw "Region not found in atlas: " + _By1 + " (skinned mesh attachment: " + name + ")";
- var _ib = new _x8._9z1(name);
- _ib._Sa = _mb;
- _ib._0z1 = _mb._vb;
- _ib._1z1 = _mb._xb;
- _ib._2z1 = _mb._sU;
- _ib._3z1 = _mb._ic;
- _ib._4z1 = _mb.rotate;
- _ib._Cy1 = _mb._NA1;
- _ib._Dy1 = _mb._OA1;
- _ib._Ey1 = _mb.width;
- _ib._Fy1 = _mb.height;
- _ib._Gy1 = _mb._LA1;
- _ib._Hy1 = _mb._MA1;
- return _ib
- },
- _3A1: function(_py1, name) {
- return new _x8._gz1(name);
- }
- };
- _x8._E8 = function() {
- this._8B1 = [];
- this._D9 = [];
- this._o9 = []
- };
- _x8._E8.prototype = {
- _p9: 0,
- _s9: 0,
- _r9: 0,
- _t9: 0,
- _b9: function(_09, _9B1) {
- var _fb = _09._fb;
- var _eA1 = _fb.length;
- var _f3 = _09._f3,
- _g3 = _09._g3;
- var _o9 = this._o9;
- var _8B1 = this._8B1;
- var _D9 = this._D9;
- _o9.length = 0;
- for (var _H3 = 0,
- _C9 = _D9.length; _H3 < _C9; _H3++) _8B1.push(_D9[_H3]);
- _D9.length = 0;
- for (var _H3 = 0; _H3 < _eA1; _H3++) {
- var _gb = _fb[_H3];
- var _aB1 = _gb._ib;
- if (!_aB1 || _aB1.type != _x8._lb._zy1) continue;
- _o9.push(_aB1);
- var _bB1 = _8B1.length,
- _NR;
- if (_bB1 > 0) {
- _NR = _8B1[_bB1 - 1];
- _8B1.splice(_bB1 - 1, 1)
- } else _NR = [];
- _D9.push(_NR);
- _NR.length = _aB1._rb.length;
- _aB1._Eb(_f3, _g3, _gb._tb, _NR)
- }
- if (_9B1) this._cB1()
- },
- _cB1: function() {
- var _D9 = this._D9;
- var _p9 = Number.MAX_VALUE,
- _s9 = Number.MAX_VALUE,
- _r9 = Number.MIN_VALUE,
- _t9 = Number.MIN_VALUE;
- for (var _H3 = 0,
- _C9 = _D9.length; _H3 < _C9; _H3++) {
- var _rb = _D9[_H3];
- for (var _Fz1 = 0,
- _cz1 = _rb.length; _Fz1 < _cz1; _Fz1 += 2) {
- var _f3 = _rb[_Fz1];
- var _g3 = _rb[_Fz1 + 1];
- _p9 = Math.min(_p9, _f3);
- _s9 = Math.min(_s9, _g3);
- _r9 = Math.max(_r9, _f3);
- _t9 = Math.max(_t9, _g3)
- }
- }
- this._p9 = _p9;
- this._s9 = _s9;
- this._r9 = _r9;
- this._t9 = _t9
- },
- _dB1: function(_f3, _g3) {
- return _f3 >= this._p9 && _f3 <= this._r9 && _g3 >= this._s9 && _g3 <= this._t9;
- },
- _eB1: function(_G9, _H9, _I9, _J9) {
- var _p9 = this._p9,
- _s9 = this._s9,
- _r9 = this._r9,
- _t9 = this._t9;
- if ((_G9 <= _p9 && _I9 <= _p9) || (_H9 <= _s9 && _J9 <= _s9) || (_G9 >= _r9 && _I9 >= _r9) || (_H9 >= _t9 && _J9 >= _t9)) return ! 1;
- var _F9 = (_J9 - _H9) / (_I9 - _G9);
- var _g3 = _F9 * (_p9 - _G9) + _H9;
- if (_g3 > _s9 && _g3 < _t9) return ! 0;
- _g3 = _F9 * (_r9 - _G9) + _H9;
- if (_g3 > _s9 && _g3 < _t9) return ! 0;
- var _f3 = (_s9 - _H9) / _F9 + _G9;
- if (_f3 > _p9 && _f3 < _r9) return ! 0;
- _f3 = (_t9 - _H9) / _F9 + _G9;
- if (_f3 > _p9 && _f3 < _r9) return ! 0;
- return ! 1
- },
- _fB1: function(_gB1) {
- return this._p9 < _gB1._r9 && this._r9 > _gB1._p9 && this._s9 < _gB1._t9 && this._t9 > _gB1._s9;
- },
- _8a: function(_f3, _g3) {
- var _D9 = this._D9;
- for (var _H3 = 0,
- _C9 = _D9.length; _H3 < _C9; _H3++) if (this._hB1(_D9[_H3], _f3, _g3)) return this._o9[_H3];
- return null
- },
- _L9: function(_G9, _H9, _I9, _J9) {
- var _D9 = this._D9;
- for (var _H3 = 0,
- _C9 = _D9.length; _H3 < _C9; _H3++) if (this._iB1(_D9[_H3], _G9, _H9, _I9, _J9)) return this._o9[_H3];
- return null
- },
- _hB1: function(_NR, _f3, _g3) {
- var _cz1 = _NR.length;
- var _jB1 = _cz1 - 2;
- var _kB1 = !1;
- for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1 += 2) {
- var _lB1 = _NR[_Fz1 + 1];
- var _mB1 = _NR[_jB1 + 1];
- if ((_lB1 < _g3 && _mB1 >= _g3) || (_mB1 < _g3 && _lB1 >= _g3)) {
- var _nB1 = _NR[_Fz1];
- if (_nB1 + (_g3 - _lB1) / (_mB1 - _lB1) * (_NR[_jB1] - _nB1) < _f3) _kB1 = !_kB1;
- }
- _jB1 = _Fz1
- }
- return _kB1
- },
- _iB1: function(_NR, _G9, _H9, _I9, _J9) {
- var _cz1 = _NR.length;
- var _oB1 = _G9 - _I9,
- _pB1 = _H9 - _J9;
- var _qB1 = _G9 * _J9 - _H9 * _I9;
- var _2k = _NR[_cz1 - 2],
- _3k = _NR[_cz1 - 1];
- for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1 += 2) {
- var _rB1 = _NR[_Fz1],
- _sB1 = _NR[_Fz1 + 1];
- var _tB1 = _2k * _sB1 - _3k * _rB1;
- var _uB1 = _2k - _rB1,
- _vB1 = _3k - _sB1;
- var _wB1 = _oB1 * _vB1 - _pB1 * _uB1;
- var _f3 = (_qB1 * _uB1 - _oB1 * _tB1) / _wB1;
- if (((_f3 >= _2k && _f3 <= _rB1) || (_f3 >= _rB1 && _f3 <= _2k)) && ((_f3 >= _G9 && _f3 <= _I9) || (_f3 >= _I9 && _f3 <= _G9))) {
- var _g3 = (_qB1 * _vB1 - _pB1 * _tB1) / _wB1;
- if (((_g3 >= _3k && _g3 <= _sB1) || (_g3 >= _sB1 && _g3 <= _3k)) && ((_g3 >= _H9 && _g3 <= _J9) || (_g3 >= _J9 && _g3 <= _H9))) return ! 0;
- }
- _2k = _rB1;
- _3k = _sB1
- }
- return ! 1
- },
- _xB1: function(_ib) {
- var index = this._o9.indexOf(_ib);
- return index == -1 ? null: this._D9[index]
- },
- _yB1: function() {
- return this._r9 - this._p9
- },
- _zB1: function() {
- return this._t9 - this._s9
- }
- };
- var _AB1 = 0,
- _BB1 = 1,
- _CB1 = 2,
- _DB1 = 3,
- _EB1 = 4,
- _FB1 = 5,
- _GB1 = 6,
- _HB1 = 7,
- _IB1 = 8,
- _JB1 = 9;
- var _KB1 = 0,
- _LB1 = 1,
- _MB1 = 2,
- _NB1 = 3;
- function _OB1(_ce, _Ch) {
- this.type = _ce;
- this.id = _Ch;
- this._ho1 = null
- };
- _OB1.prototype._PB1 = function(_Zn1, _QB1, _RB1, _SB1, _TB1) {
- var _UB1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var width = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var height = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _VB1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _WB1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _XB1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _YB1 = _RB1;
- var _ZB1 = new Uint8Array(_Zn1);
- var __B1 = (_VB1 > 0) ? new Uint8Array(_Zn1, _RB1, _VB1) : null;
- _RB1 += _VB1;
- var _0C1 = (_WB1 > 0) ? new Uint8Array(_Zn1, _RB1, _WB1) : null;
- _RB1 += _WB1;
- var _1C1 = (_XB1 > 0) ? new Uint8Array(_Zn1, _RB1, _XB1) : null;
- _RB1 += _XB1;
- this._2C1(_UB1, width, height, __B1, _0C1, _1C1, _TB1);
- _RB1 = _YB1 + (((_VB1 + _WB1 + _XB1) + 3) & ~3);
- return _RB1;
- };
- _OB1.prototype._3C1 = function(_Hz, _Kz) {
- var _W9 = new ArrayBuffer(4);
- var _kb = new Uint32Array(_W9);
- var _I3 = new Uint8Array(_W9);
- _kb[0] = 0xdeadbeef;
- if (_I3[0] == 0xef) {
- return (((_Hz & 0xff) << 8) | (_Kz & 0xff))
- }
- if (_I3[0] == 0xde) {
- return (((_Kz & 0xff) << 8) | (_Hz & 0xff))
- }
- };
- _OB1.prototype._4C1 = function(_5C1) {
- try {
- do {
- if (_5C1[1] == 0xd9) {
- _5C1 = _5C1.subarray(2)
- } else if (_5C1[1] == 0xd8) {
- if ((_5C1[6] === 0x4a) && (_5C1[7] === 0x46) && (_5C1[8] === 0x49) && (_5C1[9] === 0x46)) {
- var _J3 = this._3C1(_5C1[14], _5C1[15]);
- var _K3 = this._3C1(_5C1[16], _5C1[17]);
- var _6C1 = {
- width: _J3,
- height: _K3,
- body: _5C1
- };
- return _6C1
- }
- _5C1 = _5C1.subarray(4 + this._3C1(_5C1[4], _5C1[5]))
- } else {
- _5C1 = _5C1.subarray(2 + this._3C1(_5C1[2], _5C1[3]))
- }
- } while (( _5C1 . byteLength >= 0 ) && (_5C1[0] == 0xff))
- } catch(e) {
- debug(e.message)
- }
- var _6C1 = {
- width: _J3,
- height: _K3,
- body: _5C1
- };
- return _6C1
- };
- _OB1.prototype._2C1 = function(_ce, _Aa, _Ba, _5C1, _7C1, _8C1, _9C1) {
- switch (_ce) {
- case _EB1:
- {
- this._ho1 = this._aC1(_Aa, _Ba, _5C1, "gif")
- }
- break;
- case _DB1:
- {
- this._ho1 = this._aC1(_Aa, _Ba, _5C1, "png")
- }
- break;
- case _BB1:
- case _AB1:
- {
- this._ho1 = this._aC1(_Aa, _Ba, _5C1, "jpeg");
- }
- break;
- case _CB1:
- {
- var _6C1 = this._4C1(_5C1);
- this._ho1 = this._aC1(_6C1.width, _6C1.height, _6C1.body, "jpeg",
- function(_lG) {
- var _bC1 = String.fromCharCode.apply(null, new Uint16Array(_7C1));
- var _bC1 = _bC1.split('').map(function(e) {
- return e.charCodeAt(0)
- });
- var _cC1 = window["Zlib"];
- var _dC1 = new _cC1["Inflate"](_bC1);
- var _eC1 = _dC1["decompress"]();
- this._ho1 = _ek1(_lG, _eC1)
- })
- }
- break;
- case _FB1:
- case _IB1:
- {
- this._ho1 = null
- }
- break;
- case _GB1:
- case _HB1:
- case _JB1:
- {
- var _ho1 = new Image();
- var _Kd = _sa._ak1(_ho1, _5C1, _Aa, _Ba);
- _ho1.__b = _Kd;
- _ho1._Od = _Aa;
- _ho1._Pd = _Ba;
- this._ho1 = _ho1
- }
- break;
- default:
- break
- }
- };
- _OB1.prototype._aC1 = function(_Aa, _Ba, _5C1, _fC1, _cz, _gC1) {
- var _hC1 = new Uint16Array(_5C1);
- var _iC1 = "";
- for (var _H3 = 0,
- _R9 = _hC1.length; _H3 < _R9; _H3++) {
- _iC1 += String.fromCharCode(_hC1[_H3])
- }
- var _jC1 = window._kC1(_iC1);
- var _lC1 = "data:image/" + _fC1 + ";base64," + _jC1;
- var img = new Image();
- img.onload = function() {
- var _Kj = {
- _Ga: img
- };
- _0c(_Kj);
- if (_cz) {
- _cz(_Kj)
- }
- };
- img.onerror = function(e) {
- debug(e);
- if (_gC1) {
- _gC1(e)
- }
- };
- img.src = _lC1;
- return img
- };
- function _ek1(_lG, _Gd) {
- var _Kd = _sa._ek1(_lG._Ga.__b, _Gd);
- _lG._Ga.__b = _Kd;
- _lG._Ga._Od = _Kd._gk1;
- _lG._Ga._Pd = _Kd._hk1;
- return _lG._Ga
- }
- var _mC1 = 0,
- _nC1 = 1,
- _oC1 = 2;
- var _pC1 = 0,
- _qC1 = 1,
- _rC1 = 2,
- _sC1 = 3;
- var _tC1 = 0,
- _uC1 = 1;
- var _vC1 = {
- _LM: 0,
- _MM: 0,
- version: 1
- };
- function _wC1(_ce, _Ch) {
- this.type = _ce;
- this.id = _Ch
- };
- _wC1.prototype._xC1 = function(_QB1, _RB1, _SB1, _yC1) {
- this._p9 = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4;
- this._r9 = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4;
- this._s9 = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4;
- this._t9 = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4;
- var _zC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- this._AC1 = [];
- for (var _H3 = 0; _H3 < _zC1; _H3++) {
- var _BC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _CC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _DC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _EC1 = {
- _BC1: _BC1,
- _CC1: _CC1,
- _DC1: _DC1
- };
- _EC1._FC1 = (_BC1 > 0) ? [] : null;
- _EC1._GC1 = (_CC1 > 0) ? [] : null;
- _EC1._HC1 = (_DC1 > 0) ? [] : null;
- _RB1 = this._IC1(_EC1, _QB1, _RB1, _SB1, _yC1);
- _RB1 = this._JC1(_EC1, _QB1, _RB1, _SB1);
- _RB1 = this._KC1(_EC1, _QB1, _RB1, _SB1);
- this._AC1.push(_EC1)
- }
- return _RB1
- };
- _wC1.prototype._IC1 = function(_LC1, _QB1, _RB1, _SB1, _yC1) {
- _LC1._FC1 = [];
- for (var _H3 = 0; _H3 < _LC1._BC1; _H3++) {
- var _MC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _NC1 = null;
- switch (_MC1) {
- case _qC1:
- {
- _NC1 = {
- type: _qC1
- };
- var _xk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _yk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _zk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var alpha = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- _NC1._1b = (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24))
- }
- break;
- case _rC1:
- {
- _NC1 = {
- type: _rC1
- };
- _NC1._OC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _PC1 = [];
- for (var _F9 = 0; _F9 < 9; _F9++) {
- _PC1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- _NC1._PC1 = new _Gn();
- _NC1._PC1._F9[_Yo] = _PC1[0];
- _NC1._PC1._F9[_Zo] = _PC1[1];
- _NC1._PC1._F9[_0p] = _PC1[2];
- _NC1._PC1._F9[_1p] = _PC1[3];
- _NC1._PC1._F9[_Rn] = _PC1[4];
- _NC1._PC1._F9[_3p] = _PC1[5];
- _NC1._QC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _NC1._RC1 = [];
- for (var _F9 = 0; _F9 < _NC1._QC1; _F9++) {
- var _Ca1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _xk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _yk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _zk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var alpha = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- _NC1._RC1.push({
- _Ca1: _Ca1,
- _1b: (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24))
- })
- }
- _NC1._Ld = null;
- this._SC1(_NC1)
- }
- break;
- case _sC1:
- {
- _NC1 = {
- type: _sC1
- };
- _NC1._TC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _NC1._UC1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _NC1._VC1 = -1;
- for (var index = 0; index < _yC1.length; index++) {
- if (_yC1[index].id === _NC1._UC1) {
- _NC1._VC1 = index;
- break
- }
- }
- var _PC1 = [];
- for (var _F9 = 0; _F9 < 9; _F9++) {
- _PC1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- _NC1._PC1 = new _Gn();
- _NC1._PC1._F9[_Yo] = _PC1[0];
- _NC1._PC1._F9[_Zo] = _PC1[1];
- _NC1._PC1._F9[_0p] = _PC1[2];
- _NC1._PC1._F9[_1p] = _PC1[3];
- _NC1._PC1._F9[_Rn] = _PC1[4];
- _NC1._PC1._F9[_3p] = _PC1[5];
- }
- break
- }
- _LC1._FC1.push(_NC1)
- }
- return _RB1
- };
- _wC1.prototype._SC1 = function(_WC1) {
- if ((_WC1 === null) || (_WC1 === undefined)) {
- return
- }
- var _XC1 = 256,
- _YC1 = 1,
- _ZC1 = 64,
- __C1 = 64;
- var _0D1 = [];
- var width, height;
- switch (_WC1._OC1) {
- default:
- return;
- case _tC1:
- {
- width = _XC1;
- height = _YC1;
- for (var _H3 = 0; _H3 < _XC1; _H3++) {
- _0D1[_H3] = this._1D1(_WC1, _H3)
- }
- }
- break;
- case _uC1:
- {
- width = _ZC1;
- height = __C1;
- var _2D1 = (_ZC1 - 1) / 2;
- var _3D1 = (__C1 - 1) / 2;
- var _PO = _U9(_2D1, _3D1);
- for (var __9 = 0; __9 < __C1; __9++) {
- for (var _H3 = 0; _H3 < _ZC1; _H3++) {
- var _0r1 = _H3 - _2D1;
- var _Zq1 = __9 - _3D1;
- var _kA = Math.sqrt(_0r1 * _0r1 + _Zq1 * _Zq1);
- _kA /= _PO;
- var _Ca1 = 255 * _kA;
- _0D1[(__9 * _ZC1) + _H3] = this._1D1(_WC1, _Ca1)
- }
- }
- }
- break
- }
- _WC1._Ld = _4D1(width, height, _0D1)
- };
- function _4D1(_vh, _wh, _bk1) {
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- var _Kd = _sa._ck1(_QF, _bk1, _vh, _wh);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _Kd._gk1;
- _Kj._K3 = _Kd._hk1;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _vh;
- _Kj._x5 = _wh;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _Kj._Ga.__b = _Kd;
- _Kj._Ga._Od = _QF.width;
- _Kj._Ga._Pd = _QF.height;
- return _Kj;
- }
- _wC1.prototype._1D1 = function(_WC1, _5D1) {
- if (_WC1._QC1 <= 0) {
- return 0
- }
- _5D1 = (_5D1 < 0) ? 0 : (_5D1 > 255) ? 255 : _5D1;
- if (_5D1 < _WC1._RC1[0]._Ca1) {
- return _WC1._RC1[0]._1b
- }
- for (var _H3 = 1; _H3 < _WC1._QC1; _H3++) {
- var _6D1 = _WC1._RC1[_H3];
- if (_6D1._Ca1 >= _5D1) {
- var _7D1 = _WC1._RC1[_H3 - 1];
- var _8D1 = 0;
- if (_6D1._Ca1 != _7D1._Ca1) {
- _8D1 = ((_5D1 - _7D1._Ca1) << 8) / (_6D1._Ca1 - _7D1._Ca1)
- }
- var _9D1 = 256 - _8D1;
- var _1b = _6D1._1b;
- var _aD1 = _7D1._1b;
- var _bD1 = [];
- _bD1[0] = ((_1b & 0xff) * _8D1) >> 8;
- _bD1[1] = (((_1b >> 8) & 0xff) * _8D1) >> 8;
- _bD1[2] = (((_1b >> 16) & 0xff) * _8D1) >> 8;
- _bD1[3] = (((_1b >> 24) & 0xff) * _8D1) >> 8;
- _bD1[0] += ((_aD1 & 0xff) * _9D1) >> 8;
- _bD1[1] += (((_aD1 >> 8) & 0xff) * _9D1) >> 8;
- _bD1[2] += (((_aD1 >> 16) & 0xff) * _9D1) >> 8;
- _bD1[3] += (((_aD1 >> 24) & 0xff) * _9D1) >> 8;
- var _cD1 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24);
- return _cD1
- }
- }
- return _WC1._RC1[_WC1._QC1 - 1]._1b
- };
- _wC1.prototype._JC1 = function(_LC1, _QB1, _RB1, _SB1) {
- _LC1._GC1 = [];
- for (var _H3 = 0; _H3 < _LC1._CC1; _H3++) {
- var _xk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _yk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var _zk = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- var alpha = _QB1.getUint8(_RB1, _SB1);
- _RB1++;
- _LC1._GC1.push({
- _1b: (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24))
- })
- }
- return _RB1
- };
- _wC1.prototype._KC1 = function(_LC1, _QB1, _RB1, _SB1) {
- var _H3, _F9;
- _LC1._HC1 = [];
- for (_H3 = 0; _H3 < _LC1._DC1; _H3++) {
- var _dD1 = {};
- _LC1._HC1.push(_dD1);
- _dD1._eD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._fD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._gD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._hD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._iD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._jD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._kD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._lD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- if (_vC1.version >= 2) {
- _dD1._mD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._nD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- if (_vC1.version >= 3) {
- _dD1._oD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _dD1._pD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- _dD1._qD1 = (_dD1._hD1 > 0) ? [] : null;
- _dD1._rD1 = (_dD1._iD1 > 0) ? [] : null;
- _dD1._sD1 = (_dD1._jD1 > 0) ? [] : null;
- _dD1._tD1 = (_dD1._kD1 > 0) ? [] : null;
- _dD1._uD1 = (_dD1._lD1 > 0) ? [] : null;
- _dD1._vD1 = (_dD1._mD1) ? [] : null;
- _dD1._wD1 = (_dD1._nD1) ? [] : null;
- _dD1._xD1 = (_dD1._oD1) ? [] : null;
- _dD1._yD1 = (_dD1._pD1) ? [] : null;
- for (_F9 = 0; _F9 < _dD1._hD1 * 2; _F9++) {
- _dD1._qD1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._iD1 * 2; _F9++) {
- _dD1._zD1[_F9] = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._jD1 * 3; _F9++) {
- _dD1._sD1[_F9] = _QB1.getUint32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._kD1 * 2; _F9++) {
- _dD1._tD1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._lD1 * 3; _F9++) {
- _dD1._uD1[_F9] = _QB1.getUint32(_RB1, _SB1);
- _RB1 += 4
- }
- if (_vC1.version >= 2) {
- for (_F9 = 0; _F9 < _dD1._mD1 * 2; _F9++) {
- _dD1._vD1[_F9] = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._nD1 * 2; _F9++) {
- _dD1._wD1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- }
- if (_vC1.version >= 3) {
- for (_F9 = 0; _F9 < _dD1._oD1 * 2; _F9++) {
- _dD1._xD1[_F9] = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- for (_F9 = 0; _F9 < _dD1._pD1 * 2; _F9++) {
- _dD1._yD1[_F9] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- }
- }
- return _RB1
- };
- var _AD1 = 1.0 / 20.0;
- function _BD1() {
- this._CD1 = 0;
- this._DD1 = 0;
- this._p9 = 0;
- this._r9 = 0;
- this._s9 = 0;
- this._t9 = 0;
- this._ED1 = null
- };
- _BD1.prototype._FD1 = function(_QB1, _RB1, _SB1) {
- this._CD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- this._DD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- this._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- this._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- this._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- this._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- var _GD1, _HD1, _ID1;
- _GD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _HD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _ID1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- this._ED1 = {
- _GD1: _GD1,
- _HD1: _HD1,
- _ID1: _ID1
- };
- this._JD1 = [];
- for (var _H3 = 0; _H3 < this._DD1; _H3++) {
- var _KD1 = {};
- this._JD1.push(_KD1);
- _KD1._LD1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _KD1._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _KD1._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _KD1._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _KD1._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _KD1._MD1 = [];
- for (var __9 = 0; __9 < _KD1._LD1; __9++) {
- var _Oy = {};
- _KD1._MD1.push(_Oy);
- _Oy.__y = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _Oy.index = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _Oy._R3 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- _Oy._ND1 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _OD1 = [];
- for (var _eT = 0; _eT < 4; _eT++) {
- _OD1[_eT] = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- var _PD1 = [];
- for (var _eT = 0; _eT < 4; _eT++) {
- _PD1[_eT] = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4
- }
- _Oy._QD1 = [];
- _Oy._RD1 = [];
- _Oy._SD1 = [];
- _Oy._QD1[0] = _OD1[2];
- _Oy._RD1[0] = _PD1[2];
- _Oy._SD1[0] = 0;
- _Oy._QD1[1] = _OD1[1];
- _Oy._RD1[1] = _PD1[1];
- _Oy._SD1[1] = _PD1[1];
- _Oy._QD1[2] = _OD1[0];
- _Oy._RD1[2] = _PD1[0];
- _Oy._SD1[2] = _PD1[0];
- _Oy._QD1[3] = _OD1[3];
- _Oy._RD1[3] = _PD1[3];
- _Oy._SD1[3] = _PD1[3];
- _Oy._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _Oy._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _Oy._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- _Oy._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1;
- _RB1 += 4;
- var _PC1 = [];
- for (var _eT = 0; _eT < 9; _eT++) {
- _PC1[_eT] = _QB1.getFloat32(_RB1, _SB1);
- _RB1 += 4
- }
- _Oy._PC1 = new _Gn();
- _Oy._PC1._F9[_Yo] = _PC1[0];
- _Oy._PC1._F9[_Zo] = _PC1[1];
- _Oy._PC1._F9[_0p] = _PC1[2];
- _Oy._PC1._F9[_1p] = _PC1[3];
- _Oy._PC1._F9[_Rn] = _PC1[4];
- _Oy._PC1._F9[_3p] = _PC1[5]
- }
- }
- return _RB1
- };
- var _TD1 = -1;
- var _bh = null;
- var _UD1 = 0;
- var _VD1 = 0;
- var _WD1 = {
- _f3: 0,
- _g3: 0,
- _Cc: 0
- };
- var _XD1 = "en";
- function _YD1(canvas) {
- debug = _ZD1;
- _PD = __D1;
- _zt = _0E1;
- tizen.systeminfo.getPropertyValue("LOCALE", _1E1, null);
- _dK = _2E1;
- _fK = _3E1;
- _hK = _4E1;
- debug('------- Tizen_Init -------------');
- debug('href=' + window.location._5E1);
- debug('canvas size:' + canvas.width + ',' + canvas.height);
- debug('window size:' + window.innerWidth + ',' + window.innerHeight);
- debug('clientWidth:' + document.documentElement.clientWidth);
- debug('clientHeight:' + document.documentElement.clientHeight);
- debug('displayName:' + _Yp._A5._Y5);
- _BL = canvas.width;
- _CL = canvas.height;
- var _6E1 = document.documentElement.clientWidth;
- var _7E1 = document.documentElement.clientHeight;
- _7E1 -= _VD1;
- if (0) {
- var _8E1 = _7E1 / _6E1;
- var _9E1 = canvas.height / canvas.width;
- if (_8E1 > _9E1) {
- canvas.width = _6E1;
- canvas.height = _6E1 * _9E1;
- _T6(0, (_7E1 - canvas.height) * 0.5)
- } else {
- canvas.height = _7E1;
- canvas.width = _7E1 / _9E1;
- _T6((_6E1 - canvas.width) * 0.5, 0)
- }
- } else {
- _T6(0, 0);
- canvas.width = _6E1;
- canvas.height = _7E1;
- debug("set window rect " + _6E1 + "," + _7E1)
- }
- _Iu = _aE1;
- _vJ = _bE1;
- _cE1();
- debug("PushEnable=" + _Yp._A5._dE1);
- if (_Yp._A5._dE1) {
- _eE1()
- } {
- _bh = _fE1
- }
- document.addEventListener("webkitvisibilitychange", _gE1, !1);
- if (window["DeviceMotionEvent"]) {
- debug("DeviceMotionEvent is supported");
- window.addEventListener('devicemotion', _hE1, !1)
- } else debug("DeviceMotionEvent NOT supported");
- window.addEventListener('tizenhwkey', _iE1, !1);
- window._jE1 = _kE1
- }
- function _0E1() {
- return _XD1
- }
- function _1E1(_lE1) {
- var _mE1 = _lE1["language"];
- var _nE1 = _mE1.slice(0, 2);
- _XD1 = _nE1
- }
- function __D1() {
- debug("game_end");
- tizen.application.getCurrentApplication().exit()
- }
- function _iE1(_fr) {
- var _oE1 = 0;
- if (_fr['keyName'] == 'back') {
- _oE1 = 8
- } else if (_fr['keyName'] == 'menu') {
- _oE1 = 77
- }
- if (_oE1 != 0) {
- _0z(_oE1);
- _4z(_oE1)
- }
- }
- function _kE1() {
- console.log("tizenUnload");
- _lF()
- }
- function _pE1() {
- var _6E1 = document.documentElement.clientWidth;
- var _7E1 = document.documentElement.clientHeight;
- debug('Tizen_ResizeCanvas: ' + _6E1 + ',' + _7E1);
- _nI(0, 0, _6E1, _7E1)
- }
- function _hE1(_fr) {
- var _qE1 = _fr["accelerationIncludingGravity"];
- var _rE1 = 1.0 / 9.81;
- _WD1._f3 = _qE1["x"] * _rE1;
- _WD1._g3 = _qE1["y"] * _rE1;
- _WD1._Cc = _qE1["z"] * _rE1
- }
- function _gE1() {
- if (_Yp._A5.FlurryId) {
- if (document.webkitHidden == !0) {
- debug('pause flurry session');
- FlurryAgent._sE1()
- } else if (document.webkitHidden == !1) {
- debug('resume flurry session: ' + _Yp._A5.FlurryId);
- FlurryAgent.startSession(_Yp._A5.FlurryId)
- }
- }
- }
- function _tE1() {
- tizen.systeminfo.getPropertyValue("DEVICE_ORIENTATION", _uE1, null)
- }
- function _uE1(_vE1) {
- var _vE1 = _vE1['status'];
- if (_TD1 != _vE1) {
- var _wE1 = Math.abs(_WD1._Cc);
- if (_wE1 < 0.75 || _TD1 == -1) {
- _xE1(_vE1)
- }
- }
- }
- function _bE1(_lz, _xJ, _yJ) {
- debug("tizenUrlOpen:" + _lz);
- var appControl = new tizen["ApplicationControl"]("http://tizen.org/appcontrol/operation/view", _lz);
- tizen["application"]["launchAppControl"](appControl, null,
- function() {
- console.log("launch application control succeed")
- },
- function(e) {
- console.log("launch application control failed. reason: " + e.message)
- },
- null)
- }
- function _xE1(_yE1) {
- debug("orientation changed: " + _yE1);
- var _vE1 = _Yp._A5.RotateCanvas;
- if (_TD1 != -1) {
- if (_vE1 == 0 && (_yE1 == "LANDSCAPE_PRIMARY" || _yE1 == "LANDSCAPE_SECONDARY")) return 0;
- if (_vE1 == 1 && (_yE1 == "PORTRAIT_PRIMARY" || _yE1 == "PORTRAIT_SECONDARY")) return 0
- }
- var _zE1 = document.getElementById("gm4html5_div_id");
- var _6E1 = document.documentElement.clientWidth;
- var _7E1 = document.documentElement.clientHeight;
- var _AE1 = !1;
- var _Mb = _VD1;
- var _Lb = 0;
- switch (_yE1) {
- case "PORTRAIT_PRIMARY":
- {
- _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)";
- break
- }
- case "PORTRAIT_SECONDARY":
- {
- if (_vE1 == 0 || _vE1 == 2) {
- _Mb = 0;
- _zE1.style.webkitTransform = "rotate(180deg) translateY(-" + _7E1 + "px)"
- } else {
- _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)";
- }
- break
- }
- case "LANDSCAPE_SECONDARY":
- {
- if (_vE1 == 2) {
- _zE1.style.webkitTransform = "rotate(-90deg) translateY(-" + _6E1 / 2 + "px) translateX(-" + (_7E1 - _6E1 / 2) + "px)";
- _AE1 = !0
- } else if (_vE1 == 1) {
- _zE1.style.webkitTransform = "rotate(180deg) translateX(0px) translateY(-" + _7E1 + "px)";
- _Mb = 0
- } else {
- _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"
- }
- break
- }
- case "LANDSCAPE_PRIMARY":
- {
- if (_vE1 == 2) {
- _zE1.style.webkitTransform = "rotate(90deg) translateX(" + _6E1 / 2 + "px) translateY(-" + _6E1 / 2 + "px)";
- _AE1 = !0;
- _Lb = _VD1
- } else {
- _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"
- }
- break
- }
- default:
- debug("****** Unknown ori: " + _TD1);
- break
- }
- if (_AE1) {
- _7E1 -= _VD1;
- debug("window_set_rectangle: " + _7E1 + "," + _6E1);
- _nI(0, 0, _7E1, _6E1)
- } else {
- _7E1 -= _VD1;
- debug("window_set_rectangle: " + _6E1 + "," + _7E1);
- _nI(0, 0, _6E1, _7E1)
- }
- _TD1 = _yE1
- }
- function _fE1(_8h, _ch) {
- var _BE1 = _8h.pageX;
- var _CE1 = _8h.pageY;
- var _vE1 = _Yp._A5.RotateCanvas;
- var _6E1 = document.documentElement.clientWidth;
- var _7E1 = document.documentElement.clientHeight;
- _ch._f3 = _BE1;
- _ch._g3 = _CE1;
- switch (_TD1) {
- case "PORTRAIT_PRIMARY":
- break;
- case "PORTRAIT_SECONDARY":
- {
- if (_vE1 == 0 || _vE1 == 2) {
- _ch._f3 = _6E1 - _BE1;
- _ch._g3 = _7E1 - _CE1
- }
- break
- }
- case "LANDSCAPE_SECONDARY":
- {
- if (_vE1 == 2) {
- _ch._f3 = _7E1 - _CE1;
- _ch._g3 = _BE1
- } else if (_vE1 == 1) {
- _ch._f3 = _6E1 - _BE1;
- _ch._g3 = _7E1 - _CE1
- }
- break
- }
- case "LANDSCAPE_PRIMARY":
- {
- if (_vE1 == 2) {
- _ch._f3 = _CE1;
- _ch._g3 = _6E1 - _BE1
- }
- break
- }
- default:
- debug("****** Unknown ori: " + _TD1);
- break
- }
- }
- function _aE1() {
- if (_TD1 == "PORTRAIT_PRIMARY" || _TD1 == "PORTRAIT_SECONDARY") {
- return 1
- }
- return 0
- }
- function _ZD1() {
- var index;
- for (index = 0; index < arguments.length; ++index) {
- console.log(arguments[index])
- }
- }
- function _2E1() {
- return _WD1._f3
- }
- function _3E1() {
- return _WD1._g3
- }
- function _4E1() {
- return _WD1._Cc
- }
- var _DE1 = "Not Enabled";
- var _EE1 = "Not Available";
- var _FE1 = "Loading";
- var _GE1 = "Available";
- var _HE1 = "Processing Order";
- function _IE1() {
- this._JE1 = _DE1;
- this._KE1 = !1;
- this._LE1 = "";
- this._ME1 = 0;
- this._NE1 = !0;
- this._OE1 = null;
- this._Vx = -1
- }
- var _PE1 = new _IE1();
- var _QE1 = 128;
- function _cE1() {
- _Bx = _RE1;
- _Dx = _SE1;
- _Ex = _TE1;
- _Fx = _UE1;
- _Gx = _VE1;
- _Bi = _WE1
- }
- function _WE1() {
- var _XE1 = tizen.systeminfo.getCapabilities();
- var _YE1 = _XE1["duid"];
- return _YE1.toString()
- }
- function _ZE1() {
- _Cx({
- type: _px,
- status: _ux
- })
- }
- function __E1() {
- _Cx({
- type: _px,
- status: _vx
- })
- }
- _IE1.prototype._0F1 = function(_1F1, _2F1) {
- this._JE1 = _1F1;
- if (_2F1 != undefined) {
- debug("Tizen IAP State-> " + _1F1 + " : " + _2F1)
- } else {
- debug("Tizen IAP State-> " + _1F1)
- }
- };
- _IE1.prototype._3F1 = function() {
- return this._JE1
- };
- _IE1.prototype._4F1 = function(_5F1) {
- this._NE1 = _Yp._A5.IAPSandbox;
- if (this._NE1) {
- debug("Activating Tizen IAP in SANDBOX mode with groupID:" + _5F1);
- } else {
- debug("Activating Tizen IAP in COMMERCIAL mode with groupID:" + _5F1)
- }
- this._LE1 = _5F1;
- this._0F1(_FE1);
- this._6F1()
- };
- var _7F1 = {
- onfailure: function() {
- console.log("AppControlReplyCB onfailure!");
- _PE1._0F1(_EE1);
- _ZE1()
- },
- onsuccess: function(_8F1) {
- if (_8F1 != null) {
- var data = {};
- var _H3;
- var length = _8F1.length;
- for (_H3 = 0; _H3 < length; _H3++) {
- data[_8F1[_H3]._pz] = _8F1[_H3].value + ''
- }
- var _9F1 = data["_result"];
- var _aF1 = _bF1(_9F1);
- var method = data["_method"];
- debug("IAP callback: method:" + method + " result:" + _9F1 + " " + _aF1);
- if (method == 'OnPurchaseItemInitialized') {
- _PE1._cF1(data, _9F1)
- } else if (method == 'OnPurchaseItemFinished') {
- _PE1._dF1(data, _9F1)
- } else if (method == 'OnItemInformationListReceived') {
- _PE1._eF1(data, _9F1)
- } else if (method == 'OnPurchasedItemInformationListReceived') {
- _PE1._fF1(data, _9F1)
- }
- }
- }
- };
- function _bF1(_gF1) {
- var _hF1 = parseInt(_gF1, 10);
- switch (_hF1) {
- case 0:
- return ('Success');
- case 100:
- return ('Request cancelled');
- case 200:
- return ('Network error occured');
- case 9000:
- return ('Process error occured');
- case 9200:
- return ('Service Unavailable');
- case 9201:
- return ('Item GroupId NotFound');
- case 9203:
- return ('PaymentId Not Found');
- case 9207:
- return ('ItemId Not Found')
- }
- return ('Unknown status code ' + _9F1)
- }
- _IE1.prototype._iF1 = function(_bk1, _jF1) {
- var _oi = new Object();
- _oi.id = _bk1[_jF1 + '_itemId'];
- _oi.name = _bk1[_jF1 + '_itemName'];
- _oi._kF1 = _bk1[_jF1 + '_itemDownloadUrl'];
- _oi.description = _bk1[_jF1 + '_itemDescription'];
- _oi._Kx = "";
- var _lF1 = _bk1[_jF1 + '_itemPrice'];
- var _mF1 = _bk1[_jF1 + '_currencyUnit'];
- var _nF1 = _bk1[_jF1 + '_unitPrecedes'];
- var _oF1 = _bk1[_jF1 + '_hasPenny'];
- var _pF1 = _lF1.split('.');
- _pF1 = _pF1[0] + '.' + _pF1[1].substr(0, 2);
- _oi._Jx = _pF1;
- return _oi
- };
- _IE1.prototype._qF1 = function(_rF1) {
- var _Bo1 = "{ \"productId\":\"" + _rF1.id + "\"" + ", \"title\":\"" + _rF1.name + "\"" + ", \"price\":\"" + _rF1._Jx + "\"" + ", \"description\":\"" + _rF1.description + "\"}";
- _Cx({
- type: _qx,
- _0y: _Bo1
- })
- };
- _IE1.prototype._sF1 = function(_tF1, _Do1, _uF1, _vF1) {
- var _wF1 = 0;
- var _xF1 = -3;
- var _Kx = (_vF1) ? _wF1: _xF1;
- var _Bo1 = "{ \"productId\":\"" + _tF1 + "\"" + ", \"purchaseIndex\":" + _Do1 + ", \"purchaseState\":" + _Kx + ", \"response\":" + _uF1 + " }";
- _Cx({
- type: _rx,
- _0y: _Bo1
- })
- };
- var _yF1 = _IE1._eF1;
- _IE1.prototype._eF1 = function(_bk1, _Co1) {
- if (_Co1 == 0) {
- var _zF1 = parseInt(_bk1["_startNumber"]);
- var _AF1 = parseInt(_bk1["_endNumber"]);
- for (var _H3 = _zF1; _H3 <= _AF1; _H3++) {
- var _oi = this._iF1(_bk1, _H3);
- _oi._Kx = "Available";
- this._qF1(_oi)
- }
- this._0F1(_FE1, "retrieving purchased items...");
- this._BF1()
- } else {
- this._0F1(_EE1, "failed to get buy item list");
- _ZE1()
- }
- };
- var _CF1 = _IE1._fF1;
- _IE1.prototype._fF1 = function(_bk1, _Co1) {
- if (_Co1 == 0) {
- var _zF1 = parseInt(_bk1["_startNumber"]);
- var _AF1 = parseInt(_bk1["_endNumber"]);
- for (var _H3 = _zF1; _H3 <= _AF1; _H3++) {
- var _oi = this._iF1(_bk1, _H3);
- this._qF1(_oi);
- this._sF1(_oi.id, -1, 0, !0)
- }
- this._0F1(_GE1, "got purchased item list");
- __E1();
- this._KE1 = !0
- } else {
- this._0F1(_GE1, "failed to get purchased item list - user not signed in?");
- __E1();
- this._KE1 = !0
- }
- };
- var _DF1 = _IE1._cF1;
- _IE1.prototype._cF1 = function(_bk1, _Co1) {
- var _EF1 = _bk1['_transactionId'];
- if (_Co1 == 0) {
- var _FF1 = _bk1['_itemId'];
- var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_EF1]), new tizen.ApplicationControlData('_itemId', [_FF1]), new tizen.ApplicationControlData('_purchaseResume', ['1'])];
- this._HF1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _GF1, _7F1)
- } else {
- debug("IAP purchase was not successful");
- this._sF1(this._OE1, _EF1, _Co1, !1);
- this._OE1 = null;
- this._0F1(_GE1)
- }
- };
- var _IF1 = _IE1._dF1;
- _IE1.prototype._dF1 = function(_bk1, _Co1) {
- var _JF1 = (_Co1 == 0);
- var _EF1 = _bk1['_transactionId'];
- if (_JF1) {
- debug("IAP purchase was successful")
- } else {
- debug("IAP purchase failed with status:" + _bF1(_Co1))
- }
- this._sF1(this._OE1, _EF1, _Co1, _JF1);
- this._0F1(_GE1, "purchase operation finished");
- };
- _IE1.prototype._HF1 = function(_KF1, _tp1, _LF1) {
- if (this._NE1) {
- _LF1.push(new tizen.ApplicationControlData('_mcc', ['250']));
- _LF1.push(new tizen.ApplicationControlData('_mnc', ['01']));
- _LF1.push(new tizen.ApplicationControlData('_mode', ['1']))
- } else {
- _LF1.push(new tizen.ApplicationControlData('_mode', ['0']))
- }
- var _MF1 = new tizen.ApplicationControl(_KF1, null, null, null, _LF1);
- tizen.application.launchAppControl(_MF1, _tp1,
- function() {},
- function(e) {
- console.log("launch app control fail - Reason: " + e);
- if (_tp1 == "tizeninapp.IapClient") {
- this._0F1(_GE1);
- this._sF1(this._OE1, this._Vx, 9000, !1)
- } else {
- this._0F1(_EE1);
- _ZE1()
- }
- },
- _7F1)
- };
- _IE1.prototype._6F1 = function() {
- var _NF1 = 1;
- var _OF1 = _QE1;
- var _LE1 = this._LE1;
- this._ME1 += 1;
- var _PF1 = this._ME1;
- var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_PF1]), new tizen.ApplicationControlData('_startNumber', [_NF1]), new tizen.ApplicationControlData('_endNumber', [_OF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1])];
- this._HF1('http://tizen.org/appcontrol/operation/iap/get_item_list', 'tizeninapp.IapService', _GF1, _7F1)
- };
- _IE1.prototype._BF1 = function() {
- var _NF1 = 1;
- var _OF1 = _QE1;
- var _LE1 = this._LE1;
- this._ME1 += 1;
- var _PF1 = this._ME1;
- var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_PF1]), new tizen.ApplicationControlData('_startNumber', [_NF1]), new tizen.ApplicationControlData('_endNumber', [_OF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1])];
- this._HF1('http://tizen.org/appcontrol/operation/iap/get_purchased_item_list', 'tizeninapp.IapService', _GF1, _7F1)
- };
- _IE1.prototype._QF1 = function(_RF1, _Do1) {
- this._OE1 = _RF1;
- this._Vx = _Do1;
- var _SF1 = _RF1;
- var _LE1 = this._LE1;
- var _GF1 = [new tizen.ApplicationControlData('_itemId', [_SF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1]), new tizen.ApplicationControlData('_transactionId', [_Do1]), ];
- this._0F1(_HE1);
- this._HF1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _GF1, _7F1)
- };
- function _RE1(_zo1) {
- var _LE1 = _Yp._A5._TF1;
- if (typeof(_LE1) != "string" || _LE1.length <= 0) {
- debug("Tizen Item Group ID not set")
- } else {
- _PE1._4F1(_LE1)
- }
- }
- function _TE1(_RF1, _Do1) {
- _PE1._QF1(_RF1, _Do1)
- }
- function _UE1(_Ch) {
- debug("Tizen IAP does not support consumables");
- var _UF1 = 0;
- var _Bo1 = "{ \"productId\":\"" + _Ch + "\"" + ", \"consumed\":\"false\"" + ", \"response\":" + _UF1 + " }";
- _Cx({
- type: _sx,
- _0y: _Bo1
- })
- }
- function _SE1() {
- var _Co1 = 0;
- _Cx({
- type: _tx,
- _8j: _Co1
- })
- }
- function _VE1(_Ch) {
- var response = "{ \"response\":6 }";
- _Cx({
- type: _qx,
- _0y: response
- })
- }
- var _VF1 = 0;
- var _WF1 = 1;
- var _XF1 = 2;
- var _YF1 = [];
- function _ZF1(__F1, _ce, _0G1) {
- this._JF1 = __F1;
- this.type = _ce;
- this.data = _0G1
- }
- function _eE1() {
- _PI = _1G1;
- _2G1 = _3G1;
- _4G1();
- _5G1();
- var _6G1 = tizen.application.getCurrentApplication().getRequestedAppControl();
- if (_6G1) {
- console.log("Requester AppID : " + _6G1.callerAppId);
- var appControl = _6G1.appControl;
- var _7G1 = _8G1(appControl);
- if (_7G1 != null) {
- _9G1(!0, _WF1, _7G1)
- }
- }
- }
- function _4G1() {
- debug("Register push service...");
- var _aG1 = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify");
- tizen.push.registerService(_aG1, _bG1, _cG1)
- }
- var _dG1 = _cG1;
- function _cG1(response) {
- debug('Push registration error: ' + response['name']);
- debug('response.code= ' + response['code']);
- debug('response.message= ' + response['message']);
- _9G1(!1, _VF1, response['name'])
- }
- var _eG1 = _bG1;
- function _bG1(id) {
- debug("Push Registration succeeded with id: " + id);
- _9G1(!0, _VF1, id);
- debug("Connect to push service...");
- tizen.push.connectService(_fG1, _gG1)
- }
- var _hG1 = _gG1;
- function _gG1(response) {
- console.log('# # # # #Push error callback: ' + response['name']);
- _9G1(!1, _WF1, response['name'])
- }
- var _iG1 = _fG1;
- function _fG1(_jG1) {
- console.log("# # # # Push notification received");
- var message = _jG1['alertMessage'];
- var _7G1 = _jG1['appData'];
- if (_tL == !1) {
- _kG1(message, _7G1)
- } else {
- _9G1(!0, _WF1, _7G1)
- }
- }
- function _kG1(_lG1, _bk1) {
- console.log("PostNotification: " + _lG1);
- try {
- var _mG1 = tizen.application.getAppInfo();
- var _nG1 = _mG1['id'].split(".");
- var _oG1 = "/opt/apps/" + _nG1[0] + "/res/wgt/icon.png";
- var _pG1 = {};
- _pG1['content'] = _lG1;
- _pG1['iconPath'] = _oG1;
- _pG1['vibration'] = !0;
- _pG1['appId'] = _mG1['id'];
- var _LF1 = new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/push/appdata", [_bk1]);
- var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify", null, null, null, [_LF1]);
- _pG1['appControl'] = appControl;
- var _qG1 = _nG1[1];
- var notification = new tizen.StatusNotification("SIMPLE", _qG1, _pG1);
- tizen.notification.post(notification)
- } catch(err) {
- console.log(err.name + ": " + err.message)
- }
- }
- function _1G1() {
- if (_YF1.length <= 0) return;
- console.log("tizenPushEventsDispatch: " + _YF1.length + " events");
- var map = _9i();
- _w6._rG1 = map;
- for (var _H3 = 0; _H3 < _YF1.length; ++_H3) {
- var _sG1 = _YF1[_H3];
- var _tG1 = "";
- switch (_sG1.type) {
- case 0:
- _tG1 = "register";
- break;
- case 1:
- _tG1 = "remote";
- break;
- case 2:
- _tG1 = "local";
- break
- }
- _ei(map);
- if (!_sG1._JF1) {
- _ji(map, "status", 0);
- _ji(map, "type", _tG1);
- _ji(map, "error", _sG1.data)
- } else if (_sG1.type == _VF1) {
- _ji(map, "type", _tG1);
- _ji(map, "status", 1);
- _ji(map, "reg_id", _sG1.data)
- } else {
- _ji(map, "type", _tG1);
- _ji(map, "status", 1);
- _ji(map, "data", _sG1.data)
- }
- _Ys._uG1(_vG1, 0)
- }
- _ci(map);
- _w6._rG1 = -1;
- _YF1.length = 0
- }
- function _9G1(__F1, _ce, _0G1) {
- _YF1.push(new _ZF1(__F1, _ce, _0G1))
- }
- function _8G1(appControl) {
- if (appControl['operation'] == "http://tizen.org/appcontrol/operation/push_notify") {
- var data = appControl['data'];
- for (var _H3 = 0; _H3 < data.length; _H3++) {
- if (data[_H3]['key'] == "http://tizen.org/appcontrol/data/push/appdata") {
- var _7G1 = data[_H3].value[0];
- console.log("Got Notification payload:");
- return _7G1
- }
- }
- }
- return null
- }
- function _5G1() {
- var _wG1 = tizen.notification.getAll();
- var index = 0;
- debug("***** Found " + _wG1.length + " notifications");
- for (index = 0; index < _wG1.length; index++) {
- console.log(_wG1[index]['id'] + ": title=" + _wG1[index]['title'] + " content=" + _wG1[index]['content']);
- var appControl = _wG1[index].appControl;
- var _7G1 = _8G1(appControl);
- if (_7G1 != null) {
- _9G1(!0, _WF1, _7G1);
- try {
- tizen.notification.remove(_wG1[index].id)
- } catch(err) {
- console.log(err.name + ": " + err.message)
- }
- }
- }
- }
- function _3G1() {
- if (!_tL) {
- _tL = !0;
- _5G1()
- }
- } (function() {
- 'use strict';
- function _F9(_W9) {
- throw _W9
- }
- var _C9 = void 0,
- _T9 = this;
- function _9q(_W9, _mk) {
- var _kb = _W9.split("."),
- _I3 = _T9; ! (_kb[0] in _I3) && _I3._xG1 && _I3._xG1("var " + _kb[0]);
- for (var _Mq; _kb.length && (_Mq = _kb.shift());) ! _kb.length && _mk !== _C9 ? _I3[_Mq] = _mk: _I3 = _I3[_Mq] ? _I3[_Mq] : _I3[_Mq] = {}
- };
- var _vb = "undefined" !== typeof Uint8Array && "undefined" !== typeof Uint16Array && "undefined" !== typeof Uint32Array;
- function _xb(_W9) {
- var _mk = _W9.length,
- _kb = 0,
- _I3 = Number.POSITIVE_INFINITY,
- _Mq, e, _jb, _K3, _eT, _R9, _fu, _mv, _V9;
- for (_mv = 0; _mv < _mk; ++_mv) _W9[_mv] > _kb && (_kb = _W9[_mv]),
- _W9[_mv] < _I3 && (_I3 = _W9[_mv]);
- _Mq = 1 << _kb;
- e = new(_vb ? Uint32Array: Array)(_Mq);
- _jb = 1;
- _K3 = 0;
- for (_eT = 2; _jb <= _kb;) {
- for (_mv = 0; _mv < _mk; ++_mv) if (_W9[_mv] === _jb) {
- _R9 = 0;
- _fu = _K3;
- for (_V9 = 0; _V9 < _jb; ++_V9) _R9 = _R9 << 1 | _fu & 1,
- _fu >>= 1;
- for (_V9 = _R9; _V9 < _Mq; _V9 += _eT) e[_V9] = _jb << 16 | _mv; ++_K3
- }++_jb;
- _K3 <<= 1;
- _eT <<= 1
- }
- return [e, _kb, _I3]
- };
- function _J3(_W9, _mk) {
- this._jb = [];
- this._K3 = 32768;
- this._mk = this._Mq = this._kb = this._R9 = 0;
- this._2u = _vb ? new Uint8Array(_W9) : _W9;
- this._F9 = !1;
- this._H3 = _f3;
- this._T9 = !1;
- if (_mk || !(_mk = {})) _mk.index && (this._kb = _mk.index),
- _mk._yG1 && (this._K3 = _mk._yG1),
- _mk._zG1 && (this._H3 = _mk._zG1),
- _mk._AG1 && (this._T9 = _mk._AG1);
- switch (this._H3) {
- case _g3:
- this._W9 = 32768;
- this._I3 = new(_vb ? Uint8Array: Array)(32768 + this._K3 + 258);
- break;
- case _f3:
- this._W9 = 0;
- this._I3 = new(_vb ? Uint8Array: Array)(this._K3);
- this.e = this._Cc;
- this._C9 = this._xb;
- this.__9 = this._J3;
- break;
- default:
- _F9(_Xg("invalid inflate mode"))
- }
- }
- var _g3 = 0,
- _f3 = 1,
- _Cc = {
- _V9: _g3,
- _9q: _f3
- };
- _J3.prototype._eT = function() {
- for (; ! this._F9;) {
- var _W9 = _aM(this, 3);
- _W9 & 1 && (this._F9 = !0);
- _W9 >>>= 1;
- switch (_W9) {
- case 0:
- var _mk = this._2u,
- _kb = this._kb,
- _I3 = this._I3,
- _Mq = this._W9,
- e = _C9,
- _jb = _C9,
- _K3 = _C9,
- _eT = _I3.length,
- _R9 = _C9;
- this._mk = this._Mq = 0;
- e = _mk[_kb++];
- e === _C9 && _F9(_Xg("invalid uncompressed block header: LEN (first byte)"));
- _jb = e;
- e = _mk[_kb++];
- e === _C9 && _F9(_Xg("invalid uncompressed block header: LEN (second byte)"));
- _jb |= e << 8;
- e = _mk[_kb++];
- e === _C9 && _F9(_Xg("invalid uncompressed block header: NLEN (first byte)"));
- _K3 = e;
- e = _mk[_kb++];
- e === _C9 && _F9(_Xg("invalid uncompressed block header: NLEN (second byte)"));
- _K3 |= e << 8;
- _jb === ~_K3 && _F9(_Xg("invalid uncompressed block header: length verify"));
- _kb + _jb > _mk.length && _F9(_Xg("input buffer is broken"));
- switch (this._H3) {
- case _g3:
- for (; _Mq + _jb > _I3.length;) {
- _R9 = _eT - _Mq;
- _jb -= _R9;
- if (_vb) _I3.set(_mk.subarray(_kb, _kb + _R9), _Mq),
- _Mq += _R9,
- _kb += _R9;
- else for (; _R9--;) _I3[_Mq++] = _mk[_kb++];
- this._W9 = _Mq;
- _I3 = this.e();
- _Mq = this._W9
- }
- break;
- case _f3:
- for (; _Mq + _jb > _I3.length;) _I3 = this.e({
- _mv: 2
- });
- break;
- default:
- _F9(_Xg("invalid inflate mode"))
- }
- if (_vb) _I3.set(_mk.subarray(_kb, _kb + _jb), _Mq),
- _Mq += _jb,
- _kb += _jb;
- else for (; _jb--;) _I3[_Mq++] = _mk[_kb++];
- this._kb = _kb;
- this._W9 = _Mq;
- this._I3 = _I3;
- break;
- case 1:
- this.__9(_pN, _jO);
- break;
- case 2:
- _BG1(this);
- break;
- default:
- _F9(_Xg("unknown BTYPE: " + _W9))
- }
- }
- return this._C9()
- };
- var _GQ = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
- _FX = _vb ? new Uint16Array(_GQ) : _GQ,
- _BX = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258],
- _CX = _vb ? new Uint16Array(_BX) : _BX,
- _CG1 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0],
- _fP = _vb ? new Uint8Array(_CG1) : _CG1,
- _DG1 = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577],
- _891 = _vb ? new Uint16Array(_DG1) : _DG1,
- _ze1 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
- _EN = _vb ? new Uint8Array(_ze1) : _ze1,
- _EG1 = new(_vb ? Uint8Array: Array)(288),
- _FG1,
- _qV;
- _FG1 = 0;
- for (_qV = _EG1.length; _FG1 < _qV; ++_FG1) _EG1[_FG1] = 143 >= _FG1 ? 8 : 255 >= _FG1 ? 9 : 279 >= _FG1 ? 7 : 8;
- var _pN = _xb(_EG1),
- _pV = new(_vb ? Uint8Array: Array)(30),
- _GG1,
- _HG1;
- _GG1 = 0;
- for (_HG1 = _pV.length; _GG1 < _HG1; ++_GG1) _pV[_GG1] = 5;
- var _jO = _xb(_pV);
- function _aM(_W9, _mk) {
- for (var _kb = _W9._Mq,
- _I3 = _W9._mk,
- _Mq = _W9._2u,
- e = _W9._kb,
- _jb; _I3 < _mk;) _jb = _Mq[e++],
- _jb === _C9 && _F9(_Xg("input buffer is broken")),
- _kb |= _jb << _I3,
- _I3 += 8;
- _jb = _kb & (1 << _mk) - 1;
- _W9._Mq = _kb >>> _mk;
- _W9._mk = _I3 - _mk;
- _W9._kb = e;
- return _jb
- }
- function _gO(_W9, _mk) {
- for (var _kb = _W9._Mq,
- _I3 = _W9._mk,
- _Mq = _W9._2u,
- e = _W9._kb,
- _jb = _mk[0], _K3 = _mk[1], _eT, _R9, _fu; _I3 < _K3;) {
- _eT = _Mq[e++];
- if (_eT === _C9) break;
- _kb |= _eT << _I3;
- _I3 += 8
- }
- _R9 = _jb[_kb & (1 << _K3) - 1];
- _fu = _R9 >>> 16;
- _W9._Mq = _kb >> _fu;
- _W9._mk = _I3 - _fu;
- _W9._kb = e;
- return _R9 & 65535
- }
- function _BG1(_W9) {
- function _mk(_kb, _W9, _I3) {
- var _mk, e, _Mq, _jb;
- for (_jb = 0; _jb < _kb;) switch (_mk = _gO(this, _W9), _mk) {
- case 16:
- for (_Mq = 3 + _aM(this, 2); _Mq--;) _I3[_jb++] = e;
- break;
- case 17:
- for (_Mq = 3 + _aM(this, 3); _Mq--;) _I3[_jb++] = 0;
- e = 0;
- break;
- case 18:
- for (_Mq = 11 + _aM(this, 7); _Mq--;) _I3[_jb++] = 0;
- e = 0;
- break;
- default:
- e = _I3[_jb++] = _mk
- }
- return _I3
- }
- var _kb = _aM(_W9, 5) + 257,
- _I3 = _aM(_W9, 5) + 1,
- _Mq = _aM(_W9, 4) + 4,
- e = new(_vb ? Uint8Array: Array)(_FX.length),
- _jb,
- _K3,
- _eT,
- _R9;
- for (_R9 = 0; _R9 < _Mq; ++_R9) e[_FX[_R9]] = _aM(_W9, 3);
- _jb = _xb(e);
- _K3 = new(_vb ? Uint8Array: Array)(_kb);
- _eT = new(_vb ? Uint8Array: Array)(_I3);
- _W9.__9(_xb(_mk.call(_W9, _kb, _jb, _K3)), _xb(_mk.call(_W9, _I3, _jb, _eT)))
- }
- _J3.prototype.__9 = function(_W9, _mk) {
- var _kb = this._I3,
- _I3 = this._W9;
- this._4s = _W9;
- for (var _Mq = _kb.length - 258,
- e, _jb, _K3, _eT; 256 !== (e = _gO(this, _W9));) if (256 > e) _I3 >= _Mq && (this._W9 = _I3, _kb = this.e(), _I3 = this._W9),
- _kb[_I3++] = e;
- else {
- _jb = e - 257;
- _eT = _CX[_jb];
- 0 < _fP[_jb] && (_eT += _aM(this, _fP[_jb]));
- e = _gO(this, _mk);
- _K3 = _891[e];
- 0 < _EN[e] && (_K3 += _aM(this, _EN[e]));
- _I3 >= _Mq && (this._W9 = _I3, _kb = this.e(), _I3 = this._W9);
- for (; _eT--;) _kb[_I3] = _kb[_I3++-_K3]
- }
- for (; 8 <= this._mk;) this._mk -= 8,
- this._kb--;
- this._W9 = _I3
- };
- _J3.prototype._J3 = function(_W9, _mk) {
- var _kb = this._I3,
- _I3 = this._W9;
- this._4s = _W9;
- for (var _Mq = _kb.length,
- e, _jb, _K3, _eT; 256 !== (e = _gO(this, _W9));) if (256 > e) _I3 >= _Mq && (_kb = this.e(), _Mq = _kb.length),
- _kb[_I3++] = e;
- else {
- _jb = e - 257;
- _eT = _CX[_jb];
- 0 < _fP[_jb] && (_eT += _aM(this, _fP[_jb]));
- e = _gO(this, _mk);
- _K3 = _891[e];
- 0 < _EN[e] && (_K3 += _aM(this, _EN[e]));
- _I3 + _eT > _Mq && (_kb = this.e(), _Mq = _kb.length);
- for (; _eT--;) _kb[_I3] = _kb[_I3++-_K3]
- }
- for (; 8 <= this._mk;) this._mk -= 8,
- this._kb--;
- this._W9 = _I3
- };
- _J3.prototype.e = function() {
- var _W9 = new(_vb ? Uint8Array: Array)(this._W9 - 32768),
- _mk = this._W9 - 32768,
- _kb,
- _I3,
- _Mq = this._I3;
- if (_vb) _W9.set(_Mq.subarray(32768, _W9.length));
- else {
- _kb = 0;
- for (_I3 = _W9.length; _kb < _I3; ++_kb) _W9[_kb] = _Mq[_kb + 32768]
- }
- this._jb.push(_W9);
- this._R9 += _W9.length;
- if (_vb) _Mq.set(_Mq.subarray(_mk, _mk + 32768));
- else for (_kb = 0; 32768 > _kb; ++_kb) _Mq[_kb] = _Mq[_mk + _kb];
- this._W9 = 32768;
- return _Mq
- };
- _J3.prototype._Cc = function(_W9) {
- var _mk, _kb = this._2u.length / this._kb + 1 | 0,
- _I3, _Mq, e, _jb = this._2u,
- _K3 = this._I3;
- _W9 && ("number" === typeof _W9._mv && (_kb = _W9._mv), "number" === typeof _W9._vb && (_kb += _W9._vb));
- 2 > _kb ? (_I3 = (_jb.length - this._kb) / this._4s[2], e = 258 * (_I3 / 2) | 0, _Mq = e < _K3.length ? _K3.length + e: _K3.length << 1) : _Mq = _K3.length * _kb;
- _vb ? (_mk = new Uint8Array(_Mq), _mk.set(_K3)) : _mk = _K3;
- return this._I3 = _mk
- };
- _J3.prototype._C9 = function() {
- var _W9 = 0,
- _mk = this._I3,
- _kb = this._jb,
- _I3, _Mq = new(_vb ? Uint8Array: Array)(this._R9 + (this._W9 - 32768)),
- e,
- _jb,
- _K3,
- _eT;
- if (0 === _kb.length) return _vb ? this._I3.subarray(32768, this._W9) : this._I3.slice(32768, this._W9);
- e = 0;
- for (_jb = _kb.length; e < _jb; ++e) {
- _I3 = _kb[e];
- _K3 = 0;
- for (_eT = _I3.length; _K3 < _eT; ++_K3) _Mq[_W9++] = _I3[_K3]
- }
- e = 32768;
- for (_jb = this._W9; e < _jb; ++e) _Mq[_W9++] = _mk[e];
- this._jb = [];
- return this.buffer = _Mq
- };
- _J3.prototype._xb = function() {
- var _W9, _mk = this._W9;
- _vb ? this._T9 ? (_W9 = new Uint8Array(_mk), _W9.set(this._I3.subarray(0, _mk))) : _W9 = this._I3.subarray(0, _mk) : (this._I3.length > _mk && (this._I3.length = _mk), _W9 = this._I3);
- return this.buffer = _W9
- };
- function _IG1(_W9, _mk) {
- var _kb, _I3;
- this._2u = _W9;
- this._kb = 0;
- if (_mk || !(_mk = {})) _mk.index && (this._kb = _mk.index),
- _mk._JG1 && (this._aM = _mk._JG1);
- _kb = _W9[this._kb++];
- _I3 = _W9[this._kb++];
- switch (_kb & 15) {
- case _KG1:
- this.method = _KG1;
- break;
- default:
- _F9(_Xg("unsupported compression method"))
- }
- 0 !== ((_kb << 8) + _I3) % 31 && _F9(_Xg("invalid fcheck flag:" + ((_kb << 8) + _I3) % 31));
- _I3 & 32 && _F9(_Xg("fdict flag is not supported"));
- this._fu = new _J3(_W9, {
- index: this._kb,
- _yG1: _mk._yG1,
- _zG1: _mk._zG1,
- _AG1: _mk._AG1
- })
- }
- _IG1.prototype._eT = function() {
- var _W9 = this._2u,
- _mk, _kb;
- _mk = this._fu._eT();
- this._kb = this._fu._kb;
- if (this._aM) {
- _kb = (_W9[this._kb++] << 24 | _W9[this._kb++] << 16 | _W9[this._kb++] << 8 | _W9[this._kb++]) >>> 0;
- var _I3 = _mk;
- if ("string" === typeof _I3) {
- var _Mq = _I3.split(""),
- e,
- _jb;
- e = 0;
- for (_jb = _Mq.length; e < _jb; e++) _Mq[e] = (_Mq[e].charCodeAt(0) & 255) >>> 0;
- _I3 = _Mq
- }
- for (var _K3 = 1,
- _eT = 0,
- _R9 = _I3.length,
- _fu, _mv = 0; 0 < _R9;) {
- _fu = 1024 < _R9 ? 1024 : _R9;
- _R9 -= _fu;
- do _K3 += _I3[_mv++],
- _eT += _K3;
- while (--_fu);
- _K3 %= 65521;
- _eT %= 65521
- }
- _kb !== (_eT << 16 | _K3) >>> 0 && _F9(_Xg("invalid adler-32 checksum"))
- }
- return _mk
- };
- var _KG1 = 8;
- _9q("Zlib.Inflate", _IG1);
- _9q("Zlib.Inflate.prototype.decompress", _IG1.prototype._eT);
- var _LG1 = {
- _MG1: _Cc._9q,
- _NG1: _Cc._V9
- },
- _io,
- _jo,
- _ko,
- $;
- if (Object._OG1) _io = Object._OG1(_LG1);
- else for (_jo in _io = [], _ko = 0, _LG1) _io[_ko++] = _jo;
- _ko = 0;
- for ($ = _io.length; _ko < $; ++_ko) _jo = _io[_ko],
- _9q("Zlib.Inflate.BufferType." + _jo, _LG1[_jo])
- }).call(this);
- var _PG1 = !1,
- _QG1 = -1,
- _RG1 = -1,
- _SG1 = 0,
- _TG1 = 1,
- _UG1 = 2,
- _VG1 = 3,
- _WG1 = 4,
- _XG1 = 5,
- _YG1 = 6,
- _ZG1 = 7,
- __G1 = 8,
- _0H1 = 9,
- _1H1 = 10,
- _2H1 = 11,
- _3H1 = [0, 0, 0],
- _4H1 = [0, 0, 0],
- _5H1 = [0, 0, 0, 0, 0, 0],
- _6H1 = [0, 0, 0],
- _7H1 = [0, 0, 0],
- _8H1 = [0, 0, 0],
- _9H1 = [0, 0, 0],
- _aH1 = [0, 0, 0],
- _bH1 = [0, 0, 0],
- _cH1 = [0, 0, 0],
- _dH1 = 0,
- _eH1 = 0;
- function _fH1() {
- if ((_H8._I8() <= 30) || (_gH1 <= 30)) {
- return 1.0
- }
- if ((_H8._I8() / _gH1) < 1.2) {
- return 30.0 / _H8._I8()
- } else {
- return 30.0 / _gH1
- }
- }
- function _hH1() {
- if (!_1B(_QG1)) {
- _QG1 = _mj();
- _7B(_QG1, 100000)
- }
- if (!_1B(_RG1)) {
- _RG1 = _mj();
- _7B(_RG1, -100000)
- }
- if (!_PG1) {
- _iH1()
- }
- }
- function _iH1() {
- var _H3;
- _PG1 = !0;
- for (_H3 = 0; _H3 <= 5; _H3++) {
- _5H1[_H3] = _nj()
- }
- for (_H3 = 0; _H3 <= 2; _H3++) {
- _6H1[_H3] = _nj();
- _3H1[_H3] = _nj();
- _7H1[_H3] = _nj();
- _4H1[_H3] = _nj();
- _8H1[_H3] = _nj();
- _9H1[_H3] = _nj();
- _aH1[_H3] = _nj();
- _bH1[_H3] = _nj();
- _cH1[_H3] = _nj()
- }
- _dH1 = _nj();
- _eH1 = _nj()
- }
- function _jH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_5H1[0], _lH1);
- _DB(_5H1[0], 0.1, 0.1, 0.05 * _Mq, 0);
- _bC(_5H1[0], 0, 360, 0, 0, !1);
- _fC(_5H1[0], 0, 360, 0, 0);
- _dC(_5H1[0], 2 * _Mq, 2 * _Mq, -0.1 * _Mq, 0);
- _rj(_5H1[0], 0.6, 0);
- _5C(_5H1[0], _Xi(10.0 / _Mq), _Xi(15.0 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[0], _Sd, 20);
- _zB(_5H1[1], _lH1);
- _DB(_5H1[1], 0.1, 0.1, 0.1 * _Mq, 0);
- _bC(_5H1[1], 0, 360, 0, 0, !1);
- _rj(_5H1[1], 0.8, 0);
- _5C(_5H1[1], _Xi(15 / _Mq), _Xi(15 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[1], _mH1, 1)
- } else if (__d == 2) {
- _zB(_5H1[4], _lH1);
- _DB(_5H1[4], 0.4, 0.4, 0.2 * _Mq, 0);
- _bC(_5H1[4], 0, 360, 0, 0, !1);
- _fC(_5H1[4], 0, 360, 0, 0);
- _dC(_5H1[4], 7 * _Mq, 7 * _Mq, -0.2 * _Mq, 0);
- _rj(_5H1[4], 0.6, 0);
- _5C(_5H1[4], _Xi(15 / _Mq), _Xi(20 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[4], _Sd, 20);
- _zB(_5H1[5], _lH1);
- _DB(_5H1[5], 0.4, 0.4, 0.4 * _Mq, 0);
- _bC(_5H1[5], 0, 360, 0, 0, !1);
- _rj(_5H1[5], 0.8, 0);
- _5C(_5H1[5], _Xi(20 / _Mq), _Xi(20 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[5], _mH1, 1)
- } else {
- _zB(_5H1[2], _lH1);
- _DB(_5H1[2], 0.3, 0.3, 0.1 * _Mq, 0);
- _bC(_5H1[2], 0, 360, 0, 0, !1);
- _fC(_5H1[2], 0, 360, 0, 0);
- _dC(_5H1[2], 4 * _Mq, 4 * _Mq, -0.18 * _Mq, 0);
- _rj(_5H1[2], 0.6, 0);
- _5C(_5H1[2], _Xi(12 / _Mq), _Xi(17 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[2], _Sd, 20);
- _zB(_5H1[3], _lH1);
- _DB(_5H1[3], 0.3, 0.3, 0.2 * _Mq, 0);
- _bC(_5H1[3], 0, 360, 0, 0, !1);
- _rj(_5H1[3], 0.8, 0);
- _5C(_5H1[3], _Xi(17 / _Mq), _Xi(17 / _Mq));
- _lB(_kH1, _V8, _W8, _5H1[3], _mH1, 1)
- }
- }
- function _nH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_6H1[0], _oH1);
- _rj(_6H1[0], 1, 0);
- _DB(_6H1[0], 0.0, 0.0, 0.15 * _Mq, 0.0);
- _5C(_6H1[0], _Xi(10.0 / _Mq), _Xi(12.0 / _Mq));
- _lB(_kH1, _V8, _W8, _6H1[0], _Sd, 1)
- } else if (__d == 2) {
- _zB(_6H1[2], _oH1);
- _rj(_6H1[2], 1, 0);
- _DB(_6H1[2], 0, 0, 0.4 * _Mq, 0);
- _5C(_6H1[2], _Xi(18.0 / _Mq), _Xi(20.0 / _Mq));
- _lB(_kH1, _V8, _W8, _6H1[2], _Sd, 1)
- } else {
- _zB(_6H1[1], _oH1);
- _rj(_6H1[1], 1, 0);
- _DB(_6H1[1], 0, 0, 0.25 * _Mq, 0);
- _5C(_6H1[1], _Xi(13.0 / _Mq), _Xi(15.0 / _Mq));
- _lB(_kH1, _V8, _W8, _6H1[1], _Sd, 1)
- }
- }
- function _pH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_3H1[0], _oH1);
- _rj(_3H1[0], 1, 0);
- _DB(_3H1[0], 0, 0, 0.2 * _Mq, 0);
- _FB(_3H1[0], 1, 0.5);
- _5C(_3H1[0], _Xi(10.0 / _Mq), _Xi(12.0 / _Mq));
- _lB(_kH1, _V8, _W8, _3H1[0], _Sd, 1)
- } else if (__d == 2) {
- _zB(_3H1[2], _oH1);
- _rj(_3H1[2], 1, 0);
- _DB(_3H1[2], 0, 0, 0.6 * _Mq, 0);
- _FB(_3H1[2], 1, 0.5);
- _5C(_3H1[2], _Xi(18.0 / _Mq), _Xi(20.0 / _Mq));
- _lB(_kH1, _V8, _W8, _3H1[2], _Sd, 1)
- } else {
- _zB(_3H1[1], _oH1);
- _rj(_3H1[1], 1, 0);
- _DB(_3H1[1], 0, 0, 0.35 * _Mq, 0);
- _FB(_3H1[1], 1, 0.5);
- _5C(_3H1[1], _Xi(13.0 / _Mq), _Xi(15.0 / _Mq));
- _lB(_kH1, _V8, _W8, _3H1[1], _Sd, 1)
- }
- }
- function _qH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_7H1[1], _rH1);
- _DB(_7H1[1], 0.1, 0.2, 0, 0);
- _dC(_7H1[1], 0.5 * _Mq, 3.0 * _Mq, 0.0, 0.0);
- _fC(_7H1[1], 0, 360, 0, 0);
- _rj(_7H1[1], 1, 0.4);
- _5C(_7H1[1], _Xi(15.0 / _Mq), _Xi(25.0 / _Mq));
- _hC(_7H1[1], 0.10 * _Mq, 270);
- _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 75)
- } else if (__d == 2) {
- _zB(_7H1[1], _rH1);
- _DB(_7H1[1], 0.1, 0.2, 0, 0);
- _dC(_7H1[1], 0.5 * _Mq, 8.0 * _Mq, 0.0, 0.0);
- _fC(_7H1[1], 0, 360, 0, 0);
- _rj(_7H1[1], 1, 0.4);
- _5C(_7H1[1], _Xi(30.0 / _Mq), _Xi(40.0 / _Mq));
- _hC(_7H1[1], 0.17 * _Mq, 270);
- _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 250)
- } else {
- _zB(_7H1[1], _rH1);
- _DB(_7H1[1], 0.1, 0.2, 0, 0);
- _dC(_7H1[1], 0.5 * _Mq, 6.0 * _Mq, 0.0, 0.0);
- _fC(_7H1[1], 0, 360, 0, 0);
- _rj(_7H1[1], 1, 0.4);
- _5C(_7H1[1], _Xi(20.0 / _Mq), _Xi(30.0 / _Mq));
- _hC(_7H1[1], 0.15 * _Mq, 270);
- _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 150)
- }
- }
- function _sH1(_kH1, _V8, _W8, __d, _Sd) {
- var _H3;
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_4H1[0], _lH1);
- _DB(_4H1[0], 0.2, 0.4, -0.01 * _Mq, 0);
- _rj(_4H1[0], 0.4, 0);
- _5C(_4H1[0], _Xi(25.0 / _Mq), _Xi(25.0 / _Mq));
- for (_H3 = 0; _H3 <= 5; _H3++) {
- _lB(_kH1, _V8 - 5 + _tH1(10), _W8 - 5 + _tH1(10), _4H1[0], _Sd, 1)
- }
- } else if (__d === 2) {
- _zB(_4H1[2], _lH1);
- _DB(_4H1[2], 0.4, 1, -0.01 * _Mq, 0);
- _rj(_4H1[2], 0.4, 0);
- _5C(_4H1[2], _Xi(50.0 / _Mq), _Xi(50.0 / _Mq));
- for (_H3 = 0; _H3 <= 15; _H3++) {
- _lB(_kH1, _V8 - 30 + _tH1(60), _W8 - 30 + _tH1(60), _4H1[2], _Sd, 1)
- }
- } else {
- _zB(_4H1[1], _lH1);
- _DB(_4H1[1], 0.4, 0.7, -0.01 * _Mq, 0);
- _rj(_4H1[1], 0.4, 0);
- _5C(_4H1[1], _Xi(30.0 / _Mq), _Xi(30.0 / _Mq));
- for (_H3 = 0; _H3 <= 10; _H3++) {
- _lB(_kH1, _V8 - 15 + _tH1(30), _W8 - 15 + _tH1(30), _4H1[1], _Sd, 1)
- }
- }
- }
- function _uH1(_kH1, _V8, _W8, __d, _Sd) {
- var _H3;
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_8H1[0], _lH1);
- _DB(_8H1[0], 0.2, 0.4, -0.01 * _Mq, 0);
- _rj(_8H1[0], 0.4, 0);
- _dC(_8H1[0], 3.0 * _Mq, 4.0 * _Mq, 0, 0);
- _fC(_8H1[0], 90, 90, 0, 0);
- _5C(_8H1[0], _Xi(25.0 / _Mq), _Xi(25.0 / _Mq));
- for (_H3 = 0; _H3 <= 5; _H3++) {
- _lB(_kH1, _V8 - 5 + _tH1(10), _W8 - 5 + _tH1(10), _8H1[0], _Sd, 1)
- }
- } else if (__d === 2) {
- _zB(_8H1[2], _lH1);
- _DB(_8H1[2], 0.4, 1, -0.01 * _Mq, 0);
- _rj(_8H1[2], 0.4, 0);
- _dC(_8H1[2], 6.0 * _Mq, 7.0 * _Mq, 0, 0);
- _fC(_8H1[2], 90, 90, 0, 0);
- _5C(_8H1[2], _Xi(50.0 / _Mq), _Xi(50.0 / _Mq));
- for (_H3 = 0; _H3 <= 15; _H3++) {
- _lB(_kH1, _V8 - 30 + _tH1(60), _W8 - 30 + _tH1(60), _8H1[2], _Sd, 1)
- }
- } else {
- _zB(_8H1[1], _lH1);
- _DB(_8H1[1], 0.4, 0.7, -0.01 * _Mq, 0);
- _rj(_8H1[1], 0.4, 0);
- _dC(_8H1[1], 5.0 * _Mq, 6.0 * _Mq, 0, 0);
- _fC(_8H1[1], 90, 90, 0, 0);
- _5C(_8H1[1], _Xi(30.0 / _Mq), _Xi(30.0 / _Mq));
- for (_H3 = 0; _H3 <= 10; _H3++) {
- _lB(_kH1, _V8 - 15 + _tH1(30), _W8 - 15 + _tH1(30), _8H1[1], _Sd, 1)
- }
- }
- }
- function _vH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_9H1[0], _wH1);
- _DB(_9H1[0], 0.4, 0.3, -0.02 * _Mq, 0);
- _bC(_9H1[0], 0, 360, 0, 0, !1);
- _5C(_9H1[0], _Xi(20 / _Mq), _Xi(20 / _Mq));
- _lB(_kH1, _V8, _W8, _9H1[0], _Sd, 1)
- } else if (__d === 2) {
- _zB(_9H1[2], _wH1);
- _DB(_9H1[2], 1.2, 1.2, -0.04 * _Mq, 0);
- _bC(_9H1[2], 0, 360, 0, 0, !1);
- _5C(_9H1[2], _Xi(30 / _Mq), _Xi(30 / _Mq));
- _lB(_kH1, _V8, _W8, _9H1[2], _Sd, 1)
- } else {
- _zB(_9H1[1], _wH1);
- _DB(_9H1[1], 0.75, 0.75, -0.03 * _Mq, 0);
- _bC(_9H1[1], 0, 360, 0, 0, !1);
- _5C(_9H1[1], _Xi(25 / _Mq), _Xi(25 / _Mq));
- _lB(_kH1, _V8, _W8, _9H1[1], _Sd, 1)
- }
- }
- function _xH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_aH1[0], _yH1);
- _DB(_aH1[0], 0.4, 0.4, -0.02 * _Mq, 0);
- _bC(_aH1[0], 0, 360, 0, 0, !1);
- _5C(_aH1[0], _Xi(20 / _Mq), _Xi(20 / _Mq));
- _lB(_kH1, _V8, _W8, _aH1[0], _Sd, 1)
- } else if (__d === 2) {
- _zB(_aH1[2], _yH1);
- _DB(_aH1[2], 1.2, 1.2, -0.04 * _Mq, 0);
- _bC(_aH1[2], 0, 360, 0, 0, !1);
- _5C(_aH1[2], _Xi(30 / _Mq), _Xi(30 / _Mq));
- _lB(_kH1, _V8, _W8, _aH1[2], _Sd, 1)
- } else {
- _zB(_aH1[1], _yH1);
- _DB(_aH1[1], 0.75, 0.75, -0.03 * _Mq, 0);
- _bC(_aH1[1], 0, 360, 0, 0, !1);
- _5C(_aH1[1], _Xi(25 / _Mq), _Xi(25 / _Mq));
- _lB(_kH1, _V8, _W8, _aH1[1], _Sd, 1)
- }
- }
- function _zH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_bH1[0], _rH1);
- _DB(_bH1[0], 0.4, 0.4, -0.02 * _Mq, 0);
- _bC(_bH1[0], 0, 360, 0, 0, !1);
- _5C(_bH1[0], _Xi(20 / _Mq), _Xi(20 / _Mq));
- _lB(_kH1, _V8, _W8, _bH1[0], _Sd, 1)
- } else if (__d === 2) {
- _zB(_bH1[2], _rH1);
- _DB(_bH1[2], 1.2, 1.2, -0.04 * _Mq, 0);
- _bC(_bH1[2], 0, 360, 0, 0, !1);
- _5C(_bH1[2], _Xi(30 / _Mq), _Xi(30 / _Mq));
- _lB(_kH1, _V8, _W8, _bH1[2], _Sd, 1)
- } else {
- _zB(_bH1[1], _rH1);
- _DB(_bH1[1], 0.75, 0.75, -0.03 * _Mq, 0);
- _bC(_bH1[1], 0, 360, 0, 0, !1);
- _5C(_bH1[1], _Xi(25 / _Mq), _Xi(25 / _Mq));
- _lB(_kH1, _V8, _W8, _bH1[1], _Sd, 1)
- }
- }
- function _AH1(_kH1, _V8, _W8, __d, _Sd) {
- var _Mq = _fH1();
- if (__d === 0) {
- _zB(_cH1[0], _lH1);
- _DB(_cH1[0], 2, 2, 0, 0);
- _FB(_cH1[0], 1, 0.5);
- _3C(_cH1[0], 0, 0.3, 0);
- _5C(_cH1[0], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq));
- _lB(_kH1, _V8, _W8, _cH1[0], _Sd, 1)
- } else if (__d === 2) {
- _zB(_cH1[2], _lH1);
- _DB(_cH1[2], 8, 8, 0, 0);
- _FB(_cH1[2], 1, 0.5);
- _3C(_cH1[2], 0, 0.3, 0);
- _5C(_cH1[2], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq));
- _lB(_kH1, _V8, _W8, _cH1[02], _Sd, 1)
- } else {
- _zB(_cH1[1], _lH1);
- _DB(_cH1[1], 4, 4, 0, 0);
- _FB(_cH1[1], 1, 0.5);
- _3C(_cH1[1], 0, 0.3, 0);
- _5C(_cH1[1], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq));
- _lB(_kH1, _V8, _W8, _cH1[1], _Sd, 1)
- }
- }
- function _BH1(_kH1, _V8, _W8, __d, _Sd) {
- var _H3;
- var _Mq = _fH1();
- _zB(_dH1, _CH1);
- _DB(_dH1, 0.2, 0.3, 0.0, 0.0);
- _bC(_dH1, 0, 0, 0, 0, !0);
- _dC(_dH1, 7 * _Mq, 7 * _Mq, 0, 0);
- _fC(_dH1, 260, 260, 0, 0);
- _0C(_dH1, 0.4);
- _5C(_dH1, _Xi(0.2 * _H8._DR() / _Mq), _Xi(0.2 * _H8._DR() / _Mq));
- if (__d === 0) {
- for (_H3 = 0; _H3 <= 1; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1)
- }
- } else if (__d == 2) {
- for (_H3 = 0; _H3 <= 8; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1)
- }
- } else {
- for (_H3 = 0; _H3 <= 4; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1)
- }
- }
- }
- function _EH1(_kH1, _V8, _W8, __d, _Sd) {
- var _H3;
- var _Mq = _fH1();
- _zB(_eH1, _FH1);
- _DB(_eH1, 0.1, 0.25, 0.0, 0.0);
- _0C(_eH1, 0.6);
- _bC(_eH1, 0, 360, 0, 0, !1);
- _dC(_eH1, 2.5 * _Mq, 3.0 * _Mq, 0.0, 0.0);
- _fC(_eH1, 240, 300, 0, 20);
- _5C(_eH1, _Xi(0.5 * _H8._DR() / _Mq), _Xi(0.5 * _H8._DR() / _Mq));
- if (__d === 0) {
- for (_H3 = 0; _H3 <= 0; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1)
- }
- } else if (__d === 2) {
- for (_H3 = 0; _H3 <= 6; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1)
- }
- } else {
- for (_H3 = 0; _H3 <= 2; _H3++) {
- _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1)
- }
- }
- }
- function _GH1(_HH1, _ud, _V8, _W8, __d, _Sd) {
- var _nQ;
- _hH1();
- if (_HH1) {
- _nQ = _QG1
- } else {
- _nQ = _RG1
- }
- switch (_ud) {
- case _SG1:
- _jH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _TG1:
- _nH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _UG1:
- _pH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _VG1:
- _qH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _WG1:
- _sH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _XG1:
- _uH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _YG1:
- _vH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _ZG1:
- _xH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case __G1:
- _zH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _0H1:
- _AH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _1H1:
- _BH1(_nQ, _V8, _W8, __d, _Sd);
- break;
- case _2H1:
- _EH1(_nQ, _V8, _W8, __d, _Sd);
- break
- }
- }
- var _IH1 = !1,
- _qL = !1,
- _JH1 = !0;
- function _dp1(_KH1) {
- if (_KH1) {
- _IH1 = !0
- } else {
- _qL = !1;
- _IH1 = !1;
- if (_JH1) {
- _Ro1 = !1
- }
- }
- }
- function _LH1() {
- if (window["page"] === undefined) {
- _JH1 = !1;
- window.addEventListener("focus",
- function() {
- _dp1(!1)
- });
- window.addEventListener("blur",
- function() {
- _dp1(!0)
- });
- window.addEventListener("click",
- function() {
- _dp1(!1)
- })
- }
- }
- function _MH1() {
- if (_IH1) {
- _qL = !0;
- _IH1 = !1
- } else if (_qL) {
- _qL = !1;
- if (_JH1) {
- _Ro1 = !0
- }
- }
- }
- function _NH1() {
- var _Iy, _H3;
- var _Jg = null;
- if (_H8._Kg) {
- _Jg = _H8._Mg
- }
- var _3i = _H8._Fy._3i;
- for (var _OH1 = 0; _OH1 < _3i.length; _OH1++) {
- var _Zi = _3i[_OH1];
- var _Oy = _Zi._Oy;
- if (!_Zi._uy) {
- if (_Oy._PH1[_QH1]) {
- if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) {
- _Iy = _Zi._SH1();
- if ((_Iy._q9 < 0) || (_Iy.left > _H8._DH1()) || (_Iy.bottom < 0) || (_Iy.top > _H8._DR())) {
- _Zi._g9(_QH1, _TH1, _Zi, _Zi)
- }
- } else {
- if ((_Zi._f3 < 0) || (_Zi._f3 > _H8._DH1()) || (_Zi._g3 < 0) || (_Zi._g3 > _H8._DR())) {
- _Zi._g9(_QH1, _TH1, _Zi, _Zi)
- }
- }
- }
- if (_Oy._PH1[_UH1]) {
- if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) {
- _Iy = _Zi._SH1();
- if ((_Iy.left < 0) || (_Iy._q9 > _H8._DH1()) || (_Iy.top < 0) || (_Iy.bottom > _H8._DR())) {
- _Zi._g9(_UH1, _TH1, _Zi, _Zi)
- }
- } else {
- if ((_Zi._f3 < 0) || (_Zi._f3 > _H8._DH1()) || (_Zi._g3 < 0) || (_Zi._g3 > _H8._DR())) {
- _Zi._g9(_UH1, _TH1, _Zi, _Zi)
- }
- }
- }
- for (_H3 in _Jg) {
- if (!_Jg.hasOwnProperty(_H3)) continue;
- var _VH1 = parseInt(_H3);
- var _WH1 = _Jg[_H3];
- if (_WH1._Q3) {
- var _XH1 = _WH1._jH;
- var _YH1 = _WH1._kH;
- var _ZH1 = _WH1._jH + _WH1._lH;
- var __H1 = _WH1._kH + _WH1._mH;
- if (_Oy._PH1[_0I1 + _VH1]) {
- if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) {
- _Iy = _Zi._SH1();
- if ((_Iy._q9 < _XH1) || (_Iy.left > _ZH1) || (_Iy.bottom < _YH1) || (_Iy.top > __H1)) {
- _Zi._g9(_0I1 + _VH1, _TH1, _Zi, _Zi)
- }
- } else {
- if ((_Zi._f3 < _XH1) || (_Zi._f3 > _ZH1) || (_Zi._g3 < _YH1) || (_Zi._g3 > __H1)) {
- _Zi._g9(_0I1 + _VH1, _TH1, _Zi, _Zi)
- }
- }
- }
- if (_Oy._PH1[_1I1 + _VH1]) {
- if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) {
- _Iy = _Zi._SH1();
- if ((_Iy.left < _XH1) || (_Iy._q9 > _ZH1) || (_Iy.top < _YH1) || (_Iy.bottom > __H1)) {
- _Zi._g9(_1I1 + _VH1, _TH1, _Zi, _Zi)
- }
- } else {
- if ((_Zi._f3 < _XH1) || (_Zi._f3 > _ZH1) || (_Zi._g3 < _YH1) || (_Zi._g3 > __H1)) {
- _Zi._g9(_1I1 + _VH1, _TH1, _Zi, _Zi)
- }
- }
- }
- }
- }
- }
- }
- }
- function _2I1() {
- for (var _Bv1 in _Cv1) {
- if (!_Cv1.hasOwnProperty(_Bv1)) continue;
- var _3I1 = _Ys._Gh(_Bv1);
- var _4I1 = _3I1._AD();
- for (var _av1 = 0; _av1 < _4I1.length; _av1++) {
- var _5I1 = _4I1[_av1];
- if (!_5I1._uy && _5I1._HY) {
- var _6I1 = _Cv1[_Bv1];
- for (var _7I1 in _6I1) {
- if (!_6I1.hasOwnProperty(_7I1)) continue;
- var _u81 = _6I1[_7I1];
- var _8I1 = _Ys._Gh(_u81);
- var _9I1 = _8I1._AD();
- for (var _bv1 = 0; _bv1 < _9I1.length; _bv1++) {
- var _aI1 = _9I1[_bv1];
- if (!_aI1._uy && _aI1._HY) {
- if ((_5I1._Oy == _aI1._Oy) && (_bv1 < _av1)) continue;
- if (_5I1._zy(_aI1, !0)) {
- if ((_5I1._SA) || (_aI1._SA)) {
- _5I1._f3 = _5I1._bI1;
- _5I1._g3 = _5I1._cI1;
- _5I1._Gy = !0;
- _5I1._dI1 = _5I1._eI1;
- _aI1._f3 = _aI1._bI1;
- _aI1._g3 = _aI1._cI1;
- _aI1._Gy = !0;
- _aI1._dI1 = _aI1._eI1
- }
- _5I1._g9(_jv1, _u81, _5I1, _aI1);
- _aI1._g9(_jv1, _Bv1, _aI1, _5I1);
- if ((_5I1._SA) || (_aI1._SA)) {
- _5I1._Xu1();
- _aI1._Xu1();
- _5I1._te(_5I1._f3 + _5I1._H7, _5I1._g3 + _5I1._G7);
- _aI1._te(_aI1._f3 + _aI1._H7, _aI1._g3 + _aI1._G7);
- if (_5I1._zy(_aI1, !0) === !0) {
- _5I1._f3 = _5I1._bI1;
- _5I1._g3 = _5I1._cI1;
- _5I1._Gy = !0;
- _5I1._dI1 = _5I1._eI1;
- _aI1._f3 = _aI1._bI1;
- _aI1._g3 = _aI1._cI1;
- _aI1._Gy = !0;
- _aI1._dI1 = _aI1._eI1
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- function _fI1() {
- if (_H8) {
- var _Jg, _Dk;
- if (!_H8._Kg) {
- _Jg = _Lg
- } else {
- _Jg = _H8._Mg
- }
- for (var _xb = 0; _xb < _Jg.length; _xb++) {
- _Ng = _Jg[_xb];
- if (_Ng._Q3) {
- _Og(canvas, _Pg);
- if (((_dh._gI1 - _Pg.left) >= _Ng._Qg) && ((_dh._gI1 - _Pg.left) < _Ng._Rg) && ((_dh._hI1 - _Pg.top) >= _Ng._Sg) && ((_dh._hI1 - _Pg.top) < _Ng._Tg)) {
- var _0a = _w6._h7;
- var _2a = _w6._lL;
- var _iI1 = _Ys._RA();
- for (var _4s = 0; _4s < _iI1.length; _4s++) {
- var _li = _iI1[_4s];
- var _jI1 = _li._PH1;
- if (_jI1[_kI1] || _jI1[_lI1] || _jI1[_mI1] || _jI1[_nI1] || _jI1[_oI1] || _jI1[_pI1] || _jI1[_qI1] || _jI1[_rI1] || _jI1[_sI1] || _jI1[_tI1] || _jI1[_uI1] || _jI1[_vI1] || _jI1[_wI1] || _jI1[_xI1]) {
- if (_li._yI1.length > 0) {
- var _zI1 = _li._yI1._3i.slice(0);
- for (var _H3 = _zI1.length - 1; _H3 >= 0; _H3--) {
- var _Ay = _zI1[_H3];
- if (!_Ay._uy) {
- {
- if (_Ay._Gy) _Ay._Hy();
- if (_Ay._AI1(_0a, _2a, !0)) {
- var _BI1 = !0;
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._nf[_Dk]) {
- if (_jI1[_kI1 + _Dk]) {
- _Ay._g9(_kI1 + _Dk, 0, _Ay, _Ay)
- }
- _BI1 = !1
- }
- }
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._if[_Dk] === 1) {
- if (_jI1[_nI1 + _Dk]) {
- _Ay._g9(_nI1 + _Dk, 0, _Ay, _Ay)
- }
- _BI1 = !1
- }
- }
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._mf[_Dk] === 1) {
- if (_jI1[_qI1 + _Dk]) {
- _Ay._g9(_qI1 + _Dk, 0, _Ay, _Ay)
- }
- }
- }
- if (_BI1) {
- _Ay._g9(_tI1, 0, _Ay, _Ay)
- }
- if (!_Ay._CI1) {
- _Ay._g9(_uI1, 0, _Ay, _Ay);
- _Ay._CI1 = !0
- }
- } else {
- if (_Ay._CI1) {
- _Ay._g9(_vI1, 0, _Ay, _Ay);
- _Ay._CI1 = !1
- }
- }
- }
- }
- }
- }
- }
- }
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._nf[_Dk]) {
- _dy._g9(_DI1 + _Dk, 0)
- }
- }
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._if[_Dk] === 1) {
- _dy._g9(_EI1 + _Dk, 0)
- }
- }
- for (_Dk = 0; _Dk < 3; _Dk++) {
- if (_dh._mf[_Dk] === 1) {
- _dy._g9(_FI1 + _Dk, 0)
- }
- }
- if (_GI1) {
- _dy._g9(_wI1, 0)
- }
- if (_HI1) {
- _dy._g9(_xI1, 0)
- }
- }
- }
- }
- }
- }
- function _II1() {
- var _Hb, _Ib, __9;
- var _3i = _H8._Fy._3i;
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- var _Ay = _3i[_Zi];
- if (!_Ay._uy && (_Ay._JI1 >= 0)) {
- if (!_Ay._KI1) {
- var _ot = _pt._Gh(_Ay._JI1);
- if ((_ot !== null) && (_ot !== undefined)) {
- if (_Ay._LI1 > 0) {
- _Hb = _ot._MI1(_Ay._NI1);
- _Ay._NI1 += _Ay._LI1;
- _Ib = _ot._MI1(_Ay._NI1);
- for (__9 = _Hb; __9 < _Ib; __9++) {
- _kt(_Ay, _Ay, _Ay._JI1, __9)
- }
- if (_Ay._OI1 && (_Ay._NI1 > _ot._PI1())) {
- _Ay._NI1 = 0
- }
- } else {
- _Hb = _ot._QI1(_Ay._NI1);
- _Ay._NI1 += _Ay._LI1;
- _Ib = _ot._QI1(_Ay._NI1);
- for (__9 = _Hb; __9 > _Ib; __9--) {
- _kt(_Ay, _Ay, _Ay._JI1, __9)
- }
- if (_Ay._OI1 && (_Ay._NI1 < 0)) {
- _Ay._NI1 = _ot._PI1()
- }
- }
- }
- }
- }
- }
- }
- function _RI1() {
- var _3i = _H8._Fy._3i;
- for (var _Zi = 0; _Zi < _3i.length; _Zi++) {
- var _Ay = _3i[_Zi];
- if (!_Ay._uy) {
- for (var _kb = 0; _kb < _SI1; _kb++) {
- var event = _TI1 | (_kb + 1);
- var _li = _Ay._Oy;
- if (_li._PH1[event]) {
- var _UI1;
- _UI1 = ~~ (_Ay._47[_kb]);
- if (_UI1 >= 0) {
- _UI1--;
- _Ay._47[_kb] = _UI1
- }
- if (_UI1 === 0) {
- _Ay._g9(_TI1 | (_kb + 1), 0, _Ay, _Ay)
- }
- }
- }
- }
- }
- } (function(window) {
- if (!Object.defineProperty) {
- throw ("Font.js requires Object.defineProperty, which this browser does not support.")
- }
- if (!document.createElement("canvas").getContext) {
- throw ("Font.js requires <canvas> and the Canvas2D API, which this browser does not support.")
- } (function(window) {
- try {
- var _kb = new Uint8Array(1);
- return
- } catch(e) {}
- function subarray(start, end) {
- return this.slice(start, end)
- }
- function _VI1(_WI1, _L3) {
- var _H3, _C9 = _WI1.length;
- if (arguments.length < 2) {
- _L3 = 0
- }
- for (_H3 = 0; _H3 < _C9; ++_H3, ++_L3) {
- this[_L3] = _WI1[_H3] & 0xFF
- }
- }
- function _XI1(_YI1) {
- var _8j, _H3;
- if (typeof _YI1 === "number") {
- _8j = new Array(_YI1);
- for (_H3 = 0; _H3 < _YI1; ++_H3) {
- _8j[_H3] = 0
- }
- } else {
- _8j = _YI1.slice(0)
- }
- _8j.subarray = subarray;
- _8j.buffer = _8j;
- _8j.byteLength = _8j.length;
- _8j.set = _VI1;
- if (typeof _YI1 === "object" && _YI1.buffer) {
- _8j.buffer = _YI1.buffer
- }
- return _8j
- }
- window.Uint8Array = _XI1;
- window.Uint32Array = _XI1;
- window.Int32Array = _XI1
- } (window)); (function(window) {
- if (window.opera) return;
- if ("response" in XMLHttpRequest.prototype || "mozResponseArrayBuffer" in XMLHttpRequest.prototype || "mozResponse" in XMLHttpRequest.prototype || "responseArrayBuffer" in XMLHttpRequest.prototype) {
- return
- }
- var getter;
- if (window._ZI1) {
- getter = function() {
- return new Uint8Array(new _ZI1(this.__I1)._0J1())
- }
- } else {
- getter = function() {
- return this.__I1
- }
- }
- Object.defineProperty(XMLHttpRequest.prototype, "response", {
- get: getter
- })
- } (window));
- if (!window._kC1) {
- window._kC1 = function(data) {
- var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
- var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt, _H3 = 0,
- _Kt = 0,
- _1J1 = "",
- _Mt = [];
- if (!data) {
- return data
- }
- do {
- _Ct = data.charCodeAt(_H3++);
- _Dt = data.charCodeAt(_H3++);
- _Et = data.charCodeAt(_H3++);
- _Jt = _Ct << 16 | _Dt << 8 | _Et;
- _Ft = _Jt >> 18 & 0x3f;
- _Gt = _Jt >> 12 & 0x3f;
- _Ht = _Jt >> 6 & 0x3f;
- _It = _Jt & 0x3f;
- _Mt[_Kt++] = _Bt.charAt(_Ft) + _Bt.charAt(_Gt) + _Bt.charAt(_Ht) + _Bt.charAt(_It)
- } while ( _H3 < data . length );
- _1J1 = _Mt.join('');
- var _T9 = data.length % 3;
- return (_T9 ? _1J1.slice(0, _T9 - 3) : _1J1) + '==='.slice(_T9 || 3)
- }
- }
- function _Ks() {
- this._Ms = "fjs" + (999999 * Math.random() | 0)
- }
- _Ks.prototype._dr = "";
- _Ks.prototype._zA1 = "";
- _Ks.prototype.data = "";
- _Ks.prototype._2J1 = "AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA" + "AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA" + "AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA" + "AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA" + "BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs" + "AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA" + "AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA" + "AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A" + "AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg" + "AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB" + "AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC" + "QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA" + "AAAA==";
- _Ks.prototype._3J1 = {
- _4J1: 0,
- _5J1: 0,
- _6J1: 0,
- _7J1: 0,
- _8J1: 400
- };
- _Ks.prototype._9J1 = !1;
- _Ks.prototype._Is = !1;
- _Ks.prototype.onload = function() {};
- _Ks.prototype.onerror = function() {};
- _Ks.prototype.canvas = !1;
- _Ks.prototype.context = !1;
- _Ks.prototype._aJ1 = function(target, _l41, _bJ1, font, _cJ1) {
- if (_cJ1 !== !1 && _cJ1 < 0) {
- this.onerror("Requested system font '" + this._Ms + "' could not be loaded (it may not be installed).");
- return
- }
- var _dJ1 = document._eJ1.getComputedStyle(target, '');
- var width = _dJ1.getPropertyValue("width").replace("px", '');
- if (width > 0) {
- document._fJ1.removeChild(_l41);
- document.body.removeChild(target);
- this._Is = !0;
- this.onload()
- } else {
- setTimeout(function() {
- font._aJ1(target, _l41, _bJ1, font, _cJ1 === !1 ? !1 : _cJ1 - 50)
- },
- 50)
- }
- };
- _Ks.prototype._gJ1 = function() {
- var _Fg1 = this;
- var _Nq = function(_cf) {
- return String.fromCharCode(_cf)
- };
- var _hJ1 = function(_cf) {
- if (_cf < 256) {
- return _Nq(0) + _Nq(_cf)
- }
- var _gt = _cf >> 8;
- var _ht = _cf & 0xFF;
- return _Nq(_gt) + _Nq(_ht)
- };
- var _iJ1 = function(_cf) {
- if (_cf < 0) {
- _cf = 0xFFFFFFFF + _cf + 1
- }
- return parseInt(_cf, 10).toString(16);
- };
- var _jJ1 = function(_gt, _ht) {
- return 256 * _gt + _ht
- };
- var _kJ1 = function(_gt, _ht) {
- var _lJ1 = _gt >> 7 === 1,
- _cf;
- _gt = _gt & 0x7F;
- _cf = 256 * _gt + _ht;
- if (!_lJ1) {
- return _cf
- }
- return _cf - 0x8000
- };
- var _mJ1 = function(_gt, _ht, _nJ1, _oJ1) {
- return 16777216 * _gt + 65536 * _ht + 256 * _nJ1 + _oJ1
- };
- var error = function(_Wg) {
- _Fg1.onerror(_Wg)
- };
- var _pJ1 = _Nq(0) + _Nq(1) + _Nq(0) + _Nq(0);
- var _qJ1 = "OTTO";
- var data = this.data;
- var version = _Nq(data[0]) + _Nq(data[1]) + _Nq(data[2]) + _Nq(data[3]);
- var _rJ1 = (version === _pJ1);
- var _sJ1 = (_rJ1 ? !1 : version === _qJ1);
- if (_rJ1) {
- this._zA1 = "truetype";
- } else if (_sJ1) {
- this._zA1 = "opentype"
- } else {
- error("Error: file at " + this._dr + " cannot be interpreted as OpenType font.");
- return
- }
- var _tJ1 = _jJ1(data[4], data[5]),
- _uJ1 = 12,
- _vJ1,
- end = _uJ1 + 16 * _tJ1,
- _wJ1 = {},
- _X31;
- for (_vJ1 = _uJ1; _vJ1 < end; _vJ1 += 16) {
- _X31 = _Nq(data[_vJ1]) + _Nq(data[_vJ1 + 1]) + _Nq(data[_vJ1 + 2]) + _Nq(data[_vJ1 + 3]);
- _wJ1[_X31] = {
- name: _X31,
- _xJ1: _mJ1(data[_vJ1 + 4], data[_vJ1 + 5], data[_vJ1 + 6], data[_vJ1 + 7]),
- _L3: _mJ1(data[_vJ1 + 8], data[_vJ1 + 9], data[_vJ1 + 10], data[_vJ1 + 11]),
- length: _mJ1(data[_vJ1 + 12], data[_vJ1 + 13], data[_vJ1 + 14], data[_vJ1 + 15])
- }
- }
- var _yJ1 = function(_X31) {
- if (!_wJ1[_X31]) {
- error("Error: font is missing the required OpenType '" + _X31 + "' table.");
- return ! 1
- }
- return _X31
- };
- _X31 = _yJ1("head");
- if (_X31 === !1) {
- return
- }
- _vJ1 = _wJ1[_X31]._L3;
- _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1] + data[_vJ1 + 2] + data[_vJ1 + 3];
- var _zJ1 = _jJ1(data[_vJ1 + 18], data[_vJ1 + 19]);
- this._3J1._4J1 = _zJ1;
- _X31 = _yJ1("hhea");
- if (_X31 === !1) {
- return
- }
- _vJ1 = _wJ1[_X31]._L3;
- _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1] + data[_vJ1 + 2] + data[_vJ1 + 3];
- this._3J1._6J1 = _kJ1(data[_vJ1 + 4], data[_vJ1 + 5]) / _zJ1;
- this._3J1._7J1 = _kJ1(data[_vJ1 + 6], data[_vJ1 + 7]) / _zJ1;
- this._3J1._5J1 = _kJ1(data[_vJ1 + 8], data[_vJ1 + 9]) / _zJ1;
- _X31 = _yJ1("OS/2");
- if (_X31 === !1) {
- return
- }
- _vJ1 = _wJ1[_X31]._L3;
- _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1];
- this._3J1._8J1 = _jJ1(data[_vJ1 + 4], data[_vJ1 + 5]);
- _X31 = _yJ1("cmap");
- if (_X31 === !1) {
- return
- }
- _vJ1 = _wJ1[_X31]._L3;
- _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1];
- _tJ1 = _jJ1(data[_vJ1 + 2], data[_vJ1 + 3]);
- var _AJ1, _BJ1, _CJ1, _DJ1, _L3, _EJ1 = !1;
- for (_AJ1 = 0; _AJ1 < _tJ1; _AJ1++) {
- _BJ1 = _vJ1 + 4 + _AJ1 * 8;
- _CJ1 = _jJ1(data[_BJ1], data[_BJ1 + 1]);
- _DJ1 = _jJ1(data[_BJ1 + 2], data[_BJ1 + 3]);
- _L3 = _mJ1(data[_BJ1 + 4], data[_BJ1 + 5], data[_BJ1 + 6], data[_BJ1 + 7]);
- if (_CJ1 === 3 && _DJ1 === 1) {
- _EJ1 = _L3
- }
- }
- var _FJ1 = "A";
- this._GJ1 = [];
- if (_EJ1 !== !1) {
- _vJ1 += _EJ1;
- version = _jJ1(data[_vJ1], data[_vJ1 + 1]);
- if (version === 4) {
- var _HJ1 = _jJ1(data[_vJ1 + 6], data[_vJ1 + 7]) / 2;
- var _IJ1 = function(_Nq) {
- return [0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x0020, 0x0085, 0x00A0, 0x1680, 0x180E, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x2028, 0x2029, 0x202F, 0x205F, 0x3000].indexOf(_Nq) === -1
- };
- var _H3 = _vJ1 + 14,
- e = _vJ1 + 14 + 2 * _HJ1,
- _JJ1 = !1;
- for (; _H3 < e; _H3 += 2) {
- _JJ1 = _jJ1(data[_H3], data[_H3 + 1]);
- if (_IJ1(_JJ1)) {
- break
- }
- _JJ1 = !1
- }
- var _9q = e + 2;
- for (; _H3 < e; _H3 += 2, _9q += 2) {
- var _KJ1 = _jJ1(data[_H3], data[_H3 + 1]);
- var _LJ1 = _jJ1(data[_9q], data[_9q + 1]);
- if (_KJ1 != 0xffff) {
- for (var _C9 = _LJ1; _C9 <= _KJ1; ++_C9) {
- this._GJ1.push(_C9)
- }
- }
- }
- if (_JJ1 !== !1) {
- _FJ1 = String.fromCharCode(_JJ1);
- var _uy1 = -(_JJ1 - 1) + 65536;
- var _MJ1 = _kC1(_Nq(0) + _hJ1(_JJ1) + _hJ1(0xFFFF) + _hJ1(0) + _hJ1(_JJ1) + _hJ1(0xFFFF) + _hJ1(_uy1) + _hJ1(1));
- this._2J1 = this._2J1.substring(0, 380) + _MJ1 + this._2J1.substring(380 + _MJ1.length)
- }
- }
- }
- this._NJ1(_FJ1, !1)
- };
- _Ks.prototype._NJ1 = function(_FJ1, _cJ1) {
- var _OJ1 = this._Ms + " testfont";
- var _PJ1 = document.createElement("style");
- _PJ1.setAttribute("type", "text/css");
- _PJ1.innerHTML = "@font-face {\n" + " font-family: '" + _OJ1 + "';\n" + " src: url('data:application/x-font-ttf;base64," + this._2J1 + "')\n" + " format('truetype');}";
- document._fJ1.appendChild(_PJ1);
- var _QJ1 = !1;
- if (!this._9J1) {
- _QJ1 = this._RJ1();
- document._fJ1.appendChild(_QJ1);
- }
- var _SJ1 = document.createElement("p");
- _SJ1.style.cssText = "position: absolute; top: 0; left: 0; opacity: 0;";
- _SJ1.style._Ms = "'" + this._Ms + "', '" + _OJ1 + "'";
- _SJ1.innerHTML = _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1;
- document.body.appendChild(_SJ1);
- if (!document._eJ1.getComputedStyle) {
- this.onload();
- error("Error: document.defaultView.getComputedStyle is not supported by this browser.\n" + "Consequently, Font.onload() cannot be trusted.")
- } else {
- var _TJ1 = this._9J1 ? 1000 : this._3J1._4J1;
- var canvas = document.createElement("canvas");
- canvas.width = _TJ1;
- canvas.height = _TJ1;
- this.canvas = canvas;
- var context = canvas.getContext("2d");
- context.font = "1em '" + this._Ms + "'";
- context.fillStyle = "white";
- context.fillRect( - 1, -1, _TJ1 + 2, _TJ1 + 2);
- context.fillStyle = "black";
- context.fillText("test text", 50, _TJ1 / 2);
- this.context = context;
- var _UJ1 = this;
- var _VJ1 = function() {
- _UJ1._aJ1(_SJ1, _PJ1, _QJ1, _UJ1, _cJ1)
- };
- setTimeout(_VJ1, 50)
- }
- };
- _Ks.prototype._WJ1 = function() {
- this._9J1 = !0;
- this._3J1 = !1;
- this._NJ1("A", 1000)
- };
- _Ks.prototype._XJ1 = function() {
- var font = this;
- if (this._dr.indexOf(".") === -1) {
- setTimeout(function() {
- font._WJ1()
- },
- 10);
- return
- }
- var _er = new XMLHttpRequest();
- _er.open('GET', font._dr, !0);
- _er.responseType = "arraybuffer";
- _er.onload = function(_YJ1) {
- var _ZJ1 = _er.response;
- if (_ZJ1) {
- font.data = new Uint8Array(_ZJ1);
- font._gJ1()
- } else {
- font.onerror("Error downloading font resource from " + font._dr)
- }
- };
- _er.send(null)
- };
- _Ks.prototype.__J1 = !1;
- _Ks.prototype._RJ1 = function() {
- if (this.__J1) {
- return this.__J1
- }
- this.__J1 = document.createElement("style");
- this.__J1.type = "text/css";
- var _0K1 = "@font-face {\n";
- _0K1 += " font-family: '" + this._Ms + "';\n";
- _0K1 += " src: url('" + this._dr + "') format('" + this._zA1 + "');\n";
- _0K1 += "}";
- this.__J1.innerHTML = _0K1;
- return this.__J1
- };
- _Ks.prototype.measureText = function(_1K1, _2K1) {
- if (!this._Is) {
- error("measureText() was called while the font was not yet loaded");
- return ! 1
- }
- this.context.font = _2K1 + "px '" + this._Ms + "'";
- var _3J1 = this.context.measureText(_1K1);
- _3J1.fontsize = _2K1;
- _3J1._6J1 = 0;
- _3J1._7J1 = 0;
- _3J1._gB1 = {
- _3K1: 0,
- _4K1: _3J1.width,
- _5K1: 0,
- _6K1: 0
- };
- _3J1.height = 0;
- var _7K1 = [],
- _8K1 = _3J1.width / this._3J1._4J1;
- if (_8K1 <= 1) {
- _7K1.push(_1K1)
- } else {
- _7K1.push(_1K1)
- }
- var _9K1 = _7K1.length,
- _H3;
- for (_H3 = 0; _H3 < _9K1; _H3++) {
- this._aK1(_7K1[_H3], _2K1, _3J1)
- }
- return _3J1
- };
- _Ks.prototype._aK1 = function(_bK1, _2K1, _3J1) {
- var _cK1 = function(_ge, _dK1) {
- return document._eJ1.getComputedStyle(_ge, null).getPropertyValue(_dK1)
- };
- var _H3, __9, _eK1, _Xp, _U71;
- var _fK1 = document.createElement("div");
- _fK1.style.position = "absolute";
- _fK1.style.opacity = 0;
- _fK1.style.font = _2K1 + "px '" + this._Ms + "'";
- var _iD1 = 10;
- _fK1.innerHTML = _bK1;
- for (_H3 = 1; _H3 < _iD1; _H3++) {
- _fK1.innerHTML += "<br/>" + _bK1;
- }
- document.body.appendChild(_fK1);
- _3J1._5J1 = 1.2 * _2K1;
- var _gK1 = _cK1(_fK1, "height");
- _gK1 = _gK1.replace("px", "");
- if (_gK1 >= _2K1 * _iD1) {
- _3J1._5J1 = (_gK1 / _iD1) | 0
- }
- document.body.removeChild(_fK1);
- if (/^_hK1*$/.test(_bK1)) {
- return _3J1
- }
- var canvas = this.canvas,
- _Jb = this.context,
- _TJ1 = this._9J1 ? 1000 : this._3J1._4J1,
- _J3 = _TJ1,
- _K3 = _TJ1,
- _iK1 = _TJ1 / 2,
- padding = 50,
- _jK1 = (_TJ1 - _3J1.width) / 2;
- if (_jK1 !== (_jK1 | 0)) {
- _jK1 = _jK1 | 0
- }
- _Jb.fillStyle = "white";
- _Jb.fillRect( - padding, -padding, _J3 + 2 * padding, _K3 + 2 * padding);
- _Jb.fillStyle = "black";
- _Jb.fillText(_bK1, _jK1, _iK1);
- var _kK1 = (_3J1.width + padding) | 0,
- _lK1 = 4 * _2K1,
- _mK1 = _jK1 - padding / 2,
- _nK1 = _iK1 - _lK1 / 2,
- _4k1 = _Jb.getImageData(_mK1, _nK1, _kK1, _lK1).data;
- _H3 = 0;
- __9 = 0;
- _eK1 = _kK1 * 4;
- _Xp = _4k1.length;
- _U71 = _lK1 / 2;
- while (++_H3 < _Xp && _4k1[_H3] === 255) {}
- var _6J1 = (_H3 / _eK1) | 0;
- _H3 = _Xp - 1;
- while (--_H3 > 0 && _4k1[_H3] === 255) {}
- var _7J1 = (_H3 / _eK1) | 0;
- for (_H3 = 0, __9 = 0; __9 < _kK1 && _4k1[_H3] === 255;) {
- _H3 += _eK1;
- if (_H3 >= _Xp) {
- __9++;
- _H3 = (_H3 - _Xp) + 4
- }
- }
- var _3K1 = __9;
- var _ML = 1;
- for (_H3 = _Xp - 3, __9 = 0; __9 < _kK1 && _4k1[_H3] === 255;) {
- _H3 -= _eK1;
- if (_H3 < 0) {
- __9++;
- _H3 = (_Xp - 3) - (_ML++) * 4
- }
- }
- var _4K1 = _kK1 - __9;
- _3J1._6J1 = (_U71 - _6J1);
- _3J1._7J1 = (_7J1 - _U71);
- _3J1._gB1 = {
- _3K1: _3K1 - (padding / 2),
- _4K1: _4K1 - (padding / 2),
- _5K1: -_3J1._7J1,
- _6K1: _3J1._6J1
- };
- _3J1.height = 1 + (_7J1 - _6J1);
- return _3J1
- };
- Object.defineProperty(_Ks.prototype, "src", {
- set: function(_dr) {
- this._dr = _dr;
- this._XJ1()
- }
- });
- window._Ks = _Ks
- } (window));
- function _oK1() {}
- var _Y9 = 3.14159265,
- _pK1 = !0,
- _qK1 = !1,
- _DF = !0,
- _rJ = 0,
- _rK1 = -1,
- _sK1 = 0,
- _tK1 = 1,
- _uK1 = 2,
- _yz = 0,
- _vK1 = -1,
- _wK1 = 0,
- _zz = 1,
- _xK1 = 2,
- _yK1 = 3,
- _zK1 = 4,
- _AK1 = 5,
- _BK1 = 6,
- _CK1 = 7,
- _gp1 = 8,
- _DK1 = 9,
- _EK1 = 10,
- _FK1 = 0,
- _wK1 = -1,
- _GK1 = 0,
- _HK1 = 0,
- _IK1 = 1,
- _JK1 = 2,
- _KK1 = 3,
- _LK1 = 4,
- _MK1 = 5,
- _NK1 = 6,
- _OK1 = 7,
- _PK1 = 8,
- _QK1 = 9,
- _uJ = 0,
- _RK1 = -1,
- _QD = -100,
- _SK1 = -200,
- _TK1 = -300,
- _UK1 = -400,
- _wD = -1,
- _VK1 = -2,
- _fA = -3,
- _xy = -4,
- _WK1 = -5,
- _XK1 = -7,
- _YK1 = -6,
- _0j = 0x000,
- _By = 0x100,
- _TI1 = 0x200,
- _ZK1 = 0x300,
- _jv1 = 0x400,
- __K1 = 0x500,
- _0L1 = 0x600,
- _TH1 = 0x700,
- _1L1 = 0x800,
- _2L1 = 0x900,
- _3L1 = 0xA00,
- _4L1 = 0xB00,
- _5L1 = _ZK1 | 1,
- _6L1 = _ZK1 | 2,
- _7L1 = _ZK1 | 3,
- _QH1 = _TH1 | 1,
- _UH1 = _TH1 | 2,
- _8L1 = _TH1 | 3,
- _9L1 = _TH1 | 4,
- _aL1 = _TH1 | 5,
- _bL1 = _TH1 | 6,
- _cL1 = _TH1 | 7,
- _dL1 = _TH1 | 8,
- _Yu1 = _TH1 | 9,
- _eL1 = _TH1 | 10,
- _fL1 = _TH1 | 11,
- _gL1 = _TH1 | 14,
- _hL1 = _TH1 | 15,
- _iL1 = _TH1 | 16,
- _jL1 = _TH1 | 17,
- _kL1 = _TH1 | 18,
- _lL1 = _TH1 | 19,
- _mL1 = _TH1 | 20,
- _nL1 = _TH1 | 21,
- _oL1 = _TH1 | 22,
- _pL1 = _TH1 | 23,
- _qL1 = _TH1 | 24,
- _rL1 = _TH1 | 25,
- _sL1 = _TH1 | 26,
- _tL1 = _TH1 | 27,
- _uL1 = _TH1 | 28,
- _vL1 = _TH1 | 29,
- _0I1 = _TH1 | 30,
- _wL1 = _TH1 | 31,
- _xL1 = _TH1 | 32,
- _yL1 = _TH1 | 33,
- _zL1 = _TH1 | 34,
- _AL1 = _TH1 | 35,
- _BL1 = _TH1 | 36,
- _CL1 = _TH1 | 37,
- _1I1 = _TH1 | 40,
- _DL1 = _TH1 | 41,
- _EL1 = _TH1 | 42,
- _FL1 = _TH1 | 43,
- _GL1 = _TH1 | 44,
- _HL1 = _TH1 | 45,
- _IL1 = _TH1 | 46,
- _JL1 = _TH1 | 47,
- _h9 = _TH1 | 58;
- _KL1 = _TH1 | 60,
- _LL1 = _TH1 | 61,
- _ML1 = _TH1 | 62,
- _NL1 = _TH1 | 63,
- _OL1 = _1L1 | 64,
- _PL1 = _1L1 | 65,
- _QL1 = _1L1 | 72,
- _RL1 = _1L1 | 73,
- _SL1 = _1L1 | 74,
- _TL1 = _1L1 | 75,
- _UL1 = _1L1 | 76,
- _VL1 = _1L1 | 77,
- _ey = _TH1 | 66,
- _WL1 = _TH1 | 70,
- _vG1 = _TH1 | 71,
- _kI1 = _0L1 | 1,
- _mI1 = _0L1 | 2,
- _lI1 = _0L1 | 3,
- _nI1 = _0L1 | 4,
- _pI1 = _0L1 | 5,
- _oI1 = _0L1 | 6,
- _qI1 = _0L1 | 7,
- _sI1 = _0L1 | 8,
- _rI1 = _0L1 | 9,
- _DI1 = _0L1 | 10,
- _XL1 = _0L1 | 11,
- _YL1 = _0L1 | 12,
- _EI1 = _0L1 | 13,
- _ZL1 = _0L1 | 14,
- __L1 = _0L1 | 15,
- _FI1 = _0L1 | 16,
- _0M1 = _0L1 | 17,
- _1M1 = _0L1 | 18,
- _tI1 = _0L1 | 19,
- _uI1 = _0L1 | 20,
- _vI1 = _0L1 | 21,
- _wI1 = _0L1 | 22,
- _xI1 = _0L1 | 23,
- _2M1 = _TI1 | 1,
- _3M1 = _TI1 | 2,
- _4M1 = _TI1 | 3,
- _5M1 = _TI1 | 4,
- _6M1 = _TI1 | 5,
- _7M1 = _TI1 | 6,
- _8M1 = _TI1 | 7,
- _9M1 = _TI1 | 8,
- _aM1 = _TI1 | 9,
- _bM1 = _TI1 | 10,
- _cM1 = _TI1 | 11,
- _dM1 = _TI1 | 12,
- _eM1 = 0,
- _fM1 = 1,
- _gM1 = 2,
- _hM1 = 3,
- _iM1 = 4,
- _jM1 = 5,
- _kM1 = 6,
- _lM1 = 7,
- _mM1 = 8,
- _nM1 = 9,
- _oM1 = 10,
- _pM1 = 11,
- _qM1 = 0,
- _rM1 = 1,
- _sM1 = 2,
- _tM1 = 3,
- _uM1 = 4,
- _vM1 = 5,
- _wM1 = 6,
- _xM1 = 7,
- _yM1 = 8,
- _zM1 = 9,
- _AM1 = 10,
- _BM1 = 11,
- _CM1 = 16,
- _DM1 = 17,
- _EM1 = 18,
- _FM1 = 19,
- _GM1 = 21,
- _HM1 = 22,
- _IM1 = 23,
- _JM1 = 24,
- _KM1 = 25,
- _LM1 = 26,
- _MM1 = 27,
- _NM1 = 28,
- _OM1 = 31,
- _PM1 = 32,
- _QM1 = 33,
- _RM1 = 34,
- _SM1 = 36,
- _TM1 = 37,
- _UM1 = 38,
- _VM1 = 39,
- _WM1 = 40,
- _XM1 = 41,
- _YM1 = 42,
- _ZM1 = 43,
- __M1 = 50,
- _0N1 = 51,
- _1N1 = 52,
- _2N1 = 53,
- _3N1 = 54,
- _4N1 = 55,
- _5N1 = 56,
- _6N1 = 57,
- _7N1 = 58,
- _8N1 = 60,
- _9N1 = 61,
- _aN1 = 0,
- _bN1 = 1,
- _cN1 = 2,
- _dN1 = 0,
- _eN1 = 1,
- _fN1 = 2,
- _gN1 = 3,
- _hN1 = 4,
- _iN1 = 5,
- _jN1 = 6,
- _kN1 = 7,
- _lN1 = 8,
- _mN1 = 9,
- _nN1 = 30,
- _oN1 = 40,
- _pN1 = 41,
- _qN1 = 42,
- _rN1 = 43,
- _sN1 = 44,
- _tN1 = 45,
- _uN1 = 46,
- _vN1 = 47,
- _wN1 = 50,
- _xN1 = 51,
- _yN1 = 52,
- _zN1 = 53,
- _AN1 = 54,
- _BN1 = 55,
- _CN1 = 56,
- _DN1 = 57,
- _EN1 = 58,
- _FN1 = 10,
- _GN1 = 11,
- _HN1 = 12,
- _IN1 = 13,
- _JN1 = 14,
- _KN1 = 15,
- _LN1 = 16,
- _MN1 = 17,
- _NN1 = 18,
- _ON1 = 19,
- _PN1 = 20,
- _QN1 = 21,
- _RN1 = 22,
- _SN1 = 23,
- _TN1 = 24,
- _UN1 = 25,
- _VN1 = 60,
- _WN1 = 61,
- _XN1 = 64,
- _YN1 = 65,
- _ZN1 = 66,
- __N1 = 70,
- _0O1 = 71,
- _1O1 = _2L1 | 0,
- _2O1 = _2L1 | 1,
- _3O1 = _2L1 | 1,
- _4O1 = _2L1 | 8,
- _5O1 = _2L1 | 9,
- _6O1 = _2L1 | 13,
- _7O1 = _2L1 | 16,
- _8O1 = _2L1 | 17,
- _9O1 = _2L1 | 18,
- _aO1 = _2L1 | 19,
- _bO1 = _2L1 | 27,
- _cO1 = _2L1 | 32,
- _dO1 = _2L1 | 33,
- _eO1 = _2L1 | 34,
- _fO1 = _2L1 | 35,
- _gO1 = _2L1 | 36,
- _hO1 = _2L1 | 37,
- _iO1 = _2L1 | 38,
- _jO1 = _2L1 | 39,
- _kO1 = _2L1 | 40,
- _lO1 = _2L1 | 45,
- _mO1 = _2L1 | 46,
- _nO1 = _2L1 | 48,
- _oO1 = _2L1 | 49,
- _pO1 = _2L1 | 50,
- _qO1 = _2L1 | 51,
- _rO1 = _2L1 | 52,
- _sO1 = _2L1 | 53,
- _tO1 = _2L1 | 54,
- _uO1 = _2L1 | 55,
- _vO1 = _2L1 | 56,
- _wO1 = _2L1 | 57,
- _xO1 = _2L1 | 65,
- _yO1 = _2L1 | 66,
- _zO1 = _2L1 | 67,
- _AO1 = _2L1 | 68,
- _BO1 = _2L1 | 69,
- _CO1 = _2L1 | 70,
- _DO1 = _2L1 | 71,
- _EO1 = _2L1 | 72,
- _FO1 = _2L1 | 73,
- _GO1 = _2L1 | 74,
- _HO1 = _2L1 | 75,
- _IO1 = _2L1 | 76,
- _JO1 = _2L1 | 77,
- _KO1 = _2L1 | 78,
- _LO1 = _2L1 | 79,
- _MO1 = _2L1 | 80,
- _NO1 = _2L1 | 81,
- _OO1 = _2L1 | 82,
- _PO1 = _2L1 | 83,
- _QO1 = _2L1 | 84,
- _RO1 = _2L1 | 85,
- _SO1 = _2L1 | 86,
- _TO1 = _2L1 | 87,
- _UO1 = _2L1 | 88,
- _VO1 = _2L1 | 89,
- _WO1 = _2L1 | 90,
- _XO1 = _2L1 | 112,
- _YO1 = _2L1 | 113,
- _ZO1 = _2L1 | 114,
- __O1 = _2L1 | 115,
- _0P1 = _2L1 | 116,
- _1P1 = _2L1 | 117,
- _2P1 = _2L1 | 118,
- _3P1 = _2L1 | 119,
- _4P1 = _2L1 | 120,
- _5P1 = _2L1 | 121,
- _6P1 = _2L1 | 122,
- _7P1 = _2L1 | 123,
- _8P1 = _2L1 | 145,
- _9P1 = _2L1 | 186,
- _aP1 = _2L1 | 187,
- _bP1 = _2L1 | 188,
- _cP1 = _2L1 | 189,
- _dP1 = _2L1 | 190,
- _eP1 = _2L1 | 191,
- _fP1 = _2L1 | 192,
- _gP1 = _2L1 | 219,
- _hP1 = _2L1 | 220,
- _iP1 = _2L1 | 221,
- _jP1 = _2L1 | 222,
- _kP1 = _2L1 | 223,
- _lP1 = _2L1 | 144,
- _mP1 = _2L1 | 96,
- _nP1 = _2L1 | 97,
- _oP1 = _2L1 | 98,
- _pP1 = _2L1 | 99,
- _qP1 = _2L1 | 100,
- _rP1 = _2L1 | 101,
- _sP1 = _2L1 | 102,
- _tP1 = _2L1 | 103,
- _uP1 = _2L1 | 104,
- _vP1 = _2L1 | 105,
- _wP1 = _2L1 | 106,
- _xP1 = _2L1 | 107,
- _yP1 = _2L1 | 109,
- _zP1 = _2L1 | 110,
- _AP1 = _2L1 | 111,
- _BP1 = __K1 | 0,
- _CP1 = __K1 | 1,
- _DP1 = __K1 | 1,
- _EP1 = __K1 | 8,
- _FP1 = __K1 | 9,
- _GP1 = __K1 | 13,
- _HP1 = __K1 | 16,
- _IP1 = __K1 | 17,
- _JP1 = __K1 | 18,
- _KP1 = __K1 | 19,
- _LP1 = __K1 | 27,
- _MP1 = __K1 | 32,
- _NP1 = __K1 | 33,
- _OP1 = __K1 | 34,
- _PP1 = __K1 | 35,
- _QP1 = __K1 | 36,
- _RP1 = __K1 | 37,
- _SP1 = __K1 | 38,
- _TP1 = __K1 | 39,
- _UP1 = __K1 | 40,
- _VP1 = __K1 | 45,
- _WP1 = __K1 | 46,
- _XP1 = __K1 | 48,
- _YP1 = __K1 | 49,
- _ZP1 = __K1 | 50,
- __P1 = __K1 | 51,
- _0Q1 = __K1 | 52,
- _1Q1 = __K1 | 53,
- _2Q1 = __K1 | 54,
- _3Q1 = __K1 | 55,
- _4Q1 = __K1 | 56,
- _5Q1 = __K1 | 57,
- _6Q1 = __K1 | 65,
- _7Q1 = __K1 | 66,
- _8Q1 = __K1 | 67,
- _9Q1 = __K1 | 68,
- _aQ1 = __K1 | 69,
- _bQ1 = __K1 | 70,
- _cQ1 = __K1 | 71,
- _dQ1 = __K1 | 72,
- _eQ1 = __K1 | 73,
- _fQ1 = __K1 | 74,
- _gQ1 = __K1 | 75,
- _hQ1 = __K1 | 76,
- _iQ1 = __K1 | 77,
- _jQ1 = __K1 | 78,
- _kQ1 = __K1 | 79,
- _lQ1 = __K1 | 80,
- _mQ1 = __K1 | 81,
- _nQ1 = __K1 | 82,
- _oQ1 = __K1 | 83,
- _pQ1 = __K1 | 84,
- _qQ1 = __K1 | 85,
- _rQ1 = __K1 | 86,
- _sQ1 = __K1 | 87,
- _tQ1 = __K1 | 88,
- _uQ1 = __K1 | 89,
- _vQ1 = __K1 | 90,
- _wQ1 = __K1 | 112,
- _xQ1 = __K1 | 113,
- _yQ1 = __K1 | 114,
- _zQ1 = __K1 | 115,
- _AQ1 = __K1 | 116,
- _BQ1 = __K1 | 117,
- _CQ1 = __K1 | 118,
- _DQ1 = __K1 | 119,
- _EQ1 = __K1 | 120,
- _FQ1 = __K1 | 121,
- _GQ1 = __K1 | 122,
- _HQ1 = __K1 | 123,
- _IQ1 = __K1 | 145,
- _JQ1 = __K1 | 186,
- _KQ1 = __K1 | 187,
- _LQ1 = __K1 | 188,
- _MQ1 = __K1 | 189,
- _NQ1 = __K1 | 190,
- _OQ1 = __K1 | 191,
- _PQ1 = __K1 | 192,
- _QQ1 = __K1 | 219,
- _RQ1 = __K1 | 220,
- _SQ1 = __K1 | 221,
- _TQ1 = __K1 | 222,
- _UQ1 = __K1 | 223,
- _VQ1 = __K1 | 144,
- _WQ1 = __K1 | 96,
- _XQ1 = __K1 | 97,
- _YQ1 = __K1 | 98,
- _ZQ1 = __K1 | 99,
- __Q1 = __K1 | 100,
- _0R1 = __K1 | 101,
- _1R1 = __K1 | 102,
- _2R1 = __K1 | 103,
- _3R1 = __K1 | 104,
- _4R1 = __K1 | 105,
- _5R1 = __K1 | 106,
- _6R1 = __K1 | 107,
- _7R1 = __K1 | 109,
- _8R1 = __K1 | 110,
- _9R1 = __K1 | 111,
- _aR1 = _3L1 | 0,
- _bR1 = _3L1 | 1,
- _cR1 = _3L1 | 1,
- _dR1 = _3L1 | 8,
- _eR1 = _3L1 | 9,
- _fR1 = _3L1 | 13,
- _gR1 = _3L1 | 16,
- _hR1 = _3L1 | 17,
- _iR1 = _3L1 | 18,
- _jR1 = _3L1 | 19,
- _kR1 = _3L1 | 27,
- _lR1 = _3L1 | 32,
- _mR1 = _3L1 | 33,
- _nR1 = _3L1 | 34,
- _oR1 = _3L1 | 35,
- _pR1 = _3L1 | 36,
- _qR1 = _3L1 | 37,
- _rR1 = _3L1 | 38,
- _sR1 = _3L1 | 39,
- _tR1 = _3L1 | 40,
- _uR1 = _3L1 | 45,
- _vR1 = _3L1 | 46,
- _wR1 = _3L1 | 48,
- _xR1 = _3L1 | 49,
- _yR1 = _3L1 | 50,
- _zR1 = _3L1 | 51,
- _AR1 = _3L1 | 52,
- _BR1 = _3L1 | 53,
- _CR1 = _3L1 | 54,
- _DR1 = _3L1 | 55,
- _ER1 = _3L1 | 56,
- _FR1 = _3L1 | 57,
- _GR1 = _3L1 | 65,
- _HR1 = _3L1 | 66,
- _IR1 = _3L1 | 67,
- _JR1 = _3L1 | 68,
- _KR1 = _3L1 | 69,
- _LR1 = _3L1 | 70,
- _MR1 = _3L1 | 71,
- _NR1 = _3L1 | 72,
- _OR1 = _3L1 | 73,
- _PR1 = _3L1 | 74,
- _QR1 = _3L1 | 75,
- _RR1 = _3L1 | 76,
- _SR1 = _3L1 | 77,
- _TR1 = _3L1 | 78,
- _UR1 = _3L1 | 79,
- _VR1 = _3L1 | 80,
- _WR1 = _3L1 | 81,
- _XR1 = _3L1 | 82,
- _YR1 = _3L1 | 83,
- _ZR1 = _3L1 | 84,
- __R1 = _3L1 | 85,
- _0S1 = _3L1 | 86,
- _1S1 = _3L1 | 87,
- _2S1 = _3L1 | 88,
- _3S1 = _3L1 | 89,
- _4S1 = _3L1 | 90,
- _5S1 = _3L1 | 112,
- _6S1 = _3L1 | 113,
- _7S1 = _3L1 | 114,
- _8S1 = _3L1 | 115,
- _9S1 = _3L1 | 116,
- _aS1 = _3L1 | 117,
- _bS1 = _3L1 | 118,
- _cS1 = _3L1 | 119,
- _dS1 = _3L1 | 120,
- _eS1 = _3L1 | 121,
- _fS1 = _3L1 | 122,
- _gS1 = _3L1 | 123,
- _hS1 = _3L1 | 145,
- _iS1 = _3L1 | 186,
- _jS1 = _3L1 | 187,
- _kS1 = _3L1 | 188,
- _lS1 = _3L1 | 189,
- _mS1 = _3L1 | 190,
- _nS1 = _3L1 | 191,
- _oS1 = _3L1 | 192,
- _pS1 = _3L1 | 219,
- _qS1 = _3L1 | 220,
- _rS1 = _3L1 | 221,
- _sS1 = _3L1 | 222,
- _tS1 = _3L1 | 223,
- _uS1 = _3L1 | 144,
- _vS1 = _3L1 | 96,
- _wS1 = _3L1 | 97,
- _xS1 = _3L1 | 98,
- _yS1 = _3L1 | 99,
- _zS1 = _3L1 | 100,
- _AS1 = _3L1 | 101,
- _BS1 = _3L1 | 102,
- _CS1 = _3L1 | 103,
- _DS1 = _3L1 | 104,
- _ES1 = _3L1 | 105,
- _FS1 = _3L1 | 106,
- _GS1 = _3L1 | 107,
- _HS1 = _3L1 | 109,
- _IS1 = _3L1 | 110,
- _JS1 = _3L1 | 111,
- _KS1 = 0,
- _LS1 = 1,
- _MS1 = 2,
- _NS1 = [],
- _SI1 = 12,
- _OS1 = 8,
- _PS1 = 8,
- _QS1 = 8,
- _3t = 10,
- _yw = 0x000000,
- _RS1 = 0x000080,
- _SS1 = 0x008000,
- _TS1 = 0x008080,
- _US1 = 0x800000,
- _VS1 = 0x800080,
- _WS1 = 0x808000,
- _XS1 = 0x808080,
- _YS1 = 0xC0C0C0,
- _Zp1 = 0x0000FF,
- _ZS1 = 0x00FF00,
- __S1 = 0x00FFFF,
- __p1 = 0xFF0000,
- _0T1 = 0xFF00FF,
- _1T1 = 0xFFFF00,
- _2T1 = 0xC0C0C0,
- _3T1 = 0x808080,
- _4T1 = 0xFFFFFF,
- _5T1 = 0xC0DCC0,
- _6T1 = 0xF0CAA6,
- _7T1 = 0xF0FBFF,
- _8T1 = 0xA4A0A0,
- _9T1 = -1,
- _aT1 = 0,
- _5h = 1,
- global = null,
- _Ys = null,
- _dy = null,
- _dh = null,
- _FD = null,
- _w6 = null,
- _Yp = null,
- _bT1 = null,
- _cT1 = null,
- _Nj = null,
- _Cv1 = null,
- _GC = null,
- _pt = null,
- _xq = null,
- _dT1 = null,
- _H8 = null,
- _eT1 = null,
- _Lg = null,
- _fT1 = null,
- _gT1 = null,
- _hT1 = null,
- _iT1 = null,
- _Fh = null,
- _jT1 = null,
- _kT1 = null,
- _Vh = null,
- _Hi = null,
- _PA = null,
- _bi = null,
- _Ei = null,
- _Fj = null,
- _lT1 = null,
- _5K = null,
- _5t = null,
- _4t = null,
- _mT1 = null,
- _7t = null,
- _nT1 = null,
- _oT1 = null,
- _pT1 = null,
- _qT1 = null,
- _zp1 = null,
- _Ap1 = null,
- _Ra = null,
- _Rr = null,
- _Pg = null,
- _gH = null,
- _fH = null,
- _hH = null,
- _iH = null,
- _rT1 = null,
- _sT1 = null,
- _tT1 = null,
- _uT1 = null,
- _vT1 = null,
- _wT1 = null,
- _uE = null,
- _vE = null,
- g_WebAudioContext = null,
- _Hq = null,
- _fq = null,
- _xT1 = null,
- _4h = _aT1,
- _yT1 = !0,
- _zT1 = !0,
- _ky = !1,
- _Ro1 = !1,
- _AT1 = !1,
- _GF = !1,
- _FF = !1,
- _vF = !1,
- _Tp = !1,
- _BT1 = !1,
- _8H = !1,
- _CT1 = !1,
- _DT1 = !1,
- _ET1 = !1,
- _FT1 = !1,
- _hq = !1,
- _GT1 = !1,
- _To1 = !1,
- _HT1 = !1,
- _IT1 = 0,
- _LD = 0,
- _JT1 = 0,
- _KT1 = 0,
- _LT1 = 0,
- _MT1 = 0,
- _bI = 0,
- _cI = 0,
- _eI = 0,
- _fI = 0,
- _dI = 0,
- _gI = 0,
- _NT1 = 0,
- _OT1 = 0,
- _PT1 = 0,
- _Ad = 0,
- _Bd = 0,
- _ps = 0,
- _uv = 0,
- _qv = 0,
- _9w = 0,
- _bw = 0,
- _hI = 0,
- _iI = 0,
- _QT1 = 0,
- _RT1 = 0,
- _ST1 = 0,
- _TT1 = 0,
- _UT1 = 0,
- _VT1 = 0,
- _WT1 = 0,
- _XT1 = 0,
- _YT1 = 0,
- _ZT1 = 0,
- _wt = 0,
- _xt = 0,
- _Bp1 = 0,
- __T1 = 0,
- _0U1 = 0,
- _Dz = 0,
- _1U1 = 0,
- _2U1 = 0,
- _3U1 = 0,
- _4U1 = 0,
- _5I = 0,
- _5U1 = 0,
- _Sn = 0,
- _6U1 = 0,
- _7U1 = 0,
- _8U1 = 0,
- _9U1 = 0,
- _aU1 = 0,
- _bU1 = !1,
- _cU1 = -1,
- _dU1 = -1,
- _eU1 = 1,
- _fU1 = 1,
- _gU1 = 0,
- _hU1 = 0,
- _iU1 = 0,
- _jU1 = 0,
- _kU1 = 0,
- _lU1 = 0,
- _mU1 = 0,
- _nU1 = 0,
- _oU1 = 0,
- _pU1 = 0,
- _qU1 = 0,
- _rU1 = 0,
- _sU1 = 0,
- _tU1 = 0,
- _uU1 = 0,
- _vU1 = 0,
- _wU1 = 0,
- _xU1 = 0,
- _yU1 = 0,
- _zU1 = 0,
- _AU1 = 0,
- _BU1 = 0,
- _mH1 = 0,
- _CU1 = 0,
- _DU1 = 0,
- _EU1 = 0,
- _FU1 = 0,
- _GU1 = 0,
- _HU1 = 0,
- _IU1 = 0,
- _JU1 = 0,
- _KU1 = 0,
- _LU1 = [],
- _cq = 'canvas',
- _MU1 = '0123456789ABCDEF';
- function _NU1() {
- var debug = !1;
- if ((_Yp._A5) && (_Yp._A5._B5) && (_Yp._A5._B5 === !0)) {
- debug = !0
- }
- if (!debug) {
- _Vy = _Jy;
- _x7 = _OU1;
- _Ph = _Rh;
- _Ah = _Hh;
- _Ih = _Kh;
- _Lh = _Oh
- } else {
- _Vy = _Ty;
- _x7 = _PU1;
- _Ph = _Qh;
- _Ah = _Bh;
- _Ih = _Jh;
- _Lh = _Mh
- }
- }
- function _QU1() {
- _LU1 = [];
- var _RU1 = ~~0xEDB88320;
- for (var _H3 = 0; _H3 < 256; ++_H3) {
- var _SU1 = ~~_H3;
- for (var __9 = 8; __9 > 0; --__9) {
- if ((_SU1 & 1) !== 0) {
- _SU1 = ((_SU1 >> 1) & 0x7fffffff) ^ _RU1
- } else {
- _SU1 >>= 1;
- _SU1 &= 0x7fffffff
- }
- }
- _LU1[_H3] = _SU1
- }
- }
- function _TU1() {
- _QU1();
- _UU1();
- if (_4h != _9T1) {
- try {
- var _VU1 = new Audio();
- _VU1.controls = !1;
- _GF = !!_VU1.canPlayType && _VU1.canPlayType('audio/mpeg') !== "";
- _FF = !!_VU1.canPlayType && _VU1.canPlayType('audio/ogg; codecs="vorbis"') !== "";
- _VU1 = null
- } catch(e) {
- _GF = !1;
- _FF = !1
- }
- }
- if (_GF) debug("Browser CAN play MP3");
- if (_FF) debug("Browser CAN play OGG");
- _NU1();
- _xT1 = _IT1 = 0;
- _H8 = null;
- _Ro1 = !1;
- _LD = -1;
- _hH = new _WU1();
- _eT1 = new _WU1();
- _XU1 = new _WU1();
- _iH = new _WU1();
- _gH = new _Iq();
- _fH = new _Iq();
- _eT1._Q3 = !0;
- _XU1._Q3 = !0;
- _Lg = [];
- _Lg[0] = _eT1;
- _gT1 = [];
- _hT1 = [];
- _iT1 = [];
- _Fh = new _LC(5);
- _jT1 = new _LC(5);
- _kT1 = new _LC(5);
- _Vh = new _LC(5);
- _Hi = new _LC(5);
- _PA = new _LC(5);
- _bi = new _LC(5);
- _Fj = new _LC(5);
- _Ei = new _LC(5);
- _lT1 = new _Lj();
- _Rr = new _LC(5);
- _Pg = new _Iq();
- _sT1 = new _YU1();
- _sT1._ZU1 = "DUMMY INSTANCE";
- _NS1[0] = -1;
- _NS1[1] = 0;
- _NS1[2] = 0x00000000;
- _NS1[3] = 1;
- _NS1[4] = 0;
- _NS1[5] = 0x00000000;
- _NS1[6] = 0;
- _NS1[7] = -1;
- _NS1[8] = 0x00000000;
- _NS1[9] = 0;
- _NS1[10] = 1;
- _NS1[11] = 0x00000000;
- _NS1[12] = 0;
- _NS1[13] = 0;
- _NS1[14] = 0xffffffff;
- _cq = "canvas";
- _Ra = "html5game/";
- if (typeof(g_GameMakerHTML5Dir) != "undefined") {
- _Ra = g_GameMakerHTML5Dir
- } else {
- if (_Yp._A5 && _Yp._A5._S5) {
- _Ra = _Yp._A5._S5 + '/'
- }
- }
- _5K = [];
- _5t = [];
- _4t = [];
- _mT1 = "Hiscore Table";
- _7t = "<Nobody>";
- _nT1 = "Press <ESC> to Continue";
- _TT1 = 0x000000;
- _XT1 = -1;
- _UT1 = 0xffff00;
- _VT1 = 0xffffff;
- _oT1 = "verdana";
- _WT1 = 16;
- _pT1 = "";
- _yT1 = !0;
- _6t();
- _9U1 = -1;
- _aU1 = -1;
- _Fj.__U1();
- _NT1 = 0.0000001;
- _4U1 = 512;
- _Hq = [];
- _8H = _To1 = !1;
- _zT1 = !0;
- _hq = !1;
- _vT1 = _ZT1 = null;
- _wt = _xt = -1;
- _Dz = 0;
- _PT1 = 1.0;
- _JT1 = 0;
- _KT1 = -1;
- _LT1 = 0;
- _YT1 = 0;
- _MT1 = 0;
- _0V1 = !0;
- _ST1 = 10000000;
- _OT1 = 100000;
- _Ad = 1.0;
- _ps = 0x00000000;
- _Bd = 0x000000;
- _uv = _vv(_Bd);
- _qv = _Uj(_Bd, _Ad);
- _mH1 = _vv(0x000000);
- _CU1 = _vv(0xffffff);
- _DU1 = _vv(0x0000ff);
- _EU1 = _vv(0x00ff00);
- _FU1 = _vv(0xff0000);
- _GU1 = _vv(0xff000000);
- _HU1 = _vv(0xffffffff);
- _IU1 = _vv(0xff0000ff);
- _JU1 = _vv(0xff00ff00);
- _KU1 = _vv(0xffff0000);
- _gU1 = 0;
- _hU1 = -1;
- _iU1 = -2;
- _jU1 = -3;
- _kU1 = -4;
- _lU1 = -6;
- _mU1 = -7;
- _nU1 = -8;
- _oU1 = -9;
- _pU1 = -10;
- _qU1 = -11;
- _rU1 = -12;
- _sU1 = -13;
- _tU1 = -14;
- _uU1 = -15;
- _vU1 = -16;
- _wU1 = -17;
- _xU1 = -18;
- _yU1 = -19;
- _zU1 = -20;
- _AU1 = -21;
- _BU1 = -22;
- _7U1 = -1;
- _6U1 = -1;
- _8U1 = 0;
- _1V1();
- if (_Yp._A5 && _Yp._A5._G5 === !1) {
- canvas.style.cursor = "none"
- }
- _DT1 = !1;
- if (_Yp._A5 && _Yp._A5._V5 === !0) {
- _DT1 = !0
- }
- if (typeof _2V1 == 'function') {
- _2V1()
- }
- }
- function _3V1(_4V1) {
- return _4V1 * (Math.PI / 180.0)
- }
- function _5V1(_V8, _W8) {
- if (_V8 === 0) return 0;
- var _V9 = ((_V8 * 0x1000000) % (_W8 * 0x1000000));
- _V9 = _V9 / 0x1000000;
- return _V9
- }
- function _do(_V8) {
- return _V8 * _V8
- }
- function _vv(_Sd) {
- var _1b = "rgb(" + ((_Sd >> 16) & 0xff).toString() + "," + ((_Sd >> 8) & 0xff).toString() + "," + ((_Sd >> 0) & 0xff).toString() + ")";
- return _1b
- }
- function _Uj(_Sd, _Gd) {
- var _1b = "rgba(" + ((_Sd >> 16) & 0xff).toString() + "," + ((_Sd >> 8) & 0xff).toString() + "," + ((_Sd >> 0) & 0xff).toString() + "," + ((_Gd * 255.0) & 0xff).toString() + ")";
- return _1b
- }
- function _6V1(_4V1) {
- return _Y9 * _4V1 / 180.0
- }
- function _Dd(_Sd) {
- return (((_Sd & 0xff) << 16) | (_Sd & 0xff00) | ((_Sd & 0xff0000) >> 16))
- }
- function _wy(_lt, _7i, _7V1, _zD) {
- var _3i, _Ay, _Zi, _T9;
- var _kb = _wy.arguments;
- var _0i = _wy.arguments.length;
- var _8V1 = _kb[_0i - 1];
- _7i = ~~_7i;
- if (_7i == _xy) return _zD;
- if (_7i == _fA) {
- _3i = _dy._RA();
- for (_Zi = 0; _Zi < _3i.length; _Zi++) {
- _Ay = _3i[_Zi];
- if ((_7V1) && (_Ay == _lt)) continue;
- if (_Ay._xD) continue;
- _T9 = _8V1(_Ay);
- if (_T9 > 0) return _T9
- }
- } else if (_7i < 100000) {
- var _li = _Ys._Gh(_7i);
- if (_li === null) {
- return _zD
- }
- _3i = _li._AD();
- for (_Zi = 0; _Zi < _3i.length; _Zi++) {
- _Ay = _3i[_Zi];
- if ((_7V1) && (_lt == _Ay)) continue;
- if (_Ay._xD) continue;
- _T9 = _8V1(_Ay);
- if (_T9 > 0) return _T9
- }
- } else {
- _Ay = _dy._9V1(_7i);
- if ((_7V1) && (_lt == _Ay)) {
- return _zD
- }
- if (_Ay._xD) {
- return _zD
- }
- return _8V1(_Ay);
- }
- return _zD
- }
- function _aV1(_lt, _7i, _7V1, _zD) {
- var _3i, _Ay, _Zi, _mk;
- var _kb = _aV1.arguments;
- var _0i = _aV1.arguments.length;
- var _8V1 = _kb[_0i - 1];
- var _kA = 10000000000;
- var id = -1;
- _7i = ~~_7i;
- if (_7i == _xy) return _zD;
- if (_7i == _fA) {
- _3i = _dy._RA();
- for (_Zi = 0; _Zi < _3i.length; _Zi++) {
- _Ay = _3i[_Zi];
- if ((_7V1) && (_Ay == _lt)) continue;
- if (_Ay._xD) continue;
- _mk = _8V1(_Ay);
- if (_mk < _kA) {
- _kA = _mk
- }
- }
- if (_kA != 10000000000) return _kA
- } else if (_7i < 100000) {
- var _li = _Ys._Gh(_7i);
- if (_li === null) {
- return _zD
- }
- _3i = _li._AD();
- for (_Zi = 0; _Zi < _3i.length; _Zi++) {
- _Ay = _3i[_Zi];
- if ((_7V1) && (_lt == _Ay)) continue;
- if (_Ay._xD) continue;
- _mk = _8V1(_Ay);
- if (_mk < _kA) {
- _kA = _mk
- }
- }
- if (_kA != 10000000000) return _kA
- } else {
- _Ay = _dy._9V1(_7i);
- if ((_7V1) && (_lt == _Ay)) {
- return _zD
- }
- if (_Ay._xD) {
- return _zD
- }
- return _8V1(_Ay)
- }
- return _zD
- }
- var _bV1 = {
- init: function() {
- this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
- this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version";
- this._cV1 = this.searchString(this.dataOS) || "an unknown OS";
- this._dV1 = this._eV1();
- },
- _eV1: function() {
- if (navigator.appVersion.indexOf("CPU OS 5_") != -1) {
- return 5.0
- } else if (navigator.appVersion.indexOf("CPU OS 4_") != -1) {
- return 4.0
- } else if (navigator.appVersion.indexOf("CPU OS 3_") != -1) {
- return 3.0
- } else if (navigator.appVersion.indexOf("Android 4") != -1) {
- return 4.0
- } else if (navigator.appVersion.indexOf("Android 3") != -1) {
- return 3.0
- } else if (navigator.appVersion.indexOf("Android 2") != -1) {
- return 2.0
- } else {
- return _RK1
- }
- },
- searchString: function(data) {
- for (var _H3 = 0; _H3 < data.length; _H3++) {
- var _fV1 = data[_H3]._zG;
- var _gV1 = data[_H3].prop;
- this.versionSearchString = data[_H3].versionSearch || data[_H3].identity;
- if (_fV1) {
- if (_fV1.indexOf(data[_H3]._hV1) != -1) {
- return data[_H3].identity
- }
- } else if (_gV1) {
- return data[_H3].identity
- }
- }
- },
- searchVersion: function(_fV1) {
- var index = _fV1.indexOf(this.versionSearchString);
- if (index == -1) return;
- return parseFloat(_fV1.substring(index + this.versionSearchString.length + 1))
- },
- dataBrowser: [{
- _zG: navigator.userAgent,
- _hV1: "Tizen",
- identity: "Tizen"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Chrome",
- identity: "Chrome"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "OmniWeb",
- versionSearch: "OmniWeb/",
- identity: "OmniWeb"
- },
- {
- _zG: navigator.vendor,
- _hV1: "Apple",
- identity: "Safari",
- versionSearch: "Version"
- },
- {
- prop: window.opera,
- identity: "Opera"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "KHTML",
- identity: "KHTML",
- versionSearch: "Mozilla/"
- },
- {
- _zG: navigator.vendor,
- _hV1: "iCab",
- identity: "iCab"
- },
- {
- _zG: navigator.vendor,
- _hV1: "KDE",
- identity: "Konqueror"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Firefox",
- identity: "Firefox"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "IceWeasel",
- identity: "IceWeasel"
- },
- {
- _zG: navigator.vendor,
- _hV1: "Camino",
- identity: "Camino"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Netscape",
- identity: "Netscape"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "IEMobile",
- identity: "IEMobile"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "MSIE",
- identity: "Explorer",
- versionSearch: "MSIE"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Trident/",
- identity: "Explorer",
- versionSearch: "rv"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Gecko",
- identity: "Mozilla",
- versionSearch: "rv"
- }],
- dataOS: [{
- _zG: navigator.userAgent,
- _hV1: "Phone 8",
- identity: "WindowsPhone8"
- },
- {
- _zG: navigator.platform,
- _hV1: "Win",
- identity: "Windows"
- },
- {
- _zG: navigator.platform,
- _hV1: "Mac",
- identity: "Mac"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "iPhone",
- identity: "iPhone"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "iPod",
- identity: "iPhone"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "iPad",
- identity: "iPad"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Android",
- identity: "Android"
- },
- {
- _zG: navigator.userAgent,
- _hV1: "Tizen",
- identity: "Tizen"
- },
- {
- _zG: navigator.platform,
- _hV1: "Linux",
- identity: "Linux"
- }]
- };
- function _UU1() {
- _bV1.init();
- if (_bV1._cV1 == "Windows") {
- _FK1 = _GK1
- } else if (_bV1._cV1 == "Mac") {
- _FK1 = _IK1
- } else if (_bV1._cV1 == "iPhone") {
- _FK1 = _KK1
- } else if (_bV1._cV1 == "iPad") {
- _FK1 = _KK1
- } else if (_bV1._cV1 == "Android") {
- _FK1 = _LK1
- } else if (_bV1._cV1 == "Linux") {
- _FK1 = _NK1
- } else if (_bV1._cV1 == "Tizen") {
- _FK1 = _PK1
- } else if (_bV1._cV1 == "WindowsPhone8") {
- _FK1 = _OK1
- } else {
- _FK1 = _wK1
- }
- if (_bV1._cV1 !== "") {
- debug(_bV1._cV1 + " Detected(" + _FK1 + ")")
- }
- _uJ = _bV1._dV1;
- _yz = _wK1;
- _rJ = _rK1;
- if (_bV1.browser == "Explorer") {
- debug("Internet Explorer detected");
- _yz = _zz
- } else if (_bV1.browser == "IEMobile") {
- debug("IE Mobile detected");
- _yz = _EK1
- } else if (_bV1.browser == "Firefox") {
- debug("Firefox detected");
- _yz = _xK1
- } else if (_bV1.browser == "Chrome") {
- debug("Chrome detected");
- _yz = _yK1
- } else if (_bV1.browser == "Safari") {
- if (_FK1 == _KK1) {
- _yz = _AK1;
- _rJ = _sK1;
- if (_bV1._cV1 == "iPad") _rJ = _uK1;
- debug("Safari mobile detected")
- } else {
- debug("Safari detected");
- _yz = _zK1
- }
- } else if (_bV1.browser == "Opera") {
- debug("BrowserDetect: " + _bV1._cV1);
- debug("Opera detected");
- _yz = _BK1
- } else if (_bV1.browser == "KHTML") {
- debug("Default Android browser detected");
- debug("OS: " + _uJ);
- _yz = _CK1
- } else if (_bV1.browser == "Tizen") {
- _yz = _vK1
- } else {
- debug("Unknown Browser - Please report these strings");
- debug("----------------------------------------------");
- if (navigator.userAgent) debug("userAgent: " + navigator.userAgent);
- debug("---");
- if (navigator.vendor) debug("vendor: " + navigator.vendor);
- debug("---");
- if (navigator.platform) debug("platform: " + navigator.platform);
- debug("----------------------------------------------")
- }
- if (_FK1 != _PK1) {
- if (document.URL.substring(0, 5) == "file:") {
- alert("WARNING: Running this via a file and not a web server is not advised as the browser will enable additional security, and things like files and colours won't work correctly. " + _Nq(13) + _Nq(13) + "Please check the FAQ for more details. " + _Nq(13) + _Nq(13) + "http://help.yoyogames.com/entries/40534573")
- }
- }
- }
- function _1V1() {
- try {
- if ('localStorage' in window && window['localStorage'] !== null) {
- _ky = !0
- }
- } catch(e) {
- _ky = !1
- }
- return _ky
- }
- var _iV1 = 0;
- var _tF = 0;
- var _jV1 = 0;
- var _kV1 = 0;
- var _lV1 = null;
- var _mV1 = null;
- var _nV1 = 0,
- _oV1 = 1,
- _pV1 = 2,
- _qV1 = 3;
- function _rV1() {
- global = new _oK1();
- _w6 = new _sV1();
- _dh = new _tV1();
- _0f = new _wf();
- _uV1(canvas);
- _dy = new _vV1();
- _Ys = new _wV1();
- _FD = new _xV1();
- _Ry = new _yV1();
- _Nj = new _zV1();
- _cT1 = new _AV1();
- _7q = new _BV1();
- _Cv1 = [];
- _GC = new _CV1();
- _pt = new _DV1();
- _xq = new _EV1();
- _TU1()
- }
- function _FV1(_GV1) {
- switch (_GV1) {
- case 1:
- return "MEDIA_ERR_ABORTED";
- case 2:
- return "MEDIA_ERR_NETWORK";
- case 3:
- return "MEDIA_ERR_DECODE";
- case 4:
- return "MEDIA_ERR_SRC_NOT_SUPPORTED"
- }
- return "Unknown Error"
- }
- function _HV1(_GV1) {
- switch (_GV1) {
- case _nV1:
- return "NETWORK_EMPTY";
- case _oV1:
- return "NETWORK_IDLE";
- case _pV1:
- return "NETWORK_LOADING";
- case _qV1:
- return "NETWORK_NO_SOURCE"
- }
- return "Unknown Error"
- }
- function _IV1(_fr) {
- debug("ImageLoaded: " + this.src);
- _tF++
- }
- function _JV1(_fr) {
- debug("ImageError: " + this.src);
- _tF++
- }
- function _KV1(_fr) {
- _kV1++;
- debug("ExtensionLoaded: ")
- }
- function _LV1(_fr) {
- _kV1++;
- debug("ExtensionError: ")
- }
- function ClearEventListeners(_MV1) {
- _MV1.removeEventListener('canplaythrough', _NV1, !1);
- _MV1.removeEventListener('error', _OV1, !1);
- _MV1.removeEventListener("loadstart", _PV1, !1);
- _MV1.removeEventListener("suspend", _QV1, !1);
- _MV1.removeEventListener("stalled", _RV1, !1);
- _MV1.removeEventListener("stall", _RV1, !1)
- }
- function _NV1(_fr) {
- this.completed = !0;
- if (_mV1[this.URL] !== null) {
- _mV1[this.URL] = null;
- _tF++
- }
- ClearEventListeners(this);
- debug("SoundLoaded: " + this.URL)
- }
- function _OV1(_fr) {
- debug("SoundError: " + this.URL + " NetworkError: " + _FV1(this.error["code"]));
- this.completed = !1;
- if (_mV1[this.URL] !== null) {
- _mV1[this.URL] = null;
- _tF++
- }
- ClearEventListeners(this)
- }
- function _PV1(_fr) {
- this._SV1 = !0
- }
- function _QV1(_fr) {
- debug("SoundSuspended: " + this.URL);
- this.completed = !0;
- if (_mV1[this.URL] !== null) {
- _mV1[this.URL] = null;
- _tF++
- }
- ClearEventListeners(this)
- }
- function _RV1(_fr) {}
- function _TV1(_Fp1) {
- debug("Loading: " + _Fp1);
- var index = _Qa(_Fp1);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = 63;
- _Kj._K3 = 63;
- _Kj._s5 = -32;
- _Kj._t5 = -32;
- _Kj._u5 = 63;
- _Kj._v5 = 63;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = index;
- _Kj._Ga = _Ha[index];
- _Kj._Da = [];
- _Kj._Fa = 32;
- _Kj._Ea = 0;
- var _UV1 = _gT1.length;
- _gT1[_UV1] = _Kj;
- return _UV1
- }
- function _VV1(_WV1) {
- debug("Loading: " + _Ra + _WV1);
- var e = window.document.createElement('script');
- e.setAttribute('src', _Ra + _WV1);
- e.setAttribute('type', "text/javascript");
- e.onload = _KV1;
- e.onerror = _LV1;
- window.document.body.appendChild(e);
- _jV1++
- }
- function _XV1(_YV1) {
- if (_YV1._V2 !== undefined) {
- for (var _H3 = 0; _H3 < _YV1._V2.length; _H3++) {
- var _ZV1 = _YV1._V2[_H3];
- if (_ZV1._W2) {
- for (var _5r = 0; _5r < _ZV1._W2.length; _5r++) {
- _VV1(_ZV1._W2[_5r])
- }
- }
- }
- }
- }
- function __V1(_YV1) {
- _mV1 = [];
- _jV1 = 0;
- _kV1 = 0;
- _XV1(_YV1)
- }
- function _0W1(_Fp1) {
- _iV1++;
- var _9y = new XMLHttpRequest();
- _9y.open('GET', _CF(_Fp1), !0);
- _9y.send();
- _9y.onload = function(_by) {
- _tF++;
- _Ry._1W1(_9y.responseText)
- };
- _9y.onerror = function(_by) {
- _tF++
- }
- }
- function _2W1(_Fp1) {
- _iV1++;
- var _9y = new XMLHttpRequest();
- _9y.open('GET', _CF(_Fp1), !0);
- _9y.responseType = 'arraybuffer';
- _9y.send();
- _9y.onload = function(_by) {
- _tF++;
- _Ry._3W1(_9y.response || _9y.responseText)
- };
- _9y.onerror = function(_by) {
- _tF++
- }
- }
- function _4W1(_YV1) {
- var _V9, id;
- if (_YV1._5W1) document.title = _YV1._5W1;
- _lV1 = document.getElementById('GM4HTML5_loadingscreen');
- if (_7p1 === "") {
- __V1(_YV1);
- _7p1 = _6W1
- } else {
- try {
- _7p1 = eval(_7p1)
- } catch(e) {
- _7p1 = _6W1
- }
- }
- _tF = 0;
- for (index = 0; index < _YV1._z5.length; index++) {
- _iV1++;
- debug("Loading: " + _Ra + _YV1._z5[index]);
- _V9 = _Qa(_Ra + _YV1._z5[index]);
- _Ha[_V9].onload = _IV1;
- _Ha[_V9].onerror = _JV1;
- _Ha[_V9].URL = _YV1._z5[index]
- }
- if ((_YV1._7W1 !== null) && (_YV1._7W1 !== undefined)) {
- _2W1(_YV1._7W1)
- }
- if ((_YV1._8W1 !== null) && (_YV1._8W1 !== undefined)) {
- _0W1(_YV1._8W1)
- }
- for (var _H3 = 2; _H3 < 16; _H3++) {
- _iV1++;
- var _mv = _TV1(_Ra + "particles/IDR_GIF" + _H3 + ".png");
- _V9 = _gT1[_mv]._y5;
- _Ha[_V9].onload = _IV1;
- _Ha[_V9].onerror = _JV1;
- _Ha[_V9].URL = "particles/IDR_GIF" + _H3 + ".png"
- }
- if (_4h == _5h) {
- for (index = 0; index < _YV1._X2.length; index++) {
- if (_YV1._X2[index] !== null) {
- _iV1++;
- debug("Loading: " + _Ra + _YV1._X2[index]._9W1);
- if (_YV1._X2[index]._b3 === 0) {
- id = _BF(_Ra + _YV1._X2[index]._9W1, index, _YV1._X2[index]._aW1);
- if (id === undefined) {
- _iV1--
- }
- } else if ((_YV1._X2[index]._b3 == 3) || (_YV1._X2[index]._b3 == 1)) {
- _zF(_Ra + _YV1._X2[index]._9W1, index, _YV1._X2[index]._aW1);
- _iV1--
- } else {
- debug("Attempting to load sound with unknown type: " + _YV1._X2[index]._b3);
- _iV1--
- }
- }
- }
- } else if (_4h == _aT1) {
- for (index = 0; index < _YV1._X2.length; index++) {
- if (_YV1._X2[index] !== null) {
- _iV1++;
- debug("Loading: " + _Ra + _YV1._X2[index]._9W1);
- id = _bW1(_Ra + _YV1._X2[index]._9W1, _YV1._X2[index]._Z2, _YV1._X2[index]._aW1, _NV1, _OV1);
- if ((id !== undefined) && (_HF[id]) && (_HF[id].URL)) {
- _mV1[_HF[id].URL] = _HF[id];
- } else {
- _iV1--
- }
- }
- }
- }
- }
- function _cW1() {
- for (var _H3 in _mV1) {
- if (!_mV1.hasOwnProperty(_H3)) continue;
- var _dW1 = _mV1[_H3];
- if (_dW1) {
- if ((_dW1.networkState !== null && _dW1.networkState !== undefined) && (_dW1.readyState !== null && _dW1.readyState !== undefined)) {
- if ((_dW1.networkState == _oV1 || _dW1.networkState == _qV1) && (_dW1._SV1) && (_dW1.readyState != 4)) {
- if (_dW1.completed !== !0) {
- _dW1.completed = !1;
- _tF++;
- _mV1[_H3] = null;
- ClearEventListeners(_dW1);
- debug("SoundError: " + _dW1.URL + " NetworkState: " + _HV1(_dW1.networkState))
- }
- }
- }
- }
- }
- }
- function _eW1(_fW1, _li) {
- if (_li._gW1) return;
- if (_li._dq !== null) {
- _eW1(_li._dq.__y, _li._dq)
- }
- for (var _hW1 in _li._iW1) {
- if (!_li._iW1.hasOwnProperty(_hW1)) continue;
- if (_Cv1[_hW1]) {
- if (_Cv1[_hW1][_fW1]) {
- continue
- }
- }
- var _AZ = !1;
- var _jW1 = _li;
- while (_jW1 !== null) {
- var id = _jW1.__y;
- var _kW1 = _Ys._Gh(_hW1);
- while (_kW1 !== null) {
- var _lW1 = _kW1.__y;
- if (_Cv1[_lW1] && _Cv1[_lW1][id]) {
- _AZ = !0;
- break
- }
- _kW1 = _kW1._dq
- }
- _jW1 = _jW1._dq
- }
- if (!_AZ) {
- if (!_Cv1[_fW1]) {
- _Cv1[_fW1] = []
- }
- _Cv1[_fW1][_hW1] = _hW1
- }
- }
- _li._gW1 = !0
- }
- function _mW1() {
- var _3i = _Ys._RA();
- for (var _fW1 = 0; _fW1 < _3i.length; _fW1++) {
- var _li = _3i[_fW1];
- if (_li._dq !== null) {
- _eW1(_li._dq.__y, _li._dq)
- }
- _eW1(_fW1, _li)
- }
- }
- function _nW1() {
- var _oW1 = "";
- if (_Yp._A5._Y5 !== null && _Yp._A5._Y5 !== undefined) {
- for (var _H3 = 0; _H3 < _Yp._A5._Y5.length; _H3++) {
- var _Nq = _Yp._A5._Y5[_H3];
- if ((_Nq >= 'a' && _Nq <= 'z') || (_Nq >= 'A' && _Nq <= 'Z') || (_Nq >= '0' && _Nq <= '9') || (_Nq === '_')) {
- _oW1 = _oW1 + _Yp._A5._Y5[_H3]
- }
- }
- }
- if (_oW1.length === 0) {
- _oW1 = "GameMaker"
- }
- return _oW1 + "." + _w6._pW1 + "."
- }
- function _qW1(_YV1) {
- var index, _ED, _H3;
- _OT1 = 1000000;
- _w6._pW1 = _YV1._A5._C5;
- _5I = _YV1._A5._U5;
- _BT1 = _YV1._A5._H5;
- _pJ = _YV1._A5._T5;
- _w6._rW1 = _Ra;
- _w6._sW1 = _nW1();
- if (_sa) _w6._tW1 = !0;
- _rT1 = new _uW1(_YV1._N3);
- _2U1 = _YV1._A5._X5;
- var id = 0;
- for (var index = 0; index < _YV1._O3.length; index++) {
- var _uu = _YV1._O3[index];
- if (_uu !== null) {
- var _Oy = _vW1(id, _uu);
- _Ys._Wh(_Oy)
- }
- id++
- }
- _Ys._wW1();
- _mW1();
- for (var index = 0; index < _YV1._a5.length; index++) {
- var _xW1 = _YV1._a5[index];
- if (_xW1 !== null) {
- _ED = new _yW1();
- _ED._zW1(_xW1);
- _FD._Wh(_ED)
- } else {
- _IT1++;
- _FD._Wh(null)
- }
- }
- _2U1 = _YV1._A5._W5;
- _FD._AW1(_YV1._q5);
- for (_H3 = 0; _H3 < _YV1._q5.length; _H3++) {
- _ED = _FD._MD(_H3);
- _ED._JD = _H3
- }
- _w6._BW1 = _FD._MD(0).id;
- _w6._CW1 = _FD._MD(_FD._DW1.length - 1).id;
- _EW1(_YV1._r5);
- for (index = 0; index < _YV1._Y2.length; index++) {
- if (_YV1._Y2[index] === null) {
- _Ry._2G(null)
- } else {
- var _Qy = _FW1(_YV1._Y2[index]);
- _Ry._2G(_Qy)
- }
- }
- for (index = 0; index < _YV1._93.length; index++) {
- var _Kb = _Nj._GW1(_YV1._93[index]);
- var _hG = _Nj._Xj(_Kb);
- if (_hG !== null) _hG._5G = _HW1
- }
- for (index = 0; index < _YV1._w3.length; index++) {
- _7q._Wh(_YV1._w3[index])
- }
- for (index = 0; index < _YV1._a3.length; index++) {
- var _FC = _IW1(_YV1._a3[index]);
- _GC._Wh(_FC)
- }
- for (index = 0; index < _YV1._X2.length; index++) {
- _cT1._Wh(_YV1._X2[index])
- }
- if (_YV1._M3 !== undefined) {
- for (index = 0; index < _YV1._M3.length; index++) {
- _pt._Wh(_YV1._M3[index])
- }
- }
- _6t();
- __s();
- if (typeof _26 == 'function') {
- _wT1 = new _26()
- }
- if (typeof _36 == 'function') {
- _36()
- }
- if (_YV1._V2 !== undefined) {
- for (_H3 = 0; _H3 < _YV1._V2.length; _H3++) {
- var _ZV1 = _YV1._V2[_H3];
- try {
- var _hr = eval(_ZV1.init);
- if (_hr) _hr()
- } catch(_yF) {
- _Xg("Error calling extension initialisation function: " + _ZV1.init.name)
- }
- }
- }
- }
- var _Yo = 0;
- var _1p = 1;
- var _5p = 2;
- var _JW1 = 3;
- var _Zo = 4;
- var _Rn = 5;
- var _6p = 6;
- var _KW1 = 7;
- var __o = 8;
- var _2p = 9;
- var _7p = 10;
- var _LW1 = 11;
- var _0p = 12;
- var _3p = 13;
- var _8p = 14;
- var _MW1 = 15;
- function _Gn(_Vl) {
- this._F9 = new Float32Array(16);
- if (_Gn.arguments.length > 0) {
- for (var _H3 = 0; _H3 < 16; _H3++) {
- this._F9[_H3] = _Vl._F9[_H3]
- }
- } else {
- this._vp1()
- }
- }
- function _gN(_Vl) {
- for (var _H3 = 0; _H3 < 16; _H3++) {
- if (this._F9[_H3] != _Vl._F9[_H3]) {
- return ! 1
- }
- }
- return ! 0
- }
- _Gn.prototype._vp1 = function(_ic) {
- this._F9[1] = this._F9[2] = this._F9[3] = this._F9[4] = this._F9[6] = this._F9[7] = this._F9[8] = this._F9[9] = this._F9[11] = this._F9[12] = this._F9[13] = this._F9[14] = 0.0;
- this._F9[0] = this._F9[5] = this._F9[10] = this._F9[15] = 1.0
- };
- _Gn.prototype._Ln = function(_NW1, _OW1, _PW1) {
- var _QW1 = new _In(_PW1);
- var _RW1 = new _In();
- var _SW1 = _OW1._TW1(_NW1);
- _SW1._fo();
- _QW1._fo();
- _RW1._UW1(_QW1, _SW1);
- _RW1._fo();
- _QW1._UW1(_SW1, _RW1);
- _QW1._fo();
- var _io = _NW1._VW1(_RW1);
- var _jo = _NW1._VW1(_QW1);
- var _ko = _NW1._VW1(_SW1);
- this._F9[_Yo] = _RW1._io;
- this._F9[_1p] = _QW1._io;
- this._F9[_5p] = _SW1._io;
- this._F9[_JW1] = 0.0;
- this._F9[_Zo] = _RW1._jo;
- this._F9[_Rn] = _QW1._jo;
- this._F9[_6p] = _SW1._jo;
- this._F9[_KW1] = 0.0;
- this._F9[__o] = _RW1._ko;
- this._F9[_2p] = _QW1._ko;
- this._F9[_7p] = _SW1._ko;
- this._F9[_LW1] = 0.0;
- this._F9[_0p] = -_io;
- this._F9[_3p] = -_jo;
- this._F9[_8p] = -_ko;
- this._F9[_MW1] = 1
- };
- _Gn.prototype._Qn = function(_WW1, _XW1, _YW1, _ZW1) {
- var _kb = _3V1(_WW1);
- var __W1 = 1.0 / Math.tan(_kb * 0.5);
- var _U51 = __W1 / _XW1;
- this._F9[_Yo] = _U51;
- this._F9[_1p] = this._F9[_5p] = this._F9[_JW1] = 0.0;
- this._F9[_Rn] = __W1;
- this._F9[_Zo] = this._F9[_6p] = this._F9[_KW1] = 0.0;
- this._F9[__o] = this._F9[_2p] = 0.0;
- this._F9[_LW1] = 1.0;
- this._F9[_7p] = _ZW1 / (_ZW1 - _YW1);
- this._F9[_0p] = this._F9[_0p] = this._F9[_MW1] = 0.0;
- this._F9[_8p] = -_YW1 * _ZW1 / (_ZW1 - _YW1)
- };
- _Gn.prototype._Zn = function(_vh, _wh, _YW1, _ZW1) {
- this._F9[_Yo] = 2 * _YW1 / _vh;
- this._F9[_1p] = this._F9[_5p] = this._F9[_JW1] = 0.0;
- this._F9[_Rn] = 2 * _YW1 / _wh;
- this._F9[_Zo] = this._F9[_6p] = this._F9[_KW1] = 0.0;
- this._F9[__o] = this._F9[_2p] = 0.0;
- this._F9[_LW1] = 1.0;
- this._F9[_7p] = _ZW1 / (_ZW1 - _YW1);
- this._F9[_0p] = this._F9[_3p] = this._F9[_MW1] = 0.0;
- this._F9[_8p] = -_YW1 * _ZW1 / (_ZW1 - _YW1)
- };
- _Gn.prototype._Yn = function(_vh, _wh, _YW1, _ZW1) {
- this._F9[_Yo] = 2.0 / _vh;
- this._F9[_1p] = this._F9[_5p] = 0.0;
- this._F9[_JW1] = 0;
- this._F9[_Rn] = 2.0 / _wh;
- this._F9[_Zo] = this._F9[_6p] = 0.0;
- this._F9[_KW1] = 0;
- this._F9[__o] = this._F9[_2p] = 0.0;
- this._F9[_7p] = 1.0 / (_ZW1 - _YW1);
- this._F9[_LW1] = 0;
- this._F9[_0p] = this._F9[_3p] = 0.0;
- this._F9[_8p] = _YW1 / (_YW1 - _ZW1);
- this._F9[_MW1] = 1.0
- };
- _Gn.prototype._Vo = function(_0X1, _1X1) {
- this._F9[_Yo] = (_0X1._F9[_Yo] * _1X1._F9[_Yo]) + (_0X1._F9[_1p] * _1X1._F9[_Zo]) + (_0X1._F9[_5p] * _1X1._F9[__o]) + (_0X1._F9[_JW1] * _1X1._F9[_0p]);
- this._F9[_1p] = (_0X1._F9[_Yo] * _1X1._F9[_1p]) + (_0X1._F9[_1p] * _1X1._F9[_Rn]) + (_0X1._F9[_5p] * _1X1._F9[_2p]) + (_0X1._F9[_JW1] * _1X1._F9[_3p]);
- this._F9[_5p] = (_0X1._F9[_Yo] * _1X1._F9[_5p]) + (_0X1._F9[_1p] * _1X1._F9[_6p]) + (_0X1._F9[_5p] * _1X1._F9[_7p]) + (_0X1._F9[_JW1] * _1X1._F9[_8p]);
- this._F9[_JW1] = (_0X1._F9[_Yo] * _1X1._F9[_JW1]) + (_0X1._F9[_1p] * _1X1._F9[_KW1]) + (_0X1._F9[_5p] * _1X1._F9[_LW1]) + (_0X1._F9[_JW1] * _1X1._F9[_MW1]);
- this._F9[_Zo] = (_0X1._F9[_Zo] * _1X1._F9[_Yo]) + (_0X1._F9[_Rn] * _1X1._F9[_Zo]) + (_0X1._F9[_6p] * _1X1._F9[__o]) + (_0X1._F9[_KW1] * _1X1._F9[_0p]);
- this._F9[_Rn] = (_0X1._F9[_Zo] * _1X1._F9[_1p]) + (_0X1._F9[_Rn] * _1X1._F9[_Rn]) + (_0X1._F9[_6p] * _1X1._F9[_2p]) + (_0X1._F9[_KW1] * _1X1._F9[_3p]);
- this._F9[_6p] = (_0X1._F9[_Zo] * _1X1._F9[_5p]) + (_0X1._F9[_Rn] * _1X1._F9[_6p]) + (_0X1._F9[_6p] * _1X1._F9[_7p]) + (_0X1._F9[_KW1] * _1X1._F9[_8p]);
- this._F9[_KW1] = (_0X1._F9[_Zo] * _1X1._F9[_JW1]) + (_0X1._F9[_Rn] * _1X1._F9[_KW1]) + (_0X1._F9[_6p] * _1X1._F9[_LW1]) + (_0X1._F9[_KW1] * _1X1._F9[_MW1]);
- this._F9[__o] = (_0X1._F9[__o] * _1X1._F9[_Yo]) + (_0X1._F9[_2p] * _1X1._F9[_Zo]) + (_0X1._F9[_7p] * _1X1._F9[__o]) + (_0X1._F9[_LW1] * _1X1._F9[_0p]);
- this._F9[_2p] = (_0X1._F9[__o] * _1X1._F9[_1p]) + (_0X1._F9[_2p] * _1X1._F9[_Rn]) + (_0X1._F9[_7p] * _1X1._F9[_2p]) + (_0X1._F9[_LW1] * _1X1._F9[_3p]);
- this._F9[_7p] = (_0X1._F9[__o] * _1X1._F9[_5p]) + (_0X1._F9[_2p] * _1X1._F9[_6p]) + (_0X1._F9[_7p] * _1X1._F9[_7p]) + (_0X1._F9[_LW1] * _1X1._F9[_8p]);
- this._F9[_LW1] = (_0X1._F9[__o] * _1X1._F9[_JW1]) + (_0X1._F9[_2p] * _1X1._F9[_KW1]) + (_0X1._F9[_7p] * _1X1._F9[_LW1]) + (_0X1._F9[_LW1] * _1X1._F9[_MW1]);
- this._F9[_0p] = (_0X1._F9[_0p] * _1X1._F9[_Yo]) + (_0X1._F9[_3p] * _1X1._F9[_Zo]) + (_0X1._F9[_8p] * _1X1._F9[__o]) + (_0X1._F9[_MW1] * _1X1._F9[_0p]);
- this._F9[_3p] = (_0X1._F9[_0p] * _1X1._F9[_1p]) + (_0X1._F9[_3p] * _1X1._F9[_Rn]) + (_0X1._F9[_8p] * _1X1._F9[_2p]) + (_0X1._F9[_MW1] * _1X1._F9[_3p]);
- this._F9[_8p] = (_0X1._F9[_0p] * _1X1._F9[_5p]) + (_0X1._F9[_3p] * _1X1._F9[_6p]) + (_0X1._F9[_8p] * _1X1._F9[_7p]) + (_0X1._F9[_MW1] * _1X1._F9[_8p]);
- this._F9[_MW1] = (_0X1._F9[_0p] * _1X1._F9[_JW1]) + (_0X1._F9[_3p] * _1X1._F9[_KW1]) + (_0X1._F9[_8p] * _1X1._F9[_LW1]) + (_0X1._F9[_MW1] * _1X1._F9[_MW1])
- };
- _Gn.prototype._Qo = function(_Z8) {
- this._vp1();
- var _kb = _3V1(_Z8);
- var _9q = Math.sin(_kb);
- var _I3 = Math.cos(_kb);
- this._F9[_Yo] = _I3;
- this._F9[_1p] = -_9q;
- this._F9[_Zo] = _9q;
- this._F9[_Rn] = _I3
- };
- _Gn.prototype._Po = function(_Z8) {
- this._vp1();
- var _kb = _3V1(_Z8);
- var _9q = Math.sin(_kb);
- var _I3 = Math.cos(_kb);
- this._F9[_Yo] = _I3;
- this._F9[_5p] = _9q;
- this._F9[__o] = -_9q;
- this._F9[_7p] = _I3
- };
- _Gn.prototype._Oo = function(_Z8) {
- this._vp1();
- var _kb = _3V1(_Z8);
- var _9q = Math.sin(_kb);
- var _I3 = Math.cos(_kb);
- this._F9[_Rn] = _I3;
- this._F9[_6p] = -_9q;
- this._F9[_2p] = _9q;
- this._F9[_7p] = _I3
- };
- _Gn.prototype._Mo = function(_V8, _W8, _Qd) {
- this._vp1();
- this._F9[_0p] = _V8;
- this._F9[_3p] = _W8;
- this._F9[_8p] = _Qd
- };
- _Gn.prototype._No = function(_VH, _WH, _2X1) {
- this._vp1();
- this._F9[_Yo] = _VH;
- this._F9[_Rn] = _WH;
- this._F9[_7p] = _2X1
- };
- _Gn.prototype._Ro = function(_Fd, _Z8) {
- _Fd._fo();
- var _kb = _3V1(_Z8);
- var _I3 = Math.cos(_kb);
- var _9q = Math.sin(_kb);
- var _3X1 = 1.0 - _I3;
- this._vp1();
- this._F9[0] = (_3X1 * _Fd._io * _Fd._io + _I3);
- this._F9[1] = (_3X1 * _Fd._io * _Fd._jo + _9q * _Fd._ko);
- this._F9[2] = (_3X1 * _Fd._io * _Fd._ko - _9q * _Fd._jo);
- this._F9[4] = (_3X1 * _Fd._io * _Fd._jo - _9q * _Fd._ko);
- this._F9[5] = (_3X1 * _Fd._jo * _Fd._jo + _I3);
- this._F9[6] = (_3X1 * _Fd._jo * _Fd._ko + _9q * _Fd._io);
- this._F9[8] = (_3X1 * _Fd._io * _Fd._ko + _9q * _Fd._jo);
- this._F9[9] = (_3X1 * _Fd._jo * _Fd._ko - _9q * _Fd._io);
- this._F9[10] = (_3X1 * _Fd._ko * _Fd._ko + _I3);
- };
- _Gn.prototype._ip = function(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) {
- var _4X1 = Math.sin(_Xl);
- var _5X1 = Math.cos(_Xl);
- var _6X1 = Math.sin(_Yl);
- var _7X1 = Math.cos(_Yl);
- var _8X1 = Math.sin(_Zl);
- var _9X1 = Math.cos(_Zl);
- var _aX1 = -_8X1 * -_4X1;
- var _bX1 = _9X1 * -_4X1;
- this._F9[0] = ((_9X1 * _7X1) + (_aX1 * -_6X1)) * __l;
- this._F9[4] = ( - _8X1 * _5X1) * __l;
- this._F9[8] = ((_9X1 * _6X1) + (_aX1 * _7X1)) * __l;
- this._F9[12] = _V8;
- this._F9[1] = ((_8X1 * _7X1) + (_bX1 * -_6X1)) * _0m;
- this._F9[5] = (_9X1 * _5X1) * _0m;
- this._F9[9] = ((_8X1 * _6X1) + (_bX1 * _7X1)) * _0m;
- this._F9[13] = _W8;
- this._F9[2] = (_5X1 * -_6X1) * _1m;
- this._F9[6] = _4X1 * _1m;
- this._F9[10] = (_5X1 * _7X1) * _1m;
- this._F9[14] = _Qd;
- this._F9[3] = this._F9[7] = this._F9[11] = 0.0;
- this._F9[15] = 1.0
- };
- function _Lj() {
- this._f3 = 0;
- this._g3 = 0;
- this._J3 = 0;
- this._K3 = 0;
- this._s5 = 0;
- this._t5 = 0;
- this._u5 = 0;
- this._v5 = 0;
- this._w5 = 0;
- this._x5 = 0;
- this._y5 = 0;
- this._5G = _HW1
- }
- function _HW1(_lG) {
- this._f3 = _lG._f3;
- this._g3 = _lG._g3;
- this._J3 = _lG._J3;
- this._K3 = _lG._K3;
- this._s5 = _lG._s5;
- this._t5 = _lG._t5;
- this._u5 = _lG._u5;
- this._v5 = _lG._v5;
- this._w5 = _lG._w5;
- this._x5 = _lG._x5;
- this._y5 = _lG._y5
- }
- function _cX1(_1b) {
- _nc("splash_set_color()")
- }
- var _dX1 = _cX1;
- function _yt(_zi) {
- _2q("clipboard_set_text()")
- }
- var _eX1 = !0;
- function _fX1(_pc) {
- _nc("texture_get_width()")
- }
- function _gX1(_pc) {
- _nc("texture_get_height()")
- }
- function _hX1(_iX1) {
- _nc("texture_set_blending()")
- }
- function _1o(repeat) {
- _nc("texture_set_repeat()")
- }
- function _0o() {
- _nc("texture_get_repeat()")
- }
- function _jX1(repeat) {
- _nc("texture_set_repeat_ext()")
- }
- function _kX1(_lX1) {
- _nc("texture_set_interpolation()")
- }
- function _mX1() {
- _nc("texture_set_interpolation_ext()")
- }
- function _nX1() {
- _nc("draw_set_alpha_test()")
- }
- function _oX1() {
- _nc("draw_set_alpha_test_ref_value()")
- }
- function _pX1() {
- _nc("draw_get_alpha_test()");
- return 0
- }
- function _qX1() {
- _nc("draw_get_alpha_test_ref_value()");
- return 0
- }
- function _jp1() {
- _nc("http_get_file()")
- }
- function _lp1() {
- _nc("zip_unzip()")
- }
- function _In(_rX1, _sX1, _tX1) {
- if (_In.arguments.length > 0) {
- if (_In.arguments.length == 3) {
- this._io = _rX1;
- this._jo = _sX1;
- this._ko = _tX1
- } else {
- this._io = _rX1._io;
- this._jo = _rX1._jo;
- this._ko = _rX1._ko
- }
- } else {
- this._io = 1.0;
- this._jo = 0.0;
- this._ko = 0.0
- }
- }
- _In.prototype._Wh = function(_ic) {
- return new _In(this._io + _ic._io, this._jo + _ic._jo, this._ko + _ic._ko)
- };
- _In.prototype._TW1 = function(_ic) {
- return new _In(this._io - _ic._io, this._jo - _ic._jo, this._ko - _ic._ko)
- };
- _In.prototype._fo = function() {
- var _Xp = 1.0 / Math.sqrt((this._io * this._io) + (this._jo * this._jo) + (this._ko * this._ko));
- this._io = this._io * _Xp;
- this._jo = this._jo * _Xp;
- this._ko = this._ko * _Xp
- };
- _In.prototype._UW1 = function(_uX1, _vX1) {
- this._io = (_uX1._jo * _vX1._ko) - (_uX1._ko * _vX1._jo);
- this._jo = (_uX1._ko * _vX1._io) - (_uX1._io * _vX1._ko);
- this._ko = (_uX1._io * _vX1._jo) - (_uX1._jo * _vX1._io)
- };
- _In.prototype._VW1 = function(_wX1) {
- return (this._io * _wX1._io) + (this._jo * _wX1._jo) + (this._ko * _wX1._ko);
- }; (function(global, _6h1, _xX1) {
- 'use strict';
- function _yX1(_zX1) {
- if (!_zX1) return;
- if (!_zX1.setTargetValueAtTime) _zX1.setTargetValueAtTime = _zX1.setTargetAtTime
- }
- if (window.hasOwnProperty('AudioContext') && (!window.hasOwnProperty('webkitAudioContext') || window.webkitAudioContext.prototype.createGainNode === undefined)) {
- window.webkitAudioContext = AudioContext;
- AudioContext.prototype._AX1 = AudioContext.prototype.createGain;
- AudioContext.prototype.createGain = function() {
- var _aI = this._AX1();
- _yX1(_aI.gain);
- return _aI;
- };
- AudioContext.prototype._BX1 = AudioContext.prototype.createDelay;
- AudioContext.prototype.createDelay = function() {
- var _aI = this._BX1();
- _yX1(_aI.delayTime);
- return _aI
- };
- AudioContext.prototype._CX1 = AudioContext.prototype.createBufferSource;
- AudioContext.prototype.createBufferSource = function() {
- var _aI = this._CX1();
- if (!_aI.noteOn) _aI.noteOn = _aI.start;
- if (!_aI.noteGrainOn) _aI.noteGrainOn = _aI.start;
- if (!_aI.noteOff) _aI.noteOff = _aI.stop;
- _yX1(_aI.playbackRate);
- return _aI
- };
- AudioContext.prototype._DX1 = AudioContext.prototype._EX1;
- AudioContext.prototype._EX1 = function() {
- var _aI = this._DX1();
- _yX1(_aI._FX1);
- _yX1(_aI._GX1);
- _yX1(_aI._Ca1);
- _yX1(_aI._HX1);
- _yX1(_aI._IX1);
- _yX1(_aI._JX1);
- return _aI
- };
- AudioContext.prototype._KX1 = AudioContext.prototype._LX1;
- AudioContext.prototype._LX1 = function() {
- var _aI = this._KX1();
- _yX1(_aI._Tg1);
- _yX1(_aI._MX1);
- _yX1(_aI._pV);
- _yX1(_aI.gain);
- var _NX1 = ['LOWPASS', 'HIGHPASS', 'BANDPASS', 'LOWSHELF', 'HIGHSHELF', 'PEAKING', 'NOTCH', 'ALLPASS'];
- for (var _H3 = 0; _H3 < _NX1.length; ++_H3) {
- var _OX1 = _NX1[_H3];
- var _PX1 = _OX1.toLowerCase();
- if (!_aI.prototype.hasOwnProperty(_OX1)) {
- _aI.prototype[_OX1] = _PX1
- }
- }
- return _aI
- };
- if (AudioContext.prototype.hasOwnProperty('createOscillator')) {
- AudioContext.prototype._QX1 = AudioContext.prototype._RX1;
- AudioContext.prototype._RX1 = function() {
- var _aI = this._QX1();
- if (!_aI.noteOn) _aI.noteOn = _aI.start;
- if (!_aI.noteOff) _aI.noteOff = _aI.stop;
- _yX1(_aI._Tg1);
- _yX1(_aI._MX1);
- var _NX1 = ['SINE', 'SQUARE', 'SAWTOOTH', 'TRIANGLE', 'CUSTOM'];
- for (var _H3 = 0; _H3 < _NX1.length; ++_H3) {
- var _OX1 = _NX1[_H3];
- var _PX1 = _OX1.toLowerCase();
- if (!_aI.prototype.hasOwnProperty(_OX1)) {
- _aI.prototype[_OX1] = _PX1;
- }
- }
- if (!_aI.prototype.hasOwnProperty('setWaveTable')) {
- _aI.prototype._SX1 = _aI.prototype._TX1
- }
- return _aI
- }
- }
- AudioContext.prototype._UX1 = AudioContext.prototype.createPanner;
- AudioContext.prototype.createPanner = function() {
- var _aI = this._UX1();
- var _NX1 = {
- 'EQUALPOWER': 'equalpower',
- 'HRTF': 'HRTF',
- 'LINEAR_DISTANCE': 'linear',
- 'INVERSE_DISTANCE': 'inverse',
- 'EXPONENTIAL_DISTANCE': 'exponential',
- };
- for (var _OX1 in _NX1) {
- var _PX1 = _NX1[_OX1];
- if (!_aI[_OX1]) {
- _aI[_OX1] = _PX1
- }
- }
- return _aI
- };
- if (!AudioContext.prototype.hasOwnProperty('createGainNode')) AudioContext.prototype.createGainNode = AudioContext.prototype.createGain;
- if (!AudioContext.prototype.hasOwnProperty('createDelayNode')) AudioContext.prototype._VX1 = AudioContext.prototype.createDelay;
- if (!AudioContext.prototype.hasOwnProperty('createJavaScriptNode')) AudioContext.prototype._WX1 = AudioContext.prototype.createScriptProcessor;
- if (!AudioContext.prototype.hasOwnProperty('createWaveTable')) AudioContext.prototype._XX1 = AudioContext.prototype.createPeriodicWave
- }
- } (window));
- var _YX1 = 0,
- _ZX1 = 1,
- __X1 = 2,
- _0Y1 = 3,
- _1Y1 = 4,
- _2Y1 = 5,
- _3Y1 = 6,
- _4Y1 = 7,
- _5Y1 = 8,
- _6Y1 = 9,
- _7Y1 = 10,
- _8Y1 = 11,
- _9Y1 = 12,
- _aY1 = 13,
- _bY1 = 14,
- _cY1 = 15;
- function _uo() {
- this._zg()
- }
- _uo.prototype._zg = function() {
- this._dY1 = [];
- this._eY1 = []
- };
- _uo.prototype._fY1 = function() {
- var _gY1 = "100\n";
- _gY1 += this._dY1.length.toString() + "\n";
- for (var _H3 = 0; _H3 < this._dY1.length; _H3++) {
- var _hY1 = this._dY1[_H3];
- _gY1 += _hY1._iY1.toString() + " ";
- switch (_hY1._iY1) {
- case _ZX1:
- break;
- case _YX1:
- _gY1 += _hY1._jY1.toString();
- break;
- case __X1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += "0.0 0.0 0.0 0.0 0.0 0.0 0.0\n";
- break;
- case _0Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += (_hY1._bb * 1.0).toString() + " ";
- _gY1 += _hY1.alpha.toString() + " ";
- _gY1 += "0.0 0.0 0.0 0.0 0.0\n";
- break;
- case _1Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._vb.toString() + " ";
- _gY1 += _hY1._xb.toString() + " ";
- _gY1 += "0.0 0.0 0.0 0.0 0.0\n";
- break;
- case _2Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._vb.toString() + " ";
- _gY1 += _hY1._xb.toString() + " ";
- _gY1 += (_hY1._bb * 1.0).toString() + " ";
- _gY1 += _hY1.alpha.toString() + " ";
- _gY1 += "0.0 0.0 0.0\n";
- break;
- case _3Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._Jc.toString() + " ";
- _gY1 += _hY1._Kc.toString() + " ";
- _gY1 += _hY1._Lc.toString() + " ";
- _gY1 += "0.0 0.0 0.0 0.0\n";
- break;
- case _4Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._Jc.toString() + " ";
- _gY1 += _hY1._Kc.toString() + " ";
- _gY1 += _hY1._Lc.toString() + " ";
- _gY1 += (_hY1._bb * 1.0).toString() + " ";
- _gY1 += _hY1.alpha.toString() + " ";
- _gY1 += "0.0 0.0\n";
- break;
- case _5Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._Jc.toString() + " ";
- _gY1 += _hY1._Kc.toString() + " ";
- _gY1 += _hY1._Lc.toString() + " ";
- _gY1 += _hY1._vb.toString() + " ";
- _gY1 += _hY1._xb.toString() + " ";
- _gY1 += "0.0 0.0\n";
- break;
- case _6Y1:
- _gY1 += _hY1._f3.toString() + " ";
- _gY1 += _hY1._g3.toString() + " ";
- _gY1 += _hY1._Cc.toString() + " ";
- _gY1 += _hY1._Jc.toString() + " ";
- _gY1 += _hY1._Kc.toString() + " ";
- _gY1 += _hY1._Lc.toString() + " ";
- _gY1 += _hY1._vb.toString() + " ";
- _gY1 += _hY1._xb.toString() + " ";
- _gY1 += (_hY1._bb * 1.0).toString() + " ";
- _gY1 += _hY1.alpha.toString() + " ";
- _gY1 += "\n";
- break;
- case _7Y1:
- case _bY1:
- case _cY1:
- _gY1 += _hY1._G9.toString() + " ";
- _gY1 += _hY1._H9.toString() + " ";
- _gY1 += _hY1._Lk.toString() + " ";
- _gY1 += _hY1._I9.toString() + " ";
- _gY1 += _hY1._J9.toString() + " ";
- _gY1 += _hY1._Mk.toString() + " ";
- _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " ";
- _gY1 += "0.0 0.0\n";
- break;
- case _aY1:
- _gY1 += _hY1._G9.toString() + " ";
- _gY1 += _hY1._H9.toString() + " ";
- _gY1 += _hY1._Lk.toString() + " ";
- _gY1 += _hY1._I9.toString() + " ";
- _gY1 += _hY1._J9.toString() + " ";
- _gY1 += _hY1._Mk.toString() + " ";
- _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._Qk * 1.0).toString() + " ";
- _gY1 += "0.0\n";
- break;
- case _8Y1:
- case _9Y1:
- _gY1 += _hY1._G9.toString() + " ";
- _gY1 += _hY1._H9.toString() + " ";
- _gY1 += _hY1._Lk.toString() + " ";
- _gY1 += _hY1._I9.toString() + " ";
- _gY1 += _hY1._J9.toString() + " ";
- _gY1 += _hY1._Mk.toString() + " ";
- _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._c3 ? 1.0 : 0.0).toString() + " ";
- _gY1 += (_hY1._Qk * 1.0).toString() + " ";
- _gY1 += "\n";
- break
- }
- }
- return _gY1
- };
- _uo.prototype._vo = function(_Ur) {
- if (_ky === !0) {
- var _kY1 = this._fY1();
- var _lY1 = _Tr(_Ur);
- _Wr(_lY1, _kY1);
- _Or(_lY1)
- } else {
- debug("d3d_model_save() browser does not support local storage\n")
- }
- };
- _uo.prototype._mY1 = function(_nY1) {
- var _oY1 = "";
- var _pY1 = !1;
- for (var _H3 = 0; _H3 < _nY1.length; _H3++) {
- var _qY1 = _nY1.charAt(_H3);
- if (_qY1 == ' ') {
- if (!_pY1) {
- _oY1 = _oY1 + _qY1
- }
- _pY1 = !0;
- } else {
- _pY1 = !1;
- _oY1 = _oY1 + _qY1
- }
- }
- return _oY1
- };
- _uo.prototype._rY1 = function(_sY1) {
- var _tY1 = _sY1.split("\n");
- var version = parseInt(_tY1[0]);
- if (version == 100) {
- var _uY1 = parseInt(_tY1[1]);
- for (var _H3 = 2; _H3 < _tY1.length; _H3++) {
- var _hY1 = {};
- var _vY1 = this._mY1(_tY1[_H3]);
- var _wY1 = _vY1.split(" ");
- _hY1._iY1 = parseInt(_wY1[0]);
- switch (_hY1._iY1) {
- case _ZX1:
- break;
- case _YX1:
- {
- _hY1._jY1 = parseInt(_wY1[1]);
- break
- }
- case __X1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- break
- }
- case _0Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._bb = parseInt(_wY1[4]);
- _hY1.alpha = parseFloat(_wY1[5]);
- break
- }
- case _1Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._vb = parseFloat(_wY1[4]);
- _hY1._xb = parseFloat(_wY1[5]);
- break
- }
- case _2Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._vb = parseFloat(_wY1[4]);
- _hY1._xb = parseFloat(_wY1[5]);
- _hY1._bb = parseInt(_wY1[6]);
- _hY1.alpha = parseFloat(_wY1[7]);
- break
- }
- case _3Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._Jc = parseFloat(_wY1[4]);
- _hY1._Kc = parseFloat(_wY1[5]);
- _hY1._Lc = parseFloat(_wY1[6]);
- break
- }
- case _4Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._Jc = parseFloat(_wY1[4]);
- _hY1._Kc = parseFloat(_wY1[5]);
- _hY1._Lc = parseFloat(_wY1[6]);
- _hY1._bb = parseInt(_wY1[7]);
- _hY1.alpha = parseFloat(_wY1[8]);
- break
- }
- case _5Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._Jc = parseFloat(_wY1[4]);
- _hY1._Kc = parseFloat(_wY1[5]);
- _hY1._Lc = parseFloat(_wY1[6]);
- _hY1._vb = parseFloat(_wY1[7]);
- _hY1._xb = parseFloat(_wY1[8]);
- break
- }
- case _6Y1:
- {
- _hY1._f3 = parseFloat(_wY1[1]);
- _hY1._g3 = parseFloat(_wY1[2]);
- _hY1._Cc = parseFloat(_wY1[3]);
- _hY1._Jc = parseFloat(_wY1[4]);
- _hY1._Kc = parseFloat(_wY1[5]);
- _hY1._Lc = parseFloat(_wY1[6]);
- _hY1._vb = parseFloat(_wY1[7]);
- _hY1._xb = parseFloat(_wY1[8]);
- _hY1._bb = parseInt(_wY1[9]);
- _hY1.alpha = parseFloat(_wY1[10]);
- break
- }
- case _7Y1:
- case _bY1:
- case _cY1:
- {
- _hY1._G9 = parseFloat(_wY1[1]);
- _hY1._H9 = parseFloat(_wY1[2]);
- _hY1._Lk = parseFloat(_wY1[3]);
- _hY1._I9 = parseFloat(_wY1[4]);
- _hY1._J9 = parseFloat(_wY1[5]);
- _hY1._Mk = parseFloat(_wY1[6]);
- _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1;
- _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1;
- break
- }
- case _aY1:
- {
- _hY1._G9 = parseFloat(_wY1[1]);
- _hY1._H9 = parseFloat(_wY1[2]);
- _hY1._Lk = parseFloat(_wY1[3]);
- _hY1._I9 = parseFloat(_wY1[4]);
- _hY1._J9 = parseFloat(_wY1[5]);
- _hY1._Mk = parseFloat(_wY1[6]);
- _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1;
- _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1;
- _hY1._Qk = ~~parseFloat(_wY1[9]);
- break
- }
- case _8Y1:
- case _9Y1:
- {
- _hY1._G9 = parseFloat(_wY1[1]);
- _hY1._H9 = parseFloat(_wY1[2]);
- _hY1._Lk = parseFloat(_wY1[3]);
- _hY1._I9 = parseFloat(_wY1[4]);
- _hY1._J9 = parseFloat(_wY1[5]);
- _hY1._Mk = parseFloat(_wY1[6]);
- _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1;
- _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1;
- _hY1._c3 = (parseFloat(_wY1[9]) >= 0.5) ? !0 : !1;
- _hY1._Qk = ~~parseFloat(_wY1[10]);
- break
- }
- }
- this._dY1.push(_hY1)
- }
- }
- };
- _uo.prototype._Ia = function(_Ur) {
- var _xY1 = _1t(_Ur, !0);
- if (_xY1 !== null && _xY1 !== undefined) {
- this._rY1(_xY1)
- } else {
- var _Zk = _CF(_Ur);
- var _La = this;
- var _yY1 = new XMLHttpRequest();
- _yY1.open("GET", _Zk, !1);
- _yY1.onload = function() {
- if (_yY1.readyState == 4 && _yY1.status == 200) {
- _La._rY1(_yY1.responseText)
- }
- };
- _yY1.send(null)
- }
- };
- _uo.prototype._qe = function(_b3) {
- this._dY1.push({
- _iY1: _YX1,
- _jY1: _b3
- })
- };
- _uo.prototype._se = function() {
- this._dY1.push({
- _iY1: _ZX1
- })
- };
- _uo.prototype._wo = function(_f3, _g3, _Cc) {
- this._dY1.push({
- _iY1: __X1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc
- })
- };
- _uo.prototype._xo = function(_f3, _g3, _Cc, _1b, alpha) {
- this._dY1.push({
- _iY1: _0Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _bb: _1b,
- alpha: alpha
- })
- };
- _uo.prototype._yo = function(_f3, _g3, _Cc, _uc, _vc) {
- this._dY1.push({
- _iY1: _1Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _vb: _uc,
- _xb: _vc
- })
- };
- _uo.prototype._zo = function(_f3, _g3, _Cc, _uc, _vc, _1b, alpha) {
- this._dY1.push({
- _iY1: _2Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _vb: _uc,
- _xb: _vc,
- _bb: _1b,
- alpha: alpha
- })
- };
- _uo.prototype._Ao = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc) {
- this._dY1.push({
- _iY1: _3Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _Jc: _Jc,
- _Kc: _Kc,
- _Lc: _Lc
- })
- };
- _uo.prototype._Bo = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) {
- this._dY1.push({
- _iY1: _4Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _Jc: _Jc,
- _Kc: _Kc,
- _Lc: _Lc,
- _bb: _1b,
- alpha: alpha
- })
- };
- _uo.prototype._Co = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) {
- this._dY1.push({
- _iY1: _5Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _Jc: _Jc,
- _Kc: _Kc,
- _Lc: _Lc,
- _vb: _uc,
- _xb: _vc
- })
- };
- _uo.prototype._Do = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) {
- this._dY1.push({
- _iY1: _6Y1,
- _f3: _f3,
- _g3: _g3,
- _Cc: _Cc,
- _Jc: _Jc,
- _Kc: _Kc,
- _Lc: _Lc,
- _vb: _uc,
- _xb: _vc,
- _bb: _1b,
- alpha: alpha
- })
- };
- _uo.prototype._Eo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- this._dY1.push({
- _iY1: _7Y1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok
- })
- };
- _uo.prototype._Fo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- this._dY1.push({
- _iY1: _8Y1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok,
- _c3: _c3,
- _Qk: _Qk
- })
- };
- _uo.prototype._Go = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) {
- this._dY1.push({
- _iY1: _9Y1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok,
- _c3: _c3,
- _Qk: _Qk
- })
- };
- _uo.prototype._Ho = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) {
- this._dY1.push({
- _iY1: _aY1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok,
- _Qk: _Qk
- })
- };
- _uo.prototype._Io = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- this._dY1.push({
- _iY1: _bY1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok
- })
- };
- _uo.prototype._Jo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) {
- this._dY1.push({
- _iY1: _cY1,
- _G9: _G9,
- _H9: _H9,
- _Lk: _Lk,
- _I9: _I9,
- _J9: _J9,
- _Mk: _Mk,
- _2o: _Nk,
- _3o: _Ok
- })
- };
- _uo.prototype._zY1 = function() {
- this._AY1 = new _wd(_xd, _sa._yd(_sa._Md), !1);
- this._AY1._jY1 = -1;
- this._AY1._BY1 = null
- };
- _uo.prototype._CY1 = function(_nd) {
- switch (_nd) {
- case _Xc:
- case _Yc:
- case __c:
- return ! 0
- }
- return ! 1
- };
- _uo.prototype._DY1 = function(_Ca) {
- var _EY1 = this._AY1;
- if ((_EY1._jY1 != -1) && ((_Tc != _EY1._jY1) || (_Uc != _EY1._BY1) || (this._CY1(_EY1._jY1) === !1))) {
- _EY1._Se();
- this._eY1[_Ca].push({
- _jY1: _md(_EY1._jY1),
- _BY1: _EY1._BY1,
- _FY1: _EY1
- });
- this._zY1();
- _EY1 = this._AY1
- }
- _EY1._0o1(_Wc);
- _EY1._jY1 = _Tc;
- _EY1._BY1 = _Uc;
- _td()
- };
- _uo.prototype._GY1 = function(_Ca) {
- var _EY1 = this._AY1;
- _EY1._Se();
- this._eY1[_Ca].push({
- _jY1: _md(_EY1._jY1),
- _BY1: _EY1._BY1,
- _FY1: _EY1
- });
- _td()
- };
- _uo.prototype._G11 = function(_hY1, _Pa) {
- var _HY1 = _Rc;
- var _La = this;
- _Rc = function() {
- _La._DY1(_Pa)
- };
- switch (_hY1._iY1) {
- case _7Y1:
- _Rk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o);
- break;
- case _8Y1:
- _Sk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._c3, _hY1._Qk);
- break;
- case _9Y1:
- _Tk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._c3, _hY1._Qk);
- break;
- case _aY1:
- _Pk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._Qk);
- break;
- case _bY1:
- _Uk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o);
- break;
- case _cY1:
- _Kk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o);
- break
- }
- _Rc = _HY1
- };
- _uo.prototype._6b = function(_f3, _g3, _Cc, _Pa) {
- var _H3, _So = new _Gn();
- _So._Mo(_f3, _g3, _Cc);
- var _To = _Uo(_Lo);
- var _F9 = new _Gn();
- _F9._Vo(_So, _To);
- _Ko(_Lo, _F9);
- if (this._eY1[_Pa] === undefined) {
- this._eY1[_Pa] = [];
- this._zY1();
- for (var _H3 = 0; _H3 < this._dY1.length; _H3++) {
- var _hY1 = this._dY1[_H3];
- switch (_hY1._iY1) {
- case _YX1:
- _Ac(_hY1._jY1, _Pa);
- break;
- case _ZX1:
- this._DY1(_Pa);
- break;
- case __X1:
- _Bc(_hY1._f3, _hY1._g3, _hY1._Cc);
- break;
- case _0Y1:
- _Dc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._bb, _hY1.alpha);
- break;
- case _1Y1:
- _Fc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._vb, _hY1._xb);
- break;
- case _2Y1:
- _Gc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._vb, _hY1._xb, _hY1._bb, _hY1.alpha);
- break;
- case _3Y1:
- _Ic(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc);
- break;
- case _4Y1:
- _Mc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._bb, _hY1.alpha);
- break;
- case _5Y1:
- _Oc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._vb, _hY1._xb);
- break;
- case _6Y1:
- _Pc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._vb, _hY1._xb, _hY1._bb, _hY1.alpha);
- break;
- case _7Y1:
- case _8Y1:
- case _9Y1:
- case _aY1:
- case _bY1:
- case _cY1:
- this._G11(_hY1, _Pa);
- break
- }
- }
- this._GY1(_Pa);
- this._AY1 = null
- }
- var _IY1 = this._eY1[_Pa];
- for (_H3 = 0; _H3 < _IY1.length; _H3++) {
- var _JY1 = _IY1[_H3];
- var _Kd = _JY1._BY1 ? _JY1._BY1.__b: null;
- _sa._Ze(_JY1._jY1, _Kd, _JY1._FY1, 0)
- }
- _Ko(_Lo, _To)
- };
- function _LC(_KY1) {
- var __h = _LC.arguments;
- var _0i = _LC.arguments.length;
- this._3i = [];
- this._Gi = [];
- this.length = 0;
- this._Ea = 0;
- if (_0i > 0) {
- for (var _H3 = 0; _H3 < _0i; _H3++) {
- this._3i[_H3] = null;
- this._Gi.push(_H3)
- }
- }
- }
- _LC.prototype.__U1 = function() {
- var _C9;
- if (this._Gi.length === 0) {
- _C9 = this._3i.length;
- this._3i[_C9] = null;
- return _C9
- }
- return this._Gi.pop()
- };
- _LC.prototype._Wh = function(_LY1) {
- var index = this.__U1();
- this._3i[index] = _LY1;
- this._Ea++;
- this.length = this._3i.length;
- return index
- };
- _LC.prototype._Gh = function(_dA) {
- var _fi = this._3i[_dA];
- if (_fi === undefined) _fi = null;
- return _fi
- };
- _LC.prototype._MY1 = function(_rF1) {
- for (var _R9 = 0; _R9 < this._3i.length; _R9++) {
- if (this._3i[_R9] == _rF1) return _R9
- }
- return - 1
- };
- _LC.prototype._NY1 = function(_rF1) {
- var index = _MY1(_rF1);
- if (index < 0) return;
- _3i[index] = null;
- _Gi.push(index);
- this._Ea--
- };
- _LC.prototype._di = function(_dA) {
- if (_dA < 0 || _dA >= this._3i.length) return;
- this._3i[_dA] = null;
- this._Gi.push(_dA);
- this._Ea--
- };
- _LC.prototype._zg = function() {
- this._3i = [];
- this._Gi = [];
- this._Ea = 0;
- this.length = this._3i.length
- };
- _LC.prototype._gi = function(_NF, _Dh) {
- if (_NF < 0 || _NF >= this._3i.length) return;
- this._3i[_NF] = _Dh
- };
- var _OY1 = 0,
- _PY1 = 1,
- _QY1 = 2,
- _RY1 = 3,
- _SY1 = 4,
- _Ez = 5,
- _yq = 6,
- _TY1 = 0,
- _rq = 1,
- _vq = -1;
- var _UY1 = [];
- var _VY1 = [];
- function _WY1(_7i, _bk1) {
- _UY1.push(_7i);
- _VY1.push(_bk1)
- }
- function _oq(_7i) {
- var _H3 = 0;
- for (_H3 = 0; _H3 < _UY1.length; _H3++) {
- if (_UY1[_H3] == _7i) {
- var _Qr = _VY1[_H3];
- _VY1.splice(_H3, 1);
- _UY1.splice(_H3, 1);
- return _Qr
- }
- }
- return undefined;
- }
- function _XY1() {
- this._YY1 = "";
- this._ZY1 = -1;
- this._qq = 0;
- this.__Y1 = null;
- this._0Z1 = _OY1;
- this._pq = !1
- }
- function _EV1() {
- this._3i = new _LC(5)
- }
- _EV1.prototype._RA = function() {
- return this._3i
- };
- _EV1.prototype._Wh = function(_Ch, _Fp1, _ce, _1Z1) {
- var _Qr = new _XY1();
- _Qr._ZY1 = _Ch;
- _Qr._YY1 = _Fp1;
- _Qr.__Y1 = _1Z1;
- _Qr._0Z1 = _ce;
- this._3i._Wh(_Qr);
- _WY1(_1Z1, _Qr)
- };
- _EV1.prototype._2Z1 = function() {
- var map = _9i();
- _w6._rG1 = map;
- var _3i = this._3i._3i;
- for (var _H3 = 0; _H3 < _3i.length; _H3++) {
- var _Qr = _3i[_H3];
- if (_Qr !== null) {
- if (_Qr._pq) {
- _ei(map);
- if (_Qr._0Z1 == _Ez) {
- _ji(map, "filename", "");
- _ji(map, "url", _Qr._YY1);
- _ji(map, "result", _Qr._ez);
- _ji(map, "http_status", _Qr._dz);
- _ji(map, "response_headers", _Qr._fz)
- } else if (_Qr._0Z1 == _yq) {
- _ji(map, "username", _Qr._lq);
- _ji(map, "password", _Qr._mq);
- _ji(map, "url", "");
- _ji(map, "result", _Qr._8j);
- _ji(map, "value", _Qr.value);
- _ji(map, "http_status", 0)
- } else {
- _ji(map, "url", "");
- _ji(map, "result", "");
- _ji(map, "http_status", 0);
- _ji(map, "filename", _Qr._YY1)
- }
- _ji(map, "id", _Qr._ZY1);
- _ji(map, "status", _Qr._qq);
- if (_Qr._0Z1 == _PY1) _Ys._uG1(_KL1, 0);
- else if (_Qr._0Z1 == _QY1) _Ys._uG1(_KL1, 0);
- else if (_Qr._0Z1 == _RY1) _Ys._uG1(_KL1, 0);
- else if (_Qr._0Z1 == _SY1) _Ys._uG1(_LL1, 0);
- else if (_Qr._0Z1 == _Ez) _Ys._uG1(_ML1, 0);
- else if (_Qr._0Z1 == _yq) _Ys._uG1(_NL1, 0);
- this._3i._di(_H3);
- if (_Qr._0Z1 == _Ez) {
- _ci(_Qr._fz)
- }
- }
- }
- }
- _ci(map);
- _w6._rG1 = -1
- };
- function _Jj() {
- this.__type = "[Background]";
- this._Z2 = "";
- this._03 = !1;
- this._13 = !1;
- this.preload = !1;
- this._Mj = null
- }
- function _3Z1(_4Z1) {
- var _hG = new _Jj();
- _hG._Z2 = _4Z1._Z2;
- if (_4Z1._03 != undefined) _hG._03 = _4Z1._03;
- if (_4Z1._13 != undefined) _hG._13 = _4Z1._13;
- if (_4Z1.preload != undefined) _hG.preload = _4Z1.preload;
- _hG._Mj = _5Z1(_4Z1._83);
- return _hG
- }
- function _6Z1(_4Z1) {
- this._zg();
- if (_4Z1._Q3 != undefined) this._Q3 = _4Z1._Q3;
- if (_4Z1._7Z1 != undefined) this._7Z1 = _4Z1._7Z1;
- if (_4Z1.index != undefined) this.index = _4Z1.index;
- if (_4Z1._f3 != undefined) this._f3 = _4Z1._f3;
- if (_4Z1._g3 != undefined) this._g3 = _4Z1._g3;
- if (_4Z1._m5 != undefined) this._8Z1 = _4Z1._m5;
- if (_4Z1._n5 != undefined) this._9Z1 = _4Z1._n5;
- if (_4Z1._H7 != undefined) this._aZ1 = _4Z1._H7;
- if (_4Z1._G7 != undefined) this._bZ1 = _4Z1._G7;
- if (_4Z1._cZ1 != undefined) this._cZ1 = _4Z1._cZ1;
- if (_4Z1.alpha != undefined) this.alpha = _4Z1.alpha;
- if (_4Z1._iX1 != undefined) this._iX1 = _4Z1._iX1
- }
- _6Z1.prototype._zg = function() {
- this._Q3 = !1;
- this._7Z1 = !1;
- this.index = -1;
- this._f3 = 0;
- this._g3 = 0;
- this._8Z1 = !0;
- this._9Z1 = !0;
- this._aZ1 = 0;
- this._bZ1 = 0;
- this._dZ1 = 1;
- this._eZ1 = 1;
- this._cZ1 = !1;
- this.alpha = 1.0;
- this._iX1 = 0xffffff
- };
- function _zV1() {
- this._fZ1 = [];
- this._gZ1 = []
- }
- _zV1.prototype._Xj = function(_NF) {
- return this._fZ1[_NF]
- };
- _zV1.prototype._Gh = function(_NF) {
- return this._gZ1[_NF]
- };
- _zV1.prototype._zg = function() {
- this._gZ1 = []
- };
- _zV1.prototype._GW1 = function(_4Z1) {
- var _hZ1 = null;
- if (_4Z1 != null) {
- _hZ1 = _3Z1(_4Z1)
- }
- return this._Oj(_hZ1);
- };
- _zV1.prototype._Oj = function(_iZ1) {
- var _H3 = this._fZ1.length;
- this._fZ1[_H3] = _iZ1;
- return _H3
- };
- _zV1.prototype._Wh = function(_4Z1) {
- var _hZ1 = null;
- if (_4Z1 != null) {
- _hZ1 = new _6Z1(_4Z1)
- }
- this._gZ1[this._gZ1.length] = _hZ1
- };
- var _jZ1 = -1,
- _kZ1 = -2,
- _lZ1 = -3,
- _mZ1 = -4,
- _nZ1 = -5;
- var _oZ1 = 0,
- _pZ1 = 1,
- _qZ1 = 2,
- _rZ1 = 3,
- _sZ1 = 4;
- var _tZ1 = 0,
- _uZ1 = 1,
- _vZ1 = 2,
- _wZ1 = 3,
- _xZ1 = 4,
- _fw1 = 5,
- _hw1 = 6,
- _yZ1 = 7,
- _gw1 = 8,
- _zZ1 = 9,
- _AZ1 = 10,
- _BZ1 = 11;
- var _jw1 = 0,
- _CZ1 = 1,
- _DZ1 = 2;
- function __j1(__d) {
- var _x3 = 1;
- while (_x3 <= 1024) {
- if (__d <= _x3) return _x3;
- _x3 = _x3 << 1
- }
- return 1024
- }
- function _EZ1(__d, _ce, _FZ1) {
- _FZ1 = __j1(_FZ1 & 0x1ff);
- this._GZ1 = __d + _FZ1;
- this._0Z1 = _ce;
- this._HZ1 = __d;
- this._IZ1 = _FZ1;
- this._JZ1 = 0;
- this._cw1 = 0;
- this._KZ1 = new ArrayBuffer(__d);
- this._LZ1 = new DataView(this._KZ1)
- }
- _EZ1.prototype._MZ1 = function(_5o1) {
- var _NZ1 = new ArrayBuffer(_5o1);
- var _OZ1 = new Uint8Array(this._KZ1);
- var _PZ1 = new Uint8Array(_NZ1);
- _PZ1.set(_OZ1);
- this._KZ1 = _NZ1;
- this._LZ1 = new DataView(this._KZ1);
- this._HZ1 = _5o1
- };
- _EZ1.prototype._QZ1 = function() {
- this._JZ1 = (this._JZ1 + this._HZ1) % this._IZ1
- };
- function _RZ1(_ce) {
- var _SZ1 = 0;
- switch (_ce) {
- case _AZ1:
- case _uZ1:
- case _vZ1:
- _SZ1 = 1;
- break;
- case _wZ1:
- case _xZ1:
- _SZ1 = 2;
- break;
- case _hw1:
- case _fw1:
- case _gw1:
- _SZ1 = 4;
- break;
- case _zZ1:
- _SZ1 = 8;
- break
- }
- return _SZ1
- }
- _EZ1.prototype._TZ1 = function(_UZ1, __d) {
- if (this._HZ1 == 0) return;
- if (__d < 0) __d = this._HZ1;
- if (this._0Z1 == _qZ1) {
- while (_UZ1 < 0) _UZ1 += this._HZ1;
- while (_UZ1 >= this._HZ1) _UZ1 -= this._HZ1
- } else {
- if (_UZ1 < 0) _UZ1 = 0;
- if (_UZ1 >= this._HZ1) _UZ1 = this._HZ1 - 1;
- if ((_UZ1 + __d) > this._HZ1) __d = this._HZ1 - _UZ1
- }
- if (__d > this._HZ1 - _UZ1) {
- return ""
- } else {
- var _iC1 = String.fromCharCode.apply(null, new Uint8Array(this._KZ1, _UZ1, __d));
- return _VZ1(_iC1, __d)
- }
- };
- _EZ1.prototype._ew1 = function(_ce, _bt) {
- var _x3 = 0;
- this._cw1 = (((this._cw1 + this._JZ1) + (this._IZ1 - 1)) & ~ (this._IZ1 - 1)) - this._JZ1;
- if (this._cw1 >= this._HZ1 && this._0Z1 == _qZ1) {
- while (this._cw1 >= this._HZ1) {
- this._QZ1();
- this._cw1 -= this._HZ1
- }
- }
- if ((this._cw1 >= this._HZ1) && (this._0Z1 != _pZ1)) {
- return _kZ1
- }
- var _SZ1 = _RZ1(_ce);
- if (_ce == _BZ1) {
- _SZ1 = _bt.length + 1
- }
- if ((this._cw1 + _SZ1) > this._HZ1) {
- if (this._0Z1 == _pZ1) {
- var _WZ1 = this._HZ1;
- var _5o1 = this._HZ1;
- while ((this._cw1 + _SZ1) > _5o1) {
- _5o1 = (_5o1 << 1)
- }
- this._MZ1(_5o1)
- } else {
- if (this._0Z1 != _qZ1) {
- return _kZ1
- }
- }
- }
- switch (_ce) {
- case _AZ1:
- if (_bt == !0) {
- _bt = 1
- } else {
- _bt = 0
- }
- case _uZ1:
- {
- this._LZ1.setUint8(this._cw1, _bt);
- this._cw1++
- }
- break;
- case _BZ1:
- {
- var _H3 = 0;
- for (_H3 = 0; _H3 < _bt.length; _H3++) {
- this._LZ1.setUint8(this._cw1, _bt.charCodeAt(_H3));
- this._cw1++
- }
- this._LZ1.setUint8(this._cw1, '\0');
- this._cw1++;
- }
- break;
- case _vZ1:
- this._LZ1.setInt8(this._cw1, _bt);
- this._cw1++;
- break;
- case _wZ1:
- this._LZ1.setUint16(this._cw1, _bt, !0);
- this._cw1 += 2;
- break;
- case _xZ1:
- this._LZ1.setInt16(this._cw1, _bt, !0);
- this._cw1 += 2;
- break;
- case _hw1:
- this._LZ1.setInt32(this._cw1, _bt, !0);
- this._cw1 += 4;
- break;
- case _fw1:
- this._LZ1.setUint32(this._cw1, _bt, !0);
- this._cw1 += 4;
- break;
- case _gw1:
- this._LZ1.setFloat32(this._cw1, _bt, !0);
- this._cw1 += 4;
- break;
- case _zZ1:
- this._LZ1.setFloat64(this._cw1, _bt, !0);
- this._cw1 += 8;
- break
- }
- };
- _EZ1.prototype._XZ1 = function(_ce, _UZ1, _bt) {
- if (_UZ1 < 0) return;
- var _x3 = _RZ1(_ce);
- if (this._0Z1 != _qZ1) {
- if (_UZ1 > (this._HZ1 - _x3)) return 0
- } else {
- while (_UZ1 >= this._HZ1) {
- _UZ1 -= this._HZ1
- }
- }
- switch (_ce) {
- case _AZ1:
- if (_bt == !0) {
- _bt = 1
- } else {
- _bt = 0
- }
- case _uZ1:
- {
- this._LZ1.setUint8(_UZ1, _bt)
- }
- break;
- case _vZ1:
- this._LZ1.setInt8(_UZ1, _bt);
- break;
- case _wZ1:
- this._LZ1.setUint16(_UZ1, _bt, !0);
- break;
- case _xZ1:
- this._LZ1.setInt16(_UZ1, _bt, !0);
- break;
- case _hw1:
- this._LZ1.setInt32(_UZ1, _bt, !0);
- break;
- case _fw1:
- this._LZ1.setUint32(_UZ1, _bt, !0);
- break;
- case _gw1:
- this._LZ1.setFloat32(_UZ1, _bt, !0);
- break;
- case _zZ1:
- this._LZ1.setFloat64(_UZ1, _bt, !0);
- break
- }
- };
- _EZ1.prototype._iw1 = function(_YZ1, _UZ1) {
- switch (_YZ1) {
- case _jw1:
- this._cw1 = _UZ1;
- break;
- case _CZ1:
- this._cw1 += _UZ1;
- break;
- case _DZ1:
- this._cw1 = this._HZ1 - _UZ1;
- break
- }
- return this._cw1
- };
- _ZZ1 = function() {
- _nc("vertex_create_buffer")
- };
- __Z1 = function(_x3) {
- _nc("vertex_create_buffer_ext")
- };
- _0_1 = function(buffer) {
- _nc("vertex_delete_buffer")
- };
- _1_1 = function(buffer, _zA1) {
- _nc("vertex_begin");
- };
- _2_1 = function(buffer) {
- _nc("vertex_end")
- };
- _3_1 = function(buffer, _f3, _g3) {
- _nc("vertex_position")
- };
- _4_1 = function(buffer, _f3, _g3, _Cc) {
- _nc("vertex_position_3d")
- };
- _5_1 = function(buffer, _1b, alpha) {
- _nc("vertex_colour")
- };
- _6_1 = function(buffer, _T9, _jb, _W9, _kb) {
- _nc("vertex_rgba")
- };
- _7_1 = function(buffer, _T9, _jb, _W9, _kb) {
- _nc("vertex_argb")
- };
- _8_1 = function(buffer, _vb, _xb) {
- _nc("vertex_texcoord")
- };
- _9_1 = function(buffer, _f3, _g3, _Cc) {
- _nc("vertex_normal")
- };
- _a_1 = function(buffer, _f3) {
- _nc("vertex_float1")
- };
- _b_1 = function(buffer, _f3, _g3) {
- _nc("vertex_float2")
- };
- _c_1 = function(buffer, _f3, _g3, _Cc) {
- _nc("vertex_float3")
- };
- _d_1 = function(buffer, _f3, _g3, _Cc, _J3) {
- _nc("vertex_float4")
- };
- _e_1 = function(buffer, _f3, _g3, _Cc, _J3) {
- _nc("vertex_ubyte4")
- };
- _f_1 = function(buffer) {
- _nc("vertex_freeze")
- };
- _g_1 = function(buffer) {
- _nc("vertex_submit")
- };
- var _h_1 = 8 * 1024;
- var _i_1 = [];
- function _j_1() {
- _ZZ1 = _k_1;
- __Z1 = _l_1;
- _0_1 = _m_1;
- _1_1 = _n_1;
- _2_1 = _o_1;
- _3_1 = _p_1;
- _4_1 = _q_1;
- _5_1 = _r_1;
- _6_1 = _s_1;
- _7_1 = _t_1;
- _8_1 = _u_1;
- _9_1 = _v_1;
- _a_1 = _w_1;
- _b_1 = _x_1;
- _c_1 = _y_1;
- _d_1 = _z_1;
- _e_1 = _A_1;
- _f_1 = _B_1;
- _g_1 = _C_1
- }
- function _k_1() {
- return __Z1(_h_1)
- }
- function _l_1(__d) {
- var _D_1 = new _Zd(__d);
- var _E_1 = _i_1.length;
- for (var _H3 = 0; _H3 < _i_1; _H3++) {
- if ((_i_1[_H3] === null) || (_i_1[_H3] === undefined)) {
- _E_1 = _H3;
- break
- }
- }
- _i_1[_E_1] = _D_1;
- return _E_1
- }
- function _m_1(_zH) {
- _i_1[_zH] = null
- }
- function _n_1(_zH, _5i1) {
- _i_1[_zH]._qe(_5i1)
- }
- function _o_1(_zH) {
- _i_1[_zH]._se()
- }
- function _p_1(_zH, _f3, _g3) {
- _i_1[_zH]._te(_f3, _g3)
- }
- function _q_1(_zH, _f3, _g3, _Cc) {
- _i_1[_zH]._we(_f3, _g3, _Cc)
- }
- function _r_1(_zH, _1b, alpha) {
- _i_1[_zH]._ye(_1b, alpha)
- }
- function _s_1(_zH, _De) {
- _i_1[_zH]._Ce(_De)
- }
- function _t_1(_zH, _Fe) {
- _i_1[_zH]._Ee(_Fe)
- }
- function _u_1(_zH, _vb, _xb) {
- _i_1[_zH]._Ge(_vb, _xb)
- }
- function _v_1(_zH, _f3, _g3, _Cc) {
- _i_1[_zH]._Ie(_f3, _g3, _Cc)
- }
- function _w_1(_zH, _f3) {
- _i_1[_zH]._Ke(_f3)
- }
- function _x_1(_zH, _f3, _g3) {
- _i_1[_zH]._Me(_f3, _g3)
- }
- function _y_1(_zH, _f3, _g3, _Cc) {
- _i_1[_zH]._Ne(_f3, _g3, _Cc)
- }
- function _z_1(_zH, _f3, _g3, _Cc, _J3) {
- _i_1[_zH]._Oe(_f3, _g3, _Cc, _J3)
- }
- function _A_1(_zH, _f3, _g3, _Cc, _J3) {
- _i_1[_zH]._Qe(_f3, _g3, _Cc, _J3)
- }
- function _B_1(_zH) {
- var _D_1 = _i_1[_zH];
- if (_D_1) {
- _D_1._Se()
- }
- }
- function _C_1(_zH, _Xe, _Ye) {
- var _Hd, _D_1 = _i_1[_zH];
- if (_D_1) {
- _D_1._We(_md(_Xe), _Ye)
- }
- }
- function _sV1() {
- this.__type = "[BuiltIn]";
- this._F_1 = 0;
- this._BW1 = 0;
- this._CW1 = 0;
- this._G_1 = 0;
- this._H_1 = 0;
- this.__6 = 0;
- this._I_1 = 0;
- this._J_1 = 100;
- this._pW1 = 0;
- this._rW1 = "/";
- this._K_1 = "/";
- this._L_1 = "/";
- this._M_1 = 0;
- this._N_1 = 0;
- this._B6 = 0;
- this._z6 = 0;
- this._O_1 = "room";
- this._P_1 = 30;
- this._Q_1 = !1;
- this._R_1 = 0x00000000;
- this._S_1 = !1;
- this._T_1 = !1;
- this._U_1 = !1;
- this._V_1 = 0;
- this._W_1 = 0;
- this._X_1 = 0;
- this._Y_1 = 0;
- this._Z_1 = 0;
- this.___1 = 0;
- this._002 = 0;
- this._102 = 1.0;
- this._202 = 1.0;
- this._302 = 0;
- this._402 = 0;
- this._502 = 0;
- this._602 = 1.0;
- this._702 = !1;
- this._802 = 0;
- this._902 = 0;
- this._g8 = 0;
- this._h8 = 0;
- this._A6 = 0;
- this._y6 = 0;
- this._a02 = 0;
- this._b02 = 0;
- this._c02 = 0;
- this._d02 = 0;
- this._e02 = 0;
- this._f02 = 0;
- this._g02 = 0;
- this._h02 = 0;
- this._i02 = 0;
- this._j02 = 0;
- this._h7 = 0;
- this._lL = 0;
- this._k02 = 0;
- this._l02 = 0;
- this._m02 = 0;
- this._n02 = 0;
- this._o02 = "";
- this._p02 = "";
- this._tW1 = !1;
- this._q02 = !1;
- this._r02 = !1;
- this._s02 = !1;
- this._t02 = "score";
- this._u02 = "lives";
- this._v02 = "health";
- this._w02 = 0;
- this._x02 = 0;
- this._y02 = 0;
- this._z02 = 0;
- this._A02 = 0;
- this._B02 = 0;
- this._C02 = 0;
- this._D02 = 0;
- this._E02 = 0;
- this._F02 = 0;
- this._G02 = 0;
- this._eX1 = 0;
- this._H02 = 0;
- this._I02 = 0;
- this._J02 = !0;
- this._K02 = !0;
- this._L02 = 8.2;
- this._rG1 = -1;
- this._cy = -1;
- this._M02 = !1;
- this._N02 = -1;
- this._902 = [];
- this._g8 = [];
- this._h8 = [];
- this._A6 = [];
- this._y6 = [];
- this._a02 = [];
- this._b02 = [];
- this._c02 = [];
- this._d02 = [];
- this._e02 = [];
- this._f02 = [];
- this._g02 = [];
- this._h02 = [];
- this._i02 = [];
- this._j02 = [];
- this._O02 = [];
- this._T_1 = [];
- this._U_1 = [];
- this._V_1 = [];
- this._W_1 = [];
- this._X_1 = [];
- this._Y_1 = [];
- this._Z_1 = [];
- this.___1 = [];
- this._002 = [];
- this._102 = [];
- this._202 = [];
- this._302 = [];
- this._402 = [];
- this._502 = [];
- this._602 = []
- }
- _sV1.prototype._x6 = function() {
- return _H8._Kg
- };
- _sV1.prototype._O6 = function() {
- return _P02()
- };
- _sV1.prototype._P6 = function() {
- return _Q02()
- };
- _sV1.prototype._C6 = function() {
- return _FK1;
- };
- _sV1.prototype._Q6 = function() {
- return _H8.id
- };
- _sV1.prototype._R6 = function(_Dh) {
- return _H8._R02((_Dh > 0.5) ? !0 : !1)
- };
- _sV1.prototype._yh = function(_S02) {
- for (var _xb = 0; _xb < _S02.length; _xb++) {
- var _mv = _S02[_xb];
- this[_xb] = _mv
- }
- };
- function _Fs() {
- this.__type = "[Font]";
- this._Gs = !1;
- this._T02 = !1;
- this._Z2 = "";
- this._Hs = "";
- this._x3 = 12;
- this.bold = !1;
- this._y3 = !1;
- this._z3 = 32;
- this._A3 = 127;
- this._Ls = "";
- this.prop = !1;
- this._U02 = 0;
- this._V02 = null;
- this.antialias = 0;
- this._B3 = 0;
- this._W02 = 1;
- this._X02 = 1;
- this._G3 = null;
- this._Mj = null;
- this._Y02 = null
- }
- _Fs.prototype._Z02 = function(_4Z1) {
- this._Z2 = _4Z1._Z2;
- this._Hs = _4Z1._C3;
- this._x3 = _4Z1._x3;
- this.bold = _4Z1.bold;
- this._y3 = _4Z1._y3;
- this._z3 = _4Z1._z3 & 0xffff;
- this._Gs = !1;
- this.antialias = 0;
- this._B3 = 0;
- if (((_4Z1._z3 >> 16) & 0xff) !== 0) this._B3 = (_4Z1._z3 >> 16) & 0xff;
- if (((_4Z1._z3 >> 24) & 0xff) !== 0) this.antialias = ((_4Z1._z3 >> 24) & 0xff) - 1;
- this._A3 = _4Z1._A3;
- this._W02 = _4Z1._E3;
- this._X02 = _4Z1._F3;
- this._G3 = [];
- var _Mq = 99999999;
- var _R9 = -99999999;
- var maxHeight = 0;
- for (var __02 = 0; __02 < _4Z1._G3.length; __02++) {
- var index = -2;
- _012 = _4Z1._G3[__02];
- if (_012._I3 != undefined) index = _012._I3.charCodeAt(0);
- else if (_012._H3 != undefined) index = _012._H3;
- this._G3[index] = _012;
- if (index < _Mq) _Mq = index;
- if (index > _R9) _R9 = index;
- if (_012._K3 > maxHeight) maxHeight = _012._K3
- }
- this._112 = maxHeight;
- this._z3 = _Mq;
- this._A3 = _R9;
- this._Mj = _5Z1(_4Z1._D3)
- };
- _Fs.prototype._212 = function() {
- var height = 0;
- for (var _C9 = 0; _C9 < this._Y02._VF.length; _C9++) {
- var _Kj = this._Y02._VF[_C9];
- height = _S9(height, _Kj._x5)
- }
- this._x3 = height
- };
- _Fs.prototype._312 = function(_Xr) {
- if ((this._V02 != null) && (this._V02 != undefined)) {
- var _zi = "";
- for (var _H3 = 0; _H3 < _Xr.length; _H3++) {
- if (_Xr.charAt(_H3) === '\n') {
- _zi = _zi + _Xr.charAt(_H3)
- } else {
- var _412 = this._V02.indexOf(_Xr.charAt(_H3));
- if ((_412 >= 0) && (_412 < this._V02.length)) {
- _zi = _zi + String.fromCharCode(this._z3 + _412)
- }
- }
- }
- return _zi
- }
- return _Xr
- };
- _Fs.prototype._512 = function(_Xr) {
- if ((!_Xr) || (0 === _Xr.length)) return 0;
- if (this._Gs) {
- return this._x3
- } else {
- return this._112
- }
- };
- _Fs.prototype._612 = function(_Xr) {
- if ((!_Xr) || (0 === _Xr.length)) return 0;
- var _zi = this._312(_712(_Xr));
- var _4B1 = _zi.split('\n');
- if (this._Gs) {
- if (this._T02) {
- var _nv = 0;
- for (var _H3 = 0; _H3 < _4B1.length; _H3++) {
- var _812 = 0;
- var _vA1 = _4B1[_H3];
- for (var __9 = 0; __9 < _vA1.length; __9++) {
- _812 += this._912(_zi.charCodeAt(__9))
- }
- _nv = _S9(_nv, _812)
- }
- return _nv
- } else {
- var _nv = 0;
- _yb.font = this._Ls;
- for (var _H3 = 0; _H3 < _4B1.length; _H3++) {
- var _3J1 = _yb.measureText(_4B1[_H3]);
- _nv = _S9(_nv, _3J1.width)
- }
- return _nv
- }
- } else {
- var _nv = 0;
- for (var _H3 = 0; _H3 < _4B1.length; _H3++) {
- var _812 = 0;
- var _vA1 = _4B1[_H3];
- for (var __9 = 0; __9 < _vA1.length; __9++) {
- var _I3 = _vA1.charCodeAt(__9);
- var _012 = this._G3[_I3];
- if (!_012) {
- _012 = this._G3[this._z3]
- }
- _812 += _012.shift
- }
- _nv = _S9(_nv, _812)
- }
- return _nv
- }
- };
- _Fs.prototype._912 = function(_yL) {
- if (this._Gs) {
- if (this._T02) {
- var _nv = this._U02;
- if ((_yL >= this._z3) && (_yL < this._A3)) {
- var _Kj = this._Y02._VF[_yL - this._z3];
- if (this.prop) {
- _nv += _Kj._u5
- } else {
- _nv += _Kj._w5
- }
- } else if (_yL === 32) {
- _nv += this._a12;
- }
- return _nv
- } else {
- _yb.font = this._Ls;
- if (_yb.measureText) {
- var _3J1 = _yb.measureText(String.fromCharCode(_yL));
- return _3J1.width
- }
- return 0
- }
- }
- var _012 = this._G3[_yL];
- if (_012) {
- return _012.shift
- } else if (0x20 >= this._z3 && 0x20 <= this._A3) {
- return this._G3[0x20].shift
- } else {
- return this._G3[this._z3].shift
- }
- };
- _Fs.prototype._b12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) {
- var _d12;
- var _e12 = this._Mj;
- if (!_e12._Ga.complete) return;
- var _Xp = _c12.length;
- _Sd = _Sd & 0xffffff | ((_Gd * 255) << 24);
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- _yL = _c12.charCodeAt(_H3);
- var _012 = this._G3[_yL];
- if (!_012) _012 = this._G3[0x20];
- var _Za = _012._f3;
- var __a = _012._g3;
- var _8w = _012._J3;
- var _aw = _012._K3;
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_e12, _Za + _e12._f3, __a + _e12._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m, _Sd)
- } else {
- _yb._UF(_e12, _Za + _e12._f3, __a + _e12._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w, _aw, _Sd)
- }
- _V8 += __l * this._912(_yL)
- }
- };
- _Fs.prototype._f12 = function(_V8, _W8, _Z8) {
- var _So = new _Gn();
- _So._Mo( - _V8, -_W8, 0);
- var _Xo = new _Gn();
- _Xo._Qo(_Z8);
- var _JM = new _Gn();
- _JM._Vo(_So, _Xo);
- _So._Mo(_V8, _W8, 0);
- var _g12 = new _Gn();
- _g12._Vo(_JM, _So);
- return _g12
- };
- _Fs.prototype._h12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) {
- if (this._Gs) {
- this._b12(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd)
- }
- var _d12;
- var _e12 = this._Mj;
- if (!_e12._Ga.complete) return;
- var _Xp = _c12.length;
- _Sd = _Sd & 0xffffff | ((_Gd * 255) << 24);
- var _Uv = _Sd,
- _Vv = _Sd,
- _i12 = _Sd,
- _j12 = _Sd;
- if (_k12) {
- _Uv &= 0xfffefffe;
- _Vv &= 0xfffefffe;
- _i12 &= 0xfffefffe;
- _j12 &= 0xfffefffe;
- _Vv |= 0x00010000;
- _i12 |= 0x00000001;
- _j12 |= 0x00010001
- }
- var _2c, _ac, _cc, _ec;
- if (!_e12._Ga.__b) _0c(_e12);
- var _l12;
- if (Math.abs(_Z8) > 0.001) {
- _l12 = _Uo(_Lo);
- _Ko(_Lo, this._f12(_V8, _W8, _Z8))
- }
- var _1c = _Xp * 6;
- _2c = _sa._3c(_4c._5c, _e12._Ga.__b, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _1c;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _E3, _F3;
- var _F3 = this._X02 * _0m;
- if (Math.abs(_Z8) < 0.001) {
- _E3 = this._W02 * __l;
- _F3 = this._X02 * _0m
- } else {
- _E3 = 1;
- _F3 = 1
- }
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- _yL = _c12.charCodeAt(_H3);
- var _012 = this._G3[_yL];
- if (!_012) _012 = this._G3[0x20];
- var _Za = _012._f3;
- var __a = _012._g3;
- var _8w = _012._J3;
- var _aw = _012._K3;
- var _BE1 = _Za + _e12._f3;
- var _CE1 = __a + _e12._g3;
- var _f3 = _V8 + (_012._L3 * __l);
- var _J3 = _8w * _E3;
- var _K3 = _aw * _F3;
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _J3;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _K3;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = (_BE1 + 0.0) / _e12._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = (_CE1 + 0.0) / _e12._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = ((_BE1 + _8w) + 0.0) / _e12._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = ((_CE1 + _aw) + 0.0) / _e12._Ga.height;
- _cc[_gc] = _cc[_lc] = _Uv;
- _cc[_hc] = _Vv;
- _cc[_ic] = _cc[_jc] = _i12;
- _cc[_kc] = _j12;
- _gc += (_7c * 6);
- _hc += (_7c * 6);
- _ic += (_7c * 6);
- _jc += (_7c * 6);
- _kc += (_7c * 6);
- _lc += (_7c * 6);
- _V8 += __l * _012.shift
- }
- if (_l12 != undefined) {
- _Ko(_Lo, _l12)
- }
- };
- _Fs.prototype._m12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) {
- var _d12;
- var _e12 = _Ha[this._Mj._y5];
- if (!_e12.complete) return;
- _yb.globalAlpha = _Gd;
- var _Xp = _c12.length;
- _Sd = _Sd & 0xffffff;
- if (_Sd != 0xffffff) {
- _d12 = _Bb(this._Mj, _Sd)
- }
- _Z8 = _6V1(_Z8);
- if (Math.abs(_Z8) > 0.001) {
- _n12(_V8, _W8, this._W02 * __l, this._W02 * _0m, -_Z8);
- _V8 = 0;
- _W8 = 0
- }
- _V8 = ~~ (_V8 + 0.5);
- _W8 = ~~ (_W8 + 0.5);
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- _yL = _c12.charCodeAt(_H3);
- var _012 = this._G3[_yL];
- if (!_012) {
- _012 = this._G3[0x20]
- }
- var _Za = _012._f3;
- var __a = _012._g3;
- var _8w = _012._J3;
- var _aw = _012._K3;
- if (_8w == 99999) {
- continue
- }
- if ((_Sd != 0xffffff) && (_d12 != null)) {
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_d12, _Za, __a, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m)
- } else {
- _yb._UF(_d12, _Za, __a, _8w, _aw, _V8 + _012._L3, _W8, _8w, _aw)
- }
- } else {
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_e12, _Za + this._Mj._f3, __a + this._Mj._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m)
- } else {
- _yb._UF(_e12, _Za + this._Mj._f3, __a + this._Mj._g3, _8w, _aw, _V8 + _012._L3, _W8, _8w, _aw)
- }
- }
- if (Math.abs(_Z8) < 0.001) {
- _V8 += __l * this._912(_yL)
- } else {
- _V8 += this._912(_yL)
- }
- }
- if (Math.abs(_Z8) > 0.001) _o12()
- };
- _Fs.prototype._p12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) {
- if (this._Y02 == null) return;
- _yb.globalAlpha = _Gd;
- var _Xp = _c12.length;
- _Sd = _Sd & 0xffffff;
- var _1b = _Sd | (_Ad * 255) << 24;
- _Z8 = _6V1(_Z8);
- var _la = Math.sin(_Z8);
- var _ma = Math.cos(_Z8);
- var _q12 = _la * __l;
- var _r12 = _ma * __l;
- var _s12 = this._W02 * __l;
- var _t12 = this._X02 * _0m;
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- _yL = _c12.charCodeAt(_H3);
- if (_yL < this._z3 || _yL >= this._A3) {} else {
- var _f3 = _V8;
- var _g3 = _W8;
- var _Kj = this._Y02._VF[_yL - this._z3];
- var _e12 = _Ha[_Kj._y5];
- if (_e12.complete) {
- var _Jw = _Kj._s5;
- var _Kw = _Kj._t5;
- if (this.prop) _Jw = 0;
- if (_Sd != 0xffffff) {
- var _d12;
- if (!_sa) {
- _d12 = _Bb(_Kj, _Sd)
- } else {
- _d12 = _Kj
- }
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_d12, 0, 0, _Kj._u5, _Kj._v5, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12)
- } else {
- _n12(_f3, _g3, _s12, _t12, -_Z8);
- _yb._UF(_d12, 0, 0, _Kj._u5, _Kj._v5, _Jw, _Kw, _Kj._u5, _Kj._v5);
- _o12()
- }
- } else {
- if (_sa) {
- _e12 = _Kj
- }
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_e12, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12)
- } else {
- _n12(_f3, _g3, _s12, _t12, -_Z8);
- _yb._UF(_e12, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _Jw, _Kw, _Kj._u5, _Kj._v5);
- _o12()
- }
- }
- }
- }
- var shift = this._912(_yL);
- _V8 = _V8 + _r12 * shift;
- _W8 = _W8 - _q12 * shift
- }
- };
- _Fs.prototype._u12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) {
- if (this._Y02 == null) return;
- _yb.globalAlpha = _Gd;
- var _Xp = _c12.length;
- _Sd = _Sd & 0xffffff;
- var _1b = _Sd | (_Ad * 255) << 24;
- _Z8 = _6V1(_Z8);
- var _la = Math.sin(_Z8);
- var _ma = Math.cos(_Z8);
- var _q12 = _la * __l;
- var _r12 = _ma * __l;
- var _s12 = this._W02 * __l;
- var _t12 = this._X02 * _0m;
- for (var _H3 = 0; _H3 < _Xp; _H3++) {
- _yL = _c12.charCodeAt(_H3);
- if (_yL < this._z3 || _yL > this._A3) {} else {
- var _f3 = _V8;
- var _g3 = _W8;
- var _Kj = this._Y02._VF[_yL - this._z3];
- var _e12 = _Ha[_Kj._y5];
- if (_e12.complete) {
- var _Jw = _Kj._s5;
- var _Kw = _Kj._t5;
- if (this.prop) _Jw = 0;
- if (Math.abs(_Z8) < 0.001) {
- _yb._UF(_Kj, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12, _1b)
- } else {
- _n12(_f3, _g3, _s12, _t12, -_Z8);
- _yb._UF(_Kj, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _Jw, _Kw, _Kj._u5, _Kj._v5, _1b);
- _o12()
- }
- }
- }
- var shift = this._912(_yL);
- _V8 = _V8 + _r12 * shift;
- _W8 = _W8 - _q12 * shift
- }
- };
- function _BV1() {
- this._w3 = [];
- this.length = 0;
- this._v12 = null;
- this._fs = 0;
- this._ds = 0;
- this._cs = 0;
- var _Es = _ys("Arial", 12, !1, !1, 32, 127, !1);
- this._w3[ - 1] = _Es;
- _5U1 = -1;
- this._fs = _5U1
- }
- _BV1.prototype._zg = function() {
- this._w3 = [];
- length = 0
- };
- _BV1.prototype._Wh = function(_4Z1) {
- var _Es = null;
- if (_4Z1 != null) {
- _Es = new _Fs();
- _Es._Z02(_4Z1)
- }
- this._w3[this._w3.length] = _Es;
- return this._w3.length - 1
- };
- _BV1.prototype._Ns = function(_w12) {
- this._w3[this._w3.length] = _w12;
- return this._w3.length - 1
- };
- _BV1.prototype._x12 = function() {
- if (this._fs >= 0 && this._fs <= this._w3.length && this._w3[this._fs] != null) {
- this._v12 = this._w3[this._fs];
- } else {
- this._v12 = this._w3[ - 1]
- }
- };
- _BV1.prototype._Gh = function(_Ch) {
- if (_Ch >= 0 && _Ch <= this._w3.length && this._w3[_Ch]) {
- return this._w3[_Ch]
- }
- return null
- };
- function _712(_zi) {
- if (_zi == null) return 0;
- var _y12 = _zi;
- var _ce1 = "";
- var _H3 = 0;
- var _HU = 0;
- while (_HU < _y12.length) {
- var _9q = _y12[_HU];
- if (_9q == '#') {
- if ((_H3 > 0) && (_y12[_HU - 1] == '\\')) {
- _ce1 = _ce1.substring(0, _ce1.length - 1) + '#'
- } else {
- _ce1 += String.fromCharCode(0x0a);
- _H3++
- }
- } else {
- _ce1 += _9q;
- _H3++
- }
- _HU++
- }
- return _ce1
- }
- _BV1.prototype._8q = function(_c12, _z12, _v12) {
- if (_c12 == null) return;
- if (_z12 < 0) _z12 = 10000000;
- var _A12 = _v12 ? _v12._312(" ") : " ";
- var _Vp = String.fromCharCode(0x0a);
- _6q = [];
- var _B12 = 0;
- _c12 = _712(_c12);
- var _Xp = _c12.length;
- var _Ij = _c12;
- var start = 0;
- var end = 0;
- while (start < _Xp) {
- var _C12 = 0;
- if (_z12 == 10000000) {
- while (end < _Xp && _Ij[end] != _Vp) {
- end++
- }
- _6q[_B12++] = _Ij.substring(start, end)
- } else {
- while (end < _Xp) {
- if (_Ij[end] != _A12) break;
- end++
- }
- while (end < _Xp && _C12 < _z12) {
- _I3 = _Ij[end];
- if (_I3 == _Vp) break;
- _C12 += this._v12._912(_I3.charCodeAt(0));
- end++
- }
- if (_C12 > _z12) {
- end--;
- _C12 -= this._v12._912(_Ij.charCodeAt(end));
- }
- if (_Ij[end] == _Vp) {
- _6q[_B12++] = _Ij.substring(start, end)
- } else {
- if (end == start) return _6q;
- if (end != _Xp) {
- if ((_Ij[end] != _A12) || (_Ij[end] != _A12 && _Ij[end + 1] != _A12)) {
- while (end > start) {
- if (_Ij[--end] == _A12) break
- }
- }
- }
- if (end > start) {
- while (_Ij[end - 1] == _A12) {
- end--
- }
- } else if (end == start) {
- while (_Ij[end] != _A12 && end < _Xp) {
- end++
- }
- }
- _6q[_B12++] = _Ij.substring(start, end)
- }
- }
- start = ++end
- }
- return _6q
- };
- _BV1.prototype._gs = function(_Xr, _f3, _g3, _D12, _z12, _Z8, __l, _0m) {
- var _dZ1 = __l;
- var _eZ1 = _0m;
- var _E12 = 0.0;
- var _F12 = 0.0;
- var _6q = [];
- var _H3 = 0;
- this._x12();
- var _v12 = this._v12;
- var _zi = _v12._312(_Xr);
- _6q = this._8q(_zi, _z12, _v12);
- var _G12 = _6V1(_Z8);
- var _la = Math.sin(_G12);
- var _ma = Math.cos(_G12);
- if (_D12 < 0) {
- _D12 = _v12 ? _v12._512('M') : 20
- }
- var _H12 = _la * _eZ1 * _D12;
- var _I12 = _ma * _eZ1 * _D12;
- if (this._ds == 1) {
- _g3 = _g3 - Math.round((_6q.length * _I12) / 2.0);
- _f3 = _f3 - Math.round((_6q.length * _H12) / 2.0)
- }
- if (this._ds == 2) {
- _g3 = _g3 - Math.round(_6q.length * _I12);
- _f3 = _f3 - Math.round(_6q.length * _H12)
- }
- if (!_v12) {
- _yb.fillStyle = _qv;
- _yb.globalAlpha = _Ad;
- for (_H3 = 0; _H3 <= _6q.length - 1; _H3++) {
- var _J12 = _6q[_H3];
- if (_J12 != null) {
- _yb.fillText(_J12, _f3, _g3 + 13);
- _g3 = _g3 + _I12;
- _f3 = _f3 + _H12
- }
- }
- } else {
- for (_H3 = 0; _H3 <= _6q.length - 1; _H3++) {
- _E12 = 0;
- _F12 = 0;
- var _J12 = _6q[_H3];
- if (_J12 != null) {
- if (this._cs == 1) _E12 = -(_dZ1 * _v12._612(_J12) / 2);
- if (this._cs == 2) _E12 = -(_dZ1 * _v12._612(_J12));
- if (_v12._T02) {
- _E12 -= (_dZ1 * _v12._Y02._23);
- _F12 -= (_eZ1 * _v12._Y02._33)
- }
- var _0a = _f3 + (_ma * _E12) + (_la * _F12);
- var _2a = _g3 - (_la * _E12) + (_ma * _F12);
- if (_v12._Gs) {
- if (_v12._T02) {
- if (!_sa) {
- _v12._p12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad)
- } else {
- _v12._u12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad)
- }
- } else {
- if (_v12._Is) {
- _K12(_v12._Ls, _J12, _0a, _2a, 1, 1, _G12, _Bd, _Ad)
- }
- }
- } else {
- if (_sa) {
- _v12._h12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad)
- } else {
- _v12._m12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad)
- }
- }
- }
- _g3 = _g3 + _I12;
- _f3 = _f3 + _H12
- }
- }
- };
- var _L12;
- var _Ha;
- var _M12 = null;
- var _jI = 1024;
- var _kI = 768;
- var _lI = 1;
- var _mI = 1;
- var _Ou = 0;
- var _Pu = 0;
- var _Qu = 0;
- var _Ru = 0;
- var _N12 = 0;
- var _O12 = 0;
- var _P12 = 0;
- var _Q12 = 0;
- var _R12 = [];
- var _S12 = 0;
- var _Ab = 0xffffff;
- var _T12;
- var _U12;
- var _tH;
- var _uH;
- var _o12;
- var _V12;
- var _n12;
- var _W12;
- function _X12() {
- return _jI
- }
- function _Y12() {
- return _kI
- }
- function _SF(_Z12) {
- if (!_Z12) return;
- _Z12.__12 = _Z12.transform;
- _Z12._Nu = _Z12.setTransform;
- _Z12._Lu = _Z12.save;
- _Z12._Su = _Z12.restore;
- _Z12._Lv = _Z12.fillRect;
- _Z12._Kv = _Z12.strokeRect;
- _Z12.__v = _Z12.beginPath;
- _Z12._Tw = _Z12.arc;
- _Z12._3w = _Z12.stroke;
- _Z12._2w = _Z12.closePath;
- _Z12.lineWidth = _Z12.lineWidth;
- _Z12._0w = _Z12.moveTo;
- _Z12._1w = _Z12.lineTo;
- _Z12._hw = _Z12.fill;
- _Z12._UF = _Z12.drawImage;
- _Z12._AH = _Z12.getImageData;
- _Z12._022 = _Z12.createImageData;
- _Z12._122 = _Z12.putImageData;
- _Z12._222 = _Z12.clip;
- _Z12._322 = _Z12.rect
- }
- function _uV1(_fh1) {
- _Ha = [];
- _M12 = null;
- _Ou = 0;
- _Pu = 0;
- _Qu = 0;
- _Ru = 0;
- _N12 = 0;
- _O12 = 0;
- _P12 = 0;
- _Q12 = 0;
- _R12 = [];
- _R12[0] = 1;
- _R12[1] = 0;
- _R12[2] = 0;
- _R12[3] = 0;
- _R12[4] = 1;
- _R12[5] = 0;
- if (!_sa) {
- if (_pK1) {
- _T12 = _422
- } else {
- _T12 = _522
- }
- _U12 = _622;
- _722 = _822;
- _tH = _922;
- _uH = _a22;
- _b22 = _c22;
- _o12 = _d22;
- _V12 = _e22;
- _n12 = _f22;
- _W12 = _g22;
- _h22 = _i22;
- _j22 = _k22;
- _K12 = _l22;
- _m22 = _n22;
- _o22 = _p22;
- _q22 = _r22;
- _s22 = function() {};
- _t22 = function() {};
- if (_qK1) {
- if (_pK1) {
- _Ab = 0x1ffffff;
- _T12 = _u22
- } else {
- _T12 = _v22
- }
- _U12 = _622;
- _722 = _w22
- }
- } else {
- _x22()
- }
- _tH(0, 0, _bI, _cI);
- _uH(0, 0, _bI, _cI)
- }
- function _i22() {
- _yb._Lu()
- }
- function _k22() {
- _yb._Su()
- }
- function _aG(_lG) {
- _lG._Da = [];
- _lG._Ea = 0;
- _lG._Fa = 4;
- _lG.__G = 0;
- _lG._0H = null;
- _lG._QF = null;
- _lG._Ga = _Ha[_lG._y5]
- }
- function _EW1(_y22) {
- _M12 = _y22;
- for (var _H3 = 0; _H3 < _y22.length; _H3++) {
- var _Kj = _y22[_H3];
- _aG(_Kj)
- }
- }
- function _z22() {
- this._hG = null;
- this._A22 = 0
- }
- function _Bb(_lG, _Cd) {
- var _B22 = _lG._Da[_Cd];
- if (_B22 != null) {
- _B22._A22 = _S12;
- return _B22._hG
- }
- var _C22 = -9999999999;
- _B22 = null;
- _D22 = -1;
- if (_lG._Ea < _lG._Fa) {
- _B22 = new _z22();
- _lG._Ea++
- } else {
- for (var _H3 = 0; _H3 < _lG._Da.length; _H3++) {
- var _E22 = _lG._Da[_H3];
- if (_E22 != null) {
- var _V9 = _S12 - _E22._A22;
- if (_V9 > _C22) {
- _D22 = _H3;
- _B22 = _E22;
- _C22 = _V9
- }
- }
- }
- }
- if (_D22 >= 0) _lG._Da[_D22] = null;
- _lG._Da[_Cd] = _B22;
- _B22._A22 = _S12;
- _B22._hG = _F22(_lG, _Cd);
- return _B22._hG
- }
- function _5Z1(_NF) {
- return _M12[_NF];
- }
- function _d22() {
- _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5])
- }
- function _e22(_Sd) {
- _yb._Lu();
- var _Mu = [];
- _Mu[0] = 1;
- _Mu[1] = 0;
- _Mu[2] = 0;
- _Mu[3] = 1;
- _Mu[4] = 0;
- _Mu[5] = 0;
- _yb._Nu(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]);
- _yb.fillStyle = _vv(_Sd | 0xff000000);
- _yb._Lv(_Ou, _Pu, _Qu, _Ru);
- _yb._Su()
- }
- function _922(_bi1, _ci1, _di1, _ei1) {
- _Ou = _bi1;
- _Pu = _ci1;
- _Qu = _di1;
- _Ru = _ei1
- }
- function _G22(_V8, _W8, _vh, _wh, _Z8) {
- var _H22 = new _In((_V8 + _vh / 2.0), (_W8 + _wh / 2.0), -16000.0);
- var _I22 = new _In((_V8 + _vh / 2.0), (_W8 + _wh / 2.0), 0.0);
- var _J22 = new _In(Math.sin( - _Z8 * (Math.PI / 180.0)), Math.cos( - _Z8 * (Math.PI / 180.0)), 0.0);
- _uT1._Ln(_H22, _I22, _J22);
- _tT1._Yn(_vh, -_wh * _Sn, 1.0, 32000.0)
- }
- function _f22(_V8, _W8, _VH, _WH, _Z8) {
- var _Mu = [];
- _Mu[0] = Math.cos(_Z8);
- _Mu[3] = Math.sin(_Z8);
- _Mu[1] = -_Mu[3];
- _Mu[4] = _Mu[0];
- _Mu[0] *= _VH;
- _Mu[3] *= _VH;
- _Mu[1] *= _WH;
- _Mu[4] *= _WH;
- _Mu[2] = _V8;
- _Mu[5] = _W8;
- _yb.__12(_Mu[0], _Mu[3], _Mu[1], _Mu[4], _Mu[2], _Mu[5])
- }
- function _c22(_K22, _L22, _M22, _N22) {
- _R12[0] = 1;
- _R12[1] = 0;
- _R12[2] = 0;
- _R12[3] = 1;
- _R12[4] = 0;
- _R12[5] = 0;
- _yb._Nu(_R12[0], _R12[1], _R12[2], _R12[3], _R12[4], _R12[5]);
- _yb.beginPath();
- _yb.moveTo(_Ou, _Pu);
- _yb.lineTo(_Ou + _Qu, _Pu);
- _yb.lineTo(_Ou + _Qu, _Pu + _Ru);
- _yb.lineTo(_Ou, _Pu + _Ru);
- if (! (_yz == _CK1 && _uJ == 4.0)) {
- _yb.clip()
- }
- _R12[0] = _K22;
- _R12[1] = 0;
- _R12[2] = _M22;
- _R12[3] = 0;
- _R12[4] = _L22;
- _R12[5] = _N22;
- _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5])
- }
- function _a22(_O22, _P22, _Q22, _R22, _Z8) {
- _R12[0] = 1;
- _R12[1] = 0;
- _R12[2] = 0;
- _R12[3] = 1;
- _R12[4] = 0;
- _R12[5] = 0;
- _yb._Nu(_R12[0], _R12[1], _R12[2], _R12[3], _R12[4], _R12[5]);
- _yb.beginPath();
- _yb.moveTo(_Ou, _Pu);
- _yb.lineTo(_Ou + _Qu, _Pu);
- _yb.lineTo(_Ou + _Qu, _Pu + _Ru);
- _yb.lineTo(_Ou, _Pu + _Ru);
- if (! (_yz == _CK1 && _uJ == 4.0)) {
- _yb.clip()
- }
- var _J3 = _Qu / _Q22;
- var _K3 = _Ru / _R22;
- _N12 = _O22;
- _O12 = _P22;
- _P12 = _Q22;
- _Q12 = _R22;
- _R12[0] = _J3;
- _R12[1] = 0;
- _R12[2] = -(_O22 * _J3) + _Ou;
- _R12[3] = 0;
- _R12[4] = _K3;
- _R12[5] = -(_P22 * _K3) + _Pu;
- _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5])
- }
- function _Qa(_J8) {
- var _H3 = _Ha.length;
- var _Ga = new Image();
- _J8 = _CF(_J8);
- _Ga.src = _J8;
- _Ha[_H3] = _Ga;
- return _H3
- }
- function _S22(_Aa, _Ba) {
- var _I3 = document.createElement("canvas");
- _I3.width = _Aa;
- _I3.height = _Ba;
- var _H3 = _Ha.length;
- var _Ga = new Image(_Aa, _Ba);
- _Ga.src = _I3.toDataURL();
- _Ha[_H3] = _Ga;
- return _H3
- }
- function _T22(_Ye, _V8, _W8, _fh1) {
- var context = _Ye.getContext('2d');
- context.globalCompositeOperation = 'copy';
- context.drawImage(_fh1, _V8, _W8)
- }
- function _WF(_U22) {
- var _H3 = _Ha.length;
- _Ha[_H3] = _U22;
- return _H3
- }
- function _n22() {
- _S12++
- }
- function _p22() {}
- function _iG(_lG) {
- var _QF = document.createElement(_cq);
- var _Gj = _QF.getContext('2d');
- _SF(_Gj);
- _QF.width = _lG._J3;
- _QF.height = _lG._K3;
- _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3);
- _QF.complete = !0;
- return _QF
- }
- function _sG(_lG) {
- var _QF = document.createElement(_cq);
- var _Gj = _QF.getContext('2d');
- _SF(_Gj);
- var _pG = [];
- var _LA = _lG._w5 * _lG._x5 * 4;
- for (var _H3 = 0; _H3 < _LA; _H3++) _pG[_H3] = 0;
- _QF.width = _lG._J3;
- _QF.height = _lG._K3;
- _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3);
- _QF.complete = !0;
- var data, _BH, _V22, _W22;
- try {
- data = _Gj.getImageData(0, 0, _lG._J3, _lG._K3)
- } catch(_yF) {
- return _pG
- }
- _X22 = data.data;
- var _Y22 = (_lG._s5 + (_lG._t5 * _lG._w5)) * 4;
- for (_g3 = 0; _g3 < _lG._K3; _g3++) {
- var _Z22 = _Y22;
- var __22 = (_g3 * data.width) * 4;
- var _ia = _lG._J3 * 4;
- for (_f3 = 0; _f3 < _ia; _f3++) {
- _pG[_Z22++] = _X22[__22++]
- }
- _Y22 += _lG._w5 * 4
- }
- return _pG;
- }
- function _422(_lG, _V8, _W8, _Gd) {
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- if (_lG._QF == null) _lG._QF = _iG(_lG);
- _V8 += _lG._s5;
- _W8 += _lG._t5;
- _yb.globalAlpha = _Gd;
- _yb._UF(_lG._QF, ~~_V8, ~~_W8)
- }
- function _u22(_lG, _V8, _W8, _Gd) {
- _422(_lG, _V8, _W8, _Gd)
- }
- function _522(_lG, _V8, _W8, _Gd) {
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- _yb.globalAlpha = _Gd;
- _yb._UF(_lG._Ga, ~~_lG._f3, ~~_lG._g3, _lG._J3, _lG._K3, Math.floor(_V8) + _lG._s5, Math.floor(_W8) + _lG._t5, _lG._u5, _lG._v5)
- }
- function _v22(_lG, _V8, _W8, _Gd) {
- _522(_lG, _V8, _W8, _Gd)
- }
- function _032(_fh1) {
- try {
- _yb._UF(_fh1, 0, 0, _fh1.width, _fh1.height, canvas.width, canvas.height, 0, 0)
- } catch(e) {
- return ! 1
- }
- var _Jb = _fh1.getContext('2d');
- _Jb.fillStyle = "white";
- _Jb.fillRect(0, 0, 1, 1);
- var _132 = _Jb.getImageData(0, 0, 1, 1);
- return (_132.data[0] === 255)
- }
- function _622(_lG, _V8, _W8, _232, _332, _432, _532, _Sd, _Gd) {
- var _ho1 = _lG._Ga;
- if (!_ho1) return;
- if (!_ho1.complete) return;
- if (_lG._J3 == 0 || _lG._K3 == 0) return;
- var _H3 = 0;
- if (_432) _H3 = 1;
- if (_532) _H3 |= 2;
- if (_H3 === 0) {
- _yb.globalAlpha = _Gd;
- _yb._UF(_ho1, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _V8 + _lG._s5, _W8 + _lG._t5, (_lG._u5 * _232), (_lG._v5 * _332));
- return
- }
- var _J3 = _lG._w5;
- var _K3 = _lG._x5;
- if (_532) {
- _J3 = (((((_iH._lH + (_lG._w5 - 1)) / _lG._w5) & 0xffffffff) + 2) * _lG._w5);
- _V8 = _N12 + (~~ ((_V8 - _N12) % _lG._w5) - _lG._w5)
- }
- if (_432) {
- _K3 = (((((_iH._mH + (_lG._x5 - 1)) / _lG._x5) & 0xffffffff) + 2) * _lG._x5);
- _W8 = _O12 + (~~ ((_W8 - _O12) % _lG._x5) - _lG._x5)
- }
- if ((_lG._0H != null) && (_lG._0H.width < (_J3 * _lG._632) || _lG._0H.height < (_K3 * _lG._632))) {
- _lG._0H = null;
- _lG._732 = 0
- }
- if ((_lG.__G != _H3) || (!_lG._0H)) {
- _lG.__G = _H3;
- var buffer = document.createElement(_cq);
- var _Gj = buffer.getContext('2d');
- _SF(_Gj);
- try {
- buffer.width = _J3;
- buffer.height = _K3;
- _yb.globalAlpha = 1;
- var _832 = 1;
- while ((_032(buffer) === !1) && (buffer.width >= 64) && (buffer.height >= 64)) {
- debug("WARNING: Tiled image quality reduction");
- buffer.width /= 2;
- buffer.height /= 2;
- _832 /= 2
- }
- var _932 = _lG._f3;
- var _a32 = _lG._g3;
- if (_Sd != _Ab) {
- _ho1 = _Bb(_lG, _Sd);
- _932 = 0;
- _a32 = 0
- }
- var _IT = _J3 / _lG._w5;
- var _JT = _K3 / _lG._x5;
- for (var _g3 = 0; _g3 < _JT; _g3++) {
- for (var _f3 = 0; _f3 < _IT; _f3++) {
- _Gj._UF(_ho1, _932, _a32, _lG._J3, _lG._K3, _lG._s5 + ((_f3 * _lG._w5) * _832), _lG._t5 + ((_g3 * _lG._x5) * _832), _lG._u5 * _832, _lG._v5 * _832)
- }
- }
- _lG._632 = _832
- } catch(e) {
- alert("Tiled image failed " + e.message)
- }
- _lG._0H = buffer
- }
- _yb.globalAlpha = _Gd;
- _yb._UF(_lG._0H, _V8, _W8, _lG._0H.width / _lG._632, _lG._0H.height / _lG._632)
- }
- function _822(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd) {
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- if ((abs(_232) <= 0.0001) || (abs(_332) <= 0.0001) || (_Gd <= 0)) {
- return
- }
- _9t &= 0xffffff;
- var _Jw = -(_ZF - _lG._s5);
- var _Kw = -(__F - _lG._t5);
- _yb.globalAlpha = _Gd;
- if (_9t != _Ab) {
- var _d12 = _Bb(_lG, _9t);
- var _T9 = Math.abs(_b32);
- if ((_T9 < 0.0001) && (_232 == 1) && (_332 == 1) && (_lG._J3 === _lG._u5) && (_lG._K3 === _lG._v5)) {
- _yb._UF(_d12, _V8 + _Jw, _W8 + _Kw)
- } else {
- if ((_232 < 0) || (_332 < 0) || (_T9 > 0.0001)) {
- _n12(_V8, _W8, _232, _332, -_b32);
- _yb._UF(_d12, 0, 0, _lG._J3, _lG._K3, _Jw, _Kw, _lG._u5, _lG._v5);
- _o12()
- } else {
- _yb._UF(_d12, 0, 0, _lG._J3, _lG._K3, _V8 + (_Jw * _232), _W8 + (_Kw * _332), _lG._u5 * _232, _lG._v5 * _332)
- }
- }
- } else {
- var _T9 = Math.abs(_b32);
- if ((_T9 < 0.0001) && (_232 == 1) && (_332 == 1) && (_lG._J3 === _lG._u5) && (_lG._K3 === _lG._v5)) {
- if (_lG._QF == null) {
- _lG._QF = _iG(_lG)
- }
- _yb._UF(_lG._QF, _V8 + _Jw, _W8 + _Kw)
- } else {
- if (_232 < 0 || _332 < 0 || _T9 > 0.001) {
- _n12(_V8, _W8, _232, _332, -_b32);
- _yb._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _Jw, _Kw, _lG._u5, _lG._v5);
- _o12()
- } else {
- _yb._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _V8 + (_Jw * _232), _W8 + (_Kw * _332), _lG._u5 * _232, _lG._v5 * _332)
- }
- }
- }
- }
- function _w22(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd) {
- try {
- _822(_lG._Ga, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd)
- } catch(_yF) {
- debug("error drawing image");
- }
- }
- function _F22(_lG, _Sd) {
- var buffer = document.createElement(_cq);
- var _Gj = buffer.getContext('2d');
- _SF(_Gj);
- buffer.width = _lG._J3;
- buffer.height = _lG._K3;
- _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3);
- if (~~_Sd != 0xffffff) {
- var data, _BH, _V22, _W22;
- try {
- data = _Gj._AH(0, 0, buffer.width, buffer.height)
- } catch(_yF) {
- return buffer
- }
- _BH = data.data;
- _c32 = _Gj._022(buffer.width, buffer.height);
- _W22 = _c32.data;
- var _T9 = ((_Sd >> 16) & 0xff) / 255;
- var _jb = ((_Sd >> 8) & 0xff) / 255;
- var _W9 = (_Sd & 0xff) / 255;
- var _C12 = (data.height * data.width * 4);
- for (var _H3 = _C12 - 4; _H3 >= 0; _H3 -= 4) {
- _W22[_H3] = (_BH[_H3] * _T9) | 0;
- _W22[_H3 + 1] = (_BH[_H3 + 1] * _jb) | 0;
- _W22[_H3 + 2] = (_BH[_H3 + 2] * _W9) | 0;
- _W22[_H3 + 3] = (_BH[_H3 + 3])
- }
- _c32.data = _W22;
- _Gj._122(_c32, 0, 0)
- }
- return buffer
- }
- function _d32(_lG, _aa, _ba, _x9, _y9, _fw, _gw, _e32, _f32, _Gd) {
- var _ho1 = _lG._Ga;
- if (!_ho1) return;
- if (!_ho1.complete) return;
- _yb.globalAlpha = _Gd;
- _g32(_ho1, _aa, _ba, _x9, _y9, _fw, _gw, _lG._f3, _lG._g3, _lG._f3 + _lG._J3, _lG._g3, _lG._f3 + _lG._J3, _lG._g3 + _lG._K3);
- _g32(_ho1, _fw, _gw, _e32, _f32, _aa, _ba, _lG._f3 + _lG._J3, _lG._g3 + _lG._K3, _lG._f3, _lG._g3 + _lG._K3, _lG._f3, _lG._g3)
- }
- function _g32(_Kb, _Lb, _Mb, _G9, _H9, _I9, _J9, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb) {
- _yb._Lu();
- _yb.__v();
- _yb._0w(_Lb, _Mb);
- _yb._1w(_G9, _H9);
- _yb._1w(_I9, _J9);
- _yb._2w();
- _yb._222();
- var _Tb = _Nb * (_Sb - _Qb) - _Pb * _Sb + _Rb * _Qb + (_Pb - _Rb) * _Ob;
- if (_Tb == 0) return;
- var _Ub = -(_Ob * (_I9 - _G9) - _Qb * _I9 + _Sb * _G9 + (_Qb - _Sb) * _Lb) / _Tb;
- var _Vb = (_Qb * _J9 + _Ob * (_H9 - _J9) - _Sb * _H9 + (_Sb - _Qb) * _Mb) / _Tb;
- var _Wb = (_Nb * (_I9 - _G9) - _Pb * _I9 + _Rb * _G9 + (_Pb - _Rb) * _Lb) / _Tb;
- var _Xb = -(_Pb * _J9 + _Nb * (_H9 - _J9) - _Rb * _H9 + (_Rb - _Pb) * _Mb) / _Tb;
- var _Yb = (_Nb * (_Sb * _G9 - _Qb * _I9) + _Ob * (_Pb * _I9 - _Rb * _G9) + (_Rb * _Qb - _Pb * _Sb) * _Lb) / _Tb;
- var _Zb = (_Nb * (_Sb * _H9 - _Qb * _J9) + _Ob * (_Pb * _J9 - _Rb * _H9) + (_Rb * _Qb - _Pb * _Sb) * _Mb) / _Tb;
- _yb.__12(_Ub, _Vb, _Wb, _Xb, _Yb, _Zb);
- _yb._UF(_Kb, 0, 0);
- _yb._Su()
- }
- function _g22(_lG, _yA, _zA, _Aa, _Ba, _V8, _W8, __l, _0m, _QH, _Gd) {
- if (!_lG) return;
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- _QH &= 0xffffff;
- _yb.globalAlpha = _Gd;
- if (_yA < _lG._s5) {
- var _h32 = _lG._s5 - _yA;
- _V8 += _h32;
- _Aa -= _h32;
- _yA = 0
- } else {
- _yA -= _lG._s5
- }
- if (_zA < _lG._t5) {
- var _h32 = _lG._t5 - _zA;
- _W8 += _h32;
- _Ba -= _h32;
- _zA = 0
- } else {
- _zA -= _lG._t5
- }
- if (_Aa > (_lG._u5 - _yA)) _Aa = _lG._u5 - _yA;
- if (_Ba > (_lG._v5 - _zA)) _Ba = _lG._v5 - _zA;
- if (_Aa <= 0 || _Ba <= 0) return;
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- if (_QH != _Ab) {
- var _d12 = _Bb(_lG, _QH);
- if (__l < 0 || _0m < 0) {
- _n12(_V8, _W8, __l, _0m, 0);
- _yb._UF(_d12, _yA, _zA, _Aa, _Ba, 0, 0, _Aa, _Ba);
- _o12()
- } else {
- _yb._UF(_d12, _yA, _zA, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m)
- }
- } else {
- if (__l < 0 || _0m < 0) {
- _n12(_V8, _W8, __l, _0m, 0);
- _yb._UF(_lG._Ga, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, 0, 0, _Aa, _Ba);
- _o12()
- } else {
- _yb._UF(_lG._Ga, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m)
- }
- }
- }
- function _NH(_lG, _V8, _W8, _vh, _wh, _QH, _Gd) {
- if (!_lG) return;
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- var _932 = _vh / _lG._w5;
- var _a32 = _wh / _lG._x5;
- _722(_lG, 0, 0, _V8, _W8, _932, _a32, 0, _QH, _QH, _QH, _QH, _Gd)
- }
- function _l22(_es, _Xr, _V8, _W8, __l, _0m, _Z8, _Sd, _Gd) {
- _yb.globalAlpha = _Gd;
- _yb.fillStyle = _Uj(_Sd, 1.0);
- _yb.font = _es;
- _yb.textBaseline = "top";
- _n12(_V8, _W8, __l, _0m, -_Z8);
- _yb.fillText(_Xr, 0, 0);
- _o12()
- }
- function _Hj(_i32, _vh, _wh) {
- try {
- var data, _BH, _V22, _W22;
- data = _i32._AH(0, 0, _vh, _wh);
- _BH = _W22 = data.data;
- var _j32 = (_wh - 1) * _vh * 4;
- var _T9 = _BH[_j32 + 0];
- var _jb = _BH[_j32 + 1];
- var _W9 = _BH[_j32 + 2];
- var _kb = _BH[_j32 + 3];
- var _C12 = (data.height * data.width * 4);
- for (var _H3 = _C12 - 4; _H3 >= 0; _H3 -= 4) {
- _W22[_H3 + 0] = _BH[_H3 + 0];
- _W22[_H3 + 1] = _BH[_H3 + 1];
- _W22[_H3 + 2] = _BH[_H3 + 2];
- if ((_W22[_H3 + 0] == _T9) && (_W22[_H3 + 1] == _jb) && (_W22[_H3 + 2] == _W9)) {
- _W22[_H3 + 3] = 0x0
- } else {
- _W22[_H3 + 3] = _BH[_H3 + 3]
- }
- }
- _i32._122(data, 0, 0)
- } catch(_yF) {
- return ! 1
- }
- return ! 0
- }
- function _r22(__p) {}
- var _k32 = 0,
- _l32 = 0;
- function _my(_m32) {
- this._n32 = !1;
- this._o32 = [];
- this._p32 = _m32;
- this._q32 = "";
- this._r32 = 0;
- this._s32 = 0
- }
- function _ly(_t32, _u32) {
- var _Qr = _1t(_t32, _u32);
- _v32 = new _my(_t32);
- _v32._q32 = _Qr;
- _v32._w32();
- var _Ea = 0;
- for (var _H3 in _v32._o32) {
- if (!_v32._o32.hasOwnProperty(_H3)) continue;
- _Ea++;
- break
- }
- if (_Ea == 0) return null;
- return _v32
- }
- _my.prototype._Mr = function() {
- while ((this._q32.charCodeAt(this._r32) != 0x0a) && (this._q32.charCodeAt(this._r32) != 0x0d) && (this._r32 < this._HZ1)) {
- this._r32++
- }
- this._s32++;
- this._r32++;
- if (this._r32 >= this._HZ1) return;
- if ((this._q32.charCodeAt(this._r32) == 0x0a) && (this._q32.charCodeAt(this._r32) == 0x0d)) {
- this._r32++;
- }
- };
- _my.prototype._x32 = function() {
- with(this) {
- if (this._r32 >= _HZ1) return ! 1;
- var _I3 = _q32.charCodeAt(_r32);
- if (_I3 == 0x20 || _I3 == 0x09 || _I3 == 0x0a || _I3 == 0x0d || _I3 == _yG('#') || _I3 == _yG(';')) {
- return ! 0
- } else {
- return ! 1
- }
- }
- };
- _my.prototype._Nr = function() {
- with(this) {
- while (_x32() && (_r32 < _HZ1)) {
- var _I3 = _q32.charCodeAt(_r32);
- if (_I3 == '#' || _I3 == ';') {
- _Mr()
- } else if (_I3 == 0x0a) {
- _s32++
- }
- _r32++
- }
- if (_r32 >= _HZ1) return
- }
- };
- _my.prototype._y32 = function() {
- with(this) {
- _Nr();
- while ((_q32.charAt(_r32) != '[') && (_r32 < _HZ1)) {
- _r32++
- }
- if (_r32 >= _HZ1) return null;
- _r32++;
- var _z32 = _r32;
- while ((_q32.charAt(_r32) != ']') && (_r32 < _HZ1)) {
- _r32++
- }
- if (_r32 >= _HZ1) return null;
- var _Xp = _r32 - _z32;
- var _A32 = [];
- _A32._B32 = _q32.substr(_z32, _Xp);
- _r32++;
- return _A32
- }
- };
- _my.prototype._C32 = function(_D32) {
- with(this) {
- _Nr();
- if (_r32 >= _HZ1 || _q32.charAt(_r32) == '[') return ! 1;
- var _z32 = _r32;
- var _E32 = -1;
- while ((_q32.charAt(_r32) != '=') && (_r32 < _HZ1)) {
- if (_x32()) {
- if (_E32 < 0) _E32 = _r32
- } else {
- _E32 = -1
- }
- _r32++
- }
- if (_r32 >= _HZ1) return ! 1;
- if (_E32 < 0) _E32 = _r32;
- var _Xp = _E32 - _z32;
- var _6K = _q32.substr(_z32, _Xp);
- while ((_q32.charAt(_r32) != '=') && (_r32 < _HZ1)) {
- _r32++
- }
- if (_r32 >= _HZ1) return ! 1;
- _r32++;
- var _vA1 = _s32;
- _Nr();
- if (_vA1 != _s32) return ! 1;
- var _F32 = _yG('#');
- var _G32 = _yG(';');
- var _H32 = !1;
- var _ma = _q32.charCodeAt(_r32);
- if (_ma == _yG('"')) {
- _F32 = _yG('"');
- _G32 = _yG('"');
- _H32 = !0;
- _r32++
- } else if (_ma == _yG('\'')) {
- _F32 = _yG('\'');
- _G32 = _yG('\'');
- _H32 = !0;
- _r32++
- }
- _z32 = _r32;
- var _I32 = -1;
- var _I3 = _q32.charCodeAt(_r32);
- while ((_I3 != 0x0a) && (_I3 != 0x0d) && (_I3 != _F32) && (_I3 != _G32) && (_r32 < _HZ1)) {
- if (_I3 == 0x20 || _I3 == 0x09) {
- if (_I32 < 0) _I32 = _r32
- } else {
- _I32 = -1
- }
- if (_I3 == _yG('\\')) _r32++;
- _r32++;
- _I3 = _q32.charCodeAt(_r32);
- }
- if (_I32 >= 0) {
- _Xp = _I32 - _z32
- } else {
- _Xp = _r32 - _z32
- }
- var _J32 = _q32.substr(_z32, _Xp);
- _D32[_6K] = _J32;
- if (_H32) {
- _ma = _q32.charCodeAt(_r32);
- if ((_ma == _F32) && (_ma == _G32)) {
- while ((_q32.charCodeAt(_r32) != 0x0a) && (_q32.charCodeAt(_r32) != 0x0d) && (_r32 < _HZ1)) {
- _r32++
- }
- }
- }
- return ! 0
- }
- };
- _my.prototype._w32 = function() {
- with(this) {
- if (_q32 == null) return ! 1;
- _HZ1 = _q32.length;
- _r32 = 0;
- _s32 = 0;
- var _A32 = _y32();
- if (_A32 == null) {
- _q32 = null;
- return ! 1
- }
- _o32[_A32._B32] = _A32;
- while (_r32 < _HZ1) {
- var _AZ = _C32(_A32);
- if (!_AZ) {
- if (_r32 < _HZ1) {
- if (_q32.charAt(_r32) == '[') {
- _A32 = _y32();
- if (_A32 == null) {
- _q32 = null;
- return ! 0
- }
- _o32[_A32._B32] = _A32
- }
- }
- }
- }
- _q32 = null;
- return ! 0
- }
- };
- _my.prototype._K32 = function(_L32, _M32) {
- with(this) {
- var _A32 = _o32[_L32];
- if (_A32 != null && _A32 != undefined) {
- var _J32 = _A32[_M32];
- if (_J32 != undefined) return _J32
- }
- return null
- }
- };
- _my.prototype._qy = function(_L32, _M32, _py) {
- with(this) {
- var _6K = _K32(_L32, _M32);
- if (_6K != null) {
- return parseFloat(_6K)
- } else {
- return parseFloat(_py)
- }
- }
- };
- _my.prototype._ry = function(_L32, _M32, _N32) {
- this._n32 = !0;
- var _A32 = this._o32[_L32];
- if (_A32 == null || _A32 == undefined) {
- _A32 = [];
- _A32._B32 = _L32;
- this._o32[_A32._B32] = _A32
- }
- _A32[_M32] = _N32;
- return ! 0
- };
- _my.prototype._ny = function() {
- var _Qr = "";
- var _Vp = _Nq(0x0d) + _Nq(0x0a);
- for (var _O32 in this._o32) {
- if (!this._o32.hasOwnProperty(_O32)) continue;
- _Qr = _Qr + "[" + _O32 + "]" + _Vp;
- var _A32 = this._o32[_O32];
- for (var _pz in _A32) {
- if (!_A32.hasOwnProperty(_pz)) continue;
- if (_pz != "__m_pIniFileName__") {
- var _J32 = _A32[_pz];
- _Qr = _Qr + _pz + "=" + _J32 + _Vp
- }
- }
- }
- if (this._n32) {
- _Sr(this._p32, _Qr);
- this._n32 = !1
- }
- return _Qr
- };
- function _CF(_t32) {
- if (_t32.substring(0, 5) == "file:") return _t32;
- if ((_t32.substring(0, 7) == "http://") || (_t32.substring(0, 8) == "https://")) return _t32;
- if (_t32.substring(0, _Ra.length) == _Ra) return _t32;
- return _Ra + _t32
- }
- function _P32(_t32) {
- if (_t32.substring(0, 5) == "file:") return ! 1;
- if (_t32.substring(0, 4) == "ftp:") return ! 1;
- if (_t32.substring(0, 7) == "gopher:") return ! 1;
- if (_t32.substring(0, 7) == "mailto:") return ! 1;
- if (_t32.substring(0, 5) == "news:") return ! 1;
- if (_t32.substring(0, 5) == "nntp:") return ! 1;
- if (_t32.substring(0, 7) == "telnet:") return ! 1;
- if (_t32.substring(0, 5) == "wais:") return ! 1;
- if (_t32.substring(0, 5) == "news:") return ! 1;
- if (_t32.substring(1, 1) == ":") return ! 1;
- return ! 0
- }
- function _Q32(_lz) {
- try {
- var _R32 = new XMLHttpRequest();
- _R32.open('HEAD', _lz, !1);
- _R32.send();
- _l32 = _R32.status;
- var _S32 = (_R32.status != 404 && _R32.status != 0);
- if (_FK1 == _PK1 && _R32.responseText.length > 0) {
- _S32 = !0
- }
- return _S32
- } catch(e) {
- return ! 1
- }
- }
- function _T32(_IG1, _KG1) {
- try {
- var _io = !window.XMLHttpRequest ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest();
- _io.open(_KG1 ? 'PUT': 'GET', _IG1, !1);
- _io.setRequestHeader('Content-Type', 'text/html');
- _io.send(_KG1 ? _KG1: '');
- _l32 = _io.status;
- return _io.responseText
- } catch(e) {
- return null
- }
- }
- function _Sr(_Fp1, _WV1) {
- if (_U32) {
- return ! 1
- } else if ('localStorage' in window && window['localStorage'] !== null) {
- try {
- localStorage[_w6._sW1 + _Fp1] = _WV1;
- return ! 0
- } catch(_yF) {
- return ! 1
- }
- }
- }
- function _1t(_t32, _u32) {
- var _Qr = null;
- if (_t32.substring(0, 5) == "file:") return null;
- if (_u32) {
- if ((_t32.substring(0, 7) == "http://") || (_t32.substring(0, 8) == "https://")) return;
- if (_U32) {
- return null
- } else if ('localStorage' in window && window['localStorage'] !== null) {
- try {
- _Qr = localStorage[_w6._sW1 + _t32]
- } catch(_yF) {
- return null
- }
- if ((_Qr == undefined) || (_Qr == null)) return null
- }
- } else {
- if (!_P32(_t32)) return null;
- _t32 = _CF(_t32);
- _Qr = _T32(_t32, !1);
- if ((_Qr == null) || (_Qr == undefined)) return null;
- if (_l32 == 404) return null
- }
- return _Qr
- }
- function __r(_t32, _u32) {
- var _Qr = null;
- if (_t32.substring(0, 5) == "file:") return null;
- if (_u32) {
- if (_U32) {
- return ! 1
- } else if ('localStorage' in window && window['localStorage'] !== null) {
- try {
- var name = _w6._sW1 + _t32;
- if (localStorage[name] && (localStorage[name] != undefined)) return ! 0;
- return ! 1
- } catch(_yF) {
- return ! 1
- }
- }
- } else {
- if (!_P32(_t32)) return ! 1;
- _t32 = _CF(_t32);
- return _Q32(_t32)
- }
- }
- var _V32 = new Array("StepEvent", "DrawEvent", "LeftButtonPressed", "RightButtonPressed", "NoButtonPressed");
- var _W32 = new _Iq(0, 0, 0, 0);
- var _X32 = null;
- var _Y32 = -1;
- var _Z32 = -1;
- function _YU1() {}
- function __32(_042, _142, _Ch, _242, _342) {
- this.__type = "[instance]";
- this._f3 = _042;
- this._g3 = _142;
- this._bI1 = _042;
- this._cI1 = _142;
- this._442 = _042;
- this._542 = _142;
- this._H7 = 0;
- this._G7 = 0;
- this._sA = 0;
- this._h3 = 0;
- this._L_ = 0;
- this._N01 = 0;
- this._642 = 270;
- this._kv1 = _242;
- this.id = _Ch;
- this._HY = !0;
- this._47 = [];
- for (var _H3 = 0; _H3 <= (_SI1 - 1); _H3++) {
- this._47[_H3] = -1
- }
- this._SA = !0;
- this._Q3 = !0;
- this._65 = !1;
- this._R3 = 0;
- this._Iy = new _Iq(0, 0, 0, 0);
- this._Ny = 0;
- this._L7 = 0;
- this._742 = 0;
- this._842 = 0;
- this._942 = 0;
- this._a42 = 0;
- this._b42 = 0;
- this._v7 = 1.0;
- this._J7 = 1.0;
- this._qv1 = 0;
- this._c42 = 1.0;
- this._d42 = 0xffffff;
- this._b7 = 1;
- this._RH1 = -1;
- this._Uu1 = -1;
- this._dI1 = 0;
- this._eI1 = 0;
- this._B7 = 0;
- this._e42 = 1;
- this._f42 = 0;
- this._g42 = 0;
- this._AC = 0;
- this._h42 = 0;
- this._i42 = 0;
- this._JI1 = -1;
- this._NI1 = 0;
- this._LI1 = 1;
- this._KI1 = !0;
- this._OI1 = !1;
- this._j42 = -1;
- this._k42 = !1;
- this._uy = !1;
- this._l42 = null;
- this._m42 = !1;
- this._Gy = !0;
- this._CI1 = !1;
- this._Oy = null;
- this._n42 = null;
- this._Wu1 = null;
- this._o42 = null;
- this._My(_242, _342, !0);
- this._Ny = this._Oy._Py;
- var _Qy = _Ry._Gh(this._Ny);
- if (_Qy) {
- this._Iy.left = _Qy._Iy.left;
- this._Iy._q9 = _Qy._Iy._q9;
- this._Iy.top = _Qy._Iy.top;
- this._Iy.bottom = _Qy._Iy.bottom
- }
- }
- __32.prototype._g7 = function(_V8) {
- this._f3 = _V8;
- this._Gy = !0
- };
- __32.prototype._q7 = function(_ar1) {
- this._v7 = _ar1;
- this._Gy = !0
- };
- __32.prototype._r7 = function(_ar1) {
- this._J7 = _ar1;
- this._Gy = !0
- };
- __32.prototype._y7 = function() {
- return this._R3
- };
- __32.prototype._s7 = function(_p42) {
- var _ju = this._t7();
- if (_p42 < 0) {
- _p42 = _ju - _5V1(Math.abs(_p42), _ju)
- } else {
- _p42 = _5V1(Math.abs(_p42), _ju)
- }
- this._L7 = _p42
- };
- __32.prototype._t7 = function() {
- var _Qy = _Ry._Gh(this._Ny);
- if (!_Qy) return 0;
- if ((_Qy._q42 !== null) && (_Qy._q42 !== undefined)) {
- return _Qy._q42._DD1
- }
- return _Qy._VF.length
- };
- __32.prototype._w7 = function(_Uj1) {
- if (this._R3 != _Uj1) {
- this._R3 = _Uj1;
- _H8._r42[_H8._r42.length] = this
- }
- };
- __32.prototype._te = function(_s42, _sX1) {
- if ((this._f3 == _s42) && (this._g3 == _sX1)) return;
- this._f3 = _s42;
- this._g3 = _sX1;
- this._Gy = !0
- };
- __32.prototype._My = function(_Ky, _t42, _u42) {
- this._kv1 = _Ky;
- if (this._Oy != null) {
- this._Oy._v42(this);
- this._Oy = null;
- this._n42 = null;
- }
- if (_Ky == -1) _Ky = 0;
- this._n42 = this._Oy = _Ys._Gh(_Ky);
- if (this._Oy != null) {
- if (_t42) {
- this._Oy._w42(this)
- }
- this._PH1 = this._Oy._PH1;
- this._RH1 = this._Oy._x42;
- if (_u42) {
- this._R3 = this._Oy._y42
- } else {
- this._w7(this._Oy._y42)
- }
- this._SA = this._Oy._z42;
- this._Q3 = this._Oy._A42;
- this._65 = this._Oy._B42;
- this._7b();
- this._Gy = !0
- }
- };
- __32.prototype._Sy = function(_ND) {
- if (_ND && this._Wu1) {
- _ND._kD._k11(this._Wu1)
- }
- this._Wu1 = null;
- if (this._Oy._C42._Vu1) {
- this._D42();
- this._Gy = !0
- }
- };
- __32.prototype._D42 = function() {
- if (!this._Oy._C42._Vu1) {
- return
- }
- if (!_MF(this._Ny)) {
- return
- }
- var _wG = _Ry._Gh(this._Ny);
- if (!_H8._kD) {
- return
- }
- var _PC = _OC();
- var _E42 = this._Oy._C42;
- switch (_E42._F42) {
- case _G42:
- {
- var _H42 = _E42._I42[0];
- var _J42 = _E42._I42[1];
- var _PO = _E42._I42[2];
- if (Math.abs(this._v7 - this._J7) < 0.0001) {
- _PO *= this._v7
- } else {
- debug("Image scale for physics object using circle collision should not vary across axes: " + this._Oy._5W1);
- }
- _hD(_PC, _PO)
- }
- break;
- case _K42:
- case _L42:
- {
- _mD(_PC);
- if ((this._v7 * this._J7) < 0) {
- for (var _C9 = _E42._I42.length - 2; _C9 >= 0; _C9 -= 2) {
- _oD(_PC, _E42._I42[_C9 + 0] * this._v7, _E42._I42[_C9 + 1] * this._J7)
- }
- } else {
- for (var _C9 = 0; _C9 < _E42._I42.length; _C9 += 2) {
- _oD(_PC, _E42._I42[_C9 + 0] * this._v7, _E42._I42[_C9 + 1] * this._J7);
- }
- }
- }
- break
- }
- _cD(_PC, _E42._M42);
- _9D(_PC, _E42._N42);
- _6D(_PC, _E42._O42);
- _3D(_PC, _E42._P42);
- _VC(_PC, _E42._Q42);
- _YC(_PC, _E42._R42);
- if (_E42._S42 != undefined) {
- _0D(_PC, _E42._S42)
- }
- if (_E42._T42 != undefined) {
- _eD(_PC, _E42._T42)
- }
- if (_E42._U42 != undefined) {
- _RC(_PC, _E42._U42)
- }
- _BD(this, _PC, this.id)
- };
- __32.prototype._V42 = function() {
- with(this) {
- if (this._H7 == 0) {
- if (this._G7 > 0) {
- this._sA = 270
- } else if (this._G7 < 0) {
- this._sA = 90
- } else {
- this._sA = 0
- }
- } else {
- var _Cw = _W42(180 * (Math.atan2(this._G7, this._H7)) / _Y9);
- if (_Cw <= 0) {
- this._sA = -_Cw
- } else {
- this._sA = 360.0 - _Cw
- }
- }
- if (Math.abs(this._sA - _Xi(this._sA)) < 0.0001) {
- this._sA = _Xi(this._sA)
- }
- this._sA = _5V1(this._sA, 360.0);
- this._h3 = Math.sqrt(_do(this._H7) + _do(this._G7));
- if (Math.abs(this._h3 - _Xi(this._h3)) < 0.0001) this._h3 = _Xi(this._h3)
- }
- };
- __32.prototype._X42 = function() {
- this._H7 = this._h3 * _W42(Math.cos(this._sA * 0.0174532925));
- this._G7 = -this._h3 * _W42(Math.sin(this._sA * 0.0174532925));
- if (Math.abs(this._H7 - _Xi(this._H7)) < 0.0001) {
- this._H7 = _Xi(this._H7)
- }
- if (Math.abs(this._G7 - _Xi(this._G7)) < 0.0001) {
- this._G7 = _Xi(this._G7)
- }
- };
- function _W42(_Y42) {
- return _Cw = (~~ (_Y42 * 1000000)) / 1000000.0
- }
- __32.prototype._Z42 = function(_pA, _gv) {
- this._H7 += _gv * _W42(Math.cos(_pA * 0.0174532925));
- this._G7 -= _gv * _W42(Math.sin(_pA * 0.0174532925));
- this._V42()
- };
- __32.prototype.__42 = function() {
- if (this._L_ != 0.0) {
- var _052;
- if (this._h3 > 0) {
- _052 = this._h3 - this._L_
- } else {
- _052 = this._h3 + this._L_
- }
- if ((this._h3 > 0) && (_052 < 0)) {
- this._p7(0)
- } else if ((this._h3 < 0) && (_052 > 0)) {
- this._p7(0)
- } else if (this._h3 != 0) {
- this._p7(_052)
- }
- }
- if (this._N01 != 0) {
- this._Z42(this._642, this._N01)
- }
- };
- __32.prototype._152 = function() {
- var _252 = this._7b();
- if (_252) {
- return _252._F8()
- }
- return _Ry._352(this._Ny)
- };
- __32.prototype._g9 = function(_fr, _NF, _lt, _ut, _452) {
- if (_452 == undefined) {
- _452 = _lt._Oy
- }
- var _552 = _X32;
- var _652 = _Y32;
- var _752 = _Z32;
- var _8j = !1;
- var _852 = !1;
- if (_fr == _jv1) {
- var _952 = _ut._Oy;
- while (_952 != null && !_852) {
- var _li = _452;
- while (_li != null && !_852) {
- if (_li._st[_fr]) {
- if (_li._iW1[_952.__y]) {
- _X32 = _li;
- _Y32 = _fr;
- _Z32 = _952.__y;
- _8j = _li._g9(_fr, _952.__y, _lt, _ut);
- _852 = !0;
- break
- }
- }
- _li = _li._dq
- }
- _952 = _952._dq
- }
- var _li = _452;
- while (_li != null && !_852) {
- if (_li._iW1[_NF]) {
- _X32 = _li;
- _Y32 = _fr;
- _Z32 = _NF;
- _8j = _li._g9(_fr, _NF, _lt, _ut);
- _852 = !0
- }
- _li = _li._dq
- }
- } else {
- var _li = _452;
- var _a52 = _fr | _NF;
- while (_li != null) {
- if (_li._st[_a52]) {
- _X32 = _li;
- _Y32 = _fr;
- _Z32 = _NF;
- _8j = _li._g9(_fr, _NF, _lt, _ut);
- break
- }
- _li = _li._dq
- }
- }
- _X32 = _552;
- _Y32 = _652;
- _Z32 = _752;
- return _8j
- };
- __32.prototype._vt = function(_fr, _NF, _ut) {
- if (_X32 != null) {
- if (_X32._dq != null) {
- this._g9(_fr, _NF, this, _ut, _X32._dq)
- }
- }
- };
- __32.prototype._E7 = function(_Dh) {
- if (this._H7 == _Dh) return;
- this._H7 = _Dh;
- this._V42()
- };
- __32.prototype._F7 = function(_Dh) {
- if (this._G7 == _Dh) return;
- this._G7 = _Dh;
- this._V42()
- };
- __32.prototype._o7 = function(_Dh) {
- while (_Dh < 0.0) {
- _Dh += 360.0
- }
- while (_Dh > 360.0) {
- _Dh -= 360.0
- }
- this._sA = _5V1(_Dh, 360.0);
- this._X42()
- };
- __32.prototype._p7 = function(_Dh) {
- if (this._h3 == _Dh) return;
- this._h3 = _Dh;
- this._X42()
- };
- __32.prototype._Hy = function() {
- var _wG, _V9;
- var _b52 = (this._RH1 >= 0) ? this._RH1: this._Ny;
- if (_b52 < 0 || _b52 > _Ry._Y2.length) {
- if (!this._Iy) {
- this._Iy = new _Iq(0, 0, 0, 0)
- }
- this._Iy.left = -100000;
- this._Iy.top = -100000;
- this._Iy._q9 = -100000;
- this._Iy.bottom = -100000;
- this._m42 = !1
- } else {
- var _Iy = this._Iy;
- _wG = _Ry._Y2[_b52];
- if (this._qv1 == 0) {
- var _c52 = _wG._Iy;
- _Iy.left = ((this._f3 + this._v7 * (_c52.left - _wG._23)) + 0.5) >> 0;
- _Iy._q9 = ((this._f3 + this._v7 * (_c52._q9 - _wG._23 + 1)) + 0.5) >> 0;
- if (_Iy.left > _Iy._q9) {
- _V9 = _Iy.left;
- _Iy.left = _Iy._q9;
- _Iy._q9 = _V9
- }
- _Iy.top = ((this._g3 + this._J7 * (_c52.top - _wG._33)) + 0.5) >> 0;
- _Iy.bottom = ((this._g3 + this._J7 * (_c52.bottom - _wG._33 + 1)) + 0.5) >> 0;
- if (_Iy.top > _Iy.bottom) {
- _V9 = _Iy.top;
- _Iy.top = _Iy.bottom;
- _Iy.bottom = _V9
- }
- _Iy._q9 -= 1;
- _Iy.bottom -= 1;
- this._m42 = _wG._d52()
- } else {
- var _c52 = _wG._Iy;
- var _e52, _f52;
- _e52 = this._v7 * (_c52.left - _wG._23);
- _f52 = this._v7 * (_c52._q9 - _wG._23 + 1);
- var _g52, _h52;
- _g52 = this._J7 * (_c52.top - _wG._33);
- _h52 = this._J7 * (_c52.bottom - _wG._33 + 1);
- var _ma, _la;
- _ma = Math.cos(this._qv1 * _Y9 / 180.0);
- _la = Math.sin(this._qv1 * _Y9 / 180.0);
- var _i52 = _ma * _f52;
- var _j52 = _ma * _e52;
- var _k52 = _la * _h52;
- var _l52 = _la * _g52;
- var _V9;
- if (_i52 < _j52) {
- _V9 = _j52;
- _j52 = _i52;
- _i52 = _V9
- }
- if (_k52 < _l52) {
- _V9 = _l52;
- _l52 = _k52;
- _k52 = _V9
- }
- _Iy.left = ((this._f3 + _j52 + _l52) + 0.5) >> 0;
- _Iy._q9 = ((this._f3 + _i52 + _k52) - 0.5) >> 0;
- var _m52 = _ma * _h52;
- var _n52 = _ma * _g52;
- var _o52 = _la * _f52;
- var _p52 = _la * _e52;
- if (_m52 < _n52) {
- _V9 = _n52;
- _n52 = _m52;
- _m52 = _V9
- }
- if (_o52 < _p52) {
- _V9 = _p52;
- _p52 = _o52;
- _o52 = _V9
- }
- _Iy.top = ((this._g3 + _n52 - _o52) + 0.5) >> 0;
- _Iy.bottom = ((this._g3 + _m52 - _p52) - 0.5) >> 0;
- this._m42 = _wG._d52()
- }
- this._Iy = _Iy
- }
- this._Gy = !1;
- };
- __32.prototype._AI1 = function(_V8, _W8, _q52) {
- if (this._uy) return ! 1;
- var _252 = this._7b();
- if (_252) {
- if (_252._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) {
- this._m42 = !0;
- this._Gy = !1
- }
- }
- if (this._Gy) this._Hy();
- var _Iy = this._Iy;
- if (_V8 >= _Iy._q9 + 1) return ! 1;
- if (_V8 < _Iy.left) return ! 1;
- if (_W8 >= _Iy.bottom + 1) return ! 1;
- if (_W8 < _Iy.top) return ! 1;
- if ((!_q52) || (!this._m42)) return ! 0;
- var _nv = !1;
- if (_252) {
- _nv = _252._9a(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _V8, _W8)
- } else {
- var _fG;
- if (this._RH1 < 0) {
- _fG = _Ry._Gh(this._Ny)
- } else {
- _fG = _Ry._Gh(this._RH1)
- }
- if ((_fG === null) || (_fG._P9 === 0)) return ! 1;
- _nv = _fG._r52(Math.floor(this._L7), _Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _Xi(_V8), _Xi(_W8))
- }
- return _nv
- };
- __32.prototype._s52 = function(_aa, _ba, _x9, _y9, _q52) {
- if (this._uy) return ! 1;
- var _252 = this._7b();
- if (_252) {
- if (_252._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) {
- this._m42 = !0;
- this._Gy = !1
- }
- }
- if (this._Gy) this._Hy();
- var _Iy = this._Iy;
- if (_U9(_aa, _x9) >= _Iy._q9 + 1) return ! 1;
- if (_S9(_aa, _x9) < _Iy.left) return ! 1;
- if (_U9(_ba, _y9) >= _Iy.bottom + 1) return ! 1;
- if (_S9(_ba, _y9) < _Iy.top) return ! 1;
- if ((!_q52) || (!this._m42)) return ! 0;
- var _nv = !1;
- if (_252) {
- _nv = _252._da(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _aa, _ba, _x9, _y9)
- } else {
- var _fG;
- if (this._RH1 < 0) {
- _fG = _Ry._Gh(this._Ny)
- } else {
- _fG = _Ry._Gh(this._RH1)
- }
- if ((_fG === null) || (_fG._P9 == 0)) return ! 1;
- _W32.left = _Xi(_U9(_aa, _x9));
- _W32.top = _Xi(_U9(_ba, _y9));
- _W32._q9 = _Xi(_S9(_aa, _x9));
- _W32.bottom = _Xi(_S9(_ba, _y9));
- _nv = _fG._t52(Math.floor(this._L7), _Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _W32)
- }
- return _nv
- };
- __32.prototype._u52 = function(_Zi, _v52) {
- var _w52 = this._7b();
- var _x52 = _Zi._7b();
- var _y52 = _Ry._Gh(this._Ny);
- if (_w52._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) {
- this._Gy = !1
- }
- if (_x52) {
- if (_x52._l9(_Zi._Iy, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1)) {
- _Zi._Gy = !1;
- }
- }
- if (this._Gy) this._Hy();
- if (_Zi._Gy) _Zi._Hy();
- if (_Zi._Iy.left >= this._Iy._q9 + 1) return ! 1;
- if (_Zi._Iy._q9 + 1 <= this._Iy.left) return ! 1;
- if (_Zi._Iy.top >= this._Iy.bottom + 1) return ! 1;
- if (_Zi._Iy.bottom + 1 <= this._Iy.top) return ! 1;
- var _y52 = _Ry._Gh(this._Ny);
- var _z52 = (_Zi._RH1 < 0) ? _Ry._Gh(_Zi._Ny) : _Ry._Gh(_Zi._RH1);
- if (_z52 === null) return ! 1;
- if (!_v52 || (!this._m42 && !_Zi._m42)) return ! 0;
- if (_x52) {
- return _w52._u9(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _x52, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1)
- } else {
- return _w52._M9(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _z52, _Zi._Iy, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1)
- }
- };
- __32.prototype._zy = function(_lt, _q52) {
- if (this != _lt && !this._uy && !_lt._uy) {
- if (this._7b()) {
- return this._u52(_lt, _q52)
- }
- if (_lt._7b()) {
- return _lt._u52(this, _q52)
- }
- if (this._Gy) this._Hy();
- if (_lt._Gy) _lt._Hy();
- var _A52 = _lt._Iy;
- var _B52 = this._Iy;
- if (_A52.left >= (_B52._q9 + 1)) return ! 1;
- if ((_A52._q9 + 1) <= _B52.left) return ! 1;
- if (_A52.top >= (_B52.bottom + 1)) return ! 1;
- if ((_A52.bottom + 1) <= _B52.top) return ! 1;
- if (!_q52 || (!this._m42 && !_lt._m42)) return ! 0;
- var _C52 = null;
- var _D52 = null;
- if (this._RH1 < 0) {
- _C52 = _Ry._Gh(this._Ny)
- } else {
- _C52 = _Ry._Gh(this._RH1)
- }
- if ((_C52 == null) || (_C52._P9 == 0)) return ! 1;
- if (_lt._RH1 < 0) {
- _D52 = _Ry._Gh(_lt._Ny)
- } else {
- _D52 = _Ry._Gh(_lt._RH1)
- }
- if ((_D52 == null) || (_D52._P9 == 0)) return ! 1;
- return _C52._E52(this._L7 | 0, this._Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _D52, _lt._L7 | 0, _lt._Iy, _Xi(_lt._f3), _Xi(_lt._g3), _lt._v7, _lt._J7, _lt._qv1)
- }
- return ! 1
- };
- __32.prototype._wj = function(_U8, _Ui, _ar1, _F52, _zC, _G52) {
- this._Uu1 = -1;
- if (_U8 < 0) return;
- var _FC = _GC._a3[_U8];
- if (!_FC) return;
- if (_FC.length <= 0) return;
- if (_ar1 < 0) return;
- this._Uu1 = _U8;
- this._B7 = _Ui;
- if (this._B7 >= 0) {
- this._dI1 = 0
- } else {
- this._dI1 = 1;
- }
- this._eI1 = this._dI1;
- this._e42 = _ar1;
- this._f42 = _F52;
- this._AC = _G52;
- if (_zC) {
- if (this._B7 >= 0) {
- this._te(_FC._H52(0), _FC._I52(0))
- } else {
- this._te(_FC._H52(1), _FC._I52(1))
- }
- }
- this._h42 = this._f3;
- this._i42 = this._g3
- };
- __32.prototype._Xu1 = function() {
- var _jr, _0a, _2a;
- if (this._Uu1 < 0) return ! 1;
- var _FC = _GC._a3[this._Uu1];
- if (!_FC) return;
- if (_FC.length <= 0) return;
- var _J52 = !1;
- var _K52 = this._f42 * Math.PI / 180.0;
- var _L52 = _FC._JC(this._dI1);
- _0a = _L52._f3;
- _2a = _L52._g3;
- _jr = _L52._h3;
- _L52 = null;
- _jr = _jr / (100 * this._e42);
- this._dI1 = this._dI1 + this._B7 * _jr / _FC.length;
- var _M52 = _FC._JC(0);
- if ((this._dI1 >= 1) || (this._dI1 <= 0)) {
- _J52 = (this._B7 == 0) ? !1 : !0;
- switch (this._AC) {
- case 0:
- {
- if (this._B7 != 0) {
- this._dI1 = 1;
- this._Uu1 = -1
- }
- break
- }
- case 1:
- {
- if (this._dI1 < 0) {
- this._dI1++
- } else {
- this._dI1--
- }
- break
- }
- case 2:
- {
- var _N52 = _FC._JC(1);
- _0a = _N52._f3 - _M52._f3;
- _2a = _N52._g3 - _M52._g3;
- var _O52 = this._e42 * (_0a * Math.cos(_K52) + _2a * Math.sin(_K52));
- var _P52 = this._e42 * (_2a * Math.cos(_K52) - _0a * Math.sin(_K52));
- if (this._dI1 < 0) {
- this._h42 = this._h42 - _O52;
- this._i42 = this._i42 - _P52;
- this._dI1++
- } else {
- this._h42 = this._h42 + _O52;
- this._i42 = this._i42 + _P52;
- this._dI1--
- }
- break
- }
- case 3:
- {
- if (this._dI1 < 0) {
- this._dI1 = -this._dI1;
- this._B7 = Math.abs(this._B7)
- } else {
- this._dI1 = 2 - this._dI1;
- this._B7 = -Math.abs(this._B7)
- }
- break
- }
- default:
- {
- this._dI1 = 1;
- this._Uu1 = -1
- }
- }
- }
- _L52 = _FC._JC(this._dI1);
- _0a = _L52._f3 - _M52._f3;
- _2a = _L52._g3 - _M52._g3;
- var _lA = this._h42 + this._e42 * (_0a * Math.cos(_K52) + _2a * Math.sin(_K52));
- var _mA = this._i42 + this._e42 * (_2a * Math.cos(_K52) - _0a * Math.sin(_K52));
- this._E7(_lA - this._f3);
- this._F7(_mA - this._g3);
- this._p7(0);
- this._te(_lA, _mA);
- return _J52
- };
- __32.prototype._6j = function(_NF) {
- var _nv = -1;
- if ((_NF >= 0) && (_NF < _SI1)) {
- _nv = this._47[_NF]
- }
- return _nv
- };
- __32.prototype._7j = function(_NF, _Dh) {
- if ((_NF >= 0) && (_NF < _SI1)) {
- this._47[_NF] = _Dh
- }
- };
- __32.prototype._SH1 = function() {
- if (this._Gy) {
- this._Hy()
- }
- return this._Iy
- };
- __32.prototype._Q52 = function(_R52, _Tv) {
- var _J3, _K3;
- if (!_MF(this._Ny)) {
- _J3 = _K3 = 0
- } else {
- var _fG = _Ry._Gh(this._Ny);
- _J3 = _fG.width * this._v7;
- _K3 = _fG.height * this._J7
- }
- if (_R52) {
- if ((this._H7 < 0) && (this._f3 < 0)) {
- this._te(this._f3 + _H8._DH1() + _J3, this._g3)
- }
- if ((this._H7 > 0) && (this._f3 >= _H8._DH1())) {
- this._te(this._f3 - _H8._DH1() - _J3, this._g3)
- }
- }
- if (_Tv) {
- if ((this._G7 < 0) && (this._g3 < 0)) {
- this._te(this._f3, this._g3 + _H8._DR() + _K3)
- }
- if ((this._G7 > 0) && (this._g3 >= _H8._DR())) {
- this._te(this._f3, this._g3 - _H8._DR() - _K3)
- }
- }
- };
- __32.prototype._sv1 = function(_Z8, _S52) {
- var _T52 = {};
- if ((_S52._f3 != 0.0) || (_S52._g3 != 0.0)) {
- var _aM = _Z8;
- var _U52 = Math.cos(_aM);
- var _V52 = Math.sin(_aM);
- _T52._f3 = ((_S52._f3 * _U52) - (_S52._g3 * _V52));
- _T52._g3 = ((_S52._g3 * _U52) + (_S52._f3 * _V52))
- } else {
- _T52._f3 = _S52._f3;
- _T52._g3 = _S52._g3
- }
- return _T52
- };
- __32.prototype._0v1 = function(_W52) {
- var __u1 = 1.0 / _H8._kD._lD;
- var _rv1 = this._sv1(_W52._KN(), this._Wu1._Oq1);
- this._f3 = (_W52._JC()._f3 * __u1) + _rv1._f3;
- this._g3 = (_W52._JC()._g3 * __u1) + _rv1._g3;
- this._qv1 = ( - _W52._KN() * 180.0) / _Y9;
- this._Gy = !0;
- this._X52 = (_W52._KN() * 180.0) / Math.PI;
- this._Y52 = this._f3;
- this._Z52 = this._g3;
- this.__52 = (_W52._PZ() * 180.0) / Math.PI;
- this._062 = _W52._NZ()._f3 * __u1;
- this._162 = _W52._NZ()._g3 * __u1;
- this._262 = this._062 / _H8._I8();
- this._362 = this._162 / _H8._I8();
- this._462 = _W52._n_();
- this._562 = _W52._ZZ();
- this._662 = _W52.__Z();
- this._762 = _W52._KZ()._f3 * __u1;
- this._862 = _W52._KZ()._g3 * __u1;
- this._962 = (_W52._hP === _Xp1._Ys1._6Z);
- this._a62 = (_W52._hP === _Xp1._Ys1._eZ);
- this._b62 = !_W52._q_();
- this._c62 = _W52._u_();
- this._d62 = _W52._s_();
- this._e62 = Math.sqrt((this._262 * this._262) + (this._362 * this._362));
- this._f62 = _W52._c_();
- this._g62 = _W52._b_();
- if (this._1v1 === undefined) {
- this._1v1 = _W52._JC()._f3 * __u1
- }
- if (this._2v1 === undefined) {
- this._2v1 = _W52._JC()._g3 * __u1;
- }
- };
- __32.prototype._7b = function() {
- if (_MF(this._Ny)) {
- var _wG = _Ry._Gh(this._Ny);
- if (_wG._o42) {
- if (!this._h62) {
- this._h62 = new _i8(_wG._o42)
- }
- }
- }
- return this._h62
- };
- function _vV1() {
- this._i62 = new _Th();
- this._i62._Uh = !0;
- this._j62 = []
- }
- _vV1.prototype._zg = function() {
- this._j62 = [];
- this._i62._zg()
- };
- _vV1.prototype._RA = function() {
- return this._i62._3i
- };
- _vV1.prototype._Wh = function(_Ay) {
- this._j62[_Ay.id] = _Ay;
- this._i62._Wh(_Ay)
- };
- _vV1.prototype._9V1 = function(_Ch) {
- return this._j62[_Ch]
- };
- _vV1.prototype._Gh = function(_Ch) {
- var _Ay = this._j62[_Ch];
- if (_Ay != null) return _Ay;
- var _li = _Ys._Gh(_Ch);
- if (_li != null) {
- _Ay = _li._Zs._3i[0];
- if (_Ay != null) return _Ay
- }
- return null
- };
- _vV1.prototype._k62 = function(_lt) {
- this._i62._NY1(_lt);
- var id = _lt.id;
- this._j62[id] = null
- };
- _vV1.prototype._l62 = function() {
- var _3i = _H8._Fy._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Ay = _3i[index];
- _Ay._bI1 = _Ay._f3;
- _Ay._cI1 = _Ay._g3;
- _Ay._eI1 = _Ay._dI1
- }
- };
- _vV1.prototype._m62 = function() {
- var _3i = _H8._Fy._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Ay = _3i[index];
- _Ay.__42();
- if (_Ay._Xu1()) {
- _Ay._g9(_Yu1, 0, _Ay, _Ay)
- }
- _Ay._f3 += _Ay._H7;
- _Ay._g3 += _Ay._G7;
- _Ay._Gy = !0
- }
- };
- _vV1.prototype._n62 = function() {
- var _3i = _H8._Fy._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Ay = _3i[index];
- _Ay._L7 += _Ay._b7;
- var _ju = _Ay._152();
- if (_Ay._L7 >= _ju) {
- _Ay._L7 -= _ju;
- var _Oy = _Ay._Oy;
- if (_Oy._PH1[_dL1]) {
- _Ay._g9(_dL1, 0, _Ay, _Ay)
- }
- }
- }
- };
- _vV1.prototype._g9 = function(_fr, _NF) {
- var _nY = !0;
- if (_H8) {
- var _a52 = _fr;
- if (_a52 != _jv1) _a52 |= _NF;
- var _3i = _H8._Fy._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Ay = _3i[index];
- if (!_Ay._uy) {
- var _Oy = _Ay._Oy;
- if (_Oy._PH1[_a52]) {
- _nY = _Ay._g9(_fr, _NF, _Ay, _Ay)
- }
- }
- }
- }
- return _nY
- };
- var _x7;
- function _OU1(_Ch) {
- var _Ay = _dy._Gh(_Ch);
- if (!_Ay) {
- _Ay = _Ys._Gh(_Ch);
- if (_Ay) _Ay = _Ay._yI1._Gh(0)
- }
- return _Ay
- }
- function _PU1(_Ch) {
- var _Ay = _dy._Gh(_Ch);
- if (!_Ay) {
- _Ay = _Ys._Gh(_Ch);
- if (!_Ay) {
- _Zp("Unknown instance ID: " + _Ch);
- debug(_0q());
- return _sT1
- }
- _Ay = _Ay._yI1._Gh(0);
- _Zp("Warning: Object ID being used to access instance" + _Ch);
- debug(_0q())
- }
- return _Ay
- }
- var _o62 = 256;
- var _p62 = 3;
- var _q62 = 1024;
- var __J = 1;
- var _7K = 2;
- var _r62 = 4;
- var _lh = 1;
- var _jh = 2;
- var _kh = 0x80000000;
- var _s62 = 128;
- var _t62 = 0,
- _eh = 0,
- _fh = 0,
- _gh = 0,
- _u62 = -1,
- _v62 = 0,
- _w62 = 0,
- _x62 = 0,
- _y62 = 0,
- _3z = 0,
- _tL = !1,
- _GI1 = 0,
- _HI1 = 0,
- _z62 = 0;
- var _1z = [];
- var _2z = [];
- var _5z = [];
- var _2K = [];
- var _iL = [];
- var _hh = [];
- var _A62 = 0;
- var _1h = [];
- var _B62 = {
- 8 : String.fromCharCode(8),
- 9 : 0,
- 13 : 0,
- 16 : 0,
- 17 : 0,
- 18 : 0,
- 19 : 0,
- 20 : 0,
- 27 : 0,
- 22 : 0,
- 32 : " ",
- 34 : 0,
- 35 : 0,
- 36 : 0,
- 37 : 0,
- 38 : 0,
- 39 : 0,
- 40 : 0,
- 45 : 0,
- 46 : 0,
- 47 : 0,
- 48 : "0",
- 49 : "1",
- 50 : "2",
- 51 : "3",
- 52 : "4",
- 53 : "5",
- 54 : "6",
- 55 : "7",
- 56 : "8",
- 57 : "9",
- 58 : "0",
- 59 : ";",
- 65 : "a",
- 66 : "b",
- 67 : "c",
- 68 : "d",
- 69 : "e",
- 70 : "f",
- 71 : "g",
- 72 : "h",
- 73 : "i",
- 74 : "j",
- 75 : "k",
- 76 : "l",
- 77 : "m",
- 78 : "n",
- 79 : "o",
- 80 : "p",
- 81 : "q",
- 82 : "r",
- 83 : "s",
- 84 : "t",
- 85 : "u",
- 86 : "v",
- 87 : "w",
- 88 : "x",
- 89 : "y",
- 90 : "z",
- 91 : 0,
- 92 : 0,
- 93 : 0,
- 96 : "0",
- 97 : "1",
- 98 : "2",
- 99 : "3",
- 100 : "4",
- 101 : "5",
- 102 : "6",
- 103 : "7",
- 104 : "8",
- 105 : "9",
- 106 : "*",
- 107 : "+",
- 109 : "-",
- 110 : ".",
- 111 : "/",
- 112 : 0,
- 113 : 0,
- 114 : 0,
- 115 : 0,
- 116 : 0,
- 117 : 0,
- 118 : 0,
- 119 : 0,
- 120 : 0,
- 121 : 0,
- 122 : 0,
- 123 : 0,
- 144 : 0,
- 145 : 0,
- 186 : ";",
- 187 : "=",
- 188 : ",",
- 189 : "-",
- 190 : ".",
- 191 : "/",
- 192 : "'",
- 219 : "[",
- 220 : "\\",
- 221 : "]",
- 222 : "#",
- 223 : "`"
- };
- var _C62 = {
- 8 : String.fromCharCode(8),
- 9 : 0,
- 13 : 0,
- 16 : 0,
- 17 : 0,
- 18 : 0,
- 19 : 0,
- 20 : 0,
- 27 : 0,
- 22 : 0,
- 32 : " ",
- 34 : 0,
- 35 : 0,
- 36 : 0,
- 37 : 0,
- 38 : 0,
- 39 : 0,
- 40 : 0,
- 45 : 0,
- 46 : 0,
- 47 : 0,
- 48 : ")",
- 49 : "!",
- 50 : "\"",
- 51 : "£",
- 52 : "$",
- 53 : "%",
- 54 : "^",
- 55 : "&",
- 56 : "*",
- 57 : "(",
- 58 : ")",
- 59 : ":",
- 65 : "A",
- 66 : "B",
- 67 : "C",
- 68 : "D",
- 69 : "E",
- 70 : "F",
- 71 : "G",
- 72 : "H",
- 73 : "I",
- 74 : "J",
- 75 : "K",
- 76 : "L",
- 77 : "M",
- 78 : "N",
- 79 : "O",
- 80 : "P",
- 81 : "Q",
- 82 : "R",
- 83 : "S",
- 84 : "T",
- 85 : "U",
- 86 : "V",
- 87 : "W",
- 88 : "X",
- 89 : "Y",
- 90 : "Z",
- 91 : 0,
- 92 : 0,
- 93 : 0,
- 96 : "0",
- 97 : "1",
- 98 : "2",
- 99 : "3",
- 100 : "4",
- 101 : "5",
- 102 : "6",
- 103 : "7",
- 104 : "8",
- 105 : "9",
- 106 : "*",
- 107 : "+",
- 109 : "-",
- 110 : ".",
- 111 : "/",
- 112 : 0,
- 113 : 0,
- 114 : 0,
- 115 : 0,
- 116 : 0,
- 117 : 0,
- 118 : 0,
- 119 : 0,
- 120 : 0,
- 121 : 0,
- 122 : 0,
- 123 : 0,
- 144 : 0,
- 145 : 0,
- 186 : ":",
- 187 : "+",
- 188 : "<",
- 189 : "_",
- 190 : ">",
- 191 : "?",
- 192 : "@",
- 219 : "{",
- 220 : "|",
- 221 : "}",
- 222 : "~",
- 223 : "¬"
- };
- function _2G1() {
- _tL = !0
- }
- function _D62() {
- _tL = !1;
- _E62()
- }
- function _F62(_G62, _H62) {
- try {
- if (_G62) {
- if (_G62._U2) {
- if (_G62._U2._A5) {
- if (_G62._U2._A5._D5) {
- if (_G62._U2._A5._D5 == _U2._A5._D5) {
- _G62.focus();
- _H62.focus();
- return ! 0
- }
- }
- }
- }
- }
- } catch(err) {}
- return ! 1
- }
- function _I62() {
- var _9I = document.getElementById(_cq);
- var _J62;
- if ((_yz == _yK1) || (_yz == _xK1) || (_yz == _zK1) || (_yz == _AK1)) {
- _J62 = parent.frames;
- for (var _K62 = 0; _K62 < _J62.length; _K62++) {
- var _L62 = _J62[_K62];
- if (_F62(_L62, _9I)) break
- }
- } else {
- _J62 = parent.document.getElementsByTagName("IFRAME");
- for (var _K62 in _J62) {
- var _L62 = _J62[_K62].contentWindow;
- if (_F62(_L62, _9I)) break
- }
- }
- }
- var _M62;
- var _N62;
- var _O62;
- var _P62;
- var _Q62;
- var _R62;
- var _S62;
- var _T62;
- var _U62;
- var _V62;
- var _W62;
- function _X62() {
- var _IG = document.getElementById("gm4html5_div_id");
- if (_IG) {
- _N62 = _IG.style.left;
- _O62 = _IG.style.top;
- _P62 = _IG.style.margin;
- var top = window.parent;
- if (top != null) {
- if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
- var _Y62 = top.chrome.app.window.current();
- if (_Y62 != null) {
- var _Z62 = window.parent.document.getElementById("container");
- var __62 = window.parent.document.getElementById("game");
- if (_Z62 != null) {
- _Q62 = _Z62.style.width;
- _R62 = _Z62.style.height;
- _U62 = _Z62.style.left;
- _S62 = _Z62.style.margin;
- _T62 = _Z62.style.position;
- }
- if (__62 != null) {
- _V62 = __62.style.width;
- _W62 = __62.style.height
- }
- _Y62.fullscreen();
- var _072 = _Y62.getBounds();
- if (_Z62 != null) {
- _Z62.style.width = "100%";
- _Z62.style.height = "100%";
- _Z62.style.left = "0";
- _Z62.style.margin = 'auto';
- _Z62.style.position = 'relative'
- }
- if (__62 != null) {
- __62.style.width = "100%";
- __62.style.height = "100%";
- canvas.style.width = "100%";
- canvas.style.height = "100%"
- }
- }
- }
- }
- _IG.style.margin = "0px";
- _IG.style.top = "0";
- _IG.style.left = "0";
- _IG.style._172 = "0px";
- _IG.style._272 = "0px";
- if (_IG.mozRequestFullScreen) {
- _IG.mozRequestFullScreen();
- } else if (_IG.webkitRequestFullScreen) {
- _IG.onwebkitfullscreenchange = function(e) {
- _IG.onwebkitfullscreenchange = _372
- };
- if (_yz == _zK1) {
- _IG.webkitRequestFullScreen()
- } else {
- _IG.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)
- }
- } else if (document.documentElement.requestFullScreen) {
- document.documentElement.requestFullScreen()
- }
- _HT1 = !0;
- return
- }
- if (canvas.mozRequestFullScreen) {
- canvas.style.margin = "0px";
- canvas.style.top = "";
- canvas.style.left = "";
- canvas.style._172 = "0px";
- canvas.style._272 = "0px";
- canvas.mozRequestFullScreen();
- } else if (canvas.webkitRequestFullScreen) {
- canvas.style.margin = "0px";
- canvas.style.top = "";
- canvas.style.left = "";
- canvas.style._172 = "0px";
- canvas.style._272 = "0px";
- canvas.onwebkitfullscreenchange = function(e) {
- canvas.onwebkitfullscreenchange = _372
- };
- if (_yz == _zK1) {
- canvas.webkitRequestFullScreen()
- } else {
- canvas.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)
- }
- } else if (document.documentElement.requestFullScreen) {
- canvas.style.margin = "0px";
- canvas.style.top = "";
- canvas.style.left = "";
- canvas.style._172 = "0px";
- canvas.style._272 = "0px";
- document.documentElement.requestFullScreen()
- }
- _HT1 = !0
- }
- function _372() {
- if (_AT1) {
- var _IG = document.getElementById("gm4html5_div_id");
- if (_IG) {
- _IG.style.left = _N62;
- _IG.style.top = _O62;
- _IG.style.margin = _P62
- }
- var top = window.parent;
- if (top != null) {
- if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
- var _Y62 = top.chrome.app.window.current();
- if (_Y62 != null) _Y62.restore()
- }
- }
- _HT1 = !0
- }
- }
- function _472() {
- var top = window.parent;
- if (top != null) {
- if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) {
- var _Y62 = top.chrome.app.window.current();
- if (_Y62 != null) {
- _Y62.restore();
- _HT1 = !0;
- var _Z62 = window.parent.document.getElementById("container");
- if (_Z62 != null) {
- _Z62.style.width = _Q62;
- _Z62.style.height = _R62;
- _Z62.style.left = _U62;
- _Z62.style.margin = _S62;
- _Z62.style.position = _T62
- }
- var __62 = window.parent.document.getElementById("game");
- if (__62 != null) {
- __62.style.width = _V62;
- __62.style.height = _W62;
- canvas.style.width = _V62;
- canvas.style.height = _W62
- }
- }
- }
- }
- if (document.webkitCancelFullScreen) {
- document.webkitCancelFullScreen();
- } else if (document.mozCancelFullScreen) {
- document.mozCancelFullScreen();
- _372()
- } else {
- _HT1 = !0
- }
- }
- function _sq() {
- if (_FT1) return;
- window.onkeyup = function() {
- _572(arguments[0] || window.event)
- };
- window.onkeydown = function() {
- var _YJ1 = arguments[0] || window.event;
- if ((_BT1) && (_YJ1 != null) && (_YJ1.which == 121) && (!_YJ1.repeat) && (canvas.mozRequestFullScreen)) {
- if (!document.mozFullScreen) {
- _672();
- _X62()
- } else {
- _772()
- }
- _YJ1.preventDefault();
- return
- }
- _872(arguments[0] || window.event)
- };
- _FT1 = !0
- }
- function _gq() {
- if (_FT1 == !1) return;
- window.onkeydown = null;
- window.onkeyup = null;
- _FT1 = !1
- }
- function _972(_a72) {
- if (_a72 == 121) {
- return ! 0
- }
- if (window.chrome && window.chrome.app) {
- if (_a72 == 183) return ! 0
- }
- return ! 1
- }
- function _872(_YJ1) {
- var _a72;
- if (_YJ1 == null) {
- _a72 = window.event.which;
- if (_a72 == 122) return;
- if (_a72 != 121) window.event.preventDefault();
- else _HT1 = !0;
- window.event.preventDefault()
- } else {
- if (_YJ1.repeat) return;
- _a72 = _YJ1.which;
- if (_a72 == 122) return;
- if (_a72 == 120) {} else if (!_972(_a72)) {
- _YJ1.preventDefault()
- } else {
- if (_BT1) {
- if (!_AT1) {
- _672();
- _X62();
- } else {
- _472()
- }
- }
- }
- _YJ1.preventDefault()
- }
- if (_1z[_a72]) return;
- _1z[_a72] = 1;
- _2z[_a72] = 1;
- _3z = _a72;
- if (_yz == _zz) {
- _y62 = _YJ1.char
- } else {
- if (_YJ1.shiftKey) {
- _y62 = _C62[_a72]
- } else {
- _y62 = _B62[_a72]
- }
- }
- if (!_y62) _y62 = ""
- }
- function _572(_YJ1) {
- var _a72;
- if (_YJ1 == null) {
- _a72 = window.event.which;
- if (_a72 == 122) return;
- window.event.preventDefault()
- } else {
- _a72 = _YJ1.which;
- if (_a72 == 122) return;
- _YJ1.preventDefault()
- }
- _5z[_a72] = 1;
- _1z[_a72] = 0;
- return ! 1
- }
- function _ep1(_fp1) {
- _eh = _fp1.pageX;
- _fh = _fp1.pageY;
- _hh[_fp1.button]._f3 = _eh;
- _hh[_fp1.button]._g3 = _fh
- }
- function _b72(_fp1) {
- if (!_tL) {
- _I62()
- }
- _t62 = _fp1.button;
- if (_t62 == 2) _t62 = 1;
- else if (_t62 == 1) _t62 = 2;
- _w62 = _u62;
- _u62 = _t62;
- _gh |= (1 << _t62);
- _hh[_fp1.button]._ih = _jh | _kh | _lh;
- _hh[_fp1.button]._f3 = _fp1.pageX;
- _hh[_fp1.button]._g3 = _fp1.pageY;
- return _fp1
- }
- function _c72(_fp1) {
- _t62 = _fp1.button;
- if (_t62 == 2) _t62 = 1;
- else if (_t62 == 1) _t62 = 2;
- _x62 = _v62;
- _v62 = _t62;
- _gh &= ~ (1 << _t62);
- _u62 = -1;
- _hh[_fp1.button]._ih = 0;
- return ! 1
- }
- function _d72(_fp1) {
- if (_fp1.detail) {
- _z62 = -_fp1.detail
- } else {
- _z62 = _fp1.wheelDelta
- }
- }
- function _e72() {
- _dy._g9(_9L1, 0);
- return undefined
- }
- function _tV1() {
- this._f72 = "a";
- this._g72 = [];
- this._h72 = this._i72 = -1;
- this._j72 = [];
- this._k72 = [];
- this._l72 = [];
- this._m72 = this._n72 = 0;
- this._nf = [];
- this._mf = [];
- this._if = [];
- this._o72 = this._p72 = !1;
- this._q72 = [];
- this._r72 = this._s72 = this._t72 = this._u72 = this._gI1 = this._hI1 = this._F8 = 0;
- for (var _R9 = 0; _R9 < _q62; _R9++) {
- this._g72[_R9] = ""
- }
- for (var _R9 = 0; _R9 < _o62; _R9++) {
- this._j72[_R9] = this._k72[_R9] = this._l72[_R9] = !1;
- this._q72[_R9] = _R9
- }
- for (var _R9 = 0; _R9 < _p62; _R9++) {
- this._nf[_R9] = this._mf[_R9] = this._if[_R9] = !1
- }
- this._Ag = _v72;
- this._w72 = _x72;
- this._y72 = _y72;
- this._z72 = _z72;
- this._A72 = _A72;
- this._B72 = _B72;
- this._C72 = _C72;
- this._D72 = _D72;
- this._E72 = _E72;
- this._F72 = _F72;
- this._G72 = _G72;
- this._H72 = _H72;
- this._I72 = _I72;
- this._J72 = _J72;
- this._K72 = _K72;
- this._L72 = _L72;
- this._M72 = _M72;
- this._N72 = _N72;
- this._O72 = _O72;
- this._P72 = _P72;
- this._Q72 = _Q72;
- this._R72 = _S72;
- this._T72 = _U72;
- this._V72 = _W72;
- this._X72 = _X72;
- for (var _R9 = 0; _R9 < _o62; _R9++) {
- _1z[_R9] = _5z[_R9] = !1
- }
- canvas.onmousemove = _ep1;
- canvas.onmousedown = _b72;
- canvas.onmouseup = _c72;
- canvas.onmousewheel = _d72;
- canvas.onselectstart = function() {
- return ! 1
- };
- canvas.addEventListener("DOMMouseScroll", _d72, !1);
- var _R9 = document.getElementById("loading_screen");
- if (_R9) {
- _R9.onmousemove = _ep1;
- _R9.onmousedown = _b72;
- _R9.onmouseup = _c72;
- _R9.onmousewheel = _d72;
- _R9.addEventListener("DOMMouseScroll", _d72, !1)
- }
- document.body.onfocusin = _2G1;
- document.body.onfocusout = _D62;
- document.onfocusin = _2G1;
- document.onfocusout = _D62;
- window.onfocus = _2G1;
- window.onblur = _D62;
- if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") _sq();
- if (!_U32) {
- window._Y72 = _e72
- }
- _iL = new Array(_s62);
- _hh = new Array(_s62);
- for (var _Z72 = 0; _Z72 < _s62; _Z72++) {
- _iL[_Z72] = new __72();
- _hh[_Z72] = new __72()
- }
- }
- function __72() {
- this._ih = 0;
- this._f3 = 0;
- this._g3 = 0
- }
- function _E62() {
- _082();
- _182();
- _w6._m02 = 0;
- _w6._m02 = "";
- _3z = 0;
- _y62 = ""
- }
- _tV1.prototype._zg = function() {
- this._282();
- this._Q72();
- _w6._m02 = 0;
- _w6._n02 = 0;
- _w6._m02 = "";
- _3z = 0;
- _y62 = "";
- _w6._o02 = "";
- _w6._p02 = ""
- };
- function _y72() {
- return this._f72
- }
- function _z72(_382) {
- this._f72 = _yL
- }
- function _A72() {
- return this._i72
- }
- function _B72() {
- return this._h72
- }
- function _C72(_ii) {
- if (_ii < 0 || _ii > 255) return ! 1;
- this._i72 = _ii
- }
- function _D72(_ii) {
- if (_ii < 0 || _ii > 255) return ! 1;
- this._h72 = _ii
- }
- function _E72(_ii) {
- if (_ii < 0 || _ii > 255) return ! 1;
- return this._j72[_ii]
- }
- function _F72(_ii) {
- if (_ii < 0 || _ii > 255) return ! 1;
- return this._l72[_ii]
- }
- function _G72(_ii) {
- if (_ii < 0 || _ii > 255) return ! 1;
- return this._k72[_ii]
- }
- function _H72(_ii) {
- if (_ii < 0 || _ii > 255) return;
- this._j72[_ii] = 0;
- this._l72[_ii] = 0;
- this._k72[_ii] = 0
- }
- _tV1.prototype._282 = function() {
- this._i72 = 0;
- this._h72 = 0;
- this._f72 = 0;
- for (var _H3 = 0; _H3 <= _o62; _H3++) {
- this._j72[_H3] = 0;
- this._l72[_H3] = 0;
- this._k72[_H3] = 0
- }
- };
- function _082() {
- for (var _H3 = 0; _H3 < _o62; _H3++) {
- _2z[_H3] = 0;
- _5z[_H3] = 0;
- _1z[_H3] = 0
- }
- }
- function _I72() {
- return this._m72
- }
- function _J72() {
- return this._n72
- }
- function _K72(_9L) {
- if ((_9L < 1) || (_9L > 3)) return;
- this._m72 = _9L
- }
- function _L72(_9L) {
- if ((_9L < 1) || (_9L > 3)) return;
- this._n72 = _9L
- }
- function _M72(_9L) {
- _9L--;
- if (_9L >= 0 && _9L < _p62) {
- return this._nf[_9L]
- }
- return ! 1
- }
- function _N72(_9L) {
- _9L--;
- if (_9L >= 0 && _9L < _p62) {
- return this._if[_9L]
- }
- }
- function _O72(_9L) {
- _9L--;
- if (_9L >= 0 && _9L < _p62) {
- return this._mf[_9L]
- }
- return ! 1
- }
- function _P72(_9L) {
- _9L--;
- if (_9L >= 0 && _9L < _p62) {
- this._nf[_9L] = !1;
- this._if[_9L] = !1;
- this._mf[_9L] = !1
- }
- }
- function _Q72() {
- this._m72 = 0;
- this._n72 = 0;
- for (var _H3 = 0; _H3 <= _p62; _H3++) {
- this._nf[_H3] = !1;
- this._if[_H3] = !1;
- this._mf[_H3] = !1
- }
- this._p72 = !1;
- this._o72 = !1;
- for (var _7h = 0; _7h < _1h.length; _7h++) {
- _1h[_7h]._zg()
- }
- }
- function _182() {
- _x62 = -1;
- _v62 = -1;
- _u62 = -1;
- _gh = 0;
- _hh[0]._ih = 0;
- _hh[0]._f3 = 0;
- _hh[0]._g3 = 0;
- _t62 = -1
- }
- function _v72() {
- for (var _7h = 0; _7h < _1h.length; _7h++) {
- var _8h = _1h[_7h];
- if (_8h._nf) {
- _8h._mf = 0;
- _8h._if = _8h._Hg ^ _8h._nf
- } else {
- _8h._mf = _8h._Hg ^ _8h._nf;
- _8h._if = 0
- }
- _8h._Hg = _8h._nf
- }
- for (var _Z72 = 0; _Z72 < _hh.length; _Z72++) {
- _iL[_Z72]._ih = _hh[_Z72]._ih;
- _iL[_Z72]._f3 = _hh[_Z72]._f3;
- _iL[_Z72]._g3 = _hh[_Z72]._g3;
- _hh[_Z72]._ih &= ~_lh
- }
- if (_w6._m02 != 0) {
- _w6._n02 = _w6._m02
- }
- _w6._m02 = _3z;
- if (_3z) {
- if (_y62) {
- if (_3z == 13) {} else if (_3z == 8) {
- _w6._o02 = _y62;
- if (_w6._p02.length > 0) {
- _w6._p02 = _w6._p02.substring(0, _w6._p02.length - 1)
- }
- } else {
- _w6._o02 = _y62;
- _w6._p02 += _w6._o02;
- if (_w6._p02.length > 1024) {
- _w6._p02 = _w6._p02.substring(1, _w6._p02.length - 1)
- }
- }
- }
- _3z = 0
- }
- this._gI1 = _eh;
- this._hI1 = _fh;
- this._s72 = _gh;
- if ((this._s72 & 1) != 0) {
- this._nf[0] = 1;
- if ((this._t72 ^ this._s72) != 0) {
- this._if[0] = 1
- }
- } else {
- this._nf[0] = 0;
- if ((this._s72 ^ this._t72) == 1) {
- this._mf[0] = 1
- }
- }
- if ((this._s72 & 2) != 0) {
- this._nf[1] = 1;
- if ((this._t72 ^ this._s72) != 0) {
- this._if[1] = 1
- }
- } else {
- this._nf[1] = 0;
- if ((this._s72 ^ this._t72) == 2) {
- this._mf[1] = 1
- }
- }
- if ((this._s72 & 4) != 0) {
- this._nf[2] = 1;
- if ((this._t72 ^ this._s72) != 0) {
- this._if[2] = 1
- }
- } else {
- this._nf[2] = 0;
- if ((this._s72 ^ this._t72) == 4) {
- this._mf[2] = 1
- }
- }
- this._t72 = this._s72;
- _w6._h7 = this._gI1;
- _w6._lL = this._hI1;
- _w6._k02 = _u62 + 1;
- _w6._l02 = _w62;
- this._X72()
- }
- function _X72() {
- var _482 = 0;
- var _ie = 0;
- var _J3 = _9U1;
- var _K3 = _aU1;
- var _ia = _oI();
- var _qG = _pI();
- if (_J3 < 0) _J3 = _ia;
- if (_K3 < 0) _K3 = _qG;
- for (var _Z72 = 0; _Z72 < _iL.length; _Z72++) {
- var _582 = _iL[_Z72];
- if ((_582._ih & _kh) != 0) {
- _ie = 1;
- for (var _682 = 0; _682 < _2K.length; _682++) {
- var _XJ = _2K[_682];
- if ((_XJ._ZJ & __J) != 0) {
- var _f3 = (_J3 * (_582._f3 - _Pg.left)) / _ia;
- var _g3 = (_K3 * (_582._g3 - _Pg.top)) / _qG;
- if ((_f3 >= _XJ._f3) && (_f3 < _XJ._I9) && (_g3 >= _XJ._g3) && (_g3 < _XJ._J9)) {
- _482 |= _ie
- }
- }
- _ie <<= 1
- }
- _582._ih = 0
- }
- }
- _ie = 1;
- var _782 = _A62 ^ _482;
- for (var _682 = 0; _682 < _2K.length; _682++) {
- var _XJ = _2K[_682];
- if ((_XJ._ZJ & __J) != 0) {
- var _882 = _482 & _ie;
- var _Wp = _782 & _ie;
- if (_XJ._pz != 0) {
- this._l72[_XJ._pz] |= (_882 && _Wp);
- this._j72[_XJ._pz] |= (_882 && !_Wp);
- this._k72[_XJ._pz] |= (!_882 && _Wp)
- } else {
- this._if[_XJ.button - 1] |= (_882 && _Wp);
- this._nf[_XJ.button - 1] |= (_882 && !_Wp);
- this._mf[_XJ.button - 1] |= (!_882 && _Wp)
- }
- }
- _ie <<= 1
- }
- _A62 = _482
- }
- function _R72(_982) {
- var _YJ1 = __K1 | _982;
- var _3i = _H8._Fy._3i;
- var _a82 = _3i.length;
- for (var _4s = 0; _4s < _a82; _4s++) {
- var _Ay = _3i[_4s];
- var _li = _Ay._Oy;
- if (_li._PH1[_YJ1]) {
- _Ay._g9(__K1, _982, _Ay, _Ay)
- }
- }
- }
- function _b82(_c82) {
- var _YJ1 = _2L1 | _c82;
- var _3i = _H8._Fy._3i;
- var _a82 = _3i.length;
- for (var _4s = 0; _4s < _a82; _4s++) {
- var _Ay = _3i[_4s];
- if (_Ay._uy) {
- continue
- }
- var _li = _Ay._Oy;
- if (_li._PH1[_YJ1]) {
- _Ay._g9(_2L1, _c82, _Ay, _Ay)
- }
- }
- }
- function _V72(_d82) {
- var _YJ1 = _3L1 | _d82;
- var _3i = _H8._Fy._3i;
- var _a82 = _3i.length;
- for (var _4s = 0; _4s < _a82; _4s++) {
- var _Ay = _3i[_4s];
- var _li = _Ay._Oy;
- if (_li._PH1[_YJ1]) {
- _Ay._g9(_3L1, _d82, _Ay, _Ay)
- }
- }
- }
- function _S72() {
- var _e82 = 0;
- for (var _H3 = 2; _H3 < _o62; _H3++) {
- if (this._j72[_H3]) {
- _e82 = 1;
- _R72(_H3)
- }
- }
- _R72(_e82)
- }
- function _U72() {
- var _f82 = 0;
- for (var _H3 = 2; _H3 < _o62; _H3++) {
- if (this._l72[_H3]) {
- _f82 = 1;
- _b82(_H3)
- }
- }
- _b82(_f82)
- }
- function _W72() {
- var _g82 = 0;
- for (var _H3 = 2; _H3 < _o62; _H3++) {
- if (this._k72[_H3]) {
- _g82 = 1;
- _V72(_H3)
- }
- }
- _V72(_g82)
- }
- function _x72() {
- var _h82 = 0,
- _i82 = 0,
- _j82 = 0;
- this._F8++;
- for (var _H3 = 0; _H3 < _o62; _H3++) {
- this._l72[_H3] = this._k72[_H3] = this._j72[_H3] = 0
- }
- for (var _H3 = 0; _H3 < _o62; _H3++) {
- var _pz = this._q72[_H3];
- this._l72[_pz] |= _2z[_H3];
- this._k72[_pz] |= _5z[_H3];
- this._j72[_pz] |= _1z[_H3];
- _h82 |= _2z[_H3];
- _i82 |= _1z[_H3];
- _j82 |= _5z[_H3];
- _2z[_H3] = 0;
- _5z[_H3] = 0
- }
- this._l72[1] = _h82;
- this._j72[1] = _i82;
- this._k72[1] = _j82;
- this._l72[0] = _h82 ^ 1;
- this._j72[0] = _i82 ^ 1;
- this._k72[0] = _j82 ^ 1;
- _GI1 = _HI1 = 0;
- if (_z62 > 0) {
- _GI1 = 1
- } else if (_z62 < 0) {
- _HI1 = 1
- }
- _z62 = 0;
- for (var _H3 = 0; _H3 <= _p62; _H3++) {
- this._if[_H3] = !1;
- this._mf[_H3] = !1
- }
- this._p72 = !1;
- this._o72 = !1;
- this._Ag();
- var _Jg;
- if (!_H8._Kg) {
- _Jg = _Lg
- } else {
- _Jg = _H8._Mg
- }
- for (var _xb = 0; _xb <= 7; ++_xb) {
- _Ng = _Jg[_xb];
- if (_Ng && _Ng._Q3) {
- _w6._h7 = _Ng._Ug(_dh._gI1);
- _w6._lL = _Ng._Vg(_dh._hI1);
- break
- }
- }
- for (var _xb = 7; _xb >= 0; _xb--) {
- _Ng = _Jg[_xb];
- if (_Ng && _Ng._Q3) {
- _Og(canvas, _Pg);
- if (((this._gI1 - _Pg.left) >= _Ng._Qg) && ((this._gI1 - _Pg.left) < _Ng._Rg) && ((this._hI1 - _Pg.top) >= _Ng._Sg) && ((this._hI1 - _Pg.top) < _Ng._Tg)) {
- _w6._h7 = _Ng._Ug(_dh._gI1);
- _w6._lL = _Ng._Vg(_dh._hI1);
- break
- }
- }
- }
- }
- function _k82() {
- _dh._R72();
- _dh._T72();
- _dh._V72()
- }
- function _l82(index) {
- this._ZJ = 0;
- this.index = index;
- this._f3 = 0;
- this._g3 = 0;
- this._I9 = 0;
- this._J9 = 0;
- this._J3 = 0;
- this._K3 = 0;
- this._vb = 0;
- this._xb = 0;
- this._pz = 0;
- this.button = 0
- }
- function _YJ() {
- for (var _R9 = 0; _R9 < _2K.length; ++_R9) {
- if (_2K[_R9]._ZJ == 0) {
- return _2K[_R9]
- }
- }
- var _H3 = _2K.length;
- _2K[_H3] = new _l82(_H3);
- return _2K[_H3]
- }
- function _3K(_m82) {
- _2K[_m82]._ZJ = 0
- }
- function _n82() {
- for (var _R9 = 0; _R9 < _2K.length; ++_R9) {
- _2K[_R9]._ZJ = 0
- }
- }
- _tV1.prototype._o82 = function() {
- _wq();
- _h22();
- var _Mu = [];
- _Mu[0] = 1;
- _Mu[1] = 0;
- _Mu[2] = 0;
- _Mu[3] = 1;
- _Mu[4] = 0;
- _Mu[5] = 0;
- _o12(_Mu);
- var _ns = _rv();
- var _p82 = _sv();
- _Y6(0xffffff);
- for (var _R9 = 0; _R9 < _5K.length; ++_R9) {
- var _6K = _5K[_R9];
- _Iv(_6K._f3, _6K._g3, _6K._f3 + _6K._J3 - 1, _6K._g3 + _6K._K3 - 1, !0)
- }
- _Y6(_p82);
- _pv(_ns);
- _j22()
- };
- function _Th() {
- this._q82 = [];
- this._3i = [];
- this._Uh = !1;
- this.length = 0;
- this._Ea = 0
- }
- _Th.prototype.__U1 = function() {
- if (this._q82.length == 0) {
- return this._3i.length
- }
- return this._q82.pop();
- };
- _Th.prototype._Wh = function(_LY1) {
- var index;
- if (this._Uh) {
- index = this._3i.length
- } else {
- index = this.__U1()
- }
- this._3i[index] = _LY1;
- this._Ea++;
- this.length = this._3i.length;
- return index
- };
- _Th.prototype._Gh = function(_dA) {
- if (_dA < 0 || _dA >= this._3i.length) return null;
- return this._3i[_dA]
- };
- _Th.prototype._MY1 = function(_rF1) {
- for (var _R9 = 0; _R9 < this._3i.length; _R9++) {
- if (this._3i[_R9] == _rF1) return _R9
- }
- };
- _Th.prototype._NY1 = function(_rF1) {
- for (var _R9 = 0; _R9 < this._3i.length; _R9++) {
- if (this._3i[_R9] == _rF1) {
- if (this._Uh) {
- this._3i.splice(_R9, 1)
- } else {
- this._3i[_R9] = null;
- this._q82.push(_R9)
- }
- this._Ea--;
- this.length = this._3i.length;
- return ! 0
- }
- }
- return ! 1
- };
- _Th.prototype._di = function(_dA) {
- if (_dA < 0 || _dA >= this._3i.length) return ! 1;
- if (this._Uh) {
- this._3i.splice(_dA, 1)
- } else {
- this._3i[_dA] = null;
- this._q82.push(_dA)
- }
- this._Ea--;
- this.length = this._3i.length;
- return ! 0
- };
- _Th.prototype._zg = function() {
- this._3i = [];
- this._q82 = [];
- this._Ea = 0;
- this.length = this._3i.length
- };
- _Th.prototype._gi = function(_NF, _Dh) {
- if (_NF < 0 || _NF >= this._3i.length) return;
- this._3i[_NF] = _Dh
- };
- _Th.prototype._r82 = function(_s82) {
- if (_s82) {
- this._3i.sort(function(_kb, _W9) {
- return _kb - _W9;
- })
- } else {
- this._3i.sort(function(_kb, _W9) {
- return _W9 - _kb
- })
- }
- this._q82 = [];
- for (var _H3 = 0; _H3 < this._3i.length; _H3++) {
- if (this._3i[_H3] == null || this._3i[_H3] == undefined) {
- this._q82.push(_H3)
- }
- }
- };
- _Th.prototype._yh = function(_zh) {
- this._3i = _zh._3i.slice();
- this._q82 = _zh._q82.slice();
- this._Uh = _zh._Uh;
- this.length = _zh.length;
- this._Ea = _zh._Ea
- };
- var _G42 = 0,
- _K42 = 1,
- _L42 = 2;
- function _t82() {
- this._u82 = null;
- this._v82 = 0;
- this._w82 = null
- }
- function _x82() {
- this._u82 = null;
- this._y82 = !1;
- this.__Y1 = null
- }
- function _z82() {
- this._Vu1 = !1
- }
- function _ov1(_A82, _J8) {
- this.__type = "[Object]";
- this._ih = 0;
- this.__y = _A82;
- this._5W1 = _J8;
- this._x42 = -1;
- this._Py = 0;
- this._y42 = 0;
- this._z42 = !1;
- this._A42 = !1;
- this._B42 = !1;
- this._Yy = 0;
- this._dq = null;
- this._B82 = -1;
- this._gW1 = !1;
- this._yI1 = new _Th();
- this._Zs = new _Th();
- this._yI1._Uh = !0;
- this._Zs._Uh = !0;
- this._C82 = [];
- for (var _kb = 0; _kb < _SI1; _kb++) {
- this._C82[_kb] = null
- }
- this._D82 = [];
- this._E82 = [];
- this._F82 = [];
- this._iW1 = [];
- this._N3 = [];
- this._st = [];
- this._PH1 = [];
- this._C42 = new _z82()
- }
- _ov1.prototype._RA = function() {
- return this._yI1._3i
- };
- _ov1.prototype._AD = function() {
- return this._Zs._3i
- };
- function _vW1(_G82, _H82) {
- var _li = new _ov1(_G82, _H82._Z2);
- with(_li) {
- if (_H82._P3 != undefined) _Py = _H82._P3;
- if (_H82._Q3 != undefined) _A42 = _H82._Q3;
- if (_H82._SA != undefined) _z42 = _H82._SA;
- if (_H82._R3 != undefined) _y42 = _H82._R3;
- if (_H82._65 != undefined) _B42 = _H82._65;
- if (_H82.parent != undefined) _Yy = _H82.parent;
- if (_H82._I82 != undefined) _x42 = _H82._I82;
- if (_H82._S3) {
- _li._S3 = _H82._S3;
- _li._st[_0j] = !0
- }
- if (_H82._J82) {
- _li._J82 = _H82._J82;
- _li._st[_By] = !0
- }
- if (_H82._K82) {
- _li._K82 = _H82._K82;
- _li._st[_6L1] = !0
- }
- if (_H82._94) {
- _li._94 = _H82._94;
- _li._st[_5L1] = !0
- }
- if (_H82._L82) {
- _li._L82 = _H82._L82;
- _li._st[_7L1] = !0
- }
- if (_H82._34) {
- _li._34 = _H82._34;
- _li._st[_1L1] = !0
- }
- if (_H82._M82) {
- _li._M82 = _H82._M82;
- _li._st[_OL1] = !0
- }
- if (_H82._N82) {
- _li._N82 = _H82._N82;
- _li._st[_QL1] = !0
- }
- if (_H82._O82) {
- _li._O82 = _H82._O82;
- _li._st[_RL1] = !0
- }
- if (_H82._P82) {
- _li._P82 = _H82._P82;
- _li._st[_SL1] = !0
- }
- if (_H82._Q82) {
- _li._Q82 = _H82._Q82;
- _li._st[_TL1] = !0
- }
- if (_H82._R82) {
- _li._R82 = _H82._R82;
- _li._st[_UL1] = !0
- }
- if (_H82._S82) {
- _li._S82 = _H82._S82;
- _li._st[_VL1] = !0
- }
- if (_H82._T82) {
- _li._T82 = _H82._T82;
- _li._st[_PL1] = !0
- }
- if (_H82._U82) {
- _li._U82 = _H82._U82;
- _li._st[_tI1] = !0
- }
- if (_H82._V82) {
- _li._V82 = _H82._V82;
- _li._st[_kI1] = !0
- }
- if (_H82._W82) {
- _li._W82 = _H82._W82;
- _li._st[_mI1] = !0
- }
- if (_H82._X82) {
- _li._X82 = _H82._X82;
- _li._st[_lI1] = !0
- }
- if (_H82._M4) {
- _li._M4 = _H82._M4;
- _li._st[_nI1] = !0
- }
- if (_H82._Y82) {
- _li._Y82 = _H82._Y82;
- _li._st[_pI1] = !0
- }
- if (_H82._Z82) {
- _li._Z82 = _H82._Z82;
- _li._st[_oI1] = !0
- }
- if (_H82._S4) {
- _li._S4 = _H82._S4;
- _li._st[_qI1] = !0
- }
- if (_H82.__82) {
- _li.__82 = _H82.__82;
- _li._st[_sI1] = !0
- }
- if (_H82._092) {
- _li._092 = _H82._092;
- _li._st[_rI1] = !0
- }
- if (_H82._192) {
- _li._192 = _H82._192;
- _li._st[_wI1] = !0
- }
- if (_H82._292) {
- _li._292 = _H82._292;
- _li._st[_xI1] = !0
- }
- if (_H82._392) {
- _li._392 = _H82._392;
- _li._st[_DI1] = !0
- }
- if (_H82._492) {
- _li._492 = _H82._492;
- _li._st[_XL1] = !0
- }
- if (_H82._592) {
- _li._592 = _H82._592;
- _li._st[_YL1] = !0;
- }
- if (_H82._b4) {
- _li._b4 = _H82._b4;
- _li._st[_EI1] = !0
- }
- if (_H82._692) {
- _li._692 = _H82._692;
- _li._st[_ZL1] = !0
- }
- if (_H82._792) {
- _li._792 = _H82._792;
- _li._st[__L1] = !0
- }
- if (_H82._892) {
- _li._892 = _H82._892;
- _li._st[_FI1] = !0
- }
- if (_H82._992) {
- _li._992 = _H82._992;
- _li._st[_0M1] = !0
- }
- if (_H82._a92) {
- _li._a92 = _H82._a92;
- _li._st[_1M1] = !0
- }
- if (_H82._b92) {
- _li._b92 = _H82._b92;
- _li._st[_uI1] = !0
- }
- if (_H82._c92) {
- _li._c92 = _H82._c92;
- _li._st[_vI1] = !0
- }
- if (_H82._g4) {
- _li._g4 = _H82._g4;
- _li._st[_QH1] = !0
- }
- if (_H82._d92) {
- _li._d92 = _H82._d92;
- _li._st[_UH1] = !0
- }
- if (_H82._e92) {
- _li._e92 = _H82._e92;
- _li._st[_8L1] = !0
- }
- if (_H82._f92) {
- _li._f92 = _H82._f92;
- _li._st[_9L1] = !0
- }
- if (_H82._g92) {
- _li._g92 = _H82._g92;
- _li._st[_aL1] = !0
- }
- if (_H82._h92) {
- _li._h92 = _H82._h92;
- _li._st[_bL1] = !0
- }
- if (_H82._i92) {
- _li._i92 = _H82._i92;
- _li._st[_cL1] = !0
- }
- if (_H82._j92) {
- _li._j92 = _H82._j92;
- _li._st[_dL1] = !0
- }
- if (_H82._k92) {
- _li._k92 = _H82._k92;
- _li._st[_Yu1] = !0
- }
- if (_H82._l92) {
- _li._l92 = _H82._l92;
- _li._st[_eL1] = !0
- }
- if (_H82._m92) {
- _li._m92 = _H82._m92;
- _li._st[_fL1] = !0
- }
- if (_H82._n92) {
- _li._n92 = _H82._n92;
- _li._st[_0I1] = !0
- }
- if (_H82._o92) {
- _li._o92 = _H82._o92;
- _li._st[_wL1] = !0
- }
- if (_H82._p92) {
- _li._p92 = _H82._p92;
- _li._st[_xL1] = !0
- }
- if (_H82._q92) {
- _li._q92 = _H82._q92;
- _li._st[_yL1] = !0
- }
- if (_H82._r92) {
- _li._r92 = _H82._r92;
- _li._st[_zL1] = !0
- }
- if (_H82._s92) {
- _li._s92 = _H82._s92;
- _li._st[_AL1] = !0
- }
- if (_H82._t92) {
- _li._t92 = _H82._t92;
- _li._st[_BL1] = !0
- }
- if (_H82._u92) {
- _li._u92 = _H82._u92;
- _li._st[_CL1] = !0
- }
- if (_H82._v92) {
- _li._v92 = _H82._v92;
- _li._st[_1I1] = !0
- }
- if (_H82._w92) {
- _li._w92 = _H82._w92;
- _li._st[_DL1] = !0
- }
- if (_H82._x92) {
- _li._x92 = _H82._x92;
- _li._st[_EL1] = !0
- }
- if (_H82._y92) {
- _li._y92 = _H82._y92;
- _li._st[_FL1] = !0
- }
- if (_H82._z92) {
- _li._z92 = _H82._z92;
- _li._st[_GL1] = !0
- }
- if (_H82._A92) {
- _li._A92 = _H82._A92;
- _li._st[_HL1] = !0;
- }
- if (_H82._B92) {
- _li._B92 = _H82._B92;
- _li._st[_IL1] = !0
- }
- if (_H82._C92) {
- _li._C92 = _H82._C92;
- _li._st[_JL1] = !0
- }
- if (_H82._D92) {
- _li._D92 = _H82._D92;
- _li._st[_h9] = !0
- }
- if (_H82._E92) {
- _li._E92 = _H82._E92;
- _li._st[_gL1] = !0
- }
- if (_H82._F92) {
- _li._F92 = _H82._F92;
- _li._st[_hL1] = !0
- }
- if (_H82._G92) {
- _li._G92 = _H82._G92;
- _li._st[_iL1] = !0;
- }
- if (_H82._H92) {
- _li._H92 = _H82._H92;
- _li._st[_jL1] = !0
- }
- if (_H82._I92) {
- _li._I92 = _H82._I92;
- _li._st[_kL1] = !0
- }
- if (_H82._J92) {
- _li._J92 = _H82._J92;
- _li._st[_lL1] = !0
- }
- if (_H82._K92) {
- _li._K92 = _H82._K92;
- _li._st[_mL1] = !0
- }
- if (_H82._L92) {
- _li._L92 = _H82._L92;
- _li._st[_nL1] = !0
- }
- if (_H82._M92) {
- _li._M92 = _H82._M92;
- _li._st[_oL1] = !0
- }
- if (_H82._N92) {
- _li._N92 = _H82._N92;
- _li._st[_pL1] = !0;
- }
- if (_H82._O92) {
- _li._O92 = _H82._O92;
- _li._st[_qL1] = !0
- }
- if (_H82._P92) {
- _li._P92 = _H82._P92;
- _li._st[_rL1] = !0
- }
- if (_H82._Q92) {
- _li._Q92 = _H82._Q92;
- _li._st[_sL1] = !0
- }
- if (_H82._R92) {
- _li._R92 = _H82._R92;
- _li._st[_tL1] = !0
- }
- if (_H82._S92) {
- _li._S92 = _H82._S92;
- _li._st[_uL1] = !0
- }
- if (_H82._T92) {
- _li._T92 = _H82._T92;
- _li._st[_vL1] = !0
- }
- if (_H82._U92) {
- _li._U92 = _H82._U92;
- _li._st[_KL1] = !0
- }
- if (_H82._V92) {
- _li._V92 = _H82._V92;
- _li._st[_LL1] = !0
- }
- if (_H82._W92) {
- _li._W92 = _H82._W92;
- _li._st[_ML1] = !0
- }
- if (_H82._X92) {
- _li._X92 = _H82._X92;
- _li._st[_NL1] = !0
- }
- if (_H82._Y92) {
- _li._Y92 = _H82._Y92;
- _li._st[_ey] = !0
- }
- if (_H82._Z92) {
- _li._Z92 = _H82._Z92;
- _li._st[_WL1] = !0
- }
- if (_H82.__92) {
- _li.__92 = _H82.__92;
- _li._st[_vG1] = !0
- }
- if (_H82._14) {
- _li._C82[0] = _H82._14;
- _li._st[_2M1] = !0
- }
- if (_H82.__3) {
- _li._C82[1] = _H82.__3;
- _li._st[_3M1] = !0
- }
- if (_H82._Y3) {
- _li._C82[2] = _H82._Y3;
- _li._st[_4M1] = !0
- }
- if (_H82._W3) {
- _li._C82[3] = _H82._W3;
- _li._st[_5M1] = !0
- }
- if (_H82._U3) {
- _li._C82[4] = _H82._U3;
- _li._st[_6M1] = !0
- }
- if (_H82._0a2) {
- _li._C82[5] = _H82._0a2;
- _li._st[_7M1] = !0
- }
- if (_H82._1a2) {
- _li._C82[6] = _H82._1a2;
- _li._st[_8M1] = !0
- }
- if (_H82._2a2) {
- _li._C82[7] = _H82._2a2;
- _li._st[_9M1] = !0
- }
- if (_H82._3a2) {
- _li._C82[8] = _H82._3a2;
- _li._st[_aM1] = !0
- }
- if (_H82._4a2) {
- _li._C82[9] = _H82._4a2;
- _li._st[_bM1] = !0
- }
- if (_H82._5a2) {
- _li._C82[10] = _H82._5a2;
- _li._st[_cM1] = !0
- }
- if (_H82._6a2) {
- _li._C82[11] = _H82._6a2;
- _li._st[_dM1] = !0
- }
- if (_H82._7a2) {
- _li._E82[_1O1] = _H82._7a2;
- _li._st[_1O1] = !0
- }
- if (_H82._8a2) {
- _li._E82[_3O1] = _H82._8a2;
- _li._st[_3O1] = !0
- }
- if (_H82._9a2) {
- _li._E82[_4O1] = _H82._9a2;
- _li._st[_4O1] = !0
- }
- if (_H82._aa2) {
- _li._E82[_5O1] = _H82._aa2;
- _li._st[_5O1] = !0
- }
- if (_H82._ba2) {
- _li._E82[_6O1] = _H82._ba2;
- _li._st[_6O1] = !0
- }
- if (_H82._ca2) {
- _li._E82[_7O1] = _H82._ca2;
- _li._st[_7O1] = !0
- }
- if (_H82._da2) {
- _li._E82[_8O1] = _H82._da2;
- _li._st[_8O1] = !0
- }
- if (_H82._ea2) {
- _li._E82[_9O1] = _H82._ea2;
- _li._st[_9O1] = !0
- }
- if (_H82._fa2) {
- _li._E82[_aO1] = _H82._fa2;
- _li._st[_aO1] = !0
- }
- if (_H82._ga2) {
- _li._E82[_bO1] = _H82._ga2;
- _li._st[_bO1] = !0
- }
- if (_H82._ha2) {
- _li._E82[_cO1] = _H82._ha2;
- _li._st[_cO1] = !0
- }
- if (_H82._ia2) {
- _li._E82[_dO1] = _H82._ia2;
- _li._st[_dO1] = !0
- }
- if (_H82._ja2) {
- _li._E82[_eO1] = _H82._ja2;
- _li._st[_eO1] = !0
- }
- if (_H82._ka2) {
- _li._E82[_fO1] = _H82._ka2;
- _li._st[_fO1] = !0
- }
- if (_H82._la2) {
- _li._E82[_gO1] = _H82._la2;
- _li._st[_gO1] = !0
- }
- if (_H82._ma2) {
- _li._E82[_hO1] = _H82._ma2;
- _li._st[_hO1] = !0
- }
- if (_H82._na2) {
- _li._E82[_iO1] = _H82._na2;
- _li._st[_iO1] = !0
- }
- if (_H82._oa2) {
- _li._E82[_jO1] = _H82._oa2;
- _li._st[_jO1] = !0
- }
- if (_H82._pa2) {
- _li._E82[_kO1] = _H82._pa2;
- _li._st[_kO1] = !0
- }
- if (_H82._qa2) {
- _li._E82[_lO1] = _H82._qa2;
- _li._st[_lO1] = !0
- }
- if (_H82._ra2) {
- _li._E82[_mO1] = _H82._ra2;
- _li._st[_mO1] = !0
- }
- if (_H82._sa2) {
- _li._E82[_nO1] = (_H82._sa2);
- _li._st[_nO1] = !0
- }
- if (_H82._ta2) {
- _li._E82[_oO1] = (_H82._ta2);
- _li._st[_oO1] = !0
- }
- if (_H82._ua2) {
- _li._E82[_pO1] = (_H82._ua2);
- _li._st[_pO1] = !0
- }
- if (_H82._va2) {
- _li._E82[_qO1] = (_H82._va2);
- _li._st[_qO1] = !0
- }
- if (_H82._wa2) {
- _li._E82[_rO1] = (_H82._wa2);
- _li._st[_rO1] = !0
- }
- if (_H82._xa2) {
- _li._E82[_sO1] = (_H82._xa2);
- _li._st[_sO1] = !0
- }
- if (_H82._ya2) {
- _li._E82[_tO1] = (_H82._ya2);
- _li._st[_tO1] = !0
- }
- if (_H82._za2) {
- _li._E82[_uO1] = (_H82._za2);
- _li._st[_uO1] = !0
- }
- if (_H82._Aa2) {
- _li._E82[_vO1] = (_H82._Aa2);
- _li._st[_vO1] = !0
- }
- if (_H82._Ba2) {
- _li._E82[_wO1] = (_H82._Ba2);
- _li._st[_wO1] = !0
- }
- if (_H82._Ca2) {
- _li._E82[_xO1] = (_H82._Ca2);
- _li._st[_xO1] = !0
- }
- if (_H82._Da2) {
- _li._E82[_yO1] = (_H82._Da2);
- _li._st[_yO1] = !0
- }
- if (_H82._Ea2) {
- _li._E82[_zO1] = (_H82._Ea2);
- _li._st[_zO1] = !0
- }
- if (_H82._Fa2) {
- _li._E82[_AO1] = (_H82._Fa2);
- _li._st[_AO1] = !0
- }
- if (_H82._Ga2) {
- _li._E82[_BO1] = (_H82._Ga2);
- _li._st[_BO1] = !0
- }
- if (_H82._Ha2) {
- _li._E82[_CO1] = (_H82._Ha2);
- _li._st[_CO1] = !0
- }
- if (_H82._Ia2) {
- _li._E82[_DO1] = (_H82._Ia2);
- _li._st[_DO1] = !0
- }
- if (_H82._Ja2) {
- _li._E82[_EO1] = (_H82._Ja2);
- _li._st[_EO1] = !0
- }
- if (_H82._Ka2) {
- _li._E82[_FO1] = (_H82._Ka2);
- _li._st[_FO1] = !0
- }
- if (_H82._La2) {
- _li._E82[_GO1] = (_H82._La2);
- _li._st[_GO1] = !0
- }
- if (_H82._Ma2) {
- _li._E82[_HO1] = (_H82._Ma2);
- _li._st[_HO1] = !0
- }
- if (_H82._Na2) {
- _li._E82[_IO1] = (_H82._Na2);
- _li._st[_IO1] = !0
- }
- if (_H82._Oa2) {
- _li._E82[_JO1] = (_H82._Oa2);
- _li._st[_JO1] = !0
- }
- if (_H82._Pa2) {
- _li._E82[_KO1] = (_H82._Pa2);
- _li._st[_KO1] = !0
- }
- if (_H82._Qa2) {
- _li._E82[_LO1] = (_H82._Qa2);
- _li._st[_LO1] = !0
- }
- if (_H82._Ra2) {
- _li._E82[_MO1] = (_H82._Ra2);
- _li._st[_MO1] = !0
- }
- if (_H82._Sa2) {
- _li._E82[_NO1] = (_H82._Sa2);
- _li._st[_NO1] = !0
- }
- if (_H82._Ta2) {
- _li._E82[_OO1] = (_H82._Ta2);
- _li._st[_OO1] = !0
- }
- if (_H82._Ua2) {
- _li._E82[_PO1] = (_H82._Ua2);
- _li._st[_PO1] = !0
- }
- if (_H82._Va2) {
- _li._E82[_QO1] = (_H82._Va2);
- _li._st[_QO1] = !0
- }
- if (_H82._Wa2) {
- _li._E82[_RO1] = (_H82._Wa2);
- _li._st[_RO1] = !0
- }
- if (_H82._Xa2) {
- _li._E82[_SO1] = (_H82._Xa2);
- _li._st[_SO1] = !0
- }
- if (_H82._Ya2) {
- _li._E82[_TO1] = (_H82._Ya2);
- _li._st[_TO1] = !0
- }
- if (_H82._Za2) {
- _li._E82[_UO1] = (_H82._Za2);
- _li._st[_UO1] = !0
- }
- if (_H82.__a2) {
- _li._E82[_VO1] = (_H82.__a2);
- _li._st[_VO1] = !0
- }
- if (_H82._0b2) {
- _li._E82[_WO1] = (_H82._0b2);
- _li._st[_WO1] = !0
- }
- if (_H82._1b2) {
- _li._E82[_XO1] = (_H82._1b2);
- _li._st[_XO1] = !0
- }
- if (_H82._2b2) {
- _li._E82[_YO1] = (_H82._2b2);
- _li._st[_YO1] = !0
- }
- if (_H82._3b2) {
- _li._E82[_ZO1] = (_H82._3b2);
- _li._st[_ZO1] = !0
- }
- if (_H82._4b2) {
- _li._E82[__O1] = (_H82._4b2);
- _li._st[__O1] = !0
- }
- if (_H82._5b2) {
- _li._E82[_0P1] = (_H82._5b2);
- _li._st[_0P1] = !0
- }
- if (_H82._6b2) {
- _li._E82[_1P1] = (_H82._6b2);
- _li._st[_1P1] = !0
- }
- if (_H82._7b2) {
- _li._E82[_2P1] = (_H82._7b2);
- _li._st[_2P1] = !0
- }
- if (_H82._8b2) {
- _li._E82[_3P1] = (_H82._8b2);
- _li._st[_3P1] = !0
- }
- if (_H82._9b2) {
- _li._E82[_4P1] = (_H82._9b2);
- _li._st[_4P1] = !0
- }
- if (_H82._ab2) {
- _li._E82[_5P1] = (_H82._ab2);
- _li._st[_5P1] = !0
- }
- if (_H82._bb2) {
- _li._E82[_6P1] = (_H82._bb2);
- _li._st[_6P1] = !0
- }
- if (_H82._cb2) {
- _li._E82[_7P1] = (_H82._cb2);
- _li._st[_7P1] = !0
- }
- if (_H82._db2) {
- _li._E82[_lP1] = (_H82._db2);
- _li._st[_lP1] = !0
- }
- if (_H82._eb2) {
- _li._E82[_mP1] = (_H82._eb2);
- _li._st[_mP1] = !0
- }
- if (_H82._fb2) {
- _li._E82[_nP1] = (_H82._fb2);
- _li._st[_nP1] = !0
- }
- if (_H82._gb2) {
- _li._E82[_oP1] = (_H82._gb2);
- _li._st[_oP1] = !0
- }
- if (_H82._hb2) {
- _li._E82[_pP1] = (_H82._hb2);
- _li._st[_pP1] = !0
- }
- if (_H82._ib2) {
- _li._E82[_qP1] = (_H82._ib2);
- _li._st[_qP1] = !0
- }
- if (_H82._jb2) {
- _li._E82[_rP1] = (_H82._jb2);
- _li._st[_rP1] = !0
- }
- if (_H82._kb2) {
- _li._E82[_sP1] = (_H82._kb2);
- _li._st[_sP1] = !0
- }
- if (_H82._lb2) {
- _li._E82[_tP1] = (_H82._lb2);
- _li._st[_tP1] = !0
- }
- if (_H82._mb2) {
- _li._E82[_uP1] = (_H82._mb2);
- _li._st[_uP1] = !0
- }
- if (_H82._nb2) {
- _li._E82[_vP1] = (_H82._nb2);
- _li._st[_vP1] = !0
- }
- if (_H82._ob2) {
- _li._E82[_wP1] = (_H82._ob2);
- _li._st[_wP1] = !0
- }
- if (_H82._pb2) {
- _li._E82[_xP1] = (_H82._pb2);
- _li._st[_xP1] = !0
- }
- if (_H82._qb2) {
- _li._E82[_yP1] = (_H82._qb2);
- _li._st[_yP1] = !0;
- }
- if (_H82._rb2) {
- _li._E82[_zP1] = (_H82._rb2);
- _li._st[_zP1] = !0
- }
- if (_H82._sb2) {
- _li._E82[_AP1] = (_H82._sb2);
- _li._st[_AP1] = !0
- }
- if (_H82._tb2) {
- _li._D82[_BP1] = (_H82._tb2);
- _li._st[_BP1] = !0
- }
- if (_H82._ub2) {
- _li._D82[_DP1] = (_H82._ub2);
- _li._st[_DP1] = !0
- }
- if (_H82._vb2) {
- _li._D82[_EP1] = (_H82._vb2);
- _li._st[_EP1] = !0
- }
- if (_H82._wb2) {
- _li._D82[_FP1] = (_H82._wb2);
- _li._st[_FP1] = !0
- }
- if (_H82._xb2) {
- _li._D82[_GP1] = (_H82._xb2);
- _li._st[_GP1] = !0
- }
- if (_H82._yb2) {
- _li._D82[_HP1] = (_H82._yb2);
- _li._st[_HP1] = !0
- }
- if (_H82._zb2) {
- _li._D82[_IP1] = (_H82._zb2);
- _li._st[_IP1] = !0
- }
- if (_H82._Ab2) {
- _li._D82[_JP1] = (_H82._Ab2);
- _li._st[_JP1] = !0
- }
- if (_H82._Bb2) {
- _li._D82[_KP1] = (_H82._Bb2);
- _li._st[_KP1] = !0
- }
- if (_H82._Cb2) {
- _li._D82[_LP1] = (_H82._Cb2);
- _li._st[_LP1] = !0
- }
- if (_H82._Db2) {
- _li._D82[_MP1] = (_H82._Db2);
- _li._st[_MP1] = !0
- }
- if (_H82._Eb2) {
- _li._D82[_NP1] = (_H82._Eb2);
- _li._st[_NP1] = !0
- }
- if (_H82._Fb2) {
- _li._D82[_OP1] = (_H82._Fb2);
- _li._st[_OP1] = !0
- }
- if (_H82._Gb2) {
- _li._D82[_PP1] = (_H82._Gb2);
- _li._st[_PP1] = !0
- }
- if (_H82._Hb2) {
- _li._D82[_QP1] = (_H82._Hb2);
- _li._st[_QP1] = !0
- }
- if (_H82._Ib2) {
- _li._D82[_RP1] = (_H82._Ib2);
- _li._st[_RP1] = !0
- }
- if (_H82._Jb2) {
- _li._D82[_SP1] = (_H82._Jb2);
- _li._st[_SP1] = !0
- }
- if (_H82._Kb2) {
- _li._D82[_TP1] = (_H82._Kb2);
- _li._st[_TP1] = !0
- }
- if (_H82._Lb2) {
- _li._D82[_UP1] = (_H82._Lb2);
- _li._st[_UP1] = !0
- }
- if (_H82._Mb2) {
- _li._D82[_VP1] = (_H82._Mb2);
- _li._st[_VP1] = !0
- }
- if (_H82._Nb2) {
- _li._D82[_WP1] = (_H82._Nb2);
- _li._st[_WP1] = !0
- }
- if (_H82._Ob2) {
- _li._D82[_XP1] = (_H82._Ob2);
- _li._st[_XP1] = !0
- }
- if (_H82._Pb2) {
- _li._D82[_YP1] = (_H82._Pb2);
- _li._st[_YP1] = !0
- }
- if (_H82._Qb2) {
- _li._D82[_ZP1] = (_H82._Qb2);
- _li._st[_ZP1] = !0
- }
- if (_H82._Rb2) {
- _li._D82[__P1] = (_H82._Rb2);
- _li._st[__P1] = !0
- }
- if (_H82._Sb2) {
- _li._D82[_0Q1] = (_H82._Sb2);
- _li._st[_0Q1] = !0
- }
- if (_H82._Tb2) {
- _li._D82[_1Q1] = (_H82._Tb2);
- _li._st[_1Q1] = !0
- }
- if (_H82._Ub2) {
- _li._D82[_2Q1] = (_H82._Ub2);
- _li._st[_2Q1] = !0
- }
- if (_H82._Vb2) {
- _li._D82[_3Q1] = (_H82._Vb2);
- _li._st[_3Q1] = !0
- }
- if (_H82._Wb2) {
- _li._D82[_4Q1] = (_H82._Wb2);
- _li._st[_4Q1] = !0
- }
- if (_H82._Xb2) {
- _li._D82[_5Q1] = (_H82._Xb2);
- _li._st[_5Q1] = !0
- }
- if (_H82._Yb2) {
- _li._D82[_6Q1] = (_H82._Yb2);
- _li._st[_6Q1] = !0
- }
- if (_H82._Zb2) {
- _li._D82[_7Q1] = (_H82._Zb2);
- _li._st[_7Q1] = !0
- }
- if (_H82.__b2) {
- _li._D82[_8Q1] = (_H82.__b2);
- _li._st[_8Q1] = !0
- }
- if (_H82._0c2) {
- _li._D82[_9Q1] = (_H82._0c2);
- _li._st[_9Q1] = !0
- }
- if (_H82._1c2) {
- _li._D82[_aQ1] = (_H82._1c2);
- _li._st[_aQ1] = !0
- }
- if (_H82._2c2) {
- _li._D82[_bQ1] = (_H82._2c2);
- _li._st[_bQ1] = !0
- }
- if (_H82._3c2) {
- _li._D82[_cQ1] = (_H82._3c2);
- _li._st[_cQ1] = !0
- }
- if (_H82._4c2) {
- _li._D82[_dQ1] = (_H82._4c2);
- _li._st[_dQ1] = !0
- }
- if (_H82._5c2) {
- _li._D82[_eQ1] = (_H82._5c2);
- _li._st[_eQ1] = !0
- }
- if (_H82._6c2) {
- _li._D82[_fQ1] = (_H82._6c2);
- _li._st[_fQ1] = !0
- }
- if (_H82._7c2) {
- _li._D82[_gQ1] = (_H82._7c2);
- _li._st[_gQ1] = !0
- }
- if (_H82._8c2) {
- _li._D82[_hQ1] = (_H82._8c2);
- _li._st[_hQ1] = !0
- }
- if (_H82._9c2) {
- _li._D82[_iQ1] = (_H82._9c2);
- _li._st[_iQ1] = !0
- }
- if (_H82._ac2) {
- _li._D82[_jQ1] = (_H82._ac2);
- _li._st[_jQ1] = !0
- }
- if (_H82._bc2) {
- _li._D82[_kQ1] = (_H82._bc2);
- _li._st[_kQ1] = !0
- }
- if (_H82._cc2) {
- _li._D82[_lQ1] = (_H82._cc2);
- _li._st[_lQ1] = !0
- }
- if (_H82._dc2) {
- _li._D82[_mQ1] = (_H82._dc2);
- _li._st[_mQ1] = !0
- }
- if (_H82._ec2) {
- _li._D82[_nQ1] = (_H82._ec2);
- _li._st[_nQ1] = !0
- }
- if (_H82._fc2) {
- _li._D82[_oQ1] = (_H82._fc2);
- _li._st[_oQ1] = !0
- }
- if (_H82._gc2) {
- _li._D82[_pQ1] = (_H82._gc2);
- _li._st[_pQ1] = !0
- }
- if (_H82._hc2) {
- _li._D82[_qQ1] = (_H82._hc2);
- _li._st[_qQ1] = !0
- }
- if (_H82._ic2) {
- _li._D82[_rQ1] = (_H82._ic2);
- _li._st[_rQ1] = !0
- }
- if (_H82._jc2) {
- _li._D82[_sQ1] = (_H82._jc2);
- _li._st[_sQ1] = !0
- }
- if (_H82._kc2) {
- _li._D82[_tQ1] = (_H82._kc2);
- _li._st[_tQ1] = !0
- }
- if (_H82._lc2) {
- _li._D82[_uQ1] = (_H82._lc2);
- _li._st[_uQ1] = !0
- }
- if (_H82._mc2) {
- _li._D82[_vQ1] = (_H82._mc2);
- _li._st[_vQ1] = !0
- }
- if (_H82._nc2) {
- _li._D82[_wQ1] = (_H82._nc2);
- _li._st[_wQ1] = !0
- }
- if (_H82._oc2) {
- _li._D82[_xQ1] = (_H82._oc2);
- _li._st[_xQ1] = !0
- }
- if (_H82._pc2) {
- _li._D82[_yQ1] = (_H82._pc2);
- _li._st[_yQ1] = !0
- }
- if (_H82._qc2) {
- _li._D82[_zQ1] = (_H82._qc2);
- _li._st[_zQ1] = !0
- }
- if (_H82._rc2) {
- _li._D82[_AQ1] = (_H82._rc2);
- _li._st[_AQ1] = !0
- }
- if (_H82._sc2) {
- _li._D82[_BQ1] = (_H82._sc2);
- _li._st[_BQ1] = !0
- }
- if (_H82._tc2) {
- _li._D82[_CQ1] = (_H82._tc2);
- _li._st[_CQ1] = !0
- }
- if (_H82._uc2) {
- _li._D82[_DQ1] = (_H82._uc2);
- _li._st[_DQ1] = !0
- }
- if (_H82._vc2) {
- _li._D82[_EQ1] = (_H82._vc2);
- _li._st[_EQ1] = !0
- }
- if (_H82._wc2) {
- _li._D82[_FQ1] = (_H82._wc2);
- _li._st[_FQ1] = !0
- }
- if (_H82._xc2) {
- _li._D82[_GQ1] = (_H82._xc2);
- _li._st[_GQ1] = !0
- }
- if (_H82._yc2) {
- _li._D82[_HQ1] = (_H82._yc2);
- _li._st[_HQ1] = !0
- }
- if (_H82._zc2) {
- _li._D82[_VQ1] = (_H82._zc2);
- _li._st[_VQ1] = !0
- }
- if (_H82._Ac2) {
- _li._D82[_WQ1] = (_H82._Ac2);
- _li._st[_WQ1] = !0
- }
- if (_H82._Bc2) {
- _li._D82[_XQ1] = (_H82._Bc2);
- _li._st[_XQ1] = !0
- }
- if (_H82._Cc2) {
- _li._D82[_YQ1] = (_H82._Cc2);
- _li._st[_YQ1] = !0
- }
- if (_H82._Dc2) {
- _li._D82[_ZQ1] = (_H82._Dc2);
- _li._st[_ZQ1] = !0
- }
- if (_H82._Ec2) {
- _li._D82[__Q1] = (_H82._Ec2);
- _li._st[__Q1] = !0
- }
- if (_H82._Fc2) {
- _li._D82[_0R1] = (_H82._Fc2);
- _li._st[_0R1] = !0
- }
- if (_H82._Gc2) {
- _li._D82[_1R1] = (_H82._Gc2);
- _li._st[_1R1] = !0
- }
- if (_H82._Hc2) {
- _li._D82[_2R1] = (_H82._Hc2);
- _li._st[_2R1] = !0
- }
- if (_H82._Ic2) {
- _li._D82[_3R1] = (_H82._Ic2);
- _li._st[_3R1] = !0
- }
- if (_H82._Jc2) {
- _li._D82[_4R1] = (_H82._Jc2);
- _li._st[_4R1] = !0
- }
- if (_H82._Kc2) {
- _li._D82[_5R1] = (_H82._Kc2);
- _li._st[_5R1] = !0
- }
- if (_H82._Lc2) {
- _li._D82[_6R1] = (_H82._Lc2);
- _li._st[_6R1] = !0
- }
- if (_H82._Mc2) {
- _li._D82[_7R1] = (_H82._Mc2);
- _li._st[_7R1] = !0
- }
- if (_H82._Nc2) {
- _li._D82[_8R1] = (_H82._Nc2);
- _li._st[_8R1] = !0
- }
- if (_H82._Oc2) {
- _li._D82[_9R1] = (_H82._Oc2);
- _li._st[_9R1] = !0
- }
- if (_H82._Pc2) {
- _li._F82[_aR1] = (_H82._Pc2);
- _li._st[_aR1] = !0
- }
- if (_H82._Qc2) {
- _li._F82[_cR1] = (_H82._Qc2);
- _li._st[_cR1] = !0
- }
- if (_H82._Rc2) {
- _li._F82[_dR1] = (_H82._Rc2);
- _li._st[_dR1] = !0
- }
- if (_H82._Sc2) {
- _li._F82[_eR1] = (_H82._Sc2);
- _li._st[_eR1] = !0
- }
- if (_H82._Tc2) {
- _li._F82[_fR1] = (_H82._Tc2);
- _li._st[_fR1] = !0
- }
- if (_H82._Uc2) {
- _li._F82[_gR1] = (_H82._Uc2);
- _li._st[_gR1] = !0
- }
- if (_H82._Vc2) {
- _li._F82[_hR1] = (_H82._Vc2);
- _li._st[_hR1] = !0
- }
- if (_H82._Wc2) {
- _li._F82[_iR1] = (_H82._Wc2);
- _li._st[_iR1] = !0
- }
- if (_H82._Xc2) {
- _li._F82[_jR1] = (_H82._Xc2);
- _li._st[_jR1] = !0
- }
- if (_H82._Yc2) {
- _li._F82[_kR1] = (_H82._Yc2);
- _li._st[_kR1] = !0
- }
- if (_H82._Zc2) {
- _li._F82[_lR1] = (_H82._Zc2);
- _li._st[_lR1] = !0
- }
- if (_H82.__c2) {
- _li._F82[_mR1] = (_H82.__c2);
- _li._st[_mR1] = !0
- }
- if (_H82._0d2) {
- _li._F82[_nR1] = (_H82._0d2);
- _li._st[_nR1] = !0
- }
- if (_H82._1d2) {
- _li._F82[_oR1] = (_H82._1d2);
- _li._st[_oR1] = !0
- }
- if (_H82._2d2) {
- _li._F82[_pR1] = (_H82._2d2);
- _li._st[_pR1] = !0
- }
- if (_H82._3d2) {
- _li._F82[_qR1] = (_H82._3d2);
- _li._st[_qR1] = !0
- }
- if (_H82._4d2) {
- _li._F82[_rR1] = (_H82._4d2);
- _li._st[_rR1] = !0
- }
- if (_H82._5d2) {
- _li._F82[_sR1] = (_H82._5d2);
- _li._st[_sR1] = !0
- }
- if (_H82._6d2) {
- _li._F82[_tR1] = (_H82._6d2);
- _li._st[_tR1] = !0
- }
- if (_H82._7d2) {
- _li._F82[_uR1] = (_H82._7d2);
- _li._st[_uR1] = !0
- }
- if (_H82._8d2) {
- _li._F82[_vR1] = (_H82._8d2);
- _li._st[_vR1] = !0
- }
- if (_H82._9d2) {
- _li._F82[_wR1] = (_H82._9d2);
- _li._st[_wR1] = !0
- }
- if (_H82._ad2) {
- _li._F82[_xR1] = (_H82._ad2);
- _li._st[_xR1] = !0
- }
- if (_H82._bd2) {
- _li._F82[_yR1] = (_H82._bd2);
- _li._st[_yR1] = !0
- }
- if (_H82._cd2) {
- _li._F82[_zR1] = (_H82._cd2);
- _li._st[_zR1] = !0
- }
- if (_H82._dd2) {
- _li._F82[_AR1] = (_H82._dd2);
- _li._st[_AR1] = !0
- }
- if (_H82._ed2) {
- _li._F82[_BR1] = (_H82._ed2);
- _li._st[_BR1] = !0
- }
- if (_H82._fd2) {
- _li._F82[_CR1] = (_H82._fd2);
- _li._st[_CR1] = !0
- }
- if (_H82._gd2) {
- _li._F82[_DR1] = (_H82._gd2);
- _li._st[_DR1] = !0
- }
- if (_H82._hd2) {
- _li._F82[_ER1] = (_H82._hd2);
- _li._st[_ER1] = !0
- }
- if (_H82._id2) {
- _li._F82[_FR1] = (_H82._id2);
- _li._st[_FR1] = !0;
- }
- if (_H82._jd2) {
- _li._F82[_GR1] = (_H82._jd2);
- _li._st[_GR1] = !0
- }
- if (_H82._kd2) {
- _li._F82[_HR1] = (_H82._kd2);
- _li._st[_HR1] = !0
- }
- if (_H82._ld2) {
- _li._F82[_IR1] = (_H82._ld2);
- _li._st[_IR1] = !0
- }
- if (_H82._md2) {
- _li._F82[_JR1] = (_H82._md2);
- _li._st[_JR1] = !0
- }
- if (_H82._nd2) {
- _li._F82[_KR1] = (_H82._nd2);
- _li._st[_KR1] = !0
- }
- if (_H82._od2) {
- _li._F82[_LR1] = (_H82._od2);
- _li._st[_LR1] = !0
- }
- if (_H82._pd2) {
- _li._F82[_MR1] = (_H82._pd2);
- _li._st[_MR1] = !0
- }
- if (_H82._qd2) {
- _li._F82[_NR1] = (_H82._qd2);
- _li._st[_NR1] = !0
- }
- if (_H82._rd2) {
- _li._F82[_OR1] = (_H82._rd2);
- _li._st[_OR1] = !0
- }
- if (_H82._sd2) {
- _li._F82[_PR1] = (_H82._sd2);
- _li._st[_PR1] = !0
- }
- if (_H82._td2) {
- _li._F82[_QR1] = (_H82._td2);
- _li._st[_QR1] = !0
- }
- if (_H82._ud2) {
- _li._F82[_RR1] = (_H82._ud2);
- _li._st[_RR1] = !0
- }
- if (_H82._vd2) {
- _li._F82[_SR1] = (_H82._vd2);
- _li._st[_SR1] = !0
- }
- if (_H82._wd2) {
- _li._F82[_TR1] = (_H82._wd2);
- _li._st[_TR1] = !0
- }
- if (_H82._xd2) {
- _li._F82[_UR1] = (_H82._xd2);
- _li._st[_UR1] = !0
- }
- if (_H82._yd2) {
- _li._F82[_VR1] = (_H82._yd2);
- _li._st[_VR1] = !0
- }
- if (_H82._zd2) {
- _li._F82[_WR1] = (_H82._zd2);
- _li._st[_WR1] = !0
- }
- if (_H82._Ad2) {
- _li._F82[_XR1] = (_H82._Ad2);
- _li._st[_XR1] = !0
- }
- if (_H82._Bd2) {
- _li._F82[_YR1] = (_H82._Bd2);
- _li._st[_YR1] = !0;
- }
- if (_H82._Cd2) {
- _li._F82[_ZR1] = (_H82._Cd2);
- _li._st[_ZR1] = !0
- }
- if (_H82._Dd2) {
- _li._F82[__R1] = (_H82._Dd2);
- _li._st[__R1] = !0
- }
- if (_H82._Ed2) {
- _li._F82[_0S1] = (_H82._Ed2);
- _li._st[_0S1] = !0
- }
- if (_H82._Fd2) {
- _li._F82[_1S1] = (_H82._Fd2);
- _li._st[_1S1] = !0
- }
- if (_H82._Gd2) {
- _li._F82[_2S1] = (_H82._Gd2);
- _li._st[_2S1] = !0
- }
- if (_H82._Hd2) {
- _li._F82[_3S1] = (_H82._Hd2);
- _li._st[_3S1] = !0
- }
- if (_H82._Id2) {
- _li._F82[_4S1] = (_H82._Id2);
- _li._st[_4S1] = !0
- }
- if (_H82._Jd2) {
- _li._F82[_5S1] = (_H82._Jd2);
- _li._st[_5S1] = !0
- }
- if (_H82._Kd2) {
- _li._F82[_6S1] = (_H82._Kd2);
- _li._st[_6S1] = !0
- }
- if (_H82._Ld2) {
- _li._F82[_7S1] = (_H82._Ld2);
- _li._st[_7S1] = !0
- }
- if (_H82._Md2) {
- _li._F82[_8S1] = (_H82._Md2);
- _li._st[_8S1] = !0
- }
- if (_H82._Nd2) {
- _li._F82[_9S1] = (_H82._Nd2);
- _li._st[_9S1] = !0
- }
- if (_H82._Od2) {
- _li._F82[_aS1] = (_H82._Od2);
- _li._st[_aS1] = !0
- }
- if (_H82._Pd2) {
- _li._F82[_bS1] = (_H82._Pd2);
- _li._st[_bS1] = !0
- }
- if (_H82._Qd2) {
- _li._F82[_cS1] = (_H82._Qd2);
- _li._st[_cS1] = !0
- }
- if (_H82._Rd2) {
- _li._F82[_dS1] = (_H82._Rd2);
- _li._st[_dS1] = !0
- }
- if (_H82._Sd2) {
- _li._F82[_eS1] = (_H82._Sd2);
- _li._st[_eS1] = !0
- }
- if (_H82._Td2) {
- _li._F82[_fS1] = (_H82._Td2);
- _li._st[_fS1] = !0
- }
- if (_H82._Ud2) {
- _li._F82[_gS1] = (_H82._Ud2);
- _li._st[_gS1] = !0
- }
- if (_H82._Vd2) {
- _li._F82[_uS1] = (_H82._Vd2);
- _li._st[_uS1] = !0
- }
- if (_H82._Wd2) {
- _li._F82[_vS1] = (_H82._Wd2);
- _li._st[_vS1] = !0
- }
- if (_H82._Xd2) {
- _li._F82[_wS1] = (_H82._Xd2);
- _li._st[_wS1] = !0
- }
- if (_H82._Yd2) {
- _li._F82[_xS1] = (_H82._Yd2);
- _li._st[_xS1] = !0
- }
- if (_H82._Zd2) {
- _li._F82[_yS1] = (_H82._Zd2);
- _li._st[_yS1] = !0
- }
- if (_H82.__d2) {
- _li._F82[_zS1] = (_H82.__d2);
- _li._st[_zS1] = !0
- }
- if (_H82._0e2) {
- _li._F82[_AS1] = (_H82._0e2);
- _li._st[_AS1] = !0
- }
- if (_H82._1e2) {
- _li._F82[_BS1] = (_H82._1e2);
- _li._st[_BS1] = !0
- }
- if (_H82._2e2) {
- _li._F82[_CS1] = (_H82._2e2);
- _li._st[_CS1] = !0
- }
- if (_H82._3e2) {
- _li._F82[_DS1] = (_H82._3e2);
- _li._st[_DS1] = !0
- }
- if (_H82._4e2) {
- _li._F82[_ES1] = (_H82._4e2);
- _li._st[_ES1] = !0;
- }
- if (_H82._5e2) {
- _li._F82[_FS1] = (_H82._5e2);
- _li._st[_FS1] = !0
- }
- if (_H82._6e2) {
- _li._F82[_GS1] = (_H82._6e2);
- _li._st[_GS1] = !0
- }
- if (_H82._7e2) {
- _li._F82[_HS1] = (_H82._7e2);
- _li._st[_HS1] = !0
- }
- if (_H82._8e2) {
- _li._F82[_IS1] = (_H82._8e2);
- _li._st[_IS1] = !0
- }
- if (_H82._9e2) {
- _li._F82[_JS1] = (_H82._9e2);
- _li._st[_JS1] = !0
- }
- var _H3 = 0;
- if (_H82._54 != undefined) {
- while (_H3 < _H82._54.length) {
- var _pz = parseInt(_H82._54[_H3]) + 1;
- var _hr = _H82._54[_H3 + 1];
- var _ae2 = _rT1._Gh(_pz);
- _li._st[_4L1] = !0;
- _li._st[_4L1 | _pz] = !0;
- var _be2 = new _t82();
- _be2._u82 = _hr;
- _be2._w82 = _ae2;
- _be2._v82 = _pz;
- _li._N3[_4L1 | _pz] = _be2;
- _H3 += 2
- }
- }
- _H3 = 0;
- if (_H82._64 != undefined) {
- while (_H3 < _H82._64.length) {
- _li._st[_jv1] = !0;
- var _pz = parseInt(_H82._64[_H3]);
- var _Im1 = _H82._64[_H3 + 1];
- var _ce2 = new _x82();
- _ce2._u82 = _Im1;
- _ce2._de2 = !1;
- _ce2.__Y1 = this;
- _li._iW1[_pz] = _ce2;
- _H3 += 2
- }
- }
- if (_H82._Vu1 != undefined) {
- _li._C42._Vu1 = _H82._Vu1;
- _li._C42._O42 = _H82._O42;
- _li._C42._F42 = _H82._F42;
- _li._C42._Q42 = _H82._Q42;
- _li._C42._R42 = _H82._R42;
- _li._C42._P42 = _H82._P42;
- _li._C42._N42 = _H82._N42;
- _li._C42._M42 = _H82._M42;
- _li._C42._S42 = _H82._S42;
- _li._C42._T42 = _H82._T42;
- _li._C42._U42 = _H82._U42;
- _li._C42._I42 = _H82._I42
- }
- }
- return _li
- }
- _ov1.prototype._g9 = function(_fr, index, _lt, _ut) {
- if (_LD != -1) {
- return
- }
- var _ee2 = _wt;
- var _fe2 = _xt;
- var _ge2 = _ZT1;
- var _he2 = _Ii;
- _ZT1 = this;
- _wt = _fr;
- _xt = index;
- _Ii = !1;
- var _nY = !0;
- switch (_fr) {
- case _0j:
- if (this._S3) this._S3(_lt, _ut);
- else _nY = !1;
- break;
- case _By:
- if (this._J82) this._J82(_lt, _ut);
- else _nY = !1;
- break;
- case _TI1:
- _nY = !1;
- break;
- case _ZK1:
- _nY = !1;
- break;
- case _jv1:
- if (this._iW1[index]) this._iW1[index]._u82(_lt, _ut);
- break;
- case __K1:
- if (this._D82[_fr | index]) this._D82[_fr | index](_lt, _ut);
- else _nY = !1;
- break;
- case _0L1:
- _nY = !1;
- break;
- case _TH1:
- _nY = !1;
- break;
- case _1L1:
- if (this._34) this._34(_lt, _ut);
- else _nY = !1;
- break;
- case _2L1:
- if (this._E82[_fr | index]) this._E82[_fr | index](_lt, _ut);
- else _nY = !1;
- break;
- case _3L1:
- if (this._F82[_fr | index]) this._F82[_fr | index](_lt, _ut);
- else _nY = !1;
- break;
- case _4L1:
- if (this._N3[_fr | index]) {
- var _ie2 = this._N3[_fr | index];
- var _be2 = _ie2._w82;
- var _8j = _be2._hr(_lt, _ut);
- if (_8j | _ET1) {
- _ie2._u82(_lt, _ut)
- }
- }
- break;
- case _OL1:
- if (this._M82) this._M82(_lt, _ut);
- else _nY = !1;
- break;
- case _QL1:
- if (this._N82) this._N82(_lt, _ut);
- else _nY = !1;
- break;
- case _RL1:
- if (this._O82) this._O82(_lt, _ut);
- else _nY = !1;
- break;
- case _SL1:
- if (this._P82) this._P82(_lt, _ut);
- else _nY = !1;
- break;
- case _TL1:
- if (this._Q82) this._Q82(_lt, _ut);
- else _nY = !1;
- break;
- case _UL1:
- if (this._R82) this._R82(_lt, _ut);
- else _nY = !1;
- break;
- case _VL1:
- if (this._S82) this._S82(_lt, _ut);
- else _nY = !1;
- break;
- case _PL1:
- if (this._T82) this._T82(_lt, _ut);
- else _nY = !1;
- break;
- case _6L1:
- if (this._K82) this._K82(_lt, _ut);
- else _nY = !1;
- break;
- case _5L1:
- if (this._94) this._94(_lt, _ut);
- else _nY = !1;
- break;
- case _7L1:
- if (this._L82) this._L82(_lt, _ut);
- else _nY = !1;
- break;
- case _QH1:
- if (this._g4) this._g4(_lt, _ut);
- else _nY = !1;
- break;
- case _UH1:
- if (this._d92) this._d92(_lt, _ut);
- else _nY = !1;
- break;
- case _8L1:
- if (this._e92) this._e92(_lt, _ut);
- else _nY = !1;
- break;
- case _9L1:
- if (this._f92) this._f92(_lt, _ut);
- else _nY = !1;
- break;
- case _aL1:
- if (this._g92) this._g92(_lt, _ut);
- else _nY = !1;
- break;
- case _bL1:
- if (this._h92) this._h92(_lt, _ut);
- else _nY = !1;
- break;
- case _cL1:
- if (this._i92) this._i92(_lt, _ut);
- else _nY = !1;
- break;
- case _dL1:
- if (this._j92) this._j92(_lt, _ut);
- else _nY = !1;
- break;
- case _Yu1:
- if (this._k92) this._k92(_lt, _ut);
- else _nY = !1;
- break;
- case _eL1:
- if (this._l92) this._l92(_lt, _ut);
- else _nY = !1;
- break;
- case _fL1:
- if (this._m92) this._m92(_lt, _ut);
- else _nY = !1;
- break;
- case _0I1:
- if (this._n92) this._n92(_lt, _ut);
- else _nY = !1;
- break;
- case _wL1:
- if (this._o92) this._o92(_lt, _ut);
- else _nY = !1;
- break;
- case _xL1:
- if (this._p92) this._p92(_lt, _ut);
- else _nY = !1;
- break;
- case _yL1:
- if (this._q92) this._q92(_lt, _ut);
- else _nY = !1;
- break;
- case _zL1:
- if (this._r92) this._r92(_lt, _ut);
- else _nY = !1;
- break;
- case _AL1:
- if (this._s92) this._s92(_lt, _ut);
- else _nY = !1;
- break;
- case _BL1:
- if (this._t92) this._t92(_lt, _ut);
- else _nY = !1;
- break;
- case _CL1:
- if (this._u92) this._u92(_lt, _ut);
- else _nY = !1;
- break;
- case _1I1:
- if (this._v92) this._v92(_lt, _ut);
- else _nY = !1;
- break;
- case _DL1:
- if (this._w92) this._w92(_lt, _ut);
- else _nY = !1;
- break;
- case _EL1:
- if (this._x92) this._x92(_lt, _ut);
- else _nY = !1;
- break;
- case _FL1:
- if (this._y92) this._y92(_lt, _ut);
- else _nY = !1;
- break;
- case _GL1:
- if (this._z92) this._z92(_lt, _ut);
- else _nY = !1;
- break;
- case _HL1:
- if (this._A92) this._A92(_lt, _ut);
- else _nY = !1;
- break;
- case _IL1:
- if (this._B92) this._B92(_lt, _ut);
- else _nY = !1;
- break;
- case _JL1:
- if (this._C92) this._C92(_lt, _ut);
- else _nY = !1;
- break;
- case _h9:
- if (this._D92) this._D92(_lt, _ut);
- else _nY = !1;
- break;
- case _KL1:
- if (this._U92) this._U92(_lt, _ut);
- else _nY = !1;
- break;
- case _LL1:
- if (this._V92) this._V92(_lt, _ut);
- else _nY = !1;
- break;
- case _ML1:
- if (this._W92) this._W92(_lt, _ut);
- else _nY = !1;
- break;
- case _NL1:
- if (this._X92) this._X92(_lt, _ut);
- else _nY = !1;
- break;
- case _ey:
- if (this._Y92) this._Y92(_lt, _ut);
- else _nY = !1;
- break;
- case _WL1:
- if (this._Z92) this._Z92(_lt, _ut);
- else _nY = !1;
- break;
- case _vG1:
- if (this.__92) this.__92(_lt, _ut);
- else _nY = !1;
- break;
- case _gL1:
- if (this._E92) this._E92(_lt, _ut);
- else _nY = !1;
- break;
- case _hL1:
- if (this._F92) this._F92(_lt, _ut);
- else _nY = !1;
- break;
- case _iL1:
- if (this._G92) this._G92(_lt, _ut);
- else _nY = !1;
- break;
- case _jL1:
- if (this._H92) this._H92(_lt, _ut);
- else _nY = !1;
- break;
- case _kL1:
- if (this._I92) this._I92(_lt, _ut);
- else _nY = !1;
- break;
- case _lL1:
- if (this._J92) this._J92(_lt, _ut);
- else _nY = !1;
- break;
- case _mL1:
- if (this._K92) this._K92(_lt, _ut);
- else _nY = !1;
- break;
- case _nL1:
- if (this._L92) this._L92(_lt, _ut);
- else _nY = !1;
- break;
- case _oL1:
- if (this._M92) this._M92(_lt, _ut);
- else _nY = !1;
- break;
- case _pL1:
- if (this._N92) this._N92(_lt, _ut);
- else _nY = !1;
- break;
- case _qL1:
- if (this._O92) this._O92(_lt, _ut);
- else _nY = !1;
- break;
- case _rL1:
- if (this._P92) this._P92(_lt, _ut);
- else _nY = !1;
- break;
- case _sL1:
- if (this._Q92) this._Q92(_lt, _ut);
- else _nY = !1;
- break;
- case _tL1:
- if (this._R92) this._R92(_lt, _ut);
- else _nY = !1;
- break;
- case _uL1:
- if (this._S92) this._S92(_lt, _ut);
- else _nY = !1;
- break;
- case _vL1:
- if (this._T92) this._T92(_lt, _ut);
- else _nY = !1;
- break;
- case _tI1:
- if (this._U82) this._U82(_lt, _ut);
- else _nY = !1;
- break;
- case _kI1:
- if (this._V82) this._V82(_lt, _ut);
- else _nY = !1;
- break;
- case _mI1:
- if (this._W82) this._W82(_lt, _ut);
- else _nY = !1;
- break;
- case _lI1:
- if (this._X82) this._X82(_lt, _ut);
- else _nY = !1;
- break;
- case _nI1:
- if (this._M4) this._M4(_lt, _ut);
- else _nY = !1;
- break;
- case _pI1:
- if (this._Y82) this._Y82(_lt, _ut);
- else _nY = !1;
- break;
- case _oI1:
- if (this._Z82) this._Z82(_lt, _ut);
- else _nY = !1;
- break;
- case _qI1:
- if (this._S4) this._S4(_lt, _ut);
- else _nY = !1;
- break;
- case _sI1:
- if (this.__82) this.__82(_lt, _ut);
- else _nY = !1;
- break;
- case _rI1:
- if (this._092) this._092(_lt, _ut);
- else _nY = !1;
- break;
- case _wI1:
- if (this._192) this._192(_lt, _ut);
- else _nY = !1;
- break;
- case _xI1:
- if (this._292) this._292(_lt, _ut);
- else _nY = !1;
- break;
- case _DI1:
- if (this._392) this._392(_lt, _ut);
- else _nY = !1;
- break;
- case _XL1:
- if (this._492) this._492(_lt, _ut);
- else _nY = !1;
- break;
- case _YL1:
- if (this._592) this._592(_lt, _ut);
- else _nY = !1;
- break;
- case _EI1:
- if (this._b4) this._b4(_lt, _ut);
- else _nY = !1;
- break;
- case _ZL1:
- if (this._692) this._692(_lt, _ut);
- else _nY = !1;
- break;
- case __L1:
- if (this._792) this._792(_lt, _ut);
- else _nY = !1;
- break;
- case _FI1:
- if (this._892) this._892(_lt, _ut);
- else _nY = !1;
- break;
- case _0M1:
- if (this._992) this._992(_lt, _ut);
- else _nY = !1;
- break;
- case _1M1:
- if (this._a92) this._a92(_lt, _ut);
- else _nY = !1;
- break;
- case _uI1:
- if (this._b92) this._b92(_lt, _ut);
- else _nY = !1;
- break;
- case _vI1:
- if (this._c92) this._c92(_lt, _ut);
- else _nY = !1;
- break;
- case _2M1:
- if (this._C82[0] != null) this._C82[0](_lt, _ut);
- else _nY = !1;
- break;
- case _3M1:
- if (this._C82[1] != null) this._C82[1](_lt, _ut);
- else _nY = !1;
- break;
- case _4M1:
- if (this._C82[2] != null) this._C82[2](_lt, _ut);
- else _nY = !1;
- break;
- case _5M1:
- if (this._C82[3] != null) this._C82[3](_lt, _ut);
- else _nY = !1;
- break;
- case _6M1:
- if (this._C82[4] != null) this._C82[4](_lt, _ut);
- else _nY = !1;
- break;
- case _7M1:
- if (this._C82[5] != null) this._C82[5](_lt, _ut);
- else _nY = !1;
- break;
- case _8M1:
- if (this._C82[6] != null) this._C82[6](_lt, _ut);
- else _nY = !1;
- break;
- case _9M1:
- if (this._C82[7] != null) this._C82[7](_lt, _ut);
- else _nY = !1;
- break;
- case _aM1:
- if (this._C82[8] != null) this._C82[8](_lt, _ut);
- else _nY = !1;
- break;
- case _bM1:
- if (this._C82[9] != null) this._C82[9](_lt, _ut);
- else _nY = !1;
- break;
- case _cM1:
- if (this._C82[10] != null) this._C82[10](_lt, _ut);
- else _nY = !1;
- break;
- case _dM1:
- if (this._C82[11] != null) this._C82[11](_lt, _ut);
- else _nY = !1;
- break;
- default:
- _nY = !1
- }
- _Ii = _he2;
- _wt = _ee2;
- _xt = _fe2;
- _ZT1 = _ge2;
- return _nY
- };
- _ov1.prototype._w42 = function(_yy) {
- this._yI1._Wh(_yy);
- var _li = this;
- while (_li != null) {
- _li._Zs._Wh(_yy);
- _li = _li._dq
- }
- };
- _ov1.prototype._v42 = function(_yy) {
- this._yI1._NY1(_yy);
- var _je2 = this;
- while (_je2 != null) {
- _je2._Zs._NY1(_yy);
- _je2 = _je2._dq
- }
- };
- _ov1.prototype._ke2 = function(_fr, _NF) {
- if (!this._st[_fr | _NF]) return;
- var _3i = this._Zs._3i;
- for (var _H3 = 0; _H3 < _3i.length; _H3++) {
- var _Ay = _3i[_H3];
- this._g9(_fr, _NF, _Ay, _Ay)
- }
- };
- function _wV1() {
- this._le2 = [];
- this._Gv1 = [];
- this.length = 0
- }
- _wV1.prototype._RA = function() {
- return this._Gv1
- };
- _wV1.prototype._Wh = function(_me2) {
- this.length++;
- this._le2[_me2._5W1] = _me2;
- this._Gv1[_me2.__y] = _me2
- };
- _wV1.prototype._Gh = function(_G82) {
- return this._Gv1[_G82]
- };
- _wV1.prototype._Uy = function(_Ch) {
- if (!this._Gv1[_Ch]) return ! 1;
- else return ! 0
- };
- _wV1.prototype._uG1 = function(_fr, _NF) {
- for (var _4s = 0; _4s < _Ys._Gv1.length; _4s++) {
- var _li = _Ys._Gv1[_4s];
- if (_li._st[_fr | _NF]) {
- _li._ke2(_fr | _NF)
- }
- }
- };
- _wV1.prototype._wW1 = function() {
- var _3i = this._Gv1;
- for (var index = 0; index < _3i.length; index++) {
- var _li = _3i[index];
- _li._dq = _Ys._Gh(_li._Yy);
- if (!_li._dq) _li._dq = null;
- for (var e = 0; e < _li._st.length; e++) {
- var _YJ1 = _li._st[e];
- if (_YJ1) {
- _li._PH1[e] = !0
- }
- }
- }
- for (var index = 0; index < _3i.length; index++) {
- var _n42 = _3i[index];
- var _li = _n42._dq;
- while (_li != null) {
- for (var e = 0; e < _li._st.length; e++) {
- var _YJ1 = _li._st[e];
- if (_YJ1) {
- _n42._PH1[e] = !0
- }
- }
- _li = _li._dq
- }
- }
- };
- function _j7(_G82) {
- if (_G82 === _fA) {
- return _H8._RA().slice(0)
- }
- var _li = _Ys._Gh(_G82);
- if (_li != null) {
- return _li._Zs._3i.slice(0)
- }
- var _Ay = _dy._Gh(_G82);
- if (_Ay != null) {
- var _V9 = [];
- _V9[0] = _Ay;
- return _V9
- }
- return null
- }
- function _ne2() {
- this._3i = [];
- this.length = 0;
- this._Ea = 0;
- this._oe2 = -1
- }
- _ne2.prototype._Gh = function(_NF) {
- return this._3i[_NF]
- };
- _ne2.prototype._Wh = function(_LY1) {
- for (var _H3 = 0; _H3 < this._3i.length; _H3++) {
- if (_LY1._R3 < this._3i[_H3]._R3) {
- this._3i.splice(_H3, 0, _LY1);
- this._Ea++;
- this.length = this._3i.length;
- return _H3
- }
- }
- this._3i[this._3i.length] = _LY1;
- this._Ea++;
- this.length = this._3i.length;
- return this.length - 1
- };
- _ne2.prototype._pe2 = function(_LY1) {
- if (this._oe2 < 0) {
- this._oe2 = this._3i.length
- }
- this._3i[this._3i.length] = _LY1;
- this._Ea++;
- this.length = this._3i.length;
- return this.length - 1
- };
- _ne2.prototype._r82 = function(_LY1) {
- var _H3 = this._oe2;
- if (_H3 < 0) return;
- var _Yh = [];
- while (_H3 < this._3i.length) {
- _Yh[_Yh.length] = this._3i[_H3];
- _H3++
- }
- this._3i.splice(this._oe2, this._3i.length - this._oe2);
- for (_H3 = 0; _H3 < _Yh.length; _H3++) {
- this._Wh(_Yh[_H3])
- }
- this._oe2 = -1
- };
- _ne2.prototype._MK = function(_LY1) {
- for (var _H3 = 0; _H3 < this._3i.length; _H3++) {
- if (_LY1 == this._3i[_H3]) {
- this._3i.splice(_H3, 1);
- this._Ea--;
- this.length = this._3i.length;
- return ! 0
- }
- }
- return ! 1
- };
- _ne2.prototype._zg = function() {
- this._3i = [];
- this.length = this._Ea = 0
- };
- _ne2.prototype._Gh = function(_NF) {
- return this._3i[_NF]
- };
- _ne2.prototype._yh = function(_zh) {
- this._3i = _zh._3i.slice();
- this.length = _zh.length;
- this._Ea = _zh._Ea;
- this._oe2 = _zh._oe2
- };
- var _qe2 = 0,
- _re2 = 1,
- _se2 = 2,
- _CH1 = 3,
- _wH1 = 4,
- _te2 = 5,
- _oH1 = 6,
- _ue2 = 7,
- _rH1 = 8,
- _yH1 = 9,
- _lH1 = 10,
- _ve2 = 11,
- _we2 = 12,
- _FH1 = 13,
- _xe2 = 14,
- _ye2 = 0,
- _ze2 = 1,
- _Ae2 = 2,
- _Be2 = 3,
- _Ce2 = 4,
- _De2 = 5,
- _Ee2 = 0,
- _Fe2 = 1,
- _Ge2 = 2,
- _He2 = 0,
- _Ie2 = 1,
- _Je2 = 2,
- _Ke2 = 3;
- function _Le2() {
- this._aP = _Me2;
- this._zg = _Me2;
- this._aP()
- }
- function _Me2() {
- this.__type = "[ParticleType]";
- this._1j = !0;
- this._Ne2 = -1;
- this._Oe2 = !0;
- this._Pe2 = !1;
- this._Qe2 = !1;
- this._DP = _qe2;
- this._Re2 = 1.0;
- this._Se2 = 1.0;
- this._Te2 = 0.0;
- this._Ue2 = 0.0;
- this._dZ1 = 1.0;
- this._eZ1 = 1.0;
- this._Ve2 = 100;
- this._We2 = 100;
- this._Xe2 = 0;
- this._Ye2 = 0;
- this._Ze2 = 0;
- this.__e2 = 0;
- this._0f2 = 0.0;
- this._1f2 = 0.0;
- this._2f2 = 0.0;
- this._3f2 = 0.0;
- this._4f2 = 0.0;
- this._5f2 = 0.0;
- this._6f2 = 0.0;
- this._7f2 = 0.0;
- this._8f2 = 0.0;
- this._9f2 = 0.0;
- this._af2 = 0.0;
- this._bf2 = 0.0;
- this._cf2 = 0.0;
- this._df2 = 0.0;
- this._ef2 = 270.0;
- this._ff2 = _ye2;
- this._gf2 = [];
- this._gf2[0] = _4T1;
- this._gf2[1] = _4T1;
- this._gf2[2] = _4T1;
- this._hf2 = 1.0;
- this._if2 = 1.0;
- this._jf2 = 1.0;
- this._kf2 = !1
- }
- function _lf2() {
- this._zg = _mf2;
- this._aP = _mf2;
- this._aP()
- }
- function _mf2() {
- this._1j = !0;
- this._Gp1 = 0;
- this._nf2 = 0;
- this._e52 = 0.0;
- this._f52 = 0.0;
- this._g52 = 0.0;
- this._h52 = 0.0;
- this._DP = _He2;
- this._of2 = _Ee2
- }
- function _pf2() {
- this._qf2 = !1;
- this._nf2 = 0;
- this._rf2 = 0;
- this._sf2 = 0;
- this._f3 = 0;
- this._g3 = 0;
- this._h3 = 0;
- this._tf2 = 0;
- this._G12 = 0;
- this._bb = 0xffffff;
- this.alpha = 1.0;
- this._x3 = 0;
- this._uf2 = 0;
- this._vf2 = 0
- }
- function _wf2() {
- this._zg = _xf2;
- this._aP = _xf2;
- this._aP()
- }
- function _xf2() {
- this._1j = !1;
- this._yf2 = [];
- this._zf2 = [];
- this._Af2 = !0;
- this._R3 = 0.0;
- this._Bf2 = 0.0;
- this._Cf2 = 0.0;
- this._Df2 = !0;
- this._Ef2 = !0
- }
- function _tH1(_Fd) {
- var _T9 = _Pz();
- return _T9 * _Fd
- }
- function _Ff2(_Gf2, _Hf2, _If2) {
- var _Gk = _Hf2 - _Gf2;
- if (_Gk <= 0) return _Gf2;
- var _0a = 0.0;
- var _nv = 0.0;
- switch (_If2) {
- case _Ee2:
- _nv = _Gf2 + _tH1(1) * _Gk;
- break;
- case _Fe2:
- {
- do {
- _0a = (_tH1(1) - 0.5) * 6.0
- } while (( exp ( - ( _0a * _0a ) * 0.5) <= _tH1(1)));
- _nv = _Gf2 + ((_0a + 3.0) * (1.0 / 6.0)) * _Gk
- }
- break;
- case _Ge2:
- {
- do {
- _0a = (_tH1(1) - 0.5) * 6.0
- } while (!( exp ( - ( _0a * _0a ) * 0.5) > _tH1(1)));
- if (_0a < 0.0) _0a += 6.0;
- _nv = _Gf2 + (_0a * (1.0 / 6.0)) * _Gk
- }
- break;
- default:
- _nv = _Gf2 + _tH1(1) * _Gk
- }
- return _nv
- }
- function _Jf2(_wh, _Fd) {
- var _tf2;
- if (_wh == 0) {
- if (_Fd > 0) {
- _tf2 = 270;
- } else if (_Fd < 0) {
- _tf2 = 90
- } else {
- _tf2 = 0
- }
- } else {
- var _Cw = 180.0 * (Math.atan2(_Fd, _wh)) / Math.PI;
- if (_Cw <= 0) {
- _tf2 = -_Cw
- } else {
- _tf2 = 360.0 - _Cw
- }
- }
- return _tf2 - 360.0 * Math.floor(_tf2 / 360.0)
- }
- function _Kf2(_pA, _Lf2) {
- return _Lf2 * Math.cos(_pA * Math.PI / 180.0)
- }
- function _Mf2(_pA, _Lf2) {
- return - _Lf2 * Math.sin(_pA * Math.PI / 180.0)
- }
- function _Nf2(_Of2) {
- _Pf2 = _hT1[_Of2._nf2]; {
- if (_Of2._rf2 <= 0 || _Of2._sf2 <= 0) {
- switch (_Pf2._ff2) {
- case _ye2:
- _Of2._bb = _Pf2._gf2[0];
- break;
- case _ze2:
- _Of2._bb = _Pf2._gf2[0];
- break;
- case _Ae2:
- _Of2._bb = _Pf2._gf2[0];
- break;
- case _Be2:
- {
- var _T9 = ~~ (_Ff2(_Pf2._gf2[0], _Pf2._gf2[1], _Ee2));
- var _jb = ~~ (_Ff2(_Pf2._gf2[2], _Pf2._gf2[3], _Ee2));
- var _W9 = ~~ (_Ff2(_Pf2._gf2[4], _Pf2._gf2[5], _Ee2));
- _Of2._bb = (_T9 << 16) + (_1b._jb << 8) + _1b._W9
- }
- break;
- case _Ce2:
- {
- var _K3 = ~~ (_Ff2(_Pf2._gf2[0], _Pf2._gf2[1], _Ee2));
- var _9q = ~~ (_Ff2(_Pf2._gf2[2], _Pf2._gf2[3], _Ee2));
- var _xb = ~~ (_Ff2(_Pf2._gf2[4], _Pf2._gf2[5], _Ee2));
- _Of2._bb = 0xffffff
- }
- break;
- case _De2:
- _Of2._bb = _Dd(_jt(_Pf2._gf2[0], _Pf2._gf2[1], _tH1(1)));
- break
- }
- } else {
- switch (_Pf2._ff2) {
- case _ze2:
- {
- var _cf = _Of2._rf2 / _Of2._sf2;
- if (_cf > 1) _cf = 1;
- _Of2._bb = _jt((_Pf2._gf2[0]), (_Pf2._gf2[1]), _cf)
- }
- break;
- case _Ae2:
- {
- var _cf = 2.0 * _Of2._rf2 / _Of2._sf2;
- if (_cf > 2) _cf = 2;
- if (_cf < 1) {
- _Of2._bb = _jt(_Pf2._gf2[0], _Pf2._gf2[1], _cf)
- } else {
- _Of2._bb = _jt(_Pf2._gf2[1], _Pf2._gf2[2], _cf - 1)
- }
- }
- break
- }
- }
- }
- }
- function _531(_V8, _W8, _Qf2) {
- var _nv = new _pf2;
- _Rf2 = _hT1[_Qf2];
- if (_Rf2 == null || _Rf2 == undefined) return null;
- _nv._qf2 = !0;
- _nv._nf2 = _Qf2;
- _nv._f3 = _V8;
- _nv._g3 = _W8;
- _nv._h3 = _Ff2(_Rf2._0f2, _Rf2._1f2, 0);
- _nv._tf2 = _Ff2(_Rf2._4f2, _Rf2._5f2, 0);
- _nv._G12 = _Ff2(_Rf2._8f2, _Rf2._9f2, 0);
- _nv._sf2 = _Ff2(_Rf2._Ve2, _Rf2._We2, 0);
- _nv._rf2 = 0;
- _nv._bb = 0xffffff;
- _Nf2(_nv);
- _nv.alpha = _Rf2._hf2;
- _nv._x3 = _Ff2(_Rf2._Re2, _Rf2._Se2, 0);
- _nv._kf2 = _Rf2._kf2;
- if (_Rf2._Qe2) {
- _nv._uf2 = _tH1(10000)
- } else {
- _nv._uf2 = 0
- }
- _nv._vf2 = _tH1(100000);
- return _nv
- }
- function _nj() {
- var _Dk = _hT1.length;
- _hT1[_Dk] = new _Le2();
- return _Dk
- }
- function _tB(_U8) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return ! 1;
- _hT1[_U8] = null;
- return ! 0
- }
- function _xB(_U8) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return ! 1;
- _hT1[_U8]._zg();
- return ! 0
- }
- function _vB(_U8) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return ! 1;
- return ! 0
- }
- function _zB(_U8, _Tf2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._DP = _Tf2;
- _Sf2._Ne2 = -1
- }
- function _BB(_U8, _ZH, _Uf2, _Vf2, _Wf2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._Ne2 = _ZH;
- _Sf2._Oe2 = _Uf2;
- _Sf2._Pe2 = _Vf2;
- _Sf2._Qe2 = _Wf2
- }
- function _DB(_U8, _Xf2, _Yf2, _Zf2, __f2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._Re2 = _Xf2;
- _Sf2._Se2 = _Yf2;
- _Sf2._Te2 = _Zf2;
- _Sf2._Ue2 = __f2;
- }
- function _FB(_U8, __l, _0m) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._dZ1 = __l;
- _Sf2._eZ1 = _0m
- }
- function _5C(_U8, _0g2, _1g2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._Ve2 = _0g2;
- _Sf2._We2 = _1g2
- }
- function _7C(_U8, _2g2, _3g2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._Ye2 = _2g2;
- _Sf2._Xe2 = _3g2
- }
- function _9C(_U8, _4g2, _5g2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2.__e2 = _4g2;
- _Sf2._Ze2 = _5g2
- }
- function _dC(_U8, _6g2, _7g2, _8g2, _9g2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._0f2 = _6g2;
- _Sf2._1f2 = _7g2;
- _Sf2._2f2 = _8g2;
- _Sf2._3f2 = _9g2
- }
- function _fC(_U8, _ag2, _bg2, _cg2, _dg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._4f2 = _ag2;
- _Sf2._5f2 = _bg2;
- _Sf2._6f2 = _cg2;
- _Sf2._7f2 = _dg2
- }
- function _bC(_U8, _eg2, _fg2, _gg2, _hg2, _ig2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._8f2 = _eg2;
- _Sf2._9f2 = _fg2;
- _Sf2._af2 = _gg2;
- _Sf2._bf2 = _hg2;
- _Sf2._cf2 = _ig2
- }
- function _hC(_U8, _jg2, _kg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._df2 = _jg2;
- _Sf2._ef2 = _kg2
- }
- function _VB(_U8, _lg2, _mg2, _ng2, _og2, _pg2, _qg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _Be2;
- _Sf2._gf2[0] = _lg2;
- _Sf2._gf2[1] = _mg2;
- _Sf2._gf2[2] = _ng2;
- _Sf2._gf2[3] = _og2;
- _Sf2._gf2[4] = _pg2;
- _Sf2._gf2[5] = _qg2
- }
- function _pj(_U8, _9t, _at) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _De2;
- _Sf2._gf2[0] = _Dd(_9t);
- _Sf2._gf2[1] = _Dd(_at)
- }
- function _YB(_U8, _rg2, _sg2, _tg2, _ug2, _vg2, _wg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _Ce2;
- _Sf2._gf2[0] = _rg2;
- _Sf2._gf2[1] = _sg2;
- _Sf2._gf2[2] = _tg2;
- _Sf2._gf2[3] = _ug2;
- _Sf2._gf2[4] = _vg2;
- _Sf2._gf2[5] = _wg2
- }
- function _JB(_U8, _xg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _ye2;
- _Sf2._gf2[0] = _Dd(_xg2)
- }
- function _qj(_U8, _xg2, _yg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _ze2;
- _Sf2._gf2[0] = _Dd(_xg2);
- _Sf2._gf2[1] = _Dd(_yg2)
- }
- function _OB(_U8, _xg2, _zg2, _yg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._ff2 = _ye2;
- _Sf2._gf2[0] = _Dd(_xg2);
- _Sf2._gf2[1] = _Dd(_zg2);
- _Sf2._gf2[2] = _Dd(_yg2)
- }
- function _0C(_U8, _Ag2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._hf2 = _Ag2;
- _Sf2._if2 = _Ag2;
- _Sf2._jf2 = _Ag2
- }
- function _rj(_U8, _Ag2, _Bg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._hf2 = _Ag2;
- _Sf2._if2 = (_Ag2 + _Bg2) / 2.0;
- _Sf2._jf2 = _Bg2
- }
- function _3C(_U8, _Ag2, _Cg2, _Bg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._hf2 = _Ag2;
- _Sf2._if2 = _Cg2;
- _Sf2._jf2 = _Bg2
- }
- function _HB(_U8, _Dg2) {
- var _Sf2 = _hT1[_U8];
- if (_Sf2 == null || _Sf2 == undefined) return;
- _Sf2._kf2 = _Dg2
- }
- function _jC(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return - 1;
- var _Dk = _Eg2._zf2.length;
- _Eg2._zf2[_Dk] = new _lf2();
- return _Dk
- }
- function _lC(_kH1, _U8) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return ! 1;
- _Eg2._zf2[_U8] = null;
- return ! 0
- }
- function _nC(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- _Eg2._zf2 = [];
- return ! 0
- }
- function _pC(_kH1, _U8) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return ! 1;
- return ! 0
- }
- function _rC(_kH1, _U8) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return ! 1;
- _Fg2._aP()
- }
- function _tC(_kH1, _U8, _Gg2, _Hg2, _Ig2, _Jg2, _Tf2, _Kg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return;
- _Fg2._e52 = _Gg2;
- _Fg2._f52 = _Hg2;
- _Fg2._g52 = _Ig2;
- _Fg2._h52 = _Jg2;
- _Fg2._DP = _Tf2;
- _Fg2._of2 = _Kg2
- }
- function _vC(_kH1, _U8, _Lg2, _Mg2) {
- if (_Mg2 < 0) {
- var _Pz = _tH1( - _Mg2) | 0;
- if (_Pz == 0) {
- _Mg2 = 1
- } else {
- return
- }
- }
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return;
- for (var _H3 = 0; _H3 <= _Mg2 - 1; _H3++) {
- var _0a, _2a;
- var _Ng2 = !1;
- while (_Ng2 == !1) {
- _0a = _Ff2(0.0, 1.0, _Fg2._of2);
- _2a = _Ff2(0.0, 1.0, _Fg2._of2);
- if ((_Fg2._of2 == _Ge2) && (_Fg2._DP != _Ke2)) {
- if (_tH1() < 0.5) {
- _0a = _Ff2(0.0, 1.0, 0)
- } else {
- _2a = _Ff2(0.0, 1.0, 0)
- }
- }
- switch (_Fg2._DP) {
- case _He2:
- _Ng2 = !0;
- break;
- case _Ie2:
- {
- var _Yb = _0a - 0.5;
- var _Zb = _2a - 0.5;
- if ((_Yb * _Yb + _Zb * _Zb) <= 0.25) _Ng2 = !0;
- break
- }
- case _Je2:
- if ((Math.abs(_0a - 0.5) + Math.abs(_2a - 0.5)) <= 0.5) _Ng2 = !0;
- break;
- case _Ke2:
- _Ng2 = !0;
- break;
- default:
- _Ng2 = !0;
- break
- }
- }
- if (_Fg2._DP == _Ke2) {
- _jB(_kH1, _Fg2._e52 + (_Fg2._f52 - _Fg2._e52) * _0a, _Fg2._g52 + (_Fg2._h52 - _Fg2._g52) * _0a, _Lg2, 1)
- } else {
- _jB(_kH1, _Fg2._e52 + (_Fg2._f52 - _Fg2._e52) * _0a, _Fg2._g52 + (_Fg2._h52 - _Fg2._g52) * _2a, _Lg2, 1)
- }
- }
- }
- function _xC(_kH1, _U8, _Lg2, _Mg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Fg2 = _Eg2._zf2[_U8];
- if (_Fg2 == null || _Fg2 == undefined) return;
- _Fg2._Gp1 = _Mg2;
- _Fg2._nf2 = _Lg2
- }
- function _jB(_kH1, _V8, _W8, _Qf2, _Mg2) {
- _Mg2 = ~~_Mg2;
- _Qf2 = ~~_Qf2;
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Rf2 = _hT1[_Qf2];
- if (_Rf2 == null || _Rf2 == undefined) return ! 1;
- for (var _H3 = 0; _H3 < _Mg2; _H3++) {
- var index = _Eg2._yf2.length;
- _Eg2._yf2[index] = _531(_V8, _W8, _Qf2)
- }
- }
- function _lB(_kH1, _V8, _W8, _Qf2, _Sd, _Mg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Rf2 = _hT1[_Qf2];
- if (_Rf2 == null || _Rf2 == undefined) return ! 1;
- for (var _H3 = 1; _H3 <= _Mg2; _H3++) {
- var index = _Eg2._yf2.length;
- _Eg2._yf2[index] = _531(_V8, _W8, _Qf2);
- _Eg2._yf2[index]._bb = _Dd(_Sd)
- }
- }
- function _oB(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- _Eg2._yf2 = [];
- return ! 0
- }
- function _qB(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return 0;
- return _Eg2._yf2.length
- }
- function _mj() {
- var index = _iT1.length;
- _iT1[index] = new _wf2();
- _iT1[index]._zg();
- return index
- }
- function _1B(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return ! 1;
- return ! 0
- }
- function __A(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _iT1[_kH1] = null;
- return ! 0
- }
- function _3B(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._zg()
- }
- function _Og2() {
- for (var _nQ = 0; _nQ < _iT1.length; _nQ++) {
- if (!_iT1.hasOwnProperty(_nQ)) continue;
- var _Eg2 = _iT1[_nQ];
- if (_Eg2) {
- _Eg2._yf2 = []
- }
- }
- }
- function _5B(_kH1, _Pg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._Af2 = _Pg2
- }
- function _7B(_kH1, _Uj1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._R3 = _Uj1
- }
- function _9B(_kH1, _V8, _W8) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._Bf2 = _V8;
- _Eg2._Cf2 = _W8
- }
- function _bB(_kH1, _Qg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._Df2 = _Qg2
- }
- function _dB(_kH1, _Qg2) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- _Eg2._Ef2 = _Qg2
- }
- function _Rg2(_kH1) {
- var _H3 = 0;
- var _P9 = 0;
- var _Dk = 0;
- var _Eg2 = _iT1[_kH1];
- var _Sg2 = _Eg2._yf2;
- _H3 = 0;
- while (_H3 < _Sg2.length) {
- var _Tg2 = _Sg2[_H3];
- var _Rf2 = _hT1[_Tg2._nf2];
- _Tg2._rf2++;
- if (_Tg2._rf2 >= _Tg2._sf2) {
- _P9 = _Rf2.__e2;
- if (_P9 < 0) {
- if (_tH1( - _P9) == 0) _P9 = 1
- }
- if (_P9 > 0) {
- _jB(_kH1, _Tg2._f3, _Tg2._g3, _Rf2._Ze2, _P9)
- }
- _Sg2.splice(_H3, 1)
- } else {
- _P9 = _Rf2._Ye2;
- if (_P9 < 0) {
- if (_tH1( - _P9) == 0) _P9 = 1
- }
- if (_P9 > 0) {
- _jB(_kH1, _Tg2._f3, _Tg2._g3, _Rf2._Xe2, _P9)
- }
- _H3++
- }
- }
- }
- function _Ug2(_kH1) {
- var _H3 = 0;
- var __9 = 0;
- var _H7 = 0.0;
- var _G7 = 0.0;
- var _Gt = 0.0;
- var _ic = 0.0;
- var _Vg2 = 0.0;
- var _i71 = 0.0;
- var _Wg2 = 0.0;
- var _Xg2 = 0.0;
- var _Yg2 = 0.0;
- var _Zg2 = 0.0;
- var __g2 = 0.0;
- var _Eg2 = _iT1[_kH1];
- var _Sg2 = _Eg2._yf2;
- for (_H3 = 0; _H3 < _Sg2.length; _H3++) {
- var _Tg2 = _Sg2[_H3];
- var _Rf2 = _hT1[_Tg2._nf2];
- _Tg2._h3 = _Tg2._h3 + _Rf2._2f2;
- if (_Tg2._h3 < 0) _Tg2._h3 = 0;
- _Tg2._tf2 = _Tg2._tf2 + _Rf2._6f2;
- _Tg2._G12 = _Tg2._G12 + _Rf2._af2;
- _Xg2 = 0;
- _Yg2 = 0;
- if ((_Rf2._df2 != 0) || (_Eg2._0h2 > 0)) {
- _H7 = _Kf2(_Tg2._tf2, _Tg2._h3);
- _G7 = _Mf2(_Tg2._tf2, _Tg2._h3);
- if (_Rf2._df2 != 0) {
- _Gt = _Kf2(_Rf2._ef2, _Rf2._df2);
- _ic = _Mf2(_Rf2._ef2, _Rf2._df2);
- _H7 = _H7 + _Gt;
- _G7 = _G7 + _ic
- }
- _Tg2._tf2 = _Jf2(_H7, _G7);
- _Tg2._h3 = Math.sqrt(_H7 * _H7 + _G7 * _G7)
- }
- _Zg2 = ((_Tg2._rf2 + 3 * _Tg2._vf2) % 24) / 6.0;
- if (_Zg2 > 2.0) {
- _Zg2 = 4.0 - _Zg2
- }
- _Zg2 = _Zg2 - 1.0;
- __g2 = ((_Tg2._rf2 + 4 * _Tg2._vf2) % 20) / 5.0;
- if (__g2 > 2.0) {
- __g2 = 4.0 - __g2
- }
- __g2 = __g2 - 1.0;
- _H7 = _Kf2(_Tg2._tf2 + _Zg2 * _Rf2._7f2, _Tg2._h3 + __g2 * _Rf2._3f2);
- _G7 = _Mf2(_Tg2._tf2 + _Zg2 * _Rf2._7f2, _Tg2._h3 + __g2 * _Rf2._3f2);
- _Tg2._f3 = _Tg2._f3 + _H7 + _Xg2;
- _Tg2._g3 = _Tg2._g3 + _G7 + _Yg2
- }
- }
- function _1h2(_kH1) {
- var _Eg2 = _iT1[_kH1];
- var _Sg2 = _Eg2._yf2;
- for (var _H3 = 0; _H3 < _Sg2.length; _H3++) {
- var _Tg2 = _Sg2[_H3];
- var _Rf2 = _hT1[_Tg2._nf2];
- _Tg2._x3 = _Tg2._x3 + _Rf2._Te2;
- if (_Tg2._x3 < 0) {
- _Tg2._x3 = 0
- }
- _Nf2(_Tg2);
- var _2h2;
- if (_Tg2._sf2 > 0) {
- _2h2 = 2.0 * _Tg2._rf2 / _Tg2._sf2
- } else {
- _2h2 = 1
- }
- if (_2h2 < 1) {
- _Tg2.alpha = _Rf2._hf2 * (1.0 - _2h2) + _Rf2._if2 * _2h2;
- } else {
- _Tg2.alpha = _Rf2._if2 * (2.0 - _2h2) + _Rf2._jf2 * (_2h2 - 1)
- }
- }
- }
- function _fB(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return 0;
- _Rg2(_kH1);
- _Ug2(_kH1);
- _1h2(_kH1);
- var _3h2 = _Eg2._zf2;
- if (_3h2) {
- for (var _H3 = 0; _H3 < _3h2.length; _H3++) {
- if (_3h2[_H3] != null && _3h2[_H3]._Gp1 != 0) {
- _vC(_kH1, _H3, _3h2[_H3]._nf2, _3h2[_H3]._Gp1)
- }
- }
- }
- }
- function _4h2() {
- for (var _H3 = 0; _H3 < _iT1.length; _H3++) {
- var _Eg2 = _iT1[_H3];
- if (_Eg2 != null) {
- if (_Eg2._Df2) {
- _fB(_H3)
- }
- }
- }
- }
- function _5h2(_Of2, _DC, _EC) {
- var _wG = null;
- var _ho1 = null;
- if (_Of2._sf2 <= 0) return;
- var _Rf2 = _hT1[_Of2._nf2];
- _wG = _Ry._Gh(_Rf2._Ne2);
- if (_wG == null) {
- var _DP = _Rf2._DP;
- if ((_DP >= 0) && (_DP < _xe2)) {
- _ho1 = _gT1[_DP]
- } else {
- return
- }
- }
- var _C9;
- if (_ho1 != null) {} else {
- if (_wG._ju <= 0) return;
- if (!_Rf2._Oe2) {
- _C9 = _Of2._uf2
- } else if (_Rf2._Pe2) {
- _C9 = _Of2._uf2 + (_wG._P9 * _Of2._rf2 / _Of2._sf2)
- } else {
- _C9 = _Of2._uf2 + _Of2._rf2
- }
- }
- var _T9 = ((_Of2._rf2 + 2 * _Of2._vf2) % 16) / 4.0;
- if (_T9 > 2.0) _T9 = 4.0 - _T9;
- _T9 = _T9 - 1.0;
- var _BG1 = _Of2._G12;
- if (_Rf2._cf2) _BG1 = _BG1 + _Of2._tf2;
- _BG1 = _BG1 + _T9 * _Rf2._bf2;
- _T9 = ((_Of2._rf2 + _Of2._vf2) % 16) / 4.0;
- if (_T9 > 2.0) _T9 = 4.0 - _T9;
- _T9 = _T9 - 1.0;
- _2x(_Of2._kf2 ? 1 : 0);
- var _9q = _Of2._x3 + _T9 * _Rf2._Ue2;
- var _I3 = _Of2._bb;
- if (_ho1 != null) {
- var _dZ1, _eZ1, _G12;
- var _s12 = _Rf2._dZ1 * _9q;
- var _t12 = _Rf2._eZ1 * _9q;
- var _6h2 = _BG1;
- var _7h2 = ~~ (_Of2._f3 + _DC);
- var _8h2 = ~~ (_Of2._g3 + _EC);
- if (_s12 == 1 && _t12 == 1 && _6h2 == 0 && _Of2._bb == 0xffffff) {
- _T12(_ho1, _7h2, _8h2, _Of2.alpha)
- } else {
- _722(_ho1, 0, 0, _7h2, _8h2, _s12, _t12, _6h2 * 0.017453293, _I3, _I3, _I3, _I3, _Of2.alpha)
- }
- } else {
- _wG._6b(_C9, _Of2._f3 + _DC, _Of2._g3 + _EC, _hT1[_Of2._nf2]._dZ1 * _9q, _hT1[_Of2._nf2]._eZ1 * _9q, _BG1, _I3, _Of2.alpha)
- }
- }
- function _hB(_kH1) {
- var _Eg2 = _iT1[_kH1];
- if (_Eg2 == null || _Eg2 == undefined) return;
- var _Sg2 = _Eg2._yf2;
- if (_Eg2._Af2) {
- for (var _H3 = 0; _H3 < _Eg2._yf2.length; _H3++) {
- _5h2(_Sg2[_H3], _Eg2._Bf2, _Eg2._Cf2)
- }
- } else {
- for (var _H3 = _Eg2._yf2.length - 1; _H3 >= 0; _H3--) {
- _5h2(_Sg2[_H3], _Eg2._Bf2, _Eg2._Cf2)
- }
- }
- _2x(0)
- }
- function _9h2(_ah2) {
- for (var _H3 = 0; _H3 < _iT1.length; _H3++) {
- var _Eg2 = _iT1[_H3];
- if (_Eg2 != null) {
- if (_Eg2._Ef2) {
- if (Math.abs(_Eg2._R3 - _ah2) < 0.01) _hB(_H3)
- }
- }
- }
- }
- function _bh2() {
- var _nv = -1000000000;
- for (var _H3 = 0; _H3 < _iT1.length; _H3++) {
- var _Eg2 = _iT1[_H3];
- if (_Eg2 != null && _Eg2._yf2.length > 0) {
- if (_Eg2._Ef2) {
- if (_Eg2._R3 > _nv) _nv = _Eg2._R3;
- }
- }
- }
- return _nv
- }
- function _ch2(_ah2) {
- var _nv = -1000000000;
- for (var _H3 = 0; _H3 < _iT1.length; _H3++) {
- var _Eg2 = _iT1[_H3];
- if (_Eg2 != null && _Eg2._yf2.length > 0) {
- if (_Eg2._Ef2) {
- if ((_Eg2._R3 > _nv) && (_Eg2._R3 < _ah2)) _nv = _Eg2._R3
- }
- }
- }
- return _nv
- }
- var _dh2 = 0,
- _eh2 = 1;
- var _fh2 = 0;
- function _gh2(_V8, _W8, _Ui) {
- this._f3 = _V8;
- this._g3 = _W8;
- this._h3 = _Ui;
- this._R9 = 0
- }
- function _hh2() {
- this.__type = "[Path]";
- this.name = "";
- this.id = _fh2++;
- this._b3 = 0;
- this._c3 = 1;
- this._d3 = 4;
- this._zg()
- }
- _hh2.prototype._zg = function() {
- this._e3 = [];
- this._ih2 = [];
- this._Ea = 0;
- this._jh2 = 0;
- this.length = 0
- };
- _hh2.prototype._kh2 = function() {
- var _H3 = 0;
- this.length = 0;
- if (this._jh2 <= 0) return;
- this._ih2[0]._R9 = 0;
- for (_H3 = 1; _H3 < this._jh2; _H3++) {
- this._ih2[_H3]._R9 = this.length = this.length + sqrt(_do(this._ih2[_H3]._f3 - this._ih2[_H3 - 1]._f3) + _do(this._ih2[_H3]._g3 - this._ih2[_H3 - 1]._g3));
- }
- };
- _hh2.prototype._lh2 = function(_042, _142, _mh2) {
- this._jh2++;
- var _nh2 = new _gh2();
- this._ih2[this._jh2 - 1] = _nh2;
- _nh2._f3 = _042;
- _nh2._g3 = _142;
- _nh2._h3 = _mh2
- };
- _hh2.prototype._oh2 = function() {
- this._jh2 = 0;
- if (this._Ea <= 0) return;
- for (var _H3 = 0; _H3 < this._Ea; _H3++) {
- this._lh2(this._e3[_H3]._f3, this._e3[_H3]._g3, this._e3[_H3]._h3)
- }
- if (this._c3) {
- this._lh2(this._e3[0]._f3, this._e3[0]._g3, this._e3[0]._h3)
- }
- };
- _hh2.prototype._ph2 = function(_Uj1, _aa, _ba, _jp, _x9, _y9, _kp, _fw, _gw, _qh2) {
- if (_Uj1 == 0) return;
- var _ga = (_aa + _x9 + _x9 + _fw) / 4.0;
- var _ha = (_ba + _y9 + _y9 + _gw) / 4.0;
- var _Wo = (_jp + _kp + _kp + _qh2) / 4.0;
- if (_do(_x9 - _aa) + _do(_y9 - _ba) > 16.0) {
- this._ph2(_Uj1 - 1, _aa, _ba, _jp, (_x9 + _aa) / 2.0, (_y9 + _ba) / 2.0, (_kp + _jp) / 2.0, _ga, _ha, _Wo)
- }
- this._lh2(_ga, _ha, _Wo);
- if (_do(_x9 - _fw) + _do(_y9 - _gw) > 16.0) {
- this._ph2(_Uj1 - 1, _ga, _ha, _Wo, (_fw + _x9) / 2.0, (_gw + _y9) / 2.0, (_qh2 + _kp) / 2.0, _fw, _gw, _qh2)
- }
- };
- _hh2.prototype._rh2 = function() {
- var _H3 = 0;
- var _C9 = 0;
- this._jh2 = 0;
- if (this._Ea <= 0) return;
- if (!this._c3) {
- this._lh2(this._e3[0]._f3, this._e3[0]._g3, this._e3[0]._h3)
- }
- if (this._c3) {
- _C9 = this._Ea - 1
- } else {
- _C9 = this._Ea - 3
- }
- for (_H3 = 0; _H3 <= _C9; _H3++) {
- var _S11 = this._e3[_H3 % this._Ea];
- var _T11 = this._e3[(_H3 + 1) % this._Ea];
- var _sh2 = this._e3[(_H3 + 2) % this._Ea];
- this._ph2(this._d3, (_S11._f3 + _T11._f3) / 2.0, (_S11._g3 + _T11._g3) / 2.0, (_S11._h3 + _T11._h3) / 2.0, _T11._f3, _T11._g3, _T11._h3, (_T11._f3 + _sh2._f3) / 2.0, (_T11._g3 + _sh2._g3) / 2.0, (_T11._h3 + _sh2._h3) / 2.0)
- }
- if (!this._c3) {
- this._lh2(this._e3[this._Ea - 1]._f3, this._e3[this._Ea - 1]._g3, this._e3[this._Ea - 1]._h3)
- } else {
- this._lh2(this._ih2[0]._f3, this._ih2[0]._g3, this._ih2[0]._h3)
- }
- };
- _hh2.prototype._th2 = function() {
- if (this._b3 == 1) {
- this._rh2()
- } else {
- this._oh2()
- }
- this._kh2()
- };
- function _IW1(_4Z1) {
- var _FC = new _hh2();
- if ((_4Z1 != undefined) && (_4Z1 != null)) {
- if (_4Z1._d3 != undefined) {
- _FC._d3 = _4Z1._d3
- }
- if (_4Z1._c3 != undefined) {
- _FC._c3 = _4Z1._c3
- }
- if (_4Z1._b3 != undefined) {
- _FC._b3 = _4Z1._b3
- }
- if (_4Z1._Z2 != undefined) {
- _FC.name = _4Z1._Z2
- }
- if (_4Z1._e3 != undefined) {
- _FC._Ea = _4Z1._e3.length
- }
- for (var _mv = 0; _mv < _4Z1._e3.length; _mv++) {
- var _uh2 = _4Z1._e3[_mv];
- var _vh2 = new _gh2(_uh2._f3, _uh2._g3, _uh2._h3);
- _FC._e3[_FC._e3.length] = _vh2
- }
- _FC._th2()
- }
- return _FC
- }
- var _wh2 = new _gh2(0, 0, 100);
- _hh2.prototype._JC = function(_U8) {
- var _Hn = 0;
- if (this._jh2 <= 0) {
- _wh2._f3 = 0;
- _wh2._g3 = 0;
- _wh2._h3 = 0;
- return _wh2
- }
- if ((this._jh2 == 1) || (this.length == 0) || (_U8 <= 0)) {
- return this._ih2[0]
- }
- if (_U8 >= 1) {
- return this._ih2[this._jh2 - 1]
- }
- var _R9 = this.length * _U8;
- _Hn = 0;
- while ((_Hn < this._jh2 - 2) && (_R9 >= this._ih2[_Hn + 1]._R9)) {
- _Hn++
- }
- var _L52 = this._ih2[_Hn];
- _R9 = _R9 - _L52._R9;
- var _J3 = this._ih2[_Hn + 1]._R9 - _L52._R9;
- if (_J3 != 0) {
- _Hn++;
- _wh2._f3 = _L52._f3 + _R9 * (this._ih2[_Hn]._f3 - _L52._f3) / _J3;
- _wh2._g3 = _L52._g3 + _R9 * (this._ih2[_Hn]._g3 - _L52._g3) / _J3;
- _wh2._h3 = _L52._h3 + _R9 * (this._ih2[_Hn]._h3 - _L52._h3) / _J3;
- _L52 = _wh2
- }
- return _L52
- };
- _hh2.prototype._H52 = function(_U8) {
- _mv = this._JC(_U8);
- return _mv._f3
- };
- _hh2.prototype._I52 = function(_U8) {
- _mv = this._JC(_U8);
- return _mv._g3
- };
- _hh2.prototype._xh2 = function(_DC, _EC) {
- for (var _H3 = 0; _H3 <= this._Ea - 1; _H3++) {
- this._e3[_H3]._f3 += _DC;
- this._e3[_H3]._g3 += _EC
- }
- this._th2()
- };
- _hh2.prototype._yh2 = function() {
- var _e52 = 100000000;
- var _f52 = -100000000;
- var _g52 = 100000000;
- var _h52 = -100000000;
- for (var _H3 = 0; _H3 <= this._Ea - 1; _H3++) {
- if (this._e3[_H3]._f3 < _e52) _e52 = this._e3[_H3]._f3;
- if (this._e3[_H3]._f3 > _f52) _f52 = this._e3[_H3]._f3;
- if (this._e3[_H3]._g3 < _g52) _g52 = this._e3[_H3]._g3;
- if (this._e3[_H3]._g3 > _h52) _h52 = this._e3[_H3]._g3
- }
- return new _gh2((_e52 + _f52) / 2.0, (_g52 + _h52) / 2.0, 0)
- };
- _hh2.prototype._zh2 = function(_042, _142, _mh2) {
- _uh2 = new _gh2(_042, _142, _mh2);
- if (!this._e3) this._e3 = [];
- this._e3[this._e3.length] = _uh2;
- this._Ea++;
- this._th2()
- };
- function _CV1() {
- this._a3 = [];
- _fh2 = 0
- }
- _CV1.prototype._Wh = function(_Ah2) {
- this._a3[_Ah2.id] = _Ah2
- };
- _CV1.prototype._MK = function(_Ah2) {
- this._a3[_Ah2.id] = undefined
- };
- function _Bh2(_Uj1) {
- this._R3 = _Uj1;
- this._Q3 = !0;
- this._Ch2 = new _Th()
- }
- _Bh2.prototype._Wh = function(_Dh2) {
- this._Ch2._Wh(_Dh2);
- };
- _Bh2.prototype._MK = function(_Dh2) {
- this._Ch2._NY1(_Dh2)
- };
- _Bh2.prototype._6b = function(_322) {
- if (!this._Q3) {
- return
- }
- var _3i = this._Ch2._3i;
- for (var index = 0; index < _3i.length; index++) {
- var _Eh2 = _3i[index];
- if (_Eh2 != null) {
- var _Ze1 = _Eh2._f3 + (_Eh2._dZ1 * _Eh2._J3),
- _Fh2 = _Eh2._g3 + (_Eh2._eZ1 * _Eh2._K3);
- var _G9 = (_Eh2._f3 < _Ze1) ? _Eh2._f3: _Ze1,
- _I9 = (_Eh2._f3 > _Ze1) ? _Eh2._f3: _Ze1,
- _H9 = (_Eh2._g3 < _Fh2) ? _Eh2._g3: _Fh2,
- _J9 = (_Eh2._g3 > _Fh2) ? _Eh2._g3: _Fh2;
- if ((_G9 <= _322._q9) && (_H9 <= _322.bottom) && (_I9 >= _322.left) && (_J9 >= _322.top)) {
- _Eh2._6b()
- }
- }
- }
- };
- _Bh2.prototype._RA = function() {
- return this._Ch2._3i
- };
- function _Gh2() {
- this._Hh2 = new _ne2();
- this._Ih2 = -1
- }
- _Gh2.prototype._Gh = function(_Uj1) {
- var _Jh2;
- for (var index = 0; index < this._Hh2._Ea; index++) {
- _Jh2 = this._Hh2._Gh(index);
- if (_Jh2._R3 == _Uj1) return _Jh2
- }
- return null
- };
- _Gh2.prototype._MK = function(_Uj1) {
- var _Jh2 = this._Gh(_Uj1);
- if (_Jh2) {
- this._Hh2._MK(_Jh2)
- }
- };
- _Gh2.prototype._Wh = function(_Dh2) {
- var _Jh2;
- _Jh2 = this._Gh(_Dh2._R3);
- if (!_Jh2) {
- _Jh2 = new _Bh2(_Dh2._R3);
- this._Hh2._Wh(_Jh2)
- }
- _Jh2._Wh(_Dh2)
- };
- _Gh2.prototype._Kh2 = function(_Dh2) {
- _Jh2 = this._Gh(_Dh2._R3);
- if (_Jh2) {
- _Jh2._MK(_Dh2)
- }
- };
- _Gh2.prototype._Lh2 = function() {
- this._Ih2 = this._Hh2.length - 1;
- return this._Hh2._Gh(this._Ih2)
- };
- _Gh2.prototype._y_ = function() {
- this._Ih2--;
- if (this._Ih2 < 0) return null;
- return this._Hh2._Gh(this._Ih2)
- };
- function _Mh2() {
- this._Di = [];
- this._L3 = 0;
- this._M31 = _Mh2.prototype._Nh2;
- this._L31 = _Mh2.prototype._Oh2
- };
- _Mh2.prototype._Ph2 = function() {
- return (this._Di.length == 0)
- };
- _Mh2.prototype._Oh2 = function(_rF1) {
- this._Di.push(_rF1)
- };
- _Mh2.prototype._Nh2 = function() {
- if (this._Ph2()) return undefined;
- var _oi = this._Di[this._L3];
- if ((++this._L3 * 2) >= this._Di.length) {
- this._Di = this._Di.slice(this._L3);
- this._L3 = 0
- }
- return _oi
- };
- function _yW1() {
- this.id = _IT1++;
- this._KE()
- }
- _yW1.prototype._KE = function() {
- this.__type = "[Room]";
- this._Qh2 = "";
- this._Rh2 = "";
- this._Sh2 = 30;
- this._Hn1 = 1024;
- this._In1 = 768;
- this._Th2 = !1;
- this._Uh2 = !1;
- this._Vh2 = 0xc0c0c0;
- this._Wh2 = !0;
- this._Xh2 = !0;
- this._Yh2 = !0;
- this._Zh2 = [];
- for (var _V9 = 0; _V9 < _OS1; _V9++) {
- this._Zh2[_V9] = null
- }
- this._Kg = !1;
- this.__h2 = null;
- this._Fy = new _ne2();
- this._0i2 = new _Th();
- this._0i2._Uh = !0;
- this._r42 = [];
- this._1i2 = 0;
- this._2i2 = [];
- this._3i2 = new _Gh2();
- this._Mg = [];
- this._4i2 = [];
- this._HD = null;
- this._5i2 = "Room";
- this._kD = null
- };
- _yW1.prototype._6i2 = function() {
- return this._Kg
- };
- _yW1.prototype._DH1 = function() {
- return this._Hn1
- };
- _yW1.prototype._DR = function() {
- return this._In1
- };
- _yW1.prototype._I8 = function() {
- return this._Sh2
- };
- _yW1.prototype._RA = function() {
- return this._Fy._3i
- };
- _yW1.prototype._7i2 = function(_Dh) {
- this._Hn1 = _Dh;
- _w6._B6 = _Dh
- };
- _yW1.prototype._8i2 = function(_Dh) {
- this._In1 = _Dh;
- _w6._z6 = _Dh
- };
- _yW1.prototype._9i2 = function(_Dh) {
- this._Sh2 = _Dh;
- _w6._P_1 = _Dh;
- };
- _yW1.prototype._ai2 = function(_J8) {
- this._5i2 = _J8
- };
- _yW1.prototype._bi2 = function(_ci2) {
- this._Rh2 = _ci2;
- _w6._O_1 = _ci2
- };
- _yW1.prototype._R02 = function(_Dh) {
- this._Th2 = _Dh;
- _w6._Q_1 = _Dh
- };
- _yW1.prototype._di2 = function() {
- this._HD = {
- _Z2: "room_empty_" + this.id,
- width: 640,
- height: 480,
- _d5: [{},
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _e5: [{},
- {},
- {},
- {},
- {},
- {},
- {},
- {}],
- _h5: [],
- _j5: []
- };
- this._zW1(this._HD)
- };
- _yW1.prototype._ei2 = function(_4Z1) {
- if (_4Z1 != null) {
- this._HD.width = _4Z1.width;
- this._HD.height = _4Z1.height;
- this._HD._b5 = _4Z1._b5;
- this._HD._k5 = _4Z1._k5;
- this._HD._c5 = _4Z1._c5;
- this._HD._l5 = _4Z1._l5;
- this._HD._fi2 = _4Z1._fi2;
- this._HD._h3 = _4Z1._h3;
- this._HD._65 = _4Z1._65;
- for (var _H3 = 0; _H3 < _4Z1._d5.length; _H3++) {
- var _gi2 = _4Z1._d5[_H3];
- if (_gi2 != null) {
- this._HD._d5[_H3] = {
- _Q3: _gi2._Q3,
- index: _gi2.index,
- _G7: _gi2._G7,
- _H7: _gi2._H7,
- _7Z1: _gi2._7Z1,
- _f3: _gi2._f3,
- _g3: _gi2._g3,
- _m5: _gi2._m5,
- _n5: _gi2._n5,
- _H7: _gi2._H7,
- _G7: _gi2._G7,
- _cZ1: _gi2._cZ1,
- alpha: _gi2.alpha,
- _iX1: _gi2._iX1
- }
- }
- }
- for (var _H3 = 0; _H3 < _4Z1._e5.length; _H3++) {
- var _hi2 = _4Z1._e5[_H3];
- if (_hi2) {
- this._HD._e5[_H3] = {
- _Q3: _hi2._Q3,
- _ii2: _hi2._ii2,
- _ji2: _hi2._ji2,
- _f5: _hi2._f5,
- _o5: _hi2._o5,
- _ki2: _hi2._ki2,
- _li2: _hi2._li2,
- _g5: _hi2._g5,
- _p5: _hi2._p5,
- _mi2: _hi2._mi2,
- _ni2: _hi2._ni2,
- _H7: _hi2._H7,
- _G7: _hi2._G7,
- index: _hi2.index
- }
- }
- }
- this._HD._h5 = new Array(_4Z1._h5.length);
- for (var _H3 = 0; _H3 < _4Z1._h5.length; _H3++) {
- var _oi2 = _4Z1._h5[_H3];
- if (_oi2) {
- this._HD._h5[_H3] = {
- _f3: _oi2._f3,
- _g3: _oi2._g3,
- index: _oi2.index,
- id: _oi2.id,
- _i5: _oi2._qv1,
- _E3: _oi2._E3,
- _F3: _oi2._F3,
- _b5: _oi2._d42
- }
- }
- }
- this._HD._j5 = new Array(_4Z1._h5.length);
- for (var _H3 = 0; _H3 < _4Z1._j5.length; _H3++) {
- var _pi2 = _4Z1._j5[_H3];
- if (_pi2 != null) {
- this._HD._j5[_H3] = {
- _f3: _pi2._f3,
- _g3: _pi2._g3,
- index: _pi2.index,
- _qi2: _pi2._qi2,
- _ri2: _pi2._ri2,
- _J3: _pi2._J3,
- _K3: _pi2._K3,
- _R3: _pi2._R3,
- id: _pi2.id
- }
- }
- }
- }
- };
- _yW1.prototype._zW1 = function(_si2) {
- this._KE();
- this._HD = _si2;
- if (_si2._Z2 != undefined) this._ai2(_si2._Z2);
- if (_si2._fi2 != undefined) this._bi2(_si2._fi2);
- if (_si2.width != undefined) this._7i2(_si2.width);
- if (_si2.height != undefined) this._8i2(_si2.height);
- if (_si2._h3 != undefined) this._9i2(_si2._h3);
- if (_si2._65 != undefined) this._R02(_si2._65);
- if (_si2._b5 != undefined) this._Vh2 = _si2._b5;
- if (_si2._k5 != undefined) this._Wh2 = _si2._k5;
- if (_si2._c5 != undefined) this._Kg = _si2._c5;
- if (_si2._l5 != undefined) this._Xh2 = _si2._l5;
- if (_si2._ti2 != undefined) this._Yh2 = _si2._ti2;
- this._7i2(this._Hn1);
- this._8i2(this._In1);
- this._9i2(this._Sh2);
- this._bi2(this._Rh2);
- this._R02(this._Th2);
- this._Mg = [];
- this._1i2 = 0;
- for (var index = 0; index < _si2._j5.length; index++) {
- var _ui2 = _si2._j5[index];
- if (_ui2 != null) {
- var _Eh2 = _vi2(_ui2);
- this._3i2._Wh(_Eh2);
- this._2i2[_Eh2.id] = _Eh2;
- this._1i2++
- }
- }
- if (_si2._wi2 != undefined) this.__h2 = _si2._wi2;
- for (var _xb = 0; _xb < _si2._e5.length; _xb++) {
- this._Mg[_xb] = _xi2(_si2._e5[_xb])
- }
- };
- _yW1.prototype._yi2 = function() {
- if (this._HD._zi2) {
- this._kD = new _vu1(this._HD._Ai2, this._I8());
- this._kD._621(this._HD._Bi2, this._HD._Ci2)
- }
- };
- _yW1.prototype._Di2 = function() {
- var _H3;
- var _Ei2 = 0;
- var _Fi2 = [];
- for (_H3 = this._Fy.length - 1; _H3 >= 0; _H3--) {
- this._Gi2(this._Fy._Gh(0))
- }
- for (_H3 = this._0i2.length - 1; _H3 >= 0; _H3--) {
- this._Gi2(this._0i2._Gh(0))
- }
- };
- _yW1.prototype._Hi2 = function() {
- var _H3, _J3, _K3;
- if (_H8._6i2()) {} else {
- _J3 = _H8._DH1();
- _K3 = _H8._DR()
- }
- if (_J3 > _X12()) _J3 = _X12();
- if (_K3 > _Y12()) _K3 = _Y12()
- };
- _yW1.prototype.__i = function(_V8, _W8, _Vi) {
- return this._w42(_V8, _W8, _OT1++, _Vi, !0)
- };
- _yW1.prototype._w42 = function(_V8, _W8, _Ch, _Ky, _Ii2, _Ji2, _Xq1, _Cd) {
- var _Ki2 = _Ii2;
- if (_Ki2 != !0 && _Ki2 != !1) {
- _Ki2 = !0
- } else {
- _Ii2 = undefined
- }
- var _Li2 = new __32(_V8, _W8, _Ch, _Ky, _Ki2);
- this._Fy._pe2(_Li2);
- _dy._Wh(_Li2);
- if (_Ii2 != undefined) _Li2._v7 = _Ii2;
- if (_Ji2 != undefined) _Li2._J7 = _Ji2;
- if (_Xq1 != undefined) _Li2._qv1 = _Xq1;
- if (_Cd != undefined) _Li2._d42 = _Cd;
- _Li2._D42();
- return _Li2
- };
- _yW1.prototype._Mi2 = function() {
- var index = 0;
- for (var _H3 = 0; _H3 < this._Mg.length; _H3++) {
- _Ng = this._Mg[_H3];
- _w6._902[index] = _Ng._Q3;
- _w6._g8[index] = _Ng._jH;
- _w6._h8[index] = _Ng._kH;
- _w6._A6[index] = _Ng._lH;
- _w6._y6[index] = _Ng._mH;
- _w6._a02[index] = _Ng._nH;
- _w6._b02[index] = _Ng._oH;
- _w6._c02[index] = _Ng._pH;
- _w6._d02[index] = _Ng._qH;
- _w6._e02[index] = _Ng._0b;
- _w6._f02[index] = _Ng._mi2;
- _w6._g02[index] = _Ng._ni2;
- _w6._h02[index] = _Ng._H7;
- _w6._i02[index] = _Ng._G7;
- _w6._j02[index] = _Ng._Wi;
- _w6._O02[index] = _Ng._Ni2;
- index++
- }
- };
- _yW1.prototype._Oi2 = function() {
- var index = 0;
- for (var _H3 = 0; _H3 < this._Mg.length; _H3++) {
- _Ng = this._Mg[_H3];
- _Ng._Q3 = _w6._902[index];
- _Ng._jH = _w6._g8[index];
- _Ng._kH = _w6._h8[index];
- _Ng._lH = _w6._A6[index];
- _Ng._mH = _w6._y6[index];
- _Ng._nH = _w6._a02[index];
- _Ng._oH = _w6._b02[index];
- _Ng._pH = _w6._c02[index];
- _Ng._qH = _w6._d02[index];
- _Ng._0b = _w6._e02[index];
- _Ng._mi2 = _w6._f02[index];
- _Ng._ni2 = _w6._g02[index];
- _Ng._H7 = _w6._h02[index];
- _Ng._G7 = _w6._i02[index];
- _Ng._Wi = _w6._j02[index];
- _Ng._Ni2 = _w6._O02[index];
- index++
- }
- };
- _yW1.prototype._Pi2 = function() {
- for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) {
- var _hZ1 = _Nj._Gh(_H3);
- _hZ1._H7 = _w6._302[_H3];
- _hZ1._G7 = _w6._402[_H3];
- _hZ1._f3 = _w6._W_1[_H3];
- _hZ1._g3 = _w6._X_1[_H3];
- _hZ1._f3 += _hZ1._H7;
- _hZ1._g3 += _hZ1._G7;
- _w6._W_1[_H3] = _hZ1._f3;
- _w6._X_1[_H3] = _hZ1._g3
- }
- };
- _yW1.prototype._Qi2 = function() {
- var _H3;
- var _R9, _V9, _b52, _Ri2;
- var _Ng;
- var _Ay;
- if (!this._Kg) return;
- this._Oi2();
- for (_H3 = 0; _H3 < this._Mg.length; _H3++) {
- _Ng = this._Mg[_H3];
- if ((_Ng._Q3) && (_Ng._Wi >= 0)) {
- _Ay = null;
- if (_Ng._Wi < 100000) {
- var _li = _Ys._Gh(_Ng._Wi);
- if (_li != null) {
- var _3i = _li._AD();
- for (var _4s = 0; _4s < _3i.length; _4s++) {
- _Ay = _3i[_4s];
- if (!_Ay._uy) break;
- _Ay = null
- }
- }
- } else {
- _Ay = _dy._Gh(_Ng._Wi);
- if (!_Ay && _Ay._uy) _Ay = null
- }
- if (_Ay != null) {
- _R9 = _Ng._jH;
- _V9 = _Ng._kH;
- _b52 = Math.round(_Ay._f3);
- _Ri2 = Math.round(_Ay._g3);
- if (2 * _Ng._mi2 >= _Ng._lH) {
- _R9 = _b52 - _Ng._lH / 2
- } else if (_b52 - _Ng._mi2 < _Ng._jH) {
- _R9 = _b52 - _Ng._mi2
- } else if (_b52 + _Ng._mi2 > _Ng._jH + _Ng._lH) {
- _R9 = _b52 + _Ng._mi2 - _Ng._lH
- }
- if (2 * _Ng._ni2 >= _Ng._mH) {
- _V9 = _Ri2 - _Ng._mH / 2
- } else if (_Ri2 - _Ng._ni2 < _Ng._kH) {
- _V9 = _Ri2 - _Ng._ni2
- } else if (_Ri2 + _Ng._ni2 > _Ng._kH + _Ng._mH) {
- _V9 = _Ri2 + _Ng._ni2 - _Ng._mH;
- }
- if (_R9 < 0) _R9 = 0;
- if (_R9 + _Ng._lH > this._Hn1) _R9 = this._Hn1 - _Ng._lH;
- if (_V9 < 0) _V9 = 0;
- if (_V9 + _Ng._mH > this._In1) _V9 = this._In1 - _Ng._mH;
- if (_Ng._H7 >= 0) {
- if ((_R9 < _Ng._jH) && (_Ng._jH - _R9 > _Ng._H7)) _R9 = _Ng._jH - _Ng._H7;
- if ((_R9 > _Ng._jH) && (_R9 - _Ng._jH > _Ng._H7)) _R9 = _Ng._jH + _Ng._H7
- }
- if (_Ng._G7 >= 0) {
- if ((_V9 < _Ng._kH) && (_Ng._kH - _V9 > _Ng._G7)) _V9 = _Ng._kH - _Ng._G7;
- if ((_V9 > _Ng._kH) && (_V9 - _Ng._kH > _Ng._G7)) _V9 = _Ng._kH + _Ng._G7
- }
- _Ng._jH = _R9;
- _Ng._kH = _V9
- }
- }
- }
- this._Mi2()
- };
- var _Si2 = !1;
- _yW1.prototype._Ti2 = function(_322) {
- var _Jh2 = this._3i2._Lh2();
- var _Ui2 = _Jh2._R3;
- for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = this._Fy._Gh(_H3);
- if (_Ay._uy || _Ay._Q3 == 0) continue;
- while (_Ui2 > _Ay._R3) {
- _Jh2._6b(_322);
- _Jh2 = this._3i2._y_();
- if (_Jh2) {
- _Ui2 = _Jh2._R3
- } else {
- _Ui2 = -1000000000000
- }
- }
- if (!_Ay._PH1[_1L1]) {
- var _Qy = _Ry._Gh(_Ay._Ny);
- if (_Qy) {
- if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) {
- _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad)
- } else {
- _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad)
- }
- }
- } else {
- _Ay._g9(_1L1, 0, _Ay, _Ay)
- }
- }
- while (_Jh2) {
- _Jh2._6b(_322);
- _Jh2 = this._3i2._y_()
- }
- };
- _yW1.prototype._Vi2 = function(_322) {
- var _Qy, _Ay, _H3, _3i, _Y02;
- _3i = this._Fy._3i;
- _Y02 = _Ry._Y2;
- for (_H3 = _3i.length - 1; _H3 >= 0; _H3--) {
- _Ay = _3i[_H3];
- if (_Ay._uy || !_Ay._Q3) continue;
- if (!_Ay._PH1[_1L1]) {
- _Qy = _Y02[_Ay._Ny];
- if (_Qy) {
- _na = _Ay;
- if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) {
- _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad)
- } else {
- _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad)
- }
- _na = null
- }
- } else {
- _Ay._g9(_1L1, 0, _Ay, _Ay)
- }
- }
- };
- _yW1.prototype._Wi2 = function(_322) {
- var _Xi2 = _bh2();
- for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = this._Fy._Gh(_H3);
- if (_Ay._uy || _Ay._Q3 == 0) continue;
- var _Yi2 = _Xi2;
- while (_Xi2 > _Ay._R3) {
- _9h2(_Xi2);
- _Xi2 = _ch2(_Xi2);
- if (_Xi2 == _Yi2) {
- break
- }
- _Yi2 = _Xi2
- }
- if (!_Ay._PH1[_1L1]) {
- var _Qy = _Ry._Gh(_Ay._Ny);
- if (_Qy) {
- if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) {
- _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad)
- } else {
- _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad)
- }
- }
- } else {
- _Ay._g9(_1L1, 0, _Ay, _Ay)
- }
- }
- while (_Xi2 > -1000000000) {
- _9h2(_Xi2);
- _Xi2 = _ch2(_Xi2)
- }
- };
- _yW1.prototype._Zi2 = function(_322) {
- var _Xi2 = _bh2();
- var _Jh2 = this._3i2._Lh2();
- var __i2 = _Jh2._R3;
- for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = this._Fy._Gh(_H3);
- if (_Ay._uy || _Ay._Q3 == 0) continue;
- while (!0) {
- if (__i2 > _Ay._R3) {
- if (__i2 > _Xi2) {
- _Jh2._6b(_322);
- _Jh2 = this._3i2._y_();
- if (_Jh2) {
- __i2 = _Jh2._R3
- } else {
- __i2 = -1000000000000
- }
- } else {
- _9h2(_Xi2);
- _Xi2 = _ch2(_Xi2)
- }
- } else if (_Xi2 > _Ay._R3) {
- _9h2(_Xi2);
- _Xi2 = _ch2(_Xi2)
- } else {
- break
- }
- }
- if (!_Ay._PH1[_1L1]) {
- var _Qy = _Ry._Gh(_Ay._Ny);
- if (_Qy) {
- if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) {
- _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad)
- } else {
- _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad)
- }
- }
- } else {
- _Ay._g9(_1L1, 0, _Ay, _Ay)
- }
- }
- while (!0) {
- if (__i2 > _Xi2) {
- _Jh2._6b(_322);
- _Jh2 = this._3i2._y_();
- if (_Jh2) {
- __i2 = _Jh2._R3
- } else {
- __i2 = -1000000000000
- }
- } else {
- if (_Xi2 <= -1000000000) break;
- _9h2(_Xi2);
- _Xi2 = _ch2(_Xi2)
- }
- }
- };
- _yW1.prototype._0j2 = function(_322) {
- _gH = _322;
- if (this._Wh2) {
- _V12(_Dd(_w6._R_1))
- }
- this._1j2(_322, _QL1);
- for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) {
- var _hZ1 = _Nj._Gh(_H3);
- if (_hZ1) {
- _hZ1._Q3 = _w6._T_1[_H3];
- _hZ1._7Z1 = _w6._U_1[_H3];
- _hZ1._f3 = _w6._W_1[_H3];
- _hZ1._g3 = _w6._X_1[_H3];
- _hZ1.index = _w6._V_1[_H3];
- _hZ1._8Z1 = _w6.___1[_H3];
- _hZ1._9Z1 = _w6._002[_H3];
- _hZ1.alpha = _w6._602[_H3];
- _hZ1._iX1 = _w6._502[_H3];
- _hZ1._H7 = _w6._302[_H3];
- _hZ1._G7 = _w6._402[_H3];
- _hZ1._dZ1 = _w6._102[_H3];
- _hZ1._eZ1 = _w6._202[_H3];
- if (_hZ1 != null && _hZ1._Q3 && !_hZ1._7Z1) {
- var _hG = _Nj._Xj(_hZ1.index);
- if (_hG != null) {
- if (_hZ1._cZ1) {
- _NH(_hG._Mj, _hZ1._f3, _hZ1._g3, this._Hn1, this._In1, _hZ1._iX1, _hZ1.alpha)
- } else {
- _U12(_hG._Mj, _hZ1._f3, _hZ1._g3, _hZ1._dZ1, _hZ1._eZ1, _hZ1._9Z1, _hZ1._8Z1, _hZ1._iX1, _hZ1.alpha)
- }
- }
- }
- }
- }
- if (this._3i2._Hh2._Ea > 0) {
- if (_iT1.length != 0) {
- this._Zi2(_322)
- } else {
- this._Ti2(_322)
- }
- } else if (_iT1.length != 0) {
- this._Wi2(_322)
- } else {
- this._Vi2(_322)
- }
- for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) {
- var _hZ1 = _Nj._Gh(_H3);
- if (_hZ1 != null && _hZ1._Q3 && _hZ1._7Z1) {
- var _hG = _Nj._Xj(_hZ1.index);
- if (_hG != null) {
- if (_hZ1._cZ1) {
- _NH(_hG._Mj, _hZ1._f3, _hZ1._g3, this._Hn1, this._In1, _hZ1._iX1, _hZ1.alpha)
- } else {
- _U12(_hG._Mj, _hZ1._f3, _hZ1._g3, _hZ1._dZ1, _hZ1._eZ1, _hZ1._9Z1, _hZ1._8Z1, _hZ1._iX1, _hZ1.alpha)
- }
- }
- }
- }
- this._1j2(_322, _RL1)
- };
- _yW1.prototype._2j2 = function() {
- if (_7U1 >= 0) {
- var _fG = _Ry._Gh(_7U1);
- if (_fG != null) {
- _fG._6b(_8U1, _dh._gI1 - _Pg.left, _dh._hI1 - _Pg.top, 1.0, 1.0, 0, 0xffffff, 1.0)
- }
- _8U1++;
- if (_8U1 > _fG._P9) _8U1 -= _fG._P9
- }
- };
- _yW1.prototype._1j2 = function(_322, _fr) {
- var _Qy, _Ay, _H3, _3i, _Y02;
- _3i = this._Fy._3i;
- _Y02 = _Ry._Y2;
- for (_H3 = _3i.length - 1; _H3 >= 0; _H3--) {
- _Ay = _3i[_H3];
- if (_Ay._uy || !_Ay._Q3) continue;
- if (_Ay._PH1[_fr]) {
- _Ay._g9(_fr, 0, _Ay, _Ay)
- }
- }
- };
- _yW1.prototype._3j2 = function(_T9) {
- _iH = _XU1;
- _iH._Qg = 0;
- _iH._Sg = 0;
- _iH._rH = _T9._q9;
- _iH._sH = _T9.bottom;
- _iH._Rg = _T9._q9;
- _iH._Tg = _T9.bottom;
- _iH._4j2 = 1.0;
- _iH._5j2 = 1.0;
- _h22(); {
- _tH(0, 0, _T9._q9, _T9.bottom);
- _uH(0, 0, _T9._q9, _T9.bottom, 0);
- if (this._Yh2 && _AL) {
- _V12(_5I)
- }
- this._1j2(_T9, _UL1)
- }
- _j22()
- };
- _yW1.prototype._6j2 = function() {
- if (_AL) {
- if (_RG < 0) {
- _RG = _Dj(_BL, _CL);
- _w6._N02 = _RG;
- debug("Application Surface created: w=" + _BL + ", h=" + _CL)
- }
- if (_SG) {
- _SG = !1;
- _Dj(_TG, _UG, _RG);
- _BL = _TG;
- _CL = _UG;
- debug("Application Surface resized: w=" + _BL + ", h=" + _CL);
- _7j2()
- }
- _5H(_RG)
- }
- };
- _yW1.prototype._8j2 = function(_T9) {
- var _9j2 = new _Iq();
- _9j2._yh(_gH);
- this._Qi2();
- var _Jg;
- if (!this._Kg) {
- _Jg = _Lg;
- _lI = _BL / _H8._Hn1;
- _mI = _CL / _H8._In1
- } else {
- _Jg = this._Mg;
- if (this._Xh2) {
- _tH(0, 0, _BL, _CL);
- _uH(0, 0, _BL, _CL, 0);
- _V12(_5I)
- }
- }
- var _aj2 = _gH._q9 - _gH.left;
- var _bj2 = _gH.bottom - _gH.top;
- var _cj2 = _DL._J3 / _aj2;
- var _dj2 = _DL._K3 / _bj2;
- var _932 = _BL / _aj2;
- var _a32 = _CL / _bj2;
- _xT1 = 0;
- for (_H3 = 0; _H3 < _Jg.length; _H3++) {
- _iH = _Jg[_H3];
- if (_iH._Q3) {
- var _ej2 = _yH;
- _h22(); {
- if (_iH._Ni2 != -1) {
- _5H(_iH._Ni2)
- }
- _iH._Qg = _iH._nH * _cj2 + _DL._f3;
- _iH._Sg = _iH._oH * _dj2 + _DL._g3;
- _iH._rH = _iH._pH * _cj2;
- _iH._sH = _iH._qH * _dj2;
- _iH._Rg = _iH._Qg + _iH._rH;
- _iH._Tg = _iH._Sg + _iH._sH;
- _iH._4j2 = _iH._rH / _iH._lH;
- _iH._5j2 = _iH._sH / _iH._mH;
- if (_iH._Ni2 != -1) {
- _tH(0, 0, _3H(_iH._Ni2), _4H(_iH._Ni2))
- } else {
- _tH(_iH._nH * _932, _iH._oH * _a32, _iH._pH * _932, _iH._qH * _a32)
- }
- _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b);
- _T9.left = _iH._jH;
- _T9.top = _iH._kH;
- _T9._q9 = _iH._jH + _iH._lH;
- _T9.bottom = _iH._kH + _iH._mH;
- _w6._802 = _xT1;
- this._0j2(_T9);
- if (_iH._Ni2 != -1) {
- _vH()
- }
- _xT1++
- }
- _j22()
- }
- }
- _gH._yh(_9j2)
- };
- _yW1.prototype._fj2 = function(_T9) {
- _h22({
- _gj2: !0,
- _hj2: !0
- }); {
- if (_ij2 && _AL) {
- _T9.left = 0;
- _T9.top = 0;
- _T9._q9 = _oI();
- _T9.bottom = _pI();
- var rect = _DL;
- _tH(0, 0, _T9._q9, _T9.bottom);
- _uH(0, 0, _T9._q9, _T9.bottom, 0);
- _MH(_RG, rect._f3, rect._g3, rect._J3, rect._K3);
- }
- }
- _j22({
- _jj2: !0,
- _kj2: !0
- })
- };
- _yW1.prototype._lj2 = function(_T9) {
- _T9.left = 0;
- _T9.top = 0;
- _T9._q9 = _oI();
- _T9.bottom = _pI();
- _iH = _XU1;
- _iH._Qg = 0;
- _iH._Sg = 0;
- _iH._rH = _T9._q9;
- _iH._sH = _T9.bottom;
- _iH._Rg = _T9._q9;
- _iH._Tg = _T9.bottom;
- _iH._4j2 = 1.0;
- _iH._5j2 = 1.0;
- _h22(); {
- _tH(0, 0, _T9._q9, _T9.bottom);
- _uH(0, 0, _T9._q9, _T9.bottom, 0);
- this._1j2(_T9, _VL1)
- }
- _j22()
- };
- _yW1.prototype._M82 = function(_T9) {
- var _mj2 = _lI;
- var _nj2 = _mI;
- var _oj2 = _9U1;
- var _pj2 = _aU1;
- if (_oj2 < 0) _oj2 = _oI();
- if (_pj2 < 0) _pj2 = _pI();
- _h22({
- _gj2: !0
- }); {
- _T9.left = 0;
- _T9.top = 0;
- _T9._q9 = _oI();
- _T9.bottom = _pI();
- _lI = _T9._q9 / _oj2;
- _mI = _T9.bottom / _pj2;
- _iH = _XU1;
- _iH._Qg = 0;
- _iH._Sg = 0;
- _iH._rH = _T9._q9;
- _iH._sH = _T9.bottom;
- _iH._Rg = _T9._q9;
- _iH._Tg = _T9.bottom;
- _iH._4j2 = _lI;
- _iH._5j2 = _mI;
- _qj2 = !0;
- _tH(0, 0, _T9._q9, _T9.bottom);
- _rj2();
- var _9j2 = new _Iq();
- _9j2._yh(_gH);
- _gH.left = 0;
- _gH.top = 0;
- _gH._q9 = _oj2;
- _gH.bottom = _pj2;
- this._1j2(_T9, _SL1);
- this._1j2(_T9, _OL1);
- this._1j2(_T9, _TL1);
- _qj2 = !1;
- _gH._yh(_9j2)
- }
- _j22({
- _jj2: !0
- });
- _lI = _mj2;
- _mI = _nj2;
- };
- _yW1.prototype._sj2 = function(_T9) {
- if (_7U1 >= 0) {
- _h22();
- _tH(0, 0, _T9._q9, _T9.bottom);
- _uH(0, 0, _T9._q9, _T9.bottom, 0);
- this._2j2();
- _j22()
- }
- };
- _yW1.prototype._6b = function() {
- var _T9 = new _Iq();
- _T9.left = 0;
- _T9.top = 0;
- _T9._q9 = _oI();
- _T9.bottom = _pI();
- this._3j2(_T9);
- this._6j2();
- this._8j2(_T9);
- if (_AL) {
- _vH()
- }
- if (_OG.length != 0) {
- _Xg("Unbalanced surface stack. You MUST use surface_reset_target() for each set.");
- return
- }
- this._lj2(_T9);
- this._fj2(_T9);
- this._M82(_T9);
- this._sj2(_T9);
- };
- function _rj2() {
- var _oj2 = _9U1;
- var _pj2 = _aU1;
- if (_oj2 < 0) _oj2 = _bI;
- if (_pj2 < 0) _pj2 = _cI;
- var _932 = 1;
- var _a32 = 1;
- var _BE1 = 0;
- var _CE1 = 0;
- if (_bU1) {
- _932 = _eU1;
- _a32 = _fU1;
- _BE1 = _cU1;
- _CE1 = _dU1;
- _b22(_932, _a32, _BE1, _CE1)
- } else {
- _BE1 = _DL._f3;
- _CE1 = _DL._g3;
- if (_9U1 > 0) {
- _932 = _DL._J3 / _oj2
- }
- if (_aU1 > 0) {
- _a32 = _DL._K3 / _pj2
- }
- _b22(_932, _a32, _BE1, _CE1)
- }
- }
- _yW1.prototype._tj2 = function() {
- var _uj2 = [];
- var _ty = _dy._i62._3i;
- for (var _H3 = 0; _H3 < _ty.length; _H3++) {
- var _Ay = _ty[_H3];
- if (_Ay._uy) {
- _uj2[_uj2.length] = _Ay
- }
- }
- for (var _H3 = 0; _H3 < _uj2.length; _H3++) {
- var _Ay = _uj2[_H3];
- this._Gi2(_Ay)
- }
- };
- _yW1.prototype._Gi2 = function(_Ay) {
- if (this._kD && _Ay._Wu1) {
- this._kD._k11(_Ay._Wu1)
- }
- _dy._k62(_Ay);
- this._Fy._MK(_Ay);
- this._0i2._NY1(_Ay);
- _Ay._Oy._v42(_Ay)
- };
- _yW1.prototype._vj2 = function(_lt) {
- if (_lt._HY) {
- this._Fy._MK(_lt);
- _lt._Oy._v42(_lt);
- this._0i2._Wh(_lt);
- _lt._HY = !1
- }
- };
- _yW1.prototype._wj2 = function(_lt) {
- if (!_lt._HY) {
- this._0i2._NY1(_lt);
- this._Fy._pe2(_lt);
- _lt._Oy._w42(_lt);
- _lt._HY = !0
- }
- };
- _yW1.prototype._Kh2 = function(_Ch) {
- var _Eh2 = this._2i2[_Ch];
- if (_Eh2) {
- this._3i2._Kh2(_Eh2);
- this._2i2[_Ch] = undefined;
- this._1i2--
- }
- };
- _yW1.prototype._xj2 = function() {
- if (this._r42.length == 0) return;
- var _Yh = this._r42;
- var _HY = this._Fy;
- var _yj2;
- if (_HY._oe2 < 0) {
- _zj2 = _HY._3i.length
- } else {
- _zj2 = _HY._oe2
- }
- var _Ea = 0;
- for (var _H3 = 0; _H3 < _Yh.length; _H3++) {
- var _Ay = _Yh[_H3];
- for (var __9 = 0; __9 < _zj2; __9++) {
- if (_Ay == _HY._3i[__9]) {
- _HY._3i.splice(__9, 1);
- _HY._3i[_HY._3i.length] = _Ay;
- _Ea += 1;
- _zj2 -= 1;
- _Aj2 = !0;
- break
- }
- }
- }
- if (_Ea > 0) {
- if (_HY._oe2 < 0) {
- _HY._oe2 = _HY._3i.length - _Ea
- } else {
- _HY._oe2 -= _Ea
- }
- }
- this._r42 = []
- };
- function _xV1() {
- this._KD = [];
- this._DW1 = []
- }
- _xV1.prototype._AW1 = function(_Si1) {
- this._DW1 = _Si1
- };
- _xV1.prototype._Wh = function(_Bj2) {
- return this._KD[this._KD.length] = _Bj2
- };
- _xV1.prototype._Gh = function(_Cj2) {
- return this._KD[_Cj2];
- };
- _xV1.prototype._MD = function(_Cj2) {
- return this._KD[this._DW1[_Cj2]]
- };
- _xV1.prototype._MK = function(_Cj2) {
- this._KD[_Cj2] = null
- };
- _xV1.prototype._Dj2 = function() {
- for (var _Ej2 in this._KD) {
- if (!this._KD.hasOwnProperty(_Ej2)) continue;
- var _F_1 = this._KD[_Ej2];
- _F_1._zW1(_F_1._HD)
- }
- };
- var _HF = [];
- function _Fj2() {
- this.__type = "[sound]";
- this._Z2 = "";
- this._b3 = 0;
- this._aW1 = "";
- this._9W1 = "";
- this._Gj2 = 0;
- this.volume = 1;
- this._Hj2 = 0;
- this.preload = !0;
- this._Ij2 = 1.0;
- this._Jj2 = 0;
- this._Kj2 = []
- }
- _Fj2.prototype._Lj2 = function(_4Z1) {
- this._Z2 = _4Z1._Z2;
- this._b3 = _4Z1._b3;
- this._aW1 = _4Z1._aW1;
- this._9W1 = _4Z1._9W1;
- this._Gj2 = _4Z1._Gj2;
- this.volume = _4Z1.volume;
- this._Hj2 = _4Z1._Hj2;
- this.preload = _4Z1.preload;
- this._Ij2 = 1.0;
- this._Mj2(this._Z2)
- };
- _Fj2.prototype._Mj2 = function(_MV1) {
- this._Jj2 = 0;
- this._Kj2 = [];
- if ((_yz == _yK1) || (_yz == _zz)) {
- _QS1 = 1;
- this._Kj2[0] = _HF[this._Z2]
- } else {
- if (_HF[this._Z2] != null) {
- for (var _H3 = 0; _H3 < _QS1; _H3++) {
- this._Kj2[_H3] = _HF[this._Z2].cloneNode(!0)
- }
- }
- }
- };
- var _Nj2 = !1;
- function _bW1(_lz, _Ch, _AF, _cz, _gC1) {
- _lz = _CF(_lz);
- if (_DF == !1) {
- return undefined
- }
- var _Oj2 = !1;
- var _EF;
- var index;
- index = _lz.indexOf(_AF);
- if (index >= 0) {
- _lz = _lz.substr(0, index)
- }
- if (_FF) {
- _AF = "ogg"
- } else if (_GF) {
- _AF = "mp3"
- } else {
- _AF = "ogg"
- }
- _Oj2 = !0;
- if (_Oj2) {
- _lz = _lz + "." + _AF;
- try {
- var _Pj2 = new Audio();
- _Pj2.URL = _lz;
- _Pj2._Ij2 = 1.0;
- _Pj2.autobuffer = !0;
- if (typeof _Pj2.loop == 'boolean') _Pj2.loop = !1;
- _Pj2.preload = 'auto';
- _Pj2._SV1 = !1;
- _Pj2._Qj2 = !1;
- var _Qj = document.createElement('source');
- _Qj.setAttribute("src", _lz);
- if (_AF == "ogg") {
- _Qj.setAttribute("type", 'audio/ogg');
- _Qj.setAttribute("codecs", 'vorbis')
- } else {
- _Qj.setAttribute("type", 'audio/mpeg')
- }
- _Pj2.setAttribute("networkState", 0);
- _Pj2.insertBefore(_Qj, null);
- document.body.appendChild(_Pj2);
- _HF[_Ch] = _Pj2;
- _Pj2.addEventListener('canplaythrough', _cz, !1);
- _Pj2.addEventListener('error', _gC1, !1);
- _Pj2.addEventListener("loadstart", _PV1, !1);
- _Pj2.addEventListener("suspend", _QV1, !1);
- _Pj2.addEventListener("stalled", _RV1, !1);
- _Pj2.addEventListener("stall", _RV1, !1);
- _Pj2.load()
- } catch(e) {
- if (_yz == _zK1 && _Nj2 == !1) {
- var _Rj2 = navigator;
- _Nj2 = !0;
- var _Sj2 = _Rj2.userAgent.indexOf("Windows");
- if (_Sj2 != -1) {
- alert("Audio Error: Please ensure that quicktime is installed")
- }
- }
- }
- }
- return _Ch
- }
- function _AV1() {
- this._X2 = [];
- this.length = 0
- }
- _AV1.prototype._MK = function(_NF) {
- if (this._X2[_NF]) {
- this._Tj2(_NF);
- this._X2[_NF] = undefined
- }
- };
- function _Uj2() {
- this._Qj2 = !1
- }
- _AV1.prototype._Vj2 = function(_NF) {
- try {
- var _Wj2 = this._X2[_NF];
- if (!_Wj2) return null;
- var _Xj2 = _Wj2._Kj2[this._X2[_NF]._Jj2];
- this._X2[_NF]._Jj2++;
- if (this._X2[_NF]._Jj2 >= _QS1) {
- this._X2[_NF]._Jj2 = 0
- }
- return _Xj2
- } catch(e) {
- debug("Sound buffer unavailable for sound: " + _NF)
- }
- return null
- };
- _AV1.prototype._Tj2 = function(_ce) {
- with(this) {
- var _Yj2 = this._X2[_ce];
- if (!_Yj2) return;
- _Yj2 = _Yj2._Kj2;
- for (var _H3 = 0; _H3 < _Yj2.length; _H3++) {
- _Wj2 = _Yj2[_H3];
- if (_Wj2 != null) {
- try {
- _Wj2.pause();
- _Wj2._Qj2 = !1
- } catch(_yF) {
- if (_vF) debug("Error stopping sound: " + this._X2[_ce]._Z2)
- }
- }
- }
- }
- };
- function _Zj2() {
- try {
- this.currentTime = 0
- } catch(_yF) {
- if (_vF) debug("Error setting current sound time: " + this._X2[_NF]._Z2)
- }
- this.play()
- }
- _AV1.prototype._Gh = function(_NF) {
- return this._X2[_NF]
- };
- _AV1.prototype._zg = function() {
- this._X2 = [];
- length = 0
- };
- _AV1.prototype._Wh = function(_4Z1) {
- with(this) {
- var _hZ1 = null;
- if (_4Z1 != null) {
- _hZ1 = new _Fj2();
- _hZ1._Lj2(_4Z1)
- }
- _X2[_X2.length] = _hZ1
- }
- };
- function _Iq() {
- this.left = 0;
- this.top = 0;
- this._q9 = 0;
- this.bottom = 0
- }
- _Iq.prototype._yh = function(_nG) {
- this.left = _nG.left;
- this._q9 = _nG._q9;
- this.top = _nG.top;
- this.bottom = _nG.bottom
- };
- function _0G() {
- this.__type = "[sprite]";
- this._Z2 = "sprite";
- this.width = 16;
- this.height = 16;
- this._Iy = new _Iq;
- this._03 = !0;
- this._13 = !0;
- this.preload = !0;
- this._3G = 0;
- this._4G = !1;
- this._23 = 0;
- this._33 = 0;
- this._5G = !1;
- this._P9 = 0;
- this._gG = 8;
- this._6G = !1;
- this._7G = !1;
- this._Q9 = [];
- this.__j2 = [];
- this._VF = [];
- this._8G = []
- }
- _0G.prototype._d52 = function() {
- return this._4G
- };
- _0G.prototype._mw1 = function() {
- return this._P9
- };
- _0G.prototype._9G = function() {
- var _0k2 = (this._33 * this._33);
- var _1k2 = (this._23 * this._23);
- var _2k2 = (this.width - this._23) * (this.width - this._23);
- var _3k2 = (this.height - this._33) * (this.height - this._33);
- var _4k2 = ~~ceil(sqrt(_1k2 + _0k2));
- var _5k2 = ~~ceil(sqrt(_2k2 + _0k2));
- var _6k2 = ~~ceil(sqrt(_1k2 + _3k2));
- var _7k2 = ~~ceil(sqrt(_2k2 + _3k2));
- this._gG = _S9(_4k2, _S9(_5k2, _S9(_6k2, _7k2)))
- };
- _0G.prototype._8k2 = function(_9k2, _tD, _uD) {
- try {
- if (_Ry._ak2 !== undefined) {
- var _bk2 = !0;
- var _ck2 = 0;
- var _dk2 = _Ry._ak2[_9k2];
- var _dk1 = new DataView(_dk2);
- if (_dk1 !== undefined) {
- var _ek2 = _dk1.getInt32(_ck2, _bk2);
- var _fk2 = (1 << 31);
- if ((_ek2 & _fk2) != 0) {
- _ek2 &= (~_fk2);
- _ck2 += 4
- }
- _ck2 += 4;
- var _gk2 = null;
- if (_ek2 > 0) {
- _gk2 = new Uint8Array(_dk2, _ck2, _ek2);
- _ck2 += ((_ek2 + 3) & ~3)
- }
- var _hk2 = _dk1.getUint32(_ck2, _bk2);
- _ck2 += 4;
- this._ik2 = [];
- for (var _H3 = 0; _H3 < _hk2; _H3++) {
- var type = _dk1.getInt32(_ck2, _bk2);
- _ck2 += 4;
- var id = _dk1.getInt32(_ck2, _bk2);
- _ck2 += 4;
- var _jk2 = null;
- if (type === _nC1) {
- _jk2 = new _wC1(type, id);
- _ck2 = _jk2._xC1(_dk1, _ck2, _bk2, this._ik2)
- } else if (type === _oC1) {
- _jk2 = new _OB1(type, id);
- _ck2 = _jk2._PB1(_dk2, _dk1, _ck2, _bk2, _gk2)
- } else {
- _jk2 = {
- type: _mC1,
- id: id
- }
- }
- this._ik2.push(_jk2)
- }
- this._q42 = new _BD1();
- _ck2 = this._q42._FD1(_dk1, _ck2, _bk2);
- if (this._q42._ED1._GD1 > 0) {
- _ck2 = this._kk2(_dk1, _ck2, _bk2)
- } else {
- this.width = this._q42._r9;
- this.height = this._q42._t9;
- this._4G = !1
- }
- this._3G = 0;
- this.preload = !0;
- if (!this._4G) {
- this._Iy.left = this._q42._p9;
- this._Iy._q9 = this._q42._r9;
- this._Iy.top = this._q42._s9;
- this._Iy.bottom = this._q42._t9;
- this._23 = _tD;
- this._33 = _uD
- }
- this._9G();
- this._lk2()
- }
- }
- } catch(e) {
- debug("Cannot build SWF data " + e.message)
- }
- };
- _0G.prototype._kk2 = function(_QB1, _RB1, _SB1) {
- if (!0 != this._4G) {
- return
- }
- this._Q9 = [];
- this.width = this._q42._ED1._HD1;
- this.height = this._q42._ED1._ID1;
- var _GD1 = this._q42._ED1._GD1;
- for (var _H3 = 0; _H3 < _GD1; _H3++) {
- var _mk2 = _QB1.getInt32(_RB1, _SB1);
- _RB1 += 4;
- var _nk2 = _RB1;
- var _ok2 = 0;
- var _Gm1 = [];
- for (var __9 = 0; __9 < _mk2; __9++) {
- var _pk2 = _QB1.getUint8(_RB1, _SB1);
- _RB1 += 1;
- var _qk2 = ((_pk2) & 0x80) != 0 ? !0 : !1;
- var _rk2 = ((_pk2) & 0x7f) + 1;
- for (var _eT = 0; _eT < _rk2; _eT++) {
- _Gm1[_ok2++] = _qk2
- }
- }
- this._Q9[_H3] = _Gm1;
- _RB1 = _nk2 + ((_mk2 + 3) & ~3)
- }
- this._6G = !0;
- return _RB1
- };
- _0G.prototype._lk2 = function() {
- this._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) {
- _s22(this._ik2, this._q42, _U8, this._23, this._33, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd)
- };
- this._0I = function(_sk2, _V8, _W8, _Gd) {
- _s22(this._ik2, this._q42, _sk2, this._23, this._33, _V8, _W8, 1.0, 1.0, 0.0, 0xffffffff, _Gd)
- }
- };
- _0G.prototype._tk2 = function(_uk2) {
- if (_uk2 >= 0) {
- if (_Ry._by1 !== undefined) {
- var _oy1 = _Ry._by1[_uk2];
- this._o42 = new _oa();
- this._o42._Ia(_oy1._0y, _oy1._7B1, _oy1.width, _oy1.height)
- }
- this._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) {
- this._o42._6b(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd)
- };
- this._0I = function(_U8, _V8, _W8, _Gd) {
- this._o42._6b(_U8, _V8, _W8, 1, 1, 0, 0xffffff, _Gd)
- }
- }
- };
- function _vk2(_wk2, _Ym1) {
- if (_wk2._8G[_Ym1] != null) {
- var _F9 = [];
- var src = 0;
- var _6x = 0;
- var _mk;
- while (src < _wk2._8G[_Ym1].length) {
- var _xk2 = _wk2._8G[_Ym1][src++];
- if (_xk2 & 0x80) {
- _xk2 = (_xk2 & 0x7f) + 1;
- _mk = _wk2._8G[_Ym1][src++];
- for (var _xb = 0; _xb < _xk2; _xb++) {
- _F9[_6x++] = _mk
- }
- } else {
- _xk2++;
- for (var _xb = 0; _xb < _xk2; _xb++) {
- _F9[_6x++] = _wk2._8G[_Ym1][src++]
- }
- }
- }
- }
- _wk2._8G[_Ym1] = _F9
- }
- function _FW1(_yk2) {
- var _Qy = new _0G();
- if (_yk2._Z2 !== undefined) _Qy._Z2 = _yk2._Z2;
- if (_yk2.width !== undefined) _Qy.width = _yk2.width;
- if (_yk2.height !== undefined) _Qy.height = _yk2.height;
- if (_yk2._43 !== undefined) _Qy._Iy.left = _yk2._43;
- if (_yk2._53 !== undefined) _Qy._Iy._q9 = _yk2._53;
- if (_yk2._63 !== undefined) _Qy._Iy.top = _yk2._63;
- if (_yk2._73 !== undefined) _Qy._Iy.bottom = _yk2._73;
- if (_yk2._03 !== undefined) _Qy._03 = _yk2._03;
- if (_yk2._13 !== undefined) _Qy._13 = _yk2._13;
- if (_yk2.preload !== undefined) _Qy.preload = _yk2.preload;
- if (_yk2.__2 !== undefined) _Qy._3G = _yk2.__2;
- if (_yk2._zk2 !== undefined) _Qy._4G = _yk2._zk2;
- if (_yk2._23 !== undefined) _Qy._23 = _yk2._23;
- if (_yk2._33 !== undefined) _Qy._33 = _yk2._33;
- _Qy._8G = null;
- if (_yk2._Ak2 !== undefined) {
- _Qy._8k2(_yk2._Ak2, _Qy._23, _Qy._33)
- }
- if (_yk2._Bk2 !== undefined) {
- _Qy._tk2(_yk2._Bk2)
- }
- if (_yk2._8G !== undefined) _Qy._8G = _yk2._8G;
- _Qy._VF = [];
- for (var _H3 = _yk2._83.length - 1; _H3 >= 0; _H3--) {
- _Qy._VF[_H3] = _yk2._83[_H3]
- }
- _Qy._P9 = _Qy._VF.length;
- _Qy._9G();
- for (var _H3 = 0; _H3 < _Qy._VF.length; _H3++) {
- _Qy._VF[_H3] = _5Z1(_Qy._VF[_H3]);
- if (_Qy._VF[_H3] != null) {
- if (_Qy._VF[_H3]._u5 == 0) _Qy._VF[_H3]._u5 = 1;
- if (_Qy._VF[_H3]._v5 == 0) _Qy._VF[_H3]._v5 = 1
- }
- }
- if (_Qy._8G) {
- for (var _H3 = 0; _H3 < _yk2._8G.length; _H3++) {
- if (!_yk2._Ck2) _vk2(_Qy, _H3);
- _Qy._6G = !0;
- var _x3 = _Qy.width * _Qy.height;
- var _Gm1 = [];
- _Gm1[_x3 - 1] = 0;
- var _Dk2 = ((_Qy.width + 7) >> 3);
- var _T52 = 0;
- for (var _g3 = 0; _g3 < _Qy.height; ++_g3, _T52 += _Dk2) {
- var _F9 = 0x80;
- var _Ek2 = _T52;
- for (var _f3 = 0; _f3 < _Qy.width; ++_f3, _F9 >>= 1) {
- if (_F9 == 0) {
- _F9 = 0x80; ++_Ek2
- }
- _Gm1[_f3 + (_g3 * _Qy.width)] = ((_Qy._8G[_H3][_Ek2] & _F9) != 0)
- }
- }
- _Qy._Q9[_H3] = _Gm1
- }
- }
- _yk2._Ck2 = !0;
- return _Qy
- }
- _0G.prototype._0I = function(_sk2, _V8, _W8, _Gd) {
- if (this._P9 <= 0) return;
- var _gG = this._gG;
- if (((_gH.top - _W8) <= _gG) && ((_W8 - _gH.bottom) <= _gG) && ((_gH.left - _V8) <= _gG) && ((_V8 - _gH._q9) <= _gG)) {
- _sk2 = (~~_sk2) % this._P9;
- if (_sk2 < 0) _sk2 = _sk2 + this._P9;
- var _Kj = this._VF[_sk2];
- if ((_Kj._J3 == _Kj._u5) && (_Kj._K3 == _Kj._v5)) {
- _T12(_Kj, _V8 - this._23, _W8 - this._33, _Gd)
- } else {
- var _1b = 0xffffffff;
- _722(_Kj, 0, 0, _V8 - this._23, _W8 - this._33, 1, 1, 0, _1b, _1b, _1b, _1b, 1)
- }
- }
- };
- _0G.prototype._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) {
- if (this._P9 <= 0) return;
- var _Fk2 = abs(this._gG * __l);
- var _Gk2 = abs(this._gG * _0m);
- var _gG;
- if (_Fk2 > _Gk2) {
- _gG = _Fk2
- } else {
- _gG = _Gk2
- }
- if (((_gH.top - _W8) <= _gG) && ((_W8 - _gH.bottom) <= _gG) && ((_gH.left - _V8) <= _gG) && ((_V8 - _gH._q9) <= _gG)) {
- _U8 = (~~_U8) % this._P9;
- if (_U8 < 0) _U8 += this._P9;
- _Z8 = _5V1(_Z8, 360.0);
- _722(this._VF[_U8], this._23, this._33, _V8, _W8, __l, _0m, _Z8 * Math.PI / 180.0, _Cd, undefined, undefined, undefined, _Gd)
- }
- };
- _0G.prototype._r52 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _V8, _W8) {
- var _0a, _2a;
- if (!this._6G) return ! 0;
- if (this._P9 <= 0) return ! 1;
- _Hk2 = _Hk2 % this._Q9.length;
- if (_Hk2 < 0) _Hk2 = _Hk2 + this._Q9.length;
- if (Math.abs(_Z8) < 0.0001) {
- _0a = Math.floor((_V8 - _aa) / _X8 + this._23);
- _2a = Math.floor((_W8 - _ba) / _Y8 + this._33)
- } else {
- var _la = Math.sin( - _Z8 * Math.PI / 180.0);
- var _ma = Math.cos( - _Z8 * Math.PI / 180.0);
- _0a = Math.floor((_ma * (_V8 - _aa) + _la * (_W8 - _ba)) / _X8 + this._23);
- _2a = Math.floor((_ma * (_W8 - _ba) - _la * (_V8 - _aa)) / _Y8 + this._33)
- }
- if ((_0a < 0) || (_0a >= this.width)) return ! 1;
- if ((_2a < 0) || (_2a >= this.height)) return ! 1;
- return this._Q9[_Hk2][_0a + (_2a * this.width)];
- };
- _0G.prototype._t52 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _fa) {
- if (!this._6G) return ! 0;
- if (this._P9 <= 0) return ! 1;
- _Hk2 = _Hk2 % this._Q9.length;
- if (_Hk2 < 0) {
- _Hk2 = _Hk2 + this._Q9.length
- }
- var _R9 = _S9(_Ik2.left, _fa.left);
- var _T9 = _U9(_Ik2._q9, _fa._q9);
- var _V9 = _S9(_Ik2.top, _fa.top);
- var _W9 = _U9(_Ik2.bottom, _fa.bottom);
- if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(this._0b) < 0.0001)) {
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = _H3 - _aa + this._23;
- var _2a = __9 - _ba + this._33;
- if ((_0a < 0) || (_0a >= this._J3)) continue;
- if ((_2a < 0) || (_2a >= this._K3)) continue;
- if (this._Q9[_Hk2][_0a + (_2a * this._J3)] == !0) return ! 0
- }
- }
- } else {
- var _la = Math.sin( - _Z8 * _Y9 / 180.0);
- var _ma = Math.cos( - _Z8 * _Y9 / 180.0);
- var _Jk2 = 1.0 / _X8;
- var _Kk2 = 1.0 / _Y8;
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = Math.floor((_ma * (_H3 - _aa) + _la * (__9 - _ba)) * _Jk2 + this._23);
- var _2a = Math.floor((_ma * (__9 - _ba) - _la * (_H3 - _aa)) * _Kk2 + this._33);
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0;
- }
- }
- }
- return ! 1
- };
- _0G.prototype._Lk2 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _fa) {
- var _H3, __9;
- if (!this._6G) return ! 0;
- if (_Mk2 > 3) {
- _Mk2 = (1 + _Mk2) - 1
- }
- if (this._P9 <= 0) return ! 1;
- _Hk2 = _Hk2 % this._Q9.length;
- if (_Hk2 < 0) _Hk2 = _Hk2 + this._Q9.length;
- var _R9 = _S9(_Ik2.left, _fa.left);
- var _T9 = _U9(_Ik2._q9, _fa._q9);
- var _V9 = _S9(_Ik2.top, _fa.top);
- var _W9 = _U9(_Ik2.bottom, _fa.bottom);
- var _ga = ((_fa._q9 + _fa.left) / 2);
- var _ha = ((_fa.bottom + _fa.top) / 2);
- var _ia = 1.0 / ((_fa._q9 - _fa.left) / 2);
- var _ja = 1.0 / ((_fa.bottom - _fa.top) / 2);
- var _Nk2 = this._Q9[_Hk2];
- var _uj2;
- if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(_Z8) < 0.0001)) {
- for (_H3 = _R9; _H3 <= _T9; _H3++) {
- _uj2 = (_H3 - _ga) * _ia;
- var _Ok2 = _uj2 * _uj2;
- var _0a = _H3 - _aa + this._23;
- if ((_0a < 0) || (_0a >= this.width)) continue;
- for (__9 = _V9; __9 <= _W9; __9++) {
- _uj2 = (__9 - _ha) * _ja;
- if (_Ok2 + (_uj2 * _uj2) > 1) continue;
- var _2a = __9 - _ba + this._33;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (_Nk2[_0a + (_2a * this.width)]) return ! 0
- }
- }
- } else {
- var _la = Math.sin( - _Z8 * Math.PI / 180.0);
- var _ma = Math.sin( - _Z8 * Math.PI / 180.0);
- var _Jk2 = 1.0 / _X8;
- var _Kk2 = 1.0 / _Y8;
- for (_H3 = _R9; _H3 <= _T9; _H3++) {
- var _Pk2 = (_H3 - _aa);
- var _Qk2 = _ma * _Pk2;
- var _Rk2 = _la * _Pk2;
- var _uj2 = (_H3 - _ga) * _ia;
- var _Sk2 = _uj2 * _uj2;
- for (__9 = _V9; __9 <= _W9; __9++) {
- var _Tk2 = (__9 - _ha) * _ja;
- if ((_Sk2 + (_Tk2 * _Tk2)) > 1) continue;
- var _Uk2 = __9 - _ba;
- var _0a = ~~ ((_Qk2 + _la * _Uk2 * _Jk2) + this._23);
- if ((_0a < 0) || (_0a >= this.width)) continue;
- var _2a = ~~ ((_ma * _Uk2 - _Rk2 * _Kk2) + this._33);
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (_Nk2[_0a + (_2a * this.width)]) return ! 0
- }
- }
- }
- return ! 1
- };
- _0G.prototype._E52 = function(_Hk2, _Ik2, _aa, _ba, _Vk2, _Wk2, _Xk2, _Yk2, _Zk2, _O9, _x9, _y9, _z9, _A9, _B9) {
- if (_Yk2 == null) return ! 1;
- if (this._P9 <= 0) return ! 1;
- if (_Yk2._P9 <= 0) return ! 1;
- if (this._Q9.length > 0) _Hk2 = _Hk2 % this._Q9.length;
- if (_Hk2 < 0) {
- _Hk2 = _Hk2 + this._Q9.length;
- }
- if (_Yk2._Q9.length > 0) _Zk2 = _Zk2 % _Yk2._Q9.length;
- if (_Zk2 < 0) {
- _Zk2 = _Zk2 + _Yk2._Q9.length
- }
- _Vk2 = 1.0 / _Vk2;
- _Wk2 = 1.0 / _Wk2;
- _z9 = 1.0 / _z9;
- _A9 = 1.0 / _A9;
- var _R9 = _S9(_Ik2.left, _O9.left);
- var _T9 = _U9(_Ik2._q9, _O9._q9);
- var _V9 = _S9(_Ik2.top, _O9.top);
- var _W9 = _U9(_Ik2.bottom, _O9.bottom);
- if ((_Vk2 == 1) && (_z9 == 1) && (_Wk2 == 1) && (_A9 == 1) && (_Xk2 == 0) && (_B9 == 0)) {
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = _H3 - _aa + this._23;
- var _2a = __9 - _ba + this._33;
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._6G) {
- if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue
- }
- _0a = _H3 - _x9 + _Yk2._23;
- _2a = __9 - _y9 + _Yk2._33;
- if ((_0a < 0) || (_0a >= _Yk2.width)) continue;
- if ((_2a < 0) || (_2a >= _Yk2.height)) continue;
- if (_Yk2._6G) {
- if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue
- }
- return ! 0
- }
- }
- } else if ((_Xk2 == 0) && (_B9 == 0)) {
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = Math.floor(((_H3 - _aa) * _Vk2 + this._23));
- var _2a = Math.floor(((__9 - _ba) * _Wk2 + this._33));
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._6G) {
- if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue
- }
- _0a = Math.floor(((_H3 - _x9) * _z9 + _Yk2._23));
- _2a = Math.floor(((__9 - _y9) * _A9 + _Yk2._33));
- if ((_0a < 0) || (_0a >= _Yk2.width)) continue;
- if ((_2a < 0) || (_2a >= _Yk2.height)) continue;
- if (_Yk2._6G) {
- if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue
- }
- return ! 0
- }
- }
- } else {
- var __k2 = Math.sin( - _Xk2 * _Y9 / 180);
- var _0l2 = Math.cos( - _Xk2 * _Y9 / 180);
- var _X9 = Math.sin( - _B9 * _Y9 / 180);
- var _Z9 = Math.cos( - _B9 * _Y9 / 180);
- for (var _H3 = _R9; _H3 <= _T9; _H3++) {
- for (var __9 = _V9; __9 <= _W9; __9++) {
- var _0a = Math.floor(((_0l2 * (_H3 - _aa) + __k2 * (__9 - _ba)) * _Vk2 + this._23));
- var _2a = Math.floor(((_0l2 * (__9 - _ba) - __k2 * (_H3 - _aa)) * _Wk2 + this._33));
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._6G) {
- if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue
- }
- _0a = Math.floor(((_Z9 * (_H3 - _x9) + _X9 * (__9 - _y9)) * _z9 + _Yk2._23));
- _2a = Math.floor(((_Z9 * (__9 - _y9) - _X9 * (_H3 - _x9)) * _A9 + _Yk2._33));
- if ((_0a < 0) || (_0a >= _Yk2.width)) continue;
- if ((_2a < 0) || (_2a >= _Yk2.height)) continue;
- if (_Yk2._6G) {
- if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue
- }
- return ! 0
- }
- }
- }
- return ! 1
- };
- _0G.prototype._1l2 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _2l2, _3l2, _4l2, _5l2) {
- if (!this._6G) {
- return ! 0
- }
- if (this._P9 <= 0) {
- return ! 1
- }
- _Hk2 = _Hk2 % this._Q9.length;
- if (_Hk2 < 0) {
- _Hk2 = _Hk2 + this._Q9.length
- }
- if ((_2l2 == _4l2) || (_3l2 == _5l2)) {
- var _6l2 = new _Iq();
- _6l2.left = _2l2;
- _6l2.top = _U9(_3l2, _5l2);
- _6l2._q9 = _4l2;
- _6l2.bottom = _S9(_3l2, _5l2);
- return this._t52(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _6l2)
- }
- var _la = Math.sin( - _Z8 * Math.PI / 180.0);
- var _ma = Math.cos( - _Z8 * Math.PI / 180.0);
- if (Math.abs(_4l2 - _2l2) >= Math.abs(_5l2 - _3l2)) {
- if (_4l2 < _2l2) {
- var _cf = _4l2;
- _4l2 = _2l2;
- _2l2 = _Dh;
- _cf = _5l2;
- _5l2 = _7l2;
- _3l2 = _cf
- }
- var _Cw = (_5l2 - _3l2) / (_4l2 - _2l2);
- for (var _H3 = _S9(_Ik2.left, _2l2); _H3 <= _U9(_Ik2._q9, _4l2); _H3++) {
- var _0a = Math.floor((_ma * (_H3 - _aa) + _la * (_3l2 + (_H3 - _2l2) * _Cw - _ba)) / _X8 + this._23);
- var _2a = Math.floor((_ma * (_3l2 + (_H3 - _2l2) * _Cw - _ba) - _la * (_H3 - _aa)) / _Y8 + this._33);
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0
- }
- } else {
- if (_5l2 < _3l2) {
- var _cf = _5l2;
- _5l2 = _3l2;
- _3l2 = _cf;
- _cf = _4l2;
- _4l2 = _2l2;
- _2l2 = _cf
- }
- var _Cw = (_4l2 - _2l2) / (_5l2 - _3l2);
- for (var _H3 = _S9(_Ik2.top, _3l2); _H3 <= _U9(_Ik2.bottom, _5l2); _H3++) {
- var _0a = Math.floor((_ma * (_2l2 + (_H3 - _3l2) * _Cw - _aa) + _la * (_H3 - _ba)) / _X8 + this._23);
- var _2a = Math.floor((_ma * (_H3 - _ba) - _la * (_2l2 + (_H3 - _3l2) * _Cw - _aa)) / _Y8 + this._33);
- if ((_0a < 0) || (_0a >= this.width)) continue;
- if ((_2a < 0) || (_2a >= this.height)) continue;
- if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0;
- }
- }
- return ! 1
- };
- _0G.prototype._xG = function(_U8) {
- if (this._P9 <= 0) {
- return null
- }
- _U8 = _U8 % this._P9;
- if (_U8 < 0) {
- _U8 = _U8 + this._P9
- }
- if (this._VF) {
- return this._VF[_U8]
- }
- return null
- };
- function _yV1() {
- this._Y2 = []
- }
- _yV1.prototype._2G = function(_wk2) {
- var _C9 = this._Y2.length;
- this._Y2[_C9] = _wk2;
- return _C9
- };
- _yV1.prototype._352 = function(_8l2) {
- if (_8l2 < 0 || _8l2 > this._Y2.length) return null;
- var _Ne2 = this._Y2[_8l2];
- if ((_Ne2._q42 !== null) && (_Ne2._q42 !== undefined)) {
- return _Ne2._q42._DD1
- }
- return _Ne2._VF.length
- };
- _yV1.prototype._Gh = function(_8l2) {
- if (_8l2 < 0 || _8l2 > this._Y2.length) return null;
- return this._Y2[_8l2]
- };
- _yV1.prototype._MK = function(_Ch) {
- if (this._Y2[_Ch] != undefined) this._Y2[_Ch] = undefined
- };
- _yV1.prototype._3W1 = function(_bk1) {
- try {
- var _9l2 = {
- data: new Uint8Array(_bk1),
- _L3: 0
- };
- function _al2(_bl2) {
- var _cl2 = ";";
- var _zi = "";
- while (_9l2._L3 < _bl2.data.byteLength) {
- if (_bl2.data[_9l2._L3] === _cl2.charCodeAt(0)) {
- _9l2._L3++;
- break
- }
- _zi = _zi + String.fromCharCode(_bl2.data[_9l2._L3]);
- _9l2._L3++
- }
- return _zi
- };
- var type = _al2(_9l2);
- if (type == "rswf") {
- var version = _al2(_9l2),
- _dl2 = version.split('.', 3);
- _vC1._LM = parseInt(_dl2[0]);
- _vC1._MM = parseInt(_dl2[1]);
- _vC1.version = parseInt(_dl2[2]);
- var _el2 = parseInt(_al2(_9l2)),
- _fl2 = parseInt(_al2(_9l2));
- this._ak2 = [];
- var _je = _el2;
- for (var _H3 = 0; _H3 < _fl2; _H3++) {
- var _gl2 = parseInt(_al2(_9l2));
- this._ak2[_H3] = _bk1.slice(_je, _je + _gl2);
- _je += _gl2
- }
- }
- } catch(e) {
- debug("Cannot parse SWF data " + e.message)
- }
- };
- _yV1.prototype._1W1 = function(_hl2) {
- function _il2(_kb, _W9) {
- var _Vg2 = (_kb >> 16) & 0xffff,
- _UI1 = _kb & 0xffff;
- var _7E1 = (_W9 >> 16) & 0xffff,
- _1h1 = _W9 & 0xffff;
- var _ri = ((_Vg2 * _1h1) + (_UI1 * _7E1)) & 0xffff;
- return ((_ri << 16) >>> 0) + (_UI1 * _1h1)
- };
- function _jl2(_bk1) {
- var _kl2 = Math.pow(2, 32);
- var _ll2 = 6 * 7;
- var _ml2 = "";
- for (var __9 = 0; __9 < _bk1.length; __9++) {
- _ml2 += String.fromCharCode((_bk1.charCodeAt(__9) - (_ll2 & 0xff)) & 0xff);
- _ll2 = _il2(_ll2, (_ll2 + 1) % _kl2) % _kl2
- }
- return _ml2
- };
- this._by1 = [];
- try {
- var _nl2 = _hl2.split(';', 4);
- if (_nl2[0] == "skel") {
- var version = _nl2[1];
- var _je = parseInt(_nl2[2]);
- var _ol2 = parseInt(_nl2[3]);
- var _pl2 = 4 + _ol2;
- _nl2 = _hl2.split(';', _pl2);
- for (var _H3 = 0; _H3 < _ol2; _H3++) {
- var _ql2 = parseInt(_nl2[4 + _H3]);
- var _rl2 = _hl2.substr(_je, _ql2);
- var _sl2 = _rl2.split(';', 4);
- var _Dk = 0;
- var _tl2 = parseInt(_sl2[_Dk++]);
- var _ul2 = parseInt(_sl2[_Dk++]);
- var _vl2 = parseInt(_sl2[_Dk++]);
- var _wl2 = _sl2[_Dk].substr(0, _tl2);
- var _xl2 = _sl2[_Dk].substr(_tl2, _sl2[_Dk].length - _tl2);
- this._by1.push({
- _0y: _jl2(_At(_wl2)),
- _7B1: _jl2(_At(_xl2)),
- width: _ul2,
- height: _vl2
- });
- _je += _ql2
- }
- }
- } catch(e) {
- debug("Cannot parse Spine data " + e.message)
- }
- };
- function _yl2() {
- this.__type = "[Tile]";
- this._f3 = 0;
- this._g3 = 0;
- this.index = 0;
- this._qi2 = 0;
- this._ri2 = 0;
- this._J3 = 0;
- this._K3 = 0;
- this._R3 = 0.0;
- this.id = _ST1++;
- this._dZ1 = 1.0;
- this._eZ1 = 1.0;
- this._iX1 = 0xffffff;
- this.alpha = 1.0;
- this._Q3 = !0;
- this._zl2 = !1
- }
- _yl2.prototype._Al2 = function() {
- var _hG = _Nj._Xj(this.index);
- if (_hG != null) {
- var _Kj = _hG._Mj;
- if (_Kj._y5 >= _Ha.length) return;
- if (!_Ha[_Kj._y5].complete) return;
- if (this._qi2 < 0) {
- this._J3 += this._qi2;
- this._qi2 = 0
- }
- if (this._ri2 < 0) {
- this._K3 += this._ri2;
- this._ri2 = 0
- }
- if (_Kj != null) {
- if ((this._qi2 + this._J3) >= _Kj._J3) {
- this._J3 = _Kj._J3 - this._qi2
- }
- if ((this._ri2 + this._K3) >= _Kj._K3) {
- this._K3 = _Kj._K3 - this._ri2;
- }
- }
- }
- };
- function _vi2(_Bl2) {
- var _Eh2 = new _yl2();
- if (_Bl2._f3 != undefined) _Eh2._f3 = _Bl2._f3;
- if (_Bl2._g3 != undefined) _Eh2._g3 = _Bl2._g3;
- if (_Bl2.index != undefined) _Eh2.index = _Bl2.index;
- if (_Bl2._qi2 != undefined) _Eh2._qi2 = _Bl2._qi2;
- if (_Bl2._ri2 != undefined) _Eh2._ri2 = _Bl2._ri2;
- if (_Bl2._J3 != undefined) _Eh2._J3 = _Bl2._J3;
- if (_Bl2._K3 != undefined) _Eh2._K3 = _Bl2._K3;
- if (_Bl2._R3 != undefined) _Eh2._R3 = _Bl2._R3;
- if (_Bl2.id != undefined) _Eh2.id = _Bl2.id;
- if (_Bl2._E3 != undefined) _Eh2._dZ1 = _Bl2._E3;
- if (_Bl2._F3 != undefined) _Eh2._eZ1 = _Bl2._F3;
- if (_Bl2._b5 != undefined) {
- _Eh2._iX1 = (_Bl2._b5 & 0xffffff);
- _Eh2.alpha = ((_Bl2._b5 >> 24) & 0xff) / 255.0
- }
- _Eh2._Al2();
- if (_ST1 < _Bl2.id) _ST1 = _Bl2.id + 1;
- return _Eh2
- }
- _yl2.prototype._6b = function() {
- if (!this._Q3) return ! 1;
- var _hG = _Nj._Xj(this.index);
- if (_hG != null) {
- var _Kj = _hG._Mj;
- if (_Kj._y5 >= _Ha.length) return;
- if (!_Ha[_Kj._y5].complete) return;
- var _W02 = _Kj._J3 / _Kj._w5;
- var _X02 = _Kj._K3 / _Kj._x5;
- if (!_sa) {
- _yb.globalAlpha = this.alpha;
- if (this._iX1 != 0xffffff) {
- _d12 = _Bb(_Kj, this._iX1);
- if (this._dZ1 <= 0 || this._eZ1 <= 0) {
- _n12(this._f3, this._g3, this._dZ1, this._eZ1, 0.0);
- _yb._UF(_d12, (this._qi2 * _W02), (this._ri2 * _X02), this._J3 * _W02, this._K3 * _X02, 0, 0, this._J3, this._K3);
- _o12()
- } else {
- _yb._UF(_d12, (this._qi2 * _W02), (this._ri2 * _X02), (this._J3 * _W02), (this._K3 * _X02), this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1)
- }
- } else {
- var _ho1 = _Ha[_Kj._y5];
- if (this._dZ1 <= 0 || this._eZ1 <= 0) {
- _n12(this._f3, this._g3, this._dZ1, this._eZ1, 0.0);
- _yb._UF(_ho1, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _X02, 0, 0, this._J3, this._K3);
- _o12()
- } else {
- _yb._UF(_ho1, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _X02, this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1);
- }
- }
- } else {
- var _1b = this._iX1 | ((this.alpha * 255) << 24);
- _yb._UF(_Kj, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _W02, this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1, _1b)
- }
- }
- };
- function _Cl2(_4Z1) {
- this.__type = "[Timeline]";
- if ((_4Z1 != null) && (_4Z1 != undefined)) {
- this._Z2 = _4Z1._Z2;
- this._rt = _4Z1._rt
- } else {
- this._Z2 = "";
- this._rt = []
- }
- }
- _Cl2.prototype._MI1 = function(_Dl2) {
- if (this._rt.length == 0) {
- return 0
- }
- if (_Dl2 > this._rt[this._rt.length - 1]._El2) {
- return this._rt.length
- }
- for (var _H3 = 0; _H3 < this._rt.length; _H3++) {
- if (this._rt[_H3]._El2 >= _Dl2) {
- return _H3
- }
- }
- return this._rt.length
- };
- _Cl2.prototype._QI1 = function(_Dl2) {
- if (this._rt.length == 0) {
- return 0
- }
- if (_Dl2 < this._rt[0]._El2) {
- return - 1
- }
- for (var _H3 = this._rt.length - 1; _H3 >= 0; _H3--) {
- if (this._rt[_H3]._El2 <= _Dl2) {
- return _H3
- }
- }
- return - 1
- };
- _Cl2.prototype._PI1 = function() {
- return this._rt[this._rt.length - 1]._El2
- };
- function _DV1() {
- this._M3 = []
- }
- _DV1.prototype._Wh = function(_4Z1) {
- var _hZ1 = null;
- if (_4Z1 != null) {
- _hZ1 = new _Cl2(_4Z1)
- }
- this._M3[this._M3.length] = _hZ1;
- };
- _DV1.prototype._Gh = function(_U8) {
- if ((_U8 < 0) || (_U8 >= this._M3.length)) {
- return undefined
- }
- return this._M3[_U8]
- };
- _DV1.prototype._zg = function(_U8) {
- if ((_U8 >= 0) || (_U8 < this._M3.length)) {
- this._M3[_U8]._rt._zg()
- }
- };
- _DV1.prototype._MK = function(_U8) {
- if ((_U8 >= 0) || (_U8 < this._M3.length)) {
- this._M3[_U8] = null
- }
- };
- function _uW1(_Fl2) {
- if (!_Fl2) {
- this._3i = []
- } else {
- this._3i = _Fl2
- }
- }
- _uW1.prototype._Gh = function(_NF) {
- return this._3i[_NF]
- };
- _uW1.prototype._2Z1 = function(_Gl2) {
- for (var _H3 = 1; _H3 < this._3i.length; _H3++) {
- var _ae2 = this._3i[_H3];
- if (_ae2._Hl2 == _Gl2) {
- _dy._g9(_4L1, _H3)
- }
- }
- };
- function _Il2() {
- _nc("vertex_format_begin");
- }
- function _Jl2() {
- _nc("vertex_format_end")
- }
- function _Kl2() {
- _nc("vertex_format_add_position")
- }
- function _Ll2() {
- _nc("vertex_format_add_position_3d")
- }
- function _Ml2() {
- _nc("vertex_format_add_colour")
- }
- function _Nl2() {
- _nc("vertex_format_add_normal")
- }
- function _Ol2() {
- _nc("vertex_format_add_textcoord")
- }
- function _Pl2(type, _he) {
- _nc("vertex_format_add_custom")
- }
- var _Ql2 = null;
- function _Rl2() {
- _Il2 = _Sl2;
- _Jl2 = _Tl2;
- _Kl2 = _Ul2;
- _Ll2 = _Vl2;
- _Ml2 = _Wl2;
- _Nl2 = _Xl2;
- _Ol2 = _Yl2;
- _Pl2 = _Zl2
- }
- function _Sl2() {
- if (_Ql2 != null) {
- debug("ERROR vertex_format_begin: Vertex format is already under construction")
- } else {
- _Ql2 = new _Oh1()
- }
- }
- function _Ul2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_position: No vertex format is under construction")
- } else {
- _Ql2._Yh1()
- }
- }
- function _Vl2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_position_3d: No vertex format is under construction")
- } else {
- _Ql2._2i1()
- }
- }
- function _Wl2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_colour: No vertex format is under construction")
- } else {
- _Ql2._Zh1()
- }
- }
- function _Xl2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_normal: No vertex format is under construction")
- } else {
- _Ql2._3i1()
- }
- }
- function _Yl2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_textcoord: No vertex format is under construction");
- } else {
- _Ql2.__h1()
- }
- }
- function _Zl2(_ce, _be) {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_add_normal: No vertex format is under construction")
- } else {
- _Ql2._oo1(_ce, _be)
- }
- }
- function _Tl2() {
- if (_Ql2 == null) {
- debug("ERROR vertex_format_end: No vertex format under construction");
- return - 1
- }
- var __l2 = _sa._4i1(_Ql2);
- _Ql2 = null;
- return __l2
- }
- function _WU1() {
- this.__type = "[View]";
- this._Q3 = !1;
- this._jH = 0;
- this._kH = 0;
- this._lH = 640;
- this._mH = 480;
- this._nH = 0;
- this._oH = 0;
- this._pH = 640;
- this._qH = 480;
- this._0b = 0;
- this._Qg = 0;
- this._Sg = 0;
- this._Rg = 0;
- this._Tg = 0;
- this._rH = 0;
- this._sH = 0;
- this._4j2 = 1;
- this._5j2 = 1;
- this._mi2 = 32;
- this._ni2 = 32;
- this._H7 = -1;
- this._G7 = -1;
- this._Wi = -1;
- this._Ni2 = -1
- }
- _WU1.prototype._yh = function(_zh) {
- this._Q3 = _zh._Q3;
- this._jH = _zh._jH;
- this._kH = _zh._kH;
- this._lH = _zh._lH;
- this._mH = _zh._mH;
- this._nH = _zh._nH;
- this._oH = _zh._oH;
- this._pH = _zh._pH;
- this._qH = _zh._qH;
- this._0b = _zh._0b;
- this._Qg = _zh._Qg;
- this._Sg = _zh._Sg;
- this._Rg = _zh._Rg;
- this._Tg = _zh._Tg;
- this._rH = _zh._rH;
- this._sH = _zh._sH;
- this._4j2 = _zh._4j2;
- this._5j2 = _zh._5j2;
- this._mi2 = _zh._mi2;
- this._ni2 = _zh._ni2;
- this._H7 = _zh._H7;
- this._G7 = _zh._G7;
- this._Wi = _zh._Wi;
- this._Ni2 = _zh._Ni2
- };
- _WU1.prototype._Ug = function(_V8) {
- return ((_V8 - _Pg.left - this._Qg) / this._4j2) + this._jH
- };
- _WU1.prototype._Vg = function(_W8) {
- return ((_W8 - _Pg.top - this._Sg) / this._5j2) + this._kH
- };
- function _xi2(_0m2) {
- _Fn = new _WU1();
- if (_0m2._Q3 != undefined) _Fn._Q3 = _0m2._Q3;
- if (_0m2._ii2 != undefined) _Fn._jH = _0m2._ii2;
- if (_0m2._ji2 != undefined) _Fn._kH = _0m2._ji2;
- if (_0m2._f5 != undefined) _Fn._lH = _0m2._f5;
- if (_0m2._o5 != undefined) _Fn._mH = _0m2._o5;
- if (_0m2._ki2 != undefined) _Fn._nH = _0m2._ki2;
- if (_0m2._li2 != undefined) _Fn._oH = _0m2._li2;
- if (_0m2._g5 != undefined) _Fn._pH = _0m2._g5;
- if (_0m2._p5 != undefined) _Fn._qH = _0m2._p5;
- if (_0m2._0b != undefined) _Fn._qH = _0m2._0b;
- if (_0m2._mi2 != undefined) _Fn._mi2 = _0m2._mi2;
- if (_0m2._ni2 != undefined) _Fn._ni2 = _0m2._ni2;
- if (_0m2._H7 != undefined) _Fn._H7 = _0m2._H7;
- if (_0m2._G7 != undefined) _Fn._G7 = _0m2._G7;
- if (_0m2.index != undefined) _Fn._Wi = _0m2.index;
- return _Fn
- }
- var _sa = null;
- var _1m2 = null;
- var _2m2 = null;
- var _nn = !1,
- _Cn = !1,
- _3m2 = _4c._Uk1,
- _4m2 = _4c._Vk1,
- _5m2 = 0,
- _6m2 = 0.0,
- _7m2 = [],
- _zn = {
- _xk: !0,
- _yk: !0,
- _zk: !0,
- alpha: !0
- };
- var _xn = 0.0,
- _pn = !0,
- _rn = !0,
- _tn = !0,
- _8m2 = _4c._Wn;
- var _ho = null,
- _mo = null,
- _lo = null,
- _qo = null,
- _so = null,
- _oo = [];
- var _k12 = !1,
- _9m2 = !1,
- _am2 = 1.0;
- var _bm2 = [];
- var _gp = null,
- _cm2 = null,
- _dm2 = 0;
- var _em2 = 0,
- _fm2 = 1,
- _Lo = 2,
- _gm2 = 16;
- var _hm2 = [];
- var _xd = 16384;
- var _im2 = 36,
- _jm2 = [],
- _km2 = [];
- function _x22() {
- _cm();
- _Rl2();
- _j_1();
- _3d();
- _lm2(_im2);
- _Dd = _mm2;
- _T12 = _nm2;
- _U12 = _om2;
- _722 = _pm2;
- _s22 = _qm2;
- _t22 = _rm2;
- _W12 = _sm2;
- _T22 = _tm2;
- _sa._UF = _um2;
- _uH = _vm2;
- _tH = _wm2;
- _o12 = _xm2;
- _b22 = _ym2;
- _V12 = _zm2;
- _n12 = _Am2;
- _h22 = _Bm2;
- _j22 = _Cm2;
- _K12 = _Dm2;
- _m22 = _Em2;
- _o22 = _Fm2;
- _q22 = _Gm2;
- _Iv = _Hm2;
- _zv = _Im2;
- _Mv = _Jm2;
- _Cv = _Im2;
- _Ov = _Jm2;
- _Rv = _Km2;
- _Xv = _Lm2;
- _4w = _Mm2;
- _6w = _Nm2;
- _dw = _Om2;
- _iw = _Pm2;
- _Ew = _Qm2;
- _Pw = _Rm2;
- _Uw = _Sm2;
- _kw = _Pm2;
- _Gw = _Qm2;
- _Rw = _Rm2;
- _Ww = _Sm2;
- _qb = _Tm2;
- _Zv = _Um2;
- _Xw = _Vm2;
- _Zw = _Vm2;
- _Ju = _Wm2;
- _Y6 = _Xm2;
- _wv = _Xm2;
- _pv = _Ym2;
- _4x = _Zm2;
- _QI = __m2;
- _Dj = _0n2;
- _dH = _1n2;
- _5H = _2n2;
- _vH = _3n2;
- _1H = _4n2;
- _GH = _5n2;
- _IH = _6n2;
- _KH = _7n2;
- _RH = _8n2;
- _UH = _9n2;
- _zj = _an2;
- _Pj = _bn2;
- _OF = _cn2;
- _XF = _dn2;
- _bG = _en2;
- _MA = _fn2;
- _BC = _gn2;
- _RD = _hn2;
- _SD = _in2;
- _TD = _jn2;
- _UD = _kn2;
- _VD = _ln2;
- _WD = _mn2;
- _XD = _nn2;
- _YD = _on2;
- _ZD = _pn2;
- __D = _qn2;
- _0E = _rn2;
- _1E = _sn2;
- _2E = _tn2;
- _3E = _un2;
- _4E = _vn2;
- _hX1 = _wn2;
- _1o = _xn2;
- _jX1 = _yn2;
- _kX1 = _zn2;
- _mX1 = _An2;
- _0o = _Bn2;
- _fX1 = _Cn2;
- _gX1 = _Dn2;
- _nX1 = _En2;
- _oX1 = _Fn2;
- _pX1 = _Gn2;
- _qX1 = _Hn2;
- _In2()
- }
- function _Jn2(_fh1) {
- var options = {
- _Vh1: ((_Yp._7W1 !== undefined) ? !0 : !1),
- _Wh1: (_Yp._A5._Kn2 ? !0 : !1),
- _Hh1: _GT1
- };
- _sa = new _eh1(_fh1, options);
- if (!_sa._vh1) {
- _sa = null;
- return ! 1
- }
- if (!_Ln2()) return ! 1;
- if (!_Mn2()) return ! 1;
- if (!_Nn2()) return ! 1;
- _gp = [];
- _gp[_em2] = new _Gn();
- _gp[_fm2] = new _Gn();
- _gp[_Lo] = new _Gn();
- _cm2 = [];
- for (var _H3 = 0; _H3 < _gm2; _H3++) {
- _cm2[_H3] = new _Gn();
- }
- _dm2 = -1;
- _Sn = 1;
- _tT1 = new _Gn();
- _uT1 = new _Gn();
- var _On2 = _sa._lj1();
- for (var _H3 = 0; _H3 < _On2; _H3++) {
- _7m2[_H3] = !1
- }
- return ! 0
- }
- function _lm2(_Mg2) {
- _im2 = 4 * (_U9(64, _S9(4, _Mg2)) / 4);
- _jm2[0] = 1;
- _km2[0] = 0;
- for (var _H3 = 1; _H3 < _im2; _H3++) {
- _jm2[_H3] = Math.cos(_H3 * 2 * Math.PI / _im2);
- _km2[_H3] = Math.sin(_H3 * 2 * Math.PI / _im2)
- }
- _jm2[_im2] = 1;
- _km2[_im2] = 0
- }
- function _In2() {
- _Jk(0, 0xff000000, 0, 0);
- _nX1(0);
- _qX1(0);
- _Pn2()
- }
- function _Ln2() {
- return _Qn2()
- }
- function _Mn2() {
- var _Rn2 = document.createElement(_cq);
- _Rn2._Od = _Rn2.width = 16;
- _Rn2._Pd = _Rn2.height = 16;
- _Rn2.complete = !0;
- _Rn2._YG = !1;
- _Rn2.name = "";
- _Rn2._yb = _Rn2.getContext('2d');
- _Rn2._yb.save();
- _Rn2._yb.setTransform(1, 0, 0, 1, 0, 0);
- _Rn2._yb.globalAlpha = 1;
- _Rn2._yb.fillStyle = '#ffffff';
- _Rn2._yb.fillRect(0, 0, 16, 16);
- _Rn2._yb.restore();
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = 15;
- _Kj._K3 = 15;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = 15;
- _Kj._v5 = 15;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = -1;
- _Kj._Ga = _Rn2;
- _Kj._Da = [];
- _Kj._Fa = 1;
- _Kj._Ea = 0;
- _0c(_Kj);
- _sa._wk1(_Kj._Ga.__b);
- return ! 0
- }
- function _Nn2() {
- _ho = new Float32Array(_4c._Ck1 * 4);
- _mo = new Float32Array(_4c._Ck1 * 4);
- _lo = new Float32Array(_4c._Ck1 * 4);
- _qo = new Float32Array(4);
- var _go;
- for (var _H3 = 0; _H3 < _4c._Ck1; _H3++) {
- _lo[_H3] = 0;
- _go = _H3 * 4;
- _ho[_go + 0] = 0;
- _ho[_go + 1] = 0;
- _ho[_go + 2] = 0;
- _ho[_go + 3] = 0;
- _mo[_go + 0] = 0;
- _mo[_go + 1] = 0;
- _mo[_go + 2] = 0;
- _mo[_go + 3] = 0;
- _oo[_H3] = !1
- }
- return ! 0
- }
- function _Pn2() {
- var _Sn2 = _tG;
- _tG = function(_uG, _Tn2) {
- var _Ga = _Sn2(_uG, _Tn2);
- if (_Ga && !_Ga._vd.__b) {
- _0c(_Ga._Ld)
- }
- return _Ga
- };
- var _Un2 = _Wj;
- _Wj = function(_U8) {
- var _Ga = _Un2(_U8);
- if (_Ga && !_Ga._vd.__b) {
- _0c(_Ga._Ld)
- }
- return _Ga
- }
- }
- function _Em2() {
- _sa._Ji1();
- _sa._Dn(_En());
- _sa._7j1(_5m2, _6m2);
- _sa._to(_so);
- _sa._ro(_qo);
- _sa._An(_zn._xk, _zn._yk, _zn._zk, _zn.alpha);
- for (var _H3 = 0; _H3 < _4c._Ck1; _H3++) {
- _sa._no(_H3, _mo.subarray(_H3 * 4, (_H3 + 1) * 4), _ho.subarray(_H3 * 4, (_H3 + 1) * 4), _lo.subarray(_H3 * 4, (_H3 + 1) * 4))
- }
- }
- function _Fm2() {
- _sa._Ki1()
- }
- function _Bm2(_Vn2) {
- if (_Vn2) {
- _1m2 = {};
- if (_Vn2._gj2) {
- _1m2._nn = _nn;
- _1m2._Cn = _Cn;
- _1m2._so = new Float32Array(_so);
- _nn = !1;
- _Cn = !1;
- _Jk(0, 0xff000000, 0, 0);
- _sa._on(!1);
- _sa._sn(!1);
- _sa._qn(!1);
- _sa._Dn(_En())
- }
- if (_Vn2._hj2) {
- _1m2._Wn2 = _3m2;
- _1m2._Xn2 = _4m2;
- _sa._Mi1(_4c._Rk1, _4c._Qk1)
- }
- }
- }
- function _Cm2(_Yn2) {
- if (_1m2 && _Yn2) {
- if (_Yn2._jj2) {
- _nn = _1m2._nn;
- _Cn = _1m2._Cn;
- _so = new Float32Array(_1m2._so);
- _sa._to(_so);
- if (_nn) {
- _sa._on(_pn);
- _sa._qn(_rn);
- _sa._sn(_tn)
- }
- _sa._Dn(_En())
- }
- if (_Yn2._kj2) {
- _sa._Mi1(_1m2._Wn2, _1m2._Xn2)
- }
- _1m2 = null
- }
- }
- function _En() {
- var _ii1 = undefined;
- if (_Cn) {
- _ii1 = _sa._xh1
- } else {
- _ii1 = _sa._wh1
- }
- return _ii1
- }
- function _ym2(_K22, _L22, _M22, _N22) {
- var _Zn2 = _bI;
- var __n2 = _cI;
- _uT1._vp1();
- var _J3 = _bI / _K22;
- var _K3 = _cI / _L22;
- _uT1._Mo((_Zn2 * -0.5 + _M22) / _K22, (__n2 * -0.5 + _N22) / _L22, 16000);
- _tT1._Yn(_J3, -_K3 * _Sn, 1.0, 32000.0);
- _Ko(_fm2, _uT1);
- _Ko(_em2, _tT1)
- }
- function _vm2(_O22, _P22, _Q22, _R22, _Z8) {
- if (!_nn) {
- _G22(_O22, _P22, _Q22, _R22, _Z8)
- } else {
- var _0b = -_Z8 * (Math.PI / 180.0);
- var _H22 = new _In((_O22 + _Q22 / 2.0), (_P22 + _R22 / 2.0), -_Q22);
- var _I22 = new _In((_O22 + _Q22 / 2.0), (_P22 + _R22 / 2.0), 0.0);
- var _J22 = new _In(Math.sin(_0b), Math.cos(_0b), 0.0);
- _uT1._Ln(_H22, _I22, _J22);
- _tT1._Zn(1.0, _R22 / _Q22, 1.0, 32000.0);
- _tT1._F9[_Rn] *= _Sn;
- }
- _Ko(_fm2, _uT1);
- _Ko(_em2, _tT1);
- _Ko(_Lo, _gp[_Lo]);
- _N12 = _O22;
- _O12 = _P22;
- _P12 = _Q22;
- _Q12 = _R22
- }
- function _wm2(_bi1, _ci1, _di1, _ei1) {
- _Ou = _bi1;
- _Pu = _ci1;
- _Qu = _di1;
- _Ru = _ei1;
- var _2a = _ci1;
- if (_Sn == 1) {
- _2a = _pI() - (_ei1 + _ci1)
- }
- _sa._ai1(_bi1, _2a, _di1, _ei1)
- }
- function _zm2(_Sd) {
- _sa._Tj1(!0, !0, !1, _Dd(_Sd) | 0xff000000)
- }
- function _Wm2(_Sd, _Gd) {
- var _1b = ((_Gd * 255.0) << 24) | _Dd(_Sd);
- _sa._Tj1(!0, !0, !1, _1b)
- }
- function _mm2(_Sd) {
- return (_Sd & 0x00ffffff)
- }
- function _Ym2(_Gd) {
- if (_Gd < 0) {
- _Gd = 0
- }
- if (_Gd > 1) {
- _Gd = 1
- }
- _Ad = _Gd;
- }
- function _xm2(_0o2) {
- if (_xm2.arguments.length > 0) {
- var _Mu = _xm2.arguments[0]
- } else {}
- }
- function _Am2(_V8, _W8, _VH, _WH, _Z8) {}
- function _Dm2(_es, _Xr, _V8, _W8, __l, _0m, _Z8, _Sd, _Gd) {
- if (!_2m2) {
- var _ia = 1024;
- var _ja = 1024;
- var _1o2 = _S22(_ia, _ja);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _ia;
- _Kj._K3 = _ja;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _1o2;
- _Kj._Ga = _Ha[_Kj._y5];
- _2m2 = _Kj
- }
- var _I3 = document.createElement("canvas");
- var _Jb = _I3.getContext("2d");
- _es = "20px arial";
- _Jb.font = _es;
- _Jb.textBaseline = "top";
- _Jb.textAlign = "left";
- var _2o2 = _Jb.measureText(_Xr);
- var width = _2o2.width;
- var height = 20;
- _I3.width = width;
- _I3.height = height;
- _Jb.globalAlpha = 0.0;
- _Jb.globalCompositeOperation = "copy";
- _Jb.fillStyle = "black";
- _Jb.fillRect(0, 0, _I3.width, _I3.height);
- _Jb.globalAlpha = 1.0;
- _Jb.globalCompositeOperation = "source-over";
- _Jb.fillStyle = "white";
- _Jb.fillText(_Xr, 0, 0)
- }
- function _bp(_Vl) {
- if (_dm2 >= _gm2) {
- return ! 1
- }
- _dm2++;
- if (_dm2 == 0) {
- _cm2[_dm2] = new _Gn(_Vl)
- } else {
- _cm2[_dm2]._Vo(_cm2[_dm2 - 1], _Vl)
- }
- return ! 0
- }
- function _cp(_Vl) {
- if (_dm2 < 0) {
- return ! 1
- }
- _Ko(_Lo, _cm2[_dm2]);
- _dm2--;
- return ! 0
- }
- function _9p() {
- _dm2 = -1
- }
- function _ap() {
- if (_dm2 < 0) {
- return ! 0
- }
- return ! 1
- }
- function _dp() {
- if (_dm2 < 0) {
- return ! 1
- }
- _Ko(_Lo, _cm2[_dm2]);
- return ! 0
- }
- function _ep() {
- if (_dm2 < 0) {
- return ! 1
- }
- _dm2--;
- return ! 0
- }
- function _nm2(_lG, _V8, _W8, _Gd) {
- var _2c, _882, _3o2, _ac, _cc, _ec, _1b;
- if (!_lG._Ga.__b) _0c(_lG);
- _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 6;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- _V8 = _V8 + _lG._s5;
- _W8 = _W8 + _lG._t5;
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _lG._u5;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _lG._v5;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _lG._f3 / _lG._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _lG._g3 / _lG._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_lG._f3 + _lG._J3) / _lG._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_lG._g3 + _lG._K3) / _lG._Ga.height;
- _1b = ((_Gd * 255.0) << 24) | 0xffffff;
- var _Uv = _1b,
- _Vv = _1b,
- _i12 = _1b,
- _j12 = _1b;
- if (_k12) {
- _Uv &= 0xfffefffe;
- _Vv &= 0xfffefffe;
- _i12 &= 0xfffefffe;
- _j12 &= 0xfffefffe;
- _Vv |= 0x00010000;
- _i12 |= 0x00000001;
- _j12 |= 0x00010001
- }
- _cc[_gc] = _cc[_lc] = _Uv;
- _cc[_hc] = _Vv;
- _cc[_ic] = _cc[_jc] = _i12;
- _cc[_kc] = _j12
- }
- function _um2(_lG, _M22, _N22, _4o2, _5o2, _V8, _W8, _vh, _wh, _Sd) {
- var _2c, _882, _3o2, _ac, _cc, _ec, _1b;
- if (!_lG._Ga.__b) _0c(_lG);
- if (_Sd == undefined) _Sd = 0xffffffff;
- _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 6;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _vh;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _wh;
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _M22 / _lG._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _N22 / _lG._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_M22 + _4o2) / _lG._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_N22 + _5o2) / _lG._Ga.height;
- var _Uv = _Sd,
- _Vv = _Sd,
- _i12 = _Sd,
- _j12 = _Sd;
- if (_k12) {
- _Uv &= 0xfffefffe;
- _Vv &= 0xfffefffe;
- _i12 &= 0xfffefffe;
- _j12 &= 0xfffefffe;
- _Vv |= 0x00010000;
- _i12 |= 0x00000001;
- _j12 |= 0x00010001
- }
- _cc[_gc] = _cc[_lc] = _Uv;
- _cc[_hc] = _Vv;
- _cc[_ic] = _cc[_jc] = _i12;
- _cc[_kc] = _j12
- }
- function _om2(_lG, _V8, _W8, _232, _332, _n5, _m5, _Sd, _Gd) {
- var _2c, _882, _3o2, _ac, _cc, _ec, _J3, _K3;
- if (!_lG._Ga.__b) _0c(_lG);
- _6o2 = _lG._w5 + ~~_V8;
- _7o2 = _lG._x5 + ~~_W8;
- var _ia = ~~ (_232 * _lG._w5);
- var _ja = ~~ (_332 * _lG._x5);
- if (_m5) {
- _V8 = (((~~ (_N12 / _ia)) * _ia) + (~~_V8) % _ia) - _ia;
- _6o2 = (((((_iH._lH + (_ia - 1)) / _ia) & 0xffffffff) + 2) * _ia) + ~~_V8;
- }
- if (_n5) {
- _W8 = (((~~ (_O12 / _ja)) * _ja) + (~~_W8) % _ja) - _ja;
- _7o2 = (((((_iH._mH + (_ja - 1)) / _ja) & 0xffffffff) + 2) * _ja) + ~~_W8
- }
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- var _ZF = 0;
- var __F = 0;
- if ((_ia <= 0) || (_ja <= 0)) return;
- var _b5 = _Dd(_Sd) | (~~ ((_Gd * 255.0) << 24));
- var _Uv = _b5,
- _Vv = _b5,
- _i12 = _b5,
- _j12 = _b5;
- if (_k12) {
- _Uv &= 0xfffefffe;
- _Vv &= 0xfffefffe;
- _i12 &= 0xfffefffe;
- _j12 &= 0xfffefffe;
- _Vv |= 0x00010000;
- _i12 |= 0x00000001;
- _j12 |= 0x00010001
- }
- var _G9 = ( - _232 * (_ZF - _lG._s5));
- var _H9 = ( - _332 * (__F - _lG._t5));
- var _8o2 = _232 * _lG._u5;
- var _9o2 = _332 * _lG._v5;
- var _0a = _V8 + _G9;
- var _2a = ~~_W8 + _H9;
- var _vb = _lG._f3;
- var _sU = _vb + _lG._J3;
- var _xb = _lG._g3;
- var _ic = _lG._g3 + _lG._K3;
- _vb /= _lG._Ga.width;
- _sU /= _lG._Ga.width;
- _xb /= _lG._Ga.height;
- _ic /= _lG._Ga.height;
- var _Kw = _2a;
- while (_0a < _6o2) {
- _2a = _Kw;
- var _vw = _0a + _8o2;
- while (_2a < _7o2) {
- _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 6;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _xw = _2a + _9o2;
- _cc[index] = _j12;
- _ac[index + 0] = (_0a);
- _ac[index + 1] = (_2a);
- _ec[index + 0] = (_vb);
- _ec[index + 1] = (_xb);
- index += _7c;
- _cc[index] = _Uv;
- _ac[index + 0] = (_vw);
- _ac[index + 1] = (_2a);
- _ec[index + 0] = (_sU);
- _ec[index + 1] = (_xb);
- index += _7c;
- _cc[index] = _Vv;
- _ac[index + 0] = (_vw);
- _ac[index + 1] = (_xw);
- _ec[index + 0] = (_sU);
- _ec[index + 1] = (_ic);
- index += _7c;
- _cc[index] = _Vv;
- _ac[index + 0] = (_vw);
- _ac[index + 1] = (_xw);
- _ec[index + 0] = (_sU);
- _ec[index + 1] = (_ic);
- index += _7c;
- _cc[index] = _i12;
- _ac[index + 0] = (_0a);
- _ac[index + 1] = (_xw);
- _ec[index + 0] = (_vb);
- _ec[index + 1] = (_ic);
- index += _7c;
- _cc[index] = _Uv;
- _ac[index + 0] = (_0a);
- _ac[index + 1] = (_2a);
- _ec[index + 0] = (_vb);
- _ec[index + 1] = (_xb);
- if (!_n5) {
- break;
- }
- _2a = _2a + _ja
- }
- if (!_m5) {
- break
- }
- _0a = _0a + _ia
- }
- }
- function _qm2(_ao2, _q42, _Dk, _bo2, _co2, _f3, _g3, _dZ1, _eZ1, _0b, _bb, alpha) {
- var _do2 = _zn;
- var _eo2 = _nn;
- _Dk = _Dk % (_q42._DD1);
- if (_Dk < 0) {
- _Dk = _Dk + (_q42._DD1)
- }
- var _fo2 = [];
- _fo2[0] = _bb & 0xff;
- _fo2[1] = (_bb >> 8) & 0xff;
- _fo2[2] = (_bb >> 16) & 0xff;
- _fo2[3] = (alpha * 255) & 0xff;
- var _go2 = new _Gn();
- _go2._Mo(_f3, _g3, 0.0);
- var _ho2 = new _Gn();
- _ho2._Qo(_0b);
- var _io2 = new _Gn();
- _io2._Mo( - _bo2 / _AD1, -_co2 / _AD1, 0.0);
- var _jo2 = new _Gn();
- _jo2._No(_AD1 * _dZ1, _AD1 * _eZ1, 1.0);
- var _ko2 = new _Gn();
- _ko2._Vo(_io2, _jo2);
- var _lo2 = new _Gn();
- _lo2._Vo(_ko2, _ho2);
- var _mo2 = new _Gn();
- _mo2._Vo(_lo2, _go2);
- var translate = new _Gn();
- translate._Mo(0.5, 0.5, 0.0);
- var scale = new _Gn();
- scale._No(1.0 / 32768.0, 1.0 / 32768.0, 1.0);
- var _no2 = new _Gn();
- _no2._Vo(scale, translate);
- var _KD1 = _q42._JD1[_Dk];
- var _oo2 = [],
- _po2 = 0,
- _qo2 = 0,
- _ro2 = !0;
- for (var _H3 = 0; _H3 < _KD1._LD1; _H3++) {
- var _Oy = _KD1._MD1[_H3];
- for (var __9 = 0; __9 < _po2;) {
- var _so2 = _oo2[__9];
- if (_so2._ND1 < _Oy._R3) {
- _sa._oj1(_4c._zl1);
- _sa._qj1(_4c._rl1);
- _sa._An(!1, !1, !1, !1);
- _sa._qn(!1);
- _qo2 += _t22(_ao2, _so2, _mo2, _no2, _bb, _fo2, !1);
- _sa._tj1(_po2 - 1);
- _sa._oj1(_4c._ul1);
- _sa._qj1(_4c._kl1);
- _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha);
- _sa._qn(_eo2);
- _ro2 = !0;
- _po2--;
- for (var _eT = __9; _eT < _po2; _eT++) {
- _oo2[_eT] = _oo2[_eT + 1]
- }
- } else {
- __9++
- }
- }
- if (_Oy._ND1 > 0) {
- _oo2[_po2++] = _Oy;
- _sa._mj1(!0);
- _sa._oj1(_4c._zl1);
- _sa._qj1(_4c._ql1);
- _sa._An(!1, !1, !1, !1);
- _sa._qn(!1);
- _ro2 = !1
- }
- if (_po2 == 0) {
- _sa._mj1(!1);
- _ro2 = !0
- }
- _qo2 += _t22(_ao2, _Oy, _mo2, _no2, _bb, _fo2, _ro2 ? _9m2: !1);
- if (_Oy._ND1 > 0) {
- _sa._tj1(_po2);
- _sa._oj1(_4c._ul1);
- _sa._qj1(_4c._kl1);
- _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha);
- _sa._qn(_eo2);
- _ro2 = !0
- }
- }
- if (_po2 > 0) {
- _sa._oj1(_4c._zl1);
- _sa._qj1(_4c._rl1);
- _sa._An(!1, !1, !1, !1);
- _sa._qn(!1);
- for (var __9 = 0; __9 < _po2; __9++) {
- var _so2 = _oo2[__9];
- _qo2 += _t22(_ao2, _so2, _mo2, _no2, _bb, _fo2, !1)
- }
- }
- _sa._mj1(!1);
- _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha);
- _sa._qn(_eo2)
- }
- function _rm2(_ik2, _to2, _uo2, _vo2, _wo2, _xo2, _yo2) {
- var _zo2 = [];
- _zo2[0] = _xo2[0],
- _zo2[1] = _xo2[1],
- _zo2[2] = _xo2[2],
- _zo2[3] = 0;
- var _Ao2 = new _Gn();
- _Ao2._Vo(_to2._PC1, _uo2);
- var _Bo2 = 1.0;
- if (_yo2) {
- _Bo2 = _Co2(_to2, _Ao2) * _am2
- }
- var _OD1 = [],
- _PD1 = [],
- _Do2 = [];
- for (var _H3 = 0; _H3 < 4; _H3++) {
- _OD1[_H3] = _to2._QD1[_H3];
- _PD1[_H3] = _to2._RD1[_H3];
- _Do2[_H3] = _to2._SD1[_H3]
- }
- var _Eo2 = 0;
- if (_to2.__y !== 0) {
- var _Fo2 = _ik2[_to2.index];
- if (_Fo2.type === _nC1) {
- var _jk2 = _Fo2;
- for (var __9 = 0; __9 < _jk2._AC1.length; __9++) {
- var _Go2 = _jk2._AC1[__9];
- for (var _eT = 0; _eT < _Go2._DC1; _eT++) {
- var _dD1 = _Go2._HC1[_eT];
- if ((_dD1._fD1 >= 0) && (_dD1._jD1 > 0)) {
- var _Ho2 = _Go2._FC1[_dD1._fD1];
- if ((_Ho2 !== null) && (_Ho2 !== undefined)) {
- var _MC1 = _Ho2.type;
- if (_MC1 === _qC1) {
- _Eo2 += _Io2(_to2, _Ho2, _dD1, _Ao2, _xo2, _zo2, _OD1, _PD1, _Do2, _yo2)
- } else if ((_MC1 == _rC1) || (_MC1 == _sC1)) {
- _Eo2 += _Jo2(_ik2, _to2, _MC1, _Ho2, _dD1, _vo2, _Ao2, _xo2, _zo2, _wo2, _OD1, _PD1, _Do2, _yo2)
- }
- }
- }
- if ((_dD1._gD1 >= 0) && (_dD1._lD1 > 0)) {
- var _1b = _Go2._GC1[_dD1._gD1]._1b;
- var _bD1 = [];
- _bD1[0] = (((_1b >> 0) & 0xff) * _xo2[0]) >> 8;
- _bD1[1] = (((_1b >> 8) & 0xff) * _xo2[1]) >> 8;
- _bD1[2] = (((_1b >> 16) & 0xff) * _xo2[2]) >> 8;
- _bD1[3] = (((_1b >> 24) & 0xff) * _xo2[3]) >> 8;
- for (var _V9 = 0; _V9 < 4; _V9++) {
- _bD1[_V9] = ((_bD1[_V9] * _OD1[_V9]) >> 8) + _PD1[_V9];
- _bD1[_V9] = Math.max(0, Math.min(_bD1[_V9], 255))
- }
- var _Ko2 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24);
- var _Lo2 = [];
- _Lo2[0] = ((_1b & 0xff) * _zo2[0]) >> 8;
- _Lo2[1] = (((_1b >> 8) & 0xff) * _zo2[1]) >> 8;
- _Lo2[2] = (((_1b >> 16) & 0xff) * _zo2[2]) >> 8;
- _Lo2[3] = (((_1b >> 24) & 0xff) * _zo2[3]) >> 8;
- for (var _V9 = 0; _V9 < 4; _V9++) {
- _Lo2[_V9] = ((_Lo2[_V9] * _OD1[_V9]) >> 8) + _Do2[_V9];
- _Lo2[_V9] = _S9(0, _U9(_Lo2[_V9], 255))
- }
- var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24);
- if (_yo2 && (_dD1._oD1 > 0)) {
- var _1c = _dD1._oD1 * 6;
- var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- _Eo2 += _dD1._oD1 * 2;
- for (var _V9 = 0; _V9 < _dD1._oD1; _V9++) {
- var _eX = _dD1._xD1[(_V9 * 2) + 0],
- _fX = _dD1._xD1[(_V9 * 2) + 1];
- var _Oo2 = _dD1._tD1[(_eX * 2) + 0],
- _Po2 = _dD1._tD1[(_eX * 2) + 1];
- var _Qo2 = _dD1._yD1[(_eX * 2) + 0],
- _Ro2 = _dD1._yD1[(_eX * 2) + 1];
- var _So2 = _dD1._tD1[(_fX * 2) + 0],
- _To2 = _dD1._tD1[(_fX * 2) + 1];
- var _Uo2 = _dD1._yD1[(_fX * 2) + 0],
- _Vo2 = _dD1._yD1[(_fX * 2) + 1];
- var _G9 = (_Oo2 * _Ao2._F9[_Yo]) + (_Po2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p],
- _H9 = (_Oo2 * _Ao2._F9[_1p]) + (_Po2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p],
- _I9 = (_So2 * _Ao2._F9[_Yo]) + (_To2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p],
- _J9 = (_So2 * _Ao2._F9[_1p]) + (_To2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p];
- _Qo2 *= _Bo2;
- _Ro2 *= _Bo2;
- _Uo2 *= _Bo2;
- _Vo2 *= _Bo2;
- var _2k = (_Qo2 * _Ao2._F9[_Yo]) + (_Ro2 * _Ao2._F9[_Zo]) + _G9,
- _3k = (_Qo2 * _Ao2._F9[_1p]) + (_Ro2 * _Ao2._F9[_Rn]) + _H9,
- _rB1 = (_Uo2 * _Ao2._F9[_Yo]) + (_Vo2 * _Ao2._F9[_Zo]) + _I9,
- _sB1 = (_Uo2 * _Ao2._F9[_1p]) + (_Vo2 * _Ao2._F9[_Rn]) + _J9;
- _ac[_No2 + 0] = _G9;
- _ac[_No2 + 1] = _H9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _rB1;
- _ac[_No2 + 1] = _sB1;
- _cc[_No2] = _Mo2;
- _No2 += _7c
- }
- }
- var _1c = _dD1._lD1 * 3;
- var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- _Eo2 += _dD1._lD1;
- var _Wo2 = 0;
- for (var _V9 = _dD1._lD1 * 3; _V9 > 0; --_V9) {
- var index = _dD1._uD1[_Wo2++];
- var _Xo2 = _dD1._tD1[index * 2];
- var _Yo2 = _dD1._tD1[(index * 2) + 1];
- var _f3 = (_Xo2 * _Ao2._F9[_Yo]) + (_Yo2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p];
- var _g3 = (_Xo2 * _Ao2._F9[_1p]) + (_Yo2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p];
- _ac[_No2 + 0] = _f3;
- _ac[_No2 + 1] = _g3;
- _cc[_No2] = _Ko2;
- _No2 += _7c
- }
- }
- }
- }
- }
- }
- return _Eo2
- }
- function _Jo2(_ik2, _to2, _Zo2, __o2, _0p2, _vo2, _1p2, _xo2, _2p2, _wo2, _3p2, _4p2, _5p2, _yo2) {
- var _ac, _cc, _ec, _Kj = null,
- _Bo2 = 1.0,
- _6p2 = new _Gn();
- if (_yo2) {
- _Bo2 = _Co2(_to2, _1p2) * _am2
- }
- if (_Zo2 === _rC1) {
- var _7p2 = __o2;
- _Kj = _7p2._Ld;
- _6p2._Vo(_7p2._PC1, _vo2)
- } else if (_Zo2 === _sC1) {
- var _7p2 = __o2;
- if (_7p2._VC1 !== -1) {
- var _8p2 = _ik2[_7p2._VC1];
- var _ho1 = _8p2._ho1;
- _Kj = {
- _Ga: _ho1
- };
- if (_ho1 !== null) {
- var _9p2 = new _Gn();
- _9p2._No(1.0 / _ho1.width, 1.0 / _ho1.height, 1.0);
- _6p2._Vo(_7p2._PC1, _9p2);
- if ((_7p2._TC1 === _KB1) || (_7p2._TC1 === _MB1)) {
- _sa._9j1(0, !0)
- } else {
- _sa._9j1(0, !1)
- }
- }
- }
- }
- var _Eo2 = 0;
- if (_Kj !== null) {
- _Eo2 += _0p2._jD1;
- if (_yo2 && (_0p2._mD1 > 0)) {
- _Eo2 += _0p2._mD1 * 2;
- var _bD1 = [];
- for (var _V9 = 0; _V9 < 4; _V9++) {
- _bD1[_V9] = ((_xo2[_V9] * _3p2[_V9]) >> 8) + _4p2[_V9];
- _bD1[_V9] = Math.max(0, Math.min(_bD1[_V9], 255))
- }
- var _Ko2 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24);
- var _Lo2 = [];
- for (var _V9 = 0; _V9 < 4; _V9++) {
- _Lo2[_V9] = ((_2p2[_V9] * _3p2[_V9]) >> 8) + _5p2[_V9];
- _Lo2[_V9] = Math.max(0, Math.min(_Lo2[_V9], 255))
- }
- var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24);
- var _1c = _0p2._mD1 * 6;
- var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc,
- _cc = _2c._dc,
- _ec = _2c._fc;
- var _ap2 = 0;
- for (_V9 = _0p2._mD1; _V9 > 0; _V9--) {
- var _eX = _0p2._vD1[_ap2++],
- _fX = _0p2._vD1[_ap2++];
- var _bp2 = _eX * 2,
- _cp2 = _eX * 2;
- var _Oo2 = _0p2._qD1[_bp2];
- _bp2++;
- var _Po2 = _0p2._qD1[_bp2];
- var _Qo2 = _0p2._wD1[_cp2];
- _cp2++;
- var _Ro2 = _0p2._wD1[_cp2];
- _bp2 = _fX * 2;
- _cp2 = _fX * 2;
- var _So2 = _0p2._qD1[_bp2];
- _bp2++;
- var _To2 = _0p2._qD1[_bp2];
- var _Uo2 = _0p2._wD1[_cp2];
- _cp2++;
- var _Vo2 = _0p2._wD1[_cp2];
- var _G9 = (_Oo2 * _1p2._F9[_Yo]) + (_Po2 * _1p2._F9[_Zo]) + _1p2._F9[_0p],
- _H9 = (_Oo2 * _1p2._F9[_1p]) + (_Po2 * _1p2._F9[_Rn]) + _1p2._F9[_3p],
- _I9 = (_So2 * _1p2._F9[_Yo]) + (_To2 * _1p2._F9[_Zo]) + _1p2._F9[_0p],
- _J9 = (_So2 * _1p2._F9[_1p]) + (_To2 * _1p2._F9[_Rn]) + _1p2._F9[_3p];
- _Qo2 *= _Bo2;
- _Ro2 *= _Bo2;
- _Uo2 *= _Bo2;
- _Vo2 *= _Bo2;
- var _2k = (_Qo2 * _1p2._F9[_Yo]) + (_Ro2 * _1p2._F9[_Zo]) + _G9,
- _3k = (_Qo2 * _1p2._F9[_1p]) + (_Ro2 * _1p2._F9[_Rn]) + _H9,
- _rB1 = (_Uo2 * _1p2._F9[_Yo]) + (_Vo2 * _1p2._F9[_Zo]) + _I9,
- _sB1 = (_Uo2 * _1p2._F9[_1p]) + (_Vo2 * _1p2._F9[_Rn]) + _J9;
- _Qo2 += _Oo2;
- _Ro2 += _Po2;
- _Uo2 += _So2;
- _Vo2 += _To2;
- _ac[_No2 + 0] = _G9;
- _ac[_No2 + 1] = _H9;
- _ec[_No2 + 0] = (_Oo2 * _6p2._F9[_Yo]) + (_Po2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_Oo2 * _6p2._F9[_1p]) + (_Po2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _ec[_No2 + 0] = (_So2 * _6p2._F9[_Yo]) + (_To2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_So2 * _6p2._F9[_1p]) + (_To2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _ec[_No2 + 0] = (_Qo2 * _6p2._F9[_Yo]) + (_Ro2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_Qo2 * _6p2._F9[_1p]) + (_Ro2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _ec[_No2 + 0] = (_Qo2 * _6p2._F9[_Yo]) + (_Ro2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_Qo2 * _6p2._F9[_1p]) + (_Ro2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _ec[_No2 + 0] = (_So2 * _6p2._F9[_Yo]) + (_To2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_So2 * _6p2._F9[_1p]) + (_To2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _rB1;
- _ac[_No2 + 1] = _sB1;
- _ec[_No2 + 0] = (_Uo2 * _6p2._F9[_Yo]) + (_Vo2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_Uo2 * _6p2._F9[_1p]) + (_Vo2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _cc[_No2] = _Mo2;
- _No2 += _7c
- }
- }
- var _1c = _0p2._jD1 * 3;
- var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc,
- _cc = _2c._dc,
- _ec = _2c._fc;
- var _Wo2 = 0;
- for (var _V9 = _0p2._jD1 * 3; _V9 > 0; --_V9) {
- var index = _0p2._sD1[_Wo2++];
- var _Xo2 = _0p2._qD1[index * 2];
- var _Yo2 = _0p2._qD1[(index * 2) + 1];
- var _f3 = (_Xo2 * _1p2._F9[_Yo]) + (_Yo2 * _1p2._F9[_Zo]) + _1p2._F9[_0p];
- var _g3 = (_Xo2 * _1p2._F9[_1p]) + (_Yo2 * _1p2._F9[_Rn]) + _1p2._F9[_3p];
- _ac[_No2 + 0] = _f3;
- _ac[_No2 + 1] = _g3;
- _cc[_No2] = _wo2;
- _ec[_No2 + 0] = (_Xo2 * _6p2._F9[_Yo]) + (_Yo2 * _6p2._F9[_Zo]) + _6p2._F9[_0p];
- _ec[_No2 + 1] = (_Xo2 * _6p2._F9[_1p]) + (_Yo2 * _6p2._F9[_Rn]) + _6p2._F9[_3p];
- _No2 += _7c
- }
- }
- return _Eo2
- }
- function _Io2(_to2, __o2, _0p2, _1p2, _xo2, _2p2, _3p2, _4p2, _5p2, _yo2) {
- var _Bo2 = 1.0;
- if (_yo2) {
- _Bo2 = _Co2(_to2, _1p2) * _am2
- }
- var _dp2 = !1;
- var _7p2 = __o2,
- _1b = _7p2._1b,
- _Eo2 = 0,
- _V9 = 0;
- var _bD1 = [];
- var _T9 = ((_1b >> 16) & 0xff),
- _jb = ((_1b >> 8) & 0xff),
- _W9 = ((_1b >> 0) & 0xff),
- _kb = ((_1b >> 24) & 0xff);
- _bD1[0] = (_T9 * _xo2[0]) >> 8;
- _bD1[1] = (_jb * _xo2[1]) >> 8;
- _bD1[2] = (_W9 * _xo2[2]) >> 8;
- _bD1[3] = (_kb * _xo2[3]) >> 8;
- for (_V9 = 0; _V9 < 4; _V9++) {
- _bD1[_V9] = ((_bD1[_V9] * _3p2[_V9]) >> 8) + _4p2[_V9];
- _bD1[_V9] = _S9(0, _U9(_bD1[_V9], 255))
- }
- var _Ko2 = _bD1[2] | (_bD1[1] << 8) | (_bD1[0] << 16) | (_bD1[3] << 24);
- var _Lo2 = [];
- _Lo2[0] = ((_1b & 0xff) * _2p2[0]) >> 8;
- _Lo2[1] = (((_1b >> 8) & 0xff) * _2p2[1]) >> 8;
- _Lo2[2] = (((_1b >> 16) & 0xff) * _2p2[2]) >> 8;
- _Lo2[3] = (((_1b >> 24) & 0xff) * _2p2[3]) >> 8;
- for (_V9 = 0; _V9 < 4; _V9++) {
- _Lo2[_V9] = ((_Lo2[_V9] * _3p2[_V9]) >> 8) + _5p2[_V9];
- _Lo2[_V9] = _S9(0, _U9(_Lo2[_V9], 255))
- }
- var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24);
- if (_dp2) {} else if (_yo2 && (_0p2._mD1 > 0)) {
- _Eo2 += _0p2._mD1 * 2;
- var _1c = _0p2._mD1 * 6;
- var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- var _ap2 = 0;
- for (_V9 = _0p2._mD1; _V9 > 0; _V9--) {
- var _eX = _0p2._vD1[_ap2++],
- _fX = _0p2._vD1[_ap2++];
- var _bp2 = _eX * 2,
- _cp2 = _eX * 2;
- var _Oo2 = _0p2._qD1[_bp2];
- _bp2++;
- var _Po2 = _0p2._qD1[_bp2];
- var _Qo2 = _0p2._wD1[_cp2];
- _cp2++;
- var _Ro2 = _0p2._wD1[_cp2];
- _bp2 = _fX * 2;
- _cp2 = _fX * 2;
- var _So2 = _0p2._qD1[_bp2];
- _bp2++;
- var _To2 = _0p2._qD1[_bp2];
- var _Uo2 = _0p2._wD1[_cp2];
- _cp2++;
- var _Vo2 = _0p2._wD1[_cp2];
- var _G9 = (_Oo2 * _1p2._F9[_Yo]) + (_Po2 * _1p2._F9[_Zo]) + _1p2._F9[_0p],
- _H9 = (_Oo2 * _1p2._F9[_1p]) + (_Po2 * _1p2._F9[_Rn]) + _1p2._F9[_3p],
- _I9 = (_So2 * _1p2._F9[_Yo]) + (_To2 * _1p2._F9[_Zo]) + _1p2._F9[_0p],
- _J9 = (_So2 * _1p2._F9[_1p]) + (_To2 * _1p2._F9[_Rn]) + _1p2._F9[_3p];
- _Qo2 *= _Bo2;
- _Ro2 *= _Bo2;
- _Uo2 *= _Bo2;
- _Vo2 *= _Bo2;
- var _2k = (_Qo2 * _1p2._F9[_Yo]) + (_Ro2 * _1p2._F9[_Zo]) + _G9,
- _3k = (_Qo2 * _1p2._F9[_1p]) + (_Ro2 * _1p2._F9[_Rn]) + _H9,
- _rB1 = (_Uo2 * _1p2._F9[_Yo]) + (_Vo2 * _1p2._F9[_Zo]) + _I9,
- _sB1 = (_Uo2 * _1p2._F9[_1p]) + (_Vo2 * _1p2._F9[_Rn]) + _J9;
- _ac[_No2 + 0] = _G9;
- _ac[_No2 + 1] = _H9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _2k;
- _ac[_No2 + 1] = _3k;
- _cc[_No2] = _Mo2;
- _No2 += _7c;
- _ac[_No2 + 0] = _I9;
- _ac[_No2 + 1] = _J9;
- _cc[_No2] = _Ko2;
- _No2 += _7c;
- _ac[_No2 + 0] = _rB1;
- _ac[_No2 + 1] = _sB1;
- _cc[_No2] = _Mo2;
- _No2 += _7c
- }
- }
- var _1c = _0p2._jD1 * 3;
- var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c);
- var _7c = _2c._8c() >> 2;
- var _No2 = _7c * _2c._9c;
- _2c._9c += _1c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _Eo2 += _0p2._jD1;
- var _Wo2 = 0;
- for (var _V9 = _0p2._jD1 * 3; _V9 > 0; --_V9) {
- var index = _0p2._sD1[_Wo2++];
- var _Xo2 = _0p2._qD1[index * 2];
- var _Yo2 = _0p2._qD1[(index * 2) + 1];
- var _f3 = (_Xo2 * _1p2._F9[_Yo]) + (_Yo2 * _1p2._F9[_Zo]) + _1p2._F9[_0p];
- var _g3 = (_Xo2 * _1p2._F9[_1p]) + (_Yo2 * _1p2._F9[_Rn]) + _1p2._F9[_3p];
- _ac[_No2 + 0] = _f3;
- _ac[_No2 + 1] = _g3;
- _cc[_No2] = _Ko2;
- _No2 += _7c
- }
- return _Eo2
- }
- function _Co2(_to2, _1p2) {
- if (_9m2) {
- if (_to2._Bo2 !== undefined) {
- return _to2._Bo2
- }
- var _ep2 = _Uo(_Lo);
- var _fp2 = _Uo(_fm2);
- var _gp2 = _Uo(_em2);
- var _hp2 = new _Gn();
- _hp2._Vo(_ep2, _fp2);
- var _ip2 = new _Gn();
- _ip2._Vo(_hp2, _gp2);
- var _jp2 = new _Gn();
- _jp2._Vo(_1p2, _ip2);
- var _kp2 = _sa._yh1,
- _lp2 = _sa._zh1;
- var _mp2 = [];
- _mp2[0] = 0.0;
- _mp2[1] = 0.0;
- _mp2[2] = 1.0;
- _mp2[3] = 0.0;
- _mp2[4] = 0.0;
- _mp2[5] = 1.0;
- var _np2 = [];
- for (var _H3 = 0; _H3 < 3; _H3++) {
- var _LG1 = (_mp2[_H3 * 2] * _jp2._F9[_JW1]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_KW1]) + (_xn * _jp2._F9[_LW1]) + _jp2._F9[_MW1];
- var index = (_H3 * 2) + 0;
- _np2[index] = (_mp2[_H3 * 2] * _jp2._F9[_Yo]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_Zo]) + (_xn * _jp2._F9[__o]) + _jp2._F9[_0p];
- _np2[index] = _np2[index] / _LG1;
- _np2[index] = _np2[index] * _kp2;
- index++;
- _np2[index] = (_mp2[_H3 * 2] * _jp2._F9[_1p]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_Rn]) + (_xn * _jp2._F9[_2p]) + _jp2._F9[_3p];
- _np2[index] = _np2[index] / _LG1;
- _np2[index] = _np2[index] * _lp2
- }
- var _op2 = [];
- _op2[0] = _np2[2] - _np2[0];
- _op2[1] = _np2[3] - _np2[1];
- _op2[2] = _np2[4] - _np2[0];
- _op2[3] = _np2[5] - _np2[1];
- var _pp2 = 0.0,
- _Bo2 = 1.0,
- index = 0;
- for (var _H3 = 0; _H3 < 2; _H3++) {
- var length = _op2[index] * _op2[index];
- index++;
- length += _op2[index] * _op2[index];
- index++;
- if (length > 0.0) {
- length = Math.sqrt(length)
- }
- _pp2 = Math.max(length, _pp2)
- }
- _pp2 *= 0.5;
- if (_pp2 > 0.0) {
- _Bo2 = 1.0 / _pp2
- }
- _to2._Bo2 = _Bo2;
- return _Bo2
- }
- return 1.0
- }
- function _pm2(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _Sd, _at, _Pv, _Qv, _Gd) {
- var _2c, _882, _3o2, _ac, _cc, _ec;
- if (!_lG._Ga.__b) _0c(_lG);
- _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 6;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _G9 = -_232 * (_ZF - _lG._s5);
- var _H9 = -_332 * (__F - _lG._t5);
- var _I9 = _G9 + (_232 * _lG._u5);
- var _J9 = _H9 + (_332 * _lG._v5);
- if (Math.abs(_b32) < 0.001) {
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8 + _G9;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8 + _H9;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _I9;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _J9
- } else {
- var _la = Math.sin(_b32);
- var _ma = Math.cos(_b32);
- var _qw1 = _G9 * _ma;
- var _rw1 = _I9 * _ma;
- var _sw1 = _H9 * _ma;
- var _tw1 = _J9 * _ma;
- var _uw1 = _G9 * _la;
- var _vw1 = _I9 * _la;
- var _ww1 = _H9 * _la;
- var _xw1 = _J9 * _la;
- _ac[_gc + 0] = _ac[_lc + 0] = _V8 + _qw1 + _ww1;
- _ac[_gc + 1] = _ac[_lc + 1] = _W8 - _uw1 + _sw1;
- _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _rw1 + _xw1;
- _ac[_ic + 1] = _ac[_jc + 1] = _W8 - _vw1 + _tw1;
- _ac[_hc + 1] = _W8 - _vw1 + _sw1;
- _ac[_hc + 0] = _V8 + _rw1 + _ww1;
- _ac[_kc + 0] = _V8 + _qw1 + _xw1;
- _ac[_kc + 1] = _W8 - _uw1 + _tw1
- }
- _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _lG._f3 / _lG._Ga.width;
- _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _lG._g3 / _lG._Ga.height;
- _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_lG._f3 + _lG._J3) / _lG._Ga.width;
- _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_lG._g3 + _lG._K3) / _lG._Ga.height;
- var _kb = (_Gd * 255.0) << 24;
- _Sd = _kb | (_Sd & 0xffffff);
- if (_at == undefined) {
- _at = _Sd;
- _Pv = _Sd;
- _Qv = _Sd
- } else {
- _at = _at | _kb;
- _Pv = _Pv | _kb;
- _Qv = _Qv | _kb
- }
- if (_k12) {
- _Sd &= 0xfffefffe;
- _at &= 0xfffefffe;
- _Pv &= 0xfffefffe;
- _Qv &= 0xfffefffe;
- _at |= 0x00010000;
- _Pv |= 0x00000001;
- _Qv |= 0x00010001
- }
- _cc[_gc] = _cc[_lc] = _Sd;
- _cc[_hc] = _at;
- _cc[_ic] = _cc[_jc] = _Pv;
- _cc[_kc] = _Qv
- }
- function _tm2(_Ye, _V8, _W8, _fh1) {
- _sa._Ij1(_Ye, _V8, _W8, _fh1)
- }
- function _sm2(_lG, _yA, _zA, _Aa, _Ba, _V8, _W8, __l, _0m, _QH, _Gd) {
- if (!_lG) return;
- if (!_lG._Ga) return;
- if (!_lG._Ga.complete) return;
- _QH &= 0xffffff;
- _QH |= (_Gd * 255) << 24;
- if (_yA < _lG._s5) {
- var _h32 = _lG._s5 - _yA;
- _V8 += _h32;
- _Aa -= _h32;
- _yA = 0
- } else {
- _yA -= _lG._s5
- }
- if (_zA < _lG._t5) {
- var _h32 = _lG._t5 - _zA;
- _W8 += _h32;
- _Ba -= _h32;
- _zA = 0
- } else {
- _zA -= _lG._t5
- }
- if (_Aa > (_lG._u5 - _yA)) _Aa = _lG._u5 - _yA;
- if (_Ba > (_lG._v5 - _zA)) _Ba = _lG._v5 - _zA;
- if (_Aa <= 0 || _Ba <= 0) return;
- _um2(_lG, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m, _QH)
- }
- function _Hm2(_aa, _ba, _x9, _y9, _yv) {
- var _2c, _882, _3o2, _ac, _cc, _ec;
- _aa = ~~_aa;
- _ba = ~~_ba;
- _x9 = ~~_x9;
- _y9 = ~~_y9;
- var _zA1 = _4c._5c;
- var _Ea = 6;
- if (_yv) {
- _zA1 = _4c._pd;
- _Ea = 8
- }
- _2c = _sa._3c(_zA1, null, _sa._6c, _Ea);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _Ea;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- var _qp2 = _lc + _7c;
- var _rp2 = _qp2 + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff);
- if (!_yv) {
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _aa;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _ba;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _x9;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _y9;
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b
- } else {
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _cc[_qp2] = _cc[_rp2] = _1b;
- _ac[_lc + 0] = _ac[_rp2 + 0] = _ac[_qp2 + 0] = _ac[_gc + 0] = _aa;
- _ac[_rp2 + 1] = _ac[_ic + 1] = _ac[_hc + 1] = _ac[_gc + 1] = _ba;
- _ac[_kc + 0] = _ac[_jc + 0] = _ac[_ic + 0] = _ac[_hc + 0] = _x9;
- _ac[_jc + 1] = _ac[_kc + 1] = _ac[_lc + 1] = _ac[_qp2 + 1] = _y9
- }
- }
- function _Im2(_aa, _ba, _x9, _y9, _Dv, _Ev, _9t, _at, _yv) {
- var _H3, _J3, _K3;
- _J3 = _Dv;
- _K3 = _Ev;
- if (_J3 > Math.abs(_x9 - _aa)) {
- _J3 = Math.abs(_x9 - _aa)
- }
- if (_K3 > Math.abs(_y9 - _ba)) {
- _K3 = Math.abs(_y9 - _ba)
- }
- _kN = (_Dd(_9t) & 0xffffff) | ((_Ad * 255.0) << 24);
- _lN = (_Dd(_at) & 0xffffff) | ((_Ad * 255.0) << 24);
- var _sp2 = _im2 / 4;
- var _zA1 = _4c._sd;
- var _Ea = ((_sp2 + 1) * 4) + 2;
- if (_yv) {
- _zA1 = _4c._qd
- }
- var _Nw = (_aa + _x9) * 0.5;
- var _Ow = (_ba + _y9) * 0.5;
- var _5o = Math.abs(_x9 - _aa) * 0.5 - _J3 * 0.5;
- var _6o = Math.abs(_y9 - _ba) * 0.5 - _K3 * 0.5;
- _2c = _sa._3c(_zA1, null, _sa._6c, _Ea);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- var _tp2 = index;
- _2c._9c += _Ea;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ac[index] = _Nw;
- _ac[index + 1] = _Ow;
- _cc[index] = _kN;
- index += _7c;
- for (_H3 = 0; _H3 <= _sp2; _H3++) {
- _ac[index] = (_Nw + _5o + _J3 * _jm2[_H3] / 2);
- _ac[index + 1] = (_Ow + _6o + _K3 * _km2[_H3] / 2);
- _cc[index] = _lN;
- index += _7c
- }
- for (_H3 = _sp2; _H3 <= (_sp2 * 2); _H3++) {
- _ac[index] = (_Nw - _5o + _J3 * _jm2[_H3] / 2);
- _ac[index + 1] = (_Ow + _6o + _K3 * _km2[_H3] / 2);
- _cc[index] = _lN;
- index += _7c
- }
- for (_H3 = (_sp2 * 2); _H3 <= (_sp2 * 3); _H3++) {
- _ac[index] = (_Nw - _5o + _J3 * _jm2[_H3] / 2);
- _ac[index + 1] = (_Ow - _6o + _K3 * _km2[_H3] / 2);
- _cc[index] = _lN;
- index += _7c
- }
- for (_H3 = (_sp2 * 3); _H3 <= (_sp2 * 4); _H3++) {
- _ac[index] = (_Nw + _5o + _J3 * _jm2[_H3] / 2);
- _ac[index + 1] = (_Ow - _6o + _K3 * _km2[_H3] / 2);
- _cc[index] = _lN;
- index += _7c;
- }
- _ac[index] = _ac[_tp2 + _7c];
- _ac[index + 1] = _ac[_tp2 + _7c + 1];
- _cc[index] = _lN;
- if (_yv) {
- _ac[_tp2] = _ac[_tp2 + _7c];
- _ac[_tp2 + 1] = _ac[_tp2 + _7c + 1];
- _cc[_tp2] = _cc[_tp2 + _7c]
- }
- }
- function _Jm2(_aa, _ba, _x9, _y9, _9t, _at, _Pv, _Qv, _yv) {
- var _2c, _882, _3o2, _ac, _cc, _ec;
- _aa = ~~_aa;
- _ba = ~~_ba;
- _x9 = ~~_x9;
- _y9 = ~~_y9;
- var _kb = ((_Ad * 255.0) << 24);
- _9t = _Dd(_9t) | _kb;
- _at = _Dd(_at) | _kb;
- _Pv = _Dd(_Pv) | _kb;
- _Qv = _Dd(_Qv) | _kb;
- var _zA1 = _4c._5c;
- var _Ea = 6;
- if (_yv) {
- _zA1 = _4c._pd;
- _Ea = 8
- }
- _2c = _sa._3c(_zA1, null, _sa._6c, _Ea);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _Ea;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- var _qp2 = _lc + _7c;
- var _rp2 = _qp2 + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff);
- if (!_yv) {
- _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _aa;
- _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _ba;
- _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _x9;
- _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _y9;
- _cc[_gc] = _cc[_lc] = _9t;
- _cc[_ic] = _cc[_jc] = _Pv;
- _cc[_hc] = _at;
- _cc[_kc] = _Qv
- } else {
- _cc[_gc] = _cc[_rp2] = _9t;
- _cc[_hc] = _cc[_ic] = _at;
- _cc[_jc] = _cc[_kc] = _Pv;
- _cc[_lc] = _cc[_qp2] = _Qv;
- _ac[_lc + 0] = _ac[_rp2 + 0] = _ac[_qp2 + 0] = _ac[_gc + 0] = _aa;
- _ac[_rp2 + 1] = _ac[_ic + 1] = _ac[_hc + 1] = _ac[_gc + 1] = _ba;
- _ac[_kc + 0] = _ac[_jc + 0] = _ac[_ic + 0] = _ac[_hc + 0] = _x9;
- _ac[_jc + 1] = _ac[_kc + 1] = _ac[_lc + 1] = _ac[_qp2 + 1] = _y9
- }
- }
- function _Sm2(_V8, _W8, _Sd) {
- var _2c, _ac, _cc, _ec;
- _2c = _sa._3c(_4c._od, null, _sa._6c, 1);
- var _7c = _2c._8c() >> 2;
- var _gc = _7c * _2c._9c;
- _2c._9c++;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ec = _2c._fc;
- var _1b = ~~ ((_Ad * 255.0) << 24) | _Dd(_Sd);
- _ac[_gc + 0] = ~~_V8;
- _ac[_gc + 1] = ~~_W8;
- _cc[_gc] = _1b
- }
- function _Om2(_aa, _ba, _x9, _y9, _fw, _gw, _yv) {
- var _2c, _ac, _cc, _ec;
- if (_yv) {
- _2c = _sa._3c(_4c._qd, null, _sa._6c, 4)
- } else {
- _2c = _sa._3c(_4c._5c, null, _sa._6c, 3)
- }
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 3;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ac[_gc + 0] = _aa;
- _ac[_gc + 1] = _ba;
- _ac[_hc + 0] = _x9;
- _ac[_hc + 1] = _y9;
- _ac[_ic + 0] = _fw;
- _ac[_ic + 1] = _gw;
- if (_yv) {
- _ac[_jc + 0] = _aa;
- _ac[_jc + 1] = _ba;
- _2c._9c++
- }
- _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = ((_Ad * 255.0) << 24) | _Bd
- }
- function _Km2(_aa, _ba, _x9, _y9, _9t, _at, _Tv, _yv) {
- if (_Tv) {
- _Jm2(_aa, _ba, _x9, _y9, _9t, _9t, _at, _at, _yv)
- } else {
- _Jm2(_aa, _ba, _x9, _y9, _9t, _at, _at, _9t, _yv)
- }
- }
- function _Lm2(_V8, _W8) {
- _Sm2(_V8, _W8, _ps)
- }
- function _Mm2(_V8, _W8) {
- return _Nm2(_V8, _W8) & 0x00ffffff
- }
- function _Nm2(_V8, _W8) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- if (_Sn < 0) {
- _W8 = _sa._Bh1 - _W8
- }
- return _sa._kk1(_V8, _W8)
- }
- function _Pm2(_aa, _ba, _x9, _y9, _fw, _gw, _js, _ks, _ls, _yv) {
- var _2c, _ac, _cc, _ec;
- var _kb = ((_Ad * 255.0) << 24);
- _js = _kb | _Dd(_js);
- _ks = _kb | _Dd(_ks);
- _ls = _kb | _Dd(_ls);
- if (_yv) {
- _2c = _sa._3c(_4c._qd, null, _sa._6c, 4)
- } else {
- _2c = _sa._3c(_4c._5c, null, _sa._6c, 3)
- }
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 3;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ac[_gc + 0] = _aa;
- _ac[_gc + 1] = _ba;
- _ac[_hc + 0] = _x9;
- _ac[_hc + 1] = _y9;
- _ac[_ic + 0] = _fw;
- _ac[_ic + 1] = _gw;
- if (_yv) {
- _ac[_jc + 0] = _aa;
- _ac[_jc + 1] = _ba;
- _2c._9c++
- }
- _cc[_gc] = _js;
- _cc[_hc] = _ks;
- _cc[_ic] = _ls;
- _cc[_jc] = _js
- }
- function _Qm2(_aa, _ba, _x9, _y9, _9t, _at, _yv) {
- var _Nw = (_aa + _x9) / 2;
- var _Ow = (_ba + _y9) / 2;
- var _5o = Math.abs((_aa - _x9) / 2);
- var _6o = Math.abs((_ba - _y9) / 2);
- var _kb = ((_Ad * 255.0) << 24);
- _9t = _kb | _Dd(_9t);
- _at = _kb | _Dd(_at);
- var _up2;
- var _xb;
- if (_yv) {
- var _vp2 = _im2 + 1;
- _2c = _sa._3c(_4c._qd, null, _sa._6c, _vp2);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _vp2;
- _ac = _2c._bc;
- _cc = _2c._dc;
- for (var _H3 = 0; _H3 <= _im2; _H3++) {
- _ac[index] = (_Nw + (_5o * _jm2[_H3]));
- _ac[index + 1] = (_Ow + (_6o * _km2[_H3]));
- _cc[index] = _at;
- index += _7c
- }
- } else {
- var _wp2 = _im2 * 3;
- _2c = _sa._3c(_4c._5c, null, _sa._6c, _wp2);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += _wp2;
- _ac = _2c._bc;
- _cc = _2c._dc;
- for (var _H3 = 0; _H3 < _im2; _H3++) {
- _ac[index] = _Nw;
- _ac[index + 1] = _Ow;
- _cc[index] = _9t;
- index += _7c;
- _ac[index] = (_Nw + _5o * _jm2[_H3]);
- _ac[index + 1] = (_Ow + _6o * _km2[_H3]);
- _cc[index] = _at;
- index += _7c;
- _ac[index] = (_Nw + _5o * _jm2[_H3 + 1]);
- _ac[index + 1] = (_Ow + _6o * _km2[_H3 + 1]);
- _cc[index] = _at;
- index += _7c
- }
- }
- }
- function _Rm2(_V8, _W8, _Sw, _9t, _at, _yv) {
- _Qm2(_V8 - _Sw, _W8 - _Sw, _V8 + _Sw, _W8 + _Sw, _9t, _at, _yv)
- }
- function _Tm2(_aa, _ba, _x9, _y9) {
- _Vm2(_aa, _ba, _x9, _y9, 1.0, _ps, _ps)
- }
- function _Um2(_aa, _ba, _x9, _y9, _vh) {
- _Vm2(_aa, _ba, _x9, _y9, _vh, _ps, _ps)
- }
- function _Vm2(_aa, _ba, _x9, _y9, _vh, _9t, _at) {
- var _kb = ((_Ad * 255.0) << 24);
- _9t = _kb | _Dd(_9t);
- _at = _kb | _Dd(_at);
- var _0a = (_x9 - _aa);
- var _2a = (_y9 - _ba);
- var _R9 = (_0a * _0a) + (_2a * _2a);
- if (_R9 < 0.0001) return;
- _R9 = Math.sqrt(_R9);
- if (_R9 < 0.0001) return;
- _0a = 0.5 * _vh * _0a / _R9;
- _2a = 0.5 * _vh * _2a / _R9;
- _2c = _sa._3c(_4c._5c, null, _sa._6c, 6);
- var _7c = _2c._8c() >> 2;
- var index = _7c * _2c._9c;
- _2c._9c += 6;
- var _gc = index;
- var _hc = _gc + _7c;
- var _ic = _hc + _7c;
- var _jc = _ic + _7c;
- var _kc = _jc + _7c;
- var _lc = _kc + _7c;
- _ac = _2c._bc;
- _cc = _2c._dc;
- _ac[_gc + 0] = (_aa - _2a);
- _ac[_gc + 1] = (_ba + _0a);
- _ac[_hc + 0] = (_x9 - _2a);
- _ac[_hc + 1] = (_y9 + _0a);
- _ac[_ic + 0] = (_x9 + _2a);
- _ac[_ic + 1] = (_y9 - _0a);
- _ac[_jc + 0] = (_x9 + _2a);
- _ac[_jc + 1] = (_y9 - _0a);
- _ac[_kc + 0] = (_aa + _2a);
- _ac[_kc + 1] = (_ba - _0a);
- _ac[_lc + 0] = (_aa - _2a);
- _ac[_lc + 1] = (_ba + _0a);
- _cc[_gc] = _cc[_kc] = _cc[_lc] = _9t;
- _cc[_hc] = _cc[_ic] = _cc[_jc] = _at
- }
- function _xp2(_lG, _vh, _wh) {
- var _sk1 = _sa._mk1(_vh, _wh);
- _lG._yp2 = _sk1;
- _lG._tk1 = _sk1._tk1;
- _lG._Ga.__b = _sk1._fk1
- }
- function _0n2(_vh, _wh, _XG) {
- var _Kj = new _Lj();
- _Kj._Ga = document.createElement("surf");
- _Kj._Od = _vh;
- _Kj._Pd = _wh;
- _Kj._Ga.width = _vh;
- _Kj._Ga.height = _wh;
- _Kj._Ga._Od = _vh;
- _Kj._Ga._Pd = _wh;
- if (_XG != undefined) {
- var _Tj = _Fj._Gh(_XG);
- if (_Tj && _Tj._yp2) {
- _sa._vk1(_Tj._yp2)
- }
- }
- _xp2(_Kj, _vh, _wh);
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _vh;
- _Kj._K3 = _wh;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- if (_XG != undefined) {
- _Fj._gi(_XG, _Kj);
- _Kj._y5 = _XG
- } else {
- _Kj._y5 = _Fj._Wh(_Kj)
- }
- _Kj._ZG = _Kj;
- _Kj._Ga.complete = !0;
- _Kj._Da = [];
- _Kj._Ea = 0;
- _Kj._Fa = 4;
- _Kj.__G = 0;
- _Kj._0H = null;
- _Kj._QF = _Kj._Ga;
- return _Kj._y5
- }
- _5H = _6H;
- function _2n2(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _hm2.push({
- _tk1: _vT1,
- _zp2: _Sn,
- _Ap2: _sa._Ah1,
- _Bp2: _sa._Bh1,
- _jH: _N12,
- _kH: _O12,
- _lH: _P12,
- _mH: _Q12
- });
- _Sn = -1;
- _vT1 = _Tj._tk1;
- _sa._Wj1(_Tj._tk1);
- _8H = !1
- }
- }
- function _1n2(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _hm2.push({
- _tk1: _vT1,
- _zp2: _Sn,
- _Ap2: _sa._Ah1,
- _Bp2: _sa._Bh1,
- _jH: _N12,
- _kH: _O12,
- _lH: _P12,
- _mH: _Q12
- });
- _sa._Ah1 = _Tj._Od;
- _sa._Bh1 = _Tj._Pd;
- _fH.left = _gH.left;
- _fH.top = _gH.top;
- _fH._q9 = _gH._q9;
- _fH.bottom = _gH.bottom;
- _gH.left = 0;
- _gH.top = 0;
- _gH._q9 = _Tj._Od;
- _gH.bottom = _Tj._Pd;
- _hH._yh(_iH);
- _iH._jH = 0;
- _iH._kH = 0;
- _iH._lH = _Tj._Od;
- _iH._mH = _Tj._Pd;
- _iH._nH = 0;
- _iH._oH = 0;
- _iH._pH = _Tj._Od;
- _iH._qH = _Tj._Pd;
- _iH._Qg = 0;
- _iH._Sg = 0;
- _iH._rH = _Tj._Od;
- _iH._sH = _Tj._Pd;
- _iH._Rg = _iH._Qg + _iH._rH;
- _iH._Tg = _iH._Sg + _iH._sH;
- _vT1 = _Tj._tk1;
- _sa._Wj1(_Tj._tk1);
- _Sn = -1;
- _9H = _Ou;
- _aH = _Pu;
- _bH = _Qu;
- _cH = _Ru;
- _tH(0, 0, _Tj._Od, _Tj._Pd);
- _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b);
- _8H = !0
- }
- }
- function _3n2() {
- if (_8H) {
- _gH.left = _fH.left;
- _gH._q9 = _fH._q9;
- _gH.top = _fH.top;
- _gH.bottom = _fH.bottom;
- _iH._yh(_hH)
- }
- var _Cp2 = _hm2.pop();
- if (_Cp2) {
- _Sn = _Cp2._zp2;
- _vT1 = _Cp2._tk1;
- _sa._Ah1 = _Cp2._Ap2;
- _sa._Bh1 = _Cp2._Bp2;
- if (_8H) {
- _tH(_9H, _aH, _bH, _cH);
- _uH(_Cp2._jH, _Cp2._kH, _Cp2._lH, _Cp2._mH, _iH._0b)
- }
- } else {
- _Sn = 1;
- _vT1 = null;
- _sa._Ah1 = _sa._yh1;
- _sa._Bh1 = _sa._zh1;
- if (_8H) {
- _tH(_9H, _aH, _bH, _cH);
- _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b)
- }
- }
- _sa._Wj1(_vT1)
- }
- function _4n2(_Ch) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj && _Tj._yp2) {
- _sa._vk1(_Tj._yp2);
- _Tj._Ga.__b = undefined;
- _Fj._di(_Ch)
- }
- }
- function _5n2(_Ch, _V8, _W8) {
- return _6n2(_Ch, _V8, _W8) & 0x00ffffff
- }
- function _6n2(_Ch, _V8, _W8) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- _sa._lk1(_Tj._tk1, _V8, _W8)
- }
- return 0x00000000
- }
- function _7n2(_Ch, _V8, _W8) {
- var _Tj = _Fj._Gh(_Ch);
- if (!_Tj) return;
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- _yb._UF(_Tj, 0, 0, _Tj._Od, _Tj._Pd, _V8, _W8, _Tj._Od, _Tj._Pd, 0xffffffff)
- }
- function _8n2(_SH, _V8, _W8, _TH) {
- _2q("surface_copy() (WebGL)")
- }
- function _9n2(_SH, _V8, _W8, _TH, _VH, _WH, _XH, _YH) {
- var _Ej = _Fj._Gh(_SH);
- var _Qj = _Fj._Gh(_TH);
- if (_Ej != null && _Qj != null) {}
- _2q("surface_copy_part() (WebGL)")
- }
- function _cn2(_U8, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- _2q("sprite_add_from_screen() (WebGL)");
- return - 1
- }
- function _bn2(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- _vh = ~~_vh;
- _wh = ~~_wh;
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _Kd._gk1;
- _Kj._K3 = _Kd._hk1;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _vh;
- _Kj._x5 = _wh;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _Kj._Ga.__b = _Kd;
- _Kj._Ga._Od = _QF.width;
- _Kj._Ga._Pd = _QF.height;
- var _Ij = new _Jj();
- _Ij._Mj = _Kj;
- return _Nj._Oj(_Ij)
- }
- debug("Surface " + _Ch + " does not exist");
- return - 1
- }
- function _an2(_V8, _W8, _vh, _wh, _Aj, _Bj) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- var _Kd = _sa._0k1(_QF, _V8, _W8, _vh, _wh, _Aj, _Bj, (_Sn > 0));
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _Kd._gk1;
- _Kj._K3 = _Kd._hk1;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _vh;
- _Kj._x5 = _wh;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _Kj._Ga.__b = _Kd;
- _Kj._Ga.width = _J3;
- _Kj._Ga.height = _K3;
- _Kj._Ga._Od = _J3;
- _Kj._Ga._Pd = _K3;
- var _Ij = new _Jj();
- _Ij._Mj = _Kj;
- return _Nj._Oj(_Ij)
- }
- function _dn2(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj, _ZF, __F) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- _vh = ~~_vh;
- _wh = ~~_wh;
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _Kd._gk1;
- _Kj._K3 = _Kd._hk1;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _vh;
- _Kj._x5 = _wh;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _Kj._Ga.__b = _Kd;
- _Kj._Ga._Od = _QF.width;
- _Kj._Ga._Pd = _QF.height;
- var _TF = new _0G();
- _TF._Z2 = "surface.copy";
- _TF.width = _vh;
- _TF.height = _wh;
- _TF._Iy = new _Iq();
- _TF._Iy._q9 = _TF.width;
- _TF._Iy.bottom = _TF.height;
- _TF._03 = !0;
- _TF._13 = !0;
- _TF.preload = !0;
- _TF._3G = 0;
- _TF._4G = !1;
- _TF._23 = _ZF;
- _TF._33 = __F;
- _TF._5G = !0;
- _TF._P9 = 1;
- _TF._gG = 0;
- _TF._6G = !1;
- _TF._7G = !1;
- _TF._Q9 = [];
- _TF._VF = [];
- _TF._8G = [];
- _TF._9G();
- _TF._VF[0] = _Kj;
- var _1G = _Ry._2G(_TF);
- return _1G
- }
- debug("Surface " + _Ch + " does not exist");
- return - 1
- }
- function _en2(_U8, _Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) {
- var _Tj = _Fj._Gh(_Ch);
- if (_Tj != null) {
- _V8 = ~~_V8;
- _W8 = ~~_W8;
- _vh = ~~_vh;
- _wh = ~~_wh;
- var _QF = document.createElement(_cq);
- var _RF = _QF.getContext('2d');
- _SF(_RF);
- var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj);
- var _Kj = new _Lj();
- _Kj._f3 = 0;
- _Kj._g3 = 0;
- _Kj._J3 = _fG.width;
- _Kj._K3 = _fG.height;
- _Kj._s5 = 0;
- _Kj._t5 = 0;
- _Kj._u5 = _Kj._J3;
- _Kj._v5 = _Kj._K3;
- _Kj._w5 = _Kj._J3;
- _Kj._x5 = _Kj._K3;
- _Kj._y5 = _WF(_QF);
- _Kj._Ga = _Ha[_Kj._y5];
- _Kj._Ga.__b = _Kd;
- _Kj._Ga._Od = _QF.width;
- _Kj._Ga._Pd = _QF.height;
- _fG = _Ry._Gh(_U8);
- _fG._VF[_fG._VF.length] = _Kj;
- _fG._P9++;
- return _U8
- }
- debug("Surface " + _Ch + " does not exist");
- return - 1
- }
- function _fn2(_Ch) {
- var _OA = _PA._Gh(_Ch);
- if (_OA) {
- var _2c, _882, _3o2, _ac, _cc, _ec, _aa, _ba, _x9, _y9;
- var _xk = ~~ ((_Ad * 255.0) << 24) | (0xff0000 & 0xffffff);
- var _yk = ~~ ((_Ad * 255.0) << 24) | (0x00ff00 & 0xffffff);
- var _Ea = 6 * (_OA._HA * _OA._GA);
- _2c = _sa._3c(_4c._5c, null, _sa._6c, _Ea);
- _Dp2 = _2c._9c << 1;
- _3o2 = _2c._9c;
- _2c._9c += _Ea;
- _ac = _2c._bc;
- _cc = _2c._dc;
- for (var _g3 = 0; _g3 < _OA._HA; _g3++) {
- for (var _f3 = 0; _f3 < _OA._GA; _f3++) {
- var _1b = _yk;
- if (_OA._KA[_g3 + _OA._GA * _f3] < 0) _1b = _xk;
- _aa = ~~ (_OA._EA + _f3 * _OA._IA);
- _ba = ~~ (_OA._FA + _g3 * _OA._JA);
- _x9 = _aa + _OA._IA;
- _y9 = _ba + _OA._JA;
- _ac[_Dp2 + 10] = _ac[_Dp2 + 8] = _ac[_Dp2 + 0] = _aa;
- _ac[_Dp2 + 11] = _ac[_Dp2 + 3] = _ac[_Dp2 + 1] = _ba;
- _ac[_Dp2 + 6] = _ac[_Dp2 + 4] = _ac[_Dp2 + 2] = _x9;
- _ac[_Dp2 + 9] = _ac[_Dp2 + 7] = _ac[_Dp2 + 5] = _y9;
- _cc[_3o2] = _cc[_3o2 + 1] = _cc[_3o2 + 2] = _cc[_3o2 + 3] = _cc[_3o2 + 4] = _cc[_3o2 + 5] = _1b;
- _Dp2 += 12;
- _3o2 += 6
- }
- }
- return
- }
- _Xg("Error: invalid mp_grid ID (mp_grid_draw)")
- }
- function _gn2(_Ch, _DC, _EC, _zC) {
- var _FC = _GC._a3[_Ch];
- if (!_FC) return;
- var _2c, _No2, _ac, _cc, _ec, _7c;
- var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff);
- var _0a, _2a, _jr;
- var _HC = 0;
- var _IC = _FC._JC(0);
- if (!_zC) {
- _DC = _DC - _IC._f3;
- _EC = _EC - _IC._g3
- } else {
- _DC = 0;
- _EC = 0
- }
- _HC = _Xi(_FC.length / 4.0);
- if (_HC == 0) return;
- var _Ea = _HC * 2;
- _2c = _sa._3c(_4c._pd, null, _sa._6c, _Ea);
- _7c = _2c._8c() >> 2;
- _No2 = _7c * _2c._9c;
- _2c._9c += _Ea;
- _ac = _2c._bc;
- _cc = _2c._dc;
- for (var _H3 = 0; _H3 < _HC; _H3++) {
- _IC = _FC._JC(_H3 / _HC);
- _aa = ~~ (_DC + _IC._f3);
- _ba = ~~ (_EC + _IC._g3);
- _cc[_No2 + 0] = _1b;
- _ac[_No2 + 0] = _aa;
- _ac[_No2 + 1] = _ba;
- _No2 += _7c;
- _IC = _FC._JC((_H3 + 1) / _HC);
- _x9 = ~~ (_DC + _IC._f3);
- _y9 = ~~ (_EC + _IC._g3);
- _cc[_No2 + 0] = _1b;
- _ac[_No2 + 0] = _x9;
- _ac[_No2 + 1] = _y9;
- _No2 += _7c
- }
- }
- function _Gm2(__p) {
- _sa._Hj1(__p)
- }
- function _Zm2(_zh, _Ni1) {
- _3m2 = _zh;
- _4m2 = _Ni1;
- _sa._Mi1(_3m2, _4m2)
- }
- function __m2(_Ep2) {
- if (_Ep2) {
- _2x(0);
- } else {
- _4x(_wu, _vu)
- }
- }
- function _hn2(_Ca) {
- if (_Ca) {
- return 1.0 / _Ca._vd._Od
- }
- return 1.0
- }
- function _in2(_Ca) {
- if (_Ca) {
- return 1.0 / _Ca._vd._Pd
- }
- return 1
- }
- function _jn2(_aj1, _Ye) {
- _sa._Jj1(_aj1, _Ye._vd.__b)
- }
- function _kn2(_Fp2) {
- if (_bm2[_Fp2] && _bm2[_Fp2]._zi1) {
- return 1
- }
- return 0
- }
- function _ln2(_Fp2) {
- var _ii1 = (_Fp2 == -1) ? _En() : _bm2[_Fp2]._zi1;
- if (_ii1) {
- _sa._Dn(_ii1)
- }
- }
- function _mn2(_Fp2, _Gp2) {
- var _ii1 = (_Fp2 == -1) ? _En() : _bm2[_Fp2]._zi1;
- if (_ii1) {
- return _sa._xj1(_bm2[_Fp2]._zi1, _Gp2)
- }
- return undefined
- }
- function _nn2(_Aj1, _Bj1) {
- if (_Aj1) {
- _sa._Hp2(_Aj1, _Bj1)
- }
- }
- function _on2(_Aj1, _Bj1) {
- if (_Aj1) {
- _sa._Cj1(_Aj1, _Bj1)
- }
- }
- function _pn2(_Aj1, _Bj1) {
- if (_Aj1) {
- _sa._Dj1(_Aj1, _Bj1)
- }
- }
- function _qn2(_Fp2, _Ye) {
- if (_bm2[_Fp2]) {
- var _ii1 = _bm2[_Fp2];
- if (_ii1) {
- for (var _H3 = 0; _H3 < _ii1._Ai1.length; _H3++) {
- if (_ii1._Ai1[_H3] == _Ye) {
- return Number(_H3)
- }
- }
- }
- }
- return 0
- }
- function _rn2(_2I) {
- _k12 = _2I
- }
- function _sn2(_Aj1, _tu, _Fj1) {
- if (_tu instanceof Array) {
- var _Fi1 = new Int32Array(_tu);
- _sa._Ej1(_Aj1, _Fi1, _Fj1)
- } else {
- alert('ERROR: shader_set_uniform_i_array() Data is not an array')
- }
- }
- function _tn2(_Aj1, _tu, _Fj1) {
- if (_tu instanceof Array) {
- var _Fi1 = new Float32Array(_tu);
- _sa._Gj1(_Aj1, _Fi1, _Fj1)
- } else {
- alert('ERROR: shader_set_uniform_f_array() Data is not an array')
- }
- }
- function _un2(_Aj1, _tu) {
- if (_tu instanceof Array) {
- var _Fi1 = new Float32Array(_tu);
- _sa._Dj1(_Aj1, _Fi1)
- } else {
- alert('ERROR: shader_set_uniform_matrix_array() Data is not an array')
- }
- }
- function _wn2(_3x) {}
- function _xn2(_Ip2) {
- var _Di1 = _sa._lj1();
- for (var _Ei1 = 0; _Ei1 < _Di1; _Ei1++) {
- _jX1(_Ei1, _Ip2)
- }
- }
- function _yn2(_aj1, _Ip2) {
- _7m2[_aj1] = _Ip2 ? !0 : !1;
- _sa._9j1(_aj1, _7m2[_aj1])
- }
- function _zn2(_lX1) {
- var _Di1 = _sa._lj1();
- for (var _Ei1 = 0; _Ei1 < _Di1; _Ei1++) {
- _mX1(_Ei1, _lX1)
- }
- }
- function _An2(_aj1, _lX1) {
- _sa._hj1(_aj1, _lX1 ? _4c._Al1: _4c._Bl1)
- }
- function _Bn2() {
- return _7m2[0]
- };
- function _Cn2(_Ca) {
- if (typeof(_Ca) == "object") {
- return 1.0
- } else if ((_Ca != -1) && _Ha[_Ca]) {
- return 1.0
- }
- return 0
- }
- function _Dn2(_Ca) {
- if (typeof(_Ca) == "object") {
- return 1.0
- } else if ((_Ca != -1) && _Ha[_Ca]) {
- return 1.0
- }
- return 0
- }
- function _vn2() {
- return 1
- }
- function _En2(_Bn) {
- _5m2 = (_Bn > 0.5) ? !0 : !1;
- _sa._7j1(_5m2, _6m2)
- }
- function _Fn2(_bt) {
- _6m2 = _bt;
- _sa._7j1(_5m2, _6m2)
- }
- function _Gn2() {
- return (_5m2 ? 1.0 : 0.0)
- }
- function _Hn2() {
- return _6m2
- }
- function _Ko(_ce, _Vl) {
- _gp[_ce] = new _Gn(_Vl);
- switch (_ce) {
- case _em2:
- _sa._Tn(_gp[_ce]);
- _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn);
- break;
- case _fm2:
- _sa._Mn(_gp[_ce]);
- break;
- case _Lo:
- _sa._Oj1(_gp[_ce]);
- break
- }
- }
- function _Uo(_ce) {
- switch (_ce) {
- case _em2:
- case _fm2:
- case _Lo:
- return _gp[_ce];
- break
- }
- }
- function _Qn2() {
- if (_Yp._v3) {
- for (var _H3 = 0; _H3 < _Yp._v3.length; _H3++) {
- var _yi1 = _Yp._v3[_H3];
- _bm2[_H3] = _sa._ui1(_yi1._wo, _yi1._Jp2, _yi1._Kp2)
- }
- }
- return ! 0
- }
- function _Xm2(_Cd) {
- _ps = _Cd;
- _Bd = _Dd(_Cd)
- }
- function _0c(_lG) {
- if (!_lG.__b) {
- var _Kd = _sa._Qj1(_lG._Ga);
- _lG._Ga.__b = _Kd;
- _lG._Ga._Od = _lG._Ga.width;
- _lG._Ga._Pd = _lG._Ga.height
- }
- }
- var _Lp2 = 0;
- var _Mp2 = 100;
- var canvas = null;
- var _Np2, _Op2, _Pp2, _Qp2, _Rp2, _Sp2, _Tp2, _Up2;
- var _U32 = !1;
- var _yb = null;
- var g_CurrentGraphics;
- var _Vp2 = null;
- var _yH = null;
- var _Wp2 = 0;
- var _Xp2 = !1;
- var _Yp2 = 0;
- var _Zp2 = 0;
- var __p2 = 0;
- var _0q2 = 0;
- var _Wp = 0;
- var _1q2 = 0;
- var _gH1 = 60;
- var _2q2;
- var _3q2 = new Date().getTime();
- var _4q2;
- var _5q2 = null;
- var _RG = -1;
- var _BL = -1;
- var _CL = -1;
- var _ij2 = !0;
- var _6q2 = !0;
- var _AL = !0;
- var _7q2 = -1;
- var _8q2 = -1;
- var _TG = -1;
- var _UG = -1;
- var _SG = !1;
- var _zL = !0;
- var _DL = {
- _f3: 0,
- _g3: 0,
- _J3: 0,
- _K3: 0
- };
- var _qj2 = !1;
- if (window.chrome && window.chrome.app) {
- _U32 = !0;
- try {
- if (window && window['localStorage']) {
- _U32 = !1
- }
- } catch(e) {}
- }
- window.onload = _9q2;
- window.requestAnimFrame = (function() {
- return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame ||
- function(_tR, _ge) {
- _2q2 = window.setTimeout(_tR, 1000 / 60)
- }
- })();
- var _Up = null;
- function _9p1() {
- if (_FK1 == _PK1) {
- _pE1()
- }
- var _I3 = document.getElementById(_cq);
- var _xr = _I3.parentNode;
- var load = document.createElement('canvas');
- load.style.position = "absolute";
- load.style.left = "0px";
- load.style.top = "0px";
- load.width = _I3.width;
- load.height = _I3.height;
- load.setAttribute("id", "loading_screen");
- _xr.insertBefore(load, _I3.nextSibling);
- _Vp2 = load.getContext('2d');
- _SF(_Vp2);
- _Vp2._Lu();
- _Vp2.globalCompositeOperation = 'copy';
- _Vp2.fillStyle = _vv(0x00000000);
- _Vp2.globalAlpha = 1;
- _Vp2._Lv(0, 0, _I3.width, _I3.height);
- _Vp2._Su()
- }
- function _ap1() {
- var _I3 = document.getElementById(_cq);
- var _R9 = document.getElementById("loading_screen");
- var _xr = _I3.parentNode;
- _xr.removeChild(_R9);
- _Vp2 = null;
- _Xp2 = !1;
- }
- function _Og(_fh1, _322) {
- _322.left = 0;
- _322.top = 0;
- _L52 = _fh1; {
- while (_L52 != null) {
- _322.left += _L52.offsetLeft;
- _322.top += _L52.offsetTop;
- _L52 = _L52.offsetParent
- }
- }
- _322._q9 = _322.left + _bI;
- _322.bottom = _322.top + _cI
- }
- function _aq2(_lz) {
- _qT1 = [];
- _zp1 = [];
- _Ap1 = [];
- _Bp1 = 0;
- var _Pt = _lz.search;
- var _dr = _lz.protocol + "//" + _lz.host + _lz.pathname;
- _zp1[0] = _dr;
- _Ap1[0] = null;
- if (_Pt[0] == "?") _Pt = _Pt.substring(1, _Pt.length);
- var index = start = 0;
- var _yp1 = "";
- var _cf = null;
- while (index < _Pt.length) {
- var _I3 = _Pt[index];
- if (_I3 == "&") {
- if (_yp1 != "") {
- if (start != index) _cf = _Pt.substring(start, index);
- _zp1[_zp1.length] = _yp1;
- _Ap1[_Ap1.length] = _cf;
- _qT1[_yp1] = _cf;
- _Bp1++;
- _yp1 = "";
- _cf = null
- }
- start = index + 1
- } else if (_I3 == "=") {
- _yp1 = _Pt.substring(start, index);
- _cf = null;
- start = index + 1
- }
- index++
- }
- if (_yp1 != "") {
- if (start != index) _cf = _Pt.substring(start, index);
- _zp1[_zp1.length] = _yp1;
- _Ap1[_Ap1.length] = _cf;
- _qT1[_yp1] = _cf;
- _Bp1++;
- _yp1 = _cf = ""
- }
- }
- function _672() {
- _Np2 = canvas.style.position;
- _Op2 = canvas.style.left;
- _Pp2 = canvas.style.top;
- _Qp2 = canvas.style;
- _Rp2 = canvas.parentNode;
- _Sp2 = canvas.nextSibling;
- _Tp2 = !1;
- _Up2 = canvas.margin;
- if ((_Rp2 == document.body) || (canvas.mozRequestFullScreen) || (canvas.webkitRequestFullScreen)) {
- _Tp2 = !0
- }
- }
- function _9q2() {
- debug('------- GameMaker_Init -------------');
- if (!document.getElementById || !document.createElement) return;
- canvas = document.getElementById(_cq);
- _yb = null;
- if (!canvas) return;
- _aq2(window.location);
- _Yp = _U2;
- _UU1();
- if (_FK1 == _PK1) {
- _YD1(canvas)
- }
- _LH1();
- _CT1 = !1;
- if ((_Yp._A5._P5) && (_Yp._A5._P5 != 0)) {
- _GT1 = _Yp._A5._F5;
- var _bq2 = undefined;
- if (_yz != _BK1) {
- _bq2 = _Jn2(canvas)
- }
- if (_bq2) {
- _yb = _sa
- } else {
- if (_Yp._A5._P5 == 1) {
- _CT1 = !0
- }
- _yb = canvas.getContext('2d');
- }
- } else {
- _yb = canvas.getContext('2d')
- }
- g_CurrentGraphics = _yb;
- _QT1 = canvas.width;
- _RT1 = canvas.height;
- if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {
- _4h = _9T1
- } else if (_Yp._A5._R5 == !0) {
- _4h = _5h
- }
- if (_FK1 == _PK1) {
- _4h = _5h
- }
- if (_4h == _5h) {
- try {
- g_WebAudioContext = new webkitAudioContext()
- } catch(e) {
- debug('Web Audio API not supported in this browser');
- _4h = _aT1
- }
- _tE()
- }
- document.body.style._cq2 = "hidden";
- _yH = _yb;
- _9w = canvas.width;
- _bw = canvas.height;
- _bI = _9w;
- _cI = _bw;
- if (_FK1 != _PK1) {
- _BL = _bI;
- _CL = _cI
- }
- _zL = (_Yp._A5.scale != 0);
- _Pg = new _Iq();
- _Og(canvas, _Pg);
- _dI = _Pg.top;
- _eI = _Pg.left;
- _fI = _Pg._q9;
- _gI = _Pg.bottom;
- if (_Yp._A5._nr) {
- _8r(_Yp._A5._nr)
- } else if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._3r) {
- _Yp._A5._3r()
- }
- _672();
- _SF(_yb);
- if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") {
- document.body.oncontextmenu = function() {
- return ! 1
- }
- }
- _mh();
- _lV1 = document.getElementById('GM4HTML5_loadingscreen');
- if ((_Yp._A5 && _Yp._A5._B5) || (_Yp._A5 && _Yp._A5._B5 == undefined)) {
- _Tp = !0
- }
- if (_sa && _Tp) {
- debug("WebGL Enabled!");
- debug("Max Texture Size=" + _sa._9i1())
- }
- _rV1();
- _JK();
- if (_CT1) {
- _Wp2 = -2
- } else {
- if (_Tp) _w6._M02 = _Yp._A5._B5;
- _7p1 = "";
- _8p1 = function() {};
- if (_Yp._A5) {
- if (_Yp._A5._6p1) {
- _7p1 = _Yp._A5._6p1
- }
- }
- if (_7p1 != "") {
- __V1(_Yp);
- _Wp2 = -1
- } else {
- _4W1(_Yp);
- _Wp2 = 0
- }
- }
- if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {
- if (_sa) _5q2 = setInterval(_dq2, 1000 / (30));
- else _5q2 = setInterval(_dq2, 1000 / (20))
- } else {
- requestAnimFrame(_dq2);
- }
- }
- function _dq2() {
- if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined" || _5q2 == null) {
- requestAnimFrame(_dq2)
- }
- switch (_Wp2) {
- case - 2 : {
- if (_Xp2) _ap1();
- _eq2(_yb, _bI, _cI);
- break
- }
- case - 1 : if (_jV1 == _kV1) {
- _4W1(_Yp);
- _Wp2 = 0;
- if (!_Xp2) {
- _9p1();
- _Xp2 = !0
- }
- _7p1(_Vp2, _bI, _cI, _iV1, _tF, _lV1)
- }
- break;
- case 0:
- if (!_Xp2) {
- _9p1();
- _Xp2 = !0
- }
- if (_tF >= _iV1) {
- _tF = _iV1;
- _Wp2 = 1
- }
- _cW1();
- _7p1(_Vp2, _bI, _cI, _iV1, _tF, _lV1);
- break;
- case 1:
- _ap1();
- _qW1(_Yp);
- _Wp2 = 2;
- break;
- case 2:
- _8p1();
- _fq2();
- _Wp2 = 3;
- _w6._N_1 = new Date().getTime();
- break;
- case 3:
- _gq2();
- break
- }
- }
- function _hq2(_Z12, _f3, _g3, _b5, text) {
- _Z12.fillStyle = _b5;
- _Z12.lineStyle = _b5;
- _Z12.font = "14px Verdana";;
- _Z12.textAlign = "center";
- _Z12.fillText(text, _f3, _g3);
- _Z12.textAlign = "left"
- }
- function _eq2(_Z12, _Aa, _Ba) {
- _Z12.fillStyle = _Uj(0x151515, 1.0);
- _Z12.fillRect(0, 0, _Aa, _Ba);
- _hq2(_Z12, _Aa / 2, (_Ba / 2), _Uj(0x8d8f90, 1.0), "WebGL is Required to run this application.")
- }
- function _6W1(_yb, _Aa, _Ba, _iq2, _jq2, _kq2) {
- _yb.globalAlpha = 1;
- if (_kq2) {
- _yb.save();
- _yb.fillStyle = _Uj(0, 1);
- _yb.globalCompositeOperation = 'copy';
- _yb.fillRect(0, 0, _Aa, _Ba);
- _yb.restore();
- _yb.drawImage(_lV1, 0, 0, _Aa, _Ba)
- } else {
- var _lq2 = (_Aa / 100) * 50;
- var _mq2 = 2;
- var _f3 = (_Aa - _lq2) / 2;
- var _g3 = 10 + (_Ba - _mq2) / 2;
- _yb.fillStyle = _Uj(0x151515, 1.0);
- _yb.fillRect(0, 0, _Aa, _Ba);
- if (_jq2 != 0) {
- var _J3 = (_lq2 / _iq2) * _jq2;
- _yb.fillStyle = _Uj(0x404040, 1.0);
- _yb.fillRect(_f3, _g3, _lq2, _mq2);
- _yb.fillStyle = _Uj(0x8d8f90, 1.0);
- _yb.fillRect(_f3, _g3, _J3, _mq2)
- }
- _hq2(_yb, _Aa / 2, (_Ba / 2), _Uj(0x8d8f90, 1.0), "Loading")
- }
- }
- function _nq2(_Bj2) {
- _Nj._zg();
- var _oq2 = _Bj2._HD._d5;
- for (var _H3 = 0; _H3 < _oq2.length; _H3++) {
- _Nj._Wh(_oq2[_H3]);
- var _hZ1 = _Nj._Gh(_H3);
- var _pq2 = _Nj._Xj(_H3);
- _w6._T_1[_H3] = _hZ1._Q3;
- _w6._U_1[_H3] = _hZ1._7Z1;
- _w6._V_1[_H3] = _hZ1.index;
- _w6._W_1[_H3] = _hZ1._f3;
- _w6._X_1[_H3] = _hZ1._g3;
- if (_pq2) {
- _w6._Y_1[_H3] = _pq2._Mj._J3;
- _w6._Z_1[_H3] = _pq2._Mj._K3
- } else {
- _w6._Y_1[_H3] = 0;
- _w6._Z_1[_H3] = 0
- }
- _w6.___1[_H3] = _hZ1._8Z1;
- _w6._002[_H3] = _hZ1._9Z1;
- _w6._102[_H3] = _hZ1._dZ1;
- _w6._202[_H3] = _hZ1._eZ1;
- _w6._402[_H3] = _hZ1._bZ1;
- _w6._302[_H3] = _hZ1._aZ1;
- _w6._502[_H3] = _hZ1._iX1;
- _w6._602[_H3] = _hZ1.alpha
- }
- _w6._R_1 = _Bj2._Vh2
- }
- function _qq2(_Mg2, _rq2) {
- if (_H8) _H8._tj2();
- var _sq2 = _H8;
- _LD = -1;
- _dy._g9(_bL1, 0);
- _n82();
- var _65 = [];
- if (_sq2 != null) {
- for (var _H3 = _sq2._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = _sq2._Fy._Gh(_H3);
- if (_Ay._65) {
- _65[_65.length] = _Ay;
- _Ay._tq2 = !0
- }
- }
- for (var _H3 = _65.length - 1; _H3 >= 0; _H3--) {
- _sq2._Fy._MK(_65[_H3])
- }
- if (_sq2._Th2 === !1) {
- _sq2._Di2()
- } else {
- for (var _H3 = _sq2._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = _sq2._Fy._Gh(_H3);
- _Ay._Oy._v42(_Ay)
- }
- }
- }
- _dh._zg();
- _0f._zg();
- _Og2();
- _H8 = _FD._Gh(_Mg2);
- var _uq2 = _H8._Th2;
- if (_uq2 === !0 && _H8._Uh2 === !1) {
- _uq2 = !1
- }
- if (_uq2 === !1) {
- _H8._zW1(_H8._HD);
- _H8._Mi2()
- } else {
- _H8._7i2(_H8._Hn1);
- _H8._8i2(_H8._In1);
- _H8._9i2(_H8._Sh2);
- _H8._bi2(_H8._Rh2);
- _H8._R02(_H8._Th2);
- _H8._Mi2();
- for (_H3 = _H8._Fy.length - 1; _H3 >= 0; _H3--) {
- var _Ay = _H8._Fy._Gh(_H3);
- _Ay._Oy._w42(_Ay)
- }
- }
- _w6._F_1 = _H8.id;
- _H8._Hi2();
- _7j2();
- _nq2(_H8);
- if (_uq2 === !1) {
- _H8._yi2();
- _H8._Di2();
- _H8._Di2();
- _Fy = new _ne2();
- var _vq2 = _H8._HD._h5;
- for (var _R9 = 0; _R9 < _H8._HD._h5.length; _R9++) {
- var _AZ = !1;
- var _wq2 = _H8._HD._h5[_R9];
- if (_wq2.index >= 0) {
- for (var _vb = _65.length - 1; _vb >= 0; _vb--) {
- if (_wq2.id == _65[_vb].id) {
- _AZ = !0;
- break
- }
- }
- if (!_AZ) {
- var _QA = _H8._w42(_wq2._f3, _wq2._g3, _wq2.id, _wq2.index, _wq2._E3, _wq2._F3, _wq2._i5, _wq2._b5);
- _QA._tq2 = !1
- }
- }
- }
- var _vq2 = _H8._HD._h5;
- for (var _R9 = 0; _R9 < _H8._HD._h5.length; _R9++) {
- var _wq2 = _H8._HD._h5[_R9];
- var _QA = _dy._Gh(_wq2.id);
- if (_QA && (_QA._tq2 == !1)) {
- _QA._tq2 = !0;
- if (!_DT1) {
- if (_wq2._wi2) _wq2._wi2(_QA);
- _QA._g9(_0j, 0, _QA, _QA)
- } else {
- _QA._g9(_0j, 0, _QA, _QA);
- if (_wq2._wi2) _wq2._wi2(_QA)
- }
- }
- }
- }
- for (var _vb = 0; _vb < _65.length; _vb++) {
- _H8._Fy._Wh(_65[_vb]);
- _65[_vb]._Sy()
- }
- if (_rq2) {
- _dy._g9(_8L1, 0)
- }
- if ((_uq2 == !1) && (_H8.__h2 != null)) {
- _xq2 = new _YU1();
- _H8.__h2(_xq2);
- _xq2 = null
- }
- _dy._g9(_aL1, 0);
- _H8._Uh2 = !0
- }
- function _yq2(_zq2) {
- _qq2(_zq2, !1)
- }
- function _fq2() {
- _w6.__6 = 0;
- _w6._I_1 = -1;
- _JT1 = 0;
- _KT1 = -1;
- _LT1 = 0;
- _MT1 = 0;
- _qq2(_FD._MD(0).id, !0);
- _Yp2 = _Zp2 = _TJ();
- _0q2 = ~~ (_Yp2 / 1000000) + 4;
- _w6._w02 = _gH1;
- _w6._x02 = _gH1
- }
- function _Aq2() {
- _hT1 = [];
- _iT1 = [];
- _RG1 = -1;
- _QG1 = -1;
- _PG1 = 0;
- _H8._Fy._zg();
- _H8._0i2._zg();
- var _3i = _Ys._Gv1;
- for (var _H3 = 0; _H3 < _3i.length; _H3++) {
- var _li = _3i[_H3];
- _li._yI1._zg();
- _li._Zs._zg()
- }
- _dy._zg()
- }
- function _Bq2() {
- _dh._o82()
- }
- function _Cq2() {
- if (_H8._r42.length > 0) _H8._xj2();
- if (_H8._Fy._oe2 >= 0) _H8._Fy._r82()
- }
- function _Dq2() {
- if (_H8._kD) {
- _H8._kD._Ag(_H8._Sh2)
- } else {
- _dy._m62()
- }
- }
- function _Eq2() {
- if ((_H8._kD == null) || (_H8._kD == undefined)) {
- _2I1()
- }
- }
- function _Fq2() {
- _w6._M_1 = (_4q2 - _w6._N_1) * 1000;
- _w6._N_1 = _4q2;
- _dh._w72();
- _MH1();
- _0f._Ag();
- _dy._l62();
- _dy._n62();
- _Cq2();
- if (_LD != -1) return;
- _dy._g9(_6L1, 0);
- _Cq2();
- if (_LD != -1) return;
- if (_To1) {
- _To1 = !1;
- _dy._g9(_PL1, 0)
- }
- _xq._2Z1();
- _Cq2();
- if (_LD != -1) return;
- _II1();
- _Cq2();
- if (_LD != -1) return;
- _RI1();
- _Cq2();
- if (_LD != -1) return;
- _k82();
- _Cq2();
- if (_LD != -1) return;
- _fI1();
- _Cq2();
- if (_LD != -1) return;
- _dy._g9(_5L1, 0);
- _Cq2();
- if (_LD != -1) return;
- _Dq2();
- _NH1();
- _Cq2();
- if (_LD != -1) return;
- _ay();
- _PI();
- _Cq2();
- if (_LD != -1) return;
- _Eq2();
- _Cq2();
- if (_LD != -1) return;
- _dy._g9(_7L1, 0);
- _Cq2();
- if (_LD != -1) return;
- _4h2();
- if (_H8 != null) {
- _H8._tj2();
- if (_zT1) {
- _H8._6b();
- _Cq2()
- }
- }
- _H8._Pi2();
- _Bq2();
- _rE()
- }
- function _7j2() {
- var left, _q9, top, bottom;
- left = 0;
- _q9 = -999999;
- top = 0;
- bottom = -999999;
- if (_H8._Kg) {
- for (var _H3 = 0; _H3 < _H8._Mg.length; _H3++) {
- _Ng = _H8._Mg[_H3];
- if (_Ng._Q3) {
- if (_q9 < _Ng._nH + _Ng._pH) _q9 = _Ng._nH + _Ng._pH;
- if (bottom < _Ng._oH + _Ng._qH) bottom = _Ng._oH + _Ng._qH;
- }
- }
- } else {
- left = 0;
- _q9 = _H8._Hn1;
- top = 0;
- bottom = _H8._In1;
- _eT1._pH = _eT1._lH = _q9;
- _eT1._qH = _eT1._mH = bottom
- }
- if (_6q2) {
- if (!_AL) {
- _BL = _7q2;
- _CL = _8q2
- }
- } else {
- _BL = _bI;
- _CL = _cI;
- if (_VG(_RG)) {
- _1H(_RG);
- _RG = -1
- }
- }
- _AL = _6q2;
- _jI = _bI;
- _kI = _cI;
- _lI = _BL / (_q9 - left);
- _mI = _CL / (bottom - top);
- var _T9 = new _Iq();
- _T9.left = left;
- _T9.top = top;
- _T9._q9 = _q9;
- _T9.bottom = bottom;
- _gH = _T9;
- _uL()
- }
- function _P02() {
- var _J3 = 640;
- if (typeof(window.innerWidth) == 'number') {
- _J3 = window.innerWidth
- } else if (document.documentElement && document.documentElement.clientWidth) {
- _J3 = document.documentElement.clientWidth
- } else if (document.body && document.body.clientWidth) {
- _J3 = document.body.clientWidth
- }
- return _J3
- }
- function _Q02() {
- var _K3 = 480;
- if (typeof(window.innerHeight) == 'number') {
- _K3 = window.innerHeight
- } else if (document.documentElement && document.documentElement.clientHeight) {
- _K3 = document.documentElement.clientHeight
- } else if (document.body && document.body.clientHeight) {
- _K3 = document.body.clientHeight
- }
- return _K3;
- }
- var _Gq2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
- function _VZ1(_2u, length) {
- var _4u = "";
- var _Hq2, _Iq2, _Jq2 = "";
- var _Kq2, _Lq2, _Mq2, _Nq2 = "";
- var _H3 = 0;
- do {
- _Hq2 = _2u.charCodeAt(_H3++);
- _Iq2 = _2u.charCodeAt(_H3++);
- _Jq2 = _2u.charCodeAt(_H3++);
- _Kq2 = _Hq2 >> 2;
- _Lq2 = ((_Hq2 & 3) << 4) | (_Iq2 >> 4);
- _Mq2 = ((_Iq2 & 15) << 2) | (_Jq2 >> 6);
- _Nq2 = _Jq2 & 63;
- if (isNaN(_Iq2)) {
- _Mq2 = _Nq2 = 64
- } else if (isNaN(_Jq2)) {
- _Nq2 = 64
- }
- _4u = _4u + _Gq2.charAt(_Kq2) + _Gq2.charAt(_Lq2) + _Gq2.charAt(_Mq2) + _Gq2.charAt(_Nq2);
- _Hq2 = _Iq2 = _Jq2 = "";
- _Kq2 = _Lq2 = _Mq2 = _Nq2 = ""
- } while ( _H3 < length );
- return _4u
- }
- function _Oq2(data, _Pq2, _Qq2, _UZ1, _Rq2) {
- var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
- var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt;
- var _H3 = 0;
- var _Kt = _UZ1;
- var _Lt = "";
- if (!data) {
- return data
- }
- data += '';
- do {
- _Ft = _Bt.indexOf(data.charAt(_H3++));
- _Gt = _Bt.indexOf(data.charAt(_H3++));
- _Ht = _Bt.indexOf(data.charAt(_H3++));
- _It = _Bt.indexOf(data.charAt(_H3++));
- _Jt = _Ft << 18 | _Gt << 12 | _Ht << 6 | _It;
- _Ct = _Jt >> 16 & 0xff;
- _Dt = _Jt >> 8 & 0xff;
- _Et = _Jt & 0xff;
- if (_Ht == 64) {
- _Qq2[_Kt++] = _Ct;
- if (_Kt >= _Pq2) return _Qq2
- } else if (_It == 64) {
- _Qq2[_Kt++] = _Ct;
- if (_Kt >= _Pq2) return _Qq2;
- _Qq2[_Kt++] = _Dt;
- if (_Kt >= _Pq2) return _Qq2
- } else {
- _Qq2[_Kt++] = _Ct;
- if (_Kt >= _Pq2) return _Qq2;
- _Qq2[_Kt++] = _Dt;
- if (_Kt >= _Pq2) return _Qq2;
- _Qq2[_Kt++] = _Et;
- if (_Kt >= _Pq2) return _Qq2
- }
- } while ( _H3 < data . length );
- if (_Rq2 && _Sq2 < _Pq2) {
- _Qq2[_Sq2++] = '\0'
- }
- return _Qq2
- }
- function _Tq2() {
- _Og(canvas, _Pg);
- _dI = _Pg.top;
- _eI = _Pg.left;
- _fI = _Pg._q9;
- _gI = _Pg.bottom;
- if (_U2._A5) {
- if (!_U2._A5._F5) {
- _yb.mozImageSmoothingEnabled = !1;
- _yb.webkitImageSmoothingEnabled = !1;
- _yb.imagerendering = "pixelated";
- _yb.imageSmoothingEnabled = !1;
- _yb.msInterpolationMode = "nearest-neighbor"
- }
- }
- if ((_QT1 != canvas.width) || (_RT1 != canvas.height)) {
- _To1 = !0
- }
- _QT1 = canvas.width;
- _RT1 = canvas.height;
- var _J3 = _P02();
- var _K3 = _Q02();
- if ((_AT1) && (!_HT1)) {
- if ((_hI != _J3) || (_iI != _K3)) {
- _HT1 = !0;
- _AT1 = !1
- }
- if (canvas.mozRequestFullScreen) {
- if (!document.mozFullScreen) {
- _HT1 = !0;
- _AT1 = !0
- }
- }
- }
- if (_HT1) {
- _HT1 = !1;
- if (_AT1) {
- _J3 = _9w;
- _K3 = _bw;
- _AT1 = !1;
- canvas.style.position = _Np2;
- canvas.style.left = _Op2;
- canvas.style.top = _Pp2;
- canvas.style.margin = _Up2;
- canvas.style = _Qp2;
- if (!_Tp2) {
- if (canvas.parentNode != _Rp2) {
- _Rp2.insertBefore(canvas, _Sp2)
- }
- }
- } else {
- _AT1 = !0;
- _T6(0, 0);
- if (!_Tp2) {
- if (canvas.parentNode == _Rp2) {
- _Rp2.removeChild(canvas);
- document.body.insertBefore(canvas, null)
- }
- }
- }
- canvas.width = _J3;
- canvas.height = _K3;
- _bI = canvas.width;
- _cI = canvas.height;
- _eI = canvas.offsetLeft;
- _fI = _eI + _bI;
- _dI = canvas.offsetTop;
- _gI = _eI + _cI;
- _hI = _bI;
- _iI = _cI;
- _jI = _J3;
- _kI = _Uq2 = 1;
- _mI = 1;
- _7j2()
- }
- if (_FK1 == _PK1) {
- if (_Zp2 > (_UD1 + 1000000)) {
- _tE1();
- _UD1 = _Zp2
- }
- }
- }
- var _Vq2 = 0;
- var _Wq2 = 0.0;
- function _gq2() {
- _Zp2 = _TJ();
- if (_Zp2 < _Yp2 || ((_Zp2 - _Yp2) > 2000000)) {
- _Yp2 = _Zp2;
- _0q2 = _Yp2
- }
- if (_H8._I8() <= 0) {
- _H8._9i2(1)
- }
- _4q2 = new Date().getTime();
- _Wp = ~~ (_Zp2 - _Yp2);
- _Wq2 = ~~ (1000000.0 / _H8._I8()) - _Wp;
- __p2 = max(0, _Wq2);
- __p2 = min(__p2, 1000000.0);
- var _Xq2 = 1000000.0 / _H8._I8();
- if (__p2 > 14000) return;
- _Yp2 = _Zp2 + __p2;
- if (_Yp2 < _0q2) {
- _0q2 = _Yp2
- }
- if (~~_Yp2 > (_0q2 + 1000000)) {
- _gH1 = _1q2;
- _1q2 = 0;
- _0q2 = ~~_Yp2;
- _Yp2 = 0
- }
- _1q2++;
- _w6._w02 = _gH1;
- if (!_Ro1) {
- _Mk2 = 0;
- _Tq2();
- if (_H8 === null) {
- _eT1._Rg = _eT1._rH = _eT1._pH = _eT1._lH = _bI;
- _eT1._Tg = _eT1._sH = _eT1._qH = _eT1._mH = _cI
- } else {
- _7j2()
- }
- if (_LD < 0) _m22(); {
- _Fq2()
- }
- if (_Vq2 < _Mk2) _Vq2 = _Mk2;
- if (_LD < 0) _o22();
- switch (_LD) {
- case - 1 : break;;
- case _QD:
- case _UK1:
- _Yq2 = !1;
- return;
- case _SK1:
- _Aq2();
- _FD._Dj2();
- _fq2();
- break;
- case _TK1:
- _qW1();
- break;
- default:
- _yq2(_LD)
- }
- }
- if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._Zq2) {
- _Yp._A5._Zq2();
- }
- }
|