library.js 133 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550
  1. /**
  2. * core-js 1.2.7
  3. * https://github.com/zloirock/core-js
  4. * License: http://rock.mit-license.org
  5. * © 2016 Denis Pushkarev
  6. */
  7. !function(__e, __g, undefined){
  8. 'use strict';
  9. /******/ (function(modules) { // webpackBootstrap
  10. /******/ // The module cache
  11. /******/ var installedModules = {};
  12. /******/ // The require function
  13. /******/ function __webpack_require__(moduleId) {
  14. /******/ // Check if module is in cache
  15. /******/ if(installedModules[moduleId])
  16. /******/ return installedModules[moduleId].exports;
  17. /******/ // Create a new module (and put it into the cache)
  18. /******/ var module = installedModules[moduleId] = {
  19. /******/ exports: {},
  20. /******/ id: moduleId,
  21. /******/ loaded: false
  22. /******/ };
  23. /******/ // Execute the module function
  24. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  25. /******/ // Flag the module as loaded
  26. /******/ module.loaded = true;
  27. /******/ // Return the exports of the module
  28. /******/ return module.exports;
  29. /******/ }
  30. /******/ // expose the modules object (__webpack_modules__)
  31. /******/ __webpack_require__.m = modules;
  32. /******/ // expose the module cache
  33. /******/ __webpack_require__.c = installedModules;
  34. /******/ // __webpack_public_path__
  35. /******/ __webpack_require__.p = "";
  36. /******/ // Load entry module and return exports
  37. /******/ return __webpack_require__(0);
  38. /******/ })
  39. /************************************************************************/
  40. /******/ ([
  41. /* 0 */
  42. /***/ function(module, exports, __webpack_require__) {
  43. __webpack_require__(1);
  44. __webpack_require__(32);
  45. __webpack_require__(40);
  46. __webpack_require__(42);
  47. __webpack_require__(44);
  48. __webpack_require__(46);
  49. __webpack_require__(48);
  50. __webpack_require__(49);
  51. __webpack_require__(50);
  52. __webpack_require__(51);
  53. __webpack_require__(52);
  54. __webpack_require__(53);
  55. __webpack_require__(54);
  56. __webpack_require__(55);
  57. __webpack_require__(56);
  58. __webpack_require__(57);
  59. __webpack_require__(58);
  60. __webpack_require__(59);
  61. __webpack_require__(60);
  62. __webpack_require__(62);
  63. __webpack_require__(63);
  64. __webpack_require__(64);
  65. __webpack_require__(65);
  66. __webpack_require__(66);
  67. __webpack_require__(67);
  68. __webpack_require__(68);
  69. __webpack_require__(70);
  70. __webpack_require__(71);
  71. __webpack_require__(72);
  72. __webpack_require__(74);
  73. __webpack_require__(75);
  74. __webpack_require__(76);
  75. __webpack_require__(78);
  76. __webpack_require__(79);
  77. __webpack_require__(80);
  78. __webpack_require__(81);
  79. __webpack_require__(82);
  80. __webpack_require__(83);
  81. __webpack_require__(84);
  82. __webpack_require__(85);
  83. __webpack_require__(86);
  84. __webpack_require__(87);
  85. __webpack_require__(88);
  86. __webpack_require__(89);
  87. __webpack_require__(90);
  88. __webpack_require__(92);
  89. __webpack_require__(94);
  90. __webpack_require__(98);
  91. __webpack_require__(99);
  92. __webpack_require__(101);
  93. __webpack_require__(102);
  94. __webpack_require__(106);
  95. __webpack_require__(112);
  96. __webpack_require__(113);
  97. __webpack_require__(116);
  98. __webpack_require__(118);
  99. __webpack_require__(120);
  100. __webpack_require__(122);
  101. __webpack_require__(123);
  102. __webpack_require__(124);
  103. __webpack_require__(131);
  104. __webpack_require__(134);
  105. __webpack_require__(135);
  106. __webpack_require__(137);
  107. __webpack_require__(138);
  108. __webpack_require__(139);
  109. __webpack_require__(140);
  110. __webpack_require__(141);
  111. __webpack_require__(142);
  112. __webpack_require__(143);
  113. __webpack_require__(144);
  114. __webpack_require__(145);
  115. __webpack_require__(146);
  116. __webpack_require__(147);
  117. __webpack_require__(148);
  118. __webpack_require__(150);
  119. __webpack_require__(151);
  120. __webpack_require__(152);
  121. __webpack_require__(153);
  122. __webpack_require__(154);
  123. __webpack_require__(155);
  124. __webpack_require__(157);
  125. __webpack_require__(158);
  126. __webpack_require__(159);
  127. __webpack_require__(160);
  128. __webpack_require__(162);
  129. __webpack_require__(163);
  130. __webpack_require__(165);
  131. __webpack_require__(166);
  132. __webpack_require__(168);
  133. __webpack_require__(169);
  134. __webpack_require__(170);
  135. __webpack_require__(171);
  136. __webpack_require__(174);
  137. __webpack_require__(109);
  138. __webpack_require__(176);
  139. __webpack_require__(175);
  140. __webpack_require__(177);
  141. __webpack_require__(178);
  142. __webpack_require__(179);
  143. __webpack_require__(180);
  144. __webpack_require__(181);
  145. __webpack_require__(183);
  146. __webpack_require__(184);
  147. __webpack_require__(185);
  148. __webpack_require__(186);
  149. __webpack_require__(187);
  150. module.exports = __webpack_require__(188);
  151. /***/ },
  152. /* 1 */
  153. /***/ function(module, exports, __webpack_require__) {
  154. 'use strict';
  155. var $ = __webpack_require__(2)
  156. , $export = __webpack_require__(3)
  157. , DESCRIPTORS = __webpack_require__(8)
  158. , createDesc = __webpack_require__(10)
  159. , html = __webpack_require__(11)
  160. , cel = __webpack_require__(12)
  161. , has = __webpack_require__(14)
  162. , cof = __webpack_require__(15)
  163. , invoke = __webpack_require__(16)
  164. , fails = __webpack_require__(9)
  165. , anObject = __webpack_require__(17)
  166. , aFunction = __webpack_require__(7)
  167. , isObject = __webpack_require__(13)
  168. , toObject = __webpack_require__(18)
  169. , toIObject = __webpack_require__(20)
  170. , toInteger = __webpack_require__(22)
  171. , toIndex = __webpack_require__(23)
  172. , toLength = __webpack_require__(24)
  173. , IObject = __webpack_require__(21)
  174. , IE_PROTO = __webpack_require__(25)('__proto__')
  175. , createArrayMethod = __webpack_require__(26)
  176. , arrayIndexOf = __webpack_require__(31)(false)
  177. , ObjectProto = Object.prototype
  178. , ArrayProto = Array.prototype
  179. , arraySlice = ArrayProto.slice
  180. , arrayJoin = ArrayProto.join
  181. , defineProperty = $.setDesc
  182. , getOwnDescriptor = $.getDesc
  183. , defineProperties = $.setDescs
  184. , factories = {}
  185. , IE8_DOM_DEFINE;
  186. if(!DESCRIPTORS){
  187. IE8_DOM_DEFINE = !fails(function(){
  188. return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;
  189. });
  190. $.setDesc = function(O, P, Attributes){
  191. if(IE8_DOM_DEFINE)try {
  192. return defineProperty(O, P, Attributes);
  193. } catch(e){ /* empty */ }
  194. if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
  195. if('value' in Attributes)anObject(O)[P] = Attributes.value;
  196. return O;
  197. };
  198. $.getDesc = function(O, P){
  199. if(IE8_DOM_DEFINE)try {
  200. return getOwnDescriptor(O, P);
  201. } catch(e){ /* empty */ }
  202. if(has(O, P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);
  203. };
  204. $.setDescs = defineProperties = function(O, Properties){
  205. anObject(O);
  206. var keys = $.getKeys(Properties)
  207. , length = keys.length
  208. , i = 0
  209. , P;
  210. while(length > i)$.setDesc(O, P = keys[i++], Properties[P]);
  211. return O;
  212. };
  213. }
  214. $export($export.S + $export.F * !DESCRIPTORS, 'Object', {
  215. // 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)
  216. getOwnPropertyDescriptor: $.getDesc,
  217. // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
  218. defineProperty: $.setDesc,
  219. // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
  220. defineProperties: defineProperties
  221. });
  222. // IE 8- don't enum bug keys
  223. var keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' +
  224. 'toLocaleString,toString,valueOf').split(',')
  225. // Additional keys for getOwnPropertyNames
  226. , keys2 = keys1.concat('length', 'prototype')
  227. , keysLen1 = keys1.length;
  228. // Create object with `null` prototype: use iframe Object with cleared prototype
  229. var createDict = function(){
  230. // Thrash, waste and sodomy: IE GC bug
  231. var iframe = cel('iframe')
  232. , i = keysLen1
  233. , gt = '>'
  234. , iframeDocument;
  235. iframe.style.display = 'none';
  236. html.appendChild(iframe);
  237. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  238. // createDict = iframe.contentWindow.Object;
  239. // html.removeChild(iframe);
  240. iframeDocument = iframe.contentWindow.document;
  241. iframeDocument.open();
  242. iframeDocument.write('<script>document.F=Object</script' + gt);
  243. iframeDocument.close();
  244. createDict = iframeDocument.F;
  245. while(i--)delete createDict.prototype[keys1[i]];
  246. return createDict();
  247. };
  248. var createGetKeys = function(names, length){
  249. return function(object){
  250. var O = toIObject(object)
  251. , i = 0
  252. , result = []
  253. , key;
  254. for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
  255. // Don't enum bug & hidden keys
  256. while(length > i)if(has(O, key = names[i++])){
  257. ~arrayIndexOf(result, key) || result.push(key);
  258. }
  259. return result;
  260. };
  261. };
  262. var Empty = function(){};
  263. $export($export.S, 'Object', {
  264. // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
  265. getPrototypeOf: $.getProto = $.getProto || function(O){
  266. O = toObject(O);
  267. if(has(O, IE_PROTO))return O[IE_PROTO];
  268. if(typeof O.constructor == 'function' && O instanceof O.constructor){
  269. return O.constructor.prototype;
  270. } return O instanceof Object ? ObjectProto : null;
  271. },
  272. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  273. getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),
  274. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  275. create: $.create = $.create || function(O, /*?*/Properties){
  276. var result;
  277. if(O !== null){
  278. Empty.prototype = anObject(O);
  279. result = new Empty();
  280. Empty.prototype = null;
  281. // add "__proto__" for Object.getPrototypeOf shim
  282. result[IE_PROTO] = O;
  283. } else result = createDict();
  284. return Properties === undefined ? result : defineProperties(result, Properties);
  285. },
  286. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  287. keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false)
  288. });
  289. var construct = function(F, len, args){
  290. if(!(len in factories)){
  291. for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';
  292. factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
  293. }
  294. return factories[len](F, args);
  295. };
  296. // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
  297. $export($export.P, 'Function', {
  298. bind: function bind(that /*, args... */){
  299. var fn = aFunction(this)
  300. , partArgs = arraySlice.call(arguments, 1);
  301. var bound = function(/* args... */){
  302. var args = partArgs.concat(arraySlice.call(arguments));
  303. return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
  304. };
  305. if(isObject(fn.prototype))bound.prototype = fn.prototype;
  306. return bound;
  307. }
  308. });
  309. // fallback for not array-like ES3 strings and DOM objects
  310. $export($export.P + $export.F * fails(function(){
  311. if(html)arraySlice.call(html);
  312. }), 'Array', {
  313. slice: function(begin, end){
  314. var len = toLength(this.length)
  315. , klass = cof(this);
  316. end = end === undefined ? len : end;
  317. if(klass == 'Array')return arraySlice.call(this, begin, end);
  318. var start = toIndex(begin, len)
  319. , upTo = toIndex(end, len)
  320. , size = toLength(upTo - start)
  321. , cloned = Array(size)
  322. , i = 0;
  323. for(; i < size; i++)cloned[i] = klass == 'String'
  324. ? this.charAt(start + i)
  325. : this[start + i];
  326. return cloned;
  327. }
  328. });
  329. $export($export.P + $export.F * (IObject != Object), 'Array', {
  330. join: function join(separator){
  331. return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);
  332. }
  333. });
  334. // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
  335. $export($export.S, 'Array', {isArray: __webpack_require__(28)});
  336. var createArrayReduce = function(isRight){
  337. return function(callbackfn, memo){
  338. aFunction(callbackfn);
  339. var O = IObject(this)
  340. , length = toLength(O.length)
  341. , index = isRight ? length - 1 : 0
  342. , i = isRight ? -1 : 1;
  343. if(arguments.length < 2)for(;;){
  344. if(index in O){
  345. memo = O[index];
  346. index += i;
  347. break;
  348. }
  349. index += i;
  350. if(isRight ? index < 0 : length <= index){
  351. throw TypeError('Reduce of empty array with no initial value');
  352. }
  353. }
  354. for(;isRight ? index >= 0 : length > index; index += i)if(index in O){
  355. memo = callbackfn(memo, O[index], index, this);
  356. }
  357. return memo;
  358. };
  359. };
  360. var methodize = function($fn){
  361. return function(arg1/*, arg2 = undefined */){
  362. return $fn(this, arg1, arguments[1]);
  363. };
  364. };
  365. $export($export.P, 'Array', {
  366. // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
  367. forEach: $.each = $.each || methodize(createArrayMethod(0)),
  368. // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
  369. map: methodize(createArrayMethod(1)),
  370. // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
  371. filter: methodize(createArrayMethod(2)),
  372. // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
  373. some: methodize(createArrayMethod(3)),
  374. // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
  375. every: methodize(createArrayMethod(4)),
  376. // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
  377. reduce: createArrayReduce(false),
  378. // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
  379. reduceRight: createArrayReduce(true),
  380. // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
  381. indexOf: methodize(arrayIndexOf),
  382. // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
  383. lastIndexOf: function(el, fromIndex /* = @[*-1] */){
  384. var O = toIObject(this)
  385. , length = toLength(O.length)
  386. , index = length - 1;
  387. if(arguments.length > 1)index = Math.min(index, toInteger(fromIndex));
  388. if(index < 0)index = toLength(length + index);
  389. for(;index >= 0; index--)if(index in O)if(O[index] === el)return index;
  390. return -1;
  391. }
  392. });
  393. // 20.3.3.1 / 15.9.4.4 Date.now()
  394. $export($export.S, 'Date', {now: function(){ return +new Date; }});
  395. var lz = function(num){
  396. return num > 9 ? num : '0' + num;
  397. };
  398. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  399. // PhantomJS / old WebKit has a broken implementations
  400. $export($export.P + $export.F * (fails(function(){
  401. return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
  402. }) || !fails(function(){
  403. new Date(NaN).toISOString();
  404. })), 'Date', {
  405. toISOString: function toISOString(){
  406. if(!isFinite(this))throw RangeError('Invalid time value');
  407. var d = this
  408. , y = d.getUTCFullYear()
  409. , m = d.getUTCMilliseconds()
  410. , s = y < 0 ? '-' : y > 9999 ? '+' : '';
  411. return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
  412. '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
  413. 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
  414. ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
  415. }
  416. });
  417. /***/ },
  418. /* 2 */
  419. /***/ function(module, exports) {
  420. var $Object = Object;
  421. module.exports = {
  422. create: $Object.create,
  423. getProto: $Object.getPrototypeOf,
  424. isEnum: {}.propertyIsEnumerable,
  425. getDesc: $Object.getOwnPropertyDescriptor,
  426. setDesc: $Object.defineProperty,
  427. setDescs: $Object.defineProperties,
  428. getKeys: $Object.keys,
  429. getNames: $Object.getOwnPropertyNames,
  430. getSymbols: $Object.getOwnPropertySymbols,
  431. each: [].forEach
  432. };
  433. /***/ },
  434. /* 3 */
  435. /***/ function(module, exports, __webpack_require__) {
  436. var global = __webpack_require__(4)
  437. , core = __webpack_require__(5)
  438. , ctx = __webpack_require__(6)
  439. , PROTOTYPE = 'prototype';
  440. var $export = function(type, name, source){
  441. var IS_FORCED = type & $export.F
  442. , IS_GLOBAL = type & $export.G
  443. , IS_STATIC = type & $export.S
  444. , IS_PROTO = type & $export.P
  445. , IS_BIND = type & $export.B
  446. , IS_WRAP = type & $export.W
  447. , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
  448. , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
  449. , key, own, out;
  450. if(IS_GLOBAL)source = name;
  451. for(key in source){
  452. // contains in native
  453. own = !IS_FORCED && target && key in target;
  454. if(own && key in exports)continue;
  455. // export native or passed
  456. out = own ? target[key] : source[key];
  457. // prevent global pollution for namespaces
  458. exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
  459. // bind timers to global for call from export context
  460. : IS_BIND && own ? ctx(out, global)
  461. // wrap global constructors for prevent change them in library
  462. : IS_WRAP && target[key] == out ? (function(C){
  463. var F = function(param){
  464. return this instanceof C ? new C(param) : C(param);
  465. };
  466. F[PROTOTYPE] = C[PROTOTYPE];
  467. return F;
  468. // make static versions for prototype methods
  469. })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  470. if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
  471. }
  472. };
  473. // type bitmap
  474. $export.F = 1; // forced
  475. $export.G = 2; // global
  476. $export.S = 4; // static
  477. $export.P = 8; // proto
  478. $export.B = 16; // bind
  479. $export.W = 32; // wrap
  480. module.exports = $export;
  481. /***/ },
  482. /* 4 */
  483. /***/ function(module, exports) {
  484. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  485. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  486. ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
  487. if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
  488. /***/ },
  489. /* 5 */
  490. /***/ function(module, exports) {
  491. var core = module.exports = {version: '1.2.6'};
  492. if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
  493. /***/ },
  494. /* 6 */
  495. /***/ function(module, exports, __webpack_require__) {
  496. // optional / simple context binding
  497. var aFunction = __webpack_require__(7);
  498. module.exports = function(fn, that, length){
  499. aFunction(fn);
  500. if(that === undefined)return fn;
  501. switch(length){
  502. case 1: return function(a){
  503. return fn.call(that, a);
  504. };
  505. case 2: return function(a, b){
  506. return fn.call(that, a, b);
  507. };
  508. case 3: return function(a, b, c){
  509. return fn.call(that, a, b, c);
  510. };
  511. }
  512. return function(/* ...args */){
  513. return fn.apply(that, arguments);
  514. };
  515. };
  516. /***/ },
  517. /* 7 */
  518. /***/ function(module, exports) {
  519. module.exports = function(it){
  520. if(typeof it != 'function')throw TypeError(it + ' is not a function!');
  521. return it;
  522. };
  523. /***/ },
  524. /* 8 */
  525. /***/ function(module, exports, __webpack_require__) {
  526. // Thank's IE8 for his funny defineProperty
  527. module.exports = !__webpack_require__(9)(function(){
  528. return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
  529. });
  530. /***/ },
  531. /* 9 */
  532. /***/ function(module, exports) {
  533. module.exports = function(exec){
  534. try {
  535. return !!exec();
  536. } catch(e){
  537. return true;
  538. }
  539. };
  540. /***/ },
  541. /* 10 */
  542. /***/ function(module, exports) {
  543. module.exports = function(bitmap, value){
  544. return {
  545. enumerable : !(bitmap & 1),
  546. configurable: !(bitmap & 2),
  547. writable : !(bitmap & 4),
  548. value : value
  549. };
  550. };
  551. /***/ },
  552. /* 11 */
  553. /***/ function(module, exports, __webpack_require__) {
  554. module.exports = __webpack_require__(4).document && document.documentElement;
  555. /***/ },
  556. /* 12 */
  557. /***/ function(module, exports, __webpack_require__) {
  558. var isObject = __webpack_require__(13)
  559. , document = __webpack_require__(4).document
  560. // in old IE typeof document.createElement is 'object'
  561. , is = isObject(document) && isObject(document.createElement);
  562. module.exports = function(it){
  563. return is ? document.createElement(it) : {};
  564. };
  565. /***/ },
  566. /* 13 */
  567. /***/ function(module, exports) {
  568. module.exports = function(it){
  569. return typeof it === 'object' ? it !== null : typeof it === 'function';
  570. };
  571. /***/ },
  572. /* 14 */
  573. /***/ function(module, exports) {
  574. var hasOwnProperty = {}.hasOwnProperty;
  575. module.exports = function(it, key){
  576. return hasOwnProperty.call(it, key);
  577. };
  578. /***/ },
  579. /* 15 */
  580. /***/ function(module, exports) {
  581. var toString = {}.toString;
  582. module.exports = function(it){
  583. return toString.call(it).slice(8, -1);
  584. };
  585. /***/ },
  586. /* 16 */
  587. /***/ function(module, exports) {
  588. // fast apply, http://jsperf.lnkit.com/fast-apply/5
  589. module.exports = function(fn, args, that){
  590. var un = that === undefined;
  591. switch(args.length){
  592. case 0: return un ? fn()
  593. : fn.call(that);
  594. case 1: return un ? fn(args[0])
  595. : fn.call(that, args[0]);
  596. case 2: return un ? fn(args[0], args[1])
  597. : fn.call(that, args[0], args[1]);
  598. case 3: return un ? fn(args[0], args[1], args[2])
  599. : fn.call(that, args[0], args[1], args[2]);
  600. case 4: return un ? fn(args[0], args[1], args[2], args[3])
  601. : fn.call(that, args[0], args[1], args[2], args[3]);
  602. } return fn.apply(that, args);
  603. };
  604. /***/ },
  605. /* 17 */
  606. /***/ function(module, exports, __webpack_require__) {
  607. var isObject = __webpack_require__(13);
  608. module.exports = function(it){
  609. if(!isObject(it))throw TypeError(it + ' is not an object!');
  610. return it;
  611. };
  612. /***/ },
  613. /* 18 */
  614. /***/ function(module, exports, __webpack_require__) {
  615. // 7.1.13 ToObject(argument)
  616. var defined = __webpack_require__(19);
  617. module.exports = function(it){
  618. return Object(defined(it));
  619. };
  620. /***/ },
  621. /* 19 */
  622. /***/ function(module, exports) {
  623. // 7.2.1 RequireObjectCoercible(argument)
  624. module.exports = function(it){
  625. if(it == undefined)throw TypeError("Can't call method on " + it);
  626. return it;
  627. };
  628. /***/ },
  629. /* 20 */
  630. /***/ function(module, exports, __webpack_require__) {
  631. // to indexed object, toObject with fallback for non-array-like ES3 strings
  632. var IObject = __webpack_require__(21)
  633. , defined = __webpack_require__(19);
  634. module.exports = function(it){
  635. return IObject(defined(it));
  636. };
  637. /***/ },
  638. /* 21 */
  639. /***/ function(module, exports, __webpack_require__) {
  640. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  641. var cof = __webpack_require__(15);
  642. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
  643. return cof(it) == 'String' ? it.split('') : Object(it);
  644. };
  645. /***/ },
  646. /* 22 */
  647. /***/ function(module, exports) {
  648. // 7.1.4 ToInteger
  649. var ceil = Math.ceil
  650. , floor = Math.floor;
  651. module.exports = function(it){
  652. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  653. };
  654. /***/ },
  655. /* 23 */
  656. /***/ function(module, exports, __webpack_require__) {
  657. var toInteger = __webpack_require__(22)
  658. , max = Math.max
  659. , min = Math.min;
  660. module.exports = function(index, length){
  661. index = toInteger(index);
  662. return index < 0 ? max(index + length, 0) : min(index, length);
  663. };
  664. /***/ },
  665. /* 24 */
  666. /***/ function(module, exports, __webpack_require__) {
  667. // 7.1.15 ToLength
  668. var toInteger = __webpack_require__(22)
  669. , min = Math.min;
  670. module.exports = function(it){
  671. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  672. };
  673. /***/ },
  674. /* 25 */
  675. /***/ function(module, exports) {
  676. var id = 0
  677. , px = Math.random();
  678. module.exports = function(key){
  679. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  680. };
  681. /***/ },
  682. /* 26 */
  683. /***/ function(module, exports, __webpack_require__) {
  684. // 0 -> Array#forEach
  685. // 1 -> Array#map
  686. // 2 -> Array#filter
  687. // 3 -> Array#some
  688. // 4 -> Array#every
  689. // 5 -> Array#find
  690. // 6 -> Array#findIndex
  691. var ctx = __webpack_require__(6)
  692. , IObject = __webpack_require__(21)
  693. , toObject = __webpack_require__(18)
  694. , toLength = __webpack_require__(24)
  695. , asc = __webpack_require__(27);
  696. module.exports = function(TYPE){
  697. var IS_MAP = TYPE == 1
  698. , IS_FILTER = TYPE == 2
  699. , IS_SOME = TYPE == 3
  700. , IS_EVERY = TYPE == 4
  701. , IS_FIND_INDEX = TYPE == 6
  702. , NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  703. return function($this, callbackfn, that){
  704. var O = toObject($this)
  705. , self = IObject(O)
  706. , f = ctx(callbackfn, that, 3)
  707. , length = toLength(self.length)
  708. , index = 0
  709. , result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined
  710. , val, res;
  711. for(;length > index; index++)if(NO_HOLES || index in self){
  712. val = self[index];
  713. res = f(val, index, O);
  714. if(TYPE){
  715. if(IS_MAP)result[index] = res; // map
  716. else if(res)switch(TYPE){
  717. case 3: return true; // some
  718. case 5: return val; // find
  719. case 6: return index; // findIndex
  720. case 2: result.push(val); // filter
  721. } else if(IS_EVERY)return false; // every
  722. }
  723. }
  724. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
  725. };
  726. };
  727. /***/ },
  728. /* 27 */
  729. /***/ function(module, exports, __webpack_require__) {
  730. // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
  731. var isObject = __webpack_require__(13)
  732. , isArray = __webpack_require__(28)
  733. , SPECIES = __webpack_require__(29)('species');
  734. module.exports = function(original, length){
  735. var C;
  736. if(isArray(original)){
  737. C = original.constructor;
  738. // cross-realm fallback
  739. if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
  740. if(isObject(C)){
  741. C = C[SPECIES];
  742. if(C === null)C = undefined;
  743. }
  744. } return new (C === undefined ? Array : C)(length);
  745. };
  746. /***/ },
  747. /* 28 */
  748. /***/ function(module, exports, __webpack_require__) {
  749. // 7.2.2 IsArray(argument)
  750. var cof = __webpack_require__(15);
  751. module.exports = Array.isArray || function(arg){
  752. return cof(arg) == 'Array';
  753. };
  754. /***/ },
  755. /* 29 */
  756. /***/ function(module, exports, __webpack_require__) {
  757. var store = __webpack_require__(30)('wks')
  758. , uid = __webpack_require__(25)
  759. , Symbol = __webpack_require__(4).Symbol;
  760. module.exports = function(name){
  761. return store[name] || (store[name] =
  762. Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
  763. };
  764. /***/ },
  765. /* 30 */
  766. /***/ function(module, exports, __webpack_require__) {
  767. var global = __webpack_require__(4)
  768. , SHARED = '__core-js_shared__'
  769. , store = global[SHARED] || (global[SHARED] = {});
  770. module.exports = function(key){
  771. return store[key] || (store[key] = {});
  772. };
  773. /***/ },
  774. /* 31 */
  775. /***/ function(module, exports, __webpack_require__) {
  776. // false -> Array#indexOf
  777. // true -> Array#includes
  778. var toIObject = __webpack_require__(20)
  779. , toLength = __webpack_require__(24)
  780. , toIndex = __webpack_require__(23);
  781. module.exports = function(IS_INCLUDES){
  782. return function($this, el, fromIndex){
  783. var O = toIObject($this)
  784. , length = toLength(O.length)
  785. , index = toIndex(fromIndex, length)
  786. , value;
  787. // Array#includes uses SameValueZero equality algorithm
  788. if(IS_INCLUDES && el != el)while(length > index){
  789. value = O[index++];
  790. if(value != value)return true;
  791. // Array#toIndex ignores holes, Array#includes - not
  792. } else for(;length > index; index++)if(IS_INCLUDES || index in O){
  793. if(O[index] === el)return IS_INCLUDES || index;
  794. } return !IS_INCLUDES && -1;
  795. };
  796. };
  797. /***/ },
  798. /* 32 */
  799. /***/ function(module, exports, __webpack_require__) {
  800. 'use strict';
  801. // ECMAScript 6 symbols shim
  802. var $ = __webpack_require__(2)
  803. , global = __webpack_require__(4)
  804. , has = __webpack_require__(14)
  805. , DESCRIPTORS = __webpack_require__(8)
  806. , $export = __webpack_require__(3)
  807. , redefine = __webpack_require__(33)
  808. , $fails = __webpack_require__(9)
  809. , shared = __webpack_require__(30)
  810. , setToStringTag = __webpack_require__(35)
  811. , uid = __webpack_require__(25)
  812. , wks = __webpack_require__(29)
  813. , keyOf = __webpack_require__(36)
  814. , $names = __webpack_require__(37)
  815. , enumKeys = __webpack_require__(38)
  816. , isArray = __webpack_require__(28)
  817. , anObject = __webpack_require__(17)
  818. , toIObject = __webpack_require__(20)
  819. , createDesc = __webpack_require__(10)
  820. , getDesc = $.getDesc
  821. , setDesc = $.setDesc
  822. , _create = $.create
  823. , getNames = $names.get
  824. , $Symbol = global.Symbol
  825. , $JSON = global.JSON
  826. , _stringify = $JSON && $JSON.stringify
  827. , setter = false
  828. , HIDDEN = wks('_hidden')
  829. , isEnum = $.isEnum
  830. , SymbolRegistry = shared('symbol-registry')
  831. , AllSymbols = shared('symbols')
  832. , useNative = typeof $Symbol == 'function'
  833. , ObjectProto = Object.prototype;
  834. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  835. var setSymbolDesc = DESCRIPTORS && $fails(function(){
  836. return _create(setDesc({}, 'a', {
  837. get: function(){ return setDesc(this, 'a', {value: 7}).a; }
  838. })).a != 7;
  839. }) ? function(it, key, D){
  840. var protoDesc = getDesc(ObjectProto, key);
  841. if(protoDesc)delete ObjectProto[key];
  842. setDesc(it, key, D);
  843. if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
  844. } : setDesc;
  845. var wrap = function(tag){
  846. var sym = AllSymbols[tag] = _create($Symbol.prototype);
  847. sym._k = tag;
  848. DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
  849. configurable: true,
  850. set: function(value){
  851. if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
  852. setSymbolDesc(this, tag, createDesc(1, value));
  853. }
  854. });
  855. return sym;
  856. };
  857. var isSymbol = function(it){
  858. return typeof it == 'symbol';
  859. };
  860. var $defineProperty = function defineProperty(it, key, D){
  861. if(D && has(AllSymbols, key)){
  862. if(!D.enumerable){
  863. if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));
  864. it[HIDDEN][key] = true;
  865. } else {
  866. if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
  867. D = _create(D, {enumerable: createDesc(0, false)});
  868. } return setSymbolDesc(it, key, D);
  869. } return setDesc(it, key, D);
  870. };
  871. var $defineProperties = function defineProperties(it, P){
  872. anObject(it);
  873. var keys = enumKeys(P = toIObject(P))
  874. , i = 0
  875. , l = keys.length
  876. , key;
  877. while(l > i)$defineProperty(it, key = keys[i++], P[key]);
  878. return it;
  879. };
  880. var $create = function create(it, P){
  881. return P === undefined ? _create(it) : $defineProperties(_create(it), P);
  882. };
  883. var $propertyIsEnumerable = function propertyIsEnumerable(key){
  884. var E = isEnum.call(this, key);
  885. return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]
  886. ? E : true;
  887. };
  888. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
  889. var D = getDesc(it = toIObject(it), key);
  890. if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
  891. return D;
  892. };
  893. var $getOwnPropertyNames = function getOwnPropertyNames(it){
  894. var names = getNames(toIObject(it))
  895. , result = []
  896. , i = 0
  897. , key;
  898. while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);
  899. return result;
  900. };
  901. var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
  902. var names = getNames(toIObject(it))
  903. , result = []
  904. , i = 0
  905. , key;
  906. while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);
  907. return result;
  908. };
  909. var $stringify = function stringify(it){
  910. if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
  911. var args = [it]
  912. , i = 1
  913. , $$ = arguments
  914. , replacer, $replacer;
  915. while($$.length > i)args.push($$[i++]);
  916. replacer = args[1];
  917. if(typeof replacer == 'function')$replacer = replacer;
  918. if($replacer || !isArray(replacer))replacer = function(key, value){
  919. if($replacer)value = $replacer.call(this, key, value);
  920. if(!isSymbol(value))return value;
  921. };
  922. args[1] = replacer;
  923. return _stringify.apply($JSON, args);
  924. };
  925. var buggyJSON = $fails(function(){
  926. var S = $Symbol();
  927. // MS Edge converts symbol values to JSON as {}
  928. // WebKit converts symbol values to JSON as null
  929. // V8 throws on boxed symbols
  930. return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
  931. });
  932. // 19.4.1.1 Symbol([description])
  933. if(!useNative){
  934. $Symbol = function Symbol(){
  935. if(isSymbol(this))throw TypeError('Symbol is not a constructor');
  936. return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
  937. };
  938. redefine($Symbol.prototype, 'toString', function toString(){
  939. return this._k;
  940. });
  941. isSymbol = function(it){
  942. return it instanceof $Symbol;
  943. };
  944. $.create = $create;
  945. $.isEnum = $propertyIsEnumerable;
  946. $.getDesc = $getOwnPropertyDescriptor;
  947. $.setDesc = $defineProperty;
  948. $.setDescs = $defineProperties;
  949. $.getNames = $names.get = $getOwnPropertyNames;
  950. $.getSymbols = $getOwnPropertySymbols;
  951. if(DESCRIPTORS && !__webpack_require__(39)){
  952. redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
  953. }
  954. }
  955. var symbolStatics = {
  956. // 19.4.2.1 Symbol.for(key)
  957. 'for': function(key){
  958. return has(SymbolRegistry, key += '')
  959. ? SymbolRegistry[key]
  960. : SymbolRegistry[key] = $Symbol(key);
  961. },
  962. // 19.4.2.5 Symbol.keyFor(sym)
  963. keyFor: function keyFor(key){
  964. return keyOf(SymbolRegistry, key);
  965. },
  966. useSetter: function(){ setter = true; },
  967. useSimple: function(){ setter = false; }
  968. };
  969. // 19.4.2.2 Symbol.hasInstance
  970. // 19.4.2.3 Symbol.isConcatSpreadable
  971. // 19.4.2.4 Symbol.iterator
  972. // 19.4.2.6 Symbol.match
  973. // 19.4.2.8 Symbol.replace
  974. // 19.4.2.9 Symbol.search
  975. // 19.4.2.10 Symbol.species
  976. // 19.4.2.11 Symbol.split
  977. // 19.4.2.12 Symbol.toPrimitive
  978. // 19.4.2.13 Symbol.toStringTag
  979. // 19.4.2.14 Symbol.unscopables
  980. $.each.call((
  981. 'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +
  982. 'species,split,toPrimitive,toStringTag,unscopables'
  983. ).split(','), function(it){
  984. var sym = wks(it);
  985. symbolStatics[it] = useNative ? sym : wrap(sym);
  986. });
  987. setter = true;
  988. $export($export.G + $export.W, {Symbol: $Symbol});
  989. $export($export.S, 'Symbol', symbolStatics);
  990. $export($export.S + $export.F * !useNative, 'Object', {
  991. // 19.1.2.2 Object.create(O [, Properties])
  992. create: $create,
  993. // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  994. defineProperty: $defineProperty,
  995. // 19.1.2.3 Object.defineProperties(O, Properties)
  996. defineProperties: $defineProperties,
  997. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  998. getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  999. // 19.1.2.7 Object.getOwnPropertyNames(O)
  1000. getOwnPropertyNames: $getOwnPropertyNames,
  1001. // 19.1.2.8 Object.getOwnPropertySymbols(O)
  1002. getOwnPropertySymbols: $getOwnPropertySymbols
  1003. });
  1004. // 24.3.2 JSON.stringify(value [, replacer [, space]])
  1005. $JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
  1006. // 19.4.3.5 Symbol.prototype[@@toStringTag]
  1007. setToStringTag($Symbol, 'Symbol');
  1008. // 20.2.1.9 Math[@@toStringTag]
  1009. setToStringTag(Math, 'Math', true);
  1010. // 24.3.3 JSON[@@toStringTag]
  1011. setToStringTag(global.JSON, 'JSON', true);
  1012. /***/ },
  1013. /* 33 */
  1014. /***/ function(module, exports, __webpack_require__) {
  1015. module.exports = __webpack_require__(34);
  1016. /***/ },
  1017. /* 34 */
  1018. /***/ function(module, exports, __webpack_require__) {
  1019. var $ = __webpack_require__(2)
  1020. , createDesc = __webpack_require__(10);
  1021. module.exports = __webpack_require__(8) ? function(object, key, value){
  1022. return $.setDesc(object, key, createDesc(1, value));
  1023. } : function(object, key, value){
  1024. object[key] = value;
  1025. return object;
  1026. };
  1027. /***/ },
  1028. /* 35 */
  1029. /***/ function(module, exports, __webpack_require__) {
  1030. var def = __webpack_require__(2).setDesc
  1031. , has = __webpack_require__(14)
  1032. , TAG = __webpack_require__(29)('toStringTag');
  1033. module.exports = function(it, tag, stat){
  1034. if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
  1035. };
  1036. /***/ },
  1037. /* 36 */
  1038. /***/ function(module, exports, __webpack_require__) {
  1039. var $ = __webpack_require__(2)
  1040. , toIObject = __webpack_require__(20);
  1041. module.exports = function(object, el){
  1042. var O = toIObject(object)
  1043. , keys = $.getKeys(O)
  1044. , length = keys.length
  1045. , index = 0
  1046. , key;
  1047. while(length > index)if(O[key = keys[index++]] === el)return key;
  1048. };
  1049. /***/ },
  1050. /* 37 */
  1051. /***/ function(module, exports, __webpack_require__) {
  1052. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  1053. var toIObject = __webpack_require__(20)
  1054. , getNames = __webpack_require__(2).getNames
  1055. , toString = {}.toString;
  1056. var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
  1057. ? Object.getOwnPropertyNames(window) : [];
  1058. var getWindowNames = function(it){
  1059. try {
  1060. return getNames(it);
  1061. } catch(e){
  1062. return windowNames.slice();
  1063. }
  1064. };
  1065. module.exports.get = function getOwnPropertyNames(it){
  1066. if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
  1067. return getNames(toIObject(it));
  1068. };
  1069. /***/ },
  1070. /* 38 */
  1071. /***/ function(module, exports, __webpack_require__) {
  1072. // all enumerable object keys, includes symbols
  1073. var $ = __webpack_require__(2);
  1074. module.exports = function(it){
  1075. var keys = $.getKeys(it)
  1076. , getSymbols = $.getSymbols;
  1077. if(getSymbols){
  1078. var symbols = getSymbols(it)
  1079. , isEnum = $.isEnum
  1080. , i = 0
  1081. , key;
  1082. while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);
  1083. }
  1084. return keys;
  1085. };
  1086. /***/ },
  1087. /* 39 */
  1088. /***/ function(module, exports) {
  1089. module.exports = true;
  1090. /***/ },
  1091. /* 40 */
  1092. /***/ function(module, exports, __webpack_require__) {
  1093. // 19.1.3.1 Object.assign(target, source)
  1094. var $export = __webpack_require__(3);
  1095. $export($export.S + $export.F, 'Object', {assign: __webpack_require__(41)});
  1096. /***/ },
  1097. /* 41 */
  1098. /***/ function(module, exports, __webpack_require__) {
  1099. // 19.1.2.1 Object.assign(target, source, ...)
  1100. var $ = __webpack_require__(2)
  1101. , toObject = __webpack_require__(18)
  1102. , IObject = __webpack_require__(21);
  1103. // should work with symbols and should have deterministic property order (V8 bug)
  1104. module.exports = __webpack_require__(9)(function(){
  1105. var a = Object.assign
  1106. , A = {}
  1107. , B = {}
  1108. , S = Symbol()
  1109. , K = 'abcdefghijklmnopqrst';
  1110. A[S] = 7;
  1111. K.split('').forEach(function(k){ B[k] = k; });
  1112. return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
  1113. }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
  1114. var T = toObject(target)
  1115. , $$ = arguments
  1116. , $$len = $$.length
  1117. , index = 1
  1118. , getKeys = $.getKeys
  1119. , getSymbols = $.getSymbols
  1120. , isEnum = $.isEnum;
  1121. while($$len > index){
  1122. var S = IObject($$[index++])
  1123. , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
  1124. , length = keys.length
  1125. , j = 0
  1126. , key;
  1127. while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
  1128. }
  1129. return T;
  1130. } : Object.assign;
  1131. /***/ },
  1132. /* 42 */
  1133. /***/ function(module, exports, __webpack_require__) {
  1134. // 19.1.3.10 Object.is(value1, value2)
  1135. var $export = __webpack_require__(3);
  1136. $export($export.S, 'Object', {is: __webpack_require__(43)});
  1137. /***/ },
  1138. /* 43 */
  1139. /***/ function(module, exports) {
  1140. // 7.2.9 SameValue(x, y)
  1141. module.exports = Object.is || function is(x, y){
  1142. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  1143. };
  1144. /***/ },
  1145. /* 44 */
  1146. /***/ function(module, exports, __webpack_require__) {
  1147. // 19.1.3.19 Object.setPrototypeOf(O, proto)
  1148. var $export = __webpack_require__(3);
  1149. $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(45).set});
  1150. /***/ },
  1151. /* 45 */
  1152. /***/ function(module, exports, __webpack_require__) {
  1153. // Works with __proto__ only. Old v8 can't work with null proto objects.
  1154. /* eslint-disable no-proto */
  1155. var getDesc = __webpack_require__(2).getDesc
  1156. , isObject = __webpack_require__(13)
  1157. , anObject = __webpack_require__(17);
  1158. var check = function(O, proto){
  1159. anObject(O);
  1160. if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
  1161. };
  1162. module.exports = {
  1163. set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
  1164. function(test, buggy, set){
  1165. try {
  1166. set = __webpack_require__(6)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
  1167. set(test, []);
  1168. buggy = !(test instanceof Array);
  1169. } catch(e){ buggy = true; }
  1170. return function setPrototypeOf(O, proto){
  1171. check(O, proto);
  1172. if(buggy)O.__proto__ = proto;
  1173. else set(O, proto);
  1174. return O;
  1175. };
  1176. }({}, false) : undefined),
  1177. check: check
  1178. };
  1179. /***/ },
  1180. /* 46 */
  1181. /***/ function(module, exports, __webpack_require__) {
  1182. // 19.1.2.5 Object.freeze(O)
  1183. var isObject = __webpack_require__(13);
  1184. __webpack_require__(47)('freeze', function($freeze){
  1185. return function freeze(it){
  1186. return $freeze && isObject(it) ? $freeze(it) : it;
  1187. };
  1188. });
  1189. /***/ },
  1190. /* 47 */
  1191. /***/ function(module, exports, __webpack_require__) {
  1192. // most Object methods by ES6 should accept primitives
  1193. var $export = __webpack_require__(3)
  1194. , core = __webpack_require__(5)
  1195. , fails = __webpack_require__(9);
  1196. module.exports = function(KEY, exec){
  1197. var fn = (core.Object || {})[KEY] || Object[KEY]
  1198. , exp = {};
  1199. exp[KEY] = exec(fn);
  1200. $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
  1201. };
  1202. /***/ },
  1203. /* 48 */
  1204. /***/ function(module, exports, __webpack_require__) {
  1205. // 19.1.2.17 Object.seal(O)
  1206. var isObject = __webpack_require__(13);
  1207. __webpack_require__(47)('seal', function($seal){
  1208. return function seal(it){
  1209. return $seal && isObject(it) ? $seal(it) : it;
  1210. };
  1211. });
  1212. /***/ },
  1213. /* 49 */
  1214. /***/ function(module, exports, __webpack_require__) {
  1215. // 19.1.2.15 Object.preventExtensions(O)
  1216. var isObject = __webpack_require__(13);
  1217. __webpack_require__(47)('preventExtensions', function($preventExtensions){
  1218. return function preventExtensions(it){
  1219. return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;
  1220. };
  1221. });
  1222. /***/ },
  1223. /* 50 */
  1224. /***/ function(module, exports, __webpack_require__) {
  1225. // 19.1.2.12 Object.isFrozen(O)
  1226. var isObject = __webpack_require__(13);
  1227. __webpack_require__(47)('isFrozen', function($isFrozen){
  1228. return function isFrozen(it){
  1229. return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
  1230. };
  1231. });
  1232. /***/ },
  1233. /* 51 */
  1234. /***/ function(module, exports, __webpack_require__) {
  1235. // 19.1.2.13 Object.isSealed(O)
  1236. var isObject = __webpack_require__(13);
  1237. __webpack_require__(47)('isSealed', function($isSealed){
  1238. return function isSealed(it){
  1239. return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
  1240. };
  1241. });
  1242. /***/ },
  1243. /* 52 */
  1244. /***/ function(module, exports, __webpack_require__) {
  1245. // 19.1.2.11 Object.isExtensible(O)
  1246. var isObject = __webpack_require__(13);
  1247. __webpack_require__(47)('isExtensible', function($isExtensible){
  1248. return function isExtensible(it){
  1249. return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
  1250. };
  1251. });
  1252. /***/ },
  1253. /* 53 */
  1254. /***/ function(module, exports, __webpack_require__) {
  1255. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  1256. var toIObject = __webpack_require__(20);
  1257. __webpack_require__(47)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
  1258. return function getOwnPropertyDescriptor(it, key){
  1259. return $getOwnPropertyDescriptor(toIObject(it), key);
  1260. };
  1261. });
  1262. /***/ },
  1263. /* 54 */
  1264. /***/ function(module, exports, __webpack_require__) {
  1265. // 19.1.2.9 Object.getPrototypeOf(O)
  1266. var toObject = __webpack_require__(18);
  1267. __webpack_require__(47)('getPrototypeOf', function($getPrototypeOf){
  1268. return function getPrototypeOf(it){
  1269. return $getPrototypeOf(toObject(it));
  1270. };
  1271. });
  1272. /***/ },
  1273. /* 55 */
  1274. /***/ function(module, exports, __webpack_require__) {
  1275. // 19.1.2.14 Object.keys(O)
  1276. var toObject = __webpack_require__(18);
  1277. __webpack_require__(47)('keys', function($keys){
  1278. return function keys(it){
  1279. return $keys(toObject(it));
  1280. };
  1281. });
  1282. /***/ },
  1283. /* 56 */
  1284. /***/ function(module, exports, __webpack_require__) {
  1285. // 19.1.2.7 Object.getOwnPropertyNames(O)
  1286. __webpack_require__(47)('getOwnPropertyNames', function(){
  1287. return __webpack_require__(37).get;
  1288. });
  1289. /***/ },
  1290. /* 57 */
  1291. /***/ function(module, exports, __webpack_require__) {
  1292. 'use strict';
  1293. var $ = __webpack_require__(2)
  1294. , isObject = __webpack_require__(13)
  1295. , HAS_INSTANCE = __webpack_require__(29)('hasInstance')
  1296. , FunctionProto = Function.prototype;
  1297. // 19.2.3.6 Function.prototype[@@hasInstance](V)
  1298. if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
  1299. if(typeof this != 'function' || !isObject(O))return false;
  1300. if(!isObject(this.prototype))return O instanceof this;
  1301. // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
  1302. while(O = $.getProto(O))if(this.prototype === O)return true;
  1303. return false;
  1304. }});
  1305. /***/ },
  1306. /* 58 */
  1307. /***/ function(module, exports, __webpack_require__) {
  1308. // 20.1.2.1 Number.EPSILON
  1309. var $export = __webpack_require__(3);
  1310. $export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
  1311. /***/ },
  1312. /* 59 */
  1313. /***/ function(module, exports, __webpack_require__) {
  1314. // 20.1.2.2 Number.isFinite(number)
  1315. var $export = __webpack_require__(3)
  1316. , _isFinite = __webpack_require__(4).isFinite;
  1317. $export($export.S, 'Number', {
  1318. isFinite: function isFinite(it){
  1319. return typeof it == 'number' && _isFinite(it);
  1320. }
  1321. });
  1322. /***/ },
  1323. /* 60 */
  1324. /***/ function(module, exports, __webpack_require__) {
  1325. // 20.1.2.3 Number.isInteger(number)
  1326. var $export = __webpack_require__(3);
  1327. $export($export.S, 'Number', {isInteger: __webpack_require__(61)});
  1328. /***/ },
  1329. /* 61 */
  1330. /***/ function(module, exports, __webpack_require__) {
  1331. // 20.1.2.3 Number.isInteger(number)
  1332. var isObject = __webpack_require__(13)
  1333. , floor = Math.floor;
  1334. module.exports = function isInteger(it){
  1335. return !isObject(it) && isFinite(it) && floor(it) === it;
  1336. };
  1337. /***/ },
  1338. /* 62 */
  1339. /***/ function(module, exports, __webpack_require__) {
  1340. // 20.1.2.4 Number.isNaN(number)
  1341. var $export = __webpack_require__(3);
  1342. $export($export.S, 'Number', {
  1343. isNaN: function isNaN(number){
  1344. return number != number;
  1345. }
  1346. });
  1347. /***/ },
  1348. /* 63 */
  1349. /***/ function(module, exports, __webpack_require__) {
  1350. // 20.1.2.5 Number.isSafeInteger(number)
  1351. var $export = __webpack_require__(3)
  1352. , isInteger = __webpack_require__(61)
  1353. , abs = Math.abs;
  1354. $export($export.S, 'Number', {
  1355. isSafeInteger: function isSafeInteger(number){
  1356. return isInteger(number) && abs(number) <= 0x1fffffffffffff;
  1357. }
  1358. });
  1359. /***/ },
  1360. /* 64 */
  1361. /***/ function(module, exports, __webpack_require__) {
  1362. // 20.1.2.6 Number.MAX_SAFE_INTEGER
  1363. var $export = __webpack_require__(3);
  1364. $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
  1365. /***/ },
  1366. /* 65 */
  1367. /***/ function(module, exports, __webpack_require__) {
  1368. // 20.1.2.10 Number.MIN_SAFE_INTEGER
  1369. var $export = __webpack_require__(3);
  1370. $export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
  1371. /***/ },
  1372. /* 66 */
  1373. /***/ function(module, exports, __webpack_require__) {
  1374. // 20.1.2.12 Number.parseFloat(string)
  1375. var $export = __webpack_require__(3);
  1376. $export($export.S, 'Number', {parseFloat: parseFloat});
  1377. /***/ },
  1378. /* 67 */
  1379. /***/ function(module, exports, __webpack_require__) {
  1380. // 20.1.2.13 Number.parseInt(string, radix)
  1381. var $export = __webpack_require__(3);
  1382. $export($export.S, 'Number', {parseInt: parseInt});
  1383. /***/ },
  1384. /* 68 */
  1385. /***/ function(module, exports, __webpack_require__) {
  1386. // 20.2.2.3 Math.acosh(x)
  1387. var $export = __webpack_require__(3)
  1388. , log1p = __webpack_require__(69)
  1389. , sqrt = Math.sqrt
  1390. , $acosh = Math.acosh;
  1391. // V8 bug https://code.google.com/p/v8/issues/detail?id=3509
  1392. $export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
  1393. acosh: function acosh(x){
  1394. return (x = +x) < 1 ? NaN : x > 94906265.62425156
  1395. ? Math.log(x) + Math.LN2
  1396. : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
  1397. }
  1398. });
  1399. /***/ },
  1400. /* 69 */
  1401. /***/ function(module, exports) {
  1402. // 20.2.2.20 Math.log1p(x)
  1403. module.exports = Math.log1p || function log1p(x){
  1404. return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
  1405. };
  1406. /***/ },
  1407. /* 70 */
  1408. /***/ function(module, exports, __webpack_require__) {
  1409. // 20.2.2.5 Math.asinh(x)
  1410. var $export = __webpack_require__(3);
  1411. function asinh(x){
  1412. return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
  1413. }
  1414. $export($export.S, 'Math', {asinh: asinh});
  1415. /***/ },
  1416. /* 71 */
  1417. /***/ function(module, exports, __webpack_require__) {
  1418. // 20.2.2.7 Math.atanh(x)
  1419. var $export = __webpack_require__(3);
  1420. $export($export.S, 'Math', {
  1421. atanh: function atanh(x){
  1422. return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
  1423. }
  1424. });
  1425. /***/ },
  1426. /* 72 */
  1427. /***/ function(module, exports, __webpack_require__) {
  1428. // 20.2.2.9 Math.cbrt(x)
  1429. var $export = __webpack_require__(3)
  1430. , sign = __webpack_require__(73);
  1431. $export($export.S, 'Math', {
  1432. cbrt: function cbrt(x){
  1433. return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
  1434. }
  1435. });
  1436. /***/ },
  1437. /* 73 */
  1438. /***/ function(module, exports) {
  1439. // 20.2.2.28 Math.sign(x)
  1440. module.exports = Math.sign || function sign(x){
  1441. return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
  1442. };
  1443. /***/ },
  1444. /* 74 */
  1445. /***/ function(module, exports, __webpack_require__) {
  1446. // 20.2.2.11 Math.clz32(x)
  1447. var $export = __webpack_require__(3);
  1448. $export($export.S, 'Math', {
  1449. clz32: function clz32(x){
  1450. return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
  1451. }
  1452. });
  1453. /***/ },
  1454. /* 75 */
  1455. /***/ function(module, exports, __webpack_require__) {
  1456. // 20.2.2.12 Math.cosh(x)
  1457. var $export = __webpack_require__(3)
  1458. , exp = Math.exp;
  1459. $export($export.S, 'Math', {
  1460. cosh: function cosh(x){
  1461. return (exp(x = +x) + exp(-x)) / 2;
  1462. }
  1463. });
  1464. /***/ },
  1465. /* 76 */
  1466. /***/ function(module, exports, __webpack_require__) {
  1467. // 20.2.2.14 Math.expm1(x)
  1468. var $export = __webpack_require__(3);
  1469. $export($export.S, 'Math', {expm1: __webpack_require__(77)});
  1470. /***/ },
  1471. /* 77 */
  1472. /***/ function(module, exports) {
  1473. // 20.2.2.14 Math.expm1(x)
  1474. module.exports = Math.expm1 || function expm1(x){
  1475. return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
  1476. };
  1477. /***/ },
  1478. /* 78 */
  1479. /***/ function(module, exports, __webpack_require__) {
  1480. // 20.2.2.16 Math.fround(x)
  1481. var $export = __webpack_require__(3)
  1482. , sign = __webpack_require__(73)
  1483. , pow = Math.pow
  1484. , EPSILON = pow(2, -52)
  1485. , EPSILON32 = pow(2, -23)
  1486. , MAX32 = pow(2, 127) * (2 - EPSILON32)
  1487. , MIN32 = pow(2, -126);
  1488. var roundTiesToEven = function(n){
  1489. return n + 1 / EPSILON - 1 / EPSILON;
  1490. };
  1491. $export($export.S, 'Math', {
  1492. fround: function fround(x){
  1493. var $abs = Math.abs(x)
  1494. , $sign = sign(x)
  1495. , a, result;
  1496. if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
  1497. a = (1 + EPSILON32 / EPSILON) * $abs;
  1498. result = a - (a - $abs);
  1499. if(result > MAX32 || result != result)return $sign * Infinity;
  1500. return $sign * result;
  1501. }
  1502. });
  1503. /***/ },
  1504. /* 79 */
  1505. /***/ function(module, exports, __webpack_require__) {
  1506. // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
  1507. var $export = __webpack_require__(3)
  1508. , abs = Math.abs;
  1509. $export($export.S, 'Math', {
  1510. hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
  1511. var sum = 0
  1512. , i = 0
  1513. , $$ = arguments
  1514. , $$len = $$.length
  1515. , larg = 0
  1516. , arg, div;
  1517. while(i < $$len){
  1518. arg = abs($$[i++]);
  1519. if(larg < arg){
  1520. div = larg / arg;
  1521. sum = sum * div * div + 1;
  1522. larg = arg;
  1523. } else if(arg > 0){
  1524. div = arg / larg;
  1525. sum += div * div;
  1526. } else sum += arg;
  1527. }
  1528. return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
  1529. }
  1530. });
  1531. /***/ },
  1532. /* 80 */
  1533. /***/ function(module, exports, __webpack_require__) {
  1534. // 20.2.2.18 Math.imul(x, y)
  1535. var $export = __webpack_require__(3)
  1536. , $imul = Math.imul;
  1537. // some WebKit versions fails with big numbers, some has wrong arity
  1538. $export($export.S + $export.F * __webpack_require__(9)(function(){
  1539. return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
  1540. }), 'Math', {
  1541. imul: function imul(x, y){
  1542. var UINT16 = 0xffff
  1543. , xn = +x
  1544. , yn = +y
  1545. , xl = UINT16 & xn
  1546. , yl = UINT16 & yn;
  1547. return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
  1548. }
  1549. });
  1550. /***/ },
  1551. /* 81 */
  1552. /***/ function(module, exports, __webpack_require__) {
  1553. // 20.2.2.21 Math.log10(x)
  1554. var $export = __webpack_require__(3);
  1555. $export($export.S, 'Math', {
  1556. log10: function log10(x){
  1557. return Math.log(x) / Math.LN10;
  1558. }
  1559. });
  1560. /***/ },
  1561. /* 82 */
  1562. /***/ function(module, exports, __webpack_require__) {
  1563. // 20.2.2.20 Math.log1p(x)
  1564. var $export = __webpack_require__(3);
  1565. $export($export.S, 'Math', {log1p: __webpack_require__(69)});
  1566. /***/ },
  1567. /* 83 */
  1568. /***/ function(module, exports, __webpack_require__) {
  1569. // 20.2.2.22 Math.log2(x)
  1570. var $export = __webpack_require__(3);
  1571. $export($export.S, 'Math', {
  1572. log2: function log2(x){
  1573. return Math.log(x) / Math.LN2;
  1574. }
  1575. });
  1576. /***/ },
  1577. /* 84 */
  1578. /***/ function(module, exports, __webpack_require__) {
  1579. // 20.2.2.28 Math.sign(x)
  1580. var $export = __webpack_require__(3);
  1581. $export($export.S, 'Math', {sign: __webpack_require__(73)});
  1582. /***/ },
  1583. /* 85 */
  1584. /***/ function(module, exports, __webpack_require__) {
  1585. // 20.2.2.30 Math.sinh(x)
  1586. var $export = __webpack_require__(3)
  1587. , expm1 = __webpack_require__(77)
  1588. , exp = Math.exp;
  1589. // V8 near Chromium 38 has a problem with very small numbers
  1590. $export($export.S + $export.F * __webpack_require__(9)(function(){
  1591. return !Math.sinh(-2e-17) != -2e-17;
  1592. }), 'Math', {
  1593. sinh: function sinh(x){
  1594. return Math.abs(x = +x) < 1
  1595. ? (expm1(x) - expm1(-x)) / 2
  1596. : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
  1597. }
  1598. });
  1599. /***/ },
  1600. /* 86 */
  1601. /***/ function(module, exports, __webpack_require__) {
  1602. // 20.2.2.33 Math.tanh(x)
  1603. var $export = __webpack_require__(3)
  1604. , expm1 = __webpack_require__(77)
  1605. , exp = Math.exp;
  1606. $export($export.S, 'Math', {
  1607. tanh: function tanh(x){
  1608. var a = expm1(x = +x)
  1609. , b = expm1(-x);
  1610. return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
  1611. }
  1612. });
  1613. /***/ },
  1614. /* 87 */
  1615. /***/ function(module, exports, __webpack_require__) {
  1616. // 20.2.2.34 Math.trunc(x)
  1617. var $export = __webpack_require__(3);
  1618. $export($export.S, 'Math', {
  1619. trunc: function trunc(it){
  1620. return (it > 0 ? Math.floor : Math.ceil)(it);
  1621. }
  1622. });
  1623. /***/ },
  1624. /* 88 */
  1625. /***/ function(module, exports, __webpack_require__) {
  1626. var $export = __webpack_require__(3)
  1627. , toIndex = __webpack_require__(23)
  1628. , fromCharCode = String.fromCharCode
  1629. , $fromCodePoint = String.fromCodePoint;
  1630. // length should be 1, old FF problem
  1631. $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
  1632. // 21.1.2.2 String.fromCodePoint(...codePoints)
  1633. fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
  1634. var res = []
  1635. , $$ = arguments
  1636. , $$len = $$.length
  1637. , i = 0
  1638. , code;
  1639. while($$len > i){
  1640. code = +$$[i++];
  1641. if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
  1642. res.push(code < 0x10000
  1643. ? fromCharCode(code)
  1644. : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
  1645. );
  1646. } return res.join('');
  1647. }
  1648. });
  1649. /***/ },
  1650. /* 89 */
  1651. /***/ function(module, exports, __webpack_require__) {
  1652. var $export = __webpack_require__(3)
  1653. , toIObject = __webpack_require__(20)
  1654. , toLength = __webpack_require__(24);
  1655. $export($export.S, 'String', {
  1656. // 21.1.2.4 String.raw(callSite, ...substitutions)
  1657. raw: function raw(callSite){
  1658. var tpl = toIObject(callSite.raw)
  1659. , len = toLength(tpl.length)
  1660. , $$ = arguments
  1661. , $$len = $$.length
  1662. , res = []
  1663. , i = 0;
  1664. while(len > i){
  1665. res.push(String(tpl[i++]));
  1666. if(i < $$len)res.push(String($$[i]));
  1667. } return res.join('');
  1668. }
  1669. });
  1670. /***/ },
  1671. /* 90 */
  1672. /***/ function(module, exports, __webpack_require__) {
  1673. 'use strict';
  1674. // 21.1.3.25 String.prototype.trim()
  1675. __webpack_require__(91)('trim', function($trim){
  1676. return function trim(){
  1677. return $trim(this, 3);
  1678. };
  1679. });
  1680. /***/ },
  1681. /* 91 */
  1682. /***/ function(module, exports, __webpack_require__) {
  1683. var $export = __webpack_require__(3)
  1684. , defined = __webpack_require__(19)
  1685. , fails = __webpack_require__(9)
  1686. , spaces = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
  1687. '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'
  1688. , space = '[' + spaces + ']'
  1689. , non = '\u200b\u0085'
  1690. , ltrim = RegExp('^' + space + space + '*')
  1691. , rtrim = RegExp(space + space + '*$');
  1692. var exporter = function(KEY, exec){
  1693. var exp = {};
  1694. exp[KEY] = exec(trim);
  1695. $export($export.P + $export.F * fails(function(){
  1696. return !!spaces[KEY]() || non[KEY]() != non;
  1697. }), 'String', exp);
  1698. };
  1699. // 1 -> String#trimLeft
  1700. // 2 -> String#trimRight
  1701. // 3 -> String#trim
  1702. var trim = exporter.trim = function(string, TYPE){
  1703. string = String(defined(string));
  1704. if(TYPE & 1)string = string.replace(ltrim, '');
  1705. if(TYPE & 2)string = string.replace(rtrim, '');
  1706. return string;
  1707. };
  1708. module.exports = exporter;
  1709. /***/ },
  1710. /* 92 */
  1711. /***/ function(module, exports, __webpack_require__) {
  1712. 'use strict';
  1713. var $export = __webpack_require__(3)
  1714. , $at = __webpack_require__(93)(false);
  1715. $export($export.P, 'String', {
  1716. // 21.1.3.3 String.prototype.codePointAt(pos)
  1717. codePointAt: function codePointAt(pos){
  1718. return $at(this, pos);
  1719. }
  1720. });
  1721. /***/ },
  1722. /* 93 */
  1723. /***/ function(module, exports, __webpack_require__) {
  1724. var toInteger = __webpack_require__(22)
  1725. , defined = __webpack_require__(19);
  1726. // true -> String#at
  1727. // false -> String#codePointAt
  1728. module.exports = function(TO_STRING){
  1729. return function(that, pos){
  1730. var s = String(defined(that))
  1731. , i = toInteger(pos)
  1732. , l = s.length
  1733. , a, b;
  1734. if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
  1735. a = s.charCodeAt(i);
  1736. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  1737. ? TO_STRING ? s.charAt(i) : a
  1738. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  1739. };
  1740. };
  1741. /***/ },
  1742. /* 94 */
  1743. /***/ function(module, exports, __webpack_require__) {
  1744. // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
  1745. 'use strict';
  1746. var $export = __webpack_require__(3)
  1747. , toLength = __webpack_require__(24)
  1748. , context = __webpack_require__(95)
  1749. , ENDS_WITH = 'endsWith'
  1750. , $endsWith = ''[ENDS_WITH];
  1751. $export($export.P + $export.F * __webpack_require__(97)(ENDS_WITH), 'String', {
  1752. endsWith: function endsWith(searchString /*, endPosition = @length */){
  1753. var that = context(this, searchString, ENDS_WITH)
  1754. , $$ = arguments
  1755. , endPosition = $$.length > 1 ? $$[1] : undefined
  1756. , len = toLength(that.length)
  1757. , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
  1758. , search = String(searchString);
  1759. return $endsWith
  1760. ? $endsWith.call(that, search, end)
  1761. : that.slice(end - search.length, end) === search;
  1762. }
  1763. });
  1764. /***/ },
  1765. /* 95 */
  1766. /***/ function(module, exports, __webpack_require__) {
  1767. // helper for String#{startsWith, endsWith, includes}
  1768. var isRegExp = __webpack_require__(96)
  1769. , defined = __webpack_require__(19);
  1770. module.exports = function(that, searchString, NAME){
  1771. if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
  1772. return String(defined(that));
  1773. };
  1774. /***/ },
  1775. /* 96 */
  1776. /***/ function(module, exports, __webpack_require__) {
  1777. // 7.2.8 IsRegExp(argument)
  1778. var isObject = __webpack_require__(13)
  1779. , cof = __webpack_require__(15)
  1780. , MATCH = __webpack_require__(29)('match');
  1781. module.exports = function(it){
  1782. var isRegExp;
  1783. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
  1784. };
  1785. /***/ },
  1786. /* 97 */
  1787. /***/ function(module, exports, __webpack_require__) {
  1788. var MATCH = __webpack_require__(29)('match');
  1789. module.exports = function(KEY){
  1790. var re = /./;
  1791. try {
  1792. '/./'[KEY](re);
  1793. } catch(e){
  1794. try {
  1795. re[MATCH] = false;
  1796. return !'/./'[KEY](re);
  1797. } catch(f){ /* empty */ }
  1798. } return true;
  1799. };
  1800. /***/ },
  1801. /* 98 */
  1802. /***/ function(module, exports, __webpack_require__) {
  1803. // 21.1.3.7 String.prototype.includes(searchString, position = 0)
  1804. 'use strict';
  1805. var $export = __webpack_require__(3)
  1806. , context = __webpack_require__(95)
  1807. , INCLUDES = 'includes';
  1808. $export($export.P + $export.F * __webpack_require__(97)(INCLUDES), 'String', {
  1809. includes: function includes(searchString /*, position = 0 */){
  1810. return !!~context(this, searchString, INCLUDES)
  1811. .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
  1812. }
  1813. });
  1814. /***/ },
  1815. /* 99 */
  1816. /***/ function(module, exports, __webpack_require__) {
  1817. var $export = __webpack_require__(3);
  1818. $export($export.P, 'String', {
  1819. // 21.1.3.13 String.prototype.repeat(count)
  1820. repeat: __webpack_require__(100)
  1821. });
  1822. /***/ },
  1823. /* 100 */
  1824. /***/ function(module, exports, __webpack_require__) {
  1825. 'use strict';
  1826. var toInteger = __webpack_require__(22)
  1827. , defined = __webpack_require__(19);
  1828. module.exports = function repeat(count){
  1829. var str = String(defined(this))
  1830. , res = ''
  1831. , n = toInteger(count);
  1832. if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
  1833. for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
  1834. return res;
  1835. };
  1836. /***/ },
  1837. /* 101 */
  1838. /***/ function(module, exports, __webpack_require__) {
  1839. // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
  1840. 'use strict';
  1841. var $export = __webpack_require__(3)
  1842. , toLength = __webpack_require__(24)
  1843. , context = __webpack_require__(95)
  1844. , STARTS_WITH = 'startsWith'
  1845. , $startsWith = ''[STARTS_WITH];
  1846. $export($export.P + $export.F * __webpack_require__(97)(STARTS_WITH), 'String', {
  1847. startsWith: function startsWith(searchString /*, position = 0 */){
  1848. var that = context(this, searchString, STARTS_WITH)
  1849. , $$ = arguments
  1850. , index = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))
  1851. , search = String(searchString);
  1852. return $startsWith
  1853. ? $startsWith.call(that, search, index)
  1854. : that.slice(index, index + search.length) === search;
  1855. }
  1856. });
  1857. /***/ },
  1858. /* 102 */
  1859. /***/ function(module, exports, __webpack_require__) {
  1860. 'use strict';
  1861. var $at = __webpack_require__(93)(true);
  1862. // 21.1.3.27 String.prototype[@@iterator]()
  1863. __webpack_require__(103)(String, 'String', function(iterated){
  1864. this._t = String(iterated); // target
  1865. this._i = 0; // next index
  1866. // 21.1.5.2.1 %StringIteratorPrototype%.next()
  1867. }, function(){
  1868. var O = this._t
  1869. , index = this._i
  1870. , point;
  1871. if(index >= O.length)return {value: undefined, done: true};
  1872. point = $at(O, index);
  1873. this._i += point.length;
  1874. return {value: point, done: false};
  1875. });
  1876. /***/ },
  1877. /* 103 */
  1878. /***/ function(module, exports, __webpack_require__) {
  1879. 'use strict';
  1880. var LIBRARY = __webpack_require__(39)
  1881. , $export = __webpack_require__(3)
  1882. , redefine = __webpack_require__(33)
  1883. , hide = __webpack_require__(34)
  1884. , has = __webpack_require__(14)
  1885. , Iterators = __webpack_require__(104)
  1886. , $iterCreate = __webpack_require__(105)
  1887. , setToStringTag = __webpack_require__(35)
  1888. , getProto = __webpack_require__(2).getProto
  1889. , ITERATOR = __webpack_require__(29)('iterator')
  1890. , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
  1891. , FF_ITERATOR = '@@iterator'
  1892. , KEYS = 'keys'
  1893. , VALUES = 'values';
  1894. var returnThis = function(){ return this; };
  1895. module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
  1896. $iterCreate(Constructor, NAME, next);
  1897. var getMethod = function(kind){
  1898. if(!BUGGY && kind in proto)return proto[kind];
  1899. switch(kind){
  1900. case KEYS: return function keys(){ return new Constructor(this, kind); };
  1901. case VALUES: return function values(){ return new Constructor(this, kind); };
  1902. } return function entries(){ return new Constructor(this, kind); };
  1903. };
  1904. var TAG = NAME + ' Iterator'
  1905. , DEF_VALUES = DEFAULT == VALUES
  1906. , VALUES_BUG = false
  1907. , proto = Base.prototype
  1908. , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
  1909. , $default = $native || getMethod(DEFAULT)
  1910. , methods, key;
  1911. // Fix native
  1912. if($native){
  1913. var IteratorPrototype = getProto($default.call(new Base));
  1914. // Set @@toStringTag to native iterators
  1915. setToStringTag(IteratorPrototype, TAG, true);
  1916. // FF fix
  1917. if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
  1918. // fix Array#{values, @@iterator}.name in V8 / FF
  1919. if(DEF_VALUES && $native.name !== VALUES){
  1920. VALUES_BUG = true;
  1921. $default = function values(){ return $native.call(this); };
  1922. }
  1923. }
  1924. // Define iterator
  1925. if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
  1926. hide(proto, ITERATOR, $default);
  1927. }
  1928. // Plug for library
  1929. Iterators[NAME] = $default;
  1930. Iterators[TAG] = returnThis;
  1931. if(DEFAULT){
  1932. methods = {
  1933. values: DEF_VALUES ? $default : getMethod(VALUES),
  1934. keys: IS_SET ? $default : getMethod(KEYS),
  1935. entries: !DEF_VALUES ? $default : getMethod('entries')
  1936. };
  1937. if(FORCED)for(key in methods){
  1938. if(!(key in proto))redefine(proto, key, methods[key]);
  1939. } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
  1940. }
  1941. return methods;
  1942. };
  1943. /***/ },
  1944. /* 104 */
  1945. /***/ function(module, exports) {
  1946. module.exports = {};
  1947. /***/ },
  1948. /* 105 */
  1949. /***/ function(module, exports, __webpack_require__) {
  1950. 'use strict';
  1951. var $ = __webpack_require__(2)
  1952. , descriptor = __webpack_require__(10)
  1953. , setToStringTag = __webpack_require__(35)
  1954. , IteratorPrototype = {};
  1955. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  1956. __webpack_require__(34)(IteratorPrototype, __webpack_require__(29)('iterator'), function(){ return this; });
  1957. module.exports = function(Constructor, NAME, next){
  1958. Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
  1959. setToStringTag(Constructor, NAME + ' Iterator');
  1960. };
  1961. /***/ },
  1962. /* 106 */
  1963. /***/ function(module, exports, __webpack_require__) {
  1964. 'use strict';
  1965. var ctx = __webpack_require__(6)
  1966. , $export = __webpack_require__(3)
  1967. , toObject = __webpack_require__(18)
  1968. , call = __webpack_require__(107)
  1969. , isArrayIter = __webpack_require__(108)
  1970. , toLength = __webpack_require__(24)
  1971. , getIterFn = __webpack_require__(109);
  1972. $export($export.S + $export.F * !__webpack_require__(111)(function(iter){ Array.from(iter); }), 'Array', {
  1973. // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
  1974. from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
  1975. var O = toObject(arrayLike)
  1976. , C = typeof this == 'function' ? this : Array
  1977. , $$ = arguments
  1978. , $$len = $$.length
  1979. , mapfn = $$len > 1 ? $$[1] : undefined
  1980. , mapping = mapfn !== undefined
  1981. , index = 0
  1982. , iterFn = getIterFn(O)
  1983. , length, result, step, iterator;
  1984. if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);
  1985. // if object isn't iterable or it's array with default iterator - use simple case
  1986. if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
  1987. for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
  1988. result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;
  1989. }
  1990. } else {
  1991. length = toLength(O.length);
  1992. for(result = new C(length); length > index; index++){
  1993. result[index] = mapping ? mapfn(O[index], index) : O[index];
  1994. }
  1995. }
  1996. result.length = index;
  1997. return result;
  1998. }
  1999. });
  2000. /***/ },
  2001. /* 107 */
  2002. /***/ function(module, exports, __webpack_require__) {
  2003. // call something on iterator step with safe closing on error
  2004. var anObject = __webpack_require__(17);
  2005. module.exports = function(iterator, fn, value, entries){
  2006. try {
  2007. return entries ? fn(anObject(value)[0], value[1]) : fn(value);
  2008. // 7.4.6 IteratorClose(iterator, completion)
  2009. } catch(e){
  2010. var ret = iterator['return'];
  2011. if(ret !== undefined)anObject(ret.call(iterator));
  2012. throw e;
  2013. }
  2014. };
  2015. /***/ },
  2016. /* 108 */
  2017. /***/ function(module, exports, __webpack_require__) {
  2018. // check on default Array iterator
  2019. var Iterators = __webpack_require__(104)
  2020. , ITERATOR = __webpack_require__(29)('iterator')
  2021. , ArrayProto = Array.prototype;
  2022. module.exports = function(it){
  2023. return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
  2024. };
  2025. /***/ },
  2026. /* 109 */
  2027. /***/ function(module, exports, __webpack_require__) {
  2028. var classof = __webpack_require__(110)
  2029. , ITERATOR = __webpack_require__(29)('iterator')
  2030. , Iterators = __webpack_require__(104);
  2031. module.exports = __webpack_require__(5).getIteratorMethod = function(it){
  2032. if(it != undefined)return it[ITERATOR]
  2033. || it['@@iterator']
  2034. || Iterators[classof(it)];
  2035. };
  2036. /***/ },
  2037. /* 110 */
  2038. /***/ function(module, exports, __webpack_require__) {
  2039. // getting tag from 19.1.3.6 Object.prototype.toString()
  2040. var cof = __webpack_require__(15)
  2041. , TAG = __webpack_require__(29)('toStringTag')
  2042. // ES3 wrong here
  2043. , ARG = cof(function(){ return arguments; }()) == 'Arguments';
  2044. module.exports = function(it){
  2045. var O, T, B;
  2046. return it === undefined ? 'Undefined' : it === null ? 'Null'
  2047. // @@toStringTag case
  2048. : typeof (T = (O = Object(it))[TAG]) == 'string' ? T
  2049. // builtinTag case
  2050. : ARG ? cof(O)
  2051. // ES3 arguments fallback
  2052. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  2053. };
  2054. /***/ },
  2055. /* 111 */
  2056. /***/ function(module, exports, __webpack_require__) {
  2057. var ITERATOR = __webpack_require__(29)('iterator')
  2058. , SAFE_CLOSING = false;
  2059. try {
  2060. var riter = [7][ITERATOR]();
  2061. riter['return'] = function(){ SAFE_CLOSING = true; };
  2062. Array.from(riter, function(){ throw 2; });
  2063. } catch(e){ /* empty */ }
  2064. module.exports = function(exec, skipClosing){
  2065. if(!skipClosing && !SAFE_CLOSING)return false;
  2066. var safe = false;
  2067. try {
  2068. var arr = [7]
  2069. , iter = arr[ITERATOR]();
  2070. iter.next = function(){ return {done: safe = true}; };
  2071. arr[ITERATOR] = function(){ return iter; };
  2072. exec(arr);
  2073. } catch(e){ /* empty */ }
  2074. return safe;
  2075. };
  2076. /***/ },
  2077. /* 112 */
  2078. /***/ function(module, exports, __webpack_require__) {
  2079. 'use strict';
  2080. var $export = __webpack_require__(3);
  2081. // WebKit Array.of isn't generic
  2082. $export($export.S + $export.F * __webpack_require__(9)(function(){
  2083. function F(){}
  2084. return !(Array.of.call(F) instanceof F);
  2085. }), 'Array', {
  2086. // 22.1.2.3 Array.of( ...items)
  2087. of: function of(/* ...args */){
  2088. var index = 0
  2089. , $$ = arguments
  2090. , $$len = $$.length
  2091. , result = new (typeof this == 'function' ? this : Array)($$len);
  2092. while($$len > index)result[index] = $$[index++];
  2093. result.length = $$len;
  2094. return result;
  2095. }
  2096. });
  2097. /***/ },
  2098. /* 113 */
  2099. /***/ function(module, exports, __webpack_require__) {
  2100. 'use strict';
  2101. var addToUnscopables = __webpack_require__(114)
  2102. , step = __webpack_require__(115)
  2103. , Iterators = __webpack_require__(104)
  2104. , toIObject = __webpack_require__(20);
  2105. // 22.1.3.4 Array.prototype.entries()
  2106. // 22.1.3.13 Array.prototype.keys()
  2107. // 22.1.3.29 Array.prototype.values()
  2108. // 22.1.3.30 Array.prototype[@@iterator]()
  2109. module.exports = __webpack_require__(103)(Array, 'Array', function(iterated, kind){
  2110. this._t = toIObject(iterated); // target
  2111. this._i = 0; // next index
  2112. this._k = kind; // kind
  2113. // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
  2114. }, function(){
  2115. var O = this._t
  2116. , kind = this._k
  2117. , index = this._i++;
  2118. if(!O || index >= O.length){
  2119. this._t = undefined;
  2120. return step(1);
  2121. }
  2122. if(kind == 'keys' )return step(0, index);
  2123. if(kind == 'values')return step(0, O[index]);
  2124. return step(0, [index, O[index]]);
  2125. }, 'values');
  2126. // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
  2127. Iterators.Arguments = Iterators.Array;
  2128. addToUnscopables('keys');
  2129. addToUnscopables('values');
  2130. addToUnscopables('entries');
  2131. /***/ },
  2132. /* 114 */
  2133. /***/ function(module, exports) {
  2134. module.exports = function(){ /* empty */ };
  2135. /***/ },
  2136. /* 115 */
  2137. /***/ function(module, exports) {
  2138. module.exports = function(done, value){
  2139. return {value: value, done: !!done};
  2140. };
  2141. /***/ },
  2142. /* 116 */
  2143. /***/ function(module, exports, __webpack_require__) {
  2144. __webpack_require__(117)('Array');
  2145. /***/ },
  2146. /* 117 */
  2147. /***/ function(module, exports, __webpack_require__) {
  2148. 'use strict';
  2149. var core = __webpack_require__(5)
  2150. , $ = __webpack_require__(2)
  2151. , DESCRIPTORS = __webpack_require__(8)
  2152. , SPECIES = __webpack_require__(29)('species');
  2153. module.exports = function(KEY){
  2154. var C = core[KEY];
  2155. if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
  2156. configurable: true,
  2157. get: function(){ return this; }
  2158. });
  2159. };
  2160. /***/ },
  2161. /* 118 */
  2162. /***/ function(module, exports, __webpack_require__) {
  2163. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  2164. var $export = __webpack_require__(3);
  2165. $export($export.P, 'Array', {copyWithin: __webpack_require__(119)});
  2166. __webpack_require__(114)('copyWithin');
  2167. /***/ },
  2168. /* 119 */
  2169. /***/ function(module, exports, __webpack_require__) {
  2170. // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
  2171. 'use strict';
  2172. var toObject = __webpack_require__(18)
  2173. , toIndex = __webpack_require__(23)
  2174. , toLength = __webpack_require__(24);
  2175. module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
  2176. var O = toObject(this)
  2177. , len = toLength(O.length)
  2178. , to = toIndex(target, len)
  2179. , from = toIndex(start, len)
  2180. , $$ = arguments
  2181. , end = $$.length > 2 ? $$[2] : undefined
  2182. , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
  2183. , inc = 1;
  2184. if(from < to && to < from + count){
  2185. inc = -1;
  2186. from += count - 1;
  2187. to += count - 1;
  2188. }
  2189. while(count-- > 0){
  2190. if(from in O)O[to] = O[from];
  2191. else delete O[to];
  2192. to += inc;
  2193. from += inc;
  2194. } return O;
  2195. };
  2196. /***/ },
  2197. /* 120 */
  2198. /***/ function(module, exports, __webpack_require__) {
  2199. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  2200. var $export = __webpack_require__(3);
  2201. $export($export.P, 'Array', {fill: __webpack_require__(121)});
  2202. __webpack_require__(114)('fill');
  2203. /***/ },
  2204. /* 121 */
  2205. /***/ function(module, exports, __webpack_require__) {
  2206. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  2207. 'use strict';
  2208. var toObject = __webpack_require__(18)
  2209. , toIndex = __webpack_require__(23)
  2210. , toLength = __webpack_require__(24);
  2211. module.exports = [].fill || function fill(value /*, start = 0, end = @length */){
  2212. var O = toObject(this)
  2213. , length = toLength(O.length)
  2214. , $$ = arguments
  2215. , $$len = $$.length
  2216. , index = toIndex($$len > 1 ? $$[1] : undefined, length)
  2217. , end = $$len > 2 ? $$[2] : undefined
  2218. , endPos = end === undefined ? length : toIndex(end, length);
  2219. while(endPos > index)O[index++] = value;
  2220. return O;
  2221. };
  2222. /***/ },
  2223. /* 122 */
  2224. /***/ function(module, exports, __webpack_require__) {
  2225. 'use strict';
  2226. // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
  2227. var $export = __webpack_require__(3)
  2228. , $find = __webpack_require__(26)(5)
  2229. , KEY = 'find'
  2230. , forced = true;
  2231. // Shouldn't skip holes
  2232. if(KEY in [])Array(1)[KEY](function(){ forced = false; });
  2233. $export($export.P + $export.F * forced, 'Array', {
  2234. find: function find(callbackfn/*, that = undefined */){
  2235. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2236. }
  2237. });
  2238. __webpack_require__(114)(KEY);
  2239. /***/ },
  2240. /* 123 */
  2241. /***/ function(module, exports, __webpack_require__) {
  2242. 'use strict';
  2243. // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
  2244. var $export = __webpack_require__(3)
  2245. , $find = __webpack_require__(26)(6)
  2246. , KEY = 'findIndex'
  2247. , forced = true;
  2248. // Shouldn't skip holes
  2249. if(KEY in [])Array(1)[KEY](function(){ forced = false; });
  2250. $export($export.P + $export.F * forced, 'Array', {
  2251. findIndex: function findIndex(callbackfn/*, that = undefined */){
  2252. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2253. }
  2254. });
  2255. __webpack_require__(114)(KEY);
  2256. /***/ },
  2257. /* 124 */
  2258. /***/ function(module, exports, __webpack_require__) {
  2259. 'use strict';
  2260. var $ = __webpack_require__(2)
  2261. , LIBRARY = __webpack_require__(39)
  2262. , global = __webpack_require__(4)
  2263. , ctx = __webpack_require__(6)
  2264. , classof = __webpack_require__(110)
  2265. , $export = __webpack_require__(3)
  2266. , isObject = __webpack_require__(13)
  2267. , anObject = __webpack_require__(17)
  2268. , aFunction = __webpack_require__(7)
  2269. , strictNew = __webpack_require__(125)
  2270. , forOf = __webpack_require__(126)
  2271. , setProto = __webpack_require__(45).set
  2272. , same = __webpack_require__(43)
  2273. , SPECIES = __webpack_require__(29)('species')
  2274. , speciesConstructor = __webpack_require__(127)
  2275. , asap = __webpack_require__(128)
  2276. , PROMISE = 'Promise'
  2277. , process = global.process
  2278. , isNode = classof(process) == 'process'
  2279. , P = global[PROMISE]
  2280. , empty = function(){ /* empty */ }
  2281. , Wrapper;
  2282. var testResolve = function(sub){
  2283. var test = new P(empty), promise;
  2284. if(sub)test.constructor = function(exec){
  2285. exec(empty, empty);
  2286. };
  2287. (promise = P.resolve(test))['catch'](empty);
  2288. return promise === test;
  2289. };
  2290. var USE_NATIVE = function(){
  2291. var works = false;
  2292. function P2(x){
  2293. var self = new P(x);
  2294. setProto(self, P2.prototype);
  2295. return self;
  2296. }
  2297. try {
  2298. works = P && P.resolve && testResolve();
  2299. setProto(P2, P);
  2300. P2.prototype = $.create(P.prototype, {constructor: {value: P2}});
  2301. // actual Firefox has broken subclass support, test that
  2302. if(!(P2.resolve(5).then(function(){}) instanceof P2)){
  2303. works = false;
  2304. }
  2305. // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
  2306. if(works && __webpack_require__(8)){
  2307. var thenableThenGotten = false;
  2308. P.resolve($.setDesc({}, 'then', {
  2309. get: function(){ thenableThenGotten = true; }
  2310. }));
  2311. works = thenableThenGotten;
  2312. }
  2313. } catch(e){ works = false; }
  2314. return works;
  2315. }();
  2316. // helpers
  2317. var sameConstructor = function(a, b){
  2318. // library wrapper special case
  2319. if(LIBRARY && a === P && b === Wrapper)return true;
  2320. return same(a, b);
  2321. };
  2322. var getConstructor = function(C){
  2323. var S = anObject(C)[SPECIES];
  2324. return S != undefined ? S : C;
  2325. };
  2326. var isThenable = function(it){
  2327. var then;
  2328. return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
  2329. };
  2330. var PromiseCapability = function(C){
  2331. var resolve, reject;
  2332. this.promise = new C(function($$resolve, $$reject){
  2333. if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
  2334. resolve = $$resolve;
  2335. reject = $$reject;
  2336. });
  2337. this.resolve = aFunction(resolve),
  2338. this.reject = aFunction(reject)
  2339. };
  2340. var perform = function(exec){
  2341. try {
  2342. exec();
  2343. } catch(e){
  2344. return {error: e};
  2345. }
  2346. };
  2347. var notify = function(record, isReject){
  2348. if(record.n)return;
  2349. record.n = true;
  2350. var chain = record.c;
  2351. asap(function(){
  2352. var value = record.v
  2353. , ok = record.s == 1
  2354. , i = 0;
  2355. var run = function(reaction){
  2356. var handler = ok ? reaction.ok : reaction.fail
  2357. , resolve = reaction.resolve
  2358. , reject = reaction.reject
  2359. , result, then;
  2360. try {
  2361. if(handler){
  2362. if(!ok)record.h = true;
  2363. result = handler === true ? value : handler(value);
  2364. if(result === reaction.promise){
  2365. reject(TypeError('Promise-chain cycle'));
  2366. } else if(then = isThenable(result)){
  2367. then.call(result, resolve, reject);
  2368. } else resolve(result);
  2369. } else reject(value);
  2370. } catch(e){
  2371. reject(e);
  2372. }
  2373. };
  2374. while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
  2375. chain.length = 0;
  2376. record.n = false;
  2377. if(isReject)setTimeout(function(){
  2378. var promise = record.p
  2379. , handler, console;
  2380. if(isUnhandled(promise)){
  2381. if(isNode){
  2382. process.emit('unhandledRejection', value, promise);
  2383. } else if(handler = global.onunhandledrejection){
  2384. handler({promise: promise, reason: value});
  2385. } else if((console = global.console) && console.error){
  2386. console.error('Unhandled promise rejection', value);
  2387. }
  2388. } record.a = undefined;
  2389. }, 1);
  2390. });
  2391. };
  2392. var isUnhandled = function(promise){
  2393. var record = promise._d
  2394. , chain = record.a || record.c
  2395. , i = 0
  2396. , reaction;
  2397. if(record.h)return false;
  2398. while(chain.length > i){
  2399. reaction = chain[i++];
  2400. if(reaction.fail || !isUnhandled(reaction.promise))return false;
  2401. } return true;
  2402. };
  2403. var $reject = function(value){
  2404. var record = this;
  2405. if(record.d)return;
  2406. record.d = true;
  2407. record = record.r || record; // unwrap
  2408. record.v = value;
  2409. record.s = 2;
  2410. record.a = record.c.slice();
  2411. notify(record, true);
  2412. };
  2413. var $resolve = function(value){
  2414. var record = this
  2415. , then;
  2416. if(record.d)return;
  2417. record.d = true;
  2418. record = record.r || record; // unwrap
  2419. try {
  2420. if(record.p === value)throw TypeError("Promise can't be resolved itself");
  2421. if(then = isThenable(value)){
  2422. asap(function(){
  2423. var wrapper = {r: record, d: false}; // wrap
  2424. try {
  2425. then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
  2426. } catch(e){
  2427. $reject.call(wrapper, e);
  2428. }
  2429. });
  2430. } else {
  2431. record.v = value;
  2432. record.s = 1;
  2433. notify(record, false);
  2434. }
  2435. } catch(e){
  2436. $reject.call({r: record, d: false}, e); // wrap
  2437. }
  2438. };
  2439. // constructor polyfill
  2440. if(!USE_NATIVE){
  2441. // 25.4.3.1 Promise(executor)
  2442. P = function Promise(executor){
  2443. aFunction(executor);
  2444. var record = this._d = {
  2445. p: strictNew(this, P, PROMISE), // <- promise
  2446. c: [], // <- awaiting reactions
  2447. a: undefined, // <- checked in isUnhandled reactions
  2448. s: 0, // <- state
  2449. d: false, // <- done
  2450. v: undefined, // <- value
  2451. h: false, // <- handled rejection
  2452. n: false // <- notify
  2453. };
  2454. try {
  2455. executor(ctx($resolve, record, 1), ctx($reject, record, 1));
  2456. } catch(err){
  2457. $reject.call(record, err);
  2458. }
  2459. };
  2460. __webpack_require__(130)(P.prototype, {
  2461. // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
  2462. then: function then(onFulfilled, onRejected){
  2463. var reaction = new PromiseCapability(speciesConstructor(this, P))
  2464. , promise = reaction.promise
  2465. , record = this._d;
  2466. reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
  2467. reaction.fail = typeof onRejected == 'function' && onRejected;
  2468. record.c.push(reaction);
  2469. if(record.a)record.a.push(reaction);
  2470. if(record.s)notify(record, false);
  2471. return promise;
  2472. },
  2473. // 25.4.5.1 Promise.prototype.catch(onRejected)
  2474. 'catch': function(onRejected){
  2475. return this.then(undefined, onRejected);
  2476. }
  2477. });
  2478. }
  2479. $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
  2480. __webpack_require__(35)(P, PROMISE);
  2481. __webpack_require__(117)(PROMISE);
  2482. Wrapper = __webpack_require__(5)[PROMISE];
  2483. // statics
  2484. $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
  2485. // 25.4.4.5 Promise.reject(r)
  2486. reject: function reject(r){
  2487. var capability = new PromiseCapability(this)
  2488. , $$reject = capability.reject;
  2489. $$reject(r);
  2490. return capability.promise;
  2491. }
  2492. });
  2493. $export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
  2494. // 25.4.4.6 Promise.resolve(x)
  2495. resolve: function resolve(x){
  2496. // instanceof instead of internal slot check because we should fix it without replacement native Promise core
  2497. if(x instanceof P && sameConstructor(x.constructor, this))return x;
  2498. var capability = new PromiseCapability(this)
  2499. , $$resolve = capability.resolve;
  2500. $$resolve(x);
  2501. return capability.promise;
  2502. }
  2503. });
  2504. $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(111)(function(iter){
  2505. P.all(iter)['catch'](function(){});
  2506. })), PROMISE, {
  2507. // 25.4.4.1 Promise.all(iterable)
  2508. all: function all(iterable){
  2509. var C = getConstructor(this)
  2510. , capability = new PromiseCapability(C)
  2511. , resolve = capability.resolve
  2512. , reject = capability.reject
  2513. , values = [];
  2514. var abrupt = perform(function(){
  2515. forOf(iterable, false, values.push, values);
  2516. var remaining = values.length
  2517. , results = Array(remaining);
  2518. if(remaining)$.each.call(values, function(promise, index){
  2519. var alreadyCalled = false;
  2520. C.resolve(promise).then(function(value){
  2521. if(alreadyCalled)return;
  2522. alreadyCalled = true;
  2523. results[index] = value;
  2524. --remaining || resolve(results);
  2525. }, reject);
  2526. });
  2527. else resolve(results);
  2528. });
  2529. if(abrupt)reject(abrupt.error);
  2530. return capability.promise;
  2531. },
  2532. // 25.4.4.4 Promise.race(iterable)
  2533. race: function race(iterable){
  2534. var C = getConstructor(this)
  2535. , capability = new PromiseCapability(C)
  2536. , reject = capability.reject;
  2537. var abrupt = perform(function(){
  2538. forOf(iterable, false, function(promise){
  2539. C.resolve(promise).then(capability.resolve, reject);
  2540. });
  2541. });
  2542. if(abrupt)reject(abrupt.error);
  2543. return capability.promise;
  2544. }
  2545. });
  2546. /***/ },
  2547. /* 125 */
  2548. /***/ function(module, exports) {
  2549. module.exports = function(it, Constructor, name){
  2550. if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
  2551. return it;
  2552. };
  2553. /***/ },
  2554. /* 126 */
  2555. /***/ function(module, exports, __webpack_require__) {
  2556. var ctx = __webpack_require__(6)
  2557. , call = __webpack_require__(107)
  2558. , isArrayIter = __webpack_require__(108)
  2559. , anObject = __webpack_require__(17)
  2560. , toLength = __webpack_require__(24)
  2561. , getIterFn = __webpack_require__(109);
  2562. module.exports = function(iterable, entries, fn, that){
  2563. var iterFn = getIterFn(iterable)
  2564. , f = ctx(fn, that, entries ? 2 : 1)
  2565. , index = 0
  2566. , length, step, iterator;
  2567. if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
  2568. // fast case for arrays with default iterator
  2569. if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
  2570. entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
  2571. } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
  2572. call(iterator, f, step.value, entries);
  2573. }
  2574. };
  2575. /***/ },
  2576. /* 127 */
  2577. /***/ function(module, exports, __webpack_require__) {
  2578. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  2579. var anObject = __webpack_require__(17)
  2580. , aFunction = __webpack_require__(7)
  2581. , SPECIES = __webpack_require__(29)('species');
  2582. module.exports = function(O, D){
  2583. var C = anObject(O).constructor, S;
  2584. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  2585. };
  2586. /***/ },
  2587. /* 128 */
  2588. /***/ function(module, exports, __webpack_require__) {
  2589. var global = __webpack_require__(4)
  2590. , macrotask = __webpack_require__(129).set
  2591. , Observer = global.MutationObserver || global.WebKitMutationObserver
  2592. , process = global.process
  2593. , Promise = global.Promise
  2594. , isNode = __webpack_require__(15)(process) == 'process'
  2595. , head, last, notify;
  2596. var flush = function(){
  2597. var parent, domain, fn;
  2598. if(isNode && (parent = process.domain)){
  2599. process.domain = null;
  2600. parent.exit();
  2601. }
  2602. while(head){
  2603. domain = head.domain;
  2604. fn = head.fn;
  2605. if(domain)domain.enter();
  2606. fn(); // <- currently we use it only for Promise - try / catch not required
  2607. if(domain)domain.exit();
  2608. head = head.next;
  2609. } last = undefined;
  2610. if(parent)parent.enter();
  2611. };
  2612. // Node.js
  2613. if(isNode){
  2614. notify = function(){
  2615. process.nextTick(flush);
  2616. };
  2617. // browsers with MutationObserver
  2618. } else if(Observer){
  2619. var toggle = 1
  2620. , node = document.createTextNode('');
  2621. new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
  2622. notify = function(){
  2623. node.data = toggle = -toggle;
  2624. };
  2625. // environments with maybe non-completely correct, but existent Promise
  2626. } else if(Promise && Promise.resolve){
  2627. notify = function(){
  2628. Promise.resolve().then(flush);
  2629. };
  2630. // for other environments - macrotask based on:
  2631. // - setImmediate
  2632. // - MessageChannel
  2633. // - window.postMessag
  2634. // - onreadystatechange
  2635. // - setTimeout
  2636. } else {
  2637. notify = function(){
  2638. // strange IE + webpack dev server bug - use .call(global)
  2639. macrotask.call(global, flush);
  2640. };
  2641. }
  2642. module.exports = function asap(fn){
  2643. var task = {fn: fn, next: undefined, domain: isNode && process.domain};
  2644. if(last)last.next = task;
  2645. if(!head){
  2646. head = task;
  2647. notify();
  2648. } last = task;
  2649. };
  2650. /***/ },
  2651. /* 129 */
  2652. /***/ function(module, exports, __webpack_require__) {
  2653. var ctx = __webpack_require__(6)
  2654. , invoke = __webpack_require__(16)
  2655. , html = __webpack_require__(11)
  2656. , cel = __webpack_require__(12)
  2657. , global = __webpack_require__(4)
  2658. , process = global.process
  2659. , setTask = global.setImmediate
  2660. , clearTask = global.clearImmediate
  2661. , MessageChannel = global.MessageChannel
  2662. , counter = 0
  2663. , queue = {}
  2664. , ONREADYSTATECHANGE = 'onreadystatechange'
  2665. , defer, channel, port;
  2666. var run = function(){
  2667. var id = +this;
  2668. if(queue.hasOwnProperty(id)){
  2669. var fn = queue[id];
  2670. delete queue[id];
  2671. fn();
  2672. }
  2673. };
  2674. var listner = function(event){
  2675. run.call(event.data);
  2676. };
  2677. // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
  2678. if(!setTask || !clearTask){
  2679. setTask = function setImmediate(fn){
  2680. var args = [], i = 1;
  2681. while(arguments.length > i)args.push(arguments[i++]);
  2682. queue[++counter] = function(){
  2683. invoke(typeof fn == 'function' ? fn : Function(fn), args);
  2684. };
  2685. defer(counter);
  2686. return counter;
  2687. };
  2688. clearTask = function clearImmediate(id){
  2689. delete queue[id];
  2690. };
  2691. // Node.js 0.8-
  2692. if(__webpack_require__(15)(process) == 'process'){
  2693. defer = function(id){
  2694. process.nextTick(ctx(run, id, 1));
  2695. };
  2696. // Browsers with MessageChannel, includes WebWorkers
  2697. } else if(MessageChannel){
  2698. channel = new MessageChannel;
  2699. port = channel.port2;
  2700. channel.port1.onmessage = listner;
  2701. defer = ctx(port.postMessage, port, 1);
  2702. // Browsers with postMessage, skip WebWorkers
  2703. // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
  2704. } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
  2705. defer = function(id){
  2706. global.postMessage(id + '', '*');
  2707. };
  2708. global.addEventListener('message', listner, false);
  2709. // IE8-
  2710. } else if(ONREADYSTATECHANGE in cel('script')){
  2711. defer = function(id){
  2712. html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
  2713. html.removeChild(this);
  2714. run.call(id);
  2715. };
  2716. };
  2717. // Rest old browsers
  2718. } else {
  2719. defer = function(id){
  2720. setTimeout(ctx(run, id, 1), 0);
  2721. };
  2722. }
  2723. }
  2724. module.exports = {
  2725. set: setTask,
  2726. clear: clearTask
  2727. };
  2728. /***/ },
  2729. /* 130 */
  2730. /***/ function(module, exports, __webpack_require__) {
  2731. var redefine = __webpack_require__(33);
  2732. module.exports = function(target, src){
  2733. for(var key in src)redefine(target, key, src[key]);
  2734. return target;
  2735. };
  2736. /***/ },
  2737. /* 131 */
  2738. /***/ function(module, exports, __webpack_require__) {
  2739. 'use strict';
  2740. var strong = __webpack_require__(132);
  2741. // 23.1 Map Objects
  2742. __webpack_require__(133)('Map', function(get){
  2743. return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  2744. }, {
  2745. // 23.1.3.6 Map.prototype.get(key)
  2746. get: function get(key){
  2747. var entry = strong.getEntry(this, key);
  2748. return entry && entry.v;
  2749. },
  2750. // 23.1.3.9 Map.prototype.set(key, value)
  2751. set: function set(key, value){
  2752. return strong.def(this, key === 0 ? 0 : key, value);
  2753. }
  2754. }, strong, true);
  2755. /***/ },
  2756. /* 132 */
  2757. /***/ function(module, exports, __webpack_require__) {
  2758. 'use strict';
  2759. var $ = __webpack_require__(2)
  2760. , hide = __webpack_require__(34)
  2761. , redefineAll = __webpack_require__(130)
  2762. , ctx = __webpack_require__(6)
  2763. , strictNew = __webpack_require__(125)
  2764. , defined = __webpack_require__(19)
  2765. , forOf = __webpack_require__(126)
  2766. , $iterDefine = __webpack_require__(103)
  2767. , step = __webpack_require__(115)
  2768. , ID = __webpack_require__(25)('id')
  2769. , $has = __webpack_require__(14)
  2770. , isObject = __webpack_require__(13)
  2771. , setSpecies = __webpack_require__(117)
  2772. , DESCRIPTORS = __webpack_require__(8)
  2773. , isExtensible = Object.isExtensible || isObject
  2774. , SIZE = DESCRIPTORS ? '_s' : 'size'
  2775. , id = 0;
  2776. var fastKey = function(it, create){
  2777. // return primitive with prefix
  2778. if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
  2779. if(!$has(it, ID)){
  2780. // can't set id to frozen object
  2781. if(!isExtensible(it))return 'F';
  2782. // not necessary to add id
  2783. if(!create)return 'E';
  2784. // add missing object id
  2785. hide(it, ID, ++id);
  2786. // return object id with prefix
  2787. } return 'O' + it[ID];
  2788. };
  2789. var getEntry = function(that, key){
  2790. // fast case
  2791. var index = fastKey(key), entry;
  2792. if(index !== 'F')return that._i[index];
  2793. // frozen object case
  2794. for(entry = that._f; entry; entry = entry.n){
  2795. if(entry.k == key)return entry;
  2796. }
  2797. };
  2798. module.exports = {
  2799. getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
  2800. var C = wrapper(function(that, iterable){
  2801. strictNew(that, C, NAME);
  2802. that._i = $.create(null); // index
  2803. that._f = undefined; // first entry
  2804. that._l = undefined; // last entry
  2805. that[SIZE] = 0; // size
  2806. if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
  2807. });
  2808. redefineAll(C.prototype, {
  2809. // 23.1.3.1 Map.prototype.clear()
  2810. // 23.2.3.2 Set.prototype.clear()
  2811. clear: function clear(){
  2812. for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){
  2813. entry.r = true;
  2814. if(entry.p)entry.p = entry.p.n = undefined;
  2815. delete data[entry.i];
  2816. }
  2817. that._f = that._l = undefined;
  2818. that[SIZE] = 0;
  2819. },
  2820. // 23.1.3.3 Map.prototype.delete(key)
  2821. // 23.2.3.4 Set.prototype.delete(value)
  2822. 'delete': function(key){
  2823. var that = this
  2824. , entry = getEntry(that, key);
  2825. if(entry){
  2826. var next = entry.n
  2827. , prev = entry.p;
  2828. delete that._i[entry.i];
  2829. entry.r = true;
  2830. if(prev)prev.n = next;
  2831. if(next)next.p = prev;
  2832. if(that._f == entry)that._f = next;
  2833. if(that._l == entry)that._l = prev;
  2834. that[SIZE]--;
  2835. } return !!entry;
  2836. },
  2837. // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
  2838. // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
  2839. forEach: function forEach(callbackfn /*, that = undefined */){
  2840. var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
  2841. , entry;
  2842. while(entry = entry ? entry.n : this._f){
  2843. f(entry.v, entry.k, this);
  2844. // revert to the last existing entry
  2845. while(entry && entry.r)entry = entry.p;
  2846. }
  2847. },
  2848. // 23.1.3.7 Map.prototype.has(key)
  2849. // 23.2.3.7 Set.prototype.has(value)
  2850. has: function has(key){
  2851. return !!getEntry(this, key);
  2852. }
  2853. });
  2854. if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {
  2855. get: function(){
  2856. return defined(this[SIZE]);
  2857. }
  2858. });
  2859. return C;
  2860. },
  2861. def: function(that, key, value){
  2862. var entry = getEntry(that, key)
  2863. , prev, index;
  2864. // change existing entry
  2865. if(entry){
  2866. entry.v = value;
  2867. // create new entry
  2868. } else {
  2869. that._l = entry = {
  2870. i: index = fastKey(key, true), // <- index
  2871. k: key, // <- key
  2872. v: value, // <- value
  2873. p: prev = that._l, // <- previous entry
  2874. n: undefined, // <- next entry
  2875. r: false // <- removed
  2876. };
  2877. if(!that._f)that._f = entry;
  2878. if(prev)prev.n = entry;
  2879. that[SIZE]++;
  2880. // add to index
  2881. if(index !== 'F')that._i[index] = entry;
  2882. } return that;
  2883. },
  2884. getEntry: getEntry,
  2885. setStrong: function(C, NAME, IS_MAP){
  2886. // add .keys, .values, .entries, [@@iterator]
  2887. // 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
  2888. $iterDefine(C, NAME, function(iterated, kind){
  2889. this._t = iterated; // target
  2890. this._k = kind; // kind
  2891. this._l = undefined; // previous
  2892. }, function(){
  2893. var that = this
  2894. , kind = that._k
  2895. , entry = that._l;
  2896. // revert to the last existing entry
  2897. while(entry && entry.r)entry = entry.p;
  2898. // get next entry
  2899. if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){
  2900. // or finish the iteration
  2901. that._t = undefined;
  2902. return step(1);
  2903. }
  2904. // return step by kind
  2905. if(kind == 'keys' )return step(0, entry.k);
  2906. if(kind == 'values')return step(0, entry.v);
  2907. return step(0, [entry.k, entry.v]);
  2908. }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
  2909. // add [@@species], 23.1.2.2, 23.2.2.2
  2910. setSpecies(NAME);
  2911. }
  2912. };
  2913. /***/ },
  2914. /* 133 */
  2915. /***/ function(module, exports, __webpack_require__) {
  2916. 'use strict';
  2917. var $ = __webpack_require__(2)
  2918. , global = __webpack_require__(4)
  2919. , $export = __webpack_require__(3)
  2920. , fails = __webpack_require__(9)
  2921. , hide = __webpack_require__(34)
  2922. , redefineAll = __webpack_require__(130)
  2923. , forOf = __webpack_require__(126)
  2924. , strictNew = __webpack_require__(125)
  2925. , isObject = __webpack_require__(13)
  2926. , setToStringTag = __webpack_require__(35)
  2927. , DESCRIPTORS = __webpack_require__(8);
  2928. module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
  2929. var Base = global[NAME]
  2930. , C = Base
  2931. , ADDER = IS_MAP ? 'set' : 'add'
  2932. , proto = C && C.prototype
  2933. , O = {};
  2934. if(!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
  2935. new C().entries().next();
  2936. }))){
  2937. // create collection constructor
  2938. C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
  2939. redefineAll(C.prototype, methods);
  2940. } else {
  2941. C = wrapper(function(target, iterable){
  2942. strictNew(target, C, NAME);
  2943. target._c = new Base;
  2944. if(iterable != undefined)forOf(iterable, IS_MAP, target[ADDER], target);
  2945. });
  2946. $.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','),function(KEY){
  2947. var IS_ADDER = KEY == 'add' || KEY == 'set';
  2948. if(KEY in proto && !(IS_WEAK && KEY == 'clear'))hide(C.prototype, KEY, function(a, b){
  2949. if(!IS_ADDER && IS_WEAK && !isObject(a))return KEY == 'get' ? undefined : false;
  2950. var result = this._c[KEY](a === 0 ? 0 : a, b);
  2951. return IS_ADDER ? this : result;
  2952. });
  2953. });
  2954. if('size' in proto)$.setDesc(C.prototype, 'size', {
  2955. get: function(){
  2956. return this._c.size;
  2957. }
  2958. });
  2959. }
  2960. setToStringTag(C, NAME);
  2961. O[NAME] = C;
  2962. $export($export.G + $export.W + $export.F, O);
  2963. if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
  2964. return C;
  2965. };
  2966. /***/ },
  2967. /* 134 */
  2968. /***/ function(module, exports, __webpack_require__) {
  2969. 'use strict';
  2970. var strong = __webpack_require__(132);
  2971. // 23.2 Set Objects
  2972. __webpack_require__(133)('Set', function(get){
  2973. return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  2974. }, {
  2975. // 23.2.3.1 Set.prototype.add(value)
  2976. add: function add(value){
  2977. return strong.def(this, value = value === 0 ? 0 : value, value);
  2978. }
  2979. }, strong);
  2980. /***/ },
  2981. /* 135 */
  2982. /***/ function(module, exports, __webpack_require__) {
  2983. 'use strict';
  2984. var $ = __webpack_require__(2)
  2985. , redefine = __webpack_require__(33)
  2986. , weak = __webpack_require__(136)
  2987. , isObject = __webpack_require__(13)
  2988. , has = __webpack_require__(14)
  2989. , frozenStore = weak.frozenStore
  2990. , WEAK = weak.WEAK
  2991. , isExtensible = Object.isExtensible || isObject
  2992. , tmp = {};
  2993. // 23.3 WeakMap Objects
  2994. var $WeakMap = __webpack_require__(133)('WeakMap', function(get){
  2995. return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  2996. }, {
  2997. // 23.3.3.3 WeakMap.prototype.get(key)
  2998. get: function get(key){
  2999. if(isObject(key)){
  3000. if(!isExtensible(key))return frozenStore(this).get(key);
  3001. if(has(key, WEAK))return key[WEAK][this._i];
  3002. }
  3003. },
  3004. // 23.3.3.5 WeakMap.prototype.set(key, value)
  3005. set: function set(key, value){
  3006. return weak.def(this, key, value);
  3007. }
  3008. }, weak, true, true);
  3009. // IE11 WeakMap frozen keys fix
  3010. if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
  3011. $.each.call(['delete', 'has', 'get', 'set'], function(key){
  3012. var proto = $WeakMap.prototype
  3013. , method = proto[key];
  3014. redefine(proto, key, function(a, b){
  3015. // store frozen objects on leaky map
  3016. if(isObject(a) && !isExtensible(a)){
  3017. var result = frozenStore(this)[key](a, b);
  3018. return key == 'set' ? this : result;
  3019. // store all the rest on native weakmap
  3020. } return method.call(this, a, b);
  3021. });
  3022. });
  3023. }
  3024. /***/ },
  3025. /* 136 */
  3026. /***/ function(module, exports, __webpack_require__) {
  3027. 'use strict';
  3028. var hide = __webpack_require__(34)
  3029. , redefineAll = __webpack_require__(130)
  3030. , anObject = __webpack_require__(17)
  3031. , isObject = __webpack_require__(13)
  3032. , strictNew = __webpack_require__(125)
  3033. , forOf = __webpack_require__(126)
  3034. , createArrayMethod = __webpack_require__(26)
  3035. , $has = __webpack_require__(14)
  3036. , WEAK = __webpack_require__(25)('weak')
  3037. , isExtensible = Object.isExtensible || isObject
  3038. , arrayFind = createArrayMethod(5)
  3039. , arrayFindIndex = createArrayMethod(6)
  3040. , id = 0;
  3041. // fallback for frozen keys
  3042. var frozenStore = function(that){
  3043. return that._l || (that._l = new FrozenStore);
  3044. };
  3045. var FrozenStore = function(){
  3046. this.a = [];
  3047. };
  3048. var findFrozen = function(store, key){
  3049. return arrayFind(store.a, function(it){
  3050. return it[0] === key;
  3051. });
  3052. };
  3053. FrozenStore.prototype = {
  3054. get: function(key){
  3055. var entry = findFrozen(this, key);
  3056. if(entry)return entry[1];
  3057. },
  3058. has: function(key){
  3059. return !!findFrozen(this, key);
  3060. },
  3061. set: function(key, value){
  3062. var entry = findFrozen(this, key);
  3063. if(entry)entry[1] = value;
  3064. else this.a.push([key, value]);
  3065. },
  3066. 'delete': function(key){
  3067. var index = arrayFindIndex(this.a, function(it){
  3068. return it[0] === key;
  3069. });
  3070. if(~index)this.a.splice(index, 1);
  3071. return !!~index;
  3072. }
  3073. };
  3074. module.exports = {
  3075. getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
  3076. var C = wrapper(function(that, iterable){
  3077. strictNew(that, C, NAME);
  3078. that._i = id++; // collection id
  3079. that._l = undefined; // leak store for frozen objects
  3080. if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
  3081. });
  3082. redefineAll(C.prototype, {
  3083. // 23.3.3.2 WeakMap.prototype.delete(key)
  3084. // 23.4.3.3 WeakSet.prototype.delete(value)
  3085. 'delete': function(key){
  3086. if(!isObject(key))return false;
  3087. if(!isExtensible(key))return frozenStore(this)['delete'](key);
  3088. return $has(key, WEAK) && $has(key[WEAK], this._i) && delete key[WEAK][this._i];
  3089. },
  3090. // 23.3.3.4 WeakMap.prototype.has(key)
  3091. // 23.4.3.4 WeakSet.prototype.has(value)
  3092. has: function has(key){
  3093. if(!isObject(key))return false;
  3094. if(!isExtensible(key))return frozenStore(this).has(key);
  3095. return $has(key, WEAK) && $has(key[WEAK], this._i);
  3096. }
  3097. });
  3098. return C;
  3099. },
  3100. def: function(that, key, value){
  3101. if(!isExtensible(anObject(key))){
  3102. frozenStore(that).set(key, value);
  3103. } else {
  3104. $has(key, WEAK) || hide(key, WEAK, {});
  3105. key[WEAK][that._i] = value;
  3106. } return that;
  3107. },
  3108. frozenStore: frozenStore,
  3109. WEAK: WEAK
  3110. };
  3111. /***/ },
  3112. /* 137 */
  3113. /***/ function(module, exports, __webpack_require__) {
  3114. 'use strict';
  3115. var weak = __webpack_require__(136);
  3116. // 23.4 WeakSet Objects
  3117. __webpack_require__(133)('WeakSet', function(get){
  3118. return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
  3119. }, {
  3120. // 23.4.3.1 WeakSet.prototype.add(value)
  3121. add: function add(value){
  3122. return weak.def(this, value, true);
  3123. }
  3124. }, weak, false, true);
  3125. /***/ },
  3126. /* 138 */
  3127. /***/ function(module, exports, __webpack_require__) {
  3128. // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
  3129. var $export = __webpack_require__(3)
  3130. , _apply = Function.apply
  3131. , anObject = __webpack_require__(17);
  3132. $export($export.S, 'Reflect', {
  3133. apply: function apply(target, thisArgument, argumentsList){
  3134. return _apply.call(target, thisArgument, anObject(argumentsList));
  3135. }
  3136. });
  3137. /***/ },
  3138. /* 139 */
  3139. /***/ function(module, exports, __webpack_require__) {
  3140. // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
  3141. var $ = __webpack_require__(2)
  3142. , $export = __webpack_require__(3)
  3143. , aFunction = __webpack_require__(7)
  3144. , anObject = __webpack_require__(17)
  3145. , isObject = __webpack_require__(13)
  3146. , bind = Function.bind || __webpack_require__(5).Function.prototype.bind;
  3147. // MS Edge supports only 2 arguments
  3148. // FF Nightly sets third argument as `new.target`, but does not create `this` from it
  3149. $export($export.S + $export.F * __webpack_require__(9)(function(){
  3150. function F(){}
  3151. return !(Reflect.construct(function(){}, [], F) instanceof F);
  3152. }), 'Reflect', {
  3153. construct: function construct(Target, args /*, newTarget*/){
  3154. aFunction(Target);
  3155. anObject(args);
  3156. var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
  3157. if(Target == newTarget){
  3158. // w/o altered newTarget, optimization for 0-4 arguments
  3159. switch(args.length){
  3160. case 0: return new Target;
  3161. case 1: return new Target(args[0]);
  3162. case 2: return new Target(args[0], args[1]);
  3163. case 3: return new Target(args[0], args[1], args[2]);
  3164. case 4: return new Target(args[0], args[1], args[2], args[3]);
  3165. }
  3166. // w/o altered newTarget, lot of arguments case
  3167. var $args = [null];
  3168. $args.push.apply($args, args);
  3169. return new (bind.apply(Target, $args));
  3170. }
  3171. // with altered newTarget, not support built-in constructors
  3172. var proto = newTarget.prototype
  3173. , instance = $.create(isObject(proto) ? proto : Object.prototype)
  3174. , result = Function.apply.call(Target, instance, args);
  3175. return isObject(result) ? result : instance;
  3176. }
  3177. });
  3178. /***/ },
  3179. /* 140 */
  3180. /***/ function(module, exports, __webpack_require__) {
  3181. // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
  3182. var $ = __webpack_require__(2)
  3183. , $export = __webpack_require__(3)
  3184. , anObject = __webpack_require__(17);
  3185. // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
  3186. $export($export.S + $export.F * __webpack_require__(9)(function(){
  3187. Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});
  3188. }), 'Reflect', {
  3189. defineProperty: function defineProperty(target, propertyKey, attributes){
  3190. anObject(target);
  3191. try {
  3192. $.setDesc(target, propertyKey, attributes);
  3193. return true;
  3194. } catch(e){
  3195. return false;
  3196. }
  3197. }
  3198. });
  3199. /***/ },
  3200. /* 141 */
  3201. /***/ function(module, exports, __webpack_require__) {
  3202. // 26.1.4 Reflect.deleteProperty(target, propertyKey)
  3203. var $export = __webpack_require__(3)
  3204. , getDesc = __webpack_require__(2).getDesc
  3205. , anObject = __webpack_require__(17);
  3206. $export($export.S, 'Reflect', {
  3207. deleteProperty: function deleteProperty(target, propertyKey){
  3208. var desc = getDesc(anObject(target), propertyKey);
  3209. return desc && !desc.configurable ? false : delete target[propertyKey];
  3210. }
  3211. });
  3212. /***/ },
  3213. /* 142 */
  3214. /***/ function(module, exports, __webpack_require__) {
  3215. 'use strict';
  3216. // 26.1.5 Reflect.enumerate(target)
  3217. var $export = __webpack_require__(3)
  3218. , anObject = __webpack_require__(17);
  3219. var Enumerate = function(iterated){
  3220. this._t = anObject(iterated); // target
  3221. this._i = 0; // next index
  3222. var keys = this._k = [] // keys
  3223. , key;
  3224. for(key in iterated)keys.push(key);
  3225. };
  3226. __webpack_require__(105)(Enumerate, 'Object', function(){
  3227. var that = this
  3228. , keys = that._k
  3229. , key;
  3230. do {
  3231. if(that._i >= keys.length)return {value: undefined, done: true};
  3232. } while(!((key = keys[that._i++]) in that._t));
  3233. return {value: key, done: false};
  3234. });
  3235. $export($export.S, 'Reflect', {
  3236. enumerate: function enumerate(target){
  3237. return new Enumerate(target);
  3238. }
  3239. });
  3240. /***/ },
  3241. /* 143 */
  3242. /***/ function(module, exports, __webpack_require__) {
  3243. // 26.1.6 Reflect.get(target, propertyKey [, receiver])
  3244. var $ = __webpack_require__(2)
  3245. , has = __webpack_require__(14)
  3246. , $export = __webpack_require__(3)
  3247. , isObject = __webpack_require__(13)
  3248. , anObject = __webpack_require__(17);
  3249. function get(target, propertyKey/*, receiver*/){
  3250. var receiver = arguments.length < 3 ? target : arguments[2]
  3251. , desc, proto;
  3252. if(anObject(target) === receiver)return target[propertyKey];
  3253. if(desc = $.getDesc(target, propertyKey))return has(desc, 'value')
  3254. ? desc.value
  3255. : desc.get !== undefined
  3256. ? desc.get.call(receiver)
  3257. : undefined;
  3258. if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);
  3259. }
  3260. $export($export.S, 'Reflect', {get: get});
  3261. /***/ },
  3262. /* 144 */
  3263. /***/ function(module, exports, __webpack_require__) {
  3264. // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
  3265. var $ = __webpack_require__(2)
  3266. , $export = __webpack_require__(3)
  3267. , anObject = __webpack_require__(17);
  3268. $export($export.S, 'Reflect', {
  3269. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
  3270. return $.getDesc(anObject(target), propertyKey);
  3271. }
  3272. });
  3273. /***/ },
  3274. /* 145 */
  3275. /***/ function(module, exports, __webpack_require__) {
  3276. // 26.1.8 Reflect.getPrototypeOf(target)
  3277. var $export = __webpack_require__(3)
  3278. , getProto = __webpack_require__(2).getProto
  3279. , anObject = __webpack_require__(17);
  3280. $export($export.S, 'Reflect', {
  3281. getPrototypeOf: function getPrototypeOf(target){
  3282. return getProto(anObject(target));
  3283. }
  3284. });
  3285. /***/ },
  3286. /* 146 */
  3287. /***/ function(module, exports, __webpack_require__) {
  3288. // 26.1.9 Reflect.has(target, propertyKey)
  3289. var $export = __webpack_require__(3);
  3290. $export($export.S, 'Reflect', {
  3291. has: function has(target, propertyKey){
  3292. return propertyKey in target;
  3293. }
  3294. });
  3295. /***/ },
  3296. /* 147 */
  3297. /***/ function(module, exports, __webpack_require__) {
  3298. // 26.1.10 Reflect.isExtensible(target)
  3299. var $export = __webpack_require__(3)
  3300. , anObject = __webpack_require__(17)
  3301. , $isExtensible = Object.isExtensible;
  3302. $export($export.S, 'Reflect', {
  3303. isExtensible: function isExtensible(target){
  3304. anObject(target);
  3305. return $isExtensible ? $isExtensible(target) : true;
  3306. }
  3307. });
  3308. /***/ },
  3309. /* 148 */
  3310. /***/ function(module, exports, __webpack_require__) {
  3311. // 26.1.11 Reflect.ownKeys(target)
  3312. var $export = __webpack_require__(3);
  3313. $export($export.S, 'Reflect', {ownKeys: __webpack_require__(149)});
  3314. /***/ },
  3315. /* 149 */
  3316. /***/ function(module, exports, __webpack_require__) {
  3317. // all object keys, includes non-enumerable and symbols
  3318. var $ = __webpack_require__(2)
  3319. , anObject = __webpack_require__(17)
  3320. , Reflect = __webpack_require__(4).Reflect;
  3321. module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
  3322. var keys = $.getNames(anObject(it))
  3323. , getSymbols = $.getSymbols;
  3324. return getSymbols ? keys.concat(getSymbols(it)) : keys;
  3325. };
  3326. /***/ },
  3327. /* 150 */
  3328. /***/ function(module, exports, __webpack_require__) {
  3329. // 26.1.12 Reflect.preventExtensions(target)
  3330. var $export = __webpack_require__(3)
  3331. , anObject = __webpack_require__(17)
  3332. , $preventExtensions = Object.preventExtensions;
  3333. $export($export.S, 'Reflect', {
  3334. preventExtensions: function preventExtensions(target){
  3335. anObject(target);
  3336. try {
  3337. if($preventExtensions)$preventExtensions(target);
  3338. return true;
  3339. } catch(e){
  3340. return false;
  3341. }
  3342. }
  3343. });
  3344. /***/ },
  3345. /* 151 */
  3346. /***/ function(module, exports, __webpack_require__) {
  3347. // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
  3348. var $ = __webpack_require__(2)
  3349. , has = __webpack_require__(14)
  3350. , $export = __webpack_require__(3)
  3351. , createDesc = __webpack_require__(10)
  3352. , anObject = __webpack_require__(17)
  3353. , isObject = __webpack_require__(13);
  3354. function set(target, propertyKey, V/*, receiver*/){
  3355. var receiver = arguments.length < 4 ? target : arguments[3]
  3356. , ownDesc = $.getDesc(anObject(target), propertyKey)
  3357. , existingDescriptor, proto;
  3358. if(!ownDesc){
  3359. if(isObject(proto = $.getProto(target))){
  3360. return set(proto, propertyKey, V, receiver);
  3361. }
  3362. ownDesc = createDesc(0);
  3363. }
  3364. if(has(ownDesc, 'value')){
  3365. if(ownDesc.writable === false || !isObject(receiver))return false;
  3366. existingDescriptor = $.getDesc(receiver, propertyKey) || createDesc(0);
  3367. existingDescriptor.value = V;
  3368. $.setDesc(receiver, propertyKey, existingDescriptor);
  3369. return true;
  3370. }
  3371. return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
  3372. }
  3373. $export($export.S, 'Reflect', {set: set});
  3374. /***/ },
  3375. /* 152 */
  3376. /***/ function(module, exports, __webpack_require__) {
  3377. // 26.1.14 Reflect.setPrototypeOf(target, proto)
  3378. var $export = __webpack_require__(3)
  3379. , setProto = __webpack_require__(45);
  3380. if(setProto)$export($export.S, 'Reflect', {
  3381. setPrototypeOf: function setPrototypeOf(target, proto){
  3382. setProto.check(target, proto);
  3383. try {
  3384. setProto.set(target, proto);
  3385. return true;
  3386. } catch(e){
  3387. return false;
  3388. }
  3389. }
  3390. });
  3391. /***/ },
  3392. /* 153 */
  3393. /***/ function(module, exports, __webpack_require__) {
  3394. 'use strict';
  3395. var $export = __webpack_require__(3)
  3396. , $includes = __webpack_require__(31)(true);
  3397. $export($export.P, 'Array', {
  3398. // https://github.com/domenic/Array.prototype.includes
  3399. includes: function includes(el /*, fromIndex = 0 */){
  3400. return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  3401. }
  3402. });
  3403. __webpack_require__(114)('includes');
  3404. /***/ },
  3405. /* 154 */
  3406. /***/ function(module, exports, __webpack_require__) {
  3407. 'use strict';
  3408. // https://github.com/mathiasbynens/String.prototype.at
  3409. var $export = __webpack_require__(3)
  3410. , $at = __webpack_require__(93)(true);
  3411. $export($export.P, 'String', {
  3412. at: function at(pos){
  3413. return $at(this, pos);
  3414. }
  3415. });
  3416. /***/ },
  3417. /* 155 */
  3418. /***/ function(module, exports, __webpack_require__) {
  3419. 'use strict';
  3420. var $export = __webpack_require__(3)
  3421. , $pad = __webpack_require__(156);
  3422. $export($export.P, 'String', {
  3423. padLeft: function padLeft(maxLength /*, fillString = ' ' */){
  3424. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
  3425. }
  3426. });
  3427. /***/ },
  3428. /* 156 */
  3429. /***/ function(module, exports, __webpack_require__) {
  3430. // https://github.com/ljharb/proposal-string-pad-left-right
  3431. var toLength = __webpack_require__(24)
  3432. , repeat = __webpack_require__(100)
  3433. , defined = __webpack_require__(19);
  3434. module.exports = function(that, maxLength, fillString, left){
  3435. var S = String(defined(that))
  3436. , stringLength = S.length
  3437. , fillStr = fillString === undefined ? ' ' : String(fillString)
  3438. , intMaxLength = toLength(maxLength);
  3439. if(intMaxLength <= stringLength)return S;
  3440. if(fillStr == '')fillStr = ' ';
  3441. var fillLen = intMaxLength - stringLength
  3442. , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
  3443. if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
  3444. return left ? stringFiller + S : S + stringFiller;
  3445. };
  3446. /***/ },
  3447. /* 157 */
  3448. /***/ function(module, exports, __webpack_require__) {
  3449. 'use strict';
  3450. var $export = __webpack_require__(3)
  3451. , $pad = __webpack_require__(156);
  3452. $export($export.P, 'String', {
  3453. padRight: function padRight(maxLength /*, fillString = ' ' */){
  3454. return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
  3455. }
  3456. });
  3457. /***/ },
  3458. /* 158 */
  3459. /***/ function(module, exports, __webpack_require__) {
  3460. 'use strict';
  3461. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  3462. __webpack_require__(91)('trimLeft', function($trim){
  3463. return function trimLeft(){
  3464. return $trim(this, 1);
  3465. };
  3466. });
  3467. /***/ },
  3468. /* 159 */
  3469. /***/ function(module, exports, __webpack_require__) {
  3470. 'use strict';
  3471. // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
  3472. __webpack_require__(91)('trimRight', function($trim){
  3473. return function trimRight(){
  3474. return $trim(this, 2);
  3475. };
  3476. });
  3477. /***/ },
  3478. /* 160 */
  3479. /***/ function(module, exports, __webpack_require__) {
  3480. // https://github.com/benjamingr/RexExp.escape
  3481. var $export = __webpack_require__(3)
  3482. , $re = __webpack_require__(161)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
  3483. $export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
  3484. /***/ },
  3485. /* 161 */
  3486. /***/ function(module, exports) {
  3487. module.exports = function(regExp, replace){
  3488. var replacer = replace === Object(replace) ? function(part){
  3489. return replace[part];
  3490. } : replace;
  3491. return function(it){
  3492. return String(it).replace(regExp, replacer);
  3493. };
  3494. };
  3495. /***/ },
  3496. /* 162 */
  3497. /***/ function(module, exports, __webpack_require__) {
  3498. // https://gist.github.com/WebReflection/9353781
  3499. var $ = __webpack_require__(2)
  3500. , $export = __webpack_require__(3)
  3501. , ownKeys = __webpack_require__(149)
  3502. , toIObject = __webpack_require__(20)
  3503. , createDesc = __webpack_require__(10);
  3504. $export($export.S, 'Object', {
  3505. getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
  3506. var O = toIObject(object)
  3507. , setDesc = $.setDesc
  3508. , getDesc = $.getDesc
  3509. , keys = ownKeys(O)
  3510. , result = {}
  3511. , i = 0
  3512. , key, D;
  3513. while(keys.length > i){
  3514. D = getDesc(O, key = keys[i++]);
  3515. if(key in result)setDesc(result, key, createDesc(0, D));
  3516. else result[key] = D;
  3517. } return result;
  3518. }
  3519. });
  3520. /***/ },
  3521. /* 163 */
  3522. /***/ function(module, exports, __webpack_require__) {
  3523. // http://goo.gl/XkBrjD
  3524. var $export = __webpack_require__(3)
  3525. , $values = __webpack_require__(164)(false);
  3526. $export($export.S, 'Object', {
  3527. values: function values(it){
  3528. return $values(it);
  3529. }
  3530. });
  3531. /***/ },
  3532. /* 164 */
  3533. /***/ function(module, exports, __webpack_require__) {
  3534. var $ = __webpack_require__(2)
  3535. , toIObject = __webpack_require__(20)
  3536. , isEnum = $.isEnum;
  3537. module.exports = function(isEntries){
  3538. return function(it){
  3539. var O = toIObject(it)
  3540. , keys = $.getKeys(O)
  3541. , length = keys.length
  3542. , i = 0
  3543. , result = []
  3544. , key;
  3545. while(length > i)if(isEnum.call(O, key = keys[i++])){
  3546. result.push(isEntries ? [key, O[key]] : O[key]);
  3547. } return result;
  3548. };
  3549. };
  3550. /***/ },
  3551. /* 165 */
  3552. /***/ function(module, exports, __webpack_require__) {
  3553. // http://goo.gl/XkBrjD
  3554. var $export = __webpack_require__(3)
  3555. , $entries = __webpack_require__(164)(true);
  3556. $export($export.S, 'Object', {
  3557. entries: function entries(it){
  3558. return $entries(it);
  3559. }
  3560. });
  3561. /***/ },
  3562. /* 166 */
  3563. /***/ function(module, exports, __webpack_require__) {
  3564. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  3565. var $export = __webpack_require__(3);
  3566. $export($export.P, 'Map', {toJSON: __webpack_require__(167)('Map')});
  3567. /***/ },
  3568. /* 167 */
  3569. /***/ function(module, exports, __webpack_require__) {
  3570. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  3571. var forOf = __webpack_require__(126)
  3572. , classof = __webpack_require__(110);
  3573. module.exports = function(NAME){
  3574. return function toJSON(){
  3575. if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
  3576. var arr = [];
  3577. forOf(this, false, arr.push, arr);
  3578. return arr;
  3579. };
  3580. };
  3581. /***/ },
  3582. /* 168 */
  3583. /***/ function(module, exports, __webpack_require__) {
  3584. // https://github.com/DavidBruant/Map-Set.prototype.toJSON
  3585. var $export = __webpack_require__(3);
  3586. $export($export.P, 'Set', {toJSON: __webpack_require__(167)('Set')});
  3587. /***/ },
  3588. /* 169 */
  3589. /***/ function(module, exports, __webpack_require__) {
  3590. var $export = __webpack_require__(3)
  3591. , $task = __webpack_require__(129);
  3592. $export($export.G + $export.B, {
  3593. setImmediate: $task.set,
  3594. clearImmediate: $task.clear
  3595. });
  3596. /***/ },
  3597. /* 170 */
  3598. /***/ function(module, exports, __webpack_require__) {
  3599. __webpack_require__(113);
  3600. var Iterators = __webpack_require__(104);
  3601. Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
  3602. /***/ },
  3603. /* 171 */
  3604. /***/ function(module, exports, __webpack_require__) {
  3605. // ie9- setTimeout & setInterval additional parameters fix
  3606. var global = __webpack_require__(4)
  3607. , $export = __webpack_require__(3)
  3608. , invoke = __webpack_require__(16)
  3609. , partial = __webpack_require__(172)
  3610. , navigator = global.navigator
  3611. , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
  3612. var wrap = function(set){
  3613. return MSIE ? function(fn, time /*, ...args */){
  3614. return set(invoke(
  3615. partial,
  3616. [].slice.call(arguments, 2),
  3617. typeof fn == 'function' ? fn : Function(fn)
  3618. ), time);
  3619. } : set;
  3620. };
  3621. $export($export.G + $export.B + $export.F * MSIE, {
  3622. setTimeout: wrap(global.setTimeout),
  3623. setInterval: wrap(global.setInterval)
  3624. });
  3625. /***/ },
  3626. /* 172 */
  3627. /***/ function(module, exports, __webpack_require__) {
  3628. 'use strict';
  3629. var path = __webpack_require__(173)
  3630. , invoke = __webpack_require__(16)
  3631. , aFunction = __webpack_require__(7);
  3632. module.exports = function(/* ...pargs */){
  3633. var fn = aFunction(this)
  3634. , length = arguments.length
  3635. , pargs = Array(length)
  3636. , i = 0
  3637. , _ = path._
  3638. , holder = false;
  3639. while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
  3640. return function(/* ...args */){
  3641. var that = this
  3642. , $$ = arguments
  3643. , $$len = $$.length
  3644. , j = 0, k = 0, args;
  3645. if(!holder && !$$len)return invoke(fn, pargs, that);
  3646. args = pargs.slice();
  3647. if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];
  3648. while($$len > k)args.push($$[k++]);
  3649. return invoke(fn, args, that);
  3650. };
  3651. };
  3652. /***/ },
  3653. /* 173 */
  3654. /***/ function(module, exports, __webpack_require__) {
  3655. module.exports = __webpack_require__(5);
  3656. /***/ },
  3657. /* 174 */
  3658. /***/ function(module, exports, __webpack_require__) {
  3659. 'use strict';
  3660. var $ = __webpack_require__(2)
  3661. , ctx = __webpack_require__(6)
  3662. , $export = __webpack_require__(3)
  3663. , createDesc = __webpack_require__(10)
  3664. , assign = __webpack_require__(41)
  3665. , keyOf = __webpack_require__(36)
  3666. , aFunction = __webpack_require__(7)
  3667. , forOf = __webpack_require__(126)
  3668. , isIterable = __webpack_require__(175)
  3669. , $iterCreate = __webpack_require__(105)
  3670. , step = __webpack_require__(115)
  3671. , isObject = __webpack_require__(13)
  3672. , toIObject = __webpack_require__(20)
  3673. , DESCRIPTORS = __webpack_require__(8)
  3674. , has = __webpack_require__(14)
  3675. , getKeys = $.getKeys;
  3676. // 0 -> Dict.forEach
  3677. // 1 -> Dict.map
  3678. // 2 -> Dict.filter
  3679. // 3 -> Dict.some
  3680. // 4 -> Dict.every
  3681. // 5 -> Dict.find
  3682. // 6 -> Dict.findKey
  3683. // 7 -> Dict.mapPairs
  3684. var createDictMethod = function(TYPE){
  3685. var IS_MAP = TYPE == 1
  3686. , IS_EVERY = TYPE == 4;
  3687. return function(object, callbackfn, that /* = undefined */){
  3688. var f = ctx(callbackfn, that, 3)
  3689. , O = toIObject(object)
  3690. , result = IS_MAP || TYPE == 7 || TYPE == 2
  3691. ? new (typeof this == 'function' ? this : Dict) : undefined
  3692. , key, val, res;
  3693. for(key in O)if(has(O, key)){
  3694. val = O[key];
  3695. res = f(val, key, object);
  3696. if(TYPE){
  3697. if(IS_MAP)result[key] = res; // map
  3698. else if(res)switch(TYPE){
  3699. case 2: result[key] = val; break; // filter
  3700. case 3: return true; // some
  3701. case 5: return val; // find
  3702. case 6: return key; // findKey
  3703. case 7: result[res[0]] = res[1]; // mapPairs
  3704. } else if(IS_EVERY)return false; // every
  3705. }
  3706. }
  3707. return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
  3708. };
  3709. };
  3710. var findKey = createDictMethod(6);
  3711. var createDictIter = function(kind){
  3712. return function(it){
  3713. return new DictIterator(it, kind);
  3714. };
  3715. };
  3716. var DictIterator = function(iterated, kind){
  3717. this._t = toIObject(iterated); // target
  3718. this._a = getKeys(iterated); // keys
  3719. this._i = 0; // next index
  3720. this._k = kind; // kind
  3721. };
  3722. $iterCreate(DictIterator, 'Dict', function(){
  3723. var that = this
  3724. , O = that._t
  3725. , keys = that._a
  3726. , kind = that._k
  3727. , key;
  3728. do {
  3729. if(that._i >= keys.length){
  3730. that._t = undefined;
  3731. return step(1);
  3732. }
  3733. } while(!has(O, key = keys[that._i++]));
  3734. if(kind == 'keys' )return step(0, key);
  3735. if(kind == 'values')return step(0, O[key]);
  3736. return step(0, [key, O[key]]);
  3737. });
  3738. function Dict(iterable){
  3739. var dict = $.create(null);
  3740. if(iterable != undefined){
  3741. if(isIterable(iterable)){
  3742. forOf(iterable, true, function(key, value){
  3743. dict[key] = value;
  3744. });
  3745. } else assign(dict, iterable);
  3746. }
  3747. return dict;
  3748. }
  3749. Dict.prototype = null;
  3750. function reduce(object, mapfn, init){
  3751. aFunction(mapfn);
  3752. var O = toIObject(object)
  3753. , keys = getKeys(O)
  3754. , length = keys.length
  3755. , i = 0
  3756. , memo, key;
  3757. if(arguments.length < 3){
  3758. if(!length)throw TypeError('Reduce of empty object with no initial value');
  3759. memo = O[keys[i++]];
  3760. } else memo = Object(init);
  3761. while(length > i)if(has(O, key = keys[i++])){
  3762. memo = mapfn(memo, O[key], key, object);
  3763. }
  3764. return memo;
  3765. }
  3766. function includes(object, el){
  3767. return (el == el ? keyOf(object, el) : findKey(object, function(it){
  3768. return it != it;
  3769. })) !== undefined;
  3770. }
  3771. function get(object, key){
  3772. if(has(object, key))return object[key];
  3773. }
  3774. function set(object, key, value){
  3775. if(DESCRIPTORS && key in Object)$.setDesc(object, key, createDesc(0, value));
  3776. else object[key] = value;
  3777. return object;
  3778. }
  3779. function isDict(it){
  3780. return isObject(it) && $.getProto(it) === Dict.prototype;
  3781. }
  3782. $export($export.G + $export.F, {Dict: Dict});
  3783. $export($export.S, 'Dict', {
  3784. keys: createDictIter('keys'),
  3785. values: createDictIter('values'),
  3786. entries: createDictIter('entries'),
  3787. forEach: createDictMethod(0),
  3788. map: createDictMethod(1),
  3789. filter: createDictMethod(2),
  3790. some: createDictMethod(3),
  3791. every: createDictMethod(4),
  3792. find: createDictMethod(5),
  3793. findKey: findKey,
  3794. mapPairs: createDictMethod(7),
  3795. reduce: reduce,
  3796. keyOf: keyOf,
  3797. includes: includes,
  3798. has: has,
  3799. get: get,
  3800. set: set,
  3801. isDict: isDict
  3802. });
  3803. /***/ },
  3804. /* 175 */
  3805. /***/ function(module, exports, __webpack_require__) {
  3806. var classof = __webpack_require__(110)
  3807. , ITERATOR = __webpack_require__(29)('iterator')
  3808. , Iterators = __webpack_require__(104);
  3809. module.exports = __webpack_require__(5).isIterable = function(it){
  3810. var O = Object(it);
  3811. return O[ITERATOR] !== undefined
  3812. || '@@iterator' in O
  3813. || Iterators.hasOwnProperty(classof(O));
  3814. };
  3815. /***/ },
  3816. /* 176 */
  3817. /***/ function(module, exports, __webpack_require__) {
  3818. var anObject = __webpack_require__(17)
  3819. , get = __webpack_require__(109);
  3820. module.exports = __webpack_require__(5).getIterator = function(it){
  3821. var iterFn = get(it);
  3822. if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
  3823. return anObject(iterFn.call(it));
  3824. };
  3825. /***/ },
  3826. /* 177 */
  3827. /***/ function(module, exports, __webpack_require__) {
  3828. var global = __webpack_require__(4)
  3829. , core = __webpack_require__(5)
  3830. , $export = __webpack_require__(3)
  3831. , partial = __webpack_require__(172);
  3832. // https://esdiscuss.org/topic/promise-returning-delay-function
  3833. $export($export.G + $export.F, {
  3834. delay: function delay(time){
  3835. return new (core.Promise || global.Promise)(function(resolve){
  3836. setTimeout(partial.call(resolve, true), time);
  3837. });
  3838. }
  3839. });
  3840. /***/ },
  3841. /* 178 */
  3842. /***/ function(module, exports, __webpack_require__) {
  3843. var path = __webpack_require__(173)
  3844. , $export = __webpack_require__(3);
  3845. // Placeholder
  3846. __webpack_require__(5)._ = path._ = path._ || {};
  3847. $export($export.P + $export.F, 'Function', {part: __webpack_require__(172)});
  3848. /***/ },
  3849. /* 179 */
  3850. /***/ function(module, exports, __webpack_require__) {
  3851. var $export = __webpack_require__(3);
  3852. $export($export.S + $export.F, 'Object', {isObject: __webpack_require__(13)});
  3853. /***/ },
  3854. /* 180 */
  3855. /***/ function(module, exports, __webpack_require__) {
  3856. var $export = __webpack_require__(3);
  3857. $export($export.S + $export.F, 'Object', {classof: __webpack_require__(110)});
  3858. /***/ },
  3859. /* 181 */
  3860. /***/ function(module, exports, __webpack_require__) {
  3861. var $export = __webpack_require__(3)
  3862. , define = __webpack_require__(182);
  3863. $export($export.S + $export.F, 'Object', {define: define});
  3864. /***/ },
  3865. /* 182 */
  3866. /***/ function(module, exports, __webpack_require__) {
  3867. var $ = __webpack_require__(2)
  3868. , ownKeys = __webpack_require__(149)
  3869. , toIObject = __webpack_require__(20);
  3870. module.exports = function define(target, mixin){
  3871. var keys = ownKeys(toIObject(mixin))
  3872. , length = keys.length
  3873. , i = 0, key;
  3874. while(length > i)$.setDesc(target, key = keys[i++], $.getDesc(mixin, key));
  3875. return target;
  3876. };
  3877. /***/ },
  3878. /* 183 */
  3879. /***/ function(module, exports, __webpack_require__) {
  3880. var $export = __webpack_require__(3)
  3881. , define = __webpack_require__(182)
  3882. , create = __webpack_require__(2).create;
  3883. $export($export.S + $export.F, 'Object', {
  3884. make: function(proto, mixin){
  3885. return define(create(proto), mixin);
  3886. }
  3887. });
  3888. /***/ },
  3889. /* 184 */
  3890. /***/ function(module, exports, __webpack_require__) {
  3891. 'use strict';
  3892. __webpack_require__(103)(Number, 'Number', function(iterated){
  3893. this._l = +iterated;
  3894. this._i = 0;
  3895. }, function(){
  3896. var i = this._i++
  3897. , done = !(i < this._l);
  3898. return {done: done, value: done ? undefined : i};
  3899. });
  3900. /***/ },
  3901. /* 185 */
  3902. /***/ function(module, exports, __webpack_require__) {
  3903. 'use strict';
  3904. var $export = __webpack_require__(3);
  3905. var $re = __webpack_require__(161)(/[&<>"']/g, {
  3906. '&': '&amp;',
  3907. '<': '&lt;',
  3908. '>': '&gt;',
  3909. '"': '&quot;',
  3910. "'": '&apos;'
  3911. });
  3912. $export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
  3913. /***/ },
  3914. /* 186 */
  3915. /***/ function(module, exports, __webpack_require__) {
  3916. 'use strict';
  3917. var $export = __webpack_require__(3);
  3918. var $re = __webpack_require__(161)(/&(?:amp|lt|gt|quot|apos);/g, {
  3919. '&amp;': '&',
  3920. '&lt;': '<',
  3921. '&gt;': '>',
  3922. '&quot;': '"',
  3923. '&apos;': "'"
  3924. });
  3925. $export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
  3926. /***/ },
  3927. /* 187 */
  3928. /***/ function(module, exports, __webpack_require__) {
  3929. var $ = __webpack_require__(2)
  3930. , global = __webpack_require__(4)
  3931. , $export = __webpack_require__(3)
  3932. , log = {}
  3933. , enabled = true;
  3934. // Methods from https://github.com/DeveloperToolsWG/console-object/blob/master/api.md
  3935. $.each.call((
  3936. 'assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,' +
  3937. 'info,isIndependentlyComposed,log,markTimeline,profile,profileEnd,table,' +
  3938. 'time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn'
  3939. ).split(','), function(key){
  3940. log[key] = function(){
  3941. var $console = global.console;
  3942. if(enabled && $console && $console[key]){
  3943. return Function.apply.call($console[key], $console, arguments);
  3944. }
  3945. };
  3946. });
  3947. $export($export.G + $export.F, {log: __webpack_require__(41)(log.log, log, {
  3948. enable: function(){
  3949. enabled = true;
  3950. },
  3951. disable: function(){
  3952. enabled = false;
  3953. }
  3954. })});
  3955. /***/ },
  3956. /* 188 */
  3957. /***/ function(module, exports, __webpack_require__) {
  3958. // JavaScript 1.6 / Strawman array statics shim
  3959. var $ = __webpack_require__(2)
  3960. , $export = __webpack_require__(3)
  3961. , $ctx = __webpack_require__(6)
  3962. , $Array = __webpack_require__(5).Array || Array
  3963. , statics = {};
  3964. var setStatics = function(keys, length){
  3965. $.each.call(keys.split(','), function(key){
  3966. if(length == undefined && key in $Array)statics[key] = $Array[key];
  3967. else if(key in [])statics[key] = $ctx(Function.call, [][key], length);
  3968. });
  3969. };
  3970. setStatics('pop,reverse,shift,keys,values,entries', 1);
  3971. setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
  3972. setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
  3973. 'reduce,reduceRight,copyWithin,fill');
  3974. $export($export.S, 'Array', statics);
  3975. /***/ }
  3976. /******/ ]);
  3977. // CommonJS export
  3978. if(typeof module != 'undefined' && module.exports)module.exports = __e;
  3979. // RequireJS export
  3980. else if(typeof define == 'function' && define.amd)define(function(){return __e});
  3981. // Export to global object
  3982. else __g.core = __e;
  3983. }(1, 1);