c2runtime.js 465 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601
  1. // Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
  2. 'use strict';
  3. function s() {
  4. return function () {}
  5. }
  6. function aa(a) {
  7. return function (c) {
  8. this[a] = c
  9. }
  10. }
  11. function w(a) {
  12. return function () {
  13. return this[a]
  14. }
  15. }
  16. function x(a) {
  17. return function () {
  18. return a
  19. }
  20. }
  21. var z, ca, da, ea, fa, ia, ja, ka, la, ma, na, oa, pa, qa, ra, sa, ta, ua, va, wa, xa, ya, za, Aa, Ba, Ca, Da, Ea, Fa, Ga, Ha, Ia, Ja, Ka, La, Ma, Na, Oa, Pa, Qa, Ra, Sa, Va, Wa, Xa, Ya, ab, bb, cb, db, eb, fb, gb, hb, ib, kb, lb, mb, nb, ob, pb, tb, ub, vb, wb, xb, yb, zb, Ab, Bb, Cb, Db, Eb, Fb, Gb, Hb, Ib, Jb, Nb, Ob, Pb, Qb, Rb, Sb, Tb, Ub, Vb, Wb, Xb, Yb, Zb = {};
  22. "function" !== typeof Object.getPrototypeOf && (Object.getPrototypeOf = "object" === typeof "test".__proto__ ? function (a) {
  23. return a.__proto__
  24. }
  25. : function (a) {
  26. return a.constructor.prototype
  27. });
  28. (function () {
  29. function a(a, b, c, d) {
  30. this.set(a, b, c, d)
  31. }
  32. function c() {
  33. this.ud = this.td = this.wd = this.vd = this.Ed = this.Dd = this.jc = this.ic = 0
  34. }
  35. function b(a, b, c, d) {
  36. a < b ? c < d ? (n = a < c ? a : c, k = b > d ? b : d) : (n = a < d ? a : d, k = b > c ? b : c) : c < d ? (n = b < c ? b : c, k = a > d ? a : d) : (n = b < d ? b : d, k = a > c ? a : c)
  37. }
  38. function d() {
  39. this.Lh = this.fh = null;
  40. this.ml = 0;
  41. v && (this.fh = new Set);
  42. this.Wl = [];
  43. this.Ei = !0
  44. }
  45. function e(a) {
  46. u[y++] = a
  47. }
  48. function f() {
  49. this.Cb = this.mr = this.y = this.F = 0
  50. }
  51. function g(a) {
  52. this.Ec = [];
  53. this.$o = this.cp = this.dp = this.bp = 0;
  54. this.vp = null;
  55. this.ao(a)
  56. }
  57. function h(a, b) {
  58. this.ZB =
  59. a;
  60. this.YB = b;
  61. this.cells = {}
  62. }
  63. function m(a, b, c) {
  64. var d;
  65. return F.length ? (d = F.pop(), d.LD = a, d.x = b, d.y = c, d) : new da(a, b, c)
  66. }
  67. function l(a, b, c) {
  68. this.LD = a;
  69. this.x = b;
  70. this.y = c;
  71. this.Ln = new ea
  72. }
  73. fa = function (a) {
  74. window.console && window.console.log && window.console.log(a)
  75. };
  76. ca = function (a) {
  77. return a
  78. };
  79. ia = function (a) {
  80. return "undefined" === typeof a
  81. };
  82. ja = function (a) {
  83. return "number" === typeof a
  84. };
  85. ka = function (a) {
  86. return "string" === typeof a
  87. };
  88. la = function (a) {
  89. return 0 < a && 0 === (a - 1 & a)
  90. };
  91. ma = function (a) {
  92. --a;
  93. for (var b = 1; 32 > b; b <<= 1)
  94. a |= a >> b;
  95. return a +
  96. 1
  97. };
  98. na = function (a) {
  99. return 0 > a ? -a : a
  100. };
  101. oa = function (a, b) {
  102. return a > b ? a : b
  103. };
  104. pa = function (a, b) {
  105. return a < b ? a : b
  106. };
  107. qa = Math.PI;
  108. ra = function (a) {
  109. return a + 0.5 | 0
  110. };
  111. sa = function (a) {
  112. return 0 <= a ? a | 0 : (a | 0) - 1
  113. };
  114. ta = function (a) {
  115. var b = a | 0;
  116. return b === a ? b : b + 1
  117. };
  118. ua = function (a, b, c, d, f, k, e, r) {
  119. var g,
  120. h,
  121. u,
  122. l;
  123. a < c ? (h = a, g = c) : (h = c, g = a);
  124. f < e ? (l = f, u = e) : (l = e, u = f);
  125. if (g < l || h > u)
  126. return !1;
  127. b < d ? (h = b, g = d) : (h = d, g = b);
  128. k < r ? (l = k, u = r) : (l = r, u = k);
  129. if (g < l || h > u)
  130. return !1;
  131. g = f - a + e - c;
  132. h = k - b + r - d;
  133. a = c - a;
  134. b = d - b;
  135. f = e - f;
  136. k = r - k;
  137. r = na(b * f - k * a);
  138. return na(f * h - k * g) > r ? !1 : na(a * h - b * g) <=
  139. r
  140. };
  141. a.prototype.set = function (a, b, c, d) {
  142. this.left = a;
  143. this.top = b;
  144. this.right = c;
  145. this.bottom = d
  146. };
  147. a.prototype.copy = function (a) {
  148. this.left = a.left;
  149. this.top = a.top;
  150. this.right = a.right;
  151. this.bottom = a.bottom
  152. };
  153. a.prototype.width = function () {
  154. return this.right - this.left
  155. };
  156. a.prototype.height = function () {
  157. return this.bottom - this.top
  158. };
  159. a.prototype.offset = function (a, b) {
  160. this.left += a;
  161. this.top += b;
  162. this.right += a;
  163. this.bottom += b;
  164. return this
  165. };
  166. a.prototype.normalize = function () {
  167. var a = 0;
  168. this.left > this.right && (a = this.left, this.left = this.right,
  169. this.right = a);
  170. this.top > this.bottom && (a = this.top, this.top = this.bottom, this.bottom = a)
  171. };
  172. a.prototype.SD = function (a) {
  173. return !(a.right < this.left || a.bottom < this.top || a.left > this.right || a.top > this.bottom)
  174. };
  175. a.prototype.TD = function (a, b, c) {
  176. return !(a.right + b < this.left || a.bottom + c < this.top || a.left + b > this.right || a.top + c > this.bottom)
  177. };
  178. a.prototype.Fe = function (a, b) {
  179. return a >= this.left && a <= this.right && b >= this.top && b <= this.bottom
  180. };
  181. a.prototype.JC = function (a) {
  182. return this.left === a.left && this.top === a.top && this.right === a.right &&
  183. this.bottom === a.bottom
  184. };
  185. va = a;
  186. c.prototype.$n = function (a) {
  187. this.ic = a.left;
  188. this.jc = a.top;
  189. this.Dd = a.right;
  190. this.Ed = a.top;
  191. this.vd = a.right;
  192. this.wd = a.bottom;
  193. this.td = a.left;
  194. this.ud = a.bottom
  195. };
  196. c.prototype.Dz = function (a, b) {
  197. if (0 === b)
  198. this.$n(a);
  199. else {
  200. var c = Math.sin(b),
  201. d = Math.cos(b),
  202. f = a.left * c,
  203. k = a.top * c,
  204. e = a.right * c,
  205. c = a.bottom * c,
  206. r = a.left * d,
  207. g = a.top * d,
  208. h = a.right * d,
  209. d = a.bottom * d;
  210. this.ic = r - k;
  211. this.jc = g + f;
  212. this.Dd = h - k;
  213. this.Ed = g + e;
  214. this.vd = h - c;
  215. this.wd = d + e;
  216. this.td = r - c;
  217. this.ud = d + f
  218. }
  219. };
  220. c.prototype.offset = function (a, b) {
  221. this.ic += a;
  222. this.jc += b;
  223. this.Dd += a;
  224. this.Ed += b;
  225. this.vd += a;
  226. this.wd += b;
  227. this.td += a;
  228. this.ud += b;
  229. return this
  230. };
  231. var n = 0,
  232. k = 0;
  233. c.prototype.$w = function (a) {
  234. b(this.ic, this.Dd, this.vd, this.td);
  235. a.left = n;
  236. a.right = k;
  237. b(this.jc, this.Ed, this.wd, this.ud);
  238. a.top = n;
  239. a.bottom = k
  240. };
  241. c.prototype.Fe = function (a, b) {
  242. var c = this.Dd - this.ic,
  243. d = this.Ed - this.jc,
  244. f = this.vd - this.ic,
  245. k = this.wd - this.jc,
  246. e = a - this.ic,
  247. r = b - this.jc,
  248. g = c * c + d * d,
  249. h = c * f + d * k,
  250. d = c * e + d * r,
  251. u = f * f + k * k,
  252. l = f * e + k * r,
  253. y = 1 / (g * u - h * h),
  254. c = (u * d - h * l) * y,
  255. g = (g * l - h * d) * y;
  256. if (0 <= c && 0 < g && 1 > c + g)
  257. return !0;
  258. c = this.td - this.ic;
  259. d = this.ud - this.jc;
  260. g = c * c + d * d;
  261. h = c * f + d * k;
  262. d = c * e + d * r;
  263. y = 1 / (g * u - h * h);
  264. c = (u * d - h * l) * y;
  265. g = (g * l - h * d) * y;
  266. return 0 <= c && 0 < g && 1 > c + g
  267. };
  268. c.prototype.Bi = function (a, b) {
  269. if (b)
  270. switch (a) {
  271. case 0:
  272. return this.ic;
  273. case 1:
  274. return this.Dd;
  275. case 2:
  276. return this.vd;
  277. case 3:
  278. return this.td;
  279. case 4:
  280. return this.ic;
  281. default:
  282. return this.ic
  283. }
  284. else
  285. switch (a) {
  286. case 0:
  287. return this.jc;
  288. case 1:
  289. return this.Ed;
  290. case 2:
  291. return this.wd;
  292. case 3:
  293. return this.ud;
  294. case 4:
  295. return this.jc;
  296. default:
  297. return this.jc
  298. }
  299. };
  300. c.prototype.ej = function () {
  301. return (this.ic + this.Dd + this.vd + this.td) /
  302. 4
  303. };
  304. c.prototype.fj = function () {
  305. return (this.jc + this.Ed + this.wd + this.ud) / 4
  306. };
  307. c.prototype.by = function (a) {
  308. var b = a.ej(),
  309. c = a.fj();
  310. if (this.Fe(b, c))
  311. return !0;
  312. b = this.ej();
  313. c = this.fj();
  314. if (a.Fe(b, c))
  315. return !0;
  316. var d,
  317. f,
  318. k,
  319. e,
  320. r,
  321. g,
  322. h,
  323. u;
  324. for (h = 0; 4 > h; h++)
  325. for (u = 0; 4 > u; u++)
  326. if (b = this.Bi(h, !0), c = this.Bi(h, !1), d = this.Bi(h + 1, !0), f = this.Bi(h + 1, !1), k = a.Bi(u, !0), e = a.Bi(u, !1), r = a.Bi(u + 1, !0), g = a.Bi(u + 1, !1), ua(b, c, d, f, k, e, r, g))
  327. return !0;
  328. return !1
  329. };
  330. wa = c;
  331. xa = function (a, b) {
  332. for (var c in b)
  333. b.hasOwnProperty(c) && (a[c] = b[c]);
  334. return a
  335. };
  336. ya = function (a,
  337. b) {
  338. var c,
  339. d;
  340. b = sa(b);
  341. if (!(0 > b || b >= a.length))
  342. if (0 === b)
  343. a.shift();
  344. else if (b === a.length - 1)
  345. a.pop();
  346. else {
  347. c = b;
  348. for (d = a.length - 1; c < d; c++)
  349. a[c] = a[c + 1];
  350. a.length = d
  351. }
  352. };
  353. za = function (a, b) {
  354. a.length = b.length;
  355. var c,
  356. d;
  357. c = 0;
  358. for (d = b.length; c < d; c++)
  359. a[c] = b[c]
  360. };
  361. Aa = function (a, b) {
  362. a.push.apply(a, b)
  363. };
  364. Ba = function (a, b) {
  365. var c = a.indexOf(b);
  366. -1 !== c && ya(a, c)
  367. };
  368. Ca = function (a) {
  369. return a / (180 / qa)
  370. };
  371. Da = function (a) {
  372. return a * (180 / qa)
  373. };
  374. Ea = function (a) {
  375. a %= 360;
  376. 0 > a && (a += 360);
  377. return a
  378. };
  379. Fa = function (a) {
  380. a %= 2 * qa;
  381. 0 > a && (a += 2 * qa);
  382. return a
  383. };
  384. Ga = function (a) {
  385. return Ea(Da(a))
  386. };
  387. Ha = function (a) {
  388. return Fa(Ca(a))
  389. };
  390. Ia = function (a, b, c, d) {
  391. return Math.atan2(d - b, c - a)
  392. };
  393. Ja = function (a, b) {
  394. if (a === b)
  395. return 0;
  396. var c = Math.sin(a),
  397. d = Math.cos(a),
  398. f = Math.sin(b),
  399. k = Math.cos(b),
  400. c = c * f + d * k;
  401. return 1 <= c ? 0 : -1 >= c ? qa : Math.acos(c)
  402. };
  403. Ka = function (a, b, c) {
  404. var d = Math.sin(a),
  405. f = Math.cos(a),
  406. k = Math.sin(b),
  407. e = Math.cos(b);
  408. return Math.acos(d * k + f * e) > c ? 0 < f * k - d * e ? Fa(a + c) : Fa(a - c) : Fa(b)
  409. };
  410. La = function (a, b) {
  411. var c = Math.sin(a),
  412. d = Math.cos(a),
  413. f = Math.sin(b),
  414. k = Math.cos(b);
  415. return 0 >= d * f - c * k
  416. };
  417. Ma = function (a, b, c, d, f, k) {
  418. if (0 === c)
  419. return k ?
  420. a : b;
  421. var e = Math.sin(c);
  422. c = Math.cos(c);
  423. a -= d;
  424. b -= f;
  425. var r = a * e;
  426. a = a * c - b * e;
  427. b = b * c + r;
  428. return k ? a + d : b + f
  429. };
  430. Na = function (a, b, c, d) {
  431. a = c - a;
  432. b = d - b;
  433. return Math.sqrt(a * a + b * b)
  434. };
  435. Oa = function (a, b) {
  436. return !a !== !b
  437. };
  438. Pa = function (a) {
  439. for (var b in a)
  440. if (a.hasOwnProperty(b))
  441. return !0;
  442. return !1
  443. };
  444. Qa = function (a) {
  445. for (var b in a)
  446. a.hasOwnProperty(b) && delete a[b]
  447. };
  448. var p = +new Date;
  449. Ra = function () {
  450. if ("undefined" !== typeof window.performance) {
  451. var a = window.performance;
  452. if ("undefined" !== typeof a.now)
  453. return a.now();
  454. if ("undefined" !== typeof a.webkitNow)
  455. return a.webkitNow();
  456. if ("undefined" !== typeof a.mozNow)
  457. return a.mozNow();
  458. if ("undefined" !== typeof a.msNow)
  459. return a.msNow()
  460. }
  461. return Date.now() - p
  462. };
  463. var q = !1,
  464. r = q = !1;
  465. "undefined" !== typeof window && (q = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent), q = !q && /safari/i.test(navigator.userAgent), r = window.c2ejecta);
  466. var v = !q && !r && "undefined" !== typeof Set && "undefined" !== typeof Set.prototype.forEach;
  467. d.prototype.contains = function (a) {
  468. return this.fg() ? !1 : v ? this.fh.has(a) : this.Lh && this.Lh.hasOwnProperty(a)
  469. };
  470. d.prototype.add =
  471. function (a) {
  472. if (v)
  473. this.fh.has(a) || (this.fh.add(a), this.Ei = !1);
  474. else {
  475. var b = a.toString(),
  476. c = this.Lh;
  477. c ? c.hasOwnProperty(b) || (c[b] = a, this.ml++, this.Ei = !1) : (this.Lh = {}, this.Lh[b] = a, this.ml = 1, this.Ei = !1)
  478. }
  479. };
  480. d.prototype.remove = function (a) {
  481. if (!this.fg())
  482. if (v)
  483. this.fh.has(a) && (this.fh["delete"](a), this.Ei = !1);
  484. else if (this.Lh) {
  485. a = a.toString();
  486. var b = this.Lh;
  487. b.hasOwnProperty(a) && (delete b[a], this.ml--, this.Ei = !1)
  488. }
  489. };
  490. d.prototype.clear = function () {
  491. this.fg() || (v ? this.fh.clear() : (this.Lh = null, this.ml = 0), this.Wl.length = 0,
  492. this.Ei = !0)
  493. };
  494. d.prototype.fg = function () {
  495. return 0 === this.count()
  496. };
  497. d.prototype.count = function () {
  498. return v ? this.fh.size : this.ml
  499. };
  500. var u = null,
  501. y = 0;
  502. d.prototype.HF = function () {
  503. if (!this.Ei) {
  504. if (v)
  505. this.Wl.length = this.fh.size, u = this.Wl, y = 0, this.fh.forEach(e), u = null, y = 0;
  506. else {
  507. var a = this.Wl;
  508. a.length = this.ml;
  509. var b,
  510. c = 0,
  511. d = this.Lh;
  512. if (d)
  513. for (b in d)
  514. d.hasOwnProperty(b) && (a[c++] = d[b])
  515. }
  516. this.Ei = !0
  517. }
  518. };
  519. d.prototype.kh = function () {
  520. this.HF();
  521. return this.Wl
  522. };
  523. ea = d;
  524. new ea;
  525. f.prototype.add = function (a) {
  526. this.y = a - this.F;
  527. this.mr = this.Cb + this.y;
  528. this.F = this.mr - this.Cb - this.y;
  529. this.Cb = this.mr
  530. };
  531. f.prototype.reset = function () {
  532. this.Cb = this.mr = this.y = this.F = 0
  533. };
  534. Sa = f;
  535. Va = function (a) {
  536. return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
  537. };
  538. g.prototype.ao = function (a) {
  539. this.lz = a;
  540. this.nf = a.length / 2;
  541. this.Ec.length = a.length;
  542. this.kp = this.lp = -1;
  543. this.cx = 0
  544. };
  545. g.prototype.gk = function () {
  546. return !this.lz.length
  547. };
  548. g.prototype.Ta = function () {
  549. for (var a = this.Ec, b = a[0], c = b, d = a[1], f = d, k, e, r = 1, g = this.nf; r < g; ++r)
  550. e = 2 * r, k = a[e], e = a[e + 1], k < b && (b = k), k > c && (c = k), e < d && (d = e), e > f && (f = e);
  551. this.bp =
  552. b;
  553. this.cp = c;
  554. this.dp = d;
  555. this.$o = f
  556. };
  557. g.prototype.$n = function (a, b, c) {
  558. this.Ec.length = 8;
  559. this.nf = 4;
  560. var d = this.Ec;
  561. d[0] = a.left - b;
  562. d[1] = a.top - c;
  563. d[2] = a.right - b;
  564. d[3] = a.top - c;
  565. d[4] = a.right - b;
  566. d[5] = a.bottom - c;
  567. d[6] = a.left - b;
  568. d[7] = a.bottom - c;
  569. this.lp = a.right - a.left;
  570. this.kp = a.bottom - a.top;
  571. this.Ta()
  572. };
  573. g.prototype.Ql = function (a, b, c, d, f) {
  574. this.Ec.length = 8;
  575. this.nf = 4;
  576. var k = this.Ec;
  577. k[0] = a.ic - b;
  578. k[1] = a.jc - c;
  579. k[2] = a.Dd - b;
  580. k[3] = a.Ed - c;
  581. k[4] = a.vd - b;
  582. k[5] = a.wd - c;
  583. k[6] = a.td - b;
  584. k[7] = a.ud - c;
  585. this.lp = d;
  586. this.kp = f;
  587. this.Ta()
  588. };
  589. g.prototype.Cz = function (a) {
  590. this.nf =
  591. a.nf;
  592. za(this.Ec, a.Ec);
  593. this.bp = a.bp;
  594. this.dp - a.dp;
  595. this.cp = a.cp;
  596. this.$o = a.$o
  597. };
  598. g.prototype.Oj = function (a, b, c) {
  599. if (this.lp !== a || this.kp !== b || this.cx !== c) {
  600. this.lp = a;
  601. this.kp = b;
  602. this.cx = c;
  603. var d,
  604. f,
  605. k,
  606. e,
  607. r,
  608. g = 0,
  609. h = 1,
  610. u = this.lz,
  611. l = this.Ec;
  612. 0 !== c && (g = Math.sin(c), h = Math.cos(c));
  613. c = 0;
  614. for (k = this.nf; c < k; c++)
  615. d = 2 * c, f = d + 1, e = u[d] * a, r = u[f] * b, l[d] = e * h - r * g, l[f] = r * h + e * g;
  616. this.Ta()
  617. }
  618. };
  619. g.prototype.Fe = function (a, b) {
  620. var c = this.Ec;
  621. if (a === c[0] && b === c[1])
  622. return !0;
  623. var d,
  624. f,
  625. k,
  626. e = this.nf,
  627. r = this.bp - 110,
  628. g = this.dp - 101,
  629. h = this.cp + 131,
  630. u = this.$o + 120,
  631. l,
  632. y,
  633. v = 0,
  634. m = 0;
  635. for (d = 0; d < e; d++)
  636. f = 2 * d, k = 2 * ((d + 1) % e), l = c[f], f = c[f + 1], y = c[k], k = c[k + 1], ua(r, g, a, b, l, f, y, k) && v++, ua(h, u, a, b, l, f, y, k) && m++;
  637. return 1 === v % 2 || 1 === m % 2
  638. };
  639. g.prototype.Zm = function (a, b, c) {
  640. var d = a.Ec,
  641. f = this.Ec;
  642. if (this.Fe(d[0] + b, d[1] + c) || a.Fe(f[0] - b, f[1] - c))
  643. return !0;
  644. var k,
  645. e,
  646. r,
  647. g,
  648. h,
  649. u,
  650. l,
  651. y,
  652. v,
  653. m,
  654. n,
  655. F;
  656. k = 0;
  657. for (g = this.nf; k < g; k++)
  658. for (e = 2 * k, r = 2 * ((k + 1) % g), y = f[e], e = f[e + 1], v = f[r], m = f[r + 1], r = 0, l = a.nf; r < l; r++)
  659. if (h = 2 * r, u = 2 * ((r + 1) % l), n = d[h] + b, h = d[h + 1] + c, F = d[u] + b, u = d[u + 1] + c, ua(y, e, v, m, n, h, F, u))
  660. return !0;
  661. return !1
  662. };
  663. Wa = g;
  664. h.prototype.et =
  665. function (a, b, c) {
  666. var d;
  667. d = this.cells[a];
  668. return d ? (d = d[b]) ? d : c ? (d = m(this, a, b), this.cells[a][b] = d) : null : c ? (d = m(this, a, b), this.cells[a] = {}, this.cells[a][b] = d) : null
  669. };
  670. h.prototype.Uo = function (a) {
  671. return sa(a / this.ZB)
  672. };
  673. h.prototype.Vo = function (a) {
  674. return sa(a / this.YB)
  675. };
  676. h.prototype.update = function (a, b, c) {
  677. var d,
  678. f,
  679. k,
  680. e,
  681. r;
  682. if (b)
  683. for (d = b.left, f = b.right; d <= f; ++d)
  684. for (k = b.top, e = b.bottom; k <= e; ++k)
  685. if (!c || !c.Fe(d, k))
  686. if (r = this.et(d, k, !1))
  687. r.remove(a), r.fg() && (r.Ln.clear(), 1E3 > F.length && F.push(r), this.cells[d][k] = null);
  688. if (c)
  689. for (d =
  690. c.left, f = c.right; d <= f; ++d)
  691. for (k = c.top, e = c.bottom; k <= e; ++k)
  692. b && b.Fe(d, k) || this.et(d, k, !0).RD(a)
  693. };
  694. h.prototype.nz = function (a, b) {
  695. var c,
  696. d,
  697. f,
  698. k,
  699. e,
  700. r;
  701. c = this.Uo(a.left);
  702. f = this.Vo(a.top);
  703. d = this.Uo(a.right);
  704. for (e = this.Vo(a.bottom); c <= d; ++c)
  705. for (k = f; k <= e; ++k)
  706. (r = this.et(c, k, !1)) && r.xC(b)
  707. };
  708. Xa = h;
  709. var F = [];
  710. l.prototype.fg = function () {
  711. return this.Ln.fg()
  712. };
  713. l.prototype.RD = function (a) {
  714. this.Ln.add(a)
  715. };
  716. l.prototype.remove = function (a) {
  717. this.Ln.remove(a)
  718. };
  719. l.prototype.xC = function (a) {
  720. Aa(a, this.Ln.kh())
  721. };
  722. da = l;
  723. var H = "lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
  724. Ya = function (a) {
  725. return 0 >= a || 11 <= a ? "source-over" : H[a - 1]
  726. };
  727. ab = function (a, b, c) {
  728. if (c)
  729. switch (a.Pd = c.ONE, a.Jd = c.ONE_MINUS_SRC_ALPHA, b) {
  730. case 1:
  731. a.Pd = c.ONE;
  732. a.Jd = c.ONE;
  733. break;
  734. case 3:
  735. a.Pd = c.ONE;
  736. a.Jd = c.ZERO;
  737. break;
  738. case 4:
  739. a.Pd = c.ONE_MINUS_DST_ALPHA;
  740. a.Jd = c.ONE;
  741. break;
  742. case 5:
  743. a.Pd = c.DST_ALPHA;
  744. a.Jd = c.ZERO;
  745. break;
  746. case 6:
  747. a.Pd = c.ZERO;
  748. a.Jd = c.SRC_ALPHA;
  749. break;
  750. case 7:
  751. a.Pd = c.ONE_MINUS_DST_ALPHA;
  752. a.Jd = c.ZERO;
  753. break;
  754. case 8:
  755. a.Pd = c.ZERO;
  756. a.Jd = c.ONE_MINUS_SRC_ALPHA;
  757. break;
  758. case 9:
  759. a.Pd = c.DST_ALPHA;
  760. a.Jd = c.ONE_MINUS_SRC_ALPHA;
  761. break;
  762. case 10:
  763. a.Pd =
  764. c.ONE_MINUS_DST_ALPHA,
  765. a.Jd = c.SRC_ALPHA
  766. }
  767. };
  768. bb = function (a) {
  769. return ra(1E6 * a) / 1E6
  770. };
  771. cb = function (a, b) {
  772. return "string" !== typeof a || "string" !== typeof b || a.length !== b.length ? !1 : a === b ? !0 : a.toLowerCase() === b.toLowerCase()
  773. }
  774. })();
  775. var $b = "undefined" !== typeof Float32Array ? Float32Array : Array;
  776. function ac(a) {
  777. var c = new $b(3);
  778. a && (c[0] = a[0], c[1] = a[1], c[2] = a[2]);
  779. return c
  780. }
  781. function bc(a) {
  782. var c = new $b(16);
  783. a && (c[0] = a[0], c[1] = a[1], c[2] = a[2], c[3] = a[3], c[4] = a[4], c[5] = a[5], c[6] = a[6], c[7] = a[7], c[8] = a[8], c[9] = a[9], c[10] = a[10], c[11] = a[11], c[12] = a[12], c[13] = a[13], c[14] = a[14], c[15] = a[15]);
  784. return c
  785. }
  786. function cc(a, c) {
  787. c[0] = a[0];
  788. c[1] = a[1];
  789. c[2] = a[2];
  790. c[3] = a[3];
  791. c[4] = a[4];
  792. c[5] = a[5];
  793. c[6] = a[6];
  794. c[7] = a[7];
  795. c[8] = a[8];
  796. c[9] = a[9];
  797. c[10] = a[10];
  798. c[11] = a[11];
  799. c[12] = a[12];
  800. c[13] = a[13];
  801. c[14] = a[14];
  802. c[15] = a[15]
  803. }
  804. function dc(a, c) {
  805. var b = c[0],
  806. d = c[1];
  807. c = c[2];
  808. a[0] *= b;
  809. a[1] *= b;
  810. a[2] *= b;
  811. a[3] *= b;
  812. a[4] *= d;
  813. a[5] *= d;
  814. a[6] *= d;
  815. a[7] *= d;
  816. a[8] *= c;
  817. a[9] *= c;
  818. a[10] *= c;
  819. a[11] *= c
  820. }
  821. function ec(a, c, b, d) {
  822. d || (d = bc());
  823. var e,
  824. f,
  825. g,
  826. h,
  827. m,
  828. l,
  829. n,
  830. k,
  831. p = a[0],
  832. q = a[1];
  833. a = a[2];
  834. f = b[0];
  835. g = b[1];
  836. e = b[2];
  837. b = c[1];
  838. l = c[2];
  839. p === c[0] && q === b && a === l ? (a = d, a[0] = 1, a[1] = 0, a[2] = 0, a[3] = 0, a[4] = 0, a[5] = 1, a[6] = 0, a[7] = 0, a[8] = 0, a[9] = 0, a[10] = 1, a[11] = 0, a[12] = 0, a[13] = 0, a[14] = 0, a[15] = 1) : (b = p - c[0], l = q - c[1], n = a - c[2], k = 1 / Math.sqrt(b * b + l * l + n * n), b *= k, l *= k, n *= k, c = g * n - e * l, e = e * b - f * n, f = f * l - g * b, (k = Math.sqrt(c * c + e * e + f * f)) ? (k = 1 / k, c *= k, e *= k, f *= k) : f = e = c = 0, g = l * f - n * e, h = n * c - b * f, m = b * e - l * c, (k = Math.sqrt(g * g + h * h + m * m)) ? (k = 1 / k, g *= k, h *= k, m *= k) : m = h = g = 0,
  840. d[0] = c, d[1] = g, d[2] = b, d[3] = 0, d[4] = e, d[5] = h, d[6] = l, d[7] = 0, d[8] = f, d[9] = m, d[10] = n, d[11] = 0, d[12] = - (c * p + e * q + f * a), d[13] = - (g * p + h * q + m * a), d[14] = - (b * p + l * q + n * a), d[15] = 1)
  841. }
  842. (function () {
  843. function a(a) {
  844. this.zt = /msie/i.test(navigator.userAgent) || /trident/i.test(navigator.userAgent);
  845. this.height = this.width = 0;
  846. this.gx = ac([0, 0, 100]);
  847. this.yy = ac([0, 0, 0]);
  848. this.Xz = ac([0, 1, 0]);
  849. this.Jv = ac([1, 1, 1]);
  850. this.zx = !0;
  851. this.qu = bc();
  852. this.If = bc();
  853. this.ny = bc();
  854. this.Ls = bc();
  855. this.ca = a;
  856. this.Yx()
  857. }
  858. function c(a, b, c) {
  859. this.ca = a;
  860. this.bo = b;
  861. this.name = c;
  862. this.Ef = a.getAttribLocation(b, "aPos");
  863. this.Yi = a.getAttribLocation(b, "aTex");
  864. this.wy = a.getUniformLocation(b, "matP");
  865. this.rl = a.getUniformLocation(b, "matMV");
  866. this.sl = a.getUniformLocation(b, "opacity");
  867. this.xy = a.getUniformLocation(b, "samplerFront");
  868. this.qn = a.getUniformLocation(b, "samplerBack");
  869. this.nk = a.getUniformLocation(b, "destStart");
  870. this.mk = a.getUniformLocation(b, "destEnd");
  871. this.Wt = a.getUniformLocation(b, "seconds");
  872. this.Vt = a.getUniformLocation(b, "pixelWidth");
  873. this.Ut = a.getUniformLocation(b, "pixelHeight");
  874. this.pn = a.getUniformLocation(b, "layerScale");
  875. this.on = a.getUniformLocation(b, "layerAngle");
  876. this.rn = a.getUniformLocation(b, "viewOrigin");
  877. this.OD = !!(this.Vt ||
  878. this.Ut || this.Wt || this.qn || this.nk || this.mk || this.pn || this.on || this.rn);
  879. this.sl && a.uniform1f(this.sl, 1);
  880. this.xy && a.uniform1i(this.xy, 0);
  881. this.qn && a.uniform1i(this.qn, 1);
  882. this.nk && a.uniform2f(this.nk, 0, 0);
  883. this.mk && a.uniform2f(this.mk, 1, 1);
  884. this.pn && a.uniform1f(this.pn, 1);
  885. this.on && a.uniform1f(this.on, 0);
  886. this.rn && a.uniform2f(this.rn, 0, 0);
  887. this.ak = !1
  888. }
  889. function b(a, b) {
  890. this.type = a;
  891. this.qa = b;
  892. this.ca = b.ca;
  893. this.Pg = this.Pf = this.Wy = 0;
  894. this.zb = this.wg = null;
  895. this.Ez = []
  896. }
  897. a.prototype.Yx = function () {
  898. var a = this.ca,
  899. b;
  900. this.oy =
  901. 1;
  902. this.ik = this.hk = null;
  903. this.rx = 1;
  904. a.clearColor(0, 0, 0, 0);
  905. a.clear(a.COLOR_BUFFER_BIT);
  906. a.enable(a.BLEND);
  907. a.blendFunc(a.ONE, a.ONE_MINUS_SRC_ALPHA);
  908. a.disable(a.CULL_FACE);
  909. a.disable(a.DEPTH_TEST);
  910. this.qy = a.ONE;
  911. this.my = a.ONE_MINUS_SRC_ALPHA;
  912. this.Ku = a.createBuffer();
  913. a.bindBuffer(a.ARRAY_BUFFER, this.Ku);
  914. this.qo = Array(4);
  915. this.ho = Array(4);
  916. for (b = 0; 4 > b; b++)
  917. this.qo[b] = a.createBuffer(), a.bindBuffer(a.ARRAY_BUFFER, this.qo[b]), this.ho[b] = a.createBuffer(), a.bindBuffer(a.ARRAY_BUFFER, this.ho[b]);
  918. this.Bh = 0;
  919. this.QD = a.createBuffer();
  920. a.bindBuffer(a.ELEMENT_ARRAY_BUFFER, this.QD);
  921. this.Gv = new Float32Array(16E3);
  922. this.sv = new Float32Array(16E3);
  923. this.UE = new Float32Array(32E3);
  924. for (var c = new Uint16Array(12E3), d = b = 0; 12E3 > b; )
  925. c[b++] = d, c[b++] = d + 1, c[b++] = d + 2, c[b++] = d, c[b++] = d + 2, c[b++] = d + 3, d += 4;
  926. a.bufferData(a.ELEMENT_ARRAY_BUFFER, c, a.STATIC_DRAW);
  927. this.Lu = this.mh = 0;
  928. this.$c = [];
  929. b = this.Is({
  930. src : "varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"
  931. },
  932. "attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}", "<default>");
  933. this.$c.push(b);
  934. b = this.Is({
  935. src : "uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"
  936. }, "attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}",
  937. "<point>");
  938. this.$c.push(b);
  939. for (var e in fc)
  940. fc.hasOwnProperty(e) && this.$c.push(this.Is(fc[e], "attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}", e));
  941. a.activeTexture(a.TEXTURE0);
  942. a.bindTexture(a.TEXTURE_2D, null);
  943. this.Di = [];
  944. this.zh = 0;
  945. this.Ie = !1;
  946. this.tx = this.hn = -1;
  947. this.Im = null;
  948. this.gD = a.createFramebuffer();
  949. this.tz =
  950. null;
  951. this.tj = ac([0, 0, 0]);
  952. this.Iy = a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];
  953. 2048 < this.Iy && (this.Iy = 2048);
  954. this.hh(0)
  955. };
  956. a.prototype.Is = function (a, b, d) {
  957. var e = this.ca,
  958. l = e.createShader(e.FRAGMENT_SHADER);
  959. e.shaderSource(l, a.src);
  960. e.compileShader(l);
  961. if (!e.getShaderParameter(l, e.COMPILE_STATUS))
  962. return e.deleteShader(l), null;
  963. var n = e.createShader(e.VERTEX_SHADER);
  964. e.shaderSource(n, b);
  965. e.compileShader(n);
  966. if (!e.getShaderParameter(n, e.COMPILE_STATUS))
  967. return e.deleteShader(l), e.deleteShader(n), null;
  968. b = e.createProgram();
  969. e.attachShader(b, l);
  970. e.attachShader(b, n);
  971. e.linkProgram(b);
  972. if (!e.getProgramParameter(b, e.LINK_STATUS))
  973. return e.deleteShader(l), e.deleteShader(n), e.deleteProgram(b), null;
  974. e.useProgram(b);
  975. e.deleteShader(l);
  976. e.deleteShader(n);
  977. d = new c(e, b, d);
  978. d.Ts = a.Ts || 0;
  979. d.Us = a.Us || 0;
  980. d.ox = !!a.ox;
  981. d.Tw = !!a.Tw;
  982. d.Ga = a.Ga || [];
  983. a = 0;
  984. for (l = d.Ga.length; a < l; a++)
  985. d.Ga[a][1] = e.getUniformLocation(b, d.Ga[a][0]), e.uniform1f(d.Ga[a][1], 0);
  986. return d
  987. };
  988. a.prototype.jt = function (a) {
  989. var b,
  990. c;
  991. b = 0;
  992. for (c = this.$c.length; b < c; b++)
  993. if (this.$c[b].name === a)
  994. return b;
  995. return -1
  996. };
  997. a.prototype.kz = function (a, b, c) {
  998. var d = this.If,
  999. e = this.qu,
  1000. n = [0, 0, 0, 0, 0, 0, 0, 0];
  1001. n[0] = d[0] * a + d[4] * b + d[12];
  1002. n[1] = d[1] * a + d[5] * b + d[13];
  1003. n[2] = d[2] * a + d[6] * b + d[14];
  1004. n[3] = d[3] * a + d[7] * b + d[15];
  1005. n[4] = e[0] * n[0] + e[4] * n[1] + e[8] * n[2] + e[12] * n[3];
  1006. n[5] = e[1] * n[0] + e[5] * n[1] + e[9] * n[2] + e[13] * n[3];
  1007. n[6] = e[2] * n[0] + e[6] * n[1] + e[10] * n[2] + e[14] * n[3];
  1008. n[7] = -n[2];
  1009. 0 !== n[7] && (n[7] = 1 / n[7], n[4] *= n[7], n[5] *= n[7], n[6] *= n[7], c[0] = (0.5 * n[4] + 0.5) * this.width, c[1] = (0.5 * n[5] + 0.5) * this.height)
  1010. };
  1011. a.prototype.Ol = function (a, b, c) {
  1012. if (this.width !==
  1013. a || this.height !== b || c) {
  1014. this.Wj();
  1015. this.width = a;
  1016. this.height = b;
  1017. this.ca.viewport(0, 0, a, b);
  1018. b = a / b;
  1019. var d = this.qu,
  1020. e;
  1021. e = 1 * Math.tan(45 * Math.PI / 360);
  1022. b *= e;
  1023. a = -b;
  1024. c = -e;
  1025. d || (d = bc());
  1026. var n = b - a,
  1027. k = e - c;
  1028. d[0] = 2 / n;
  1029. d[1] = 0;
  1030. d[2] = 0;
  1031. d[3] = 0;
  1032. d[4] = 0;
  1033. d[5] = 2 / k;
  1034. d[6] = 0;
  1035. d[7] = 0;
  1036. d[8] = (b + a) / n;
  1037. d[9] = (e + c) / k;
  1038. d[10] = -1001 / 999;
  1039. d[11] = -1;
  1040. d[12] = 0;
  1041. d[13] = 0;
  1042. d[14] = -2E3 / 999;
  1043. d[15] = 0;
  1044. ec(this.gx, this.yy, this.Xz, this.If);
  1045. a = [0, 0];
  1046. b = [0, 0];
  1047. this.kz(0, 0, a);
  1048. this.kz(1, 1, b);
  1049. this.Jv[0] = 1 / (b[0] - a[0]);
  1050. this.Jv[1] = -1 / (b[1] - a[1]);
  1051. a = 0;
  1052. for (b = this.$c.length; a < b; a++)
  1053. c = this.$c[a],
  1054. c.ak = !1, c.wy && (this.ca.useProgram(c.bo), this.ca.uniformMatrix4fv(c.wy, !1, this.qu));
  1055. this.ca.useProgram(this.$c[this.hn].bo);
  1056. this.ca.bindTexture(this.ca.TEXTURE_2D, null);
  1057. this.ca.activeTexture(this.ca.TEXTURE1);
  1058. this.ca.bindTexture(this.ca.TEXTURE_2D, null);
  1059. this.ca.activeTexture(this.ca.TEXTURE0);
  1060. this.ik = this.hk = null
  1061. }
  1062. };
  1063. a.prototype.mj = function () {
  1064. ec(this.gx, this.yy, this.Xz, this.If);
  1065. dc(this.If, this.Jv)
  1066. };
  1067. a.prototype.translate = function (a, b) {
  1068. if (0 !== a || 0 !== b) {
  1069. this.tj[0] = a;
  1070. this.tj[1] = b;
  1071. this.tj[2] = 0;
  1072. var c = this.If,
  1073. d = this.tj,
  1074. e = d[0],
  1075. n = d[1],
  1076. d = d[2];
  1077. c[12] = c[0] * e + c[4] * n + c[8] * d + c[12];
  1078. c[13] = c[1] * e + c[5] * n + c[9] * d + c[13];
  1079. c[14] = c[2] * e + c[6] * n + c[10] * d + c[14];
  1080. c[15] = c[3] * e + c[7] * n + c[11] * d + c[15]
  1081. }
  1082. };
  1083. a.prototype.scale = function (a, b) {
  1084. if (1 !== a || 1 !== b)
  1085. this.tj[0] = a, this.tj[1] = b, this.tj[2] = 1, dc(this.If, this.tj)
  1086. };
  1087. a.prototype.uz = function (a) {
  1088. if (0 !== a) {
  1089. var b = this.If,
  1090. c,
  1091. d = Math.sin(a);
  1092. a = Math.cos(a);
  1093. var e = b[0],
  1094. n = b[1],
  1095. k = b[2],
  1096. p = b[3],
  1097. q = b[4],
  1098. r = b[5],
  1099. v = b[6],
  1100. u = b[7];
  1101. c ? b !== c && (c[8] = b[8], c[9] = b[9], c[10] = b[10], c[11] = b[11], c[12] = b[12], c[13] = b[13], c[14] = b[14],
  1102. c[15] = b[15]) : c = b;
  1103. c[0] = e * a + q * d;
  1104. c[1] = n * a + r * d;
  1105. c[2] = k * a + v * d;
  1106. c[3] = p * a + u * d;
  1107. c[4] = e * -d + q * a;
  1108. c[5] = n * -d + r * a;
  1109. c[6] = k * -d + v * a;
  1110. c[7] = p * -d + u * a
  1111. }
  1112. };
  1113. a.prototype.vj = function () {
  1114. for (var a = !1, b = 0; 16 > b; b++)
  1115. if (this.ny[b] !== this.If[b]) {
  1116. a = !0;
  1117. break
  1118. }
  1119. a && (a = this.tg(), a.type = 5, a.zb ? cc(this.If, a.zb) : a.zb = bc(this.If), cc(this.If, this.ny), this.Ie = !1)
  1120. };
  1121. b.prototype.tC = function () {
  1122. this.ca.bindTexture(this.ca.TEXTURE_2D, this.wg)
  1123. };
  1124. b.prototype.uC = function () {
  1125. var a = this.ca;
  1126. a.activeTexture(a.TEXTURE1);
  1127. a.bindTexture(a.TEXTURE_2D, this.wg);
  1128. a.activeTexture(a.TEXTURE0)
  1129. };
  1130. b.prototype.qC = function () {
  1131. var a = this.Wy,
  1132. b = this.qa;
  1133. b.rx = a;
  1134. b = b.Im;
  1135. b.sl && this.ca.uniform1f(b.sl, a)
  1136. };
  1137. b.prototype.nC = function () {
  1138. this.ca.drawElements(this.ca.TRIANGLES, this.Pg, this.ca.UNSIGNED_SHORT, 2 * this.Pf)
  1139. };
  1140. b.prototype.pC = function () {
  1141. this.ca.blendFunc(this.Pf, this.Pg)
  1142. };
  1143. b.prototype.vC = function () {
  1144. var a,
  1145. b,
  1146. c,
  1147. d = this.qa.$c,
  1148. e = this.qa.tx;
  1149. a = 0;
  1150. for (b = d.length; a < b; a++)
  1151. c = d[a], a === e && c.rl ? (this.ca.uniformMatrix4fv(c.rl, !1, this.zb), c.ak = !0) : c.ak = !1;
  1152. cc(this.zb, this.qa.Ls)
  1153. };
  1154. b.prototype.oC = function () {
  1155. var a = this.ca,
  1156. b =
  1157. this.qa;
  1158. this.wg ? (b.ik === this.wg && (a.activeTexture(a.TEXTURE1), a.bindTexture(a.TEXTURE_2D, null), b.ik = null, a.activeTexture(a.TEXTURE0)), a.bindFramebuffer(a.FRAMEBUFFER, b.gD), a.framebufferTexture2D(a.FRAMEBUFFER, a.COLOR_ATTACHMENT0, a.TEXTURE_2D, this.wg, 0)) : (a.framebufferTexture2D(a.FRAMEBUFFER, a.COLOR_ATTACHMENT0, a.TEXTURE_2D, null, 0), a.bindFramebuffer(a.FRAMEBUFFER, null))
  1159. };
  1160. b.prototype.iC = function () {
  1161. var a = this.ca;
  1162. 0 === this.Pf ? (a.clearColor(this.zb[0], this.zb[1], this.zb[2], this.zb[3]), a.clear(a.COLOR_BUFFER_BIT)) :
  1163. (a.enable(a.SCISSOR_TEST), a.scissor(this.zb[0], this.zb[1], this.zb[2], this.zb[3]), a.clearColor(0, 0, 0, 0), a.clear(this.ca.COLOR_BUFFER_BIT), a.disable(a.SCISSOR_TEST))
  1164. };
  1165. b.prototype.mC = function () {
  1166. var a = this.ca,
  1167. b = this.qa,
  1168. c = b.$c[1];
  1169. a.useProgram(c.bo);
  1170. !c.ak && c.rl && (a.uniformMatrix4fv(c.rl, !1, b.Ls), c.ak = !0);
  1171. a.enableVertexAttribArray(c.Ef);
  1172. a.bindBuffer(a.ARRAY_BUFFER, b.Ku);
  1173. a.vertexAttribPointer(c.Ef, 4, a.FLOAT, !1, 0, 0);
  1174. a.drawArrays(a.POINTS, this.Pf / 4, this.Pg);
  1175. c = b.Im;
  1176. a.useProgram(c.bo);
  1177. 0 <= c.Ef && (a.enableVertexAttribArray(c.Ef),
  1178. a.bindBuffer(a.ARRAY_BUFFER, b.qo[b.Bh]), a.vertexAttribPointer(c.Ef, 2, a.FLOAT, !1, 0, 0));
  1179. 0 <= c.Yi && (a.enableVertexAttribArray(c.Yi), a.bindBuffer(a.ARRAY_BUFFER, b.ho[b.Bh]), a.vertexAttribPointer(c.Yi, 2, a.FLOAT, !1, 0, 0))
  1180. };
  1181. b.prototype.rC = function () {
  1182. var a = this.ca,
  1183. b = this.qa,
  1184. c = b.$c[this.Pf];
  1185. b.tx = this.Pf;
  1186. b.Im = c;
  1187. a.useProgram(c.bo);
  1188. !c.ak && c.rl && (a.uniformMatrix4fv(c.rl, !1, b.Ls), c.ak = !0);
  1189. c.sl && a.uniform1f(c.sl, b.rx);
  1190. 0 <= c.Ef && (a.enableVertexAttribArray(c.Ef), a.bindBuffer(a.ARRAY_BUFFER, b.qo[b.Bh]), a.vertexAttribPointer(c.Ef,
  1191. 2, a.FLOAT, !1, 0, 0));
  1192. 0 <= c.Yi && (a.enableVertexAttribArray(c.Yi), a.bindBuffer(a.ARRAY_BUFFER, b.ho[b.Bh]), a.vertexAttribPointer(c.Yi, 2, a.FLOAT, !1, 0, 0))
  1193. };
  1194. b.prototype.sC = function () {
  1195. var a,
  1196. b,
  1197. c = this.qa.Im,
  1198. d = this.ca;
  1199. a = this.zb;
  1200. c.qn && this.qa.ik !== this.wg && (d.activeTexture(d.TEXTURE1), d.bindTexture(d.TEXTURE_2D, this.wg), this.qa.ik = this.wg, d.activeTexture(d.TEXTURE0));
  1201. c.Vt && d.uniform1f(c.Vt, a[0]);
  1202. c.Ut && d.uniform1f(c.Ut, a[1]);
  1203. c.nk && d.uniform2f(c.nk, a[2], a[3]);
  1204. c.mk && d.uniform2f(c.mk, a[4], a[5]);
  1205. c.pn && d.uniform1f(c.pn,
  1206. a[6]);
  1207. c.on && d.uniform1f(c.on, a[7]);
  1208. c.rn && d.uniform2f(c.rn, a[8], a[9]);
  1209. c.Wt && d.uniform1f(c.Wt, Ra() / 1E3);
  1210. if (c.Ga.length)
  1211. for (a = 0, b = c.Ga.length; a < b; a++)
  1212. d.uniform1f(c.Ga[a][1], this.Ez[a])
  1213. };
  1214. a.prototype.tg = function () {
  1215. this.zh === this.Di.length && this.Di.push(new b(0, this));
  1216. return this.Di[this.zh++]
  1217. };
  1218. a.prototype.Wj = function () {
  1219. if (0 !== this.zh && !this.ca.isContextLost()) {
  1220. var a = this.ca;
  1221. 0 < this.Lu && (a.bindBuffer(a.ARRAY_BUFFER, this.Ku), a.bufferData(a.ARRAY_BUFFER, this.UE.subarray(0, this.Lu), a.STREAM_DRAW), b && 0 <= b.Ef &&
  1222. "<point>" === b.name && a.vertexAttribPointer(b.Ef, 4, a.FLOAT, !1, 0, 0));
  1223. if (0 < this.mh) {
  1224. var b = this.Im;
  1225. a.bindBuffer(a.ARRAY_BUFFER, this.qo[this.Bh]);
  1226. a.bufferData(a.ARRAY_BUFFER, this.Gv.subarray(0, this.mh), a.STREAM_DRAW);
  1227. b && 0 <= b.Ef && "<point>" !== b.name && a.vertexAttribPointer(b.Ef, 2, a.FLOAT, !1, 0, 0);
  1228. a.bindBuffer(a.ARRAY_BUFFER, this.ho[this.Bh]);
  1229. a.bufferData(a.ARRAY_BUFFER, this.sv.subarray(0, this.mh), a.STREAM_DRAW);
  1230. b && 0 <= b.Yi && "<point>" !== b.name && a.vertexAttribPointer(b.Yi, 2, a.FLOAT, !1, 0, 0)
  1231. }
  1232. for (var c, a = 0, b = this.zh; a <
  1233. b; a++)
  1234. switch (c = this.Di[a], c.type) {
  1235. case 1:
  1236. c.nC();
  1237. break;
  1238. case 2:
  1239. c.tC();
  1240. break;
  1241. case 3:
  1242. c.qC();
  1243. break;
  1244. case 4:
  1245. c.pC();
  1246. break;
  1247. case 5:
  1248. c.vC();
  1249. break;
  1250. case 6:
  1251. c.oC();
  1252. break;
  1253. case 7:
  1254. c.iC();
  1255. break;
  1256. case 8:
  1257. c.mC();
  1258. break;
  1259. case 9:
  1260. c.rC();
  1261. break;
  1262. case 10:
  1263. c.sC();
  1264. break;
  1265. case 11:
  1266. c.uC()
  1267. }
  1268. this.Lu = this.mh = this.zh = 0;
  1269. this.Ie = !1;
  1270. this.Bh++;
  1271. 4 <= this.Bh && (this.Bh = 0)
  1272. }
  1273. };
  1274. a.prototype.Ml = function (a) {
  1275. if (a !== this.oy) {
  1276. var b = this.tg();
  1277. b.type = 3;
  1278. this.oy = b.Wy = a;
  1279. this.Ie = !1
  1280. }
  1281. };
  1282. a.prototype.of = function (a) {
  1283. if (a !== this.hk) {
  1284. var b = this.tg();
  1285. b.type = 2;
  1286. this.hk = b.wg = a;
  1287. this.Ie = !1
  1288. }
  1289. };
  1290. a.prototype.nj = function (a, b) {
  1291. if (a !== this.qy || b !== this.my) {
  1292. var c = this.tg();
  1293. c.type = 4;
  1294. c.Pf = a;
  1295. c.Pg = b;
  1296. this.qy = a;
  1297. this.my = b;
  1298. this.Ie = !1
  1299. }
  1300. };
  1301. a.prototype.yz = function () {
  1302. this.nj(this.ca.ONE, this.ca.ONE_MINUS_SRC_ALPHA)
  1303. };
  1304. a.prototype.Vq = function (a, b, c, d, e, n, k, p) {
  1305. 15992 <= this.mh && this.Wj();
  1306. var q = this.mh,
  1307. r = this.Gv,
  1308. v = this.sv;
  1309. if (this.Ie)
  1310. this.Di[this.zh - 1].Pg += 6;
  1311. else {
  1312. var u = this.tg();
  1313. u.type = 1;
  1314. u.Pf = 3 * (q / 4);
  1315. u.Pg = 6;
  1316. this.Ie = !0
  1317. }
  1318. r[q] = a;
  1319. v[q++] = 0;
  1320. r[q] = b;
  1321. v[q++] = 0;
  1322. r[q] = c;
  1323. v[q++] = 1;
  1324. r[q] = d;
  1325. v[q++] = 0;
  1326. r[q] = e;
  1327. v[q++] = 1;
  1328. r[q] =
  1329. n;
  1330. v[q++] = 1;
  1331. r[q] = k;
  1332. v[q++] = 0;
  1333. r[q] = p;
  1334. v[q++] = 1;
  1335. this.mh = q
  1336. };
  1337. a.prototype.kj = function (a, b, c, d, e, n, k, p, q) {
  1338. 15992 <= this.mh && this.Wj();
  1339. var r = this.mh,
  1340. v = this.Gv,
  1341. u = this.sv;
  1342. if (this.Ie)
  1343. this.Di[this.zh - 1].Pg += 6;
  1344. else {
  1345. var y = this.tg();
  1346. y.type = 1;
  1347. y.Pf = 3 * (r / 4);
  1348. y.Pg = 6;
  1349. this.Ie = !0
  1350. }
  1351. var y = q.left,
  1352. F = q.top,
  1353. H = q.right;
  1354. q = q.bottom;
  1355. v[r] = a;
  1356. u[r++] = y;
  1357. v[r] = b;
  1358. u[r++] = F;
  1359. v[r] = c;
  1360. u[r++] = H;
  1361. v[r] = d;
  1362. u[r++] = F;
  1363. v[r] = e;
  1364. u[r++] = H;
  1365. v[r] = n;
  1366. u[r++] = q;
  1367. v[r] = k;
  1368. u[r++] = y;
  1369. v[r] = p;
  1370. u[r++] = q;
  1371. this.mh = r
  1372. };
  1373. a.prototype.hh = function (a) {
  1374. if (this.hn !== a) {
  1375. if (!this.$c[a]) {
  1376. if (0 ===
  1377. this.hn)
  1378. return;
  1379. a = 0
  1380. }
  1381. var b = this.tg();
  1382. b.type = 9;
  1383. this.hn = b.Pf = a;
  1384. this.Ie = !1
  1385. }
  1386. };
  1387. a.prototype.Un = function (a) {
  1388. a = this.$c[a];
  1389. return !(!a.nk && !a.mk)
  1390. };
  1391. a.prototype.Ou = function (a) {
  1392. a = this.$c[a];
  1393. return !!(a.nk || a.mk || a.ox)
  1394. };
  1395. a.prototype.ZE = function (a) {
  1396. a = this.$c[a];
  1397. return 0 !== a.Ts || 0 !== a.Us
  1398. };
  1399. a.prototype.tD = function (a) {
  1400. return this.$c[a].Ts
  1401. };
  1402. a.prototype.uD = function (a) {
  1403. return this.$c[a].Us
  1404. };
  1405. a.prototype.vD = function (a, b) {
  1406. return this.$c[a].Ga[b][2]
  1407. };
  1408. a.prototype.Tq = function (a) {
  1409. return this.$c[a].Tw
  1410. };
  1411. a.prototype.Nl = function (a, b,
  1412. c, d, e, n, k, p, q, r, v, u) {
  1413. var y = this.$c[this.hn],
  1414. F,
  1415. H;
  1416. if (y.OD || u.length) {
  1417. F = this.tg();
  1418. F.type = 10;
  1419. F.zb ? cc(this.If, F.zb) : F.zb = bc();
  1420. H = F.zb;
  1421. H[0] = b;
  1422. H[1] = c;
  1423. H[2] = d;
  1424. H[3] = e;
  1425. H[4] = n;
  1426. H[5] = k;
  1427. H[6] = p;
  1428. H[7] = q;
  1429. H[8] = r;
  1430. H[9] = v;
  1431. F.wg = y.qn ? a : null;
  1432. if (u.length)
  1433. for (c = F.Ez, c.length = u.length, a = 0, b = u.length; a < b; a++)
  1434. c[a] = u[a];
  1435. this.Ie = !1
  1436. }
  1437. };
  1438. a.prototype.clear = function (a, b, c, d) {
  1439. var e = this.tg();
  1440. e.type = 7;
  1441. e.Pf = 0;
  1442. e.zb || (e.zb = bc());
  1443. e.zb[0] = a;
  1444. e.zb[1] = b;
  1445. e.zb[2] = c;
  1446. e.zb[3] = d;
  1447. this.Ie = !1
  1448. };
  1449. a.prototype.clearRect = function (a, b, c, d) {
  1450. if (!(0 > c || 0 > d)) {
  1451. var e =
  1452. this.tg();
  1453. e.type = 7;
  1454. e.Pf = 1;
  1455. e.zb || (e.zb = bc());
  1456. e.zb[0] = a;
  1457. e.zb[1] = b;
  1458. e.zb[2] = c;
  1459. e.zb[3] = d;
  1460. this.Ie = !1
  1461. }
  1462. };
  1463. a.prototype.YE = function () {
  1464. this.Wj();
  1465. this.ca.flush()
  1466. };
  1467. var d = [],
  1468. e = {};
  1469. a.prototype.xq = function (a, b, c) {
  1470. var m;
  1471. m = !1;
  1472. b = !!b;
  1473. var l = a.src + "," + m + "," + b + (m ? ",undefined" : ""),
  1474. n = null;
  1475. if ("undefined" !== typeof a.src && e.hasOwnProperty(l))
  1476. return n = e[l], n.jp++, n;
  1477. this.Wj();
  1478. var k = this.ca,
  1479. p = la(a.width) && la(a.height),
  1480. n = k.createTexture();
  1481. k.bindTexture(k.TEXTURE_2D, n);
  1482. k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !0);
  1483. var q = k.RGBA,
  1484. r = k.RGBA,
  1485. v = k.UNSIGNED_BYTE;
  1486. if (c && !this.zt)
  1487. switch (c) {
  1488. case 1:
  1489. r = q = k.RGB;
  1490. break;
  1491. case 2:
  1492. v = k.UNSIGNED_SHORT_4_4_4_4;
  1493. break;
  1494. case 3:
  1495. v = k.UNSIGNED_SHORT_5_5_5_1;
  1496. break;
  1497. case 4:
  1498. r = q = k.RGB,
  1499. v = k.UNSIGNED_SHORT_5_6_5
  1500. }
  1501. if (!p && m) {
  1502. c = document.createElement("canvas");
  1503. c.width = ma(a.width);
  1504. c.height = ma(a.height);
  1505. var u = c.getContext("2d");
  1506. u.webkitImageSmoothingEnabled = b;
  1507. u.mozImageSmoothingEnabled = b;
  1508. u.msImageSmoothingEnabled = b;
  1509. u.imageSmoothingEnabled = b;
  1510. u.drawImage(a, 0, 0, a.width, a.height, 0, 0, c.width, c.height);
  1511. k.texImage2D(k.TEXTURE_2D,
  1512. 0, q, r, v, c)
  1513. } else
  1514. k.texImage2D(k.TEXTURE_2D, 0, q, r, v, a);
  1515. m ? (k.texParameteri(k.TEXTURE_2D, k.TEXTURE_WRAP_S, k.REPEAT), k.texParameteri(k.TEXTURE_2D, k.TEXTURE_WRAP_T, k.REPEAT)) : (k.texParameteri(k.TEXTURE_2D, k.TEXTURE_WRAP_S, k.CLAMP_TO_EDGE), k.texParameteri(k.TEXTURE_2D, k.TEXTURE_WRAP_T, k.CLAMP_TO_EDGE));
  1516. b ? (k.texParameteri(k.TEXTURE_2D, k.TEXTURE_MAG_FILTER, k.LINEAR), p && this.zx ? (k.texParameteri(k.TEXTURE_2D, k.TEXTURE_MIN_FILTER, k.LINEAR_MIPMAP_LINEAR), k.generateMipmap(k.TEXTURE_2D)) : k.texParameteri(k.TEXTURE_2D,
  1517. k.TEXTURE_MIN_FILTER, k.LINEAR)) : (k.texParameteri(k.TEXTURE_2D, k.TEXTURE_MAG_FILTER, k.NEAREST), k.texParameteri(k.TEXTURE_2D, k.TEXTURE_MIN_FILTER, k.NEAREST));
  1518. k.bindTexture(k.TEXTURE_2D, null);
  1519. this.hk = null;
  1520. n.Em = a.width;
  1521. n.Dm = a.height;
  1522. n.jp = 1;
  1523. n.bx = l;
  1524. d.push(n);
  1525. return e[l] = n
  1526. };
  1527. a.prototype.Ji = function (a, b, c) {
  1528. var e;
  1529. this.Wj();
  1530. var l = this.ca;
  1531. this.zt && (e = !1);
  1532. var n = l.createTexture();
  1533. l.bindTexture(l.TEXTURE_2D, n);
  1534. l.texImage2D(l.TEXTURE_2D, 0, l.RGBA, a, b, 0, l.RGBA, e ? l.UNSIGNED_SHORT_4_4_4_4 : l.UNSIGNED_BYTE, null);
  1535. l.texParameteri(l.TEXTURE_2D,
  1536. l.TEXTURE_WRAP_S, l.CLAMP_TO_EDGE);
  1537. l.texParameteri(l.TEXTURE_2D, l.TEXTURE_WRAP_T, l.CLAMP_TO_EDGE);
  1538. l.texParameteri(l.TEXTURE_2D, l.TEXTURE_MAG_FILTER, c ? l.LINEAR : l.NEAREST);
  1539. l.texParameteri(l.TEXTURE_2D, l.TEXTURE_MIN_FILTER, c ? l.LINEAR : l.NEAREST);
  1540. l.bindTexture(l.TEXTURE_2D, null);
  1541. this.hk = null;
  1542. n.Em = a;
  1543. n.Dm = b;
  1544. d.push(n);
  1545. return n
  1546. };
  1547. a.prototype.deleteTexture = function (a) {
  1548. a && ("undefined" !== typeof a.jp && 1 < a.jp ? a.jp-- : (this.Wj(), a === this.hk && (this.ca.bindTexture(this.ca.TEXTURE_2D, null), this.hk = null), a === this.ik &&
  1549. (this.ca.activeTexture(this.ca.TEXTURE1), this.ca.bindTexture(this.ca.TEXTURE_2D, null), this.ca.activeTexture(this.ca.TEXTURE0), this.ik = null), Ba(d, a), "undefined" !== typeof a.bx && delete e[a.bx], this.ca.deleteTexture(a)))
  1550. };
  1551. a.prototype.gh = function (a) {
  1552. if (a !== this.tz) {
  1553. var b = this.tg();
  1554. b.type = 6;
  1555. this.tz = b.wg = a;
  1556. this.Ie = !1
  1557. }
  1558. };
  1559. db = a
  1560. })();
  1561. (function () {
  1562. function a(a) {
  1563. if (a && (a.getContext || a.dc) && !a.c2runtime) {
  1564. a.c2runtime = this;
  1565. var b = this;
  1566. this.iq = /crosswalk/i.test(navigator.userAgent) || /xwalk/i.test(navigator.userAgent) || !("undefined" === typeof window.c2isCrosswalk || !window.c2isCrosswalk);
  1567. this.hg = !this.iq && "undefined" !== typeof window.device && ("undefined" !== typeof window.device.cordova || "undefined" !== typeof window.device.phonegap) || "undefined" !== typeof window.c2isphonegap && window.c2isphonegap;
  1568. this.$d = !!a.dc;
  1569. this.il = "undefined" !== typeof window.AppMobi ||
  1570. this.$d;
  1571. this.Df = !!window.c2cocoonjs;
  1572. this.Jh = !!window.c2ejecta;
  1573. this.Df && (CocoonJS.App.onSuspended.addEventListener(function () {
  1574. b.setSuspended(!0)
  1575. }), CocoonJS.App.onActivated.addEventListener(function () {
  1576. b.setSuspended(!1)
  1577. }));
  1578. this.Jh && (document.addEventListener("pagehide", function () {
  1579. b.setSuspended(!0)
  1580. }), document.addEventListener("pageshow", function () {
  1581. b.setSuspended(!1)
  1582. }), document.addEventListener("resize", function () {
  1583. b.setSize(window.innerWidth, window.innerHeight)
  1584. }));
  1585. this.jd = this.$d || this.Df || this.Jh;
  1586. this.gy =
  1587. /tizen/i.test(navigator.userAgent);
  1588. this.hq = /android/i.test(navigator.userAgent) && !this.gy;
  1589. this.zt = /msie/i.test(navigator.userAgent) || /trident/i.test(navigator.userAgent);
  1590. this.Ht = /iphone/i.test(navigator.userAgent) || /ipod/i.test(navigator.userAgent);
  1591. this.jy = /ipad/i.test(navigator.userAgent);
  1592. this.mq = this.Ht || this.jy || this.Jh;
  1593. this.dE = this.Ht && /os\s6/i.test(navigator.userAgent);
  1594. this.$m = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent);
  1595. this.VD = /amazonwebappplatform/i.test(navigator.userAgent);
  1596. this.ey = /firefox/i.test(navigator.userAgent);
  1597. this.fy = !this.$m && /safari/i.test(navigator.userAgent);
  1598. this.$D = /windows/i.test(navigator.userAgent);
  1599. this.Ui = "undefined" !== typeof window.c2nodewebkit || /nodewebkit/i.test(navigator.userAgent);
  1600. this.bE = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8);
  1601. this.cE = !("undefined" === typeof window.c2isWindows8Capable || !window.c2isWindows8Capable);
  1602. this.Et = !("undefined" === typeof window.c2isWindowsPhone8 || !window.c2isWindowsPhone8);
  1603. this.Ft = !("undefined" ===
  1604. typeof window.c2isWindowsPhone81 || !window.c2isWindowsPhone81);
  1605. this.hy = this.bE || this.cE || this.Ft;
  1606. this.WD = !("undefined" === typeof window.c2isBlackberry10 || !window.c2isBlackberry10);
  1607. this.cy = this.hq && !this.$m && !this.ey && !this.VD && !this.jd;
  1608. this.devicePixelRatio = 1;
  1609. this.Ti = this.hg || this.iq || this.il || this.Df || this.hq || this.mq || this.Et || this.Ft || this.WD || this.gy || this.Jh;
  1610. this.Ti || (this.Ti = /(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));
  1611. "undefined" === typeof cr_is_preview || this.Ui || "?nw" !== window.location.search && !/nodewebkit/i.test(navigator.userAgent) || (this.Ui = !0);
  1612. this.XD = "undefined" !== typeof cr_is_preview && -1 < window.location.search.indexOf("debug");
  1613. this.canvas = a;
  1614. this.hx = document.getElementById("c2canvasdiv");
  1615. this.Eb = this.qa = this.ca = null;
  1616. this.$s = "";
  1617. this.Op = !1;
  1618. this.Py = this.Qy = 0;
  1619. this.canvas.oncontextmenu = function (a) {
  1620. a.preventDefault && a.preventDefault();
  1621. return !1
  1622. };
  1623. this.canvas.onselectstart = function (a) {
  1624. a.preventDefault && a.preventDefault();
  1625. return !1
  1626. };
  1627. this.$d && (window.c2runtime = this);
  1628. this.Ui && (window.ondragover = function (a) {
  1629. a.preventDefault();
  1630. return !1
  1631. }, window.ondrop = function (a) {
  1632. a.preventDefault();
  1633. return !1
  1634. }, require("nw.gui").App.clearCache());
  1635. this.width = a.width;
  1636. this.height = a.height;
  1637. this.Va = this.width;
  1638. this.Ua = this.height;
  1639. this.zp = this.width;
  1640. this.yp = this.height;
  1641. this.kn = window.innerWidth;
  1642. this.jn = window.innerHeight;
  1643. this.qb = !0;
  1644. this.bn = !1;
  1645. Date.now || (Date.now = function () {
  1646. return +new Date
  1647. });
  1648. this.plugins = [];
  1649. this.types = {};
  1650. this.da = [];
  1651. this.Ic = [];
  1652. this.Qt = {};
  1653. this.jg = [];
  1654. this.Ss = {};
  1655. this.Eh = [];
  1656. this.Yl = [];
  1657. this.yr = [];
  1658. this.us = [];
  1659. this.JB = [];
  1660. this.Iz = null;
  1661. this.Jg = new ea;
  1662. this.At = !1;
  1663. this.gg = 0;
  1664. this.Ct = !1;
  1665. this.ne = [];
  1666. this.Oh = this.de = this.vq = this.bv = "";
  1667. this.eo = this.Hz = !1;
  1668. this.Hs = this.sn = this.Mi = this.Ja = 0;
  1669. this.ji = 1;
  1670. this.Ke = new Sa;
  1671. this.rq = 0;
  1672. this.Jy = !0;
  1673. this.Kq = this.Qp = this.Jp = this.hi = this.ln = this.Zs = 0;
  1674. this.Qj = null;
  1675. this.Gp = [];
  1676. this.Rs = [];
  1677. this.Ip = -1;
  1678. this.Xt = [[]];
  1679. this.xv = this.zq = 0;
  1680. this.Uq(null);
  1681. this.Zt = [];
  1682. this.Aq = -1;
  1683. this.Lm = this.Ly = this.Kn = 0;
  1684. this.fo = [];
  1685. this.sr = this.Xq =
  1686. -1;
  1687. this.ll = !0;
  1688. this.ql = 0;
  1689. this.an = !1;
  1690. this.uF = 0;
  1691. this.MD = !1;
  1692. this.Lt = 0;
  1693. this.Qg = this.nt = this.Qu = !1;
  1694. this.zu = new ea;
  1695. this.Au = new ea;
  1696. this.Zq = [];
  1697. this.vg = new Wa([]);
  1698. this.rv = new Wa([]);
  1699. this.Ai = [];
  1700. this.aq = {};
  1701. this.al = {};
  1702. this.Xk = {};
  1703. this.Xl = {};
  1704. this.Zw = {};
  1705. this.uy = this.uq = this.Me = this.ef = this.ty = this.tq = this.mb = null;
  1706. this.Vl = this.Gt = !1;
  1707. this.bt = [null, null];
  1708. this.Zj = 0;
  1709. this.Fx = "";
  1710. this.gj = {};
  1711. this.kr = this.pl = null;
  1712. this.load();
  1713. this.devicePixelRatio = (this.fk = (!this.jd || this.Jh) && this.IF && !this.cy) ? window.devicePixelRatio || window.webkitDevicePixelRatio ||
  1714. window.mozDevicePixelRatio || window.msDevicePixelRatio || 1 : 1;
  1715. this.Gd();
  1716. var c,
  1717. d = this.vs && !(this.Ui || this.hy || this.Et || this.iq);
  1718. 0 < this.He && this.setSize(window.innerWidth, window.innerHeight, !0);
  1719. try {
  1720. this.GC && (this.Df || this.Jh || !this.jd) && (c = {
  1721. alpha : d,
  1722. depth : !1,
  1723. antialias : !1,
  1724. failIfMajorPerformanceCaveat : !0
  1725. }, this.ca = a.getContext("webgl", c) || a.getContext("experimental-webgl", c))
  1726. } catch (k) {}
  1727. if (this.ca) {
  1728. this.jd || (this.Bd = document.createElement("canvas"), jQuery(this.Bd).appendTo(this.canvas.parentNode), this.Bd.oncontextmenu =
  1729. x(!1), this.Bd.onselectstart = x(!1), this.Bd.width = this.zp, this.Bd.height = this.yp, jQuery(this.Bd).css({
  1730. width : this.zp + "px",
  1731. height : this.yp + "px"
  1732. }), this.hz(), this.Iu = this.Bd.getContext("2d"));
  1733. this.qa = new db(this.ca, this.Ti);
  1734. this.qa.Ol(a.width, a.height);
  1735. this.qa.zx = 0 !== this.wC;
  1736. this.Eb = null;
  1737. this.canvas.addEventListener("webglcontextlost", function (a) {
  1738. a.preventDefault();
  1739. b.NE();
  1740. console.log("[Construct 2] WebGL context lost");
  1741. window.cr_setSuspended(!0)
  1742. }, !1);
  1743. this.canvas.addEventListener("webglcontextrestored", function () {
  1744. b.qa.Yx();
  1745. b.qa.Ol(b.qa.width, b.qa.height, !0);
  1746. b.ef = null;
  1747. b.Me = null;
  1748. b.bt[0] = null;
  1749. b.bt[1] = null;
  1750. b.OE();
  1751. b.qb = !0;
  1752. console.log("[Construct 2] WebGL context restored");
  1753. window.cr_setSuspended(!1)
  1754. }, !1);
  1755. var e,
  1756. f,
  1757. g,
  1758. h,
  1759. l,
  1760. n;
  1761. a = 0;
  1762. for (c = this.da.length; a < c; a++)
  1763. for (f = this.da[a], d = 0, e = f.Ea.length; d < e; d++)
  1764. h = f.Ea[d], h.Cd = this.qa.jt(h.id), this.Vl = this.Vl || this.qa.Un(h.Cd);
  1765. a = 0;
  1766. for (c = this.jg.length; a < c; a++) {
  1767. l = this.jg[a];
  1768. d = 0;
  1769. for (e = l.Ea.length; d < e; d++)
  1770. h = l.Ea[d], h.Cd = this.qa.jt(h.id);
  1771. d = 0;
  1772. for (e = l.cb.length; d < e; d++)
  1773. for (n = l.cb[d], f = 0, g = n.Ea.length; f <
  1774. g; f++)
  1775. h = n.Ea[f], h.Cd = this.qa.jt(h.id), this.Vl = this.Vl || this.qa.Un(h.Cd)
  1776. }
  1777. } else {
  1778. if (0 < this.He && this.$d) {
  1779. this.canvas = null;
  1780. document.oncontextmenu = x(!1);
  1781. document.onselectstart = x(!1);
  1782. this.Eb = AppMobi.canvas.getContext("2d");
  1783. try {
  1784. this.Eb.samplingMode = this.ub ? "smooth" : "sharp",
  1785. this.Eb.globalScale = 1,
  1786. this.Eb.HTML5CompatibilityMode = !0,
  1787. this.Eb.imageSmoothingEnabled = this.ub
  1788. } catch (m) {}
  1789. 0 !== this.width && 0 !== this.height && (this.Eb.width = this.width, this.Eb.height = this.height)
  1790. }
  1791. this.Eb || (c = this.Df ? {
  1792. antialias : !!this.ub,
  1793. alpha : d
  1794. }
  1795. : {
  1796. alpha : d
  1797. }, this.Eb = a.getContext("2d", c), this.Eb.webkitImageSmoothingEnabled = this.ub, this.Eb.mozImageSmoothingEnabled = this.ub, this.Eb.msImageSmoothingEnabled = this.ub, this.Eb.imageSmoothingEnabled = this.ub);
  1798. this.Iu = this.Bd = null
  1799. }
  1800. this.qr = function () {
  1801. b.tc(!1)
  1802. };
  1803. window == window.top || this.jd || this.hy || this.Et || (document.addEventListener("mousedown", function () {
  1804. window.focus()
  1805. }, !0), document.addEventListener("touchstart", function () {
  1806. window.focus()
  1807. }, !0));
  1808. "undefined" !== typeof cr_is_preview && (this.Df && console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),
  1809. -1 < window.location.search.indexOf("continuous") && (fa("Reloading for continuous preview"), this.vq = "__c2_continuouspreview", this.eo = !0), this.TE && !this.Ti && (jQuery(window).focus(function () {
  1810. b.setSuspended(!1)
  1811. }), jQuery(window).blur(function () {
  1812. b.setSuspended(!0)
  1813. })));
  1814. 0 === this.He && this.fk && 1 < this.devicePixelRatio && this.setSize(this.rc, this.qc, !0);
  1815. this.Tz();
  1816. this.go();
  1817. this.ea = {}
  1818. }
  1819. }
  1820. function c(a) {
  1821. a.target.result.createObjectStore("saves", {
  1822. keyPath : "slot"
  1823. })
  1824. }
  1825. function b(a, b, d, k) {
  1826. var e = indexedDB.open("_C2SaveStates");
  1827. e.onupgradeneeded = c;
  1828. e.onerror = k;
  1829. e.onsuccess = function (c) {
  1830. c = c.target.result;
  1831. c.onerror = k;
  1832. c.transaction(["saves"], "readwrite").objectStore("saves").put({
  1833. slot : a,
  1834. data : b
  1835. }).onsuccess = d
  1836. }
  1837. }
  1838. function d(a, b, d) {
  1839. var k = indexedDB.open("_C2SaveStates");
  1840. k.onupgradeneeded = c;
  1841. k.onerror = d;
  1842. k.onsuccess = function (c) {
  1843. c = c.target.result;
  1844. c.onerror = d;
  1845. var k = c.transaction(["saves"]).objectStore("saves").get(a);
  1846. k.onsuccess = function () {
  1847. k.result ? b(k.result.data) : b(null)
  1848. }
  1849. }
  1850. }
  1851. function e() {
  1852. fa("Reloading for continuous preview");
  1853. window.c2cocoonjs ?
  1854. CocoonJS.App.reload() : -1 < window.location.search.indexOf("continuous") ? window.location.reload(!0) : window.location += "?continuous"
  1855. }
  1856. function f(a) {
  1857. var b,
  1858. c = {};
  1859. for (b in a)
  1860. !a.hasOwnProperty(b) || a[b]instanceof ea || a[b] && "undefined" !== typeof a[b].Hg || (c[b] = a[b]);
  1861. return c
  1862. }
  1863. a.prototype.setSize = function (a, b, c) {
  1864. var d = 0,
  1865. k = 0,
  1866. e = 0,
  1867. f = 0,
  1868. f = 0,
  1869. g = this.dE && this.fy && !navigator.standalone && !this.jd && !this.hg;
  1870. g && (b += 60);
  1871. if (this.kn !== a || this.jn !== b || c) {
  1872. this.kn = a;
  1873. this.jn = b;
  1874. var h = this.He,
  1875. l = (document.mozFullScreen || document.webkitIsFullScreen ||
  1876. !!document.msFullscreenElement || document.fullScreen || this.an) && !this.hg;
  1877. if (l || 0 !== this.He || c)
  1878. l && 0 < this.Zj && (h = this.Zj), 4 <= h ? (c = this.rc / this.qc, a / b > c ? (e = b * c, 5 === h ? (f = e / this.rc, 1 < f ? f = Math.floor(f) : 1 > f && (f = 1 / Math.ceil(1 / f)), e = this.rc * f, f *= this.qc, d = (a - e) / 2, k = (b - f) / 2, a = e, b = f) : (d = (a - e) / 2, a = e)) : (f = a / c, 5 === h ? (f /= this.qc, 1 < f ? f = Math.floor(f) : 1 > f && (f = 1 / Math.ceil(1 / f)), e = this.rc * f, f *= this.qc, d = (a - e) / 2, k = (b - f) / 2, a = e) : k = (b - f) / 2, b = f), l && !this.Ui && (k = d = 0), d = Math.floor(d), k = Math.floor(k), a = Math.floor(a), b = Math.floor(b)) :
  1879. this.Ui && this.an && 0 === this.Hx && (d = Math.floor((a - this.rc) / 2), k = Math.floor((b - this.qc) / 2), a = this.rc, b = this.qc), 2 > h && (this.Cm = this.devicePixelRatio), this.fk && this.jy && 1 < this.devicePixelRatio && (1024 <= a && (a = 1023), 1024 <= b && (b = 1023)), l = this.devicePixelRatio, this.zp = a, this.yp = b, this.width = Math.round(a * l), this.height = Math.round(b * l), this.qb = !0, this.iA ? (this.Va = this.width, this.Ua = this.height, this.Bf = !0) : this.width < this.rc && this.height < this.qc || 1 === h ? (this.Va = this.width, this.Ua = this.height, this.Bf = !0) : (this.Va =
  1880. this.rc, this.Ua = this.qc, this.Bf = !1, 2 === h ? (c = this.rc / this.qc, h = this.kn / this.jn, h < c ? this.Va = this.Ua * h : h > c && (this.Ua = this.Va / h)) : 3 === h && (c = this.rc / this.qc, h = this.kn / this.jn, h > c ? this.Va = this.Ua * h : h < c && (this.Ua = this.Va / h))), this.hx && !this.jd && (jQuery(this.hx).css({
  1881. width : a + "px",
  1882. height : b + "px",
  1883. "margin-left" : d,
  1884. "margin-top" : k
  1885. }), "undefined" !== typeof cr_is_preview && jQuery("#borderwrap").css({
  1886. width : a + "px",
  1887. height : b + "px"
  1888. })), this.canvas && (this.canvas.width = Math.round(a * l), this.canvas.height = Math.round(b * l), this.Jh ?
  1889. (this.canvas.style.left = d + "px", this.canvas.style.top = k + "px", this.canvas.style.width = a + "px", this.canvas.style.height = b + "px") : this.fk && !this.jd && jQuery(this.canvas).css({
  1890. width : a + "px",
  1891. height : b + "px"
  1892. })), this.Bd && (this.Bd.width = a, this.Bd.height = b, jQuery(this.Bd).css({
  1893. width : a + "px",
  1894. height : b + "px"
  1895. })), this.qa && this.qa.Ol(Math.round(a * l), Math.round(b * l)), this.$d && this.Eb && (this.Eb.width = a, this.Eb.height = b), this.Eb && (this.Eb.webkitImageSmoothingEnabled = this.ub, this.Eb.mozImageSmoothingEnabled = this.ub, this.Eb.msImageSmoothingEnabled =
  1896. this.ub, this.Eb.imageSmoothingEnabled = this.ub), this.Tz(), this.jd || !g && !this.Ht || window.setTimeout(function () {
  1897. window.scrollTo(0, 1)
  1898. }, 100)
  1899. }
  1900. };
  1901. a.prototype.Tz = function () {
  1902. if (this.NB && 0 !== this.Gu) {
  1903. var a = "portrait";
  1904. 2 === this.Gu && (a = "landscape");
  1905. screen.lockOrientation ? screen.lockOrientation(a) : screen.webkitLockOrientation ? screen.webkitLockOrientation(a) : screen.mozLockOrientation ? screen.mozLockOrientation(a) : screen.msLockOrientation && screen.msLockOrientation(a)
  1906. }
  1907. };
  1908. a.prototype.NE = function () {
  1909. this.Gt = !0;
  1910. var a,
  1911. b,
  1912. c;
  1913. a = 0;
  1914. for (b = this.da.length; a < b; a++)
  1915. c = this.da[a], c.Du && c.Du()
  1916. };
  1917. a.prototype.OE = function () {
  1918. this.Gt = !1;
  1919. var a,
  1920. b,
  1921. c;
  1922. a = 0;
  1923. for (b = this.da.length; a < b; a++)
  1924. c = this.da[a], c.Eu && c.Eu()
  1925. };
  1926. a.prototype.hz = function () {
  1927. if (!this.jd) {
  1928. var a = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || document.msFullscreenElement || this.an) && !this.hg ? jQuery(this.canvas).offset() : jQuery(this.canvas).position();
  1929. a.position = "absolute";
  1930. jQuery(this.Bd).css(a)
  1931. }
  1932. };
  1933. var g = window.cancelAnimationFrame || window.mozCancelAnimationFrame ||
  1934. window.webkitCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;
  1935. a.prototype.setSuspended = function (a) {
  1936. var b;
  1937. if (a && !this.bn)
  1938. for (fa("[Construct 2] Suspending"), this.bn = !0, -1 !== this.Xq && g && g(this.Xq), -1 !== this.sr && clearTimeout(this.sr), a = 0, b = this.fo.length; a < b; a++)
  1939. this.fo[a](!0);
  1940. else if (!a && this.bn) {
  1941. fa("[Construct 2] Resuming");
  1942. this.bn = !1;
  1943. this.rq = Ra();
  1944. this.ln = Ra();
  1945. a = this.sn = this.Qp = 0;
  1946. for (b = this.fo.length; a < b; a++)
  1947. this.fo[a](!1);
  1948. this.tc(!1)
  1949. }
  1950. };
  1951. a.prototype.Mw = function (a) {
  1952. this.fo.push(a)
  1953. };
  1954. a.prototype.load = function () {
  1955. var a = gc();
  1956. this.name = a[0];
  1957. this.Gx = a[1];
  1958. this.He = a[11];
  1959. this.Hx = a[11];
  1960. this.rc = a[9];
  1961. this.qc = a[10];
  1962. this.cz = this.rc / 2;
  1963. this.dz = this.qc / 2;
  1964. this.jd && !this.Jh && (4 <= a[11] || 0 === a[11]) && (fa("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"), this.Hx = this.He = 3);
  1965. this.Dv = a[17];
  1966. this.nn = a[18];
  1967. 0 === this.nn && (this.pl = new Image, this.pl.src = "loading-logo.png");
  1968. this.Kn = a[20];
  1969. this.ih = new B(this);
  1970. var b,
  1971. c,
  1972. d,
  1973. k,
  1974. e,
  1975. f,
  1976. g,
  1977. h,
  1978. l;
  1979. b = 0;
  1980. for (c = a[2].length; b <
  1981. c; b++)
  1982. g = a[2][b], eb(g), l = new g[0](this), l.jr = g[1], l.Vi = g[2], l.Ky = g[9], l.Ca && l.Ca(), this.plugins.push(l);
  1983. a = gc();
  1984. b = 0;
  1985. for (c = a[3].length; b < c; b++) {
  1986. g = a[3][b];
  1987. e = g[1];
  1988. l = null;
  1989. d = 0;
  1990. for (k = this.plugins.length; d < k; d++)
  1991. if (this.plugins[d]instanceof e) {
  1992. l = this.plugins[d];
  1993. break
  1994. }
  1995. var n = new l.rb(l);
  1996. n.name = g[0];
  1997. n.Ka = g[2];
  1998. n.xt = g[3].slice(0);
  1999. n.LF = g[3].length;
  2000. n.RB = g[4];
  2001. n.jD = g[5];
  2002. n.Wa = g[11];
  2003. n.Ka ? (n.El = [], n.Fh = this.Lm++, n.Xb = null) : (n.El = null, n.Fh = -1, n.Xb = []);
  2004. n.Lp = null;
  2005. n.el = null;
  2006. n.Bx = null;
  2007. n.Je = !1;
  2008. n.Ee = null;
  2009. g[6] ? (n.tv = g[6][0],
  2010. n.Oz = g[6][1], n.uv = g[6][2]) : (n.tv = null, n.Oz = 0, n.uv = 0);
  2011. n.Ae = g[7] ? g[7] : null;
  2012. n.index = b;
  2013. n.G = [];
  2014. n.Dp = [];
  2015. n.qj = [new fb(n)];
  2016. n.Ch = 0;
  2017. n.zf = null;
  2018. n.gC = 0;
  2019. n.Sl = !0;
  2020. n.Ar = gb;
  2021. n.Nx = hb;
  2022. n.sD = ib;
  2023. n.Pa = kb;
  2024. n.Vn = lb;
  2025. n.Wn = mb;
  2026. n.jj = nb;
  2027. n.Sp = ob;
  2028. n.dt = pb;
  2029. n.gt = tb;
  2030. n.bg = ub;
  2031. n.Ox = vb;
  2032. n.Fm = new Xa(this.rc, this.qc);
  2033. n.Xo = !0;
  2034. n.Yo = !1;
  2035. n.ea = {};
  2036. n.toString = wb;
  2037. n.Ic = [];
  2038. d = 0;
  2039. for (k = g[8].length; d < k; d++) {
  2040. h = g[8][d];
  2041. var m = h[1],
  2042. p = null;
  2043. e = 0;
  2044. for (f = this.Ic.length; e < f; e++)
  2045. if (this.Ic[e]instanceof m) {
  2046. p = this.Ic[e];
  2047. break
  2048. }
  2049. p || (p = new m(this), p.xu = [], p.In = new ea, p.Ca && p.Ca(),
  2050. this.Ic.push(p), Zb.tF && p instanceof Zb.tF && (this.Iz = p));
  2051. -1 === p.xu.indexOf(n) && p.xu.push(n);
  2052. e = new p.rb(p, n);
  2053. e.name = h[0];
  2054. e.Wa = h[2];
  2055. e.Ca();
  2056. n.Ic.push(e)
  2057. }
  2058. n.global = g[9];
  2059. n.Bt = g[10];
  2060. n.Ea = [];
  2061. d = 0;
  2062. for (k = g[12].length; d < k; d++)
  2063. n.Ea.push({
  2064. id : g[12][d][0],
  2065. name : g[12][d][1],
  2066. Cd : -1,
  2067. lc : !0,
  2068. index : d
  2069. });
  2070. n.qH = g[13];
  2071. this.Dv && !n.Ka && !n.Bt && l.Vi || n.Ca();
  2072. n.name && (this.types[n.name] = n);
  2073. this.da.push(n);
  2074. l.jr && (d = new l.Za(n), d.uid = this.Kn++, d.mz = this.Ly++, d.bk = 0, d.Um = xb, d.toString = yb, d.$ = g[14], d.Ca(), n.G.push(d), this.gj[d.uid.toString()] =
  2075. d)
  2076. }
  2077. b = 0;
  2078. for (c = a[4].length; b < c; b++)
  2079. for (e = a[4][b], f = this.da[e[0]], d = 1, k = e.length; d < k; d++)
  2080. g = this.da[e[d]], g.Xb.push(f), f.El.push(g);
  2081. b = 0;
  2082. for (c = a[24].length; b < c; b++) {
  2083. e = a[24][b];
  2084. f = [];
  2085. d = 0;
  2086. for (k = e.length; d < k; d++)
  2087. f.push(this.da[e[d]]);
  2088. d = 0;
  2089. for (k = f.length; d < k; d++)
  2090. f[d].Je = !0, f[d].Ee = f
  2091. }
  2092. if (0 < this.Lm)
  2093. for (b = 0, c = this.da.length; b < c; b++)
  2094. if (g = this.da[b], !g.Ka && g.Xb.length) {
  2095. g.Lp = Array(this.Lm);
  2096. g.el = Array(this.Lm);
  2097. g.Bx = Array(this.Lm);
  2098. n = [];
  2099. d = p = m = h = 0;
  2100. for (k = g.Xb.length; d < k; d++)
  2101. for (l = g.Xb[d], g.Lp[l.Fh] = h, h += l.LF, g.el[l.Fh] =
  2102. m, m += l.RB, g.Bx[l.Fh] = p, p += l.jD, e = 0, f = l.Ea.length; e < f; e++)
  2103. n.push(xa({}, l.Ea[e]));
  2104. g.Ea = n.concat(g.Ea);
  2105. d = 0;
  2106. for (k = g.Ea.length; d < k; d++)
  2107. g.Ea[d].index = d
  2108. }
  2109. b = 0;
  2110. for (c = a[5].length; b < c; b++)
  2111. g = a[5][b], d = new zb(this, g), this.Qt[d.name] = d, this.jg.push(d);
  2112. b = 0;
  2113. for (c = a[6].length; b < c; b++)
  2114. g = a[6][b], d = new Ab(this, g), this.Ss[d.name] = d, this.Eh.push(d);
  2115. b = 0;
  2116. for (c = this.Eh.length; b < c; b++)
  2117. this.Eh[b].Dc();
  2118. b = 0;
  2119. for (c = this.Eh.length; b < c; b++)
  2120. this.Eh[b].Av();
  2121. b = 0;
  2122. for (c = this.yr.length; b < c; b++)
  2123. this.yr[b].Dc();
  2124. this.yr.length = 0;
  2125. this.Fx = a[7];
  2126. this.ij = a[8];
  2127. this.Cm = 1;
  2128. this.GC = a[12];
  2129. this.ub = a[13];
  2130. this.vs = a[14];
  2131. this.IF = a[16];
  2132. this.Gu = a[19];
  2133. this.NB = 0 < this.Gu;
  2134. this.TE = a[21];
  2135. this.Bf = this.iA = a[22];
  2136. this.wC = a[23];
  2137. this.lr = Date.now()
  2138. };
  2139. var h = !1;
  2140. a.prototype.hA = function (a) {
  2141. a.onerror = function (b) {
  2142. h = a.UB = !0;
  2143. console && console.error && console.error("Error loading image '" + a.src + "': ", b)
  2144. };
  2145. this.Yl.push(a)
  2146. };
  2147. a.prototype.hD = function (a) {
  2148. var b,
  2149. c;
  2150. b = 0;
  2151. for (c = this.Yl.length; b < c; b++)
  2152. if (this.Yl[b].cC === a)
  2153. return this.Yl[b];
  2154. return null
  2155. };
  2156. a.prototype.Uw = function () {
  2157. var a = 0,
  2158. b = 0,
  2159. c = !0,
  2160. d,
  2161. k,
  2162. e;
  2163. d = 0;
  2164. for (k = this.Yl.length; d < k; d++) {
  2165. e = this.Yl[d];
  2166. var f = e.bC;
  2167. if (!f || 0 >= f)
  2168. f = 5E4;
  2169. a += f;
  2170. !e.complete && !e.loaded || e.UB ? c = !1 : b += f
  2171. }
  2172. this.Bk = 0 == a ? 0 : b / a;
  2173. return c
  2174. };
  2175. a.prototype.go = function () {
  2176. if (this.Eb || this.qa) {
  2177. var a = this.Eb || this.Iu;
  2178. this.Bd && this.hz();
  2179. this.Bk = 0;
  2180. this.ry = -1;
  2181. if (this.Uw())
  2182. this.KD();
  2183. else {
  2184. var b = Date.now() - this.lr;
  2185. if (a) {
  2186. var c = this.width,
  2187. d = this.height,
  2188. e = this.devicePixelRatio;
  2189. this.Bd && (c = this.zp, d = this.yp, e = 1);
  2190. if (3 !== this.nn && (this.Df || 500 <= b && this.ry != this.Bk)) {
  2191. a.clearRect(0, 0, c, d);
  2192. var b = c /
  2193. 2,
  2194. d = d / 2,
  2195. c = 0 === this.nn && this.pl.complete,
  2196. k = 40 * e,
  2197. f = 0,
  2198. g = 80 * e,
  2199. l;
  2200. c && (g = this.pl.width * e, l = this.pl.height * e, k = g / 2, f = l / 2, a.drawImage(this.pl, sa(b - k), sa(d - f), g, l));
  2201. 1 >= this.nn ? (b = sa(b - k) + 0.5, d = sa(d + (f + (c ? 12 * e : 0))) + 0.5, a.fillStyle = h ? "red" : "DodgerBlue", a.fillRect(b, d, Math.floor(g * this.Bk), 6 * e), a.strokeStyle = "black", a.strokeRect(b, d, g, 6 * e), a.strokeStyle = "white", a.strokeRect(b - 1 * e, d - 1 * e, g + 2 * e, 8 * e)) : 2 === this.nn && (a.font = this.Jh ? "12pt ArialMT" : "12pt Arial", a.fillStyle = h ? "#f00" : "#999", a.pH = "middle", e = Math.round(100 *
  2202. this.Bk) + "%", c = a.measureText ? a.measureText(e) : null, a.fillText(e, b - (c ? c.width : 0) / 2, d))
  2203. }
  2204. this.ry = this.Bk
  2205. }
  2206. setTimeout(function (a) {
  2207. return function () {
  2208. a.go()
  2209. }
  2210. }
  2211. (this), this.Df ? 10 : 100)
  2212. }
  2213. }
  2214. };
  2215. a.prototype.KD = function () {
  2216. this.Bd && (this.canvas.parentNode.removeChild(this.Bd), this.Bd = this.Iu = null);
  2217. this.lr = Date.now();
  2218. this.ln = Ra();
  2219. var a,
  2220. b,
  2221. c;
  2222. if (this.Dv)
  2223. for (a = 0, b = this.da.length; a < b; a++)
  2224. c = this.da[a], c.Ka || c.Bt || !c.ec.Vi || c.Ca();
  2225. else
  2226. this.ll = !1;
  2227. a = 0;
  2228. for (b = this.jg.length; a < b; a++)
  2229. this.jg[a].dC();
  2230. 2 <= this.He && (a = this.rc / this.qc,
  2231. b = this.width / this.height, this.Cm = 2 !== this.He && b > a || 2 === this.He && b < a ? this.height / this.qc : this.width / this.rc);
  2232. this.Gx ? this.Qt[this.Gx].pv() : this.jg[0].pv();
  2233. this.Dv || (this.ql = 1, this.trigger(B.prototype.B.gw, null));
  2234. navigator.splashscreen && navigator.splashscreen.hide && navigator.splashscreen.hide();
  2235. a = 0;
  2236. for (b = this.da.length; a < b; a++)
  2237. c = this.da[a], c.ME && c.ME();
  2238. this.tc(!1);
  2239. this.$d && AppMobi.webview.execute("onGameReady();")
  2240. };
  2241. var m = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame ||
  2242. window.msRequestAnimationFrame || window.oRequestAnimationFrame;
  2243. a.prototype.tc = function (a) {
  2244. if (this.mb) {
  2245. var b = Ra();
  2246. if (this.MD && this.Qu && 29 > b - this.Lt)
  2247. this.Qu = !1, this.Lt = b, m ? this.Xq = m(this.qr, this.canvas) : this.sr = setTimeout(this.qr, this.Ti ? 1 : 16);
  2248. else {
  2249. this.Qu = !0;
  2250. this.Lt = b;
  2251. var c = this.He,
  2252. d = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement) && !this.hg;
  2253. (d || this.an) && 0 < this.Zj && (c = this.Zj);
  2254. if (0 < c && (!this.mq || window.self !== window.top)) {
  2255. var c = window.innerWidth,
  2256. e = window.innerHeight;
  2257. this.kn === c && this.jn === e || this.setSize(c, e)
  2258. }
  2259. this.jd || (d ? (this.Op || (this.$s = jQuery(this.canvas).css("margin") || "0", this.Op = !0), this.$m || this.Ui || jQuery(this.canvas).css({
  2260. "margin-left" : "" + Math.floor((screen.width - this.width / this.devicePixelRatio) / 2) + "px",
  2261. "margin-top" : "" + Math.floor((screen.height - this.height / this.devicePixelRatio) / 2) + "px"
  2262. })) : this.Op ? (this.$m || this.Ui || jQuery(this.canvas).css("margin", this.$s), this.$s = "", this.Op = !1, 0 === this.He && this.setSize(Math.round(this.Qy / this.devicePixelRatio),
  2263. Math.round(this.Py / this.devicePixelRatio), !0)) : (this.Qy = this.width, this.Py = this.height));
  2264. this.ll && (d = this.Uw(), this.ql = this.Bk, d && (this.ll = !1, this.Bk = 1, this.trigger(B.prototype.B.gw, null)));
  2265. this.jE();
  2266. !this.qb && !this.Df || this.Gt || this.eo || a || (this.qb = !1, this.qa ? this.dg() : this.Li(), this.kr && (this.canvas && this.canvas.toDataURL && (this.canvas.toDataURL(this.kr[0], this.kr[1]), this.trigger(B.prototype.B.MA, null)), this.kr = null));
  2267. this.iH || (this.hi++, this.Jp++, this.Qp++);
  2268. this.sn += Ra() - b;
  2269. this.bn || a || (m ? this.Xq =
  2270. m(this.qr, this.canvas) : this.sr = setTimeout(this.qr, this.Ti ? 1 : 16))
  2271. }
  2272. }
  2273. };
  2274. a.prototype.jE = function () {
  2275. var a,
  2276. b,
  2277. c,
  2278. d,
  2279. e,
  2280. k,
  2281. f,
  2282. g,
  2283. l;
  2284. a = Ra();
  2285. 1E3 <= a - this.ln && (this.ln += 1E3, this.Zs = this.Qp, this.Qp = 0, this.Hs = this.sn, this.sn = 0);
  2286. this.Jy && (0 !== this.rq && (b = a - this.rq, 0 !== b || this.XD ? (this.Mi = b / 1E3, 0.5 < this.Mi ? this.Mi = 0 : 0.1 < this.Mi && (this.Mi = 0.1)) : (10 <= this.rH && (this.Jy = !1), this.Mi = 1 / 60)), this.rq = a);
  2287. this.Ja = this.Mi * this.ji;
  2288. this.Ke.add(this.Ja);
  2289. a = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement ||
  2290. this.an) && !this.hg;
  2291. 2 <= this.He || a && 0 < this.Zj ? (b = this.rc / this.qc, c = this.width / this.height, d = this.He, a && 0 < this.Zj && (d = this.Zj), this.Cm = 2 !== d && c > b || 2 === d && c < b ? this.height / this.qc : this.width / this.rc, this.mb && (this.mb.cv(this.mb.scrollX), this.mb.dv(this.mb.scrollY))) : this.Cm = this.fk ? this.devicePixelRatio : 1;
  2292. this.Gd();
  2293. this.gg++;
  2294. this.ih.hF();
  2295. this.gg--;
  2296. this.Gd();
  2297. this.gg++;
  2298. a = 0;
  2299. for (b = this.da.length; a < b; a++)
  2300. if (f = this.da[a], !f.Ka && (f.Ic.length || f.Xb.length))
  2301. for (c = 0, d = f.G.length; c < d; c++)
  2302. for (g = f.G[c], e = 0, k = g.Ia.length; e <
  2303. k; e++)
  2304. g.Ia[e].tc();
  2305. a = 0;
  2306. for (b = this.da.length; a < b; a++)
  2307. if (f = this.da[a], !f.Ka && (f.Ic.length || f.Xb.length))
  2308. for (c = 0, d = f.G.length; c < d; c++)
  2309. for (g = f.G[c], e = 0, k = g.Ia.length; e < k; e++)
  2310. l = g.Ia[e], l.XE && l.XE();
  2311. c = this.zu.kh();
  2312. a = 0;
  2313. for (b = c.length; a < b; a++)
  2314. c[a].tc();
  2315. this.gg--;
  2316. this.ND();
  2317. for (a = 0; this.Qj && 10 > a++; )
  2318. this.yx(this.Qj);
  2319. a = 0;
  2320. for (b = this.Eh.length; a < b; a++)
  2321. this.Eh[a].pt = !1;
  2322. this.mb.Xj && this.mb.Xj.Qc();
  2323. this.Zq.length = 0;
  2324. this.gg++;
  2325. a = 0;
  2326. for (b = this.da.length; a < b; a++)
  2327. if (f = this.da[a], !f.Ka && (f.Ic.length || f.Xb.length))
  2328. for (c =
  2329. 0, d = f.G.length; c < d; c++)
  2330. for (g = f.G[c], e = 0, k = g.Ia.length; e < k; e++)
  2331. l = g.Ia[e], l.jo && l.jo();
  2332. c = this.Au.kh();
  2333. a = 0;
  2334. for (b = c.length; a < b; a++)
  2335. c[a].jo();
  2336. this.gg--
  2337. };
  2338. a.prototype.yx = function (a) {
  2339. var b = this.mb;
  2340. this.mb.wF();
  2341. var c,
  2342. d,
  2343. e,
  2344. k,
  2345. f,
  2346. g,
  2347. l;
  2348. if (this.qa)
  2349. for (c = 0, d = this.da.length; c < d; c++)
  2350. f = this.da[c], f.Ka || !f.zv || f.global && 0 !== f.G.length || -1 !== a.Ym.indexOf(f) || f.zv();
  2351. b == a && (this.ih.ve.length = 0);
  2352. a.pv();
  2353. c = 0;
  2354. for (d = this.da.length; c < d; c++)
  2355. if (f = this.da[c], f.global || f.ec.jr)
  2356. for (a = 0, b = f.G.length; a < b; a++)
  2357. if (g = f.G[a], g.Cu && g.Cu(),
  2358. g.Ia)
  2359. for (e = 0, k = g.Ia.length; e < k; e++)
  2360. l = g.Ia[e], l.Cu && l.Cu();
  2361. this.qb = !0;
  2362. this.Gd()
  2363. };
  2364. a.prototype.rr = function (a) {
  2365. this.zu.add(a)
  2366. };
  2367. a.prototype.AF = function (a) {
  2368. this.Au.add(a)
  2369. };
  2370. a.prototype.$j = function (a) {
  2371. return a && -1 !== a.Jn ? this.Mi * a.Jn : this.Ja
  2372. };
  2373. a.prototype.Li = function () {
  2374. this.mb.Li(this.Eb);
  2375. this.$d && this.Eb.present()
  2376. };
  2377. a.prototype.dg = function () {
  2378. this.mb.dg(this.qa);
  2379. this.qa.YE()
  2380. };
  2381. a.prototype.Wo = function (a) {
  2382. a && this.Gp.push(a)
  2383. };
  2384. a.prototype.sz = function (a) {
  2385. Ba(this.Gp, a)
  2386. };
  2387. a.prototype.Ri = function (a) {
  2388. a = a.toString();
  2389. return this.gj.hasOwnProperty(a) ?
  2390. this.gj[a] : null
  2391. };
  2392. a.prototype.pi = function (a) {
  2393. var b,
  2394. c;
  2395. if (!this.Jg.contains(a)) {
  2396. this.Jg.add(a);
  2397. if (a.Je)
  2398. for (b = 0, c = a.siblings.length; b < c; b++)
  2399. this.pi(a.siblings[b]);
  2400. this.At && this.Jg.Wl.push(a);
  2401. this.gg++;
  2402. this.trigger(Object.getPrototypeOf(a.type.ec).B.NA, a);
  2403. this.gg--
  2404. }
  2405. };
  2406. a.prototype.Gd = function () {
  2407. var a,
  2408. b,
  2409. c,
  2410. d,
  2411. e,
  2412. k,
  2413. f,
  2414. g,
  2415. l,
  2416. h;
  2417. this.At = !0;
  2418. d = 0;
  2419. for (k = this.ne.length; d < k; d++)
  2420. for (a = this.ne[d], b = a.type, b.G.push(a), e = 0, f = b.Xb.length; e < f; e++)
  2421. b.Xb[e].G.push(a), b.Xb[e].Sl = !0;
  2422. this.ne.length = 0;
  2423. k = this.Jg.kh();
  2424. for (d = 0; d < k.length; d++) {
  2425. a =
  2426. k[d];
  2427. b = a.type;
  2428. c = b.G;
  2429. e = 0;
  2430. for (f = this.Gp.length; e < f; e++)
  2431. this.Gp[e](a);
  2432. Ba(c, a);
  2433. 0 === c.length && (b.Yo = !1);
  2434. a.Ii && b.Fm.update(a, a.Ii, null);
  2435. a.T && (ya(a.T.G, a.df()), a.T.Ve = !0);
  2436. e = 0;
  2437. for (f = b.Xb.length; e < f; e++)
  2438. Ba(b.Xb[e].G, a), b.Xb[e].Sl = !0;
  2439. if (a.Ia)
  2440. for (e = 0, f = a.Ia.length; e < f; e++)
  2441. c = a.Ia[e], c.Kl && c.Kl(), c.ba.In.remove(a);
  2442. this.zu.remove(a);
  2443. this.Au.remove(a);
  2444. e = 0;
  2445. for (f = this.ih.ve.length; e < f; e++)
  2446. if (l = this.ih.ve[e], l.ie.hasOwnProperty(b.index) && Ba(l.ie[b.index].Hh, a), !b.Ka)
  2447. for (c = 0, g = b.Xb.length; c < g; c++)
  2448. h = b.Xb[c], l.ie.hasOwnProperty(h.index) &&
  2449. Ba(l.ie[h.index].Hh, a);
  2450. a.Kl && a.Kl();
  2451. this.gj.hasOwnProperty(a.uid.toString()) && delete this.gj[a.uid.toString()];
  2452. this.Kq--;
  2453. 64 > b.Dp.length && b.Dp.push(a);
  2454. b.Sl = !0
  2455. }
  2456. this.Jg.fg() || (this.qb = !0);
  2457. this.Jg.clear();
  2458. this.At = !1
  2459. };
  2460. a.prototype.nx = function (a, b, c, d) {
  2461. if (a.Ka) {
  2462. var e = sa(Math.random() * a.El.length);
  2463. return this.nx(a.El[e], b, c, d)
  2464. }
  2465. return a.zf ? this.Ki(a.zf, b, !1, c, d, !1) : null
  2466. };
  2467. var l = [];
  2468. a.prototype.Ki = function (a, b, c, d, e, k) {
  2469. var f,
  2470. g,
  2471. h,
  2472. n;
  2473. if (!a)
  2474. return null;
  2475. var m = this.da[a[1]],
  2476. p = m.ec.Vi;
  2477. if (this.ll && p && !m.Bt || p && !this.qa &&
  2478. 11 === a[0][11])
  2479. return null;
  2480. var q = b;
  2481. p || (b = null);
  2482. var t;
  2483. m.Dp.length ? (t = m.Dp.pop(), t.Re = !0, m.ec.Za.call(t, m)) : (t = new m.ec.Za(m), t.Re = !1);
  2484. t.uid = c && !k ? a[2] : this.Kn++;
  2485. this.gj[t.uid.toString()] = t;
  2486. t.mz = this.Ly++;
  2487. t.bk = m.G.length;
  2488. f = 0;
  2489. for (g = this.ne.length; f < g; ++f)
  2490. this.ne[f].type === m && t.bk++;
  2491. t.Um = xb;
  2492. h = a[3];
  2493. if (t.Re)
  2494. Qa(t.ea);
  2495. else {
  2496. t.ea = {};
  2497. if ("undefined" !== typeof cr_is_preview)
  2498. for (t.ay = [], t.ay.length = h.length, f = 0, g = h.length; f < g; f++)
  2499. t.ay[f] = h[f][1];
  2500. t.Xc = [];
  2501. t.Xc.length = h.length
  2502. }
  2503. f = 0;
  2504. for (g = h.length; f < g; f++)
  2505. t.Xc[f] = h[f][0];
  2506. if (p) {
  2507. var G = a[0];
  2508. t.x = ia(d) ? G[0] : d;
  2509. t.y = ia(e) ? G[1] : e;
  2510. t.z = G[2];
  2511. t.width = G[3];
  2512. t.height = G[4];
  2513. t.depth = G[5];
  2514. t.L = G[6];
  2515. t.opacity = G[7];
  2516. t.oe = G[8];
  2517. t.pe = G[9];
  2518. t.me = G[10];
  2519. f = G[11];
  2520. !this.qa && m.Ea.length && (t.me = f);
  2521. t.Gm = Ya(t.me);
  2522. this.ca && ab(t, t.me, this.ca);
  2523. if (t.Re) {
  2524. f = 0;
  2525. for (g = G[12].length; f < g; f++)
  2526. for (h = 0, n = G[12][f].length; h < n; h++)
  2527. t.mc[f][h] = G[12][f][h];
  2528. t.hb.set(0, 0, 0, 0);
  2529. t.Ii.set(0, 0, -1, -1);
  2530. t.Wb.$n(t.hb);
  2531. t.zs.length = 0
  2532. } else {
  2533. t.mc = G[12].slice(0);
  2534. f = 0;
  2535. for (g = t.mc.length; f < g; f++)
  2536. t.mc[f] = G[12][f].slice(0);
  2537. t.nb = [];
  2538. t.yi = [];
  2539. t.yi.length =
  2540. m.Ea.length;
  2541. t.hb = new va(0, 0, 0, 0);
  2542. t.Ii = new va(0, 0, -1, -1);
  2543. t.Wb = new wa;
  2544. t.zs = [];
  2545. t.ka = Bb;
  2546. t.YG = Cb;
  2547. t.Fe = Db;
  2548. t.Ta = Eb;
  2549. t.bA = Fb;
  2550. t.df = Gb
  2551. }
  2552. t.ii = !1;
  2553. t.DF = 0;
  2554. t.CF = 0;
  2555. t.BF = null;
  2556. 14 === G.length && (t.ii = !0, t.DF = G[13][0], t.CF = G[13][1], t.BF = G[13][2]);
  2557. f = 0;
  2558. for (g = m.Ea.length; f < g; f++)
  2559. t.yi[f] = !0;
  2560. t.li = Hb;
  2561. t.li();
  2562. t.dA = !!t.nb.length;
  2563. t.ys = !0;
  2564. t.As = !0;
  2565. m.Xo = !0;
  2566. t.visible = !0;
  2567. t.Jn = -1;
  2568. t.T = b;
  2569. t.Hk = b.G.length;
  2570. "undefined" === typeof t.Oa && (t.Oa = null);
  2571. this.qb = t.wf = !0
  2572. }
  2573. t.toString = yb;
  2574. var Q;
  2575. f = l.length = 0;
  2576. for (g = m.Xb.length; f < g; f++)
  2577. l.push.apply(l, m.Xb[f].Ic);
  2578. l.push.apply(l, m.Ic);
  2579. if (t.Re)
  2580. for (f = 0, g = l.length; f < g; f++) {
  2581. var T = l[f];
  2582. Q = t.Ia[f];
  2583. Q.Re = !0;
  2584. T.ba.Za.call(Q, T, t);
  2585. G = a[4][f];
  2586. h = 0;
  2587. for (n = G.length; h < n; h++)
  2588. Q.$[h] = G[h];
  2589. Q.Ca();
  2590. T.ba.In.add(t)
  2591. }
  2592. else
  2593. for (t.Ia = [], f = 0, g = l.length; f < g; f++)
  2594. T = l[f], Q = new T.ba.Za(T, t), Q.Re = !1, Q.$ = a[4][f].slice(0), Q.Ca(), t.Ia.push(Q), T.ba.In.add(t);
  2595. G = a[5];
  2596. if (t.Re)
  2597. for (f = 0, g = G.length; f < g; f++)
  2598. t.$[f] = G[f];
  2599. else
  2600. t.$ = G.slice(0);
  2601. this.ne.push(t);
  2602. b && (b.G.push(t), 1 !== b.Kf || 1 !== b.Lf) && (m.Yo = !0);
  2603. this.Kq++;
  2604. if (m.Je) {
  2605. if (t.Je = !0, t.Re ? t.siblings.length = 0 : t.siblings =
  2606. [], !c && !k) {
  2607. f = 0;
  2608. for (g = m.Ee.length; f < g; f++)
  2609. if (m.Ee[f] !== m) {
  2610. if (!m.Ee[f].zf)
  2611. return null;
  2612. t.siblings.push(this.Ki(m.Ee[f].zf, q, !1, p ? t.x : d, p ? t.y : e, !0))
  2613. }
  2614. f = 0;
  2615. for (g = t.siblings.length; f < g; f++)
  2616. for (t.siblings[f].siblings.push(t), h = 0; h < g; h++)
  2617. f !== h && t.siblings[f].siblings.push(t.siblings[h])
  2618. }
  2619. } else
  2620. t.Je = !1, t.siblings = null;
  2621. t.Ca();
  2622. f = 0;
  2623. for (g = t.Ia.length; f < g; f++)
  2624. t.Ia[f].iz && t.Ia[f].iz();
  2625. return t
  2626. };
  2627. a.prototype.ht = function (a) {
  2628. var b,
  2629. c;
  2630. b = 0;
  2631. for (c = this.mb.cb.length; b < c; b++) {
  2632. var d = this.mb.cb[b];
  2633. if (cb(d.name, a))
  2634. return d
  2635. }
  2636. return null
  2637. };
  2638. a.prototype.Sm = function (a) {
  2639. a = sa(a);
  2640. 0 > a && (a = 0);
  2641. a >= this.mb.cb.length && (a = this.mb.cb.length - 1);
  2642. return this.mb.cb[a]
  2643. };
  2644. a.prototype.Bs = function (a) {
  2645. var b,
  2646. c;
  2647. b = 0;
  2648. for (c = a.length; b < c; b++)
  2649. a[b].Pa().gb = !0
  2650. };
  2651. a.prototype.Vn = function (a) {
  2652. var b,
  2653. c;
  2654. b = 0;
  2655. for (c = a.length; b < c; b++)
  2656. a[b].Vn()
  2657. };
  2658. a.prototype.Wn = function (a) {
  2659. var b,
  2660. c;
  2661. b = 0;
  2662. for (c = a.length; b < c; b++)
  2663. a[b].Wn()
  2664. };
  2665. a.prototype.jj = function (a) {
  2666. var b,
  2667. c;
  2668. b = 0;
  2669. for (c = a.length; b < c; b++)
  2670. a[b].jj()
  2671. };
  2672. a.prototype.Zz = function (a) {
  2673. if (a.Xo) {
  2674. var b,
  2675. c,
  2676. d = a.G;
  2677. b = 0;
  2678. for (c = d.length; b < c; ++b)
  2679. d[b].bA();
  2680. d =
  2681. this.ne;
  2682. b = 0;
  2683. for (c = d.length; b < c; ++b)
  2684. d[b].type === a && d[b].bA();
  2685. a.Xo = !1
  2686. }
  2687. };
  2688. a.prototype.Kx = function (a, b, c, d) {
  2689. var e,
  2690. k,
  2691. f = a ? 1 !== a.Kf || 1 !== a.Lf : !1;
  2692. if (b.Ka)
  2693. for (a = 0, e = b.El.length; a < e; ++a)
  2694. k = b.El[a], f || k.Yo ? Aa(d, k.G) : (this.Zz(k), k.Fm.nz(c, d));
  2695. else
  2696. f || b.Yo ? Aa(d, b.G) : (this.Zz(b), b.Fm.nz(c, d))
  2697. };
  2698. a.prototype.xD = function (a, b, c, d) {
  2699. var e,
  2700. k;
  2701. e = 0;
  2702. for (k = b.length; e < k; ++e)
  2703. this.Kx(a, b[e], c, d)
  2704. };
  2705. a.prototype.wD = function (a, b, c) {
  2706. var d = this.Iz;
  2707. d && this.xD(a, d.xu, b, c)
  2708. };
  2709. a.prototype.zF = function (a, b, c) {
  2710. var d = a.Pa(),
  2711. e,
  2712. k,
  2713. f,
  2714. g,
  2715. h,
  2716. l;
  2717. if (d.gb)
  2718. for (d.gb =
  2719. !1, e = d.G.length = 0, g = a.G.length; e < g; e++)
  2720. f = a.G[e], f.Ta(), h = f.T.Ce(b, c, !0), l = f.T.Ce(b, c, !1), f.Fe(h, l) && d.G.push(f);
  2721. else {
  2722. e = k = 0;
  2723. for (g = d.G.length; e < g; e++)
  2724. f = d.G[e], f.Ta(), h = f.T.Ce(b, c, !0), l = f.T.Ce(b, c, !1), f.Fe(h, l) && (d.G[k] = d.G[e], k++);
  2725. d.G.length = k
  2726. }
  2727. a.bg();
  2728. return d.ot()
  2729. };
  2730. a.prototype.Dk = function (a, b) {
  2731. if (!(a && b && a !== b && a.wf && b.wf))
  2732. return !1;
  2733. a.Ta();
  2734. b.Ta();
  2735. var c = a.T,
  2736. d = b.T,
  2737. e,
  2738. k,
  2739. f,
  2740. g,
  2741. h,
  2742. l,
  2743. n,
  2744. m;
  2745. if (c === d || c.Kf === d.Kf && d.Lf === d.Lf && c.scale === d.scale && c.L === d.L && c.yg === d.yg) {
  2746. if (!a.hb.SD(b.hb) || !a.Wb.by(b.Wb) || a.ii && b.ii)
  2747. return !1;
  2748. if (a.ii)
  2749. return this.Nz(a, b);
  2750. if (b.ii)
  2751. return this.Nz(b, a);
  2752. n = a.Oa && !a.Oa.gk();
  2753. e = b.Oa && !b.Oa.gk();
  2754. if (!n && !e)
  2755. return !0;
  2756. n ? (a.Oa.Oj(a.width, a.height, a.L), n = a.Oa) : (this.vg.Ql(a.Wb, a.x, a.y, a.width, a.height), n = this.vg);
  2757. e ? (b.Oa.Oj(b.width, b.height, b.L), m = b.Oa) : (this.vg.Ql(b.Wb, b.x, b.y, b.width, b.height), m = this.vg);
  2758. return n.Zm(m, b.x - a.x, b.y - a.y)
  2759. }
  2760. n = a.Oa && !a.Oa.gk();
  2761. e = b.Oa && !b.Oa.gk();
  2762. n ? (a.Oa.Oj(a.width, a.height, a.L), this.vg.Cz(a.Oa)) : this.vg.Ql(a.Wb, a.x, a.y, a.width, a.height);
  2763. n = this.vg;
  2764. e ? (b.Oa.Oj(b.width, b.height,
  2765. b.L), this.rv.Cz(b.Oa)) : this.rv.Ql(b.Wb, b.x, b.y, b.width, b.height);
  2766. m = this.rv;
  2767. e = 0;
  2768. for (k = n.nf; e < k; e++)
  2769. f = 2 * e, g = f + 1, h = n.Ec[f], l = n.Ec[g], n.Ec[f] = c.ae(h + a.x, l + a.y, !0), n.Ec[g] = c.ae(h + a.x, l + a.y, !1);
  2770. n.Ta();
  2771. e = 0;
  2772. for (k = m.nf; e < k; e++)
  2773. f = 2 * e, g = f + 1, h = m.Ec[f], l = m.Ec[g], m.Ec[f] = d.ae(h + b.x, l + b.y, !0), m.Ec[g] = d.ae(h + b.x, l + b.y, !1);
  2774. m.Ta();
  2775. return n.Zm(m, 0, 0)
  2776. };
  2777. var n = new wa;
  2778. new va(0, 0, 0, 0);
  2779. var k = [];
  2780. a.prototype.Nz = function (a, b) {
  2781. var c,
  2782. d,
  2783. e,
  2784. f,
  2785. g = b.hb,
  2786. h = a.x,
  2787. l = a.y;
  2788. a.eH(g, k);
  2789. var m = b.Oa && !b.Oa.gk();
  2790. c = 0;
  2791. for (d = k.length; c < d; ++c)
  2792. if (e = k[c],
  2793. f = e.eF, g.TD(f, h, l) && (n.$n(f), n.offset(h, l), n.by(b.Wb)))
  2794. if (m)
  2795. if (b.Oa.Oj(b.width, b.height, b.L), e.ah) {
  2796. if (e.ah.Zm(b.Oa, b.x - (h + f.left), b.y - (l + f.top)))
  2797. return k.length = 0, !0
  2798. } else {
  2799. if (this.vg.Ql(n, 0, 0, f.right - f.left, f.bottom - f.top), this.vg.Zm(b.Oa, b.x, b.y))
  2800. return k.length = 0, !0
  2801. }
  2802. else if (e.ah) {
  2803. if (this.vg.Ql(b.Wb, 0, 0, b.width, b.height), e.ah.Zm(this.vg, - (h + f.left), - (l + f.top)))
  2804. return k.length = 0, !0
  2805. } else
  2806. return k.length = 0, !0;
  2807. k.length = 0;
  2808. return !1
  2809. };
  2810. a.prototype.Uz = function (a, b) {
  2811. if (!b)
  2812. return !1;
  2813. var c,
  2814. d,
  2815. e,
  2816. k,
  2817. f;
  2818. c = 0;
  2819. for (d = a.Ic.length; c <
  2820. d; c++)
  2821. if (a.Ic[c].ba instanceof b)
  2822. return !0;
  2823. if (!a.Ka)
  2824. for (c = 0, d = a.Xb.length; c < d; c++)
  2825. for (f = a.Xb[c], e = 0, k = f.Ic.length; e < k; e++)
  2826. if (f.Ic[e].ba instanceof b)
  2827. return !0;
  2828. return !1
  2829. };
  2830. a.prototype.Vz = function (a) {
  2831. return this.Uz(a, Zb.uG)
  2832. };
  2833. a.prototype.yv = function (a) {
  2834. return this.Uz(a, Zb.vG)
  2835. };
  2836. var p = [];
  2837. a.prototype.Ek = function (a) {
  2838. var b,
  2839. c,
  2840. d;
  2841. a.Ta();
  2842. this.wD(a.T, a.hb, p);
  2843. b = 0;
  2844. for (c = p.length; b < c; ++b)
  2845. if (d = p[b], d.ea.oH && this.Dk(a, d))
  2846. return p.length = 0, d;
  2847. p.length = 0;
  2848. return null
  2849. };
  2850. a.prototype.cF = function (a, b, c, d) {
  2851. d = d || 50;
  2852. var e = a.x,
  2853. k = a.y,
  2854. f,
  2855. g = null,
  2856. h = null;
  2857. for (f = 0; f < d; f++)
  2858. if (a.x = e + b * f, a.y = k + c * f, a.ka(), !this.Dk(a, g) && ((g = this.Ek(a)) && (h = g), !g && !g))
  2859. return h && this.$E(a, b, c, h), !0;
  2860. a.x = e;
  2861. a.y = k;
  2862. a.ka();
  2863. return !1
  2864. };
  2865. a.prototype.$E = function (a, b, c, d) {
  2866. var e = 2,
  2867. k,
  2868. f = !1;
  2869. k = !1;
  2870. for (var g = a.x, h = a.y; 16 >= e; )
  2871. k = 1 / e, e *= 2, a.x += b * k * (f ? 1 : -1), a.y += c * k * (f ? 1 : -1), a.ka(), this.Dk(a, d) ? k = f = !0 : (k = f = !1, g = a.x, h = a.y);
  2872. k && (a.x = g, a.y = h, a.ka())
  2873. };
  2874. a.prototype.dF = function (a) {
  2875. var b = 0,
  2876. c = a.x,
  2877. d = a.y,
  2878. e = 0,
  2879. k = 0,
  2880. f = 0,
  2881. g = this.Ek(a);
  2882. if (g) {
  2883. for (; 100 >= b; ) {
  2884. switch (e) {
  2885. case 0:
  2886. k = 0;
  2887. f = -1;
  2888. b++;
  2889. break;
  2890. case 1:
  2891. k =
  2892. 1;
  2893. f = -1;
  2894. break;
  2895. case 2:
  2896. k = 1;
  2897. f = 0;
  2898. break;
  2899. case 3:
  2900. f = k = 1;
  2901. break;
  2902. case 4:
  2903. k = 0;
  2904. f = 1;
  2905. break;
  2906. case 5:
  2907. k = -1;
  2908. f = 1;
  2909. break;
  2910. case 6:
  2911. k = -1;
  2912. f = 0;
  2913. break;
  2914. case 7:
  2915. f = k = -1
  2916. }
  2917. e = (e + 1) % 8;
  2918. a.x = sa(c + k * b);
  2919. a.y = sa(d + f * b);
  2920. a.ka();
  2921. if (!this.Dk(a, g) && (g = this.Ek(a), !g))
  2922. return
  2923. }
  2924. a.x = c;
  2925. a.y = d;
  2926. a.ka()
  2927. }
  2928. };
  2929. a.prototype.rz = function (a, b) {
  2930. a.wf && b.wf && this.Zq.push([a, b])
  2931. };
  2932. a.prototype.$B = function (a, b) {
  2933. var c,
  2934. d,
  2935. e;
  2936. c = 0;
  2937. for (d = this.Zq.length; c < d; c++)
  2938. if (e = this.Zq[c], e[0] == a && e[1] == b || e[0] == b && e[1] == a)
  2939. return !0;
  2940. return !1
  2941. };
  2942. a.prototype.WB = function (a, b, c) {
  2943. var d = a.x,
  2944. e = a.y,
  2945. k = oa(10, Na(b,
  2946. c, d, e)),
  2947. f = Ia(b, c, d, e),
  2948. g = this.Ek(a);
  2949. if (!g)
  2950. return Fa(f + qa);
  2951. var h = g,
  2952. l,
  2953. n,
  2954. m,
  2955. p,
  2956. q = Ca(5);
  2957. for (l = 1; 36 > l; l++)
  2958. if (n = f - l * q, a.x = b + Math.cos(n) * k, a.y = c + Math.sin(n) * k, a.ka(), !this.Dk(a, h) && (h = this.Ek(a), !h)) {
  2959. m = n;
  2960. break
  2961. }
  2962. 36 === l && (m = Fa(f + qa));
  2963. h = g;
  2964. for (l = 1; 36 > l; l++)
  2965. if (n = f + l * q, a.x = b + Math.cos(n) * k, a.y = c + Math.sin(n) * k, a.ka(), !this.Dk(a, h) && (h = this.Ek(a), !h)) {
  2966. p = n;
  2967. break
  2968. }
  2969. 36 === l && (p = Fa(f + qa));
  2970. a.x = d;
  2971. a.y = e;
  2972. a.ka();
  2973. if (p === m)
  2974. return p;
  2975. a = Ja(p, m) / 2;
  2976. a = La(p, m) ? Fa(m + a + qa) : Fa(p + a);
  2977. m = Math.cos(f);
  2978. f = Math.sin(f);
  2979. p = Math.cos(a);
  2980. a = Math.sin(a);
  2981. b =
  2982. m * p + f * a;
  2983. return Ia(0, 0, m - 2 * b * p, f - 2 * b * a)
  2984. };
  2985. var q = -1;
  2986. a.prototype.trigger = function (a, b, c) {
  2987. if (!this.mb)
  2988. return !1;
  2989. var d = this.mb.Xj;
  2990. if (!d)
  2991. return !1;
  2992. var e = !1,
  2993. k,
  2994. f,
  2995. g;
  2996. q++;
  2997. var h = d.Ns;
  2998. f = 0;
  2999. for (g = h.length; f < g; ++f)
  3000. k = this.Rz(a, b, h[f], c), e = e || k;
  3001. k = this.Rz(a, b, d, c);
  3002. q--;
  3003. return e || k
  3004. };
  3005. a.prototype.Rz = function (a, b, c, d) {
  3006. var e = !1,
  3007. k,
  3008. f,
  3009. g,
  3010. h;
  3011. if (b)
  3012. for (g = this.wv(a, b, b.type.name, c, d), e = e || g, h = b.type.Xb, k = 0, f = h.length; k < f; ++k)
  3013. g = this.wv(a, b, h[k].name, c, d), e = e || g;
  3014. else
  3015. g = this.wv(a, b, "system", c, d), e = e || g;
  3016. return e
  3017. };
  3018. a.prototype.wv = function (a,
  3019. b, c, d, e) {
  3020. var k,
  3021. f = !1,
  3022. g = !1,
  3023. g = "undefined" !== typeof e,
  3024. h = (g ? d.Dx : d.Sz)[c];
  3025. if (!h)
  3026. return f;
  3027. var l = null;
  3028. d = 0;
  3029. for (k = h.length; d < k; ++d)
  3030. if (h[d].method == a) {
  3031. l = h[d].Jm;
  3032. break
  3033. }
  3034. if (!l)
  3035. return f;
  3036. a = g ? l[e] : l;
  3037. if (!a)
  3038. return null;
  3039. d = 0;
  3040. for (k = a.length; d < k; d++)
  3041. e = a[d][0], g = a[d][1], g = this.fD(b, c, e, g), f = f || g;
  3042. return f
  3043. };
  3044. a.prototype.fD = function (a, b, c, d) {
  3045. var e,
  3046. k,
  3047. f = !1;
  3048. this.xv++;
  3049. var g = this.zd().xd;
  3050. g && this.Vn(g.oj);
  3051. var h = 1 < this.xv;
  3052. this.Vn(c.oj);
  3053. h && this.aF();
  3054. var l = this.Uq(c);
  3055. l.xd = c;
  3056. a && (e = this.types[b].Pa(), e.gb = !1, e.G.length = 1, e.G[0] = a, this.types[b].bg());
  3057. a = !0;
  3058. if (c.parent) {
  3059. b = l.Mz;
  3060. for (e = c.parent; e; )
  3061. b.push(e), e = e.parent;
  3062. b.reverse();
  3063. e = 0;
  3064. for (k = b.length; e < k; e++)
  3065. if (!b[e].jF()) {
  3066. a = !1;
  3067. break
  3068. }
  3069. }
  3070. a && (this.Jp++, c.qg ? c.iF(d) : c.Qc(), f = f || l.jk);
  3071. this.Qq();
  3072. h && this.VE();
  3073. this.jj(c.oj);
  3074. g && this.jj(g.oj);
  3075. 0 !== this.gg || 0 !== q || this.Ct || this.Jg.fg() && !this.ne.length || this.Gd();
  3076. this.xv--;
  3077. return f
  3078. };
  3079. a.prototype.Tp = function () {
  3080. var a = this.zd();
  3081. return a.xd.Uc[a.Jc]
  3082. };
  3083. a.prototype.aF = function () {
  3084. this.zq++;
  3085. this.zq >= this.Xt.length && this.Xt.push([])
  3086. };
  3087. a.prototype.VE = function () {
  3088. this.zq--
  3089. };
  3090. a.prototype.Lx =
  3091. function () {
  3092. return this.Xt[this.zq]
  3093. };
  3094. a.prototype.Uq = function (a) {
  3095. this.Ip++;
  3096. this.Ip >= this.Rs.length && this.Rs.push(new Ib);
  3097. var b = this.zd();
  3098. b.reset(a);
  3099. return b
  3100. };
  3101. a.prototype.Qq = function () {
  3102. this.Ip--
  3103. };
  3104. a.prototype.zd = function () {
  3105. return this.Rs[this.Ip]
  3106. };
  3107. a.prototype.bF = function () {
  3108. this.Aq++;
  3109. this.Aq >= this.Zt.length && this.Zt.push(ca({
  3110. name : void 0,
  3111. index : 0,
  3112. je : !1
  3113. }));
  3114. var a = this.nD();
  3115. a.name = void 0;
  3116. a.index = 0;
  3117. a.je = !1;
  3118. return a
  3119. };
  3120. a.prototype.WE = function () {
  3121. this.Aq--
  3122. };
  3123. a.prototype.nD = function () {
  3124. return this.Zt[this.Aq]
  3125. };
  3126. a.prototype.Mx =
  3127. function (a, b) {
  3128. for (var c, d, e, k, f, g; b; ) {
  3129. c = 0;
  3130. for (d = b.Qf.length; c < d; c++)
  3131. if (g = b.Qf[c], g instanceof Jb && cb(a, g.name))
  3132. return g;
  3133. b = b.parent
  3134. }
  3135. c = 0;
  3136. for (d = this.Eh.length; c < d; c++)
  3137. for (f = this.Eh[c], e = 0, k = f.Oi.length; e < k; e++)
  3138. if (g = f.Oi[e], g instanceof Jb && cb(a, g.name))
  3139. return g;
  3140. return null
  3141. };
  3142. a.prototype.Px = function (a) {
  3143. var b,
  3144. c;
  3145. b = 0;
  3146. for (c = this.jg.length; b < c; b++)
  3147. if (this.jg[b].Wa === a)
  3148. return this.jg[b];
  3149. return null
  3150. };
  3151. a.prototype.Xp = function (a) {
  3152. var b,
  3153. c;
  3154. b = 0;
  3155. for (c = this.da.length; b < c; b++)
  3156. if (this.da[b].Wa === a)
  3157. return this.da[b];
  3158. return null
  3159. };
  3160. a.prototype.oD = function (a) {
  3161. var b,
  3162. c;
  3163. b = 0;
  3164. for (c = this.Ai.length; b < c; b++)
  3165. if (this.Ai[b].Wa === a)
  3166. return this.Ai[b];
  3167. return null
  3168. };
  3169. a.prototype.ND = function () {
  3170. var a = this,
  3171. c = this.bv,
  3172. k = this.Oh,
  3173. f = this.vq,
  3174. g = !1;
  3175. this.Hz && (g = !0, c = "__c2_continuouspreview", this.Hz = !1);
  3176. if (c.length) {
  3177. this.Gd();
  3178. k = this.oF();
  3179. if (window.indexedDB && !this.Df)
  3180. b(c, k, function () {
  3181. fa("Saved state to IndexedDB storage (" + k.length + " bytes)");
  3182. a.Oh = k;
  3183. a.trigger(B.prototype.B.cs, null);
  3184. a.Oh = "";
  3185. g && e()
  3186. }, function (b) {
  3187. try {
  3188. localStorage.setItem("__c2save_" + c, k),
  3189. fa("Saved state to WebStorage (" +
  3190. k.length + " bytes)"),
  3191. a.Oh = k,
  3192. a.trigger(B.prototype.B.cs, null),
  3193. a.Oh = "",
  3194. g && e()
  3195. } catch (d) {
  3196. fa("Failed to save game state: " + b + "; " + d)
  3197. }
  3198. });
  3199. else
  3200. try {
  3201. localStorage.setItem("__c2save_" + c, k),
  3202. fa("Saved state to WebStorage (" + k.length + " bytes)"),
  3203. a.Oh = k,
  3204. this.trigger(B.prototype.B.cs, null),
  3205. a.Oh = "",
  3206. g && e()
  3207. } catch (h) {
  3208. fa("Error saving to WebStorage: " + h)
  3209. }
  3210. this.de = this.vq = this.bv = ""
  3211. }
  3212. f.length && (window.indexedDB && !this.Df ? d(f, function (b) {
  3213. b ? (a.de = b, fa("Loaded state from IndexedDB storage (" + a.de.length + " bytes)")) : (a.de = localStorage.getItem("__c2save_" +
  3214. f) || "", fa("Loaded state from WebStorage (" + a.de.length + " bytes)"));
  3215. a.eo = !1;
  3216. a.de.length || a.trigger(B.prototype.B.bs, null)
  3217. }, function () {
  3218. a.de = localStorage.getItem("__c2save_" + f) || "";
  3219. fa("Loaded state from WebStorage (" + a.de.length + " bytes)");
  3220. a.eo = !1;
  3221. a.de.length || a.trigger(B.prototype.B.bs, null)
  3222. }) : (this.de = localStorage.getItem("__c2save_" + f) || "", fa("Loaded state from WebStorage (" + this.de.length + " bytes)"), this.eo = !1, a.de.length || a.trigger(B.prototype.B.bs, null)), this.bv = this.vq = "");
  3223. this.de.length && (this.Gd(),
  3224. this.hE(this.de), this.Oh = this.de, this.trigger(B.prototype.B.QA, null), this.de = this.Oh = "")
  3225. };
  3226. a.prototype.oF = function () {
  3227. var a,
  3228. b,
  3229. c,
  3230. d,
  3231. e,
  3232. k,
  3233. g,
  3234. h = {
  3235. c2save : !0,
  3236. version : 1,
  3237. rt : {
  3238. time : this.Ke.Cb,
  3239. timescale : this.ji,
  3240. tickcount : this.hi,
  3241. execcount : this.Jp,
  3242. next_uid : this.Kn,
  3243. running_layout : this.mb.Wa,
  3244. start_time_offset : Date.now() - this.lr
  3245. },
  3246. types : {},
  3247. layouts : {},
  3248. events : {
  3249. groups : {},
  3250. cnds : {},
  3251. acts : {},
  3252. vars : {}
  3253. }
  3254. };
  3255. a = 0;
  3256. for (b = this.da.length; a < b; a++)
  3257. if (e = this.da[a], !e.Ka && !this.Vz(e)) {
  3258. k = {
  3259. instances : []
  3260. };
  3261. Pa(e.ea) && (k.ex = f(e.ea));
  3262. c = 0;
  3263. for (d = e.G.length; c <
  3264. d; c++)
  3265. k.instances.push(this.av(e.G[c]));
  3266. h.types[e.Wa.toString()] = k
  3267. }
  3268. a = 0;
  3269. for (b = this.jg.length; a < b; a++)
  3270. c = this.jg[a], h.layouts[c.Wa.toString()] = c.Zc();
  3271. d = h.events.groups;
  3272. a = 0;
  3273. for (b = this.Ai.length; a < b; a++)
  3274. c = this.Ai[a], d[c.Wa.toString()] = this.aq[c.Vm].gl;
  3275. b = h.events.cnds;
  3276. for (g in this.al)
  3277. this.al.hasOwnProperty(g) && (a = this.al[g], Pa(a.ea) && (b[g] = {
  3278. ex : f(a.ea)
  3279. }));
  3280. b = h.events.acts;
  3281. for (g in this.Xk)
  3282. this.Xk.hasOwnProperty(g) && (a = this.Xk[g], Pa(a.ea) && (b[g] = {
  3283. ex : a.ea
  3284. }));
  3285. b = h.events.vars;
  3286. for (g in this.Xl)
  3287. this.Xl.hasOwnProperty(g) &&
  3288. (a = this.Xl[g], a.jq || a.parent && !a.en || (b[g] = a.data));
  3289. h.system = this.ih.Zc();
  3290. return JSON.stringify(h)
  3291. };
  3292. a.prototype.qz = function () {
  3293. var a,
  3294. b,
  3295. c,
  3296. d,
  3297. e,
  3298. k;
  3299. this.gj = {};
  3300. a = 0;
  3301. for (b = this.da.length; a < b; a++)
  3302. if (c = this.da[a], !c.Ka)
  3303. for (d = 0, e = c.G.length; d < e; d++)
  3304. k = c.G[d], this.gj[k.uid.toString()] = k
  3305. };
  3306. a.prototype.hE = function (a) {
  3307. a = JSON.parse(a);
  3308. if (a.c2save && !(1 < a.version)) {
  3309. var b = a.rt;
  3310. this.Ke.reset();
  3311. this.Ke.Cb = b.time;
  3312. this.ji = b.timescale;
  3313. this.hi = b.tickcount;
  3314. this.lr = Date.now() - b.start_time_offset;
  3315. var c = b.running_layout;
  3316. if (c !==
  3317. this.mb.Wa)
  3318. if (c = this.Px(c))
  3319. this.yx(c);
  3320. else
  3321. return;
  3322. var d,
  3323. e,
  3324. k,
  3325. f,
  3326. g,
  3327. h,
  3328. l;
  3329. h = a.types;
  3330. for (e in h)
  3331. if (h.hasOwnProperty(e) && (f = this.Xp(parseInt(e, 10))) && !f.Ka && !this.Vz(f)) {
  3332. h[e].ex ? f.ea = h[e].ex : Qa(f.ea);
  3333. g = f.G;
  3334. k = h[e].instances;
  3335. c = 0;
  3336. for (d = pa(g.length, k.length); c < d; c++)
  3337. this.wq(g[c], k[c]);
  3338. c = k.length;
  3339. for (d = g.length; c < d; c++)
  3340. this.pi(g[c]);
  3341. c = g.length;
  3342. for (d = k.length; c < d; c++) {
  3343. g = null;
  3344. if (f.ec.Vi && (g = this.mb.Wp(k[c].w.l), !g))
  3345. continue;
  3346. g = this.Ki(f.zf, g, !1, 0, 0, !0);
  3347. this.wq(g, k[c])
  3348. }
  3349. f.Sl = !0
  3350. }
  3351. this.Gd();
  3352. this.qz();
  3353. d = a.layouts;
  3354. for (e in d)
  3355. d.hasOwnProperty(e) &&
  3356. (c = this.Px(parseInt(e, 10))) && c.Ad(d[e]);
  3357. d = a.events.groups;
  3358. for (e in d)
  3359. d.hasOwnProperty(e) && (c = this.oD(parseInt(e, 10))) && this.aq[c.Vm] && (this.aq[c.Vm].gl = d[e]);
  3360. c = a.events.cnds;
  3361. for (e in c)
  3362. c.hasOwnProperty(e) && this.al.hasOwnProperty(e) && (this.al[e].ea = c[e].ex);
  3363. c = a.events.acts;
  3364. for (e in c)
  3365. c.hasOwnProperty(e) && this.Xk.hasOwnProperty(e) && (this.Xk[e].ea = c[e].ex);
  3366. c = a.events.vars;
  3367. for (e in c)
  3368. c.hasOwnProperty(e) && this.Xl.hasOwnProperty(e) && (this.Xl[e].data = c[e]);
  3369. this.Kn = b.next_uid;
  3370. this.ih.Ad(a.system);
  3371. c = 0;
  3372. for (d =
  3373. this.da.length; c < d; c++)
  3374. if (f = this.da[c], !f.Ka)
  3375. for (e = 0, a = f.G.length; e < a; e++) {
  3376. g = f.G[e];
  3377. if (f.Je)
  3378. for (h = g.Um(), b = g.siblings.length = 0, k = f.Ee.length; b < k; b++)
  3379. l = f.Ee[b], f !== l && g.siblings.push(l.G[h]);
  3380. g.Gg && g.Gg();
  3381. if (g.Ia)
  3382. for (b = 0, k = g.Ia.length; b < k; b++)
  3383. h = g.Ia[b], h.Gg && h.Gg()
  3384. }
  3385. this.qb = !0
  3386. }
  3387. };
  3388. a.prototype.av = function (a, b) {
  3389. var c,
  3390. d,
  3391. e,
  3392. k,
  3393. g;
  3394. k = a.type;
  3395. e = k.ec;
  3396. var h = {};
  3397. b ? h.c2 = !0 : h.uid = a.uid;
  3398. Pa(a.ea) && (h.ex = f(a.ea));
  3399. if (a.Xc && a.Xc.length)
  3400. for (h.ivs = {}, c = 0, d = a.Xc.length; c < d; c++)
  3401. h.ivs[a.type.xt[c].toString()] = a.Xc[c];
  3402. if (e.Vi) {
  3403. e = {
  3404. x : a.x,
  3405. y : a.y,
  3406. w : a.width,
  3407. h : a.height,
  3408. l : a.T.Wa,
  3409. zi : a.df()
  3410. };
  3411. 0 !== a.L && (e.a = a.L);
  3412. 1 !== a.opacity && (e.o = a.opacity);
  3413. 0.5 !== a.oe && (e.hX = a.oe);
  3414. 0.5 !== a.pe && (e.hY = a.pe);
  3415. 0 !== a.me && (e.bm = a.me);
  3416. a.visible || (e.v = a.visible);
  3417. a.wf || (e.ce = a.wf);
  3418. -1 !== a.Jn && (e.mts = a.Jn);
  3419. if (k.Ea.length)
  3420. for (e.fx = [], c = 0, d = k.Ea.length; c < d; c++)
  3421. g = k.Ea[c], e.fx.push({
  3422. name : g.name,
  3423. active : a.yi[g.index],
  3424. params : a.mc[g.index]
  3425. });
  3426. h.w = e
  3427. }
  3428. if (a.Ia && a.Ia.length)
  3429. for (h.behs = {}, c = 0, d = a.Ia.length; c < d; c++)
  3430. k = a.Ia[c], k.Zc && (h.behs[k.type.Wa.toString()] = k.Zc());
  3431. a.Zc && (h.data =
  3432. a.Zc());
  3433. return h
  3434. };
  3435. a.prototype.qD = function (a, b) {
  3436. var c,
  3437. d;
  3438. c = 0;
  3439. for (d = a.xt.length; c < d; c++)
  3440. if (a.xt[c] === b)
  3441. return c;
  3442. return -1
  3443. };
  3444. a.prototype.mD = function (a, b) {
  3445. var c,
  3446. d;
  3447. c = 0;
  3448. for (d = a.Ia.length; c < d; c++)
  3449. if (a.Ia[c].type.Wa === b)
  3450. return c;
  3451. return -1
  3452. };
  3453. a.prototype.wq = function (a, b, c) {
  3454. var d,
  3455. e,
  3456. k,
  3457. f,
  3458. g;
  3459. g = a.type;
  3460. k = g.ec;
  3461. if (c) {
  3462. if (!b.c2)
  3463. return
  3464. } else
  3465. a.uid = b.uid;
  3466. b.ex ? a.ea = b.ex : Qa(a.ea);
  3467. if (e = b.ivs)
  3468. for (d in e)
  3469. e.hasOwnProperty(d) && (c = this.qD(g, parseInt(d, 10)), 0 > c || c >= a.Xc.length || (a.Xc[c] = e[d]));
  3470. if (k.Vi) {
  3471. k = b.w;
  3472. a.T.Wa !== k.l && (c = a.T, a.T =
  3473. this.mb.Wp(k.l), a.T ? (a.T.G.push(a), a.T.Ve = !0, Ba(c.G, a), c.Ve = !0) : (a.T = c, this.pi(a)));
  3474. a.x = k.x;
  3475. a.y = k.y;
  3476. a.width = k.w;
  3477. a.height = k.h;
  3478. a.Hk = k.zi;
  3479. a.L = k.hasOwnProperty("a") ? k.a : 0;
  3480. a.opacity = k.hasOwnProperty("o") ? k.o : 1;
  3481. a.oe = k.hasOwnProperty("hX") ? k.hX : 0.5;
  3482. a.pe = k.hasOwnProperty("hY") ? k.hY : 0.5;
  3483. a.visible = k.hasOwnProperty("v") ? k.v : !0;
  3484. a.wf = k.hasOwnProperty("ce") ? k.ce : !0;
  3485. a.Jn = k.hasOwnProperty("mts") ? k.mts : -1;
  3486. a.me = k.hasOwnProperty("bm") ? k.bm : 0;
  3487. a.Gm = Ya(a.me);
  3488. this.ca && ab(a, a.me, this.ca);
  3489. a.ka();
  3490. if (k.hasOwnProperty("fx"))
  3491. for (c =
  3492. 0, e = k.fx.length; c < e; c++)
  3493. f = g.gt(k.fx[c].name), 0 > f || (a.yi[f] = k.fx[c].active, a.mc[f] = k.fx[c].params);
  3494. a.li()
  3495. }
  3496. if (g = b.behs)
  3497. for (d in g)
  3498. g.hasOwnProperty(d) && (k = this.mD(a, parseInt(d, 10)), 0 > k || a.Ia[k].Ad(g[d]));
  3499. b.data && a.Ad(b.data)
  3500. };
  3501. Nb = function (b) {
  3502. return new a(document.getElementById(b))
  3503. };
  3504. Ob = function (b, c) {
  3505. return new a({
  3506. dc : !0,
  3507. width : b,
  3508. height : c
  3509. })
  3510. };
  3511. window.cr_createRuntime = Nb;
  3512. window.cr_createDCRuntime = Ob;
  3513. window.createCocoonJSRuntime = function () {
  3514. window.c2cocoonjs = !0;
  3515. var b = document.createElement("screencanvas") || document.createElement("canvas");
  3516. b.nH = !0;
  3517. document.body.appendChild(b);
  3518. b = new a(b);
  3519. window.c2runtime = b;
  3520. window.addEventListener("orientationchange", function () {
  3521. window.c2runtime.setSize(window.innerWidth, window.innerHeight)
  3522. });
  3523. window.c2runtime.setSize(window.innerWidth, window.innerHeight);
  3524. return b
  3525. };
  3526. window.createEjectaRuntime = function () {
  3527. var b = new a(document.getElementById("canvas"));
  3528. window.c2runtime = b;
  3529. window.c2runtime.setSize(window.innerWidth, window.innerHeight);
  3530. return b
  3531. }
  3532. })();
  3533. window.cr_getC2Runtime = function () {
  3534. var a = document.getElementById("c2canvas");
  3535. return a ? a.c2runtime : window.c2runtime ? window.c2runtime : null
  3536. };
  3537. window.cr_sizeCanvas = function (a, c) {
  3538. if (0 !== a && 0 !== c) {
  3539. var b = window.cr_getC2Runtime();
  3540. b && b.setSize(a, c)
  3541. }
  3542. };
  3543. window.cr_setSuspended = function (a) {
  3544. var c = window.cr_getC2Runtime();
  3545. c && c.setSuspended(a)
  3546. };
  3547. (function () {
  3548. function a(a, b) {
  3549. this.c = a;
  3550. this.Xj = null;
  3551. this.scrollX = this.c.rc / 2;
  3552. this.scrollY = this.c.qc / 2;
  3553. this.scale = 1;
  3554. this.L = 0;
  3555. this.Nm = !0;
  3556. this.name = b[0];
  3557. this.width = b[1];
  3558. this.height = b[2];
  3559. this.Wz = b[3];
  3560. this.Fz = b[4];
  3561. this.Wa = b[5];
  3562. var c = b[6],
  3563. d,
  3564. m;
  3565. this.cb = [];
  3566. this.Ym = [];
  3567. d = 0;
  3568. for (m = c.length; d < m; d++) {
  3569. var l = new Pb(this, c[d]);
  3570. l.Ny = d;
  3571. this.cb.push(l)
  3572. }
  3573. c = b[7];
  3574. this.dk = [];
  3575. d = 0;
  3576. for (m = c.length; d < m; d++) {
  3577. var l = c[d],
  3578. n = this.c.da[l[1]];
  3579. n.zf || (n.zf = l);
  3580. this.dk.push(l);
  3581. -1 === this.Ym.indexOf(n) && this.Ym.push(n)
  3582. }
  3583. this.Ea = [];
  3584. this.nb = [];
  3585. this.mc = [];
  3586. d = 0;
  3587. for (m = b[8].length; d < m; d++)
  3588. this.Ea.push({
  3589. id : b[8][d][0],
  3590. name : b[8][d][1],
  3591. Cd : -1,
  3592. lc : !0,
  3593. index : d
  3594. }), this.mc.push(b[8][d][2].slice(0));
  3595. this.li();
  3596. this.Ru = new va(0, 0, 1, 1);
  3597. this.Su = new va(0, 0, 1, 1);
  3598. this.hj = {}
  3599. }
  3600. function c(a, b) {
  3601. this.Fb = a;
  3602. this.c = a.c;
  3603. this.G = [];
  3604. this.scale = 1;
  3605. this.L = 0;
  3606. this.Uj = !1;
  3607. this.ki = new va(0, 0, 0, 0);
  3608. this.Qz = new wa;
  3609. this.Te = this.Sd = this.Ue = this.Rd = 0;
  3610. this.Ve = !1;
  3611. this.name = b[0];
  3612. this.index = b[1];
  3613. this.Wa = b[2];
  3614. this.visible = b[3];
  3615. this.Ci = b[4];
  3616. this.Gk = b[5];
  3617. this.Kf = b[6];
  3618. this.Lf = b[7];
  3619. this.opacity =
  3620. b[8];
  3621. this.Ys = b[9];
  3622. this.yg = b[10];
  3623. this.me = b[11];
  3624. this.FC = b[12];
  3625. this.Gm = "source-over";
  3626. this.Jd = this.Pd = 0;
  3627. this.lj = !1;
  3628. var c = b[13],
  3629. d,
  3630. m;
  3631. this.hl = [];
  3632. d = 0;
  3633. for (m = c.length; d < m; d++) {
  3634. var l = c[d],
  3635. n = this.c.da[l[1]];
  3636. n.zf || (n.zf = l, n.gC = this.index);
  3637. this.hl.push(l);
  3638. -1 === this.Fb.Ym.indexOf(n) && this.Fb.Ym.push(n)
  3639. }
  3640. this.Ea = [];
  3641. this.nb = [];
  3642. this.mc = [];
  3643. d = 0;
  3644. for (m = b[14].length; d < m; d++)
  3645. this.Ea.push({
  3646. id : b[14][d][0],
  3647. name : b[14][d][1],
  3648. Cd : -1,
  3649. lc : !0,
  3650. index : d
  3651. }), this.mc.push(b[14][d][2].slice(0));
  3652. this.li();
  3653. this.Ru = new va(0, 0, 1, 1);
  3654. this.Su = new va(0,
  3655. 0, 1, 1)
  3656. }
  3657. function b(a, b) {
  3658. return a.Hk - b.Hk
  3659. }
  3660. a.prototype.nF = function (a) {
  3661. var b = a.type.Wa.toString();
  3662. this.hj.hasOwnProperty(b) || (this.hj[b] = []);
  3663. this.hj[b].push(this.c.av(a))
  3664. };
  3665. a.prototype.Ux = function () {
  3666. var a = this.cb[0];
  3667. return !a.Gk && 1 === a.opacity && !a.Ys && a.visible
  3668. };
  3669. a.prototype.li = function () {
  3670. this.nb.length = 0;
  3671. var a,
  3672. b,
  3673. c;
  3674. a = 0;
  3675. for (b = this.Ea.length; a < b; a++)
  3676. c = this.Ea[a], c.lc && this.nb.push(c)
  3677. };
  3678. a.prototype.ft = function (a) {
  3679. var b,
  3680. c,
  3681. d;
  3682. b = 0;
  3683. for (c = this.Ea.length; b < c; b++)
  3684. if (d = this.Ea[b], d.name === a)
  3685. return d;
  3686. return null
  3687. };
  3688. var d =
  3689. [];
  3690. a.prototype.pv = function () {
  3691. this.Fz && (this.Xj = this.c.Ss[this.Fz], this.Xj.Av());
  3692. this.c.mb = this;
  3693. this.scrollX = this.c.rc / 2;
  3694. this.scrollY = this.c.qc / 2;
  3695. var a,
  3696. c,
  3697. g,
  3698. h,
  3699. m,
  3700. l,
  3701. n;
  3702. a = 0;
  3703. for (g = this.c.da.length; a < g; a++)
  3704. if (c = this.c.da[a], !c.Ka)
  3705. for (m = c.G, c = 0, h = m.length; c < h; c++)
  3706. if (l = m[c], l.T) {
  3707. var k = l.T.Ny;
  3708. k >= this.cb.length && (k = this.cb.length - 1);
  3709. l.T = this.cb[k];
  3710. l.T.G.push(l);
  3711. l.T.Ve = !0
  3712. }
  3713. d.length = 0;
  3714. this.TB();
  3715. a = 0;
  3716. for (g = this.cb.length; a < g; a++)
  3717. l = this.cb[a], l.eC(), l.Uj = !0, c = l.Ce(0, 0, !0, !0), h = l.Ce(0, 0, !1, !0), l.Uj = !1, this.c.ij && (c =
  3718. c + 0.5 | 0, h = h + 0.5 | 0), l.Yu(c, h, null);
  3719. m = !1;
  3720. if (!this.Nm) {
  3721. for (n in this.hj)
  3722. if (this.hj.hasOwnProperty(n) && (c = this.c.Xp(parseInt(n, 10))) && !c.Ka && this.c.yv(c)) {
  3723. h = this.hj[n];
  3724. a = 0;
  3725. for (g = h.length; a < g; a++) {
  3726. l = null;
  3727. if (c.ec.Vi && (l = this.Wp(h[a].w.l), !l))
  3728. continue;
  3729. l = this.c.Ki(c.zf, l, !1, 0, 0, !0);
  3730. this.c.wq(l, h[a]);
  3731. m = !0;
  3732. d.push(l)
  3733. }
  3734. h.length = 0
  3735. }
  3736. a = 0;
  3737. for (g = this.cb.length; a < g; a++)
  3738. this.cb[a].G.sort(b), this.cb[a].Ve = !0
  3739. }
  3740. m && (this.c.Gd(), this.c.qz());
  3741. for (a = 0; a < d.length; a++)
  3742. if (l = d[a], l.type.Je)
  3743. for (g = l.Um(), c = 0, h = l.type.Ee.length; c < h; c++)
  3744. n =
  3745. l.type.Ee[c], l.type !== n && (n.G.length > g ? l.siblings.push(n.G[g]) : n.zf && (m = this.c.Ki(n.zf, l.T, !0, l.x, l.y, !0), this.c.Gd(), n.Ar(), l.siblings.push(m), d.push(m)));
  3746. a = 0;
  3747. for (g = this.dk.length; a < g; a++)
  3748. this.c.Ki(this.dk[a], null, !0);
  3749. this.c.Qj = null;
  3750. this.c.Gd();
  3751. if (this.c.Eb && !this.c.jd)
  3752. for (a = 0, g = this.c.da.length; a < g; a++)
  3753. n = this.c.da[a], !n.Ka && n.G.length && n.Mu && n.Mu(this.c.Eb);
  3754. a = 0;
  3755. for (g = d.length; a < g; a++)
  3756. l = d[a], this.c.trigger(Object.getPrototypeOf(l.type.ec).B.$r, l);
  3757. d.length = 0;
  3758. this.c.trigger(B.prototype.B.ti, null);
  3759. this.Nm = !1
  3760. };
  3761. a.prototype.dC = function () {
  3762. var a,
  3763. b,
  3764. c,
  3765. d,
  3766. m;
  3767. b = a = 0;
  3768. for (c = this.dk.length; a < c; a++)
  3769. d = this.dk[a], m = this.c.da[d[1]], m.global ? this.c.Ki(d, null, !0) : (this.dk[b] = d, b++);
  3770. this.dk.length = b
  3771. };
  3772. a.prototype.wF = function () {
  3773. this.c.trigger(B.prototype.B.PA, null);
  3774. this.c.ih.ve.length = 0;
  3775. var a,
  3776. b,
  3777. c,
  3778. d,
  3779. m,
  3780. l;
  3781. a = 0;
  3782. for (b = this.cb.length; a < b; a++) {
  3783. m = this.cb[a].G;
  3784. c = 0;
  3785. for (d = m.length; c < d; c++)
  3786. l = m[c], l.type.global || (this.c.yv(l.type) && this.nF(l), this.c.pi(l));
  3787. this.c.Gd();
  3788. m.length = 0;
  3789. this.cb[a].Ve = !0
  3790. }
  3791. a = 0;
  3792. for (b = this.c.da.length; a < b; a++)
  3793. if (m =
  3794. this.c.da[a], !(m.global || m.ec.Vi || m.ec.jr || m.Ka)) {
  3795. c = 0;
  3796. for (d = m.G.length; c < d; c++)
  3797. this.c.pi(m.G[c]);
  3798. this.c.Gd()
  3799. }
  3800. };
  3801. a.prototype.Li = function (a) {
  3802. var b,
  3803. c = a,
  3804. d = !1,
  3805. m = !this.c.Bf;
  3806. m && (this.c.uq || (this.c.uq = document.createElement("canvas"), b = this.c.uq, b.width = this.c.Va, b.height = this.c.Ua, this.c.uy = b.getContext("2d"), d = !0), b = this.c.uq, c = this.c.uy, b.width !== this.c.Va && (b.width = this.c.Va, d = !0), b.height !== this.c.Ua && (b.height = this.c.Ua, d = !0), d && (c.webkitImageSmoothingEnabled = this.c.ub, c.mozImageSmoothingEnabled = this.c.ub,
  3807. c.msImageSmoothingEnabled = this.c.ub, c.imageSmoothingEnabled = this.c.ub));
  3808. c.globalAlpha = 1;
  3809. c.globalCompositeOperation = "source-over";
  3810. this.c.vs && !this.Ux() && c.clearRect(0, 0, this.c.Va, this.c.Ua);
  3811. var l,
  3812. n,
  3813. d = 0;
  3814. for (l = this.cb.length; d < l; d++)
  3815. n = this.cb[d], n.visible && 0 < n.opacity && 11 !== n.me && n.Li(c);
  3816. m && a.drawImage(b, 0, 0, this.c.width, this.c.height)
  3817. };
  3818. a.prototype.dg = function (a) {
  3819. var b = 0 < this.nb.length || this.c.Vl || !this.c.Bf;
  3820. if (b) {
  3821. this.c.Me || (this.c.Me = a.Ji(this.c.Va, this.c.Ua, this.c.ub));
  3822. if (this.c.Me.Em !== this.c.Va ||
  3823. this.c.Me.Dm !== this.c.Ua)
  3824. a.deleteTexture(this.c.Me), this.c.Me = a.Ji(this.c.Va, this.c.Ua, this.c.ub);
  3825. a.gh(this.c.Me);
  3826. this.c.Bf || a.Ol(this.c.Va, this.c.Ua)
  3827. } else
  3828. this.c.Me && (a.gh(null), a.deleteTexture(this.c.Me), this.c.Me = null);
  3829. this.c.vs && !this.Ux() && a.clear(0, 0, 0, 0);
  3830. var c,
  3831. d;
  3832. c = 0;
  3833. for (d = this.cb.length; c < d; c++)
  3834. this.cb[c].visible && 0 < this.cb[c].opacity && this.cb[c].dg(a);
  3835. b && (0 === this.nb.length || 1 === this.nb.length && this.c.Bf ? (1 === this.nb.length ? (b = this.nb[0].index, a.hh(this.nb[0].Cd), a.Nl(null, 1 / this.c.Va, 1 / this.c.Ua,
  3836. 0, 0, 1, 1, this.scale, this.L, 0, 0, this.mc[b]), a.Tq(this.nb[0].Cd) && (this.c.qb = !0)) : a.hh(0), this.c.Bf || a.Ol(this.c.width, this.c.height), a.gh(null), a.Ml(1), a.of(this.c.Me), a.yz(), a.mj(), a.vj(), b = this.c.width / 2, c = this.c.height / 2, a.Vq(-b, c, b, c, b, -c, -b, -c), a.of(null)) : this.Uu(a, null, null, null))
  3837. };
  3838. a.prototype.Tm = function () {
  3839. return 0 < this.nb.length || this.c.Vl || !this.c.Bf ? this.c.Me : null
  3840. };
  3841. a.prototype.Qx = function () {
  3842. var a = this.cb[0].Cf(),
  3843. b,
  3844. c,
  3845. d;
  3846. b = 1;
  3847. for (c = this.cb.length; b < c; b++)
  3848. d = this.cb[b], (0 !== d.Kf || 0 !== d.Lf) && d.Cf() <
  3849. a && (a = d.Cf());
  3850. return a
  3851. };
  3852. a.prototype.cv = function (a) {
  3853. if (!this.Wz) {
  3854. var b = this.c.Va * (1 / this.Qx()) / 2;
  3855. a > this.width - b && (a = this.width - b);
  3856. a < b && (a = b)
  3857. }
  3858. this.scrollX !== a && (this.scrollX = a, this.c.qb = !0)
  3859. };
  3860. a.prototype.dv = function (a) {
  3861. if (!this.Wz) {
  3862. var b = this.c.Ua * (1 / this.Qx()) / 2;
  3863. a > this.height - b && (a = this.height - b);
  3864. a < b && (a = b)
  3865. }
  3866. this.scrollY !== a && (this.scrollY = a, this.c.qb = !0)
  3867. };
  3868. a.prototype.TB = function () {
  3869. this.cv(this.scrollX);
  3870. this.dv(this.scrollY)
  3871. };
  3872. a.prototype.Uu = function (a, b, c, d) {
  3873. var m = c ? c.nb : b ? b.nb : this.nb,
  3874. l = 1,
  3875. n = 0,
  3876. k = 0,
  3877. p =
  3878. 0;
  3879. c ? (l = c.T.Cf(), n = c.T.Nc(), k = c.T.Rd, p = c.T.Sd) : b && (l = b.Cf(), n = b.Nc(), k = b.Rd, p = b.Sd);
  3880. var q = this.c.bt,
  3881. r,
  3882. v,
  3883. u,
  3884. y,
  3885. F = 0,
  3886. H = 1,
  3887. J,
  3888. A = this.c.Va,
  3889. C = this.c.Ua,
  3890. I = A / 2,
  3891. D = C / 2,
  3892. P = b ? b.Ru : this.Ru,
  3893. L = b ? b.Su : this.Su,
  3894. t = 0,
  3895. G = 0,
  3896. Q = 0,
  3897. T = 0,
  3898. S = A,
  3899. K = A,
  3900. M = C,
  3901. Z = C,
  3902. Y = u = 0,
  3903. N = c ? c.T.Nc() : 0;
  3904. if (c) {
  3905. r = 0;
  3906. for (v = m.length; r < v; r++)
  3907. u += a.tD(m[r].Cd), Y += a.uD(m[r].Cd);
  3908. y = c.hb;
  3909. t = b.ae(y.left, y.top, !0, !0);
  3910. Q = b.ae(y.left, y.top, !1, !0);
  3911. S = b.ae(y.right, y.bottom, !0, !0);
  3912. M = b.ae(y.right, y.bottom, !1, !0);
  3913. 0 !== N && (r = b.ae(y.right, y.top, !0, !0), v = b.ae(y.right, y.top, !1, !0), G = b.ae(y.left,
  3914. y.bottom, !0, !0), T = b.ae(y.left, y.bottom, !1, !0), y = Math.min(t, S, r, G), S = Math.max(t, S, r, G), t = y, y = Math.min(Q, M, v, T), M = Math.max(Q, M, v, T), Q = y);
  3915. t -= u;
  3916. Q -= Y;
  3917. S += u;
  3918. M += Y;
  3919. L.left = t / A;
  3920. L.top = 1 - Q / C;
  3921. L.right = S / A;
  3922. L.bottom = 1 - M / C;
  3923. G = t = sa(t);
  3924. T = Q = sa(Q);
  3925. K = S = ta(S);
  3926. Z = M = ta(M);
  3927. G -= u;
  3928. T -= Y;
  3929. K += u;
  3930. Z += Y;
  3931. 0 > t && (t = 0);
  3932. 0 > Q && (Q = 0);
  3933. S > A && (S = A);
  3934. M > C && (M = C);
  3935. 0 > G && (G = 0);
  3936. 0 > T && (T = 0);
  3937. K > A && (K = A);
  3938. Z > C && (Z = C);
  3939. P.left = t / A;
  3940. P.top = 1 - Q / C;
  3941. P.right = S / A;
  3942. P.bottom = 1 - M / C
  3943. } else
  3944. P.left = L.left = 0, P.top = L.top = 0, P.right = L.right = 1, P.bottom = L.bottom = 1;
  3945. Y = c && ((c.L || N) && a.Un(m[0].Cd) ||
  3946. 0 !== u || 0 !== Y || 1 !== c.opacity || c.type.ec.Ky) || b && !c && 1 !== b.opacity;
  3947. a.yz();
  3948. if (Y) {
  3949. q[F] || (q[F] = a.Ji(A, C, this.c.ub));
  3950. if (q[F].Em !== A || q[F].Dm !== C)
  3951. a.deleteTexture(q[F]), q[F] = a.Ji(A, C, this.c.ub);
  3952. a.hh(0);
  3953. a.gh(q[F]);
  3954. J = Z - T;
  3955. a.clearRect(G, C - T - J, K - G, J);
  3956. c ? c.dg(a) : (a.of(this.c.ef), a.Ml(b.opacity), a.mj(), a.translate(-I, -D), a.vj(), a.kj(t, M, S, M, S, Q, t, Q, P));
  3957. L.left = L.top = 0;
  3958. L.right = L.bottom = 1;
  3959. c && (y = P.top, P.top = P.bottom, P.bottom = y);
  3960. F = 1;
  3961. H = 0
  3962. }
  3963. a.Ml(1);
  3964. u = m.length - 1;
  3965. var N = a.Ou(m[u].Cd) || !b && !c && !this.c.Bf,
  3966. ga = 0;
  3967. r = 0;
  3968. for (v = m.length; r <
  3969. v; r++) {
  3970. q[F] || (q[F] = a.Ji(A, C, this.c.ub));
  3971. if (q[F].Em !== A || q[F].Dm !== C)
  3972. a.deleteTexture(q[F]), q[F] = a.Ji(A, C, this.c.ub);
  3973. a.hh(m[r].Cd);
  3974. ga = m[r].index;
  3975. a.Tq(m[r].Cd) && (this.c.qb = !0);
  3976. 0 != r || Y ? (a.Nl(d, 1 / A, 1 / C, L.left, L.top, L.right, L.bottom, l, n, k, p, c ? c.mc[ga] : b ? b.mc[ga] : this.mc[ga]), a.of(null), r !== u || N ? (a.gh(q[F]), J = Z - T, y = C - T - J, a.clearRect(G, y, K - G, J)) : (c ? a.nj(c.Pd, c.Jd) : b && a.nj(b.Pd, b.Jd), a.gh(d)), a.of(q[H]), a.mj(), a.translate(-I, -D), a.vj(), a.kj(t, M, S, M, S, Q, t, Q, P), r !== u || N || a.of(null)) : (a.gh(q[F]), J = Z - T, y = C - T -
  3977. J, a.clearRect(G, y, K - G, J), c ? (a.Nl(d, 1 / c.width, 1 / c.height, L.left, L.top, L.right, L.bottom, l, n, k, p, c.mc[ga]), c.dg(a)) : (a.Nl(d, 1 / A, 1 / C, 0, 0, 1, 1, l, n, k, p, b ? b.mc[ga] : this.mc[ga]), a.of(b ? this.c.ef : this.c.Me), a.mj(), a.translate(-I, -D), a.vj(), a.kj(t, M, S, M, S, Q, t, Q, P)), L.left = L.top = 0, L.right = L.bottom = 1, c && !N && (y = M, M = Q, Q = y));
  3978. F = 0 === F ? 1 : 0;
  3979. H = 0 === F ? 1 : 0
  3980. }
  3981. N && (a.hh(0), c ? a.nj(c.Pd, c.Jd) : b ? a.nj(b.Pd, b.Jd) : this.c.Bf || (a.Ol(this.c.width, this.c.height), I = this.c.width / 2, D = this.c.height / 2, Q = t = 0, S = this.c.width, M = this.c.height),
  3982. a.gh(d), a.of(q[H]), a.mj(), a.translate(-I, -D), a.vj(), c && 1 === m.length && !Y ? a.kj(t, Q, S, Q, S, M, t, M, P) : a.kj(t, M, S, M, S, Q, t, Q, P), a.of(null))
  3983. };
  3984. a.prototype.Wp = function (a) {
  3985. var b,
  3986. c;
  3987. b = 0;
  3988. for (c = this.cb.length; b < c; b++)
  3989. if (this.cb[b].Wa === a)
  3990. return this.cb[b];
  3991. return null
  3992. };
  3993. a.prototype.Zc = function () {
  3994. var a,
  3995. b,
  3996. c,
  3997. d = {
  3998. sx : this.scrollX,
  3999. sy : this.scrollY,
  4000. s : this.scale,
  4001. a : this.L,
  4002. w : this.width,
  4003. h : this.height,
  4004. fv : this.Nm,
  4005. persist : this.hj,
  4006. fx : [],
  4007. layers : {}
  4008. };
  4009. a = 0;
  4010. for (b = this.Ea.length; a < b; a++)
  4011. c = this.Ea[a], d.fx.push({
  4012. name : c.name,
  4013. active : c.lc,
  4014. params : this.mc[c.index]
  4015. });
  4016. a = 0;
  4017. for (b = this.cb.length; a < b; a++)
  4018. c = this.cb[a], d.layers[c.Wa.toString()] = c.Zc();
  4019. return d
  4020. };
  4021. a.prototype.Ad = function (a) {
  4022. var b,
  4023. c,
  4024. d,
  4025. m;
  4026. this.scrollX = a.sx;
  4027. this.scrollY = a.sy;
  4028. this.scale = a.s;
  4029. this.L = a.a;
  4030. this.width = a.w;
  4031. this.height = a.h;
  4032. this.hj = a.persist;
  4033. "undefined" !== typeof a.fv && (this.Nm = a.fv);
  4034. var l = a.fx;
  4035. b = 0;
  4036. for (c = l.length; b < c; b++)
  4037. if (d = this.ft(l[b].name))
  4038. d.lc = l[b].active, this.mc[d.index] = l[b].params;
  4039. this.li();
  4040. b = a.layers;
  4041. for (m in b)
  4042. b.hasOwnProperty(m) && (a = this.Wp(parseInt(m, 10))) && a.Ad(b[m])
  4043. };
  4044. zb = a;
  4045. c.prototype.li =
  4046. function () {
  4047. this.nb.length = 0;
  4048. var a,
  4049. b,
  4050. c;
  4051. a = 0;
  4052. for (b = this.Ea.length; a < b; a++)
  4053. c = this.Ea[a], c.lc && this.nb.push(c)
  4054. };
  4055. c.prototype.ft = function (a) {
  4056. var b,
  4057. c,
  4058. d;
  4059. b = 0;
  4060. for (c = this.Ea.length; b < c; b++)
  4061. if (d = this.Ea[b], d.name === a)
  4062. return d;
  4063. return null
  4064. };
  4065. c.prototype.eC = function () {
  4066. var a,
  4067. b,
  4068. c,
  4069. h,
  4070. m,
  4071. l;
  4072. b = a = 0;
  4073. for (c = this.hl.length; a < c; a++) {
  4074. h = this.hl[a];
  4075. m = this.c.da[h[1]];
  4076. l = this.c.yv(m);
  4077. m = !0;
  4078. if (!l || this.Fb.Nm)
  4079. h = this.c.Ki(h, this, !0), d.push(h), h.type.global && (m = !1);
  4080. m && (this.hl[b] = this.hl[a], b++)
  4081. }
  4082. this.hl.length = b;
  4083. this.c.Gd();
  4084. !this.c.qa && this.Ea.length &&
  4085. (this.me = this.FC);
  4086. this.Gm = Ya(this.me);
  4087. this.c.ca && ab(this, this.me, this.c.ca)
  4088. };
  4089. c.prototype.GF = function () {
  4090. if (this.Ve) {
  4091. var a,
  4092. b;
  4093. a = 0;
  4094. for (b = this.G.length; a < b; a++)
  4095. this.G[a].Hk = a;
  4096. this.Ve = !1
  4097. }
  4098. };
  4099. c.prototype.Cf = function (a) {
  4100. return this.rD() * (this.c.Bf || a ? this.c.Cm : 1)
  4101. };
  4102. c.prototype.rD = function () {
  4103. return (this.scale * this.Fb.scale - 1) * this.yg + 1
  4104. };
  4105. c.prototype.Nc = function () {
  4106. return this.Uj ? 0 : Fa(this.Fb.L + this.L)
  4107. };
  4108. c.prototype.Li = function (a) {
  4109. this.lj = this.Ys || 1 !== this.opacity || 0 !== this.me;
  4110. var b = this.c.canvas,
  4111. c = a,
  4112. d = !1;
  4113. this.lj &&
  4114. (this.c.tq || (this.c.tq = document.createElement("canvas"), b = this.c.tq, b.width = this.c.Va, b.height = this.c.Ua, this.c.ty = b.getContext("2d"), d = !0), b = this.c.tq, c = this.c.ty, b.width !== this.c.Va && (b.width = this.c.Va, d = !0), b.height !== this.c.Ua && (b.height = this.c.Ua, d = !0), d && (c.webkitImageSmoothingEnabled = this.c.ub, c.mozImageSmoothingEnabled = this.c.ub, c.msImageSmoothingEnabled = this.c.ub, c.imageSmoothingEnabled = this.c.ub), this.Gk && c.clearRect(0, 0, this.c.Va, this.c.Ua));
  4115. c.globalAlpha = 1;
  4116. c.globalCompositeOperation = "source-over";
  4117. this.Gk || (c.fillStyle = "rgb(" + this.Ci[0] + "," + this.Ci[1] + "," + this.Ci[2] + ")", c.fillRect(0, 0, this.c.Va, this.c.Ua));
  4118. c.save();
  4119. this.Uj = !0;
  4120. var d = this.Ce(0, 0, !0, !0),
  4121. m = this.Ce(0, 0, !1, !0);
  4122. this.Uj = !1;
  4123. this.c.ij && (d = d + 0.5 | 0, m = m + 0.5 | 0);
  4124. this.Yu(d, m, c);
  4125. var l = this.Cf();
  4126. c.scale(l, l);
  4127. c.translate(-d, -m);
  4128. for (var n, d = 0, m = this.G.length; d < m; d++)
  4129. l = this.G[d], l.visible && 0 !== l.width && 0 !== l.height && (l.Ta(), n = l.hb, n.right < this.Rd || n.bottom < this.Sd || n.left > this.Ue || n.top > this.Te || (c.globalCompositeOperation = l.Gm, l.Li(c)));
  4130. c.restore();
  4131. this.lj && (a.globalCompositeOperation = this.Gm, a.globalAlpha = this.opacity, a.drawImage(b, 0, 0))
  4132. };
  4133. c.prototype.Yu = function (a, b, c) {
  4134. var d = this.Cf();
  4135. this.Rd = a;
  4136. this.Sd = b;
  4137. this.Ue = a + this.c.Va * (1 / d);
  4138. this.Te = b + this.c.Ua * (1 / d);
  4139. a = this.Nc();
  4140. 0 !== a && (c && (c.translate(this.c.Va / 2, this.c.Ua / 2), c.rotate(-a), c.translate(this.c.Va / -2, this.c.Ua / -2)), this.ki.set(this.Rd, this.Sd, this.Ue, this.Te), this.ki.offset((this.Rd + this.Ue) / -2, (this.Sd + this.Te) / -2), this.Qz.Dz(this.ki, a), this.Qz.$w(this.ki), this.ki.offset((this.Rd + this.Ue) /
  4141. 2, (this.Sd + this.Te) / 2), this.Rd = this.ki.left, this.Sd = this.ki.top, this.Ue = this.ki.right, this.Te = this.ki.bottom)
  4142. };
  4143. c.prototype.dg = function (a) {
  4144. var b = this.c.Va,
  4145. c = this.c.Ua,
  4146. d = 0,
  4147. m = 0;
  4148. if (this.lj = this.Ys || 1 !== this.opacity || 0 < this.nb.length || 0 !== this.me) {
  4149. this.c.ef || (this.c.ef = a.Ji(this.c.Va, this.c.Ua, this.c.ub));
  4150. if (this.c.ef.Em !== this.c.Va || this.c.ef.Dm !== this.c.Ua)
  4151. a.deleteTexture(this.c.ef), this.c.ef = a.Ji(this.c.Va, this.c.Ua, this.c.ub);
  4152. a.gh(this.c.ef);
  4153. this.Gk && a.clear(0, 0, 0, 0)
  4154. }
  4155. this.Gk || a.clear(this.Ci[0] / 255,
  4156. this.Ci[1] / 255, this.Ci[2] / 255, 1);
  4157. this.Uj = !0;
  4158. var m = this.Ce(0, 0, !0, !0),
  4159. l = this.Ce(0, 0, !1, !0);
  4160. this.Uj = !1;
  4161. this.c.ij && (m = m + 0.5 | 0, l = l + 0.5 | 0);
  4162. this.Yu(m, l, null);
  4163. l = this.Cf();
  4164. a.mj();
  4165. a.scale(l, l);
  4166. a.uz(-this.Nc());
  4167. a.translate((this.Rd + this.Ue) / -2, (this.Sd + this.Te) / -2);
  4168. a.vj();
  4169. var n,
  4170. k,
  4171. p;
  4172. n = 0;
  4173. for (k = this.G.length; n < k; n++)
  4174. if (p = this.G[n], p.visible && 0 !== p.width && 0 !== p.height && (p.Ta(), d = p.hb, !(d.right < this.Rd || d.bottom < this.Sd || d.left > this.Ue || d.top > this.Te)))
  4175. if (p.dA)
  4176. if (d = p.nb[0].Cd, m = p.nb[0].index, 1 !== p.nb.length || a.Ou(d) ||
  4177. a.ZE(d) || (p.L || p.T.Nc()) && a.Un(d) || 1 !== p.opacity || p.type.ec.Ky)
  4178. this.Fb.Uu(a, this, p, this.lj ? this.c.ef : this.Fb.Tm()), a.mj(), a.scale(l, l), a.uz(-this.Nc()), a.translate((this.Rd + this.Ue) / -2, (this.Sd + this.Te) / -2), a.vj();
  4179. else {
  4180. a.hh(d);
  4181. a.nj(p.Pd, p.Jd);
  4182. a.Tq(d) && (this.c.qb = !0);
  4183. var q = 0,
  4184. r = 0,
  4185. v = 0,
  4186. u = 0;
  4187. a.Un(d) && (d = p.hb, q = this.ae(d.left, d.top, !0, !0), r = this.ae(d.left, d.top, !1, !0), v = this.ae(d.right, d.bottom, !0, !0), d = this.ae(d.right, d.bottom, !1, !0), q /= b, r = 1 - r / c, v /= b, u = 1 - d / c);
  4188. a.Nl(this.lj ? this.c.ef : this.Fb.Tm(), 1 / p.width,
  4189. 1 / p.height, q, r, v, u, this.Cf(), this.Nc(), this.Rd, this.Sd, p.mc[m]);
  4190. p.dg(a)
  4191. }
  4192. else
  4193. a.hh(0), a.nj(p.Pd, p.Jd), p.dg(a);
  4194. this.lj && (d = this.nb.length ? this.nb[0].Cd : 0, m = this.nb.length ? this.nb[0].index : 0, 0 === this.nb.length || 1 === this.nb.length && !a.Ou(d) && 1 === this.opacity ? (1 === this.nb.length ? (a.hh(d), a.Nl(this.Fb.Tm(), 1 / this.c.Va, 1 / this.c.Ua, 0, 0, 1, 1, this.Cf(), this.Nc(), this.Rd, this.Sd, this.mc[m]), a.Tq(d) && (this.c.qb = !0)) : a.hh(0), a.gh(this.Fb.Tm()), a.Ml(this.opacity), a.of(this.c.ef), a.nj(this.Pd, this.Jd), a.mj(), a.vj(),
  4195. b = this.c.Va / 2, c = this.c.Ua / 2, a.Vq(-b, c, b, c, b, -c, -b, -c), a.of(null)) : this.Fb.Uu(a, this, null, this.Fb.Tm()))
  4196. };
  4197. c.prototype.Ce = function (a, b, c, d) {
  4198. var m = this.c.devicePixelRatio;
  4199. this.c.fk && (a *= m, b *= m);
  4200. var m = this.c.cz,
  4201. l = this.c.dz,
  4202. m = (this.Fb.scrollX - m) * this.Kf + m,
  4203. l = (this.Fb.scrollY - l) * this.Lf + l,
  4204. n = 1 / this.Cf(!d);
  4205. d ? (m -= this.c.Va * n / 2, l -= this.c.Ua * n / 2) : (m -= this.c.width * n / 2, l -= this.c.height * n / 2);
  4206. m += a * n;
  4207. l += b * n;
  4208. b = this.Nc();
  4209. 0 !== b && (m -= this.Fb.scrollX, l -= this.Fb.scrollY, a = Math.cos(b), b = Math.sin(b), d = m * a - l * b, l = l * a + m * b, m =
  4210. d + this.Fb.scrollX, l += this.Fb.scrollY);
  4211. return c ? m : l
  4212. };
  4213. c.prototype.ae = function (a, b, c, d) {
  4214. var m = this.Nc();
  4215. if (0 !== m) {
  4216. a -= this.Fb.scrollX;
  4217. b -= this.Fb.scrollY;
  4218. var l = Math.cos(-m),
  4219. m = Math.sin(-m),
  4220. n = a * l - b * m;
  4221. b = b * l + a * m;
  4222. a = n + this.Fb.scrollX;
  4223. b += this.Fb.scrollY
  4224. }
  4225. l = this.c.cz;
  4226. m = this.c.dz;
  4227. l = (this.Fb.scrollX - l) * this.Kf + l;
  4228. m = (this.Fb.scrollY - m) * this.Lf + m;
  4229. n = 1 / this.Cf(!d);
  4230. d ? (l -= this.c.Va * n / 2, m -= this.c.Ua * n / 2) : (l -= this.c.width * n / 2, m -= this.c.height * n / 2);
  4231. l = (a - l) / n;
  4232. m = (b - m) / n;
  4233. a = this.c.devicePixelRatio;
  4234. this.c.fk && !d && (l /= a, m /= a);
  4235. return c ?
  4236. l : m
  4237. };
  4238. c.prototype.Zc = function () {
  4239. var a,
  4240. b,
  4241. c,
  4242. d = {
  4243. s : this.scale,
  4244. a : this.L,
  4245. vl : this.Rd,
  4246. vt : this.Sd,
  4247. vr : this.Ue,
  4248. vb : this.Te,
  4249. v : this.visible,
  4250. bc : this.Ci,
  4251. t : this.Gk,
  4252. px : this.Kf,
  4253. py : this.Lf,
  4254. o : this.opacity,
  4255. zr : this.yg,
  4256. fx : [],
  4257. instances : []
  4258. };
  4259. a = 0;
  4260. for (b = this.Ea.length; a < b; a++)
  4261. c = this.Ea[a], d.fx.push({
  4262. name : c.name,
  4263. active : c.lc,
  4264. params : this.mc[c.index]
  4265. });
  4266. return d
  4267. };
  4268. c.prototype.Ad = function (a) {
  4269. var c,
  4270. d;
  4271. this.scale = a.s;
  4272. this.L = a.a;
  4273. this.Rd = a.vl;
  4274. this.Sd = a.vt;
  4275. this.Ue = a.vr;
  4276. this.Te = a.vb;
  4277. this.visible = a.v;
  4278. this.Ci = a.bc;
  4279. this.Gk = a.t;
  4280. this.Kf = a.px;
  4281. this.Lf =
  4282. a.py;
  4283. this.opacity = a.o;
  4284. this.yg = a.zr;
  4285. var h = a.fx;
  4286. a = 0;
  4287. for (c = h.length; a < c; a++)
  4288. if (d = this.ft(h[a].name))
  4289. d.lc = h[a].active, this.mc[d.index] = h[a].params;
  4290. this.li();
  4291. this.G.sort(b);
  4292. this.Ve = !0
  4293. };
  4294. Pb = c
  4295. })();
  4296. (function () {
  4297. function a(a, b) {
  4298. var c,
  4299. d = a.length;
  4300. switch (d) {
  4301. case 0:
  4302. return !0;
  4303. case 1:
  4304. return a[0] === b[0];
  4305. case 2:
  4306. return a[0] === b[0] && a[1] === b[1];
  4307. default:
  4308. for (c = 0; c < d; c++)
  4309. if (a[c] !== b[c])
  4310. return !1;
  4311. return !0
  4312. }
  4313. }
  4314. function c(a, b) {
  4315. return a.index - b.index
  4316. }
  4317. function b(b) {
  4318. var d,
  4319. k,
  4320. e,
  4321. f;
  4322. 2 === b.length ? b[0].index > b[1].index && (d = b[0], b[0] = b[1], b[1] = d) : 2 < b.length && b.sort(c);
  4323. b.length >= q.length && (q.length = b.length + 1);
  4324. q[b.length] || (q[b.length] = []);
  4325. f = q[b.length];
  4326. d = 0;
  4327. for (k = f.length; d < k; d++)
  4328. if (e = f[d], a(b, e))
  4329. return e;
  4330. f.push(b);
  4331. return b
  4332. }
  4333. function d(a, b) {
  4334. this.c = a;
  4335. this.Sz = {};
  4336. this.Dx = {};
  4337. this.pt = !1;
  4338. this.Wx = new ea;
  4339. this.Ns = [];
  4340. this.ws = [];
  4341. this.name = b[0];
  4342. var c = b[1];
  4343. this.Oi = [];
  4344. var d,
  4345. k;
  4346. d = 0;
  4347. for (k = c.length; d < k; d++)
  4348. this.Zx(c[d], null, this.Oi)
  4349. }
  4350. function e(a) {
  4351. this.type = a;
  4352. this.G = [];
  4353. this.tb = [];
  4354. this.gb = !0
  4355. }
  4356. function f(a, b, c) {
  4357. this.sheet = a;
  4358. this.parent = b;
  4359. this.c = a.c;
  4360. this.Ab = [];
  4361. this.oj = [];
  4362. this.Vx = this.tr = this.vv = this.gq = this.group = this.ov = !1;
  4363. this.Uc = [];
  4364. this.Zf = [];
  4365. this.Qf = [];
  4366. this.Vm = "";
  4367. this.gl = this.gq = this.group = !1;
  4368. this.tp = null;
  4369. c[1] && (this.Vm = c[1][1].toLowerCase(),
  4370. this.group = !0, this.gq = !!c[1][0], this.tp = [], this.gl = this.gq, this.c.Ai.push(this), this.c.aq[this.Vm] = this);
  4371. this.qg = c[2];
  4372. this.Wa = c[4];
  4373. this.group || (this.c.Zw[this.Wa.toString()] = this);
  4374. var d = c[5];
  4375. a = 0;
  4376. for (b = d.length; a < b; a++) {
  4377. var k = new Qb(this, d[a]);
  4378. k.index = a;
  4379. this.Uc.push(k);
  4380. this.Lw(k.type)
  4381. }
  4382. d = c[6];
  4383. a = 0;
  4384. for (b = d.length; a < b; a++)
  4385. k = new Rb(this, d[a]), k.index = a, this.Zf.push(k);
  4386. if (8 === c.length)
  4387. for (c = c[7], a = 0, b = c.length; a < b; a++)
  4388. this.sheet.Zx(c[a], this, this.Qf);
  4389. this.kq = !1;
  4390. this.Uc.length && (this.kq = null == this.Uc[0].type &&
  4391. this.Uc[0].yd == B.prototype.B.wA)
  4392. }
  4393. function g(a, b) {
  4394. var c,
  4395. d,
  4396. k;
  4397. if (a && (-1 === b.indexOf(a) && b.push(a), a.Je))
  4398. for (c = 0, d = a.Ee.length; c < d; c++)
  4399. k = a.Ee[c], a !== k && -1 === b.indexOf(k) && b.push(k)
  4400. }
  4401. function h(a, b) {
  4402. this.$e = a;
  4403. this.sheet = a.sheet;
  4404. this.c = a.c;
  4405. this.Ga = [];
  4406. this.Gb = [];
  4407. this.ea = {};
  4408. this.index = -1;
  4409. this.Bm = !1;
  4410. this.yd = b[1];
  4411. this.trigger = 0 < b[3];
  4412. this.Cx = 2 === b[3];
  4413. this.Ph = b[4];
  4414. this.yt = b[5];
  4415. this.eE = b[6];
  4416. this.Wa = b[7];
  4417. this.c.al[this.Wa.toString()] = this;
  4418. -1 === b[0] ? (this.type = null, this.Qc = this.$u, this.Mj = null, this.vf = -1) : (this.type =
  4419. this.c.da[b[0]], this.Qc = this.eE ? this.kF : this.Zu, b[2] ? (this.Mj = this.type.Sp(b[2]), this.vf = this.type.dt(b[2])) : (this.Mj = null, this.vf = -1), this.$e.parent && this.$e.parent.hr());
  4420. this.Cx && (this.Qc = this.lF);
  4421. if (10 === b.length) {
  4422. var c,
  4423. d,
  4424. k = b[9];
  4425. c = 0;
  4426. for (d = k.length; c < d; c++) {
  4427. var e = new Sb(this, k[c]);
  4428. this.Ga.push(e)
  4429. }
  4430. this.Gb.length = k.length
  4431. }
  4432. }
  4433. function m(a, b) {
  4434. this.$e = a;
  4435. this.sheet = a.sheet;
  4436. this.c = a.c;
  4437. this.Ga = [];
  4438. this.Gb = [];
  4439. this.ea = {};
  4440. this.index = -1;
  4441. this.Bm = !1;
  4442. this.yd = b[1];
  4443. -1 === b[0] ? (this.type = null, this.Qc = this.$u, this.Mj =
  4444. null, this.vf = -1) : (this.type = this.c.da[b[0]], this.Qc = this.Zu, b[2] ? (this.Mj = this.type.Sp(b[2]), this.vf = this.type.dt(b[2])) : (this.Mj = null, this.vf = -1));
  4445. this.Wa = b[3];
  4446. this.c.Xk[this.Wa.toString()] = this;
  4447. if (6 === b.length) {
  4448. var c,
  4449. d,
  4450. k = b[5];
  4451. c = 0;
  4452. for (d = k.length; c < d; c++) {
  4453. var e = new Sb(this, k[c]);
  4454. this.Ga.push(e)
  4455. }
  4456. this.Gb.length = k.length
  4457. }
  4458. }
  4459. function l(a, b) {
  4460. this.na = a;
  4461. this.$e = a.$e;
  4462. this.sheet = a.sheet;
  4463. this.c = a.c;
  4464. this.type = b[0];
  4465. this.Lg = null;
  4466. this.pj = 0;
  4467. this.get = null;
  4468. this.kx = 0;
  4469. this.Fb = null;
  4470. this.key = 0;
  4471. this.object = null;
  4472. this.index =
  4473. 0;
  4474. this.lo = this.Ck = this.lo = this.Ck = this.Ex = this.Yj = this.no = null;
  4475. this.Rf = !1;
  4476. var c,
  4477. d,
  4478. k;
  4479. switch (b[0]) {
  4480. case 0:
  4481. case 7:
  4482. this.Lg = new Tb(this, b[1]);
  4483. this.pj = 0;
  4484. this.get = this.BD;
  4485. break;
  4486. case 1:
  4487. this.Lg = new Tb(this, b[1]);
  4488. this.pj = 0;
  4489. this.get = this.CD;
  4490. break;
  4491. case 5:
  4492. this.Lg = new Tb(this, b[1]);
  4493. this.pj = 0;
  4494. this.get = this.GD;
  4495. break;
  4496. case 3:
  4497. case 8:
  4498. this.kx = b[1];
  4499. this.get = this.zD;
  4500. break;
  4501. case 6:
  4502. this.Fb = this.c.Qt[b[1]];
  4503. this.get = this.HD;
  4504. break;
  4505. case 9:
  4506. this.key = b[1];
  4507. this.get = this.FD;
  4508. break;
  4509. case 4:
  4510. this.object = this.c.da[b[1]];
  4511. this.get = this.ID;
  4512. this.$e.Lw(this.object);
  4513. this.na instanceof Rb ? this.$e.hr() : this.$e.parent && this.$e.parent.hr();
  4514. break;
  4515. case 10:
  4516. this.index = b[1];
  4517. a.type.Ka ? (this.get = this.DD, this.Rf = !0) : this.get = this.ED;
  4518. break;
  4519. case 11:
  4520. this.no = b[1];
  4521. this.Yj = null;
  4522. this.get = this.AD;
  4523. break;
  4524. case 2:
  4525. case 12:
  4526. this.Ex = b[1];
  4527. this.get = this.yD;
  4528. break;
  4529. case 13:
  4530. for (this.get = this.JD, this.Ck = [], this.lo = [], c = 1, d = b.length; c < d; c++)
  4531. k = new Sb(this.na, b[c]), this.Ck.push(k), this.lo.push(0)
  4532. }
  4533. }
  4534. function n(a, b, c) {
  4535. this.sheet = a;
  4536. this.parent = b;
  4537. this.c = a.c;
  4538. this.Ab = [];
  4539. this.name =
  4540. c[1];
  4541. this.Fv = c[2];
  4542. this.fq = c[3];
  4543. this.en = !!c[4];
  4544. this.jq = !!c[5];
  4545. this.Wa = c[6];
  4546. this.c.Xl[this.Wa.toString()] = this;
  4547. this.data = this.fq;
  4548. this.parent ? (this.pk = this.en || this.jq ? -1 : this.c.uF++, this.c.JB.push(this)) : (this.pk = -1, this.c.us.push(this))
  4549. }
  4550. function k(a, b, c) {
  4551. this.sheet = a;
  4552. this.parent = b;
  4553. this.c = a.c;
  4554. this.Ab = [];
  4555. this.Xm = null;
  4556. this.PD = c[1];
  4557. this.lc = !0
  4558. }
  4559. function p() {
  4560. this.Mz = [];
  4561. this.reset(null)
  4562. }
  4563. var q = [];
  4564. d.prototype.toString = w("name");
  4565. d.prototype.Zx = function (a, b, c) {
  4566. switch (a[0]) {
  4567. case 0:
  4568. a = new Ub(this, b, a);
  4569. if (a.qg)
  4570. for (c.push(a),
  4571. c = 0, b = a.Uc.length; c < b; c++)
  4572. a.Uc[c].trigger && this.$x(a, c);
  4573. else
  4574. a.iy() ? this.$x(a, 0) : c.push(a);
  4575. break;
  4576. case 1:
  4577. a = new Jb(this, b, a);
  4578. c.push(a);
  4579. break;
  4580. case 2:
  4581. a = new Vb(this, b, a),
  4582. c.push(a)
  4583. }
  4584. };
  4585. d.prototype.Dc = function () {
  4586. var a,
  4587. b;
  4588. a = 0;
  4589. for (b = this.Oi.length; a < b; a++)
  4590. this.Oi[a].Dc(a < b - 1 && this.Oi[a + 1].kq)
  4591. };
  4592. d.prototype.Av = function () {
  4593. this.Ns.length = 0;
  4594. this.ws.length = 0;
  4595. this.Kw(this);
  4596. this.ws.length = 0
  4597. };
  4598. d.prototype.Kw = function (a) {
  4599. var b,
  4600. c,
  4601. d,
  4602. k,
  4603. e = a.Ns,
  4604. f = a.ws,
  4605. g = this.Wx.kh();
  4606. b = 0;
  4607. for (c = g.length; b < c; ++b)
  4608. d = g[b], k = d.Xm, !d.lc || a === k || -1 <
  4609. f.indexOf(k) || (f.push(k), k.Kw(a), e.push(k))
  4610. };
  4611. d.prototype.Qc = function (a) {
  4612. this.c.kH || (this.pt = !0, a || (this.c.Ct = !0));
  4613. var b,
  4614. c;
  4615. b = 0;
  4616. for (c = this.Oi.length; b < c; b++) {
  4617. var d = this.Oi[b];
  4618. d.Qc();
  4619. this.c.Bs(d.Ab);
  4620. this.c.Jg.fg() && !this.c.ne.length || this.c.Gd()
  4621. }
  4622. a || (this.c.Ct = !1)
  4623. };
  4624. d.prototype.$x = function (a, b) {
  4625. a.qg || this.c.yr.push(a);
  4626. var c,
  4627. d,
  4628. k = a.Uc[b],
  4629. e;
  4630. e = k.type ? k.type.name : "system";
  4631. var f = (c = k.Cx) ? this.Dx : this.Sz;
  4632. f[e] || (f[e] = []);
  4633. e = f[e];
  4634. f = k.yd;
  4635. if (c) {
  4636. if (k.Ga.length && (k = k.Ga[0], 1 === k.type && 2 === k.Lg.type)) {
  4637. k = k.Lg.value.toLowerCase();
  4638. c = 0;
  4639. for (d = e.length; c < d; c++)
  4640. if (e[c].method == f) {
  4641. c = e[c].Jm;
  4642. c[k] ? c[k].push([a, b]) : c[k] = [[a, b]];
  4643. return
  4644. }
  4645. c = {};
  4646. c[k] = [[a, b]];
  4647. e.push({
  4648. method : f,
  4649. Jm : c
  4650. })
  4651. }
  4652. } else {
  4653. c = 0;
  4654. for (d = e.length; c < d; c++)
  4655. if (e[c].method == f) {
  4656. e[c].Jm.push([a, b]);
  4657. return
  4658. }
  4659. E && f === E.prototype.B.Uk ? e.unshift({
  4660. method : f,
  4661. Jm : [[a, b]]
  4662. }) : e.push({
  4663. method : f,
  4664. Jm : [[a, b]]
  4665. })
  4666. }
  4667. };
  4668. Ab = d;
  4669. e.prototype.ot = function () {
  4670. return this.gb ? this.type.G.length : this.G.length
  4671. };
  4672. e.prototype.cf = function () {
  4673. return this.gb ? this.type.G : this.G
  4674. };
  4675. e.prototype.Rn = function (a) {
  4676. a && (a.c.zd().xd.qg ? (this.gb &&
  4677. (this.G.length = 0, za(this.tb, a.type.G), this.gb = !1), a = this.tb.indexOf(a), -1 !== a && (this.G.push(this.tb[a]), this.tb.splice(a, 1))) : (this.gb = !1, this.G.length = 1, this.G[0] = a))
  4678. };
  4679. fb = e;
  4680. window._c2hh_ = "FB2C235FFE3BC773CED332914335B8FF39D9F252";
  4681. f.prototype.Dc = function (a) {
  4682. var c,
  4683. d = this.parent;
  4684. if (this.group)
  4685. for (this.tr = !0; d; ) {
  4686. if (!d.group) {
  4687. this.tr = !1;
  4688. break
  4689. }
  4690. d = d.parent
  4691. }
  4692. this.vv = !this.iy() && (!this.parent || this.parent.group && this.parent.tr);
  4693. this.Vx = !!a;
  4694. this.oj = this.Ab.slice(0);
  4695. for (d = this.parent; d; ) {
  4696. a = 0;
  4697. for (c = d.Ab.length; a <
  4698. c; a++)
  4699. this.HB(d.Ab[a]);
  4700. d = d.parent
  4701. }
  4702. this.Ab = b(this.Ab);
  4703. this.oj = b(this.oj);
  4704. a = 0;
  4705. for (c = this.Uc.length; a < c; a++)
  4706. this.Uc[a].Dc();
  4707. a = 0;
  4708. for (c = this.Zf.length; a < c; a++)
  4709. this.Zf[a].Dc();
  4710. a = 0;
  4711. for (c = this.Qf.length; a < c; a++)
  4712. this.Qf[a].Dc(a < c - 1 && this.Qf[a + 1].kq)
  4713. };
  4714. f.prototype.qF = function (a) {
  4715. if (this.gl !== !!a) {
  4716. this.gl = !!a;
  4717. var b;
  4718. a = 0;
  4719. for (b = this.tp.length; a < b; ++a)
  4720. this.tp[a].Yz();
  4721. 0 < b && this.c.mb.Xj && this.c.mb.Xj.Av()
  4722. }
  4723. };
  4724. f.prototype.Lw = function (a) {
  4725. g(a, this.Ab)
  4726. };
  4727. f.prototype.HB = function (a) {
  4728. g(a, this.oj)
  4729. };
  4730. f.prototype.hr = function () {
  4731. this.ov =
  4732. !0;
  4733. this.parent && this.parent.hr()
  4734. };
  4735. f.prototype.iy = function () {
  4736. return this.Uc.length ? this.Uc[0].trigger : !1
  4737. };
  4738. f.prototype.Qc = function () {
  4739. var a,
  4740. b = !1,
  4741. c,
  4742. d = this.c,
  4743. k = this.c.zd();
  4744. k.xd = this;
  4745. var e = this.Uc;
  4746. this.kq || (k.Qs = !1);
  4747. if (this.qg) {
  4748. 0 === e.length && (b = !0);
  4749. k.Jc = 0;
  4750. for (a = e.length; k.Jc < a; k.Jc++)
  4751. e[k.Jc].trigger || (c = e[k.Jc].Qc()) && (b = !0);
  4752. (k.jk = b) && this.br()
  4753. } else {
  4754. k.Jc = 0;
  4755. for (a = e.length; k.Jc < a; k.Jc++)
  4756. if (c = e[k.Jc].Qc(), !c) {
  4757. k.jk = !1;
  4758. !this.vv || d.Jg.fg() && !d.ne.length || d.Gd();
  4759. return
  4760. }
  4761. k.jk = !0;
  4762. this.br()
  4763. }
  4764. this.HC(k)
  4765. };
  4766. f.prototype.HC =
  4767. function (a) {
  4768. a.jk && this.Vx && (a.Qs = !0);
  4769. !this.vv || this.c.Jg.fg() && !this.c.ne.length || this.c.Gd()
  4770. };
  4771. f.prototype.iF = function (a) {
  4772. this.c.zd().xd = this;
  4773. this.Uc[a].Qc() && (this.br(), this.c.zd().jk = !0)
  4774. };
  4775. f.prototype.br = function () {
  4776. var a = this.c.zd(),
  4777. b;
  4778. a.ze = 0;
  4779. for (b = this.Zf.length; a.ze < b; a.ze++)
  4780. if (this.Zf[a.ze].Qc())
  4781. return;
  4782. this.vz()
  4783. };
  4784. f.prototype.gF = function () {
  4785. var a = this.c.zd(),
  4786. b;
  4787. for (b = this.Zf.length; a.ze < b; a.ze++)
  4788. if (this.Zf[a.ze].Qc())
  4789. return;
  4790. this.vz()
  4791. };
  4792. f.prototype.vz = function () {
  4793. if (this.Qf.length) {
  4794. var a,
  4795. b,
  4796. c,
  4797. d,
  4798. k = this.Qf.length -
  4799. 1;
  4800. this.c.Uq(this);
  4801. if (this.ov)
  4802. for (a = 0, b = this.Qf.length; a < b; a++)
  4803. c = this.Qf[a], (d = !this.tr || !this.group && a < k) && this.c.Wn(c.Ab), c.Qc(), d ? this.c.jj(c.Ab) : this.c.Bs(c.Ab);
  4804. else
  4805. for (a = 0, b = this.Qf.length; a < b; a++)
  4806. this.Qf[a].Qc();
  4807. this.c.Qq()
  4808. }
  4809. };
  4810. f.prototype.jF = function () {
  4811. var a = this.c.zd();
  4812. a.xd = this;
  4813. var b = !1,
  4814. c;
  4815. a.Jc = 0;
  4816. for (c = this.Uc.length; a.Jc < c; a.Jc++)
  4817. if (this.Uc[a.Jc].Qc())
  4818. b = !0;
  4819. else if (!this.qg)
  4820. return !1;
  4821. return this.qg ? b : !0
  4822. };
  4823. f.prototype.Xu = function () {
  4824. this.c.Jp++;
  4825. var a = this.c.zd().Jc,
  4826. b = this.c.Uq(this);
  4827. if (!this.qg)
  4828. for (b.Jc =
  4829. a + 1, a = this.Uc.length; b.Jc < a; b.Jc++)
  4830. if (!this.Uc[b.Jc].Qc()) {
  4831. this.c.Qq();
  4832. return
  4833. }
  4834. this.br();
  4835. this.c.Qq()
  4836. };
  4837. f.prototype.YD = function (a) {
  4838. var b = a.index;
  4839. if (0 === b)
  4840. return !0;
  4841. for (--b; 0 <= b; --b)
  4842. if (this.Uc[b].type === a.type)
  4843. return !1;
  4844. return !0
  4845. };
  4846. Ub = f;
  4847. h.prototype.Dc = function () {
  4848. var a,
  4849. b,
  4850. c;
  4851. a = 0;
  4852. for (b = this.Ga.length; a < b; a++)
  4853. c = this.Ga[a], c.Dc(), c.Rf && (this.Bm = !0)
  4854. };
  4855. h.prototype.lF = x(!0);
  4856. h.prototype.$u = function () {
  4857. var a,
  4858. b;
  4859. a = 0;
  4860. for (b = this.Ga.length; a < b; a++)
  4861. this.Gb[a] = this.Ga[a].get();
  4862. return Oa(this.yd.apply(this.c.ih, this.Gb), this.yt)
  4863. };
  4864. h.prototype.kF = function () {
  4865. var a,
  4866. b;
  4867. a = 0;
  4868. for (b = this.Ga.length; a < b; a++)
  4869. this.Gb[a] = this.Ga[a].get();
  4870. a = this.yd.apply(this.Mj ? this.Mj : this.type, this.Gb);
  4871. this.type.bg();
  4872. return a
  4873. };
  4874. h.prototype.Zu = function () {
  4875. var a,
  4876. b,
  4877. c,
  4878. d,
  4879. k,
  4880. e,
  4881. f,
  4882. g,
  4883. l = this.type,
  4884. h = l.Pa(),
  4885. n = this.$e.qg && !this.trigger;
  4886. b = 0;
  4887. var m = l.Je,
  4888. p = l.Ka,
  4889. q = l.Fh,
  4890. r = this.vf,
  4891. v = -1 < r,
  4892. K = this.Bm,
  4893. M = this.Ga,
  4894. Z = this.Gb,
  4895. Y = this.yt,
  4896. N = this.yd,
  4897. ga;
  4898. if (K)
  4899. for (b = 0, k = M.length; b < k; ++b)
  4900. e = M[b], e.Rf || (Z[b] = e.get(0));
  4901. else
  4902. for (b = 0, k = M.length; b < k; ++b)
  4903. Z[b] = M[b].get(0);
  4904. if (h.gb) {
  4905. h.G.length = 0;
  4906. h.tb.length =
  4907. 0;
  4908. ga = l.G;
  4909. a = 0;
  4910. for (d = ga.length; a < d; ++a) {
  4911. g = ga[a];
  4912. if (K)
  4913. for (b = 0, k = M.length; b < k; ++b)
  4914. e = M[b], e.Rf && (Z[b] = e.get(a));
  4915. v ? (b = 0, p && (b = g.type.el[q]), b = N.apply(g.Ia[r + b], Z)) : b = N.apply(g, Z);
  4916. (f = Oa(b, Y)) ? h.G.push(g) : n && h.tb.push(g)
  4917. }
  4918. l.finish && l.finish(!0);
  4919. h.gb = !1;
  4920. l.bg();
  4921. return h.ot()
  4922. }
  4923. c = 0;
  4924. ga = (f = n && !this.$e.YD(this)) ? h.tb : h.G;
  4925. var ba = !1;
  4926. a = 0;
  4927. for (d = ga.length; a < d; ++a) {
  4928. g = ga[a];
  4929. if (K)
  4930. for (b = 0, k = M.length; b < k; ++b)
  4931. e = M[b], e.Rf && (Z[b] = e.get(a));
  4932. v ? (b = 0, p && (b = g.type.el[q]), b = N.apply(g.Ia[r + b], Z)) : b = N.apply(g, Z);
  4933. if (Oa(b, Y))
  4934. if (ba = !0, f) {
  4935. if (h.G.push(g),
  4936. m)
  4937. for (b = 0, k = g.siblings.length; b < k; b++)
  4938. e = g.siblings[b], e.type.Pa().G.push(e)
  4939. } else {
  4940. ga[c] = g;
  4941. if (m)
  4942. for (b = 0, k = g.siblings.length; b < k; b++)
  4943. e = g.siblings[b], e.type.Pa().G[c] = e;
  4944. c++
  4945. }
  4946. else if (f) {
  4947. ga[c] = g;
  4948. if (m)
  4949. for (b = 0, k = g.siblings.length; b < k; b++)
  4950. e = g.siblings[b], e.type.Pa().tb[c] = e;
  4951. c++
  4952. } else if (n && (h.tb.push(g), m))
  4953. for (b = 0, k = g.siblings.length; b < k; b++)
  4954. e = g.siblings[b], e.type.Pa().tb.push(e)
  4955. }
  4956. ga.length = c;
  4957. if (m)
  4958. for (p = l.Ee, a = 0, d = p.length; a < d; a++)
  4959. g = p[a].Pa(), f ? g.tb.length = c : g.G.length = c;
  4960. c = ba;
  4961. if (f && !ba)
  4962. for (a = 0, d = h.G.length; a <
  4963. d; a++) {
  4964. g = h.G[a];
  4965. if (K)
  4966. for (b = 0, k = M.length; b < k; b++)
  4967. e = M[b], e.Rf && (Z[b] = e.get(a));
  4968. b = v ? N.apply(g.Ia[r], Z) : N.apply(g, Z);
  4969. if (Oa(b, Y)) {
  4970. ba = !0;
  4971. break
  4972. }
  4973. }
  4974. l.finish && l.finish(c || n);
  4975. return n ? ba : h.ot()
  4976. };
  4977. Qb = h;
  4978. m.prototype.Dc = function () {
  4979. var a,
  4980. b,
  4981. c;
  4982. a = 0;
  4983. for (b = this.Ga.length; a < b; a++)
  4984. c = this.Ga[a], c.Dc(), c.Rf && (this.Bm = !0)
  4985. };
  4986. m.prototype.$u = function () {
  4987. var a,
  4988. b;
  4989. a = 0;
  4990. for (b = this.Ga.length; a < b; a++)
  4991. this.Gb[a] = this.Ga[a].get();
  4992. return this.yd.apply(this.c.ih, this.Gb)
  4993. };
  4994. m.prototype.Zu = function () {
  4995. var a = this.type.Pa().cf(),
  4996. b = this.type.Ka,
  4997. c =
  4998. this.type.Fh,
  4999. d = this.vf,
  5000. k = -1 < d,
  5001. e = this.Bm,
  5002. f = this.Ga,
  5003. g = this.Gb,
  5004. l = this.yd,
  5005. h,
  5006. n,
  5007. m,
  5008. p,
  5009. q,
  5010. r;
  5011. if (e)
  5012. for (n = 0, p = f.length; n < p; ++n)
  5013. q = f[n], q.Rf || (g[n] = q.get(0));
  5014. else
  5015. for (n = 0, p = f.length; n < p; ++n)
  5016. g[n] = f[n].get(0);
  5017. h = 0;
  5018. for (m = a.length; h < m; ++h) {
  5019. r = a[h];
  5020. if (e)
  5021. for (n = 0, p = f.length; n < p; ++n)
  5022. q = f[n], q.Rf && (g[n] = q.get(h));
  5023. k ? (n = 0, b && (n = r.type.el[c]), l.apply(r.Ia[d + n], g)) : l.apply(r, g)
  5024. }
  5025. return !1
  5026. };
  5027. Rb = m;
  5028. var r = [],
  5029. v = -1;
  5030. l.prototype.Dc = function () {
  5031. var a,
  5032. b;
  5033. if (11 === this.type)
  5034. this.Yj = this.c.Mx(this.no, this.$e.parent);
  5035. else if (13 === this.type)
  5036. for (a =
  5037. 0, b = this.Ck.length; a < b; a++)
  5038. this.Ck[a].Dc();
  5039. this.Lg && this.Lg.Dc()
  5040. };
  5041. l.prototype.HE = function (a) {
  5042. this.Rf || !a || a.ec.jr || (this.Rf = !0)
  5043. };
  5044. l.prototype.Az = function () {
  5045. this.Rf = !0
  5046. };
  5047. l.prototype.Yc = function () {
  5048. v++;
  5049. r.length === v && r.push(new Wb);
  5050. return r[v]
  5051. };
  5052. l.prototype.Pc = function () {
  5053. v--
  5054. };
  5055. l.prototype.BD = function (a) {
  5056. this.pj = a || 0;
  5057. a = this.Yc();
  5058. this.Lg.get(a);
  5059. this.Pc();
  5060. return a.data
  5061. };
  5062. l.prototype.CD = function (a) {
  5063. this.pj = a || 0;
  5064. a = this.Yc();
  5065. this.Lg.get(a);
  5066. this.Pc();
  5067. return ka(a.data) ? a.data : ""
  5068. };
  5069. l.prototype.ID = w("object");
  5070. l.prototype.zD =
  5071. w("kx");
  5072. l.prototype.GD = function (a) {
  5073. this.pj = a || 0;
  5074. a = this.Yc();
  5075. this.Lg.get(a);
  5076. this.Pc();
  5077. return a.kd() ? this.c.Sm(a.data) : this.c.ht(a.data)
  5078. };
  5079. l.prototype.HD = w("Fb");
  5080. l.prototype.FD = w("key");
  5081. l.prototype.ED = w("index");
  5082. l.prototype.DD = function (a) {
  5083. a = a || 0;
  5084. var b = this.na.type,
  5085. c = null,
  5086. c = b.Pa(),
  5087. d = c.cf();
  5088. if (d.length)
  5089. c = d[a % d.length].type;
  5090. else if (c.tb.length)
  5091. c = c.tb[a % c.tb.length].type;
  5092. else if (b.G.length)
  5093. c = b.G[a % b.G.length].type;
  5094. else
  5095. return 0;
  5096. return this.index + c.Lp[b.Fh]
  5097. };
  5098. l.prototype.AD = w("Yj");
  5099. l.prototype.yD = w("Ex");
  5100. l.prototype.JD = function () {
  5101. var a,
  5102. b;
  5103. a = 0;
  5104. for (b = this.Ck.length; a < b; a++)
  5105. this.lo[a] = this.Ck[a].get();
  5106. return this.lo
  5107. };
  5108. Sb = l;
  5109. n.prototype.Dc = function () {
  5110. this.Ab = b(this.Ab)
  5111. };
  5112. n.prototype.Pl = function (a) {
  5113. var b = this.c.Lx();
  5114. this.parent && !this.en && b ? (this.pk >= b.length && (b.length = this.pk + 1), b[this.pk] = a) : this.data = a
  5115. };
  5116. n.prototype.Yp = function () {
  5117. var a = this.c.Lx();
  5118. return !this.parent || this.en || !a || this.jq ? this.data : this.pk >= a.length || "undefined" === typeof a[this.pk] ? this.fq : a[this.pk]
  5119. };
  5120. n.prototype.Qc = function () {
  5121. !this.parent ||
  5122. this.en || this.jq || this.Pl(this.fq)
  5123. };
  5124. Jb = n;
  5125. k.prototype.toString = function () {
  5126. return "include:" + this.Xm.toString()
  5127. };
  5128. k.prototype.Dc = function () {
  5129. this.Xm = this.c.Ss[this.PD];
  5130. this.sheet.Wx.add(this);
  5131. this.Ab = b(this.Ab);
  5132. for (var a = this.parent; a; )
  5133. a.group && a.tp.push(this), a = a.parent;
  5134. this.Yz()
  5135. };
  5136. k.prototype.Qc = function () {
  5137. this.parent && this.c.Vn(this.c.da);
  5138. this.Xm.pt || this.Xm.Qc(!0);
  5139. this.parent && this.c.jj(this.c.da)
  5140. };
  5141. k.prototype.Yz = function () {
  5142. for (var a = this.parent; a; ) {
  5143. if (a.group && !a.gl) {
  5144. this.lc = !1;
  5145. return
  5146. }
  5147. a = a.parent
  5148. }
  5149. this.lc =
  5150. !0
  5151. };
  5152. Vb = k;
  5153. p.prototype.reset = function (a) {
  5154. this.xd = a;
  5155. this.ze = this.Jc = 0;
  5156. this.Mz.length = 0;
  5157. this.Qs = this.jk = !1
  5158. };
  5159. p.prototype.ZD = function () {
  5160. return this.xd.ov ? !0 : this.Jc < this.xd.Uc.length - 1 ? !!this.xd.Ab.length : !1
  5161. };
  5162. Ib = p
  5163. })();
  5164. (function () {
  5165. function a(a, c) {
  5166. this.na = a;
  5167. this.c = a.c;
  5168. this.type = c[0];
  5169. this.get = [this.UC, this.QC, this.bD, this.eD, this.KC, this.cD, this.YC, this.NC, this.XC, this.aD, this.LC, this.$C, this.OC, this.ZC, this.VC, this.WC, this.RC, this.SC, this.MC, this.dD, this.Ax, this.TC, this.Ax, this.PC][this.type];
  5170. var e = null;
  5171. this.ue = this.Ga = this.Gb = this.yd = this.or = this.rd = this.first = this.value = null;
  5172. this.vf = -1;
  5173. this.Gh = null;
  5174. this.Ev = -1;
  5175. this.Yj = this.no = null;
  5176. this.Xn = !1;
  5177. switch (this.type) {
  5178. case 0:
  5179. case 1:
  5180. case 2:
  5181. this.value = c[1];
  5182. break;
  5183. case 3:
  5184. this.first =
  5185. new Tb(a, c[1]);
  5186. break;
  5187. case 18:
  5188. this.first = new Tb(a, c[1]);
  5189. this.rd = new Tb(a, c[2]);
  5190. this.or = new Tb(a, c[3]);
  5191. break;
  5192. case 19:
  5193. this.yd = c[1];
  5194. this.yd !== B.prototype.W.random && this.yd !== B.prototype.W.aC || this.na.Az();
  5195. this.Gb = [];
  5196. this.Ga = [];
  5197. 3 === c.length ? (e = c[2], this.Gb.length = e.length + 1) : this.Gb.length = 1;
  5198. break;
  5199. case 20:
  5200. this.ue = this.c.da[c[1]];
  5201. this.vf = -1;
  5202. this.yd = c[2];
  5203. this.Xn = c[3];
  5204. hc && this.yd === hc.prototype.W.oA && this.na.Az();
  5205. this.Gh = c[4] ? new Tb(a, c[4]) : null;
  5206. this.Gb = [];
  5207. this.Ga = [];
  5208. 6 === c.length ? (e = c[5], this.Gb.length = e.length +
  5209. 1) : this.Gb.length = 1;
  5210. break;
  5211. case 21:
  5212. this.ue = this.c.da[c[1]];
  5213. this.Xn = c[2];
  5214. this.Gh = c[3] ? new Tb(a, c[3]) : null;
  5215. this.Ev = c[4];
  5216. break;
  5217. case 22:
  5218. this.ue = this.c.da[c[1]];
  5219. this.ue.Sp(c[2]);
  5220. this.vf = this.ue.dt(c[2]);
  5221. this.yd = c[3];
  5222. this.Xn = c[4];
  5223. this.Gh = c[5] ? new Tb(a, c[5]) : null;
  5224. this.Gb = [];
  5225. this.Ga = [];
  5226. 7 === c.length ? (e = c[6], this.Gb.length = e.length + 1) : this.Gb.length = 1;
  5227. break;
  5228. case 23:
  5229. this.no = c[1],
  5230. this.Yj = null
  5231. }
  5232. this.na.HE(this.ue);
  5233. 4 <= this.type && 17 >= this.type && (this.first = new Tb(a, c[1]), this.rd = new Tb(a, c[2]));
  5234. if (e) {
  5235. var f,
  5236. g;
  5237. f = 0;
  5238. for (g = e.length; f < g; f++)
  5239. this.Ga.push(new Tb(a, e[f]))
  5240. }
  5241. }
  5242. function c(a, c) {
  5243. this.type = a || Xb.Tk;
  5244. this.data = c || 0;
  5245. this.Hl = null;
  5246. this.type == Xb.Tk && (this.data = Math.floor(this.data))
  5247. }
  5248. a.prototype.Dc = function () {
  5249. 23 === this.type && (this.Yj = this.na.c.Mx(this.no, this.na.$e.parent));
  5250. this.first && this.first.Dc();
  5251. this.rd && this.rd.Dc();
  5252. this.or && this.or.Dc();
  5253. this.Gh && this.Gh.Dc();
  5254. if (this.Ga) {
  5255. var a,
  5256. c;
  5257. a = 0;
  5258. for (c = this.Ga.length; a < c; a++)
  5259. this.Ga[a].Dc()
  5260. }
  5261. };
  5262. a.prototype.dD = function (a) {
  5263. this.Gb[0] = a;
  5264. a = this.na.Yc();
  5265. var c,
  5266. e;
  5267. c = 0;
  5268. for (e = this.Ga.length; c <
  5269. e; c++)
  5270. this.Ga[c].get(a), this.Gb[c + 1] = a.data;
  5271. this.na.Pc();
  5272. this.yd.apply(this.c.ih, this.Gb)
  5273. };
  5274. a.prototype.Ax = function (a) {
  5275. var c = this.ue.Pa(),
  5276. e = c.cf();
  5277. if (!e.length)
  5278. if (c.tb.length)
  5279. e = c.tb;
  5280. else {
  5281. this.Xn ? a.Se("") : a.Tb(0);
  5282. return
  5283. }
  5284. this.Gb[0] = a;
  5285. a.Hl = this.ue;
  5286. a = this.na.Yc();
  5287. var f,
  5288. c = 0;
  5289. for (f = this.Ga.length; c < f; c++)
  5290. this.Ga[c].get(a), this.Gb[c + 1] = a.data;
  5291. c = this.na.pj;
  5292. this.Gh && (this.Gh.get(a), a.kd() && (c = a.data, e = this.ue.G));
  5293. this.na.Pc();
  5294. c %= e.length;
  5295. 0 > c && (c += e.length);
  5296. e = e[c];
  5297. -1 < this.vf ? (a = 0, this.ue.Ka && (a = e.type.el[this.ue.Fh]),
  5298. this.yd.apply(e.Ia[this.vf + a], this.Gb)) : this.yd.apply(e, this.Gb)
  5299. };
  5300. a.prototype.TC = function (a) {
  5301. var c = this.ue.Pa(),
  5302. e = c.cf();
  5303. if (!e.length)
  5304. if (c.tb.length)
  5305. e = c.tb;
  5306. else {
  5307. this.Xn ? a.Se("") : a.Tb(0);
  5308. return
  5309. }
  5310. c = this.na.pj;
  5311. if (this.Gh) {
  5312. var f = this.na.Yc();
  5313. this.Gh.get(f);
  5314. if (f.kd()) {
  5315. c = f.data;
  5316. e = this.ue.G;
  5317. c %= e.length;
  5318. 0 > c && (c += e.length);
  5319. e = e[c].Xc[this.Ev];
  5320. ka(e) ? a.Se(e) : a.ta(e);
  5321. this.na.Pc();
  5322. return
  5323. }
  5324. this.na.Pc()
  5325. }
  5326. c %= e.length;
  5327. 0 > c && (c += e.length);
  5328. e = e[c];
  5329. c = 0;
  5330. this.ue.Ka && (c = e.type.Lp[this.ue.Fh]);
  5331. e = e.Xc[this.Ev + c];
  5332. ka(e) ? a.Se(e) :
  5333. a.ta(e)
  5334. };
  5335. a.prototype.UC = function (a) {
  5336. a.type = Xb.Tk;
  5337. a.data = this.value
  5338. };
  5339. a.prototype.QC = function (a) {
  5340. a.type = Xb.Ok;
  5341. a.data = this.value
  5342. };
  5343. a.prototype.bD = function (a) {
  5344. a.type = Xb.To;
  5345. a.data = this.value
  5346. };
  5347. a.prototype.eD = function (a) {
  5348. this.first.get(a);
  5349. a.kd() && (a.data = -a.data)
  5350. };
  5351. a.prototype.KC = function (a) {
  5352. this.first.get(a);
  5353. var c = this.na.Yc();
  5354. this.rd.get(c);
  5355. a.kd() && c.kd() && (a.data += c.data, c.jl() && a.Cl());
  5356. this.na.Pc()
  5357. };
  5358. a.prototype.cD = function (a) {
  5359. this.first.get(a);
  5360. var c = this.na.Yc();
  5361. this.rd.get(c);
  5362. a.kd() && c.kd() && (a.data -=
  5363. c.data, c.jl() && a.Cl());
  5364. this.na.Pc()
  5365. };
  5366. a.prototype.YC = function (a) {
  5367. this.first.get(a);
  5368. var c = this.na.Yc();
  5369. this.rd.get(c);
  5370. a.kd() && c.kd() && (a.data *= c.data, c.jl() && a.Cl());
  5371. this.na.Pc()
  5372. };
  5373. a.prototype.NC = function (a) {
  5374. this.first.get(a);
  5375. var c = this.na.Yc();
  5376. this.rd.get(c);
  5377. a.kd() && c.kd() && (a.data /= c.data, a.Cl());
  5378. this.na.Pc()
  5379. };
  5380. a.prototype.XC = function (a) {
  5381. this.first.get(a);
  5382. var c = this.na.Yc();
  5383. this.rd.get(c);
  5384. a.kd() && c.kd() && (a.data %= c.data, c.jl() && a.Cl());
  5385. this.na.Pc()
  5386. };
  5387. a.prototype.aD = function (a) {
  5388. this.first.get(a);
  5389. var c =
  5390. this.na.Yc();
  5391. this.rd.get(c);
  5392. a.kd() && c.kd() && (a.data = Math.pow(a.data, c.data), c.jl() && a.Cl());
  5393. this.na.Pc()
  5394. };
  5395. a.prototype.LC = function (a) {
  5396. this.first.get(a);
  5397. var c = this.na.Yc();
  5398. this.rd.get(c);
  5399. a.kd() ? c.lq() ? a.Se(a.data.toString() + c.data) : a.data && c.data ? a.Tb(1) : a.Tb(0) : a.lq() && (a.data = c.lq() ? a.data + c.data : a.data + (Math.round(1E10 * c.data) / 1E10).toString());
  5400. this.na.Pc()
  5401. };
  5402. a.prototype.$C = function (a) {
  5403. this.first.get(a);
  5404. var c = this.na.Yc();
  5405. this.rd.get(c);
  5406. a.kd() && c.kd() && (a.data || c.data ? a.Tb(1) : a.Tb(0));
  5407. this.na.Pc()
  5408. };
  5409. a.prototype.MC = function (a) {
  5410. this.first.get(a);
  5411. a.data ? this.rd.get(a) : this.or.get(a)
  5412. };
  5413. a.prototype.OC = function (a) {
  5414. this.first.get(a);
  5415. var c = this.na.Yc();
  5416. this.rd.get(c);
  5417. a.Tb(a.data === c.data ? 1 : 0);
  5418. this.na.Pc()
  5419. };
  5420. a.prototype.ZC = function (a) {
  5421. this.first.get(a);
  5422. var c = this.na.Yc();
  5423. this.rd.get(c);
  5424. a.Tb(a.data !== c.data ? 1 : 0);
  5425. this.na.Pc()
  5426. };
  5427. a.prototype.VC = function (a) {
  5428. this.first.get(a);
  5429. var c = this.na.Yc();
  5430. this.rd.get(c);
  5431. a.Tb(a.data < c.data ? 1 : 0);
  5432. this.na.Pc()
  5433. };
  5434. a.prototype.WC = function (a) {
  5435. this.first.get(a);
  5436. var c = this.na.Yc();
  5437. this.rd.get(c);
  5438. a.Tb(a.data <= c.data ? 1 : 0);
  5439. this.na.Pc()
  5440. };
  5441. a.prototype.RC = function (a) {
  5442. this.first.get(a);
  5443. var c = this.na.Yc();
  5444. this.rd.get(c);
  5445. a.Tb(a.data > c.data ? 1 : 0);
  5446. this.na.Pc()
  5447. };
  5448. a.prototype.SC = function (a) {
  5449. this.first.get(a);
  5450. var c = this.na.Yc();
  5451. this.rd.get(c);
  5452. a.Tb(a.data >= c.data ? 1 : 0);
  5453. this.na.Pc()
  5454. };
  5455. a.prototype.PC = function (a) {
  5456. var c = this.Yj.Yp();
  5457. ja(c) ? a.ta(c) : a.Se(c)
  5458. };
  5459. Tb = a;
  5460. c.prototype.jl = function () {
  5461. return this.type === Xb.Ok
  5462. };
  5463. c.prototype.kd = function () {
  5464. return this.type === Xb.Tk || this.type === Xb.Ok
  5465. };
  5466. c.prototype.lq =
  5467. function () {
  5468. return this.type === Xb.To
  5469. };
  5470. c.prototype.Cl = function () {
  5471. this.jl() || (this.lq() && (this.data = parseFloat(this.data)), this.type = Xb.Ok)
  5472. };
  5473. c.prototype.Tb = function (a) {
  5474. this.type = Xb.Tk;
  5475. this.data = Math.floor(a)
  5476. };
  5477. c.prototype.ta = function (a) {
  5478. this.type = Xb.Ok;
  5479. this.data = a
  5480. };
  5481. c.prototype.Se = function (a) {
  5482. this.type = Xb.To;
  5483. this.data = a
  5484. };
  5485. c.prototype.Bz = function (a) {
  5486. ja(a) ? (this.type = Xb.Ok, this.data = a) : ka(a) ? (this.type = Xb.To, this.data = a.toString()) : (this.type = Xb.Tk, this.data = 0)
  5487. };
  5488. Wb = c;
  5489. Xb = {
  5490. Tk : 0,
  5491. Ok : 1,
  5492. To : 2
  5493. }
  5494. })();
  5495. function B(a) {
  5496. this.c = a;
  5497. this.ve = []
  5498. }
  5499. B.prototype.Zc = function () {
  5500. var a = {},
  5501. c,
  5502. b,
  5503. d,
  5504. e,
  5505. f,
  5506. g,
  5507. h,
  5508. m;
  5509. a.waits = [];
  5510. var l = a.waits,
  5511. n;
  5512. c = 0;
  5513. for (b = this.ve.length; c < b; c++) {
  5514. g = this.ve[c];
  5515. n = {
  5516. t : g.time,
  5517. ev : g.dl.Wa,
  5518. sm : [],
  5519. sols : {}
  5520. };
  5521. g.dl.Zf[g.ze] && (n.act = g.dl.Zf[g.ze].Wa);
  5522. d = 0;
  5523. for (e = g.Ab.length; d < e; d++)
  5524. n.sm.push(g.Ab[d].Wa);
  5525. for (f in g.ie)
  5526. if (g.ie.hasOwnProperty(f)) {
  5527. h = this.c.da[parseInt(f, 10)];
  5528. m = {
  5529. sa : g.ie[f].cr,
  5530. insts : []
  5531. };
  5532. d = 0;
  5533. for (e = g.ie[f].Hh.length; d < e; d++)
  5534. m.insts.push(g.ie[f].Hh[d].uid);
  5535. n.sols[h.Wa.toString()] = m
  5536. }
  5537. l.push(n)
  5538. }
  5539. return a
  5540. };
  5541. B.prototype.Ad = function (a) {
  5542. a = a.waits;
  5543. var c,
  5544. b,
  5545. d,
  5546. e,
  5547. f,
  5548. g,
  5549. h,
  5550. m,
  5551. l,
  5552. n,
  5553. k;
  5554. c = this.ve.length = 0;
  5555. for (b = a.length; c < b; c++)
  5556. if (g = a[c], m = this.c.Zw[g.ev.toString()]) {
  5557. l = -1;
  5558. d = 0;
  5559. for (e = m.Zf.length; d < e; d++)
  5560. if (m.Zf[d].Wa === g.act) {
  5561. l = d;
  5562. break
  5563. }
  5564. if (-1 !== l) {
  5565. h = {
  5566. ie : {},
  5567. Ab : [],
  5568. Os : !1
  5569. };
  5570. h.time = g.t;
  5571. h.dl = m;
  5572. h.ze = l;
  5573. d = 0;
  5574. for (e = g.sm.length; d < e; d++)
  5575. (m = this.c.Xp(g.sm[d])) && h.Ab.push(m);
  5576. for (f in g.sols)
  5577. if (g.sols.hasOwnProperty(f) && (m = this.c.Xp(parseInt(f, 10)))) {
  5578. l = g.sols[f];
  5579. n = {
  5580. cr : l.sa,
  5581. Hh : []
  5582. };
  5583. d = 0;
  5584. for (e = l.insts.length; d < e; d++)
  5585. (k = this.c.Ri(l.insts[d])) &&
  5586. n.Hh.push(k);
  5587. h.ie[m.index.toString()] = n
  5588. }
  5589. this.ve.push(h)
  5590. }
  5591. }
  5592. };
  5593. (function () {
  5594. function a() {}
  5595. function c(a, c) {
  5596. var b = a.ea.ax,
  5597. d = c.ea.ax;
  5598. if (ja(b) && ja(d))
  5599. return b - d;
  5600. b = "" + b;
  5601. d = "" + d;
  5602. return b < d ? -1 : b > d ? 1 : 0
  5603. }
  5604. function b() {}
  5605. function d() {}
  5606. var e = B.prototype;
  5607. a.prototype.ti = x(!0);
  5608. a.prototype.PA = x(!0);
  5609. var f = [],
  5610. g = -1;
  5611. a.prototype.qi = function (a, b, d) {
  5612. b = a.Pa();
  5613. g++;
  5614. f.length === g && f.push([]);
  5615. var e = f[g];
  5616. za(e, b.cf());
  5617. var h = this.c.zd(),
  5618. m = h.xd,
  5619. v = this.c.Tp(),
  5620. u = h.ZD(),
  5621. h = this.c.bF(),
  5622. y,
  5623. F,
  5624. H,
  5625. J,
  5626. A;
  5627. y = 0;
  5628. for (F = e.length; y < F; y++)
  5629. e[y].ea.ax = v.Ga[1].get(y);
  5630. e.sort(c);
  5631. 1 === d && e.reverse();
  5632. d = a.Je;
  5633. if (u)
  5634. for (y = 0, F = e.length; y <
  5635. F && !h.je; y++) {
  5636. this.c.Wn(m.Ab);
  5637. H = e[y];
  5638. b = a.Pa();
  5639. b.gb = !1;
  5640. b.G.length = 1;
  5641. b.G[0] = H;
  5642. if (d)
  5643. for (v = 0, u = H.siblings.length; v < u; v++)
  5644. J = H.siblings[v], A = J.type.Pa(), A.gb = !1, A.G.length = 1, A.G[0] = J;
  5645. h.index = y;
  5646. m.Xu();
  5647. this.c.jj(m.Ab)
  5648. }
  5649. else
  5650. for (b.gb = !1, b.G.length = 1, y = 0, F = e.length; y < F && !h.je; y++) {
  5651. H = e[y];
  5652. b.G[0] = H;
  5653. if (d)
  5654. for (v = 0, u = H.siblings.length; v < u; v++)
  5655. J = H.siblings[v], A = J.type.Pa(), A.gb = !1, A.G.length = 1, A.G[0] = J;
  5656. h.index = y;
  5657. m.Xu()
  5658. }
  5659. e.length = 0;
  5660. this.c.WE();
  5661. g--;
  5662. return !1
  5663. };
  5664. a.prototype.xj = function (a) {
  5665. var c = this.c.Tp(),
  5666. b = c.ea.Co || 0,
  5667. d =
  5668. this.c.Ke.Cb;
  5669. "undefined" === typeof c.ea.Kr && (c.ea.Kr = a);
  5670. var e = c.ea.Kr;
  5671. if (d >= b + e)
  5672. return c.ea.Co = b + e, d >= c.ea.Co + 0.04 && (c.ea.Co = d), c.ea.Kr = a, !0;
  5673. d < b - 0.1 && (c.ea.Co = d);
  5674. return !1
  5675. };
  5676. a.prototype.Xa = function (a, c, b) {
  5677. return Yb(a.Yp(), c, b)
  5678. };
  5679. a.prototype.wA = function () {
  5680. var a = this.c.zd();
  5681. return a.Qs ? !1 : !a.jk
  5682. };
  5683. a.prototype.gw = x(!0);
  5684. a.prototype.MA = x(!0);
  5685. a.prototype.cs = x(!0);
  5686. a.prototype.QA = x(!0);
  5687. a.prototype.bs = x(!0);
  5688. e.B = new a;
  5689. b.prototype.DA = function (a) {
  5690. this.c.ll || this.c.Qj || (this.c.Qj = a)
  5691. };
  5692. b.prototype.ph = function (a, c, b, d) {
  5693. if (c &&
  5694. a && (c = this.c.nx(a, c, b, d))) {
  5695. this.c.gg++;
  5696. var e;
  5697. this.c.trigger(Object.getPrototypeOf(a.ec).B.$r, c);
  5698. if (c.Je)
  5699. for (b = 0, d = c.siblings.length; b < d; b++)
  5700. e = c.siblings[b], this.c.trigger(Object.getPrototypeOf(e.type.ec).B.$r, e);
  5701. this.c.gg--;
  5702. a = a.Pa();
  5703. a.gb = !1;
  5704. a.G.length = 1;
  5705. a.G[0] = c;
  5706. if (c.Je)
  5707. for (b = 0, d = c.siblings.length; b < d; b++)
  5708. e = c.siblings[b], a = e.type.Pa(), a.gb = !1, a.G.length = 1, a.G[0] = e
  5709. }
  5710. };
  5711. b.prototype.Fj = function (a, c) {
  5712. 0 === a.Fv ? ja(c) ? a.Pl(c) : a.Pl(parseFloat(c)) : 1 === a.Fv && a.Pl(c.toString())
  5713. };
  5714. b.prototype.lB = function (a, c) {
  5715. 0 ===
  5716. a.Fv && (ja(c) ? a.Pl(a.Yp() - c) : a.Pl(a.Yp() - parseFloat(c)))
  5717. };
  5718. var h = [],
  5719. m = [];
  5720. b.prototype.Yf = function (a) {
  5721. if (!(0 > a)) {
  5722. var c,
  5723. b,
  5724. d,
  5725. e = this.c.zd(),
  5726. f;
  5727. f = h.length ? h.pop() : {
  5728. ie : {},
  5729. Ab : []
  5730. };
  5731. f.Os = !1;
  5732. f.time = this.c.Ke.Cb + a;
  5733. f.dl = e.xd;
  5734. f.ze = e.ze + 1;
  5735. a = 0;
  5736. for (c = this.c.da.length; a < c; a++)
  5737. d = this.c.da[a], b = d.Pa(), b.gb && -1 === e.xd.Ab.indexOf(d) || (f.Ab.push(d), d = void 0, d = m.length ? m.pop() : {
  5738. Hh : []
  5739. }, d.cr = !1, d.cr = b.gb, za(d.Hh, b.G), f.ie[a.toString()] = d);
  5740. this.ve.push(f);
  5741. return !0
  5742. }
  5743. };
  5744. b.prototype.ow = function () {
  5745. var a,
  5746. c,
  5747. b;
  5748. a = 0;
  5749. for (c = this.c.us.length; a <
  5750. c; a++)
  5751. b = this.c.us[a], b.data = b.fq
  5752. };
  5753. b.prototype.qw = function () {
  5754. if (!this.c.ll && !this.c.Qj && this.c.mb) {
  5755. this.c.Qj = this.c.mb;
  5756. var a,
  5757. c,
  5758. b;
  5759. a = 0;
  5760. for (c = this.c.Ai.length; a < c; a++)
  5761. b = this.c.Ai[a], b.qF(b.gq)
  5762. }
  5763. };
  5764. e.A = new b;
  5765. d.prototype["int"] = function (a, c) {
  5766. ka(c) ? (a.Tb(parseInt(c, 10)), isNaN(a.data) && (a.data = 0)) : a.Tb(c)
  5767. };
  5768. d.prototype["float"] = function (a, c) {
  5769. ka(c) ? (a.ta(parseFloat(c)), isNaN(a.data) && (a.data = 0)) : a.ta(c)
  5770. };
  5771. d.prototype.random = function (a, c, b) {
  5772. void 0 === b ? a.ta(Math.random() * c) : a.ta(Math.random() * (b - c) + c)
  5773. };
  5774. d.prototype.sqrt =
  5775. function (a, c) {
  5776. a.ta(Math.sqrt(c))
  5777. };
  5778. d.prototype.abs = function (a, c) {
  5779. a.ta(Math.abs(c))
  5780. };
  5781. d.prototype.round = function (a, c) {
  5782. a.Tb(Math.round(c))
  5783. };
  5784. d.prototype.floor = function (a, c) {
  5785. a.Tb(Math.floor(c))
  5786. };
  5787. d.prototype.ceil = function (a, c) {
  5788. a.Tb(Math.ceil(c))
  5789. };
  5790. d.prototype.sin = function (a, c) {
  5791. a.ta(Math.sin(Ca(c)))
  5792. };
  5793. d.prototype.cos = function (a, c) {
  5794. a.ta(Math.cos(Ca(c)))
  5795. };
  5796. d.prototype.tan = function (a, c) {
  5797. a.ta(Math.tan(Ca(c)))
  5798. };
  5799. d.prototype.asin = function (a, c) {
  5800. a.ta(Da(Math.asin(c)))
  5801. };
  5802. d.prototype.acos = function (a, c) {
  5803. a.ta(Da(Math.acos(c)))
  5804. };
  5805. d.prototype.exp = function (a, c) {
  5806. a.ta(Math.exp(c))
  5807. };
  5808. d.prototype.max = function (a) {
  5809. var c = arguments[1],
  5810. b,
  5811. d;
  5812. b = 2;
  5813. for (d = arguments.length; b < d; b++)
  5814. c < arguments[b] && (c = arguments[b]);
  5815. a.ta(c)
  5816. };
  5817. d.prototype.min = function (a) {
  5818. var c = arguments[1],
  5819. b,
  5820. d;
  5821. b = 2;
  5822. for (d = arguments.length; b < d; b++)
  5823. c > arguments[b] && (c = arguments[b]);
  5824. a.ta(c)
  5825. };
  5826. d.prototype.Ja = function (a) {
  5827. a.ta(this.c.Ja)
  5828. };
  5829. d.prototype.ji = function (a) {
  5830. a.ta(this.c.ji)
  5831. };
  5832. d.prototype.time = function (a) {
  5833. a.ta(this.c.Ke.Cb)
  5834. };
  5835. d.prototype.hi = function (a) {
  5836. a.Tb(this.c.hi)
  5837. };
  5838. d.prototype.Kq =
  5839. function (a) {
  5840. a.Tb(this.c.Kq)
  5841. };
  5842. d.prototype.Zs = function (a) {
  5843. a.Tb(this.c.Zs)
  5844. };
  5845. d.prototype.Dh = function (a, c, b, d, e) {
  5846. a.ta(Na(c, b, d, e))
  5847. };
  5848. d.prototype.L = function (a, c, b, d, e) {
  5849. a.ta(Da(Ia(c, b, d, e)))
  5850. };
  5851. d.prototype.left = function (a, c, b) {
  5852. a.Se(ka(c) ? c.substr(0, b) : "")
  5853. };
  5854. d.prototype.right = function (a, c, b) {
  5855. a.Se(ka(c) ? c.substr(c.length - b) : "")
  5856. };
  5857. d.prototype.replace = function (a, c, b, d) {
  5858. ka(c) && ka(b) && ka(d) ? a.Se(c.replace(RegExp(Va(b), "gi"), d)) : a.Se(ka(c) ? c : "")
  5859. };
  5860. d.prototype.aC = function (a) {
  5861. var c = sa(Math.random() * (arguments.length - 1));
  5862. a.Bz(arguments[c + 1])
  5863. };
  5864. d.prototype.Hs = function (a) {
  5865. a.ta(this.c.Hs / 1E3)
  5866. };
  5867. d.prototype.ql = function (a) {
  5868. a.ta(this.c.ql)
  5869. };
  5870. e.W = new d;
  5871. e.hF = function () {
  5872. var a,
  5873. c,
  5874. b,
  5875. d,
  5876. e,
  5877. f,
  5878. g = this.c.zd();
  5879. a = 0;
  5880. for (b = this.ve.length; a < b; a++)
  5881. if (d = this.ve[a], !(d.time > this.c.Ke.Cb)) {
  5882. g.xd = d.dl;
  5883. g.ze = d.ze;
  5884. g.Jc = 0;
  5885. for (c in d.ie)
  5886. d.ie.hasOwnProperty(c) && (e = this.c.da[parseInt(c, 10)].Pa(), f = d.ie[c], e.gb = f.cr, za(e.G, f.Hh), e = f, e.Hh.length = 0, m.push(e));
  5887. d.dl.gF();
  5888. this.c.Bs(d.Ab);
  5889. d.Os = !0
  5890. }
  5891. c = a = 0;
  5892. for (b = this.ve.length; a < b; a++)
  5893. d = this.ve[a], this.ve[c] = d, d.Os ?
  5894. (Qa(d.ie), d.Ab.length = 0, h.push(d)) : c++;
  5895. this.ve.length = c
  5896. }
  5897. })();
  5898. (function () {
  5899. eb = function (a) {
  5900. var b = a[0].prototype,
  5901. d = a[1],
  5902. e = a[3],
  5903. f = a[4],
  5904. g = a[5],
  5905. h = a[6],
  5906. m = a[7];
  5907. a = a[8];
  5908. b.B || (b.B = {});
  5909. b.A || (b.A = {});
  5910. b.W || (b.W = {});
  5911. var l = b.B,
  5912. n = b.A,
  5913. b = b.W;
  5914. e && (l.bG = function (a, c) {
  5915. return Yb(this.x, a, c)
  5916. }, l.Ag = function (a, c) {
  5917. return Yb(this.y, a, c)
  5918. }, l.jG = function () {
  5919. var a = this.T;
  5920. this.Ta();
  5921. var c = this.hb;
  5922. return !(c.right < a.Rd || c.bottom < a.Sd || c.left > a.Ue || c.top > a.Te)
  5923. }, l.kG = function () {
  5924. this.Ta();
  5925. var a = this.hb,
  5926. c = this.c.mb;
  5927. return 0 > a.right || 0 > a.bottom || a.left > c.width || a.top > c.height
  5928. }, l.xG = function (a, c, b) {
  5929. var d =
  5930. this.Pa(),
  5931. e = d.cf();
  5932. if (!e.length)
  5933. return !1;
  5934. var f = e[0],
  5935. g = f,
  5936. h = Na(f.x, f.y, c, b),
  5937. l,
  5938. m,
  5939. n;
  5940. l = 1;
  5941. for (m = e.length; l < m; l++)
  5942. if (f = e[l], n = Na(f.x, f.y, c, b), 0 === a && n < h || 1 === a && n > h)
  5943. h = n, g = f;
  5944. d.Rn(g);
  5945. return !0
  5946. }, n.ye = function (a) {
  5947. this.x !== a && (this.x = a, this.ka())
  5948. }, n.Cw = function (a) {
  5949. this.y !== a && (this.y = a, this.ka())
  5950. }, n.MG = function (a, c) {
  5951. if (this.x !== a || this.y !== c)
  5952. this.x = a, this.y = c, this.ka()
  5953. }, n.NG = function (a, c) {
  5954. var b = a.sD(this);
  5955. if (b) {
  5956. var d;
  5957. b.Og ? (d = b.Og(c, !0), b = b.Og(c, !1)) : (d = b.x, b = b.y);
  5958. if (this.x !== d || this.y !== b)
  5959. this.x = d, this.y = b, this.ka()
  5960. }
  5961. },
  5962. n.qG = function (a) {
  5963. 0 !== a && (this.x += Math.cos(this.L) * a, this.y += Math.sin(this.L) * a, this.ka())
  5964. }, n.pG = function (a, c) {
  5965. 0 !== c && (this.x += Math.cos(Ca(a)) * c, this.y += Math.sin(Ca(a)) * c, this.ka())
  5966. }, b.Hc = function (a) {
  5967. a.ta(this.x)
  5968. }, b.Hj = function (a) {
  5969. a.ta(this.y)
  5970. }, b.Ja = function (a) {
  5971. a.ta(this.c.$j(this))
  5972. });
  5973. f && (l.aG = function (a, c) {
  5974. return Yb(this.width, a, c)
  5975. }, l.ZF = function (a, c) {
  5976. return Yb(this.height, a, c)
  5977. }, n.QG = function (a) {
  5978. this.width !== a && (this.width = a, this.ka())
  5979. }, n.LG = function (a) {
  5980. this.height !== a && (this.height = a, this.ka())
  5981. },
  5982. n.OG = function (a, c) {
  5983. if (this.width !== a || this.height !== c)
  5984. this.width = a, this.height = c, this.ka()
  5985. }, b.VG = function (a) {
  5986. a.ta(this.width)
  5987. }, b.dG = function (a) {
  5988. a.ta(this.height)
  5989. }, b.WF = function (a) {
  5990. this.Ta();
  5991. a.ta(this.hb.left)
  5992. }, b.YF = function (a) {
  5993. this.Ta();
  5994. a.ta(this.hb.top)
  5995. }, b.XF = function (a) {
  5996. this.Ta();
  5997. a.ta(this.hb.right)
  5998. }, b.VF = function (a) {
  5999. this.Ta();
  6000. a.ta(this.hb.bottom)
  6001. });
  6002. g && (l.PF = function (a, c) {
  6003. return Ja(this.L, Ca(c)) <= Ca(a)
  6004. }, l.hG = function (a) {
  6005. return La(this.L, Ca(a))
  6006. }, l.fG = function (a, c) {
  6007. var b = Ha(a),
  6008. d = Ha(c),
  6009. e = Fa(this.L);
  6010. return La(d, b) ? La(e, b) && !La(e, d) : !(!La(e, b) && La(e, d))
  6011. }, n.vi = function (a) {
  6012. a = Ca(Ea(a));
  6013. isNaN(a) || this.L === a || (this.L = a, this.ka())
  6014. }, n.DG = function (a) {
  6015. 0 === a || isNaN(a) || (this.L += Ca(a), this.L = Fa(this.L), this.ka())
  6016. }, n.EG = function (a) {
  6017. 0 === a || isNaN(a) || (this.L -= Ca(a), this.L = Fa(this.L), this.ka())
  6018. }, n.FG = function (a, c) {
  6019. var b = Ka(this.L, Ca(c), Ca(a));
  6020. isNaN(b) || this.L === b || (this.L = b, this.ka())
  6021. }, n.GG = function (a, c, b) {
  6022. a = Ka(this.L, Math.atan2(b - this.y, c - this.x), Ca(a));
  6023. isNaN(a) || this.L === a || (this.L = a, this.ka())
  6024. }, n.PG = function (a,
  6025. c) {
  6026. var b = Math.atan2(c - this.y, a - this.x);
  6027. isNaN(b) || this.L === b || (this.L = b, this.ka())
  6028. }, b.OF = function (a) {
  6029. a.ta(Ga(this.L))
  6030. });
  6031. d || (l.vc = function (a, c, b) {
  6032. return Yb(this.Xc[a], c, b)
  6033. }, l.gG = function (a) {
  6034. return this.Xc[a]
  6035. }, l.yG = function (a, c) {
  6036. var b = this.Pa(),
  6037. d = b.cf();
  6038. if (!d.length)
  6039. return !1;
  6040. var e = d[0],
  6041. f = e,
  6042. g = e.Xc[c],
  6043. h,
  6044. l,
  6045. m;
  6046. h = 1;
  6047. for (l = d.length; h < l; h++)
  6048. if (e = d[h], m = e.Xc[c], 0 === a && m < g || 1 === a && m > g)
  6049. g = m, f = e;
  6050. b.Rn(f);
  6051. return !0
  6052. }, l.wG = function (a) {
  6053. var c,
  6054. b,
  6055. d,
  6056. e,
  6057. f;
  6058. if (this.c.Tp().yt) {
  6059. f = this.Pa();
  6060. if (f.gb)
  6061. for (f.gb = !1, f.G.length = 0, f.tb.length =
  6062. 0, d = this.G, c = 0, b = d.length; c < b; c++)
  6063. e = d[c], e.uid === a ? f.tb.push(e) : f.G.push(e);
  6064. else {
  6065. d = c = 0;
  6066. for (b = f.G.length; c < b; c++)
  6067. e = f.G[c], f.G[d] = e, e.uid === a ? f.tb.push(e) : d++;
  6068. f.G.length = d
  6069. }
  6070. this.bg();
  6071. return !!f.G.length
  6072. }
  6073. e = this.c.Ri(a);
  6074. if (!e)
  6075. return !1;
  6076. f = this.Pa();
  6077. if (!f.gb && -1 === f.G.indexOf(e))
  6078. return !1;
  6079. if (this.Ka)
  6080. for (a = e.type.Xb, c = 0, b = a.length; c < b; c++) {
  6081. if (a[c] === this)
  6082. return f.Rn(e), this.bg(), !0
  6083. }
  6084. else if (e.type === this)
  6085. return f.Rn(e), this.bg(), !0;
  6086. return !1
  6087. }, l.$r = x(!0), l.NA = x(!0), n.tf = function (a, c) {
  6088. var b = this.Xc;
  6089. ja(b[a]) ? b[a] =
  6090. ja(c) ? c : parseFloat(c) : ka(b[a]) && (b[a] = ka(c) ? c : c.toString())
  6091. }, n.NF = function (a, c) {
  6092. var b = this.Xc;
  6093. ja(b[a]) ? b[a] = ja(c) ? b[a] + c : b[a] + parseFloat(c) : ka(b[a]) && (b[a] = ka(c) ? b[a] + c : b[a] + c.toString())
  6094. }, n.RG = function (a, c) {
  6095. var b = this.Xc;
  6096. ja(b[a]) && (b[a] = ja(c) ? b[a] - c : b[a] - parseFloat(c))
  6097. }, n.HG = function (a, c) {
  6098. this.Xc[a] = c ? 1 : 0
  6099. }, n.TG = function (a) {
  6100. this.Xc[a] = 1 - this.Xc[a]
  6101. }, n.Ob = function () {
  6102. this.c.pi(this)
  6103. }, n.EA || (n.EA = function (a) {
  6104. var c,
  6105. b;
  6106. try {
  6107. c = JSON.parse(a)
  6108. } catch (d) {
  6109. return
  6110. }
  6111. this.c.wq(this, c, !0);
  6112. this.Gg && this.Gg();
  6113. if (this.Ia)
  6114. for (a =
  6115. 0, c = this.Ia.length; a < c; ++a)
  6116. b = this.Ia[a], b.Gg && b.Gg()
  6117. }), b.cG = function (a) {
  6118. var c = a.Hl.G.length,
  6119. b,
  6120. d,
  6121. e;
  6122. b = 0;
  6123. for (d = this.c.ne.length; b < d; b++)
  6124. e = this.c.ne[b], a.Hl.Ka ? 0 <= e.type.Xb.indexOf(a.Hl) && c++ : e.type === a.Hl && c++;
  6125. a.Tb(c)
  6126. }, b.AG = function (a) {
  6127. a.Tb(a.Hl.Pa().cf().length)
  6128. }, b.UG = function (a) {
  6129. a.Tb(this.uid)
  6130. }, b.eG = function (a) {
  6131. a.Tb(this.Um())
  6132. }, b.Nv || (b.Nv = function (a) {
  6133. a.Se(JSON.stringify(this.c.av(this, !0)))
  6134. }));
  6135. h && (l.Tr = w("visible"), n.Xf = function (a) {
  6136. !a !== !this.visible && (this.visible = a, this.c.qb = !0)
  6137. }, l.$F = function (a,
  6138. c) {
  6139. return Yb(bb(100 * this.opacity), a, c)
  6140. }, n.Ro = function (a) {
  6141. a /= 100;
  6142. 0 > a ? a = 0 : 1 < a && (a = 1);
  6143. a !== this.opacity && (this.opacity = a, this.c.qb = !0)
  6144. }, b.Opacity = function (a) {
  6145. a.ta(bb(100 * this.opacity))
  6146. });
  6147. m && (l.iG = function (a) {
  6148. return a ? this.T === a : !1
  6149. }, l.zG = function (a) {
  6150. var c = this.Pa(),
  6151. b = c.cf();
  6152. if (!b.length)
  6153. return !1;
  6154. var d = b[0],
  6155. e = d,
  6156. f,
  6157. g;
  6158. f = 1;
  6159. for (g = b.length; f < g; f++)
  6160. if (d = b[f], 0 === a) {
  6161. if (d.T.index > e.T.index || d.T.index === e.T.index && d.df() > e.df())
  6162. e = d
  6163. } else if (d.T.index < e.T.index || d.T.index === e.T.index && d.df() < e.df())
  6164. e = d;
  6165. c.Rn(e);
  6166. return !0
  6167. },
  6168. n.dw = function () {
  6169. var a = this.df();
  6170. a !== this.T.G.length - 1 && (ya(this.T.G, a), this.T.G.push(this), this.c.qb = !0, this.T.Ve = !0)
  6171. }, n.rG = function () {
  6172. var a = this.df();
  6173. 0 !== a && (ya(this.T.G, a), this.T.G.unshift(this), this.c.qb = !0, this.T.Ve = !0)
  6174. }, n.sG = function (a) {
  6175. a && a != this.T && (ya(this.T.G, this.df()), this.T.Ve = !0, this.T = a, this.Hk = a.G.length, a.G.push(this), this.c.qb = !0)
  6176. }, n.XG = function (a, c) {
  6177. var b = 0 === a;
  6178. if (c) {
  6179. var d = c.Nx(this);
  6180. if (d && d.uid !== this.uid) {
  6181. this.T.index !== d.T.index && (ya(this.T.G, this.df()), this.T.Ve = !0, this.T = d.T,
  6182. this.Hk = d.T.G.length, d.T.G.push(this));
  6183. var e = this.df(),
  6184. d = d.df();
  6185. ya(this.T.G, e);
  6186. e < d && d--;
  6187. b && d++;
  6188. d === this.T.G.length ? this.T.G.push(this) : this.T.G.splice(d, 0, this);
  6189. this.T.Ve = !0;
  6190. this.c.qb = !0
  6191. }
  6192. }
  6193. }, b.nG = function (a) {
  6194. a.Tb(this.T.Ny)
  6195. }, b.mG = function (a) {
  6196. a.Se(this.T.name)
  6197. }, b.WG = function (a) {
  6198. a.Tb(this.df())
  6199. });
  6200. a && (n.JG = function (a, c) {
  6201. if (this.c.qa) {
  6202. var b = this.type.gt(c);
  6203. if (!(0 > b)) {
  6204. var d = 1 === a;
  6205. this.yi[b] !== d && (this.yi[b] = d, this.li(), this.c.qb = !0)
  6206. }
  6207. }
  6208. }, n.KG = function (a, c, b) {
  6209. if (this.c.qa) {
  6210. var d = this.type.gt(a);
  6211. 0 > d || (a = this.type.Ea[d],
  6212. d = this.mc[d], c = Math.floor(c), 0 > c || c >= d.length || (1 === this.c.qa.vD(a.Cd, c) && (b /= 100), d[c] !== b && (d[c] = b, a.lc && (this.c.qb = !0))))
  6213. }
  6214. })
  6215. };
  6216. Bb = function () {
  6217. this.As = this.ys = !0;
  6218. this.type.Xo = !0;
  6219. this.c.qb = !0;
  6220. var a,
  6221. b,
  6222. d = this.zs;
  6223. a = 0;
  6224. for (b = d.length; a < b; ++a)
  6225. d[a](this)
  6226. };
  6227. Cb = function (a) {
  6228. a && this.zs.push(a)
  6229. };
  6230. Eb = function () {
  6231. if (this.ys) {
  6232. var a = this.hb,
  6233. b = this.Wb;
  6234. a.set(this.x, this.y, this.x + this.width, this.y + this.height);
  6235. a.offset(-this.oe * this.width, -this.pe * this.height);
  6236. this.L ? (a.offset(-this.x, -this.y), b.Dz(a, this.L), b.offset(this.x,
  6237. this.y), b.$w(a)) : b.$n(a);
  6238. a.normalize();
  6239. this.ys = !1
  6240. }
  6241. };
  6242. var a = new va(0, 0, 0, 0);
  6243. Fb = function () {
  6244. if (this.As && this.wf) {
  6245. this.Ta();
  6246. var c = this.type.Fm,
  6247. b = this.Ii,
  6248. d = this.hb;
  6249. a.set(c.Uo(d.left), c.Vo(d.top), c.Uo(d.right), c.Vo(d.bottom));
  6250. b.JC(a) || (b.right < b.left ? c.update(this, null, a) : c.update(this, b, a), b.copy(a), this.As = !1)
  6251. }
  6252. };
  6253. Db = function (a, b) {
  6254. return this.hb.Fe(a, b) && this.Wb.Fe(a, b) ? this.Oa && !this.Oa.gk() ? (this.Oa.Oj(this.width, this.height, this.L), this.Oa.Fe(a - this.x, b - this.y)) : !0 : !1
  6255. };
  6256. xb = function () {
  6257. this.type.Ar();
  6258. return this.bk
  6259. };
  6260. Gb = function () {
  6261. this.T.GF();
  6262. return this.Hk
  6263. };
  6264. Hb = function () {
  6265. this.nb.length = 0;
  6266. var a,
  6267. b;
  6268. a = 0;
  6269. for (b = this.yi.length; a < b; a++)
  6270. this.yi[a] && this.nb.push(this.type.Ea[a]);
  6271. this.dA = !!this.nb.length
  6272. };
  6273. yb = function () {
  6274. return "Inst" + this.mz
  6275. };
  6276. hb = function (a) {
  6277. if (a && a.Je && a.type != this) {
  6278. var b,
  6279. d,
  6280. e;
  6281. b = 0;
  6282. for (d = a.siblings.length; b < d; b++)
  6283. if (e = a.siblings[b], e.type == this)
  6284. return e
  6285. }
  6286. a = this.Pa().cf();
  6287. return a.length ? a[0] : null
  6288. };
  6289. ib = function (a) {
  6290. var b = this.Pa().cf();
  6291. return b.length ? b[a.Um() % b.length] : null
  6292. };
  6293. gb = function () {
  6294. if (this.Sl && !this.Ka) {
  6295. var a,
  6296. b;
  6297. a = 0;
  6298. for (b = this.G.length; a < b; a++)
  6299. this.G[a].bk = a;
  6300. var d = a,
  6301. e = this.c.ne;
  6302. a = 0;
  6303. for (b = e.length; a < b; ++a)
  6304. e[a].type === this && (e[a].bk = d++);
  6305. this.Sl = !1
  6306. }
  6307. };
  6308. vb = function (a) {
  6309. if (a < this.G.length)
  6310. return this.G[a];
  6311. a -= this.G.length;
  6312. var b = this.c.ne,
  6313. d,
  6314. e;
  6315. d = 0;
  6316. for (e = b.length; d < e; ++d)
  6317. if (b[d].type === this) {
  6318. if (0 === a)
  6319. return b[d];
  6320. --a
  6321. }
  6322. return null
  6323. };
  6324. kb = function () {
  6325. return this.qj[this.Ch]
  6326. };
  6327. lb = function () {
  6328. this.Ch++;
  6329. this.Ch === this.qj.length ? this.qj.push(new fb(this)) : this.qj[this.Ch].gb = !0
  6330. };
  6331. mb = function () {
  6332. this.Ch++;
  6333. this.Ch === this.qj.length &&
  6334. this.qj.push(new fb(this));
  6335. var a = this.qj[this.Ch],
  6336. b = this.qj[this.Ch - 1];
  6337. b.gb ? a.gb = !0 : (a.gb = !1, za(a.G, b.G), za(a.tb, b.tb))
  6338. };
  6339. nb = function () {
  6340. this.Ch--
  6341. };
  6342. ob = function (a) {
  6343. var b,
  6344. d,
  6345. e,
  6346. f,
  6347. g,
  6348. h = 0;
  6349. if (!this.Ka)
  6350. for (b = 0, d = this.Xb.length; b < d; b++)
  6351. for (g = this.Xb[b], e = 0, f = g.Ic.length; e < f; e++) {
  6352. if (a === g.Ic[e].name)
  6353. return this.ea.ky = h, g.Ic[e];
  6354. h++
  6355. }
  6356. b = 0;
  6357. for (d = this.Ic.length; b < d; b++) {
  6358. if (a === this.Ic[b].name)
  6359. return this.ea.ky = h, this.Ic[b];
  6360. h++
  6361. }
  6362. return null
  6363. };
  6364. pb = function (a) {
  6365. return this.Sp(a) ? this.ea.ky : -1
  6366. };
  6367. tb = function (a) {
  6368. var b,
  6369. d;
  6370. b = 0;
  6371. for (d =
  6372. this.Ea.length; b < d; b++)
  6373. if (this.Ea[b].name === a)
  6374. return b;
  6375. return -1
  6376. };
  6377. ub = function () {
  6378. if (this.Je && !this.Ka) {
  6379. var a,
  6380. b,
  6381. d,
  6382. e,
  6383. f,
  6384. g,
  6385. h;
  6386. this.Ar();
  6387. g = this.Pa();
  6388. var m = g.gb,
  6389. l = (a = this.c.zd()) && a.xd && a.xd.qg;
  6390. a = 0;
  6391. for (b = this.Ee.length; a < b; a++)
  6392. if (f = this.Ee[a], f !== this && (f.Ar(), h = f.Pa(), h.gb = m, !m)) {
  6393. h.G.length = g.G.length;
  6394. d = 0;
  6395. for (e = g.G.length; d < e; d++)
  6396. h.G[d] = f.Ox(g.G[d].bk);
  6397. if (l)
  6398. for (h.tb.length = g.tb.length, d = 0, e = g.tb.length; d < e; d++)
  6399. h.tb[d] = f.Ox(g.tb[d].bk)
  6400. }
  6401. }
  6402. };
  6403. wb = function () {
  6404. return "Type" + this.Wa
  6405. };
  6406. Yb = function (a, b, d) {
  6407. if ("undefined" ===
  6408. typeof a || "undefined" === typeof d)
  6409. return !1;
  6410. switch (b) {
  6411. case 0:
  6412. return a === d;
  6413. case 1:
  6414. return a !== d;
  6415. case 2:
  6416. return a < d;
  6417. case 3:
  6418. return a <= d;
  6419. case 4:
  6420. return a > d;
  6421. case 5:
  6422. return a >= d;
  6423. default:
  6424. return !1
  6425. }
  6426. }
  6427. })();
  6428. var fc = {};
  6429. function ic(a) {
  6430. this.c = a
  6431. }
  6432. (function () {
  6433. function a(a) {
  6434. a = Math.pow(10, a / 20);
  6435. 0 > a && (a = 0);
  6436. 1 < a && (a = 1);
  6437. return a
  6438. }
  6439. function c(a) {
  6440. 0 > a && (a = 0);
  6441. 1 < a && (a = 1);
  6442. return 20 * (Math.log(a) / Math.log(10))
  6443. }
  6444. function b(a) {
  6445. a = a.toLowerCase();
  6446. return ha.hasOwnProperty(a) && ha[a].length ? ha[a][0].bf() : N.destination
  6447. }
  6448. function d() {
  6449. return N.createGain ? N.createGain() : N.createGainNode()
  6450. }
  6451. function e(a) {
  6452. return N.createDelay ? N.createDelay(a) : N.createDelayNode(a)
  6453. }
  6454. function f(a) {
  6455. a.start ? a.start(0) : a.noteOn(0)
  6456. }
  6457. function g(a, b, c) {
  6458. a.start ? a.start(0, b) : a.noteGrainOn(0, b, c - b)
  6459. }
  6460. function h(a) {
  6461. try {
  6462. a.stop ?
  6463. a.stop(0) : a.noteOff(0)
  6464. } catch (b) {}
  6465. }
  6466. function m(a, b, c, e, k, f) {
  6467. this.type = "filter";
  6468. this.Mb = [a, b, c, e, k, f];
  6469. this.bb = d();
  6470. this.Da = d();
  6471. this.Da.gain.value = f;
  6472. this.xa = d();
  6473. this.xa.gain.value = 1 - f;
  6474. this.Mc = N.createBiquadFilter();
  6475. this.Mc.type = "number" === typeof this.Mc.type ? a : ef[a];
  6476. this.Mc.frequency.value = b;
  6477. this.Mc.detune && (this.Mc.detune.value = c);
  6478. this.Mc.Q.value = e;
  6479. this.Mc.gain.value = k;
  6480. this.bb.connect(this.Mc);
  6481. this.bb.connect(this.xa);
  6482. this.Mc.connect(this.Da)
  6483. }
  6484. function l(a, b, c) {
  6485. this.type = "delay";
  6486. this.Mb = [a, b, c];
  6487. this.bb =
  6488. d();
  6489. this.Da = d();
  6490. this.Da.gain.value = c;
  6491. this.xa = d();
  6492. this.xa.gain.value = 1 - c;
  6493. this.En = d();
  6494. this.Af = e(a);
  6495. this.Af.delayTime.value = a;
  6496. this.Ep = d();
  6497. this.Ep.gain.value = b;
  6498. this.bb.connect(this.En);
  6499. this.bb.connect(this.xa);
  6500. this.En.connect(this.Da);
  6501. this.En.connect(this.Af);
  6502. this.Af.connect(this.Ep);
  6503. this.Ep.connect(this.En)
  6504. }
  6505. function n(a, b, c, e) {
  6506. this.type = "convolve";
  6507. this.Mb = [b, c, e];
  6508. this.bb = d();
  6509. this.Da = d();
  6510. this.Da.gain.value = c;
  6511. this.xa = d();
  6512. this.xa.gain.value = 1 - c;
  6513. this.Tj = N.createConvolver();
  6514. a && (this.Tj.normalize = b, this.Tj.buffer =
  6515. a);
  6516. this.bb.connect(this.Tj);
  6517. this.bb.connect(this.xa);
  6518. this.Tj.connect(this.Da)
  6519. }
  6520. function k(a, b, c, k, g) {
  6521. this.type = "flanger";
  6522. this.Mb = [a, b, c, k, g];
  6523. this.bb = d();
  6524. this.xa = d();
  6525. this.xa.gain.value = 1 - g / 2;
  6526. this.Da = d();
  6527. this.Da.gain.value = g / 2;
  6528. this.Mp = d();
  6529. this.Mp.gain.value = k;
  6530. this.Af = e(a + b);
  6531. this.Af.delayTime.value = a;
  6532. this.od = N.createOscillator();
  6533. this.od.frequency.value = c;
  6534. this.Pe = d();
  6535. this.Pe.gain.value = b;
  6536. this.bb.connect(this.Af);
  6537. this.bb.connect(this.xa);
  6538. this.Af.connect(this.Da);
  6539. this.Af.connect(this.Mp);
  6540. this.Mp.connect(this.Af);
  6541. this.od.connect(this.Pe);
  6542. this.Pe.connect(this.Af.delayTime);
  6543. f(this.od)
  6544. }
  6545. function p(a, b, c, e, k, g) {
  6546. this.type = "phaser";
  6547. this.Mb = [a, b, c, e, k, g];
  6548. this.bb = d();
  6549. this.xa = d();
  6550. this.xa.gain.value = 1 - g / 2;
  6551. this.Da = d();
  6552. this.Da.gain.value = g / 2;
  6553. this.Mc = N.createBiquadFilter();
  6554. this.Mc.type = "number" === typeof this.Mc.type ? 7 : "allpass";
  6555. this.Mc.frequency.value = a;
  6556. this.Mc.detune && (this.Mc.detune.value = b);
  6557. this.Mc.Q.value = c;
  6558. this.od = N.createOscillator();
  6559. this.od.frequency.value = k;
  6560. this.Pe = d();
  6561. this.Pe.gain.value = e;
  6562. this.bb.connect(this.Mc);
  6563. this.bb.connect(this.xa);
  6564. this.Mc.connect(this.Da);
  6565. this.od.connect(this.Pe);
  6566. this.Pe.connect(this.Mc.frequency);
  6567. f(this.od)
  6568. }
  6569. function q(a) {
  6570. this.type = "gain";
  6571. this.Mb = [a];
  6572. this.lb = d();
  6573. this.lb.gain.value = a
  6574. }
  6575. function r(a, b) {
  6576. this.type = "tremolo";
  6577. this.Mb = [a, b];
  6578. this.lb = d();
  6579. this.lb.gain.value = 1 - b / 2;
  6580. this.od = N.createOscillator();
  6581. this.od.frequency.value = a;
  6582. this.Pe = d();
  6583. this.Pe.gain.value = b / 2;
  6584. this.od.connect(this.Pe);
  6585. this.Pe.connect(this.lb.gain);
  6586. f(this.od)
  6587. }
  6588. function v(a, b) {
  6589. this.type = "ringmod";
  6590. this.Mb = [a, b];
  6591. this.bb = d();
  6592. this.Da = d();
  6593. this.Da.gain.value = b;
  6594. this.xa = d();
  6595. this.xa.gain.value = 1 - b;
  6596. this.Yn = d();
  6597. this.Yn.gain.value = 0;
  6598. this.od = N.createOscillator();
  6599. this.od.frequency.value = a;
  6600. this.od.connect(this.Yn.gain);
  6601. f(this.od);
  6602. this.bb.connect(this.Yn);
  6603. this.bb.connect(this.xa);
  6604. this.Yn.connect(this.Da)
  6605. }
  6606. function u(a, b, c, e, k) {
  6607. this.type = "distortion";
  6608. this.Mb = [a, b, c, e, k];
  6609. this.bb = d();
  6610. this.Sq = d();
  6611. this.Rq = d();
  6612. this.pF(c, Math.pow(10, e / 20));
  6613. this.Da = d();
  6614. this.Da.gain.value = k;
  6615. this.xa = d();
  6616. this.xa.gain.value = 1 - k;
  6617. this.Br = N.createWaveShaper();
  6618. this.Bp =
  6619. new Float32Array(65536);
  6620. this.kD(a, b);
  6621. this.Br.Bp = this.Bp;
  6622. this.bb.connect(this.Sq);
  6623. this.bb.connect(this.xa);
  6624. this.Sq.connect(this.Br);
  6625. this.Br.connect(this.Rq);
  6626. this.Rq.connect(this.Da)
  6627. }
  6628. function y(a, b, c, d, e) {
  6629. this.type = "compressor";
  6630. this.Mb = [a, b, c, d, e];
  6631. this.lb = N.createDynamicsCompressor();
  6632. try {
  6633. this.lb.threshold.value = a,
  6634. this.lb.knee.value = b,
  6635. this.lb.ratio.value = c,
  6636. this.lb.attack.value = d,
  6637. this.lb.release.value = e
  6638. } catch (k) {}
  6639. }
  6640. function F(a, b) {
  6641. this.type = "analyser";
  6642. this.Mb = [a, b];
  6643. this.lb = N.createAnalyser();
  6644. this.lb.fftSize =
  6645. a;
  6646. this.lb.smoothingTimeConstant = b;
  6647. this.iD = new Float32Array(this.lb.frequencyBinCount);
  6648. this.Gz = new Uint8Array(a);
  6649. this.Qn = 0
  6650. }
  6651. function H() {
  6652. this.Sa = null;
  6653. this.yq = 0;
  6654. this.rj = [];
  6655. this.wu = this.qq = this.pq = 0
  6656. }
  6657. function J(a, b) {
  6658. this.src = a;
  6659. this.Bb = Y;
  6660. this.ig = b;
  6661. this.Nw = !1;
  6662. var c = this;
  6663. this.uu = this.Hu = null;
  6664. this.Ll = [];
  6665. this.dr = 0;
  6666. this.Jz = this.Mq = !1;
  6667. Y === K && b && (this.Bb = S, this.Hu = d());
  6668. this.Zo = this.hc = null;
  6669. var e;
  6670. switch (this.Bb) {
  6671. case S:
  6672. this.hc = new Audio;
  6673. Y !== K || !N.createMediaElementSource || t.ey || /wiiu/i.test(navigator.userAgent) ||
  6674. (this.Jz = !0, this.hc.addEventListener("canplay", function () {
  6675. c.uu || (c.uu = N.createMediaElementSource(c.hc), c.uu.connect(c.Hu))
  6676. }));
  6677. this.hc.autoplay = !1;
  6678. this.hc.jH = "auto";
  6679. this.hc.src = a;
  6680. break;
  6681. case K:
  6682. e = new XMLHttpRequest;
  6683. e.open("GET", a, !0);
  6684. e.responseType = "arraybuffer";
  6685. e.onload = function () {
  6686. c.Zo = e.response;
  6687. c.fC()
  6688. };
  6689. e.send();
  6690. break;
  6691. case M:
  6692. this.hc = !0;
  6693. break;
  6694. case Z:
  6695. this.hc = !0
  6696. }
  6697. }
  6698. function A(a, c) {
  6699. var e = this;
  6700. this.sj = c;
  6701. this.je = this.Qi = !0;
  6702. this.src = a.src;
  6703. this.buffer = a;
  6704. this.Bb = Y;
  6705. this.ig = a.ig;
  6706. this.playbackRate = 1;
  6707. this.Ju = !0;
  6708. this.Kh = this.fi = !1;
  6709. this.ug = 0;
  6710. this.dn = this.kl = this.Ph = !1;
  6711. this.Gn = this.volume = 1;
  6712. this.startTime = t.Ke.Cb;
  6713. this.Cc = this.hd = null;
  6714. this.$g = !1;
  6715. this.Bc = null;
  6716. this.$y = this.Zy = this.Yy = this.Xy = this.bz = this.az = 0;
  6717. this.aa = null;
  6718. var k = !1;
  6719. this.Bb !== K || this.buffer.Bb !== S || this.buffer.Jz || (this.Bb = S);
  6720. switch (this.Bb) {
  6721. case S:
  6722. this.ig ? (this.aa = a.hc, k = !a.Nw, a.Nw = !0) : (this.aa = new Audio, this.aa.autoplay = !1, this.aa.src = a.hc.src, k = !0);
  6723. k && this.aa.addEventListener("ended", function () {
  6724. Q = e.sj;
  6725. e.je = !0;
  6726. t.trigger(ic.prototype.B.as, G)
  6727. });
  6728. break;
  6729. case K:
  6730. this.hd = d();
  6731. this.hd.connect(b(c));
  6732. this.buffer.Bb === K ? a.hc && (this.aa = N.createBufferSource(), this.aa.buffer = a.hc, this.aa.connect(this.hd)) : (this.aa = this.buffer.hc, this.buffer.Hu.connect(this.hd));
  6733. break;
  6734. case M:
  6735. this.aa = new window.Media(T + this.src, null, null, function (a) {
  6736. a === window.Media.MEDIA_STOPPED && (e.Ju = !0, e.je = !0, Q = e.sj, t.trigger(ic.prototype.B.as, G))
  6737. });
  6738. break;
  6739. case Z:
  6740. this.aa = !0
  6741. }
  6742. }
  6743. function C(a) {
  6744. Ta.length = 0;
  6745. if (a.length) {
  6746. var b,
  6747. c,
  6748. d;
  6749. b = 0;
  6750. for (c = ba.length; b < c; b++)
  6751. d = ba[b], cb(a, d.sj) && Ta.push(d)
  6752. } else
  6753. qb &&
  6754. !qb.Wm() && (Ta.length = 1, Ta[0] = qb)
  6755. }
  6756. function I(a, b) {
  6757. ha.hasOwnProperty(a) ? ha[a].push(b) : ha[a] = [b];
  6758. var c,
  6759. d,
  6760. e,
  6761. k,
  6762. f = N.destination;
  6763. if (ha.hasOwnProperty(a) && (e = ha[a], e.length))
  6764. for (f = e[0].bf(), c = 0, d = e.length; c < d; c++)
  6765. k = e[c], c + 1 === d ? k.xf(N.destination) : k.xf(e[c + 1].bf());
  6766. C(a);
  6767. c = 0;
  6768. for (d = Ta.length; c < d; c++)
  6769. Ta[c].fF(f);
  6770. jb && Vc === a && (jb.disconnect(), jb.connect(f))
  6771. }
  6772. function D() {}
  6773. function P() {}
  6774. var L = ic.prototype;
  6775. L.rb = function (a) {
  6776. this.ec = a;
  6777. this.c = a.c
  6778. };
  6779. L.rb.prototype.Ca = s();
  6780. var t = null,
  6781. G = null,
  6782. Q = "",
  6783. T = "",
  6784. S = 0,
  6785. K = 1,
  6786. M = 2,
  6787. Z = 3,
  6788. Y =
  6789. S,
  6790. N = null,
  6791. ga = [],
  6792. ba = [],
  6793. qb = null,
  6794. nc = !1,
  6795. oc = 0,
  6796. Za = !1,
  6797. Ua = 1,
  6798. rb = 0,
  6799. sb = 0,
  6800. Wc = 1,
  6801. Xc = 1,
  6802. te = 10,
  6803. ue = 1E4,
  6804. ve = 1,
  6805. jb = null,
  6806. Vc = "",
  6807. Kb = !1,
  6808. Lb = [],
  6809. ha = {},
  6810. ef = "lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");
  6811. m.prototype.xf = function (a) {
  6812. this.Da.disconnect();
  6813. this.Da.connect(a);
  6814. this.xa.disconnect();
  6815. this.xa.connect(a)
  6816. };
  6817. m.prototype.remove = function () {
  6818. this.bb.disconnect();
  6819. this.Mc.disconnect();
  6820. this.Da.disconnect();
  6821. this.xa.disconnect()
  6822. };
  6823. m.prototype.bf = w("bb");
  6824. l.prototype.xf = function (a) {
  6825. this.Da.disconnect();
  6826. this.Da.connect(a);
  6827. this.xa.disconnect();
  6828. this.xa.connect(a)
  6829. };
  6830. l.prototype.remove = function () {
  6831. this.bb.disconnect();
  6832. this.En.disconnect();
  6833. this.Af.disconnect();
  6834. this.Ep.disconnect();
  6835. this.Da.disconnect();
  6836. this.xa.disconnect()
  6837. };
  6838. l.prototype.bf = w("bb");
  6839. n.prototype.xf = function (a) {
  6840. this.Da.disconnect();
  6841. this.Da.connect(a);
  6842. this.xa.disconnect();
  6843. this.xa.connect(a)
  6844. };
  6845. n.prototype.remove = function () {
  6846. this.bb.disconnect();
  6847. this.Tj.disconnect();
  6848. this.Da.disconnect();
  6849. this.xa.disconnect()
  6850. };
  6851. n.prototype.bf = w("bb");
  6852. k.prototype.xf = function (a) {
  6853. this.xa.disconnect();
  6854. this.xa.connect(a);
  6855. this.Da.disconnect();
  6856. this.Da.connect(a)
  6857. };
  6858. k.prototype.remove = function () {
  6859. this.bb.disconnect();
  6860. this.Af.disconnect();
  6861. this.od.disconnect();
  6862. this.Pe.disconnect();
  6863. this.xa.disconnect();
  6864. this.Da.disconnect();
  6865. this.Mp.disconnect()
  6866. };
  6867. k.prototype.bf = w("bb");
  6868. p.prototype.xf = function (a) {
  6869. this.xa.disconnect();
  6870. this.xa.connect(a);
  6871. this.Da.disconnect();
  6872. this.Da.connect(a)
  6873. };
  6874. p.prototype.remove = function () {
  6875. this.bb.disconnect();
  6876. this.Mc.disconnect();
  6877. this.od.disconnect();
  6878. this.Pe.disconnect();
  6879. this.xa.disconnect();
  6880. this.Da.disconnect()
  6881. };
  6882. p.prototype.bf = w("bb");
  6883. q.prototype.xf = function (a) {
  6884. this.lb.disconnect();
  6885. this.lb.connect(a)
  6886. };
  6887. q.prototype.remove = function () {
  6888. this.lb.disconnect()
  6889. };
  6890. q.prototype.bf = w("lb");
  6891. r.prototype.xf = function (a) {
  6892. this.lb.disconnect();
  6893. this.lb.connect(a)
  6894. };
  6895. r.prototype.remove = function () {
  6896. this.od.disconnect();
  6897. this.Pe.disconnect();
  6898. this.lb.disconnect()
  6899. };
  6900. r.prototype.bf = w("lb");
  6901. v.prototype.xf = function (a) {
  6902. this.Da.disconnect();
  6903. this.Da.connect(a);
  6904. this.xa.disconnect();
  6905. this.xa.connect(a)
  6906. };
  6907. v.prototype.remove = function () {
  6908. this.od.disconnect();
  6909. this.Yn.disconnect();
  6910. this.bb.disconnect();
  6911. this.Da.disconnect();
  6912. this.xa.disconnect()
  6913. };
  6914. v.prototype.bf = w("bb");
  6915. u.prototype.pF = function (a, b) {
  6916. 0.01 > a && (a = 0.01);
  6917. this.Sq.gain.value = a;
  6918. this.Rq.gain.value = Math.pow(1 / a, 0.6) * b
  6919. };
  6920. u.prototype.shape = function (a, b, c) {
  6921. var d = 1.05 * c * b - b;
  6922. c = 0 > a ? -1 : 1;
  6923. a = 0 > a ? -a : a;
  6924. b = a < b ? a : b + d * (1 - Math.exp( - (1 / d) * (a - b)));
  6925. return b * c
  6926. };
  6927. u.prototype.kD = function (a, b) {
  6928. for (var c = Math.pow(10, a / 20), d = Math.pow(10, b / 20), e = 0, k = 0; 32768 > k; ++k)
  6929. e = k / 32768, e = this.shape(e, c, d), this.Bp[32768 + k] = e, this.Bp[32768 - k -
  6930. 1] = -e
  6931. };
  6932. u.prototype.xf = function (a) {
  6933. this.Da.disconnect();
  6934. this.Da.connect(a);
  6935. this.xa.disconnect();
  6936. this.xa.connect(a)
  6937. };
  6938. u.prototype.remove = function () {
  6939. this.bb.disconnect();
  6940. this.Sq.disconnect();
  6941. this.Br.disconnect();
  6942. this.Rq.disconnect();
  6943. this.Da.disconnect();
  6944. this.xa.disconnect()
  6945. };
  6946. u.prototype.bf = w("bb");
  6947. y.prototype.xf = function (a) {
  6948. this.lb.disconnect();
  6949. this.lb.connect(a)
  6950. };
  6951. y.prototype.remove = function () {
  6952. this.lb.disconnect()
  6953. };
  6954. y.prototype.bf = w("lb");
  6955. F.prototype.tc = function () {
  6956. this.lb.getFloatFrequencyData(this.iD);
  6957. this.lb.getByteTimeDomainData(this.Gz);
  6958. for (var a = this.lb.fftSize, b = 0, d = this.Qn = 0, e = 0; b < a; b++)
  6959. e = (this.Gz[b] - 128) / 128, 0 > e && (e = -e), this.Qn < e && (this.Qn = e), d += e * e;
  6960. this.Qn = c(this.Qn);
  6961. c(Math.sqrt(d / a))
  6962. };
  6963. F.prototype.xf = function (a) {
  6964. this.lb.disconnect();
  6965. this.lb.connect(a)
  6966. };
  6967. F.prototype.remove = function () {
  6968. this.lb.disconnect()
  6969. };
  6970. F.prototype.bf = w("lb");
  6971. H.prototype.Zn = function (a) {
  6972. if (this.Sa = a)
  6973. this.pq = this.Sa.x, this.qq = this.Sa.y;
  6974. this.rj.length = 0
  6975. };
  6976. H.prototype.bq = function () {
  6977. return !!this.Sa
  6978. };
  6979. H.prototype.tc = function (a) {
  6980. this.Sa &&
  6981. 0 !== a && (this.wu = Ia(this.pq, this.qq, this.Sa.x, this.Sa.y), a = Na(this.pq, this.qq, this.Sa.x, this.Sa.y) / a, 4 > this.rj.length || this.rj.shift(), this.rj.push(a), this.pq = this.Sa.x, this.qq = this.Sa.y)
  6982. };
  6983. H.prototype.kt = function () {
  6984. if (!this.rj.length)
  6985. return 0;
  6986. var a,
  6987. b,
  6988. c = 0;
  6989. a = 0;
  6990. for (b = this.rj.length; a < b; a++)
  6991. c += this.rj[a];
  6992. return c / this.rj.length
  6993. };
  6994. H.prototype.lt = function () {
  6995. return Math.cos(this.wu) * this.kt()
  6996. };
  6997. H.prototype.mt = function () {
  6998. return Math.sin(this.wu) * this.kt()
  6999. };
  7000. var we = !1;
  7001. J.prototype.fC = function () {
  7002. if (!this.hc && this.Zo) {
  7003. var a =
  7004. this;
  7005. if (N.decodeAudioData)
  7006. N.decodeAudioData(this.Zo, function (b) {
  7007. a.hc = b;
  7008. var c,
  7009. d,
  7010. e;
  7011. if (ia(a.Oq) || Za)
  7012. ia(a.wp) || (c = a.wp.Tj, c.normalize = a.My, c.buffer = b);
  7013. else if (a.Ll.length) {
  7014. c = 0;
  7015. for (d = a.Ll.length; c < d; c++) {
  7016. b = a.Ll[c];
  7017. e = new A(a, b.Pz);
  7018. e.jv(!0);
  7019. if ("undefined" !== typeof b.Oy && (b.Sa = t.Ri(b.Oy), !b.Sa))
  7020. continue;
  7021. if (b.Sa) {
  7022. var k = Ma(b.Sa.x, b.Sa.y, -b.Sa.T.Nc(), rb, sb, !0),
  7023. f = Ma(b.Sa.x, b.Sa.y, -b.Sa.T.Nc(), rb, sb, !1);
  7024. e.hv(k, f, Da(b.Sa.L - b.Sa.T.Nc()), b.qt, b.yu, b.Bu);
  7025. e.Zn(b.Sa)
  7026. } else
  7027. e.hv(b.x, b.y, b.O, b.qt, b.yu, b.Bu);
  7028. e.play(a.Yt,
  7029. a.Hv, a.dr);
  7030. a.Mq && e.pause();
  7031. ba.push(e)
  7032. }
  7033. a.Ll.length = 0
  7034. } else
  7035. e = new A(a, a.Oq), e.play(a.Yt, a.Hv, a.dr), a.Mq && e.pause(), ba.push(e)
  7036. });
  7037. else if (this.hc = N.createBuffer(this.Zo, !1), ia(this.Oq) || Za)
  7038. ia(this.wp) || (b = this.wp.Tj, b.normalize = this.My, b.buffer = this.hc);
  7039. else {
  7040. var b = new A(this, this.Oq);
  7041. b.play(this.Yt, this.Hv, this.dr);
  7042. this.Mq && b.pause();
  7043. ba.push(b)
  7044. }
  7045. }
  7046. };
  7047. A.prototype.Wm = function () {
  7048. switch (this.Bb) {
  7049. case S:
  7050. return this.aa.ended;
  7051. case K:
  7052. return this.buffer.Bb === K ? !this.Qi && !this.je && this.aa.loop || this.Kh ? !1 : t.Ke.Cb -
  7053. this.startTime > this.buffer.hc.duration : this.aa.ended;
  7054. case M:
  7055. return this.Ju;
  7056. case Z:
  7057. !0
  7058. }
  7059. return !0
  7060. };
  7061. A.prototype.XB = function () {
  7062. return this.Qi || this.je ? !0 : this.Wm()
  7063. };
  7064. A.prototype.jv = function (a) {
  7065. Y === K && (!this.$g && a ? this.hd && (this.Cc || (this.Cc = N.createPanner(), this.Cc.panningModel = "number" === typeof this.Cc.panningModel ? Wc : ["equalpower", "HRTF", "soundfield"][Wc], this.Cc.distanceModel = "number" === typeof this.Cc.distanceModel ? Xc : ["linear", "inverse", "exponential"][Xc], this.Cc.refDistance = te, this.Cc.maxDistance = ue,
  7066. this.Cc.rolloffFactor = ve), this.hd.disconnect(), this.hd.connect(this.Cc), this.Cc.connect(b(this.sj)), this.$g = !0) : this.$g && !a && this.hd && (this.Cc.disconnect(), this.hd.disconnect(), this.hd.connect(b(this.sj)), this.$g = !1))
  7067. };
  7068. A.prototype.hv = function (a, b, c, d, e, k) {
  7069. this.$g && Y === K && (this.Cc.setPosition(a, b, 0), this.Cc.setOrientation(Math.cos(Ca(c)), Math.sin(Ca(c)), 0), this.Cc.coneInnerAngle = d, this.Cc.coneOuterAngle = e, this.Cc.coneOuterGain = k, this.az = a, this.bz = b, this.Xy = c, this.Yy = d, this.Zy = e, this.$y = k)
  7070. };
  7071. A.prototype.Zn =
  7072. function (a) {
  7073. this.$g && Y === K && (this.Bc || (this.Bc = new H), this.Bc.Zn(a))
  7074. };
  7075. A.prototype.tc = function (a) {
  7076. if (this.$g && Y === K && this.Bc && this.Bc.bq() && this.ek()) {
  7077. this.Bc.tc(a);
  7078. a = this.Bc.Sa;
  7079. var b = Ma(a.x, a.y, -a.T.Nc(), rb, sb, !0),
  7080. c = Ma(a.x, a.y, -a.T.Nc(), rb, sb, !1);
  7081. this.Cc.setPosition(b, c, 0);
  7082. b = 0;
  7083. "undefined" !== typeof this.Bc.Sa.L && (b = a.L - a.T.Nc(), this.Cc.setOrientation(Math.cos(b), Math.sin(b), 0));
  7084. b = Ma(this.Bc.lt(), this.Bc.mt(), -a.T.Nc(), 0, 0, !0);
  7085. c = Ma(this.Bc.lt(), this.Bc.mt(), -a.T.Nc(), 0, 0, !1);
  7086. this.Cc.setVelocity(b, c,
  7087. 0)
  7088. }
  7089. };
  7090. A.prototype.play = function (a, b, c) {
  7091. var d = this.aa;
  7092. this.Ph = a;
  7093. this.volume = b;
  7094. c = c || 0;
  7095. switch (this.Bb) {
  7096. case S:
  7097. 1 !== d.playbackRate && (d.playbackRate = 1);
  7098. d.volume !== b * Ua && (d.volume = b * Ua);
  7099. d.loop !== a && (d.loop = a);
  7100. d.muted && (d.muted = !1);
  7101. if (d.currentTime !== c)
  7102. try {
  7103. d.currentTime = c
  7104. } catch (e) {}
  7105. if (this.ig && Kb && !t.Qg)
  7106. Lb.push(this);
  7107. else
  7108. try {
  7109. this.aa.play()
  7110. } catch (k) {}
  7111. break;
  7112. case K:
  7113. this.muted = !1;
  7114. this.Gn = 1;
  7115. if (this.buffer.Bb === K)
  7116. this.Qi || (this.aa = N.createBufferSource(), this.aa.buffer = this.buffer.hc, this.aa.connect(this.hd)), this.aa.loop =
  7117. a, this.hd.gain.value = b * Ua, 0 === c ? f(this.aa) : g(this.aa, c, this.fl());
  7118. else {
  7119. 1 !== d.playbackRate && (d.playbackRate = 1);
  7120. d.loop !== a && (d.loop = a);
  7121. this.hd.gain.value = b * Ua;
  7122. if (d.currentTime !== c)
  7123. try {
  7124. d.currentTime = c
  7125. } catch (h) {}
  7126. this.ig && Kb && !t.Qg ? Lb.push(this) : d.play()
  7127. }
  7128. break;
  7129. case M:
  7130. (!this.Qi && this.je || 0 !== c) && d.seekTo(c);
  7131. d.play();
  7132. this.Ju = !1;
  7133. break;
  7134. case Z:
  7135. t.$d ? AppMobi.context.playSound(this.src, a) : AppMobi.player.playSound(this.src, a)
  7136. }
  7137. this.playbackRate = 1;
  7138. this.startTime = t.Ke.Cb - c;
  7139. this.Kh = this.je = this.Qi = !1
  7140. };
  7141. A.prototype.stop =
  7142. function () {
  7143. switch (this.Bb) {
  7144. case S:
  7145. this.aa.paused || this.aa.pause();
  7146. break;
  7147. case K:
  7148. this.buffer.Bb === K ? h(this.aa) : this.aa.paused || this.aa.pause();
  7149. break;
  7150. case M:
  7151. this.aa.stop();
  7152. break;
  7153. case Z:
  7154. t.$d && AppMobi.context.stopSound(this.src)
  7155. }
  7156. this.je = !0;
  7157. this.Kh = !1
  7158. };
  7159. A.prototype.pause = function () {
  7160. if (!(this.Qi || this.je || this.Wm() || this.Kh)) {
  7161. switch (this.Bb) {
  7162. case S:
  7163. this.aa.paused || this.aa.pause();
  7164. break;
  7165. case K:
  7166. this.buffer.Bb === K ? (this.ug = this.it(), this.Ph && (this.ug %= this.fl()), h(this.aa)) : this.aa.paused || this.aa.pause();
  7167. break;
  7168. case M:
  7169. this.aa.pause();
  7170. break;
  7171. case Z:
  7172. t.$d && AppMobi.context.stopSound(this.src)
  7173. }
  7174. this.Kh = !0
  7175. }
  7176. };
  7177. A.prototype.fF = function (a) {
  7178. this.Bb === K && (this.$g ? (this.Cc.disconnect(), this.Cc.connect(a)) : (this.hd.disconnect(), this.hd.connect(a)))
  7179. };
  7180. A.prototype.fl = function () {
  7181. switch (this.Bb) {
  7182. case S:
  7183. if ("undefined" !== typeof this.aa.duration)
  7184. return this.aa.duration;
  7185. break;
  7186. case K:
  7187. return this.buffer.hc.duration;
  7188. case M:
  7189. return this.aa.getDuration();
  7190. case Z:
  7191. if (t.$d)
  7192. return AppMobi.context.getDurationSound(this.src)
  7193. }
  7194. return 0
  7195. };
  7196. A.prototype.it =
  7197. function () {
  7198. var a = this.fl(),
  7199. b = 0;
  7200. switch (this.Bb) {
  7201. case S:
  7202. "undefined" !== typeof this.aa.currentTime && (b = this.aa.currentTime);
  7203. break;
  7204. case K:
  7205. if (this.buffer.Bb === K) {
  7206. if (this.Kh)
  7207. return this.ug;
  7208. b = t.Ke.Cb - this.startTime
  7209. } else
  7210. "undefined" !== typeof this.aa.currentTime && (b = this.aa.currentTime);
  7211. break;
  7212. case Z:
  7213. t.$d && (b = AppMobi.context.getPlaybackTimeSound(this.src))
  7214. }
  7215. !this.Ph && b > a && (b = a);
  7216. return b
  7217. };
  7218. A.prototype.ek = function () {
  7219. return !this.Kh && !this.Qi && !this.je && !this.Wm()
  7220. };
  7221. A.prototype.aA = function () {
  7222. var a = this.volume * Ua;
  7223. switch (this.Bb) {
  7224. case S:
  7225. this.aa.volume &&
  7226. this.aa.volume !== a && (this.aa.volume = a);
  7227. break;
  7228. case K:
  7229. this.hd.gain.value = a * this.Gn
  7230. }
  7231. };
  7232. A.prototype.Hp = function (a) {
  7233. switch (this.Bb) {
  7234. case S:
  7235. this.aa.muted !== !!a && (this.aa.muted = !!a);
  7236. break;
  7237. case K:
  7238. this.Gn = a ? 0 : 1,
  7239. this.hd.gain.value = Ua * this.volume * this.Gn
  7240. }
  7241. };
  7242. A.prototype.rF = function () {
  7243. this.kl = !0;
  7244. this.Hp(this.kl || this.dn)
  7245. };
  7246. A.prototype.zz = function (a) {
  7247. this.dn = !!a;
  7248. this.Hp(this.kl || this.dn)
  7249. };
  7250. A.prototype.$z = function () {
  7251. var a = this.playbackRate;
  7252. if (1 === oc && !this.ig || 2 === oc)
  7253. a *= t.ji;
  7254. switch (this.Bb) {
  7255. case S:
  7256. this.aa.playbackRate !==
  7257. a && (this.aa.playbackRate = a);
  7258. break;
  7259. case K:
  7260. this.buffer.Bb === K ? this.aa.playbackRate.value !== a && (this.aa.playbackRate.value = a) : this.aa.playbackRate !== a && (this.aa.playbackRate = a)
  7261. }
  7262. };
  7263. A.prototype.sF = function (a) {
  7264. switch (this.Bb) {
  7265. case S:
  7266. a ? this.ek() ? (this.aa.pause(), this.fi = !0) : this.fi = !1 : this.fi && this.aa.play();
  7267. break;
  7268. case K:
  7269. a ? this.ek() ? (this.buffer.Bb === K ? (this.ug = this.it(), this.Ph && (this.ug %= this.fl()), h(this.aa)) : this.aa.pause(), this.fi = !0) : this.fi = !1 : this.fi && (this.buffer.Bb === K ? (this.aa = N.createBufferSource(),
  7270. this.aa.buffer = this.buffer.hc, this.aa.connect(this.hd), this.aa.loop = this.Ph, this.hd.gain.value = Ua * this.volume * this.Gn, this.startTime = t.Ke.Cb - this.ug, g(this.aa, this.ug, this.fl())) : this.aa.play());
  7271. break;
  7272. case M:
  7273. a ? this.ek() ? (this.aa.pause(), this.fi = !0) : this.fi = !1 : this.fi && this.aa.play()
  7274. }
  7275. };
  7276. L.Za = function (a) {
  7277. this.type = a;
  7278. t = this.c = a.c;
  7279. G = this;
  7280. this.be = null;
  7281. this.mn = -600;
  7282. !(this.c.mq || this.c.hq && (this.c.$m || this.c.cy)) || this.c.iq || this.c.jd || (Kb = !0);
  7283. N = null;
  7284. "undefined" !== typeof AudioContext ? (Y = K, N = new AudioContext) :
  7285. "undefined" !== typeof webkitAudioContext && (Y = K, N = new webkitAudioContext);
  7286. (this.c.mq && Y === K || Kb) && document.addEventListener("touchstart", function () {
  7287. var a,
  7288. b,
  7289. c;
  7290. !we && N && (a = N.createBuffer(1, 1, 22050), b = N.createBufferSource(), b.buffer = a, b.connect(N.destination), f(b), we = !0);
  7291. if (Kb) {
  7292. if (!Za)
  7293. for (a = 0, b = Lb.length; a < b; ++a)
  7294. c = Lb[a], c.je || c.Kh || c.aa.play();
  7295. Lb.length = 0
  7296. }
  7297. }, !0);
  7298. Y !== K && (this.c.hg ? Y = M : this.c.il && (Y = Z));
  7299. Y === M && (T = location.href, a = T.lastIndexOf("/"), -1 < a && (T = T.substr(0, a + 1)), T = T.replace("file://", ""));
  7300. if (this.c.fy &&
  7301. this.c.$D && "undefined" === typeof Audio)
  7302. alert("It looks like you're using Safari for Windows without Quicktime. Audio cannot be played until Quicktime is installed."), this.c.pi(this);
  7303. else {
  7304. if (this.c.$d)
  7305. nc = this.c.hq;
  7306. else
  7307. try {
  7308. nc = !!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')
  7309. } catch (b) {
  7310. nc = !1
  7311. }
  7312. this.c.rr(this)
  7313. }
  7314. };
  7315. var $a = L.Za.prototype;
  7316. $a.Ca = function () {
  7317. oc = this.$[0];
  7318. this.gi = this.$[1];
  7319. Wc = this.$[2];
  7320. Xc = this.$[3];
  7321. this.mn = -this.$[4];
  7322. te = this.$[5];
  7323. ue = this.$[6];
  7324. ve = this.$[7];
  7325. this.be = new H;
  7326. Y === K && (N.listener.speedOfSound =
  7327. this.$[8], N.listener.dopplerFactor = this.$[9], N.listener.setPosition(this.c.Va / 2, this.c.Ua / 2, this.mn), N.listener.setOrientation(0, 0, 1, 0, -1, 0), window.c2OnAudioMicStream = function (a, c) {
  7328. jb && jb.disconnect();
  7329. Vc = c.toLowerCase();
  7330. jb = N.createMediaStreamSource(a);
  7331. jb.connect(b(Vc))
  7332. });
  7333. this.c.Mw(function (a) {
  7334. G.SE(a)
  7335. });
  7336. var a = this;
  7337. this.c.Wo(function (b) {
  7338. a.Mn(b)
  7339. })
  7340. };
  7341. $a.Mn = function (a) {
  7342. var b,
  7343. c,
  7344. d;
  7345. b = 0;
  7346. for (c = ba.length; b < c; b++)
  7347. d = ba[b], d.Bc && d.Bc.Sa === a && (d.Bc.Sa = null, d.$g && d.ek() && d.Ph && d.stop());
  7348. this.be.Sa === a && (this.be.Sa =
  7349. null)
  7350. };
  7351. $a.Zc = function () {
  7352. var a = {
  7353. silent : Za,
  7354. masterVolume : Ua,
  7355. listenerZ : this.mn,
  7356. listenerUid : this.be.bq() ? this.be.Sa.uid : -1,
  7357. playing : [],
  7358. effects : {}
  7359. },
  7360. b = a.playing,
  7361. c,
  7362. d,
  7363. e,
  7364. k,
  7365. f,
  7366. g;
  7367. c = 0;
  7368. for (d = ba.length; c < d; c++)
  7369. e = ba[c], !e.ek() || 3 === this.gi || e.ig && 1 === this.gi || !e.ig && 2 === this.gi || (k = e.it(), e.Ph && (k %= e.fl()), k = {
  7370. tag : e.sj,
  7371. buffersrc : e.buffer.src,
  7372. is_music : e.ig,
  7373. playbackTime : k,
  7374. volume : e.volume,
  7375. looping : e.Ph,
  7376. muted : e.kl,
  7377. playbackRate : e.playbackRate,
  7378. paused : e.Kh,
  7379. resume_position : e.ug
  7380. }, e.$g && (k.pan = {}, g = k.pan, e.Bc && e.Bc.bq() ? g.objUid =
  7381. e.Bc.Sa.uid : (g.x = e.az, g.y = e.bz, g.a = e.Xy), g.ia = e.Yy, g.oa = e.Zy, g.og = e.$y), b.push(k));
  7382. b = a.effects;
  7383. for (f in ha)
  7384. if (ha.hasOwnProperty(f)) {
  7385. e = [];
  7386. c = 0;
  7387. for (d = ha[f].length; c < d; c++)
  7388. e.push({
  7389. type : ha[f][c].type,
  7390. params : ha[f][c].Mb
  7391. });
  7392. b[f] = e
  7393. }
  7394. return a
  7395. };
  7396. var Mb = [];
  7397. $a.Ad = function (a) {
  7398. var b = a.silent;
  7399. Ua = a.masterVolume;
  7400. this.mn = a.listenerZ;
  7401. this.be.Zn(null);
  7402. var c = a.listenerUid;
  7403. -1 !== c && (this.be.yq = c, Mb.push(this.be));
  7404. var c = a.playing,
  7405. d,
  7406. e,
  7407. f,
  7408. g,
  7409. h,
  7410. J,
  7411. t,
  7412. C,
  7413. A,
  7414. D,
  7415. G;
  7416. if (3 !== this.gi)
  7417. for (d = 0, e = ba.length; d < e; d++)
  7418. A = ba[d], A.ig && 1 === this.gi || (A.ig ||
  7419. 2 !== this.gi) && A.stop();
  7420. for (h in ha)
  7421. if (ha.hasOwnProperty(h))
  7422. for (d = 0, e = ha[h].length; d < e; d++)
  7423. ha[h][d].remove();
  7424. Qa(ha);
  7425. for (h in a.effects)
  7426. if (a.effects.hasOwnProperty(h))
  7427. for (J = a.effects[h], d = 0, e = J.length; d < e; d++)
  7428. switch (f = J[d].type, D = J[d].params, f) {
  7429. case "filter":
  7430. I(h, new m(D[0], D[1], D[2], D[3], D[4], D[5]));
  7431. break;
  7432. case "delay":
  7433. I(h, new l(D[0], D[1], D[2]));
  7434. break;
  7435. case "convolve":
  7436. f = D[2];
  7437. A = this.ct(f, !1);
  7438. A.hc ? f = new n(A.hc, D[0], D[1], f) : (f = new n(null, D[0], D[1], f), A.My = D[0], A.wp = f);
  7439. I(h, f);
  7440. break;
  7441. case "flanger":
  7442. I(h, new k(D[0],
  7443. D[1], D[2], D[3], D[4]));
  7444. break;
  7445. case "phaser":
  7446. I(h, new p(D[0], D[1], D[2], D[3], D[4], D[5]));
  7447. break;
  7448. case "gain":
  7449. I(h, new q(D[0]));
  7450. break;
  7451. case "tremolo":
  7452. I(h, new r(D[0], D[1]));
  7453. break;
  7454. case "ringmod":
  7455. I(h, new v(D[0], D[1]));
  7456. break;
  7457. case "distortion":
  7458. I(h, new u(D[0], D[1], D[2], D[3], D[4]));
  7459. break;
  7460. case "compressor":
  7461. I(h, new y(D[0], D[1], D[2], D[3], D[4]));
  7462. break;
  7463. case "analyser":
  7464. I(h, new F(D[0], D[1]))
  7465. }
  7466. d = 0;
  7467. for (e = c.length; d < e; d++)
  7468. 3 === this.gi || (a = c[d], f = a.buffersrc, g = a.is_music, h = a.tag, J = a.playbackTime, t = a.looping, C = a.volume, G = (D = a.pan) &&
  7469. D.hasOwnProperty("objUid") ? D.objUid : -1, g && 1 === this.gi) || !g && 2 === this.gi || ((A = this.Jx(f, h, g, t, C)) ? (A.ug = a.resume_position, A.jv(!!D), A.play(t, C, J), A.$z(), A.aA(), A.Hp(A.kl || A.dn), a.paused && A.pause(), a.muted && A.rF(), A.Hp(A.kl || A.dn), D && (-1 !== G ? (A.Bc = A.Bc || new H, A.Bc.yq = G, Mb.push(A.Bc)) : A.hv(D.x, D.y, D.a, D.ia, D.oa, D.og))) : (A = this.ct(f, g), A.dr = J, A.Mq = a.paused, D && (-1 !== G ? A.Ll.push({
  7470. Oy : G,
  7471. qt : D.ia,
  7472. yu : D.oa,
  7473. Bu : D.og,
  7474. Pz : h
  7475. }) : A.Ll.push({
  7476. x : D.x,
  7477. y : D.y,
  7478. O : D.a,
  7479. qt : D.ia,
  7480. yu : D.oa,
  7481. Bu : D.og,
  7482. Pz : h
  7483. }))));
  7484. if (b && !Za) {
  7485. d = 0;
  7486. for (e = ba.length; d <
  7487. e; d++)
  7488. ba[d].zz(!0);
  7489. Za = !0
  7490. } else if (!b && Za) {
  7491. d = 0;
  7492. for (e = ba.length; d < e; d++)
  7493. ba[d].zz(!1);
  7494. Za = !1
  7495. }
  7496. };
  7497. $a.Gg = function () {
  7498. var a,
  7499. b,
  7500. c,
  7501. d;
  7502. a = 0;
  7503. for (b = Mb.length; a < b; a++)
  7504. c = Mb[a], d = this.c.Ri(c.yq), c.Zn(d), c.yq = -1, d && (rb = d.x, sb = d.y);
  7505. Mb.length = 0
  7506. };
  7507. $a.SE = function (a) {
  7508. var b,
  7509. c;
  7510. b = 0;
  7511. for (c = ba.length; b < c; b++)
  7512. ba[b].sF(a)
  7513. };
  7514. $a.tc = function () {
  7515. var a = this.c.Ja,
  7516. b,
  7517. c,
  7518. d;
  7519. b = 0;
  7520. for (c = ba.length; b < c; b++)
  7521. d = ba[b], d.tc(a), d.Bb === S || d.Bb === Z || d.Qi || d.je || !d.Wm() || (d.je = !0, Q = d.sj, t.trigger(ic.prototype.B.as, G)), 0 !== oc && d.$z();
  7522. var e,
  7523. k;
  7524. for (e in ha)
  7525. if (ha.hasOwnProperty(e))
  7526. for (d =
  7527. ha[e], b = 0, c = d.length; b < c; b++)
  7528. k = d[b], k.tc && k.tc();
  7529. Y === K && this.be.bq() && (this.be.tc(a), rb = this.be.Sa.x, sb = this.be.Sa.y, N.listener.setPosition(this.be.Sa.x, this.be.Sa.y, this.mn), N.listener.setVelocity(this.be.lt(), this.be.mt(), 0))
  7530. };
  7531. $a.ct = function (a, b) {
  7532. var c,
  7533. d,
  7534. e,
  7535. k = null;
  7536. c = 0;
  7537. for (d = ga.length; c < d; c++)
  7538. if (e = ga[c], e.src === a) {
  7539. k = e;
  7540. break
  7541. }
  7542. k || (k = new J(a, b), ga.push(k));
  7543. return k
  7544. };
  7545. $a.Jx = function (a, b, c, d, e) {
  7546. var k,
  7547. f,
  7548. g;
  7549. k = 0;
  7550. for (f = ba.length; k < f; k++)
  7551. if (g = ba[k], g.src === a && (g.XB() || c))
  7552. return g.sj = b, g;
  7553. a = this.ct(a, c);
  7554. if (!a.hc)
  7555. return "<preload>" !==
  7556. b && (a.Oq = b, a.Yt = d, a.Hv = e), null;
  7557. g = new A(a, b);
  7558. ba.push(g);
  7559. return g
  7560. };
  7561. var Ta = [];
  7562. D.prototype.as = function (a) {
  7563. return cb(Q, a)
  7564. };
  7565. D.prototype.Rr = function (a) {
  7566. C(a);
  7567. var b;
  7568. a = 0;
  7569. for (b = Ta.length; a < b; a++)
  7570. if (Ta[a].ek())
  7571. return !0;
  7572. return !1
  7573. };
  7574. L.B = new D;
  7575. P.prototype.Play = function (b, c, d, e) {
  7576. !Za && (d = a(d), qb = this.Jx(this.c.Fx + b[0] + (nc ? ".ogg" : ".m4a"), e, b[1], 0 !== c, d)) && (qb.jv(!1), qb.play(0 !== c, d))
  7577. };
  7578. P.prototype.xm = function (a) {
  7579. C(a);
  7580. var b;
  7581. a = 0;
  7582. for (b = Ta.length; a < b; a++)
  7583. Ta[a].stop()
  7584. };
  7585. P.prototype.Qo = function (b) {
  7586. Ua = a(b);
  7587. var c;
  7588. b = 0;
  7589. for (c = ba.length; b <
  7590. c; b++)
  7591. ba[b].aA()
  7592. };
  7593. L.A = new P;
  7594. L.W = new(s())
  7595. })();
  7596. function jc(a) {
  7597. this.c = a
  7598. }
  7599. (function () {
  7600. function a() {}
  7601. var c = jc.prototype;
  7602. c.rb = function (a) {
  7603. this.ec = a;
  7604. this.c = a.c
  7605. };
  7606. c.rb.prototype.Ca = s();
  7607. c.Za = function (a) {
  7608. this.type = a;
  7609. this.c = a.c
  7610. };
  7611. c.Za.prototype.Ca = function () {
  7612. var a = this;
  7613. window.addEventListener("resize", function () {
  7614. a.c.trigger(jc.prototype.B.WA, a)
  7615. });
  7616. "undefined" !== typeof navigator.onLine && (window.addEventListener("online", function () {
  7617. a.c.trigger(jc.prototype.B.SA, a)
  7618. }), window.addEventListener("offline", function () {
  7619. a.c.trigger(jc.prototype.B.RA, a)
  7620. }));
  7621. "undefined" !== typeof window.applicationCache &&
  7622. (window.applicationCache.addEventListener("updateready", function () {
  7623. a.c.ql = 1;
  7624. a.c.trigger(jc.prototype.B.lw, a)
  7625. }), window.applicationCache.addEventListener("progress", function (c) {
  7626. a.c.ql = c.loaded / c.total
  7627. }));
  7628. this.c.$d || (document.addEventListener("appMobi.device.update.available", function () {
  7629. a.c.trigger(jc.prototype.B.lw, a)
  7630. }), document.addEventListener("backbutton", function () {
  7631. a.c.trigger(jc.prototype.B.Zr, a)
  7632. }), document.addEventListener("menubutton", function () {
  7633. a.c.trigger(jc.prototype.B.hw, a)
  7634. }), document.addEventListener("searchbutton",
  7635. function () {
  7636. a.c.trigger(jc.prototype.B.XA, a)
  7637. }), document.addEventListener("tizenhwkey", function (c) {
  7638. var e;
  7639. switch (c.keyName) {
  7640. case "back":
  7641. e = a.c.trigger(jc.prototype.B.Zr, a);
  7642. !e && window.tizen && window.tizen.application.getCurrentApplication().exit();
  7643. break;
  7644. case "menu":
  7645. (e = a.c.trigger(jc.prototype.B.hw, a)) || c.preventDefault()
  7646. }
  7647. }));
  7648. this.c.Ft && (WinJS.Application.onbackclick = function () {
  7649. return !!a.c.trigger(jc.prototype.B.Zr, a)
  7650. });
  7651. this.c.Mw(function (c) {
  7652. c ? a.c.trigger(jc.prototype.B.TA, a) : a.c.trigger(jc.prototype.B.UA,
  7653. a)
  7654. })
  7655. };
  7656. a.prototype.SA = x(!0);
  7657. a.prototype.RA = x(!0);
  7658. a.prototype.lw = x(!0);
  7659. a.prototype.UA = x(!0);
  7660. a.prototype.TA = x(!0);
  7661. a.prototype.WA = x(!0);
  7662. a.prototype.Zr = x(!0);
  7663. a.prototype.hw = x(!0);
  7664. a.prototype.XA = x(!0);
  7665. a.prototype.Jo = function (a) {
  7666. return (window.innerWidth <= window.innerHeight ? 0 : 1) === a
  7667. };
  7668. c.B = new a;
  7669. c.A = new(s());
  7670. c.W = new(s())
  7671. })();
  7672. function hc(a) {
  7673. this.c = a
  7674. }
  7675. (function () {
  7676. function a() {
  7677. this.name = "";
  7678. this.Wu = 0;
  7679. this.Mb = []
  7680. }
  7681. function c() {
  7682. h++;
  7683. h === g.length && g.push(new a);
  7684. return g[h]
  7685. }
  7686. function b() {}
  7687. function d() {}
  7688. function e() {}
  7689. var f = hc.prototype;
  7690. f.rb = function (a) {
  7691. this.ec = a;
  7692. this.c = a.c
  7693. };
  7694. f.rb.prototype.Ca = s();
  7695. f.Za = function (a) {
  7696. this.type = a;
  7697. this.c = a.c
  7698. };
  7699. var g = [],
  7700. h = -1;
  7701. f.Za.prototype.Ca = s();
  7702. b.prototype.le = function (a) {
  7703. var b = 0 > h ? null : g[h];
  7704. return b ? cb(a, b.name) : !1
  7705. };
  7706. f.B = new b;
  7707. d.prototype.CallFunction = function (a, b) {
  7708. var d = c();
  7709. d.name = a.toLowerCase();
  7710. d.Wu = 0;
  7711. za(d.Mb, b);
  7712. this.c.trigger(hc.prototype.B.le,
  7713. this, d.name);
  7714. h--
  7715. };
  7716. f.A = new d;
  7717. e.prototype.oA = function (a, b) {
  7718. var d = c();
  7719. d.name = b.toLowerCase();
  7720. d.Wu = 0;
  7721. d.Mb.length = 0;
  7722. var e,
  7723. f;
  7724. e = 2;
  7725. for (f = arguments.length; e < f; e++)
  7726. d.Mb.push(arguments[e]);
  7727. this.c.trigger(hc.prototype.B.le, this, d.name);
  7728. h--;
  7729. a.Bz(d.Wu)
  7730. };
  7731. f.W = new e
  7732. })();
  7733. function E(a) {
  7734. this.c = a
  7735. }
  7736. (function () {
  7737. function a() {
  7738. if (0 === this.Ms.length) {
  7739. var a = document.createElement("canvas");
  7740. a.width = this.width;
  7741. a.height = this.height;
  7742. var b = a.getContext("2d");
  7743. this.Rl ? b.drawImage(this.Db, this.Il, this.Jl, this.width, this.height, 0, 0, this.width, this.height) : b.drawImage(this.Db, 0, 0, this.width, this.height);
  7744. this.Ms = a.toDataURL("image/png")
  7745. }
  7746. return this.Ms
  7747. }
  7748. function c() {}
  7749. function b(a) {
  7750. a[0] = 0;
  7751. a[1] = 0;
  7752. a[2] = 0;
  7753. p.push(a)
  7754. }
  7755. function d(a, b) {
  7756. return a < b ? "" + a + "," + b : "" + b + "," + a
  7757. }
  7758. function e(a, b, c, e) {
  7759. b = b.uid;
  7760. c = c.uid;
  7761. var k = d(b, c);
  7762. if (a.hasOwnProperty(k))
  7763. a[k][2] =
  7764. e;
  7765. else {
  7766. var f = p.length ? p.pop() : [0, 0, 0];
  7767. f[0] = b;
  7768. f[1] = c;
  7769. f[2] = e;
  7770. a[k] = f
  7771. }
  7772. }
  7773. function f(a, c, e) {
  7774. c = d(c.uid, e.uid);
  7775. a.hasOwnProperty(c) && (b(a[c]), delete a[c])
  7776. }
  7777. function g(a, b, c) {
  7778. b = d(b.uid, c.uid);
  7779. if (a.hasOwnProperty(b))
  7780. return q = a[b][2], !0;
  7781. q = -2;
  7782. return !1
  7783. }
  7784. function h() {}
  7785. var m = E.prototype;
  7786. m.rb = function (a) {
  7787. this.ec = a;
  7788. this.c = a.c
  7789. };
  7790. var l = m.rb.prototype;
  7791. l.Ca = function () {
  7792. if (!this.Ka) {
  7793. var b,
  7794. c,
  7795. d,
  7796. e,
  7797. k,
  7798. f,
  7799. g,
  7800. h,
  7801. l;
  7802. this.$f = [];
  7803. this.cq = !1;
  7804. b = 0;
  7805. for (c = this.Ae.length; b < c; b++) {
  7806. k = this.Ae[b];
  7807. g = {};
  7808. g.name = k[0];
  7809. g.speed = k[1];
  7810. g.loop = k[2];
  7811. g.Vu = k[3];
  7812. g.$q = k[4];
  7813. g.fz = k[5];
  7814. g.Wa = k[6];
  7815. g.frames = [];
  7816. d = 0;
  7817. for (e = k[7].length; d < e; d++)
  7818. f = k[7][d], h = {},
  7819. h.tv = f[0],
  7820. h.Oz = f[1],
  7821. h.Il = f[2],
  7822. h.Jl = f[3],
  7823. h.width = f[4],
  7824. h.height = f[5],
  7825. h.duration = f[6],
  7826. h.oe = f[7],
  7827. h.pe = f[8],
  7828. h.tt = f[9],
  7829. h.Pq = f[10],
  7830. h.gz = f[11],
  7831. h.Rl = 0 !== h.width,
  7832. h.Ms = "",
  7833. h.fH = a,
  7834. l = {
  7835. left : 0,
  7836. top : 0,
  7837. right : 1,
  7838. bottom : 1
  7839. },
  7840. h.nv = l,
  7841. h.uc = null,
  7842. (l = this.c.hD(f[0])) ? h.Db = l : (h.Db = new Image, h.Db.idtkLoadDisposed = !0, h.Db.src = f[0], h.Db.cC = f[0], h.Db.bC = f[1], h.Db.VB = null, this.c.hA(h.Db)),
  7843. g.frames.push(h),
  7844. this.$f.push(h);
  7845. this.Ae[b] = g
  7846. }
  7847. }
  7848. };
  7849. l.FF = function () {
  7850. var a,
  7851. b,
  7852. c;
  7853. a = 0;
  7854. for (b = this.G.length; a < b; a++)
  7855. c = this.G[a], c.Ap = c.yf.uc
  7856. };
  7857. l.Du = function () {
  7858. if (!this.Ka) {
  7859. var a,
  7860. b,
  7861. c;
  7862. a = 0;
  7863. for (b = this.$f.length; a < b; ++a)
  7864. c = this.$f[a], c.Db.VB = null, c.uc = null
  7865. }
  7866. };
  7867. l.Eu = function () {
  7868. if (!this.Ka && this.G.length) {
  7869. var a,
  7870. b,
  7871. c;
  7872. a = 0;
  7873. for (b = this.$f.length; a < b; ++a)
  7874. c = this.$f[a], c.uc = this.c.qa.xq(c.Db, this.c.ub, c.gz);
  7875. this.FF()
  7876. }
  7877. };
  7878. l.iE = function () {
  7879. if (!this.Ka && !this.cq && this.c.qa) {
  7880. var a,
  7881. b,
  7882. c;
  7883. a = 0;
  7884. for (b = this.$f.length; a < b; ++a)
  7885. c = this.$f[a], c.uc = this.c.qa.xq(c.Db, this.c.ub, c.gz);
  7886. this.cq = !0
  7887. }
  7888. };
  7889. l.zv = function () {
  7890. if (!this.Ka &&
  7891. !this.G.length && this.cq) {
  7892. var a,
  7893. b,
  7894. c;
  7895. a = 0;
  7896. for (b = this.$f.length; a < b; ++a)
  7897. c = this.$f[a], this.c.qa.deleteTexture(c.uc), c.uc = null;
  7898. this.cq = !1
  7899. }
  7900. };
  7901. var n = [];
  7902. l.Mu = function (a) {
  7903. var b,
  7904. c,
  7905. d;
  7906. b = n.length = 0;
  7907. for (c = this.$f.length; b < c; ++b)
  7908. d = this.$f[b].Db, -1 === n.indexOf(d) && (a.drawImage(d, 0, 0), n.push(d))
  7909. };
  7910. m.Za = function (a) {
  7911. this.type = a;
  7912. this.c = a.c;
  7913. a = this.type.Ae[0].frames[0].Pq;
  7914. this.Re ? this.Oa.ao(a) : this.Oa = new Wa(a)
  7915. };
  7916. var k = m.Za.prototype;
  7917. k.Ca = function () {
  7918. this.visible = 0 === this.$[0];
  7919. this.dq = this.cn = !1;
  7920. this.wf = 0 !== this.$[3];
  7921. 1 === this.type.Ae.length &&
  7922. 1 === this.type.Ae[0].frames.length || 0 === this.type.Ae[0].speed || (this.c.rr(this), this.cn = !0);
  7923. this.Pb = this.Ix(this.$[1]) || this.type.Ae[0];
  7924. this.fa = this.$[2];
  7925. 0 > this.fa && (this.fa = 0);
  7926. this.fa >= this.Pb.frames.length && (this.fa = this.Pb.frames.length - 1);
  7927. var a = this.Pb.frames[this.fa];
  7928. this.Oa.ao(a.Pq);
  7929. this.oe = a.oe;
  7930. this.pe = a.pe;
  7931. this.Hm = this.Pb.speed;
  7932. this.Re ? this.ag.reset() : this.ag = new Sa;
  7933. this.Mg = this.ag.Cb;
  7934. this.xh = !0;
  7935. this.yh = 0;
  7936. this.Lj = !0;
  7937. this.np = this.Sw = "";
  7938. this.ix = 0;
  7939. this.mp = -1;
  7940. this.type.iE();
  7941. var b,
  7942. c,
  7943. d,
  7944. e,
  7945. k,
  7946. f,
  7947. g,
  7948. a =
  7949. 0;
  7950. for (b = this.type.Ae.length; a < b; a++)
  7951. for (e = this.type.Ae[a], c = 0, d = e.frames.length; c < d; c++)
  7952. k = e.frames[c], 0 === k.width && (k.width = k.Db.width, k.height = k.Db.height), k.Rl && (g = k.Db, f = k.nv, f.left = k.Il / g.width, f.top = k.Jl / g.height, f.right = (k.Il + k.width) / g.width, f.bottom = (k.Jl + k.height) / g.height, 0 === k.Il && 0 === k.Jl && k.width === g.width && k.height === g.height && (k.Rl = !1));
  7953. this.yf = this.Pb.frames[this.fa];
  7954. this.Ap = this.yf.uc
  7955. };
  7956. k.Zc = function () {
  7957. var a = {
  7958. a : this.Pb.Wa,
  7959. f : this.fa,
  7960. cas : this.Hm,
  7961. fs : this.Mg,
  7962. ar : this.yh,
  7963. at : this.ag.Cb
  7964. };
  7965. this.xh || (a.ap = this.xh);
  7966. this.Lj || (a.af = this.Lj);
  7967. return a
  7968. };
  7969. k.Ad = function (a) {
  7970. var b = this.lD(a.a);
  7971. b && (this.Pb = b);
  7972. this.fa = a.f;
  7973. 0 > this.fa && (this.fa = 0);
  7974. this.fa >= this.Pb.frames.length && (this.fa = this.Pb.frames.length - 1);
  7975. this.Hm = a.cas;
  7976. this.Mg = a.fs;
  7977. this.yh = a.ar;
  7978. this.ag.reset();
  7979. this.ag.Cb = a.at;
  7980. this.xh = a.hasOwnProperty("ap") ? a.ap : !0;
  7981. this.Lj = a.hasOwnProperty("af") ? a.af : !0;
  7982. this.yf = this.Pb.frames[this.fa];
  7983. this.Ap = this.yf.uc;
  7984. this.Oa.ao(this.yf.Pq);
  7985. this.oe = this.yf.oe;
  7986. this.pe = this.yf.pe
  7987. };
  7988. k.xs = function (a) {
  7989. this.fa = a ? 0 :
  7990. this.Pb.frames.length - 1;
  7991. this.xh = !1;
  7992. this.Sw = this.Pb.name;
  7993. this.dq = !0;
  7994. this.c.trigger(E.prototype.B.KA, this);
  7995. this.c.trigger(E.prototype.B.JA, this);
  7996. this.dq = !1;
  7997. this.yh = 0
  7998. };
  7999. k.hH = function () {
  8000. return this.ag.Cb
  8001. };
  8002. k.tc = function () {
  8003. this.ag.add(this.c.$j(this));
  8004. this.np.length && this.wx();
  8005. 0 <= this.mp && this.xx();
  8006. var a = this.ag.Cb,
  8007. b = this.Pb,
  8008. c = b.frames[this.fa],
  8009. d = c.duration / this.Hm;
  8010. this.xh && a >= this.Mg + d && (this.Lj ? this.fa++ : this.fa--, this.Mg += d, this.fa >= b.frames.length && (b.fz ? (this.Lj = !1, this.fa = b.frames.length - 2) : b.loop ?
  8011. this.fa = b.$q : (this.yh++, this.yh >= b.Vu ? this.xs(!1) : this.fa = b.$q)), 0 > this.fa && (b.fz ? (this.fa = 1, this.Lj = !0, b.loop || (this.yh++, this.yh >= b.Vu && this.xs(!0))) : b.loop ? this.fa = b.$q : (this.yh++, this.yh >= b.Vu ? this.xs(!0) : this.fa = b.$q)), 0 > this.fa ? this.fa = 0 : this.fa >= b.frames.length && (this.fa = b.frames.length - 1), a > this.Mg + b.frames[this.fa].duration / this.Hm && (this.Mg = a), a = b.frames[this.fa], this.Uk(c, a), this.c.qb = !0)
  8012. };
  8013. k.Ix = function (a) {
  8014. var b,
  8015. c,
  8016. d;
  8017. b = 0;
  8018. for (c = this.type.Ae.length; b < c; b++)
  8019. if (d = this.type.Ae[b], cb(d.name, a))
  8020. return d;
  8021. return null
  8022. };
  8023. k.lD = function (a) {
  8024. var b,
  8025. c,
  8026. d;
  8027. b = 0;
  8028. for (c = this.type.Ae.length; b < c; b++)
  8029. if (d = this.type.Ae[b], d.Wa === a)
  8030. return d;
  8031. return null
  8032. };
  8033. k.wx = function () {
  8034. var a = this.Pb.frames[this.fa],
  8035. b = this.Ix(this.np);
  8036. this.np = "";
  8037. !b || cb(b.name, this.Pb.name) && this.xh || (this.Pb = b, this.Hm = b.speed, 0 > this.fa && (this.fa = 0), this.fa >= this.Pb.frames.length && (this.fa = this.Pb.frames.length - 1), 1 === this.ix && (this.fa = 0), this.xh = !0, this.Mg = this.ag.Cb, this.Lj = !0, this.Uk(a, this.Pb.frames[this.fa]), this.c.qb = !0)
  8038. };
  8039. k.xx = function () {
  8040. var a = this.Pb.frames[this.fa],
  8041. b = this.fa;
  8042. this.fa = sa(this.mp);
  8043. 0 > this.fa && (this.fa = 0);
  8044. this.fa >= this.Pb.frames.length && (this.fa = this.Pb.frames.length - 1);
  8045. b !== this.fa && (this.Uk(a, this.Pb.frames[this.fa]), this.Mg = this.ag.Cb, this.c.qb = !0);
  8046. this.mp = -1
  8047. };
  8048. k.Uk = function (a, b) {
  8049. var c = a.width,
  8050. d = a.height,
  8051. e = b.width,
  8052. k = b.height;
  8053. c != e && (this.width *= e / c);
  8054. d != k && (this.height *= k / d);
  8055. this.oe = b.oe;
  8056. this.pe = b.pe;
  8057. this.Oa.ao(b.Pq);
  8058. this.ka();
  8059. this.yf = b;
  8060. this.Ap = b.uc;
  8061. c = 0;
  8062. for (d = this.Ia.length; c < d; c++)
  8063. e = this.Ia[c], e.Ty && e.Ty(a, b);
  8064. this.c.trigger(E.prototype.B.Uk, this)
  8065. };
  8066. k.Li = function (a) {
  8067. a.globalAlpha = this.opacity;
  8068. var b = this.yf,
  8069. c = b.Rl,
  8070. d = b.Db,
  8071. e = this.x,
  8072. k = this.y,
  8073. f = this.width,
  8074. g = this.height;
  8075. if (0 === this.L && 0 <= f && 0 <= g)
  8076. e -= this.oe * f, k -= this.pe * g, this.c.ij && (e = e + 0.5 | 0, k = k + 0.5 | 0), c ? a.drawImage(d, b.Il, b.Jl, b.width, b.height, e, k, f, g) : a.drawImage(d, e, k, f, g);
  8077. else {
  8078. this.c.ij && (e = e + 0.5 | 0, k = k + 0.5 | 0);
  8079. a.save();
  8080. var h = 0 < f ? 1 : -1,
  8081. l = 0 < g ? 1 : -1;
  8082. a.translate(e, k);
  8083. 1 === h && 1 === l || a.scale(h, l);
  8084. a.rotate(this.L * h * l);
  8085. e = 0 - this.oe * na(f);
  8086. k = 0 - this.pe * na(g);
  8087. c ? a.drawImage(d, b.Il, b.Jl, b.width, b.height, e, k, na(f),
  8088. na(g)) : a.drawImage(d, e, k, na(f), na(g));
  8089. a.restore()
  8090. }
  8091. };
  8092. k.dg = function (a) {
  8093. a.of(this.Ap);
  8094. a.Ml(this.opacity);
  8095. var b = this.yf,
  8096. c = this.Wb;
  8097. if (this.c.ij) {
  8098. var d = (this.x + 0.5 | 0) - this.x,
  8099. e = (this.y + 0.5 | 0) - this.y;
  8100. b.Rl ? a.kj(c.ic + d, c.jc + e, c.Dd + d, c.Ed + e, c.vd + d, c.wd + e, c.td + d, c.ud + e, b.nv) : a.Vq(c.ic + d, c.jc + e, c.Dd + d, c.Ed + e, c.vd + d, c.wd + e, c.td + d, c.ud + e)
  8101. } else
  8102. b.Rl ? a.kj(c.ic, c.jc, c.Dd, c.Ed, c.vd, c.wd, c.td, c.ud, b.nv) : a.Vq(c.ic, c.jc, c.Dd, c.Ed, c.vd, c.wd, c.td, c.ud)
  8103. };
  8104. k.pD = function (a) {
  8105. var b = this.yf,
  8106. c,
  8107. d;
  8108. c = 0;
  8109. for (d = b.tt.length; c < d; c++)
  8110. if (cb(a,
  8111. b.tt[c][0]))
  8112. return c;
  8113. return -1
  8114. };
  8115. k.Og = function (a, b) {
  8116. var c = this.yf,
  8117. d = c.tt,
  8118. e;
  8119. e = ka(a) ? this.pD(a) : a - 1;
  8120. e = sa(e);
  8121. if (0 > e || e >= d.length)
  8122. return b ? this.x : this.y;
  8123. var k = (d[e][1] - c.oe) * this.width,
  8124. d = d[e][2],
  8125. d = (d - c.pe) * this.height,
  8126. c = Math.cos(this.L);
  8127. e = Math.sin(this.L);
  8128. var f = k * c - d * e,
  8129. d = d * c + k * e,
  8130. k = f + this.x,
  8131. d = d + this.y;
  8132. return b ? k : d
  8133. };
  8134. var p = [],
  8135. q = -2,
  8136. r = [];
  8137. c.prototype.uh = function (a) {
  8138. if (!a)
  8139. return !1;
  8140. var c = this.c,
  8141. d = c.Tp(),
  8142. k = d.type;
  8143. d.ea.Ds || (d.ea.Ds = {}, c.Wo(function (a) {
  8144. return function (c) {
  8145. c = c.uid;
  8146. var d,
  8147. e;
  8148. for (d in a)
  8149. a.hasOwnProperty(d) &&
  8150. (e = a[d], e[0] === c || e[1] === c) && (b(a[d]), delete a[d])
  8151. }
  8152. }
  8153. (d.ea.Ds)));
  8154. var d = d.ea.Ds,
  8155. h = k.Pa(),
  8156. l = a.Pa(),
  8157. h = h.cf(),
  8158. m,
  8159. n,
  8160. p,
  8161. v,
  8162. u,
  8163. G,
  8164. Q,
  8165. T = this.c.hi,
  8166. S = T - 1,
  8167. K = c.zd().xd;
  8168. for (n = 0; n < h.length; n++) {
  8169. p = h[n];
  8170. l.gb ? (p.Ta(), this.c.Kx(p.T, a, p.hb, r), m = r) : m = l.cf();
  8171. for (v = 0; v < m.length; v++)
  8172. u = m[v], c.Dk(p, u) || c.$B(p, u) ? (G = g(d, p, u), G = !G || q < S, e(d, p, u, T), G && (c.Wn(K.Ab), G = k.Pa(), Q = a.Pa(), G.gb = !1, Q.gb = !1, k === a ? (G.G.length = 2, G.G[0] = p, G.G[1] = u, k.bg()) : (G.G.length = 1, Q.G.length = 1, G.G[0] = p, Q.G[0] = u, k.bg(), a.bg()), K.Xu(), c.jj(K.Ab))) : f(d, p, u);
  8173. r.length =
  8174. 0
  8175. }
  8176. return !1
  8177. };
  8178. var v = new ea,
  8179. u = !1;
  8180. l.finish = function (a) {
  8181. if (u) {
  8182. if (a) {
  8183. var b = this.c.zd().xd.qg;
  8184. a = null.Pa();
  8185. var c = v.kh(),
  8186. d,
  8187. e;
  8188. if (a.gb) {
  8189. a.gb = !1;
  8190. a.G.length = c.length;
  8191. d = 0;
  8192. for (e = c.length; d < e; d++)
  8193. a.G[d] = c[d];
  8194. if (b)
  8195. for (d = a.tb.length = 0, e = null.G.length; d < e; d++)
  8196. c = null.G[d], v.contains(c) || a.tb.push(c)
  8197. } else if (b)
  8198. for (b = a.G.length, a.G.length = b + c.length, d = 0, e = c.length; d < e; d++)
  8199. a.G[b + d] = c[d], Ba(a.tb, c[d]);
  8200. else
  8201. za(a.G, c);
  8202. null.bg()
  8203. }
  8204. v.clear();
  8205. u = !1
  8206. }
  8207. };
  8208. c.prototype.JA = function (a) {
  8209. return cb(this.Sw, a)
  8210. };
  8211. c.prototype.KA = x(!0);
  8212. c.prototype.Uk =
  8213. x(!0);
  8214. m.B = new c;
  8215. h.prototype.kB = function () {
  8216. this.xh = !1
  8217. };
  8218. h.prototype.jB = function (a) {
  8219. this.xh = !0;
  8220. this.Mg = this.ag.Cb;
  8221. 1 === a && 0 !== this.fa && (this.mp = 0, this.dq || this.xx());
  8222. this.cn || (this.c.rr(this), this.cn = !0)
  8223. };
  8224. h.prototype.We = function (a, b) {
  8225. this.np = a;
  8226. this.ix = b;
  8227. this.cn || (this.c.rr(this), this.cn = !0);
  8228. this.dq || this.wx()
  8229. };
  8230. h.prototype.Aw = function (a) {
  8231. a = na(this.width) * (0 === a ? -1 : 1);
  8232. this.width !== a && (this.width = a, this.ka())
  8233. };
  8234. h.prototype.vw = function (a) {
  8235. this.wf !== (0 !== a) && ((this.wf = 0 !== a) ? this.ka() : (this.Ii.right >= this.Ii.left &&
  8236. this.type.Fm.update(this, this.Ii, null), this.Ii.set(0, 0, -1, -1)))
  8237. };
  8238. m.A = new h;
  8239. m.W = new(s())
  8240. })();
  8241. function kc(a) {
  8242. this.c = a
  8243. }
  8244. (function () {
  8245. function a(a, b, c) {
  8246. if (c) {
  8247. var d;
  8248. c = 0;
  8249. for (d = b.length; c < d; c++)
  8250. a.length < f && a.push(b[c]);
  8251. b.length = 0
  8252. } else
  8253. for (d in b)
  8254. Object.prototype.hasOwnProperty.call(b, d) && (a.length < f && a.push(b[d]), delete b[d])
  8255. }
  8256. function c(a, b, c) {
  8257. var d = a.lk;
  8258. c = c.replace(/\s\s*$/, "");
  8259. b >= d.length && d.push(g.length ? g.pop() : {});
  8260. b = d[b];
  8261. b.text = c;
  8262. b.width = a.tu(c);
  8263. a.Ul = oa(a.Ul, b.width)
  8264. }
  8265. function b() {}
  8266. var d = kc.prototype;
  8267. d.Ca = s();
  8268. d.rb = function (a) {
  8269. this.ec = a;
  8270. this.c = a.c
  8271. };
  8272. var e = d.rb.prototype;
  8273. e.Ca = function () {
  8274. this.Ka || (this.Db = new Image, this.Db.idtkLoadDisposed =
  8275. !0, this.Db.src = this.tv, this.c.hA(this.Db), this.uc = null)
  8276. };
  8277. e.Du = function () {
  8278. this.Ka || (this.uc = null)
  8279. };
  8280. e.Eu = function () {
  8281. if (!this.Ka && this.G.length) {
  8282. this.uc || (this.uc = this.c.qa.xq(this.Db, this.c.ub, this.uv));
  8283. var a,
  8284. b;
  8285. a = 0;
  8286. for (b = this.G.length; a < b; a++)
  8287. this.G[a].uc = this.uc
  8288. }
  8289. };
  8290. e.zv = function () {
  8291. this.Ka || this.G.length || !this.uc || (this.c.qa.deleteTexture(this.uc), this.uc = null)
  8292. };
  8293. e.Mu = function (a) {
  8294. a.drawImage(this.Db, 0, 0)
  8295. };
  8296. d.Za = function (a) {
  8297. this.type = a;
  8298. this.c = a.c
  8299. };
  8300. e = d.Za.prototype;
  8301. e.Kl = function () {
  8302. a(g, this.lk, !0);
  8303. a(h, this.pp,
  8304. !1);
  8305. a(m, this.qp, !1);
  8306. Qa(this.Hi)
  8307. };
  8308. e.Ca = function () {
  8309. this.Db = this.type.Db;
  8310. this.op = this.$[0];
  8311. this.Fi = this.$[1];
  8312. this.characterSet = this.$[2];
  8313. this.text = this.$[3];
  8314. this.Gi = this.$[4];
  8315. this.visible = 0 === this.$[5];
  8316. this.Tx = this.$[6] / 2;
  8317. this.eA = this.$[7] / 2;
  8318. this.MF = 0 === this.$[9];
  8319. this.$k = this.$[10];
  8320. this.lineHeight = this.$[11];
  8321. this.Fk = this.Ul = 0;
  8322. this.Re ? (this.lk.length = 0, Qa(this.pp), Qa(this.qp), Qa(this.Hi)) : (this.lk = [], this.pp = {}, this.qp = {}, this.Hi = {});
  8323. this.io = !0;
  8324. this.Pt = this.width;
  8325. this.c.qa && (this.type.uc || (this.type.uc =
  8326. this.c.qa.xq(this.type.Db, this.c.ub, this.type.uv)), this.uc = this.type.uc);
  8327. this.iB()
  8328. };
  8329. e.Zc = function () {
  8330. var a = {
  8331. t : this.text,
  8332. csc : this.Gi,
  8333. csp : this.$k,
  8334. lh : this.lineHeight,
  8335. tw : this.Ul,
  8336. th : this.Fk,
  8337. lrt : this.fE,
  8338. cw : {}
  8339. },
  8340. b;
  8341. for (b in this.Hi)
  8342. a.cw[b] = this.Hi[b];
  8343. return a
  8344. };
  8345. e.Ad = function (a) {
  8346. this.text = a.t;
  8347. this.Gi = a.csc;
  8348. this.$k = a.csp;
  8349. this.lineHeight = a.lh;
  8350. this.Ul = a.tw;
  8351. this.Fk = a.th;
  8352. this.fE = a.lrt;
  8353. for (var b in a.cw)
  8354. this.Hi[b] = a.cw[b];
  8355. this.io = !0;
  8356. this.Pt = this.width
  8357. };
  8358. var f = 1E3,
  8359. g = [],
  8360. h = [],
  8361. m = [];
  8362. e.iB = function () {
  8363. for (var a = this.Db, b = a.width,
  8364. c = a.height, a = this.op, d = this.Fi, e = a / b, f = d / c, g = this.characterSet, b = Math.floor(b / a), c = Math.floor(c / d), l = 0; l < g.length && !(l >= b * c); l++) {
  8365. var n = l % b,
  8366. J = Math.floor(l / b),
  8367. A = g.charAt(l);
  8368. if (this.c.qa) {
  8369. var C = this.qp,
  8370. I = n * e,
  8371. D = J * f,
  8372. n = (n + 1) * e,
  8373. J = (J + 1) * f;
  8374. void 0 === C[A] && (C[A] = m.length ? m.pop() : new va);
  8375. C[A].left = I;
  8376. C[A].top = D;
  8377. C[A].right = n;
  8378. C[A].bottom = J
  8379. } else
  8380. C = this.pp, n *= a, J *= d, I = a, D = d, void 0 === C[A] && (C[A] = h.length ? h.pop() : {}), C[A].x = n, C[A].y = J, C[A].Fc = I, C[A].Sx = D
  8381. }
  8382. };
  8383. var l = [];
  8384. d.nB = function (a) {
  8385. l.length = 0;
  8386. for (var b = "", c, d = 0; d <
  8387. a.length; )
  8388. if (c = a.charAt(d), "\n" === c)
  8389. b.length && (l.push(b), b = ""), l.push("\n"), ++d;
  8390. else if (" " === c || "\t" === c || "-" === c) {
  8391. do
  8392. b += a.charAt(d), d++;
  8393. while (d < a.length && (" " === a.charAt(d) || "\t" === a.charAt(d)));
  8394. l.push(b);
  8395. b = ""
  8396. } else
  8397. d < a.length && (b += c, d++);
  8398. b.length && l.push(b)
  8399. };
  8400. d.qB = function (b) {
  8401. var c = b.text,
  8402. d = b.lk;
  8403. if (c && c.length) {
  8404. var e = b.width;
  8405. if (2 >= e)
  8406. a(g, d, !0);
  8407. else {
  8408. var f = b.Gi,
  8409. h = b.$k;
  8410. if (c.length * (b.op * f + h) - h <= e && -1 === c.indexOf("\n") && (h = b.tu(c), h <= e)) {
  8411. a(g, d, !0);
  8412. d.push(g.length ? g.pop() : {});
  8413. d[0].text = c;
  8414. d[0].width = h;
  8415. b.Ul = h;
  8416. b.Fk = b.Fi * f + b.lineHeight;
  8417. return
  8418. }
  8419. this.rB(b);
  8420. b.Fk = d.length * (b.Fi * f + b.lineHeight)
  8421. }
  8422. } else
  8423. a(g, d, !0)
  8424. };
  8425. d.rB = function (a) {
  8426. var b = a.MF,
  8427. d = a.text,
  8428. e = a.lk,
  8429. h = a.width;
  8430. b && (this.nB(d), d = l);
  8431. var m = "",
  8432. n,
  8433. F,
  8434. H,
  8435. J = 0,
  8436. A = !1;
  8437. for (H = 0; H < d.length; H++)
  8438. "\n" === d[H] ? (!0 === A ? A = !1 : (c(a, J, m), J++), m = "") : (A = !1, n = m, m += d[H], F = a.tu(m.replace(/\s\s*$/, "")), F > h && ("" === n ? (c(a, J, m), m = "", A = !0) : (c(a, J, n), m = d[H]), J++, b || " " !== m || (m = "")));
  8439. m.replace(/\s\s*$/, "").length && (c(a, J, m), J++);
  8440. for (H = J; H < e.length; H++)
  8441. g.length < f && g.push(e[H]);
  8442. e.length = J
  8443. };
  8444. e.tu = function (a) {
  8445. for (var b = this.$k, c = a.length, d = 0, e = 0; e < c; e++)
  8446. d += this.Rm(a.charAt(e)) * this.Gi + b;
  8447. return d - (0 < d ? b : 0)
  8448. };
  8449. e.Rm = function (a) {
  8450. var b = this.Hi;
  8451. return void 0 !== b[a] ? b[a] : this.op
  8452. };
  8453. e.oz = function () {
  8454. if (this.io || this.width !== this.Pt)
  8455. this.Fk = this.Ul = 0, this.type.ec.qB(this), this.io = !1, this.Pt = this.width
  8456. };
  8457. e.Li = function (a) {
  8458. var b = this.Db;
  8459. if ("" !== this.text && null != b && (this.oz(), !(this.height < this.Fi * this.Gi + this.lineHeight))) {
  8460. a.globalAlpha = this.opacity;
  8461. var b = this.x,
  8462. c = this.y;
  8463. this.c.ij && (b = b + 0.5 | 0, c = c + 0.5 | 0);
  8464. a.save();
  8465. a.translate(b, c);
  8466. a.rotate(this.L);
  8467. for (var b = this.Tx, c = this.Gi, d = this.Fi * c, e = this.lineHeight, f = this.$k, g = this.lk, h, l = - (this.oe * this.width), m = - (this.pe * this.height), m = m + this.eA * oa(0, this.height - this.Fk), n, C, I = 0; I < g.length; I++) {
  8468. var D = g[I].text;
  8469. h = b * oa(0, this.width - g[I].width);
  8470. h = l + h;
  8471. for (var m = m + e, P = 0; P < D.length; P++) {
  8472. var L = D.charAt(P),
  8473. t = this.pp[L];
  8474. if (h + this.Rm(L) * c > this.width + 1E-5)
  8475. break;
  8476. void 0 !== t && (n = h, C = m, 0 === this.L && (n = Math.round(n), C = Math.round(C)), a.drawImage(this.Db, t.x, t.y, t.Fc, t.Sx, n, C,
  8477. t.Fc * c, t.Sx * c));
  8478. h += this.Rm(L) * c + f
  8479. }
  8480. m += d;
  8481. if (m + d + e > this.height)
  8482. break
  8483. }
  8484. a.restore()
  8485. }
  8486. };
  8487. var n = new wa;
  8488. e.dg = function (a) {
  8489. a.of(this.uc);
  8490. a.Ml(this.opacity);
  8491. if ("" !== this.text && (this.oz(), !(this.height < this.Fi * this.Gi + this.lineHeight))) {
  8492. this.Ta();
  8493. var b = this.Wb,
  8494. c = 0,
  8495. d = 0;
  8496. this.c.ij && (c = (this.x + 0.5 | 0) - this.x, d = (this.y + 0.5 | 0) - this.y);
  8497. var e = this.L,
  8498. f = this.Tx,
  8499. g = this.eA,
  8500. h = this.Gi,
  8501. l = this.Fi * h,
  8502. m = this.lineHeight,
  8503. A = this.$k,
  8504. C = this.lk,
  8505. I = this.Fk,
  8506. D,
  8507. P;
  8508. 0 !== e && (D = Math.cos(e), P = Math.sin(e));
  8509. for (var L, c = b.ic + c, b = b.jc + d, g = g * oa(0, this.height -
  8510. I), t, G, I = 0; I < C.length; I++) {
  8511. d = C[I].text;
  8512. L = f * oa(0, this.width - C[I].width);
  8513. for (var g = g + m, Q = 0; Q < d.length; Q++) {
  8514. var T = d.charAt(Q),
  8515. S = this.qp[T];
  8516. if (L + this.Rm(T) * h > this.width + 1E-5)
  8517. break;
  8518. if (void 0 !== S) {
  8519. var K = this.op * h,
  8520. M = this.Fi * h;
  8521. t = L;
  8522. G = g;
  8523. 0 === e && (t = Math.round(t), G = Math.round(G));
  8524. n.ic = t;
  8525. n.jc = G;
  8526. n.Dd = t + K;
  8527. n.Ed = G;
  8528. n.td = t;
  8529. n.ud = G + M;
  8530. n.vd = t + K;
  8531. n.wd = G + M;
  8532. 0 !== e && (t = n, G = D, K = P, M = void 0, M = t.ic * G - t.jc * K, t.jc = t.jc * G + t.ic * K, t.ic = M, M = t.Dd * G - t.Ed * K, t.Ed = t.Ed * G + t.Dd * K, t.Dd = M, M = t.td * G - t.ud * K, t.ud = t.ud * G + t.td * K, t.td = M, M = t.vd * G - t.wd *
  8533. K, t.wd = t.wd * G + t.vd * K, t.vd = M);
  8534. n.offset(c, b);
  8535. a.kj(n.ic, n.jc, n.Dd, n.Ed, n.vd, n.wd, n.td, n.ud, S)
  8536. }
  8537. L += this.Rm(T) * h + A
  8538. }
  8539. g += l;
  8540. if (g + l + m > this.height)
  8541. break
  8542. }
  8543. }
  8544. };
  8545. d.B = new(s());
  8546. b.prototype.vm = function (a) {
  8547. ja(a) && 1E9 > a && (a = Math.round(1E10 * a) / 1E10);
  8548. a = a.toString();
  8549. this.text !== a && (this.text = a, this.io = !0, this.c.qb = !0)
  8550. };
  8551. e.IG = function (a, b) {
  8552. var c = parseInt(b, 10);
  8553. this.Hi[a] !== c && (this.Hi[a] = c, this.io = !0, this.c.qb = !0)
  8554. };
  8555. d.A = new b;
  8556. d.W = new(s())
  8557. })();
  8558. function lc(a) {
  8559. this.c = a
  8560. }
  8561. (function () {
  8562. function a(a) {
  8563. h = a.x;
  8564. m = a.y;
  8565. l = a.z
  8566. }
  8567. function c(a) {
  8568. n = a.x;
  8569. k = a.y;
  8570. p = a.z
  8571. }
  8572. function b() {}
  8573. function d() {}
  8574. var e = lc.prototype;
  8575. e.rb = function (a) {
  8576. this.ec = a;
  8577. this.c = a.c
  8578. };
  8579. e.rb.prototype.Ca = s();
  8580. e.Za = function (a) {
  8581. this.type = a;
  8582. this.c = a.c;
  8583. this.touches = [];
  8584. this.vu = !1
  8585. };
  8586. var f = e.Za.prototype,
  8587. g = {
  8588. left : 0,
  8589. top : 0
  8590. };
  8591. f.Mm = function (a) {
  8592. var b,
  8593. c;
  8594. b = 0;
  8595. for (c = this.touches.length; b < c; b++)
  8596. if (this.touches[b].id === a)
  8597. return b;
  8598. return -1
  8599. };
  8600. var h = 0,
  8601. m = 0,
  8602. l = 0,
  8603. n = 0,
  8604. k = 0,
  8605. p = 0;
  8606. f.Ca = function () {
  8607. this.aE = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8);
  8608. this.uj = this.Ks = this.Js = this.Jw = this.Iw = this.Hw = this.GB = this.EB = this.DB = this.Pn = this.On = this.Nn = 0;
  8609. this.JF = 0 !== this.$[0];
  8610. var b = 0 < this.c.He ? document : this.c.canvas,
  8611. d = document;
  8612. this.c.$d ? d = b = window.Canvas : this.c.Df && (d = b = window);
  8613. var e = this;
  8614. window.navigator.pointerEnabled ? (b.addEventListener("pointerdown", function (a) {
  8615. e.Sy(a)
  8616. }, !1), b.addEventListener("pointermove", function (a) {
  8617. e.Ry(a)
  8618. }, !1), d.addEventListener("pointerup", function (a) {
  8619. e.Lq(a)
  8620. }, !1), d.addEventListener("pointercancel", function (a) {
  8621. e.Lq(a)
  8622. }, !1), this.c.canvas &&
  8623. (this.c.canvas.addEventListener("MSGestureHold", function (a) {
  8624. a.preventDefault()
  8625. }, !1), document.addEventListener("MSGestureHold", function (a) {
  8626. a.preventDefault()
  8627. }, !1), this.c.canvas.addEventListener("gesturehold", function (a) {
  8628. a.preventDefault()
  8629. }, !1), document.addEventListener("gesturehold", function (a) {
  8630. a.preventDefault()
  8631. }, !1))) : window.navigator.msPointerEnabled ? (b.addEventListener("MSPointerDown", function (a) {
  8632. e.Sy(a)
  8633. }, !1), b.addEventListener("MSPointerMove", function (a) {
  8634. e.Ry(a)
  8635. }, !1), d.addEventListener("MSPointerUp",
  8636. function (a) {
  8637. e.Lq(a)
  8638. }, !1), d.addEventListener("MSPointerCancel", function (a) {
  8639. e.Lq(a)
  8640. }, !1), this.c.canvas && (this.c.canvas.addEventListener("MSGestureHold", function (a) {
  8641. a.preventDefault()
  8642. }, !1), document.addEventListener("MSGestureHold", function (a) {
  8643. a.preventDefault()
  8644. }, !1))) : (b.addEventListener("touchstart", function (a) {
  8645. e.Vy(a)
  8646. }, !1), b.addEventListener("touchmove", function (a) {
  8647. e.Uy(a)
  8648. }, !1), d.addEventListener("touchend", function (a) {
  8649. e.Fu(a)
  8650. }, !1), d.addEventListener("touchcancel", function (a) {
  8651. e.Fu(a)
  8652. }, !1));
  8653. if (this.aE) {
  8654. var k =
  8655. function (a) {
  8656. a = a.reading;
  8657. e.Hw = a.accelerationX;
  8658. e.Iw = a.accelerationY;
  8659. e.Jw = a.accelerationZ
  8660. },
  8661. f = function (a) {
  8662. a = a.reading;
  8663. e.Nn = a.yawDegrees;
  8664. e.On = a.pitchDegrees;
  8665. e.Pn = a.rollDegrees
  8666. },
  8667. g = Windows.Devices.Sensors.Accelerometer.getDefault();
  8668. g && (g.reportInterval = Math.max(g.minimumReportInterval, 16), g.addEventListener("readingchanged", k));
  8669. var h = Windows.Devices.Sensors.Inclinometer.getDefault();
  8670. h && (h.reportInterval = Math.max(h.minimumReportInterval, 16), h.addEventListener("readingchanged", f));
  8671. document.addEventListener("visibilitychange",
  8672. function () {
  8673. document.hidden || document.msHidden ? (g && g.removeEventListener("readingchanged", k), h && h.removeEventListener("readingchanged", f)) : (g && g.addEventListener("readingchanged", k), h && h.addEventListener("readingchanged", f))
  8674. }, !1)
  8675. } else
  8676. window.addEventListener("deviceorientation", function (a) {
  8677. e.Nn = a.alpha || 0;
  8678. e.On = a.beta || 0;
  8679. e.Pn = a.gamma || 0
  8680. }, !1), window.addEventListener("devicemotion", function (a) {
  8681. a.accelerationIncludingGravity && (e.DB = a.accelerationIncludingGravity.x || 0, e.EB = a.accelerationIncludingGravity.y ||
  8682. 0, e.GB = a.accelerationIncludingGravity.z || 0);
  8683. a.acceleration && (e.Hw = a.acceleration.x || 0, e.Iw = a.acceleration.y || 0, e.Jw = a.acceleration.z || 0)
  8684. }, !1);
  8685. this.JF && !this.c.jd && (jQuery(document).mousemove(function (a) {
  8686. e.QE(a)
  8687. }), jQuery(document).mousedown(function (a) {
  8688. e.PE(a)
  8689. }), jQuery(document).mouseup(function (a) {
  8690. e.RE(a)
  8691. }));
  8692. this.c.il && !this.c.$d && AppMobi.accelerometer.watchAcceleration(a, {
  8693. frequency : 40,
  8694. adjustForRotation : !0
  8695. });
  8696. this.c.hg && navigator.accelerometer && navigator.accelerometer.watchAcceleration && navigator.accelerometer.watchAcceleration(c,
  8697. null, {
  8698. frequency : 40
  8699. });
  8700. this.c.AF(this)
  8701. };
  8702. f.Ry = function (a) {
  8703. if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) {
  8704. a.preventDefault && a.preventDefault();
  8705. var b = this.Mm(a.pointerId),
  8706. c = Ra();
  8707. if (0 <= b) {
  8708. var d = this.c.jd ? g : jQuery(this.c.canvas).offset(),
  8709. b = this.touches[b];
  8710. 2 > c - b.time || (b.sq = b.time, b.Wi = b.x, b.Xi = b.y, b.time = c, b.x = a.pageX - d.left, b.y = a.pageY - d.top)
  8711. }
  8712. }
  8713. };
  8714. f.Sy = function (a) {
  8715. if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) {
  8716. a.preventDefault && a.preventDefault();
  8717. var b = this.c.jd ?
  8718. g : jQuery(this.c.canvas).offset(),
  8719. c = a.pageX - b.left,
  8720. b = a.pageY - b.top,
  8721. d = Ra();
  8722. this.uj = this.touches.length;
  8723. this.touches.push({
  8724. time : d,
  8725. x : c,
  8726. y : b,
  8727. sq : d,
  8728. Wi : c,
  8729. Xi : b,
  8730. id : a.pointerId,
  8731. qv : this.uj
  8732. });
  8733. this.c.Qg = !0;
  8734. this.c.trigger(lc.prototype.B.jw, this);
  8735. this.c.trigger(lc.prototype.B.No, this);
  8736. this.Js = c;
  8737. this.Ks = b;
  8738. this.c.trigger(lc.prototype.B.Vk, this);
  8739. this.c.Qg = !1
  8740. }
  8741. };
  8742. f.Lq = function (a) {
  8743. a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType && (a.preventDefault && a.preventDefault(), a = this.Mm(a.pointerId), this.uj = 0 <= a ? this.touches[a].qv :
  8744. -1, this.c.Qg = !0, this.c.trigger(lc.prototype.B.iw, this), this.c.trigger(lc.prototype.B.kw, this), this.c.Qg = !1, 0 <= a && this.touches.splice(a, 1))
  8745. };
  8746. f.Uy = function (a) {
  8747. a.preventDefault && a.preventDefault();
  8748. var b = Ra(),
  8749. c,
  8750. d,
  8751. e,
  8752. k;
  8753. c = 0;
  8754. for (d = a.changedTouches.length; c < d; c++)
  8755. if (e = a.changedTouches[c], k = this.Mm(e.identifier), 0 <= k) {
  8756. var f = this.c.jd ? g : jQuery(this.c.canvas).offset();
  8757. k = this.touches[k];
  8758. 2 > b - k.time || (k.sq = k.time, k.Wi = k.x, k.Xi = k.y, k.time = b, k.x = e.pageX - f.left, k.y = e.pageY - f.top)
  8759. }
  8760. };
  8761. f.Vy = function (a) {
  8762. a.preventDefault &&
  8763. a.preventDefault();
  8764. var b = this.c.jd ? g : jQuery(this.c.canvas).offset(),
  8765. c = Ra();
  8766. this.c.Qg = !0;
  8767. var d,
  8768. e,
  8769. k,
  8770. f;
  8771. d = 0;
  8772. for (e = a.changedTouches.length; d < e; d++)
  8773. if (k = a.changedTouches[d], f = this.Mm(k.identifier), -1 === f) {
  8774. f = k.pageX - b.left;
  8775. var h = k.pageY - b.top;
  8776. this.uj = this.touches.length;
  8777. this.touches.push({
  8778. time : c,
  8779. x : f,
  8780. y : h,
  8781. sq : c,
  8782. Wi : f,
  8783. Xi : h,
  8784. id : k.identifier,
  8785. qv : this.uj
  8786. });
  8787. this.c.trigger(lc.prototype.B.jw, this);
  8788. this.c.trigger(lc.prototype.B.No, this);
  8789. this.Js = f;
  8790. this.Ks = h;
  8791. this.c.trigger(lc.prototype.B.Vk, this)
  8792. }
  8793. this.c.Qg = !1
  8794. };
  8795. f.Fu = function (a) {
  8796. alert(14785855);
  8797. a.preventDefault &&
  8798. a.preventDefault();
  8799. this.c.Qg = !0;
  8800. var b,
  8801. c,
  8802. d;
  8803. b = 0;
  8804. for (c = a.changedTouches.length; b < c; b++)
  8805. d = a.changedTouches[b], d = this.Mm(d.identifier), 0 <= d && (this.uj = this.touches[d].qv, this.c.trigger(lc.prototype.B.iw, this), this.c.trigger(lc.prototype.B.kw, this), this.touches.splice(d, 1));
  8806. this.c.Qg = !1
  8807. };
  8808. f.cH = function () {
  8809. return this.c.il && 0 === this.Nn && 0 !== l ? 90 * l : this.c.hg && 0 === this.Nn && 0 !== p ? 90 * p : this.Nn
  8810. };
  8811. f.dH = function () {
  8812. return this.c.il && 0 === this.On && 0 !== m ? -90 * m : this.c.hg && 0 === this.On && 0 !== k ? -90 * k : this.On
  8813. };
  8814. f.gH = function () {
  8815. return this.c.il &&
  8816. 0 === this.Pn && 0 !== h ? 90 * h : this.c.hg && 0 === this.Pn && 0 !== n ? 90 * n : this.Pn
  8817. };
  8818. f.PE = function (a) {
  8819. a.preventDefault && this.c.nt && !this.c.Ti && a.preventDefault();
  8820. this.Vy({
  8821. changedTouches : [{
  8822. pageX : a.pageX,
  8823. pageY : a.pageY,
  8824. identifier : 0
  8825. }
  8826. ]
  8827. });
  8828. this.vu = !0
  8829. };
  8830. f.QE = function (a) {
  8831. this.vu && this.Uy({
  8832. changedTouches : [{
  8833. pageX : a.pageX,
  8834. pageY : a.pageY,
  8835. identifier : 0
  8836. }
  8837. ]
  8838. })
  8839. };
  8840. f.RE = function (a) {
  8841. a.preventDefault && this.c.nt && !this.c.Ti && a.preventDefault();
  8842. this.c.nt = !0;
  8843. this.Fu({
  8844. changedTouches : [{
  8845. pageX : a.pageX,
  8846. pageY : a.pageY,
  8847. identifier : 0
  8848. }
  8849. ]
  8850. });
  8851. this.vu = !1
  8852. };
  8853. f.jo =
  8854. function () {
  8855. var a,
  8856. b,
  8857. c,
  8858. d = Ra();
  8859. a = 0;
  8860. for (b = this.touches.length; a < b; a++)
  8861. c = this.touches[a], c.time <= d - 50 && (c.sq = d)
  8862. };
  8863. b.prototype.No = x(!0);
  8864. b.prototype.kw = x(!0);
  8865. b.prototype.Vk = function (a) {
  8866. return a ? this.c.zF(a, this.Js, this.Ks) : !1
  8867. };
  8868. b.prototype.jw = function (a) {
  8869. a = Math.floor(a);
  8870. return a === this.uj
  8871. };
  8872. b.prototype.iw = function (a) {
  8873. a = Math.floor(a);
  8874. return a === this.uj
  8875. };
  8876. e.B = new b;
  8877. d.prototype.Hc = function (a, b) {
  8878. if (this.touches.length) {
  8879. var c,
  8880. d,
  8881. e,
  8882. k,
  8883. f;
  8884. ia(b) ? (c = this.c.Sm(0), d = c.scale, e = c.yg, k = c.Kf, f = c.L, c.scale = this.c.mb.scale, c.yg =
  8885. 1, c.Kf = 1, c.L = this.c.mb.L, a.ta(c.Ce(this.touches[0].x, this.touches[0].y, !0)), c.scale = d, c.yg = e, c.Kf = k, c.L = f) : (c = ja(b) ? this.c.Sm(b) : this.c.ht(b)) ? a.ta(c.Ce(this.touches[0].x, this.touches[0].y, !0)) : a.ta(0)
  8886. } else
  8887. a.ta(0)
  8888. };
  8889. d.prototype.Hj = function (a, b) {
  8890. if (this.touches.length) {
  8891. var c,
  8892. d,
  8893. e,
  8894. k,
  8895. f;
  8896. ia(b) ? (c = this.c.Sm(0), d = c.scale, e = c.yg, k = c.Lf, f = c.L, c.scale = this.c.mb.scale, c.yg = 1, c.Lf = 1, c.L = this.c.mb.L, a.ta(c.Ce(this.touches[0].x, this.touches[0].y, !1)), c.scale = d, c.yg = e, c.Lf = k, c.L = f) : (c = ja(b) ? this.c.Sm(b) : this.c.ht(b)) ?
  8897. a.ta(c.Ce(this.touches[0].x, this.touches[0].y, !1)) : a.ta(0)
  8898. } else
  8899. a.ta(0)
  8900. };
  8901. e.W = new d
  8902. })();
  8903. function mc(a) {
  8904. this.c = a
  8905. }
  8906. (function () {
  8907. function a() {}
  8908. function c() {}
  8909. function b() {}
  8910. var d = mc.prototype;
  8911. d.rb = function (a) {
  8912. this.ec = a;
  8913. this.c = a.c
  8914. };
  8915. d.rb.prototype.Ca = s();
  8916. d.Za = function (a) {
  8917. this.type = a;
  8918. this.c = a.c
  8919. };
  8920. var e = d.Za.prototype,
  8921. f = "",
  8922. g = "undefined" !== typeof window.is_scirra_arcade;
  8923. g && (f = "arcade" + window.scirra_arcade_id);
  8924. e.Ca = s();
  8925. a.prototype.Mo = function (a) {
  8926. return null != localStorage.getItem(f + a)
  8927. };
  8928. a.prototype.VA = x(!0);
  8929. a.prototype.xo = function (a, b, c) {
  8930. a = localStorage.getItem(f + a) || "";
  8931. return Yb(parseFloat(a), b, c)
  8932. };
  8933. d.B = new a;
  8934. c.prototype.ym =
  8935. function (a, b) {
  8936. try {
  8937. localStorage.setItem(f + a, b)
  8938. //console.log(b);
  8939. //updateShare(a+"147");
  8940. //if(b==1){}else{Play68.setRankingScoreDesc(b);}
  8941. } catch (c) {
  8942. this.c.trigger(mc.prototype.B.VA, this)
  8943. }
  8944. };
  8945. d.A = new c;
  8946. b.prototype.Ur = function (a, b) {
  8947. a.Se(localStorage.getItem(f + b) || "")
  8948. };
  8949. b.prototype.Nv = function (a) {
  8950. var b = {},
  8951. c,
  8952. d,
  8953. e;
  8954. c = 0;
  8955. for (d = localStorage.length; c < d; c++)
  8956. e = localStorage.key(c), g ? e.substr(0, f.length) === f && (b[e.substr(f.length)] = localStorage.getItem(e)) : b[e] = localStorage.getItem(e);
  8957. a.Se(JSON.stringify({
  8958. c2dictionary : !0,
  8959. data : b
  8960. }))
  8961. };
  8962. d.W = new b
  8963. })();
  8964. function pc(a) {
  8965. this.c = a
  8966. }
  8967. (function () {
  8968. function a() {}
  8969. var c = pc.prototype;
  8970. c.rb = function (a) {
  8971. this.ba = a;
  8972. this.c = a.c
  8973. };
  8974. c.rb.prototype.Ca = s();
  8975. c.Za = function (a, b) {
  8976. this.type = a;
  8977. this.ba = a.ba;
  8978. this.D = b;
  8979. this.c = a.c
  8980. };
  8981. var b = c.Za.prototype;
  8982. b.Ca = function () {
  8983. this.Pw = this.$[0];
  8984. this.Qw = this.$[1];
  8985. this.LB = this.$[2];
  8986. this.KB = this.$[3];
  8987. this.D.Ta();
  8988. this.Dr = this.D.hb.left;
  8989. this.Gr = this.D.hb.top;
  8990. this.Er = this.c.rc - this.D.hb.left;
  8991. this.Fr = this.c.qc - this.D.hb.top;
  8992. this.Yq = this.c.rc - this.D.hb.right;
  8993. this.ep = this.c.qc - this.D.hb.bottom;
  8994. this.enabled = 0 !== this.$[4]
  8995. };
  8996. b.Zc =
  8997. function () {
  8998. return {
  8999. xleft : this.Dr,
  9000. ytop : this.Gr,
  9001. xright : this.Er,
  9002. ybottom : this.Fr,
  9003. rdiff : this.Yq,
  9004. bdiff : this.ep,
  9005. enabled : this.enabled
  9006. }
  9007. };
  9008. b.Ad = function (a) {
  9009. this.Dr = a.xleft;
  9010. this.Gr = a.ytop;
  9011. this.Er = a.xright;
  9012. this.Fr = a.ybottom;
  9013. this.Yq = a.rdiff;
  9014. this.ep = a.bdiff;
  9015. this.enabled = a.enabled
  9016. };
  9017. b.tc = function () {
  9018. if (this.enabled) {
  9019. var a,
  9020. b = this.D.T,
  9021. c = this.D,
  9022. g = this.D.hb;
  9023. 0 === this.Pw ? (c.Ta(), a = b.Rd + this.Dr - g.left, 0 !== a && (c.x += a, c.ka())) : 1 === this.Pw && (c.Ta(), a = b.Ue - this.Er - g.left, 0 !== a && (c.x += a, c.ka()));
  9024. 0 === this.Qw ? (c.Ta(), a = b.Sd + this.Gr -
  9025. g.top, 0 !== a && (c.y += a, c.ka())) : 1 === this.Qw && (c.Ta(), a = b.Te - this.Fr - g.top, 0 !== a && (c.y += a, c.ka()));
  9026. 1 === this.LB && (c.Ta(), a = b.Ue - this.Yq - g.right, 0 !== a && (c.width += a, 0 > c.width && (c.width = 0), c.ka()));
  9027. 1 === this.KB && (c.Ta(), a = b.Te - this.ep - g.bottom, 0 !== a && (c.height += a, 0 > c.height && (c.height = 0), c.ka()))
  9028. }
  9029. };
  9030. c.B = new(s());
  9031. a.prototype.Hb = function (a) {
  9032. this.enabled && 0 === a ? this.enabled = !1 : this.enabled || 0 === a || (this.D.Ta(), this.Dr = this.D.hb.left, this.Gr = this.D.hb.top, this.Er = this.c.rc - this.D.hb.left, this.Fr = this.c.qc - this.D.hb.top,
  9033. this.Yq = this.c.rc - this.D.hb.right, this.ep = this.c.qc - this.D.hb.bottom, this.enabled = !0)
  9034. };
  9035. c.A = new a;
  9036. c.W = new(s())
  9037. })();
  9038. function O(a) {
  9039. this.c = a
  9040. }
  9041. (function () {
  9042. function a() {}
  9043. var c = O.prototype;
  9044. c.rb = function (a) {
  9045. this.ba = a;
  9046. this.c = a.c
  9047. };
  9048. c.rb.prototype.Ca = s();
  9049. c.Za = function (a, b) {
  9050. this.type = a;
  9051. this.ba = a.ba;
  9052. this.D = b;
  9053. this.c = a.c
  9054. };
  9055. var b = c.Za.prototype;
  9056. b.Ca = function () {
  9057. var a = this.$[0];
  9058. this.Am = this.$[1];
  9059. this.Qm = this.$[2];
  9060. this.SB = 0 !== this.$[3];
  9061. this.gv = 0 !== this.$[4];
  9062. this.sb = Math.cos(this.D.L) * a;
  9063. this.ib = Math.sin(this.D.L) * a;
  9064. this.Wi = this.D.x;
  9065. this.Xi = this.D.y;
  9066. this.Kd = this.D.L;
  9067. this.xr = 0;
  9068. this.enabled = 0 !== this.$[5]
  9069. };
  9070. b.Zc = function () {
  9071. return {
  9072. acc : this.Am,
  9073. g : this.Qm,
  9074. dx : this.sb,
  9075. dy : this.ib,
  9076. lx : this.Wi,
  9077. ly : this.Xi,
  9078. lka : this.Kd,
  9079. t : this.xr,
  9080. e : this.enabled
  9081. }
  9082. };
  9083. b.Ad = function (a) {
  9084. this.Am = a.acc;
  9085. this.Qm = a.g;
  9086. this.sb = a.dx;
  9087. this.ib = a.dy;
  9088. this.Wi = a.lx;
  9089. this.Xi = a.ly;
  9090. this.Kd = a.lka;
  9091. this.xr = a.t;
  9092. this.enabled = a.e
  9093. };
  9094. b.tc = function () {
  9095. if (this.enabled) {
  9096. var a = this.c.$j(this.D),
  9097. b,
  9098. c;
  9099. this.D.L !== this.Kd && (this.gv && (b = Na(0, 0, this.sb, this.ib), this.sb = Math.cos(this.D.L) * b, this.ib = Math.sin(this.D.L) * b), this.Kd = this.D.L);
  9100. 0 !== this.Am && (b = Na(0, 0, this.sb, this.ib), c = 0 === this.sb && 0 === this.ib ? this.D.L : Ia(0, 0, this.sb, this.ib),
  9101. b += this.Am * a, 0 > b && (b = 0), this.sb = Math.cos(c) * b, this.ib = Math.sin(c) * b);
  9102. 0 !== this.Qm && (this.ib += this.Qm * a);
  9103. this.Wi = this.D.x;
  9104. this.Xi = this.D.y;
  9105. if (0 !== this.sb || 0 !== this.ib)
  9106. if (this.D.x += this.sb * a, this.D.y += this.ib * a, this.xr += Na(0, 0, this.sb * a, this.ib * a), this.gv && (this.D.L = Ia(0, 0, this.sb, this.ib), this.D.ka(), this.Kd = this.D.L), this.D.ka(), this.SB && (b = this.c.Ek(this.D)))
  9107. this.c.rz(this.D, b), b = Na(0, 0, this.sb, this.ib), c = this.c.WB(this.D, this.Wi, this.Xi), this.sb = Math.cos(c) * b, this.ib = Math.sin(c) * b, this.D.x += this.sb *
  9108. a, this.D.y += this.ib * a, this.D.ka(), this.gv && (this.Kd = this.D.L = c, this.D.ka()), this.c.cF(this.D, this.sb / b, this.ib / b, Math.max(2.5 * b * a, 30)) || this.c.dF(this.D)
  9109. }
  9110. };
  9111. c.B = new(s());
  9112. a.prototype.um = function (a) {
  9113. var b = Ia(0, 0, this.sb, this.ib);
  9114. this.sb = Math.cos(b) * a;
  9115. this.ib = Math.sin(b) * a
  9116. };
  9117. a.prototype.rw = aa("Am");
  9118. a.prototype.hs = aa("Qm");
  9119. a.prototype.Hb = function (a) {
  9120. this.enabled = 1 === a
  9121. };
  9122. c.A = new a;
  9123. c.W = new(s())
  9124. })();
  9125. function qc(a) {
  9126. this.c = a
  9127. }
  9128. (function () {
  9129. function a() {}
  9130. var c = qc.prototype;
  9131. c.rb = function (a) {
  9132. this.ba = a;
  9133. this.c = a.c
  9134. };
  9135. c.rb.prototype.Ca = s();
  9136. c.Za = function (a, b) {
  9137. this.type = a;
  9138. this.ba = a.ba;
  9139. this.D = b;
  9140. this.c = a.c
  9141. };
  9142. var b = c.Za.prototype;
  9143. b.Ca = function () {
  9144. var a = 1 === this.$[0];
  9145. this.Km = this.$[1];
  9146. this.ro = this.$[2];
  9147. this.Kp = this.$[3];
  9148. this.hC = this.$[4];
  9149. this.pf = a ? 0 : 3;
  9150. this.Re ? this.Of.reset() : this.Of = new Sa;
  9151. this.Ak = this.D.opacity ? this.D.opacity : 1;
  9152. a && (0 === this.Km ? (this.pf = 1, 0 === this.ro && (this.pf = 2)) : (this.D.opacity = 0, this.c.qb = !0))
  9153. };
  9154. b.Zc = function () {
  9155. return {
  9156. fit : this.Km,
  9157. wt : this.ro,
  9158. fot : this.Kp,
  9159. s : this.pf,
  9160. st : this.Of.Cb,
  9161. mo : this.Ak
  9162. }
  9163. };
  9164. b.Ad = function (a) {
  9165. this.Km = a.fit;
  9166. this.ro = a.wt;
  9167. this.Kp = a.fot;
  9168. this.pf = a.s;
  9169. this.Of.reset();
  9170. this.Of.Cb = a.st;
  9171. this.Ak = a.mo
  9172. };
  9173. b.tc = function () {
  9174. this.Of.add(this.c.$j(this.D));
  9175. 0 === this.pf && (this.D.opacity = this.Of.Cb / this.Km * this.Ak, this.c.qb = !0, this.D.opacity >= this.Ak && (this.D.opacity = this.Ak, this.pf = 1, this.Of.reset()));
  9176. 1 === this.pf && this.Of.Cb >= this.ro && (this.pf = 2, this.Of.reset());
  9177. 2 === this.pf && 0 !== this.Kp && (this.D.opacity = this.Ak - this.Of.Cb / this.Kp * this.Ak,
  9178. this.c.qb = !0, 0 > this.D.opacity && (this.D.opacity = 0, this.pf = 3, this.Of.reset(), this.c.trigger(qc.prototype.B.OA, this.D), 1 === this.hC && this.c.pi(this.D)))
  9179. };
  9180. b.$G = function () {
  9181. this.pf = 0;
  9182. this.Of.reset();
  9183. 0 === this.Km ? (this.pf = 1, 0 === this.ro && (this.pf = 2)) : (this.D.opacity = 0, this.c.qb = !0)
  9184. };
  9185. a.prototype.OA = x(!0);
  9186. c.B = new a;
  9187. c.A = new(s())
  9188. })();
  9189. function rc(a, c) {
  9190. for (var b in c.prototype)
  9191. c.prototype.hasOwnProperty(b) && (a.prototype[b] = c.prototype[b])
  9192. }
  9193. if (navigator.isCocoonJS && "undefined" !== typeof window.cr_cjs_accelerated_physics)
  9194. fa("Using CocoonJS native physics"), window.ext && "undefined" !== typeof window.ext.IDTK_SRV_BOX2D ? function () {
  9195. function a(a, b, d, e) {
  9196. this.type = c.bl;
  9197. this.Jb = new n;
  9198. this.Kb = new n;
  9199. this.xg = null;
  9200. void 0 !== a && (this.P = a);
  9201. void 0 !== b && (this.R = b);
  9202. void 0 !== d && this.Jb.K(d);
  9203. void 0 !== e && this.Kb.K(e);
  9204. this.Fl = this.Hy = this.Bv = this.$t = this.dh = 0;
  9205. this.cl = this.Vj = !1
  9206. }
  9207. function c(a) {
  9208. this.P = a.P;
  9209. this.R = a.R;
  9210. this.xg = a.xg;
  9211. this.type = a.type;
  9212. this.next = null
  9213. }
  9214. function b(a,
  9215. b) {
  9216. this.Bq = [];
  9217. this.Sb = [];
  9218. this.sk = [];
  9219. this.Sh = null;
  9220. this.vE = [];
  9221. this.cc = window.ext.IDTK_SRV_BOX2D.makeCall("createWorld", a.x, a.y, b)
  9222. }
  9223. function d() {}
  9224. function e(a, b, c) {
  9225. this.Yb = a;
  9226. this.Rb = b;
  9227. this.CE = c
  9228. }
  9229. function f(a, b) {
  9230. var c = a.xg;
  9231. a.xg = null;
  9232. this.Ba = b;
  9233. this.H = new m(a.position, l.Pk(a.L));
  9234. this.wn = [];
  9235. this.Qh = a.lc;
  9236. a.type === f.Ze && (a.cg = 0);
  9237. this.Ac = window.ext.IDTK_SRV_BOX2D.makeCall("createBody", b.cc, a);
  9238. a.xg = c
  9239. }
  9240. function g(a, b, c, d) {
  9241. this.un = a;
  9242. this.eu = c;
  9243. this.Zh = {};
  9244. this.Zh.ee = n.C(0, 0);
  9245. this.Eq = !1;
  9246. this.Cq = d.cg;
  9247. this.gu = d.Ng;
  9248. this.Cn =
  9249. d.eh;
  9250. this.Eq = d.Dt
  9251. }
  9252. function h() {}
  9253. function m(a, b) {
  9254. this.position = n.C(0, 0);
  9255. this.q = new l;
  9256. void 0 === a && (a = null);
  9257. void 0 === b && (b = null);
  9258. a && (this.position.K(a), this.q.Uf(b))
  9259. }
  9260. function l() {
  9261. this.j = n.C(0, 0);
  9262. this.k = n.C(0, 0);
  9263. this.wi()
  9264. }
  9265. function n(a, b) {
  9266. void 0 === a && (a = 0);
  9267. void 0 === b && (b = 0);
  9268. this.x = a;
  9269. this.y = b
  9270. }
  9271. R = n;
  9272. n.wh = [];
  9273. n.C = function (a, b) {
  9274. if (0 < R.wh.length) {
  9275. var c = R.wh.pop();
  9276. c.Set(a, b);
  9277. return c
  9278. }
  9279. return new R(a, b)
  9280. };
  9281. n.wc = function (a) {
  9282. 1E4 > R.wh.length && R.wh.push(a)
  9283. };
  9284. n.prototype.la = function () {
  9285. this.y = this.x = 0
  9286. };
  9287. n.prototype.Set = function (a,
  9288. b) {
  9289. void 0 === a && (a = 0);
  9290. void 0 === b && (b = 0);
  9291. this.x = a;
  9292. this.y = b
  9293. };
  9294. n.prototype.K = function (a) {
  9295. this.x = a.x;
  9296. this.y = a.y
  9297. };
  9298. n.oG = function (a, b) {
  9299. void 0 === a && (a = 0);
  9300. void 0 === b && (b = 0);
  9301. return n.C(a, b)
  9302. };
  9303. n.prototype.Gc = function () {
  9304. return n.C(this.x, this.y)
  9305. };
  9306. n.prototype.oh = function (a) {
  9307. this.x += a.x;
  9308. this.y += a.y
  9309. };
  9310. n.prototype.ms = function (a) {
  9311. this.x -= a.x;
  9312. this.y -= a.y
  9313. };
  9314. n.prototype.Vd = function (a) {
  9315. void 0 === a && (a = 0);
  9316. this.x *= a;
  9317. this.y *= a
  9318. };
  9319. n.prototype.Eg = function () {
  9320. return Math.sqrt(this.x * this.x + this.y * this.y)
  9321. };
  9322. n.prototype.Lo = function () {
  9323. return this.x *
  9324. this.x + this.y * this.y
  9325. };
  9326. n.prototype.Wd = function () {
  9327. var a = Math.sqrt(this.x * this.x + this.y * this.y);
  9328. if (a < Number.MIN_VALUE)
  9329. return 0;
  9330. var b = 1 / a;
  9331. this.x *= b;
  9332. this.y *= b;
  9333. return a
  9334. };
  9335. n.prototype.Yr = function () {
  9336. this.x = -this.x;
  9337. this.y = -this.y
  9338. };
  9339. sc = l;
  9340. l.Pk = function (a) {
  9341. void 0 === a && (a = 0);
  9342. var b = new l;
  9343. b.Set(a);
  9344. return b
  9345. };
  9346. l.Dg = function (a, b) {
  9347. var c = new l;
  9348. c.ks(a, b);
  9349. return c
  9350. };
  9351. l.prototype.Set = function (a) {
  9352. void 0 === a && (a = 0);
  9353. var b = Math.cos(a);
  9354. a = Math.sin(a);
  9355. this.j.x = b;
  9356. this.k.x = -a;
  9357. this.j.y = a;
  9358. this.k.y = b
  9359. };
  9360. l.prototype.ks = function (a, b) {
  9361. this.j.K(a);
  9362. this.k.K(b)
  9363. };
  9364. l.prototype.Gc = function () {
  9365. var a = new l;
  9366. a.Uf(this);
  9367. return a
  9368. };
  9369. l.prototype.Uf = function (a) {
  9370. this.j.K(a.j);
  9371. this.k.K(a.k)
  9372. };
  9373. l.prototype.so = function (a) {
  9374. this.j.x += a.j.x;
  9375. this.j.y += a.j.y;
  9376. this.k.x += a.k.x;
  9377. this.k.y += a.k.y
  9378. };
  9379. l.prototype.wi = function () {
  9380. this.j.x = 1;
  9381. this.k.x = 0;
  9382. this.j.y = 0;
  9383. this.k.y = 1
  9384. };
  9385. l.prototype.la = function () {
  9386. this.j.x = 0;
  9387. this.k.x = 0;
  9388. this.j.y = 0;
  9389. this.k.y = 0
  9390. };
  9391. l.prototype.Td = function () {
  9392. return Math.atan2(this.j.y, this.j.x)
  9393. };
  9394. l.prototype.Or = function (a) {
  9395. var b = this.j.x,
  9396. c = this.k.x,
  9397. d = this.j.y,
  9398. e = this.k.y,
  9399. f = b * e - c * d;
  9400. 0 !== f && (f = 1 / f);
  9401. a.j.x = f * e;
  9402. a.k.x = -f * c;
  9403. a.j.y = -f * d;
  9404. a.k.y = f * b;
  9405. return a
  9406. };
  9407. l.prototype.xi = function (a, b, c) {
  9408. void 0 === b && (b = 0);
  9409. void 0 === c && (c = 0);
  9410. var d = this.j.x,
  9411. e = this.k.x,
  9412. f = this.j.y,
  9413. g = this.k.y,
  9414. h = d * g - e * f;
  9415. 0 !== h && (h = 1 / h);
  9416. a.x = h * (g * b - e * c);
  9417. a.y = h * (d * c - f * b);
  9418. return a
  9419. };
  9420. l.prototype.nh = function () {
  9421. this.j.nh();
  9422. this.k.nh()
  9423. };
  9424. tc = m;
  9425. m.prototype.xc = function (a, b) {
  9426. this.position.K(a);
  9427. this.q.Uf(b)
  9428. };
  9429. m.prototype.wi = function () {
  9430. this.position.la();
  9431. this.q.wi()
  9432. };
  9433. m.prototype.Set = function (a) {
  9434. this.position.K(a.position);
  9435. this.q.Uf(a.q)
  9436. };
  9437. m.prototype.vi = function () {
  9438. return Math.atan2(this.q.j.y, this.q.j.x)
  9439. };
  9440. U = h;
  9441. h.Ko = function (a) {
  9442. void 0 === a && (a = 0);
  9443. return isFinite(a)
  9444. };
  9445. h.Ub = function (a, b) {
  9446. return a.x * b.x + a.y * b.y
  9447. };
  9448. h.wj = function (a, b) {
  9449. return a.x * b.y - a.y * b.x
  9450. };
  9451. h.qh = function (a, b) {
  9452. void 0 === b && (b = 0);
  9453. return n.C(b * a.y, -b * a.x)
  9454. };
  9455. h.Jr = function (a, b) {
  9456. void 0 === a && (a = 0);
  9457. return n.C(-a * b.y, a * b.x)
  9458. };
  9459. h.kc = function (a, b) {
  9460. return n.C(a.j.x * b.x + a.k.x * b.y, a.j.y * b.x + a.k.y * b.y)
  9461. };
  9462. h.sh = function (a, b) {
  9463. return n.C(h.Ub(b, a.j), h.Ub(b, a.k))
  9464. };
  9465. h.Sc = function (a, b) {
  9466. var c = h.kc(a.q,
  9467. b);
  9468. c.x += a.position.x;
  9469. c.y += a.position.y;
  9470. return c
  9471. };
  9472. h.Wr = function (a, b) {
  9473. var c = h.Ib(b, a.position),
  9474. d = c.x * a.q.j.x + c.y * a.q.j.y;
  9475. c.y = c.x * a.q.k.x + c.y * a.q.k.y;
  9476. c.x = d;
  9477. return c
  9478. };
  9479. h.cm = function (a, b) {
  9480. return n.C(a.x + b.x, a.y + b.y)
  9481. };
  9482. h.Ib = function (a, b) {
  9483. return n.C(a.x - b.x, a.y - b.y)
  9484. };
  9485. h.vA = function (a, b) {
  9486. var c = a.x - b.x,
  9487. d = a.y - b.y;
  9488. return Math.sqrt(c * c + d * d)
  9489. };
  9490. h.Rv = function (a, b) {
  9491. var c = a.x - b.x,
  9492. d = a.y - b.y;
  9493. return c * c + d * d
  9494. };
  9495. h.GA = function (a, b) {
  9496. void 0 === a && (a = 0);
  9497. return n.C(a * b.x, a * b.y)
  9498. };
  9499. h.mA = function (a, b) {
  9500. return l.Dg(h.cm(a.j, b.j), h.cm(a.k,
  9501. b.k))
  9502. };
  9503. h.HA = function (a, b) {
  9504. return l.Dg(h.kc(a, b.j), h.kc(a, b.k))
  9505. };
  9506. h.IA = function (a, b) {
  9507. var c = n.C(h.Ub(a.j, b.j), h.Ub(a.k, b.j)),
  9508. d = n.C(h.Ub(a.j, b.k), h.Ub(a.k, b.k));
  9509. return l.Dg(c, d)
  9510. };
  9511. h.nh = function (a) {
  9512. void 0 === a && (a = 0);
  9513. return 0 < a ? a : -a
  9514. };
  9515. h.Zl = function (a) {
  9516. return n.C(h.nh(a.x), h.nh(a.y))
  9517. };
  9518. h.kA = function (a) {
  9519. return l.Dg(h.Zl(a.j), h.Zl(a.k))
  9520. };
  9521. h.aw = function (a, b) {
  9522. void 0 === a && (a = 0);
  9523. void 0 === b && (b = 0);
  9524. return a < b ? a : b
  9525. };
  9526. h.bw = function (a, b) {
  9527. return n.C(h.aw(a.x, b.x), h.aw(a.y, b.y))
  9528. };
  9529. h.Zv = function (a, b) {
  9530. void 0 === a && (a = 0);
  9531. void 0 ===
  9532. b && (b = 0);
  9533. return a > b ? a : b
  9534. };
  9535. h.$v = function (a, b) {
  9536. return n.C(h.Zv(a.x, b.x), h.Zv(a.y, b.y))
  9537. };
  9538. h.Nb = function (a, b, c) {
  9539. void 0 === a && (a = 0);
  9540. void 0 === b && (b = 0);
  9541. void 0 === c && (c = 0);
  9542. return a < b ? b : a > c ? c : a
  9543. };
  9544. h.pA = function (a, b, c) {
  9545. return h.$v(b, h.bw(a, c))
  9546. };
  9547. h.SG = function (a, b) {
  9548. var c = a[0];
  9549. a[0] = b[0];
  9550. b[0] = c
  9551. };
  9552. h.BG = function () {
  9553. return 2 * Math.random() - 1
  9554. };
  9555. h.CG = function (a, b) {
  9556. void 0 === a && (a = 0);
  9557. void 0 === b && (b = 0);
  9558. var c = Math.random();
  9559. return (b - a) * c + a
  9560. };
  9561. h.tG = function (a) {
  9562. void 0 === a && (a = 0);
  9563. a |= a >> 1 & 2147483647;
  9564. a |= a >> 2 & 1073741823;
  9565. a |= a >> 4 & 268435455;
  9566. a |= a >> 8 & 16777215;
  9567. return (a | a >> 16 & 65535) + 1
  9568. };
  9569. h.lG = function (a) {
  9570. void 0 === a && (a = 0);
  9571. return 0 < a && 0 === (a & a - 1)
  9572. };
  9573. h.PB = new n(0, 0);
  9574. h.OB = l.Dg(new n(1, 0), new n(0, 1));
  9575. h.ZG = new m(h.PB, h.OB);
  9576. V = function () {
  9577. this.position = n.C(0, 0);
  9578. this.Tt = n.C(0, 0);
  9579. this.xg = null;
  9580. this.L = 0;
  9581. this.Tt.Set(0, 0);
  9582. this.Kj = this.kk = this.Rw = 0;
  9583. this.Vw = this.Ow = !0;
  9584. this.Nj = this.Vs = !1;
  9585. this.type = f.Ze;
  9586. this.lc = !0;
  9587. this.Xx = 1
  9588. };
  9589. uc = g;
  9590. g.prototype.Ya = w("un");
  9591. g.prototype.Rc = function () {
  9592. console.log("fixture.GetShape not yet supported in CocoonJS Box2D binding");
  9593. return null
  9594. };
  9595. g.prototype.Bj = w("Eq");
  9596. vc = f;
  9597. f.prototype.Lk = function (a) {
  9598. var b = a.xg;
  9599. a.xg = null;
  9600. var c = window.ext.IDTK_SRV_BOX2D.makeCall("createFixture", this.Ba.cc, this.Ac, a);
  9601. a.xg = b;
  9602. a = new g(this, 0, c, a);
  9603. this.Ba.sk[c] = a;
  9604. this.wn.push(a);
  9605. return a
  9606. };
  9607. f.prototype.Nr = function () {
  9608. return 0 === this.wn.length ? null : this.wn[0]
  9609. };
  9610. f.prototype.Qv = function (a) {
  9611. window.ext.IDTK_SRV_BOX2D.makeCall("deleteFixture", this.Ba.cc, a.eu);
  9612. delete this.Ba.sk[a.eu]
  9613. };
  9614. f.prototype.tm = function (a, b) {
  9615. window.ext.IDTK_SRV_BOX2D.makeCall("setBodyTransform", this.Ba.cc,
  9616. this.Ac, a.x, a.y, b);
  9617. this.H.q.Set(b);
  9618. this.H.position.K(a)
  9619. };
  9620. f.prototype.js = function (a) {
  9621. this.tm(a, this.Td())
  9622. };
  9623. f.prototype.yj = function () {
  9624. var a = window.ext.IDTK_SRV_BOX2D.makeCall("getLinearVelocity", this.Ba.cc, this.Ac);
  9625. return n.C(a[0], a[1])
  9626. };
  9627. f.prototype.Rk = function () {
  9628. var a = window.ext.IDTK_SRV_BOX2D.makeCall("getWorldCenter", this.Ba.cc, this.Ac);
  9629. return n.C(a[0], a[1])
  9630. };
  9631. f.prototype.zj = function () {
  9632. var a = window.ext.IDTK_SRV_BOX2D.makeCall("getLocalCenter", this.Ba.cc, this.Ac);
  9633. return n.C(a[0], a[1])
  9634. };
  9635. f.prototype.Hd =
  9636. function (a) {
  9637. return h.Wr(this.H, a)
  9638. };
  9639. f.prototype.Qk = function () {
  9640. return window.ext.IDTK_SRV_BOX2D.makeCall("getMass", this.Ba.cc, this.Ac)
  9641. };
  9642. f.prototype.Id = function () {
  9643. return window.ext.IDTK_SRV_BOX2D.makeCall("isAwake", this.Ba.cc, this.Ac)
  9644. };
  9645. f.prototype.Eo = function () {
  9646. return window.ext.IDTK_SRV_BOX2D.makeCall("getAngularVelocity", this.Ba.cc, this.Ac)
  9647. };
  9648. f.prototype.dd = function (a) {
  9649. window.ext.IDTK_SRV_BOX2D.makeCall("setAwake", this.Ba.cc, this.Ac, a)
  9650. };
  9651. f.prototype.Ej = function (a) {
  9652. window.ext.IDTK_SRV_BOX2D.makeCall("setLinearVelocity",
  9653. this.Ba.cc, this.Ac, a.x, a.y)
  9654. };
  9655. f.prototype.zg = function (a, b, c) {
  9656. window.ext.IDTK_SRV_BOX2D.makeCall("applyForce", this.Ba.cc, this.Ac, a.x, a.y, b.x, b.y, c)
  9657. };
  9658. f.prototype.to = function (a, b) {
  9659. window.ext.IDTK_SRV_BOX2D.makeCall("applyTorque", this.Ba.cc, this.Ac, a, b)
  9660. };
  9661. f.prototype.qm = function (a) {
  9662. window.ext.IDTK_SRV_BOX2D.makeCall("setAngularVelocity", this.Ba.cc, this.Ac, a)
  9663. };
  9664. f.prototype.Cj = function (a) {
  9665. window.ext.IDTK_SRV_BOX2D.makeCall("setActive", this.Ba.cc, this.Ac, a);
  9666. this.Qh = a
  9667. };
  9668. f.prototype.rh = w("Qh");
  9669. f.prototype.Td =
  9670. function () {
  9671. return this.H.q.Td()
  9672. };
  9673. f.prototype.vi = function (a) {
  9674. void 0 === a && (a = 0);
  9675. this.tm(this.H.position, a)
  9676. };
  9677. f.prototype.ri = function () {
  9678. for (var a = window.ext.IDTK_SRV_BOX2D.makeCall("getObjectContacts", this.Ba.cc, this.Ac), b = [], c = 0; c < a.length; c++)
  9679. b.push(this.Ba.Bq[a[c]]);
  9680. return b
  9681. };
  9682. vc.Ze = 0;
  9683. vc.Xw = 1;
  9684. vc.Tc = 2;
  9685. e.prototype.Sr = w("CE");
  9686. wc = d;
  9687. d.prototype.uo = s();
  9688. wc.Ww = new d;
  9689. xc = s();
  9690. yc = b;
  9691. b.prototype.xw = aa("Sh");
  9692. b.prototype.ww = function (a) {
  9693. var b = this;
  9694. window.ext.IDTK_SRV_BOX2D.makeCall("setContactFilter", this.cc, function (c,
  9695. d) {
  9696. return a.Gj(b.sk[c], b.sk[d])
  9697. })
  9698. };
  9699. b.prototype.Ir = function (a) {
  9700. a = new f(a, this);
  9701. return this.Bq[a.Ac] = a
  9702. };
  9703. b.prototype.Ao = function (a) {
  9704. window.ext.IDTK_SRV_BOX2D.makeCall("deleteBody", this.cc, a.Ac);
  9705. delete this.Bq[a.Ac];
  9706. for (var b = 0; b < a.wn.length; ++b)
  9707. delete this.sk[a.wn[b].eu]
  9708. };
  9709. b.prototype.zo = function (a) {
  9710. if (a.P.Ac !== a.R.Ac) {
  9711. var b = a.P,
  9712. d = a.R;
  9713. a.P = b.Ac;
  9714. a.R = d.Ac;
  9715. var e = "createDistanceJoint";
  9716. a.type === c.bl && (e = "createRevoluteJoint");
  9717. var f = new c(a);
  9718. f.uE = window.ext.IDTK_SRV_BOX2D.makeCall(e, this.cc, a);
  9719. a.P = b;
  9720. a.R = d;
  9721. this.vE.push(f);
  9722. return f
  9723. }
  9724. };
  9725. b.prototype.Bo = function (a) {
  9726. window.ext.IDTK_SRV_BOX2D.makeCall("destroyJoint", this.cc, a.uE)
  9727. };
  9728. b.prototype.hs = function (a) {
  9729. window.ext.IDTK_SRV_BOX2D.makeCall("setGravity", this.cc, a.x, a.y)
  9730. };
  9731. b.prototype.vh = function (a, b, c) {
  9732. c = window.ext.IDTK_SRV_BOX2D.makeCall("step", this.cc, a, b, c);
  9733. b = c[0];
  9734. for (a = 1; a <= 4 * b; a += 4) {
  9735. var d = this.Bq[c[a + 0]];
  9736. if (null === d)
  9737. break;
  9738. d.H.position.Set(c[a + 1], c[a + 2]);
  9739. d.H.q.Set(c[a + 3])
  9740. }
  9741. if (null !== this.Sh)
  9742. for (c = window.ext.IDTK_SRV_BOX2D.makeCall("getLastContacts", this.cc), b = c[0], a = 1; a <=
  9743. 3 * b; a += 3) {
  9744. var d = c[a + 2],
  9745. f = this.sk[c[a + 0]],
  9746. g = this.sk[c[a + 1]];
  9747. "undefined" === typeof f || "undefined" === typeof g ? console.log("One of the fixtures in a contact DOESN'T EXIST!!") : this.Sh.uo(new e(f, g, d))
  9748. }
  9749. };
  9750. b.prototype.Pv = function () {
  9751. window.ext.IDTK_SRV_BOX2D.makeCall("clearForces", this.cc)
  9752. };
  9753. zc = function (a) {
  9754. this.Wq = a;
  9755. this.type = "circle"
  9756. };
  9757. W = s();
  9758. W.prototype.Po = function (a, b) {
  9759. this.type = "box";
  9760. this.width = a;
  9761. this.height = b
  9762. };
  9763. W.prototype.sw = function () {
  9764. this.type = "edge"
  9765. };
  9766. W.prototype.rm = function (a, b) {
  9767. this.type = "polygon";
  9768. this.gA =
  9769. [];
  9770. for (var c = 0; c < b; c++)
  9771. this.gA.push(a[c].x), this.gA.push(a[c].y)
  9772. };
  9773. Ac = function () {
  9774. this.xg = this.shape = null;
  9775. this.Ng = 0.2;
  9776. this.cg = this.eh = 0;
  9777. this.Dt = !1;
  9778. this.filter = {
  9779. Zk : 1,
  9780. Dl : 65535,
  9781. Si : 0
  9782. }
  9783. };
  9784. X = c;
  9785. c.prototype.em = w("P");
  9786. c.prototype.Mr = w("R");
  9787. c.prototype.bd = w("type");
  9788. c.Ps = 0;
  9789. c.bl = 1;
  9790. Bc = function (a, b, d, e) {
  9791. this.type = c.Ps;
  9792. this.Jb = n.C(0, 0);
  9793. this.Kb = n.C(0, 0);
  9794. this.xg = null;
  9795. void 0 !== a && (this.P = a);
  9796. void 0 !== b && (this.R = b);
  9797. void 0 !== d && this.Jb.K(d);
  9798. void 0 !== e && this.Kb.K(e);
  9799. void 0 !== d && void 0 !== e && (a = e.x - d.x, d = e.y - d.y, this.length =
  9800. Math.sqrt(a * a + d * d));
  9801. this.Cp = this.Rp = 0
  9802. };
  9803. a.prototype.xc = function (a, b, c) {
  9804. this.P = a;
  9805. this.R = b;
  9806. this.Jb = this.P.Hd(c);
  9807. this.Kb = this.R.Hd(c);
  9808. this.dh = this.R.Td() - this.P.Td()
  9809. };
  9810. Cc = a
  9811. }
  9812. () : console.log("The CocoonJS binding for Box2D has been ignored because ext.IDTK_SRV_BOX2D is not available");
  9813. else {
  9814. var U = {},
  9815. Dc = 2 / 180 * Math.PI,
  9816. Ec = 8 / 180 * Math.PI,
  9817. Fc = 0.5 * Math.PI,
  9818. Gc = Fc * Fc,
  9819. Hc = 2 / 180 * Math.PI,
  9820. Ic = Number.MIN_VALUE * Number.MIN_VALUE;
  9821. U.Ub = function (a, c) {
  9822. return a.x * c.x + a.y * c.y
  9823. };
  9824. U.wj = function (a, c) {
  9825. return a.x * c.y - a.y * c.x
  9826. };
  9827. U.qh = function (a,
  9828. c) {
  9829. return R.C(c * a.y, -c * a.x)
  9830. };
  9831. U.Jr = function (a, c) {
  9832. return R.C(-a * c.y, a * c.x)
  9833. };
  9834. U.kc = function (a, c) {
  9835. return R.C(a.j.x * c.x + a.k.x * c.y, a.j.y * c.x + a.k.y * c.y)
  9836. };
  9837. U.sh = function (a, c) {
  9838. return R.C(U.Ub(c, a.j), U.Ub(c, a.k))
  9839. };
  9840. U.Sc = function (a, c) {
  9841. var b = U.kc(a.q, c);
  9842. b.x += a.position.x;
  9843. b.y += a.position.y;
  9844. return b
  9845. };
  9846. U.Wr = function (a, c) {
  9847. var b = U.Ib(c, a.position),
  9848. d = b.x * a.q.j.x + b.y * a.q.j.y;
  9849. b.y = b.x * a.q.k.x + b.y * a.q.k.y;
  9850. b.x = d;
  9851. return b
  9852. };
  9853. U.cm = function (a, c) {
  9854. return R.C(a.x + c.x, a.y + c.y)
  9855. };
  9856. U.Ib = function (a, c) {
  9857. return R.C(a.x - c.x, a.y - c.y)
  9858. };
  9859. U.vA = function (a,
  9860. c) {
  9861. return Math.sqrt(U.Rv(a, c))
  9862. };
  9863. U.Rv = function (a, c) {
  9864. var b = a.x - c.x,
  9865. d = a.y - c.y;
  9866. return b * b + d * d
  9867. };
  9868. U.GA = function (a, c) {
  9869. return R.C(a * c.x, a * c.y)
  9870. };
  9871. U.mA = function (a, c) {
  9872. return sc.Dg(U.cm(a.j, c.j), U.cm(a.k, c.k))
  9873. };
  9874. U.HA = function (a, c) {
  9875. return sc.Dg(U.kc(a, c.j), U.kc(a, c.k))
  9876. };
  9877. U.IA = function (a, c) {
  9878. var b = R.C(U.Ub(a.j, c.j), U.Ub(a.k, c.j)),
  9879. d = R.C(U.Ub(a.j, c.k), U.Ub(a.k, c.k));
  9880. return sc.Dg(b, d)
  9881. };
  9882. U.Zl = function (a) {
  9883. return R.C(Math.abs(a.x), Math.abs(a.y))
  9884. };
  9885. U.kA = function (a) {
  9886. return sc.Dg(U.Zl(a.j), U.Zl(a.k))
  9887. };
  9888. U.Nb = function (a, c, b) {
  9889. return a <
  9890. c ? c : a > b ? b : a
  9891. };
  9892. U.pA = function (a, c, b) {
  9893. return R.C(U.Nb(a.x, c.x, b.x), U.Nb(a.y, c.y, b.y))
  9894. };
  9895. var sc = function () {
  9896. this.j = R.C(0, 0);
  9897. this.k = R.C(0, 0);
  9898. this.wi()
  9899. };
  9900. sc.Pk = function (a) {
  9901. var c = new sc;
  9902. c.Set(a);
  9903. return c
  9904. };
  9905. sc.Dg = function (a, c) {
  9906. var b = new sc;
  9907. b.ks(a, c);
  9908. return b
  9909. };
  9910. z = sc.prototype;
  9911. z.Set = function (a) {
  9912. var c = Math.cos(a);
  9913. a = Math.sin(a);
  9914. this.j.Set(c, a);
  9915. this.k.Set(-a, c)
  9916. };
  9917. z.ks = function (a, c) {
  9918. this.j.K(a);
  9919. this.k.K(c)
  9920. };
  9921. z.Gc = function () {
  9922. var a = new sc;
  9923. a.Uf(this);
  9924. return a
  9925. };
  9926. z.Uf = function (a) {
  9927. this.j.K(a.j);
  9928. this.k.K(a.k)
  9929. };
  9930. z.so = function (a) {
  9931. this.j.oh(a.j);
  9932. this.k.oh(a.k)
  9933. };
  9934. z.wi = function () {
  9935. this.j.Set(1, 0);
  9936. this.k.Set(0, 1)
  9937. };
  9938. z.la = function () {
  9939. this.j.Set(0, 0);
  9940. this.k.Set(0, 0)
  9941. };
  9942. z.Td = function () {
  9943. return Math.atan2(this.j.y, this.j.x)
  9944. };
  9945. z.Or = function (a) {
  9946. var c = this.j.x * this.k.y - this.k.x * this.j.y;
  9947. 0 !== c && (c = 1 / c);
  9948. a.j.x = c * this.k.y;
  9949. a.k.x = -c * this.k.x;
  9950. a.j.y = -c * this.j.y;
  9951. a.k.y = c * this.j.x;
  9952. return a
  9953. };
  9954. z.xi = function (a, c, b) {
  9955. var d = this.j.x * this.k.y - this.k.x * this.j.y;
  9956. 0 !== d && (d = 1 / d);
  9957. a.x = d * (this.k.y * c - this.k.x * b);
  9958. a.y = d * (this.j.x * b - this.j.y * c);
  9959. return a
  9960. };
  9961. z.nh = function () {
  9962. this.j.nh();
  9963. this.k.nh()
  9964. };
  9965. var Kc = function (a, c, b) {
  9966. this.j = new Jc(0, 0, 0);
  9967. this.k = new Jc(0, 0, 0);
  9968. this.wa = new Jc(0, 0, 0);
  9969. a && this.j.K(a);
  9970. c && this.k.K(c);
  9971. b && this.wa.K(b)
  9972. };
  9973. z = Kc.prototype;
  9974. z.Gc = function () {
  9975. return new Kc(this.j, this.k, this.wa)
  9976. };
  9977. z.Uf = function (a) {
  9978. this.j.K(a.j);
  9979. this.k.K(a.k);
  9980. this.wa.K(a.wa)
  9981. };
  9982. z.so = function (a) {
  9983. this.j.x += a.j.x;
  9984. this.j.y += a.j.y;
  9985. this.j.z += a.j.z;
  9986. this.k.x += a.k.x;
  9987. this.k.y += a.k.y;
  9988. this.k.z += a.k.z;
  9989. this.wa.x += a.wa.x;
  9990. this.wa.y += a.wa.y;
  9991. this.wa.z += a.wa.z
  9992. };
  9993. z.wi = function () {
  9994. this.j.Set(1, 0, 0);
  9995. this.k.Set(0, 1, 0);
  9996. this.wa.Set(0, 0,
  9997. 1)
  9998. };
  9999. z.la = function () {
  10000. this.j.Set(0, 0, 0);
  10001. this.k.Set(0, 0, 0);
  10002. this.wa.Set(0, 0, 0)
  10003. };
  10004. z.Wk = function (a, c, b) {
  10005. var d = this.j.x,
  10006. e = this.k.x,
  10007. f = this.j.y,
  10008. g = this.k.y,
  10009. h = d * g - e * f;
  10010. 0 != h && (h = 1 / h);
  10011. a.x = h * (g * c - e * b);
  10012. a.y = h * (d * b - f * c);
  10013. return a
  10014. };
  10015. z.wm = function (a, c, b, d) {
  10016. var e = this.j.x,
  10017. f = this.j.y,
  10018. g = this.j.z,
  10019. h = this.k.x,
  10020. m = this.k.y,
  10021. l = this.k.z,
  10022. n = this.wa.x,
  10023. k = this.wa.y,
  10024. p = this.wa.z,
  10025. q = e * (m * p - l * k) + f * (l * n - h * p) + g * (h * k - m * n);
  10026. 0 != q && (q = 1 / q);
  10027. a.x = q * (c * (m * p - l * k) + b * (l * n - h * p) + d * (h * k - m * n));
  10028. a.y = q * (e * (b * p - d * k) + f * (d * n - c * p) + g * (c * k - b * n));
  10029. a.z = q * (e * (m * d - l * b) + f *
  10030. (l * c - h * d) + g * (h * b - m * c));
  10031. return a
  10032. };
  10033. var Lc = function () {
  10034. this.S = R.C(0, 0);
  10035. this.fd = R.C(0, 0);
  10036. this.F = R.C(0, 0)
  10037. };
  10038. Lc.prototype.Set = function (a) {
  10039. this.S.K(a.S);
  10040. this.fd.K(a.fd);
  10041. this.F.K(a.F);
  10042. this.uf = a.uf;
  10043. this.O = a.O;
  10044. this.Qd = a.Qd
  10045. };
  10046. Lc.prototype.Gc = function () {
  10047. var a = new Lc;
  10048. a.S.K(this.S);
  10049. a.fd.K(this.fd);
  10050. a.F.K(this.F);
  10051. a.uf = this.uf;
  10052. a.O = this.O;
  10053. a.Qd = this.Qd;
  10054. return a
  10055. };
  10056. Lc.prototype.we = function (a, c) {
  10057. void 0 === c && (c = 0);
  10058. a.position.x = (1 - c) * this.fd.x + c * this.F.x;
  10059. a.position.y = (1 - c) * this.fd.y + c * this.F.y;
  10060. a.q.Set((1 - c) * this.uf + c * this.O);
  10061. var b = a.q;
  10062. a.position.x -= b.j.x * this.S.x + b.k.x * this.S.y;
  10063. a.position.y -= b.j.y * this.S.x + b.k.y * this.S.y
  10064. };
  10065. Lc.prototype.oi = function (a) {
  10066. void 0 === a && (a = 0);
  10067. if (this.Qd < a && 1 - this.Qd > Number.MIN_VALUE) {
  10068. var c = (a - this.Qd) / (1 - this.Qd);
  10069. this.fd.x = (1 - c) * this.fd.x + c * this.F.x;
  10070. this.fd.y = (1 - c) * this.fd.y + c * this.F.y;
  10071. this.uf = (1 - c) * this.uf + c * this.O;
  10072. this.Qd = a
  10073. }
  10074. };
  10075. var tc = function (a, c) {
  10076. this.position = R.C(0, 0);
  10077. this.q = new sc;
  10078. a && this.position.K(a);
  10079. c && this.q.Uf(c)
  10080. };
  10081. tc.prototype.xc = function (a, c) {
  10082. this.position.K(a);
  10083. this.q.Uf(c)
  10084. };
  10085. tc.prototype.wi =
  10086. function () {
  10087. this.position.la();
  10088. this.q.wi()
  10089. };
  10090. tc.prototype.Set = function (a) {
  10091. this.position.K(a.position);
  10092. this.q.Uf(a.q)
  10093. };
  10094. tc.prototype.Td = function () {
  10095. return Math.atan2(this.q.j.y, this.q.j.x)
  10096. };
  10097. var R = function (a, c) {
  10098. this.x = a;
  10099. this.y = c
  10100. };
  10101. R.wh = [];
  10102. R.C = function (a, c) {
  10103. if (0 < R.wh.length) {
  10104. var b = R.wh.pop();
  10105. b.Set(a, c);
  10106. return b
  10107. }
  10108. return new R(a, c)
  10109. };
  10110. R.wc = function (a) {
  10111. R.wh.push(a)
  10112. };
  10113. z = R.prototype;
  10114. z.la = function () {
  10115. this.y = this.x = 0
  10116. };
  10117. z.Set = function (a, c) {
  10118. this.x = a;
  10119. this.y = c
  10120. };
  10121. z.K = function (a) {
  10122. this.x = a.x;
  10123. this.y = a.y
  10124. };
  10125. z.si = function () {
  10126. return R.C(-this.x,
  10127. -this.y)
  10128. };
  10129. z.Yr = function () {
  10130. this.x = -this.x;
  10131. this.y = -this.y
  10132. };
  10133. z.Gc = function () {
  10134. return R.C(this.x, this.y)
  10135. };
  10136. z.oh = function (a) {
  10137. this.x += a.x;
  10138. this.y += a.y
  10139. };
  10140. z.ms = function (a) {
  10141. this.x -= a.x;
  10142. this.y -= a.y
  10143. };
  10144. z.Vd = function (a) {
  10145. this.x *= a;
  10146. this.y *= a
  10147. };
  10148. z.qh = function (a) {
  10149. var c = this.x;
  10150. this.x = a * this.y;
  10151. this.y = -a * c
  10152. };
  10153. z.Jr = function (a) {
  10154. var c = this.x;
  10155. this.x = -a * this.y;
  10156. this.y = a * c
  10157. };
  10158. z.bw = function (a) {
  10159. this.x = Math.min(this.x, a.x);
  10160. this.y = Math.min(this.y, a.y)
  10161. };
  10162. z.$v = function (a) {
  10163. this.x = Math.max(this.x, a.x);
  10164. this.y = Math.max(this.y, a.y)
  10165. };
  10166. z.nh = function () {
  10167. this.x =
  10168. Math.abs(this.x);
  10169. this.y = Math.abs(this.y)
  10170. };
  10171. z.Eg = function () {
  10172. return Math.sqrt(this.Lo())
  10173. };
  10174. z.Lo = function () {
  10175. return this.x * this.x + this.y * this.y
  10176. };
  10177. z.Wd = function () {
  10178. var a = this.Eg();
  10179. if (a < Number.MIN_VALUE)
  10180. return 0;
  10181. var c = 1 / a;
  10182. this.x *= c;
  10183. this.y *= c;
  10184. return a
  10185. };
  10186. z.Ko = function () {
  10187. return isFinite(this.x) && isFinite(this.y)
  10188. };
  10189. var Jc = function (a, c, b) {
  10190. this.x = a;
  10191. this.y = c;
  10192. this.z = b
  10193. };
  10194. z = Jc.prototype;
  10195. z.la = function () {
  10196. this.z = this.y = this.x = 0
  10197. };
  10198. z.Set = function (a, c, b) {
  10199. this.x = a;
  10200. this.y = c;
  10201. this.z = b
  10202. };
  10203. z.K = function (a) {
  10204. this.x = a.x;
  10205. this.y = a.y;
  10206. this.z =
  10207. a.z
  10208. };
  10209. z.si = function () {
  10210. return new Jc(-this.x, -this.y, -this.z)
  10211. };
  10212. z.Yr = function () {
  10213. this.x = -this.x;
  10214. this.y = -this.y;
  10215. this.z = -this.z
  10216. };
  10217. z.Gc = function () {
  10218. return new Jc(this.x, this.y, this.z)
  10219. };
  10220. z.oh = function (a) {
  10221. this.x += a.x;
  10222. this.y += a.y;
  10223. this.z += a.z
  10224. };
  10225. z.ms = function (a) {
  10226. this.x -= a.x;
  10227. this.y -= a.y;
  10228. this.z -= a.z
  10229. };
  10230. z.Vd = function (a) {
  10231. this.x *= a;
  10232. this.y *= a;
  10233. this.z *= a
  10234. };
  10235. var Mc = function () {
  10236. this.eb = 0.005
  10237. };
  10238. z = Mc.prototype;
  10239. z.Aj = s();
  10240. z.Gc = s();
  10241. z.Set = function (a) {
  10242. this.eb = a.eb
  10243. };
  10244. z.Kk = s();
  10245. z.dm = s();
  10246. z.yo = s();
  10247. z.gs = s();
  10248. var zc = function (a) {
  10249. this.eb = 0.005;
  10250. this.eb =
  10251. a;
  10252. this.Al = a * a;
  10253. this.wb = R.C(0, 0)
  10254. };
  10255. rc(zc, Mc);
  10256. z = zc.prototype;
  10257. z.Aj = function () {
  10258. return zc.Tf
  10259. };
  10260. z.Gc = function () {
  10261. var a = new zc(this.eb);
  10262. a.Set(this);
  10263. return a
  10264. };
  10265. z.Set = function (a) {
  10266. Mc.prototype.Set.call(this, a);
  10267. a instanceof zc && this.wb.K(a.wb)
  10268. };
  10269. z.Kk = function (a, c) {
  10270. var b = c.q,
  10271. d = c.position.x + (b.j.x * this.wb.x + b.k.x * this.wb.y),
  10272. b = c.position.y + (b.j.y * this.wb.x + b.k.y * this.wb.y);
  10273. a.La.Set(d - this.eb, b - this.eb);
  10274. a.Ma.Set(d + this.eb, b + this.eb)
  10275. };
  10276. z.dm = function (a, c) {
  10277. a.Zg = c * Math.PI * this.Al;
  10278. a.Ah.K(this.wb);
  10279. a.Sk = a.Zg * (0.5 * this.Al + (this.wb.x *
  10280. this.wb.x + this.wb.y * this.wb.y))
  10281. };
  10282. z.yo = function (a, c, b, d) {
  10283. b = U.Sc(b, this.wb);
  10284. var e = - (U.Ub(a, b) - c);
  10285. if (e < -this.eb + Number.MIN_VALUE)
  10286. return 0;
  10287. if (e > this.eb)
  10288. return d.K(b), Math.PI * this.Al;
  10289. c = e * e;
  10290. e = this.Al * (Math.asin(e / this.eb) + Math.PI / 2) + e * Math.sqrt(this.Al - c);
  10291. c = -2 / 3 * Math.pow(this.Al - c, 1.5) / e;
  10292. d.x = b.x + a.x * c;
  10293. d.y = b.y + a.y * c;
  10294. return e
  10295. };
  10296. z.gs = function (a) {
  10297. a.N = [this.wb];
  10298. a.ua = 1;
  10299. a.eb = this.eb
  10300. };
  10301. zc.Tf = "b2CircleShape";
  10302. var Nc = function (a, c) {
  10303. this.eb = 0.005;
  10304. this.va = a;
  10305. this.Na = c;
  10306. this.rk = R.C(this.Na.x - this.va.x, this.Na.y - this.va.y);
  10307. this.iu = this.rk.Wd();
  10308. this.za = R.C(this.rk.y, -this.rk.x);
  10309. R.C(-0.04 * (this.za.x - this.rk.x) + this.va.x, -0.04 * (this.za.y - this.rk.y) + this.va.y);
  10310. R.C(-0.04 * (this.za.x + this.rk.x) + this.Na.x, -0.04 * (this.za.y + this.rk.y) + this.Na.y);
  10311. R.C(-this.za.x, -this.za.y)
  10312. };
  10313. rc(Nc, Mc);
  10314. Nc.prototype.Aj = x("b2EdgeShape");
  10315. Nc.prototype.Kk = function (a, c) {
  10316. var b = c.q,
  10317. d = c.position.x + (b.j.x * this.va.x + b.k.x * this.va.y),
  10318. e = c.position.y + (b.j.y * this.va.x + b.k.y * this.va.y),
  10319. f = c.position.x + (b.j.x * this.Na.x + b.k.x * this.Na.y),
  10320. b = c.position.y + (b.j.y * this.Na.x +
  10321. b.k.y * this.Na.y);
  10322. d < f ? (a.La.x = d, a.Ma.x = f) : (a.La.x = f, a.Ma.x = d);
  10323. e < b ? (a.La.y = e, a.Ma.y = b) : (a.La.y = b, a.Ma.y = e)
  10324. };
  10325. Nc.prototype.dm = function (a) {
  10326. a.Zg = 0;
  10327. a.Ah.K(this.va);
  10328. a.Sk = 0
  10329. };
  10330. Nc.prototype.yo = function (a, c, b, d) {
  10331. void 0 === c && (c = 0);
  10332. var e = R.C(a.x * c, a.y * c),
  10333. f = U.Sc(b, this.va);
  10334. b = U.Sc(b, this.Na);
  10335. var g = U.Ub(a, f) - c;
  10336. a = U.Ub(a, b) - c;
  10337. if (0 < g) {
  10338. if (0 < a)
  10339. return 0;
  10340. f.x = -a / (g - a) * f.x + g / (g - a) * b.x;
  10341. f.y = -a / (g - a) * f.y + g / (g - a) * b.y
  10342. } else
  10343. 0 < a && (b.x = -a / (g - a) * f.x + g / (g - a) * b.x, b.y = -a / (g - a) * f.y + g / (g - a) * b.y);
  10344. d.x = (e.x + f.x + b.x) / 3;
  10345. d.y = (e.y + f.y + b.y) / 3;
  10346. return 0.5 *
  10347. ((f.x - e.x) * (b.y - e.y) - (f.y - e.y) * (b.x - e.x))
  10348. };
  10349. var Oc = function () {
  10350. this.Zg = 0;
  10351. this.Ah = R.C(0, 0);
  10352. this.Sk = 0
  10353. },
  10354. W = function () {
  10355. this.eb = 0.005;
  10356. this.ee = R.C(0, 0);
  10357. this.N = [];
  10358. this.Aa = []
  10359. };
  10360. rc(W, Mc);
  10361. W.prototype.Aj = function () {
  10362. return W.Tf
  10363. };
  10364. W.prototype.Gc = function () {
  10365. var a = new W;
  10366. a.Set(this);
  10367. return a
  10368. };
  10369. W.prototype.Set = function (a) {
  10370. Mc.prototype.Set.call(this, a);
  10371. if (a instanceof W) {
  10372. this.ee.K(a.ee);
  10373. this.Ra = a.Ra;
  10374. this.pm(this.Ra);
  10375. for (var c = 0; c < this.Ra; c++)
  10376. this.N[c].K(a.N[c]), this.Aa[c].K(a.Aa[c])
  10377. }
  10378. };
  10379. W.prototype.rm = function (a) {
  10380. this.uw(a)
  10381. };
  10382. W.QF = function (a) {
  10383. var c = new W;
  10384. c.rm(a);
  10385. return c
  10386. };
  10387. W.prototype.uw = function (a) {
  10388. var c = a.length;
  10389. this.Ra = c;
  10390. this.pm(c);
  10391. for (c = c = 0; c < this.Ra; c++)
  10392. this.N[c].K(a[c]);
  10393. for (c = 0; c < this.Ra; ++c)
  10394. a = U.Ib(this.N[c + 1 < this.Ra ? c + 1 : 0], this.N[c]), this.Aa[c].K(U.qh(a, 1)), this.Aa[c].Wd();
  10395. this.ee = W.tA(this.N, this.Ra)
  10396. };
  10397. W.UF = function (a) {
  10398. var c = new W;
  10399. c.uw(a);
  10400. return c
  10401. };
  10402. W.prototype.Po = function (a, c) {
  10403. this.Ra = 4;
  10404. this.pm(4);
  10405. this.N[0].Set(-a, -c);
  10406. this.N[1].Set(a, -c);
  10407. this.N[2].Set(a, c);
  10408. this.N[3].Set(-a, c);
  10409. this.Aa[0].Set(0, -1);
  10410. this.Aa[1].Set(1,
  10411. 0);
  10412. this.Aa[2].Set(0, 1);
  10413. this.Aa[3].Set(-1, 0);
  10414. this.ee.la()
  10415. };
  10416. W.RF = function (a, c) {
  10417. var b = new W;
  10418. b.Po(a, c);
  10419. return b
  10420. };
  10421. W.prototype.bB = function (a, c, b, d) {
  10422. this.Ra = 4;
  10423. this.pm(4);
  10424. this.N[0].Set(-a, -c);
  10425. this.N[1].Set(a, -c);
  10426. this.N[2].Set(a, c);
  10427. this.N[3].Set(-a, c);
  10428. this.Aa[0].Set(0, -1);
  10429. this.Aa[1].Set(1, 0);
  10430. this.Aa[2].Set(0, 1);
  10431. this.Aa[3].Set(-1, 0);
  10432. this.ee = b;
  10433. a = new sc;
  10434. a.Set(d);
  10435. b = new tc(b, a);
  10436. for (d = 0; d < this.Ra; ++d)
  10437. this.N[d] = U.Sc(b, this.N[d]), this.Aa[d] = U.kc(b.q, this.Aa[d])
  10438. };
  10439. W.TF = function (a, c, b, d) {
  10440. var e = new W;
  10441. e.bB(a, c, b, d);
  10442. return e
  10443. };
  10444. W.prototype.sw = function (a, c) {
  10445. this.Ra = 2;
  10446. this.pm(2);
  10447. this.N[0].K(a);
  10448. this.N[1].K(c);
  10449. this.ee.x = 0.5 * (a.x + c.x);
  10450. this.ee.y = 0.5 * (a.y + c.y);
  10451. this.Aa[0] = U.qh(U.Ib(c, a), 1);
  10452. this.Aa[0].Wd();
  10453. this.Aa[1].x = -this.Aa[0].x;
  10454. this.Aa[1].y = -this.Aa[0].y
  10455. };
  10456. W.SF = function (a, c) {
  10457. var b = new W;
  10458. b.sw(a, c);
  10459. return b
  10460. };
  10461. z = W.prototype;
  10462. z.Kk = function (a, c) {
  10463. for (var b = c.q, d = this.N[0], e = c.position.x + (b.j.x * d.x + b.k.x * d.y), f = c.position.y + (b.j.y * d.x + b.k.y * d.y), g = e, h = f, m = 1; m < this.Ra; ++m)
  10464. var d = this.N[m], l = c.position.x + (b.j.x * d.x + b.k.x * d.y), d = c.position.y +
  10465. (b.j.y * d.x + b.k.y * d.y), e = e < l ? e : l, f = f < d ? f : d, g = g > l ? g : l, h = h > d ? h : d;
  10466. a.La.x = e - this.eb;
  10467. a.La.y = f - this.eb;
  10468. a.Ma.x = g + this.eb;
  10469. a.Ma.y = h + this.eb
  10470. };
  10471. z.dm = function (a, c) {
  10472. if (2 == this.Ra)
  10473. a.Ah.x = 0.5 * (this.N[0].x + this.N[1].x), a.Ah.y = 0.5 * (this.N[0].y + this.N[1].y), a.Zg = 0, a.Sk = 0;
  10474. else {
  10475. for (var b = 0, d = 0, e = 0, f = 0, g = 1 / 3, h = 0; h < this.Ra; ++h)
  10476. var m = this.N[h], l = h + 1 < this.Ra ? this.N[h + 1] : this.N[0], n = m.x - 0, k = m.y - 0, p = l.x - 0, q = l.y - 0, r = n * q - k * p, v = 0.5 * r, e = e + v, b = b + v * g * (0 + m.x + l.x), d = d + v * g * (0 + m.y + l.y), m = n, f = f + r * (g * (0.25 * (m * m + p * m + p * p) + (0 * m + 0 * p)) + 0 + (g *
  10477. (0.25 * (k * k + q * k + q * q) + (0 * k + 0 * q)) + 0));
  10478. a.Zg = c * e;
  10479. a.Ah.Set(b * (1 / e), d * (1 / e));
  10480. a.Sk = c * f
  10481. }
  10482. };
  10483. z.yo = function (a, c, b, d) {
  10484. var e = U.sh(b.q, a),
  10485. f = c - U.Ub(a, b.position),
  10486. g = [],
  10487. h = 0,
  10488. m = -1;
  10489. c = -1;
  10490. var l = !1;
  10491. for (a = a = 0; a < this.Ra; ++a) {
  10492. g[a] = U.Ub(e, this.N[a]) - f;
  10493. var n = g[a] < -Number.MIN_VALUE;
  10494. 0 < a && (n ? l || (m = a - 1, h++) : l && (c = a - 1, h++));
  10495. l = n
  10496. }
  10497. switch (h) {
  10498. case 0:
  10499. return l ? (a = new Oc, this.dm(a, 1), d.K(U.Sc(b, a.Ah)), a.Zg) : 0;
  10500. case 1:
  10501. -1 == m ? m = this.Ra - 1 : c = this.Ra - 1
  10502. }
  10503. a = (m + 1) % this.Ra;
  10504. e = (c + 1) % this.Ra;
  10505. f = (0 - g[m]) / (g[a] - g[m]);
  10506. g = (0 - g[c]) / (g[e] - g[c]);
  10507. m = R.C(this.N[m].x *
  10508. (1 - f) + this.N[a].x * f, this.N[m].y * (1 - f) + this.N[a].y * f);
  10509. c = R.C(this.N[c].x * (1 - g) + this.N[e].x * g, this.N[c].y * (1 - g) + this.N[e].y * g);
  10510. g = 0;
  10511. f = R.C(0, 0);
  10512. for (h = this.N[a]; a != e; )
  10513. a = (a + 1) % this.Ra, l = a == e ? c : this.N[a], n = 0.5 * ((h.x - m.x) * (l.y - m.y) - (h.y - m.y) * (l.x - m.x)), g += n, f.x += n * (m.x + h.x + l.x) / 3, f.y += n * (m.y + h.y + l.y) / 3, h = l;
  10514. f.Vd(1 / g);
  10515. d.K(U.Sc(b, f));
  10516. return g
  10517. };
  10518. z.gs = function (a) {
  10519. a.N = this.N;
  10520. a.ua = this.Ra;
  10521. a.eb = this.eb
  10522. };
  10523. z.Ho = function (a) {
  10524. for (var c = 0, b = this.N[0].x * a.x + this.N[0].y * a.y, d = 1; d < this.Ra; ++d) {
  10525. var e = this.N[d].x * a.x + this.N[d].y *
  10526. a.y;
  10527. e > b && (c = d, b = e)
  10528. }
  10529. return c
  10530. };
  10531. z.hm = function (a) {
  10532. for (var c = 0, b = this.N[0].x * a.x + this.N[0].y * a.y, d = 1; d < this.Ra; ++d) {
  10533. var e = this.N[d].x * a.x + this.N[d].y * a.y;
  10534. e > b && (c = d, b = e)
  10535. }
  10536. return this.N[c]
  10537. };
  10538. z.pm = function (a) {
  10539. this.N = [];
  10540. this.Aa = [];
  10541. for (var c = this.N.length; c < a; c++)
  10542. this.N[c] = R.C(0, 0), this.Aa[c] = R.C(0, 0)
  10543. };
  10544. W.tA = function (a, c) {
  10545. for (var b = R.C(0, 0), d = 0, e = 1 / 3, f = 0; f < c; ++f) {
  10546. var g = a[f],
  10547. h = f + 1 < c ? a[f + 1] : a[0],
  10548. m = 0.5 * ((g.x - 0) * (h.y - 0) - (g.y - 0) * (h.x - 0)),
  10549. d = d + m;
  10550. b.x += m * e * (0 + g.x + h.x);
  10551. b.y += m * e * (0 + g.y + h.y)
  10552. }
  10553. b.x *= 1 / d;
  10554. b.y *= 1 / d;
  10555. return b
  10556. };
  10557. W.lH =
  10558. new sc;
  10559. W.Tf = "b2PolygonShape";
  10560. var Pc = function () {
  10561. this.rs = this.qs = this.ts = this.Xd = 0
  10562. };
  10563. z = Pc.prototype;
  10564. z.Dj = function (a) {
  10565. this.Xd = a;
  10566. this.ts = this.Xd & 255;
  10567. this.qs = (this.Xd & 65280) >> 8 & 255;
  10568. this.rs = (this.Xd & 16711680) >> 16 & 255;
  10569. this.Gw = (this.Xd & 4278190080) >> 24 & 255
  10570. };
  10571. z.Set = function (a) {
  10572. this.Dj(a.Xd)
  10573. };
  10574. z.Bw = function (a) {
  10575. this.ts = a;
  10576. this.Xd = this.Xd & 4294967040 | this.ts & 255
  10577. };
  10578. z.yw = function (a) {
  10579. this.qs = a;
  10580. this.Xd = this.Xd & 4294902015 | this.qs << 8 & 65280
  10581. };
  10582. z.zw = function (a) {
  10583. this.rs = a;
  10584. this.Xd = this.Xd & 4278255615 | this.rs << 16 & 16711680
  10585. };
  10586. z.cB =
  10587. function (a) {
  10588. this.Gw = a;
  10589. this.Xd = this.Xd & 16777215 | this.Gw << 24 & 4278190080
  10590. };
  10591. z.Gc = function () {
  10592. var a = new Pc;
  10593. a.Set(this);
  10594. return a
  10595. };
  10596. var Qc = function () {
  10597. this.qf = R.C(0, 0);
  10598. this.id = new Pc
  10599. };
  10600. Qc.prototype.Set = function (a) {
  10601. this.qf.K(a.qf);
  10602. this.id.Set(a.id)
  10603. };
  10604. var Rc = function () {
  10605. this.La = R.C(0, 0);
  10606. this.Ma = R.C(0, 0)
  10607. },
  10608. Sc = [],
  10609. Tc = function () {
  10610. if (0 < Sc.length) {
  10611. var a = Sc.pop();
  10612. a.la();
  10613. return a
  10614. }
  10615. return new Rc
  10616. };
  10617. z = Rc.prototype;
  10618. z.la = function () {
  10619. this.La.Set(0, 0);
  10620. this.Ma.Set(0, 0)
  10621. };
  10622. z.Ko = function () {
  10623. return 0 > this.Ma.x - this.La.x || 0 > this.Ma.y - this.La.y ?
  10624. !1 : this.La.Ko() && this.Ma.Ko()
  10625. };
  10626. z.zA = function () {
  10627. return R.C((this.La.x + this.Ma.x) / 2, (this.La.y + this.Ma.y) / 2)
  10628. };
  10629. z.Hr = function (a) {
  10630. var c;
  10631. return c = (c = (c = (c = this.La.x <= a.La.x) && this.La.y <= a.La.y) && a.Ma.x <= this.Ma.x) && a.Ma.y <= this.Ma.y
  10632. };
  10633. z.zm = function (a) {
  10634. return 0 < a.La.x - this.Ma.x || 0 < a.La.y - this.Ma.y || 0 < this.La.x - a.Ma.x || 0 < this.La.y - a.Ma.y ? !1 : !0
  10635. };
  10636. z.wo = function (a, c) {
  10637. this.La.x = Math.min(a.La.x, c.La.x);
  10638. this.La.y = Math.min(a.La.y, c.La.y);
  10639. this.Ma.x = Math.max(a.Ma.x, c.Ma.x);
  10640. this.Ma.y = Math.max(a.Ma.y, c.Ma.y)
  10641. };
  10642. var Uc =
  10643. function (a, c, b, d) {
  10644. var e = 0,
  10645. f = c[0].qf,
  10646. g = c[1].qf,
  10647. h = b.x * f.x + b.y * f.y - d;
  10648. b = b.x * g.x + b.y * g.y - d;
  10649. 0 >= h && a[e++].Set(c[0]);
  10650. 0 >= b && a[e++].Set(c[1]);
  10651. 0 > h * b && (b = h / (h - b), d = a[e].qf, d.x = f.x + b * (g.x - f.x), d.y = f.y + b * (g.y - f.y), a[e].id = 0 < h ? c[0].id : c[1].id, e++);
  10652. return e
  10653. },
  10654. Yc = function (a, c, b, d, e) {
  10655. for (var f = c.q.j.x * a.Aa[b].x + c.q.k.x * a.Aa[b].y, g = c.q.j.y * a.Aa[b].x + c.q.k.y * a.Aa[b].y, h = e.q.j.x * f + e.q.j.y * g, m = e.q.k.x * f + e.q.k.y * g, l = 0, n = Number.MAX_VALUE, k = 0; k < d.Ra; k++) {
  10656. var p = d.N[k].x * h + d.N[k].y * m;
  10657. p < n && (n = p, l = k)
  10658. }
  10659. return (e.position.x + (e.q.j.x *
  10660. d.N[l].x + e.q.k.x * d.N[l].y) - (c.position.x + (c.q.j.x * a.N[b].x + c.q.k.x * a.N[b].y))) * f + (e.position.y + (e.q.j.y * d.N[l].x + e.q.k.y * d.N[l].y) - (c.position.y + (c.q.j.y * a.N[b].x + c.q.k.y * a.N[b].y))) * g
  10661. },
  10662. Zc = function (a, c, b, d) {
  10663. for (var e = d.position.x + (d.q.j.x * b.ee.x + d.q.k.x * b.ee.y), f = d.position.y + (d.q.j.y * b.ee.x + d.q.k.y * b.ee.y), e = e - (c.position.x + (c.q.j.x * a.ee.x + c.q.k.x * a.ee.y)), f = f - (c.position.y + (c.q.j.y * a.ee.x + c.q.k.y * a.ee.y)), g = e * c.q.j.x + f * c.q.j.y, f = e * c.q.k.x + f * c.q.k.y, e = 0, h = -Number.MAX_VALUE, m = 0; m < a.Ra; ++m) {
  10664. var l =
  10665. a.Aa[m].x * g + a.Aa[m].y * f;
  10666. l > h && (h = l, e = m)
  10667. }
  10668. g = Yc(a, c, e, b, d);
  10669. f = e - 1;
  10670. 0 > f && (f = a.Ra - 1);
  10671. h = Yc(a, c, f, b, d);
  10672. m = e + 1;
  10673. m >= a.Ra && (m = 0);
  10674. var l = Yc(a, c, m, b, d),
  10675. n = 0,
  10676. k = 0;
  10677. if (h > g && h > l)
  10678. for (n = f, k = h; ; )
  10679. if (e = n - 1, 0 > e && (e = a.Ra - 1), g = Yc(a, c, e, b, d), g > k)
  10680. n = e, k = g;
  10681. else
  10682. break;
  10683. else if (l > g)
  10684. for (n = m, k = l; ; )
  10685. if (e = n + 1, e >= a.Ra && (e = 0), g = Yc(a, c, e, b, d), g > k)
  10686. n = e, k = g;
  10687. else
  10688. break;
  10689. else
  10690. n = e, k = g;
  10691. return {
  10692. Yw : n,
  10693. gr : k
  10694. }
  10695. },
  10696. ad = function (a, c, b) {
  10697. var d = new $c;
  10698. d.ZA(c, b.di, b.ur, b.ei, b.wr);
  10699. for (var e = 0; 20 > e; ) {
  10700. for (var f = [], g = 0; g < d.ua; g++)
  10701. f[g] = {},
  10702. f[g].yc = d.N[g].yc,
  10703. f[g].zc = d.N[g].zc;
  10704. 2 == d.ua ? d.eB() : 3 == d.ua && d.fB();
  10705. if (3 == d.ua)
  10706. break;
  10707. g = d.BA();
  10708. if (g.Lo() < Ic)
  10709. break;
  10710. var h = g.si();
  10711. d.N[d.ua].yc = b.di.Ho(U.sh(b.ur.q, h));
  10712. d.N[d.ua].Fd = U.Sc(b.ur, b.di.sd(d.N[d.ua].yc));
  10713. d.N[d.ua].zc = b.ei.Ho(U.sh(b.wr.q, g));
  10714. d.N[d.ua].Sf = U.Sc(b.wr, b.ei.sd(d.N[d.ua].zc));
  10715. d.N[d.ua].Fc = U.Ib(d.N[d.ua].Sf, d.N[d.ua].Fd);
  10716. R.wc(g);
  10717. R.wc(h);
  10718. e++;
  10719. h = !1;
  10720. for (g = 0; g < f.length; g++)
  10721. if (d.N[d.ua].yc == f[g].yc && d.N[d.ua].zc == f[g].zc) {
  10722. h = !0;
  10723. break
  10724. }
  10725. if (h)
  10726. break;
  10727. d.ua++
  10728. }
  10729. d.CA(a.rg, a.sg);
  10730. a.Dh = U.Ib(a.rg, a.sg).Eg();
  10731. d.sB(c);
  10732. b.cA && (c = b.di.eb, b = b.ei.eb,
  10733. a.Dh > c + b && a.Dh > Number.MIN_VALUE ? (a.Dh -= c + b, d = U.Ib(a.sg, a.rg), d.Wd(), a.rg.x += c * d.x, a.rg.y += c * d.y, a.sg.x -= b * d.x, a.sg.y -= b * d.y, R.wc(d)) : (b = R.C(0, 0), b.x = 0.5 * (a.rg.x + a.sg.x), b.y = 0.5 * (a.rg.y + a.sg.y), a.rg.x = a.sg.x = b.x, a.rg.y = a.sg.y = b.y, a.Dh = 0, R.wc(b)))
  10734. },
  10735. bd = s(),
  10736. cd = function () {
  10737. this.rg = R.C(0, 0);
  10738. this.sg = R.C(0, 0);
  10739. this.Dh = 0
  10740. },
  10741. dd = s();
  10742. dd.prototype.Set = function (a) {
  10743. a.gs(this)
  10744. };
  10745. dd.prototype.Ho = function (a) {
  10746. for (var c = 0, b = this.N[0].x * a.x + this.N[0].y * a.y, d = 1; d < this.ua; d++) {
  10747. var e = this.N[d].x * a.x + this.N[d].y * a.y;
  10748. e > b && (c = d,
  10749. b = e)
  10750. }
  10751. return c
  10752. };
  10753. dd.prototype.hm = function (a) {
  10754. return this.N[this.Ho(a)]
  10755. };
  10756. dd.prototype.sd = function (a) {
  10757. void 0 === a && (a = 0);
  10758. return this.N[a]
  10759. };
  10760. var ed = function () {
  10761. this.Yg = null
  10762. };
  10763. z = ed.prototype;
  10764. z.Mk = function (a, c) {
  10765. var b = fd(c);
  10766. b.$a.La.x = a.La.x - 0.1;
  10767. b.$a.La.y = a.La.y - 0.1;
  10768. b.$a.Ma.x = a.Ma.x + 0.1;
  10769. b.$a.Ma.y = a.Ma.y + 0.1;
  10770. this.Xv(b);
  10771. return b
  10772. };
  10773. z.Nk = function (a) {
  10774. this.mw(a);
  10775. a.Ob()
  10776. };
  10777. z.Vr = function (a, c, b) {
  10778. if (a.$a.Hr(c))
  10779. return !1;
  10780. this.mw(a);
  10781. var d = 0.1 + 2 * Math.abs(b.x);
  10782. b = 0.1 + 2 * Math.abs(b.y);
  10783. a.$a.La.x = c.La.x - d;
  10784. a.$a.La.y = c.La.y - b;
  10785. a.$a.Ma.x =
  10786. c.Ma.x + d;
  10787. a.$a.Ma.y = c.Ma.y + b;
  10788. this.Xv(a);
  10789. return !0
  10790. };
  10791. z.fm = function (a) {
  10792. return a.$a
  10793. };
  10794. z.ds = function (a, c) {
  10795. if (null !== this.Yg) {
  10796. var b = [];
  10797. for (b.push(this.Yg); 0 < b.length; ) {
  10798. var d = b.pop();
  10799. if (d.$a.zm(c))
  10800. if (d.Yv()) {
  10801. if (!a(d.Ge))
  10802. break
  10803. } else
  10804. b.push(d.De), b.push(d.Ig)
  10805. }
  10806. }
  10807. };
  10808. z.Xv = function (a) {
  10809. if (null === this.Yg)
  10810. this.Yg = a, this.Yg.parent = null;
  10811. else {
  10812. var c = this.yA(a),
  10813. b = c.parent,
  10814. d = fd();
  10815. d.parent = b;
  10816. d.$a.wo(a.$a, c.$a);
  10817. if (b)
  10818. for (c.parent.De == c ? b.De = d : b.Ig = d, d.De = c, d.Ig = a, c.parent = d, a.parent = d; b && !b.$a.Hr(d.$a); )
  10819. b.$a.wo(b.De.$a, b.Ig.$a),
  10820. d = b, b = b.parent;
  10821. else
  10822. d.De = c, d.Ig = a, c.parent = d, this.Yg = a.parent = d
  10823. }
  10824. };
  10825. z.yA = function (a) {
  10826. a = a.$a.zA();
  10827. for (var c = this.Yg; !c.Yv(); )
  10828. var b = c.De, c = c.Ig, d = Math.abs((b.$a.La.x + b.$a.Ma.x) / 2 - a.x) + Math.abs((b.$a.La.y + b.$a.Ma.y) / 2 - a.y), e = Math.abs((c.$a.La.x + c.$a.Ma.x) / 2 - a.x) + Math.abs((c.$a.La.y + c.$a.Ma.y) / 2 - a.y), c = d < e ? b : c;
  10829. R.wc(a);
  10830. return c
  10831. };
  10832. z.mw = function (a) {
  10833. if (a == this.Yg)
  10834. this.Yg = null;
  10835. else {
  10836. var c = a.parent,
  10837. b = c.parent;
  10838. a = c.De == a ? c.Ig : c.De;
  10839. if (b)
  10840. for (b.De == c ? b.De = a : b.Ig = a, a.parent = b; b; ) {
  10841. a = b.$a;
  10842. b.$a.wo(b.De.$a, b.Ig.$a);
  10843. if (a.Hr(b.$a))
  10844. break;
  10845. b = b.parent
  10846. }
  10847. else
  10848. this.Yg = a, a.parent = null;
  10849. c.Ob()
  10850. }
  10851. };
  10852. var gd = function () {
  10853. this.$h = new ed;
  10854. this.Hq = []
  10855. };
  10856. z = gd.prototype;
  10857. z.Mk = function (a, c) {
  10858. var b = this.$h.Mk(a, c);
  10859. this.Ov(b);
  10860. return b
  10861. };
  10862. z.Nk = function (a) {
  10863. this.oB(a);
  10864. this.$h.Nk(a)
  10865. };
  10866. z.Vr = function (a, c, b) {
  10867. this.$h.Vr(a, c, b) && this.Ov(a)
  10868. };
  10869. z.zm = function (a, c) {
  10870. return this.$h.fm(a).zm(this.$h.fm(c))
  10871. };
  10872. z.fm = function (a) {
  10873. return this.$h.fm(a)
  10874. };
  10875. z.pB = function (a) {
  10876. for (var c = []; 0 < this.Hq.length; ) {
  10877. var b = this.Hq.pop();
  10878. this.$h.ds(function (a) {
  10879. a != b.Ge && c.push(new hd(b.Ge, a));
  10880. return !0
  10881. }, this.$h.fm(b))
  10882. }
  10883. for (var d =
  10884. 0; d < c.length; ) {
  10885. var e = c[d];
  10886. a(e.Om, e.Pm);
  10887. for (d++; d < c.length; ) {
  10888. var f = c[d];
  10889. if (!(f.Om == e.Om && f.Pm == e.Pm || f.Om == e.Pm && f.Pm == e.Om))
  10890. break;
  10891. d++
  10892. }
  10893. }
  10894. };
  10895. z.ds = function (a, c) {
  10896. this.$h.ds(a, c)
  10897. };
  10898. z.Ov = function (a) {
  10899. this.Hq.push(a)
  10900. };
  10901. z.oB = function (a) {
  10902. Ba(this.Hq, a)
  10903. };
  10904. var id = function (a) {
  10905. this.$a = Tc();
  10906. this.Ge = this.parent = this.Ig = this.De = null;
  10907. "undefined" != typeof a && (this.Ge = a)
  10908. },
  10909. jd = [],
  10910. fd = function (a) {
  10911. if (0 < jd.length) {
  10912. var c = jd.pop();
  10913. "undefined" != typeof a && (c.Ge = a);
  10914. c.$a.la();
  10915. return c
  10916. }
  10917. return new id(a)
  10918. };
  10919. id.prototype.Ob = function () {
  10920. this.Ge =
  10921. this.parent = this.Ig = this.De = null;
  10922. jd.push(this)
  10923. };
  10924. id.prototype.Yv = function () {
  10925. return null === this.De
  10926. };
  10927. var hd = function (a, c) {
  10928. this.Om = a;
  10929. this.Pm = c
  10930. },
  10931. ld = function () {
  10932. this.fb = this.oc = 0;
  10933. this.ra = [];
  10934. for (var a = 0; 2 > a; a++)
  10935. this.ra[a] = new kd;
  10936. this.nd = R.C(0, 0);
  10937. this.ya = R.C(0, 0)
  10938. };
  10939. ld.prototype.cd = function () {
  10940. for (var a = 0; 2 > a; a++)
  10941. this.ra[a].cd();
  10942. this.nd.la();
  10943. this.ya.la();
  10944. this.oc = this.fb = 0
  10945. };
  10946. ld.prototype.Set = function (a) {
  10947. this.oc = a.oc;
  10948. for (var c = 0; 2 > c; c++)
  10949. this.ra[c].Set(a.ra[c]);
  10950. this.nd.K(a.nd);
  10951. this.ya.K(a.ya);
  10952. this.fb = a.fb
  10953. };
  10954. ld.prototype.Gc =
  10955. function () {
  10956. var a = new ld;
  10957. a.Set(this);
  10958. return a
  10959. };
  10960. var kd = function () {
  10961. this.ya = R.C(0, 0);
  10962. this.Hf = new Pc;
  10963. this.cd()
  10964. };
  10965. kd.prototype.cd = function () {
  10966. this.ya.la();
  10967. this.yk = this.uk = 0;
  10968. this.Hf.Dj(0)
  10969. };
  10970. kd.prototype.Set = function (a) {
  10971. this.ya.K(a.ya);
  10972. this.uk = a.uk;
  10973. this.yk = a.yk;
  10974. this.Hf.Set(a.Hf)
  10975. };
  10976. var md = function () {
  10977. this.ya = R.C(0, 0);
  10978. this.V = R.C(0, 0)
  10979. };
  10980. md.prototype.xc = function (a, c, b, d, e) {
  10981. this.cj = c;
  10982. this.dj = d;
  10983. var f,
  10984. g,
  10985. h,
  10986. m = h = g = 0,
  10987. l = 0;
  10988. d = c = 0;
  10989. var n,
  10990. k,
  10991. m = 0;
  10992. 1 == a.count ? (this.fb = nd, f = this.cj.sd(a.yc[0]), a = this.dj.sd(a.zc[0]), k = f, n = b.q, g = b.position.x +
  10993. (n.j.x * k.x + n.k.x * k.y), h = b.position.y + (n.j.y * k.x + n.k.y * k.y), k = a, n = e.q, m = e.position.x + (n.j.x * k.x + n.k.x * k.y), l = e.position.y + (n.j.y * k.x + n.k.y * k.y), this.V.x = m - g, this.V.y = l - h, this.V.Wd()) : (a.zc[0] == a.zc[1] ? (this.fb = od, c = this.cj.sd(a.yc[0]), d = this.cj.sd(a.yc[1]), a = this.dj.sd(a.zc[0]), this.ya.x = 0.5 * (c.x + d.x), this.ya.y = 0.5 * (c.y + d.y), this.V = U.qh(U.Ib(d, c), 1), this.V.Wd(), k = this.V, n = b.q, c = n.j.x * k.x + n.k.x * k.y, d = n.j.y * k.x + n.k.y * k.y, k = this.ya, n = b.q, g = b.position.x + (n.j.x * k.x + n.k.x * k.y), h = b.position.y + (n.j.y * k.x +
  10994. n.k.y * k.y), k = a, n = e.q, m = e.position.x + (n.j.x * k.x + n.k.x * k.y), l = e.position.y + (n.j.y * k.x + n.k.y * k.y), m = (m - g) * c + (l - h) * d) : a.yc[0] == a.yc[0] ? (this.fb = pd, g = this.dj.sd(a.zc[0]), h = this.dj.sd(a.zc[1]), f = this.cj.sd(a.yc[0]), this.ya.x = 0.5 * (g.x + h.x), this.ya.y = 0.5 * (g.y + h.y), this.V = U.qh(U.Ib(h, g), 1), this.V.Wd(), k = this.V, n = e.q, c = n.j.x * k.x + n.k.x * k.y, d = n.j.y * k.x + n.k.y * k.y, k = this.ya, n = e.q, m = e.position.x + (n.j.x * k.x + n.k.x * k.y), l = e.position.y + (n.j.y * k.x + n.k.y * k.y), k = f, n = b.q, g = b.position.x + (n.j.x * k.x + n.k.x * k.y), h = b.position.y +
  10995. (n.j.y * k.x + n.k.y * k.y), m = (g - m) * c + (h - l) * d) : (c = this.cj.sd(a.yc[0]), d = this.cj.sd(a.yc[1]), g = this.dj.sd(a.zc[0]), h = this.dj.sd(a.zc[1]), m = U.kc(b.q, U.Ib(d, c)), l = U.kc(e.q, U.Ib(h, g)), e = m.x * m.x + m.y * m.y, b = l.x * l.x + l.y * l.y, f = U.Ib(l, m), a = m.x * f.x + m.y * f.y, f = l.x * f.x + l.y * f.y, l = m.x * l.x + m.y * l.y, n = e * b - l * l, m = 0, 0 != n && (m = U.Nb((l * f - a * b) / n, 0, 1)), 0 > (l * m + f) / b && (m = U.Nb((l - a) / e, 0, 1)), f = R.C(0, 0), f.x = c.x + m * (d.x - c.x), f.y = c.y + m * (d.y - c.y), a = R.C(0, 0), a.x = g.x + m * (h.x - g.x), a.y = g.y + m * (h.y - g.y), 0 == m || 1 == m ? (this.fb = pd, this.V = U.qh(U.Ib(h,
  10996. g), 1), this.V.Wd(), this.ya = a) : (this.fb = od, this.V = U.qh(U.Ib(d, c), 1), this.ya = f)), 0 > m && this.V.Yr())
  10997. };
  10998. md.prototype.Cg = function (a, c) {
  10999. var b,
  11000. d,
  11001. e = 0;
  11002. switch (this.fb) {
  11003. case nd:
  11004. b = U.sh(a.q, this.V);
  11005. d = U.sh(c.q, this.V.si());
  11006. b = this.cj.hm(b);
  11007. d = this.dj.hm(d);
  11008. b = U.Sc(a, b);
  11009. d = U.Sc(c, d);
  11010. e = (d.x - b.x) * this.V.x + (d.y - b.y) * this.V.y;
  11011. break;
  11012. case od:
  11013. e = U.kc(a.q, this.V);
  11014. b = U.Sc(a, this.ya);
  11015. d = U.sh(c.q, e.si());
  11016. d = this.dj.hm(d);
  11017. d = U.Sc(c, d);
  11018. e = (d.x - b.x) * e.x + (d.y - b.y) * e.y;
  11019. break;
  11020. case pd:
  11021. e = U.kc(c.q, this.V),
  11022. d = U.Sc(c, this.ya),
  11023. b = U.sh(a.q, e.si()),
  11024. b =
  11025. this.cj.hm(b),
  11026. b = U.Sc(a, b),
  11027. e = (b.x - d.x) * e.x + (b.y - d.y) * e.y
  11028. }
  11029. return e
  11030. };
  11031. var nd = 1,
  11032. od = 2,
  11033. pd = 4,
  11034. $c = function () {
  11035. this.va = new qd;
  11036. this.Na = new qd;
  11037. this.Ne = new qd;
  11038. this.N = [this.va, this.Na, this.Ne]
  11039. };
  11040. z = $c.prototype;
  11041. z.ZA = function (a, c, b, d, e) {
  11042. var f,
  11043. g;
  11044. this.ua = a.count;
  11045. for (var h = this.N, m = 0; m < this.ua; m++) {
  11046. var l = h[m];
  11047. l.yc = a.yc[m];
  11048. l.zc = a.zc[m];
  11049. f = c.sd(l.yc);
  11050. g = d.sd(l.zc);
  11051. l.Fd = U.Sc(b, f);
  11052. l.Sf = U.Sc(e, g);
  11053. l.Fc = U.Ib(l.Sf, l.Fd);
  11054. l.O = 0
  11055. }
  11056. 1 < this.ua && (a = a.IE, f = this.Wv(), f < 0.5 * a || 2 * a < f || f < Number.MIN_VALUE) && (this.ua = 0);
  11057. 0 == this.ua && (l = h[0], l.yc =
  11058. 0, l.zc = 0, f = c.sd(0), g = d.sd(0), l.Fd = U.Sc(b, f), l.Sf = U.Sc(e, g), l.Fc = U.Ib(l.Sf, l.Fd), this.ua = 1)
  11059. };
  11060. z.sB = function (a) {
  11061. a.IE = this.Wv();
  11062. a.count = this.ua;
  11063. for (var c = this.N, b = 0; b < this.ua; b++)
  11064. a.yc[b] = c[b].yc, a.zc[b] = c[b].zc
  11065. };
  11066. z.BA = function () {
  11067. if (1 == this.ua)
  11068. return this.va.Fc.si();
  11069. if (2 == this.ua) {
  11070. var a = U.Ib(this.Na.Fc, this.va.Fc);
  11071. return 0 < U.wj(a, this.va.Fc.si()) ? U.Jr(1, a) : U.qh(a, 1)
  11072. }
  11073. return R.C(0, 0)
  11074. };
  11075. z.CA = function (a, c) {
  11076. 1 == this.ua ? (a.K(this.va.Fd), c.K(this.va.Sf)) : 2 == this.ua ? (a.x = this.va.O * this.va.Fd.x + this.Na.O * this.Na.Fd.x,
  11077. a.y = this.va.O * this.va.Fd.y + this.Na.O * this.Na.Fd.y, c.x = this.va.O * this.va.Sf.x + this.Na.O * this.Na.Sf.x, c.y = this.va.O * this.va.Sf.y + this.Na.O * this.Na.Sf.y) : 3 == this.ua && (c.x = a.x = this.va.O * this.va.Fd.x + this.Na.O * this.Na.Fd.x + this.Ne.O * this.Ne.Fd.x, c.y = a.y = this.va.O * this.va.Fd.y + this.Na.O * this.Na.Fd.y + this.Ne.O * this.Ne.Fd.y)
  11078. };
  11079. z.Wv = function () {
  11080. return 1 == this.ua ? 0 : 2 == this.ua ? U.Ib(this.va.Fc, this.Na.Fc).Eg() : 3 == this.ua ? U.wj(U.Ib(this.Na.Fc, this.va.Fc), U.Ib(this.Ne.Fc, this.va.Fc)) : 0
  11081. };
  11082. z.eB = function () {
  11083. var a = this.va.Fc,
  11084. c = this.Na.Fc,
  11085. b = U.Ib(c, a),
  11086. a = - (a.x * b.x + a.y * b.y);
  11087. 0 >= a ? this.ua = this.va.O = 1 : (c = c.x * b.x + c.y * b.y, 0 >= c ? (this.ua = this.Na.O = 1, this.va.Set(this.Na)) : (b = 1 / (c + a), this.va.O = c * b, this.Na.O = a * b, this.ua = 2))
  11088. };
  11089. z.fB = function () {
  11090. var a = this.va.Fc,
  11091. c = this.Na.Fc,
  11092. b = this.Ne.Fc,
  11093. d = U.Ib(c, a),
  11094. e = U.Ub(c, d),
  11095. f = -U.Ub(a, d),
  11096. g = U.Ib(b, a),
  11097. h = U.Ub(b, g),
  11098. m = -U.Ub(a, g),
  11099. l = U.Ib(b, c),
  11100. n = U.Ub(b, l),
  11101. l = -U.Ub(c, l),
  11102. g = U.wj(d, g),
  11103. d = g * U.wj(c, b),
  11104. b = g * U.wj(b, a),
  11105. a = g * U.wj(a, c);
  11106. 0 >= f && 0 >= m ? this.ua = this.va.O = 1 : 0 < e && 0 < f && 0 >= a ? (h = 1 / (e + f), this.va.O = e * h, this.Na.O = f * h, this.ua =
  11107. 2) : 0 < h && 0 < m && 0 >= b ? (e = 1 / (h + m), this.va.O = h * e, this.Ne.O = m * e, this.ua = 2, this.Na.Set(this.Ne)) : 0 >= e && 0 >= l ? (this.ua = this.Na.O = 1, this.va.Set(this.Na)) : 0 >= h && 0 >= n ? (this.ua = this.Ne.O = 1, this.va.Set(this.Ne)) : 0 < n && 0 < l && 0 >= d ? (e = 1 / (n + l), this.Na.O = n * e, this.Ne.O = l * e, this.ua = 2, this.va.Set(this.Ne)) : (e = 1 / (d + b + a), this.va.O = d * e, this.Na.O = b * e, this.Ne.O = a * e, this.ua = 3)
  11108. };
  11109. var rd = function () {
  11110. this.yc = [0, 0, 0];
  11111. this.zc = [0, 0, 0]
  11112. },
  11113. qd = s();
  11114. qd.prototype.Set = function (a) {
  11115. this.Fd.K(a.Fd);
  11116. this.Sf.K(a.Sf);
  11117. this.Fc.K(a.Fc);
  11118. this.O = a.O;
  11119. this.yc =
  11120. a.yc;
  11121. this.zc = a.zc
  11122. };
  11123. var sd = function () {
  11124. this.di = new dd;
  11125. this.ei = new dd;
  11126. this.Kz = new Lc;
  11127. this.Lz = new Lc
  11128. },
  11129. td = function () {
  11130. this.za = R.C(0, 0);
  11131. this.ra = [];
  11132. for (var a = this.oc = 0; 2 > a; a++)
  11133. this.ra[a] = R.C(0, 0)
  11134. };
  11135. td.prototype.xc = function (a, c, b, d, e) {
  11136. if (0 != a.oc) {
  11137. var f = 0,
  11138. g,
  11139. h,
  11140. m = 0,
  11141. l = 0,
  11142. n = 0,
  11143. k = 0,
  11144. p = 0;
  11145. g = 0;
  11146. switch (a.fb) {
  11147. case 1:
  11148. h = c.q;
  11149. g = a.ya;
  11150. f = c.position.x + h.j.x * g.x + h.k.x * g.y;
  11151. c = c.position.y + h.j.y * g.x + h.k.y * g.y;
  11152. h = d.q;
  11153. g = a.ra[0].ya;
  11154. a = d.position.x + h.j.x * g.x + h.k.x * g.y;
  11155. d = d.position.y + h.j.y * g.x + h.k.y * g.y;
  11156. g = a - f;
  11157. h = d - c;
  11158. m = g * g + h * h;
  11159. m > Ic ? (m = Math.sqrt(m),
  11160. this.za.x = g / m, this.za.y = h / m) : (this.za.x = 1, this.za.y = 0);
  11161. g = c + b * this.za.y;
  11162. d -= e * this.za.y;
  11163. this.ra[0].x = 0.5 * (f + b * this.za.x + (a - e * this.za.x));
  11164. this.ra[0].y = 0.5 * (g + d);
  11165. break;
  11166. case 2:
  11167. h = c.q;
  11168. g = a.nd;
  11169. m = h.j.x * g.x + h.k.x * g.y;
  11170. l = h.j.y * g.x + h.k.y * g.y;
  11171. h = c.q;
  11172. g = a.ya;
  11173. n = c.position.x + h.j.x * g.x + h.k.x * g.y;
  11174. k = c.position.y + h.j.y * g.x + h.k.y * g.y;
  11175. this.za.x = m;
  11176. this.za.y = l;
  11177. for (f = 0; f < a.oc; f++)
  11178. h = d.q, g = a.ra[f].ya, p = d.position.x + h.j.x * g.x + h.k.x * g.y, g = d.position.y + h.j.y * g.x + h.k.y * g.y, this.ra[f].x = p + 0.5 * (b - (p - n) * m - (g - k) * l - e) * m, this.ra[f].y = g +
  11179. 0.5 * (b - (p - n) * m - (g - k) * l - e) * l;
  11180. break;
  11181. case 4:
  11182. for (h = d.q, g = a.nd, m = h.j.x * g.x + h.k.x * g.y, l = h.j.y * g.x + h.k.y * g.y, h = d.q, g = a.ya, n = d.position.x + h.j.x * g.x + h.k.x * g.y, k = d.position.y + h.j.y * g.x + h.k.y * g.y, this.za.x = -m, this.za.y = -l, f = 0; f < a.oc; f++)
  11183. h = c.q, g = a.ra[f].ya, p = c.position.x + h.j.x * g.x + h.k.x * g.y, g = c.position.y + h.j.y * g.x + h.k.y * g.y, this.ra[f].x = p + 0.5 * (e - (p - n) * m - (g - k) * l - b) * m, this.ra[f].y = g + 0.5 * (e - (p - n) * m - (g - k) * l - b) * l
  11184. }
  11185. }
  11186. };
  11187. var vc = function (a, c) {
  11188. this.Ud = "Body" + vc.Xr++;
  11189. this.H = new tc;
  11190. this.H.position.K(a.position);
  11191. this.H.q.Set(a.L);
  11192. this.n = new Lc;
  11193. this.n.S.la();
  11194. this.n.Qd = 1;
  11195. this.n.uf = this.n.O = a.L;
  11196. this.n.F.x = this.H.q.j.x * this.n.S.x + this.H.q.k.x * this.n.S.y;
  11197. this.n.F.y = this.H.q.j.y * this.n.S.x + this.H.q.k.y * this.n.S.y;
  11198. this.n.F.x += this.H.position.x;
  11199. this.n.F.y += this.H.position.y;
  11200. this.n.fd.K(this.n.F);
  11201. this.u = a.Tt.Gc();
  11202. this.Uh = R.C(0, 0);
  11203. this.tl = a.Nj;
  11204. this.pE = a.Vs;
  11205. this.bu = a.Ow;
  11206. this.cu = a.Vw;
  11207. this.Qh = a.lc;
  11208. this.Ba = c;
  11209. this.Sb = null;
  11210. this.Yd = new ud;
  11211. this.Sj = new vd;
  11212. this.J = a.Rw;
  11213. this.wE = a.kk;
  11214. this.kE = a.Kj;
  11215. this.Dn = this.zk = 0;
  11216. this.fb = a.type;
  11217. this.X = this.fb ==
  11218. V.Tc ? 1 : 0;
  11219. this.M = this.fb == V.Tc ? 1 : 0;
  11220. this.U = this.Ff = 0;
  11221. this.tE = a.Xx;
  11222. this.Pi = new wd;
  11223. this.wl = []
  11224. };
  11225. z = vc.prototype;
  11226. z.Lk = function (a) {
  11227. a = new uc(this, this.H, a);
  11228. this.Qh && a.Mk(this.Ba.md.Zi, this.H);
  11229. this.Pi.lA(a);
  11230. a.un = this;
  11231. 0 < a.Cq && this.pw();
  11232. this.Ba.nu = !0;
  11233. return a
  11234. };
  11235. z.Ob = function () {
  11236. R.wc(this.u);
  11237. R.wc(this.Uh)
  11238. };
  11239. z.Qv = function (a) {
  11240. this.Pi.$A(a);
  11241. for (var c = this.Yd.Ha(xd); c; c = c.next)
  11242. a != c.Kc.Yb && a != c.Kc.Rb || this.Ba.md.Ob(c.Kc);
  11243. this.Qh && a.Nk(this.Ba.md.Zi);
  11244. a.Ob();
  11245. a.un = null;
  11246. this.pw()
  11247. };
  11248. z.tm = function (a, c) {
  11249. this.H.q.Set(c);
  11250. this.H.position.K(a);
  11251. var b = this.H.q,
  11252. d = this.n.S;
  11253. this.n.F.x = b.j.x * d.x + b.k.x * d.y;
  11254. this.n.F.y = b.j.y * d.x + b.k.y * d.y;
  11255. this.n.F.x += this.H.position.x;
  11256. this.n.F.y += this.H.position.y;
  11257. this.n.fd.K(this.n.F);
  11258. this.n.uf = this.n.O = c;
  11259. b = this.Ba.md.Zi;
  11260. for (d = this.Pi.Ha(); d; d = d.next)
  11261. d.Ge.Dw(b, this.H, this.H);
  11262. this.Ba.md.Do()
  11263. };
  11264. z.we = w("H");
  11265. z.js = function (a) {
  11266. this.tm(a, this.Td())
  11267. };
  11268. z.Td = function () {
  11269. return this.n.O
  11270. };
  11271. z.vi = function (a) {
  11272. this.tm(this.H.position, a)
  11273. };
  11274. z.Rk = function () {
  11275. return this.n.F
  11276. };
  11277. z.zj = function () {
  11278. return this.n.S
  11279. };
  11280. z.Ej = function (a) {
  11281. this.fb != V.Ze &&
  11282. this.u.K(a)
  11283. };
  11284. z.yj = w("u");
  11285. z.qm = function (a) {
  11286. void 0 === a && (a = 0);
  11287. this.fb != V.Ze && (this.J = a)
  11288. };
  11289. z.Eo = w("J");
  11290. z.zg = function (a, c) {
  11291. this.fb == V.Tc && (this.dd(!0), this.Uh.x += a.x, this.Uh.y += a.y, this.zk += (c.x - this.n.F.x) * a.y - (c.y - this.n.F.y) * a.x)
  11292. };
  11293. z.to = function (a) {
  11294. void 0 === a && (a = 0);
  11295. this.fb == V.Tc && (this.dd(!0), this.zk += a)
  11296. };
  11297. z.Qk = w("X");
  11298. z.Vv = function (a) {
  11299. a || (a = new Oc);
  11300. a.Zg = this.X;
  11301. a.Sk = this.Ff;
  11302. a.Ah.K(this.n.S);
  11303. return a
  11304. };
  11305. z.pw = function () {
  11306. this.U = this.Ff = this.M = this.X = 0;
  11307. this.n.S.la();
  11308. if (this.fb != V.Ze && this.fb != V.Xw) {
  11309. for (var a =
  11310. R.C(0, 0), c = this.Pi.Ha(); c; c = c.next) {
  11311. var b = c.Ge;
  11312. 0 != b.Cq && (b = b.Vv(), this.X += b.Zg, a.x += b.Ah.x * b.Zg, a.y += b.Ah.y * b.Zg, this.Ff += b.Sk)
  11313. }
  11314. 0 < this.X ? (this.M = 1 / this.X, a.x *= this.M, a.y *= this.M) : this.M = this.X = 1;
  11315. 0 < this.Ff && !this.pE ? (this.Ff -= this.X * (a.x * a.x + a.y * a.y), this.Ff *= this.tE, this.U = 1 / this.Ff) : this.U = this.Ff = 0;
  11316. c = this.n.F.Gc();
  11317. this.n.S.K(a);
  11318. this.n.fd.K(U.Sc(this.H, this.n.S));
  11319. this.n.F.K(this.n.fd);
  11320. this.u.x += this.J * - (this.n.F.y - c.y);
  11321. this.u.y += this.J * + (this.n.F.x - c.x);
  11322. R.wc(a);
  11323. R.wc(c)
  11324. }
  11325. };
  11326. z.Io = function (a) {
  11327. var c = this.H.q;
  11328. a = R.C(c.j.x * a.x + c.k.x * a.y, c.j.y * a.x + c.k.y * a.y);
  11329. a.x += this.H.position.x;
  11330. a.y += this.H.position.y;
  11331. return a
  11332. };
  11333. z.Qr = function (a) {
  11334. return U.kc(this.H.q, a)
  11335. };
  11336. z.Hd = function (a) {
  11337. return U.Wr(this.H, a)
  11338. };
  11339. z.Pr = function (a) {
  11340. return U.sh(this.H.q, a)
  11341. };
  11342. z.AA = function (a) {
  11343. return R.C(this.u.x - this.J * (a.y - this.n.F.y), this.u.y + this.J * (a.x - this.n.F.x))
  11344. };
  11345. z.bd = w("fb");
  11346. z.dd = function (a) {
  11347. if (this.cu != a)
  11348. for (this.cu = a, this.Dn = 0, a || (this.u.la(), this.J = 0, this.Uh.la(), this.zk = 0), a = 0; a < this.wl.length; a++)
  11349. this.wl[a].ns(this)
  11350. };
  11351. z.Id = w("cu");
  11352. z.Cj =
  11353. function (a) {
  11354. if (a != this.Qh) {
  11355. if (a) {
  11356. this.Qh = !0;
  11357. a = this.Ba.md.Zi;
  11358. for (var c = this.Pi.Ha(); c; c = c.next)
  11359. c.Ge.Mk(a, this.H)
  11360. } else {
  11361. this.Qh = !1;
  11362. a = this.Ba.md.Zi;
  11363. for (c = this.Pi.Ha(); c; c = c.next)
  11364. c.Ge.Nk(a);
  11365. for (a = this.Yd.Ha(xd); a; a = a.next)
  11366. this.Ba.md.Ob(a.Kc)
  11367. }
  11368. for (a = 0; a < this.wl.length; a++)
  11369. this.wl[a].ns(this)
  11370. }
  11371. };
  11372. z.rh = w("Qh");
  11373. z.Nr = w("Pi");
  11374. z.$l = function (a) {
  11375. this.Sj.$l(a)
  11376. };
  11377. z.nm = function (a) {
  11378. this.Sj.nm(a)
  11379. };
  11380. z.ri = w("Yd");
  11381. z.Ew = function () {
  11382. var a = vc.mF;
  11383. a.q.Set(this.n.uf);
  11384. var c = a.q,
  11385. b = this.n.S;
  11386. a.position.x = this.n.fd.x - (c.j.x * b.x + c.k.x *
  11387. b.y);
  11388. a.position.y = this.n.fd.y - (c.j.y * b.x + c.k.y * b.y);
  11389. c = this.Ba.md.Zi;
  11390. for (b = this.Pi.Ha(); b; b = b.next)
  11391. b.Ge.Dw(c, a, this.H)
  11392. };
  11393. z.Vb = function () {
  11394. this.H.q.Set(this.n.O);
  11395. var a = this.H.q,
  11396. c = this.n.S;
  11397. this.H.position.x = this.n.F.x - (a.j.x * c.x + a.k.x * c.y);
  11398. this.H.position.y = this.n.F.y - (a.j.y * c.x + a.k.y * c.y)
  11399. };
  11400. z.Gj = function (a) {
  11401. if (this.fb != V.Tc && a.fb != V.Tc)
  11402. return !1;
  11403. for (var c = this.Sb; c; c = c.next)
  11404. if (c.mf == a && !1 == c.Nh.Ay)
  11405. return !1;
  11406. return !0
  11407. };
  11408. z.oi = function (a) {
  11409. this.n.oi(a);
  11410. this.n.F.K(this.n.fd);
  11411. this.n.O = this.n.uf;
  11412. this.Vb()
  11413. };
  11414. vc.Xr =
  11415. 0;
  11416. var V = function () {
  11417. this.position = R.C(0, 0);
  11418. this.Tt = R.C(0, 0);
  11419. this.Kj = this.kk = this.Rw = this.L = 0;
  11420. this.Vw = this.Ow = !0;
  11421. this.Nj = this.Vs = !1;
  11422. this.type = V.Ze;
  11423. this.lc = !0;
  11424. this.Xx = 1
  11425. };
  11426. V.Ze = 0;
  11427. V.Xw = 1;
  11428. V.Tc = 2;
  11429. var zd = function () {
  11430. this.hp = [];
  11431. for (var a = 0; a <= yd; a++)
  11432. this.hp[a] = null;
  11433. this.ip = [];
  11434. for (a = 0; a <= yd; a++)
  11435. this.ip[a] = null;
  11436. this.Yk = {}
  11437. };
  11438. z = zd.prototype;
  11439. z.Ha = function (a) {
  11440. return this.hp[a]
  11441. };
  11442. z.Ik = function (a) {
  11443. var c = a.Ud;
  11444. null == this.Yk[c] && (this.Bg(a, c, yd), this.ns(a), a.wl.push(this))
  11445. };
  11446. z.ns = function (a) {
  11447. var c = a.bd(),
  11448. b = a.Ud,
  11449. d = a.Id(),
  11450. e = a.rh();
  11451. c == V.Tc ? this.Bg(a, b, Ad) : this.Fg(b, Ad);
  11452. c != V.Ze ? this.Bg(a, b, Bd) : this.Fg(b, Bd);
  11453. c != V.Ze && e && d ? this.Bg(a, b, Cd) : this.Fg(b, Cd);
  11454. d ? this.Bg(a, b, Dd) : this.Fg(b, Dd);
  11455. e ? this.Bg(a, b, Ed) : this.Fg(b, Ed)
  11456. };
  11457. z.mm = function (a) {
  11458. var c = a.Ud;
  11459. if (null != this.Yk[c]) {
  11460. Ba(a.wl, this);
  11461. for (a = 0; a <= yd; a++)
  11462. this.Fg(c, a);
  11463. delete this.Yk[c]
  11464. }
  11465. };
  11466. z.Fg = function (a, c) {
  11467. var b = this.Yk[a];
  11468. if (null != b) {
  11469. var d = b[c];
  11470. null != d && (b[c] = null, b = d.Nf, d = d.next, null == b ? this.hp[c] = d : b.Vf(d), null == d ? this.ip[c] = b : d.Wf(b))
  11471. }
  11472. };
  11473. z.Bg = function (a, c, b) {
  11474. var d = this.Yk[c];
  11475. if (null == d) {
  11476. for (var d = [], e = 0; e <= yd; e++)
  11477. d[e] = null;
  11478. this.Yk[c] = d
  11479. }
  11480. null == d[b] && (d[b] = new Fd(a), a = this.ip[b], null != a ? a.Vf(d[b]) : this.hp[b] = d[b], d[b].Wf(a), this.ip[b] = d[b])
  11481. };
  11482. var Ad = 0,
  11483. Bd = 1,
  11484. Ed = 2,
  11485. Cd = 3,
  11486. Dd = 4,
  11487. yd = 5,
  11488. Fd = function (a) {
  11489. this.body = a;
  11490. this.Nf = this.next = null
  11491. };
  11492. Fd.prototype.Vf = aa("next");
  11493. Fd.prototype.Wf = aa("Nf");
  11494. Fd.prototype.Ya = w("body");
  11495. var xc = s();
  11496. xc.prototype.Gj = function (a, c) {
  11497. var b = a.Uv(),
  11498. d = c.Uv();
  11499. return b.Si == d.Si && 0 != b.Si ? 0 < b.Si : 0 != (b.Dl & d.Zk) && 0 != (b.Zk & d.Dl)
  11500. };
  11501. xc.QB = new xc;
  11502. var Gd = function () {
  11503. this.LE = [];
  11504. this.xF = []
  11505. },
  11506. wc = s();
  11507. wc.prototype.uo = s();
  11508. var Id = function (a) {
  11509. this.Ba = a;
  11510. this.du = xc.QB;
  11511. this.Sh = wc.Ww;
  11512. this.By = new Hd;
  11513. this.Zi = new gd
  11514. };
  11515. Id.prototype.nA = function (a, c) {
  11516. var b = a.Ya(),
  11517. d = c.Ya();
  11518. if (b != d && d.Gj(b) && this.du.Gj(a, c)) {
  11519. for (b = d.Yd.Ha(xd); b; b = b.next)
  11520. if (d = b.Kc.Yb, d == a) {
  11521. if (d = b.Kc.Rb, d == c)
  11522. return
  11523. } else if (d == c && (d = b.Kc.Rb, d == a))
  11524. return;
  11525. this.By.rf(a, c)
  11526. }
  11527. };
  11528. Id.prototype.Do = function () {
  11529. var a = this;
  11530. this.Zi.pB(function (c, b) {
  11531. a.nA(c, b)
  11532. })
  11533. };
  11534. Id.prototype.Ob = function (a) {
  11535. 0 < a.kf.oc && (a.Yb.Ya().dd(!0), a.Rb.Ya().dd(!0));
  11536. a.aB();
  11537. this.By.Ob(a)
  11538. };
  11539. Id.prototype.rA = function () {
  11540. for (var a = this.Ba.Yd.Ha(xd); a; a = a.next) {
  11541. var c = a.Kc,
  11542. b = c.Yb,
  11543. d = c.Rb,
  11544. e = b.Ya(),
  11545. f = d.Ya();
  11546. if (!1 != e.Id() || !1 != f.Id()) {
  11547. if (c.Np) {
  11548. if (!1 == f.Gj(e)) {
  11549. this.Ob(c);
  11550. continue
  11551. }
  11552. if (!1 == this.du.Gj(b, d)) {
  11553. this.Ob(c);
  11554. continue
  11555. }
  11556. c.qA()
  11557. }
  11558. !1 == this.Zi.zm(b.vk, d.vk) ? this.Ob(c) : c.Fw(this.Sh)
  11559. }
  11560. }
  11561. };
  11562. var Jd = function () {
  11563. this.Zk = 1;
  11564. this.Dl = 65535;
  11565. this.Si = 0
  11566. };
  11567. Jd.prototype.Gc = function () {
  11568. var a = new Jd;
  11569. a.Zk = this.Zk;
  11570. a.Dl = this.Dl;
  11571. a.Si = this.Si;
  11572. return a
  11573. };
  11574. var uc = function (a, c, b) {
  11575. this.Ud = "Fixture" + uc.Xr++;
  11576. this.oE =
  11577. b.filter.Gc();
  11578. this.qk = Tc();
  11579. this.un = a;
  11580. this.Zh = b.shape.Gc();
  11581. this.Cq = b.cg;
  11582. this.gu = b.Ng;
  11583. this.Cn = b.eh;
  11584. this.Eq = b.Dt
  11585. };
  11586. z = uc.prototype;
  11587. z.Rc = w("Zh");
  11588. z.Bj = w("Eq");
  11589. z.Uv = function () {
  11590. return this.oE.Gc()
  11591. };
  11592. z.Ya = w("un");
  11593. z.Vv = function (a) {
  11594. a || (a = new Oc);
  11595. this.Zh.dm(a, this.Cq);
  11596. return a
  11597. };
  11598. z.Ob = function () {
  11599. Sc.push(this.qk)
  11600. };
  11601. z.Mk = function (a, c) {
  11602. this.Zh.Kk(this.qk, c);
  11603. this.vk = a.Mk(this.qk, this)
  11604. };
  11605. z.Nk = function (a) {
  11606. null != this.vk && (a.Nk(this.vk), this.vk = null)
  11607. };
  11608. z.Dw = function (a, c, b) {
  11609. if (this.vk) {
  11610. var d = Tc(),
  11611. e = Tc();
  11612. this.Zh.Kk(d, c);
  11613. this.Zh.Kk(e,
  11614. b);
  11615. this.qk.wo(d, e);
  11616. Sc.push(d);
  11617. Sc.push(e);
  11618. c = U.Ib(b.position, c.position);
  11619. a.Vr(this.vk, this.qk, c);
  11620. R.wc(c)
  11621. }
  11622. };
  11623. uc.Xr = 0;
  11624. var Ac = function () {
  11625. this.filter = new Jd;
  11626. this.filter.Zk = 1;
  11627. this.filter.Dl = 65535;
  11628. this.filter.Si = 0;
  11629. this.shape = null;
  11630. this.Ng = 0.2;
  11631. this.cg = this.eh = 0;
  11632. this.Dt = !1
  11633. },
  11634. wd = function () {
  11635. this.Xs = this.Ws = null;
  11636. this.Pp = {}
  11637. };
  11638. wd.prototype.Ha = w("Ws");
  11639. wd.prototype.lA = function (a) {
  11640. var c = a.Ud;
  11641. if (null == this.Pp[c]) {
  11642. a = new Kd(a);
  11643. var b = this.Xs;
  11644. null != b ? b.Vf(a) : this.Ws = a;
  11645. a.Wf(b);
  11646. this.Xs = a;
  11647. this.Pp[c] = a
  11648. }
  11649. };
  11650. wd.prototype.$A = function (a) {
  11651. a =
  11652. a.Ud;
  11653. var c = this.Pp[a];
  11654. if (null != c) {
  11655. var b = c.Nf,
  11656. c = c.next;
  11657. null == b ? this.Ws = c : b.Vf(c);
  11658. null == c ? this.Xs = b : c.Wf(b);
  11659. delete this.Pp[a]
  11660. }
  11661. };
  11662. var Kd = function (a) {
  11663. this.Ge = a;
  11664. this.Nf = this.next = null
  11665. };
  11666. Kd.prototype.Vf = aa("next");
  11667. Kd.prototype.Wf = aa("Nf");
  11668. var Ld = function (a, c) {
  11669. this.xE = a;
  11670. this.mg = c;
  11671. this.Sg = [];
  11672. this.Dq = [];
  11673. this.bj = [];
  11674. this.Th = [];
  11675. this.Nd = []
  11676. };
  11677. z = Ld.prototype;
  11678. z.vo = function () {
  11679. this.Sg = [];
  11680. this.Dq = [];
  11681. this.bj = [];
  11682. this.Th = [];
  11683. this.Nd = []
  11684. };
  11685. z.xi = function (a, c, b) {
  11686. this.wB(a, c);
  11687. this.mg.xc(a, this.Th, this.Th.length);
  11688. this.CB(a);
  11689. this.yB(a);
  11690. this.zB(a);
  11691. this.nw(this.mg.Tg);
  11692. b && this.xB(a)
  11693. };
  11694. z.wB = function (a, c) {
  11695. for (var b = 0; b < this.Dq.length; b++) {
  11696. var d = this.Dq[b];
  11697. d.u.x += a.Ja * (c.x + d.M * d.Uh.x);
  11698. d.u.y += a.Ja * (c.y + d.M * d.Uh.y);
  11699. d.J += a.Ja * d.U * d.zk;
  11700. d.u.Vd(U.Nb(1 - a.Ja * d.wE, 0, 1));
  11701. d.J *= U.Nb(1 - a.Ja * d.kE, 0, 1)
  11702. }
  11703. };
  11704. z.CB = function (a) {
  11705. this.mg.sf(a);
  11706. for (var c = 0; c < this.Nd.length; c++)
  11707. this.Nd[c].sf(a);
  11708. for (c = 0; c < a.po; c++) {
  11709. for (var b = 0; b < this.Nd.length; b++)
  11710. this.Nd[b].Ye(a);
  11711. this.mg.Ye()
  11712. }
  11713. for (a = 0; a < this.Nd.length; a++)
  11714. this.Nd[a].Lr();
  11715. this.mg.Lr()
  11716. };
  11717. z.yB = function (a) {
  11718. for (var c =
  11719. 0; c < this.bj.length; ++c) {
  11720. var b = this.bj[c],
  11721. d = a.Ja * b.u.x,
  11722. e = a.Ja * b.u.y;
  11723. 4 < d * d + e * e && (b.u.Wd(), b.u.x = 2 * b.u.x * a.Ih, b.u.y = 2 * b.u.y * a.Ih);
  11724. d = a.Ja * b.J;
  11725. d * d > Gc && (b.J = 0 > b.J ? -Fc * a.Ih : Fc * a.Ih);
  11726. b.n.fd.K(b.n.F);
  11727. b.n.uf = b.n.O;
  11728. b.n.F.x += a.Ja * b.u.x;
  11729. b.n.F.y += a.Ja * b.u.y;
  11730. b.n.O += a.Ja * b.J;
  11731. b.Vb()
  11732. }
  11733. };
  11734. z.zB = function (a) {
  11735. for (var c = 0; c < a.Tn; c++) {
  11736. for (var b = this.mg.Xe(0.2), d = !0, e = 0; e < this.Nd.length; e++)
  11737. var f = this.Nd[e].Xe(0.2), d = d && f;
  11738. if (b && d)
  11739. break
  11740. }
  11741. };
  11742. z.xB = function (a) {
  11743. for (var c = Number.MAX_VALUE, b = 0; b < this.bj.length; b++) {
  11744. var d = this.bj[b];
  11745. !d.bu || Math.abs(d.J) > Hc || 1E-4 < U.Ub(d.u, d.u) ? c = d.Dn = 0 : (d.Dn += a.Ja, c = Math.min(c, d.Dn))
  11746. }
  11747. if (0.5 <= c)
  11748. for (a = 0; a < this.Sg.length; a++)
  11749. this.Sg[a].dd(!1)
  11750. };
  11751. z.ls = function (a) {
  11752. var c = 0,
  11753. b = 0;
  11754. this.mg.xc(a, this.Th, this.Th.length);
  11755. for (var d = this.mg, c = 0; c < this.Nd.length; ++c)
  11756. this.Nd[c].sf(a);
  11757. for (c = 0; c < a.po; ++c)
  11758. for (d.Ye(), b = 0; b < this.Nd.length; ++b)
  11759. this.Nd[b].Ye(a);
  11760. for (c = 0; c < this.bj.length; ++c) {
  11761. var b = this.bj[c],
  11762. e = a.Ja * b.u.x,
  11763. f = a.Ja * b.u.y;
  11764. 4 < e * e + f * f && (b.u.Wd(), b.u.x = 2 * b.u.x * a.Ih, b.u.y = 2 * b.u.y * a.Ih);
  11765. e = a.Ja * b.J;
  11766. e * e > Gc && (b.J = 0 > b.J ?
  11767. -Fc * a.Ih : Fc * a.Ih);
  11768. b.n.fd.K(b.n.F);
  11769. b.n.uf = b.n.O;
  11770. b.n.F.x += a.Ja * b.u.x;
  11771. b.n.F.y += a.Ja * b.u.y;
  11772. b.n.O += a.Ja * b.J;
  11773. b.Vb()
  11774. }
  11775. for (c = 0; c < a.Tn; ++c) {
  11776. e = d.Xe(0.75);
  11777. f = !0;
  11778. for (b = 0; b < this.Nd.length; ++b)
  11779. var g = this.Nd[b].Xe(0.2), f = f && g;
  11780. if (e && f)
  11781. break
  11782. }
  11783. this.nw(d.Tg)
  11784. };
  11785. z.nw = function (a) {
  11786. if (null != this.xE)
  11787. for (var c = 0; c < this.Th.length; ++c)
  11788. for (var b = a[c], d = new Gd, e = 0; e < b.Mf; ++e)
  11789. d.LE[e] = b.sc[e].pc, d.xF[e] = b.sc[e].jh
  11790. };
  11791. z.Ik = function (a) {
  11792. this.Sg.push(a);
  11793. a.bd() != V.Ze && (this.bj.push(a), a.bd() == V.Tc && this.Dq.push(a))
  11794. };
  11795. z.Jk = function (a) {
  11796. this.Th.push(a)
  11797. };
  11798. z.Lv = function (a) {
  11799. this.Nd.push(a)
  11800. };
  11801. var Md = function (a, c, b, d, e) {
  11802. this.Ja = a;
  11803. var f = 0;
  11804. 0 < a && (f = 1 / a);
  11805. this.Ih = f;
  11806. this.Lc = c;
  11807. this.Tn = b;
  11808. this.po = d;
  11809. this.mi = e
  11810. },
  11811. yc = function (a, c) {
  11812. this.md = new Id(this);
  11813. this.mg = new Nd;
  11814. this.nu = !1;
  11815. this.ed = new zd;
  11816. this.Yd = new ud;
  11817. this.Sb = null;
  11818. this.Sj = new vd;
  11819. this.Fq = 0;
  11820. this.mE = this.DE = !0;
  11821. this.bu = c;
  11822. this.hu = a;
  11823. this.Cy = 0;
  11824. this.sE = this.Ir(new V)
  11825. };
  11826. yc.FA = 1 - 100 * Number.MIN_VALUE;
  11827. z = yc.prototype;
  11828. z.ww = function (a) {
  11829. this.md.du = a
  11830. };
  11831. z.xw = function (a) {
  11832. this.md.Sh = a
  11833. };
  11834. z.Ir = function (a) {
  11835. a = new vc(a, this);
  11836. this.ed.Ik(a);
  11837. return a
  11838. };
  11839. z.Ao = function (a) {
  11840. for (var c = a.Sb; c; ) {
  11841. var b = c,
  11842. c = c.next;
  11843. this.Bo(b.Nh)
  11844. }
  11845. for (c = a.Sj.Ha(); c; c = c.next)
  11846. c.mx.mm(a);
  11847. for (c = a.Yd.Ha(xd); c; c = c.next)
  11848. this.md.Ob(c.Kc);
  11849. for (c = a.Nr().Ha(); c; c = c.next)
  11850. a.Qv(c.Ge);
  11851. a.Ob();
  11852. this.ed.mm(a)
  11853. };
  11854. z.zo = function (a) {
  11855. var c = X.rf(a);
  11856. c.xl = null;
  11857. if (c.aj = this.Sb)
  11858. this.Sb.xl = c;
  11859. this.Sb = c;
  11860. this.Fq++;
  11861. c.fe.Nh = c;
  11862. c.fe.mf = c.Z;
  11863. c.fe.prev = null;
  11864. if (c.fe.next = c.Y.Sb)
  11865. c.Y.Sb.prev = c.fe;
  11866. c.Y.Sb = c.fe;
  11867. c.ge.Nh = c;
  11868. c.ge.mf = c.Y;
  11869. c.ge.prev = null;
  11870. if (c.ge.next = c.Z.Sb)
  11871. c.Z.Sb.prev = c.ge;
  11872. c.Z.Sb = c.ge;
  11873. var b = a.P,
  11874. d = a.R;
  11875. if (!a.Cs)
  11876. for (a = d.Yd.Ha(xd); a; a = a.next)
  11877. a.Kc.Go(d) == b && a.Kc.Sv();
  11878. return c
  11879. };
  11880. z.Bo = function (a) {
  11881. var c = a.Ay;
  11882. a.xl && (a.xl.aj = a.aj);
  11883. a.aj && (a.aj.xl = a.xl);
  11884. a == this.Sb && (this.Sb = a.aj);
  11885. var b = a.Y,
  11886. d = a.Z;
  11887. b.dd(!0);
  11888. d.dd(!0);
  11889. a.fe.prev && (a.fe.prev.next = a.fe.next);
  11890. a.fe.next && (a.fe.next.prev = a.fe.prev);
  11891. a.fe == b.Sb && (b.Sb = a.fe.next);
  11892. a.fe.prev = null;
  11893. a.fe.next = null;
  11894. a.ge.prev && (a.ge.prev.next = a.ge.next);
  11895. a.ge.next && (a.ge.next.prev = a.ge.prev);
  11896. a.ge == d.Sb && (d.Sb = a.ge.next);
  11897. a.ge.prev = null;
  11898. a.ge.next = null;
  11899. this.Fq--;
  11900. if (!c)
  11901. for (a = d.Yd.Ha(xd); a; a =
  11902. a.next)
  11903. a.Kc.Go(d) == b && a.Kc.Sv()
  11904. };
  11905. z.$l = function (a) {
  11906. if (null !== a.Ba && a.Ba != this)
  11907. throw Error("Controller can only be a member of one world");
  11908. this.Sj.$l(a);
  11909. a.Ba = this;
  11910. return a
  11911. };
  11912. z.nm = function (a) {
  11913. this.Sj.nm(a);
  11914. a.Ba = null;
  11915. a.vo()
  11916. };
  11917. z.hs = aa("hu");
  11918. z.vh = function (a, c, b) {
  11919. this.nu && (this.md.Do(), this.nu = !1);
  11920. a = new Md(a, this.Cy * a, c, b, this.DE);
  11921. this.md.rA();
  11922. 0 < a.Ja && (this.xi(a), this.mE && this.ls(a), this.Cy = a.Ih)
  11923. };
  11924. z.Pv = function () {
  11925. for (var a = this.ed.Ha(Ad); a; a = a.next)
  11926. a.body.Uh.la(), a.body.zk = 0
  11927. };
  11928. z.ri = w("Yd");
  11929. var Od = [];
  11930. yc.prototype.xi =
  11931. function (a) {
  11932. for (var c = this.Sj.Ha(); c; c = c.next)
  11933. c.mx.vh(a);
  11934. for (var c = new Ld(this.md.Sh, this.mg), b = this.ed.Ha(yd); b; b = b.next)
  11935. b.body.Lb = !1;
  11936. for (var d = this.Yd.Ha(xd); d; d = d.next)
  11937. d.Kc.Lb = !1;
  11938. for (b = this.Sb; b; b = b.aj)
  11939. b.Lb = !1;
  11940. for (b = this.ed.Ha(Cd); b; b = b.next)
  11941. if (d = b.body, !d.Lb) {
  11942. c.vo();
  11943. Od.length = 0;
  11944. var e = Od;
  11945. e.push(d);
  11946. for (d.Lb = !0; 0 < e.length; ) {
  11947. var f = e.pop();
  11948. c.Ik(f);
  11949. f.Id() || f.dd(!0);
  11950. if (f.bd() != V.Ze) {
  11951. for (d = f.Yd.Ha(Pd); d; d = d.next) {
  11952. var g = d.Kc;
  11953. g.Lb || (c.Jk(g), g.Lb = !0, g = g.Go(f), g.Lb || (e.push(g), g.Lb = !0))
  11954. }
  11955. for (d = f.Sb; d; d = d.next)
  11956. !d.Nh.Lb &&
  11957. d.mf.rh() && (c.Lv(d.Nh), d.Nh.Lb = !0, d.mf.Lb || (e.push(d.mf), d.mf.Lb = !0))
  11958. }
  11959. }
  11960. c.xi(a, this.hu, this.bu)
  11961. }
  11962. for (b = this.ed.Ha(Cd); b; b = b.next)
  11963. b.body.Ew();
  11964. this.md.Do()
  11965. };
  11966. yc.prototype.ls = function (a) {
  11967. for (var c = new Ld(this.md.Sh, this.mg), b = this.ed.Ha(yd); b; b = b.next) {
  11968. var d = b.body;
  11969. d.Lb = !1;
  11970. d.n.Qd = 0
  11971. }
  11972. for (var e = this.Yd.Ha(xd); e; e = e.next)
  11973. e.Kc.Lb = !1, e.Kc.Bl = null;
  11974. for (b = this.Sb; b; b = b.aj)
  11975. b.Lb = !1;
  11976. for (; ; ) {
  11977. var b = this.AB(),
  11978. f = b.JE,
  11979. b = b.KE;
  11980. if (null === f || yc.FA < b)
  11981. break;
  11982. e = f.Yb.Ya();
  11983. d = f.Rb.Ya();
  11984. yc.wz.Set(e.n);
  11985. yc.xz.Set(d.n);
  11986. e.oi(b);
  11987. d.oi(b);
  11988. f.Fw(this.md.Sh);
  11989. f.Bl = null;
  11990. if (f.er || !f.enabled)
  11991. e.n.Set(yc.wz), d.n.Set(yc.xz), e.Vb(), d.Vb();
  11992. else if (f.ko) {
  11993. e.bd() != V.Tc && (e = d);
  11994. c.vo();
  11995. Od.length = 0;
  11996. f = Od;
  11997. f.push(e);
  11998. for (e.Lb = !0; 0 < f.length; )
  11999. if (d = f.pop(), c.Ik(d), d.Id() || d.dd(!0), d.bd() == V.Tc) {
  12000. for (e = d.Yd.Ha(Pd); e && 32 != c.lE; e = e.next) {
  12001. var g = e.Kc;
  12002. g.Lb || (c.Jk(g), g.Lb = !0, g = g.Go(d), g.Lb || (g.bd() != V.Ze && (g.oi(b), g.dd(!0), f.push(g)), g.Lb = !0))
  12003. }
  12004. for (d = d.Sb; d; d = d.next)
  12005. 32 != c.Fq && !d.Nh.Lb && d.mf.rh() && (c.Lv(d.Nh), d.Nh.Lb = !0, d.mf.Lb || (d.mf.bd() != V.Ze && (d.mf.oi(b), d.mf.dd(!0),
  12006. f.push(d.mf)), d.mf.Lb = !0))
  12007. }
  12008. c.ls(new Md((1 - b) * a.Ja, 0, a.po, a.Tn, !1));
  12009. for (b = 0; b < c.Sg.length; b++)
  12010. if (c.Sg[b].Lb = !1, c.Sg[b].Id() && c.Sg[b].bd() == V.Tc)
  12011. for (c.Sg[b].Ew(), e = c.Sg[b].Yd.Ha(xd); e; e = e.next)
  12012. e.Kc.Bl = null;
  12013. for (b = 0; b < c.lE; b++)
  12014. c.Th[b].Lb = !1, c.Th[b].Bl = null;
  12015. for (b = 0; b < c.Fq; b++)
  12016. c.Nd[b].Lb = !1;
  12017. this.md.Do()
  12018. }
  12019. }
  12020. };
  12021. yc.prototype.AB = function () {
  12022. for (var a = null, c = 1, b = this.Yd.Ha(Qd); b; b = b.next) {
  12023. var d = b.Kc;
  12024. if (!this.BB(d)) {
  12025. var e = 1;
  12026. if (null != d.Bl)
  12027. e = d.Bl;
  12028. else {
  12029. if (d.ko)
  12030. e = 1;
  12031. else {
  12032. var e = d.Yb.Ya(),
  12033. f = d.Rb.Ya(),
  12034. g = e.n.Qd;
  12035. e.n.Qd < f.n.Qd ?
  12036. (g = f.n.Qd, e.n.oi(g)) : f.n.Qd < e.n.Qd && (g = e.n.Qd, f.n.oi(g));
  12037. e = d.uA(e.n, f.n);
  12038. 0 < e && 1 > e && (e = (1 - e) * g + e)
  12039. }
  12040. d.Bl = e
  12041. }
  12042. Number.MIN_VALUE < e && e < c && (a = d, c = e)
  12043. }
  12044. }
  12045. return {
  12046. JE : a,
  12047. KE : c
  12048. }
  12049. };
  12050. yc.prototype.BB = function (a) {
  12051. var c = a.Yb.Ya();
  12052. a = a.Rb.Ya();
  12053. return c.bd() == V.Tc && c.Id() || a.bd() == V.Tc && a.Id() ? !1 : !0
  12054. };
  12055. var Sd = function (a, c) {
  12056. this.Ud = "Contact" + Rd++;
  12057. this.kf = new ld;
  12058. this.An = new ld;
  12059. this.ko = !1;
  12060. var b = a.Ya(),
  12061. d = c.Ya();
  12062. this.Es = b.bd() != V.Tc || b.tl || d.bd() != V.Tc || d.tl;
  12063. this.er = a.Bj() || c.Bj();
  12064. this.Np = !1;
  12065. this.Yb = a;
  12066. this.Rb = c;
  12067. this.enabled = !0;
  12068. this.fp =
  12069. b.ri();
  12070. this.gp = d.ri();
  12071. this.Cr = d.Ba.ri();
  12072. this.Mv()
  12073. };
  12074. z = Sd.prototype;
  12075. z.cd = function (a, c) {
  12076. this.kf.cd();
  12077. this.An.cd();
  12078. this.ko = !1;
  12079. var b = a.Ya(),
  12080. d = c.Ya();
  12081. this.Es = b.bd() != V.Tc || b.tl || d.bd() != V.Tc || d.tl;
  12082. this.er = a.Bj() || c.Bj();
  12083. this.Np = !1;
  12084. this.Yb = a;
  12085. this.Rb = c;
  12086. this.enabled = !0;
  12087. this.fp = b.ri();
  12088. this.gp = d.ri();
  12089. this.Cr = d.Ba.ri();
  12090. this.Mv()
  12091. };
  12092. z.Mv = function () {
  12093. this.fp.Jk(this);
  12094. this.gp.Jk(this);
  12095. this.Cr.Jk(this);
  12096. this.ps()
  12097. };
  12098. z.ps = function () {
  12099. var a = !1,
  12100. c = !1;
  12101. !this.Bj() && this.enabled && (this.Sr() && (a = !0), this.Es && (c = !0));
  12102. this.fp.os(this,
  12103. a, c);
  12104. this.gp.os(this, a, c);
  12105. this.Cr.os(this, a, c)
  12106. };
  12107. z.aB = function () {
  12108. this.fp.es(this);
  12109. this.gp.es(this);
  12110. this.Cr.es(this)
  12111. };
  12112. z.Sr = w("ko");
  12113. z.Bj = w("er");
  12114. z.Hb = function (a) {
  12115. this.enabled = a;
  12116. this.ps()
  12117. };
  12118. z.Go = function (a) {
  12119. var c = this.Yb.Ya();
  12120. return c != a ? c : this.Rb.Ya()
  12121. };
  12122. z.Sv = function () {
  12123. this.Np = !0
  12124. };
  12125. z.qA = function () {
  12126. this.Np = !1
  12127. };
  12128. z.Fw = function (a) {
  12129. var c = this.An;
  12130. this.An = this.kf;
  12131. this.kf = c;
  12132. this.enabled = !0;
  12133. var b = !1,
  12134. c = this.Sr(),
  12135. d = this.Yb.Ya(),
  12136. e = this.Rb.Ya(),
  12137. f = this.Yb.qk.zm(this.Rb.qk);
  12138. if (this.er) {
  12139. if (f) {
  12140. var b = this.Yb.Rc(),
  12141. d = d.we(),
  12142. f = this.Rb.Rc(),
  12143. g = e.we(),
  12144. e = new bd;
  12145. e.di = new dd;
  12146. e.di.Set(b);
  12147. e.ei = new dd;
  12148. e.ei.Set(f);
  12149. e.ur = d;
  12150. e.wr = g;
  12151. e.cA = !0;
  12152. d = new rd;
  12153. d.count = 0;
  12154. b = new cd;
  12155. ad(b, d, e);
  12156. b = b.Dh < 10 * Number.MIN_VALUE
  12157. }
  12158. this.kf.oc = 0
  12159. } else {
  12160. this.Es = d.bd() != V.Tc || d.tl || e.bd() != V.Tc || e.tl ? !0 : !1;
  12161. if (f)
  12162. for (this.Cg(), b = 0 < this.kf.oc, f = 0; f < this.kf.oc; f++) {
  12163. g = this.kf.ra[f];
  12164. g.uk = 0;
  12165. for (var h = g.yk = 0; h < this.An.oc; h++) {
  12166. var m = this.An.ra[h];
  12167. if (m.Hf.Xd == g.Hf.Xd) {
  12168. g.uk = m.uk;
  12169. g.yk = m.yk;
  12170. break
  12171. }
  12172. }
  12173. }
  12174. else
  12175. this.kf.oc = 0;
  12176. b != c && (d.dd(!0), e.dd(!0))
  12177. }
  12178. this.ko = b;
  12179. b != c && this.ps();
  12180. !c && b && a.uo(this)
  12181. };
  12182. z.Cg = s();
  12183. z.uA = function (a, c) {
  12184. Td.di.Set(this.Yb.Rc());
  12185. Td.ei.Set(this.Rb.Rc());
  12186. Td.Kz = a;
  12187. Td.Lz = c;
  12188. Td.EF = 0.005;
  12189. var b = Td;
  12190. Ud++;
  12191. var d = b.di,
  12192. e = b.ei,
  12193. f = b.Kz,
  12194. g = b.Lz,
  12195. h = d.eb + e.eb,
  12196. b = b.EF,
  12197. m = 0,
  12198. l = 0,
  12199. n = 0;
  12200. Vd.count = 0;
  12201. for (Wd.cA = !1; ; ) {
  12202. f.we(Xd, m);
  12203. g.we(Yd, m);
  12204. Wd.di = d;
  12205. Wd.ei = e;
  12206. Wd.ur = Xd;
  12207. Wd.wr = Yd;
  12208. ad(Zd, Vd, Wd);
  12209. if (0 >= Zd.Dh) {
  12210. m = 1;
  12211. break
  12212. }
  12213. $d.xc(Vd, d, Xd, e, Yd);
  12214. var k = $d.Cg(Xd, Yd);
  12215. if (0 >= k) {
  12216. m = 1;
  12217. break
  12218. }
  12219. 0 == l && (n = k > h ? Math.max(h - b, 0.75 * h) : Math.max(k - b, 0.02 * h));
  12220. if (k - n < 0.5 * b) {
  12221. if (0 == l) {
  12222. m = 1;
  12223. break
  12224. }
  12225. break
  12226. }
  12227. var p = m,
  12228. q = m,
  12229. r = 1;
  12230. f.we(Xd, r);
  12231. g.we(Yd, r);
  12232. var v = $d.Cg(Xd,
  12233. Yd);
  12234. if (v >= n) {
  12235. m = 1;
  12236. break
  12237. }
  12238. for (var u = 0; ; ) {
  12239. var y = 0,
  12240. y = u & 1 ? q + (n - k) * (r - q) / (v - k) : 0.5 * (q + r);
  12241. f.we(Xd, y);
  12242. g.we(Yd, y);
  12243. var F = $d.Cg(Xd, Yd);
  12244. if (Math.abs(F - n) < 0.025 * b) {
  12245. p = y;
  12246. break
  12247. }
  12248. F > n ? (q = y, k = F) : (r = y, v = F);
  12249. u++;
  12250. ae++;
  12251. if (50 == u)
  12252. break
  12253. }
  12254. be = Math.max(be, u);
  12255. if (p < (1 + 100 * Number.MIN_VALUE) * m)
  12256. break;
  12257. m = p;
  12258. l++;
  12259. ce++;
  12260. if (1E3 == l)
  12261. break
  12262. }
  12263. de = Math.max(de, l);
  12264. return m
  12265. };
  12266. var Td = new sd,
  12267. Rd = 0,
  12268. ee = function (a, c) {
  12269. Sd.call(this, a, c)
  12270. };
  12271. rc(ee, Sd);
  12272. ee.prototype.cd = function (a, c) {
  12273. Sd.prototype.cd.call(this, a, c)
  12274. };
  12275. ee.prototype.Cg = function () {
  12276. var a = this.kf,
  12277. c = this.Yb.Rc(),
  12278. b = this.Yb.Ya().H,
  12279. d = this.Rb.Rc(),
  12280. e = this.Rb.Ya().H;
  12281. a.oc = 0;
  12282. var f = e.position.x + (e.q.j.x * d.wb.x + e.q.k.x * d.wb.y) - (b.position.x + (b.q.j.x * c.wb.x + b.q.k.x * c.wb.y)),
  12283. b = e.position.y + (e.q.j.y * d.wb.x + e.q.k.y * d.wb.y) - (b.position.y + (b.q.j.y * c.wb.x + b.q.k.y * c.wb.y)),
  12284. e = c.eb + d.eb;
  12285. f * f + b * b > e * e || (a.fb = 1, a.ya.K(c.wb), a.nd.la(), a.oc = 1, a.ra[0].ya.K(d.wb), a.ra[0].Hf.Dj(0))
  12286. };
  12287. var ge = function () {
  12288. this.Rg = R.C(0, 0);
  12289. this.nc = R.C(0, 0);
  12290. this.Od = R.C(0, 0);
  12291. this.ai = new sc;
  12292. this.xe = new sc;
  12293. this.sc = [];
  12294. for (var a = 0; 2 > a; a++)
  12295. this.sc[a] = new fe
  12296. },
  12297. fe =
  12298. function () {
  12299. this.nc = R.C(0, 0);
  12300. this.fc = R.C(0, 0);
  12301. this.gc = R.C(0, 0)
  12302. };
  12303. fe.prototype.cd = function () {
  12304. this.nc.Set(0, 0);
  12305. this.fc.Set(0, 0);
  12306. this.gc.Set(0, 0)
  12307. };
  12308. var Hd = function () {
  12309. this.pg = {};
  12310. this.Vh = {};
  12311. this.am(ee, zc.Tf, zc.Tf);
  12312. this.am(he, W.Tf, zc.Tf);
  12313. this.am(ie, W.Tf, W.Tf);
  12314. this.am(je, "b2EdgeShape", zc.Tf);
  12315. this.am(ke, W.Tf, "b2EdgeShape")
  12316. };
  12317. Hd.prototype.am = function (a, c, b) {
  12318. this.Vh[c] = this.Vh[c] || {};
  12319. this.Vh[c][b] = this.Vh[c][b] || [];
  12320. this.pg[c] = this.pg[c] || {};
  12321. this.pg[c][b] = new le;
  12322. this.pg[c][b].qx = a;
  12323. this.pg[c][b].jz = !0;
  12324. c != b && (this.pg[b] =
  12325. this.pg[b] || {}, this.pg[b][c] = new le, this.pg[b][c].qx = a, this.pg[b][c].jz = !1)
  12326. };
  12327. Hd.prototype.rf = function (a, c) {
  12328. var b = a.Rc().Aj(),
  12329. d = c.Rc().Aj(),
  12330. e = this.pg[b][d],
  12331. f = e.qx;
  12332. return null != f ? e.jz ? 0 < this.Vh[b][d].length ? (b = this.Vh[b][d].pop(), b.cd(a, c), b) : new f(a, c) : 0 < this.Vh[d][b].length ? (b = this.Vh[d][b].pop(), b.cd(c, a), b) : new f(c, a) : null
  12333. };
  12334. Hd.prototype.Ob = function (a) {
  12335. var c = a.Yb.Rc().Aj(),
  12336. b = a.Rb.Rc().Aj();
  12337. this.Vh[c][b].push(a)
  12338. };
  12339. var ud = function () {
  12340. this.rp = [];
  12341. for (var a = 0; a <= xd; a++)
  12342. this.rp[a] = null;
  12343. this.sp = [];
  12344. for (a =
  12345. 0; a <= xd; a++)
  12346. this.sp[a] = null;
  12347. this.Rj = {}
  12348. };
  12349. z = ud.prototype;
  12350. z.Ha = function (a) {
  12351. return this.rp[a]
  12352. };
  12353. z.Jk = function (a) {
  12354. var c = a.Ud;
  12355. if (null == this.Rj[c]) {
  12356. this.Rj[c] = [];
  12357. for (var b = 0; b <= xd; b++)
  12358. this.Rj[c][b] = null;
  12359. this.Bg(a, c, xd)
  12360. }
  12361. };
  12362. z.os = function (a, c, b) {
  12363. c ? this.Bg(a, a.Ud, Pd) : this.Fg(a.Ud, Pd);
  12364. b ? this.Bg(a, a.Ud, Qd) : this.Fg(a.Ud, Qd)
  12365. };
  12366. z.es = function (a) {
  12367. a = a.Ud;
  12368. if (null != this.Rj[a]) {
  12369. for (var c = 0; c <= xd; c++)
  12370. this.Fg(a, c);
  12371. delete this.Rj[a]
  12372. }
  12373. };
  12374. z.Fg = function (a, c) {
  12375. var b = this.Rj[a];
  12376. if (null != b) {
  12377. var d = b[c];
  12378. if (null != d) {
  12379. b[c] = null;
  12380. var b = d.Nf,
  12381. e = d.next;
  12382. null == b ? this.rp[c] = e : b.Vf(e);
  12383. null == e ? this.sp[c] = b : e.Wf(b);
  12384. me.push(d)
  12385. }
  12386. }
  12387. };
  12388. z.Bg = function (a, c, b) {
  12389. c = this.Rj[c];
  12390. if (null == c[b]) {
  12391. if (0 < me.length) {
  12392. var d = me.pop();
  12393. d.next = null;
  12394. d.Nf = null;
  12395. d.Kc = a;
  12396. a = d
  12397. } else
  12398. a = new ne(a);
  12399. c[b] = a;
  12400. a = this.sp[b];
  12401. null != a ? (a.Vf(c[b]), c[b].Wf(a)) : this.rp[b] = c[b];
  12402. this.sp[b] = c[b]
  12403. }
  12404. };
  12405. var Pd = 0,
  12406. Qd = 1,
  12407. xd = 2,
  12408. ne = function (a) {
  12409. this.Kc = a;
  12410. this.Nf = this.next = null
  12411. },
  12412. me = [];
  12413. ne.prototype.Vf = aa("next");
  12414. ne.prototype.Wf = aa("Nf");
  12415. var le = s(),
  12416. oe = function () {
  12417. this.za = R.C(0, 0);
  12418. this.Jq = [];
  12419. this.ra = [];
  12420. for (var a = 0; 2 >
  12421. a; a++)
  12422. this.ra[a] = R.C(0, 0)
  12423. };
  12424. oe.prototype.xc = function (a) {
  12425. switch (a.type) {
  12426. case 1:
  12427. this.tB(a);
  12428. break;
  12429. case 2:
  12430. this.uB(a);
  12431. break;
  12432. case 4:
  12433. this.vB(a)
  12434. }
  12435. };
  12436. oe.prototype.tB = function (a) {
  12437. var c = a.P.H.q,
  12438. b = a.nc,
  12439. d = a.P.H.position.x + (c.j.x * b.x + c.k.x * b.y),
  12440. e = a.P.H.position.y + (c.j.y * b.x + c.k.y * b.y),
  12441. c = a.R.H.q,
  12442. b = a.sc[0].nc,
  12443. f = a.R.H.position.x + (c.j.x * b.x + c.k.x * b.y),
  12444. c = a.R.H.position.y + (c.j.y * b.x + c.k.y * b.y),
  12445. b = f - d,
  12446. g = c - e,
  12447. h = b * b + g * g;
  12448. h > Ic ? (h = Math.sqrt(h), this.za.x = b / h, this.za.y = g / h) : (this.za.x = 1, this.za.y = 0);
  12449. this.ra[0].x = 0.5 * (d + f);
  12450. this.ra[0].y =
  12451. 0.5 * (e + c);
  12452. this.Jq[0] = b * this.za.x + g * this.za.y - a.Wq
  12453. };
  12454. oe.prototype.uB = function (a) {
  12455. this.za.x = a.P.H.q.j.x * a.Rg.x + a.P.H.q.k.x * a.Rg.y;
  12456. this.za.y = a.P.H.q.j.y * a.Rg.x + a.P.H.q.k.y * a.Rg.y;
  12457. for (var c = a.P.H.position.x + (a.P.H.q.j.x * a.nc.x + a.P.H.q.k.x * a.nc.y), b = a.P.H.position.y + (a.P.H.q.j.y * a.nc.x + a.P.H.q.k.y * a.nc.y), d = 0; d < a.Mf; d++) {
  12458. var e = a.R.H.position.x + (a.R.H.q.j.x * a.sc[d].nc.x + a.R.H.q.k.x * a.sc[d].nc.y),
  12459. f = a.R.H.position.y + (a.R.H.q.j.y * a.sc[d].nc.x + a.R.H.q.k.y * a.sc[d].nc.y);
  12460. this.Jq[d] = (e - c) * this.za.x + (f - b) * this.za.y -
  12461. a.Wq;
  12462. this.ra[d].x = e;
  12463. this.ra[d].y = f
  12464. }
  12465. };
  12466. oe.prototype.vB = function (a) {
  12467. this.za.x = a.R.H.q.j.x * a.Rg.x + a.R.H.q.k.x * a.Rg.y;
  12468. this.za.y = a.R.H.q.j.y * a.Rg.x + a.R.H.q.k.y * a.Rg.y;
  12469. for (var c = a.R.H.position.x + (a.R.H.q.j.x * a.nc.x + a.R.H.q.k.x * a.nc.y), b = a.R.H.position.y + (a.R.H.q.j.y * a.nc.x + a.R.H.q.k.y * a.nc.y), d = 0; d < a.Mf; d++) {
  12470. var e = a.P.H.position.x + (a.P.H.q.j.x * a.sc[d].nc.x + a.P.H.q.k.x * a.sc[d].nc.y),
  12471. f = a.P.H.position.y + (a.P.H.q.j.y * a.sc[d].nc.x + a.P.H.q.k.y * a.sc[d].nc.y);
  12472. this.Jq[d] = (e - c) * this.za.x + (f - b) * this.za.y - a.Wq;
  12473. this.ra[d].Set(e,
  12474. f)
  12475. }
  12476. this.za.x *= -1;
  12477. this.za.y *= -1
  12478. };
  12479. var Nd = function () {
  12480. this.Tg = []
  12481. };
  12482. z = Nd.prototype;
  12483. z.xc = function (a, c, b) {
  12484. for (this.vn = b; this.Tg.length < this.vn; )
  12485. this.Tg[this.Tg.length] = new ge;
  12486. for (a = 0; a < b; a++) {
  12487. var d = c[a],
  12488. e = d.Yb,
  12489. f = d.Rb,
  12490. g = e.Zh.eb,
  12491. h = f.Zh.eb,
  12492. m = e.Ya(),
  12493. l = f.Ya(),
  12494. n = d.kf,
  12495. k = Math.sqrt(e.gu * f.gu),
  12496. p = e.Cn > f.Cn ? e.Cn : f.Cn,
  12497. q = m.u.x,
  12498. r = m.u.y,
  12499. v = l.u.x,
  12500. u = l.u.y,
  12501. y = m.J,
  12502. F = l.J;
  12503. pe.xc(n, m.H, g, l.H, h);
  12504. f = pe.za.x;
  12505. d = pe.za.y;
  12506. e = this.Tg[a];
  12507. e.P = m;
  12508. e.R = l;
  12509. e.EE = n;
  12510. e.Od.x = f;
  12511. e.Od.y = d;
  12512. e.Mf = n.oc;
  12513. e.Ng = k;
  12514. e.eh = p;
  12515. e.Rg.x = n.nd.x;
  12516. e.Rg.y = n.nd.y;
  12517. e.nc.x = n.ya.x;
  12518. e.nc.y =
  12519. n.ya.y;
  12520. e.Wq = g + h;
  12521. e.type = n.fb;
  12522. for (g = 0; g < e.Mf; ++g) {
  12523. k = n.ra[g];
  12524. h = e.sc[g];
  12525. h.pc = k.uk;
  12526. h.jh = k.yk;
  12527. h.nc.K(k.ya);
  12528. var k = h.fc.x = pe.ra[g].x - m.n.F.x,
  12529. p = h.fc.y = pe.ra[g].y - m.n.F.y,
  12530. H = h.gc.x = pe.ra[g].x - l.n.F.x,
  12531. J = h.gc.y = pe.ra[g].y - l.n.F.y,
  12532. A = k * d - p * f,
  12533. C = H * d - J * f,
  12534. A = A * A,
  12535. C = C * C;
  12536. h.ai = 1 / (m.M + l.M + m.U * A + l.U * C);
  12537. var I = m.X * m.M + l.X * l.M,
  12538. I = I + (m.X * m.U * A + l.X * l.U * C);
  12539. h.IC = 1 / I;
  12540. C = d;
  12541. I = -f;
  12542. A = k * I - p * C;
  12543. C = H * I - J * C;
  12544. A *= A;
  12545. C *= C;
  12546. h.yF = 1 / (m.M + l.M + m.U * A + l.U * C);
  12547. h.oo = 0;
  12548. k = e.Od.x * (v + -F * J - q - -y * p) + e.Od.y * (u + F * H - r - y * k);
  12549. -1 > k && (h.oo += -e.eh * k)
  12550. }
  12551. 2 == e.Mf && (u = e.sc[0], v =
  12552. e.sc[1], n = m.M, m = m.U, q = l.M, l = l.U, r = u.fc.x * d - u.fc.y * f, u = u.gc.x * d - u.gc.y * f, y = v.fc.x * d - v.fc.y * f, v = v.gc.x * d - v.gc.y * f, f = n + q + m * r * r + l * u * u, d = n + q + m * y * y + l * v * v, l = n + q + m * r * y + l * u * v, f * f < 100 * (f * d - l * l) ? (e.xe.j.Set(f, l), e.xe.k.Set(l, d), e.xe.Or(e.ai)) : e.Mf = 1)
  12553. }
  12554. };
  12555. z.sf = function (a) {
  12556. for (var c = 0; c < this.vn; ++c) {
  12557. var b = this.Tg[c],
  12558. d = b.P,
  12559. e = b.R,
  12560. f = d.M,
  12561. g = d.U,
  12562. h = e.M,
  12563. m = e.U,
  12564. l = b.Od.x,
  12565. n = b.Od.y,
  12566. k = n,
  12567. p = -l,
  12568. q = 0,
  12569. r = 0;
  12570. if (a.mi)
  12571. for (r = b.Mf, q = 0; q < r; ++q) {
  12572. var v = b.sc[q];
  12573. v.pc *= a.Lc;
  12574. v.jh *= a.Lc;
  12575. var u = v.pc * l + v.jh * k,
  12576. y = v.pc * n + v.jh * p;
  12577. d.J -= g * (v.fc.x * y - v.fc.y *
  12578. u);
  12579. d.u.x -= f * u;
  12580. d.u.y -= f * y;
  12581. e.J += m * (v.gc.x * y - v.gc.y * u);
  12582. e.u.x += h * u;
  12583. e.u.y += h * y
  12584. }
  12585. else
  12586. for (r = b.Mf, q = 0; q < r; ++q)
  12587. d = b.sc[q], d.pc = 0, d.jh = 0
  12588. }
  12589. };
  12590. z.Ye = function () {
  12591. for (var a = 0; a < this.vn; a++)
  12592. this.gB(this.Tg[a])
  12593. };
  12594. z.gB = function (a) {
  12595. for (var c = a.Od.x, b = a.Od.y, d = 0; d < a.Mf; d++)
  12596. Nd.prototype.hB(a, a.sc[d]);
  12597. if (1 == a.Mf) {
  12598. var d = a.sc[0],
  12599. e = d.pc - d.ai * ((a.R.u.x - a.R.J * d.gc.y - a.P.u.x + a.P.J * d.fc.y) * c + (a.R.u.y + a.R.J * d.gc.x - a.P.u.y - a.P.J * d.fc.x) * b - d.oo),
  12600. e = 0 < e ? e : 0,
  12601. f = e - d.pc,
  12602. g = f * c,
  12603. b = f * b;
  12604. a.P.u.x -= a.P.M * g;
  12605. a.P.u.y -= a.P.M * b;
  12606. a.P.J -= a.P.U * (d.fc.x * b -
  12607. d.fc.y * g);
  12608. a.R.u.x += a.R.M * g;
  12609. a.R.u.y += a.R.M * b;
  12610. a.R.J += a.R.U * (d.gc.x * b - d.gc.y * g);
  12611. d.pc = e
  12612. } else
  12613. for (var d = a.sc[0], e = a.sc[1], f = d.pc, g = e.pc, h = (a.R.u.x - a.R.J * d.gc.y - a.P.u.x + a.P.J * d.fc.y) * c + (a.R.u.y + a.R.J * d.gc.x - a.P.u.y - a.P.J * d.fc.x) * b - d.oo, b = (a.R.u.x - a.R.J * e.gc.y - a.P.u.x + a.P.J * e.fc.y) * c + (a.R.u.y + a.R.J * e.gc.x - a.P.u.y - a.P.J * e.fc.x) * b - e.oo, h = h - (a.xe.j.x * f + a.xe.k.x * g), b = b - (a.xe.j.y * f + a.xe.k.y * g); ; ) {
  12614. c = - (a.ai.j.x * h + a.ai.k.x * b);
  12615. if (0 <= c) {
  12616. var m = - (a.ai.j.y * h + a.ai.k.y * b);
  12617. if (0 <= m) {
  12618. this.So(a, d, e, c - f, m - g);
  12619. d.pc = c;
  12620. e.pc = m;
  12621. break
  12622. }
  12623. }
  12624. c = -d.ai * h;
  12625. if (0 <= c && 0 <= a.xe.j.y * c + b) {
  12626. this.So(a, d, e, c - f, -g);
  12627. d.pc = c;
  12628. e.pc = 0;
  12629. break
  12630. }
  12631. c = -e.ai * b;
  12632. if (0 <= c && 0 <= a.xe.k.x * c + h) {
  12633. this.So(a, d, e, -f, c - g);
  12634. d.pc = 0;
  12635. e.pc = c;
  12636. break
  12637. }
  12638. if (0 <= h && 0 <= b) {
  12639. this.So(a, d, e, -f, -g);
  12640. d.pc = 0;
  12641. e.pc = 0;
  12642. break
  12643. }
  12644. break
  12645. }
  12646. };
  12647. z.hB = function (a, c) {
  12648. var b = a.Od.y,
  12649. d = -a.Od.x,
  12650. e = a.Ng * c.pc,
  12651. e = U.Nb(c.jh - c.yF * ((a.R.u.x - a.R.J * c.gc.y - a.P.u.x + a.P.J * c.fc.y) * b + (a.R.u.y + a.R.J * c.gc.x - a.P.u.y - a.P.J * c.fc.x) * d), -e, e),
  12652. f = e - c.jh,
  12653. b = f * b,
  12654. d = f * d;
  12655. a.P.u.x -= a.P.M * b;
  12656. a.P.u.y -= a.P.M * d;
  12657. a.P.J -= a.P.U * (c.fc.x * d - c.fc.y * b);
  12658. a.R.u.x += a.R.M *
  12659. b;
  12660. a.R.u.y += a.R.M * d;
  12661. a.R.J += a.R.U * (c.gc.x * d - c.gc.y * b);
  12662. c.jh = e
  12663. };
  12664. z.So = function (a, c, b, d, e) {
  12665. var f = d * a.Od.x;
  12666. d *= a.Od.y;
  12667. var g = e * a.Od.x;
  12668. e *= a.Od.y;
  12669. a.P.u.x -= a.P.M * (f + g);
  12670. a.P.u.y -= a.P.M * (d + e);
  12671. a.P.J -= a.P.U * (c.fc.x * d - c.fc.y * f + b.fc.x * e - b.fc.y * g);
  12672. a.R.u.x += a.R.M * (f + g);
  12673. a.R.u.y += a.R.M * (d + e);
  12674. a.R.J += a.R.U * (c.gc.x * d - c.gc.y * f + b.gc.x * e - b.gc.y * g);
  12675. c.pc = 0;
  12676. b.pc = 0
  12677. };
  12678. z.Lr = function () {
  12679. for (var a = 0; a < this.vn; ++a)
  12680. for (var c = this.Tg[a], b = c.EE, d = 0; d < c.Mf; ++d) {
  12681. var e = b.ra[d],
  12682. f = c.sc[d];
  12683. e.uk = f.pc;
  12684. e.yk = f.jh
  12685. }
  12686. };
  12687. z.Xe = function (a) {
  12688. void 0 === a && (a = 0);
  12689. for (var c = 0, b = 0; b < this.vn; b++) {
  12690. var d = this.Tg[b],
  12691. e = d.P,
  12692. f = d.R,
  12693. g = e.X * e.M,
  12694. h = e.X * e.U,
  12695. m = f.X * f.M,
  12696. l = f.X * f.U;
  12697. qe.xc(d);
  12698. for (var n = qe.za, k = 0; k < d.Mf; k++) {
  12699. var p = d.sc[k],
  12700. q = qe.ra[k],
  12701. r = qe.Jq[k],
  12702. v = q.x - e.n.F.x,
  12703. u = q.y - e.n.F.y,
  12704. y = q.x - f.n.F.x,
  12705. q = q.y - f.n.F.y,
  12706. c = c < r ? c : r,
  12707. r = -p.IC * U.Nb(a * (r + 0.005), -0.2, 0),
  12708. p = r * n.x,
  12709. r = r * n.y;
  12710. e.n.F.x -= g * p;
  12711. e.n.F.y -= g * r;
  12712. e.n.O -= h * (v * r - u * p);
  12713. e.Vb();
  12714. f.n.F.x += m * p;
  12715. f.n.F.y += m * r;
  12716. f.n.O += l * (y * r - q * p);
  12717. f.Vb()
  12718. }
  12719. }
  12720. return -0.0075 < c
  12721. };
  12722. var je = function (a, c) {
  12723. Sd.call(this, a, c)
  12724. };
  12725. rc(je, Sd);
  12726. je.prototype.cd = function (a, c) {
  12727. Sd.prototype.cd.call(this,
  12728. a, c)
  12729. };
  12730. je.prototype.Cg = function () {
  12731. this.Yb.Rc();
  12732. this.Rb.Rc()
  12733. };
  12734. var he = function (a, c) {
  12735. Sd.call(this, a, c)
  12736. };
  12737. rc(he, Sd);
  12738. he.prototype.cd = function (a, c) {
  12739. Sd.prototype.cd.call(this, a, c)
  12740. };
  12741. he.prototype.Cg = function () {
  12742. a : {
  12743. var a = this.kf,
  12744. c = this.Yb.Rc(),
  12745. b = this.Yb.Ya().H,
  12746. d = this.Rb.Rc(),
  12747. e = this.Rb.Ya().H;
  12748. a.oc = 0;
  12749. for (var f = e.position.x + (e.q.j.x * d.wb.x + e.q.k.x * d.wb.y) - b.position.x, g = e.position.y + (e.q.j.y * d.wb.x + e.q.k.y * d.wb.y) - b.position.y, e = f * b.q.j.x + g * b.q.j.y, b = f * b.q.k.x + g * b.q.k.y, f = 0, g = -Number.MAX_VALUE, h = c.eb + d.eb, m = 0; m <
  12750. c.Ra; ++m) {
  12751. var l = c.Aa[m].x * (e - c.N[m].x) + c.Aa[m].y * (b - c.N[m].y);
  12752. if (l > h)
  12753. break a;
  12754. l > g && (g = l, f = m)
  12755. }
  12756. l = f + 1;
  12757. l >= c.Ra && (l = 0);
  12758. var m = c.N[f],
  12759. n = c.N[l];
  12760. g < Number.MIN_VALUE ? (a.oc = 1, a.fb = 2, a.nd.K(c.Aa[f]), a.ya.x = 0.5 * (m.x + n.x), a.ya.y = 0.5 * (m.y + n.y), a.ra[0].ya.K(d.wb), a.ra[0].Hf.Dj(0)) : 0 >= (e - m.x) * (n.x - m.x) + (b - m.y) * (n.y - m.y) ? (e - m.x) * (e - m.x) + (b - m.y) * (b - m.y) > h * h || (a.oc = 1, a.fb = 2, a.nd.x = e - m.x, a.nd.y = b - m.y, a.nd.Wd(), a.ya.K(m), a.ra[0].ya.K(d.wb), a.ra[0].Hf.Dj(0)) : 0 >= (e - n.x) * (m.x - n.x) + (b - n.y) * (m.y - n.y) ? (e - n.x) * (e - n.x) + (b - n.y) *
  12761. (b - n.y) > h * h || (a.oc = 1, a.fb = 2, a.nd.x = e - n.x, a.nd.y = b - n.y, a.nd.Wd(), a.ya.K(n), a.ra[0].ya.K(d.wb), a.ra[0].Hf.Dj(0)) : (l = 0.5 * (m.x + n.x), m = 0.5 * (m.y + n.y), g = (e - l) * c.Aa[f].x + (b - m) * c.Aa[f].y, g > h || (a.oc = 1, a.fb = 2, a.nd.x = c.Aa[f].x, a.nd.y = c.Aa[f].y, a.nd.Wd(), a.ya.Set(l, m), a.ra[0].ya.K(d.wb), a.ra[0].Hf.Dj(0)))
  12762. }
  12763. };
  12764. var ke = function (a, c) {
  12765. Sd.call(this, a, c)
  12766. };
  12767. rc(ke, Sd);
  12768. ke.prototype.cd = function (a, c) {
  12769. Sd.prototype.cd.call(this, a, c)
  12770. };
  12771. ke.prototype.Cg = function () {
  12772. this.Yb.Rc();
  12773. this.Rb.Rc()
  12774. };
  12775. var ie = function (a, c) {
  12776. Sd.call(this, a, c)
  12777. };
  12778. rc(ie, Sd);
  12779. ie.prototype.cd = function (a, c) {
  12780. Sd.prototype.cd.call(this, a, c)
  12781. };
  12782. ie.prototype.Cg = function () {
  12783. var a = this.kf,
  12784. c = this.Yb.Rc(),
  12785. b = this.Yb.Ya().H,
  12786. d = this.Rb.Rc(),
  12787. e = this.Rb.Ya().H;
  12788. a.oc = 0;
  12789. var f = c.eb + d.eb,
  12790. g = Zc(c, b, d, e),
  12791. h = g.Yw;
  12792. if (!(g.gr > f)) {
  12793. var m = Zc(d, e, c, b);
  12794. if (!(m.gr > f)) {
  12795. var l = c,
  12796. n = d,
  12797. k = b,
  12798. p = e,
  12799. q = 0;
  12800. a.fb = 2;
  12801. m.gr > 0.98 * g.gr + 0.001 && (l = d, n = c, k = e, p = b, h = m.Yw, a.fb = 4, q = 1);
  12802. c = h;
  12803. b = p;
  12804. d = re;
  12805. void 0 === c && (c = 0);
  12806. for (var e = k.q.j.x * l.Aa[c].x + k.q.k.x * l.Aa[c].y, g = k.q.j.y * l.Aa[c].x + k.q.k.y * l.Aa[c].y, m = b.q.j.x * e + b.q.j.y * g, g = b.q.k.x *
  12807. e + b.q.k.y * g, e = m, m = 0, r = Number.MAX_VALUE, v = 0; v < n.Ra; v++) {
  12808. var u = e * n.Aa[v].x + g * n.Aa[v].y;
  12809. u < r && (r = u, m = v)
  12810. }
  12811. e = m + 1;
  12812. e >= n.Ra && (e = 0);
  12813. d[0].qf.x = b.position.x + (b.q.j.x * n.N[m].x + b.q.k.x * n.N[m].y);
  12814. d[0].qf.y = b.position.y + (b.q.j.y * n.N[m].x + b.q.k.y * n.N[m].y);
  12815. d[0].id.Bw(c);
  12816. d[0].id.yw(m);
  12817. d[0].id.zw(0);
  12818. d[1].qf.x = b.position.x + (b.q.j.x * n.N[e].x + b.q.k.x * n.N[e].y);
  12819. d[1].qf.y = b.position.y + (b.q.j.y * n.N[e].x + b.q.k.y * n.N[e].y);
  12820. d[1].id.Bw(c);
  12821. d[1].id.yw(e);
  12822. d[1].id.zw(1);
  12823. c = l.N[h];
  12824. h = h + 1 < l.Ra ? l.N[h + 1] : l.N[0];
  12825. se.Set(h.x - c.x, h.y - c.y);
  12826. se.Wd();
  12827. xe.x = se.y;
  12828. xe.y = -se.x;
  12829. ye.Set(0.5 * (c.x + h.x), 0.5 * (c.y + h.y));
  12830. ze.x = k.q.j.x * se.x + k.q.k.x * se.y;
  12831. ze.y = k.q.j.y * se.x + k.q.k.y * se.y;
  12832. Ae.x = -ze.x;
  12833. Ae.y = -ze.y;
  12834. Be.x = ze.y;
  12835. Be.y = -ze.x;
  12836. Ce.x = k.position.x + (k.q.j.x * c.x + k.q.k.x * c.y);
  12837. Ce.y = k.position.y + (k.q.j.y * c.x + k.q.k.y * c.y);
  12838. De.x = k.position.x + (k.q.j.x * h.x + k.q.k.x * h.y);
  12839. De.y = k.position.y + (k.q.j.y * h.x + k.q.k.y * h.y);
  12840. if (!(2 > Uc(Ee, re, Ae, -ze.x * Ce.x - ze.y * Ce.y + f) || 2 > Uc(Fe, Ee, ze, ze.x * De.x + ze.y * De.y + f))) {
  12841. a.nd.K(xe);
  12842. a.ya.K(ye);
  12843. k = Be.x * Ce.x + Be.y * Ce.y;
  12844. for (l = h = 0; 2 > l; ++l)
  12845. Be.x * Fe[l].qf.x +
  12846. Be.y * Fe[l].qf.y - k <= f && (c = Fe[l].qf.x - p.position.x, n = Fe[l].qf.y - p.position.y, a.ra[h].ya.x = c * p.q.j.x + n * p.q.j.y, a.ra[h].ya.y = c * p.q.k.x + n * p.q.k.y, a.ra[h].Hf.Set(Fe[l].id), a.ra[h].Hf.cB(q), h++);
  12847. a.oc = h
  12848. }
  12849. }
  12850. }
  12851. };
  12852. var He = function () {
  12853. this.Ud = "Controller" + Ge++;
  12854. this.Ba = null;
  12855. this.ed = new zd
  12856. };
  12857. He.prototype.vh = s();
  12858. He.prototype.Ik = function (a) {
  12859. this.ed.Ik(a);
  12860. a.$l(this)
  12861. };
  12862. He.prototype.mm = function (a) {
  12863. this.ed.mm(a);
  12864. a.nm(this)
  12865. };
  12866. He.prototype.vo = function () {
  12867. for (var a = this.ed.Ha(yd); a; a = a.next)
  12868. this.mm(a.body)
  12869. };
  12870. var Ge = 0,
  12871. Ie = function () {
  12872. He.call(this);
  12873. this.Od = R.C(0, -1);
  12874. this.cg = this.offset = 0;
  12875. this.fA = R.C(0, 0);
  12876. this.gE = 2;
  12877. this.MB = 1;
  12878. this.KF = !0;
  12879. this.Rx = null
  12880. };
  12881. rc(Ie, He);
  12882. Ie.prototype.vh = function () {
  12883. this.KF && (this.Rx = this.Ba.hu.Gc());
  12884. for (var a = this.ed.Ha(Dd); a; a = a.next) {
  12885. for (var c = a.body, b = R.C(0, 0), d = R.C(0, 0), e = 0, f = 0, g = c.Nr().Ha(); g; g = g.next) {
  12886. var h = R.C(0, 0),
  12887. m = g.Ge.Rc().yo(this.Od, this.offset, c.we(), h),
  12888. e = e + m;
  12889. b.x += m * h.x;
  12890. b.y += m * h.y;
  12891. var l = 0,
  12892. l = 1,
  12893. f = f + m * l;
  12894. d.x += m * h.x * l;
  12895. d.y += m * h.y * l
  12896. }
  12897. e < Number.MIN_VALUE || (b.x /= e, b.y /= e, d.x /= f, d.y /= f, f = this.Rx.si(), f.Vd(this.cg * e), c.zg(f,
  12898. d), f = c.AA(b), f.ms(this.fA), f.Vd(-this.gE * e), c.zg(f, b), c.to(-c.Ff / c.Qk() * e * c.Eo() * this.MB), R.wc(b), R.wc(d))
  12899. }
  12900. };
  12901. var Je = function () {
  12902. He.call(this);
  12903. this.Kv = R.C(0, 0)
  12904. };
  12905. rc(Je, He);
  12906. Je.prototype.vh = function (a) {
  12907. a = R.C(this.Kv.x * a.Ja, this.Kv.y * a.Ja);
  12908. for (var c = this.ed.Ha(Dd); c; c = c.next) {
  12909. var b = c.body,
  12910. d = b.yj();
  12911. b.Ej(R.C(d.x + a.x, d.y + a.y))
  12912. }
  12913. R.wc(a)
  12914. };
  12915. var Ke = function () {
  12916. He.call(this);
  12917. this.xA = R.C(0, 0)
  12918. };
  12919. rc(Ke, He);
  12920. Ke.prototype.vh = function () {
  12921. for (var a = this.ed.Ha(Dd); a; a = a.next) {
  12922. var c = a.body;
  12923. c.zg(this.xA, c.Rk())
  12924. }
  12925. };
  12926. var vd = function () {
  12927. this.Gs =
  12928. this.Fs = null;
  12929. this.up = {}
  12930. };
  12931. vd.prototype.Ha = w("Fs");
  12932. vd.prototype.$l = function (a) {
  12933. var c = a.Ud;
  12934. if (null == this.up[c]) {
  12935. a = new Le(a);
  12936. var b = this.Gs;
  12937. null != b ? b.Vf(a) : this.Fs = a;
  12938. a.Wf(b);
  12939. this.Gs = a;
  12940. this.up[c] = a
  12941. }
  12942. };
  12943. vd.prototype.nm = function (a) {
  12944. a = a.Ud;
  12945. var c = this.up[a];
  12946. if (null != c) {
  12947. var b = c.Nf,
  12948. c = c.next;
  12949. null == b ? this.Fs = c : b.Vf(c);
  12950. null == c ? this.Gs = b : c.Wf(b);
  12951. delete this.up[a]
  12952. }
  12953. };
  12954. var Le = function (a) {
  12955. this.mx = a;
  12956. this.Nf = this.next = null
  12957. };
  12958. Le.prototype.Vf = aa("next");
  12959. Le.prototype.Wf = aa("Nf");
  12960. var Me = function () {
  12961. He.call(this);
  12962. this.Tv = 1;
  12963. this.UD =
  12964. !0
  12965. };
  12966. rc(Me, He);
  12967. Me.prototype.vh = function () {
  12968. var a = null,
  12969. c = null,
  12970. b = 0,
  12971. d = null,
  12972. e = null,
  12973. f = 0,
  12974. g = 0,
  12975. h = 0,
  12976. f = null;
  12977. if (this.UD)
  12978. for (var m = this.ed.Ha(yd); m; m = m.next)
  12979. for (var a = m.body, c = a.Rk(), b = a.Qk(), l = this.ed.Ha(yd); l; l = l.next) {
  12980. if (d = l.body, a.Id() || d.Id())
  12981. e = d.Rk(), f = e.x - c.x, g = e.y - c.y, h = f * f + g * g, h < Number.MIN_VALUE || (f = R.C(f, g), f.Vd(this.Tv / h / Math.sqrt(h) * b * d.Qk()), a.Id() && a.zg(f, c), f.Vd(-1), d.Id() && d.zg(f, e), R.wc(f))
  12982. }
  12983. else
  12984. for (m = this.ed.Ha(yd); m; m = m.next)
  12985. for (a = bodyNode.body, c = a.Rk(), b = a.Qk(), l = this.ed.Ha(yd); l; l = l.next)
  12986. if (d =
  12987. bodyNode.body, a.Id() || d.Id())
  12988. e = d.Rk(), f = e.x - c.x, g = e.y - c.y, h = f * f + g * g, h < Number.MIN_VALUE || (f = R.C(f, g), f.Vd(this.Tv / h * b * d.Qk()), a.Id() && a.zg(f, c), f.Vd(-1), d.Id() && d.zg(f, e), R.wc(f))
  12989. };
  12990. var Ne = function () {
  12991. He.call(this);
  12992. this.mB = new sc;
  12993. this.su = 0
  12994. };
  12995. rc(Ne, He);
  12996. Ne.prototype.vh = function (a) {
  12997. a = a.Ja;
  12998. if (!(a <= Number.MIN_VALUE)) {
  12999. a > this.su && 0 < this.su && (a = this.su);
  13000. for (var c = this.ed.Ha(Dd); c; c = c.next) {
  13001. var b = c.body,
  13002. d = b.Qr(U.kc(this.mB, b.Pr(b.yj())));
  13003. b.Ej(R.C(b.yj().x + d.x * a, b.yj().y + d.y * a))
  13004. }
  13005. }
  13006. };
  13007. var X = function (a) {
  13008. this.fe = new Oe;
  13009. this.ge = new Oe;
  13010. this.Wg = R.C(0, 0);
  13011. this.Xg = R.C(0, 0);
  13012. this.fb = a.type;
  13013. this.aj = this.xl = null;
  13014. this.Y = a.P;
  13015. this.Z = a.R;
  13016. this.Ay = a.Cs
  13017. };
  13018. X.prototype.bd = w("fb");
  13019. X.prototype.em = w("Y");
  13020. X.prototype.Mr = w("Z");
  13021. X.prototype.rh = function () {
  13022. return this.Y.rh() && this.Z.rh()
  13023. };
  13024. X.rf = function (a) {
  13025. return a.rf()
  13026. };
  13027. X.prototype.sf = s();
  13028. X.prototype.Ye = s();
  13029. X.prototype.Lr = s();
  13030. X.prototype.Xe = x(!1);
  13031. X.DC = 0;
  13032. X.bl = 1;
  13033. X.BC = 2;
  13034. X.Ps = 3;
  13035. X.CC = 4;
  13036. X.aH = 5;
  13037. X.zC = 6;
  13038. X.AC = 7;
  13039. X.EC = 8;
  13040. X.yC = 9;
  13041. X.Zd = 0;
  13042. X.Kg = 1;
  13043. X.gd = 2;
  13044. X.Ni = 3;
  13045. var Pe = function () {
  13046. this.type = X.DC;
  13047. this.R = this.P =
  13048. null;
  13049. this.Cs = !1
  13050. },
  13051. Oe = s(),
  13052. Qe = function (a) {
  13053. X.call(this, a);
  13054. this.ha = R.C(0, 0);
  13055. this.ja = R.C(0, 0);
  13056. this.Oc = R.C(0, 0);
  13057. this.ha.K(a.Jb);
  13058. this.ja.K(a.Kb);
  13059. this.iu = a.length;
  13060. this.fu = a.Rp;
  13061. this.nE = a.Cp;
  13062. this.zy = this.tk = this.I = 0
  13063. };
  13064. rc(Qe, X);
  13065. Qe.prototype.sf = function (a) {
  13066. var c,
  13067. b = 0,
  13068. d = this.Y,
  13069. e = this.Z;
  13070. c = d.H.q;
  13071. var f = this.ha.x - d.n.S.x,
  13072. g = this.ha.y - d.n.S.y,
  13073. b = c.j.x * f + c.k.x * g,
  13074. g = c.j.y * f + c.k.y * g,
  13075. f = b;
  13076. c = e.H.q;
  13077. var h = this.ja.x - e.n.S.x,
  13078. m = this.ja.y - e.n.S.y,
  13079. b = c.j.x * h + c.k.x * m,
  13080. m = c.j.y * h + c.k.y * m,
  13081. h = b;
  13082. this.Oc.x = e.n.F.x + h - d.n.F.x - f;
  13083. this.Oc.y = e.n.F.y +
  13084. m - d.n.F.y - g;
  13085. b = Math.sqrt(this.Oc.x * this.Oc.x + this.Oc.y * this.Oc.y);
  13086. 0.005 < b ? this.Oc.Vd(1 / b) : this.Oc.la();
  13087. c = f * this.Oc.y - g * this.Oc.x;
  13088. var l = h * this.Oc.y - m * this.Oc.x;
  13089. c = d.M + d.U * c * c + e.M + e.U * l * l;
  13090. this.X = 0 != c ? 1 / c : 0;
  13091. if (0 < this.fu) {
  13092. var b = b - this.iu,
  13093. l = 2 * Math.PI * this.fu,
  13094. n = this.X * l * l;
  13095. this.tk = a.Ja * (2 * this.X * this.nE * l + a.Ja * n);
  13096. this.tk = 0 != this.tk ? 1 / this.tk : 0;
  13097. this.zy = b * a.Ja * n * this.tk;
  13098. this.X = c + this.tk;
  13099. this.X = 0 != this.X ? 1 / this.X : 0
  13100. }
  13101. a.mi ? (this.I *= a.Lc, a = this.I * this.Oc.x, c = this.I * this.Oc.y, d.u.x -= d.M * a, d.u.y -= d.M * c, d.J -= d.U * (f *
  13102. c - g * a), e.u.x += e.M * a, e.u.y += e.M * c, e.J += e.U * (h * c - m * a)) : this.I = 0
  13103. };
  13104. Qe.prototype.Ye = function () {
  13105. var a = this.ha.x - this.Y.n.S.x,
  13106. c = this.ha.y - this.Y.n.S.y,
  13107. b = this.Y.H.q.j.x * a + this.Y.H.q.k.x * c,
  13108. c = this.Y.H.q.j.y * a + this.Y.H.q.k.y * c,
  13109. a = b,
  13110. d = this.ja.x - this.Z.n.S.x,
  13111. e = this.ja.y - this.Z.n.S.y,
  13112. b = this.Z.H.q.j.x * d + this.Z.H.q.k.x * e,
  13113. e = this.Z.H.q.j.y * d + this.Z.H.q.k.y * e,
  13114. d = b,
  13115. f = -this.X * (this.Oc.x * (this.Z.u.x - this.Z.J * e - (this.Y.u.x - this.Y.J * c)) + this.Oc.y * (this.Z.u.y + this.Z.J * d - (this.Y.u.y + this.Y.J * a)) + this.zy + this.tk * this.I);
  13116. this.I +=
  13117. f;
  13118. b = f * this.Oc.x;
  13119. f *= this.Oc.y;
  13120. this.Y.u.x -= this.Y.M * b;
  13121. this.Y.u.y -= this.Y.M * f;
  13122. this.Y.J -= this.Y.U * (a * f - c * b);
  13123. this.Z.u.x += this.Z.M * b;
  13124. this.Z.u.y += this.Z.M * f;
  13125. this.Z.J += this.Z.U * (d * f - e * b)
  13126. };
  13127. Qe.prototype.Xe = function () {
  13128. if (0 < this.fu)
  13129. return !0;
  13130. var a = this.ha.x - this.Y.n.S.x,
  13131. c = this.ha.y - this.Y.n.S.y,
  13132. b = this.Y.H.q.j.x * a + this.Y.H.q.k.x * c,
  13133. c = this.Y.H.q.j.y * a + this.Y.H.q.k.y * c,
  13134. a = b,
  13135. d = this.ja.x - this.Z.n.S.x,
  13136. e = this.ja.y - this.Z.n.S.y,
  13137. b = this.Z.H.q.j.x * d + this.Z.H.q.k.x * e,
  13138. e = this.Z.H.q.j.y * d + this.Z.H.q.k.y * e,
  13139. d = b,
  13140. f = this.Z.n.F.x + d -
  13141. this.Y.n.F.x - a,
  13142. g = this.Z.n.F.y + e - this.Y.n.F.y - c,
  13143. h = Math.sqrt(f * f + g * g),
  13144. b = U.Nb(h - this.iu, -0.2, 0.2),
  13145. m = -this.X * b;
  13146. this.Oc.Set(f / h, g / h);
  13147. f = m * this.Oc.x;
  13148. m *= this.Oc.y;
  13149. this.Y.n.F.x -= this.Y.M * f;
  13150. this.Y.n.F.y -= this.Y.M * m;
  13151. this.Y.n.O -= this.Y.U * (a * m - c * f);
  13152. this.Z.n.F.x += this.Z.M * f;
  13153. this.Z.n.F.y += this.Z.M * m;
  13154. this.Z.n.O += this.Z.U * (d * m - e * f);
  13155. this.Y.Vb();
  13156. this.Z.Vb();
  13157. return 0.005 > Math.abs(b)
  13158. };
  13159. var Bc = function () {
  13160. Pe.call(this);
  13161. this.Jb = R.C(0, 0);
  13162. this.Kb = R.C(0, 0);
  13163. this.type = X.Ps;
  13164. this.length = 1;
  13165. this.Cp = this.Rp = 0
  13166. };
  13167. rc(Bc, Pe);
  13168. Bc.prototype.xc =
  13169. function (a, c, b, d) {
  13170. this.P = a;
  13171. this.R = c;
  13172. this.Jb.K(this.P.Hd(b));
  13173. this.Kb.K(this.R.Hd(d));
  13174. a = d.x - b.x;
  13175. b = d.y - b.y;
  13176. this.length = Math.sqrt(a * a + b * b);
  13177. this.Cp = this.Rp = 0
  13178. };
  13179. Bc.prototype.rf = function () {
  13180. return new Qe(this)
  13181. };
  13182. var Re = function (a) {
  13183. X.call(this, a);
  13184. this.gf = R.C(0, 0);
  13185. this.hf = R.C(0, 0);
  13186. this.lu = new sc;
  13187. this.ff = R.C(0, 0);
  13188. this.gf.K(a.Jb);
  13189. this.hf.K(a.Kb);
  13190. this.lu.la();
  13191. this.tn = 0;
  13192. this.ff.la();
  13193. this.Rh = 0;
  13194. this.yE = a.FE;
  13195. this.AE = a.GE
  13196. };
  13197. rc(Re, X);
  13198. Re.prototype.sf = function (a) {
  13199. var c,
  13200. b = 0,
  13201. d = this.Y,
  13202. e = this.Z;
  13203. c = d.H.q;
  13204. var f = this.gf.x - d.n.S.x,
  13205. g = this.gf.y - d.n.S.y,
  13206. b = c.j.x * f + c.k.x * g,
  13207. g = c.j.y * f + c.k.y * g,
  13208. f = b;
  13209. c = e.H.q;
  13210. var h = this.hf.x - e.n.S.x,
  13211. m = this.hf.y - e.n.S.y,
  13212. b = c.j.x * h + c.k.x * m,
  13213. m = c.j.y * h + c.k.y * m,
  13214. h = b;
  13215. c = d.M;
  13216. var b = e.M,
  13217. l = d.U,
  13218. n = e.U,
  13219. k = new sc;
  13220. k.j.x = c + b;
  13221. k.k.x = 0;
  13222. k.j.y = 0;
  13223. k.k.y = c + b;
  13224. k.j.x += l * g * g;
  13225. k.k.x += -l * f * g;
  13226. k.j.y += -l * f * g;
  13227. k.k.y += l * f * f;
  13228. k.j.x += n * m * m;
  13229. k.k.x += -n * h * m;
  13230. k.j.y += -n * h * m;
  13231. k.k.y += n * h * h;
  13232. k.Or(this.lu);
  13233. this.tn = l + n;
  13234. 0 < this.tn && (this.tn = 1 / this.tn);
  13235. a.mi ? (this.ff.x *= a.Lc, this.ff.y *= a.Lc, this.Rh *= a.Lc, a = this.ff, d.u.x -= c * a.x, d.u.y -= c * a.y, d.J -= l * (f * a.y - g * a.x + this.Rh),
  13236. e.u.x += b * a.x, e.u.y += b * a.y, e.J += n * (h * a.y - m * a.x + this.Rh)) : (this.ff.la(), this.Rh = 0)
  13237. };
  13238. Re.prototype.Ye = function (a) {
  13239. var c,
  13240. b = 0,
  13241. d = this.Y,
  13242. e = this.Z,
  13243. f = d.u,
  13244. g = d.J,
  13245. h = e.u,
  13246. m = e.J,
  13247. l = d.M,
  13248. n = e.M,
  13249. k = d.U,
  13250. p = e.U;
  13251. c = d.H.q;
  13252. var q = this.gf.x - d.n.S.x,
  13253. r = this.gf.y - d.n.S.y,
  13254. b = c.j.x * q + c.k.x * r,
  13255. r = c.j.y * q + c.k.y * r,
  13256. q = b;
  13257. c = e.H.q;
  13258. var v = this.hf.x - e.n.S.x,
  13259. u = this.hf.y - e.n.S.y,
  13260. b = c.j.x * v + c.k.x * u,
  13261. u = c.j.y * v + c.k.y * u,
  13262. v = b;
  13263. c = 0;
  13264. var b = -this.tn * (m - g),
  13265. y = this.Rh;
  13266. c = a.Ja * this.AE;
  13267. this.Rh = U.Nb(this.Rh + b, -c, c);
  13268. b = this.Rh - y;
  13269. g -= k * b;
  13270. m += p * b;
  13271. c = U.kc(this.lu, R.C( - (h.x - m *
  13272. u - f.x + g * r), - (h.y + m * v - f.y - g * q)));
  13273. b = this.ff.Gc();
  13274. this.ff.oh(c);
  13275. c = a.Ja * this.yE;
  13276. this.ff.Lo() > c * c && (this.ff.Wd(), this.ff.Vd(c));
  13277. c = U.Ib(this.ff, b);
  13278. f.x -= l * c.x;
  13279. f.y -= l * c.y;
  13280. g -= k * (q * c.y - r * c.x);
  13281. h.x += n * c.x;
  13282. h.y += n * c.y;
  13283. m += p * (v * c.y - u * c.x);
  13284. d.J = g;
  13285. e.J = m
  13286. };
  13287. Re.prototype.Xe = x(!0);
  13288. var Se = function () {
  13289. Pe.call(this);
  13290. this.Jb = R.C(0, 0);
  13291. this.Kb = R.C(0, 0);
  13292. this.type = X.yC;
  13293. this.GE = this.FE = 0
  13294. };
  13295. rc(Se, Pe);
  13296. Se.prototype.xc = function (a, c, b) {
  13297. this.P = a;
  13298. this.R = c;
  13299. this.Jb.K(this.P.Hd(b));
  13300. this.Kb.K(this.R.Hd(b))
  13301. };
  13302. Se.prototype.rf = function () {
  13303. return new Re(this)
  13304. };
  13305. var Ue = function (a) {
  13306. X.call(this, a);
  13307. this.Wh = R.C(0, 0);
  13308. this.Xh = R.C(0, 0);
  13309. this.ha = R.C(0, 0);
  13310. this.ja = R.C(0, 0);
  13311. this.Qb = new Te;
  13312. var c = a.nl.fb,
  13313. b = a.ol.fb;
  13314. this.zl = this.xk = this.yl = this.wk = null;
  13315. var d = 0,
  13316. e = 0;
  13317. this.qE = a.nl.em();
  13318. this.Y = a.nl.Mr();
  13319. c == X.bl ? (this.wk = a.nl, this.Wh.K(this.wk.ha), this.ha.K(this.wk.ja), d = this.wk.Fo()) : (this.yl = a.nl, this.Wh.K(this.yl.ha), this.ha.K(this.yl.ja), d = this.yl.gm());
  13320. this.rE = a.ol.em();
  13321. this.Z = a.ol.Mr();
  13322. b == X.bl ? (this.xk = a.ol, this.Xh.K(this.xk.ha), this.ja.K(this.xk.ja), e = this.xk.Fo()) : (this.zl =
  13323. a.ol, this.Xh.K(this.zl.ha), this.ja.K(this.zl.ja), e = this.zl.gm());
  13324. this.ac = a.Qe;
  13325. this.ul = d + this.ac * e;
  13326. this.I = 0
  13327. };
  13328. rc(Ue, X);
  13329. Ue.prototype.sf = function (a) {
  13330. var c = this.qE,
  13331. b = this.rE,
  13332. d = this.Y,
  13333. e = this.Z,
  13334. f = 0,
  13335. g = 0,
  13336. h = 0,
  13337. m = 0,
  13338. l = h = 0,
  13339. n = 0;
  13340. this.Qb.la();
  13341. this.wk ? (this.Qb.Ij = -1, n += d.U) : (c = c.H.q, g = this.yl.qe, f = c.j.x * g.x + c.k.x * g.y, g = c.j.y * g.x + c.k.y * g.y, c = d.H.q, h = this.ha.x - d.n.S.x, m = this.ha.y - d.n.S.y, l = c.j.x * h + c.k.x * m, m = c.j.y * h + c.k.y * m, h = l * g - m * f, this.Qb.kg.Set(-f, -g), this.Qb.Ij = -h, n += d.M + d.U * h * h);
  13342. this.xk ? (this.Qb.Jj = -this.ac, n +=
  13343. this.ac * this.ac * e.U) : (c = b.H.q, g = this.zl.qe, f = c.j.x * g.x + c.k.x * g.y, g = c.j.y * g.x + c.k.y * g.y, c = e.H.q, h = this.ja.x - e.n.S.x, m = this.ja.y - e.n.S.y, l = c.j.x * h + c.k.x * m, m = c.j.y * h + c.k.y * m, h = l * g - m * f, this.Qb.lg.Set(-this.ac * f, -this.ac * g), this.Qb.Jj = -this.ac * h, n += this.ac * this.ac * (e.M + e.U * h * h));
  13344. this.X = 0 < n ? 1 / n : 0;
  13345. a.mi ? (d.u.x += d.M * this.I * this.Qb.kg.x, d.u.y += d.M * this.I * this.Qb.kg.y, d.J += d.U * this.I * this.Qb.Ij, e.u.x += e.M * this.I * this.Qb.lg.x, e.u.y += e.M * this.I * this.Qb.lg.y, e.J += e.U * this.I * this.Qb.Jj) : this.I = 0
  13346. };
  13347. Ue.prototype.Ye =
  13348. function () {
  13349. var a = this.Y,
  13350. c = this.Z,
  13351. b = -this.X * this.Qb.sA(a.u, a.J, c.u, c.J);
  13352. this.I += b;
  13353. a.u.x += a.M * b * this.Qb.kg.x;
  13354. a.u.y += a.M * b * this.Qb.kg.y;
  13355. a.J += a.U * b * this.Qb.Ij;
  13356. c.u.x += c.M * b * this.Qb.lg.x;
  13357. c.u.y += c.M * b * this.Qb.lg.y;
  13358. c.J += c.U * b * this.Qb.Jj
  13359. };
  13360. Ue.prototype.Xe = function () {
  13361. var a = this.Y,
  13362. c = this.Z,
  13363. b = 0,
  13364. d = 0,
  13365. b = this.wk ? this.wk.Fo() : this.yl.gm(),
  13366. d = this.xk ? this.xk.Fo() : this.zl.gm(),
  13367. b = -this.X * (this.ul - (b + this.ac * d));
  13368. a.n.F.x += a.M * b * this.Qb.kg.x;
  13369. a.n.F.y += a.M * b * this.Qb.kg.y;
  13370. a.n.O += a.U * b * this.Qb.Ij;
  13371. c.n.F.x += c.M * b * this.Qb.lg.x;
  13372. c.n.F.y += c.M * b * this.Qb.lg.y;
  13373. c.n.O += c.U * b * this.Qb.Jj;
  13374. a.Vb();
  13375. c.Vb();
  13376. return !0
  13377. };
  13378. var Ve = function () {
  13379. Pe.call(this);
  13380. this.type = X.zC;
  13381. this.ol = this.nl = null;
  13382. this.Qe = 1
  13383. };
  13384. rc(Ve, Pe);
  13385. Ve.prototype.xc = function (a, c, b) {
  13386. this.nl = a;
  13387. this.P = a.em();
  13388. this.ol = c;
  13389. this.R = c.em();
  13390. this.Qe = b
  13391. };
  13392. Ve.prototype.rf = function () {
  13393. return new Ue(this)
  13394. };
  13395. var Te = function () {
  13396. this.kg = R.C(0, 0);
  13397. this.lg = R.C(0, 0)
  13398. };
  13399. Te.prototype.la = function () {
  13400. this.kg.la();
  13401. this.Ij = 0;
  13402. this.lg.la();
  13403. this.Jj = 0
  13404. };
  13405. Te.prototype.Set = function (a, c, b, d) {
  13406. void 0 === c && (c = 0);
  13407. void 0 === d && (d = 0);
  13408. this.kg.K(a);
  13409. this.Ij = c;
  13410. this.lg.K(b);
  13411. this.Jj = d
  13412. };
  13413. Te.prototype.sA = function (a, c, b, d) {
  13414. void 0 === c && (c = 0);
  13415. void 0 === d && (d = 0);
  13416. return this.kg.x * a.x + this.kg.y * a.y + this.Ij * c + (this.lg.x * b.x + this.lg.y * b.y) + this.Jj * d
  13417. };
  13418. var We = function (a) {
  13419. X.call(this, a);
  13420. this.ha = R.C(0, 0);
  13421. this.ja = R.C(0, 0);
  13422. this.qe = R.C(0, 0);
  13423. this.Yh = R.C(0, 0);
  13424. this.V = R.C(0, 0);
  13425. this.ma = R.C(0, 0);
  13426. this.ga = new sc;
  13427. this.I = R.C(0, 0);
  13428. this.ha.K(a.Jb);
  13429. this.ja.K(a.Kb);
  13430. this.qe.K(a.ok);
  13431. this.Yh.x = -this.qe.y;
  13432. this.Yh.y = this.qe.x;
  13433. this.I.la();
  13434. this.Qa = this.he = 0;
  13435. this.jf = a.au;
  13436. this.lf = a.Cv;
  13437. this.mu = a.ru;
  13438. this.zn = a.Fl;
  13439. this.ng = a.Vj;
  13440. this.$i = a.cl;
  13441. this.Fa = X.Zd;
  13442. this.V.la();
  13443. this.ma.la()
  13444. };
  13445. rc(We, X);
  13446. We.prototype.gm = function () {
  13447. var a = this.Y,
  13448. c = this.Z,
  13449. b = a.Io(this.ha),
  13450. d = c.Io(this.ja),
  13451. c = d.x - b.x,
  13452. b = d.y - b.y,
  13453. a = a.Qr(this.qe);
  13454. return a.x * c + a.y * b
  13455. };
  13456. We.prototype.sf = function (a) {
  13457. var c = this.Y,
  13458. b = this.Z,
  13459. d,
  13460. e = 0;
  13461. this.Wg.K(c.zj());
  13462. this.Xg.K(b.zj());
  13463. var f = c.we();
  13464. b.we();
  13465. d = c.H.q;
  13466. var g = this.ha.x - this.Wg.x,
  13467. h = this.ha.y - this.Wg.y,
  13468. e = d.j.x * g + d.k.x * h,
  13469. h = d.j.y * g + d.k.y * h,
  13470. g = e;
  13471. d = b.H.q;
  13472. var m = this.ja.x - this.Xg.x,
  13473. l = this.ja.y -
  13474. this.Xg.y,
  13475. e = d.j.x * m + d.k.x * l,
  13476. l = d.j.y * m + d.k.y * l,
  13477. m = e;
  13478. d = b.n.F.x + m - c.n.F.x - g;
  13479. e = b.n.F.y + l - c.n.F.y - h;
  13480. this.Zb = c.M;
  13481. this.$b = b.M;
  13482. this.Ld = c.U;
  13483. this.Md = b.U;
  13484. this.V.K(U.kc(f.q, this.qe));
  13485. this.jb = (d + g) * this.V.y - (e + h) * this.V.x;
  13486. this.kb = m * this.V.y - l * this.V.x;
  13487. this.he = this.Zb + this.$b + this.Ld * this.jb * this.jb + this.Md * this.kb * this.kb;
  13488. this.he = this.he > Number.MIN_VALUE ? 1 / this.he : 0;
  13489. this.ma.K(U.kc(f.q, this.Yh));
  13490. this.ob = (d + g) * this.ma.y - (e + h) * this.ma.x;
  13491. this.pb = m * this.ma.y - l * this.ma.x;
  13492. f = this.Zb;
  13493. g = this.$b;
  13494. h = this.Ld;
  13495. m = this.Md;
  13496. this.ga.j.x =
  13497. f + g + h * this.ob * this.ob + m * this.pb * this.pb;
  13498. this.ga.j.y = h * this.ob * this.jb + m * this.pb * this.kb;
  13499. this.ga.k.x = this.ga.j.y;
  13500. this.ga.k.y = f + g + h * this.jb * this.jb + m * this.kb * this.kb;
  13501. this.ng ? (d = this.V.x * d + this.V.y * e, 0.01 > Math.abs(this.lf - this.jf) ? this.Fa = X.Ni : d <= this.jf ? this.Fa != X.Kg && (this.Fa = X.Kg, this.I.y = 0) : d >= this.lf ? this.Fa != X.gd && (this.Fa = X.gd, this.I.y = 0) : (this.Fa = X.Zd, this.I.y = 0)) : this.Fa = X.Zd;
  13502. !1 == this.$i && (this.Qa = 0);
  13503. a.mi ? (this.I.x *= a.Lc, this.I.y *= a.Lc, this.Qa *= a.Lc, a = this.I.x * this.ma.x + (this.Qa + this.I.y) * this.V.x,
  13504. d = this.I.x * this.ma.y + (this.Qa + this.I.y) * this.V.y, e = this.I.x * this.ob + (this.Qa + this.I.y) * this.jb, f = this.I.x * this.pb + (this.Qa + this.I.y) * this.kb, c.u.x -= this.Zb * a, c.u.y -= this.Zb * d, c.J -= this.Ld * e, b.u.x += this.$b * a, b.u.y += this.$b * d, b.J += this.Md * f) : (this.I.la(), this.Qa = 0)
  13505. };
  13506. We.prototype.Ye = function (a) {
  13507. var c = this.Y,
  13508. b = this.Z,
  13509. d = c.u,
  13510. e = c.J,
  13511. f = b.u,
  13512. g = b.J,
  13513. h = 0,
  13514. m = 0,
  13515. l = 0,
  13516. n = 0;
  13517. this.$i && this.Fa != X.Ni && (n = this.he * (this.zn - (this.V.x * (f.x - d.x) + this.V.y * (f.y - d.y) + this.kb * g - this.jb * e)), h = this.Qa, m = a.Ja * this.mu, this.Qa = U.Nb(this.Qa +
  13518. n, -m, m), n = this.Qa - h, h = n * this.V.x, m = n * this.V.y, l = n * this.jb, n *= this.kb, d.x -= this.Zb * h, d.y -= this.Zb * m, e -= this.Ld * l, f.x += this.$b * h, f.y += this.$b * m, g += this.Md * n);
  13519. m = this.ma.x * (f.x - d.x) + this.ma.y * (f.y - d.y) + this.pb * g - this.ob * e;
  13520. this.ng && this.Fa != X.Zd ? (l = this.V.x * (f.x - d.x) + this.V.y * (f.y - d.y) + this.kb * g - this.jb * e, h = this.I.Gc(), a = this.ga.xi(R.C(0, 0), -m, -l), this.I.oh(a), this.Fa == X.Kg ? this.I.y = Math.max(this.I.y, 0) : this.Fa == X.gd && (this.I.y = Math.min(this.I.y, 0)), m = -m - (this.I.y - h.y) * this.ga.k.x, l = 0, l = 0 != this.ga.j.x ?
  13521. m / this.ga.j.x + h.x : h.x, this.I.x = l, a.x = this.I.x - h.x, a.y = this.I.y - h.y, h = a.x * this.ma.x + a.y * this.V.x, m = a.x * this.ma.y + a.y * this.V.y, l = a.x * this.ob + a.y * this.jb, n = a.x * this.pb + a.y * this.kb) : (a = 0, a = 0 != this.ga.j.x ? -m / this.ga.j.x : 0, this.I.x += a, h = a * this.ma.x, m = a * this.ma.y, l = a * this.ob, n = a * this.pb);
  13522. d.x -= this.Zb * h;
  13523. d.y -= this.Zb * m;
  13524. e -= this.Ld * l;
  13525. f.x += this.$b * h;
  13526. f.y += this.$b * m;
  13527. g += this.Md * n;
  13528. c.u.K(d);
  13529. c.J = e;
  13530. b.u.K(f);
  13531. b.J = g
  13532. };
  13533. We.prototype.Xe = function () {
  13534. var a = this.Y,
  13535. c = this.Z,
  13536. b = a.n.F,
  13537. d = a.n.O,
  13538. e = c.n.F,
  13539. f = c.n.O,
  13540. g,
  13541. h = 0,
  13542. m = 0,
  13543. l = 0,
  13544. n = 0,
  13545. k = g =
  13546. 0,
  13547. p = 0,
  13548. m = !1,
  13549. q = 0,
  13550. r = sc.Pk(d),
  13551. l = sc.Pk(f);
  13552. g = r;
  13553. var p = this.ha.x - this.Wg.x,
  13554. v = this.ha.y - this.Wg.y,
  13555. h = g.j.x * p + g.k.x * v,
  13556. v = g.j.y * p + g.k.y * v,
  13557. p = h;
  13558. g = l;
  13559. l = this.ja.x - this.Xg.x;
  13560. n = this.ja.y - this.Xg.y;
  13561. h = g.j.x * l + g.k.x * n;
  13562. n = g.j.y * l + g.k.y * n;
  13563. l = h;
  13564. g = e.x + l - b.x - p;
  13565. h = e.y + n - b.y - v;
  13566. if (this.ng) {
  13567. this.V = U.kc(r, this.qe);
  13568. this.jb = (g + p) * this.V.y - (h + v) * this.V.x;
  13569. this.kb = l * this.V.y - n * this.V.x;
  13570. var u = this.V.x * g + this.V.y * h;
  13571. 0.01 > Math.abs(this.lf - this.jf) ? (q = U.Nb(u, -0.2, 0.2), k = Math.abs(u), m = !0) : u <= this.jf ? (q = U.Nb(u - this.jf + 0.005, -0.2, 0), k = this.jf - u,
  13572. m = !0) : u >= this.lf && (q = U.Nb(u - this.lf + 0.005, 0, 0.2), k = u - this.lf, m = !0)
  13573. }
  13574. this.ma = U.kc(r, this.Yh);
  13575. this.ob = (g + p) * this.ma.y - (h + v) * this.ma.x;
  13576. this.pb = l * this.ma.y - n * this.ma.x;
  13577. r = R.C(0, 0);
  13578. v = this.ma.x * g + this.ma.y * h;
  13579. k = Math.max(k, Math.abs(v));
  13580. p = 0;
  13581. m ? (m = this.Zb, l = this.$b, n = this.Ld, g = this.Md, this.ga.j.x = m + l + n * this.ob * this.ob + g * this.pb * this.pb, this.ga.j.y = n * this.ob * this.jb + g * this.pb * this.kb, this.ga.k.x = this.ga.j.y, this.ga.k.y = m + l + n * this.jb * this.jb + g * this.kb * this.kb, this.ga.xi(r, -v, -q)) : (m = this.Zb, l = this.$b, n = this.Ld,
  13582. g = this.Md, q = m + l + n * this.ob * this.ob + g * this.pb * this.pb, r.x = 0 != q ? -v / q : 0, r.y = 0);
  13583. q = r.x * this.ma.x + r.y * this.V.x;
  13584. m = r.x * this.ma.y + r.y * this.V.y;
  13585. v = r.x * this.ob + r.y * this.jb;
  13586. r = r.x * this.pb + r.y * this.kb;
  13587. b.x -= this.Zb * q;
  13588. b.y -= this.Zb * m;
  13589. d -= this.Ld * v;
  13590. e.x += this.$b * q;
  13591. e.y += this.$b * m;
  13592. f += this.Md * r;
  13593. a.n.O = d;
  13594. c.n.O = f;
  13595. a.Vb();
  13596. c.Vb();
  13597. return 0.005 >= k && p <= Dc
  13598. };
  13599. var Xe = function () {
  13600. Pe.call(this);
  13601. this.Jb = R.C(0, 0);
  13602. this.Kb = R.C(0, 0);
  13603. this.ok = R.C(0, 0);
  13604. this.type = X.AC;
  13605. this.ok.Set(1, 0);
  13606. this.Vj = !1;
  13607. this.Cv = this.au = 0;
  13608. this.cl = !1;
  13609. this.Fl = this.ru = 0
  13610. };
  13611. rc(Xe,
  13612. Pe);
  13613. Xe.prototype.xc = function (a, c, b, d) {
  13614. this.P = a;
  13615. this.R = c;
  13616. this.Jb = this.P.Hd(b);
  13617. this.Kb = this.R.Hd(b);
  13618. this.ok = this.P.Pr(d)
  13619. };
  13620. Xe.prototype.rf = function () {
  13621. return new We(this)
  13622. };
  13623. var Ye = function (a) {
  13624. X.call(this, a);
  13625. this.ha = R.C(0, 0);
  13626. this.ja = R.C(0, 0);
  13627. this.qe = R.C(0, 0);
  13628. this.Yh = R.C(0, 0);
  13629. this.V = R.C(0, 0);
  13630. this.ma = R.C(0, 0);
  13631. this.ga = new Kc;
  13632. this.I = new Jc(0, 0, 0);
  13633. this.ha.K(a.Jb);
  13634. this.ja.K(a.Kb);
  13635. this.qe.K(a.ok);
  13636. this.Yh.x = -this.qe.y;
  13637. this.Yh.y = this.qe.x;
  13638. this.BE = a.dh;
  13639. this.I.la();
  13640. this.Qa = this.he = 0;
  13641. this.jf = a.au;
  13642. this.lf = a.Cv;
  13643. this.mu =
  13644. a.ru;
  13645. this.zn = a.Fl;
  13646. this.ng = a.Vj;
  13647. this.$i = a.cl;
  13648. this.Fa = X.Zd;
  13649. this.V.la();
  13650. this.ma.la()
  13651. };
  13652. rc(Ye, X);
  13653. Ye.prototype.gm = function () {
  13654. var a = this.Y,
  13655. c = this.Z,
  13656. b = a.Io(this.ha),
  13657. d = c.Io(this.ja),
  13658. c = d.x - b.x,
  13659. b = d.y - b.y,
  13660. a = a.Qr(this.qe);
  13661. return a.x * c + a.y * b
  13662. };
  13663. Ye.prototype.sf = function (a) {
  13664. var c = this.Y,
  13665. b = this.Z,
  13666. d,
  13667. e = 0;
  13668. this.Wg.K(c.zj());
  13669. this.Xg.K(b.zj());
  13670. var f = c.we();
  13671. b.we();
  13672. d = c.H.q;
  13673. var g = this.ha.x - this.Wg.x,
  13674. h = this.ha.y - this.Wg.y,
  13675. e = d.j.x * g + d.k.x * h,
  13676. h = d.j.y * g + d.k.y * h,
  13677. g = e;
  13678. d = b.H.q;
  13679. var m = this.ja.x - this.Xg.x,
  13680. l = this.ja.y - this.Xg.y,
  13681. e = d.j.x *
  13682. m + d.k.x * l,
  13683. l = d.j.y * m + d.k.y * l,
  13684. m = e;
  13685. d = b.n.F.x + m - c.n.F.x - g;
  13686. e = b.n.F.y + l - c.n.F.y - h;
  13687. this.Zb = c.M;
  13688. this.$b = b.M;
  13689. this.Ld = c.U;
  13690. this.Md = b.U;
  13691. this.V.K(U.kc(f.q, this.qe));
  13692. this.jb = (d + g) * this.V.y - (e + h) * this.V.x;
  13693. this.kb = m * this.V.y - l * this.V.x;
  13694. this.he = this.Zb + this.$b + this.Ld * this.jb * this.jb + this.Md * this.kb * this.kb;
  13695. this.he > Number.MIN_VALUE && (this.he = 1 / this.he);
  13696. this.ma.K(U.kc(f.q, this.Yh));
  13697. this.ob = (d + g) * this.ma.y - (e + h) * this.ma.x;
  13698. this.pb = m * this.ma.y - l * this.ma.x;
  13699. f = this.Zb;
  13700. g = this.$b;
  13701. h = this.Ld;
  13702. m = this.Md;
  13703. this.ga.j.x = f + g + h * this.ob *
  13704. this.ob + m * this.pb * this.pb;
  13705. this.ga.j.y = h * this.ob + m * this.pb;
  13706. this.ga.j.z = h * this.ob * this.jb + m * this.pb * this.kb;
  13707. this.ga.k.x = this.ga.j.y;
  13708. this.ga.k.y = h + m;
  13709. this.ga.k.z = h * this.jb + m * this.kb;
  13710. this.ga.wa.x = this.ga.j.z;
  13711. this.ga.wa.y = this.ga.k.z;
  13712. this.ga.wa.z = f + g + h * this.jb * this.jb + m * this.kb * this.kb;
  13713. this.ng ? (d = this.V.x * d + this.V.y * e, 0.01 > Math.abs(this.lf - this.jf) ? this.Fa = X.Ni : d <= this.jf ? this.Fa != X.Kg && (this.Fa = X.Kg, this.I.z = 0) : d >= this.lf ? this.Fa != X.gd && (this.Fa = X.gd, this.I.z = 0) : (this.Fa = X.Zd, this.I.z = 0)) : this.Fa = X.Zd;
  13714. !1 == this.$i && (this.Qa = 0);
  13715. a.mi ? (this.I.x *= a.Lc, this.I.y *= a.Lc, this.Qa *= a.Lc, a = this.I.x * this.ma.x + (this.Qa + this.I.z) * this.V.x, d = this.I.x * this.ma.y + (this.Qa + this.I.z) * this.V.y, e = this.I.x * this.ob + this.I.y + (this.Qa + this.I.z) * this.jb, f = this.I.x * this.pb + this.I.y + (this.Qa + this.I.z) * this.kb, c.u.x -= this.Zb * a, c.u.y -= this.Zb * d, c.J -= this.Ld * e, b.u.x += this.$b * a, b.u.y += this.$b * d, b.J += this.Md * f) : (this.I.la(), this.Qa = 0)
  13716. };
  13717. Ye.prototype.Ye = function (a) {
  13718. var c = this.Y,
  13719. b = this.Z,
  13720. d = c.u,
  13721. e = c.J,
  13722. f = b.u,
  13723. g = b.J,
  13724. h = 0,
  13725. m = 0,
  13726. l = 0,
  13727. n = 0;
  13728. this.$i &&
  13729. this.Fa != X.Ni && (n = this.he * (this.zn - (this.V.x * (f.x - d.x) + this.V.y * (f.y - d.y) + this.kb * g - this.jb * e)), h = this.Qa, a = a.Ja * this.mu, this.Qa = U.Nb(this.Qa + n, -a, a), n = this.Qa - h, h = n * this.V.x, m = n * this.V.y, l = n * this.jb, n *= this.kb, d.x -= this.Zb * h, d.y -= this.Zb * m, e -= this.Ld * l, f.x += this.$b * h, f.y += this.$b * m, g += this.Md * n);
  13730. l = this.ma.x * (f.x - d.x) + this.ma.y * (f.y - d.y) + this.pb * g - this.ob * e;
  13731. m = g - e;
  13732. this.ng && this.Fa != X.Zd ? (a = this.V.x * (f.x - d.x) + this.V.y * (f.y - d.y) + this.kb * g - this.jb * e, h = this.I.Gc(), a = this.ga.wm(new Jc(0, 0, 0), -l, -m, -a),
  13733. this.I.oh(a), this.Fa == X.Kg ? this.I.z = Math.max(this.I.z, 0) : this.Fa == X.gd && (this.I.z = Math.min(this.I.z, 0)), l = -l - (this.I.z - h.z) * this.ga.wa.x, m = -m - (this.I.z - h.z) * this.ga.wa.y, m = this.ga.Wk(R.C(0, 0), l, m), m.x += h.x, m.y += h.y, this.I.x = m.x, this.I.y = m.y, a.x = this.I.x - h.x, a.y = this.I.y - h.y, a.z = this.I.z - h.z, h = a.x * this.ma.x + a.z * this.V.x, m = a.x * this.ma.y + a.z * this.V.y, l = a.x * this.ob + a.y + a.z * this.jb, n = a.x * this.pb + a.y + a.z * this.kb) : (a = this.ga.Wk(R.C(0, 0), -l, -m), this.I.x += a.x, this.I.y += a.y, h = a.x * this.ma.x, m = a.x * this.ma.y,
  13734. l = a.x * this.ob + a.y, n = a.x * this.pb + a.y);
  13735. d.x -= this.Zb * h;
  13736. d.y -= this.Zb * m;
  13737. e -= this.Ld * l;
  13738. f.x += this.$b * h;
  13739. f.y += this.$b * m;
  13740. g += this.Md * n;
  13741. c.u.K(d);
  13742. c.J = e;
  13743. b.u.K(f);
  13744. b.J = g
  13745. };
  13746. Ye.prototype.Xe = function () {
  13747. var a = this.Y,
  13748. c = this.Z,
  13749. b = a.n.F,
  13750. d = a.n.O,
  13751. e = c.n.F,
  13752. f = c.n.O,
  13753. g,
  13754. h = 0,
  13755. m = 0,
  13756. l = 0,
  13757. n = h = g = 0,
  13758. k = 0,
  13759. m = !1,
  13760. p = 0,
  13761. q = sc.Pk(d),
  13762. r = sc.Pk(f);
  13763. g = q;
  13764. var k = this.ha.x - this.Wg.x,
  13765. v = this.ha.y - this.Wg.y,
  13766. h = g.j.x * k + g.k.x * v,
  13767. v = g.j.y * k + g.k.y * v,
  13768. k = h;
  13769. g = r;
  13770. r = this.ja.x - this.Xg.x;
  13771. l = this.ja.y - this.Xg.y;
  13772. h = g.j.x * r + g.k.x * l;
  13773. l = g.j.y * r + g.k.y * l;
  13774. r = h;
  13775. g = e.x + r - b.x - k;
  13776. h = e.y + l - b.y - v;
  13777. if (this.ng) {
  13778. this.V =
  13779. U.kc(q, this.qe);
  13780. this.jb = (g + k) * this.V.y - (h + v) * this.V.x;
  13781. this.kb = r * this.V.y - l * this.V.x;
  13782. var u = this.V.x * g + this.V.y * h;
  13783. 0.01 > Math.abs(this.lf - this.jf) ? (p = U.Nb(u, -0.2, 0.2), n = Math.abs(u), m = !0) : u <= this.jf ? (p = U.Nb(u - this.jf + 0.005, -0.2, 0), n = this.jf - u, m = !0) : u >= this.lf && (p = U.Nb(u - this.lf + 0.005, 0, 0.2), n = u - this.lf, m = !0)
  13784. }
  13785. this.ma = U.kc(q, this.Yh);
  13786. this.ob = (g + k) * this.ma.y - (h + v) * this.ma.x;
  13787. this.pb = r * this.ma.y - l * this.ma.x;
  13788. q = new Jc(0, 0, 0);
  13789. v = this.ma.x * g + this.ma.y * h;
  13790. r = f - d - this.BE;
  13791. n = Math.max(n, Math.abs(v));
  13792. k = Math.abs(r);
  13793. m ? (m =
  13794. this.Zb, l = this.$b, g = this.Ld, h = this.Md, this.ga.j.x = m + l + g * this.ob * this.ob + h * this.pb * this.pb, this.ga.j.y = g * this.ob + h * this.pb, this.ga.j.z = g * this.ob * this.jb + h * this.pb * this.kb, this.ga.k.x = this.ga.j.y, this.ga.k.y = g + h, this.ga.k.z = g * this.jb + h * this.kb, this.ga.wa.x = this.ga.j.z, this.ga.wa.y = this.ga.k.z, this.ga.wa.z = m + l + g * this.jb * this.jb + h * this.kb * this.kb, this.ga.wm(q, -v, -r, -p)) : (m = this.Zb, l = this.$b, g = this.Ld, h = this.Md, p = g * this.ob + h * this.pb, u = g + h, this.ga.j.Set(m + l + g * this.ob * this.ob + h * this.pb * this.pb, p, 0), this.ga.k.Set(p,
  13795. u, 0), p = this.ga.Wk(R.C(0, 0), -v, -r), q.x = p.x, q.y = p.y, q.z = 0);
  13796. p = q.x * this.ma.x + q.z * this.V.x;
  13797. m = q.x * this.ma.y + q.z * this.V.y;
  13798. v = q.x * this.ob + q.y + q.z * this.jb;
  13799. q = q.x * this.pb + q.y + q.z * this.kb;
  13800. b.x -= this.Zb * p;
  13801. b.y -= this.Zb * m;
  13802. d -= this.Ld * v;
  13803. e.x += this.$b * p;
  13804. e.y += this.$b * m;
  13805. f += this.Md * q;
  13806. a.n.O = d;
  13807. c.n.O = f;
  13808. a.Vb();
  13809. c.Vb();
  13810. return 0.005 >= n && k <= Dc
  13811. };
  13812. var Ze = function () {
  13813. Pe.call(this);
  13814. this.Jb = R.C(0, 0);
  13815. this.Kb = R.C(0, 0);
  13816. this.ok = R.C(0, 0);
  13817. this.type = X.BC;
  13818. this.ok.Set(1, 0);
  13819. this.dh = 0;
  13820. this.Vj = !1;
  13821. this.Cv = this.au = 0;
  13822. this.cl = !1;
  13823. this.Fl = this.ru = 0
  13824. };
  13825. rc(Ze,
  13826. Pe);
  13827. Ze.prototype.xc = function (a, c, b, d) {
  13828. this.P = a;
  13829. this.R = c;
  13830. this.Jb = this.P.Hd(b);
  13831. this.Kb = this.R.Hd(b);
  13832. this.ok = this.P.Pr(d);
  13833. this.dh = this.R.Td() - this.P.Td()
  13834. };
  13835. Ze.prototype.rf = function () {
  13836. return new Ye(this)
  13837. };
  13838. var af = function (a) {
  13839. X.call(this, a);
  13840. this.Wh = R.C(0, 0);
  13841. this.Xh = R.C(0, 0);
  13842. this.ha = R.C(0, 0);
  13843. this.ja = R.C(0, 0);
  13844. this.xb = R.C(0, 0);
  13845. this.yb = R.C(0, 0);
  13846. this.Gf = this.Y.Ba.sE;
  13847. this.Wh.x = a.Zp.x - this.Gf.H.position.x;
  13848. this.Wh.y = a.Zp.y - this.Gf.H.position.y;
  13849. this.Xh.x = a.$p.x - this.Gf.H.position.x;
  13850. this.Xh.y = a.$p.y - this.Gf.H.position.y;
  13851. this.ha.K(a.Jb);
  13852. this.ja.K(a.Kb);
  13853. this.ac = a.Qe;
  13854. this.ul = a.Rt + this.ac * a.St;
  13855. this.Dy = Math.min(a.Fy, this.ul - this.ac * $e);
  13856. this.Ey = Math.min(a.Gy, (this.ul - $e) / this.ac);
  13857. this.Vg = this.Ug = this.I = 0
  13858. };
  13859. rc(af, X);
  13860. af.prototype.sf = function (a) {
  13861. var c = this.Y,
  13862. b = this.Z,
  13863. d;
  13864. d = c.H.q;
  13865. var e = this.ha.x - c.n.S.x,
  13866. f = this.ha.y - c.n.S.y,
  13867. g = d.j.x * e + d.k.x * f,
  13868. f = d.j.y * e + d.k.y * f,
  13869. e = g;
  13870. d = b.H.q;
  13871. var h = this.ja.x - b.n.S.x,
  13872. m = this.ja.y - b.n.S.y,
  13873. g = d.j.x * h + d.k.x * m,
  13874. m = d.j.y * h + d.k.y * m,
  13875. h = g;
  13876. d = b.n.F.x + h;
  13877. var g = b.n.F.y + m,
  13878. l = this.Gf.H.position.x + this.Xh.x,
  13879. n = this.Gf.H.position.y +
  13880. this.Xh.y;
  13881. this.xb.Set(c.n.F.x + e - (this.Gf.H.position.x + this.Wh.x), c.n.F.y + f - (this.Gf.H.position.y + this.Wh.y));
  13882. this.yb.Set(d - l, g - n);
  13883. d = this.xb.Eg();
  13884. g = this.yb.Eg();
  13885. 0.005 < d ? this.xb.Vd(1 / d) : this.xb.la();
  13886. 0.005 < g ? this.yb.Vd(1 / g) : this.yb.la();
  13887. 0 < this.ul - d - this.ac * g ? (this.ou = X.Zd, this.I = 0) : this.ou = X.gd;
  13888. d < this.Dy ? (this.ju = X.Zd, this.Ug = 0) : this.ju = X.gd;
  13889. g < this.Ey ? (this.ku = X.Zd, this.Vg = 0) : this.ku = X.gd;
  13890. d = e * this.xb.y - f * this.xb.x;
  13891. g = h * this.yb.y - m * this.yb.x;
  13892. this.xn = c.M + c.U * d * d;
  13893. this.yn = b.M + b.U * g * g;
  13894. this.Iq = this.xn + this.ac *
  13895. this.ac * this.yn;
  13896. this.xn = 1 / this.xn;
  13897. this.yn = 1 / this.yn;
  13898. this.Iq = 1 / this.Iq;
  13899. a.mi ? (this.I *= a.Lc, this.Ug *= a.Lc, this.Vg *= a.Lc, a = (-this.I - this.Ug) * this.xb.x, d = (-this.I - this.Ug) * this.xb.y, g = (-this.ac * this.I - this.Vg) * this.yb.x, l = (-this.ac * this.I - this.Vg) * this.yb.y, c.u.x += c.M * a, c.u.y += c.M * d, c.J += c.U * (e * d - f * a), b.u.x += b.M * g, b.u.y += b.M * l, b.J += b.U * (h * l - m * g)) : this.Vg = this.Ug = this.I = 0
  13900. };
  13901. af.prototype.Ye = function () {
  13902. var a = this.Y,
  13903. c = this.Z,
  13904. b;
  13905. b = a.H.q;
  13906. var d = this.ha.x - a.n.S.x,
  13907. e = this.ha.y - a.n.S.y,
  13908. f = b.j.x * d + b.k.x * e,
  13909. e = b.j.y * d +
  13910. b.k.y * e,
  13911. d = f;
  13912. b = c.H.q;
  13913. var g = this.ja.x - c.n.S.x,
  13914. h = this.ja.y - c.n.S.y,
  13915. f = b.j.x * g + b.k.x * h,
  13916. h = b.j.y * g + b.k.y * h,
  13917. g = f,
  13918. m = f = b = 0,
  13919. l = 0;
  13920. b = l = b = l = m = f = b = 0;
  13921. this.ou == X.gd && (b = a.u.x + -a.J * e, f = a.u.y + a.J * d, m = c.u.x + -c.J * h, l = c.u.y + c.J * g, b = - (this.xb.x * b + this.xb.y * f) - this.ac * (this.yb.x * m + this.yb.y * l), l = this.Iq * -b, b = this.I, this.I = Math.max(0, this.I + l), l = this.I - b, b = -l * this.xb.x, f = -l * this.xb.y, m = -this.ac * l * this.yb.x, l = -this.ac * l * this.yb.y, a.u.x += a.M * b, a.u.y += a.M * f, a.J += a.U * (d * f - e * b), c.u.x += c.M * m, c.u.y += c.M * l, c.J += c.U * (g * l - h * m));
  13922. this.ju ==
  13923. X.gd && (b = a.u.x + -a.J * e, f = a.u.y + a.J * d, b = - (this.xb.x * b + this.xb.y * f), l = -this.xn * b, b = this.Ug, this.Ug = Math.max(0, this.Ug + l), l = this.Ug - b, b = -l * this.xb.x, f = -l * this.xb.y, a.u.x += a.M * b, a.u.y += a.M * f, a.J += a.U * (d * f - e * b));
  13924. this.ku == X.gd && (m = c.u.x + -c.J * h, l = c.u.y + c.J * g, b = - (this.yb.x * m + this.yb.y * l), l = -this.yn * b, b = this.Vg, this.Vg = Math.max(0, this.Vg + l), l = this.Vg - b, m = -l * this.yb.x, l = -l * this.yb.y, c.u.x += c.M * m, c.u.y += c.M * l, c.J += c.U * (g * l - h * m))
  13925. };
  13926. af.prototype.Xe = function () {
  13927. var a = this.Y,
  13928. c = this.Z,
  13929. b,
  13930. d = this.Gf.H.position.x + this.Wh.x,
  13931. e = this.Gf.H.position.y + this.Wh.y,
  13932. f = this.Gf.H.position.x + this.Xh.x,
  13933. g = this.Gf.H.position.y + this.Xh.y,
  13934. h = 0,
  13935. m = 0,
  13936. l = 0,
  13937. n = 0,
  13938. k = b = 0,
  13939. p = 0,
  13940. q = 0,
  13941. r = k = q = b = k = b = 0;
  13942. this.ou == X.gd && (b = a.H.q, h = this.ha.x - a.n.S.x, m = this.ha.y - a.n.S.y, k = b.j.x * h + b.k.x * m, m = b.j.y * h + b.k.y * m, h = k, b = c.H.q, l = this.ja.x - c.n.S.x, n = this.ja.y - c.n.S.y, k = b.j.x * l + b.k.x * n, n = b.j.y * l + b.k.y * n, l = k, b = a.n.F.x + h, k = a.n.F.y + m, p = c.n.F.x + l, q = c.n.F.y + n, this.xb.Set(b - d, k - e), this.yb.Set(p - f, q - g), b = this.xb.Eg(), k = this.yb.Eg(), 0.005 < b ? this.xb.Vd(1 / b) : this.xb.la(), 0.005 < k ? this.yb.Vd(1 /
  13943. k) : this.yb.la(), b = this.ul - b - this.ac * k, r = Math.max(r, -b), b = U.Nb(b + 0.005, -0.2, 0), q = -this.Iq * b, b = -q * this.xb.x, k = -q * this.xb.y, p = -this.ac * q * this.yb.x, q = -this.ac * q * this.yb.y, a.n.F.x += a.M * b, a.n.F.y += a.M * k, a.n.O += a.U * (h * k - m * b), c.n.F.x += c.M * p, c.n.F.y += c.M * q, c.n.O += c.U * (l * q - n * p), a.Vb(), c.Vb());
  13944. this.ju == X.gd && (b = a.H.q, h = this.ha.x - a.n.S.x, m = this.ha.y - a.n.S.y, k = b.j.x * h + b.k.x * m, m = b.j.y * h + b.k.y * m, h = k, b = a.n.F.x + h, k = a.n.F.y + m, this.xb.Set(b - d, k - e), b = this.xb.Eg(), 0.005 < b ? (this.xb.x *= 1 / b, this.xb.y *= 1 / b) : this.xb.la(),
  13945. b = this.Dy - b, r = Math.max(r, -b), b = U.Nb(b + 0.005, -0.2, 0), q = -this.xn * b, b = -q * this.xb.x, k = -q * this.xb.y, a.n.F.x += a.M * b, a.n.F.y += a.M * k, a.n.O += a.U * (h * k - m * b), a.Vb());
  13946. this.ku == X.gd && (b = c.H.q, l = this.ja.x - c.n.S.x, n = this.ja.y - c.n.S.y, k = b.j.x * l + b.k.x * n, n = b.j.y * l + b.k.y * n, l = k, p = c.n.F.x + l, q = c.n.F.y + n, this.yb.Set(p - f, q - g), k = this.yb.Eg(), 0.005 < k ? (this.yb.x *= 1 / k, this.yb.y *= 1 / k) : this.yb.la(), b = this.Ey - k, r = Math.max(r, -b), b = U.Nb(b + 0.005, -0.2, 0), q = -this.yn * b, p = -q * this.yb.x, q = -q * this.yb.y, c.n.F.x += c.M * p, c.n.F.y += c.M * q, c.n.O +=
  13947. c.U * (l * q - n * p), c.Vb());
  13948. return 0.005 > r
  13949. };
  13950. var $e = 1,
  13951. bf = function () {
  13952. Pe.call(this);
  13953. this.Zp = R.C(0, 0);
  13954. this.$p = R.C(0, 0);
  13955. this.Jb = R.C(0, 0);
  13956. this.Kb = R.C(0, 0);
  13957. this.type = X.CC;
  13958. this.Zp.Set(-1, 1);
  13959. this.$p.Set(1, 1);
  13960. this.Jb.Set(-1, 0);
  13961. this.Kb.Set(1, 0);
  13962. this.Gy = this.St = this.Fy = this.Rt = 0;
  13963. this.Qe = 1;
  13964. this.Cs = !0
  13965. };
  13966. rc(bf, Pe);
  13967. bf.prototype.xc = function (a, c, b, d, e, f, g) {
  13968. void 0 === g && (g = 0);
  13969. this.P = a;
  13970. this.R = c;
  13971. this.Zp.K(b);
  13972. this.$p.K(d);
  13973. this.Jb = this.P.Hd(e);
  13974. this.Kb = this.R.Hd(f);
  13975. a = e.x - b.x;
  13976. b = e.y - b.y;
  13977. this.Rt = Math.sqrt(a * a + b * b);
  13978. b = f.x - d.x;
  13979. d = f.y -
  13980. d.y;
  13981. this.St = Math.sqrt(b * b + d * d);
  13982. this.Qe = g;
  13983. g = this.Rt + this.Qe * this.St;
  13984. this.Fy = g - this.Qe * $e;
  13985. this.Gy = (g - $e) / this.Qe
  13986. };
  13987. bf.prototype.rf = function () {
  13988. return new af(this)
  13989. };
  13990. var cf = function (a) {
  13991. X.call(this, a);
  13992. this.xe = new sc;
  13993. this.jm = new sc;
  13994. this.km = new sc;
  13995. this.lm = new sc;
  13996. this.Wc = new Jc(0, 0, 0);
  13997. this.eg = R.C(0, 0);
  13998. this.bh = R.C(0, 0);
  13999. this.ha = R.C(0, 0);
  14000. this.ja = R.C(0, 0);
  14001. this.I = new Jc(0, 0, 0);
  14002. this.X = new Kc;
  14003. this.ha.K(a.Jb);
  14004. this.ja.K(a.Kb);
  14005. this.Bn = a.dh;
  14006. this.I.la();
  14007. this.Qa = 0;
  14008. this.Gq = a.$t;
  14009. this.pu = a.Bv;
  14010. this.zE = a.Hy;
  14011. this.zn = a.Fl;
  14012. this.ng =
  14013. a.Vj;
  14014. this.$i = a.cl;
  14015. this.Fa = X.Zd
  14016. };
  14017. rc(cf, X);
  14018. cf.prototype.Fo = function () {
  14019. return this.Z.n.O - this.Y.n.O - this.Bn
  14020. };
  14021. cf.prototype.sf = function (a) {
  14022. var c = this.Y,
  14023. b = this.Z,
  14024. d,
  14025. e = 0;
  14026. d = c.H.q;
  14027. var f = this.ha.x - c.n.S.x,
  14028. g = this.ha.y - c.n.S.y,
  14029. e = d.j.x * f + d.k.x * g,
  14030. g = d.j.y * f + d.k.y * g,
  14031. f = e;
  14032. d = b.H.q;
  14033. var h = this.ja.x - b.n.S.x,
  14034. m = this.ja.y - b.n.S.y,
  14035. e = d.j.x * h + d.k.x * m,
  14036. m = d.j.y * h + d.k.y * m,
  14037. h = e;
  14038. d = c.M;
  14039. var e = b.M,
  14040. l = c.U,
  14041. n = b.U;
  14042. this.X.j.x = d + e + g * g * l + m * m * n;
  14043. this.X.k.x = -g * f * l - m * h * n;
  14044. this.X.wa.x = -g * l - m * n;
  14045. this.X.j.y = this.X.k.x;
  14046. this.X.k.y = d + e + f * f * l + h * h * n;
  14047. this.X.wa.y =
  14048. f * l + h * n;
  14049. this.X.j.z = this.X.wa.x;
  14050. this.X.k.z = this.X.wa.y;
  14051. this.X.wa.z = l + n;
  14052. this.he = 1 / (l + n);
  14053. this.$i || (this.Qa = 0);
  14054. if (this.ng) {
  14055. var k = b.n.O - c.n.O - this.Bn;
  14056. Math.abs(this.pu - this.Gq) < 2 * Dc ? this.Fa = X.Ni : k <= this.Gq ? (this.Fa != X.Kg && (this.I.z = 0), this.Fa = X.Kg) : k >= this.pu ? (this.Fa != X.gd && (this.I.z = 0), this.Fa = X.gd) : (this.Fa = X.Zd, this.I.z = 0)
  14057. } else
  14058. this.Fa = X.Zd;
  14059. a.mi ? (this.I.x *= a.Lc, this.I.y *= a.Lc, this.Qa *= a.Lc, a = this.I.x, k = this.I.y, c.u.x -= d * a, c.u.y -= d * k, c.J -= l * (f * k - g * a + this.Qa + this.I.z), b.u.x += e * a, b.u.y += e * k, b.J += n * (h *
  14060. k - m * a + this.Qa + this.I.z)) : (this.I.la(), this.Qa = 0)
  14061. };
  14062. cf.prototype.Ye = function (a) {
  14063. var c = this.Y,
  14064. b = this.Z,
  14065. d = 0,
  14066. e = d = 0,
  14067. f = 0,
  14068. g = 0,
  14069. h = 0,
  14070. m = c.u,
  14071. l = c.J,
  14072. n = b.u,
  14073. k = b.J,
  14074. p = c.M,
  14075. q = b.M,
  14076. r = c.U,
  14077. v = b.U;
  14078. this.$i && this.Fa != X.Ni && (e = this.he * - (k - l - this.zn), f = this.Qa, g = a.Ja * this.zE, this.Qa = U.Nb(this.Qa + e, -g, g), e = this.Qa - f, l -= r * e, k += v * e);
  14079. if (this.ng && this.Fa != X.Zd) {
  14080. a = c.H.q;
  14081. e = this.ha.x - c.n.S.x;
  14082. f = this.ha.y - c.n.S.y;
  14083. d = a.j.x * e + a.k.x * f;
  14084. f = a.j.y * e + a.k.y * f;
  14085. e = d;
  14086. a = b.H.q;
  14087. g = this.ja.x - b.n.S.x;
  14088. h = this.ja.y - b.n.S.y;
  14089. d = a.j.x * g + a.k.x * h;
  14090. h = a.j.y * g + a.k.y * h;
  14091. g =
  14092. d;
  14093. a = n.x + -k * h - m.x - -l * f;
  14094. var u = n.y + k * g - m.y - l * e;
  14095. this.X.wm(this.Wc, -a, -u, - (k - l));
  14096. this.Fa == X.Ni ? this.I.oh(this.Wc) : this.Fa == X.Kg ? (d = this.I.z + this.Wc.z, 0 > d && (this.X.Wk(this.bh, -a, -u), this.Wc.x = this.bh.x, this.Wc.y = this.bh.y, this.Wc.z = -this.I.z, this.I.x += this.bh.x, this.I.y += this.bh.y, this.I.z = 0)) : this.Fa == X.gd && (d = this.I.z + this.Wc.z, 0 < d && (this.X.Wk(this.bh, -a, -u), this.Wc.x = this.bh.x, this.Wc.y = this.bh.y, this.Wc.z = -this.I.z, this.I.x += this.bh.x, this.I.y += this.bh.y, this.I.z = 0));
  14097. m.x -= p * this.Wc.x;
  14098. m.y -= p * this.Wc.y;
  14099. l -= r * (e * this.Wc.y - f * this.Wc.x + this.Wc.z);
  14100. n.x += q * this.Wc.x;
  14101. n.y += q * this.Wc.y;
  14102. k += v * (g * this.Wc.y - h * this.Wc.x + this.Wc.z)
  14103. } else
  14104. a = c.H.q, e = this.ha.x - c.n.S.x, f = this.ha.y - c.n.S.y, d = a.j.x * e + a.k.x * f, f = a.j.y * e + a.k.y * f, e = d, a = b.H.q, g = this.ja.x - b.n.S.x, h = this.ja.y - b.n.S.y, d = a.j.x * g + a.k.x * h, h = a.j.y * g + a.k.y * h, g = d, this.X.Wk(this.eg, - (n.x + -k * h - m.x - -l * f), - (n.y + k * g - m.y - l * e)), this.I.x += this.eg.x, this.I.y += this.eg.y, m.x -= p * this.eg.x, m.y -= p * this.eg.y, l -= r * (e * this.eg.y - f * this.eg.x), n.x += q * this.eg.x, n.y += q * this.eg.y, k += v *
  14105. (g * this.eg.y - h * this.eg.x);
  14106. c.u.K(m);
  14107. c.J = l;
  14108. b.u.K(n);
  14109. b.J = k
  14110. };
  14111. cf.prototype.Xe = function () {
  14112. var a = 0,
  14113. c,
  14114. b = this.Y,
  14115. d = this.Z,
  14116. e = 0,
  14117. f = c = 0,
  14118. g = 0,
  14119. h = 0;
  14120. if (this.ng && this.Fa != X.Zd) {
  14121. var a = d.n.O - b.n.O - this.Bn,
  14122. m = 0;
  14123. this.Fa == X.Ni ? (a = U.Nb(a - this.Gq, -Ec, Ec), m = -this.he * a, e = Math.abs(a)) : this.Fa == X.Kg ? (a -= this.Gq, e = -a, a = U.Nb(a + Dc, -Ec, 0), m = -this.he * a) : this.Fa == X.gd && (e = a -= this.pu, a = U.Nb(a - Dc, 0, Ec), m = -this.he * a);
  14124. b.n.O -= b.U * m;
  14125. d.n.O += d.U * m;
  14126. b.Vb();
  14127. d.Vb()
  14128. }
  14129. c = b.H.q;
  14130. m = this.ha.x - b.n.S.x;
  14131. a = this.ha.y - b.n.S.y;
  14132. f = c.j.x * m + c.k.x * a;
  14133. a = c.j.y * m + c.k.y *
  14134. a;
  14135. m = f;
  14136. c = d.H.q;
  14137. var l = this.ja.x - d.n.S.x,
  14138. n = this.ja.y - d.n.S.y,
  14139. f = c.j.x * l + c.k.x * n,
  14140. n = c.j.y * l + c.k.y * n,
  14141. l = f,
  14142. g = d.n.F.x + l - b.n.F.x - m,
  14143. h = d.n.F.y + n - b.n.F.y - a,
  14144. k = g * g + h * h;
  14145. c = Math.sqrt(k);
  14146. var f = b.M,
  14147. p = d.M,
  14148. q = b.U,
  14149. r = d.U;
  14150. k > 0.05 * 0.05 && (k = 1 / (f + p), g = k * -g, h = k * -h, b.n.F.x -= 0.5 * f * g, b.n.F.y -= 0.5 * f * h, d.n.F.x += 0.5 * p * g, d.n.F.y += 0.5 * p * h, g = d.n.F.x + l - b.n.F.x - m, h = d.n.F.y + n - b.n.F.y - a);
  14151. this.jm.j.x = f + p;
  14152. this.jm.k.x = 0;
  14153. this.jm.j.y = 0;
  14154. this.jm.k.y = f + p;
  14155. this.km.j.x = q * a * a;
  14156. this.km.k.x = -q * m * a;
  14157. this.km.j.y = -q * m * a;
  14158. this.km.k.y = q * m * m;
  14159. this.lm.j.x = r * n * n;
  14160. this.lm.k.x =
  14161. -r * l * n;
  14162. this.lm.j.y = -r * l * n;
  14163. this.lm.k.y = r * l * l;
  14164. this.xe.Uf(this.jm);
  14165. this.xe.so(this.km);
  14166. this.xe.so(this.lm);
  14167. this.xe.xi(df, -g, -h);
  14168. g = df.x;
  14169. h = df.y;
  14170. b.n.F.x -= b.M * g;
  14171. b.n.F.y -= b.M * h;
  14172. b.n.O -= b.U * (m * h - a * g);
  14173. d.n.F.x += d.M * g;
  14174. d.n.F.y += d.M * h;
  14175. d.n.O += d.U * (l * h - n * g);
  14176. b.Vb();
  14177. d.Vb();
  14178. return 0.005 >= c && e <= Dc
  14179. };
  14180. var df = R.C(0, 0),
  14181. Cc = function () {
  14182. Pe.call(this);
  14183. this.Jb = R.C(0, 0);
  14184. this.Kb = R.C(0, 0);
  14185. this.type = X.bl;
  14186. this.Jb.la();
  14187. this.Kb.la();
  14188. this.Fl = this.Hy = this.Bv = this.$t = this.dh = 0;
  14189. this.cl = this.Vj = !1
  14190. };
  14191. rc(Cc, Pe);
  14192. Cc.prototype.xc = function (a, c, b) {
  14193. this.P =
  14194. a;
  14195. this.R = c;
  14196. this.Jb = this.P.Hd(b);
  14197. this.Kb = this.R.Hd(b);
  14198. this.dh = this.R.Td() - this.P.Td()
  14199. };
  14200. Cc.prototype.rf = function () {
  14201. return new cf(this)
  14202. };
  14203. var ff = function (a) {
  14204. X.call(this, a);
  14205. this.gf = R.C(0, 0);
  14206. this.hf = R.C(0, 0);
  14207. this.I = new Jc(0, 0, 0);
  14208. this.X = new Kc;
  14209. this.gf.K(a.Jb);
  14210. this.hf.K(a.Kb);
  14211. this.Bn = a.dh
  14212. };
  14213. rc(ff, X);
  14214. ff.prototype.sf = function (a) {
  14215. var c,
  14216. b = 0,
  14217. d = this.Y,
  14218. e = this.Z;
  14219. c = d.H.q;
  14220. var f = this.gf.x - d.n.S.x,
  14221. g = this.gf.y - d.n.S.y,
  14222. b = c.j.x * f + c.k.x * g,
  14223. g = c.j.y * f + c.k.y * g,
  14224. f = b;
  14225. c = e.H.q;
  14226. var h = this.hf.x - e.n.S.x,
  14227. m = this.hf.y - e.n.S.y,
  14228. b = c.j.x * h +
  14229. c.k.x * m,
  14230. m = c.j.y * h + c.k.y * m,
  14231. h = b;
  14232. c = d.M;
  14233. var b = e.M,
  14234. l = d.U,
  14235. n = e.U;
  14236. this.X.j.x = c + b + g * g * l + m * m * n;
  14237. this.X.k.x = -g * f * l - m * h * n;
  14238. this.X.wa.x = -g * l - m * n;
  14239. this.X.j.y = this.X.k.x;
  14240. this.X.k.y = c + b + f * f * l + h * h * n;
  14241. this.X.wa.y = f * l + h * n;
  14242. this.X.j.z = this.X.wa.x;
  14243. this.X.k.z = this.X.wa.y;
  14244. this.X.wa.z = l + n;
  14245. a.mi ? (this.I.x *= a.Lc, this.I.y *= a.Lc, this.I.z *= a.Lc, d.u.x -= c * this.I.x, d.u.y -= c * this.I.y, d.J -= l * (f * this.I.y - g * this.I.x + this.I.z), e.u.x += b * this.I.x, e.u.y += b * this.I.y, e.J += n * (h * this.I.y - m * this.I.x + this.I.z)) : this.I.la()
  14246. };
  14247. ff.prototype.Ye = function () {
  14248. var a,
  14249. c = 0,
  14250. b = this.Y,
  14251. d = this.Z,
  14252. e = b.u,
  14253. f = b.J,
  14254. g = d.u,
  14255. h = d.J,
  14256. m = b.M,
  14257. l = d.M,
  14258. n = b.U,
  14259. k = d.U;
  14260. a = b.H.q;
  14261. var p = this.gf.x - b.n.S.x,
  14262. q = this.gf.y - b.n.S.y,
  14263. c = a.j.x * p + a.k.x * q,
  14264. q = a.j.y * p + a.k.y * q,
  14265. p = c;
  14266. a = d.H.q;
  14267. var r = this.hf.x - d.n.S.x,
  14268. v = this.hf.y - d.n.S.y,
  14269. c = a.j.x * r + a.k.x * v,
  14270. v = a.j.y * r + a.k.y * v,
  14271. r = c;
  14272. a = new Jc(0, 0, 0);
  14273. this.X.wm(a, - (g.x - h * v - e.x + f * q), - (g.y + h * r - e.y - f * p), - (h - f));
  14274. this.I.oh(a);
  14275. e.x -= m * a.x;
  14276. e.y -= m * a.y;
  14277. f -= n * (p * a.y - q * a.x + a.z);
  14278. g.x += l * a.x;
  14279. g.y += l * a.y;
  14280. h += k * (r * a.y - v * a.x + a.z);
  14281. b.J = f;
  14282. d.J = h
  14283. };
  14284. ff.prototype.Xe = function () {
  14285. var a,
  14286. c = 0,
  14287. b = this.Y,
  14288. d = this.Z;
  14289. a =
  14290. b.H.q;
  14291. var e = this.gf.x - b.n.S.x,
  14292. f = this.gf.y - b.n.S.y,
  14293. c = a.j.x * e + a.k.x * f,
  14294. f = a.j.y * e + a.k.y * f,
  14295. e = c;
  14296. a = d.H.q;
  14297. var g = this.hf.x - d.n.S.x,
  14298. h = this.hf.y - d.n.S.y,
  14299. c = a.j.x * g + a.k.x * h,
  14300. h = a.j.y * g + a.k.y * h,
  14301. g = c;
  14302. a = b.M;
  14303. var c = d.M,
  14304. m = b.U,
  14305. l = d.U,
  14306. n = d.n.F.x + g - b.n.F.x - e,
  14307. k = d.n.F.y + h - b.n.F.y - f,
  14308. p = d.n.O - b.n.O - this.Bn,
  14309. q = Math.sqrt(n * n + k * k),
  14310. r = Math.abs(p);
  14311. 0.05 < q && (m *= 1, l *= 1);
  14312. this.X.j.x = a + c + f * f * m + h * h * l;
  14313. this.X.k.x = -f * e * m - h * g * l;
  14314. this.X.wa.x = -f * m - h * l;
  14315. this.X.j.y = this.X.k.x;
  14316. this.X.k.y = a + c + e * e * m + g * g * l;
  14317. this.X.wa.y = e * m + g * l;
  14318. this.X.j.z = this.X.wa.x;
  14319. this.X.k.z =
  14320. this.X.wa.y;
  14321. this.X.wa.z = m + l;
  14322. var v = new Jc(0, 0, 0);
  14323. this.X.wm(v, -n, -k, -p);
  14324. b.n.F.x -= a * v.x;
  14325. b.n.F.y -= a * v.y;
  14326. b.n.O -= m * (e * v.y - f * v.x + v.z);
  14327. d.n.F.x += c * v.x;
  14328. d.n.F.y += c * v.y;
  14329. d.n.O += l * (g * v.y - h * v.x + v.z);
  14330. b.Vb();
  14331. d.Vb();
  14332. return 0.005 >= q && r <= Dc
  14333. };
  14334. var gf = function () {
  14335. Pe.call(this);
  14336. this.Jb = R.C(0, 0);
  14337. this.Kb = R.C(0, 0);
  14338. this.type = X.EC;
  14339. this.dh = 0
  14340. };
  14341. rc(gf, Pe);
  14342. gf.prototype.xc = function (a, c, b) {
  14343. this.P = a;
  14344. this.R = c;
  14345. this.Jb.K(this.P.Hd(b));
  14346. this.Kb.K(this.R.Hd(b));
  14347. this.dh = this.R.Td() - this.P.Td()
  14348. };
  14349. gf.prototype.rf = function () {
  14350. return new ff(this)
  14351. };
  14352. var re = [new Qc, new Qc],
  14353. Ee = [new Qc, new Qc],
  14354. Fe = [new Qc, new Qc],
  14355. se = R.C(0, 0),
  14356. xe = R.C(0, 0),
  14357. ye = R.C(0, 0),
  14358. Be = R.C(0, 0),
  14359. ze = R.C(0, 0),
  14360. Ae = R.C(0, 0),
  14361. Ce = R.C(0, 0),
  14362. De = R.C(0, 0),
  14363. Ud = 0,
  14364. ce = 0,
  14365. de = 0,
  14366. ae = 0,
  14367. be = 0,
  14368. Vd = new rd,
  14369. Wd = new bd,
  14370. Xd = new tc,
  14371. Yd = new tc,
  14372. $d = new md,
  14373. Zd = new cd;
  14374. vc.mF = new tc;
  14375. wc.Ww = new wc;
  14376. new function () {
  14377. this.position = R.C(0, 0);
  14378. this.fA = R.C(0, 0);
  14379. this.Od = R.C(0, 0);
  14380. this.id = new Pc
  14381. };
  14382. yc.mH = new tc;
  14383. yc.wz = new Lc;
  14384. yc.xz = new Lc;
  14385. var Td = new sd,
  14386. pe = new td,
  14387. qe = new oe
  14388. }
  14389. function hf(a, c, b, d, e, f) {
  14390. return (b + 0.1 >= a && a >= e - 0.1 || b - 0.1 <= a && a <= e + 0.1) && (d + 0.1 >= c && c >= f - 0.1 || d - 0.1 <= c && c <= f + 0.1) && (0.1 < Math.abs(e - b) ? 0.1 > Math.abs((f - d) / (e - b) * (a - b) + d - c) : 0.1 > Math.abs(a - b))
  14391. }
  14392. function jf(a, c) {
  14393. var b = R,
  14394. d = kf(a),
  14395. e = [],
  14396. f,
  14397. g,
  14398. h,
  14399. m,
  14400. l,
  14401. n,
  14402. k,
  14403. p,
  14404. q;
  14405. l = 0;
  14406. for (n = d.length; l < n; l++) {
  14407. g = d[l];
  14408. f = [];
  14409. f.length = g.length;
  14410. k = q = 0;
  14411. for (p = g.length; k < p; k++)
  14412. h = g[k], m = g[(k + 1) % p], q += h.x * m.y - h.y * m.x, f[k] = b.C(h.x, h.y);
  14413. q = Math.abs(q / 2);
  14414. q >= 0.001 * c && e.push(f)
  14415. }
  14416. return e
  14417. }
  14418. function kf(a) {
  14419. var c = [],
  14420. b = 0,
  14421. d = 0,
  14422. e = 0,
  14423. f = 0,
  14424. g = 0,
  14425. h = g = 0,
  14426. m = 0,
  14427. l = 0,
  14428. n = 0,
  14429. f = 0,
  14430. k,
  14431. p,
  14432. q,
  14433. r,
  14434. v,
  14435. u = f = b = 0,
  14436. y = 0,
  14437. e = [],
  14438. m = [],
  14439. F = !1,
  14440. H = [],
  14441. J = [];
  14442. for (J.push(a); J.length; ) {
  14443. c = J[0];
  14444. d = c.length;
  14445. F = !0;
  14446. for (b = 0; b < d; b++)
  14447. if (l = b, n = b < d - 1 ? b + 1 : b + 1 - d, f = b < d - 2 ? b + 2 : b + 2 - d, a = c[l], k = c[n], f = c[f], f = a.x * k.y + k.x * f.y + f.x * a.y - a.y * k.x - k.y * f.x - f.y * a.x, 0 > f) {
  14448. F = !1;
  14449. m = 1E9;
  14450. for (e = 0; e < d; e++)
  14451. if (e !== l && e !== n) {
  14452. b = e;
  14453. f = e < d - 1 ? e + 1 : 0;
  14454. p = c[b];
  14455. q = c[f];
  14456. h = a.x;
  14457. r = a.y;
  14458. var A = k.x,
  14459. C = k.y,
  14460. g = p.x;
  14461. p = p.y;
  14462. var I = q.x;
  14463. q = q.y;
  14464. var D = A - h,
  14465. P = C - r,
  14466. L = I - g,
  14467. t = q - p,
  14468. L = (L * (p - r) - t * (g - h)) / (P * L - D * t),
  14469. D = h + L * D,
  14470. P = r + L * P,
  14471. h = hf(A, C, h, r, D, P),
  14472. g = hf(D, P, g, p, I, q);
  14473. if (r = h && g ? R.C(D, P) : null)
  14474. g = k.x - r.x, h = k.y - r.y, g = g * g + h * h, g < m && (y = b, u = f, v = r, m = g)
  14475. }
  14476. if (1E9 === m)
  14477. return [];
  14478. e = [];
  14479. m = [];
  14480. b = y;
  14481. f = u;
  14482. p = c[b];
  14483. q = c[f];
  14484. 0.1 > Math.abs(q.x - v.x) && 0.1 > Math.abs(q.y - v.y) || e.push(v);
  14485. 0.1 > Math.abs(p.x - v.x) && 0.1 > Math.abs(p.y - v.y) || m.push(v);
  14486. y = -1;
  14487. for (u = l; ; ) {
  14488. if (u !== f)
  14489. e.push(c[u]);
  14490. else {
  14491. if (0 > y || y >= d)
  14492. return [];
  14493. hf(q.x, q.y, c[y].x, c[y].y, a.x, a.y) || e.push(c[u]);
  14494. break
  14495. }
  14496. y = u;
  14497. 0 > u - 1 ? u = d - 1 : u--
  14498. }
  14499. e.reverse();
  14500. y = -1;
  14501. for (u = n; ; ) {
  14502. if (u !== b)
  14503. m.push(c[u]);
  14504. else {
  14505. if (0 > y || y >= d)
  14506. return [];
  14507. u !== b || hf(p.x,
  14508. p.y, c[y].x, c[y].y, k.x, k.y) || m.push(c[u]);
  14509. break
  14510. }
  14511. y = u;
  14512. u + 1 > d - 1 ? u = 0 : u++
  14513. }
  14514. J.push(e, m);
  14515. J.shift();
  14516. break
  14517. }
  14518. F && H.push(J.shift())
  14519. }
  14520. return H
  14521. }
  14522. function lf(a) {
  14523. for (var c = 0; 4E3 > c; c++)
  14524. R.wh.push(new R(0, 0));
  14525. this.c = a;
  14526. this.ke = new yc(R.C(0, 10), !0);
  14527. this.jA = 10;
  14528. this.Nt = -1;
  14529. a = new wc;
  14530. a.ba = this;
  14531. a.uo = function (a) {
  14532. this.ba.c.rz(a.Yb.Ya().Hg.D, a.Rb.Ya().Hg.D)
  14533. };
  14534. this.ke.xw(a);
  14535. a = new xc;
  14536. a.ba = this;
  14537. a.Gj = function (a, c) {
  14538. if (this.ba.IB)
  14539. return !0;
  14540. var e = a.Ya().Hg.D.type,
  14541. f = c.Ya().Hg.D.type,
  14542. g = e.ea.YA;
  14543. return g && g.contains(f) ? !1 : (g = f.ea.YA) && g.contains(e) ? !1 : !0
  14544. };
  14545. this.ke.ww(a);
  14546. this.vF = 0;
  14547. this.po = 8;
  14548. this.Tn = 3;
  14549. this.IB = !0
  14550. }
  14551. (function () {
  14552. function a() {}
  14553. var c = R,
  14554. b = V,
  14555. d = Ac,
  14556. e = W,
  14557. f = zc,
  14558. g = Bc,
  14559. h = Cc,
  14560. m = lf.prototype;
  14561. m.rb = function (a) {
  14562. this.ba = a;
  14563. this.c = a.c
  14564. };
  14565. m.rb.prototype.Ca = s();
  14566. m.Za = function (a, b) {
  14567. this.type = a;
  14568. this.ba = a.ba;
  14569. this.D = b;
  14570. this.c = a.c;
  14571. this.ke = this.ba.ke
  14572. };
  14573. var l = m.Za.prototype;
  14574. l.Ca = function () {
  14575. this.ut = 0 !== this.$[0];
  14576. this.jx = this.$[1];
  14577. this.Nu = 0 !== this.$[2];
  14578. this.cg = this.$[3];
  14579. this.Ng = this.$[4];
  14580. this.eh = this.$[5];
  14581. this.kk = this.$[6];
  14582. this.Kj = this.$[7];
  14583. this.Nj = 0 !== this.$[8];
  14584. this.enabled = 0 !== this.$[9];
  14585. this.body = null;
  14586. this.D.Ta();
  14587. this.nq = this.D.x;
  14588. this.oq = this.D.y;
  14589. this.Kd = this.D.L;
  14590. this.Kt = this.Ot = 0;
  14591. this.pz = this.Mt = !1;
  14592. this.It = null;
  14593. this.Jt = -1;
  14594. this.Oe ? (this.Oe.length = 0, this.Jf.length = 0, this.Mh.clear()) : (this.Oe = [], this.Jf = [], this.Mh = new ea);
  14595. var a = this;
  14596. this.Re || (this.Hn = function (b) {
  14597. a.Mn(b)
  14598. });
  14599. this.c.Wo(this.Hn)
  14600. };
  14601. l.iz = function () {
  14602. this.D.Ta();
  14603. this.xp();
  14604. this.It = this.D.Pb;
  14605. this.Jt = this.D.fa
  14606. };
  14607. l.Kl = function () {
  14608. this.Fp();
  14609. this.Jf.length = 0;
  14610. this.Mh.clear();
  14611. this.body && (this.ke.Ao(this.body), this.body = null);
  14612. this.c.sz(this.Hn)
  14613. };
  14614. l.Zc = function () {
  14615. var a = {
  14616. e : this.enabled,
  14617. im : this.ut,
  14618. pr : this.Nu,
  14619. d : this.cg,
  14620. fr : this.Ng,
  14621. re : this.eh,
  14622. ld : this.kk,
  14623. ad : this.Kj,
  14624. b : this.Nj,
  14625. mcj : this.Jf
  14626. };
  14627. if (this.enabled) {
  14628. var b = c.C(0, 0);
  14629. b.K(this.body.yj());
  14630. a.vx = b.x;
  14631. a.vy = b.y;
  14632. a.om = this.body.Eo()
  14633. }
  14634. return a
  14635. };
  14636. l.Ad = function (a) {
  14637. this.Fp();
  14638. this.Jf.length = 0;
  14639. this.Mh.clear();
  14640. this.body && (this.ke.Ao(this.body), this.body = null);
  14641. this.enabled = a.e;
  14642. this.ut = a.im;
  14643. this.Nu = a.pr;
  14644. this.cg = a.d;
  14645. this.Ng = a.fr;
  14646. this.eh = a.re;
  14647. this.kk = a.ld;
  14648. this.Kj = a.ad;
  14649. this.Nj = a.b;
  14650. this.nq = this.D.x;
  14651. this.oq = this.D.y;
  14652. this.Kd = this.D.L;
  14653. this.Ot = this.D.width;
  14654. this.Kt =
  14655. this.D.height;
  14656. this.enabled && (this.xp(), this.body.Ej(c.C(a.vx, a.vy)), this.body.qm(a.om), 0 === a.vx && 0 === a.vy && 0 === a.om || this.body.dd(!0), this.Jf = a.mcj)
  14657. };
  14658. l.Gg = function () {
  14659. this.enabled && this.Tu();
  14660. this.ba.Nt = this.c.hi - 1
  14661. };
  14662. l.Mn = function (a) {
  14663. var b,
  14664. c,
  14665. d,
  14666. e = a.uid;
  14667. d = b = 0;
  14668. for (c = this.Jf.length; b < c; b++)
  14669. this.Jf[d] = this.Jf[b], d < this.Oe.length && (this.Oe[d] = this.Oe[b]), this.Jf[b].Mb[1] == e ? this.ke.Bo(this.Oe[b]) : d++;
  14670. this.Jf.length = d;
  14671. d < this.Oe.length && (this.Oe.length = d);
  14672. this.Mh.remove(a)
  14673. };
  14674. l.Fp = function () {
  14675. var a,
  14676. b;
  14677. a = 0;
  14678. for (b =
  14679. this.Oe.length; a < b; a++)
  14680. this.ke.Bo(this.Oe[a]);
  14681. this.Oe.length = 0
  14682. };
  14683. l.Tu = function () {
  14684. var a,
  14685. b,
  14686. c;
  14687. a = 0;
  14688. for (b = this.Jf.length; a < b; a++)
  14689. switch (c = this.Jf[a], c.type) {
  14690. case 0:
  14691. this.jC(c.Mb[0], c.Mb[1], c.Mb[2], c.Mb[3], c.Mb[4]);
  14692. break;
  14693. case 1:
  14694. this.lC(c.Mb[0], c.Mb[1]);
  14695. break;
  14696. case 2:
  14697. this.kC(c.Mb[0], c.Mb[1], c.Mb[2], c.Mb[3])
  14698. }
  14699. };
  14700. l.ux = function () {
  14701. this.body && (this.Fp(), this.ke.Ao(this.body), this.body = null, this.D.ea.Be = null)
  14702. };
  14703. var n = [];
  14704. l.xp = function () {
  14705. if (this.enabled) {
  14706. var a = this.D,
  14707. g = !1,
  14708. h = null,
  14709. l = null,
  14710. m,
  14711. u,
  14712. y,
  14713. F,
  14714. H,
  14715. J,
  14716. A,
  14717. C,
  14718. I,
  14719. D,
  14720. P,
  14721. L,
  14722. t;
  14723. if (this.body) {
  14724. g =
  14725. !0;
  14726. h = c.C(0, 0);
  14727. h.K(this.body.yj());
  14728. l = this.body.Eo();
  14729. C = this.Mh.kh();
  14730. m = 0;
  14731. for (u = C.length; m < u; m++)
  14732. I = C[m].ea.Be.Hg, I.Fp();
  14733. this.ux()
  14734. }
  14735. I = new d;
  14736. I.cg = this.cg;
  14737. I.Ng = this.Ng;
  14738. I.eh = this.eh;
  14739. m = new b;
  14740. m.type = this.ut ? 0 : 2;
  14741. a.Ta();
  14742. m.position.x = 0.02 * a.Wb.ej();
  14743. m.position.y = 0.02 * a.Wb.fj();
  14744. m.L = a.L;
  14745. m.Vs = this.Nu;
  14746. m.kk = this.kk;
  14747. m.Kj = this.Kj;
  14748. m.Nj = this.Nj;
  14749. C = this.D.Oa && !this.D.Oa.gk();
  14750. this.body = this.ke.Ir(m);
  14751. this.body.Hg = this;
  14752. m = this.jx;
  14753. C || this.D.ii || 0 !== this.jx || (m = 1);
  14754. u = Math.max(Math.abs(a.width), 1);
  14755. y = Math.max(Math.abs(a.height), 1);
  14756. D = 0 > a.width;
  14757. P = 0 > a.height;
  14758. if (0 === m)
  14759. if (a.ii)
  14760. for (L = a.Wb.ej() - a.x, A = a.Wb.fj() - a.y, a.bH(n), C = [], m = 0, u = n.length; m < u; ++m) {
  14761. D = n[m];
  14762. P = D.eF;
  14763. if (D.ah) {
  14764. if (!D.ah.vp) {
  14765. H = D.ah.Ec;
  14766. F = D.ah.nf;
  14767. for (y = 0; y < F; ++y)
  14768. C.push(c.C(H[2 * y], H[2 * y + 1]));
  14769. y = D.id & 3758096384;
  14770. (-2147483648 === y || 1073741824 === y || 536870912 === y || y & -2147483648 && y & 1073741824 && y & 536870912) && C.reverse();
  14771. D.ah.vp = jf(C, (P.right - P.left) * (P.bottom - P.top));
  14772. y = 0;
  14773. for (F = C.length; y < F; ++y)
  14774. c.wc(C[y]);
  14775. C.length = 0
  14776. }
  14777. y = 0;
  14778. for (F = D.ah.vp.length; y < F; ++y) {
  14779. t = D.ah.vp[y];
  14780. H = 0;
  14781. for (J = t.length; H <
  14782. J; ++H)
  14783. C.push(c.C(0.02 * (P.left + t[H].x - L), 0.02 * (P.top + t[H].y - A)));
  14784. I.shape = new e;
  14785. I.shape.rm(C, C.length);
  14786. this.body.Lk(I);
  14787. H = 0;
  14788. for (J = C.length; H < J; ++H)
  14789. c.wc(C[H]);
  14790. C.length = 0
  14791. }
  14792. } else
  14793. C.push(c.C(0.02 * (P.left - L), 0.02 * (P.top - A))), C.push(c.C(0.02 * (P.right - L), 0.02 * (P.top - A))), C.push(c.C(0.02 * (P.right - L), 0.02 * (P.bottom - A))), C.push(c.C(0.02 * (P.left - L), 0.02 * (P.bottom - A))), I.shape = new e, I.shape.rm(C, C.length), this.body.Lk(I);
  14794. y = 0;
  14795. for (F = C.length; y < F; ++y)
  14796. c.wc(C[y]);
  14797. C.length = 0
  14798. }
  14799. else {
  14800. m = a.L;
  14801. a.L = 0;
  14802. a.ka();
  14803. a.Ta();
  14804. L = a.Wb.ej() -
  14805. a.x;
  14806. A = a.Wb.fj() - a.y;
  14807. a.L = m;
  14808. a.ka();
  14809. a.Oa.Oj(D ? -u : u, P ? -y : y, 0);
  14810. H = a.Oa.Ec;
  14811. F = a.Oa.nf;
  14812. C = [];
  14813. C.length = F;
  14814. for (m = 0; m < F; m++)
  14815. C[m] = c.C(H[2 * m] - L, H[2 * m + 1] - A);
  14816. D !== P && C.reverse();
  14817. L = jf(C, u * y);
  14818. for (m = 0; m < F; m++)
  14819. c.wc(C[m]);
  14820. if (L.length)
  14821. for (m = 0, u = L.length; m < u; m++) {
  14822. C = L[m];
  14823. y = 0;
  14824. for (F = C.length; y < F; y++)
  14825. A = C[y], A.x *= 0.02, A.y *= 0.02;
  14826. I.shape = new e;
  14827. I.shape.rm(C, C.length);
  14828. this.body.Lk(I);
  14829. y = 0;
  14830. for (F = C.length; y < F; y++)
  14831. c.wc(C[y])
  14832. }
  14833. else
  14834. I.shape = new e, I.shape.Po(0.01 * u, 0.01 * y), this.body.Lk(I)
  14835. }
  14836. else
  14837. 1 === m ? (I.shape = new e, I.shape.Po(0.01 * u, 0.01 * y)) :
  14838. I.shape = new f(0.01 * Math.min(u, y)), this.body.Lk(I);
  14839. a.ea.Be = this.body;
  14840. this.Ot = a.width;
  14841. this.Kt = a.height;
  14842. if (g)
  14843. for (this.body.Ej(h), this.body.qm(l), c.wc(h), this.Tu(), C = this.Mh.kh(), m = 0, u = C.length; m < u; m++)
  14844. I = C[m].ea.Be.Hg, I.Tu();
  14845. n.length = 0
  14846. }
  14847. };
  14848. l.tc = function () {
  14849. if (this.enabled) {
  14850. var a = this.D,
  14851. b;
  14852. 0 === this.ba.vF ? b = this.c.ji / 60 : (b = this.c.$j(this.D), b > 1 / 30 && (b = 1 / 30));
  14853. this.c.hi > this.ba.Nt && 0 < this.c.ji && (this.ke.vh(b, this.ba.po, this.ba.Tn), this.ke.Pv(), this.ba.Nt = this.c.hi);
  14854. if (this.pz || a.width !== this.Ot || a.height !== this.Kt ||
  14855. a.Pb !== this.It || a.fa !== this.Jt || a.ii && a.ez)
  14856. this.xp(), this.pz = !1, this.It = a.Pb, this.Jt = a.fa, a.ii && a.ez && (a.ez = !1);
  14857. b = a.L !== this.Kd;
  14858. if (a.x !== this.nq || a.y !== this.oq) {
  14859. a.Ta();
  14860. var d = a.Wb.ej(),
  14861. e = a.Wb.fj(),
  14862. f = d - this.nq,
  14863. g = e - this.oq;
  14864. this.body.js(c.C(0.02 * d, 0.02 * e));
  14865. this.body.Ej(c.C(f, g));
  14866. this.Mt = !0;
  14867. this.body.dd(!0)
  14868. } else
  14869. this.Mt && (this.Mt = !1, this.body.Ej(c.C(0, 0)), this.body.js(c.C(0.02 * a.Wb.ej(), 0.02 * a.Wb.fj())));
  14870. b && (this.body.vi(a.L), this.body.dd(!0));
  14871. d = this.body.H.position;
  14872. b = d.x / 0.02;
  14873. d = d.y / 0.02;
  14874. e = this.body.Td();
  14875. if (b !== a.x || d !== a.y || e !== a.L)
  14876. if (a.x = b, a.y = d, a.L = e, a.ka(), a.Ta(), b = a.Wb.ej() - a.x, d = a.Wb.fj() - a.y, 0 !== b || 0 !== d)
  14877. a.x -= b, a.y -= d, a.ka();
  14878. this.nq = a.x;
  14879. this.oq = a.y;
  14880. this.Kd = a.L
  14881. }
  14882. };
  14883. l.Up = function (a) {
  14884. return -1 !== a && this.D.Og ? 0 === a && this.body ? (this.body.H.position.x + this.body.zj().x) / 0.02 : this.D.Og(a, !0) : this.D.x
  14885. };
  14886. l.Vp = function (a) {
  14887. return -1 !== a && this.D.Og ? 0 === a && this.body ? (this.body.H.position.y + this.body.zj().y) / 0.02 : this.D.Og(a, !1) : this.D.y
  14888. };
  14889. m.B = new(s());
  14890. a.prototype.zg = function (a, b, d) {
  14891. if (this.enabled) {
  14892. var e = this.Up(d);
  14893. d = this.Vp(d);
  14894. this.body.zg(c.C(a, b), c.C(0.02 * e, 0.02 * d))
  14895. }
  14896. };
  14897. a.prototype.to = function (a) {
  14898. this.enabled && this.body.to(Ca(a))
  14899. };
  14900. a.prototype.qm = function (a) {
  14901. this.enabled && (this.body.qm(Ca(a)), this.body.dd(!0))
  14902. };
  14903. l.jC = function (a, b, d, e, f) {
  14904. if (this.enabled && (b = this.c.Ri(b)) && b != this.D && b.ea.Be) {
  14905. b.ea.Be.Hg.Mh.add(this.D);
  14906. var h = this.Up(a);
  14907. a = this.Vp(a);
  14908. var l;
  14909. b.Og ? (l = b.Og(d, !0), d = b.Og(d, !1)) : (l = b.x, d = b.y);
  14910. var m = h - l,
  14911. n = a - d,
  14912. J = new g;
  14913. J.xc(this.body, b.ea.Be, c.C(0.02 * h, 0.02 * a), c.C(0.02 * l, 0.02 * d));
  14914. J.length = 0.02 * Math.sqrt(m *
  14915. m + n * n);
  14916. J.Cp = e;
  14917. J.Rp = f;
  14918. this.Oe.push(this.ke.zo(J))
  14919. }
  14920. };
  14921. l.lC = function (a, b) {
  14922. if (this.enabled) {
  14923. var d = this.c.Ri(b);
  14924. if (d && d != this.D && d.ea.Be) {
  14925. d.ea.Be.Hg.Mh.add(this.D);
  14926. var e = this.Up(a),
  14927. f = this.Vp(a),
  14928. g = new h;
  14929. g.xc(this.body, d.ea.Be, c.C(0.02 * e, 0.02 * f));
  14930. this.Oe.push(this.ke.zo(g))
  14931. }
  14932. }
  14933. };
  14934. l.kC = function (a, b, d, e) {
  14935. if (this.enabled && (b = this.c.Ri(b)) && b != this.D && b.ea.Be) {
  14936. b.ea.Be.Hg.Mh.add(this.D);
  14937. var f = this.Up(a);
  14938. a = this.Vp(a);
  14939. var g = new h;
  14940. g.xc(this.body, b.ea.Be, c.C(0.02 * f, 0.02 * a));
  14941. g.Vj = !0;
  14942. g.$t = Ca(d);
  14943. g.Bv = Ca(e);
  14944. this.Oe.push(this.ke.zo(g))
  14945. }
  14946. };
  14947. a.prototype.dB = function (a) {
  14948. if (a !== this.ba.jA) {
  14949. this.ke.hs(c.C(0, a));
  14950. this.ba.jA = a;
  14951. var b,
  14952. d = this.ba.In.kh();
  14953. a = 0;
  14954. for (b = d.length; a < b; a++)
  14955. d[a].ea.Be && d[a].ea.Be.dd(!0)
  14956. }
  14957. };
  14958. a.prototype.Hb = function (a) {
  14959. this.enabled && 0 === a ? (this.ux(), this.enabled = !1) : this.enabled || 1 !== a || (this.enabled = !0, this.xp())
  14960. };
  14961. m.A = new a;
  14962. m.W = new(s())
  14963. })();
  14964. function mf(a) {
  14965. this.c = a
  14966. }
  14967. (function () {
  14968. function a() {}
  14969. var c = mf.prototype;
  14970. c.rb = function (a) {
  14971. this.ba = a;
  14972. this.c = a.c
  14973. };
  14974. c.rb.prototype.Ca = s();
  14975. c.Za = function (a, b) {
  14976. this.type = a;
  14977. this.ba = a.ba;
  14978. this.D = b;
  14979. this.c = a.c
  14980. };
  14981. var b = c.Za.prototype;
  14982. b.Ca = function () {
  14983. this.qd = null;
  14984. this.Nq = -1;
  14985. this.mode = this.Kd = this.nr = this.Gl = this.ci = this.Sn = 0;
  14986. var a = this;
  14987. this.Re || (this.Hn = function (b) {
  14988. a.Mn(b)
  14989. });
  14990. this.c.Wo(this.Hn)
  14991. };
  14992. b.Zc = function () {
  14993. return {
  14994. uid : this.qd ? this.qd.uid : -1,
  14995. pa : this.Sn,
  14996. pd : this.ci,
  14997. msa : this.Gl,
  14998. tsa : this.nr,
  14999. lka : this.Kd,
  15000. m : this.mode
  15001. }
  15002. };
  15003. b.Ad = function (a) {
  15004. this.Nq =
  15005. a.uid;
  15006. this.Sn = a.pa;
  15007. this.ci = a.pd;
  15008. this.Gl = a.msa;
  15009. this.nr = a.tsa;
  15010. this.Kd = a.lka;
  15011. this.mode = a.m
  15012. };
  15013. b.Gg = function () {
  15014. this.qd = -1 === this.Nq ? null : this.c.Ri(this.Nq);
  15015. this.Nq = -1
  15016. };
  15017. b.Mn = function (a) {
  15018. this.qd == a && (this.qd = null)
  15019. };
  15020. b.Kl = function () {
  15021. this.qd = null;
  15022. this.c.sz(this.Hn)
  15023. };
  15024. b.tc = s();
  15025. b.jo = function () {
  15026. if (this.qd) {
  15027. this.Kd !== this.D.L && (this.Gl = Fa(this.Gl + (this.D.L - this.Kd)));
  15028. var a = this.D.x,
  15029. b = this.D.y;
  15030. if (3 === this.mode || 4 === this.mode) {
  15031. var c = Na(this.D.x, this.D.y, this.qd.x, this.qd.y);
  15032. if (c > this.ci || 4 === this.mode && c < this.ci)
  15033. b =
  15034. Ia(this.qd.x, this.qd.y, this.D.x, this.D.y), a = this.qd.x + Math.cos(b) * this.ci, b = this.qd.y + Math.sin(b) * this.ci
  15035. } else
  15036. a = this.qd.x + Math.cos(this.qd.L + this.Sn) * this.ci, b = this.qd.y + Math.sin(this.qd.L + this.Sn) * this.ci;
  15037. this.Kd = c = Fa(this.Gl + (this.qd.L - this.nr));
  15038. 0 !== this.mode && 1 !== this.mode && 3 !== this.mode && 4 !== this.mode || this.D.x === a && this.D.y === b || (this.D.x = a, this.D.y = b, this.D.ka());
  15039. 0 !== this.mode && 2 !== this.mode || this.D.L === c || (this.D.L = c, this.D.ka())
  15040. }
  15041. };
  15042. c.B = new(s());
  15043. a.prototype.Oo = function (a, b) {
  15044. if (a) {
  15045. var c = a.Nx(this.D);
  15046. c && (this.qd = c, this.Sn = Ia(c.x, c.y, this.D.x, this.D.y) - c.L, this.ci = Na(c.x, c.y, this.D.x, this.D.y), this.Kd = this.Gl = this.D.L, this.nr = c.L, this.mode = b)
  15047. }
  15048. };
  15049. c.A = new a;
  15050. c.W = new(s())
  15051. })();
  15052. function nf(a) {
  15053. this.c = a
  15054. }
  15055. (function () {
  15056. function a() {}
  15057. function c() {}
  15058. var b = nf.prototype;
  15059. b.rb = function (a) {
  15060. this.ba = a;
  15061. this.c = a.c
  15062. };
  15063. b.rb.prototype.Ca = s();
  15064. b.Za = function (a, b) {
  15065. this.type = a;
  15066. this.ba = a.ba;
  15067. this.D = b;
  15068. this.c = a.c;
  15069. this.Vc = 0
  15070. };
  15071. var d = b.Za.prototype,
  15072. e = 2 * Math.PI,
  15073. f = Math.PI / 2,
  15074. g = 3 * Math.PI / 2;
  15075. d.Ca = function () {
  15076. this.lc = 1 === this.$[0];
  15077. this.Fn = this.$[1];
  15078. this.Iv = this.$[2];
  15079. this.bi = this.$[3];
  15080. this.bi += Math.random() * this.$[4];
  15081. 0 === this.bi ? this.Vc = 0 : (this.Vc = this.$[5] / this.bi * e, this.Vc += Math.random() * this.$[6] / this.bi * e);
  15082. this.te = this.$[7];
  15083. this.te +=
  15084. Math.random() * this.$[8];
  15085. this.Qe = this.ck = this.ab = 0;
  15086. this.init()
  15087. };
  15088. d.Zc = function () {
  15089. return {
  15090. i : this.Vc,
  15091. a : this.lc,
  15092. mv : this.Fn,
  15093. w : this.Iv,
  15094. p : this.bi,
  15095. mag : this.te,
  15096. iv : this.ab,
  15097. iv2 : this.ck,
  15098. r : this.Qe,
  15099. lkv : this.Le,
  15100. lkv2 : this.gn
  15101. }
  15102. };
  15103. d.Ad = function (a) {
  15104. this.Vc = a.i;
  15105. this.lc = a.a;
  15106. this.Fn = a.mv;
  15107. this.Iv = a.w;
  15108. this.bi = a.p;
  15109. this.te = a.mag;
  15110. this.ab = a.iv;
  15111. this.ck = a.iv2 || 0;
  15112. this.Qe = a.r;
  15113. this.Le = a.lkv;
  15114. this.gn = a.lkv2 || 0
  15115. };
  15116. d.init = function () {
  15117. switch (this.Fn) {
  15118. case 0:
  15119. this.ab = this.D.x;
  15120. break;
  15121. case 1:
  15122. this.ab = this.D.y;
  15123. break;
  15124. case 2:
  15125. this.ab = this.D.width;
  15126. this.Qe =
  15127. this.D.height / this.D.width;
  15128. break;
  15129. case 3:
  15130. this.ab = this.D.width;
  15131. break;
  15132. case 4:
  15133. this.ab = this.D.height;
  15134. break;
  15135. case 5:
  15136. this.ab = this.D.L;
  15137. this.te = Ca(this.te);
  15138. break;
  15139. case 6:
  15140. this.ab = this.D.opacity;
  15141. break;
  15142. case 7:
  15143. this.ab = 0;
  15144. break;
  15145. case 8:
  15146. this.ab = this.D.x,
  15147. this.ck = this.D.y
  15148. }
  15149. this.Le = this.ab;
  15150. this.gn = this.ck
  15151. };
  15152. d.ni = function (a) {
  15153. a %= e;
  15154. switch (this.Iv) {
  15155. case 0:
  15156. return Math.sin(a);
  15157. case 1:
  15158. return a <= f ? a / f : a <= g ? 1 - 2 * (a - f) / Math.PI : (a - g) / f - 1;
  15159. case 2:
  15160. return 2 * a / e - 1;
  15161. case 3:
  15162. return -2 * a / e + 1;
  15163. case 4:
  15164. return a < Math.PI ? -1 : 1
  15165. }
  15166. return 0
  15167. };
  15168. d.tc = function () {
  15169. var a =
  15170. this.c.$j(this.D);
  15171. if (this.lc && 0 !== a) {
  15172. 0 === this.bi ? this.Vc = 0 : (this.Vc += a / this.bi * e, this.Vc %= e);
  15173. switch (this.Fn) {
  15174. case 0:
  15175. this.D.x !== this.Le && (this.ab += this.D.x - this.Le);
  15176. this.D.x = this.ab + this.ni(this.Vc) * this.te;
  15177. this.Le = this.D.x;
  15178. break;
  15179. case 1:
  15180. this.D.y !== this.Le && (this.ab += this.D.y - this.Le);
  15181. this.D.y = this.ab + this.ni(this.Vc) * this.te;
  15182. this.Le = this.D.y;
  15183. break;
  15184. case 2:
  15185. this.D.width = this.ab + this.ni(this.Vc) * this.te;
  15186. this.D.height = this.D.width * this.Qe;
  15187. break;
  15188. case 3:
  15189. this.D.width = this.ab + this.ni(this.Vc) * this.te;
  15190. break;
  15191. case 4:
  15192. this.D.height = this.ab + this.ni(this.Vc) * this.te;
  15193. break;
  15194. case 5:
  15195. this.D.L !== this.Le && (this.ab = Fa(this.ab + (this.D.L - this.Le)));
  15196. this.D.L = Fa(this.ab + this.ni(this.Vc) * this.te);
  15197. this.Le = this.D.L;
  15198. break;
  15199. case 6:
  15200. this.D.opacity = this.ab + this.ni(this.Vc) * this.te / 100;
  15201. 0 > this.D.opacity ? this.D.opacity = 0 : 1 < this.D.opacity && (this.D.opacity = 1);
  15202. break;
  15203. case 8:
  15204. this.D.x !== this.Le && (this.ab += this.D.x - this.Le),
  15205. this.D.y !== this.gn && (this.ck += this.D.y - this.gn),
  15206. this.D.x = this.ab + Math.cos(this.D.L) * this.ni(this.Vc) * this.te,
  15207. this.D.y =
  15208. this.ck + Math.sin(this.D.L) * this.ni(this.Vc) * this.te,
  15209. this.Le = this.D.x,
  15210. this.gn = this.D.y
  15211. }
  15212. this.D.ka()
  15213. }
  15214. };
  15215. d.Ty = function (a, b) {
  15216. switch (this.Fn) {
  15217. case 2:
  15218. this.ab *= b.width / a.width;
  15219. this.Qe = b.height / b.width;
  15220. break;
  15221. case 3:
  15222. this.ab *= b.width / a.width;
  15223. break;
  15224. case 4:
  15225. this.ab *= b.height / a.height
  15226. }
  15227. };
  15228. a.prototype.rh = w("lc");
  15229. b.B = new a;
  15230. c.prototype.Cj = function (a) {
  15231. this.lc = 1 === a
  15232. };
  15233. b.A = new c;
  15234. b.W = new(s())
  15235. })();
  15236. function of(a) {
  15237. this.c = a
  15238. }
  15239. (function () {
  15240. function a() {}
  15241. function c() {}
  15242. function b() {}
  15243. var d = of.prototype;
  15244. d.rb = function (a) {
  15245. this.ba = a;
  15246. this.c = a.c
  15247. };
  15248. d.rb.prototype.Ca = s();
  15249. d.Za = function (a, b) {
  15250. this.type = a;
  15251. this.ba = a.ba;
  15252. this.D = b;
  15253. this.c = a.c;
  15254. this.Pj = this.ib = this.sb = 0
  15255. };
  15256. var e = d.Za.prototype;
  15257. e.Ca = function () {
  15258. this.Tl = this.$[0];
  15259. this.Pu = this.$[1];
  15260. this.enabled = 0 !== this.$[2]
  15261. };
  15262. e.Zc = function () {
  15263. return {
  15264. dx : this.sb,
  15265. dy : this.ib,
  15266. cancelStep : this.Pj,
  15267. enabled : this.enabled,
  15268. stepMode : this.Tl,
  15269. pxPerStep : this.Pu
  15270. }
  15271. };
  15272. e.Ad = function (a) {
  15273. this.sb = a.dx;
  15274. this.ib = a.dy;
  15275. this.Pj = a.cancelStep;
  15276. this.enabled = a.enabled;
  15277. this.Tl = a.stepMode;
  15278. this.Pu = a.pxPerStep
  15279. };
  15280. e.kt = function () {
  15281. return Math.sqrt(this.sb * this.sb + this.ib * this.ib)
  15282. };
  15283. e.Nc = function () {
  15284. return Math.atan2(this.ib, this.sb)
  15285. };
  15286. e.step = function (a, b, c) {
  15287. if (0 !== a || 0 !== b) {
  15288. var d = this.D.x,
  15289. e = this.D.y,
  15290. n,
  15291. k = Math.round(Math.sqrt(a * a + b * b) / this.Pu);
  15292. 0 === k && (k = 1);
  15293. var p;
  15294. for (p = 1; p <= k; p++)
  15295. if (n = p / k, this.D.x = d + a * n, this.D.y = e + b * n, this.D.ka(), this.c.trigger(c, this.D), 1 === this.Pj) {
  15296. p--;
  15297. n = p / k;
  15298. this.D.x = d + a * n;
  15299. this.D.y = e + b * n;
  15300. this.D.ka();
  15301. break
  15302. } else if (2 === this.Pj)
  15303. break
  15304. }
  15305. };
  15306. e.tc = function () {
  15307. var a = this.c.$j(this.D),
  15308. b = this.sb * a,
  15309. a = this.ib * a;
  15310. 0 === this.sb && 0 === this.ib || !this.enabled || (this.Pj = 0, 0 === this.Tl ? (this.D.x += b, this.D.y += a) : 1 === this.Tl ? this.step(b, a, of.prototype.B.LA) : 2 === this.Tl ? (this.step(b, 0, of.prototype.B.ew), this.Pj = 0, this.step(0, a, of.prototype.B.fw)) : 3 === this.Tl && (this.step(0, a, of.prototype.B.fw), this.Pj = 0, this.step(b, 0, of.prototype.B.ew)), this.D.ka())
  15311. };
  15312. a.prototype.LA = x(!0);
  15313. a.prototype.ew = x(!0);
  15314. a.prototype.fw = x(!0);
  15315. d.B = new a;
  15316. c.prototype.xm = function () {
  15317. this.ib =
  15318. this.sb = 0
  15319. };
  15320. c.prototype.um = function (a, b) {
  15321. var c;
  15322. switch (a) {
  15323. case 0:
  15324. c = this.Nc();
  15325. this.sb = Math.cos(c) * b;
  15326. this.ib = Math.sin(c) * b;
  15327. break;
  15328. case 1:
  15329. this.sb = b;
  15330. break;
  15331. case 2:
  15332. this.ib = b
  15333. }
  15334. };
  15335. c.prototype.Hb = function (a) {
  15336. this.enabled = 1 === a
  15337. };
  15338. d.A = new c;
  15339. b.prototype.sb = function (a) {
  15340. a.ta(this.sb)
  15341. };
  15342. b.prototype.ib = function (a) {
  15343. a.ta(this.ib)
  15344. };
  15345. d.W = new b
  15346. })();
  15347. function pf(a) {
  15348. this.c = a;
  15349. this.lv = this.ir = this.co = this.kv = 0
  15350. }
  15351. (function () {
  15352. function a() {}
  15353. var c = pf.prototype;
  15354. c.rb = function (a) {
  15355. this.ba = a;
  15356. this.c = a.c
  15357. };
  15358. c.rb.prototype.Ca = s();
  15359. c.Za = function (a, b) {
  15360. this.type = a;
  15361. this.ba = a.ba;
  15362. this.D = b;
  15363. this.c = a.c
  15364. };
  15365. var b = c.Za.prototype;
  15366. b.Ca = function () {
  15367. this.enabled = 0 !== this.$[0]
  15368. };
  15369. b.Zc = function () {
  15370. return {
  15371. smg : this.ba.kv,
  15372. ss : this.ba.co,
  15373. se : this.ba.ir,
  15374. smd : this.ba.lv
  15375. }
  15376. };
  15377. b.Ad = function (a) {
  15378. this.ba.kv = a.smg;
  15379. this.ba.co = a.ss;
  15380. this.ba.ir = a.se;
  15381. this.ba.lv = a.smd
  15382. };
  15383. b.tc = s();
  15384. b.jo = function () {
  15385. if (this.enabled) {
  15386. var a = this.ba.In.kh(),
  15387. b = 0,
  15388. c = 0,
  15389. g,
  15390. h,
  15391. m,
  15392. l = 0;
  15393. g = 0;
  15394. for (h = a.length; g <
  15395. h; g++) {
  15396. a : {
  15397. m = a[g];
  15398. for (var n = void 0, k = void 0, p = void 0, n = 0, k = m.Ia.length; n < k; ++n)
  15399. if (p = m.Ia[n], p.ba instanceof pf) {
  15400. m = p;
  15401. break a
  15402. }
  15403. m = null
  15404. }
  15405. m && m.enabled && (b += a[g].x, c += a[g].y, ++l)
  15406. }
  15407. a = this.D.T.Fb;
  15408. h = this.c.Ke.Cb;
  15409. m = g = 0;
  15410. h >= this.ba.co && h < this.ba.ir && (g = this.ba.kv * Math.min(this.c.ji, 1), 0 === this.ba.lv && (g *= 1 - (h - this.ba.co) / (this.ba.ir - this.ba.co)), h = 2 * Math.random() * Math.PI, m = Math.random() * g, g = Math.cos(h) * m, m *= Math.sin(h));
  15411. a.cv(b / l + g);
  15412. a.dv(c / l + m)
  15413. }
  15414. };
  15415. a.prototype.Hb = function (a) {
  15416. this.enabled = 0 !== a
  15417. };
  15418. c.A = new a
  15419. })();
  15420. function gc() {
  15421. return [null, "logo", [[ic, !0, !1, !1, !1, !1, !1, !1, !1, !1], [hc, !0, !1, !1, !1, !1, !1, !1, !1, !1], [jc, !0, !1, !1, !1, !1, !1, !1, !1, !1], [kc, !1, !0, !0, !0, !0, !0, !0, !0, !0], [E, !1, !0, !0, !0, !0, !0, !0, !0, !1], [lc, !0, !1, !1, !1, !1, !1, !1, !1, !1], [mc, !0, !1, !1, !1, !1, !1, !1, !1, !1]], [["t0", E, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 5241556733897616, [["images/wall-sheet0.png", 3671, 0, 0, 479, 256, 1, 0.5031315088272095, 0.5, [], [-0.4989561438560486, -0.4921875, 0.4926934838294983, -0.4921875, 0.4947804808616638, 0.4960939884185791, -0.5031315088272095,
  15422. 0.5], 0]]]], [], !1, !1, 0xba382b57df02e, [], null], ["t1", E, !1, [0xcfd5b39514399, 7872425142956112], 3, 0, null, [["Default", 10, !0, 1, 0, !1, 0xd9bf6cbdcd219, [["images/sprite-sheet0.png", 924626, 1721, 1, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [-0.346875011920929, -0.1849145293235779, 0.121874988079071, -0.1849145293235779, 0.121874988079071, 0.3503654599189758, -0.346875011920929, 0.3503654599189758], 0], ["images/sprite-sheet0.png", 924626, 997, 1279, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [0.121874988079071,
  15423. -0.1849145293235779, 0.1187499761581421, 0.3503654599189758, -0.346875011920929, 0.3503654599189758, -0.346875011920929, -0.1849145293235779], 0], ["images/sprite-sheet0.png", 924626, 1319, 1279, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [0.121874988079071, -0.1849145293235779, 0.121874988079071, 0.3503654599189758, -0.346875011920929, 0.3503654599189758, -0.346875011920929, -0.1849145293235779], 0], ["images/sprite-sheet0.png", 924626, 1641, 1279, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [0.121874988079071,
  15424. -0.1849145293235779, 0.121874988079071, 0.3503654599189758, -0.346875011920929, 0.3503654599189758, -0.346875011920929, -0.1849145293235779], 0], ["images/sprite-sheet0.png", 924626, 1, 1292, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [0.121874988079071, -0.1849155426025391, 0.121874988079071, 0.3503654599189758, -0.346875011920929, 0.3503654599189758, -0.346875011920929, -0.1849145293235779], 0], ["images/sprite-sheet1.png", 41254, 0, 0, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [0.112500011920929, -0.2019465267658234,
  15425. 0.153124988079071, 0.3114344477653503, -0.3406250178813934, 0.3722624778747559, -0.2718750238418579, -0.1727495193481445], 0], ["images/sprite-sheet2.png", 41021, 0, 0, 320, 411, 1, 0.503125011920929, 0.5012165307998657, [], [-0.2781250178813934, -0.1776155233383179, 0.112500011920929, -0.2019465267658234, 0.09999996423721313, 0.3454984426498413, -0.34375, 0.3746954798698425], 0], ["images/sprite-sheet0.png", 924626, 335, 853, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [-0.2978717088699341, -0.1873485445976257, 0.1124622821807861,
  15426. -0.1824815273284912, 0.112461268901825, 0.3308994770050049, -0.3343467116355896, 0.3746954798698425], 0], ["images/sprite-sheet0.png", 924626, 666, 866, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [0.1519762873649597, -0.1873475313186646, 0.1215803027153015, 0.2968364953994751, -0.3161097168922424, 0.3600974678993225, -0.3039517104625702, -0.1313875317573547], 0], ["images/sprite-sheet0.png", 924626, 997, 866, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [-0.2917926907539368, -0.1703165173530579, 0.1428562998771668,
  15427. -0.1265215277671814, 0.08814626932144165, 0.3381994962692261, -0.3039517104625702, 0.3503654599189758], 0], ["images/sprite-sheet0.png", 924626, 1328, 866, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [-0.2462007105350494, -0.2068125307559967, 0.1215803027153015, -0.1897805333137512, 0.1854103207588196, 0.2384424805641174, -0.2978727221488953, 0.2627744674682617], 0], ["images/sprite-sheet0.png", 924626, 1659, 866, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [0.1094222664833069, -0.1995135247707367, 0.1428562998771668,
  15428. 0.3041354417800903, -0.3130697011947632, 0.3576644659042358, -0.2796347141265869, -0.1824825406074524], 0], ["images/sprite-sheet0.png", 924626, 335, 1266, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [-0.2583587169647217, -0.1167885363101959, 0.1124622821807861, -0.1824815273284912, 0.1215803027153015, 0.2846714854240418, -0.2978727221488953, 0.2968364953994751], 0], ["images/sprite-sheet0.png", 924626, 666, 1279, 329, 411, 1, 0.4893617033958435, 0.5012165307998657, [], [-0.2613987028598785, -0.1192215383052826, 0.173252284526825,
  15429. -0.1192215383052826, 0.145896315574646, 0.2895374894142151, -0.3252277076244354, 0.3138684630393982], 0]]], ["jump", 10, !0, 1, 0, !1, 9202073169674296, [["images/sprite-sheet0.png", 924626, 861, 427, 332, 437, 1, 0.5, 0.5011441707611084, [], [-0.1837350130081177, -0.2791761755943298, 0.2771090269088745, -0.2906181812286377, 0.2740960121154785, 0.249427855014801, -0.162651002407074, 0.2425628304481506], 0], ["images/sprite-sheet0.png", 924626, 1195, 427, 332, 437, 1, 0.5, 0.5011441707611084, [], [-0.1837350130081177, -0.2196791768074036, 0.2620480060577393,
  15430. -0.2219671607017517, 0.210843026638031, 0.2425628304481506, -0.1867470145225525, 0.2608698010444641], 0], ["images/sprite-sheet0.png", 924626, 1529, 427, 332, 437, 1, 0.5, 0.5011441707611084, [], [-0.1837350130081177, -0.260869175195694, 0.2409639954566956, -0.2151031792163849, 0.1927710175514221, 0.2951938509941101, -0.1927709877490997, 0.2654458284378052], 0], ["images/sprite-sheet0.png", 924626, 1, 853, 332, 437, 1, 0.5, 0.5011441707611084, [], [-0.1837350130081177, -0.2219681739807129, 0.1385539770126343, -0.2265441715717316, 0.1927710175514221,
  15431. 0.2402748465538025, -0.1867470145225525, 0.2608698010444641], 0]]], ["fall", 10, !0, 1, 0, !1, 8204312172716089, [["images/sprite-sheet0.png", 924626, 1, 1, 428, 424, 1, 0.4439252316951752, 0.4929245412349701, [], [0.05607476830482483, -0.3160375356674194, 0.2616817653179169, -0.1957545280456543, 0.05607476830482483, 0.2688674628734589, -0.1331772208213806, 0.1933964788913727], 0], ["images/sprite-sheet0.png", 924626, 431, 1, 428, 424, 1, 0.4439252316951752, 0.5, [], [0.05607476830482483, -0.1933960020542145, 0.3411217629909515, -0.1037740111351013,
  15432. 0.05607476830482483, 0.2712259888648987, -0.1471962332725525, 0.2004719972610474], 0], ["images/sprite-sheet0.png", 924626, 861, 1, 428, 424, 1, 0.4439252316951752, 0.5, [], [0.09345778822898865, -0.2028299868106842, 0.2897197902202606, -0.01650899648666382, -0.1565422415733337, 0.2099059820175171, -0.2616822123527527, 0], 0], ["images/sprite-sheet0.png", 924626, 1291, 1, 428, 424, 1, 0.4439252316951752, 0.5, [], [0.05607476830482483, -0.1886790096759796, 0.292055755853653, -0.1037740111351013, 0.05607476830482483, 0.2688680291175842,
  15433. -0.2102802246809006, 0.09198099374771118], 0], ["images/sprite-sheet0.png", 924626, 1, 427, 428, 424, 1, 0.4439252316951752, 0.5, [], [-0.02570122480392456, -0.2264150083065033, 0.2570097744464874, -0.1981129944324493, 0.05607476830482483, 0.2665089964866638, -0.1401872336864471, 0.1933959722518921], 0], ["images/sprite-sheet0.png", 924626, 431, 427, 428, 424, 1, 0.4439252316951752, 0.5, [], [0.05607476830482483, -0.3254719972610474, 0.2616817653179169, -0.2028299868106842, 0.05607476830482483, 0.261792004108429, -0.1612152457237244,
  15434. 0.1438680291175842], 0]]]], [["CustomMovement", of, 991689399536527], ["Sine", nf, 6820178876389254], ["Physics", lf, 0xfb17689fb819f]], !1, !1, 0x97a76985ae434, [], null], ["t2", lc, !1, [], 0, 0, null, null, [], !1, !1, 0xb8b170cecb9f0, [], null, [1]], ["t3", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 0x6c964c4330f97, [["images/branchleft-sheet0.png", 313571, 1, 1, 584, 535, 1, 0.5, 0.4990654289722443, [], [0.1932560205459595, -0.3719624280929565, 0.08668398857116699, -0.1024914383888245, -0.02473598718643189, -0.1010734438896179, -0.06783199310302734,
  15435. -0.3663554191589356], 0]]], ["hit", 15, !1, 1, 0, !1, 5359520243767749, [["images/branchleft-sheet0.png", 313571, 587, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4654205739498138, -0.1462090611457825, 0.1327105462551117, 0.1696749329566956, 0.1607475578784943], 0], ["images/branchleft-sheet0.png", 313571, 1143, 1, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.2504674196243286, -0.2635380625724793, 0.2523363828659058, -0.1046930551528931, -0.05420559644699097],
  15436. 0], ["images/branchleft-sheet0.png", 313571, 1, 538, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.3068590760231018, 0.2971963882446289, -0.4151624739170075, 4.172325134277344E-7, -0.06317707896232605, -0.1495325863361359], 0], ["images/branchleft-sheet0.png", 313571, 557, 538, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.4747663736343384, -0.158845067024231, 0.1439254283905029, 0.1209389567375183, 0.08224338293075562], 0], ["images/branchleft-sheet0.png", 313571, 1113, 538, 554, 535,
  15437. 1, 0.5018050670623779, 0.5009346008300781, [], [0.1371839046478272, 0.01121437549591065, 0.3935019373893738, 4.172325134277344E-7, 0.3465699553489685, 0.3420563936233521], 0], ["images/branchleft-sheet0.png", 313571, 1, 1075, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.4728974103927612, -0.1732850670814514, 0.1588783860206604, 0.1317689418792725, 0.1196264028549194], 0], ["images/branchleft-sheet0.png", 313571, 557, 1075, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793,
  15438. 0.4747663736343384, -0.1425990760326386, 0.1271023750305176, 0.1660649180412293, 0.1551403999328613], 0], ["images/branchleft-sheet0.png", 313571, 1113, 1075, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.3943923711776733, 0.007219910621643066, 0.1009343862533569, 0.2310469150543213, 0.2224293947219849], 0], ["images/branchleft-sheet1.png", 37191, 0, 0, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.4766353964805603, -0.1516240537166596, 0.1364483833312988, 0.1552349328994751,
  15439. 0.1439254283905029], 0], ["images/branchleft-sheet2.png", 36919, 0, 0, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [-0.00180506706237793, 0.4598134160041809, -0.1462090611457825, 0.1308413743972778, 0.1732849478721619, 0.1626163721084595], 0]]]], [["Bullet", O, 786733925520009]], !1, !1, 0x8b16afb5aa14c, [], null], ["t4", hc, !1, [], 0, 0, null, null, [], !1, !1, 6475156076506481, [], null, []], ["t5", E, !1, [], 1, 0, null, [["hit", 15, !1, 1, 0, !1, 7018142978090627, [["images/branchleft-sheet0.png", 313571, 587, 1, 554, 535, 1, 0.5018050670623779,
  15440. 0.4990654289722443, [], [-0.00180506706237793, 0.4654205739498138, -0.00180506706237793, -0.164486438035965, 0.1714799404144287, 0.1607475578784943], 0], ["images/branchright-sheet0.png", 343863, 1, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.2523365914821625, -0.2635380625724793, 0.2542055547237396, -0.00180506706237793, -0.2261674404144287], 0], ["images/branchright-sheet0.png", 343863, 557, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.3068590760231018, 0.2990655601024628,
  15441. -0.4151624739170075, 0.00186958909034729, -0.08844807744026184, 0.108411580324173], 0], ["images/branchright-sheet0.png", 343863, 1113, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4766355454921722, -0.2075820565223694, -0.01308342814445496, 0.1425989270210266, 0.1327105462551117], 0], ["images/branchright-sheet0.png", 343863, 1, 538, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [0.08303195238113403, 0.003738552331924439, 0.3935019373893738, 0.00186958909034729, 0.3465699553489685,
  15442. 0.3439255654811859], 0], ["images/branchright-sheet0.png", 343863, 557, 538, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4747665822505951, -0.1732850670814514, 0.1607475578784943, 0.1317689418792725, 0.1214955747127533], 0], ["images/branchright-sheet0.png", 343863, 1113, 538, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4766355454921722, -0.08122807741165161, -0.1121494174003601, 0.1660649180412293, 0.1570095717906952], 0], ["images/branchright-sheet0.png",
  15443. 343863, 1, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.3962615430355072, -0.1083030700683594, 0.06168255209922791, 0.2310469150543213, 0.2242985665798187], 0], ["images/branchright-sheet0.png", 343863, 557, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4785045683383942, -0.1516240537166596, 0.1383175551891327, 0.1552349328994751, 0.1457946002483368], 0], ["images/branchright-sheet0.png", 343863, 1113, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443,
  15444. [], [-0.00180506706237793, 0.4616825878620148, -0.09025305509567261, -0.09158843755722046, 0.1732849478721619, 0.1644855439662933], 0]]], ["Default", 5, !1, 1, 0, !1, 721568505497296, [["images/branchleft-sheet0.png", 313571, 1, 1, 584, 535, 1, 0.5, 0.5009346008300781, [], [-0.04965698719024658, -0.3787516057491303, 0.1643840074539185, -0.3796296119689941, 0.1027399897575378, -0.1279726028442383, -0.006848990917205811, -0.1310715973377228], 0]]]], [["Bullet", O, 0x3f76634698fce]], !1, !1, 0xdfc48353a0d1a, [], null], ["t6", E, !1, [], 1, 0, null,
  15445. [["Default", 5, !1, 1, 0, !1, 0xeea15e8fe208d, [["images/distancecheck-sheet0.png", 16421, 0, 0, 250, 250, 1, 0.5, 0.5, [], [0.2120000123977661, -0.5, 0.1039999723434448, 0.4480000138282776, -0.06000000238418579, 0.4359999895095825, -0.01600000262260437, -0.5], 0]]]], [["Bullet", O, 8985578245021803]], !1, !1, 0xa1314b09b46cb, [], null], ["t7", E, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 7584812938627904, [["images/sprite2-sheet0.png", 155, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 1]]]], [], !1, !1, 7755028506581115, [], null], ["t8", E, !1, [], 2, 0, null, [["Default",
  15446. 5, !1, 1, 0, !1, 5197678234457464, [["images/sprite3-sheet0.png", 2019, 0, 0, 162, 264, 1, 0.5, 0.5, [], [], 1]]]], [["Anchor", pc, 5749254377145142], ["ScrollTo", pf, 0xf30ef606c758c]], !1, !1, 8297117826784161, [], null], ["t9", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 0xfcf99c0f28aa3, [["images/bgcloud-sheet0.png", 78486, 0, 0, 359, 519, 1, 0.4986072480678558, 0.5009633898735046, [], [0.1699167788028717, 0.2273606061935425, -0.1754872500896454, 0.1348745822906494, -0.2284122407436371, -0.2793833911418915], 0]]]], [["Bullet", O, 0x542f9376cd9f2]],
  15447. !1, !1, 9071683487558914, [], null], ["t10", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 0xc543a94385ba0, [["images/cloudfront-sheet0.png", 30006, 0, 0, 233, 333, 1, 0.5021459460258484, 0.4984984993934631, [], [0.1244640350341797, -0.006006509065628052, -0.1158799529075623, 0.09609651565551758, -0.1716739535331726, -0.09309351444244385], 0]]]], [["Bullet", O, 0xfecc3ecd85612]], !1, !1, 8870755616995957, [], null], ["t11", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 5600593619676825, [["images/bgcloud-sheet0.png", 78486, 0, 0, 359, 519, 1, 0.4986072480678558,
  15448. 0.5009633898735046, [], [0.1699167788028717, 0.2273606061935425, -0.1754872500896454, 0.1348745822906494, -0.2284122407436371, -0.2793833911418915], 0]]]], [["Bullet", O, 7099037619997627]], !1, !1, 5800945714672477, [], null], ["t12", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 5362042085672522, [["images/wall-sheet0.png", 3671, 0, 0, 479, 256, 1, 0.5031315088272095, 0.5, [], [-0.4989561438560486, -0.4921875, 0.4926934838294983, -0.4921875, 0.4947804808616638, 0.4960939884185791, -0.5031315088272095, 0.5], 0]]]], [["Anchor", pc, 0xe17ab4ace13b3]],
  15449. !1, !1, 9019025082396772, [], null], ["t13", E, !1, [4689411545222129], 2, 0, null, [["fly", 20, !0, 1, 0, !1, 8286184847207546, [["images/bird-sheet0.png", 21117, 1, 1, 105, 79, 1, 0.4952380955219269, 0.5063291192054749, [], [0.3619048893451691, -0.3797471225261688, 0.09523889422416687, 0.3291139006614685, -0.4285714030265808, -0.01265811920166016], 0], ["images/bird-sheet0.png", 21117, 108, 1, 105, 79, 1, 0.4952380955219269, 0.5063291192054749, [], [-0.02857109904289246, 0.3670888543128967, -0.4952380955219269, -0.03797411918640137, 0.485713928937912,
  15450. -0.2658221125602722], 0], ["images/bird-sheet0.png", 21117, 1, 82, 105, 79, 1, 0.4952380955219269, 0.5063291192054749, [], [0.380952924489975, -0.3417721390724182, 0.009523898363113403, 0.3670888543128967, -0.4666666984558106, -0.01265811920166016], 0], ["images/bird-sheet0.png", 21117, 108, 82, 105, 79, 1, 0.4952380955219269, 0.5063291192054749, [], [0.05714288353919983, 0.3797468543052673, -0.4666666984558106, -0.01265811920166016, 0.3523809015750885, -0.3037971258163452], 0], ["images/bird-sheet0.png", 21117, 1, 163, 105, 79, 1, 0.4952380955219269,
  15451. 0.5063291192054749, [], [0.438095897436142, -0.1898741126060486, 0.104761928319931, 0.2911388874053955, -0.4476190805435181, -0.01265811920166016], 0], ["images/bird-sheet0.png", 21117, 108, 163, 105, 79, 1, 0.4952380955219269, 0.5063291192054749, [], [0.2952379286289215, -0.3037971258163452, -0.07619008421897888, 0.3417719006538391, -0.4666666090488434, -0.151899129152298], 0]]], ["Default", 12, !1, 1, 0, !1, 6181709814997332, [["images/bird-sheet1.png", 3072, 0, 0, 90, 75, 1, 0.5, 0.4933333396911621, [], [-0.4222221970558167, -0.2266663312911987,
  15452. 0.3527780175209045, -0.0533333420753479, 0.2111110091209412, 0.493333637714386], 0]]]], [["Bullet", O, 733455629682954], ["Bullet2", O, 7983194799332214]], !1, !1, 6704926096104944, [], null], ["t14", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 7162566781132658, [["images/birdscare-sheet0.png", 168, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 3]]]], [["Pin", mf, 9889028705510240]], !1, !1, 0xf2fa32bab529d, [], null], ["t15", E, !1, [0xfd134269bfe0a], 2, 0, null, [["fly", 20, !0, 1, 0, !1, 0x57b2af87e5610, [["images/bird2-sheet0.png", 25100, 1, 1, 79, 105, 1, 0.4936708807945252,
  15453. 0.5047619342803955, [], [0.4177221059799194, -0.276189923286438, 0.1012651324272156, 0.4952380657196045, -0.2784808874130249, -0.314285933971405], 0], ["images/bird2-sheet0.png", 25100, 82, 1, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.4303790926933289, -0.1238099336624146, -0.2784808874130249, 0.4000000357627869, -0.1012658774852753, -0.4095240235328674], 0], ["images/bird2-sheet0.png", 25100, 163, 1, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.4050630927085877, -0.3428569436073303, 0.01265811920166016,
  15454. 0.4666670560836792, -0.2911399006843567, -0.3333339393138886], 0], ["images/bird2-sheet0.png", 25100, 1, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.3037971258163452, -0.3523809313774109, 0.01265811920166016, 0.4666670560836792, -0.3164559006690979, -0.2857149243354797], 0], ["images/bird2-sheet0.png", 25100, 82, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.2911391258239746, -0.3999999165534973, 0.01265811920166016, 0.4476190805435181, -0.3417719006538391, -0.04761892557144165], 0], ["images/bird2-sheet0.png",
  15455. 25100, 163, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.01265811920166016, 0.4285710453987122, -0.1645568907260895, -0.2571429312229157, 0.4683541059494019, -0.3428569436073303], 0]]], ["Default", 12, !1, 1, 0, !1, 5920084764618374, [["images/bird2-sheet1.png", 3078, 0, 0, 90, 75, 1, 0.5, 0.5066666603088379, [], [-0.01388901472091675, 0.4933333396911621, -0.4666666090488434, -0.01333364844322205, 0.3777779936790466, -0.3599996566772461], 0]]]], [["Bullet", O, 0x92b51bbdb911c], ["Bullet2", O, 0x3abd7aa82f349]], !1, !1, 9808162095061682,
  15456. [], null], ["t16", E, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 6776545662024618, [["images/sprite4-sheet0.png", 11275, 0, 0, 386, 165, 1, 0.5, 0.5030303001403809, [], [-0.4145078063011169, -0.3030303120613098, 0, -0.1575753092765808, 0.4689120054244995, -0.4303030073642731, 0.4533680081367493, -0.006060302257537842, 0.2616580128669739, -0.06060630083084106, 0, 0.4727277159690857, -0.2435230016708374, -0.1030302941799164, -0.1243520081043243, -0.006060302257537842], 0]]]], [], !1, !1, 0xf9bb3ff3d8a8a, [], null], ["t17", E, !1, [], 1, 0, null,
  15457. [["Animation2", 5, !1, 1, 0, !1, 0x72cb96f62e1b, [["images/sprite5-sheet0.png", 15711, 0, 0, 453, 250, 1, 0.5011037588119507, 0.5, [], [], 0]]]], [["Bullet", O, 0x5484056cb8bf1]], !1, !1, 9823635574929094, [], null], ["t18", E, !1, [0xcc82fdd90d1d5], 1, 0, null, [["fly", 20, !0, 1, 0, !1, 4978840957442598, [["images/bird2-sheet0.png", 25100, 163, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.278481125831604, -0.3333329558372498, 0.392405092716217, -0.009523928165435791, 0.1518990993499756, 0.2285710573196411, 0.01265811920166016, 0.4285710453987122,
  15458. -0.2025318741798401, 0.2761900424957275, -0.3037979006767273, -0.009523928165435791, -0.1645568907260895, -0.2571429312229157, 0.01265811920166016, -0.4666669368743897], 0], ["images/bird2-sheet0.png", 25100, 82, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.2658231258392334, -0.3238099217414856, 0.3544301390647888, -0.009523928165435791, 0.126582145690918, 0.2095240950584412, 0.01265811920166016, 0.4476190805435181, -0.2151898741722107, 0.2857140898704529, -0.3291139006614685, -0.009523928165435791, -0.1772148907184601,
  15459. -0.2666669487953186, 0.01265811920166016, -0.3523809313774109], 0], ["images/bird2-sheet0.png", 25100, 1, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.3037971258163452, -0.3523809313774109, 0.3037971258163452, -0.009523928165435791, 0.2151901125907898, 0.2761900424957275, 0.01265811920166016, 0.4666670560836792, -0.2405058741569519, 0.304762065410614, -0.3670888841152191, -0.009523928165435791, -0.1898738741874695, -0.2761909365653992, 0.01265811920166016, -0.3523809313774109], 0], ["images/bird2-sheet0.png",
  15460. 25100, 1, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.3037971258163452, -0.3523809313774109, 0.3037971258163452, -0.009523928165435791, 0.2151901125907898, 0.2761900424957275, 0.01265811920166016, 0.4666670560836792, -0.2405058741569519, 0.304762065410614, -0.3670888841152191, -0.009523928165435791, -0.1898738741874695, -0.2761909365653992, 0.01265811920166016, -0.3523809313774109], 0], ["images/bird2-sheet0.png", 25100, 82, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.2658231258392334, -0.3238099217414856,
  15461. 0.3544301390647888, -0.009523928165435791, 0.126582145690918, 0.2095240950584412, 0.01265811920166016, 0.4476190805435181, -0.2151898741722107, 0.2857140898704529, -0.3291139006614685, -0.009523928165435791, -0.1772148907184601, -0.2666669487953186, 0.01265811920166016, -0.3523809313774109], 0], ["images/bird2-sheet0.png", 25100, 163, 108, 79, 105, 1, 0.4936708807945252, 0.5047619342803955, [], [0.278481125831604, -0.3333329558372498, 0.392405092716217, -0.009523928165435791, 0.1518990993499756, 0.2285710573196411, 0.01265811920166016,
  15462. 0.4285710453987122, -0.2025318741798401, 0.2761900424957275, -0.3037979006767273, -0.009523928165435791, -0.1645568907260895, -0.2571429312229157, 0.01265811920166016, -0.4666669368743897], 0]]], ["Default", 12, !1, 1, 0, !1, 5920438918784435, [["images/bird2-sheet1.png", 3078, 0, 0, 90, 75, 1, 0.5, 0.5066666603088379, [], [0.3888890147209168, -0.01333364844322205, 0.2666670083999634, 0.2133333683013916, -0.01388901472091675, 0.4933333396911621, -0.2888889908790588, 0.2400003671646118, -0.4666666090488434, -0.01333364844322205, -0.1777780055999756,
  15463. -0.1199996471405029, 0, -0.4533336758613586, 0.3777779936790466, -0.3599996566772461], 0]]]], [["Bullet", O, 5624193977707043]], !1, !1, 0xd8db2b5d06b18, [], null], ["t19", E, !1, [], 2, 0, null, [["Animation2", 5, !1, 1, 0, !1, 7414321724570876, [["images/branchright2-sheet0.png", 124352, 1, 1, 584, 535, 1, 0.5, 0.4990654289722443, [], [0.04965698719024658, 0.3787515461444855, -0.1643840074539185, 0.3796295821666718, -0.1027399897575378, 0.1279725730419159, 0.006848990917205811, 0.1310715973377228], 0]]], ["hit", 15, !1, 1, 0, !1, 6490432481807989,
  15464. [["images/branchright2-sheet0.png", 124352, 1173, 1, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [0.1696749329566956, -0.1607475876808167, 0.1714799404144287, -0.00186958909034729, -0.00180506706237793, 0.1644864082336426, -0.08122706413269043, 0.06355142593383789, -0.08122706413269043, -0.00186958909034729, -0.1462090611457825, -0.1327106058597565, -0.00180506706237793, -0.4654206037521362], 0], ["images/branchright-sheet0.png", 343863, 1, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793,
  15465. 0.2523365914821625, -0.2635380625724793, 0.2542055547237396, -0.2689530849456787, 0.00186958909034729, -0.1570400595664978, -0.1420564353466034, -0.00180506706237793, -0.2224294245243073, 0.03429591655731201, -0.01869142055511475, 0.02888095378875732, 0.00186958909034729, 0.02527093887329102, 0.01121458411216736], 0], ["images/branchright-sheet0.png", 343863, 557, 1, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, -0.164486438035965, -0.3068590760231018, 0.2990655601024628, -0.4151624739170075,
  15466. 0.00186958909034729, -0.256318062543869, -0.2448594272136688, -0.00180506706237793, -0.2523364424705505, -0.08844807744026184, 0.108411580324173, -0.1119130551815033, 0.00186958909034729, -0.08664306998252869, -0.1046724319458008], 0], ["images/branchright2-sheet0.png", 124352, 1, 538, 554, 535, 1, 0.5018050670623779, 0.5009346008300781, [], [0.1425989270210266, -0.1327106058597565, 0.1389889121055603, -0.00186958909034729, 0.06498193740844727, 0.05046737194061279, -0.00180506706237793, 0.1831774115562439, -0.09747305512428284,
  15467. 0.08037340641021729, -0.158845067024231, -0.1457946002483368, -0.00180506706237793, -0.476635605096817], 0], ["images/branchright-sheet0.png", 343863, 1, 538, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, -0.2728974223136902, 0.07220190763473511, -0.09345844388008118, 0.06137192249298096, 0.00186958909034729, 0.1155239343643189, 0.1401865780353546, -0.00180506706237793, -0.3551404476165772, 0.1660649180412293, -0.1551404297351837, 0.3935019373893738, 0.00186958909034729, 0.3465699553489685, 0.3439255654811859],
  15468. 0], ["images/branchright-sheet0.png", 343863, 557, 538, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4747665822505951, -0.1732850670814514, 0.1607475578784943, -0.1371840536594391, 0.00186958909034729, -0.1028880774974823, -0.08598142862319946, -0.00180506706237793, -0.1887854337692261, 0.05415195226669312, -0.03925243020057678, 0.1317689418792725, 0.00186958909034729, 0.1317689418792725, 0.1214955747127533], 0], ["images/branchright-sheet0.png", 343863, 1113, 538, 554, 535, 1, 0.5018050670623779,
  15469. 0.4990654289722443, [], [-0.00180506706237793, 0.4766355454921722, -0.1425990760326386, 0.1289715468883514, -0.07581207156181335, 0.00186958909034729, -0.08122706413269043, -0.06355142593383789, -0.00180506706237793, -0.164486438035965, 0.09205794334411621, -0.07850444316864014, 0.1660649180412293, 0.00186958909034729, 0.1660649180412293, 0.1570095717906952], 0], ["images/branchright-sheet0.png", 343863, 1, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.3962615430355072, -0.05956706404685974,
  15470. 0.00186958909034729, -0.00180506706237793, -0.3476634323596954, 0.1028879284858704, -0.08971941471099854, 0.2220219373703003, 0.00186958909034729, 0.2310469150543213, 0.2242985665798187], 0], ["images/branchright-sheet0.png", 343863, 557, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4785045683383942, -0.1516240537166596, 0.1383175551891327, -0.1498190760612488, 0.00186958909034729, -0.09205806255340576, -0.07476642727851868, -0.00180506706237793, -0.1775704324245453, 0.08122694492340088,
  15471. -0.06728944182395935, 0.1444039344787598, 0.00186958909034729, 0.1552349328994751, 0.1457946002483368], 0], ["images/branchright-sheet0.png", 343863, 1113, 1075, 554, 535, 1, 0.5018050670623779, 0.4990654289722443, [], [-0.00180506706237793, 0.4616825878620148, -0.1462090611457825, 0.1327105462551117, -0.08303207159042358, 0.00186958909034729, -0.08122706413269043, -0.06355142593383789, -0.00180506706237793, -0.164486438035965, 0.1714799404144287, 0.00186958909034729, 0.1732849478721619, 0.1644855439662933], 0]]], ["Default", 5,
  15472. !1, 1, 0, !1, 9967042059145988, [["images/branchright2-sheet0.png", 124352, 587, 1, 584, 535, 1, 0.5, 0.4990654289722443, [], [-0.006848990917205811, 0.1310715973377228, 0.1027399897575378, 0.1279725730419159, 0.1643840074539185, 0.3796295821666718, -0.04965698719024658, 0.3787515461444855], 0]]]], [["Bullet", O, 0xc0fbc3a3ed277], ["Anchor", pc, 9047969080437576]], !1, !1, 5848485070723676, [], null], ["t20", E, !1, [], 2, 0, null, [["Default", 5, !1, 1, 0, !1, 9423616804433700, [["images/sprite6-sheet0.png", 28405, 0, 0, 310, 606, 1, 0.5, 0.5, [], [0.2225810289382935,
  15473. 0, 0.2290319800376892, 0.3613860011100769, -0.2322579920291901, 0], 0]]]], [["Bullet", O, 8101523586805878], ["Sine", nf, 7803881546214948]], !1, !1, 0x7cef4137bebc0, [], null], ["t21", E, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 8465423165888946, [["images/birdscare-sheet0.png", 168, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 3]]]], [], !1, !1, 6459677023802671, [], null], ["t22", E, !1, [], 2, 0, null, [["Default", 5, !1, 1, 0, !1, 5116435395016321, [["images/sprite7-sheet0.png", 3716, 0, 0, 271, 118, 1, 0.5018450021743774, 0.5, [], [-0.003690004348754883, -0.2288140058517456,
  15474. 0.4575650095939636, -0.4067797064781189, 0.431734025478363, 0, 0.2398520112037659, -0.09321999549865723, -0.003690004348754883, 0.110168993473053, -0.4132840931415558, 0.2966099977493286, -0.4538744986057282, 0], 0]]]], [["Anchor", pc, 9427250988009794], ["Sine", nf, 0x84ccad51bb5b7]], !1, !1, 0xaf44c101d0c1a, [], null], ["t23", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 8141232196467478, [["images/sprite8-sheet0.png", 9376, 0, 0, 316, 266, 1, 0.5, 0.5037593841552734, [], [], 0]]]], [["Sine", nf, 81116586680205]], !1, !1, 9249798526614712, [],
  15475. null], ["t24", kc, !1, [], 1, 0, ["images/spritefont.png", 6389, 0], null, [["Anchor", pc, 9385026551930108]], !1, !1, 8838041239886618, [], null], ["t25", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 9482114149715264, [["images/meters-sheet0.png", 168, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 3]]]], [["Bullet", O, 4645290545829865]], !1, !1, 6519825252654862, [], null], ["t26", E, !1, [], 1, 0, null, [["Default", 4, !0, 1, 0, !1, 0x95883e3db1ee, [["images/endscreen-sheet0.png", 199945, 1, 1, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [], 0], ["images/endscreen-sheet0.png",
  15476. 199945, 853, 1, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [-0.414117693901062, -0.396333247423172, -0.00117647647857666, -0.5007052421569824, 0.4011765122413635, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet0.png", 199945, 1, 712, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4011765122413635, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet0.png",
  15477. 199945, 853, 712, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4011765122413635, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet1.png", 212492, 1, 1, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4011765122413635, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet1.png", 212492, 853, 1, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4011765122413635,
  15478. -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet1.png", 212492, 1, 712, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4035295248031616, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0], ["images/endscreen-sheet1.png", 212492, 853, 712, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4035295248031616, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402,
  15479. 0.3808177709579468], 0], ["images/endscreen-sheet2.png", 77550, 0, 0, 850, 709, 1, 0.5011764764785767, 0.5007052421569824, [], [0.4011765122413635, -0.3836392462253571, 0.4082355499267578, 0.3906907439231873, -0.4023529887199402, 0.3808177709579468], 0]]]], [["CustomMovement", of, 0xae1b47ec79080]], !1, !1, 0x39c2b4655c15e, [], null], ["t27", kc, !1, [], 2, 0, ["images/endscore.png", 122023, 0], null, [["Pin", mf, 9022721393185624], ["Sine", nf, 7239906276650368]], !1, !1, 6831827575789391, [], null], ["t28", E, !1, [], 2, 0, null, [["Default", 5, !1, 1,
  15480. 0, !1, 6306878611073131, [["images/sprite8-sheet0.png", 9376, 0, 0, 316, 266, 1, 0.5, 0.5037593841552734, [], [], 0]]]], [["Sine", nf, 8771744390109187], ["Pin", mf, 6574624383677815]], !1, !1, 5787673712918244, [], null], ["t29", kc, !1, [], 2, 0, ["images/endscore.png", 122023, 0], null, [["Pin", mf, 9582610928529938], ["Sine", nf, 7236694956421008]], !1, !1, 8736507783689802, [], null], ["t30", ic, !1, [], 0, 0, null, null, [], !1, !1, 0xfa6502133890e, [], null, [0, 0, 1, 1, 600, 600, 1E4, 1, 5E3, 1]], ["t31", mc, !1, [], 0, 0, null, null, [], !1, !1, 5484799276522196, [], null,
  15481. []], ["t32", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 5869435385426516, [["images/nutka-sheet0.png", 4781, 0, 0, 95, 145, 1, 0.5052631497383118, 0.5034482479095459, [], [], 0]]]], [["Anchor", pc, 5257719012147917]], !1, !1, 6836927250400724, [], null], ["t33", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 435350424201264, [["images/sprite10-sheet0.png", 19035, 0, 0, 800, 480, 1, 0.5, 0.5, [], [0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5], 1]]]], [["Anchor", pc, 370596408309219]], !1, !1, 0x47f51b505d854, [], null], ["t34", jc, !1, [], 0, 0, null, null, [], !1, !1,
  15482. 6132345883980231, [], null, []], ["t35", E, !1, [], 2, 0, null, [["Default", 5, !1, 1, 0, !1, 0xb990d584d6ab5, [["images/sprite11-sheet0.png", 155, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 4]]]], [["Anchor", pc, 6478840717986376], ["Fade", qc, 7413313290333615]], !1, !1, 0x7d389ada06398, [], null], ["t36", E, !1, [], 0, 0, null, [["Default", 5, !1, 1, 0, !1, 0x75801bacb01a7, [["images/meters-sheet0.png", 168, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 3]]]], [], !1, !1, 0xd98d119711c9e, [], null], ["t37", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 7254287645935227, [["images/meters-sheet0.png",
  15483. 168, 0, 0, 250, 250, 1, 0.5, 0.5, [], [], 3]]]], [["Anchor", pc, 0x8282de7a52be8]], !1, !1, 9460973519825952, [], null], ["t38", E, !1, [], 1, 0, null, [["Default", 5, !1, 1, 0, !1, 0x5ad84caa3f300, [["images/silver-sheet0.png", 6456, 0, 0, 395, 56, 1, 0.501265823841095, 0.5, [], [-0.4683544337749481, -0.2678571343421936, 0.4632911086082459, -0.25, 0.4784809947013855, 0, 0.4658227562904358, 0.2678571343421936, -0.4683544337749481, 0.2678571343421936], 0]]]], [["Anchor", pc, 0xe3411b7266831]], !1, !1, 526299981867135, [], null], ["t39", E, !1, [], 0, 0, null, [["Default",
  15484. 5, !1, 1, 0, !1, 5459865659423086, [["images/sprite12-sheet0.png", 11924, 0, 0, 640, 960, 1, 0.5, 0.5, [], [], 1]]]], [], !1, !1, 9616035680092164, [], null]], [], [["Layout 1", 720, 1280, !1, "Event sheet 1", 827304368502551, [["Layer 2", 0, 0x8c416fdf7e411, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [[[373, 639, 0, 722, 1298, 0, 0, 1, 0.5, 0.5, 0, 0, []], 8, 5, [], [[0, 0, 1, 1, 1], [0]], [0, "Default", 0, 0]], [[108, 1050, 0, 367.4694519042969, 531.244140625, 0, -1.570796370506287, 1, 0.4986072480678558, 0.5009633898735046, 0, 0, []], 9, 10, [], [[400, 0, 0, 0, 1, 0]], [0, "Default",
  15485. 0, 0]], [[139, 205, 0, 367.4694519042969, 531.244140625, 0, -1.570796370506287, 1, 0.4986072480678558, 0.5009633898735046, 0, 0, []], 9, 16, [], [[400, 0, 0, 0, 1, 0]], [0, "Default", 0, 0]], [[-517, 623, 0, 600, 1649, 0, 0, 1, 0.5, 0.5, 0, 0, []], 36, 32, [], [], [0, "Default", 0, 1]], [[1297, 682, 0, 824, 1517, 0, 0, 1, 0.5, 0.5, 0, 0, []], 37, 33, [], [[1, 2, 0, 0, 1]], [0, "Default", 0, 1]]], []], ["Layer 1", 1, 533566945819349, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [[[533, 613, 0, 326, 495, 0, -1.570796370506287, 1, 0.5021459460258484, 0.4984984993934631, 0, 0, []], 10, 11, [], [[420, 0,
  15486. 0, 0, 1, 0]], [0, "Default", 0, 0]]], []], ["Layer 0", 2, 5993520271787214, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [[[86, 6, 0, 231, 90, 0, 0, 1, 0, 0, 0, 0, []], 24, 20, [], [[0, 2, 0, 0, 1]], [32, 34, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>", "0", 1.8, 1, 0, 0, 0, 0, -18, 0]], [[-564, 273, 0, 446.6904602050781, 409.2113342285156, 0, -1.570796370506287, 1, 0.5, 0.4990654289722443, 0, 0, []], 3, 4, [], [[700, 0, 0, 0, 1, 1]], [0, "Default", 0, 1]], [[31.44709014892578, 709.9976196289062, 0, -93, 1978, 0,
  15487. 0, 1, 0.5031315088272095, 0.5, 0, 0, []], 0, 0, [], [], [0, "Default", 0, 1]], [[688.526123046875, 537, 0, 93, 1745, 0, 0, 1, 0.5031315088272095, 0.5, 0, 0, []], 12, 8, [], [[1, 2, 0, 0, 1]], [0, "Default", 0, 1]], [[115, -155, 0, 245.5999450683594, 315.4424133300781, 0, 0, 1, 0.503125011920929, 0.5012165307998657, 0, 0, []], 1, 2, [[0], [1]], [[0, 5, 1], [0, 1, 0, 3, 0, 0, 0, 130, 0], [0, 0, 0, 70, 0, 0, 0, 0.01, 0, 0]], [0, "Default", 0, 1]], [[97, -129, 0, 458, 436, 0, 0, 1, 0.5, 0.5, 0, 0, []], 14, 9, [], [[]], [0, "Default", 0, 1]], [[-708, 72, 0, 58.79795837402344, 48.9983024597168, 0, -1.570796370506287,
  15488. 1, 0.5, 0.4933333396911621, 0, 0, []], 13, 1, [[0]], [[700, 0, 0, 0, 1, 1], [444, 1111, -50, 0, 1, 0]], [0, "Default", 0, 1]], [[1482, -155, 0, 60.35892868041992, 50.29910659790039, 0, -1.570796370506287, 1, 0.5, 0.5066666603088379, 0, 0, []], 15, 14, [[0]], [[700, 0, 0, 0, 1, 1], [444, 1111, 0, 0, 1, 0]], [0, "Default", 0, 1]], [[1237, -213, 0, 449.0208129882813, -419.5728149414063, 0, -1.570796370506287, 1, 0.5, 0.5009346008300781, 0, 0, []], 5, 7, [], [[700, 0, 0, 0, 1, 1]], [0, "Default", 0, 1]], [[495, 521, 0, 502.2664794921875, 460.124267578125, 0, -1.570796370506287, 1, 0.5, 0.4990654289722443,
  15489. 0, 0, []], 19, 15, [], [[700, 0, 0, 0, 1, 0], [1, 2, 0, 0, 1]], [0, "Default", 0, 0]]], []], ["ui", 3, 6284098078625199, !0, [255, 255, 255], !0, 0, 0, 1, !1, 1, 0, 0, [[[360, 728, 0, 282.68798828125, 552.6093139648438, 0, -1.570796370506287, 1, 0.5, 0.5, 0, 0, []], 20, 12, [], [[700, 0, 0, 0, 1, 0], [1, 2, 0, 2, 0, 0, 0, 9, 0]], [0, "Default", 0, 0]], [[307, 414, 0, 3653, 20, 0, 0, 1, 0.5, 0.5, 0, 0, []], 21, 13, [], [], [0, "Default", 0, 1]], [[367, 1105, 0, 237.9046478271484, 200.2615051269531, 0, 0, 1, 0.5, 0.5037593841552734, 0, 0, []], 23, 17, [], [[0, 2, 0, 1, 0, 0, 0, 12, 0]], [0, "Default", 0, 1]], [[542, 113,
  15490. 0, 398.1874694824219, 364.7779235839844, 0, -1.208542227745056, 1, 0.5, 0.4990654289722443, 0, 0, []], 19, 19, [], [[700, 0, 0, 0, 1, 0], [1, 2, 0, 0, 1]], [0, "Default", 0, 0]], [[436, 202, 0, 703.1375122070312, 644.1414184570312, 0, -1.44330358505249, 1, 0.5, 0.4990654289722443, 0, 0, []], 19, 18, [], [[700, 0, 0, 0, 1, 0], [1, 2, 0, 0, 1]], [0, "Default", 0, 0]], [[-2238, 0, 0, 250, 250, 0, 1.570796370506287, 1, 0.5, 0.5, 0, 0, []], 25, 21, [], [[2, 0, 0, 0, 1, 0]], [0, "Default", 0, 1]], [[365, 1644, 0, 656.086669921875, 547.25341796875, 0, 0, 1, 0.5011764764785767, 0.5007052421569824,
  15491. 0, 0, []], 26, 22, [], [[0, 5, 1]], [0, "Default", 0, 0]], [[-188, 1595, 0, 1123, 389, 0, 0, 1, 0, 0, 0, 0, []], 27, 23, [], [[], [1, 5, 0, 1, 0, 0, 0, 1, 0]], [61, 64, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>", "0", 1.8, 1, 1, 0, 0, 0, -50, 0]], [[367, 2006, 0, 237.9049987792969, 200.2619934082031, 0, 0, 1, 0.5, 0.5037593841552734, 0, 0, []], 28, 24, [], [[1, 0, 0, 4, 0, 0, 0, 50, 0], []], [1, "Default", 0, 1]], [[95, 1718, 0, 581, 198, 0, 0.05274521186947823, 1, 0, 0, 0, 0, []], 29, 25, [], [[], [0, 6, 0, 0.3, 0, 0, 0, 100, 0]],
  15492. [61, 64, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>", "Best:222", 0.8, 1, 1, 0, 0, 0, -12, 0]], [[602, 1216, 0, 86.19544982910156, 131.5614776611328, 0, 0, 1, 0.5052631497383118, 0.5034482479095459, 0, 0, []], 32, 28, [], [[1, 1, 0, 0, 1]], [0, "Default", 0, 1]], [[241, 1254, 0, 309.381591796875, 43.8616943359375, 0, 0, 1, 0.501265823841095, 0.5, 0, 0, []], 38, 34, [], [[0, 2, 0, 0, 1]], [0, "Default", 0, 1]]], []], ["Layer 3", 4, 0x73e3806760499, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [[[379.3314208984375,
  15493. 648.9990234375, 0, 825, 1329, 0, 3.141592741012573, 1, 0.5, 0.5, 0, 0, []], 33, 29, [], [[0, 0, 1, 1, 1]], [0, "Default", 0, 1]], [[360, 680, 0, 1044, 1545, 0, 0, 1, 0.5, 0.5, 0, 0, []], 35, 31, [], [[0, 0, 1, 1, 1], [1, 0, 0, 0.5, 1]], [0, "Default", 0, 1]]], []]], [], []], ["logo", 720, 1280, !1, "Event sheet 2", 0xdc69d8f5a0b33, [["Layer 0", 0, 8456410227638161, !0, [80, 166, 211], !1, 0, 0, 1, !1, 1, 0, 0, [[[368, 664, 0, 495.4367980957031, 875.2942504882812, 0, 0, 1, 0.5, 0.5, 0, 0, []], 39, 35, [], [], [0, "Default", 0, 1]], [[348, 624, 0, 825, 1329, 0, 3.141592741012573, 1, 0.5, 0.5, 0, 0, []], 33, 36,
  15494. [], [[0, 0, 1, 1, 1]], [0, "Default", 0, 1]]], []]], [], []]], [["Event sheet 1", [[1, "dead", 0, 0, !1, !1, 930733432150587, !1], [1, "goup", 0, 0, !1, !1, 5167829616349288, !1], [1, "lastBranchY", 0, 0, !1, !1, 7846748610709952, !1], [1, "shithelpSound", 0, 0, !1, !1, 6281271620096943, !1], [1, "tempWeb", 0, 0, !1, !1, 0x41abfb1632974, !1], [1, "maxRand", 0, 1.5, !1, !1, 8651269823349407, !1], [1, "start", 0, 0, !1, !1, 69148278928956, !1], [1, "RandomSide", 0, 0, !1, !1, 4967099688830654, !1], [0, null, !1, null, 7452224004422171, [[2, lc.prototype.B.No, null, 1, !1, !1, !1, 0x4fcacafd2939f,
  15495. !1], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x9741c7114b7b5, !1, [[10, 0], [8, 0], [7, [0, 0]]]], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x7ff4f5a40bd41, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6564331422532431, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 5730336203980605, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[1, E.prototype.A.tf, null, 8066795044069574, !1, [[10, 0], [7, [0, 1]]]], [1, E.prototype.A.We, null, 0xae603a2f3a9a6, !1, [[1, [2, "jump"]], [3, 1]]], [1, of.prototype.A.um, "CustomMovement",
  15496. 6816506904651737, !1, [[3, 0], [0, [0, 2600]]]], [1, E.prototype.A.Aw, null, 0x5f6ec6fd0fa85, !1, [[3, 0]]], [30, ic.prototype.A.Play, null, 0x5bfaa03aeda8d, !1, [[2, ["jump 2 (without delay)", !1]], [3, 0], [0, [0, 12]], [1, [2, ""]]]]]], [0, null, !1, null, 0xdfe4df4c3fd8e, [[2, lc.prototype.B.No, null, 1, !1, !1, !1, 5390938372281164, !1], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 5644245328733099, !1, [[10, 0], [8, 0], [7, [0, 0]]]], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xf3e57ec4a6199, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1,
  15497. 8185478328704814, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x944af82454e0a, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[1, E.prototype.A.tf, null, 9464834875743014, !1, [[10, 0], [7, [0, 1]]]], [1, E.prototype.A.We, null, 7477484322259695, !1, [[1, [2, "jump"]], [3, 1]]], [1, of.prototype.A.um, "CustomMovement", 7383040247000932, !1, [[3, 0], [0, [0, -2600]]]], [1, E.prototype.A.Aw, null, 9249470817891780, !1, [[3, 1]]], [30, ic.prototype.A.Play, null, 7075136017589547, !1, [[2, ["jump 2 (without delay)", !1]], [3, 0], [0,
  15498. [0, 12]], [1, [2, ""]]]]]], [0, null, !1, null, 5809291575683493, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 0x8b40065e4aba1, !1, [[4, 0]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x57d6c7a59aa0d, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.tf, null, 6440826973360329, !1, [[10, 0], [7, [0, 0]]]], [1, E.prototype.A.tf, null, 807209219131476, !1, [[10, 1], [7, [3, [21, 1, !1, null, 1]]]]], [1, of.prototype.A.xm, "CustomMovement", 817652425168568, !1], [1, of.prototype.A.um, "CustomMovement", 8348185339069908, !1, [[3, 0], [0, [0, 0]]]], [1, E.prototype.A.We,
  15499. null, 7920522732024606, !1, [[1, [2, "Default"]], [3, 1]]], [30, ic.prototype.A.Play, null, 5864137555875829, !1, [[2, ["jump 1 (without delay)", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]]], [[0, null, !1, null, 8999125677931454, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xc629cc06053fc, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x6301340b2f00d, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 0xdadfa4c38fca7, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 7033732322256838,
  15500. [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 9644808440939636, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0xfc4b39bfa5b21, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 689167177423226, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 83]]]]]]]]], [0, null, !1, null, 96059777755638, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 7126685137007488, !1, [[4, 12]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 7270193900637492, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.tf, null, 755980976566756, !1,
  15501. [[10, 0], [7, [0, 0]]]], [1, E.prototype.A.We, null, 0xcc9f385c3e9f, !1, [[1, [2, "Default"]], [3, 1]]], [1, of.prototype.A.xm, "CustomMovement", 4512868723096483, !1], [1, E.prototype.A.tf, null, 0x78899eff6e9ab, !1, [[10, 1], [7, [3, [21, 1, !1, null, 1]]]]], [30, ic.prototype.A.Play, null, 0x8e89a75ad1eeb, !1, [[2, ["jump 1 (without delay)", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]]], [[0, null, !1, null, 0xacbefd9d1f5f5, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x702e33a6155a5, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 8691463298576995,
  15502. !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 9452865166762148, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 0xafd98f512b393, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x60823bcfdecfb, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 7420391905071103, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 0x96bb5e03b3813, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 83]]]]]]]]], [0, null, !1, null, 7456651725563467, [[-1, B.prototype.B.xj, null, 0, !1,
  15503. !1, !1, 0x8e8d8ede2eb9b, !1, [[0, [19, B.prototype.W.random, [[1, 0.5], [23, "maxRand"]]]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6218846691118746, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 796365203606485, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.Fj, null, 627080299449939, !1, [[11, "RandomSide"], [7, [19, B.prototype.W.floor, [[19, B.prototype.W.random, [[0, 1], [0, 3]]]]]]]], [4, hc.prototype.A.CallFunction, null, 0xd78fa565f8010, !1, [[1, [2, "Gen"]], [13]]]]], [0, null, !1, null, 0x4078d88aa9446,
  15504. [[-1, B.prototype.B.xj, null, 0, !1, !1, !1, 0xbf48d4ac1014a, !1, [[0, [19, B.prototype.W.random, [[0, 2], [0, 5]]]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0xc76bae24d9204, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 5437526024563343, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.ph, null, 7538689387302288, !1, [[4, 9], [5, [0, 0]], [0, [19, B.prototype.W.random, [[0, 0], [0, 700]]]], [0, [0, 1500]]]], [9, O.prototype.A.Hb, "Bullet", 9033435419662400, !1, [[3, 1]]]]], [0, null, !1, null, 7866499885290795, [[-1,
  15505. B.prototype.B.xj, null, 0, !1, !1, !1, 0x4f4c429a55c14, !1, [[0, [19, B.prototype.W.random, [[0, 1], [0, 6]]]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6349283271419422, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6358222037030244, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.ph, null, 0x7e85ca2d4703e, !1, [[4, 10], [5, [0, 1]], [0, [19, B.prototype.W.random, [[0, 0], [0, 700]]]], [0, [0, 1500]]]], [10, O.prototype.A.Hb, "Bullet", 0x3e6d98fc259c1, !1, [[3, 1]]]]], [0, null, !1, null, 5445772018323441, [[3, E.prototype.B.Ag,
  15506. null, 0, !1, !1, !1, 0x7d04fa710098, !1, [[8, 2], [0, [0, -90]]]]], [[3, E.prototype.A.Ob, null, 5923546482485594, !1]]], [0, null, !1, null, 0x6ef279ce63cfc, [[5, E.prototype.B.Ag, null, 0, !1, !1, !1, 8917518119565263, !1, [[8, 2], [0, [0, -90]]]]], [[5, E.prototype.A.Ob, null, 7367822210012557, !1]]], [0, null, !1, null, 5380841990383775, [[19, E.prototype.B.Ag, null, 0, !1, !1, !1, 4811117493623353, !1, [[8, 2], [0, [0, -90]]]]], [[19, E.prototype.A.Ob, null, 578636402482631, !1]]], [0, null, !1, null, 7316685230593091, [[13, E.prototype.B.Ag, null, 0, !1, !1, !1, 8763887109372815,
  15507. !1, [[8, 2], [0, [0, -90]]]]], [[13, E.prototype.A.Ob, null, 6718882672394851, !1]]], [0, null, !1, null, 7909911077070444, [[20, E.prototype.B.Ag, null, 0, !1, !1, !1, 8698294782306782, !1, [[8, 2], [0, [0, -140]]]]], [[20, E.prototype.A.Ob, null, 647024852490013, !1]]], [0, null, !1, null, 9608654494703296, [[15, E.prototype.B.Ag, null, 0, !1, !1, !1, 5350361493814741, !1, [[8, 2], [0, [0, -90]]]]], [[15, E.prototype.A.Ob, null, 4866546244649342, !1]]], [0, null, !1, null, 6273230811052782, [[9, E.prototype.B.Ag, null, 0, !1, !1, !1, 528680337512242, !1, [[8, 2], [0, [0,
  15508. -190]]]]], [[9, E.prototype.A.Ob, null, 9516561489551542, !1]]], [0, null, !1, null, 4965922521834725, [[10, E.prototype.B.Ag, null, 0, !1, !1, !1, 8336010288456949, !1, [[8, 2], [0, [0, -190]]]]], [[10, E.prototype.A.Ob, null, 8025536627361315, !1]]], [0, null, !1, null, 0x47a697a9429d6, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 5310783821052725, !1, [[1, [2, "Gen"]]]]], [], [[0, null, !1, null, 0x3ad81489d2fb5, [[-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 9706373135592164, !1, [[11, "RandomSide"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.ph, null, 6813568414127564,
  15509. !1, [[4, 3], [5, [0, 2]], [0, [0, 200]], [0, [0, 1500]]]], [1, E.prototype.A.dw, null, 5339270844743262, !1]]], [0, null, !1, null, 7792813932295017, [[-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6199750923882763, !1, [[11, "RandomSide"], [8, 0], [7, [0, 2]]]]], [[-1, B.prototype.A.ph, null, 8573770408611437, !1, [[4, 5], [5, [0, 2]], [0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 166]]], [0, [0, 1500]]]], [1, E.prototype.A.dw, null, 7771630967075588, !1]]]]], [0, null, !1, null, 7795955640028718, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 9274143053831872, !1]], [[1, E.prototype.A.ye,
  15510. null, 0xd520687cff7f, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 10]]]]], [14, mf.prototype.A.Oo, "Pin", 0x58f298d11c251, !1, [[4, 1], [3, 0]]], [21, E.prototype.A.ye, null, 0x66da73c13971a, !1, [[0, [20, 0, E.prototype.W.Hc, !1, null]]]]]], [0, null, !1, null, 5568249996257664, [[13, E.prototype.B.uh, null, 0, !1, !1, !0, 0x73cc5f09d139c, !1, [[4, 14]]]], [[13, O.prototype.A.rw, "Bullet", 8153503630045142, !1, [[0, [0, 1222]]]], [13, E.prototype.A.We, null, 0xd514b11c3f26a, !1, [[1, [2, "fly"]], [3, 1]]], [13, E.prototype.A.vi, null, 0x82eb1a081d170, !1,
  15511. [[0, [19, B.prototype.W.random, [[0, 320], [0, 330]]]]]], [4, hc.prototype.A.CallFunction, null, 719076416798846, !1, [[1, [2, "birdsLeft"]], [13]]]]], [0, null, !1, null, 7919343022315819, [[15, E.prototype.B.uh, null, 0, !1, !1, !0, 0xfd545da358123, !1, [[4, 14]]]], [[15, O.prototype.A.rw, "Bullet", 5858849393390159, !1, [[0, [0, 2222]]]], [15, E.prototype.A.We, null, 9739473989701524, !1, [[1, [2, "fly"]], [3, 1]]], [15, E.prototype.A.vi, null, 9906065418822988, !1, [[0, [19, B.prototype.W.random, [[0, 230], [0, 240]]]]]], [4, hc.prototype.A.CallFunction,
  15512. null, 0x9ee0220928c11, !1, [[1, [2, "birdsRight"]], [13]]]]], [0, null, !1, null, 0x79e6b9f82ed8c, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 400857013618657, !1, [[1, [2, "birdsLeft"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 6393158383408034, !1, [[4, 13], [7, [0, 0]], [3, 0]]]], [[13, E.prototype.A.tf, null, 9712791873902572, !1, [[10, 0], [7, [0, 1]]]], [13, O.prototype.A.Hb, "Bullet", 8959867403623634, !1, [[3, 0]]], [13, O.prototype.A.Hb, "Bullet2", 0x56d5c6d60c7f9, !1, [[3, 1]]], [13, E.prototype.A.We, null, 8960146755784566, !1, [[1, [2, "fly"]], [3, 1]]],
  15513. [13, E.prototype.A.vi, null, 5124808376718973, !1, [[0, [19, B.prototype.W.random, [[0, 320], [0, 330]]]]]]], [[0, null, !1, null, 5442782645642819, [[30, ic.prototype.B.Rr, null, 0, !1, !0, !1, 0x57c160356fbd2, !1, [[1, [2, "bird"]]]]], [[30, ic.prototype.A.Play, null, 9138936123254564, !1, [[2, ["11660 flying away bird", !1]], [3, 0], [0, [0, 4]], [1, [2, "bird"]]]]]]]], [0, null, !1, null, 8704531536278716, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 7206334482339568, !1, [[1, [2, "birdsRight"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 9618129446355E3, !1,
  15514. [[4, 15], [7, [0, 0]], [3, 0]]]], [[15, E.prototype.A.tf, null, 6294967389869774, !1, [[10, 0], [7, [0, 1]]]], [15, O.prototype.A.Hb, "Bullet", 667226981631923, !1, [[3, 0]]], [15, O.prototype.A.Hb, "Bullet2", 0x74085564fa7cb, !1, [[3, 1]]], [15, E.prototype.A.We, null, 6056437615408842, !1, [[1, [2, "fly"]], [3, 1]]], [15, E.prototype.A.vi, null, 0x407329259e3db, !1, [[0, [19, B.prototype.W.random, [[0, 220], [0, 230]]]]]]], [[0, null, !1, null, 7863819566132721, [[30, ic.prototype.B.Rr, null, 0, !1, !0, !1, 7883135627669518, !1, [[1, [2, "bird2"]]]]], [[30, ic.prototype.A.Play,
  15515. null, 5287547799482898, !1, [[2, ["11660 flying away bird", !1]], [3, 0], [0, [0, 4]], [1, [2, "bird2"]]]]]]]], [0, null, !1, null, 0xc912eb8c68998, [[-1, B.prototype.B.xj, null, 0, !1, !1, !1, 5692162009202603, !1, [[0, [19, B.prototype.W.random, [[0, 6], [0, 19]]]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0xdfbbf1f19ca1a, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 7394102727514101, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.ph, null, 0x7f75ccc4bfb01, !1, [[4, 13], [5, [0, 2]], [0, [4, [20, 0, E.prototype.W.Hc,
  15516. !1, null], [0, 68]]], [0, [0, 1500]]]], [-1, B.prototype.A.ph, null, 4982681498377186, !1, [[4, 13], [5, [0, 2]], [0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 68]]], [0, [4, [0, 1500], [19, B.prototype.W.random, [[0, 70], [0, 150]]]]]]], [-1, B.prototype.A.ph, null, 0xc94aac40ba4e8, !1, [[4, 13], [5, [0, 2]], [0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 68]]], [0, [4, [0, 1650], [19, B.prototype.W.random, [[0, 80], [0, 150]]]]]]]]], [0, null, !1, null, 0x92acb7f1efb1, [[-1, B.prototype.B.xj, null, 0, !1, !1, !1, 0xbc38762daacf7, !1, [[0, [19, B.prototype.W.random, [[0,
  15517. 5], [0, 16]]]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6985576333030157, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 8532722816443455, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.ph, null, 8895025324008279, !1, [[4, 15], [5, [0, 2]], [0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 68]]], [0, [4, [0, 1550], [19, B.prototype.W.random, [[0, 80], [0, 150]]]]]]], [-1, B.prototype.A.ph, null, 520764184389565, !1, [[4, 15], [5, [0, 2]], [0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 68]]], [0, [4, [0, 1700], [19, B.prototype.W.random,
  15518. [[0, 80], [0, 150]]]]]]], [-1, B.prototype.A.Yf, null, 7227495016229433, !1, [[0, [19, B.prototype.W.random, [[1, 0.2], [0, 1]]]]]]]], [0, null, !1, null, 4726539449370565, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 8085266638328371, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 864933002051738, !1, [[4, 3], [7, [0, 0]], [3, 0]]]], [[3, O.prototype.A.Hb, "Bullet", 8124096994622846, !1, [[3, 0]]]]], [0, null, !1, null, 21934351298555, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 677781261462945, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi,
  15519. null, 0, !0, !1, !1, 5247232611641358, !1, [[4, 5], [7, [0, 0]], [3, 0]]]], [[5, O.prototype.A.Hb, "Bullet", 0x70c1d620ae1f, !1, [[3, 0]]]]], [0, null, !1, null, 0x77c70ca47e2be, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 8329334616866267, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 0xecf2fb9225e13, !1, [[4, 13], [7, [0, 0]], [3, 0]]], [13, E.prototype.B.vc, null, 0, !1, !1, !1, 0xc920cdfece871, !1, [[10, 0], [8, 0], [7, [0, 0]]]]], [[13, O.prototype.A.Hb, "Bullet", 9440443398832660, !1, [[3, 0]]]]], [0, null, !1, null, 0xf621a85be57c1, [[4, hc.prototype.B.le,
  15520. null, 2, !1, !1, !1, 34185209834834, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 0x4beb81e05c512, !1, [[4, 15], [7, [0, 0]], [3, 0]]], [15, E.prototype.B.vc, null, 0, !1, !1, !1, 6382279314096255, !1, [[10, 0], [8, 0], [7, [0, 0]]]]], [[15, O.prototype.A.Hb, "Bullet", 0x6f233e175aed1, !1, [[3, 0]]]]], [0, null, !1, null, 4967496497002172, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 0xe54103ed1b8a7, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 5789167885936827, !1, [[4, 10], [7, [0, 0]], [3, 0]]]], [[10, O.prototype.A.Hb,
  15521. "Bullet", 0x3e4f82f185ecd, !1, [[3, 0]]]]], [0, null, !1, null, 7450590348746191, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 6623976014439421, !1, [[1, [2, "DeadStop"]]]], [-1, B.prototype.B.qi, null, 0, !0, !1, !1, 5072445705890283, !1, [[4, 9], [7, [0, 0]], [3, 0]]]], [[9, O.prototype.A.Hb, "Bullet", 9756965115838036, !1, [[3, 0]]]]], [0, null, !1, null, 8994542088196263, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 6982314992679162, !1, [[4, 3]]]], [[4, hc.prototype.A.CallFunction, null, 0xb534469eb91cd, !1, [[1, [2, "fall"]], [13]]], [3, E.prototype.A.vw, null, 6511541677310752,
  15522. !1, [[3, 0]]], [-1, B.prototype.A.Fj, null, 8374177766772068, !1, [[11, "dead"], [7, [0, 1]]]], [3, E.prototype.A.We, null, 7090050700114217, !1, [[1, [2, "hit"]], [3, 1]]], [4, hc.prototype.A.CallFunction, null, 0xbfc7bbfb78335, !1, [[1, [2, "DeadStop"]], [13]]], [25, O.prototype.A.Hb, "Bullet", 4817886939810788, !1, [[3, 0]]], [30, ic.prototype.A.Play, null, 8999062285829107, !1, [[2, ["hit", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]], [4, hc.prototype.A.CallFunction, null, 7089832321667825, !1, [[1, [2, "restart"]], [13]]]]], [0, null, !1, null, 5230162425284142,
  15523. [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 5485151859317753, !1, [[4, 5]]]], [[4, hc.prototype.A.CallFunction, null, 9953376158199432, !1, [[1, [2, "fall"]], [13]]], [5, E.prototype.A.vw, null, 0xab140704353ff, !1, [[3, 0]]], [-1, B.prototype.A.Fj, null, 0xbf853a0f89cef, !1, [[11, "dead"], [7, [0, 1]]]], [5, E.prototype.A.We, null, 7554096174489345, !1, [[1, [2, "hit"]], [3, 1]]], [4, hc.prototype.A.CallFunction, null, 0x7df634c46ac21, !1, [[1, [2, "DeadStop"]], [13]]], [25, O.prototype.A.Hb, "Bullet", 964331881112562, !1, [[3, 0]]], [30, ic.prototype.A.Play,
  15524. null, 9095069783831112, !1, [[2, ["hit", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]], [4, hc.prototype.A.CallFunction, null, 0x6bc4bf61e5369, !1, [[1, [2, "restart"]], [13]]]]], [0, null, !1, null, 6303483692597952, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 4089378522034, !1, [[1, [2, "fall"]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 8009243293391557, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, of.prototype.A.Hb, "CustomMovement", 0xd266d0f9bcd94, !1, [[3, 0]]], [1, nf.prototype.A.Cj, "Sine", 5257167017386555, !1, [[3, 0]]], [1, E.prototype.A.We, null,
  15525. 9881535483995714, !1, [[1, [2, "fall"]], [3, 1]]], [1, lf.prototype.A.dB, "Physics", 7857373393567854, !1, [[0, [0, 75]]]], [1, lf.prototype.A.Hb, "Physics", 6868939284776065, !1, [[3, 1]]], [30, ic.prototype.A.Play, null, 7380671115935859, !1, [[2, ["06081 man falling 2", !1]], [3, 0], [0, [0, -4]], [1, [2, ""]]]]], [[0, null, !1, null, 0x5d11efad0825a, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 7252812268757857, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xb9f7e7aa4924e, !1, [[10, 0], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye,
  15526. null, 0xe5f93b41ba0c4, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 8288612305579348, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 370684675632431, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 4959105036075033, !1, [[10, 0], [8, 0], [7, [0, 1]]]]], [[1, E.prototype.A.ye, null, 5087276712190627, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 0x7267d7c70889d, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xdc1506378febd, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [1, E.prototype.B.vc,
  15527. null, 0, !1, !1, !1, 0xc6c6f180d348a, !1, [[10, 0], [8, 0], [7, [0, 1]]]]], [[1, E.prototype.A.ye, null, 8637376695264369, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 951085763276318, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 7138310760301018, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [1, E.prototype.B.vc, null, 0, !1, !1, !1, 6014801485220704, !1, [[10, 0], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 7263245444149026, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 83]]]]]]]]], [0, null, !1, null, 0xfa543d841c1e7, [[-1, B.prototype.B.xj,
  15528. null, 0, !1, !1, !1, 0xb5246fe2319a6, !1, [[0, [0, 5]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x79c0b5293b865, !1, [[11, "maxRand"], [8, 4], [7, [1, 0.5]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 9452381156099868, !1, [[11, "start"], [8, 0], [7, [0, 1]]]]], [[-1, B.prototype.A.lB, null, 590288265894931, !1, [[11, "maxRand"], [7, [1, 0.1]]]]]], [0, null, !1, null, 0xc6bed0fe0c84b, [[2, lc.prototype.B.Vk, null, 1, !1, !1, !1, 9518736506416072, !1, [[4, 23]]], [23, nf.prototype.B.rh, "Sine", 0, !1, !0, !1, 0x8f21f95e5bd74, !1]], [[23, nf.prototype.A.Cj, "Sine", 0xfcf9014b6288b,
  15529. !1, [[3, 1]]], [1, lf.prototype.A.Hb, "Physics", 9802154639874488, !1, [[3, 1]]], [-1, B.prototype.A.Yf, null, 5535564655769042, !1, [[0, [1, 0.2]]]], [30, ic.prototype.A.Play, null, 5044547556728377, !1, [[2, ["jump 1 (without delay)", !1]], [3, 0], [0, [0, -4]], [1, [2, ""]]]], [23, E.prototype.A.Ob, null, 8294543694004689, !1], [32, E.prototype.A.Xf, null, 39821092445822, !1, [[3, 0]]], [38, E.prototype.A.Xf, null, 6437378346380794, !1, [[3, 0]]]]], [0, null, !1, null, 707766807829824, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 8538837183769, !1, [[4, 21]]]],
  15530. [[21, E.prototype.A.Ob, null, 0xde3fc613e9fac, !1], [1, E.prototype.A.Cw, null, 6274171602477588, !1, [[0, [0, 300]]]], [-1, B.prototype.A.Fj, null, 0x8ec9fb3a00158, !1, [[11, "start"], [7, [0, 1]]]], [1, nf.prototype.A.Cj, "Sine", 4917820402164582, !1, [[3, 1]]], [20, O.prototype.A.Hb, "Bullet", 8223805893167955, !1, [[3, 1]]], [9, O.prototype.A.Hb, "Bullet", 8487001484357185, !1, [[3, 1]]], [10, O.prototype.A.Hb, "Bullet", 0xba548d302e4a, !1, [[3, 1]]], [19, O.prototype.A.Hb, "Bullet", 958628578227954, !1, [[3, 1]]], [24, kc.prototype.A.Xf, null, 445879452831737,
  15531. !1, [[3, 1]]], [25, O.prototype.A.Hb, "Bullet", 9034987130939788, !1, [[3, 1]]]]], [0, null, !1, null, 0x86611278a8dcd, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 0x84a4cf30fb020, !1, [[1, [2, "restart"]]]]], [[-1, B.prototype.A.Yf, null, 6062477857143397, !1, [[0, [0, 1]]]], [-1, B.prototype.A.Fj, null, 0x77b69f2bd6d7c, !1, [[11, "goup"], [7, [0, 1]]]]]], [0, null, !1, null, 7399649948176291, [[-1, B.prototype.B.xj, null, 0, !1, !1, !1, 9566133422779936, !1, [[0, [1, 0.5]]]]], [[24, kc.prototype.A.vm, null, 6548782550005704, !1, [[7, [19, B.prototype.W.floor, [[20,
  15532. 25, E.prototype.W.Hj, !1, null]]]]]]]], [0, null, !1, null, 9554411243648364, [[26, E.prototype.B.Ag, null, 0, !1, !1, !1, 8304574621936849, !1, [[8, 4], [0, [0, 765]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x3ec963b3e9b87, !1, [[11, "goup"], [8, 0], [7, [0, 1]]]]], [[29, nf.prototype.A.Cj, "Sine", 687041786131509, !1, [[3, 0]]], [26, E.prototype.A.Cw, null, 9200905964953080, !1, [[0, [5, [20, 26, E.prototype.W.Hj, !1, null], [0, 40]]]]], [26, E.prototype.A.jB, null, 4629710064100496, !1, [[3, 0]]], [-1, B.prototype.A.Yf, null, 0xd532cda2851b5, !1, [[0, [1, 0.8]]]],
  15533. [27, kc.prototype.A.vm, null, 7440239627645338, !1, [[7, [19, B.prototype.W.floor, [[20, 25, E.prototype.W.Hj, !1, null]]]]]], [27, kc.prototype.A.Xf, null, 0xaea38afb49f1d, !1, [[3, 1]]], [-1, B.prototype.A.Yf, null, 0x7726f6662d09d, !1, [[0, [1, 0.5]]]], [28, E.prototype.A.Xf, null, 0x6f7e6811942e6, !1, [[3, 1]]], [32, E.prototype.A.Xf, null, 0xd462dbae625fa, !1, [[3, 1]]], [29, kc.prototype.A.Xf, null, 0xaf3bcf6e86932, !1, [[3, 1]]], [4, hc.prototype.A.CallFunction, null, 0xa7b744ddc613c, !1, [[1, [2, "high"]], [13]]]]], [0, null, !1, null, 0xeddb8f1fb74d,
  15534. [[26, E.prototype.B.Ag, null, 0, !1, !1, !1, 9541111871052308, !1, [[8, 3], [0, [0, 765]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6703274743253635, !1, [[11, "shithelpSound"], [8, 0], [7, [0, 0]]]]], [[-1, B.prototype.A.Fj, null, 0xd06df87526b8f, !1, [[11, "shithelpSound"], [7, [0, 2]]]], [30, ic.prototype.A.Play, null, 531824774792358, !1, [[2, ["ground_impact", !1]], [3, 0], [0, [0, 0]], [1, [2, ""]]]]]], [0, null, !1, null, 0x97fe214eed9d7, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 0x4b3e9c93b4868, !1]], [[27, mf.prototype.A.Oo, "Pin", 7134198236264368, !1,
  15535. [[4, 26], [3, 0]]], [29, mf.prototype.A.Oo, "Pin", 5144958385299196, !1, [[4, 26], [3, 0]]], [28, mf.prototype.A.Oo, "Pin", 0x67b56fb0e9630, !1, [[4, 26], [3, 0]]], [26, E.prototype.A.kB, null, 929625524212173, !1]], [[0, null, !1, null, 9054006132745048, [[30, ic.prototype.B.Rr, null, 0, !1, !0, !1, 580187881341208, !1, [[1, [2, "bg"]]]]], [[30, ic.prototype.A.Play, null, 6400963462764941, !1, [[2, ["bg", !1]], [3, 1], [0, [0, 0]], [1, [2, "bg"]]]]]]]], [0, null, !1, null, 4657312891252641, [[2, lc.prototype.B.Vk, null, 1, !1, !1, !1, 0xd448ba1dfcf4b, !1, [[4, 28]]], [28,
  15536. E.prototype.B.Tr, null, 0, !1, !1, !1, 0xe4de189f2cc1e, !1]], [[-1, B.prototype.A.ow, null, 0xc1a1b76688bc1, !1], [-1, B.prototype.A.qw, null, 0xb5011765207f7, !1]]], [0, null, !1, null, 473752596529589, [[2, lc.prototype.B.Vk, null, 1, !1, !1, !1, 5825377871091216, !1, [[4, 28]]], [28, E.prototype.B.Tr, null, 0, !1, !1, !1, 6680450547392815, !1]], [[-1, B.prototype.A.ow, null, 0x9d7bb840d15be, !1], [-1, B.prototype.A.qw, null, 5714378884295013, !1]]], [0, null, !1, null, 596113355982642, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 398301796617816, !1], [31, mc.prototype.B.Mo,
  15537. null, 0, !1, !0, !1, 8034969771448474, !1, [[1, [2, "scoreeeee"]]]]], [[31, mc.prototype.A.ym, null, 0xf1a408f375e10, !1, [[1, [2, "scoreeeee"]], [7, [0, 0]]]], [-1, B.prototype.A.Yf, null, 8466689300912668, !1, [[0, [0, 1]]]], [29, kc.prototype.A.vm, null, 6961854266866446, !1, [[7, [10, [2, "Best:"], [20, 31, mc.prototype.W.Ur, !0, null, [[2, "scoreeeee"]]]]]]]]], [0, null, !1, null, 8426657176542642, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 796314570162965, !1], [31, mc.prototype.B.Mo, null, 0, !1, !1, !1, 0xf69abae159132, !1, [[1, [2, "scoreeeee"]]]]], [[-1,
  15538. B.prototype.A.Yf, null, 7085404289917246, !1, [[0, [1, 0.5]]]], [29, kc.prototype.A.vm, null, 0x78e48bda99776, !1, [[7, [10, [2, "Best:"], [20, 31, mc.prototype.W.Ur, !0, null, [[2, "scoreeeee"]]]]]]], [-1, B.prototype.A.Yf, null, 862896211217926, !1, [[0, [0, 1]]]], [-1, B.prototype.A.Fj, null, 0x4477fe3bd9c48, !1, [[11, "tempWeb"], [7, [19, B.prototype.W["int"], [[20, 31, mc.prototype.W.Ur, !0, null, [[2, "scoreeeee"]]]]]]]]]], [0, null, !1, null, 0x633dacf396323, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 0xf2b3027119058, !1], [31, mc.prototype.B.Mo, null,
  15539. 0, !1, !0, !1, 0x538d20c1f5f6f, !1, [[1, [2, "s"]]]]], [[31, mc.prototype.A.ym, null, 0x889f042268f50, !1, [[1, [2, "s"]], [7, [0, 1]]]]]], [0, null, !1, null, 0x98b3c4ecc0616, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 346747242580487, !1], [31, mc.prototype.B.Mo, null, 0, !1, !1, !1, 0xf248237577663, !1, [[1, [2, "s"]]]]], [], [[0, null, !1, null, 8961703883035586, [[31, mc.prototype.B.xo, null, 0, !1, !1, !1, 861506800203318, !1, [[1, [2, "s"]], [8, 0], [0, [0, 1]]]]], [[32, E.prototype.A.Ro, null, 0xd23b8e05fd67b, !1, [[0, [0, 100]]]], [30, ic.prototype.A.Qo, null, 8323265123070606,
  15540. !1, [[0, [0, 0]]]]]], [0, null, !1, null, 0x5a949ac0caf31, [[31, mc.prototype.B.xo, null, 0, !1, !1, !1, 5067380813312126, !1, [[1, [2, "s"]], [8, 0], [0, [0, 0]]]]], [[32, E.prototype.A.Ro, null, 6441910256859474, !1, [[0, [0, 50]]]], [30, ic.prototype.A.Qo, null, 0xb5efcfd871015, !1, [[0, [0, -100]]]]]]]], [0, null, !1, null, 9623494092576760, [[2, lc.prototype.B.Vk, null, 1, !1, !1, !1, 0xc04813cb2b73a, !1, [[4, 32]]], [32, E.prototype.B.Tr, null, 0, !1, !1, !1, 9739678185560400, !1]], [[4, hc.prototype.A.CallFunction, null, 5261035128552603, !1, [[1, [2, "snd"]], [13]]]]],
  15541. [0, null, !1, null, 0xd5abaa4d9df53, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 5397237946140847, !1, [[1, [2, "snd"]]]]], [], [[0, null, !1, null, 0xc15bc99bcf8d1, [[31, mc.prototype.B.xo, null, 0, !1, !1, !1, 0x5e43cc41c398a, !1, [[1, [2, "s"]], [8, 0], [0, [0, 0]]]]], [[32, E.prototype.A.Ro, null, 0x7189a6b7a15e5, !1, [[0, [0, 100]]]], [30, ic.prototype.A.Qo, null, 0x9ef009a693c34, !1, [[0, [0, 0]]]], [-1, B.prototype.A.Yf, null, 0x69865d9c2fbf2, !1, [[0, [1, 0.1]]]], [31, mc.prototype.A.ym, null, 0x9765b3caa4c85, !1, [[1, [2, "s"]], [7, [0, 1]]]]]], [0, null, !1, null,
  15542. 0x5bdb3547bba23, [[31, mc.prototype.B.xo, null, 0, !1, !1, !1, 8205539205541111, !1, [[1, [2, "s"]], [8, 0], [0, [0, 1]]]]], [[32, E.prototype.A.Ro, null, 0xf65b7da9fbab3, !1, [[0, [0, 50]]]], [30, ic.prototype.A.Qo, null, 70604570371812, !1, [[0, [0, -100]]]], [-1, B.prototype.A.Yf, null, 8834886299054187, !1, [[0, [1, 0.1]]]], [31, mc.prototype.A.ym, null, 9718053134484448, !1, [[1, [2, "s"]], [7, [0, 0]]]]]]]], [0, null, !1, null, 7237295496545951, [[4, hc.prototype.B.le, null, 2, !1, !1, !1, 8693690731786754, !1, [[1, [2, "high"]]]], [-1, B.prototype.B.Xa, null, 0,
  15543. !1, !1, !1, 0x3f9b031d83589, !1, [[11, "tempWeb"], [8, 2], [7, [19, B.prototype.W.floor, [[20, 25, E.prototype.W.Hj, !1, null]]]]]]], [[31, mc.prototype.A.ym, null, 0x7fa76dc713edd, !1, [[1, [2, "scoreeeee"]], [7, [19, B.prototype.W["int"], [[19, B.prototype.W.floor, [[20, 25, E.prototype.W.Hj, !1, null]]]]]]]], [29, kc.prototype.A.vm, null, 0xa938d6ec759ab, !1, [[7, [10, [2, "Best:"], [19, B.prototype.W.floor, [[20, 25, E.prototype.W.Hj, !1, null]]]]]]], [29, nf.prototype.A.Cj, "Sine", 5293235861974524, !1, [[3, 1]]]]], [0, null, !1, null, 9228901468527864,
  15544. [[34, jc.prototype.B.Jo, null, 0, !1, !1, !1, 0x408cd212600b5, !1, [[3, 0]]]], [[33, E.prototype.A.Xf, null, 0xbda3056e8c563, !1, [[3, 0]]]]], [0, null, !1, null, 0x7f639ed6a4c11, [[34, jc.prototype.B.Jo, null, 0, !1, !1, !1, 0x9f136ff0b3f1f, !1, [[3, 1]]]], [[33, E.prototype.A.Xf, null, 9293367551294780, !1, [[3, 1]]]]], [0, null, !1, null, 7038439907028015, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 6340353234339859, !1, [[4, 36]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 726520729229994, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.tf, null, 0x6433134c5dd57,
  15545. !1, [[10, 0], [7, [0, 0]]]], [1, E.prototype.A.tf, null, 5685575543631772, !1, [[10, 1], [7, [3, [21, 1, !1, null, 1]]]]], [1, of.prototype.A.xm, "CustomMovement", 7134946757122772, !1], [1, of.prototype.A.um, "CustomMovement", 675993151394441, !1, [[3, 0], [0, [0, 0]]]], [1, E.prototype.A.We, null, 8505383736817099, !1, [[1, [2, "Default"]], [3, 1]]], [30, ic.prototype.A.Play, null, 9595530380208294, !1, [[2, ["jump 1 (without delay)", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]]], [[0, null, !1, null, 0x3fad4d536474c, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x84af44c24a48f,
  15546. !1, [[10, 1], [8, 0], [7, [0, -1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 7448335270398181, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 0xed852ed0f2def, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 5504650283389861, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0x977f68cf4901e, !1, [[10, 1], [8, 0], [7, [0, 1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x55070621b7a6d, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 7518594994784657, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null],
  15547. [0, 83]]]]]]]]], [0, null, !1, null, 5581247936949372, [[1, E.prototype.B.uh, null, 0, !1, !1, !0, 0xe53186d6b1229, !1, [[4, 37]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 5671274509889524, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.tf, null, 6066129232412151, !1, [[10, 0], [7, [0, 0]]]], [1, E.prototype.A.We, null, 0xefc7cf0b4a259, !1, [[1, [2, "Default"]], [3, 1]]], [1, of.prototype.A.xm, "CustomMovement", 5544756753339266, !1], [1, E.prototype.A.tf, null, 0xac71fb1081722, !1, [[10, 1], [7, [3, [21, 1, !1, null, 1]]]]], [30, ic.prototype.A.Play,
  15548. null, 9959752613978456, !1, [[2, ["jump 1 (without delay)", !1]], [3, 0], [0, [0, -4]], [1, [2, "hit"]]]]], [[0, null, !1, null, 7335489161536452, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xd4932731fee6f, !1, [[10, 1], [8, 0], [7, [0, -1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 0x5d6d7689d2b15, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 7826338786203793, !1, [[0, [4, [20, 0, E.prototype.W.Hc, !1, null], [0, 83]]]]]]], [0, null, !1, null, 5185900514363215, [[1, E.prototype.B.vc, null, 0, !1, !1, !1, 0xc78e489b2b119, !1, [[10, 1], [8, 0], [7,
  15549. [0, 1]]]], [-1, B.prototype.B.Xa, null, 0, !1, !1, !1, 6044368804895391, !1, [[11, "dead"], [8, 0], [7, [0, 0]]]]], [[1, E.prototype.A.ye, null, 0xa01f8e417a921, !1, [[0, [5, [20, 12, E.prototype.W.Hc, !1, null], [0, 83]]]]]]]]]]], ["Event sheet 2", [[0, null, !1, null, 0x85229e99e4378, [[-1, B.prototype.B.ti, null, 1, !1, !1, !1, 899031390784224, !1]], [[-1, B.prototype.A.Yf, null, 8990458061246755, !1, [[0, [1, 1.5]]]], [-1, B.prototype.A.DA, null, 9326986554165366, !1, [[6, "Layout 1"]]]]], [0, null, !1, null, 5643054066022189, [[34, jc.prototype.B.Jo, null, 0, !1,
  15550. !1, !1, 0x450118ac7196e, !1, [[3, 0]]]], [[33, E.prototype.A.Xf, null, 362834159036202, !1, [[3, 0]]]]], [0, null, !1, null, 8549608751165746, [[34, jc.prototype.B.Jo, null, 0, !1, !1, !1, 9778851920387996, !1, [[3, 1]]]], [[33, E.prototype.A.Xf, null, 995935992053489, !1, [[3, 1]]]]]]]], "media/", !0, 720, 1280, 3, !0, !0, !1, "1.0.0.0", !0, !1, 1, 1, 37, !0, !1, 1, []]
  15551. };