main-html.js 286 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795
  1. var H1N2z = window;
  2. for (var D2z in H1N2z) {
  3. if (D2z.length === ((0x4A, 0x240) >= (2., 0x8C) ? (7.49E2, 6) : (43.0E1, 50.7E1)) && D2z.charCodeAt((1.18E2 < (59.1E1, 104.7E1) ? (1.107E3, 3) : (11.040E2, 10.))) === (86.4E1 < (0xDC, 113) ? (8.790E2, 7) : (0x19F, 8.48E2) > 43. ? (10.08E2, 100) : (42.90E1, 0x142)) && D2z.charCodeAt(((0x120, 5) >= (14.290E2, 8.58E2) ? (60.5E1, "V") : (0x14, 0x1CA) > (89., 2.65E2) ? (1.129E3, 5) : (9.76E2, 0x64))) === ((5., 2.32E2) > 129. ? (1.369E3, 119) : 1.73E2 >= (12, 35.4E1) ? 0x1E2 : (146, 0x62)) && D2z.charCodeAt(((1.22E2, 54.) >= 85. ? 56 : (0x1A3, 54.6E1) >= 0x1D3 ? (54., 1) : (0x153, 0x105))) === (38. < (91, 0x1C9) ? (5.83E2, 105) : (0x1FC, 0x172)) && D2z.charCodeAt(((48.30E1, 0xF0) > (0x247, 112.60E1) ? (142., 337) : 0x86 > (20, 139.) ? (110.80E1, "u") : (0x1DA, 31) < (0xC2, 116.80E1) ? (24, 0) : (0x1A5, 33))) === (0xAD <= (0x1E8, 63) ? 0x37 : 0x6C <= (0x24C, 0x170) ? (0x32, 119) : (0x228, 1.058E3))) break
  4. };
  5. 'use strict';
  6. var b4o6 = {
  7. 's1P': function(R, c) {
  8. return R > c;
  9. },
  10. 'Q6P': function(R, c) {
  11. return R != c;
  12. },
  13. 'T3E': function(R, c) {
  14. return R != c;
  15. },
  16. 'p8K': function(R, c) {
  17. return R < c;
  18. },
  19. 'c8E': function(R, c) {
  20. return R | c;
  21. },
  22. 'q6E': function(R, c) {
  23. return R - c;
  24. },
  25. 'B8K': function(R, c) {
  26. return R * c;
  27. },
  28. 'G1E': function(R, c) {
  29. return R < c;
  30. },
  31. 'd6E': function(R, c) {
  32. return R / c;
  33. },
  34. 'e2E': function(R, c) {
  35. return R == c;
  36. },
  37. 'K8P': function(R, c) {
  38. return R == c;
  39. },
  40. 's67': function(R, c) {
  41. return R == c;
  42. },
  43. 'x1P': function(R, c) {
  44. return R != c;
  45. },
  46. 'g77': function(R, c) {
  47. return R == c;
  48. },
  49. 's17': function(R, c) {
  50. return R * c;
  51. },
  52. 'N4K': function(R, c) {
  53. return R - c;
  54. },
  55. 'F0P': function(R, c) {
  56. return R != c;
  57. },
  58. 'R1W': function(R, c) {
  59. return R == c;
  60. },
  61. 'a0E': function(R, c) {
  62. return R != c;
  63. },
  64. 'Q0Y': function(R, c) {
  65. return R == c;
  66. },
  67. 's6K': function(R, c) {
  68. return R < c;
  69. },
  70. 'B2E': function(R, c) {
  71. return R != c;
  72. },
  73. 'z5P': function(R, c) {
  74. return R != c;
  75. },
  76. 'C87': function(R, c) {
  77. return R == c;
  78. },
  79. 'I87': function(R, c) {
  80. return R < c;
  81. },
  82. 'Z5E': function(R, c) {
  83. return R != c;
  84. },
  85. 'M9K': function(R, c) {
  86. return R == c;
  87. },
  88. 't0P': function(R, c) {
  89. return R == c;
  90. },
  91. 'R4P': function(R, c) {
  92. return R != c;
  93. },
  94. 'L07': function(R, c) {
  95. return R == c;
  96. },
  97. 'Z6Y': function(R, c) {
  98. return R != c;
  99. },
  100. 'Z1K': function(R, c) {
  101. return R * c;
  102. },
  103. 'U0P': function(R, c) {
  104. return R < c;
  105. },
  106. 'K5E': function(R, c) {
  107. return R != c;
  108. },
  109. 'Z9w': function(R, c) {
  110. return R != c;
  111. },
  112. 'N8P': function(R, c) {
  113. return R != c;
  114. },
  115. 'E4K': function(R, c) {
  116. return R == c;
  117. },
  118. 'I3Y': function(R, c) {
  119. return R instanceof c;
  120. },
  121. 'D5W': function(R, c) {
  122. return R == c;
  123. },
  124. 'N5K': function(R, c) {
  125. return R < c;
  126. },
  127. 'D3Y': function(R, c) {
  128. return R != c;
  129. },
  130. 'E6E': function(R, c) {
  131. return R / c;
  132. },
  133. 'h1K': function(R, c, g, F) {
  134. return R - c - g - F;
  135. },
  136. 'D07': function(R, c) {
  137. return R == c;
  138. },
  139. 'G1K': function(R, c) {
  140. return R != c;
  141. },
  142. 'P2P': function(R, c) {
  143. return R * c;
  144. },
  145. 'i0Y': function(R, c) {
  146. return R | c;
  147. },
  148. 'E8W': function(R, c) {
  149. return R < c;
  150. },
  151. 'j9E': function(R, c) {
  152. return R != c;
  153. },
  154. 'M7E': function(R, c) {
  155. return R != c;
  156. },
  157. 'Q67': function(R, c) {
  158. return R != c;
  159. },
  160. 'f1E': function(R, c) {
  161. return R != c;
  162. },
  163. 'o3Y': function(R, c) {
  164. return R == c;
  165. },
  166. 'w4P': function(R, c) {
  167. return R != c;
  168. },
  169. 'a57': function(R, c) {
  170. return R == c;
  171. },
  172. 't2P': function(R, c) {
  173. return R * c;
  174. },
  175. 'L5W': function(R, c) {
  176. return R == c;
  177. },
  178. 'w6E': function(R, c) {
  179. return R > c;
  180. },
  181. 'd6Y': function(R, c) {
  182. return R != c;
  183. },
  184. 'k6P': function(R, c) {
  185. return R == c;
  186. },
  187. 'f5K': function(R, c) {
  188. return R != c;
  189. },
  190. 'M3K': function(R, c) {
  191. return R != c;
  192. },
  193. 'h7P': function(R, c) {
  194. return R / c;
  195. },
  196. 'U7Y': function(R, c) {
  197. return R instanceof c;
  198. },
  199. 'E5K': function(R, c) {
  200. return R | c;
  201. },
  202. 'F1W': function(R, c) {
  203. return R == c;
  204. },
  205. 'b0P': function(R, c) {
  206. return R < c;
  207. },
  208. 'o1W': function(R, c) {
  209. return R <= c;
  210. },
  211. 'V4W': function(R, c) {
  212. return R / c;
  213. },
  214. 'I5P': function(R, c) {
  215. return R * c;
  216. },
  217. 'E1Y': function(R, c) {
  218. return R != c;
  219. },
  220. 'R47': function(R, c) {
  221. return R != c;
  222. },
  223. 'i3W': function(R, c) {
  224. return R != c;
  225. },
  226. 'C3E': function(R, c) {
  227. return R - c;
  228. },
  229. 'U47': function(R, c) {
  230. return R * c;
  231. },
  232. 'U6W': function(R, c) {
  233. return R | c;
  234. },
  235. 'f6E': function(R, c) {
  236. return R - c;
  237. },
  238. 'S8P': function(R, c) {
  239. return R == c;
  240. },
  241. 'I1W': function(R, c) {
  242. return R < c;
  243. },
  244. 'e4E': function(R, c) {
  245. return R < c;
  246. },
  247. 'C7E': function(R, c) {
  248. return R * c;
  249. },
  250. 'y57': function(R, c) {
  251. return R != c;
  252. },
  253. 's4E': function(R, c) {
  254. return R == c;
  255. },
  256. 'u77': function(R, c) {
  257. return R & c;
  258. },
  259. 'r7W': function(R, c) {
  260. return R != c;
  261. },
  262. 'e0Y': function(R, c) {
  263. return R == c;
  264. },
  265. 'g2W': function(R, c) {
  266. return R * c;
  267. },
  268. 'u0W': function(R, c) {
  269. return R | c;
  270. },
  271. 'J2P': function(R, c) {
  272. return R * c;
  273. },
  274. 'y5w': function(R, c) {
  275. return R instanceof c;
  276. },
  277. 'p6P': function(R, c) {
  278. return R != c;
  279. },
  280. 'm8K': function(R, c) {
  281. return R < c;
  282. },
  283. 'k6K': function(R, c) {
  284. return R == c;
  285. },
  286. 'R5W': function(R, c) {
  287. return R == c;
  288. },
  289. 'G1Y': function(R, c) {
  290. return R != c;
  291. },
  292. 'g6Y': function(R, c) {
  293. return R == c;
  294. },
  295. 'X0W': function(R, c) {
  296. return R | c;
  297. },
  298. 'M3E': function(R, c) {
  299. return R - c;
  300. },
  301. 'D9E': function(R, c) {
  302. return R == c;
  303. },
  304. 'I7E': function(R, c) {
  305. return R * c;
  306. },
  307. 'c6P': function(R, c) {
  308. return R == c;
  309. },
  310. 'p4E': function(R, c) {
  311. return R < c;
  312. },
  313. 'r0Y': function(R, c) {
  314. return R == c;
  315. },
  316. 's9W': function(R, c) {
  317. return R == c;
  318. },
  319. 'A7W': function(R, c) {
  320. return R == c;
  321. },
  322. 'b9E': function(R, c) {
  323. return R != c;
  324. },
  325. 'b27': function(R, c) {
  326. return R == c;
  327. },
  328. 's2K': function(R, c) {
  329. return R < c;
  330. },
  331. 'Q57': function(R, c) {
  332. return R != c;
  333. },
  334. 'j9K': function(R, c) {
  335. return R != c;
  336. },
  337. 't0K': function(R, c) {
  338. return R - c;
  339. },
  340. 'C5W': function(R, c) {
  341. return R == c;
  342. },
  343. 'v2K': function(R, c) {
  344. return R != c;
  345. },
  346. 'X97': function(R, c) {
  347. return R != c;
  348. },
  349. 'K1Y': function(R, c) {
  350. return R != c;
  351. },
  352. 'J0K': function(R, c) {
  353. return R == c;
  354. },
  355. 'z27': function(R, c) {
  356. return R > c;
  357. },
  358. 'W3E': function(R, c) {
  359. return R != c;
  360. },
  361. 'd77': function(R, c) {
  362. return R == c;
  363. },
  364. 'P9E': function(R, c) {
  365. return R <= c;
  366. },
  367. 'f1Y': function(R, c) {
  368. return R != c;
  369. },
  370. 'd3K': function(R, c) {
  371. return R == c;
  372. },
  373. 'T87': function(R, c) {
  374. return R == c;
  375. },
  376. 'T2P': function(R, c) {
  377. return R * c;
  378. },
  379. 'C47': function(R, c) {
  380. return R / c;
  381. },
  382. 'd8P': function(R, c) {
  383. return R != c;
  384. },
  385. 'r8E': function(R, c) {
  386. return R * c;
  387. },
  388. 'U3E': function(R, c) {
  389. return R <= c;
  390. },
  391. 'y2K': function(R, c) {
  392. return R % c;
  393. },
  394. 'n6Y': function(R, c) {
  395. return R != c;
  396. },
  397. 'o0K': function(R, c) {
  398. return R == c;
  399. },
  400. 'y0Y': function(R, c) {
  401. return R > c;
  402. },
  403. 'R0K': function(R, c) {
  404. return R - c;
  405. },
  406. 'H9E': function(R, c) {
  407. return R <= c;
  408. },
  409. 'h0W': function(R, c) {
  410. return R == c;
  411. },
  412. 'h97': function(R, c) {
  413. return R != c;
  414. },
  415. 's2E': function(R, c) {
  416. return R != c;
  417. },
  418. 't1W': function(R, c) {
  419. return R == c;
  420. },
  421. 'A5w': function(R, c) {
  422. return R != c;
  423. },
  424. 'x8K': function(R, c) {
  425. return R < c;
  426. },
  427. 'o5W': function(R, c) {
  428. return R == c;
  429. },
  430. 'T27': function(R, c) {
  431. return R > c;
  432. },
  433. 'Y0Y': function(R, c) {
  434. return R != c;
  435. },
  436. 'X9w': function(R, c) {
  437. return R == c;
  438. },
  439. 'h9w': function(R, c) {
  440. return R == c;
  441. },
  442. 'o3E': function(R, c) {
  443. return R - c;
  444. },
  445. 'w37': function(R, c) {
  446. return R == c;
  447. },
  448. 'V8P': function(R, c) {
  449. return R == c;
  450. },
  451. 't3Y': function(R, c) {
  452. return R == c;
  453. },
  454. 'E9w': function(R, c) {
  455. return R == c;
  456. },
  457. 'D0P': function(R, c) {
  458. return R == c;
  459. },
  460. 'a8E': function(R, c) {
  461. return R != c;
  462. },
  463. 'f7P': function(R, c) {
  464. return R != c;
  465. },
  466. 'y8K': function(R, c) {
  467. return R < c;
  468. },
  469. 'g5E': function(R, c) {
  470. return R != c;
  471. },
  472. 't47': function(R, c) {
  473. return R * c;
  474. },
  475. 'x17': function(R, c) {
  476. return R * c;
  477. },
  478. 'e9W': function(R, c) {
  479. return R < c;
  480. },
  481. 'K2W': function(R, c) {
  482. return R | c;
  483. },
  484. 'z5W': function(R, c) {
  485. return R == c;
  486. },
  487. 'V77': function(R, c) {
  488. return R >> c;
  489. },
  490. 'c8K': function(R, c) {
  491. return R != c;
  492. },
  493. 'F27': function(R, c) {
  494. return R < c;
  495. },
  496. 'K4K': function(R, c) {
  497. return R == c;
  498. },
  499. 'r0E': function(R, c) {
  500. return R < c;
  501. },
  502. 'q5K': function(R, c) {
  503. return R != c;
  504. },
  505. 'y67': function(R, c) {
  506. return R == c;
  507. },
  508. 'q5E': function(R, c) {
  509. return R == c;
  510. },
  511. 'd97': function(R, c) {
  512. return R * c;
  513. },
  514. 'r4E': function(R, c) {
  515. return R <= c;
  516. },
  517. 'e17': function(R, c) {
  518. return R | c;
  519. },
  520. 'w8W': function(R, c) {
  521. return R != c;
  522. },
  523. 'm67': function(R, c) {
  524. return R - c;
  525. },
  526. 'B3W': function(R, c) {
  527. return R == c;
  528. },
  529. 'M7Y': function(R, c) {
  530. return R !== c;
  531. },
  532. 'y7P': function(R, c) {
  533. return R != c;
  534. },
  535. 'B9W': function(R, c) {
  536. return R > c;
  537. },
  538. 'P3K': function(R, c) {
  539. return R != c;
  540. },
  541. 'O6K': function(R, c, g, F) {
  542. return R - c + g - F;
  543. },
  544. 'C2P': function(R, c) {
  545. return R * c;
  546. },
  547. 'f6Y': function(R, c) {
  548. return R != c;
  549. },
  550. 'n1Y': function(R, c) {
  551. return R != c;
  552. },
  553. 'J87': function(R, c) {
  554. return R == c;
  555. },
  556. 'U5W': function(R, c) {
  557. return R == c;
  558. },
  559. 'S4W': function(R, c) {
  560. return R / c;
  561. },
  562. 'e7W': function(R, c) {
  563. return R == c;
  564. },
  565. 'V5E': function(R, c) {
  566. return R == c;
  567. },
  568. 'K6Y': function(R, c) {
  569. return R - c;
  570. },
  571. 'n3P': function(R, c) {
  572. return R != c;
  573. },
  574. 'O8W': function(R, c) {
  575. return R != c;
  576. },
  577. 'O4K': function(R, c) {
  578. return R > c;
  579. },
  580. 'B57': function(R, c) {
  581. return R != c;
  582. },
  583. 'J1W': function(R, c) {
  584. return R != c;
  585. },
  586. 'z7K': function(R, c) {
  587. return R / c;
  588. },
  589. 'Z1Y': function(R, c) {
  590. return R == c;
  591. },
  592. 'F3Y': function(R, c) {
  593. return R == c;
  594. },
  595. 'E77': function(R, c) {
  596. return R & c;
  597. },
  598. 'i57': function(R, c) {
  599. return R < c;
  600. },
  601. 'M6W': function(R, c) {
  602. return R | c;
  603. },
  604. 'E5E': function(R, c) {
  605. return R > c;
  606. },
  607. 'f97': function(R, c) {
  608. return R | c;
  609. },
  610. 'K1E': function(R, c) {
  611. return R < c;
  612. },
  613. 'm3W': function(R, c) {
  614. return R == c;
  615. },
  616. 'd5K': function(R, c) {
  617. return R != c;
  618. },
  619. 'x0Y': function(R, c) {
  620. return R == c;
  621. },
  622. 'W4w': function(R, c) {
  623. return R instanceof c;
  624. },
  625. 'P3Y': function(R, c) {
  626. return R == c;
  627. },
  628. 'm7W': function(R, c) {
  629. return R < c;
  630. },
  631. 'q8W': function(R, c) {
  632. return R == c;
  633. },
  634. 'R6W': function(R, c) {
  635. return R != c;
  636. },
  637. 'd4W': function(R, c) {
  638. return R * c;
  639. },
  640. 'f3P': function(R, c) {
  641. return R != c;
  642. },
  643. 'L0P': function(R, c) {
  644. return R < c;
  645. },
  646. 'J27': function(R, c) {
  647. return R < c;
  648. },
  649. 'g6E': function(R, c) {
  650. return R / c;
  651. },
  652. 'u4P': function(R, c) {
  653. return R != c;
  654. },
  655. 'W2P': function(R, c) {
  656. return R * c;
  657. },
  658. 'o0P': function(R, c) {
  659. return R == c;
  660. },
  661. 'o2P': function(R, c) {
  662. return R * c;
  663. },
  664. 't3K': function(R, c) {
  665. return R == c;
  666. },
  667. 'S4K': function(R, c) {
  668. return R == c;
  669. },
  670. 'S1E': function(R, c) {
  671. return R < c;
  672. },
  673. 'w9w': function(R, c) {
  674. return R == c;
  675. },
  676. 'U5P': function(R, c) {
  677. return R < c;
  678. },
  679. 'J47': function(R, c) {
  680. return R * c;
  681. },
  682. 'v67': function(R, c) {
  683. return R < c;
  684. },
  685. 'o9E': function(R, c) {
  686. return R == c;
  687. },
  688. 'v6K': function(R, c) {
  689. return R > c;
  690. },
  691. 'n4P': function(R, c) {
  692. return R == c;
  693. },
  694. 'O6E': function(R, c) {
  695. return R / c;
  696. },
  697. 'Z6E': function(R, c) {
  698. return R != c;
  699. },
  700. 'l8E': function(R, c) {
  701. return R * c;
  702. },
  703. 'l2Y': function(R, c) {
  704. return R | c;
  705. },
  706. 'L7K': function(R, c) {
  707. return R / c;
  708. },
  709. 'R7K': function(R, c) {
  710. return R == c;
  711. },
  712. 'z3E': function(R, c) {
  713. return R >= c;
  714. },
  715. 'u5K': function(R, c) {
  716. return R <= c;
  717. },
  718. 'b3K': function(R, c) {
  719. return R * c;
  720. },
  721. 'n5K': function(R, c) {
  722. return R < c;
  723. },
  724. 'T5W': function(R, c) {
  725. return R != c;
  726. },
  727. 'B0Y': function(R, c) {
  728. return R != c;
  729. },
  730. 'J3K': function(R, c) {
  731. return R == c;
  732. },
  733. 'G8W': function(R, c) {
  734. return R != c;
  735. },
  736. 'S77': function(R, c) {
  737. return R < c;
  738. },
  739. 'd1E': function(R, c) {
  740. return R / c;
  741. },
  742. 'V1Y': function(R, c) {
  743. return R == c;
  744. },
  745. 'S5E': function(R, c) {
  746. return R != c;
  747. },
  748. 'Z6K': function(R, c, g, F) {
  749. return R - c + g - F;
  750. },
  751. 'm4E': function(R, c) {
  752. return R != c;
  753. },
  754. 'q4W': function(R, c) {
  755. return R / c;
  756. },
  757. 'T0P': function(R, c) {
  758. return R != c;
  759. },
  760. 'H3Y': function(R, c) {
  761. return R == c;
  762. },
  763. 'P4w': function(R, c) {
  764. return R == c;
  765. },
  766. 'r8K': function(R, c) {
  767. return R * c;
  768. },
  769. 'J5W': function(R, c) {
  770. return R == c;
  771. },
  772. 't07': function(R, c) {
  773. return R != c;
  774. },
  775. 'R4w': function(R, c) {
  776. return R != c;
  777. },
  778. 'o4w': function(R, c) {
  779. return R < c;
  780. },
  781. 'r6K': function(R, c) {
  782. return R | c;
  783. },
  784. 'i2Y': function(R, c) {
  785. return R != c;
  786. },
  787. 'y9W': function(R, c) {
  788. return R <= c;
  789. },
  790. 'M3Y': function(R, c) {
  791. return R != c;
  792. },
  793. 'E2W': function(R, c) {
  794. return R == c;
  795. },
  796. 'n5E': function(R, c) {
  797. return R | c;
  798. },
  799. 'Y9W': function(R, c) {
  800. return R > c;
  801. },
  802. 'q6Y': function(R, c) {
  803. return R > c;
  804. },
  805. 'a0Y': function(R, c) {
  806. return R > c;
  807. },
  808. 'l3W': function(R, c) {
  809. return R != c;
  810. },
  811. 'K4W': function(R, c) {
  812. return R - c;
  813. },
  814. 'T4w': function(R, c) {
  815. return R * c;
  816. },
  817. 'w8P': function(R, c) {
  818. return R != c;
  819. },
  820. 'y3W': function(R, c) {
  821. return R == c;
  822. },
  823. 'q1Y': function(R, c) {
  824. return R == c;
  825. },
  826. 'P47': function(R, c) {
  827. return R * c;
  828. },
  829. 'V4K': function(R, c) {
  830. return R != c;
  831. },
  832. 'X1E': function(R, c) {
  833. return R < c;
  834. },
  835. 'B8E': function(R, c) {
  836. return R < c;
  837. },
  838. 'k2E': function(R, c) {
  839. return R - c;
  840. },
  841. 'm9W': function(R, c) {
  842. return R == c;
  843. },
  844. 'A9W': function(R, c) {
  845. return R > c;
  846. },
  847. 'y2Y': function(R, c) {
  848. return R / c;
  849. },
  850. 'T0K': function(R, c) {
  851. return R - c;
  852. },
  853. 'u4W': function(R, c) {
  854. return R < c;
  855. },
  856. 'n1E': function(R, c) {
  857. return R > c;
  858. },
  859. 'M07': function(R, c) {
  860. return R > c;
  861. },
  862. 'T5P': function(R, c) {
  863. return R * c;
  864. },
  865. 'L27': function(R, c) {
  866. return R != c;
  867. },
  868. 'K5K': function(R, c) {
  869. return R < c;
  870. },
  871. 'I4P': function(R, c) {
  872. return R / c;
  873. },
  874. 'G5K': function(R, c) {
  875. return R != c;
  876. },
  877. 'n7P': function(R, c) {
  878. return R != c;
  879. },
  880. 'A4P': function(R, c, g) {
  881. return R * c / g;
  882. },
  883. 'O5K': function(R, c) {
  884. return R != c;
  885. },
  886. 'O1Y': function(R, c) {
  887. return R != c;
  888. },
  889. 'y7W': function(R, c) {
  890. return R * c;
  891. },
  892. 'U07': function(R, c) {
  893. return R >= c;
  894. },
  895. 'f8W': function(R, c) {
  896. return R == c;
  897. },
  898. 'e0E': function(R, c) {
  899. return R < c;
  900. },
  901. 'N5E': function(R, c) {
  902. return R * c;
  903. },
  904. 'J9E': function(R, c) {
  905. return R <= c;
  906. },
  907. 'P5W': function(R, c) {
  908. return R == c;
  909. },
  910. 'r67': function(R, c) {
  911. return R != c;
  912. },
  913. 'q37': function(R, c) {
  914. return R != c;
  915. },
  916. 'q1E': function(R, c) {
  917. return R * c;
  918. },
  919. 'A8E': function(R, c) {
  920. return R / c;
  921. },
  922. 'D1W': function(R, c) {
  923. return R != c;
  924. },
  925. 'd4K': function(R, c) {
  926. return R < c;
  927. },
  928. 'Z8W': function(R, c) {
  929. return R != c;
  930. },
  931. 'K6E': function(R, c) {
  932. return R / c;
  933. },
  934. 'L3K': function(R, c) {
  935. return R == c;
  936. },
  937. 'k1P': function(R, c) {
  938. return R == c;
  939. },
  940. 'd9w': function(R, c) {
  941. return R != c;
  942. },
  943. 'a2K': function(R, c) {
  944. return R < c;
  945. },
  946. 'A8K': function(R, c) {
  947. return R != c;
  948. },
  949. 'C3Y': function(R, c) {
  950. return R == c;
  951. },
  952. 'M0P': function(R, c) {
  953. return R != c;
  954. },
  955. 'A0Y': function(R, c) {
  956. return R == c;
  957. },
  958. 'x67': function(R, c) {
  959. return R >= c;
  960. },
  961. 'f4P': function(R, c) {
  962. return R != c;
  963. },
  964. 'm57': function(R, c) {
  965. return R == c;
  966. },
  967. 'h8W': function(R, c) {
  968. return R != c;
  969. },
  970. 's57': function(R, c) {
  971. return R != c;
  972. },
  973. 'U7E': function(R, c) {
  974. return R / c;
  975. },
  976. 'I3E': function(R, c) {
  977. return R != c;
  978. },
  979. 'W9E': function(R, c) {
  980. return R <= c;
  981. },
  982. 'M87': function(R, c) {
  983. return R == c;
  984. },
  985. 'w2W': function(R, c) {
  986. return R * c;
  987. },
  988. 'M47': function(R, c) {
  989. return R * c;
  990. },
  991. 'P9K': function(R, c) {
  992. return R == c;
  993. },
  994. 'g3K': function(R, c) {
  995. return R == c;
  996. },
  997. 'O3P': function(R, c) {
  998. return R <= c;
  999. },
  1000. 't5P': function(R, c) {
  1001. return R >= c;
  1002. },
  1003. 'g1Y': function(R, c) {
  1004. return R != c;
  1005. },
  1006. 'm5w': function(R, c) {
  1007. return R == c;
  1008. },
  1009. 'Y6K': function(R, c, g) {
  1010. return R - c - g;
  1011. },
  1012. 'g6K': function(R, c) {
  1013. return R < c;
  1014. },
  1015. 'P7Y': function(R, c) {
  1016. return R == c;
  1017. },
  1018. 'K37': function(R, c) {
  1019. return R <= c;
  1020. },
  1021. 'X4K': function(R, c) {
  1022. return R == c;
  1023. },
  1024. 'X6E': function(R, c) {
  1025. return R / c;
  1026. },
  1027. 'L3E': function(R, c) {
  1028. return R > c;
  1029. },
  1030. 'i67': function(R, c) {
  1031. return R - c;
  1032. },
  1033. 'V6E': function(R, c) {
  1034. return R - c;
  1035. },
  1036. 'h1E': function(R, c) {
  1037. return R * c;
  1038. },
  1039. 'F2P': function(R, c) {
  1040. return R * c;
  1041. },
  1042. 'D3K': function(R, c) {
  1043. return R == c;
  1044. },
  1045. 'T7K': function(R, c) {
  1046. return R - c;
  1047. },
  1048. 'c0E': function(R, c) {
  1049. return R - c;
  1050. },
  1051. 'D27': function(R, c) {
  1052. return R == c;
  1053. },
  1054. 'U2P': function(R, c) {
  1055. return R * c;
  1056. },
  1057. 'Q2K': function(R, c) {
  1058. return R * c;
  1059. },
  1060. 'v2E': function(R, c) {
  1061. return R < c;
  1062. },
  1063. 'v57': function(R, c) {
  1064. return R < c;
  1065. },
  1066. 'K4P': function(R, c) {
  1067. return R != c;
  1068. },
  1069. 'A4E': function(R, c) {
  1070. return R == c;
  1071. },
  1072. 'y1P': function(R, c) {
  1073. return R != c;
  1074. },
  1075. 'u5E': function(R, c) {
  1076. return R != c;
  1077. },
  1078. 'V6Y': function(R, c) {
  1079. return R == c;
  1080. },
  1081. 'n0W': function(R, c) {
  1082. return R != c;
  1083. },
  1084. 'T3Y': function(R, c) {
  1085. return R == c;
  1086. },
  1087. 'K9w': function(R, c) {
  1088. return R == c;
  1089. },
  1090. 'I0P': function(R, c) {
  1091. return R != c;
  1092. },
  1093. 'l67': function(R, c) {
  1094. return R * c;
  1095. },
  1096. 'r9P': function(R, c) {
  1097. return R != c;
  1098. },
  1099. 'G6Y': function(R, c) {
  1100. return R <= c;
  1101. },
  1102. 'z0P': function(R, c) {
  1103. return R != c;
  1104. },
  1105. 'x8E': function(R, c) {
  1106. return R < c;
  1107. },
  1108. 'R3E': function(R, c) {
  1109. return R == c;
  1110. },
  1111. 'l4E': function(R, c) {
  1112. return R <= c;
  1113. },
  1114. 'X1Y': function(R, c) {
  1115. return R != c;
  1116. },
  1117. 'k7P': function(R, c) {
  1118. return R < c;
  1119. },
  1120. 'd1Y': function(R, c) {
  1121. return R != c;
  1122. },
  1123. 't7E': function(R, c) {
  1124. return R * c;
  1125. },
  1126. 'z47': function(R, c) {
  1127. return R * c;
  1128. },
  1129. 'l2E': function(R, c) {
  1130. return R > c;
  1131. },
  1132. 'd6K': function(R, c) {
  1133. return R <= c;
  1134. },
  1135. 'K0W': function(R, c) {
  1136. return R | c;
  1137. },
  1138. 'B6P': function(R, c) {
  1139. return R != c;
  1140. },
  1141. 'C0P': function(R, c) {
  1142. return R != c;
  1143. },
  1144. 'i17': function(R, c) {
  1145. return R > c;
  1146. },
  1147. 'S1K': function(R, c) {
  1148. return R / c;
  1149. },
  1150. 'S1Y': function(R, c) {
  1151. return R != c;
  1152. },
  1153. 'p17': function(R, c) {
  1154. return R <= c;
  1155. },
  1156. 'p3W': function(R, c) {
  1157. return R != c;
  1158. },
  1159. 'Q1P': function(R, c) {
  1160. return R < c;
  1161. },
  1162. 'Y4E': function(R, c) {
  1163. return R < c;
  1164. },
  1165. 'K77': function(R, c) {
  1166. return R & c;
  1167. },
  1168. 'a6P': function(R, c) {
  1169. return R == c;
  1170. },
  1171. 'b47': function(R, c) {
  1172. return R > c;
  1173. },
  1174. 'P0P': function(R, c) {
  1175. return R != c;
  1176. },
  1177. 'M27': function(R, c) {
  1178. return R * c;
  1179. },
  1180. 'Z4P': function(R, c) {
  1181. return R != c;
  1182. },
  1183. 'B67': function(R, c) {
  1184. return R > c;
  1185. },
  1186. 'D47': function(R, c) {
  1187. return R * c;
  1188. },
  1189. 'h5E': function(R, c) {
  1190. return R != c;
  1191. },
  1192. 'f8P': function(R, c) {
  1193. return R != c;
  1194. },
  1195. 'c7P': function(R, c) {
  1196. return R != c;
  1197. },
  1198. 'F7K': function(R, c) {
  1199. return R == c;
  1200. },
  1201. 'v6P': function(R, c) {
  1202. return R == c;
  1203. },
  1204. 'D2P': function(R, c) {
  1205. return R * c;
  1206. },
  1207. 'W0P': function(R, c) {
  1208. return R <= c;
  1209. },
  1210. 'S37': function(R, c) {
  1211. return R != c;
  1212. },
  1213. 'N4P': function(R, c) {
  1214. return R != c;
  1215. },
  1216. 'e8K': function(R, c) {
  1217. return R * c;
  1218. },
  1219. 'J9K': function(R, c) {
  1220. return R == c;
  1221. },
  1222. 'k8E': function(R, c) {
  1223. return R / c;
  1224. },
  1225. 'C6W': function(R, c) {
  1226. return R != c;
  1227. },
  1228. 'w6Y': function(R, c) {
  1229. return R > c;
  1230. },
  1231. 'G4K': function(R, c) {
  1232. return R * c;
  1233. },
  1234. 'c67': function(R, c) {
  1235. return R == c;
  1236. },
  1237. 'i9W': function(R, c) {
  1238. return R < c;
  1239. },
  1240. 'a2Y': function(R, c) {
  1241. return R == c;
  1242. },
  1243. 'p57': function(R, c) {
  1244. return R != c;
  1245. },
  1246. 'x2Y': function(R, c) {
  1247. return R != c;
  1248. },
  1249. 'p7P': function(R, c) {
  1250. return R != c;
  1251. },
  1252. 'n37': function(R, c) {
  1253. return R | c;
  1254. },
  1255. 'W5P': function(R, c) {
  1256. return R >= c;
  1257. },
  1258. 'w4K': function(R, c) {
  1259. return R < c;
  1260. },
  1261. 'x9P': function(R, c) {
  1262. return R < c;
  1263. },
  1264. 'j27': function(R, c) {
  1265. return R < c;
  1266. },
  1267. 'Q2Y': function(R, c) {
  1268. return R != c;
  1269. },
  1270. 'G3P': function(R, c) {
  1271. return R == c;
  1272. },
  1273. 'j7E': function(R, c) {
  1274. return R / c;
  1275. },
  1276. 'S2W': function(R, c) {
  1277. return R == c;
  1278. },
  1279. 'A2Y': function(R, c) {
  1280. return R < c;
  1281. },
  1282. 'k57': function(R, c) {
  1283. return R <= c;
  1284. },
  1285. 'g3P': function(R, c) {
  1286. return R > c;
  1287. },
  1288. 'v7W': function(R, c) {
  1289. return R * c;
  1290. },
  1291. 'N4W': function(R, c) {
  1292. return R * c;
  1293. },
  1294. 'X6Y': function(R, c) {
  1295. return R > c;
  1296. },
  1297. 'X3P': function(R, c) {
  1298. return R / c;
  1299. },
  1300. 'q4K': function(R, c) {
  1301. return R != c;
  1302. },
  1303. 'V1K': function(R, c) {
  1304. return R / c;
  1305. },
  1306. 'P5P': function(R, c) {
  1307. return R == c;
  1308. },
  1309. 'U9E': function(R, c) {
  1310. return R == c;
  1311. },
  1312. 'g1K': function(R, c) {
  1313. return R != c;
  1314. },
  1315. 'Y9P': function(R, c) {
  1316. return R == c;
  1317. },
  1318. 'H6W': function(R, c) {
  1319. return R == c;
  1320. },
  1321. 'h5K': function(R, c) {
  1322. return R > c;
  1323. },
  1324. 'U1W': function(R, c) {
  1325. return R == c;
  1326. },
  1327. 'L9E': function(R, c) {
  1328. return R != c;
  1329. },
  1330. 'r2Y': function(R, c) {
  1331. return R < c;
  1332. },
  1333. 'm6P': function(R, c) {
  1334. return R != c;
  1335. },
  1336. 'Y8K': function(R, c) {
  1337. return R / c;
  1338. },
  1339. 'H2P': function(R, c) {
  1340. return R * c;
  1341. },
  1342. 'v4E': function(R, c) {
  1343. return R == c;
  1344. },
  1345. 't6W': function(R, c) {
  1346. return R != c;
  1347. },
  1348. 'e57': function(R, c) {
  1349. return R <= c;
  1350. },
  1351. 'p2K': function(R, c) {
  1352. return R == c;
  1353. },
  1354. 'I7K': function(R, c) {
  1355. return R > c;
  1356. },
  1357. 'M5W': function(R, c) {
  1358. return R == c;
  1359. },
  1360. 'm0E': function(R, c) {
  1361. return R != c;
  1362. },
  1363. 'k8K': function(R, c) {
  1364. return R / c;
  1365. },
  1366. 'h4W': function(R, c) {
  1367. return R / c;
  1368. },
  1369. 'P07': function(R, c) {
  1370. return R >= c;
  1371. },
  1372. 'P7E': function(R, c) {
  1373. return R == c;
  1374. },
  1375. 'x0E': function(R, c) {
  1376. return R != c;
  1377. },
  1378. 'D4w': function(R, c) {
  1379. return R == c;
  1380. },
  1381. 'q77': function(R, c) {
  1382. return R & c;
  1383. },
  1384. 'Y67': function(R, c) {
  1385. return R < c;
  1386. },
  1387. 'O6Y': function(R, c) {
  1388. return R != c;
  1389. },
  1390. 'W47': function(R, c) {
  1391. return R * c;
  1392. },
  1393. 'B1P': function(R, c) {
  1394. return R * c;
  1395. },
  1396. 'P27': function(R, c) {
  1397. return R * c;
  1398. },
  1399. 'X77': function(R, c) {
  1400. return R >> c;
  1401. },
  1402. 'h3P': function(R, c) {
  1403. return R - c;
  1404. },
  1405. 'Y6P': function(R, c) {
  1406. return R != c;
  1407. },
  1408. 'L1W': function(R, c) {
  1409. return R == c;
  1410. },
  1411. 'i7W': function(R, c) {
  1412. return R == c;
  1413. },
  1414. 'p7W': function(R, c) {
  1415. return R | c;
  1416. },
  1417. 'h77': function(R, c) {
  1418. return R >> c;
  1419. },
  1420. 'O2W': function(R, c) {
  1421. return R / c;
  1422. },
  1423. 'm0Y': function(R, c) {
  1424. return R > c;
  1425. },
  1426. 'z9K': function(R, c) {
  1427. return R != c;
  1428. },
  1429. 'g1E': function(R, c) {
  1430. return R < c;
  1431. },
  1432. 'j4w': function(R, c) {
  1433. return R == c;
  1434. },
  1435. 'v8E': function(R, c) {
  1436. return R / c;
  1437. },
  1438. 'd2W': function(R, c) {
  1439. return R != c;
  1440. },
  1441. 'H87': function(R, c) {
  1442. return R < c;
  1443. },
  1444. 'H3E': function(R, c) {
  1445. return R >= c;
  1446. },
  1447. 'W7E': function(R, c) {
  1448. return R == c;
  1449. },
  1450. 'x6P': function(R, c) {
  1451. return R != c;
  1452. },
  1453. 'a9W': function(R, c) {
  1454. return R == c;
  1455. },
  1456. 'F47': function(R, c) {
  1457. return R < c;
  1458. },
  1459. 'o5P': function(R, c) {
  1460. return R != c;
  1461. },
  1462. 'J4w': function(R, c) {
  1463. return R == c;
  1464. },
  1465. 'C7K': function(R, c) {
  1466. return R <= c;
  1467. },
  1468. 'r2K': function(R, c) {
  1469. return R * c;
  1470. },
  1471. 'S3P': function(R, c) {
  1472. return R < c;
  1473. },
  1474. 'v1P': function(R, c) {
  1475. return R > c;
  1476. },
  1477. 'z9E': function(R, c) {
  1478. return R == c;
  1479. },
  1480. 'E4P': function(R, c) {
  1481. return R == c;
  1482. },
  1483. 'k5w': function(R, c) {
  1484. return R == c;
  1485. },
  1486. 'v2Y': function(R, c) {
  1487. return R in c;
  1488. },
  1489. 'w3P': function(R, c) {
  1490. return R - c;
  1491. },
  1492. 'i8K': function(R, c) {
  1493. return R < c;
  1494. },
  1495. 'b5W': function(R, c) {
  1496. return R == c;
  1497. },
  1498. 'S97': function(R, c) {
  1499. return R < c;
  1500. },
  1501. 'z6W': function(R, c) {
  1502. return R | c;
  1503. },
  1504. 'D7E': function(R, c) {
  1505. return R != c;
  1506. },
  1507. 'y8E': function(R, c) {
  1508. return R == c;
  1509. },
  1510. 's0Y': function(R, c) {
  1511. return R == c;
  1512. },
  1513. 'e7P': function(R, c) {
  1514. return R <= c;
  1515. },
  1516. 'n9w': function(R, c) {
  1517. return R == c;
  1518. },
  1519. 'M4w': function(R, c) {
  1520. return R == c;
  1521. },
  1522. 'A3W': function(R, c) {
  1523. return R == c;
  1524. },
  1525. 'T3K': function(R, c) {
  1526. return R * c;
  1527. },
  1528. 'z7Y': function(R, c) {
  1529. return R == c;
  1530. },
  1531. 'f4K': function(R, c) {
  1532. return R <= c;
  1533. },
  1534. 'd3P': function(R, c) {
  1535. return R == c;
  1536. },
  1537. 'b4P': function(R, c) {
  1538. return R == c;
  1539. },
  1540. 's8K': function(R, c) {
  1541. return R != c;
  1542. },
  1543. 'Y7W': function(R, c) {
  1544. return R != c;
  1545. },
  1546. 'W5W': function(R, c) {
  1547. return R == c;
  1548. },
  1549. 'n4K': function(R, c) {
  1550. return R < c;
  1551. },
  1552. 'D5P': function(R, c) {
  1553. return R * c;
  1554. },
  1555. 'W3K': function(R, c) {
  1556. return R != c;
  1557. },
  1558. 'l0E': function(R, c) {
  1559. return R - c;
  1560. },
  1561. 'i8E': function(R, c) {
  1562. return R * c;
  1563. },
  1564. 'w0W': function(R, c) {
  1565. return R | c;
  1566. },
  1567. 'Q8K': function(R, c) {
  1568. return R - c;
  1569. },
  1570. 'w77': function(R, c) {
  1571. return R & c;
  1572. },
  1573. 'u4K': function(R, c) {
  1574. return R != c;
  1575. },
  1576. 'A67': function(R, c) {
  1577. return R == c;
  1578. },
  1579. 'y4E': function(R, c) {
  1580. return R != c;
  1581. },
  1582. 'k0E': function(R, c) {
  1583. return R != c;
  1584. },
  1585. 'z87': function(R, c) {
  1586. return R == c;
  1587. },
  1588. 'c0Y': function(R, c) {
  1589. return R > c;
  1590. },
  1591. 'Z97': function(R, c) {
  1592. return R != c;
  1593. },
  1594. 'S8W': function(R, c) {
  1595. return R != c;
  1596. },
  1597. 'u6E': function(R, c) {
  1598. return R > c;
  1599. },
  1600. 'Y0E': function(R, c) {
  1601. return R < c;
  1602. },
  1603. 'H27': function(R, c) {
  1604. return R == c;
  1605. },
  1606. 'R3Y': function(R, c) {
  1607. return R >= c;
  1608. },
  1609. 'T1W': function(R, c) {
  1610. return R / c;
  1611. },
  1612. 'Y7P': function(R, c) {
  1613. return R != c;
  1614. },
  1615. 'i5w': function(R, c) {
  1616. return R < c;
  1617. },
  1618. 'O8P': function(R, c) {
  1619. return R != c;
  1620. },
  1621. 'G2W': function(R, c) {
  1622. return R != c;
  1623. },
  1624. 'l9P': function(R, c) {
  1625. return R != c;
  1626. },
  1627. 'M5P': function(R, c) {
  1628. return R == c;
  1629. },
  1630. 'u6Y': function(R, c) {
  1631. return R > c;
  1632. },
  1633. 'j6W': function(R, c) {
  1634. return R | c;
  1635. },
  1636. 'b4w': function(R, c) {
  1637. return R < c;
  1638. },
  1639. 'x9W': function(R, c) {
  1640. return R == c;
  1641. },
  1642. 'd5E': function(R, c) {
  1643. return R != c;
  1644. },
  1645. 'j0K': function(R, c) {
  1646. return R == c;
  1647. },
  1648. 'y6K': function(R, c) {
  1649. return R < c;
  1650. },
  1651. 'q8P': function(R, c) {
  1652. return R != c;
  1653. },
  1654. 'V37': function(R, c) {
  1655. return R != c;
  1656. },
  1657. 'k3W': function(R, c) {
  1658. return R < c;
  1659. },
  1660. 'Z4W': function(R, c) {
  1661. return R == c;
  1662. },
  1663. 'S9w': function(R, c) {
  1664. return R != c;
  1665. },
  1666. 'p2Y': function(R, c) {
  1667. return R > c;
  1668. },
  1669. 'V3P': function(R, c) {
  1670. return R < c;
  1671. },
  1672. 'E3P': function(R, c) {
  1673. return R < c;
  1674. },
  1675. 'T9E': function(R, c) {
  1676. return R != c;
  1677. },
  1678. 'N6E': function(R, c) {
  1679. return R != c;
  1680. },
  1681. 'R5P': function(R, c) {
  1682. return R == c;
  1683. },
  1684. 'F9E': function(R, c) {
  1685. return R != c;
  1686. },
  1687. 'F07': function(R, c) {
  1688. return R < c;
  1689. },
  1690. 'D3E': function(R, c) {
  1691. return R <= c;
  1692. },
  1693. 'J6W': function(R, c) {
  1694. return R | c;
  1695. },
  1696. 'D0K': function(R, c) {
  1697. return R == c;
  1698. },
  1699. 'w1Y': function(R, c) {
  1700. return R == c;
  1701. },
  1702. 's0E': function(R, c) {
  1703. return R != c;
  1704. },
  1705. 'U9K': function(R, c) {
  1706. return R != c;
  1707. },
  1708. 'p67': function(R, c) {
  1709. return R != c;
  1710. },
  1711. 'x2K': function(R, c) {
  1712. return R - c;
  1713. },
  1714. 'e2Y': function(R, c) {
  1715. return R < c;
  1716. },
  1717. 'o3K': function(R, c) {
  1718. return R != c;
  1719. },
  1720. 't4w': function(R, c) {
  1721. return R == c;
  1722. },
  1723. 'K97': function(R, c) {
  1724. return R != c;
  1725. },
  1726. 'B2K': function(R, c) {
  1727. return R * c;
  1728. },
  1729. 'h4K': function(R, c) {
  1730. return R >= c;
  1731. },
  1732. 'u1E': function(R, c) {
  1733. return R < c;
  1734. },
  1735. 'e8E': function(R, c) {
  1736. return R / c;
  1737. },
  1738. 'g8W': function(R, c) {
  1739. return R == c;
  1740. },
  1741. 't5W': function(R, c) {
  1742. return R < c;
  1743. },
  1744. 'I0K': function(R, c) {
  1745. return R == c;
  1746. },
  1747. 'l0Y': function(R, c) {
  1748. return R != c;
  1749. },
  1750. 'V5K': function(R, c) {
  1751. return R != c;
  1752. },
  1753. 'i2K': function(R, c) {
  1754. return R * c;
  1755. },
  1756. 'k67': function(R, c) {
  1757. return R == c;
  1758. },
  1759. 'p1P': function(R, c) {
  1760. return R == c;
  1761. },
  1762. 'H5P': function(R, c) {
  1763. return R < c;
  1764. },
  1765. 'B5w': function(R, c) {
  1766. return R == c;
  1767. },
  1768. 'E4W': function(R, c) {
  1769. return R * c;
  1770. },
  1771. 'o47': function(R, c) {
  1772. return R * c;
  1773. },
  1774. 'F3E': function(R, c) {
  1775. return R < c;
  1776. },
  1777. 'b3Y': function(R, c) {
  1778. return R == c;
  1779. },
  1780. 's8E': function(R, c) {
  1781. return R * c;
  1782. },
  1783. 'B17': function(R, c) {
  1784. return R == c;
  1785. },
  1786. 'u8W': function(R, c) {
  1787. return R == c;
  1788. },
  1789. 'g9w': function(R, c) {
  1790. return R < c;
  1791. },
  1792. 'D87': function(R, c) {
  1793. return R > c;
  1794. },
  1795. 'J07': function(R, c) {
  1796. return R == c;
  1797. },
  1798. 'z3Y': function(R, c) {
  1799. return R == c;
  1800. },
  1801. 'b0K': function(R, c) {
  1802. return R <= c;
  1803. },
  1804. 'u1Y': function(R, c) {
  1805. return R != c;
  1806. },
  1807. 'Q7W': function(R, c) {
  1808. return R >= c;
  1809. },
  1810. 'M9E': function(R, c) {
  1811. return R != c;
  1812. },
  1813. 'G77': function(R, c) {
  1814. return R - c;
  1815. },
  1816. 'f2W': function(R, c) {
  1817. return R == c;
  1818. },
  1819. 'R07': function(R, c) {
  1820. return R == c;
  1821. },
  1822. 'B2Y': function(R, c) {
  1823. return R | c;
  1824. },
  1825. 'Y17': function(R, c) {
  1826. return R == c;
  1827. },
  1828. 'p8E': function(R, c) {
  1829. return R | c;
  1830. },
  1831. 'O5E': function(R, c) {
  1832. return R != c;
  1833. },
  1834. 'C27': function(R, c) {
  1835. return R < c;
  1836. },
  1837. 'V9w': function(R, c) {
  1838. return R != c;
  1839. },
  1840. 'o07': function(R, c) {
  1841. return R < c;
  1842. },
  1843. 'C07': function(R, c) {
  1844. return R <= c;
  1845. },
  1846. 'j2P': function(R, c) {
  1847. return R * c;
  1848. },
  1849. 'W87': function(R, c) {
  1850. return R == c;
  1851. },
  1852. 'a3W': function(R, c) {
  1853. return R == c;
  1854. },
  1855. 'a7W': function(R, c) {
  1856. return R < c;
  1857. },
  1858. 'm7P': function(R, c) {
  1859. return R < c;
  1860. },
  1861. 'm2Y': function(R, c) {
  1862. return R == c;
  1863. },
  1864. 'l17': function(R, c) {
  1865. return R > c;
  1866. },
  1867. 'J3E': function(R, c) {
  1868. return R < c;
  1869. },
  1870. 'e9P': function(R, c) {
  1871. return R == c;
  1872. },
  1873. 'O0W': function(R, c) {
  1874. return R | c;
  1875. },
  1876. 'S6E': function(R, c) {
  1877. return R / c;
  1878. },
  1879. 'b7E': function(R, c) {
  1880. return R * c;
  1881. },
  1882. 'l8K': function(R, c) {
  1883. return R * c;
  1884. },
  1885. 'c17': function(R, c) {
  1886. return R | c;
  1887. },
  1888. 'M1W': function(R, c) {
  1889. return R == c;
  1890. },
  1891. 'q2W': function(R, c) {
  1892. return R < c;
  1893. },
  1894. 'v3W': function(R, c) {
  1895. return R == c;
  1896. },
  1897. 'h1Y': function(R, c) {
  1898. return R == c;
  1899. },
  1900. 'g5K': function(R, c) {
  1901. return R != c;
  1902. },
  1903. 'X37': function(R, c) {
  1904. return R - c;
  1905. },
  1906. 'U27': function(R, c) {
  1907. return R != c;
  1908. },
  1909. 'R0P': function(R, c) {
  1910. return R != c;
  1911. },
  1912. 'Q8E': function(R, c) {
  1913. return R * c;
  1914. },
  1915. 'C5P': function(R, c) {
  1916. return R * c;
  1917. },
  1918. 'n8W': function(R, c) {
  1919. return R < c;
  1920. },
  1921. 'v0Y': function(R, c) {
  1922. return R < c;
  1923. },
  1924. 'G4W': function(R, c) {
  1925. return R / c;
  1926. },
  1927. 'C0K': function(R, c) {
  1928. return R / c;
  1929. },
  1930. 'Y1P': function(R, c) {
  1931. return R > c;
  1932. },
  1933. 'L7Y': function(R, c) {
  1934. return R == c;
  1935. },
  1936. 'A17': function(R, c) {
  1937. return R != c;
  1938. },
  1939. 'n97': function(R, c) {
  1940. return R != c;
  1941. },
  1942. 'Y8E': function(R, c) {
  1943. return R * c;
  1944. },
  1945. 'J7E': function(R, c) {
  1946. return R * c;
  1947. },
  1948. 'q0W': function(R, c) {
  1949. return R | c;
  1950. },
  1951. 'Y5w': function(R, c) {
  1952. return R != c;
  1953. },
  1954. 'h6Y': function(R, c) {
  1955. return R != c;
  1956. },
  1957. 'a17': function(R, c) {
  1958. return R == c;
  1959. },
  1960. 'k9P': function(R, c) {
  1961. return R == c;
  1962. },
  1963. 'j3E': function(R, c) {
  1964. return R / c;
  1965. },
  1966. 'x3W': function(R, c) {
  1967. return R != c;
  1968. },
  1969. 'H47': function(R, c) {
  1970. return R - c;
  1971. },
  1972. 'Z5K': function(R, c) {
  1973. return R < c;
  1974. },
  1975. 'Z4K': function(R, c) {
  1976. return R != c;
  1977. },
  1978. 'U0K': function(R, c) {
  1979. return R == c;
  1980. },
  1981. 'e3W': function(R, c) {
  1982. return R == c;
  1983. },
  1984. 'n6E': function(R, c) {
  1985. return R - c;
  1986. },
  1987. 'P3E': function(R, c) {
  1988. return R != c;
  1989. },
  1990. 'X1K': function(R, c) {
  1991. return R - c;
  1992. },
  1993. 'M0K': function(R, c) {
  1994. return R == c;
  1995. },
  1996. 'm17': function(R, c) {
  1997. return R | c;
  1998. },
  1999. 'R87': function(R, c) {
  2000. return R == c;
  2001. },
  2002. 'c2Y': function(R, c) {
  2003. return R != c;
  2004. },
  2005. 'Z1E': function(R, c) {
  2006. return R & c;
  2007. },
  2008. 'H7K': function(R, c) {
  2009. return R - c;
  2010. },
  2011. 'a2E': function(R, c) {
  2012. return R < c;
  2013. },
  2014. 'i9P': function(R, c) {
  2015. return R != c;
  2016. },
  2017. 'k9W': function(R, c) {
  2018. return R < c;
  2019. },
  2020. 'F5W': function(R, c) {
  2021. return R == c;
  2022. },
  2023. 'Y2Y': function(R, c) {
  2024. return R < c;
  2025. },
  2026. 'R7E': function(R, c) {
  2027. return R * c;
  2028. },
  2029. 'u9w': function(R, c) {
  2030. return R != c;
  2031. },
  2032. 'r2E': function(R, c) {
  2033. return R == c;
  2034. },
  2035. 'k4E': function(R, c) {
  2036. return R < c;
  2037. },
  2038. 'z4w': function(R, c) {
  2039. return R == c;
  2040. },
  2041. 'G8P': function(R, c) {
  2042. return R != c;
  2043. },
  2044. 'w5E': function(R, c) {
  2045. return R >= c;
  2046. },
  2047. 'j87': function(R, c) {
  2048. return R < c;
  2049. },
  2050. 's3W': function(R, c) {
  2051. return R != c;
  2052. },
  2053. 'l7W': function(R, c) {
  2054. return R == c;
  2055. },
  2056. 'R2K': function(R, c, g) {
  2057. return R / c * g;
  2058. },
  2059. 'p2E': function(R, c) {
  2060. return R != c;
  2061. },
  2062. 'l9W': function(R, c) {
  2063. return R < c;
  2064. },
  2065. 'l6P': function(R, c) {
  2066. return R != c;
  2067. },
  2068. 'g0W': function(R, c) {
  2069. return R | c;
  2070. },
  2071. 'L5P': function(R, c) {
  2072. return R != c;
  2073. },
  2074. 'z1W': function(R, c) {
  2075. return R < c;
  2076. },
  2077. 'j07': function(R, c) {
  2078. return R == c;
  2079. },
  2080. 'w1K': function(R, c) {
  2081. return R / c;
  2082. },
  2083. 'U87': function(R, c) {
  2084. return R < c;
  2085. },
  2086. 'b6W': function(R, c) {
  2087. return R < c;
  2088. },
  2089. 'u97': function(R, c) {
  2090. return R != c;
  2091. },
  2092. 'b5P': function(R, c) {
  2093. return R * c;
  2094. },
  2095. 'k2Y': function(R, c) {
  2096. return R | c;
  2097. },
  2098. 'F0K': function(R, c) {
  2099. return R / c;
  2100. },
  2101. 'N1E': function(R, c) {
  2102. return R == c;
  2103. },
  2104. 'd8W': function(R, c) {
  2105. return R == c;
  2106. },
  2107. 'Q6K': function(R, c) {
  2108. return R > c;
  2109. },
  2110. 'c9K': function(R, c, g, F) {
  2111. return R - c + g - F;
  2112. },
  2113. 'S6Y': function(R, c) {
  2114. return R < c;
  2115. },
  2116. 't27': function(R, c) {
  2117. return R == c;
  2118. },
  2119. 'z3K': function(R, c) {
  2120. return R == c;
  2121. },
  2122. 'G0W': function(R, c) {
  2123. return R & c;
  2124. },
  2125. 'D6W': function(R, c) {
  2126. return R | c;
  2127. },
  2128. 'X2W': function(R, c) {
  2129. return R == c;
  2130. },
  2131. 'P0K': function(R, c) {
  2132. return R == c;
  2133. },
  2134. 'r1P': function(R, c) {
  2135. return R < c;
  2136. },
  2137. 'j5W': function(R, c) {
  2138. return R == c;
  2139. },
  2140. 'o9K': function(R, c) {
  2141. return R != c;
  2142. },
  2143. 'N0W': function(R, c) {
  2144. return R | c;
  2145. },
  2146. 'b9K': function(R, c) {
  2147. return R != c;
  2148. },
  2149. 'i4E': function(R, c) {
  2150. return R <= c;
  2151. },
  2152. 'i0E': function(R, c) {
  2153. return R != c;
  2154. },
  2155. 'x57': function(R, c) {
  2156. return R < c;
  2157. },
  2158. 't3E': function(R, c) {
  2159. return R - c;
  2160. },
  2161. 'p9P': function(R, c) {
  2162. return R != c;
  2163. },
  2164. 'A0E': function(R, c) {
  2165. return R != c;
  2166. },
  2167. 'G37': function(R, c) {
  2168. return R == c;
  2169. },
  2170. 'Q17': function(R, c) {
  2171. return R - c;
  2172. },
  2173. 'f9w': function(R, c) {
  2174. return R != c;
  2175. },
  2176. 'Z3P': function(R, c) {
  2177. return R != c;
  2178. },
  2179. 'y9P': function(R, c) {
  2180. return R != c;
  2181. },
  2182. 'c3W': function(R, c) {
  2183. return R != c;
  2184. },
  2185. 'Y2E': function(R, c) {
  2186. return R - c;
  2187. },
  2188. 'z07': function(R, c) {
  2189. return R == c;
  2190. },
  2191. 'x5w': function(R, c) {
  2192. return R != c;
  2193. },
  2194. 'v9P': function(R, c) {
  2195. return R == c;
  2196. },
  2197. 'H07': function(R, c) {
  2198. return R - c;
  2199. },
  2200. 'E8P': function(R, c) {
  2201. return R != c;
  2202. },
  2203. 'B4E': function(R, c) {
  2204. return R != c;
  2205. },
  2206. 'H4w': function(R, c) {
  2207. return R < c;
  2208. },
  2209. 'v7P': function(R, c) {
  2210. return R != c;
  2211. },
  2212. 'q9w': function(R, c) {
  2213. return R != c;
  2214. },
  2215. 'w1E': function(R, c) {
  2216. return R == c;
  2217. },
  2218. 'r3W': function(R, c) {
  2219. return R != c;
  2220. },
  2221. 'a9P': function(R, c) {
  2222. return R != c;
  2223. },
  2224. 't7K': function(R, c) {
  2225. return R != c;
  2226. },
  2227. 'x7W': function(R, c) {
  2228. return R < c;
  2229. },
  2230. 'n2W': function(R, c) {
  2231. return R == c;
  2232. },
  2233. 'Q4E': function(R, c) {
  2234. return R != c;
  2235. },
  2236. 'O1E': function(R, c) {
  2237. return R < c;
  2238. },
  2239. 'j1W': function(R, c) {
  2240. return R != c;
  2241. },
  2242. 'a5w': function(R, c) {
  2243. return R === c;
  2244. },
  2245. 'F4w': function(R, c) {
  2246. return R != c;
  2247. },
  2248. 'H7E': function(R, c) {
  2249. return R * c;
  2250. },
  2251. 'v0E': function(R, c) {
  2252. return R != c;
  2253. },
  2254. 'l5w': function(R, c) {
  2255. return R == c;
  2256. },
  2257. 't9E': function(R, c) {
  2258. return R % c;
  2259. },
  2260. 'I9E': function(R, c) {
  2261. return R == c;
  2262. },
  2263. 'e6K': function(R, c) {
  2264. return R / c;
  2265. },
  2266. 'O3K': function(R, c, g) {
  2267. return R - c + g;
  2268. },
  2269. 'Q9P': function(R, c) {
  2270. return R == c;
  2271. },
  2272. 'E97': function(R, c) {
  2273. return R != c;
  2274. },
  2275. 'U4w': function(R, c) {
  2276. return R <= c;
  2277. },
  2278. 'L4w': function(R, c) {
  2279. return R instanceof c;
  2280. },
  2281. 'b87': function(R, c) {
  2282. return R == c;
  2283. },
  2284. 'T4P': function(R, c, g) {
  2285. return R * c / g;
  2286. },
  2287. 'k0Y': function(R, c) {
  2288. return R != c;
  2289. },
  2290. 'C9E': function(R, c) {
  2291. return R != c;
  2292. },
  2293. 'p0E': function(R, c) {
  2294. return R != c;
  2295. },
  2296. 'l7P': function(R, c, g) {
  2297. return R * c / g;
  2298. },
  2299. 'Q2E': function(R, c) {
  2300. return R == c;
  2301. },
  2302. 'm8E': function(R, c) {
  2303. return R != c;
  2304. },
  2305. 'j47': function(R, c) {
  2306. return R * c;
  2307. },
  2308. 'u8P': function(R, c) {
  2309. return R != c;
  2310. },
  2311. 'E1K': function(R, c) {
  2312. return R - c;
  2313. },
  2314. 'H5W': function(R, c) {
  2315. return R < c;
  2316. },
  2317. 'z7E': function(R, c) {
  2318. return R / c;
  2319. },
  2320. 'G9w': function(R, c) {
  2321. return R < c;
  2322. },
  2323. 'L0K': function(R, c) {
  2324. return R == c;
  2325. },
  2326. 'K1K': function(R, c) {
  2327. return R * c;
  2328. },
  2329. 'i1P': function(R, c) {
  2330. return R != c;
  2331. },
  2332. 'r6P': function(R, c) {
  2333. return R != c;
  2334. },
  2335. 'M7K': function(R, c) {
  2336. return R - c;
  2337. },
  2338. 'm9P': function(R, c) {
  2339. return R != c;
  2340. },
  2341. 'N3P': function(R, c) {
  2342. return R - c;
  2343. },
  2344. 'g8P': function(R, c) {
  2345. return R == c;
  2346. },
  2347. 'u1K': function(R, c) {
  2348. return R | c;
  2349. },
  2350. 'A57': function(R, c) {
  2351. return R < c;
  2352. },
  2353. 'w4W': function(R, c) {
  2354. return R * c;
  2355. },
  2356. 'C9K': function(R, c) {
  2357. return R < c;
  2358. },
  2359. 'W1W': function(R, c) {
  2360. return R < c;
  2361. },
  2362. 'J7K': function(R, c) {
  2363. return R == c;
  2364. },
  2365. 'E1E': function(R, c) {
  2366. return R < c;
  2367. },
  2368. 'T6W': function(R, c) {
  2369. return R < c;
  2370. },
  2371. 'H0K': function(R, c) {
  2372. return R <= c;
  2373. },
  2374. 'T9K': function(R, c) {
  2375. return R != c;
  2376. },
  2377. 'X8W': function(R, c) {
  2378. return R != c;
  2379. },
  2380. 'L7E': function(R, c) {
  2381. return R / c;
  2382. },
  2383. 'z2P': function(R, c) {
  2384. return R * c;
  2385. },
  2386. 'J5P': function(R, c) {
  2387. return R >= c;
  2388. },
  2389. 'U7K': function(R, c) {
  2390. return R < c;
  2391. },
  2392. 'I07': function(R, c) {
  2393. return R > c;
  2394. },
  2395. 'W0K': function(R, c) {
  2396. return R == c;
  2397. },
  2398. 'O9w': function(R, c) {
  2399. return R < c;
  2400. },
  2401. 'k7W': function(R, c) {
  2402. return R == c;
  2403. },
  2404. 'C1W': function(R, c) {
  2405. return R == c;
  2406. },
  2407. 'Y2K': function(R, c) {
  2408. return R | c;
  2409. },
  2410. 'b7K': function(R, c) {
  2411. return R - c;
  2412. },
  2413. 'S0W': function(R, c) {
  2414. return R > c;
  2415. },
  2416. 'e6P': function(R, c) {
  2417. return R != c;
  2418. },
  2419. 'N2W': function(R, c) {
  2420. return R * c;
  2421. },
  2422. 'O97': function(R, c) {
  2423. return R < c;
  2424. },
  2425. 'V2W': function(R, c) {
  2426. return R == c;
  2427. },
  2428. 'w5K': function(R, c) {
  2429. return R > c;
  2430. },
  2431. 'H1W': function(R, c) {
  2432. return R | c;
  2433. },
  2434. 'I47': function(R, c) {
  2435. return R != c;
  2436. },
  2437. 's9P': function(R, c) {
  2438. return R * c;
  2439. },
  2440. 'D9K': function(R, c) {
  2441. return R == c;
  2442. },
  2443. 'k17': function(R, c) {
  2444. return R < c;
  2445. },
  2446. 'e2K': function(R, c) {
  2447. return R * c;
  2448. },
  2449. 'j7Y': function(R, c) {
  2450. return R == c;
  2451. },
  2452. 'f5E': function(R, c) {
  2453. return R | c;
  2454. },
  2455. 'y17': function(R, c) {
  2456. return R | c;
  2457. },
  2458. 'P87': function(R, c) {
  2459. return R < c;
  2460. },
  2461. 'y2E': function(R, c) {
  2462. return R < c;
  2463. },
  2464. 'I9K': function(R, c) {
  2465. return R != c;
  2466. },
  2467. 'd0W': function(R, c) {
  2468. return R | c;
  2469. },
  2470. 'n8P': function(R, c) {
  2471. return R != c;
  2472. },
  2473. 'C4P': function(R, c) {
  2474. return R != c;
  2475. },
  2476. 'X4P': function(R, c) {
  2477. return R != c;
  2478. },
  2479. 'n4W': function(R, c) {
  2480. return R / c;
  2481. },
  2482. 'j7K': function(R, c) {
  2483. return R | c;
  2484. },
  2485. 'T07': function(R, c) {
  2486. return R == c;
  2487. },
  2488. 'B0E': function(R, c) {
  2489. return R != c;
  2490. },
  2491. 'b1W': function(R, c) {
  2492. return R < c;
  2493. },
  2494. 'L2P': function(R, c) {
  2495. return R * c;
  2496. },
  2497. 'c4E': function(R, c) {
  2498. return R != c;
  2499. },
  2500. 'S5K': function(R, c) {
  2501. return R != c;
  2502. },
  2503. 'E37': function(R, c) {
  2504. return R * c;
  2505. },
  2506. 'H0P': function(R, c) {
  2507. return R == c;
  2508. },
  2509. 'c7W': function(R, c) {
  2510. return R | c;
  2511. },
  2512. 'N9w': function(R, c) {
  2513. return R == c;
  2514. },
  2515. 'a7P': function(R, c) {
  2516. return R != c;
  2517. },
  2518. 'T7E': function(R, c) {
  2519. return R * c;
  2520. },
  2521. 'c9P': function(R, c) {
  2522. return R != c;
  2523. },
  2524. 'Q0E': function(R, c) {
  2525. return R < c;
  2526. },
  2527. 'Z2W': function(R, c) {
  2528. return R | c;
  2529. },
  2530. 'h6E': function(R, c) {
  2531. return R - c;
  2532. },
  2533. 'N6Y': function(R, c) {
  2534. return R > c;
  2535. },
  2536. 'L3Y': function(R, c) {
  2537. return R != c;
  2538. },
  2539. 'N8W': function(R, c) {
  2540. return R != c;
  2541. },
  2542. 'Y57': function(R, c) {
  2543. return R < c;
  2544. },
  2545. 'V0W': function(R, c) {
  2546. return R | c;
  2547. },
  2548. 'X8P': function(R, c) {
  2549. return R != c;
  2550. },
  2551. 'o6W': function(R, c) {
  2552. return R < c;
  2553. },
  2554. 'P1W': function(R, c) {
  2555. return R != c;
  2556. },
  2557. 'y0E': function(R, c) {
  2558. return R != c;
  2559. },
  2560. 'G5E': function(R, c) {
  2561. return R != c;
  2562. },
  2563. 'q3P': function(R, c) {
  2564. return R == c;
  2565. },
  2566. 'e5w': function(R, c) {
  2567. return R instanceof c;
  2568. },
  2569. 'f4W': function(R, c) {
  2570. return R == c;
  2571. },
  2572. 'd37': function(R, c) {
  2573. return R != c;
  2574. },
  2575. 'k2K': function(R, c) {
  2576. return R * c;
  2577. },
  2578. 'i6P': function(R, c) {
  2579. return R == c;
  2580. },
  2581. 'g37': function(R, c) {
  2582. return R == c;
  2583. },
  2584. 'm2E': function(R, c) {
  2585. return R < c;
  2586. },
  2587. 'j3K': function(R, c) {
  2588. return R != c;
  2589. },
  2590. 'a67': function(R, c) {
  2591. return R < c;
  2592. },
  2593. 'G97': function(R, c) {
  2594. return R / c;
  2595. },
  2596. 'x2E': function(R, c) {
  2597. return R <= c;
  2598. },
  2599. 'v8K': function(R, c) {
  2600. return R < c;
  2601. },
  2602. 'A2K': function(R, c) {
  2603. return R == c;
  2604. },
  2605. 'N97': function(R, c) {
  2606. return R != c;
  2607. },
  2608. 'R9E': function(R, c) {
  2609. return R != c;
  2610. },
  2611. 'T47': function(R, c) {
  2612. return R - c;
  2613. },
  2614. 'a8K': function(R, c) {
  2615. return R == c;
  2616. },
  2617. 'L9K': function(R, c) {
  2618. return R == c;
  2619. },
  2620. 'U3Y': function(R, c) {
  2621. return R instanceof c;
  2622. },
  2623. 'B6K': function(R, c) {
  2624. return R < c;
  2625. },
  2626. 'U3K': function(R, c) {
  2627. return R == c;
  2628. },
  2629. 's6P': function(R, c) {
  2630. return R != c;
  2631. },
  2632. 'F5P': function(R, c) {
  2633. return R == c;
  2634. },
  2635. 'L47': function(R, c) {
  2636. return R * c;
  2637. },
  2638. 'f37': function(R, c) {
  2639. return R | c;
  2640. },
  2641. 'c5w': function(R, c) {
  2642. return R < c;
  2643. },
  2644. 'h8P': function(R, c) {
  2645. return R > c;
  2646. },
  2647. 'r9W': function(R, c) {
  2648. return R <= c;
  2649. },
  2650. 'Q5w': function(R, c) {
  2651. return R != c;
  2652. },
  2653. 'N77': function(R, c) {
  2654. return R == c;
  2655. },
  2656. 'I27': function(R, c) {
  2657. return R == c;
  2658. },
  2659. 'W07': function(R, c) {
  2660. return R > c;
  2661. },
  2662. 'c57': function(R, c) {
  2663. return R != c;
  2664. },
  2665. 'A7P': function(R, c) {
  2666. return R != c;
  2667. },
  2668. 'Q9W': function(R, c) {
  2669. return R == c;
  2670. },
  2671. 'c2E': function(R, c) {
  2672. return R * c;
  2673. },
  2674. 'P7K': function(R, c) {
  2675. return R < c;
  2676. },
  2677. 'Z77': function(R, c) {
  2678. return R == c;
  2679. },
  2680. 'N1Y': function(R, c) {
  2681. return R != c;
  2682. },
  2683. 'A1P': function(R, c) {
  2684. return R != c;
  2685. },
  2686. 'a4E': function(R, c) {
  2687. return R < c;
  2688. },
  2689. 's7W': function(R, c) {
  2690. return R != c;
  2691. },
  2692. 'D7K': function(R, c) {
  2693. return R != c;
  2694. },
  2695. 'I2P': function(R, c) {
  2696. return R * c;
  2697. },
  2698. 'O1K': function(R, c) {
  2699. return R != c;
  2700. },
  2701. 'j3Y': function(R, c) {
  2702. return R != c;
  2703. },
  2704. 'B7W': function(R, c) {
  2705. return R == c;
  2706. },
  2707. 'x4E': function(R, c) {
  2708. return R == c;
  2709. },
  2710. 'b07': function(R, c) {
  2711. return R == c;
  2712. },
  2713. 'c1P': function(R, c) {
  2714. return R != c;
  2715. },
  2716. 's2Y': function(R, c) {
  2717. return R == c;
  2718. },
  2719. 'W7K': function(R, c) {
  2720. return R == c;
  2721. },
  2722. 'j0P': function(R, c) {
  2723. return R < c;
  2724. },
  2725. 'd1K': function(R, c) {
  2726. return R == c;
  2727. },
  2728. 'N1K': function(R, c) {
  2729. return R == c;
  2730. },
  2731. 'X5K': function(R, c) {
  2732. return R == c;
  2733. },
  2734. 'p0Y': function(R, c) {
  2735. return R == c;
  2736. },
  2737. 'L6W': function(R, c) {
  2738. return R | c;
  2739. },
  2740. 'q97': function(R, c) {
  2741. return R != c;
  2742. },
  2743. 'C4w': function(R, c) {
  2744. return R * c;
  2745. },
  2746. 'E0W': function(R, c) {
  2747. return R | c;
  2748. },
  2749. 'o7E': function(R, c) {
  2750. return R * c;
  2751. },
  2752. 'h4P': function(R, c) {
  2753. return R == c;
  2754. },
  2755. 'g4W': function(R, c) {
  2756. return R * c;
  2757. },
  2758. 'J0P': function(R, c) {
  2759. return R == c;
  2760. },
  2761. 'l2K': function(R, c) {
  2762. return R < c;
  2763. },
  2764. 'v17': function(R, c) {
  2765. return R == c;
  2766. },
  2767. 'M2P': function(R, c) {
  2768. return R * c;
  2769. },
  2770. 'O4W': function(R, c) {
  2771. return R == c;
  2772. },
  2773. 'F7E': function(R, c) {
  2774. return R * c;
  2775. },
  2776. 'J3Y': function(R, c) {
  2777. return R != c;
  2778. },
  2779. 'R2P': function(R, c) {
  2780. return R == c;
  2781. },
  2782. 'I4w': function(R, c) {
  2783. return R < c;
  2784. },
  2785. 'e1P': function(R, c) {
  2786. return R != c;
  2787. },
  2788. 'o7K': function(R, c) {
  2789. return R != c;
  2790. },
  2791. 'h37': function(R, c) {
  2792. return R < c;
  2793. },
  2794. 'u37': function(R, c) {
  2795. return R < c;
  2796. },
  2797. 'H3K': function(R, c) {
  2798. return R == c;
  2799. },
  2800. 'Z0W': function(R, c) {
  2801. return R != c;
  2802. },
  2803. 's5w': function(R, c) {
  2804. return R <= c;
  2805. },
  2806. 'r7P': function(R, c) {
  2807. return R <= c;
  2808. },
  2809. 'q1K': function(R, c) {
  2810. return R | c;
  2811. },
  2812. 'l57': function(R, c) {
  2813. return R < c;
  2814. },
  2815. 'Q1K': function(R, c) {
  2816. return R - c;
  2817. },
  2818. 'V1E': function(R, c) {
  2819. return R < c;
  2820. },
  2821. 'z0K': function(R, c) {
  2822. return R == c;
  2823. },
  2824. 'f0W': function(R, c) {
  2825. return R != c;
  2826. },
  2827. 'I6W': function(R, c) {
  2828. return R >= c;
  2829. },
  2830. 'f77': function(R, c) {
  2831. return R == c;
  2832. },
  2833. 'r5w': function(R, c) {
  2834. return R != c;
  2835. },
  2836. 'P6W': function(R, c) {
  2837. return R | c;
  2838. },
  2839. 'e67': function(R, c) {
  2840. return R != c;
  2841. },
  2842. 'y6P': function(R, c) {
  2843. return R == c;
  2844. },
  2845. 'N37': function(R, c) {
  2846. return R & c;
  2847. },
  2848. 'A9P': function(R, c) {
  2849. return R == c;
  2850. },
  2851. 't87': function(R, c) {
  2852. return R == c;
  2853. },
  2854. 'Z37': function(R, c) {
  2855. return R - c;
  2856. },
  2857. 'B9P': function(R, c) {
  2858. return R == c;
  2859. },
  2860. 'A6P': function(R, c) {
  2861. return R == c;
  2862. },
  2863. 'O37': function(R, c) {
  2864. return R != c;
  2865. },
  2866. 'Z7P': function(R, c) {
  2867. return R / c;
  2868. },
  2869. 'u2W': function(R, c) {
  2870. return R < c;
  2871. },
  2872. 'F4P': function(R, c) {
  2873. return R == c;
  2874. },
  2875. 'v5w': function(R, c) {
  2876. return R == c;
  2877. },
  2878. 'X5E': function(R, c) {
  2879. return R * c;
  2880. },
  2881. 'c9W': function(R, c) {
  2882. return R == c;
  2883. },
  2884. 'o27': function(R, c) {
  2885. return R == c;
  2886. },
  2887. 'O77': function(R, c) {
  2888. return R == c;
  2889. },
  2890. 'h2W': function(R, c) {
  2891. return R != c;
  2892. },
  2893. 'o87': function(R, c) {
  2894. return R == c;
  2895. },
  2896. 'w97': function(R, c) {
  2897. return R != c;
  2898. },
  2899. 'Y3W': function(R, c) {
  2900. return R != c;
  2901. },
  2902. 'l1P': function(R, c) {
  2903. return R != c;
  2904. },
  2905. 'm1P': function(R, c) {
  2906. return R == c;
  2907. },
  2908. 'V97': function(R, c) {
  2909. return R == c;
  2910. },
  2911. 'A2E': function(R, c) {
  2912. return R < c;
  2913. },
  2914. 'b3E': function(R, c) {
  2915. return R != c;
  2916. },
  2917. 'G6E': function(R, c) {
  2918. return R / c;
  2919. },
  2920. 'r17': function(R, c) {
  2921. return R & c;
  2922. },
  2923. 'b2P': function(R, c) {
  2924. return R * c;
  2925. },
  2926. 'H9K': function(R, c) {
  2927. return R != c;
  2928. },
  2929. 'W3Y': function(R, c) {
  2930. return R == c;
  2931. },
  2932. 'W6W': function(R, c) {
  2933. return R | c;
  2934. },
  2935. 'W27': function(R, c) {
  2936. return R * c;
  2937. },
  2938. 'm2K': function(R, c) {
  2939. return R == c;
  2940. },
  2941. 'A6K': function(R, c) {
  2942. return R / c;
  2943. },
  2944. 'Z8P': function(R, c) {
  2945. return R >= c;
  2946. },
  2947. 'L87': function(R, c) {
  2948. return R == c;
  2949. },
  2950. 'K8W': function(R, c) {
  2951. return R != c;
  2952. },
  2953. 'B7P': function(R, c) {
  2954. return R < c;
  2955. },
  2956. 'E6Y': function(R, c) {
  2957. return R - c;
  2958. },
  2959. 'F6W': function(R, c) {
  2960. return R == c;
  2961. },
  2962. 'p5w': function(R, c) {
  2963. return R == c;
  2964. },
  2965. 't9K': function(R, c) {
  2966. return R != c;
  2967. },
  2968. 'X4W': function(R, c) {
  2969. return R * c;
  2970. },
  2971. 'p9W': function(R, c) {
  2972. return R == c;
  2973. },
  2974. 'g4K': function(R, c) {
  2975. return R > c;
  2976. },
  2977. 'V8W': function(R, c) {
  2978. return R < c;
  2979. },
  2980. 'I5W': function(R, c) {
  2981. return R < c;
  2982. },
  2983. 'Q3W': function(R, c) {
  2984. return R != c;
  2985. },
  2986. 'K3P': function(R, c) {
  2987. return R == c;
  2988. },
  2989. 'R27': function(R, c) {
  2990. return R - c;
  2991. },
  2992. 'F87': function(R, c) {
  2993. return R == c;
  2994. },
  2995. 'g97': function(R, c) {
  2996. return R * c;
  2997. },
  2998. 'n77': function(R, c) {
  2999. return R & c;
  3000. },
  3001. 'r57': function(R, c) {
  3002. return R < c;
  3003. },
  3004. 'v9W': function(R, c) {
  3005. return R > c;
  3006. },
  3007. 'i2E': function(R, c) {
  3008. return R < c;
  3009. },
  3010. 'a1P': function(R, c) {
  3011. return R > c;
  3012. },
  3013. 'K6K': function(R, c) {
  3014. return R <= c;
  3015. },
  3016. 'W9K': function(R, c) {
  3017. return R == c;
  3018. },
  3019. 'j5P': function(R, c) {
  3020. return R == c;
  3021. },
  3022. 'u3P': function(R, c) {
  3023. return R < c;
  3024. }
  3025. };
  3026. (function() {
  3027. for (var s4y in H1N2z[D2z]) {
  3028. if (s4y.length === (68.8E1 == (87., 6.88E2) ? (66.0E1, 9) : 148 < (0x19C, 0x14) ? (0xB9, 14) : (100, 0x11E)) && s4y.charCodeAt(6) === 116 && s4y.charCodeAt(8) === 114 && s4y.charCodeAt(4) === 103 && s4y.charCodeAt(0) === 110) break
  3029. };
  3030. for (var n4y in H1N2z[D2z][s4y]) {
  3031. if (n4y.length == 9 && n4y.charCodeAt(8) == 116 && n4y.charCodeAt((43.7E1 >= (40, 0x139) ? (125., 7) : 38.80E1 < (49.1E1, 11) ? 0xE1 : (141., 0x4E))) == (20 >= (97.80E1, 0x252) ? (111., 0x205) : 0x10C < (79., 12.52E2) ? (114, 110) : (92, 82.) > 0x152 ? "A" : (0x24, 64)) && n4y.charCodeAt(0) == 117) break
  3032. };
  3033. var a4 = function() {},
  3034. n4 = function() {},
  3035. I5 = function() {
  3036. W.TObject = ["TObject", 4];
  3037. },
  3038. v9 = function() {
  3039. S7.__name__ = ["flambe", "asset", "File"];
  3040. },
  3041. Y4 = function(R) {
  3042. X.Type1.__enum__ = R;
  3043. },
  3044. B5 = function() {
  3045. x0.__name__ = ["Float"];
  3046. },
  3047. D5 = function() {
  3048. x4.__name__ = ["hexcon", "library", "Button"];
  3049. },
  3050. L4 = function(R) {
  3051. this._storage = R;
  3052. },
  3053. Y5 = function(R) {
  3054. V.OGG.toString = R;
  3055. },
  3056. W5 = function(R) {
  3057. I["flambe.util.Signal1"] = R;
  3058. },
  3059. a5 = function() {
  3060. J.__name__ = ["flambe", "display", "Sprite"];
  3061. },
  3062. Q4 = function() {
  3063. m9.__name__ = ["flambe", "math", "Rectangle"];
  3064. },
  3065. C9 = function(R) {
  3066. I["flambe.scene.Scene"] = R;
  3067. },
  3068. r9 = function(R) {
  3069. e5.count = R;
  3070. },
  3071. Z9 = function() {
  3072. U6.__name__ = ["flambe", "platform", "html", "WebGLBatcher"];
  3073. },
  3074. O9 = function() {},
  3075. f4 = function() {
  3076. Z7.__name__ = ["flambe", "animation", "Behavior"];
  3077. },
  3078. m9 = function(R, c, g, F) {
  3079. b4o6.c9W(null, F) && (F = 0);
  3080. b4o6.p9W(null, g) && (g = 0);
  3081. b4o6.m9W(null, c) && (c = 0);
  3082. b4o6.a9W(null, R) && (R = 0);
  3083. this.set(R, c, g, F);
  3084. },
  3085. O8 = function(R) {
  3086. V.WAV.toString = R;
  3087. },
  3088. P5 = function(R) {
  3089. I["flambe.script._Script.Handle"] = R;
  3090. },
  3091. n8 = function(R) {
  3092. V.DDS.__enum__ = R;
  3093. },
  3094. N9 = function(R) {
  3095. I["flambe.input.PointerEvent"] = R;
  3096. },
  3097. d6 = function(R) {
  3098. I["hexcon.gameplay.Tile"] = R;
  3099. },
  3100. I9 = function() {
  3101. this._transitor = null;
  3102. w.call(this);
  3103. this.scenes = [];
  3104. this.occludedScenes = [];
  3105. this._root = new T;
  3106. },
  3107. x9 = function() {
  3108. $b.__name__ = ["flambe", "input", "PointerEvent"];
  3109. },
  3110. A9 = function(R, c, g) {
  3111. for (var B2z in H1N2z[D2z]) {
  3112. if (B2z.length === 8 && B2z.charCodeAt(5) === 101 && B2z.charCodeAt(7) === 116 && B2z.charCodeAt(3) === (84 >= (139., 0x82) ? (17., 53.80E1) : (24., 34) <= 107. ? (3.75E2, 117) : (24, 80.80E1) <= (146., 1.5E1) ? (0x22D, 143.) : (7.83E2, 126.)) && B2z.charCodeAt(0) === 100) break
  3113. };
  3114. var F = this;
  3115. this._sound = R;
  3116. this._tickableAdded = !1;
  3117. this._clonedElement = H1N2z[D2z][B2z]['createElement']("audio");
  3118. this._clonedElement.loop = g;
  3119. this._clonedElement.src = R.audioElement.src;
  3120. this.volume = new Q(c, function() {
  3121. F.updateVolume();
  3122. });
  3123. this.updateVolume();
  3124. this._complete = new X4(!1);
  3125. this.playAudio();
  3126. e.hidden._value && this.set_paused(!0);
  3127. },
  3128. V9 = function() {},
  3129. I8 = function(R) {
  3130. V.OGG.__enum__ = R;
  3131. },
  3132. L8 = function(R) {
  3133. I["flambe.platform.html.CanvasTexture"] = R;
  3134. },
  3135. j4 = function() {
  3136. X8.__name__ = ["flambe", "platform", "EventGroup"];
  3137. },
  3138. m6 = function() {
  3139. F4.__name__ = ["hexcon", "gameplay", "GameConstants"];
  3140. },
  3141. F4 = function() {},
  3142. j8 = function(R) {
  3143. S9.Button.toString = R;
  3144. },
  3145. b8 = function() {
  3146. l0.__name__ = ["flambe", "subsystem", "MouseSystem"];
  3147. },
  3148. G8 = function(R) {
  3149. V.PVR.toString = R;
  3150. },
  3151. f8 = function(R) {
  3152. F4.CenterY = R;
  3153. };
  3154. function L(R) {
  3155. return b4o6.U7Y(R, Array) ? function() {
  3156. return U.iter(R);
  3157. } : "function" == typeof R.iterator ? K9(R, R.iterator) : R.iterator;
  3158. }
  3159. var z4 = function(R) {
  3160. I["flambe.util.SignalConnection"] = R;
  3161. },
  3162. p4 = function() {
  3163. this.h = {};
  3164. },
  3165. T8 = function() {
  3166. y0.__name__ = ["hexcon", "scene", "PreloaderScene"];
  3167. },
  3168. r4 = function(R) {
  3169. I["flambe.platform.TextureRoot"] = R;
  3170. },
  3171. B = function(R) {
  3172. I["flambe.scene.Transition"] = R;
  3173. },
  3174. a9 = function() {
  3175. O4.__name__ = ["flambe", "asset", "Manifest"];
  3176. },
  3177. S8 = function() {
  3178. g6.__name__ = ["flambe", "display", "Texture"];
  3179. },
  3180. b5 = function() {
  3181. l9.USE_ENUM_INDEX = !1;
  3182. },
  3183. T4 = function(R) {
  3184. M.Prev.__enum__ = R;
  3185. },
  3186. y5 = function(R) {
  3187. V.PKM.__enum__ = R;
  3188. },
  3189. E4 = function(R) {
  3190. U4.call(this, R, "attribute highp vec2 a_pos;\nattribute lowp vec3 a_rgb;\nattribute lowp float a_alpha;\nvarying lowp vec4 v_color;\nvoid main (void) {\nv_color = vec4(a_rgb*a_alpha, a_alpha);\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying lowp vec4 v_color;\nvoid main (void) {\ngl_FragColor = v_color;\n}");
  3191. this.a_pos = this.getAttribLocation("a_pos");
  3192. this.a_rgb = this.getAttribLocation("a_rgb");
  3193. this.a_alpha = this.getAttribLocation("a_alpha");
  3194. },
  3195. G4 = function() {
  3196. this.down = new C4;
  3197. this.move = new C4;
  3198. this.up = new C4;
  3199. },
  3200. c4 = function(R, c) {
  3201. this.name = R;
  3202. var g = b4o6.j3E(1, c.length);
  3203. this.frames = [];
  3204. for (var F = 0; b4o6.g1E(F, c.length);) {
  3205. var p = c[F];
  3206. ++F;
  3207. this.frames.push(new N6(p, g));
  3208. }
  3209. },
  3210. P = function() {
  3211. I4.Mask = ["Mask", 4];
  3212. },
  3213. V8 = function() {
  3214. k5.__interfaces__ = [u9];
  3215. },
  3216. e9 = function(R) {
  3217. E4.__super__ = R;
  3218. },
  3219. P4 = function() {
  3220. this.connectedTile = this.reverseConnectedTile = this.targetTile = this._baseSprite = this._sprite = null;
  3221. this.isChangable = !0;
  3222. this.animalSprite = null;
  3223. this._animal = 0;
  3224. this._isConnecting = !1;
  3225. this._col = this._row = 0;
  3226. w.call(this);
  3227. },
  3228. R9 = function(R) {
  3229. I["flambe.platform.DummySound"] = R;
  3230. },
  3231. M5 = function(R) {
  3232. I["flambe.platform.shader.ShaderGL"] = R;
  3233. },
  3234. q9 = function(R) {
  3235. U4.call(this, R, "attribute highp vec2 a_pos;\nattribute mediump vec2 a_uv;\nattribute lowp float a_alpha;\nvarying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nvoid main (void) {\nv_uv = a_uv;\nv_alpha = a_alpha;\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nuniform lowp sampler2D u_texture;\nuniform mediump vec4 u_region;\nvoid main (void) {\ngl_FragColor = texture2D(u_texture, u_region.xy + mod(v_uv, u_region.zw)) * v_alpha;\n}");
  3236. this.a_pos = this.getAttribLocation("a_pos");
  3237. this.a_uv = this.getAttribLocation("a_uv");
  3238. this.a_alpha = this.getAttribLocation("a_alpha");
  3239. this.u_texture = this.getUniformLocation("u_texture");
  3240. this.u_region = this.getUniformLocation("u_region");
  3241. this.setTexture(0);
  3242. },
  3243. H = function() {
  3244. C8.__name__ = ["flambe", "display", "_Font", "ConfigParser"];
  3245. },
  3246. l5 = function() {
  3247. X.Type1 = ["Type1", 1];
  3248. },
  3249. x6 = function(R) {
  3250. V.PNG.__enum__ = R;
  3251. },
  3252. z6 = function() {
  3253. Z4.__interfaces__ = [u4];
  3254. },
  3255. H8 = function(R) {
  3256. I["flambe.platform.html.WebGLGraphics"] = R;
  3257. },
  3258. q8 = function() {
  3259. W.TBool = ["TBool", 3];
  3260. },
  3261. O6 = function(R) {
  3262. V.MP3.toString = R;
  3263. },
  3264. z = function() {
  3265. this._disposed = !1;
  3266. this._playback = new y7(this);
  3267. },
  3268. m4 = function() {
  3269. q7.__interfaces__ = [u9];
  3270. },
  3271. h6 = function(R) {
  3272. J.__super__ = R;
  3273. },
  3274. k0 = function(R) {
  3275. V.M4A.__enum__ = R;
  3276. },
  3277. n6 = function(R) {
  3278. I["hexcon.scene.RotateScene"] = R;
  3279. },
  3280. J0 = function() {
  3281. C5.Landscape = ["Landscape", 1];
  3282. },
  3283. T5 = function() {},
  3284. w0 = function(R) {
  3285. I["hexcon.scene.PlayScene"] = R;
  3286. },
  3287. i5 = function() {},
  3288. s6 = function(R) {
  3289. W.TInt.toString = R;
  3290. },
  3291. O4 = function() {
  3292. this._localBase = this._remoteBase = null;
  3293. this._entries = [];
  3294. },
  3295. B9 = function(R) {
  3296. w.call(this);
  3297. this._minCol = R;
  3298. },
  3299. c7 = function() {
  3300. e5.__name__ = ["haxe", "ds", "ObjectMap"];
  3301. },
  3302. $ = function(R) {
  3303. this._pointer = R;
  3304. this._source = F6.Mouse($._sharedEvent);
  3305. this.down = new C4;
  3306. this.move = new C4;
  3307. this.up = new C4;
  3308. this.scroll = new C4;
  3309. this._y = this._x = 0;
  3310. this._cursor = S9.Default;
  3311. this._buttonStates = new p4;
  3312. },
  3313. v5 = function(R, c, g, F) {
  3314. this._from = R;
  3315. this._to = c;
  3316. this._duration = g;
  3317. this.elapsed = 0;
  3318. this._easing = b4o6.o5P(null, F) ? F : i4.linear;
  3319. },
  3320. B0 = function(R) {
  3321. I["flambe.platform.html.WebGLTextureRoot"] = R;
  3322. },
  3323. L6 = function(R) {
  3324. I["flambe.script.Action"] = R;
  3325. },
  3326. D0 = function() {
  3327. V7.__name__ = ["flambe", "script", "_Script", "Handle"];
  3328. },
  3329. r0 = function(R) {
  3330. M.Cancel.__enum__ = R;
  3331. },
  3332. N0 = function(R) {
  3333. q9.__super__ = R;
  3334. },
  3335. a6 = function() {
  3336. V.PKM = ["PKM", 7];
  3337. },
  3338. x5 = function() {},
  3339. U5 = function() {},
  3340. Q = function(R, c) {
  3341. this._behavior = null;
  3342. X4.call(this, R, c);
  3343. },
  3344. l4 = function(R) {
  3345. for (var P2z in H1N2z[D2z]) {
  3346. if (P2z.length === 8 && P2z.charCodeAt(5) === 101 && P2z.charCodeAt(7) === 116 && P2z.charCodeAt(((0x2B, 107) >= 1.411E3 ? 25 : (92.5E1, 74) < (1.034E3, 88) ? (88.2E1, 3) : 32 < (0x8A, 26.) ? (6.100E2, 'Y') : (74., 112))) === 117 && P2z.charCodeAt(0) === ((6.04E2, 119.10E1) < 94.0E1 ? 1 : 88. < (58.7E1, 68.) ? (0x13E, 106.) : (0xD, 55.90E1) > 7.7E1 ? (39., 100) : (0x7C, 0x42))) break
  3347. };
  3348. var c = this;
  3349. this._canvas = R;
  3350. this.resize = new P8;
  3351. this.scaleFactor = l4.computeScaleFactor();
  3352. b4o6.d2W(1, this.scaleFactor) && (k.setVendorStyle(this._canvas, "transform-origin", "top left"), k.setVendorStyle(this._canvas, "transform", "scale(" + b4o6.O2W(1, this.scaleFactor) + ")"));
  3353. k.SHOULD_HIDE_MOBILE_BROWSER && (H1N2z[D2z]['addEventListener']("orientationchange", function() {
  3354. k.callLater(K9(c, c.hideMobileBrowser), 200);
  3355. }, !1), this.hideMobileBrowser());
  3356. H1N2z[D2z]['addEventListener']("resize", function() {
  3357. k.callLater(K9(c, c.onWindowResizeWithNull), 200);
  3358. }, !1);
  3359. this.onWindowResize(null);
  3360. this.orientation = new X4(null);
  3361. b4o6.G2W(null, H1N2z[D2z].orientation) && (H1N2z[D2z]['addEventListener']("orientationchange", function() {
  3362. k.callLater(K9(c, c.onOrientationChangeWithNull), 200);
  3363. }, !1), this.onOrientationChange(null));
  3364. this.fullscreen = new X4(!1);
  3365. k.addVendorListener(H1N2z[D2z][P2z], "fullscreenchange", function() {
  3366. c.updateFullscreen();
  3367. }, !1);
  3368. this.updateFullscreen();
  3369. },
  3370. X0 = function() {
  3371. v4.__name__ = ["js", "Boot"];
  3372. },
  3373. g7 = function(R) {
  3374. z.__super__ = R;
  3375. },
  3376. G6 = function() {
  3377. r7.__name__ = ["flambe", "swf", "MovieSymbol"];
  3378. },
  3379. E0 = function(R) {
  3380. I["flambe.util.Value"] = R;
  3381. },
  3382. Y0 = function(R) {
  3383. I.Std = R;
  3384. },
  3385. W0 = function(R) {
  3386. j.__super__ = R;
  3387. },
  3388. t8 = function(R, c) {
  3389. this.key = R;
  3390. this._value = c;
  3391. },
  3392. Q6 = function() {
  3393. U5.__name__ = ["Lambda"];
  3394. },
  3395. o8 = function(R) {
  3396. X.Empty.toString = R;
  3397. },
  3398. P0 = function() {
  3399. l7.__name__ = ["flambe", "platform", "html", "_WebGLGraphics", "DrawingState"];
  3400. },
  3401. O7 = function() {
  3402. o6.__name__ = ["flambe", "util", "_SignalBase", "Task"];
  3403. },
  3404. K4 = function() {
  3405. G9.__interfaces__ = [W8];
  3406. },
  3407. z5 = function(R) {
  3408. I.Math = R;
  3409. },
  3410. h9 = function(R) {
  3411. w.call(this);
  3412. this._type = R;
  3413. },
  3414. u8 = function() {
  3415. n7.__name__ = ["flambe", "animation", "Sine"];
  3416. },
  3417. p7 = function() {
  3418. M.OK = ["OK", 3];
  3419. },
  3420. d7 = function() {
  3421. j.__interfaces__ = [a4];
  3422. },
  3423. m7 = function(R) {
  3424. F9.Stage3D.__enum__ = R;
  3425. },
  3426. G7 = function() {
  3427. M.Exit = ["Exit", 6];
  3428. },
  3429. w8 = function() {
  3430. d8.__interfaces__ = [Z8];
  3431. },
  3432. X9 = function(R) {
  3433. N7.__super__ = R;
  3434. },
  3435. M0 = function(R) {
  3436. V.Data.toString = R;
  3437. },
  3438. j6 = function(R) {
  3439. I["flambe.platform.DummyTouch"] = R;
  3440. },
  3441. y6 = function(R) {
  3442. V.WAV.__enum__ = R;
  3443. },
  3444. a7 = function(R) {
  3445. I["flambe.platform.html.WebGLRenderer"] = R;
  3446. },
  3447. f6 = function(R) {
  3448. I["haxe.ds.IntMap"] = R;
  3449. },
  3450. H5 = function(R, c) {
  3451. this._firstDraw = !1;
  3452. this._canvasCtx = R.getContext("2d", {
  3453. alpha: c
  3454. });
  3455. },
  3456. A5 = function(R) {
  3457. this._texture = R.texture;
  3458. this._anchorX = R.anchorX;
  3459. this._anchorY = R.anchorY;
  3460. },
  3461. M4 = function(R) {
  3462. X.Type6.__enum__ = R;
  3463. },
  3464. E = function(R) {
  3465. J.call(this);
  3466. this.texture = R;
  3467. },
  3468. S6 = function() {
  3469. G9.__name__ = ["flambe", "platform", "html", "WebGLGraphics"];
  3470. },
  3471. F0 = function(R) {
  3472. I["flambe.util.Assert"] = R;
  3473. },
  3474. p0 = function(R) {
  3475. I["flambe.swf._Flipbook.FrameSymbol"] = R;
  3476. },
  3477. e4 = function() {
  3478. I9.__name__ = ["flambe", "scene", "Director"];
  3479. },
  3480. i = function() {
  3481. c6.__interfaces__ = [u9];
  3482. },
  3483. R0 = function() {
  3484. h7.__name__ = ["flambe", "swf", "Symbol"];
  3485. },
  3486. t5 = function(R) {
  3487. I["hexcon.ContextManager"] = R;
  3488. },
  3489. g0 = function(R) {
  3490. X.Type5.__enum__ = R;
  3491. },
  3492. i0 = function(R) {
  3493. V.MP3.__enum__ = R;
  3494. },
  3495. c0 = function() {
  3496. q9.__name__ = ["flambe", "platform", "shader", "DrawPatternGL"];
  3497. },
  3498. C0 = function(R) {
  3499. I4.Screen.__enum__ = R;
  3500. },
  3501. d0 = function(R) {
  3502. I["flambe.platform.BasicFile"] = R;
  3503. },
  3504. m0 = function() {
  3505. w4.__interfaces__ = [u4];
  3506. },
  3507. v6 = function() {
  3508. E.__name__ = ["flambe", "display", "ImageSprite"];
  3509. },
  3510. s5 = function(R) {
  3511. X.Type7.toString = R;
  3512. },
  3513. J8 = function(R) {
  3514. I4.Mask.toString = R;
  3515. },
  3516. s9 = function(R) {
  3517. V.OPUS.__enum__ = R;
  3518. },
  3519. A4 = function(R) {
  3520. w7.__super__ = R;
  3521. },
  3522. u4 = function() {},
  3523. c9 = function(R) {
  3524. i9.Warning.__enum__ = R;
  3525. },
  3526. L5 = function(R) {
  3527. I["flambe.display.TextSprite"] = R;
  3528. },
  3529. Q9 = function(R) {
  3530. I["flambe.sound.Sound"] = R;
  3531. },
  3532. l = function(R) {
  3533. I["flambe.platform.InternalRenderer"] = R;
  3534. },
  3535. V6 = function(R) {
  3536. V.JPG.__enum__ = R;
  3537. },
  3538. q6 = function(R) {
  3539. F8.__super__ = R;
  3540. },
  3541. A6 = function(R) {
  3542. I["flambe.platform.shader.DrawPatternGL"] = R;
  3543. },
  3544. I0 = function(R) {
  3545. I["flambe.platform.BasicTouch"] = R;
  3546. },
  3547. e = function() {},
  3548. O0 = function(R) {
  3549. I["flambe.scene.Director"] = R;
  3550. },
  3551. U = function() {},
  3552. n9 = function() {},
  3553. Q5 = function(R) {
  3554. this.id = R;
  3555. this._source = F6.Touch(this);
  3556. },
  3557. b0 = function(R) {
  3558. I["flambe.display.Graphics"] = R;
  3559. },
  3560. e6 = function() {
  3561. W.TUnknown = ["TUnknown", 8];
  3562. },
  3563. Z0 = function() {
  3564. W8.__interfaces__ = [u6];
  3565. },
  3566. G0 = function() {},
  3567. n0 = function(R) {
  3568. F4.CenterX = R;
  3569. },
  3570. L0 = function() {
  3571. B7.__name__ = ["StringBuf"];
  3572. },
  3573. a0 = function() {},
  3574. h0 = function() {
  3575. E9.__name__ = ["hexcon", "Transition"];
  3576. },
  3577. z0 = function(R) {
  3578. I["flambe.input.TouchPoint"] = R;
  3579. },
  3580. s0 = function() {
  3581. u7.__name__ = ["flambe", "platform", "html", "_WebAudioSound", "WebAudioPlayback"];
  3582. },
  3583. d3 = function(R) {
  3584. I["flambe.swf.MovieSprite"] = R;
  3585. },
  3586. y7 = function(R) {
  3587. this._sound = R;
  3588. this.volume = new Q(0);
  3589. this._complete = new X4(!0);
  3590. },
  3591. p3 = function(R) {
  3592. I["flambe.platform.html.WebAudioSound"] = R;
  3593. },
  3594. F3 = function() {
  3595. $.__name__ = ["flambe", "platform", "BasicMouse"];
  3596. },
  3597. g3 = function() {
  3598. c4.__name__ = ["flambe", "swf", "Flipbook"];
  3599. },
  3600. c3 = function() {
  3601. s4.__name__ = ["flambe", "math", "FMath"];
  3602. },
  3603. R3 = function(R) {
  3604. I["hexcon.library.Vector2"] = R;
  3605. },
  3606. j0 = function() {
  3607. Math.__name__ = ["Math"];
  3608. },
  3609. f0 = function() {
  3610. X.Type2 = ["Type2", 2];
  3611. },
  3612. Q0 = function(R) {
  3613. V.PKM.toString = R;
  3614. },
  3615. b3 = function(R) {
  3616. I["flambe.platform.InternalGraphics"] = R;
  3617. },
  3618. y3 = function(R) {
  3619. I["js.html._CanvasElement.CanvasUtil"] = R;
  3620. },
  3621. G3 = function() {
  3622. Z4.__name__ = ["flambe", "script", "Delay"];
  3623. };
  3624. function K(c, g) {
  3625. var F = function(R) {
  3626. d[C] = R[C];
  3627. };
  3628. function p() {}
  3629. p.prototype = c;
  3630. var d = new p,
  3631. C;
  3632. for (C in g) F(g);
  3633. b4o6.M7Y(g.toString, Object.prototype.toString) && (d.toString = g.toString);
  3634. return d;
  3635. }
  3636. var a3 = function() {
  3637. t4.__interfaces__ = [k5];
  3638. },
  3639. u6 = function() {},
  3640. I3 = function() {
  3641. c5.__name__ = ["flambe", "display", "Font"];
  3642. },
  3643. O3 = function(R) {
  3644. F9.WebGL.toString = R;
  3645. },
  3646. b4 = function() {},
  3647. m3 = function(R) {
  3648. g4.Center.__enum__ = R;
  3649. },
  3650. C3 = function() {
  3651. S9.None = ["None", 2];
  3652. },
  3653. o3 = function() {
  3654. R6.__name__ = ["flambe", "platform", "html", "CanvasTexture"];
  3655. },
  3656. e3 = function(R) {
  3657. I["hexcon.Background"] = R;
  3658. },
  3659. u3 = function() {
  3660. M.Cancel = ["Cancel", 4];
  3661. },
  3662. k3 = function(R) {
  3663. I["flambe.platform.html._WebAudioSound.WebAudioPlayback"] = R;
  3664. },
  3665. w = function() {
  3666. this._flags = 0;
  3667. this.owner = this.next = null;
  3668. },
  3669. r3 = function() {
  3670. A9.__interfaces__ = [A7, c6];
  3671. },
  3672. N3 = function(R) {
  3673. I["flambe.script.Script"] = R;
  3674. },
  3675. J3 = function(R) {
  3676. M.Prev.toString = R;
  3677. },
  3678. X3 = function() {
  3679. M8.__interfaces__ = [S7];
  3680. },
  3681. D3 = function(R) {
  3682. F4.RowSize = R;
  3683. },
  3684. B3 = function() {
  3685. J4.Right = ["Right", 2];
  3686. },
  3687. T3 = function() {
  3688. w9.__name__ = ["flambe", "platform", "BasicTexture"];
  3689. },
  3690. S3 = function(R) {
  3691. l6.__super__ = R;
  3692. },
  3693. V3 = function() {
  3694. u0.__name__ = ["haxe", "io", "Eof"];
  3695. },
  3696. v3 = function() {
  3697. Q5.__name__ = ["flambe", "input", "TouchPoint"];
  3698. },
  3699. S7 = function() {},
  3700. A3 = function() {
  3701. n.__name__ = ["Std"];
  3702. },
  3703. H3 = function() {
  3704. A0.__name__ = ["hexcon", "scene", "PlayScene"];
  3705. },
  3706. $a = function() {
  3707. this.length = 0;
  3708. },
  3709. t3 = function(R) {
  3710. I["flambe.animation.Behavior"] = R;
  3711. },
  3712. q3 = function() {
  3713. H0.__interfaces__ = [g6];
  3714. },
  3715. z3 = function() {
  3716. e._calledInit = !1;
  3717. },
  3718. s3 = function(R) {
  3719. I4.Copy.toString = R;
  3720. },
  3721. n3 = function() {
  3722. f9.__interfaces__ = [x5];
  3723. },
  3724. L3 = function() {
  3725. F8.__name__ = ["hexcon", "Popup"];
  3726. },
  3727. o6 = function(R) {
  3728. this.next = null;
  3729. this.fn = R;
  3730. },
  3731. Q3 = function() {
  3732. h8.__interfaces__ = [a4];
  3733. },
  3734. f3 = function(R) {
  3735. I["flambe.display._Font.ConfigParser"] = R;
  3736. },
  3737. j3 = function(R) {
  3738. X.Type6.toString = R;
  3739. },
  3740. R1 = function() {
  3741. x7.__name__ = ["flambe", "platform", "DummyStorage"];
  3742. },
  3743. c1 = function() {
  3744. S9.Default = ["Default", 0];
  3745. },
  3746. g1 = function() {
  3747. G4.__interfaces__ = [G0];
  3748. },
  3749. W3 = function(R) {
  3750. V.M4A.toString = R;
  3751. },
  3752. E3 = function(R) {
  3753. C5.Landscape.__enum__ = R;
  3754. },
  3755. Y3 = function(R) {
  3756. I4.Mask.__enum__ = R;
  3757. },
  3758. P3 = function() {
  3759. e5.__interfaces__ = [k6];
  3760. },
  3761. l3 = function(R) {
  3762. y9.__super__ = R;
  3763. },
  3764. N8 = function(R, c, g) {
  3765. b4o6.p1P(null, g) && (g = -1);
  3766. b4o6.m1P(null, c) && (c = -1);
  3767. J.call(this);
  3768. this.texture = R;
  3769. b4o6.a1P(0, c) && (c = b4o6.y1P(null, R) ? R.get_width() : 0);
  3770. this.width = new Q(c);
  3771. b4o6.v1P(0, g) && (g = b4o6.A1P(null, R) ? R.get_height() : 0);
  3772. this.height = new Q(g);
  3773. },
  3774. M3 = function() {
  3775. Date.__name__ = ["Date"];
  3776. },
  3777. K3 = function(R) {
  3778. I["flambe.math.Point"] = R;
  3779. },
  3780. Z3 = function(R) {
  3781. S9.None.toString = R;
  3782. },
  3783. i3 = function() {
  3784. j._detectSupport = !0;
  3785. },
  3786. x3 = function(R) {
  3787. I["flambe.platform.shader.DrawTextureGL"] = R;
  3788. },
  3789. U3 = function(R) {
  3790. F5.__super__ = R;
  3791. },
  3792. h3 = function() {
  3793. V.JPG = ["JPG", 3];
  3794. },
  3795. A1 = function() {
  3796. l6.__name__ = ["flambe", "SpeedAdjuster"];
  3797. },
  3798. A7 = function() {},
  3799. k6 = function() {},
  3800. H1 = function() {
  3801. g4.Right = ["Right", 2];
  3802. },
  3803. V1 = function(R) {
  3804. I["hexcon.scene.TitleScene"] = R;
  3805. },
  3806. e1 = function(R) {
  3807. J4.Left.toString = R;
  3808. },
  3809. l0 = function() {},
  3810. t1 = function() {
  3811. e7.__interfaces__ = [G0];
  3812. },
  3813. i4 = function() {},
  3814. q1 = function(R) {
  3815. I.HxOverrides = R;
  3816. },
  3817. o4 = function() {},
  3818. I1 = function() {
  3819. d4.__name__ = ["hexcon", "gameplay", "GameManager"];
  3820. },
  3821. O1 = function() {
  3822. X.Type6 = ["Type6", 6];
  3823. },
  3824. m1 = function(R) {
  3825. I["flambe.platform.html.WebGLBatcher"] = R;
  3826. },
  3827. C1 = function() {
  3828. N6.__name__ = ["flambe", "swf", "FlipbookFrame"];
  3829. },
  3830. d1 = function(R) {
  3831. I["flambe.Component"] = R;
  3832. },
  3833. p1 = function() {
  3834. X.Type5 = ["Type5", 5];
  3835. },
  3836. F1 = function() {
  3837. j7.__name__ = ["flambe", "platform", "html", "WebGLRenderer"];
  3838. },
  3839. V7 = function(R) {
  3840. this.removed = !1;
  3841. this.action = R;
  3842. },
  3843. v1 = function(R) {
  3844. I["flambe.util.Strings"] = R;
  3845. },
  3846. T1 = function(R) {
  3847. J4.Middle.__enum__ = R;
  3848. },
  3849. S1 = function(R) {
  3850. I["flambe.script.Sequence"] = R;
  3851. },
  3852. y1 = function(R) {
  3853. W.TBool.toString = R;
  3854. },
  3855. D4 = function() {},
  3856. b1 = function(R) {
  3857. E9.__super__ = R;
  3858. },
  3859. G1 = function(R) {
  3860. F9.WebGL.__enum__ = R;
  3861. },
  3862. a1 = function(R) {
  3863. I["flambe.display.Sprite"] = R;
  3864. },
  3865. K1 = function(R) {
  3866. J4.Left.__enum__ = R;
  3867. },
  3868. M1 = function(R) {
  3869. R6.__super__ = R;
  3870. },
  3871. i1 = function(R) {
  3872. I["flambe.util.Disposable"] = R;
  3873. },
  3874. Z1 = function(R) {
  3875. V.PNG.toString = R;
  3876. },
  3877. Y1 = function(R) {
  3878. V.GIF.__enum__ = R;
  3879. },
  3880. E1 = function(R) {
  3881. I["flambe.subsystem.PointerSystem"] = R;
  3882. },
  3883. P1 = function(R) {
  3884. V.WEBP.__enum__ = R;
  3885. },
  3886. l1 = function() {
  3887. f.__name__ = ["flambe", "platform", "html", "HtmlAssetPackLoader"];
  3888. },
  3889. z1 = function() {
  3890. E8.__name__ = ["flambe", "util", "Signal2"];
  3891. },
  3892. s1 = function(R) {
  3893. I["flambe.System"] = R;
  3894. },
  3895. n1 = function() {
  3896. t0.__name__ = ["js", "html", "_CanvasElement", "CanvasUtil"];
  3897. },
  3898. L1 = function(R) {
  3899. I["hexcon.library.ResponsiveScene"] = R;
  3900. },
  3901. U1 = function() {
  3902. A5.__name__ = ["flambe", "swf", "_Flipbook", "FrameSymbol"];
  3903. },
  3904. q7 = function() {},
  3905. x1 = function() {
  3906. v5.__name__ = ["flambe", "animation", "Tween"];
  3907. },
  3908. h1 = function() {
  3909. n4.__name__ = ["flambe", "platform", "html", "HtmlExternal"];
  3910. },
  3911. w1 = function() {
  3912. E7.__name__ = ["flambe", "display", "Glyph"];
  3913. },
  3914. k1 = function() {
  3915. u4.__name__ = ["flambe", "script", "Action"];
  3916. },
  3917. D8 = function() {},
  3918. J1 = function() {
  3919. e0.__name__ = ["hexcon", "scene", "TitleScene"];
  3920. },
  3921. w6 = function(R) {
  3922. this.keyframeIdx = 0;
  3923. this.needsKeyframeUpdate = !1;
  3924. this.layer = R;
  3925. this.content = new T;
  3926. if (R.empty) this._sprites = null;
  3927. else {
  3928. this._sprites = Array(R.keyframes.length);
  3929. for (var c = 0, g = this._sprites.length; b4o6.v2E(c, g);) {
  3930. var F = c++,
  3931. p = R.keyframes[F];
  3932. this._sprites[F] = b4o6.A2E(0, F) && b4o6.e2E(R.keyframes[F - 1].symbol, p.symbol) ? this._sprites[b4o6.k2E(F, 1)] : b4o6.r2E(null, p.symbol) ? new J : p.symbol.createSprite();
  3933. }
  3934. this.content.add(this._sprites[0]);
  3935. }
  3936. },
  3937. f = function(R, c) {
  3938. o5.call(this, R, c);
  3939. },
  3940. o1 = function(R) {
  3941. I.Type = R;
  3942. },
  3943. u1 = function(R) {
  3944. I4.Multiply.__enum__ = R;
  3945. },
  3946. y0 = function() {},
  3947. B1 = function(R) {
  3948. Q.__super__ = R;
  3949. },
  3950. W1 = function(R) {
  3951. I4.Screen.toString = R;
  3952. },
  3953. X1 = function() {
  3954. g8.__name__ = ["flambe", "util", "SignalConnection"];
  3955. },
  3956. r1 = function(R) {
  3957. I["haxe.io.Eof"] = R;
  3958. },
  3959. B4 = function(c) {
  3960. var g = function(R) {
  3961. c = R.DEFAULT_RESOLVER;
  3962. };
  3963. this.buf = c;
  3964. this.length = c.length;
  3965. this.pos = 0;
  3966. this.scache = [];
  3967. this.cache = [];
  3968. g(B4);
  3969. b4o6.y67(null, c) && (c = b4, B4.DEFAULT_RESOLVER = c);
  3970. this.setResolver(c);
  3971. },
  3972. D1 = function() {
  3973. H5.__interfaces__ = [W8];
  3974. },
  3975. N1 = function() {
  3976. h4.__name__ = ["haxe", "ds", "StringMap"];
  3977. },
  3978. v2 = function(R) {
  3979. X.Empty.__enum__ = R;
  3980. },
  3981. T2 = function(R) {
  3982. l9.BASE64 = R;
  3983. },
  3984. S2 = function(R) {
  3985. I["flambe.script.CallFunction"] = R;
  3986. },
  3987. y2 = function(R) {
  3988. i9.Clear.toString = R;
  3989. },
  3990. A2 = function(R) {
  3991. I["flambe.platform.DummyPlayback"] = R;
  3992. },
  3993. H2 = function(R) {
  3994. I["hexcon.gameplay.GameConstants"] = R;
  3995. },
  3996. N6 = function(R, c) {
  3997. this.label = null;
  3998. this.anchorX = this.anchorY = 0;
  3999. this.texture = R;
  4000. this.duration = c;
  4001. },
  4002. V2 = function(R) {
  4003. I["flambe.swf.MovieLayer"] = R;
  4004. },
  4005. O2 = function() {
  4006. I4.Add = ["Add", 1];
  4007. },
  4008. m2 = function(R) {
  4009. F9.Canvas.__enum__ = R;
  4010. },
  4011. f9 = function() {},
  4012. r6 = function() {},
  4013. b2 = function(R) {
  4014. I["flambe.Entity"] = R;
  4015. },
  4016. G2 = function() {
  4017. J5.__name__ = ["flambe", "platform", "html", "WebGLTextureRoot"];
  4018. },
  4019. a2 = function() {
  4020. L4.__interfaces__ = [X7];
  4021. },
  4022. I2 = function(R) {
  4023. I4.Add.__enum__ = R;
  4024. },
  4025. F2 = function() {
  4026. Y7.__name__ = ["hexcon", "stageselect", "StageUIManager"];
  4027. },
  4028. G9 = function(R, c) {
  4029. this._inverseProjection = this._stateList = null;
  4030. b4o6.W7E(null, G9._scratchQuadArray) && (G9._scratchQuadArray = new Float32Array(8));
  4031. this._batcher = R;
  4032. this._renderTarget = c;
  4033. },
  4034. c2 = function() {
  4035. v0.__name__ = ["hexcon", "scene", "RotateScene"];
  4036. },
  4037. g2 = function(R) {
  4038. I.List = R;
  4039. },
  4040. C2 = function(R) {
  4041. I["flambe.swf.Symbol"] = R;
  4042. },
  4043. E9 = function(R, c) {
  4044. w.call(this);
  4045. this._sceneType = R;
  4046. this._stageType = c;
  4047. },
  4048. p2 = function(R) {
  4049. I["hexcon.gameplay.GameUIManager"] = R;
  4050. },
  4051. d2 = function() {
  4052. K7.__name__ = ["flambe", "platform", "_BasicAssetPackLoader", "BasicAssetPack"];
  4053. },
  4054. f1 = function() {
  4055. R8.__name__ = ["haxe", "io", "Bytes"];
  4056. },
  4057. j1 = function(R) {
  4058. I["flambe.util.PackageLog"] = R;
  4059. },
  4060. Q1 = function() {
  4061. r7.__interfaces__ = [h7];
  4062. },
  4063. G = function(c, g) {
  4064. var F = function(R) {
  4065. p = R;
  4066. };
  4067. this._levelDatas = this._languageDatas = this._currentLanguageData = null;
  4068. this._soundOption = 0;
  4069. G.Instance = this;
  4070. this._pack = c;
  4071. this._director = g;
  4072. var p = this._pack.getTexture("Animals").split(8, 8);
  4073. this._library = K8.fromFlipbooks([(new c4("1_dance", [p[0], p[1], p[8], p[9], p[2], p[9], p[8], p[1]])).setDuration(0.4).setAnchor(55, 70), (new c4("1_idle", [p[10], p[3], p[11], p[16], p[11], p[3]])).setDuration(0.5).setAnchor(55, 70), (new c4("4_dance", [p[24], p[17], p[18], p[25], p[26], p[25], p[18], p[17]])).setDuration(0.4).setAnchor(55, 70), (new c4("4_idle", [p[19], p[27], p[4], p[5], p[4], p[27]])).setDuration(0.5).setAnchor(55, 70), (new c4("2_dance", [p[12], p[6], p[13], p[20], p[21], p[20], p[13], p[6]])).setDuration(0.4).setAnchor(55, 70), (new c4("2_idle", [p[28], p[14], p[7], p[15], p[7], p[14]])).setDuration(0.5).setAnchor(55, 70), (new c4("6_dance", [p[22], p[29], p[30], p[23], p[31], p[23], p[30], p[29]])).setDuration(0.4).setAnchor(55, 70), (new c4("6_idle", [p[32], p[33], p[40], p[41], p[40], p[33]])).setDuration(0.5).setAnchor(55, 70), (new c4("7_dance", [p[48], p[34], p[49], p[56], p[42], p[56], p[49], p[34]])).setDuration(0.4).setAnchor(55, 70), (new c4("7_idle", [p[35], p[36], p[50], p[57], p[50], p[36]])).setDuration(0.5).setAnchor(55, 70), (new c4("3_dance", [p[43], p[58], p[44], p[51], p[37], p[51], p[44], p[58]])).setDuration(0.4).setAnchor(55, 70), (new c4("3_idle", [p[52], p[59], p[38], p[45], p[38], p[59]])).setDuration(0.5).setAnchor(55, 70), (new c4("5_dance", [p[46], p[53], p[60], p[39], p[61], p[39], p[60], p[53]])).setDuration(0.4).setAnchor(55, 70), (new c4("5_idle", [p[47], p[54], p[55], p[62], p[55], p[54]])).setDuration(0.5).setAnchor(55, 70)]);
  4074. this._font = new c5(this._pack, "font/BasicL");
  4075. this._fontB = new c5(this._pack, "font/BasicLB");
  4076. p = G.getTexture("Tile").split(6, 4);
  4077. this._tileTextures = [];
  4078. this._tileTextures.push(p[0]);
  4079. this._tileTextures.push(p[6]);
  4080. this._tileTextures.push(p[3]);
  4081. this._tileTextures.push(p[5]);
  4082. this._tileTextures.push(p[12]);
  4083. this._tileTextures.push(p[14]);
  4084. this._tileTextures.push(p[20]);
  4085. this._tileTextures.push(p[17]);
  4086. this._tileTextures.push(p[2]);
  4087. this._tileTextures.push(p[8]);
  4088. this._tileTextures.push(p[9]);
  4089. this._tileTextures.push(p[11]);
  4090. this._tileTextures.push(p[18]);
  4091. this._tileTextures.push(p[15]);
  4092. this._tileTextures.push(p[21]);
  4093. this._tileTextures.push(p[1]);
  4094. this._tileTextures.push(p[7]);
  4095. this._tileTextures.push(p[4]);
  4096. this._tileTextures.push(p[10]);
  4097. this._tileTextures.push(p[13]);
  4098. this._tileTextures.push(p[19]);
  4099. this._tileTextures.push(p[16]);
  4100. this._buttonTextures = G.getTexture("UI/Buttons").split(6, 4);
  4101. this._sounds = [];
  4102. this._sounds.push(this._pack.getSound("sound/button"));
  4103. this._sounds.push(this._pack.getSound("sound/connected"));
  4104. this._sounds.push(this._pack.getSound("sound/popup"));
  4105. this._sounds.push(this._pack.getSound("sound/stagecomplete"));
  4106. this._levelDatas = JSON.parse(this._pack.getFile("level/level.json").toString());
  4107. this._languageDatas = new h4;
  4108. for (var p = 0, d = JSON.parse(this._pack.getFile("language.json").toString()).language; b4o6.F27(p, d.length);) {
  4109. var C = d[p];
  4110. ++p;
  4111. this._languageDatas.set(C.code, C.data);
  4112. }
  4113. this._currentLanguageData = this._languageDatas.get("en");
  4114. p = e._platform.getExternal().call("SG_Hooks.getLanguage", ["en,ge,sp,it,fr,pt,tr,ru".split(",")]);
  4115. this._languageDatas.exists(p) && (this._currentLanguageData = this._languageDatas.get(p));
  4116. e._platform.getStage().resize.connect(K9(this, this.onResize));
  4117. this._stageState = [];
  4118. this._stageState.push(0);
  4119. F(0);
  4120. for (d = F4.StagePageCount; b4o6.C27(p, d);) {
  4121. var O = function(R) {
  4122. C = R;
  4123. };
  4124. C = p++;
  4125. C = e._platform.getStorage().get("StageState_" + C);
  4126. if (b4o6.I27(null, C) || b4o6.b27(0, C.length)) O("000000000000000000000000000000");
  4127. for (var a = 0; b4o6.T27(30, a);) {
  4128. var S = a++;
  4129. switch (C.charAt(S)) {
  4130. case "0":
  4131. this._stageState.push(0);
  4132. break;
  4133. case "1":
  4134. this._stageState.push(1);
  4135. break;
  4136. case "2":
  4137. this._stageState.push(2);
  4138. }
  4139. }
  4140. }
  4141. this._lastPlayedStage = e._platform.getStorage().get("LastStage");
  4142. if (b4o6.H27(null, this._lastPlayedStage) || b4o6.t27(0, this._lastPlayedStage)) this._lastPlayedStage = 1;
  4143. this._soundOption = e._platform.getStorage().get("Sound");
  4144. b4o6.o27(null, this._soundOption) && (this._soundOption = 0);
  4145. },
  4146. u9 = function() {},
  4147. J6 = function(R) {
  4148. this.empty = !0;
  4149. this.name = R.name;
  4150. var c = null;
  4151. this.keyframes = Array(R.keyframes.length);
  4152. for (var g = 0, F = this.keyframes.length; b4o6.S97(g, F);) {
  4153. var p = g++,
  4154. c = new Z6(R.keyframes[p], c);
  4155. this.keyframes[p] = c;
  4156. this.empty = this.empty && b4o6.V97(null, c.symbolName);
  4157. }
  4158. this.frames = b4o6.q97(null, c) ? c.index + c.duration : 0;
  4159. },
  4160. R2 = function() {
  4161. e7.__name__ = ["flambe", "platform", "BasicTouch"];
  4162. },
  4163. Y9 = function(R, c) {
  4164. this._x = R;
  4165. this._y = c;
  4166. },
  4167. E2 = function(R) {
  4168. I["hexcon.library.Button"] = R;
  4169. },
  4170. X8 = function() {
  4171. this._entries = [];
  4172. },
  4173. P2 = function() {
  4174. m5.__name__ = ["EReg"];
  4175. },
  4176. b9 = function() {},
  4177. K2 = function() {
  4178. I4.Screen = ["Screen", 3];
  4179. },
  4180. l2 = function(R) {
  4181. Math.POSITIVE_INFINITY = R.POSITIVE_INFINITY;
  4182. },
  4183. M2 = function(R) {
  4184. g4.Left.toString = R;
  4185. },
  4186. T0 = function() {},
  4187. k4 = function(R, c, g) {
  4188. b4o6.j5W(null, g) && (g = !1);
  4189. b4o6.g8W(null, c) && (c = 0);
  4190. b4o6.d8W(null, R) && (R = 0);
  4191. this.down = new C4;
  4192. this.move = new C4;
  4193. this.up = new C4;
  4194. this._x = R;
  4195. this._y = c;
  4196. this._isDown = g;
  4197. },
  4198. B2 = function() {
  4199. M.Next = ["Next", 2];
  4200. },
  4201. n = function() {},
  4202. X2 = function() {
  4203. A5.__interfaces__ = [h7];
  4204. },
  4205. q4 = function(R, c) {
  4206. var g = function() {
  4207. F._flags |= 128;
  4208. };
  4209. b4o6.k1P(null, c) && (c = "");
  4210. this._layout = null;
  4211. var F = this;
  4212. J.call(this);
  4213. this._font = R;
  4214. this._text = c;
  4215. this._align = g4.Left;
  4216. this._flags |= 128;
  4217. this.wrapWidth = new Q(0, g);
  4218. this.letterSpacing = new Q(0, g);
  4219. this.lineSpacing = new Q(0, g);
  4220. },
  4221. W2 = function() {
  4222. K8.__name__ = ["flambe", "swf", "Library"];
  4223. },
  4224. l9 = function() {
  4225. this.buf = new B7;
  4226. this.cache = [];
  4227. this.useCache = l9.USE_CACHE;
  4228. this.useEnumIndex = l9.USE_ENUM_INDEX;
  4229. this.shash = new h4;
  4230. this.scount = 0;
  4231. },
  4232. Y2 = function(R) {
  4233. x4._globalButtonIndex = R;
  4234. },
  4235. u7 = function(c, g, F) {
  4236. var p = this;
  4237. this._sound = c;
  4238. this._head = j.gain;
  4239. this._complete = new X4(!1);
  4240. this._sourceNode = j.ctx.createBufferSource();
  4241. this._sourceNode.buffer = c.buffer;
  4242. this._sourceNode.loop = F;
  4243. this._sourceNode.onended = function() {
  4244. p._complete.set__(!0);
  4245. };
  4246. j.start(this._sourceNode, 0);
  4247. this.playAudio();
  4248. this.volume = new Q(g, function(R) {
  4249. p.setVolume(R);
  4250. });
  4251. b4o6.b9E(1, g) && this.setVolume(g);
  4252. e.hidden._value && this.set_paused(!0);
  4253. },
  4254. k2 = function() {
  4255. n9.__name__ = ["haxe", "rtti", "Meta"];
  4256. },
  4257. w2 = function() {
  4258. P8.__name__ = ["flambe", "util", "Signal0"];
  4259. },
  4260. J2 = function(R) {
  4261. I["hexcon.stageselect.StageList"] = R;
  4262. },
  4263. r2 = function() {
  4264. W8.__name__ = ["flambe", "platform", "InternalGraphics"];
  4265. },
  4266. s4 = function() {},
  4267. N2 = function() {
  4268. r6.__name__ = ["flambe", "subsystem", "PointerSystem"];
  4269. },
  4270. D2 = function(R) {
  4271. f._mediaRefCount = R;
  4272. },
  4273. q2 = function(R) {
  4274. i9.Warning.toString = R;
  4275. },
  4276. t2 = function() {
  4277. p5.__interfaces__ = [u4];
  4278. },
  4279. e2 = function() {
  4280. z.__name__ = ["flambe", "platform", "DummySound"];
  4281. },
  4282. u2 = function() {
  4283. o4.__name__ = ["flambe", "util", "Strings"];
  4284. },
  4285. S0 = function() {},
  4286. e7 = function(R, c) {
  4287. b4o6.e7W(null, c) && (c = 4);
  4288. this._pointer = R;
  4289. this._maxPoints = c;
  4290. this._pointMap = new p4;
  4291. this._points = [];
  4292. this.down = new C4;
  4293. this.move = new C4;
  4294. this.up = new C4;
  4295. },
  4296. o2 = function() {
  4297. H5.__name__ = ["flambe", "platform", "html", "CanvasGraphics"];
  4298. },
  4299. W8 = function() {},
  4300. b4a = function() {
  4301. w.__interfaces__ = [u9];
  4302. },
  4303. G4a = function(R) {
  4304. I["hexcon.gameplay.GridManager"] = R;
  4305. },
  4306. a4a = function(R) {
  4307. M.Restart.__enum__ = R;
  4308. },
  4309. X6 = function(R, c, g, F) {
  4310. this._from = R;
  4311. this._to = c;
  4312. this._transition = g;
  4313. this._onComplete = F;
  4314. },
  4315. I4a = function(R) {
  4316. V.JXR.__enum__ = R;
  4317. },
  4318. v0 = function() {},
  4319. O4a = function() {
  4320. z.__interfaces__ = [a4];
  4321. },
  4322. m4a = function(R) {
  4323. V.DDS.toString = R;
  4324. },
  4325. C4a = function() {
  4326. M.None = ["None", 0];
  4327. },
  4328. d4a = function(R) {
  4329. I["flambe.platform.shader.FillRectGL"] = R;
  4330. },
  4331. p4a = function(R) {
  4332. X.Type3.toString = R;
  4333. },
  4334. $b = function() {
  4335. this.init(0, 0, 0, null, null);
  4336. },
  4337. F4a = function() {
  4338. q4.__name__ = ["flambe", "display", "TextSprite"];
  4339. },
  4340. g4a = function(R) {
  4341. P8.__super__ = R;
  4342. },
  4343. c4a = function() {
  4344. T5.__name__ = ["flambe", "scene", "Transition"];
  4345. },
  4346. e5 = function() {
  4347. this.h = {};
  4348. this.h.__keys__ = {};
  4349. },
  4350. R4a = function() {
  4351. y7.__interfaces__ = [c6];
  4352. },
  4353. f2 = function() {
  4354. X6.__name__ = ["flambe", "scene", "_Director", "Transitor"];
  4355. },
  4356. j2 = function(R) {
  4357. I["haxe.ds.ObjectMap"] = R;
  4358. },
  4359. L2 = function() {
  4360. a4.__name__ = ["flambe", "sound", "Sound"];
  4361. },
  4362. Q2 = function(R) {
  4363. M.None.toString = R;
  4364. },
  4365. s2 = function() {
  4366. for (var l2z in H1N2z[D2z]) {
  4367. if (l2z.length == 3 && l2z.charCodeAt(2) == ((98.0E1, 2.97E2) <= 0x14C ? (0x22, 112) : (74, 0x136) <= 29.20E1 ? 13.0E2 : 0x1E6 >= (131., 0x215) ? 0xB : (60.2E1, 82.)) && l2z.charCodeAt(1) == 111 && l2z.charCodeAt(0) == 116) break
  4368. };
  4369. for (var K2z in H1N2z[D2z]) {
  4370. if (K2z.length === 9 && K2z.charCodeAt(6) === 116 && K2z.charCodeAt(8) === ((5.41E2, 0x60) <= 47. ? 0x255 : 86. > (101., 67) ? (1.0E2, 114) : (81.60E1, 85.4E1) <= 0x5B ? "H" : (116, 90.4E1)) && K2z.charCodeAt(4) === ((1.16E3, 59.40E1) >= (16.90E1, 101.4E1) ? (146, 10.) : (0x236, 0x1CB) >= 2.84E2 ? (19.1E1, 103) : 9. > (1.21E3, 0x21) ? (0x225, "k") : (68.7E1, 145.20E1)) && K2z.charCodeAt(0) === 110) break
  4371. };
  4372. for (var M2z in H1N2z[D2z][K2z]) {
  4373. if (M2z.length == 9 && M2z.charCodeAt(8) == 116 && M2z.charCodeAt(7) == ((13.5E2, 0xB5) < (11.07E2, 0x244) ? (0x12A, 110) : (0xAF, 6.28E2)) && M2z.charCodeAt((133. > (0xF9, 23) ? (91., 0) : (0x29, 32.1E1) > (0x14D, 7.12E2) ? (15., 'Y') : (141., 39.))) == 117) break
  4374. };
  4375. k.SHOULD_HIDE_MOBILE_BROWSER = b4o6.P7Y(H1N2z[D2z][l2z], window) && (new m5("Mobile(/.*)? Safari", "")).match(H1N2z[D2z][K2z][M2z]);
  4376. },
  4377. n2 = function(R) {
  4378. I["flambe.platform.html.HtmlStorage"] = R;
  4379. },
  4380. D6 = function() {},
  4381. z2 = function(R) {
  4382. q4.__super__ = R;
  4383. },
  4384. x2 = function() {
  4385. K7.__interfaces__ = [q7];
  4386. },
  4387. h2 = function() {
  4388. I4.Normal = ["Normal", 0];
  4389. },
  4390. Z2 = function() {
  4391. X.Type3 = ["Type3", 3];
  4392. },
  4393. U2 = function() {
  4394. k4.__name__ = ["flambe", "platform", "BasicPointer"];
  4395. },
  4396. i2 = function() {
  4397. w4.__name__ = ["flambe", "script", "CallFunction"];
  4398. },
  4399. k7 = function(R) {
  4400. U4.call(this, R, "attribute highp vec2 a_pos;\nattribute mediump vec2 a_uv;\nattribute lowp float a_alpha;\nvarying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nvoid main (void) {\nv_uv = a_uv;\nv_alpha = a_alpha;\ngl_Position = vec4(a_pos, 0, 1);\n}", "varying mediump vec2 v_uv;\nvarying lowp float v_alpha;\nuniform lowp sampler2D u_texture;\nvoid main (void) {\ngl_FragColor = texture2D(u_texture, v_uv) * v_alpha;\n}");
  4401. this.a_pos = this.getAttribLocation("a_pos");
  4402. this.a_uv = this.getAttribLocation("a_uv");
  4403. this.a_alpha = this.getAttribLocation("a_alpha");
  4404. this.u_texture = this.getUniformLocation("u_texture");
  4405. this.setTexture(0);
  4406. },
  4407. W6 = function() {},
  4408. M4a = function(R) {
  4409. W.TUnknown.toString = R;
  4410. },
  4411. i4a = function(R) {
  4412. I["flambe.math.Matrix"] = R;
  4413. },
  4414. V0 = function() {},
  4415. l4a = function(R) {
  4416. V.JPG.toString = R;
  4417. },
  4418. w7 = function(R) {
  4419. this._fillAllPopup = null;
  4420. w.call(this);
  4421. this._nextStage = R;
  4422. },
  4423. r7 = function(R, c) {
  4424. this._name = c.id;
  4425. this.frameRate = R.frameRate;
  4426. this.frames = 0;
  4427. this.layers = Array(c.layers.length);
  4428. for (var g = 0, F = this.layers.length; b4o6.O97(g, F);) {
  4429. var p = g++,
  4430. d = new J6(c.layers[p]);
  4431. this.frames = Math.max(d.frames, this.frames);
  4432. this.layers[p] = d;
  4433. }
  4434. this.duration = b4o6.G97(this.frames, this.frameRate);
  4435. },
  4436. K4a = function() {
  4437. Y6.__name__ = ["flambe", "subsystem", "RendererSystem"];
  4438. },
  4439. Y4a = function(R) {
  4440. I["flambe.input.MouseEvent"] = R;
  4441. },
  4442. W4a = function() {
  4443. P6.__name__ = ["flambe", "platform", "_EventGroup", "Entry"];
  4444. },
  4445. P4a = function() {
  4446. f9.__name__ = ["flambe", "platform", "html", "HtmlPlatform"];
  4447. },
  4448. E4a = function() {
  4449. u6.__name__ = ["flambe", "display", "Graphics"];
  4450. },
  4451. D4a = function(R) {
  4452. x4.__super__ = R;
  4453. },
  4454. N4a = function() {
  4455. S0.__name__ = ["flambe", "util", "PackageLog"];
  4456. },
  4457. X4a = function(R) {
  4458. I["flambe.util.Signal2"] = R;
  4459. },
  4460. B4a = function(R) {
  4461. I["flambe.platform.MouseCodes"] = R;
  4462. },
  4463. k4a = function(R) {
  4464. I.IMap = R;
  4465. },
  4466. w4a = function(R) {
  4467. Math.NaN = R.NaN;
  4468. },
  4469. J4a = function(R) {
  4470. I["flambe.asset.AssetPack"] = R;
  4471. },
  4472. r4a = function(R) {
  4473. F4.StagePageCount = R;
  4474. },
  4475. t4a = function() {
  4476. W.TFloat = ["TFloat", 2];
  4477. },
  4478. e4a = function(R) {
  4479. F4.ColSize = R;
  4480. },
  4481. u4a = function(R) {
  4482. d4.__super__ = R;
  4483. },
  4484. o4a = function() {
  4485. j.__name__ = ["flambe", "platform", "html", "WebAudioSound"];
  4486. },
  4487. V4a = function(R) {
  4488. V.Data.__enum__ = R;
  4489. },
  4490. H4a = function(R) {
  4491. I["flambe.platform._BasicAssetPackLoader.BasicAssetPack"] = R;
  4492. },
  4493. A4a = function() {
  4494. W.TInt = ["TInt", 1];
  4495. },
  4496. q4a = function(R) {
  4497. h9.__super__ = R;
  4498. },
  4499. y4a = function() {
  4500. l9.USE_CACHE = !1;
  4501. },
  4502. S4a = function() {
  4503. c6.__name__ = ["flambe", "sound", "Playback"];
  4504. },
  4505. T4a = function() {
  4506. D4.__name__ = ["Reflect"];
  4507. },
  4508. v4a = function() {
  4509. Z8.__name__ = ["flambe", "platform", "InternalRenderer"];
  4510. },
  4511. A9a = function() {
  4512. r5.__name__ = ["flambe", "display", "TextLayout"];
  4513. },
  4514. q9a = function() {
  4515. l4.__name__ = ["flambe", "platform", "html", "HtmlStage"];
  4516. },
  4517. t9a = function(R) {
  4518. W.TFloat.__enum__ = R;
  4519. },
  4520. e9a = function() {
  4521. N7.__name__ = ["flambe", "platform", "html", "WebGLTexture"];
  4522. },
  4523. T9a = function() {
  4524. l4.__interfaces__ = [M6];
  4525. },
  4526. v9a = function(R) {
  4527. I["hexcon.gameplay.GameManager"] = R;
  4528. },
  4529. V9a = function() {
  4530. V.JXR = ["JXR", 1];
  4531. },
  4532. H9a = function() {
  4533. i5.__name__ = ["flambe", "platform", "TextureRoot"];
  4534. },
  4535. w9a = function(R) {
  4536. I["hexcon.Transition"] = R;
  4537. },
  4538. J9a = function() {
  4539. V0.__name__ = ["js", "Browser"];
  4540. },
  4541. r9a = function() {
  4542. E4.__name__ = ["flambe", "platform", "shader", "FillRectGL"];
  4543. },
  4544. N9a = function(R) {
  4545. I["js.Boot"] = R;
  4546. },
  4547. u9a = function() {
  4548. X.Type7 = ["Type7", 7];
  4549. },
  4550. o9a = function(R) {
  4551. N8.__super__ = R;
  4552. },
  4553. k9a = function(R) {
  4554. I["flambe.Log"] = R;
  4555. },
  4556. Y7 = function() {
  4557. this._currentPage = 0;
  4558. w.call(this);
  4559. },
  4560. Y9a = function(R) {
  4561. F9.Canvas.toString = R;
  4562. },
  4563. W9a = function(R) {
  4564. I9.__super__ = R;
  4565. },
  4566. P9a = function() {
  4567. K6.__name__ = ["flambe", "math", "Point"];
  4568. },
  4569. E9a = function() {
  4570. U4.__name__ = ["flambe", "platform", "shader", "ShaderGL"];
  4571. },
  4572. B9a = function(R) {
  4573. z8.__super__ = R;
  4574. },
  4575. D9a = function(R) {
  4576. X.Type1.toString = R;
  4577. },
  4578. X9a = function(R) {
  4579. M8.__super__ = R;
  4580. },
  4581. R5 = function() {
  4582. w.call(this);
  4583. this.stopAll();
  4584. },
  4585. U9a = function(R) {
  4586. J4.Middle.toString = R;
  4587. },
  4588. Z9a = function() {
  4589. q0.__name__ = ["flambe", "util", "BitSets"];
  4590. },
  4591. h9a = function(R) {
  4592. W.TFunction.__enum__ = R;
  4593. },
  4594. x9a = function() {
  4595. V4.__name__ = ["flambe", "util", "SignalBase"];
  4596. },
  4597. K9a = function() {
  4598. I4.Copy = ["Copy", 5];
  4599. },
  4600. l9a = function() {
  4601. y7.__name__ = ["flambe", "platform", "DummyPlayback"];
  4602. },
  4603. i9a = function() {
  4604. k5.__name__ = ["flambe", "asset", "Asset"];
  4605. },
  4606. M9a = function(R) {
  4607. I["flambe.script.Delay"] = R;
  4608. },
  4609. n4a = function(R) {
  4610. I["flambe.asset.File"] = R;
  4611. },
  4612. L4a = function(R) {
  4613. I["hexcon.stageselect.StageUIManager"] = R;
  4614. },
  4615. z4a = function(R) {
  4616. I["flambe.platform.html.HtmlUtil"] = R;
  4617. },
  4618. s4a = function(R) {
  4619. W.TObject.__enum__ = R;
  4620. },
  4621. x4a = function() {
  4622. J4.Left = ["Left", 0];
  4623. },
  4624. h4a = function(R) {
  4625. i9.Clear.__enum__ = R;
  4626. },
  4627. Z4a = function() {
  4628. A7.__name__ = ["flambe", "platform", "Tickable"];
  4629. },
  4630. U4a = function() {
  4631. Z6.__name__ = ["flambe", "swf", "MovieKeyframe"];
  4632. },
  4633. g9a = function() {
  4634. w9.__interfaces__ = [H0];
  4635. },
  4636. F9a = function(R) {
  4637. I["flambe.display.TextLayout"] = R;
  4638. },
  4639. Y6 = function() {},
  4640. c9a = function(R) {
  4641. W.TInt.__enum__ = R;
  4642. },
  4643. j4a = function(R) {
  4644. I["haxe.rtti.Meta"] = R;
  4645. },
  4646. R9a = function(R) {
  4647. W.TObject.toString = R;
  4648. },
  4649. Q4a = function() {
  4650. l9.__name__ = ["haxe", "Serializer"];
  4651. },
  4652. f4a = function(R) {
  4653. V.GIF.toString = R;
  4654. },
  4655. O9a = function() {
  4656. h4.__interfaces__ = [k6];
  4657. },
  4658. m9a = function(R) {
  4659. J4.Right.toString = R;
  4660. },
  4661. C9a = function() {
  4662. T0.__name__ = ["flambe", "util", "Assert"];
  4663. },
  4664. j5 = function() {
  4665. this._tickables = [];
  4666. },
  4667. d9a = function() {
  4668. A9.__name__ = ["flambe", "platform", "html", "_HtmlSound", "HtmlPlayback"];
  4669. },
  4670. p9a = function() {
  4671. V.PNG = ["PNG", 2];
  4672. },
  4673. N7 = function(R, c, g) {
  4674. w9.call(this, R, c, g);
  4675. },
  4676. k9 = function() {
  4677. this.identity();
  4678. },
  4679. S9a = function(R) {
  4680. E.__super__ = R;
  4681. },
  4682. y9a = function(R) {
  4683. e._platform = R.instance;
  4684. },
  4685. b9a = function() {
  4686. j5.__name__ = ["flambe", "platform", "MainLoop"];
  4687. },
  4688. G9a = function() {
  4689. J4.Middle = ["Middle", 1];
  4690. },
  4691. X7 = function() {},
  4692. a9a = function(R) {
  4693. X.Type3.__enum__ = R;
  4694. },
  4695. B7 = function() {
  4696. this.b = "";
  4697. },
  4698. I9a = function() {
  4699. H0.__name__ = ["flambe", "display", "SubTexture"];
  4700. },
  4701. e5a = function() {
  4702. N8.__name__ = ["flambe", "display", "PatternSprite"];
  4703. },
  4704. u5a = function(R) {
  4705. I["flambe.subsystem.MouseSystem"] = R;
  4706. },
  4707. E7 = function(R) {
  4708. this._kernings = null;
  4709. this.xOffset = this.yOffset = this.xAdvance = 0;
  4710. this.page = null;
  4711. this.x = this.y = this.width = this.height = 0;
  4712. this.charCode = R;
  4713. },
  4714. o5a = function() {
  4715. E6.__name__ = ["flambe", "input", "MouseEvent"];
  4716. },
  4717. k5a = function(R) {
  4718. I["flambe.subsystem.ExternalSystem"] = R;
  4719. },
  4720. w5a = function() {
  4721. X.Empty = ["Empty", 0];
  4722. },
  4723. J5a = function(R) {
  4724. I.Lambda = R;
  4725. },
  4726. r5a = function() {
  4727. D6.__name__ = ["flambe", "subsystem", "ExternalSystem"];
  4728. },
  4729. N5a = function() {
  4730. M.Prev = ["Prev", 1];
  4731. },
  4732. D5a = function() {
  4733. i9.Clear = ["Clear", 0];
  4734. },
  4735. B5a = function() {
  4736. i6.__name__ = ["flambe", "asset", "AssetEntry"];
  4737. },
  4738. X5a = function(R) {
  4739. I["flambe.platform.MainLoop"] = R;
  4740. },
  4741. W5a = function(R) {
  4742. V.PVR.__enum__ = R;
  4743. },
  4744. Y5a = function(R) {
  4745. I["flambe.math.Rectangle"] = R;
  4746. },
  4747. E5a = function() {
  4748. X.Type4 = ["Type4", 4];
  4749. },
  4750. P5a = function(R) {
  4751. I["flambe.platform.html.HtmlSound"] = R;
  4752. },
  4753. P8 = function(R) {
  4754. V4.call(this, R);
  4755. },
  4756. l5a = function(R) {
  4757. I4.Add.toString = R;
  4758. },
  4759. K5a = function(R) {
  4760. I["hexcon.scene.StageSelectScene"] = R;
  4761. },
  4762. H0 = function() {},
  4763. M5a = function(R) {
  4764. I.Reflect = R;
  4765. },
  4766. A0 = function() {},
  4767. i5a = function() {
  4768. k.__name__ = ["flambe", "platform", "html", "HtmlUtil"];
  4769. },
  4770. l7 = function() {
  4771. this.scissor = this.prev = this.next = null;
  4772. this.matrix = new k9;
  4773. this.alpha = 1;
  4774. this.blendMode = I4.Normal;
  4775. },
  4776. P6 = function(R, c, g) {
  4777. this.dispatcher = R;
  4778. this.type = c;
  4779. this.listener = g;
  4780. },
  4781. Z5a = function(R) {
  4782. I["flambe.platform.BasicTexture"] = R;
  4783. },
  4784. x5a = function(R) {
  4785. P4.__super__ = R;
  4786. },
  4787. U5a = function() {
  4788. V9.__name__ = ["flambe", "platform", "MathUtil"];
  4789. },
  4790. h5a = function(R) {
  4791. I["flambe.display.FillSprite"] = R;
  4792. },
  4793. R8 = function(R, c) {
  4794. this.length = R;
  4795. this.b = c;
  4796. },
  4797. s5a = function() {
  4798. v5.__interfaces__ = [Z7];
  4799. },
  4800. z5a = function(R) {
  4801. W.TNull.__enum__ = R;
  4802. },
  4803. n9a = function() {
  4804. W6.__name__ = ["flambe", "scene", "Scene"];
  4805. },
  4806. L9a = function(R) {
  4807. I.StringBuf = R;
  4808. },
  4809. z9a = function(R) {
  4810. M.Restart.toString = R;
  4811. },
  4812. s9a = function(R) {
  4813. I["haxe.ds.StringMap"] = R;
  4814. },
  4815. j9a = function(R) {
  4816. g4.Left.__enum__ = R;
  4817. },
  4818. R5a = function() {
  4819. x7.__interfaces__ = [X7];
  4820. },
  4821. Q9a = function(R) {
  4822. X.Type8.toString = R;
  4823. },
  4824. f9a = function(R) {
  4825. X.Type8.__enum__ = R;
  4826. },
  4827. g5a = function(R) {
  4828. I["flambe.platform.html.HtmlPlatform"] = R;
  4829. },
  4830. F5a = function() {
  4831. G4.__name__ = ["flambe", "platform", "DummyTouch"];
  4832. },
  4833. E6 = function() {
  4834. this.init(0, 0, 0, null);
  4835. },
  4836. c5a = function() {
  4837. V7.__interfaces__ = [u9];
  4838. },
  4839. C5a = function() {
  4840. B4.__name__ = ["haxe", "Unserializer"];
  4841. },
  4842. m5a = function() {
  4843. Array.__name__ = ["Array"];
  4844. },
  4845. p5a = function(R) {
  4846. I["flambe.util._SignalBase.Task"] = R;
  4847. },
  4848. d5a = function(R) {
  4849. I["flambe.platform._EventGroup.Entry"] = R;
  4850. },
  4851. G5a = function() {
  4852. U.__name__ = ["HxOverrides"];
  4853. },
  4854. a5a = function(R) {
  4855. I["flambe.display.SubTexture"] = R;
  4856. },
  4857. I5a = function() {
  4858. u9.__name__ = ["flambe", "util", "Disposable"];
  4859. },
  4860. O5a = function(R) {
  4861. I["flambe.animation.AnimatedFloat"] = R;
  4862. },
  4863. S5a = function() {
  4864. I4.Multiply = ["Multiply", 2];
  4865. },
  4866. y5a = function() {
  4867. String.__name__ = ["String"];
  4868. },
  4869. b5a = function(R) {
  4870. I["flambe.display.Glyph"] = R;
  4871. },
  4872. E8 = function(R) {
  4873. V4.call(this, R);
  4874. },
  4875. H5a = function() {
  4876. w.__name__ = ["flambe", "Component"];
  4877. },
  4878. V5a = function(R) {
  4879. I["hexcon.gameplay.Animal"] = R;
  4880. },
  4881. v5a = function() {
  4882. L4.__name__ = ["flambe", "platform", "html", "HtmlStorage"];
  4883. },
  4884. T5a = function() {
  4885. t4.__name__ = ["flambe", "platform", "BasicAsset"];
  4886. },
  4887. t5a = function(R) {
  4888. I["flambe.platform.html.WebGLTexture"] = R;
  4889. },
  4890. q5a = function(R) {
  4891. S9.Default.toString = R;
  4892. },
  4893. A5a = function() {
  4894. $a.__name__ = ["List"];
  4895. },
  4896. c5 = function(R, c) {
  4897. this.name = c;
  4898. this._pack = R;
  4899. this._file = R.getFile(c + ".fnt");
  4900. this.reload();
  4901. },
  4902. W8a = function(R) {
  4903. C4.__super__ = R;
  4904. },
  4905. X8a = function() {
  4906. i7.__name__ = ["flambe", "util", "Promise"];
  4907. },
  4908. E8a = function(R) {
  4909. V.OPUS.toString = R;
  4910. },
  4911. Y8a = function(R) {
  4912. W.TUnknown.__enum__ = R;
  4913. },
  4914. N8a = function(R) {
  4915. I["flambe.SpeedAdjuster"] = R;
  4916. },
  4917. Z4 = function(R) {
  4918. this._duration = R;
  4919. this._elapsed = 0;
  4920. },
  4921. B8a = function(R) {
  4922. I["hexcon.Popup"] = R;
  4923. },
  4924. D8a = function() {
  4925. X8.__interfaces__ = [u9];
  4926. },
  4927. J8a = function() {
  4928. M8.__name__ = ["flambe", "platform", "BasicFile"];
  4929. },
  4930. w8a = function() {
  4931. G0.__name__ = ["flambe", "subsystem", "TouchSystem"];
  4932. },
  4933. l6 = function() {
  4934. this._realDt = 0;
  4935. },
  4936. r8a = function(R) {
  4937. I["flambe.platform.html.HtmlAssetPackLoader"] = R;
  4938. },
  4939. o8a = function(R) {
  4940. M.Exit.__enum__ = R;
  4941. },
  4942. u8a = function() {
  4943. g4.Center = ["Center", 1];
  4944. },
  4945. k8a = function(R) {
  4946. M.Exit.toString = R;
  4947. },
  4948. K8 = function() {},
  4949. z8a = function(R) {
  4950. I["flambe.platform.html.CanvasGraphics"] = R;
  4951. },
  4952. k5 = function() {},
  4953. s8a = function(R) {
  4954. I["flambe.platform.html.HtmlExternal"] = R;
  4955. },
  4956. q0 = function() {},
  4957. Z8a = function() {
  4958. T.__interfaces__ = [u9];
  4959. },
  4960. U8a = function(R) {
  4961. X.Type7.__enum__ = R;
  4962. },
  4963. x8a = function() {
  4964. F9.Canvas = ["Canvas", 2];
  4965. },
  4966. h8a = function(R) {
  4967. B4.BASE64 = R;
  4968. },
  4969. M8a = function() {
  4970. b4.__name__ = ["Type"];
  4971. },
  4972. K6 = function(R, c) {
  4973. b4o6.S8P(null, c) && (c = 0);
  4974. b4o6.V8P(null, R) && (R = 0);
  4975. this.x = R;
  4976. this.y = c;
  4977. },
  4978. i8a = function() {
  4979. X.Type8 = ["Type8", 8];
  4980. },
  4981. Z7 = function() {},
  4982. P8a = function(R) {
  4983. I["flambe.swf.MovieSymbol"] = R;
  4984. },
  4985. l8a = function(R) {
  4986. I["flambe.display.Font"] = R;
  4987. },
  4988. K8a = function(R) {
  4989. S9.None.__enum__ = R;
  4990. },
  4991. o5 = function(d, C) {
  4992. var O = this;
  4993. this.manifest = C;
  4994. this._platform = d;
  4995. this.promise = new i7;
  4996. this._bytesLoaded = new h4;
  4997. this._pack = new K7(C, this);
  4998. var a = U5.array(C);
  4999. if (b4o6.C5W(0, a.length)) this.handleSuccess();
  5000. else {
  5001. for (var S = new h4, v = 0; b4o6.I5W(v, a.length);) {
  5002. var t = a[v];
  5003. ++v;
  5004. var N = S.get(t.name);
  5005. b4o6.b5W(null, N) && (N = [], S.set(t.name, N));
  5006. N.push(t);
  5007. }
  5008. this._assetsRemaining = U5.count(S);
  5009. for (a = S.iterator(); a.hasNext();) S = [a.next()], this.pickBestEntry(S[0], function(p) {
  5010. return function(c) {
  5011. if (b4o6.T5W(null, c)) {
  5012. var g = function(R) {
  5013. F = R.promise;
  5014. };
  5015. var F = C.getFullURL(c);
  5016. try {
  5017. O.loadEntry(F, c);
  5018. } catch (R) {
  5019. O.handleError(c, "Unexpected error: " + n.string(R));
  5020. }
  5021. g(O);
  5022. F.set_total(F._total + c.bytes);
  5023. } else c = p[0][0], o5.isAudio(c.format) ? O.handleLoad(c, z.getInstance()) : O.handleError(c, "Could not find a supported format to load");
  5024. };
  5025. }(S));
  5026. }
  5027. },
  5028. O8a = function(R) {
  5029. X.Type4.toString = R;
  5030. },
  5031. m8a = function() {
  5032. V.OPUS = ["OPUS", 10];
  5033. },
  5034. C8a = function(R) {
  5035. Math.NEGATIVE_INFINITY = R.NEGATIVE_INFINITY;
  5036. },
  5037. K7 = function(R, c) {
  5038. this.disposed = !1;
  5039. this._manifest = R;
  5040. this.loader = c;
  5041. this.textures = new h4;
  5042. this.sounds = new h4;
  5043. this.files = new h4;
  5044. },
  5045. d8a = function(R) {
  5046. I["flambe.platform.html._WebGLGraphics.DrawingState"] = R;
  5047. },
  5048. p8a = function() {
  5049. V.WEBP = ["WEBP", 0];
  5050. },
  5051. F8a = function(R) {
  5052. S9.Button.__enum__ = R;
  5053. },
  5054. g8a = function(R) {
  5055. I.EReg = R;
  5056. },
  5057. c8a = function(R) {
  5058. I["flambe.util.SignalBase"] = R;
  5059. },
  5060. R8a = function() {
  5061. V.OGG = ["OGG", 11];
  5062. },
  5063. j5a = function() {
  5064. x5.__name__ = ["flambe", "platform", "Platform"];
  5065. },
  5066. g8 = function(R, c) {
  5067. this._next = null;
  5068. this._signal = R;
  5069. this._listener = c;
  5070. this.stayInList = !0;
  5071. },
  5072. f5a = function() {
  5073. g6.__interfaces__ = [k5];
  5074. },
  5075. Q5a = function(R) {
  5076. I4.Normal.__enum__ = R;
  5077. },
  5078. L5a = function(R) {
  5079. B9.__super__ = R;
  5080. },
  5081. n5a = function(R) {
  5082. J5.__super__ = R;
  5083. },
  5084. t8a = function() {
  5085. a4.__interfaces__ = [k5];
  5086. },
  5087. e8a = function() {
  5088. t8.__name__ = ["flambe", "display", "_Font", "ConfigPair"];
  5089. },
  5090. A8a = function() {
  5091. C5.Portrait = ["Portrait", 0];
  5092. },
  5093. q8a = function() {
  5094. f._detectBlobSupport = !0;
  5095. },
  5096. H8a = function(R) {
  5097. J4.Right.__enum__ = R;
  5098. },
  5099. F8 = function(R, c, g, F, p, d) {
  5100. w.call(this);
  5101. this._iconType = R;
  5102. this._buttonType = [];
  5103. b4o6.V4K(F, M.None) && this._buttonType.push(F);
  5104. b4o6.q4K(g, M.None) && this._buttonType.push(g);
  5105. b4o6.u4K(c, M.None) && this._buttonType.push(c);
  5106. this._title = p;
  5107. this._message = d;
  5108. },
  5109. v8a = function() {
  5110. p5.__name__ = ["flambe", "script", "Sequence"];
  5111. },
  5112. V8a = function(R) {
  5113. I["flambe.platform.Tickable"] = R;
  5114. },
  5115. S8a = function(R) {
  5116. M.Cancel.toString = R;
  5117. },
  5118. T8a = function(R) {
  5119. I["flambe.swf.Library"] = R;
  5120. },
  5121. b8a = function() {
  5122. J5.__interfaces__ = [i5];
  5123. },
  5124. y8a = function() {
  5125. V.Data = ["Data", 13];
  5126. },
  5127. a8a = function(R) {
  5128. I["flambe.asset.Manifest"] = R;
  5129. },
  5130. G8a = function() {
  5131. V.M4A = ["M4A", 9];
  5132. },
  5133. I8a = function() {
  5134. i4.__name__ = ["flambe", "animation", "Ease"];
  5135. },
  5136. i7 = function() {
  5137. this.success = new C4;
  5138. this.error = new C4;
  5139. this.progressChanged = new P8;
  5140. this.hasResult = !1;
  5141. this._total = this._progress = 0;
  5142. },
  5143. u7a = function(R) {
  5144. I4.Normal.toString = R;
  5145. },
  5146. F5 = function(R, c) {
  5147. w.call(this);
  5148. this._targetWidth = R;
  5149. this._targetHeight = c;
  5150. },
  5151. t0 = function() {},
  5152. o7a = function(R) {
  5153. I["flambe.display.Texture"] = R;
  5154. },
  5155. r5 = function(g, F, p, d, C, O) {
  5156. var a = function(R) {
  5157. F = R;
  5158. },
  5159. S = function() {
  5160. O = -1.79769313486231E308;
  5161. },
  5162. v = function(R) {
  5163. C = R;
  5164. };
  5165. this.lines = 0;
  5166. var t = this;
  5167. this._font = g;
  5168. this._glyphs = [];
  5169. this._offsets = [];
  5170. this._lineOffset = Math.round(g.lineHeight + O);
  5171. this.bounds = new m9;
  5172. for (var N = [], O = F.length, o = 0; b4o6.U0P(o, O);) {
  5173. var D = o++,
  5174. D = F.charCodeAt(D),
  5175. D = g._glyphs.get(D);
  5176. b4o6.z0P(null, D) ? this._glyphs.push(D) : null;
  5177. }
  5178. for (var F = -1, Y = 0, S4 = 0, g = g._glyphs.get(10), O = function() {
  5179. var c = function(R) {
  5180. N[t.lines] = R;
  5181. };
  5182. t.bounds.width = s4.max(t.bounds.width, Y);
  5183. t.bounds.height += S4;
  5184. c(Y);
  5185. S4 = Y = 0;
  5186. ++t.lines;
  5187. }, o = 0; b4o6.L0P(o, this._glyphs.length);) {
  5188. D = this._glyphs[o];
  5189. this._offsets[o] = Math.round(Y);
  5190. var Z = b4o6.j0P(0, d) && b4o6.g3P(Y + D.width, d);
  5191. Z || b4o6.d3P(D, g) ? (Z && (b4o6.O3P(0, F) ? (this._glyphs[F] = g, Y = this._offsets[F], o = F) : this._glyphs.splice(o, 0, g)), F = -1, S4 = this._lineOffset, O()) : (b4o6.G3P(32, D.charCode) && (F = o), Y += D.xAdvance + C, S4 = s4.max(S4, D.height + D.yOffset), b4o6.S3P(o + 1, this._glyphs.length) && (Y += D.getKerning(this._glyphs[o + 1].charCode)));
  5192. ++o;
  5193. }
  5194. O();
  5195. v(0);
  5196. g = r5.getAlignOffset(p, N[0], d);
  5197. a(1.79769313486231E308);
  5198. S();
  5199. D = o = 0;
  5200. for (Z = this._glyphs.length; b4o6.V3P(D, Z);) {
  5201. var R4 = this._glyphs[D];
  5202. b4o6.q3P(10, R4.charCode) && (C += this._lineOffset, ++o, g = r5.getAlignOffset(p, N[o], d));
  5203. this._offsets[D] += g;
  5204. var d9 = C + R4.yOffset;
  5205. b4o6.u3P(F, d9) || (F = d9);
  5206. O = s4.max(O, d9 + R4.height);
  5207. ++D;
  5208. }
  5209. this.bounds.x = r5.getAlignOffset(p, this.bounds.width, d);
  5210. this.bounds.y = F;
  5211. this.bounds.height = b4o6.w3P(O, F);
  5212. },
  5213. k7a = function(R) {
  5214. I["flambe.animation.Tween"] = R;
  5215. },
  5216. n7 = function(R, c, g, F, p) {
  5217. b4o6.Q9P(null, p) && (p = 0);
  5218. b4o6.R5P(null, F) && (F = 0);
  5219. b4o6.F5P(null, g) && (g = 1);
  5220. this.start = R;
  5221. this.end = c;
  5222. this.cycles = F;
  5223. this.speed = new Q(g);
  5224. this._count = 1.5707963267948966 + b4o6.C5P(p, (3.141592653589793 / g));
  5225. this._distance = b4o6.I5P(0.5, (R - c));
  5226. this._center = c + this._distance;
  5227. },
  5228. w7a = function() {
  5229. z8.__name__ = ["flambe", "swf", "MovieSprite"];
  5230. },
  5231. H7a = function() {
  5232. O9.__name__ = ["flambe", "platform", "MouseCodes"];
  5233. },
  5234. V7a = function(R) {
  5235. M.None.__enum__ = R;
  5236. },
  5237. q7a = function() {
  5238. f7.__name__ = ["flambe", "platform", "html", "HtmlMouse"];
  5239. },
  5240. A7a = function() {
  5241. J6.__name__ = ["flambe", "swf", "MovieLayer"];
  5242. },
  5243. e7a = function(R) {
  5244. F9.Stage3D.toString = R;
  5245. },
  5246. t7a = function() {
  5247. F9.Stage3D = ["Stage3D", 0];
  5248. },
  5249. s7 = function(R) {
  5250. w.call(this);
  5251. this._startIndex = R;
  5252. this._font = new c5(G.Instance._pack, "font/BasicLB");
  5253. this.onButtonClick = new C4;
  5254. },
  5255. J5 = function(c, g, F) {
  5256. var p = function(R) {
  5257. g = R.gl;
  5258. };
  5259. this.framebuffer = this._graphics = null;
  5260. this._disposed = !1;
  5261. this._renderer = c;
  5262. this.width = s4.max(2, V9.nextPowerOfTwo(g));
  5263. this.height = s4.max(2, V9.nextPowerOfTwo(F));
  5264. p(c);
  5265. this.nativeTexture = g.createTexture();
  5266. c.batcher.bindTexture(this.nativeTexture);
  5267. g.texParameteri(3553, 10242, 33071);
  5268. g.texParameteri(3553, 10243, 33071);
  5269. g.texParameteri(3553, 10240, 9729);
  5270. g.texParameteri(3553, 10241, 9728);
  5271. },
  5272. Y7a = function(R) {
  5273. X.Type2.__enum__ = R;
  5274. },
  5275. E7a = function() {
  5276. j7.__interfaces__ = [Z8];
  5277. },
  5278. P7a = function(R) {
  5279. R5.__super__ = R;
  5280. },
  5281. e0 = function() {},
  5282. Q7 = function(R, c, g) {
  5283. this._danceTime = 0;
  5284. w.call(this);
  5285. this._animalIndex = R;
  5286. this._x = c;
  5287. this._y = g;
  5288. },
  5289. l7a = function(R) {
  5290. I["hexcon.Main"] = R;
  5291. },
  5292. U4 = function(R, c, g) {
  5293. var F = function() {
  5294. g = "#ifdef GL_ES\nprecision mediump float;\n#endif\n" + g;
  5295. };
  5296. F();
  5297. this._gl = R;
  5298. this._program = R.createProgram();
  5299. R.attachShader(this._program, U4.createShader(R, 35633, c));
  5300. R.attachShader(this._program, U4.createShader(R, 35632, g));
  5301. R.linkProgram(this._program);
  5302. R.useProgram(this._program);
  5303. },
  5304. K7a = function(R) {
  5305. I["flambe.swf.FlipbookFrame"] = R;
  5306. },
  5307. J7a = function() {
  5308. k.VENDOR_PREFIXES = ["webkit", "moz", "ms", "o", "khtml"];
  5309. },
  5310. r7a = function(R) {
  5311. I["flambe.platform.BasicAsset"] = R;
  5312. },
  5313. N7a = function(R) {
  5314. W.TBool.__enum__ = R;
  5315. },
  5316. D7a = function() {
  5317. W.TNull = ["TNull", 0];
  5318. },
  5319. B7a = function(R) {
  5320. I["flambe.platform.html.HtmlMouse"] = R;
  5321. },
  5322. X7a = function(R) {
  5323. I["flambe.display._Font.ConfigPair"] = R;
  5324. },
  5325. W7a = function() {
  5326. S7.__interfaces__ = [k5];
  5327. },
  5328. v4 = function() {},
  5329. p7a = function(R) {
  5330. I["flambe.util.Signal0"] = R;
  5331. },
  5332. F7a = function() {
  5333. U8.__name__ = ["flambe", "platform", "html", "CanvasTextureRoot"];
  5334. },
  5335. g7a = function(R) {
  5336. I["haxe.Unserializer"] = R;
  5337. },
  5338. c7a = function() {
  5339. B9.__name__ = ["hexcon", "gameplay", "GridManager"];
  5340. },
  5341. C7a = function(R) {
  5342. I["flambe.animation.Ease"] = R;
  5343. },
  5344. Z8 = function() {},
  5345. d7a = function() {
  5346. P4.__name__ = ["hexcon", "gameplay", "Tile"];
  5347. },
  5348. d4 = function(R) {
  5349. this._playTime = this._moveCount = 0;
  5350. this._isGameOver = !1;
  5351. this._colCount = 6;
  5352. this._rowCount = 7;
  5353. w.call(this);
  5354. d4.Instance = this;
  5355. this._stageIndex = R;
  5356. },
  5357. Q8a = function(R) {
  5358. U8.__super__ = R;
  5359. },
  5360. L8a = function(R) {
  5361. V.WEBP.toString = R;
  5362. },
  5363. M8 = function(R) {
  5364. this._disposed = !1;
  5365. this._content = R;
  5366. },
  5367. n8a = function(R) {
  5368. I["flambe.subsystem.RendererSystem"] = R;
  5369. },
  5370. x7 = function() {
  5371. this.clear();
  5372. },
  5373. R7a = function(R) {
  5374. I4.Multiply.toString = R;
  5375. },
  5376. j8a = function() {
  5377. F9.WebGL = ["WebGL", 1];
  5378. },
  5379. f8a = function(R) {
  5380. M.OK.__enum__ = R;
  5381. },
  5382. b7a = function(R) {
  5383. I["flambe.display.PatternSprite"] = R;
  5384. },
  5385. y7a = function(R) {
  5386. f7.__super__ = R;
  5387. },
  5388. M6 = function() {},
  5389. i6 = function(R, c, g, F) {
  5390. this.name = R;
  5391. this.url = c;
  5392. this.format = g;
  5393. this.bytes = F;
  5394. },
  5395. T7a = function() {
  5396. s7.__name__ = ["hexcon", "stageselect", "StageList"];
  5397. },
  5398. v7a = function() {
  5399. G.__name__ = ["hexcon", "ContextManager"];
  5400. },
  5401. V4 = function(R) {
  5402. this._head = b4o6.Z4P(null, R) ? new g8(this, R) : null;
  5403. this._deferredTasks = null;
  5404. },
  5405. S7a = function() {
  5406. M.Restart = ["Restart", 5];
  5407. },
  5408. I7a = function(R) {
  5409. M.Next.toString = R;
  5410. },
  5411. a7a = function() {
  5412. F5.__name__ = ["hexcon", "library", "ResponsiveScene"];
  5413. },
  5414. m7a = function() {
  5415. n4.__interfaces__ = [D6];
  5416. },
  5417. O7a = function() {
  5418. w7.__name__ = ["hexcon", "gameplay", "GameUIManager"];
  5419. },
  5420. y9 = function(R, c, g) {
  5421. J.call(this);
  5422. this.color = R;
  5423. this.width = new Q(c);
  5424. this.height = new Q(g);
  5425. },
  5426. h7 = function() {},
  5427. U8 = function(R) {
  5428. this._graphics = null;
  5429. this.updateCount = 0;
  5430. this._disposed = !1;
  5431. this.image = R;
  5432. this.width = R.width;
  5433. this.height = R.height;
  5434. },
  5435. G7a = function(R) {
  5436. s7.__super__ = R;
  5437. },
  5438. D6a = function() {
  5439. g4.Left = ["Left", 0];
  5440. },
  5441. u0 = function() {},
  5442. r6a = function() {
  5443. i9.Warning = ["Warning", 1];
  5444. },
  5445. N6a = function() {
  5446. V.DDS = ["DDS", 5];
  5447. },
  5448. w6a = function(R) {
  5449. I["flambe.util.Promise"] = R;
  5450. },
  5451. J6a = function(R) {
  5452. I["haxe.io.Bytes"] = R;
  5453. },
  5454. o6a = function(R) {
  5455. M.Next.__enum__ = R;
  5456. },
  5457. k6a = function(R) {
  5458. I["flambe.asset.Asset"] = R;
  5459. },
  5460. P6a = function(R) {
  5461. W.TFloat.toString = R;
  5462. },
  5463. l6a = function(R) {
  5464. I["js.Browser"] = R;
  5465. },
  5466. Y6a = function() {
  5467. V.MP3 = ["MP3", 8];
  5468. },
  5469. E6a = function(R) {
  5470. C5.Portrait.toString = R;
  5471. },
  5472. x4 = function(R) {
  5473. this._buttonIndex = -1;
  5474. w.call(this);
  5475. this._font = R;
  5476. this._buttonIndex = x4._globalButtonIndex++;
  5477. this._clickSignal = new C4;
  5478. },
  5479. W6a = function(R) {
  5480. I["flambe.display.ImageSprite"] = R;
  5481. },
  5482. B6a = function() {
  5483. u7.__interfaces__ = [A7, c6];
  5484. },
  5485. X6a = function() {
  5486. k7.__name__ = ["flambe", "platform", "shader", "DrawTextureGL"];
  5487. },
  5488. H6a = function(R) {
  5489. I["flambe.platform.BasicMouse"] = R;
  5490. },
  5491. V6a = function(R) {
  5492. X.Type5.toString = R;
  5493. },
  5494. v6a = function() {
  5495. D8.__name__ = ["flambe", "Log"];
  5496. },
  5497. T6a = function(R) {
  5498. W.TNull.toString = R;
  5499. },
  5500. j7 = function(c, g) {
  5501. var F = this;
  5502. this._hasGPU = new X4(!0);
  5503. this.gl = g;
  5504. g.canvas.addEventListener("webglcontextlost", function(R) {
  5505. R.preventDefault();
  5506. F._hasGPU.set__(!1);
  5507. }, !1);
  5508. g.canvas.addEventListener("webglcontextrestore", function() {
  5509. F.init();
  5510. F._hasGPU.set__(!0);
  5511. }, !1);
  5512. c.resize.connect(K9(this, this.onResize));
  5513. this.init();
  5514. },
  5515. S6a = function(R) {
  5516. E8.__super__ = R;
  5517. },
  5518. y6a = function(R) {
  5519. I.StringTools = R;
  5520. },
  5521. b6a = function() {
  5522. x4._lastButtonIndex = -1;
  5523. },
  5524. Z6 = function(c, g) {
  5525. var F = function(R) {
  5526. C = R.scale;
  5527. },
  5528. p = function(R) {
  5529. C = R.skew;
  5530. },
  5531. d = function(R) {
  5532. C = R.pivot;
  5533. };
  5534. this.ease = 0;
  5535. this.visible = this.tweened = !0;
  5536. this.alpha = 1;
  5537. this.skewX = this.skewY = this.pivotX = this.pivotY = 0;
  5538. this.scaleX = this.scaleY = 1;
  5539. this.x = this.y = 0;
  5540. this.symbol = null;
  5541. this.index = b4o6.u97(null, g) ? g.index + g.duration : 0;
  5542. this.duration = c.duration;
  5543. this.label = c.label;
  5544. this.symbolName = c.ref;
  5545. var C = c.loc;
  5546. b4o6.w97(null, C) && (this.x = C[0], this.y = C[1]);
  5547. F(c);
  5548. b4o6.N97(null, C) && (this.scaleX = C[0], this.scaleY = C[1]);
  5549. p(c);
  5550. b4o6.X97(null, C) && (this.skewX = C[0], this.skewY = C[1]);
  5551. d(c);
  5552. b4o6.E97(null, C) && (this.pivotX = C[0], this.pivotY = C[1]);
  5553. b4o6.K97(null, c.alpha) && (this.alpha = c.alpha);
  5554. b4o6.Z97(null, c.visible) && (this.visible = c.visible);
  5555. b4o6.h97(null, c.tweened) && (this.tweened = c.tweened);
  5556. b4o6.n97(null, c.ease) && (this.ease = c.ease);
  5557. },
  5558. u6a = function(R) {
  5559. B4.DEFAULT_RESOLVER = R;
  5560. },
  5561. e6a = function() {
  5562. Q.__name__ = ["flambe", "animation", "AnimatedFloat"];
  5563. },
  5564. t6a = function() {
  5565. R5.__name__ = ["flambe", "script", "Script"];
  5566. },
  5567. q6a = function() {
  5568. d8.__name__ = ["flambe", "platform", "html", "CanvasRenderer"];
  5569. },
  5570. C8 = function(R) {
  5571. this._configText = R;
  5572. this._keywordPattern = new m5("([A-Za-z]+)(.*)", "");
  5573. this._pairPattern = new m5('([A-Za-z]+)=("[^"]*"|[^\\s]+)', "");
  5574. },
  5575. z8 = function(R) {
  5576. this._looped = null;
  5577. J.call(this);
  5578. this.symbol = R;
  5579. this.speed = new Q(1);
  5580. this._animators = Array(R.layers.length);
  5581. for (var c = 0, g = this._animators.length; b4o6.X1E(c, g);) {
  5582. var F = c++;
  5583. this._animators[F] = new w6(R.layers[F]);
  5584. }
  5585. this._position = this._frame = 0;
  5586. this["goto"](1);
  5587. },
  5588. A6a = function(R) {
  5589. I["flambe.platform.EventGroup"] = R;
  5590. },
  5591. g6a = function(R) {
  5592. C5.Portrait.__enum__ = R;
  5593. },
  5594. F6a = function() {
  5595. q7.__name__ = ["flambe", "asset", "AssetPack"];
  5596. },
  5597. p6a = function() {
  5598. h8.__name__ = ["flambe", "platform", "html", "HtmlSound"];
  5599. },
  5600. d6a = function() {
  5601. k4.__interfaces__ = [r6];
  5602. },
  5603. f7 = function(R, c) {
  5604. $.call(this, R);
  5605. this._canvas = c;
  5606. },
  5607. j7a = function(R) {
  5608. I["flambe.platform.html.HtmlStage"] = R;
  5609. },
  5610. R6a = function() {
  5611. p4.__name__ = ["haxe", "ds", "IntMap"];
  5612. },
  5613. c6a = function(R) {
  5614. h8.__super__ = R;
  5615. },
  5616. C4 = function(R) {
  5617. V4.call(this, R);
  5618. },
  5619. I6a = function() {
  5620. h9.__name__ = ["hexcon", "Background"];
  5621. },
  5622. a6a = function(R) {
  5623. I["flambe.platform.Platform"] = R;
  5624. },
  5625. G6a = function(R) {
  5626. I["flambe.swf.Flipbook"] = R;
  5627. },
  5628. C6a = function() {
  5629. T.__name__ = ["flambe", "Entity"];
  5630. },
  5631. m6a = function(R) {
  5632. I["flambe.platform.html._HtmlSound.HtmlPlayback"] = R;
  5633. },
  5634. O6a = function(R) {
  5635. D8.__super__ = R;
  5636. },
  5637. t4 = function() {
  5638. this._disposed = !1;
  5639. },
  5640. x7a = function(R) {
  5641. W.TFunction.toString = R;
  5642. },
  5643. U7a = function() {
  5644. Z8.__interfaces__ = [Y6];
  5645. },
  5646. p5 = function(R) {
  5647. this._idx = 0;
  5648. this._runningActions = b4o6.W3E(null, R) ? R.slice() : [];
  5649. },
  5650. h7a = function(R) {
  5651. g4.Right.toString = R;
  5652. },
  5653. M7a = function(R) {
  5654. I["flambe.swf._MovieSprite.LayerAnimator"] = R;
  5655. },
  5656. d8 = function(R) {
  5657. this.graphics = new H5(R, !1);
  5658. this._hasGPU = new X4(!0);
  5659. },
  5660. Z7a = function(R) {
  5661. V.JXR.toString = R;
  5662. },
  5663. i7a = function(R) {
  5664. I["flambe.scene._Director.Transitor"] = R;
  5665. },
  5666. L7a = function(R) {
  5667. g4.Center.toString = R;
  5668. },
  5669. w9 = function(R, c, g) {
  5670. this._x = this._y = 0;
  5671. this._parent = null;
  5672. this.rootX = this.rootY = 0;
  5673. this._disposed = !1;
  5674. this.root = R;
  5675. this._width = c;
  5676. this._height = g;
  5677. },
  5678. f7a = function() {
  5679. k6.__name__ = ["IMap"];
  5680. },
  5681. Q7a = function(R) {
  5682. f.__super__ = R;
  5683. },
  5684. s7a = function(R) {
  5685. X.Type2.toString = R;
  5686. },
  5687. z7a = function(R) {
  5688. I["flambe.subsystem.StageSystem"] = R;
  5689. },
  5690. h8 = function(R) {
  5691. this._disposed = !1;
  5692. this.audioElement = R;
  5693. },
  5694. n7a = function(R) {
  5695. I["flambe.util.BitSets"] = R;
  5696. },
  5697. o0a = function() {
  5698. Q7.__name__ = ["hexcon", "gameplay", "Animal"];
  5699. },
  5700. k0a = function() {
  5701. X4.__name__ = ["flambe", "util", "Value"];
  5702. },
  5703. e0a = function(R) {
  5704. I["flambe.asset.AssetEntry"] = R;
  5705. },
  5706. u0a = function() {
  5707. a0.__name__ = ["hexcon", "scene", "StageSelectScene"];
  5708. },
  5709. J0a = function() {
  5710. V.PVR = ["PVR", 6];
  5711. },
  5712. r0a = function() {
  5713. $.__interfaces__ = [l0];
  5714. },
  5715. g6 = function() {},
  5716. w0a = function() {
  5717. g8.__interfaces__ = [u9];
  5718. },
  5719. B0a = function(R) {
  5720. X.Type4.__enum__ = R;
  5721. },
  5722. X0a = function() {
  5723. C4.__name__ = ["flambe", "util", "Signal1"];
  5724. },
  5725. N0a = function() {
  5726. M6.__name__ = ["flambe", "subsystem", "StageSystem"];
  5727. },
  5728. D0a = function(R) {
  5729. w9.__super__ = R;
  5730. },
  5731. E0a = function(R) {
  5732. I["flambe.sound.Playback"] = R;
  5733. },
  5734. P0a = function(R) {
  5735. I["flambe.animation.Sine"] = R;
  5736. },
  5737. W0a = function(R) {
  5738. Y7.__super__ = R;
  5739. },
  5740. Y0a = function() {
  5741. e.__name__ = ["flambe", "System"];
  5742. },
  5743. S0a = function() {
  5744. U0.__ename__ = ["Bool"];
  5745. },
  5746. y0a = function() {
  5747. p4.__interfaces__ = [k6];
  5748. },
  5749. w4 = function(R) {
  5750. this._fn = R;
  5751. },
  5752. b0a = function(R) {
  5753. I["flambe.platform.MathUtil"] = R;
  5754. },
  5755. H0a = function() {
  5756. g9.__name__ = ["hexcon", "Main"];
  5757. },
  5758. V0a = function() {
  5759. V.WAV = ["WAV", 12];
  5760. },
  5761. v0a = function() {
  5762. w6.__name__ = ["flambe", "swf", "_MovieSprite", "LayerAnimator"];
  5763. },
  5764. T0a = function(R) {
  5765. k7.__super__ = R;
  5766. },
  5767. q0a = function() {
  5768. V.GIF = ["GIF", 4];
  5769. },
  5770. A0a = function(R) {
  5771. I["flambe.platform.BasicPointer"] = R;
  5772. },
  5773. j = function(R) {
  5774. this._disposed = !1;
  5775. this.buffer = R;
  5776. },
  5777. g9 = function() {},
  5778. J = function() {
  5779. var R = function() {
  5780. c._flags |= 24;
  5781. };
  5782. this.blendMode = this.scissor = null;
  5783. var c = this;
  5784. w.call(this);
  5785. this._flags |= 54;
  5786. this._localMatrix = new k9;
  5787. this.x = new Q(0, R);
  5788. this.y = new Q(0, R);
  5789. this.rotation = new Q(0, R);
  5790. this.scaleX = new Q(1, R);
  5791. this.scaleY = new Q(1, R);
  5792. this.anchorX = new Q(0, R);
  5793. this.anchorY = new Q(0, R);
  5794. this.alpha = new Q(1);
  5795. },
  5796. T = function() {
  5797. this.parent = this.firstChild = this.next = this.firstComponent = null;
  5798. this._compMap = {};
  5799. },
  5800. t0a = function(R) {
  5801. I["hexcon.scene.PreloaderScene"] = R;
  5802. },
  5803. c6 = function() {},
  5804. c0a = function() {
  5805. k9.__name__ = ["flambe", "math", "Matrix"];
  5806. },
  5807. g0a = function(R) {
  5808. I["flambe.platform.html.CanvasTextureRoot"] = R;
  5809. },
  5810. F0a = function(R) {
  5811. W6.__super__ = R;
  5812. },
  5813. U6 = function(R) {
  5814. this._quads = this._maxQuads = this._dataOffset = this._backbufferWidth = this._backbufferHeight = 0;
  5815. this._pendingSetScissor = !1;
  5816. this._lastBlendMode = this._lastRenderTarget = this._lastShader = this._lastTexture = this._lastScissor = this._currentBlendMode = this._currentShader = this._currentTexture = this._currentRenderTarget = null;
  5817. this._gl = R;
  5818. R.clearColor(0, 0, 0, 0);
  5819. R.enable(3042);
  5820. R.pixelStorei(37441, 1);
  5821. this._vertexBuffer = R.createBuffer();
  5822. R.bindBuffer(34962, this._vertexBuffer);
  5823. this._quadIndexBuffer = R.createBuffer();
  5824. R.bindBuffer(34963, this._quadIndexBuffer);
  5825. this._drawTextureShader = new k7(R);
  5826. this._drawPatternShader = new q9(R);
  5827. this._fillRectShader = new E4(R);
  5828. this.resize(16);
  5829. },
  5830. p0a = function() {
  5831. o5.__name__ = ["flambe", "platform", "BasicAssetPackLoader"];
  5832. },
  5833. d0a = function() {
  5834. S9.Button = ["Button", 1];
  5835. },
  5836. C0a = function(R) {
  5837. I["flambe.math.FMath"] = R;
  5838. },
  5839. k = function() {},
  5840. m0a = function(R) {
  5841. C5.Landscape.toString = R;
  5842. },
  5843. R6 = function(R, c, g) {
  5844. this._rootUpdateCount = 0;
  5845. this._pattern = null;
  5846. w9.call(this, R, c, g);
  5847. },
  5848. O0a = function(R) {
  5849. Q7.__super__ = R;
  5850. },
  5851. I0a = function(R) {
  5852. I["flambe.swf.MovieKeyframe"] = R;
  5853. },
  5854. a0a = function() {
  5855. W.TFunction = ["TFunction", 5];
  5856. },
  5857. X4 = function(R, c) {
  5858. this._value = R;
  5859. this._changed = b4o6.w4P(null, c) ? new E8(c) : null;
  5860. },
  5861. h4 = function() {
  5862. this.h = {};
  5863. },
  5864. G0a = function(R) {
  5865. S9.Default.__enum__ = R;
  5866. },
  5867. M6a = function() {
  5868. n7.__interfaces__ = [Z7];
  5869. },
  5870. K6a = function(R) {
  5871. I["haxe.Serializer"] = R;
  5872. },
  5873. Z6a = function(R) {
  5874. M.OK.toString = R;
  5875. },
  5876. i6a = function(R) {
  5877. I["flambe.subsystem.StorageSystem"] = R;
  5878. },
  5879. x6a = function(R) {
  5880. I["flambe.platform.html.CanvasRenderer"] = R;
  5881. },
  5882. U6a = function() {
  5883. X7.__name__ = ["flambe", "subsystem", "StorageSystem"];
  5884. },
  5885. z6a = function(R) {
  5886. I.Array = R;
  5887. },
  5888. h6a = function() {
  5889. Y9.__name__ = ["hexcon", "library", "Vector2"];
  5890. };
  5891. function K9(R, c) {
  5892. if (b4o6.z7Y(null, c)) return null;
  5893. b4o6.L7Y(null, c.__id__) && (c.__id__ = i0a++);
  5894. var g;
  5895. b4o6.j7Y(null, R.hx__closures__) ? R.hx__closures__ = {} : g = R.hx__closures__[c.__id__];
  5896. b4o6.g6Y(null, g) && (g = function() {
  5897. return g.method.apply(g.scope, arguments);
  5898. }, g.scope = R, g.method = c, R.hx__closures__[c.__id__] = g);
  5899. return g;
  5900. }
  5901. var s6a = function(R) {
  5902. I4.Copy.__enum__ = R;
  5903. },
  5904. L6a = function(R) {
  5905. I["flambe.platform.DummyStorage"] = R;
  5906. },
  5907. n6a = function(R) {
  5908. I["flambe.platform.BasicAssetPackLoader"] = R;
  5909. },
  5910. f6a = function(R) {
  5911. g4.Right.__enum__ = R;
  5912. },
  5913. Q6a = function() {
  5914. y9.__name__ = ["flambe", "display", "FillSprite"];
  5915. },
  5916. R0a = function() {
  5917. b9.__name__ = ["StringTools"];
  5918. },
  5919. j6a = function() {
  5920. U8.__interfaces__ = [i5];
  5921. },
  5922. U0a = function(R) {
  5923. I["flambe.subsystem.TouchSystem"] = R;
  5924. },
  5925. I = {},
  5926. u = function() {
  5927. return v4.__string_rec(this, "");
  5928. },
  5929. m5 = function(R, c) {
  5930. c = c.split("u").join("");
  5931. this.r = RegExp(R, c);
  5932. };
  5933. g8a(m5);
  5934. P2();
  5935. m5.prototype = {
  5936. match: function(R) {
  5937. this.r.global && (this.r.lastIndex = 0);
  5938. this.r.m = this.r.exec(R);
  5939. this.r.s = R;
  5940. return b4o6.d6Y(null, this.r.m);
  5941. },
  5942. matched: function(R) {
  5943. if (b4o6.O6Y(null, this.r.m) && b4o6.G6Y(0, R) && b4o6.S6Y(R, this.r.m.length)) return this.r.m[R];
  5944. throw "EReg::matched";
  5945. },
  5946. matchedPos: function() {
  5947. if (b4o6.V6Y(null, this.r.m)) throw "No string matched";
  5948. return {
  5949. pos: this.r.m.index,
  5950. len: this.r.m[0].length
  5951. };
  5952. },
  5953. __class__: m5
  5954. };
  5955. q1(U);
  5956. G5a();
  5957. U.dateStr = function(R) {
  5958. var c = R.getMonth() + 1,
  5959. g = R.getDate(),
  5960. F = R.getHours(),
  5961. p = R.getMinutes(),
  5962. d = R.getSeconds();
  5963. return R.getFullYear() + "-" + (b4o6.q6Y(10, c) ? "0" + c : "" + c) + "-" + (b4o6.u6Y(10, g) ? "0" + g : "" + g) + " " + (b4o6.w6Y(10, F) ? "0" + F : "" + F) + ":" + (b4o6.N6Y(10, p) ? "0" + p : "" + p) + ":" + (b4o6.X6Y(10, d) ? "0" + d : "" + d);
  5964. };
  5965. U.strDate = function(R) {
  5966. switch (R.length) {
  5967. case 8:
  5968. var R = R.split(":"),
  5969. c = new Date;
  5970. c.setTime(0);
  5971. c.setUTCHours(R[0]);
  5972. c.setUTCMinutes(R[1]);
  5973. c.setUTCSeconds(R[2]);
  5974. return c;
  5975. case 10:
  5976. return R = R.split("-"), new Date(R[0], b4o6.E6Y(R[1], 1), R[2], 0, 0, 0);
  5977. case 19:
  5978. return c = R.split(" "), R = c[0].split("-"), c = c[1].split(":"), new Date(R[0], b4o6.K6Y(R[1], 1), R[2], c[0], c[1], c[2]);
  5979. default:
  5980. throw "Invalid date format : " + R;
  5981. }
  5982. };
  5983. U.cca = function(R, c) {
  5984. var g = R.charCodeAt(c);
  5985. return b4o6.Z6Y(g, g) ? void 0 : g;
  5986. };
  5987. U.substr = function(R, c, g) {
  5988. if (b4o6.h6Y(null, c) && b4o6.n6Y(0, c) && b4o6.f6Y(null, g) && b4o6.c0Y(0, g)) return "";
  5989. b4o6.p0Y(null, g) && (g = R.length);
  5990. b4o6.m0Y(0, c) ? (c = R.length + c, b4o6.a0Y(0, c) && (c = 0)) : b4o6.y0Y(0, g) && (g = R.length + g - c);
  5991. return R.substr(c, g);
  5992. };
  5993. U.remove = function(R, c) {
  5994. var g = R.indexOf(c);
  5995. if (-1 == g) return !1;
  5996. R.splice(g, 1);
  5997. return !0;
  5998. };
  5999. U.iter = function(R) {
  6000. return {
  6001. cur: 0,
  6002. arr: R,
  6003. hasNext: function() {
  6004. return b4o6.v0Y(this.cur, this.arr.length);
  6005. },
  6006. next: function() {
  6007. return this.arr[this.cur++];
  6008. }
  6009. };
  6010. };
  6011. J5a(U5);
  6012. Q6();
  6013. U5.array = function(R) {
  6014. for (var c = [], R = L(R)(); R.hasNext();) {
  6015. var g = R.next();
  6016. c.push(g);
  6017. }
  6018. return c;
  6019. };
  6020. U5.count = function(R, c) {
  6021. var g = 0;
  6022. if (b4o6.A0Y(null, c))
  6023. for (var F = L(R)(); F.hasNext();) F.next(), g++;
  6024. else
  6025. for (F = L(R)(); F.hasNext();) {
  6026. var p = F.next();
  6027. c(p) && g++;
  6028. }
  6029. return g;
  6030. };
  6031. g2($a);
  6032. A5a();
  6033. $a.prototype = {
  6034. add: function(R) {
  6035. R = [R];
  6036. b4o6.e0Y(null, this.h) ? this.h = R : this.q[1] = R;
  6037. this.q = R;
  6038. this.length++;
  6039. },
  6040. iterator: function() {
  6041. return {
  6042. h: this.h,
  6043. hasNext: function() {
  6044. return b4o6.k0Y(null, this.h);
  6045. },
  6046. next: function() {
  6047. if (b4o6.r0Y(null, this.h)) return null;
  6048. var R = this.h[0];
  6049. this.h = this.h[1];
  6050. return R;
  6051. }
  6052. };
  6053. },
  6054. __class__: $a
  6055. };
  6056. k4a(k6);
  6057. f7a();
  6058. j0();
  6059. M5a(D4);
  6060. T4a();
  6061. D4.field = function(c, g) {
  6062. try {
  6063. return c[g];
  6064. } catch (R) {
  6065. return null;
  6066. }
  6067. };
  6068. D4.fields = function(R) {
  6069. var c = [];
  6070. if (b4o6.B0Y(null, R)) {
  6071. var g = Object.prototype.hasOwnProperty,
  6072. F;
  6073. for (F in R) b4o6.Y0Y("__id__", F) && b4o6.l0Y("hx__closures__", F) && g.call(R, F) && c.push(F);
  6074. }
  6075. return c;
  6076. };
  6077. D4.isFunction = function(R) {
  6078. return "function" == typeof R && !(R.__name__ || R.__ename__);
  6079. };
  6080. D4.deleteField = function(R, c) {
  6081. if (!Object.prototype.hasOwnProperty.call(R, c)) return !1;
  6082. delete R[c];
  6083. return !0;
  6084. };
  6085. Y0(n);
  6086. A3();
  6087. n.is = function(R, c) {
  6088. return v4.__instanceof(R, c);
  6089. };
  6090. n.string = function(R) {
  6091. return v4.__string_rec(R, "");
  6092. };
  6093. n["int"] = function(R) {
  6094. return b4o6.i0Y(R, 0);
  6095. };
  6096. n.parseInt = function(R) {
  6097. var c = parseInt(R, 10);
  6098. if (b4o6.x0Y(0, c) && (b4o6.s0Y(120, U.cca(R, 1)) || b4o6.Q0Y(88, U.cca(R, 1)))) c = parseInt(R);
  6099. return isNaN(c) ? null : c;
  6100. };
  6101. n.parseFloat = function(R) {
  6102. return parseFloat(R);
  6103. };
  6104. L9a(B7);
  6105. L0();
  6106. B7.prototype = {
  6107. add: function(R) {
  6108. this.b += n.string(R);
  6109. },
  6110. __class__: B7
  6111. };
  6112. y6a(b9);
  6113. R0a();
  6114. b9.startsWith = function(R, c) {
  6115. return b4o6.R3Y(R.length, c.length) && b4o6.F3Y(U.substr(R, 0, c.length), c);
  6116. };
  6117. b9.fastCodeAt = function(R, c) {
  6118. return R.charCodeAt(c);
  6119. };
  6120. var W = I.ValueType = {
  6121. __ename__: ["ValueType"],
  6122. __constructs__: "TNull,TInt,TFloat,TBool,TObject,TFunction,TClass,TEnum,TUnknown".split(",")
  6123. };
  6124. D7a();
  6125. T6a(u);
  6126. z5a(W);
  6127. A4a();
  6128. s6(u);
  6129. c9a(W);
  6130. t4a();
  6131. P6a(u);
  6132. t9a(W);
  6133. q8();
  6134. y1(u);
  6135. N7a(W);
  6136. I5();
  6137. R9a(u);
  6138. s4a(W);
  6139. a0a();
  6140. x7a(u);
  6141. h9a(W);
  6142. W.TClass = function(R) {
  6143. R = ["TClass", 6, R];
  6144. R.__enum__ = W;
  6145. R.toString = u;
  6146. return R;
  6147. };
  6148. W.TEnum = function(R) {
  6149. R = ["TEnum", 7, R];
  6150. R.__enum__ = W;
  6151. R.toString = u;
  6152. return R;
  6153. };
  6154. e6();
  6155. M4a(u);
  6156. Y8a(W);
  6157. o1(b4);
  6158. M8a();
  6159. b4.getClass = function(R) {
  6160. return b4o6.C3Y(null, R) ? null : b4o6.I3Y(R, Array) && b4o6.b3Y(null, R.__enum__) ? Array : R.__class__;
  6161. };
  6162. b4.getClassName = function(R) {
  6163. return R.__name__.join(".");
  6164. };
  6165. b4.getEnumName = function(R) {
  6166. return R.__ename__.join(".");
  6167. };
  6168. b4.resolveClass = function(R) {
  6169. R = I[R];
  6170. return b4o6.T3Y(null, R) || !R.__name__ ? null : R;
  6171. };
  6172. b4.resolveEnum = function(R) {
  6173. R = I[R];
  6174. return b4o6.H3Y(null, R) || !R.__ename__ ? null : R;
  6175. };
  6176. b4.createEmptyInstance = function(R) {
  6177. function c() {}
  6178. c.prototype = R.prototype;
  6179. return new c;
  6180. };
  6181. b4.createEnum = function(R, c, g) {
  6182. var F = D4.field(R, c);
  6183. if (b4o6.t3Y(null, F)) throw "No such constructor " + c;
  6184. if (D4.isFunction(F)) {
  6185. if (b4o6.o3Y(null, g)) throw "Constructor " + c + " need parameters";
  6186. return F.apply(R, g);
  6187. }
  6188. if (b4o6.J3Y(null, g) && b4o6.D3Y(0, g.length)) throw "Constructor " + c + " does not need parameters";
  6189. return F;
  6190. };
  6191. b4.getEnumConstructs = function(R) {
  6192. return R.__constructs__.slice();
  6193. };
  6194. b4["typeof"] = function(R) {
  6195. switch (typeof R) {
  6196. case "boolean":
  6197. return W.TBool;
  6198. case "string":
  6199. return W.TClass(String);
  6200. case "number":
  6201. return b4o6.W3Y(Math.ceil(R), R % 2147483648) ? W.TInt : W.TFloat;
  6202. case "object":
  6203. if (b4o6.P3Y(null, R)) return W.TNull;
  6204. var c = R.__enum__;
  6205. if (b4o6.M3Y(null, c)) return W.TEnum(c);
  6206. R = b4o6.U3Y(R, Array) && b4o6.z3Y(null, R.__enum__) ? Array : R.__class__;
  6207. return b4o6.L3Y(null, R) ? W.TClass(R) : W.TObject;
  6208. case "function":
  6209. return R.__name__ || R.__ename__ ? W.TObject : W.TFunction;
  6210. case "undefined":
  6211. return W.TNull;
  6212. default:
  6213. return W.TUnknown;
  6214. }
  6215. };
  6216. i1(u9);
  6217. I5a();
  6218. u9.prototype = {
  6219. __class__: u9
  6220. };
  6221. d1(w);
  6222. H5a();
  6223. b4a();
  6224. w.prototype = {
  6225. onAdded: function() {},
  6226. onRemoved: function() {},
  6227. onStart: function() {},
  6228. onStop: function() {},
  6229. onUpdate: function() {},
  6230. dispose: function() {
  6231. b4o6.j3Y(null, this.owner) && this.owner.remove(this);
  6232. },
  6233. get_name: function() {
  6234. return null;
  6235. },
  6236. __class__: w
  6237. };
  6238. b2(T);
  6239. C6a();
  6240. Z8a();
  6241. T.prototype = {
  6242. add: function(R) {
  6243. b4o6.g1Y(null, R.owner) && R.owner.remove(R);
  6244. var c = R.get_name(),
  6245. g = this._compMap[c];
  6246. b4o6.d1Y(null, g) && this.remove(g);
  6247. this._compMap[c] = R;
  6248. c = null;
  6249. for (g = this.firstComponent; b4o6.O1Y(null, g);) c = g, g = g.next;
  6250. b4o6.G1Y(null, c) ? c.next = R : this.firstComponent = R;
  6251. R.owner = this;
  6252. R.next = null;
  6253. R.onAdded();
  6254. return this;
  6255. },
  6256. remove: function(R) {
  6257. for (var c = null, g = this.firstComponent; b4o6.S1Y(null, g);) {
  6258. var F = g.next;
  6259. if (b4o6.V1Y(g, R)) return b4o6.q1Y(null, c) ? this.firstComponent = F : (c.owner = this, c.next = F), delete this._compMap[g.get_name()], b4o6.u1Y(0, (g._flags & 1)) && (g.onStop(), g._flags &= -2), g.onRemoved(), g.owner = null, g.next = null, !0;
  6260. c = g;
  6261. g = F;
  6262. }
  6263. return !1;
  6264. },
  6265. getComponent: function(R) {
  6266. return this._compMap[R];
  6267. },
  6268. addChild: function(R, c) {
  6269. b4o6.w1Y(null, c) && (c = !0);
  6270. b4o6.N1Y(null, R.parent) && R.parent.removeChild(R);
  6271. R.parent = this;
  6272. if (c) {
  6273. for (var g = null, F = this.firstChild; b4o6.X1Y(null, F);) g = F, F = F.next;
  6274. b4o6.E1Y(null, g) ? g.next = R : this.firstChild = R;
  6275. } else R.next = this.firstChild, this.firstChild = R;
  6276. return this;
  6277. },
  6278. removeChild: function(R) {
  6279. for (var c = null, g = this.firstChild; b4o6.K1Y(null, g);) {
  6280. var F = g.next;
  6281. if (b4o6.Z1Y(g, R)) {
  6282. b4o6.h1Y(null, c) ? this.firstChild = F : c.next = F;
  6283. g.parent = null;
  6284. g.next = null;
  6285. break;
  6286. }
  6287. c = g;
  6288. g = F;
  6289. }
  6290. },
  6291. disposeChildren: function() {
  6292. for (; b4o6.n1Y(null, this.firstChild);) this.firstChild.dispose();
  6293. },
  6294. dispose: function() {
  6295. for (b4o6.f1Y(null, this.parent) && this.parent.removeChild(this); b4o6.c2Y(null, this.firstComponent);) this.firstComponent.dispose();
  6296. this.disposeChildren();
  6297. },
  6298. __class__: T
  6299. };
  6300. j1(S0);
  6301. N4a();
  6302. a6a(x5);
  6303. j5a();
  6304. x5.prototype = {
  6305. __class__: x5
  6306. };
  6307. g5a(f9);
  6308. P4a();
  6309. n3();
  6310. f9.prototype = {
  6311. init: function() {
  6312. for (var x2z in H1N2z[D2z]) {
  6313. if (x2z.length === 9 && x2z.charCodeAt(6) === 116 && x2z.charCodeAt(8) === 114 && x2z.charCodeAt(4) === ((7.80E1, 2.5E1) > 0xA2 ? 5.75E2 : (0x159, 130.) < (23.8E1, 19.70E1) ? (0x7E, 103) : (0x5F, 0x1E7)) && x2z.charCodeAt(0) === 110) break
  6314. };
  6315. for (var h2z in H1N2z[D2z]) {
  6316. if (h2z.length === ((0x13B, 31.70E1) > (35, 9.9E2) ? (0xD6, "F") : 0x1E8 >= (0x20D, 4.25E2) ? (29, 9) : (142, 59) < 0. ? 102 : (4.65E2, 39)) && h2z.charCodeAt(6) === 116 && h2z.charCodeAt(8) === 114 && h2z.charCodeAt(4) === 103 && h2z.charCodeAt(0) === 110) break
  6317. };
  6318. for (var L2z in H1N2z[D2z]) {
  6319. if (L2z.length === 8 && L2z.charCodeAt(5) === ((0x16C, 9.99E2) >= (0x27, 14.65E2) ? (76., "v") : (0x1FA, 45.) <= (1.07E3, 96.7E1) ? (74, 101) : (62.1E1, 116)) && L2z.charCodeAt(7) === 116 && L2z.charCodeAt(3) === ((81, 1.3760E3) > (84.0E1, 59.80E1) ? (44., 117) : 0x9 >= (0x17B, 0x215) ? 0x7A : 1. >= (4.38E2, 142) ? 42.7E1 : (0x179, 131)) && L2z.charCodeAt((0xA4 < (38.1E1, 0xEE) ? (92., 0) : 122.7E1 < (0x108, 6.51E2) ? (59., 0x14B) : (0x55, 0x4E) <= (96., 36) ? (116.30E1, 95) : (4.4E1, 4.07E2))) === ((0x1F8, 0x1F8) > (48., 12.13E2) ? (0x22A, 0x18) : 59 < (7, 0x154) ? (129.0E1, 100) : (70.3E1, 49.))) break
  6320. };
  6321. for (var f2z in H1N2z[D2z]) {
  6322. if (f2z.length === ((0xCC, 3.) <= (0x1E2, 0xB6) ? (64.4E1, 8) : 0x29 < (0x126, 16) ? (1.492E3, 'q') : (0, 84.0E1)) && f2z.charCodeAt(5) === ((70.3E1, 76) <= (0x214, 2.90E1) ? "GET" : (8, 12) <= (0x9F, 7.) ? (9, 0x3E) : (1.32E2, 7.060E2) >= (51, 0x184) ? (47, 101) : (0x0, 135.)) && f2z.charCodeAt(7) === 116 && f2z.charCodeAt(((76., 113.) < (38., 3.99E2) ? (0x6A, 3) : (132., 0x156))) === ((136., 51.1E1) >= (3.7E1, 108) ? (134, 117) : (48.0E1, 1.2730E3) < (22, 50.5E1) ? 5.770E2 : (6.93E2, 109.30E1)) && f2z.charCodeAt(0) === ((0x231, 3.97E2) > (0x170, 46.) ? (0x116, 100) : (0x49, 126.))) break
  6323. };
  6324. var C = this;
  6325. k.fixAndroidMath();
  6326. var O = null;
  6327. try {
  6328. O = H1N2z[D2z].flambe.canvas;
  6329. } catch (R) {}
  6330. O.setAttribute("tabindex", "0");
  6331. O.style.outlineStyle = "none";
  6332. O.style.webkitTapHighlightColor = "transparent";
  6333. O.setAttribute("moz-opaque", "true");
  6334. this._stage = new l4(O);
  6335. this._pointer = new k4;
  6336. this._mouse = new f7(this._pointer, O);
  6337. this._renderer = this.createRenderer(O);
  6338. this.mainLoop = new j5;
  6339. this.musicPlaying = !1;
  6340. this._canvas = O;
  6341. this._container = O.parentElement;
  6342. this._container.style.overflow = "hidden";
  6343. this._container.style.position = "relative";
  6344. this._container.style.msTouchAction = "none";
  6345. var a = 0,
  6346. S = function(R) {
  6347. if (!(b4o6.p2Y(1E3, R.timeStamp - a))) {
  6348. var c = O.getBoundingClientRect(),
  6349. g = C.getX(R, c),
  6350. c = C.getY(R, c);
  6351. switch (R.type) {
  6352. case "mousedown":
  6353. b4o6.m2Y(R.target, O) && (R.preventDefault(), C._mouse.submitDown(g, c, R.button), O.focus());
  6354. break;
  6355. case "mousemove":
  6356. C._mouse.submitMove(g, c);
  6357. break;
  6358. case "mouseup":
  6359. C._mouse.submitUp(g, c, R.button);
  6360. break;
  6361. case "mousewheel":
  6362. case "DOMMouseScroll":
  6363. C._mouse.submitScroll(g, c, b4o6.a2Y("mousewheel", R.type) ? b4o6.y2Y(R.wheelDelta, 40) : -R.detail) && R.preventDefault();
  6364. }
  6365. }
  6366. };
  6367. H1N2z[D2z]['addEventListener']("mousedown", S, !1);
  6368. H1N2z[D2z]['addEventListener']("mousemove", S, !1);
  6369. H1N2z[D2z]['addEventListener']("mouseup", S, !1);
  6370. O.addEventListener("mousewheel", S, !1);
  6371. O.addEventListener("DOMMouseScroll", S, !1);
  6372. O.addEventListener("contextmenu", function(R) {
  6373. R.preventDefault();
  6374. }, !1);
  6375. var v = "undefined" != typeof H1N2z[D2z].ontouchstart,
  6376. S = b4o6.v2Y("msMaxTouchPoints", H1N2z[D2z][x2z]) && b4o6.A2Y(1, H1N2z[D2z][h2z].msMaxTouchPoints);
  6377. if (v || S) {
  6378. for (var z2z in H1N2z[D2z]) {
  6379. if (z2z.length === 9 && z2z.charCodeAt(6) === 116 && z2z.charCodeAt(8) === 114 && z2z.charCodeAt(4) === (0xD8 <= (1.483E3, 11.96E2) ? (0x20B, 103) : (32.6E1, 0x1EB)) && z2z.charCodeAt((29. >= (96, 0x193) ? (71., 320) : (0x24B, 0xE8) < 10.26E2 ? (92., 0) : (139., 0x209))) === ((11.86E2, 104.) > 0x138 ? "\n" : (87.7E1, 42) > (1.01E3, 53) ? 't' : (1.0170E3, 14.10E1) < 0xC3 ? (39., 110) : (0x248, 56.6E1))) break
  6380. };
  6381. var t = new e7(this._pointer, v ? 4 : H1N2z[D2z][z2z].msMaxTouchPoints);
  6382. this._touch = t;
  6383. S = function(R) {
  6384. var c;
  6385. c = v ? R.changedTouches : [R];
  6386. var g = R.target.getBoundingClientRect();
  6387. a = R.timeStamp;
  6388. switch (R.type) {
  6389. case "touchstart":
  6390. case "MSPointerDown":
  6391. case "pointerdown":
  6392. R.preventDefault();
  6393. k.SHOULD_HIDE_MOBILE_BROWSER && k.hideMobileBrowser();
  6394. for (R = 0; b4o6.e2Y(R, c.length);) {
  6395. var F = c[R];
  6396. ++R;
  6397. var p = C.getX(F, g),
  6398. d = C.getY(F, g);
  6399. t.submitDown(b4o6.k2Y((v ? F.identifier : F.pointerId), 0), p, d);
  6400. }
  6401. break;
  6402. case "touchmove":
  6403. case "MSPointerMove":
  6404. case "pointermove":
  6405. R.preventDefault();
  6406. for (R = 0; b4o6.r2Y(R, c.length);) F = c[R], ++R, p = C.getX(F, g), d = C.getY(F, g), t.submitMove(b4o6.B2Y((v ? F.identifier : F.pointerId), 0), p, d);
  6407. break;
  6408. case "touchend":
  6409. case "touchcancel":
  6410. case "MSPointerUp":
  6411. case "pointerup":
  6412. for (R = 0; b4o6.Y2Y(R, c.length);) F = c[R], ++R, p = C.getX(F, g), d = C.getY(F, g), t.submitUp(b4o6.l2Y((v ? F.identifier : F.pointerId), 0), p, d);
  6413. }
  6414. };
  6415. v ? (O.addEventListener("touchstart", S, !1), O.addEventListener("touchmove", S, !1), O.addEventListener("touchend", S, !1), O.addEventListener("touchcancel", S, !1)) : (O.addEventListener("MSPointerDown", S, !1), O.addEventListener("MSPointerMove", S, !1), O.addEventListener("MSPointerUp", S, !1));
  6416. } else this._touch = new G4;
  6417. var N = H1N2z[D2z]['onerror'];
  6418. H1N2z[D2z]['onerror'] = function(R, c, g) {
  6419. e.uncaughtError.emit(R);
  6420. return b4o6.i2Y(null, N) ? N(R, c, g) : !1;
  6421. };
  6422. var o = k.loadExtension("hidden", H1N2z[D2z][L2z]);
  6423. b4o6.x2Y(null, o.value) ? (S = function() {
  6424. for (var Q2z in H1N2z[D2z]) {
  6425. if (Q2z.length === ((4.26E2, 0xF7) >= (19., 1.323E3) ? 141. : 0x49 > (29.70E1, 81) ? (6.560E2, "g") : (38., 87.80E1) > (0x16B, 0x1C0) ? (0x1E2, 8) : (0x9E, 133.)) && Q2z.charCodeAt(5) === 101 && Q2z.charCodeAt(7) === 116 && Q2z.charCodeAt(3) === 117 && Q2z.charCodeAt(0) === 100) break
  6426. };
  6427. e.hidden.set__(D4.field(H1N2z[D2z][Q2z], o.field));
  6428. }, S(null), H1N2z[D2z][f2z]['addEventListener'](o.prefix + "visibilitychange", S, !1)) : (S = function(R) {
  6429. e.hidden.set__(b4o6.s2Y("pagehide", R.type));
  6430. }, H1N2z[D2z]['addEventListener']("pageshow", S, !1), H1N2z[D2z]['addEventListener']("pagehide", S, !1));
  6431. e.hidden.get_changed().connect(function(R) {
  6432. R || (C._skipFrame = !0);
  6433. });
  6434. this._skipFrame = !1;
  6435. this._lastUpdate = Date.now();
  6436. var D = k.loadExtension("requestAnimationFrame").value;
  6437. if (b4o6.Q2Y(null, D)) {
  6438. var Y = H1N2z[D2z].performance,
  6439. S4 = b4o6.R4P(null, Y) && k.polyfill("now", Y);
  6440. S4 ? this._lastUpdate = Y.now() : null;
  6441. var Z = null,
  6442. Z = function(R) {
  6443. C.update(S4 ? Y.now() : R);
  6444. D(Z, O);
  6445. };
  6446. D(Z, O);
  6447. } else H1N2z[D2z]['setInterval'](function() {
  6448. C.update(Date.now());
  6449. }, 16);
  6450. D8.info("Initialized HTML platform", ["renderer", this._renderer.get_type()]);
  6451. },
  6452. loadAssetPack: function(R) {
  6453. return (new f(this, R)).promise;
  6454. },
  6455. getStage: function() {
  6456. return this._stage;
  6457. },
  6458. getStorage: function() {
  6459. if (b4o6.F4P(null, this._storage)) {
  6460. var R = V0.getLocalStorage();
  6461. this._storage = b4o6.C4P(null, R) ? new L4(R) : new x7;
  6462. }
  6463. return this._storage;
  6464. },
  6465. update: function(R) {
  6466. var c = b4o6.I4P((R - this._lastUpdate), 1E3);
  6467. this._lastUpdate = R;
  6468. e.hidden._value || (this._skipFrame ? this._skipFrame = !1 : (this.mainLoop.update(c), this.mainLoop.render(this._renderer)));
  6469. },
  6470. getPointer: function() {
  6471. return this._pointer;
  6472. },
  6473. getExternal: function() {
  6474. b4o6.b4P(null, this._external) && (this._external = new n4);
  6475. return this._external;
  6476. },
  6477. getRenderer: function() {
  6478. return this._renderer;
  6479. },
  6480. getX: function(R, c) {
  6481. return b4o6.T4P((R.clientX - c.left), this._stage.get_width(), c.width);
  6482. },
  6483. getY: function(R, c) {
  6484. return b4o6.A4P((R.clientY - c.top), this._stage.get_height(), c.height);
  6485. },
  6486. createRenderer: function(c) {
  6487. try {
  6488. var g = t0.getContextWebGL(c, {
  6489. alpha: !1,
  6490. depth: !1,
  6491. failIfMajorPerformanceCaveat: !0
  6492. });
  6493. if (b4o6.u4P(null, g))
  6494. if (k.detectSlowDriver(g)) null;
  6495. else return new j7(this._stage, g);
  6496. } catch (R) {}
  6497. return new d8(c);
  6498. },
  6499. __class__: f9
  6500. };
  6501. E0(X4);
  6502. k0a();
  6503. X4.prototype = {
  6504. watch: function(R) {
  6505. R(this._value, this._value);
  6506. return this.get_changed().connect(R);
  6507. },
  6508. set__: function(R) {
  6509. var c = this._value;
  6510. b4o6.N4P(R, c) && (this._value = R, b4o6.X4P(null, this._changed) && this._changed.emit(R, c));
  6511. return R;
  6512. },
  6513. get_changed: function() {
  6514. b4o6.E4P(null, this._changed) && (this._changed = new E8);
  6515. return this._changed;
  6516. },
  6517. __class__: X4
  6518. };
  6519. z4(g8);
  6520. X1();
  6521. w0a();
  6522. g8.prototype = {
  6523. once: function() {
  6524. this.stayInList = !1;
  6525. return this;
  6526. },
  6527. dispose: function() {
  6528. b4o6.K4P(null, this._signal) && (this._signal.disconnect(this), this._signal = null);
  6529. },
  6530. __class__: g8
  6531. };
  6532. c8a(V4);
  6533. x9a();
  6534. V4.prototype = {
  6535. connectImpl: function(R, c) {
  6536. var g = this,
  6537. F = new g8(this, R);
  6538. b4o6.h4P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() {
  6539. g.listAdd(F, c);
  6540. }) : this.listAdd(F, c);
  6541. return F;
  6542. },
  6543. disconnect: function(R) {
  6544. var c = this;
  6545. b4o6.n4P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() {
  6546. c.listRemove(R);
  6547. }) : this.listRemove(R);
  6548. },
  6549. defer: function(R) {
  6550. for (var c = null, g = this._deferredTasks; b4o6.f4P(null, g);) c = g, g = g.next;
  6551. R = new o6(R);
  6552. b4o6.c9P(null, c) ? c.next = R : this._deferredTasks = R;
  6553. },
  6554. willEmit: function() {
  6555. var R = this._head;
  6556. this._head = V4.DISPATCHING_SENTINEL;
  6557. return R;
  6558. },
  6559. didEmit: function(R) {
  6560. this._head = R;
  6561. R = this._deferredTasks;
  6562. for (this._deferredTasks = null; b4o6.p9P(null, R);) R.fn(), R = R.next;
  6563. },
  6564. listAdd: function(R, c) {
  6565. if (c) R._next = this._head, this._head = R;
  6566. else {
  6567. for (var g = null, F = this._head; b4o6.m9P(null, F);) g = F, F = F._next;
  6568. b4o6.a9P(null, g) ? g._next = R : this._head = R;
  6569. }
  6570. },
  6571. listRemove: function(R) {
  6572. for (var c = null, g = this._head; b4o6.y9P(null, g);) {
  6573. if (b4o6.v9P(g, R)) {
  6574. R = g._next;
  6575. b4o6.A9P(null, c) ? this._head = R : c._next = R;
  6576. break;
  6577. }
  6578. c = g;
  6579. g = g._next;
  6580. }
  6581. },
  6582. __class__: V4
  6583. };
  6584. X4a(E8);
  6585. z1();
  6586. S6a(V4);
  6587. E8.prototype = K(V4.prototype, {
  6588. connect: function(R, c) {
  6589. b4o6.e9P(null, c) && (c = !1);
  6590. return this.connectImpl(R, c);
  6591. },
  6592. emit: function(R, c) {
  6593. var g = this;
  6594. b4o6.k9P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() {
  6595. g.emitImpl(R, c);
  6596. }) : this.emitImpl(R, c);
  6597. },
  6598. emitImpl: function(R, c) {
  6599. for (var g = this.willEmit(), F = g; b4o6.r9P(null, F);) F._listener(R, c), F.stayInList || F.dispose(), F = F._next;
  6600. this.didEmit(g);
  6601. },
  6602. __class__: E8
  6603. });
  6604. W5(C4);
  6605. X0a();
  6606. W8a(V4);
  6607. C4.prototype = K(V4.prototype, {
  6608. connect: function(R, c) {
  6609. b4o6.B9P(null, c) && (c = !1);
  6610. return this.connectImpl(R, c);
  6611. },
  6612. emit: function(R) {
  6613. var c = this;
  6614. b4o6.Y9P(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() {
  6615. c.emitImpl(R);
  6616. }) : this.emitImpl(R);
  6617. },
  6618. emitImpl: function(R) {
  6619. for (var c = this.willEmit(), g = c; b4o6.l9P(null, g);) g._listener(R), g.stayInList || g.dispose(), g = g._next;
  6620. this.didEmit(c);
  6621. },
  6622. __class__: C4
  6623. });
  6624. O5a(Q);
  6625. e6a();
  6626. B1(X4);
  6627. Q.prototype = K(X4.prototype, {
  6628. set__: function(R) {
  6629. this._behavior = null;
  6630. return X4.prototype.set__.call(this, R);
  6631. },
  6632. update: function(R) {
  6633. b4o6.i9P(null, this._behavior) && (X4.prototype.set__.call(this, this._behavior.update(R)), this._behavior.isComplete() && (this._behavior = null));
  6634. },
  6635. animateTo: function(R, c, g) {
  6636. this.set_behavior(new v5(this._value, R, c, g));
  6637. },
  6638. set_behavior: function(R) {
  6639. this._behavior = R;
  6640. this.update(0);
  6641. return R;
  6642. },
  6643. __class__: Q
  6644. });
  6645. s1(e);
  6646. Y0a();
  6647. e.init = function() {
  6648. e._calledInit || (e._platform.init(), e._calledInit = !0);
  6649. };
  6650. k9a(D8);
  6651. v6a();
  6652. D8.info = function() {
  6653. null;
  6654. };
  6655. O6a(S0);
  6656. D8.prototype = K(S0.prototype, {
  6657. __class__: D8
  6658. });
  6659. N8a(l6);
  6660. A1();
  6661. S3(w);
  6662. l6.prototype = K(w.prototype, {
  6663. get_name: function() {
  6664. return "SpeedAdjuster_4";
  6665. },
  6666. onUpdate: function(R) {
  6667. b4o6.x9P(0, this._realDt) && (R = this._realDt, this._realDt = 0);
  6668. this.scale.update(R);
  6669. },
  6670. __class__: l6
  6671. });
  6672. t3(Z7);
  6673. f4();
  6674. Z7.prototype = {
  6675. __class__: Z7
  6676. };
  6677. C7a(i4);
  6678. I8a();
  6679. i4.linear = function(R) {
  6680. return R;
  6681. };
  6682. i4.expoIn = function(R) {
  6683. return Math.pow(2, b4o6.s9P(10, (R - 1)));
  6684. };
  6685. i4.expoOut = function(R) {
  6686. return -Math.pow(2, -10 * R) + 1;
  6687. };
  6688. P0a(n7);
  6689. u8();
  6690. M6a();
  6691. n7.prototype = {
  6692. update: function(R) {
  6693. this.speed.update(R);
  6694. this._count += b4o6.b5P(R, (3.141592653589793 / this.speed._value));
  6695. return this._center + b4o6.T5P(Math.sin(this._count), this._distance);
  6696. },
  6697. isComplete: function() {
  6698. return b4o6.H5P(0, this.cycles) && b4o6.t5P(0.5 * ((this._count - 1.5707963267948966) / 3.141592653589793), this.cycles);
  6699. },
  6700. __class__: n7
  6701. };
  6702. k7a(v5);
  6703. x1();
  6704. s5a();
  6705. v5.prototype = {
  6706. update: function(R) {
  6707. this.elapsed += R;
  6708. return b4o6.J5P(this.elapsed, this._duration) ? this._to : this._from + b4o6.D5P((this._to - this._from), this._easing(this.elapsed / this._duration));
  6709. },
  6710. isComplete: function() {
  6711. return b4o6.W5P(this.elapsed, this._duration);
  6712. },
  6713. __class__: v5
  6714. };
  6715. k6a(k5);
  6716. i9a();
  6717. V8();
  6718. k5.prototype = {
  6719. __class__: k5
  6720. };
  6721. var V = I["flambe.asset.AssetFormat"] = {
  6722. __ename__: ["flambe", "asset", "AssetFormat"],
  6723. __constructs__: "WEBP,JXR,PNG,JPG,GIF,DDS,PVR,PKM,MP3,M4A,OPUS,OGG,WAV,Data".split(",")
  6724. };
  6725. p8a();
  6726. L8a(u);
  6727. P1(V);
  6728. V9a();
  6729. Z7a(u);
  6730. I4a(V);
  6731. p9a();
  6732. Z1(u);
  6733. x6(V);
  6734. h3();
  6735. l4a(u);
  6736. V6(V);
  6737. q0a();
  6738. f4a(u);
  6739. Y1(V);
  6740. N6a();
  6741. m4a(u);
  6742. n8(V);
  6743. J0a();
  6744. G8(u);
  6745. W5a(V);
  6746. a6();
  6747. Q0(u);
  6748. y5(V);
  6749. Y6a();
  6750. O6(u);
  6751. i0(V);
  6752. G8a();
  6753. W3(u);
  6754. k0(V);
  6755. m8a();
  6756. E8a(u);
  6757. s9(V);
  6758. R8a();
  6759. Y5(u);
  6760. I8(V);
  6761. V0a();
  6762. O8(u);
  6763. y6(V);
  6764. y8a();
  6765. M0(u);
  6766. V4a(V);
  6767. e0a(i6);
  6768. B5a();
  6769. i6.prototype = {
  6770. __class__: i6
  6771. };
  6772. J4a(q7);
  6773. F6a();
  6774. m4();
  6775. q7.prototype = {
  6776. __class__: q7
  6777. };
  6778. n4a(S7);
  6779. v9();
  6780. W7a();
  6781. S7.prototype = {
  6782. __class__: S7
  6783. };
  6784. a8a(O4);
  6785. a9();
  6786. O4.fromAssets = function(R, c) {
  6787. b4o6.P5P(null, c) && (c = !0);
  6788. var g = D4.field(n9.getType(O4).assets[0], R);
  6789. if (b4o6.M5P(null, g)) {
  6790. if (c) throw o4.withFields("Missing asset pack", ["name", R]);
  6791. return null;
  6792. }
  6793. var F = new O4;
  6794. F.set_localBase("assets");
  6795. for (var p = 0; b4o6.U5P(p, g.length);) {
  6796. var d = g[p];
  6797. ++p;
  6798. var C = d.name,
  6799. O = R + "/" + C + "?v=" + n.string(d.md5),
  6800. a = O4.inferFormat(C);
  6801. b4o6.z5P(a, V.Data) && (C = o4.removeFileExtension(C));
  6802. F.add(C, O, d.bytes, a);
  6803. }
  6804. return F;
  6805. };
  6806. O4.inferFormat = function(R) {
  6807. R = o4.getUrlExtension(R);
  6808. if (b4o6.L5P(null, R)) switch (R.toLowerCase()) {
  6809. case "gif":
  6810. return V.GIF;
  6811. case "jpg":
  6812. case "jpeg":
  6813. return V.JPG;
  6814. case "jxr":
  6815. case "wdp":
  6816. return V.JXR;
  6817. case "png":
  6818. return V.PNG;
  6819. case "webp":
  6820. return V.WEBP;
  6821. case "dds":
  6822. return V.DDS;
  6823. case "pvr":
  6824. return V.PVR;
  6825. case "pkm":
  6826. return V.PKM;
  6827. case "m4a":
  6828. return V.M4A;
  6829. case "mp3":
  6830. return V.MP3;
  6831. case "ogg":
  6832. return V.OGG;
  6833. case "opus":
  6834. return V.OPUS;
  6835. case "wav":
  6836. return V.WAV;
  6837. } else null;
  6838. return V.Data;
  6839. };
  6840. O4.prototype = {
  6841. add: function(R, c, g, F) {
  6842. b4o6.j5P(null, g) && (g = 0);
  6843. b4o6.g8P(null, F) && (F = O4.inferFormat(c));
  6844. R = new i6(R, c, F, g);
  6845. this._entries.push(R);
  6846. return R;
  6847. },
  6848. iterator: function() {
  6849. return U.iter(this._entries);
  6850. },
  6851. getFullURL: function(R) {
  6852. var c;
  6853. c = b4o6.d8P(null, this.get_remoteBase()) && O4._supportsCrossOrigin ? this.get_remoteBase() : this.get_localBase();
  6854. return b4o6.O8P(null, c) ? o4.joinPath(c, R.url) : R.url;
  6855. },
  6856. get_localBase: function() {
  6857. return this._localBase;
  6858. },
  6859. set_localBase: function(R) {
  6860. b4o6.G8P(null, R) && T0.that(!b9.startsWith(R, "http://") && !b9.startsWith(R, "https://"), "localBase must be a path on the same domain, NOT starting with http(s)://", null);
  6861. return this._localBase = R;
  6862. },
  6863. get_remoteBase: function() {
  6864. return this._remoteBase;
  6865. },
  6866. __class__: O4
  6867. };
  6868. var I4 = I["flambe.display.BlendMode"] = {
  6869. __ename__: ["flambe", "display", "BlendMode"],
  6870. __constructs__: "Normal,Add,Multiply,Screen,Mask,Copy".split(",")
  6871. };
  6872. h2();
  6873. u7a(u);
  6874. Q5a(I4);
  6875. O2();
  6876. l5a(u);
  6877. I2(I4);
  6878. S5a();
  6879. R7a(u);
  6880. u1(I4);
  6881. K2();
  6882. W1(u);
  6883. C0(I4);
  6884. P();
  6885. J8(u);
  6886. Y3(I4);
  6887. K9a();
  6888. s3(u);
  6889. s6a(I4);
  6890. K3(K6);
  6891. P9a();
  6892. K6.prototype = {
  6893. __class__: K6
  6894. };
  6895. a1(J);
  6896. a5();
  6897. J.hitTest = function(R, c, g) {
  6898. var F = R._compMap.Sprite_1;
  6899. if (b4o6.q8P(null, F)) {
  6900. if (b4o6.u8P(6, (F._flags & 6))) return null;
  6901. F.getLocalMatrix().inverseTransform(c, g, J._scratchPoint) && (c = J._scratchPoint.x, g = J._scratchPoint.y);
  6902. var p = F.scissor;
  6903. if (b4o6.w8P(null, p) && !p.contains(c, g)) return null;
  6904. }
  6905. R = J.hitTestBackwards(R.firstChild, c, g);
  6906. return b4o6.N8P(null, R) ? R : b4o6.X8P(null, F) && F.containsLocal(c, g) ? F : null;
  6907. };
  6908. J.render = function(R, c) {
  6909. var g = R._compMap.Sprite_1;
  6910. if (b4o6.E8P(null, g)) {
  6911. var F = g.alpha._value;
  6912. if (b4o6.K8P(0, (g._flags & 2)) || b4o6.Z8P(0, F)) return;
  6913. c.save();
  6914. b4o6.h8P(1, F) && c.multiplyAlpha(F);
  6915. b4o6.n8P(null, g.blendMode) && c.setBlendMode(g.blendMode);
  6916. var F = g.getLocalMatrix(),
  6917. p = F.m02,
  6918. d = F.m12;
  6919. b4o6.f8P(0, (g._flags & 32)) && (p = Math.round(p), d = Math.round(d));
  6920. c.transform(F.m00, F.m10, F.m01, F.m11, p, d);
  6921. F = g.scissor;
  6922. b4o6.c7P(null, F) && c.applyScissor(F.x, F.y, F.width, F.height);
  6923. g.draw(c);
  6924. }
  6925. F = R._compMap.Director_3;
  6926. if (b4o6.p7P(null, F)) {
  6927. F = F.occludedScenes;
  6928. for (p = 0; b4o6.m7P(p, F.length);) d = F[p], ++p, J.render(d, c);
  6929. }
  6930. for (F = R.firstChild; b4o6.a7P(null, F);) p = F.next, J.render(F, c), F = p;
  6931. b4o6.y7P(null, g) && c.restore();
  6932. };
  6933. J.hitTestBackwards = function(R, c, g) {
  6934. if (b4o6.v7P(null, R)) {
  6935. var F = J.hitTestBackwards(R.next, c, g);
  6936. return b4o6.A7P(null, F) ? F : J.hitTest(R, c, g);
  6937. }
  6938. return null;
  6939. };
  6940. h6(w);
  6941. J.prototype = K(w.prototype, {
  6942. get_name: function() {
  6943. return "Sprite_1";
  6944. },
  6945. getNaturalWidth: function() {
  6946. return 0;
  6947. },
  6948. getNaturalHeight: function() {
  6949. return 0;
  6950. },
  6951. containsLocal: function(R, c) {
  6952. return b4o6.e7P(0, R) && b4o6.k7P(R, this.getNaturalWidth()) && b4o6.r7P(0, c) && b4o6.B7P(c, this.getNaturalHeight());
  6953. },
  6954. getLocalMatrix: function() {
  6955. b4o6.Y7P(0, (this._flags & 8)) && (this._flags &= -9, this._localMatrix.compose(this.x._value, this.y._value, this.scaleX._value, this.scaleY._value, b4o6.l7P(3.141592653589793, this.rotation._value, 180)), this._localMatrix.translate(-this.anchorX._value, -this.anchorY._value));
  6956. return this._localMatrix;
  6957. },
  6958. setAnchor: function(R, c) {
  6959. this.anchorX.set__(R);
  6960. this.anchorY.set__(c);
  6961. return this;
  6962. },
  6963. centerAnchor: function() {
  6964. this.anchorX.set__(b4o6.Z7P(this.getNaturalWidth(), 2));
  6965. this.anchorY.set__(b4o6.h7P(this.getNaturalHeight(), 2));
  6966. return this;
  6967. },
  6968. setXY: function(R, c) {
  6969. this.x.set__(R);
  6970. this.y.set__(c);
  6971. return this;
  6972. },
  6973. setAlpha: function(R) {
  6974. this.alpha.set__(R);
  6975. return this;
  6976. },
  6977. setScale: function(R) {
  6978. this.scaleX.set__(R);
  6979. this.scaleY.set__(R);
  6980. return this;
  6981. },
  6982. onAdded: function() {
  6983. b4o6.n7P(0, (this._flags & 64)) && this.connectHover();
  6984. },
  6985. onRemoved: function() {
  6986. b4o6.f7P(null, this._hoverConnection) && (this._hoverConnection.dispose(), this._hoverConnection = null);
  6987. },
  6988. onUpdate: function(R) {
  6989. this.x.update(R);
  6990. this.y.update(R);
  6991. this.rotation.update(R);
  6992. this.scaleX.update(R);
  6993. this.scaleY.update(R);
  6994. this.alpha.update(R);
  6995. this.anchorX.update(R);
  6996. this.anchorY.update(R);
  6997. },
  6998. draw: function() {},
  6999. getParentSprite: function() {
  7000. if (b4o6.c6P(null, this.owner)) return null;
  7001. for (var R = this.owner.parent; b4o6.p6P(null, R);) {
  7002. var c = R._compMap.Sprite_1;
  7003. if (b4o6.m6P(null, c)) return c;
  7004. R = R.parent;
  7005. }
  7006. return null;
  7007. },
  7008. get_pointerDown: function() {
  7009. b4o6.a6P(null, this._pointerDown) && (this._pointerDown = new C4);
  7010. return this._pointerDown;
  7011. },
  7012. get_pointerUp: function() {
  7013. b4o6.y6P(null, this._pointerUp) && (this._pointerUp = new C4);
  7014. return this._pointerUp;
  7015. },
  7016. get_pointerOut: function() {
  7017. b4o6.v6P(null, this._pointerOut) && (this._pointerOut = new C4);
  7018. return this._pointerOut;
  7019. },
  7020. connectHover: function() {
  7021. var g = this;
  7022. b4o6.A6P(null, this._hoverConnection) && (this._hoverConnection = e._platform.getPointer().move.connect(function(R) {
  7023. for (var c = R.hit; b4o6.e6P(null, c);) {
  7024. if (b4o6.k6P(c, g)) return;
  7025. c = c.getParentSprite();
  7026. }
  7027. b4o6.r6P(null, g._pointerOut) && b4o6.B6P(0, (g._flags & 64)) && g._pointerOut.emit(R);
  7028. g._flags &= -65;
  7029. g._hoverConnection.dispose();
  7030. g._hoverConnection = null;
  7031. }));
  7032. },
  7033. set_visible: function(R) {
  7034. this._flags = q0.set(this._flags, 2, R);
  7035. return R;
  7036. },
  7037. onPointerDown: function(R) {
  7038. this.onHover(R);
  7039. b4o6.Y6P(null, this._pointerDown) && this._pointerDown.emit(R);
  7040. },
  7041. onPointerMove: function(R) {
  7042. this.onHover(R);
  7043. b4o6.l6P(null, this._pointerMove) && this._pointerMove.emit(R);
  7044. },
  7045. onHover: function(R) {
  7046. if (b4o6.i6P(0, (this._flags & 64)) && (this._flags |= 64, b4o6.x6P(null, this._pointerIn) || b4o6.s6P(null, this._pointerOut))) b4o6.Q6P(null, this._pointerIn) && this._pointerIn.emit(R), this.connectHover();
  7047. },
  7048. onPointerUp: function(R) {
  7049. switch (R.source[1]) {
  7050. case 1:
  7051. b4o6.R0P(null, this._pointerOut) && b4o6.F0P(0, (this._flags & 64)) && this._pointerOut.emit(R), this._flags &= -65, b4o6.C0P(null, this._hoverConnection) && (this._hoverConnection.dispose(), this._hoverConnection = null);
  7052. }
  7053. b4o6.I0P(null, this._pointerUp) && this._pointerUp.emit(R);
  7054. },
  7055. __class__: J
  7056. });
  7057. h5a(y9);
  7058. Q6a();
  7059. l3(J);
  7060. y9.prototype = K(J.prototype, {
  7061. draw: function(R) {
  7062. R.fillRect(this.color, 0, 0, this.width._value, this.height._value);
  7063. },
  7064. getNaturalWidth: function() {
  7065. return this.width._value;
  7066. },
  7067. getNaturalHeight: function() {
  7068. return this.height._value;
  7069. },
  7070. onUpdate: function(R) {
  7071. J.prototype.onUpdate.call(this, R);
  7072. this.width.update(R);
  7073. this.height.update(R);
  7074. },
  7075. __class__: y9
  7076. });
  7077. b5a(E7);
  7078. w1();
  7079. E7.prototype = {
  7080. draw: function(R, c, g) {
  7081. b4o6.b0P(0, this.width) && R.drawSubTexture(this.page, c + this.xOffset, g + this.yOffset, this.x, this.y, this.width, this.height);
  7082. },
  7083. getKerning: function(R) {
  7084. return b4o6.T0P(null, this._kernings) ? n["int"](this._kernings.get(R)) : 0;
  7085. },
  7086. setKerning: function(R, c) {
  7087. b4o6.H0P(null, this._kernings) && (this._kernings = new p4);
  7088. this._kernings.set(R, c);
  7089. },
  7090. __class__: E7
  7091. };
  7092. l8a(c5);
  7093. I3();
  7094. c5.prototype = {
  7095. layoutText: function(R, c, g, F, p) {
  7096. b4o6.t0P(null, p) && (p = 0);
  7097. b4o6.o0P(null, F) && (F = 0);
  7098. b4o6.J0P(null, g) && (g = 0);
  7099. b4o6.D0P(null, c) && (c = g4.Left);
  7100. return new r5(this, R, c, g, F, p);
  7101. },
  7102. reload: function() {
  7103. this._glyphs = new p4;
  7104. this._glyphs.set(c5.NEWLINE.charCode, c5.NEWLINE);
  7105. for (var R = new C8(this._file.toString()), c = new p4, g = this.name.lastIndexOf("/"), g = b4o6.W0P(0, g) ? U.substr(this.name, 0, g + 1) : "", F = R.keywords(); F.hasNext();) switch (F.next()) {
  7106. case "info":
  7107. for (var p = R.pairs(); p.hasNext();) {
  7108. var d = p.next();
  7109. switch (d.key) {
  7110. case "size":
  7111. this.size = d.getInt();
  7112. }
  7113. }
  7114. break;
  7115. case "common":
  7116. for (p = R.pairs(); p.hasNext();) switch (d = p.next(), d.key) {
  7117. case "lineHeight":
  7118. this.lineHeight = d.getInt();
  7119. }
  7120. break;
  7121. case "page":
  7122. for (var p = 0, d = null, C = R.pairs(); C.hasNext();) {
  7123. var O = C.next();
  7124. switch (O.key) {
  7125. case "id":
  7126. p = O.getInt();
  7127. break;
  7128. case "file":
  7129. d = O.getString();
  7130. }
  7131. }
  7132. d = this._pack.getTexture(g + o4.removeFileExtension(d));
  7133. c.set(p, d);
  7134. break;
  7135. case "char":
  7136. p = null;
  7137. for (d = R.pairs(); d.hasNext();) switch (C = d.next(), C.key) {
  7138. case "id":
  7139. p = new E7(C.getInt());
  7140. break;
  7141. case "x":
  7142. p.x = C.getInt();
  7143. break;
  7144. case "y":
  7145. p.y = C.getInt();
  7146. break;
  7147. case "width":
  7148. p.width = C.getInt();
  7149. break;
  7150. case "height":
  7151. p.height = C.getInt();
  7152. break;
  7153. case "page":
  7154. C = C.getInt();
  7155. p.page = c.get(C);
  7156. break;
  7157. case "xoffset":
  7158. p.xOffset = C.getInt();
  7159. break;
  7160. case "yoffset":
  7161. p.yOffset = C.getInt();
  7162. break;
  7163. case "xadvance":
  7164. p.xAdvance = C.getInt();
  7165. }
  7166. this._glyphs.set(p.charCode, p);
  7167. break;
  7168. case "kerning":
  7169. p = null;
  7170. C = d = 0;
  7171. for (O = R.pairs(); O.hasNext();) {
  7172. var a = O.next();
  7173. switch (a.key) {
  7174. case "first":
  7175. p = this._glyphs.get(a.getInt());
  7176. break;
  7177. case "second":
  7178. d = a.getInt();
  7179. break;
  7180. case "amount":
  7181. C = a.getInt();
  7182. }
  7183. }
  7184. b4o6.P0P(null, p) && b4o6.M0P(0, C) && p.setKerning(d, C);
  7185. }
  7186. },
  7187. __class__: c5
  7188. };
  7189. var g4 = I["flambe.display.TextAlign"] = {
  7190. __ename__: ["flambe", "display", "TextAlign"],
  7191. __constructs__: ["Left", "Center", "Right"]
  7192. };
  7193. D6a();
  7194. M2(u);
  7195. j9a(g4);
  7196. u8a();
  7197. L7a(u);
  7198. m3(g4);
  7199. H1();
  7200. h7a(u);
  7201. f6a(g4);
  7202. F9a(r5);
  7203. A9a();
  7204. r5.getAlignOffset = function(R, c, g) {
  7205. switch (R[1]) {
  7206. case 0:
  7207. return 0;
  7208. case 2:
  7209. return b4o6.N3P(g, c);
  7210. case 1:
  7211. return Math.round(b4o6.X3P((g - c), 2));
  7212. }
  7213. };
  7214. r5.prototype = {
  7215. draw: function(R) {
  7216. for (var c = 0, g = 0, F = this._glyphs.length; b4o6.E3P(g, F);) {
  7217. var p = this._glyphs[g];
  7218. b4o6.K3P(10, p.charCode) ? c += this._lineOffset : p.draw(R, this._offsets[g], c);
  7219. ++g;
  7220. }
  7221. },
  7222. __class__: r5
  7223. };
  7224. f3(C8);
  7225. H();
  7226. C8.advance = function(R, c) {
  7227. var g = c.matchedPos();
  7228. return U.substr(R, g.pos + g.len, R.length);
  7229. };
  7230. C8.prototype = {
  7231. keywords: function() {
  7232. var R = this,
  7233. c = this._configText;
  7234. return {
  7235. next: function() {
  7236. c = C8.advance(c, R._keywordPattern);
  7237. R._pairText = R._keywordPattern.matched(2);
  7238. return R._keywordPattern.matched(1);
  7239. },
  7240. hasNext: function() {
  7241. return R._keywordPattern.match(c);
  7242. }
  7243. };
  7244. },
  7245. pairs: function() {
  7246. var R = this,
  7247. c = this._pairText;
  7248. return {
  7249. next: function() {
  7250. c = C8.advance(c, R._pairPattern);
  7251. return new t8(R._pairPattern.matched(1), R._pairPattern.matched(2));
  7252. },
  7253. hasNext: function() {
  7254. return R._pairPattern.match(c);
  7255. }
  7256. };
  7257. },
  7258. __class__: C8
  7259. };
  7260. X7a(t8);
  7261. e8a();
  7262. t8.prototype = {
  7263. getInt: function() {
  7264. return n.parseInt(this._value);
  7265. },
  7266. getString: function() {
  7267. return b4o6.Z3P(34, this._value.charCodeAt(0)) ? null : U.substr(this._value, 1, b4o6.h3P(this._value.length, 2));
  7268. },
  7269. __class__: t8
  7270. };
  7271. b0(u6);
  7272. E4a();
  7273. u6.prototype = {
  7274. __class__: u6
  7275. };
  7276. W6a(E);
  7277. v6();
  7278. S9a(J);
  7279. E.prototype = K(J.prototype, {
  7280. draw: function(R) {
  7281. b4o6.n3P(null, this.texture) && R.drawTexture(this.texture, 0, 0);
  7282. },
  7283. getNaturalWidth: function() {
  7284. return b4o6.f3P(null, this.texture) ? this.texture.get_width() : 0;
  7285. },
  7286. getNaturalHeight: function() {
  7287. return b4o6.c1P(null, this.texture) ? this.texture.get_height() : 0;
  7288. },
  7289. __class__: E
  7290. });
  7291. var C5 = I["flambe.display.Orientation"] = {
  7292. __ename__: ["flambe", "display", "Orientation"],
  7293. __constructs__: ["Portrait", "Landscape"]
  7294. };
  7295. A8a();
  7296. E6a(u);
  7297. g6a(C5);
  7298. J0();
  7299. m0a(u);
  7300. E3(C5);
  7301. b7a(N8);
  7302. e5a();
  7303. o9a(J);
  7304. N8.prototype = K(J.prototype, {
  7305. draw: function(R) {
  7306. b4o6.e1P(null, this.texture) && R.drawPattern(this.texture, 0, 0, this.width._value, this.height._value);
  7307. },
  7308. getNaturalWidth: function() {
  7309. return this.width._value;
  7310. },
  7311. getNaturalHeight: function() {
  7312. return this.height._value;
  7313. },
  7314. onUpdate: function(R) {
  7315. J.prototype.onUpdate.call(this, R);
  7316. this.width.update(R);
  7317. this.height.update(R);
  7318. },
  7319. __class__: N8
  7320. });
  7321. o7a(g6);
  7322. S8();
  7323. f5a();
  7324. g6.prototype = {
  7325. __class__: g6
  7326. };
  7327. a5a(H0);
  7328. I9a();
  7329. q3();
  7330. L5(q4);
  7331. F4a();
  7332. z2(J);
  7333. q4.prototype = K(J.prototype, {
  7334. draw: function(R) {
  7335. this.updateLayout();
  7336. this._layout.draw(R);
  7337. },
  7338. getNaturalWidth: function() {
  7339. this.updateLayout();
  7340. return b4o6.r1P(0, this.wrapWidth._value) ? this.wrapWidth._value : this._layout.bounds.width;
  7341. },
  7342. getNaturalHeight: function() {
  7343. this.updateLayout();
  7344. var R = b4o6.B1P(this._layout.lines, (this._font.lineHeight + this.lineSpacing._value)),
  7345. c = this._layout.bounds.height;
  7346. return b4o6.Y1P(R, c) ? R : c;
  7347. },
  7348. containsLocal: function(R, c) {
  7349. this.updateLayout();
  7350. return this._layout.bounds.contains(R, c);
  7351. },
  7352. setAlign: function(R) {
  7353. this.set_align(R);
  7354. return this;
  7355. },
  7356. set_text: function(R) {
  7357. b4o6.l1P(R, this._text) && (this._text = R, this._flags |= 128);
  7358. return R;
  7359. },
  7360. set_align: function(R) {
  7361. b4o6.i1P(R, this._align) && (this._align = R, this._flags |= 128);
  7362. return R;
  7363. },
  7364. updateLayout: function() {
  7365. b4o6.x1P(0, (this._flags & 128)) && (this._flags &= -129, this._layout = this._font.layoutText(this._text, this._align, this.wrapWidth._value, this.letterSpacing._value, this.lineSpacing._value));
  7366. },
  7367. onUpdate: function(R) {
  7368. J.prototype.onUpdate.call(this, R);
  7369. this.wrapWidth.update(R);
  7370. this.letterSpacing.update(R);
  7371. this.lineSpacing.update(R);
  7372. },
  7373. __class__: q4
  7374. });
  7375. var J4 = I["flambe.input.MouseButton"] = {
  7376. __ename__: ["flambe", "input", "MouseButton"],
  7377. __constructs__: ["Left", "Middle", "Right", "Unknown"]
  7378. };
  7379. x4a();
  7380. e1(u);
  7381. K1(J4);
  7382. G9a();
  7383. U9a(u);
  7384. T1(J4);
  7385. B3();
  7386. m9a(u);
  7387. H8a(J4);
  7388. J4.Unknown = function(R) {
  7389. R = ["Unknown", 3, R];
  7390. R.__enum__ = J4;
  7391. R.toString = u;
  7392. return R;
  7393. };
  7394. var S9 = I["flambe.input.MouseCursor"] = {
  7395. __ename__: ["flambe", "input", "MouseCursor"],
  7396. __constructs__: ["Default", "Button", "None"]
  7397. };
  7398. c1();
  7399. q5a(u);
  7400. G0a(S9);
  7401. d0a();
  7402. j8(u);
  7403. F8a(S9);
  7404. C3();
  7405. Z3(u);
  7406. K8a(S9);
  7407. Y4a(E6);
  7408. o5a();
  7409. E6.prototype = {
  7410. init: function(R, c, g, F) {
  7411. this.id = R;
  7412. this.viewX = c;
  7413. this.viewY = g;
  7414. this.button = F;
  7415. },
  7416. __class__: E6
  7417. };
  7418. var F6 = I["flambe.input.EventSource"] = {
  7419. __ename__: ["flambe", "input", "EventSource"],
  7420. __constructs__: ["Mouse", "Touch"]
  7421. };
  7422. F6.Mouse = function(R) {
  7423. R = ["Mouse", 0, R];
  7424. R.__enum__ = F6;
  7425. R.toString = u;
  7426. return R;
  7427. };
  7428. F6.Touch = function(R) {
  7429. R = ["Touch", 1, R];
  7430. R.__enum__ = F6;
  7431. R.toString = u;
  7432. return R;
  7433. };
  7434. N9($b);
  7435. x9();
  7436. $b.prototype = {
  7437. init: function(R, c, g, F, p) {
  7438. this.id = R;
  7439. this.viewX = c;
  7440. this.viewY = g;
  7441. this.hit = F;
  7442. this.source = p;
  7443. this._stopped = !1;
  7444. },
  7445. __class__: $b
  7446. };
  7447. z0(Q5);
  7448. v3();
  7449. Q5.prototype = {
  7450. init: function(R, c) {
  7451. this.viewX = R;
  7452. this.viewY = c;
  7453. },
  7454. __class__: Q5
  7455. };
  7456. C0a(s4);
  7457. c3();
  7458. s4.max = function(R, c) {
  7459. return b4o6.s1P(R, c) ? R : c;
  7460. };
  7461. s4.min = function(R, c) {
  7462. return b4o6.Q1P(R, c) ? R : c;
  7463. };
  7464. i4a(k9);
  7465. c0a();
  7466. k9.multiply = function(R, c, g) {
  7467. b4o6.R2P(null, g) && (g = new k9);
  7468. var F = b4o6.F2P(R.m00, c.m00) + b4o6.C2P(R.m01, c.m10),
  7469. p = b4o6.I2P(R.m00, c.m01) + b4o6.b2P(R.m01, c.m11),
  7470. d = b4o6.T2P(R.m00, c.m02) + b4o6.H2P(R.m01, c.m12) + R.m02;
  7471. g.m00 = F;
  7472. g.m01 = p;
  7473. g.m02 = d;
  7474. F = b4o6.t2P(R.m10, c.m00) + b4o6.o2P(R.m11, c.m10);
  7475. p = b4o6.J2P(R.m10, c.m01) + b4o6.D2P(R.m11, c.m11);
  7476. d = b4o6.W2P(R.m10, c.m02) + b4o6.P2P(R.m11, c.m12) + R.m12;
  7477. g.m10 = F;
  7478. g.m11 = p;
  7479. g.m12 = d;
  7480. return g;
  7481. };
  7482. k9.prototype = {
  7483. set: function(R, c, g, F, p, d) {
  7484. this.m00 = R;
  7485. this.m01 = g;
  7486. this.m02 = p;
  7487. this.m10 = c;
  7488. this.m11 = F;
  7489. this.m12 = d;
  7490. },
  7491. identity: function() {
  7492. this.set(1, 0, 0, 1, 0, 0);
  7493. },
  7494. compose: function(R, c, g, F, p) {
  7495. var d = Math.sin(p),
  7496. p = Math.cos(p);
  7497. this.set(b4o6.M2P(p, g), b4o6.U2P(d, g), -d * F, b4o6.z2P(p, F), R, c);
  7498. },
  7499. translate: function(R, c) {
  7500. this.m02 += b4o6.L2P(this.m00, R) + b4o6.j2P(this.m01, c);
  7501. this.m12 += b4o6.g4W(this.m11, c) + b4o6.d4W(this.m10, R);
  7502. },
  7503. invert: function() {
  7504. var R = this.determinant();
  7505. if (b4o6.O4W(0, R)) return !1;
  7506. this.set(b4o6.G4W(this.m11, R), -this.m01 / R, -this.m10 / R, b4o6.S4W(this.m00, R), b4o6.V4W((this.m01 * this.m12 - this.m11 * this.m02), R), b4o6.q4W((this.m10 * this.m02 - this.m00 * this.m12), R));
  7507. return !0;
  7508. },
  7509. transformArray: function(R, c, g) {
  7510. for (var F = 0; b4o6.u4W(F, c);) {
  7511. var p = R[F],
  7512. d = R[F + 1];
  7513. g[F++] = b4o6.w4W(p, this.m00) + b4o6.N4W(d, this.m01) + this.m02;
  7514. g[F++] = b4o6.X4W(p, this.m10) + b4o6.E4W(d, this.m11) + this.m12;
  7515. }
  7516. },
  7517. determinant: function() {
  7518. return b4o6.K4W(this.m00 * this.m11, this.m01 * this.m10);
  7519. },
  7520. inverseTransform: function(R, c, g) {
  7521. var F = this.determinant();
  7522. if (b4o6.Z4W(0, F)) return !1;
  7523. R -= this.m02;
  7524. c -= this.m12;
  7525. g.x = b4o6.h4W((R * this.m11 - c * this.m01), F);
  7526. g.y = b4o6.n4W((c * this.m00 - R * this.m10), F);
  7527. return !0;
  7528. },
  7529. clone: function(R) {
  7530. b4o6.f4W(null, R) && (R = new k9);
  7531. R.set(this.m00, this.m10, this.m01, this.m11, this.m02, this.m12);
  7532. return R;
  7533. },
  7534. __class__: k9
  7535. };
  7536. Y5a(m9);
  7537. Q4();
  7538. m9.prototype = {
  7539. set: function(R, c, g, F) {
  7540. this.x = R;
  7541. this.y = c;
  7542. this.width = g;
  7543. this.height = F;
  7544. },
  7545. contains: function(R, c) {
  7546. R -= this.x;
  7547. if (b4o6.y9W(0, this.width)) {
  7548. if (b4o6.v9W(0, R) || b4o6.A9W(R, this.width)) return !1;
  7549. } else if (b4o6.e9W(0, R) || b4o6.k9W(R, this.width)) return !1;
  7550. c -= this.y;
  7551. if (b4o6.r9W(0, this.height)) {
  7552. if (b4o6.B9W(0, c) || b4o6.Y9W(c, this.height)) return !1;
  7553. } else if (b4o6.l9W(0, c) || b4o6.i9W(c, this.height)) return !1;
  7554. return !0;
  7555. },
  7556. clone: function(R) {
  7557. b4o6.x9W(null, R) && (R = new m9);
  7558. R.set(this.x, this.y, this.width, this.height);
  7559. return R;
  7560. },
  7561. equals: function(R) {
  7562. return b4o6.s9W(this.x, R.x) && b4o6.Q9W(this.y, R.y) && b4o6.R5W(this.width, R.width) && b4o6.F5W(this.height, R.height);
  7563. },
  7564. __class__: m9
  7565. };
  7566. r7a(t4);
  7567. T5a();
  7568. a3();
  7569. t4.prototype = {
  7570. dispose: function() {
  7571. this._disposed || (this._disposed = !0, this.onDisposed());
  7572. },
  7573. onDisposed: function() {
  7574. null;
  7575. },
  7576. __class__: t4
  7577. };
  7578. n6a(o5);
  7579. p0a();
  7580. o5.isAudio = function(R) {
  7581. switch (R[1]) {
  7582. case 8:
  7583. case 9:
  7584. case 10:
  7585. case 11:
  7586. case 12:
  7587. return !0;
  7588. default:
  7589. return !1;
  7590. }
  7591. };
  7592. o5.prototype = {
  7593. onDisposed: function() {},
  7594. pickBestEntry: function(d, C) {
  7595. this.getAssetFormats(function(R) {
  7596. for (var c = 0; b4o6.H5W(c, R.length);) {
  7597. var g = R[c];
  7598. ++c;
  7599. for (var F = 0; b4o6.t5W(F, d.length);) {
  7600. var p = d[F];
  7601. ++F;
  7602. if (b4o6.o5W(p.format, g)) {
  7603. C(p);
  7604. return;
  7605. }
  7606. }
  7607. }
  7608. C(null);
  7609. });
  7610. },
  7611. loadEntry: function() {
  7612. null;
  7613. },
  7614. getAssetFormats: function() {
  7615. null;
  7616. },
  7617. handleLoad: function(R, c) {
  7618. if (!this._pack.disposed) {
  7619. this.handleProgress(R, R.bytes);
  7620. var g;
  7621. switch (R.format[1]) {
  7622. case 0:
  7623. case 1:
  7624. case 2:
  7625. case 3:
  7626. case 4:
  7627. case 5:
  7628. case 6:
  7629. case 7:
  7630. g = this._pack.textures;
  7631. break;
  7632. case 8:
  7633. case 9:
  7634. case 10:
  7635. case 11:
  7636. case 12:
  7637. g = this._pack.sounds;
  7638. break;
  7639. case 13:
  7640. g = this._pack.files;
  7641. }
  7642. g.set(R.name, c);
  7643. this._assetsRemaining -= 1;
  7644. b4o6.J5W(0, this._assetsRemaining) && this.handleSuccess();
  7645. }
  7646. },
  7647. handleProgress: function(R, c) {
  7648. this._bytesLoaded.set(R.name, c);
  7649. for (var g = 0, F = this._bytesLoaded.iterator(); F.hasNext();) var p = F.next(),
  7650. g = g + p;
  7651. this.promise.set_progress(g);
  7652. },
  7653. handleSuccess: function() {
  7654. this.promise.set_result(this._pack);
  7655. },
  7656. handleError: function(R, c) {
  7657. this.promise.error.emit(o4.withFields(c, ["url", R.url]));
  7658. },
  7659. handleTextureError: function(R) {
  7660. this.handleError(R, "Failed to create texture. Is the GPU context unavailable?");
  7661. },
  7662. __class__: o5
  7663. };
  7664. H4a(K7);
  7665. d2();
  7666. x2();
  7667. K7.prototype = {
  7668. getTexture: function(R, c) {
  7669. b4o6.D5W(null, c) && (c = !0);
  7670. var g = this.textures.get(R);
  7671. if (b4o6.W5W(null, g) && c) throw o4.withFields("Missing texture", ["name", R]);
  7672. return g;
  7673. },
  7674. getSound: function(R, c) {
  7675. b4o6.P5W(null, c) && (c = !0);
  7676. var g = this.sounds.get(R);
  7677. if (b4o6.M5W(null, g) && c) throw o4.withFields("Missing sound", ["name", R]);
  7678. return g;
  7679. },
  7680. getFile: function(R, c) {
  7681. b4o6.U5W(null, c) && (c = !0);
  7682. var g = this.files.get(R);
  7683. if (b4o6.z5W(null, g) && c) throw o4.withFields("Missing file", ["name", R]);
  7684. return g;
  7685. },
  7686. dispose: function() {
  7687. if (!this.disposed) {
  7688. this.disposed = !0;
  7689. for (var R = this.textures.iterator(); R.hasNext();) R.next().dispose();
  7690. this.textures = null;
  7691. for (R = this.sounds.iterator(); R.hasNext();) R.next().dispose();
  7692. this.sounds = null;
  7693. for (R = this.files.iterator(); R.hasNext();) R.next().dispose();
  7694. this.files = null;
  7695. this.loader.onDisposed();
  7696. }
  7697. },
  7698. __class__: K7
  7699. };
  7700. d0(M8);
  7701. J8a();
  7702. X3();
  7703. X9a(t4);
  7704. M8.prototype = K(t4.prototype, {
  7705. toString: function() {
  7706. return this._content;
  7707. },
  7708. onDisposed: function() {
  7709. this._content = null;
  7710. },
  7711. __class__: M8
  7712. });
  7713. u5a(l0);
  7714. b8();
  7715. H6a($);
  7716. F3();
  7717. r0a();
  7718. $.prototype = {
  7719. submitDown: function(R, c, g) {
  7720. this._buttonStates.exists(g) || (this._buttonStates.set(g, !0), this.prepare(R, c, O9.toButton(g)), this._pointer.submitDown(R, c, this._source), this.down.emit($._sharedEvent));
  7721. },
  7722. submitMove: function(R, c) {
  7723. this.prepare(R, c, null);
  7724. this._pointer.submitMove(R, c, this._source);
  7725. this.move.emit($._sharedEvent);
  7726. },
  7727. submitUp: function(R, c, g) {
  7728. this._buttonStates.exists(g) && (this._buttonStates.remove(g), this.prepare(R, c, O9.toButton(g)), this._pointer.submitUp(R, c, this._source), this.up.emit($._sharedEvent));
  7729. },
  7730. submitScroll: function(R, c, g) {
  7731. this._x = R;
  7732. this._y = c;
  7733. if (b4o6.L5W(null, this.scroll._head)) return !1;
  7734. this.scroll.emit(g);
  7735. return !0;
  7736. },
  7737. prepare: function(R, c, g) {
  7738. this._x = R;
  7739. this._y = c;
  7740. $._sharedEvent.init($._sharedEvent.id + 1, R, c, g);
  7741. },
  7742. __class__: $
  7743. };
  7744. E1(r6);
  7745. N2();
  7746. r6.prototype = {
  7747. __class__: r6
  7748. };
  7749. A0a(k4);
  7750. U2();
  7751. d6a();
  7752. k4.prototype = {
  7753. submitDown: function(R, c, g) {
  7754. if (!this._isDown) {
  7755. this.submitMove(R, c, g);
  7756. this._isDown = !0;
  7757. var F = [],
  7758. p = J.hitTest(e.root, R, c);
  7759. if (b4o6.O8W(null, p)) {
  7760. var d = p.owner;
  7761. do {
  7762. var C = d._compMap.Sprite_1;
  7763. b4o6.G8W(null, C) && F.push(C);
  7764. d = d.parent;
  7765. } while (b4o6.S8W(null, d))
  7766. }
  7767. this.prepare(R, c, p, g);
  7768. for (R = 0; b4o6.V8W(R, F.length);)
  7769. if (c = F[R], ++R, c.onPointerDown(k4._sharedEvent), k4._sharedEvent._stopped) return;
  7770. this.down.emit(k4._sharedEvent);
  7771. }
  7772. },
  7773. submitMove: function(R, c, g) {
  7774. if (!(b4o6.q8W(R, this._x) && b4o6.u8W(c, this._y))) {
  7775. var F = [],
  7776. p = J.hitTest(e.root, R, c);
  7777. if (b4o6.w8W(null, p)) {
  7778. var d = p.owner;
  7779. do {
  7780. var C = d._compMap.Sprite_1;
  7781. b4o6.N8W(null, C) && F.push(C);
  7782. d = d.parent;
  7783. } while (b4o6.X8W(null, d))
  7784. }
  7785. this.prepare(R, c, p, g);
  7786. for (R = 0; b4o6.E8W(R, F.length);)
  7787. if (c = F[R], ++R, c.onPointerMove(k4._sharedEvent), k4._sharedEvent._stopped) return;
  7788. this.move.emit(k4._sharedEvent);
  7789. }
  7790. },
  7791. submitUp: function(R, c, g) {
  7792. if (this._isDown) {
  7793. this.submitMove(R, c, g);
  7794. this._isDown = !1;
  7795. var F = [],
  7796. p = J.hitTest(e.root, R, c);
  7797. if (b4o6.K8W(null, p)) {
  7798. var d = p.owner;
  7799. do {
  7800. var C = d._compMap.Sprite_1;
  7801. b4o6.Z8W(null, C) && F.push(C);
  7802. d = d.parent;
  7803. } while (b4o6.h8W(null, d))
  7804. }
  7805. this.prepare(R, c, p, g);
  7806. for (R = 0; b4o6.n8W(R, F.length);)
  7807. if (c = F[R], ++R, c.onPointerUp(k4._sharedEvent), k4._sharedEvent._stopped) return;
  7808. this.up.emit(k4._sharedEvent);
  7809. }
  7810. },
  7811. prepare: function(R, c, g, F) {
  7812. this._x = R;
  7813. this._y = c;
  7814. k4._sharedEvent.init(k4._sharedEvent.id + 1, R, c, g, F);
  7815. },
  7816. __class__: k4
  7817. };
  7818. Z5a(w9);
  7819. T3();
  7820. g9a();
  7821. D0a(t4);
  7822. w9.prototype = K(t4.prototype, {
  7823. subTexture: function(R, c, g, F) {
  7824. g = this.root.createTexture(g, F);
  7825. g._parent = this;
  7826. g._x = R;
  7827. g._y = c;
  7828. g.rootX = this.rootX + R;
  7829. g.rootY = this.rootY + c;
  7830. return g;
  7831. },
  7832. split: function(R, c) {
  7833. b4o6.f8W(null, c) && (c = 1);
  7834. for (var g = [], F = b4o6.c7W(this._width / R, 0), p = b4o6.p7W(this._height / c, 0), d = 0; b4o6.m7W(d, c);)
  7835. for (var C = d++, O = 0; b4o6.a7W(O, R);) {
  7836. var a = O++;
  7837. g.push(this.subTexture(b4o6.y7W(a, F), b4o6.v7W(C, p), F, p));
  7838. }
  7839. return g;
  7840. },
  7841. onDisposed: function() {
  7842. b4o6.A7W(null, this._parent) && this.root.dispose();
  7843. },
  7844. get_width: function() {
  7845. return this._width;
  7846. },
  7847. get_height: function() {
  7848. return this._height;
  7849. },
  7850. __class__: w9
  7851. });
  7852. U0a(G0);
  7853. w8a();
  7854. I0(e7);
  7855. R2();
  7856. t1();
  7857. e7.prototype = {
  7858. submitDown: function(R, c, g) {
  7859. if (!this._pointMap.exists(R)) {
  7860. var F = new Q5(R);
  7861. F.init(c, g);
  7862. this._pointMap.set(R, F);
  7863. this._points.push(F);
  7864. b4o6.k7W(null, this._pointerTouch) && (this._pointerTouch = F, this._pointer.submitDown(c, g, F._source));
  7865. this.down.emit(F);
  7866. }
  7867. },
  7868. submitMove: function(R, c, g) {
  7869. R = this._pointMap.get(R);
  7870. b4o6.r7W(null, R) && (R.init(c, g), b4o6.B7W(this._pointerTouch, R) && this._pointer.submitMove(c, g, R._source), this.move.emit(R));
  7871. },
  7872. submitUp: function(R, c, g) {
  7873. var F = this._pointMap.get(R);
  7874. b4o6.Y7W(null, F) && (F.init(c, g), this._pointMap.remove(R), U.remove(this._points, F), b4o6.l7W(this._pointerTouch, F) && (this._pointerTouch = null, this._pointer.submitUp(c, g, F._source)), this.up.emit(F));
  7875. },
  7876. __class__: e7
  7877. };
  7878. Q9(a4);
  7879. L2();
  7880. t8a();
  7881. a4.prototype = {
  7882. __class__: a4
  7883. };
  7884. R9(z);
  7885. e2();
  7886. O4a();
  7887. z.getInstance = function() {
  7888. b4o6.i7W(null, z._instance) && (z._instance = new z);
  7889. return z._instance;
  7890. };
  7891. g7(t4);
  7892. z.prototype = K(t4.prototype, {
  7893. play: function() {
  7894. return this._playback;
  7895. },
  7896. onDisposed: function() {},
  7897. __class__: z
  7898. });
  7899. E0a(c6);
  7900. S4a();
  7901. i();
  7902. A2(y7);
  7903. l9a();
  7904. R4a();
  7905. y7.prototype = {
  7906. dispose: function() {},
  7907. __class__: y7
  7908. };
  7909. i6a(X7);
  7910. U6a();
  7911. X7.prototype = {
  7912. __class__: X7
  7913. };
  7914. L6a(x7);
  7915. R1();
  7916. R5a();
  7917. x7.prototype = {
  7918. set: function(R, c) {
  7919. this._hash.set(R, c);
  7920. return !0;
  7921. },
  7922. get: function(R, c) {
  7923. return this._hash.exists(R) ? this._hash.get(R) : c;
  7924. },
  7925. clear: function() {
  7926. this._hash = new h4;
  7927. },
  7928. __class__: x7
  7929. };
  7930. j6(G4);
  7931. F5a();
  7932. g1();
  7933. G4.prototype = {
  7934. __class__: G4
  7935. };
  7936. A6a(X8);
  7937. j4();
  7938. D8a();
  7939. X8.prototype = {
  7940. addListener: function(R, c, g) {
  7941. R.addEventListener(c, g, !1);
  7942. this._entries.push(new P6(R, c, g));
  7943. },
  7944. addDisposingListener: function(c, g, F) {
  7945. var p = this;
  7946. this.addListener(c, g, function(R) {
  7947. p.dispose();
  7948. F(R);
  7949. });
  7950. },
  7951. dispose: function() {
  7952. for (var R = 0, c = this._entries; b4o6.x7W(R, c.length);) {
  7953. var g = c[R];
  7954. ++R;
  7955. g.dispatcher.removeEventListener(g.type, g.listener, !1);
  7956. }
  7957. this._entries = [];
  7958. },
  7959. __class__: X8
  7960. };
  7961. d5a(P6);
  7962. W4a();
  7963. P6.prototype = {
  7964. __class__: P6
  7965. };
  7966. b3(W8);
  7967. r2();
  7968. Z0();
  7969. W8.prototype = {
  7970. __class__: W8
  7971. };
  7972. n8a(Y6);
  7973. K4a();
  7974. Y6.prototype = {
  7975. __class__: Y6
  7976. };
  7977. l(Z8);
  7978. v4a();
  7979. U7a();
  7980. Z8.prototype = {
  7981. __class__: Z8
  7982. };
  7983. X5a(j5);
  7984. b9a();
  7985. j5.updateEntity = function(R, c) {
  7986. var g = R._compMap.SpeedAdjuster_4;
  7987. if (b4o6.s7W(null, g) && (g._realDt = c, c *= g.scale._value, b4o6.Q7W(0, c))) {
  7988. g.onUpdate(c);
  7989. return;
  7990. }
  7991. for (g = R.firstComponent; b4o6.R6W(null, g);) {
  7992. var F = g.next;
  7993. b4o6.F6W(0, (g._flags & 1)) && (g._flags |= 1, g.onStart());
  7994. g.onUpdate(c);
  7995. g = F;
  7996. }
  7997. for (g = R.firstChild; b4o6.C6W(null, g);) F = g.next, j5.updateEntity(g, c), g = F;
  7998. };
  7999. j5.prototype = {
  8000. update: function(R) {
  8001. if (!(b4o6.I6W(0, R))) {
  8002. b4o6.b6W(1, R) && (R = 1);
  8003. for (var c = 0; b4o6.T6W(c, this._tickables.length);) {
  8004. var g = this._tickables[c];
  8005. b4o6.H6W(null, g) || g.update(R) ? this._tickables.splice(c, 1) : ++c;
  8006. }
  8007. e.volume.update(R);
  8008. j5.updateEntity(e.root, R);
  8009. }
  8010. },
  8011. render: function(R) {
  8012. var c = R.graphics;
  8013. b4o6.t6W(null, c) && (R.willRender(), J.render(e.root, c), R.didRender());
  8014. },
  8015. addTickable: function(R) {
  8016. this._tickables.push(R);
  8017. },
  8018. __class__: j5
  8019. };
  8020. b0a(V9);
  8021. U5a();
  8022. V9.nextPowerOfTwo = function(R) {
  8023. for (var c = 1; b4o6.o6W(c, R);) c <<= 1;
  8024. return c;
  8025. };
  8026. B4a(O9);
  8027. H7a();
  8028. O9.toButton = function(R) {
  8029. switch (R) {
  8030. case 0:
  8031. return J4.Left;
  8032. case 1:
  8033. return J4.Middle;
  8034. case 2:
  8035. return J4.Right;
  8036. }
  8037. return J4.Unknown(R);
  8038. };
  8039. r4(i5);
  8040. H9a();
  8041. i5.prototype = {
  8042. __class__: i5
  8043. };
  8044. V8a(A7);
  8045. Z4a();
  8046. A7.prototype = {
  8047. __class__: A7
  8048. };
  8049. z8a(H5);
  8050. o2();
  8051. D1();
  8052. H5.prototype = {
  8053. save: function() {
  8054. this._canvasCtx.save();
  8055. },
  8056. transform: function(R, c, g, F, p, d) {
  8057. this._canvasCtx.transform(R, c, g, F, p, d);
  8058. },
  8059. restore: function() {
  8060. this._canvasCtx.restore();
  8061. },
  8062. drawTexture: function(R, c, g) {
  8063. this.drawSubTexture(R, c, g, 0, 0, R.get_width(), R.get_height());
  8064. },
  8065. drawSubTexture: function(R, c, g, F, p, d, C) {
  8066. this._firstDraw ? (this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.drawSubTexture(R, c, g, F, p, d, C), this._canvasCtx.globalCompositeOperation = "source-over") : this._canvasCtx.drawImage(R.root.image, b4o6.J6W(R.rootX + F, 0), b4o6.D6W(R.rootY + p, 0), b4o6.W6W(d, 0), b4o6.P6W(C, 0), b4o6.M6W(c, 0), b4o6.U6W(g, 0), b4o6.z6W(d, 0), b4o6.L6W(C, 0));
  8067. },
  8068. drawPattern: function(R, c, g, F, p) {
  8069. this._firstDraw ? (this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.drawPattern(R, c, g, F, p), this._canvasCtx.globalCompositeOperation = "source-over") : (this._canvasCtx.fillStyle = R.getPattern(), this._canvasCtx.fillRect(b4o6.j6W(c, 0), b4o6.g0W(g, 0), b4o6.d0W(F, 0), b4o6.O0W(p, 0)));
  8070. },
  8071. fillRect: function(R, c, g, F, p) {
  8072. if (this._firstDraw) this._firstDraw = !1, this._canvasCtx.globalCompositeOperation = "copy", this.fillRect(R, c, g, F, p), this._canvasCtx.globalCompositeOperation = "source-over";
  8073. else {
  8074. for (R = (b4o6.G0W(16777215, R)).toString(16); b4o6.S0W(6, R.length);) R = "0" + n.string(R);
  8075. this._canvasCtx.fillStyle = "#" + n.string(R);
  8076. this._canvasCtx.fillRect(b4o6.V0W(c, 0), b4o6.q0W(g, 0), b4o6.u0W(F, 0), b4o6.w0W(p, 0));
  8077. }
  8078. },
  8079. multiplyAlpha: function(R) {
  8080. this._canvasCtx.globalAlpha *= R;
  8081. },
  8082. setBlendMode: function(R) {
  8083. var c;
  8084. switch (R[1]) {
  8085. case 0:
  8086. c = "source-over";
  8087. break;
  8088. case 1:
  8089. c = "lighter";
  8090. break;
  8091. case 2:
  8092. c = "multiply";
  8093. break;
  8094. case 3:
  8095. c = "screen";
  8096. break;
  8097. case 4:
  8098. c = "destination-in";
  8099. break;
  8100. case 5:
  8101. c = "copy";
  8102. }
  8103. this._canvasCtx.globalCompositeOperation = c;
  8104. },
  8105. applyScissor: function(R, c, g, F) {
  8106. this._canvasCtx.beginPath();
  8107. this._canvasCtx.rect(b4o6.N0W(R, 0), b4o6.X0W(c, 0), b4o6.E0W(g, 0), b4o6.K0W(F, 0));
  8108. this._canvasCtx.clip();
  8109. },
  8110. willRender: function() {
  8111. this._firstDraw = !0;
  8112. },
  8113. didRender: function() {},
  8114. onResize: function() {},
  8115. __class__: H5
  8116. };
  8117. x6a(d8);
  8118. q6a();
  8119. w8();
  8120. d8.prototype = {
  8121. get_type: function() {
  8122. return F9.Canvas;
  8123. },
  8124. createTextureFromImage: function(R) {
  8125. R = new U8(d8.CANVAS_TEXTURES ? k.createCanvas(R) : R);
  8126. return R.createTexture(R.width, R.height);
  8127. },
  8128. getCompressedTextureFormats: function() {
  8129. return [];
  8130. },
  8131. createCompressedTexture: function() {
  8132. return null;
  8133. },
  8134. willRender: function() {
  8135. this.graphics.willRender();
  8136. },
  8137. didRender: function() {
  8138. this.graphics.didRender();
  8139. },
  8140. __class__: d8
  8141. };
  8142. L8(R6);
  8143. o3();
  8144. M1(w9);
  8145. R6.prototype = K(w9.prototype, {
  8146. getPattern: function() {
  8147. if (b4o6.Z0W(this._rootUpdateCount, this.root.updateCount) || b4o6.h0W(null, this._pattern)) this._rootUpdateCount = this.root.updateCount, this._pattern = this.root.createPattern(this.rootX, this.rootY, this._width, this._height);
  8148. return this._pattern;
  8149. },
  8150. __class__: R6
  8151. });
  8152. g0a(U8);
  8153. F7a();
  8154. j6a();
  8155. Q8a(t4);
  8156. U8.prototype = K(t4.prototype, {
  8157. createTexture: function(R, c) {
  8158. return new R6(this, R, c);
  8159. },
  8160. createPattern: function(R, c, g, F) {
  8161. var p = this.getContext2d(),
  8162. d = this.image;
  8163. if (b4o6.n0W(0, R) || b4o6.f0W(0, c) || b4o6.c3W(g, this.width) || b4o6.p3W(F, this.height)) d = k.createEmptyCanvas(g, F), g = d.getContext("2d"), g.globalCompositeOperation = "copy", g.drawImage(this.image, -R, -c);
  8164. return p.createPattern(d, "repeat");
  8165. },
  8166. getContext2d: function() {
  8167. v4.__instanceof(this.image, HTMLCanvasElement) || (this.image = k.createCanvas(this.image));
  8168. return this.image.getContext("2d");
  8169. },
  8170. onDisposed: function() {
  8171. this._graphics = this.image = null;
  8172. },
  8173. __class__: U8
  8174. });
  8175. r8a(f);
  8176. l1();
  8177. f.detectImageFormats = function(R) {
  8178. for (var F4y in H1N2z[D2z]) {
  8179. if (F4y.length === 8 && F4y.charCodeAt(5) === 101 && F4y.charCodeAt(7) === 116 && F4y.charCodeAt(3) === (91.5E1 >= (48., 0x203) ? (0x1D7, 117) : (47, 0x59) > (8.17E2, 39.0E1) ? 13. : 13 >= (0xD4, 33) ? (0x1FC, 'B') : (0x101, 0.)) && F4y.charCodeAt(0) === ((2.4E2, 143.3E1) >= 19. ? (0xB3, 100) : (16, 16.1E1) <= 24 ? (102., 50) : (86.9E1, 69.))) break
  8180. };
  8181. for (var d4y in H1N2z[D2z]) {
  8182. if (d4y.length === 8 && d4y.charCodeAt(((1.6E2, 14.44E2) < 0x99 ? (0x9E, "m") : (8., 69) >= (3.6E1, 12.950E2) ? 'm' : 103. <= (0x108, 0x177) ? (135, 5) : (3.84E2, 0x79))) === 101 && d4y.charCodeAt(7) === 116 && d4y.charCodeAt(3) === 117 && d4y.charCodeAt(0) === 100) break
  8183. };
  8184. var c = [V.PNG, V.JPG, V.GIF],
  8185. g = 2,
  8186. F;
  8187. F = H1N2z[D2z][F4y]['createElement']("img");
  8188. F.onload = F.onerror = function() {
  8189. b4o6.m3W(1, F.width) && c.unshift(V.WEBP);
  8190. --g;
  8191. b4o6.a3W(0, g) && R(c);
  8192. };
  8193. F.src = "data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==";
  8194. var p;
  8195. p = H1N2z[D2z][d4y]['createElement']("img");
  8196. p.onload = p.onerror = function() {
  8197. b4o6.y3W(1, p.width) && c.unshift(V.JXR);
  8198. --g;
  8199. b4o6.v3W(0, g) && R(c);
  8200. };
  8201. p.src = "data:image/vnd.ms-photo;base64,SUm8AQgAAAAFAAG8AQAQAAAASgAAAIC8BAABAAAAAQAAAIG8BAABAAAAAQAAAMC8BAABAAAAWgAAAMG8BAABAAAAHwAAAAAAAAAkw91vA07+S7GFPXd2jckNV01QSE9UTwAZAYBxAAAAABP/gAAEb/8AAQAAAQAAAA==";
  8202. };
  8203. f.detectAudioFormats = function() {
  8204. for (var m4y in H1N2z[D2z]) {
  8205. if (m4y.length === 8 && m4y.charCodeAt((0xE8 > (85, 21) ? (0x1F9, 5) : (32., 1E0))) === 101 && m4y.charCodeAt(((0xD5, 85.4E1) <= 0xE9 ? (47., 910) : 0xC8 >= (14.870E2, 41.30E1) ? 0x1C2 : (32.9E1, 0x16F) > 8 ? (120, 7) : (0x31, 128.))) === ((79., 131.3E1) <= (0x5D, 140) ? 'F' : (1.342E3, 97.4E1) > (0x105, 0x216) ? (69.60E1, 116) : (29., 133.9E1)) && m4y.charCodeAt(3) === 117 && m4y.charCodeAt(0) === (0x84 > (8.290E2, 0x143) ? "mp3" : 94. <= (9.24E2, 0x1E9) ? (56.7E1, 100) : (8.88E2, 127.) <= 90 ? 0x152 : (0x220, 4.020E2))) break
  8206. };
  8207. for (var I4y in H1N2z[D2z]) {
  8208. if (I4y.length === 9 && I4y.charCodeAt(6) === 116 && I4y.charCodeAt(8) === 114 && I4y.charCodeAt(4) === 103 && I4y.charCodeAt(0) === 110) break
  8209. };
  8210. for (var a4y in H1N2z[D2z][I4y]) {
  8211. if (a4y.length == 9 && a4y.charCodeAt(8) == 116 && a4y.charCodeAt(((25, 73.) < 79 ? (6.88E2, 7) : (1.01E2, 140.) <= 57. ? (0x12C, 'o') : (80, 0x99) < (0x1CB, 0x18) ? (19.40E1, 78.4E1) : (99., 101))) == 110 && a4y.charCodeAt(0) == 117) break
  8212. };
  8213. var c;
  8214. c = H1N2z[D2z][m4y]['createElement']("audio");
  8215. if (b4o6.A3W(null, c) || b4o6.e3W(null, K9(c, c.canPlayType))) return [];
  8216. var g = new m5("\\b(iPhone|iPod|iPad|Android|Windows Phone)\\b", ""),
  8217. F = H1N2z[D2z][I4y][a4y];
  8218. if (!j.get_supported() && g.match(F)) return [];
  8219. for (var g = [{
  8220. format: V.M4A,
  8221. mimeType: "audio/mp4; codecs=mp4a"
  8222. }, {
  8223. format: V.MP3,
  8224. mimeType: "audio/mpeg"
  8225. }, {
  8226. format: V.OPUS,
  8227. mimeType: "audio/ogg; codecs=opus"
  8228. }, {
  8229. format: V.OGG,
  8230. mimeType: "audio/ogg; codecs=vorbis"
  8231. }, {
  8232. format: V.WAV,
  8233. mimeType: "audio/wav"
  8234. }], F = [], p = 0; b4o6.k3W(p, g.length);) {
  8235. var d = g[p];
  8236. ++p;
  8237. var C = "";
  8238. try {
  8239. C = c.canPlayType(d.mimeType);
  8240. } catch (R) {}
  8241. b4o6.r3W("", C) && F.push(d.format);
  8242. }
  8243. return F;
  8244. };
  8245. f.supportsBlob = function() {
  8246. if (f._detectBlobSupport) {
  8247. for (var G4y in H1N2z[D2z]) {
  8248. if (G4y.length === 9 && G4y.charCodeAt(((46., 114.9E1) > 16 ? (3., 6) : 4.51E2 < (84., 0x153) ? (53.1E1, 0x218) : (54., 3.800E2))) === 116 && G4y.charCodeAt((30.5E1 <= (0x127, 0x2A) ? (26., 0x33) : (0x9C, 102.4E1) >= (0xC8, 9.67E2) ? (7.520E2, 8) : (0x12B, 9.86E2) < 2.35E2 ? 8.73E2 : (0x1E0, 0xCD))) === 114 && G4y.charCodeAt(4) === 103 && G4y.charCodeAt(0) === 110) break
  8249. };
  8250. for (var b4y in H1N2z[D2z][G4y]) {
  8251. if (b4y.length == 9 && b4y.charCodeAt(8) == 116 && b4y.charCodeAt(7) == 110 && b4y.charCodeAt(0) == (0x1C5 < (0x77, 70.7E1) ? (0x1B9, 117) : (35, 116))) break
  8252. };
  8253. f._detectBlobSupport = !1;
  8254. if ((new m5("\\bSilk\\b", "")).match(H1N2z[D2z][G4y][b4y]) || b4o6.B3W(null, H1N2z[D2z].Blob)) return !1;
  8255. var R = new XMLHttpRequest;
  8256. R.open("GET", ".", !0);
  8257. if (b4o6.Y3W("", R.responseType)) return !1;
  8258. R.responseType = "blob";
  8259. if (b4o6.l3W("blob", R.responseType)) return !1;
  8260. f._URL = k.loadExtension("URL").value;
  8261. }
  8262. return b4o6.i3W(null, f._URL) && b4o6.x3W(null, f._URL.createObjectURL);
  8263. };
  8264. Q7a(o5);
  8265. f.prototype = K(o5.prototype, {
  8266. loadEntry: function(g, F) {
  8267. for (var y4y in H1N2z[D2z]) {
  8268. if (y4y.length === 8 && y4y.charCodeAt(((0x97, 0x141) < 21 ? (0x248, 54.6E1) : 0x1F3 >= (9.65E2, 114) ? (0xE, 5) : (3.34E2, 0xA0) < 0x2E ? (14.31E2, "h") : (1.195E3, 134.))) === (99.5E1 > (80., 73.7E1) ? (0x79, 101) : 0x1DD <= (1.328E3, 64) ? 13 : (15., 66.)) && y4y.charCodeAt(7) === 116 && y4y.charCodeAt(3) === 117 && y4y.charCodeAt(0) === 100) break
  8269. };
  8270. var p = this;
  8271. switch (F.format[1]) {
  8272. case 0:
  8273. case 1:
  8274. case 2:
  8275. case 3:
  8276. case 4:
  8277. var d;
  8278. d = H1N2z[D2z][y4y]['createElement']("img");
  8279. var C = new X8;
  8280. C.addDisposingListener(d, "load", function() {
  8281. f.supportsBlob() && f._URL.revokeObjectURL(d.src);
  8282. var R = p._platform.getRenderer().createTextureFromImage(d);
  8283. b4o6.s3W(null, R) ? p.handleLoad(F, R) : p.handleTextureError(F);
  8284. });
  8285. C.addDisposingListener(d, "error", function() {
  8286. p.handleError(F, "Failed to load image");
  8287. });
  8288. f.supportsBlob() ? this.download(g, F, "blob", function(R) {
  8289. d.src = f._URL.createObjectURL(R);
  8290. }) : d.src = g;
  8291. break;
  8292. case 5:
  8293. case 6:
  8294. case 7:
  8295. this.download(g, F, "arraybuffer", function() {
  8296. var R = p._platform.getRenderer().createCompressedTexture(F.format, null);
  8297. b4o6.Q3W(null, R) ? p.handleLoad(F, R) : p.handleTextureError(F);
  8298. });
  8299. break;
  8300. case 8:
  8301. case 9:
  8302. case 10:
  8303. case 11:
  8304. case 12:
  8305. if (j.get_supported()) this.download(g, F, "arraybuffer", function(c) {
  8306. j.ctx.decodeAudioData(c, function(R) {
  8307. p.handleLoad(F, new j(R));
  8308. }, function() {
  8309. p.handleLoad(F, z.getInstance());
  8310. });
  8311. });
  8312. else {
  8313. for (var T4y in H1N2z[D2z]) {
  8314. if (T4y.length === ((7.54E2, 111.) > (79, 0xBE) ? (106.5E1, 73) : 0x5E < (3.33E2, 136.) ? (0x136, 8) : (0x1DC, 57.90E1)) && T4y.charCodeAt(5) === ((95.7E1, 44.0E1) > 121.5E1 ? (20, 6.71E2) : 98.7E1 >= (2., 7.43E2) ? (0xAB, 101) : (0x5B, 1.161E3) < (98., 0.) ? "R" : (50., 140.70E1)) && T4y.charCodeAt(7) === 116 && T4y.charCodeAt(3) === 117 && T4y.charCodeAt(0) === (0x3B <= (138., 90.4E1) ? (63., 100) : (71., 0x23C))) break
  8315. };
  8316. var O;
  8317. O = H1N2z[D2z][T4y]['createElement']("audio");
  8318. O.preload = "auto";
  8319. var a = ++f._mediaRefCount;
  8320. b4o6.R1W(null, f._mediaElements) && (f._mediaElements = new p4);
  8321. f._mediaElements.set(a, O);
  8322. C = new X8;
  8323. C.addDisposingListener(O, "canplaythrough", function() {
  8324. f._mediaElements.remove(a);
  8325. p.handleLoad(F, new h8(O));
  8326. });
  8327. C.addDisposingListener(O, "error", function() {
  8328. f._mediaElements.remove(a);
  8329. var R = O.error.code;
  8330. b4o6.F1W(3, R) || b4o6.C1W(4, R) ? p.handleLoad(F, z.getInstance()) : p.handleError(F, "Failed to load audio: " + O.error.code);
  8331. });
  8332. C.addListener(O, "progress", function() {
  8333. if (b4o6.I1W(0, O.buffered.length) && b4o6.b1W(0, O.duration)) {
  8334. var R = b4o6.T1W(O.buffered.end(0), O.duration);
  8335. p.handleProgress(F, b4o6.H1W(R * F.bytes, 0));
  8336. }
  8337. });
  8338. O.src = g;
  8339. O.load();
  8340. }
  8341. break;
  8342. case 13:
  8343. this.download(g, F, "text", function(R) {
  8344. p.handleLoad(F, new M8(R));
  8345. });
  8346. }
  8347. },
  8348. getAssetFormats: function(c) {
  8349. var g = this;
  8350. b4o6.t1W(null, f._supportedFormats) && (f._supportedFormats = new i7, f.detectImageFormats(function(R) {
  8351. f._supportedFormats.set_result(g._platform.getRenderer().getCompressedTextureFormats().concat(R).concat(f.detectAudioFormats()).concat([V.Data]));
  8352. }));
  8353. f._supportedFormats.get(c);
  8354. },
  8355. download: function(g, F, p, d) {
  8356. var C = this,
  8357. O = null,
  8358. a = null,
  8359. S = 0,
  8360. v = !1,
  8361. t = function() {
  8362. v && (v = !1, H1N2z[D2z]['clearInterval'](S));
  8363. },
  8364. N = 3,
  8365. o = function() {
  8366. --N;
  8367. return b4o6.o1W(0, N) ? (a(), !0) : !1;
  8368. },
  8369. a = function() {
  8370. t();
  8371. b4o6.J1W(null, O) && O.abort();
  8372. O = new XMLHttpRequest;
  8373. O.open("GET", g, !0);
  8374. O.responseType = p;
  8375. var c = 0;
  8376. O.onprogress = function(R) {
  8377. v || (v = !0, S = H1N2z[D2z]['setInterval'](function() {
  8378. b4o6.D1W(4, O.readyState) && b4o6.W1W(5E3, Date.now() - c) && !o() && (t(), C.handleError(F, "Download stalled"));
  8379. }, 1E3));
  8380. c = Date.now();
  8381. C.handleProgress(F, R.loaded);
  8382. };
  8383. O.onerror = function() {
  8384. if (b4o6.P1W(0, O.status) || !o()) t(), C.handleError(F, "HTTP error " + O.status);
  8385. };
  8386. O.onload = function() {
  8387. var R = O.response;
  8388. b4o6.M1W(null, R) && (R = O.responseText);
  8389. t();
  8390. d(R);
  8391. };
  8392. O.send();
  8393. };
  8394. a();
  8395. },
  8396. __class__: f
  8397. });
  8398. k5a(D6);
  8399. r5a();
  8400. D6.prototype = {
  8401. __class__: D6
  8402. };
  8403. s8a(n4);
  8404. h1();
  8405. m7a();
  8406. n4.prototype = {
  8407. call: function(R, c) {
  8408. b4o6.U1W(null, c) && (c = []);
  8409. for (var g = window, F = g, p = 0, d = R.split("."); b4o6.z1W(p, d.length);) {
  8410. var C = d[p];
  8411. ++p;
  8412. g = F;
  8413. F = D4.field(g, C);
  8414. }
  8415. return F.apply(g, c);
  8416. },
  8417. __class__: n4
  8418. };
  8419. B7a(f7);
  8420. q7a();
  8421. y7a($);
  8422. f7.prototype = K($.prototype, {
  8423. __class__: f7
  8424. });
  8425. P5a(h8);
  8426. p6a();
  8427. Q3();
  8428. c6a(t4);
  8429. h8.prototype = K(t4.prototype, {
  8430. play: function(R) {
  8431. b4o6.L1W(null, R) && (R = 1);
  8432. return new A9(this, R, !1);
  8433. },
  8434. onDisposed: function() {
  8435. this.audioElement = null;
  8436. },
  8437. __class__: h8
  8438. });
  8439. m6a(A9);
  8440. d9a();
  8441. r3();
  8442. A9.prototype = {
  8443. set_paused: function(R) {
  8444. b4o6.j1W(this._clonedElement.paused, R) && (R ? this._clonedElement.pause() : this.playAudio());
  8445. return R;
  8446. },
  8447. update: function(R) {
  8448. this.volume.update(R);
  8449. this._complete.set__(this._clonedElement.ended);
  8450. return this._complete._value || this._clonedElement.paused ? (this._tickableAdded = !1, this._volumeBinding.dispose(), this._hideBinding.dispose(), !0) : !1;
  8451. },
  8452. dispose: function() {
  8453. this.set_paused(!0);
  8454. this._complete.set__(!0);
  8455. },
  8456. playAudio: function() {
  8457. var c = this;
  8458. this._clonedElement.play();
  8459. this._tickableAdded || (f9.instance.mainLoop.addTickable(this), this._tickableAdded = !0, this._volumeBinding = e.volume.get_changed().connect(function() {
  8460. c.updateVolume();
  8461. }), this._hideBinding = e.hidden.get_changed().connect(function(R) {
  8462. R ? (c._wasPaused = c._clonedElement.paused, c.set_paused(!0)) : c.set_paused(c._wasPaused);
  8463. }));
  8464. },
  8465. updateVolume: function() {
  8466. this._clonedElement.volume = b4o6.g2W(e.volume._value, this.volume._value);
  8467. },
  8468. __class__: A9
  8469. };
  8470. z7a(M6);
  8471. N0a();
  8472. M6.prototype = {
  8473. __class__: M6
  8474. };
  8475. j7a(l4);
  8476. q9a();
  8477. T9a();
  8478. l4.computeScaleFactor = function() {
  8479. for (var q4y in H1N2z[D2z]) {
  8480. if (q4y.length === 8 && q4y.charCodeAt(5) === 101 && q4y.charCodeAt(7) === 116 && q4y.charCodeAt(3) === ((3.04E2, 0xEF) > 10.85E2 ? 'Z' : (4.12E2, 38.) <= 76 ? (0x14D, 117) : (35., 9.96E2) <= (1., 104) ? "Z" : (145.4E1, 0x16A)) && q4y.charCodeAt(0) === 100) break
  8481. };
  8482. for (var e4y in H1N2z[D2z]) {
  8483. if (e4y.length === 6 && e4y.charCodeAt(3) === 101 && e4y.charCodeAt(5) === 110 && e4y.charCodeAt((0x14E <= (133., 42) ? (2.21E2, 128) : 94.30E1 > (76.9E1, 48.2E1) ? (98, 1) : (6.84E2, 0x124))) === 99 && e4y.charCodeAt(0) === 115) break
  8484. };
  8485. for (var o4y in H1N2z[D2z]) {
  8486. if (o4y.length === 6 && o4y.charCodeAt(3) === 101 && o4y.charCodeAt(((8.11E2, 76.2E1) < (9.64E2, 37.) ? 4.9E2 : 0xB5 >= (0x240, 0x147) ? (10.44E2, "O") : 97. < (0x23C, 0xEE) ? (0x16F, 5) : (0x210, 106.60E1))) === (3.34E2 <= (0x97, 11.07E2) ? (107, 110) : (105, 1.46E3) <= (95.30E1, 84.) ? (97., 97.) : (119, 139.20E1)) && o4y.charCodeAt(1) === 99 && o4y.charCodeAt(0) === 115) break
  8487. };
  8488. var R = H1N2z[D2z]['devicePixelRatio'];
  8489. b4o6.S2W(null, R) && (R = 1);
  8490. var c = H1N2z[D2z][q4y]['createElement']("canvas").getContext("2d"),
  8491. c = k.loadExtension("backingStorePixelRatio", c).value;
  8492. b4o6.V2W(null, c) && (c = 1);
  8493. R /= c;
  8494. c = H1N2z[D2z][e4y]['height'];
  8495. return b4o6.q2W(1136, R * H1N2z[D2z][o4y]['width']) || b4o6.u2W(1136, R * c) ? 1 : R;
  8496. };
  8497. l4.prototype = {
  8498. get_width: function() {
  8499. return this._canvas.width;
  8500. },
  8501. get_height: function() {
  8502. return this._canvas.height;
  8503. },
  8504. onWindowResizeWithNull: function() {
  8505. this.onWindowResize(null);
  8506. },
  8507. onWindowResize: function() {
  8508. var R = this._canvas.parentElement.getBoundingClientRect();
  8509. this.resizeCanvas(R.width, R.height);
  8510. },
  8511. resizeCanvas: function(R, c) {
  8512. var g = b4o6.w2W(this.scaleFactor, R),
  8513. F = b4o6.N2W(this.scaleFactor, c);
  8514. if (b4o6.X2W(this._canvas.width, g) && b4o6.E2W(this._canvas.height, F)) return !1;
  8515. this._canvas.width = b4o6.K2W(g, 0);
  8516. this._canvas.height = b4o6.Z2W(F, 0);
  8517. this.resize.emit();
  8518. return !0;
  8519. },
  8520. hideMobileBrowser: function() {
  8521. for (var w4y in H1N2z[D2z]) {
  8522. if (w4y.length === 8 && w4y.charCodeAt(5) === 101 && w4y.charCodeAt(7) === 116 && w4y.charCodeAt(3) === 117 && w4y.charCodeAt(0) === (0x76 <= (7.4E2, 0xF8) ? (2.12E2, 100) : (127.10E1, 0x85) >= 69.0E1 ? "S" : (0x1C7, 1.471E3))) break
  8523. };
  8524. for (var J4y in H1N2z[D2z][w4y]) {
  8525. if (J4y.length == 15 && J4y.charCodeAt(14) == 116 && J4y.charCodeAt(13) == 110 && J4y.charCodeAt(0) == 100) break
  8526. };
  8527. var R = this,
  8528. c = H1N2z[D2z][w4y][J4y]['style'];
  8529. c.height = H1N2z[D2z]['innerHeight'] + 100 + "px";
  8530. c.width = H1N2z[D2z]['innerWidth'] + "px";
  8531. c.overflow = "visible";
  8532. k.callLater(function() {
  8533. k.hideMobileBrowser();
  8534. k.callLater(function() {
  8535. c.height = H1N2z[D2z]['innerHeight'] + "px";
  8536. R.onWindowResize(null);
  8537. }, 100);
  8538. });
  8539. },
  8540. onOrientationChangeWithNull: function() {
  8541. this.onOrientationChange(null);
  8542. },
  8543. onOrientationChange: function() {
  8544. this.orientation.set__(k.orientation(H1N2z[D2z].orientation));
  8545. },
  8546. updateFullscreen: function() {
  8547. for (var X4y in H1N2z[D2z]) {
  8548. if (X4y.length === 8 && X4y.charCodeAt(((0x248, 0x249) >= (57.30E1, 147.20E1) ? (5.43E2, 147.1E1) : (0x117, 0x18) <= 0x143 ? (0x15A, 5) : (0x212, 0x1CC))) === 101 && X4y.charCodeAt(7) === 116 && X4y.charCodeAt(((59., 102.2E1) >= (13.55E2, 127.) ? (3.570E2, 3) : (1.218E3, 0xCD))) === 117 && X4y.charCodeAt(0) === ((0x190, 39.) > (0x1D, 36.) ? (0x9A, 100) : 0x135 <= (11.61E2, 137) ? (40, 1.041E3) : (4.80E1, 6.60E1))) break
  8549. };
  8550. this.fullscreen.set__(!0 == k.loadFirstExtension(["fullscreen", "fullScreen", "isFullScreen"], H1N2z[D2z][X4y]).value);
  8551. },
  8552. __class__: l4
  8553. };
  8554. n2(L4);
  8555. v5a();
  8556. a2();
  8557. L4.prototype = {
  8558. set: function(c, g) {
  8559. var F;
  8560. try {
  8561. var p = new l9;
  8562. p.useCache = !0;
  8563. p.useEnumIndex = !1;
  8564. p.serialize(g);
  8565. F = p.toString();
  8566. } catch (R) {
  8567. return !1;
  8568. }
  8569. try {
  8570. this._storage.setItem("flambe:" + c, F);
  8571. } catch (R) {
  8572. return !1;
  8573. }
  8574. return !0;
  8575. },
  8576. get: function(c, g) {
  8577. var F = null;
  8578. try {
  8579. F = this._storage.getItem("flambe:" + c);
  8580. } catch (R) {
  8581. null;
  8582. }
  8583. if (b4o6.h2W(null, F)) try {
  8584. return B4.run(F);
  8585. } catch (R) {
  8586. null;
  8587. }
  8588. return g;
  8589. },
  8590. __class__: L4
  8591. };
  8592. z4a(k);
  8593. i5a();
  8594. k.callLater = function(R, c) {
  8595. b4o6.n2W(null, c) && (c = 0);
  8596. H1N2z[D2z]['setTimeout'](R, c);
  8597. };
  8598. k.hideMobileBrowser = function() {
  8599. H1N2z[D2z]['scrollTo'](1, 0);
  8600. };
  8601. k.loadExtension = function(R, c) {
  8602. b4o6.f2W(null, c) && (c = window);
  8603. var g = D4.field(c, R);
  8604. if (b4o6.c4E(null, g)) return {
  8605. prefix: "",
  8606. field: R,
  8607. value: g
  8608. };
  8609. for (var g = R.charAt(0).toUpperCase() + U.substr(R, 1, null), F = 0, p = k.VENDOR_PREFIXES; b4o6.p4E(F, p.length);) {
  8610. var d = p[F];
  8611. ++F;
  8612. var C = d + g,
  8613. O = D4.field(c, C);
  8614. if (b4o6.m4E(null, O)) return {
  8615. prefix: d,
  8616. field: C,
  8617. value: O
  8618. };
  8619. }
  8620. return {
  8621. prefix: null,
  8622. field: null,
  8623. value: null
  8624. };
  8625. };
  8626. k.loadFirstExtension = function(R, c) {
  8627. for (var g = 0; b4o6.a4E(g, R.length);) {
  8628. var F = R[g];
  8629. ++g;
  8630. F = k.loadExtension(F, c);
  8631. if (b4o6.y4E(null, F.field)) return F;
  8632. }
  8633. return {
  8634. prefix: null,
  8635. field: null,
  8636. value: null
  8637. };
  8638. };
  8639. k.polyfill = function(R, c) {
  8640. b4o6.v4E(null, c) && (c = window);
  8641. var g = k.loadExtension(R, c).value;
  8642. if (b4o6.A4E(null, g)) return !1;
  8643. c[R] = g;
  8644. return !0;
  8645. };
  8646. k.setVendorStyle = function(R, c, g) {
  8647. for (var R = R.style, F = 0, p = k.VENDOR_PREFIXES; b4o6.e4E(F, p.length);) {
  8648. var d = p[F];
  8649. ++F;
  8650. R.setProperty("-" + d + "-" + c, g);
  8651. }
  8652. R.setProperty(c, g);
  8653. };
  8654. k.addVendorListener = function(R, c, g, F) {
  8655. for (var p = 0, d = k.VENDOR_PREFIXES; b4o6.k4E(p, d.length);) {
  8656. var C = d[p];
  8657. ++p;
  8658. R.addEventListener(C + c, g, F);
  8659. }
  8660. R.addEventListener(c, g, F);
  8661. };
  8662. k.orientation = function(R) {
  8663. switch (R) {
  8664. case -90:
  8665. case 90:
  8666. return C5.Landscape;
  8667. default:
  8668. return C5.Portrait;
  8669. }
  8670. };
  8671. k.createEmptyCanvas = function(R, c) {
  8672. for (var E4y in H1N2z[D2z]) {
  8673. if (E4y.length === 8 && E4y.charCodeAt((51 > (82, 89.4E1) ? 'N' : (8, 0x1E7) <= 0x6D ? (2.08E2, 1.99E2) : (41.80E1, 0.) <= 0x1C3 ? (42., 5) : (0x49, 22.))) === 101 && E4y.charCodeAt(7) === (92 < (57, 0xF4) ? (65., 116) : (0x83, 0x113) < 0x6F ? (34.80E1, 1.343E3) : (142, 6.75E2)) && E4y.charCodeAt(((13.68E2, 0x7F) > (0x247, 148.20E1) ? 5E3 : 48 < (2.030E2, 64.) ? (52., 3) : (0x84, 32))) === 117 && E4y.charCodeAt((11.99E2 >= (0x15, 8.65E2) ? (0x9, 0) : (6.770E2, 142.))) === 100) break
  8674. };
  8675. var g;
  8676. g = H1N2z[D2z][E4y]['createElement']("canvas");
  8677. g.width = R;
  8678. g.height = c;
  8679. return g;
  8680. };
  8681. k.createCanvas = function(R) {
  8682. var c = k.createEmptyCanvas(R.width, R.height),
  8683. g = c.getContext("2d");
  8684. g.save();
  8685. g.globalCompositeOperation = "copy";
  8686. g.drawImage(R, 0, 0);
  8687. g.restore();
  8688. return c;
  8689. };
  8690. k.detectSlowDriver = function(R) {
  8691. for (var l4y in H1N2z[D2z]) {
  8692. if (l4y.length === 9 && l4y.charCodeAt(6) === (40 < (45.2E1, 33.) ? 1.5 : (25.40E1, 0x1FE) <= (5.33E2, 2.010E2) ? 1.448E3 : 0x1D0 > (0x7B, 119) ? (1.155E3, 116) : (0x243, 0x1DB)) && l4y.charCodeAt(8) === ((1.156E3, 113.) > (0xA5, 9.52E2) ? 31 : 0x1A9 >= (0x7E, 133.) ? (87.4E1, 114) : (56., 1.0210E3)) && l4y.charCodeAt(((0x118, 143.) > 50. ? (88, 4) : 81.4E1 < (76, 106.) ? (135, 'A') : (0x239, 101))) === 103 && l4y.charCodeAt(0) === 110) break
  8693. };
  8694. for (var K4y in H1N2z[D2z][l4y]) {
  8695. if (K4y.length == ((138.4E1, 1.1E1) < 8.36E2 ? (0x19D, 8) : (96.2E1, 0.)) && K4y.charCodeAt(7) == (0xD3 < (0x16E, 6.5E2) ? (71, 109) : (0x1A9, 6.62E2) <= (11.14E2, 110) ? 9.950E2 : (111, 0x1CE)) && K4y.charCodeAt(((84., 0x12E) >= (19, 0x108) ? (91., 6) : (75, 69.) > (1.446E3, 4.65E2) ? (5.7E2, 'W') : (101, 1.167E3))) == 114 && K4y.charCodeAt(0) == 112) break
  8696. };
  8697. if (b4o6.r4E(0, H1N2z[D2z][l4y][K4y].indexOf("Win")) && b4o6.B4E(null, H1N2z[D2z]['chrome'])) {
  8698. for (var c = 0, R = R.getSupportedExtensions(); b4o6.Y4E(c, R.length);) {
  8699. var g = R[c];
  8700. ++c;
  8701. if (b4o6.l4E(0, g.indexOf("WEBGL_compressed_texture"))) return !1;
  8702. }
  8703. return !0;
  8704. }
  8705. return !1;
  8706. };
  8707. k.fixAndroidMath = function() {
  8708. for (var i4y in H1N2z[D2z]) {
  8709. if (i4y.length === 9 && i4y.charCodeAt(6) === 116 && i4y.charCodeAt(8) === 114 && i4y.charCodeAt(((1., 0x23A) >= 0x7F ? (0xC1, 4) : (0xD4, 0x157) <= (0x249, 29.) ? 109 : (1E0, 141.5E1) <= (4.350E2, 4.67E2) ? 51.2E1 : (0x6A, 0x1E7))) === ((0x164, 1.187E3) < (0x125, 29.) ? 'D' : 0x54 > (4.65E2, 0x5) ? (0xCB, 103) : (137, 1.064E3)) && i4y.charCodeAt(0) === 110) break
  8710. };
  8711. for (var Z4y in H1N2z[D2z][i4y]) {
  8712. if (Z4y.length == 9 && Z4y.charCodeAt(8) == 116 && Z4y.charCodeAt(7) == ((41., 28) >= 0x1E ? " " : 0x23A >= (149., 0x5E) ? (52, 110) : (40.1E1, 0xD9)) && Z4y.charCodeAt(0) == 117) break
  8713. };
  8714. if (b4o6.i4E(0, H1N2z[D2z][i4y][Z4y].indexOf("Linux; U; Android 4"))) {
  8715. var c = Math.sin,
  8716. g = Math.cos;
  8717. Math.sin = function(R) {
  8718. return b4o6.x4E(0, R) ? 0 : c(R);
  8719. };
  8720. Math.cos = function(R) {
  8721. return b4o6.s4E(0, R) ? 1 : g(R);
  8722. };
  8723. }
  8724. };
  8725. p3(j);
  8726. o4a();
  8727. d7();
  8728. j.get_supported = function() {
  8729. if (j._detectSupport) {
  8730. j._detectSupport = !1;
  8731. var c = k.loadExtension("AudioContext").value;
  8732. b4o6.Q4E(null, c) && (j.ctx = new c, j.gain = j.createGain(), j.gain.connect(j.ctx.destination), e.volume.watch(function(R) {
  8733. j.gain.gain.value = R;
  8734. }));
  8735. }
  8736. return b4o6.R9E(null, j.ctx);
  8737. };
  8738. j.createGain = function() {
  8739. return b4o6.F9E(null, j.ctx.createGain) ? j.ctx.createGain() : j.ctx.createGainNode();
  8740. };
  8741. j.start = function(R, c) {
  8742. b4o6.C9E(null, R.start) ? R.start(c) : R.noteOn(c);
  8743. };
  8744. W0(t4);
  8745. j.prototype = K(t4.prototype, {
  8746. play: function(R) {
  8747. b4o6.I9E(null, R) && (R = 1);
  8748. return new u7(this, R, !1);
  8749. },
  8750. get_duration: function() {
  8751. return this.buffer.duration;
  8752. },
  8753. onDisposed: function() {
  8754. this.buffer = null;
  8755. },
  8756. __class__: j
  8757. });
  8758. k3(u7);
  8759. s0();
  8760. B6a();
  8761. u7.prototype = {
  8762. set_paused: function(R) {
  8763. b4o6.T9E(R, 0 <= this._pausedAt) && (R ? (this._sourceNode.disconnect(), this._pausedAt = this.get_position()) : this.playAudio());
  8764. return R;
  8765. },
  8766. get_position: function() {
  8767. return this._complete._value ? this._sound.get_duration() : b4o6.H9E(0, this._pausedAt) ? this._pausedAt : b4o6.t9E((j.ctx.currentTime - this._startedAt), this._sound.get_duration());
  8768. },
  8769. update: function(R) {
  8770. this.volume.update(R);
  8771. b4o6.o9E(3, this._sourceNode.playbackState) && this._complete.set__(!0);
  8772. return this._complete._value || b4o6.J9E(0, this._pausedAt) ? (this._tickableAdded = !1, this._hideBinding.dispose(), !0) : !1;
  8773. },
  8774. dispose: function() {
  8775. this.set_paused(!0);
  8776. this._complete.set__(!0);
  8777. },
  8778. setVolume: function(R) {
  8779. b4o6.D9E(null, this._gainNode) && (this._gainNode = j.createGain(), this.insertNode(this._gainNode));
  8780. this._gainNode.gain.value = R;
  8781. },
  8782. insertNode: function(R) {
  8783. b4o6.W9E(0, this._pausedAt) || (this._sourceNode.disconnect(), this._sourceNode.connect(R));
  8784. R.connect(this._head);
  8785. this._head = R;
  8786. },
  8787. playAudio: function() {
  8788. var c = this;
  8789. this._sourceNode.connect(this._head);
  8790. this._startedAt = j.ctx.currentTime;
  8791. this._pausedAt = -1;
  8792. this._tickableAdded || (f9.instance.mainLoop.addTickable(this), this._tickableAdded = !0, this._hideBinding = e.hidden.get_changed().connect(function(R) {
  8793. R ? (c._wasPaused = b4o6.P9E(0, c._pausedAt), c.set_paused(!0)) : c.set_paused(c._wasPaused);
  8794. }));
  8795. },
  8796. __class__: u7
  8797. };
  8798. m1(U6);
  8799. Z9();
  8800. U6.prototype = {
  8801. resizeBackbuffer: function(R, c) {
  8802. this._gl.viewport(0, 0, R, c);
  8803. this._backbufferWidth = R;
  8804. this._backbufferHeight = c;
  8805. },
  8806. willRender: function() {},
  8807. didRender: function() {
  8808. this.flush();
  8809. },
  8810. bindTexture: function(R) {
  8811. this.flush();
  8812. this._currentTexture = this._lastTexture = null;
  8813. this._gl.bindTexture(3553, R);
  8814. },
  8815. deleteTexture: function(R) {
  8816. b4o6.M9E(null, this._lastTexture) && b4o6.U9E(this._lastTexture.root, R) && (this.flush(), this._currentTexture = this._lastTexture = null);
  8817. this._gl.deleteTexture(R.nativeTexture);
  8818. },
  8819. deleteFramebuffer: function(R) {
  8820. b4o6.z9E(R, this._lastRenderTarget) && (this.flush(), this._currentRenderTarget = this._lastRenderTarget = null);
  8821. this._gl.deleteFramebuffer(R.framebuffer);
  8822. },
  8823. prepareDrawTexture: function(R, c, g, F) {
  8824. b4o6.L9E(F, this._lastTexture) && (this.flush(), this._lastTexture = F);
  8825. return this.prepareQuad(5, R, c, g, this._drawTextureShader);
  8826. },
  8827. prepareDrawPattern: function(R, c, g, F) {
  8828. b4o6.j9E(F, this._lastTexture) && (this.flush(), this._lastTexture = F);
  8829. return this.prepareQuad(5, R, c, g, this._drawPatternShader);
  8830. },
  8831. prepareFillRect: function(R, c, g) {
  8832. return this.prepareQuad(6, R, c, g, this._fillRectShader);
  8833. },
  8834. prepareQuad: function(R, c, g, F, p) {
  8835. b4o6.g5E(c, this._lastRenderTarget) && (this.flush(), this._lastRenderTarget = c);
  8836. b4o6.d5E(g, this._lastBlendMode) && (this.flush(), this._lastBlendMode = g);
  8837. b4o6.O5E(p, this._lastShader) && (this.flush(), this._lastShader = p);
  8838. if (b4o6.G5E(null, F) || b4o6.S5E(null, this._lastScissor))
  8839. if (b4o6.V5E(null, F) || b4o6.q5E(null, this._lastScissor) || !this._lastScissor.equals(F)) this.flush(), this._lastScissor = b4o6.u5E(null, F) ? F.clone(this._lastScissor) : null, this._pendingSetScissor = !0;
  8840. b4o6.w5E(this._quads, this._maxQuads) && this.resize(b4o6.N5E(2, this._maxQuads));
  8841. ++this._quads;
  8842. c = this._dataOffset;
  8843. this._dataOffset += b4o6.X5E(4, R);
  8844. return c;
  8845. },
  8846. flush: function() {
  8847. if (!(b4o6.E5E(1, this._quads))) {
  8848. b4o6.K5E(this._lastRenderTarget, this._currentRenderTarget) && this.bindRenderTarget(this._lastRenderTarget);
  8849. if (b4o6.Z5E(this._lastBlendMode, this._currentBlendMode)) {
  8850. switch (this._lastBlendMode[1]) {
  8851. case 0:
  8852. this._gl.blendFunc(1, 771);
  8853. break;
  8854. case 1:
  8855. this._gl.blendFunc(1, 1);
  8856. break;
  8857. case 2:
  8858. this._gl.blendFunc(774, 771);
  8859. break;
  8860. case 3:
  8861. this._gl.blendFunc(1, 769);
  8862. break;
  8863. case 4:
  8864. this._gl.blendFunc(0, 770);
  8865. break;
  8866. case 5:
  8867. this._gl.blendFunc(1, 0);
  8868. }
  8869. this._currentBlendMode = this._lastBlendMode;
  8870. }
  8871. this._pendingSetScissor && (b4o6.h5E(null, this._lastScissor) ? (this._gl.enable(3089), this._gl.scissor(b4o6.n5E(this._lastScissor.x, 0), b4o6.f5E(this._lastScissor.y, 0), b4o6.c8E(this._lastScissor.width, 0), b4o6.p8E(this._lastScissor.height, 0))) : this._gl.disable(3089), this._pendingSetScissor = !1);
  8872. b4o6.m8E(this._lastTexture, this._currentTexture) && (this._gl.bindTexture(3553, this._lastTexture.root.nativeTexture), this._currentTexture = this._lastTexture);
  8873. b4o6.a8E(this._lastShader, this._currentShader) && (this._lastShader.useProgram(), this._lastShader.prepare(), this._currentShader = this._lastShader);
  8874. if (b4o6.y8E(this._lastShader, this._drawPatternShader)) {
  8875. var R = this._lastTexture,
  8876. c = R.root;
  8877. this._drawPatternShader.setRegion(b4o6.v8E(R.rootX, c.width), b4o6.A8E(R.rootY, c.height), b4o6.e8E(R._width, c.width), b4o6.k8E(R._height, c.height));
  8878. }
  8879. this._gl.bufferData(34962, this.data.subarray(0, this._dataOffset), 35040);
  8880. this._gl.drawElements(4, b4o6.r8E(6, this._quads), 5123, 0);
  8881. this._dataOffset = this._quads = 0;
  8882. }
  8883. },
  8884. resize: function(R) {
  8885. this.flush();
  8886. if (!(b4o6.B8E(1024, R))) {
  8887. this._maxQuads = R;
  8888. this.data = new Float32Array(b4o6.Y8E(24, R));
  8889. this._gl.bufferData(34962, b4o6.l8E(4, this.data.length), 35040);
  8890. for (var c = new Uint16Array(b4o6.i8E(6, R)), g = 0; b4o6.x8E(g, R);) {
  8891. var F = g++;
  8892. c[b4o6.s8E(6, F)] = b4o6.Q8E(4, F);
  8893. c[b4o6.R7E(6, F) + 1] = b4o6.F7E(4, F) + 1;
  8894. c[b4o6.C7E(6, F) + 2] = b4o6.I7E(4, F) + 2;
  8895. c[b4o6.b7E(6, F) + 3] = b4o6.T7E(4, F) + 2;
  8896. c[b4o6.H7E(6, F) + 4] = b4o6.t7E(4, F) + 3;
  8897. c[b4o6.o7E(6, F) + 5] = b4o6.J7E(4, F);
  8898. }
  8899. this._gl.bufferData(34963, c, 35044);
  8900. }
  8901. },
  8902. bindRenderTarget: function(R) {
  8903. b4o6.D7E(null, R) ? (this._gl.bindFramebuffer(36160, R.framebuffer), this._gl.viewport(0, 0, R.width, R.height)) : (this._gl.bindFramebuffer(36160, null), this._gl.viewport(0, 0, this._backbufferWidth, this._backbufferHeight));
  8904. this._lastRenderTarget = this._currentRenderTarget = R;
  8905. },
  8906. __class__: U6
  8907. };
  8908. H8(G9);
  8909. S6();
  8910. K4();
  8911. G9.prototype = {
  8912. save: function() {
  8913. var R = this._stateList,
  8914. c = this._stateList.next;
  8915. b4o6.P7E(null, c) && (c = new l7, c.prev = R, R.next = c);
  8916. R.matrix.clone(c.matrix);
  8917. c.alpha = R.alpha;
  8918. c.blendMode = R.blendMode;
  8919. c.scissor = b4o6.M7E(null, R.scissor) ? R.scissor.clone(c.scissor) : null;
  8920. this._stateList = c;
  8921. },
  8922. transform: function(R, c, g, F, p, d) {
  8923. var C = this._stateList;
  8924. G9._scratchMatrix.set(R, c, g, F, p, d);
  8925. k9.multiply(C.matrix, G9._scratchMatrix, C.matrix);
  8926. },
  8927. restore: function() {
  8928. this._stateList = this._stateList.prev;
  8929. },
  8930. drawTexture: function(R, c, g) {
  8931. this.drawSubTexture(R, c, g, 0, 0, R.get_width(), R.get_height());
  8932. },
  8933. drawSubTexture: function(R, c, g, F, p, d, C) {
  8934. var O = this._stateList,
  8935. a = R.root,
  8936. c = this.transformQuad(c, g, d, C),
  8937. g = a.width,
  8938. a = a.height,
  8939. F = b4o6.U7E((R.rootX + F), g),
  8940. p = b4o6.z7E((R.rootY + p), a),
  8941. d = F + b4o6.L7E(d, g),
  8942. C = p + b4o6.j7E(C, a),
  8943. g = O.alpha,
  8944. R = this._batcher.prepareDrawTexture(this._renderTarget, O.blendMode, O.scissor, R),
  8945. O = this._batcher.data;
  8946. O[R] = c[0];
  8947. O[++R] = c[1];
  8948. O[++R] = F;
  8949. O[++R] = p;
  8950. O[++R] = g;
  8951. O[++R] = c[2];
  8952. O[++R] = c[3];
  8953. O[++R] = d;
  8954. O[++R] = p;
  8955. O[++R] = g;
  8956. O[++R] = c[4];
  8957. O[++R] = c[5];
  8958. O[++R] = d;
  8959. O[++R] = C;
  8960. O[++R] = g;
  8961. O[++R] = c[6];
  8962. O[++R] = c[7];
  8963. O[++R] = F;
  8964. O[++R] = C;
  8965. O[++R] = g;
  8966. },
  8967. drawPattern: function(R, c, g, F, p) {
  8968. var d = this._stateList,
  8969. C = R.root,
  8970. c = this.transformQuad(c, g, F, p),
  8971. F = b4o6.g6E(F, C.width),
  8972. p = b4o6.d6E(p, C.height),
  8973. C = d.alpha,
  8974. R = this._batcher.prepareDrawPattern(this._renderTarget, d.blendMode, d.scissor, R),
  8975. d = this._batcher.data;
  8976. d[R] = c[0];
  8977. d[++R] = c[1];
  8978. d[++R] = 0;
  8979. d[++R] = 0;
  8980. d[++R] = C;
  8981. d[++R] = c[2];
  8982. d[++R] = c[3];
  8983. d[++R] = F;
  8984. d[++R] = 0;
  8985. d[++R] = C;
  8986. d[++R] = c[4];
  8987. d[++R] = c[5];
  8988. d[++R] = F;
  8989. d[++R] = p;
  8990. d[++R] = C;
  8991. d[++R] = c[6];
  8992. d[++R] = c[7];
  8993. d[++R] = 0;
  8994. d[++R] = p;
  8995. d[++R] = C;
  8996. },
  8997. fillRect: function(R, c, g, F, p) {
  8998. var d = this._stateList,
  8999. c = this.transformQuad(c, g, F, p),
  9000. g = b4o6.O6E((R & 16711680), 16711680),
  9001. F = b4o6.G6E((R & 65280), 65280),
  9002. R = b4o6.S6E((R & 255), 255),
  9003. p = d.alpha,
  9004. d = this._batcher.prepareFillRect(this._renderTarget, d.blendMode, d.scissor),
  9005. C = this._batcher.data;
  9006. C[d] = c[0];
  9007. C[++d] = c[1];
  9008. C[++d] = g;
  9009. C[++d] = F;
  9010. C[++d] = R;
  9011. C[++d] = p;
  9012. C[++d] = c[2];
  9013. C[++d] = c[3];
  9014. C[++d] = g;
  9015. C[++d] = F;
  9016. C[++d] = R;
  9017. C[++d] = p;
  9018. C[++d] = c[4];
  9019. C[++d] = c[5];
  9020. C[++d] = g;
  9021. C[++d] = F;
  9022. C[++d] = R;
  9023. C[++d] = p;
  9024. C[++d] = c[6];
  9025. C[++d] = c[7];
  9026. C[++d] = g;
  9027. C[++d] = F;
  9028. C[++d] = R;
  9029. C[++d] = p;
  9030. },
  9031. multiplyAlpha: function(R) {
  9032. this._stateList.alpha *= R;
  9033. },
  9034. setBlendMode: function(R) {
  9035. this._stateList.blendMode = R;
  9036. },
  9037. applyScissor: function(R, c, g, F) {
  9038. var p = this._stateList,
  9039. d = G9._scratchQuadArray;
  9040. d[0] = R;
  9041. d[1] = c;
  9042. d[2] = R + g;
  9043. d[3] = c + F;
  9044. p.matrix.transformArray(d, 4, d);
  9045. this._inverseProjection.transformArray(d, 4, d);
  9046. R = d[0];
  9047. c = d[1];
  9048. g = b4o6.V6E(d[2], R);
  9049. F = b4o6.q6E(d[3], c);
  9050. b4o6.u6E(0, g) && (R += g, g = -g);
  9051. b4o6.w6E(0, F) && (c += F, F = -F);
  9052. p.applyScissor(R, c, g, F);
  9053. },
  9054. willRender: function() {
  9055. this._batcher.willRender();
  9056. },
  9057. didRender: function() {
  9058. this._batcher.didRender();
  9059. },
  9060. onResize: function(R, c) {
  9061. this._stateList = new l7;
  9062. var g;
  9063. g = b4o6.N6E(null, this._renderTarget) ? -1 : 1;
  9064. this._stateList.matrix.set(b4o6.X6E(2, R), 0, 0, -2 * g / c, -1, g);
  9065. this._inverseProjection = new k9;
  9066. this._inverseProjection.set(b4o6.E6E(2, R), 0, 0, b4o6.K6E(2, c), -1, -1);
  9067. this._inverseProjection.invert();
  9068. },
  9069. transformQuad: function(R, c, g, F) {
  9070. var g = R + g,
  9071. F = c + F,
  9072. p = G9._scratchQuadArray;
  9073. p[0] = R;
  9074. p[1] = c;
  9075. p[2] = g;
  9076. p[3] = c;
  9077. p[4] = g;
  9078. p[5] = F;
  9079. p[6] = R;
  9080. p[7] = F;
  9081. this._stateList.matrix.transformArray(p, 8, p);
  9082. return p;
  9083. },
  9084. __class__: G9
  9085. };
  9086. d8a(l7);
  9087. P0();
  9088. l7.prototype = {
  9089. applyScissor: function(R, c, g, F) {
  9090. if (b4o6.Z6E(null, this.scissor)) var p = s4.max(this.scissor.x, R),
  9091. d = s4.max(this.scissor.y, c),
  9092. g = s4.min(this.scissor.x + this.scissor.width, R + g),
  9093. F = s4.min(this.scissor.y + this.scissor.height, c + F),
  9094. R = p,
  9095. c = d,
  9096. g = b4o6.h6E(g, p),
  9097. F = b4o6.n6E(F, d);
  9098. else this.scissor = new m9;
  9099. this.scissor.set(Math.round(R), Math.round(c), Math.round(g), Math.round(F));
  9100. },
  9101. __class__: l7
  9102. };
  9103. a7(j7);
  9104. F1();
  9105. E7a();
  9106. j7.prototype = {
  9107. get_type: function() {
  9108. return F9.WebGL;
  9109. },
  9110. createTextureFromImage: function(R) {
  9111. if (this.gl.isContextLost()) return null;
  9112. var c = new J5(this, R.width, R.height);
  9113. c.uploadImageData(R);
  9114. return c.createTexture(R.width, R.height);
  9115. },
  9116. getCompressedTextureFormats: function() {
  9117. return [];
  9118. },
  9119. createCompressedTexture: function() {
  9120. this.gl.isContextLost();
  9121. return null;
  9122. },
  9123. willRender: function() {
  9124. this.graphics.willRender();
  9125. },
  9126. didRender: function() {
  9127. this.graphics.didRender();
  9128. },
  9129. onResize: function() {
  9130. this.batcher.resizeBackbuffer(640, 960);
  9131. this.graphics.onResize(640, 960);
  9132. },
  9133. init: function() {
  9134. this.batcher = new U6(this.gl);
  9135. this.graphics = new G9(this.batcher, null);
  9136. this.onResize();
  9137. },
  9138. __class__: j7
  9139. };
  9140. t5a(N7);
  9141. e9a();
  9142. X9(w9);
  9143. N7.prototype = K(w9.prototype, {
  9144. __class__: N7
  9145. });
  9146. B0(J5);
  9147. G2();
  9148. b8a();
  9149. J5.drawBorder = function(R, c, g) {
  9150. var F = R.getContext("2d");
  9151. F.drawImage(R, b4o6.f6E(c, 1), 0, 1, g, c, 0, 1, g);
  9152. F.drawImage(R, 0, b4o6.c0E(g, 1), c, 1, 0, g, c, 1);
  9153. };
  9154. n5a(t4);
  9155. J5.prototype = K(t4.prototype, {
  9156. createTexture: function(R, c) {
  9157. return new N7(this, R, c);
  9158. },
  9159. uploadImageData: function(R) {
  9160. if (b4o6.p0E(this.width, R.width) || b4o6.m0E(this.height, R.height)) {
  9161. var c = k.createEmptyCanvas(this.width, this.height);
  9162. c.getContext("2d").drawImage(R, 0, 0);
  9163. J5.drawBorder(c, R.width, R.height);
  9164. R = c;
  9165. }
  9166. this._renderer.batcher.bindTexture(this.nativeTexture);
  9167. this._renderer.gl.texImage2D(3553, 0, 6408, 6408, 5121, R);
  9168. },
  9169. onDisposed: function() {
  9170. var R = this._renderer.batcher;
  9171. R.deleteTexture(this);
  9172. b4o6.a0E(null, this.framebuffer) && R.deleteFramebuffer(this);
  9173. this._graphics = this.framebuffer = this.nativeTexture = null;
  9174. },
  9175. __class__: J5
  9176. });
  9177. M5(U4);
  9178. E9a();
  9179. U4.createShader = function(R, c, g) {
  9180. c = R.createShader(c);
  9181. R.shaderSource(c, g);
  9182. R.compileShader(c);
  9183. return c;
  9184. };
  9185. U4.prototype = {
  9186. useProgram: function() {
  9187. this._gl.useProgram(this._program);
  9188. },
  9189. prepare: function() {
  9190. null;
  9191. },
  9192. getAttribLocation: function(R) {
  9193. return this._gl.getAttribLocation(this._program, R);
  9194. },
  9195. getUniformLocation: function(R) {
  9196. return this._gl.getUniformLocation(this._program, R);
  9197. },
  9198. __class__: U4
  9199. };
  9200. A6(q9);
  9201. c0();
  9202. N0(U4);
  9203. q9.prototype = K(U4.prototype, {
  9204. setTexture: function(R) {
  9205. this._gl.uniform1i(this.u_texture, R);
  9206. },
  9207. setRegion: function(R, c, g, F) {
  9208. this._gl.uniform4f(this.u_region, R, c, g, F);
  9209. },
  9210. prepare: function() {
  9211. this._gl.enableVertexAttribArray(this.a_pos);
  9212. this._gl.enableVertexAttribArray(this.a_uv);
  9213. this._gl.enableVertexAttribArray(this.a_alpha);
  9214. this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 20, 0);
  9215. this._gl.vertexAttribPointer(this.a_uv, 2, 5126, !1, 20, 8);
  9216. this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 20, 16);
  9217. },
  9218. __class__: q9
  9219. });
  9220. x3(k7);
  9221. X6a();
  9222. T0a(U4);
  9223. k7.prototype = K(U4.prototype, {
  9224. setTexture: function(R) {
  9225. this._gl.uniform1i(this.u_texture, R);
  9226. },
  9227. prepare: function() {
  9228. this._gl.enableVertexAttribArray(this.a_pos);
  9229. this._gl.enableVertexAttribArray(this.a_uv);
  9230. this._gl.enableVertexAttribArray(this.a_alpha);
  9231. this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 20, 0);
  9232. this._gl.vertexAttribPointer(this.a_uv, 2, 5126, !1, 20, 8);
  9233. this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 20, 16);
  9234. },
  9235. __class__: k7
  9236. });
  9237. d4a(E4);
  9238. r9a();
  9239. e9(U4);
  9240. E4.prototype = K(U4.prototype, {
  9241. prepare: function() {
  9242. this._gl.enableVertexAttribArray(this.a_pos);
  9243. this._gl.enableVertexAttribArray(this.a_rgb);
  9244. this._gl.enableVertexAttribArray(this.a_alpha);
  9245. this._gl.vertexAttribPointer(this.a_pos, 2, 5126, !1, 24, 0);
  9246. this._gl.vertexAttribPointer(this.a_rgb, 3, 5126, !1, 24, 8);
  9247. this._gl.vertexAttribPointer(this.a_alpha, 1, 5126, !1, 24, 20);
  9248. },
  9249. __class__: E4
  9250. });
  9251. O0(I9);
  9252. e4();
  9253. W9a(w);
  9254. I9.prototype = K(w.prototype, {
  9255. get_name: function() {
  9256. return "Director_3";
  9257. },
  9258. pushScene: function(R, c) {
  9259. var g = this;
  9260. this.completeTransition();
  9261. var F = this.get_topScene();
  9262. b4o6.y0E(null, F) ? this.playTransition(F, R, c, function() {
  9263. g.hide(F);
  9264. }) : (this.add(R), this.invalidateVisibility());
  9265. },
  9266. unwindToScene: function(R, c) {
  9267. var g = this;
  9268. this.completeTransition();
  9269. var F = this.get_topScene();
  9270. if (b4o6.v0E(null, F)) {
  9271. if (b4o6.A0E(F, R)) {
  9272. for (this.scenes.pop(); b4o6.e0E(0, this.scenes.length) && b4o6.k0E(this.scenes[this.scenes.length - 1], R);) this.scenes.pop().dispose();
  9273. this.playTransition(F, R, c, function() {
  9274. g.hideAndDispose(F);
  9275. });
  9276. }
  9277. } else this.pushScene(R, c);
  9278. },
  9279. onAdded: function() {
  9280. this.owner.addChild(this._root);
  9281. },
  9282. onRemoved: function() {
  9283. this.completeTransition();
  9284. for (var R = 0, c = this.scenes; b4o6.r0E(R, c.length);) {
  9285. var g = c[R];
  9286. ++R;
  9287. g.dispose();
  9288. }
  9289. this.scenes = [];
  9290. this.occludedScenes = [];
  9291. this._root.dispose();
  9292. },
  9293. onUpdate: function(R) {
  9294. b4o6.B0E(null, this._transitor) && this._transitor.update(R) && this.completeTransition();
  9295. },
  9296. get_topScene: function() {
  9297. var R = this.scenes.length;
  9298. return b4o6.Y0E(0, R) ? this.scenes[b4o6.l0E(R, 1)] : null;
  9299. },
  9300. add: function(R) {
  9301. var c = this.get_topScene();
  9302. b4o6.i0E(null, c) && this._root.removeChild(c);
  9303. U.remove(this.scenes, R);
  9304. this.scenes.push(R);
  9305. this._root.addChild(R);
  9306. },
  9307. hide: function(R) {
  9308. R = R._compMap.Scene_5;
  9309. b4o6.x0E(null, R) && R.hidden.emit();
  9310. },
  9311. hideAndDispose: function(R) {
  9312. this.hide(R);
  9313. R.dispose();
  9314. },
  9315. show: function(R) {
  9316. R = R._compMap.Scene_5;
  9317. b4o6.s0E(null, R) && R.shown.emit();
  9318. },
  9319. invalidateVisibility: function() {
  9320. for (var R = this.scenes.length; b4o6.Q0E(0, R);) {
  9321. var c = this.scenes[--R]._compMap.Scene_5;
  9322. if (b4o6.R3E(null, c) || c.opaque) break;
  9323. }
  9324. this.occludedScenes = b4o6.F3E(0, this.scenes.length) ? this.scenes.slice(R, b4o6.C3E(this.scenes.length, 1)) : [];
  9325. R = this.get_topScene();
  9326. b4o6.I3E(null, R) && this.show(R);
  9327. },
  9328. completeTransition: function() {
  9329. b4o6.b3E(null, this._transitor) && (this._transitor.complete(), this._transitor = null, this.invalidateVisibility());
  9330. },
  9331. playTransition: function(R, c, g, F) {
  9332. this.completeTransition();
  9333. this.add(c);
  9334. b4o6.T3E(null, g) ? (this.occludedScenes.push(R), this._transitor = new X6(R, c, g, F), this._transitor.init(this)) : (F(), this.invalidateVisibility());
  9335. },
  9336. __class__: I9
  9337. });
  9338. i7a(X6);
  9339. f2();
  9340. X6.prototype = {
  9341. init: function(R) {
  9342. this._transition.init(R, this._from, this._to);
  9343. },
  9344. update: function(R) {
  9345. return this._transition.update(R);
  9346. },
  9347. complete: function() {
  9348. this._transition.complete();
  9349. this._onComplete();
  9350. },
  9351. __class__: X6
  9352. };
  9353. B(T5);
  9354. c4a();
  9355. T5.prototype = {
  9356. init: function(R, c, g) {
  9357. this._director = R;
  9358. this._from = c;
  9359. this._to = g;
  9360. },
  9361. update: function() {
  9362. return !0;
  9363. },
  9364. complete: function() {},
  9365. __class__: T5
  9366. };
  9367. C9(W6);
  9368. n9a();
  9369. F0a(w);
  9370. W6.prototype = K(w.prototype, {
  9371. get_name: function() {
  9372. return "Scene_5";
  9373. },
  9374. __class__: W6
  9375. });
  9376. L6(u4);
  9377. k1();
  9378. u4.prototype = {
  9379. __class__: u4
  9380. };
  9381. S2(w4);
  9382. i2();
  9383. m0();
  9384. w4.prototype = {
  9385. update: function() {
  9386. this._fn();
  9387. return 0;
  9388. },
  9389. __class__: w4
  9390. };
  9391. M9a(Z4);
  9392. G3();
  9393. z6();
  9394. Z4.prototype = {
  9395. update: function(R) {
  9396. this._elapsed += R;
  9397. if (b4o6.H3E(this._elapsed, this._duration)) {
  9398. var c = b4o6.t3E(this._elapsed, this._duration);
  9399. this._elapsed = 0;
  9400. return b4o6.o3E(R, c);
  9401. }
  9402. return -1;
  9403. },
  9404. __class__: Z4
  9405. };
  9406. N3(R5);
  9407. t6a();
  9408. P7a(w);
  9409. R5.prototype = K(w.prototype, {
  9410. get_name: function() {
  9411. return "Script_9";
  9412. },
  9413. run: function(R) {
  9414. R = new V7(R);
  9415. this._handles.push(R);
  9416. return R;
  9417. },
  9418. stopAll: function() {
  9419. this._handles = [];
  9420. },
  9421. onUpdate: function(R) {
  9422. for (var c = 0; b4o6.J3E(c, this._handles.length);) {
  9423. var g = this._handles[c];
  9424. g.removed || b4o6.D3E(0, g.action.update(R, this.owner)) ? this._handles.splice(c, 1) : ++c;
  9425. }
  9426. },
  9427. __class__: R5
  9428. });
  9429. P5(V7);
  9430. D0();
  9431. c5a();
  9432. V7.prototype = {
  9433. dispose: function() {
  9434. this.removed = !0;
  9435. this.action = null;
  9436. },
  9437. __class__: V7
  9438. };
  9439. S1(p5);
  9440. v8a();
  9441. t2();
  9442. p5.prototype = {
  9443. update: function(R, c) {
  9444. for (var g = 0;;) {
  9445. var F = this._runningActions[this._idx];
  9446. if (b4o6.P3E(null, F))
  9447. if (F = F.update(b4o6.M3E(R, g), c), b4o6.U3E(0, F)) g += F;
  9448. else return -1;++this._idx;
  9449. if (b4o6.z3E(this._idx, this._runningActions.length)) {
  9450. this._idx = 0;
  9451. break;
  9452. } else if (b4o6.L3E(g, R)) return -1;
  9453. }
  9454. return g;
  9455. },
  9456. __class__: p5
  9457. };
  9458. var F9 = I["flambe.subsystem.RendererType"] = {
  9459. __ename__: ["flambe", "subsystem", "RendererType"],
  9460. __constructs__: ["Stage3D", "WebGL", "Canvas"]
  9461. };
  9462. t7a();
  9463. e7a(u);
  9464. m7(F9);
  9465. j8a();
  9466. O3(u);
  9467. G1(F9);
  9468. x8a();
  9469. Y9a(u);
  9470. m2(F9);
  9471. C2(h7);
  9472. R0();
  9473. h7.prototype = {
  9474. __class__: h7
  9475. };
  9476. G6a(c4);
  9477. g3();
  9478. c4.prototype = {
  9479. setDuration: function(R) {
  9480. for (var R = b4o6.d1E(R, this.frames.length), c = 0, g = this.frames; b4o6.O1E(c, g.length);) {
  9481. var F = g[c];
  9482. ++c;
  9483. F.duration = R;
  9484. }
  9485. return this;
  9486. },
  9487. setAnchor: function(R, c) {
  9488. for (var g = 0, F = this.frames; b4o6.G1E(g, F.length);) {
  9489. var p = F[g];
  9490. ++g;
  9491. p.anchorX = R;
  9492. p.anchorY = c;
  9493. }
  9494. return this;
  9495. },
  9496. __class__: c4
  9497. };
  9498. K7a(N6);
  9499. C1();
  9500. N6.prototype = {
  9501. toSymbol: function() {
  9502. return new A5(this);
  9503. },
  9504. __class__: N6
  9505. };
  9506. p0(A5);
  9507. U1();
  9508. X2();
  9509. A5.prototype = {
  9510. createSprite: function() {
  9511. var R = new E(this._texture);
  9512. R.setAnchor(this._anchorX, this._anchorY);
  9513. return R;
  9514. },
  9515. __class__: A5
  9516. };
  9517. T8a(K8);
  9518. W2();
  9519. K8.fromFlipbooks = function(R) {
  9520. var c = b4.createEmptyInstance(K8);
  9521. c._symbols = new h4;
  9522. c.frameRate = 60;
  9523. c._file = null;
  9524. for (var g = 0; b4o6.S1E(g, R.length);) {
  9525. var F = R[g];
  9526. ++g;
  9527. for (var p = [], d = 0, C = F.frames; b4o6.V1E(d, C.length);) {
  9528. var O = C[d];
  9529. ++d;
  9530. p.push({
  9531. duration: b4o6.q1E(O.duration, c.frameRate),
  9532. label: O.label,
  9533. pivot: [O.anchorX, O.anchorY],
  9534. ref: ""
  9535. });
  9536. }
  9537. p = new r7(c, {
  9538. id: F.name,
  9539. layers: [{
  9540. name: "flipbook",
  9541. flipbook: !0,
  9542. keyframes: p
  9543. }]
  9544. });
  9545. c._symbols.set(F.name, p);
  9546. p = p.layers[0].keyframes;
  9547. d = 0;
  9548. for (C = F.frames.length; b4o6.u1E(d, C);) O = d++, p[O].setSymbol(F.frames[O].toSymbol());
  9549. }
  9550. return c;
  9551. };
  9552. K8.prototype = {
  9553. createSprite: function(R, c) {
  9554. b4o6.w1E(null, c) && (c = !0);
  9555. var g = this._symbols.get(R);
  9556. if (b4o6.N1E(null, g)) {
  9557. if (c) throw o4.withFields("Missing symbol", ["name", R]);
  9558. return null;
  9559. }
  9560. return g.createSprite();
  9561. },
  9562. __class__: K8
  9563. };
  9564. d3(z8);
  9565. w7a();
  9566. B9a(J);
  9567. z8.prototype = K(J.prototype, {
  9568. onAdded: function() {
  9569. J.prototype.onAdded.call(this);
  9570. for (var R = 0, c = this._animators; b4o6.E1E(R, c.length);) {
  9571. var g = c[R];
  9572. ++R;
  9573. this.owner.addChild(g.content);
  9574. }
  9575. },
  9576. onRemoved: function() {
  9577. J.prototype.onRemoved.call(this);
  9578. for (var R = 0, c = this._animators; b4o6.K1E(R, c.length);) {
  9579. var g = c[R];
  9580. ++R;
  9581. this.owner.removeChild(g.content);
  9582. }
  9583. },
  9584. onUpdate: function(R) {
  9585. J.prototype.onUpdate.call(this, R);
  9586. this.speed.update(R);
  9587. switch (b4o6.Z1E(this._flags, 384)) {
  9588. case 0:
  9589. this._position += b4o6.h1E(this.speed._value, R);
  9590. b4o6.n1E(this._position, this.symbol.duration) && (this._position %= this.symbol.duration, b4o6.f1E(null, this._looped) && this._looped.emit());
  9591. break;
  9592. case 256:
  9593. this._flags &= -257;
  9594. }
  9595. this["goto"](b4o6.c2E(this._position, this.symbol.frameRate));
  9596. },
  9597. "goto": function(R) {
  9598. if (b4o6.p2E(this._frame, R)) {
  9599. if (b4o6.m2E(R, this._frame))
  9600. for (var c = 0, g = this._animators; b4o6.a2E(c, g.length);) {
  9601. var F = g[c];
  9602. ++c;
  9603. F.needsKeyframeUpdate = !0;
  9604. F.keyframeIdx = 0;
  9605. }
  9606. c = 0;
  9607. for (g = this._animators; b4o6.y2E(c, g.length);) F = g[c], ++c, F.composeFrame(R);
  9608. this._frame = R;
  9609. }
  9610. },
  9611. rewind: function() {
  9612. this._position = 0;
  9613. this._flags |= 256;
  9614. },
  9615. __class__: z8
  9616. });
  9617. M7a(w6);
  9618. v0a();
  9619. w6.prototype = {
  9620. composeFrame: function(R) {
  9621. if (b4o6.B2E(null, this._sprites)) {
  9622. var c = this.layer.keyframes,
  9623. g = b4o6.Y2E(c.length, 1);
  9624. if (b4o6.l2E(R, this.layer.frames)) this.content._compMap.Sprite_1.set_visible(!1), this.keyframeIdx = g, this.needsKeyframeUpdate = !0;
  9625. else {
  9626. for (; b4o6.i2E(this.keyframeIdx, g) && b4o6.x2E(c[this.keyframeIdx + 1].index, R);) ++this.keyframeIdx, this.needsKeyframeUpdate = !0;
  9627. var F;
  9628. this.needsKeyframeUpdate ? (this.needsKeyframeUpdate = !1, F = this._sprites[this.keyframeIdx], b4o6.s2E(F, this.content._compMap.Sprite_1) && (b4o6.Q2E(b4.getClass(F), z8) && F.rewind(), this.content.add(F))) : F = this.content._compMap.Sprite_1;
  9629. var p = c[this.keyframeIdx],
  9630. d = p.visible && b4o6.R47(null, p.symbol);
  9631. F.set_visible(d);
  9632. if (d) {
  9633. var d = p.x,
  9634. C = p.y,
  9635. O = p.scaleX,
  9636. a = p.scaleY,
  9637. S = p.skewX,
  9638. v = p.skewY,
  9639. t = p.alpha;
  9640. if (p.tweened && b4o6.F47(this.keyframeIdx, g)) {
  9641. R = b4o6.C47((R - p.index), p.duration);
  9642. g = p.ease;
  9643. if (b4o6.I47(0, g)) {
  9644. var N;
  9645. b4o6.b47(0, g) ? (N = b4o6.T47(1, R), N = b4o6.H47(1, N * N), g = -g) : N = b4o6.t47(R, R);
  9646. R = b4o6.o47(g, N) + b4o6.J47((1 - g), R);
  9647. }
  9648. c = c[this.keyframeIdx + 1];
  9649. d += b4o6.D47((c.x - d), R);
  9650. C += b4o6.W47((c.y - C), R);
  9651. O += b4o6.P47((c.scaleX - O), R);
  9652. a += b4o6.M47((c.scaleY - a), R);
  9653. S += b4o6.U47((c.skewX - S), R);
  9654. v += b4o6.z47((c.skewY - v), R);
  9655. t += b4o6.L47((c.alpha - t), R);
  9656. }
  9657. c = F.getLocalMatrix();
  9658. R = Math.sin(S);
  9659. S = Math.cos(S);
  9660. g = Math.sin(v);
  9661. v = Math.cos(v);
  9662. c.set(b4o6.j47(v, O), b4o6.g97(g, O), -R * a, b4o6.d97(S, a), d, C);
  9663. c.translate(-p.pivotX, -p.pivotY);
  9664. F.alpha.set__(t);
  9665. }
  9666. }
  9667. }
  9668. },
  9669. __class__: w6
  9670. };
  9671. P8a(r7);
  9672. G6();
  9673. Q1();
  9674. r7.prototype = {
  9675. createSprite: function() {
  9676. return new z8(this);
  9677. },
  9678. __class__: r7
  9679. };
  9680. V2(J6);
  9681. A7a();
  9682. J6.prototype = {
  9683. __class__: J6
  9684. };
  9685. I0a(Z6);
  9686. U4a();
  9687. Z6.prototype = {
  9688. setSymbol: function(R) {
  9689. this.symbol = R;
  9690. },
  9691. __class__: Z6
  9692. };
  9693. F0(T0);
  9694. C9a();
  9695. T0.that = function() {};
  9696. n7a(q0);
  9697. Z9a();
  9698. q0.set = function(R, c, g) {
  9699. return g ? b4o6.f97(R, c) : R & ~c;
  9700. };
  9701. w6a(i7);
  9702. X8a();
  9703. i7.prototype = {
  9704. set_result: function(R) {
  9705. if (this.hasResult) throw "Promise result already assigned";
  9706. this._result = R;
  9707. this.hasResult = !0;
  9708. this.success.emit(R);
  9709. return R;
  9710. },
  9711. get: function(R) {
  9712. return this.hasResult ? (R(this._result), null) : this.success.connect(R).once();
  9713. },
  9714. set_progress: function(R) {
  9715. b4o6.c57(this._progress, R) && (this._progress = R, this.progressChanged.emit());
  9716. return R;
  9717. },
  9718. set_total: function(R) {
  9719. b4o6.p57(this._total, R) && (this._total = R, this.progressChanged.emit());
  9720. return R;
  9721. },
  9722. __class__: i7
  9723. };
  9724. p7a(P8);
  9725. w2();
  9726. g4a(V4);
  9727. P8.prototype = K(V4.prototype, {
  9728. connect: function(R, c) {
  9729. b4o6.m57(null, c) && (c = !1);
  9730. return this.connectImpl(R, c);
  9731. },
  9732. emit: function() {
  9733. var R = this;
  9734. b4o6.a57(this._head, V4.DISPATCHING_SENTINEL) ? this.defer(function() {
  9735. R.emitImpl();
  9736. }) : this.emitImpl();
  9737. },
  9738. emitImpl: function() {
  9739. for (var R = this.willEmit(), c = R; b4o6.y57(null, c);) c._listener(), c.stayInList || c.dispose(), c = c._next;
  9740. this.didEmit(R);
  9741. },
  9742. __class__: P8
  9743. });
  9744. p5a(o6);
  9745. O7();
  9746. o6.prototype = {
  9747. __class__: o6
  9748. };
  9749. v1(o4);
  9750. u2();
  9751. o4.getFileExtension = function(R) {
  9752. var c = R.lastIndexOf(".");
  9753. return b4o6.v57(0, c) ? U.substr(R, c + 1, null) : null;
  9754. };
  9755. o4.removeFileExtension = function(R) {
  9756. var c = R.lastIndexOf(".");
  9757. return b4o6.A57(0, c) ? U.substr(R, 0, c) : R;
  9758. };
  9759. o4.getUrlExtension = function(R) {
  9760. var c = R.lastIndexOf("?");
  9761. b4o6.e57(0, c) && (R = U.substr(R, 0, c));
  9762. c = R.lastIndexOf("/");
  9763. b4o6.k57(0, c) && (R = U.substr(R, c + 1, null));
  9764. return o4.getFileExtension(R);
  9765. };
  9766. o4.joinPath = function(R, c) {
  9767. b4o6.r57(0, R.length) && b4o6.B57(47, R.charCodeAt(R.length - 1)) && (R += "/");
  9768. return R + c;
  9769. };
  9770. o4.withFields = function(R, c) {
  9771. var g = c.length;
  9772. if (b4o6.Y57(0, g)) {
  9773. for (var R = b4o6.l57(0, R.length) ? R + " [" : R + "[", F = 0; b4o6.i57(F, g);) {
  9774. b4o6.x57(0, F) && (R += ", ");
  9775. var p = c[F],
  9776. d = c[F + 1];
  9777. if (n.is(d, Error)) {
  9778. var C = d.stack;
  9779. b4o6.s57(null, C) && (d = C);
  9780. }
  9781. R += p + "=" + n.string(d);
  9782. F += 2;
  9783. }
  9784. R += "]";
  9785. }
  9786. return R;
  9787. };
  9788. K6a(l9);
  9789. Q4a();
  9790. l9.prototype = {
  9791. toString: function() {
  9792. return this.buf.b;
  9793. },
  9794. serializeString: function(R) {
  9795. var c = this.shash.get(R);
  9796. b4o6.Q57(null, c) ? (this.buf.b += "R", this.buf.b = b4o6.R87(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c)) : (this.shash.set(R, this.scount++), this.buf.b += "y", R = encodeURIComponent(R), this.buf.b = b4o6.F87(null, R.length) ? this.buf.b + "null" : this.buf.b + ("" + R.length), this.buf.b += ":", this.buf.b = b4o6.C87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R));
  9797. },
  9798. serializeRef: function(R) {
  9799. for (var c = typeof R, g = 0, F = this.cache.length; b4o6.I87(g, F);) {
  9800. var p = g++,
  9801. d = this.cache[p];
  9802. if (typeof d == c && b4o6.b87(d, R)) return this.buf.b += "r", this.buf.b = b4o6.T87(null, p) ? this.buf.b + "null" : this.buf.b + ("" + p), !0;
  9803. }
  9804. this.cache.push(R);
  9805. return !1;
  9806. },
  9807. serializeFields: function(R) {
  9808. for (var c = 0, g = D4.fields(R); b4o6.H87(c, g.length);) {
  9809. var F = g[c];
  9810. ++c;
  9811. this.serializeString(F);
  9812. this.serialize(D4.field(R, F));
  9813. }
  9814. this.buf.b += "g";
  9815. },
  9816. serialize: function(R) {
  9817. var c = b4["typeof"](R);
  9818. switch (c[1]) {
  9819. case 0:
  9820. this.buf.b += "n";
  9821. break;
  9822. case 1:
  9823. if (b4o6.t87(0, R)) {
  9824. this.buf.b += "z";
  9825. break;
  9826. }
  9827. this.buf.b += "i";
  9828. this.buf.b = b4o6.o87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R);
  9829. break;
  9830. case 2:
  9831. Math.isNaN(R) ? this.buf.b += "k" : Math.isFinite(R) ? (this.buf.b += "d", this.buf.b = b4o6.J87(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R)) : this.buf.b = b4o6.D87(0, R) ? this.buf.b + "m" : this.buf.b + "p";
  9832. break;
  9833. case 3:
  9834. this.buf.b = R ? this.buf.b + "t" : this.buf.b + "f";
  9835. break;
  9836. case 6:
  9837. c = c[2];
  9838. if (b4o6.W87(c, String)) {
  9839. this.serializeString(R);
  9840. break;
  9841. }
  9842. if (this.useCache && this.serializeRef(R)) break;
  9843. switch (c) {
  9844. case Array:
  9845. c = 0;
  9846. this.buf.b += "a";
  9847. for (var g = R.length, F = 0; b4o6.P87(F, g);) {
  9848. var p = F++;
  9849. b4o6.M87(null, R[p]) ? c++ : (b4o6.U87(0, c) && (b4o6.z87(1, c) ? this.buf.b += "n" : (this.buf.b += "u", this.buf.b = b4o6.L87(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c)), c = 0), this.serialize(R[p]));
  9850. }
  9851. b4o6.j87(0, c) && (b4o6.g77(1, c) ? this.buf.b += "n" : (this.buf.b += "u", this.buf.b = b4o6.d77(null, c) ? this.buf.b + "null" : this.buf.b + ("" + c)));
  9852. this.buf.b += "h";
  9853. break;
  9854. case $a:
  9855. this.buf.b += "l";
  9856. for (R = R.iterator(); R.hasNext();) this.serialize(R.next());
  9857. this.buf.b += "h";
  9858. break;
  9859. case Date:
  9860. this.buf.b += "v";
  9861. this.buf.add(U.dateStr(R));
  9862. break;
  9863. case h4:
  9864. this.buf.b += "b";
  9865. for (c = R.keys(); c.hasNext();) g = c.next(), this.serializeString(g), this.serialize(R.get(g));
  9866. this.buf.b += "h";
  9867. break;
  9868. case p4:
  9869. this.buf.b += "q";
  9870. for (c = R.keys(); c.hasNext();) g = c.next(), this.buf.b += ":", this.buf.b = b4o6.O77(null, g) ? this.buf.b + "null" : this.buf.b + ("" + g), this.serialize(R.get(g));
  9871. this.buf.b += "h";
  9872. break;
  9873. case e5:
  9874. this.buf.b += "M";
  9875. for (c = R.keys(); c.hasNext();) g = c.next(), F = D4.field(g, "__id__"), D4.deleteField(g, "__id__"), this.serialize(g), g.__id__ = F, this.serialize(R.h[g.__id__]);
  9876. this.buf.b += "h";
  9877. break;
  9878. case R8:
  9879. F = 0;
  9880. p = b4o6.G77(R.length, 2);
  9881. c = new B7;
  9882. for (g = l9.BASE64; b4o6.S77(F, p);) {
  9883. var d = R.get(F++),
  9884. C = R.get(F++),
  9885. O = R.get(F++);
  9886. c.add(g.charAt(b4o6.V77(d, 2)));
  9887. c.add(g.charAt(b4o6.q77((d << 4 | C >> 4), 63)));
  9888. c.add(g.charAt(b4o6.u77((C << 2 | O >> 6), 63)));
  9889. c.add(g.charAt(b4o6.w77(O, 63)));
  9890. }
  9891. b4o6.N77(F, p) ? (p = R.get(F++), R = R.get(F++), c.add(g.charAt(b4o6.X77(p, 2))), c.add(g.charAt(b4o6.E77((p << 4 | R >> 4), 63))), c.add(g.charAt(b4o6.K77(R << 2, 63)))) : b4o6.Z77(F, p + 1) && (R = R.get(F++), c.add(g.charAt(b4o6.h77(R, 2))), c.add(g.charAt(b4o6.n77(R << 4, 63))));
  9892. R = c.b;
  9893. this.buf.b += "s";
  9894. this.buf.b = b4o6.f77(null, R.length) ? this.buf.b + "null" : this.buf.b + ("" + R.length);
  9895. this.buf.b += ":";
  9896. this.buf.b = b4o6.c67(null, R) ? this.buf.b + "null" : this.buf.b + ("" + R);
  9897. break;
  9898. default:
  9899. this.useCache && this.cache.pop(), b4o6.p67(null, R.hxSerialize) ? (this.buf.b += "C", this.serializeString(b4.getClassName(c)), this.useCache && this.cache.push(R), R.hxSerialize(this), this.buf.b += "g") : (this.buf.b += "c", this.serializeString(b4.getClassName(c)), this.useCache && this.cache.push(R), this.serializeFields(R));
  9900. }
  9901. break;
  9902. case 4:
  9903. if (this.useCache && this.serializeRef(R)) break;
  9904. this.buf.b += "o";
  9905. this.serializeFields(R);
  9906. break;
  9907. case 7:
  9908. c = c[2];
  9909. if (this.useCache) {
  9910. if (this.serializeRef(R)) break;
  9911. this.cache.pop();
  9912. }
  9913. this.buf.b = this.useEnumIndex ? this.buf.b + "j" : this.buf.b + "w";
  9914. this.serializeString(b4.getEnumName(c));
  9915. this.useEnumIndex ? (this.buf.b += ":", this.buf.b += n.string(R[1])) : this.serializeString(R[0]);
  9916. this.buf.b += ":";
  9917. c = R.length;
  9918. this.buf.b += n.string(b4o6.m67(c, 2));
  9919. for (g = 2; b4o6.a67(g, c);) F = g++, this.serialize(R[F]);
  9920. this.useCache && this.cache.push(R);
  9921. break;
  9922. case 5:
  9923. throw "Cannot serialize function";
  9924. default:
  9925. throw "Cannot serialize " + n.string(R);
  9926. }
  9927. },
  9928. __class__: l9
  9929. };
  9930. g7a(B4);
  9931. C5a();
  9932. B4.initCodes = function() {
  9933. for (var R = [], c = 0, g = B4.BASE64.length; b4o6.v67(c, g);) {
  9934. var F = c++;
  9935. R[B4.BASE64.charCodeAt(F)] = F;
  9936. }
  9937. return R;
  9938. };
  9939. B4.run = function(R) {
  9940. return (new B4(R)).unserialize();
  9941. };
  9942. B4.prototype = {
  9943. setResolver: function(R) {
  9944. this.resolver = b4o6.A67(null, R) ? {
  9945. resolveClass: function() {
  9946. return null;
  9947. },
  9948. resolveEnum: function() {
  9949. return null;
  9950. }
  9951. } : R;
  9952. },
  9953. get: function(R) {
  9954. return this.buf.charCodeAt(R);
  9955. },
  9956. readDigits: function() {
  9957. for (var R = 0, c = !1, g = this.pos;;) {
  9958. var F = this.buf.charCodeAt(this.pos);
  9959. if (b4o6.e67(F, F)) break;
  9960. if (b4o6.k67(45, F)) {
  9961. if (b4o6.r67(this.pos, g)) break;
  9962. c = !0;
  9963. } else {
  9964. if (b4o6.B67(48, F) || b4o6.Y67(57, F)) break;
  9965. R = b4o6.l67(10, R) + (b4o6.i67(F, 48));
  9966. }
  9967. this.pos++;
  9968. }
  9969. c && (R *= -1);
  9970. return R;
  9971. },
  9972. unserializeObject: function(R) {
  9973. for (;;) {
  9974. if (b4o6.x67(this.pos, this.length)) throw "Invalid object";
  9975. if (b4o6.s67(103, this.buf.charCodeAt(this.pos))) break;
  9976. var c = this.unserialize();
  9977. if ("string" != typeof c) throw "Invalid object key";
  9978. var g = this.unserialize();
  9979. R[c] = g;
  9980. }
  9981. this.pos++;
  9982. },
  9983. unserializeEnum: function(R, c) {
  9984. if (b4o6.Q67(58, this.get(this.pos++))) throw "Invalid enum format";
  9985. var g = this.readDigits();
  9986. if (b4o6.R07(0, g)) return b4.createEnum(R, c);
  9987. for (var F = []; b4o6.F07(0, g--);) F.push(this.unserialize());
  9988. return b4.createEnum(R, c, F);
  9989. },
  9990. unserialize: function() {
  9991. switch (this.get(this.pos++)) {
  9992. case 110:
  9993. return null;
  9994. case 116:
  9995. return !0;
  9996. case 102:
  9997. return !1;
  9998. case 122:
  9999. return 0;
  10000. case 105:
  10001. return this.readDigits();
  10002. case 100:
  10003. for (var R = this.pos;;) {
  10004. var c = this.buf.charCodeAt(this.pos);
  10005. if (b4o6.C07(43, c) && b4o6.I07(58, c) || b4o6.b07(101, c) || b4o6.T07(69, c)) this.pos++;
  10006. else break;
  10007. }
  10008. return n.parseFloat(U.substr(this.buf, R, b4o6.H07(this.pos, R)));
  10009. case 121:
  10010. R = this.readDigits();
  10011. if (b4o6.t07(58, this.get(this.pos++)) || b4o6.o07(this.length - this.pos, R)) throw "Invalid string length";
  10012. c = U.substr(this.buf, this.pos, R);
  10013. this.pos += R;
  10014. c = decodeURIComponent(c.split("+").join(" "));
  10015. this.scache.push(c);
  10016. return c;
  10017. case 107:
  10018. return Math.NaN;
  10019. case 109:
  10020. return Math.NEGATIVE_INFINITY;
  10021. case 112:
  10022. return Math.POSITIVE_INFINITY;
  10023. case 97:
  10024. R = [];
  10025. for (this.cache.push(R);;) {
  10026. c = this.buf.charCodeAt(this.pos);
  10027. if (b4o6.J07(104, c)) {
  10028. this.pos++;
  10029. break;
  10030. }
  10031. b4o6.D07(117, c) ? (this.pos++, c = this.readDigits(), R[R.length + c - 1] = null) : R.push(this.unserialize());
  10032. }
  10033. return R;
  10034. case 111:
  10035. return R = {}, this.cache.push(R), this.unserializeObject(R), R;
  10036. case 114:
  10037. R = this.readDigits();
  10038. if (b4o6.W07(0, R) || b4o6.P07(R, this.cache.length)) throw "Invalid reference";
  10039. return this.cache[R];
  10040. case 82:
  10041. R = this.readDigits();
  10042. if (b4o6.M07(0, R) || b4o6.U07(R, this.scache.length)) throw "Invalid string reference";
  10043. return this.scache[R];
  10044. case 120:
  10045. throw this.unserialize();
  10046. case 99:
  10047. R = this.unserialize();
  10048. c = this.resolver.resolveClass(R);
  10049. if (b4o6.z07(null, c)) throw "Class not found " + R;
  10050. R = b4.createEmptyInstance(c);
  10051. this.cache.push(R);
  10052. this.unserializeObject(R);
  10053. return R;
  10054. case 119:
  10055. R = this.unserialize();
  10056. c = this.resolver.resolveEnum(R);
  10057. if (b4o6.L07(null, c)) throw "Enum not found " + R;
  10058. R = this.unserializeEnum(c, this.unserialize());
  10059. this.cache.push(R);
  10060. return R;
  10061. case 106:
  10062. R = this.unserialize();
  10063. c = this.resolver.resolveEnum(R);
  10064. if (b4o6.j07(null, c)) throw "Enum not found " + R;
  10065. this.pos++;
  10066. var g = this.readDigits(),
  10067. F = b4.getEnumConstructs(c)[g];
  10068. if (b4o6.g37(null, F)) throw "Unknown enum index " + R + "@" + g;
  10069. R = this.unserializeEnum(c, F);
  10070. this.cache.push(R);
  10071. return R;
  10072. case 108:
  10073. R = new $a;
  10074. for (this.cache.push(R); b4o6.d37(104, this.buf.charCodeAt(this.pos));) R.add(this.unserialize());
  10075. this.pos++;
  10076. return R;
  10077. case 98:
  10078. R = new h4;
  10079. for (this.cache.push(R); b4o6.O37(104, this.buf.charCodeAt(this.pos));) c = this.unserialize(), R.set(c, this.unserialize());
  10080. this.pos++;
  10081. return R;
  10082. case 113:
  10083. R = new p4;
  10084. this.cache.push(R);
  10085. for (c = this.get(this.pos++); b4o6.G37(58, c);) c = this.readDigits(), R.set(c, this.unserialize()), c = this.get(this.pos++);
  10086. if (b4o6.S37(104, c)) throw "Invalid IntMap format";
  10087. return R;
  10088. case 77:
  10089. R = new e5;
  10090. for (this.cache.push(R); b4o6.V37(104, this.buf.charCodeAt(this.pos));) c = this.unserialize(), R.set(c, this.unserialize());
  10091. this.pos++;
  10092. return R;
  10093. case 118:
  10094. return R = U.substr(this.buf, this.pos, 19), R = U.strDate(R), this.cache.push(R), this.pos += 19, R;
  10095. case 115:
  10096. R = this.readDigits();
  10097. F = this.buf;
  10098. if (b4o6.q37(58, this.get(this.pos++)) || b4o6.u37(this.length - this.pos, R)) throw "Invalid bytes length";
  10099. var p = B4.CODES;
  10100. b4o6.w37(null, p) && (p = B4.initCodes(), B4.CODES = p);
  10101. for (var d = this.pos, C = b4o6.N37(R, 3), O = d + (b4o6.X37(R, C)), c = R8.alloc(b4o6.E37(3, (R >> 2)) + (b4o6.K37(2, C) ? b4o6.Z37(C, 1) : 0)), g = 0; b4o6.h37(d, O);) {
  10102. var a = p[b9.fastCodeAt(F, d++)],
  10103. S = p[b9.fastCodeAt(F, d++)];
  10104. c.set(g++, b4o6.n37(a << 2, S >> 4));
  10105. a = p[b9.fastCodeAt(F, d++)];
  10106. c.set(g++, b4o6.f37(S << 4, a >> 2));
  10107. S = p[b9.fastCodeAt(F, d++)];
  10108. c.set(g++, b4o6.c17(a << 6, S));
  10109. }
  10110. b4o6.p17(2, C) && (S = p[b9.fastCodeAt(F, d++)], O = p[b9.fastCodeAt(F, d++)], c.set(g++, b4o6.m17(S << 2, O >> 4)), b4o6.a17(3, C) && (F = p[b9.fastCodeAt(F, d++)], c.set(g++, b4o6.y17(O << 4, F >> 2))));
  10111. this.pos += R;
  10112. this.cache.push(c);
  10113. return c;
  10114. case 67:
  10115. R = this.unserialize();
  10116. c = this.resolver.resolveClass(R);
  10117. if (b4o6.v17(null, c)) throw "Class not found " + R;
  10118. R = b4.createEmptyInstance(c);
  10119. this.cache.push(R);
  10120. R.hxUnserialize(this);
  10121. if (b4o6.A17(103, this.get(this.pos++))) throw "Invalid custom data";
  10122. return R;
  10123. }
  10124. this.pos--;
  10125. throw "Invalid char " + this.buf.charAt(this.pos) + " at position " + this.pos;
  10126. },
  10127. __class__: B4
  10128. };
  10129. f6(p4);
  10130. R6a();
  10131. y0a();
  10132. p4.prototype = {
  10133. set: function(R, c) {
  10134. this.h[R] = c;
  10135. },
  10136. get: function(R) {
  10137. return this.h[R];
  10138. },
  10139. exists: function(R) {
  10140. return this.h.hasOwnProperty(R);
  10141. },
  10142. remove: function(R) {
  10143. if (!this.h.hasOwnProperty(R)) return !1;
  10144. delete this.h[R];
  10145. return !0;
  10146. },
  10147. keys: function() {
  10148. var R = [],
  10149. c;
  10150. for (c in this.h) this.h.hasOwnProperty(c) && R.push(b4o6.e17(c, 0));
  10151. return U.iter(R);
  10152. },
  10153. __class__: p4
  10154. };
  10155. j2(e5);
  10156. c7();
  10157. P3();
  10158. e5.prototype = {
  10159. set: function(R, c) {
  10160. var g = R.__id__ || (R.__id__ = ++e5.count);
  10161. this.h[g] = c;
  10162. this.h.__keys__[g] = R;
  10163. },
  10164. keys: function() {
  10165. var R = [],
  10166. c;
  10167. for (c in this.h.__keys__) this.h.hasOwnProperty(c) && R.push(this.h.__keys__[c]);
  10168. return U.iter(R);
  10169. },
  10170. __class__: e5
  10171. };
  10172. s9a(h4);
  10173. N1();
  10174. O9a();
  10175. h4.prototype = {
  10176. set: function(R, c) {
  10177. this.h["$" + R] = c;
  10178. },
  10179. get: function(R) {
  10180. return this.h["$" + R];
  10181. },
  10182. exists: function(R) {
  10183. return this.h.hasOwnProperty("$" + R);
  10184. },
  10185. keys: function() {
  10186. var R = [],
  10187. c;
  10188. for (c in this.h) this.h.hasOwnProperty(c) && R.push(c.substr(1));
  10189. return U.iter(R);
  10190. },
  10191. iterator: function() {
  10192. return {
  10193. ref: this.h,
  10194. it: this.keys(),
  10195. hasNext: function() {
  10196. return this.it.hasNext();
  10197. },
  10198. next: function() {
  10199. return this.ref["$" + this.it.next()];
  10200. }
  10201. };
  10202. },
  10203. __class__: h4
  10204. };
  10205. J6a(R8);
  10206. f1();
  10207. R8.alloc = function(R) {
  10208. for (var c = [], g = 0; b4o6.k17(g, R);) g++, c.push(0);
  10209. return new R8(R, c);
  10210. };
  10211. R8.prototype = {
  10212. get: function(R) {
  10213. return this.b[R];
  10214. },
  10215. set: function(R, c) {
  10216. this.b[R] = b4o6.r17(c, 255);
  10217. },
  10218. __class__: R8
  10219. };
  10220. r1(u0);
  10221. V3();
  10222. u0.prototype = {
  10223. toString: function() {
  10224. return "Eof";
  10225. },
  10226. __class__: u0
  10227. };
  10228. j4a(n9);
  10229. k2();
  10230. n9.getType = function(R) {
  10231. R = R.__meta__;
  10232. return b4o6.B17(null, R) || b4o6.Y17(null, R.obj) ? {} : R.obj;
  10233. };
  10234. e3(h9);
  10235. I6a();
  10236. q4a(w);
  10237. h9.prototype = K(w.prototype, {
  10238. get_name: function() {
  10239. return "Background_14";
  10240. },
  10241. onAdded: function() {
  10242. this._sprite = new J;
  10243. this.owner.add(this._sprite);
  10244. for (var R = "Background_" + n.string(this._type), c = 0; b4o6.l17(4, c);)
  10245. for (var g = c++, F = 0; b4o6.i17(3, F);) {
  10246. var p = F++;
  10247. this.owner.addChild((new T).add((new E(G.Instance._pack.getTexture(R))).setScale(2).setXY(b4o6.x17(510, p), b4o6.s17(510, g))));
  10248. }
  10249. },
  10250. onUpdate: function(R) {
  10251. var c = this._sprite.x;
  10252. c.set__(b4o6.Q17(c._value, 100 * R));
  10253. c = this._sprite.y;
  10254. c.set__(b4o6.R27(c._value, 100 * R)); - 510 >= this._sprite.x._value && this._sprite.x.set__(0); - 510 >= this._sprite.y._value && this._sprite.y.set__(0);
  10255. },
  10256. __class__: h9
  10257. });
  10258. t5(G);
  10259. v7a();
  10260. G.getTexture = function(R) {
  10261. return G.Instance._pack.getTexture(R);
  10262. };
  10263. G.getStageState = function(R) {
  10264. return G.Instance._stageState[R];
  10265. };
  10266. G.setStageState = function(R, c) {
  10267. b4o6.J27(G.Instance._stageState[R], c) && (G.Instance._stageState[R] = c, G.Instance.saveStageState());
  10268. };
  10269. G.playSound = function(R) {
  10270. b4o6.D27(0, G.Instance._soundOption) && G.Instance._sounds[R].play();
  10271. };
  10272. G.getLevelData = function(R) {
  10273. return G.Instance._levelDatas.levels[R];
  10274. };
  10275. G.createButton = function(R) {
  10276. return (new x4(null)).initTexture(G.Instance._buttonTextures[b4o6.W27(2, R)], G.Instance._buttonTextures[b4o6.P27(2, R)], G.Instance._buttonTextures[b4o6.M27(2, R) + 1]);
  10277. };
  10278. G.getString = function(R) {
  10279. return G.Instance._currentLanguageData[R];
  10280. };
  10281. G.prototype = {
  10282. enterTitleScene: function() {
  10283. this._director.get_topScene().addChild((new T).add(new E9(0, 0)));
  10284. },
  10285. enterStageScene: function() {
  10286. this._director.get_topScene().addChild((new T).add(new E9(1, 0)));
  10287. },
  10288. enterPlayScene: function(R) {
  10289. this._director.get_topScene().addChild((new T).add(new E9(2, R)));
  10290. },
  10291. enterTitleScene_impl: function() {
  10292. this._director.unwindToScene(e0.create());
  10293. this._director.get_topScene().addChild((new T).add(new E9(-1, 0)));
  10294. d4.Instance = null;
  10295. },
  10296. enterStageScene_impl: function() {
  10297. this._director.unwindToScene(a0.create());
  10298. this._director.get_topScene().addChild((new T).add(new E9(-1, 0)));
  10299. d4.Instance = null;
  10300. },
  10301. enterPlayScene_impl: function(R) {
  10302. this._director.unwindToScene(A0.create(R));
  10303. this._director.get_topScene().addChild((new T).add(new E9(-1, 0)));
  10304. },
  10305. showOrientationScene: function() {
  10306. var R;
  10307. this._director.get_topScene();
  10308. R = this._director.get_topScene().getComponent("ResponsiveScene_2");
  10309. b4o6.U27(null, R) && b4o6.z27(960, R._targetWidth) && (this.lastScene = this._director.get_topScene(), this._director.pushScene(v0.create()));
  10310. },
  10311. hideOrientationScene: function() {
  10312. var R;
  10313. this._director.get_topScene();
  10314. R = this._director.get_topScene().getComponent("ResponsiveScene_2");
  10315. b4o6.L27(null, R) && b4o6.j27(640, R._targetWidth) && this._director.pushScene(this.lastScene);
  10316. },
  10317. onResize: function() {
  10318. b4o6.g4K(e._platform.getStage().get_width(), e._platform.getStage().get_height()) ? this.showOrientationScene() : this.hideOrientationScene();
  10319. },
  10320. saveStageState: function() {
  10321. for (var R = 0, c = F4.StagePageCount; b4o6.d4K(R, c);) {
  10322. for (var g = R++, F = "StageState_" + g, p = "", d = 0; b4o6.O4K(30, d);) var C = d++,
  10323. p = p + n.string(this._stageState[b4o6.G4K(30, g) + C + 1]);
  10324. e._platform.getStorage().set(F, p);
  10325. }
  10326. },
  10327. saveLastStage: function(R) {
  10328. this._lastPlayedStage = R;
  10329. e._platform.getStorage().set("LastStage", this._lastPlayedStage);
  10330. },
  10331. saveSoundOption: function(R) {
  10332. this._soundOption = R;
  10333. e._platform.getStorage().set("Sound", this._soundOption);
  10334. },
  10335. getTileTexture: function(R, c, g) {
  10336. return b4o6.S4K(0, R) ? this._tileTextures[0] : !0 == c ? this._tileTextures[R] : !0 == g ? this._tileTextures[14 + R] : this._tileTextures[7 + R];
  10337. },
  10338. __class__: G
  10339. };
  10340. l7a(g9);
  10341. H0a();
  10342. g9.main = function() {
  10343. e.init();
  10344. g9._director = new I9;
  10345. e.root.add(g9._director);
  10346. var R = O4.fromAssets("bootstrap");
  10347. e._platform.loadAssetPack(R).get(g9.onSuccessPreload);
  10348. };
  10349. g9.onSuccessPreload = function(R) {
  10350. g9._bootstrapResources = R;
  10351. var c = O4.fromAssets("game"),
  10352. c = e._platform.loadAssetPack(c);
  10353. c.get(g9.onSuccessLoad);
  10354. R = y0.create(R, c);
  10355. g9._director.unwindToScene(R);
  10356. };
  10357. g9.onSuccessLoad = function(R) {
  10358. (new G(R, g9._director)).enterTitleScene_impl();
  10359. g9._bootstrapResources.dispose();
  10360. };
  10361. var i9 = I["hexcon.PopupIconType"] = {
  10362. __ename__: ["hexcon", "PopupIconType"],
  10363. __constructs__: ["Clear", "Warning"]
  10364. };
  10365. D5a();
  10366. y2(u);
  10367. h4a(i9);
  10368. r6a();
  10369. q2(u);
  10370. c9(i9);
  10371. var M = I["hexcon.PopupButtonType"] = {
  10372. __ename__: ["hexcon", "PopupButtonType"],
  10373. __constructs__: "None,Prev,Next,OK,Cancel,Restart,Exit".split(",")
  10374. };
  10375. C4a();
  10376. Q2(u);
  10377. V7a(M);
  10378. N5a();
  10379. J3(u);
  10380. T4(M);
  10381. B2();
  10382. I7a(u);
  10383. o6a(M);
  10384. p7();
  10385. Z6a(u);
  10386. f8a(M);
  10387. u3();
  10388. S8a(u);
  10389. r0(M);
  10390. S7a();
  10391. z9a(u);
  10392. a4a(M);
  10393. G7();
  10394. k8a(u);
  10395. o8a(M);
  10396. B8a(F8);
  10397. L3();
  10398. q6(w);
  10399. F8.prototype = K(w.prototype, {
  10400. get_name: function() {
  10401. return "Popup_8";
  10402. },
  10403. onAdded: function() {
  10404. var R = this;
  10405. this._backEntity = (new T).add((new y9(0, 640, 960)).setAlpha(0.7));
  10406. this.owner.addChild(this._backEntity);
  10407. this._popupEntity = (new T).add((new E(G.Instance._pack.getTexture("UI/Panel_Popup"))).centerAnchor().setXY(960, 480));
  10408. this.owner.addChild(this._popupEntity);
  10409. var c = "UI/Icon_Clear";
  10410. switch (this._iconType[1]) {
  10411. case 0:
  10412. c = "UI/Icon_Clear";
  10413. break;
  10414. case 1:
  10415. c = "UI/Icon_Warning";
  10416. }
  10417. this._titleEntity = (new T).add((new J).setXY(640, 0));
  10418. this._titleEntity.addChild((new T).add((new E(G.Instance._pack.getTexture(c))).centerAnchor().setXY(60, 40)));
  10419. this._titleEntity.addChild((new T).add((new q4(G.Instance._fontB, this._title)).setAlign(g4.Left).setXY(100, 17)));
  10420. this._popupEntity.addChild(this._titleEntity);
  10421. this._contentEntity = (new T).add((new J).setXY(640, 0));
  10422. this._contentEntity.addChild((new T).add((new q4(G.Instance._fontB, this._message)).setAlign(g4.Center).setXY(320, 90)));
  10423. this._popupEntity.addChild(this._contentEntity);
  10424. this._buttonEntity = (new T).add((new J).setXY(640, 0));
  10425. this._buttons = [];
  10426. for (var g = c = 0, F = this._buttonType; b4o6.w4K(g, F.length);) {
  10427. var p = F[g];
  10428. ++g;
  10429. var d = 0;
  10430. switch (p[1]) {
  10431. case 1:
  10432. d = 0;
  10433. break;
  10434. case 2:
  10435. d = 1;
  10436. break;
  10437. case 3:
  10438. d = 6;
  10439. break;
  10440. case 4:
  10441. d = 3;
  10442. break;
  10443. case 0:
  10444. d = 6;
  10445. break;
  10446. case 5:
  10447. d = 8;
  10448. break;
  10449. case 6:
  10450. d = 4;
  10451. }
  10452. p = G.createButton(d);
  10453. this._buttons.push(p);
  10454. this._buttonEntity.addChild((new T).add(p));
  10455. p.setXY(b4o6.N4K(580, 100 * c), 221);
  10456. c++;
  10457. }
  10458. c = G.createButton(7);
  10459. this._buttonEntity.addChild((new T).add(c));
  10460. c.setXY(60, 221);
  10461. c.connectOnClick(function() {
  10462. SG.redirectToPortal();
  10463. });
  10464. this._popupEntity.addChild(this._buttonEntity);
  10465. c = new R5;
  10466. this.owner.add(c);
  10467. c.run(new p5([new w4(function() {
  10468. R._popupEntity._compMap.Sprite_1.x.animateTo(320, 0.3, i4.expoOut);
  10469. }), new Z4(0.15), new w4(function() {
  10470. R._titleEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut);
  10471. }), new Z4(0.15), new w4(function() {
  10472. R._contentEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut);
  10473. }), new Z4(0.15), new w4(function() {
  10474. R._buttonEntity._compMap.Sprite_1.x.animateTo(0, 0.3, i4.expoOut);
  10475. })]));
  10476. G.playSound(2);
  10477. },
  10478. Hide: function() {
  10479. var R = this,
  10480. c = new R5;
  10481. this.owner.add(c);
  10482. c.run(new p5([new w4(function() {
  10483. R._buttonEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn);
  10484. }), new Z4(0.15), new w4(function() {
  10485. R._contentEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn);
  10486. }), new Z4(0.15), new w4(function() {
  10487. R._titleEntity._compMap.Sprite_1.x.animateTo(-640, 0.3, i4.expoIn);
  10488. }), new Z4(0.15), new w4(function() {
  10489. R._popupEntity._compMap.Sprite_1.x.animateTo(-960, 0.3, i4.expoIn);
  10490. }), new Z4(0.15), new w4(function() {
  10491. R._backEntity._compMap.Sprite_1.alpha.animateTo(0, 0.2);
  10492. }), new Z4(0.2), new w4(function() {
  10493. R.owner.dispose();
  10494. })]));
  10495. },
  10496. connectButtonEvent: function(R, c) {
  10497. this._buttons[R].connectOnClick(c);
  10498. },
  10499. __class__: F8
  10500. });
  10501. w9a(E9);
  10502. h0();
  10503. b1(w);
  10504. E9.prototype = K(w.prototype, {
  10505. get_name: function() {
  10506. return "Transition_15";
  10507. },
  10508. onAdded: function() {
  10509. var R = this;
  10510. if (-1 == this._sceneType) {
  10511. this._sprite = (new E(G.getTexture("UI/CutIn_1"))).setXY(0, 0);
  10512. this._sprite.x.animateTo(-640, 0.3, i4.expoIn);
  10513. this.owner.add(this._sprite);
  10514. var c = new R5;
  10515. this.owner.add(c);
  10516. c.run(new p5([new Z4(0.31), new w4(function() {
  10517. R.owner.dispose();
  10518. })]));
  10519. } else this._sprite = (new E(G.getTexture("UI/CutIn_1"))).setXY(640, 0), this._sprite.x.animateTo(0, 0.3, i4.expoOut), this.owner.add(this._sprite), c = new R5, this.owner.add(c), c.run(new p5([new Z4(0.31), new w4(function() {
  10520. b4o6.X4K(0, R._sceneType) && G.Instance.enterTitleScene_impl();
  10521. b4o6.E4K(1, R._sceneType) ? G.Instance.enterStageScene_impl() : b4o6.K4K(2, R._sceneType) && G.Instance.enterPlayScene_impl(R._stageType);
  10522. })]));
  10523. },
  10524. __class__: E9
  10525. });
  10526. V5a(Q7);
  10527. o0a();
  10528. O0a(w);
  10529. Q7.prototype = K(w.prototype, {
  10530. get_name: function() {
  10531. return "Animal_12";
  10532. },
  10533. onAdded: function() {
  10534. this._idleSprite = G.Instance._library.createSprite(n.string(this._animalIndex) + "_idle").setXY(this._x, this._y);
  10535. this.owner.addChild((new T).add(this._idleSprite));
  10536. this._danceSprite = G.Instance._library.createSprite(n.string(this._animalIndex) + "_dance").setXY(this._x, this._y);
  10537. this.owner.addChild((new T).add(this._danceSprite));
  10538. this._danceSprite.set_visible(!1);
  10539. },
  10540. onUpdate: function(R) {
  10541. !0 == (b4o6.Z4K(0, (this._danceSprite._flags & 2))) && (this._danceTime -= R, b4o6.h4K(0, this._danceTime) && (this._idleSprite.set_visible(!0), this._danceSprite.set_visible(!1)));
  10542. },
  10543. connected: function() {
  10544. this._danceTime = 1.5;
  10545. this._idleSprite.set_visible(!1);
  10546. this._danceSprite.set_visible(!0);
  10547. },
  10548. __class__: Q7
  10549. });
  10550. H2(F4);
  10551. m6();
  10552. v9a(d4);
  10553. I1();
  10554. u4a(w);
  10555. d4.prototype = K(w.prototype, {
  10556. get_name: function() {
  10557. return "GameManager_6";
  10558. },
  10559. get_isGameOver: function() {
  10560. return this._isGameOver;
  10561. },
  10562. get_minCol: function() {
  10563. return this._levelData.mincol;
  10564. },
  10565. get_moveCount: function() {
  10566. return this._moveCount;
  10567. },
  10568. onAdded: function() {
  10569. var F = this;
  10570. this.loadLevel(this._stageIndex);
  10571. this._tileLayer = new T;
  10572. this.owner.addChild(this._tileLayer);
  10573. this._tileList = [];
  10574. this._rowCount = this._levelData.size;
  10575. this._colCount -= 1;
  10576. for (var p = 0, d = this._rowCount; b4o6.n4K(p, d);) {
  10577. var C = p++,
  10578. O = [],
  10579. a;
  10580. a = b4o6.f4K(C, this._rowCount / 2) ? this._levelData.mincol + C : b4o6.c9K(this._levelData.mincol, 1, this._rowCount, C);
  10581. for (var S = 0; b4o6.C9K(S, a);) {
  10582. var v = S++,
  10583. t = new P4;
  10584. this._tileLayer.addChild((new T).add(t));
  10585. t.set_row(C);
  10586. t.set_col(v);
  10587. O.push(t);
  10588. }
  10589. this._tileList.push(O);
  10590. }
  10591. this._gridManager = new B9(this._levelData.mincol);
  10592. this._lineLayer = (new T).add(this._gridManager);
  10593. this.owner.addChild(this._lineLayer);
  10594. this.setFigure();
  10595. this._downSignal = e._platform.getPointer().down.connect(function(R) {
  10596. if (!0 != F._isGameOver) {
  10597. var c = F.touchXtoScreenX(R.viewX),
  10598. R = F.touchYtoScreenY(R.viewY),
  10599. g = F.findTileByPos(c, R);
  10600. if (b4o6.I9K(null, g) && b4o6.b9K(0, g.get_animal())) {
  10601. G.playSound(0);
  10602. F._pickedTile = g;
  10603. F.removeGridFromTile(F._pickedTile);
  10604. F._pickedTile.connect(null);
  10605. b4o6.T9K(null, F._pickedTile.targetTile) && (F.removeGridFromTile(F._pickedTile.targetTile), F._pickedTile.targetTile.connect(null), F._pickedTile.targetTile.set_isConnecting(!1));
  10606. F._pickedTile.set_isConnecting(!0);
  10607. for (g = F._pickedTile.getHead(); b4o6.H9K(null, g);) g.set_isConnecting(!0), g = g.connectedTile;
  10608. F._uiManager.showFocus(F._pickedTile.get_animal());
  10609. F._uiManager.moveFocus(c, R);
  10610. }!0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? F._uiManager.hideFillAllPopup() : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup();
  10611. }
  10612. });
  10613. this._moveSignal = e._platform.getPointer().move.connect(function(R) {
  10614. if (!0 != F._isGameOver) {
  10615. var c = F.touchXtoScreenX(R.viewX),
  10616. R = F.touchYtoScreenY(R.viewY),
  10617. g = F.findTileByPos(c, R);
  10618. if (b4o6.t9K(null, F._pickedTile) && b4o6.o9K(null, g))
  10619. if (!0 == P4.isTileConnected(F._pickedTile, g))
  10620. if (b4o6.J9K(0, g.get_animal())) {
  10621. if (b4o6.D9K(null, F._pickedTile.targetTile) || b4o6.W9K(null, F._pickedTile.reverseConnectedTile)) F._gridManager.setState(F._pickedTile.get_row(), F._pickedTile.get_col(), g.get_row(), g.get_col(), !0), F._pickedTile.connect(g), F._pickedTile = g, F._pickedTile.set_isConnecting(!0);
  10622. } else {
  10623. if (b4o6.P9K(g.get_animal(), F._pickedTile.get_animal()))
  10624. if (!1 == g.isChangable && !1 == g.equals(F._pickedTile.getHead())) b4o6.M9K(null, g.reverseConnectedTile) && (F._gridManager.setState(F._pickedTile.get_row(), F._pickedTile.get_col(), g.get_row(), g.get_col(), !0), F._pickedTile.connect(g), F._pickedTile = g);
  10625. else {
  10626. F._pickedTile = g;
  10627. for (g = F._pickedTile; b4o6.U9K(null, g) && b4o6.z9K(null, g.connectedTile);) F._gridManager.setState(g.get_row(), g.get_col(), g.connectedTile.get_row(), g.connectedTile.get_col(), !1), g = g.connectedTile;
  10628. F._pickedTile.connect(null);
  10629. }
  10630. } else if (b4o6.L9K(g.get_animal(), F._pickedTile.get_animal()) && !1 == g.equals(F._pickedTile) && b4o6.j9K(null, g.connectedTile)) {
  10631. F._pickedTile = g;
  10632. for (g = F._pickedTile; b4o6.g5K(null, g) && b4o6.d5K(null, g.connectedTile);) F._gridManager.setState(g.get_row(), g.get_col(), g.connectedTile.get_row(), g.connectedTile.get_col(), !1), g = g.connectedTile;
  10633. F._pickedTile.connect(null);
  10634. }
  10635. F._uiManager.moveFocus(c, R);
  10636. !0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? F._uiManager.hideFillAllPopup() : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup();
  10637. }
  10638. });
  10639. this._upSignal = e._platform.getPointer().up.connect(function() {
  10640. var R = !1;
  10641. if (!0 != F._isGameOver) {
  10642. if (b4o6.O5K(null, F._pickedTile)) {
  10643. var c = F._pickedTile.getHead();
  10644. b4o6.G5K(null, F._pickedTile.animalSprite) && b4o6.S5K(null, c) && b4o6.V5K(null, c.animalSprite) && (R = !0, F._pickedTile.animalSprite.connected(), c.animalSprite.connected());
  10645. for (; b4o6.q5K(null, c);) c.set_isConnecting(!1), c = c.connectedTile;
  10646. F._moveCount++;
  10647. }
  10648. F._pickedTile = null;
  10649. F._uiManager.hideFocus();
  10650. !0 == F.checkConnectedAll() ? !0 == F.checkFillAll() ? (F._isGameOver = !0, F._uiManager.showClearPopup(F._moveCount, F.perfectMoveCount), F.danceAll(), b4o6.u5K(F._moveCount, F.perfectMoveCount) ? G.setStageState(F._stageIndex, 2) : G.setStageState(F._stageIndex, 1), F._uiManager.hideFillAllPopup(), e._platform.getExternal().call("SG_Hooks.levelUp", [F._stageIndex, F._moveCount])) : F._uiManager.showFillAllPopup() : F._uiManager.hideFillAllPopup();
  10651. !0 == R && !1 == F._isGameOver && G.playSound(1);
  10652. }
  10653. });
  10654. this._uiLayer = new T;
  10655. this._uiManager = new w7(this._stageIndex + 1);
  10656. this.owner.addChild(this._uiLayer.add(this._uiManager));
  10657. e._platform.getExternal().call("SG_Hooks.start");
  10658. },
  10659. onRemoved: function() {
  10660. e._platform.getPointer().down.disconnect(this._downSignal);
  10661. e._platform.getPointer().move.disconnect(this._moveSignal);
  10662. e._platform.getPointer().up.disconnect(this._upSignal);
  10663. },
  10664. loadLevel: function(R) {
  10665. this._levelData = G.getLevelData(R);
  10666. },
  10667. setFigure: function() {
  10668. this._figureLayer = new T;
  10669. this._figureList = [];
  10670. this.owner.addChild(this._figureLayer);
  10671. for (var R = [], c = 0; b4o6.w5K(10, c);) c++, R.push(null);
  10672. for (var c = 0, g = this._levelData.figure; b4o6.N5K(c, g.length);) {
  10673. var F = g[c];
  10674. ++c;
  10675. var p = this._tileList[F[0]][F[1]],
  10676. d = p.get_borderPosition();
  10677. p.animalSprite = new Q7(F[2], d.get_x(), d.get_y());
  10678. this.owner.addChild((new T).add(p.animalSprite));
  10679. p.set_animal(F[2]);
  10680. p.isChangable = !1;
  10681. this._figureList.push(p);
  10682. b4o6.X5K(null, R[F[2]]) ? R[F[2]] = p : (p.targetTile = R[F[2]], R[F[2]].targetTile = p);
  10683. }
  10684. this.perfectMoveCount = b4o6.E5K(this._figureList.length / 2, 0);
  10685. },
  10686. findTileByPos: function(R, c) {
  10687. for (var g = null, F = 1E6, p = new Y9(R, c), d = 0, C = this._tileList; b4o6.K5K(d, C.length);) {
  10688. var O = C[d];
  10689. ++d;
  10690. for (var a = 0; b4o6.Z5K(a, O.length);) {
  10691. var S = O[a];
  10692. ++a;
  10693. var v = Y9.Distance(p, S.get_borderPosition());
  10694. b4o6.h5K(40, v) && b4o6.n5K(v, F) && (F = v, g = S);
  10695. }
  10696. }
  10697. return g;
  10698. },
  10699. removeGridFromTile: function(R) {
  10700. for (; b4o6.f5K(null, R) && b4o6.c8K(null, R.connectedTile);) this._gridManager.setState(R.get_row(), R.get_col(), R.connectedTile.get_row(), R.connectedTile.get_col(), !1), R = R.connectedTile;
  10701. },
  10702. checkFillAll: function() {
  10703. for (var R = 0, c = this._tileList; b4o6.p8K(R, c.length);) {
  10704. var g = c[R];
  10705. ++R;
  10706. for (var F = 0; b4o6.m8K(F, g.length);) {
  10707. var p = g[F];
  10708. ++F;
  10709. if (b4o6.a8K(0, p.get_animal())) return !1;
  10710. }
  10711. }
  10712. return !0;
  10713. },
  10714. checkConnectedAll: function() {
  10715. for (var R = 0, c = this._tileList; b4o6.y8K(R, c.length);) {
  10716. var g = c[R];
  10717. ++R;
  10718. for (var F = 0; b4o6.v8K(F, g.length);) {
  10719. var p = g[F];
  10720. ++F;
  10721. if (b4o6.A8K(null, p.targetTile)) {
  10722. var d = p.getHead(),
  10723. C = p.getTail();
  10724. if (!1 == p.targetTile.equals(d) && !1 == p.targetTile.equals(C)) return !1;
  10725. }
  10726. }
  10727. }
  10728. return !0;
  10729. },
  10730. onUpdate: function(R) {
  10731. this._playTime += R;
  10732. },
  10733. touchXtoScreenX: function(R) {
  10734. var c = b4o6.e8K(640, s4.min(e._platform.getStage().get_width() / 640, e._platform.getStage().get_height() / 960)),
  10735. g = b4o6.k8K((e._platform.getStage().get_width() - c), 2);
  10736. return b4o6.r8K(640, ((R - g) / c));
  10737. },
  10738. touchYtoScreenY: function(R) {
  10739. var c = b4o6.B8K(960, s4.min(e._platform.getStage().get_width() / 640, e._platform.getStage().get_height() / 960)),
  10740. g = b4o6.Y8K((e._platform.getStage().get_height() - c), 2);
  10741. return b4o6.l8K(960, ((R - g) / c));
  10742. },
  10743. danceAll: function() {
  10744. G.playSound(3);
  10745. for (var R = 0, c = this._tileList; b4o6.i8K(R, c.length);) {
  10746. var g = c[R];
  10747. ++R;
  10748. for (var F = 0; b4o6.x8K(F, g.length);) {
  10749. var p = g[F];
  10750. ++F;
  10751. b4o6.s8K(null, p.animalSprite) && p.animalSprite.connected();
  10752. }
  10753. }
  10754. },
  10755. __class__: d4
  10756. });
  10757. p2(w7);
  10758. O7a();
  10759. A4(w);
  10760. w7.prototype = K(w.prototype, {
  10761. get_name: function() {
  10762. return "GameUIManager_7";
  10763. },
  10764. onAdded: function() {
  10765. var R = this;
  10766. this._focusSprite = new E(G.Instance._pack.getTexture("UI/Highlight_1"));
  10767. this._focusSprite.set_visible(!1);
  10768. this._focusSprite.setAlpha(0.5).centerAnchor().setScale(1.5);
  10769. this.owner.addChild((new T).add(this._focusSprite));
  10770. this.owner.addChild((new T).add(new E(G.Instance._pack.getTexture("UI/Waku"))));
  10771. this.owner.addChild((new T).add((new q4(G.Instance._fontB, n.string(b4o6.Q8K(this._nextStage, 1)))).setAlign(g4.Center).setXY(320, 10).setScale(1.2)));
  10772. this._timeLabel = (new q4(G.Instance._font, n.string(d4.Instance.get_moveCount()))).setAlign(g4.Left);
  10773. this._timeLabel.setXY(105, 882);
  10774. this.owner.addChild((new T).add(this._timeLabel));
  10775. var c = G.createButton(4);
  10776. this.owner.addChild((new T).add(c));
  10777. c.setXY(480, 906);
  10778. c.connectOnClick(function() {
  10779. R.showExitPopup();
  10780. });
  10781. c = G.createButton(8);
  10782. this.owner.addChild((new T).add(c));
  10783. c.setXY(580, 906);
  10784. c.connectOnClick(function() {
  10785. R.showRestartPopup();
  10786. });
  10787. b4o6.R7K(2, this._nextStage) ? (this.owner.addChild((new T).add((new E(G.getTexture("Tutorial1"))).centerAnchor().setXY(320, 320))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(8))).setAlign(g4.Center).setXY(210, 236))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(9))).setAlign(g4.Center).setXY(430, 236)))) : b4o6.F7K(3, this._nextStage) && (this.owner.addChild((new T).add((new E(G.getTexture("Tutorial1"))).centerAnchor().setXY(320, 240))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(8))).setAlign(g4.Center).setXY(210, 156))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(9))).setAlign(g4.Center).setXY(430, 156))), this.owner.addChild((new T).add((new E(G.getTexture("Tutorial2"))).centerAnchor().setXY(320, 720))), this.owner.addChild((new T).add((new q4(G.Instance._font, G.getString(10))).setAlign(g4.Center).setXY(320, 686))));
  10788. },
  10789. showClearPopup: function(g, F) {
  10790. var p = this,
  10791. d = new R5;
  10792. this.owner.add(d);
  10793. d.run(new p5([new Z4(1), new w4(function() {
  10794. var R = "",
  10795. R = b4o6.C7K(g, F) ? G.getString(0) + " (" + g + "/" + F + ")" : G.getString(1) + " (" + g + "/" + F + ")",
  10796. c = b4o6.I7K(p._nextStage, 25 * F4.StagePageCount),
  10797. R = new F8(i9.Clear, M.Exit, M.Restart, !0 == c ? M.None : M.Next, G.getString(2), R);
  10798. p.owner.addChild((new T).add(R));
  10799. !0 == c ? (R.connectButtonEvent(1, function() {
  10800. G.Instance.enterStageScene();
  10801. }), R.connectButtonEvent(0, function() {
  10802. G.Instance.enterPlayScene(b4o6.b7K(p._nextStage, 1));
  10803. })) : (R.connectButtonEvent(2, function() {
  10804. G.Instance.enterStageScene();
  10805. }), R.connectButtonEvent(1, function() {
  10806. G.Instance.enterPlayScene(b4o6.T7K(p._nextStage, 1));
  10807. }), R.connectButtonEvent(0, function() {
  10808. G.Instance.enterPlayScene(p._nextStage);
  10809. }));
  10810. })]));
  10811. },
  10812. showRestartPopup: function() {
  10813. var R = this;
  10814. if (!0 != d4.Instance.get_isGameOver()) {
  10815. var c = new F8(i9.Warning, M.Cancel, M.OK, M.None, G.getString(3), G.getString(5));
  10816. this.owner.addChild((new T).add(c));
  10817. c.connectButtonEvent(1, function() {
  10818. c.Hide();
  10819. });
  10820. c.connectButtonEvent(0, function() {
  10821. G.Instance.enterPlayScene(b4o6.H7K(R._nextStage, 1));
  10822. });
  10823. }
  10824. },
  10825. showExitPopup: function() {
  10826. if (!0 != d4.Instance.get_isGameOver()) {
  10827. var R = new F8(i9.Warning, M.Cancel, M.OK, M.None, G.getString(4), G.getString(5));
  10828. this.owner.addChild((new T).add(R));
  10829. R.connectButtonEvent(1, function() {
  10830. R.Hide();
  10831. });
  10832. R.connectButtonEvent(0, function() {
  10833. G.Instance.enterStageScene();
  10834. });
  10835. }
  10836. },
  10837. onUpdate: function() {
  10838. b4o6.t7K(null, d4.Instance) && this._timeLabel.set_text(n.string(d4.Instance.get_moveCount()) + "/" + n.string(d4.Instance.perfectMoveCount));
  10839. },
  10840. showFocus: function(R) {
  10841. this._focusSprite.set_visible(!0);
  10842. this._focusSprite.texture = G.getTexture("UI/Highlight_" + R);
  10843. },
  10844. moveFocus: function(R, c) {
  10845. this._focusSprite.setXY(R, c);
  10846. },
  10847. hideFocus: function() {
  10848. this._focusSprite.set_visible(!1);
  10849. },
  10850. showFillAllPopup: function() {
  10851. b4o6.o7K(null, this._fillAllPopup) || b4o6.J7K(3, this._nextStage) || (this._fillAllPopup = new T, this.owner.addChild(this._fillAllPopup), this._fillAllPopup.addChild((new T).add((new y9(0, 640, 70)).setAlpha(0.7).setXY(0, 760))), this._fillAllPopup.addChild((new T).add((new q4(G.Instance._font, G.getString(6))).setAlign(g4.Center).setXY(320, 770))));
  10852. },
  10853. hideFillAllPopup: function() {
  10854. b4o6.D7K(null, this._fillAllPopup) && (this._fillAllPopup.dispose(), this._fillAllPopup = null);
  10855. },
  10856. __class__: w7
  10857. });
  10858. G4a(B9);
  10859. c7a();
  10860. L5a(w);
  10861. B9.prototype = K(w.prototype, {
  10862. get_name: function() {
  10863. return "GridManager_10";
  10864. },
  10865. addGrid: function(R, c, g) {
  10866. b4o6.W7K(null, this._gridList) && (this._gridList = new p4);
  10867. !1 == this._gridList.exists(R) && this._gridList.set(R, new p4);
  10868. this._gridList.get(R).set(c, g);
  10869. },
  10870. onAdded: function() {
  10871. var R = d4.Instance._rowCount,
  10872. c = d4.Instance._tileList;
  10873. this._gridList = new p4;
  10874. for (var g = 0; b4o6.P7K(g, R);)
  10875. for (var F = g++, p = 0, d = b4o6.M7K((F <= R / 2 ? this._minCol + F : this._minCol - 1 + R - F), 1); b4o6.U7K(p, d);) {
  10876. var C = p++,
  10877. O = c[F][C].get_borderPosition(),
  10878. a = c[F][C + 1].get_borderPosition(),
  10879. O = new Y9(b4o6.z7K((O.get_x() + a.get_x()), 2), b4o6.L7K((O.get_y() + a.get_y()), 2)),
  10880. a = new E(G.Instance._pack.getTexture("Line_46"));
  10881. a.centerAnchor().setXY(O.get_x(), O.get_y());
  10882. a.set_visible(!1);
  10883. this.owner.addChild((new T).add(a));
  10884. this.addGrid(F + F, C + C + 1, a);
  10885. }
  10886. g = 0;
  10887. for (F = b4o6.j7K(R / 2, 0); b4o6.g6K(g, F);) {
  10888. p = g++;
  10889. d = b4o6.d6K(p, R / 2) ? this._minCol + p : b4o6.O6K(this._minCol, 1, R, p);
  10890. for (C = 0; b4o6.y6K(C, d);) {
  10891. O = C++;
  10892. for (a = 0; b4o6.v6K(2, a);) {
  10893. var S = a++,
  10894. v = c[p][O].get_borderPosition(),
  10895. t = c[p + 1][O + S].get_borderPosition(),
  10896. v = new Y9(b4o6.A6K((v.get_x() + t.get_x()), 2), b4o6.e6K((v.get_y() + t.get_y()), 2)),
  10897. t = new E(G.Instance._pack.getTexture(b4o6.k6K(0, S) ? "Line_19" : "Line_37"));
  10898. t.centerAnchor().setXY(v.get_x(), v.get_y());
  10899. t.set_visible(!1);
  10900. this.owner.addChild((new T).add(t));
  10901. this.addGrid(p + p + 1, O + O + S, t);
  10902. }
  10903. }
  10904. }
  10905. g = 0;
  10906. for (F = b4o6.r6K(R / 2, 0); b4o6.B6K(g, F);) {
  10907. p = g++;
  10908. p = b4o6.Y6K(R, p, 1);
  10909. d = b4o6.K6K(p, R / 2) ? this._minCol + p : b4o6.Z6K(this._minCol, 1, R, p);
  10910. for (C = 0; b4o6.s6K(C, d);) {
  10911. O = C++;
  10912. for (a = 0; b4o6.Q6K(2, a);) S = a++, v = c[p][O].get_borderPosition(), t = c[b4o6.R0K(p, 1)][O + S].get_borderPosition(), v = new Y9(b4o6.F0K((v.get_x() + t.get_x()), 2), b4o6.C0K((v.get_y() + t.get_y()), 2)), t = new E(G.Instance._pack.getTexture(b4o6.I0K(0, S) ? "Line_37" : "Line_19")), t.centerAnchor().setXY(v.get_x(), v.get_y()), t.set_visible(!1), this.owner.addChild((new T).add(t)), this.addGrid(p + p - 1, O + O + S, t);
  10913. }
  10914. }
  10915. },
  10916. setState: function(R, c, g, F, p) {
  10917. !0 == this._gridList.exists(R + g) && (R = this._gridList.get(R + g), !0 == R.exists(c + F) && R.get(c + F).set_visible(p));
  10918. },
  10919. __class__: B9
  10920. });
  10921. var X = I["hexcon.gameplay.TileType"] = {
  10922. __ename__: ["hexcon", "gameplay", "TileType"],
  10923. __constructs__: "Empty,Type1,Type2,Type3,Type4,Type5,Type6,Type7,Type8".split(",")
  10924. };
  10925. w5a();
  10926. o8(u);
  10927. v2(X);
  10928. l5();
  10929. D9a(u);
  10930. Y4(X);
  10931. f0();
  10932. s7a(u);
  10933. Y7a(X);
  10934. Z2();
  10935. p4a(u);
  10936. a9a(X);
  10937. E5a();
  10938. O8a(u);
  10939. B0a(X);
  10940. p1();
  10941. V6a(u);
  10942. g0(X);
  10943. O1();
  10944. j3(u);
  10945. M4(X);
  10946. u9a();
  10947. s5(u);
  10948. U8a(X);
  10949. i8a();
  10950. Q9a(u);
  10951. f9a(X);
  10952. d6(P4);
  10953. d7a();
  10954. P4.isTileConnected = function(R, c) {
  10955. var g = R._row,
  10956. F;
  10957. F = R._col + (b4o6.b0K(g, d4.Instance._rowCount / 2) ? 0 : b4o6.T0K(R._row, (d4.Instance._rowCount / 2 | 0)));
  10958. var p = c._row,
  10959. d;
  10960. d = c._col + (b4o6.H0K(p, d4.Instance._rowCount / 2) ? 0 : b4o6.t0K(c._row, (d4.Instance._rowCount / 2 | 0)));
  10961. return b4o6.o0K(g - 1, p) && b4o6.J0K(F - 1, d) || b4o6.D0K(g - 1, p) && b4o6.W0K(F, d) || b4o6.P0K(g, p) && b4o6.M0K(F - 1, d) || b4o6.U0K(g, p) && b4o6.z0K(F + 1, d) || b4o6.L0K(g + 1, p) && b4o6.j0K(F, d) || b4o6.g3K(g + 1, p) && b4o6.d3K(F + 1, d) ? !0 : !1;
  10962. };
  10963. x5a(w);
  10964. P4.prototype = K(w.prototype, {
  10965. get_name: function() {
  10966. return "Tile_11";
  10967. },
  10968. get_col: function() {
  10969. return this._col;
  10970. },
  10971. set_col: function(R) {
  10972. this._col = R;
  10973. R = b4o6.O3K(this._col, (this._row <= d4.Instance._rowCount / 2 ? d4.Instance.get_minCol() + this._row : d4.Instance.get_minCol() - 1 + d4.Instance._rowCount - this._row) / 2, 0.5);
  10974. this._baseSprite.x.set__(F4.CenterX + b4o6.b3K(R, F4.ColSize));
  10975. return this._col;
  10976. },
  10977. get_row: function() {
  10978. return this._row;
  10979. },
  10980. set_row: function(R) {
  10981. this._row = R;
  10982. this._baseSprite.y.set__(F4.CenterY + b4o6.T3K((this._row - (d4.Instance._rowCount / 2 | 0)), F4.RowSize));
  10983. return this._row;
  10984. },
  10985. get_borderPosition: function() {
  10986. return new Y9(this._baseSprite.x._value, this._baseSprite.y._value);
  10987. },
  10988. get_isConnecting: function() {
  10989. return this._isConnecting;
  10990. },
  10991. set_isConnecting: function(R) {
  10992. this._isConnecting = R;
  10993. this.set_tileType(this._tileType);
  10994. return this._isConnecting;
  10995. },
  10996. get_animal: function() {
  10997. return this._animal;
  10998. },
  10999. set_animal: function(R) {
  11000. this._animal = R;
  11001. switch (R) {
  11002. case 1:
  11003. this.set_tileType(X.Type1);
  11004. break;
  11005. case 2:
  11006. this.set_tileType(X.Type2);
  11007. break;
  11008. case 3:
  11009. this.set_tileType(X.Type3);
  11010. break;
  11011. case 4:
  11012. this.set_tileType(X.Type4);
  11013. break;
  11014. case 5:
  11015. this.set_tileType(X.Type5);
  11016. break;
  11017. case 6:
  11018. this.set_tileType(X.Type6);
  11019. break;
  11020. case 7:
  11021. this.set_tileType(X.Type7);
  11022. break;
  11023. default:
  11024. this.set_tileType(X.Empty);
  11025. }
  11026. return this._animal;
  11027. },
  11028. set_tileType: function(R) {
  11029. this._tileType = R;
  11030. b4o6.H3K(null, this._baseSprite) && (this._baseSprite = new J, this._baseSprite.setAnchor(42, 42), this.owner.add(this._baseSprite));
  11031. b4o6.t3K(null, this._sprite) && (this._sprite = new E(G.Instance.getTileTexture(this.get_animal(), !1, !1)), this.owner.addChild((new T).add(this._sprite)));
  11032. !0 == this.isChangable && !0 == this.get_isConnecting() ? this._sprite.texture = G.Instance.getTileTexture(this.get_animal(), !0, !1) : (R = this.getTail(), this._sprite.texture = !1 == this.isChangable && b4o6.o3K(null, this.reverseConnectedTile) ? G.Instance.getTileTexture(this.get_animal(), !1, !0) : b4o6.J3K(null, R) || !0 == R.isChangable ? G.Instance.getTileTexture(this.get_animal(), !1, !1) : G.Instance.getTileTexture(this.get_animal(), !1, !0));
  11033. return this._tileType;
  11034. },
  11035. onAdded: function() {
  11036. this.set_tileType(X.Empty);
  11037. },
  11038. connect: function(R) {
  11039. b4o6.D3K(null, R) ? b4o6.W3K(null, this.connectedTile) && (!0 == this.connectedTile.isChangable && this.connectedTile.set_animal(0), this.connectedTile.connect(null), this.connectedTile = this.connectedTile.reverseConnectedTile = null) : (this.connectedTile = R, R.set_animal(this.get_animal()), R.reverseConnectedTile = this);
  11040. },
  11041. getTail: function() {
  11042. for (var R = this.connectedTile, c = null; b4o6.P3K(null, R);) c = R, R = R.connectedTile;
  11043. return c;
  11044. },
  11045. getHead: function() {
  11046. for (var R = this.reverseConnectedTile, c = null; b4o6.M3K(null, R);) c = R, R = R.reverseConnectedTile;
  11047. return c;
  11048. },
  11049. equals: function(R) {
  11050. return b4o6.U3K(null, R) ? !1 : b4o6.z3K(this.get_row(), R.get_row()) && b4o6.L3K(this.get_col(), R.get_col());
  11051. },
  11052. __class__: P4
  11053. });
  11054. E2(x4);
  11055. D5();
  11056. D4a(w);
  11057. x4.prototype = K(w.prototype, {
  11058. get_name: function() {
  11059. return "Button_13";
  11060. },
  11061. initString: function(R, c, g, F) {
  11062. this._normalTexture = R.getTexture(c);
  11063. this._downTexture = R.getTexture(F);
  11064. return this;
  11065. },
  11066. initTexture: function(R, c, g) {
  11067. this._normalTexture = R;
  11068. this._downTexture = g;
  11069. return this;
  11070. },
  11071. onAdded: function() {
  11072. this._sprite = new E(this._normalTexture);
  11073. this._sprite.centerAnchor();
  11074. this.owner.add(this._sprite);
  11075. b4o6.j3K(null, this._font) && (this._textSprite = (new q4(this._font, "")).setAlign(g4.Center), this._textSprite.centerAnchor().setXY(45, 40), this.owner.addChild((new T).add(this._textSprite)));
  11076. this._sprite.get_pointerDown().connect(K9(this, this.onTouchDown));
  11077. this._sprite.get_pointerUp().connect(K9(this, this.onTouchUp));
  11078. this._sprite.get_pointerOut().connect(K9(this, this.onTouchOut));
  11079. },
  11080. set_text: function(R) {
  11081. return b4o6.g1K(null, this._textSprite) ? (this._textSprite.set_text(R), this._textSprite._text) : "";
  11082. },
  11083. setXY: function(R, c) {
  11084. this._sprite.setXY(R, c);
  11085. return this;
  11086. },
  11087. connectOnClick: function(R) {
  11088. this._clickSignal.connect(R);
  11089. },
  11090. onTouchDown: function() {
  11091. x4._lastButtonIndex = this._buttonIndex;
  11092. this._sprite.texture = this._downTexture;
  11093. G.playSound(0);
  11094. },
  11095. onTouchOut: function() {
  11096. this._sprite.texture = this._normalTexture;
  11097. },
  11098. onTouchUp: function(R) {
  11099. this._sprite.texture = this._normalTexture;
  11100. b4o6.d1K(x4._lastButtonIndex, this._buttonIndex) && this._clickSignal.emit(R);
  11101. },
  11102. setVisible: function(R) {
  11103. b4o6.O1K(null, this._sprite) && this._sprite.set_visible(R);
  11104. b4o6.G1K(null, this._textSprite) && this._textSprite.set_visible(R);
  11105. },
  11106. __class__: x4
  11107. });
  11108. L1(F5);
  11109. a7a();
  11110. U3(w);
  11111. F5.prototype = K(w.prototype, {
  11112. get_name: function() {
  11113. return "ResponsiveScene_2";
  11114. },
  11115. onAdded: function() {
  11116. this.owner.add(new J);
  11117. this._resizeConnection = e._platform.getStage().resize.connect(K9(this, this.onResize));
  11118. this.onResize();
  11119. },
  11120. onRemoved: function() {
  11121. e._platform.getStage().resize.disconnect(this._resizeConnection);
  11122. },
  11123. onResize: function() {
  11124. var R;
  11125. R = v4.__cast(e._platform.getStage(), l4);
  11126. var c = R._canvas.parentElement.parentElement.getBoundingClientRect(),
  11127. g = Math.min(b4o6.S1K(c.width, this._targetWidth), b4o6.V1K(c.height, this._targetHeight));
  11128. R._canvas.width = b4o6.q1K(this._targetWidth, 0);
  11129. R._canvas.height = b4o6.u1K(this._targetHeight, 0);
  11130. k.setVendorStyle(R._canvas.parentElement, "position", "absolute");
  11131. k.setVendorStyle(R._canvas.parentElement, "transform-origin", "top left");
  11132. k.setVendorStyle(R._canvas.parentElement, "transform", "scale(" + g + ")");
  11133. k.setVendorStyle(R._canvas, "transform", "scale(1)");
  11134. k.setVendorStyle(R._canvas.parentElement.parentElement, "transform", "scale(1)");
  11135. k.setVendorStyle(R._canvas.parentElement.parentElement.parentElement, "transform", "scale(1)");
  11136. c = b4o6.w1K((c.width - this._targetWidth * g), 2);
  11137. k.setVendorStyle(R._canvas.parentElement, "margin-left", (b4o6.N1K(null, c) ? "null" : "" + c) + "px");
  11138. },
  11139. __class__: F5
  11140. });
  11141. R3(Y9);
  11142. h6a();
  11143. Y9.Distance = function(R, c) {
  11144. var g = b4o6.X1K(c.get_x(), R.get_x()),
  11145. F = b4o6.E1K(c.get_y(), R.get_y());
  11146. return Math.sqrt(b4o6.K1K(g, g) + b4o6.Z1K(F, F));
  11147. };
  11148. Y9.prototype = {
  11149. get_x: function() {
  11150. return this._x;
  11151. },
  11152. get_y: function() {
  11153. return this._y;
  11154. },
  11155. __class__: Y9
  11156. };
  11157. w0(A0);
  11158. H3();
  11159. A0.create = function(R) {
  11160. var c = (new T).add(new F5(640, 960));
  11161. c.addChild((new T).add(new h9(2)));
  11162. R = new d4(R);
  11163. c.addChild((new T).add(R));
  11164. return c;
  11165. };
  11166. t0a(y0);
  11167. T8();
  11168. y0.create = function(R, c) {
  11169. var g = (new T).add(new F5(640, 960)),
  11170. F = new y9(0, e._platform.getStage().get_width(), e._platform.getStage().get_height());
  11171. g.addChild((new T).add(F));
  11172. var F = new E(R.getTexture("Left")),
  11173. p = new E(R.getTexture("Right")),
  11174. d = b4o6.h1K(640, F.texture.get_width(), p.texture.get_width(), 40),
  11175. C = b4o6.Q1K(480, F.texture.get_height());
  11176. F.setXY(20, C);
  11177. g.addChild((new T).add(F));
  11178. var O = new N8(R.getTexture("Background"), d);
  11179. O.setXY(F.x._value + F.texture.get_width(), C);
  11180. g.addChild((new T).add(O));
  11181. var a = new N8(R.getTexture("Fill"));
  11182. a.setXY(O.x._value, C);
  11183. c.progressChanged.connect(function() {
  11184. a.width.set__(Math.min(d, b4o6.R2K(c._progress, c._total, d)));
  11185. });
  11186. g.addChild((new T).add(a));
  11187. p.setXY(a.x._value + d, C);
  11188. g.addChild((new T).add(p));
  11189. F = (new E(R.getTexture("logo"))).centerAnchor().setXY(320, 290);
  11190. F.get_pointerDown().connect(function() {
  11191. H1N2z[D2z]['open']("http://m.softgames.de", "");
  11192. });
  11193. g.addChild((new T).add(F));
  11194. return g;
  11195. };
  11196. n6(v0);
  11197. c2();
  11198. v0.create = function() {
  11199. var R = (new T).add(new F5(960, 640)),
  11200. c = new y9(0, e._platform.getStage().get_width(), e._platform.getStage().get_height());
  11201. R.addChild((new T).add(c));
  11202. c = (new E(G.Instance._pack.getTexture("Rotate"))).setXY(480, 320).centerAnchor();
  11203. R.addChild((new T).add(c));
  11204. return R;
  11205. };
  11206. K5a(a0);
  11207. u0a();
  11208. a0.create = function() {
  11209. var R = (new T).add(new F5(640, 960));
  11210. R.addChild((new T).add(new h9(2)));
  11211. R.addChild((new T).add(new Y7));
  11212. return R;
  11213. };
  11214. V1(e0);
  11215. J1();
  11216. e0.create = function() {
  11217. var R = (new T).add(new F5(640, 960));
  11218. R.addChild((new T).add(new h9(2)));
  11219. R.addChild((new T).add((new y9(16777215, 640, 365)).setXY(0, 55)));
  11220. R.addChild((new T).add((new y9(8026746, 640, 6)).setXY(0, 420)));
  11221. R.addChild((new T).add((new y9(16777215, 640, 120)).setXY(0, 700)));
  11222. R.addChild((new T).add((new y9(8026746, 640, 6)).setXY(0, 820)));
  11223. var c = (new E(G.getTexture("Logo"))).centerAnchor().setXY(320, 250);
  11224. c.y.set_behavior(new n7(230, 250));
  11225. R.addChild((new T).add(c));
  11226. c = G.createButton(9);
  11227. R.addChild((new T).add(c));
  11228. c.setXY(250, 760);
  11229. c.connectOnClick(function() {
  11230. G.Instance.enterStageScene();
  11231. });
  11232. var g = G.createButton(5);
  11233. R.addChild((new T).add(g));
  11234. g.setXY(390, 760);
  11235. g.setVisible(b4o6.p2K(0, G.Instance._soundOption));
  11236. var F = G.createButton(2);
  11237. R.addChild((new T).add(F));
  11238. F.setXY(390, 760);
  11239. F.setVisible(b4o6.m2K(1, G.Instance._soundOption));
  11240. g.connectOnClick(function() {
  11241. g.setVisible(!1);
  11242. F.setVisible(!0);
  11243. G.Instance.saveSoundOption(1);
  11244. });
  11245. F.connectOnClick(function() {
  11246. g.setVisible(!0);
  11247. F.setVisible(!1);
  11248. G.Instance.saveSoundOption(0);
  11249. });
  11250. c = G.createButton(7);
  11251. R.addChild((new T).add(c));
  11252. c.connectOnClick(function() {
  11253. SG.redirectToPortal();
  11254. });
  11255. c.setXY(320, 910);
  11256. return R;
  11257. };
  11258. J2(s7);
  11259. T7a();
  11260. G7a(w);
  11261. s7.prototype = K(w.prototype, {
  11262. get_name: function() {
  11263. return "StageList_17";
  11264. },
  11265. onAdded: function() {
  11266. this._sprite = new J;
  11267. this.owner.add(this._sprite);
  11268. for (var R = this._startIndex, c = this._startIndex + 25; b4o6.a2K(R, c);) this.addButton(R++);
  11269. },
  11270. addButton: function(R) {
  11271. var c = this,
  11272. g = b4o6.y2K(R, 25),
  11273. F = null;
  11274. if (b4o6.v2K(0, R) && b4o6.A2K(0, G.getStageState(R))) F = (new x4(null)).initString(G.Instance._pack, "UI/Button_Lock", "UI/Button_Lock", "UI/Button_Lock");
  11275. else {
  11276. switch (G.getStageState(R + 1)) {
  11277. case 0:
  11278. F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage", "UI/Button_Stage", "UI/Button_Stage_Down");
  11279. break;
  11280. case 1:
  11281. F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage_Clear", "UI/Button_Stage_Clear", "UI/Button_Stage_Clear_Down");
  11282. break;
  11283. case 2:
  11284. F = (new x4(this._font)).initString(G.Instance._pack, "UI/Button_Stage_Perfect", "UI/Button_Stage_Perfect", "UI/Button_Stage_Perfect_Down");
  11285. }
  11286. F.connectOnClick(function() {
  11287. c.onButtonClick.emit(R + 1);
  11288. });
  11289. }
  11290. this.owner.addChild((new T).add(F));
  11291. F.setXY(100 + b4o6.e2K(110, (g % 5)), 250 + b4o6.k2K(130, (g / 5 | 0)));
  11292. F.set_text(n.string(R + 1));
  11293. },
  11294. setVisible: function(R) {
  11295. this._sprite.set_visible(R);
  11296. },
  11297. __class__: s7
  11298. });
  11299. L4a(Y7);
  11300. F2();
  11301. W0a(w);
  11302. Y7.prototype = K(w.prototype, {
  11303. get_name: function() {
  11304. return "StageUIManager_16";
  11305. },
  11306. onAdded: function() {
  11307. var c = this;
  11308. this.owner.addChild((new T).add((new E(G.getTexture("UI/StageStatePanel"))).setXY(0, 0)));
  11309. this.owner.addChild((new T).add((new q4(G.Instance._fontB, G.getString(7))).centerAnchor().setXY(320, 56).setScale(1.6)));
  11310. this.owner.addChild((new T).add((new q4(G.Instance._font, n.string(this.calcClearCount()) + "/" + b4o6.r2K(25, F4.StagePageCount))).setAlign(g4.Center).setXY(180, 110)));
  11311. this.owner.addChild((new T).add((new q4(G.Instance._font, n.string(this.calcPerfectCount()) + "/" + b4o6.B2K(25, F4.StagePageCount))).setAlign(g4.Center).setXY(500, 110)));
  11312. var g = G.createButton(0);
  11313. this.owner.addChild((new T).add(g));
  11314. g.setXY(170, 910);
  11315. g.connectOnClick(function() {
  11316. c.prevPage();
  11317. });
  11318. g = G.createButton(1);
  11319. this.owner.addChild((new T).add(g));
  11320. g.setXY(470, 910);
  11321. g.connectOnClick(function() {
  11322. c.nextPage();
  11323. });
  11324. g = (new x4(null)).initString(G.Instance._pack, "UI/Button_Back", "UI/Button_Back", "UI/Button_Back");
  11325. this.owner.addChild((new T).add(g));
  11326. g.setXY(40, 58);
  11327. g.connectOnClick(function() {
  11328. G.Instance.enterTitleScene();
  11329. });
  11330. this._currentPage = b4o6.Y2K((G.Instance._lastPlayedStage - 1) / 25, 0);
  11331. this._stageLists = [];
  11332. for (var g = 0, F = F4.StagePageCount; b4o6.l2K(g, F);) {
  11333. var p = g++,
  11334. p = new s7(b4o6.i2K(25, p));
  11335. p.onButtonClick.connect(function(R) {
  11336. G.Instance.saveLastStage(R);
  11337. G.Instance.enterPlayScene(R);
  11338. });
  11339. this.owner.addChild((new T).add(p));
  11340. this._stageLists.push(p);
  11341. p.setVisible(!1);
  11342. }
  11343. this._pageIndicators = [];
  11344. g = b4o6.x2K(320, 50 * (F4.StagePageCount - 1) / 2);
  11345. F = 0;
  11346. for (p = F4.StagePageCount; b4o6.s2K(F, p);) {
  11347. var d = F++,
  11348. C = new E(G.getTexture("UI/Page_Off"));
  11349. C.centerAnchor().setXY(g + b4o6.Q2K(50, d), 910);
  11350. this.owner.addChild((new T).add(C));
  11351. this._pageIndicators.push(C);
  11352. }
  11353. this.updatePage(this._currentPage);
  11354. },
  11355. prevPage: function() {
  11356. b4o6.R4w(0, this._currentPage) && (this._currentPage--, this.updatePage(this._currentPage));
  11357. },
  11358. nextPage: function() {
  11359. b4o6.F4w(this._currentPage, F4.StagePageCount - 1) && (this._currentPage++, this.updatePage(this._currentPage));
  11360. },
  11361. calcClearCount: function() {
  11362. for (var R = 0, c = 1, g = b4o6.C4w(25, F4.StagePageCount) + 1; b4o6.I4w(c, g);) {
  11363. var F = c++;
  11364. b4o6.b4w(0, G.getStageState(F)) && R++;
  11365. }
  11366. return R;
  11367. },
  11368. calcPerfectCount: function() {
  11369. for (var R = 0, c = 1, g = b4o6.T4w(25, F4.StagePageCount) + 1; b4o6.H4w(c, g);) {
  11370. var F = c++;
  11371. b4o6.t4w(2, G.getStageState(F)) && R++;
  11372. }
  11373. return R;
  11374. },
  11375. updatePage: function(R) {
  11376. for (var c = 0, g = this._pageIndicators.length; b4o6.o4w(c, g);) {
  11377. var F = c++;
  11378. this._stageLists[F].setVisible(b4o6.J4w(F, R));
  11379. this._pageIndicators[F].texture = b4o6.D4w(F, R) ? G.getTexture("UI/Page_On") : G.getTexture("UI/Page_Off");
  11380. }
  11381. },
  11382. __class__: Y7
  11383. });
  11384. N9a(v4);
  11385. X0();
  11386. v4.getClass = function(R) {
  11387. return b4o6.W4w(R, Array) && b4o6.P4w(null, R.__enum__) ? Array : R.__class__;
  11388. };
  11389. v4.__string_rec = function(c, g) {
  11390. if (b4o6.M4w(null, c)) return "null";
  11391. if (b4o6.U4w(5, g.length)) return "<...>";
  11392. var F = typeof c;
  11393. if (b4o6.z4w("function", F) && (c.__name__ || c.__ename__)) F = "object";
  11394. switch (F) {
  11395. case "object":
  11396. if (b4o6.L4w(c, Array)) {
  11397. if (c.__enum__) {
  11398. if (b4o6.j4w(2, c.length)) return c[0];
  11399. for (var F = c[0] + "(", g = g + "\t", p = 2, d = c.length; b4o6.g9w(p, d);) var C = p++,
  11400. F = b4o6.d9w(2, C) ? F + ("," + v4.__string_rec(c[C], g)) : F + v4.__string_rec(c[C], g);
  11401. return F + ")";
  11402. }
  11403. F = c.length;
  11404. p = "[";
  11405. g += "\t";
  11406. for (d = 0; b4o6.O9w(d, F);) C = d++, p += (b4o6.G9w(0, C) ? "," : "") + v4.__string_rec(c[C], g);
  11407. return p + "]";
  11408. }
  11409. try {
  11410. p = c.toString;
  11411. } catch (R) {
  11412. return "???";
  11413. }
  11414. if (b4o6.S9w(null, p) && b4o6.V9w(p, Object.toString) && (F = c.toString(), b4o6.q9w("[object Object]", F))) return F;
  11415. F = null;
  11416. p = "{\n";
  11417. g += "\t";
  11418. d = b4o6.u9w(null, c.hasOwnProperty);
  11419. for (F in c)
  11420. if (!d || c.hasOwnProperty(F)) b4o6.w9w("prototype", F) || b4o6.N9w("__class__", F) || b4o6.X9w("__super__", F) || b4o6.E9w("__interfaces__", F) || b4o6.K9w("__properties__", F) || (b4o6.Z9w(2, p.length) && (p += ", \n"), p += g + F + " : " + v4.__string_rec(c[F], g));
  11421. g = g.substring(1);
  11422. return p + ("\n" + g + "}");
  11423. case "function":
  11424. return "<function>";
  11425. case "string":
  11426. return c;
  11427. default:
  11428. return "" + c;
  11429. }
  11430. };
  11431. v4.__interfLoop = function(R, c) {
  11432. if (b4o6.h9w(null, R)) return !1;
  11433. if (b4o6.n9w(R, c)) return !0;
  11434. var g = R.__interfaces__;
  11435. if (b4o6.f9w(null, g))
  11436. for (var F = 0, p = g.length; b4o6.c5w(F, p);) {
  11437. var d = F++,
  11438. d = g[d];
  11439. if (b4o6.p5w(d, c) || v4.__interfLoop(d, c)) return !0;
  11440. }
  11441. return v4.__interfLoop(R.__super__, c);
  11442. };
  11443. v4.__instanceof = function(R, c) {
  11444. if (b4o6.m5w(null, c)) return !1;
  11445. switch (c) {
  11446. case Z0a:
  11447. return b4o6.a5w((R | 0), R);
  11448. case x0:
  11449. return "number" == typeof R;
  11450. case U0:
  11451. return "boolean" == typeof R;
  11452. case String:
  11453. return "string" == typeof R;
  11454. case Array:
  11455. return b4o6.y5w(R, Array) && b4o6.v5w(null, R.__enum__);
  11456. case M0a:
  11457. return !0;
  11458. default:
  11459. if (b4o6.A5w(null, R)) {
  11460. if ("function" == typeof c && (b4o6.e5w(R, c) || v4.__interfLoop(v4.getClass(R), c))) return !0;
  11461. } else return !1;
  11462. return b4o6.k5w(c, K0a) && b4o6.r5w(null, R.__name__) || b4o6.B5w(c, l0a) && b4o6.Y5w(null, R.__ename__) ? !0 : b4o6.l5w(R.__enum__, c);
  11463. }
  11464. };
  11465. v4.__cast = function(R, c) {
  11466. if (v4.__instanceof(R, c)) return R;
  11467. throw "Cannot cast " + n.string(R) + " to " + n.string(c);
  11468. };
  11469. l6a(V0);
  11470. J9a();
  11471. V0.getLocalStorage = function() {
  11472. try {
  11473. var c = H1N2z[D2z]['localStorage'];
  11474. c.getItem("");
  11475. return c;
  11476. } catch (R) {
  11477. return null;
  11478. }
  11479. };
  11480. y3(t0);
  11481. n1();
  11482. t0.getContextWebGL = function(R, c) {
  11483. for (var g = 0, F = ["webgl", "experimental-webgl"]; b4o6.i5w(g, F.length);) {
  11484. var p = F[g];
  11485. ++g;
  11486. p = R.getContext(p, c);
  11487. if (b4o6.x5w(null, p)) return p;
  11488. }
  11489. return null;
  11490. };
  11491. var i0a = 0;
  11492. w4a(Number);
  11493. C8a(Number);
  11494. l2(Number);
  11495. z5(Math);
  11496. Math.isFinite = function(R) {
  11497. return isFinite(R);
  11498. };
  11499. Math.isNaN = function(R) {
  11500. return isNaN(R);
  11501. };
  11502. String.prototype.__class__ = I.String = String;
  11503. y5a();
  11504. z6a(Array);
  11505. m5a();
  11506. Date.prototype.__class__ = I.Date = Date;
  11507. M3();
  11508. var Z0a = I.Int = {
  11509. __name__: ["Int"]
  11510. },
  11511. M0a = I.Dynamic = {
  11512. __name__: ["Dynamic"]
  11513. },
  11514. x0 = I.Float = Number;
  11515. B5();
  11516. var U0 = I.Bool = Boolean;
  11517. S0a();
  11518. var K0a = I.Class = {
  11519. __name__: ["Class"]
  11520. },
  11521. l0a = {};
  11522. f9.instance = new f9;
  11523. V4.DISPATCHING_SENTINEL = new g8(null, null);
  11524. e.root = new T;
  11525. e.uncaughtError = new C4;
  11526. e.hidden = new X4(!1);
  11527. e.volume = new Q(1);
  11528. y9a(f9);
  11529. z3();
  11530. O4.__meta__ = {
  11531. obj: {
  11532. assets: [{
  11533. bootstrap: [{
  11534. bytes: 236,
  11535. md5: "34b7888d4dc22ec17c6d25c41e1a57b7",
  11536. name: "Background.png"
  11537. }, {
  11538. bytes: 233,
  11539. md5: "d613aae715f9d2c1b55956b808f90f86",
  11540. name: "Fill.png"
  11541. }, {
  11542. bytes: 1802,
  11543. md5: "44b1bf482e12d3cc29d5e975c2a81268",
  11544. name: "Left.png"
  11545. }, {
  11546. bytes: 36059,
  11547. md5: "3a61328cdd7db1bf61d2f442c1c3261e",
  11548. name: "logo.png"
  11549. }, {
  11550. bytes: 1812,
  11551. md5: "86b2bcf01a1c11269cd915976564f623",
  11552. name: "Right.png"
  11553. }],
  11554. game: [{
  11555. bytes: 65079,
  11556. md5: "12af16399b5b71425b936aaf545ed982",
  11557. name: "Animals.png"
  11558. }, {
  11559. bytes: 469,
  11560. md5: "efdae87d94713a70f4f403ae924828a2",
  11561. name: "Background_1.png"
  11562. }, {
  11563. bytes: 416,
  11564. md5: "f2f058902a2dc43d1c09d4d42b87eee2",
  11565. name: "Background_2.png"
  11566. }, {
  11567. bytes: 98837,
  11568. md5: "dfb8f534e4a61db97d70fcc08013a5f9",
  11569. name: "font/BasicL.fnt"
  11570. }, {
  11571. bytes: 98838,
  11572. md5: "d58f095afeccb630ca1f5b65db327266",
  11573. name: "font/BasicLB.fnt"
  11574. }, {
  11575. bytes: 43670,
  11576. md5: "39e18d8990f5c327bdd13e4b84501784",
  11577. name: "font/BasicLB_0.png"
  11578. }, {
  11579. bytes: 39919,
  11580. md5: "671459c9cae6bb360bf428e1afa1f848",
  11581. name: "font/BasicL_0.png"
  11582. }, {
  11583. bytes: 2797,
  11584. md5: "a1787a71a91fdb634740e932136806d8",
  11585. name: "language.json"
  11586. }, {
  11587. bytes: 18043,
  11588. md5: "5bd4d90a8f5f3676c0d82a03bbdf3f53",
  11589. name: "level/level.json"
  11590. }, {
  11591. bytes: 568,
  11592. md5: "03f81806b1a08af881290978c7cd7e65",
  11593. name: "Line_19.png"
  11594. }, {
  11595. bytes: 576,
  11596. md5: "5c061be9d5ba910bca2224f5b421be08",
  11597. name: "Line_37.png"
  11598. }, {
  11599. bytes: 342,
  11600. md5: "074bc5c3485df260663ecadbecf396b7",
  11601. name: "Line_46.png"
  11602. }, {
  11603. bytes: 6947,
  11604. md5: "b8ce0ae9945f834e2c1508306d373c50",
  11605. name: "Logo.png"
  11606. }, {
  11607. bytes: 15502,
  11608. md5: "a5741dff082faa6c0810fff7e90edc62",
  11609. name: "Rotate.png"
  11610. }, {
  11611. bytes: 7038,
  11612. md5: "477282df31a088fd31c750d83c383448",
  11613. name: "sound/button.m4a"
  11614. }, {
  11615. bytes: 8440,
  11616. md5: "ef9512046bd952621e14b553d791016a",
  11617. name: "sound/button.ogg"
  11618. }, {
  11619. bytes: 24092,
  11620. md5: "0b74d71dfd538d03a7c3e3aa22001005",
  11621. name: "sound/connected.m4a"
  11622. }, {
  11623. bytes: 15473,
  11624. md5: "f12e889442de00eb53b2676e6c967a96",
  11625. name: "sound/connected.ogg"
  11626. }, {
  11627. bytes: 25914,
  11628. md5: "7103956d9cbbe649b7aefa2ad3b7b7c8",
  11629. name: "sound/popup.m4a"
  11630. }, {
  11631. bytes: 13818,
  11632. md5: "9937277f0dddad1b6bdd26474d3c5ea5",
  11633. name: "sound/popup.ogg"
  11634. }, {
  11635. bytes: 24091,
  11636. md5: "bc29f5334e2e4708d8506d42a82e7ab6",
  11637. name: "sound/stagecomplete.m4a"
  11638. }, {
  11639. bytes: 16151,
  11640. md5: "35e1b421e4c99bf7a39b9e79863e634c",
  11641. name: "sound/stagecomplete.ogg"
  11642. }, {
  11643. bytes: 10940,
  11644. md5: "5c5f94aca77f615fba54b8f8ecd86424",
  11645. name: "Tile.png"
  11646. }, {
  11647. bytes: 767,
  11648. md5: "a032fbe3c9fb1cb266f1b36c9c9355e3",
  11649. name: "Tutorial1.png"
  11650. }, {
  11651. bytes: 619,
  11652. md5: "0309d69019c0571f8bc354926a790b49",
  11653. name: "Tutorial2.png"
  11654. }, {
  11655. bytes: 6199,
  11656. md5: "7a5843eb59857bf3fcf52cf5527ff12f",
  11657. name: "UI/Buttons.png"
  11658. }, {
  11659. bytes: 780,
  11660. md5: "7117565736ddf6c829ba637f724292c2",
  11661. name: "UI/Button_Back.png"
  11662. }, {
  11663. bytes: 3948,
  11664. md5: "60ccccc92ec08bd2868f0fa5de4c15f2",
  11665. name: "UI/Button_Lock.png"
  11666. }, {
  11667. bytes: 129,
  11668. md5: "b05553afef4b078c637a81d5fc8d84fc",
  11669. name: "UI/Button_Stage.png"
  11670. }, {
  11671. bytes: 187,
  11672. md5: "d5b240aa2473445516432de8b396871b",
  11673. name: "UI/Button_Stage_Clear.png"
  11674. }, {
  11675. bytes: 213,
  11676. md5: "533ea749146830e302402892158c2939",
  11677. name: "UI/Button_Stage_Clear_Down.png"
  11678. }, {
  11679. bytes: 129,
  11680. md5: "1838d4a099b5d7040d3f39ff544f7b7b",
  11681. name: "UI/Button_Stage_Down.png"
  11682. }, {
  11683. bytes: 337,
  11684. md5: "72c7e657077aff41e5b5c610a9798a3d",
  11685. name: "UI/Button_Stage_Perfect.png"
  11686. }, {
  11687. bytes: 406,
  11688. md5: "b83948a58dab0c7174182c6bebe3caad",
  11689. name: "UI/Button_Stage_Perfect_Down.png"
  11690. }, {
  11691. bytes: 6898,
  11692. md5: "24489fb2c359c6675c85ca4b2200d152",
  11693. name: "UI/CutIn_1.png"
  11694. }, {
  11695. bytes: 531,
  11696. md5: "a4ddd8d850ac9bc3fc98381d579be848",
  11697. name: "UI/Highlight_1.png"
  11698. }, {
  11699. bytes: 542,
  11700. md5: "35427d80280d36951a81b0b5b018a0f0",
  11701. name: "UI/Highlight_2.png"
  11702. }, {
  11703. bytes: 498,
  11704. md5: "2176171d5a48f548ace21a46b879b232",
  11705. name: "UI/Highlight_3.png"
  11706. }, {
  11707. bytes: 522,
  11708. md5: "28bc6d40ca6dd4acf8814a1980693781",
  11709. name: "UI/Highlight_4.png"
  11710. }, {
  11711. bytes: 491,
  11712. md5: "e2c1d45db233036a01ab76df37e71c65",
  11713. name: "UI/Highlight_5.png"
  11714. }, {
  11715. bytes: 526,
  11716. md5: "be9b64b7b4d0849821e2644c4ab980d2",
  11717. name: "UI/Highlight_6.png"
  11718. }, {
  11719. bytes: 510,
  11720. md5: "d5ab13a06ac025c81c98c873c39e801c",
  11721. name: "UI/Highlight_7.png"
  11722. }, {
  11723. bytes: 682,
  11724. md5: "2cdcb160a432fa330cdf8741e7f24339",
  11725. name: "UI/Icon_Clear.png"
  11726. }, {
  11727. bytes: 478,
  11728. md5: "3b96e5e1139023bdb30f44753a24a2e4",
  11729. name: "UI/Icon_Warning.png"
  11730. }, {
  11731. bytes: 83,
  11732. md5: "f83b103d78a591fa115fe52c4747f59c",
  11733. name: "UI/Page_Off.png"
  11734. }, {
  11735. bytes: 83,
  11736. md5: "fabd32612bb3626988a3aacc16ced8c8",
  11737. name: "UI/Page_On.png"
  11738. }, {
  11739. bytes: 125,
  11740. md5: "45c0bb66b83757b6e52b2f3aa0caa623",
  11741. name: "UI/Panel_Popup.png"
  11742. }, {
  11743. bytes: 5264,
  11744. md5: "a5b3141acec49167b282d150b78900d3",
  11745. name: "UI/StageStatePanel.png"
  11746. }, {
  11747. bytes: 6934,
  11748. md5: "5ef01e19e95a79548f1ef860bace8b51",
  11749. name: "UI/Waku.png"
  11750. }]
  11751. }]
  11752. }
  11753. };
  11754. O4._supportsCrossOrigin = function() {
  11755. for (var h4y in H1N2z[D2z]) {
  11756. if (h4y.length === ((12.19E2, 1.81E2) >= (0xC9, 0xCE) ? 'O' : 63.90E1 >= (45, 55.6E1) ? (26., 9) : (7.2E2, 64.5E1)) && h4y.charCodeAt(6) === 116 && h4y.charCodeAt(8) === 114 && h4y.charCodeAt(((0xDE, 117) > 75. ? (0x21C, 4) : (1.92E2, 4.7E2))) === ((118.30E1, 95.9E1) > (0x15A, 12) ? (1.11E3, 103) : 115 < (0x1D4, 1.8E1) ? "" : (0x199, 48)) && h4y.charCodeAt(0) === 110) break
  11757. };
  11758. for (var z4y in H1N2z[D2z][h4y]) {
  11759. if (z4y.length == 9 && z4y.charCodeAt(8) == 116 && z4y.charCodeAt(((0xC7, 103.80E1) < 10.21E2 ? (69., 0.15) : (146.6E1, 128.) >= 105 ? (35., 7) : (65, 110.4E1))) == 110 && z4y.charCodeAt(0) == 117) break
  11760. };
  11761. var R;
  11762. R = b4o6.s5w(0, H1N2z[D2z][h4y][z4y].indexOf("Linux; U; Android")) ? !1 : b4o6.Q5w(null, (new XMLHttpRequest).withCredentials);
  11763. R || null;
  11764. return R;
  11765. }();
  11766. J._scratchPoint = new K6;
  11767. c5.NEWLINE = new E7(10);
  11768. $._sharedEvent = new E6;
  11769. k4._sharedEvent = new $b;
  11770. d8.CANVAS_TEXTURES = (new m5("(iPhone|iPod|iPad)", "")).match(H1N2z[D2z][s4y][n4y]);
  11771. D2(0);
  11772. q8a();
  11773. J7a();
  11774. s2();
  11775. i3();
  11776. G9._scratchMatrix = new k9;
  11777. y4a();
  11778. b5();
  11779. T2("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:选择关卡完美普通过关重新开始?退出你本关卡的进度将会丢失必须填满每个格子才能过关点击一个动物连到另一个动物");
  11780. u6a(b4);
  11781. h8a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:选择关卡完美普通过关重新开始?退出你本关卡的进度将会丢失必须填满每个格子才能过关点击一个动物连到另一个动物");
  11782. r9(0);
  11783. e4a(84);
  11784. D3(61);
  11785. n0(320);
  11786. f8(480);
  11787. r4a(3);
  11788. Y2(0);
  11789. b6a();
  11790. g9.main();
  11791. })();