vuedraggable.js 154 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174
  1. (function webpackUniversalModuleDefinition(root, factory) {
  2. if(typeof exports === 'object' && typeof module === 'object')
  3. module.exports = factory(require("vue"), require("sortablejs"));
  4. else if(typeof define === 'function' && define.amd)
  5. define([, "sortablejs"], factory);
  6. else if(typeof exports === 'object')
  7. exports["vuedraggable"] = factory(require("vue"), require("sortablejs"));
  8. else
  9. root["vuedraggable"] = factory(root["Vue"], root["Sortable"]);
  10. })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__, __WEBPACK_EXTERNAL_MODULE_a352__) {
  11. return /******/ (function(modules) { // webpackBootstrap
  12. /******/ // The module cache
  13. /******/ var installedModules = {};
  14. /******/
  15. /******/ // The require function
  16. /******/ function __webpack_require__(moduleId) {
  17. /******/
  18. /******/ // Check if module is in cache
  19. /******/ if(installedModules[moduleId]) {
  20. /******/ return installedModules[moduleId].exports;
  21. /******/ }
  22. /******/ // Create a new module (and put it into the cache)
  23. /******/ var module = installedModules[moduleId] = {
  24. /******/ i: moduleId,
  25. /******/ l: false,
  26. /******/ exports: {}
  27. /******/ };
  28. /******/
  29. /******/ // Execute the module function
  30. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  31. /******/
  32. /******/ // Flag the module as loaded
  33. /******/ module.l = true;
  34. /******/
  35. /******/ // Return the exports of the module
  36. /******/ return module.exports;
  37. /******/ }
  38. /******/
  39. /******/
  40. /******/ // expose the modules object (__webpack_modules__)
  41. /******/ __webpack_require__.m = modules;
  42. /******/
  43. /******/ // expose the module cache
  44. /******/ __webpack_require__.c = installedModules;
  45. /******/
  46. /******/ // define getter function for harmony exports
  47. /******/ __webpack_require__.d = function(exports, name, getter) {
  48. /******/ if(!__webpack_require__.o(exports, name)) {
  49. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  50. /******/ }
  51. /******/ };
  52. /******/
  53. /******/ // define __esModule on exports
  54. /******/ __webpack_require__.r = function(exports) {
  55. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  56. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  57. /******/ }
  58. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  59. /******/ };
  60. /******/
  61. /******/ // create a fake namespace object
  62. /******/ // mode & 1: value is a module id, require it
  63. /******/ // mode & 2: merge all properties of value into the ns
  64. /******/ // mode & 4: return value when already ns object
  65. /******/ // mode & 8|1: behave like require
  66. /******/ __webpack_require__.t = function(value, mode) {
  67. /******/ if(mode & 1) value = __webpack_require__(value);
  68. /******/ if(mode & 8) return value;
  69. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  70. /******/ var ns = Object.create(null);
  71. /******/ __webpack_require__.r(ns);
  72. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  73. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  74. /******/ return ns;
  75. /******/ };
  76. /******/
  77. /******/ // getDefaultExport function for compatibility with non-harmony modules
  78. /******/ __webpack_require__.n = function(module) {
  79. /******/ var getter = module && module.__esModule ?
  80. /******/ function getDefault() { return module['default']; } :
  81. /******/ function getModuleExports() { return module; };
  82. /******/ __webpack_require__.d(getter, 'a', getter);
  83. /******/ return getter;
  84. /******/ };
  85. /******/
  86. /******/ // Object.prototype.hasOwnProperty.call
  87. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  88. /******/
  89. /******/ // __webpack_public_path__
  90. /******/ __webpack_require__.p = "";
  91. /******/
  92. /******/
  93. /******/ // Load entry module and return exports
  94. /******/ return __webpack_require__(__webpack_require__.s = "fb15");
  95. /******/ })
  96. /************************************************************************/
  97. /******/ ({
  98. /***/ "00ee":
  99. /***/ (function(module, exports, __webpack_require__) {
  100. var wellKnownSymbol = __webpack_require__("b622");
  101. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  102. var test = {};
  103. test[TO_STRING_TAG] = 'z';
  104. module.exports = String(test) === '[object z]';
  105. /***/ }),
  106. /***/ "0366":
  107. /***/ (function(module, exports, __webpack_require__) {
  108. var aFunction = __webpack_require__("1c0b");
  109. // optional / simple context binding
  110. module.exports = function (fn, that, length) {
  111. aFunction(fn);
  112. if (that === undefined) return fn;
  113. switch (length) {
  114. case 0: return function () {
  115. return fn.call(that);
  116. };
  117. case 1: return function (a) {
  118. return fn.call(that, a);
  119. };
  120. case 2: return function (a, b) {
  121. return fn.call(that, a, b);
  122. };
  123. case 3: return function (a, b, c) {
  124. return fn.call(that, a, b, c);
  125. };
  126. }
  127. return function (/* ...args */) {
  128. return fn.apply(that, arguments);
  129. };
  130. };
  131. /***/ }),
  132. /***/ "057f":
  133. /***/ (function(module, exports, __webpack_require__) {
  134. var toIndexedObject = __webpack_require__("fc6a");
  135. var nativeGetOwnPropertyNames = __webpack_require__("241c").f;
  136. var toString = {}.toString;
  137. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  138. ? Object.getOwnPropertyNames(window) : [];
  139. var getWindowNames = function (it) {
  140. try {
  141. return nativeGetOwnPropertyNames(it);
  142. } catch (error) {
  143. return windowNames.slice();
  144. }
  145. };
  146. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  147. module.exports.f = function getOwnPropertyNames(it) {
  148. return windowNames && toString.call(it) == '[object Window]'
  149. ? getWindowNames(it)
  150. : nativeGetOwnPropertyNames(toIndexedObject(it));
  151. };
  152. /***/ }),
  153. /***/ "06cf":
  154. /***/ (function(module, exports, __webpack_require__) {
  155. var DESCRIPTORS = __webpack_require__("83ab");
  156. var propertyIsEnumerableModule = __webpack_require__("d1e7");
  157. var createPropertyDescriptor = __webpack_require__("5c6c");
  158. var toIndexedObject = __webpack_require__("fc6a");
  159. var toPrimitive = __webpack_require__("c04e");
  160. var has = __webpack_require__("5135");
  161. var IE8_DOM_DEFINE = __webpack_require__("0cfb");
  162. var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  163. // `Object.getOwnPropertyDescriptor` method
  164. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  165. exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  166. O = toIndexedObject(O);
  167. P = toPrimitive(P, true);
  168. if (IE8_DOM_DEFINE) try {
  169. return nativeGetOwnPropertyDescriptor(O, P);
  170. } catch (error) { /* empty */ }
  171. if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
  172. };
  173. /***/ }),
  174. /***/ "0cfb":
  175. /***/ (function(module, exports, __webpack_require__) {
  176. var DESCRIPTORS = __webpack_require__("83ab");
  177. var fails = __webpack_require__("d039");
  178. var createElement = __webpack_require__("cc12");
  179. // Thank's IE8 for his funny defineProperty
  180. module.exports = !DESCRIPTORS && !fails(function () {
  181. return Object.defineProperty(createElement('div'), 'a', {
  182. get: function () { return 7; }
  183. }).a != 7;
  184. });
  185. /***/ }),
  186. /***/ "13d5":
  187. /***/ (function(module, exports, __webpack_require__) {
  188. "use strict";
  189. var $ = __webpack_require__("23e7");
  190. var $reduce = __webpack_require__("d58f").left;
  191. var arrayMethodIsStrict = __webpack_require__("a640");
  192. var arrayMethodUsesToLength = __webpack_require__("ae40");
  193. var STRICT_METHOD = arrayMethodIsStrict('reduce');
  194. var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });
  195. // `Array.prototype.reduce` method
  196. // https://tc39.github.io/ecma262/#sec-array.prototype.reduce
  197. $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
  198. reduce: function reduce(callbackfn /* , initialValue */) {
  199. return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
  200. }
  201. });
  202. /***/ }),
  203. /***/ "14c3":
  204. /***/ (function(module, exports, __webpack_require__) {
  205. var classof = __webpack_require__("c6b6");
  206. var regexpExec = __webpack_require__("9263");
  207. // `RegExpExec` abstract operation
  208. // https://tc39.github.io/ecma262/#sec-regexpexec
  209. module.exports = function (R, S) {
  210. var exec = R.exec;
  211. if (typeof exec === 'function') {
  212. var result = exec.call(R, S);
  213. if (typeof result !== 'object') {
  214. throw TypeError('RegExp exec method returned something other than an Object or null');
  215. }
  216. return result;
  217. }
  218. if (classof(R) !== 'RegExp') {
  219. throw TypeError('RegExp#exec called on incompatible receiver');
  220. }
  221. return regexpExec.call(R, S);
  222. };
  223. /***/ }),
  224. /***/ "159b":
  225. /***/ (function(module, exports, __webpack_require__) {
  226. var global = __webpack_require__("da84");
  227. var DOMIterables = __webpack_require__("fdbc");
  228. var forEach = __webpack_require__("17c2");
  229. var createNonEnumerableProperty = __webpack_require__("9112");
  230. for (var COLLECTION_NAME in DOMIterables) {
  231. var Collection = global[COLLECTION_NAME];
  232. var CollectionPrototype = Collection && Collection.prototype;
  233. // some Chrome versions have non-configurable methods on DOMTokenList
  234. if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
  235. createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
  236. } catch (error) {
  237. CollectionPrototype.forEach = forEach;
  238. }
  239. }
  240. /***/ }),
  241. /***/ "17c2":
  242. /***/ (function(module, exports, __webpack_require__) {
  243. "use strict";
  244. var $forEach = __webpack_require__("b727").forEach;
  245. var arrayMethodIsStrict = __webpack_require__("a640");
  246. var arrayMethodUsesToLength = __webpack_require__("ae40");
  247. var STRICT_METHOD = arrayMethodIsStrict('forEach');
  248. var USES_TO_LENGTH = arrayMethodUsesToLength('forEach');
  249. // `Array.prototype.forEach` method implementation
  250. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  251. module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {
  252. return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  253. } : [].forEach;
  254. /***/ }),
  255. /***/ "1be4":
  256. /***/ (function(module, exports, __webpack_require__) {
  257. var getBuiltIn = __webpack_require__("d066");
  258. module.exports = getBuiltIn('document', 'documentElement');
  259. /***/ }),
  260. /***/ "1c0b":
  261. /***/ (function(module, exports) {
  262. module.exports = function (it) {
  263. if (typeof it != 'function') {
  264. throw TypeError(String(it) + ' is not a function');
  265. } return it;
  266. };
  267. /***/ }),
  268. /***/ "1c7e":
  269. /***/ (function(module, exports, __webpack_require__) {
  270. var wellKnownSymbol = __webpack_require__("b622");
  271. var ITERATOR = wellKnownSymbol('iterator');
  272. var SAFE_CLOSING = false;
  273. try {
  274. var called = 0;
  275. var iteratorWithReturn = {
  276. next: function () {
  277. return { done: !!called++ };
  278. },
  279. 'return': function () {
  280. SAFE_CLOSING = true;
  281. }
  282. };
  283. iteratorWithReturn[ITERATOR] = function () {
  284. return this;
  285. };
  286. // eslint-disable-next-line no-throw-literal
  287. Array.from(iteratorWithReturn, function () { throw 2; });
  288. } catch (error) { /* empty */ }
  289. module.exports = function (exec, SKIP_CLOSING) {
  290. if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
  291. var ITERATION_SUPPORT = false;
  292. try {
  293. var object = {};
  294. object[ITERATOR] = function () {
  295. return {
  296. next: function () {
  297. return { done: ITERATION_SUPPORT = true };
  298. }
  299. };
  300. };
  301. exec(object);
  302. } catch (error) { /* empty */ }
  303. return ITERATION_SUPPORT;
  304. };
  305. /***/ }),
  306. /***/ "1d80":
  307. /***/ (function(module, exports) {
  308. // `RequireObjectCoercible` abstract operation
  309. // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
  310. module.exports = function (it) {
  311. if (it == undefined) throw TypeError("Can't call method on " + it);
  312. return it;
  313. };
  314. /***/ }),
  315. /***/ "1dde":
  316. /***/ (function(module, exports, __webpack_require__) {
  317. var fails = __webpack_require__("d039");
  318. var wellKnownSymbol = __webpack_require__("b622");
  319. var V8_VERSION = __webpack_require__("2d00");
  320. var SPECIES = wellKnownSymbol('species');
  321. module.exports = function (METHOD_NAME) {
  322. // We can't use this feature detection in V8 since it causes
  323. // deoptimization and serious performance degradation
  324. // https://github.com/zloirock/core-js/issues/677
  325. return V8_VERSION >= 51 || !fails(function () {
  326. var array = [];
  327. var constructor = array.constructor = {};
  328. constructor[SPECIES] = function () {
  329. return { foo: 1 };
  330. };
  331. return array[METHOD_NAME](Boolean).foo !== 1;
  332. });
  333. };
  334. /***/ }),
  335. /***/ "23cb":
  336. /***/ (function(module, exports, __webpack_require__) {
  337. var toInteger = __webpack_require__("a691");
  338. var max = Math.max;
  339. var min = Math.min;
  340. // Helper for a popular repeating case of the spec:
  341. // Let integer be ? ToInteger(index).
  342. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  343. module.exports = function (index, length) {
  344. var integer = toInteger(index);
  345. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  346. };
  347. /***/ }),
  348. /***/ "23e7":
  349. /***/ (function(module, exports, __webpack_require__) {
  350. var global = __webpack_require__("da84");
  351. var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
  352. var createNonEnumerableProperty = __webpack_require__("9112");
  353. var redefine = __webpack_require__("6eeb");
  354. var setGlobal = __webpack_require__("ce4e");
  355. var copyConstructorProperties = __webpack_require__("e893");
  356. var isForced = __webpack_require__("94ca");
  357. /*
  358. options.target - name of the target object
  359. options.global - target is the global object
  360. options.stat - export as static methods of target
  361. options.proto - export as prototype methods of target
  362. options.real - real prototype method for the `pure` version
  363. options.forced - export even if the native feature is available
  364. options.bind - bind methods to the target, required for the `pure` version
  365. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  366. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  367. options.sham - add a flag to not completely full polyfills
  368. options.enumerable - export as enumerable property
  369. options.noTargetGet - prevent calling a getter on target
  370. */
  371. module.exports = function (options, source) {
  372. var TARGET = options.target;
  373. var GLOBAL = options.global;
  374. var STATIC = options.stat;
  375. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  376. if (GLOBAL) {
  377. target = global;
  378. } else if (STATIC) {
  379. target = global[TARGET] || setGlobal(TARGET, {});
  380. } else {
  381. target = (global[TARGET] || {}).prototype;
  382. }
  383. if (target) for (key in source) {
  384. sourceProperty = source[key];
  385. if (options.noTargetGet) {
  386. descriptor = getOwnPropertyDescriptor(target, key);
  387. targetProperty = descriptor && descriptor.value;
  388. } else targetProperty = target[key];
  389. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  390. // contained in target
  391. if (!FORCED && targetProperty !== undefined) {
  392. if (typeof sourceProperty === typeof targetProperty) continue;
  393. copyConstructorProperties(sourceProperty, targetProperty);
  394. }
  395. // add a flag to not completely full polyfills
  396. if (options.sham || (targetProperty && targetProperty.sham)) {
  397. createNonEnumerableProperty(sourceProperty, 'sham', true);
  398. }
  399. // extend global
  400. redefine(target, key, sourceProperty, options);
  401. }
  402. };
  403. /***/ }),
  404. /***/ "241c":
  405. /***/ (function(module, exports, __webpack_require__) {
  406. var internalObjectKeys = __webpack_require__("ca84");
  407. var enumBugKeys = __webpack_require__("7839");
  408. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  409. // `Object.getOwnPropertyNames` method
  410. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  411. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  412. return internalObjectKeys(O, hiddenKeys);
  413. };
  414. /***/ }),
  415. /***/ "25f0":
  416. /***/ (function(module, exports, __webpack_require__) {
  417. "use strict";
  418. var redefine = __webpack_require__("6eeb");
  419. var anObject = __webpack_require__("825a");
  420. var fails = __webpack_require__("d039");
  421. var flags = __webpack_require__("ad6d");
  422. var TO_STRING = 'toString';
  423. var RegExpPrototype = RegExp.prototype;
  424. var nativeToString = RegExpPrototype[TO_STRING];
  425. var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
  426. // FF44- RegExp#toString has a wrong name
  427. var INCORRECT_NAME = nativeToString.name != TO_STRING;
  428. // `RegExp.prototype.toString` method
  429. // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
  430. if (NOT_GENERIC || INCORRECT_NAME) {
  431. redefine(RegExp.prototype, TO_STRING, function toString() {
  432. var R = anObject(this);
  433. var p = String(R.source);
  434. var rf = R.flags;
  435. var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);
  436. return '/' + p + '/' + f;
  437. }, { unsafe: true });
  438. }
  439. /***/ }),
  440. /***/ "2ca0":
  441. /***/ (function(module, exports, __webpack_require__) {
  442. "use strict";
  443. var $ = __webpack_require__("23e7");
  444. var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
  445. var toLength = __webpack_require__("50c4");
  446. var notARegExp = __webpack_require__("5a34");
  447. var requireObjectCoercible = __webpack_require__("1d80");
  448. var correctIsRegExpLogic = __webpack_require__("ab13");
  449. var IS_PURE = __webpack_require__("c430");
  450. var nativeStartsWith = ''.startsWith;
  451. var min = Math.min;
  452. var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
  453. // https://github.com/zloirock/core-js/pull/702
  454. var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
  455. var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
  456. return descriptor && !descriptor.writable;
  457. }();
  458. // `String.prototype.startsWith` method
  459. // https://tc39.github.io/ecma262/#sec-string.prototype.startswith
  460. $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
  461. startsWith: function startsWith(searchString /* , position = 0 */) {
  462. var that = String(requireObjectCoercible(this));
  463. notARegExp(searchString);
  464. var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
  465. var search = String(searchString);
  466. return nativeStartsWith
  467. ? nativeStartsWith.call(that, search, index)
  468. : that.slice(index, index + search.length) === search;
  469. }
  470. });
  471. /***/ }),
  472. /***/ "2d00":
  473. /***/ (function(module, exports, __webpack_require__) {
  474. var global = __webpack_require__("da84");
  475. var userAgent = __webpack_require__("342f");
  476. var process = global.process;
  477. var versions = process && process.versions;
  478. var v8 = versions && versions.v8;
  479. var match, version;
  480. if (v8) {
  481. match = v8.split('.');
  482. version = match[0] + match[1];
  483. } else if (userAgent) {
  484. match = userAgent.match(/Edge\/(\d+)/);
  485. if (!match || match[1] >= 74) {
  486. match = userAgent.match(/Chrome\/(\d+)/);
  487. if (match) version = match[1];
  488. }
  489. }
  490. module.exports = version && +version;
  491. /***/ }),
  492. /***/ "342f":
  493. /***/ (function(module, exports, __webpack_require__) {
  494. var getBuiltIn = __webpack_require__("d066");
  495. module.exports = getBuiltIn('navigator', 'userAgent') || '';
  496. /***/ }),
  497. /***/ "35a1":
  498. /***/ (function(module, exports, __webpack_require__) {
  499. var classof = __webpack_require__("f5df");
  500. var Iterators = __webpack_require__("3f8c");
  501. var wellKnownSymbol = __webpack_require__("b622");
  502. var ITERATOR = wellKnownSymbol('iterator');
  503. module.exports = function (it) {
  504. if (it != undefined) return it[ITERATOR]
  505. || it['@@iterator']
  506. || Iterators[classof(it)];
  507. };
  508. /***/ }),
  509. /***/ "37e8":
  510. /***/ (function(module, exports, __webpack_require__) {
  511. var DESCRIPTORS = __webpack_require__("83ab");
  512. var definePropertyModule = __webpack_require__("9bf2");
  513. var anObject = __webpack_require__("825a");
  514. var objectKeys = __webpack_require__("df75");
  515. // `Object.defineProperties` method
  516. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  517. module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
  518. anObject(O);
  519. var keys = objectKeys(Properties);
  520. var length = keys.length;
  521. var index = 0;
  522. var key;
  523. while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
  524. return O;
  525. };
  526. /***/ }),
  527. /***/ "3bbe":
  528. /***/ (function(module, exports, __webpack_require__) {
  529. var isObject = __webpack_require__("861d");
  530. module.exports = function (it) {
  531. if (!isObject(it) && it !== null) {
  532. throw TypeError("Can't set " + String(it) + ' as a prototype');
  533. } return it;
  534. };
  535. /***/ }),
  536. /***/ "3ca3":
  537. /***/ (function(module, exports, __webpack_require__) {
  538. "use strict";
  539. var charAt = __webpack_require__("6547").charAt;
  540. var InternalStateModule = __webpack_require__("69f3");
  541. var defineIterator = __webpack_require__("7dd0");
  542. var STRING_ITERATOR = 'String Iterator';
  543. var setInternalState = InternalStateModule.set;
  544. var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
  545. // `String.prototype[@@iterator]` method
  546. // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
  547. defineIterator(String, 'String', function (iterated) {
  548. setInternalState(this, {
  549. type: STRING_ITERATOR,
  550. string: String(iterated),
  551. index: 0
  552. });
  553. // `%StringIteratorPrototype%.next` method
  554. // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
  555. }, function next() {
  556. var state = getInternalState(this);
  557. var string = state.string;
  558. var index = state.index;
  559. var point;
  560. if (index >= string.length) return { value: undefined, done: true };
  561. point = charAt(string, index);
  562. state.index += point.length;
  563. return { value: point, done: false };
  564. });
  565. /***/ }),
  566. /***/ "3f8c":
  567. /***/ (function(module, exports) {
  568. module.exports = {};
  569. /***/ }),
  570. /***/ "4160":
  571. /***/ (function(module, exports, __webpack_require__) {
  572. "use strict";
  573. var $ = __webpack_require__("23e7");
  574. var forEach = __webpack_require__("17c2");
  575. // `Array.prototype.forEach` method
  576. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  577. $({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
  578. forEach: forEach
  579. });
  580. /***/ }),
  581. /***/ "428f":
  582. /***/ (function(module, exports, __webpack_require__) {
  583. var global = __webpack_require__("da84");
  584. module.exports = global;
  585. /***/ }),
  586. /***/ "44ad":
  587. /***/ (function(module, exports, __webpack_require__) {
  588. var fails = __webpack_require__("d039");
  589. var classof = __webpack_require__("c6b6");
  590. var split = ''.split;
  591. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  592. module.exports = fails(function () {
  593. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  594. // eslint-disable-next-line no-prototype-builtins
  595. return !Object('z').propertyIsEnumerable(0);
  596. }) ? function (it) {
  597. return classof(it) == 'String' ? split.call(it, '') : Object(it);
  598. } : Object;
  599. /***/ }),
  600. /***/ "44d2":
  601. /***/ (function(module, exports, __webpack_require__) {
  602. var wellKnownSymbol = __webpack_require__("b622");
  603. var create = __webpack_require__("7c73");
  604. var definePropertyModule = __webpack_require__("9bf2");
  605. var UNSCOPABLES = wellKnownSymbol('unscopables');
  606. var ArrayPrototype = Array.prototype;
  607. // Array.prototype[@@unscopables]
  608. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  609. if (ArrayPrototype[UNSCOPABLES] == undefined) {
  610. definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
  611. configurable: true,
  612. value: create(null)
  613. });
  614. }
  615. // add a key to Array.prototype[@@unscopables]
  616. module.exports = function (key) {
  617. ArrayPrototype[UNSCOPABLES][key] = true;
  618. };
  619. /***/ }),
  620. /***/ "44e7":
  621. /***/ (function(module, exports, __webpack_require__) {
  622. var isObject = __webpack_require__("861d");
  623. var classof = __webpack_require__("c6b6");
  624. var wellKnownSymbol = __webpack_require__("b622");
  625. var MATCH = wellKnownSymbol('match');
  626. // `IsRegExp` abstract operation
  627. // https://tc39.github.io/ecma262/#sec-isregexp
  628. module.exports = function (it) {
  629. var isRegExp;
  630. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
  631. };
  632. /***/ }),
  633. /***/ "4930":
  634. /***/ (function(module, exports, __webpack_require__) {
  635. var fails = __webpack_require__("d039");
  636. module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  637. // Chrome 38 Symbol has incorrect toString conversion
  638. // eslint-disable-next-line no-undef
  639. return !String(Symbol());
  640. });
  641. /***/ }),
  642. /***/ "4d64":
  643. /***/ (function(module, exports, __webpack_require__) {
  644. var toIndexedObject = __webpack_require__("fc6a");
  645. var toLength = __webpack_require__("50c4");
  646. var toAbsoluteIndex = __webpack_require__("23cb");
  647. // `Array.prototype.{ indexOf, includes }` methods implementation
  648. var createMethod = function (IS_INCLUDES) {
  649. return function ($this, el, fromIndex) {
  650. var O = toIndexedObject($this);
  651. var length = toLength(O.length);
  652. var index = toAbsoluteIndex(fromIndex, length);
  653. var value;
  654. // Array#includes uses SameValueZero equality algorithm
  655. // eslint-disable-next-line no-self-compare
  656. if (IS_INCLUDES && el != el) while (length > index) {
  657. value = O[index++];
  658. // eslint-disable-next-line no-self-compare
  659. if (value != value) return true;
  660. // Array#indexOf ignores holes, Array#includes - not
  661. } else for (;length > index; index++) {
  662. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  663. } return !IS_INCLUDES && -1;
  664. };
  665. };
  666. module.exports = {
  667. // `Array.prototype.includes` method
  668. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  669. includes: createMethod(true),
  670. // `Array.prototype.indexOf` method
  671. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  672. indexOf: createMethod(false)
  673. };
  674. /***/ }),
  675. /***/ "4de4":
  676. /***/ (function(module, exports, __webpack_require__) {
  677. "use strict";
  678. var $ = __webpack_require__("23e7");
  679. var $filter = __webpack_require__("b727").filter;
  680. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  681. var arrayMethodUsesToLength = __webpack_require__("ae40");
  682. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
  683. // Edge 14- issue
  684. var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
  685. // `Array.prototype.filter` method
  686. // https://tc39.github.io/ecma262/#sec-array.prototype.filter
  687. // with adding support of @@species
  688. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  689. filter: function filter(callbackfn /* , thisArg */) {
  690. return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  691. }
  692. });
  693. /***/ }),
  694. /***/ "4df4":
  695. /***/ (function(module, exports, __webpack_require__) {
  696. "use strict";
  697. var bind = __webpack_require__("0366");
  698. var toObject = __webpack_require__("7b0b");
  699. var callWithSafeIterationClosing = __webpack_require__("9bdd");
  700. var isArrayIteratorMethod = __webpack_require__("e95a");
  701. var toLength = __webpack_require__("50c4");
  702. var createProperty = __webpack_require__("8418");
  703. var getIteratorMethod = __webpack_require__("35a1");
  704. // `Array.from` method implementation
  705. // https://tc39.github.io/ecma262/#sec-array.from
  706. module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
  707. var O = toObject(arrayLike);
  708. var C = typeof this == 'function' ? this : Array;
  709. var argumentsLength = arguments.length;
  710. var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
  711. var mapping = mapfn !== undefined;
  712. var iteratorMethod = getIteratorMethod(O);
  713. var index = 0;
  714. var length, result, step, iterator, next, value;
  715. if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
  716. // if the target is not iterable or it's an array with the default iterator - use a simple case
  717. if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
  718. iterator = iteratorMethod.call(O);
  719. next = iterator.next;
  720. result = new C();
  721. for (;!(step = next.call(iterator)).done; index++) {
  722. value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
  723. createProperty(result, index, value);
  724. }
  725. } else {
  726. length = toLength(O.length);
  727. result = new C(length);
  728. for (;length > index; index++) {
  729. value = mapping ? mapfn(O[index], index) : O[index];
  730. createProperty(result, index, value);
  731. }
  732. }
  733. result.length = index;
  734. return result;
  735. };
  736. /***/ }),
  737. /***/ "4fad":
  738. /***/ (function(module, exports, __webpack_require__) {
  739. var $ = __webpack_require__("23e7");
  740. var $entries = __webpack_require__("6f53").entries;
  741. // `Object.entries` method
  742. // https://tc39.github.io/ecma262/#sec-object.entries
  743. $({ target: 'Object', stat: true }, {
  744. entries: function entries(O) {
  745. return $entries(O);
  746. }
  747. });
  748. /***/ }),
  749. /***/ "50c4":
  750. /***/ (function(module, exports, __webpack_require__) {
  751. var toInteger = __webpack_require__("a691");
  752. var min = Math.min;
  753. // `ToLength` abstract operation
  754. // https://tc39.github.io/ecma262/#sec-tolength
  755. module.exports = function (argument) {
  756. return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  757. };
  758. /***/ }),
  759. /***/ "5135":
  760. /***/ (function(module, exports) {
  761. var hasOwnProperty = {}.hasOwnProperty;
  762. module.exports = function (it, key) {
  763. return hasOwnProperty.call(it, key);
  764. };
  765. /***/ }),
  766. /***/ "5319":
  767. /***/ (function(module, exports, __webpack_require__) {
  768. "use strict";
  769. var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
  770. var anObject = __webpack_require__("825a");
  771. var toObject = __webpack_require__("7b0b");
  772. var toLength = __webpack_require__("50c4");
  773. var toInteger = __webpack_require__("a691");
  774. var requireObjectCoercible = __webpack_require__("1d80");
  775. var advanceStringIndex = __webpack_require__("8aa5");
  776. var regExpExec = __webpack_require__("14c3");
  777. var max = Math.max;
  778. var min = Math.min;
  779. var floor = Math.floor;
  780. var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
  781. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
  782. var maybeToString = function (it) {
  783. return it === undefined ? it : String(it);
  784. };
  785. // @@replace logic
  786. fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
  787. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
  788. var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
  789. var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
  790. return [
  791. // `String.prototype.replace` method
  792. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  793. function replace(searchValue, replaceValue) {
  794. var O = requireObjectCoercible(this);
  795. var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
  796. return replacer !== undefined
  797. ? replacer.call(searchValue, O, replaceValue)
  798. : nativeReplace.call(String(O), searchValue, replaceValue);
  799. },
  800. // `RegExp.prototype[@@replace]` method
  801. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  802. function (regexp, replaceValue) {
  803. if (
  804. (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
  805. (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
  806. ) {
  807. var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
  808. if (res.done) return res.value;
  809. }
  810. var rx = anObject(regexp);
  811. var S = String(this);
  812. var functionalReplace = typeof replaceValue === 'function';
  813. if (!functionalReplace) replaceValue = String(replaceValue);
  814. var global = rx.global;
  815. if (global) {
  816. var fullUnicode = rx.unicode;
  817. rx.lastIndex = 0;
  818. }
  819. var results = [];
  820. while (true) {
  821. var result = regExpExec(rx, S);
  822. if (result === null) break;
  823. results.push(result);
  824. if (!global) break;
  825. var matchStr = String(result[0]);
  826. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  827. }
  828. var accumulatedResult = '';
  829. var nextSourcePosition = 0;
  830. for (var i = 0; i < results.length; i++) {
  831. result = results[i];
  832. var matched = String(result[0]);
  833. var position = max(min(toInteger(result.index), S.length), 0);
  834. var captures = [];
  835. // NOTE: This is equivalent to
  836. // captures = result.slice(1).map(maybeToString)
  837. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  838. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  839. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  840. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  841. var namedCaptures = result.groups;
  842. if (functionalReplace) {
  843. var replacerArgs = [matched].concat(captures, position, S);
  844. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  845. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  846. } else {
  847. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  848. }
  849. if (position >= nextSourcePosition) {
  850. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  851. nextSourcePosition = position + matched.length;
  852. }
  853. }
  854. return accumulatedResult + S.slice(nextSourcePosition);
  855. }
  856. ];
  857. // https://tc39.github.io/ecma262/#sec-getsubstitution
  858. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  859. var tailPos = position + matched.length;
  860. var m = captures.length;
  861. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  862. if (namedCaptures !== undefined) {
  863. namedCaptures = toObject(namedCaptures);
  864. symbols = SUBSTITUTION_SYMBOLS;
  865. }
  866. return nativeReplace.call(replacement, symbols, function (match, ch) {
  867. var capture;
  868. switch (ch.charAt(0)) {
  869. case '$': return '$';
  870. case '&': return matched;
  871. case '`': return str.slice(0, position);
  872. case "'": return str.slice(tailPos);
  873. case '<':
  874. capture = namedCaptures[ch.slice(1, -1)];
  875. break;
  876. default: // \d\d?
  877. var n = +ch;
  878. if (n === 0) return match;
  879. if (n > m) {
  880. var f = floor(n / 10);
  881. if (f === 0) return match;
  882. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  883. return match;
  884. }
  885. capture = captures[n - 1];
  886. }
  887. return capture === undefined ? '' : capture;
  888. });
  889. }
  890. });
  891. /***/ }),
  892. /***/ "5692":
  893. /***/ (function(module, exports, __webpack_require__) {
  894. var IS_PURE = __webpack_require__("c430");
  895. var store = __webpack_require__("c6cd");
  896. (module.exports = function (key, value) {
  897. return store[key] || (store[key] = value !== undefined ? value : {});
  898. })('versions', []).push({
  899. version: '3.6.5',
  900. mode: IS_PURE ? 'pure' : 'global',
  901. copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
  902. });
  903. /***/ }),
  904. /***/ "56ef":
  905. /***/ (function(module, exports, __webpack_require__) {
  906. var getBuiltIn = __webpack_require__("d066");
  907. var getOwnPropertyNamesModule = __webpack_require__("241c");
  908. var getOwnPropertySymbolsModule = __webpack_require__("7418");
  909. var anObject = __webpack_require__("825a");
  910. // all object keys, includes non-enumerable and symbols
  911. module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  912. var keys = getOwnPropertyNamesModule.f(anObject(it));
  913. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  914. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  915. };
  916. /***/ }),
  917. /***/ "5a34":
  918. /***/ (function(module, exports, __webpack_require__) {
  919. var isRegExp = __webpack_require__("44e7");
  920. module.exports = function (it) {
  921. if (isRegExp(it)) {
  922. throw TypeError("The method doesn't accept regular expressions");
  923. } return it;
  924. };
  925. /***/ }),
  926. /***/ "5c6c":
  927. /***/ (function(module, exports) {
  928. module.exports = function (bitmap, value) {
  929. return {
  930. enumerable: !(bitmap & 1),
  931. configurable: !(bitmap & 2),
  932. writable: !(bitmap & 4),
  933. value: value
  934. };
  935. };
  936. /***/ }),
  937. /***/ "5db7":
  938. /***/ (function(module, exports, __webpack_require__) {
  939. "use strict";
  940. var $ = __webpack_require__("23e7");
  941. var flattenIntoArray = __webpack_require__("a2bf");
  942. var toObject = __webpack_require__("7b0b");
  943. var toLength = __webpack_require__("50c4");
  944. var aFunction = __webpack_require__("1c0b");
  945. var arraySpeciesCreate = __webpack_require__("65f0");
  946. // `Array.prototype.flatMap` method
  947. // https://github.com/tc39/proposal-flatMap
  948. $({ target: 'Array', proto: true }, {
  949. flatMap: function flatMap(callbackfn /* , thisArg */) {
  950. var O = toObject(this);
  951. var sourceLen = toLength(O.length);
  952. var A;
  953. aFunction(callbackfn);
  954. A = arraySpeciesCreate(O, 0);
  955. A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  956. return A;
  957. }
  958. });
  959. /***/ }),
  960. /***/ "6547":
  961. /***/ (function(module, exports, __webpack_require__) {
  962. var toInteger = __webpack_require__("a691");
  963. var requireObjectCoercible = __webpack_require__("1d80");
  964. // `String.prototype.{ codePointAt, at }` methods implementation
  965. var createMethod = function (CONVERT_TO_STRING) {
  966. return function ($this, pos) {
  967. var S = String(requireObjectCoercible($this));
  968. var position = toInteger(pos);
  969. var size = S.length;
  970. var first, second;
  971. if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
  972. first = S.charCodeAt(position);
  973. return first < 0xD800 || first > 0xDBFF || position + 1 === size
  974. || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
  975. ? CONVERT_TO_STRING ? S.charAt(position) : first
  976. : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
  977. };
  978. };
  979. module.exports = {
  980. // `String.prototype.codePointAt` method
  981. // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
  982. codeAt: createMethod(false),
  983. // `String.prototype.at` method
  984. // https://github.com/mathiasbynens/String.prototype.at
  985. charAt: createMethod(true)
  986. };
  987. /***/ }),
  988. /***/ "65f0":
  989. /***/ (function(module, exports, __webpack_require__) {
  990. var isObject = __webpack_require__("861d");
  991. var isArray = __webpack_require__("e8b5");
  992. var wellKnownSymbol = __webpack_require__("b622");
  993. var SPECIES = wellKnownSymbol('species');
  994. // `ArraySpeciesCreate` abstract operation
  995. // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
  996. module.exports = function (originalArray, length) {
  997. var C;
  998. if (isArray(originalArray)) {
  999. C = originalArray.constructor;
  1000. // cross-realm fallback
  1001. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  1002. else if (isObject(C)) {
  1003. C = C[SPECIES];
  1004. if (C === null) C = undefined;
  1005. }
  1006. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  1007. };
  1008. /***/ }),
  1009. /***/ "69f3":
  1010. /***/ (function(module, exports, __webpack_require__) {
  1011. var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
  1012. var global = __webpack_require__("da84");
  1013. var isObject = __webpack_require__("861d");
  1014. var createNonEnumerableProperty = __webpack_require__("9112");
  1015. var objectHas = __webpack_require__("5135");
  1016. var sharedKey = __webpack_require__("f772");
  1017. var hiddenKeys = __webpack_require__("d012");
  1018. var WeakMap = global.WeakMap;
  1019. var set, get, has;
  1020. var enforce = function (it) {
  1021. return has(it) ? get(it) : set(it, {});
  1022. };
  1023. var getterFor = function (TYPE) {
  1024. return function (it) {
  1025. var state;
  1026. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  1027. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  1028. } return state;
  1029. };
  1030. };
  1031. if (NATIVE_WEAK_MAP) {
  1032. var store = new WeakMap();
  1033. var wmget = store.get;
  1034. var wmhas = store.has;
  1035. var wmset = store.set;
  1036. set = function (it, metadata) {
  1037. wmset.call(store, it, metadata);
  1038. return metadata;
  1039. };
  1040. get = function (it) {
  1041. return wmget.call(store, it) || {};
  1042. };
  1043. has = function (it) {
  1044. return wmhas.call(store, it);
  1045. };
  1046. } else {
  1047. var STATE = sharedKey('state');
  1048. hiddenKeys[STATE] = true;
  1049. set = function (it, metadata) {
  1050. createNonEnumerableProperty(it, STATE, metadata);
  1051. return metadata;
  1052. };
  1053. get = function (it) {
  1054. return objectHas(it, STATE) ? it[STATE] : {};
  1055. };
  1056. has = function (it) {
  1057. return objectHas(it, STATE);
  1058. };
  1059. }
  1060. module.exports = {
  1061. set: set,
  1062. get: get,
  1063. has: has,
  1064. enforce: enforce,
  1065. getterFor: getterFor
  1066. };
  1067. /***/ }),
  1068. /***/ "6eeb":
  1069. /***/ (function(module, exports, __webpack_require__) {
  1070. var global = __webpack_require__("da84");
  1071. var createNonEnumerableProperty = __webpack_require__("9112");
  1072. var has = __webpack_require__("5135");
  1073. var setGlobal = __webpack_require__("ce4e");
  1074. var inspectSource = __webpack_require__("8925");
  1075. var InternalStateModule = __webpack_require__("69f3");
  1076. var getInternalState = InternalStateModule.get;
  1077. var enforceInternalState = InternalStateModule.enforce;
  1078. var TEMPLATE = String(String).split('String');
  1079. (module.exports = function (O, key, value, options) {
  1080. var unsafe = options ? !!options.unsafe : false;
  1081. var simple = options ? !!options.enumerable : false;
  1082. var noTargetGet = options ? !!options.noTargetGet : false;
  1083. if (typeof value == 'function') {
  1084. if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
  1085. enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
  1086. }
  1087. if (O === global) {
  1088. if (simple) O[key] = value;
  1089. else setGlobal(key, value);
  1090. return;
  1091. } else if (!unsafe) {
  1092. delete O[key];
  1093. } else if (!noTargetGet && O[key]) {
  1094. simple = true;
  1095. }
  1096. if (simple) O[key] = value;
  1097. else createNonEnumerableProperty(O, key, value);
  1098. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  1099. })(Function.prototype, 'toString', function toString() {
  1100. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  1101. });
  1102. /***/ }),
  1103. /***/ "6f53":
  1104. /***/ (function(module, exports, __webpack_require__) {
  1105. var DESCRIPTORS = __webpack_require__("83ab");
  1106. var objectKeys = __webpack_require__("df75");
  1107. var toIndexedObject = __webpack_require__("fc6a");
  1108. var propertyIsEnumerable = __webpack_require__("d1e7").f;
  1109. // `Object.{ entries, values }` methods implementation
  1110. var createMethod = function (TO_ENTRIES) {
  1111. return function (it) {
  1112. var O = toIndexedObject(it);
  1113. var keys = objectKeys(O);
  1114. var length = keys.length;
  1115. var i = 0;
  1116. var result = [];
  1117. var key;
  1118. while (length > i) {
  1119. key = keys[i++];
  1120. if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {
  1121. result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
  1122. }
  1123. }
  1124. return result;
  1125. };
  1126. };
  1127. module.exports = {
  1128. // `Object.entries` method
  1129. // https://tc39.github.io/ecma262/#sec-object.entries
  1130. entries: createMethod(true),
  1131. // `Object.values` method
  1132. // https://tc39.github.io/ecma262/#sec-object.values
  1133. values: createMethod(false)
  1134. };
  1135. /***/ }),
  1136. /***/ "73d9":
  1137. /***/ (function(module, exports, __webpack_require__) {
  1138. // this method was added to unscopables after implementation
  1139. // in popular engines, so it's moved to a separate module
  1140. var addToUnscopables = __webpack_require__("44d2");
  1141. addToUnscopables('flatMap');
  1142. /***/ }),
  1143. /***/ "7418":
  1144. /***/ (function(module, exports) {
  1145. exports.f = Object.getOwnPropertySymbols;
  1146. /***/ }),
  1147. /***/ "746f":
  1148. /***/ (function(module, exports, __webpack_require__) {
  1149. var path = __webpack_require__("428f");
  1150. var has = __webpack_require__("5135");
  1151. var wrappedWellKnownSymbolModule = __webpack_require__("e538");
  1152. var defineProperty = __webpack_require__("9bf2").f;
  1153. module.exports = function (NAME) {
  1154. var Symbol = path.Symbol || (path.Symbol = {});
  1155. if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
  1156. value: wrappedWellKnownSymbolModule.f(NAME)
  1157. });
  1158. };
  1159. /***/ }),
  1160. /***/ "7839":
  1161. /***/ (function(module, exports) {
  1162. // IE8- don't enum bug keys
  1163. module.exports = [
  1164. 'constructor',
  1165. 'hasOwnProperty',
  1166. 'isPrototypeOf',
  1167. 'propertyIsEnumerable',
  1168. 'toLocaleString',
  1169. 'toString',
  1170. 'valueOf'
  1171. ];
  1172. /***/ }),
  1173. /***/ "7b0b":
  1174. /***/ (function(module, exports, __webpack_require__) {
  1175. var requireObjectCoercible = __webpack_require__("1d80");
  1176. // `ToObject` abstract operation
  1177. // https://tc39.github.io/ecma262/#sec-toobject
  1178. module.exports = function (argument) {
  1179. return Object(requireObjectCoercible(argument));
  1180. };
  1181. /***/ }),
  1182. /***/ "7c73":
  1183. /***/ (function(module, exports, __webpack_require__) {
  1184. var anObject = __webpack_require__("825a");
  1185. var defineProperties = __webpack_require__("37e8");
  1186. var enumBugKeys = __webpack_require__("7839");
  1187. var hiddenKeys = __webpack_require__("d012");
  1188. var html = __webpack_require__("1be4");
  1189. var documentCreateElement = __webpack_require__("cc12");
  1190. var sharedKey = __webpack_require__("f772");
  1191. var GT = '>';
  1192. var LT = '<';
  1193. var PROTOTYPE = 'prototype';
  1194. var SCRIPT = 'script';
  1195. var IE_PROTO = sharedKey('IE_PROTO');
  1196. var EmptyConstructor = function () { /* empty */ };
  1197. var scriptTag = function (content) {
  1198. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  1199. };
  1200. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  1201. var NullProtoObjectViaActiveX = function (activeXDocument) {
  1202. activeXDocument.write(scriptTag(''));
  1203. activeXDocument.close();
  1204. var temp = activeXDocument.parentWindow.Object;
  1205. activeXDocument = null; // avoid memory leak
  1206. return temp;
  1207. };
  1208. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1209. var NullProtoObjectViaIFrame = function () {
  1210. // Thrash, waste and sodomy: IE GC bug
  1211. var iframe = documentCreateElement('iframe');
  1212. var JS = 'java' + SCRIPT + ':';
  1213. var iframeDocument;
  1214. iframe.style.display = 'none';
  1215. html.appendChild(iframe);
  1216. // https://github.com/zloirock/core-js/issues/475
  1217. iframe.src = String(JS);
  1218. iframeDocument = iframe.contentWindow.document;
  1219. iframeDocument.open();
  1220. iframeDocument.write(scriptTag('document.F=Object'));
  1221. iframeDocument.close();
  1222. return iframeDocument.F;
  1223. };
  1224. // Check for document.domain and active x support
  1225. // No need to use active x approach when document.domain is not set
  1226. // see https://github.com/es-shims/es5-shim/issues/150
  1227. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1228. // avoid IE GC bug
  1229. var activeXDocument;
  1230. var NullProtoObject = function () {
  1231. try {
  1232. /* global ActiveXObject */
  1233. activeXDocument = document.domain && new ActiveXObject('htmlfile');
  1234. } catch (error) { /* ignore */ }
  1235. NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
  1236. var length = enumBugKeys.length;
  1237. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1238. return NullProtoObject();
  1239. };
  1240. hiddenKeys[IE_PROTO] = true;
  1241. // `Object.create` method
  1242. // https://tc39.github.io/ecma262/#sec-object.create
  1243. module.exports = Object.create || function create(O, Properties) {
  1244. var result;
  1245. if (O !== null) {
  1246. EmptyConstructor[PROTOTYPE] = anObject(O);
  1247. result = new EmptyConstructor();
  1248. EmptyConstructor[PROTOTYPE] = null;
  1249. // add "__proto__" for Object.getPrototypeOf polyfill
  1250. result[IE_PROTO] = O;
  1251. } else result = NullProtoObject();
  1252. return Properties === undefined ? result : defineProperties(result, Properties);
  1253. };
  1254. /***/ }),
  1255. /***/ "7dd0":
  1256. /***/ (function(module, exports, __webpack_require__) {
  1257. "use strict";
  1258. var $ = __webpack_require__("23e7");
  1259. var createIteratorConstructor = __webpack_require__("9ed3");
  1260. var getPrototypeOf = __webpack_require__("e163");
  1261. var setPrototypeOf = __webpack_require__("d2bb");
  1262. var setToStringTag = __webpack_require__("d44e");
  1263. var createNonEnumerableProperty = __webpack_require__("9112");
  1264. var redefine = __webpack_require__("6eeb");
  1265. var wellKnownSymbol = __webpack_require__("b622");
  1266. var IS_PURE = __webpack_require__("c430");
  1267. var Iterators = __webpack_require__("3f8c");
  1268. var IteratorsCore = __webpack_require__("ae93");
  1269. var IteratorPrototype = IteratorsCore.IteratorPrototype;
  1270. var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
  1271. var ITERATOR = wellKnownSymbol('iterator');
  1272. var KEYS = 'keys';
  1273. var VALUES = 'values';
  1274. var ENTRIES = 'entries';
  1275. var returnThis = function () { return this; };
  1276. module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
  1277. createIteratorConstructor(IteratorConstructor, NAME, next);
  1278. var getIterationMethod = function (KIND) {
  1279. if (KIND === DEFAULT && defaultIterator) return defaultIterator;
  1280. if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
  1281. switch (KIND) {
  1282. case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
  1283. case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
  1284. case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
  1285. } return function () { return new IteratorConstructor(this); };
  1286. };
  1287. var TO_STRING_TAG = NAME + ' Iterator';
  1288. var INCORRECT_VALUES_NAME = false;
  1289. var IterablePrototype = Iterable.prototype;
  1290. var nativeIterator = IterablePrototype[ITERATOR]
  1291. || IterablePrototype['@@iterator']
  1292. || DEFAULT && IterablePrototype[DEFAULT];
  1293. var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
  1294. var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
  1295. var CurrentIteratorPrototype, methods, KEY;
  1296. // fix native
  1297. if (anyNativeIterator) {
  1298. CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
  1299. if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
  1300. if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
  1301. if (setPrototypeOf) {
  1302. setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
  1303. } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
  1304. createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
  1305. }
  1306. }
  1307. // Set @@toStringTag to native iterators
  1308. setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
  1309. if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
  1310. }
  1311. }
  1312. // fix Array#{values, @@iterator}.name in V8 / FF
  1313. if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
  1314. INCORRECT_VALUES_NAME = true;
  1315. defaultIterator = function values() { return nativeIterator.call(this); };
  1316. }
  1317. // define iterator
  1318. if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
  1319. createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
  1320. }
  1321. Iterators[NAME] = defaultIterator;
  1322. // export additional methods
  1323. if (DEFAULT) {
  1324. methods = {
  1325. values: getIterationMethod(VALUES),
  1326. keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
  1327. entries: getIterationMethod(ENTRIES)
  1328. };
  1329. if (FORCED) for (KEY in methods) {
  1330. if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
  1331. redefine(IterablePrototype, KEY, methods[KEY]);
  1332. }
  1333. } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
  1334. }
  1335. return methods;
  1336. };
  1337. /***/ }),
  1338. /***/ "7f9a":
  1339. /***/ (function(module, exports, __webpack_require__) {
  1340. var global = __webpack_require__("da84");
  1341. var inspectSource = __webpack_require__("8925");
  1342. var WeakMap = global.WeakMap;
  1343. module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
  1344. /***/ }),
  1345. /***/ "825a":
  1346. /***/ (function(module, exports, __webpack_require__) {
  1347. var isObject = __webpack_require__("861d");
  1348. module.exports = function (it) {
  1349. if (!isObject(it)) {
  1350. throw TypeError(String(it) + ' is not an object');
  1351. } return it;
  1352. };
  1353. /***/ }),
  1354. /***/ "83ab":
  1355. /***/ (function(module, exports, __webpack_require__) {
  1356. var fails = __webpack_require__("d039");
  1357. // Thank's IE8 for his funny defineProperty
  1358. module.exports = !fails(function () {
  1359. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  1360. });
  1361. /***/ }),
  1362. /***/ "8418":
  1363. /***/ (function(module, exports, __webpack_require__) {
  1364. "use strict";
  1365. var toPrimitive = __webpack_require__("c04e");
  1366. var definePropertyModule = __webpack_require__("9bf2");
  1367. var createPropertyDescriptor = __webpack_require__("5c6c");
  1368. module.exports = function (object, key, value) {
  1369. var propertyKey = toPrimitive(key);
  1370. if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
  1371. else object[propertyKey] = value;
  1372. };
  1373. /***/ }),
  1374. /***/ "861d":
  1375. /***/ (function(module, exports) {
  1376. module.exports = function (it) {
  1377. return typeof it === 'object' ? it !== null : typeof it === 'function';
  1378. };
  1379. /***/ }),
  1380. /***/ "8875":
  1381. /***/ (function(module, exports, __webpack_require__) {
  1382. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
  1383. // MIT license
  1384. // source: https://github.com/amiller-gh/currentScript-polyfill
  1385. // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
  1386. (function (root, factory) {
  1387. if (true) {
  1388. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1389. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1390. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1391. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  1392. } else {}
  1393. }(typeof self !== 'undefined' ? self : this, function () {
  1394. function getCurrentScript () {
  1395. var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
  1396. // for chrome
  1397. if (!descriptor && 'currentScript' in document && document.currentScript) {
  1398. return document.currentScript
  1399. }
  1400. // for other browsers with native support for currentScript
  1401. if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
  1402. return document.currentScript
  1403. }
  1404. // IE 8-10 support script readyState
  1405. // IE 11+ & Firefox support stack trace
  1406. try {
  1407. throw new Error();
  1408. }
  1409. catch (err) {
  1410. // Find the second match for the "at" string to get file src url from stack.
  1411. var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
  1412. ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
  1413. stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
  1414. scriptLocation = (stackDetails && stackDetails[1]) || false,
  1415. line = (stackDetails && stackDetails[2]) || false,
  1416. currentLocation = document.location.href.replace(document.location.hash, ''),
  1417. pageSource,
  1418. inlineScriptSourceRegExp,
  1419. inlineScriptSource,
  1420. scripts = document.getElementsByTagName('script'); // Live NodeList collection
  1421. if (scriptLocation === currentLocation) {
  1422. pageSource = document.documentElement.outerHTML;
  1423. inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
  1424. inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
  1425. }
  1426. for (var i = 0; i < scripts.length; i++) {
  1427. // If ready state is interactive, return the script tag
  1428. if (scripts[i].readyState === 'interactive') {
  1429. return scripts[i];
  1430. }
  1431. // If src matches, return the script tag
  1432. if (scripts[i].src === scriptLocation) {
  1433. return scripts[i];
  1434. }
  1435. // If inline source matches, return the script tag
  1436. if (
  1437. scriptLocation === currentLocation &&
  1438. scripts[i].innerHTML &&
  1439. scripts[i].innerHTML.trim() === inlineScriptSource
  1440. ) {
  1441. return scripts[i];
  1442. }
  1443. }
  1444. // If no match, return null
  1445. return null;
  1446. }
  1447. };
  1448. return getCurrentScript
  1449. }));
  1450. /***/ }),
  1451. /***/ "8925":
  1452. /***/ (function(module, exports, __webpack_require__) {
  1453. var store = __webpack_require__("c6cd");
  1454. var functionToString = Function.toString;
  1455. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  1456. if (typeof store.inspectSource != 'function') {
  1457. store.inspectSource = function (it) {
  1458. return functionToString.call(it);
  1459. };
  1460. }
  1461. module.exports = store.inspectSource;
  1462. /***/ }),
  1463. /***/ "8aa5":
  1464. /***/ (function(module, exports, __webpack_require__) {
  1465. "use strict";
  1466. var charAt = __webpack_require__("6547").charAt;
  1467. // `AdvanceStringIndex` abstract operation
  1468. // https://tc39.github.io/ecma262/#sec-advancestringindex
  1469. module.exports = function (S, index, unicode) {
  1470. return index + (unicode ? charAt(S, index).length : 1);
  1471. };
  1472. /***/ }),
  1473. /***/ "8bbf":
  1474. /***/ (function(module, exports) {
  1475. module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
  1476. /***/ }),
  1477. /***/ "90e3":
  1478. /***/ (function(module, exports) {
  1479. var id = 0;
  1480. var postfix = Math.random();
  1481. module.exports = function (key) {
  1482. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  1483. };
  1484. /***/ }),
  1485. /***/ "9112":
  1486. /***/ (function(module, exports, __webpack_require__) {
  1487. var DESCRIPTORS = __webpack_require__("83ab");
  1488. var definePropertyModule = __webpack_require__("9bf2");
  1489. var createPropertyDescriptor = __webpack_require__("5c6c");
  1490. module.exports = DESCRIPTORS ? function (object, key, value) {
  1491. return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
  1492. } : function (object, key, value) {
  1493. object[key] = value;
  1494. return object;
  1495. };
  1496. /***/ }),
  1497. /***/ "9263":
  1498. /***/ (function(module, exports, __webpack_require__) {
  1499. "use strict";
  1500. var regexpFlags = __webpack_require__("ad6d");
  1501. var stickyHelpers = __webpack_require__("9f7f");
  1502. var nativeExec = RegExp.prototype.exec;
  1503. // This always refers to the native implementation, because the
  1504. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  1505. // which loads this file before patching the method.
  1506. var nativeReplace = String.prototype.replace;
  1507. var patchedExec = nativeExec;
  1508. var UPDATES_LAST_INDEX_WRONG = (function () {
  1509. var re1 = /a/;
  1510. var re2 = /b*/g;
  1511. nativeExec.call(re1, 'a');
  1512. nativeExec.call(re2, 'a');
  1513. return re1.lastIndex !== 0 || re2.lastIndex !== 0;
  1514. })();
  1515. var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
  1516. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  1517. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  1518. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
  1519. if (PATCH) {
  1520. patchedExec = function exec(str) {
  1521. var re = this;
  1522. var lastIndex, reCopy, match, i;
  1523. var sticky = UNSUPPORTED_Y && re.sticky;
  1524. var flags = regexpFlags.call(re);
  1525. var source = re.source;
  1526. var charsAdded = 0;
  1527. var strCopy = str;
  1528. if (sticky) {
  1529. flags = flags.replace('y', '');
  1530. if (flags.indexOf('g') === -1) {
  1531. flags += 'g';
  1532. }
  1533. strCopy = String(str).slice(re.lastIndex);
  1534. // Support anchored sticky behavior.
  1535. if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
  1536. source = '(?: ' + source + ')';
  1537. strCopy = ' ' + strCopy;
  1538. charsAdded++;
  1539. }
  1540. // ^(? + rx + ) is needed, in combination with some str slicing, to
  1541. // simulate the 'y' flag.
  1542. reCopy = new RegExp('^(?:' + source + ')', flags);
  1543. }
  1544. if (NPCG_INCLUDED) {
  1545. reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
  1546. }
  1547. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
  1548. match = nativeExec.call(sticky ? reCopy : re, strCopy);
  1549. if (sticky) {
  1550. if (match) {
  1551. match.input = match.input.slice(charsAdded);
  1552. match[0] = match[0].slice(charsAdded);
  1553. match.index = re.lastIndex;
  1554. re.lastIndex += match[0].length;
  1555. } else re.lastIndex = 0;
  1556. } else if (UPDATES_LAST_INDEX_WRONG && match) {
  1557. re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
  1558. }
  1559. if (NPCG_INCLUDED && match && match.length > 1) {
  1560. // Fix browsers whose `exec` methods don't consistently return `undefined`
  1561. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  1562. nativeReplace.call(match[0], reCopy, function () {
  1563. for (i = 1; i < arguments.length - 2; i++) {
  1564. if (arguments[i] === undefined) match[i] = undefined;
  1565. }
  1566. });
  1567. }
  1568. return match;
  1569. };
  1570. }
  1571. module.exports = patchedExec;
  1572. /***/ }),
  1573. /***/ "94ca":
  1574. /***/ (function(module, exports, __webpack_require__) {
  1575. var fails = __webpack_require__("d039");
  1576. var replacement = /#|\.prototype\./;
  1577. var isForced = function (feature, detection) {
  1578. var value = data[normalize(feature)];
  1579. return value == POLYFILL ? true
  1580. : value == NATIVE ? false
  1581. : typeof detection == 'function' ? fails(detection)
  1582. : !!detection;
  1583. };
  1584. var normalize = isForced.normalize = function (string) {
  1585. return String(string).replace(replacement, '.').toLowerCase();
  1586. };
  1587. var data = isForced.data = {};
  1588. var NATIVE = isForced.NATIVE = 'N';
  1589. var POLYFILL = isForced.POLYFILL = 'P';
  1590. module.exports = isForced;
  1591. /***/ }),
  1592. /***/ "99af":
  1593. /***/ (function(module, exports, __webpack_require__) {
  1594. "use strict";
  1595. var $ = __webpack_require__("23e7");
  1596. var fails = __webpack_require__("d039");
  1597. var isArray = __webpack_require__("e8b5");
  1598. var isObject = __webpack_require__("861d");
  1599. var toObject = __webpack_require__("7b0b");
  1600. var toLength = __webpack_require__("50c4");
  1601. var createProperty = __webpack_require__("8418");
  1602. var arraySpeciesCreate = __webpack_require__("65f0");
  1603. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  1604. var wellKnownSymbol = __webpack_require__("b622");
  1605. var V8_VERSION = __webpack_require__("2d00");
  1606. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  1607. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  1608. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  1609. // We can't use this feature detection in V8 since it causes
  1610. // deoptimization and serious performance degradation
  1611. // https://github.com/zloirock/core-js/issues/679
  1612. var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
  1613. var array = [];
  1614. array[IS_CONCAT_SPREADABLE] = false;
  1615. return array.concat()[0] !== array;
  1616. });
  1617. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  1618. var isConcatSpreadable = function (O) {
  1619. if (!isObject(O)) return false;
  1620. var spreadable = O[IS_CONCAT_SPREADABLE];
  1621. return spreadable !== undefined ? !!spreadable : isArray(O);
  1622. };
  1623. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  1624. // `Array.prototype.concat` method
  1625. // https://tc39.github.io/ecma262/#sec-array.prototype.concat
  1626. // with adding support of @@isConcatSpreadable and @@species
  1627. $({ target: 'Array', proto: true, forced: FORCED }, {
  1628. concat: function concat(arg) { // eslint-disable-line no-unused-vars
  1629. var O = toObject(this);
  1630. var A = arraySpeciesCreate(O, 0);
  1631. var n = 0;
  1632. var i, k, length, len, E;
  1633. for (i = -1, length = arguments.length; i < length; i++) {
  1634. E = i === -1 ? O : arguments[i];
  1635. if (isConcatSpreadable(E)) {
  1636. len = toLength(E.length);
  1637. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1638. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  1639. } else {
  1640. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1641. createProperty(A, n++, E);
  1642. }
  1643. }
  1644. A.length = n;
  1645. return A;
  1646. }
  1647. });
  1648. /***/ }),
  1649. /***/ "9bdd":
  1650. /***/ (function(module, exports, __webpack_require__) {
  1651. var anObject = __webpack_require__("825a");
  1652. // call something on iterator step with safe closing on error
  1653. module.exports = function (iterator, fn, value, ENTRIES) {
  1654. try {
  1655. return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
  1656. // 7.4.6 IteratorClose(iterator, completion)
  1657. } catch (error) {
  1658. var returnMethod = iterator['return'];
  1659. if (returnMethod !== undefined) anObject(returnMethod.call(iterator));
  1660. throw error;
  1661. }
  1662. };
  1663. /***/ }),
  1664. /***/ "9bf2":
  1665. /***/ (function(module, exports, __webpack_require__) {
  1666. var DESCRIPTORS = __webpack_require__("83ab");
  1667. var IE8_DOM_DEFINE = __webpack_require__("0cfb");
  1668. var anObject = __webpack_require__("825a");
  1669. var toPrimitive = __webpack_require__("c04e");
  1670. var nativeDefineProperty = Object.defineProperty;
  1671. // `Object.defineProperty` method
  1672. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  1673. exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
  1674. anObject(O);
  1675. P = toPrimitive(P, true);
  1676. anObject(Attributes);
  1677. if (IE8_DOM_DEFINE) try {
  1678. return nativeDefineProperty(O, P, Attributes);
  1679. } catch (error) { /* empty */ }
  1680. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  1681. if ('value' in Attributes) O[P] = Attributes.value;
  1682. return O;
  1683. };
  1684. /***/ }),
  1685. /***/ "9ed3":
  1686. /***/ (function(module, exports, __webpack_require__) {
  1687. "use strict";
  1688. var IteratorPrototype = __webpack_require__("ae93").IteratorPrototype;
  1689. var create = __webpack_require__("7c73");
  1690. var createPropertyDescriptor = __webpack_require__("5c6c");
  1691. var setToStringTag = __webpack_require__("d44e");
  1692. var Iterators = __webpack_require__("3f8c");
  1693. var returnThis = function () { return this; };
  1694. module.exports = function (IteratorConstructor, NAME, next) {
  1695. var TO_STRING_TAG = NAME + ' Iterator';
  1696. IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
  1697. setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
  1698. Iterators[TO_STRING_TAG] = returnThis;
  1699. return IteratorConstructor;
  1700. };
  1701. /***/ }),
  1702. /***/ "9f7f":
  1703. /***/ (function(module, exports, __webpack_require__) {
  1704. "use strict";
  1705. var fails = __webpack_require__("d039");
  1706. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
  1707. // so we use an intermediate function.
  1708. function RE(s, f) {
  1709. return RegExp(s, f);
  1710. }
  1711. exports.UNSUPPORTED_Y = fails(function () {
  1712. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
  1713. var re = RE('a', 'y');
  1714. re.lastIndex = 2;
  1715. return re.exec('abcd') != null;
  1716. });
  1717. exports.BROKEN_CARET = fails(function () {
  1718. // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
  1719. var re = RE('^r', 'gy');
  1720. re.lastIndex = 2;
  1721. return re.exec('str') != null;
  1722. });
  1723. /***/ }),
  1724. /***/ "a2bf":
  1725. /***/ (function(module, exports, __webpack_require__) {
  1726. "use strict";
  1727. var isArray = __webpack_require__("e8b5");
  1728. var toLength = __webpack_require__("50c4");
  1729. var bind = __webpack_require__("0366");
  1730. // `FlattenIntoArray` abstract operation
  1731. // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
  1732. var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
  1733. var targetIndex = start;
  1734. var sourceIndex = 0;
  1735. var mapFn = mapper ? bind(mapper, thisArg, 3) : false;
  1736. var element;
  1737. while (sourceIndex < sourceLen) {
  1738. if (sourceIndex in source) {
  1739. element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
  1740. if (depth > 0 && isArray(element)) {
  1741. targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
  1742. } else {
  1743. if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');
  1744. target[targetIndex] = element;
  1745. }
  1746. targetIndex++;
  1747. }
  1748. sourceIndex++;
  1749. }
  1750. return targetIndex;
  1751. };
  1752. module.exports = flattenIntoArray;
  1753. /***/ }),
  1754. /***/ "a352":
  1755. /***/ (function(module, exports) {
  1756. module.exports = __WEBPACK_EXTERNAL_MODULE_a352__;
  1757. /***/ }),
  1758. /***/ "a434":
  1759. /***/ (function(module, exports, __webpack_require__) {
  1760. "use strict";
  1761. var $ = __webpack_require__("23e7");
  1762. var toAbsoluteIndex = __webpack_require__("23cb");
  1763. var toInteger = __webpack_require__("a691");
  1764. var toLength = __webpack_require__("50c4");
  1765. var toObject = __webpack_require__("7b0b");
  1766. var arraySpeciesCreate = __webpack_require__("65f0");
  1767. var createProperty = __webpack_require__("8418");
  1768. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  1769. var arrayMethodUsesToLength = __webpack_require__("ae40");
  1770. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
  1771. var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
  1772. var max = Math.max;
  1773. var min = Math.min;
  1774. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  1775. var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
  1776. // `Array.prototype.splice` method
  1777. // https://tc39.github.io/ecma262/#sec-array.prototype.splice
  1778. // with adding support of @@species
  1779. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  1780. splice: function splice(start, deleteCount /* , ...items */) {
  1781. var O = toObject(this);
  1782. var len = toLength(O.length);
  1783. var actualStart = toAbsoluteIndex(start, len);
  1784. var argumentsLength = arguments.length;
  1785. var insertCount, actualDeleteCount, A, k, from, to;
  1786. if (argumentsLength === 0) {
  1787. insertCount = actualDeleteCount = 0;
  1788. } else if (argumentsLength === 1) {
  1789. insertCount = 0;
  1790. actualDeleteCount = len - actualStart;
  1791. } else {
  1792. insertCount = argumentsLength - 2;
  1793. actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
  1794. }
  1795. if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
  1796. throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
  1797. }
  1798. A = arraySpeciesCreate(O, actualDeleteCount);
  1799. for (k = 0; k < actualDeleteCount; k++) {
  1800. from = actualStart + k;
  1801. if (from in O) createProperty(A, k, O[from]);
  1802. }
  1803. A.length = actualDeleteCount;
  1804. if (insertCount < actualDeleteCount) {
  1805. for (k = actualStart; k < len - actualDeleteCount; k++) {
  1806. from = k + actualDeleteCount;
  1807. to = k + insertCount;
  1808. if (from in O) O[to] = O[from];
  1809. else delete O[to];
  1810. }
  1811. for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
  1812. } else if (insertCount > actualDeleteCount) {
  1813. for (k = len - actualDeleteCount; k > actualStart; k--) {
  1814. from = k + actualDeleteCount - 1;
  1815. to = k + insertCount - 1;
  1816. if (from in O) O[to] = O[from];
  1817. else delete O[to];
  1818. }
  1819. }
  1820. for (k = 0; k < insertCount; k++) {
  1821. O[k + actualStart] = arguments[k + 2];
  1822. }
  1823. O.length = len - actualDeleteCount + insertCount;
  1824. return A;
  1825. }
  1826. });
  1827. /***/ }),
  1828. /***/ "a4d3":
  1829. /***/ (function(module, exports, __webpack_require__) {
  1830. "use strict";
  1831. var $ = __webpack_require__("23e7");
  1832. var global = __webpack_require__("da84");
  1833. var getBuiltIn = __webpack_require__("d066");
  1834. var IS_PURE = __webpack_require__("c430");
  1835. var DESCRIPTORS = __webpack_require__("83ab");
  1836. var NATIVE_SYMBOL = __webpack_require__("4930");
  1837. var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
  1838. var fails = __webpack_require__("d039");
  1839. var has = __webpack_require__("5135");
  1840. var isArray = __webpack_require__("e8b5");
  1841. var isObject = __webpack_require__("861d");
  1842. var anObject = __webpack_require__("825a");
  1843. var toObject = __webpack_require__("7b0b");
  1844. var toIndexedObject = __webpack_require__("fc6a");
  1845. var toPrimitive = __webpack_require__("c04e");
  1846. var createPropertyDescriptor = __webpack_require__("5c6c");
  1847. var nativeObjectCreate = __webpack_require__("7c73");
  1848. var objectKeys = __webpack_require__("df75");
  1849. var getOwnPropertyNamesModule = __webpack_require__("241c");
  1850. var getOwnPropertyNamesExternal = __webpack_require__("057f");
  1851. var getOwnPropertySymbolsModule = __webpack_require__("7418");
  1852. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  1853. var definePropertyModule = __webpack_require__("9bf2");
  1854. var propertyIsEnumerableModule = __webpack_require__("d1e7");
  1855. var createNonEnumerableProperty = __webpack_require__("9112");
  1856. var redefine = __webpack_require__("6eeb");
  1857. var shared = __webpack_require__("5692");
  1858. var sharedKey = __webpack_require__("f772");
  1859. var hiddenKeys = __webpack_require__("d012");
  1860. var uid = __webpack_require__("90e3");
  1861. var wellKnownSymbol = __webpack_require__("b622");
  1862. var wrappedWellKnownSymbolModule = __webpack_require__("e538");
  1863. var defineWellKnownSymbol = __webpack_require__("746f");
  1864. var setToStringTag = __webpack_require__("d44e");
  1865. var InternalStateModule = __webpack_require__("69f3");
  1866. var $forEach = __webpack_require__("b727").forEach;
  1867. var HIDDEN = sharedKey('hidden');
  1868. var SYMBOL = 'Symbol';
  1869. var PROTOTYPE = 'prototype';
  1870. var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
  1871. var setInternalState = InternalStateModule.set;
  1872. var getInternalState = InternalStateModule.getterFor(SYMBOL);
  1873. var ObjectPrototype = Object[PROTOTYPE];
  1874. var $Symbol = global.Symbol;
  1875. var $stringify = getBuiltIn('JSON', 'stringify');
  1876. var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  1877. var nativeDefineProperty = definePropertyModule.f;
  1878. var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
  1879. var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
  1880. var AllSymbols = shared('symbols');
  1881. var ObjectPrototypeSymbols = shared('op-symbols');
  1882. var StringToSymbolRegistry = shared('string-to-symbol-registry');
  1883. var SymbolToStringRegistry = shared('symbol-to-string-registry');
  1884. var WellKnownSymbolsStore = shared('wks');
  1885. var QObject = global.QObject;
  1886. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  1887. var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  1888. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  1889. var setSymbolDescriptor = DESCRIPTORS && fails(function () {
  1890. return nativeObjectCreate(nativeDefineProperty({}, 'a', {
  1891. get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
  1892. })).a != 7;
  1893. }) ? function (O, P, Attributes) {
  1894. var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
  1895. if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
  1896. nativeDefineProperty(O, P, Attributes);
  1897. if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
  1898. nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
  1899. }
  1900. } : nativeDefineProperty;
  1901. var wrap = function (tag, description) {
  1902. var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
  1903. setInternalState(symbol, {
  1904. type: SYMBOL,
  1905. tag: tag,
  1906. description: description
  1907. });
  1908. if (!DESCRIPTORS) symbol.description = description;
  1909. return symbol;
  1910. };
  1911. var isSymbol = USE_SYMBOL_AS_UID ? function (it) {
  1912. return typeof it == 'symbol';
  1913. } : function (it) {
  1914. return Object(it) instanceof $Symbol;
  1915. };
  1916. var $defineProperty = function defineProperty(O, P, Attributes) {
  1917. if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
  1918. anObject(O);
  1919. var key = toPrimitive(P, true);
  1920. anObject(Attributes);
  1921. if (has(AllSymbols, key)) {
  1922. if (!Attributes.enumerable) {
  1923. if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
  1924. O[HIDDEN][key] = true;
  1925. } else {
  1926. if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
  1927. Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
  1928. } return setSymbolDescriptor(O, key, Attributes);
  1929. } return nativeDefineProperty(O, key, Attributes);
  1930. };
  1931. var $defineProperties = function defineProperties(O, Properties) {
  1932. anObject(O);
  1933. var properties = toIndexedObject(Properties);
  1934. var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
  1935. $forEach(keys, function (key) {
  1936. if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
  1937. });
  1938. return O;
  1939. };
  1940. var $create = function create(O, Properties) {
  1941. return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
  1942. };
  1943. var $propertyIsEnumerable = function propertyIsEnumerable(V) {
  1944. var P = toPrimitive(V, true);
  1945. var enumerable = nativePropertyIsEnumerable.call(this, P);
  1946. if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
  1947. return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
  1948. };
  1949. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
  1950. var it = toIndexedObject(O);
  1951. var key = toPrimitive(P, true);
  1952. if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
  1953. var descriptor = nativeGetOwnPropertyDescriptor(it, key);
  1954. if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
  1955. descriptor.enumerable = true;
  1956. }
  1957. return descriptor;
  1958. };
  1959. var $getOwnPropertyNames = function getOwnPropertyNames(O) {
  1960. var names = nativeGetOwnPropertyNames(toIndexedObject(O));
  1961. var result = [];
  1962. $forEach(names, function (key) {
  1963. if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
  1964. });
  1965. return result;
  1966. };
  1967. var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
  1968. var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
  1969. var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
  1970. var result = [];
  1971. $forEach(names, function (key) {
  1972. if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
  1973. result.push(AllSymbols[key]);
  1974. }
  1975. });
  1976. return result;
  1977. };
  1978. // `Symbol` constructor
  1979. // https://tc39.github.io/ecma262/#sec-symbol-constructor
  1980. if (!NATIVE_SYMBOL) {
  1981. $Symbol = function Symbol() {
  1982. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
  1983. var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
  1984. var tag = uid(description);
  1985. var setter = function (value) {
  1986. if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
  1987. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  1988. setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
  1989. };
  1990. if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
  1991. return wrap(tag, description);
  1992. };
  1993. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  1994. return getInternalState(this).tag;
  1995. });
  1996. redefine($Symbol, 'withoutSetter', function (description) {
  1997. return wrap(uid(description), description);
  1998. });
  1999. propertyIsEnumerableModule.f = $propertyIsEnumerable;
  2000. definePropertyModule.f = $defineProperty;
  2001. getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
  2002. getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
  2003. getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
  2004. wrappedWellKnownSymbolModule.f = function (name) {
  2005. return wrap(wellKnownSymbol(name), name);
  2006. };
  2007. if (DESCRIPTORS) {
  2008. // https://github.com/tc39/proposal-Symbol-description
  2009. nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
  2010. configurable: true,
  2011. get: function description() {
  2012. return getInternalState(this).description;
  2013. }
  2014. });
  2015. if (!IS_PURE) {
  2016. redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
  2017. }
  2018. }
  2019. }
  2020. $({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
  2021. Symbol: $Symbol
  2022. });
  2023. $forEach(objectKeys(WellKnownSymbolsStore), function (name) {
  2024. defineWellKnownSymbol(name);
  2025. });
  2026. $({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
  2027. // `Symbol.for` method
  2028. // https://tc39.github.io/ecma262/#sec-symbol.for
  2029. 'for': function (key) {
  2030. var string = String(key);
  2031. if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
  2032. var symbol = $Symbol(string);
  2033. StringToSymbolRegistry[string] = symbol;
  2034. SymbolToStringRegistry[symbol] = string;
  2035. return symbol;
  2036. },
  2037. // `Symbol.keyFor` method
  2038. // https://tc39.github.io/ecma262/#sec-symbol.keyfor
  2039. keyFor: function keyFor(sym) {
  2040. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
  2041. if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
  2042. },
  2043. useSetter: function () { USE_SETTER = true; },
  2044. useSimple: function () { USE_SETTER = false; }
  2045. });
  2046. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
  2047. // `Object.create` method
  2048. // https://tc39.github.io/ecma262/#sec-object.create
  2049. create: $create,
  2050. // `Object.defineProperty` method
  2051. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  2052. defineProperty: $defineProperty,
  2053. // `Object.defineProperties` method
  2054. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  2055. defineProperties: $defineProperties,
  2056. // `Object.getOwnPropertyDescriptor` method
  2057. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
  2058. getOwnPropertyDescriptor: $getOwnPropertyDescriptor
  2059. });
  2060. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
  2061. // `Object.getOwnPropertyNames` method
  2062. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  2063. getOwnPropertyNames: $getOwnPropertyNames,
  2064. // `Object.getOwnPropertySymbols` method
  2065. // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
  2066. getOwnPropertySymbols: $getOwnPropertySymbols
  2067. });
  2068. // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
  2069. // https://bugs.chromium.org/p/v8/issues/detail?id=3443
  2070. $({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
  2071. getOwnPropertySymbols: function getOwnPropertySymbols(it) {
  2072. return getOwnPropertySymbolsModule.f(toObject(it));
  2073. }
  2074. });
  2075. // `JSON.stringify` method behavior with symbols
  2076. // https://tc39.github.io/ecma262/#sec-json.stringify
  2077. if ($stringify) {
  2078. var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
  2079. var symbol = $Symbol();
  2080. // MS Edge converts symbol values to JSON as {}
  2081. return $stringify([symbol]) != '[null]'
  2082. // WebKit converts symbol values to JSON as null
  2083. || $stringify({ a: symbol }) != '{}'
  2084. // V8 throws on boxed symbols
  2085. || $stringify(Object(symbol)) != '{}';
  2086. });
  2087. $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
  2088. // eslint-disable-next-line no-unused-vars
  2089. stringify: function stringify(it, replacer, space) {
  2090. var args = [it];
  2091. var index = 1;
  2092. var $replacer;
  2093. while (arguments.length > index) args.push(arguments[index++]);
  2094. $replacer = replacer;
  2095. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  2096. if (!isArray(replacer)) replacer = function (key, value) {
  2097. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  2098. if (!isSymbol(value)) return value;
  2099. };
  2100. args[1] = replacer;
  2101. return $stringify.apply(null, args);
  2102. }
  2103. });
  2104. }
  2105. // `Symbol.prototype[@@toPrimitive]` method
  2106. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
  2107. if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
  2108. createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  2109. }
  2110. // `Symbol.prototype[@@toStringTag]` property
  2111. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
  2112. setToStringTag($Symbol, SYMBOL);
  2113. hiddenKeys[HIDDEN] = true;
  2114. /***/ }),
  2115. /***/ "a630":
  2116. /***/ (function(module, exports, __webpack_require__) {
  2117. var $ = __webpack_require__("23e7");
  2118. var from = __webpack_require__("4df4");
  2119. var checkCorrectnessOfIteration = __webpack_require__("1c7e");
  2120. var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
  2121. Array.from(iterable);
  2122. });
  2123. // `Array.from` method
  2124. // https://tc39.github.io/ecma262/#sec-array.from
  2125. $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
  2126. from: from
  2127. });
  2128. /***/ }),
  2129. /***/ "a640":
  2130. /***/ (function(module, exports, __webpack_require__) {
  2131. "use strict";
  2132. var fails = __webpack_require__("d039");
  2133. module.exports = function (METHOD_NAME, argument) {
  2134. var method = [][METHOD_NAME];
  2135. return !!method && fails(function () {
  2136. // eslint-disable-next-line no-useless-call,no-throw-literal
  2137. method.call(null, argument || function () { throw 1; }, 1);
  2138. });
  2139. };
  2140. /***/ }),
  2141. /***/ "a691":
  2142. /***/ (function(module, exports) {
  2143. var ceil = Math.ceil;
  2144. var floor = Math.floor;
  2145. // `ToInteger` abstract operation
  2146. // https://tc39.github.io/ecma262/#sec-tointeger
  2147. module.exports = function (argument) {
  2148. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  2149. };
  2150. /***/ }),
  2151. /***/ "ab13":
  2152. /***/ (function(module, exports, __webpack_require__) {
  2153. var wellKnownSymbol = __webpack_require__("b622");
  2154. var MATCH = wellKnownSymbol('match');
  2155. module.exports = function (METHOD_NAME) {
  2156. var regexp = /./;
  2157. try {
  2158. '/./'[METHOD_NAME](regexp);
  2159. } catch (e) {
  2160. try {
  2161. regexp[MATCH] = false;
  2162. return '/./'[METHOD_NAME](regexp);
  2163. } catch (f) { /* empty */ }
  2164. } return false;
  2165. };
  2166. /***/ }),
  2167. /***/ "ac1f":
  2168. /***/ (function(module, exports, __webpack_require__) {
  2169. "use strict";
  2170. var $ = __webpack_require__("23e7");
  2171. var exec = __webpack_require__("9263");
  2172. $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
  2173. exec: exec
  2174. });
  2175. /***/ }),
  2176. /***/ "ad6d":
  2177. /***/ (function(module, exports, __webpack_require__) {
  2178. "use strict";
  2179. var anObject = __webpack_require__("825a");
  2180. // `RegExp.prototype.flags` getter implementation
  2181. // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
  2182. module.exports = function () {
  2183. var that = anObject(this);
  2184. var result = '';
  2185. if (that.global) result += 'g';
  2186. if (that.ignoreCase) result += 'i';
  2187. if (that.multiline) result += 'm';
  2188. if (that.dotAll) result += 's';
  2189. if (that.unicode) result += 'u';
  2190. if (that.sticky) result += 'y';
  2191. return result;
  2192. };
  2193. /***/ }),
  2194. /***/ "ae40":
  2195. /***/ (function(module, exports, __webpack_require__) {
  2196. var DESCRIPTORS = __webpack_require__("83ab");
  2197. var fails = __webpack_require__("d039");
  2198. var has = __webpack_require__("5135");
  2199. var defineProperty = Object.defineProperty;
  2200. var cache = {};
  2201. var thrower = function (it) { throw it; };
  2202. module.exports = function (METHOD_NAME, options) {
  2203. if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
  2204. if (!options) options = {};
  2205. var method = [][METHOD_NAME];
  2206. var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
  2207. var argument0 = has(options, 0) ? options[0] : thrower;
  2208. var argument1 = has(options, 1) ? options[1] : undefined;
  2209. return cache[METHOD_NAME] = !!method && !fails(function () {
  2210. if (ACCESSORS && !DESCRIPTORS) return true;
  2211. var O = { length: -1 };
  2212. if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
  2213. else O[1] = 1;
  2214. method.call(O, argument0, argument1);
  2215. });
  2216. };
  2217. /***/ }),
  2218. /***/ "ae93":
  2219. /***/ (function(module, exports, __webpack_require__) {
  2220. "use strict";
  2221. var getPrototypeOf = __webpack_require__("e163");
  2222. var createNonEnumerableProperty = __webpack_require__("9112");
  2223. var has = __webpack_require__("5135");
  2224. var wellKnownSymbol = __webpack_require__("b622");
  2225. var IS_PURE = __webpack_require__("c430");
  2226. var ITERATOR = wellKnownSymbol('iterator');
  2227. var BUGGY_SAFARI_ITERATORS = false;
  2228. var returnThis = function () { return this; };
  2229. // `%IteratorPrototype%` object
  2230. // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
  2231. var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
  2232. if ([].keys) {
  2233. arrayIterator = [].keys();
  2234. // Safari 8 has buggy iterators w/o `next`
  2235. if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
  2236. else {
  2237. PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
  2238. if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
  2239. }
  2240. }
  2241. if (IteratorPrototype == undefined) IteratorPrototype = {};
  2242. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  2243. if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {
  2244. createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
  2245. }
  2246. module.exports = {
  2247. IteratorPrototype: IteratorPrototype,
  2248. BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
  2249. };
  2250. /***/ }),
  2251. /***/ "b041":
  2252. /***/ (function(module, exports, __webpack_require__) {
  2253. "use strict";
  2254. var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
  2255. var classof = __webpack_require__("f5df");
  2256. // `Object.prototype.toString` method implementation
  2257. // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
  2258. module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
  2259. return '[object ' + classof(this) + ']';
  2260. };
  2261. /***/ }),
  2262. /***/ "b0c0":
  2263. /***/ (function(module, exports, __webpack_require__) {
  2264. var DESCRIPTORS = __webpack_require__("83ab");
  2265. var defineProperty = __webpack_require__("9bf2").f;
  2266. var FunctionPrototype = Function.prototype;
  2267. var FunctionPrototypeToString = FunctionPrototype.toString;
  2268. var nameRE = /^\s*function ([^ (]*)/;
  2269. var NAME = 'name';
  2270. // Function instances `.name` property
  2271. // https://tc39.github.io/ecma262/#sec-function-instances-name
  2272. if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
  2273. defineProperty(FunctionPrototype, NAME, {
  2274. configurable: true,
  2275. get: function () {
  2276. try {
  2277. return FunctionPrototypeToString.call(this).match(nameRE)[1];
  2278. } catch (error) {
  2279. return '';
  2280. }
  2281. }
  2282. });
  2283. }
  2284. /***/ }),
  2285. /***/ "b622":
  2286. /***/ (function(module, exports, __webpack_require__) {
  2287. var global = __webpack_require__("da84");
  2288. var shared = __webpack_require__("5692");
  2289. var has = __webpack_require__("5135");
  2290. var uid = __webpack_require__("90e3");
  2291. var NATIVE_SYMBOL = __webpack_require__("4930");
  2292. var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
  2293. var WellKnownSymbolsStore = shared('wks');
  2294. var Symbol = global.Symbol;
  2295. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
  2296. module.exports = function (name) {
  2297. if (!has(WellKnownSymbolsStore, name)) {
  2298. if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
  2299. else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  2300. } return WellKnownSymbolsStore[name];
  2301. };
  2302. /***/ }),
  2303. /***/ "b64b":
  2304. /***/ (function(module, exports, __webpack_require__) {
  2305. var $ = __webpack_require__("23e7");
  2306. var toObject = __webpack_require__("7b0b");
  2307. var nativeKeys = __webpack_require__("df75");
  2308. var fails = __webpack_require__("d039");
  2309. var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
  2310. // `Object.keys` method
  2311. // https://tc39.github.io/ecma262/#sec-object.keys
  2312. $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  2313. keys: function keys(it) {
  2314. return nativeKeys(toObject(it));
  2315. }
  2316. });
  2317. /***/ }),
  2318. /***/ "b727":
  2319. /***/ (function(module, exports, __webpack_require__) {
  2320. var bind = __webpack_require__("0366");
  2321. var IndexedObject = __webpack_require__("44ad");
  2322. var toObject = __webpack_require__("7b0b");
  2323. var toLength = __webpack_require__("50c4");
  2324. var arraySpeciesCreate = __webpack_require__("65f0");
  2325. var push = [].push;
  2326. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
  2327. var createMethod = function (TYPE) {
  2328. var IS_MAP = TYPE == 1;
  2329. var IS_FILTER = TYPE == 2;
  2330. var IS_SOME = TYPE == 3;
  2331. var IS_EVERY = TYPE == 4;
  2332. var IS_FIND_INDEX = TYPE == 6;
  2333. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  2334. return function ($this, callbackfn, that, specificCreate) {
  2335. var O = toObject($this);
  2336. var self = IndexedObject(O);
  2337. var boundFunction = bind(callbackfn, that, 3);
  2338. var length = toLength(self.length);
  2339. var index = 0;
  2340. var create = specificCreate || arraySpeciesCreate;
  2341. var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  2342. var value, result;
  2343. for (;length > index; index++) if (NO_HOLES || index in self) {
  2344. value = self[index];
  2345. result = boundFunction(value, index, O);
  2346. if (TYPE) {
  2347. if (IS_MAP) target[index] = result; // map
  2348. else if (result) switch (TYPE) {
  2349. case 3: return true; // some
  2350. case 5: return value; // find
  2351. case 6: return index; // findIndex
  2352. case 2: push.call(target, value); // filter
  2353. } else if (IS_EVERY) return false; // every
  2354. }
  2355. }
  2356. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  2357. };
  2358. };
  2359. module.exports = {
  2360. // `Array.prototype.forEach` method
  2361. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  2362. forEach: createMethod(0),
  2363. // `Array.prototype.map` method
  2364. // https://tc39.github.io/ecma262/#sec-array.prototype.map
  2365. map: createMethod(1),
  2366. // `Array.prototype.filter` method
  2367. // https://tc39.github.io/ecma262/#sec-array.prototype.filter
  2368. filter: createMethod(2),
  2369. // `Array.prototype.some` method
  2370. // https://tc39.github.io/ecma262/#sec-array.prototype.some
  2371. some: createMethod(3),
  2372. // `Array.prototype.every` method
  2373. // https://tc39.github.io/ecma262/#sec-array.prototype.every
  2374. every: createMethod(4),
  2375. // `Array.prototype.find` method
  2376. // https://tc39.github.io/ecma262/#sec-array.prototype.find
  2377. find: createMethod(5),
  2378. // `Array.prototype.findIndex` method
  2379. // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
  2380. findIndex: createMethod(6)
  2381. };
  2382. /***/ }),
  2383. /***/ "c04e":
  2384. /***/ (function(module, exports, __webpack_require__) {
  2385. var isObject = __webpack_require__("861d");
  2386. // `ToPrimitive` abstract operation
  2387. // https://tc39.github.io/ecma262/#sec-toprimitive
  2388. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  2389. // and the second argument - flag - preferred type is a string
  2390. module.exports = function (input, PREFERRED_STRING) {
  2391. if (!isObject(input)) return input;
  2392. var fn, val;
  2393. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  2394. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  2395. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  2396. throw TypeError("Can't convert object to primitive value");
  2397. };
  2398. /***/ }),
  2399. /***/ "c430":
  2400. /***/ (function(module, exports) {
  2401. module.exports = false;
  2402. /***/ }),
  2403. /***/ "c6b6":
  2404. /***/ (function(module, exports) {
  2405. var toString = {}.toString;
  2406. module.exports = function (it) {
  2407. return toString.call(it).slice(8, -1);
  2408. };
  2409. /***/ }),
  2410. /***/ "c6cd":
  2411. /***/ (function(module, exports, __webpack_require__) {
  2412. var global = __webpack_require__("da84");
  2413. var setGlobal = __webpack_require__("ce4e");
  2414. var SHARED = '__core-js_shared__';
  2415. var store = global[SHARED] || setGlobal(SHARED, {});
  2416. module.exports = store;
  2417. /***/ }),
  2418. /***/ "c740":
  2419. /***/ (function(module, exports, __webpack_require__) {
  2420. "use strict";
  2421. var $ = __webpack_require__("23e7");
  2422. var $findIndex = __webpack_require__("b727").findIndex;
  2423. var addToUnscopables = __webpack_require__("44d2");
  2424. var arrayMethodUsesToLength = __webpack_require__("ae40");
  2425. var FIND_INDEX = 'findIndex';
  2426. var SKIPS_HOLES = true;
  2427. var USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);
  2428. // Shouldn't skip holes
  2429. if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
  2430. // `Array.prototype.findIndex` method
  2431. // https://tc39.github.io/ecma262/#sec-array.prototype.findindex
  2432. $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
  2433. findIndex: function findIndex(callbackfn /* , that = undefined */) {
  2434. return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2435. }
  2436. });
  2437. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  2438. addToUnscopables(FIND_INDEX);
  2439. /***/ }),
  2440. /***/ "c8ba":
  2441. /***/ (function(module, exports) {
  2442. var g;
  2443. // This works in non-strict mode
  2444. g = (function() {
  2445. return this;
  2446. })();
  2447. try {
  2448. // This works if eval is allowed (see CSP)
  2449. g = g || new Function("return this")();
  2450. } catch (e) {
  2451. // This works if the window reference is available
  2452. if (typeof window === "object") g = window;
  2453. }
  2454. // g can still be undefined, but nothing to do about it...
  2455. // We return undefined, instead of nothing here, so it's
  2456. // easier to handle this case. if(!global) { ...}
  2457. module.exports = g;
  2458. /***/ }),
  2459. /***/ "c975":
  2460. /***/ (function(module, exports, __webpack_require__) {
  2461. "use strict";
  2462. var $ = __webpack_require__("23e7");
  2463. var $indexOf = __webpack_require__("4d64").indexOf;
  2464. var arrayMethodIsStrict = __webpack_require__("a640");
  2465. var arrayMethodUsesToLength = __webpack_require__("ae40");
  2466. var nativeIndexOf = [].indexOf;
  2467. var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
  2468. var STRICT_METHOD = arrayMethodIsStrict('indexOf');
  2469. var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
  2470. // `Array.prototype.indexOf` method
  2471. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  2472. $({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {
  2473. indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
  2474. return NEGATIVE_ZERO
  2475. // convert -0 to +0
  2476. ? nativeIndexOf.apply(this, arguments) || 0
  2477. : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
  2478. }
  2479. });
  2480. /***/ }),
  2481. /***/ "ca84":
  2482. /***/ (function(module, exports, __webpack_require__) {
  2483. var has = __webpack_require__("5135");
  2484. var toIndexedObject = __webpack_require__("fc6a");
  2485. var indexOf = __webpack_require__("4d64").indexOf;
  2486. var hiddenKeys = __webpack_require__("d012");
  2487. module.exports = function (object, names) {
  2488. var O = toIndexedObject(object);
  2489. var i = 0;
  2490. var result = [];
  2491. var key;
  2492. for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  2493. // Don't enum bug & hidden keys
  2494. while (names.length > i) if (has(O, key = names[i++])) {
  2495. ~indexOf(result, key) || result.push(key);
  2496. }
  2497. return result;
  2498. };
  2499. /***/ }),
  2500. /***/ "caad":
  2501. /***/ (function(module, exports, __webpack_require__) {
  2502. "use strict";
  2503. var $ = __webpack_require__("23e7");
  2504. var $includes = __webpack_require__("4d64").includes;
  2505. var addToUnscopables = __webpack_require__("44d2");
  2506. var arrayMethodUsesToLength = __webpack_require__("ae40");
  2507. var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
  2508. // `Array.prototype.includes` method
  2509. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  2510. $({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {
  2511. includes: function includes(el /* , fromIndex = 0 */) {
  2512. return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  2513. }
  2514. });
  2515. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  2516. addToUnscopables('includes');
  2517. /***/ }),
  2518. /***/ "cc12":
  2519. /***/ (function(module, exports, __webpack_require__) {
  2520. var global = __webpack_require__("da84");
  2521. var isObject = __webpack_require__("861d");
  2522. var document = global.document;
  2523. // typeof document.createElement is 'object' in old IE
  2524. var EXISTS = isObject(document) && isObject(document.createElement);
  2525. module.exports = function (it) {
  2526. return EXISTS ? document.createElement(it) : {};
  2527. };
  2528. /***/ }),
  2529. /***/ "ce4e":
  2530. /***/ (function(module, exports, __webpack_require__) {
  2531. var global = __webpack_require__("da84");
  2532. var createNonEnumerableProperty = __webpack_require__("9112");
  2533. module.exports = function (key, value) {
  2534. try {
  2535. createNonEnumerableProperty(global, key, value);
  2536. } catch (error) {
  2537. global[key] = value;
  2538. } return value;
  2539. };
  2540. /***/ }),
  2541. /***/ "d012":
  2542. /***/ (function(module, exports) {
  2543. module.exports = {};
  2544. /***/ }),
  2545. /***/ "d039":
  2546. /***/ (function(module, exports) {
  2547. module.exports = function (exec) {
  2548. try {
  2549. return !!exec();
  2550. } catch (error) {
  2551. return true;
  2552. }
  2553. };
  2554. /***/ }),
  2555. /***/ "d066":
  2556. /***/ (function(module, exports, __webpack_require__) {
  2557. var path = __webpack_require__("428f");
  2558. var global = __webpack_require__("da84");
  2559. var aFunction = function (variable) {
  2560. return typeof variable == 'function' ? variable : undefined;
  2561. };
  2562. module.exports = function (namespace, method) {
  2563. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
  2564. : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
  2565. };
  2566. /***/ }),
  2567. /***/ "d1e7":
  2568. /***/ (function(module, exports, __webpack_require__) {
  2569. "use strict";
  2570. var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
  2571. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  2572. // Nashorn ~ JDK8 bug
  2573. var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
  2574. // `Object.prototype.propertyIsEnumerable` method implementation
  2575. // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
  2576. exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  2577. var descriptor = getOwnPropertyDescriptor(this, V);
  2578. return !!descriptor && descriptor.enumerable;
  2579. } : nativePropertyIsEnumerable;
  2580. /***/ }),
  2581. /***/ "d28b":
  2582. /***/ (function(module, exports, __webpack_require__) {
  2583. var defineWellKnownSymbol = __webpack_require__("746f");
  2584. // `Symbol.iterator` well-known symbol
  2585. // https://tc39.github.io/ecma262/#sec-symbol.iterator
  2586. defineWellKnownSymbol('iterator');
  2587. /***/ }),
  2588. /***/ "d2bb":
  2589. /***/ (function(module, exports, __webpack_require__) {
  2590. var anObject = __webpack_require__("825a");
  2591. var aPossiblePrototype = __webpack_require__("3bbe");
  2592. // `Object.setPrototypeOf` method
  2593. // https://tc39.github.io/ecma262/#sec-object.setprototypeof
  2594. // Works with __proto__ only. Old v8 can't work with null proto objects.
  2595. /* eslint-disable no-proto */
  2596. module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
  2597. var CORRECT_SETTER = false;
  2598. var test = {};
  2599. var setter;
  2600. try {
  2601. setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
  2602. setter.call(test, []);
  2603. CORRECT_SETTER = test instanceof Array;
  2604. } catch (error) { /* empty */ }
  2605. return function setPrototypeOf(O, proto) {
  2606. anObject(O);
  2607. aPossiblePrototype(proto);
  2608. if (CORRECT_SETTER) setter.call(O, proto);
  2609. else O.__proto__ = proto;
  2610. return O;
  2611. };
  2612. }() : undefined);
  2613. /***/ }),
  2614. /***/ "d3b7":
  2615. /***/ (function(module, exports, __webpack_require__) {
  2616. var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
  2617. var redefine = __webpack_require__("6eeb");
  2618. var toString = __webpack_require__("b041");
  2619. // `Object.prototype.toString` method
  2620. // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
  2621. if (!TO_STRING_TAG_SUPPORT) {
  2622. redefine(Object.prototype, 'toString', toString, { unsafe: true });
  2623. }
  2624. /***/ }),
  2625. /***/ "d44e":
  2626. /***/ (function(module, exports, __webpack_require__) {
  2627. var defineProperty = __webpack_require__("9bf2").f;
  2628. var has = __webpack_require__("5135");
  2629. var wellKnownSymbol = __webpack_require__("b622");
  2630. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  2631. module.exports = function (it, TAG, STATIC) {
  2632. if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
  2633. defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
  2634. }
  2635. };
  2636. /***/ }),
  2637. /***/ "d58f":
  2638. /***/ (function(module, exports, __webpack_require__) {
  2639. var aFunction = __webpack_require__("1c0b");
  2640. var toObject = __webpack_require__("7b0b");
  2641. var IndexedObject = __webpack_require__("44ad");
  2642. var toLength = __webpack_require__("50c4");
  2643. // `Array.prototype.{ reduce, reduceRight }` methods implementation
  2644. var createMethod = function (IS_RIGHT) {
  2645. return function (that, callbackfn, argumentsLength, memo) {
  2646. aFunction(callbackfn);
  2647. var O = toObject(that);
  2648. var self = IndexedObject(O);
  2649. var length = toLength(O.length);
  2650. var index = IS_RIGHT ? length - 1 : 0;
  2651. var i = IS_RIGHT ? -1 : 1;
  2652. if (argumentsLength < 2) while (true) {
  2653. if (index in self) {
  2654. memo = self[index];
  2655. index += i;
  2656. break;
  2657. }
  2658. index += i;
  2659. if (IS_RIGHT ? index < 0 : length <= index) {
  2660. throw TypeError('Reduce of empty array with no initial value');
  2661. }
  2662. }
  2663. for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
  2664. memo = callbackfn(memo, self[index], index, O);
  2665. }
  2666. return memo;
  2667. };
  2668. };
  2669. module.exports = {
  2670. // `Array.prototype.reduce` method
  2671. // https://tc39.github.io/ecma262/#sec-array.prototype.reduce
  2672. left: createMethod(false),
  2673. // `Array.prototype.reduceRight` method
  2674. // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright
  2675. right: createMethod(true)
  2676. };
  2677. /***/ }),
  2678. /***/ "d784":
  2679. /***/ (function(module, exports, __webpack_require__) {
  2680. "use strict";
  2681. // TODO: Remove from `core-js@4` since it's moved to entry points
  2682. __webpack_require__("ac1f");
  2683. var redefine = __webpack_require__("6eeb");
  2684. var fails = __webpack_require__("d039");
  2685. var wellKnownSymbol = __webpack_require__("b622");
  2686. var regexpExec = __webpack_require__("9263");
  2687. var createNonEnumerableProperty = __webpack_require__("9112");
  2688. var SPECIES = wellKnownSymbol('species');
  2689. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  2690. // #replace needs built-in support for named groups.
  2691. // #match works fine because it just return the exec results, even if it has
  2692. // a "grops" property.
  2693. var re = /./;
  2694. re.exec = function () {
  2695. var result = [];
  2696. result.groups = { a: '7' };
  2697. return result;
  2698. };
  2699. return ''.replace(re, '$<a>') !== '7';
  2700. });
  2701. // IE <= 11 replaces $0 with the whole match, as if it was $&
  2702. // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
  2703. var REPLACE_KEEPS_$0 = (function () {
  2704. return 'a'.replace(/./, '$0') === '$0';
  2705. })();
  2706. var REPLACE = wellKnownSymbol('replace');
  2707. // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
  2708. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
  2709. if (/./[REPLACE]) {
  2710. return /./[REPLACE]('a', '$0') === '';
  2711. }
  2712. return false;
  2713. })();
  2714. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  2715. // Weex JS has frozen built-in prototypes, so use try / catch wrapper
  2716. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
  2717. var re = /(?:)/;
  2718. var originalExec = re.exec;
  2719. re.exec = function () { return originalExec.apply(this, arguments); };
  2720. var result = 'ab'.split(re);
  2721. return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
  2722. });
  2723. module.exports = function (KEY, length, exec, sham) {
  2724. var SYMBOL = wellKnownSymbol(KEY);
  2725. var DELEGATES_TO_SYMBOL = !fails(function () {
  2726. // String methods call symbol-named RegEp methods
  2727. var O = {};
  2728. O[SYMBOL] = function () { return 7; };
  2729. return ''[KEY](O) != 7;
  2730. });
  2731. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
  2732. // Symbol-named RegExp methods call .exec
  2733. var execCalled = false;
  2734. var re = /a/;
  2735. if (KEY === 'split') {
  2736. // We can't use real regex here since it causes deoptimization
  2737. // and serious performance degradation in V8
  2738. // https://github.com/zloirock/core-js/issues/306
  2739. re = {};
  2740. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  2741. // a new one. We need to return the patched regex when creating the new one.
  2742. re.constructor = {};
  2743. re.constructor[SPECIES] = function () { return re; };
  2744. re.flags = '';
  2745. re[SYMBOL] = /./[SYMBOL];
  2746. }
  2747. re.exec = function () { execCalled = true; return null; };
  2748. re[SYMBOL]('');
  2749. return !execCalled;
  2750. });
  2751. if (
  2752. !DELEGATES_TO_SYMBOL ||
  2753. !DELEGATES_TO_EXEC ||
  2754. (KEY === 'replace' && !(
  2755. REPLACE_SUPPORTS_NAMED_GROUPS &&
  2756. REPLACE_KEEPS_$0 &&
  2757. !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  2758. )) ||
  2759. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  2760. ) {
  2761. var nativeRegExpMethod = /./[SYMBOL];
  2762. var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
  2763. if (regexp.exec === regexpExec) {
  2764. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  2765. // The native String method already delegates to @@method (this
  2766. // polyfilled function), leasing to infinite recursion.
  2767. // We avoid it by directly calling the native @@method method.
  2768. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  2769. }
  2770. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  2771. }
  2772. return { done: false };
  2773. }, {
  2774. REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
  2775. REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  2776. });
  2777. var stringMethod = methods[0];
  2778. var regexMethod = methods[1];
  2779. redefine(String.prototype, KEY, stringMethod);
  2780. redefine(RegExp.prototype, SYMBOL, length == 2
  2781. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  2782. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  2783. ? function (string, arg) { return regexMethod.call(string, this, arg); }
  2784. // 21.2.5.6 RegExp.prototype[@@match](string)
  2785. // 21.2.5.9 RegExp.prototype[@@search](string)
  2786. : function (string) { return regexMethod.call(string, this); }
  2787. );
  2788. }
  2789. if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
  2790. };
  2791. /***/ }),
  2792. /***/ "d81d":
  2793. /***/ (function(module, exports, __webpack_require__) {
  2794. "use strict";
  2795. var $ = __webpack_require__("23e7");
  2796. var $map = __webpack_require__("b727").map;
  2797. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  2798. var arrayMethodUsesToLength = __webpack_require__("ae40");
  2799. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
  2800. // FF49- issue
  2801. var USES_TO_LENGTH = arrayMethodUsesToLength('map');
  2802. // `Array.prototype.map` method
  2803. // https://tc39.github.io/ecma262/#sec-array.prototype.map
  2804. // with adding support of @@species
  2805. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  2806. map: function map(callbackfn /* , thisArg */) {
  2807. return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  2808. }
  2809. });
  2810. /***/ }),
  2811. /***/ "da84":
  2812. /***/ (function(module, exports, __webpack_require__) {
  2813. /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
  2814. return it && it.Math == Math && it;
  2815. };
  2816. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2817. module.exports =
  2818. // eslint-disable-next-line no-undef
  2819. check(typeof globalThis == 'object' && globalThis) ||
  2820. check(typeof window == 'object' && window) ||
  2821. check(typeof self == 'object' && self) ||
  2822. check(typeof global == 'object' && global) ||
  2823. // eslint-disable-next-line no-new-func
  2824. Function('return this')();
  2825. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
  2826. /***/ }),
  2827. /***/ "dbb4":
  2828. /***/ (function(module, exports, __webpack_require__) {
  2829. var $ = __webpack_require__("23e7");
  2830. var DESCRIPTORS = __webpack_require__("83ab");
  2831. var ownKeys = __webpack_require__("56ef");
  2832. var toIndexedObject = __webpack_require__("fc6a");
  2833. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  2834. var createProperty = __webpack_require__("8418");
  2835. // `Object.getOwnPropertyDescriptors` method
  2836. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
  2837. $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
  2838. getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
  2839. var O = toIndexedObject(object);
  2840. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  2841. var keys = ownKeys(O);
  2842. var result = {};
  2843. var index = 0;
  2844. var key, descriptor;
  2845. while (keys.length > index) {
  2846. descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
  2847. if (descriptor !== undefined) createProperty(result, key, descriptor);
  2848. }
  2849. return result;
  2850. }
  2851. });
  2852. /***/ }),
  2853. /***/ "dbf1":
  2854. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2855. "use strict";
  2856. /* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return console; });
  2857. function getConsole() {
  2858. if (typeof window !== "undefined") {
  2859. return window.console;
  2860. }
  2861. return global.console;
  2862. }
  2863. var console = getConsole();
  2864. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
  2865. /***/ }),
  2866. /***/ "ddb0":
  2867. /***/ (function(module, exports, __webpack_require__) {
  2868. var global = __webpack_require__("da84");
  2869. var DOMIterables = __webpack_require__("fdbc");
  2870. var ArrayIteratorMethods = __webpack_require__("e260");
  2871. var createNonEnumerableProperty = __webpack_require__("9112");
  2872. var wellKnownSymbol = __webpack_require__("b622");
  2873. var ITERATOR = wellKnownSymbol('iterator');
  2874. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  2875. var ArrayValues = ArrayIteratorMethods.values;
  2876. for (var COLLECTION_NAME in DOMIterables) {
  2877. var Collection = global[COLLECTION_NAME];
  2878. var CollectionPrototype = Collection && Collection.prototype;
  2879. if (CollectionPrototype) {
  2880. // some Chrome versions have non-configurable methods on DOMTokenList
  2881. if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
  2882. createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
  2883. } catch (error) {
  2884. CollectionPrototype[ITERATOR] = ArrayValues;
  2885. }
  2886. if (!CollectionPrototype[TO_STRING_TAG]) {
  2887. createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
  2888. }
  2889. if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
  2890. // some Chrome versions have non-configurable methods on DOMTokenList
  2891. if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
  2892. createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
  2893. } catch (error) {
  2894. CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
  2895. }
  2896. }
  2897. }
  2898. }
  2899. /***/ }),
  2900. /***/ "df75":
  2901. /***/ (function(module, exports, __webpack_require__) {
  2902. var internalObjectKeys = __webpack_require__("ca84");
  2903. var enumBugKeys = __webpack_require__("7839");
  2904. // `Object.keys` method
  2905. // https://tc39.github.io/ecma262/#sec-object.keys
  2906. module.exports = Object.keys || function keys(O) {
  2907. return internalObjectKeys(O, enumBugKeys);
  2908. };
  2909. /***/ }),
  2910. /***/ "e01a":
  2911. /***/ (function(module, exports, __webpack_require__) {
  2912. "use strict";
  2913. // `Symbol.prototype.description` getter
  2914. // https://tc39.github.io/ecma262/#sec-symbol.prototype.description
  2915. var $ = __webpack_require__("23e7");
  2916. var DESCRIPTORS = __webpack_require__("83ab");
  2917. var global = __webpack_require__("da84");
  2918. var has = __webpack_require__("5135");
  2919. var isObject = __webpack_require__("861d");
  2920. var defineProperty = __webpack_require__("9bf2").f;
  2921. var copyConstructorProperties = __webpack_require__("e893");
  2922. var NativeSymbol = global.Symbol;
  2923. if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
  2924. // Safari 12 bug
  2925. NativeSymbol().description !== undefined
  2926. )) {
  2927. var EmptyStringDescriptionStore = {};
  2928. // wrap Symbol constructor for correct work with undefined description
  2929. var SymbolWrapper = function Symbol() {
  2930. var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
  2931. var result = this instanceof SymbolWrapper
  2932. ? new NativeSymbol(description)
  2933. // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
  2934. : description === undefined ? NativeSymbol() : NativeSymbol(description);
  2935. if (description === '') EmptyStringDescriptionStore[result] = true;
  2936. return result;
  2937. };
  2938. copyConstructorProperties(SymbolWrapper, NativeSymbol);
  2939. var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
  2940. symbolPrototype.constructor = SymbolWrapper;
  2941. var symbolToString = symbolPrototype.toString;
  2942. var native = String(NativeSymbol('test')) == 'Symbol(test)';
  2943. var regexp = /^Symbol\((.*)\)[^)]+$/;
  2944. defineProperty(symbolPrototype, 'description', {
  2945. configurable: true,
  2946. get: function description() {
  2947. var symbol = isObject(this) ? this.valueOf() : this;
  2948. var string = symbolToString.call(symbol);
  2949. if (has(EmptyStringDescriptionStore, symbol)) return '';
  2950. var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
  2951. return desc === '' ? undefined : desc;
  2952. }
  2953. });
  2954. $({ global: true, forced: true }, {
  2955. Symbol: SymbolWrapper
  2956. });
  2957. }
  2958. /***/ }),
  2959. /***/ "e163":
  2960. /***/ (function(module, exports, __webpack_require__) {
  2961. var has = __webpack_require__("5135");
  2962. var toObject = __webpack_require__("7b0b");
  2963. var sharedKey = __webpack_require__("f772");
  2964. var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177");
  2965. var IE_PROTO = sharedKey('IE_PROTO');
  2966. var ObjectPrototype = Object.prototype;
  2967. // `Object.getPrototypeOf` method
  2968. // https://tc39.github.io/ecma262/#sec-object.getprototypeof
  2969. module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
  2970. O = toObject(O);
  2971. if (has(O, IE_PROTO)) return O[IE_PROTO];
  2972. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  2973. return O.constructor.prototype;
  2974. } return O instanceof Object ? ObjectPrototype : null;
  2975. };
  2976. /***/ }),
  2977. /***/ "e177":
  2978. /***/ (function(module, exports, __webpack_require__) {
  2979. var fails = __webpack_require__("d039");
  2980. module.exports = !fails(function () {
  2981. function F() { /* empty */ }
  2982. F.prototype.constructor = null;
  2983. return Object.getPrototypeOf(new F()) !== F.prototype;
  2984. });
  2985. /***/ }),
  2986. /***/ "e260":
  2987. /***/ (function(module, exports, __webpack_require__) {
  2988. "use strict";
  2989. var toIndexedObject = __webpack_require__("fc6a");
  2990. var addToUnscopables = __webpack_require__("44d2");
  2991. var Iterators = __webpack_require__("3f8c");
  2992. var InternalStateModule = __webpack_require__("69f3");
  2993. var defineIterator = __webpack_require__("7dd0");
  2994. var ARRAY_ITERATOR = 'Array Iterator';
  2995. var setInternalState = InternalStateModule.set;
  2996. var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
  2997. // `Array.prototype.entries` method
  2998. // https://tc39.github.io/ecma262/#sec-array.prototype.entries
  2999. // `Array.prototype.keys` method
  3000. // https://tc39.github.io/ecma262/#sec-array.prototype.keys
  3001. // `Array.prototype.values` method
  3002. // https://tc39.github.io/ecma262/#sec-array.prototype.values
  3003. // `Array.prototype[@@iterator]` method
  3004. // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
  3005. // `CreateArrayIterator` internal method
  3006. // https://tc39.github.io/ecma262/#sec-createarrayiterator
  3007. module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
  3008. setInternalState(this, {
  3009. type: ARRAY_ITERATOR,
  3010. target: toIndexedObject(iterated), // target
  3011. index: 0, // next index
  3012. kind: kind // kind
  3013. });
  3014. // `%ArrayIteratorPrototype%.next` method
  3015. // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
  3016. }, function () {
  3017. var state = getInternalState(this);
  3018. var target = state.target;
  3019. var kind = state.kind;
  3020. var index = state.index++;
  3021. if (!target || index >= target.length) {
  3022. state.target = undefined;
  3023. return { value: undefined, done: true };
  3024. }
  3025. if (kind == 'keys') return { value: index, done: false };
  3026. if (kind == 'values') return { value: target[index], done: false };
  3027. return { value: [index, target[index]], done: false };
  3028. }, 'values');
  3029. // argumentsList[@@iterator] is %ArrayProto_values%
  3030. // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject
  3031. // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject
  3032. Iterators.Arguments = Iterators.Array;
  3033. // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
  3034. addToUnscopables('keys');
  3035. addToUnscopables('values');
  3036. addToUnscopables('entries');
  3037. /***/ }),
  3038. /***/ "e439":
  3039. /***/ (function(module, exports, __webpack_require__) {
  3040. var $ = __webpack_require__("23e7");
  3041. var fails = __webpack_require__("d039");
  3042. var toIndexedObject = __webpack_require__("fc6a");
  3043. var nativeGetOwnPropertyDescriptor = __webpack_require__("06cf").f;
  3044. var DESCRIPTORS = __webpack_require__("83ab");
  3045. var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });
  3046. var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;
  3047. // `Object.getOwnPropertyDescriptor` method
  3048. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  3049. $({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
  3050. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
  3051. return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
  3052. }
  3053. });
  3054. /***/ }),
  3055. /***/ "e538":
  3056. /***/ (function(module, exports, __webpack_require__) {
  3057. var wellKnownSymbol = __webpack_require__("b622");
  3058. exports.f = wellKnownSymbol;
  3059. /***/ }),
  3060. /***/ "e893":
  3061. /***/ (function(module, exports, __webpack_require__) {
  3062. var has = __webpack_require__("5135");
  3063. var ownKeys = __webpack_require__("56ef");
  3064. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  3065. var definePropertyModule = __webpack_require__("9bf2");
  3066. module.exports = function (target, source) {
  3067. var keys = ownKeys(source);
  3068. var defineProperty = definePropertyModule.f;
  3069. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  3070. for (var i = 0; i < keys.length; i++) {
  3071. var key = keys[i];
  3072. if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  3073. }
  3074. };
  3075. /***/ }),
  3076. /***/ "e8b5":
  3077. /***/ (function(module, exports, __webpack_require__) {
  3078. var classof = __webpack_require__("c6b6");
  3079. // `IsArray` abstract operation
  3080. // https://tc39.github.io/ecma262/#sec-isarray
  3081. module.exports = Array.isArray || function isArray(arg) {
  3082. return classof(arg) == 'Array';
  3083. };
  3084. /***/ }),
  3085. /***/ "e95a":
  3086. /***/ (function(module, exports, __webpack_require__) {
  3087. var wellKnownSymbol = __webpack_require__("b622");
  3088. var Iterators = __webpack_require__("3f8c");
  3089. var ITERATOR = wellKnownSymbol('iterator');
  3090. var ArrayPrototype = Array.prototype;
  3091. // check on default Array iterator
  3092. module.exports = function (it) {
  3093. return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
  3094. };
  3095. /***/ }),
  3096. /***/ "f5df":
  3097. /***/ (function(module, exports, __webpack_require__) {
  3098. var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
  3099. var classofRaw = __webpack_require__("c6b6");
  3100. var wellKnownSymbol = __webpack_require__("b622");
  3101. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  3102. // ES3 wrong here
  3103. var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
  3104. // fallback for IE11 Script Access Denied error
  3105. var tryGet = function (it, key) {
  3106. try {
  3107. return it[key];
  3108. } catch (error) { /* empty */ }
  3109. };
  3110. // getting tag from ES6+ `Object.prototype.toString`
  3111. module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
  3112. var O, tag, result;
  3113. return it === undefined ? 'Undefined' : it === null ? 'Null'
  3114. // @@toStringTag case
  3115. : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
  3116. // builtinTag case
  3117. : CORRECT_ARGUMENTS ? classofRaw(O)
  3118. // ES3 arguments fallback
  3119. : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
  3120. };
  3121. /***/ }),
  3122. /***/ "f772":
  3123. /***/ (function(module, exports, __webpack_require__) {
  3124. var shared = __webpack_require__("5692");
  3125. var uid = __webpack_require__("90e3");
  3126. var keys = shared('keys');
  3127. module.exports = function (key) {
  3128. return keys[key] || (keys[key] = uid(key));
  3129. };
  3130. /***/ }),
  3131. /***/ "fb15":
  3132. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3133. "use strict";
  3134. // ESM COMPAT FLAG
  3135. __webpack_require__.r(__webpack_exports__);
  3136. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
  3137. // This file is imported into lib/wc client bundles.
  3138. if (typeof window !== 'undefined') {
  3139. var currentScript = window.document.currentScript
  3140. if (true) {
  3141. var getCurrentScript = __webpack_require__("8875")
  3142. currentScript = getCurrentScript()
  3143. // for backward compatibility, because previously we directly included the polyfill
  3144. if (!('currentScript' in document)) {
  3145. Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
  3146. }
  3147. }
  3148. var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
  3149. if (src) {
  3150. __webpack_require__.p = src[1] // eslint-disable-line
  3151. }
  3152. }
  3153. // Indicate to webpack that this file can be concatenated
  3154. /* harmony default export */ var setPublicPath = (null);
  3155. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
  3156. var es_array_concat = __webpack_require__("99af");
  3157. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
  3158. var es_array_filter = __webpack_require__("4de4");
  3159. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
  3160. var es_array_for_each = __webpack_require__("4160");
  3161. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
  3162. var es_array_index_of = __webpack_require__("c975");
  3163. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
  3164. var es_array_map = __webpack_require__("d81d");
  3165. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
  3166. var es_array_splice = __webpack_require__("a434");
  3167. // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
  3168. var web_dom_collections_for_each = __webpack_require__("159b");
  3169. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
  3170. var es_symbol = __webpack_require__("a4d3");
  3171. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js
  3172. var es_object_get_own_property_descriptor = __webpack_require__("e439");
  3173. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js
  3174. var es_object_get_own_property_descriptors = __webpack_require__("dbb4");
  3175. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
  3176. var es_object_keys = __webpack_require__("b64b");
  3177. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
  3178. function _defineProperty(obj, key, value) {
  3179. if (key in obj) {
  3180. Object.defineProperty(obj, key, {
  3181. value: value,
  3182. enumerable: true,
  3183. configurable: true,
  3184. writable: true
  3185. });
  3186. } else {
  3187. obj[key] = value;
  3188. }
  3189. return obj;
  3190. }
  3191. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
  3192. function ownKeys(object, enumerableOnly) {
  3193. var keys = Object.keys(object);
  3194. if (Object.getOwnPropertySymbols) {
  3195. var symbols = Object.getOwnPropertySymbols(object);
  3196. if (enumerableOnly) symbols = symbols.filter(function (sym) {
  3197. return Object.getOwnPropertyDescriptor(object, sym).enumerable;
  3198. });
  3199. keys.push.apply(keys, symbols);
  3200. }
  3201. return keys;
  3202. }
  3203. function _objectSpread2(target) {
  3204. for (var i = 1; i < arguments.length; i++) {
  3205. var source = arguments[i] != null ? arguments[i] : {};
  3206. if (i % 2) {
  3207. ownKeys(Object(source), true).forEach(function (key) {
  3208. _defineProperty(target, key, source[key]);
  3209. });
  3210. } else if (Object.getOwnPropertyDescriptors) {
  3211. Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
  3212. } else {
  3213. ownKeys(Object(source)).forEach(function (key) {
  3214. Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
  3215. });
  3216. }
  3217. }
  3218. return target;
  3219. }
  3220. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
  3221. function _arrayWithHoles(arr) {
  3222. if (Array.isArray(arr)) return arr;
  3223. }
  3224. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
  3225. var es_symbol_description = __webpack_require__("e01a");
  3226. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
  3227. var es_symbol_iterator = __webpack_require__("d28b");
  3228. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
  3229. var es_array_iterator = __webpack_require__("e260");
  3230. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
  3231. var es_object_to_string = __webpack_require__("d3b7");
  3232. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
  3233. var es_string_iterator = __webpack_require__("3ca3");
  3234. // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
  3235. var web_dom_collections_iterator = __webpack_require__("ddb0");
  3236. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
  3237. function _iterableToArrayLimit(arr, i) {
  3238. if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
  3239. var _arr = [];
  3240. var _n = true;
  3241. var _d = false;
  3242. var _e = undefined;
  3243. try {
  3244. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  3245. _arr.push(_s.value);
  3246. if (i && _arr.length === i) break;
  3247. }
  3248. } catch (err) {
  3249. _d = true;
  3250. _e = err;
  3251. } finally {
  3252. try {
  3253. if (!_n && _i["return"] != null) _i["return"]();
  3254. } finally {
  3255. if (_d) throw _e;
  3256. }
  3257. }
  3258. return _arr;
  3259. }
  3260. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
  3261. var es_array_from = __webpack_require__("a630");
  3262. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
  3263. var es_array_slice = __webpack_require__("fb6a");
  3264. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
  3265. var es_function_name = __webpack_require__("b0c0");
  3266. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
  3267. var es_regexp_to_string = __webpack_require__("25f0");
  3268. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
  3269. function _arrayLikeToArray(arr, len) {
  3270. if (len == null || len > arr.length) len = arr.length;
  3271. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  3272. arr2[i] = arr[i];
  3273. }
  3274. return arr2;
  3275. }
  3276. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
  3277. function _unsupportedIterableToArray(o, minLen) {
  3278. if (!o) return;
  3279. if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  3280. var n = Object.prototype.toString.call(o).slice(8, -1);
  3281. if (n === "Object" && o.constructor) n = o.constructor.name;
  3282. if (n === "Map" || n === "Set") return Array.from(o);
  3283. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
  3284. }
  3285. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
  3286. function _nonIterableRest() {
  3287. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  3288. }
  3289. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
  3290. function _slicedToArray(arr, i) {
  3291. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
  3292. }
  3293. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
  3294. function _arrayWithoutHoles(arr) {
  3295. if (Array.isArray(arr)) return _arrayLikeToArray(arr);
  3296. }
  3297. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
  3298. function _iterableToArray(iter) {
  3299. if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
  3300. }
  3301. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
  3302. function _nonIterableSpread() {
  3303. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  3304. }
  3305. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
  3306. function _toConsumableArray(arr) {
  3307. return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
  3308. }
  3309. // EXTERNAL MODULE: external {"commonjs":"sortablejs","commonjs2":"sortablejs","amd":"sortablejs","root":"Sortable"}
  3310. var external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_ = __webpack_require__("a352");
  3311. var external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_);
  3312. // CONCATENATED MODULE: ./src/util/htmlHelper.js
  3313. function removeNode(node) {
  3314. if (node.parentElement !== null) {
  3315. node.parentElement.removeChild(node);
  3316. }
  3317. }
  3318. function insertNodeAt(fatherNode, node, position) {
  3319. var refNode = position === 0 ? fatherNode.children[0] : fatherNode.children[position - 1].nextSibling;
  3320. fatherNode.insertBefore(node, refNode);
  3321. }
  3322. // EXTERNAL MODULE: ./src/util/console.js
  3323. var console = __webpack_require__("dbf1");
  3324. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
  3325. var es_array_reduce = __webpack_require__("13d5");
  3326. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.entries.js
  3327. var es_object_entries = __webpack_require__("4fad");
  3328. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
  3329. var es_regexp_exec = __webpack_require__("ac1f");
  3330. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
  3331. var es_string_replace = __webpack_require__("5319");
  3332. // CONCATENATED MODULE: ./src/util/string.js
  3333. function cached(fn) {
  3334. var cache = Object.create(null);
  3335. return function cachedFn(str) {
  3336. var hit = cache[str];
  3337. return hit || (cache[str] = fn(str));
  3338. };
  3339. }
  3340. var regex = /-(\w)/g;
  3341. var camelize = cached(function (str) {
  3342. return str.replace(regex, function (_, c) {
  3343. return c.toUpperCase();
  3344. });
  3345. });
  3346. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat-map.js
  3347. var es_array_flat_map = __webpack_require__("5db7");
  3348. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat-map.js
  3349. var es_array_unscopables_flat_map = __webpack_require__("73d9");
  3350. // CONCATENATED MODULE: ./src/core/sortableEvents.js
  3351. var manageAndEmit = ["Start", "Add", "Remove", "Update", "End"];
  3352. var emit = ["Choose", "Unchoose", "Sort", "Filter", "Clone"];
  3353. var manage = ["Move"];
  3354. var eventHandlerNames = [manage, manageAndEmit, emit].flatMap(function (events) {
  3355. return events;
  3356. }).map(function (evt) {
  3357. return "on".concat(evt);
  3358. });
  3359. var events = {
  3360. manage: manage,
  3361. manageAndEmit: manageAndEmit,
  3362. emit: emit
  3363. };
  3364. function isReadOnly(eventName) {
  3365. return eventHandlerNames.indexOf(eventName) !== -1;
  3366. }
  3367. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
  3368. var es_array_includes = __webpack_require__("caad");
  3369. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.starts-with.js
  3370. var es_string_starts_with = __webpack_require__("2ca0");
  3371. // CONCATENATED MODULE: ./src/util/tags.js
  3372. var tags = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
  3373. function isHtmlTag(name) {
  3374. return tags.includes(name);
  3375. }
  3376. function isTransition(name) {
  3377. return ["transition-group", "TransitionGroup"].includes(name);
  3378. }
  3379. function isHtmlAttribute(value) {
  3380. return ["id", "class", "role", "style"].includes(value) || value.startsWith("data-") || value.startsWith("aria-") || value.startsWith("on");
  3381. }
  3382. // CONCATENATED MODULE: ./src/core/componentBuilderHelper.js
  3383. function project(entries) {
  3384. return entries.reduce(function (res, _ref) {
  3385. var _ref2 = _slicedToArray(_ref, 2),
  3386. key = _ref2[0],
  3387. value = _ref2[1];
  3388. res[key] = value;
  3389. return res;
  3390. }, {});
  3391. }
  3392. function getComponentAttributes(_ref3) {
  3393. var $attrs = _ref3.$attrs,
  3394. _ref3$componentData = _ref3.componentData,
  3395. componentData = _ref3$componentData === void 0 ? {} : _ref3$componentData;
  3396. var attributes = project(Object.entries($attrs).filter(function (_ref4) {
  3397. var _ref5 = _slicedToArray(_ref4, 2),
  3398. key = _ref5[0],
  3399. _ = _ref5[1];
  3400. return isHtmlAttribute(key);
  3401. }));
  3402. return _objectSpread2(_objectSpread2({}, attributes), componentData);
  3403. }
  3404. function createSortableOption(_ref6) {
  3405. var $attrs = _ref6.$attrs,
  3406. callBackBuilder = _ref6.callBackBuilder;
  3407. var options = project(getValidSortableEntries($attrs));
  3408. Object.entries(callBackBuilder).forEach(function (_ref7) {
  3409. var _ref8 = _slicedToArray(_ref7, 2),
  3410. eventType = _ref8[0],
  3411. eventBuilder = _ref8[1];
  3412. events[eventType].forEach(function (event) {
  3413. options["on".concat(event)] = eventBuilder(event);
  3414. });
  3415. });
  3416. var draggable = "[data-draggable]".concat(options.draggable || "");
  3417. return _objectSpread2(_objectSpread2({}, options), {}, {
  3418. draggable: draggable
  3419. });
  3420. }
  3421. function getValidSortableEntries(value) {
  3422. return Object.entries(value).filter(function (_ref9) {
  3423. var _ref10 = _slicedToArray(_ref9, 2),
  3424. key = _ref10[0],
  3425. _ = _ref10[1];
  3426. return !isHtmlAttribute(key);
  3427. }).map(function (_ref11) {
  3428. var _ref12 = _slicedToArray(_ref11, 2),
  3429. key = _ref12[0],
  3430. value = _ref12[1];
  3431. return [camelize(key), value];
  3432. }).filter(function (_ref13) {
  3433. var _ref14 = _slicedToArray(_ref13, 2),
  3434. key = _ref14[0],
  3435. _ = _ref14[1];
  3436. return !isReadOnly(key);
  3437. });
  3438. }
  3439. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
  3440. var es_array_find_index = __webpack_require__("c740");
  3441. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
  3442. function _classCallCheck(instance, Constructor) {
  3443. if (!(instance instanceof Constructor)) {
  3444. throw new TypeError("Cannot call a class as a function");
  3445. }
  3446. }
  3447. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
  3448. function _defineProperties(target, props) {
  3449. for (var i = 0; i < props.length; i++) {
  3450. var descriptor = props[i];
  3451. descriptor.enumerable = descriptor.enumerable || false;
  3452. descriptor.configurable = true;
  3453. if ("value" in descriptor) descriptor.writable = true;
  3454. Object.defineProperty(target, descriptor.key, descriptor);
  3455. }
  3456. }
  3457. function _createClass(Constructor, protoProps, staticProps) {
  3458. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3459. if (staticProps) _defineProperties(Constructor, staticProps);
  3460. return Constructor;
  3461. }
  3462. // CONCATENATED MODULE: ./src/core/componentStructure.js
  3463. var getHtmlElementFromNode = function getHtmlElementFromNode(_ref) {
  3464. var el = _ref.el;
  3465. return el;
  3466. };
  3467. var addContext = function addContext(domElement, context) {
  3468. return domElement.__draggable_context = context;
  3469. };
  3470. var getContext = function getContext(domElement) {
  3471. return domElement.__draggable_context;
  3472. };
  3473. var componentStructure_ComponentStructure = /*#__PURE__*/function () {
  3474. function ComponentStructure(_ref2) {
  3475. var _ref2$nodes = _ref2.nodes,
  3476. header = _ref2$nodes.header,
  3477. defaultNodes = _ref2$nodes.default,
  3478. footer = _ref2$nodes.footer,
  3479. root = _ref2.root,
  3480. realList = _ref2.realList;
  3481. _classCallCheck(this, ComponentStructure);
  3482. this.defaultNodes = defaultNodes;
  3483. this.children = [].concat(_toConsumableArray(header), _toConsumableArray(defaultNodes), _toConsumableArray(footer));
  3484. this.externalComponent = root.externalComponent;
  3485. this.rootTransition = root.transition;
  3486. this.tag = root.tag;
  3487. this.realList = realList;
  3488. }
  3489. _createClass(ComponentStructure, [{
  3490. key: "render",
  3491. value: function render(h, attributes) {
  3492. var tag = this.tag,
  3493. children = this.children,
  3494. _isRootComponent = this._isRootComponent;
  3495. var option = !_isRootComponent ? children : {
  3496. default: function _default() {
  3497. return children;
  3498. }
  3499. };
  3500. return h(tag, attributes, option);
  3501. }
  3502. }, {
  3503. key: "updated",
  3504. value: function updated() {
  3505. var defaultNodes = this.defaultNodes,
  3506. realList = this.realList;
  3507. defaultNodes.forEach(function (node, index) {
  3508. addContext(getHtmlElementFromNode(node), {
  3509. element: realList[index],
  3510. index: index
  3511. });
  3512. });
  3513. }
  3514. }, {
  3515. key: "getUnderlyingVm",
  3516. value: function getUnderlyingVm(domElement) {
  3517. return getContext(domElement);
  3518. }
  3519. }, {
  3520. key: "getVmIndexFromDomIndex",
  3521. value: function getVmIndexFromDomIndex(domIndex, element) {
  3522. var defaultNodes = this.defaultNodes;
  3523. var length = defaultNodes.length;
  3524. var domChildren = element.children;
  3525. var domElement = domChildren.item(domIndex);
  3526. if (domElement === null) {
  3527. return length;
  3528. }
  3529. var context = getContext(domElement);
  3530. if (context) {
  3531. return context.index;
  3532. }
  3533. if (length === 0) {
  3534. return 0;
  3535. }
  3536. var firstDomListElement = getHtmlElementFromNode(defaultNodes[0]);
  3537. var indexFirstDomListElement = _toConsumableArray(domChildren).findIndex(function (element) {
  3538. return element === firstDomListElement;
  3539. });
  3540. return domIndex < indexFirstDomListElement ? 0 : length;
  3541. }
  3542. }, {
  3543. key: "_isRootComponent",
  3544. get: function get() {
  3545. return this.externalComponent || this.rootTransition;
  3546. }
  3547. }]);
  3548. return ComponentStructure;
  3549. }();
  3550. // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
  3551. var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
  3552. // CONCATENATED MODULE: ./src/core/renderHelper.js
  3553. function getSlot(slots, key) {
  3554. var slotValue = slots[key];
  3555. return slotValue ? slotValue() : [];
  3556. }
  3557. function computeNodes(_ref) {
  3558. var $slots = _ref.$slots,
  3559. realList = _ref.realList,
  3560. getKey = _ref.getKey;
  3561. var normalizedList = realList || [];
  3562. var _map = ["header", "footer"].map(function (name) {
  3563. return getSlot($slots, name);
  3564. }),
  3565. _map2 = _slicedToArray(_map, 2),
  3566. header = _map2[0],
  3567. footer = _map2[1];
  3568. var item = $slots.item;
  3569. if (!item) {
  3570. throw new Error("draggable element must have an item slot");
  3571. }
  3572. var defaultNodes = normalizedList.flatMap(function (element, index) {
  3573. return item({
  3574. element: element,
  3575. index: index
  3576. }).map(function (node) {
  3577. node.key = getKey(element);
  3578. node.props = _objectSpread2(_objectSpread2({}, node.props || {}), {}, {
  3579. "data-draggable": true
  3580. });
  3581. return node;
  3582. });
  3583. });
  3584. if (defaultNodes.length !== normalizedList.length) {
  3585. throw new Error("Item slot must have only one child");
  3586. }
  3587. return {
  3588. header: header,
  3589. footer: footer,
  3590. default: defaultNodes
  3591. };
  3592. }
  3593. function getRootInformation(tag) {
  3594. var transition = isTransition(tag);
  3595. var externalComponent = !isHtmlTag(tag) && !transition;
  3596. return {
  3597. transition: transition,
  3598. externalComponent: externalComponent,
  3599. tag: externalComponent ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])(tag) : transition ? external_commonjs_vue_commonjs2_vue_root_Vue_["TransitionGroup"] : tag
  3600. };
  3601. }
  3602. function computeComponentStructure(_ref2) {
  3603. var $slots = _ref2.$slots,
  3604. tag = _ref2.tag,
  3605. realList = _ref2.realList,
  3606. getKey = _ref2.getKey;
  3607. var nodes = computeNodes({
  3608. $slots: $slots,
  3609. realList: realList,
  3610. getKey: getKey
  3611. });
  3612. var root = getRootInformation(tag);
  3613. return new componentStructure_ComponentStructure({
  3614. nodes: nodes,
  3615. root: root,
  3616. realList: realList
  3617. });
  3618. }
  3619. // CONCATENATED MODULE: ./src/vuedraggable.js
  3620. function _emit(evtName, evtData) {
  3621. var _this = this;
  3622. Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
  3623. return _this.$emit(evtName.toLowerCase(), evtData);
  3624. });
  3625. }
  3626. function _manage(evtName) {
  3627. var _this2 = this;
  3628. return function (evtData, originalElement) {
  3629. if (_this2.realList !== null) {
  3630. return _this2["onDrag".concat(evtName)](evtData, originalElement);
  3631. }
  3632. };
  3633. }
  3634. function _manageAndEmit(evtName) {
  3635. var _this3 = this;
  3636. var delegateCallBack = _manage.call(this, evtName);
  3637. return function (evtData, originalElement) {
  3638. delegateCallBack.call(_this3, evtData, originalElement);
  3639. _emit.call(_this3, evtName, evtData);
  3640. };
  3641. }
  3642. var draggingElement = null;
  3643. var props = {
  3644. list: {
  3645. type: Array,
  3646. required: false,
  3647. default: null
  3648. },
  3649. modelValue: {
  3650. type: Array,
  3651. required: false,
  3652. default: null
  3653. },
  3654. itemKey: {
  3655. type: [String, Function],
  3656. required: true
  3657. },
  3658. clone: {
  3659. type: Function,
  3660. default: function _default(original) {
  3661. return original;
  3662. }
  3663. },
  3664. tag: {
  3665. type: String,
  3666. default: "div"
  3667. },
  3668. move: {
  3669. type: Function,
  3670. default: null
  3671. },
  3672. componentData: {
  3673. type: Object,
  3674. required: false,
  3675. default: null
  3676. }
  3677. };
  3678. var emits = ["update:modelValue", "change"].concat(_toConsumableArray([].concat(_toConsumableArray(events.manageAndEmit), _toConsumableArray(events.emit)).map(function (evt) {
  3679. return evt.toLowerCase();
  3680. })));
  3681. var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
  3682. name: "draggable",
  3683. inheritAttrs: false,
  3684. props: props,
  3685. emits: emits,
  3686. data: function data() {
  3687. return {
  3688. error: false
  3689. };
  3690. },
  3691. render: function render() {
  3692. try {
  3693. this.error = false;
  3694. var $slots = this.$slots,
  3695. $attrs = this.$attrs,
  3696. tag = this.tag,
  3697. componentData = this.componentData,
  3698. realList = this.realList,
  3699. getKey = this.getKey;
  3700. var componentStructure = computeComponentStructure({
  3701. $slots: $slots,
  3702. tag: tag,
  3703. realList: realList,
  3704. getKey: getKey
  3705. });
  3706. this.componentStructure = componentStructure;
  3707. var attributes = getComponentAttributes({
  3708. $attrs: $attrs,
  3709. componentData: componentData
  3710. });
  3711. return componentStructure.render(external_commonjs_vue_commonjs2_vue_root_Vue_["h"], attributes);
  3712. } catch (err) {
  3713. this.error = true;
  3714. return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])("pre", {
  3715. style: {
  3716. color: "red"
  3717. }
  3718. }, err.stack);
  3719. }
  3720. },
  3721. created: function created() {
  3722. if (this.list !== null && this.modelValue !== null) {
  3723. console["a" /* console */].error("modelValue and list props are mutually exclusive! Please set one or another.");
  3724. }
  3725. },
  3726. mounted: function mounted() {
  3727. var _this4 = this;
  3728. if (this.error) {
  3729. return;
  3730. }
  3731. var $attrs = this.$attrs,
  3732. $el = this.$el,
  3733. componentStructure = this.componentStructure;
  3734. componentStructure.updated();
  3735. var sortableOptions = createSortableOption({
  3736. $attrs: $attrs,
  3737. callBackBuilder: {
  3738. manageAndEmit: function manageAndEmit(event) {
  3739. return _manageAndEmit.call(_this4, event);
  3740. },
  3741. emit: function emit(event) {
  3742. return _emit.bind(_this4, event);
  3743. },
  3744. manage: function manage(event) {
  3745. return _manage.call(_this4, event);
  3746. }
  3747. }
  3748. });
  3749. var targetDomElement = $el.nodeType === 1 ? $el : $el.parentElement;
  3750. this._sortable = new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a(targetDomElement, sortableOptions);
  3751. this.targetDomElement = targetDomElement;
  3752. targetDomElement.__draggable_component__ = this;
  3753. },
  3754. updated: function updated() {
  3755. this.componentStructure.updated();
  3756. },
  3757. beforeUnmount: function beforeUnmount() {
  3758. if (this._sortable !== undefined) this._sortable.destroy();
  3759. },
  3760. computed: {
  3761. realList: function realList() {
  3762. var list = this.list;
  3763. return list ? list : this.modelValue;
  3764. },
  3765. getKey: function getKey() {
  3766. var itemKey = this.itemKey;
  3767. if (typeof itemKey === "function") {
  3768. return itemKey;
  3769. }
  3770. return function (element) {
  3771. return element[itemKey];
  3772. };
  3773. }
  3774. },
  3775. watch: {
  3776. $attrs: {
  3777. handler: function handler(newOptionValue) {
  3778. var _sortable = this._sortable;
  3779. if (!_sortable) return;
  3780. getValidSortableEntries(newOptionValue).forEach(function (_ref) {
  3781. var _ref2 = _slicedToArray(_ref, 2),
  3782. key = _ref2[0],
  3783. value = _ref2[1];
  3784. _sortable.option(key, value);
  3785. });
  3786. },
  3787. deep: true
  3788. }
  3789. },
  3790. methods: {
  3791. getUnderlyingVm: function getUnderlyingVm(domElement) {
  3792. return this.componentStructure.getUnderlyingVm(domElement) || null;
  3793. },
  3794. getUnderlyingPotencialDraggableComponent: function getUnderlyingPotencialDraggableComponent(htmElement) {
  3795. //TODO check case where you need to see component children
  3796. return htmElement.__draggable_component__;
  3797. },
  3798. emitChanges: function emitChanges(evt) {
  3799. var _this5 = this;
  3800. Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
  3801. return _this5.$emit("change", evt);
  3802. });
  3803. },
  3804. alterList: function alterList(onList) {
  3805. if (this.list) {
  3806. onList(this.list);
  3807. return;
  3808. }
  3809. var newList = _toConsumableArray(this.modelValue);
  3810. onList(newList);
  3811. this.$emit("update:modelValue", newList);
  3812. },
  3813. spliceList: function spliceList() {
  3814. var _arguments = arguments;
  3815. var spliceList = function spliceList(list) {
  3816. return list.splice.apply(list, _toConsumableArray(_arguments));
  3817. };
  3818. this.alterList(spliceList);
  3819. },
  3820. updatePosition: function updatePosition(oldIndex, newIndex) {
  3821. var updatePosition = function updatePosition(list) {
  3822. return list.splice(newIndex, 0, list.splice(oldIndex, 1)[0]);
  3823. };
  3824. this.alterList(updatePosition);
  3825. },
  3826. getRelatedContextFromMoveEvent: function getRelatedContextFromMoveEvent(_ref3) {
  3827. var to = _ref3.to,
  3828. related = _ref3.related;
  3829. var component = this.getUnderlyingPotencialDraggableComponent(to);
  3830. if (!component) {
  3831. return {
  3832. component: component
  3833. };
  3834. }
  3835. var list = component.realList;
  3836. var context = {
  3837. list: list,
  3838. component: component
  3839. };
  3840. if (to !== related && list) {
  3841. var destination = component.getUnderlyingVm(related) || {};
  3842. return _objectSpread2(_objectSpread2({}, destination), context);
  3843. }
  3844. return context;
  3845. },
  3846. getVmIndexFromDomIndex: function getVmIndexFromDomIndex(domIndex) {
  3847. return this.componentStructure.getVmIndexFromDomIndex(domIndex, this.targetDomElement);
  3848. },
  3849. onDragStart: function onDragStart(evt) {
  3850. this.context = this.getUnderlyingVm(evt.item);
  3851. evt.item._underlying_vm_ = this.clone(this.context.element);
  3852. draggingElement = evt.item;
  3853. },
  3854. onDragAdd: function onDragAdd(evt) {
  3855. var element = evt.item._underlying_vm_;
  3856. if (element === undefined) {
  3857. return;
  3858. }
  3859. removeNode(evt.item);
  3860. var newIndex = this.getVmIndexFromDomIndex(evt.newIndex);
  3861. this.spliceList(newIndex, 0, element);
  3862. var added = {
  3863. element: element,
  3864. newIndex: newIndex
  3865. };
  3866. this.emitChanges({
  3867. added: added
  3868. });
  3869. },
  3870. onDragRemove: function onDragRemove(evt) {
  3871. insertNodeAt(this.$el, evt.item, evt.oldIndex);
  3872. if (evt.pullMode === "clone") {
  3873. removeNode(evt.clone);
  3874. return;
  3875. }
  3876. var _this$context = this.context,
  3877. oldIndex = _this$context.index,
  3878. element = _this$context.element;
  3879. this.spliceList(oldIndex, 1);
  3880. var removed = {
  3881. element: element,
  3882. oldIndex: oldIndex
  3883. };
  3884. this.emitChanges({
  3885. removed: removed
  3886. });
  3887. },
  3888. onDragUpdate: function onDragUpdate(evt) {
  3889. removeNode(evt.item);
  3890. insertNodeAt(evt.from, evt.item, evt.oldIndex);
  3891. var oldIndex = this.context.index;
  3892. var newIndex = this.getVmIndexFromDomIndex(evt.newIndex);
  3893. this.updatePosition(oldIndex, newIndex);
  3894. var moved = {
  3895. element: this.context.element,
  3896. oldIndex: oldIndex,
  3897. newIndex: newIndex
  3898. };
  3899. this.emitChanges({
  3900. moved: moved
  3901. });
  3902. },
  3903. computeFutureIndex: function computeFutureIndex(relatedContext, evt) {
  3904. if (!relatedContext.element) {
  3905. return 0;
  3906. }
  3907. var domChildren = _toConsumableArray(evt.to.children).filter(function (el) {
  3908. return el.style["display"] !== "none";
  3909. });
  3910. var currentDomIndex = domChildren.indexOf(evt.related);
  3911. var currentIndex = relatedContext.component.getVmIndexFromDomIndex(currentDomIndex);
  3912. var draggedInList = domChildren.indexOf(draggingElement) !== -1;
  3913. return draggedInList || !evt.willInsertAfter ? currentIndex : currentIndex + 1;
  3914. },
  3915. onDragMove: function onDragMove(evt, originalEvent) {
  3916. var move = this.move,
  3917. realList = this.realList;
  3918. if (!move || !realList) {
  3919. return true;
  3920. }
  3921. var relatedContext = this.getRelatedContextFromMoveEvent(evt);
  3922. var futureIndex = this.computeFutureIndex(relatedContext, evt);
  3923. var draggedContext = _objectSpread2(_objectSpread2({}, this.context), {}, {
  3924. futureIndex: futureIndex
  3925. });
  3926. var sendEvent = _objectSpread2(_objectSpread2({}, evt), {}, {
  3927. relatedContext: relatedContext,
  3928. draggedContext: draggedContext
  3929. });
  3930. return move(sendEvent, originalEvent);
  3931. },
  3932. onDragEnd: function onDragEnd() {
  3933. draggingElement = null;
  3934. }
  3935. }
  3936. });
  3937. /* harmony default export */ var vuedraggable = (draggableComponent);
  3938. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
  3939. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (vuedraggable);
  3940. /***/ }),
  3941. /***/ "fb6a":
  3942. /***/ (function(module, exports, __webpack_require__) {
  3943. "use strict";
  3944. var $ = __webpack_require__("23e7");
  3945. var isObject = __webpack_require__("861d");
  3946. var isArray = __webpack_require__("e8b5");
  3947. var toAbsoluteIndex = __webpack_require__("23cb");
  3948. var toLength = __webpack_require__("50c4");
  3949. var toIndexedObject = __webpack_require__("fc6a");
  3950. var createProperty = __webpack_require__("8418");
  3951. var wellKnownSymbol = __webpack_require__("b622");
  3952. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  3953. var arrayMethodUsesToLength = __webpack_require__("ae40");
  3954. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
  3955. var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
  3956. var SPECIES = wellKnownSymbol('species');
  3957. var nativeSlice = [].slice;
  3958. var max = Math.max;
  3959. // `Array.prototype.slice` method
  3960. // https://tc39.github.io/ecma262/#sec-array.prototype.slice
  3961. // fallback for not array-like ES3 strings and DOM objects
  3962. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  3963. slice: function slice(start, end) {
  3964. var O = toIndexedObject(this);
  3965. var length = toLength(O.length);
  3966. var k = toAbsoluteIndex(start, length);
  3967. var fin = toAbsoluteIndex(end === undefined ? length : end, length);
  3968. // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
  3969. var Constructor, result, n;
  3970. if (isArray(O)) {
  3971. Constructor = O.constructor;
  3972. // cross-realm fallback
  3973. if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
  3974. Constructor = undefined;
  3975. } else if (isObject(Constructor)) {
  3976. Constructor = Constructor[SPECIES];
  3977. if (Constructor === null) Constructor = undefined;
  3978. }
  3979. if (Constructor === Array || Constructor === undefined) {
  3980. return nativeSlice.call(O, k, fin);
  3981. }
  3982. }
  3983. result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
  3984. for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
  3985. result.length = n;
  3986. return result;
  3987. }
  3988. });
  3989. /***/ }),
  3990. /***/ "fc6a":
  3991. /***/ (function(module, exports, __webpack_require__) {
  3992. // toObject with fallback for non-array-like ES3 strings
  3993. var IndexedObject = __webpack_require__("44ad");
  3994. var requireObjectCoercible = __webpack_require__("1d80");
  3995. module.exports = function (it) {
  3996. return IndexedObject(requireObjectCoercible(it));
  3997. };
  3998. /***/ }),
  3999. /***/ "fdbc":
  4000. /***/ (function(module, exports) {
  4001. // iterable DOM collections
  4002. // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
  4003. module.exports = {
  4004. CSSRuleList: 0,
  4005. CSSStyleDeclaration: 0,
  4006. CSSValueList: 0,
  4007. ClientRectList: 0,
  4008. DOMRectList: 0,
  4009. DOMStringList: 0,
  4010. DOMTokenList: 1,
  4011. DataTransferItemList: 0,
  4012. FileList: 0,
  4013. HTMLAllCollection: 0,
  4014. HTMLCollection: 0,
  4015. HTMLFormElement: 0,
  4016. HTMLSelectElement: 0,
  4017. MediaList: 0,
  4018. MimeTypeArray: 0,
  4019. NamedNodeMap: 0,
  4020. NodeList: 1,
  4021. PaintRequestList: 0,
  4022. Plugin: 0,
  4023. PluginArray: 0,
  4024. SVGLengthList: 0,
  4025. SVGNumberList: 0,
  4026. SVGPathSegList: 0,
  4027. SVGPointList: 0,
  4028. SVGStringList: 0,
  4029. SVGTransformList: 0,
  4030. SourceBufferList: 0,
  4031. StyleSheetList: 0,
  4032. TextTrackCueList: 0,
  4033. TextTrackList: 0,
  4034. TouchList: 0
  4035. };
  4036. /***/ }),
  4037. /***/ "fdbf":
  4038. /***/ (function(module, exports, __webpack_require__) {
  4039. var NATIVE_SYMBOL = __webpack_require__("4930");
  4040. module.exports = NATIVE_SYMBOL
  4041. // eslint-disable-next-line no-undef
  4042. && !Symbol.sham
  4043. // eslint-disable-next-line no-undef
  4044. && typeof Symbol.iterator == 'symbol';
  4045. /***/ })
  4046. /******/ })["default"];
  4047. });
  4048. //# sourceMappingURL=vuedraggable.umd.js.map