wp-polyfill.js 233 KB

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