123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551 |
- /**
- * core-js 1.2.7
- * https://github.com/zloirock/core-js
- * License: http://rock.mit-license.org
- * © 2016 Denis Pushkarev
- */
- !function(__e, __g, undefined){
- 'use strict';
- /******/ (function(modules) { // webpackBootstrap
- /******/ // The module cache
- /******/ var installedModules = {};
- /******/ // The require function
- /******/ function __webpack_require__(moduleId) {
- /******/ // Check if module is in cache
- /******/ if(installedModules[moduleId])
- /******/ return installedModules[moduleId].exports;
- /******/ // Create a new module (and put it into the cache)
- /******/ var module = installedModules[moduleId] = {
- /******/ exports: {},
- /******/ id: moduleId,
- /******/ loaded: false
- /******/ };
- /******/ // Execute the module function
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
- /******/ // Flag the module as loaded
- /******/ module.loaded = true;
- /******/ // Return the exports of the module
- /******/ return module.exports;
- /******/ }
- /******/ // expose the modules object (__webpack_modules__)
- /******/ __webpack_require__.m = modules;
- /******/ // expose the module cache
- /******/ __webpack_require__.c = installedModules;
- /******/ // __webpack_public_path__
- /******/ __webpack_require__.p = "";
- /******/ // Load entry module and return exports
- /******/ return __webpack_require__(0);
- /******/ })
- /************************************************************************/
- /******/ ([
- /* 0 */
- /***/ function(module, exports, __webpack_require__) {
- __webpack_require__(1);
- __webpack_require__(34);
- __webpack_require__(40);
- __webpack_require__(42);
- __webpack_require__(44);
- __webpack_require__(46);
- __webpack_require__(48);
- __webpack_require__(50);
- __webpack_require__(51);
- __webpack_require__(52);
- __webpack_require__(53);
- __webpack_require__(54);
- __webpack_require__(55);
- __webpack_require__(56);
- __webpack_require__(57);
- __webpack_require__(58);
- __webpack_require__(59);
- __webpack_require__(60);
- __webpack_require__(61);
- __webpack_require__(64);
- __webpack_require__(65);
- __webpack_require__(66);
- __webpack_require__(68);
- __webpack_require__(69);
- __webpack_require__(70);
- __webpack_require__(71);
- __webpack_require__(72);
- __webpack_require__(73);
- __webpack_require__(74);
- __webpack_require__(76);
- __webpack_require__(77);
- __webpack_require__(78);
- __webpack_require__(80);
- __webpack_require__(81);
- __webpack_require__(82);
- __webpack_require__(84);
- __webpack_require__(85);
- __webpack_require__(86);
- __webpack_require__(87);
- __webpack_require__(88);
- __webpack_require__(89);
- __webpack_require__(90);
- __webpack_require__(91);
- __webpack_require__(92);
- __webpack_require__(93);
- __webpack_require__(94);
- __webpack_require__(95);
- __webpack_require__(96);
- __webpack_require__(97);
- __webpack_require__(99);
- __webpack_require__(103);
- __webpack_require__(104);
- __webpack_require__(106);
- __webpack_require__(107);
- __webpack_require__(111);
- __webpack_require__(116);
- __webpack_require__(117);
- __webpack_require__(120);
- __webpack_require__(122);
- __webpack_require__(124);
- __webpack_require__(126);
- __webpack_require__(127);
- __webpack_require__(128);
- __webpack_require__(130);
- __webpack_require__(131);
- __webpack_require__(133);
- __webpack_require__(134);
- __webpack_require__(135);
- __webpack_require__(136);
- __webpack_require__(143);
- __webpack_require__(146);
- __webpack_require__(147);
- __webpack_require__(149);
- __webpack_require__(150);
- __webpack_require__(151);
- __webpack_require__(152);
- __webpack_require__(153);
- __webpack_require__(154);
- __webpack_require__(155);
- __webpack_require__(156);
- __webpack_require__(157);
- __webpack_require__(158);
- __webpack_require__(159);
- __webpack_require__(160);
- __webpack_require__(162);
- __webpack_require__(163);
- __webpack_require__(164);
- __webpack_require__(165);
- __webpack_require__(166);
- __webpack_require__(167);
- __webpack_require__(169);
- __webpack_require__(170);
- __webpack_require__(171);
- __webpack_require__(172);
- __webpack_require__(174);
- __webpack_require__(175);
- __webpack_require__(177);
- __webpack_require__(178);
- __webpack_require__(180);
- __webpack_require__(181);
- __webpack_require__(182);
- __webpack_require__(183);
- module.exports = __webpack_require__(186);
- /***/ },
- /* 1 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , DESCRIPTORS = __webpack_require__(8)
- , createDesc = __webpack_require__(7)
- , html = __webpack_require__(14)
- , cel = __webpack_require__(15)
- , has = __webpack_require__(17)
- , cof = __webpack_require__(18)
- , invoke = __webpack_require__(19)
- , fails = __webpack_require__(9)
- , anObject = __webpack_require__(20)
- , aFunction = __webpack_require__(13)
- , isObject = __webpack_require__(16)
- , toObject = __webpack_require__(21)
- , toIObject = __webpack_require__(23)
- , toInteger = __webpack_require__(25)
- , toIndex = __webpack_require__(26)
- , toLength = __webpack_require__(27)
- , IObject = __webpack_require__(24)
- , IE_PROTO = __webpack_require__(11)('__proto__')
- , createArrayMethod = __webpack_require__(28)
- , arrayIndexOf = __webpack_require__(33)(false)
- , ObjectProto = Object.prototype
- , ArrayProto = Array.prototype
- , arraySlice = ArrayProto.slice
- , arrayJoin = ArrayProto.join
- , defineProperty = $.setDesc
- , getOwnDescriptor = $.getDesc
- , defineProperties = $.setDescs
- , factories = {}
- , IE8_DOM_DEFINE;
- if(!DESCRIPTORS){
- IE8_DOM_DEFINE = !fails(function(){
- return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;
- });
- $.setDesc = function(O, P, Attributes){
- if(IE8_DOM_DEFINE)try {
- return defineProperty(O, P, Attributes);
- } catch(e){ /* empty */ }
- if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
- if('value' in Attributes)anObject(O)[P] = Attributes.value;
- return O;
- };
- $.getDesc = function(O, P){
- if(IE8_DOM_DEFINE)try {
- return getOwnDescriptor(O, P);
- } catch(e){ /* empty */ }
- if(has(O, P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);
- };
- $.setDescs = defineProperties = function(O, Properties){
- anObject(O);
- var keys = $.getKeys(Properties)
- , length = keys.length
- , i = 0
- , P;
- while(length > i)$.setDesc(O, P = keys[i++], Properties[P]);
- return O;
- };
- }
- $export($export.S + $export.F * !DESCRIPTORS, 'Object', {
- // 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)
- getOwnPropertyDescriptor: $.getDesc,
- // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
- defineProperty: $.setDesc,
- // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
- defineProperties: defineProperties
- });
- // IE 8- don't enum bug keys
- var keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' +
- 'toLocaleString,toString,valueOf').split(',')
- // Additional keys for getOwnPropertyNames
- , keys2 = keys1.concat('length', 'prototype')
- , keysLen1 = keys1.length;
- // Create object with `null` prototype: use iframe Object with cleared prototype
- var createDict = function(){
- // Thrash, waste and sodomy: IE GC bug
- var iframe = cel('iframe')
- , i = keysLen1
- , gt = '>'
- , iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
- // createDict = iframe.contentWindow.Object;
- // html.removeChild(iframe);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write('<script>document.F=Object</script' + gt);
- iframeDocument.close();
- createDict = iframeDocument.F;
- while(i--)delete createDict.prototype[keys1[i]];
- return createDict();
- };
- var createGetKeys = function(names, length){
- return function(object){
- var O = toIObject(object)
- , i = 0
- , result = []
- , key;
- for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
- // Don't enum bug & hidden keys
- while(length > i)if(has(O, key = names[i++])){
- ~arrayIndexOf(result, key) || result.push(key);
- }
- return result;
- };
- };
- var Empty = function(){};
- $export($export.S, 'Object', {
- // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
- getPrototypeOf: $.getProto = $.getProto || function(O){
- O = toObject(O);
- if(has(O, IE_PROTO))return O[IE_PROTO];
- if(typeof O.constructor == 'function' && O instanceof O.constructor){
- return O.constructor.prototype;
- } return O instanceof Object ? ObjectProto : null;
- },
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
- getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
- create: $.create = $.create || function(O, /*?*/Properties){
- var result;
- if(O !== null){
- Empty.prototype = anObject(O);
- result = new Empty();
- Empty.prototype = null;
- // add "__proto__" for Object.getPrototypeOf shim
- result[IE_PROTO] = O;
- } else result = createDict();
- return Properties === undefined ? result : defineProperties(result, Properties);
- },
- // 19.1.2.14 / 15.2.3.14 Object.keys(O)
- keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false)
- });
- var construct = function(F, len, args){
- if(!(len in factories)){
- for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';
- factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
- }
- return factories[len](F, args);
- };
- // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
- $export($export.P, 'Function', {
- bind: function bind(that /*, args... */){
- var fn = aFunction(this)
- , partArgs = arraySlice.call(arguments, 1);
- var bound = function(/* args... */){
- var args = partArgs.concat(arraySlice.call(arguments));
- return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
- };
- if(isObject(fn.prototype))bound.prototype = fn.prototype;
- return bound;
- }
- });
- // fallback for not array-like ES3 strings and DOM objects
- $export($export.P + $export.F * fails(function(){
- if(html)arraySlice.call(html);
- }), 'Array', {
- slice: function(begin, end){
- var len = toLength(this.length)
- , klass = cof(this);
- end = end === undefined ? len : end;
- if(klass == 'Array')return arraySlice.call(this, begin, end);
- var start = toIndex(begin, len)
- , upTo = toIndex(end, len)
- , size = toLength(upTo - start)
- , cloned = Array(size)
- , i = 0;
- for(; i < size; i++)cloned[i] = klass == 'String'
- ? this.charAt(start + i)
- : this[start + i];
- return cloned;
- }
- });
- $export($export.P + $export.F * (IObject != Object), 'Array', {
- join: function join(separator){
- return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);
- }
- });
- // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
- $export($export.S, 'Array', {isArray: __webpack_require__(30)});
- var createArrayReduce = function(isRight){
- return function(callbackfn, memo){
- aFunction(callbackfn);
- var O = IObject(this)
- , length = toLength(O.length)
- , index = isRight ? length - 1 : 0
- , i = isRight ? -1 : 1;
- if(arguments.length < 2)for(;;){
- if(index in O){
- memo = O[index];
- index += i;
- break;
- }
- index += i;
- if(isRight ? index < 0 : length <= index){
- throw TypeError('Reduce of empty array with no initial value');
- }
- }
- for(;isRight ? index >= 0 : length > index; index += i)if(index in O){
- memo = callbackfn(memo, O[index], index, this);
- }
- return memo;
- };
- };
- var methodize = function($fn){
- return function(arg1/*, arg2 = undefined */){
- return $fn(this, arg1, arguments[1]);
- };
- };
- $export($export.P, 'Array', {
- // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
- forEach: $.each = $.each || methodize(createArrayMethod(0)),
- // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
- map: methodize(createArrayMethod(1)),
- // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
- filter: methodize(createArrayMethod(2)),
- // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
- some: methodize(createArrayMethod(3)),
- // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
- every: methodize(createArrayMethod(4)),
- // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
- reduce: createArrayReduce(false),
- // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
- reduceRight: createArrayReduce(true),
- // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
- indexOf: methodize(arrayIndexOf),
- // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
- lastIndexOf: function(el, fromIndex /* = @[*-1] */){
- var O = toIObject(this)
- , length = toLength(O.length)
- , index = length - 1;
- if(arguments.length > 1)index = Math.min(index, toInteger(fromIndex));
- if(index < 0)index = toLength(length + index);
- for(;index >= 0; index--)if(index in O)if(O[index] === el)return index;
- return -1;
- }
- });
- // 20.3.3.1 / 15.9.4.4 Date.now()
- $export($export.S, 'Date', {now: function(){ return +new Date; }});
- var lz = function(num){
- return num > 9 ? num : '0' + num;
- };
- // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
- // PhantomJS / old WebKit has a broken implementations
- $export($export.P + $export.F * (fails(function(){
- return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
- }) || !fails(function(){
- new Date(NaN).toISOString();
- })), 'Date', {
- toISOString: function toISOString(){
- if(!isFinite(this))throw RangeError('Invalid time value');
- var d = this
- , y = d.getUTCFullYear()
- , m = d.getUTCMilliseconds()
- , s = y < 0 ? '-' : y > 9999 ? '+' : '';
- return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
- '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
- 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
- ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
- }
- });
- /***/ },
- /* 2 */
- /***/ function(module, exports) {
- var $Object = Object;
- module.exports = {
- create: $Object.create,
- getProto: $Object.getPrototypeOf,
- isEnum: {}.propertyIsEnumerable,
- getDesc: $Object.getOwnPropertyDescriptor,
- setDesc: $Object.defineProperty,
- setDescs: $Object.defineProperties,
- getKeys: $Object.keys,
- getNames: $Object.getOwnPropertyNames,
- getSymbols: $Object.getOwnPropertySymbols,
- each: [].forEach
- };
- /***/ },
- /* 3 */
- /***/ function(module, exports, __webpack_require__) {
- var global = __webpack_require__(4)
- , core = __webpack_require__(5)
- , hide = __webpack_require__(6)
- , redefine = __webpack_require__(10)
- , ctx = __webpack_require__(12)
- , PROTOTYPE = 'prototype';
- var $export = function(type, name, source){
- var IS_FORCED = type & $export.F
- , IS_GLOBAL = type & $export.G
- , IS_STATIC = type & $export.S
- , IS_PROTO = type & $export.P
- , IS_BIND = type & $export.B
- , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]
- , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
- , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})
- , key, own, out, exp;
- if(IS_GLOBAL)source = name;
- for(key in source){
- // contains in native
- own = !IS_FORCED && target && key in target;
- // export native or passed
- out = (own ? target : source)[key];
- // bind timers to global for call from export context
- exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
- // extend global
- if(target && !own)redefine(target, key, out);
- // export
- if(exports[key] != out)hide(exports, key, exp);
- if(IS_PROTO && expProto[key] != out)expProto[key] = out;
- }
- };
- global.core = core;
- // type bitmap
- $export.F = 1; // forced
- $export.G = 2; // global
- $export.S = 4; // static
- $export.P = 8; // proto
- $export.B = 16; // bind
- $export.W = 32; // wrap
- module.exports = $export;
- /***/ },
- /* 4 */
- /***/ function(module, exports) {
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
- ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
- if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
- /***/ },
- /* 5 */
- /***/ function(module, exports) {
- var core = module.exports = {version: '1.2.6'};
- if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
- /***/ },
- /* 6 */
- /***/ function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(2)
- , createDesc = __webpack_require__(7);
- module.exports = __webpack_require__(8) ? function(object, key, value){
- return $.setDesc(object, key, createDesc(1, value));
- } : function(object, key, value){
- object[key] = value;
- return object;
- };
- /***/ },
- /* 7 */
- /***/ function(module, exports) {
- module.exports = function(bitmap, value){
- return {
- enumerable : !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable : !(bitmap & 4),
- value : value
- };
- };
- /***/ },
- /* 8 */
- /***/ function(module, exports, __webpack_require__) {
- // Thank's IE8 for his funny defineProperty
- module.exports = !__webpack_require__(9)(function(){
- return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
- });
- /***/ },
- /* 9 */
- /***/ function(module, exports) {
- module.exports = function(exec){
- try {
- return !!exec();
- } catch(e){
- return true;
- }
- };
- /***/ },
- /* 10 */
- /***/ function(module, exports, __webpack_require__) {
- // add fake Function#toString
- // for correct work wrapped methods / constructors with methods like LoDash isNative
- var global = __webpack_require__(4)
- , hide = __webpack_require__(6)
- , SRC = __webpack_require__(11)('src')
- , TO_STRING = 'toString'
- , $toString = Function[TO_STRING]
- , TPL = ('' + $toString).split(TO_STRING);
- __webpack_require__(5).inspectSource = function(it){
- return $toString.call(it);
- };
- (module.exports = function(O, key, val, safe){
- if(typeof val == 'function'){
- val.hasOwnProperty(SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
- val.hasOwnProperty('name') || hide(val, 'name', key);
- }
- if(O === global){
- O[key] = val;
- } else {
- if(!safe)delete O[key];
- hide(O, key, val);
- }
- })(Function.prototype, TO_STRING, function toString(){
- return typeof this == 'function' && this[SRC] || $toString.call(this);
- });
- /***/ },
- /* 11 */
- /***/ function(module, exports) {
- var id = 0
- , px = Math.random();
- module.exports = function(key){
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
- };
- /***/ },
- /* 12 */
- /***/ function(module, exports, __webpack_require__) {
- // optional / simple context binding
- var aFunction = __webpack_require__(13);
- module.exports = function(fn, that, length){
- aFunction(fn);
- if(that === undefined)return fn;
- switch(length){
- case 1: return function(a){
- return fn.call(that, a);
- };
- case 2: return function(a, b){
- return fn.call(that, a, b);
- };
- case 3: return function(a, b, c){
- return fn.call(that, a, b, c);
- };
- }
- return function(/* ...args */){
- return fn.apply(that, arguments);
- };
- };
- /***/ },
- /* 13 */
- /***/ function(module, exports) {
- module.exports = function(it){
- if(typeof it != 'function')throw TypeError(it + ' is not a function!');
- return it;
- };
- /***/ },
- /* 14 */
- /***/ function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(4).document && document.documentElement;
- /***/ },
- /* 15 */
- /***/ function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(16)
- , document = __webpack_require__(4).document
- // in old IE typeof document.createElement is 'object'
- , is = isObject(document) && isObject(document.createElement);
- module.exports = function(it){
- return is ? document.createElement(it) : {};
- };
- /***/ },
- /* 16 */
- /***/ function(module, exports) {
- module.exports = function(it){
- return typeof it === 'object' ? it !== null : typeof it === 'function';
- };
- /***/ },
- /* 17 */
- /***/ function(module, exports) {
- var hasOwnProperty = {}.hasOwnProperty;
- module.exports = function(it, key){
- return hasOwnProperty.call(it, key);
- };
- /***/ },
- /* 18 */
- /***/ function(module, exports) {
- var toString = {}.toString;
- module.exports = function(it){
- return toString.call(it).slice(8, -1);
- };
- /***/ },
- /* 19 */
- /***/ function(module, exports) {
- // fast apply, http://jsperf.lnkit.com/fast-apply/5
- module.exports = function(fn, args, that){
- var un = that === undefined;
- switch(args.length){
- case 0: return un ? fn()
- : fn.call(that);
- case 1: return un ? fn(args[0])
- : fn.call(that, args[0]);
- case 2: return un ? fn(args[0], args[1])
- : fn.call(that, args[0], args[1]);
- case 3: return un ? fn(args[0], args[1], args[2])
- : fn.call(that, args[0], args[1], args[2]);
- case 4: return un ? fn(args[0], args[1], args[2], args[3])
- : fn.call(that, args[0], args[1], args[2], args[3]);
- } return fn.apply(that, args);
- };
- /***/ },
- /* 20 */
- /***/ function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(16);
- module.exports = function(it){
- if(!isObject(it))throw TypeError(it + ' is not an object!');
- return it;
- };
- /***/ },
- /* 21 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.1.13 ToObject(argument)
- var defined = __webpack_require__(22);
- module.exports = function(it){
- return Object(defined(it));
- };
- /***/ },
- /* 22 */
- /***/ function(module, exports) {
- // 7.2.1 RequireObjectCoercible(argument)
- module.exports = function(it){
- if(it == undefined)throw TypeError("Can't call method on " + it);
- return it;
- };
- /***/ },
- /* 23 */
- /***/ function(module, exports, __webpack_require__) {
- // to indexed object, toObject with fallback for non-array-like ES3 strings
- var IObject = __webpack_require__(24)
- , defined = __webpack_require__(22);
- module.exports = function(it){
- return IObject(defined(it));
- };
- /***/ },
- /* 24 */
- /***/ function(module, exports, __webpack_require__) {
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
- var cof = __webpack_require__(18);
- module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
- return cof(it) == 'String' ? it.split('') : Object(it);
- };
- /***/ },
- /* 25 */
- /***/ function(module, exports) {
- // 7.1.4 ToInteger
- var ceil = Math.ceil
- , floor = Math.floor;
- module.exports = function(it){
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
- };
- /***/ },
- /* 26 */
- /***/ function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(25)
- , max = Math.max
- , min = Math.min;
- module.exports = function(index, length){
- index = toInteger(index);
- return index < 0 ? max(index + length, 0) : min(index, length);
- };
- /***/ },
- /* 27 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.1.15 ToLength
- var toInteger = __webpack_require__(25)
- , min = Math.min;
- module.exports = function(it){
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
- };
- /***/ },
- /* 28 */
- /***/ function(module, exports, __webpack_require__) {
- // 0 -> Array#forEach
- // 1 -> Array#map
- // 2 -> Array#filter
- // 3 -> Array#some
- // 4 -> Array#every
- // 5 -> Array#find
- // 6 -> Array#findIndex
- var ctx = __webpack_require__(12)
- , IObject = __webpack_require__(24)
- , toObject = __webpack_require__(21)
- , toLength = __webpack_require__(27)
- , asc = __webpack_require__(29);
- module.exports = function(TYPE){
- var IS_MAP = TYPE == 1
- , IS_FILTER = TYPE == 2
- , IS_SOME = TYPE == 3
- , IS_EVERY = TYPE == 4
- , IS_FIND_INDEX = TYPE == 6
- , NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
- return function($this, callbackfn, that){
- var O = toObject($this)
- , self = IObject(O)
- , f = ctx(callbackfn, that, 3)
- , length = toLength(self.length)
- , index = 0
- , result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined
- , val, res;
- for(;length > index; index++)if(NO_HOLES || index in self){
- val = self[index];
- res = f(val, index, O);
- if(TYPE){
- if(IS_MAP)result[index] = res; // map
- else if(res)switch(TYPE){
- case 3: return true; // some
- case 5: return val; // find
- case 6: return index; // findIndex
- case 2: result.push(val); // filter
- } else if(IS_EVERY)return false; // every
- }
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
- };
- };
- /***/ },
- /* 29 */
- /***/ function(module, exports, __webpack_require__) {
- // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
- var isObject = __webpack_require__(16)
- , isArray = __webpack_require__(30)
- , SPECIES = __webpack_require__(31)('species');
- module.exports = function(original, length){
- var C;
- if(isArray(original)){
- C = original.constructor;
- // cross-realm fallback
- if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
- if(isObject(C)){
- C = C[SPECIES];
- if(C === null)C = undefined;
- }
- } return new (C === undefined ? Array : C)(length);
- };
- /***/ },
- /* 30 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.2.2 IsArray(argument)
- var cof = __webpack_require__(18);
- module.exports = Array.isArray || function(arg){
- return cof(arg) == 'Array';
- };
- /***/ },
- /* 31 */
- /***/ function(module, exports, __webpack_require__) {
- var store = __webpack_require__(32)('wks')
- , uid = __webpack_require__(11)
- , Symbol = __webpack_require__(4).Symbol;
- module.exports = function(name){
- return store[name] || (store[name] =
- Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
- };
- /***/ },
- /* 32 */
- /***/ function(module, exports, __webpack_require__) {
- var global = __webpack_require__(4)
- , SHARED = '__core-js_shared__'
- , store = global[SHARED] || (global[SHARED] = {});
- module.exports = function(key){
- return store[key] || (store[key] = {});
- };
- /***/ },
- /* 33 */
- /***/ function(module, exports, __webpack_require__) {
- // false -> Array#indexOf
- // true -> Array#includes
- var toIObject = __webpack_require__(23)
- , toLength = __webpack_require__(27)
- , toIndex = __webpack_require__(26);
- module.exports = function(IS_INCLUDES){
- return function($this, el, fromIndex){
- var O = toIObject($this)
- , length = toLength(O.length)
- , index = toIndex(fromIndex, length)
- , value;
- // Array#includes uses SameValueZero equality algorithm
- if(IS_INCLUDES && el != el)while(length > index){
- value = O[index++];
- if(value != value)return true;
- // Array#toIndex ignores holes, Array#includes - not
- } else for(;length > index; index++)if(IS_INCLUDES || index in O){
- if(O[index] === el)return IS_INCLUDES || index;
- } return !IS_INCLUDES && -1;
- };
- };
- /***/ },
- /* 34 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // ECMAScript 6 symbols shim
- var $ = __webpack_require__(2)
- , global = __webpack_require__(4)
- , has = __webpack_require__(17)
- , DESCRIPTORS = __webpack_require__(8)
- , $export = __webpack_require__(3)
- , redefine = __webpack_require__(10)
- , $fails = __webpack_require__(9)
- , shared = __webpack_require__(32)
- , setToStringTag = __webpack_require__(35)
- , uid = __webpack_require__(11)
- , wks = __webpack_require__(31)
- , keyOf = __webpack_require__(36)
- , $names = __webpack_require__(37)
- , enumKeys = __webpack_require__(38)
- , isArray = __webpack_require__(30)
- , anObject = __webpack_require__(20)
- , toIObject = __webpack_require__(23)
- , createDesc = __webpack_require__(7)
- , getDesc = $.getDesc
- , setDesc = $.setDesc
- , _create = $.create
- , getNames = $names.get
- , $Symbol = global.Symbol
- , $JSON = global.JSON
- , _stringify = $JSON && $JSON.stringify
- , setter = false
- , HIDDEN = wks('_hidden')
- , isEnum = $.isEnum
- , SymbolRegistry = shared('symbol-registry')
- , AllSymbols = shared('symbols')
- , useNative = typeof $Symbol == 'function'
- , ObjectProto = Object.prototype;
- // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
- var setSymbolDesc = DESCRIPTORS && $fails(function(){
- return _create(setDesc({}, 'a', {
- get: function(){ return setDesc(this, 'a', {value: 7}).a; }
- })).a != 7;
- }) ? function(it, key, D){
- var protoDesc = getDesc(ObjectProto, key);
- if(protoDesc)delete ObjectProto[key];
- setDesc(it, key, D);
- if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
- } : setDesc;
- var wrap = function(tag){
- var sym = AllSymbols[tag] = _create($Symbol.prototype);
- sym._k = tag;
- DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
- configurable: true,
- set: function(value){
- if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
- setSymbolDesc(this, tag, createDesc(1, value));
- }
- });
- return sym;
- };
- var isSymbol = function(it){
- return typeof it == 'symbol';
- };
- var $defineProperty = function defineProperty(it, key, D){
- if(D && has(AllSymbols, key)){
- if(!D.enumerable){
- if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));
- it[HIDDEN][key] = true;
- } else {
- if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
- D = _create(D, {enumerable: createDesc(0, false)});
- } return setSymbolDesc(it, key, D);
- } return setDesc(it, key, D);
- };
- var $defineProperties = function defineProperties(it, P){
- anObject(it);
- var keys = enumKeys(P = toIObject(P))
- , i = 0
- , l = keys.length
- , key;
- while(l > i)$defineProperty(it, key = keys[i++], P[key]);
- return it;
- };
- var $create = function create(it, P){
- return P === undefined ? _create(it) : $defineProperties(_create(it), P);
- };
- var $propertyIsEnumerable = function propertyIsEnumerable(key){
- var E = isEnum.call(this, key);
- return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]
- ? E : true;
- };
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
- var D = getDesc(it = toIObject(it), key);
- if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
- return D;
- };
- var $getOwnPropertyNames = function getOwnPropertyNames(it){
- var names = getNames(toIObject(it))
- , result = []
- , i = 0
- , key;
- while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);
- return result;
- };
- var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
- var names = getNames(toIObject(it))
- , result = []
- , i = 0
- , key;
- while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);
- return result;
- };
- var $stringify = function stringify(it){
- if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
- var args = [it]
- , i = 1
- , $$ = arguments
- , replacer, $replacer;
- while($$.length > i)args.push($$[i++]);
- replacer = args[1];
- if(typeof replacer == 'function')$replacer = replacer;
- if($replacer || !isArray(replacer))replacer = function(key, value){
- if($replacer)value = $replacer.call(this, key, value);
- if(!isSymbol(value))return value;
- };
- args[1] = replacer;
- return _stringify.apply($JSON, args);
- };
- var buggyJSON = $fails(function(){
- var S = $Symbol();
- // MS Edge converts symbol values to JSON as {}
- // WebKit converts symbol values to JSON as null
- // V8 throws on boxed symbols
- return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
- });
- // 19.4.1.1 Symbol([description])
- if(!useNative){
- $Symbol = function Symbol(){
- if(isSymbol(this))throw TypeError('Symbol is not a constructor');
- return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
- };
- redefine($Symbol.prototype, 'toString', function toString(){
- return this._k;
- });
- isSymbol = function(it){
- return it instanceof $Symbol;
- };
- $.create = $create;
- $.isEnum = $propertyIsEnumerable;
- $.getDesc = $getOwnPropertyDescriptor;
- $.setDesc = $defineProperty;
- $.setDescs = $defineProperties;
- $.getNames = $names.get = $getOwnPropertyNames;
- $.getSymbols = $getOwnPropertySymbols;
- if(DESCRIPTORS && !__webpack_require__(39)){
- redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
- }
- }
- var symbolStatics = {
- // 19.4.2.1 Symbol.for(key)
- 'for': function(key){
- return has(SymbolRegistry, key += '')
- ? SymbolRegistry[key]
- : SymbolRegistry[key] = $Symbol(key);
- },
- // 19.4.2.5 Symbol.keyFor(sym)
- keyFor: function keyFor(key){
- return keyOf(SymbolRegistry, key);
- },
- useSetter: function(){ setter = true; },
- useSimple: function(){ setter = false; }
- };
- // 19.4.2.2 Symbol.hasInstance
- // 19.4.2.3 Symbol.isConcatSpreadable
- // 19.4.2.4 Symbol.iterator
- // 19.4.2.6 Symbol.match
- // 19.4.2.8 Symbol.replace
- // 19.4.2.9 Symbol.search
- // 19.4.2.10 Symbol.species
- // 19.4.2.11 Symbol.split
- // 19.4.2.12 Symbol.toPrimitive
- // 19.4.2.13 Symbol.toStringTag
- // 19.4.2.14 Symbol.unscopables
- $.each.call((
- 'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +
- 'species,split,toPrimitive,toStringTag,unscopables'
- ).split(','), function(it){
- var sym = wks(it);
- symbolStatics[it] = useNative ? sym : wrap(sym);
- });
- setter = true;
- $export($export.G + $export.W, {Symbol: $Symbol});
- $export($export.S, 'Symbol', symbolStatics);
- $export($export.S + $export.F * !useNative, 'Object', {
- // 19.1.2.2 Object.create(O [, Properties])
- create: $create,
- // 19.1.2.4 Object.defineProperty(O, P, Attributes)
- defineProperty: $defineProperty,
- // 19.1.2.3 Object.defineProperties(O, Properties)
- defineProperties: $defineProperties,
- // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
- // 19.1.2.7 Object.getOwnPropertyNames(O)
- getOwnPropertyNames: $getOwnPropertyNames,
- // 19.1.2.8 Object.getOwnPropertySymbols(O)
- getOwnPropertySymbols: $getOwnPropertySymbols
- });
- // 24.3.2 JSON.stringify(value [, replacer [, space]])
- $JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
- // 19.4.3.5 Symbol.prototype[@@toStringTag]
- setToStringTag($Symbol, 'Symbol');
- // 20.2.1.9 Math[@@toStringTag]
- setToStringTag(Math, 'Math', true);
- // 24.3.3 JSON[@@toStringTag]
- setToStringTag(global.JSON, 'JSON', true);
- /***/ },
- /* 35 */
- /***/ function(module, exports, __webpack_require__) {
- var def = __webpack_require__(2).setDesc
- , has = __webpack_require__(17)
- , TAG = __webpack_require__(31)('toStringTag');
- module.exports = function(it, tag, stat){
- if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
- };
- /***/ },
- /* 36 */
- /***/ function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(2)
- , toIObject = __webpack_require__(23);
- module.exports = function(object, el){
- var O = toIObject(object)
- , keys = $.getKeys(O)
- , length = keys.length
- , index = 0
- , key;
- while(length > index)if(O[key = keys[index++]] === el)return key;
- };
- /***/ },
- /* 37 */
- /***/ function(module, exports, __webpack_require__) {
- // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
- var toIObject = __webpack_require__(23)
- , getNames = __webpack_require__(2).getNames
- , toString = {}.toString;
- var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
- ? Object.getOwnPropertyNames(window) : [];
- var getWindowNames = function(it){
- try {
- return getNames(it);
- } catch(e){
- return windowNames.slice();
- }
- };
- module.exports.get = function getOwnPropertyNames(it){
- if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
- return getNames(toIObject(it));
- };
- /***/ },
- /* 38 */
- /***/ function(module, exports, __webpack_require__) {
- // all enumerable object keys, includes symbols
- var $ = __webpack_require__(2);
- module.exports = function(it){
- var keys = $.getKeys(it)
- , getSymbols = $.getSymbols;
- if(getSymbols){
- var symbols = getSymbols(it)
- , isEnum = $.isEnum
- , i = 0
- , key;
- while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);
- }
- return keys;
- };
- /***/ },
- /* 39 */
- /***/ function(module, exports) {
- module.exports = false;
- /***/ },
- /* 40 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.3.1 Object.assign(target, source)
- var $export = __webpack_require__(3);
- $export($export.S + $export.F, 'Object', {assign: __webpack_require__(41)});
- /***/ },
- /* 41 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.1 Object.assign(target, source, ...)
- var $ = __webpack_require__(2)
- , toObject = __webpack_require__(21)
- , IObject = __webpack_require__(24);
- // should work with symbols and should have deterministic property order (V8 bug)
- module.exports = __webpack_require__(9)(function(){
- var a = Object.assign
- , A = {}
- , B = {}
- , S = Symbol()
- , K = 'abcdefghijklmnopqrst';
- A[S] = 7;
- K.split('').forEach(function(k){ B[k] = k; });
- return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
- }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
- var T = toObject(target)
- , $$ = arguments
- , $$len = $$.length
- , index = 1
- , getKeys = $.getKeys
- , getSymbols = $.getSymbols
- , isEnum = $.isEnum;
- while($$len > index){
- var S = IObject($$[index++])
- , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
- , length = keys.length
- , j = 0
- , key;
- while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
- }
- return T;
- } : Object.assign;
- /***/ },
- /* 42 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.3.10 Object.is(value1, value2)
- var $export = __webpack_require__(3);
- $export($export.S, 'Object', {is: __webpack_require__(43)});
- /***/ },
- /* 43 */
- /***/ function(module, exports) {
- // 7.2.9 SameValue(x, y)
- module.exports = Object.is || function is(x, y){
- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
- };
- /***/ },
- /* 44 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.3.19 Object.setPrototypeOf(O, proto)
- var $export = __webpack_require__(3);
- $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(45).set});
- /***/ },
- /* 45 */
- /***/ function(module, exports, __webpack_require__) {
- // Works with __proto__ only. Old v8 can't work with null proto objects.
- /* eslint-disable no-proto */
- var getDesc = __webpack_require__(2).getDesc
- , isObject = __webpack_require__(16)
- , anObject = __webpack_require__(20);
- var check = function(O, proto){
- anObject(O);
- if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
- };
- module.exports = {
- set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
- function(test, buggy, set){
- try {
- set = __webpack_require__(12)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
- set(test, []);
- buggy = !(test instanceof Array);
- } catch(e){ buggy = true; }
- return function setPrototypeOf(O, proto){
- check(O, proto);
- if(buggy)O.__proto__ = proto;
- else set(O, proto);
- return O;
- };
- }({}, false) : undefined),
- check: check
- };
- /***/ },
- /* 46 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 19.1.3.6 Object.prototype.toString()
- var classof = __webpack_require__(47)
- , test = {};
- test[__webpack_require__(31)('toStringTag')] = 'z';
- if(test + '' != '[object z]'){
- __webpack_require__(10)(Object.prototype, 'toString', function toString(){
- return '[object ' + classof(this) + ']';
- }, true);
- }
- /***/ },
- /* 47 */
- /***/ function(module, exports, __webpack_require__) {
- // getting tag from 19.1.3.6 Object.prototype.toString()
- var cof = __webpack_require__(18)
- , TAG = __webpack_require__(31)('toStringTag')
- // ES3 wrong here
- , ARG = cof(function(){ return arguments; }()) == 'Arguments';
- module.exports = function(it){
- var O, T, B;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (T = (O = Object(it))[TAG]) == 'string' ? T
- // builtinTag case
- : ARG ? cof(O)
- // ES3 arguments fallback
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
- };
- /***/ },
- /* 48 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.5 Object.freeze(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('freeze', function($freeze){
- return function freeze(it){
- return $freeze && isObject(it) ? $freeze(it) : it;
- };
- });
- /***/ },
- /* 49 */
- /***/ function(module, exports, __webpack_require__) {
- // most Object methods by ES6 should accept primitives
- var $export = __webpack_require__(3)
- , core = __webpack_require__(5)
- , fails = __webpack_require__(9);
- module.exports = function(KEY, exec){
- var fn = (core.Object || {})[KEY] || Object[KEY]
- , exp = {};
- exp[KEY] = exec(fn);
- $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
- };
- /***/ },
- /* 50 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.17 Object.seal(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('seal', function($seal){
- return function seal(it){
- return $seal && isObject(it) ? $seal(it) : it;
- };
- });
- /***/ },
- /* 51 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.15 Object.preventExtensions(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('preventExtensions', function($preventExtensions){
- return function preventExtensions(it){
- return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;
- };
- });
- /***/ },
- /* 52 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.12 Object.isFrozen(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('isFrozen', function($isFrozen){
- return function isFrozen(it){
- return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
- };
- });
- /***/ },
- /* 53 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.13 Object.isSealed(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('isSealed', function($isSealed){
- return function isSealed(it){
- return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
- };
- });
- /***/ },
- /* 54 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.11 Object.isExtensible(O)
- var isObject = __webpack_require__(16);
- __webpack_require__(49)('isExtensible', function($isExtensible){
- return function isExtensible(it){
- return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
- };
- });
- /***/ },
- /* 55 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
- var toIObject = __webpack_require__(23);
- __webpack_require__(49)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
- return function getOwnPropertyDescriptor(it, key){
- return $getOwnPropertyDescriptor(toIObject(it), key);
- };
- });
- /***/ },
- /* 56 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.9 Object.getPrototypeOf(O)
- var toObject = __webpack_require__(21);
- __webpack_require__(49)('getPrototypeOf', function($getPrototypeOf){
- return function getPrototypeOf(it){
- return $getPrototypeOf(toObject(it));
- };
- });
- /***/ },
- /* 57 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.14 Object.keys(O)
- var toObject = __webpack_require__(21);
- __webpack_require__(49)('keys', function($keys){
- return function keys(it){
- return $keys(toObject(it));
- };
- });
- /***/ },
- /* 58 */
- /***/ function(module, exports, __webpack_require__) {
- // 19.1.2.7 Object.getOwnPropertyNames(O)
- __webpack_require__(49)('getOwnPropertyNames', function(){
- return __webpack_require__(37).get;
- });
- /***/ },
- /* 59 */
- /***/ function(module, exports, __webpack_require__) {
- var setDesc = __webpack_require__(2).setDesc
- , createDesc = __webpack_require__(7)
- , has = __webpack_require__(17)
- , FProto = Function.prototype
- , nameRE = /^\s*function ([^ (]*)/
- , NAME = 'name';
- // 19.2.4.2 name
- NAME in FProto || __webpack_require__(8) && setDesc(FProto, NAME, {
- configurable: true,
- get: function(){
- var match = ('' + this).match(nameRE)
- , name = match ? match[1] : '';
- has(this, NAME) || setDesc(this, NAME, createDesc(5, name));
- return name;
- }
- });
- /***/ },
- /* 60 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , isObject = __webpack_require__(16)
- , HAS_INSTANCE = __webpack_require__(31)('hasInstance')
- , FunctionProto = Function.prototype;
- // 19.2.3.6 Function.prototype[@@hasInstance](V)
- if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
- if(typeof this != 'function' || !isObject(O))return false;
- if(!isObject(this.prototype))return O instanceof this;
- // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
- while(O = $.getProto(O))if(this.prototype === O)return true;
- return false;
- }});
- /***/ },
- /* 61 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , global = __webpack_require__(4)
- , has = __webpack_require__(17)
- , cof = __webpack_require__(18)
- , toPrimitive = __webpack_require__(62)
- , fails = __webpack_require__(9)
- , $trim = __webpack_require__(63).trim
- , NUMBER = 'Number'
- , $Number = global[NUMBER]
- , Base = $Number
- , proto = $Number.prototype
- // Opera ~12 has broken Object#toString
- , BROKEN_COF = cof($.create(proto)) == NUMBER
- , TRIM = 'trim' in String.prototype;
- // 7.1.3 ToNumber(argument)
- var toNumber = function(argument){
- var it = toPrimitive(argument, false);
- if(typeof it == 'string' && it.length > 2){
- it = TRIM ? it.trim() : $trim(it, 3);
- var first = it.charCodeAt(0)
- , third, radix, maxCode;
- if(first === 43 || first === 45){
- third = it.charCodeAt(2);
- if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix
- } else if(first === 48){
- switch(it.charCodeAt(1)){
- case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
- case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
- default : return +it;
- }
- for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){
- code = digits.charCodeAt(i);
- // parseInt parses a string to a first unavailable symbol
- // but ToNumber should return NaN if a string contains unavailable symbols
- if(code < 48 || code > maxCode)return NaN;
- } return parseInt(digits, radix);
- }
- } return +it;
- };
- if(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){
- $Number = function Number(value){
- var it = arguments.length < 1 ? 0 : value
- , that = this;
- return that instanceof $Number
- // check on 1..constructor(foo) case
- && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)
- ? new Base(toNumber(it)) : toNumber(it);
- };
- $.each.call(__webpack_require__(8) ? $.getNames(Base) : (
- // ES3:
- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
- // ES6 (in case, if modules with ES6 Number statics required before):
- 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
- 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
- ).split(','), function(key){
- if(has(Base, key) && !has($Number, key)){
- $.setDesc($Number, key, $.getDesc(Base, key));
- }
- });
- $Number.prototype = proto;
- proto.constructor = $Number;
- __webpack_require__(10)(global, NUMBER, $Number);
- }
- /***/ },
- /* 62 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.1.1 ToPrimitive(input [, PreferredType])
- var isObject = __webpack_require__(16);
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
- // and the second argument - flag - preferred type is a string
- module.exports = function(it, S){
- if(!isObject(it))return it;
- var fn, val;
- if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
- if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
- if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
- throw TypeError("Can't convert object to primitive value");
- };
- /***/ },
- /* 63 */
- /***/ function(module, exports, __webpack_require__) {
- var $export = __webpack_require__(3)
- , defined = __webpack_require__(22)
- , fails = __webpack_require__(9)
- , spaces = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
- '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'
- , space = '[' + spaces + ']'
- , non = '\u200b\u0085'
- , ltrim = RegExp('^' + space + space + '*')
- , rtrim = RegExp(space + space + '*$');
- var exporter = function(KEY, exec){
- var exp = {};
- exp[KEY] = exec(trim);
- $export($export.P + $export.F * fails(function(){
- return !!spaces[KEY]() || non[KEY]() != non;
- }), 'String', exp);
- };
- // 1 -> String#trimLeft
- // 2 -> String#trimRight
- // 3 -> String#trim
- var trim = exporter.trim = function(string, TYPE){
- string = String(defined(string));
- if(TYPE & 1)string = string.replace(ltrim, '');
- if(TYPE & 2)string = string.replace(rtrim, '');
- return string;
- };
- module.exports = exporter;
- /***/ },
- /* 64 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.1 Number.EPSILON
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
- /***/ },
- /* 65 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.2 Number.isFinite(number)
- var $export = __webpack_require__(3)
- , _isFinite = __webpack_require__(4).isFinite;
- $export($export.S, 'Number', {
- isFinite: function isFinite(it){
- return typeof it == 'number' && _isFinite(it);
- }
- });
- /***/ },
- /* 66 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.3 Number.isInteger(number)
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {isInteger: __webpack_require__(67)});
- /***/ },
- /* 67 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.3 Number.isInteger(number)
- var isObject = __webpack_require__(16)
- , floor = Math.floor;
- module.exports = function isInteger(it){
- return !isObject(it) && isFinite(it) && floor(it) === it;
- };
- /***/ },
- /* 68 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.4 Number.isNaN(number)
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {
- isNaN: function isNaN(number){
- return number != number;
- }
- });
- /***/ },
- /* 69 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.5 Number.isSafeInteger(number)
- var $export = __webpack_require__(3)
- , isInteger = __webpack_require__(67)
- , abs = Math.abs;
- $export($export.S, 'Number', {
- isSafeInteger: function isSafeInteger(number){
- return isInteger(number) && abs(number) <= 0x1fffffffffffff;
- }
- });
- /***/ },
- /* 70 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.6 Number.MAX_SAFE_INTEGER
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
- /***/ },
- /* 71 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.10 Number.MIN_SAFE_INTEGER
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
- /***/ },
- /* 72 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.12 Number.parseFloat(string)
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {parseFloat: parseFloat});
- /***/ },
- /* 73 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.1.2.13 Number.parseInt(string, radix)
- var $export = __webpack_require__(3);
- $export($export.S, 'Number', {parseInt: parseInt});
- /***/ },
- /* 74 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.3 Math.acosh(x)
- var $export = __webpack_require__(3)
- , log1p = __webpack_require__(75)
- , sqrt = Math.sqrt
- , $acosh = Math.acosh;
- // V8 bug https://code.google.com/p/v8/issues/detail?id=3509
- $export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
- acosh: function acosh(x){
- return (x = +x) < 1 ? NaN : x > 94906265.62425156
- ? Math.log(x) + Math.LN2
- : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
- }
- });
- /***/ },
- /* 75 */
- /***/ function(module, exports) {
- // 20.2.2.20 Math.log1p(x)
- module.exports = Math.log1p || function log1p(x){
- return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
- };
- /***/ },
- /* 76 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.5 Math.asinh(x)
- var $export = __webpack_require__(3);
- function asinh(x){
- return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
- }
- $export($export.S, 'Math', {asinh: asinh});
- /***/ },
- /* 77 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.7 Math.atanh(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {
- atanh: function atanh(x){
- return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
- }
- });
- /***/ },
- /* 78 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.9 Math.cbrt(x)
- var $export = __webpack_require__(3)
- , sign = __webpack_require__(79);
- $export($export.S, 'Math', {
- cbrt: function cbrt(x){
- return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
- }
- });
- /***/ },
- /* 79 */
- /***/ function(module, exports) {
- // 20.2.2.28 Math.sign(x)
- module.exports = Math.sign || function sign(x){
- return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
- };
- /***/ },
- /* 80 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.11 Math.clz32(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {
- clz32: function clz32(x){
- return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
- }
- });
- /***/ },
- /* 81 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.12 Math.cosh(x)
- var $export = __webpack_require__(3)
- , exp = Math.exp;
- $export($export.S, 'Math', {
- cosh: function cosh(x){
- return (exp(x = +x) + exp(-x)) / 2;
- }
- });
- /***/ },
- /* 82 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.14 Math.expm1(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {expm1: __webpack_require__(83)});
- /***/ },
- /* 83 */
- /***/ function(module, exports) {
- // 20.2.2.14 Math.expm1(x)
- module.exports = Math.expm1 || function expm1(x){
- return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
- };
- /***/ },
- /* 84 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.16 Math.fround(x)
- var $export = __webpack_require__(3)
- , sign = __webpack_require__(79)
- , pow = Math.pow
- , EPSILON = pow(2, -52)
- , EPSILON32 = pow(2, -23)
- , MAX32 = pow(2, 127) * (2 - EPSILON32)
- , MIN32 = pow(2, -126);
- var roundTiesToEven = function(n){
- return n + 1 / EPSILON - 1 / EPSILON;
- };
- $export($export.S, 'Math', {
- fround: function fround(x){
- var $abs = Math.abs(x)
- , $sign = sign(x)
- , a, result;
- if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
- a = (1 + EPSILON32 / EPSILON) * $abs;
- result = a - (a - $abs);
- if(result > MAX32 || result != result)return $sign * Infinity;
- return $sign * result;
- }
- });
- /***/ },
- /* 85 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
- var $export = __webpack_require__(3)
- , abs = Math.abs;
- $export($export.S, 'Math', {
- hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
- var sum = 0
- , i = 0
- , $$ = arguments
- , $$len = $$.length
- , larg = 0
- , arg, div;
- while(i < $$len){
- arg = abs($$[i++]);
- if(larg < arg){
- div = larg / arg;
- sum = sum * div * div + 1;
- larg = arg;
- } else if(arg > 0){
- div = arg / larg;
- sum += div * div;
- } else sum += arg;
- }
- return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
- }
- });
- /***/ },
- /* 86 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.18 Math.imul(x, y)
- var $export = __webpack_require__(3)
- , $imul = Math.imul;
- // some WebKit versions fails with big numbers, some has wrong arity
- $export($export.S + $export.F * __webpack_require__(9)(function(){
- return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
- }), 'Math', {
- imul: function imul(x, y){
- var UINT16 = 0xffff
- , xn = +x
- , yn = +y
- , xl = UINT16 & xn
- , yl = UINT16 & yn;
- return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
- }
- });
- /***/ },
- /* 87 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.21 Math.log10(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {
- log10: function log10(x){
- return Math.log(x) / Math.LN10;
- }
- });
- /***/ },
- /* 88 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.20 Math.log1p(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {log1p: __webpack_require__(75)});
- /***/ },
- /* 89 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.22 Math.log2(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {
- log2: function log2(x){
- return Math.log(x) / Math.LN2;
- }
- });
- /***/ },
- /* 90 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.28 Math.sign(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {sign: __webpack_require__(79)});
- /***/ },
- /* 91 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.30 Math.sinh(x)
- var $export = __webpack_require__(3)
- , expm1 = __webpack_require__(83)
- , exp = Math.exp;
- // V8 near Chromium 38 has a problem with very small numbers
- $export($export.S + $export.F * __webpack_require__(9)(function(){
- return !Math.sinh(-2e-17) != -2e-17;
- }), 'Math', {
- sinh: function sinh(x){
- return Math.abs(x = +x) < 1
- ? (expm1(x) - expm1(-x)) / 2
- : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
- }
- });
- /***/ },
- /* 92 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.33 Math.tanh(x)
- var $export = __webpack_require__(3)
- , expm1 = __webpack_require__(83)
- , exp = Math.exp;
- $export($export.S, 'Math', {
- tanh: function tanh(x){
- var a = expm1(x = +x)
- , b = expm1(-x);
- return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
- }
- });
- /***/ },
- /* 93 */
- /***/ function(module, exports, __webpack_require__) {
- // 20.2.2.34 Math.trunc(x)
- var $export = __webpack_require__(3);
- $export($export.S, 'Math', {
- trunc: function trunc(it){
- return (it > 0 ? Math.floor : Math.ceil)(it);
- }
- });
- /***/ },
- /* 94 */
- /***/ function(module, exports, __webpack_require__) {
- var $export = __webpack_require__(3)
- , toIndex = __webpack_require__(26)
- , fromCharCode = String.fromCharCode
- , $fromCodePoint = String.fromCodePoint;
- // length should be 1, old FF problem
- $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
- // 21.1.2.2 String.fromCodePoint(...codePoints)
- fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
- var res = []
- , $$ = arguments
- , $$len = $$.length
- , i = 0
- , code;
- while($$len > i){
- code = +$$[i++];
- if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
- res.push(code < 0x10000
- ? fromCharCode(code)
- : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
- );
- } return res.join('');
- }
- });
- /***/ },
- /* 95 */
- /***/ function(module, exports, __webpack_require__) {
- var $export = __webpack_require__(3)
- , toIObject = __webpack_require__(23)
- , toLength = __webpack_require__(27);
- $export($export.S, 'String', {
- // 21.1.2.4 String.raw(callSite, ...substitutions)
- raw: function raw(callSite){
- var tpl = toIObject(callSite.raw)
- , len = toLength(tpl.length)
- , $$ = arguments
- , $$len = $$.length
- , res = []
- , i = 0;
- while(len > i){
- res.push(String(tpl[i++]));
- if(i < $$len)res.push(String($$[i]));
- } return res.join('');
- }
- });
- /***/ },
- /* 96 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 21.1.3.25 String.prototype.trim()
- __webpack_require__(63)('trim', function($trim){
- return function trim(){
- return $trim(this, 3);
- };
- });
- /***/ },
- /* 97 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $export = __webpack_require__(3)
- , $at = __webpack_require__(98)(false);
- $export($export.P, 'String', {
- // 21.1.3.3 String.prototype.codePointAt(pos)
- codePointAt: function codePointAt(pos){
- return $at(this, pos);
- }
- });
- /***/ },
- /* 98 */
- /***/ function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(25)
- , defined = __webpack_require__(22);
- // true -> String#at
- // false -> String#codePointAt
- module.exports = function(TO_STRING){
- return function(that, pos){
- var s = String(defined(that))
- , i = toInteger(pos)
- , l = s.length
- , a, b;
- if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
- a = s.charCodeAt(i);
- return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
- ? TO_STRING ? s.charAt(i) : a
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
- };
- };
- /***/ },
- /* 99 */
- /***/ function(module, exports, __webpack_require__) {
- // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
- 'use strict';
- var $export = __webpack_require__(3)
- , toLength = __webpack_require__(27)
- , context = __webpack_require__(100)
- , ENDS_WITH = 'endsWith'
- , $endsWith = ''[ENDS_WITH];
- $export($export.P + $export.F * __webpack_require__(102)(ENDS_WITH), 'String', {
- endsWith: function endsWith(searchString /*, endPosition = @length */){
- var that = context(this, searchString, ENDS_WITH)
- , $$ = arguments
- , endPosition = $$.length > 1 ? $$[1] : undefined
- , len = toLength(that.length)
- , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
- , search = String(searchString);
- return $endsWith
- ? $endsWith.call(that, search, end)
- : that.slice(end - search.length, end) === search;
- }
- });
- /***/ },
- /* 100 */
- /***/ function(module, exports, __webpack_require__) {
- // helper for String#{startsWith, endsWith, includes}
- var isRegExp = __webpack_require__(101)
- , defined = __webpack_require__(22);
- module.exports = function(that, searchString, NAME){
- if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
- return String(defined(that));
- };
- /***/ },
- /* 101 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.2.8 IsRegExp(argument)
- var isObject = __webpack_require__(16)
- , cof = __webpack_require__(18)
- , MATCH = __webpack_require__(31)('match');
- module.exports = function(it){
- var isRegExp;
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
- };
- /***/ },
- /* 102 */
- /***/ function(module, exports, __webpack_require__) {
- var MATCH = __webpack_require__(31)('match');
- module.exports = function(KEY){
- var re = /./;
- try {
- '/./'[KEY](re);
- } catch(e){
- try {
- re[MATCH] = false;
- return !'/./'[KEY](re);
- } catch(f){ /* empty */ }
- } return true;
- };
- /***/ },
- /* 103 */
- /***/ function(module, exports, __webpack_require__) {
- // 21.1.3.7 String.prototype.includes(searchString, position = 0)
- 'use strict';
- var $export = __webpack_require__(3)
- , context = __webpack_require__(100)
- , INCLUDES = 'includes';
- $export($export.P + $export.F * __webpack_require__(102)(INCLUDES), 'String', {
- includes: function includes(searchString /*, position = 0 */){
- return !!~context(this, searchString, INCLUDES)
- .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ },
- /* 104 */
- /***/ function(module, exports, __webpack_require__) {
- var $export = __webpack_require__(3);
- $export($export.P, 'String', {
- // 21.1.3.13 String.prototype.repeat(count)
- repeat: __webpack_require__(105)
- });
- /***/ },
- /* 105 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var toInteger = __webpack_require__(25)
- , defined = __webpack_require__(22);
- module.exports = function repeat(count){
- var str = String(defined(this))
- , res = ''
- , n = toInteger(count);
- if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
- for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
- return res;
- };
- /***/ },
- /* 106 */
- /***/ function(module, exports, __webpack_require__) {
- // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
- 'use strict';
- var $export = __webpack_require__(3)
- , toLength = __webpack_require__(27)
- , context = __webpack_require__(100)
- , STARTS_WITH = 'startsWith'
- , $startsWith = ''[STARTS_WITH];
- $export($export.P + $export.F * __webpack_require__(102)(STARTS_WITH), 'String', {
- startsWith: function startsWith(searchString /*, position = 0 */){
- var that = context(this, searchString, STARTS_WITH)
- , $$ = arguments
- , index = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))
- , search = String(searchString);
- return $startsWith
- ? $startsWith.call(that, search, index)
- : that.slice(index, index + search.length) === search;
- }
- });
- /***/ },
- /* 107 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $at = __webpack_require__(98)(true);
- // 21.1.3.27 String.prototype[@@iterator]()
- __webpack_require__(108)(String, 'String', function(iterated){
- this._t = String(iterated); // target
- this._i = 0; // next index
- // 21.1.5.2.1 %StringIteratorPrototype%.next()
- }, function(){
- var O = this._t
- , index = this._i
- , point;
- if(index >= O.length)return {value: undefined, done: true};
- point = $at(O, index);
- this._i += point.length;
- return {value: point, done: false};
- });
- /***/ },
- /* 108 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var LIBRARY = __webpack_require__(39)
- , $export = __webpack_require__(3)
- , redefine = __webpack_require__(10)
- , hide = __webpack_require__(6)
- , has = __webpack_require__(17)
- , Iterators = __webpack_require__(109)
- , $iterCreate = __webpack_require__(110)
- , setToStringTag = __webpack_require__(35)
- , getProto = __webpack_require__(2).getProto
- , ITERATOR = __webpack_require__(31)('iterator')
- , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
- , FF_ITERATOR = '@@iterator'
- , KEYS = 'keys'
- , VALUES = 'values';
- var returnThis = function(){ return this; };
- module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
- $iterCreate(Constructor, NAME, next);
- var getMethod = function(kind){
- if(!BUGGY && kind in proto)return proto[kind];
- switch(kind){
- case KEYS: return function keys(){ return new Constructor(this, kind); };
- case VALUES: return function values(){ return new Constructor(this, kind); };
- } return function entries(){ return new Constructor(this, kind); };
- };
- var TAG = NAME + ' Iterator'
- , DEF_VALUES = DEFAULT == VALUES
- , VALUES_BUG = false
- , proto = Base.prototype
- , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
- , $default = $native || getMethod(DEFAULT)
- , methods, key;
- // Fix native
- if($native){
- var IteratorPrototype = getProto($default.call(new Base));
- // Set @@toStringTag to native iterators
- setToStringTag(IteratorPrototype, TAG, true);
- // FF fix
- if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
- // fix Array#{values, @@iterator}.name in V8 / FF
- if(DEF_VALUES && $native.name !== VALUES){
- VALUES_BUG = true;
- $default = function values(){ return $native.call(this); };
- }
- }
- // Define iterator
- if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
- hide(proto, ITERATOR, $default);
- }
- // Plug for library
- Iterators[NAME] = $default;
- Iterators[TAG] = returnThis;
- if(DEFAULT){
- methods = {
- values: DEF_VALUES ? $default : getMethod(VALUES),
- keys: IS_SET ? $default : getMethod(KEYS),
- entries: !DEF_VALUES ? $default : getMethod('entries')
- };
- if(FORCED)for(key in methods){
- if(!(key in proto))redefine(proto, key, methods[key]);
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
- }
- return methods;
- };
- /***/ },
- /* 109 */
- /***/ function(module, exports) {
- module.exports = {};
- /***/ },
- /* 110 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , descriptor = __webpack_require__(7)
- , setToStringTag = __webpack_require__(35)
- , IteratorPrototype = {};
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
- __webpack_require__(6)(IteratorPrototype, __webpack_require__(31)('iterator'), function(){ return this; });
- module.exports = function(Constructor, NAME, next){
- Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
- setToStringTag(Constructor, NAME + ' Iterator');
- };
- /***/ },
- /* 111 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var ctx = __webpack_require__(12)
- , $export = __webpack_require__(3)
- , toObject = __webpack_require__(21)
- , call = __webpack_require__(112)
- , isArrayIter = __webpack_require__(113)
- , toLength = __webpack_require__(27)
- , getIterFn = __webpack_require__(114);
- $export($export.S + $export.F * !__webpack_require__(115)(function(iter){ Array.from(iter); }), 'Array', {
- // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
- from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
- var O = toObject(arrayLike)
- , C = typeof this == 'function' ? this : Array
- , $$ = arguments
- , $$len = $$.length
- , mapfn = $$len > 1 ? $$[1] : undefined
- , mapping = mapfn !== undefined
- , index = 0
- , iterFn = getIterFn(O)
- , length, result, step, iterator;
- if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);
- // if object isn't iterable or it's array with default iterator - use simple case
- if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
- for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
- result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;
- }
- } else {
- length = toLength(O.length);
- for(result = new C(length); length > index; index++){
- result[index] = mapping ? mapfn(O[index], index) : O[index];
- }
- }
- result.length = index;
- return result;
- }
- });
- /***/ },
- /* 112 */
- /***/ function(module, exports, __webpack_require__) {
- // call something on iterator step with safe closing on error
- var anObject = __webpack_require__(20);
- module.exports = function(iterator, fn, value, entries){
- try {
- return entries ? fn(anObject(value)[0], value[1]) : fn(value);
- // 7.4.6 IteratorClose(iterator, completion)
- } catch(e){
- var ret = iterator['return'];
- if(ret !== undefined)anObject(ret.call(iterator));
- throw e;
- }
- };
- /***/ },
- /* 113 */
- /***/ function(module, exports, __webpack_require__) {
- // check on default Array iterator
- var Iterators = __webpack_require__(109)
- , ITERATOR = __webpack_require__(31)('iterator')
- , ArrayProto = Array.prototype;
- module.exports = function(it){
- return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
- };
- /***/ },
- /* 114 */
- /***/ function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(47)
- , ITERATOR = __webpack_require__(31)('iterator')
- , Iterators = __webpack_require__(109);
- module.exports = __webpack_require__(5).getIteratorMethod = function(it){
- if(it != undefined)return it[ITERATOR]
- || it['@@iterator']
- || Iterators[classof(it)];
- };
- /***/ },
- /* 115 */
- /***/ function(module, exports, __webpack_require__) {
- var ITERATOR = __webpack_require__(31)('iterator')
- , SAFE_CLOSING = false;
- try {
- var riter = [7][ITERATOR]();
- riter['return'] = function(){ SAFE_CLOSING = true; };
- Array.from(riter, function(){ throw 2; });
- } catch(e){ /* empty */ }
- module.exports = function(exec, skipClosing){
- if(!skipClosing && !SAFE_CLOSING)return false;
- var safe = false;
- try {
- var arr = [7]
- , iter = arr[ITERATOR]();
- iter.next = function(){ return {done: safe = true}; };
- arr[ITERATOR] = function(){ return iter; };
- exec(arr);
- } catch(e){ /* empty */ }
- return safe;
- };
- /***/ },
- /* 116 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $export = __webpack_require__(3);
- // WebKit Array.of isn't generic
- $export($export.S + $export.F * __webpack_require__(9)(function(){
- function F(){}
- return !(Array.of.call(F) instanceof F);
- }), 'Array', {
- // 22.1.2.3 Array.of( ...items)
- of: function of(/* ...args */){
- var index = 0
- , $$ = arguments
- , $$len = $$.length
- , result = new (typeof this == 'function' ? this : Array)($$len);
- while($$len > index)result[index] = $$[index++];
- result.length = $$len;
- return result;
- }
- });
- /***/ },
- /* 117 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var addToUnscopables = __webpack_require__(118)
- , step = __webpack_require__(119)
- , Iterators = __webpack_require__(109)
- , toIObject = __webpack_require__(23);
- // 22.1.3.4 Array.prototype.entries()
- // 22.1.3.13 Array.prototype.keys()
- // 22.1.3.29 Array.prototype.values()
- // 22.1.3.30 Array.prototype[@@iterator]()
- module.exports = __webpack_require__(108)(Array, 'Array', function(iterated, kind){
- this._t = toIObject(iterated); // target
- this._i = 0; // next index
- this._k = kind; // kind
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
- }, function(){
- var O = this._t
- , kind = this._k
- , index = this._i++;
- if(!O || index >= O.length){
- this._t = undefined;
- return step(1);
- }
- if(kind == 'keys' )return step(0, index);
- if(kind == 'values')return step(0, O[index]);
- return step(0, [index, O[index]]);
- }, 'values');
- // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
- Iterators.Arguments = Iterators.Array;
- addToUnscopables('keys');
- addToUnscopables('values');
- addToUnscopables('entries');
- /***/ },
- /* 118 */
- /***/ function(module, exports, __webpack_require__) {
- // 22.1.3.31 Array.prototype[@@unscopables]
- var UNSCOPABLES = __webpack_require__(31)('unscopables')
- , ArrayProto = Array.prototype;
- if(ArrayProto[UNSCOPABLES] == undefined)__webpack_require__(6)(ArrayProto, UNSCOPABLES, {});
- module.exports = function(key){
- ArrayProto[UNSCOPABLES][key] = true;
- };
- /***/ },
- /* 119 */
- /***/ function(module, exports) {
- module.exports = function(done, value){
- return {value: value, done: !!done};
- };
- /***/ },
- /* 120 */
- /***/ function(module, exports, __webpack_require__) {
- __webpack_require__(121)('Array');
- /***/ },
- /* 121 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var global = __webpack_require__(4)
- , $ = __webpack_require__(2)
- , DESCRIPTORS = __webpack_require__(8)
- , SPECIES = __webpack_require__(31)('species');
- module.exports = function(KEY){
- var C = global[KEY];
- if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
- configurable: true,
- get: function(){ return this; }
- });
- };
- /***/ },
- /* 122 */
- /***/ function(module, exports, __webpack_require__) {
- // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
- var $export = __webpack_require__(3);
- $export($export.P, 'Array', {copyWithin: __webpack_require__(123)});
- __webpack_require__(118)('copyWithin');
- /***/ },
- /* 123 */
- /***/ function(module, exports, __webpack_require__) {
- // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
- 'use strict';
- var toObject = __webpack_require__(21)
- , toIndex = __webpack_require__(26)
- , toLength = __webpack_require__(27);
- module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
- var O = toObject(this)
- , len = toLength(O.length)
- , to = toIndex(target, len)
- , from = toIndex(start, len)
- , $$ = arguments
- , end = $$.length > 2 ? $$[2] : undefined
- , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
- , inc = 1;
- if(from < to && to < from + count){
- inc = -1;
- from += count - 1;
- to += count - 1;
- }
- while(count-- > 0){
- if(from in O)O[to] = O[from];
- else delete O[to];
- to += inc;
- from += inc;
- } return O;
- };
- /***/ },
- /* 124 */
- /***/ function(module, exports, __webpack_require__) {
- // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
- var $export = __webpack_require__(3);
- $export($export.P, 'Array', {fill: __webpack_require__(125)});
- __webpack_require__(118)('fill');
- /***/ },
- /* 125 */
- /***/ function(module, exports, __webpack_require__) {
- // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
- 'use strict';
- var toObject = __webpack_require__(21)
- , toIndex = __webpack_require__(26)
- , toLength = __webpack_require__(27);
- module.exports = [].fill || function fill(value /*, start = 0, end = @length */){
- var O = toObject(this)
- , length = toLength(O.length)
- , $$ = arguments
- , $$len = $$.length
- , index = toIndex($$len > 1 ? $$[1] : undefined, length)
- , end = $$len > 2 ? $$[2] : undefined
- , endPos = end === undefined ? length : toIndex(end, length);
- while(endPos > index)O[index++] = value;
- return O;
- };
- /***/ },
- /* 126 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
- var $export = __webpack_require__(3)
- , $find = __webpack_require__(28)(5)
- , KEY = 'find'
- , forced = true;
- // Shouldn't skip holes
- if(KEY in [])Array(1)[KEY](function(){ forced = false; });
- $export($export.P + $export.F * forced, 'Array', {
- find: function find(callbackfn/*, that = undefined */){
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__(118)(KEY);
- /***/ },
- /* 127 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
- var $export = __webpack_require__(3)
- , $find = __webpack_require__(28)(6)
- , KEY = 'findIndex'
- , forced = true;
- // Shouldn't skip holes
- if(KEY in [])Array(1)[KEY](function(){ forced = false; });
- $export($export.P + $export.F * forced, 'Array', {
- findIndex: function findIndex(callbackfn/*, that = undefined */){
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__(118)(KEY);
- /***/ },
- /* 128 */
- /***/ function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(2)
- , global = __webpack_require__(4)
- , isRegExp = __webpack_require__(101)
- , $flags = __webpack_require__(129)
- , $RegExp = global.RegExp
- , Base = $RegExp
- , proto = $RegExp.prototype
- , re1 = /a/g
- , re2 = /a/g
- // "new" creates a new object, old webkit buggy here
- , CORRECT_NEW = new $RegExp(re1) !== re1;
- if(__webpack_require__(8) && (!CORRECT_NEW || __webpack_require__(9)(function(){
- re2[__webpack_require__(31)('match')] = false;
- // RegExp constructor can alter flags and IsRegExp works correct with @@match
- return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
- }))){
- $RegExp = function RegExp(p, f){
- var piRE = isRegExp(p)
- , fiU = f === undefined;
- return !(this instanceof $RegExp) && piRE && p.constructor === $RegExp && fiU ? p
- : CORRECT_NEW
- ? new Base(piRE && !fiU ? p.source : p, f)
- : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f);
- };
- $.each.call($.getNames(Base), function(key){
- key in $RegExp || $.setDesc($RegExp, key, {
- configurable: true,
- get: function(){ return Base[key]; },
- set: function(it){ Base[key] = it; }
- });
- });
- proto.constructor = $RegExp;
- $RegExp.prototype = proto;
- __webpack_require__(10)(global, 'RegExp', $RegExp);
- }
- __webpack_require__(121)('RegExp');
- /***/ },
- /* 129 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 21.2.5.3 get RegExp.prototype.flags
- var anObject = __webpack_require__(20);
- module.exports = function(){
- var that = anObject(this)
- , result = '';
- if(that.global) result += 'g';
- if(that.ignoreCase) result += 'i';
- if(that.multiline) result += 'm';
- if(that.unicode) result += 'u';
- if(that.sticky) result += 'y';
- return result;
- };
- /***/ },
- /* 130 */
- /***/ function(module, exports, __webpack_require__) {
- // 21.2.5.3 get RegExp.prototype.flags()
- var $ = __webpack_require__(2);
- if(__webpack_require__(8) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {
- configurable: true,
- get: __webpack_require__(129)
- });
- /***/ },
- /* 131 */
- /***/ function(module, exports, __webpack_require__) {
- // @@match logic
- __webpack_require__(132)('match', 1, function(defined, MATCH){
- // 21.1.3.11 String.prototype.match(regexp)
- return function match(regexp){
- 'use strict';
- var O = defined(this)
- , fn = regexp == undefined ? undefined : regexp[MATCH];
- return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
- };
- });
- /***/ },
- /* 132 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var hide = __webpack_require__(6)
- , redefine = __webpack_require__(10)
- , fails = __webpack_require__(9)
- , defined = __webpack_require__(22)
- , wks = __webpack_require__(31);
- module.exports = function(KEY, length, exec){
- var SYMBOL = wks(KEY)
- , original = ''[KEY];
- if(fails(function(){
- var O = {};
- O[SYMBOL] = function(){ return 7; };
- return ''[KEY](O) != 7;
- })){
- redefine(String.prototype, KEY, exec(defined, SYMBOL, original));
- hide(RegExp.prototype, SYMBOL, length == 2
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
- ? function(string, arg){ return original.call(string, this, arg); }
- // 21.2.5.6 RegExp.prototype[@@match](string)
- // 21.2.5.9 RegExp.prototype[@@search](string)
- : function(string){ return original.call(string, this); }
- );
- }
- };
- /***/ },
- /* 133 */
- /***/ function(module, exports, __webpack_require__) {
- // @@replace logic
- __webpack_require__(132)('replace', 2, function(defined, REPLACE, $replace){
- // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
- return function replace(searchValue, replaceValue){
- 'use strict';
- var O = defined(this)
- , fn = searchValue == undefined ? undefined : searchValue[REPLACE];
- return fn !== undefined
- ? fn.call(searchValue, O, replaceValue)
- : $replace.call(String(O), searchValue, replaceValue);
- };
- });
- /***/ },
- /* 134 */
- /***/ function(module, exports, __webpack_require__) {
- // @@search logic
- __webpack_require__(132)('search', 1, function(defined, SEARCH){
- // 21.1.3.15 String.prototype.search(regexp)
- return function search(regexp){
- 'use strict';
- var O = defined(this)
- , fn = regexp == undefined ? undefined : regexp[SEARCH];
- return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
- };
- });
- /***/ },
- /* 135 */
- /***/ function(module, exports, __webpack_require__) {
- // @@split logic
- __webpack_require__(132)('split', 2, function(defined, SPLIT, $split){
- // 21.1.3.17 String.prototype.split(separator, limit)
- return function split(separator, limit){
- 'use strict';
- var O = defined(this)
- , fn = separator == undefined ? undefined : separator[SPLIT];
- return fn !== undefined
- ? fn.call(separator, O, limit)
- : $split.call(String(O), separator, limit);
- };
- });
- /***/ },
- /* 136 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , LIBRARY = __webpack_require__(39)
- , global = __webpack_require__(4)
- , ctx = __webpack_require__(12)
- , classof = __webpack_require__(47)
- , $export = __webpack_require__(3)
- , isObject = __webpack_require__(16)
- , anObject = __webpack_require__(20)
- , aFunction = __webpack_require__(13)
- , strictNew = __webpack_require__(137)
- , forOf = __webpack_require__(138)
- , setProto = __webpack_require__(45).set
- , same = __webpack_require__(43)
- , SPECIES = __webpack_require__(31)('species')
- , speciesConstructor = __webpack_require__(139)
- , asap = __webpack_require__(140)
- , PROMISE = 'Promise'
- , process = global.process
- , isNode = classof(process) == 'process'
- , P = global[PROMISE]
- , empty = function(){ /* empty */ }
- , Wrapper;
- var testResolve = function(sub){
- var test = new P(empty), promise;
- if(sub)test.constructor = function(exec){
- exec(empty, empty);
- };
- (promise = P.resolve(test))['catch'](empty);
- return promise === test;
- };
- var USE_NATIVE = function(){
- var works = false;
- function P2(x){
- var self = new P(x);
- setProto(self, P2.prototype);
- return self;
- }
- try {
- works = P && P.resolve && testResolve();
- setProto(P2, P);
- P2.prototype = $.create(P.prototype, {constructor: {value: P2}});
- // actual Firefox has broken subclass support, test that
- if(!(P2.resolve(5).then(function(){}) instanceof P2)){
- works = false;
- }
- // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
- if(works && __webpack_require__(8)){
- var thenableThenGotten = false;
- P.resolve($.setDesc({}, 'then', {
- get: function(){ thenableThenGotten = true; }
- }));
- works = thenableThenGotten;
- }
- } catch(e){ works = false; }
- return works;
- }();
- // helpers
- var sameConstructor = function(a, b){
- // library wrapper special case
- if(LIBRARY && a === P && b === Wrapper)return true;
- return same(a, b);
- };
- var getConstructor = function(C){
- var S = anObject(C)[SPECIES];
- return S != undefined ? S : C;
- };
- var isThenable = function(it){
- var then;
- return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
- };
- var PromiseCapability = function(C){
- var resolve, reject;
- this.promise = new C(function($$resolve, $$reject){
- if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aFunction(resolve),
- this.reject = aFunction(reject)
- };
- var perform = function(exec){
- try {
- exec();
- } catch(e){
- return {error: e};
- }
- };
- var notify = function(record, isReject){
- if(record.n)return;
- record.n = true;
- var chain = record.c;
- asap(function(){
- var value = record.v
- , ok = record.s == 1
- , i = 0;
- var run = function(reaction){
- var handler = ok ? reaction.ok : reaction.fail
- , resolve = reaction.resolve
- , reject = reaction.reject
- , result, then;
- try {
- if(handler){
- if(!ok)record.h = true;
- result = handler === true ? value : handler(value);
- if(result === reaction.promise){
- reject(TypeError('Promise-chain cycle'));
- } else if(then = isThenable(result)){
- then.call(result, resolve, reject);
- } else resolve(result);
- } else reject(value);
- } catch(e){
- reject(e);
- }
- };
- while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
- chain.length = 0;
- record.n = false;
- if(isReject)setTimeout(function(){
- var promise = record.p
- , handler, console;
- if(isUnhandled(promise)){
- if(isNode){
- process.emit('unhandledRejection', value, promise);
- } else if(handler = global.onunhandledrejection){
- handler({promise: promise, reason: value});
- } else if((console = global.console) && console.error){
- console.error('Unhandled promise rejection', value);
- }
- } record.a = undefined;
- }, 1);
- });
- };
- var isUnhandled = function(promise){
- var record = promise._d
- , chain = record.a || record.c
- , i = 0
- , reaction;
- if(record.h)return false;
- while(chain.length > i){
- reaction = chain[i++];
- if(reaction.fail || !isUnhandled(reaction.promise))return false;
- } return true;
- };
- var $reject = function(value){
- var record = this;
- if(record.d)return;
- record.d = true;
- record = record.r || record; // unwrap
- record.v = value;
- record.s = 2;
- record.a = record.c.slice();
- notify(record, true);
- };
- var $resolve = function(value){
- var record = this
- , then;
- if(record.d)return;
- record.d = true;
- record = record.r || record; // unwrap
- try {
- if(record.p === value)throw TypeError("Promise can't be resolved itself");
- if(then = isThenable(value)){
- asap(function(){
- var wrapper = {r: record, d: false}; // wrap
- try {
- then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
- } catch(e){
- $reject.call(wrapper, e);
- }
- });
- } else {
- record.v = value;
- record.s = 1;
- notify(record, false);
- }
- } catch(e){
- $reject.call({r: record, d: false}, e); // wrap
- }
- };
- // constructor polyfill
- if(!USE_NATIVE){
- // 25.4.3.1 Promise(executor)
- P = function Promise(executor){
- aFunction(executor);
- var record = this._d = {
- p: strictNew(this, P, PROMISE), // <- promise
- c: [], // <- awaiting reactions
- a: undefined, // <- checked in isUnhandled reactions
- s: 0, // <- state
- d: false, // <- done
- v: undefined, // <- value
- h: false, // <- handled rejection
- n: false // <- notify
- };
- try {
- executor(ctx($resolve, record, 1), ctx($reject, record, 1));
- } catch(err){
- $reject.call(record, err);
- }
- };
- __webpack_require__(142)(P.prototype, {
- // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
- then: function then(onFulfilled, onRejected){
- var reaction = new PromiseCapability(speciesConstructor(this, P))
- , promise = reaction.promise
- , record = this._d;
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
- reaction.fail = typeof onRejected == 'function' && onRejected;
- record.c.push(reaction);
- if(record.a)record.a.push(reaction);
- if(record.s)notify(record, false);
- return promise;
- },
- // 25.4.5.1 Promise.prototype.catch(onRejected)
- 'catch': function(onRejected){
- return this.then(undefined, onRejected);
- }
- });
- }
- $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
- __webpack_require__(35)(P, PROMISE);
- __webpack_require__(121)(PROMISE);
- Wrapper = __webpack_require__(5)[PROMISE];
- // statics
- $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
- // 25.4.4.5 Promise.reject(r)
- reject: function reject(r){
- var capability = new PromiseCapability(this)
- , $$reject = capability.reject;
- $$reject(r);
- return capability.promise;
- }
- });
- $export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
- // 25.4.4.6 Promise.resolve(x)
- resolve: function resolve(x){
- // instanceof instead of internal slot check because we should fix it without replacement native Promise core
- if(x instanceof P && sameConstructor(x.constructor, this))return x;
- var capability = new PromiseCapability(this)
- , $$resolve = capability.resolve;
- $$resolve(x);
- return capability.promise;
- }
- });
- $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(115)(function(iter){
- P.all(iter)['catch'](function(){});
- })), PROMISE, {
- // 25.4.4.1 Promise.all(iterable)
- all: function all(iterable){
- var C = getConstructor(this)
- , capability = new PromiseCapability(C)
- , resolve = capability.resolve
- , reject = capability.reject
- , values = [];
- var abrupt = perform(function(){
- forOf(iterable, false, values.push, values);
- var remaining = values.length
- , results = Array(remaining);
- if(remaining)$.each.call(values, function(promise, index){
- var alreadyCalled = false;
- C.resolve(promise).then(function(value){
- if(alreadyCalled)return;
- alreadyCalled = true;
- results[index] = value;
- --remaining || resolve(results);
- }, reject);
- });
- else resolve(results);
- });
- if(abrupt)reject(abrupt.error);
- return capability.promise;
- },
- // 25.4.4.4 Promise.race(iterable)
- race: function race(iterable){
- var C = getConstructor(this)
- , capability = new PromiseCapability(C)
- , reject = capability.reject;
- var abrupt = perform(function(){
- forOf(iterable, false, function(promise){
- C.resolve(promise).then(capability.resolve, reject);
- });
- });
- if(abrupt)reject(abrupt.error);
- return capability.promise;
- }
- });
- /***/ },
- /* 137 */
- /***/ function(module, exports) {
- module.exports = function(it, Constructor, name){
- if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
- return it;
- };
- /***/ },
- /* 138 */
- /***/ function(module, exports, __webpack_require__) {
- var ctx = __webpack_require__(12)
- , call = __webpack_require__(112)
- , isArrayIter = __webpack_require__(113)
- , anObject = __webpack_require__(20)
- , toLength = __webpack_require__(27)
- , getIterFn = __webpack_require__(114);
- module.exports = function(iterable, entries, fn, that){
- var iterFn = getIterFn(iterable)
- , f = ctx(fn, that, entries ? 2 : 1)
- , index = 0
- , length, step, iterator;
- if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
- // fast case for arrays with default iterator
- if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
- entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
- } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
- call(iterator, f, step.value, entries);
- }
- };
- /***/ },
- /* 139 */
- /***/ function(module, exports, __webpack_require__) {
- // 7.3.20 SpeciesConstructor(O, defaultConstructor)
- var anObject = __webpack_require__(20)
- , aFunction = __webpack_require__(13)
- , SPECIES = __webpack_require__(31)('species');
- module.exports = function(O, D){
- var C = anObject(O).constructor, S;
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
- };
- /***/ },
- /* 140 */
- /***/ function(module, exports, __webpack_require__) {
- var global = __webpack_require__(4)
- , macrotask = __webpack_require__(141).set
- , Observer = global.MutationObserver || global.WebKitMutationObserver
- , process = global.process
- , Promise = global.Promise
- , isNode = __webpack_require__(18)(process) == 'process'
- , head, last, notify;
- var flush = function(){
- var parent, domain, fn;
- if(isNode && (parent = process.domain)){
- process.domain = null;
- parent.exit();
- }
- while(head){
- domain = head.domain;
- fn = head.fn;
- if(domain)domain.enter();
- fn(); // <- currently we use it only for Promise - try / catch not required
- if(domain)domain.exit();
- head = head.next;
- } last = undefined;
- if(parent)parent.enter();
- };
- // Node.js
- if(isNode){
- notify = function(){
- process.nextTick(flush);
- };
- // browsers with MutationObserver
- } else if(Observer){
- var toggle = 1
- , node = document.createTextNode('');
- new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
- notify = function(){
- node.data = toggle = -toggle;
- };
- // environments with maybe non-completely correct, but existent Promise
- } else if(Promise && Promise.resolve){
- notify = function(){
- Promise.resolve().then(flush);
- };
- // for other environments - macrotask based on:
- // - setImmediate
- // - MessageChannel
- // - window.postMessag
- // - onreadystatechange
- // - setTimeout
- } else {
- notify = function(){
- // strange IE + webpack dev server bug - use .call(global)
- macrotask.call(global, flush);
- };
- }
- module.exports = function asap(fn){
- var task = {fn: fn, next: undefined, domain: isNode && process.domain};
- if(last)last.next = task;
- if(!head){
- head = task;
- notify();
- } last = task;
- };
- /***/ },
- /* 141 */
- /***/ function(module, exports, __webpack_require__) {
- var ctx = __webpack_require__(12)
- , invoke = __webpack_require__(19)
- , html = __webpack_require__(14)
- , cel = __webpack_require__(15)
- , global = __webpack_require__(4)
- , process = global.process
- , setTask = global.setImmediate
- , clearTask = global.clearImmediate
- , MessageChannel = global.MessageChannel
- , counter = 0
- , queue = {}
- , ONREADYSTATECHANGE = 'onreadystatechange'
- , defer, channel, port;
- var run = function(){
- var id = +this;
- if(queue.hasOwnProperty(id)){
- var fn = queue[id];
- delete queue[id];
- fn();
- }
- };
- var listner = function(event){
- run.call(event.data);
- };
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
- if(!setTask || !clearTask){
- setTask = function setImmediate(fn){
- var args = [], i = 1;
- while(arguments.length > i)args.push(arguments[i++]);
- queue[++counter] = function(){
- invoke(typeof fn == 'function' ? fn : Function(fn), args);
- };
- defer(counter);
- return counter;
- };
- clearTask = function clearImmediate(id){
- delete queue[id];
- };
- // Node.js 0.8-
- if(__webpack_require__(18)(process) == 'process'){
- defer = function(id){
- process.nextTick(ctx(run, id, 1));
- };
- // Browsers with MessageChannel, includes WebWorkers
- } else if(MessageChannel){
- channel = new MessageChannel;
- port = channel.port2;
- channel.port1.onmessage = listner;
- defer = ctx(port.postMessage, port, 1);
- // Browsers with postMessage, skip WebWorkers
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
- } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
- defer = function(id){
- global.postMessage(id + '', '*');
- };
- global.addEventListener('message', listner, false);
- // IE8-
- } else if(ONREADYSTATECHANGE in cel('script')){
- defer = function(id){
- html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
- html.removeChild(this);
- run.call(id);
- };
- };
- // Rest old browsers
- } else {
- defer = function(id){
- setTimeout(ctx(run, id, 1), 0);
- };
- }
- }
- module.exports = {
- set: setTask,
- clear: clearTask
- };
- /***/ },
- /* 142 */
- /***/ function(module, exports, __webpack_require__) {
- var redefine = __webpack_require__(10);
- module.exports = function(target, src){
- for(var key in src)redefine(target, key, src[key]);
- return target;
- };
- /***/ },
- /* 143 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var strong = __webpack_require__(144);
- // 23.1 Map Objects
- __webpack_require__(145)('Map', function(get){
- return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
- }, {
- // 23.1.3.6 Map.prototype.get(key)
- get: function get(key){
- var entry = strong.getEntry(this, key);
- return entry && entry.v;
- },
- // 23.1.3.9 Map.prototype.set(key, value)
- set: function set(key, value){
- return strong.def(this, key === 0 ? 0 : key, value);
- }
- }, strong, true);
- /***/ },
- /* 144 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , hide = __webpack_require__(6)
- , redefineAll = __webpack_require__(142)
- , ctx = __webpack_require__(12)
- , strictNew = __webpack_require__(137)
- , defined = __webpack_require__(22)
- , forOf = __webpack_require__(138)
- , $iterDefine = __webpack_require__(108)
- , step = __webpack_require__(119)
- , ID = __webpack_require__(11)('id')
- , $has = __webpack_require__(17)
- , isObject = __webpack_require__(16)
- , setSpecies = __webpack_require__(121)
- , DESCRIPTORS = __webpack_require__(8)
- , isExtensible = Object.isExtensible || isObject
- , SIZE = DESCRIPTORS ? '_s' : 'size'
- , id = 0;
- var fastKey = function(it, create){
- // return primitive with prefix
- if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
- if(!$has(it, ID)){
- // can't set id to frozen object
- if(!isExtensible(it))return 'F';
- // not necessary to add id
- if(!create)return 'E';
- // add missing object id
- hide(it, ID, ++id);
- // return object id with prefix
- } return 'O' + it[ID];
- };
- var getEntry = function(that, key){
- // fast case
- var index = fastKey(key), entry;
- if(index !== 'F')return that._i[index];
- // frozen object case
- for(entry = that._f; entry; entry = entry.n){
- if(entry.k == key)return entry;
- }
- };
- module.exports = {
- getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
- var C = wrapper(function(that, iterable){
- strictNew(that, C, NAME);
- that._i = $.create(null); // index
- that._f = undefined; // first entry
- that._l = undefined; // last entry
- that[SIZE] = 0; // size
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
- });
- redefineAll(C.prototype, {
- // 23.1.3.1 Map.prototype.clear()
- // 23.2.3.2 Set.prototype.clear()
- clear: function clear(){
- for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){
- entry.r = true;
- if(entry.p)entry.p = entry.p.n = undefined;
- delete data[entry.i];
- }
- that._f = that._l = undefined;
- that[SIZE] = 0;
- },
- // 23.1.3.3 Map.prototype.delete(key)
- // 23.2.3.4 Set.prototype.delete(value)
- 'delete': function(key){
- var that = this
- , entry = getEntry(that, key);
- if(entry){
- var next = entry.n
- , prev = entry.p;
- delete that._i[entry.i];
- entry.r = true;
- if(prev)prev.n = next;
- if(next)next.p = prev;
- if(that._f == entry)that._f = next;
- if(that._l == entry)that._l = prev;
- that[SIZE]--;
- } return !!entry;
- },
- // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
- // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
- forEach: function forEach(callbackfn /*, that = undefined */){
- var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
- , entry;
- while(entry = entry ? entry.n : this._f){
- f(entry.v, entry.k, this);
- // revert to the last existing entry
- while(entry && entry.r)entry = entry.p;
- }
- },
- // 23.1.3.7 Map.prototype.has(key)
- // 23.2.3.7 Set.prototype.has(value)
- has: function has(key){
- return !!getEntry(this, key);
- }
- });
- if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {
- get: function(){
- return defined(this[SIZE]);
- }
- });
- return C;
- },
- def: function(that, key, value){
- var entry = getEntry(that, key)
- , prev, index;
- // change existing entry
- if(entry){
- entry.v = value;
- // create new entry
- } else {
- that._l = entry = {
- i: index = fastKey(key, true), // <- index
- k: key, // <- key
- v: value, // <- value
- p: prev = that._l, // <- previous entry
- n: undefined, // <- next entry
- r: false // <- removed
- };
- if(!that._f)that._f = entry;
- if(prev)prev.n = entry;
- that[SIZE]++;
- // add to index
- if(index !== 'F')that._i[index] = entry;
- } return that;
- },
- getEntry: getEntry,
- setStrong: function(C, NAME, IS_MAP){
- // add .keys, .values, .entries, [@@iterator]
- // 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
- $iterDefine(C, NAME, function(iterated, kind){
- this._t = iterated; // target
- this._k = kind; // kind
- this._l = undefined; // previous
- }, function(){
- var that = this
- , kind = that._k
- , entry = that._l;
- // revert to the last existing entry
- while(entry && entry.r)entry = entry.p;
- // get next entry
- if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){
- // or finish the iteration
- that._t = undefined;
- return step(1);
- }
- // return step by kind
- if(kind == 'keys' )return step(0, entry.k);
- if(kind == 'values')return step(0, entry.v);
- return step(0, [entry.k, entry.v]);
- }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
- // add [@@species], 23.1.2.2, 23.2.2.2
- setSpecies(NAME);
- }
- };
- /***/ },
- /* 145 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var global = __webpack_require__(4)
- , $export = __webpack_require__(3)
- , redefine = __webpack_require__(10)
- , redefineAll = __webpack_require__(142)
- , forOf = __webpack_require__(138)
- , strictNew = __webpack_require__(137)
- , isObject = __webpack_require__(16)
- , fails = __webpack_require__(9)
- , $iterDetect = __webpack_require__(115)
- , setToStringTag = __webpack_require__(35);
- module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
- var Base = global[NAME]
- , C = Base
- , ADDER = IS_MAP ? 'set' : 'add'
- , proto = C && C.prototype
- , O = {};
- var fixMethod = function(KEY){
- var fn = proto[KEY];
- redefine(proto, KEY,
- KEY == 'delete' ? function(a){
- return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
- } : KEY == 'has' ? function has(a){
- return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
- } : KEY == 'get' ? function get(a){
- return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
- } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }
- : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
- );
- };
- if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
- new C().entries().next();
- }))){
- // create collection constructor
- C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
- redefineAll(C.prototype, methods);
- } else {
- var instance = new C
- // early implementations not supports chaining
- , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance
- // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
- , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })
- // most early implementations doesn't supports iterables, most modern - not close it correctly
- , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new
- // for early implementations -0 and +0 not the same
- , BUGGY_ZERO;
- if(!ACCEPT_ITERABLES){
- C = wrapper(function(target, iterable){
- strictNew(target, C, NAME);
- var that = new Base;
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
- return that;
- });
- C.prototype = proto;
- proto.constructor = C;
- }
- IS_WEAK || instance.forEach(function(val, key){
- BUGGY_ZERO = 1 / key === -Infinity;
- });
- if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){
- fixMethod('delete');
- fixMethod('has');
- IS_MAP && fixMethod('get');
- }
- if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);
- // weak collections should not contains .clear method
- if(IS_WEAK && proto.clear)delete proto.clear;
- }
- setToStringTag(C, NAME);
- O[NAME] = C;
- $export($export.G + $export.W + $export.F * (C != Base), O);
- if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
- return C;
- };
- /***/ },
- /* 146 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var strong = __webpack_require__(144);
- // 23.2 Set Objects
- __webpack_require__(145)('Set', function(get){
- return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
- }, {
- // 23.2.3.1 Set.prototype.add(value)
- add: function add(value){
- return strong.def(this, value = value === 0 ? 0 : value, value);
- }
- }, strong);
- /***/ },
- /* 147 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $ = __webpack_require__(2)
- , redefine = __webpack_require__(10)
- , weak = __webpack_require__(148)
- , isObject = __webpack_require__(16)
- , has = __webpack_require__(17)
- , frozenStore = weak.frozenStore
- , WEAK = weak.WEAK
- , isExtensible = Object.isExtensible || isObject
- , tmp = {};
- // 23.3 WeakMap Objects
- var $WeakMap = __webpack_require__(145)('WeakMap', function(get){
- return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
- }, {
- // 23.3.3.3 WeakMap.prototype.get(key)
- get: function get(key){
- if(isObject(key)){
- if(!isExtensible(key))return frozenStore(this).get(key);
- if(has(key, WEAK))return key[WEAK][this._i];
- }
- },
- // 23.3.3.5 WeakMap.prototype.set(key, value)
- set: function set(key, value){
- return weak.def(this, key, value);
- }
- }, weak, true, true);
- // IE11 WeakMap frozen keys fix
- if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
- $.each.call(['delete', 'has', 'get', 'set'], function(key){
- var proto = $WeakMap.prototype
- , method = proto[key];
- redefine(proto, key, function(a, b){
- // store frozen objects on leaky map
- if(isObject(a) && !isExtensible(a)){
- var result = frozenStore(this)[key](a, b);
- return key == 'set' ? this : result;
- // store all the rest on native weakmap
- } return method.call(this, a, b);
- });
- });
- }
- /***/ },
- /* 148 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var hide = __webpack_require__(6)
- , redefineAll = __webpack_require__(142)
- , anObject = __webpack_require__(20)
- , isObject = __webpack_require__(16)
- , strictNew = __webpack_require__(137)
- , forOf = __webpack_require__(138)
- , createArrayMethod = __webpack_require__(28)
- , $has = __webpack_require__(17)
- , WEAK = __webpack_require__(11)('weak')
- , isExtensible = Object.isExtensible || isObject
- , arrayFind = createArrayMethod(5)
- , arrayFindIndex = createArrayMethod(6)
- , id = 0;
- // fallback for frozen keys
- var frozenStore = function(that){
- return that._l || (that._l = new FrozenStore);
- };
- var FrozenStore = function(){
- this.a = [];
- };
- var findFrozen = function(store, key){
- return arrayFind(store.a, function(it){
- return it[0] === key;
- });
- };
- FrozenStore.prototype = {
- get: function(key){
- var entry = findFrozen(this, key);
- if(entry)return entry[1];
- },
- has: function(key){
- return !!findFrozen(this, key);
- },
- set: function(key, value){
- var entry = findFrozen(this, key);
- if(entry)entry[1] = value;
- else this.a.push([key, value]);
- },
- 'delete': function(key){
- var index = arrayFindIndex(this.a, function(it){
- return it[0] === key;
- });
- if(~index)this.a.splice(index, 1);
- return !!~index;
- }
- };
- module.exports = {
- getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
- var C = wrapper(function(that, iterable){
- strictNew(that, C, NAME);
- that._i = id++; // collection id
- that._l = undefined; // leak store for frozen objects
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
- });
- redefineAll(C.prototype, {
- // 23.3.3.2 WeakMap.prototype.delete(key)
- // 23.4.3.3 WeakSet.prototype.delete(value)
- 'delete': function(key){
- if(!isObject(key))return false;
- if(!isExtensible(key))return frozenStore(this)['delete'](key);
- return $has(key, WEAK) && $has(key[WEAK], this._i) && delete key[WEAK][this._i];
- },
- // 23.3.3.4 WeakMap.prototype.has(key)
- // 23.4.3.4 WeakSet.prototype.has(value)
- has: function has(key){
- if(!isObject(key))return false;
- if(!isExtensible(key))return frozenStore(this).has(key);
- return $has(key, WEAK) && $has(key[WEAK], this._i);
- }
- });
- return C;
- },
- def: function(that, key, value){
- if(!isExtensible(anObject(key))){
- frozenStore(that).set(key, value);
- } else {
- $has(key, WEAK) || hide(key, WEAK, {});
- key[WEAK][that._i] = value;
- } return that;
- },
- frozenStore: frozenStore,
- WEAK: WEAK
- };
- /***/ },
- /* 149 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var weak = __webpack_require__(148);
- // 23.4 WeakSet Objects
- __webpack_require__(145)('WeakSet', function(get){
- return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
- }, {
- // 23.4.3.1 WeakSet.prototype.add(value)
- add: function add(value){
- return weak.def(this, value, true);
- }
- }, weak, false, true);
- /***/ },
- /* 150 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
- var $export = __webpack_require__(3)
- , _apply = Function.apply
- , anObject = __webpack_require__(20);
- $export($export.S, 'Reflect', {
- apply: function apply(target, thisArgument, argumentsList){
- return _apply.call(target, thisArgument, anObject(argumentsList));
- }
- });
- /***/ },
- /* 151 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , aFunction = __webpack_require__(13)
- , anObject = __webpack_require__(20)
- , isObject = __webpack_require__(16)
- , bind = Function.bind || __webpack_require__(5).Function.prototype.bind;
- // MS Edge supports only 2 arguments
- // FF Nightly sets third argument as `new.target`, but does not create `this` from it
- $export($export.S + $export.F * __webpack_require__(9)(function(){
- function F(){}
- return !(Reflect.construct(function(){}, [], F) instanceof F);
- }), 'Reflect', {
- construct: function construct(Target, args /*, newTarget*/){
- aFunction(Target);
- anObject(args);
- var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
- if(Target == newTarget){
- // w/o altered newTarget, optimization for 0-4 arguments
- switch(args.length){
- case 0: return new Target;
- case 1: return new Target(args[0]);
- case 2: return new Target(args[0], args[1]);
- case 3: return new Target(args[0], args[1], args[2]);
- case 4: return new Target(args[0], args[1], args[2], args[3]);
- }
- // w/o altered newTarget, lot of arguments case
- var $args = [null];
- $args.push.apply($args, args);
- return new (bind.apply(Target, $args));
- }
- // with altered newTarget, not support built-in constructors
- var proto = newTarget.prototype
- , instance = $.create(isObject(proto) ? proto : Object.prototype)
- , result = Function.apply.call(Target, instance, args);
- return isObject(result) ? result : instance;
- }
- });
- /***/ },
- /* 152 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , anObject = __webpack_require__(20);
- // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
- $export($export.S + $export.F * __webpack_require__(9)(function(){
- Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});
- }), 'Reflect', {
- defineProperty: function defineProperty(target, propertyKey, attributes){
- anObject(target);
- try {
- $.setDesc(target, propertyKey, attributes);
- return true;
- } catch(e){
- return false;
- }
- }
- });
- /***/ },
- /* 153 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.4 Reflect.deleteProperty(target, propertyKey)
- var $export = __webpack_require__(3)
- , getDesc = __webpack_require__(2).getDesc
- , anObject = __webpack_require__(20);
- $export($export.S, 'Reflect', {
- deleteProperty: function deleteProperty(target, propertyKey){
- var desc = getDesc(anObject(target), propertyKey);
- return desc && !desc.configurable ? false : delete target[propertyKey];
- }
- });
- /***/ },
- /* 154 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // 26.1.5 Reflect.enumerate(target)
- var $export = __webpack_require__(3)
- , anObject = __webpack_require__(20);
- var Enumerate = function(iterated){
- this._t = anObject(iterated); // target
- this._i = 0; // next index
- var keys = this._k = [] // keys
- , key;
- for(key in iterated)keys.push(key);
- };
- __webpack_require__(110)(Enumerate, 'Object', function(){
- var that = this
- , keys = that._k
- , key;
- do {
- if(that._i >= keys.length)return {value: undefined, done: true};
- } while(!((key = keys[that._i++]) in that._t));
- return {value: key, done: false};
- });
- $export($export.S, 'Reflect', {
- enumerate: function enumerate(target){
- return new Enumerate(target);
- }
- });
- /***/ },
- /* 155 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.6 Reflect.get(target, propertyKey [, receiver])
- var $ = __webpack_require__(2)
- , has = __webpack_require__(17)
- , $export = __webpack_require__(3)
- , isObject = __webpack_require__(16)
- , anObject = __webpack_require__(20);
- function get(target, propertyKey/*, receiver*/){
- var receiver = arguments.length < 3 ? target : arguments[2]
- , desc, proto;
- if(anObject(target) === receiver)return target[propertyKey];
- if(desc = $.getDesc(target, propertyKey))return has(desc, 'value')
- ? desc.value
- : desc.get !== undefined
- ? desc.get.call(receiver)
- : undefined;
- if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);
- }
- $export($export.S, 'Reflect', {get: get});
- /***/ },
- /* 156 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , anObject = __webpack_require__(20);
- $export($export.S, 'Reflect', {
- getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
- return $.getDesc(anObject(target), propertyKey);
- }
- });
- /***/ },
- /* 157 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.8 Reflect.getPrototypeOf(target)
- var $export = __webpack_require__(3)
- , getProto = __webpack_require__(2).getProto
- , anObject = __webpack_require__(20);
- $export($export.S, 'Reflect', {
- getPrototypeOf: function getPrototypeOf(target){
- return getProto(anObject(target));
- }
- });
- /***/ },
- /* 158 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.9 Reflect.has(target, propertyKey)
- var $export = __webpack_require__(3);
- $export($export.S, 'Reflect', {
- has: function has(target, propertyKey){
- return propertyKey in target;
- }
- });
- /***/ },
- /* 159 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.10 Reflect.isExtensible(target)
- var $export = __webpack_require__(3)
- , anObject = __webpack_require__(20)
- , $isExtensible = Object.isExtensible;
- $export($export.S, 'Reflect', {
- isExtensible: function isExtensible(target){
- anObject(target);
- return $isExtensible ? $isExtensible(target) : true;
- }
- });
- /***/ },
- /* 160 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.11 Reflect.ownKeys(target)
- var $export = __webpack_require__(3);
- $export($export.S, 'Reflect', {ownKeys: __webpack_require__(161)});
- /***/ },
- /* 161 */
- /***/ function(module, exports, __webpack_require__) {
- // all object keys, includes non-enumerable and symbols
- var $ = __webpack_require__(2)
- , anObject = __webpack_require__(20)
- , Reflect = __webpack_require__(4).Reflect;
- module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
- var keys = $.getNames(anObject(it))
- , getSymbols = $.getSymbols;
- return getSymbols ? keys.concat(getSymbols(it)) : keys;
- };
- /***/ },
- /* 162 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.12 Reflect.preventExtensions(target)
- var $export = __webpack_require__(3)
- , anObject = __webpack_require__(20)
- , $preventExtensions = Object.preventExtensions;
- $export($export.S, 'Reflect', {
- preventExtensions: function preventExtensions(target){
- anObject(target);
- try {
- if($preventExtensions)$preventExtensions(target);
- return true;
- } catch(e){
- return false;
- }
- }
- });
- /***/ },
- /* 163 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
- var $ = __webpack_require__(2)
- , has = __webpack_require__(17)
- , $export = __webpack_require__(3)
- , createDesc = __webpack_require__(7)
- , anObject = __webpack_require__(20)
- , isObject = __webpack_require__(16);
- function set(target, propertyKey, V/*, receiver*/){
- var receiver = arguments.length < 4 ? target : arguments[3]
- , ownDesc = $.getDesc(anObject(target), propertyKey)
- , existingDescriptor, proto;
- if(!ownDesc){
- if(isObject(proto = $.getProto(target))){
- return set(proto, propertyKey, V, receiver);
- }
- ownDesc = createDesc(0);
- }
- if(has(ownDesc, 'value')){
- if(ownDesc.writable === false || !isObject(receiver))return false;
- existingDescriptor = $.getDesc(receiver, propertyKey) || createDesc(0);
- existingDescriptor.value = V;
- $.setDesc(receiver, propertyKey, existingDescriptor);
- return true;
- }
- return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
- }
- $export($export.S, 'Reflect', {set: set});
- /***/ },
- /* 164 */
- /***/ function(module, exports, __webpack_require__) {
- // 26.1.14 Reflect.setPrototypeOf(target, proto)
- var $export = __webpack_require__(3)
- , setProto = __webpack_require__(45);
- if(setProto)$export($export.S, 'Reflect', {
- setPrototypeOf: function setPrototypeOf(target, proto){
- setProto.check(target, proto);
- try {
- setProto.set(target, proto);
- return true;
- } catch(e){
- return false;
- }
- }
- });
- /***/ },
- /* 165 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $export = __webpack_require__(3)
- , $includes = __webpack_require__(33)(true);
- $export($export.P, 'Array', {
- // https://github.com/domenic/Array.prototype.includes
- includes: function includes(el /*, fromIndex = 0 */){
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__(118)('includes');
- /***/ },
- /* 166 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // https://github.com/mathiasbynens/String.prototype.at
- var $export = __webpack_require__(3)
- , $at = __webpack_require__(98)(true);
- $export($export.P, 'String', {
- at: function at(pos){
- return $at(this, pos);
- }
- });
- /***/ },
- /* 167 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $export = __webpack_require__(3)
- , $pad = __webpack_require__(168);
- $export($export.P, 'String', {
- padLeft: function padLeft(maxLength /*, fillString = ' ' */){
- return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
- }
- });
- /***/ },
- /* 168 */
- /***/ function(module, exports, __webpack_require__) {
- // https://github.com/ljharb/proposal-string-pad-left-right
- var toLength = __webpack_require__(27)
- , repeat = __webpack_require__(105)
- , defined = __webpack_require__(22);
- module.exports = function(that, maxLength, fillString, left){
- var S = String(defined(that))
- , stringLength = S.length
- , fillStr = fillString === undefined ? ' ' : String(fillString)
- , intMaxLength = toLength(maxLength);
- if(intMaxLength <= stringLength)return S;
- if(fillStr == '')fillStr = ' ';
- var fillLen = intMaxLength - stringLength
- , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
- if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
- return left ? stringFiller + S : S + stringFiller;
- };
- /***/ },
- /* 169 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var $export = __webpack_require__(3)
- , $pad = __webpack_require__(168);
- $export($export.P, 'String', {
- padRight: function padRight(maxLength /*, fillString = ' ' */){
- return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
- }
- });
- /***/ },
- /* 170 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
- __webpack_require__(63)('trimLeft', function($trim){
- return function trimLeft(){
- return $trim(this, 1);
- };
- });
- /***/ },
- /* 171 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
- __webpack_require__(63)('trimRight', function($trim){
- return function trimRight(){
- return $trim(this, 2);
- };
- });
- /***/ },
- /* 172 */
- /***/ function(module, exports, __webpack_require__) {
- // https://github.com/benjamingr/RexExp.escape
- var $export = __webpack_require__(3)
- , $re = __webpack_require__(173)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
- $export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
- /***/ },
- /* 173 */
- /***/ function(module, exports) {
- module.exports = function(regExp, replace){
- var replacer = replace === Object(replace) ? function(part){
- return replace[part];
- } : replace;
- return function(it){
- return String(it).replace(regExp, replacer);
- };
- };
- /***/ },
- /* 174 */
- /***/ function(module, exports, __webpack_require__) {
- // https://gist.github.com/WebReflection/9353781
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , ownKeys = __webpack_require__(161)
- , toIObject = __webpack_require__(23)
- , createDesc = __webpack_require__(7);
- $export($export.S, 'Object', {
- getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
- var O = toIObject(object)
- , setDesc = $.setDesc
- , getDesc = $.getDesc
- , keys = ownKeys(O)
- , result = {}
- , i = 0
- , key, D;
- while(keys.length > i){
- D = getDesc(O, key = keys[i++]);
- if(key in result)setDesc(result, key, createDesc(0, D));
- else result[key] = D;
- } return result;
- }
- });
- /***/ },
- /* 175 */
- /***/ function(module, exports, __webpack_require__) {
- // http://goo.gl/XkBrjD
- var $export = __webpack_require__(3)
- , $values = __webpack_require__(176)(false);
- $export($export.S, 'Object', {
- values: function values(it){
- return $values(it);
- }
- });
- /***/ },
- /* 176 */
- /***/ function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(2)
- , toIObject = __webpack_require__(23)
- , isEnum = $.isEnum;
- module.exports = function(isEntries){
- return function(it){
- var O = toIObject(it)
- , keys = $.getKeys(O)
- , length = keys.length
- , i = 0
- , result = []
- , key;
- while(length > i)if(isEnum.call(O, key = keys[i++])){
- result.push(isEntries ? [key, O[key]] : O[key]);
- } return result;
- };
- };
- /***/ },
- /* 177 */
- /***/ function(module, exports, __webpack_require__) {
- // http://goo.gl/XkBrjD
- var $export = __webpack_require__(3)
- , $entries = __webpack_require__(176)(true);
- $export($export.S, 'Object', {
- entries: function entries(it){
- return $entries(it);
- }
- });
- /***/ },
- /* 178 */
- /***/ function(module, exports, __webpack_require__) {
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
- var $export = __webpack_require__(3);
- $export($export.P, 'Map', {toJSON: __webpack_require__(179)('Map')});
- /***/ },
- /* 179 */
- /***/ function(module, exports, __webpack_require__) {
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
- var forOf = __webpack_require__(138)
- , classof = __webpack_require__(47);
- module.exports = function(NAME){
- return function toJSON(){
- if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
- var arr = [];
- forOf(this, false, arr.push, arr);
- return arr;
- };
- };
- /***/ },
- /* 180 */
- /***/ function(module, exports, __webpack_require__) {
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
- var $export = __webpack_require__(3);
- $export($export.P, 'Set', {toJSON: __webpack_require__(179)('Set')});
- /***/ },
- /* 181 */
- /***/ function(module, exports, __webpack_require__) {
- var $export = __webpack_require__(3)
- , $task = __webpack_require__(141);
- $export($export.G + $export.B, {
- setImmediate: $task.set,
- clearImmediate: $task.clear
- });
- /***/ },
- /* 182 */
- /***/ function(module, exports, __webpack_require__) {
- __webpack_require__(117);
- var global = __webpack_require__(4)
- , hide = __webpack_require__(6)
- , Iterators = __webpack_require__(109)
- , ITERATOR = __webpack_require__(31)('iterator')
- , NL = global.NodeList
- , HTC = global.HTMLCollection
- , NLProto = NL && NL.prototype
- , HTCProto = HTC && HTC.prototype
- , ArrayValues = Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
- if(NLProto && !NLProto[ITERATOR])hide(NLProto, ITERATOR, ArrayValues);
- if(HTCProto && !HTCProto[ITERATOR])hide(HTCProto, ITERATOR, ArrayValues);
- /***/ },
- /* 183 */
- /***/ function(module, exports, __webpack_require__) {
- // ie9- setTimeout & setInterval additional parameters fix
- var global = __webpack_require__(4)
- , $export = __webpack_require__(3)
- , invoke = __webpack_require__(19)
- , partial = __webpack_require__(184)
- , navigator = global.navigator
- , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
- var wrap = function(set){
- return MSIE ? function(fn, time /*, ...args */){
- return set(invoke(
- partial,
- [].slice.call(arguments, 2),
- typeof fn == 'function' ? fn : Function(fn)
- ), time);
- } : set;
- };
- $export($export.G + $export.B + $export.F * MSIE, {
- setTimeout: wrap(global.setTimeout),
- setInterval: wrap(global.setInterval)
- });
- /***/ },
- /* 184 */
- /***/ function(module, exports, __webpack_require__) {
- 'use strict';
- var path = __webpack_require__(185)
- , invoke = __webpack_require__(19)
- , aFunction = __webpack_require__(13);
- module.exports = function(/* ...pargs */){
- var fn = aFunction(this)
- , length = arguments.length
- , pargs = Array(length)
- , i = 0
- , _ = path._
- , holder = false;
- while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
- return function(/* ...args */){
- var that = this
- , $$ = arguments
- , $$len = $$.length
- , j = 0, k = 0, args;
- if(!holder && !$$len)return invoke(fn, pargs, that);
- args = pargs.slice();
- if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];
- while($$len > k)args.push($$[k++]);
- return invoke(fn, args, that);
- };
- };
- /***/ },
- /* 185 */
- /***/ function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(4);
- /***/ },
- /* 186 */
- /***/ function(module, exports, __webpack_require__) {
- // JavaScript 1.6 / Strawman array statics shim
- var $ = __webpack_require__(2)
- , $export = __webpack_require__(3)
- , $ctx = __webpack_require__(12)
- , $Array = __webpack_require__(5).Array || Array
- , statics = {};
- var setStatics = function(keys, length){
- $.each.call(keys.split(','), function(key){
- if(length == undefined && key in $Array)statics[key] = $Array[key];
- else if(key in [])statics[key] = $ctx(Function.call, [][key], length);
- });
- };
- setStatics('pop,reverse,shift,keys,values,entries', 1);
- setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
- setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
- 'reduce,reduceRight,copyWithin,fill');
- $export($export.S, 'Array', statics);
- /***/ }
- /******/ ]);
- // CommonJS export
- if(typeof module != 'undefined' && module.exports)module.exports = __e;
- // RequireJS export
- else if(typeof define == 'function' && define.amd)define(function(){return __e});
- // Export to global object
- else __g.core = __e;
- }(1, 1);
|