polyfill.js 234 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203
  1. (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){
  2. _dereq_(276);
  3. _dereq_(212);
  4. _dereq_(214);
  5. _dereq_(213);
  6. _dereq_(216);
  7. _dereq_(218);
  8. _dereq_(223);
  9. _dereq_(217);
  10. _dereq_(215);
  11. _dereq_(225);
  12. _dereq_(224);
  13. _dereq_(220);
  14. _dereq_(221);
  15. _dereq_(219);
  16. _dereq_(211);
  17. _dereq_(222);
  18. _dereq_(226);
  19. _dereq_(227);
  20. _dereq_(178);
  21. _dereq_(180);
  22. _dereq_(179);
  23. _dereq_(229);
  24. _dereq_(228);
  25. _dereq_(199);
  26. _dereq_(209);
  27. _dereq_(210);
  28. _dereq_(200);
  29. _dereq_(201);
  30. _dereq_(202);
  31. _dereq_(203);
  32. _dereq_(204);
  33. _dereq_(205);
  34. _dereq_(206);
  35. _dereq_(207);
  36. _dereq_(208);
  37. _dereq_(182);
  38. _dereq_(183);
  39. _dereq_(184);
  40. _dereq_(185);
  41. _dereq_(186);
  42. _dereq_(187);
  43. _dereq_(188);
  44. _dereq_(189);
  45. _dereq_(190);
  46. _dereq_(191);
  47. _dereq_(192);
  48. _dereq_(193);
  49. _dereq_(194);
  50. _dereq_(195);
  51. _dereq_(196);
  52. _dereq_(197);
  53. _dereq_(198);
  54. _dereq_(263);
  55. _dereq_(268);
  56. _dereq_(275);
  57. _dereq_(266);
  58. _dereq_(258);
  59. _dereq_(259);
  60. _dereq_(264);
  61. _dereq_(269);
  62. _dereq_(271);
  63. _dereq_(254);
  64. _dereq_(255);
  65. _dereq_(256);
  66. _dereq_(257);
  67. _dereq_(260);
  68. _dereq_(261);
  69. _dereq_(262);
  70. _dereq_(265);
  71. _dereq_(267);
  72. _dereq_(270);
  73. _dereq_(272);
  74. _dereq_(273);
  75. _dereq_(274);
  76. _dereq_(173);
  77. _dereq_(175);
  78. _dereq_(174);
  79. _dereq_(177);
  80. _dereq_(176);
  81. _dereq_(161);
  82. _dereq_(159);
  83. _dereq_(166);
  84. _dereq_(163);
  85. _dereq_(169);
  86. _dereq_(171);
  87. _dereq_(158);
  88. _dereq_(165);
  89. _dereq_(155);
  90. _dereq_(170);
  91. _dereq_(153);
  92. _dereq_(168);
  93. _dereq_(167);
  94. _dereq_(160);
  95. _dereq_(164);
  96. _dereq_(152);
  97. _dereq_(154);
  98. _dereq_(157);
  99. _dereq_(156);
  100. _dereq_(172);
  101. _dereq_(162);
  102. _dereq_(245);
  103. _dereq_(246);
  104. _dereq_(252);
  105. _dereq_(247);
  106. _dereq_(248);
  107. _dereq_(249);
  108. _dereq_(250);
  109. _dereq_(251);
  110. _dereq_(230);
  111. _dereq_(181);
  112. _dereq_(253);
  113. _dereq_(288);
  114. _dereq_(289);
  115. _dereq_(277);
  116. _dereq_(278);
  117. _dereq_(283);
  118. _dereq_(286);
  119. _dereq_(287);
  120. _dereq_(281);
  121. _dereq_(284);
  122. _dereq_(282);
  123. _dereq_(285);
  124. _dereq_(279);
  125. _dereq_(280);
  126. _dereq_(231);
  127. _dereq_(232);
  128. _dereq_(233);
  129. _dereq_(234);
  130. _dereq_(235);
  131. _dereq_(238);
  132. _dereq_(236);
  133. _dereq_(237);
  134. _dereq_(239);
  135. _dereq_(240);
  136. _dereq_(241);
  137. _dereq_(242);
  138. _dereq_(244);
  139. _dereq_(243);
  140. module.exports = _dereq_(50);
  141. },{"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"188":188,"189":189,"190":190,"191":191,"192":192,"193":193,"194":194,"195":195,"196":196,"197":197,"198":198,"199":199,"200":200,"201":201,"202":202,"203":203,"204":204,"205":205,"206":206,"207":207,"208":208,"209":209,"210":210,"211":211,"212":212,"213":213,"214":214,"215":215,"216":216,"217":217,"218":218,"219":219,"220":220,"221":221,"222":222,"223":223,"224":224,"225":225,"226":226,"227":227,"228":228,"229":229,"230":230,"231":231,"232":232,"233":233,"234":234,"235":235,"236":236,"237":237,"238":238,"239":239,"240":240,"241":241,"242":242,"243":243,"244":244,"245":245,"246":246,"247":247,"248":248,"249":249,"250":250,"251":251,"252":252,"253":253,"254":254,"255":255,"256":256,"257":257,"258":258,"259":259,"260":260,"261":261,"262":262,"263":263,"264":264,"265":265,"266":266,"267":267,"268":268,"269":269,"270":270,"271":271,"272":272,"273":273,"274":274,"275":275,"276":276,"277":277,"278":278,"279":279,"280":280,"281":281,"282":282,"283":283,"284":284,"285":285,"286":286,"287":287,"288":288,"289":289,"50":50}],2:[function(_dereq_,module,exports){
  142. _dereq_(290);
  143. module.exports = _dereq_(50).Array.flatMap;
  144. },{"290":290,"50":50}],3:[function(_dereq_,module,exports){
  145. _dereq_(291);
  146. module.exports = _dereq_(50).Array.includes;
  147. },{"291":291,"50":50}],4:[function(_dereq_,module,exports){
  148. _dereq_(292);
  149. module.exports = _dereq_(50).Object.entries;
  150. },{"292":292,"50":50}],5:[function(_dereq_,module,exports){
  151. _dereq_(293);
  152. module.exports = _dereq_(50).Object.getOwnPropertyDescriptors;
  153. },{"293":293,"50":50}],6:[function(_dereq_,module,exports){
  154. _dereq_(294);
  155. module.exports = _dereq_(50).Object.values;
  156. },{"294":294,"50":50}],7:[function(_dereq_,module,exports){
  157. 'use strict';
  158. _dereq_(230);
  159. _dereq_(295);
  160. module.exports = _dereq_(50).Promise['finally'];
  161. },{"230":230,"295":295,"50":50}],8:[function(_dereq_,module,exports){
  162. _dereq_(296);
  163. module.exports = _dereq_(50).String.padEnd;
  164. },{"296":296,"50":50}],9:[function(_dereq_,module,exports){
  165. _dereq_(297);
  166. module.exports = _dereq_(50).String.padStart;
  167. },{"297":297,"50":50}],10:[function(_dereq_,module,exports){
  168. _dereq_(299);
  169. module.exports = _dereq_(50).String.trimRight;
  170. },{"299":299,"50":50}],11:[function(_dereq_,module,exports){
  171. _dereq_(298);
  172. module.exports = _dereq_(50).String.trimLeft;
  173. },{"298":298,"50":50}],12:[function(_dereq_,module,exports){
  174. _dereq_(300);
  175. module.exports = _dereq_(149).f('asyncIterator');
  176. },{"149":149,"300":300}],13:[function(_dereq_,module,exports){
  177. _dereq_(30);
  178. module.exports = _dereq_(16).global;
  179. },{"16":16,"30":30}],14:[function(_dereq_,module,exports){
  180. module.exports = function (it) {
  181. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  182. return it;
  183. };
  184. },{}],15:[function(_dereq_,module,exports){
  185. var isObject = _dereq_(26);
  186. module.exports = function (it) {
  187. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  188. return it;
  189. };
  190. },{"26":26}],16:[function(_dereq_,module,exports){
  191. var core = module.exports = { version: '2.6.11' };
  192. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  193. },{}],17:[function(_dereq_,module,exports){
  194. // optional / simple context binding
  195. var aFunction = _dereq_(14);
  196. module.exports = function (fn, that, length) {
  197. aFunction(fn);
  198. if (that === undefined) return fn;
  199. switch (length) {
  200. case 1: return function (a) {
  201. return fn.call(that, a);
  202. };
  203. case 2: return function (a, b) {
  204. return fn.call(that, a, b);
  205. };
  206. case 3: return function (a, b, c) {
  207. return fn.call(that, a, b, c);
  208. };
  209. }
  210. return function (/* ...args */) {
  211. return fn.apply(that, arguments);
  212. };
  213. };
  214. },{"14":14}],18:[function(_dereq_,module,exports){
  215. // Thank's IE8 for his funny defineProperty
  216. module.exports = !_dereq_(21)(function () {
  217. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  218. });
  219. },{"21":21}],19:[function(_dereq_,module,exports){
  220. var isObject = _dereq_(26);
  221. var document = _dereq_(22).document;
  222. // typeof document.createElement is 'object' in old IE
  223. var is = isObject(document) && isObject(document.createElement);
  224. module.exports = function (it) {
  225. return is ? document.createElement(it) : {};
  226. };
  227. },{"22":22,"26":26}],20:[function(_dereq_,module,exports){
  228. var global = _dereq_(22);
  229. var core = _dereq_(16);
  230. var ctx = _dereq_(17);
  231. var hide = _dereq_(24);
  232. var has = _dereq_(23);
  233. var PROTOTYPE = 'prototype';
  234. var $export = function (type, name, source) {
  235. var IS_FORCED = type & $export.F;
  236. var IS_GLOBAL = type & $export.G;
  237. var IS_STATIC = type & $export.S;
  238. var IS_PROTO = type & $export.P;
  239. var IS_BIND = type & $export.B;
  240. var IS_WRAP = type & $export.W;
  241. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  242. var expProto = exports[PROTOTYPE];
  243. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
  244. var key, own, out;
  245. if (IS_GLOBAL) source = name;
  246. for (key in source) {
  247. // contains in native
  248. own = !IS_FORCED && target && target[key] !== undefined;
  249. if (own && has(exports, key)) continue;
  250. // export native or passed
  251. out = own ? target[key] : source[key];
  252. // prevent global pollution for namespaces
  253. exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
  254. // bind timers to global for call from export context
  255. : IS_BIND && own ? ctx(out, global)
  256. // wrap global constructors for prevent change them in library
  257. : IS_WRAP && target[key] == out ? (function (C) {
  258. var F = function (a, b, c) {
  259. if (this instanceof C) {
  260. switch (arguments.length) {
  261. case 0: return new C();
  262. case 1: return new C(a);
  263. case 2: return new C(a, b);
  264. } return new C(a, b, c);
  265. } return C.apply(this, arguments);
  266. };
  267. F[PROTOTYPE] = C[PROTOTYPE];
  268. return F;
  269. // make static versions for prototype methods
  270. })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  271. // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
  272. if (IS_PROTO) {
  273. (exports.virtual || (exports.virtual = {}))[key] = out;
  274. // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
  275. if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
  276. }
  277. }
  278. };
  279. // type bitmap
  280. $export.F = 1; // forced
  281. $export.G = 2; // global
  282. $export.S = 4; // static
  283. $export.P = 8; // proto
  284. $export.B = 16; // bind
  285. $export.W = 32; // wrap
  286. $export.U = 64; // safe
  287. $export.R = 128; // real proto method for `library`
  288. module.exports = $export;
  289. },{"16":16,"17":17,"22":22,"23":23,"24":24}],21:[function(_dereq_,module,exports){
  290. module.exports = function (exec) {
  291. try {
  292. return !!exec();
  293. } catch (e) {
  294. return true;
  295. }
  296. };
  297. },{}],22:[function(_dereq_,module,exports){
  298. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  299. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  300. ? window : typeof self != 'undefined' && self.Math == Math ? self
  301. // eslint-disable-next-line no-new-func
  302. : Function('return this')();
  303. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  304. },{}],23:[function(_dereq_,module,exports){
  305. var hasOwnProperty = {}.hasOwnProperty;
  306. module.exports = function (it, key) {
  307. return hasOwnProperty.call(it, key);
  308. };
  309. },{}],24:[function(_dereq_,module,exports){
  310. var dP = _dereq_(27);
  311. var createDesc = _dereq_(28);
  312. module.exports = _dereq_(18) ? function (object, key, value) {
  313. return dP.f(object, key, createDesc(1, value));
  314. } : function (object, key, value) {
  315. object[key] = value;
  316. return object;
  317. };
  318. },{"18":18,"27":27,"28":28}],25:[function(_dereq_,module,exports){
  319. module.exports = !_dereq_(18) && !_dereq_(21)(function () {
  320. return Object.defineProperty(_dereq_(19)('div'), 'a', { get: function () { return 7; } }).a != 7;
  321. });
  322. },{"18":18,"19":19,"21":21}],26:[function(_dereq_,module,exports){
  323. module.exports = function (it) {
  324. return typeof it === 'object' ? it !== null : typeof it === 'function';
  325. };
  326. },{}],27:[function(_dereq_,module,exports){
  327. var anObject = _dereq_(15);
  328. var IE8_DOM_DEFINE = _dereq_(25);
  329. var toPrimitive = _dereq_(29);
  330. var dP = Object.defineProperty;
  331. exports.f = _dereq_(18) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  332. anObject(O);
  333. P = toPrimitive(P, true);
  334. anObject(Attributes);
  335. if (IE8_DOM_DEFINE) try {
  336. return dP(O, P, Attributes);
  337. } catch (e) { /* empty */ }
  338. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  339. if ('value' in Attributes) O[P] = Attributes.value;
  340. return O;
  341. };
  342. },{"15":15,"18":18,"25":25,"29":29}],28:[function(_dereq_,module,exports){
  343. module.exports = function (bitmap, value) {
  344. return {
  345. enumerable: !(bitmap & 1),
  346. configurable: !(bitmap & 2),
  347. writable: !(bitmap & 4),
  348. value: value
  349. };
  350. };
  351. },{}],29:[function(_dereq_,module,exports){
  352. // 7.1.1 ToPrimitive(input [, PreferredType])
  353. var isObject = _dereq_(26);
  354. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  355. // and the second argument - flag - preferred type is a string
  356. module.exports = function (it, S) {
  357. if (!isObject(it)) return it;
  358. var fn, val;
  359. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  360. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  361. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  362. throw TypeError("Can't convert object to primitive value");
  363. };
  364. },{"26":26}],30:[function(_dereq_,module,exports){
  365. // https://github.com/tc39/proposal-global
  366. var $export = _dereq_(20);
  367. $export($export.G, { global: _dereq_(22) });
  368. },{"20":20,"22":22}],31:[function(_dereq_,module,exports){
  369. arguments[4][14][0].apply(exports,arguments)
  370. },{"14":14}],32:[function(_dereq_,module,exports){
  371. var cof = _dereq_(46);
  372. module.exports = function (it, msg) {
  373. if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);
  374. return +it;
  375. };
  376. },{"46":46}],33:[function(_dereq_,module,exports){
  377. // 22.1.3.31 Array.prototype[@@unscopables]
  378. var UNSCOPABLES = _dereq_(150)('unscopables');
  379. var ArrayProto = Array.prototype;
  380. if (ArrayProto[UNSCOPABLES] == undefined) _dereq_(70)(ArrayProto, UNSCOPABLES, {});
  381. module.exports = function (key) {
  382. ArrayProto[UNSCOPABLES][key] = true;
  383. };
  384. },{"150":150,"70":70}],34:[function(_dereq_,module,exports){
  385. 'use strict';
  386. var at = _dereq_(127)(true);
  387. // `AdvanceStringIndex` abstract operation
  388. // https://tc39.github.io/ecma262/#sec-advancestringindex
  389. module.exports = function (S, index, unicode) {
  390. return index + (unicode ? at(S, index).length : 1);
  391. };
  392. },{"127":127}],35:[function(_dereq_,module,exports){
  393. module.exports = function (it, Constructor, name, forbiddenField) {
  394. if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
  395. throw TypeError(name + ': incorrect invocation!');
  396. } return it;
  397. };
  398. },{}],36:[function(_dereq_,module,exports){
  399. arguments[4][15][0].apply(exports,arguments)
  400. },{"15":15,"79":79}],37:[function(_dereq_,module,exports){
  401. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  402. 'use strict';
  403. var toObject = _dereq_(140);
  404. var toAbsoluteIndex = _dereq_(135);
  405. var toLength = _dereq_(139);
  406. module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
  407. var O = toObject(this);
  408. var len = toLength(O.length);
  409. var to = toAbsoluteIndex(target, len);
  410. var from = toAbsoluteIndex(start, len);
  411. var end = arguments.length > 2 ? arguments[2] : undefined;
  412. var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
  413. var inc = 1;
  414. if (from < to && to < from + count) {
  415. inc = -1;
  416. from += count - 1;
  417. to += count - 1;
  418. }
  419. while (count-- > 0) {
  420. if (from in O) O[to] = O[from];
  421. else delete O[to];
  422. to += inc;
  423. from += inc;
  424. } return O;
  425. };
  426. },{"135":135,"139":139,"140":140}],38:[function(_dereq_,module,exports){
  427. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  428. 'use strict';
  429. var toObject = _dereq_(140);
  430. var toAbsoluteIndex = _dereq_(135);
  431. var toLength = _dereq_(139);
  432. module.exports = function fill(value /* , start = 0, end = @length */) {
  433. var O = toObject(this);
  434. var length = toLength(O.length);
  435. var aLen = arguments.length;
  436. var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);
  437. var end = aLen > 2 ? arguments[2] : undefined;
  438. var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
  439. while (endPos > index) O[index++] = value;
  440. return O;
  441. };
  442. },{"135":135,"139":139,"140":140}],39:[function(_dereq_,module,exports){
  443. // false -> Array#indexOf
  444. // true -> Array#includes
  445. var toIObject = _dereq_(138);
  446. var toLength = _dereq_(139);
  447. var toAbsoluteIndex = _dereq_(135);
  448. module.exports = function (IS_INCLUDES) {
  449. return function ($this, el, fromIndex) {
  450. var O = toIObject($this);
  451. var length = toLength(O.length);
  452. var index = toAbsoluteIndex(fromIndex, length);
  453. var value;
  454. // Array#includes uses SameValueZero equality algorithm
  455. // eslint-disable-next-line no-self-compare
  456. if (IS_INCLUDES && el != el) while (length > index) {
  457. value = O[index++];
  458. // eslint-disable-next-line no-self-compare
  459. if (value != value) return true;
  460. // Array#indexOf ignores holes, Array#includes - not
  461. } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
  462. if (O[index] === el) return IS_INCLUDES || index || 0;
  463. } return !IS_INCLUDES && -1;
  464. };
  465. };
  466. },{"135":135,"138":138,"139":139}],40:[function(_dereq_,module,exports){
  467. // 0 -> Array#forEach
  468. // 1 -> Array#map
  469. // 2 -> Array#filter
  470. // 3 -> Array#some
  471. // 4 -> Array#every
  472. // 5 -> Array#find
  473. // 6 -> Array#findIndex
  474. var ctx = _dereq_(52);
  475. var IObject = _dereq_(75);
  476. var toObject = _dereq_(140);
  477. var toLength = _dereq_(139);
  478. var asc = _dereq_(43);
  479. module.exports = function (TYPE, $create) {
  480. var IS_MAP = TYPE == 1;
  481. var IS_FILTER = TYPE == 2;
  482. var IS_SOME = TYPE == 3;
  483. var IS_EVERY = TYPE == 4;
  484. var IS_FIND_INDEX = TYPE == 6;
  485. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  486. var create = $create || asc;
  487. return function ($this, callbackfn, that) {
  488. var O = toObject($this);
  489. var self = IObject(O);
  490. var f = ctx(callbackfn, that, 3);
  491. var length = toLength(self.length);
  492. var index = 0;
  493. var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  494. var val, res;
  495. for (;length > index; index++) if (NO_HOLES || index in self) {
  496. val = self[index];
  497. res = f(val, index, O);
  498. if (TYPE) {
  499. if (IS_MAP) result[index] = res; // map
  500. else if (res) switch (TYPE) {
  501. case 3: return true; // some
  502. case 5: return val; // find
  503. case 6: return index; // findIndex
  504. case 2: result.push(val); // filter
  505. } else if (IS_EVERY) return false; // every
  506. }
  507. }
  508. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
  509. };
  510. };
  511. },{"139":139,"140":140,"43":43,"52":52,"75":75}],41:[function(_dereq_,module,exports){
  512. var aFunction = _dereq_(31);
  513. var toObject = _dereq_(140);
  514. var IObject = _dereq_(75);
  515. var toLength = _dereq_(139);
  516. module.exports = function (that, callbackfn, aLen, memo, isRight) {
  517. aFunction(callbackfn);
  518. var O = toObject(that);
  519. var self = IObject(O);
  520. var length = toLength(O.length);
  521. var index = isRight ? length - 1 : 0;
  522. var i = isRight ? -1 : 1;
  523. if (aLen < 2) for (;;) {
  524. if (index in self) {
  525. memo = self[index];
  526. index += i;
  527. break;
  528. }
  529. index += i;
  530. if (isRight ? index < 0 : length <= index) {
  531. throw TypeError('Reduce of empty array with no initial value');
  532. }
  533. }
  534. for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {
  535. memo = callbackfn(memo, self[index], index, O);
  536. }
  537. return memo;
  538. };
  539. },{"139":139,"140":140,"31":31,"75":75}],42:[function(_dereq_,module,exports){
  540. var isObject = _dereq_(79);
  541. var isArray = _dereq_(77);
  542. var SPECIES = _dereq_(150)('species');
  543. module.exports = function (original) {
  544. var C;
  545. if (isArray(original)) {
  546. C = original.constructor;
  547. // cross-realm fallback
  548. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  549. if (isObject(C)) {
  550. C = C[SPECIES];
  551. if (C === null) C = undefined;
  552. }
  553. } return C === undefined ? Array : C;
  554. };
  555. },{"150":150,"77":77,"79":79}],43:[function(_dereq_,module,exports){
  556. // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
  557. var speciesConstructor = _dereq_(42);
  558. module.exports = function (original, length) {
  559. return new (speciesConstructor(original))(length);
  560. };
  561. },{"42":42}],44:[function(_dereq_,module,exports){
  562. 'use strict';
  563. var aFunction = _dereq_(31);
  564. var isObject = _dereq_(79);
  565. var invoke = _dereq_(74);
  566. var arraySlice = [].slice;
  567. var factories = {};
  568. var construct = function (F, len, args) {
  569. if (!(len in factories)) {
  570. for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
  571. // eslint-disable-next-line no-new-func
  572. factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
  573. } return factories[len](F, args);
  574. };
  575. module.exports = Function.bind || function bind(that /* , ...args */) {
  576. var fn = aFunction(this);
  577. var partArgs = arraySlice.call(arguments, 1);
  578. var bound = function (/* args... */) {
  579. var args = partArgs.concat(arraySlice.call(arguments));
  580. return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
  581. };
  582. if (isObject(fn.prototype)) bound.prototype = fn.prototype;
  583. return bound;
  584. };
  585. },{"31":31,"74":74,"79":79}],45:[function(_dereq_,module,exports){
  586. // getting tag from 19.1.3.6 Object.prototype.toString()
  587. var cof = _dereq_(46);
  588. var TAG = _dereq_(150)('toStringTag');
  589. // ES3 wrong here
  590. var ARG = cof(function () { return arguments; }()) == 'Arguments';
  591. // fallback for IE11 Script Access Denied error
  592. var tryGet = function (it, key) {
  593. try {
  594. return it[key];
  595. } catch (e) { /* empty */ }
  596. };
  597. module.exports = function (it) {
  598. var O, T, B;
  599. return it === undefined ? 'Undefined' : it === null ? 'Null'
  600. // @@toStringTag case
  601. : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
  602. // builtinTag case
  603. : ARG ? cof(O)
  604. // ES3 arguments fallback
  605. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  606. };
  607. },{"150":150,"46":46}],46:[function(_dereq_,module,exports){
  608. var toString = {}.toString;
  609. module.exports = function (it) {
  610. return toString.call(it).slice(8, -1);
  611. };
  612. },{}],47:[function(_dereq_,module,exports){
  613. 'use strict';
  614. var dP = _dereq_(97).f;
  615. var create = _dereq_(96);
  616. var redefineAll = _dereq_(115);
  617. var ctx = _dereq_(52);
  618. var anInstance = _dereq_(35);
  619. var forOf = _dereq_(66);
  620. var $iterDefine = _dereq_(83);
  621. var step = _dereq_(85);
  622. var setSpecies = _dereq_(121);
  623. var DESCRIPTORS = _dereq_(56);
  624. var fastKey = _dereq_(92).fastKey;
  625. var validate = _dereq_(147);
  626. var SIZE = DESCRIPTORS ? '_s' : 'size';
  627. var getEntry = function (that, key) {
  628. // fast case
  629. var index = fastKey(key);
  630. var entry;
  631. if (index !== 'F') return that._i[index];
  632. // frozen object case
  633. for (entry = that._f; entry; entry = entry.n) {
  634. if (entry.k == key) return entry;
  635. }
  636. };
  637. module.exports = {
  638. getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
  639. var C = wrapper(function (that, iterable) {
  640. anInstance(that, C, NAME, '_i');
  641. that._t = NAME; // collection type
  642. that._i = create(null); // index
  643. that._f = undefined; // first entry
  644. that._l = undefined; // last entry
  645. that[SIZE] = 0; // size
  646. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  647. });
  648. redefineAll(C.prototype, {
  649. // 23.1.3.1 Map.prototype.clear()
  650. // 23.2.3.2 Set.prototype.clear()
  651. clear: function clear() {
  652. for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {
  653. entry.r = true;
  654. if (entry.p) entry.p = entry.p.n = undefined;
  655. delete data[entry.i];
  656. }
  657. that._f = that._l = undefined;
  658. that[SIZE] = 0;
  659. },
  660. // 23.1.3.3 Map.prototype.delete(key)
  661. // 23.2.3.4 Set.prototype.delete(value)
  662. 'delete': function (key) {
  663. var that = validate(this, NAME);
  664. var entry = getEntry(that, key);
  665. if (entry) {
  666. var next = entry.n;
  667. var prev = entry.p;
  668. delete that._i[entry.i];
  669. entry.r = true;
  670. if (prev) prev.n = next;
  671. if (next) next.p = prev;
  672. if (that._f == entry) that._f = next;
  673. if (that._l == entry) that._l = prev;
  674. that[SIZE]--;
  675. } return !!entry;
  676. },
  677. // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
  678. // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
  679. forEach: function forEach(callbackfn /* , that = undefined */) {
  680. validate(this, NAME);
  681. var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
  682. var entry;
  683. while (entry = entry ? entry.n : this._f) {
  684. f(entry.v, entry.k, this);
  685. // revert to the last existing entry
  686. while (entry && entry.r) entry = entry.p;
  687. }
  688. },
  689. // 23.1.3.7 Map.prototype.has(key)
  690. // 23.2.3.7 Set.prototype.has(value)
  691. has: function has(key) {
  692. return !!getEntry(validate(this, NAME), key);
  693. }
  694. });
  695. if (DESCRIPTORS) dP(C.prototype, 'size', {
  696. get: function () {
  697. return validate(this, NAME)[SIZE];
  698. }
  699. });
  700. return C;
  701. },
  702. def: function (that, key, value) {
  703. var entry = getEntry(that, key);
  704. var prev, index;
  705. // change existing entry
  706. if (entry) {
  707. entry.v = value;
  708. // create new entry
  709. } else {
  710. that._l = entry = {
  711. i: index = fastKey(key, true), // <- index
  712. k: key, // <- key
  713. v: value, // <- value
  714. p: prev = that._l, // <- previous entry
  715. n: undefined, // <- next entry
  716. r: false // <- removed
  717. };
  718. if (!that._f) that._f = entry;
  719. if (prev) prev.n = entry;
  720. that[SIZE]++;
  721. // add to index
  722. if (index !== 'F') that._i[index] = entry;
  723. } return that;
  724. },
  725. getEntry: getEntry,
  726. setStrong: function (C, NAME, IS_MAP) {
  727. // add .keys, .values, .entries, [@@iterator]
  728. // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
  729. $iterDefine(C, NAME, function (iterated, kind) {
  730. this._t = validate(iterated, NAME); // target
  731. this._k = kind; // kind
  732. this._l = undefined; // previous
  733. }, function () {
  734. var that = this;
  735. var kind = that._k;
  736. var entry = that._l;
  737. // revert to the last existing entry
  738. while (entry && entry.r) entry = entry.p;
  739. // get next entry
  740. if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {
  741. // or finish the iteration
  742. that._t = undefined;
  743. return step(1);
  744. }
  745. // return step by kind
  746. if (kind == 'keys') return step(0, entry.k);
  747. if (kind == 'values') return step(0, entry.v);
  748. return step(0, [entry.k, entry.v]);
  749. }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
  750. // add [@@species], 23.1.2.2, 23.2.2.2
  751. setSpecies(NAME);
  752. }
  753. };
  754. },{"115":115,"121":121,"147":147,"35":35,"52":52,"56":56,"66":66,"83":83,"85":85,"92":92,"96":96,"97":97}],48:[function(_dereq_,module,exports){
  755. 'use strict';
  756. var redefineAll = _dereq_(115);
  757. var getWeak = _dereq_(92).getWeak;
  758. var anObject = _dereq_(36);
  759. var isObject = _dereq_(79);
  760. var anInstance = _dereq_(35);
  761. var forOf = _dereq_(66);
  762. var createArrayMethod = _dereq_(40);
  763. var $has = _dereq_(69);
  764. var validate = _dereq_(147);
  765. var arrayFind = createArrayMethod(5);
  766. var arrayFindIndex = createArrayMethod(6);
  767. var id = 0;
  768. // fallback for uncaught frozen keys
  769. var uncaughtFrozenStore = function (that) {
  770. return that._l || (that._l = new UncaughtFrozenStore());
  771. };
  772. var UncaughtFrozenStore = function () {
  773. this.a = [];
  774. };
  775. var findUncaughtFrozen = function (store, key) {
  776. return arrayFind(store.a, function (it) {
  777. return it[0] === key;
  778. });
  779. };
  780. UncaughtFrozenStore.prototype = {
  781. get: function (key) {
  782. var entry = findUncaughtFrozen(this, key);
  783. if (entry) return entry[1];
  784. },
  785. has: function (key) {
  786. return !!findUncaughtFrozen(this, key);
  787. },
  788. set: function (key, value) {
  789. var entry = findUncaughtFrozen(this, key);
  790. if (entry) entry[1] = value;
  791. else this.a.push([key, value]);
  792. },
  793. 'delete': function (key) {
  794. var index = arrayFindIndex(this.a, function (it) {
  795. return it[0] === key;
  796. });
  797. if (~index) this.a.splice(index, 1);
  798. return !!~index;
  799. }
  800. };
  801. module.exports = {
  802. getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
  803. var C = wrapper(function (that, iterable) {
  804. anInstance(that, C, NAME, '_i');
  805. that._t = NAME; // collection type
  806. that._i = id++; // collection id
  807. that._l = undefined; // leak store for uncaught frozen objects
  808. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  809. });
  810. redefineAll(C.prototype, {
  811. // 23.3.3.2 WeakMap.prototype.delete(key)
  812. // 23.4.3.3 WeakSet.prototype.delete(value)
  813. 'delete': function (key) {
  814. if (!isObject(key)) return false;
  815. var data = getWeak(key);
  816. if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);
  817. return data && $has(data, this._i) && delete data[this._i];
  818. },
  819. // 23.3.3.4 WeakMap.prototype.has(key)
  820. // 23.4.3.4 WeakSet.prototype.has(value)
  821. has: function has(key) {
  822. if (!isObject(key)) return false;
  823. var data = getWeak(key);
  824. if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);
  825. return data && $has(data, this._i);
  826. }
  827. });
  828. return C;
  829. },
  830. def: function (that, key, value) {
  831. var data = getWeak(anObject(key), true);
  832. if (data === true) uncaughtFrozenStore(that).set(key, value);
  833. else data[that._i] = value;
  834. return that;
  835. },
  836. ufstore: uncaughtFrozenStore
  837. };
  838. },{"115":115,"147":147,"35":35,"36":36,"40":40,"66":66,"69":69,"79":79,"92":92}],49:[function(_dereq_,module,exports){
  839. 'use strict';
  840. var global = _dereq_(68);
  841. var $export = _dereq_(60);
  842. var redefine = _dereq_(116);
  843. var redefineAll = _dereq_(115);
  844. var meta = _dereq_(92);
  845. var forOf = _dereq_(66);
  846. var anInstance = _dereq_(35);
  847. var isObject = _dereq_(79);
  848. var fails = _dereq_(62);
  849. var $iterDetect = _dereq_(84);
  850. var setToStringTag = _dereq_(122);
  851. var inheritIfRequired = _dereq_(73);
  852. module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
  853. var Base = global[NAME];
  854. var C = Base;
  855. var ADDER = IS_MAP ? 'set' : 'add';
  856. var proto = C && C.prototype;
  857. var O = {};
  858. var fixMethod = function (KEY) {
  859. var fn = proto[KEY];
  860. redefine(proto, KEY,
  861. KEY == 'delete' ? function (a) {
  862. return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
  863. } : KEY == 'has' ? function has(a) {
  864. return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
  865. } : KEY == 'get' ? function get(a) {
  866. return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
  867. } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }
  868. : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }
  869. );
  870. };
  871. if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {
  872. new C().entries().next();
  873. }))) {
  874. // create collection constructor
  875. C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
  876. redefineAll(C.prototype, methods);
  877. meta.NEED = true;
  878. } else {
  879. var instance = new C();
  880. // early implementations not supports chaining
  881. var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
  882. // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
  883. var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
  884. // most early implementations doesn't supports iterables, most modern - not close it correctly
  885. var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new
  886. // for early implementations -0 and +0 not the same
  887. var BUGGY_ZERO = !IS_WEAK && fails(function () {
  888. // V8 ~ Chromium 42- fails only with 5+ elements
  889. var $instance = new C();
  890. var index = 5;
  891. while (index--) $instance[ADDER](index, index);
  892. return !$instance.has(-0);
  893. });
  894. if (!ACCEPT_ITERABLES) {
  895. C = wrapper(function (target, iterable) {
  896. anInstance(target, C, NAME);
  897. var that = inheritIfRequired(new Base(), target, C);
  898. if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
  899. return that;
  900. });
  901. C.prototype = proto;
  902. proto.constructor = C;
  903. }
  904. if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
  905. fixMethod('delete');
  906. fixMethod('has');
  907. IS_MAP && fixMethod('get');
  908. }
  909. if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
  910. // weak collections should not contains .clear method
  911. if (IS_WEAK && proto.clear) delete proto.clear;
  912. }
  913. setToStringTag(C, NAME);
  914. O[NAME] = C;
  915. $export($export.G + $export.W + $export.F * (C != Base), O);
  916. if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);
  917. return C;
  918. };
  919. },{"115":115,"116":116,"122":122,"35":35,"60":60,"62":62,"66":66,"68":68,"73":73,"79":79,"84":84,"92":92}],50:[function(_dereq_,module,exports){
  920. arguments[4][16][0].apply(exports,arguments)
  921. },{"16":16}],51:[function(_dereq_,module,exports){
  922. 'use strict';
  923. var $defineProperty = _dereq_(97);
  924. var createDesc = _dereq_(114);
  925. module.exports = function (object, index, value) {
  926. if (index in object) $defineProperty.f(object, index, createDesc(0, value));
  927. else object[index] = value;
  928. };
  929. },{"114":114,"97":97}],52:[function(_dereq_,module,exports){
  930. arguments[4][17][0].apply(exports,arguments)
  931. },{"17":17,"31":31}],53:[function(_dereq_,module,exports){
  932. 'use strict';
  933. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  934. var fails = _dereq_(62);
  935. var getTime = Date.prototype.getTime;
  936. var $toISOString = Date.prototype.toISOString;
  937. var lz = function (num) {
  938. return num > 9 ? num : '0' + num;
  939. };
  940. // PhantomJS / old WebKit has a broken implementations
  941. module.exports = (fails(function () {
  942. return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
  943. }) || !fails(function () {
  944. $toISOString.call(new Date(NaN));
  945. })) ? function toISOString() {
  946. if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
  947. var d = this;
  948. var y = d.getUTCFullYear();
  949. var m = d.getUTCMilliseconds();
  950. var s = y < 0 ? '-' : y > 9999 ? '+' : '';
  951. return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
  952. '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
  953. 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
  954. ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
  955. } : $toISOString;
  956. },{"62":62}],54:[function(_dereq_,module,exports){
  957. 'use strict';
  958. var anObject = _dereq_(36);
  959. var toPrimitive = _dereq_(141);
  960. var NUMBER = 'number';
  961. module.exports = function (hint) {
  962. if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
  963. return toPrimitive(anObject(this), hint != NUMBER);
  964. };
  965. },{"141":141,"36":36}],55:[function(_dereq_,module,exports){
  966. // 7.2.1 RequireObjectCoercible(argument)
  967. module.exports = function (it) {
  968. if (it == undefined) throw TypeError("Can't call method on " + it);
  969. return it;
  970. };
  971. },{}],56:[function(_dereq_,module,exports){
  972. arguments[4][18][0].apply(exports,arguments)
  973. },{"18":18,"62":62}],57:[function(_dereq_,module,exports){
  974. arguments[4][19][0].apply(exports,arguments)
  975. },{"19":19,"68":68,"79":79}],58:[function(_dereq_,module,exports){
  976. // IE 8- don't enum bug keys
  977. module.exports = (
  978. 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
  979. ).split(',');
  980. },{}],59:[function(_dereq_,module,exports){
  981. // all enumerable object keys, includes symbols
  982. var getKeys = _dereq_(105);
  983. var gOPS = _dereq_(102);
  984. var pIE = _dereq_(106);
  985. module.exports = function (it) {
  986. var result = getKeys(it);
  987. var getSymbols = gOPS.f;
  988. if (getSymbols) {
  989. var symbols = getSymbols(it);
  990. var isEnum = pIE.f;
  991. var i = 0;
  992. var key;
  993. while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
  994. } return result;
  995. };
  996. },{"102":102,"105":105,"106":106}],60:[function(_dereq_,module,exports){
  997. var global = _dereq_(68);
  998. var core = _dereq_(50);
  999. var hide = _dereq_(70);
  1000. var redefine = _dereq_(116);
  1001. var ctx = _dereq_(52);
  1002. var PROTOTYPE = 'prototype';
  1003. var $export = function (type, name, source) {
  1004. var IS_FORCED = type & $export.F;
  1005. var IS_GLOBAL = type & $export.G;
  1006. var IS_STATIC = type & $export.S;
  1007. var IS_PROTO = type & $export.P;
  1008. var IS_BIND = type & $export.B;
  1009. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
  1010. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  1011. var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
  1012. var key, own, out, exp;
  1013. if (IS_GLOBAL) source = name;
  1014. for (key in source) {
  1015. // contains in native
  1016. own = !IS_FORCED && target && target[key] !== undefined;
  1017. // export native or passed
  1018. out = (own ? target : source)[key];
  1019. // bind timers to global for call from export context
  1020. exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1021. // extend global
  1022. if (target) redefine(target, key, out, type & $export.U);
  1023. // export
  1024. if (exports[key] != out) hide(exports, key, exp);
  1025. if (IS_PROTO && expProto[key] != out) expProto[key] = out;
  1026. }
  1027. };
  1028. global.core = core;
  1029. // type bitmap
  1030. $export.F = 1; // forced
  1031. $export.G = 2; // global
  1032. $export.S = 4; // static
  1033. $export.P = 8; // proto
  1034. $export.B = 16; // bind
  1035. $export.W = 32; // wrap
  1036. $export.U = 64; // safe
  1037. $export.R = 128; // real proto method for `library`
  1038. module.exports = $export;
  1039. },{"116":116,"50":50,"52":52,"68":68,"70":70}],61:[function(_dereq_,module,exports){
  1040. var MATCH = _dereq_(150)('match');
  1041. module.exports = function (KEY) {
  1042. var re = /./;
  1043. try {
  1044. '/./'[KEY](re);
  1045. } catch (e) {
  1046. try {
  1047. re[MATCH] = false;
  1048. return !'/./'[KEY](re);
  1049. } catch (f) { /* empty */ }
  1050. } return true;
  1051. };
  1052. },{"150":150}],62:[function(_dereq_,module,exports){
  1053. arguments[4][21][0].apply(exports,arguments)
  1054. },{"21":21}],63:[function(_dereq_,module,exports){
  1055. 'use strict';
  1056. _dereq_(246);
  1057. var redefine = _dereq_(116);
  1058. var hide = _dereq_(70);
  1059. var fails = _dereq_(62);
  1060. var defined = _dereq_(55);
  1061. var wks = _dereq_(150);
  1062. var regexpExec = _dereq_(118);
  1063. var SPECIES = wks('species');
  1064. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  1065. // #replace needs built-in support for named groups.
  1066. // #match works fine because it just return the exec results, even if it has
  1067. // a "grops" property.
  1068. var re = /./;
  1069. re.exec = function () {
  1070. var result = [];
  1071. result.groups = { a: '7' };
  1072. return result;
  1073. };
  1074. return ''.replace(re, '$<a>') !== '7';
  1075. });
  1076. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
  1077. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  1078. var re = /(?:)/;
  1079. var originalExec = re.exec;
  1080. re.exec = function () { return originalExec.apply(this, arguments); };
  1081. var result = 'ab'.split(re);
  1082. return result.length === 2 && result[0] === 'a' && result[1] === 'b';
  1083. })();
  1084. module.exports = function (KEY, length, exec) {
  1085. var SYMBOL = wks(KEY);
  1086. var DELEGATES_TO_SYMBOL = !fails(function () {
  1087. // String methods call symbol-named RegEp methods
  1088. var O = {};
  1089. O[SYMBOL] = function () { return 7; };
  1090. return ''[KEY](O) != 7;
  1091. });
  1092. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
  1093. // Symbol-named RegExp methods call .exec
  1094. var execCalled = false;
  1095. var re = /a/;
  1096. re.exec = function () { execCalled = true; return null; };
  1097. if (KEY === 'split') {
  1098. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  1099. // a new one. We need to return the patched regex when creating the new one.
  1100. re.constructor = {};
  1101. re.constructor[SPECIES] = function () { return re; };
  1102. }
  1103. re[SYMBOL]('');
  1104. return !execCalled;
  1105. }) : undefined;
  1106. if (
  1107. !DELEGATES_TO_SYMBOL ||
  1108. !DELEGATES_TO_EXEC ||
  1109. (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
  1110. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  1111. ) {
  1112. var nativeRegExpMethod = /./[SYMBOL];
  1113. var fns = exec(
  1114. defined,
  1115. SYMBOL,
  1116. ''[KEY],
  1117. function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
  1118. if (regexp.exec === regexpExec) {
  1119. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  1120. // The native String method already delegates to @@method (this
  1121. // polyfilled function), leasing to infinite recursion.
  1122. // We avoid it by directly calling the native @@method method.
  1123. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  1124. }
  1125. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  1126. }
  1127. return { done: false };
  1128. }
  1129. );
  1130. var strfn = fns[0];
  1131. var rxfn = fns[1];
  1132. redefine(String.prototype, KEY, strfn);
  1133. hide(RegExp.prototype, SYMBOL, length == 2
  1134. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  1135. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  1136. ? function (string, arg) { return rxfn.call(string, this, arg); }
  1137. // 21.2.5.6 RegExp.prototype[@@match](string)
  1138. // 21.2.5.9 RegExp.prototype[@@search](string)
  1139. : function (string) { return rxfn.call(string, this); }
  1140. );
  1141. }
  1142. };
  1143. },{"116":116,"118":118,"150":150,"246":246,"55":55,"62":62,"70":70}],64:[function(_dereq_,module,exports){
  1144. 'use strict';
  1145. // 21.2.5.3 get RegExp.prototype.flags
  1146. var anObject = _dereq_(36);
  1147. module.exports = function () {
  1148. var that = anObject(this);
  1149. var result = '';
  1150. if (that.global) result += 'g';
  1151. if (that.ignoreCase) result += 'i';
  1152. if (that.multiline) result += 'm';
  1153. if (that.unicode) result += 'u';
  1154. if (that.sticky) result += 'y';
  1155. return result;
  1156. };
  1157. },{"36":36}],65:[function(_dereq_,module,exports){
  1158. 'use strict';
  1159. // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
  1160. var isArray = _dereq_(77);
  1161. var isObject = _dereq_(79);
  1162. var toLength = _dereq_(139);
  1163. var ctx = _dereq_(52);
  1164. var IS_CONCAT_SPREADABLE = _dereq_(150)('isConcatSpreadable');
  1165. function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {
  1166. var targetIndex = start;
  1167. var sourceIndex = 0;
  1168. var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;
  1169. var element, spreadable;
  1170. while (sourceIndex < sourceLen) {
  1171. if (sourceIndex in source) {
  1172. element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
  1173. spreadable = false;
  1174. if (isObject(element)) {
  1175. spreadable = element[IS_CONCAT_SPREADABLE];
  1176. spreadable = spreadable !== undefined ? !!spreadable : isArray(element);
  1177. }
  1178. if (spreadable && depth > 0) {
  1179. targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
  1180. } else {
  1181. if (targetIndex >= 0x1fffffffffffff) throw TypeError();
  1182. target[targetIndex] = element;
  1183. }
  1184. targetIndex++;
  1185. }
  1186. sourceIndex++;
  1187. }
  1188. return targetIndex;
  1189. }
  1190. module.exports = flattenIntoArray;
  1191. },{"139":139,"150":150,"52":52,"77":77,"79":79}],66:[function(_dereq_,module,exports){
  1192. var ctx = _dereq_(52);
  1193. var call = _dereq_(81);
  1194. var isArrayIter = _dereq_(76);
  1195. var anObject = _dereq_(36);
  1196. var toLength = _dereq_(139);
  1197. var getIterFn = _dereq_(151);
  1198. var BREAK = {};
  1199. var RETURN = {};
  1200. var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
  1201. var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
  1202. var f = ctx(fn, that, entries ? 2 : 1);
  1203. var index = 0;
  1204. var length, step, iterator, result;
  1205. if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
  1206. // fast case for arrays with default iterator
  1207. if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
  1208. result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
  1209. if (result === BREAK || result === RETURN) return result;
  1210. } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
  1211. result = call(iterator, f, step.value, entries);
  1212. if (result === BREAK || result === RETURN) return result;
  1213. }
  1214. };
  1215. exports.BREAK = BREAK;
  1216. exports.RETURN = RETURN;
  1217. },{"139":139,"151":151,"36":36,"52":52,"76":76,"81":81}],67:[function(_dereq_,module,exports){
  1218. module.exports = _dereq_(124)('native-function-to-string', Function.toString);
  1219. },{"124":124}],68:[function(_dereq_,module,exports){
  1220. arguments[4][22][0].apply(exports,arguments)
  1221. },{"22":22}],69:[function(_dereq_,module,exports){
  1222. arguments[4][23][0].apply(exports,arguments)
  1223. },{"23":23}],70:[function(_dereq_,module,exports){
  1224. arguments[4][24][0].apply(exports,arguments)
  1225. },{"114":114,"24":24,"56":56,"97":97}],71:[function(_dereq_,module,exports){
  1226. var document = _dereq_(68).document;
  1227. module.exports = document && document.documentElement;
  1228. },{"68":68}],72:[function(_dereq_,module,exports){
  1229. arguments[4][25][0].apply(exports,arguments)
  1230. },{"25":25,"56":56,"57":57,"62":62}],73:[function(_dereq_,module,exports){
  1231. var isObject = _dereq_(79);
  1232. var setPrototypeOf = _dereq_(120).set;
  1233. module.exports = function (that, target, C) {
  1234. var S = target.constructor;
  1235. var P;
  1236. if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
  1237. setPrototypeOf(that, P);
  1238. } return that;
  1239. };
  1240. },{"120":120,"79":79}],74:[function(_dereq_,module,exports){
  1241. // fast apply, http://jsperf.lnkit.com/fast-apply/5
  1242. module.exports = function (fn, args, that) {
  1243. var un = that === undefined;
  1244. switch (args.length) {
  1245. case 0: return un ? fn()
  1246. : fn.call(that);
  1247. case 1: return un ? fn(args[0])
  1248. : fn.call(that, args[0]);
  1249. case 2: return un ? fn(args[0], args[1])
  1250. : fn.call(that, args[0], args[1]);
  1251. case 3: return un ? fn(args[0], args[1], args[2])
  1252. : fn.call(that, args[0], args[1], args[2]);
  1253. case 4: return un ? fn(args[0], args[1], args[2], args[3])
  1254. : fn.call(that, args[0], args[1], args[2], args[3]);
  1255. } return fn.apply(that, args);
  1256. };
  1257. },{}],75:[function(_dereq_,module,exports){
  1258. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  1259. var cof = _dereq_(46);
  1260. // eslint-disable-next-line no-prototype-builtins
  1261. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  1262. return cof(it) == 'String' ? it.split('') : Object(it);
  1263. };
  1264. },{"46":46}],76:[function(_dereq_,module,exports){
  1265. // check on default Array iterator
  1266. var Iterators = _dereq_(86);
  1267. var ITERATOR = _dereq_(150)('iterator');
  1268. var ArrayProto = Array.prototype;
  1269. module.exports = function (it) {
  1270. return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
  1271. };
  1272. },{"150":150,"86":86}],77:[function(_dereq_,module,exports){
  1273. // 7.2.2 IsArray(argument)
  1274. var cof = _dereq_(46);
  1275. module.exports = Array.isArray || function isArray(arg) {
  1276. return cof(arg) == 'Array';
  1277. };
  1278. },{"46":46}],78:[function(_dereq_,module,exports){
  1279. // 20.1.2.3 Number.isInteger(number)
  1280. var isObject = _dereq_(79);
  1281. var floor = Math.floor;
  1282. module.exports = function isInteger(it) {
  1283. return !isObject(it) && isFinite(it) && floor(it) === it;
  1284. };
  1285. },{"79":79}],79:[function(_dereq_,module,exports){
  1286. arguments[4][26][0].apply(exports,arguments)
  1287. },{"26":26}],80:[function(_dereq_,module,exports){
  1288. // 7.2.8 IsRegExp(argument)
  1289. var isObject = _dereq_(79);
  1290. var cof = _dereq_(46);
  1291. var MATCH = _dereq_(150)('match');
  1292. module.exports = function (it) {
  1293. var isRegExp;
  1294. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
  1295. };
  1296. },{"150":150,"46":46,"79":79}],81:[function(_dereq_,module,exports){
  1297. // call something on iterator step with safe closing on error
  1298. var anObject = _dereq_(36);
  1299. module.exports = function (iterator, fn, value, entries) {
  1300. try {
  1301. return entries ? fn(anObject(value)[0], value[1]) : fn(value);
  1302. // 7.4.6 IteratorClose(iterator, completion)
  1303. } catch (e) {
  1304. var ret = iterator['return'];
  1305. if (ret !== undefined) anObject(ret.call(iterator));
  1306. throw e;
  1307. }
  1308. };
  1309. },{"36":36}],82:[function(_dereq_,module,exports){
  1310. 'use strict';
  1311. var create = _dereq_(96);
  1312. var descriptor = _dereq_(114);
  1313. var setToStringTag = _dereq_(122);
  1314. var IteratorPrototype = {};
  1315. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  1316. _dereq_(70)(IteratorPrototype, _dereq_(150)('iterator'), function () { return this; });
  1317. module.exports = function (Constructor, NAME, next) {
  1318. Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
  1319. setToStringTag(Constructor, NAME + ' Iterator');
  1320. };
  1321. },{"114":114,"122":122,"150":150,"70":70,"96":96}],83:[function(_dereq_,module,exports){
  1322. 'use strict';
  1323. var LIBRARY = _dereq_(87);
  1324. var $export = _dereq_(60);
  1325. var redefine = _dereq_(116);
  1326. var hide = _dereq_(70);
  1327. var Iterators = _dereq_(86);
  1328. var $iterCreate = _dereq_(82);
  1329. var setToStringTag = _dereq_(122);
  1330. var getPrototypeOf = _dereq_(103);
  1331. var ITERATOR = _dereq_(150)('iterator');
  1332. var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
  1333. var FF_ITERATOR = '@@iterator';
  1334. var KEYS = 'keys';
  1335. var VALUES = 'values';
  1336. var returnThis = function () { return this; };
  1337. module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
  1338. $iterCreate(Constructor, NAME, next);
  1339. var getMethod = function (kind) {
  1340. if (!BUGGY && kind in proto) return proto[kind];
  1341. switch (kind) {
  1342. case KEYS: return function keys() { return new Constructor(this, kind); };
  1343. case VALUES: return function values() { return new Constructor(this, kind); };
  1344. } return function entries() { return new Constructor(this, kind); };
  1345. };
  1346. var TAG = NAME + ' Iterator';
  1347. var DEF_VALUES = DEFAULT == VALUES;
  1348. var VALUES_BUG = false;
  1349. var proto = Base.prototype;
  1350. var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
  1351. var $default = $native || getMethod(DEFAULT);
  1352. var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
  1353. var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
  1354. var methods, key, IteratorPrototype;
  1355. // Fix native
  1356. if ($anyNative) {
  1357. IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
  1358. if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
  1359. // Set @@toStringTag to native iterators
  1360. setToStringTag(IteratorPrototype, TAG, true);
  1361. // fix for some old engines
  1362. if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
  1363. }
  1364. }
  1365. // fix Array#{values, @@iterator}.name in V8 / FF
  1366. if (DEF_VALUES && $native && $native.name !== VALUES) {
  1367. VALUES_BUG = true;
  1368. $default = function values() { return $native.call(this); };
  1369. }
  1370. // Define iterator
  1371. if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
  1372. hide(proto, ITERATOR, $default);
  1373. }
  1374. // Plug for library
  1375. Iterators[NAME] = $default;
  1376. Iterators[TAG] = returnThis;
  1377. if (DEFAULT) {
  1378. methods = {
  1379. values: DEF_VALUES ? $default : getMethod(VALUES),
  1380. keys: IS_SET ? $default : getMethod(KEYS),
  1381. entries: $entries
  1382. };
  1383. if (FORCED) for (key in methods) {
  1384. if (!(key in proto)) redefine(proto, key, methods[key]);
  1385. } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
  1386. }
  1387. return methods;
  1388. };
  1389. },{"103":103,"116":116,"122":122,"150":150,"60":60,"70":70,"82":82,"86":86,"87":87}],84:[function(_dereq_,module,exports){
  1390. var ITERATOR = _dereq_(150)('iterator');
  1391. var SAFE_CLOSING = false;
  1392. try {
  1393. var riter = [7][ITERATOR]();
  1394. riter['return'] = function () { SAFE_CLOSING = true; };
  1395. // eslint-disable-next-line no-throw-literal
  1396. Array.from(riter, function () { throw 2; });
  1397. } catch (e) { /* empty */ }
  1398. module.exports = function (exec, skipClosing) {
  1399. if (!skipClosing && !SAFE_CLOSING) return false;
  1400. var safe = false;
  1401. try {
  1402. var arr = [7];
  1403. var iter = arr[ITERATOR]();
  1404. iter.next = function () { return { done: safe = true }; };
  1405. arr[ITERATOR] = function () { return iter; };
  1406. exec(arr);
  1407. } catch (e) { /* empty */ }
  1408. return safe;
  1409. };
  1410. },{"150":150}],85:[function(_dereq_,module,exports){
  1411. module.exports = function (done, value) {
  1412. return { value: value, done: !!done };
  1413. };
  1414. },{}],86:[function(_dereq_,module,exports){
  1415. module.exports = {};
  1416. },{}],87:[function(_dereq_,module,exports){
  1417. module.exports = false;
  1418. },{}],88:[function(_dereq_,module,exports){
  1419. // 20.2.2.14 Math.expm1(x)
  1420. var $expm1 = Math.expm1;
  1421. module.exports = (!$expm1
  1422. // Old FF bug
  1423. || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
  1424. // Tor Browser bug
  1425. || $expm1(-2e-17) != -2e-17
  1426. ) ? function expm1(x) {
  1427. return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
  1428. } : $expm1;
  1429. },{}],89:[function(_dereq_,module,exports){
  1430. // 20.2.2.16 Math.fround(x)
  1431. var sign = _dereq_(91);
  1432. var pow = Math.pow;
  1433. var EPSILON = pow(2, -52);
  1434. var EPSILON32 = pow(2, -23);
  1435. var MAX32 = pow(2, 127) * (2 - EPSILON32);
  1436. var MIN32 = pow(2, -126);
  1437. var roundTiesToEven = function (n) {
  1438. return n + 1 / EPSILON - 1 / EPSILON;
  1439. };
  1440. module.exports = Math.fround || function fround(x) {
  1441. var $abs = Math.abs(x);
  1442. var $sign = sign(x);
  1443. var a, result;
  1444. if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
  1445. a = (1 + EPSILON32 / EPSILON) * $abs;
  1446. result = a - (a - $abs);
  1447. // eslint-disable-next-line no-self-compare
  1448. if (result > MAX32 || result != result) return $sign * Infinity;
  1449. return $sign * result;
  1450. };
  1451. },{"91":91}],90:[function(_dereq_,module,exports){
  1452. // 20.2.2.20 Math.log1p(x)
  1453. module.exports = Math.log1p || function log1p(x) {
  1454. return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
  1455. };
  1456. },{}],91:[function(_dereq_,module,exports){
  1457. // 20.2.2.28 Math.sign(x)
  1458. module.exports = Math.sign || function sign(x) {
  1459. // eslint-disable-next-line no-self-compare
  1460. return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
  1461. };
  1462. },{}],92:[function(_dereq_,module,exports){
  1463. var META = _dereq_(145)('meta');
  1464. var isObject = _dereq_(79);
  1465. var has = _dereq_(69);
  1466. var setDesc = _dereq_(97).f;
  1467. var id = 0;
  1468. var isExtensible = Object.isExtensible || function () {
  1469. return true;
  1470. };
  1471. var FREEZE = !_dereq_(62)(function () {
  1472. return isExtensible(Object.preventExtensions({}));
  1473. });
  1474. var setMeta = function (it) {
  1475. setDesc(it, META, { value: {
  1476. i: 'O' + ++id, // object ID
  1477. w: {} // weak collections IDs
  1478. } });
  1479. };
  1480. var fastKey = function (it, create) {
  1481. // return primitive with prefix
  1482. if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
  1483. if (!has(it, META)) {
  1484. // can't set metadata to uncaught frozen object
  1485. if (!isExtensible(it)) return 'F';
  1486. // not necessary to add metadata
  1487. if (!create) return 'E';
  1488. // add missing metadata
  1489. setMeta(it);
  1490. // return object ID
  1491. } return it[META].i;
  1492. };
  1493. var getWeak = function (it, create) {
  1494. if (!has(it, META)) {
  1495. // can't set metadata to uncaught frozen object
  1496. if (!isExtensible(it)) return true;
  1497. // not necessary to add metadata
  1498. if (!create) return false;
  1499. // add missing metadata
  1500. setMeta(it);
  1501. // return hash weak collections IDs
  1502. } return it[META].w;
  1503. };
  1504. // add metadata on freeze-family methods calling
  1505. var onFreeze = function (it) {
  1506. if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
  1507. return it;
  1508. };
  1509. var meta = module.exports = {
  1510. KEY: META,
  1511. NEED: false,
  1512. fastKey: fastKey,
  1513. getWeak: getWeak,
  1514. onFreeze: onFreeze
  1515. };
  1516. },{"145":145,"62":62,"69":69,"79":79,"97":97}],93:[function(_dereq_,module,exports){
  1517. var global = _dereq_(68);
  1518. var macrotask = _dereq_(134).set;
  1519. var Observer = global.MutationObserver || global.WebKitMutationObserver;
  1520. var process = global.process;
  1521. var Promise = global.Promise;
  1522. var isNode = _dereq_(46)(process) == 'process';
  1523. module.exports = function () {
  1524. var head, last, notify;
  1525. var flush = function () {
  1526. var parent, fn;
  1527. if (isNode && (parent = process.domain)) parent.exit();
  1528. while (head) {
  1529. fn = head.fn;
  1530. head = head.next;
  1531. try {
  1532. fn();
  1533. } catch (e) {
  1534. if (head) notify();
  1535. else last = undefined;
  1536. throw e;
  1537. }
  1538. } last = undefined;
  1539. if (parent) parent.enter();
  1540. };
  1541. // Node.js
  1542. if (isNode) {
  1543. notify = function () {
  1544. process.nextTick(flush);
  1545. };
  1546. // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
  1547. } else if (Observer && !(global.navigator && global.navigator.standalone)) {
  1548. var toggle = true;
  1549. var node = document.createTextNode('');
  1550. new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
  1551. notify = function () {
  1552. node.data = toggle = !toggle;
  1553. };
  1554. // environments with maybe non-completely correct, but existent Promise
  1555. } else if (Promise && Promise.resolve) {
  1556. // Promise.resolve without an argument throws an error in LG WebOS 2
  1557. var promise = Promise.resolve(undefined);
  1558. notify = function () {
  1559. promise.then(flush);
  1560. };
  1561. // for other environments - macrotask based on:
  1562. // - setImmediate
  1563. // - MessageChannel
  1564. // - window.postMessag
  1565. // - onreadystatechange
  1566. // - setTimeout
  1567. } else {
  1568. notify = function () {
  1569. // strange IE + webpack dev server bug - use .call(global)
  1570. macrotask.call(global, flush);
  1571. };
  1572. }
  1573. return function (fn) {
  1574. var task = { fn: fn, next: undefined };
  1575. if (last) last.next = task;
  1576. if (!head) {
  1577. head = task;
  1578. notify();
  1579. } last = task;
  1580. };
  1581. };
  1582. },{"134":134,"46":46,"68":68}],94:[function(_dereq_,module,exports){
  1583. 'use strict';
  1584. // 25.4.1.5 NewPromiseCapability(C)
  1585. var aFunction = _dereq_(31);
  1586. function PromiseCapability(C) {
  1587. var resolve, reject;
  1588. this.promise = new C(function ($$resolve, $$reject) {
  1589. if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
  1590. resolve = $$resolve;
  1591. reject = $$reject;
  1592. });
  1593. this.resolve = aFunction(resolve);
  1594. this.reject = aFunction(reject);
  1595. }
  1596. module.exports.f = function (C) {
  1597. return new PromiseCapability(C);
  1598. };
  1599. },{"31":31}],95:[function(_dereq_,module,exports){
  1600. 'use strict';
  1601. // 19.1.2.1 Object.assign(target, source, ...)
  1602. var DESCRIPTORS = _dereq_(56);
  1603. var getKeys = _dereq_(105);
  1604. var gOPS = _dereq_(102);
  1605. var pIE = _dereq_(106);
  1606. var toObject = _dereq_(140);
  1607. var IObject = _dereq_(75);
  1608. var $assign = Object.assign;
  1609. // should work with symbols and should have deterministic property order (V8 bug)
  1610. module.exports = !$assign || _dereq_(62)(function () {
  1611. var A = {};
  1612. var B = {};
  1613. // eslint-disable-next-line no-undef
  1614. var S = Symbol();
  1615. var K = 'abcdefghijklmnopqrst';
  1616. A[S] = 7;
  1617. K.split('').forEach(function (k) { B[k] = k; });
  1618. return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
  1619. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
  1620. var T = toObject(target);
  1621. var aLen = arguments.length;
  1622. var index = 1;
  1623. var getSymbols = gOPS.f;
  1624. var isEnum = pIE.f;
  1625. while (aLen > index) {
  1626. var S = IObject(arguments[index++]);
  1627. var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
  1628. var length = keys.length;
  1629. var j = 0;
  1630. var key;
  1631. while (length > j) {
  1632. key = keys[j++];
  1633. if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];
  1634. }
  1635. } return T;
  1636. } : $assign;
  1637. },{"102":102,"105":105,"106":106,"140":140,"56":56,"62":62,"75":75}],96:[function(_dereq_,module,exports){
  1638. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  1639. var anObject = _dereq_(36);
  1640. var dPs = _dereq_(98);
  1641. var enumBugKeys = _dereq_(58);
  1642. var IE_PROTO = _dereq_(123)('IE_PROTO');
  1643. var Empty = function () { /* empty */ };
  1644. var PROTOTYPE = 'prototype';
  1645. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1646. var createDict = function () {
  1647. // Thrash, waste and sodomy: IE GC bug
  1648. var iframe = _dereq_(57)('iframe');
  1649. var i = enumBugKeys.length;
  1650. var lt = '<';
  1651. var gt = '>';
  1652. var iframeDocument;
  1653. iframe.style.display = 'none';
  1654. _dereq_(71).appendChild(iframe);
  1655. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  1656. // createDict = iframe.contentWindow.Object;
  1657. // html.removeChild(iframe);
  1658. iframeDocument = iframe.contentWindow.document;
  1659. iframeDocument.open();
  1660. iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
  1661. iframeDocument.close();
  1662. createDict = iframeDocument.F;
  1663. while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
  1664. return createDict();
  1665. };
  1666. module.exports = Object.create || function create(O, Properties) {
  1667. var result;
  1668. if (O !== null) {
  1669. Empty[PROTOTYPE] = anObject(O);
  1670. result = new Empty();
  1671. Empty[PROTOTYPE] = null;
  1672. // add "__proto__" for Object.getPrototypeOf polyfill
  1673. result[IE_PROTO] = O;
  1674. } else result = createDict();
  1675. return Properties === undefined ? result : dPs(result, Properties);
  1676. };
  1677. },{"123":123,"36":36,"57":57,"58":58,"71":71,"98":98}],97:[function(_dereq_,module,exports){
  1678. arguments[4][27][0].apply(exports,arguments)
  1679. },{"141":141,"27":27,"36":36,"56":56,"72":72}],98:[function(_dereq_,module,exports){
  1680. var dP = _dereq_(97);
  1681. var anObject = _dereq_(36);
  1682. var getKeys = _dereq_(105);
  1683. module.exports = _dereq_(56) ? Object.defineProperties : function defineProperties(O, Properties) {
  1684. anObject(O);
  1685. var keys = getKeys(Properties);
  1686. var length = keys.length;
  1687. var i = 0;
  1688. var P;
  1689. while (length > i) dP.f(O, P = keys[i++], Properties[P]);
  1690. return O;
  1691. };
  1692. },{"105":105,"36":36,"56":56,"97":97}],99:[function(_dereq_,module,exports){
  1693. var pIE = _dereq_(106);
  1694. var createDesc = _dereq_(114);
  1695. var toIObject = _dereq_(138);
  1696. var toPrimitive = _dereq_(141);
  1697. var has = _dereq_(69);
  1698. var IE8_DOM_DEFINE = _dereq_(72);
  1699. var gOPD = Object.getOwnPropertyDescriptor;
  1700. exports.f = _dereq_(56) ? gOPD : function getOwnPropertyDescriptor(O, P) {
  1701. O = toIObject(O);
  1702. P = toPrimitive(P, true);
  1703. if (IE8_DOM_DEFINE) try {
  1704. return gOPD(O, P);
  1705. } catch (e) { /* empty */ }
  1706. if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
  1707. };
  1708. },{"106":106,"114":114,"138":138,"141":141,"56":56,"69":69,"72":72}],100:[function(_dereq_,module,exports){
  1709. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  1710. var toIObject = _dereq_(138);
  1711. var gOPN = _dereq_(101).f;
  1712. var toString = {}.toString;
  1713. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  1714. ? Object.getOwnPropertyNames(window) : [];
  1715. var getWindowNames = function (it) {
  1716. try {
  1717. return gOPN(it);
  1718. } catch (e) {
  1719. return windowNames.slice();
  1720. }
  1721. };
  1722. module.exports.f = function getOwnPropertyNames(it) {
  1723. return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
  1724. };
  1725. },{"101":101,"138":138}],101:[function(_dereq_,module,exports){
  1726. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  1727. var $keys = _dereq_(104);
  1728. var hiddenKeys = _dereq_(58).concat('length', 'prototype');
  1729. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  1730. return $keys(O, hiddenKeys);
  1731. };
  1732. },{"104":104,"58":58}],102:[function(_dereq_,module,exports){
  1733. exports.f = Object.getOwnPropertySymbols;
  1734. },{}],103:[function(_dereq_,module,exports){
  1735. // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
  1736. var has = _dereq_(69);
  1737. var toObject = _dereq_(140);
  1738. var IE_PROTO = _dereq_(123)('IE_PROTO');
  1739. var ObjectProto = Object.prototype;
  1740. module.exports = Object.getPrototypeOf || function (O) {
  1741. O = toObject(O);
  1742. if (has(O, IE_PROTO)) return O[IE_PROTO];
  1743. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  1744. return O.constructor.prototype;
  1745. } return O instanceof Object ? ObjectProto : null;
  1746. };
  1747. },{"123":123,"140":140,"69":69}],104:[function(_dereq_,module,exports){
  1748. var has = _dereq_(69);
  1749. var toIObject = _dereq_(138);
  1750. var arrayIndexOf = _dereq_(39)(false);
  1751. var IE_PROTO = _dereq_(123)('IE_PROTO');
  1752. module.exports = function (object, names) {
  1753. var O = toIObject(object);
  1754. var i = 0;
  1755. var result = [];
  1756. var key;
  1757. for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  1758. // Don't enum bug & hidden keys
  1759. while (names.length > i) if (has(O, key = names[i++])) {
  1760. ~arrayIndexOf(result, key) || result.push(key);
  1761. }
  1762. return result;
  1763. };
  1764. },{"123":123,"138":138,"39":39,"69":69}],105:[function(_dereq_,module,exports){
  1765. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  1766. var $keys = _dereq_(104);
  1767. var enumBugKeys = _dereq_(58);
  1768. module.exports = Object.keys || function keys(O) {
  1769. return $keys(O, enumBugKeys);
  1770. };
  1771. },{"104":104,"58":58}],106:[function(_dereq_,module,exports){
  1772. exports.f = {}.propertyIsEnumerable;
  1773. },{}],107:[function(_dereq_,module,exports){
  1774. // most Object methods by ES6 should accept primitives
  1775. var $export = _dereq_(60);
  1776. var core = _dereq_(50);
  1777. var fails = _dereq_(62);
  1778. module.exports = function (KEY, exec) {
  1779. var fn = (core.Object || {})[KEY] || Object[KEY];
  1780. var exp = {};
  1781. exp[KEY] = exec(fn);
  1782. $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
  1783. };
  1784. },{"50":50,"60":60,"62":62}],108:[function(_dereq_,module,exports){
  1785. var DESCRIPTORS = _dereq_(56);
  1786. var getKeys = _dereq_(105);
  1787. var toIObject = _dereq_(138);
  1788. var isEnum = _dereq_(106).f;
  1789. module.exports = function (isEntries) {
  1790. return function (it) {
  1791. var O = toIObject(it);
  1792. var keys = getKeys(O);
  1793. var length = keys.length;
  1794. var i = 0;
  1795. var result = [];
  1796. var key;
  1797. while (length > i) {
  1798. key = keys[i++];
  1799. if (!DESCRIPTORS || isEnum.call(O, key)) {
  1800. result.push(isEntries ? [key, O[key]] : O[key]);
  1801. }
  1802. }
  1803. return result;
  1804. };
  1805. };
  1806. },{"105":105,"106":106,"138":138,"56":56}],109:[function(_dereq_,module,exports){
  1807. // all object keys, includes non-enumerable and symbols
  1808. var gOPN = _dereq_(101);
  1809. var gOPS = _dereq_(102);
  1810. var anObject = _dereq_(36);
  1811. var Reflect = _dereq_(68).Reflect;
  1812. module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
  1813. var keys = gOPN.f(anObject(it));
  1814. var getSymbols = gOPS.f;
  1815. return getSymbols ? keys.concat(getSymbols(it)) : keys;
  1816. };
  1817. },{"101":101,"102":102,"36":36,"68":68}],110:[function(_dereq_,module,exports){
  1818. var $parseFloat = _dereq_(68).parseFloat;
  1819. var $trim = _dereq_(132).trim;
  1820. module.exports = 1 / $parseFloat(_dereq_(133) + '-0') !== -Infinity ? function parseFloat(str) {
  1821. var string = $trim(String(str), 3);
  1822. var result = $parseFloat(string);
  1823. return result === 0 && string.charAt(0) == '-' ? -0 : result;
  1824. } : $parseFloat;
  1825. },{"132":132,"133":133,"68":68}],111:[function(_dereq_,module,exports){
  1826. var $parseInt = _dereq_(68).parseInt;
  1827. var $trim = _dereq_(132).trim;
  1828. var ws = _dereq_(133);
  1829. var hex = /^[-+]?0[xX]/;
  1830. module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
  1831. var string = $trim(String(str), 3);
  1832. return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
  1833. } : $parseInt;
  1834. },{"132":132,"133":133,"68":68}],112:[function(_dereq_,module,exports){
  1835. module.exports = function (exec) {
  1836. try {
  1837. return { e: false, v: exec() };
  1838. } catch (e) {
  1839. return { e: true, v: e };
  1840. }
  1841. };
  1842. },{}],113:[function(_dereq_,module,exports){
  1843. var anObject = _dereq_(36);
  1844. var isObject = _dereq_(79);
  1845. var newPromiseCapability = _dereq_(94);
  1846. module.exports = function (C, x) {
  1847. anObject(C);
  1848. if (isObject(x) && x.constructor === C) return x;
  1849. var promiseCapability = newPromiseCapability.f(C);
  1850. var resolve = promiseCapability.resolve;
  1851. resolve(x);
  1852. return promiseCapability.promise;
  1853. };
  1854. },{"36":36,"79":79,"94":94}],114:[function(_dereq_,module,exports){
  1855. arguments[4][28][0].apply(exports,arguments)
  1856. },{"28":28}],115:[function(_dereq_,module,exports){
  1857. var redefine = _dereq_(116);
  1858. module.exports = function (target, src, safe) {
  1859. for (var key in src) redefine(target, key, src[key], safe);
  1860. return target;
  1861. };
  1862. },{"116":116}],116:[function(_dereq_,module,exports){
  1863. var global = _dereq_(68);
  1864. var hide = _dereq_(70);
  1865. var has = _dereq_(69);
  1866. var SRC = _dereq_(145)('src');
  1867. var $toString = _dereq_(67);
  1868. var TO_STRING = 'toString';
  1869. var TPL = ('' + $toString).split(TO_STRING);
  1870. _dereq_(50).inspectSource = function (it) {
  1871. return $toString.call(it);
  1872. };
  1873. (module.exports = function (O, key, val, safe) {
  1874. var isFunction = typeof val == 'function';
  1875. if (isFunction) has(val, 'name') || hide(val, 'name', key);
  1876. if (O[key] === val) return;
  1877. if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
  1878. if (O === global) {
  1879. O[key] = val;
  1880. } else if (!safe) {
  1881. delete O[key];
  1882. hide(O, key, val);
  1883. } else if (O[key]) {
  1884. O[key] = val;
  1885. } else {
  1886. hide(O, key, val);
  1887. }
  1888. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  1889. })(Function.prototype, TO_STRING, function toString() {
  1890. return typeof this == 'function' && this[SRC] || $toString.call(this);
  1891. });
  1892. },{"145":145,"50":50,"67":67,"68":68,"69":69,"70":70}],117:[function(_dereq_,module,exports){
  1893. 'use strict';
  1894. var classof = _dereq_(45);
  1895. var builtinExec = RegExp.prototype.exec;
  1896. // `RegExpExec` abstract operation
  1897. // https://tc39.github.io/ecma262/#sec-regexpexec
  1898. module.exports = function (R, S) {
  1899. var exec = R.exec;
  1900. if (typeof exec === 'function') {
  1901. var result = exec.call(R, S);
  1902. if (typeof result !== 'object') {
  1903. throw new TypeError('RegExp exec method returned something other than an Object or null');
  1904. }
  1905. return result;
  1906. }
  1907. if (classof(R) !== 'RegExp') {
  1908. throw new TypeError('RegExp#exec called on incompatible receiver');
  1909. }
  1910. return builtinExec.call(R, S);
  1911. };
  1912. },{"45":45}],118:[function(_dereq_,module,exports){
  1913. 'use strict';
  1914. var regexpFlags = _dereq_(64);
  1915. var nativeExec = RegExp.prototype.exec;
  1916. // This always refers to the native implementation, because the
  1917. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  1918. // which loads this file before patching the method.
  1919. var nativeReplace = String.prototype.replace;
  1920. var patchedExec = nativeExec;
  1921. var LAST_INDEX = 'lastIndex';
  1922. var UPDATES_LAST_INDEX_WRONG = (function () {
  1923. var re1 = /a/,
  1924. re2 = /b*/g;
  1925. nativeExec.call(re1, 'a');
  1926. nativeExec.call(re2, 'a');
  1927. return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
  1928. })();
  1929. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  1930. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  1931. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
  1932. if (PATCH) {
  1933. patchedExec = function exec(str) {
  1934. var re = this;
  1935. var lastIndex, reCopy, match, i;
  1936. if (NPCG_INCLUDED) {
  1937. reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
  1938. }
  1939. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
  1940. match = nativeExec.call(re, str);
  1941. if (UPDATES_LAST_INDEX_WRONG && match) {
  1942. re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
  1943. }
  1944. if (NPCG_INCLUDED && match && match.length > 1) {
  1945. // Fix browsers whose `exec` methods don't consistently return `undefined`
  1946. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  1947. // eslint-disable-next-line no-loop-func
  1948. nativeReplace.call(match[0], reCopy, function () {
  1949. for (i = 1; i < arguments.length - 2; i++) {
  1950. if (arguments[i] === undefined) match[i] = undefined;
  1951. }
  1952. });
  1953. }
  1954. return match;
  1955. };
  1956. }
  1957. module.exports = patchedExec;
  1958. },{"64":64}],119:[function(_dereq_,module,exports){
  1959. // 7.2.9 SameValue(x, y)
  1960. module.exports = Object.is || function is(x, y) {
  1961. // eslint-disable-next-line no-self-compare
  1962. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  1963. };
  1964. },{}],120:[function(_dereq_,module,exports){
  1965. // Works with __proto__ only. Old v8 can't work with null proto objects.
  1966. /* eslint-disable no-proto */
  1967. var isObject = _dereq_(79);
  1968. var anObject = _dereq_(36);
  1969. var check = function (O, proto) {
  1970. anObject(O);
  1971. if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
  1972. };
  1973. module.exports = {
  1974. set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
  1975. function (test, buggy, set) {
  1976. try {
  1977. set = _dereq_(52)(Function.call, _dereq_(99).f(Object.prototype, '__proto__').set, 2);
  1978. set(test, []);
  1979. buggy = !(test instanceof Array);
  1980. } catch (e) { buggy = true; }
  1981. return function setPrototypeOf(O, proto) {
  1982. check(O, proto);
  1983. if (buggy) O.__proto__ = proto;
  1984. else set(O, proto);
  1985. return O;
  1986. };
  1987. }({}, false) : undefined),
  1988. check: check
  1989. };
  1990. },{"36":36,"52":52,"79":79,"99":99}],121:[function(_dereq_,module,exports){
  1991. 'use strict';
  1992. var global = _dereq_(68);
  1993. var dP = _dereq_(97);
  1994. var DESCRIPTORS = _dereq_(56);
  1995. var SPECIES = _dereq_(150)('species');
  1996. module.exports = function (KEY) {
  1997. var C = global[KEY];
  1998. if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
  1999. configurable: true,
  2000. get: function () { return this; }
  2001. });
  2002. };
  2003. },{"150":150,"56":56,"68":68,"97":97}],122:[function(_dereq_,module,exports){
  2004. var def = _dereq_(97).f;
  2005. var has = _dereq_(69);
  2006. var TAG = _dereq_(150)('toStringTag');
  2007. module.exports = function (it, tag, stat) {
  2008. if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
  2009. };
  2010. },{"150":150,"69":69,"97":97}],123:[function(_dereq_,module,exports){
  2011. var shared = _dereq_(124)('keys');
  2012. var uid = _dereq_(145);
  2013. module.exports = function (key) {
  2014. return shared[key] || (shared[key] = uid(key));
  2015. };
  2016. },{"124":124,"145":145}],124:[function(_dereq_,module,exports){
  2017. var core = _dereq_(50);
  2018. var global = _dereq_(68);
  2019. var SHARED = '__core-js_shared__';
  2020. var store = global[SHARED] || (global[SHARED] = {});
  2021. (module.exports = function (key, value) {
  2022. return store[key] || (store[key] = value !== undefined ? value : {});
  2023. })('versions', []).push({
  2024. version: core.version,
  2025. mode: _dereq_(87) ? 'pure' : 'global',
  2026. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  2027. });
  2028. },{"50":50,"68":68,"87":87}],125:[function(_dereq_,module,exports){
  2029. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  2030. var anObject = _dereq_(36);
  2031. var aFunction = _dereq_(31);
  2032. var SPECIES = _dereq_(150)('species');
  2033. module.exports = function (O, D) {
  2034. var C = anObject(O).constructor;
  2035. var S;
  2036. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  2037. };
  2038. },{"150":150,"31":31,"36":36}],126:[function(_dereq_,module,exports){
  2039. 'use strict';
  2040. var fails = _dereq_(62);
  2041. module.exports = function (method, arg) {
  2042. return !!method && fails(function () {
  2043. // eslint-disable-next-line no-useless-call
  2044. arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
  2045. });
  2046. };
  2047. },{"62":62}],127:[function(_dereq_,module,exports){
  2048. var toInteger = _dereq_(137);
  2049. var defined = _dereq_(55);
  2050. // true -> String#at
  2051. // false -> String#codePointAt
  2052. module.exports = function (TO_STRING) {
  2053. return function (that, pos) {
  2054. var s = String(defined(that));
  2055. var i = toInteger(pos);
  2056. var l = s.length;
  2057. var a, b;
  2058. if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
  2059. a = s.charCodeAt(i);
  2060. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  2061. ? TO_STRING ? s.charAt(i) : a
  2062. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  2063. };
  2064. };
  2065. },{"137":137,"55":55}],128:[function(_dereq_,module,exports){
  2066. // helper for String#{startsWith, endsWith, includes}
  2067. var isRegExp = _dereq_(80);
  2068. var defined = _dereq_(55);
  2069. module.exports = function (that, searchString, NAME) {
  2070. if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
  2071. return String(defined(that));
  2072. };
  2073. },{"55":55,"80":80}],129:[function(_dereq_,module,exports){
  2074. var $export = _dereq_(60);
  2075. var fails = _dereq_(62);
  2076. var defined = _dereq_(55);
  2077. var quot = /"/g;
  2078. // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
  2079. var createHTML = function (string, tag, attribute, value) {
  2080. var S = String(defined(string));
  2081. var p1 = '<' + tag;
  2082. if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
  2083. return p1 + '>' + S + '</' + tag + '>';
  2084. };
  2085. module.exports = function (NAME, exec) {
  2086. var O = {};
  2087. O[NAME] = exec(createHTML);
  2088. $export($export.P + $export.F * fails(function () {
  2089. var test = ''[NAME]('"');
  2090. return test !== test.toLowerCase() || test.split('"').length > 3;
  2091. }), 'String', O);
  2092. };
  2093. },{"55":55,"60":60,"62":62}],130:[function(_dereq_,module,exports){
  2094. // https://github.com/tc39/proposal-string-pad-start-end
  2095. var toLength = _dereq_(139);
  2096. var repeat = _dereq_(131);
  2097. var defined = _dereq_(55);
  2098. module.exports = function (that, maxLength, fillString, left) {
  2099. var S = String(defined(that));
  2100. var stringLength = S.length;
  2101. var fillStr = fillString === undefined ? ' ' : String(fillString);
  2102. var intMaxLength = toLength(maxLength);
  2103. if (intMaxLength <= stringLength || fillStr == '') return S;
  2104. var fillLen = intMaxLength - stringLength;
  2105. var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
  2106. if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
  2107. return left ? stringFiller + S : S + stringFiller;
  2108. };
  2109. },{"131":131,"139":139,"55":55}],131:[function(_dereq_,module,exports){
  2110. 'use strict';
  2111. var toInteger = _dereq_(137);
  2112. var defined = _dereq_(55);
  2113. module.exports = function repeat(count) {
  2114. var str = String(defined(this));
  2115. var res = '';
  2116. var n = toInteger(count);
  2117. if (n < 0 || n == Infinity) throw RangeError("Count can't be negative");
  2118. for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;
  2119. return res;
  2120. };
  2121. },{"137":137,"55":55}],132:[function(_dereq_,module,exports){
  2122. var $export = _dereq_(60);
  2123. var defined = _dereq_(55);
  2124. var fails = _dereq_(62);
  2125. var spaces = _dereq_(133);
  2126. var space = '[' + spaces + ']';
  2127. var non = '\u200b\u0085';
  2128. var ltrim = RegExp('^' + space + space + '*');
  2129. var rtrim = RegExp(space + space + '*$');
  2130. var exporter = function (KEY, exec, ALIAS) {
  2131. var exp = {};
  2132. var FORCE = fails(function () {
  2133. return !!spaces[KEY]() || non[KEY]() != non;
  2134. });
  2135. var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
  2136. if (ALIAS) exp[ALIAS] = fn;
  2137. $export($export.P + $export.F * FORCE, 'String', exp);
  2138. };
  2139. // 1 -> String#trimLeft
  2140. // 2 -> String#trimRight
  2141. // 3 -> String#trim
  2142. var trim = exporter.trim = function (string, TYPE) {
  2143. string = String(defined(string));
  2144. if (TYPE & 1) string = string.replace(ltrim, '');
  2145. if (TYPE & 2) string = string.replace(rtrim, '');
  2146. return string;
  2147. };
  2148. module.exports = exporter;
  2149. },{"133":133,"55":55,"60":60,"62":62}],133:[function(_dereq_,module,exports){
  2150. module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
  2151. '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  2152. },{}],134:[function(_dereq_,module,exports){
  2153. var ctx = _dereq_(52);
  2154. var invoke = _dereq_(74);
  2155. var html = _dereq_(71);
  2156. var cel = _dereq_(57);
  2157. var global = _dereq_(68);
  2158. var process = global.process;
  2159. var setTask = global.setImmediate;
  2160. var clearTask = global.clearImmediate;
  2161. var MessageChannel = global.MessageChannel;
  2162. var Dispatch = global.Dispatch;
  2163. var counter = 0;
  2164. var queue = {};
  2165. var ONREADYSTATECHANGE = 'onreadystatechange';
  2166. var defer, channel, port;
  2167. var run = function () {
  2168. var id = +this;
  2169. // eslint-disable-next-line no-prototype-builtins
  2170. if (queue.hasOwnProperty(id)) {
  2171. var fn = queue[id];
  2172. delete queue[id];
  2173. fn();
  2174. }
  2175. };
  2176. var listener = function (event) {
  2177. run.call(event.data);
  2178. };
  2179. // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
  2180. if (!setTask || !clearTask) {
  2181. setTask = function setImmediate(fn) {
  2182. var args = [];
  2183. var i = 1;
  2184. while (arguments.length > i) args.push(arguments[i++]);
  2185. queue[++counter] = function () {
  2186. // eslint-disable-next-line no-new-func
  2187. invoke(typeof fn == 'function' ? fn : Function(fn), args);
  2188. };
  2189. defer(counter);
  2190. return counter;
  2191. };
  2192. clearTask = function clearImmediate(id) {
  2193. delete queue[id];
  2194. };
  2195. // Node.js 0.8-
  2196. if (_dereq_(46)(process) == 'process') {
  2197. defer = function (id) {
  2198. process.nextTick(ctx(run, id, 1));
  2199. };
  2200. // Sphere (JS game engine) Dispatch API
  2201. } else if (Dispatch && Dispatch.now) {
  2202. defer = function (id) {
  2203. Dispatch.now(ctx(run, id, 1));
  2204. };
  2205. // Browsers with MessageChannel, includes WebWorkers
  2206. } else if (MessageChannel) {
  2207. channel = new MessageChannel();
  2208. port = channel.port2;
  2209. channel.port1.onmessage = listener;
  2210. defer = ctx(port.postMessage, port, 1);
  2211. // Browsers with postMessage, skip WebWorkers
  2212. // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
  2213. } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
  2214. defer = function (id) {
  2215. global.postMessage(id + '', '*');
  2216. };
  2217. global.addEventListener('message', listener, false);
  2218. // IE8-
  2219. } else if (ONREADYSTATECHANGE in cel('script')) {
  2220. defer = function (id) {
  2221. html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
  2222. html.removeChild(this);
  2223. run.call(id);
  2224. };
  2225. };
  2226. // Rest old browsers
  2227. } else {
  2228. defer = function (id) {
  2229. setTimeout(ctx(run, id, 1), 0);
  2230. };
  2231. }
  2232. }
  2233. module.exports = {
  2234. set: setTask,
  2235. clear: clearTask
  2236. };
  2237. },{"46":46,"52":52,"57":57,"68":68,"71":71,"74":74}],135:[function(_dereq_,module,exports){
  2238. var toInteger = _dereq_(137);
  2239. var max = Math.max;
  2240. var min = Math.min;
  2241. module.exports = function (index, length) {
  2242. index = toInteger(index);
  2243. return index < 0 ? max(index + length, 0) : min(index, length);
  2244. };
  2245. },{"137":137}],136:[function(_dereq_,module,exports){
  2246. // https://tc39.github.io/ecma262/#sec-toindex
  2247. var toInteger = _dereq_(137);
  2248. var toLength = _dereq_(139);
  2249. module.exports = function (it) {
  2250. if (it === undefined) return 0;
  2251. var number = toInteger(it);
  2252. var length = toLength(number);
  2253. if (number !== length) throw RangeError('Wrong length!');
  2254. return length;
  2255. };
  2256. },{"137":137,"139":139}],137:[function(_dereq_,module,exports){
  2257. // 7.1.4 ToInteger
  2258. var ceil = Math.ceil;
  2259. var floor = Math.floor;
  2260. module.exports = function (it) {
  2261. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  2262. };
  2263. },{}],138:[function(_dereq_,module,exports){
  2264. // to indexed object, toObject with fallback for non-array-like ES3 strings
  2265. var IObject = _dereq_(75);
  2266. var defined = _dereq_(55);
  2267. module.exports = function (it) {
  2268. return IObject(defined(it));
  2269. };
  2270. },{"55":55,"75":75}],139:[function(_dereq_,module,exports){
  2271. // 7.1.15 ToLength
  2272. var toInteger = _dereq_(137);
  2273. var min = Math.min;
  2274. module.exports = function (it) {
  2275. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2276. };
  2277. },{"137":137}],140:[function(_dereq_,module,exports){
  2278. // 7.1.13 ToObject(argument)
  2279. var defined = _dereq_(55);
  2280. module.exports = function (it) {
  2281. return Object(defined(it));
  2282. };
  2283. },{"55":55}],141:[function(_dereq_,module,exports){
  2284. arguments[4][29][0].apply(exports,arguments)
  2285. },{"29":29,"79":79}],142:[function(_dereq_,module,exports){
  2286. 'use strict';
  2287. if (_dereq_(56)) {
  2288. var LIBRARY = _dereq_(87);
  2289. var global = _dereq_(68);
  2290. var fails = _dereq_(62);
  2291. var $export = _dereq_(60);
  2292. var $typed = _dereq_(144);
  2293. var $buffer = _dereq_(143);
  2294. var ctx = _dereq_(52);
  2295. var anInstance = _dereq_(35);
  2296. var propertyDesc = _dereq_(114);
  2297. var hide = _dereq_(70);
  2298. var redefineAll = _dereq_(115);
  2299. var toInteger = _dereq_(137);
  2300. var toLength = _dereq_(139);
  2301. var toIndex = _dereq_(136);
  2302. var toAbsoluteIndex = _dereq_(135);
  2303. var toPrimitive = _dereq_(141);
  2304. var has = _dereq_(69);
  2305. var classof = _dereq_(45);
  2306. var isObject = _dereq_(79);
  2307. var toObject = _dereq_(140);
  2308. var isArrayIter = _dereq_(76);
  2309. var create = _dereq_(96);
  2310. var getPrototypeOf = _dereq_(103);
  2311. var gOPN = _dereq_(101).f;
  2312. var getIterFn = _dereq_(151);
  2313. var uid = _dereq_(145);
  2314. var wks = _dereq_(150);
  2315. var createArrayMethod = _dereq_(40);
  2316. var createArrayIncludes = _dereq_(39);
  2317. var speciesConstructor = _dereq_(125);
  2318. var ArrayIterators = _dereq_(162);
  2319. var Iterators = _dereq_(86);
  2320. var $iterDetect = _dereq_(84);
  2321. var setSpecies = _dereq_(121);
  2322. var arrayFill = _dereq_(38);
  2323. var arrayCopyWithin = _dereq_(37);
  2324. var $DP = _dereq_(97);
  2325. var $GOPD = _dereq_(99);
  2326. var dP = $DP.f;
  2327. var gOPD = $GOPD.f;
  2328. var RangeError = global.RangeError;
  2329. var TypeError = global.TypeError;
  2330. var Uint8Array = global.Uint8Array;
  2331. var ARRAY_BUFFER = 'ArrayBuffer';
  2332. var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;
  2333. var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
  2334. var PROTOTYPE = 'prototype';
  2335. var ArrayProto = Array[PROTOTYPE];
  2336. var $ArrayBuffer = $buffer.ArrayBuffer;
  2337. var $DataView = $buffer.DataView;
  2338. var arrayForEach = createArrayMethod(0);
  2339. var arrayFilter = createArrayMethod(2);
  2340. var arraySome = createArrayMethod(3);
  2341. var arrayEvery = createArrayMethod(4);
  2342. var arrayFind = createArrayMethod(5);
  2343. var arrayFindIndex = createArrayMethod(6);
  2344. var arrayIncludes = createArrayIncludes(true);
  2345. var arrayIndexOf = createArrayIncludes(false);
  2346. var arrayValues = ArrayIterators.values;
  2347. var arrayKeys = ArrayIterators.keys;
  2348. var arrayEntries = ArrayIterators.entries;
  2349. var arrayLastIndexOf = ArrayProto.lastIndexOf;
  2350. var arrayReduce = ArrayProto.reduce;
  2351. var arrayReduceRight = ArrayProto.reduceRight;
  2352. var arrayJoin = ArrayProto.join;
  2353. var arraySort = ArrayProto.sort;
  2354. var arraySlice = ArrayProto.slice;
  2355. var arrayToString = ArrayProto.toString;
  2356. var arrayToLocaleString = ArrayProto.toLocaleString;
  2357. var ITERATOR = wks('iterator');
  2358. var TAG = wks('toStringTag');
  2359. var TYPED_CONSTRUCTOR = uid('typed_constructor');
  2360. var DEF_CONSTRUCTOR = uid('def_constructor');
  2361. var ALL_CONSTRUCTORS = $typed.CONSTR;
  2362. var TYPED_ARRAY = $typed.TYPED;
  2363. var VIEW = $typed.VIEW;
  2364. var WRONG_LENGTH = 'Wrong length!';
  2365. var $map = createArrayMethod(1, function (O, length) {
  2366. return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);
  2367. });
  2368. var LITTLE_ENDIAN = fails(function () {
  2369. // eslint-disable-next-line no-undef
  2370. return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
  2371. });
  2372. var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {
  2373. new Uint8Array(1).set({});
  2374. });
  2375. var toOffset = function (it, BYTES) {
  2376. var offset = toInteger(it);
  2377. if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');
  2378. return offset;
  2379. };
  2380. var validate = function (it) {
  2381. if (isObject(it) && TYPED_ARRAY in it) return it;
  2382. throw TypeError(it + ' is not a typed array!');
  2383. };
  2384. var allocate = function (C, length) {
  2385. if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {
  2386. throw TypeError('It is not a typed array constructor!');
  2387. } return new C(length);
  2388. };
  2389. var speciesFromList = function (O, list) {
  2390. return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
  2391. };
  2392. var fromList = function (C, list) {
  2393. var index = 0;
  2394. var length = list.length;
  2395. var result = allocate(C, length);
  2396. while (length > index) result[index] = list[index++];
  2397. return result;
  2398. };
  2399. var addGetter = function (it, key, internal) {
  2400. dP(it, key, { get: function () { return this._d[internal]; } });
  2401. };
  2402. var $from = function from(source /* , mapfn, thisArg */) {
  2403. var O = toObject(source);
  2404. var aLen = arguments.length;
  2405. var mapfn = aLen > 1 ? arguments[1] : undefined;
  2406. var mapping = mapfn !== undefined;
  2407. var iterFn = getIterFn(O);
  2408. var i, length, values, result, step, iterator;
  2409. if (iterFn != undefined && !isArrayIter(iterFn)) {
  2410. for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {
  2411. values.push(step.value);
  2412. } O = values;
  2413. }
  2414. if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);
  2415. for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {
  2416. result[i] = mapping ? mapfn(O[i], i) : O[i];
  2417. }
  2418. return result;
  2419. };
  2420. var $of = function of(/* ...items */) {
  2421. var index = 0;
  2422. var length = arguments.length;
  2423. var result = allocate(this, length);
  2424. while (length > index) result[index] = arguments[index++];
  2425. return result;
  2426. };
  2427. // iOS Safari 6.x fails here
  2428. var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });
  2429. var $toLocaleString = function toLocaleString() {
  2430. return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
  2431. };
  2432. var proto = {
  2433. copyWithin: function copyWithin(target, start /* , end */) {
  2434. return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
  2435. },
  2436. every: function every(callbackfn /* , thisArg */) {
  2437. return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2438. },
  2439. fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars
  2440. return arrayFill.apply(validate(this), arguments);
  2441. },
  2442. filter: function filter(callbackfn /* , thisArg */) {
  2443. return speciesFromList(this, arrayFilter(validate(this), callbackfn,
  2444. arguments.length > 1 ? arguments[1] : undefined));
  2445. },
  2446. find: function find(predicate /* , thisArg */) {
  2447. return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
  2448. },
  2449. findIndex: function findIndex(predicate /* , thisArg */) {
  2450. return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
  2451. },
  2452. forEach: function forEach(callbackfn /* , thisArg */) {
  2453. arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2454. },
  2455. indexOf: function indexOf(searchElement /* , fromIndex */) {
  2456. return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
  2457. },
  2458. includes: function includes(searchElement /* , fromIndex */) {
  2459. return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
  2460. },
  2461. join: function join(separator) { // eslint-disable-line no-unused-vars
  2462. return arrayJoin.apply(validate(this), arguments);
  2463. },
  2464. lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars
  2465. return arrayLastIndexOf.apply(validate(this), arguments);
  2466. },
  2467. map: function map(mapfn /* , thisArg */) {
  2468. return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);
  2469. },
  2470. reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
  2471. return arrayReduce.apply(validate(this), arguments);
  2472. },
  2473. reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
  2474. return arrayReduceRight.apply(validate(this), arguments);
  2475. },
  2476. reverse: function reverse() {
  2477. var that = this;
  2478. var length = validate(that).length;
  2479. var middle = Math.floor(length / 2);
  2480. var index = 0;
  2481. var value;
  2482. while (index < middle) {
  2483. value = that[index];
  2484. that[index++] = that[--length];
  2485. that[length] = value;
  2486. } return that;
  2487. },
  2488. some: function some(callbackfn /* , thisArg */) {
  2489. return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2490. },
  2491. sort: function sort(comparefn) {
  2492. return arraySort.call(validate(this), comparefn);
  2493. },
  2494. subarray: function subarray(begin, end) {
  2495. var O = validate(this);
  2496. var length = O.length;
  2497. var $begin = toAbsoluteIndex(begin, length);
  2498. return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
  2499. O.buffer,
  2500. O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
  2501. toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)
  2502. );
  2503. }
  2504. };
  2505. var $slice = function slice(start, end) {
  2506. return speciesFromList(this, arraySlice.call(validate(this), start, end));
  2507. };
  2508. var $set = function set(arrayLike /* , offset */) {
  2509. validate(this);
  2510. var offset = toOffset(arguments[1], 1);
  2511. var length = this.length;
  2512. var src = toObject(arrayLike);
  2513. var len = toLength(src.length);
  2514. var index = 0;
  2515. if (len + offset > length) throw RangeError(WRONG_LENGTH);
  2516. while (index < len) this[offset + index] = src[index++];
  2517. };
  2518. var $iterators = {
  2519. entries: function entries() {
  2520. return arrayEntries.call(validate(this));
  2521. },
  2522. keys: function keys() {
  2523. return arrayKeys.call(validate(this));
  2524. },
  2525. values: function values() {
  2526. return arrayValues.call(validate(this));
  2527. }
  2528. };
  2529. var isTAIndex = function (target, key) {
  2530. return isObject(target)
  2531. && target[TYPED_ARRAY]
  2532. && typeof key != 'symbol'
  2533. && key in target
  2534. && String(+key) == String(key);
  2535. };
  2536. var $getDesc = function getOwnPropertyDescriptor(target, key) {
  2537. return isTAIndex(target, key = toPrimitive(key, true))
  2538. ? propertyDesc(2, target[key])
  2539. : gOPD(target, key);
  2540. };
  2541. var $setDesc = function defineProperty(target, key, desc) {
  2542. if (isTAIndex(target, key = toPrimitive(key, true))
  2543. && isObject(desc)
  2544. && has(desc, 'value')
  2545. && !has(desc, 'get')
  2546. && !has(desc, 'set')
  2547. // TODO: add validation descriptor w/o calling accessors
  2548. && !desc.configurable
  2549. && (!has(desc, 'writable') || desc.writable)
  2550. && (!has(desc, 'enumerable') || desc.enumerable)
  2551. ) {
  2552. target[key] = desc.value;
  2553. return target;
  2554. } return dP(target, key, desc);
  2555. };
  2556. if (!ALL_CONSTRUCTORS) {
  2557. $GOPD.f = $getDesc;
  2558. $DP.f = $setDesc;
  2559. }
  2560. $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {
  2561. getOwnPropertyDescriptor: $getDesc,
  2562. defineProperty: $setDesc
  2563. });
  2564. if (fails(function () { arrayToString.call({}); })) {
  2565. arrayToString = arrayToLocaleString = function toString() {
  2566. return arrayJoin.call(this);
  2567. };
  2568. }
  2569. var $TypedArrayPrototype$ = redefineAll({}, proto);
  2570. redefineAll($TypedArrayPrototype$, $iterators);
  2571. hide($TypedArrayPrototype$, ITERATOR, $iterators.values);
  2572. redefineAll($TypedArrayPrototype$, {
  2573. slice: $slice,
  2574. set: $set,
  2575. constructor: function () { /* noop */ },
  2576. toString: arrayToString,
  2577. toLocaleString: $toLocaleString
  2578. });
  2579. addGetter($TypedArrayPrototype$, 'buffer', 'b');
  2580. addGetter($TypedArrayPrototype$, 'byteOffset', 'o');
  2581. addGetter($TypedArrayPrototype$, 'byteLength', 'l');
  2582. addGetter($TypedArrayPrototype$, 'length', 'e');
  2583. dP($TypedArrayPrototype$, TAG, {
  2584. get: function () { return this[TYPED_ARRAY]; }
  2585. });
  2586. // eslint-disable-next-line max-statements
  2587. module.exports = function (KEY, BYTES, wrapper, CLAMPED) {
  2588. CLAMPED = !!CLAMPED;
  2589. var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';
  2590. var GETTER = 'get' + KEY;
  2591. var SETTER = 'set' + KEY;
  2592. var TypedArray = global[NAME];
  2593. var Base = TypedArray || {};
  2594. var TAC = TypedArray && getPrototypeOf(TypedArray);
  2595. var FORCED = !TypedArray || !$typed.ABV;
  2596. var O = {};
  2597. var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
  2598. var getter = function (that, index) {
  2599. var data = that._d;
  2600. return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);
  2601. };
  2602. var setter = function (that, index, value) {
  2603. var data = that._d;
  2604. if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;
  2605. data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);
  2606. };
  2607. var addElement = function (that, index) {
  2608. dP(that, index, {
  2609. get: function () {
  2610. return getter(this, index);
  2611. },
  2612. set: function (value) {
  2613. return setter(this, index, value);
  2614. },
  2615. enumerable: true
  2616. });
  2617. };
  2618. if (FORCED) {
  2619. TypedArray = wrapper(function (that, data, $offset, $length) {
  2620. anInstance(that, TypedArray, NAME, '_d');
  2621. var index = 0;
  2622. var offset = 0;
  2623. var buffer, byteLength, length, klass;
  2624. if (!isObject(data)) {
  2625. length = toIndex(data);
  2626. byteLength = length * BYTES;
  2627. buffer = new $ArrayBuffer(byteLength);
  2628. } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
  2629. buffer = data;
  2630. offset = toOffset($offset, BYTES);
  2631. var $len = data.byteLength;
  2632. if ($length === undefined) {
  2633. if ($len % BYTES) throw RangeError(WRONG_LENGTH);
  2634. byteLength = $len - offset;
  2635. if (byteLength < 0) throw RangeError(WRONG_LENGTH);
  2636. } else {
  2637. byteLength = toLength($length) * BYTES;
  2638. if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);
  2639. }
  2640. length = byteLength / BYTES;
  2641. } else if (TYPED_ARRAY in data) {
  2642. return fromList(TypedArray, data);
  2643. } else {
  2644. return $from.call(TypedArray, data);
  2645. }
  2646. hide(that, '_d', {
  2647. b: buffer,
  2648. o: offset,
  2649. l: byteLength,
  2650. e: length,
  2651. v: new $DataView(buffer)
  2652. });
  2653. while (index < length) addElement(that, index++);
  2654. });
  2655. TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);
  2656. hide(TypedArrayPrototype, 'constructor', TypedArray);
  2657. } else if (!fails(function () {
  2658. TypedArray(1);
  2659. }) || !fails(function () {
  2660. new TypedArray(-1); // eslint-disable-line no-new
  2661. }) || !$iterDetect(function (iter) {
  2662. new TypedArray(); // eslint-disable-line no-new
  2663. new TypedArray(null); // eslint-disable-line no-new
  2664. new TypedArray(1.5); // eslint-disable-line no-new
  2665. new TypedArray(iter); // eslint-disable-line no-new
  2666. }, true)) {
  2667. TypedArray = wrapper(function (that, data, $offset, $length) {
  2668. anInstance(that, TypedArray, NAME);
  2669. var klass;
  2670. // `ws` module bug, temporarily remove validation length for Uint8Array
  2671. // https://github.com/websockets/ws/pull/645
  2672. if (!isObject(data)) return new Base(toIndex(data));
  2673. if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
  2674. return $length !== undefined
  2675. ? new Base(data, toOffset($offset, BYTES), $length)
  2676. : $offset !== undefined
  2677. ? new Base(data, toOffset($offset, BYTES))
  2678. : new Base(data);
  2679. }
  2680. if (TYPED_ARRAY in data) return fromList(TypedArray, data);
  2681. return $from.call(TypedArray, data);
  2682. });
  2683. arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {
  2684. if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);
  2685. });
  2686. TypedArray[PROTOTYPE] = TypedArrayPrototype;
  2687. if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;
  2688. }
  2689. var $nativeIterator = TypedArrayPrototype[ITERATOR];
  2690. var CORRECT_ITER_NAME = !!$nativeIterator
  2691. && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);
  2692. var $iterator = $iterators.values;
  2693. hide(TypedArray, TYPED_CONSTRUCTOR, true);
  2694. hide(TypedArrayPrototype, TYPED_ARRAY, NAME);
  2695. hide(TypedArrayPrototype, VIEW, true);
  2696. hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
  2697. if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {
  2698. dP(TypedArrayPrototype, TAG, {
  2699. get: function () { return NAME; }
  2700. });
  2701. }
  2702. O[NAME] = TypedArray;
  2703. $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
  2704. $export($export.S, NAME, {
  2705. BYTES_PER_ELEMENT: BYTES
  2706. });
  2707. $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {
  2708. from: $from,
  2709. of: $of
  2710. });
  2711. if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
  2712. $export($export.P, NAME, proto);
  2713. setSpecies(NAME);
  2714. $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });
  2715. $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
  2716. if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;
  2717. $export($export.P + $export.F * fails(function () {
  2718. new TypedArray(1).slice();
  2719. }), NAME, { slice: $slice });
  2720. $export($export.P + $export.F * (fails(function () {
  2721. return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();
  2722. }) || !fails(function () {
  2723. TypedArrayPrototype.toLocaleString.call([1, 2]);
  2724. })), NAME, { toLocaleString: $toLocaleString });
  2725. Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
  2726. if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);
  2727. };
  2728. } else module.exports = function () { /* empty */ };
  2729. },{"101":101,"103":103,"114":114,"115":115,"121":121,"125":125,"135":135,"136":136,"137":137,"139":139,"140":140,"141":141,"143":143,"144":144,"145":145,"150":150,"151":151,"162":162,"35":35,"37":37,"38":38,"39":39,"40":40,"45":45,"52":52,"56":56,"60":60,"62":62,"68":68,"69":69,"70":70,"76":76,"79":79,"84":84,"86":86,"87":87,"96":96,"97":97,"99":99}],143:[function(_dereq_,module,exports){
  2730. 'use strict';
  2731. var global = _dereq_(68);
  2732. var DESCRIPTORS = _dereq_(56);
  2733. var LIBRARY = _dereq_(87);
  2734. var $typed = _dereq_(144);
  2735. var hide = _dereq_(70);
  2736. var redefineAll = _dereq_(115);
  2737. var fails = _dereq_(62);
  2738. var anInstance = _dereq_(35);
  2739. var toInteger = _dereq_(137);
  2740. var toLength = _dereq_(139);
  2741. var toIndex = _dereq_(136);
  2742. var gOPN = _dereq_(101).f;
  2743. var dP = _dereq_(97).f;
  2744. var arrayFill = _dereq_(38);
  2745. var setToStringTag = _dereq_(122);
  2746. var ARRAY_BUFFER = 'ArrayBuffer';
  2747. var DATA_VIEW = 'DataView';
  2748. var PROTOTYPE = 'prototype';
  2749. var WRONG_LENGTH = 'Wrong length!';
  2750. var WRONG_INDEX = 'Wrong index!';
  2751. var $ArrayBuffer = global[ARRAY_BUFFER];
  2752. var $DataView = global[DATA_VIEW];
  2753. var Math = global.Math;
  2754. var RangeError = global.RangeError;
  2755. // eslint-disable-next-line no-shadow-restricted-names
  2756. var Infinity = global.Infinity;
  2757. var BaseBuffer = $ArrayBuffer;
  2758. var abs = Math.abs;
  2759. var pow = Math.pow;
  2760. var floor = Math.floor;
  2761. var log = Math.log;
  2762. var LN2 = Math.LN2;
  2763. var BUFFER = 'buffer';
  2764. var BYTE_LENGTH = 'byteLength';
  2765. var BYTE_OFFSET = 'byteOffset';
  2766. var $BUFFER = DESCRIPTORS ? '_b' : BUFFER;
  2767. var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;
  2768. var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;
  2769. // IEEE754 conversions based on https://github.com/feross/ieee754
  2770. function packIEEE754(value, mLen, nBytes) {
  2771. var buffer = new Array(nBytes);
  2772. var eLen = nBytes * 8 - mLen - 1;
  2773. var eMax = (1 << eLen) - 1;
  2774. var eBias = eMax >> 1;
  2775. var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;
  2776. var i = 0;
  2777. var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
  2778. var e, m, c;
  2779. value = abs(value);
  2780. // eslint-disable-next-line no-self-compare
  2781. if (value != value || value === Infinity) {
  2782. // eslint-disable-next-line no-self-compare
  2783. m = value != value ? 1 : 0;
  2784. e = eMax;
  2785. } else {
  2786. e = floor(log(value) / LN2);
  2787. if (value * (c = pow(2, -e)) < 1) {
  2788. e--;
  2789. c *= 2;
  2790. }
  2791. if (e + eBias >= 1) {
  2792. value += rt / c;
  2793. } else {
  2794. value += rt * pow(2, 1 - eBias);
  2795. }
  2796. if (value * c >= 2) {
  2797. e++;
  2798. c /= 2;
  2799. }
  2800. if (e + eBias >= eMax) {
  2801. m = 0;
  2802. e = eMax;
  2803. } else if (e + eBias >= 1) {
  2804. m = (value * c - 1) * pow(2, mLen);
  2805. e = e + eBias;
  2806. } else {
  2807. m = value * pow(2, eBias - 1) * pow(2, mLen);
  2808. e = 0;
  2809. }
  2810. }
  2811. for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);
  2812. e = e << mLen | m;
  2813. eLen += mLen;
  2814. for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);
  2815. buffer[--i] |= s * 128;
  2816. return buffer;
  2817. }
  2818. function unpackIEEE754(buffer, mLen, nBytes) {
  2819. var eLen = nBytes * 8 - mLen - 1;
  2820. var eMax = (1 << eLen) - 1;
  2821. var eBias = eMax >> 1;
  2822. var nBits = eLen - 7;
  2823. var i = nBytes - 1;
  2824. var s = buffer[i--];
  2825. var e = s & 127;
  2826. var m;
  2827. s >>= 7;
  2828. for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);
  2829. m = e & (1 << -nBits) - 1;
  2830. e >>= -nBits;
  2831. nBits += mLen;
  2832. for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);
  2833. if (e === 0) {
  2834. e = 1 - eBias;
  2835. } else if (e === eMax) {
  2836. return m ? NaN : s ? -Infinity : Infinity;
  2837. } else {
  2838. m = m + pow(2, mLen);
  2839. e = e - eBias;
  2840. } return (s ? -1 : 1) * m * pow(2, e - mLen);
  2841. }
  2842. function unpackI32(bytes) {
  2843. return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
  2844. }
  2845. function packI8(it) {
  2846. return [it & 0xff];
  2847. }
  2848. function packI16(it) {
  2849. return [it & 0xff, it >> 8 & 0xff];
  2850. }
  2851. function packI32(it) {
  2852. return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];
  2853. }
  2854. function packF64(it) {
  2855. return packIEEE754(it, 52, 8);
  2856. }
  2857. function packF32(it) {
  2858. return packIEEE754(it, 23, 4);
  2859. }
  2860. function addGetter(C, key, internal) {
  2861. dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });
  2862. }
  2863. function get(view, bytes, index, isLittleEndian) {
  2864. var numIndex = +index;
  2865. var intIndex = toIndex(numIndex);
  2866. if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
  2867. var store = view[$BUFFER]._b;
  2868. var start = intIndex + view[$OFFSET];
  2869. var pack = store.slice(start, start + bytes);
  2870. return isLittleEndian ? pack : pack.reverse();
  2871. }
  2872. function set(view, bytes, index, conversion, value, isLittleEndian) {
  2873. var numIndex = +index;
  2874. var intIndex = toIndex(numIndex);
  2875. if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
  2876. var store = view[$BUFFER]._b;
  2877. var start = intIndex + view[$OFFSET];
  2878. var pack = conversion(+value);
  2879. for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];
  2880. }
  2881. if (!$typed.ABV) {
  2882. $ArrayBuffer = function ArrayBuffer(length) {
  2883. anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
  2884. var byteLength = toIndex(length);
  2885. this._b = arrayFill.call(new Array(byteLength), 0);
  2886. this[$LENGTH] = byteLength;
  2887. };
  2888. $DataView = function DataView(buffer, byteOffset, byteLength) {
  2889. anInstance(this, $DataView, DATA_VIEW);
  2890. anInstance(buffer, $ArrayBuffer, DATA_VIEW);
  2891. var bufferLength = buffer[$LENGTH];
  2892. var offset = toInteger(byteOffset);
  2893. if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');
  2894. byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
  2895. if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
  2896. this[$BUFFER] = buffer;
  2897. this[$OFFSET] = offset;
  2898. this[$LENGTH] = byteLength;
  2899. };
  2900. if (DESCRIPTORS) {
  2901. addGetter($ArrayBuffer, BYTE_LENGTH, '_l');
  2902. addGetter($DataView, BUFFER, '_b');
  2903. addGetter($DataView, BYTE_LENGTH, '_l');
  2904. addGetter($DataView, BYTE_OFFSET, '_o');
  2905. }
  2906. redefineAll($DataView[PROTOTYPE], {
  2907. getInt8: function getInt8(byteOffset) {
  2908. return get(this, 1, byteOffset)[0] << 24 >> 24;
  2909. },
  2910. getUint8: function getUint8(byteOffset) {
  2911. return get(this, 1, byteOffset)[0];
  2912. },
  2913. getInt16: function getInt16(byteOffset /* , littleEndian */) {
  2914. var bytes = get(this, 2, byteOffset, arguments[1]);
  2915. return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
  2916. },
  2917. getUint16: function getUint16(byteOffset /* , littleEndian */) {
  2918. var bytes = get(this, 2, byteOffset, arguments[1]);
  2919. return bytes[1] << 8 | bytes[0];
  2920. },
  2921. getInt32: function getInt32(byteOffset /* , littleEndian */) {
  2922. return unpackI32(get(this, 4, byteOffset, arguments[1]));
  2923. },
  2924. getUint32: function getUint32(byteOffset /* , littleEndian */) {
  2925. return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
  2926. },
  2927. getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
  2928. return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
  2929. },
  2930. getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
  2931. return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
  2932. },
  2933. setInt8: function setInt8(byteOffset, value) {
  2934. set(this, 1, byteOffset, packI8, value);
  2935. },
  2936. setUint8: function setUint8(byteOffset, value) {
  2937. set(this, 1, byteOffset, packI8, value);
  2938. },
  2939. setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
  2940. set(this, 2, byteOffset, packI16, value, arguments[2]);
  2941. },
  2942. setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
  2943. set(this, 2, byteOffset, packI16, value, arguments[2]);
  2944. },
  2945. setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
  2946. set(this, 4, byteOffset, packI32, value, arguments[2]);
  2947. },
  2948. setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
  2949. set(this, 4, byteOffset, packI32, value, arguments[2]);
  2950. },
  2951. setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
  2952. set(this, 4, byteOffset, packF32, value, arguments[2]);
  2953. },
  2954. setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
  2955. set(this, 8, byteOffset, packF64, value, arguments[2]);
  2956. }
  2957. });
  2958. } else {
  2959. if (!fails(function () {
  2960. $ArrayBuffer(1);
  2961. }) || !fails(function () {
  2962. new $ArrayBuffer(-1); // eslint-disable-line no-new
  2963. }) || fails(function () {
  2964. new $ArrayBuffer(); // eslint-disable-line no-new
  2965. new $ArrayBuffer(1.5); // eslint-disable-line no-new
  2966. new $ArrayBuffer(NaN); // eslint-disable-line no-new
  2967. return $ArrayBuffer.name != ARRAY_BUFFER;
  2968. })) {
  2969. $ArrayBuffer = function ArrayBuffer(length) {
  2970. anInstance(this, $ArrayBuffer);
  2971. return new BaseBuffer(toIndex(length));
  2972. };
  2973. var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
  2974. for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {
  2975. if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);
  2976. }
  2977. if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;
  2978. }
  2979. // iOS Safari 7.x bug
  2980. var view = new $DataView(new $ArrayBuffer(2));
  2981. var $setInt8 = $DataView[PROTOTYPE].setInt8;
  2982. view.setInt8(0, 2147483648);
  2983. view.setInt8(1, 2147483649);
  2984. if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {
  2985. setInt8: function setInt8(byteOffset, value) {
  2986. $setInt8.call(this, byteOffset, value << 24 >> 24);
  2987. },
  2988. setUint8: function setUint8(byteOffset, value) {
  2989. $setInt8.call(this, byteOffset, value << 24 >> 24);
  2990. }
  2991. }, true);
  2992. }
  2993. setToStringTag($ArrayBuffer, ARRAY_BUFFER);
  2994. setToStringTag($DataView, DATA_VIEW);
  2995. hide($DataView[PROTOTYPE], $typed.VIEW, true);
  2996. exports[ARRAY_BUFFER] = $ArrayBuffer;
  2997. exports[DATA_VIEW] = $DataView;
  2998. },{"101":101,"115":115,"122":122,"136":136,"137":137,"139":139,"144":144,"35":35,"38":38,"56":56,"62":62,"68":68,"70":70,"87":87,"97":97}],144:[function(_dereq_,module,exports){
  2999. var global = _dereq_(68);
  3000. var hide = _dereq_(70);
  3001. var uid = _dereq_(145);
  3002. var TYPED = uid('typed_array');
  3003. var VIEW = uid('view');
  3004. var ABV = !!(global.ArrayBuffer && global.DataView);
  3005. var CONSTR = ABV;
  3006. var i = 0;
  3007. var l = 9;
  3008. var Typed;
  3009. var TypedArrayConstructors = (
  3010. 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
  3011. ).split(',');
  3012. while (i < l) {
  3013. if (Typed = global[TypedArrayConstructors[i++]]) {
  3014. hide(Typed.prototype, TYPED, true);
  3015. hide(Typed.prototype, VIEW, true);
  3016. } else CONSTR = false;
  3017. }
  3018. module.exports = {
  3019. ABV: ABV,
  3020. CONSTR: CONSTR,
  3021. TYPED: TYPED,
  3022. VIEW: VIEW
  3023. };
  3024. },{"145":145,"68":68,"70":70}],145:[function(_dereq_,module,exports){
  3025. var id = 0;
  3026. var px = Math.random();
  3027. module.exports = function (key) {
  3028. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  3029. };
  3030. },{}],146:[function(_dereq_,module,exports){
  3031. var global = _dereq_(68);
  3032. var navigator = global.navigator;
  3033. module.exports = navigator && navigator.userAgent || '';
  3034. },{"68":68}],147:[function(_dereq_,module,exports){
  3035. var isObject = _dereq_(79);
  3036. module.exports = function (it, TYPE) {
  3037. if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
  3038. return it;
  3039. };
  3040. },{"79":79}],148:[function(_dereq_,module,exports){
  3041. var global = _dereq_(68);
  3042. var core = _dereq_(50);
  3043. var LIBRARY = _dereq_(87);
  3044. var wksExt = _dereq_(149);
  3045. var defineProperty = _dereq_(97).f;
  3046. module.exports = function (name) {
  3047. var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
  3048. if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
  3049. };
  3050. },{"149":149,"50":50,"68":68,"87":87,"97":97}],149:[function(_dereq_,module,exports){
  3051. exports.f = _dereq_(150);
  3052. },{"150":150}],150:[function(_dereq_,module,exports){
  3053. var store = _dereq_(124)('wks');
  3054. var uid = _dereq_(145);
  3055. var Symbol = _dereq_(68).Symbol;
  3056. var USE_SYMBOL = typeof Symbol == 'function';
  3057. var $exports = module.exports = function (name) {
  3058. return store[name] || (store[name] =
  3059. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  3060. };
  3061. $exports.store = store;
  3062. },{"124":124,"145":145,"68":68}],151:[function(_dereq_,module,exports){
  3063. var classof = _dereq_(45);
  3064. var ITERATOR = _dereq_(150)('iterator');
  3065. var Iterators = _dereq_(86);
  3066. module.exports = _dereq_(50).getIteratorMethod = function (it) {
  3067. if (it != undefined) return it[ITERATOR]
  3068. || it['@@iterator']
  3069. || Iterators[classof(it)];
  3070. };
  3071. },{"150":150,"45":45,"50":50,"86":86}],152:[function(_dereq_,module,exports){
  3072. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  3073. var $export = _dereq_(60);
  3074. $export($export.P, 'Array', { copyWithin: _dereq_(37) });
  3075. _dereq_(33)('copyWithin');
  3076. },{"33":33,"37":37,"60":60}],153:[function(_dereq_,module,exports){
  3077. 'use strict';
  3078. var $export = _dereq_(60);
  3079. var $every = _dereq_(40)(4);
  3080. $export($export.P + $export.F * !_dereq_(126)([].every, true), 'Array', {
  3081. // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
  3082. every: function every(callbackfn /* , thisArg */) {
  3083. return $every(this, callbackfn, arguments[1]);
  3084. }
  3085. });
  3086. },{"126":126,"40":40,"60":60}],154:[function(_dereq_,module,exports){
  3087. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  3088. var $export = _dereq_(60);
  3089. $export($export.P, 'Array', { fill: _dereq_(38) });
  3090. _dereq_(33)('fill');
  3091. },{"33":33,"38":38,"60":60}],155:[function(_dereq_,module,exports){
  3092. 'use strict';
  3093. var $export = _dereq_(60);
  3094. var $filter = _dereq_(40)(2);
  3095. $export($export.P + $export.F * !_dereq_(126)([].filter, true), 'Array', {
  3096. // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
  3097. filter: function filter(callbackfn /* , thisArg */) {
  3098. return $filter(this, callbackfn, arguments[1]);
  3099. }
  3100. });
  3101. },{"126":126,"40":40,"60":60}],156:[function(_dereq_,module,exports){
  3102. 'use strict';
  3103. // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
  3104. var $export = _dereq_(60);
  3105. var $find = _dereq_(40)(6);
  3106. var KEY = 'findIndex';
  3107. var forced = true;
  3108. // Shouldn't skip holes
  3109. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  3110. $export($export.P + $export.F * forced, 'Array', {
  3111. findIndex: function findIndex(callbackfn /* , that = undefined */) {
  3112. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  3113. }
  3114. });
  3115. _dereq_(33)(KEY);
  3116. },{"33":33,"40":40,"60":60}],157:[function(_dereq_,module,exports){
  3117. 'use strict';
  3118. // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
  3119. var $export = _dereq_(60);
  3120. var $find = _dereq_(40)(5);
  3121. var KEY = 'find';
  3122. var forced = true;
  3123. // Shouldn't skip holes
  3124. if (KEY in []) Array(1)[KEY](function () { forced = false; });
  3125. $export($export.P + $export.F * forced, 'Array', {
  3126. find: function find(callbackfn /* , that = undefined */) {
  3127. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  3128. }
  3129. });
  3130. _dereq_(33)(KEY);
  3131. },{"33":33,"40":40,"60":60}],158:[function(_dereq_,module,exports){
  3132. 'use strict';
  3133. var $export = _dereq_(60);
  3134. var $forEach = _dereq_(40)(0);
  3135. var STRICT = _dereq_(126)([].forEach, true);
  3136. $export($export.P + $export.F * !STRICT, 'Array', {
  3137. // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
  3138. forEach: function forEach(callbackfn /* , thisArg */) {
  3139. return $forEach(this, callbackfn, arguments[1]);
  3140. }
  3141. });
  3142. },{"126":126,"40":40,"60":60}],159:[function(_dereq_,module,exports){
  3143. 'use strict';
  3144. var ctx = _dereq_(52);
  3145. var $export = _dereq_(60);
  3146. var toObject = _dereq_(140);
  3147. var call = _dereq_(81);
  3148. var isArrayIter = _dereq_(76);
  3149. var toLength = _dereq_(139);
  3150. var createProperty = _dereq_(51);
  3151. var getIterFn = _dereq_(151);
  3152. $export($export.S + $export.F * !_dereq_(84)(function (iter) { Array.from(iter); }), 'Array', {
  3153. // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
  3154. from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
  3155. var O = toObject(arrayLike);
  3156. var C = typeof this == 'function' ? this : Array;
  3157. var aLen = arguments.length;
  3158. var mapfn = aLen > 1 ? arguments[1] : undefined;
  3159. var mapping = mapfn !== undefined;
  3160. var index = 0;
  3161. var iterFn = getIterFn(O);
  3162. var length, result, step, iterator;
  3163. if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
  3164. // if object isn't iterable or it's array with default iterator - use simple case
  3165. if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
  3166. for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
  3167. createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
  3168. }
  3169. } else {
  3170. length = toLength(O.length);
  3171. for (result = new C(length); length > index; index++) {
  3172. createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
  3173. }
  3174. }
  3175. result.length = index;
  3176. return result;
  3177. }
  3178. });
  3179. },{"139":139,"140":140,"151":151,"51":51,"52":52,"60":60,"76":76,"81":81,"84":84}],160:[function(_dereq_,module,exports){
  3180. 'use strict';
  3181. var $export = _dereq_(60);
  3182. var $indexOf = _dereq_(39)(false);
  3183. var $native = [].indexOf;
  3184. var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
  3185. $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {
  3186. // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
  3187. indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
  3188. return NEGATIVE_ZERO
  3189. // convert -0 to +0
  3190. ? $native.apply(this, arguments) || 0
  3191. : $indexOf(this, searchElement, arguments[1]);
  3192. }
  3193. });
  3194. },{"126":126,"39":39,"60":60}],161:[function(_dereq_,module,exports){
  3195. // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
  3196. var $export = _dereq_(60);
  3197. $export($export.S, 'Array', { isArray: _dereq_(77) });
  3198. },{"60":60,"77":77}],162:[function(_dereq_,module,exports){
  3199. 'use strict';
  3200. var addToUnscopables = _dereq_(33);
  3201. var step = _dereq_(85);
  3202. var Iterators = _dereq_(86);
  3203. var toIObject = _dereq_(138);
  3204. // 22.1.3.4 Array.prototype.entries()
  3205. // 22.1.3.13 Array.prototype.keys()
  3206. // 22.1.3.29 Array.prototype.values()
  3207. // 22.1.3.30 Array.prototype[@@iterator]()
  3208. module.exports = _dereq_(83)(Array, 'Array', function (iterated, kind) {
  3209. this._t = toIObject(iterated); // target
  3210. this._i = 0; // next index
  3211. this._k = kind; // kind
  3212. // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
  3213. }, function () {
  3214. var O = this._t;
  3215. var kind = this._k;
  3216. var index = this._i++;
  3217. if (!O || index >= O.length) {
  3218. this._t = undefined;
  3219. return step(1);
  3220. }
  3221. if (kind == 'keys') return step(0, index);
  3222. if (kind == 'values') return step(0, O[index]);
  3223. return step(0, [index, O[index]]);
  3224. }, 'values');
  3225. // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
  3226. Iterators.Arguments = Iterators.Array;
  3227. addToUnscopables('keys');
  3228. addToUnscopables('values');
  3229. addToUnscopables('entries');
  3230. },{"138":138,"33":33,"83":83,"85":85,"86":86}],163:[function(_dereq_,module,exports){
  3231. 'use strict';
  3232. // 22.1.3.13 Array.prototype.join(separator)
  3233. var $export = _dereq_(60);
  3234. var toIObject = _dereq_(138);
  3235. var arrayJoin = [].join;
  3236. // fallback for not array-like strings
  3237. $export($export.P + $export.F * (_dereq_(75) != Object || !_dereq_(126)(arrayJoin)), 'Array', {
  3238. join: function join(separator) {
  3239. return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
  3240. }
  3241. });
  3242. },{"126":126,"138":138,"60":60,"75":75}],164:[function(_dereq_,module,exports){
  3243. 'use strict';
  3244. var $export = _dereq_(60);
  3245. var toIObject = _dereq_(138);
  3246. var toInteger = _dereq_(137);
  3247. var toLength = _dereq_(139);
  3248. var $native = [].lastIndexOf;
  3249. var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
  3250. $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {
  3251. // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
  3252. lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
  3253. // convert -0 to +0
  3254. if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
  3255. var O = toIObject(this);
  3256. var length = toLength(O.length);
  3257. var index = length - 1;
  3258. if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));
  3259. if (index < 0) index = length + index;
  3260. for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;
  3261. return -1;
  3262. }
  3263. });
  3264. },{"126":126,"137":137,"138":138,"139":139,"60":60}],165:[function(_dereq_,module,exports){
  3265. 'use strict';
  3266. var $export = _dereq_(60);
  3267. var $map = _dereq_(40)(1);
  3268. $export($export.P + $export.F * !_dereq_(126)([].map, true), 'Array', {
  3269. // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
  3270. map: function map(callbackfn /* , thisArg */) {
  3271. return $map(this, callbackfn, arguments[1]);
  3272. }
  3273. });
  3274. },{"126":126,"40":40,"60":60}],166:[function(_dereq_,module,exports){
  3275. 'use strict';
  3276. var $export = _dereq_(60);
  3277. var createProperty = _dereq_(51);
  3278. // WebKit Array.of isn't generic
  3279. $export($export.S + $export.F * _dereq_(62)(function () {
  3280. function F() { /* empty */ }
  3281. return !(Array.of.call(F) instanceof F);
  3282. }), 'Array', {
  3283. // 22.1.2.3 Array.of( ...items)
  3284. of: function of(/* ...args */) {
  3285. var index = 0;
  3286. var aLen = arguments.length;
  3287. var result = new (typeof this == 'function' ? this : Array)(aLen);
  3288. while (aLen > index) createProperty(result, index, arguments[index++]);
  3289. result.length = aLen;
  3290. return result;
  3291. }
  3292. });
  3293. },{"51":51,"60":60,"62":62}],167:[function(_dereq_,module,exports){
  3294. 'use strict';
  3295. var $export = _dereq_(60);
  3296. var $reduce = _dereq_(41);
  3297. $export($export.P + $export.F * !_dereq_(126)([].reduceRight, true), 'Array', {
  3298. // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
  3299. reduceRight: function reduceRight(callbackfn /* , initialValue */) {
  3300. return $reduce(this, callbackfn, arguments.length, arguments[1], true);
  3301. }
  3302. });
  3303. },{"126":126,"41":41,"60":60}],168:[function(_dereq_,module,exports){
  3304. 'use strict';
  3305. var $export = _dereq_(60);
  3306. var $reduce = _dereq_(41);
  3307. $export($export.P + $export.F * !_dereq_(126)([].reduce, true), 'Array', {
  3308. // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
  3309. reduce: function reduce(callbackfn /* , initialValue */) {
  3310. return $reduce(this, callbackfn, arguments.length, arguments[1], false);
  3311. }
  3312. });
  3313. },{"126":126,"41":41,"60":60}],169:[function(_dereq_,module,exports){
  3314. 'use strict';
  3315. var $export = _dereq_(60);
  3316. var html = _dereq_(71);
  3317. var cof = _dereq_(46);
  3318. var toAbsoluteIndex = _dereq_(135);
  3319. var toLength = _dereq_(139);
  3320. var arraySlice = [].slice;
  3321. // fallback for not array-like ES3 strings and DOM objects
  3322. $export($export.P + $export.F * _dereq_(62)(function () {
  3323. if (html) arraySlice.call(html);
  3324. }), 'Array', {
  3325. slice: function slice(begin, end) {
  3326. var len = toLength(this.length);
  3327. var klass = cof(this);
  3328. end = end === undefined ? len : end;
  3329. if (klass == 'Array') return arraySlice.call(this, begin, end);
  3330. var start = toAbsoluteIndex(begin, len);
  3331. var upTo = toAbsoluteIndex(end, len);
  3332. var size = toLength(upTo - start);
  3333. var cloned = new Array(size);
  3334. var i = 0;
  3335. for (; i < size; i++) cloned[i] = klass == 'String'
  3336. ? this.charAt(start + i)
  3337. : this[start + i];
  3338. return cloned;
  3339. }
  3340. });
  3341. },{"135":135,"139":139,"46":46,"60":60,"62":62,"71":71}],170:[function(_dereq_,module,exports){
  3342. 'use strict';
  3343. var $export = _dereq_(60);
  3344. var $some = _dereq_(40)(3);
  3345. $export($export.P + $export.F * !_dereq_(126)([].some, true), 'Array', {
  3346. // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
  3347. some: function some(callbackfn /* , thisArg */) {
  3348. return $some(this, callbackfn, arguments[1]);
  3349. }
  3350. });
  3351. },{"126":126,"40":40,"60":60}],171:[function(_dereq_,module,exports){
  3352. 'use strict';
  3353. var $export = _dereq_(60);
  3354. var aFunction = _dereq_(31);
  3355. var toObject = _dereq_(140);
  3356. var fails = _dereq_(62);
  3357. var $sort = [].sort;
  3358. var test = [1, 2, 3];
  3359. $export($export.P + $export.F * (fails(function () {
  3360. // IE8-
  3361. test.sort(undefined);
  3362. }) || !fails(function () {
  3363. // V8 bug
  3364. test.sort(null);
  3365. // Old WebKit
  3366. }) || !_dereq_(126)($sort)), 'Array', {
  3367. // 22.1.3.25 Array.prototype.sort(comparefn)
  3368. sort: function sort(comparefn) {
  3369. return comparefn === undefined
  3370. ? $sort.call(toObject(this))
  3371. : $sort.call(toObject(this), aFunction(comparefn));
  3372. }
  3373. });
  3374. },{"126":126,"140":140,"31":31,"60":60,"62":62}],172:[function(_dereq_,module,exports){
  3375. _dereq_(121)('Array');
  3376. },{"121":121}],173:[function(_dereq_,module,exports){
  3377. // 20.3.3.1 / 15.9.4.4 Date.now()
  3378. var $export = _dereq_(60);
  3379. $export($export.S, 'Date', { now: function () { return new Date().getTime(); } });
  3380. },{"60":60}],174:[function(_dereq_,module,exports){
  3381. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  3382. var $export = _dereq_(60);
  3383. var toISOString = _dereq_(53);
  3384. // PhantomJS / old WebKit has a broken implementations
  3385. $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
  3386. toISOString: toISOString
  3387. });
  3388. },{"53":53,"60":60}],175:[function(_dereq_,module,exports){
  3389. 'use strict';
  3390. var $export = _dereq_(60);
  3391. var toObject = _dereq_(140);
  3392. var toPrimitive = _dereq_(141);
  3393. $export($export.P + $export.F * _dereq_(62)(function () {
  3394. return new Date(NaN).toJSON() !== null
  3395. || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
  3396. }), 'Date', {
  3397. // eslint-disable-next-line no-unused-vars
  3398. toJSON: function toJSON(key) {
  3399. var O = toObject(this);
  3400. var pv = toPrimitive(O);
  3401. return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
  3402. }
  3403. });
  3404. },{"140":140,"141":141,"60":60,"62":62}],176:[function(_dereq_,module,exports){
  3405. var TO_PRIMITIVE = _dereq_(150)('toPrimitive');
  3406. var proto = Date.prototype;
  3407. if (!(TO_PRIMITIVE in proto)) _dereq_(70)(proto, TO_PRIMITIVE, _dereq_(54));
  3408. },{"150":150,"54":54,"70":70}],177:[function(_dereq_,module,exports){
  3409. var DateProto = Date.prototype;
  3410. var INVALID_DATE = 'Invalid Date';
  3411. var TO_STRING = 'toString';
  3412. var $toString = DateProto[TO_STRING];
  3413. var getTime = DateProto.getTime;
  3414. if (new Date(NaN) + '' != INVALID_DATE) {
  3415. _dereq_(116)(DateProto, TO_STRING, function toString() {
  3416. var value = getTime.call(this);
  3417. // eslint-disable-next-line no-self-compare
  3418. return value === value ? $toString.call(this) : INVALID_DATE;
  3419. });
  3420. }
  3421. },{"116":116}],178:[function(_dereq_,module,exports){
  3422. // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
  3423. var $export = _dereq_(60);
  3424. $export($export.P, 'Function', { bind: _dereq_(44) });
  3425. },{"44":44,"60":60}],179:[function(_dereq_,module,exports){
  3426. 'use strict';
  3427. var isObject = _dereq_(79);
  3428. var getPrototypeOf = _dereq_(103);
  3429. var HAS_INSTANCE = _dereq_(150)('hasInstance');
  3430. var FunctionProto = Function.prototype;
  3431. // 19.2.3.6 Function.prototype[@@hasInstance](V)
  3432. if (!(HAS_INSTANCE in FunctionProto)) _dereq_(97).f(FunctionProto, HAS_INSTANCE, { value: function (O) {
  3433. if (typeof this != 'function' || !isObject(O)) return false;
  3434. if (!isObject(this.prototype)) return O instanceof this;
  3435. // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
  3436. while (O = getPrototypeOf(O)) if (this.prototype === O) return true;
  3437. return false;
  3438. } });
  3439. },{"103":103,"150":150,"79":79,"97":97}],180:[function(_dereq_,module,exports){
  3440. var dP = _dereq_(97).f;
  3441. var FProto = Function.prototype;
  3442. var nameRE = /^\s*function ([^ (]*)/;
  3443. var NAME = 'name';
  3444. // 19.2.4.2 name
  3445. NAME in FProto || _dereq_(56) && dP(FProto, NAME, {
  3446. configurable: true,
  3447. get: function () {
  3448. try {
  3449. return ('' + this).match(nameRE)[1];
  3450. } catch (e) {
  3451. return '';
  3452. }
  3453. }
  3454. });
  3455. },{"56":56,"97":97}],181:[function(_dereq_,module,exports){
  3456. 'use strict';
  3457. var strong = _dereq_(47);
  3458. var validate = _dereq_(147);
  3459. var MAP = 'Map';
  3460. // 23.1 Map Objects
  3461. module.exports = _dereq_(49)(MAP, function (get) {
  3462. return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  3463. }, {
  3464. // 23.1.3.6 Map.prototype.get(key)
  3465. get: function get(key) {
  3466. var entry = strong.getEntry(validate(this, MAP), key);
  3467. return entry && entry.v;
  3468. },
  3469. // 23.1.3.9 Map.prototype.set(key, value)
  3470. set: function set(key, value) {
  3471. return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
  3472. }
  3473. }, strong, true);
  3474. },{"147":147,"47":47,"49":49}],182:[function(_dereq_,module,exports){
  3475. // 20.2.2.3 Math.acosh(x)
  3476. var $export = _dereq_(60);
  3477. var log1p = _dereq_(90);
  3478. var sqrt = Math.sqrt;
  3479. var $acosh = Math.acosh;
  3480. $export($export.S + $export.F * !($acosh
  3481. // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
  3482. && Math.floor($acosh(Number.MAX_VALUE)) == 710
  3483. // Tor Browser bug: Math.acosh(Infinity) -> NaN
  3484. && $acosh(Infinity) == Infinity
  3485. ), 'Math', {
  3486. acosh: function acosh(x) {
  3487. return (x = +x) < 1 ? NaN : x > 94906265.62425156
  3488. ? Math.log(x) + Math.LN2
  3489. : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
  3490. }
  3491. });
  3492. },{"60":60,"90":90}],183:[function(_dereq_,module,exports){
  3493. // 20.2.2.5 Math.asinh(x)
  3494. var $export = _dereq_(60);
  3495. var $asinh = Math.asinh;
  3496. function asinh(x) {
  3497. return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
  3498. }
  3499. // Tor Browser bug: Math.asinh(0) -> -0
  3500. $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });
  3501. },{"60":60}],184:[function(_dereq_,module,exports){
  3502. // 20.2.2.7 Math.atanh(x)
  3503. var $export = _dereq_(60);
  3504. var $atanh = Math.atanh;
  3505. // Tor Browser bug: Math.atanh(-0) -> 0
  3506. $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
  3507. atanh: function atanh(x) {
  3508. return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
  3509. }
  3510. });
  3511. },{"60":60}],185:[function(_dereq_,module,exports){
  3512. // 20.2.2.9 Math.cbrt(x)
  3513. var $export = _dereq_(60);
  3514. var sign = _dereq_(91);
  3515. $export($export.S, 'Math', {
  3516. cbrt: function cbrt(x) {
  3517. return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
  3518. }
  3519. });
  3520. },{"60":60,"91":91}],186:[function(_dereq_,module,exports){
  3521. // 20.2.2.11 Math.clz32(x)
  3522. var $export = _dereq_(60);
  3523. $export($export.S, 'Math', {
  3524. clz32: function clz32(x) {
  3525. return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
  3526. }
  3527. });
  3528. },{"60":60}],187:[function(_dereq_,module,exports){
  3529. // 20.2.2.12 Math.cosh(x)
  3530. var $export = _dereq_(60);
  3531. var exp = Math.exp;
  3532. $export($export.S, 'Math', {
  3533. cosh: function cosh(x) {
  3534. return (exp(x = +x) + exp(-x)) / 2;
  3535. }
  3536. });
  3537. },{"60":60}],188:[function(_dereq_,module,exports){
  3538. // 20.2.2.14 Math.expm1(x)
  3539. var $export = _dereq_(60);
  3540. var $expm1 = _dereq_(88);
  3541. $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });
  3542. },{"60":60,"88":88}],189:[function(_dereq_,module,exports){
  3543. // 20.2.2.16 Math.fround(x)
  3544. var $export = _dereq_(60);
  3545. $export($export.S, 'Math', { fround: _dereq_(89) });
  3546. },{"60":60,"89":89}],190:[function(_dereq_,module,exports){
  3547. // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
  3548. var $export = _dereq_(60);
  3549. var abs = Math.abs;
  3550. $export($export.S, 'Math', {
  3551. hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
  3552. var sum = 0;
  3553. var i = 0;
  3554. var aLen = arguments.length;
  3555. var larg = 0;
  3556. var arg, div;
  3557. while (i < aLen) {
  3558. arg = abs(arguments[i++]);
  3559. if (larg < arg) {
  3560. div = larg / arg;
  3561. sum = sum * div * div + 1;
  3562. larg = arg;
  3563. } else if (arg > 0) {
  3564. div = arg / larg;
  3565. sum += div * div;
  3566. } else sum += arg;
  3567. }
  3568. return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
  3569. }
  3570. });
  3571. },{"60":60}],191:[function(_dereq_,module,exports){
  3572. // 20.2.2.18 Math.imul(x, y)
  3573. var $export = _dereq_(60);
  3574. var $imul = Math.imul;
  3575. // some WebKit versions fails with big numbers, some has wrong arity
  3576. $export($export.S + $export.F * _dereq_(62)(function () {
  3577. return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
  3578. }), 'Math', {
  3579. imul: function imul(x, y) {
  3580. var UINT16 = 0xffff;
  3581. var xn = +x;
  3582. var yn = +y;
  3583. var xl = UINT16 & xn;
  3584. var yl = UINT16 & yn;
  3585. return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
  3586. }
  3587. });
  3588. },{"60":60,"62":62}],192:[function(_dereq_,module,exports){
  3589. // 20.2.2.21 Math.log10(x)
  3590. var $export = _dereq_(60);
  3591. $export($export.S, 'Math', {
  3592. log10: function log10(x) {
  3593. return Math.log(x) * Math.LOG10E;
  3594. }
  3595. });
  3596. },{"60":60}],193:[function(_dereq_,module,exports){
  3597. // 20.2.2.20 Math.log1p(x)
  3598. var $export = _dereq_(60);
  3599. $export($export.S, 'Math', { log1p: _dereq_(90) });
  3600. },{"60":60,"90":90}],194:[function(_dereq_,module,exports){
  3601. // 20.2.2.22 Math.log2(x)
  3602. var $export = _dereq_(60);
  3603. $export($export.S, 'Math', {
  3604. log2: function log2(x) {
  3605. return Math.log(x) / Math.LN2;
  3606. }
  3607. });
  3608. },{"60":60}],195:[function(_dereq_,module,exports){
  3609. // 20.2.2.28 Math.sign(x)
  3610. var $export = _dereq_(60);
  3611. $export($export.S, 'Math', { sign: _dereq_(91) });
  3612. },{"60":60,"91":91}],196:[function(_dereq_,module,exports){
  3613. // 20.2.2.30 Math.sinh(x)
  3614. var $export = _dereq_(60);
  3615. var expm1 = _dereq_(88);
  3616. var exp = Math.exp;
  3617. // V8 near Chromium 38 has a problem with very small numbers
  3618. $export($export.S + $export.F * _dereq_(62)(function () {
  3619. return !Math.sinh(-2e-17) != -2e-17;
  3620. }), 'Math', {
  3621. sinh: function sinh(x) {
  3622. return Math.abs(x = +x) < 1
  3623. ? (expm1(x) - expm1(-x)) / 2
  3624. : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
  3625. }
  3626. });
  3627. },{"60":60,"62":62,"88":88}],197:[function(_dereq_,module,exports){
  3628. // 20.2.2.33 Math.tanh(x)
  3629. var $export = _dereq_(60);
  3630. var expm1 = _dereq_(88);
  3631. var exp = Math.exp;
  3632. $export($export.S, 'Math', {
  3633. tanh: function tanh(x) {
  3634. var a = expm1(x = +x);
  3635. var b = expm1(-x);
  3636. return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
  3637. }
  3638. });
  3639. },{"60":60,"88":88}],198:[function(_dereq_,module,exports){
  3640. // 20.2.2.34 Math.trunc(x)
  3641. var $export = _dereq_(60);
  3642. $export($export.S, 'Math', {
  3643. trunc: function trunc(it) {
  3644. return (it > 0 ? Math.floor : Math.ceil)(it);
  3645. }
  3646. });
  3647. },{"60":60}],199:[function(_dereq_,module,exports){
  3648. 'use strict';
  3649. var global = _dereq_(68);
  3650. var has = _dereq_(69);
  3651. var cof = _dereq_(46);
  3652. var inheritIfRequired = _dereq_(73);
  3653. var toPrimitive = _dereq_(141);
  3654. var fails = _dereq_(62);
  3655. var gOPN = _dereq_(101).f;
  3656. var gOPD = _dereq_(99).f;
  3657. var dP = _dereq_(97).f;
  3658. var $trim = _dereq_(132).trim;
  3659. var NUMBER = 'Number';
  3660. var $Number = global[NUMBER];
  3661. var Base = $Number;
  3662. var proto = $Number.prototype;
  3663. // Opera ~12 has broken Object#toString
  3664. var BROKEN_COF = cof(_dereq_(96)(proto)) == NUMBER;
  3665. var TRIM = 'trim' in String.prototype;
  3666. // 7.1.3 ToNumber(argument)
  3667. var toNumber = function (argument) {
  3668. var it = toPrimitive(argument, false);
  3669. if (typeof it == 'string' && it.length > 2) {
  3670. it = TRIM ? it.trim() : $trim(it, 3);
  3671. var first = it.charCodeAt(0);
  3672. var third, radix, maxCode;
  3673. if (first === 43 || first === 45) {
  3674. third = it.charCodeAt(2);
  3675. if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
  3676. } else if (first === 48) {
  3677. switch (it.charCodeAt(1)) {
  3678. case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
  3679. case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
  3680. default: return +it;
  3681. }
  3682. for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
  3683. code = digits.charCodeAt(i);
  3684. // parseInt parses a string to a first unavailable symbol
  3685. // but ToNumber should return NaN if a string contains unavailable symbols
  3686. if (code < 48 || code > maxCode) return NaN;
  3687. } return parseInt(digits, radix);
  3688. }
  3689. } return +it;
  3690. };
  3691. if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
  3692. $Number = function Number(value) {
  3693. var it = arguments.length < 1 ? 0 : value;
  3694. var that = this;
  3695. return that instanceof $Number
  3696. // check on 1..constructor(foo) case
  3697. && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
  3698. ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
  3699. };
  3700. for (var keys = _dereq_(56) ? gOPN(Base) : (
  3701. // ES3:
  3702. 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
  3703. // ES6 (in case, if modules with ES6 Number statics required before):
  3704. 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
  3705. 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
  3706. ).split(','), j = 0, key; keys.length > j; j++) {
  3707. if (has(Base, key = keys[j]) && !has($Number, key)) {
  3708. dP($Number, key, gOPD(Base, key));
  3709. }
  3710. }
  3711. $Number.prototype = proto;
  3712. proto.constructor = $Number;
  3713. _dereq_(116)(global, NUMBER, $Number);
  3714. }
  3715. },{"101":101,"116":116,"132":132,"141":141,"46":46,"56":56,"62":62,"68":68,"69":69,"73":73,"96":96,"97":97,"99":99}],200:[function(_dereq_,module,exports){
  3716. // 20.1.2.1 Number.EPSILON
  3717. var $export = _dereq_(60);
  3718. $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });
  3719. },{"60":60}],201:[function(_dereq_,module,exports){
  3720. // 20.1.2.2 Number.isFinite(number)
  3721. var $export = _dereq_(60);
  3722. var _isFinite = _dereq_(68).isFinite;
  3723. $export($export.S, 'Number', {
  3724. isFinite: function isFinite(it) {
  3725. return typeof it == 'number' && _isFinite(it);
  3726. }
  3727. });
  3728. },{"60":60,"68":68}],202:[function(_dereq_,module,exports){
  3729. // 20.1.2.3 Number.isInteger(number)
  3730. var $export = _dereq_(60);
  3731. $export($export.S, 'Number', { isInteger: _dereq_(78) });
  3732. },{"60":60,"78":78}],203:[function(_dereq_,module,exports){
  3733. // 20.1.2.4 Number.isNaN(number)
  3734. var $export = _dereq_(60);
  3735. $export($export.S, 'Number', {
  3736. isNaN: function isNaN(number) {
  3737. // eslint-disable-next-line no-self-compare
  3738. return number != number;
  3739. }
  3740. });
  3741. },{"60":60}],204:[function(_dereq_,module,exports){
  3742. // 20.1.2.5 Number.isSafeInteger(number)
  3743. var $export = _dereq_(60);
  3744. var isInteger = _dereq_(78);
  3745. var abs = Math.abs;
  3746. $export($export.S, 'Number', {
  3747. isSafeInteger: function isSafeInteger(number) {
  3748. return isInteger(number) && abs(number) <= 0x1fffffffffffff;
  3749. }
  3750. });
  3751. },{"60":60,"78":78}],205:[function(_dereq_,module,exports){
  3752. // 20.1.2.6 Number.MAX_SAFE_INTEGER
  3753. var $export = _dereq_(60);
  3754. $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });
  3755. },{"60":60}],206:[function(_dereq_,module,exports){
  3756. // 20.1.2.10 Number.MIN_SAFE_INTEGER
  3757. var $export = _dereq_(60);
  3758. $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });
  3759. },{"60":60}],207:[function(_dereq_,module,exports){
  3760. var $export = _dereq_(60);
  3761. var $parseFloat = _dereq_(110);
  3762. // 20.1.2.12 Number.parseFloat(string)
  3763. $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });
  3764. },{"110":110,"60":60}],208:[function(_dereq_,module,exports){
  3765. var $export = _dereq_(60);
  3766. var $parseInt = _dereq_(111);
  3767. // 20.1.2.13 Number.parseInt(string, radix)
  3768. $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });
  3769. },{"111":111,"60":60}],209:[function(_dereq_,module,exports){
  3770. 'use strict';
  3771. var $export = _dereq_(60);
  3772. var toInteger = _dereq_(137);
  3773. var aNumberValue = _dereq_(32);
  3774. var repeat = _dereq_(131);
  3775. var $toFixed = 1.0.toFixed;
  3776. var floor = Math.floor;
  3777. var data = [0, 0, 0, 0, 0, 0];
  3778. var ERROR = 'Number.toFixed: incorrect invocation!';
  3779. var ZERO = '0';
  3780. var multiply = function (n, c) {
  3781. var i = -1;
  3782. var c2 = c;
  3783. while (++i < 6) {
  3784. c2 += n * data[i];
  3785. data[i] = c2 % 1e7;
  3786. c2 = floor(c2 / 1e7);
  3787. }
  3788. };
  3789. var divide = function (n) {
  3790. var i = 6;
  3791. var c = 0;
  3792. while (--i >= 0) {
  3793. c += data[i];
  3794. data[i] = floor(c / n);
  3795. c = (c % n) * 1e7;
  3796. }
  3797. };
  3798. var numToString = function () {
  3799. var i = 6;
  3800. var s = '';
  3801. while (--i >= 0) {
  3802. if (s !== '' || i === 0 || data[i] !== 0) {
  3803. var t = String(data[i]);
  3804. s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;
  3805. }
  3806. } return s;
  3807. };
  3808. var pow = function (x, n, acc) {
  3809. return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
  3810. };
  3811. var log = function (x) {
  3812. var n = 0;
  3813. var x2 = x;
  3814. while (x2 >= 4096) {
  3815. n += 12;
  3816. x2 /= 4096;
  3817. }
  3818. while (x2 >= 2) {
  3819. n += 1;
  3820. x2 /= 2;
  3821. } return n;
  3822. };
  3823. $export($export.P + $export.F * (!!$toFixed && (
  3824. 0.00008.toFixed(3) !== '0.000' ||
  3825. 0.9.toFixed(0) !== '1' ||
  3826. 1.255.toFixed(2) !== '1.25' ||
  3827. 1000000000000000128.0.toFixed(0) !== '1000000000000000128'
  3828. ) || !_dereq_(62)(function () {
  3829. // V8 ~ Android 4.3-
  3830. $toFixed.call({});
  3831. })), 'Number', {
  3832. toFixed: function toFixed(fractionDigits) {
  3833. var x = aNumberValue(this, ERROR);
  3834. var f = toInteger(fractionDigits);
  3835. var s = '';
  3836. var m = ZERO;
  3837. var e, z, j, k;
  3838. if (f < 0 || f > 20) throw RangeError(ERROR);
  3839. // eslint-disable-next-line no-self-compare
  3840. if (x != x) return 'NaN';
  3841. if (x <= -1e21 || x >= 1e21) return String(x);
  3842. if (x < 0) {
  3843. s = '-';
  3844. x = -x;
  3845. }
  3846. if (x > 1e-21) {
  3847. e = log(x * pow(2, 69, 1)) - 69;
  3848. z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
  3849. z *= 0x10000000000000;
  3850. e = 52 - e;
  3851. if (e > 0) {
  3852. multiply(0, z);
  3853. j = f;
  3854. while (j >= 7) {
  3855. multiply(1e7, 0);
  3856. j -= 7;
  3857. }
  3858. multiply(pow(10, j, 1), 0);
  3859. j = e - 1;
  3860. while (j >= 23) {
  3861. divide(1 << 23);
  3862. j -= 23;
  3863. }
  3864. divide(1 << j);
  3865. multiply(1, 1);
  3866. divide(2);
  3867. m = numToString();
  3868. } else {
  3869. multiply(0, z);
  3870. multiply(1 << -e, 0);
  3871. m = numToString() + repeat.call(ZERO, f);
  3872. }
  3873. }
  3874. if (f > 0) {
  3875. k = m.length;
  3876. m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));
  3877. } else {
  3878. m = s + m;
  3879. } return m;
  3880. }
  3881. });
  3882. },{"131":131,"137":137,"32":32,"60":60,"62":62}],210:[function(_dereq_,module,exports){
  3883. 'use strict';
  3884. var $export = _dereq_(60);
  3885. var $fails = _dereq_(62);
  3886. var aNumberValue = _dereq_(32);
  3887. var $toPrecision = 1.0.toPrecision;
  3888. $export($export.P + $export.F * ($fails(function () {
  3889. // IE7-
  3890. return $toPrecision.call(1, undefined) !== '1';
  3891. }) || !$fails(function () {
  3892. // V8 ~ Android 4.3-
  3893. $toPrecision.call({});
  3894. })), 'Number', {
  3895. toPrecision: function toPrecision(precision) {
  3896. var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
  3897. return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
  3898. }
  3899. });
  3900. },{"32":32,"60":60,"62":62}],211:[function(_dereq_,module,exports){
  3901. // 19.1.3.1 Object.assign(target, source)
  3902. var $export = _dereq_(60);
  3903. $export($export.S + $export.F, 'Object', { assign: _dereq_(95) });
  3904. },{"60":60,"95":95}],212:[function(_dereq_,module,exports){
  3905. var $export = _dereq_(60);
  3906. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  3907. $export($export.S, 'Object', { create: _dereq_(96) });
  3908. },{"60":60,"96":96}],213:[function(_dereq_,module,exports){
  3909. var $export = _dereq_(60);
  3910. // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
  3911. $export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperties: _dereq_(98) });
  3912. },{"56":56,"60":60,"98":98}],214:[function(_dereq_,module,exports){
  3913. var $export = _dereq_(60);
  3914. // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
  3915. $export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperty: _dereq_(97).f });
  3916. },{"56":56,"60":60,"97":97}],215:[function(_dereq_,module,exports){
  3917. // 19.1.2.5 Object.freeze(O)
  3918. var isObject = _dereq_(79);
  3919. var meta = _dereq_(92).onFreeze;
  3920. _dereq_(107)('freeze', function ($freeze) {
  3921. return function freeze(it) {
  3922. return $freeze && isObject(it) ? $freeze(meta(it)) : it;
  3923. };
  3924. });
  3925. },{"107":107,"79":79,"92":92}],216:[function(_dereq_,module,exports){
  3926. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  3927. var toIObject = _dereq_(138);
  3928. var $getOwnPropertyDescriptor = _dereq_(99).f;
  3929. _dereq_(107)('getOwnPropertyDescriptor', function () {
  3930. return function getOwnPropertyDescriptor(it, key) {
  3931. return $getOwnPropertyDescriptor(toIObject(it), key);
  3932. };
  3933. });
  3934. },{"107":107,"138":138,"99":99}],217:[function(_dereq_,module,exports){
  3935. // 19.1.2.7 Object.getOwnPropertyNames(O)
  3936. _dereq_(107)('getOwnPropertyNames', function () {
  3937. return _dereq_(100).f;
  3938. });
  3939. },{"100":100,"107":107}],218:[function(_dereq_,module,exports){
  3940. // 19.1.2.9 Object.getPrototypeOf(O)
  3941. var toObject = _dereq_(140);
  3942. var $getPrototypeOf = _dereq_(103);
  3943. _dereq_(107)('getPrototypeOf', function () {
  3944. return function getPrototypeOf(it) {
  3945. return $getPrototypeOf(toObject(it));
  3946. };
  3947. });
  3948. },{"103":103,"107":107,"140":140}],219:[function(_dereq_,module,exports){
  3949. // 19.1.2.11 Object.isExtensible(O)
  3950. var isObject = _dereq_(79);
  3951. _dereq_(107)('isExtensible', function ($isExtensible) {
  3952. return function isExtensible(it) {
  3953. return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
  3954. };
  3955. });
  3956. },{"107":107,"79":79}],220:[function(_dereq_,module,exports){
  3957. // 19.1.2.12 Object.isFrozen(O)
  3958. var isObject = _dereq_(79);
  3959. _dereq_(107)('isFrozen', function ($isFrozen) {
  3960. return function isFrozen(it) {
  3961. return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
  3962. };
  3963. });
  3964. },{"107":107,"79":79}],221:[function(_dereq_,module,exports){
  3965. // 19.1.2.13 Object.isSealed(O)
  3966. var isObject = _dereq_(79);
  3967. _dereq_(107)('isSealed', function ($isSealed) {
  3968. return function isSealed(it) {
  3969. return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
  3970. };
  3971. });
  3972. },{"107":107,"79":79}],222:[function(_dereq_,module,exports){
  3973. // 19.1.3.10 Object.is(value1, value2)
  3974. var $export = _dereq_(60);
  3975. $export($export.S, 'Object', { is: _dereq_(119) });
  3976. },{"119":119,"60":60}],223:[function(_dereq_,module,exports){
  3977. // 19.1.2.14 Object.keys(O)
  3978. var toObject = _dereq_(140);
  3979. var $keys = _dereq_(105);
  3980. _dereq_(107)('keys', function () {
  3981. return function keys(it) {
  3982. return $keys(toObject(it));
  3983. };
  3984. });
  3985. },{"105":105,"107":107,"140":140}],224:[function(_dereq_,module,exports){
  3986. // 19.1.2.15 Object.preventExtensions(O)
  3987. var isObject = _dereq_(79);
  3988. var meta = _dereq_(92).onFreeze;
  3989. _dereq_(107)('preventExtensions', function ($preventExtensions) {
  3990. return function preventExtensions(it) {
  3991. return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
  3992. };
  3993. });
  3994. },{"107":107,"79":79,"92":92}],225:[function(_dereq_,module,exports){
  3995. // 19.1.2.17 Object.seal(O)
  3996. var isObject = _dereq_(79);
  3997. var meta = _dereq_(92).onFreeze;
  3998. _dereq_(107)('seal', function ($seal) {
  3999. return function seal(it) {
  4000. return $seal && isObject(it) ? $seal(meta(it)) : it;
  4001. };
  4002. });
  4003. },{"107":107,"79":79,"92":92}],226:[function(_dereq_,module,exports){
  4004. // 19.1.3.19 Object.setPrototypeOf(O, proto)
  4005. var $export = _dereq_(60);
  4006. $export($export.S, 'Object', { setPrototypeOf: _dereq_(120).set });
  4007. },{"120":120,"60":60}],227:[function(_dereq_,module,exports){
  4008. 'use strict';
  4009. // 19.1.3.6 Object.prototype.toString()
  4010. var classof = _dereq_(45);
  4011. var test = {};
  4012. test[_dereq_(150)('toStringTag')] = 'z';
  4013. if (test + '' != '[object z]') {
  4014. _dereq_(116)(Object.prototype, 'toString', function toString() {
  4015. return '[object ' + classof(this) + ']';
  4016. }, true);
  4017. }
  4018. },{"116":116,"150":150,"45":45}],228:[function(_dereq_,module,exports){
  4019. var $export = _dereq_(60);
  4020. var $parseFloat = _dereq_(110);
  4021. // 18.2.4 parseFloat(string)
  4022. $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });
  4023. },{"110":110,"60":60}],229:[function(_dereq_,module,exports){
  4024. var $export = _dereq_(60);
  4025. var $parseInt = _dereq_(111);
  4026. // 18.2.5 parseInt(string, radix)
  4027. $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
  4028. },{"111":111,"60":60}],230:[function(_dereq_,module,exports){
  4029. 'use strict';
  4030. var LIBRARY = _dereq_(87);
  4031. var global = _dereq_(68);
  4032. var ctx = _dereq_(52);
  4033. var classof = _dereq_(45);
  4034. var $export = _dereq_(60);
  4035. var isObject = _dereq_(79);
  4036. var aFunction = _dereq_(31);
  4037. var anInstance = _dereq_(35);
  4038. var forOf = _dereq_(66);
  4039. var speciesConstructor = _dereq_(125);
  4040. var task = _dereq_(134).set;
  4041. var microtask = _dereq_(93)();
  4042. var newPromiseCapabilityModule = _dereq_(94);
  4043. var perform = _dereq_(112);
  4044. var userAgent = _dereq_(146);
  4045. var promiseResolve = _dereq_(113);
  4046. var PROMISE = 'Promise';
  4047. var TypeError = global.TypeError;
  4048. var process = global.process;
  4049. var versions = process && process.versions;
  4050. var v8 = versions && versions.v8 || '';
  4051. var $Promise = global[PROMISE];
  4052. var isNode = classof(process) == 'process';
  4053. var empty = function () { /* empty */ };
  4054. var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
  4055. var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
  4056. var USE_NATIVE = !!function () {
  4057. try {
  4058. // correct subclassing with @@species support
  4059. var promise = $Promise.resolve(1);
  4060. var FakePromise = (promise.constructor = {})[_dereq_(150)('species')] = function (exec) {
  4061. exec(empty, empty);
  4062. };
  4063. // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
  4064. return (isNode || typeof PromiseRejectionEvent == 'function')
  4065. && promise.then(empty) instanceof FakePromise
  4066. // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
  4067. // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
  4068. // we can't detect it synchronously, so just check versions
  4069. && v8.indexOf('6.6') !== 0
  4070. && userAgent.indexOf('Chrome/66') === -1;
  4071. } catch (e) { /* empty */ }
  4072. }();
  4073. // helpers
  4074. var isThenable = function (it) {
  4075. var then;
  4076. return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
  4077. };
  4078. var notify = function (promise, isReject) {
  4079. if (promise._n) return;
  4080. promise._n = true;
  4081. var chain = promise._c;
  4082. microtask(function () {
  4083. var value = promise._v;
  4084. var ok = promise._s == 1;
  4085. var i = 0;
  4086. var run = function (reaction) {
  4087. var handler = ok ? reaction.ok : reaction.fail;
  4088. var resolve = reaction.resolve;
  4089. var reject = reaction.reject;
  4090. var domain = reaction.domain;
  4091. var result, then, exited;
  4092. try {
  4093. if (handler) {
  4094. if (!ok) {
  4095. if (promise._h == 2) onHandleUnhandled(promise);
  4096. promise._h = 1;
  4097. }
  4098. if (handler === true) result = value;
  4099. else {
  4100. if (domain) domain.enter();
  4101. result = handler(value); // may throw
  4102. if (domain) {
  4103. domain.exit();
  4104. exited = true;
  4105. }
  4106. }
  4107. if (result === reaction.promise) {
  4108. reject(TypeError('Promise-chain cycle'));
  4109. } else if (then = isThenable(result)) {
  4110. then.call(result, resolve, reject);
  4111. } else resolve(result);
  4112. } else reject(value);
  4113. } catch (e) {
  4114. if (domain && !exited) domain.exit();
  4115. reject(e);
  4116. }
  4117. };
  4118. while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
  4119. promise._c = [];
  4120. promise._n = false;
  4121. if (isReject && !promise._h) onUnhandled(promise);
  4122. });
  4123. };
  4124. var onUnhandled = function (promise) {
  4125. task.call(global, function () {
  4126. var value = promise._v;
  4127. var unhandled = isUnhandled(promise);
  4128. var result, handler, console;
  4129. if (unhandled) {
  4130. result = perform(function () {
  4131. if (isNode) {
  4132. process.emit('unhandledRejection', value, promise);
  4133. } else if (handler = global.onunhandledrejection) {
  4134. handler({ promise: promise, reason: value });
  4135. } else if ((console = global.console) && console.error) {
  4136. console.error('Unhandled promise rejection', value);
  4137. }
  4138. });
  4139. // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
  4140. promise._h = isNode || isUnhandled(promise) ? 2 : 1;
  4141. } promise._a = undefined;
  4142. if (unhandled && result.e) throw result.v;
  4143. });
  4144. };
  4145. var isUnhandled = function (promise) {
  4146. return promise._h !== 1 && (promise._a || promise._c).length === 0;
  4147. };
  4148. var onHandleUnhandled = function (promise) {
  4149. task.call(global, function () {
  4150. var handler;
  4151. if (isNode) {
  4152. process.emit('rejectionHandled', promise);
  4153. } else if (handler = global.onrejectionhandled) {
  4154. handler({ promise: promise, reason: promise._v });
  4155. }
  4156. });
  4157. };
  4158. var $reject = function (value) {
  4159. var promise = this;
  4160. if (promise._d) return;
  4161. promise._d = true;
  4162. promise = promise._w || promise; // unwrap
  4163. promise._v = value;
  4164. promise._s = 2;
  4165. if (!promise._a) promise._a = promise._c.slice();
  4166. notify(promise, true);
  4167. };
  4168. var $resolve = function (value) {
  4169. var promise = this;
  4170. var then;
  4171. if (promise._d) return;
  4172. promise._d = true;
  4173. promise = promise._w || promise; // unwrap
  4174. try {
  4175. if (promise === value) throw TypeError("Promise can't be resolved itself");
  4176. if (then = isThenable(value)) {
  4177. microtask(function () {
  4178. var wrapper = { _w: promise, _d: false }; // wrap
  4179. try {
  4180. then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
  4181. } catch (e) {
  4182. $reject.call(wrapper, e);
  4183. }
  4184. });
  4185. } else {
  4186. promise._v = value;
  4187. promise._s = 1;
  4188. notify(promise, false);
  4189. }
  4190. } catch (e) {
  4191. $reject.call({ _w: promise, _d: false }, e); // wrap
  4192. }
  4193. };
  4194. // constructor polyfill
  4195. if (!USE_NATIVE) {
  4196. // 25.4.3.1 Promise(executor)
  4197. $Promise = function Promise(executor) {
  4198. anInstance(this, $Promise, PROMISE, '_h');
  4199. aFunction(executor);
  4200. Internal.call(this);
  4201. try {
  4202. executor(ctx($resolve, this, 1), ctx($reject, this, 1));
  4203. } catch (err) {
  4204. $reject.call(this, err);
  4205. }
  4206. };
  4207. // eslint-disable-next-line no-unused-vars
  4208. Internal = function Promise(executor) {
  4209. this._c = []; // <- awaiting reactions
  4210. this._a = undefined; // <- checked in isUnhandled reactions
  4211. this._s = 0; // <- state
  4212. this._d = false; // <- done
  4213. this._v = undefined; // <- value
  4214. this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
  4215. this._n = false; // <- notify
  4216. };
  4217. Internal.prototype = _dereq_(115)($Promise.prototype, {
  4218. // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
  4219. then: function then(onFulfilled, onRejected) {
  4220. var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
  4221. reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
  4222. reaction.fail = typeof onRejected == 'function' && onRejected;
  4223. reaction.domain = isNode ? process.domain : undefined;
  4224. this._c.push(reaction);
  4225. if (this._a) this._a.push(reaction);
  4226. if (this._s) notify(this, false);
  4227. return reaction.promise;
  4228. },
  4229. // 25.4.5.1 Promise.prototype.catch(onRejected)
  4230. 'catch': function (onRejected) {
  4231. return this.then(undefined, onRejected);
  4232. }
  4233. });
  4234. OwnPromiseCapability = function () {
  4235. var promise = new Internal();
  4236. this.promise = promise;
  4237. this.resolve = ctx($resolve, promise, 1);
  4238. this.reject = ctx($reject, promise, 1);
  4239. };
  4240. newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
  4241. return C === $Promise || C === Wrapper
  4242. ? new OwnPromiseCapability(C)
  4243. : newGenericPromiseCapability(C);
  4244. };
  4245. }
  4246. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
  4247. _dereq_(122)($Promise, PROMISE);
  4248. _dereq_(121)(PROMISE);
  4249. Wrapper = _dereq_(50)[PROMISE];
  4250. // statics
  4251. $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
  4252. // 25.4.4.5 Promise.reject(r)
  4253. reject: function reject(r) {
  4254. var capability = newPromiseCapability(this);
  4255. var $$reject = capability.reject;
  4256. $$reject(r);
  4257. return capability.promise;
  4258. }
  4259. });
  4260. $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
  4261. // 25.4.4.6 Promise.resolve(x)
  4262. resolve: function resolve(x) {
  4263. return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
  4264. }
  4265. });
  4266. $export($export.S + $export.F * !(USE_NATIVE && _dereq_(84)(function (iter) {
  4267. $Promise.all(iter)['catch'](empty);
  4268. })), PROMISE, {
  4269. // 25.4.4.1 Promise.all(iterable)
  4270. all: function all(iterable) {
  4271. var C = this;
  4272. var capability = newPromiseCapability(C);
  4273. var resolve = capability.resolve;
  4274. var reject = capability.reject;
  4275. var result = perform(function () {
  4276. var values = [];
  4277. var index = 0;
  4278. var remaining = 1;
  4279. forOf(iterable, false, function (promise) {
  4280. var $index = index++;
  4281. var alreadyCalled = false;
  4282. values.push(undefined);
  4283. remaining++;
  4284. C.resolve(promise).then(function (value) {
  4285. if (alreadyCalled) return;
  4286. alreadyCalled = true;
  4287. values[$index] = value;
  4288. --remaining || resolve(values);
  4289. }, reject);
  4290. });
  4291. --remaining || resolve(values);
  4292. });
  4293. if (result.e) reject(result.v);
  4294. return capability.promise;
  4295. },
  4296. // 25.4.4.4 Promise.race(iterable)
  4297. race: function race(iterable) {
  4298. var C = this;
  4299. var capability = newPromiseCapability(C);
  4300. var reject = capability.reject;
  4301. var result = perform(function () {
  4302. forOf(iterable, false, function (promise) {
  4303. C.resolve(promise).then(capability.resolve, reject);
  4304. });
  4305. });
  4306. if (result.e) reject(result.v);
  4307. return capability.promise;
  4308. }
  4309. });
  4310. },{"112":112,"113":113,"115":115,"121":121,"122":122,"125":125,"134":134,"146":146,"150":150,"31":31,"35":35,"45":45,"50":50,"52":52,"60":60,"66":66,"68":68,"79":79,"84":84,"87":87,"93":93,"94":94}],231:[function(_dereq_,module,exports){
  4311. // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
  4312. var $export = _dereq_(60);
  4313. var aFunction = _dereq_(31);
  4314. var anObject = _dereq_(36);
  4315. var rApply = (_dereq_(68).Reflect || {}).apply;
  4316. var fApply = Function.apply;
  4317. // MS Edge argumentsList argument is optional
  4318. $export($export.S + $export.F * !_dereq_(62)(function () {
  4319. rApply(function () { /* empty */ });
  4320. }), 'Reflect', {
  4321. apply: function apply(target, thisArgument, argumentsList) {
  4322. var T = aFunction(target);
  4323. var L = anObject(argumentsList);
  4324. return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);
  4325. }
  4326. });
  4327. },{"31":31,"36":36,"60":60,"62":62,"68":68}],232:[function(_dereq_,module,exports){
  4328. // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
  4329. var $export = _dereq_(60);
  4330. var create = _dereq_(96);
  4331. var aFunction = _dereq_(31);
  4332. var anObject = _dereq_(36);
  4333. var isObject = _dereq_(79);
  4334. var fails = _dereq_(62);
  4335. var bind = _dereq_(44);
  4336. var rConstruct = (_dereq_(68).Reflect || {}).construct;
  4337. // MS Edge supports only 2 arguments and argumentsList argument is optional
  4338. // FF Nightly sets third argument as `new.target`, but does not create `this` from it
  4339. var NEW_TARGET_BUG = fails(function () {
  4340. function F() { /* empty */ }
  4341. return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
  4342. });
  4343. var ARGS_BUG = !fails(function () {
  4344. rConstruct(function () { /* empty */ });
  4345. });
  4346. $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
  4347. construct: function construct(Target, args /* , newTarget */) {
  4348. aFunction(Target);
  4349. anObject(args);
  4350. var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
  4351. if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
  4352. if (Target == newTarget) {
  4353. // w/o altered newTarget, optimization for 0-4 arguments
  4354. switch (args.length) {
  4355. case 0: return new Target();
  4356. case 1: return new Target(args[0]);
  4357. case 2: return new Target(args[0], args[1]);
  4358. case 3: return new Target(args[0], args[1], args[2]);
  4359. case 4: return new Target(args[0], args[1], args[2], args[3]);
  4360. }
  4361. // w/o altered newTarget, lot of arguments case
  4362. var $args = [null];
  4363. $args.push.apply($args, args);
  4364. return new (bind.apply(Target, $args))();
  4365. }
  4366. // with altered newTarget, not support built-in constructors
  4367. var proto = newTarget.prototype;
  4368. var instance = create(isObject(proto) ? proto : Object.prototype);
  4369. var result = Function.apply.call(Target, instance, args);
  4370. return isObject(result) ? result : instance;
  4371. }
  4372. });
  4373. },{"31":31,"36":36,"44":44,"60":60,"62":62,"68":68,"79":79,"96":96}],233:[function(_dereq_,module,exports){
  4374. // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
  4375. var dP = _dereq_(97);
  4376. var $export = _dereq_(60);
  4377. var anObject = _dereq_(36);
  4378. var toPrimitive = _dereq_(141);
  4379. // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
  4380. $export($export.S + $export.F * _dereq_(62)(function () {
  4381. // eslint-disable-next-line no-undef
  4382. Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });
  4383. }), 'Reflect', {
  4384. defineProperty: function defineProperty(target, propertyKey, attributes) {
  4385. anObject(target);
  4386. propertyKey = toPrimitive(propertyKey, true);
  4387. anObject(attributes);
  4388. try {
  4389. dP.f(target, propertyKey, attributes);
  4390. return true;
  4391. } catch (e) {
  4392. return false;
  4393. }
  4394. }
  4395. });
  4396. },{"141":141,"36":36,"60":60,"62":62,"97":97}],234:[function(_dereq_,module,exports){
  4397. // 26.1.4 Reflect.deleteProperty(target, propertyKey)
  4398. var $export = _dereq_(60);
  4399. var gOPD = _dereq_(99).f;
  4400. var anObject = _dereq_(36);
  4401. $export($export.S, 'Reflect', {
  4402. deleteProperty: function deleteProperty(target, propertyKey) {
  4403. var desc = gOPD(anObject(target), propertyKey);
  4404. return desc && !desc.configurable ? false : delete target[propertyKey];
  4405. }
  4406. });
  4407. },{"36":36,"60":60,"99":99}],235:[function(_dereq_,module,exports){
  4408. 'use strict';
  4409. // 26.1.5 Reflect.enumerate(target)
  4410. var $export = _dereq_(60);
  4411. var anObject = _dereq_(36);
  4412. var Enumerate = function (iterated) {
  4413. this._t = anObject(iterated); // target
  4414. this._i = 0; // next index
  4415. var keys = this._k = []; // keys
  4416. var key;
  4417. for (key in iterated) keys.push(key);
  4418. };
  4419. _dereq_(82)(Enumerate, 'Object', function () {
  4420. var that = this;
  4421. var keys = that._k;
  4422. var key;
  4423. do {
  4424. if (that._i >= keys.length) return { value: undefined, done: true };
  4425. } while (!((key = keys[that._i++]) in that._t));
  4426. return { value: key, done: false };
  4427. });
  4428. $export($export.S, 'Reflect', {
  4429. enumerate: function enumerate(target) {
  4430. return new Enumerate(target);
  4431. }
  4432. });
  4433. },{"36":36,"60":60,"82":82}],236:[function(_dereq_,module,exports){
  4434. // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
  4435. var gOPD = _dereq_(99);
  4436. var $export = _dereq_(60);
  4437. var anObject = _dereq_(36);
  4438. $export($export.S, 'Reflect', {
  4439. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
  4440. return gOPD.f(anObject(target), propertyKey);
  4441. }
  4442. });
  4443. },{"36":36,"60":60,"99":99}],237:[function(_dereq_,module,exports){
  4444. // 26.1.8 Reflect.getPrototypeOf(target)
  4445. var $export = _dereq_(60);
  4446. var getProto = _dereq_(103);
  4447. var anObject = _dereq_(36);
  4448. $export($export.S, 'Reflect', {
  4449. getPrototypeOf: function getPrototypeOf(target) {
  4450. return getProto(anObject(target));
  4451. }
  4452. });
  4453. },{"103":103,"36":36,"60":60}],238:[function(_dereq_,module,exports){
  4454. // 26.1.6 Reflect.get(target, propertyKey [, receiver])
  4455. var gOPD = _dereq_(99);
  4456. var getPrototypeOf = _dereq_(103);
  4457. var has = _dereq_(69);
  4458. var $export = _dereq_(60);
  4459. var isObject = _dereq_(79);
  4460. var anObject = _dereq_(36);
  4461. function get(target, propertyKey /* , receiver */) {
  4462. var receiver = arguments.length < 3 ? target : arguments[2];
  4463. var desc, proto;
  4464. if (anObject(target) === receiver) return target[propertyKey];
  4465. if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
  4466. ? desc.value
  4467. : desc.get !== undefined
  4468. ? desc.get.call(receiver)
  4469. : undefined;
  4470. if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
  4471. }
  4472. $export($export.S, 'Reflect', { get: get });
  4473. },{"103":103,"36":36,"60":60,"69":69,"79":79,"99":99}],239:[function(_dereq_,module,exports){
  4474. // 26.1.9 Reflect.has(target, propertyKey)
  4475. var $export = _dereq_(60);
  4476. $export($export.S, 'Reflect', {
  4477. has: function has(target, propertyKey) {
  4478. return propertyKey in target;
  4479. }
  4480. });
  4481. },{"60":60}],240:[function(_dereq_,module,exports){
  4482. // 26.1.10 Reflect.isExtensible(target)
  4483. var $export = _dereq_(60);
  4484. var anObject = _dereq_(36);
  4485. var $isExtensible = Object.isExtensible;
  4486. $export($export.S, 'Reflect', {
  4487. isExtensible: function isExtensible(target) {
  4488. anObject(target);
  4489. return $isExtensible ? $isExtensible(target) : true;
  4490. }
  4491. });
  4492. },{"36":36,"60":60}],241:[function(_dereq_,module,exports){
  4493. // 26.1.11 Reflect.ownKeys(target)
  4494. var $export = _dereq_(60);
  4495. $export($export.S, 'Reflect', { ownKeys: _dereq_(109) });
  4496. },{"109":109,"60":60}],242:[function(_dereq_,module,exports){
  4497. // 26.1.12 Reflect.preventExtensions(target)
  4498. var $export = _dereq_(60);
  4499. var anObject = _dereq_(36);
  4500. var $preventExtensions = Object.preventExtensions;
  4501. $export($export.S, 'Reflect', {
  4502. preventExtensions: function preventExtensions(target) {
  4503. anObject(target);
  4504. try {
  4505. if ($preventExtensions) $preventExtensions(target);
  4506. return true;
  4507. } catch (e) {
  4508. return false;
  4509. }
  4510. }
  4511. });
  4512. },{"36":36,"60":60}],243:[function(_dereq_,module,exports){
  4513. // 26.1.14 Reflect.setPrototypeOf(target, proto)
  4514. var $export = _dereq_(60);
  4515. var setProto = _dereq_(120);
  4516. if (setProto) $export($export.S, 'Reflect', {
  4517. setPrototypeOf: function setPrototypeOf(target, proto) {
  4518. setProto.check(target, proto);
  4519. try {
  4520. setProto.set(target, proto);
  4521. return true;
  4522. } catch (e) {
  4523. return false;
  4524. }
  4525. }
  4526. });
  4527. },{"120":120,"60":60}],244:[function(_dereq_,module,exports){
  4528. // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
  4529. var dP = _dereq_(97);
  4530. var gOPD = _dereq_(99);
  4531. var getPrototypeOf = _dereq_(103);
  4532. var has = _dereq_(69);
  4533. var $export = _dereq_(60);
  4534. var createDesc = _dereq_(114);
  4535. var anObject = _dereq_(36);
  4536. var isObject = _dereq_(79);
  4537. function set(target, propertyKey, V /* , receiver */) {
  4538. var receiver = arguments.length < 4 ? target : arguments[3];
  4539. var ownDesc = gOPD.f(anObject(target), propertyKey);
  4540. var existingDescriptor, proto;
  4541. if (!ownDesc) {
  4542. if (isObject(proto = getPrototypeOf(target))) {
  4543. return set(proto, propertyKey, V, receiver);
  4544. }
  4545. ownDesc = createDesc(0);
  4546. }
  4547. if (has(ownDesc, 'value')) {
  4548. if (ownDesc.writable === false || !isObject(receiver)) return false;
  4549. if (existingDescriptor = gOPD.f(receiver, propertyKey)) {
  4550. if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
  4551. existingDescriptor.value = V;
  4552. dP.f(receiver, propertyKey, existingDescriptor);
  4553. } else dP.f(receiver, propertyKey, createDesc(0, V));
  4554. return true;
  4555. }
  4556. return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
  4557. }
  4558. $export($export.S, 'Reflect', { set: set });
  4559. },{"103":103,"114":114,"36":36,"60":60,"69":69,"79":79,"97":97,"99":99}],245:[function(_dereq_,module,exports){
  4560. var global = _dereq_(68);
  4561. var inheritIfRequired = _dereq_(73);
  4562. var dP = _dereq_(97).f;
  4563. var gOPN = _dereq_(101).f;
  4564. var isRegExp = _dereq_(80);
  4565. var $flags = _dereq_(64);
  4566. var $RegExp = global.RegExp;
  4567. var Base = $RegExp;
  4568. var proto = $RegExp.prototype;
  4569. var re1 = /a/g;
  4570. var re2 = /a/g;
  4571. // "new" creates a new object, old webkit buggy here
  4572. var CORRECT_NEW = new $RegExp(re1) !== re1;
  4573. if (_dereq_(56) && (!CORRECT_NEW || _dereq_(62)(function () {
  4574. re2[_dereq_(150)('match')] = false;
  4575. // RegExp constructor can alter flags and IsRegExp works correct with @@match
  4576. return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
  4577. }))) {
  4578. $RegExp = function RegExp(p, f) {
  4579. var tiRE = this instanceof $RegExp;
  4580. var piRE = isRegExp(p);
  4581. var fiU = f === undefined;
  4582. return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
  4583. : inheritIfRequired(CORRECT_NEW
  4584. ? new Base(piRE && !fiU ? p.source : p, f)
  4585. : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
  4586. , tiRE ? this : proto, $RegExp);
  4587. };
  4588. var proxy = function (key) {
  4589. key in $RegExp || dP($RegExp, key, {
  4590. configurable: true,
  4591. get: function () { return Base[key]; },
  4592. set: function (it) { Base[key] = it; }
  4593. });
  4594. };
  4595. for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
  4596. proto.constructor = $RegExp;
  4597. $RegExp.prototype = proto;
  4598. _dereq_(116)(global, 'RegExp', $RegExp);
  4599. }
  4600. _dereq_(121)('RegExp');
  4601. },{"101":101,"116":116,"121":121,"150":150,"56":56,"62":62,"64":64,"68":68,"73":73,"80":80,"97":97}],246:[function(_dereq_,module,exports){
  4602. 'use strict';
  4603. var regexpExec = _dereq_(118);
  4604. _dereq_(60)({
  4605. target: 'RegExp',
  4606. proto: true,
  4607. forced: regexpExec !== /./.exec
  4608. }, {
  4609. exec: regexpExec
  4610. });
  4611. },{"118":118,"60":60}],247:[function(_dereq_,module,exports){
  4612. // 21.2.5.3 get RegExp.prototype.flags()
  4613. if (_dereq_(56) && /./g.flags != 'g') _dereq_(97).f(RegExp.prototype, 'flags', {
  4614. configurable: true,
  4615. get: _dereq_(64)
  4616. });
  4617. },{"56":56,"64":64,"97":97}],248:[function(_dereq_,module,exports){
  4618. 'use strict';
  4619. var anObject = _dereq_(36);
  4620. var toLength = _dereq_(139);
  4621. var advanceStringIndex = _dereq_(34);
  4622. var regExpExec = _dereq_(117);
  4623. // @@match logic
  4624. _dereq_(63)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
  4625. return [
  4626. // `String.prototype.match` method
  4627. // https://tc39.github.io/ecma262/#sec-string.prototype.match
  4628. function match(regexp) {
  4629. var O = defined(this);
  4630. var fn = regexp == undefined ? undefined : regexp[MATCH];
  4631. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  4632. },
  4633. // `RegExp.prototype[@@match]` method
  4634. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
  4635. function (regexp) {
  4636. var res = maybeCallNative($match, regexp, this);
  4637. if (res.done) return res.value;
  4638. var rx = anObject(regexp);
  4639. var S = String(this);
  4640. if (!rx.global) return regExpExec(rx, S);
  4641. var fullUnicode = rx.unicode;
  4642. rx.lastIndex = 0;
  4643. var A = [];
  4644. var n = 0;
  4645. var result;
  4646. while ((result = regExpExec(rx, S)) !== null) {
  4647. var matchStr = String(result[0]);
  4648. A[n] = matchStr;
  4649. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  4650. n++;
  4651. }
  4652. return n === 0 ? null : A;
  4653. }
  4654. ];
  4655. });
  4656. },{"117":117,"139":139,"34":34,"36":36,"63":63}],249:[function(_dereq_,module,exports){
  4657. 'use strict';
  4658. var anObject = _dereq_(36);
  4659. var toObject = _dereq_(140);
  4660. var toLength = _dereq_(139);
  4661. var toInteger = _dereq_(137);
  4662. var advanceStringIndex = _dereq_(34);
  4663. var regExpExec = _dereq_(117);
  4664. var max = Math.max;
  4665. var min = Math.min;
  4666. var floor = Math.floor;
  4667. var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
  4668. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
  4669. var maybeToString = function (it) {
  4670. return it === undefined ? it : String(it);
  4671. };
  4672. // @@replace logic
  4673. _dereq_(63)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
  4674. return [
  4675. // `String.prototype.replace` method
  4676. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  4677. function replace(searchValue, replaceValue) {
  4678. var O = defined(this);
  4679. var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
  4680. return fn !== undefined
  4681. ? fn.call(searchValue, O, replaceValue)
  4682. : $replace.call(String(O), searchValue, replaceValue);
  4683. },
  4684. // `RegExp.prototype[@@replace]` method
  4685. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  4686. function (regexp, replaceValue) {
  4687. var res = maybeCallNative($replace, regexp, this, replaceValue);
  4688. if (res.done) return res.value;
  4689. var rx = anObject(regexp);
  4690. var S = String(this);
  4691. var functionalReplace = typeof replaceValue === 'function';
  4692. if (!functionalReplace) replaceValue = String(replaceValue);
  4693. var global = rx.global;
  4694. if (global) {
  4695. var fullUnicode = rx.unicode;
  4696. rx.lastIndex = 0;
  4697. }
  4698. var results = [];
  4699. while (true) {
  4700. var result = regExpExec(rx, S);
  4701. if (result === null) break;
  4702. results.push(result);
  4703. if (!global) break;
  4704. var matchStr = String(result[0]);
  4705. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  4706. }
  4707. var accumulatedResult = '';
  4708. var nextSourcePosition = 0;
  4709. for (var i = 0; i < results.length; i++) {
  4710. result = results[i];
  4711. var matched = String(result[0]);
  4712. var position = max(min(toInteger(result.index), S.length), 0);
  4713. var captures = [];
  4714. // NOTE: This is equivalent to
  4715. // captures = result.slice(1).map(maybeToString)
  4716. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  4717. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  4718. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  4719. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  4720. var namedCaptures = result.groups;
  4721. if (functionalReplace) {
  4722. var replacerArgs = [matched].concat(captures, position, S);
  4723. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  4724. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  4725. } else {
  4726. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  4727. }
  4728. if (position >= nextSourcePosition) {
  4729. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  4730. nextSourcePosition = position + matched.length;
  4731. }
  4732. }
  4733. return accumulatedResult + S.slice(nextSourcePosition);
  4734. }
  4735. ];
  4736. // https://tc39.github.io/ecma262/#sec-getsubstitution
  4737. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  4738. var tailPos = position + matched.length;
  4739. var m = captures.length;
  4740. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  4741. if (namedCaptures !== undefined) {
  4742. namedCaptures = toObject(namedCaptures);
  4743. symbols = SUBSTITUTION_SYMBOLS;
  4744. }
  4745. return $replace.call(replacement, symbols, function (match, ch) {
  4746. var capture;
  4747. switch (ch.charAt(0)) {
  4748. case '$': return '$';
  4749. case '&': return matched;
  4750. case '`': return str.slice(0, position);
  4751. case "'": return str.slice(tailPos);
  4752. case '<':
  4753. capture = namedCaptures[ch.slice(1, -1)];
  4754. break;
  4755. default: // \d\d?
  4756. var n = +ch;
  4757. if (n === 0) return match;
  4758. if (n > m) {
  4759. var f = floor(n / 10);
  4760. if (f === 0) return match;
  4761. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  4762. return match;
  4763. }
  4764. capture = captures[n - 1];
  4765. }
  4766. return capture === undefined ? '' : capture;
  4767. });
  4768. }
  4769. });
  4770. },{"117":117,"137":137,"139":139,"140":140,"34":34,"36":36,"63":63}],250:[function(_dereq_,module,exports){
  4771. 'use strict';
  4772. var anObject = _dereq_(36);
  4773. var sameValue = _dereq_(119);
  4774. var regExpExec = _dereq_(117);
  4775. // @@search logic
  4776. _dereq_(63)('search', 1, function (defined, SEARCH, $search, maybeCallNative) {
  4777. return [
  4778. // `String.prototype.search` method
  4779. // https://tc39.github.io/ecma262/#sec-string.prototype.search
  4780. function search(regexp) {
  4781. var O = defined(this);
  4782. var fn = regexp == undefined ? undefined : regexp[SEARCH];
  4783. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
  4784. },
  4785. // `RegExp.prototype[@@search]` method
  4786. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
  4787. function (regexp) {
  4788. var res = maybeCallNative($search, regexp, this);
  4789. if (res.done) return res.value;
  4790. var rx = anObject(regexp);
  4791. var S = String(this);
  4792. var previousLastIndex = rx.lastIndex;
  4793. if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
  4794. var result = regExpExec(rx, S);
  4795. if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
  4796. return result === null ? -1 : result.index;
  4797. }
  4798. ];
  4799. });
  4800. },{"117":117,"119":119,"36":36,"63":63}],251:[function(_dereq_,module,exports){
  4801. 'use strict';
  4802. var isRegExp = _dereq_(80);
  4803. var anObject = _dereq_(36);
  4804. var speciesConstructor = _dereq_(125);
  4805. var advanceStringIndex = _dereq_(34);
  4806. var toLength = _dereq_(139);
  4807. var callRegExpExec = _dereq_(117);
  4808. var regexpExec = _dereq_(118);
  4809. var fails = _dereq_(62);
  4810. var $min = Math.min;
  4811. var $push = [].push;
  4812. var $SPLIT = 'split';
  4813. var LENGTH = 'length';
  4814. var LAST_INDEX = 'lastIndex';
  4815. var MAX_UINT32 = 0xffffffff;
  4816. // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
  4817. var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
  4818. // @@split logic
  4819. _dereq_(63)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
  4820. var internalSplit;
  4821. if (
  4822. 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
  4823. 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
  4824. 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
  4825. '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
  4826. '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
  4827. ''[$SPLIT](/.?/)[LENGTH]
  4828. ) {
  4829. // based on es5-shim implementation, need to rework it
  4830. internalSplit = function (separator, limit) {
  4831. var string = String(this);
  4832. if (separator === undefined && limit === 0) return [];
  4833. // If `separator` is not a regex, use native split
  4834. if (!isRegExp(separator)) return $split.call(string, separator, limit);
  4835. var output = [];
  4836. var flags = (separator.ignoreCase ? 'i' : '') +
  4837. (separator.multiline ? 'm' : '') +
  4838. (separator.unicode ? 'u' : '') +
  4839. (separator.sticky ? 'y' : '');
  4840. var lastLastIndex = 0;
  4841. var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
  4842. // Make `global` and avoid `lastIndex` issues by working with a copy
  4843. var separatorCopy = new RegExp(separator.source, flags + 'g');
  4844. var match, lastIndex, lastLength;
  4845. while (match = regexpExec.call(separatorCopy, string)) {
  4846. lastIndex = separatorCopy[LAST_INDEX];
  4847. if (lastIndex > lastLastIndex) {
  4848. output.push(string.slice(lastLastIndex, match.index));
  4849. if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
  4850. lastLength = match[0][LENGTH];
  4851. lastLastIndex = lastIndex;
  4852. if (output[LENGTH] >= splitLimit) break;
  4853. }
  4854. if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
  4855. }
  4856. if (lastLastIndex === string[LENGTH]) {
  4857. if (lastLength || !separatorCopy.test('')) output.push('');
  4858. } else output.push(string.slice(lastLastIndex));
  4859. return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
  4860. };
  4861. // Chakra, V8
  4862. } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
  4863. internalSplit = function (separator, limit) {
  4864. return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
  4865. };
  4866. } else {
  4867. internalSplit = $split;
  4868. }
  4869. return [
  4870. // `String.prototype.split` method
  4871. // https://tc39.github.io/ecma262/#sec-string.prototype.split
  4872. function split(separator, limit) {
  4873. var O = defined(this);
  4874. var splitter = separator == undefined ? undefined : separator[SPLIT];
  4875. return splitter !== undefined
  4876. ? splitter.call(separator, O, limit)
  4877. : internalSplit.call(String(O), separator, limit);
  4878. },
  4879. // `RegExp.prototype[@@split]` method
  4880. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
  4881. //
  4882. // NOTE: This cannot be properly polyfilled in engines that don't support
  4883. // the 'y' flag.
  4884. function (regexp, limit) {
  4885. var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
  4886. if (res.done) return res.value;
  4887. var rx = anObject(regexp);
  4888. var S = String(this);
  4889. var C = speciesConstructor(rx, RegExp);
  4890. var unicodeMatching = rx.unicode;
  4891. var flags = (rx.ignoreCase ? 'i' : '') +
  4892. (rx.multiline ? 'm' : '') +
  4893. (rx.unicode ? 'u' : '') +
  4894. (SUPPORTS_Y ? 'y' : 'g');
  4895. // ^(? + rx + ) is needed, in combination with some S slicing, to
  4896. // simulate the 'y' flag.
  4897. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
  4898. var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
  4899. if (lim === 0) return [];
  4900. if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
  4901. var p = 0;
  4902. var q = 0;
  4903. var A = [];
  4904. while (q < S.length) {
  4905. splitter.lastIndex = SUPPORTS_Y ? q : 0;
  4906. var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
  4907. var e;
  4908. if (
  4909. z === null ||
  4910. (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
  4911. ) {
  4912. q = advanceStringIndex(S, q, unicodeMatching);
  4913. } else {
  4914. A.push(S.slice(p, q));
  4915. if (A.length === lim) return A;
  4916. for (var i = 1; i <= z.length - 1; i++) {
  4917. A.push(z[i]);
  4918. if (A.length === lim) return A;
  4919. }
  4920. q = p = e;
  4921. }
  4922. }
  4923. A.push(S.slice(p));
  4924. return A;
  4925. }
  4926. ];
  4927. });
  4928. },{"117":117,"118":118,"125":125,"139":139,"34":34,"36":36,"62":62,"63":63,"80":80}],252:[function(_dereq_,module,exports){
  4929. 'use strict';
  4930. _dereq_(247);
  4931. var anObject = _dereq_(36);
  4932. var $flags = _dereq_(64);
  4933. var DESCRIPTORS = _dereq_(56);
  4934. var TO_STRING = 'toString';
  4935. var $toString = /./[TO_STRING];
  4936. var define = function (fn) {
  4937. _dereq_(116)(RegExp.prototype, TO_STRING, fn, true);
  4938. };
  4939. // 21.2.5.14 RegExp.prototype.toString()
  4940. if (_dereq_(62)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
  4941. define(function toString() {
  4942. var R = anObject(this);
  4943. return '/'.concat(R.source, '/',
  4944. 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
  4945. });
  4946. // FF44- RegExp#toString has a wrong name
  4947. } else if ($toString.name != TO_STRING) {
  4948. define(function toString() {
  4949. return $toString.call(this);
  4950. });
  4951. }
  4952. },{"116":116,"247":247,"36":36,"56":56,"62":62,"64":64}],253:[function(_dereq_,module,exports){
  4953. 'use strict';
  4954. var strong = _dereq_(47);
  4955. var validate = _dereq_(147);
  4956. var SET = 'Set';
  4957. // 23.2 Set Objects
  4958. module.exports = _dereq_(49)(SET, function (get) {
  4959. return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  4960. }, {
  4961. // 23.2.3.1 Set.prototype.add(value)
  4962. add: function add(value) {
  4963. return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
  4964. }
  4965. }, strong);
  4966. },{"147":147,"47":47,"49":49}],254:[function(_dereq_,module,exports){
  4967. 'use strict';
  4968. // B.2.3.2 String.prototype.anchor(name)
  4969. _dereq_(129)('anchor', function (createHTML) {
  4970. return function anchor(name) {
  4971. return createHTML(this, 'a', 'name', name);
  4972. };
  4973. });
  4974. },{"129":129}],255:[function(_dereq_,module,exports){
  4975. 'use strict';
  4976. // B.2.3.3 String.prototype.big()
  4977. _dereq_(129)('big', function (createHTML) {
  4978. return function big() {
  4979. return createHTML(this, 'big', '', '');
  4980. };
  4981. });
  4982. },{"129":129}],256:[function(_dereq_,module,exports){
  4983. 'use strict';
  4984. // B.2.3.4 String.prototype.blink()
  4985. _dereq_(129)('blink', function (createHTML) {
  4986. return function blink() {
  4987. return createHTML(this, 'blink', '', '');
  4988. };
  4989. });
  4990. },{"129":129}],257:[function(_dereq_,module,exports){
  4991. 'use strict';
  4992. // B.2.3.5 String.prototype.bold()
  4993. _dereq_(129)('bold', function (createHTML) {
  4994. return function bold() {
  4995. return createHTML(this, 'b', '', '');
  4996. };
  4997. });
  4998. },{"129":129}],258:[function(_dereq_,module,exports){
  4999. 'use strict';
  5000. var $export = _dereq_(60);
  5001. var $at = _dereq_(127)(false);
  5002. $export($export.P, 'String', {
  5003. // 21.1.3.3 String.prototype.codePointAt(pos)
  5004. codePointAt: function codePointAt(pos) {
  5005. return $at(this, pos);
  5006. }
  5007. });
  5008. },{"127":127,"60":60}],259:[function(_dereq_,module,exports){
  5009. // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
  5010. 'use strict';
  5011. var $export = _dereq_(60);
  5012. var toLength = _dereq_(139);
  5013. var context = _dereq_(128);
  5014. var ENDS_WITH = 'endsWith';
  5015. var $endsWith = ''[ENDS_WITH];
  5016. $export($export.P + $export.F * _dereq_(61)(ENDS_WITH), 'String', {
  5017. endsWith: function endsWith(searchString /* , endPosition = @length */) {
  5018. var that = context(this, searchString, ENDS_WITH);
  5019. var endPosition = arguments.length > 1 ? arguments[1] : undefined;
  5020. var len = toLength(that.length);
  5021. var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);
  5022. var search = String(searchString);
  5023. return $endsWith
  5024. ? $endsWith.call(that, search, end)
  5025. : that.slice(end - search.length, end) === search;
  5026. }
  5027. });
  5028. },{"128":128,"139":139,"60":60,"61":61}],260:[function(_dereq_,module,exports){
  5029. 'use strict';
  5030. // B.2.3.6 String.prototype.fixed()
  5031. _dereq_(129)('fixed', function (createHTML) {
  5032. return function fixed() {
  5033. return createHTML(this, 'tt', '', '');
  5034. };
  5035. });
  5036. },{"129":129}],261:[function(_dereq_,module,exports){
  5037. 'use strict';
  5038. // B.2.3.7 String.prototype.fontcolor(color)
  5039. _dereq_(129)('fontcolor', function (createHTML) {
  5040. return function fontcolor(color) {
  5041. return createHTML(this, 'font', 'color', color);
  5042. };
  5043. });
  5044. },{"129":129}],262:[function(_dereq_,module,exports){
  5045. 'use strict';
  5046. // B.2.3.8 String.prototype.fontsize(size)
  5047. _dereq_(129)('fontsize', function (createHTML) {
  5048. return function fontsize(size) {
  5049. return createHTML(this, 'font', 'size', size);
  5050. };
  5051. });
  5052. },{"129":129}],263:[function(_dereq_,module,exports){
  5053. var $export = _dereq_(60);
  5054. var toAbsoluteIndex = _dereq_(135);
  5055. var fromCharCode = String.fromCharCode;
  5056. var $fromCodePoint = String.fromCodePoint;
  5057. // length should be 1, old FF problem
  5058. $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
  5059. // 21.1.2.2 String.fromCodePoint(...codePoints)
  5060. fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars
  5061. var res = [];
  5062. var aLen = arguments.length;
  5063. var i = 0;
  5064. var code;
  5065. while (aLen > i) {
  5066. code = +arguments[i++];
  5067. if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');
  5068. res.push(code < 0x10000
  5069. ? fromCharCode(code)
  5070. : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
  5071. );
  5072. } return res.join('');
  5073. }
  5074. });
  5075. },{"135":135,"60":60}],264:[function(_dereq_,module,exports){
  5076. // 21.1.3.7 String.prototype.includes(searchString, position = 0)
  5077. 'use strict';
  5078. var $export = _dereq_(60);
  5079. var context = _dereq_(128);
  5080. var INCLUDES = 'includes';
  5081. $export($export.P + $export.F * _dereq_(61)(INCLUDES), 'String', {
  5082. includes: function includes(searchString /* , position = 0 */) {
  5083. return !!~context(this, searchString, INCLUDES)
  5084. .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
  5085. }
  5086. });
  5087. },{"128":128,"60":60,"61":61}],265:[function(_dereq_,module,exports){
  5088. 'use strict';
  5089. // B.2.3.9 String.prototype.italics()
  5090. _dereq_(129)('italics', function (createHTML) {
  5091. return function italics() {
  5092. return createHTML(this, 'i', '', '');
  5093. };
  5094. });
  5095. },{"129":129}],266:[function(_dereq_,module,exports){
  5096. 'use strict';
  5097. var $at = _dereq_(127)(true);
  5098. // 21.1.3.27 String.prototype[@@iterator]()
  5099. _dereq_(83)(String, 'String', function (iterated) {
  5100. this._t = String(iterated); // target
  5101. this._i = 0; // next index
  5102. // 21.1.5.2.1 %StringIteratorPrototype%.next()
  5103. }, function () {
  5104. var O = this._t;
  5105. var index = this._i;
  5106. var point;
  5107. if (index >= O.length) return { value: undefined, done: true };
  5108. point = $at(O, index);
  5109. this._i += point.length;
  5110. return { value: point, done: false };
  5111. });
  5112. },{"127":127,"83":83}],267:[function(_dereq_,module,exports){
  5113. 'use strict';
  5114. // B.2.3.10 String.prototype.link(url)
  5115. _dereq_(129)('link', function (createHTML) {
  5116. return function link(url) {
  5117. return createHTML(this, 'a', 'href', url);
  5118. };
  5119. });
  5120. },{"129":129}],268:[function(_dereq_,module,exports){
  5121. var $export = _dereq_(60);
  5122. var toIObject = _dereq_(138);
  5123. var toLength = _dereq_(139);
  5124. $export($export.S, 'String', {
  5125. // 21.1.2.4 String.raw(callSite, ...substitutions)
  5126. raw: function raw(callSite) {
  5127. var tpl = toIObject(callSite.raw);
  5128. var len = toLength(tpl.length);
  5129. var aLen = arguments.length;
  5130. var res = [];
  5131. var i = 0;
  5132. while (len > i) {
  5133. res.push(String(tpl[i++]));
  5134. if (i < aLen) res.push(String(arguments[i]));
  5135. } return res.join('');
  5136. }
  5137. });
  5138. },{"138":138,"139":139,"60":60}],269:[function(_dereq_,module,exports){
  5139. var $export = _dereq_(60);
  5140. $export($export.P, 'String', {
  5141. // 21.1.3.13 String.prototype.repeat(count)
  5142. repeat: _dereq_(131)
  5143. });
  5144. },{"131":131,"60":60}],270:[function(_dereq_,module,exports){
  5145. 'use strict';
  5146. // B.2.3.11 String.prototype.small()
  5147. _dereq_(129)('small', function (createHTML) {
  5148. return function small() {
  5149. return createHTML(this, 'small', '', '');
  5150. };
  5151. });
  5152. },{"129":129}],271:[function(_dereq_,module,exports){
  5153. // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
  5154. 'use strict';
  5155. var $export = _dereq_(60);
  5156. var toLength = _dereq_(139);
  5157. var context = _dereq_(128);
  5158. var STARTS_WITH = 'startsWith';
  5159. var $startsWith = ''[STARTS_WITH];
  5160. $export($export.P + $export.F * _dereq_(61)(STARTS_WITH), 'String', {
  5161. startsWith: function startsWith(searchString /* , position = 0 */) {
  5162. var that = context(this, searchString, STARTS_WITH);
  5163. var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));
  5164. var search = String(searchString);
  5165. return $startsWith
  5166. ? $startsWith.call(that, search, index)
  5167. : that.slice(index, index + search.length) === search;
  5168. }
  5169. });
  5170. },{"128":128,"139":139,"60":60,"61":61}],272:[function(_dereq_,module,exports){
  5171. 'use strict';
  5172. // B.2.3.12 String.prototype.strike()
  5173. _dereq_(129)('strike', function (createHTML) {
  5174. return function strike() {
  5175. return createHTML(this, 'strike', '', '');
  5176. };
  5177. });
  5178. },{"129":129}],273:[function(_dereq_,module,exports){
  5179. 'use strict';
  5180. // B.2.3.13 String.prototype.sub()
  5181. _dereq_(129)('sub', function (createHTML) {
  5182. return function sub() {
  5183. return createHTML(this, 'sub', '', '');
  5184. };
  5185. });
  5186. },{"129":129}],274:[function(_dereq_,module,exports){
  5187. 'use strict';
  5188. // B.2.3.14 String.prototype.sup()
  5189. _dereq_(129)('sup', function (createHTML) {
  5190. return function sup() {
  5191. return createHTML(this, 'sup', '', '');
  5192. };
  5193. });
  5194. },{"129":129}],275:[function(_dereq_,module,exports){
  5195. 'use strict';
  5196. // 21.1.3.25 String.prototype.trim()
  5197. _dereq_(132)('trim', function ($trim) {
  5198. return function trim() {
  5199. return $trim(this, 3);
  5200. };
  5201. });
  5202. },{"132":132}],276:[function(_dereq_,module,exports){
  5203. 'use strict';
  5204. // ECMAScript 6 symbols shim
  5205. var global = _dereq_(68);
  5206. var has = _dereq_(69);
  5207. var DESCRIPTORS = _dereq_(56);
  5208. var $export = _dereq_(60);
  5209. var redefine = _dereq_(116);
  5210. var META = _dereq_(92).KEY;
  5211. var $fails = _dereq_(62);
  5212. var shared = _dereq_(124);
  5213. var setToStringTag = _dereq_(122);
  5214. var uid = _dereq_(145);
  5215. var wks = _dereq_(150);
  5216. var wksExt = _dereq_(149);
  5217. var wksDefine = _dereq_(148);
  5218. var enumKeys = _dereq_(59);
  5219. var isArray = _dereq_(77);
  5220. var anObject = _dereq_(36);
  5221. var isObject = _dereq_(79);
  5222. var toObject = _dereq_(140);
  5223. var toIObject = _dereq_(138);
  5224. var toPrimitive = _dereq_(141);
  5225. var createDesc = _dereq_(114);
  5226. var _create = _dereq_(96);
  5227. var gOPNExt = _dereq_(100);
  5228. var $GOPD = _dereq_(99);
  5229. var $GOPS = _dereq_(102);
  5230. var $DP = _dereq_(97);
  5231. var $keys = _dereq_(105);
  5232. var gOPD = $GOPD.f;
  5233. var dP = $DP.f;
  5234. var gOPN = gOPNExt.f;
  5235. var $Symbol = global.Symbol;
  5236. var $JSON = global.JSON;
  5237. var _stringify = $JSON && $JSON.stringify;
  5238. var PROTOTYPE = 'prototype';
  5239. var HIDDEN = wks('_hidden');
  5240. var TO_PRIMITIVE = wks('toPrimitive');
  5241. var isEnum = {}.propertyIsEnumerable;
  5242. var SymbolRegistry = shared('symbol-registry');
  5243. var AllSymbols = shared('symbols');
  5244. var OPSymbols = shared('op-symbols');
  5245. var ObjectProto = Object[PROTOTYPE];
  5246. var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
  5247. var QObject = global.QObject;
  5248. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  5249. var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  5250. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  5251. var setSymbolDesc = DESCRIPTORS && $fails(function () {
  5252. return _create(dP({}, 'a', {
  5253. get: function () { return dP(this, 'a', { value: 7 }).a; }
  5254. })).a != 7;
  5255. }) ? function (it, key, D) {
  5256. var protoDesc = gOPD(ObjectProto, key);
  5257. if (protoDesc) delete ObjectProto[key];
  5258. dP(it, key, D);
  5259. if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
  5260. } : dP;
  5261. var wrap = function (tag) {
  5262. var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
  5263. sym._k = tag;
  5264. return sym;
  5265. };
  5266. var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
  5267. return typeof it == 'symbol';
  5268. } : function (it) {
  5269. return it instanceof $Symbol;
  5270. };
  5271. var $defineProperty = function defineProperty(it, key, D) {
  5272. if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
  5273. anObject(it);
  5274. key = toPrimitive(key, true);
  5275. anObject(D);
  5276. if (has(AllSymbols, key)) {
  5277. if (!D.enumerable) {
  5278. if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
  5279. it[HIDDEN][key] = true;
  5280. } else {
  5281. if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
  5282. D = _create(D, { enumerable: createDesc(0, false) });
  5283. } return setSymbolDesc(it, key, D);
  5284. } return dP(it, key, D);
  5285. };
  5286. var $defineProperties = function defineProperties(it, P) {
  5287. anObject(it);
  5288. var keys = enumKeys(P = toIObject(P));
  5289. var i = 0;
  5290. var l = keys.length;
  5291. var key;
  5292. while (l > i) $defineProperty(it, key = keys[i++], P[key]);
  5293. return it;
  5294. };
  5295. var $create = function create(it, P) {
  5296. return P === undefined ? _create(it) : $defineProperties(_create(it), P);
  5297. };
  5298. var $propertyIsEnumerable = function propertyIsEnumerable(key) {
  5299. var E = isEnum.call(this, key = toPrimitive(key, true));
  5300. if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
  5301. return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
  5302. };
  5303. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
  5304. it = toIObject(it);
  5305. key = toPrimitive(key, true);
  5306. if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
  5307. var D = gOPD(it, key);
  5308. if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
  5309. return D;
  5310. };
  5311. var $getOwnPropertyNames = function getOwnPropertyNames(it) {
  5312. var names = gOPN(toIObject(it));
  5313. var result = [];
  5314. var i = 0;
  5315. var key;
  5316. while (names.length > i) {
  5317. if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
  5318. } return result;
  5319. };
  5320. var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
  5321. var IS_OP = it === ObjectProto;
  5322. var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
  5323. var result = [];
  5324. var i = 0;
  5325. var key;
  5326. while (names.length > i) {
  5327. if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
  5328. } return result;
  5329. };
  5330. // 19.4.1.1 Symbol([description])
  5331. if (!USE_NATIVE) {
  5332. $Symbol = function Symbol() {
  5333. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
  5334. var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
  5335. var $set = function (value) {
  5336. if (this === ObjectProto) $set.call(OPSymbols, value);
  5337. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  5338. setSymbolDesc(this, tag, createDesc(1, value));
  5339. };
  5340. if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
  5341. return wrap(tag);
  5342. };
  5343. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  5344. return this._k;
  5345. });
  5346. $GOPD.f = $getOwnPropertyDescriptor;
  5347. $DP.f = $defineProperty;
  5348. _dereq_(101).f = gOPNExt.f = $getOwnPropertyNames;
  5349. _dereq_(106).f = $propertyIsEnumerable;
  5350. $GOPS.f = $getOwnPropertySymbols;
  5351. if (DESCRIPTORS && !_dereq_(87)) {
  5352. redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
  5353. }
  5354. wksExt.f = function (name) {
  5355. return wrap(wks(name));
  5356. };
  5357. }
  5358. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
  5359. for (var es6Symbols = (
  5360. // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
  5361. 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
  5362. ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
  5363. for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
  5364. $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
  5365. // 19.4.2.1 Symbol.for(key)
  5366. 'for': function (key) {
  5367. return has(SymbolRegistry, key += '')
  5368. ? SymbolRegistry[key]
  5369. : SymbolRegistry[key] = $Symbol(key);
  5370. },
  5371. // 19.4.2.5 Symbol.keyFor(sym)
  5372. keyFor: function keyFor(sym) {
  5373. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
  5374. for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
  5375. },
  5376. useSetter: function () { setter = true; },
  5377. useSimple: function () { setter = false; }
  5378. });
  5379. $export($export.S + $export.F * !USE_NATIVE, 'Object', {
  5380. // 19.1.2.2 Object.create(O [, Properties])
  5381. create: $create,
  5382. // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  5383. defineProperty: $defineProperty,
  5384. // 19.1.2.3 Object.defineProperties(O, Properties)
  5385. defineProperties: $defineProperties,
  5386. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  5387. getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  5388. // 19.1.2.7 Object.getOwnPropertyNames(O)
  5389. getOwnPropertyNames: $getOwnPropertyNames,
  5390. // 19.1.2.8 Object.getOwnPropertySymbols(O)
  5391. getOwnPropertySymbols: $getOwnPropertySymbols
  5392. });
  5393. // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
  5394. // https://bugs.chromium.org/p/v8/issues/detail?id=3443
  5395. var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
  5396. $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
  5397. getOwnPropertySymbols: function getOwnPropertySymbols(it) {
  5398. return $GOPS.f(toObject(it));
  5399. }
  5400. });
  5401. // 24.3.2 JSON.stringify(value [, replacer [, space]])
  5402. $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
  5403. var S = $Symbol();
  5404. // MS Edge converts symbol values to JSON as {}
  5405. // WebKit converts symbol values to JSON as null
  5406. // V8 throws on boxed symbols
  5407. return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
  5408. })), 'JSON', {
  5409. stringify: function stringify(it) {
  5410. var args = [it];
  5411. var i = 1;
  5412. var replacer, $replacer;
  5413. while (arguments.length > i) args.push(arguments[i++]);
  5414. $replacer = replacer = args[1];
  5415. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  5416. if (!isArray(replacer)) replacer = function (key, value) {
  5417. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  5418. if (!isSymbol(value)) return value;
  5419. };
  5420. args[1] = replacer;
  5421. return _stringify.apply($JSON, args);
  5422. }
  5423. });
  5424. // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
  5425. $Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(70)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  5426. // 19.4.3.5 Symbol.prototype[@@toStringTag]
  5427. setToStringTag($Symbol, 'Symbol');
  5428. // 20.2.1.9 Math[@@toStringTag]
  5429. setToStringTag(Math, 'Math', true);
  5430. // 24.3.3 JSON[@@toStringTag]
  5431. setToStringTag(global.JSON, 'JSON', true);
  5432. },{"100":100,"101":101,"102":102,"105":105,"106":106,"114":114,"116":116,"122":122,"124":124,"138":138,"140":140,"141":141,"145":145,"148":148,"149":149,"150":150,"36":36,"56":56,"59":59,"60":60,"62":62,"68":68,"69":69,"70":70,"77":77,"79":79,"87":87,"92":92,"96":96,"97":97,"99":99}],277:[function(_dereq_,module,exports){
  5433. 'use strict';
  5434. var $export = _dereq_(60);
  5435. var $typed = _dereq_(144);
  5436. var buffer = _dereq_(143);
  5437. var anObject = _dereq_(36);
  5438. var toAbsoluteIndex = _dereq_(135);
  5439. var toLength = _dereq_(139);
  5440. var isObject = _dereq_(79);
  5441. var ArrayBuffer = _dereq_(68).ArrayBuffer;
  5442. var speciesConstructor = _dereq_(125);
  5443. var $ArrayBuffer = buffer.ArrayBuffer;
  5444. var $DataView = buffer.DataView;
  5445. var $isView = $typed.ABV && ArrayBuffer.isView;
  5446. var $slice = $ArrayBuffer.prototype.slice;
  5447. var VIEW = $typed.VIEW;
  5448. var ARRAY_BUFFER = 'ArrayBuffer';
  5449. $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
  5450. $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
  5451. // 24.1.3.1 ArrayBuffer.isView(arg)
  5452. isView: function isView(it) {
  5453. return $isView && $isView(it) || isObject(it) && VIEW in it;
  5454. }
  5455. });
  5456. $export($export.P + $export.U + $export.F * _dereq_(62)(function () {
  5457. return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
  5458. }), ARRAY_BUFFER, {
  5459. // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
  5460. slice: function slice(start, end) {
  5461. if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix
  5462. var len = anObject(this).byteLength;
  5463. var first = toAbsoluteIndex(start, len);
  5464. var fin = toAbsoluteIndex(end === undefined ? len : end, len);
  5465. var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));
  5466. var viewS = new $DataView(this);
  5467. var viewT = new $DataView(result);
  5468. var index = 0;
  5469. while (first < fin) {
  5470. viewT.setUint8(index++, viewS.getUint8(first++));
  5471. } return result;
  5472. }
  5473. });
  5474. _dereq_(121)(ARRAY_BUFFER);
  5475. },{"121":121,"125":125,"135":135,"139":139,"143":143,"144":144,"36":36,"60":60,"62":62,"68":68,"79":79}],278:[function(_dereq_,module,exports){
  5476. var $export = _dereq_(60);
  5477. $export($export.G + $export.W + $export.F * !_dereq_(144).ABV, {
  5478. DataView: _dereq_(143).DataView
  5479. });
  5480. },{"143":143,"144":144,"60":60}],279:[function(_dereq_,module,exports){
  5481. _dereq_(142)('Float32', 4, function (init) {
  5482. return function Float32Array(data, byteOffset, length) {
  5483. return init(this, data, byteOffset, length);
  5484. };
  5485. });
  5486. },{"142":142}],280:[function(_dereq_,module,exports){
  5487. _dereq_(142)('Float64', 8, function (init) {
  5488. return function Float64Array(data, byteOffset, length) {
  5489. return init(this, data, byteOffset, length);
  5490. };
  5491. });
  5492. },{"142":142}],281:[function(_dereq_,module,exports){
  5493. _dereq_(142)('Int16', 2, function (init) {
  5494. return function Int16Array(data, byteOffset, length) {
  5495. return init(this, data, byteOffset, length);
  5496. };
  5497. });
  5498. },{"142":142}],282:[function(_dereq_,module,exports){
  5499. _dereq_(142)('Int32', 4, function (init) {
  5500. return function Int32Array(data, byteOffset, length) {
  5501. return init(this, data, byteOffset, length);
  5502. };
  5503. });
  5504. },{"142":142}],283:[function(_dereq_,module,exports){
  5505. _dereq_(142)('Int8', 1, function (init) {
  5506. return function Int8Array(data, byteOffset, length) {
  5507. return init(this, data, byteOffset, length);
  5508. };
  5509. });
  5510. },{"142":142}],284:[function(_dereq_,module,exports){
  5511. _dereq_(142)('Uint16', 2, function (init) {
  5512. return function Uint16Array(data, byteOffset, length) {
  5513. return init(this, data, byteOffset, length);
  5514. };
  5515. });
  5516. },{"142":142}],285:[function(_dereq_,module,exports){
  5517. _dereq_(142)('Uint32', 4, function (init) {
  5518. return function Uint32Array(data, byteOffset, length) {
  5519. return init(this, data, byteOffset, length);
  5520. };
  5521. });
  5522. },{"142":142}],286:[function(_dereq_,module,exports){
  5523. _dereq_(142)('Uint8', 1, function (init) {
  5524. return function Uint8Array(data, byteOffset, length) {
  5525. return init(this, data, byteOffset, length);
  5526. };
  5527. });
  5528. },{"142":142}],287:[function(_dereq_,module,exports){
  5529. _dereq_(142)('Uint8', 1, function (init) {
  5530. return function Uint8ClampedArray(data, byteOffset, length) {
  5531. return init(this, data, byteOffset, length);
  5532. };
  5533. }, true);
  5534. },{"142":142}],288:[function(_dereq_,module,exports){
  5535. 'use strict';
  5536. var global = _dereq_(68);
  5537. var each = _dereq_(40)(0);
  5538. var redefine = _dereq_(116);
  5539. var meta = _dereq_(92);
  5540. var assign = _dereq_(95);
  5541. var weak = _dereq_(48);
  5542. var isObject = _dereq_(79);
  5543. var validate = _dereq_(147);
  5544. var NATIVE_WEAK_MAP = _dereq_(147);
  5545. var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
  5546. var WEAK_MAP = 'WeakMap';
  5547. var getWeak = meta.getWeak;
  5548. var isExtensible = Object.isExtensible;
  5549. var uncaughtFrozenStore = weak.ufstore;
  5550. var InternalMap;
  5551. var wrapper = function (get) {
  5552. return function WeakMap() {
  5553. return get(this, arguments.length > 0 ? arguments[0] : undefined);
  5554. };
  5555. };
  5556. var methods = {
  5557. // 23.3.3.3 WeakMap.prototype.get(key)
  5558. get: function get(key) {
  5559. if (isObject(key)) {
  5560. var data = getWeak(key);
  5561. if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);
  5562. return data ? data[this._i] : undefined;
  5563. }
  5564. },
  5565. // 23.3.3.5 WeakMap.prototype.set(key, value)
  5566. set: function set(key, value) {
  5567. return weak.def(validate(this, WEAK_MAP), key, value);
  5568. }
  5569. };
  5570. // 23.3 WeakMap Objects
  5571. var $WeakMap = module.exports = _dereq_(49)(WEAK_MAP, wrapper, methods, weak, true, true);
  5572. // IE11 WeakMap frozen keys fix
  5573. if (NATIVE_WEAK_MAP && IS_IE11) {
  5574. InternalMap = weak.getConstructor(wrapper, WEAK_MAP);
  5575. assign(InternalMap.prototype, methods);
  5576. meta.NEED = true;
  5577. each(['delete', 'has', 'get', 'set'], function (key) {
  5578. var proto = $WeakMap.prototype;
  5579. var method = proto[key];
  5580. redefine(proto, key, function (a, b) {
  5581. // store frozen objects on internal weakmap shim
  5582. if (isObject(a) && !isExtensible(a)) {
  5583. if (!this._f) this._f = new InternalMap();
  5584. var result = this._f[key](a, b);
  5585. return key == 'set' ? this : result;
  5586. // store all the rest on native weakmap
  5587. } return method.call(this, a, b);
  5588. });
  5589. });
  5590. }
  5591. },{"116":116,"147":147,"40":40,"48":48,"49":49,"68":68,"79":79,"92":92,"95":95}],289:[function(_dereq_,module,exports){
  5592. 'use strict';
  5593. var weak = _dereq_(48);
  5594. var validate = _dereq_(147);
  5595. var WEAK_SET = 'WeakSet';
  5596. // 23.4 WeakSet Objects
  5597. _dereq_(49)(WEAK_SET, function (get) {
  5598. return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  5599. }, {
  5600. // 23.4.3.1 WeakSet.prototype.add(value)
  5601. add: function add(value) {
  5602. return weak.def(validate(this, WEAK_SET), value, true);
  5603. }
  5604. }, weak, false, true);
  5605. },{"147":147,"48":48,"49":49}],290:[function(_dereq_,module,exports){
  5606. 'use strict';
  5607. // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap
  5608. var $export = _dereq_(60);
  5609. var flattenIntoArray = _dereq_(65);
  5610. var toObject = _dereq_(140);
  5611. var toLength = _dereq_(139);
  5612. var aFunction = _dereq_(31);
  5613. var arraySpeciesCreate = _dereq_(43);
  5614. $export($export.P, 'Array', {
  5615. flatMap: function flatMap(callbackfn /* , thisArg */) {
  5616. var O = toObject(this);
  5617. var sourceLen, A;
  5618. aFunction(callbackfn);
  5619. sourceLen = toLength(O.length);
  5620. A = arraySpeciesCreate(O, 0);
  5621. flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);
  5622. return A;
  5623. }
  5624. });
  5625. _dereq_(33)('flatMap');
  5626. },{"139":139,"140":140,"31":31,"33":33,"43":43,"60":60,"65":65}],291:[function(_dereq_,module,exports){
  5627. 'use strict';
  5628. // https://github.com/tc39/Array.prototype.includes
  5629. var $export = _dereq_(60);
  5630. var $includes = _dereq_(39)(true);
  5631. $export($export.P, 'Array', {
  5632. includes: function includes(el /* , fromIndex = 0 */) {
  5633. return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  5634. }
  5635. });
  5636. _dereq_(33)('includes');
  5637. },{"33":33,"39":39,"60":60}],292:[function(_dereq_,module,exports){
  5638. // https://github.com/tc39/proposal-object-values-entries
  5639. var $export = _dereq_(60);
  5640. var $entries = _dereq_(108)(true);
  5641. $export($export.S, 'Object', {
  5642. entries: function entries(it) {
  5643. return $entries(it);
  5644. }
  5645. });
  5646. },{"108":108,"60":60}],293:[function(_dereq_,module,exports){
  5647. // https://github.com/tc39/proposal-object-getownpropertydescriptors
  5648. var $export = _dereq_(60);
  5649. var ownKeys = _dereq_(109);
  5650. var toIObject = _dereq_(138);
  5651. var gOPD = _dereq_(99);
  5652. var createProperty = _dereq_(51);
  5653. $export($export.S, 'Object', {
  5654. getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
  5655. var O = toIObject(object);
  5656. var getDesc = gOPD.f;
  5657. var keys = ownKeys(O);
  5658. var result = {};
  5659. var i = 0;
  5660. var key, desc;
  5661. while (keys.length > i) {
  5662. desc = getDesc(O, key = keys[i++]);
  5663. if (desc !== undefined) createProperty(result, key, desc);
  5664. }
  5665. return result;
  5666. }
  5667. });
  5668. },{"109":109,"138":138,"51":51,"60":60,"99":99}],294:[function(_dereq_,module,exports){
  5669. // https://github.com/tc39/proposal-object-values-entries
  5670. var $export = _dereq_(60);
  5671. var $values = _dereq_(108)(false);
  5672. $export($export.S, 'Object', {
  5673. values: function values(it) {
  5674. return $values(it);
  5675. }
  5676. });
  5677. },{"108":108,"60":60}],295:[function(_dereq_,module,exports){
  5678. // https://github.com/tc39/proposal-promise-finally
  5679. 'use strict';
  5680. var $export = _dereq_(60);
  5681. var core = _dereq_(50);
  5682. var global = _dereq_(68);
  5683. var speciesConstructor = _dereq_(125);
  5684. var promiseResolve = _dereq_(113);
  5685. $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
  5686. var C = speciesConstructor(this, core.Promise || global.Promise);
  5687. var isFunction = typeof onFinally == 'function';
  5688. return this.then(
  5689. isFunction ? function (x) {
  5690. return promiseResolve(C, onFinally()).then(function () { return x; });
  5691. } : onFinally,
  5692. isFunction ? function (e) {
  5693. return promiseResolve(C, onFinally()).then(function () { throw e; });
  5694. } : onFinally
  5695. );
  5696. } });
  5697. },{"113":113,"125":125,"50":50,"60":60,"68":68}],296:[function(_dereq_,module,exports){
  5698. 'use strict';
  5699. // https://github.com/tc39/proposal-string-pad-start-end
  5700. var $export = _dereq_(60);
  5701. var $pad = _dereq_(130);
  5702. var userAgent = _dereq_(146);
  5703. // https://github.com/zloirock/core-js/issues/280
  5704. var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
  5705. $export($export.P + $export.F * WEBKIT_BUG, 'String', {
  5706. padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
  5707. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
  5708. }
  5709. });
  5710. },{"130":130,"146":146,"60":60}],297:[function(_dereq_,module,exports){
  5711. 'use strict';
  5712. // https://github.com/tc39/proposal-string-pad-start-end
  5713. var $export = _dereq_(60);
  5714. var $pad = _dereq_(130);
  5715. var userAgent = _dereq_(146);
  5716. // https://github.com/zloirock/core-js/issues/280
  5717. var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
  5718. $export($export.P + $export.F * WEBKIT_BUG, 'String', {
  5719. padStart: function padStart(maxLength /* , fillString = ' ' */) {
  5720. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
  5721. }
  5722. });
  5723. },{"130":130,"146":146,"60":60}],298:[function(_dereq_,module,exports){
  5724. 'use strict';
  5725. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  5726. _dereq_(132)('trimLeft', function ($trim) {
  5727. return function trimLeft() {
  5728. return $trim(this, 1);
  5729. };
  5730. }, 'trimStart');
  5731. },{"132":132}],299:[function(_dereq_,module,exports){
  5732. 'use strict';
  5733. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  5734. _dereq_(132)('trimRight', function ($trim) {
  5735. return function trimRight() {
  5736. return $trim(this, 2);
  5737. };
  5738. }, 'trimEnd');
  5739. },{"132":132}],300:[function(_dereq_,module,exports){
  5740. _dereq_(148)('asyncIterator');
  5741. },{"148":148}],301:[function(_dereq_,module,exports){
  5742. var $iterators = _dereq_(162);
  5743. var getKeys = _dereq_(105);
  5744. var redefine = _dereq_(116);
  5745. var global = _dereq_(68);
  5746. var hide = _dereq_(70);
  5747. var Iterators = _dereq_(86);
  5748. var wks = _dereq_(150);
  5749. var ITERATOR = wks('iterator');
  5750. var TO_STRING_TAG = wks('toStringTag');
  5751. var ArrayValues = Iterators.Array;
  5752. var DOMIterables = {
  5753. CSSRuleList: true, // TODO: Not spec compliant, should be false.
  5754. CSSStyleDeclaration: false,
  5755. CSSValueList: false,
  5756. ClientRectList: false,
  5757. DOMRectList: false,
  5758. DOMStringList: false,
  5759. DOMTokenList: true,
  5760. DataTransferItemList: false,
  5761. FileList: false,
  5762. HTMLAllCollection: false,
  5763. HTMLCollection: false,
  5764. HTMLFormElement: false,
  5765. HTMLSelectElement: false,
  5766. MediaList: true, // TODO: Not spec compliant, should be false.
  5767. MimeTypeArray: false,
  5768. NamedNodeMap: false,
  5769. NodeList: true,
  5770. PaintRequestList: false,
  5771. Plugin: false,
  5772. PluginArray: false,
  5773. SVGLengthList: false,
  5774. SVGNumberList: false,
  5775. SVGPathSegList: false,
  5776. SVGPointList: false,
  5777. SVGStringList: false,
  5778. SVGTransformList: false,
  5779. SourceBufferList: false,
  5780. StyleSheetList: true, // TODO: Not spec compliant, should be false.
  5781. TextTrackCueList: false,
  5782. TextTrackList: false,
  5783. TouchList: false
  5784. };
  5785. for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
  5786. var NAME = collections[i];
  5787. var explicit = DOMIterables[NAME];
  5788. var Collection = global[NAME];
  5789. var proto = Collection && Collection.prototype;
  5790. var key;
  5791. if (proto) {
  5792. if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
  5793. if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
  5794. Iterators[NAME] = ArrayValues;
  5795. if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
  5796. }
  5797. }
  5798. },{"105":105,"116":116,"150":150,"162":162,"68":68,"70":70,"86":86}],302:[function(_dereq_,module,exports){
  5799. var $export = _dereq_(60);
  5800. var $task = _dereq_(134);
  5801. $export($export.G + $export.B, {
  5802. setImmediate: $task.set,
  5803. clearImmediate: $task.clear
  5804. });
  5805. },{"134":134,"60":60}],303:[function(_dereq_,module,exports){
  5806. // ie9- setTimeout & setInterval additional parameters fix
  5807. var global = _dereq_(68);
  5808. var $export = _dereq_(60);
  5809. var userAgent = _dereq_(146);
  5810. var slice = [].slice;
  5811. var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
  5812. var wrap = function (set) {
  5813. return function (fn, time /* , ...args */) {
  5814. var boundArgs = arguments.length > 2;
  5815. var args = boundArgs ? slice.call(arguments, 2) : false;
  5816. return set(boundArgs ? function () {
  5817. // eslint-disable-next-line no-new-func
  5818. (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);
  5819. } : fn, time);
  5820. };
  5821. };
  5822. $export($export.G + $export.B + $export.F * MSIE, {
  5823. setTimeout: wrap(global.setTimeout),
  5824. setInterval: wrap(global.setInterval)
  5825. });
  5826. },{"146":146,"60":60,"68":68}],304:[function(_dereq_,module,exports){
  5827. _dereq_(303);
  5828. _dereq_(302);
  5829. _dereq_(301);
  5830. module.exports = _dereq_(50);
  5831. },{"301":301,"302":302,"303":303,"50":50}],305:[function(_dereq_,module,exports){
  5832. /**
  5833. * Copyright (c) 2014-present, Facebook, Inc.
  5834. *
  5835. * This source code is licensed under the MIT license found in the
  5836. * LICENSE file in the root directory of this source tree.
  5837. */
  5838. var runtime = (function (exports) {
  5839. "use strict";
  5840. var Op = Object.prototype;
  5841. var hasOwn = Op.hasOwnProperty;
  5842. var undefined; // More compressible than void 0.
  5843. var $Symbol = typeof Symbol === "function" ? Symbol : {};
  5844. var iteratorSymbol = $Symbol.iterator || "@@iterator";
  5845. var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
  5846. var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  5847. function wrap(innerFn, outerFn, self, tryLocsList) {
  5848. // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
  5849. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
  5850. var generator = Object.create(protoGenerator.prototype);
  5851. var context = new Context(tryLocsList || []);
  5852. // The ._invoke method unifies the implementations of the .next,
  5853. // .throw, and .return methods.
  5854. generator._invoke = makeInvokeMethod(innerFn, self, context);
  5855. return generator;
  5856. }
  5857. exports.wrap = wrap;
  5858. // Try/catch helper to minimize deoptimizations. Returns a completion
  5859. // record like context.tryEntries[i].completion. This interface could
  5860. // have been (and was previously) designed to take a closure to be
  5861. // invoked without arguments, but in all the cases we care about we
  5862. // already have an existing method we want to call, so there's no need
  5863. // to create a new function object. We can even get away with assuming
  5864. // the method takes exactly one argument, since that happens to be true
  5865. // in every case, so we don't have to touch the arguments object. The
  5866. // only additional allocation required is the completion record, which
  5867. // has a stable shape and so hopefully should be cheap to allocate.
  5868. function tryCatch(fn, obj, arg) {
  5869. try {
  5870. return { type: "normal", arg: fn.call(obj, arg) };
  5871. } catch (err) {
  5872. return { type: "throw", arg: err };
  5873. }
  5874. }
  5875. var GenStateSuspendedStart = "suspendedStart";
  5876. var GenStateSuspendedYield = "suspendedYield";
  5877. var GenStateExecuting = "executing";
  5878. var GenStateCompleted = "completed";
  5879. // Returning this object from the innerFn has the same effect as
  5880. // breaking out of the dispatch switch statement.
  5881. var ContinueSentinel = {};
  5882. // Dummy constructor functions that we use as the .constructor and
  5883. // .constructor.prototype properties for functions that return Generator
  5884. // objects. For full spec compliance, you may wish to configure your
  5885. // minifier not to mangle the names of these two functions.
  5886. function Generator() {}
  5887. function GeneratorFunction() {}
  5888. function GeneratorFunctionPrototype() {}
  5889. // This is a polyfill for %IteratorPrototype% for environments that
  5890. // don't natively support it.
  5891. var IteratorPrototype = {};
  5892. IteratorPrototype[iteratorSymbol] = function () {
  5893. return this;
  5894. };
  5895. var getProto = Object.getPrototypeOf;
  5896. var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  5897. if (NativeIteratorPrototype &&
  5898. NativeIteratorPrototype !== Op &&
  5899. hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
  5900. // This environment has a native %IteratorPrototype%; use it instead
  5901. // of the polyfill.
  5902. IteratorPrototype = NativeIteratorPrototype;
  5903. }
  5904. var Gp = GeneratorFunctionPrototype.prototype =
  5905. Generator.prototype = Object.create(IteratorPrototype);
  5906. GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
  5907. GeneratorFunctionPrototype.constructor = GeneratorFunction;
  5908. GeneratorFunctionPrototype[toStringTagSymbol] =
  5909. GeneratorFunction.displayName = "GeneratorFunction";
  5910. // Helper for defining the .next, .throw, and .return methods of the
  5911. // Iterator interface in terms of a single ._invoke method.
  5912. function defineIteratorMethods(prototype) {
  5913. ["next", "throw", "return"].forEach(function(method) {
  5914. prototype[method] = function(arg) {
  5915. return this._invoke(method, arg);
  5916. };
  5917. });
  5918. }
  5919. exports.isGeneratorFunction = function(genFun) {
  5920. var ctor = typeof genFun === "function" && genFun.constructor;
  5921. return ctor
  5922. ? ctor === GeneratorFunction ||
  5923. // For the native GeneratorFunction constructor, the best we can
  5924. // do is to check its .name property.
  5925. (ctor.displayName || ctor.name) === "GeneratorFunction"
  5926. : false;
  5927. };
  5928. exports.mark = function(genFun) {
  5929. if (Object.setPrototypeOf) {
  5930. Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
  5931. } else {
  5932. genFun.__proto__ = GeneratorFunctionPrototype;
  5933. if (!(toStringTagSymbol in genFun)) {
  5934. genFun[toStringTagSymbol] = "GeneratorFunction";
  5935. }
  5936. }
  5937. genFun.prototype = Object.create(Gp);
  5938. return genFun;
  5939. };
  5940. // Within the body of any async function, `await x` is transformed to
  5941. // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
  5942. // `hasOwn.call(value, "__await")` to determine if the yielded value is
  5943. // meant to be awaited.
  5944. exports.awrap = function(arg) {
  5945. return { __await: arg };
  5946. };
  5947. function AsyncIterator(generator, PromiseImpl) {
  5948. function invoke(method, arg, resolve, reject) {
  5949. var record = tryCatch(generator[method], generator, arg);
  5950. if (record.type === "throw") {
  5951. reject(record.arg);
  5952. } else {
  5953. var result = record.arg;
  5954. var value = result.value;
  5955. if (value &&
  5956. typeof value === "object" &&
  5957. hasOwn.call(value, "__await")) {
  5958. return PromiseImpl.resolve(value.__await).then(function(value) {
  5959. invoke("next", value, resolve, reject);
  5960. }, function(err) {
  5961. invoke("throw", err, resolve, reject);
  5962. });
  5963. }
  5964. return PromiseImpl.resolve(value).then(function(unwrapped) {
  5965. // When a yielded Promise is resolved, its final value becomes
  5966. // the .value of the Promise<{value,done}> result for the
  5967. // current iteration.
  5968. result.value = unwrapped;
  5969. resolve(result);
  5970. }, function(error) {
  5971. // If a rejected Promise was yielded, throw the rejection back
  5972. // into the async generator function so it can be handled there.
  5973. return invoke("throw", error, resolve, reject);
  5974. });
  5975. }
  5976. }
  5977. var previousPromise;
  5978. function enqueue(method, arg) {
  5979. function callInvokeWithMethodAndArg() {
  5980. return new PromiseImpl(function(resolve, reject) {
  5981. invoke(method, arg, resolve, reject);
  5982. });
  5983. }
  5984. return previousPromise =
  5985. // If enqueue has been called before, then we want to wait until
  5986. // all previous Promises have been resolved before calling invoke,
  5987. // so that results are always delivered in the correct order. If
  5988. // enqueue has not been called before, then it is important to
  5989. // call invoke immediately, without waiting on a callback to fire,
  5990. // so that the async generator function has the opportunity to do
  5991. // any necessary setup in a predictable way. This predictability
  5992. // is why the Promise constructor synchronously invokes its
  5993. // executor callback, and why async functions synchronously
  5994. // execute code before the first await. Since we implement simple
  5995. // async functions in terms of async generators, it is especially
  5996. // important to get this right, even though it requires care.
  5997. previousPromise ? previousPromise.then(
  5998. callInvokeWithMethodAndArg,
  5999. // Avoid propagating failures to Promises returned by later
  6000. // invocations of the iterator.
  6001. callInvokeWithMethodAndArg
  6002. ) : callInvokeWithMethodAndArg();
  6003. }
  6004. // Define the unified helper method that is used to implement .next,
  6005. // .throw, and .return (see defineIteratorMethods).
  6006. this._invoke = enqueue;
  6007. }
  6008. defineIteratorMethods(AsyncIterator.prototype);
  6009. AsyncIterator.prototype[asyncIteratorSymbol] = function () {
  6010. return this;
  6011. };
  6012. exports.AsyncIterator = AsyncIterator;
  6013. // Note that simple async functions are implemented on top of
  6014. // AsyncIterator objects; they just return a Promise for the value of
  6015. // the final result produced by the iterator.
  6016. exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  6017. if (PromiseImpl === void 0) PromiseImpl = Promise;
  6018. var iter = new AsyncIterator(
  6019. wrap(innerFn, outerFn, self, tryLocsList),
  6020. PromiseImpl
  6021. );
  6022. return exports.isGeneratorFunction(outerFn)
  6023. ? iter // If outerFn is a generator, return the full iterator.
  6024. : iter.next().then(function(result) {
  6025. return result.done ? result.value : iter.next();
  6026. });
  6027. };
  6028. function makeInvokeMethod(innerFn, self, context) {
  6029. var state = GenStateSuspendedStart;
  6030. return function invoke(method, arg) {
  6031. if (state === GenStateExecuting) {
  6032. throw new Error("Generator is already running");
  6033. }
  6034. if (state === GenStateCompleted) {
  6035. if (method === "throw") {
  6036. throw arg;
  6037. }
  6038. // Be forgiving, per 25.3.3.3.3 of the spec:
  6039. // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
  6040. return doneResult();
  6041. }
  6042. context.method = method;
  6043. context.arg = arg;
  6044. while (true) {
  6045. var delegate = context.delegate;
  6046. if (delegate) {
  6047. var delegateResult = maybeInvokeDelegate(delegate, context);
  6048. if (delegateResult) {
  6049. if (delegateResult === ContinueSentinel) continue;
  6050. return delegateResult;
  6051. }
  6052. }
  6053. if (context.method === "next") {
  6054. // Setting context._sent for legacy support of Babel's
  6055. // function.sent implementation.
  6056. context.sent = context._sent = context.arg;
  6057. } else if (context.method === "throw") {
  6058. if (state === GenStateSuspendedStart) {
  6059. state = GenStateCompleted;
  6060. throw context.arg;
  6061. }
  6062. context.dispatchException(context.arg);
  6063. } else if (context.method === "return") {
  6064. context.abrupt("return", context.arg);
  6065. }
  6066. state = GenStateExecuting;
  6067. var record = tryCatch(innerFn, self, context);
  6068. if (record.type === "normal") {
  6069. // If an exception is thrown from innerFn, we leave state ===
  6070. // GenStateExecuting and loop back for another invocation.
  6071. state = context.done
  6072. ? GenStateCompleted
  6073. : GenStateSuspendedYield;
  6074. if (record.arg === ContinueSentinel) {
  6075. continue;
  6076. }
  6077. return {
  6078. value: record.arg,
  6079. done: context.done
  6080. };
  6081. } else if (record.type === "throw") {
  6082. state = GenStateCompleted;
  6083. // Dispatch the exception by looping back around to the
  6084. // context.dispatchException(context.arg) call above.
  6085. context.method = "throw";
  6086. context.arg = record.arg;
  6087. }
  6088. }
  6089. };
  6090. }
  6091. // Call delegate.iterator[context.method](context.arg) and handle the
  6092. // result, either by returning a { value, done } result from the
  6093. // delegate iterator, or by modifying context.method and context.arg,
  6094. // setting context.delegate to null, and returning the ContinueSentinel.
  6095. function maybeInvokeDelegate(delegate, context) {
  6096. var method = delegate.iterator[context.method];
  6097. if (method === undefined) {
  6098. // A .throw or .return when the delegate iterator has no .throw
  6099. // method always terminates the yield* loop.
  6100. context.delegate = null;
  6101. if (context.method === "throw") {
  6102. // Note: ["return"] must be used for ES3 parsing compatibility.
  6103. if (delegate.iterator["return"]) {
  6104. // If the delegate iterator has a return method, give it a
  6105. // chance to clean up.
  6106. context.method = "return";
  6107. context.arg = undefined;
  6108. maybeInvokeDelegate(delegate, context);
  6109. if (context.method === "throw") {
  6110. // If maybeInvokeDelegate(context) changed context.method from
  6111. // "return" to "throw", let that override the TypeError below.
  6112. return ContinueSentinel;
  6113. }
  6114. }
  6115. context.method = "throw";
  6116. context.arg = new TypeError(
  6117. "The iterator does not provide a 'throw' method");
  6118. }
  6119. return ContinueSentinel;
  6120. }
  6121. var record = tryCatch(method, delegate.iterator, context.arg);
  6122. if (record.type === "throw") {
  6123. context.method = "throw";
  6124. context.arg = record.arg;
  6125. context.delegate = null;
  6126. return ContinueSentinel;
  6127. }
  6128. var info = record.arg;
  6129. if (! info) {
  6130. context.method = "throw";
  6131. context.arg = new TypeError("iterator result is not an object");
  6132. context.delegate = null;
  6133. return ContinueSentinel;
  6134. }
  6135. if (info.done) {
  6136. // Assign the result of the finished delegate to the temporary
  6137. // variable specified by delegate.resultName (see delegateYield).
  6138. context[delegate.resultName] = info.value;
  6139. // Resume execution at the desired location (see delegateYield).
  6140. context.next = delegate.nextLoc;
  6141. // If context.method was "throw" but the delegate handled the
  6142. // exception, let the outer generator proceed normally. If
  6143. // context.method was "next", forget context.arg since it has been
  6144. // "consumed" by the delegate iterator. If context.method was
  6145. // "return", allow the original .return call to continue in the
  6146. // outer generator.
  6147. if (context.method !== "return") {
  6148. context.method = "next";
  6149. context.arg = undefined;
  6150. }
  6151. } else {
  6152. // Re-yield the result returned by the delegate method.
  6153. return info;
  6154. }
  6155. // The delegate iterator is finished, so forget it and continue with
  6156. // the outer generator.
  6157. context.delegate = null;
  6158. return ContinueSentinel;
  6159. }
  6160. // Define Generator.prototype.{next,throw,return} in terms of the
  6161. // unified ._invoke helper method.
  6162. defineIteratorMethods(Gp);
  6163. Gp[toStringTagSymbol] = "Generator";
  6164. // A Generator should always return itself as the iterator object when the
  6165. // @@iterator function is called on it. Some browsers' implementations of the
  6166. // iterator prototype chain incorrectly implement this, causing the Generator
  6167. // object to not be returned from this call. This ensures that doesn't happen.
  6168. // See https://github.com/facebook/regenerator/issues/274 for more details.
  6169. Gp[iteratorSymbol] = function() {
  6170. return this;
  6171. };
  6172. Gp.toString = function() {
  6173. return "[object Generator]";
  6174. };
  6175. function pushTryEntry(locs) {
  6176. var entry = { tryLoc: locs[0] };
  6177. if (1 in locs) {
  6178. entry.catchLoc = locs[1];
  6179. }
  6180. if (2 in locs) {
  6181. entry.finallyLoc = locs[2];
  6182. entry.afterLoc = locs[3];
  6183. }
  6184. this.tryEntries.push(entry);
  6185. }
  6186. function resetTryEntry(entry) {
  6187. var record = entry.completion || {};
  6188. record.type = "normal";
  6189. delete record.arg;
  6190. entry.completion = record;
  6191. }
  6192. function Context(tryLocsList) {
  6193. // The root entry object (effectively a try statement without a catch
  6194. // or a finally block) gives us a place to store values thrown from
  6195. // locations where there is no enclosing try statement.
  6196. this.tryEntries = [{ tryLoc: "root" }];
  6197. tryLocsList.forEach(pushTryEntry, this);
  6198. this.reset(true);
  6199. }
  6200. exports.keys = function(object) {
  6201. var keys = [];
  6202. for (var key in object) {
  6203. keys.push(key);
  6204. }
  6205. keys.reverse();
  6206. // Rather than returning an object with a next method, we keep
  6207. // things simple and return the next function itself.
  6208. return function next() {
  6209. while (keys.length) {
  6210. var key = keys.pop();
  6211. if (key in object) {
  6212. next.value = key;
  6213. next.done = false;
  6214. return next;
  6215. }
  6216. }
  6217. // To avoid creating an additional object, we just hang the .value
  6218. // and .done properties off the next function object itself. This
  6219. // also ensures that the minifier will not anonymize the function.
  6220. next.done = true;
  6221. return next;
  6222. };
  6223. };
  6224. function values(iterable) {
  6225. if (iterable) {
  6226. var iteratorMethod = iterable[iteratorSymbol];
  6227. if (iteratorMethod) {
  6228. return iteratorMethod.call(iterable);
  6229. }
  6230. if (typeof iterable.next === "function") {
  6231. return iterable;
  6232. }
  6233. if (!isNaN(iterable.length)) {
  6234. var i = -1, next = function next() {
  6235. while (++i < iterable.length) {
  6236. if (hasOwn.call(iterable, i)) {
  6237. next.value = iterable[i];
  6238. next.done = false;
  6239. return next;
  6240. }
  6241. }
  6242. next.value = undefined;
  6243. next.done = true;
  6244. return next;
  6245. };
  6246. return next.next = next;
  6247. }
  6248. }
  6249. // Return an iterator with no values.
  6250. return { next: doneResult };
  6251. }
  6252. exports.values = values;
  6253. function doneResult() {
  6254. return { value: undefined, done: true };
  6255. }
  6256. Context.prototype = {
  6257. constructor: Context,
  6258. reset: function(skipTempReset) {
  6259. this.prev = 0;
  6260. this.next = 0;
  6261. // Resetting context._sent for legacy support of Babel's
  6262. // function.sent implementation.
  6263. this.sent = this._sent = undefined;
  6264. this.done = false;
  6265. this.delegate = null;
  6266. this.method = "next";
  6267. this.arg = undefined;
  6268. this.tryEntries.forEach(resetTryEntry);
  6269. if (!skipTempReset) {
  6270. for (var name in this) {
  6271. // Not sure about the optimal order of these conditions:
  6272. if (name.charAt(0) === "t" &&
  6273. hasOwn.call(this, name) &&
  6274. !isNaN(+name.slice(1))) {
  6275. this[name] = undefined;
  6276. }
  6277. }
  6278. }
  6279. },
  6280. stop: function() {
  6281. this.done = true;
  6282. var rootEntry = this.tryEntries[0];
  6283. var rootRecord = rootEntry.completion;
  6284. if (rootRecord.type === "throw") {
  6285. throw rootRecord.arg;
  6286. }
  6287. return this.rval;
  6288. },
  6289. dispatchException: function(exception) {
  6290. if (this.done) {
  6291. throw exception;
  6292. }
  6293. var context = this;
  6294. function handle(loc, caught) {
  6295. record.type = "throw";
  6296. record.arg = exception;
  6297. context.next = loc;
  6298. if (caught) {
  6299. // If the dispatched exception was caught by a catch block,
  6300. // then let that catch block handle the exception normally.
  6301. context.method = "next";
  6302. context.arg = undefined;
  6303. }
  6304. return !! caught;
  6305. }
  6306. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6307. var entry = this.tryEntries[i];
  6308. var record = entry.completion;
  6309. if (entry.tryLoc === "root") {
  6310. // Exception thrown outside of any try block that could handle
  6311. // it, so set the completion value of the entire function to
  6312. // throw the exception.
  6313. return handle("end");
  6314. }
  6315. if (entry.tryLoc <= this.prev) {
  6316. var hasCatch = hasOwn.call(entry, "catchLoc");
  6317. var hasFinally = hasOwn.call(entry, "finallyLoc");
  6318. if (hasCatch && hasFinally) {
  6319. if (this.prev < entry.catchLoc) {
  6320. return handle(entry.catchLoc, true);
  6321. } else if (this.prev < entry.finallyLoc) {
  6322. return handle(entry.finallyLoc);
  6323. }
  6324. } else if (hasCatch) {
  6325. if (this.prev < entry.catchLoc) {
  6326. return handle(entry.catchLoc, true);
  6327. }
  6328. } else if (hasFinally) {
  6329. if (this.prev < entry.finallyLoc) {
  6330. return handle(entry.finallyLoc);
  6331. }
  6332. } else {
  6333. throw new Error("try statement without catch or finally");
  6334. }
  6335. }
  6336. }
  6337. },
  6338. abrupt: function(type, arg) {
  6339. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6340. var entry = this.tryEntries[i];
  6341. if (entry.tryLoc <= this.prev &&
  6342. hasOwn.call(entry, "finallyLoc") &&
  6343. this.prev < entry.finallyLoc) {
  6344. var finallyEntry = entry;
  6345. break;
  6346. }
  6347. }
  6348. if (finallyEntry &&
  6349. (type === "break" ||
  6350. type === "continue") &&
  6351. finallyEntry.tryLoc <= arg &&
  6352. arg <= finallyEntry.finallyLoc) {
  6353. // Ignore the finally entry if control is not jumping to a
  6354. // location outside the try/catch block.
  6355. finallyEntry = null;
  6356. }
  6357. var record = finallyEntry ? finallyEntry.completion : {};
  6358. record.type = type;
  6359. record.arg = arg;
  6360. if (finallyEntry) {
  6361. this.method = "next";
  6362. this.next = finallyEntry.finallyLoc;
  6363. return ContinueSentinel;
  6364. }
  6365. return this.complete(record);
  6366. },
  6367. complete: function(record, afterLoc) {
  6368. if (record.type === "throw") {
  6369. throw record.arg;
  6370. }
  6371. if (record.type === "break" ||
  6372. record.type === "continue") {
  6373. this.next = record.arg;
  6374. } else if (record.type === "return") {
  6375. this.rval = this.arg = record.arg;
  6376. this.method = "return";
  6377. this.next = "end";
  6378. } else if (record.type === "normal" && afterLoc) {
  6379. this.next = afterLoc;
  6380. }
  6381. return ContinueSentinel;
  6382. },
  6383. finish: function(finallyLoc) {
  6384. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6385. var entry = this.tryEntries[i];
  6386. if (entry.finallyLoc === finallyLoc) {
  6387. this.complete(entry.completion, entry.afterLoc);
  6388. resetTryEntry(entry);
  6389. return ContinueSentinel;
  6390. }
  6391. }
  6392. },
  6393. "catch": function(tryLoc) {
  6394. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  6395. var entry = this.tryEntries[i];
  6396. if (entry.tryLoc === tryLoc) {
  6397. var record = entry.completion;
  6398. if (record.type === "throw") {
  6399. var thrown = record.arg;
  6400. resetTryEntry(entry);
  6401. }
  6402. return thrown;
  6403. }
  6404. }
  6405. // The context.catch method must only be called with a location
  6406. // argument that corresponds to a known catch block.
  6407. throw new Error("illegal catch attempt");
  6408. },
  6409. delegateYield: function(iterable, resultName, nextLoc) {
  6410. this.delegate = {
  6411. iterator: values(iterable),
  6412. resultName: resultName,
  6413. nextLoc: nextLoc
  6414. };
  6415. if (this.method === "next") {
  6416. // Deliberately forget the last sent value so that we don't
  6417. // accidentally pass it on to the delegate.
  6418. this.arg = undefined;
  6419. }
  6420. return ContinueSentinel;
  6421. }
  6422. };
  6423. // Regardless of whether this script is executing as a CommonJS module
  6424. // or not, return the runtime object so that we can declare the variable
  6425. // regeneratorRuntime in the outer scope, which allows this module to be
  6426. // injected easily by `bin/regenerator --include-runtime script.js`.
  6427. return exports;
  6428. }(
  6429. // If this script is executing as a CommonJS module, use module.exports
  6430. // as the regeneratorRuntime namespace. Otherwise create a new empty
  6431. // object. Either way, the resulting object will be used to initialize
  6432. // the regeneratorRuntime variable at the top of this file.
  6433. typeof module === "object" ? module.exports : {}
  6434. ));
  6435. try {
  6436. regeneratorRuntime = runtime;
  6437. } catch (accidentalStrictMode) {
  6438. // This module should not be running in strict mode, so the above
  6439. // assignment should always work unless something is misconfigured. Just
  6440. // in case runtime.js accidentally runs in strict mode, we can escape
  6441. // strict mode using a global Function call. This could conceivably fail
  6442. // if a Content Security Policy forbids using Function, but in that case
  6443. // the proper solution is to fix the accidental strict mode problem. If
  6444. // you've misconfigured your bundler to force strict mode and applied a
  6445. // CSP to forbid Function, and you're not willing to fix either of those
  6446. // problems, please detail your unique predicament in a GitHub issue.
  6447. Function("r", "regeneratorRuntime = r")(runtime);
  6448. }
  6449. },{}],306:[function(_dereq_,module,exports){
  6450. "use strict";
  6451. _dereq_(307);
  6452. var _global = _interopRequireDefault(_dereq_(13));
  6453. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  6454. if (_global["default"]._babelPolyfill && typeof console !== "undefined" && console.warn) {
  6455. console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended " + "and may have consequences if different versions of the polyfills are applied sequentially. " + "If you do need to load the polyfill more than once, use @babel/polyfill/noConflict " + "instead to bypass the warning.");
  6456. }
  6457. _global["default"]._babelPolyfill = true;
  6458. },{"13":13,"307":307}],307:[function(_dereq_,module,exports){
  6459. "use strict";
  6460. _dereq_(1);
  6461. _dereq_(3);
  6462. _dereq_(2);
  6463. _dereq_(9);
  6464. _dereq_(8);
  6465. _dereq_(11);
  6466. _dereq_(10);
  6467. _dereq_(12);
  6468. _dereq_(5);
  6469. _dereq_(6);
  6470. _dereq_(4);
  6471. _dereq_(7);
  6472. _dereq_(304);
  6473. _dereq_(305);
  6474. },{"1":1,"10":10,"11":11,"12":12,"2":2,"3":3,"304":304,"305":305,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9}]},{},[306]);